@ccs-ui/rc-pro 2.4.0 → 2.4.1-alpha.1
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.6141cff5.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__CcsDialogFieldNames.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__CcsDialogFieldNames.md.7c33d755.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__CcsFieldNamesType.md.02682eb1.async.js +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__CcsFieldNamesType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__CssAppConfigType.md.33be0665.chunk.css +1 -0
- package/docs-dist/docs__rc-pro__context___api__type-aliases__CssAppConfigType.md.ff7b80c1.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__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.4e8b491d.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.b66a5100.async.js +132 -0
- package/docs-dist/meta__packages.1b9fb7ea.async.js +11384 -0
- package/docs-dist/meta__packages.524aaba3.chunk.css +1 -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.169b2997.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/CcsDialogFieldNames.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/CcsFieldNamesType.md/index.html +15 -0
- package/docs-dist/rc-pro/context/_api/type-aliases/CssAppConfigType.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/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.81a3cae1.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 +1 -2
- package/es/context/_api.d.ts +80 -0
- package/es/context/_api.js +1 -0
- package/es/context/index.d.ts +3 -110
- 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 +6 -11
- 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/pro-table/tree.js
CHANGED
|
@@ -21,8 +21,8 @@ import CcsUtils from '@ccs-ui/utils';
|
|
|
21
21
|
import { useImperativeHandle, useState } from 'react';
|
|
22
22
|
import { CcsTable } from '..';
|
|
23
23
|
import { useProTableTreeFields } from "../hooks/use-app";
|
|
24
|
-
import { getDataByNamePath } from "../
|
|
25
|
-
import { TableEvent } from "./
|
|
24
|
+
import { getDataByNamePath } from "../utils";
|
|
25
|
+
import { TableEvent } from "./_api";
|
|
26
26
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
27
27
|
var TableTree = function TableTree(props) {
|
|
28
28
|
var data = props.data,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TabPaneProps } from 'antd';
|
|
3
|
+
/** onTabChange 参数 */
|
|
4
|
+
export interface TabsChangeProps {
|
|
5
|
+
/** 当前激活tab面板的key */
|
|
6
|
+
activeKey?: string;
|
|
7
|
+
/** 启用tab keys */
|
|
8
|
+
enableKeys?: string[];
|
|
9
|
+
/** 禁用tab keys */
|
|
10
|
+
disableKeys?: string[];
|
|
11
|
+
/** tab间传递的参数 */
|
|
12
|
+
options?: Record<string, any>;
|
|
13
|
+
}
|
|
14
|
+
/** 新增tab 属性 */
|
|
15
|
+
export type TabProps = Omit<TabPaneProps, 'tab'> & {
|
|
16
|
+
/** tab key */
|
|
17
|
+
key: string;
|
|
18
|
+
/** tab面板标题 */
|
|
19
|
+
label: React.ReactNode;
|
|
20
|
+
};
|
|
21
|
+
/** CcsTabs tab间通过useCcsTabs交互 */
|
|
22
|
+
export interface TabsContextType {
|
|
23
|
+
/** dom id */
|
|
24
|
+
tabsId: string;
|
|
25
|
+
/** 当前激活tab面板的key */
|
|
26
|
+
activeKey: string;
|
|
27
|
+
/** tab间传递的参数 */
|
|
28
|
+
options: Record<string, any>;
|
|
29
|
+
/** 添加tab */
|
|
30
|
+
onAddTabs: (tab: TabProps | TabProps[], activeKey?: string) => void;
|
|
31
|
+
/** 移除tab */
|
|
32
|
+
onRemoveTabs: (key: string | string[]) => void;
|
|
33
|
+
/** 改变tab间传递的参数 */
|
|
34
|
+
onTabChange: (tab: TabsChangeProps) => void;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/es/resize-observer.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ type Size = {
|
|
|
3
3
|
width: number;
|
|
4
4
|
height: number;
|
|
5
5
|
};
|
|
6
|
-
type
|
|
6
|
+
export type ResizeObserverProps = {
|
|
7
7
|
targetRef: React.RefObject<HTMLDivElement>;
|
|
8
8
|
onResize: (size: Size) => void;
|
|
9
9
|
};
|
|
10
|
-
declare function ResizeObserver({ onResize }: Omit<
|
|
10
|
+
declare function ResizeObserver({ onResize }: Omit<ResizeObserverProps, 'targetRef'>): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare namespace ResizeObserver {
|
|
12
12
|
var Target: React.MemoExoticComponent<typeof ResizeObserverTarget>;
|
|
13
13
|
}
|
|
14
|
-
declare function ResizeObserverTarget({ targetRef, onResize }:
|
|
14
|
+
declare function ResizeObserverTarget({ targetRef, onResize }: ResizeObserverProps): null;
|
|
15
15
|
export default ResizeObserver;
|
package/es/result/index.d.ts
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { ResultProps } from 'antd/es/result';
|
|
2
2
|
declare const InternalResult: {
|
|
3
3
|
(props: ResultProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
/** 成功结果 */
|
|
4
5
|
Success: (props: ResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
/** 详情结果 */
|
|
5
7
|
Info: (props: ResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/** 提醒结果 */
|
|
6
9
|
Warning: (props: ResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
/** 失败结果 */
|
|
7
11
|
Error: (props: ResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
/** 403 结果 */
|
|
8
13
|
Page403: (props: ResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/** 404 结果 */
|
|
9
15
|
Page404: (props: ResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
/** 500 结果 */
|
|
10
17
|
Page500: (props: ResultProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
18
|
};
|
|
12
19
|
export default InternalResult;
|
package/es/result/index.js
CHANGED
|
@@ -58,11 +58,25 @@ var Result500 = function Result500(props) {
|
|
|
58
58
|
status: "500"
|
|
59
59
|
}));
|
|
60
60
|
};
|
|
61
|
+
|
|
62
|
+
/** 成功结果 */
|
|
61
63
|
InternalResult.Success = ResultSuccess;
|
|
64
|
+
|
|
65
|
+
/** 详情结果 */
|
|
62
66
|
InternalResult.Info = ResultInfo;
|
|
67
|
+
|
|
68
|
+
/** 提醒结果 */
|
|
63
69
|
InternalResult.Warning = ResultWarning;
|
|
70
|
+
|
|
71
|
+
/** 失败结果 */
|
|
64
72
|
InternalResult.Error = ResultError;
|
|
73
|
+
|
|
74
|
+
/** 403 结果 */
|
|
65
75
|
InternalResult.Page403 = Result403;
|
|
76
|
+
|
|
77
|
+
/** 404 结果 */
|
|
66
78
|
InternalResult.Page404 = Result404;
|
|
79
|
+
|
|
80
|
+
/** 500 结果 */
|
|
67
81
|
InternalResult.Page500 = Result500;
|
|
68
82
|
export default InternalResult;
|
package/es/select/ modal.d.ts
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ReactElement, ReactNode } from 'react';
|
|
3
|
-
import { SelectChildrenProps } from './customize';
|
|
4
|
-
export interface ModalSelectProps extends Omit<SelectProps, 'children' | 'title'> {
|
|
5
|
-
/** modal props */
|
|
6
|
-
modal?: ModalProps;
|
|
7
|
-
/** 自定义内容 */
|
|
8
|
-
children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
|
|
9
|
-
}
|
|
1
|
+
import { ModalSelectProps } from './_api';
|
|
10
2
|
export default function ModalSelect({ style, mode, modal, value, children, labelInValue, onChange: onOkChange, ...otherProps }: ModalSelectProps): import("react/jsx-runtime").JSX.Element;
|
package/es/select/ modal.js
CHANGED
|
@@ -110,7 +110,7 @@ export default function ModalSelect(_ref) {
|
|
|
110
110
|
allowClear: true,
|
|
111
111
|
suffixIcon: loading ? /*#__PURE__*/_jsx(LoadingOutlined, {}) : /*#__PURE__*/_jsx(SelectOutlined, {}),
|
|
112
112
|
open: false,
|
|
113
|
-
|
|
113
|
+
popupRender: function popupRender() {
|
|
114
114
|
return /*#__PURE__*/_jsx("div", {});
|
|
115
115
|
},
|
|
116
116
|
value: loading ? undefined : renderValueText(),
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { SelectProps as AntSelectProps, ModalProps } from 'antd';
|
|
2
|
+
import { ReactElement, ReactNode } from 'react';
|
|
3
|
+
export type SelectProps = Omit<AntSelectProps, 'fieldNames'> & {
|
|
4
|
+
/** 配置全部选项 */
|
|
5
|
+
showAll?: boolean | {
|
|
6
|
+
label: string;
|
|
7
|
+
value: any;
|
|
8
|
+
};
|
|
9
|
+
/** 接口数据字段 */
|
|
10
|
+
fieldNames?: {
|
|
11
|
+
label?: string[] | string;
|
|
12
|
+
value?: string[] | string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export type SelectChildrenProps = Pick<AntSelectProps, 'value' | 'onChange' | 'mode'> & {
|
|
16
|
+
/** 关闭弹框 */
|
|
17
|
+
onClose?: (e?: any) => void;
|
|
18
|
+
/** 更改select options */
|
|
19
|
+
onChangeOptions?: (options: any[]) => void;
|
|
20
|
+
/** 自定义显示选中详情 */
|
|
21
|
+
onChangeLabel?: (labelText?: string) => void;
|
|
22
|
+
/** 加载状态 */
|
|
23
|
+
onLoading?: (loading: boolean) => void;
|
|
24
|
+
};
|
|
25
|
+
export type CustomizeSelectProps = Omit<AntSelectProps, 'children'> & {
|
|
26
|
+
/** 内容宽度 */
|
|
27
|
+
contentWidth?: number;
|
|
28
|
+
/** 自定义内容 */
|
|
29
|
+
children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
|
|
30
|
+
};
|
|
31
|
+
export type CacheType = {
|
|
32
|
+
/** 缓存key,同一个key将共享数据 */
|
|
33
|
+
cacheKey?: string;
|
|
34
|
+
/** 设置数据保持新鲜时间,在该时间内,我们认为数据是新鲜的,不会重新发起请求 */
|
|
35
|
+
staleTime?: number;
|
|
36
|
+
/** 设置数据缓存时间,超过该时间,我们会清空该条缓存数据 */
|
|
37
|
+
cacheTime?: number;
|
|
38
|
+
};
|
|
39
|
+
export type ApiSelectProps = SelectProps & {
|
|
40
|
+
/** 开启缓存 */
|
|
41
|
+
cache?: CacheType;
|
|
42
|
+
/** 依赖参数 */
|
|
43
|
+
defaultParams?: Record<string, any>;
|
|
44
|
+
/** 查询请求 */
|
|
45
|
+
request?: (params?: any) => Promise<any>;
|
|
46
|
+
};
|
|
47
|
+
export type ModalSelectProps = Omit<AntSelectProps, 'children' | 'title'> & {
|
|
48
|
+
/** modal props */
|
|
49
|
+
modal?: ModalProps;
|
|
50
|
+
/** 自定义内容 */
|
|
51
|
+
children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/es/select/api.d.ts
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import CCS from '..';
|
|
3
|
-
type CacheType = {
|
|
4
|
-
/** 缓存key,同一个key将共享数据 */
|
|
5
|
-
cacheKey?: string;
|
|
6
|
-
/** 设置数据保持新鲜时间,在该时间内,我们认为数据是新鲜的,不会重新发起请求 */
|
|
7
|
-
staleTime?: number;
|
|
8
|
-
/** 设置数据缓存时间,超过该时间,我们会清空该条缓存数据 */
|
|
9
|
-
cacheTime?: number;
|
|
10
|
-
};
|
|
11
|
-
type ApiSelectProps = CcsSelectProps & {
|
|
12
|
-
/** 开启缓存 */
|
|
13
|
-
cache?: CacheType;
|
|
14
|
-
/** 依赖参数 */
|
|
15
|
-
defaultParams?: CCS.RecordType;
|
|
16
|
-
/** 查询请求 */
|
|
17
|
-
request?: (params?: any) => Promise<any>;
|
|
18
|
-
};
|
|
1
|
+
import { ApiSelectProps } from './_api';
|
|
19
2
|
/**
|
|
20
3
|
* 基于接口查询的select组件
|
|
21
4
|
* @param ApiSelectProps
|
package/es/select/customize.d.ts
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ReactElement, ReactNode } from 'react';
|
|
3
|
-
export type SelectChildrenProps = Pick<SelectProps, 'value' | 'onChange' | 'mode'> & {
|
|
4
|
-
/** 关闭弹框 */
|
|
5
|
-
onClose?: (e?: any) => void;
|
|
6
|
-
/** 更改select options */
|
|
7
|
-
onChangeOptions?: (options: any[]) => void;
|
|
8
|
-
/** 自定义显示选中详情 */
|
|
9
|
-
onChangeLabel?: (labelText?: string) => void;
|
|
10
|
-
/** 加载状态 */
|
|
11
|
-
onLoading?: (loading: boolean) => void;
|
|
12
|
-
};
|
|
13
|
-
export interface CustomizeSelectProps extends Omit<SelectProps, 'children'> {
|
|
14
|
-
/** 内容宽度 */
|
|
15
|
-
contentWidth?: number;
|
|
16
|
-
/** 自定义内容 */
|
|
17
|
-
children?: ReactElement | ((props: SelectChildrenProps) => ReactNode);
|
|
18
|
-
}
|
|
1
|
+
import { CustomizeSelectProps } from './_api';
|
|
19
2
|
/**
|
|
20
3
|
* 自定义弹框
|
|
21
4
|
* @param SelectCustomizeProps
|
package/es/select/customize.js
CHANGED
|
@@ -73,7 +73,7 @@ function SelectIndex(_ref) {
|
|
|
73
73
|
mode: mode,
|
|
74
74
|
onChangeOptions: setOptions
|
|
75
75
|
};
|
|
76
|
-
var
|
|
76
|
+
var dropdownRender = useMemo(function () {
|
|
77
77
|
return /*#__PURE__*/_jsx("div", {
|
|
78
78
|
style: {
|
|
79
79
|
display: 'none'
|
|
@@ -118,15 +118,15 @@ function SelectIndex(_ref) {
|
|
|
118
118
|
return /*#__PURE__*/_jsx(_Fragment, {
|
|
119
119
|
children: /*#__PURE__*/_jsx(Select, _objectSpread(_objectSpread({
|
|
120
120
|
open: open,
|
|
121
|
-
|
|
121
|
+
onOpenChange: setOpen,
|
|
122
122
|
allowClear: true,
|
|
123
123
|
defaultActiveFirstOption: true,
|
|
124
124
|
suffixIcon: loading ? /*#__PURE__*/_jsx(LoadingOutlined, {}) : /*#__PURE__*/_jsx(SelectOutlined, {}),
|
|
125
125
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
126
126
|
}, otherProps), {}, {
|
|
127
127
|
popupMatchSelectWidth: contentWidth,
|
|
128
|
-
|
|
129
|
-
return
|
|
128
|
+
popupRender: function popupRender() {
|
|
129
|
+
return dropdownRender;
|
|
130
130
|
},
|
|
131
131
|
mode: !!labelText ? undefined : mode,
|
|
132
132
|
value: loading ? undefined : renderValueText(),
|
package/es/select/index.d.ts
CHANGED
|
@@ -1,27 +1,13 @@
|
|
|
1
|
-
import { SelectProps } from 'antd';
|
|
2
|
-
import { NamePath } from 'antd/es/form/interface';
|
|
3
1
|
import ModalSelect from './ modal';
|
|
2
|
+
import { SelectProps } from './_api';
|
|
4
3
|
import ApiSelect from './api';
|
|
5
4
|
import CustomizeSelect from './customize';
|
|
6
|
-
export declare function getDataByNamePath(data: Record<string, any>, name: NamePath): any;
|
|
7
|
-
export interface CcsSelectProps extends Omit<SelectProps, 'fieldNames'> {
|
|
8
|
-
/** 配置全部选项 */
|
|
9
|
-
showAll?: boolean | {
|
|
10
|
-
label: string;
|
|
11
|
-
value: any;
|
|
12
|
-
};
|
|
13
|
-
/** 接口数据字段 */
|
|
14
|
-
fieldNames?: {
|
|
15
|
-
label?: string[] | string;
|
|
16
|
-
value?: string[] | string;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
5
|
/**
|
|
20
6
|
* select 组件扩展
|
|
21
7
|
* @param CcsSelectProps
|
|
22
8
|
* @returns
|
|
23
9
|
*/
|
|
24
|
-
declare function InternalSelect({ showAll, fieldNames, options, ...props }:
|
|
10
|
+
declare function InternalSelect({ showAll, fieldNames, options, ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
25
11
|
declare namespace InternalSelect {
|
|
26
12
|
var displayName: string;
|
|
27
13
|
var Api: typeof ApiSelect;
|
package/es/select/index.js
CHANGED
|
@@ -1,42 +1,31 @@
|
|
|
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); }
|
|
1
2
|
var _excluded = ["showAll", "fieldNames", "options"];
|
|
2
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; }
|
|
3
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; }
|
|
4
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; }
|
|
5
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
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); }
|
|
7
|
-
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; }
|
|
8
|
-
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; }
|
|
9
|
-
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); }
|
|
10
8
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
11
9
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
10
|
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); }
|
|
13
11
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
14
12
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
15
13
|
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; }
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
16
|
import { Select } from 'antd';
|
|
17
17
|
import { useMemo } from 'react';
|
|
18
18
|
import pinyin from 'tiny-pinyin';
|
|
19
|
+
import { getDataByNamePath } from "../utils";
|
|
19
20
|
import ModalSelect from "./ modal";
|
|
20
21
|
import ApiSelect from "./api";
|
|
21
22
|
import CustomizeSelect from "./customize";
|
|
22
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
|
-
export function getDataByNamePath(data, name) {
|
|
24
|
-
if (!data || !name) return;
|
|
25
|
-
if (typeof name === 'string') {
|
|
26
|
-
return data[name];
|
|
27
|
-
}
|
|
28
|
-
var newFields = _toConsumableArray(name);
|
|
29
|
-
var field = newFields.shift();
|
|
30
|
-
var newData = data[field];
|
|
31
|
-
if (_typeof(newData) === 'object' && newFields.length > 0) {
|
|
32
|
-
return getDataByNamePath(newData, newFields);
|
|
33
|
-
}
|
|
34
|
-
return newData;
|
|
35
|
-
}
|
|
36
24
|
function onIsArray(data) {
|
|
37
25
|
if (Array.isArray(data)) return data;
|
|
38
26
|
return [data];
|
|
39
27
|
}
|
|
28
|
+
|
|
40
29
|
/**
|
|
41
30
|
* select 组件扩展
|
|
42
31
|
* @param CcsSelectProps
|
|
@@ -74,7 +63,7 @@ function InternalSelect(_ref) {
|
|
|
74
63
|
}
|
|
75
64
|
labelField.shift();
|
|
76
65
|
var value = valueField.shift();
|
|
77
|
-
if (value) {
|
|
66
|
+
if (value && ops !== undefined) {
|
|
78
67
|
ops = ops[value];
|
|
79
68
|
}
|
|
80
69
|
}
|
|
@@ -99,10 +88,13 @@ function InternalSelect(_ref) {
|
|
|
99
88
|
if (process.env.NODE_ENV !== 'production') {
|
|
100
89
|
InternalSelect.displayName = 'CcsSelect';
|
|
101
90
|
}
|
|
91
|
+
|
|
92
|
+
/** 基于接口的选择器 */
|
|
102
93
|
InternalSelect.Api = ApiSelect;
|
|
94
|
+
|
|
95
|
+
/** 自定义弹出内容选择器 */
|
|
103
96
|
InternalSelect.Customize = CustomizeSelect;
|
|
97
|
+
|
|
98
|
+
/** 弹窗选择器 */
|
|
104
99
|
InternalSelect.Modal = ModalSelect;
|
|
105
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
106
|
-
InternalSelect.displayName = 'CcsSelect';
|
|
107
|
-
}
|
|
108
100
|
export default InternalSelect;
|
package/es/table/index.d.ts
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { ProTableProps, TableProps } from '../pro-table/_api';
|
|
3
|
+
import { TableRefType } from '../pro-table/table';
|
|
3
4
|
import './index.less';
|
|
4
|
-
export type CustomTableProps<T> = Omit<
|
|
5
|
+
export type CustomTableProps<T> = Omit<TableProps<T>, 'request' | 'title'> & Pick<ProTableProps<T>, 'showNumber' | 'onEvent'> & {
|
|
5
6
|
title?: any;
|
|
6
7
|
tableRef?: React.MutableRefObject<TableRefType | undefined>;
|
|
7
8
|
tableContentRef: React.RefObject<HTMLDivElement>;
|
|
8
9
|
};
|
|
9
|
-
export type TableRefType = {
|
|
10
|
-
/** 列筛选 */
|
|
11
|
-
onColumnFilter: (e: any) => void;
|
|
12
|
-
/** 计算固定表头宽度 */
|
|
13
|
-
onFixedThead: () => void;
|
|
14
|
-
};
|
|
15
10
|
declare const CustomTable: {
|
|
16
11
|
<T extends object = any>(props: CustomTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
17
12
|
displayName: string;
|
package/es/table/index.js
CHANGED
|
@@ -13,9 +13,9 @@ import { Table, theme } from 'antd';
|
|
|
13
13
|
import { ConfigContext } from 'antd/es/config-provider';
|
|
14
14
|
import { useContext, useEffect, useImperativeHandle } from 'react';
|
|
15
15
|
import { Resizable } from 'react-resizable';
|
|
16
|
-
import
|
|
16
|
+
import { CcsEllipsis } from '..';
|
|
17
17
|
import useTabs from "../hooks/use-tabs";
|
|
18
|
-
import { TableEvent } from "../pro-table/
|
|
18
|
+
import { TableEvent } from "../pro-table/_api";
|
|
19
19
|
import "./index.less";
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
var ResizableTitle = function ResizableTitle(props) {
|
|
@@ -158,22 +158,21 @@ var CustomTable = function CustomTable(props) {
|
|
|
158
158
|
});
|
|
159
159
|
cls === null || cls === void 0 || cls.forEach(function (c) {
|
|
160
160
|
if (c.ellipsis && !c.render) {
|
|
161
|
+
// 保留ellipsis 为true,使用ant默认的属性
|
|
162
|
+
if (typeof c.ellipsis === 'boolean') return;
|
|
161
163
|
var ellipsisProps = {};
|
|
162
164
|
if (typeof c.ellipsis === 'number') {
|
|
163
165
|
ellipsisProps = {
|
|
164
166
|
rows: c.ellipsis
|
|
165
167
|
};
|
|
166
168
|
}
|
|
167
|
-
if (typeof c.ellipsis === 'boolean') ellipsisProps = {
|
|
168
|
-
rows: 1
|
|
169
|
-
};
|
|
170
169
|
if (_typeof(c.ellipsis) === 'object') ellipsisProps = c.ellipsis;
|
|
171
170
|
|
|
172
171
|
// 禁用默认 ellipsis
|
|
173
172
|
c.ellipsis = false;
|
|
174
173
|
// 渲染内容
|
|
175
174
|
c.render = function (e) {
|
|
176
|
-
return /*#__PURE__*/_jsx(
|
|
175
|
+
return /*#__PURE__*/_jsx(CcsEllipsis, _objectSpread({
|
|
177
176
|
content: e,
|
|
178
177
|
showTooltip: true
|
|
179
178
|
}, ellipsisProps));
|
|
@@ -8,8 +8,9 @@ type CcsRangePickerProps = {
|
|
|
8
8
|
value?: [string, string];
|
|
9
9
|
onChange?: (e: [string, string]) => void;
|
|
10
10
|
} & Omit<RangePickerProps, 'value' | 'onChange' | 'picker'>;
|
|
11
|
-
|
|
12
|
-
declare
|
|
11
|
+
/** 时间选择器 */
|
|
12
|
+
declare function CcsTimePicker({ value, onChange, ...restProps }: CcsTimePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare namespace CcsTimePicker {
|
|
13
14
|
var RangePicker: ({ value, onChange, ...restProps }: CcsRangePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
}
|
|
15
|
-
export default
|
|
16
|
+
export default CcsTimePicker;
|
package/es/time-picker/index.js
CHANGED
|
@@ -11,10 +11,10 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { TimePicker } from 'antd';
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
13
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
14
|
-
import _isArray from 'lodash.isarray';
|
|
15
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
15
|
dayjs.extend(customParseFormat);
|
|
17
|
-
|
|
16
|
+
/** 时间选择器 */
|
|
17
|
+
function CcsTimePicker(_ref) {
|
|
18
18
|
var value = _ref.value,
|
|
19
19
|
onChange = _ref.onChange,
|
|
20
20
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -32,7 +32,7 @@ function RangePicker(_ref2) {
|
|
|
32
32
|
onChange = _ref2.onChange,
|
|
33
33
|
restProps = _objectWithoutProperties(_ref2, _excluded2);
|
|
34
34
|
var getDateValue = function getDateValue() {
|
|
35
|
-
if (
|
|
35
|
+
if (Array.isArray(value)) {
|
|
36
36
|
return [dayjs(value[0], 'HH:mm:ss'), dayjs(value[1], 'HH:mm:ss')];
|
|
37
37
|
}
|
|
38
38
|
return null;
|
|
@@ -45,5 +45,7 @@ function RangePicker(_ref2) {
|
|
|
45
45
|
onChange: handleOnChange
|
|
46
46
|
}, restProps));
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
|
|
49
|
+
/** 时间区间选择器 */
|
|
50
|
+
CcsTimePicker.RangePicker = RangePicker;
|
|
51
|
+
export default CcsTimePicker;
|
package/es/upload/index.js
CHANGED
package/es/utils.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NamePath } from 'antd/es/form/interface';
|
|
2
|
+
/**
|
|
3
|
+
* 完整验证身份证号码(结构+校验码)
|
|
4
|
+
*/
|
|
5
|
+
export declare function isValidCard(idCard: string): idCard is string;
|
|
6
|
+
/**
|
|
7
|
+
* 从身份证号码中提取出生日期
|
|
8
|
+
*/
|
|
9
|
+
export declare function extractBirthday(idCard: string): string | null;
|
|
10
|
+
/**
|
|
11
|
+
* 从身份证号码中判断性别(1-男,0-女)
|
|
12
|
+
*/
|
|
13
|
+
export declare function extractGender(idCard: string): number | null;
|
|
14
|
+
export declare function isUrl(str: string): str is `${'http' | 'https'}://${string}`;
|
|
15
|
+
export declare function getDataByNamePath(data: any, name: NamePath): any;
|
package/es/utils.js
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
3
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
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); }
|
|
5
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
6
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
7
|
+
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; }
|
|
8
|
+
// 身份证号码正则表达式(结构校验)
|
|
9
|
+
var idCardRegex = /^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dXx]$/;
|
|
10
|
+
|
|
11
|
+
// 校验码计算权重
|
|
12
|
+
var weights = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
|
|
13
|
+
|
|
14
|
+
// 校验码对应值
|
|
15
|
+
var checkCodeMap = ['1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'];
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 验证身份证号码格式是否正确(仅结构校验)
|
|
19
|
+
*/
|
|
20
|
+
function checkFormat(idCard) {
|
|
21
|
+
return idCardRegex.test(idCard);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 验证身份证号码校验码是否正确
|
|
26
|
+
*/
|
|
27
|
+
function checkCheckCode(idCard) {
|
|
28
|
+
// 先转换为大写,统一处理X
|
|
29
|
+
var upperIdCard = idCard.toUpperCase();
|
|
30
|
+
|
|
31
|
+
// 计算前17位与权重的乘积之和
|
|
32
|
+
var sum = 0;
|
|
33
|
+
for (var i = 0; i < 17; i++) {
|
|
34
|
+
sum += parseInt(upperIdCard[i], 10) * weights[i];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// 计算校验码
|
|
38
|
+
var checkCodeIndex = sum % 11;
|
|
39
|
+
var calculatedCheckCode = checkCodeMap[checkCodeIndex];
|
|
40
|
+
|
|
41
|
+
// 比对校验码
|
|
42
|
+
return upperIdCard[17] === calculatedCheckCode;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 完整验证身份证号码(结构+校验码)
|
|
47
|
+
*/
|
|
48
|
+
export function isValidCard(idCard) {
|
|
49
|
+
if (idCard.length !== 18) return false;
|
|
50
|
+
if (!checkFormat(idCard)) return false;
|
|
51
|
+
return checkCheckCode(idCard);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* 从身份证号码中提取出生日期
|
|
56
|
+
*/
|
|
57
|
+
export function extractBirthday(idCard) {
|
|
58
|
+
if (!isValidCard(idCard)) return null;
|
|
59
|
+
var year = idCard.substring(6, 10);
|
|
60
|
+
var month = idCard.substring(10, 12);
|
|
61
|
+
var day = idCard.substring(12, 14);
|
|
62
|
+
return "".concat(year, "-").concat(month, "-").concat(day);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 从身份证号码中判断性别(1-男,0-女)
|
|
67
|
+
*/
|
|
68
|
+
export function extractGender(idCard) {
|
|
69
|
+
if (!isValidCard(idCard)) return null;
|
|
70
|
+
// 第17位数字,奇数为男,偶数为女
|
|
71
|
+
var genderCode = parseInt(idCard.substring(16, 17), 10);
|
|
72
|
+
return genderCode % 2 === 1 ? 1 : 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// 验证是否为有效的 URL
|
|
76
|
+
export function isUrl(str) {
|
|
77
|
+
return /^https?:\/\/.+/.test(str);
|
|
78
|
+
}
|
|
79
|
+
export function getDataByNamePath(data, name) {
|
|
80
|
+
if (!data || !name) return;
|
|
81
|
+
if (typeof name === 'string') {
|
|
82
|
+
return data[name];
|
|
83
|
+
}
|
|
84
|
+
var newFields = _toConsumableArray(name);
|
|
85
|
+
var field = newFields.shift();
|
|
86
|
+
var newData = data[field];
|
|
87
|
+
if (_typeof(newData) === 'object' && newFields.length > 0) {
|
|
88
|
+
return getDataByNamePath(newData, newFields);
|
|
89
|
+
}
|
|
90
|
+
return newData;
|
|
91
|
+
}
|