yc-pro-components 0.0.7 → 0.0.8
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 +57 -57
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +22 -22
- package/es/components/check-card-group/src/index.vue.d.ts +19 -19
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +1 -1
- 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 +19 -19
- package/es/components/dialog/src/index.vue.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +28 -28
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +107 -107
- package/es/components/form/src/form-content.vue.d.ts +17 -17
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +106 -106
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- 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 +11 -11
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +895 -895
- package/es/components/page/src/index.vue.d.ts +289 -289
- package/es/components/pagination/index.d.ts +4 -4
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +26 -26
- 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 +328 -328
- package/es/components/search/src/index.vue.d.ts +95 -95
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +74 -74
- package/es/components/table/src/index.vue.d.ts +19 -19
- 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 +18 -18
- package/es/components/table/src/table-column.vue.d.ts +12 -12
- 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-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +677 -677
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- 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 +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +193 -193
- package/es/index.css +1 -1
- package/index.css +8 -7
- package/index.js +2 -2
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +2 -2
- package/lib/components/check-card/index.d.ts +57 -57
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +22 -22
- package/lib/components/check-card-group/src/index.vue.d.ts +19 -19
- package/lib/components/date-picker/index.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +1 -1
- 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 +19 -19
- package/lib/components/dialog/src/index.vue.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +28 -28
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +107 -107
- package/lib/components/form/src/form-content.vue.d.ts +17 -17
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +106 -106
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- 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 +11 -11
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +895 -895
- package/lib/components/page/src/index.vue.d.ts +289 -289
- package/lib/components/pagination/index.d.ts +4 -4
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +26 -26
- 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 +328 -328
- package/lib/components/search/src/index.vue.d.ts +95 -95
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +74 -74
- package/lib/components/table/src/index.vue.d.ts +19 -19
- 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 +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +12 -12
- 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-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +677 -677
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- 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 +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +193 -193
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -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 { RowProps, ColProps, 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, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, 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';
|
|
@@ -136,15 +136,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
136
136
|
labelPosition: "top" | "right" | "left";
|
|
137
137
|
inline: boolean;
|
|
138
138
|
showNumber: number;
|
|
139
|
-
|
|
139
|
+
defaultValues: FieldValues;
|
|
140
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
140
141
|
style?: CSSProperties | undefined;
|
|
141
142
|
class?: any;
|
|
142
143
|
} & RecordType>;
|
|
143
|
-
|
|
144
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
144
145
|
style?: CSSProperties | undefined;
|
|
145
146
|
class?: any;
|
|
146
147
|
} & RecordType>;
|
|
147
|
-
defaultValues: FieldValues;
|
|
148
148
|
hasFooter: boolean;
|
|
149
149
|
hasReset: boolean;
|
|
150
150
|
resetText: string;
|
|
@@ -160,15 +160,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
160
160
|
readonly modelValue: FieldValues;
|
|
161
161
|
readonly inline: boolean;
|
|
162
162
|
readonly showNumber: number;
|
|
163
|
-
readonly
|
|
163
|
+
readonly defaultValues: FieldValues;
|
|
164
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
164
165
|
style?: CSSProperties | undefined;
|
|
165
166
|
class?: any;
|
|
166
167
|
} & RecordType>;
|
|
167
|
-
readonly
|
|
168
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
168
169
|
style?: CSSProperties | undefined;
|
|
169
170
|
class?: any;
|
|
170
171
|
} & RecordType>;
|
|
171
|
-
readonly defaultValues: FieldValues;
|
|
172
172
|
readonly hasFooter: boolean;
|
|
173
173
|
readonly hasReset: boolean;
|
|
174
174
|
readonly resetText: string;
|
|
@@ -180,9 +180,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
180
180
|
readonly searchLoading: boolean;
|
|
181
181
|
readonly needValidate: boolean;
|
|
182
182
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
183
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
184
183
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
185
184
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
185
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
186
186
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
187
187
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
188
188
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -206,6 +206,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
206
206
|
type: PropType<number>;
|
|
207
207
|
default: number;
|
|
208
208
|
};
|
|
209
|
+
defaultValues: {
|
|
210
|
+
type: PropType<FieldValues>;
|
|
211
|
+
default: () => {};
|
|
212
|
+
};
|
|
213
|
+
rowProps: {
|
|
214
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
215
|
+
style?: CSSProperties | undefined;
|
|
216
|
+
class?: any;
|
|
217
|
+
} & RecordType>>;
|
|
218
|
+
default: () => {
|
|
219
|
+
gutter: number;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
209
222
|
colProps: {
|
|
210
223
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
211
224
|
style?: CSSProperties | undefined;
|
|
@@ -219,19 +232,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
219
232
|
xl: number;
|
|
220
233
|
};
|
|
221
234
|
};
|
|
222
|
-
rowProps: {
|
|
223
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
224
|
-
style?: CSSProperties | undefined;
|
|
225
|
-
class?: any;
|
|
226
|
-
} & RecordType>>;
|
|
227
|
-
default: () => {
|
|
228
|
-
gutter: number;
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
defaultValues: {
|
|
232
|
-
type: PropType<FieldValues>;
|
|
233
|
-
default: () => {};
|
|
234
|
-
};
|
|
235
235
|
hasFooter: {
|
|
236
236
|
type: PropType<boolean>;
|
|
237
237
|
default: boolean;
|
|
@@ -273,12 +273,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
273
273
|
default: boolean;
|
|
274
274
|
};
|
|
275
275
|
}>> & {
|
|
276
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
277
276
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
278
277
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
278
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
279
279
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
280
280
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
281
|
-
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "
|
|
281
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
|
|
282
282
|
$attrs: {
|
|
283
283
|
[x: string]: unknown;
|
|
284
284
|
};
|
|
@@ -290,7 +290,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
290
290
|
}>;
|
|
291
291
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
292
292
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
293
|
-
$emit: ((event: "
|
|
293
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
294
294
|
$el: any;
|
|
295
295
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
296
296
|
columns: {
|
|
@@ -313,6 +313,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
313
313
|
type: PropType<number>;
|
|
314
314
|
default: number;
|
|
315
315
|
};
|
|
316
|
+
defaultValues: {
|
|
317
|
+
type: PropType<FieldValues>;
|
|
318
|
+
default: () => {};
|
|
319
|
+
};
|
|
320
|
+
rowProps: {
|
|
321
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
322
|
+
style?: CSSProperties | undefined;
|
|
323
|
+
class?: any;
|
|
324
|
+
} & RecordType>>;
|
|
325
|
+
default: () => {
|
|
326
|
+
gutter: number;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
316
329
|
colProps: {
|
|
317
330
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
318
331
|
style?: CSSProperties | undefined;
|
|
@@ -326,19 +339,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
326
339
|
xl: number;
|
|
327
340
|
};
|
|
328
341
|
};
|
|
329
|
-
rowProps: {
|
|
330
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
331
|
-
style?: CSSProperties | undefined;
|
|
332
|
-
class?: any;
|
|
333
|
-
} & RecordType>>;
|
|
334
|
-
default: () => {
|
|
335
|
-
gutter: number;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
defaultValues: {
|
|
339
|
-
type: PropType<FieldValues>;
|
|
340
|
-
default: () => {};
|
|
341
|
-
};
|
|
342
342
|
hasFooter: {
|
|
343
343
|
type: PropType<boolean>;
|
|
344
344
|
default: boolean;
|
|
@@ -380,9 +380,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
380
380
|
default: boolean;
|
|
381
381
|
};
|
|
382
382
|
}>> & {
|
|
383
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
384
383
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
385
384
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
385
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
386
386
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
387
387
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
388
388
|
}, {
|
|
@@ -390,6 +390,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
390
390
|
$: ComponentInternalInstance;
|
|
391
391
|
$data: {};
|
|
392
392
|
$props: Partial<{
|
|
393
|
+
collapseDuration: number;
|
|
394
|
+
collapseTransition: boolean;
|
|
393
395
|
columns: PlusColumn[];
|
|
394
396
|
group: false | PlusFormGroupRow[];
|
|
395
397
|
modelValue: FieldValues;
|
|
@@ -398,18 +400,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
398
400
|
labelWidth: string | number;
|
|
399
401
|
labelSuffix: string;
|
|
400
402
|
hasLabel: boolean;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
+
defaultValues: FieldValues;
|
|
404
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
403
405
|
style?: CSSProperties | undefined;
|
|
404
406
|
class?: any;
|
|
405
407
|
} & RecordType>;
|
|
406
|
-
|
|
407
|
-
collapseTransition: boolean;
|
|
408
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
408
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
409
409
|
style?: CSSProperties | undefined;
|
|
410
410
|
class?: any;
|
|
411
411
|
} & RecordType>;
|
|
412
|
-
defaultValues: FieldValues;
|
|
413
412
|
hasErrorTip: boolean;
|
|
414
413
|
hasFooter: boolean;
|
|
415
414
|
hasReset: boolean;
|
|
@@ -422,6 +421,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
422
421
|
class?: any;
|
|
423
422
|
} & RecordType>;
|
|
424
423
|
prevent: boolean;
|
|
424
|
+
clearable: boolean;
|
|
425
425
|
}> & Omit<{
|
|
426
426
|
readonly columns: PlusColumn[];
|
|
427
427
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -431,16 +431,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
431
431
|
readonly labelWidth: string | number;
|
|
432
432
|
readonly labelSuffix: string;
|
|
433
433
|
readonly hasLabel: boolean;
|
|
434
|
-
readonly
|
|
435
|
-
readonly
|
|
434
|
+
readonly defaultValues: FieldValues;
|
|
435
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
436
436
|
style?: CSSProperties | undefined;
|
|
437
437
|
class?: any;
|
|
438
438
|
} & RecordType>;
|
|
439
|
-
readonly
|
|
439
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
440
440
|
style?: CSSProperties | undefined;
|
|
441
441
|
class?: any;
|
|
442
442
|
} & RecordType>;
|
|
443
|
-
readonly defaultValues: FieldValues;
|
|
444
443
|
readonly hasErrorTip: boolean;
|
|
445
444
|
readonly hasFooter: boolean;
|
|
446
445
|
readonly hasReset: boolean;
|
|
@@ -453,15 +452,24 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
453
452
|
class?: any;
|
|
454
453
|
} & RecordType>;
|
|
455
454
|
readonly prevent: boolean;
|
|
455
|
+
readonly clearable: boolean;
|
|
456
456
|
readonly collapseDuration?: number | undefined;
|
|
457
457
|
readonly collapseTransition?: boolean | undefined;
|
|
458
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
459
458
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
460
459
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
461
460
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
461
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
462
462
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
463
463
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
464
464
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
465
|
+
collapseDuration: {
|
|
466
|
+
type: PropType<number>;
|
|
467
|
+
default: undefined;
|
|
468
|
+
};
|
|
469
|
+
collapseTransition: {
|
|
470
|
+
type: PropType<boolean>;
|
|
471
|
+
default: undefined;
|
|
472
|
+
};
|
|
465
473
|
columns: {
|
|
466
474
|
type: PropType<PlusColumn[]>;
|
|
467
475
|
default: () => never[];
|
|
@@ -494,25 +502,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
494
502
|
type: PropType<boolean>;
|
|
495
503
|
default: boolean;
|
|
496
504
|
};
|
|
497
|
-
|
|
498
|
-
type: PropType<
|
|
499
|
-
default: boolean;
|
|
500
|
-
};
|
|
501
|
-
colProps: {
|
|
502
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
503
|
-
style?: CSSProperties | undefined;
|
|
504
|
-
class?: any;
|
|
505
|
-
} & RecordType>>;
|
|
505
|
+
defaultValues: {
|
|
506
|
+
type: PropType<FieldValues>;
|
|
506
507
|
default: () => {};
|
|
507
508
|
};
|
|
508
|
-
collapseDuration: {
|
|
509
|
-
type: PropType<number>;
|
|
510
|
-
default: undefined;
|
|
511
|
-
};
|
|
512
|
-
collapseTransition: {
|
|
513
|
-
type: PropType<boolean>;
|
|
514
|
-
default: undefined;
|
|
515
|
-
};
|
|
516
509
|
rowProps: {
|
|
517
510
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
518
511
|
style?: CSSProperties | undefined;
|
|
@@ -520,8 +513,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
520
513
|
} & RecordType>>;
|
|
521
514
|
default: () => {};
|
|
522
515
|
};
|
|
523
|
-
|
|
524
|
-
type: PropType<
|
|
516
|
+
colProps: {
|
|
517
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
518
|
+
style?: CSSProperties | undefined;
|
|
519
|
+
class?: any;
|
|
520
|
+
} & RecordType>>;
|
|
525
521
|
default: () => {};
|
|
526
522
|
};
|
|
527
523
|
hasErrorTip: {
|
|
@@ -563,14 +559,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
563
559
|
type: PropType<boolean>;
|
|
564
560
|
default: boolean;
|
|
565
561
|
};
|
|
562
|
+
clearable: {
|
|
563
|
+
type: PropType<boolean>;
|
|
564
|
+
default: boolean;
|
|
565
|
+
};
|
|
566
566
|
}>> & {
|
|
567
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
568
567
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
569
568
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
570
569
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
570
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
571
571
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
572
572
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
573
|
-
}, "
|
|
573
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
574
574
|
$attrs: {
|
|
575
575
|
[x: string]: unknown;
|
|
576
576
|
};
|
|
@@ -585,6 +585,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
585
585
|
$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);
|
|
586
586
|
$el: any;
|
|
587
587
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
588
|
+
collapseDuration: {
|
|
589
|
+
type: PropType<number>;
|
|
590
|
+
default: undefined;
|
|
591
|
+
};
|
|
592
|
+
collapseTransition: {
|
|
593
|
+
type: PropType<boolean>;
|
|
594
|
+
default: undefined;
|
|
595
|
+
};
|
|
588
596
|
columns: {
|
|
589
597
|
type: PropType<PlusColumn[]>;
|
|
590
598
|
default: () => never[];
|
|
@@ -617,25 +625,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
617
625
|
type: PropType<boolean>;
|
|
618
626
|
default: boolean;
|
|
619
627
|
};
|
|
620
|
-
|
|
621
|
-
type: PropType<
|
|
622
|
-
default: boolean;
|
|
623
|
-
};
|
|
624
|
-
colProps: {
|
|
625
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
626
|
-
style?: CSSProperties | undefined;
|
|
627
|
-
class?: any;
|
|
628
|
-
} & RecordType>>;
|
|
628
|
+
defaultValues: {
|
|
629
|
+
type: PropType<FieldValues>;
|
|
629
630
|
default: () => {};
|
|
630
631
|
};
|
|
631
|
-
collapseDuration: {
|
|
632
|
-
type: PropType<number>;
|
|
633
|
-
default: undefined;
|
|
634
|
-
};
|
|
635
|
-
collapseTransition: {
|
|
636
|
-
type: PropType<boolean>;
|
|
637
|
-
default: undefined;
|
|
638
|
-
};
|
|
639
632
|
rowProps: {
|
|
640
633
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
641
634
|
style?: CSSProperties | undefined;
|
|
@@ -643,8 +636,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
643
636
|
} & RecordType>>;
|
|
644
637
|
default: () => {};
|
|
645
638
|
};
|
|
646
|
-
|
|
647
|
-
type: PropType<
|
|
639
|
+
colProps: {
|
|
640
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
641
|
+
style?: CSSProperties | undefined;
|
|
642
|
+
class?: any;
|
|
643
|
+
} & RecordType>>;
|
|
648
644
|
default: () => {};
|
|
649
645
|
};
|
|
650
646
|
hasErrorTip: {
|
|
@@ -686,11 +682,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
686
682
|
type: PropType<boolean>;
|
|
687
683
|
default: boolean;
|
|
688
684
|
};
|
|
685
|
+
clearable: {
|
|
686
|
+
type: PropType<boolean>;
|
|
687
|
+
default: boolean;
|
|
688
|
+
};
|
|
689
689
|
}>> & {
|
|
690
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
691
690
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
692
691
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
693
692
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
693
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
694
694
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
695
695
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
696
696
|
}, {
|
|
@@ -996,6 +996,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
996
996
|
submitError: (errors: unknown) => void;
|
|
997
997
|
validate: (...args: any[]) => void;
|
|
998
998
|
}, string, {
|
|
999
|
+
collapseDuration: number;
|
|
1000
|
+
collapseTransition: boolean;
|
|
999
1001
|
columns: PlusColumn[];
|
|
1000
1002
|
group: false | PlusFormGroupRow[];
|
|
1001
1003
|
modelValue: FieldValues;
|
|
@@ -1004,18 +1006,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1004
1006
|
labelWidth: string | number;
|
|
1005
1007
|
labelSuffix: string;
|
|
1006
1008
|
hasLabel: boolean;
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
+
defaultValues: FieldValues;
|
|
1010
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1009
1011
|
style?: CSSProperties | undefined;
|
|
1010
1012
|
class?: any;
|
|
1011
1013
|
} & RecordType>;
|
|
1012
|
-
|
|
1013
|
-
collapseTransition: boolean;
|
|
1014
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1014
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1015
1015
|
style?: CSSProperties | undefined;
|
|
1016
1016
|
class?: any;
|
|
1017
1017
|
} & RecordType>;
|
|
1018
|
-
defaultValues: FieldValues;
|
|
1019
1018
|
hasErrorTip: boolean;
|
|
1020
1019
|
hasFooter: boolean;
|
|
1021
1020
|
hasReset: boolean;
|
|
@@ -1028,6 +1027,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1028
1027
|
class?: any;
|
|
1029
1028
|
} & RecordType>;
|
|
1030
1029
|
prevent: boolean;
|
|
1030
|
+
clearable: boolean;
|
|
1031
1031
|
}, {}, string, {}> & {
|
|
1032
1032
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1033
1033
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1049,6 +1049,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1049
1049
|
$nextTick: nextTick;
|
|
1050
1050
|
$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;
|
|
1051
1051
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1052
|
+
collapseDuration: {
|
|
1053
|
+
type: PropType<number>;
|
|
1054
|
+
default: undefined;
|
|
1055
|
+
};
|
|
1056
|
+
collapseTransition: {
|
|
1057
|
+
type: PropType<boolean>;
|
|
1058
|
+
default: undefined;
|
|
1059
|
+
};
|
|
1052
1060
|
columns: {
|
|
1053
1061
|
type: PropType<PlusColumn[]>;
|
|
1054
1062
|
default: () => never[];
|
|
@@ -1081,25 +1089,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1081
1089
|
type: PropType<boolean>;
|
|
1082
1090
|
default: boolean;
|
|
1083
1091
|
};
|
|
1084
|
-
|
|
1085
|
-
type: PropType<
|
|
1086
|
-
default: boolean;
|
|
1087
|
-
};
|
|
1088
|
-
colProps: {
|
|
1089
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
1090
|
-
style?: CSSProperties | undefined;
|
|
1091
|
-
class?: any;
|
|
1092
|
-
} & RecordType>>;
|
|
1092
|
+
defaultValues: {
|
|
1093
|
+
type: PropType<FieldValues>;
|
|
1093
1094
|
default: () => {};
|
|
1094
1095
|
};
|
|
1095
|
-
collapseDuration: {
|
|
1096
|
-
type: PropType<number>;
|
|
1097
|
-
default: undefined;
|
|
1098
|
-
};
|
|
1099
|
-
collapseTransition: {
|
|
1100
|
-
type: PropType<boolean>;
|
|
1101
|
-
default: undefined;
|
|
1102
|
-
};
|
|
1103
1096
|
rowProps: {
|
|
1104
1097
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
1105
1098
|
style?: CSSProperties | undefined;
|
|
@@ -1107,8 +1100,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1107
1100
|
} & RecordType>>;
|
|
1108
1101
|
default: () => {};
|
|
1109
1102
|
};
|
|
1110
|
-
|
|
1111
|
-
type: PropType<
|
|
1103
|
+
colProps: {
|
|
1104
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1105
|
+
style?: CSSProperties | undefined;
|
|
1106
|
+
class?: any;
|
|
1107
|
+
} & RecordType>>;
|
|
1112
1108
|
default: () => {};
|
|
1113
1109
|
};
|
|
1114
1110
|
hasErrorTip: {
|
|
@@ -1150,11 +1146,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1150
1146
|
type: PropType<boolean>;
|
|
1151
1147
|
default: boolean;
|
|
1152
1148
|
};
|
|
1149
|
+
clearable: {
|
|
1150
|
+
type: PropType<boolean>;
|
|
1151
|
+
default: boolean;
|
|
1152
|
+
};
|
|
1153
1153
|
}>> & {
|
|
1154
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1155
1154
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1156
1155
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1157
1156
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1157
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1158
1158
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1159
1159
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1160
1160
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1465,9 +1465,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1465
1465
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1466
1466
|
columns?: PlusColumn[] | undefined;
|
|
1467
1467
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1468
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1468
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1469
1469
|
readonly label: string | ComputedRef<string>;
|
|
1470
|
-
readonly modelValue: string | number | boolean |
|
|
1470
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
1471
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1472
1472
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1473
1473
|
style?: CSSProperties | undefined;
|
|
@@ -1494,7 +1494,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1494
1494
|
};
|
|
1495
1495
|
rows: number;
|
|
1496
1496
|
autocomplete: string;
|
|
1497
|
-
type: "" | "number" | "default" | "
|
|
1497
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1498
1498
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1499
1499
|
step: string | number;
|
|
1500
1500
|
format: string | ProgressFn | undefined;
|
|
@@ -1533,7 +1533,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1533
1533
|
fieldInstance?: any;
|
|
1534
1534
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1535
1535
|
prop: string;
|
|
1536
|
-
modelValue: string | number | boolean |
|
|
1536
|
+
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1537
1537
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1538
1538
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1539
1539
|
style?: CSSProperties | undefined;
|
|
@@ -1561,9 +1561,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1561
1561
|
clearable: boolean;
|
|
1562
1562
|
index: number;
|
|
1563
1563
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1564
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1564
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1565
1565
|
readonly label: string | ComputedRef<string>;
|
|
1566
|
-
readonly modelValue: string | number | boolean |
|
|
1566
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1567
1567
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1568
1568
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1569
1569
|
style?: CSSProperties | undefined;
|
|
@@ -1590,7 +1590,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1590
1590
|
};
|
|
1591
1591
|
rows: number;
|
|
1592
1592
|
autocomplete: string;
|
|
1593
|
-
type: "" | "number" | "default" | "
|
|
1593
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1594
1594
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1595
1595
|
step: string | number;
|
|
1596
1596
|
format: string | ProgressFn | undefined;
|
|
@@ -1629,7 +1629,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1629
1629
|
fieldInstance?: any;
|
|
1630
1630
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1631
1631
|
prop: string;
|
|
1632
|
-
modelValue: string | number | boolean |
|
|
1632
|
+
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1633
1633
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1634
1634
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1635
1635
|
style?: CSSProperties | undefined;
|
|
@@ -1685,15 +1685,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1685
1685
|
labelPosition: "top" | "right" | "left";
|
|
1686
1686
|
inline: boolean;
|
|
1687
1687
|
showNumber: number;
|
|
1688
|
-
|
|
1688
|
+
defaultValues: FieldValues;
|
|
1689
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1689
1690
|
style?: CSSProperties | undefined;
|
|
1690
1691
|
class?: any;
|
|
1691
1692
|
} & RecordType>;
|
|
1692
|
-
|
|
1693
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1693
1694
|
style?: CSSProperties | undefined;
|
|
1694
1695
|
class?: any;
|
|
1695
1696
|
} & RecordType>;
|
|
1696
|
-
defaultValues: FieldValues;
|
|
1697
1697
|
hasFooter: boolean;
|
|
1698
1698
|
hasReset: boolean;
|
|
1699
1699
|
resetText: string;
|
|
@@ -1745,6 +1745,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1745
1745
|
type: PropType<number>;
|
|
1746
1746
|
default: number;
|
|
1747
1747
|
};
|
|
1748
|
+
defaultValues: {
|
|
1749
|
+
type: PropType<FieldValues>;
|
|
1750
|
+
default: () => {};
|
|
1751
|
+
};
|
|
1752
|
+
rowProps: {
|
|
1753
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1754
|
+
style?: CSSProperties | undefined;
|
|
1755
|
+
class?: any;
|
|
1756
|
+
} & RecordType>>;
|
|
1757
|
+
default: () => {
|
|
1758
|
+
gutter: number;
|
|
1759
|
+
};
|
|
1760
|
+
};
|
|
1748
1761
|
colProps: {
|
|
1749
1762
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1750
1763
|
style?: CSSProperties | undefined;
|
|
@@ -1758,19 +1771,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1758
1771
|
xl: number;
|
|
1759
1772
|
};
|
|
1760
1773
|
};
|
|
1761
|
-
rowProps: {
|
|
1762
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
1763
|
-
style?: CSSProperties | undefined;
|
|
1764
|
-
class?: any;
|
|
1765
|
-
} & RecordType>>;
|
|
1766
|
-
default: () => {
|
|
1767
|
-
gutter: number;
|
|
1768
|
-
};
|
|
1769
|
-
};
|
|
1770
|
-
defaultValues: {
|
|
1771
|
-
type: PropType<FieldValues>;
|
|
1772
|
-
default: () => {};
|
|
1773
|
-
};
|
|
1774
1774
|
hasFooter: {
|
|
1775
1775
|
type: PropType<boolean>;
|
|
1776
1776
|
default: boolean;
|
|
@@ -1812,9 +1812,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1812
1812
|
default: boolean;
|
|
1813
1813
|
};
|
|
1814
1814
|
}>> & {
|
|
1815
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1816
1815
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1817
1816
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1817
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1818
1818
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1819
1819
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1820
1820
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1822,6 +1822,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1822
1822
|
$: ComponentInternalInstance;
|
|
1823
1823
|
$data: {};
|
|
1824
1824
|
$props: Partial<{
|
|
1825
|
+
collapseDuration: number;
|
|
1826
|
+
collapseTransition: boolean;
|
|
1825
1827
|
columns: PlusColumn[];
|
|
1826
1828
|
group: false | PlusFormGroupRow[];
|
|
1827
1829
|
modelValue: FieldValues;
|
|
@@ -1830,18 +1832,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1830
1832
|
labelWidth: string | number;
|
|
1831
1833
|
labelSuffix: string;
|
|
1832
1834
|
hasLabel: boolean;
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
+
defaultValues: FieldValues;
|
|
1836
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1835
1837
|
style?: CSSProperties | undefined;
|
|
1836
1838
|
class?: any;
|
|
1837
1839
|
} & RecordType>;
|
|
1838
|
-
|
|
1839
|
-
collapseTransition: boolean;
|
|
1840
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1840
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1841
1841
|
style?: CSSProperties | undefined;
|
|
1842
1842
|
class?: any;
|
|
1843
1843
|
} & RecordType>;
|
|
1844
|
-
defaultValues: FieldValues;
|
|
1845
1844
|
hasErrorTip: boolean;
|
|
1846
1845
|
hasFooter: boolean;
|
|
1847
1846
|
hasReset: boolean;
|
|
@@ -1854,6 +1853,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1854
1853
|
class?: any;
|
|
1855
1854
|
} & RecordType>;
|
|
1856
1855
|
prevent: boolean;
|
|
1856
|
+
clearable: boolean;
|
|
1857
1857
|
}> & Omit<{
|
|
1858
1858
|
readonly columns: PlusColumn[];
|
|
1859
1859
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -1863,16 +1863,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1863
1863
|
readonly labelWidth: string | number;
|
|
1864
1864
|
readonly labelSuffix: string;
|
|
1865
1865
|
readonly hasLabel: boolean;
|
|
1866
|
-
readonly
|
|
1867
|
-
readonly
|
|
1866
|
+
readonly defaultValues: FieldValues;
|
|
1867
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
1868
1868
|
style?: CSSProperties | undefined;
|
|
1869
1869
|
class?: any;
|
|
1870
1870
|
} & RecordType>;
|
|
1871
|
-
readonly
|
|
1871
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
1872
1872
|
style?: CSSProperties | undefined;
|
|
1873
1873
|
class?: any;
|
|
1874
1874
|
} & RecordType>;
|
|
1875
|
-
readonly defaultValues: FieldValues;
|
|
1876
1875
|
readonly hasErrorTip: boolean;
|
|
1877
1876
|
readonly hasFooter: boolean;
|
|
1878
1877
|
readonly hasReset: boolean;
|
|
@@ -1885,15 +1884,24 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1885
1884
|
class?: any;
|
|
1886
1885
|
} & RecordType>;
|
|
1887
1886
|
readonly prevent: boolean;
|
|
1887
|
+
readonly clearable: boolean;
|
|
1888
1888
|
readonly collapseDuration?: number | undefined;
|
|
1889
1889
|
readonly collapseTransition?: boolean | undefined;
|
|
1890
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1891
1890
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1892
1891
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1893
1892
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1893
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1894
1894
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1895
1895
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1896
1896
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1897
|
+
collapseDuration: {
|
|
1898
|
+
type: PropType<number>;
|
|
1899
|
+
default: undefined;
|
|
1900
|
+
};
|
|
1901
|
+
collapseTransition: {
|
|
1902
|
+
type: PropType<boolean>;
|
|
1903
|
+
default: undefined;
|
|
1904
|
+
};
|
|
1897
1905
|
columns: {
|
|
1898
1906
|
type: PropType<PlusColumn[]>;
|
|
1899
1907
|
default: () => never[];
|
|
@@ -1926,25 +1934,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1926
1934
|
type: PropType<boolean>;
|
|
1927
1935
|
default: boolean;
|
|
1928
1936
|
};
|
|
1929
|
-
|
|
1930
|
-
type: PropType<
|
|
1931
|
-
default: boolean;
|
|
1932
|
-
};
|
|
1933
|
-
colProps: {
|
|
1934
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
1935
|
-
style?: CSSProperties | undefined;
|
|
1936
|
-
class?: any;
|
|
1937
|
-
} & RecordType>>;
|
|
1937
|
+
defaultValues: {
|
|
1938
|
+
type: PropType<FieldValues>;
|
|
1938
1939
|
default: () => {};
|
|
1939
1940
|
};
|
|
1940
|
-
collapseDuration: {
|
|
1941
|
-
type: PropType<number>;
|
|
1942
|
-
default: undefined;
|
|
1943
|
-
};
|
|
1944
|
-
collapseTransition: {
|
|
1945
|
-
type: PropType<boolean>;
|
|
1946
|
-
default: undefined;
|
|
1947
|
-
};
|
|
1948
1941
|
rowProps: {
|
|
1949
1942
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
1950
1943
|
style?: CSSProperties | undefined;
|
|
@@ -1952,8 +1945,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1952
1945
|
} & RecordType>>;
|
|
1953
1946
|
default: () => {};
|
|
1954
1947
|
};
|
|
1955
|
-
|
|
1956
|
-
type: PropType<
|
|
1948
|
+
colProps: {
|
|
1949
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1950
|
+
style?: CSSProperties | undefined;
|
|
1951
|
+
class?: any;
|
|
1952
|
+
} & RecordType>>;
|
|
1957
1953
|
default: () => {};
|
|
1958
1954
|
};
|
|
1959
1955
|
hasErrorTip: {
|
|
@@ -1995,14 +1991,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1995
1991
|
type: PropType<boolean>;
|
|
1996
1992
|
default: boolean;
|
|
1997
1993
|
};
|
|
1994
|
+
clearable: {
|
|
1995
|
+
type: PropType<boolean>;
|
|
1996
|
+
default: boolean;
|
|
1997
|
+
};
|
|
1998
1998
|
}>> & {
|
|
1999
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2000
1999
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2001
2000
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2002
2001
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2002
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2003
2003
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2004
2004
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2005
|
-
}, "
|
|
2005
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2006
2006
|
$attrs: {
|
|
2007
2007
|
[x: string]: unknown;
|
|
2008
2008
|
};
|
|
@@ -2017,6 +2017,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2017
2017
|
$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);
|
|
2018
2018
|
$el: any;
|
|
2019
2019
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2020
|
+
collapseDuration: {
|
|
2021
|
+
type: PropType<number>;
|
|
2022
|
+
default: undefined;
|
|
2023
|
+
};
|
|
2024
|
+
collapseTransition: {
|
|
2025
|
+
type: PropType<boolean>;
|
|
2026
|
+
default: undefined;
|
|
2027
|
+
};
|
|
2020
2028
|
columns: {
|
|
2021
2029
|
type: PropType<PlusColumn[]>;
|
|
2022
2030
|
default: () => never[];
|
|
@@ -2049,25 +2057,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2049
2057
|
type: PropType<boolean>;
|
|
2050
2058
|
default: boolean;
|
|
2051
2059
|
};
|
|
2052
|
-
|
|
2053
|
-
type: PropType<
|
|
2054
|
-
default: boolean;
|
|
2055
|
-
};
|
|
2056
|
-
colProps: {
|
|
2057
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
2058
|
-
style?: CSSProperties | undefined;
|
|
2059
|
-
class?: any;
|
|
2060
|
-
} & RecordType>>;
|
|
2060
|
+
defaultValues: {
|
|
2061
|
+
type: PropType<FieldValues>;
|
|
2061
2062
|
default: () => {};
|
|
2062
2063
|
};
|
|
2063
|
-
collapseDuration: {
|
|
2064
|
-
type: PropType<number>;
|
|
2065
|
-
default: undefined;
|
|
2066
|
-
};
|
|
2067
|
-
collapseTransition: {
|
|
2068
|
-
type: PropType<boolean>;
|
|
2069
|
-
default: undefined;
|
|
2070
|
-
};
|
|
2071
2064
|
rowProps: {
|
|
2072
2065
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
2073
2066
|
style?: CSSProperties | undefined;
|
|
@@ -2075,8 +2068,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2075
2068
|
} & RecordType>>;
|
|
2076
2069
|
default: () => {};
|
|
2077
2070
|
};
|
|
2078
|
-
|
|
2079
|
-
type: PropType<
|
|
2071
|
+
colProps: {
|
|
2072
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2073
|
+
style?: CSSProperties | undefined;
|
|
2074
|
+
class?: any;
|
|
2075
|
+
} & RecordType>>;
|
|
2080
2076
|
default: () => {};
|
|
2081
2077
|
};
|
|
2082
2078
|
hasErrorTip: {
|
|
@@ -2118,11 +2114,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2118
2114
|
type: PropType<boolean>;
|
|
2119
2115
|
default: boolean;
|
|
2120
2116
|
};
|
|
2117
|
+
clearable: {
|
|
2118
|
+
type: PropType<boolean>;
|
|
2119
|
+
default: boolean;
|
|
2120
|
+
};
|
|
2121
2121
|
}>> & {
|
|
2122
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2123
2122
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2124
2123
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2125
2124
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2125
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2126
2126
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2127
2127
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2128
2128
|
}, {
|
|
@@ -2428,6 +2428,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2428
2428
|
submitError: (errors: unknown) => void;
|
|
2429
2429
|
validate: (...args: any[]) => void;
|
|
2430
2430
|
}, string, {
|
|
2431
|
+
collapseDuration: number;
|
|
2432
|
+
collapseTransition: boolean;
|
|
2431
2433
|
columns: PlusColumn[];
|
|
2432
2434
|
group: false | PlusFormGroupRow[];
|
|
2433
2435
|
modelValue: FieldValues;
|
|
@@ -2436,18 +2438,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2436
2438
|
labelWidth: string | number;
|
|
2437
2439
|
labelSuffix: string;
|
|
2438
2440
|
hasLabel: boolean;
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
+
defaultValues: FieldValues;
|
|
2442
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2441
2443
|
style?: CSSProperties | undefined;
|
|
2442
2444
|
class?: any;
|
|
2443
2445
|
} & RecordType>;
|
|
2444
|
-
|
|
2445
|
-
collapseTransition: boolean;
|
|
2446
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2446
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2447
2447
|
style?: CSSProperties | undefined;
|
|
2448
2448
|
class?: any;
|
|
2449
2449
|
} & RecordType>;
|
|
2450
|
-
defaultValues: FieldValues;
|
|
2451
2450
|
hasErrorTip: boolean;
|
|
2452
2451
|
hasFooter: boolean;
|
|
2453
2452
|
hasReset: boolean;
|
|
@@ -2460,6 +2459,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2460
2459
|
class?: any;
|
|
2461
2460
|
} & RecordType>;
|
|
2462
2461
|
prevent: boolean;
|
|
2462
|
+
clearable: boolean;
|
|
2463
2463
|
}, {}, string, {}> & {
|
|
2464
2464
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2465
2465
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2481,6 +2481,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2481
2481
|
$nextTick: nextTick;
|
|
2482
2482
|
$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;
|
|
2483
2483
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2484
|
+
collapseDuration: {
|
|
2485
|
+
type: PropType<number>;
|
|
2486
|
+
default: undefined;
|
|
2487
|
+
};
|
|
2488
|
+
collapseTransition: {
|
|
2489
|
+
type: PropType<boolean>;
|
|
2490
|
+
default: undefined;
|
|
2491
|
+
};
|
|
2484
2492
|
columns: {
|
|
2485
2493
|
type: PropType<PlusColumn[]>;
|
|
2486
2494
|
default: () => never[];
|
|
@@ -2513,25 +2521,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2513
2521
|
type: PropType<boolean>;
|
|
2514
2522
|
default: boolean;
|
|
2515
2523
|
};
|
|
2516
|
-
|
|
2517
|
-
type: PropType<
|
|
2518
|
-
default: boolean;
|
|
2519
|
-
};
|
|
2520
|
-
colProps: {
|
|
2521
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
2522
|
-
style?: CSSProperties | undefined;
|
|
2523
|
-
class?: any;
|
|
2524
|
-
} & RecordType>>;
|
|
2524
|
+
defaultValues: {
|
|
2525
|
+
type: PropType<FieldValues>;
|
|
2525
2526
|
default: () => {};
|
|
2526
2527
|
};
|
|
2527
|
-
collapseDuration: {
|
|
2528
|
-
type: PropType<number>;
|
|
2529
|
-
default: undefined;
|
|
2530
|
-
};
|
|
2531
|
-
collapseTransition: {
|
|
2532
|
-
type: PropType<boolean>;
|
|
2533
|
-
default: undefined;
|
|
2534
|
-
};
|
|
2535
2528
|
rowProps: {
|
|
2536
2529
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
2537
2530
|
style?: CSSProperties | undefined;
|
|
@@ -2539,8 +2532,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2539
2532
|
} & RecordType>>;
|
|
2540
2533
|
default: () => {};
|
|
2541
2534
|
};
|
|
2542
|
-
|
|
2543
|
-
type: PropType<
|
|
2535
|
+
colProps: {
|
|
2536
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2537
|
+
style?: CSSProperties | undefined;
|
|
2538
|
+
class?: any;
|
|
2539
|
+
} & RecordType>>;
|
|
2544
2540
|
default: () => {};
|
|
2545
2541
|
};
|
|
2546
2542
|
hasErrorTip: {
|
|
@@ -2582,11 +2578,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2582
2578
|
type: PropType<boolean>;
|
|
2583
2579
|
default: boolean;
|
|
2584
2580
|
};
|
|
2581
|
+
clearable: {
|
|
2582
|
+
type: PropType<boolean>;
|
|
2583
|
+
default: boolean;
|
|
2584
|
+
};
|
|
2585
2585
|
}>> & {
|
|
2586
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2587
2586
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2588
2587
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2589
2588
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2589
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2590
2590
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2591
2591
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2592
2592
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2897,9 +2897,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2897
2897
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2898
2898
|
columns?: PlusColumn[] | undefined;
|
|
2899
2899
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2900
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
2900
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2901
2901
|
readonly label: string | ComputedRef<string>;
|
|
2902
|
-
readonly modelValue: string | number | boolean |
|
|
2902
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2903
2903
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2904
2904
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2905
2905
|
style?: CSSProperties | undefined;
|
|
@@ -2926,7 +2926,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2926
2926
|
};
|
|
2927
2927
|
rows: number;
|
|
2928
2928
|
autocomplete: string;
|
|
2929
|
-
type: "" | "number" | "default" | "
|
|
2929
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2930
2930
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2931
2931
|
step: string | number;
|
|
2932
2932
|
format: string | ProgressFn | undefined;
|
|
@@ -2965,7 +2965,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2965
2965
|
fieldInstance?: any;
|
|
2966
2966
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2967
2967
|
prop: string;
|
|
2968
|
-
modelValue: string | number | boolean |
|
|
2968
|
+
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2969
2969
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2970
2970
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2971
2971
|
style?: CSSProperties | undefined;
|
|
@@ -2993,9 +2993,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2993
2993
|
clearable: boolean;
|
|
2994
2994
|
index: number;
|
|
2995
2995
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2996
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
2996
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2997
2997
|
readonly label: string | ComputedRef<string>;
|
|
2998
|
-
readonly modelValue: string | number | boolean |
|
|
2998
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2999
2999
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3000
3000
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3001
3001
|
style?: CSSProperties | undefined;
|
|
@@ -3022,7 +3022,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3022
3022
|
};
|
|
3023
3023
|
rows: number;
|
|
3024
3024
|
autocomplete: string;
|
|
3025
|
-
type: "" | "number" | "default" | "
|
|
3025
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3026
3026
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3027
3027
|
step: string | number;
|
|
3028
3028
|
format: string | ProgressFn | undefined;
|
|
@@ -3061,7 +3061,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3061
3061
|
fieldInstance?: any;
|
|
3062
3062
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3063
3063
|
prop: string;
|
|
3064
|
-
modelValue: string | number | boolean |
|
|
3064
|
+
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3065
3065
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3066
3066
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3067
3067
|
style?: CSSProperties | undefined;
|
|
@@ -3107,9 +3107,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3107
3107
|
handleUnfold: (e: MouseEvent) => void;
|
|
3108
3108
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3109
3109
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3110
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
3110
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
3111
3111
|
readonly label: string | ComputedRef<string>;
|
|
3112
|
-
readonly modelValue: string | number | boolean |
|
|
3112
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3113
3113
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3114
3114
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3115
3115
|
style?: CSSProperties | undefined;
|
|
@@ -3136,7 +3136,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3136
3136
|
};
|
|
3137
3137
|
rows: number;
|
|
3138
3138
|
autocomplete: string;
|
|
3139
|
-
type: "" | "number" | "default" | "
|
|
3139
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3140
3140
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3141
3141
|
step: string | number;
|
|
3142
3142
|
format: string | ProgressFn | undefined;
|
|
@@ -3175,7 +3175,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3175
3175
|
fieldInstance?: any;
|
|
3176
3176
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3177
3177
|
prop: string;
|
|
3178
|
-
modelValue: string | number | boolean |
|
|
3178
|
+
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3179
3179
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3180
3180
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3181
3181
|
style?: CSSProperties | undefined;
|
|
@@ -3216,8 +3216,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3216
3216
|
$: ComponentInternalInstance;
|
|
3217
3217
|
$data: {};
|
|
3218
3218
|
$props: Partial<{
|
|
3219
|
-
columns: PlusColumn[];
|
|
3220
3219
|
data: RecordType[];
|
|
3220
|
+
columns: PlusColumn[];
|
|
3221
3221
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3222
3222
|
row: any[];
|
|
3223
3223
|
rowIndex: number;
|
|
@@ -3262,8 +3262,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3262
3262
|
timeout?: number | undefined;
|
|
3263
3263
|
};
|
|
3264
3264
|
}> & Omit<{
|
|
3265
|
-
readonly columns: PlusColumn[];
|
|
3266
3265
|
readonly data: RecordType[];
|
|
3266
|
+
readonly columns: PlusColumn[];
|
|
3267
3267
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3268
3268
|
row: any[];
|
|
3269
3269
|
rowIndex: number;
|
|
@@ -3321,14 +3321,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3321
3321
|
onEdited?: (() => any) | undefined;
|
|
3322
3322
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3323
3323
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3324
|
-
columns: {
|
|
3325
|
-
type: PropType<PlusColumn[]>;
|
|
3326
|
-
default: () => never[];
|
|
3327
|
-
};
|
|
3328
3324
|
data: {
|
|
3329
3325
|
type: PropType<RecordType[]>;
|
|
3330
3326
|
default: () => never[];
|
|
3331
3327
|
};
|
|
3328
|
+
columns: {
|
|
3329
|
+
type: PropType<PlusColumn[]>;
|
|
3330
|
+
default: () => never[];
|
|
3331
|
+
};
|
|
3332
3332
|
height: {
|
|
3333
3333
|
type: PropType<string | number>;
|
|
3334
3334
|
};
|
|
@@ -3465,7 +3465,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3465
3465
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3466
3466
|
onEdited?: (() => any) | undefined;
|
|
3467
3467
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3468
|
-
}, "
|
|
3468
|
+
}, "data" | "columns" | "headerCellStyle" | "rowKey" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive">;
|
|
3469
3469
|
$attrs: {
|
|
3470
3470
|
[x: string]: unknown;
|
|
3471
3471
|
};
|
|
@@ -3480,14 +3480,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3480
3480
|
$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);
|
|
3481
3481
|
$el: any;
|
|
3482
3482
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3483
|
-
columns: {
|
|
3484
|
-
type: PropType<PlusColumn[]>;
|
|
3485
|
-
default: () => never[];
|
|
3486
|
-
};
|
|
3487
3483
|
data: {
|
|
3488
3484
|
type: PropType<RecordType[]>;
|
|
3489
3485
|
default: () => never[];
|
|
3490
3486
|
};
|
|
3487
|
+
columns: {
|
|
3488
|
+
type: PropType<PlusColumn[]>;
|
|
3489
|
+
default: () => never[];
|
|
3490
|
+
};
|
|
3491
3491
|
height: {
|
|
3492
3492
|
type: PropType<string | number>;
|
|
3493
3493
|
};
|
|
@@ -3637,9 +3637,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3637
3637
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3638
3638
|
__epPropKey: true;
|
|
3639
3639
|
};
|
|
3640
|
-
width: (
|
|
3641
|
-
height: (
|
|
3642
|
-
maxHeight: (
|
|
3640
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3641
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3642
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3643
3643
|
fit: {
|
|
3644
3644
|
type: BooleanConstructor;
|
|
3645
3645
|
default: boolean;
|
|
@@ -3663,13 +3663,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3663
3663
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3664
3664
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3665
3665
|
highlightCurrentRow: BooleanConstructor;
|
|
3666
|
-
currentRowKey: (
|
|
3666
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3667
3667
|
emptyText: StringConstructor;
|
|
3668
3668
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3669
3669
|
defaultExpandAll: BooleanConstructor;
|
|
3670
3670
|
defaultSort: PropType< Sort | undefined>;
|
|
3671
3671
|
tooltipEffect: StringConstructor;
|
|
3672
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3672
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3673
3673
|
spanMethod: PropType<((data: {
|
|
3674
3674
|
row: any;
|
|
3675
3675
|
rowIndex: number;
|
|
@@ -3713,7 +3713,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3713
3713
|
};
|
|
3714
3714
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3715
3715
|
flexible: BooleanConstructor;
|
|
3716
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3716
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3717
3717
|
}>> & {
|
|
3718
3718
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3719
3719
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3833,9 +3833,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3833
3833
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3834
3834
|
__epPropKey: true;
|
|
3835
3835
|
};
|
|
3836
|
-
width: (
|
|
3837
|
-
height: (
|
|
3838
|
-
maxHeight: (
|
|
3836
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3837
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3838
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3839
3839
|
fit: {
|
|
3840
3840
|
type: BooleanConstructor;
|
|
3841
3841
|
default: boolean;
|
|
@@ -3859,13 +3859,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3859
3859
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3860
3860
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3861
3861
|
highlightCurrentRow: BooleanConstructor;
|
|
3862
|
-
currentRowKey: (
|
|
3862
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3863
3863
|
emptyText: StringConstructor;
|
|
3864
3864
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3865
3865
|
defaultExpandAll: BooleanConstructor;
|
|
3866
3866
|
defaultSort: PropType< Sort | undefined>;
|
|
3867
3867
|
tooltipEffect: StringConstructor;
|
|
3868
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3868
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3869
3869
|
spanMethod: PropType<((data: {
|
|
3870
3870
|
row: any;
|
|
3871
3871
|
rowIndex: number;
|
|
@@ -3909,7 +3909,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3909
3909
|
};
|
|
3910
3910
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3911
3911
|
flexible: BooleanConstructor;
|
|
3912
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3912
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3913
3913
|
}>> & {
|
|
3914
3914
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3915
3915
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3968,9 +3968,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3968
3968
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3969
3969
|
__epPropKey: true;
|
|
3970
3970
|
};
|
|
3971
|
-
width: (
|
|
3972
|
-
height: (
|
|
3973
|
-
maxHeight: (
|
|
3971
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3972
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3973
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3974
3974
|
fit: {
|
|
3975
3975
|
type: BooleanConstructor;
|
|
3976
3976
|
default: boolean;
|
|
@@ -3994,13 +3994,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3994
3994
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3995
3995
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3996
3996
|
highlightCurrentRow: BooleanConstructor;
|
|
3997
|
-
currentRowKey: (
|
|
3997
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3998
3998
|
emptyText: StringConstructor;
|
|
3999
3999
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4000
4000
|
defaultExpandAll: BooleanConstructor;
|
|
4001
4001
|
defaultSort: PropType< Sort | undefined>;
|
|
4002
4002
|
tooltipEffect: StringConstructor;
|
|
4003
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4003
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4004
4004
|
spanMethod: PropType<((data: {
|
|
4005
4005
|
row: any;
|
|
4006
4006
|
rowIndex: number;
|
|
@@ -4044,7 +4044,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4044
4044
|
};
|
|
4045
4045
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4046
4046
|
flexible: BooleanConstructor;
|
|
4047
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4047
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4048
4048
|
}>> & {
|
|
4049
4049
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4050
4050
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4188,8 +4188,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4188
4188
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
4189
4189
|
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
4190
4190
|
}, string, {
|
|
4191
|
-
columns: PlusColumn[];
|
|
4192
4191
|
data: RecordType[];
|
|
4192
|
+
columns: PlusColumn[];
|
|
4193
4193
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
4194
4194
|
row: any[];
|
|
4195
4195
|
rowIndex: number;
|
|
@@ -4254,14 +4254,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4254
4254
|
$nextTick: nextTick;
|
|
4255
4255
|
$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;
|
|
4256
4256
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4257
|
-
columns: {
|
|
4258
|
-
type: PropType<PlusColumn[]>;
|
|
4259
|
-
default: () => never[];
|
|
4260
|
-
};
|
|
4261
4257
|
data: {
|
|
4262
4258
|
type: PropType<RecordType[]>;
|
|
4263
4259
|
default: () => never[];
|
|
4264
4260
|
};
|
|
4261
|
+
columns: {
|
|
4262
|
+
type: PropType<PlusColumn[]>;
|
|
4263
|
+
default: () => never[];
|
|
4264
|
+
};
|
|
4265
4265
|
height: {
|
|
4266
4266
|
type: PropType<string | number>;
|
|
4267
4267
|
};
|
|
@@ -4411,9 +4411,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4411
4411
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4412
4412
|
__epPropKey: true;
|
|
4413
4413
|
};
|
|
4414
|
-
width: (
|
|
4415
|
-
height: (
|
|
4416
|
-
maxHeight: (
|
|
4414
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4415
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4416
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4417
4417
|
fit: {
|
|
4418
4418
|
type: BooleanConstructor;
|
|
4419
4419
|
default: boolean;
|
|
@@ -4437,13 +4437,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4437
4437
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4438
4438
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4439
4439
|
highlightCurrentRow: BooleanConstructor;
|
|
4440
|
-
currentRowKey: (
|
|
4440
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4441
4441
|
emptyText: StringConstructor;
|
|
4442
4442
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4443
4443
|
defaultExpandAll: BooleanConstructor;
|
|
4444
4444
|
defaultSort: PropType< Sort | undefined>;
|
|
4445
4445
|
tooltipEffect: StringConstructor;
|
|
4446
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4446
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4447
4447
|
spanMethod: PropType<((data: {
|
|
4448
4448
|
row: any;
|
|
4449
4449
|
rowIndex: number;
|
|
@@ -4487,7 +4487,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4487
4487
|
};
|
|
4488
4488
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4489
4489
|
flexible: BooleanConstructor;
|
|
4490
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4490
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4491
4491
|
}>> & {
|
|
4492
4492
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4493
4493
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4607,9 +4607,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4607
4607
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4608
4608
|
__epPropKey: true;
|
|
4609
4609
|
};
|
|
4610
|
-
width: (
|
|
4611
|
-
height: (
|
|
4612
|
-
maxHeight: (
|
|
4610
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4611
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4612
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4613
4613
|
fit: {
|
|
4614
4614
|
type: BooleanConstructor;
|
|
4615
4615
|
default: boolean;
|
|
@@ -4633,13 +4633,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4633
4633
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4634
4634
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4635
4635
|
highlightCurrentRow: BooleanConstructor;
|
|
4636
|
-
currentRowKey: (
|
|
4636
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4637
4637
|
emptyText: StringConstructor;
|
|
4638
4638
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4639
4639
|
defaultExpandAll: BooleanConstructor;
|
|
4640
4640
|
defaultSort: PropType< Sort | undefined>;
|
|
4641
4641
|
tooltipEffect: StringConstructor;
|
|
4642
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4642
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4643
4643
|
spanMethod: PropType<((data: {
|
|
4644
4644
|
row: any;
|
|
4645
4645
|
rowIndex: number;
|
|
@@ -4683,7 +4683,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4683
4683
|
};
|
|
4684
4684
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4685
4685
|
flexible: BooleanConstructor;
|
|
4686
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4686
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4687
4687
|
}>> & {
|
|
4688
4688
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4689
4689
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4742,9 +4742,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4742
4742
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4743
4743
|
__epPropKey: true;
|
|
4744
4744
|
};
|
|
4745
|
-
width: (
|
|
4746
|
-
height: (
|
|
4747
|
-
maxHeight: (
|
|
4745
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4746
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4747
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4748
4748
|
fit: {
|
|
4749
4749
|
type: BooleanConstructor;
|
|
4750
4750
|
default: boolean;
|
|
@@ -4768,13 +4768,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4768
4768
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4769
4769
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4770
4770
|
highlightCurrentRow: BooleanConstructor;
|
|
4771
|
-
currentRowKey: (
|
|
4771
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4772
4772
|
emptyText: StringConstructor;
|
|
4773
4773
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4774
4774
|
defaultExpandAll: BooleanConstructor;
|
|
4775
4775
|
defaultSort: PropType< Sort | undefined>;
|
|
4776
4776
|
tooltipEffect: StringConstructor;
|
|
4777
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4777
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4778
4778
|
spanMethod: PropType<((data: {
|
|
4779
4779
|
row: any;
|
|
4780
4780
|
rowIndex: number;
|
|
@@ -4818,7 +4818,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4818
4818
|
};
|
|
4819
4819
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4820
4820
|
flexible: BooleanConstructor;
|
|
4821
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4821
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "offset" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4822
4822
|
}>> & {
|
|
4823
4823
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4824
4824
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5027,8 +5027,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5027
5027
|
onRequestError?: ((error: unknown) => any) | undefined;
|
|
5028
5028
|
onRequestComplete?: ((tableData: RecordType[]) => any) | undefined;
|
|
5029
5029
|
}, {
|
|
5030
|
-
columns: PlusColumn[];
|
|
5031
|
-
immediate: boolean;
|
|
5032
5030
|
search: false | Partial< PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
5033
5031
|
style?: CSSProperties | undefined;
|
|
5034
5032
|
class?: any;
|
|
@@ -5037,6 +5035,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5037
5035
|
style?: CSSProperties | undefined;
|
|
5038
5036
|
class?: any;
|
|
5039
5037
|
}>;
|
|
5038
|
+
columns: PlusColumn[];
|
|
5039
|
+
immediate: boolean;
|
|
5040
5040
|
params: RecordType;
|
|
5041
5041
|
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5042
5042
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
@@ -5059,9 +5059,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5059
5059
|
};
|
|
5060
5060
|
searchSlot: boolean;
|
|
5061
5061
|
}, {}>, Partial<Record<never, (_: {
|
|
5062
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
5062
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
5063
5063
|
readonly label: string | ComputedRef<string>;
|
|
5064
|
-
readonly modelValue: string | number | boolean |
|
|
5064
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5065
5065
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5066
5066
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5067
5067
|
style?: CSSProperties | undefined;
|
|
@@ -5088,7 +5088,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5088
5088
|
};
|
|
5089
5089
|
rows: number;
|
|
5090
5090
|
autocomplete: string;
|
|
5091
|
-
type: "" | "number" | "default" | "
|
|
5091
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
5092
5092
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5093
5093
|
step: string | number;
|
|
5094
5094
|
format: string | ProgressFn | undefined;
|
|
@@ -5127,7 +5127,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5127
5127
|
fieldInstance?: any;
|
|
5128
5128
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5129
5129
|
prop: string;
|
|
5130
|
-
modelValue: string | number | boolean |
|
|
5130
|
+
modelValue: string | number | boolean | string[] | [string, string] | Date | RecordType | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5131
5131
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5132
5132
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5133
5133
|
style?: CSSProperties | undefined;
|