@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,6 @@
|
|
|
1
|
+
import { default as Result, GZResultProps } from './Result';
|
|
2
|
+
import { Result as AntdResult } from 'antd';
|
|
3
|
+
export type { GZResultProps };
|
|
4
|
+
export type GZResultComponent = typeof Result & Omit<typeof AntdResult, keyof typeof Result>;
|
|
5
|
+
declare const TransResult: GZResultComponent;
|
|
6
|
+
export default TransResult;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SegmentedProps } from 'antd';
|
|
2
|
+
export interface GZSegmentedProps<ValueType = any> extends SegmentedProps<ValueType> {
|
|
3
|
+
}
|
|
4
|
+
declare const Segmented: import('react').ForwardRefExoticComponent<Omit<GZSegmentedProps<any>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default Segmented;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface GZSelectOptGroupProps {
|
|
2
|
+
label: React.ReactNode;
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
}
|
|
7
|
+
declare const OptGroup: import('react').ForwardRefExoticComponent<GZSelectOptGroupProps & import('react').RefAttributes<HTMLElement>>;
|
|
8
|
+
export default OptGroup;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DefaultOptionType } from 'antd/es/select';
|
|
2
|
+
export interface GZSelectOptionProps extends DefaultOptionType {
|
|
3
|
+
}
|
|
4
|
+
declare const Option: import('react').ForwardRefExoticComponent<Omit<GZSelectOptionProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
5
|
+
export default Option;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SelectProps } from 'antd';
|
|
2
|
+
import { DefaultOptionType, BaseOptionType } from 'antd/es/select';
|
|
3
|
+
import { default as Option, GZSelectOptionProps } from './Option';
|
|
4
|
+
import { default as OptGroup, GZSelectOptGroupProps } from './OptGroup';
|
|
5
|
+
export interface GZSelectProps<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType> extends SelectProps<ValueType, OptionType> {
|
|
6
|
+
}
|
|
7
|
+
export type { GZSelectOptionProps as SelectOptionProps, GZSelectOptGroupProps as SelectOptGroupProps };
|
|
8
|
+
declare const Select: <ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>(props: React.PropsWithChildren<GZSelectProps<ValueType, OptionType>> & React.RefAttributes<HTMLElement>) => React.ReactElement;
|
|
9
|
+
export type GZSelectComponent = typeof Select & {
|
|
10
|
+
Option: typeof Option;
|
|
11
|
+
OptGroup: typeof OptGroup;
|
|
12
|
+
};
|
|
13
|
+
declare const TransSelect: GZSelectComponent;
|
|
14
|
+
export default TransSelect;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AvatarProps as AntdSkeletonAvatarProps } from 'antd/es/skeleton/Avatar';
|
|
3
|
+
export interface GZSkeletonAvatarProps extends AntdSkeletonAvatarProps {
|
|
4
|
+
}
|
|
5
|
+
declare const SkeletonAvatar: React.FC<GZSkeletonAvatarProps>;
|
|
6
|
+
export default SkeletonAvatar;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SkeletonButtonProps as AntdSkeletonButtonProps } from 'antd/es/skeleton/Button';
|
|
3
|
+
export interface GZSkeletonButtonProps extends AntdSkeletonButtonProps {
|
|
4
|
+
}
|
|
5
|
+
declare const SkeletonButton: React.FC<GZSkeletonButtonProps>;
|
|
6
|
+
export default SkeletonButton;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SkeletonImageProps as AntdSkeletonImageProps } from 'antd/es/skeleton/Image';
|
|
3
|
+
export interface GZSkeletonImageProps extends AntdSkeletonImageProps {
|
|
4
|
+
}
|
|
5
|
+
declare const SkeletonImage: React.FC<GZSkeletonImageProps>;
|
|
6
|
+
export default SkeletonImage;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SkeletonInputProps as AntdSkeletonInputProps } from 'antd/es/skeleton/Input';
|
|
3
|
+
export interface GZSkeletonInputProps extends AntdSkeletonInputProps {
|
|
4
|
+
}
|
|
5
|
+
declare const SkeletonInput: React.FC<GZSkeletonInputProps>;
|
|
6
|
+
export default SkeletonInput;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SkeletonNodeProps as AntdSkeletonNodeProps } from 'antd/es/skeleton/Node';
|
|
3
|
+
export interface GZSkeletonNodeProps extends AntdSkeletonNodeProps {
|
|
4
|
+
}
|
|
5
|
+
declare const SkeletonNode: React.FC<GZSkeletonNodeProps>;
|
|
6
|
+
export default SkeletonNode;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SkeletonProps as AntdSkeletonProps } from 'antd';
|
|
3
|
+
export interface GZSkeletonProps extends AntdSkeletonProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const Skeleton: React.FC<GZSkeletonProps>;
|
|
7
|
+
export default Skeleton;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as Skeleton, GZSkeletonProps } from './Skeleton';
|
|
2
|
+
import { default as Button, GZSkeletonButtonProps } from './Button';
|
|
3
|
+
import { default as Avatar, GZSkeletonAvatarProps } from './Avatar';
|
|
4
|
+
import { default as Input, GZSkeletonInputProps } from './Input';
|
|
5
|
+
import { default as Image, GZSkeletonImageProps } from './Image';
|
|
6
|
+
import { default as Node, GZSkeletonNodeProps } from './Node';
|
|
7
|
+
export type { GZSkeletonProps, GZSkeletonButtonProps, GZSkeletonAvatarProps, GZSkeletonInputProps, GZSkeletonImageProps, GZSkeletonNodeProps };
|
|
8
|
+
export type GZSkeletonComponent = typeof Skeleton & {
|
|
9
|
+
Button: typeof Button;
|
|
10
|
+
Avatar: typeof Avatar;
|
|
11
|
+
Input: typeof Input;
|
|
12
|
+
Image: typeof Image;
|
|
13
|
+
Node: typeof Node;
|
|
14
|
+
};
|
|
15
|
+
declare const TransSkeleton: GZSkeletonComponent;
|
|
16
|
+
export default TransSkeleton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { SpaceProps } from 'antd';
|
|
3
|
+
export interface GZSpaceAddonProps extends SpaceProps {
|
|
4
|
+
/** 自定义内容 */
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
declare const Addon: React.FC<GZSpaceAddonProps>;
|
|
8
|
+
export default Addon;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SpaceProps } from 'antd';
|
|
3
|
+
export interface GZSpaceCompactProps extends SpaceProps {
|
|
4
|
+
/** 将宽度调整为父元素宽度的选项 */
|
|
5
|
+
block?: boolean;
|
|
6
|
+
/** 指定排列方向 */
|
|
7
|
+
orientation?: 'vertical' | 'horizontal';
|
|
8
|
+
/** 子组件大小 */
|
|
9
|
+
size?: 'large' | 'middle' | 'small';
|
|
10
|
+
/** 是否垂直,和 orientation 同时配置以 orientation 优先 */
|
|
11
|
+
vertical?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const Compact: React.FC<GZSpaceCompactProps>;
|
|
14
|
+
export default Compact;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as Compact } from './Compact';
|
|
2
|
+
import { default as Space } from './Space';
|
|
3
|
+
import { default as Addon } from './Addon';
|
|
4
|
+
export type { GZSpaceProps } from './Space';
|
|
5
|
+
export type GzSpaceComponent = typeof Space & {
|
|
6
|
+
Compact: typeof Compact;
|
|
7
|
+
Addon: typeof Addon;
|
|
8
|
+
};
|
|
9
|
+
declare const TransSpace: GzSpaceComponent;
|
|
10
|
+
export default TransSpace;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as Spin, GZSpinProps } from './Spin';
|
|
2
|
+
import { Spin as AntdSpin } from 'antd';
|
|
3
|
+
export type { GZSpinProps };
|
|
4
|
+
export type GZSpinComponent = typeof Spin & Omit<typeof AntdSpin, keyof typeof Spin>;
|
|
5
|
+
declare const TransSpin: GZSpinComponent;
|
|
6
|
+
export default TransSpin;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SwitchProps as AntdSwitchProps } from 'antd';
|
|
2
|
+
export interface GZSwitchProps extends AntdSwitchProps {
|
|
3
|
+
}
|
|
4
|
+
declare const Switch: import('react').ForwardRefExoticComponent<GZSwitchProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
export default Switch;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as Tabs, GZTabsProps } from './Tabs';
|
|
2
|
+
import { Tabs as AntdTabs } from 'antd';
|
|
3
|
+
export type { GZTabsProps };
|
|
4
|
+
export type GZTabsComponent = typeof Tabs & {
|
|
5
|
+
TabPane: typeof AntdTabs.TabPane;
|
|
6
|
+
};
|
|
7
|
+
declare const TransTabs: GZTabsComponent;
|
|
8
|
+
export default TransTabs;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CheckableTagProps } from 'antd/es/tag';
|
|
2
|
+
export interface GZCheckableTagProps extends CheckableTagProps {
|
|
3
|
+
}
|
|
4
|
+
declare const CheckableTag: import('react').ForwardRefExoticComponent<GZCheckableTagProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
export default CheckableTag;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CheckableTagGroupProps, CheckableTagGroupRef } from 'antd/es/tag/CheckableTagGroup';
|
|
2
|
+
export type GZCheckableTagGroupProps<T extends string | number = any> = CheckableTagGroupProps<T>;
|
|
3
|
+
declare const CheckableTagGroup: import('react').ForwardRefExoticComponent<GZCheckableTagGroupProps<any> & import('react').RefAttributes<CheckableTagGroupRef>>;
|
|
4
|
+
export default CheckableTagGroup;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as Tag } from './Tag';
|
|
2
|
+
import { default as CheckableTag } from './CheckableTag';
|
|
3
|
+
import { default as CheckableTagGroup } from './CheckableTagGroup';
|
|
4
|
+
export type { GZTagProps } from './Tag';
|
|
5
|
+
export type { GZCheckableTagProps } from './CheckableTag';
|
|
6
|
+
export type { GZCheckableTagGroupProps } from './CheckableTagGroup';
|
|
7
|
+
export type GZTagComponent = typeof Tag & {
|
|
8
|
+
CheckableTag: typeof CheckableTag;
|
|
9
|
+
CheckableTagGroup: typeof CheckableTagGroup;
|
|
10
|
+
};
|
|
11
|
+
declare const TransTag: GZTagComponent;
|
|
12
|
+
export default TransTag;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TimeRangePickerProps } from 'antd';
|
|
2
|
+
export interface GZTimeRangePickerProps extends TimeRangePickerProps {
|
|
3
|
+
}
|
|
4
|
+
declare const RangePicker: import('react').ForwardRefExoticComponent<GZTimeRangePickerProps & import('react').RefAttributes<any>>;
|
|
5
|
+
export default RangePicker;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TimePickerProps } from 'antd';
|
|
2
|
+
import { default as RangePicker, GZTimeRangePickerProps } from './RangePicker';
|
|
3
|
+
export interface GZTimePickerProps extends TimePickerProps {
|
|
4
|
+
}
|
|
5
|
+
export type { GZTimeRangePickerProps as TimeRangePickerProps };
|
|
6
|
+
declare const TimePicker: import('react').ForwardRefExoticComponent<Omit<GZTimePickerProps, "ref"> & import('react').RefAttributes<any>>;
|
|
7
|
+
export type GZTimePickerComponent = typeof TimePicker & {
|
|
8
|
+
RangePicker: typeof RangePicker;
|
|
9
|
+
};
|
|
10
|
+
declare const TransTimePicker: GZTimePickerComponent;
|
|
11
|
+
export default TransTimePicker;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as Timeline } from './Timeline';
|
|
2
|
+
import { default as Item } from './Item';
|
|
3
|
+
export type { GZTimelineProps } from './Timeline';
|
|
4
|
+
export type { GZTimelineItemProps } from './Item';
|
|
5
|
+
export type GZTimelineComponent = typeof Timeline & {
|
|
6
|
+
Item: typeof Item;
|
|
7
|
+
};
|
|
8
|
+
declare const TransTimeline: GZTimelineComponent;
|
|
9
|
+
export default TransTimeline;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TooltipProps } from 'antd';
|
|
2
|
+
import { TooltipRef } from 'antd/es/tooltip';
|
|
3
|
+
export interface GZTooltipProps extends TooltipProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Tooltip: import('react').ForwardRefExoticComponent<GZTooltipProps & import('react').RefAttributes<TooltipRef>>;
|
|
6
|
+
export default Tooltip;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TransferListProps } from 'antd/es/transfer/Section';
|
|
2
|
+
export interface GZTransferListProps<RecordType> extends TransferListProps<RecordType> {
|
|
3
|
+
}
|
|
4
|
+
declare const List: import('react').ForwardRefExoticComponent<GZTransferListProps<any> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default List;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TransferOperationProps } from 'antd/es/transfer/Actions';
|
|
2
|
+
export interface GZTransferOperationProps extends TransferOperationProps {
|
|
3
|
+
}
|
|
4
|
+
declare const Operation: import('react').ForwardRefExoticComponent<GZTransferOperationProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default Operation;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TransferSearchProps } from 'antd/es/transfer/search';
|
|
2
|
+
export interface GZTransferSearchProps extends TransferSearchProps {
|
|
3
|
+
}
|
|
4
|
+
declare const Search: import('react').ForwardRefExoticComponent<GZTransferSearchProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default Search;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TransferProps } from 'antd';
|
|
2
|
+
import { default as List, GZTransferListProps } from './List';
|
|
3
|
+
import { default as Search, GZTransferSearchProps } from './Search';
|
|
4
|
+
import { default as Operation, GZTransferOperationProps } from './Operation';
|
|
5
|
+
export interface GZTransferProps<RecordType> extends TransferProps<RecordType> {
|
|
6
|
+
}
|
|
7
|
+
export type { GZTransferListProps as TransferListProps, GZTransferSearchProps as TransferSearchProps, GZTransferOperationProps as TransferOperationProps };
|
|
8
|
+
declare const Transfer: <RecordType extends any = any>(props: React.PropsWithChildren<GZTransferProps<RecordType>> & React.RefAttributes<HTMLDivElement>) => React.ReactElement;
|
|
9
|
+
export type GZTransferComponent = typeof Transfer & {
|
|
10
|
+
List: typeof List;
|
|
11
|
+
Search: typeof Search;
|
|
12
|
+
Operation: typeof Operation;
|
|
13
|
+
};
|
|
14
|
+
declare const TransTransfer: GZTransferComponent;
|
|
15
|
+
export default TransTransfer;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const AntdDirectoryTree: (<T extends import('@rc-component/tree').BasicDataNode | import('antd').TreeDataNode = import('antd').TreeDataNode>(props: React.PropsWithChildren<import('antd/es/tree').DirectoryTreeProps<T>> & React.RefAttributes<import('@rc-component/tree').default>) => React.ReactElement) & Pick<React.FC<{}>, "displayName">;
|
|
3
|
+
export type GZDirectoryTreeProps = React.ComponentProps<typeof AntdDirectoryTree>;
|
|
4
|
+
declare const DirectoryTree: React.ForwardRefExoticComponent<Omit<import('antd/es/tree').DirectoryTreeProps<import('@rc-component/tree').BasicDataNode | import('antd').TreeDataNode> & {
|
|
5
|
+
children?: React.ReactNode | undefined;
|
|
6
|
+
} & React.RefAttributes<import('@rc-component/tree').default<import('antd').TreeDataNode>>, "ref"> & React.RefAttributes<import('@rc-component/tree').default<import('antd').TreeDataNode>>>;
|
|
7
|
+
export default DirectoryTree;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TreeProps } from 'antd';
|
|
3
|
+
export interface GZTreeProps extends TreeProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Tree: React.ForwardRefExoticComponent<GZTreeProps & React.RefAttributes<import('@rc-component/tree').default<import('antd').TreeDataNode>>>;
|
|
6
|
+
export default Tree;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as Tree, GZTreeProps } from './Tree';
|
|
2
|
+
import { default as DirectoryTree, GZDirectoryTreeProps } from './DirectoryTree';
|
|
3
|
+
import { DataNode, EventDataNode, TreeProps } from 'antd/es/tree';
|
|
4
|
+
export type { GZTreeProps, GZDirectoryTreeProps, DataNode, EventDataNode, TreeProps };
|
|
5
|
+
export type GZTreeComponent = typeof Tree & {
|
|
6
|
+
DirectoryTree: typeof DirectoryTree;
|
|
7
|
+
};
|
|
8
|
+
declare const TransTree: GZTreeComponent;
|
|
9
|
+
export default TransTree;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TreeSelect as AntdTreeSelect } from 'antd';
|
|
2
|
+
export interface GZTreeNodeProps extends React.ComponentProps<typeof AntdTreeSelect.TreeNode> {
|
|
3
|
+
}
|
|
4
|
+
declare const TreeNode: import('react').ForwardRefExoticComponent<Omit<GZTreeNodeProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|
|
5
|
+
export default TreeNode;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TreeSelect as AntdTreeSelect, TreeSelectProps } from 'antd';
|
|
2
|
+
import { default as TreeNode, GZTreeNodeProps } from './TreeNode';
|
|
3
|
+
export interface GZTreeSelectProps<ValueType = any> extends TreeSelectProps<ValueType> {
|
|
4
|
+
}
|
|
5
|
+
export type { GZTreeNodeProps as TreeNodeProps };
|
|
6
|
+
declare const TreeSelect: <ValueType = any>(props: React.PropsWithChildren<GZTreeSelectProps<ValueType>> & React.RefAttributes<HTMLElement>) => React.ReactElement;
|
|
7
|
+
export type GZTreeSelectComponent = typeof TreeSelect & {
|
|
8
|
+
TreeNode: typeof TreeNode;
|
|
9
|
+
SHOW_ALL: typeof AntdTreeSelect.SHOW_ALL;
|
|
10
|
+
SHOW_PARENT: typeof AntdTreeSelect.SHOW_PARENT;
|
|
11
|
+
SHOW_CHILD: typeof AntdTreeSelect.SHOW_CHILD;
|
|
12
|
+
};
|
|
13
|
+
declare const TransTreeSelect: GZTreeSelectComponent;
|
|
14
|
+
export default TransTreeSelect;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UploadProps, UploadRef } from 'antd/es/upload';
|
|
2
|
+
import { default as Dragger, GZDraggerProps } from './Dragger';
|
|
3
|
+
export interface GZUploadProps<T = any> extends UploadProps<T> {
|
|
4
|
+
}
|
|
5
|
+
export type { GZDraggerProps as DraggerProps };
|
|
6
|
+
declare const Upload: <T = any>(props: React.PropsWithChildren<GZUploadProps<T>> & React.RefAttributes<UploadRef<T>>) => React.ReactElement;
|
|
7
|
+
export type GZUploadComponent = typeof Upload & {
|
|
8
|
+
Dragger: typeof Dragger;
|
|
9
|
+
LIST_IGNORE: string;
|
|
10
|
+
};
|
|
11
|
+
declare const TransUpload: GZUploadComponent;
|
|
12
|
+
export default TransUpload;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root .dumi-default-previewer-demo h1,:root .dumi-default-previewer-demo h2,:root .dumi-default-previewer-demo h3,:root .dumi-default-previewer-demo h4,:root .dumi-default-previewer-demo h5,:root .dumi-default-previewer-demo h6{font-weight:500;margin-top:0;margin-bottom:0}:root .dumi-default-previewer-demo p{margin-top:0;margin-bottom:0}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";const f=require("react/jsx-runtime"),m=require("react"),v=require("antd");var a={exports:{}},s={};var p;function N(){if(p)return s;p=1;var t=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return s.c=function(o){return t.H.useMemoCache(o)},s}var l={};var R;function E(){return R||(R=1,process.env.NODE_ENV!=="production"&&(function(){var t=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;l.c=function(o){var e=t.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
2
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
3
|
+
2. You might be breaking the Rules of Hooks
|
|
4
|
+
3. You might have more than one copy of React in the same app
|
|
5
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e.useMemoCache(o)}})()),l}var _;function C(){return _||(_=1,process.env.NODE_ENV==="production"?a.exports=N():a.exports=E()),a.exports}var d=C();const h=m.forwardRef((t,o)=>{const e=d.c(9);let r,n,i;e[0]!==t?({children:r,type:i,...n}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=i):(r=e[1],n=e[2],i=e[3]);const c=i===void 0?"default":i;let u;return e[4]!==r||e[5]!==o||e[6]!==n||e[7]!==c?(u=f.jsx(v.Button,{ref:o,type:c,...n,children:r}),e[4]=r,e[5]=o,e[6]=n,e[7]=c,e[8]=u):u=e[8],u});h.displayName="GZButton";exports.Button=h;exports.compilerRuntimeExports=d;
|