@ccs-ui/rc-pro 2.4.0 → 2.4.1-alpha.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/{449.57c7e406.async.js → 1449.2b56219b.async.js} +1 -1
- package/docs-dist/2085.2545c712.async.js +5 -0
- package/docs-dist/404.html +3 -3
- package/docs-dist/4859.9b24bd80.async.js +18 -0
- package/docs-dist/7308.09ed47d0.async.js +14 -0
- package/docs-dist/7865.0462bf2d.async.js +565 -0
- package/docs-dist/{510.54b6c125.async.js → 9510.92d7c9e5.async.js} +1 -1
- package/docs-dist/auth__demos.3be7cd2a.async.js +1 -0
- package/docs-dist/button__demos.a0dc2689.async.js +1 -0
- package/docs-dist/cascader__demos.cea169a8.async.js +1 -0
- package/docs-dist/date-picker__demos.7f96c059.async.js +1 -0
- package/docs-dist/demos.ad54dcc8.async.js +1 -0
- package/docs-dist/docs__guide.md.5f0af8cc.async.js +94 -0
- package/docs-dist/docs__index.md.f60e2dba.async.js +1 -0
- package/docs-dist/docs__log.md.8c78d4ad.async.js +1 -0
- package/docs-dist/docs__plugins.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__plugins.md.dcbe5f13.async.js +39 -0
- package/docs-dist/docs__rc-pro__button___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__index.md.6b764c82.async.js +1 -0
- package/docs-dist/docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.c0d7fbc1.async.js +1 -0
- package/docs-dist/docs__rc-pro__button___api__interfaces__DropdownProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__interfaces__DropdownProps.md.c3348685.async.js +1 -0
- package/docs-dist/docs__rc-pro__button___api__interfaces__GroupButtonItem.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__interfaces__GroupButtonItem.md.b055f42f.async.js +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__ButtonProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__ButtonProps.md.8de6a551.async.js +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__DropdownClick.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__DropdownClick.md.c6da65d7.async.js +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.7de7208f.async.js +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__GroupClick.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__button___api__type-aliases__GroupClick.md.ebc5c16a.async.js +1 -0
- package/docs-dist/docs__rc-pro__cascader___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__cascader___api__index.md.d8966fa2.async.js +1 -0
- package/docs-dist/docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.448617e1.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__index.md.3a69d1fc.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.f217ae6d.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__DialogFieldNames.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__DialogFieldNames.md.4444be00.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__FnContextType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__FnContextType.md.56e9ee93.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__PageContextType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__PageContextType.md.cb39ca36.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__TableFieldNames.md.19e0c0e5.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__TableFieldNames.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__date-picker___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__date-picker___api__index.md.45212627.async.js +1 -0
- package/docs-dist/docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.687ab329.async.js +1 -0
- package/docs-dist/docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.bae6b5bd.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__index.md.2b6411d2.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogContextType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogContextType.md.eca56c22.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.ee22c4f9.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogInterface.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogInterface.md.6392d6c0.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogModal.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogModal.md.810414be.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogProps.md.4a67ee54.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.52d6cd90.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.03452eac.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.17e86da1.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__OkEvent.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__OkEvent.md.3bc6d1cd.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__Service.md.142de6cd.async.js +1 -0
- package/docs-dist/docs__rc-pro__dialog___api__type-aliases__Service.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__editor___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__editor___api__index.md.8a37601e.async.js +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorProps.md.485f78c5.async.js +1 -0
- package/docs-dist/docs__rc-pro__ellipsis___api__index.md.00b20eea.async.js +1 -0
- package/docs-dist/docs__rc-pro__ellipsis___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.f980082b.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__index.md.5b4279b6.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__interfaces__FormItemUpdateProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__interfaces__FormItemUpdateProps.md.9d183f4c.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__FormItem.md.0c38c02d.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__FormItem.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__FormItemProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__FormItemProps.md.340c943e.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__FormListProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__FormListProps.md.39041c85.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.6e07dfbc.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RenderItem.md.01aade5c.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RenderItem.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RenderItemButton.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RenderItemButton.md.a5ef8227.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RenderItemProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RenderItemProps.md.f64fbeb8.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RuleType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__RuleType.md.cc91eb34.async.js +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.74db2908.async.js +1 -0
- package/docs-dist/docs__rc-pro__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__index.md.72317add.async.js +1 -0
- package/docs-dist/docs__rc-pro__layout-keep-alive___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__layout-keep-alive___api__index.md.da4e52be.async.js +1 -0
- package/docs-dist/docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.8861c03e.async.js +1 -0
- package/docs-dist/docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.42c15187.async.js +1 -0
- package/docs-dist/docs__rc-pro__layout-single-page___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__layout-single-page___api__index.md.33ea08e9.async.js +1 -0
- package/docs-dist/docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.d396b5f1.async.js +1 -0
- package/docs-dist/docs__rc-pro__loading___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__loading___api__index.md.62f86bfb.async.js +1 -0
- package/docs-dist/docs__rc-pro__loading___api__interfaces__LoadingProps.md.213688fa.async.js +1 -0
- package/docs-dist/docs__rc-pro__loading___api__interfaces__LoadingProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__enumerations__TableEvent.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__enumerations__TableEvent.md.9ef2f800.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__index.md.98d4bc3e.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.7ea4f089.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableInstance.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableInstance.md.623b94ef.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.bae13416.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.7a7f7510.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.b6a3f9a9.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.21542fd3.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableData.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableData.md.9e01a2fd.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableEventHandle.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableEventHandle.md.3b3fefd0.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.3bffaef5.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.8c94a15a.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.3cbd5635.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.23eef83b.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__index.md.2af348c1.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.6c22fe9b.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.3640f621.async.js +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.cc91c625.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__index.md.da845a86.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.bbea82db.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__CacheType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__CacheType.md.e6fadc13.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.93fe1edc.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.85df26b9.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.02778232.async.js +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectProps.md.7b0d91f4.async.js +1 -0
- package/docs-dist/docs__rc-pro__water-mark___api__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__water-mark___api__index.md.f9d84a6c.async.js +1 -0
- package/docs-dist/docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.62bda1d0.async.js +1 -0
- package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.458f0cd4.async.js +1 -0
- package/docs-dist/{editor__demos.a75d25e1.async.js → editor__demos.88663d1e.async.js} +1 -1
- package/docs-dist/ellipsis__demos.74adeb34.async.js +1 -0
- package/docs-dist/form__demos.9418bca2.async.js +1 -0
- package/docs-dist/guide/index.html +3 -3
- package/docs-dist/index.html +3 -3
- package/docs-dist/interval-button__demos.d647fbab.async.js +1 -0
- package/docs-dist/loading__demos.743b006d.async.js +1 -0
- package/docs-dist/{rc-pros/group-form-item → log}/index.html +3 -3
- package/docs-dist/meta__docs.e45cc008.async.js +132 -0
- package/docs-dist/meta__packages.524aaba3.chunk.css +1 -0
- package/docs-dist/meta__packages.6161c780.async.js +11384 -0
- package/docs-dist/nm__dumi__dist__client__pages__404.3097fa22.async.js +1 -0
- package/docs-dist/nm__dumi__dist__client__pages__Demo__index.83a2c730.async.js +1 -0
- package/docs-dist/nm__dumi__theme-default__layouts__DocLayout__index.e556091c.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__auth__index.md.ee3d76b0.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__button__index.md.7555d443.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__cascader__index.md.030a3554.async.js +1 -0
- package/docs-dist/{packages__rc-pro__src__date-picker__index.md.1954391f.async.js → packages__rc-pro__src__date-picker__index.md.f429b5e1.async.js} +1 -1
- package/docs-dist/packages__rc-pro__src__dialog__index.md.473ed38e.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__editor__index.md.b9ec9cea.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__ellipsis__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/packages__rc-pro__src__ellipsis__index.md.ac878652.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__form__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/packages__rc-pro__src__form__index.md.815aaaf6.async.js +2 -0
- package/docs-dist/packages__rc-pro__src__index.md.331c2008.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__interval-button__index.md.8e244d6f.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__layout-keep-alive__index.md.218ac45d.async.js +15 -0
- package/docs-dist/packages__rc-pro__src__loading__index.md.2ced4022.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__pro-table__index.md.14b1707d.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__pro-tabs__index.md.ad23e09c.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__result__index.md.a1911979.async.js +2 -0
- package/docs-dist/packages__rc-pro__src__select__index.md.c2b6bbc3.async.js +2 -0
- package/docs-dist/packages__rc-pro__src__time-picker__index.md.6979c8f1.async.js +1 -0
- package/docs-dist/packages__rc-pro__src__water-mark__index.md.6d589d78.async.js +1 -0
- package/docs-dist/packages__utils__src__index.md.33be0665.chunk.css +1 -0
- package/docs-dist/packages__utils__src__index.md.4a69d9ba.async.js +7 -0
- package/docs-dist/{~demos/group-form-item-demo-basic → plugins}/index.html +3 -3
- package/docs-dist/preload_helper.824db4ac.js +1 -0
- package/docs-dist/pro-table__demos.6101a31f.async.js +1 -0
- package/docs-dist/pro-tabs__demos.51945949.async.js +1 -0
- package/docs-dist/rc-pro/button/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +15 -0
- package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +15 -0
- package/docs-dist/rc-pro/cascader/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/DialogFieldNames.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/TableFieldNames.md/index.html +15 -0
- package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +15 -0
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +15 -0
- package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +15 -0
- package/docs-dist/rc-pro/editor/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorProps.md/index.html +15 -0
- package/docs-dist/rc-pro/ellipsis/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/ellipsis/_api/interfaces/EllipsisProps.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/interfaces/FormItemUpdateProps.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +15 -0
- package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +15 -0
- package/docs-dist/rc-pro/index.html +15 -0
- package/docs-dist/rc-pro/index.md/index.html +15 -0
- package/docs-dist/rc-pro/layout-keep-alive/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/layout-keep-alive/_api/interfaces/KeepAliveTabsProps.md/index.html +15 -0
- package/docs-dist/rc-pro/layout-keep-alive/_api/type-aliases/MenuType.md/index.html +15 -0
- package/docs-dist/rc-pro/layout-single-page/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/layout-single-page/_api/interfaces/SinglePageProps.md/index.html +15 -0
- package/docs-dist/rc-pro/loading/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/enumerations/TableEvent.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableEventHandle.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItem.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +15 -0
- package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +15 -0
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +15 -0
- package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +15 -0
- package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +15 -0
- package/docs-dist/rc-pros/auth/index.html +3 -3
- package/docs-dist/rc-pros/button/index.html +3 -3
- package/docs-dist/rc-pros/cascader/index.html +3 -3
- package/docs-dist/rc-pros/date-picker/index.html +3 -3
- package/docs-dist/rc-pros/dialog/index.html +3 -3
- package/docs-dist/rc-pros/editor/index.html +3 -3
- package/docs-dist/rc-pros/ellipsis/index.html +15 -0
- package/docs-dist/rc-pros/form/index.html +15 -0
- package/docs-dist/rc-pros/index.html +3 -3
- package/docs-dist/rc-pros/interval-button/index.html +3 -3
- package/docs-dist/rc-pros/layout-keep-alive/index.html +3 -3
- package/docs-dist/rc-pros/loading/index.html +3 -3
- package/docs-dist/rc-pros/pro-table/index.html +3 -3
- package/docs-dist/rc-pros/pro-tabs/index.html +3 -3
- package/docs-dist/rc-pros/result/index.html +3 -3
- package/docs-dist/rc-pros/select/index.html +3 -3
- package/docs-dist/rc-pros/time-picker/index.html +3 -3
- package/docs-dist/rc-pros/water-mark/index.html +3 -3
- package/docs-dist/select__demos.9e3b35bb.async.js +1 -0
- package/docs-dist/time-picker__demos.8beda018.async.js +1 -0
- package/docs-dist/umi.927b8855.js +109 -0
- package/docs-dist/umi.cfe6e1b0.css +1 -0
- package/docs-dist/utils/index.html +15 -0
- package/docs-dist/water-mark__demos.e059a0df.async.js +1 -0
- package/docs-dist/~demos/:id/index.html +3 -3
- package/docs-dist/~demos/auth-demo-basic/index.html +3 -3
- package/docs-dist/~demos/button-demo-button/index.html +3 -3
- package/docs-dist/~demos/button-demo-group/index.html +3 -3
- package/docs-dist/~demos/cascader-demo-basic/index.html +3 -3
- package/docs-dist/~demos/cascader-demo-cache/index.html +3 -3
- package/docs-dist/~demos/date-picker-demo-basic/index.html +3 -3
- package/docs-dist/~demos/date-picker-demo-range/index.html +3 -3
- package/docs-dist/~demos/dialog-demo-demos/index.html +3 -3
- package/docs-dist/~demos/editor-demo-demos/index.html +3 -3
- package/docs-dist/~demos/ellipsis-demo-demos/index.html +15 -0
- package/docs-dist/~demos/form-demo-demos/index.html +15 -0
- package/docs-dist/~demos/interval-button-demo-basic/index.html +3 -3
- package/docs-dist/~demos/loading-demo-basic/index.html +3 -3
- package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +15 -0
- package/docs-dist/~demos/pro-table-demo-basic/index.html +3 -3
- package/docs-dist/~demos/pro-table-demo-cascade/index.html +15 -0
- package/docs-dist/~demos/pro-table-demo-extra/index.html +15 -0
- package/docs-dist/~demos/pro-table-demo-filter/index.html +15 -0
- package/docs-dist/~demos/pro-table-demo-fixed/index.html +3 -3
- package/docs-dist/~demos/pro-table-demo-refresh/index.html +15 -0
- package/docs-dist/~demos/pro-table-demo-selection/index.html +3 -3
- package/docs-dist/~demos/pro-table-demo-show-depend/index.html +15 -0
- package/docs-dist/~demos/pro-table-demo-tree/index.html +15 -0
- package/docs-dist/~demos/pro-tabs-demo-basic/index.html +3 -3
- package/docs-dist/~demos/pro-tabs-demo-tab/index.html +3 -3
- package/docs-dist/~demos/result-demo-basic/index.html +3 -3
- package/docs-dist/~demos/select-demo-api/index.html +3 -3
- package/docs-dist/~demos/select-demo-basic/index.html +3 -3
- package/docs-dist/~demos/select-demo-customize/index.html +3 -3
- package/docs-dist/~demos/select-demo-customize-label/index.html +3 -3
- package/docs-dist/~demos/time-picker-demo-basic/index.html +3 -3
- package/docs-dist/~demos/water-mark-demo-basic/index.html +3 -3
- package/es/aj-captcha/index.js +4 -1
- package/es/button/_api.d.ts +74 -0
- package/es/button/_api.js +1 -0
- package/es/button/dropdown.d.ts +2 -2
- package/es/button/dropdown.js +2 -3
- package/es/button/group.d.ts +2 -2
- package/es/button/index.d.ts +3 -50
- package/es/button/index.js +6 -1
- package/es/cascader/_api.d.ts +15 -0
- package/es/cascader/_api.js +1 -0
- package/es/cascader/api.d.ts +7 -0
- package/es/cascader/api.js +118 -0
- package/es/cascader/index.d.ts +7 -32
- package/es/cascader/index.js +10 -117
- package/es/ccs.d.ts +17 -112
- package/es/ccs.js +17 -0
- package/es/color-picker/index.js +1 -1
- package/es/config.d.ts +2 -3
- package/es/context/_api.d.ts +80 -0
- package/es/context/_api.js +1 -0
- package/es/context/index.d.ts +4 -111
- package/es/date-picker/_api.d.ts +19 -0
- package/es/date-picker/_api.js +1 -0
- package/es/date-picker/index.d.ts +4 -15
- package/es/date-picker/index.js +5 -2
- package/es/dialog/HookDrawer.d.ts +3 -3
- package/es/dialog/HookModal.d.ts +3 -3
- package/es/dialog/_api.d.ts +106 -0
- package/es/dialog/_api.js +1 -0
- package/es/dialog/button.d.ts +4 -14
- package/es/dialog/button.js +15 -8
- package/es/dialog/context.d.ts +3 -22
- package/es/dialog/context.js +0 -3
- package/es/dialog/drawer-footer.d.ts +1 -10
- package/es/dialog/form.d.ts +1 -1
- package/es/dialog/form.js +16 -17
- package/es/dialog/hook.d.ts +10 -60
- package/es/dialog/hook.js +0 -9
- package/es/dialog/index.d.ts +1 -14
- package/es/dialog/index.js +8 -0
- package/es/editor/_api.d.ts +11 -0
- package/es/editor/_api.js +1 -0
- package/es/editor/base.d.ts +2 -0
- package/es/editor/base.js +56 -0
- package/es/editor/index.d.ts +0 -10
- package/es/editor/index.js +6 -0
- package/es/editor/javascript.d.ts +2 -2
- package/es/editor/javascript.js +5 -45
- package/es/editor/json.d.ts +2 -7
- package/es/editor/json.js +5 -57
- package/es/editor/sql.d.ts +2 -2
- package/es/editor/sql.js +5 -45
- package/es/ellipsis/_api.d.ts +15 -0
- package/es/ellipsis/_api.js +1 -0
- package/es/ellipsis/index.d.ts +7 -15
- package/es/ellipsis/index.js +224 -99
- package/es/ellipsis/index.less +16 -0
- package/es/form/_api.d.ts +70 -0
- package/es/form/_api.js +1 -0
- package/es/form/index.d.ts +15 -0
- package/es/form/index.js +24 -0
- package/es/form/index.less +3 -0
- package/es/form/item.d.ts +2 -0
- package/es/form/item.js +258 -0
- package/es/form/list.d.ts +2 -0
- package/es/form/list.js +154 -0
- package/es/hooks/use-app.d.ts +1 -1
- package/es/hooks/use-page.d.ts +1 -9
- package/es/hooks/use-tabs.d.ts +1 -1
- package/es/hooks/use-window.d.ts +1 -1
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/layout-keep-alive/_api.d.ts +23 -0
- package/es/layout-keep-alive/_api.js +1 -0
- package/es/layout-keep-alive/index.d.ts +2 -10
- package/es/layout-keep-alive/index.js +1 -0
- package/es/layout-single-page/_api.d.ts +8 -0
- package/es/layout-single-page/_api.js +1 -0
- package/es/layout-single-page/index.d.ts +2 -9
- package/es/layout-single-page/page.d.ts +2 -2
- package/es/loading/_api.d.ts +11 -0
- package/es/loading/_api.js +1 -0
- package/es/loading/index.d.ts +3 -10
- package/es/loading/index.js +15 -30
- package/es/loading/index.less +13 -0
- package/es/pro-table/_api.d.ts +162 -0
- package/es/pro-table/_api.js +45 -0
- package/es/pro-table/_utils.d.ts +7 -1
- package/es/pro-table/_utils.js +2 -4
- package/es/pro-table/head.d.ts +2 -2
- package/es/pro-table/head.js +15 -58
- package/es/pro-table/index.d.ts +6 -3
- package/es/pro-table/index.js +6 -0
- package/es/pro-table/operation.d.ts +1 -1
- package/es/pro-table/table.d.ts +7 -94
- package/es/pro-table/table.js +2 -15
- package/es/pro-table/tree.d.ts +7 -12
- package/es/pro-table/tree.js +2 -2
- package/es/pro-tabs/_api.d.ts +35 -0
- package/es/pro-tabs/_api.js +1 -0
- package/es/resize-observer.d.ts +3 -3
- package/es/result/index.d.ts +7 -0
- package/es/result/index.js +14 -0
- package/es/select/ modal.d.ts +1 -9
- package/es/select/ modal.js +1 -1
- package/es/select/_api.d.ts +52 -0
- package/es/select/_api.js +1 -0
- package/es/select/api.d.ts +1 -18
- package/es/select/customize.d.ts +1 -18
- package/es/select/customize.js +4 -4
- package/es/select/index.d.ts +2 -16
- package/es/select/index.js +12 -20
- package/es/table/index.d.ts +3 -8
- package/es/table/index.js +5 -6
- package/es/time-picker/index.d.ts +4 -3
- package/es/time-picker/index.js +7 -5
- package/es/upload/index.js +2 -0
- package/es/utils.d.ts +15 -0
- package/es/utils.js +91 -0
- package/es/water-mark/_api.d.ts +55 -0
- package/es/water-mark/_api.js +1 -0
- package/es/water-mark/index.d.ts +3 -55
- package/es/water-mark/index.js +8 -3
- package/es/water-mark/relative.d.ts +1 -55
- package/es/water-mark/relative.js +1 -1
- package/package.json +3 -3
- package/docs-dist/715.dfdf1be2.async.js +0 -573
- package/docs-dist/85.18821bbe.async.js +0 -5
- package/docs-dist/859.a9db5c1e.async.js +0 -18
- package/docs-dist/auth__demos.f4806518.async.js +0 -1
- package/docs-dist/button__demos.7c68583d.async.js +0 -1
- package/docs-dist/cascader__demos.f5587f52.async.js +0 -1
- package/docs-dist/date-picker__demos.ff2ad30b.async.js +0 -1
- package/docs-dist/docs__guide.md.30b455a9.async.js +0 -1
- package/docs-dist/docs__index.md.b9701004.async.js +0 -1
- package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.88b02822.async.js +0 -1
- package/docs-dist/group-form-item__demos.e5221d0c.async.js +0 -1
- package/docs-dist/interval-button__demos.1320b910.async.js +0 -1
- package/docs-dist/loading__demos.24fa3846.async.js +0 -1
- package/docs-dist/meta__docs.f078f79a.async.js +0 -1
- package/docs-dist/meta__packages.04af79d9.async.js +0 -10079
- package/docs-dist/meta__packages.9ed2b563.chunk.css +0 -1
- package/docs-dist/nm__dumi__dist__client__pages__404.9ff696d2.async.js +0 -1
- package/docs-dist/nm__dumi__dist__client__pages__Demo__index.3776dfa6.async.js +0 -1
- package/docs-dist/nm__dumi__theme-default__layouts__DocLayout__index.cced436c.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__auth__index.md.08115ab5.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__button__index.md.7903a3ee.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__cascader__index.md.83dd07db.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__dialog__index.md.eda35dd1.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__editor__index.md.31d4c7b3.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__group-form-item__index.md.e64ec08f.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__index.md.6be42162.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__interval-button__index.md.67aa4aed.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__layout-keep-alive__index.md.57f4059a.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__loading__index.md.5e6224ad.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__pro-table__index.md.35b47e42.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__pro-tabs__index.md.cec04778.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__result__index.md.2d5b1995.async.js +0 -2
- package/docs-dist/packages__rc-pro__src__select__index.md.64493389.async.js +0 -2
- package/docs-dist/packages__rc-pro__src__time-picker__index.md.cd504fcb.async.js +0 -1
- package/docs-dist/packages__rc-pro__src__water-mark__index.md.3c3c8dba.async.js +0 -1
- package/docs-dist/preload_helper.8cf99b76.js +0 -1
- package/docs-dist/pro-table__demos.38f42f18.async.js +0 -1
- package/docs-dist/pro-tabs__demos.773ef244.async.js +0 -1
- package/docs-dist/select__demos.8e09463e.async.js +0 -1
- package/docs-dist/time-picker__demos.7f4e8d7c.async.js +0 -1
- package/docs-dist/umi.4e0bcd92.css +0 -1
- package/docs-dist/umi.f8579358.js +0 -108
- package/docs-dist/water-mark__demos.1c43374d.async.js +0 -1
- package/es/ellipsis/useMeasure.d.ts +0 -9
- package/es/ellipsis/useMeasure.js +0 -142
- package/es/ellipsis/useResizeEffect.d.ts +0 -2
- package/es/ellipsis/useResizeEffect.js +0 -14
- package/es/ellipsis/withStopPropagation.d.ts +0 -4
- package/es/ellipsis/withStopPropagation.js +0 -38
- package/es/group-form-item/index.d.ts +0 -11
- package/es/group-form-item/index.js +0 -124
- package/es/pro-table/form-item.d.ts +0 -9
- package/es/pro-table/form-item.js +0 -44
- package/es/types.js +0 -0
- /package/docs-dist/{449.e8c51481.chunk.css → 1449.e8c51481.chunk.css} +0 -0
- /package/docs-dist/{packages__rc-pro__src__group-form-item__index.md.33be0665.chunk.css → docs__log.md.33be0665.chunk.css} +0 -0
- /package/es/{Foo/d → time-picker/_api.d.ts} +0 -0
- /package/es/{types.d.ts → time-picker/_api.js} +0 -0
package/es/ccs.d.ts
CHANGED
|
@@ -1,120 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Rule } from 'antd/es/form';
|
|
3
|
-
import { NamePath } from 'antd/es/form/interface';
|
|
4
|
-
import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
5
|
-
import { TableColumn } from './pro-table/table';
|
|
6
|
-
type MenuType = {
|
|
7
|
-
key: string;
|
|
8
|
-
/** 菜单名称 */
|
|
9
|
-
label: string;
|
|
10
|
-
/** 图标 */
|
|
11
|
-
icon?: string;
|
|
12
|
-
/** url地址 */
|
|
13
|
-
url?: string;
|
|
14
|
-
/** 菜单权限编码 */
|
|
15
|
-
btnAuth?: {
|
|
16
|
-
name: string;
|
|
17
|
-
code: string;
|
|
18
|
-
}[];
|
|
19
|
-
/** 下级菜单 */
|
|
20
|
-
children?: MenuType[];
|
|
21
|
-
};
|
|
22
|
-
type TableData<T> = {
|
|
23
|
-
/** loading */
|
|
24
|
-
loading?: boolean;
|
|
25
|
-
/** Array List 数据 */
|
|
26
|
-
dataSource?: T[];
|
|
27
|
-
} & PaginationProps;
|
|
1
|
+
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
28
2
|
type RecordType = Record<string, any>;
|
|
29
3
|
type RouteHistory = {
|
|
30
4
|
menuName: string;
|
|
31
5
|
pathName: string;
|
|
32
6
|
time: Date;
|
|
33
7
|
};
|
|
34
|
-
type TableDataType<T> = {
|
|
35
|
-
/** loading */
|
|
36
|
-
loading?: boolean;
|
|
37
|
-
/** 总条数 */
|
|
38
|
-
totalNum?: number;
|
|
39
|
-
/** 单页记录数 */
|
|
40
|
-
pageSize?: number;
|
|
41
|
-
/** 页码 */
|
|
42
|
-
pageNo?: number;
|
|
43
|
-
/** Array List 数据 */
|
|
44
|
-
result?: T[];
|
|
45
|
-
};
|
|
46
|
-
type TableInstance<T = any> = {
|
|
47
|
-
/** 获取当前表单数据 */
|
|
48
|
-
getFormValues: () => Promise<Record<string, any>>;
|
|
49
|
-
/** 获取当前表单数据 */
|
|
50
|
-
data: TableData<T>;
|
|
51
|
-
/** 查询数据,根据条件,从第一页开始显示 */
|
|
52
|
-
onSearch: () => void;
|
|
53
|
-
/** 刷新数据、根据条件,当前页 */
|
|
54
|
-
onReload: () => void;
|
|
55
|
-
/** 异步树、局部刷新方法 */
|
|
56
|
-
onPartialReload: (id: React.Key) => void;
|
|
57
|
-
/** 重置数据,清空选择 */
|
|
58
|
-
onReset: () => void;
|
|
59
|
-
/** 改变data 数据 */
|
|
60
|
-
onChangeData: React.Dispatch<React.SetStateAction<TableDataType<T>>>;
|
|
61
|
-
};
|
|
62
|
-
type AuthButtonItem = {
|
|
63
|
-
key: string;
|
|
64
|
-
/** 按钮名称 */
|
|
65
|
-
label: ReactNode;
|
|
66
|
-
/** 按钮权限 */
|
|
67
|
-
auth?: string;
|
|
68
|
-
/** 按钮类型 */
|
|
69
|
-
type?: ButtonProps['type'];
|
|
70
|
-
/** 按钮禁用 */
|
|
71
|
-
disabled?: boolean;
|
|
72
|
-
/** 按钮隐藏 */
|
|
73
|
-
hidden?: boolean;
|
|
74
|
-
/** 警告按钮 */
|
|
75
|
-
danger?: boolean;
|
|
76
|
-
/** 按钮图标 */
|
|
77
|
-
icon?: ReactNode;
|
|
78
|
-
/** 按钮操作确认消息 */
|
|
79
|
-
confirm?: string;
|
|
80
|
-
};
|
|
81
|
-
type TriggerChildrenProps<T = any> = {
|
|
82
|
-
/** 选中值 */
|
|
83
|
-
value?: T;
|
|
84
|
-
/** 选择框loading状态 */
|
|
85
|
-
onLoading?: (loading: boolean) => void;
|
|
86
|
-
/** 关闭弹框 */
|
|
87
|
-
onVisible?: (visible: boolean) => void;
|
|
88
|
-
/** 选中值改变事件 */
|
|
89
|
-
onChange?: ({}: T) => void;
|
|
90
|
-
/** 选择框显示名称 */
|
|
91
|
-
onChangeLabel?: (text: string | undefined) => void;
|
|
92
|
-
};
|
|
93
|
-
type ShowDependType = {
|
|
94
|
-
name: string;
|
|
95
|
-
value: any;
|
|
96
|
-
};
|
|
97
|
-
export type TableFormItem = {
|
|
98
|
-
/** label 标题 */
|
|
99
|
-
label?: string;
|
|
100
|
-
/** form name */
|
|
101
|
-
name?: NamePath;
|
|
102
|
-
/** form item element */
|
|
103
|
-
value: ReactElement;
|
|
104
|
-
/** 数据依赖、依赖项对应的name数组 */
|
|
105
|
-
depends?: string[];
|
|
106
|
-
/** 显示依赖 */
|
|
107
|
-
showDepends?: ShowDependType[];
|
|
108
|
-
/** 必填规则 */
|
|
109
|
-
rules?: Rule[];
|
|
110
|
-
/** 在发起请求时调用方法,格式化值 */
|
|
111
|
-
onFormat?: (e: any) => any;
|
|
112
|
-
/** 分组表单项,将解构name,生成独立的字段值,如时间范围选择,将数组结果解构成独立的字段值 */
|
|
113
|
-
isGroupItem?: boolean;
|
|
114
|
-
};
|
|
115
|
-
type TableFormItems = TableFormItem[];
|
|
116
|
-
type TableInstanceRef<T = any> = MutableRefObject<TableInstance<T> | undefined> | React.RefObject<TableInstance<T>>;
|
|
117
|
-
type TableColumns<RecordType = any> = TableColumn<RecordType>[];
|
|
118
8
|
type PropsWithCss = {
|
|
119
9
|
style?: CSSProperties;
|
|
120
10
|
className?: string;
|
|
@@ -128,4 +18,19 @@ type PropsWithElementChildren = {
|
|
|
128
18
|
type PropsWithChildren<T> = T & {
|
|
129
19
|
children?: T[];
|
|
130
20
|
};
|
|
131
|
-
export type {
|
|
21
|
+
export type { PropsWithChildren, PropsWithCss, PropsWithElementChildren, PropsWithNodeChildren, RecordType, RouteHistory, };
|
|
22
|
+
export * from './button/_api';
|
|
23
|
+
export * from './cascader/_api';
|
|
24
|
+
export * from './context/_api';
|
|
25
|
+
export * from './date-picker/_api';
|
|
26
|
+
export * from './dialog/_api';
|
|
27
|
+
export * from './editor/_api';
|
|
28
|
+
export * from './ellipsis/_api';
|
|
29
|
+
export * from './form/_api';
|
|
30
|
+
export * from './layout-keep-alive/_api';
|
|
31
|
+
export * from './layout-single-page/_api';
|
|
32
|
+
export * from './loading/_api';
|
|
33
|
+
export * from './pro-table/_api';
|
|
34
|
+
export * from './pro-tabs/_api';
|
|
35
|
+
export * from './select/_api';
|
|
36
|
+
export * from './water-mark/_api';
|
package/es/ccs.js
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
+
// any param
|
|
2
|
+
|
|
3
|
+
export * from "./button/_api";
|
|
4
|
+
export * from "./cascader/_api";
|
|
5
|
+
export * from "./context/_api";
|
|
6
|
+
export * from "./date-picker/_api";
|
|
7
|
+
export * from "./dialog/_api";
|
|
8
|
+
export * from "./editor/_api";
|
|
9
|
+
export * from "./ellipsis/_api";
|
|
10
|
+
export * from "./form/_api";
|
|
11
|
+
export * from "./layout-keep-alive/_api";
|
|
12
|
+
export * from "./layout-single-page/_api";
|
|
13
|
+
export * from "./loading/_api";
|
|
14
|
+
export * from "./pro-table/_api";
|
|
15
|
+
export * from "./pro-tabs/_api";
|
|
16
|
+
export * from "./select/_api";
|
|
17
|
+
export * from "./water-mark/_api";
|
|
1
18
|
export {};
|
package/es/color-picker/index.js
CHANGED
|
@@ -96,7 +96,7 @@ function CcsColorPicker(_ref3) {
|
|
|
96
96
|
return /*#__PURE__*/_jsx(Select, {
|
|
97
97
|
popupClassName: "ccs-color-picker-select",
|
|
98
98
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
99
|
-
|
|
99
|
+
popupRender: function popupRender() {
|
|
100
100
|
return /*#__PURE__*/_jsx(_Fragment, {});
|
|
101
101
|
}
|
|
102
102
|
});
|
package/es/config.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { PropsWithElementChildren } from './ccs';
|
|
2
|
-
import { CssAppConfigType } from './context';
|
|
1
|
+
import { AppConfigType, PropsWithElementChildren } from './ccs';
|
|
3
2
|
export declare function onDefaultFormat(data: any): any;
|
|
4
|
-
type AppConfigProps = PropsWithElementChildren &
|
|
3
|
+
type AppConfigProps = PropsWithElementChildren & AppConfigType;
|
|
5
4
|
export default function CssAppConfig(props: AppConfigProps): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ConfigProviderProps } from 'antd';
|
|
2
|
+
import { Store } from 'antd/es/form/interface';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Location } from 'react-router';
|
|
5
|
+
import { WaterMarkProps } from '../ccs';
|
|
6
|
+
import { ElementsHolderRef } from '../dialog/hook';
|
|
7
|
+
export type PageContextType = {
|
|
8
|
+
/** ID */
|
|
9
|
+
id: string;
|
|
10
|
+
/** history Location */
|
|
11
|
+
location: Location;
|
|
12
|
+
/** 当前页面是否选中 */
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
/** dialog holder */
|
|
15
|
+
dialogHolderRef: React.RefObject<ElementsHolderRef>;
|
|
16
|
+
/** 销毁页面 */
|
|
17
|
+
onDestroy: (path: string) => void;
|
|
18
|
+
/** 获取按钮权限 */
|
|
19
|
+
onAuth: (code: string) => boolean;
|
|
20
|
+
};
|
|
21
|
+
export type FnContextType<T = Store> = {
|
|
22
|
+
locationKey: string;
|
|
23
|
+
formInitialValues: T;
|
|
24
|
+
close: () => void;
|
|
25
|
+
};
|
|
26
|
+
export type TableFieldNames = {
|
|
27
|
+
/** 数据源 */
|
|
28
|
+
dataSource?: string[];
|
|
29
|
+
/** 数据总条数 */
|
|
30
|
+
total?: string[];
|
|
31
|
+
/** 自定义接口请求属性对象,
|
|
32
|
+
* 默认配置
|
|
33
|
+
* { pageNo:['pageNo'],
|
|
34
|
+
* pageSize: ['pageSize'],
|
|
35
|
+
* filters':['filters'],
|
|
36
|
+
* orderProps: ['orderProps'],
|
|
37
|
+
* query: ['query'] }
|
|
38
|
+
* */
|
|
39
|
+
requestParam?: {
|
|
40
|
+
/** 页码 */
|
|
41
|
+
pageNo: string[];
|
|
42
|
+
/** 页记录数 */
|
|
43
|
+
pageSize: string[];
|
|
44
|
+
/** 查询条件 */
|
|
45
|
+
query?: string[];
|
|
46
|
+
/** 排序 */
|
|
47
|
+
orderProps?: string[];
|
|
48
|
+
/** 列过滤条件 */
|
|
49
|
+
filters?: string[];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export type DialogFieldNames = {
|
|
53
|
+
/** 成功标识字段 */
|
|
54
|
+
success?: string[];
|
|
55
|
+
/** 成功标识值 */
|
|
56
|
+
successTag?: any;
|
|
57
|
+
/** 错误信息提示 */
|
|
58
|
+
errorMsg?: string[];
|
|
59
|
+
};
|
|
60
|
+
export type AppConfigType = {
|
|
61
|
+
/** 主题 */
|
|
62
|
+
theme?: 'dark' | 'light' | 'colorful';
|
|
63
|
+
/** 主题参数配置 */
|
|
64
|
+
antConfig?: ConfigProviderProps;
|
|
65
|
+
/** 紧凑模式 */
|
|
66
|
+
isCompact?: boolean;
|
|
67
|
+
/** 全局水印 */
|
|
68
|
+
watermark?: WaterMarkProps;
|
|
69
|
+
/** modal or drawer holder */
|
|
70
|
+
dialogHolderRef?: React.RefObject<ElementsHolderRef>;
|
|
71
|
+
/** 接口字段指定 */
|
|
72
|
+
fieldNames?: {
|
|
73
|
+
/** CcsProTable 组件字段全局指定 */
|
|
74
|
+
proTable?: TableFieldNames;
|
|
75
|
+
/** CcsProTable.Tree 组件字段全局指定 */
|
|
76
|
+
proTableTree?: Pick<TableFieldNames, 'dataSource'>;
|
|
77
|
+
/** dialog request 判定字段 */
|
|
78
|
+
dialog?: DialogFieldNames;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/es/context/index.d.ts
CHANGED
|
@@ -1,115 +1,8 @@
|
|
|
1
|
-
import { ConfigProviderProps, TabPaneProps } from 'antd';
|
|
2
|
-
import { Store } from 'antd/es/form/interface';
|
|
3
1
|
import React from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { ElementsHolderRef } from '../dialog/hook';
|
|
7
|
-
import { WaterMarkProps } from '../water-mark/relative';
|
|
8
|
-
type CcsTabsChangeProps = {
|
|
9
|
-
/** 当前激活tab面板的key */
|
|
10
|
-
activeKey?: string;
|
|
11
|
-
/** 启用tab keys */
|
|
12
|
-
enableKeys?: string[];
|
|
13
|
-
/** 禁用tab keys */
|
|
14
|
-
disableKeys?: string[];
|
|
15
|
-
/** tab间传递的参数 */
|
|
16
|
-
options?: CCS.RecordType;
|
|
17
|
-
};
|
|
18
|
-
export type CcsTabProps = Omit<TabPaneProps, 'tab'> & {
|
|
19
|
-
key: string;
|
|
20
|
-
label: React.ReactNode;
|
|
21
|
-
};
|
|
22
|
-
type CcsTabsContextType = {
|
|
23
|
-
/** dom id */
|
|
24
|
-
tabsId: string;
|
|
25
|
-
/** 当前激活tab面板的key */
|
|
26
|
-
activeKey: string;
|
|
27
|
-
/** tab间传递的参数 */
|
|
28
|
-
options: CCS.RecordType;
|
|
29
|
-
/** 添加tab */
|
|
30
|
-
onAddTabs: (tab: CcsTabProps | CcsTabProps[], activeKey?: string) => void;
|
|
31
|
-
/** 移除tab */
|
|
32
|
-
onRemoveTabs: (key: string | string[]) => void;
|
|
33
|
-
/** 改变tab间传递的参数 */
|
|
34
|
-
onTabChange: (tab: CcsTabsChangeProps) => void;
|
|
35
|
-
};
|
|
36
|
-
type PageContextType = {
|
|
37
|
-
/** ID */
|
|
38
|
-
id: string;
|
|
39
|
-
/** history Location */
|
|
40
|
-
location: Location;
|
|
41
|
-
/** 当前页面是否选中 */
|
|
42
|
-
isActive: boolean;
|
|
43
|
-
/** dialog holder */
|
|
44
|
-
dialogHolderRef: React.RefObject<ElementsHolderRef>;
|
|
45
|
-
/** 销毁页面 */
|
|
46
|
-
onDestroy: (path: string) => void;
|
|
47
|
-
/** 获取按钮权限 */
|
|
48
|
-
onAuth: (code: string) => boolean;
|
|
49
|
-
};
|
|
50
|
-
type FnContextType<T = Store> = {
|
|
51
|
-
locationKey: string;
|
|
52
|
-
formInitialValues: T;
|
|
53
|
-
close: () => void;
|
|
54
|
-
};
|
|
55
|
-
type CcsFieldNamesType = {
|
|
56
|
-
/** 数据源 */
|
|
57
|
-
dataSource?: string[];
|
|
58
|
-
/** 数据总条数 */
|
|
59
|
-
total?: string[];
|
|
60
|
-
/** 自定义接口请求属性对象,
|
|
61
|
-
* 默认配置
|
|
62
|
-
* { pageNo:['pageNo'],
|
|
63
|
-
* pageSize: ['pageSize'],
|
|
64
|
-
* filters':['filters'],
|
|
65
|
-
* orderProps: ['orderProps'],
|
|
66
|
-
* query: ['query'] }
|
|
67
|
-
* */
|
|
68
|
-
requestParam?: {
|
|
69
|
-
/** 页码 */
|
|
70
|
-
pageNo: string[];
|
|
71
|
-
/** 页记录数 */
|
|
72
|
-
pageSize: string[];
|
|
73
|
-
/** 查询条件 */
|
|
74
|
-
query?: string[];
|
|
75
|
-
/** 排序 */
|
|
76
|
-
orderProps?: string[];
|
|
77
|
-
/** 列过滤条件 */
|
|
78
|
-
filters?: string[];
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
type CcsDialogFieldNames = {
|
|
82
|
-
/** 成功标识字段 */
|
|
83
|
-
success?: string[];
|
|
84
|
-
/** 成功标识值 */
|
|
85
|
-
successTag?: any;
|
|
86
|
-
/** 错误信息提示 */
|
|
87
|
-
errorMsg?: string[];
|
|
88
|
-
};
|
|
89
|
-
type CssAppConfigType = {
|
|
90
|
-
/** 主题 */
|
|
91
|
-
theme?: 'dark' | 'light' | 'colorful';
|
|
92
|
-
/** 主题参数配置 */
|
|
93
|
-
antConfig?: ConfigProviderProps;
|
|
94
|
-
/** 紧凑模式 */
|
|
95
|
-
isCompact?: boolean;
|
|
96
|
-
/** 全局水印 */
|
|
97
|
-
watermark?: WaterMarkProps;
|
|
98
|
-
/** modal or drawer holder */
|
|
99
|
-
dialogHolderRef?: React.RefObject<ElementsHolderRef>;
|
|
100
|
-
/** 接口字段指定 */
|
|
101
|
-
fieldNames?: {
|
|
102
|
-
/** CcsProTable 组件字段全局指定 */
|
|
103
|
-
proTable?: CcsFieldNamesType;
|
|
104
|
-
/** CcsProTable.Tree 组件字段全局指定 */
|
|
105
|
-
proTableTree?: Pick<CcsFieldNamesType, 'dataSource'>;
|
|
106
|
-
/** dialog request 判定字段 */
|
|
107
|
-
dialog?: CcsDialogFieldNames;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
2
|
+
import { TabsContextType } from '../pro-tabs/_api';
|
|
3
|
+
import { AppConfigType, FnContextType, PageContextType } from './_api';
|
|
110
4
|
declare const DrawerAndModalContext: React.Context<FnContextType<any>>;
|
|
111
5
|
declare const PageContext: React.Context<PageContextType>;
|
|
112
|
-
declare const TabsContext: React.Context<
|
|
113
|
-
declare const AppConfigContext: React.Context<
|
|
6
|
+
declare const TabsContext: React.Context<TabsContextType>;
|
|
7
|
+
declare const AppConfigContext: React.Context<AppConfigType>;
|
|
114
8
|
export { AppConfigContext, DrawerAndModalContext, PageContext, TabsContext };
|
|
115
|
-
export type { CcsFieldNamesType, CcsTabsChangeProps, CcsTabsContextType, CssAppConfigType, FnContextType, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DatePickerProps as AntdDatePickerProps } from 'antd';
|
|
2
|
+
import { RangePickerProps as AntdRangePickerProps } from 'antd/es/date-picker';
|
|
3
|
+
/**
|
|
4
|
+
* 日期选择器属性
|
|
5
|
+
*/
|
|
6
|
+
export type DatePickerProps = {
|
|
7
|
+
value?: string;
|
|
8
|
+
picker?: 'year' | 'month' | 'date';
|
|
9
|
+
onChange?: (e: string) => void;
|
|
10
|
+
} & Omit<AntdDatePickerProps, 'value' | 'onChange' | 'picker'>;
|
|
11
|
+
/**
|
|
12
|
+
* 日期范围选择器属性
|
|
13
|
+
*/
|
|
14
|
+
export type RangePickerProps = {
|
|
15
|
+
showTime?: boolean;
|
|
16
|
+
value?: [string, string];
|
|
17
|
+
picker?: 'year' | 'month' | 'date';
|
|
18
|
+
onChange?: (e: [string, string]) => void;
|
|
19
|
+
} & Omit<AntdRangePickerProps, 'value' | 'onChange'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import { DatePickerProps } from '
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
value?: string;
|
|
5
|
-
picker?: 'year' | 'month' | 'date';
|
|
6
|
-
onChange?: (e: string) => void;
|
|
7
|
-
} & Omit<DatePickerProps, 'value' | 'onChange' | 'picker'>;
|
|
8
|
-
type CcsRangePickerProps = {
|
|
9
|
-
showTime?: boolean;
|
|
10
|
-
value?: [string, string];
|
|
11
|
-
picker?: 'year' | 'month' | 'date';
|
|
12
|
-
onChange?: (e: [string, string]) => void;
|
|
13
|
-
} & Omit<RangePickerProps, 'value' | 'onChange'>;
|
|
14
|
-
declare function CcsDatePicker({ value, onChange, ...restProps }: CcsDatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { DatePickerProps, RangePickerProps } from './_api';
|
|
2
|
+
/** 日期选择器 */
|
|
3
|
+
declare function CcsDatePicker({ value, onChange, ...restProps }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
15
4
|
declare namespace CcsDatePicker {
|
|
16
|
-
var RangePicker: ({ value, onChange, ...restProps }:
|
|
5
|
+
var RangePicker: ({ value, onChange, ...restProps }: RangePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
6
|
var displayName: string;
|
|
18
7
|
}
|
|
19
8
|
export default CcsDatePicker;
|
package/es/date-picker/index.js
CHANGED
|
@@ -10,7 +10,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
10
10
|
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; }
|
|
11
11
|
import { DatePicker } from 'antd';
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
|
-
import _isArray from 'lodash.isarray';
|
|
14
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
14
|
var rangePresets = [{
|
|
16
15
|
label: '今天',
|
|
@@ -31,6 +30,8 @@ var rangePresets = [{
|
|
|
31
30
|
label: '最近90天',
|
|
32
31
|
value: [dayjs().add(-90, 'd'), dayjs()]
|
|
33
32
|
}];
|
|
33
|
+
|
|
34
|
+
/** 日期选择器 */
|
|
34
35
|
function CcsDatePicker(_ref) {
|
|
35
36
|
var value = _ref.value,
|
|
36
37
|
onChange = _ref.onChange,
|
|
@@ -49,7 +50,7 @@ function RangePicker(_ref2) {
|
|
|
49
50
|
onChange = _ref2.onChange,
|
|
50
51
|
restProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
51
52
|
var getDateValue = function getDateValue() {
|
|
52
|
-
if (
|
|
53
|
+
if (Array.isArray(value)) {
|
|
53
54
|
var st = value[0] ? dayjs(value[0]) : undefined;
|
|
54
55
|
var et = value[1] ? dayjs(value[1]) : undefined;
|
|
55
56
|
return [st, et];
|
|
@@ -65,6 +66,8 @@ function RangePicker(_ref2) {
|
|
|
65
66
|
onChange: handleOnChange
|
|
66
67
|
}, restProps));
|
|
67
68
|
}
|
|
69
|
+
|
|
70
|
+
/** 区间日期选择器 */
|
|
68
71
|
CcsDatePicker.RangePicker = RangePicker;
|
|
69
72
|
if (process.env.NODE_ENV !== 'production') {
|
|
70
73
|
CcsDatePicker.displayName = 'CcsDatePicker';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DialogDrawer, DialogDrawerProps } from './_api';
|
|
2
2
|
export type HookDrawerProps<TParams, TData> = {
|
|
3
3
|
afterClose: () => void;
|
|
4
|
-
config:
|
|
4
|
+
config: DialogDrawerProps<TParams, TData>;
|
|
5
5
|
};
|
|
6
6
|
declare const HookDrawer: <TParams, TData>(props: HookDrawerProps<TParams, TData> & {
|
|
7
|
-
dialogRef: React.RefObject<
|
|
7
|
+
dialogRef: React.RefObject<DialogDrawer>;
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default HookDrawer;
|
package/es/dialog/HookModal.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { DialogModal, DialogModalProps } from './_api';
|
|
3
3
|
export type HookModalProps<TParams, TData> = {
|
|
4
4
|
afterClose: () => void;
|
|
5
|
-
config:
|
|
5
|
+
config: DialogModalProps<TParams, TData>;
|
|
6
6
|
};
|
|
7
7
|
declare const HookModal: <TParams, TData>(props: HookModalProps<TParams, TData> & {
|
|
8
|
-
dialogRef: React.RefObject<
|
|
8
|
+
dialogRef: React.RefObject<DialogModal>;
|
|
9
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default HookModal;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { DrawerProps, FormProps, ModalFuncProps } from 'antd';
|
|
2
|
+
import { Store } from 'antd/es/form/interface';
|
|
3
|
+
import { ReactNode, RefObject } from 'react';
|
|
4
|
+
import { PropsWithNodeChildren, RecordType } from '../ccs';
|
|
5
|
+
import CcsDialogFooter, { DialogButtonRef } from './button';
|
|
6
|
+
import { useDialogContext } from './context';
|
|
7
|
+
import CcsDrawerFooter from './drawer-footer';
|
|
8
|
+
import { DialogFormRef } from './form';
|
|
9
|
+
import useCcsDialog from './hook';
|
|
10
|
+
/** CcsDialog 组件方法 */
|
|
11
|
+
export interface DialogInterface {
|
|
12
|
+
/** 获取openModal,openDrawer方法 */
|
|
13
|
+
useDialog: typeof useCcsDialog;
|
|
14
|
+
/** dialog 实例 */
|
|
15
|
+
useInstance: typeof useDialogContext;
|
|
16
|
+
/** dialog 按钮 */
|
|
17
|
+
Buttons: typeof CcsDialogFooter;
|
|
18
|
+
/** drawer footer */
|
|
19
|
+
DrawerFooter: typeof CcsDrawerFooter;
|
|
20
|
+
}
|
|
21
|
+
/** dialog确定回调 */
|
|
22
|
+
export type OkEvent<TParams, TData> = (params?: TParams, result?: TData) => Promise<boolean | undefined> | boolean | void;
|
|
23
|
+
/** request请求 */
|
|
24
|
+
export type Service<TParams, TData> = (params: TParams) => Promise<TData>;
|
|
25
|
+
/** openModal,openDrawer方法参数 */
|
|
26
|
+
export interface DialogProps<TParams, TData> {
|
|
27
|
+
/** antd form */
|
|
28
|
+
form?: FormProps;
|
|
29
|
+
/** 表单接口请求权限 */
|
|
30
|
+
auth?: string;
|
|
31
|
+
/** 上下文参数、可通过CcsDialog.useInstance获取 */
|
|
32
|
+
contextParam?: {
|
|
33
|
+
/** 当前行数据 */
|
|
34
|
+
record?: RecordType;
|
|
35
|
+
/** 选中行数据 */
|
|
36
|
+
selectedRows?: RecordType[];
|
|
37
|
+
} & RecordType;
|
|
38
|
+
/** 通过参数传递的扩展按钮 */
|
|
39
|
+
extraBtn?: ReactNode;
|
|
40
|
+
/** 确定按钮,返回false 或者 promiss false 则阻止关闭对话框 */
|
|
41
|
+
onOk?: OkEvent<TParams, TData>;
|
|
42
|
+
/** 表单接口请求 */
|
|
43
|
+
request?: Service<TParams, TData>;
|
|
44
|
+
/** 请求success和errorMsg字段指定 */
|
|
45
|
+
requestFieldNames?: {
|
|
46
|
+
success?: string[];
|
|
47
|
+
errorMsg?: string[];
|
|
48
|
+
};
|
|
49
|
+
/** 阻止对request结果进行处理 */
|
|
50
|
+
preventRequestHandle?: boolean;
|
|
51
|
+
/** 弹框关闭回调 */
|
|
52
|
+
onClose?: () => void;
|
|
53
|
+
}
|
|
54
|
+
/** 模态框框参数 */
|
|
55
|
+
export type DialogModalProps<TParams = any, TData = any> = DialogProps<TParams, TData> & Omit<ModalFuncProps, 'onCancel' | 'afterOpenChange' | 'onOk'> & {
|
|
56
|
+
/** 关闭后销毁组件,默认true */
|
|
57
|
+
destroyOnClose?: boolean;
|
|
58
|
+
};
|
|
59
|
+
/** 抽屉弹框参数 */
|
|
60
|
+
export type DialogDrawerProps<TParams = any, TData = any> = DialogProps<TParams, TData> & Omit<DrawerProps, 'onClose' | 'onOk' | 'afterOpenChange' | 'footer'> & {
|
|
61
|
+
/** 抽屉内容 */
|
|
62
|
+
content?: ReactNode;
|
|
63
|
+
};
|
|
64
|
+
/** openModal方法返回对象 */
|
|
65
|
+
export interface DialogModal {
|
|
66
|
+
/** 销毁模态框 */
|
|
67
|
+
destroy: () => void;
|
|
68
|
+
/** 更新模态框 */
|
|
69
|
+
update: (config: DialogModalProps) => void;
|
|
70
|
+
}
|
|
71
|
+
/** openDrawer方法返回对象 */
|
|
72
|
+
export interface DialogDrawer {
|
|
73
|
+
/** 销毁抽屉 */
|
|
74
|
+
destroy: () => void;
|
|
75
|
+
/** 更新抽屉 */
|
|
76
|
+
update: (config: DialogDrawerProps) => void;
|
|
77
|
+
}
|
|
78
|
+
/** 自定义dialog按钮参数 */
|
|
79
|
+
export type DialogButtonsProps<T = any> = Pick<DialogModalProps, 'okText' | 'onClose' | 'cancelText' | 'okType'> & PropsWithNodeChildren & {
|
|
80
|
+
/** 按钮权限 */
|
|
81
|
+
okAuth?: string;
|
|
82
|
+
/** loading 状态 */
|
|
83
|
+
loading?: boolean;
|
|
84
|
+
/** 隐藏取消按钮 */
|
|
85
|
+
hideCancel?: boolean;
|
|
86
|
+
/** 返回false或Promise false 则阻止弹窗关闭 */
|
|
87
|
+
onOk?: (values: T) => any;
|
|
88
|
+
};
|
|
89
|
+
/** CcsDialog.useInstance 获取dialog实例 */
|
|
90
|
+
export interface DialogContextType<T = Store> {
|
|
91
|
+
contextParam: DialogModalProps['contextParam'];
|
|
92
|
+
/** 表单初始值 */
|
|
93
|
+
formInitialValues: T;
|
|
94
|
+
/** ant form 实例 */
|
|
95
|
+
formRef?: React.RefObject<DialogFormRef<T>>;
|
|
96
|
+
/** 按钮类型 */
|
|
97
|
+
buttonType: 'modal' | 'drawer';
|
|
98
|
+
/** 按钮 ref */
|
|
99
|
+
buttonRef: RefObject<DialogButtonRef>;
|
|
100
|
+
/** drawer footer ref */
|
|
101
|
+
drawerFooterRef?: RefObject<DialogButtonRef>;
|
|
102
|
+
/** 关闭弹框回调 */
|
|
103
|
+
closeDialog: () => void;
|
|
104
|
+
/** 确定回调 */
|
|
105
|
+
onOkCallBack: OkEvent<any, any> | undefined;
|
|
106
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/es/dialog/button.d.ts
CHANGED
|
@@ -1,24 +1,14 @@
|
|
|
1
1
|
import { FormProps } from 'antd';
|
|
2
2
|
import React, { RefObject } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as CCS from '../ccs';
|
|
4
|
+
import { DialogButtonsProps, DialogModalProps } from './_api';
|
|
4
5
|
import { DialogFormRef } from './form';
|
|
5
|
-
import { CcsDialogModalProps } from './hook';
|
|
6
|
-
export type DialogButtonsProps<T> = Pick<CcsDialogModalProps, 'okText' | 'onClose' | 'cancelText'> & PropsWithNodeChildren & {
|
|
7
|
-
/** 按钮权限 */
|
|
8
|
-
okAuth?: string;
|
|
9
|
-
/** loading 状态 */
|
|
10
|
-
loading?: boolean;
|
|
11
|
-
/** 隐藏取消按钮 */
|
|
12
|
-
hideCancel?: boolean;
|
|
13
|
-
/** 返回false或Promise false 则阻止弹窗关闭 */
|
|
14
|
-
onOk?: (values: T) => any;
|
|
15
|
-
};
|
|
16
6
|
export type DialogButtonRef = {
|
|
17
7
|
onSetButtons: (e: React.ReactElement) => void;
|
|
18
8
|
};
|
|
19
|
-
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<
|
|
9
|
+
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CCS.DialogModalProps<TParams, TData>, "request" | "auth" | "onOk" | "onClose" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
|
|
20
10
|
formRef: React.RefObject<DialogFormRef<TParams>>;
|
|
21
11
|
formInitialValues: FormProps['initialValues'];
|
|
22
12
|
buttonRef: RefObject<DialogButtonRef>;
|
|
23
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export default function CcsDialogButtons<TParams>({ okText, okAuth, loading, children, hideCancel, cancelText, onOk, }: DialogButtonsProps<TParams>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default function CcsDialogButtons<TParams>({ okText, okType, okAuth, loading, children, hideCancel, cancelText, onOk, }: DialogButtonsProps<TParams>): import("react/jsx-runtime").JSX.Element;
|