yc-pro-components 0.0.75 → 0.0.76
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 +61 -61
- 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 +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- 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 +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- 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 +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- 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/src/table-column.vue.d.ts +37 -37
- package/es/components/table/src/table-title-bar.vue.mjs +1 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +79 -40
- package/es/components/table/src/type.d.ts +17 -0
- package/es/components/utils/index.d.ts +2 -2
- 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/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +2 -3
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- 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 +244 -244
- package/es/index.css +10 -9
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +84 -46
- package/index.min.css +2 -1
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +85 -47
- package/lib/components/check-card/index.d.ts +61 -61
- 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 +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- 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 +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- 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 +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- 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/src/table-column.vue.d.ts +37 -37
- package/lib/components/table/src/table-title-bar.vue.js +1 -1
- package/lib/components/table/src/table-title-bar.vue2.js +78 -39
- package/lib/components/table/src/type.d.ts +17 -0
- package/lib/components/utils/index.d.ts +2 -2
- 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/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +2 -3
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- 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 +244 -244
- package/lib/index.css +13 -12
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- 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
|
@@ -6,12 +6,12 @@ export * from './src/type';
|
|
|
6
6
|
export type YcDialogInstance = InstanceType<typeof YcDialogComponent>;
|
|
7
7
|
export declare const YcDialog: {
|
|
8
8
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
size: {
|
|
10
|
-
type: PropType<DialogSize>;
|
|
11
|
-
};
|
|
12
9
|
width: {
|
|
13
10
|
type: PropType<string | number>;
|
|
14
11
|
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<DialogSize>;
|
|
14
|
+
};
|
|
15
15
|
maxHeight: {
|
|
16
16
|
type: PropType<string | number | false>;
|
|
17
17
|
default: string;
|
|
@@ -21,12 +21,12 @@ export declare const YcDialog: {
|
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
23
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
24
|
-
size: {
|
|
25
|
-
type: PropType<DialogSize>;
|
|
26
|
-
};
|
|
27
24
|
width: {
|
|
28
25
|
type: PropType<string | number>;
|
|
29
26
|
};
|
|
27
|
+
size: {
|
|
28
|
+
type: PropType<DialogSize>;
|
|
29
|
+
};
|
|
30
30
|
maxHeight: {
|
|
31
31
|
type: PropType<string | number | false>;
|
|
32
32
|
default: string;
|
|
@@ -46,12 +46,12 @@ export declare const YcDialog: {
|
|
|
46
46
|
M: {};
|
|
47
47
|
Defaults: {};
|
|
48
48
|
}, Readonly< ExtractPropTypes<{
|
|
49
|
-
size: {
|
|
50
|
-
type: PropType<DialogSize>;
|
|
51
|
-
};
|
|
52
49
|
width: {
|
|
53
50
|
type: PropType<string | number>;
|
|
54
51
|
};
|
|
52
|
+
size: {
|
|
53
|
+
type: PropType<DialogSize>;
|
|
54
|
+
};
|
|
55
55
|
maxHeight: {
|
|
56
56
|
type: PropType<string | number | false>;
|
|
57
57
|
default: string;
|
|
@@ -68,12 +68,12 @@ export declare const YcDialog: {
|
|
|
68
68
|
__isTeleport?: undefined;
|
|
69
69
|
__isSuspense?: undefined;
|
|
70
70
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
71
|
-
size: {
|
|
72
|
-
type: PropType<DialogSize>;
|
|
73
|
-
};
|
|
74
71
|
width: {
|
|
75
72
|
type: PropType<string | number>;
|
|
76
73
|
};
|
|
74
|
+
size: {
|
|
75
|
+
type: PropType<DialogSize>;
|
|
76
|
+
};
|
|
77
77
|
maxHeight: {
|
|
78
78
|
type: PropType<string | number | false>;
|
|
79
79
|
default: string;
|
|
@@ -94,12 +94,12 @@ export declare const YcDialog: {
|
|
|
94
94
|
});
|
|
95
95
|
export declare const ReDialog: {
|
|
96
96
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
97
|
-
size: {
|
|
98
|
-
type: PropType<DialogSize>;
|
|
99
|
-
};
|
|
100
97
|
width: {
|
|
101
98
|
type: PropType<string | number>;
|
|
102
99
|
};
|
|
100
|
+
size: {
|
|
101
|
+
type: PropType<DialogSize>;
|
|
102
|
+
};
|
|
103
103
|
maxHeight: {
|
|
104
104
|
type: PropType<string | number | false>;
|
|
105
105
|
default: string;
|
|
@@ -109,12 +109,12 @@ export declare const ReDialog: {
|
|
|
109
109
|
default: boolean;
|
|
110
110
|
};
|
|
111
111
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
112
|
-
size: {
|
|
113
|
-
type: PropType<DialogSize>;
|
|
114
|
-
};
|
|
115
112
|
width: {
|
|
116
113
|
type: PropType<string | number>;
|
|
117
114
|
};
|
|
115
|
+
size: {
|
|
116
|
+
type: PropType<DialogSize>;
|
|
117
|
+
};
|
|
118
118
|
maxHeight: {
|
|
119
119
|
type: PropType<string | number | false>;
|
|
120
120
|
default: string;
|
|
@@ -134,12 +134,12 @@ export declare const ReDialog: {
|
|
|
134
134
|
M: {};
|
|
135
135
|
Defaults: {};
|
|
136
136
|
}, Readonly< ExtractPropTypes<{
|
|
137
|
-
size: {
|
|
138
|
-
type: PropType<DialogSize>;
|
|
139
|
-
};
|
|
140
137
|
width: {
|
|
141
138
|
type: PropType<string | number>;
|
|
142
139
|
};
|
|
140
|
+
size: {
|
|
141
|
+
type: PropType<DialogSize>;
|
|
142
|
+
};
|
|
143
143
|
maxHeight: {
|
|
144
144
|
type: PropType<string | number | false>;
|
|
145
145
|
default: string;
|
|
@@ -156,12 +156,12 @@ export declare const ReDialog: {
|
|
|
156
156
|
__isTeleport?: undefined;
|
|
157
157
|
__isSuspense?: undefined;
|
|
158
158
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
159
|
-
size: {
|
|
160
|
-
type: PropType<DialogSize>;
|
|
161
|
-
};
|
|
162
159
|
width: {
|
|
163
160
|
type: PropType<string | number>;
|
|
164
161
|
};
|
|
162
|
+
size: {
|
|
163
|
+
type: PropType<DialogSize>;
|
|
164
|
+
};
|
|
165
165
|
maxHeight: {
|
|
166
166
|
type: PropType<string | number | false>;
|
|
167
167
|
default: string;
|
|
@@ -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
|
-
modelValue: {
|
|
10
|
-
type: PropType<boolean>;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
9
|
title: {
|
|
14
10
|
type: PropType<string>;
|
|
15
11
|
default: string;
|
|
16
12
|
};
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
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
|
-
modelValue: {
|
|
54
|
-
type: PropType<boolean>;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
53
|
title: {
|
|
58
54
|
type: PropType<string>;
|
|
59
55
|
default: string;
|
|
60
56
|
};
|
|
57
|
+
modelValue: {
|
|
58
|
+
type: PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
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
|
-
modelValue: boolean;
|
|
91
90
|
title: string;
|
|
91
|
+
modelValue: boolean;
|
|
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
|
-
modelValue: {
|
|
103
|
-
type: PropType<boolean>;
|
|
104
|
-
default: boolean;
|
|
105
|
-
};
|
|
106
102
|
title: {
|
|
107
103
|
type: PropType<string>;
|
|
108
104
|
default: string;
|
|
109
105
|
};
|
|
106
|
+
modelValue: {
|
|
107
|
+
type: PropType<boolean>;
|
|
108
|
+
default: boolean;
|
|
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
|
-
modelValue: boolean;
|
|
142
141
|
title: string;
|
|
142
|
+
modelValue: boolean;
|
|
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
|
-
modelValue: {
|
|
151
|
-
type: PropType<boolean>;
|
|
152
|
-
default: boolean;
|
|
153
|
-
};
|
|
154
150
|
title: {
|
|
155
151
|
type: PropType<string>;
|
|
156
152
|
default: string;
|
|
157
153
|
};
|
|
154
|
+
modelValue: {
|
|
155
|
+
type: PropType<boolean>;
|
|
156
|
+
default: boolean;
|
|
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
|
-
modelValue: boolean;
|
|
195
194
|
title: string;
|
|
195
|
+
modelValue: boolean;
|
|
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
|
-
modelValue: boolean;
|
|
28
27
|
title: string;
|
|
28
|
+
modelValue: boolean;
|
|
29
29
|
templateText: string;
|
|
30
30
|
uploadAction: string;
|
|
31
31
|
}, {}>, {
|
|
@@ -5,6 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var index_vue_vue_type_script_setup_true_lang = require('./index.vue2.js');
|
|
6
6
|
var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
|
|
7
7
|
|
|
8
|
-
var YcDrawerComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
8
|
+
var YcDrawerComponent = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-80cac14a"], ["__file", "index.vue"]]);
|
|
9
9
|
|
|
10
10
|
exports.default = YcDrawerComponent;
|
|
@@ -8,8 +8,7 @@ var ElementPlusIconsVue = require('@element-plus/icons-vue');
|
|
|
8
8
|
var store = require('../store.js');
|
|
9
9
|
var dict = require('../../../constants/dict.js');
|
|
10
10
|
|
|
11
|
-
const
|
|
12
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-eb9ddafc"), n = n(), vue.popScopeId(), n);
|
|
11
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-80cac14a"), n = n(), vue.popScopeId(), n);
|
|
13
12
|
const _hoisted_1 = { class: "custom-drawer-header" };
|
|
14
13
|
const _hoisted_2 = { class: "header-content" };
|
|
15
14
|
const _hoisted_3 = ["id"];
|
|
@@ -28,7 +27,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
28
27
|
__name: "index",
|
|
29
28
|
setup(__props) {
|
|
30
29
|
const shouldRender = store.claimDrawerInstance();
|
|
31
|
-
if (!shouldRender &&
|
|
30
|
+
if (!shouldRender && process.env.NODE_ENV !== "production") {
|
|
32
31
|
console.warn(
|
|
33
32
|
"[YcDrawer] Multiple <YcDrawer /> instances detected. Only the first instance renders drawers. Remove duplicate <YcDrawer /> from your component \u2014 it only needs to be placed once in the root App."
|
|
34
33
|
);
|
|
@@ -5,13 +5,13 @@ 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
|
-
class: {
|
|
9
|
-
type: PropType<string>;
|
|
10
|
-
};
|
|
11
8
|
title: {
|
|
12
9
|
type: PropType<string>;
|
|
13
10
|
required: true;
|
|
14
11
|
};
|
|
12
|
+
class: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
};
|
|
15
15
|
titleColor: {
|
|
16
16
|
type: PropType<string>;
|
|
17
17
|
default: undefined;
|
|
@@ -21,13 +21,13 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
23
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
24
|
-
class: {
|
|
25
|
-
type: PropType<string>;
|
|
26
|
-
};
|
|
27
24
|
title: {
|
|
28
25
|
type: PropType<string>;
|
|
29
26
|
required: true;
|
|
30
27
|
};
|
|
28
|
+
class: {
|
|
29
|
+
type: PropType<string>;
|
|
30
|
+
};
|
|
31
31
|
titleColor: {
|
|
32
32
|
type: PropType<string>;
|
|
33
33
|
default: undefined;
|
|
@@ -41,13 +41,13 @@ export declare const YcFormContainerHeader: DefineComponent<{
|
|
|
41
41
|
gradientColors: GradientColors;
|
|
42
42
|
}, {}>;
|
|
43
43
|
export declare const ReFormContainerHeader: DefineComponent<{
|
|
44
|
-
class: {
|
|
45
|
-
type: PropType<string>;
|
|
46
|
-
};
|
|
47
44
|
title: {
|
|
48
45
|
type: PropType<string>;
|
|
49
46
|
required: true;
|
|
50
47
|
};
|
|
48
|
+
class: {
|
|
49
|
+
type: PropType<string>;
|
|
50
|
+
};
|
|
51
51
|
titleColor: {
|
|
52
52
|
type: PropType<string>;
|
|
53
53
|
default: undefined;
|
|
@@ -57,13 +57,13 @@ export declare const ReFormContainerHeader: DefineComponent<{
|
|
|
57
57
|
default: undefined;
|
|
58
58
|
};
|
|
59
59
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
60
|
-
class: {
|
|
61
|
-
type: PropType<string>;
|
|
62
|
-
};
|
|
63
60
|
title: {
|
|
64
61
|
type: PropType<string>;
|
|
65
62
|
required: true;
|
|
66
63
|
};
|
|
64
|
+
class: {
|
|
65
|
+
type: PropType<string>;
|
|
66
|
+
};
|
|
67
67
|
titleColor: {
|
|
68
68
|
type: PropType<string>;
|
|
69
69
|
default: undefined;
|
|
@@ -5,21 +5,21 @@ 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
|
-
default:
|
|
8
|
+
placement: {
|
|
9
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
trigger: {
|
|
13
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
14
|
+
default: string;
|
|
11
15
|
};
|
|
12
16
|
disabled: {
|
|
13
17
|
type: PropType<boolean>;
|
|
14
18
|
default: boolean;
|
|
15
19
|
};
|
|
16
|
-
|
|
17
|
-
type: PropType<
|
|
18
|
-
default:
|
|
19
|
-
};
|
|
20
|
-
placement: {
|
|
21
|
-
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
22
|
-
default: string;
|
|
20
|
+
showArrow: {
|
|
21
|
+
type: PropType<boolean>;
|
|
22
|
+
default: boolean;
|
|
23
23
|
};
|
|
24
24
|
context: {
|
|
25
25
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -54,21 +54,21 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
54
54
|
"visible-change": (visible: boolean) => void;
|
|
55
55
|
"action-click": (key: string, context?: unknown) => void;
|
|
56
56
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
|
-
|
|
58
|
-
type: PropType<
|
|
59
|
-
default:
|
|
57
|
+
placement: {
|
|
58
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
trigger: {
|
|
62
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
63
|
+
default: string;
|
|
60
64
|
};
|
|
61
65
|
disabled: {
|
|
62
66
|
type: PropType<boolean>;
|
|
63
67
|
default: boolean;
|
|
64
68
|
};
|
|
65
|
-
|
|
66
|
-
type: PropType<
|
|
67
|
-
default:
|
|
68
|
-
};
|
|
69
|
-
placement: {
|
|
70
|
-
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
71
|
-
default: string;
|
|
69
|
+
showArrow: {
|
|
70
|
+
type: PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
72
|
};
|
|
73
73
|
context: {
|
|
74
74
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -103,10 +103,10 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
103
103
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
104
104
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
105
105
|
}, {
|
|
106
|
-
|
|
106
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
107
|
+
trigger: "hover" | "click" | "contextmenu";
|
|
107
108
|
disabled: boolean;
|
|
108
|
-
|
|
109
|
-
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
109
|
+
showArrow: boolean;
|
|
110
110
|
stopPropagation: boolean;
|
|
111
111
|
actions: MoreActionItem[];
|
|
112
112
|
triggerButton: TriggerButtonProps;
|
|
@@ -114,21 +114,21 @@ export declare const YcMoreActions: DefineComponent<{
|
|
|
114
114
|
dropdownStyle: Record<string, string | number>;
|
|
115
115
|
}, {}>;
|
|
116
116
|
export declare const ReMoreActions: DefineComponent<{
|
|
117
|
-
|
|
118
|
-
type: PropType<
|
|
119
|
-
default:
|
|
117
|
+
placement: {
|
|
118
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
trigger: {
|
|
122
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
123
|
+
default: string;
|
|
120
124
|
};
|
|
121
125
|
disabled: {
|
|
122
126
|
type: PropType<boolean>;
|
|
123
127
|
default: boolean;
|
|
124
128
|
};
|
|
125
|
-
|
|
126
|
-
type: PropType<
|
|
127
|
-
default:
|
|
128
|
-
};
|
|
129
|
-
placement: {
|
|
130
|
-
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
131
|
-
default: string;
|
|
129
|
+
showArrow: {
|
|
130
|
+
type: PropType<boolean>;
|
|
131
|
+
default: boolean;
|
|
132
132
|
};
|
|
133
133
|
context: {
|
|
134
134
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -163,21 +163,21 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
163
163
|
"visible-change": (visible: boolean) => void;
|
|
164
164
|
"action-click": (key: string, context?: unknown) => void;
|
|
165
165
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
166
|
-
|
|
167
|
-
type: PropType<
|
|
168
|
-
default:
|
|
166
|
+
placement: {
|
|
167
|
+
type: PropType<"top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
trigger: {
|
|
171
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
172
|
+
default: string;
|
|
169
173
|
};
|
|
170
174
|
disabled: {
|
|
171
175
|
type: PropType<boolean>;
|
|
172
176
|
default: boolean;
|
|
173
177
|
};
|
|
174
|
-
|
|
175
|
-
type: PropType<
|
|
176
|
-
default:
|
|
177
|
-
};
|
|
178
|
-
placement: {
|
|
179
|
-
type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">;
|
|
180
|
-
default: string;
|
|
178
|
+
showArrow: {
|
|
179
|
+
type: PropType<boolean>;
|
|
180
|
+
default: boolean;
|
|
181
181
|
};
|
|
182
182
|
context: {
|
|
183
183
|
type: PropType<object | Record<string, unknown> | null>;
|
|
@@ -212,10 +212,10 @@ export declare const ReMoreActions: DefineComponent<{
|
|
|
212
212
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
213
213
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
|
|
215
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
216
|
+
trigger: "hover" | "click" | "contextmenu";
|
|
216
217
|
disabled: boolean;
|
|
217
|
-
|
|
218
|
-
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
218
|
+
showArrow: boolean;
|
|
219
219
|
stopPropagation: boolean;
|
|
220
220
|
actions: MoreActionItem[];
|
|
221
221
|
triggerButton: TriggerButtonProps;
|
|
@@ -38,10 +38,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
38
38
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
39
39
|
"onAction-click"?: ((key: string, context?: unknown) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
|
|
41
|
+
placement: "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
42
|
+
trigger: "hover" | "click" | "contextmenu";
|
|
42
43
|
disabled: boolean;
|
|
43
|
-
|
|
44
|
-
placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
|
44
|
+
showArrow: boolean;
|
|
45
45
|
stopPropagation: boolean;
|
|
46
46
|
actions: MoreActionItem[];
|
|
47
47
|
triggerButton: TriggerButtonProps;
|