yc-pro-components 0.0.8 → 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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +7 -7
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +16 -16
- package/es/components/date-picker/src/index.vue.d.ts +8 -8
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +80 -80
- package/es/components/dialog-form/src/index.vue.d.ts +28 -28
- package/es/components/display-item/index.d.ts +9 -9
- package/es/components/display-item/src/index.vue.d.ts +9 -9
- package/es/components/drawer-form/index.d.ts +95 -95
- package/es/components/drawer-form/src/index.vue.d.ts +28 -28
- package/es/components/form/index.d.ts +89 -89
- package/es/components/form/src/form-content.vue.d.ts +8 -8
- package/es/components/form/src/index.vue.d.ts +31 -31
- package/es/components/form-item/index.d.ts +46 -46
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- package/es/components/input-tag/index.d.ts +28 -28
- package/es/components/input-tag/src/index.vue.d.ts +28 -28
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +507 -507
- package/es/components/page/src/index.vue.d.ts +171 -171
- package/es/components/pagination/index.d.ts +7 -7
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +37 -37
- package/es/components/radio/src/index.vue.d.ts +37 -37
- 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 +205 -205
- package/es/components/search/src/index.vue.d.ts +69 -69
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/table/index.d.ts +40 -40
- package/es/components/table/src/index.vue.d.ts +12 -12
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/es/components/table/src/table-column.vue.d.ts +9 -9
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +5 -5
- 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-drawer/store.d.ts +13 -13
- package/es/components/yc-more-actions/index.d.ts +84 -84
- package/es/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +378 -378
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +4 -4
- package/es/components/yc-segmented/src/index.d.ts +4 -4
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue2.mjs +31 -4
- package/es/hooks/usePlusFormReset.d.ts +384 -384
- 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 +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +7 -7
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +16 -16
- package/lib/components/date-picker/src/index.vue.d.ts +8 -8
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +80 -80
- package/lib/components/dialog-form/src/index.vue.d.ts +28 -28
- package/lib/components/display-item/index.d.ts +9 -9
- package/lib/components/display-item/src/index.vue.d.ts +9 -9
- package/lib/components/drawer-form/index.d.ts +95 -95
- package/lib/components/drawer-form/src/index.vue.d.ts +28 -28
- package/lib/components/form/index.d.ts +89 -89
- package/lib/components/form/src/form-content.vue.d.ts +8 -8
- package/lib/components/form/src/index.vue.d.ts +31 -31
- package/lib/components/form-item/index.d.ts +46 -46
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- package/lib/components/input-tag/index.d.ts +28 -28
- package/lib/components/input-tag/src/index.vue.d.ts +28 -28
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +507 -507
- package/lib/components/page/src/index.vue.d.ts +171 -171
- package/lib/components/pagination/index.d.ts +7 -7
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +37 -37
- package/lib/components/radio/src/index.vue.d.ts +37 -37
- 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 +205 -205
- package/lib/components/search/src/index.vue.d.ts +69 -69
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/src/index.vue.d.ts +12 -12
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
- package/lib/components/table/src/table-column.vue.d.ts +9 -9
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +5 -5
- 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-drawer/store.d.ts +13 -13
- package/lib/components/yc-more-actions/index.d.ts +84 -84
- package/lib/components/yc-more-actions/src/index.vue.d.ts +6 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +378 -378
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +4 -4
- package/lib/components/yc-segmented/src/index.d.ts +4 -4
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue2.js +30 -3
- package/lib/hooks/usePlusFormReset.d.ts +384 -384
- 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-yc-status-dialog.css +1 -1
- package/theme-chalk/src/yc-status-dialog.scss +1 -0
|
@@ -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;
|
|
@@ -193,7 +193,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
193
193
|
}) => any>> & Partial<Record<string, (_: {
|
|
194
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] |
|
|
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
198
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
199
199
|
style?: CSSProperties | undefined;
|
|
@@ -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,7 +259,7 @@ 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] |
|
|
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
264
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
265
265
|
style?: CSSProperties | undefined;
|
|
@@ -289,7 +289,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
289
289
|
}) => any>> & Partial<Record<string, (_: {
|
|
290
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] |
|
|
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
294
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
295
295
|
style?: CSSProperties | undefined;
|
|
@@ -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,7 +355,7 @@ 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] |
|
|
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
360
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
361
361
|
style?: CSSProperties | 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>;
|
|
@@ -361,7 +361,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
361
361
|
group: false | PlusFormGroupRow[];
|
|
362
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;
|
|
@@ -401,7 +401,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
401
401
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
402
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] |
|
|
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
406
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
407
407
|
style?: CSSProperties | undefined;
|
|
@@ -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,7 +467,7 @@ 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] |
|
|
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
472
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
473
473
|
style?: CSSProperties | undefined;
|
|
@@ -497,7 +497,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
497
497
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
498
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] |
|
|
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
502
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
503
503
|
style?: CSSProperties | undefined;
|
|
@@ -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,7 +563,7 @@ 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] |
|
|
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
568
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
569
569
|
style?: CSSProperties | undefined;
|