yc-pro-components 0.0.5 → 0.0.7
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 +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- 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 +106 -106
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/index.d.ts +0 -1
- package/es/components/index.mjs +0 -2
- 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 +12 -12
- 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-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 +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 +1 -1
- 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-status-dialog/src/index.vue.mjs +1 -1
- 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/es/index.mjs +0 -2
- package/index.css +19 -14
- package/index.js +10 -2049
- package/index.min.css +2 -2
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +11 -2043
- 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 +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- 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 +106 -106
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +10 -19
- 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 +12 -12
- 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-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 +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 +1 -1
- 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-status-dialog/src/index.vue.js +1 -1
- 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/lib/index.js +10 -19
- 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 -2
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-yc-line-tree.css +1 -0
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/plus-yc-status-dialog.css +1 -1
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/yc-line-tree.scss +64 -0
- package/theme-chalk/src/yc-plus-tree.scss +102 -0
- package/theme-chalk/src/yc-status-dialog.scss +7 -4
- package/es/components/yc-icon/index.d.ts +0 -49
- package/es/components/yc-icon/index.mjs +0 -10
- package/es/components/yc-icon/src/hooks.d.ts +0 -11
- package/es/components/yc-icon/src/hooks.mjs +0 -80
- package/es/components/yc-icon/src/iconfont.d.ts +0 -21
- package/es/components/yc-icon/src/iconfont.mjs +0 -45
- package/es/components/yc-icon/src/iconifyIconOffline.d.ts +0 -34
- package/es/components/yc-icon/src/iconifyIconOffline.mjs +0 -51
- package/es/components/yc-icon/src/iconifyIconOnline.d.ts +0 -19
- package/es/components/yc-icon/src/iconifyIconOnline.mjs +0 -30
- package/es/components/yc-icon/src/types.d.ts +0 -35
- package/es/components/yc-icon/src/types.mjs +0 -1
- package/lib/components/yc-icon/index.d.ts +0 -49
- package/lib/components/yc-icon/index.js +0 -18
- package/lib/components/yc-icon/src/hooks.d.ts +0 -11
- package/lib/components/yc-icon/src/hooks.js +0 -82
- package/lib/components/yc-icon/src/iconfont.d.ts +0 -21
- package/lib/components/yc-icon/src/iconfont.js +0 -49
- package/lib/components/yc-icon/src/iconifyIconOffline.d.ts +0 -34
- package/lib/components/yc-icon/src/iconifyIconOffline.js +0 -55
- package/lib/components/yc-icon/src/iconifyIconOnline.d.ts +0 -19
- package/lib/components/yc-icon/src/iconifyIconOnline.js +0 -34
- package/lib/components/yc-icon/src/types.d.ts +0 -35
- package/lib/components/yc-icon/src/types.js +0 -2
|
@@ -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;
|
|
@@ -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" | "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" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "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;
|
|
@@ -295,7 +295,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
295
295
|
fieldInstance?: any;
|
|
296
296
|
valueIsReady?: Ref<boolean> | undefined;
|
|
297
297
|
prop: string;
|
|
298
|
-
modelValue: string | number | boolean |
|
|
298
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
299
299
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
300
300
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
301
301
|
style?: CSSProperties | undefined;
|
|
@@ -323,9 +323,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
323
323
|
clearable: boolean;
|
|
324
324
|
index: number;
|
|
325
325
|
}) => any>> & Partial<Record<string, (_: {
|
|
326
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
326
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
327
327
|
readonly label: string | ComputedRef<string>;
|
|
328
|
-
readonly modelValue: string | number | boolean |
|
|
328
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
329
329
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
330
330
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
331
331
|
style?: CSSProperties | undefined;
|
|
@@ -352,7 +352,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
352
352
|
};
|
|
353
353
|
rows: number;
|
|
354
354
|
autocomplete: string;
|
|
355
|
-
type: "" | "number" | "default" | "
|
|
355
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
356
356
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
357
357
|
step: string | number;
|
|
358
358
|
format: string | ProgressFn | undefined;
|
|
@@ -391,7 +391,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
391
391
|
fieldInstance?: any;
|
|
392
392
|
valueIsReady?: Ref<boolean> | undefined;
|
|
393
393
|
prop: string;
|
|
394
|
-
modelValue: string | number | boolean |
|
|
394
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
395
395
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
396
396
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
397
397
|
style?: CSSProperties | undefined;
|
|
@@ -419,9 +419,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
419
419
|
clearable: boolean;
|
|
420
420
|
index: number;
|
|
421
421
|
}) => any>> & Partial<Record<string, (_: {
|
|
422
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
422
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
423
423
|
readonly label: string | ComputedRef<string>;
|
|
424
|
-
readonly modelValue: string | number | boolean |
|
|
424
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
425
425
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
426
426
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
427
427
|
style?: CSSProperties | undefined;
|
|
@@ -448,7 +448,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
448
448
|
};
|
|
449
449
|
rows: number;
|
|
450
450
|
autocomplete: string;
|
|
451
|
-
type: "" | "number" | "default" | "
|
|
451
|
+
type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
452
452
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
453
453
|
step: string | number;
|
|
454
454
|
format: string | ProgressFn | undefined;
|
|
@@ -487,7 +487,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
487
487
|
fieldInstance?: any;
|
|
488
488
|
valueIsReady?: Ref<boolean> | undefined;
|
|
489
489
|
prop: string;
|
|
490
|
-
modelValue: string | number | boolean |
|
|
490
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
491
491
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
492
492
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
493
493
|
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;
|
|
@@ -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
|
}, {}>, {
|
|
@@ -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>;
|