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
|
@@ -5,7 +5,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
5
5
|
import { LooseRequired } from '@vue/shared';
|
|
6
6
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
7
7
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, PlusFormSelfProps, ElementPlusFormProps } from 'packages/yc-components';
|
|
8
|
-
import {
|
|
8
|
+
import { ColProps, RowProps, FormItemRule, 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, TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, TreeNode, Translator, Table, TableProps } from 'element-plus';
|
|
9
9
|
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, PublicProps } from 'vue';
|
|
10
10
|
import { PlusPaginationProps } from 'yc-pro-components/es/components/pagination';
|
|
11
11
|
import { PlusTableProps, ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow, PlusTableSelfProps } from 'yc-pro-components/es/components/table';
|
|
@@ -141,20 +141,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
141
141
|
$: ComponentInternalInstance;
|
|
142
142
|
$data: {};
|
|
143
143
|
$props: Partial<{
|
|
144
|
-
modelValue: FieldValues;
|
|
145
144
|
columns: PlusColumn[];
|
|
145
|
+
layout: "grid" | "flex";
|
|
146
|
+
modelValue: FieldValues;
|
|
146
147
|
labelPosition: "top" | "right" | "left";
|
|
147
148
|
inline: boolean;
|
|
148
149
|
showNumber: number;
|
|
149
|
-
|
|
150
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
150
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
151
151
|
style?: CSSProperties | undefined;
|
|
152
152
|
class?: any;
|
|
153
153
|
} & RecordType>;
|
|
154
|
-
|
|
154
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
155
155
|
style?: CSSProperties | undefined;
|
|
156
156
|
class?: any;
|
|
157
157
|
} & RecordType>;
|
|
158
|
+
defaultValues: FieldValues;
|
|
158
159
|
hasFooter: boolean;
|
|
159
160
|
hasReset: boolean;
|
|
160
161
|
resetText: string;
|
|
@@ -168,19 +169,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
168
169
|
searchIcon: Component | null;
|
|
169
170
|
resetIcon: Component | null;
|
|
170
171
|
}> & Omit<{
|
|
171
|
-
readonly modelValue: FieldValues;
|
|
172
172
|
readonly columns: PlusColumn[];
|
|
173
|
+
readonly layout: "grid" | "flex";
|
|
174
|
+
readonly modelValue: FieldValues;
|
|
173
175
|
readonly inline: boolean;
|
|
174
176
|
readonly showNumber: number;
|
|
175
|
-
readonly
|
|
176
|
-
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
177
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
177
178
|
style?: CSSProperties | undefined;
|
|
178
179
|
class?: any;
|
|
179
180
|
} & RecordType>;
|
|
180
|
-
readonly
|
|
181
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
181
182
|
style?: CSSProperties | undefined;
|
|
182
183
|
class?: any;
|
|
183
184
|
} & RecordType>;
|
|
185
|
+
readonly defaultValues: FieldValues;
|
|
184
186
|
readonly hasFooter: boolean;
|
|
185
187
|
readonly hasReset: boolean;
|
|
186
188
|
readonly resetText: string;
|
|
@@ -200,14 +202,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
200
202
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
201
203
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
202
204
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
203
|
-
modelValue: {
|
|
204
|
-
type: PropType<FieldValues>;
|
|
205
|
-
default: () => {};
|
|
206
|
-
};
|
|
207
205
|
columns: {
|
|
208
206
|
type: PropType<PlusColumn[]>;
|
|
209
207
|
default: () => never[];
|
|
210
208
|
};
|
|
209
|
+
layout: {
|
|
210
|
+
type: PropType<"grid" | "flex">;
|
|
211
|
+
default: "flex";
|
|
212
|
+
};
|
|
213
|
+
modelValue: {
|
|
214
|
+
type: PropType<FieldValues>;
|
|
215
|
+
default: () => {};
|
|
216
|
+
};
|
|
211
217
|
labelPosition: {
|
|
212
218
|
type: PropType<"top" | "right" | "left">;
|
|
213
219
|
default: undefined;
|
|
@@ -220,19 +226,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
220
226
|
type: PropType<number>;
|
|
221
227
|
default: number;
|
|
222
228
|
};
|
|
223
|
-
defaultValues: {
|
|
224
|
-
type: PropType<FieldValues>;
|
|
225
|
-
default: () => {};
|
|
226
|
-
};
|
|
227
|
-
rowProps: {
|
|
228
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
229
|
-
style?: CSSProperties | undefined;
|
|
230
|
-
class?: any;
|
|
231
|
-
} & RecordType>>;
|
|
232
|
-
default: () => {
|
|
233
|
-
gutter: number;
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
229
|
colProps: {
|
|
237
230
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
238
231
|
style?: CSSProperties | undefined;
|
|
@@ -246,6 +239,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
246
239
|
xl: number;
|
|
247
240
|
};
|
|
248
241
|
};
|
|
242
|
+
rowProps: {
|
|
243
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
244
|
+
style?: CSSProperties | undefined;
|
|
245
|
+
class?: any;
|
|
246
|
+
} & RecordType>>;
|
|
247
|
+
default: () => {
|
|
248
|
+
gutter: number;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
defaultValues: {
|
|
252
|
+
type: PropType<FieldValues>;
|
|
253
|
+
default: () => {};
|
|
254
|
+
};
|
|
249
255
|
hasFooter: {
|
|
250
256
|
type: PropType<boolean>;
|
|
251
257
|
default: boolean;
|
|
@@ -300,7 +306,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
300
306
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
301
307
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
302
308
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
303
|
-
}, "
|
|
309
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
304
310
|
$attrs: {
|
|
305
311
|
[x: string]: unknown;
|
|
306
312
|
};
|
|
@@ -312,17 +318,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
312
318
|
}>;
|
|
313
319
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
314
320
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
315
|
-
$emit: ((event: "
|
|
321
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
316
322
|
$el: any;
|
|
317
323
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
318
|
-
modelValue: {
|
|
319
|
-
type: PropType<FieldValues>;
|
|
320
|
-
default: () => {};
|
|
321
|
-
};
|
|
322
324
|
columns: {
|
|
323
325
|
type: PropType<PlusColumn[]>;
|
|
324
326
|
default: () => never[];
|
|
325
327
|
};
|
|
328
|
+
layout: {
|
|
329
|
+
type: PropType<"grid" | "flex">;
|
|
330
|
+
default: "flex";
|
|
331
|
+
};
|
|
332
|
+
modelValue: {
|
|
333
|
+
type: PropType<FieldValues>;
|
|
334
|
+
default: () => {};
|
|
335
|
+
};
|
|
326
336
|
labelPosition: {
|
|
327
337
|
type: PropType<"top" | "right" | "left">;
|
|
328
338
|
default: undefined;
|
|
@@ -335,19 +345,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
335
345
|
type: PropType<number>;
|
|
336
346
|
default: number;
|
|
337
347
|
};
|
|
338
|
-
defaultValues: {
|
|
339
|
-
type: PropType<FieldValues>;
|
|
340
|
-
default: () => {};
|
|
341
|
-
};
|
|
342
|
-
rowProps: {
|
|
343
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
344
|
-
style?: CSSProperties | undefined;
|
|
345
|
-
class?: any;
|
|
346
|
-
} & RecordType>>;
|
|
347
|
-
default: () => {
|
|
348
|
-
gutter: number;
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
348
|
colProps: {
|
|
352
349
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
353
350
|
style?: CSSProperties | undefined;
|
|
@@ -361,6 +358,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
361
358
|
xl: number;
|
|
362
359
|
};
|
|
363
360
|
};
|
|
361
|
+
rowProps: {
|
|
362
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
363
|
+
style?: CSSProperties | undefined;
|
|
364
|
+
class?: any;
|
|
365
|
+
} & RecordType>>;
|
|
366
|
+
default: () => {
|
|
367
|
+
gutter: number;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
defaultValues: {
|
|
371
|
+
type: PropType<FieldValues>;
|
|
372
|
+
default: () => {};
|
|
373
|
+
};
|
|
364
374
|
hasFooter: {
|
|
365
375
|
type: PropType<boolean>;
|
|
366
376
|
default: boolean;
|
|
@@ -420,69 +430,71 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
420
430
|
$: ComponentInternalInstance;
|
|
421
431
|
$data: {};
|
|
422
432
|
$props: Partial<{
|
|
423
|
-
modelValue: FieldValues;
|
|
424
|
-
collapseDuration: number;
|
|
425
|
-
collapseTransition: boolean;
|
|
426
433
|
columns: PlusColumn[];
|
|
427
434
|
group: false | PlusFormGroupRow[];
|
|
435
|
+
layout: "grid" | "flex";
|
|
436
|
+
modelValue: FieldValues;
|
|
428
437
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
429
438
|
labelPosition: "top" | "right" | "left";
|
|
430
439
|
labelWidth: string | number;
|
|
431
440
|
labelSuffix: string;
|
|
432
441
|
hasLabel: boolean;
|
|
433
|
-
|
|
434
|
-
|
|
442
|
+
clearable: boolean;
|
|
443
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
435
444
|
style?: CSSProperties | undefined;
|
|
436
445
|
class?: any;
|
|
437
446
|
} & RecordType>;
|
|
438
|
-
|
|
447
|
+
collapseDuration: number;
|
|
448
|
+
collapseTransition: boolean;
|
|
449
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
439
450
|
style?: CSSProperties | undefined;
|
|
440
451
|
class?: any;
|
|
441
452
|
} & RecordType>;
|
|
453
|
+
defaultValues: FieldValues;
|
|
442
454
|
hasErrorTip: boolean;
|
|
443
455
|
hasFooter: boolean;
|
|
444
456
|
hasReset: boolean;
|
|
445
457
|
submitText: string;
|
|
446
458
|
resetText: string;
|
|
447
459
|
submitLoading: boolean;
|
|
448
|
-
footerAlign: "
|
|
460
|
+
footerAlign: "right" | "left" | "center";
|
|
449
461
|
cardProps: Partial< Mutable<CardProps> & {
|
|
450
462
|
style?: CSSProperties | undefined;
|
|
451
463
|
class?: any;
|
|
452
464
|
} & RecordType>;
|
|
453
465
|
prevent: boolean;
|
|
454
|
-
clearable: boolean;
|
|
455
466
|
}> & Omit<{
|
|
456
|
-
readonly modelValue: FieldValues;
|
|
457
467
|
readonly columns: PlusColumn[];
|
|
458
468
|
readonly group: false | PlusFormGroupRow[];
|
|
469
|
+
readonly layout: "grid" | "flex";
|
|
470
|
+
readonly modelValue: FieldValues;
|
|
459
471
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
460
472
|
readonly labelPosition: "top" | "right" | "left";
|
|
461
473
|
readonly labelWidth: string | number;
|
|
462
474
|
readonly labelSuffix: string;
|
|
463
475
|
readonly hasLabel: boolean;
|
|
464
|
-
readonly
|
|
465
|
-
readonly
|
|
476
|
+
readonly clearable: boolean;
|
|
477
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
466
478
|
style?: CSSProperties | undefined;
|
|
467
479
|
class?: any;
|
|
468
480
|
} & RecordType>;
|
|
469
|
-
readonly
|
|
481
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
470
482
|
style?: CSSProperties | undefined;
|
|
471
483
|
class?: any;
|
|
472
484
|
} & RecordType>;
|
|
485
|
+
readonly defaultValues: FieldValues;
|
|
473
486
|
readonly hasErrorTip: boolean;
|
|
474
487
|
readonly hasFooter: boolean;
|
|
475
488
|
readonly hasReset: boolean;
|
|
476
489
|
readonly submitText: string;
|
|
477
490
|
readonly resetText: string;
|
|
478
491
|
readonly submitLoading: boolean;
|
|
479
|
-
readonly footerAlign: "
|
|
492
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
480
493
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
481
494
|
style?: CSSProperties | undefined;
|
|
482
495
|
class?: any;
|
|
483
496
|
} & RecordType>;
|
|
484
497
|
readonly prevent: boolean;
|
|
485
|
-
readonly clearable: boolean;
|
|
486
498
|
readonly collapseDuration?: number | undefined;
|
|
487
499
|
readonly collapseTransition?: boolean | undefined;
|
|
488
500
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -492,18 +504,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
492
504
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
493
505
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
494
506
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
495
|
-
modelValue: {
|
|
496
|
-
type: PropType<FieldValues>;
|
|
497
|
-
default: () => {};
|
|
498
|
-
};
|
|
499
|
-
collapseDuration: {
|
|
500
|
-
type: PropType<number>;
|
|
501
|
-
default: undefined;
|
|
502
|
-
};
|
|
503
|
-
collapseTransition: {
|
|
504
|
-
type: PropType<boolean>;
|
|
505
|
-
default: undefined;
|
|
506
|
-
};
|
|
507
507
|
columns: {
|
|
508
508
|
type: PropType<PlusColumn[]>;
|
|
509
509
|
default: () => never[];
|
|
@@ -512,6 +512,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
512
512
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
513
513
|
default: boolean;
|
|
514
514
|
};
|
|
515
|
+
layout: {
|
|
516
|
+
type: PropType<"grid" | "flex">;
|
|
517
|
+
default: string;
|
|
518
|
+
};
|
|
519
|
+
modelValue: {
|
|
520
|
+
type: PropType<FieldValues>;
|
|
521
|
+
default: () => {};
|
|
522
|
+
};
|
|
515
523
|
rules: {
|
|
516
524
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
517
525
|
default: () => {};
|
|
@@ -532,24 +540,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
532
540
|
type: PropType<boolean>;
|
|
533
541
|
default: boolean;
|
|
534
542
|
};
|
|
535
|
-
|
|
536
|
-
type: PropType<
|
|
537
|
-
default:
|
|
543
|
+
clearable: {
|
|
544
|
+
type: PropType<boolean>;
|
|
545
|
+
default: boolean;
|
|
538
546
|
};
|
|
539
|
-
|
|
540
|
-
type: PropType<Partial< Mutable<
|
|
547
|
+
colProps: {
|
|
548
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
541
549
|
style?: CSSProperties | undefined;
|
|
542
550
|
class?: any;
|
|
543
551
|
} & RecordType>>;
|
|
544
552
|
default: () => {};
|
|
545
553
|
};
|
|
546
|
-
|
|
547
|
-
type: PropType<
|
|
554
|
+
collapseDuration: {
|
|
555
|
+
type: PropType<number>;
|
|
556
|
+
default: undefined;
|
|
557
|
+
};
|
|
558
|
+
collapseTransition: {
|
|
559
|
+
type: PropType<boolean>;
|
|
560
|
+
default: undefined;
|
|
561
|
+
};
|
|
562
|
+
rowProps: {
|
|
563
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
548
564
|
style?: CSSProperties | undefined;
|
|
549
565
|
class?: any;
|
|
550
566
|
} & RecordType>>;
|
|
551
567
|
default: () => {};
|
|
552
568
|
};
|
|
569
|
+
defaultValues: {
|
|
570
|
+
type: PropType<FieldValues>;
|
|
571
|
+
default: () => {};
|
|
572
|
+
};
|
|
553
573
|
hasErrorTip: {
|
|
554
574
|
type: PropType<boolean>;
|
|
555
575
|
default: boolean;
|
|
@@ -575,7 +595,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
575
595
|
default: boolean;
|
|
576
596
|
};
|
|
577
597
|
footerAlign: {
|
|
578
|
-
type: PropType<"
|
|
598
|
+
type: PropType<"right" | "left" | "center">;
|
|
579
599
|
default: string;
|
|
580
600
|
};
|
|
581
601
|
cardProps: {
|
|
@@ -589,10 +609,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
589
609
|
type: PropType<boolean>;
|
|
590
610
|
default: boolean;
|
|
591
611
|
};
|
|
592
|
-
clearable: {
|
|
593
|
-
type: PropType<boolean>;
|
|
594
|
-
default: boolean;
|
|
595
|
-
};
|
|
596
612
|
}>> & {
|
|
597
613
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
598
614
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -600,7 +616,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
600
616
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
601
617
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
602
618
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
603
|
-
}, "
|
|
619
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
604
620
|
$attrs: {
|
|
605
621
|
[x: string]: unknown;
|
|
606
622
|
};
|
|
@@ -612,21 +628,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
612
628
|
}>;
|
|
613
629
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
614
630
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
615
|
-
$emit: ((event: "
|
|
631
|
+
$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);
|
|
616
632
|
$el: any;
|
|
617
633
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
618
|
-
modelValue: {
|
|
619
|
-
type: PropType<FieldValues>;
|
|
620
|
-
default: () => {};
|
|
621
|
-
};
|
|
622
|
-
collapseDuration: {
|
|
623
|
-
type: PropType<number>;
|
|
624
|
-
default: undefined;
|
|
625
|
-
};
|
|
626
|
-
collapseTransition: {
|
|
627
|
-
type: PropType<boolean>;
|
|
628
|
-
default: undefined;
|
|
629
|
-
};
|
|
630
634
|
columns: {
|
|
631
635
|
type: PropType<PlusColumn[]>;
|
|
632
636
|
default: () => never[];
|
|
@@ -635,6 +639,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
635
639
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
636
640
|
default: boolean;
|
|
637
641
|
};
|
|
642
|
+
layout: {
|
|
643
|
+
type: PropType<"grid" | "flex">;
|
|
644
|
+
default: string;
|
|
645
|
+
};
|
|
646
|
+
modelValue: {
|
|
647
|
+
type: PropType<FieldValues>;
|
|
648
|
+
default: () => {};
|
|
649
|
+
};
|
|
638
650
|
rules: {
|
|
639
651
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
640
652
|
default: () => {};
|
|
@@ -655,24 +667,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
655
667
|
type: PropType<boolean>;
|
|
656
668
|
default: boolean;
|
|
657
669
|
};
|
|
658
|
-
|
|
659
|
-
type: PropType<
|
|
660
|
-
default:
|
|
670
|
+
clearable: {
|
|
671
|
+
type: PropType<boolean>;
|
|
672
|
+
default: boolean;
|
|
661
673
|
};
|
|
662
|
-
|
|
663
|
-
type: PropType<Partial< Mutable<
|
|
674
|
+
colProps: {
|
|
675
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
664
676
|
style?: CSSProperties | undefined;
|
|
665
677
|
class?: any;
|
|
666
678
|
} & RecordType>>;
|
|
667
679
|
default: () => {};
|
|
668
680
|
};
|
|
669
|
-
|
|
670
|
-
type: PropType<
|
|
681
|
+
collapseDuration: {
|
|
682
|
+
type: PropType<number>;
|
|
683
|
+
default: undefined;
|
|
684
|
+
};
|
|
685
|
+
collapseTransition: {
|
|
686
|
+
type: PropType<boolean>;
|
|
687
|
+
default: undefined;
|
|
688
|
+
};
|
|
689
|
+
rowProps: {
|
|
690
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
671
691
|
style?: CSSProperties | undefined;
|
|
672
692
|
class?: any;
|
|
673
693
|
} & RecordType>>;
|
|
674
694
|
default: () => {};
|
|
675
695
|
};
|
|
696
|
+
defaultValues: {
|
|
697
|
+
type: PropType<FieldValues>;
|
|
698
|
+
default: () => {};
|
|
699
|
+
};
|
|
676
700
|
hasErrorTip: {
|
|
677
701
|
type: PropType<boolean>;
|
|
678
702
|
default: boolean;
|
|
@@ -698,7 +722,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
698
722
|
default: boolean;
|
|
699
723
|
};
|
|
700
724
|
footerAlign: {
|
|
701
|
-
type: PropType<"
|
|
725
|
+
type: PropType<"right" | "left" | "center">;
|
|
702
726
|
default: string;
|
|
703
727
|
};
|
|
704
728
|
cardProps: {
|
|
@@ -712,10 +736,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
712
736
|
type: PropType<boolean>;
|
|
713
737
|
default: boolean;
|
|
714
738
|
};
|
|
715
|
-
clearable: {
|
|
716
|
-
type: PropType<boolean>;
|
|
717
|
-
default: boolean;
|
|
718
|
-
};
|
|
719
739
|
}>> & {
|
|
720
740
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
721
741
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -1016,38 +1036,39 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1016
1036
|
submitError: (errors: unknown) => void;
|
|
1017
1037
|
validate: (...args: any[]) => void;
|
|
1018
1038
|
}, string, {
|
|
1019
|
-
modelValue: FieldValues;
|
|
1020
|
-
collapseDuration: number;
|
|
1021
|
-
collapseTransition: boolean;
|
|
1022
1039
|
columns: PlusColumn[];
|
|
1023
1040
|
group: false | PlusFormGroupRow[];
|
|
1041
|
+
layout: "grid" | "flex";
|
|
1042
|
+
modelValue: FieldValues;
|
|
1024
1043
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1025
1044
|
labelPosition: "top" | "right" | "left";
|
|
1026
1045
|
labelWidth: string | number;
|
|
1027
1046
|
labelSuffix: string;
|
|
1028
1047
|
hasLabel: boolean;
|
|
1029
|
-
|
|
1030
|
-
|
|
1048
|
+
clearable: boolean;
|
|
1049
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1031
1050
|
style?: CSSProperties | undefined;
|
|
1032
1051
|
class?: any;
|
|
1033
1052
|
} & RecordType>;
|
|
1034
|
-
|
|
1053
|
+
collapseDuration: number;
|
|
1054
|
+
collapseTransition: boolean;
|
|
1055
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1035
1056
|
style?: CSSProperties | undefined;
|
|
1036
1057
|
class?: any;
|
|
1037
1058
|
} & RecordType>;
|
|
1059
|
+
defaultValues: FieldValues;
|
|
1038
1060
|
hasErrorTip: boolean;
|
|
1039
1061
|
hasFooter: boolean;
|
|
1040
1062
|
hasReset: boolean;
|
|
1041
1063
|
submitText: string;
|
|
1042
1064
|
resetText: string;
|
|
1043
1065
|
submitLoading: boolean;
|
|
1044
|
-
footerAlign: "
|
|
1066
|
+
footerAlign: "right" | "left" | "center";
|
|
1045
1067
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1046
1068
|
style?: CSSProperties | undefined;
|
|
1047
1069
|
class?: any;
|
|
1048
1070
|
} & RecordType>;
|
|
1049
1071
|
prevent: boolean;
|
|
1050
|
-
clearable: boolean;
|
|
1051
1072
|
}, {}, string, {}> & {
|
|
1052
1073
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1053
1074
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1069,18 +1090,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1090
|
$nextTick: nextTick;
|
|
1070
1091
|
$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;
|
|
1071
1092
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1072
|
-
modelValue: {
|
|
1073
|
-
type: PropType<FieldValues>;
|
|
1074
|
-
default: () => {};
|
|
1075
|
-
};
|
|
1076
|
-
collapseDuration: {
|
|
1077
|
-
type: PropType<number>;
|
|
1078
|
-
default: undefined;
|
|
1079
|
-
};
|
|
1080
|
-
collapseTransition: {
|
|
1081
|
-
type: PropType<boolean>;
|
|
1082
|
-
default: undefined;
|
|
1083
|
-
};
|
|
1084
1093
|
columns: {
|
|
1085
1094
|
type: PropType<PlusColumn[]>;
|
|
1086
1095
|
default: () => never[];
|
|
@@ -1089,6 +1098,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1089
1098
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1090
1099
|
default: boolean;
|
|
1091
1100
|
};
|
|
1101
|
+
layout: {
|
|
1102
|
+
type: PropType<"grid" | "flex">;
|
|
1103
|
+
default: string;
|
|
1104
|
+
};
|
|
1105
|
+
modelValue: {
|
|
1106
|
+
type: PropType<FieldValues>;
|
|
1107
|
+
default: () => {};
|
|
1108
|
+
};
|
|
1092
1109
|
rules: {
|
|
1093
1110
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1094
1111
|
default: () => {};
|
|
@@ -1109,24 +1126,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1109
1126
|
type: PropType<boolean>;
|
|
1110
1127
|
default: boolean;
|
|
1111
1128
|
};
|
|
1112
|
-
|
|
1113
|
-
type: PropType<
|
|
1114
|
-
default:
|
|
1129
|
+
clearable: {
|
|
1130
|
+
type: PropType<boolean>;
|
|
1131
|
+
default: boolean;
|
|
1115
1132
|
};
|
|
1116
|
-
|
|
1117
|
-
type: PropType<Partial< Mutable<
|
|
1133
|
+
colProps: {
|
|
1134
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1118
1135
|
style?: CSSProperties | undefined;
|
|
1119
1136
|
class?: any;
|
|
1120
1137
|
} & RecordType>>;
|
|
1121
1138
|
default: () => {};
|
|
1122
1139
|
};
|
|
1123
|
-
|
|
1124
|
-
type: PropType<
|
|
1140
|
+
collapseDuration: {
|
|
1141
|
+
type: PropType<number>;
|
|
1142
|
+
default: undefined;
|
|
1143
|
+
};
|
|
1144
|
+
collapseTransition: {
|
|
1145
|
+
type: PropType<boolean>;
|
|
1146
|
+
default: undefined;
|
|
1147
|
+
};
|
|
1148
|
+
rowProps: {
|
|
1149
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1125
1150
|
style?: CSSProperties | undefined;
|
|
1126
1151
|
class?: any;
|
|
1127
1152
|
} & RecordType>>;
|
|
1128
1153
|
default: () => {};
|
|
1129
1154
|
};
|
|
1155
|
+
defaultValues: {
|
|
1156
|
+
type: PropType<FieldValues>;
|
|
1157
|
+
default: () => {};
|
|
1158
|
+
};
|
|
1130
1159
|
hasErrorTip: {
|
|
1131
1160
|
type: PropType<boolean>;
|
|
1132
1161
|
default: boolean;
|
|
@@ -1152,7 +1181,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1152
1181
|
default: boolean;
|
|
1153
1182
|
};
|
|
1154
1183
|
footerAlign: {
|
|
1155
|
-
type: PropType<"
|
|
1184
|
+
type: PropType<"right" | "left" | "center">;
|
|
1156
1185
|
default: string;
|
|
1157
1186
|
};
|
|
1158
1187
|
cardProps: {
|
|
@@ -1166,10 +1195,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1166
1195
|
type: PropType<boolean>;
|
|
1167
1196
|
default: boolean;
|
|
1168
1197
|
};
|
|
1169
|
-
clearable: {
|
|
1170
|
-
type: PropType<boolean>;
|
|
1171
|
-
default: boolean;
|
|
1172
|
-
};
|
|
1173
1198
|
}>> & {
|
|
1174
1199
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1175
1200
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -1475,14 +1500,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1475
1500
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1476
1501
|
columns?: PlusColumn[] | undefined;
|
|
1477
1502
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1478
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1503
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1479
1504
|
readonly label: string | ComputedRef<string>;
|
|
1480
|
-
readonly modelValue: string | number | boolean |
|
|
1505
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1481
1506
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1482
|
-
readonly tooltip: string |
|
|
1507
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1483
1508
|
style?: CSSProperties | undefined;
|
|
1484
1509
|
class?: any;
|
|
1485
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1510
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1486
1511
|
style?: CSSProperties | undefined;
|
|
1487
1512
|
class?: any;
|
|
1488
1513
|
} & RecordType>>;
|
|
@@ -1504,7 +1529,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1504
1529
|
};
|
|
1505
1530
|
rows: number;
|
|
1506
1531
|
autocomplete: string;
|
|
1507
|
-
type: "" | "number" | "default" | "
|
|
1532
|
+
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";
|
|
1508
1533
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1509
1534
|
step: string | number;
|
|
1510
1535
|
format: string | ProgressFn | undefined;
|
|
@@ -1549,12 +1574,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1549
1574
|
fieldInstance?: any;
|
|
1550
1575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1551
1576
|
prop: string;
|
|
1552
|
-
modelValue: string | number | boolean |
|
|
1577
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1553
1578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1554
|
-
tooltip: string |
|
|
1579
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1555
1580
|
style?: CSSProperties | undefined;
|
|
1556
1581
|
class?: any;
|
|
1557
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1582
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1558
1583
|
style?: CSSProperties | undefined;
|
|
1559
1584
|
class?: any;
|
|
1560
1585
|
} & RecordType>>;
|
|
@@ -1583,14 +1608,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1583
1608
|
clearable: boolean;
|
|
1584
1609
|
index: number;
|
|
1585
1610
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1586
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1611
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1587
1612
|
readonly label: string | ComputedRef<string>;
|
|
1588
|
-
readonly modelValue: string | number | boolean |
|
|
1613
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1589
1614
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1590
|
-
readonly tooltip: string |
|
|
1615
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1591
1616
|
style?: CSSProperties | undefined;
|
|
1592
1617
|
class?: any;
|
|
1593
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1618
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1594
1619
|
style?: CSSProperties | undefined;
|
|
1595
1620
|
class?: any;
|
|
1596
1621
|
} & RecordType>>;
|
|
@@ -1612,7 +1637,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1612
1637
|
};
|
|
1613
1638
|
rows: number;
|
|
1614
1639
|
autocomplete: string;
|
|
1615
|
-
type: "" | "number" | "default" | "
|
|
1640
|
+
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";
|
|
1616
1641
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1617
1642
|
step: string | number;
|
|
1618
1643
|
format: string | ProgressFn | undefined;
|
|
@@ -1657,12 +1682,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1657
1682
|
fieldInstance?: any;
|
|
1658
1683
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1659
1684
|
prop: string;
|
|
1660
|
-
modelValue: string | number | boolean |
|
|
1685
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1661
1686
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1662
|
-
tooltip: string |
|
|
1687
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1663
1688
|
style?: CSSProperties | undefined;
|
|
1664
1689
|
class?: any;
|
|
1665
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1690
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1666
1691
|
style?: CSSProperties | undefined;
|
|
1667
1692
|
class?: any;
|
|
1668
1693
|
} & RecordType>>;
|
|
@@ -1714,20 +1739,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1714
1739
|
reset: (values: FieldValues) => void;
|
|
1715
1740
|
collapse: (isShowUnfold: boolean) => void;
|
|
1716
1741
|
}, string, {
|
|
1717
|
-
modelValue: FieldValues;
|
|
1718
1742
|
columns: PlusColumn[];
|
|
1743
|
+
layout: "grid" | "flex";
|
|
1744
|
+
modelValue: FieldValues;
|
|
1719
1745
|
labelPosition: "top" | "right" | "left";
|
|
1720
1746
|
inline: boolean;
|
|
1721
|
-
showNumber: number;
|
|
1722
|
-
|
|
1723
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1747
|
+
showNumber: number;
|
|
1748
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1724
1749
|
style?: CSSProperties | undefined;
|
|
1725
1750
|
class?: any;
|
|
1726
1751
|
} & RecordType>;
|
|
1727
|
-
|
|
1752
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1728
1753
|
style?: CSSProperties | undefined;
|
|
1729
1754
|
class?: any;
|
|
1730
1755
|
} & RecordType>;
|
|
1756
|
+
defaultValues: FieldValues;
|
|
1731
1757
|
hasFooter: boolean;
|
|
1732
1758
|
hasReset: boolean;
|
|
1733
1759
|
resetText: string;
|
|
@@ -1761,14 +1787,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1761
1787
|
$nextTick: nextTick;
|
|
1762
1788
|
$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;
|
|
1763
1789
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1764
|
-
modelValue: {
|
|
1765
|
-
type: PropType<FieldValues>;
|
|
1766
|
-
default: () => {};
|
|
1767
|
-
};
|
|
1768
1790
|
columns: {
|
|
1769
1791
|
type: PropType<PlusColumn[]>;
|
|
1770
1792
|
default: () => never[];
|
|
1771
1793
|
};
|
|
1794
|
+
layout: {
|
|
1795
|
+
type: PropType<"grid" | "flex">;
|
|
1796
|
+
default: "flex";
|
|
1797
|
+
};
|
|
1798
|
+
modelValue: {
|
|
1799
|
+
type: PropType<FieldValues>;
|
|
1800
|
+
default: () => {};
|
|
1801
|
+
};
|
|
1772
1802
|
labelPosition: {
|
|
1773
1803
|
type: PropType<"top" | "right" | "left">;
|
|
1774
1804
|
default: undefined;
|
|
@@ -1781,19 +1811,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1781
1811
|
type: PropType<number>;
|
|
1782
1812
|
default: number;
|
|
1783
1813
|
};
|
|
1784
|
-
defaultValues: {
|
|
1785
|
-
type: PropType<FieldValues>;
|
|
1786
|
-
default: () => {};
|
|
1787
|
-
};
|
|
1788
|
-
rowProps: {
|
|
1789
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
1790
|
-
style?: CSSProperties | undefined;
|
|
1791
|
-
class?: any;
|
|
1792
|
-
} & RecordType>>;
|
|
1793
|
-
default: () => {
|
|
1794
|
-
gutter: number;
|
|
1795
|
-
};
|
|
1796
|
-
};
|
|
1797
1814
|
colProps: {
|
|
1798
1815
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1799
1816
|
style?: CSSProperties | undefined;
|
|
@@ -1807,6 +1824,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1807
1824
|
xl: number;
|
|
1808
1825
|
};
|
|
1809
1826
|
};
|
|
1827
|
+
rowProps: {
|
|
1828
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1829
|
+
style?: CSSProperties | undefined;
|
|
1830
|
+
class?: any;
|
|
1831
|
+
} & RecordType>>;
|
|
1832
|
+
default: () => {
|
|
1833
|
+
gutter: number;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
defaultValues: {
|
|
1837
|
+
type: PropType<FieldValues>;
|
|
1838
|
+
default: () => {};
|
|
1839
|
+
};
|
|
1810
1840
|
hasFooter: {
|
|
1811
1841
|
type: PropType<boolean>;
|
|
1812
1842
|
default: boolean;
|
|
@@ -1866,69 +1896,71 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1866
1896
|
$: ComponentInternalInstance;
|
|
1867
1897
|
$data: {};
|
|
1868
1898
|
$props: Partial<{
|
|
1869
|
-
modelValue: FieldValues;
|
|
1870
|
-
collapseDuration: number;
|
|
1871
|
-
collapseTransition: boolean;
|
|
1872
1899
|
columns: PlusColumn[];
|
|
1873
1900
|
group: false | PlusFormGroupRow[];
|
|
1901
|
+
layout: "grid" | "flex";
|
|
1902
|
+
modelValue: FieldValues;
|
|
1874
1903
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1875
1904
|
labelPosition: "top" | "right" | "left";
|
|
1876
1905
|
labelWidth: string | number;
|
|
1877
1906
|
labelSuffix: string;
|
|
1878
1907
|
hasLabel: boolean;
|
|
1879
|
-
|
|
1880
|
-
|
|
1908
|
+
clearable: boolean;
|
|
1909
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1881
1910
|
style?: CSSProperties | undefined;
|
|
1882
1911
|
class?: any;
|
|
1883
1912
|
} & RecordType>;
|
|
1884
|
-
|
|
1913
|
+
collapseDuration: number;
|
|
1914
|
+
collapseTransition: boolean;
|
|
1915
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1885
1916
|
style?: CSSProperties | undefined;
|
|
1886
1917
|
class?: any;
|
|
1887
1918
|
} & RecordType>;
|
|
1919
|
+
defaultValues: FieldValues;
|
|
1888
1920
|
hasErrorTip: boolean;
|
|
1889
1921
|
hasFooter: boolean;
|
|
1890
1922
|
hasReset: boolean;
|
|
1891
1923
|
submitText: string;
|
|
1892
1924
|
resetText: string;
|
|
1893
1925
|
submitLoading: boolean;
|
|
1894
|
-
footerAlign: "
|
|
1926
|
+
footerAlign: "right" | "left" | "center";
|
|
1895
1927
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1896
1928
|
style?: CSSProperties | undefined;
|
|
1897
1929
|
class?: any;
|
|
1898
1930
|
} & RecordType>;
|
|
1899
1931
|
prevent: boolean;
|
|
1900
|
-
clearable: boolean;
|
|
1901
1932
|
}> & Omit<{
|
|
1902
|
-
readonly modelValue: FieldValues;
|
|
1903
1933
|
readonly columns: PlusColumn[];
|
|
1904
1934
|
readonly group: false | PlusFormGroupRow[];
|
|
1935
|
+
readonly layout: "grid" | "flex";
|
|
1936
|
+
readonly modelValue: FieldValues;
|
|
1905
1937
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1906
1938
|
readonly labelPosition: "top" | "right" | "left";
|
|
1907
1939
|
readonly labelWidth: string | number;
|
|
1908
1940
|
readonly labelSuffix: string;
|
|
1909
1941
|
readonly hasLabel: boolean;
|
|
1910
|
-
readonly
|
|
1911
|
-
readonly
|
|
1942
|
+
readonly clearable: boolean;
|
|
1943
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
1912
1944
|
style?: CSSProperties | undefined;
|
|
1913
1945
|
class?: any;
|
|
1914
1946
|
} & RecordType>;
|
|
1915
|
-
readonly
|
|
1947
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
1916
1948
|
style?: CSSProperties | undefined;
|
|
1917
1949
|
class?: any;
|
|
1918
1950
|
} & RecordType>;
|
|
1951
|
+
readonly defaultValues: FieldValues;
|
|
1919
1952
|
readonly hasErrorTip: boolean;
|
|
1920
1953
|
readonly hasFooter: boolean;
|
|
1921
1954
|
readonly hasReset: boolean;
|
|
1922
1955
|
readonly submitText: string;
|
|
1923
1956
|
readonly resetText: string;
|
|
1924
1957
|
readonly submitLoading: boolean;
|
|
1925
|
-
readonly footerAlign: "
|
|
1958
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1926
1959
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1927
1960
|
style?: CSSProperties | undefined;
|
|
1928
1961
|
class?: any;
|
|
1929
1962
|
} & RecordType>;
|
|
1930
1963
|
readonly prevent: boolean;
|
|
1931
|
-
readonly clearable: boolean;
|
|
1932
1964
|
readonly collapseDuration?: number | undefined;
|
|
1933
1965
|
readonly collapseTransition?: boolean | undefined;
|
|
1934
1966
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1938,18 +1970,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1938
1970
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1939
1971
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1940
1972
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1941
|
-
modelValue: {
|
|
1942
|
-
type: PropType<FieldValues>;
|
|
1943
|
-
default: () => {};
|
|
1944
|
-
};
|
|
1945
|
-
collapseDuration: {
|
|
1946
|
-
type: PropType<number>;
|
|
1947
|
-
default: undefined;
|
|
1948
|
-
};
|
|
1949
|
-
collapseTransition: {
|
|
1950
|
-
type: PropType<boolean>;
|
|
1951
|
-
default: undefined;
|
|
1952
|
-
};
|
|
1953
1973
|
columns: {
|
|
1954
1974
|
type: PropType<PlusColumn[]>;
|
|
1955
1975
|
default: () => never[];
|
|
@@ -1958,6 +1978,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1958
1978
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1959
1979
|
default: boolean;
|
|
1960
1980
|
};
|
|
1981
|
+
layout: {
|
|
1982
|
+
type: PropType<"grid" | "flex">;
|
|
1983
|
+
default: string;
|
|
1984
|
+
};
|
|
1985
|
+
modelValue: {
|
|
1986
|
+
type: PropType<FieldValues>;
|
|
1987
|
+
default: () => {};
|
|
1988
|
+
};
|
|
1961
1989
|
rules: {
|
|
1962
1990
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1963
1991
|
default: () => {};
|
|
@@ -1978,24 +2006,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1978
2006
|
type: PropType<boolean>;
|
|
1979
2007
|
default: boolean;
|
|
1980
2008
|
};
|
|
1981
|
-
|
|
1982
|
-
type: PropType<
|
|
1983
|
-
default:
|
|
2009
|
+
clearable: {
|
|
2010
|
+
type: PropType<boolean>;
|
|
2011
|
+
default: boolean;
|
|
1984
2012
|
};
|
|
1985
|
-
|
|
1986
|
-
type: PropType<Partial< Mutable<
|
|
2013
|
+
colProps: {
|
|
2014
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1987
2015
|
style?: CSSProperties | undefined;
|
|
1988
2016
|
class?: any;
|
|
1989
2017
|
} & RecordType>>;
|
|
1990
2018
|
default: () => {};
|
|
1991
2019
|
};
|
|
1992
|
-
|
|
1993
|
-
type: PropType<
|
|
2020
|
+
collapseDuration: {
|
|
2021
|
+
type: PropType<number>;
|
|
2022
|
+
default: undefined;
|
|
2023
|
+
};
|
|
2024
|
+
collapseTransition: {
|
|
2025
|
+
type: PropType<boolean>;
|
|
2026
|
+
default: undefined;
|
|
2027
|
+
};
|
|
2028
|
+
rowProps: {
|
|
2029
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1994
2030
|
style?: CSSProperties | undefined;
|
|
1995
2031
|
class?: any;
|
|
1996
2032
|
} & RecordType>>;
|
|
1997
2033
|
default: () => {};
|
|
1998
2034
|
};
|
|
2035
|
+
defaultValues: {
|
|
2036
|
+
type: PropType<FieldValues>;
|
|
2037
|
+
default: () => {};
|
|
2038
|
+
};
|
|
1999
2039
|
hasErrorTip: {
|
|
2000
2040
|
type: PropType<boolean>;
|
|
2001
2041
|
default: boolean;
|
|
@@ -2021,7 +2061,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2021
2061
|
default: boolean;
|
|
2022
2062
|
};
|
|
2023
2063
|
footerAlign: {
|
|
2024
|
-
type: PropType<"
|
|
2064
|
+
type: PropType<"right" | "left" | "center">;
|
|
2025
2065
|
default: string;
|
|
2026
2066
|
};
|
|
2027
2067
|
cardProps: {
|
|
@@ -2035,10 +2075,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2035
2075
|
type: PropType<boolean>;
|
|
2036
2076
|
default: boolean;
|
|
2037
2077
|
};
|
|
2038
|
-
clearable: {
|
|
2039
|
-
type: PropType<boolean>;
|
|
2040
|
-
default: boolean;
|
|
2041
|
-
};
|
|
2042
2078
|
}>> & {
|
|
2043
2079
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2044
2080
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -2046,7 +2082,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2046
2082
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2047
2083
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2048
2084
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2049
|
-
}, "
|
|
2085
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2050
2086
|
$attrs: {
|
|
2051
2087
|
[x: string]: unknown;
|
|
2052
2088
|
};
|
|
@@ -2058,21 +2094,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2058
2094
|
}>;
|
|
2059
2095
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2060
2096
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2061
|
-
$emit: ((event: "
|
|
2097
|
+
$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);
|
|
2062
2098
|
$el: any;
|
|
2063
2099
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2064
|
-
modelValue: {
|
|
2065
|
-
type: PropType<FieldValues>;
|
|
2066
|
-
default: () => {};
|
|
2067
|
-
};
|
|
2068
|
-
collapseDuration: {
|
|
2069
|
-
type: PropType<number>;
|
|
2070
|
-
default: undefined;
|
|
2071
|
-
};
|
|
2072
|
-
collapseTransition: {
|
|
2073
|
-
type: PropType<boolean>;
|
|
2074
|
-
default: undefined;
|
|
2075
|
-
};
|
|
2076
2100
|
columns: {
|
|
2077
2101
|
type: PropType<PlusColumn[]>;
|
|
2078
2102
|
default: () => never[];
|
|
@@ -2081,6 +2105,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2081
2105
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2082
2106
|
default: boolean;
|
|
2083
2107
|
};
|
|
2108
|
+
layout: {
|
|
2109
|
+
type: PropType<"grid" | "flex">;
|
|
2110
|
+
default: string;
|
|
2111
|
+
};
|
|
2112
|
+
modelValue: {
|
|
2113
|
+
type: PropType<FieldValues>;
|
|
2114
|
+
default: () => {};
|
|
2115
|
+
};
|
|
2084
2116
|
rules: {
|
|
2085
2117
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2086
2118
|
default: () => {};
|
|
@@ -2101,24 +2133,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2101
2133
|
type: PropType<boolean>;
|
|
2102
2134
|
default: boolean;
|
|
2103
2135
|
};
|
|
2104
|
-
|
|
2105
|
-
type: PropType<
|
|
2106
|
-
default:
|
|
2136
|
+
clearable: {
|
|
2137
|
+
type: PropType<boolean>;
|
|
2138
|
+
default: boolean;
|
|
2107
2139
|
};
|
|
2108
|
-
|
|
2109
|
-
type: PropType<Partial< Mutable<
|
|
2140
|
+
colProps: {
|
|
2141
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2110
2142
|
style?: CSSProperties | undefined;
|
|
2111
2143
|
class?: any;
|
|
2112
2144
|
} & RecordType>>;
|
|
2113
2145
|
default: () => {};
|
|
2114
2146
|
};
|
|
2115
|
-
|
|
2116
|
-
type: PropType<
|
|
2147
|
+
collapseDuration: {
|
|
2148
|
+
type: PropType<number>;
|
|
2149
|
+
default: undefined;
|
|
2150
|
+
};
|
|
2151
|
+
collapseTransition: {
|
|
2152
|
+
type: PropType<boolean>;
|
|
2153
|
+
default: undefined;
|
|
2154
|
+
};
|
|
2155
|
+
rowProps: {
|
|
2156
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2117
2157
|
style?: CSSProperties | undefined;
|
|
2118
2158
|
class?: any;
|
|
2119
2159
|
} & RecordType>>;
|
|
2120
2160
|
default: () => {};
|
|
2121
2161
|
};
|
|
2162
|
+
defaultValues: {
|
|
2163
|
+
type: PropType<FieldValues>;
|
|
2164
|
+
default: () => {};
|
|
2165
|
+
};
|
|
2122
2166
|
hasErrorTip: {
|
|
2123
2167
|
type: PropType<boolean>;
|
|
2124
2168
|
default: boolean;
|
|
@@ -2144,7 +2188,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2144
2188
|
default: boolean;
|
|
2145
2189
|
};
|
|
2146
2190
|
footerAlign: {
|
|
2147
|
-
type: PropType<"
|
|
2191
|
+
type: PropType<"right" | "left" | "center">;
|
|
2148
2192
|
default: string;
|
|
2149
2193
|
};
|
|
2150
2194
|
cardProps: {
|
|
@@ -2158,10 +2202,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2158
2202
|
type: PropType<boolean>;
|
|
2159
2203
|
default: boolean;
|
|
2160
2204
|
};
|
|
2161
|
-
clearable: {
|
|
2162
|
-
type: PropType<boolean>;
|
|
2163
|
-
default: boolean;
|
|
2164
|
-
};
|
|
2165
2205
|
}>> & {
|
|
2166
2206
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2167
2207
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -2462,38 +2502,39 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2462
2502
|
submitError: (errors: unknown) => void;
|
|
2463
2503
|
validate: (...args: any[]) => void;
|
|
2464
2504
|
}, string, {
|
|
2465
|
-
modelValue: FieldValues;
|
|
2466
|
-
collapseDuration: number;
|
|
2467
|
-
collapseTransition: boolean;
|
|
2468
2505
|
columns: PlusColumn[];
|
|
2469
2506
|
group: false | PlusFormGroupRow[];
|
|
2507
|
+
layout: "grid" | "flex";
|
|
2508
|
+
modelValue: FieldValues;
|
|
2470
2509
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2471
2510
|
labelPosition: "top" | "right" | "left";
|
|
2472
2511
|
labelWidth: string | number;
|
|
2473
2512
|
labelSuffix: string;
|
|
2474
2513
|
hasLabel: boolean;
|
|
2475
|
-
|
|
2476
|
-
|
|
2514
|
+
clearable: boolean;
|
|
2515
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2477
2516
|
style?: CSSProperties | undefined;
|
|
2478
2517
|
class?: any;
|
|
2479
2518
|
} & RecordType>;
|
|
2480
|
-
|
|
2519
|
+
collapseDuration: number;
|
|
2520
|
+
collapseTransition: boolean;
|
|
2521
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2481
2522
|
style?: CSSProperties | undefined;
|
|
2482
2523
|
class?: any;
|
|
2483
2524
|
} & RecordType>;
|
|
2525
|
+
defaultValues: FieldValues;
|
|
2484
2526
|
hasErrorTip: boolean;
|
|
2485
2527
|
hasFooter: boolean;
|
|
2486
2528
|
hasReset: boolean;
|
|
2487
2529
|
submitText: string;
|
|
2488
2530
|
resetText: string;
|
|
2489
2531
|
submitLoading: boolean;
|
|
2490
|
-
footerAlign: "
|
|
2532
|
+
footerAlign: "right" | "left" | "center";
|
|
2491
2533
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2492
2534
|
style?: CSSProperties | undefined;
|
|
2493
2535
|
class?: any;
|
|
2494
2536
|
} & RecordType>;
|
|
2495
2537
|
prevent: boolean;
|
|
2496
|
-
clearable: boolean;
|
|
2497
2538
|
}, {}, string, {}> & {
|
|
2498
2539
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2499
2540
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2515,18 +2556,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2515
2556
|
$nextTick: nextTick;
|
|
2516
2557
|
$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;
|
|
2517
2558
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2518
|
-
modelValue: {
|
|
2519
|
-
type: PropType<FieldValues>;
|
|
2520
|
-
default: () => {};
|
|
2521
|
-
};
|
|
2522
|
-
collapseDuration: {
|
|
2523
|
-
type: PropType<number>;
|
|
2524
|
-
default: undefined;
|
|
2525
|
-
};
|
|
2526
|
-
collapseTransition: {
|
|
2527
|
-
type: PropType<boolean>;
|
|
2528
|
-
default: undefined;
|
|
2529
|
-
};
|
|
2530
2559
|
columns: {
|
|
2531
2560
|
type: PropType<PlusColumn[]>;
|
|
2532
2561
|
default: () => never[];
|
|
@@ -2535,6 +2564,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2535
2564
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2536
2565
|
default: boolean;
|
|
2537
2566
|
};
|
|
2567
|
+
layout: {
|
|
2568
|
+
type: PropType<"grid" | "flex">;
|
|
2569
|
+
default: string;
|
|
2570
|
+
};
|
|
2571
|
+
modelValue: {
|
|
2572
|
+
type: PropType<FieldValues>;
|
|
2573
|
+
default: () => {};
|
|
2574
|
+
};
|
|
2538
2575
|
rules: {
|
|
2539
2576
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2540
2577
|
default: () => {};
|
|
@@ -2555,24 +2592,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2555
2592
|
type: PropType<boolean>;
|
|
2556
2593
|
default: boolean;
|
|
2557
2594
|
};
|
|
2558
|
-
|
|
2559
|
-
type: PropType<
|
|
2560
|
-
default:
|
|
2595
|
+
clearable: {
|
|
2596
|
+
type: PropType<boolean>;
|
|
2597
|
+
default: boolean;
|
|
2561
2598
|
};
|
|
2562
|
-
|
|
2563
|
-
type: PropType<Partial< Mutable<
|
|
2599
|
+
colProps: {
|
|
2600
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2564
2601
|
style?: CSSProperties | undefined;
|
|
2565
2602
|
class?: any;
|
|
2566
2603
|
} & RecordType>>;
|
|
2567
2604
|
default: () => {};
|
|
2568
2605
|
};
|
|
2569
|
-
|
|
2570
|
-
type: PropType<
|
|
2606
|
+
collapseDuration: {
|
|
2607
|
+
type: PropType<number>;
|
|
2608
|
+
default: undefined;
|
|
2609
|
+
};
|
|
2610
|
+
collapseTransition: {
|
|
2611
|
+
type: PropType<boolean>;
|
|
2612
|
+
default: undefined;
|
|
2613
|
+
};
|
|
2614
|
+
rowProps: {
|
|
2615
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2571
2616
|
style?: CSSProperties | undefined;
|
|
2572
2617
|
class?: any;
|
|
2573
2618
|
} & RecordType>>;
|
|
2574
2619
|
default: () => {};
|
|
2575
2620
|
};
|
|
2621
|
+
defaultValues: {
|
|
2622
|
+
type: PropType<FieldValues>;
|
|
2623
|
+
default: () => {};
|
|
2624
|
+
};
|
|
2576
2625
|
hasErrorTip: {
|
|
2577
2626
|
type: PropType<boolean>;
|
|
2578
2627
|
default: boolean;
|
|
@@ -2598,7 +2647,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2598
2647
|
default: boolean;
|
|
2599
2648
|
};
|
|
2600
2649
|
footerAlign: {
|
|
2601
|
-
type: PropType<"
|
|
2650
|
+
type: PropType<"right" | "left" | "center">;
|
|
2602
2651
|
default: string;
|
|
2603
2652
|
};
|
|
2604
2653
|
cardProps: {
|
|
@@ -2612,10 +2661,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2612
2661
|
type: PropType<boolean>;
|
|
2613
2662
|
default: boolean;
|
|
2614
2663
|
};
|
|
2615
|
-
clearable: {
|
|
2616
|
-
type: PropType<boolean>;
|
|
2617
|
-
default: boolean;
|
|
2618
|
-
};
|
|
2619
2664
|
}>> & {
|
|
2620
2665
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2621
2666
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
@@ -2921,14 +2966,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2921
2966
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2922
2967
|
columns?: PlusColumn[] | undefined;
|
|
2923
2968
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2924
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
2969
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
2925
2970
|
readonly label: string | ComputedRef<string>;
|
|
2926
|
-
readonly modelValue: string | number | boolean |
|
|
2971
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2927
2972
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2928
|
-
readonly tooltip: string |
|
|
2973
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2929
2974
|
style?: CSSProperties | undefined;
|
|
2930
2975
|
class?: any;
|
|
2931
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2976
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2932
2977
|
style?: CSSProperties | undefined;
|
|
2933
2978
|
class?: any;
|
|
2934
2979
|
} & RecordType>>;
|
|
@@ -2950,7 +2995,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2950
2995
|
};
|
|
2951
2996
|
rows: number;
|
|
2952
2997
|
autocomplete: string;
|
|
2953
|
-
type: "" | "number" | "default" | "
|
|
2998
|
+
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";
|
|
2954
2999
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2955
3000
|
step: string | number;
|
|
2956
3001
|
format: string | ProgressFn | undefined;
|
|
@@ -2995,12 +3040,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2995
3040
|
fieldInstance?: any;
|
|
2996
3041
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2997
3042
|
prop: string;
|
|
2998
|
-
modelValue: string | number | boolean |
|
|
3043
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2999
3044
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3000
|
-
tooltip: string |
|
|
3045
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3001
3046
|
style?: CSSProperties | undefined;
|
|
3002
3047
|
class?: any;
|
|
3003
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3048
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3004
3049
|
style?: CSSProperties | undefined;
|
|
3005
3050
|
class?: any;
|
|
3006
3051
|
} & RecordType>>;
|
|
@@ -3029,14 +3074,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3029
3074
|
clearable: boolean;
|
|
3030
3075
|
index: number;
|
|
3031
3076
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3032
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
3077
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
3033
3078
|
readonly label: string | ComputedRef<string>;
|
|
3034
|
-
readonly modelValue: string | number | boolean |
|
|
3079
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3035
3080
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3036
|
-
readonly tooltip: string |
|
|
3081
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3037
3082
|
style?: CSSProperties | undefined;
|
|
3038
3083
|
class?: any;
|
|
3039
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3084
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3040
3085
|
style?: CSSProperties | undefined;
|
|
3041
3086
|
class?: any;
|
|
3042
3087
|
} & RecordType>>;
|
|
@@ -3058,7 +3103,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3058
3103
|
};
|
|
3059
3104
|
rows: number;
|
|
3060
3105
|
autocomplete: string;
|
|
3061
|
-
type: "" | "number" | "default" | "
|
|
3106
|
+
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";
|
|
3062
3107
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3063
3108
|
step: string | number;
|
|
3064
3109
|
format: string | ProgressFn | undefined;
|
|
@@ -3103,12 +3148,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3103
3148
|
fieldInstance?: any;
|
|
3104
3149
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3105
3150
|
prop: string;
|
|
3106
|
-
modelValue: string | number | boolean |
|
|
3151
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3107
3152
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3108
|
-
tooltip: string |
|
|
3153
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3109
3154
|
style?: CSSProperties | undefined;
|
|
3110
3155
|
class?: any;
|
|
3111
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3156
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3112
3157
|
style?: CSSProperties | undefined;
|
|
3113
3158
|
class?: any;
|
|
3114
3159
|
} & RecordType>>;
|
|
@@ -3155,14 +3200,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3155
3200
|
handleUnfold: (e: MouseEvent) => void;
|
|
3156
3201
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3157
3202
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3158
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
3203
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
3159
3204
|
readonly label: string | ComputedRef<string>;
|
|
3160
|
-
readonly modelValue: string | number | boolean |
|
|
3205
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3161
3206
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3162
|
-
readonly tooltip: string |
|
|
3207
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3163
3208
|
style?: CSSProperties | undefined;
|
|
3164
3209
|
class?: any;
|
|
3165
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3210
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3166
3211
|
style?: CSSProperties | undefined;
|
|
3167
3212
|
class?: any;
|
|
3168
3213
|
} & RecordType>>;
|
|
@@ -3184,7 +3229,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3184
3229
|
};
|
|
3185
3230
|
rows: number;
|
|
3186
3231
|
autocomplete: string;
|
|
3187
|
-
type: "" | "number" | "default" | "
|
|
3232
|
+
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";
|
|
3188
3233
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3189
3234
|
step: string | number;
|
|
3190
3235
|
format: string | ProgressFn | undefined;
|
|
@@ -3229,12 +3274,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3229
3274
|
fieldInstance?: any;
|
|
3230
3275
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3231
3276
|
prop: string;
|
|
3232
|
-
modelValue: string | number | boolean |
|
|
3277
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3233
3278
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3234
|
-
tooltip: string |
|
|
3279
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3235
3280
|
style?: CSSProperties | undefined;
|
|
3236
3281
|
class?: any;
|
|
3237
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3282
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3238
3283
|
style?: CSSProperties | undefined;
|
|
3239
3284
|
class?: any;
|
|
3240
3285
|
} & RecordType>>;
|
|
@@ -3276,8 +3321,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3276
3321
|
$: ComponentInternalInstance;
|
|
3277
3322
|
$data: {};
|
|
3278
3323
|
$props: Partial<{
|
|
3279
|
-
data: RecordType[];
|
|
3280
3324
|
columns: PlusColumn[];
|
|
3325
|
+
data: RecordType[];
|
|
3281
3326
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3282
3327
|
row: any[];
|
|
3283
3328
|
rowIndex: number;
|
|
@@ -3323,8 +3368,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3323
3368
|
};
|
|
3324
3369
|
columnsEmptyText: string;
|
|
3325
3370
|
}> & Omit<{
|
|
3326
|
-
readonly data: RecordType[];
|
|
3327
3371
|
readonly columns: PlusColumn[];
|
|
3372
|
+
readonly data: RecordType[];
|
|
3328
3373
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3329
3374
|
row: any[];
|
|
3330
3375
|
rowIndex: number;
|
|
@@ -3383,14 +3428,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3383
3428
|
onEdited?: (() => any) | undefined;
|
|
3384
3429
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3385
3430
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3386
|
-
data: {
|
|
3387
|
-
type: PropType<RecordType[]>;
|
|
3388
|
-
default: () => never[];
|
|
3389
|
-
};
|
|
3390
3431
|
columns: {
|
|
3391
3432
|
type: PropType<PlusColumn[]>;
|
|
3392
3433
|
default: () => never[];
|
|
3393
3434
|
};
|
|
3435
|
+
data: {
|
|
3436
|
+
type: PropType<RecordType[]>;
|
|
3437
|
+
default: () => never[];
|
|
3438
|
+
};
|
|
3394
3439
|
height: {
|
|
3395
3440
|
type: PropType<string | number>;
|
|
3396
3441
|
};
|
|
@@ -3531,7 +3576,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3531
3576
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3532
3577
|
onEdited?: (() => any) | undefined;
|
|
3533
3578
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3534
|
-
}, "
|
|
3579
|
+
}, "columns" | "data" | "headerCellStyle" | "rowKey" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText">;
|
|
3535
3580
|
$attrs: {
|
|
3536
3581
|
[x: string]: unknown;
|
|
3537
3582
|
};
|
|
@@ -3546,14 +3591,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3546
3591
|
$emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
3547
3592
|
$el: any;
|
|
3548
3593
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3549
|
-
data: {
|
|
3550
|
-
type: PropType<RecordType[]>;
|
|
3551
|
-
default: () => never[];
|
|
3552
|
-
};
|
|
3553
3594
|
columns: {
|
|
3554
3595
|
type: PropType<PlusColumn[]>;
|
|
3555
3596
|
default: () => never[];
|
|
3556
3597
|
};
|
|
3598
|
+
data: {
|
|
3599
|
+
type: PropType<RecordType[]>;
|
|
3600
|
+
default: () => never[];
|
|
3601
|
+
};
|
|
3557
3602
|
height: {
|
|
3558
3603
|
type: PropType<string | number>;
|
|
3559
3604
|
};
|
|
@@ -3739,7 +3784,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3739
3784
|
defaultExpandAll: BooleanConstructor;
|
|
3740
3785
|
defaultSort: PropType< Sort | undefined>;
|
|
3741
3786
|
tooltipEffect: StringConstructor;
|
|
3742
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3787
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3743
3788
|
spanMethod: PropType<((data: {
|
|
3744
3789
|
row: any;
|
|
3745
3790
|
rowIndex: number;
|
|
@@ -3783,7 +3828,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3783
3828
|
};
|
|
3784
3829
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3785
3830
|
flexible: BooleanConstructor;
|
|
3786
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3831
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3787
3832
|
}>> & {
|
|
3788
3833
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3789
3834
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3937,7 +3982,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3937
3982
|
defaultExpandAll: BooleanConstructor;
|
|
3938
3983
|
defaultSort: PropType< Sort | undefined>;
|
|
3939
3984
|
tooltipEffect: StringConstructor;
|
|
3940
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3985
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3941
3986
|
spanMethod: PropType<((data: {
|
|
3942
3987
|
row: any;
|
|
3943
3988
|
rowIndex: number;
|
|
@@ -3981,7 +4026,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3981
4026
|
};
|
|
3982
4027
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3983
4028
|
flexible: BooleanConstructor;
|
|
3984
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4029
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3985
4030
|
}>> & {
|
|
3986
4031
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3987
4032
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4072,7 +4117,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4072
4117
|
defaultExpandAll: BooleanConstructor;
|
|
4073
4118
|
defaultSort: PropType< Sort | undefined>;
|
|
4074
4119
|
tooltipEffect: StringConstructor;
|
|
4075
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4120
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4076
4121
|
spanMethod: PropType<((data: {
|
|
4077
4122
|
row: any;
|
|
4078
4123
|
rowIndex: number;
|
|
@@ -4116,7 +4161,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4116
4161
|
};
|
|
4117
4162
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4118
4163
|
flexible: BooleanConstructor;
|
|
4119
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4164
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4120
4165
|
}>> & {
|
|
4121
4166
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4122
4167
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4262,8 +4307,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4262
4307
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
4263
4308
|
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
4264
4309
|
}, string, {
|
|
4265
|
-
data: RecordType[];
|
|
4266
4310
|
columns: PlusColumn[];
|
|
4311
|
+
data: RecordType[];
|
|
4267
4312
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
4268
4313
|
row: any[];
|
|
4269
4314
|
rowIndex: number;
|
|
@@ -4329,14 +4374,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4329
4374
|
$nextTick: nextTick;
|
|
4330
4375
|
$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;
|
|
4331
4376
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4332
|
-
data: {
|
|
4333
|
-
type: PropType<RecordType[]>;
|
|
4334
|
-
default: () => never[];
|
|
4335
|
-
};
|
|
4336
4377
|
columns: {
|
|
4337
4378
|
type: PropType<PlusColumn[]>;
|
|
4338
4379
|
default: () => never[];
|
|
4339
4380
|
};
|
|
4381
|
+
data: {
|
|
4382
|
+
type: PropType<RecordType[]>;
|
|
4383
|
+
default: () => never[];
|
|
4384
|
+
};
|
|
4340
4385
|
height: {
|
|
4341
4386
|
type: PropType<string | number>;
|
|
4342
4387
|
};
|
|
@@ -4522,7 +4567,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4522
4567
|
defaultExpandAll: BooleanConstructor;
|
|
4523
4568
|
defaultSort: PropType< Sort | undefined>;
|
|
4524
4569
|
tooltipEffect: StringConstructor;
|
|
4525
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4570
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4526
4571
|
spanMethod: PropType<((data: {
|
|
4527
4572
|
row: any;
|
|
4528
4573
|
rowIndex: number;
|
|
@@ -4566,7 +4611,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4566
4611
|
};
|
|
4567
4612
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4568
4613
|
flexible: BooleanConstructor;
|
|
4569
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4614
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4570
4615
|
}>> & {
|
|
4571
4616
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4572
4617
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4720,7 +4765,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4720
4765
|
defaultExpandAll: BooleanConstructor;
|
|
4721
4766
|
defaultSort: PropType< Sort | undefined>;
|
|
4722
4767
|
tooltipEffect: StringConstructor;
|
|
4723
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4768
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4724
4769
|
spanMethod: PropType<((data: {
|
|
4725
4770
|
row: any;
|
|
4726
4771
|
rowIndex: number;
|
|
@@ -4764,7 +4809,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4764
4809
|
};
|
|
4765
4810
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4766
4811
|
flexible: BooleanConstructor;
|
|
4767
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4812
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4768
4813
|
}>> & {
|
|
4769
4814
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4770
4815
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4855,7 +4900,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4855
4900
|
defaultExpandAll: BooleanConstructor;
|
|
4856
4901
|
defaultSort: PropType< Sort | undefined>;
|
|
4857
4902
|
tooltipEffect: StringConstructor;
|
|
4858
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4903
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4859
4904
|
spanMethod: PropType<((data: {
|
|
4860
4905
|
row: any;
|
|
4861
4906
|
rowIndex: number;
|
|
@@ -4899,7 +4944,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4899
4944
|
};
|
|
4900
4945
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4901
4946
|
flexible: BooleanConstructor;
|
|
4902
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4947
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4903
4948
|
}>> & {
|
|
4904
4949
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4905
4950
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5111,6 +5156,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5111
5156
|
onRequestError?: ((error: unknown) => any) | undefined;
|
|
5112
5157
|
onRequestComplete?: ((tableData: RecordType[]) => any) | undefined;
|
|
5113
5158
|
}, {
|
|
5159
|
+
columns: PlusColumn[];
|
|
5160
|
+
immediate: boolean;
|
|
5114
5161
|
search: false | Partial< PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
5115
5162
|
style?: CSSProperties | undefined;
|
|
5116
5163
|
class?: any;
|
|
@@ -5119,10 +5166,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5119
5166
|
style?: CSSProperties | undefined;
|
|
5120
5167
|
class?: any;
|
|
5121
5168
|
}>;
|
|
5122
|
-
columns: PlusColumn[];
|
|
5123
|
-
immediate: boolean;
|
|
5124
5169
|
params: RecordType;
|
|
5125
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
5170
|
+
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5126
5171
|
columnsEmptyText: string;
|
|
5127
5172
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5128
5173
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
@@ -5144,14 +5189,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5144
5189
|
};
|
|
5145
5190
|
searchSlot: boolean;
|
|
5146
5191
|
}, {}>, Partial<Record<never, (_: {
|
|
5147
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
5192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
5148
5193
|
readonly label: string | ComputedRef<string>;
|
|
5149
|
-
readonly modelValue: string | number | boolean |
|
|
5194
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
5150
5195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5151
|
-
readonly tooltip: string |
|
|
5196
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5152
5197
|
style?: CSSProperties | undefined;
|
|
5153
5198
|
class?: any;
|
|
5154
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5199
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5155
5200
|
style?: CSSProperties | undefined;
|
|
5156
5201
|
class?: any;
|
|
5157
5202
|
} & RecordType>>;
|
|
@@ -5173,7 +5218,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5173
5218
|
};
|
|
5174
5219
|
rows: number;
|
|
5175
5220
|
autocomplete: string;
|
|
5176
|
-
type: "" | "number" | "default" | "
|
|
5221
|
+
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";
|
|
5177
5222
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5178
5223
|
step: string | number;
|
|
5179
5224
|
format: string | ProgressFn | undefined;
|
|
@@ -5218,12 +5263,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5218
5263
|
fieldInstance?: any;
|
|
5219
5264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5220
5265
|
prop: string;
|
|
5221
|
-
modelValue: string | number | boolean |
|
|
5266
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
5222
5267
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5223
|
-
tooltip: string |
|
|
5268
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5224
5269
|
style?: CSSProperties | undefined;
|
|
5225
5270
|
class?: any;
|
|
5226
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5271
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5227
5272
|
style?: CSSProperties | undefined;
|
|
5228
5273
|
class?: any;
|
|
5229
5274
|
} & RecordType>>;
|