@chenhui996/gg-ui 0.0.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/README.md +75 -0
- package/gz-ui-lib/components/alert/Alert.d.ts +6 -0
- package/gz-ui-lib/components/alert/ErrorBoundary.d.ts +5 -0
- package/gz-ui-lib/components/alert/demo/action.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/banner.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/closable.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/description.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/error-boundary.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/icon.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/loop-banner.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/smooth-closed.d.ts +3 -0
- package/gz-ui-lib/components/alert/demo/style.d.ts +3 -0
- package/gz-ui-lib/components/alert/index.d.ts +8 -0
- package/gz-ui-lib/components/auto-complete/index.d.ts +5 -0
- package/gz-ui-lib/components/avatar/Group.d.ts +5 -0
- package/gz-ui-lib/components/avatar/index.d.ts +11 -0
- package/gz-ui-lib/components/badge/Ribbon.d.ts +5 -0
- package/gz-ui-lib/components/badge/index.d.ts +11 -0
- package/gz-ui-lib/components/breadcrumb/Breadcrumb.d.ts +5 -0
- package/gz-ui-lib/components/breadcrumb/index.d.ts +3 -0
- package/gz-ui-lib/components/button/index.cjs +1 -0
- package/gz-ui-lib/components/button/index.d.ts +5 -0
- package/gz-ui-lib/components/button/index.js +7 -0
- package/gz-ui-lib/components/calendar/index.d.ts +6 -0
- package/gz-ui-lib/components/card/Card.d.ts +5 -0
- package/gz-ui-lib/components/card/Grid.d.ts +6 -0
- package/gz-ui-lib/components/card/Meta.d.ts +6 -0
- package/gz-ui-lib/components/card/index.d.ts +12 -0
- package/gz-ui-lib/components/cascader/index.d.ts +11 -0
- package/gz-ui-lib/components/checkbox/Group.d.ts +5 -0
- package/gz-ui-lib/components/checkbox/index.d.ts +11 -0
- package/gz-ui-lib/components/collapse/Collapse.d.ts +5 -0
- package/gz-ui-lib/components/collapse/Panel.d.ts +5 -0
- package/gz-ui-lib/components/collapse/index.d.ts +9 -0
- package/gz-ui-lib/components/config-provider/index.d.ts +10 -0
- package/gz-ui-lib/components/date-picker/MonthPicker.d.ts +10 -0
- package/gz-ui-lib/components/date-picker/QuarterPicker.d.ts +10 -0
- package/gz-ui-lib/components/date-picker/RangePicker.d.ts +5 -0
- package/gz-ui-lib/components/date-picker/TimePicker.d.ts +10 -0
- package/gz-ui-lib/components/date-picker/WeekPicker.d.ts +10 -0
- package/gz-ui-lib/components/date-picker/YearPicker.d.ts +10 -0
- package/gz-ui-lib/components/date-picker/index.d.ts +21 -0
- package/gz-ui-lib/components/divider/Divider.d.ts +5 -0
- package/gz-ui-lib/components/divider/index.d.ts +3 -0
- package/gz-ui-lib/components/drawer/Drawer.d.ts +6 -0
- package/gz-ui-lib/components/drawer/demo/basic-right.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/closable-placement.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/extra.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/form-in-drawer.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/loading.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/mask.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/multi-level-drawer.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/placement.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/render-in-current.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/resizable.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/size.d.ts +3 -0
- package/gz-ui-lib/components/drawer/demo/user-profile.d.ts +3 -0
- package/gz-ui-lib/components/drawer/index.d.ts +3 -0
- package/gz-ui-lib/components/dropdown/Dropdown.d.ts +5 -0
- package/gz-ui-lib/components/dropdown/index.d.ts +3 -0
- package/gz-ui-lib/components/empty/Empty.d.ts +6 -0
- package/gz-ui-lib/components/empty/index.d.ts +9 -0
- package/gz-ui-lib/components/form/ErrorList.d.ts +5 -0
- package/gz-ui-lib/components/form/Item.d.ts +5 -0
- package/gz-ui-lib/components/form/List.d.ts +5 -0
- package/gz-ui-lib/components/form/Provider.d.ts +5 -0
- package/gz-ui-lib/components/form/index.d.ts +20 -0
- package/gz-ui-lib/components/image/Image.d.ts +6 -0
- package/gz-ui-lib/components/image/PreviewGroup.d.ts +7 -0
- package/gz-ui-lib/components/image/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/controlled-preview.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/fallback.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/imageRender.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/mask.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/nested.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/placeholder.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/preview-group-visible.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/preview-group.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/previewSrc.d.ts +3 -0
- package/gz-ui-lib/components/image/demo/toolbarRender.d.ts +3 -0
- package/gz-ui-lib/components/image/index.d.ts +9 -0
- package/gz-ui-lib/components/input/Input.d.ts +5 -0
- package/gz-ui-lib/components/input/OTP.d.ts +5 -0
- package/gz-ui-lib/components/input/Password.d.ts +6 -0
- package/gz-ui-lib/components/input/Search.d.ts +6 -0
- package/gz-ui-lib/components/input/TextArea.d.ts +6 -0
- package/gz-ui-lib/components/input/index.d.ts +18 -0
- package/gz-ui-lib/components/input-number/index.d.ts +5 -0
- package/gz-ui-lib/components/menu/Menu.d.ts +5 -0
- package/gz-ui-lib/components/menu/index.d.ts +11 -0
- package/gz-ui-lib/components/message/demo/custom-style.d.ts +3 -0
- package/gz-ui-lib/components/message/demo/duration.d.ts +3 -0
- package/gz-ui-lib/components/message/demo/hooks.d.ts +3 -0
- package/gz-ui-lib/components/message/demo/info.d.ts +3 -0
- package/gz-ui-lib/components/message/demo/loading.d.ts +3 -0
- package/gz-ui-lib/components/message/demo/other.d.ts +3 -0
- package/gz-ui-lib/components/message/demo/thenable.d.ts +3 -0
- package/gz-ui-lib/components/message/demo/update.d.ts +3 -0
- package/gz-ui-lib/components/message/index.d.ts +3 -0
- package/gz-ui-lib/components/modal/Modal.d.ts +6 -0
- package/gz-ui-lib/components/modal/demo/async.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/button-props.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/confirm-router.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/confirm.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/footer-render.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/footer.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/hooks.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/loading.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/locale.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/manual.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/mask.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/modal-render.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/position.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/static-info.d.ts +3 -0
- package/gz-ui-lib/components/modal/demo/width.d.ts +3 -0
- package/gz-ui-lib/components/modal/index.d.ts +7 -0
- package/gz-ui-lib/components/notification/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/custom-icon.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/custom-style.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/duration.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/hooks.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/placement.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/progress-color.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/show-with-progress.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/stack.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/update.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/with-btn.d.ts +3 -0
- package/gz-ui-lib/components/notification/demo/with-icon.d.ts +3 -0
- package/gz-ui-lib/components/notification/index.d.ts +3 -0
- package/gz-ui-lib/components/pagination/Pagination.d.ts +5 -0
- package/gz-ui-lib/components/pagination/index.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/Popconfirm.d.ts +6 -0
- package/gz-ui-lib/components/popconfirm/demo/async.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/demo/dynamic-trigger.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/demo/icon.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/demo/locale.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/demo/placement.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/demo/promise.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/demo/shift.d.ts +3 -0
- package/gz-ui-lib/components/popconfirm/index.d.ts +3 -0
- package/gz-ui-lib/components/popover/Popover.d.ts +6 -0
- package/gz-ui-lib/components/popover/index.d.ts +3 -0
- package/gz-ui-lib/components/progress/Progress.d.ts +6 -0
- package/gz-ui-lib/components/progress/demo/circle-micro.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/circle-mini.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/circle-steps.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/circle.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/dashboard.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/dynamic.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/format.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/gradient-line.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/info-position.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/line-mini.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/line.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/linecap.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/segment.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/size.d.ts +3 -0
- package/gz-ui-lib/components/progress/demo/steps.d.ts +3 -0
- package/gz-ui-lib/components/progress/index.d.ts +3 -0
- package/gz-ui-lib/components/radio/Button.d.ts +5 -0
- package/gz-ui-lib/components/radio/Group.d.ts +5 -0
- package/gz-ui-lib/components/radio/index.d.ts +13 -0
- package/gz-ui-lib/components/rate/index.d.ts +5 -0
- package/gz-ui-lib/components/result/Result.d.ts +6 -0
- package/gz-ui-lib/components/result/demo/403.d.ts +3 -0
- package/gz-ui-lib/components/result/demo/404.d.ts +3 -0
- package/gz-ui-lib/components/result/demo/500.d.ts +3 -0
- package/gz-ui-lib/components/result/demo/customIcon.d.ts +3 -0
- package/gz-ui-lib/components/result/demo/error.d.ts +3 -0
- package/gz-ui-lib/components/result/demo/info.d.ts +3 -0
- package/gz-ui-lib/components/result/demo/success.d.ts +3 -0
- package/gz-ui-lib/components/result/demo/warning.d.ts +3 -0
- package/gz-ui-lib/components/result/index.d.ts +6 -0
- package/gz-ui-lib/components/segmented/Segmented.d.ts +5 -0
- package/gz-ui-lib/components/segmented/index.d.ts +3 -0
- package/gz-ui-lib/components/select/OptGroup.d.ts +8 -0
- package/gz-ui-lib/components/select/Option.d.ts +5 -0
- package/gz-ui-lib/components/select/index.d.ts +14 -0
- package/gz-ui-lib/components/skeleton/Avatar.d.ts +6 -0
- package/gz-ui-lib/components/skeleton/Button.d.ts +6 -0
- package/gz-ui-lib/components/skeleton/Image.d.ts +6 -0
- package/gz-ui-lib/components/skeleton/Input.d.ts +6 -0
- package/gz-ui-lib/components/skeleton/Node.d.ts +6 -0
- package/gz-ui-lib/components/skeleton/Skeleton.d.ts +7 -0
- package/gz-ui-lib/components/skeleton/demo/active.d.ts +3 -0
- package/gz-ui-lib/components/skeleton/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/skeleton/demo/children.d.ts +3 -0
- package/gz-ui-lib/components/skeleton/demo/complex.d.ts +3 -0
- package/gz-ui-lib/components/skeleton/demo/element.d.ts +3 -0
- package/gz-ui-lib/components/skeleton/demo/list.d.ts +3 -0
- package/gz-ui-lib/components/skeleton/index.d.ts +16 -0
- package/gz-ui-lib/components/space/Addon.d.ts +8 -0
- package/gz-ui-lib/components/space/Compact.d.ts +14 -0
- package/gz-ui-lib/components/space/Space.d.ts +5 -0
- package/gz-ui-lib/components/space/index.d.ts +10 -0
- package/gz-ui-lib/components/spin/Spin.d.ts +7 -0
- package/gz-ui-lib/components/spin/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/spin/demo/custom-indicator.d.ts +3 -0
- package/gz-ui-lib/components/spin/demo/delayAndDebounce.d.ts +3 -0
- package/gz-ui-lib/components/spin/demo/fullscreen.d.ts +3 -0
- package/gz-ui-lib/components/spin/demo/nested.d.ts +3 -0
- package/gz-ui-lib/components/spin/demo/percent.d.ts +3 -0
- package/gz-ui-lib/components/spin/demo/size.d.ts +3 -0
- package/gz-ui-lib/components/spin/demo/tip.d.ts +3 -0
- package/gz-ui-lib/components/spin/index.d.ts +6 -0
- package/gz-ui-lib/components/steps/Steps.d.ts +5 -0
- package/gz-ui-lib/components/steps/index.d.ts +3 -0
- package/gz-ui-lib/components/switch/index.d.ts +5 -0
- package/gz-ui-lib/components/tabs/Tabs.d.ts +5 -0
- package/gz-ui-lib/components/tabs/index.d.ts +8 -0
- package/gz-ui-lib/components/tag/CheckableTag.d.ts +5 -0
- package/gz-ui-lib/components/tag/CheckableTagGroup.d.ts +4 -0
- package/gz-ui-lib/components/tag/Tag.d.ts +5 -0
- package/gz-ui-lib/components/tag/index.d.ts +12 -0
- package/gz-ui-lib/components/time-picker/RangePicker.d.ts +5 -0
- package/gz-ui-lib/components/time-picker/index.d.ts +11 -0
- package/gz-ui-lib/components/timeline/Item.d.ts +6 -0
- package/gz-ui-lib/components/timeline/Timeline.d.ts +6 -0
- package/gz-ui-lib/components/timeline/index.d.ts +9 -0
- package/gz-ui-lib/components/tooltip/Tooltip.d.ts +6 -0
- package/gz-ui-lib/components/tooltip/index.d.ts +3 -0
- package/gz-ui-lib/components/transfer/List.d.ts +5 -0
- package/gz-ui-lib/components/transfer/Operation.d.ts +5 -0
- package/gz-ui-lib/components/transfer/Search.d.ts +5 -0
- package/gz-ui-lib/components/transfer/index.d.ts +15 -0
- package/gz-ui-lib/components/tree/DirectoryTree.d.ts +7 -0
- package/gz-ui-lib/components/tree/Tree.d.ts +6 -0
- package/gz-ui-lib/components/tree/demo/basic-controlled.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/basic.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/block-node.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/customized-icon.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/directory.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/draggable.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/dynamic.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/line.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/search.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/switcher-icon.d.ts +3 -0
- package/gz-ui-lib/components/tree/demo/virtual-scroll.d.ts +3 -0
- package/gz-ui-lib/components/tree/index.d.ts +9 -0
- package/gz-ui-lib/components/tree-select/TreeNode.d.ts +5 -0
- package/gz-ui-lib/components/tree-select/index.d.ts +14 -0
- package/gz-ui-lib/components/upload/Dragger.d.ts +5 -0
- package/gz-ui-lib/components/upload/index.d.ts +12 -0
- package/gz-ui-lib/gz-ui.css +1 -0
- package/gz-ui-lib/index-BtVxhCkQ.cjs +5 -0
- package/gz-ui-lib/index-DI5cS--Y.js +52 -0
- package/gz-ui-lib/index.cjs +1 -0
- package/gz-ui-lib/index.d.ts +48 -0
- package/gz-ui-lib/index.js +3944 -0
- package/gz-ui-lib/logo.png +0 -0
- package/gz-ui-lib/styles/themes/darkColors.d.ts +132 -0
- package/gz-ui-lib/styles/themes/darkThemeTokens.d.ts +1325 -0
- package/gz-ui-lib/styles/themes/lightColors.d.ts +132 -0
- package/gz-ui-lib/styles/themes/lightThemeTokens.d.ts +1325 -0
- package/gz-ui-lib/styles/themes/themeConfig.d.ts +3 -0
- package/gz-ui-lib/vite.svg +1 -0
- package/package.json +69 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Image as AntdImage } from 'antd';
|
|
3
|
+
type AntdImagePreviewGroupProps = React.ComponentProps<typeof AntdImage.PreviewGroup>;
|
|
4
|
+
export interface GZImagePreviewGroupProps extends AntdImagePreviewGroupProps {
|
|
5
|
+
}
|
|
6
|
+
declare const PreviewGroup: React.FC<GZImagePreviewGroupProps>;
|
|
7
|
+
export default PreviewGroup;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as Image, GZImageProps } from './Image';
|
|
2
|
+
import { default as PreviewGroup, GZImagePreviewGroupProps } from './PreviewGroup';
|
|
3
|
+
import { Image as AntdImage } from 'antd';
|
|
4
|
+
export type { GZImageProps, GZImagePreviewGroupProps };
|
|
5
|
+
export type GZImageComponent = typeof Image & Omit<typeof AntdImage, keyof typeof Image> & {
|
|
6
|
+
PreviewGroup: typeof PreviewGroup;
|
|
7
|
+
};
|
|
8
|
+
declare const TransImage: GZImageComponent;
|
|
9
|
+
export default TransImage;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InputRef } from 'antd';
|
|
2
|
+
import { PasswordProps } from 'antd/es/input';
|
|
3
|
+
export interface GZPasswordProps extends PasswordProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Password: import('react').ForwardRefExoticComponent<GZPasswordProps & import('react').RefAttributes<InputRef>>;
|
|
6
|
+
export default Password;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SearchProps } from 'antd/es/input';
|
|
2
|
+
import { InputRef } from 'antd';
|
|
3
|
+
export interface GZSearchProps extends SearchProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Search: import('react').ForwardRefExoticComponent<GZSearchProps & import('react').RefAttributes<InputRef>>;
|
|
6
|
+
export default Search;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TextAreaProps } from 'antd/es/input';
|
|
2
|
+
import { TextAreaRef } from 'antd/es/input/TextArea';
|
|
3
|
+
export interface GZTextAreaProps extends TextAreaProps {
|
|
4
|
+
}
|
|
5
|
+
declare const TextArea: import('react').ForwardRefExoticComponent<GZTextAreaProps & import('react').RefAttributes<TextAreaRef>>;
|
|
6
|
+
export default TextArea;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as Input } from './Input';
|
|
2
|
+
import { default as Password } from './Password';
|
|
3
|
+
import { default as TextArea } from './TextArea';
|
|
4
|
+
import { default as Search } from './Search';
|
|
5
|
+
import { default as OTP } from './OTP';
|
|
6
|
+
export type { GZInputProps } from './Input';
|
|
7
|
+
export type { GZPasswordProps } from './Password';
|
|
8
|
+
export type { GZTextAreaProps } from './TextArea';
|
|
9
|
+
export type { GZSearchProps } from './Search';
|
|
10
|
+
export type { GZOTPProps } from './OTP';
|
|
11
|
+
export type GzInputComponent = typeof Input & {
|
|
12
|
+
Password: typeof Password;
|
|
13
|
+
TextArea: typeof TextArea;
|
|
14
|
+
Search: typeof Search;
|
|
15
|
+
OTP: typeof OTP;
|
|
16
|
+
};
|
|
17
|
+
declare const TransInput: GzInputComponent;
|
|
18
|
+
export default TransInput;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InputNumberProps } from 'antd';
|
|
2
|
+
export interface GZInputNumberProps<T extends number | string = any> extends InputNumberProps<T> {
|
|
3
|
+
}
|
|
4
|
+
declare const InputNumber: <T extends number | string = any>(props: React.PropsWithChildren<GZInputNumberProps<T>> & React.RefAttributes<HTMLInputElement>) => React.ReactElement;
|
|
5
|
+
export default InputNumber;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Menu as AntdMenu } from 'antd';
|
|
2
|
+
import { default as Menu } from './Menu';
|
|
3
|
+
export type { GZMenuProps } from './Menu';
|
|
4
|
+
export type GzMenuComponent = typeof Menu & {
|
|
5
|
+
Item: typeof AntdMenu.Item;
|
|
6
|
+
SubMenu: typeof AntdMenu.SubMenu;
|
|
7
|
+
Divider: typeof AntdMenu.Divider;
|
|
8
|
+
ItemGroup: typeof AntdMenu.ItemGroup;
|
|
9
|
+
};
|
|
10
|
+
declare const TransMenu: GzMenuComponent;
|
|
11
|
+
export default TransMenu;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as Modal, GZModalProps } from './Modal';
|
|
2
|
+
import { Modal as AntdModal, ModalFuncProps } from 'antd';
|
|
3
|
+
export type { GZModalProps, ModalFuncProps as GZModalFuncProps };
|
|
4
|
+
type AntdModalType = typeof AntdModal;
|
|
5
|
+
export type GZModalComponent = typeof Modal & Omit<AntdModalType, keyof typeof Modal>;
|
|
6
|
+
declare const TransModal: GZModalComponent;
|
|
7
|
+
export default TransModal;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PaginationProps } from 'antd';
|
|
2
|
+
export interface GZPaginationProps extends PaginationProps {
|
|
3
|
+
}
|
|
4
|
+
declare const Pagination: import('react').ForwardRefExoticComponent<GZPaginationProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default Pagination;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PopconfirmProps } from 'antd';
|
|
3
|
+
export interface GZPopconfirmProps extends PopconfirmProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Popconfirm: React.ForwardRefExoticComponent<GZPopconfirmProps & React.RefAttributes<import('antd/es/tooltip').TooltipRef>>;
|
|
6
|
+
export default Popconfirm;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PopoverProps } from 'antd';
|
|
2
|
+
import { TooltipRef } from 'antd/es/tooltip';
|
|
3
|
+
export interface GZPopoverProps extends PopoverProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Popover: import('react').ForwardRefExoticComponent<GZPopoverProps & import('react').RefAttributes<TooltipRef>>;
|
|
6
|
+
export default Popover;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ProgressProps } from 'antd';
|
|
3
|
+
export interface GZProgressProps extends ProgressProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Progress: React.ForwardRefExoticComponent<GZProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export default Progress;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RadioProps } from 'antd';
|
|
2
|
+
import { default as Group, GZRadioGroupProps } from './Group';
|
|
3
|
+
import { default as Button, GZRadioButtonProps } from './Button';
|
|
4
|
+
export interface GZRadioProps extends RadioProps {
|
|
5
|
+
}
|
|
6
|
+
export type { GZRadioGroupProps as RadioGroupProps, GZRadioButtonProps as RadioButtonProps };
|
|
7
|
+
declare const Radio: import('react').ForwardRefExoticComponent<GZRadioProps & import('react').RefAttributes<HTMLElement>>;
|
|
8
|
+
export type GZRadioComponent = typeof Radio & {
|
|
9
|
+
Group: typeof Group;
|
|
10
|
+
Button: typeof Button;
|
|
11
|
+
};
|
|
12
|
+
declare const TransRadio: GZRadioComponent;
|
|
13
|
+
export default TransRadio;
|