yc-pro-components 0.0.10 → 0.0.11
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/components/check-card/index.d.ts +49 -49
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +17 -17
- package/es/components/date-picker/src/index.vue.d.ts +9 -9
- package/es/components/dialog/index.d.ts +41 -41
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +109 -109
- package/es/components/dialog-form/src/index.vue.d.ts +35 -35
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +105 -105
- package/es/components/drawer-form/src/index.vue.d.ts +34 -34
- package/es/components/form/index.d.ts +123 -123
- package/es/components/form/src/form-content.vue.d.ts +24 -24
- package/es/components/form/src/index.vue.d.ts +43 -43
- package/es/components/form-item/index.d.ts +78 -78
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +48 -48
- package/es/components/input-tag/src/index.vue.d.ts +36 -36
- package/es/components/layout/index.d.ts +60 -60
- package/es/components/layout/src/index.vue.d.ts +20 -20
- package/es/components/page/index.d.ts +846 -846
- package/es/components/page/src/index.vue.d.ts +286 -286
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +47 -47
- package/es/components/radio/src/index.vue.d.ts +39 -39
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +324 -324
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/sidebar/index.d.ts +30 -30
- package/es/components/sidebar/src/index.vue.d.ts +10 -10
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +76 -76
- package/es/components/table/src/index.vue.d.ts +24 -24
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +6 -6
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +86 -86
- package/es/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/es/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +6 -6
- package/es/components/yc-segmented/src/index.d.ts +6 -6
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- package/lib/components/check-card/index.d.ts +49 -49
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +17 -17
- package/lib/components/date-picker/src/index.vue.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +41 -41
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +109 -109
- package/lib/components/dialog-form/src/index.vue.d.ts +35 -35
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +105 -105
- package/lib/components/drawer-form/src/index.vue.d.ts +34 -34
- package/lib/components/form/index.d.ts +123 -123
- package/lib/components/form/src/form-content.vue.d.ts +24 -24
- package/lib/components/form/src/index.vue.d.ts +43 -43
- package/lib/components/form-item/index.d.ts +78 -78
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +48 -48
- package/lib/components/input-tag/src/index.vue.d.ts +36 -36
- package/lib/components/layout/index.d.ts +60 -60
- package/lib/components/layout/src/index.vue.d.ts +20 -20
- package/lib/components/page/index.d.ts +846 -846
- package/lib/components/page/src/index.vue.d.ts +286 -286
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +47 -47
- package/lib/components/radio/src/index.vue.d.ts +39 -39
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +324 -324
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/sidebar/index.d.ts +30 -30
- package/lib/components/sidebar/src/index.vue.d.ts +10 -10
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +76 -76
- package/lib/components/table/src/index.vue.d.ts +24 -24
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +6 -6
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +86 -86
- package/lib/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/lib/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +6 -6
- package/lib/components/yc-segmented/src/index.d.ts +6 -6
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +487 -487
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/src/mixins/mixins.scss +4 -0
|
@@ -9,13 +9,13 @@ export declare const YcDialog: {
|
|
|
9
9
|
size: {
|
|
10
10
|
type: PropType<DialogSize>;
|
|
11
11
|
};
|
|
12
|
+
width: {
|
|
13
|
+
type: PropType<string | number>;
|
|
14
|
+
};
|
|
12
15
|
maxHeight: {
|
|
13
16
|
type: PropType<string | number | false>;
|
|
14
17
|
default: string;
|
|
15
18
|
};
|
|
16
|
-
width: {
|
|
17
|
-
type: PropType<string | number>;
|
|
18
|
-
};
|
|
19
19
|
showHeaderBorder: {
|
|
20
20
|
type: PropType<boolean>;
|
|
21
21
|
default: boolean;
|
|
@@ -24,13 +24,13 @@ export declare const YcDialog: {
|
|
|
24
24
|
size: {
|
|
25
25
|
type: PropType<DialogSize>;
|
|
26
26
|
};
|
|
27
|
+
width: {
|
|
28
|
+
type: PropType<string | number>;
|
|
29
|
+
};
|
|
27
30
|
maxHeight: {
|
|
28
31
|
type: PropType<string | number | false>;
|
|
29
32
|
default: string;
|
|
30
33
|
};
|
|
31
|
-
width: {
|
|
32
|
-
type: PropType<string | number>;
|
|
33
|
-
};
|
|
34
34
|
showHeaderBorder: {
|
|
35
35
|
type: PropType<boolean>;
|
|
36
36
|
default: boolean;
|
|
@@ -49,13 +49,13 @@ export declare const YcDialog: {
|
|
|
49
49
|
size: {
|
|
50
50
|
type: PropType<DialogSize>;
|
|
51
51
|
};
|
|
52
|
+
width: {
|
|
53
|
+
type: PropType<string | number>;
|
|
54
|
+
};
|
|
52
55
|
maxHeight: {
|
|
53
56
|
type: PropType<string | number | false>;
|
|
54
57
|
default: string;
|
|
55
58
|
};
|
|
56
|
-
width: {
|
|
57
|
-
type: PropType<string | number>;
|
|
58
|
-
};
|
|
59
59
|
showHeaderBorder: {
|
|
60
60
|
type: PropType<boolean>;
|
|
61
61
|
default: boolean;
|
|
@@ -71,13 +71,13 @@ export declare const YcDialog: {
|
|
|
71
71
|
size: {
|
|
72
72
|
type: PropType<DialogSize>;
|
|
73
73
|
};
|
|
74
|
+
width: {
|
|
75
|
+
type: PropType<string | number>;
|
|
76
|
+
};
|
|
74
77
|
maxHeight: {
|
|
75
78
|
type: PropType<string | number | false>;
|
|
76
79
|
default: string;
|
|
77
80
|
};
|
|
78
|
-
width: {
|
|
79
|
-
type: PropType<string | number>;
|
|
80
|
-
};
|
|
81
81
|
showHeaderBorder: {
|
|
82
82
|
type: PropType<boolean>;
|
|
83
83
|
default: boolean;
|
|
@@ -97,13 +97,13 @@ export declare const ReDialog: {
|
|
|
97
97
|
size: {
|
|
98
98
|
type: PropType<DialogSize>;
|
|
99
99
|
};
|
|
100
|
+
width: {
|
|
101
|
+
type: PropType<string | number>;
|
|
102
|
+
};
|
|
100
103
|
maxHeight: {
|
|
101
104
|
type: PropType<string | number | false>;
|
|
102
105
|
default: string;
|
|
103
106
|
};
|
|
104
|
-
width: {
|
|
105
|
-
type: PropType<string | number>;
|
|
106
|
-
};
|
|
107
107
|
showHeaderBorder: {
|
|
108
108
|
type: PropType<boolean>;
|
|
109
109
|
default: boolean;
|
|
@@ -112,13 +112,13 @@ export declare const ReDialog: {
|
|
|
112
112
|
size: {
|
|
113
113
|
type: PropType<DialogSize>;
|
|
114
114
|
};
|
|
115
|
+
width: {
|
|
116
|
+
type: PropType<string | number>;
|
|
117
|
+
};
|
|
115
118
|
maxHeight: {
|
|
116
119
|
type: PropType<string | number | false>;
|
|
117
120
|
default: string;
|
|
118
121
|
};
|
|
119
|
-
width: {
|
|
120
|
-
type: PropType<string | number>;
|
|
121
|
-
};
|
|
122
122
|
showHeaderBorder: {
|
|
123
123
|
type: PropType<boolean>;
|
|
124
124
|
default: boolean;
|
|
@@ -137,13 +137,13 @@ export declare const ReDialog: {
|
|
|
137
137
|
size: {
|
|
138
138
|
type: PropType<DialogSize>;
|
|
139
139
|
};
|
|
140
|
+
width: {
|
|
141
|
+
type: PropType<string | number>;
|
|
142
|
+
};
|
|
140
143
|
maxHeight: {
|
|
141
144
|
type: PropType<string | number | false>;
|
|
142
145
|
default: string;
|
|
143
146
|
};
|
|
144
|
-
width: {
|
|
145
|
-
type: PropType<string | number>;
|
|
146
|
-
};
|
|
147
147
|
showHeaderBorder: {
|
|
148
148
|
type: PropType<boolean>;
|
|
149
149
|
default: boolean;
|
|
@@ -159,13 +159,13 @@ export declare const ReDialog: {
|
|
|
159
159
|
size: {
|
|
160
160
|
type: PropType<DialogSize>;
|
|
161
161
|
};
|
|
162
|
+
width: {
|
|
163
|
+
type: PropType<string | number>;
|
|
164
|
+
};
|
|
162
165
|
maxHeight: {
|
|
163
166
|
type: PropType<string | number | false>;
|
|
164
167
|
default: string;
|
|
165
168
|
};
|
|
166
|
-
width: {
|
|
167
|
-
type: PropType<string | number>;
|
|
168
|
-
};
|
|
169
169
|
showHeaderBorder: {
|
|
170
170
|
type: PropType<boolean>;
|
|
171
171
|
default: boolean;
|
|
@@ -6,14 +6,14 @@ import { default as YcDownloadDialog } from './src/index.vue';
|
|
|
6
6
|
/** 批量导入下载对话框组件 */
|
|
7
7
|
export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
8
8
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
title: {
|
|
10
|
-
type: PropType<string>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
9
|
modelValue: {
|
|
14
10
|
type: PropType<boolean>;
|
|
15
11
|
default: boolean;
|
|
16
12
|
};
|
|
13
|
+
title: {
|
|
14
|
+
type: PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
17
|
templateUrl: {
|
|
18
18
|
type: PropType<string>;
|
|
19
19
|
};
|
|
@@ -50,14 +50,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
50
50
|
"upload-error": (error: any, file: any) => void;
|
|
51
51
|
"download-template": () => void;
|
|
52
52
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
53
|
-
title: {
|
|
54
|
-
type: PropType<string>;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
53
|
modelValue: {
|
|
58
54
|
type: PropType<boolean>;
|
|
59
55
|
default: boolean;
|
|
60
56
|
};
|
|
57
|
+
title: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
61
|
templateUrl: {
|
|
62
62
|
type: PropType<string>;
|
|
63
63
|
};
|
|
@@ -87,8 +87,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
87
87
|
"onUpload-error"?: ((error: any, file: any) => any) | undefined;
|
|
88
88
|
"onDownload-template"?: (() => any) | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
title: string;
|
|
91
90
|
modelValue: boolean;
|
|
91
|
+
title: string;
|
|
92
92
|
templateText: string;
|
|
93
93
|
uploadAction: string;
|
|
94
94
|
}, true, {}, {}, {
|
|
@@ -99,14 +99,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
99
99
|
M: {};
|
|
100
100
|
Defaults: {};
|
|
101
101
|
}, Readonly< ExtractPropTypes<{
|
|
102
|
-
title: {
|
|
103
|
-
type: PropType<string>;
|
|
104
|
-
default: string;
|
|
105
|
-
};
|
|
106
102
|
modelValue: {
|
|
107
103
|
type: PropType<boolean>;
|
|
108
104
|
default: boolean;
|
|
109
105
|
};
|
|
106
|
+
title: {
|
|
107
|
+
type: PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
110
|
templateUrl: {
|
|
111
111
|
type: PropType<string>;
|
|
112
112
|
};
|
|
@@ -138,8 +138,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
138
138
|
}, {
|
|
139
139
|
fetchUploadRecords: () => Promise<void>;
|
|
140
140
|
}, {}, {}, {}, {
|
|
141
|
-
title: string;
|
|
142
141
|
modelValue: boolean;
|
|
142
|
+
title: string;
|
|
143
143
|
templateText: string;
|
|
144
144
|
uploadAction: string;
|
|
145
145
|
}>;
|
|
@@ -147,14 +147,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
147
147
|
__isTeleport?: undefined;
|
|
148
148
|
__isSuspense?: undefined;
|
|
149
149
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
150
|
-
title: {
|
|
151
|
-
type: PropType<string>;
|
|
152
|
-
default: string;
|
|
153
|
-
};
|
|
154
150
|
modelValue: {
|
|
155
151
|
type: PropType<boolean>;
|
|
156
152
|
default: boolean;
|
|
157
153
|
};
|
|
154
|
+
title: {
|
|
155
|
+
type: PropType<string>;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
158
|
templateUrl: {
|
|
159
159
|
type: PropType<string>;
|
|
160
160
|
};
|
|
@@ -191,8 +191,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
|
|
|
191
191
|
"upload-error": (error: any, file: any) => void;
|
|
192
192
|
"download-template": () => void;
|
|
193
193
|
}, string, {
|
|
194
|
-
title: string;
|
|
195
194
|
modelValue: boolean;
|
|
195
|
+
title: string;
|
|
196
196
|
templateText: string;
|
|
197
197
|
uploadAction: string;
|
|
198
198
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
24
24
|
"onUpload-error"?: ((error: any, file: any) => any) | undefined;
|
|
25
25
|
"onDownload-template"?: (() => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
title: string;
|
|
28
27
|
modelValue: boolean;
|
|
28
|
+
title: string;
|
|
29
29
|
templateText: string;
|
|
30
30
|
uploadAction: string;
|
|
31
31
|
}, {}>, {
|
|
@@ -11,8 +11,8 @@ export declare const drawerStore: Ref<{
|
|
|
11
11
|
title?: string | undefined;
|
|
12
12
|
confirmButtonText?: string | undefined;
|
|
13
13
|
cancelButtonText?: string | undefined;
|
|
14
|
-
confirmButtonType?: ("
|
|
15
|
-
cancelButtonType?: ("
|
|
14
|
+
confirmButtonType?: ("text" | "success" | "warning" | "info" | "primary" | "danger") | undefined;
|
|
15
|
+
cancelButtonType?: ("text" | "success" | "warning" | "info" | "primary" | "danger") | undefined;
|
|
16
16
|
icon?: string | FunctionalComponent<any, {}, any, {}> | {
|
|
17
17
|
new (...args: any[]): any;
|
|
18
18
|
__isFragment?: undefined;
|
|
@@ -147,25 +147,25 @@ export declare const drawerStore: Ref<{
|
|
|
147
147
|
close: () => void;
|
|
148
148
|
titleId: string;
|
|
149
149
|
titleClass: string;
|
|
150
|
-
}) =>
|
|
150
|
+
}) => VNode<RendererNode, RendererElement, {
|
|
151
151
|
[key: string]: any;
|
|
152
|
-
}>) | undefined;
|
|
152
|
+
}> | Component) | undefined;
|
|
153
153
|
contentRenderer?: ((params: {
|
|
154
154
|
options: DrawerOptions;
|
|
155
155
|
index: number;
|
|
156
|
-
}) =>
|
|
156
|
+
}) => VNode<RendererNode, RendererElement, {
|
|
157
157
|
[key: string]: any;
|
|
158
|
-
}>) | undefined;
|
|
158
|
+
}> | Component) | undefined;
|
|
159
159
|
footerRenderer?: ((params: {
|
|
160
160
|
options: DrawerOptions;
|
|
161
161
|
index: number;
|
|
162
|
-
}) =>
|
|
162
|
+
}) => VNode<RendererNode, RendererElement, {
|
|
163
163
|
[key: string]: any;
|
|
164
|
-
}>) | undefined;
|
|
164
|
+
}> | Component) | undefined;
|
|
165
165
|
footerButtons?: {
|
|
166
166
|
label: string;
|
|
167
|
-
size?: "
|
|
168
|
-
type?: "
|
|
167
|
+
size?: "default" | "small" | "large" | undefined;
|
|
168
|
+
type?: "success" | "warning" | "info" | "primary" | "danger" | undefined;
|
|
169
169
|
plain?: boolean | undefined;
|
|
170
170
|
text?: boolean | undefined;
|
|
171
171
|
bg?: boolean | undefined;
|
|
@@ -176,8 +176,8 @@ export declare const drawerStore: Ref<{
|
|
|
176
176
|
title?: string | undefined;
|
|
177
177
|
confirmButtonText?: string | undefined;
|
|
178
178
|
cancelButtonText?: string | undefined;
|
|
179
|
-
confirmButtonType?: ("
|
|
180
|
-
cancelButtonType?: ("
|
|
179
|
+
confirmButtonType?: ("text" | "success" | "warning" | "info" | "primary" | "danger") | undefined;
|
|
180
|
+
cancelButtonType?: ("text" | "success" | "warning" | "info" | "primary" | "danger") | undefined;
|
|
181
181
|
icon?: string | FunctionalComponent<any, {}, any, {}> | {
|
|
182
182
|
new (...args: any[]): any;
|
|
183
183
|
__isFragment?: undefined;
|
|
@@ -554,7 +554,7 @@ export declare const drawerStore: Ref<{
|
|
|
554
554
|
beforeRouteLeave?: NavigationGuard | undefined;
|
|
555
555
|
} | undefined;
|
|
556
556
|
autofocus?: boolean | undefined;
|
|
557
|
-
nativeType?: "
|
|
557
|
+
nativeType?: "button" | "reset" | "submit" | undefined;
|
|
558
558
|
autoInsertSpace?: boolean | undefined;
|
|
559
559
|
color?: string | undefined;
|
|
560
560
|
dark?: boolean | undefined;
|
|
@@ -5,12 +5,12 @@ import { default as YcFormContainerHeaderComponent } from './src/index.vue';
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export type YcFormContainerHeaderInstance = InstanceType<typeof YcFormContainerHeaderComponent>;
|
|
7
7
|
export declare const YcFormContainerHeader: DefineComponent<{
|
|
8
|
-
|
|
8
|
+
class: {
|
|
9
9
|
type: PropType<string>;
|
|
10
|
-
required: true;
|
|
11
10
|
};
|
|
12
|
-
|
|
11
|
+
title: {
|
|
13
12
|
type: PropType<string>;
|
|
13
|
+
required: true;
|
|
14
14
|
};
|
|
15
15
|
titleColor: {
|
|
16
16
|
type: PropType<string>;
|
|
@@ -21,12 +21,12 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
23
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
24
|
-
|
|
24
|
+
class: {
|
|
25
25
|
type: PropType<string>;
|
|
26
|
-
required: true;
|
|
27
26
|
};
|
|
28
|
-
|
|
27
|
+
title: {
|
|
29
28
|
type: PropType<string>;
|
|
29
|
+
required: true;
|
|
30
30
|
};
|
|
31
31
|
titleColor: {
|
|
32
32
|
type: PropType<string>;
|
|
@@ -41,12 +41,12 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
41
41
|
gradientColors: GradientColors;
|
|
42
42
|
}, {}>;
|
|
43
43
|
export declare const ReFormContainerHeader: DefineComponent<{
|
|
44
|
-
|
|
44
|
+
class: {
|
|
45
45
|
type: PropType<string>;
|
|
46
|
-
required: true;
|
|
47
46
|
};
|
|
48
|
-
|
|
47
|
+
title: {
|
|
49
48
|
type: PropType<string>;
|
|
49
|
+
required: true;
|
|
50
50
|
};
|
|
51
51
|
titleColor: {
|
|
52
52
|
type: PropType<string>;
|
|
@@ -57,12 +57,12 @@ export declare const ReFormContainerHeader: DefineComponent<{
|
|
|
57
57
|
default: undefined;
|
|
58
58
|
};
|
|
59
59
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
60
|
-
|
|
60
|
+
class: {
|
|
61
61
|
type: PropType<string>;
|
|
62
|
-
required: true;
|
|
63
62
|
};
|
|
64
|
-
|
|
63
|
+
title: {
|
|
65
64
|
type: PropType<string>;
|
|
65
|
+
required: true;
|
|
66
66
|
};
|
|
67
67
|
titleColor: {
|
|
68
68
|
type: PropType<string>;
|
|
@@ -5,23 +5,34 @@ import { default as YcMoreActionsComponent } from './src/index.vue';
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export type YcMoreActionsInstance = InstanceType<typeof YcMoreActionsComponent>;
|
|
7
7
|
export declare const YcMoreActions: DefineComponent<{
|
|
8
|
-
|
|
9
|
-
type: PropType<
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
showArrow: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: PropType<boolean>;
|
|
14
|
+
default: boolean;
|
|
12
15
|
};
|
|
13
16
|
trigger: {
|
|
14
|
-
type: PropType<"
|
|
17
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
15
18
|
default: string;
|
|
16
19
|
};
|
|
17
20
|
placement: {
|
|
18
|
-
type: PropType<"top" | "
|
|
21
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
19
22
|
default: string;
|
|
20
23
|
};
|
|
21
|
-
|
|
24
|
+
context: {
|
|
25
|
+
type: PropType<object | Record<string, unknown> | null>;
|
|
26
|
+
};
|
|
27
|
+
stopPropagation: {
|
|
22
28
|
type: PropType<boolean>;
|
|
23
29
|
default: boolean;
|
|
24
30
|
};
|
|
31
|
+
actions: {
|
|
32
|
+
type: PropType< MoreActionItem[]>;
|
|
33
|
+
required: true;
|
|
34
|
+
default: () => never[];
|
|
35
|
+
};
|
|
25
36
|
triggerButton: {
|
|
26
37
|
type: PropType<TriggerButtonProps>;
|
|
27
38
|
default: () => {
|
|
@@ -31,10 +42,6 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
31
42
|
text: string;
|
|
32
43
|
};
|
|
33
44
|
};
|
|
34
|
-
disabled: {
|
|
35
|
-
type: PropType<boolean>;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
45
|
dropdownClass: {
|
|
39
46
|
type: PropType<string>;
|
|
40
47
|
default: string;
|
|
@@ -43,34 +50,38 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
43
50
|
type: PropType<Record<string, string | number>>;
|
|
44
51
|
default: () => {};
|
|
45
52
|
};
|
|
46
|
-
context: {
|
|
47
|
-
type: PropType<object | Record<string, unknown> | null>;
|
|
48
|
-
};
|
|
49
|
-
stopPropagation: {
|
|
50
|
-
type: PropType<boolean>;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
53
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
54
|
-
"action-click": (key: string, context?: unknown) => void;
|
|
55
54
|
"visible-change": (visible: boolean) => void;
|
|
55
|
+
"action-click": (key: string, context?: unknown) => void;
|
|
56
56
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
|
-
|
|
58
|
-
type: PropType<
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
showArrow: {
|
|
58
|
+
type: PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
disabled: {
|
|
62
|
+
type: PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
61
64
|
};
|
|
62
65
|
trigger: {
|
|
63
|
-
type: PropType<"
|
|
66
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
64
67
|
default: string;
|
|
65
68
|
};
|
|
66
69
|
placement: {
|
|
67
|
-
type: PropType<"top" | "
|
|
70
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
68
71
|
default: string;
|
|
69
72
|
};
|
|
70
|
-
|
|
73
|
+
context: {
|
|
74
|
+
type: PropType<object | Record<string, unknown> | null>;
|
|
75
|
+
};
|
|
76
|
+
stopPropagation: {
|
|
71
77
|
type: PropType<boolean>;
|
|
72
78
|
default: boolean;
|
|
73
79
|
};
|
|
80
|
+
actions: {
|
|
81
|
+
type: PropType< MoreActionItem[]>;
|
|
82
|
+
required: true;
|
|
83
|
+
default: () => never[];
|
|
84
|
+
};
|
|
74
85
|
triggerButton: {
|
|
75
86
|
type: PropType<TriggerButtonProps>;
|
|
76
87
|
default: () => {
|
|
@@ -80,10 +91,6 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
80
91
|
text: string;
|
|
81
92
|
};
|
|
82
93
|
};
|
|
83
|
-
disabled: {
|
|
84
|
-
type: PropType<boolean>;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
94
|
dropdownClass: {
|
|
88
95
|
type: PropType<string>;
|
|
89
96
|
default: string;
|
|
@@ -92,45 +99,49 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
92
99
|
type: PropType<Record<string, string | number>>;
|
|
93
100
|
default: () => {};
|
|
94
101
|
};
|
|
95
|
-
context: {
|
|
96
|
-
type: PropType<object | Record<string, unknown> | null>;
|
|
97
|
-
};
|
|
98
|
-
stopPropagation: {
|
|
99
|
-
type: PropType<boolean>;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
102
102
|
}>> & {
|
|
103
|
-
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
104
103
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
104
|
+
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
105
105
|
}, {
|
|
106
|
-
actions: MoreActionItem[];
|
|
107
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
108
|
-
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
109
106
|
showArrow: boolean;
|
|
110
|
-
triggerButton: TriggerButtonProps;
|
|
111
107
|
disabled: boolean;
|
|
108
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
109
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
110
|
+
stopPropagation: boolean;
|
|
111
|
+
actions: MoreActionItem[];
|
|
112
|
+
triggerButton: TriggerButtonProps;
|
|
112
113
|
dropdownClass: string;
|
|
113
114
|
dropdownStyle: Record<string, string | number>;
|
|
114
|
-
stopPropagation: boolean;
|
|
115
115
|
}, {}>;
|
|
116
116
|
export declare const ReMoreActions: DefineComponent<{
|
|
117
|
-
|
|
118
|
-
type: PropType<
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
showArrow: {
|
|
118
|
+
type: PropType<boolean>;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
disabled: {
|
|
122
|
+
type: PropType<boolean>;
|
|
123
|
+
default: boolean;
|
|
121
124
|
};
|
|
122
125
|
trigger: {
|
|
123
|
-
type: PropType<"
|
|
126
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
124
127
|
default: string;
|
|
125
128
|
};
|
|
126
129
|
placement: {
|
|
127
|
-
type: PropType<"top" | "
|
|
130
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
128
131
|
default: string;
|
|
129
132
|
};
|
|
130
|
-
|
|
133
|
+
context: {
|
|
134
|
+
type: PropType<object | Record<string, unknown> | null>;
|
|
135
|
+
};
|
|
136
|
+
stopPropagation: {
|
|
131
137
|
type: PropType<boolean>;
|
|
132
138
|
default: boolean;
|
|
133
139
|
};
|
|
140
|
+
actions: {
|
|
141
|
+
type: PropType< MoreActionItem[]>;
|
|
142
|
+
required: true;
|
|
143
|
+
default: () => never[];
|
|
144
|
+
};
|
|
134
145
|
triggerButton: {
|
|
135
146
|
type: PropType<TriggerButtonProps>;
|
|
136
147
|
default: () => {
|
|
@@ -140,10 +151,6 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
140
151
|
text: string;
|
|
141
152
|
};
|
|
142
153
|
};
|
|
143
|
-
disabled: {
|
|
144
|
-
type: PropType<boolean>;
|
|
145
|
-
default: boolean;
|
|
146
|
-
};
|
|
147
154
|
dropdownClass: {
|
|
148
155
|
type: PropType<string>;
|
|
149
156
|
default: string;
|
|
@@ -152,34 +159,38 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
152
159
|
type: PropType<Record<string, string | number>>;
|
|
153
160
|
default: () => {};
|
|
154
161
|
};
|
|
155
|
-
context: {
|
|
156
|
-
type: PropType<object | Record<string, unknown> | null>;
|
|
157
|
-
};
|
|
158
|
-
stopPropagation: {
|
|
159
|
-
type: PropType<boolean>;
|
|
160
|
-
default: boolean;
|
|
161
|
-
};
|
|
162
162
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
163
|
-
"action-click": (key: string, context?: unknown) => void;
|
|
164
163
|
"visible-change": (visible: boolean) => void;
|
|
164
|
+
"action-click": (key: string, context?: unknown) => void;
|
|
165
165
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
166
|
-
|
|
167
|
-
type: PropType<
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
showArrow: {
|
|
167
|
+
type: PropType<boolean>;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
disabled: {
|
|
171
|
+
type: PropType<boolean>;
|
|
172
|
+
default: boolean;
|
|
170
173
|
};
|
|
171
174
|
trigger: {
|
|
172
|
-
type: PropType<"
|
|
175
|
+
type: PropType<"click" | "hover" | "contextmenu">;
|
|
173
176
|
default: string;
|
|
174
177
|
};
|
|
175
178
|
placement: {
|
|
176
|
-
type: PropType<"top" | "
|
|
179
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
177
180
|
default: string;
|
|
178
181
|
};
|
|
179
|
-
|
|
182
|
+
context: {
|
|
183
|
+
type: PropType<object | Record<string, unknown> | null>;
|
|
184
|
+
};
|
|
185
|
+
stopPropagation: {
|
|
180
186
|
type: PropType<boolean>;
|
|
181
187
|
default: boolean;
|
|
182
188
|
};
|
|
189
|
+
actions: {
|
|
190
|
+
type: PropType< MoreActionItem[]>;
|
|
191
|
+
required: true;
|
|
192
|
+
default: () => never[];
|
|
193
|
+
};
|
|
183
194
|
triggerButton: {
|
|
184
195
|
type: PropType<TriggerButtonProps>;
|
|
185
196
|
default: () => {
|
|
@@ -189,10 +200,6 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
189
200
|
text: string;
|
|
190
201
|
};
|
|
191
202
|
};
|
|
192
|
-
disabled: {
|
|
193
|
-
type: PropType<boolean>;
|
|
194
|
-
default: boolean;
|
|
195
|
-
};
|
|
196
203
|
dropdownClass: {
|
|
197
204
|
type: PropType<string>;
|
|
198
205
|
default: string;
|
|
@@ -201,25 +208,18 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
201
208
|
type: PropType<Record<string, string | number>>;
|
|
202
209
|
default: () => {};
|
|
203
210
|
};
|
|
204
|
-
context: {
|
|
205
|
-
type: PropType<object | Record<string, unknown> | null>;
|
|
206
|
-
};
|
|
207
|
-
stopPropagation: {
|
|
208
|
-
type: PropType<boolean>;
|
|
209
|
-
default: boolean;
|
|
210
|
-
};
|
|
211
211
|
}>> & {
|
|
212
|
-
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
213
212
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
213
|
+
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
actions: MoreActionItem[];
|
|
216
|
-
trigger: "hover" | "click" | "contextmenu";
|
|
217
|
-
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
218
215
|
showArrow: boolean;
|
|
219
|
-
triggerButton: TriggerButtonProps;
|
|
220
216
|
disabled: boolean;
|
|
217
|
+
trigger: "click" | "hover" | "contextmenu";
|
|
218
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
219
|
+
stopPropagation: boolean;
|
|
220
|
+
actions: MoreActionItem[];
|
|
221
|
+
triggerButton: TriggerButtonProps;
|
|
221
222
|
dropdownClass: string;
|
|
222
223
|
dropdownStyle: Record<string, string | number>;
|
|
223
|
-
stopPropagation: boolean;
|
|
224
224
|
}, {}>;
|
|
225
225
|
export type { YcMoreActionsProps as ReMoreActionsProps, MoreActionItem as ReMoreActionItem, TriggerButtonProps as ReTriggerButtonProps } from './src/type';
|