yuang-framework-ui-pc 1.1.42 → 1.1.43
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/es/utils/chart-theme-dark.d.ts +373 -0
- package/es/utils/chart-theme-dark.js +397 -0
- package/es/utils/chart-theme.d.ts +368 -0
- package/es/utils/chart-theme.js +392 -0
- package/es/utils/menu-util.d.ts +14 -0
- package/es/utils/menu-util.js +78 -0
- package/es/utils/message-box.d.ts +25 -0
- package/es/utils/message-box.js +98 -0
- package/es/utils/message.d.ts +66 -0
- package/es/utils/message.js +267 -0
- package/es/utils/resolvers.d.ts +18 -0
- package/es/utils/resolvers.js +50 -0
- package/es/utils/theme-util.d.ts +6 -0
- package/es/utils/theme-util.js +42 -0
- package/es/utils/validate.d.ts +182 -0
- package/es/utils/validate.js +197 -0
- package/lib/core.d.ts +3 -0
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +5646 -0
- package/lib/ele-admin-layout/components/layout-tool.d.ts +2 -0
- package/lib/ele-admin-layout/style/index.d.ts +1 -0
- package/lib/ele-admin-layout/types.d.ts +54 -0
- package/lib/ele-alert/index.d.ts +131 -0
- package/lib/ele-alert/props.d.ts +58 -0
- package/lib/ele-app/el.d.ts +304 -0
- package/lib/ele-app/style/common/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/backtop/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/checkbox/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/date-picker/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/message-box/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/popper/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/select/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/tag/index.d.ts +1 -0
- package/lib/ele-app/style/overwrite/tree/index.d.ts +1 -0
- package/lib/ele-app/style/scrollbar/index.d.ts +1 -0
- package/lib/ele-app/types.d.ts +48 -0
- package/lib/ele-avatar-group/props.d.ts +56 -0
- package/lib/ele-avatar-group/style/index.d.ts +1 -0
- package/lib/ele-avatar-group/types.d.ts +21 -0
- package/lib/ele-backtop/props.d.ts +36 -0
- package/lib/ele-bar-code/index.d.ts +26 -0
- package/lib/ele-bottom-bar/index.d.ts +15 -0
- package/lib/ele-bottom-bar/props.d.ts +15 -0
- package/lib/ele-breadcrumb/index.d.ts +278 -0
- package/lib/ele-breadcrumb/props.d.ts +24 -0
- package/lib/ele-breadcrumb/style/index.d.ts +1 -0
- package/lib/ele-card/index.d.ts +106 -0
- package/lib/ele-card/style/index.d.ts +1 -0
- package/lib/ele-check-card/components/card-item.d.ts +37 -0
- package/lib/ele-check-card/props.d.ts +49 -0
- package/lib/ele-check-card/style/index.d.ts +1 -0
- package/lib/ele-check-card/types.d.ts +37 -0
- package/lib/ele-config-provider/components/receiver-view.d.ts +71 -0
- package/lib/ele-config-provider/props.d.ts +26 -0
- package/lib/ele-config-provider/style/index.d.ts +0 -0
- package/lib/ele-config-provider/types.d.ts +103 -0
- package/lib/ele-copyable/style/index.d.ts +1 -0
- package/lib/ele-copyable/types.d.ts +14 -0
- package/lib/ele-count-up/style/index.d.ts +0 -0
- package/lib/ele-cropper/index.d.ts +2824 -0
- package/lib/ele-cropper/props.d.ts +68 -0
- package/lib/ele-cropper/style/index.d.ts +1 -0
- package/lib/ele-cropper-modal/props.d.ts +58 -0
- package/lib/ele-cropper-modal/style/index.d.ts +1 -0
- package/lib/ele-dashboard/index.d.ts +14 -0
- package/lib/ele-dashboard/style/index.d.ts +1 -0
- package/lib/ele-dashboard/types.d.ts +4 -0
- package/lib/ele-data-table/props.d.ts +272 -0
- package/lib/ele-data-table/style/index.d.ts +1 -0
- package/lib/ele-data-table/types.d.ts +253 -0
- package/lib/ele-data-table/util.d.ts +172 -0
- package/lib/ele-dialog/index.d.ts +1074 -0
- package/lib/ele-dialog/style/index.d.ts +1 -0
- package/lib/ele-dialog/util.d.ts +52 -0
- package/lib/ele-dot/index.d.ts +29 -0
- package/lib/ele-dot/props.d.ts +25 -0
- package/lib/ele-dot/style/index.d.ts +1 -0
- package/lib/ele-drawer/index.d.ts +1170 -0
- package/lib/ele-drawer/props.d.ts +184 -0
- package/lib/ele-drawer/style/index.d.ts +1 -0
- package/lib/ele-dropdown/components/dropdown-menu-item.d.ts +97 -0
- package/lib/ele-dropdown/index.d.ts +4846 -0
- package/lib/ele-dropdown/types.d.ts +22 -0
- package/lib/ele-edit-tag/props.d.ts +55 -0
- package/lib/ele-edit-tag/style/index.d.ts +1 -0
- package/lib/ele-edit-tag/types.d.ts +9 -0
- package/lib/ele-ellipsis/index.d.ts +1660 -0
- package/lib/ele-icon-select/types.d.ts +16 -0
- package/lib/ele-image-viewer/index.d.ts +635 -0
- package/lib/ele-loading/props.d.ts +33 -0
- package/lib/ele-loading/types.d.ts +19 -0
- package/lib/ele-map-picker/style/index.d.ts +1 -0
- package/lib/ele-menus/components/item-title.d.ts +323 -0
- package/lib/ele-menus/types.d.ts +107 -0
- package/lib/ele-pagination/style/index.d.ts +1 -0
- package/lib/ele-pagination/types.d.ts +9 -0
- package/lib/ele-printer/index.d.ts +111 -0
- package/lib/ele-printer/util.d.ts +25 -0
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +39 -0
- package/lib/ele-pro-layout/style/index.d.ts +1 -0
- package/lib/ele-pro-layout/util.d.ts +88 -0
- package/lib/ele-pro-table/components/tool-column.d.ts +3722 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +39 -0
- package/lib/ele-pro-table/style/index.d.ts +1 -0
- package/lib/ele-pro-table/types.d.ts +489 -0
- package/lib/ele-qr-code/components/canvas-render.d.ts +67 -0
- package/lib/ele-qr-code/qrcodegen.d.ts +95 -0
- package/lib/ele-qr-code/style/index.d.ts +0 -0
- package/lib/ele-qr-code/util.d.ts +27 -0
- package/lib/ele-segmented/index.d.ts +485 -0
- package/lib/ele-segmented/style/index.d.ts +1 -0
- package/lib/ele-split-panel/index.d.ts +192 -0
- package/lib/ele-split-panel/props.d.ts +47 -0
- package/lib/ele-steps/index.d.ts +638 -0
- package/lib/ele-steps/style/index.d.ts +1 -0
- package/lib/ele-steps/types.d.ts +14 -0
- package/lib/ele-tab-tool/index.d.ts +75 -0
- package/lib/ele-tab-tool/props.d.ts +14 -0
- package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +5006 -0
- package/lib/ele-tab-wrap/props.d.ts +13 -0
- package/lib/ele-tab-wrap/style/index.d.ts +0 -0
- package/lib/ele-table/index.d.ts +28 -0
- package/lib/ele-table/style/index.d.ts +1 -0
- package/lib/ele-table-select/props.d.ts +120 -0
- package/lib/ele-table-select/style/index.d.ts +1 -0
- package/lib/ele-tabs/props.d.ts +88 -0
- package/lib/ele-test/index.d.ts +2 -0
- package/lib/ele-test/style/index.d.ts +1 -0
- package/lib/ele-text/index.d.ts +93 -0
- package/lib/ele-text/style/index.d.ts +1 -0
- package/lib/ele-text/types.d.ts +35 -0
- package/lib/ele-toolbar/index.d.ts +1633 -0
- package/lib/ele-tooltip/props.d.ts +187 -0
- package/lib/ele-tooltip/style/index.d.ts +1 -0
- package/lib/ele-tour/types.d.ts +42 -0
- package/lib/ele-tour/util.d.ts +20 -0
- package/lib/ele-tree-select/style/index.d.ts +1 -0
- package/lib/ele-upload-list/components/list-item.d.ts +902 -0
- package/lib/ele-upload-list/props.d.ts +81 -0
- package/lib/ele-upload-list/types.d.ts +71 -0
- package/lib/ele-virtual-table/components/body-row.d.ts +984 -0
- package/lib/ele-virtual-table/components/expand-row.d.ts +19 -0
- package/lib/ele-virtual-table/components/footer-row.d.ts +65 -0
- package/lib/ele-virtual-table/components/header-cell.d.ts +3929 -0
- package/lib/ele-virtual-table/index.d.ts +7882 -0
- package/lib/ele-virtual-table/util.d.ts +229 -0
- package/lib/ele-watermark/index.d.ts +57 -0
- package/lib/ele-watermark/types.d.ts +39 -0
- package/lib/ele-xg-player/index.d.ts +22 -0
- package/lib/ele-xg-player/style/index.d.ts +1 -0
- package/lib/icons/AppstoreAddOutlined.d.ts +2 -0
- package/lib/icons/AppstoreOutlined.d.ts +2 -0
- package/lib/icons/ArrowLeft.d.ts +2 -0
- package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
- package/lib/icons/ArrowRight.d.ts +2 -0
- package/lib/icons/ArrowRightOutlined.d.ts +2 -0
- package/lib/icons/ArrowUp.d.ts +2 -0
- package/lib/icons/ArrowUpOutlined.d.ts +2 -0
- package/lib/icons/BellOutlined.d.ts +2 -0
- package/lib/icons/BookOutlined.d.ts +2 -0
- package/lib/icons/CaretDownFilled.d.ts +2 -0
- package/lib/icons/CaretUpFilled.d.ts +2 -0
- package/lib/icons/CheckOutlined.d.ts +2 -0
- package/lib/icons/ClockCircleOutlined.d.ts +2 -0
- package/lib/icons/CloudUploadOutlined.d.ts +2 -0
- package/lib/icons/ClusterOutlined.d.ts +2 -0
- package/lib/icons/CodeOutlined.d.ts +2 -0
- package/lib/icons/CompassOutlined.d.ts +2 -0
- package/lib/icons/ConnectionOutlined.d.ts +2 -0
- package/lib/icons/ControlOutlined.d.ts +2 -0
- package/lib/icons/CornerRightFilled.d.ts +2 -0
- package/lib/icons/DashboardOutlined.d.ts +2 -0
- package/lib/icons/DesktopOutlined.d.ts +2 -0
- package/lib/icons/DragOutlined.d.ts +2 -0
- package/lib/icons/EditOutlined.d.ts +2 -0
- package/lib/icons/EnvironmentOutlined.d.ts +2 -0
- package/lib/icons/FileOutlined.d.ts +2 -0
- package/lib/icons/FilterFilled.d.ts +2 -0
- package/lib/icons/GlobalOutlined.d.ts +2 -0
- package/lib/icons/HomeOutlined.d.ts +2 -0
- package/lib/icons/LoadingDotOutlined.d.ts +2 -0
- package/lib/icons/LoadingOutlined.d.ts +2 -0
- package/lib/icons/LockOutlined.d.ts +2 -0
- package/lib/icons/LogOutlined.d.ts +2 -0
- package/lib/icons/MailOutlined.d.ts +2 -0
- package/lib/icons/MenuFoldOutlined.d.ts +2 -0
- package/lib/icons/MenuOutlined.d.ts +2 -0
- package/lib/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/lib/icons/MessageOutlined.d.ts +2 -0
- package/lib/icons/MinusCircleOutlined.d.ts +2 -0
- package/lib/icons/MoonOutlined.d.ts +2 -0
- package/lib/icons/MoreOutlined.d.ts +2 -0
- package/lib/icons/PauseFilled.d.ts +2 -0
- package/lib/icons/PieChartOutlined.d.ts +2 -0
- package/lib/icons/PlusOutlined.d.ts +2 -0
- package/lib/icons/ProtectOutlined.d.ts +2 -0
- package/lib/icons/QuestionCircleOutlined.d.ts +2 -0
- package/lib/icons/ReloadOutlined.d.ts +2 -0
- package/lib/icons/SortOutlined.d.ts +2 -0
- package/lib/icons/StarFilled.d.ts +2 -0
- package/lib/icons/StepForwardFilled.d.ts +2 -0
- package/lib/icons/UndoOutlined.d.ts +2 -0
- package/lib/icons/UnlockOutlined.d.ts +2 -0
- package/lib/icons/VerticalLeftOutlined.d.ts +2 -0
- package/lib/icons/WarningOutlined.d.ts +2 -0
- package/lib/icons/ZoomOutOutlined.d.ts +2 -0
- package/lib/index.d.ts +4 -0
- package/lib/installer.d.ts +3 -0
- package/lib/lang/en_US.d.ts +4 -0
- package/lib/lang/zh_CN.d.ts +4 -0
- package/lib/utils/chart-theme-dark.d.ts +373 -0
- package/lib/utils/chart-theme.d.ts +368 -0
- package/lib/utils/core.cjs +318 -0
- package/lib/utils/core.d.ts +168 -0
- package/lib/utils/hook.cjs +264 -0
- package/lib/utils/hook.d.ts +113 -0
- package/lib/utils/menu-util.d.ts +14 -0
- package/lib/utils/message-box.d.ts +25 -0
- package/lib/utils/message.d.ts +66 -0
- package/lib/utils/resolvers.cjs +50 -0
- package/lib/utils/resolvers.d.ts +18 -0
- package/lib/utils/theme-util.d.ts +6 -0
- package/lib/utils/validate.cjs +197 -0
- package/lib/utils/validate.d.ts +182 -0
- package/lib/yu-framework-slider-captcha-dialog/SliderCaptcha.d.ts +67 -0
- package/lib/yu-framework-slider-captcha-dialog/index.d.ts +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 布局类型
|
|
3
|
+
*/
|
|
4
|
+
export type Layout = 'default' | 'top' | 'mix' | 'side';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 侧栏布局类型
|
|
8
|
+
*/
|
|
9
|
+
export type SidebarLayout = 'default' | 'mix' | 'box';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 顶栏风格
|
|
13
|
+
*/
|
|
14
|
+
export type HeaderStyle = 'light' | 'dark' | 'primary';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 侧栏风格
|
|
18
|
+
*/
|
|
19
|
+
export type SidebarStyle = 'light' | 'dark';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 页签风格
|
|
23
|
+
*/
|
|
24
|
+
export type TabStyle = 'simple' | 'indicator' | 'button' | 'tag';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* 页签栏显示位置
|
|
28
|
+
*/
|
|
29
|
+
export type TabBar = boolean | 'header';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 内容区最大化
|
|
33
|
+
*/
|
|
34
|
+
export type Maximized = boolean | 'expanded';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 共享数据
|
|
38
|
+
*/
|
|
39
|
+
export interface LayoutProvide {
|
|
40
|
+
/** 布局类型 */
|
|
41
|
+
layout?: Layout;
|
|
42
|
+
/** 内容区是否最大化 */
|
|
43
|
+
maximized?: Maximized;
|
|
44
|
+
/** 是否固定顶栏 */
|
|
45
|
+
fixedHeader?: boolean;
|
|
46
|
+
/** 是否固定内容区 */
|
|
47
|
+
fixedBody?: boolean;
|
|
48
|
+
/** 模态框容器节点 */
|
|
49
|
+
modalsEl?: HTMLElement | null;
|
|
50
|
+
/** 获取模态框容器节点 */
|
|
51
|
+
getModalsEl?: () => HTMLElement | null;
|
|
52
|
+
/** 获取内容容器节点 */
|
|
53
|
+
getBodyWrapperEl?: () => HTMLElement | null | undefined;
|
|
54
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
title: StringConstructor;
|
|
3
|
+
type: import('vue').PropType<import('../ele-app/el').ElAlertProps["type"]>;
|
|
4
|
+
description: {
|
|
5
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
closable: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
center: BooleanConstructor;
|
|
13
|
+
closeText: StringConstructor;
|
|
14
|
+
showIcon: BooleanConstructor;
|
|
15
|
+
effect: import('vue').PropType<import('../ele-app/el').ElAlertProps["effect"]>;
|
|
16
|
+
iconStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
17
|
+
iconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
18
|
+
closeIconStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
19
|
+
closeIconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
20
|
+
bodyStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
21
|
+
titleStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
22
|
+
descriptionStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
23
|
+
transitionName: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>, {
|
|
28
|
+
visible: import('vue').Ref<boolean, boolean>;
|
|
29
|
+
isRich: import('vue').ComputedRef<boolean>;
|
|
30
|
+
handleClose: (e: MouseEvent) => void;
|
|
31
|
+
open: () => void;
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
|
+
close: (_e: MouseEvent) => boolean;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
+
title: StringConstructor;
|
|
36
|
+
type: import('vue').PropType<import('../ele-app/el').ElAlertProps["type"]>;
|
|
37
|
+
description: {
|
|
38
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
closable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
center: BooleanConstructor;
|
|
46
|
+
closeText: StringConstructor;
|
|
47
|
+
showIcon: BooleanConstructor;
|
|
48
|
+
effect: import('vue').PropType<import('../ele-app/el').ElAlertProps["effect"]>;
|
|
49
|
+
iconStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
50
|
+
iconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
51
|
+
closeIconStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
52
|
+
closeIconProps: import('vue').PropType<import('../ele-app/el').ElIconProps>;
|
|
53
|
+
bodyStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
54
|
+
titleStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
55
|
+
descriptionStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
56
|
+
transitionName: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
onClose?: ((_e: MouseEvent) => any) | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
description: string | boolean;
|
|
64
|
+
closable: boolean;
|
|
65
|
+
showIcon: boolean;
|
|
66
|
+
center: boolean;
|
|
67
|
+
transitionName: string;
|
|
68
|
+
}, {}, {
|
|
69
|
+
ElIcon: {
|
|
70
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
readonly size: {
|
|
72
|
+
readonly type: import('vue').PropType<string | number>;
|
|
73
|
+
readonly required: false;
|
|
74
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
|
+
__epPropKey: true;
|
|
76
|
+
};
|
|
77
|
+
readonly color: {
|
|
78
|
+
readonly type: import('vue').PropType<string>;
|
|
79
|
+
readonly required: false;
|
|
80
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
|
+
__epPropKey: true;
|
|
82
|
+
};
|
|
83
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
84
|
+
P: {};
|
|
85
|
+
B: {};
|
|
86
|
+
D: {};
|
|
87
|
+
C: {};
|
|
88
|
+
M: {};
|
|
89
|
+
Defaults: {};
|
|
90
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
91
|
+
readonly size: {
|
|
92
|
+
readonly type: import('vue').PropType<string | number>;
|
|
93
|
+
readonly required: false;
|
|
94
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
95
|
+
__epPropKey: true;
|
|
96
|
+
};
|
|
97
|
+
readonly color: {
|
|
98
|
+
readonly type: import('vue').PropType<string>;
|
|
99
|
+
readonly required: false;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
+
__epPropKey: true;
|
|
102
|
+
};
|
|
103
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
104
|
+
__isFragment?: never;
|
|
105
|
+
__isTeleport?: never;
|
|
106
|
+
__isSuspense?: never;
|
|
107
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
108
|
+
readonly size: {
|
|
109
|
+
readonly type: import('vue').PropType<string | number>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
};
|
|
114
|
+
readonly color: {
|
|
115
|
+
readonly type: import('vue').PropType<string>;
|
|
116
|
+
readonly required: false;
|
|
117
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
|
+
__epPropKey: true;
|
|
119
|
+
};
|
|
120
|
+
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, Record<string, any>, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
121
|
+
$slots: {
|
|
122
|
+
default?(_: {}): any;
|
|
123
|
+
};
|
|
124
|
+
}) & import('vue').Plugin;
|
|
125
|
+
CloseOutlined: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
126
|
+
InfoCircleFilled: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
127
|
+
CheckCircleFilled: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
128
|
+
ExclamationCircleFilled: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
129
|
+
CloseCircleFilled: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
130
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
131
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { StyleValue } from '../ele-app/types';
|
|
3
|
+
import { ElAlertProps, ElIconProps } from '../ele-app/el';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 属性
|
|
7
|
+
*/
|
|
8
|
+
export declare const alertProps: {
|
|
9
|
+
/** 标题 */
|
|
10
|
+
title: StringConstructor;
|
|
11
|
+
/** 类型 */
|
|
12
|
+
type: PropType<ElAlertProps["type"]>;
|
|
13
|
+
/** 描述 */
|
|
14
|
+
description: {
|
|
15
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/** 是否可关闭 */
|
|
19
|
+
closable: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
/** 是否居中 */
|
|
24
|
+
center: BooleanConstructor;
|
|
25
|
+
/** 自定义关闭按钮文字 */
|
|
26
|
+
closeText: StringConstructor;
|
|
27
|
+
/** 是否显示图标 */
|
|
28
|
+
showIcon: BooleanConstructor;
|
|
29
|
+
/** 主题 */
|
|
30
|
+
effect: PropType<ElAlertProps["effect"]>;
|
|
31
|
+
/** 图标样式 */
|
|
32
|
+
iconStyle: PropType<StyleValue>;
|
|
33
|
+
/** 图标组件属性 */
|
|
34
|
+
iconProps: PropType<ElIconProps>;
|
|
35
|
+
/** 关闭图标样式 */
|
|
36
|
+
closeIconStyle: PropType<StyleValue>;
|
|
37
|
+
/** 关闭图标组件属性 */
|
|
38
|
+
closeIconProps: PropType<ElIconProps>;
|
|
39
|
+
/** 内容区样式 */
|
|
40
|
+
bodyStyle: PropType<StyleValue>;
|
|
41
|
+
/** 标题样式 */
|
|
42
|
+
titleStyle: PropType<StyleValue>;
|
|
43
|
+
/** 描述样式 */
|
|
44
|
+
descriptionStyle: PropType<StyleValue>;
|
|
45
|
+
/** 过渡动画名称 */
|
|
46
|
+
transitionName: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export type AlertProps = ExtractPropTypes<typeof alertProps>;
|
|
52
|
+
/**
|
|
53
|
+
* 事件
|
|
54
|
+
*/
|
|
55
|
+
export declare const alertEmits: {
|
|
56
|
+
/** 关闭的事件 */
|
|
57
|
+
close: (_e: MouseEvent) => boolean;
|
|
58
|
+
};
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type {
|
|
3
|
+
// ElAlert
|
|
4
|
+
AlertProps,
|
|
5
|
+
// ElAutocomplete
|
|
6
|
+
ElAutocomplete,
|
|
7
|
+
// ElAvatar
|
|
8
|
+
AvatarProps,
|
|
9
|
+
// ElBadge
|
|
10
|
+
BadgeProps,
|
|
11
|
+
// ElBreadcrumb
|
|
12
|
+
ElBreadcrumb,
|
|
13
|
+
BreadcrumbProps,
|
|
14
|
+
BreadcrumbItemProps,
|
|
15
|
+
// ElButton
|
|
16
|
+
ButtonProps,
|
|
17
|
+
// ElCard
|
|
18
|
+
CardProps,
|
|
19
|
+
// ElCascader
|
|
20
|
+
ElCascader,
|
|
21
|
+
CascaderProps,
|
|
22
|
+
// ElDialog
|
|
23
|
+
ElDialog,
|
|
24
|
+
DialogProps,
|
|
25
|
+
// ElDrawer
|
|
26
|
+
ElDrawer,
|
|
27
|
+
// ElDropdown
|
|
28
|
+
ElDropdown,
|
|
29
|
+
dropdownProps,
|
|
30
|
+
dropdownItemProps,
|
|
31
|
+
// ElEmpty
|
|
32
|
+
EmptyProps,
|
|
33
|
+
// ElForm
|
|
34
|
+
ElForm,
|
|
35
|
+
ElFormItem,
|
|
36
|
+
FormItemProps,
|
|
37
|
+
FormItemRule,
|
|
38
|
+
// ElIcon
|
|
39
|
+
IconProps,
|
|
40
|
+
// ElImage
|
|
41
|
+
ElImage,
|
|
42
|
+
ImageProps,
|
|
43
|
+
ElImageViewer,
|
|
44
|
+
// ElInput
|
|
45
|
+
ElInput,
|
|
46
|
+
InputProps,
|
|
47
|
+
// ElLink
|
|
48
|
+
LinkProps,
|
|
49
|
+
// ElMenu
|
|
50
|
+
ElMenu,
|
|
51
|
+
MenuProps,
|
|
52
|
+
ElSubMenu,
|
|
53
|
+
SubMenuProps,
|
|
54
|
+
MenuItemProps,
|
|
55
|
+
MenuItemGroupProps,
|
|
56
|
+
// ElMessage
|
|
57
|
+
MessageOptions,
|
|
58
|
+
// ElMessageBox
|
|
59
|
+
ElMessageBoxOptions as MessageBoxOptions,
|
|
60
|
+
// ElPopper
|
|
61
|
+
ElPopper,
|
|
62
|
+
ElPopover,
|
|
63
|
+
PopoverProps,
|
|
64
|
+
ElTooltip,
|
|
65
|
+
ElTooltipProps as TooltipProps,
|
|
66
|
+
PopconfirmProps,
|
|
67
|
+
// ElProgress
|
|
68
|
+
ProgressProps,
|
|
69
|
+
// ElRow
|
|
70
|
+
RowProps,
|
|
71
|
+
ColProps,
|
|
72
|
+
// ElScrollbar
|
|
73
|
+
ElScrollbar,
|
|
74
|
+
// ElStep
|
|
75
|
+
StepProps,
|
|
76
|
+
// ElTable
|
|
77
|
+
ElTable,
|
|
78
|
+
TableProps,
|
|
79
|
+
ElTableV2,
|
|
80
|
+
TableV2Props,
|
|
81
|
+
// ElTabs
|
|
82
|
+
ElTabs,
|
|
83
|
+
TabsProps,
|
|
84
|
+
TabPaneProps,
|
|
85
|
+
// ElTag
|
|
86
|
+
ElTag,
|
|
87
|
+
TagProps,
|
|
88
|
+
// ElTreeV2
|
|
89
|
+
ElTreeV2
|
|
90
|
+
} from 'element-plus';
|
|
91
|
+
import type columnProps from 'element-plus/es/components/table/src/table-column/defaults';
|
|
92
|
+
import type { TreeProps } from 'element-plus/es/components/tree-v2/src/types';
|
|
93
|
+
import type { ComponentProps } from './types';
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* ElAlert
|
|
97
|
+
*/
|
|
98
|
+
export type ElAlertProps = ComponentProps<AlertProps>;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* ElAutocomplete
|
|
102
|
+
*/
|
|
103
|
+
export type ElAutocompleteInstance = InstanceType<typeof ElAutocomplete> | null;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* ElAvatar
|
|
107
|
+
*/
|
|
108
|
+
export type ElAvatarProps = ComponentProps<AvatarProps>;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* ElBadge
|
|
112
|
+
*/
|
|
113
|
+
export type ElBadgeProps = ComponentProps<BadgeProps>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* ElBreadcrumb
|
|
117
|
+
*/
|
|
118
|
+
export type ElBreadcrumbInstance = InstanceType<typeof ElBreadcrumb> | null;
|
|
119
|
+
|
|
120
|
+
export type ElBreadcrumbProps = ComponentProps<BreadcrumbProps>;
|
|
121
|
+
|
|
122
|
+
export type ElBreadcrumbItemProps = ComponentProps<BreadcrumbItemProps>;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* ElButton
|
|
126
|
+
*/
|
|
127
|
+
export type ElButtonProps = ComponentProps<ButtonProps>;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* ElCard
|
|
131
|
+
*/
|
|
132
|
+
export type ElCardProps = ComponentProps<CardProps>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* ElCascader
|
|
136
|
+
*/
|
|
137
|
+
export type ElCascaderInstance = InstanceType<typeof ElCascader> | null;
|
|
138
|
+
|
|
139
|
+
export type ElCascaderProps = ComponentProps<CascaderProps>;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* ElDialog
|
|
143
|
+
*/
|
|
144
|
+
export type ElDialogInstance = InstanceType<typeof ElDialog> | null;
|
|
145
|
+
|
|
146
|
+
export type ElDialogProps = ComponentProps<DialogProps>;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* ElDrawer
|
|
150
|
+
*/
|
|
151
|
+
export type ElDrawerInstance = InstanceType<typeof ElDrawer> | null;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* ElDropdown
|
|
155
|
+
*/
|
|
156
|
+
export type ElDropdownInstance = InstanceType<typeof ElDropdown> | null;
|
|
157
|
+
|
|
158
|
+
export type ElDropdownProps = ComponentProps<
|
|
159
|
+
ExtractPropTypes<typeof dropdownProps>
|
|
160
|
+
>;
|
|
161
|
+
|
|
162
|
+
export type ElDropdownItemProps = ComponentProps<
|
|
163
|
+
ExtractPropTypes<typeof dropdownItemProps>
|
|
164
|
+
>;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* ElEmpty
|
|
168
|
+
*/
|
|
169
|
+
export type ElEmptyProps = ComponentProps<EmptyProps>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* ElForm
|
|
173
|
+
*/
|
|
174
|
+
export type ElFormInstance = InstanceType<typeof ElForm> | null;
|
|
175
|
+
|
|
176
|
+
export type ElFormItemInstance = InstanceType<typeof ElFormItem> | null;
|
|
177
|
+
|
|
178
|
+
export type ElFormItemProps = ComponentProps<FormItemProps>;
|
|
179
|
+
|
|
180
|
+
export type ElFormItemRule = Partial<FormItemRule>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* ElIcon
|
|
184
|
+
*/
|
|
185
|
+
export type ElIconProps = ComponentProps<IconProps>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* ElImage
|
|
189
|
+
*/
|
|
190
|
+
export type ElImageInstance = InstanceType<typeof ElImage> | null;
|
|
191
|
+
|
|
192
|
+
export type ElImageProps = ComponentProps<ImageProps>;
|
|
193
|
+
|
|
194
|
+
export type ElImageViewerInstance = InstanceType<typeof ElImageViewer> | null;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* ElInput
|
|
198
|
+
*/
|
|
199
|
+
export type ElInputInstance = InstanceType<typeof ElInput> | null;
|
|
200
|
+
|
|
201
|
+
export type ElInputProps = ComponentProps<InputProps>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* ElLink
|
|
205
|
+
*/
|
|
206
|
+
export type ElLinkProps = ComponentProps<LinkProps>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* ElMenu
|
|
210
|
+
*/
|
|
211
|
+
export type ElMenuInstance = InstanceType<typeof ElMenu> | null;
|
|
212
|
+
|
|
213
|
+
export type ElMenuProps = ComponentProps<MenuProps>;
|
|
214
|
+
|
|
215
|
+
export type ElSubMenuInstance = InstanceType<typeof ElSubMenu> | null;
|
|
216
|
+
|
|
217
|
+
export type ElSubMenuProps = ComponentProps<SubMenuProps>;
|
|
218
|
+
|
|
219
|
+
export type ElMenuItemProps = ComponentProps<MenuItemProps>;
|
|
220
|
+
|
|
221
|
+
export type ElMenuItemGroupProps = ComponentProps<MenuItemGroupProps>;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* ElMessage
|
|
225
|
+
*/
|
|
226
|
+
export type ElMessageOptions = Partial<MessageOptions>;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* ElMessageBox
|
|
230
|
+
*/
|
|
231
|
+
export type ElMessageBoxOptions = Partial<MessageBoxOptions>;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* ElPopper
|
|
235
|
+
*/
|
|
236
|
+
export type ElPopperInstance = InstanceType<typeof ElPopper> | null;
|
|
237
|
+
|
|
238
|
+
export type ElPopoverInstance = InstanceType<typeof ElPopover> | null;
|
|
239
|
+
|
|
240
|
+
export type ElPopoverProps = Partial<PopoverProps>;
|
|
241
|
+
|
|
242
|
+
export type ElTooltipInstance = InstanceType<typeof ElTooltip> | null;
|
|
243
|
+
|
|
244
|
+
export type ElTooltipProps = Partial<TooltipProps>;
|
|
245
|
+
|
|
246
|
+
export type ElPopconfirmProps = Partial<PopconfirmProps>;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* ElProgress
|
|
250
|
+
*/
|
|
251
|
+
export type ElProgressProps = ComponentProps<ProgressProps>;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* ElRow
|
|
255
|
+
*/
|
|
256
|
+
export type ElRowProps = ComponentProps<RowProps>;
|
|
257
|
+
|
|
258
|
+
export type ElColProps = ComponentProps<ColProps>;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* ElScrollbar
|
|
262
|
+
*/
|
|
263
|
+
export type ElScrollbarInstance = InstanceType<typeof ElScrollbar> | null;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* ElStep
|
|
267
|
+
*/
|
|
268
|
+
export type ElStepProps = ComponentProps<StepProps>;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* ElTable
|
|
272
|
+
*/
|
|
273
|
+
export type ElTableInstance = InstanceType<typeof ElTable> | null;
|
|
274
|
+
|
|
275
|
+
export type ElTableProps<T> = ComponentProps<TableProps<T>>;
|
|
276
|
+
|
|
277
|
+
export type ElColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
|
|
278
|
+
|
|
279
|
+
export type ElTableV2Instance = InstanceType<typeof ElTableV2> | null;
|
|
280
|
+
|
|
281
|
+
export type ElTableV2Props = ComponentProps<TableV2Props>;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* ElTabs
|
|
285
|
+
*/
|
|
286
|
+
export type ElTabsInstance = InstanceType<typeof ElTabs> | null;
|
|
287
|
+
|
|
288
|
+
export type ElTabsProps = ComponentProps<TabsProps>;
|
|
289
|
+
|
|
290
|
+
export type ElTabPaneProps = ComponentProps<TabPaneProps>;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* ElTag
|
|
294
|
+
*/
|
|
295
|
+
export type ElTagInstance = InstanceType<typeof ElTag> | null;
|
|
296
|
+
|
|
297
|
+
export type ElTagProps = ComponentProps<TagProps>;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* ElTreeV2
|
|
301
|
+
*/
|
|
302
|
+
export type ElTreeV2Instance = InstanceType<typeof ElTreeV2> | null;
|
|
303
|
+
|
|
304
|
+
export type ElTreeV2Props = ComponentProps<TreeProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { CSSProperties, Component, SetupContext } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 只读属性改为可读
|
|
5
|
+
*/
|
|
6
|
+
export type Mutable<T> = {
|
|
7
|
+
-readonly [P in keyof T]: T[P];
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* 样式值
|
|
12
|
+
*/
|
|
13
|
+
export type StyleValue = Partial<CSSProperties>;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 样式多个值
|
|
17
|
+
*/
|
|
18
|
+
export type StyleValues = StyleValue | Array<StyleValue>;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 类名值
|
|
22
|
+
*/
|
|
23
|
+
export type ClassValue = string | Record<string, boolean | undefined>;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 类名多个值
|
|
27
|
+
*/
|
|
28
|
+
export type ClassValues = ClassValue | Array<ClassValue>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 组件属性
|
|
32
|
+
*/
|
|
33
|
+
export type ComponentProps<T> = Mutable<Partial<T>> & {
|
|
34
|
+
/** 类名 */
|
|
35
|
+
class?: ClassValues;
|
|
36
|
+
/** 样式 */
|
|
37
|
+
style?: StyleValues;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 组件名或组件
|
|
42
|
+
*/
|
|
43
|
+
export type UserComponent = string | Component;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 组件事件触发器
|
|
47
|
+
*/
|
|
48
|
+
export type Emitter<T> = SetupContext<T>['emit'];
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { StyleValue } from '../ele-app/types';
|
|
3
|
+
import { ElAvatarProps } from '../ele-app/el';
|
|
4
|
+
import { EleTooltipProps } from '../ele-app/plus';
|
|
5
|
+
import { AvatarItem, AvatarErrorOption } from './types';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 属性
|
|
9
|
+
*/
|
|
10
|
+
export declare const avatarGroupProps: {
|
|
11
|
+
/** 数据 */
|
|
12
|
+
data: {
|
|
13
|
+
type: PropType<AvatarItem[]>;
|
|
14
|
+
required: boolean;
|
|
15
|
+
};
|
|
16
|
+
/** 最大显示个数 */
|
|
17
|
+
maxCount: NumberConstructor;
|
|
18
|
+
/** 形状 */
|
|
19
|
+
shape: PropType<ElAvatarProps["shape"]>;
|
|
20
|
+
/** 大小 */
|
|
21
|
+
size: PropType<ElAvatarProps["size"]>;
|
|
22
|
+
/** 自定义样式 */
|
|
23
|
+
itemStyle: PropType<StyleValue>;
|
|
24
|
+
/** 自定义头像样式 */
|
|
25
|
+
avatarStyle: PropType<StyleValue>;
|
|
26
|
+
/** 自定义溢出样式 */
|
|
27
|
+
moreStyle: PropType<StyleValue>;
|
|
28
|
+
/** 是否显示提示 */
|
|
29
|
+
tooltip: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
/** 提示属性 */
|
|
34
|
+
tooltipProps: PropType<EleTooltipProps>;
|
|
35
|
+
/** 是否显示溢出气泡 */
|
|
36
|
+
overflowPopover: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
/** 溢出气泡属性 */
|
|
41
|
+
overflowPopoverProps: PropType<EleTooltipProps>;
|
|
42
|
+
/** 是否鼠标移入展开 */
|
|
43
|
+
hoverOpen: BooleanConstructor;
|
|
44
|
+
};
|
|
45
|
+
export type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
|
|
46
|
+
/**
|
|
47
|
+
* 事件
|
|
48
|
+
*/
|
|
49
|
+
export declare const avatarGroupEmits: {
|
|
50
|
+
/** item 点击事件 */
|
|
51
|
+
itemClick: (_item: AvatarItem) => boolean;
|
|
52
|
+
/** 更多点击事件 */
|
|
53
|
+
moreClick: () => boolean;
|
|
54
|
+
/** 图片加载失败事件 */
|
|
55
|
+
error: (_option: AvatarErrorOption) => boolean;
|
|
56
|
+
};
|