@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.
- package/docs-dist/1080.145ad951.async.js +580 -0
- package/docs-dist/404.html +2 -2
- package/docs-dist/atom__demos.634b9888.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__enumerations__DataEvent.md.bb7df9e5.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__index.md.0c77e6cb.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.4f3df5f9.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.1562f61e.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.f0fdf4d7.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.b43bdb35.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__ResizeSize.md.93bec405.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.875dc115.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.35156b74.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.b176db61.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.fa22615e.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.83b41d59.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.8cc54dfd.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.b06fd87c.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.8d06e954.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.fd553fcf.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.4351e01a.async.js +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.bf01193d.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__AppFieldNames.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__AppFieldNames.md.6906521a.async.js +1 -0
- 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
- 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
- package/docs-dist/docs__rc-pro__context___api__type-aliases__PageFieldNames.md.2d6f58a1.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__PageFieldNames.md.33be0665.chunk.css +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/docs-dist/docs__rc-pro__editor___api__index.md.806efab7.async.js +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.1a78f516.async.js +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.1526f411.async.js +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.efbfec2c.async.js +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.d386fae1.async.js +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/docs-dist/docs__rc-pro__index.md.1815af96.async.js +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/docs-dist/docs__rc-pro__pro-table___api__index.md.1c149b7d.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.99154324.async.js +1 -0
- 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
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.32cf0854.async.js +1 -0
- 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
- 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
- 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
- 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
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.a62c7537.async.js +1 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/docs-dist/docs__rc-pro__upload___api__index.md.bdb6d1f4.async.js +1 -0
- package/docs-dist/docs__rc-pro__upload___api__interfaces__ImageInfo.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__upload___api__interfaces__ImageInfo.md.b27b1b46.async.js +1 -0
- 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
- package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.bc7609b0.async.js +1 -0
- package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.1c53df2d.async.js +1 -0
- 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
- 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
- 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
- package/docs-dist/editor__demos.d7755e25.async.js +24 -0
- package/docs-dist/guide/index.html +2 -2
- package/docs-dist/index.html +2 -2
- package/docs-dist/meta__docs.9484e17c.async.js +176 -0
- package/docs-dist/meta__packages.50e42993.async.js +13725 -0
- package/docs-dist/meta__packages.5b16e5e9.chunk.css +1 -0
- package/docs-dist/packages__rc-pro__src__atom__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/packages__rc-pro__src__atom__index.md.7cbd6276.async.js +1 -0
- 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
- package/docs-dist/packages__rc-pro__src__editor__index.md.a2f44718.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__pro-table__index.md.038f16c9.async.js +27 -0
- package/docs-dist/plugins/index.html +2 -2
- package/docs-dist/preload_helper.37208c37.js +1 -0
- package/docs-dist/pro-table__demos.a812caf5.async.js +1 -0
- package/docs-dist/{pro-tabs__demos.51945949.async.js → pro-tabs__demos.1edccbc5.async.js} +1 -1
- package/docs-dist/rc-pro/{context/_api/type-aliases/DialogFieldNames.md → atom/_api/enumerations/DataEvent.md}/index.html +2 -2
- package/docs-dist/rc-pro/{context/_api/type-aliases/TableFieldNames.md → atom/_api/index.md}/index.html +2 -2
- package/docs-dist/rc-pro/{editor/_api/type-aliases/EditorProps.md → atom/_api/interfaces/AtomCheckboxProps.md}/index.html +2 -2
- package/docs-dist/rc-pro/{ellipsis/_api/index.md → atom/_api/interfaces/AtomEllipsisProps.md}/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +15 -0
- package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
- package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +15 -0
- package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +15 -0
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +15 -0
- package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +15 -0
- package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/index.html +2 -2
- package/docs-dist/rc-pro/index.md/index.html +2 -2
- package/docs-dist/rc-pro/layout-keep-alive/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/layout-keep-alive/_api/interfaces/KeepAliveTabsProps.md/index.html +2 -2
- package/docs-dist/rc-pro/layout-keep-alive/_api/type-aliases/MenuType.md/index.html +2 -2
- package/docs-dist/rc-pro/layout-single-page/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/layout-single-page/_api/interfaces/SinglePageProps.md/index.html +2 -2
- package/docs-dist/rc-pro/loading/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +15 -0
- package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
- package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
- package/docs-dist/rc-pros/atom/index.html +15 -0
- package/docs-dist/rc-pros/auth/index.html +2 -2
- package/docs-dist/rc-pros/button/index.html +2 -2
- package/docs-dist/rc-pros/cascader/index.html +2 -2
- package/docs-dist/rc-pros/date-picker/index.html +2 -2
- package/docs-dist/rc-pros/dialog/index.html +2 -2
- package/docs-dist/rc-pros/editor/index.html +2 -2
- package/docs-dist/rc-pros/form/index.html +2 -2
- package/docs-dist/rc-pros/index.html +2 -2
- package/docs-dist/rc-pros/layout-keep-alive/index.html +2 -2
- package/docs-dist/rc-pros/loading/index.html +2 -2
- package/docs-dist/rc-pros/pro-table/index.html +2 -2
- package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
- package/docs-dist/rc-pros/result/index.html +2 -2
- package/docs-dist/rc-pros/select/index.html +2 -2
- package/docs-dist/rc-pros/time-picker/index.html +2 -2
- package/docs-dist/rc-pros/upload/index.html +2 -2
- package/docs-dist/rc-pros/water-mark/index.html +2 -2
- package/docs-dist/{umi.f6ba7429.js → umi.be7ce5af.js} +62 -62
- package/docs-dist/utils/index.html +2 -2
- package/docs-dist/~demos/:id/index.html +2 -2
- package/docs-dist/~demos/atom-demo-base/index.html +15 -0
- package/docs-dist/~demos/atom-demo-ellipsis/index.html +15 -0
- package/docs-dist/~demos/atom-demo-filter/index.html +15 -0
- package/docs-dist/~demos/atom-demo-operation/index.html +15 -0
- package/docs-dist/~demos/atom-demo-state/index.html +15 -0
- package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
- package/docs-dist/~demos/button-demo-button/index.html +2 -2
- package/docs-dist/~demos/button-demo-group/index.html +2 -2
- package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
- package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
- package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
- package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
- package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
- package/docs-dist/~demos/editor-demo-rich/index.html +15 -0
- package/docs-dist/~demos/form-demo-demos/index.html +2 -2
- package/docs-dist/~demos/loading-demo-basic/index.html +2 -2
- package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-cascade/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-extra/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-filter/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-fixed/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-refresh/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-selection/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-show-depend/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-tree-async/index.html +2 -2
- package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
- package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
- package/docs-dist/~demos/result-demo-basic/index.html +2 -2
- package/docs-dist/~demos/select-demo-api/index.html +2 -2
- package/docs-dist/~demos/select-demo-basic/index.html +2 -2
- package/docs-dist/~demos/select-demo-customize/index.html +2 -2
- package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
- package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
- package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
- package/docs-dist/~demos/upload-demo-image/index.html +2 -2
- package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
- package/es/atom/_api.d.ts +170 -0
- package/es/atom/_api.js +18 -0
- package/es/atom/check.d.ts +2 -0
- package/es/atom/check.js +86 -0
- package/es/atom/count-down.d.ts +12 -0
- package/es/atom/count-down.js +123 -0
- package/es/atom/ellipsis.d.ts +13 -0
- package/es/{ellipsis/index.js → atom/ellipsis.js} +3 -4
- package/es/atom/filter.d.ts +13 -0
- package/es/{pro-table/head.js → atom/filter.js} +98 -57
- package/es/atom/full-screen.d.ts +6 -0
- package/es/atom/full-screen.js +74 -0
- package/es/atom/index.d.ts +53 -0
- package/es/atom/index.js +55 -0
- package/es/atom/index.less +91 -0
- package/es/atom/item.d.ts +5 -0
- package/es/atom/item.js +34 -0
- package/es/atom/operation.d.ts +6 -0
- package/es/atom/operation.js +79 -0
- package/es/atom/resize-observer.d.ts +8 -0
- package/es/atom/resize-observer.js +63 -0
- package/es/atom/title.d.ts +2 -0
- package/es/atom/title.js +25 -0
- package/es/atom/useComplexState.d.ts +25 -0
- package/es/atom/useComplexState.js +108 -0
- package/es/atom/usePageRequest.d.ts +9 -0
- package/es/atom/usePageRequest.js +243 -0
- package/es/ccs.d.ts +7 -3
- package/es/ccs.js +14 -2
- package/es/color-picker/index.js +5 -1
- package/es/config.js +17 -6
- package/es/context/_api.d.ts +37 -19
- package/es/dialog/HookDrawer.js +6 -0
- package/es/dialog/_api.d.ts +1 -1
- package/es/dialog/button.d.ts +1 -1
- package/es/dialog/button.js +3 -3
- package/es/editor/_api.d.ts +45 -5
- package/es/editor/code-base.d.ts +3 -0
- package/es/editor/{base.js → code-base.js} +38 -33
- package/es/editor/code.less +16 -0
- package/es/editor/index.d.ts +6 -1
- package/es/editor/index.js +12 -1
- package/es/editor/javascript.d.ts +2 -2
- package/es/editor/javascript.js +1 -1
- package/es/editor/json.d.ts +2 -2
- package/es/editor/json.js +1 -1
- package/es/editor/lexical/base/index.d.ts +7 -0
- package/es/editor/lexical/base/index.js +100 -0
- package/es/editor/lexical/base/index.less +304 -0
- package/es/editor/lexical/base/styleConfig.d.ts +9 -0
- package/es/editor/lexical/base/styleConfig.js +23 -0
- package/es/editor/lexical/base/toolbar/code.d.ts +5 -0
- package/es/editor/lexical/base/toolbar/code.js +59 -0
- package/es/editor/lexical/base/toolbar/index.d.ts +7 -0
- package/es/editor/lexical/base/toolbar/index.js +562 -0
- package/es/editor/lexical/base/toolbar/upload.d.ts +5 -0
- package/es/editor/lexical/base/toolbar/upload.js +262 -0
- package/es/editor/lexical/plugins/image/ImageComponent.d.ts +2 -0
- package/es/{full-screen/index.js → editor/lexical/plugins/image/ImageComponent.js} +32 -32
- package/es/editor/lexical/plugins/image/ImageNode.d.ts +38 -0
- package/es/editor/lexical/plugins/image/ImageNode.js +198 -0
- package/es/editor/lexical/plugins/image/index.d.ts +3 -0
- package/es/editor/lexical/plugins/image/index.js +28 -0
- package/es/editor/lexical/plugins/init-code.d.ts +12 -0
- package/es/editor/lexical/plugins/init-code.js +45 -0
- package/es/editor/lexical/plugins/init-html.d.ts +11 -0
- package/es/editor/lexical/plugins/init-html.js +46 -0
- package/es/editor/lexical/plugins/line-number.d.ts +5 -0
- package/es/editor/lexical/plugins/line-number.js +49 -0
- package/es/editor/lexical/plugins/tree-view.d.ts +9 -0
- package/es/editor/lexical/plugins/tree-view.js +31 -0
- package/es/editor/rich/export.d.ts +2 -0
- package/es/editor/rich/export.js +111 -0
- package/es/editor/rich/index.d.ts +9 -0
- package/es/editor/rich/index.js +150 -0
- package/es/editor/rich/theme.d.ts +43 -0
- package/es/editor/rich/theme.js +44 -0
- package/es/editor/sql.d.ts +2 -2
- package/es/editor/sql.js +1 -1
- package/es/editor/xml.d.ts +2 -0
- package/es/editor/xml.js +14 -0
- package/es/editor/yaml.d.ts +2 -0
- package/es/editor/yaml.js +14 -0
- package/es/hooks/use-app.d.ts +5 -7
- package/es/hooks/use-app.js +5 -11
- package/es/hooks/use-input-css.d.ts +17 -0
- package/es/hooks/use-input-css.js +101 -0
- package/es/hooks/use-insert-css.d.ts +1 -0
- package/es/hooks/use-insert-css.js +17 -0
- package/es/index.d.ts +2 -3
- package/es/index.js +3 -3
- package/es/layout-keep-alive/index.js +6 -0
- package/es/pro-table/_api.d.ts +9 -75
- package/es/pro-table/_api.js +1 -32
- package/es/pro-table/index.less +26 -40
- package/es/pro-table/table.d.ts +1 -1
- package/es/pro-table/table.js +163 -396
- package/es/pro-table/tree.d.ts +2 -3
- package/es/pro-table/tree.js +5 -7
- package/es/table/index.js +5 -5
- package/es/theme-dialog.js +4 -4
- package/es/upload/_api.d.ts +13 -1
- package/es/upload/upload-image.d.ts +1 -1
- package/es/upload/upload-image.js +29 -7
- package/package.json +15 -1
- package/docs-dist/7865.1cc75d3e.async.js +0 -565
- package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.421cf93c.async.js +0 -1
- package/docs-dist/docs__rc-pro__context___api__type-aliases__DialogFieldNames.md.325a86bc.async.js +0 -1
- package/docs-dist/docs__rc-pro__context___api__type-aliases__TableFieldNames.md.134b6aa7.async.js +0 -1
- package/docs-dist/docs__rc-pro__editor___api__index.md.37609e3b.async.js +0 -1
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorProps.md.93d04abc.async.js +0 -1
- package/docs-dist/docs__rc-pro__ellipsis___api__index.md.4b927638.async.js +0 -1
- package/docs-dist/docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.990f0e29.async.js +0 -1
- package/docs-dist/docs__rc-pro__index.md.9119dcc4.async.js +0 -1
- package/docs-dist/docs__rc-pro__pro-table___api__enumerations__TableEvent.md.0c74c5f6.async.js +0 -1
- package/docs-dist/docs__rc-pro__pro-table___api__index.md.a502c6fb.async.js +0 -1
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.06987c55.async.js +0 -1
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.06291a3e.async.js +0 -1
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableEventHandle.md.762adb4b.async.js +0 -1
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.b1c27010.async.js +0 -1
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.2a4acb24.async.js +0 -1
- package/docs-dist/docs__rc-pro__upload___api__index.md.b86ae575.async.js +0 -1
- package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.4eca13b2.async.js +0 -1
- package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.2ccd8b68.async.js +0 -1
- package/docs-dist/editor__demos.88663d1e.async.js +0 -6
- package/docs-dist/ellipsis__demos.47352a48.async.js +0 -1
- package/docs-dist/interval-button__demos.d647fbab.async.js +0 -1
- package/docs-dist/meta__docs.af3efc1f.async.js +0 -176
- package/docs-dist/meta__packages.38529667.chunk.css +0 -1
- package/docs-dist/meta__packages.5a564341.async.js +0 -11183
- package/docs-dist/packages__rc-pro__src__editor__index.md.dd655a92.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__ellipsis__index.md.d9a92ef6.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__interval-button__index.md.4ee5873c.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__pro-table__index.md.5bbcf5a4.async.js +0 -21
- package/docs-dist/preload_helper.0fb99d58.js +0 -1
- package/docs-dist/pro-table__demos.24218bff.async.js +0 -1
- package/docs-dist/rc-pro/ellipsis/_api/interfaces/EllipsisProps.md/index.html +0 -15
- package/docs-dist/rc-pro/pro-table/_api/enumerations/TableEvent.md/index.html +0 -15
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableEventHandle.md/index.html +0 -15
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItem.md/index.html +0 -15
- package/docs-dist/rc-pros/ellipsis/index.html +0 -15
- package/docs-dist/rc-pros/interval-button/index.html +0 -15
- package/docs-dist/~demos/ellipsis-demo-demos/index.html +0 -15
- package/docs-dist/~demos/interval-button-demo-basic/index.html +0 -15
- package/es/editor/base.d.ts +0 -2
- package/es/editor/index.less +0 -24
- package/es/ellipsis/_api.d.ts +0 -10
- package/es/ellipsis/_api.js +0 -1
- package/es/ellipsis/index.d.ts +0 -14
- package/es/ellipsis/index.less +0 -26
- package/es/full-screen/index.d.ts +0 -3
- package/es/pro-table/head.d.ts +0 -16
- package/es/pro-table/operation.d.ts +0 -14
- package/es/pro-table/operation.js +0 -194
- package/es/pro-table/size.d.ts +0 -10
- package/es/pro-table/size.js +0 -17
- package/es/resize-observer.d.ts +0 -15
- package/es/resize-observer.js +0 -37
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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,562 @@
|
|
|
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
|
+
import { AlignCenterOutlined, AlignLeftOutlined, AlignRightOutlined, BgColorsOutlined, BoldOutlined, DisconnectOutlined, FileImageOutlined, FontColorsOutlined, ItalicOutlined, LinkOutlined, MenuOutlined, RedoOutlined, StrikethroughOutlined, UnderlineOutlined, UndoOutlined } from '@ant-design/icons';
|
|
15
|
+
import { $onGenerateHTML } from "../../../rich/export";
|
|
16
|
+
import { $generateNodesFromDOM } from '@lexical/html';
|
|
17
|
+
import { $isLinkNode as $isLinkNodeHelper, TOGGLE_LINK_COMMAND } from '@lexical/link'; // 别名避免冲突
|
|
18
|
+
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
19
|
+
import { $getSelectionStyleValueForProperty, $patchStyleText } from '@lexical/selection';
|
|
20
|
+
import { mergeRegister } from '@lexical/utils';
|
|
21
|
+
import { Button, Divider, Drawer, Form, Input, Modal, Radio, Select, Tooltip } from 'antd';
|
|
22
|
+
import { $getRoot, $getSelection, $insertNodes, $isRangeSelection, CAN_REDO_COMMAND, CAN_UNDO_COMMAND, COMMAND_PRIORITY_LOW, FORMAT_ELEMENT_COMMAND, FORMAT_TEXT_COMMAND, REDO_COMMAND, SELECTION_CHANGE_COMMAND, UNDO_COMMAND } from 'lexical';
|
|
23
|
+
import { useCallback, useContext, useEffect } from 'react';
|
|
24
|
+
import { EditorRichContext } from '..';
|
|
25
|
+
import { CcsAtom } from "../../../../";
|
|
26
|
+
import CcsColorPicker from "../../../../color-picker";
|
|
27
|
+
import { useInsertCss } from "../../../../hooks/use-insert-css";
|
|
28
|
+
import CodeEdit from "./code";
|
|
29
|
+
import UploadModal from "./upload";
|
|
30
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
31
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
32
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
33
|
+
function LinkEdit(_ref) {
|
|
34
|
+
var onCancel = _ref.onCancel,
|
|
35
|
+
onOk = _ref.onOk;
|
|
36
|
+
var _Form$useForm = Form.useForm(),
|
|
37
|
+
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
38
|
+
form = _Form$useForm2[0];
|
|
39
|
+
function onHandleOk() {
|
|
40
|
+
form.validateFields().then(function (values) {
|
|
41
|
+
onOk(values);
|
|
42
|
+
onCancel();
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
return /*#__PURE__*/_jsx(_Fragment, {
|
|
46
|
+
children: /*#__PURE__*/_jsx(Modal, {
|
|
47
|
+
open: true,
|
|
48
|
+
destroyOnHidden: true,
|
|
49
|
+
onCancel: onCancel,
|
|
50
|
+
onOk: onHandleOk,
|
|
51
|
+
children: /*#__PURE__*/_jsxs(Form, {
|
|
52
|
+
form: form,
|
|
53
|
+
initialValues: {
|
|
54
|
+
url: 'http://',
|
|
55
|
+
target: '_self'
|
|
56
|
+
},
|
|
57
|
+
layout: "horizontal",
|
|
58
|
+
labelCol: {
|
|
59
|
+
span: 6
|
|
60
|
+
},
|
|
61
|
+
wrapperCol: {
|
|
62
|
+
span: 15
|
|
63
|
+
},
|
|
64
|
+
children: [/*#__PURE__*/_jsx(Form.Item, {
|
|
65
|
+
label: "url",
|
|
66
|
+
name: "url",
|
|
67
|
+
rules: [{
|
|
68
|
+
required: true,
|
|
69
|
+
message: '请输入链接'
|
|
70
|
+
}],
|
|
71
|
+
children: /*#__PURE__*/_jsx(Input, {})
|
|
72
|
+
}), /*#__PURE__*/_jsx(Form.Item, {
|
|
73
|
+
label: "\u8BF4\u660E",
|
|
74
|
+
name: "title",
|
|
75
|
+
children: /*#__PURE__*/_jsx(Input, {})
|
|
76
|
+
}), /*#__PURE__*/_jsx(Form.Item, {
|
|
77
|
+
label: "\u7C7B\u578B",
|
|
78
|
+
name: "target",
|
|
79
|
+
children: /*#__PURE__*/_jsx(Radio.Group, {
|
|
80
|
+
optionType: "button",
|
|
81
|
+
options: [{
|
|
82
|
+
label: '内部链接',
|
|
83
|
+
value: '_self'
|
|
84
|
+
}, {
|
|
85
|
+
label: '外部链接',
|
|
86
|
+
value: '_blank'
|
|
87
|
+
}]
|
|
88
|
+
})
|
|
89
|
+
})]
|
|
90
|
+
})
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
var FONT_FAMILIES = [{
|
|
95
|
+
label: '默认',
|
|
96
|
+
value: 'inherit'
|
|
97
|
+
}, {
|
|
98
|
+
label: '宋体',
|
|
99
|
+
value: 'SimSun, serif'
|
|
100
|
+
}, {
|
|
101
|
+
label: '黑体',
|
|
102
|
+
value: 'SimHei, sans-serif'
|
|
103
|
+
}, {
|
|
104
|
+
label: '微软雅黑',
|
|
105
|
+
value: '"Microsoft YaHei", sans-serif'
|
|
106
|
+
}, {
|
|
107
|
+
label: 'Arial',
|
|
108
|
+
value: 'Arial, sans-serif'
|
|
109
|
+
}, {
|
|
110
|
+
label: 'Times New Roman',
|
|
111
|
+
value: '"Times New Roman", serif'
|
|
112
|
+
}, {
|
|
113
|
+
label: 'Courier New',
|
|
114
|
+
value: '"Courier New", monospace'
|
|
115
|
+
}, {
|
|
116
|
+
label: 'Georgia',
|
|
117
|
+
value: 'Georgia, serif'
|
|
118
|
+
}, {
|
|
119
|
+
label: 'Verdana',
|
|
120
|
+
value: 'Verdana, sans-serif'
|
|
121
|
+
}];
|
|
122
|
+
export default function ToolbarPlugin(_ref2) {
|
|
123
|
+
var style = _ref2.style,
|
|
124
|
+
disabled = _ref2.disabled;
|
|
125
|
+
var _useLexicalComposerCo = useLexicalComposerContext(),
|
|
126
|
+
_useLexicalComposerCo2 = _slicedToArray(_useLexicalComposerCo, 1),
|
|
127
|
+
editor = _useLexicalComposerCo2[0];
|
|
128
|
+
var _useContext = useContext(EditorRichContext),
|
|
129
|
+
imageUpload = _useContext.imageUpload;
|
|
130
|
+
var _CcsAtom$useComplexSt = CcsAtom.useComplexState({
|
|
131
|
+
canUndo: false,
|
|
132
|
+
canRedo: false,
|
|
133
|
+
isBold: false,
|
|
134
|
+
isItalic: false,
|
|
135
|
+
isUnderline: false,
|
|
136
|
+
isStrikethrough: false,
|
|
137
|
+
isUpload: false,
|
|
138
|
+
isLinkOpen: false,
|
|
139
|
+
isLink: false,
|
|
140
|
+
fontSize: '14px',
|
|
141
|
+
fontFamily: 'inherit',
|
|
142
|
+
fontColor: undefined,
|
|
143
|
+
bgColor: undefined,
|
|
144
|
+
previewHtml: '',
|
|
145
|
+
codeEdit: ''
|
|
146
|
+
}),
|
|
147
|
+
state = _CcsAtom$useComplexSt.state,
|
|
148
|
+
setByPath = _CcsAtom$useComplexSt.setByPath;
|
|
149
|
+
var canRedo = state.canRedo,
|
|
150
|
+
canUndo = state.canUndo,
|
|
151
|
+
isBold = state.isBold,
|
|
152
|
+
isItalic = state.isItalic,
|
|
153
|
+
isUnderline = state.isUnderline,
|
|
154
|
+
isStrikethrough = state.isStrikethrough,
|
|
155
|
+
isUpload = state.isUpload,
|
|
156
|
+
isLinkOpen = state.isLinkOpen,
|
|
157
|
+
isLink = state.isLink,
|
|
158
|
+
fontSize = state.fontSize,
|
|
159
|
+
fontFamily = state.fontFamily,
|
|
160
|
+
fontColor = state.fontColor,
|
|
161
|
+
bgColor = state.bgColor,
|
|
162
|
+
previewHtml = state.previewHtml,
|
|
163
|
+
codeEdit = state.codeEdit;
|
|
164
|
+
|
|
165
|
+
// 应用样式
|
|
166
|
+
var applyStyleText = useCallback(function (styles) {
|
|
167
|
+
editor.update(function () {
|
|
168
|
+
var selection = $getSelection();
|
|
169
|
+
if ($isRangeSelection(selection)) {
|
|
170
|
+
$patchStyleText(selection, styles);
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}, [editor]);
|
|
174
|
+
|
|
175
|
+
// 设置字体大小
|
|
176
|
+
var onFontSizeChange = useCallback(function (size) {
|
|
177
|
+
applyStyleText({
|
|
178
|
+
'font-size': size
|
|
179
|
+
});
|
|
180
|
+
setByPath('fontSize', size);
|
|
181
|
+
}, [applyStyleText]);
|
|
182
|
+
|
|
183
|
+
// 设置字体
|
|
184
|
+
var onFontFamilyChange = useCallback(function (family) {
|
|
185
|
+
applyStyleText({
|
|
186
|
+
'font-family': family
|
|
187
|
+
});
|
|
188
|
+
setByPath('fontFamily', family);
|
|
189
|
+
}, [applyStyleText]);
|
|
190
|
+
|
|
191
|
+
// 设置字体颜色
|
|
192
|
+
var onFontColorChange = useCallback(function (color) {
|
|
193
|
+
applyStyleText({
|
|
194
|
+
color: color
|
|
195
|
+
});
|
|
196
|
+
setByPath('fontColor', color);
|
|
197
|
+
}, [applyStyleText]);
|
|
198
|
+
|
|
199
|
+
// 设置背景颜色
|
|
200
|
+
var onBgColorChange = useCallback(function (color) {
|
|
201
|
+
applyStyleText({
|
|
202
|
+
'background-color': color
|
|
203
|
+
});
|
|
204
|
+
setByPath('bgColor', color);
|
|
205
|
+
}, [applyStyleText]);
|
|
206
|
+
|
|
207
|
+
// 格式化文本
|
|
208
|
+
var onFormatText = function onFormatText(format) {
|
|
209
|
+
editor.dispatchCommand(FORMAT_TEXT_COMMAND, format);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
// 对齐
|
|
213
|
+
var onFormatAlign = function onFormatAlign(alignment) {
|
|
214
|
+
editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, alignment);
|
|
215
|
+
};
|
|
216
|
+
var FONT_SIZES = [{
|
|
217
|
+
label: 12,
|
|
218
|
+
value: '12px'
|
|
219
|
+
}, {
|
|
220
|
+
label: 14,
|
|
221
|
+
value: '14px'
|
|
222
|
+
}, {
|
|
223
|
+
label: 16,
|
|
224
|
+
value: '16px'
|
|
225
|
+
}, {
|
|
226
|
+
label: 18,
|
|
227
|
+
value: '18px'
|
|
228
|
+
}, {
|
|
229
|
+
label: 20,
|
|
230
|
+
value: '20px'
|
|
231
|
+
}, {
|
|
232
|
+
label: 24,
|
|
233
|
+
value: '24px'
|
|
234
|
+
}, {
|
|
235
|
+
label: 28,
|
|
236
|
+
value: '28px'
|
|
237
|
+
}, {
|
|
238
|
+
label: 38,
|
|
239
|
+
value: '36px'
|
|
240
|
+
}, {
|
|
241
|
+
label: 48,
|
|
242
|
+
value: '48px'
|
|
243
|
+
}, {
|
|
244
|
+
label: 72,
|
|
245
|
+
value: '72px'
|
|
246
|
+
}];
|
|
247
|
+
var $updateToolbar = useCallback(function () {
|
|
248
|
+
var selection = $getSelection();
|
|
249
|
+
if ($isRangeSelection(selection)) {
|
|
250
|
+
setByPath({
|
|
251
|
+
isBold: selection.hasFormat('bold'),
|
|
252
|
+
isItalic: selection.hasFormat('italic'),
|
|
253
|
+
isUnderline: selection.hasFormat('underline'),
|
|
254
|
+
isStrikethrough: selection.hasFormat('strikethrough'),
|
|
255
|
+
fontSize: $getSelectionStyleValueForProperty(selection, 'font-size', '16px'),
|
|
256
|
+
fontFamily: $getSelectionStyleValueForProperty(selection, 'font-family', 'inherit'),
|
|
257
|
+
fontColor: $getSelectionStyleValueForProperty(selection, 'color', '#000000'),
|
|
258
|
+
bgColor: $getSelectionStyleValueForProperty(selection, 'background-color', undefined)
|
|
259
|
+
});
|
|
260
|
+
var parent = selection.anchor.getNode().getParent();
|
|
261
|
+
// 判断父节点是否为 LinkNode
|
|
262
|
+
setByPath('isLink', $isLinkNodeHelper(parent));
|
|
263
|
+
}
|
|
264
|
+
}, []);
|
|
265
|
+
|
|
266
|
+
// add editor css
|
|
267
|
+
useInsertCss('editor', function (prefixCls) {
|
|
268
|
+
return [".ccs-rich-upload .".concat(prefixCls, "-upload-wrapper.").concat(prefixCls, "-upload-picture-card-wrapper .").concat(prefixCls, "-upload.").concat(prefixCls, "-upload-select{width:200px;height:200px;}"), ".ccs-rich-upload .".concat(prefixCls, "-upload-wrapper.").concat(prefixCls, "-upload-picture-card-wrapper .").concat(prefixCls, "-upload-list.").concat(prefixCls, "-upload-list-picture-card .").concat(prefixCls, "-upload-list-item-container{width:200px;height:200px;}")];
|
|
269
|
+
});
|
|
270
|
+
useEffect(function () {
|
|
271
|
+
return mergeRegister(editor.registerUpdateListener(function (_ref3) {
|
|
272
|
+
var editorState = _ref3.editorState;
|
|
273
|
+
editorState.read(function () {
|
|
274
|
+
$updateToolbar();
|
|
275
|
+
}, {
|
|
276
|
+
editor: editor
|
|
277
|
+
});
|
|
278
|
+
}), editor.registerCommand(SELECTION_CHANGE_COMMAND,
|
|
279
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
280
|
+
function (_payload, _newEditor) {
|
|
281
|
+
$updateToolbar();
|
|
282
|
+
return false;
|
|
283
|
+
}, COMMAND_PRIORITY_LOW), editor.registerCommand(CAN_UNDO_COMMAND, function (payload) {
|
|
284
|
+
setByPath('canUndo', payload);
|
|
285
|
+
return false;
|
|
286
|
+
}, COMMAND_PRIORITY_LOW), editor.registerCommand(CAN_REDO_COMMAND, function (payload) {
|
|
287
|
+
setByPath('canRedo', payload);
|
|
288
|
+
return false;
|
|
289
|
+
}, COMMAND_PRIORITY_LOW));
|
|
290
|
+
}, [editor, $updateToolbar]);
|
|
291
|
+
|
|
292
|
+
// 插入链接
|
|
293
|
+
var onLinkOk = function onLinkOk(link) {
|
|
294
|
+
editor.dispatchCommand(TOGGLE_LINK_COMMAND, link);
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
// 插入或移除链接
|
|
298
|
+
var insertLink = useCallback(function () {
|
|
299
|
+
if (!isLink) {
|
|
300
|
+
setByPath('isLinkOpen', true);
|
|
301
|
+
} else {
|
|
302
|
+
// 如果当前已经是链接 -> 移除 (传入 null)
|
|
303
|
+
editor.dispatchCommand(TOGGLE_LINK_COMMAND, null);
|
|
304
|
+
}
|
|
305
|
+
}, [editor, isLink]);
|
|
306
|
+
|
|
307
|
+
// 禁止操作按钮
|
|
308
|
+
var isDisabled = disabled;
|
|
309
|
+
|
|
310
|
+
// 源码改变
|
|
311
|
+
var onUpdateCode = function onUpdateCode(code) {
|
|
312
|
+
editor.update(function () {
|
|
313
|
+
// 源码变更
|
|
314
|
+
if (codeEdit !== code) {
|
|
315
|
+
var parser = new DOMParser();
|
|
316
|
+
var dom = parser.parseFromString(code || '', 'text/html');
|
|
317
|
+
var nodes = $generateNodesFromDOM(editor, dom);
|
|
318
|
+
$getRoot().clear(); // 清空
|
|
319
|
+
$getRoot().select();
|
|
320
|
+
$insertNodes(nodes); // 插入新内容
|
|
321
|
+
}
|
|
322
|
+
setByPath('codeEdit', '');
|
|
323
|
+
});
|
|
324
|
+
};
|
|
325
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
326
|
+
className: "ccs-editor-toolbar",
|
|
327
|
+
style: style,
|
|
328
|
+
children: [/*#__PURE__*/_jsx(Tooltip, {
|
|
329
|
+
title: "\u64A4\u9500",
|
|
330
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
331
|
+
disabled: !canUndo || isDisabled,
|
|
332
|
+
onClick: function onClick() {
|
|
333
|
+
editor.dispatchCommand(UNDO_COMMAND, undefined);
|
|
334
|
+
},
|
|
335
|
+
icon: /*#__PURE__*/_jsx(UndoOutlined, {}),
|
|
336
|
+
type: "text"
|
|
337
|
+
})
|
|
338
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
339
|
+
title: "\u91CD\u505A",
|
|
340
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
341
|
+
disabled: !canRedo || isDisabled,
|
|
342
|
+
onClick: function onClick() {
|
|
343
|
+
editor.dispatchCommand(REDO_COMMAND, undefined);
|
|
344
|
+
},
|
|
345
|
+
icon: /*#__PURE__*/_jsx(RedoOutlined, {}),
|
|
346
|
+
type: "text"
|
|
347
|
+
})
|
|
348
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
349
|
+
type: "vertical"
|
|
350
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
351
|
+
title: "\u52A0\u7C97",
|
|
352
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
353
|
+
disabled: isDisabled,
|
|
354
|
+
onClick: function onClick() {
|
|
355
|
+
onFormatText('bold');
|
|
356
|
+
},
|
|
357
|
+
icon: /*#__PURE__*/_jsx(BoldOutlined, {}),
|
|
358
|
+
type: isBold ? 'link' : 'text'
|
|
359
|
+
})
|
|
360
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
361
|
+
title: "\u659C\u4F53",
|
|
362
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
363
|
+
disabled: isDisabled,
|
|
364
|
+
onClick: function onClick() {
|
|
365
|
+
onFormatText('italic');
|
|
366
|
+
},
|
|
367
|
+
icon: /*#__PURE__*/_jsx(ItalicOutlined, {}),
|
|
368
|
+
type: isItalic ? 'link' : 'text'
|
|
369
|
+
})
|
|
370
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
371
|
+
title: "\u4E0B\u5212\u7EBF",
|
|
372
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
373
|
+
disabled: isDisabled,
|
|
374
|
+
onClick: function onClick() {
|
|
375
|
+
onFormatText('underline');
|
|
376
|
+
},
|
|
377
|
+
icon: /*#__PURE__*/_jsx(UnderlineOutlined, {}),
|
|
378
|
+
type: isUnderline ? 'link' : 'text'
|
|
379
|
+
})
|
|
380
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
381
|
+
title: "\u5220\u9664\u7EBF",
|
|
382
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
383
|
+
disabled: isDisabled,
|
|
384
|
+
onClick: function onClick() {
|
|
385
|
+
onFormatText('strikethrough');
|
|
386
|
+
},
|
|
387
|
+
icon: /*#__PURE__*/_jsx(StrikethroughOutlined, {}),
|
|
388
|
+
type: isStrikethrough ? 'link' : 'text'
|
|
389
|
+
})
|
|
390
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
391
|
+
type: "vertical"
|
|
392
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
393
|
+
title: "\u5DE6\u5BF9\u9F50",
|
|
394
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
395
|
+
disabled: isDisabled,
|
|
396
|
+
onClick: function onClick() {
|
|
397
|
+
onFormatAlign('left');
|
|
398
|
+
},
|
|
399
|
+
icon: /*#__PURE__*/_jsx(AlignLeftOutlined, {}),
|
|
400
|
+
type: "text"
|
|
401
|
+
})
|
|
402
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
403
|
+
title: "\u4E2D\u95F4\u5BF9\u9F50",
|
|
404
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
405
|
+
disabled: isDisabled,
|
|
406
|
+
onClick: function onClick() {
|
|
407
|
+
onFormatAlign('center');
|
|
408
|
+
},
|
|
409
|
+
icon: /*#__PURE__*/_jsx(AlignCenterOutlined, {}),
|
|
410
|
+
type: "text"
|
|
411
|
+
})
|
|
412
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
413
|
+
title: "\u53F3\u5BF9\u9F50",
|
|
414
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
415
|
+
disabled: isDisabled,
|
|
416
|
+
onClick: function onClick() {
|
|
417
|
+
onFormatAlign('right');
|
|
418
|
+
},
|
|
419
|
+
icon: /*#__PURE__*/_jsx(AlignRightOutlined, {}),
|
|
420
|
+
type: "text"
|
|
421
|
+
})
|
|
422
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
423
|
+
title: "\u4E24\u6BB5\u5BF9\u9F50",
|
|
424
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
425
|
+
disabled: isDisabled,
|
|
426
|
+
onClick: function onClick() {
|
|
427
|
+
onFormatAlign('justify');
|
|
428
|
+
},
|
|
429
|
+
icon: /*#__PURE__*/_jsx(MenuOutlined, {}),
|
|
430
|
+
type: "text"
|
|
431
|
+
})
|
|
432
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
433
|
+
title: "\u56FE\u7247\u4E0A\u4F20",
|
|
434
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
435
|
+
type: "text",
|
|
436
|
+
disabled: isDisabled,
|
|
437
|
+
icon: /*#__PURE__*/_jsx(FileImageOutlined, {}),
|
|
438
|
+
onClick: function onClick() {
|
|
439
|
+
return setByPath('isUpload', true);
|
|
440
|
+
}
|
|
441
|
+
})
|
|
442
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
443
|
+
title: isLink ? '取消超链接' : '添加超链接',
|
|
444
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
445
|
+
type: "text",
|
|
446
|
+
icon: isLink ? /*#__PURE__*/_jsx(DisconnectOutlined, {}) : /*#__PURE__*/_jsx(LinkOutlined, {}),
|
|
447
|
+
onClick: function onClick() {
|
|
448
|
+
return insertLink();
|
|
449
|
+
},
|
|
450
|
+
disabled: isDisabled
|
|
451
|
+
})
|
|
452
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
453
|
+
type: "vertical"
|
|
454
|
+
}), /*#__PURE__*/_jsx(CcsColorPicker, {
|
|
455
|
+
value: fontColor,
|
|
456
|
+
onChange: function onChange(e) {
|
|
457
|
+
return onFontColorChange(e);
|
|
458
|
+
},
|
|
459
|
+
children: /*#__PURE__*/_jsx(Tooltip, {
|
|
460
|
+
title: "\u5B57\u4F53\u989C\u8272",
|
|
461
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
462
|
+
disabled: isDisabled,
|
|
463
|
+
style: {
|
|
464
|
+
color: fontColor
|
|
465
|
+
},
|
|
466
|
+
icon: /*#__PURE__*/_jsx(FontColorsOutlined, {}),
|
|
467
|
+
type: "text"
|
|
468
|
+
})
|
|
469
|
+
})
|
|
470
|
+
}), /*#__PURE__*/_jsx(CcsColorPicker, {
|
|
471
|
+
value: bgColor,
|
|
472
|
+
onChange: function onChange(e) {
|
|
473
|
+
return onBgColorChange(e);
|
|
474
|
+
},
|
|
475
|
+
children: /*#__PURE__*/_jsx(Tooltip, {
|
|
476
|
+
title: "\u80CC\u666F\u8272",
|
|
477
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
478
|
+
disabled: isDisabled,
|
|
479
|
+
style: {
|
|
480
|
+
color: bgColor
|
|
481
|
+
},
|
|
482
|
+
icon: /*#__PURE__*/_jsx(BgColorsOutlined, {}),
|
|
483
|
+
type: "text"
|
|
484
|
+
})
|
|
485
|
+
})
|
|
486
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
487
|
+
type: "vertical"
|
|
488
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
489
|
+
title: "\u5B57\u4F53",
|
|
490
|
+
children: /*#__PURE__*/_jsx(Select, {
|
|
491
|
+
value: fontFamily,
|
|
492
|
+
options: FONT_FAMILIES,
|
|
493
|
+
variant: "filled",
|
|
494
|
+
size: "small",
|
|
495
|
+
onChange: onFontFamilyChange,
|
|
496
|
+
style: {
|
|
497
|
+
marginRight: 6,
|
|
498
|
+
width: 80
|
|
499
|
+
},
|
|
500
|
+
popupMatchSelectWidth: 200
|
|
501
|
+
})
|
|
502
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
503
|
+
title: "\u5B57\u4F53\u5927\u5C0F",
|
|
504
|
+
children: /*#__PURE__*/_jsx(Select, {
|
|
505
|
+
value: fontSize,
|
|
506
|
+
options: FONT_SIZES,
|
|
507
|
+
variant: "filled",
|
|
508
|
+
size: "small",
|
|
509
|
+
onChange: onFontSizeChange
|
|
510
|
+
})
|
|
511
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
512
|
+
type: "vertical"
|
|
513
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
514
|
+
size: "small",
|
|
515
|
+
type: "text",
|
|
516
|
+
onClick: function onClick() {
|
|
517
|
+
editor.read(function () {
|
|
518
|
+
var html = $onGenerateHTML(editor);
|
|
519
|
+
setByPath('codeEdit', html);
|
|
520
|
+
});
|
|
521
|
+
},
|
|
522
|
+
children: "\u6E90\u7801"
|
|
523
|
+
}), /*#__PURE__*/_jsx(Button, {
|
|
524
|
+
size: "small",
|
|
525
|
+
type: "text",
|
|
526
|
+
onClick: function onClick() {
|
|
527
|
+
editor.read(function () {
|
|
528
|
+
var html = $onGenerateHTML(editor);
|
|
529
|
+
setByPath('previewHtml', html);
|
|
530
|
+
});
|
|
531
|
+
},
|
|
532
|
+
children: "\u9884\u89C8"
|
|
533
|
+
}), isUpload && (imageUpload === null || imageUpload === void 0 ? void 0 : imageUpload.uploadRequest) && /*#__PURE__*/_jsx(UploadModal, {
|
|
534
|
+
onCancel: function onCancel() {
|
|
535
|
+
return setByPath('isUpload', false);
|
|
536
|
+
}
|
|
537
|
+
}), isLinkOpen && /*#__PURE__*/_jsx(LinkEdit, {
|
|
538
|
+
onOk: onLinkOk,
|
|
539
|
+
onCancel: function onCancel() {
|
|
540
|
+
return setByPath('isLinkOpen', false);
|
|
541
|
+
}
|
|
542
|
+
}), !!previewHtml && /*#__PURE__*/_jsx(Drawer, {
|
|
543
|
+
title: "\u9884\u89C8",
|
|
544
|
+
width: "100%",
|
|
545
|
+
open: true,
|
|
546
|
+
onClose: function onClose() {
|
|
547
|
+
return setByPath('previewHtml', '');
|
|
548
|
+
},
|
|
549
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
550
|
+
dangerouslySetInnerHTML: {
|
|
551
|
+
__html: previewHtml
|
|
552
|
+
}
|
|
553
|
+
})
|
|
554
|
+
}), !!codeEdit && /*#__PURE__*/_jsx(CodeEdit, {
|
|
555
|
+
code: codeEdit,
|
|
556
|
+
onOk: onUpdateCode,
|
|
557
|
+
onClose: function onClose() {
|
|
558
|
+
return setByPath('codeEdit', '');
|
|
559
|
+
}
|
|
560
|
+
})]
|
|
561
|
+
});
|
|
562
|
+
}
|