yc-pro-components 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +49 -49
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +17 -17
- package/es/components/date-picker/src/index.vue.d.ts +9 -9
- package/es/components/dialog/index.d.ts +41 -41
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +109 -109
- package/es/components/dialog-form/src/index.vue.d.ts +35 -35
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +105 -105
- package/es/components/drawer-form/src/index.vue.d.ts +34 -34
- package/es/components/form/index.d.ts +123 -123
- package/es/components/form/src/form-content.vue.d.ts +24 -24
- package/es/components/form/src/index.vue.d.ts +43 -43
- package/es/components/form-item/index.d.ts +78 -78
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +48 -48
- package/es/components/input-tag/src/index.vue.d.ts +36 -36
- package/es/components/layout/index.d.ts +60 -60
- package/es/components/layout/src/index.vue.d.ts +20 -20
- package/es/components/page/index.d.ts +846 -846
- package/es/components/page/src/index.vue.d.ts +286 -286
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +47 -47
- package/es/components/radio/src/index.vue.d.ts +39 -39
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +324 -324
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/sidebar/index.d.ts +30 -30
- package/es/components/sidebar/src/index.vue.d.ts +10 -10
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +76 -76
- package/es/components/table/src/index.vue.d.ts +24 -24
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +6 -6
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +86 -86
- package/es/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/es/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +6 -6
- package/es/components/yc-segmented/src/index.d.ts +6 -6
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue2.mjs +31 -4
- package/es/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +31 -4
- package/index.min.js +2 -2
- package/index.min.mjs +3 -3
- package/index.mjs +31 -4
- package/lib/components/check-card/index.d.ts +49 -49
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +17 -17
- package/lib/components/date-picker/src/index.vue.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +41 -41
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +109 -109
- package/lib/components/dialog-form/src/index.vue.d.ts +35 -35
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +105 -105
- package/lib/components/drawer-form/src/index.vue.d.ts +34 -34
- package/lib/components/form/index.d.ts +123 -123
- package/lib/components/form/src/form-content.vue.d.ts +24 -24
- package/lib/components/form/src/index.vue.d.ts +43 -43
- package/lib/components/form-item/index.d.ts +78 -78
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +48 -48
- package/lib/components/input-tag/src/index.vue.d.ts +36 -36
- package/lib/components/layout/index.d.ts +60 -60
- package/lib/components/layout/src/index.vue.d.ts +20 -20
- package/lib/components/page/index.d.ts +846 -846
- package/lib/components/page/src/index.vue.d.ts +286 -286
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +47 -47
- package/lib/components/radio/src/index.vue.d.ts +39 -39
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +324 -324
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/sidebar/index.d.ts +30 -30
- package/lib/components/sidebar/src/index.vue.d.ts +10 -10
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +76 -76
- package/lib/components/table/src/index.vue.d.ts +24 -24
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +6 -6
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +86 -86
- package/lib/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/lib/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +6 -6
- package/lib/components/yc-segmented/src/index.d.ts +6 -6
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue2.js +30 -3
- package/lib/hooks/usePlusFormReset.d.ts +487 -487
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -54,13 +54,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
54
54
|
collapseTransition: undefined;
|
|
55
55
|
clearable: boolean;
|
|
56
56
|
}>>> & {
|
|
57
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
58
57
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
58
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
modelValue: FieldValues;
|
|
61
60
|
collapseDuration: number;
|
|
62
61
|
collapseTransition: boolean;
|
|
63
62
|
columns: PlusColumn[];
|
|
63
|
+
modelValue: FieldValues;
|
|
64
64
|
hasLabel: boolean;
|
|
65
65
|
rowProps: Partial< Mutable<RowProps> & {
|
|
66
66
|
style?: CSSProperties | undefined;
|
|
@@ -94,10 +94,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
94
94
|
value: string | number;
|
|
95
95
|
row: RecordType;
|
|
96
96
|
}) => OptionsRow<undefined>) | undefined;
|
|
97
|
-
tooltip?: string |
|
|
97
|
+
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
98
98
|
style?: CSSProperties | undefined;
|
|
99
99
|
class?: any;
|
|
100
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
100
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
101
101
|
style?: CSSProperties | undefined;
|
|
102
102
|
class?: any;
|
|
103
103
|
} & RecordType>> | undefined;
|
|
@@ -159,7 +159,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
159
159
|
};
|
|
160
160
|
rows: number;
|
|
161
161
|
autocomplete: string;
|
|
162
|
-
type: "" | "number" | "
|
|
162
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
163
163
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
164
164
|
step: string | number;
|
|
165
165
|
format: string | ProgressFn | undefined;
|
|
@@ -191,14 +191,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
191
191
|
label?: string | undefined;
|
|
192
192
|
}) => RenderTypes) | undefined;
|
|
193
193
|
}) => any>> & Partial<Record<string, (_: {
|
|
194
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
194
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
195
195
|
readonly label: string | ComputedRef<string>;
|
|
196
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
196
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
197
197
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
198
|
-
readonly tooltip: string |
|
|
198
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
199
199
|
style?: CSSProperties | undefined;
|
|
200
200
|
class?: any;
|
|
201
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
201
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
202
202
|
style?: CSSProperties | undefined;
|
|
203
203
|
class?: any;
|
|
204
204
|
} & RecordType>>;
|
|
@@ -220,7 +220,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
220
220
|
};
|
|
221
221
|
rows: number;
|
|
222
222
|
autocomplete: string;
|
|
223
|
-
type: "" | "number" | "
|
|
223
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
224
224
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
225
225
|
step: string | number;
|
|
226
226
|
format: string | ProgressFn | undefined;
|
|
@@ -259,12 +259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
259
259
|
fieldInstance?: any;
|
|
260
260
|
valueIsReady?: Ref<boolean> | undefined;
|
|
261
261
|
prop: string;
|
|
262
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
262
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
263
263
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
264
|
-
tooltip: string |
|
|
264
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
265
265
|
style?: CSSProperties | undefined;
|
|
266
266
|
class?: any;
|
|
267
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
267
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
268
268
|
style?: CSSProperties | undefined;
|
|
269
269
|
class?: any;
|
|
270
270
|
} & RecordType>>;
|
|
@@ -287,14 +287,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
287
287
|
clearable: boolean;
|
|
288
288
|
index: number;
|
|
289
289
|
}) => any>> & Partial<Record<string, (_: {
|
|
290
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
290
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
291
291
|
readonly label: string | ComputedRef<string>;
|
|
292
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
292
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
293
293
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
294
|
-
readonly tooltip: string |
|
|
294
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
295
295
|
style?: CSSProperties | undefined;
|
|
296
296
|
class?: any;
|
|
297
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
297
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
298
298
|
style?: CSSProperties | undefined;
|
|
299
299
|
class?: any;
|
|
300
300
|
} & RecordType>>;
|
|
@@ -316,7 +316,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
316
316
|
};
|
|
317
317
|
rows: number;
|
|
318
318
|
autocomplete: string;
|
|
319
|
-
type: "" | "number" | "
|
|
319
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
320
320
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
321
321
|
step: string | number;
|
|
322
322
|
format: string | ProgressFn | undefined;
|
|
@@ -355,12 +355,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
355
355
|
fieldInstance?: any;
|
|
356
356
|
valueIsReady?: Ref<boolean> | undefined;
|
|
357
357
|
prop: string;
|
|
358
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
358
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
359
359
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
360
|
-
tooltip: string |
|
|
360
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
361
361
|
style?: CSSProperties | undefined;
|
|
362
362
|
class?: any;
|
|
363
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
363
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
364
364
|
style?: CSSProperties | undefined;
|
|
365
365
|
class?: any;
|
|
366
366
|
} & RecordType>>;
|
|
@@ -405,10 +405,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
405
405
|
value: string | number;
|
|
406
406
|
row: RecordType;
|
|
407
407
|
}) => OptionsRow<undefined>) | undefined;
|
|
408
|
-
tooltip?: string |
|
|
408
|
+
tooltip?: string | Partial< Mutable<ElTooltipProps> & {
|
|
409
409
|
style?: CSSProperties | undefined;
|
|
410
410
|
class?: any;
|
|
411
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
411
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
412
412
|
style?: CSSProperties | undefined;
|
|
413
413
|
class?: any;
|
|
414
414
|
} & RecordType>> | undefined;
|
|
@@ -470,7 +470,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
470
470
|
};
|
|
471
471
|
rows: number;
|
|
472
472
|
autocomplete: string;
|
|
473
|
-
type: "" | "number" | "
|
|
473
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
474
474
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
475
475
|
step: string | number;
|
|
476
476
|
format: string | ProgressFn | undefined;
|
|
@@ -40,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
42
42
|
};
|
|
43
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
44
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
43
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
44
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
45
45
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
46
46
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
47
47
|
readonly inline: BooleanConstructor;
|
|
@@ -58,7 +58,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
58
58
|
__epPropKey: true;
|
|
59
59
|
};
|
|
60
60
|
readonly size: {
|
|
61
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
61
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
62
62
|
readonly required: false;
|
|
63
63
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
64
|
__epPropKey: true;
|
|
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
76
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
77
|
__epPropKey: true;
|
|
78
78
|
};
|
|
79
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
80
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
79
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
80
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
81
81
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
82
82
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
83
83
|
readonly inline: BooleanConstructor;
|
|
@@ -94,7 +94,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
94
94
|
__epPropKey: true;
|
|
95
95
|
};
|
|
96
96
|
readonly size: {
|
|
97
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
97
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
98
98
|
readonly required: false;
|
|
99
99
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
100
|
__epPropKey: true;
|
|
@@ -105,7 +105,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
105
105
|
}>>;
|
|
106
106
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
107
107
|
fields: FormItemContext[];
|
|
108
|
-
formSize: ComputedRef<"" | "
|
|
108
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
109
109
|
ns: {
|
|
110
110
|
namespace: ComputedRef<string>;
|
|
111
111
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -125,7 +125,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
125
125
|
cssVarBlockName: (name: string) => string;
|
|
126
126
|
};
|
|
127
127
|
formClasses: ComputedRef<(string | {
|
|
128
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
128
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
129
129
|
})[]>;
|
|
130
130
|
getField: (prop: string) => FormItemContext | undefined;
|
|
131
131
|
addField: (field: FormItemContext) => void;
|
|
@@ -148,8 +148,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
148
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
149
|
__epPropKey: true;
|
|
150
150
|
};
|
|
151
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
152
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
151
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
152
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
153
153
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
154
154
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
155
155
|
readonly inline: BooleanConstructor;
|
|
@@ -166,7 +166,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
166
166
|
__epPropKey: true;
|
|
167
167
|
};
|
|
168
168
|
readonly size: {
|
|
169
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
169
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
170
170
|
readonly required: false;
|
|
171
171
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
172
172
|
__epPropKey: true;
|
|
@@ -176,8 +176,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
176
176
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
177
177
|
}, {
|
|
178
178
|
readonly disabled: boolean;
|
|
179
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
180
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
179
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
180
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
181
181
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
182
182
|
readonly labelSuffix: string;
|
|
183
183
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -202,8 +202,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
202
202
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
203
203
|
__epPropKey: true;
|
|
204
204
|
};
|
|
205
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
206
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
205
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
206
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
207
207
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
208
208
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
209
209
|
readonly inline: BooleanConstructor;
|
|
@@ -220,7 +220,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
220
220
|
__epPropKey: true;
|
|
221
221
|
};
|
|
222
222
|
readonly size: {
|
|
223
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
223
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
224
224
|
readonly required: false;
|
|
225
225
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
226
226
|
__epPropKey: true;
|
|
@@ -238,8 +238,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
238
238
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
239
239
|
__epPropKey: true;
|
|
240
240
|
};
|
|
241
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
242
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
241
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
242
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
243
243
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
244
244
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
245
245
|
readonly inline: BooleanConstructor;
|
|
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
256
256
|
__epPropKey: true;
|
|
257
257
|
};
|
|
258
258
|
readonly size: {
|
|
259
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
259
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
260
260
|
readonly required: false;
|
|
261
261
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
262
262
|
__epPropKey: true;
|
|
@@ -267,7 +267,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
267
267
|
}>>;
|
|
268
268
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
269
269
|
fields: FormItemContext[];
|
|
270
|
-
formSize: ComputedRef<"" | "
|
|
270
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
271
271
|
ns: {
|
|
272
272
|
namespace: ComputedRef<string>;
|
|
273
273
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -287,7 +287,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
287
287
|
cssVarBlockName: (name: string) => string;
|
|
288
288
|
};
|
|
289
289
|
formClasses: ComputedRef<(string | {
|
|
290
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
290
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
291
291
|
})[]>;
|
|
292
292
|
getField: (prop: string) => FormItemContext | undefined;
|
|
293
293
|
addField: (field: FormItemContext) => void;
|
|
@@ -302,8 +302,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
302
302
|
scrollToField: (prop: FormItemProp) => void;
|
|
303
303
|
}, {}, {}, {}, {
|
|
304
304
|
readonly disabled: boolean;
|
|
305
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
306
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
305
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
306
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
307
307
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
308
308
|
readonly labelSuffix: string;
|
|
309
309
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -348,20 +348,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
348
348
|
collapseTransition: undefined;
|
|
349
349
|
clearable: boolean;
|
|
350
350
|
}>>> & {
|
|
351
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
352
351
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
353
352
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
354
353
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
354
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
355
355
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
356
356
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
357
357
|
}, {
|
|
358
|
-
modelValue: FieldValues;
|
|
359
358
|
collapseDuration: number;
|
|
360
359
|
collapseTransition: boolean;
|
|
361
360
|
columns: PlusColumn[];
|
|
362
361
|
group: false | PlusFormGroupRow[];
|
|
362
|
+
modelValue: FieldValues;
|
|
363
363
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
364
|
-
labelPosition: "top" | "
|
|
364
|
+
labelPosition: "top" | "left" | "right";
|
|
365
365
|
labelWidth: string | number;
|
|
366
366
|
labelSuffix: string;
|
|
367
367
|
hasLabel: boolean;
|
|
@@ -380,7 +380,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
380
380
|
submitText: string;
|
|
381
381
|
resetText: string;
|
|
382
382
|
submitLoading: boolean;
|
|
383
|
-
footerAlign: "
|
|
383
|
+
footerAlign: "left" | "right" | "center";
|
|
384
384
|
cardProps: Partial< Mutable<CardProps> & {
|
|
385
385
|
style?: CSSProperties | undefined;
|
|
386
386
|
class?: any;
|
|
@@ -399,14 +399,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
399
399
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
400
400
|
columns?: PlusColumn[] | undefined;
|
|
401
401
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
402
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
402
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
403
403
|
readonly label: string | ComputedRef<string>;
|
|
404
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
404
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
405
405
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
406
|
-
readonly tooltip: string |
|
|
406
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
407
407
|
style?: CSSProperties | undefined;
|
|
408
408
|
class?: any;
|
|
409
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
409
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
410
410
|
style?: CSSProperties | undefined;
|
|
411
411
|
class?: any;
|
|
412
412
|
} & RecordType>>;
|
|
@@ -428,7 +428,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
428
428
|
};
|
|
429
429
|
rows: number;
|
|
430
430
|
autocomplete: string;
|
|
431
|
-
type: "" | "number" | "
|
|
431
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
432
432
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
433
433
|
step: string | number;
|
|
434
434
|
format: string | ProgressFn | undefined;
|
|
@@ -467,12 +467,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
467
467
|
fieldInstance?: any;
|
|
468
468
|
valueIsReady?: Ref<boolean> | undefined;
|
|
469
469
|
prop: string;
|
|
470
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
470
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
471
471
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
472
|
-
tooltip: string |
|
|
472
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
473
473
|
style?: CSSProperties | undefined;
|
|
474
474
|
class?: any;
|
|
475
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
475
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
476
476
|
style?: CSSProperties | undefined;
|
|
477
477
|
class?: any;
|
|
478
478
|
} & RecordType>>;
|
|
@@ -495,14 +495,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
495
495
|
clearable: boolean;
|
|
496
496
|
index: number;
|
|
497
497
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
498
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
498
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
499
499
|
readonly label: string | ComputedRef<string>;
|
|
500
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
500
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
501
501
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
502
|
-
readonly tooltip: string |
|
|
502
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
503
503
|
style?: CSSProperties | undefined;
|
|
504
504
|
class?: any;
|
|
505
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
505
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
506
506
|
style?: CSSProperties | undefined;
|
|
507
507
|
class?: any;
|
|
508
508
|
} & RecordType>>;
|
|
@@ -524,7 +524,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
524
524
|
};
|
|
525
525
|
rows: number;
|
|
526
526
|
autocomplete: string;
|
|
527
|
-
type: "" | "number" | "
|
|
527
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
528
528
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
529
529
|
step: string | number;
|
|
530
530
|
format: string | ProgressFn | undefined;
|
|
@@ -563,12 +563,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
563
563
|
fieldInstance?: any;
|
|
564
564
|
valueIsReady?: Ref<boolean> | undefined;
|
|
565
565
|
prop: string;
|
|
566
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
566
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
567
567
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
568
|
-
tooltip: string |
|
|
568
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
569
569
|
style?: CSSProperties | undefined;
|
|
570
570
|
class?: any;
|
|
571
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
571
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
572
572
|
style?: CSSProperties | undefined;
|
|
573
573
|
class?: any;
|
|
574
574
|
} & RecordType>>;
|