@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
@@ -0,0 +1,45 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ /**
8
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ *
13
+ */
14
+
15
+ import { $createCodeNode } from '@lexical/code';
16
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
17
+ import { $createTextNode, $getRoot } from 'lexical';
18
+ import { useEffect } from 'react';
19
+
20
+ // -------------------------------------------------------------------
21
+ // 外部控制更新插件 (处理父组件传入 value 的变化)
22
+ // -------------------------------------------------------------------
23
+ var PluginInitCode = function PluginInitCode(_ref) {
24
+ var value = _ref.value,
25
+ language = _ref.language;
26
+ var _useLexicalComposerCo = useLexicalComposerContext(),
27
+ _useLexicalComposerCo2 = _slicedToArray(_useLexicalComposerCo, 1),
28
+ editor = _useLexicalComposerCo2[0];
29
+ useEffect(function () {
30
+ editor.update(function () {
31
+ var root = $getRoot();
32
+ var currentText = root.getTextContent();
33
+ if (value !== currentText) {
34
+ root.clear();
35
+
36
+ // 创建一个 CodeNode 包裹所有内容
37
+ var codeNode = $createCodeNode(language);
38
+ codeNode.append($createTextNode(value || ''));
39
+ root.append(codeNode);
40
+ }
41
+ });
42
+ }, [editor, value, language]);
43
+ return null;
44
+ };
45
+ export default PluginInitCode;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ declare const PluginInitHtml: ({ value }: {
9
+ value?: string | undefined;
10
+ }) => null;
11
+ export default PluginInitHtml;
@@ -0,0 +1,46 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ /**
8
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ *
13
+ */
14
+
15
+ import { $generateHtmlFromNodes, $generateNodesFromDOM } from '@lexical/html';
16
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
17
+ import { $getRoot, $insertNodes } from 'lexical';
18
+ import { useEffect } from 'react';
19
+
20
+ // -------------------------------------------------------------------
21
+ // 外部控制更新插件 (处理父组件传入 value 的变化)
22
+ // -------------------------------------------------------------------
23
+ var PluginInitHtml = function PluginInitHtml(_ref) {
24
+ var value = _ref.value;
25
+ var _useLexicalComposerCo = useLexicalComposerContext(),
26
+ _useLexicalComposerCo2 = _slicedToArray(_useLexicalComposerCo, 1),
27
+ editor = _useLexicalComposerCo2[0];
28
+ useEffect(function () {
29
+ editor.update(function () {
30
+ // 获取当前编辑器的 HTML
31
+ var currentHtml = $generateHtmlFromNodes(editor, null);
32
+
33
+ // 只有当传入的 HTML 和当前的 HTML 确实不一致时才更新,否则会导致光标跳动和死循环
34
+ if (value !== currentHtml) {
35
+ var parser = new DOMParser();
36
+ var dom = parser.parseFromString(value || '', 'text/html');
37
+ var nodes = $generateNodesFromDOM(editor, dom);
38
+ $getRoot().clear(); // 清空
39
+ $getRoot().select();
40
+ $insertNodes(nodes); // 插入新内容
41
+ }
42
+ });
43
+ }, [editor, value]);
44
+ return null;
45
+ };
46
+ export default PluginInitHtml;
@@ -0,0 +1,5 @@
1
+ import { CSSProperties } from 'react';
2
+ declare const PluginLineNumber: ({ style }: {
3
+ style: CSSProperties;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ export default PluginLineNumber;
@@ -0,0 +1,49 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
8
+ import { $getRoot } from 'lexical';
9
+ import { useEffect, useState } from 'react';
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ var PluginLineNumber = function PluginLineNumber(_ref) {
12
+ var style = _ref.style;
13
+ var _useLexicalComposerCo = useLexicalComposerContext(),
14
+ _useLexicalComposerCo2 = _slicedToArray(_useLexicalComposerCo, 1),
15
+ editor = _useLexicalComposerCo2[0];
16
+ var _useState = useState(1),
17
+ _useState2 = _slicedToArray(_useState, 2),
18
+ lineCount = _useState2[0],
19
+ setLineCount = _useState2[1];
20
+ useEffect(function () {
21
+ // 监听编辑器更新
22
+ return editor.registerUpdateListener(function (_ref2) {
23
+ var editorState = _ref2.editorState;
24
+ editorState.read(function () {
25
+ // 获取纯文本内容
26
+ var textContent = $getRoot().getTextContent();
27
+ // 计算换行符数量来确定行数
28
+ var lines = textContent.split('\n').length;
29
+ setLineCount(lines);
30
+ });
31
+ });
32
+ }, [editor]);
33
+ var lineNumbers = Array.from({
34
+ length: lineCount
35
+ }, function (_, i) {
36
+ return i + 1;
37
+ });
38
+ console.log('lineNumbers', lineNumbers);
39
+ return /*#__PURE__*/_jsx("div", {
40
+ className: "ccs-editor-gutter",
41
+ style: style,
42
+ children: lineNumbers.map(function (num) {
43
+ return /*#__PURE__*/_jsx("div", {
44
+ children: num
45
+ }, num);
46
+ })
47
+ });
48
+ };
49
+ export default PluginLineNumber;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import type { JSX } from 'react';
9
+ export default function PluginTreeView(): JSX.Element;
@@ -0,0 +1,31 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ /**
8
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ *
13
+ */
14
+
15
+ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
16
+ import { TreeView } from '@lexical/react/LexicalTreeView';
17
+ import { jsx as _jsx } from "react/jsx-runtime";
18
+ export default function PluginTreeView() {
19
+ var _useLexicalComposerCo = useLexicalComposerContext(),
20
+ _useLexicalComposerCo2 = _slicedToArray(_useLexicalComposerCo, 1),
21
+ editor = _useLexicalComposerCo2[0];
22
+ return /*#__PURE__*/_jsx(TreeView, {
23
+ viewClassName: "tree-view-output",
24
+ treeTypeButtonClassName: "debug-treetype-button",
25
+ timeTravelPanelClassName: "debug-timetravel-panel",
26
+ timeTravelButtonClassName: "debug-timetravel-button",
27
+ timeTravelPanelSliderClassName: "debug-timetravel-panel-slider",
28
+ timeTravelPanelButtonClassName: "debug-timetravel-panel-button",
29
+ editor: editor
30
+ });
31
+ }
@@ -0,0 +1,2 @@
1
+ import { LexicalEditor } from 'lexical';
2
+ export declare function $onGenerateHTML(editor: LexicalEditor): string;
@@ -0,0 +1,111 @@
1
+ import { $isLinkNode } from '@lexical/link';
2
+ import { $isListItemNode, $isListNode } from '@lexical/list';
3
+ import { $isHeadingNode, $isQuoteNode } from '@lexical/rich-text';
4
+ import { $getRoot, $isElementNode, $isParagraphNode, $isTextNode } from 'lexical';
5
+ import { $isImageNode } from "../lexical/plugins/image/ImageNode";
6
+ function escapeHTML(text) {
7
+ return text.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#039;');
8
+ }
9
+
10
+ // 将 Lexical 状态转换为带样式的 HTML
11
+ export function $onGenerateHTML(editor) {
12
+ var html = '';
13
+ function serializeNode(node) {
14
+ // 文本节点
15
+ if ($isTextNode(node)) {
16
+ var text = escapeHTML(node.getTextContent());
17
+
18
+ // 应用文本格式
19
+ if (node.hasFormat('bold')) {
20
+ text = "<strong>".concat(text, "</strong>");
21
+ }
22
+ if (node.hasFormat('italic')) {
23
+ text = "<em>".concat(text, "</em>");
24
+ }
25
+ if (node.hasFormat('underline')) {
26
+ text = "<u>".concat(text, "</u>");
27
+ }
28
+ if (node.hasFormat('strikethrough')) {
29
+ text = "<s>".concat(text, "</s>");
30
+ }
31
+ if (node.hasFormat('code')) {
32
+ text = "<code>".concat(text, "</code>");
33
+ }
34
+ return text;
35
+ }
36
+
37
+ // 图片
38
+ if ($isImageNode(node)) {
39
+ var __width = node.__width,
40
+ __height = node.__height,
41
+ __altText = node.__altText,
42
+ __src = node.__src;
43
+ if (typeof __width === 'number') {
44
+ __width = "".concat(__width, "px");
45
+ }
46
+ if (typeof __height === 'number') {
47
+ __height = "".concat(__height, "px");
48
+ }
49
+ return "<img src=\"".concat(__src, "\" alt=\"").concat(__altText, "\" width=\"").concat(__width, "\" height=\"").concat(__height, "\" />");
50
+ }
51
+
52
+ // 元素节点
53
+ if ($isElementNode(node)) {
54
+ var _node$getFormatType;
55
+ var children = node.getChildren();
56
+ var childrenHTML = children.map(function (child) {
57
+ return serializeNode(child);
58
+ }).join('');
59
+
60
+ // 获取对齐方式
61
+ var format = ((_node$getFormatType = node.getFormatType) === null || _node$getFormatType === void 0 ? void 0 : _node$getFormatType.call(node)) || '';
62
+ var alignStyle = format ? " style=\"text-align: ".concat(format, ";\"") : '';
63
+
64
+ // 段落
65
+ if ($isParagraphNode(node)) {
66
+ return "<p".concat(alignStyle, ">").concat(childrenHTML, "</p>\n");
67
+ }
68
+
69
+ // 标题
70
+ if ($isHeadingNode(node)) {
71
+ var tag = node.getTag(); // h1, h2, h3, etc.
72
+ return "<".concat(tag).concat(alignStyle, ">").concat(childrenHTML, "</").concat(tag, ">\n");
73
+ }
74
+
75
+ // 引用
76
+ if ($isQuoteNode(node)) {
77
+ return "<blockquote".concat(alignStyle, ">").concat(childrenHTML, "</blockquote>\n");
78
+ }
79
+
80
+ // 列表
81
+ if ($isListNode(node)) {
82
+ var _tag = node.getListType() === 'bullet' ? 'ul' : 'ol';
83
+ return "<".concat(_tag, ">").concat(childrenHTML, "</").concat(_tag, ">\n");
84
+ }
85
+
86
+ // 列表项
87
+ if ($isListItemNode(node)) {
88
+ return "<li".concat(alignStyle, ">").concat(childrenHTML, "</li>\n");
89
+ }
90
+
91
+ // 超链接
92
+ if ($isLinkNode(node)) {
93
+ return "<a href=\"".concat(node.__url, "\"\"").concat(node.__target === '_blank' ? " target=\"_blank\"" : '').concat(!!node.__title ? " title=\"".concat(node.__title, "\"") : '', ">").concat(childrenHTML, "</a>");
94
+ }
95
+
96
+ // 根节点
97
+ if (node.getType() === 'root') {
98
+ return childrenHTML;
99
+ }
100
+
101
+ // 默认 div
102
+ return "<div".concat(alignStyle, ">").concat(childrenHTML, "</div>\n");
103
+ }
104
+ return '';
105
+ }
106
+ editor.getEditorState().read(function () {
107
+ var root = $getRoot();
108
+ html = serializeNode(root);
109
+ });
110
+ return html;
111
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ import { EditorRichProps } from '../_api';
9
+ export default function EditorRich({ value, onChange, ...props }: EditorRichProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,150 @@
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 = ["value", "onChange"];
3
+ 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; }
4
+ 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; }
5
+ 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; }
6
+ 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; }
7
+ 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
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
9
+ 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); }
10
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
11
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
15
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
18
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
19
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
20
+ /**
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ *
26
+ */
27
+
28
+ import { LinkNode } from '@lexical/link';
29
+ import { ListItemNode, ListNode } from '@lexical/list';
30
+ import { HeadingNode, QuoteNode } from '@lexical/rich-text';
31
+ import { $isTextNode, isHTMLElement, ParagraphNode, TextNode } from 'lexical';
32
+ import LexicalEditorBase from "../lexical/base";
33
+ import { parseAllowedColor, parseAllowedFontSize } from "../lexical/base/styleConfig";
34
+ import { ImageNode } from "../lexical/plugins/image/ImageNode";
35
+ import PluginInitHtml from "../lexical/plugins/init-html";
36
+ import { $onGenerateHTML } from "./export";
37
+ import EditorTheme from "./theme";
38
+ import { jsx as _jsx } from "react/jsx-runtime";
39
+ var removeStylesExportDOM = function removeStylesExportDOM(editor, target) {
40
+ var output = target.exportDOM(editor);
41
+ if (output && isHTMLElement(output.element)) {
42
+ // Remove all inline styles and classes if the element is an HTMLElement
43
+ // Children are checked as well since TextNode can be nested
44
+ // in i, b, and strong tags.
45
+ for (var _i = 0, _arr = [output.element].concat(_toConsumableArray(output.element.querySelectorAll('[style],[class]'))); _i < _arr.length; _i++) {
46
+ var el = _arr[_i];
47
+ el.removeAttribute('class');
48
+ el.removeAttribute('style');
49
+ }
50
+ }
51
+ return output;
52
+ };
53
+ var exportMap = new Map([[ParagraphNode, removeStylesExportDOM], [TextNode, removeStylesExportDOM]]);
54
+ var getExtraStyles = function getExtraStyles(element) {
55
+ // Parse styles from pasted input, but only if they match exactly the
56
+ // sort of styles that would be produced by exportDOM
57
+ var extraStyles = '';
58
+ var fontSize = parseAllowedFontSize(element.style.fontSize);
59
+ var backgroundColor = parseAllowedColor(element.style.backgroundColor);
60
+ var color = parseAllowedColor(element.style.color);
61
+ if (fontSize !== '' && fontSize !== '15px') {
62
+ extraStyles += "font-size: ".concat(fontSize, ";");
63
+ }
64
+ if (backgroundColor !== '' && backgroundColor !== 'rgb(255, 255, 255)') {
65
+ extraStyles += "background-color: ".concat(backgroundColor, ";");
66
+ }
67
+ if (color !== '' && color !== 'rgb(0, 0, 0)') {
68
+ extraStyles += "color: ".concat(color, ";");
69
+ }
70
+ return extraStyles;
71
+ };
72
+ var constructImportMap = function constructImportMap() {
73
+ var importMap = {};
74
+
75
+ // Wrap all TextNode importers with a function that also imports
76
+ // the custom styles implemented by the playground
77
+ var _loop = function _loop() {
78
+ var _Object$entries$_i = _slicedToArray(_Object$entries[_i2], 2),
79
+ tag = _Object$entries$_i[0],
80
+ fn = _Object$entries$_i[1];
81
+ importMap[tag] = function (importNode) {
82
+ var importer = fn(importNode);
83
+ if (!importer) {
84
+ return null;
85
+ }
86
+ return _objectSpread(_objectSpread({}, importer), {}, {
87
+ conversion: function conversion(element) {
88
+ var output = importer.conversion(element);
89
+ if (output === null || output.forChild === undefined || output.after !== undefined || output.node !== null) {
90
+ return output;
91
+ }
92
+ var extraStyles = getExtraStyles(element);
93
+ if (extraStyles) {
94
+ var _forChild = output.forChild;
95
+ return _objectSpread(_objectSpread({}, output), {}, {
96
+ forChild: function forChild(child, parent) {
97
+ var textNode = _forChild(child, parent);
98
+ if ($isTextNode(textNode)) {
99
+ textNode.setStyle(textNode.getStyle() + extraStyles);
100
+ }
101
+ return textNode;
102
+ }
103
+ });
104
+ }
105
+ return output;
106
+ }
107
+ });
108
+ };
109
+ };
110
+ for (var _i2 = 0, _Object$entries = Object.entries(TextNode.importDOM() || {}); _i2 < _Object$entries.length; _i2++) {
111
+ _loop();
112
+ }
113
+ return importMap;
114
+ };
115
+ var editorConfig = {
116
+ html: {
117
+ export: exportMap,
118
+ import: constructImportMap()
119
+ },
120
+ namespace: 'EditorRich',
121
+ nodes: [ParagraphNode, TextNode, ImageNode, HeadingNode, QuoteNode, ListNode, ListItemNode, LinkNode],
122
+ onError: function onError(error) {
123
+ throw error;
124
+ },
125
+ theme: EditorTheme
126
+ };
127
+ export default function EditorRich(_ref) {
128
+ var value = _ref.value,
129
+ onChange = _ref.onChange,
130
+ props = _objectWithoutProperties(_ref, _excluded);
131
+ // 处理 Editor -> Parent 的数据流
132
+ var handleOnChange = function handleOnChange(editorState, editor) {
133
+ editorState.read(function () {
134
+ // 自定义生成html代码
135
+ var html = $onGenerateHTML(editor);
136
+ return onChange === null || onChange === void 0 ? void 0 : onChange(html);
137
+
138
+ // 生成 HTML
139
+ // const htmlString = $generateHtmlFromNodes(editor, null);
140
+ });
141
+ };
142
+ return /*#__PURE__*/_jsx(LexicalEditorBase, _objectSpread(_objectSpread({
143
+ editorConfig: editorConfig
144
+ }, props), {}, {
145
+ onChange: handleOnChange,
146
+ plugins: /*#__PURE__*/_jsx(PluginInitHtml, {
147
+ value: value
148
+ })
149
+ }));
150
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+ declare const _default: {
9
+ code: string;
10
+ heading: {
11
+ h1: string;
12
+ h2: string;
13
+ h3: string;
14
+ h4: string;
15
+ h5: string;
16
+ };
17
+ image: string;
18
+ link: string;
19
+ list: {
20
+ listitem: string;
21
+ nested: {
22
+ listitem: string;
23
+ };
24
+ ol: string;
25
+ ul: string;
26
+ };
27
+ paragraph: string;
28
+ placeholder: string;
29
+ quote: string;
30
+ text: {
31
+ bold: string;
32
+ code: string;
33
+ hashtag: string;
34
+ italic: string;
35
+ overflowed: string;
36
+ strikethrough: string;
37
+ underline: string;
38
+ underlineStrikethrough: string;
39
+ };
40
+ ltr: string;
41
+ rtl: string;
42
+ };
43
+ export default _default;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ */
8
+
9
+ export default {
10
+ code: 'editor-code',
11
+ heading: {
12
+ h1: 'editor-heading-h1',
13
+ h2: 'editor-heading-h2',
14
+ h3: 'editor-heading-h3',
15
+ h4: 'editor-heading-h4',
16
+ h5: 'editor-heading-h5'
17
+ },
18
+ image: 'editor-image',
19
+ link: 'editor-link',
20
+ list: {
21
+ listitem: 'editor-listitem',
22
+ nested: {
23
+ listitem: 'editor-nested-listitem'
24
+ },
25
+ ol: 'editor-list-ol',
26
+ ul: 'editor-list-ul'
27
+ },
28
+ paragraph: 'editor-paragraph',
29
+ placeholder: 'editor-placeholder',
30
+ quote: 'editor-quote',
31
+ text: {
32
+ bold: 'editor-text-bold',
33
+ code: 'editor-text-code',
34
+ hashtag: 'editor-text-hashtag',
35
+ italic: 'editor-text-italic',
36
+ overflowed: 'editor-text-overflowed',
37
+ strikethrough: 'editor-text-strikethrough',
38
+ underline: 'editor-text-underline',
39
+ underlineStrikethrough: 'editor-text-underlinetrikethrough'
40
+ },
41
+ // 对齐样式映射
42
+ ltr: 'editor-ltr',
43
+ rtl: 'editor-rtl'
44
+ };
@@ -1,2 +1,2 @@
1
- import { EditorProps } from './_api';
2
- export default function SqlEditor(props: EditorProps): import("react/jsx-runtime").JSX.Element;
1
+ import { EditorCodeProps } from './_api';
2
+ export default function SqlEditor(props: EditorCodeProps): import("react/jsx-runtime").JSX.Element;
package/es/editor/sql.js CHANGED
@@ -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 { sql } from '@codemirror/lang-sql';
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 SqlEditor(props) {
11
11
  return /*#__PURE__*/_jsx(BaseEditor, _objectSpread(_objectSpread({}, props), {}, {
@@ -0,0 +1,2 @@
1
+ import { EditorCodeProps } from './_api';
2
+ export default function XmlEditor(props: EditorCodeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
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 { xml } from '@codemirror/lang-xml';
8
+ import BaseEditor from "./code-base";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ export default function XmlEditor(props) {
11
+ return /*#__PURE__*/_jsx(BaseEditor, _objectSpread(_objectSpread({}, props), {}, {
12
+ extensions: [xml()]
13
+ }));
14
+ }
@@ -0,0 +1,2 @@
1
+ import { EditorCodeProps } from './_api';
2
+ export default function YamlEditor(props: EditorCodeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
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 { yaml } from '@codemirror/lang-yaml';
8
+ import BaseEditor from "./code-base";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ export default function YamlEditor(props) {
11
+ return /*#__PURE__*/_jsx(BaseEditor, _objectSpread(_objectSpread({}, props), {}, {
12
+ extensions: [yaml()]
13
+ }));
14
+ }