yc-pro-components 0.0.83 → 0.0.84
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +19 -19
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +10 -10
- package/es/components/dialog-form/index.d.ts +7 -7
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +32 -32
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +14 -14
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +38 -38
- package/es/components/form-item/src/index.vue.d.ts +24 -16
- package/es/components/form-item/src/index.vue2.mjs +429 -301
- package/es/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/es/components/form-item/src/overflow-tooltip.mjs +67 -0
- 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 +9 -9
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +112 -112
- package/es/components/page/src/index.vue.d.ts +42 -42
- package/es/components/radio/index.d.ts +23 -23
- package/es/components/radio/src/index.vue.d.ts +23 -23
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +49 -49
- package/es/components/search/src/index.vue.d.ts +21 -21
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- 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/index.d.ts +24 -24
- 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 +77 -77
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +102 -102
- package/es/index.css +9 -9
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +495 -302
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +495 -302
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +19 -19
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +10 -10
- package/lib/components/dialog-form/index.d.ts +7 -7
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +32 -32
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +14 -14
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +38 -38
- package/lib/components/form-item/src/index.vue.d.ts +24 -16
- package/lib/components/form-item/src/index.vue2.js +428 -300
- package/lib/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/lib/components/form-item/src/overflow-tooltip.js +71 -0
- 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 +9 -9
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +112 -112
- package/lib/components/page/src/index.vue.d.ts +42 -42
- package/lib/components/radio/index.d.ts +23 -23
- package/lib/components/radio/src/index.vue.d.ts +23 -23
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +49 -49
- package/lib/components/search/src/index.vue.d.ts +21 -21
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- 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/index.d.ts +24 -24
- 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 +77 -77
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +102 -102
- package/lib/index.css +10 -10
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-form-item.css +1 -1
- package/theme-chalk/src/form-item.scss +56 -0
|
@@ -122,12 +122,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
122
122
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
123
123
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
124
124
|
readonly label: string | ComputedRef<string>;
|
|
125
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
125
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
126
126
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
127
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
127
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
128
128
|
style?: CSSProperties | undefined;
|
|
129
129
|
class?: any;
|
|
130
|
-
} & RecordType> | ComputedRef<
|
|
130
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
131
131
|
style?: CSSProperties | undefined;
|
|
132
132
|
class?: any;
|
|
133
133
|
} & RecordType>>;
|
|
@@ -149,7 +149,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
149
149
|
};
|
|
150
150
|
rows: number;
|
|
151
151
|
autocomplete: string;
|
|
152
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
152
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
153
153
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
154
154
|
step: string | number;
|
|
155
155
|
format: string | ProgressFn | undefined;
|
|
@@ -194,12 +194,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
194
194
|
fieldInstance?: any;
|
|
195
195
|
valueIsReady?: Ref<boolean> | undefined;
|
|
196
196
|
prop: string;
|
|
197
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
197
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
198
198
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
199
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
199
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
200
200
|
style?: CSSProperties | undefined;
|
|
201
201
|
class?: any;
|
|
202
|
-
} & RecordType> | ComputedRef<
|
|
202
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
203
203
|
style?: CSSProperties | undefined;
|
|
204
204
|
class?: any;
|
|
205
205
|
} & RecordType>>;
|
|
@@ -230,12 +230,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
230
230
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
231
231
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
232
232
|
readonly label: string | ComputedRef<string>;
|
|
233
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
233
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
234
234
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
235
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
235
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
236
236
|
style?: CSSProperties | undefined;
|
|
237
237
|
class?: any;
|
|
238
|
-
} & RecordType> | ComputedRef<
|
|
238
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
239
239
|
style?: CSSProperties | undefined;
|
|
240
240
|
class?: any;
|
|
241
241
|
} & RecordType>>;
|
|
@@ -257,7 +257,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
257
257
|
};
|
|
258
258
|
rows: number;
|
|
259
259
|
autocomplete: string;
|
|
260
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
260
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
261
261
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
262
262
|
step: string | number;
|
|
263
263
|
format: string | ProgressFn | undefined;
|
|
@@ -302,12 +302,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
302
302
|
fieldInstance?: any;
|
|
303
303
|
valueIsReady?: Ref<boolean> | undefined;
|
|
304
304
|
prop: string;
|
|
305
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
305
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
306
306
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
307
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
307
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
308
308
|
style?: CSSProperties | undefined;
|
|
309
309
|
class?: any;
|
|
310
|
-
} & RecordType> | ComputedRef<
|
|
310
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
311
311
|
style?: CSSProperties | undefined;
|
|
312
312
|
class?: any;
|
|
313
313
|
} & RecordType>>;
|
|
@@ -21,10 +21,10 @@ export declare const PlusFormItem: {
|
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
tooltip: {
|
|
24
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
24
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
25
25
|
style?: CSSProperties | undefined;
|
|
26
26
|
class?: any;
|
|
27
|
-
} & RecordType> | ComputedRef<
|
|
27
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
28
28
|
style?: CSSProperties | undefined;
|
|
29
29
|
class?: any;
|
|
30
30
|
} & RecordType>>>;
|
|
@@ -52,7 +52,7 @@ export declare const PlusFormItem: {
|
|
|
52
52
|
};
|
|
53
53
|
rows: number;
|
|
54
54
|
autocomplete: string;
|
|
55
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
55
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
56
56
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
57
57
|
step: string | number;
|
|
58
58
|
format: string | ProgressFn | undefined;
|
|
@@ -69,7 +69,7 @@ export declare const PlusFormItem: {
|
|
|
69
69
|
default: () => never[];
|
|
70
70
|
};
|
|
71
71
|
modelValue: {
|
|
72
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
72
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
73
73
|
default: string;
|
|
74
74
|
};
|
|
75
75
|
fieldSlots: {
|
|
@@ -141,10 +141,10 @@ export declare const PlusFormItem: {
|
|
|
141
141
|
}> & Omit<{
|
|
142
142
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
143
143
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
145
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
144
146
|
readonly label?: string | undefined;
|
|
145
147
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
146
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
147
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
148
148
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
149
149
|
readonly error?: string | undefined;
|
|
150
150
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -349,10 +349,10 @@ export declare const PlusFormItem: {
|
|
|
349
349
|
required: true;
|
|
350
350
|
};
|
|
351
351
|
tooltip: {
|
|
352
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
352
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
353
353
|
style?: CSSProperties | undefined;
|
|
354
354
|
class?: any;
|
|
355
|
-
} & RecordType> | ComputedRef<
|
|
355
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
356
356
|
style?: CSSProperties | undefined;
|
|
357
357
|
class?: any;
|
|
358
358
|
} & RecordType>>>;
|
|
@@ -380,7 +380,7 @@ export declare const PlusFormItem: {
|
|
|
380
380
|
};
|
|
381
381
|
rows: number;
|
|
382
382
|
autocomplete: string;
|
|
383
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
383
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
384
384
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
385
385
|
step: string | number;
|
|
386
386
|
format: string | ProgressFn | undefined;
|
|
@@ -397,7 +397,7 @@ export declare const PlusFormItem: {
|
|
|
397
397
|
default: () => never[];
|
|
398
398
|
};
|
|
399
399
|
modelValue: {
|
|
400
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
400
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
401
401
|
default: string;
|
|
402
402
|
};
|
|
403
403
|
fieldSlots: {
|
|
@@ -485,7 +485,7 @@ export declare const PlusFormItem: {
|
|
|
485
485
|
};
|
|
486
486
|
rows: number;
|
|
487
487
|
autocomplete: string;
|
|
488
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
488
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
489
489
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
490
490
|
step: string | number;
|
|
491
491
|
format: string | ProgressFn | undefined;
|
|
@@ -496,7 +496,7 @@ export declare const PlusFormItem: {
|
|
|
496
496
|
autosize: InputAutoSize;
|
|
497
497
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
498
498
|
options: OptionsType;
|
|
499
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
499
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
500
500
|
fieldSlots: {
|
|
501
501
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
502
502
|
};
|
|
@@ -542,10 +542,10 @@ export declare const PlusFormItem: {
|
|
|
542
542
|
required: true;
|
|
543
543
|
};
|
|
544
544
|
tooltip: {
|
|
545
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
545
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
546
546
|
style?: CSSProperties | undefined;
|
|
547
547
|
class?: any;
|
|
548
|
-
} & RecordType> | ComputedRef<
|
|
548
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
549
549
|
style?: CSSProperties | undefined;
|
|
550
550
|
class?: any;
|
|
551
551
|
} & RecordType>>>;
|
|
@@ -573,7 +573,7 @@ export declare const PlusFormItem: {
|
|
|
573
573
|
};
|
|
574
574
|
rows: number;
|
|
575
575
|
autocomplete: string;
|
|
576
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
576
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
577
577
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
578
578
|
step: string | number;
|
|
579
579
|
format: string | ProgressFn | undefined;
|
|
@@ -590,7 +590,7 @@ export declare const PlusFormItem: {
|
|
|
590
590
|
default: () => never[];
|
|
591
591
|
};
|
|
592
592
|
modelValue: {
|
|
593
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
593
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
594
594
|
default: string;
|
|
595
595
|
};
|
|
596
596
|
fieldSlots: {
|
|
@@ -662,10 +662,10 @@ export declare const PlusFormItem: {
|
|
|
662
662
|
}> & Omit<{
|
|
663
663
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
664
664
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
665
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
666
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
665
667
|
readonly label?: string | undefined;
|
|
666
668
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
667
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
668
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
669
669
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
670
670
|
readonly error?: string | undefined;
|
|
671
671
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -881,7 +881,7 @@ export declare const PlusFormItem: {
|
|
|
881
881
|
};
|
|
882
882
|
rows: number;
|
|
883
883
|
autocomplete: string;
|
|
884
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
884
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
885
885
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
886
886
|
step: string | number;
|
|
887
887
|
format: string | ProgressFn | undefined;
|
|
@@ -892,7 +892,7 @@ export declare const PlusFormItem: {
|
|
|
892
892
|
autosize: InputAutoSize;
|
|
893
893
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
894
894
|
options: OptionsType;
|
|
895
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
895
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
896
896
|
fieldSlots: {
|
|
897
897
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
898
898
|
};
|
|
@@ -935,10 +935,10 @@ export declare const PlusFormItem: {
|
|
|
935
935
|
required: true;
|
|
936
936
|
};
|
|
937
937
|
tooltip: {
|
|
938
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
938
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
939
939
|
style?: CSSProperties | undefined;
|
|
940
940
|
class?: any;
|
|
941
|
-
} & RecordType> | ComputedRef<
|
|
941
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
942
942
|
style?: CSSProperties | undefined;
|
|
943
943
|
class?: any;
|
|
944
944
|
} & RecordType>>>;
|
|
@@ -966,7 +966,7 @@ export declare const PlusFormItem: {
|
|
|
966
966
|
};
|
|
967
967
|
rows: number;
|
|
968
968
|
autocomplete: string;
|
|
969
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
969
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
970
970
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
971
971
|
step: string | number;
|
|
972
972
|
format: string | ProgressFn | undefined;
|
|
@@ -983,7 +983,7 @@ export declare const PlusFormItem: {
|
|
|
983
983
|
default: () => never[];
|
|
984
984
|
};
|
|
985
985
|
modelValue: {
|
|
986
|
-
type: PropType<string | number | boolean | string[] | [string, string] |
|
|
986
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
987
987
|
default: string;
|
|
988
988
|
};
|
|
989
989
|
fieldSlots: {
|
|
@@ -1055,10 +1055,10 @@ export declare const PlusFormItem: {
|
|
|
1055
1055
|
}> & Omit<{
|
|
1056
1056
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
1057
1057
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1058
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1059
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1058
1060
|
readonly label?: string | undefined;
|
|
1059
1061
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
1060
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1061
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1062
1062
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
1063
1063
|
readonly error?: string | undefined;
|
|
1064
1064
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -1277,7 +1277,7 @@ export declare const PlusFormItem: {
|
|
|
1277
1277
|
};
|
|
1278
1278
|
rows: number;
|
|
1279
1279
|
autocomplete: string;
|
|
1280
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
1280
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1281
1281
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1282
1282
|
step: string | number;
|
|
1283
1283
|
format: string | ProgressFn | undefined;
|
|
@@ -1288,7 +1288,7 @@ export declare const PlusFormItem: {
|
|
|
1288
1288
|
autosize: InputAutoSize;
|
|
1289
1289
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1290
1290
|
options: OptionsType;
|
|
1291
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1291
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1292
1292
|
fieldSlots: {
|
|
1293
1293
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1294
1294
|
};
|
|
@@ -1322,12 +1322,12 @@ export declare const PlusFormItem: {
|
|
|
1322
1322
|
fieldInstance?: any;
|
|
1323
1323
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1324
1324
|
prop: string;
|
|
1325
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1325
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1326
1326
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1327
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1327
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1328
1328
|
style?: CSSProperties | undefined;
|
|
1329
1329
|
class?: any;
|
|
1330
|
-
} & RecordType> | ComputedRef<
|
|
1330
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1331
1331
|
style?: CSSProperties | undefined;
|
|
1332
1332
|
class?: any;
|
|
1333
1333
|
} & RecordType>>;
|
|
@@ -1358,12 +1358,12 @@ export declare const PlusFormItem: {
|
|
|
1358
1358
|
}) => any>> & Partial<Record<string, (_: {
|
|
1359
1359
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1360
1360
|
readonly label: string | ComputedRef<string>;
|
|
1361
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1361
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1362
1362
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1363
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1363
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1364
1364
|
style?: CSSProperties | undefined;
|
|
1365
1365
|
class?: any;
|
|
1366
|
-
} & RecordType> | ComputedRef<
|
|
1366
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1367
1367
|
style?: CSSProperties | undefined;
|
|
1368
1368
|
class?: any;
|
|
1369
1369
|
} & RecordType>>;
|
|
@@ -1385,7 +1385,7 @@ export declare const PlusFormItem: {
|
|
|
1385
1385
|
};
|
|
1386
1386
|
rows: number;
|
|
1387
1387
|
autocomplete: string;
|
|
1388
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
1388
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1389
1389
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1390
1390
|
step: string | number;
|
|
1391
1391
|
format: string | ProgressFn | undefined;
|
|
@@ -1430,12 +1430,12 @@ export declare const PlusFormItem: {
|
|
|
1430
1430
|
fieldInstance?: any;
|
|
1431
1431
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1432
1432
|
prop: string;
|
|
1433
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1433
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1434
1434
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1435
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1435
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1436
1436
|
style?: CSSProperties | undefined;
|
|
1437
1437
|
class?: any;
|
|
1438
|
-
} & RecordType> | ComputedRef<
|
|
1438
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1439
1439
|
style?: CSSProperties | undefined;
|
|
1440
1440
|
class?: any;
|
|
1441
1441
|
} & RecordType>>;
|
|
@@ -3,7 +3,7 @@ import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages
|
|
|
3
3
|
import { FormItemProp, FormItemRule, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
5
5
|
import { PlusColumn, FieldValueType, OptionsRow, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType } from 'yc-pro-components/es/types';
|
|
6
|
-
import { Ref, DefineComponent, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent,
|
|
6
|
+
import { Ref, nextTick, DefineComponent, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, PublicProps, CSSProperties } from 'vue';
|
|
7
7
|
|
|
8
8
|
export interface PlusFormItemProps {
|
|
9
9
|
modelValue?: FieldValueType;
|
|
@@ -71,10 +71,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
71
71
|
}> & Omit<{
|
|
72
72
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
73
73
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
74
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
75
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
74
76
|
readonly label?: string | undefined;
|
|
75
77
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
76
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
77
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
78
78
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
79
79
|
readonly error?: string | undefined;
|
|
80
80
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
@@ -201,7 +201,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
201
201
|
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
202
202
|
};
|
|
203
203
|
$forceUpdate: () => void;
|
|
204
|
-
$nextTick: nextTick;
|
|
204
|
+
$nextTick: typeof nextTick;
|
|
205
205
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
206
206
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
207
207
|
readonly label: StringConstructor;
|
|
@@ -310,11 +310,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
310
310
|
[index: string]: any;
|
|
311
311
|
lazy?: boolean | undefined;
|
|
312
312
|
trim?: boolean | undefined;
|
|
313
|
+
/**
|
|
314
|
+
* @desc 自动字典注入
|
|
315
|
+
* @version v0.2.0
|
|
316
|
+
*/
|
|
313
317
|
number?: boolean | undefined;
|
|
314
318
|
};
|
|
315
319
|
rows: number;
|
|
316
320
|
autocomplete: string;
|
|
317
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
321
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
318
322
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
319
323
|
step: string | number;
|
|
320
324
|
format: string | ProgressFn | undefined;
|
|
@@ -325,7 +329,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
325
329
|
autosize: InputAutoSize;
|
|
326
330
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
327
331
|
options: OptionsType;
|
|
328
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
332
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
329
333
|
fieldSlots: {
|
|
330
334
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
331
335
|
};
|
|
@@ -358,12 +362,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
358
362
|
fieldInstance?: any;
|
|
359
363
|
valueIsReady?: Ref<boolean> | undefined;
|
|
360
364
|
prop: string;
|
|
361
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
365
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
362
366
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
363
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
367
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
364
368
|
style?: CSSProperties | undefined;
|
|
365
369
|
class?: any;
|
|
366
|
-
} & RecordType> | ComputedRef<
|
|
370
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
367
371
|
style?: CSSProperties | undefined;
|
|
368
372
|
class?: any;
|
|
369
373
|
} & RecordType>>;
|
|
@@ -394,12 +398,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
394
398
|
}) => any>> & Partial<Record<string, (_: {
|
|
395
399
|
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
396
400
|
readonly label: string | ComputedRef<string>;
|
|
397
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
401
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
398
402
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
399
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
403
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
400
404
|
style?: CSSProperties | undefined;
|
|
401
405
|
class?: any;
|
|
402
|
-
} & RecordType> | ComputedRef<
|
|
406
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
403
407
|
style?: CSSProperties | undefined;
|
|
404
408
|
class?: any;
|
|
405
409
|
} & RecordType>>;
|
|
@@ -417,11 +421,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
417
421
|
[index: string]: any;
|
|
418
422
|
lazy?: boolean | undefined;
|
|
419
423
|
trim?: boolean | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* @desc 自动字典注入
|
|
426
|
+
* @version v0.2.0
|
|
427
|
+
*/
|
|
420
428
|
number?: boolean | undefined;
|
|
421
429
|
};
|
|
422
430
|
rows: number;
|
|
423
431
|
autocomplete: string;
|
|
424
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "
|
|
432
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
425
433
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
426
434
|
step: string | number;
|
|
427
435
|
format: string | ProgressFn | undefined;
|
|
@@ -466,12 +474,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
466
474
|
fieldInstance?: any;
|
|
467
475
|
valueIsReady?: Ref<boolean> | undefined;
|
|
468
476
|
prop: string;
|
|
469
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
477
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
470
478
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
471
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
479
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
472
480
|
style?: CSSProperties | undefined;
|
|
473
481
|
class?: any;
|
|
474
|
-
} & RecordType> | ComputedRef<
|
|
482
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
475
483
|
style?: CSSProperties | undefined;
|
|
476
484
|
class?: any;
|
|
477
485
|
} & RecordType>>;
|