@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,170 @@
|
|
|
1
|
+
import { ButtonProps, FormInstance, FormProps, PopoverProps, TableProps } from 'antd';
|
|
2
|
+
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
3
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
4
|
+
import { ReactElement, ReactNode } from 'react';
|
|
5
|
+
import { FormItemProps, PageFieldNames, PropsWithChildren, PropsWithCss } from '../ccs';
|
|
6
|
+
export type AtomOperationProps<T> = PropsWithChildren<T> & PropsWithCss & {
|
|
7
|
+
/** 左侧扩展按钮 */
|
|
8
|
+
extraLeft?: ReactNode;
|
|
9
|
+
/** 右侧扩展按钮 */
|
|
10
|
+
extraRight?: ReactNode;
|
|
11
|
+
/** 重置按钮 */
|
|
12
|
+
onReset?: () => void;
|
|
13
|
+
/** 尺寸 */
|
|
14
|
+
size?: SizeType;
|
|
15
|
+
/** 全屏父节点ID */
|
|
16
|
+
parentHtmlId?: AtomFullScreenProps['parentHtmlId'];
|
|
17
|
+
/** 尺寸改变方法 */
|
|
18
|
+
onChangeSize?: (e: TableProps['size']) => void;
|
|
19
|
+
};
|
|
20
|
+
/** table 查询条件 */
|
|
21
|
+
export type AtomFormItem = Omit<FormItemProps, 'mb'> & {
|
|
22
|
+
/** label 标题 */
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated
|
|
25
|
+
* 请使用 children 代替
|
|
26
|
+
*/
|
|
27
|
+
value?: ReactElement;
|
|
28
|
+
/** form item element */
|
|
29
|
+
/** @deprecated 请使用shouldUpdateNames */
|
|
30
|
+
depends?: string[];
|
|
31
|
+
/** @deprecated 请使用 showValidate 代替请 */
|
|
32
|
+
showDepends?: {
|
|
33
|
+
name: string;
|
|
34
|
+
value: any;
|
|
35
|
+
}[];
|
|
36
|
+
/** 必填规则 */
|
|
37
|
+
/** 在发起请求时调用方法,格式化值 */
|
|
38
|
+
onFormat?: (e: any) => any;
|
|
39
|
+
/** 分组表单项 */
|
|
40
|
+
isGroupName?: boolean;
|
|
41
|
+
};
|
|
42
|
+
export type AtomFormItems = AtomFormItem[];
|
|
43
|
+
export type AtomFilterInstance = {
|
|
44
|
+
getFormValues: () => Promise<any>;
|
|
45
|
+
form: FormInstance;
|
|
46
|
+
};
|
|
47
|
+
export type AtomFilterProps = PropsWithCss & {
|
|
48
|
+
/** 查询方法 */
|
|
49
|
+
onSearch?: () => void;
|
|
50
|
+
/** filter ref 获取查询条件数据方法 */
|
|
51
|
+
filterRef?: React.RefObject<AtomFilterInstance>;
|
|
52
|
+
/** 展开查询条件 @default false */
|
|
53
|
+
expandForm?: boolean;
|
|
54
|
+
/** 查询form 初始值 */
|
|
55
|
+
formInitValues?: FormProps['initialValues'];
|
|
56
|
+
/** 查询条件集合 */
|
|
57
|
+
formItems?: AtomFormItems;
|
|
58
|
+
/** form item label 宽度 */
|
|
59
|
+
formItemLabelWidth?: number | string;
|
|
60
|
+
/** 按钮扩展部分 */
|
|
61
|
+
extra?: ReactNode;
|
|
62
|
+
/** 额外请求参数 */
|
|
63
|
+
requestParam?: Record<string, any>;
|
|
64
|
+
};
|
|
65
|
+
export interface AtomFullScreenProps {
|
|
66
|
+
/** 按钮样式 */
|
|
67
|
+
btnProps?: ButtonProps;
|
|
68
|
+
/** 全屏父节点ID */
|
|
69
|
+
parentHtmlId?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface AtomCheckboxProps {
|
|
72
|
+
/** 按钮样式 */
|
|
73
|
+
btnProps?: ButtonProps;
|
|
74
|
+
/** 全选 */
|
|
75
|
+
isAll?: boolean;
|
|
76
|
+
/** 选项 */
|
|
77
|
+
options?: CheckboxGroupProps['options'];
|
|
78
|
+
/** 位置 */
|
|
79
|
+
placement?: PopoverProps['placement'];
|
|
80
|
+
/** 默认选中项 */
|
|
81
|
+
defaultCheckedKeys?: string[];
|
|
82
|
+
/** 选中改变 */
|
|
83
|
+
onChange?: (keys: string[]) => void;
|
|
84
|
+
}
|
|
85
|
+
export type AtomTitleProps = PropsWithCss & PropsWithChildren;
|
|
86
|
+
/** 请求事件类型 */
|
|
87
|
+
export declare enum DataEvent {
|
|
88
|
+
/** 查询 */
|
|
89
|
+
Search = "search",
|
|
90
|
+
/** 重置 */
|
|
91
|
+
Reset = "reset",
|
|
92
|
+
/** 刷新 */
|
|
93
|
+
Reload = "reload",
|
|
94
|
+
/** 分页 */
|
|
95
|
+
ChangePage = "changePage",
|
|
96
|
+
/** 初始化查询 */
|
|
97
|
+
InitSearch = "initSearch",
|
|
98
|
+
/** 全屏 */
|
|
99
|
+
FullScreen = "fullScreen",
|
|
100
|
+
/** 列过滤 */
|
|
101
|
+
ColumnFilter = "columnFilter",
|
|
102
|
+
/** 选中行 */
|
|
103
|
+
SelectedRows = "SelectedRows",
|
|
104
|
+
/** 异步树展开 */
|
|
105
|
+
Expand = "Expand",
|
|
106
|
+
/** 异步树局部刷新 */
|
|
107
|
+
PartialReload = "PartialReload"
|
|
108
|
+
}
|
|
109
|
+
/** table 事件处理函数 */
|
|
110
|
+
export type TableEventHandle = (eventName: DataEvent, options?: any) => void;
|
|
111
|
+
export type AtomPageRequestProps<RecordType> = {
|
|
112
|
+
/** 是否初始查询 @default true */
|
|
113
|
+
init?: boolean;
|
|
114
|
+
/** 接口字段指定 */
|
|
115
|
+
fieldNames?: PageFieldNames;
|
|
116
|
+
/** 获取查询条件的方法 */
|
|
117
|
+
getFormValues?: () => Promise<any>;
|
|
118
|
+
/** 列过滤和排序字段 */
|
|
119
|
+
onFilterOrder?: () => {
|
|
120
|
+
filters: RecordType;
|
|
121
|
+
orderProps: any[];
|
|
122
|
+
};
|
|
123
|
+
/** 自定义接口请求 */
|
|
124
|
+
onRequestCustom?: (eventType: DataEvent, query: any, record: RecordType | any) => void;
|
|
125
|
+
/**
|
|
126
|
+
* 为空时,默认一条数据
|
|
127
|
+
* @default false
|
|
128
|
+
* */
|
|
129
|
+
emptyDefaultOne?: boolean;
|
|
130
|
+
/** api权限标识 */
|
|
131
|
+
auth?: string | 'ignore';
|
|
132
|
+
/** request 方法 */
|
|
133
|
+
request?: (params: any) => Promise<any>;
|
|
134
|
+
/** 请求动作 */
|
|
135
|
+
onEvent?: TableEventHandle;
|
|
136
|
+
} & Pick<TableProps, 'rowKey' | 'pagination'>;
|
|
137
|
+
export interface ResizeSize {
|
|
138
|
+
width: number;
|
|
139
|
+
height: number;
|
|
140
|
+
}
|
|
141
|
+
export type AtomResizeProps = {
|
|
142
|
+
/** 目标元素的引用 */
|
|
143
|
+
targetRef?: React.RefObject<HTMLDivElement>;
|
|
144
|
+
/** 回调方法 */
|
|
145
|
+
onResize: (size: ResizeSize) => void;
|
|
146
|
+
/** 防抖时间 */
|
|
147
|
+
wait?: number;
|
|
148
|
+
};
|
|
149
|
+
export type AtomCountdownProps = ButtonProps & {
|
|
150
|
+
/** 计时数 */
|
|
151
|
+
num?: number;
|
|
152
|
+
/** 包含字符串`num`的文本内容 */
|
|
153
|
+
disabledText?: string;
|
|
154
|
+
/** 缓存key */
|
|
155
|
+
cacheKey?: string;
|
|
156
|
+
};
|
|
157
|
+
export interface AtomEllipsisProps {
|
|
158
|
+
/** 文本内容 */
|
|
159
|
+
content: string;
|
|
160
|
+
/** 显示行数 */
|
|
161
|
+
rows?: number;
|
|
162
|
+
/** 显示位置 */
|
|
163
|
+
direction?: 'start' | 'end' | 'middle';
|
|
164
|
+
/** 显示提示框 */
|
|
165
|
+
showTooltip?: boolean;
|
|
166
|
+
}
|
|
167
|
+
export interface AtomMultiStateProps<T> {
|
|
168
|
+
InitialState: Partial<T>;
|
|
169
|
+
options: {};
|
|
170
|
+
}
|
package/es/atom/_api.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** table 查询条件 */
|
|
2
|
+
|
|
3
|
+
/** 请求事件类型 */
|
|
4
|
+
export var DataEvent = /*#__PURE__*/function (DataEvent) {
|
|
5
|
+
DataEvent["Search"] = "search";
|
|
6
|
+
DataEvent["Reset"] = "reset";
|
|
7
|
+
DataEvent["Reload"] = "reload";
|
|
8
|
+
DataEvent["ChangePage"] = "changePage";
|
|
9
|
+
DataEvent["InitSearch"] = "initSearch";
|
|
10
|
+
DataEvent["FullScreen"] = "fullScreen";
|
|
11
|
+
DataEvent["ColumnFilter"] = "columnFilter";
|
|
12
|
+
DataEvent["SelectedRows"] = "SelectedRows";
|
|
13
|
+
DataEvent["Expand"] = "Expand";
|
|
14
|
+
DataEvent["PartialReload"] = "PartialReload";
|
|
15
|
+
return DataEvent;
|
|
16
|
+
}({});
|
|
17
|
+
|
|
18
|
+
/** table 事件处理函数 */
|
package/es/atom/check.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
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; }
|
|
2
|
+
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; }
|
|
3
|
+
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; }
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
|
+
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); }
|
|
6
|
+
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); }
|
|
7
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
|
+
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."); }
|
|
9
|
+
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); }
|
|
10
|
+
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; }
|
|
11
|
+
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; } }
|
|
12
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
+
import { SettingOutlined } from '@ant-design/icons';
|
|
14
|
+
import { Button, Checkbox, Divider, Popover } from 'antd';
|
|
15
|
+
import { useState } from 'react';
|
|
16
|
+
import { classAtomPrefix } from '.';
|
|
17
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
19
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
|
+
var CheckboxGroup = Checkbox.Group;
|
|
21
|
+
export default function AtomCheckbox(props) {
|
|
22
|
+
var isAll = props.isAll,
|
|
23
|
+
btnProps = props.btnProps,
|
|
24
|
+
_props$options = props.options,
|
|
25
|
+
options = _props$options === void 0 ? [] : _props$options,
|
|
26
|
+
_props$defaultChecked = props.defaultCheckedKeys,
|
|
27
|
+
defaultCheckedKeys = _props$defaultChecked === void 0 ? [] : _props$defaultChecked;
|
|
28
|
+
var _useState = useState(defaultCheckedKeys),
|
|
29
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
30
|
+
checkedList = _useState2[0],
|
|
31
|
+
setCheckedList = _useState2[1];
|
|
32
|
+
|
|
33
|
+
// 选中改变事件
|
|
34
|
+
var onChange = function onChange(keys) {
|
|
35
|
+
var _props$onChange;
|
|
36
|
+
setCheckedList(keys);
|
|
37
|
+
(_props$onChange = props.onChange) === null || _props$onChange === void 0 || _props$onChange.call(props, keys);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// 全选事件
|
|
41
|
+
var onCheckAllChange = function onCheckAllChange(e) {
|
|
42
|
+
var _props$onChange2;
|
|
43
|
+
var keys = e.target.checked ? options.map(function (o) {
|
|
44
|
+
return _typeof(o) === 'object' ? o.value : o;
|
|
45
|
+
}) : [];
|
|
46
|
+
setCheckedList(keys);
|
|
47
|
+
(_props$onChange2 = props.onChange) === null || _props$onChange2 === void 0 || _props$onChange2.call(props, keys);
|
|
48
|
+
};
|
|
49
|
+
var renderCheckAll = function renderCheckAll() {
|
|
50
|
+
if (isAll === false || !(options !== null && options !== void 0 && options.length)) return;
|
|
51
|
+
|
|
52
|
+
// 全选
|
|
53
|
+
var checkAll = options.length === checkedList.length;
|
|
54
|
+
// 半选
|
|
55
|
+
var indeterminate = checkedList.length > 0 && checkedList.length < options.length;
|
|
56
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
57
|
+
children: [/*#__PURE__*/_jsx(Checkbox, {
|
|
58
|
+
indeterminate: indeterminate,
|
|
59
|
+
onChange: onCheckAllChange,
|
|
60
|
+
checked: checkAll,
|
|
61
|
+
children: "\u5168\u9009"
|
|
62
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
|
63
|
+
style: {
|
|
64
|
+
margin: '10px 0'
|
|
65
|
+
}
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
return /*#__PURE__*/_jsx(_Fragment, {
|
|
70
|
+
children: /*#__PURE__*/_jsx(Popover, {
|
|
71
|
+
placement: props.placement,
|
|
72
|
+
content: /*#__PURE__*/_jsxs(_Fragment, {
|
|
73
|
+
children: [renderCheckAll(), /*#__PURE__*/_jsx(CheckboxGroup, {
|
|
74
|
+
className: "".concat(classAtomPrefix, "-check"),
|
|
75
|
+
options: options,
|
|
76
|
+
value: checkedList,
|
|
77
|
+
onChange: onChange
|
|
78
|
+
})]
|
|
79
|
+
}),
|
|
80
|
+
children: /*#__PURE__*/_jsx(Button, _objectSpread({
|
|
81
|
+
type: "text",
|
|
82
|
+
icon: /*#__PURE__*/_jsx(SettingOutlined, {})
|
|
83
|
+
}, btnProps))
|
|
84
|
+
})
|
|
85
|
+
});
|
|
86
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AtomCountdownProps } from './_api';
|
|
2
|
+
/**
|
|
3
|
+
* 倒计时按钮组件
|
|
4
|
+
* @param PropsType
|
|
5
|
+
* @param IntervalInstance
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
declare function AtomCountdown({ num, cacheKey, disabledText, children, ...restProps }: AtomCountdownProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
declare namespace AtomCountdown {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
12
|
+
export default AtomCountdown;
|
|
@@ -0,0 +1,123 @@
|
|
|
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 = ["num", "cacheKey", "disabledText", "children"];
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
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; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
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); }
|
|
8
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
9
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
10
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
11
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
12
|
+
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."); }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
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; } }
|
|
16
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17
|
+
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; }
|
|
18
|
+
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; }
|
|
19
|
+
import { useInterval } from 'ahooks';
|
|
20
|
+
import { Button } from 'antd';
|
|
21
|
+
import { useLayoutEffect, useMemo, useState } from 'react';
|
|
22
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
+
/**
|
|
24
|
+
* 倒计时按钮组件
|
|
25
|
+
* @param PropsType
|
|
26
|
+
* @param IntervalInstance
|
|
27
|
+
* @returns
|
|
28
|
+
*/
|
|
29
|
+
function AtomCountdown(_ref) {
|
|
30
|
+
var _ref$num = _ref.num,
|
|
31
|
+
num = _ref$num === void 0 ? 60 : _ref$num,
|
|
32
|
+
cacheKey = _ref.cacheKey,
|
|
33
|
+
_ref$disabledText = _ref.disabledText,
|
|
34
|
+
disabledText = _ref$disabledText === void 0 ? '' : _ref$disabledText,
|
|
35
|
+
children = _ref.children,
|
|
36
|
+
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
37
|
+
var _useState = useState(-1),
|
|
38
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
39
|
+
count = _useState2[0],
|
|
40
|
+
setCount = _useState2[1];
|
|
41
|
+
var _useState3 = useState(null),
|
|
42
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
43
|
+
codeInterval = _useState4[0],
|
|
44
|
+
setCodeInterval = _useState4[1];
|
|
45
|
+
var key = useMemo(function () {
|
|
46
|
+
return cacheKey || window.location.host;
|
|
47
|
+
}, []);
|
|
48
|
+
|
|
49
|
+
// 判断是否有未完成的倒计时
|
|
50
|
+
useLayoutEffect(function () {
|
|
51
|
+
var initNum = /*#__PURE__*/function () {
|
|
52
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
53
|
+
var s, his, currentTime, time;
|
|
54
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
55
|
+
while (1) switch (_context.prev = _context.next) {
|
|
56
|
+
case 0:
|
|
57
|
+
_context.next = 2;
|
|
58
|
+
return localStorage.getItem(key);
|
|
59
|
+
case 2:
|
|
60
|
+
s = _context.sent;
|
|
61
|
+
if (!s) {
|
|
62
|
+
_context.next = 11;
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
his = JSON.parse(s);
|
|
66
|
+
currentTime = new Date().getTime();
|
|
67
|
+
time = Math.round((currentTime - his.time) / 1000);
|
|
68
|
+
if (!(time < his.num)) {
|
|
69
|
+
_context.next = 11;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
setCount(his.num - time);
|
|
73
|
+
setCodeInterval(1000);
|
|
74
|
+
return _context.abrupt("return");
|
|
75
|
+
case 11:
|
|
76
|
+
setCount(num);
|
|
77
|
+
case 12:
|
|
78
|
+
case "end":
|
|
79
|
+
return _context.stop();
|
|
80
|
+
}
|
|
81
|
+
}, _callee);
|
|
82
|
+
}));
|
|
83
|
+
return function initNum() {
|
|
84
|
+
return _ref2.apply(this, arguments);
|
|
85
|
+
};
|
|
86
|
+
}();
|
|
87
|
+
initNum();
|
|
88
|
+
}, []);
|
|
89
|
+
|
|
90
|
+
// ahooks useInterval
|
|
91
|
+
useInterval(function () {
|
|
92
|
+
if (count - 1 === 0) {
|
|
93
|
+
setCodeInterval(null);
|
|
94
|
+
setCount(num);
|
|
95
|
+
if (key) localStorage.removeItem(key);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
setCount(count - 1);
|
|
99
|
+
}, codeInterval, {
|
|
100
|
+
immediate: true
|
|
101
|
+
});
|
|
102
|
+
var disabled = count !== 0 && count !== num;
|
|
103
|
+
|
|
104
|
+
// 开始计时
|
|
105
|
+
var onStart = function onStart() {
|
|
106
|
+
setCodeInterval(1000);
|
|
107
|
+
if (key) {
|
|
108
|
+
localStorage.setItem(key, JSON.stringify({
|
|
109
|
+
num: num,
|
|
110
|
+
time: new Date().getTime()
|
|
111
|
+
}));
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
return count === -1 ? null : /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({}, restProps), {}, {
|
|
115
|
+
onClick: restProps.onClick ? restProps.onClick : onStart,
|
|
116
|
+
disabled: restProps.disabled ? true : disabled,
|
|
117
|
+
children: disabled ? "".concat(count, "\u79D2").concat(disabledText) : children
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
121
|
+
AtomCountdown.displayName = 'AtomCountdown';
|
|
122
|
+
}
|
|
123
|
+
export default AtomCountdown;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AtomEllipsisProps } from './_api';
|
|
3
|
+
/**
|
|
4
|
+
* 文本缩略
|
|
5
|
+
* @param EllipsisProps
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
declare function AtomEllipsis({ content, rows, direction, showTooltip, }: AtomEllipsisProps): string | import("react/jsx-runtime").JSX.Element | undefined;
|
|
9
|
+
declare namespace AtomEllipsis {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: React.MemoExoticComponent<typeof AtomEllipsis>;
|
|
13
|
+
export default _default;
|
|
@@ -9,7 +9,6 @@ import CcsUtils from '@ccs-ui/utils';
|
|
|
9
9
|
import { Button, message, Tooltip } from 'antd';
|
|
10
10
|
import React, { useEffect, useRef, useState } from 'react';
|
|
11
11
|
import runes from 'runes2';
|
|
12
|
-
import "./index.less";
|
|
13
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
13
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -33,7 +32,7 @@ var ELLIPSIS_TEXT = '...';
|
|
|
33
32
|
* @param EllipsisProps
|
|
34
33
|
* @returns
|
|
35
34
|
*/
|
|
36
|
-
function
|
|
35
|
+
function AtomEllipsis(_ref) {
|
|
37
36
|
var content = _ref.content,
|
|
38
37
|
_ref$rows = _ref.rows,
|
|
39
38
|
rows = _ref$rows === void 0 ? 1 : _ref$rows,
|
|
@@ -190,8 +189,8 @@ function Ellipsis(_ref) {
|
|
|
190
189
|
});
|
|
191
190
|
}
|
|
192
191
|
if (process.env.NODE_ENV !== 'production') {
|
|
193
|
-
|
|
192
|
+
AtomEllipsis.displayName = 'AtomEllipsis';
|
|
194
193
|
}
|
|
195
|
-
export default /*#__PURE__*/React.memo(
|
|
194
|
+
export default /*#__PURE__*/React.memo(AtomEllipsis, function (l, n) {
|
|
196
195
|
return l.content === n.content;
|
|
197
196
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AtomFilterInstance } from './_api';
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<import("../ccs").PropsWithCss & {
|
|
4
|
+
onSearch?: (() => void) | undefined;
|
|
5
|
+
filterRef?: React.RefObject<AtomFilterInstance> | undefined;
|
|
6
|
+
expandForm?: boolean | undefined;
|
|
7
|
+
formInitValues?: import("antd/es/form/interface").Store | undefined;
|
|
8
|
+
formItems?: import("./_api").AtomFormItems | undefined;
|
|
9
|
+
formItemLabelWidth?: string | number | undefined;
|
|
10
|
+
extra?: React.ReactNode;
|
|
11
|
+
requestParam?: Record<string, any> | undefined;
|
|
12
|
+
} & React.RefAttributes<AtomFilterInstance>>;
|
|
13
|
+
export default _default;
|