yc-pro-components 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +76 -76
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +57 -57
- package/es/components/check-card-group/src/index.vue.d.ts +20 -20
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +11 -11
- 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 +31 -31
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +157 -138
- package/es/components/form/src/form-content.vue.d.ts +33 -29
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +28 -25
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- package/es/components/form-item/index.d.ts +150 -150
- package/es/components/form-item/src/form-item.mjs +2 -1
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/form-item/src/index.vue2.mjs +22 -18
- 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 +16 -16
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +1175 -1040
- package/es/components/page/src/index.vue.d.ts +383 -338
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/radio/index.d.ts +34 -34
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +494 -430
- package/es/components/search/src/index.vue.d.ts +143 -125
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +38 -38
- package/es/components/table/src/index.vue.d.ts +7 -7
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
- package/es/components/utils/index.d.ts +15 -15
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-dialog/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- package/es/components/yc-more-actions/index.d.ts +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- package/es/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +3 -3
- package/index.css +54 -54
- package/index.js +160 -144
- package/index.min.css +3 -3
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +160 -144
- package/lib/components/check-card/index.d.ts +76 -76
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +57 -57
- package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
- 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 +31 -31
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +157 -138
- package/lib/components/form/src/form-content.vue.d.ts +33 -29
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +28 -25
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- package/lib/components/form-item/index.d.ts +150 -150
- package/lib/components/form-item/src/form-item.js +2 -1
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/src/index.vue2.js +21 -17
- 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 +16 -16
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- 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 +1175 -1040
- package/lib/components/page/src/index.vue.d.ts +383 -338
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/radio/index.d.ts +34 -34
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +494 -430
- package/lib/components/search/src/index.vue.d.ts +143 -125
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +38 -38
- package/lib/components/table/src/index.vue.d.ts +7 -7
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue2.js +1 -0
- package/lib/components/utils/index.d.ts +15 -15
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-dialog/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- package/lib/components/yc-more-actions/index.d.ts +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +826 -736
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +6 -1
- package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
- package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +3 -3
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-display-item.css +1 -1
- package/theme-chalk/plus-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/plus-yc-dialog.css +1 -1
- package/theme-chalk/plus-yc-drawer.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/dialog.scss +45 -0
- package/theme-chalk/src/display-item.scss +1 -0
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
- package/theme-chalk/src/table.scss +10 -0
- package/theme-chalk/src/yc-dialog.scss +50 -0
- package/theme-chalk/src/yc-drawer.scss +1 -1
- package/theme-chalk/src/yc-plus-tree.scss +1 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
2
2
|
import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
3
3
|
import { LooseRequired } from '@vue/shared';
|
|
4
|
-
import { FormItemRule,
|
|
4
|
+
import { FormItemRule, ColProps, RowProps, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
5
5
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
6
6
|
import { PlusFormGroupRow } from 'yc-pro-components/es/components/form';
|
|
7
7
|
import { PlusSearchSelfProps as PlusSearchProps } from './type';
|
|
@@ -11,6 +11,7 @@ import { ComputedRef, DefineComponent, Ref, ComponentInternalInstance, CSSProper
|
|
|
11
11
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
|
|
12
12
|
modelValue: () => {};
|
|
13
13
|
defaultValues: () => {};
|
|
14
|
+
layout: "flex";
|
|
14
15
|
hasFooter: boolean;
|
|
15
16
|
hasReset: boolean;
|
|
16
17
|
hasUnfold: boolean;
|
|
@@ -42,69 +43,71 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
42
43
|
$: ComponentInternalInstance;
|
|
43
44
|
$data: {};
|
|
44
45
|
$props: Partial<{
|
|
45
|
-
modelValue: FieldValues;
|
|
46
|
-
collapseDuration: number;
|
|
47
|
-
collapseTransition: boolean;
|
|
48
46
|
columns: PlusColumn[];
|
|
49
47
|
group: false | PlusFormGroupRow[];
|
|
48
|
+
layout: "grid" | "flex";
|
|
49
|
+
modelValue: FieldValues;
|
|
50
50
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
51
51
|
labelPosition: "top" | "right" | "left";
|
|
52
52
|
labelWidth: string | number;
|
|
53
53
|
labelSuffix: string;
|
|
54
54
|
hasLabel: boolean;
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
clearable: boolean;
|
|
56
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
57
57
|
style?: CSSProperties | undefined;
|
|
58
58
|
class?: any;
|
|
59
59
|
} & RecordType>;
|
|
60
|
-
|
|
60
|
+
collapseDuration: number;
|
|
61
|
+
collapseTransition: boolean;
|
|
62
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
61
63
|
style?: CSSProperties | undefined;
|
|
62
64
|
class?: any;
|
|
63
65
|
} & RecordType>;
|
|
66
|
+
defaultValues: FieldValues;
|
|
64
67
|
hasErrorTip: boolean;
|
|
65
68
|
hasFooter: boolean;
|
|
66
69
|
hasReset: boolean;
|
|
67
70
|
submitText: string;
|
|
68
71
|
resetText: string;
|
|
69
72
|
submitLoading: boolean;
|
|
70
|
-
footerAlign: "
|
|
73
|
+
footerAlign: "right" | "left" | "center";
|
|
71
74
|
cardProps: Partial< Mutable<CardProps> & {
|
|
72
75
|
style?: CSSProperties | undefined;
|
|
73
76
|
class?: any;
|
|
74
77
|
} & RecordType>;
|
|
75
78
|
prevent: boolean;
|
|
76
|
-
clearable: boolean;
|
|
77
79
|
}> & Omit<{
|
|
78
|
-
readonly modelValue: FieldValues;
|
|
79
80
|
readonly columns: PlusColumn[];
|
|
80
81
|
readonly group: false | PlusFormGroupRow[];
|
|
82
|
+
readonly layout: "grid" | "flex";
|
|
83
|
+
readonly modelValue: FieldValues;
|
|
81
84
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
82
85
|
readonly labelPosition: "top" | "right" | "left";
|
|
83
86
|
readonly labelWidth: string | number;
|
|
84
87
|
readonly labelSuffix: string;
|
|
85
88
|
readonly hasLabel: boolean;
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
89
|
+
readonly clearable: boolean;
|
|
90
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
88
91
|
style?: CSSProperties | undefined;
|
|
89
92
|
class?: any;
|
|
90
93
|
} & RecordType>;
|
|
91
|
-
readonly
|
|
94
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
92
95
|
style?: CSSProperties | undefined;
|
|
93
96
|
class?: any;
|
|
94
97
|
} & RecordType>;
|
|
98
|
+
readonly defaultValues: FieldValues;
|
|
95
99
|
readonly hasErrorTip: boolean;
|
|
96
100
|
readonly hasFooter: boolean;
|
|
97
101
|
readonly hasReset: boolean;
|
|
98
102
|
readonly submitText: string;
|
|
99
103
|
readonly resetText: string;
|
|
100
104
|
readonly submitLoading: boolean;
|
|
101
|
-
readonly footerAlign: "
|
|
105
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
102
106
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
103
107
|
style?: CSSProperties | undefined;
|
|
104
108
|
class?: any;
|
|
105
109
|
} & RecordType>;
|
|
106
110
|
readonly prevent: boolean;
|
|
107
|
-
readonly clearable: boolean;
|
|
108
111
|
readonly collapseDuration?: number | undefined;
|
|
109
112
|
readonly collapseTransition?: boolean | undefined;
|
|
110
113
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -114,18 +117,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
114
117
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
115
118
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
116
119
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
117
|
-
modelValue: {
|
|
118
|
-
type: PropType<FieldValues>;
|
|
119
|
-
default: () => {};
|
|
120
|
-
};
|
|
121
|
-
collapseDuration: {
|
|
122
|
-
type: PropType<number>;
|
|
123
|
-
default: undefined;
|
|
124
|
-
};
|
|
125
|
-
collapseTransition: {
|
|
126
|
-
type: PropType<boolean>;
|
|
127
|
-
default: undefined;
|
|
128
|
-
};
|
|
129
120
|
columns: {
|
|
130
121
|
type: PropType<PlusColumn[]>;
|
|
131
122
|
default: () => never[];
|
|
@@ -134,6 +125,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
134
125
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
135
126
|
default: boolean;
|
|
136
127
|
};
|
|
128
|
+
layout: {
|
|
129
|
+
type: PropType<"grid" | "flex">;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
modelValue: {
|
|
133
|
+
type: PropType<FieldValues>;
|
|
134
|
+
default: () => {};
|
|
135
|
+
};
|
|
137
136
|
rules: {
|
|
138
137
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
139
138
|
default: () => {};
|
|
@@ -154,24 +153,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
154
153
|
type: PropType<boolean>;
|
|
155
154
|
default: boolean;
|
|
156
155
|
};
|
|
157
|
-
|
|
158
|
-
type: PropType<
|
|
159
|
-
default:
|
|
156
|
+
clearable: {
|
|
157
|
+
type: PropType<boolean>;
|
|
158
|
+
default: boolean;
|
|
160
159
|
};
|
|
161
|
-
|
|
162
|
-
type: PropType<Partial< Mutable<
|
|
160
|
+
colProps: {
|
|
161
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
163
162
|
style?: CSSProperties | undefined;
|
|
164
163
|
class?: any;
|
|
165
164
|
} & RecordType>>;
|
|
166
165
|
default: () => {};
|
|
167
166
|
};
|
|
168
|
-
|
|
169
|
-
type: PropType<
|
|
167
|
+
collapseDuration: {
|
|
168
|
+
type: PropType<number>;
|
|
169
|
+
default: undefined;
|
|
170
|
+
};
|
|
171
|
+
collapseTransition: {
|
|
172
|
+
type: PropType<boolean>;
|
|
173
|
+
default: undefined;
|
|
174
|
+
};
|
|
175
|
+
rowProps: {
|
|
176
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
170
177
|
style?: CSSProperties | undefined;
|
|
171
178
|
class?: any;
|
|
172
179
|
} & RecordType>>;
|
|
173
180
|
default: () => {};
|
|
174
181
|
};
|
|
182
|
+
defaultValues: {
|
|
183
|
+
type: PropType<FieldValues>;
|
|
184
|
+
default: () => {};
|
|
185
|
+
};
|
|
175
186
|
hasErrorTip: {
|
|
176
187
|
type: PropType<boolean>;
|
|
177
188
|
default: boolean;
|
|
@@ -197,7 +208,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
197
208
|
default: boolean;
|
|
198
209
|
};
|
|
199
210
|
footerAlign: {
|
|
200
|
-
type: PropType<"
|
|
211
|
+
type: PropType<"right" | "left" | "center">;
|
|
201
212
|
default: string;
|
|
202
213
|
};
|
|
203
214
|
cardProps: {
|
|
@@ -211,10 +222,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
211
222
|
type: PropType<boolean>;
|
|
212
223
|
default: boolean;
|
|
213
224
|
};
|
|
214
|
-
clearable: {
|
|
215
|
-
type: PropType<boolean>;
|
|
216
|
-
default: boolean;
|
|
217
|
-
};
|
|
218
225
|
}>> & {
|
|
219
226
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
220
227
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -222,7 +229,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
222
229
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
223
230
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
224
231
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
225
|
-
}, "
|
|
232
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
226
233
|
$attrs: {
|
|
227
234
|
[x: string]: unknown;
|
|
228
235
|
};
|
|
@@ -234,21 +241,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
234
241
|
}>;
|
|
235
242
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
236
243
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
237
|
-
$emit: ((event: "
|
|
244
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
238
245
|
$el: any;
|
|
239
246
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
240
|
-
modelValue: {
|
|
241
|
-
type: PropType<FieldValues>;
|
|
242
|
-
default: () => {};
|
|
243
|
-
};
|
|
244
|
-
collapseDuration: {
|
|
245
|
-
type: PropType<number>;
|
|
246
|
-
default: undefined;
|
|
247
|
-
};
|
|
248
|
-
collapseTransition: {
|
|
249
|
-
type: PropType<boolean>;
|
|
250
|
-
default: undefined;
|
|
251
|
-
};
|
|
252
247
|
columns: {
|
|
253
248
|
type: PropType<PlusColumn[]>;
|
|
254
249
|
default: () => never[];
|
|
@@ -257,6 +252,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
257
252
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
258
253
|
default: boolean;
|
|
259
254
|
};
|
|
255
|
+
layout: {
|
|
256
|
+
type: PropType<"grid" | "flex">;
|
|
257
|
+
default: string;
|
|
258
|
+
};
|
|
259
|
+
modelValue: {
|
|
260
|
+
type: PropType<FieldValues>;
|
|
261
|
+
default: () => {};
|
|
262
|
+
};
|
|
260
263
|
rules: {
|
|
261
264
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
262
265
|
default: () => {};
|
|
@@ -277,24 +280,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
277
280
|
type: PropType<boolean>;
|
|
278
281
|
default: boolean;
|
|
279
282
|
};
|
|
280
|
-
|
|
281
|
-
type: PropType<
|
|
282
|
-
default:
|
|
283
|
+
clearable: {
|
|
284
|
+
type: PropType<boolean>;
|
|
285
|
+
default: boolean;
|
|
283
286
|
};
|
|
284
|
-
|
|
285
|
-
type: PropType<Partial< Mutable<
|
|
287
|
+
colProps: {
|
|
288
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
286
289
|
style?: CSSProperties | undefined;
|
|
287
290
|
class?: any;
|
|
288
291
|
} & RecordType>>;
|
|
289
292
|
default: () => {};
|
|
290
293
|
};
|
|
291
|
-
|
|
292
|
-
type: PropType<
|
|
294
|
+
collapseDuration: {
|
|
295
|
+
type: PropType<number>;
|
|
296
|
+
default: undefined;
|
|
297
|
+
};
|
|
298
|
+
collapseTransition: {
|
|
299
|
+
type: PropType<boolean>;
|
|
300
|
+
default: undefined;
|
|
301
|
+
};
|
|
302
|
+
rowProps: {
|
|
303
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
293
304
|
style?: CSSProperties | undefined;
|
|
294
305
|
class?: any;
|
|
295
306
|
} & RecordType>>;
|
|
296
307
|
default: () => {};
|
|
297
308
|
};
|
|
309
|
+
defaultValues: {
|
|
310
|
+
type: PropType<FieldValues>;
|
|
311
|
+
default: () => {};
|
|
312
|
+
};
|
|
298
313
|
hasErrorTip: {
|
|
299
314
|
type: PropType<boolean>;
|
|
300
315
|
default: boolean;
|
|
@@ -320,7 +335,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
320
335
|
default: boolean;
|
|
321
336
|
};
|
|
322
337
|
footerAlign: {
|
|
323
|
-
type: PropType<"
|
|
338
|
+
type: PropType<"right" | "left" | "center">;
|
|
324
339
|
default: string;
|
|
325
340
|
};
|
|
326
341
|
cardProps: {
|
|
@@ -334,10 +349,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
334
349
|
type: PropType<boolean>;
|
|
335
350
|
default: boolean;
|
|
336
351
|
};
|
|
337
|
-
clearable: {
|
|
338
|
-
type: PropType<boolean>;
|
|
339
|
-
default: boolean;
|
|
340
|
-
};
|
|
341
352
|
}>> & {
|
|
342
353
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
343
354
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -638,38 +649,39 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
638
649
|
submitError: (errors: unknown) => void;
|
|
639
650
|
validate: (...args: any[]) => void;
|
|
640
651
|
}, string, {
|
|
641
|
-
modelValue: FieldValues;
|
|
642
|
-
collapseDuration: number;
|
|
643
|
-
collapseTransition: boolean;
|
|
644
652
|
columns: PlusColumn[];
|
|
645
653
|
group: false | PlusFormGroupRow[];
|
|
654
|
+
layout: "grid" | "flex";
|
|
655
|
+
modelValue: FieldValues;
|
|
646
656
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
647
657
|
labelPosition: "top" | "right" | "left";
|
|
648
658
|
labelWidth: string | number;
|
|
649
659
|
labelSuffix: string;
|
|
650
660
|
hasLabel: boolean;
|
|
651
|
-
|
|
652
|
-
|
|
661
|
+
clearable: boolean;
|
|
662
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
653
663
|
style?: CSSProperties | undefined;
|
|
654
664
|
class?: any;
|
|
655
665
|
} & RecordType>;
|
|
656
|
-
|
|
666
|
+
collapseDuration: number;
|
|
667
|
+
collapseTransition: boolean;
|
|
668
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
657
669
|
style?: CSSProperties | undefined;
|
|
658
670
|
class?: any;
|
|
659
671
|
} & RecordType>;
|
|
672
|
+
defaultValues: FieldValues;
|
|
660
673
|
hasErrorTip: boolean;
|
|
661
674
|
hasFooter: boolean;
|
|
662
675
|
hasReset: boolean;
|
|
663
676
|
submitText: string;
|
|
664
677
|
resetText: string;
|
|
665
678
|
submitLoading: boolean;
|
|
666
|
-
footerAlign: "
|
|
679
|
+
footerAlign: "right" | "left" | "center";
|
|
667
680
|
cardProps: Partial< Mutable<CardProps> & {
|
|
668
681
|
style?: CSSProperties | undefined;
|
|
669
682
|
class?: any;
|
|
670
683
|
} & RecordType>;
|
|
671
684
|
prevent: boolean;
|
|
672
|
-
clearable: boolean;
|
|
673
685
|
}, {}, string, {}> & {
|
|
674
686
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
675
687
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -691,18 +703,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
691
703
|
$nextTick: nextTick;
|
|
692
704
|
$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;
|
|
693
705
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
694
|
-
modelValue: {
|
|
695
|
-
type: PropType<FieldValues>;
|
|
696
|
-
default: () => {};
|
|
697
|
-
};
|
|
698
|
-
collapseDuration: {
|
|
699
|
-
type: PropType<number>;
|
|
700
|
-
default: undefined;
|
|
701
|
-
};
|
|
702
|
-
collapseTransition: {
|
|
703
|
-
type: PropType<boolean>;
|
|
704
|
-
default: undefined;
|
|
705
|
-
};
|
|
706
706
|
columns: {
|
|
707
707
|
type: PropType<PlusColumn[]>;
|
|
708
708
|
default: () => never[];
|
|
@@ -711,6 +711,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
711
711
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
712
712
|
default: boolean;
|
|
713
713
|
};
|
|
714
|
+
layout: {
|
|
715
|
+
type: PropType<"grid" | "flex">;
|
|
716
|
+
default: string;
|
|
717
|
+
};
|
|
718
|
+
modelValue: {
|
|
719
|
+
type: PropType<FieldValues>;
|
|
720
|
+
default: () => {};
|
|
721
|
+
};
|
|
714
722
|
rules: {
|
|
715
723
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
716
724
|
default: () => {};
|
|
@@ -731,24 +739,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
731
739
|
type: PropType<boolean>;
|
|
732
740
|
default: boolean;
|
|
733
741
|
};
|
|
734
|
-
|
|
735
|
-
type: PropType<
|
|
736
|
-
default:
|
|
742
|
+
clearable: {
|
|
743
|
+
type: PropType<boolean>;
|
|
744
|
+
default: boolean;
|
|
737
745
|
};
|
|
738
|
-
|
|
739
|
-
type: PropType<Partial< Mutable<
|
|
746
|
+
colProps: {
|
|
747
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
740
748
|
style?: CSSProperties | undefined;
|
|
741
749
|
class?: any;
|
|
742
750
|
} & RecordType>>;
|
|
743
751
|
default: () => {};
|
|
744
752
|
};
|
|
745
|
-
|
|
746
|
-
type: PropType<
|
|
753
|
+
collapseDuration: {
|
|
754
|
+
type: PropType<number>;
|
|
755
|
+
default: undefined;
|
|
756
|
+
};
|
|
757
|
+
collapseTransition: {
|
|
758
|
+
type: PropType<boolean>;
|
|
759
|
+
default: undefined;
|
|
760
|
+
};
|
|
761
|
+
rowProps: {
|
|
762
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
747
763
|
style?: CSSProperties | undefined;
|
|
748
764
|
class?: any;
|
|
749
765
|
} & RecordType>>;
|
|
750
766
|
default: () => {};
|
|
751
767
|
};
|
|
768
|
+
defaultValues: {
|
|
769
|
+
type: PropType<FieldValues>;
|
|
770
|
+
default: () => {};
|
|
771
|
+
};
|
|
752
772
|
hasErrorTip: {
|
|
753
773
|
type: PropType<boolean>;
|
|
754
774
|
default: boolean;
|
|
@@ -774,7 +794,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
774
794
|
default: boolean;
|
|
775
795
|
};
|
|
776
796
|
footerAlign: {
|
|
777
|
-
type: PropType<"
|
|
797
|
+
type: PropType<"right" | "left" | "center">;
|
|
778
798
|
default: string;
|
|
779
799
|
};
|
|
780
800
|
cardProps: {
|
|
@@ -788,10 +808,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
788
808
|
type: PropType<boolean>;
|
|
789
809
|
default: boolean;
|
|
790
810
|
};
|
|
791
|
-
clearable: {
|
|
792
|
-
type: PropType<boolean>;
|
|
793
|
-
default: boolean;
|
|
794
|
-
};
|
|
795
811
|
}>> & {
|
|
796
812
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
797
813
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -1097,14 +1113,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1097
1113
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1098
1114
|
columns?: PlusColumn[] | undefined;
|
|
1099
1115
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1100
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1116
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1101
1117
|
readonly label: string | ComputedRef<string>;
|
|
1102
|
-
readonly modelValue: string | number | boolean |
|
|
1118
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1103
1119
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1104
|
-
readonly tooltip: string |
|
|
1120
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1105
1121
|
style?: CSSProperties | undefined;
|
|
1106
1122
|
class?: any;
|
|
1107
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1123
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1108
1124
|
style?: CSSProperties | undefined;
|
|
1109
1125
|
class?: any;
|
|
1110
1126
|
} & RecordType>>;
|
|
@@ -1126,7 +1142,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1126
1142
|
};
|
|
1127
1143
|
rows: number;
|
|
1128
1144
|
autocomplete: string;
|
|
1129
|
-
type: "" | "number" | "default" | "
|
|
1145
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1130
1146
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1131
1147
|
step: string | number;
|
|
1132
1148
|
format: string | ProgressFn | undefined;
|
|
@@ -1171,12 +1187,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1171
1187
|
fieldInstance?: any;
|
|
1172
1188
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1173
1189
|
prop: string;
|
|
1174
|
-
modelValue: string | number | boolean |
|
|
1190
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1175
1191
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1176
|
-
tooltip: string |
|
|
1192
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1177
1193
|
style?: CSSProperties | undefined;
|
|
1178
1194
|
class?: any;
|
|
1179
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1195
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1180
1196
|
style?: CSSProperties | undefined;
|
|
1181
1197
|
class?: any;
|
|
1182
1198
|
} & RecordType>>;
|
|
@@ -1205,14 +1221,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1205
1221
|
clearable: boolean;
|
|
1206
1222
|
index: number;
|
|
1207
1223
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1208
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1224
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1209
1225
|
readonly label: string | ComputedRef<string>;
|
|
1210
|
-
readonly modelValue: string | number | boolean |
|
|
1226
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1211
1227
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1212
|
-
readonly tooltip: string |
|
|
1228
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1213
1229
|
style?: CSSProperties | undefined;
|
|
1214
1230
|
class?: any;
|
|
1215
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1231
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1216
1232
|
style?: CSSProperties | undefined;
|
|
1217
1233
|
class?: any;
|
|
1218
1234
|
} & RecordType>>;
|
|
@@ -1234,7 +1250,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1234
1250
|
};
|
|
1235
1251
|
rows: number;
|
|
1236
1252
|
autocomplete: string;
|
|
1237
|
-
type: "" | "number" | "default" | "
|
|
1253
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1238
1254
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1239
1255
|
step: string | number;
|
|
1240
1256
|
format: string | ProgressFn | undefined;
|
|
@@ -1279,12 +1295,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1279
1295
|
fieldInstance?: any;
|
|
1280
1296
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1281
1297
|
prop: string;
|
|
1282
|
-
modelValue: string | number | boolean |
|
|
1298
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1283
1299
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1284
|
-
tooltip: string |
|
|
1300
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1285
1301
|
style?: CSSProperties | undefined;
|
|
1286
1302
|
class?: any;
|
|
1287
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1303
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1288
1304
|
style?: CSSProperties | undefined;
|
|
1289
1305
|
class?: any;
|
|
1290
1306
|
} & RecordType>>;
|
|
@@ -1338,6 +1354,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1338
1354
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
|
|
1339
1355
|
modelValue: () => {};
|
|
1340
1356
|
defaultValues: () => {};
|
|
1357
|
+
layout: "flex";
|
|
1341
1358
|
hasFooter: boolean;
|
|
1342
1359
|
hasReset: boolean;
|
|
1343
1360
|
hasUnfold: boolean;
|
|
@@ -1371,20 +1388,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1371
1388
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1372
1389
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1373
1390
|
}, {
|
|
1374
|
-
modelValue: FieldValues;
|
|
1375
1391
|
columns: PlusColumn[];
|
|
1392
|
+
layout: "grid" | "flex";
|
|
1393
|
+
modelValue: FieldValues;
|
|
1376
1394
|
labelPosition: "top" | "right" | "left";
|
|
1377
1395
|
inline: boolean;
|
|
1378
1396
|
showNumber: number;
|
|
1379
|
-
|
|
1380
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1397
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1381
1398
|
style?: CSSProperties | undefined;
|
|
1382
1399
|
class?: any;
|
|
1383
1400
|
} & RecordType>;
|
|
1384
|
-
|
|
1401
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1385
1402
|
style?: CSSProperties | undefined;
|
|
1386
1403
|
class?: any;
|
|
1387
1404
|
} & RecordType>;
|
|
1405
|
+
defaultValues: FieldValues;
|
|
1388
1406
|
hasFooter: boolean;
|
|
1389
1407
|
hasReset: boolean;
|
|
1390
1408
|
resetText: string;
|
|
@@ -1398,14 +1416,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1398
1416
|
searchIcon: Component | null;
|
|
1399
1417
|
resetIcon: Component | null;
|
|
1400
1418
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
1401
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1419
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1402
1420
|
readonly label: string | ComputedRef<string>;
|
|
1403
|
-
readonly modelValue: string | number | boolean |
|
|
1421
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1404
1422
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1405
|
-
readonly tooltip: string |
|
|
1423
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1406
1424
|
style?: CSSProperties | undefined;
|
|
1407
1425
|
class?: any;
|
|
1408
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1426
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1409
1427
|
style?: CSSProperties | undefined;
|
|
1410
1428
|
class?: any;
|
|
1411
1429
|
} & RecordType>>;
|
|
@@ -1427,7 +1445,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1427
1445
|
};
|
|
1428
1446
|
rows: number;
|
|
1429
1447
|
autocomplete: string;
|
|
1430
|
-
type: "" | "number" | "default" | "
|
|
1448
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1431
1449
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1432
1450
|
step: string | number;
|
|
1433
1451
|
format: string | ProgressFn | undefined;
|
|
@@ -1472,12 +1490,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1472
1490
|
fieldInstance?: any;
|
|
1473
1491
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1474
1492
|
prop: string;
|
|
1475
|
-
modelValue: string | number | boolean |
|
|
1493
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1476
1494
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1477
|
-
tooltip: string |
|
|
1495
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1478
1496
|
style?: CSSProperties | undefined;
|
|
1479
1497
|
class?: any;
|
|
1480
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1498
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1481
1499
|
style?: CSSProperties | undefined;
|
|
1482
1500
|
class?: any;
|
|
1483
1501
|
} & RecordType>>;
|