yc-pro-components 0.0.25 → 0.0.26
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 +57 -57
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +22 -22
- package/es/components/check-card-group/src/index.vue.d.ts +19 -19
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +1 -1
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +19 -19
- package/es/components/dialog/src/index.vue.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- package/es/components/display-item/index.d.ts +32 -32
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +28 -28
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +107 -107
- package/es/components/form/src/form-content.vue.d.ts +17 -17
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +128 -128
- package/es/components/form-item/src/form-item.mjs +2 -1
- package/es/components/form-item/src/index.vue.d.ts +16 -16
- 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 +11 -11
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +900 -900
- package/es/components/page/src/index.vue.d.ts +289 -289
- package/es/components/pagination/index.d.ts +4 -4
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +26 -26
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +328 -328
- package/es/components/search/src/index.vue.d.ts +95 -95
- 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 +74 -74
- package/es/components/table/src/index.vue.d.ts +19 -19
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +28 -28
- package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
- package/es/components/utils/index.d.ts +15 -15
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/src/index.vue2.mjs +1 -1
- 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 +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- 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 +677 -677
- package/es/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +193 -193
- package/es/index.css +2 -2
- package/index.css +48 -48
- package/index.js +21 -11
- package/index.min.css +2 -2
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +21 -11
- package/lib/components/check-card/index.d.ts +57 -57
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +22 -22
- package/lib/components/check-card-group/src/index.vue.d.ts +19 -19
- package/lib/components/date-picker/index.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +1 -1
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +19 -19
- package/lib/components/dialog/src/index.vue.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/index.d.ts +32 -32
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +28 -28
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +107 -107
- package/lib/components/form/src/form-content.vue.d.ts +17 -17
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +128 -128
- package/lib/components/form-item/src/form-item.js +2 -1
- package/lib/components/form-item/src/index.vue.d.ts +16 -16
- 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 +11 -11
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +900 -900
- package/lib/components/page/src/index.vue.d.ts +289 -289
- package/lib/components/pagination/index.d.ts +4 -4
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +26 -26
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +328 -328
- package/lib/components/search/src/index.vue.d.ts +95 -95
- 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 +74 -74
- package/lib/components/table/src/index.vue.d.ts +19 -19
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +28 -28
- package/lib/components/table/src/table-title-bar.vue2.js +1 -0
- package/lib/components/utils/index.d.ts +15 -15
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/src/index.vue2.js +1 -1
- 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 +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- 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 +677 -677
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
- package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +193 -193
- package/lib/index.css +2 -2
- 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/index.css +1 -1
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-display-item.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/plus-yc-dialog.css +1 -1
- package/theme-chalk/plus-yc-drawer.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/dialog.scss +45 -0
- package/theme-chalk/src/display-item.scss +1 -0
- package/theme-chalk/src/table.scss +10 -0
- package/theme-chalk/src/yc-dialog.scss +50 -0
- package/theme-chalk/src/yc-drawer.scss +1 -1
- package/theme-chalk/src/yc-plus-tree.scss +1 -0
|
@@ -39,9 +39,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
39
39
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
40
|
__epPropKey: true;
|
|
41
41
|
};
|
|
42
|
-
width: (
|
|
43
|
-
height: (
|
|
44
|
-
maxHeight: (
|
|
42
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
43
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
44
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
45
45
|
fit: {
|
|
46
46
|
type: BooleanConstructor;
|
|
47
47
|
default: boolean;
|
|
@@ -65,13 +65,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
65
65
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
66
66
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
67
67
|
highlightCurrentRow: BooleanConstructor;
|
|
68
|
-
currentRowKey: (
|
|
68
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
69
69
|
emptyText: StringConstructor;
|
|
70
70
|
expandRowKeys: PropType<any[] | undefined>;
|
|
71
71
|
defaultExpandAll: BooleanConstructor;
|
|
72
72
|
defaultSort: PropType< Sort | undefined>;
|
|
73
73
|
tooltipEffect: StringConstructor;
|
|
74
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
74
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
75
75
|
spanMethod: PropType<((data: {
|
|
76
76
|
row: any;
|
|
77
77
|
rowIndex: number;
|
|
@@ -115,7 +115,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
115
115
|
};
|
|
116
116
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
117
117
|
flexible: BooleanConstructor;
|
|
118
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
118
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
119
119
|
}>> & {
|
|
120
120
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -235,9 +235,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
235
235
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
236
236
|
__epPropKey: true;
|
|
237
237
|
};
|
|
238
|
-
width: (
|
|
239
|
-
height: (
|
|
240
|
-
maxHeight: (
|
|
238
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
239
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
240
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
241
241
|
fit: {
|
|
242
242
|
type: BooleanConstructor;
|
|
243
243
|
default: boolean;
|
|
@@ -261,13 +261,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
261
261
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
262
262
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
263
263
|
highlightCurrentRow: BooleanConstructor;
|
|
264
|
-
currentRowKey: (
|
|
264
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
265
265
|
emptyText: StringConstructor;
|
|
266
266
|
expandRowKeys: PropType<any[] | undefined>;
|
|
267
267
|
defaultExpandAll: BooleanConstructor;
|
|
268
268
|
defaultSort: PropType< Sort | undefined>;
|
|
269
269
|
tooltipEffect: StringConstructor;
|
|
270
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
270
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
271
271
|
spanMethod: PropType<((data: {
|
|
272
272
|
row: any;
|
|
273
273
|
rowIndex: number;
|
|
@@ -311,7 +311,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
311
311
|
};
|
|
312
312
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
313
313
|
flexible: BooleanConstructor;
|
|
314
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
314
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
315
315
|
}>> & {
|
|
316
316
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
317
317
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -370,9 +370,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
370
370
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
371
371
|
__epPropKey: true;
|
|
372
372
|
};
|
|
373
|
-
width: (
|
|
374
|
-
height: (
|
|
375
|
-
maxHeight: (
|
|
373
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
374
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
375
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
376
376
|
fit: {
|
|
377
377
|
type: BooleanConstructor;
|
|
378
378
|
default: boolean;
|
|
@@ -396,13 +396,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
396
396
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
397
397
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
398
398
|
highlightCurrentRow: BooleanConstructor;
|
|
399
|
-
currentRowKey: (
|
|
399
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
400
400
|
emptyText: StringConstructor;
|
|
401
401
|
expandRowKeys: PropType<any[] | undefined>;
|
|
402
402
|
defaultExpandAll: BooleanConstructor;
|
|
403
403
|
defaultSort: PropType< Sort | undefined>;
|
|
404
404
|
tooltipEffect: StringConstructor;
|
|
405
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
405
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
406
406
|
spanMethod: PropType<((data: {
|
|
407
407
|
row: any;
|
|
408
408
|
rowIndex: number;
|
|
@@ -446,7 +446,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
446
446
|
};
|
|
447
447
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
448
448
|
flexible: BooleanConstructor;
|
|
449
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
449
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
450
450
|
}>> & {
|
|
451
451
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
452
452
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -27,15 +27,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
27
27
|
$data: {};
|
|
28
28
|
$props: Partial<{
|
|
29
29
|
index: number;
|
|
30
|
-
rest: RecordType;
|
|
31
30
|
formProps: PlusFormProps;
|
|
31
|
+
rest: RecordType;
|
|
32
32
|
column: PlusColumn;
|
|
33
33
|
row: RecordType;
|
|
34
34
|
editable: boolean | "click" | "dblclick";
|
|
35
35
|
}> & Omit<{
|
|
36
36
|
readonly index: number;
|
|
37
|
-
readonly rest: RecordType;
|
|
38
37
|
readonly formProps: PlusFormProps;
|
|
38
|
+
readonly rest: RecordType;
|
|
39
39
|
readonly column: PlusColumn;
|
|
40
40
|
readonly row: RecordType;
|
|
41
41
|
readonly editable: boolean | "click" | "dblclick";
|
|
@@ -49,14 +49,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
49
49
|
type: PropType<number>;
|
|
50
50
|
default: number;
|
|
51
51
|
};
|
|
52
|
-
rest: {
|
|
53
|
-
type: PropType<RecordType>;
|
|
54
|
-
default: () => {};
|
|
55
|
-
};
|
|
56
52
|
formProps: {
|
|
57
53
|
type: PropType<PlusFormProps>;
|
|
58
54
|
default: () => {};
|
|
59
55
|
};
|
|
56
|
+
rest: {
|
|
57
|
+
type: PropType<RecordType>;
|
|
58
|
+
default: () => {};
|
|
59
|
+
};
|
|
60
60
|
column: {
|
|
61
61
|
type: PropType<PlusColumn>;
|
|
62
62
|
required: true;
|
|
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
80
80
|
prop: string;
|
|
81
81
|
row: RecordType;
|
|
82
82
|
}) => any) | undefined;
|
|
83
|
-
}, "index" | "
|
|
83
|
+
}, "index" | "formProps" | "rest" | "column" | "row" | "editable">;
|
|
84
84
|
$attrs: {
|
|
85
85
|
[x: string]: unknown;
|
|
86
86
|
};
|
|
@@ -103,14 +103,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
103
103
|
type: PropType<number>;
|
|
104
104
|
default: number;
|
|
105
105
|
};
|
|
106
|
-
rest: {
|
|
107
|
-
type: PropType<RecordType>;
|
|
108
|
-
default: () => {};
|
|
109
|
-
};
|
|
110
106
|
formProps: {
|
|
111
107
|
type: PropType<PlusFormProps>;
|
|
112
108
|
default: () => {};
|
|
113
109
|
};
|
|
110
|
+
rest: {
|
|
111
|
+
type: PropType<RecordType>;
|
|
112
|
+
default: () => {};
|
|
113
|
+
};
|
|
114
114
|
column: {
|
|
115
115
|
type: PropType<PlusColumn>;
|
|
116
116
|
required: true;
|
|
@@ -153,8 +153,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
153
153
|
}) => void;
|
|
154
154
|
}, string, {
|
|
155
155
|
index: number;
|
|
156
|
-
rest: RecordType;
|
|
157
156
|
formProps: PlusFormProps;
|
|
157
|
+
rest: RecordType;
|
|
158
158
|
column: PlusColumn;
|
|
159
159
|
row: RecordType;
|
|
160
160
|
editable: boolean | "click" | "dblclick";
|
|
@@ -183,14 +183,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
183
183
|
type: PropType<number>;
|
|
184
184
|
default: number;
|
|
185
185
|
};
|
|
186
|
-
rest: {
|
|
187
|
-
type: PropType<RecordType>;
|
|
188
|
-
default: () => {};
|
|
189
|
-
};
|
|
190
186
|
formProps: {
|
|
191
187
|
type: PropType<PlusFormProps>;
|
|
192
188
|
default: () => {};
|
|
193
189
|
};
|
|
190
|
+
rest: {
|
|
191
|
+
type: PropType<RecordType>;
|
|
192
|
+
default: () => {};
|
|
193
|
+
};
|
|
194
194
|
column: {
|
|
195
195
|
type: PropType<PlusColumn>;
|
|
196
196
|
required: true;
|
|
@@ -227,9 +227,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
227
227
|
};
|
|
228
228
|
}> & {} & ComponentCustomProperties & {} & {
|
|
229
229
|
$slots: Partial<Record<string, (_: {
|
|
230
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
230
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
231
231
|
readonly label: string | ComputedRef<string>;
|
|
232
|
-
readonly modelValue: string | number | boolean |
|
|
232
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
233
233
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
234
234
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
235
235
|
style?: CSSProperties | undefined;
|
|
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
256
256
|
};
|
|
257
257
|
rows: number;
|
|
258
258
|
autocomplete: string;
|
|
259
|
-
type: "" | "number" | "default" | "
|
|
259
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
260
260
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
261
261
|
step: string | number;
|
|
262
262
|
format: string | ProgressFn | undefined;
|
|
@@ -301,7 +301,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
301
301
|
fieldInstance?: any;
|
|
302
302
|
valueIsReady?: Ref<boolean> | undefined;
|
|
303
303
|
prop: string;
|
|
304
|
-
modelValue: string | number | boolean |
|
|
304
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
305
305
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
306
306
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
307
307
|
style?: CSSProperties | undefined;
|
|
@@ -335,9 +335,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
335
335
|
clearable: boolean;
|
|
336
336
|
index: number;
|
|
337
337
|
}) => any>> & Partial<Record<string, (_: {
|
|
338
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
338
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
339
339
|
readonly label: string | ComputedRef<string>;
|
|
340
|
-
readonly modelValue: string | number | boolean |
|
|
340
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
341
341
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
342
342
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
343
343
|
style?: CSSProperties | undefined;
|
|
@@ -364,7 +364,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
364
364
|
};
|
|
365
365
|
rows: number;
|
|
366
366
|
autocomplete: string;
|
|
367
|
-
type: "" | "number" | "default" | "
|
|
367
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
368
368
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
369
369
|
step: string | number;
|
|
370
370
|
format: string | ProgressFn | undefined;
|
|
@@ -409,7 +409,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
409
409
|
fieldInstance?: any;
|
|
410
410
|
valueIsReady?: Ref<boolean> | undefined;
|
|
411
411
|
prop: string;
|
|
412
|
-
modelValue: string | number | boolean |
|
|
412
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
413
413
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
414
414
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
415
415
|
style?: CSSProperties | undefined;
|
|
@@ -443,9 +443,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
443
443
|
clearable: boolean;
|
|
444
444
|
index: number;
|
|
445
445
|
}) => any>> & Partial<Record<string, (_: {
|
|
446
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
446
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
447
447
|
readonly label: string | ComputedRef<string>;
|
|
448
|
-
readonly modelValue: string | number | boolean |
|
|
448
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
449
449
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
450
450
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
451
451
|
style?: CSSProperties | undefined;
|
|
@@ -472,7 +472,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
472
472
|
};
|
|
473
473
|
rows: number;
|
|
474
474
|
autocomplete: string;
|
|
475
|
-
type: "" | "number" | "default" | "
|
|
475
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
476
476
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
477
477
|
step: string | number;
|
|
478
478
|
format: string | ProgressFn | undefined;
|
|
@@ -517,7 +517,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
517
517
|
fieldInstance?: any;
|
|
518
518
|
valueIsReady?: Ref<boolean> | undefined;
|
|
519
519
|
prop: string;
|
|
520
|
-
modelValue: string | number | boolean |
|
|
520
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
521
521
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
522
522
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
523
523
|
style?: CSSProperties | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SetupContext, VNode, RendererNode, RendererElement
|
|
1
|
+
import { RouteComponent, RouteRecordRedirectOption, RouteLocationNormalized, RouteRecordName, NavigationGuardWithThis, RouteMeta } from 'vue-router';
|
|
2
|
+
import { SetupContext, Component, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
|
|
4
4
|
|
|
5
5
|
export * from './format';
|
|
@@ -95,7 +95,7 @@ export declare const setValue: (target: RecordType, key: string, value: any) =>
|
|
|
95
95
|
* @param version2
|
|
96
96
|
* @returns
|
|
97
97
|
*/
|
|
98
|
-
export declare const compareVersion: (version1: string, version2: string) =>
|
|
98
|
+
export declare const compareVersion: (version1: string, version2: string) => 1 | -1 | 0;
|
|
99
99
|
/**
|
|
100
100
|
* element-plus版本号是否小于'2.6.0'
|
|
101
101
|
*/
|
|
@@ -118,13 +118,22 @@ export declare const getLabel: (label: PlusColumn['label']) => string;
|
|
|
118
118
|
*/
|
|
119
119
|
export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
120
120
|
__children: PlusRouteRecordRaw[] | undefined;
|
|
121
|
-
|
|
121
|
+
end?: boolean | undefined;
|
|
122
|
+
sensitive?: boolean | undefined;
|
|
123
|
+
strict?: boolean | undefined;
|
|
124
|
+
component?: ( RouteComponent | (() => Promise< RouteComponent>)) | null | undefined;
|
|
125
|
+
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
126
|
+
redirect?: RouteRecordRedirectOption | undefined;
|
|
122
127
|
props?: (boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)) | Record<string, boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)> | undefined;
|
|
128
|
+
path?: string | undefined;
|
|
129
|
+
alias?: string | string[] | undefined;
|
|
130
|
+
name?: RouteRecordName | undefined;
|
|
131
|
+
beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
|
|
123
132
|
meta?: ( RouteMeta & {
|
|
124
133
|
title?: string | undefined;
|
|
125
|
-
icon?: VNode<RendererNode, RendererElement, {
|
|
134
|
+
icon?: Component | VNode<RendererNode, RendererElement, {
|
|
126
135
|
[key: string]: any;
|
|
127
|
-
}> |
|
|
136
|
+
}> | ((route: PlusRouteRecordRaw) => VNode<RendererNode, RendererElement, {
|
|
128
137
|
[key: string]: any;
|
|
129
138
|
}>) | undefined;
|
|
130
139
|
sort?: number | undefined;
|
|
@@ -132,13 +141,4 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
132
141
|
hideInBreadcrumb?: boolean | undefined;
|
|
133
142
|
disabled?: boolean | undefined;
|
|
134
143
|
}) | undefined;
|
|
135
|
-
path?: string | undefined;
|
|
136
|
-
component?: ( RouteComponent | (() => Promise< RouteComponent>)) | null | undefined;
|
|
137
|
-
end?: boolean | undefined;
|
|
138
|
-
sensitive?: boolean | undefined;
|
|
139
|
-
strict?: boolean | undefined;
|
|
140
|
-
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
141
|
-
redirect?: RouteRecordRedirectOption | undefined;
|
|
142
|
-
alias?: string | string[] | undefined;
|
|
143
|
-
beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
|
|
144
144
|
};
|
|
@@ -126,9 +126,9 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
|
|
|
126
126
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
127
127
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
duration: number;
|
|
130
129
|
color: string;
|
|
131
130
|
separator: string;
|
|
131
|
+
duration: number;
|
|
132
132
|
fontSize: string;
|
|
133
133
|
prefix: string;
|
|
134
134
|
startVal: number;
|
|
@@ -119,9 +119,9 @@ declare const _default: DefineComponent<{
|
|
|
119
119
|
onMounted?: ((...args: any[]) => any) | undefined;
|
|
120
120
|
onCallback?: ((...args: any[]) => any) | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
duration: number;
|
|
123
122
|
color: string;
|
|
124
123
|
separator: string;
|
|
124
|
+
duration: number;
|
|
125
125
|
fontSize: string;
|
|
126
126
|
prefix: string;
|
|
127
127
|
startVal: number;
|
|
@@ -15,7 +15,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
15
15
|
width: {},
|
|
16
16
|
size: {},
|
|
17
17
|
maxHeight: { type: [String, Number, Boolean], default: "720px" },
|
|
18
|
-
showHeaderBorder: { type: Boolean, default:
|
|
18
|
+
showHeaderBorder: { type: Boolean, default: true }
|
|
19
19
|
},
|
|
20
20
|
setup(__props) {
|
|
21
21
|
const props = __props;
|
|
@@ -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
|
}, {}>, {
|
|
@@ -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-e05479bb"], ["__file", "index.vue"]]);
|
|
9
9
|
|
|
10
10
|
exports.default = YcDrawerComponent;
|
|
@@ -7,7 +7,7 @@ var lodashEs = require('lodash-es');
|
|
|
7
7
|
var ElementPlusIconsVue = require('@element-plus/icons-vue');
|
|
8
8
|
var store = require('../store.js');
|
|
9
9
|
|
|
10
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
10
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-e05479bb"), n = n(), vue.popScopeId(), n);
|
|
11
11
|
const _hoisted_1 = { class: "custom-drawer-header" };
|
|
12
12
|
const _hoisted_2 = { class: "header-content" };
|
|
13
13
|
const _hoisted_3 = ["id"];
|
|
@@ -147,21 +147,21 @@ export declare const drawerStore: Ref<{
|
|
|
147
147
|
close: () => void;
|
|
148
148
|
titleId: string;
|
|
149
149
|
titleClass: string;
|
|
150
|
-
}) => VNode<RendererNode, RendererElement, {
|
|
150
|
+
}) => Component | VNode<RendererNode, RendererElement, {
|
|
151
151
|
[key: string]: any;
|
|
152
|
-
}>
|
|
152
|
+
}>) | undefined;
|
|
153
153
|
contentRenderer?: ((params: {
|
|
154
154
|
options: DrawerOptions;
|
|
155
155
|
index: number;
|
|
156
|
-
}) => VNode<RendererNode, RendererElement, {
|
|
156
|
+
}) => Component | VNode<RendererNode, RendererElement, {
|
|
157
157
|
[key: string]: any;
|
|
158
|
-
}>
|
|
158
|
+
}>) | undefined;
|
|
159
159
|
footerRenderer?: ((params: {
|
|
160
160
|
options: DrawerOptions;
|
|
161
161
|
index: number;
|
|
162
|
-
}) => VNode<RendererNode, RendererElement, {
|
|
162
|
+
}) => Component | VNode<RendererNode, RendererElement, {
|
|
163
163
|
[key: string]: any;
|
|
164
|
-
}>
|
|
164
|
+
}>) | undefined;
|
|
165
165
|
footerButtons?: {
|
|
166
166
|
label: string;
|
|
167
167
|
size?: "default" | "small" | "large" | 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>;
|