yc-pro-components 0.0.5 → 0.0.7
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/index.d.ts +0 -1
- package/es/components/index.mjs +0 -2
- 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 +900 -900
- 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 +2 -2
- package/es/index.mjs +0 -2
- package/index.css +19 -14
- package/index.js +10 -2049
- package/index.min.css +2 -2
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +11 -2043
- 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/index.d.ts +0 -1
- package/lib/components/index.js +10 -19
- 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 +900 -900
- 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 +2 -2
- package/lib/index.js +10 -19
- 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 -2
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-yc-line-tree.css +1 -0
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/plus-yc-status-dialog.css +1 -1
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/yc-line-tree.scss +64 -0
- package/theme-chalk/src/yc-plus-tree.scss +102 -0
- package/theme-chalk/src/yc-status-dialog.scss +7 -4
- package/es/components/yc-icon/index.d.ts +0 -49
- package/es/components/yc-icon/index.mjs +0 -10
- package/es/components/yc-icon/src/hooks.d.ts +0 -11
- package/es/components/yc-icon/src/hooks.mjs +0 -80
- package/es/components/yc-icon/src/iconfont.d.ts +0 -21
- package/es/components/yc-icon/src/iconfont.mjs +0 -45
- package/es/components/yc-icon/src/iconifyIconOffline.d.ts +0 -34
- package/es/components/yc-icon/src/iconifyIconOffline.mjs +0 -51
- package/es/components/yc-icon/src/iconifyIconOnline.d.ts +0 -19
- package/es/components/yc-icon/src/iconifyIconOnline.mjs +0 -30
- package/es/components/yc-icon/src/types.d.ts +0 -35
- package/es/components/yc-icon/src/types.mjs +0 -1
- package/lib/components/yc-icon/index.d.ts +0 -49
- package/lib/components/yc-icon/index.js +0 -18
- package/lib/components/yc-icon/src/hooks.d.ts +0 -11
- package/lib/components/yc-icon/src/hooks.js +0 -82
- package/lib/components/yc-icon/src/iconfont.d.ts +0 -21
- package/lib/components/yc-icon/src/iconfont.js +0 -49
- package/lib/components/yc-icon/src/iconifyIconOffline.d.ts +0 -34
- package/lib/components/yc-icon/src/iconifyIconOffline.js +0 -55
- package/lib/components/yc-icon/src/iconifyIconOnline.d.ts +0 -19
- package/lib/components/yc-icon/src/iconifyIconOnline.js +0 -34
- package/lib/components/yc-icon/src/types.d.ts +0 -35
- package/lib/components/yc-icon/src/types.js +0 -2
|
@@ -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, 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
|
-
|
|
140
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
139
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
141
140
|
style?: CSSProperties | undefined;
|
|
142
141
|
class?: any;
|
|
143
142
|
} & RecordType>;
|
|
144
|
-
|
|
143
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
145
144
|
style?: CSSProperties | undefined;
|
|
146
145
|
class?: any;
|
|
147
146
|
} & 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
|
|
164
|
-
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
163
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
165
164
|
style?: CSSProperties | undefined;
|
|
166
165
|
class?: any;
|
|
167
166
|
} & RecordType>;
|
|
168
|
-
readonly
|
|
167
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
169
168
|
style?: CSSProperties | undefined;
|
|
170
169
|
class?: any;
|
|
171
170
|
} & 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;
|
|
183
184
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
184
185
|
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,19 +206,6 @@ 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
|
-
};
|
|
222
209
|
colProps: {
|
|
223
210
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
224
211
|
style?: CSSProperties | undefined;
|
|
@@ -232,6 +219,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
232
219
|
xl: number;
|
|
233
220
|
};
|
|
234
221
|
};
|
|
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;
|
|
276
277
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
277
278
|
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" | "colProps" | "rowProps" | "defaultValues" | "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: "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);
|
|
294
294
|
$el: any;
|
|
295
295
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
296
296
|
columns: {
|
|
@@ -313,19 +313,6 @@ 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
|
-
};
|
|
329
316
|
colProps: {
|
|
330
317
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
331
318
|
style?: CSSProperties | undefined;
|
|
@@ -339,6 +326,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
339
326
|
xl: number;
|
|
340
327
|
};
|
|
341
328
|
};
|
|
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;
|
|
383
384
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
384
385
|
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,8 +390,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
390
390
|
$: ComponentInternalInstance;
|
|
391
391
|
$data: {};
|
|
392
392
|
$props: Partial<{
|
|
393
|
-
collapseDuration: number;
|
|
394
|
-
collapseTransition: boolean;
|
|
395
393
|
columns: PlusColumn[];
|
|
396
394
|
group: false | PlusFormGroupRow[];
|
|
397
395
|
modelValue: FieldValues;
|
|
@@ -400,15 +398,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
400
398
|
labelWidth: string | number;
|
|
401
399
|
labelSuffix: string;
|
|
402
400
|
hasLabel: boolean;
|
|
403
|
-
|
|
404
|
-
|
|
401
|
+
clearable: boolean;
|
|
402
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
405
403
|
style?: CSSProperties | undefined;
|
|
406
404
|
class?: any;
|
|
407
405
|
} & RecordType>;
|
|
408
|
-
|
|
406
|
+
collapseDuration: number;
|
|
407
|
+
collapseTransition: boolean;
|
|
408
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
409
409
|
style?: CSSProperties | undefined;
|
|
410
410
|
class?: any;
|
|
411
411
|
} & RecordType>;
|
|
412
|
+
defaultValues: FieldValues;
|
|
412
413
|
hasErrorTip: boolean;
|
|
413
414
|
hasFooter: boolean;
|
|
414
415
|
hasReset: boolean;
|
|
@@ -421,7 +422,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
421
422
|
class?: any;
|
|
422
423
|
} & RecordType>;
|
|
423
424
|
prevent: boolean;
|
|
424
|
-
clearable: boolean;
|
|
425
425
|
}> & Omit<{
|
|
426
426
|
readonly columns: PlusColumn[];
|
|
427
427
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -431,15 +431,16 @@ 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 clearable: boolean;
|
|
435
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
436
436
|
style?: CSSProperties | undefined;
|
|
437
437
|
class?: any;
|
|
438
438
|
} & RecordType>;
|
|
439
|
-
readonly
|
|
439
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
440
440
|
style?: CSSProperties | undefined;
|
|
441
441
|
class?: any;
|
|
442
442
|
} & RecordType>;
|
|
443
|
+
readonly defaultValues: FieldValues;
|
|
443
444
|
readonly hasErrorTip: boolean;
|
|
444
445
|
readonly hasFooter: boolean;
|
|
445
446
|
readonly hasReset: boolean;
|
|
@@ -452,24 +453,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
452
453
|
class?: any;
|
|
453
454
|
} & RecordType>;
|
|
454
455
|
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;
|
|
458
459
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
459
460
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
460
461
|
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
|
-
};
|
|
473
465
|
columns: {
|
|
474
466
|
type: PropType<PlusColumn[]>;
|
|
475
467
|
default: () => never[];
|
|
@@ -502,24 +494,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
502
494
|
type: PropType<boolean>;
|
|
503
495
|
default: boolean;
|
|
504
496
|
};
|
|
505
|
-
|
|
506
|
-
type: PropType<
|
|
507
|
-
default:
|
|
497
|
+
clearable: {
|
|
498
|
+
type: PropType<boolean>;
|
|
499
|
+
default: boolean;
|
|
508
500
|
};
|
|
509
|
-
|
|
510
|
-
type: PropType<Partial< Mutable<
|
|
501
|
+
colProps: {
|
|
502
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
511
503
|
style?: CSSProperties | undefined;
|
|
512
504
|
class?: any;
|
|
513
505
|
} & RecordType>>;
|
|
514
506
|
default: () => {};
|
|
515
507
|
};
|
|
516
|
-
|
|
517
|
-
type: PropType<
|
|
508
|
+
collapseDuration: {
|
|
509
|
+
type: PropType<number>;
|
|
510
|
+
default: undefined;
|
|
511
|
+
};
|
|
512
|
+
collapseTransition: {
|
|
513
|
+
type: PropType<boolean>;
|
|
514
|
+
default: undefined;
|
|
515
|
+
};
|
|
516
|
+
rowProps: {
|
|
517
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
518
518
|
style?: CSSProperties | undefined;
|
|
519
519
|
class?: any;
|
|
520
520
|
} & RecordType>>;
|
|
521
521
|
default: () => {};
|
|
522
522
|
};
|
|
523
|
+
defaultValues: {
|
|
524
|
+
type: PropType<FieldValues>;
|
|
525
|
+
default: () => {};
|
|
526
|
+
};
|
|
523
527
|
hasErrorTip: {
|
|
524
528
|
type: PropType<boolean>;
|
|
525
529
|
default: boolean;
|
|
@@ -559,18 +563,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
559
563
|
type: PropType<boolean>;
|
|
560
564
|
default: boolean;
|
|
561
565
|
};
|
|
562
|
-
clearable: {
|
|
563
|
-
type: PropType<boolean>;
|
|
564
|
-
default: boolean;
|
|
565
|
-
};
|
|
566
566
|
}>> & {
|
|
567
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
567
568
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
568
569
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
569
570
|
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
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
574
574
|
$attrs: {
|
|
575
575
|
[x: string]: unknown;
|
|
576
576
|
};
|
|
@@ -585,14 +585,6 @@ 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
|
-
};
|
|
596
588
|
columns: {
|
|
597
589
|
type: PropType<PlusColumn[]>;
|
|
598
590
|
default: () => never[];
|
|
@@ -625,24 +617,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
625
617
|
type: PropType<boolean>;
|
|
626
618
|
default: boolean;
|
|
627
619
|
};
|
|
628
|
-
|
|
629
|
-
type: PropType<
|
|
630
|
-
default:
|
|
620
|
+
clearable: {
|
|
621
|
+
type: PropType<boolean>;
|
|
622
|
+
default: boolean;
|
|
631
623
|
};
|
|
632
|
-
|
|
633
|
-
type: PropType<Partial< Mutable<
|
|
624
|
+
colProps: {
|
|
625
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
634
626
|
style?: CSSProperties | undefined;
|
|
635
627
|
class?: any;
|
|
636
628
|
} & RecordType>>;
|
|
637
629
|
default: () => {};
|
|
638
630
|
};
|
|
639
|
-
|
|
640
|
-
type: PropType<
|
|
631
|
+
collapseDuration: {
|
|
632
|
+
type: PropType<number>;
|
|
633
|
+
default: undefined;
|
|
634
|
+
};
|
|
635
|
+
collapseTransition: {
|
|
636
|
+
type: PropType<boolean>;
|
|
637
|
+
default: undefined;
|
|
638
|
+
};
|
|
639
|
+
rowProps: {
|
|
640
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
641
641
|
style?: CSSProperties | undefined;
|
|
642
642
|
class?: any;
|
|
643
643
|
} & RecordType>>;
|
|
644
644
|
default: () => {};
|
|
645
645
|
};
|
|
646
|
+
defaultValues: {
|
|
647
|
+
type: PropType<FieldValues>;
|
|
648
|
+
default: () => {};
|
|
649
|
+
};
|
|
646
650
|
hasErrorTip: {
|
|
647
651
|
type: PropType<boolean>;
|
|
648
652
|
default: boolean;
|
|
@@ -682,15 +686,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
682
686
|
type: PropType<boolean>;
|
|
683
687
|
default: boolean;
|
|
684
688
|
};
|
|
685
|
-
clearable: {
|
|
686
|
-
type: PropType<boolean>;
|
|
687
|
-
default: boolean;
|
|
688
|
-
};
|
|
689
689
|
}>> & {
|
|
690
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
690
691
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
691
692
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
692
693
|
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,8 +996,6 @@ 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;
|
|
1001
999
|
columns: PlusColumn[];
|
|
1002
1000
|
group: false | PlusFormGroupRow[];
|
|
1003
1001
|
modelValue: FieldValues;
|
|
@@ -1006,15 +1004,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1006
1004
|
labelWidth: string | number;
|
|
1007
1005
|
labelSuffix: string;
|
|
1008
1006
|
hasLabel: boolean;
|
|
1009
|
-
|
|
1010
|
-
|
|
1007
|
+
clearable: boolean;
|
|
1008
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1011
1009
|
style?: CSSProperties | undefined;
|
|
1012
1010
|
class?: any;
|
|
1013
1011
|
} & RecordType>;
|
|
1014
|
-
|
|
1012
|
+
collapseDuration: number;
|
|
1013
|
+
collapseTransition: boolean;
|
|
1014
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1015
1015
|
style?: CSSProperties | undefined;
|
|
1016
1016
|
class?: any;
|
|
1017
1017
|
} & RecordType>;
|
|
1018
|
+
defaultValues: FieldValues;
|
|
1018
1019
|
hasErrorTip: boolean;
|
|
1019
1020
|
hasFooter: boolean;
|
|
1020
1021
|
hasReset: boolean;
|
|
@@ -1027,7 +1028,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1027
1028
|
class?: any;
|
|
1028
1029
|
} & RecordType>;
|
|
1029
1030
|
prevent: boolean;
|
|
1030
|
-
clearable: boolean;
|
|
1031
1031
|
}, {}, string, {}> & {
|
|
1032
1032
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1033
1033
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1049,14 +1049,6 @@ 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
|
-
};
|
|
1060
1052
|
columns: {
|
|
1061
1053
|
type: PropType<PlusColumn[]>;
|
|
1062
1054
|
default: () => never[];
|
|
@@ -1089,24 +1081,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1089
1081
|
type: PropType<boolean>;
|
|
1090
1082
|
default: boolean;
|
|
1091
1083
|
};
|
|
1092
|
-
|
|
1093
|
-
type: PropType<
|
|
1094
|
-
default:
|
|
1084
|
+
clearable: {
|
|
1085
|
+
type: PropType<boolean>;
|
|
1086
|
+
default: boolean;
|
|
1095
1087
|
};
|
|
1096
|
-
|
|
1097
|
-
type: PropType<Partial< Mutable<
|
|
1088
|
+
colProps: {
|
|
1089
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1098
1090
|
style?: CSSProperties | undefined;
|
|
1099
1091
|
class?: any;
|
|
1100
1092
|
} & RecordType>>;
|
|
1101
1093
|
default: () => {};
|
|
1102
1094
|
};
|
|
1103
|
-
|
|
1104
|
-
type: PropType<
|
|
1095
|
+
collapseDuration: {
|
|
1096
|
+
type: PropType<number>;
|
|
1097
|
+
default: undefined;
|
|
1098
|
+
};
|
|
1099
|
+
collapseTransition: {
|
|
1100
|
+
type: PropType<boolean>;
|
|
1101
|
+
default: undefined;
|
|
1102
|
+
};
|
|
1103
|
+
rowProps: {
|
|
1104
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1105
1105
|
style?: CSSProperties | undefined;
|
|
1106
1106
|
class?: any;
|
|
1107
1107
|
} & RecordType>>;
|
|
1108
1108
|
default: () => {};
|
|
1109
1109
|
};
|
|
1110
|
+
defaultValues: {
|
|
1111
|
+
type: PropType<FieldValues>;
|
|
1112
|
+
default: () => {};
|
|
1113
|
+
};
|
|
1110
1114
|
hasErrorTip: {
|
|
1111
1115
|
type: PropType<boolean>;
|
|
1112
1116
|
default: boolean;
|
|
@@ -1146,15 +1150,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1146
1150
|
type: PropType<boolean>;
|
|
1147
1151
|
default: boolean;
|
|
1148
1152
|
};
|
|
1149
|
-
clearable: {
|
|
1150
|
-
type: PropType<boolean>;
|
|
1151
|
-
default: boolean;
|
|
1152
|
-
};
|
|
1153
1153
|
}>> & {
|
|
1154
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1154
1155
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1155
1156
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1156
1157
|
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>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
1469
1469
|
readonly label: string | ComputedRef<string>;
|
|
1470
|
-
readonly modelValue: string | number | boolean |
|
|
1470
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "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 | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
1565
1565
|
readonly label: string | ComputedRef<string>;
|
|
1566
|
-
readonly modelValue: string | number | boolean |
|
|
1566
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "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 | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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
|
-
|
|
1689
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1688
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1690
1689
|
style?: CSSProperties | undefined;
|
|
1691
1690
|
class?: any;
|
|
1692
1691
|
} & RecordType>;
|
|
1693
|
-
|
|
1692
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1694
1693
|
style?: CSSProperties | undefined;
|
|
1695
1694
|
class?: any;
|
|
1696
1695
|
} & RecordType>;
|
|
1696
|
+
defaultValues: FieldValues;
|
|
1697
1697
|
hasFooter: boolean;
|
|
1698
1698
|
hasReset: boolean;
|
|
1699
1699
|
resetText: string;
|
|
@@ -1745,19 +1745,6 @@ 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
|
-
};
|
|
1761
1748
|
colProps: {
|
|
1762
1749
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1763
1750
|
style?: CSSProperties | undefined;
|
|
@@ -1771,6 +1758,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1771
1758
|
xl: number;
|
|
1772
1759
|
};
|
|
1773
1760
|
};
|
|
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;
|
|
1815
1816
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1816
1817
|
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,8 +1822,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1822
1822
|
$: ComponentInternalInstance;
|
|
1823
1823
|
$data: {};
|
|
1824
1824
|
$props: Partial<{
|
|
1825
|
-
collapseDuration: number;
|
|
1826
|
-
collapseTransition: boolean;
|
|
1827
1825
|
columns: PlusColumn[];
|
|
1828
1826
|
group: false | PlusFormGroupRow[];
|
|
1829
1827
|
modelValue: FieldValues;
|
|
@@ -1832,15 +1830,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1832
1830
|
labelWidth: string | number;
|
|
1833
1831
|
labelSuffix: string;
|
|
1834
1832
|
hasLabel: boolean;
|
|
1835
|
-
|
|
1836
|
-
|
|
1833
|
+
clearable: boolean;
|
|
1834
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1837
1835
|
style?: CSSProperties | undefined;
|
|
1838
1836
|
class?: any;
|
|
1839
1837
|
} & RecordType>;
|
|
1840
|
-
|
|
1838
|
+
collapseDuration: number;
|
|
1839
|
+
collapseTransition: boolean;
|
|
1840
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1841
1841
|
style?: CSSProperties | undefined;
|
|
1842
1842
|
class?: any;
|
|
1843
1843
|
} & RecordType>;
|
|
1844
|
+
defaultValues: FieldValues;
|
|
1844
1845
|
hasErrorTip: boolean;
|
|
1845
1846
|
hasFooter: boolean;
|
|
1846
1847
|
hasReset: boolean;
|
|
@@ -1853,7 +1854,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1853
1854
|
class?: any;
|
|
1854
1855
|
} & RecordType>;
|
|
1855
1856
|
prevent: boolean;
|
|
1856
|
-
clearable: boolean;
|
|
1857
1857
|
}> & Omit<{
|
|
1858
1858
|
readonly columns: PlusColumn[];
|
|
1859
1859
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -1863,15 +1863,16 @@ 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 clearable: boolean;
|
|
1867
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
1868
1868
|
style?: CSSProperties | undefined;
|
|
1869
1869
|
class?: any;
|
|
1870
1870
|
} & RecordType>;
|
|
1871
|
-
readonly
|
|
1871
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
1872
1872
|
style?: CSSProperties | undefined;
|
|
1873
1873
|
class?: any;
|
|
1874
1874
|
} & RecordType>;
|
|
1875
|
+
readonly defaultValues: FieldValues;
|
|
1875
1876
|
readonly hasErrorTip: boolean;
|
|
1876
1877
|
readonly hasFooter: boolean;
|
|
1877
1878
|
readonly hasReset: boolean;
|
|
@@ -1884,24 +1885,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1884
1885
|
class?: any;
|
|
1885
1886
|
} & RecordType>;
|
|
1886
1887
|
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;
|
|
1890
1891
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1891
1892
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1892
1893
|
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
|
-
};
|
|
1905
1897
|
columns: {
|
|
1906
1898
|
type: PropType<PlusColumn[]>;
|
|
1907
1899
|
default: () => never[];
|
|
@@ -1934,24 +1926,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1934
1926
|
type: PropType<boolean>;
|
|
1935
1927
|
default: boolean;
|
|
1936
1928
|
};
|
|
1937
|
-
|
|
1938
|
-
type: PropType<
|
|
1939
|
-
default:
|
|
1929
|
+
clearable: {
|
|
1930
|
+
type: PropType<boolean>;
|
|
1931
|
+
default: boolean;
|
|
1940
1932
|
};
|
|
1941
|
-
|
|
1942
|
-
type: PropType<Partial< Mutable<
|
|
1933
|
+
colProps: {
|
|
1934
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1943
1935
|
style?: CSSProperties | undefined;
|
|
1944
1936
|
class?: any;
|
|
1945
1937
|
} & RecordType>>;
|
|
1946
1938
|
default: () => {};
|
|
1947
1939
|
};
|
|
1948
|
-
|
|
1949
|
-
type: PropType<
|
|
1940
|
+
collapseDuration: {
|
|
1941
|
+
type: PropType<number>;
|
|
1942
|
+
default: undefined;
|
|
1943
|
+
};
|
|
1944
|
+
collapseTransition: {
|
|
1945
|
+
type: PropType<boolean>;
|
|
1946
|
+
default: undefined;
|
|
1947
|
+
};
|
|
1948
|
+
rowProps: {
|
|
1949
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1950
1950
|
style?: CSSProperties | undefined;
|
|
1951
1951
|
class?: any;
|
|
1952
1952
|
} & RecordType>>;
|
|
1953
1953
|
default: () => {};
|
|
1954
1954
|
};
|
|
1955
|
+
defaultValues: {
|
|
1956
|
+
type: PropType<FieldValues>;
|
|
1957
|
+
default: () => {};
|
|
1958
|
+
};
|
|
1955
1959
|
hasErrorTip: {
|
|
1956
1960
|
type: PropType<boolean>;
|
|
1957
1961
|
default: boolean;
|
|
@@ -1991,18 +1995,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1991
1995
|
type: PropType<boolean>;
|
|
1992
1996
|
default: boolean;
|
|
1993
1997
|
};
|
|
1994
|
-
clearable: {
|
|
1995
|
-
type: PropType<boolean>;
|
|
1996
|
-
default: boolean;
|
|
1997
|
-
};
|
|
1998
1998
|
}>> & {
|
|
1999
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1999
2000
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2000
2001
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2001
2002
|
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
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2006
2006
|
$attrs: {
|
|
2007
2007
|
[x: string]: unknown;
|
|
2008
2008
|
};
|
|
@@ -2017,14 +2017,6 @@ 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
|
-
};
|
|
2028
2020
|
columns: {
|
|
2029
2021
|
type: PropType<PlusColumn[]>;
|
|
2030
2022
|
default: () => never[];
|
|
@@ -2057,24 +2049,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2057
2049
|
type: PropType<boolean>;
|
|
2058
2050
|
default: boolean;
|
|
2059
2051
|
};
|
|
2060
|
-
|
|
2061
|
-
type: PropType<
|
|
2062
|
-
default:
|
|
2052
|
+
clearable: {
|
|
2053
|
+
type: PropType<boolean>;
|
|
2054
|
+
default: boolean;
|
|
2063
2055
|
};
|
|
2064
|
-
|
|
2065
|
-
type: PropType<Partial< Mutable<
|
|
2056
|
+
colProps: {
|
|
2057
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2066
2058
|
style?: CSSProperties | undefined;
|
|
2067
2059
|
class?: any;
|
|
2068
2060
|
} & RecordType>>;
|
|
2069
2061
|
default: () => {};
|
|
2070
2062
|
};
|
|
2071
|
-
|
|
2072
|
-
type: PropType<
|
|
2063
|
+
collapseDuration: {
|
|
2064
|
+
type: PropType<number>;
|
|
2065
|
+
default: undefined;
|
|
2066
|
+
};
|
|
2067
|
+
collapseTransition: {
|
|
2068
|
+
type: PropType<boolean>;
|
|
2069
|
+
default: undefined;
|
|
2070
|
+
};
|
|
2071
|
+
rowProps: {
|
|
2072
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2073
2073
|
style?: CSSProperties | undefined;
|
|
2074
2074
|
class?: any;
|
|
2075
2075
|
} & RecordType>>;
|
|
2076
2076
|
default: () => {};
|
|
2077
2077
|
};
|
|
2078
|
+
defaultValues: {
|
|
2079
|
+
type: PropType<FieldValues>;
|
|
2080
|
+
default: () => {};
|
|
2081
|
+
};
|
|
2078
2082
|
hasErrorTip: {
|
|
2079
2083
|
type: PropType<boolean>;
|
|
2080
2084
|
default: boolean;
|
|
@@ -2114,15 +2118,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2114
2118
|
type: PropType<boolean>;
|
|
2115
2119
|
default: boolean;
|
|
2116
2120
|
};
|
|
2117
|
-
clearable: {
|
|
2118
|
-
type: PropType<boolean>;
|
|
2119
|
-
default: boolean;
|
|
2120
|
-
};
|
|
2121
2121
|
}>> & {
|
|
2122
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2122
2123
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2123
2124
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2124
2125
|
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,8 +2428,6 @@ 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;
|
|
2433
2431
|
columns: PlusColumn[];
|
|
2434
2432
|
group: false | PlusFormGroupRow[];
|
|
2435
2433
|
modelValue: FieldValues;
|
|
@@ -2438,15 +2436,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2438
2436
|
labelWidth: string | number;
|
|
2439
2437
|
labelSuffix: string;
|
|
2440
2438
|
hasLabel: boolean;
|
|
2441
|
-
|
|
2442
|
-
|
|
2439
|
+
clearable: boolean;
|
|
2440
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2443
2441
|
style?: CSSProperties | undefined;
|
|
2444
2442
|
class?: any;
|
|
2445
2443
|
} & RecordType>;
|
|
2446
|
-
|
|
2444
|
+
collapseDuration: number;
|
|
2445
|
+
collapseTransition: boolean;
|
|
2446
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2447
2447
|
style?: CSSProperties | undefined;
|
|
2448
2448
|
class?: any;
|
|
2449
2449
|
} & RecordType>;
|
|
2450
|
+
defaultValues: FieldValues;
|
|
2450
2451
|
hasErrorTip: boolean;
|
|
2451
2452
|
hasFooter: boolean;
|
|
2452
2453
|
hasReset: boolean;
|
|
@@ -2459,7 +2460,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2459
2460
|
class?: any;
|
|
2460
2461
|
} & RecordType>;
|
|
2461
2462
|
prevent: boolean;
|
|
2462
|
-
clearable: boolean;
|
|
2463
2463
|
}, {}, string, {}> & {
|
|
2464
2464
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2465
2465
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2481,14 +2481,6 @@ 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
|
-
};
|
|
2492
2484
|
columns: {
|
|
2493
2485
|
type: PropType<PlusColumn[]>;
|
|
2494
2486
|
default: () => never[];
|
|
@@ -2521,24 +2513,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2521
2513
|
type: PropType<boolean>;
|
|
2522
2514
|
default: boolean;
|
|
2523
2515
|
};
|
|
2524
|
-
|
|
2525
|
-
type: PropType<
|
|
2526
|
-
default:
|
|
2516
|
+
clearable: {
|
|
2517
|
+
type: PropType<boolean>;
|
|
2518
|
+
default: boolean;
|
|
2527
2519
|
};
|
|
2528
|
-
|
|
2529
|
-
type: PropType<Partial< Mutable<
|
|
2520
|
+
colProps: {
|
|
2521
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2530
2522
|
style?: CSSProperties | undefined;
|
|
2531
2523
|
class?: any;
|
|
2532
2524
|
} & RecordType>>;
|
|
2533
2525
|
default: () => {};
|
|
2534
2526
|
};
|
|
2535
|
-
|
|
2536
|
-
type: PropType<
|
|
2527
|
+
collapseDuration: {
|
|
2528
|
+
type: PropType<number>;
|
|
2529
|
+
default: undefined;
|
|
2530
|
+
};
|
|
2531
|
+
collapseTransition: {
|
|
2532
|
+
type: PropType<boolean>;
|
|
2533
|
+
default: undefined;
|
|
2534
|
+
};
|
|
2535
|
+
rowProps: {
|
|
2536
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2537
2537
|
style?: CSSProperties | undefined;
|
|
2538
2538
|
class?: any;
|
|
2539
2539
|
} & RecordType>>;
|
|
2540
2540
|
default: () => {};
|
|
2541
2541
|
};
|
|
2542
|
+
defaultValues: {
|
|
2543
|
+
type: PropType<FieldValues>;
|
|
2544
|
+
default: () => {};
|
|
2545
|
+
};
|
|
2542
2546
|
hasErrorTip: {
|
|
2543
2547
|
type: PropType<boolean>;
|
|
2544
2548
|
default: boolean;
|
|
@@ -2578,15 +2582,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2578
2582
|
type: PropType<boolean>;
|
|
2579
2583
|
default: boolean;
|
|
2580
2584
|
};
|
|
2581
|
-
clearable: {
|
|
2582
|
-
type: PropType<boolean>;
|
|
2583
|
-
default: boolean;
|
|
2584
|
-
};
|
|
2585
2585
|
}>> & {
|
|
2586
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2586
2587
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2587
2588
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2588
2589
|
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>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
2901
2901
|
readonly label: string | ComputedRef<string>;
|
|
2902
|
-
readonly modelValue: string | number | boolean |
|
|
2902
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "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 | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
2997
2997
|
readonly label: string | ComputedRef<string>;
|
|
2998
|
-
readonly modelValue: string | number | boolean |
|
|
2998
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "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 | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
3111
3111
|
readonly label: string | ComputedRef<string>;
|
|
3112
|
-
readonly modelValue: string | number | boolean |
|
|
3112
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "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 | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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
|
-
data: RecordType[];
|
|
3220
3219
|
columns: PlusColumn[];
|
|
3220
|
+
data: RecordType[];
|
|
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 data: RecordType[];
|
|
3266
3265
|
readonly columns: PlusColumn[];
|
|
3266
|
+
readonly data: RecordType[];
|
|
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
|
-
data: {
|
|
3325
|
-
type: PropType<RecordType[]>;
|
|
3326
|
-
default: () => never[];
|
|
3327
|
-
};
|
|
3328
3324
|
columns: {
|
|
3329
3325
|
type: PropType<PlusColumn[]>;
|
|
3330
3326
|
default: () => never[];
|
|
3331
3327
|
};
|
|
3328
|
+
data: {
|
|
3329
|
+
type: PropType<RecordType[]>;
|
|
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
|
+
}, "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">;
|
|
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
|
-
data: {
|
|
3484
|
-
type: PropType<RecordType[]>;
|
|
3485
|
-
default: () => never[];
|
|
3486
|
-
};
|
|
3487
3483
|
columns: {
|
|
3488
3484
|
type: PropType<PlusColumn[]>;
|
|
3489
3485
|
default: () => never[];
|
|
3490
3486
|
};
|
|
3487
|
+
data: {
|
|
3488
|
+
type: PropType<RecordType[]>;
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
3641
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
3642
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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: (NumberConstructor | StringConstructor)[];
|
|
3837
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
3838
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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: (NumberConstructor | StringConstructor)[];
|
|
3972
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
3973
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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
|
-
data: RecordType[];
|
|
4192
4191
|
columns: PlusColumn[];
|
|
4192
|
+
data: RecordType[];
|
|
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
|
-
data: {
|
|
4258
|
-
type: PropType<RecordType[]>;
|
|
4259
|
-
default: () => never[];
|
|
4260
|
-
};
|
|
4261
4257
|
columns: {
|
|
4262
4258
|
type: PropType<PlusColumn[]>;
|
|
4263
4259
|
default: () => never[];
|
|
4264
4260
|
};
|
|
4261
|
+
data: {
|
|
4262
|
+
type: PropType<RecordType[]>;
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
4415
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4416
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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: (NumberConstructor | StringConstructor)[];
|
|
4611
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4612
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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: (NumberConstructor | StringConstructor)[];
|
|
4746
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4747
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "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, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4822
4822
|
}>> & {
|
|
4823
4823
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4824
4824
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5027,6 +5027,8 @@ 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;
|
|
5030
5032
|
search: false | Partial< PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
5031
5033
|
style?: CSSProperties | undefined;
|
|
5032
5034
|
class?: any;
|
|
@@ -5035,8 +5037,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5035
5037
|
style?: CSSProperties | undefined;
|
|
5036
5038
|
class?: any;
|
|
5037
5039
|
}>;
|
|
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>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
5063
5063
|
readonly label: string | ComputedRef<string>;
|
|
5064
|
-
readonly modelValue: string | number | boolean |
|
|
5064
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | 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" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "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 | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
5131
5131
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5132
5132
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5133
5133
|
style?: CSSProperties | undefined;
|