yc-pro-components 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +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 +32 -32
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- 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 +128 -128
- package/es/components/form-item/src/form-item.mjs +2 -1
- package/es/components/form-item/src/index.vue.d.ts +16 -16
- 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 +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 +28 -28
- package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
- package/es/components/utils/index.d.ts +15 -15
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-dialog/src/index.vue2.mjs +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/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- package/es/components/yc-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 +6 -1
- package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- 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/index.css +48 -48
- package/index.js +21 -11
- package/index.min.css +2 -2
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +21 -11
- 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 +32 -32
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- 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 +128 -128
- package/lib/components/form-item/src/form-item.js +2 -1
- package/lib/components/form-item/src/index.vue.d.ts +16 -16
- 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 +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 +28 -28
- package/lib/components/table/src/table-title-bar.vue2.js +1 -0
- package/lib/components/utils/index.d.ts +15 -15
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-dialog/src/index.vue2.js +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/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- package/lib/components/yc-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 +6 -1
- package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
- package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- 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/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-display-item.css +1 -1
- package/theme-chalk/plus-table.css +1 -1
- package/theme-chalk/plus-yc-dialog.css +1 -1
- package/theme-chalk/plus-yc-drawer.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/dialog.scss +45 -0
- package/theme-chalk/src/display-item.scss +1 -0
- package/theme-chalk/src/table.scss +10 -0
- package/theme-chalk/src/yc-dialog.scss +50 -0
- package/theme-chalk/src/yc-drawer.scss +1 -1
- package/theme-chalk/src/yc-plus-tree.scss +1 -0
|
@@ -5,7 +5,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
5
5
|
import { LooseRequired } from '@vue/shared';
|
|
6
6
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
7
7
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, PlusFormSelfProps, ElementPlusFormProps } from 'packages/yc-components';
|
|
8
|
-
import {
|
|
8
|
+
import { ColProps, RowProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, TreeNode, Translator, Table, TableProps } from 'element-plus';
|
|
9
9
|
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, PublicProps } from 'vue';
|
|
10
10
|
import { PlusPaginationProps } from 'yc-pro-components/es/components/pagination';
|
|
11
11
|
import { PlusTableProps, ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow, PlusTableSelfProps } from 'yc-pro-components/es/components/table';
|
|
@@ -147,15 +147,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
147
147
|
labelPosition: "top" | "right" | "left";
|
|
148
148
|
inline: boolean;
|
|
149
149
|
showNumber: number;
|
|
150
|
-
|
|
151
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
150
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
152
151
|
style?: CSSProperties | undefined;
|
|
153
152
|
class?: any;
|
|
154
153
|
} & RecordType>;
|
|
155
|
-
|
|
154
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
156
155
|
style?: CSSProperties | undefined;
|
|
157
156
|
class?: any;
|
|
158
157
|
} & RecordType>;
|
|
158
|
+
defaultValues: FieldValues;
|
|
159
159
|
hasFooter: boolean;
|
|
160
160
|
hasReset: boolean;
|
|
161
161
|
resetText: string;
|
|
@@ -174,15 +174,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
174
174
|
readonly modelValue: FieldValues;
|
|
175
175
|
readonly inline: boolean;
|
|
176
176
|
readonly showNumber: number;
|
|
177
|
-
readonly
|
|
178
|
-
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
177
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
179
178
|
style?: CSSProperties | undefined;
|
|
180
179
|
class?: any;
|
|
181
180
|
} & RecordType>;
|
|
182
|
-
readonly
|
|
181
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
183
182
|
style?: CSSProperties | undefined;
|
|
184
183
|
class?: any;
|
|
185
184
|
} & RecordType>;
|
|
185
|
+
readonly defaultValues: FieldValues;
|
|
186
186
|
readonly hasFooter: boolean;
|
|
187
187
|
readonly hasReset: boolean;
|
|
188
188
|
readonly resetText: string;
|
|
@@ -196,9 +196,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
196
196
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
197
197
|
readonly searchIcon?: Component | null | undefined;
|
|
198
198
|
readonly resetIcon?: Component | null | undefined;
|
|
199
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
199
200
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
200
201
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
201
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
202
202
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
203
203
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
204
204
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -226,19 +226,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
226
|
type: PropType<number>;
|
|
227
227
|
default: number;
|
|
228
228
|
};
|
|
229
|
-
defaultValues: {
|
|
230
|
-
type: PropType<FieldValues>;
|
|
231
|
-
default: () => {};
|
|
232
|
-
};
|
|
233
|
-
rowProps: {
|
|
234
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
235
|
-
style?: CSSProperties | undefined;
|
|
236
|
-
class?: any;
|
|
237
|
-
} & RecordType>>;
|
|
238
|
-
default: () => {
|
|
239
|
-
gutter: number;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
229
|
colProps: {
|
|
243
230
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
244
231
|
style?: CSSProperties | undefined;
|
|
@@ -252,6 +239,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
252
239
|
xl: number;
|
|
253
240
|
};
|
|
254
241
|
};
|
|
242
|
+
rowProps: {
|
|
243
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
244
|
+
style?: CSSProperties | undefined;
|
|
245
|
+
class?: any;
|
|
246
|
+
} & RecordType>>;
|
|
247
|
+
default: () => {
|
|
248
|
+
gutter: number;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
defaultValues: {
|
|
252
|
+
type: PropType<FieldValues>;
|
|
253
|
+
default: () => {};
|
|
254
|
+
};
|
|
255
255
|
hasFooter: {
|
|
256
256
|
type: PropType<boolean>;
|
|
257
257
|
default: boolean;
|
|
@@ -301,12 +301,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
301
301
|
default: undefined;
|
|
302
302
|
};
|
|
303
303
|
}>> & {
|
|
304
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
304
305
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
305
306
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
306
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
307
307
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
308
308
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
309
|
-
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "
|
|
309
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
310
310
|
$attrs: {
|
|
311
311
|
[x: string]: unknown;
|
|
312
312
|
};
|
|
@@ -318,7 +318,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
318
318
|
}>;
|
|
319
319
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
320
320
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
321
|
-
$emit: ((event: "
|
|
321
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
322
322
|
$el: any;
|
|
323
323
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
324
324
|
columns: {
|
|
@@ -345,19 +345,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
345
345
|
type: PropType<number>;
|
|
346
346
|
default: number;
|
|
347
347
|
};
|
|
348
|
-
defaultValues: {
|
|
349
|
-
type: PropType<FieldValues>;
|
|
350
|
-
default: () => {};
|
|
351
|
-
};
|
|
352
|
-
rowProps: {
|
|
353
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
354
|
-
style?: CSSProperties | undefined;
|
|
355
|
-
class?: any;
|
|
356
|
-
} & RecordType>>;
|
|
357
|
-
default: () => {
|
|
358
|
-
gutter: number;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
348
|
colProps: {
|
|
362
349
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
363
350
|
style?: CSSProperties | undefined;
|
|
@@ -371,6 +358,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
371
358
|
xl: number;
|
|
372
359
|
};
|
|
373
360
|
};
|
|
361
|
+
rowProps: {
|
|
362
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
363
|
+
style?: CSSProperties | undefined;
|
|
364
|
+
class?: any;
|
|
365
|
+
} & RecordType>>;
|
|
366
|
+
default: () => {
|
|
367
|
+
gutter: number;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
defaultValues: {
|
|
371
|
+
type: PropType<FieldValues>;
|
|
372
|
+
default: () => {};
|
|
373
|
+
};
|
|
374
374
|
hasFooter: {
|
|
375
375
|
type: PropType<boolean>;
|
|
376
376
|
default: boolean;
|
|
@@ -420,9 +420,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
420
420
|
default: undefined;
|
|
421
421
|
};
|
|
422
422
|
}>> & {
|
|
423
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
423
424
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
424
425
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
425
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
426
426
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
427
427
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
428
428
|
}, {
|
|
@@ -430,8 +430,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
430
430
|
$: ComponentInternalInstance;
|
|
431
431
|
$data: {};
|
|
432
432
|
$props: Partial<{
|
|
433
|
-
collapseDuration: number;
|
|
434
|
-
collapseTransition: boolean;
|
|
435
433
|
columns: PlusColumn[];
|
|
436
434
|
group: false | PlusFormGroupRow[];
|
|
437
435
|
layout: "grid" | "flex";
|
|
@@ -441,15 +439,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
441
439
|
labelWidth: string | number;
|
|
442
440
|
labelSuffix: string;
|
|
443
441
|
hasLabel: boolean;
|
|
444
|
-
|
|
445
|
-
|
|
442
|
+
clearable: boolean;
|
|
443
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
446
444
|
style?: CSSProperties | undefined;
|
|
447
445
|
class?: any;
|
|
448
446
|
} & RecordType>;
|
|
449
|
-
|
|
447
|
+
collapseDuration: number;
|
|
448
|
+
collapseTransition: boolean;
|
|
449
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
451
451
|
class?: any;
|
|
452
452
|
} & RecordType>;
|
|
453
|
+
defaultValues: FieldValues;
|
|
453
454
|
hasErrorTip: boolean;
|
|
454
455
|
hasFooter: boolean;
|
|
455
456
|
hasReset: boolean;
|
|
@@ -462,7 +463,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
462
463
|
class?: any;
|
|
463
464
|
} & RecordType>;
|
|
464
465
|
prevent: boolean;
|
|
465
|
-
clearable: boolean;
|
|
466
466
|
}> & Omit<{
|
|
467
467
|
readonly columns: PlusColumn[];
|
|
468
468
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -473,15 +473,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
473
473
|
readonly labelWidth: string | number;
|
|
474
474
|
readonly labelSuffix: string;
|
|
475
475
|
readonly hasLabel: boolean;
|
|
476
|
-
readonly
|
|
477
|
-
readonly
|
|
476
|
+
readonly clearable: boolean;
|
|
477
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
478
478
|
style?: CSSProperties | undefined;
|
|
479
479
|
class?: any;
|
|
480
480
|
} & RecordType>;
|
|
481
|
-
readonly
|
|
481
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
482
482
|
style?: CSSProperties | undefined;
|
|
483
483
|
class?: any;
|
|
484
484
|
} & RecordType>;
|
|
485
|
+
readonly defaultValues: FieldValues;
|
|
485
486
|
readonly hasErrorTip: boolean;
|
|
486
487
|
readonly hasFooter: boolean;
|
|
487
488
|
readonly hasReset: boolean;
|
|
@@ -494,24 +495,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
494
495
|
class?: any;
|
|
495
496
|
} & RecordType>;
|
|
496
497
|
readonly prevent: boolean;
|
|
497
|
-
readonly clearable: boolean;
|
|
498
498
|
readonly collapseDuration?: number | undefined;
|
|
499
499
|
readonly collapseTransition?: boolean | undefined;
|
|
500
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
500
501
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
501
502
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
502
503
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
503
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
504
504
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
505
505
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
506
506
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
507
|
-
collapseDuration: {
|
|
508
|
-
type: PropType<number>;
|
|
509
|
-
default: undefined;
|
|
510
|
-
};
|
|
511
|
-
collapseTransition: {
|
|
512
|
-
type: PropType<boolean>;
|
|
513
|
-
default: undefined;
|
|
514
|
-
};
|
|
515
507
|
columns: {
|
|
516
508
|
type: PropType<PlusColumn[]>;
|
|
517
509
|
default: () => never[];
|
|
@@ -548,24 +540,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
548
540
|
type: PropType<boolean>;
|
|
549
541
|
default: boolean;
|
|
550
542
|
};
|
|
551
|
-
|
|
552
|
-
type: PropType<
|
|
553
|
-
default:
|
|
543
|
+
clearable: {
|
|
544
|
+
type: PropType<boolean>;
|
|
545
|
+
default: boolean;
|
|
554
546
|
};
|
|
555
|
-
|
|
556
|
-
type: PropType<Partial< Mutable<
|
|
547
|
+
colProps: {
|
|
548
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
557
549
|
style?: CSSProperties | undefined;
|
|
558
550
|
class?: any;
|
|
559
551
|
} & RecordType>>;
|
|
560
552
|
default: () => {};
|
|
561
553
|
};
|
|
562
|
-
|
|
563
|
-
type: PropType<
|
|
554
|
+
collapseDuration: {
|
|
555
|
+
type: PropType<number>;
|
|
556
|
+
default: undefined;
|
|
557
|
+
};
|
|
558
|
+
collapseTransition: {
|
|
559
|
+
type: PropType<boolean>;
|
|
560
|
+
default: undefined;
|
|
561
|
+
};
|
|
562
|
+
rowProps: {
|
|
563
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
564
564
|
style?: CSSProperties | undefined;
|
|
565
565
|
class?: any;
|
|
566
566
|
} & RecordType>>;
|
|
567
567
|
default: () => {};
|
|
568
568
|
};
|
|
569
|
+
defaultValues: {
|
|
570
|
+
type: PropType<FieldValues>;
|
|
571
|
+
default: () => {};
|
|
572
|
+
};
|
|
569
573
|
hasErrorTip: {
|
|
570
574
|
type: PropType<boolean>;
|
|
571
575
|
default: boolean;
|
|
@@ -605,18 +609,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
605
609
|
type: PropType<boolean>;
|
|
606
610
|
default: boolean;
|
|
607
611
|
};
|
|
608
|
-
clearable: {
|
|
609
|
-
type: PropType<boolean>;
|
|
610
|
-
default: boolean;
|
|
611
|
-
};
|
|
612
612
|
}>> & {
|
|
613
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
613
614
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
614
615
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
615
616
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
616
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
617
617
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
618
618
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
619
|
-
}, "
|
|
619
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
620
620
|
$attrs: {
|
|
621
621
|
[x: string]: unknown;
|
|
622
622
|
};
|
|
@@ -631,14 +631,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
631
631
|
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
632
632
|
$el: any;
|
|
633
633
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
634
|
-
collapseDuration: {
|
|
635
|
-
type: PropType<number>;
|
|
636
|
-
default: undefined;
|
|
637
|
-
};
|
|
638
|
-
collapseTransition: {
|
|
639
|
-
type: PropType<boolean>;
|
|
640
|
-
default: undefined;
|
|
641
|
-
};
|
|
642
634
|
columns: {
|
|
643
635
|
type: PropType<PlusColumn[]>;
|
|
644
636
|
default: () => never[];
|
|
@@ -675,24 +667,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
675
667
|
type: PropType<boolean>;
|
|
676
668
|
default: boolean;
|
|
677
669
|
};
|
|
678
|
-
|
|
679
|
-
type: PropType<
|
|
680
|
-
default:
|
|
670
|
+
clearable: {
|
|
671
|
+
type: PropType<boolean>;
|
|
672
|
+
default: boolean;
|
|
681
673
|
};
|
|
682
|
-
|
|
683
|
-
type: PropType<Partial< Mutable<
|
|
674
|
+
colProps: {
|
|
675
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
684
676
|
style?: CSSProperties | undefined;
|
|
685
677
|
class?: any;
|
|
686
678
|
} & RecordType>>;
|
|
687
679
|
default: () => {};
|
|
688
680
|
};
|
|
689
|
-
|
|
690
|
-
type: PropType<
|
|
681
|
+
collapseDuration: {
|
|
682
|
+
type: PropType<number>;
|
|
683
|
+
default: undefined;
|
|
684
|
+
};
|
|
685
|
+
collapseTransition: {
|
|
686
|
+
type: PropType<boolean>;
|
|
687
|
+
default: undefined;
|
|
688
|
+
};
|
|
689
|
+
rowProps: {
|
|
690
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
691
691
|
style?: CSSProperties | undefined;
|
|
692
692
|
class?: any;
|
|
693
693
|
} & RecordType>>;
|
|
694
694
|
default: () => {};
|
|
695
695
|
};
|
|
696
|
+
defaultValues: {
|
|
697
|
+
type: PropType<FieldValues>;
|
|
698
|
+
default: () => {};
|
|
699
|
+
};
|
|
696
700
|
hasErrorTip: {
|
|
697
701
|
type: PropType<boolean>;
|
|
698
702
|
default: boolean;
|
|
@@ -732,15 +736,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
732
736
|
type: PropType<boolean>;
|
|
733
737
|
default: boolean;
|
|
734
738
|
};
|
|
735
|
-
clearable: {
|
|
736
|
-
type: PropType<boolean>;
|
|
737
|
-
default: boolean;
|
|
738
|
-
};
|
|
739
739
|
}>> & {
|
|
740
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
740
741
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
741
742
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
742
743
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
743
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
744
744
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
745
745
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
746
746
|
}, {
|
|
@@ -1036,8 +1036,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1036
1036
|
submitError: (errors: unknown) => void;
|
|
1037
1037
|
validate: (...args: any[]) => void;
|
|
1038
1038
|
}, string, {
|
|
1039
|
-
collapseDuration: number;
|
|
1040
|
-
collapseTransition: boolean;
|
|
1041
1039
|
columns: PlusColumn[];
|
|
1042
1040
|
group: false | PlusFormGroupRow[];
|
|
1043
1041
|
layout: "grid" | "flex";
|
|
@@ -1047,15 +1045,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1047
1045
|
labelWidth: string | number;
|
|
1048
1046
|
labelSuffix: string;
|
|
1049
1047
|
hasLabel: boolean;
|
|
1050
|
-
|
|
1051
|
-
|
|
1048
|
+
clearable: boolean;
|
|
1049
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1052
1050
|
style?: CSSProperties | undefined;
|
|
1053
1051
|
class?: any;
|
|
1054
1052
|
} & RecordType>;
|
|
1055
|
-
|
|
1053
|
+
collapseDuration: number;
|
|
1054
|
+
collapseTransition: boolean;
|
|
1055
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1056
1056
|
style?: CSSProperties | undefined;
|
|
1057
1057
|
class?: any;
|
|
1058
1058
|
} & RecordType>;
|
|
1059
|
+
defaultValues: FieldValues;
|
|
1059
1060
|
hasErrorTip: boolean;
|
|
1060
1061
|
hasFooter: boolean;
|
|
1061
1062
|
hasReset: boolean;
|
|
@@ -1068,7 +1069,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1068
1069
|
class?: any;
|
|
1069
1070
|
} & RecordType>;
|
|
1070
1071
|
prevent: boolean;
|
|
1071
|
-
clearable: boolean;
|
|
1072
1072
|
}, {}, string, {}> & {
|
|
1073
1073
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1074
1074
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1090,14 +1090,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1090
1090
|
$nextTick: nextTick;
|
|
1091
1091
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1092
1092
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1093
|
-
collapseDuration: {
|
|
1094
|
-
type: PropType<number>;
|
|
1095
|
-
default: undefined;
|
|
1096
|
-
};
|
|
1097
|
-
collapseTransition: {
|
|
1098
|
-
type: PropType<boolean>;
|
|
1099
|
-
default: undefined;
|
|
1100
|
-
};
|
|
1101
1093
|
columns: {
|
|
1102
1094
|
type: PropType<PlusColumn[]>;
|
|
1103
1095
|
default: () => never[];
|
|
@@ -1134,24 +1126,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1134
1126
|
type: PropType<boolean>;
|
|
1135
1127
|
default: boolean;
|
|
1136
1128
|
};
|
|
1137
|
-
|
|
1138
|
-
type: PropType<
|
|
1139
|
-
default:
|
|
1129
|
+
clearable: {
|
|
1130
|
+
type: PropType<boolean>;
|
|
1131
|
+
default: boolean;
|
|
1140
1132
|
};
|
|
1141
|
-
|
|
1142
|
-
type: PropType<Partial< Mutable<
|
|
1133
|
+
colProps: {
|
|
1134
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1143
1135
|
style?: CSSProperties | undefined;
|
|
1144
1136
|
class?: any;
|
|
1145
1137
|
} & RecordType>>;
|
|
1146
1138
|
default: () => {};
|
|
1147
1139
|
};
|
|
1148
|
-
|
|
1149
|
-
type: PropType<
|
|
1140
|
+
collapseDuration: {
|
|
1141
|
+
type: PropType<number>;
|
|
1142
|
+
default: undefined;
|
|
1143
|
+
};
|
|
1144
|
+
collapseTransition: {
|
|
1145
|
+
type: PropType<boolean>;
|
|
1146
|
+
default: undefined;
|
|
1147
|
+
};
|
|
1148
|
+
rowProps: {
|
|
1149
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1150
1150
|
style?: CSSProperties | undefined;
|
|
1151
1151
|
class?: any;
|
|
1152
1152
|
} & RecordType>>;
|
|
1153
1153
|
default: () => {};
|
|
1154
1154
|
};
|
|
1155
|
+
defaultValues: {
|
|
1156
|
+
type: PropType<FieldValues>;
|
|
1157
|
+
default: () => {};
|
|
1158
|
+
};
|
|
1155
1159
|
hasErrorTip: {
|
|
1156
1160
|
type: PropType<boolean>;
|
|
1157
1161
|
default: boolean;
|
|
@@ -1191,15 +1195,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1191
1195
|
type: PropType<boolean>;
|
|
1192
1196
|
default: boolean;
|
|
1193
1197
|
};
|
|
1194
|
-
clearable: {
|
|
1195
|
-
type: PropType<boolean>;
|
|
1196
|
-
default: boolean;
|
|
1197
|
-
};
|
|
1198
1198
|
}>> & {
|
|
1199
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1199
1200
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1200
1201
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1201
1202
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1202
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1203
1203
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1204
1204
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1205
1205
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1500,9 +1500,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1500
1500
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1501
1501
|
columns?: PlusColumn[] | undefined;
|
|
1502
1502
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1503
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1503
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1504
1504
|
readonly label: string | ComputedRef<string>;
|
|
1505
|
-
readonly modelValue: string | number | boolean |
|
|
1505
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1506
1506
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1507
1507
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1508
1508
|
style?: CSSProperties | undefined;
|
|
@@ -1529,7 +1529,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1529
1529
|
};
|
|
1530
1530
|
rows: number;
|
|
1531
1531
|
autocomplete: string;
|
|
1532
|
-
type: "" | "number" | "default" | "
|
|
1532
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1533
1533
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1534
1534
|
step: string | number;
|
|
1535
1535
|
format: string | ProgressFn | undefined;
|
|
@@ -1574,7 +1574,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1574
1574
|
fieldInstance?: any;
|
|
1575
1575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1576
1576
|
prop: string;
|
|
1577
|
-
modelValue: string | number | boolean |
|
|
1577
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1578
1578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1579
1579
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1580
1580
|
style?: CSSProperties | undefined;
|
|
@@ -1608,9 +1608,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1608
1608
|
clearable: boolean;
|
|
1609
1609
|
index: number;
|
|
1610
1610
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1611
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1611
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
1612
1612
|
readonly label: string | ComputedRef<string>;
|
|
1613
|
-
readonly modelValue: string | number | boolean |
|
|
1613
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1614
1614
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1615
1615
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1616
1616
|
style?: CSSProperties | undefined;
|
|
@@ -1637,7 +1637,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1637
1637
|
};
|
|
1638
1638
|
rows: number;
|
|
1639
1639
|
autocomplete: string;
|
|
1640
|
-
type: "" | "number" | "default" | "
|
|
1640
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1641
1641
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1642
1642
|
step: string | number;
|
|
1643
1643
|
format: string | ProgressFn | undefined;
|
|
@@ -1682,7 +1682,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1682
1682
|
fieldInstance?: any;
|
|
1683
1683
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1684
1684
|
prop: string;
|
|
1685
|
-
modelValue: string | number | boolean |
|
|
1685
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1686
1686
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1687
1687
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1688
1688
|
style?: CSSProperties | undefined;
|
|
@@ -1745,15 +1745,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1745
1745
|
labelPosition: "top" | "right" | "left";
|
|
1746
1746
|
inline: boolean;
|
|
1747
1747
|
showNumber: number;
|
|
1748
|
-
|
|
1749
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1748
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1750
1749
|
style?: CSSProperties | undefined;
|
|
1751
1750
|
class?: any;
|
|
1752
1751
|
} & RecordType>;
|
|
1753
|
-
|
|
1752
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1754
1753
|
style?: CSSProperties | undefined;
|
|
1755
1754
|
class?: any;
|
|
1756
1755
|
} & RecordType>;
|
|
1756
|
+
defaultValues: FieldValues;
|
|
1757
1757
|
hasFooter: boolean;
|
|
1758
1758
|
hasReset: boolean;
|
|
1759
1759
|
resetText: string;
|
|
@@ -1811,19 +1811,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1811
1811
|
type: PropType<number>;
|
|
1812
1812
|
default: number;
|
|
1813
1813
|
};
|
|
1814
|
-
defaultValues: {
|
|
1815
|
-
type: PropType<FieldValues>;
|
|
1816
|
-
default: () => {};
|
|
1817
|
-
};
|
|
1818
|
-
rowProps: {
|
|
1819
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
1820
|
-
style?: CSSProperties | undefined;
|
|
1821
|
-
class?: any;
|
|
1822
|
-
} & RecordType>>;
|
|
1823
|
-
default: () => {
|
|
1824
|
-
gutter: number;
|
|
1825
|
-
};
|
|
1826
|
-
};
|
|
1827
1814
|
colProps: {
|
|
1828
1815
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1829
1816
|
style?: CSSProperties | undefined;
|
|
@@ -1837,6 +1824,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1837
1824
|
xl: number;
|
|
1838
1825
|
};
|
|
1839
1826
|
};
|
|
1827
|
+
rowProps: {
|
|
1828
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1829
|
+
style?: CSSProperties | undefined;
|
|
1830
|
+
class?: any;
|
|
1831
|
+
} & RecordType>>;
|
|
1832
|
+
default: () => {
|
|
1833
|
+
gutter: number;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
defaultValues: {
|
|
1837
|
+
type: PropType<FieldValues>;
|
|
1838
|
+
default: () => {};
|
|
1839
|
+
};
|
|
1840
1840
|
hasFooter: {
|
|
1841
1841
|
type: PropType<boolean>;
|
|
1842
1842
|
default: boolean;
|
|
@@ -1886,9 +1886,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1886
1886
|
default: undefined;
|
|
1887
1887
|
};
|
|
1888
1888
|
}>> & {
|
|
1889
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1889
1890
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1890
1891
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1891
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1892
1892
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1893
1893
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1894
1894
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1896,8 +1896,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1896
1896
|
$: ComponentInternalInstance;
|
|
1897
1897
|
$data: {};
|
|
1898
1898
|
$props: Partial<{
|
|
1899
|
-
collapseDuration: number;
|
|
1900
|
-
collapseTransition: boolean;
|
|
1901
1899
|
columns: PlusColumn[];
|
|
1902
1900
|
group: false | PlusFormGroupRow[];
|
|
1903
1901
|
layout: "grid" | "flex";
|
|
@@ -1907,15 +1905,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1907
1905
|
labelWidth: string | number;
|
|
1908
1906
|
labelSuffix: string;
|
|
1909
1907
|
hasLabel: boolean;
|
|
1910
|
-
|
|
1911
|
-
|
|
1908
|
+
clearable: boolean;
|
|
1909
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1912
1910
|
style?: CSSProperties | undefined;
|
|
1913
1911
|
class?: any;
|
|
1914
1912
|
} & RecordType>;
|
|
1915
|
-
|
|
1913
|
+
collapseDuration: number;
|
|
1914
|
+
collapseTransition: boolean;
|
|
1915
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1916
1916
|
style?: CSSProperties | undefined;
|
|
1917
1917
|
class?: any;
|
|
1918
1918
|
} & RecordType>;
|
|
1919
|
+
defaultValues: FieldValues;
|
|
1919
1920
|
hasErrorTip: boolean;
|
|
1920
1921
|
hasFooter: boolean;
|
|
1921
1922
|
hasReset: boolean;
|
|
@@ -1928,7 +1929,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1928
1929
|
class?: any;
|
|
1929
1930
|
} & RecordType>;
|
|
1930
1931
|
prevent: boolean;
|
|
1931
|
-
clearable: boolean;
|
|
1932
1932
|
}> & Omit<{
|
|
1933
1933
|
readonly columns: PlusColumn[];
|
|
1934
1934
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -1939,15 +1939,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1939
1939
|
readonly labelWidth: string | number;
|
|
1940
1940
|
readonly labelSuffix: string;
|
|
1941
1941
|
readonly hasLabel: boolean;
|
|
1942
|
-
readonly
|
|
1943
|
-
readonly
|
|
1942
|
+
readonly clearable: boolean;
|
|
1943
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
1944
1944
|
style?: CSSProperties | undefined;
|
|
1945
1945
|
class?: any;
|
|
1946
1946
|
} & RecordType>;
|
|
1947
|
-
readonly
|
|
1947
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
1948
1948
|
style?: CSSProperties | undefined;
|
|
1949
1949
|
class?: any;
|
|
1950
1950
|
} & RecordType>;
|
|
1951
|
+
readonly defaultValues: FieldValues;
|
|
1951
1952
|
readonly hasErrorTip: boolean;
|
|
1952
1953
|
readonly hasFooter: boolean;
|
|
1953
1954
|
readonly hasReset: boolean;
|
|
@@ -1960,24 +1961,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1960
1961
|
class?: any;
|
|
1961
1962
|
} & RecordType>;
|
|
1962
1963
|
readonly prevent: boolean;
|
|
1963
|
-
readonly clearable: boolean;
|
|
1964
1964
|
readonly collapseDuration?: number | undefined;
|
|
1965
1965
|
readonly collapseTransition?: boolean | undefined;
|
|
1966
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1966
1967
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1967
1968
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1968
1969
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1969
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1970
1970
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1971
1971
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1972
1972
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1973
|
-
collapseDuration: {
|
|
1974
|
-
type: PropType<number>;
|
|
1975
|
-
default: undefined;
|
|
1976
|
-
};
|
|
1977
|
-
collapseTransition: {
|
|
1978
|
-
type: PropType<boolean>;
|
|
1979
|
-
default: undefined;
|
|
1980
|
-
};
|
|
1981
1973
|
columns: {
|
|
1982
1974
|
type: PropType<PlusColumn[]>;
|
|
1983
1975
|
default: () => never[];
|
|
@@ -2014,24 +2006,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2014
2006
|
type: PropType<boolean>;
|
|
2015
2007
|
default: boolean;
|
|
2016
2008
|
};
|
|
2017
|
-
|
|
2018
|
-
type: PropType<
|
|
2019
|
-
default:
|
|
2009
|
+
clearable: {
|
|
2010
|
+
type: PropType<boolean>;
|
|
2011
|
+
default: boolean;
|
|
2020
2012
|
};
|
|
2021
|
-
|
|
2022
|
-
type: PropType<Partial< Mutable<
|
|
2013
|
+
colProps: {
|
|
2014
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2023
2015
|
style?: CSSProperties | undefined;
|
|
2024
2016
|
class?: any;
|
|
2025
2017
|
} & RecordType>>;
|
|
2026
2018
|
default: () => {};
|
|
2027
2019
|
};
|
|
2028
|
-
|
|
2029
|
-
type: PropType<
|
|
2020
|
+
collapseDuration: {
|
|
2021
|
+
type: PropType<number>;
|
|
2022
|
+
default: undefined;
|
|
2023
|
+
};
|
|
2024
|
+
collapseTransition: {
|
|
2025
|
+
type: PropType<boolean>;
|
|
2026
|
+
default: undefined;
|
|
2027
|
+
};
|
|
2028
|
+
rowProps: {
|
|
2029
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2030
2030
|
style?: CSSProperties | undefined;
|
|
2031
2031
|
class?: any;
|
|
2032
2032
|
} & RecordType>>;
|
|
2033
2033
|
default: () => {};
|
|
2034
2034
|
};
|
|
2035
|
+
defaultValues: {
|
|
2036
|
+
type: PropType<FieldValues>;
|
|
2037
|
+
default: () => {};
|
|
2038
|
+
};
|
|
2035
2039
|
hasErrorTip: {
|
|
2036
2040
|
type: PropType<boolean>;
|
|
2037
2041
|
default: boolean;
|
|
@@ -2071,18 +2075,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2071
2075
|
type: PropType<boolean>;
|
|
2072
2076
|
default: boolean;
|
|
2073
2077
|
};
|
|
2074
|
-
clearable: {
|
|
2075
|
-
type: PropType<boolean>;
|
|
2076
|
-
default: boolean;
|
|
2077
|
-
};
|
|
2078
2078
|
}>> & {
|
|
2079
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2079
2080
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2080
2081
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2081
2082
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2082
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2083
2083
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2084
2084
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2085
|
-
}, "
|
|
2085
|
+
}, "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2086
2086
|
$attrs: {
|
|
2087
2087
|
[x: string]: unknown;
|
|
2088
2088
|
};
|
|
@@ -2097,14 +2097,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2097
2097
|
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2098
2098
|
$el: any;
|
|
2099
2099
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2100
|
-
collapseDuration: {
|
|
2101
|
-
type: PropType<number>;
|
|
2102
|
-
default: undefined;
|
|
2103
|
-
};
|
|
2104
|
-
collapseTransition: {
|
|
2105
|
-
type: PropType<boolean>;
|
|
2106
|
-
default: undefined;
|
|
2107
|
-
};
|
|
2108
2100
|
columns: {
|
|
2109
2101
|
type: PropType<PlusColumn[]>;
|
|
2110
2102
|
default: () => never[];
|
|
@@ -2141,24 +2133,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2141
2133
|
type: PropType<boolean>;
|
|
2142
2134
|
default: boolean;
|
|
2143
2135
|
};
|
|
2144
|
-
|
|
2145
|
-
type: PropType<
|
|
2146
|
-
default:
|
|
2136
|
+
clearable: {
|
|
2137
|
+
type: PropType<boolean>;
|
|
2138
|
+
default: boolean;
|
|
2147
2139
|
};
|
|
2148
|
-
|
|
2149
|
-
type: PropType<Partial< Mutable<
|
|
2140
|
+
colProps: {
|
|
2141
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2150
2142
|
style?: CSSProperties | undefined;
|
|
2151
2143
|
class?: any;
|
|
2152
2144
|
} & RecordType>>;
|
|
2153
2145
|
default: () => {};
|
|
2154
2146
|
};
|
|
2155
|
-
|
|
2156
|
-
type: PropType<
|
|
2147
|
+
collapseDuration: {
|
|
2148
|
+
type: PropType<number>;
|
|
2149
|
+
default: undefined;
|
|
2150
|
+
};
|
|
2151
|
+
collapseTransition: {
|
|
2152
|
+
type: PropType<boolean>;
|
|
2153
|
+
default: undefined;
|
|
2154
|
+
};
|
|
2155
|
+
rowProps: {
|
|
2156
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2157
2157
|
style?: CSSProperties | undefined;
|
|
2158
2158
|
class?: any;
|
|
2159
2159
|
} & RecordType>>;
|
|
2160
2160
|
default: () => {};
|
|
2161
2161
|
};
|
|
2162
|
+
defaultValues: {
|
|
2163
|
+
type: PropType<FieldValues>;
|
|
2164
|
+
default: () => {};
|
|
2165
|
+
};
|
|
2162
2166
|
hasErrorTip: {
|
|
2163
2167
|
type: PropType<boolean>;
|
|
2164
2168
|
default: boolean;
|
|
@@ -2198,15 +2202,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2198
2202
|
type: PropType<boolean>;
|
|
2199
2203
|
default: boolean;
|
|
2200
2204
|
};
|
|
2201
|
-
clearable: {
|
|
2202
|
-
type: PropType<boolean>;
|
|
2203
|
-
default: boolean;
|
|
2204
|
-
};
|
|
2205
2205
|
}>> & {
|
|
2206
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2206
2207
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2207
2208
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2208
2209
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2209
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2210
2210
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2211
2211
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2212
2212
|
}, {
|
|
@@ -2502,8 +2502,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2502
2502
|
submitError: (errors: unknown) => void;
|
|
2503
2503
|
validate: (...args: any[]) => void;
|
|
2504
2504
|
}, string, {
|
|
2505
|
-
collapseDuration: number;
|
|
2506
|
-
collapseTransition: boolean;
|
|
2507
2505
|
columns: PlusColumn[];
|
|
2508
2506
|
group: false | PlusFormGroupRow[];
|
|
2509
2507
|
layout: "grid" | "flex";
|
|
@@ -2513,15 +2511,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2513
2511
|
labelWidth: string | number;
|
|
2514
2512
|
labelSuffix: string;
|
|
2515
2513
|
hasLabel: boolean;
|
|
2516
|
-
|
|
2517
|
-
|
|
2514
|
+
clearable: boolean;
|
|
2515
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2518
2516
|
style?: CSSProperties | undefined;
|
|
2519
2517
|
class?: any;
|
|
2520
2518
|
} & RecordType>;
|
|
2521
|
-
|
|
2519
|
+
collapseDuration: number;
|
|
2520
|
+
collapseTransition: boolean;
|
|
2521
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2522
2522
|
style?: CSSProperties | undefined;
|
|
2523
2523
|
class?: any;
|
|
2524
2524
|
} & RecordType>;
|
|
2525
|
+
defaultValues: FieldValues;
|
|
2525
2526
|
hasErrorTip: boolean;
|
|
2526
2527
|
hasFooter: boolean;
|
|
2527
2528
|
hasReset: boolean;
|
|
@@ -2534,7 +2535,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2534
2535
|
class?: any;
|
|
2535
2536
|
} & RecordType>;
|
|
2536
2537
|
prevent: boolean;
|
|
2537
|
-
clearable: boolean;
|
|
2538
2538
|
}, {}, string, {}> & {
|
|
2539
2539
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2540
2540
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2556,14 +2556,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2556
2556
|
$nextTick: nextTick;
|
|
2557
2557
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2558
2558
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2559
|
-
collapseDuration: {
|
|
2560
|
-
type: PropType<number>;
|
|
2561
|
-
default: undefined;
|
|
2562
|
-
};
|
|
2563
|
-
collapseTransition: {
|
|
2564
|
-
type: PropType<boolean>;
|
|
2565
|
-
default: undefined;
|
|
2566
|
-
};
|
|
2567
2559
|
columns: {
|
|
2568
2560
|
type: PropType<PlusColumn[]>;
|
|
2569
2561
|
default: () => never[];
|
|
@@ -2600,24 +2592,36 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2600
2592
|
type: PropType<boolean>;
|
|
2601
2593
|
default: boolean;
|
|
2602
2594
|
};
|
|
2603
|
-
|
|
2604
|
-
type: PropType<
|
|
2605
|
-
default:
|
|
2595
|
+
clearable: {
|
|
2596
|
+
type: PropType<boolean>;
|
|
2597
|
+
default: boolean;
|
|
2606
2598
|
};
|
|
2607
|
-
|
|
2608
|
-
type: PropType<Partial< Mutable<
|
|
2599
|
+
colProps: {
|
|
2600
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2609
2601
|
style?: CSSProperties | undefined;
|
|
2610
2602
|
class?: any;
|
|
2611
2603
|
} & RecordType>>;
|
|
2612
2604
|
default: () => {};
|
|
2613
2605
|
};
|
|
2614
|
-
|
|
2615
|
-
type: PropType<
|
|
2606
|
+
collapseDuration: {
|
|
2607
|
+
type: PropType<number>;
|
|
2608
|
+
default: undefined;
|
|
2609
|
+
};
|
|
2610
|
+
collapseTransition: {
|
|
2611
|
+
type: PropType<boolean>;
|
|
2612
|
+
default: undefined;
|
|
2613
|
+
};
|
|
2614
|
+
rowProps: {
|
|
2615
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
2616
2616
|
style?: CSSProperties | undefined;
|
|
2617
2617
|
class?: any;
|
|
2618
2618
|
} & RecordType>>;
|
|
2619
2619
|
default: () => {};
|
|
2620
2620
|
};
|
|
2621
|
+
defaultValues: {
|
|
2622
|
+
type: PropType<FieldValues>;
|
|
2623
|
+
default: () => {};
|
|
2624
|
+
};
|
|
2621
2625
|
hasErrorTip: {
|
|
2622
2626
|
type: PropType<boolean>;
|
|
2623
2627
|
default: boolean;
|
|
@@ -2657,15 +2661,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2657
2661
|
type: PropType<boolean>;
|
|
2658
2662
|
default: boolean;
|
|
2659
2663
|
};
|
|
2660
|
-
clearable: {
|
|
2661
|
-
type: PropType<boolean>;
|
|
2662
|
-
default: boolean;
|
|
2663
|
-
};
|
|
2664
2664
|
}>> & {
|
|
2665
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2665
2666
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2666
2667
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2667
2668
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2668
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2669
2669
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2670
2670
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2671
2671
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2966,9 +2966,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2966
2966
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2967
2967
|
columns?: PlusColumn[] | undefined;
|
|
2968
2968
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2969
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
2969
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
2970
2970
|
readonly label: string | ComputedRef<string>;
|
|
2971
|
-
readonly modelValue: string | number | boolean |
|
|
2971
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2972
2972
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2973
2973
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2974
2974
|
style?: CSSProperties | undefined;
|
|
@@ -2995,7 +2995,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2995
2995
|
};
|
|
2996
2996
|
rows: number;
|
|
2997
2997
|
autocomplete: string;
|
|
2998
|
-
type: "" | "number" | "default" | "
|
|
2998
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2999
2999
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3000
3000
|
step: string | number;
|
|
3001
3001
|
format: string | ProgressFn | undefined;
|
|
@@ -3040,7 +3040,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3040
3040
|
fieldInstance?: any;
|
|
3041
3041
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3042
3042
|
prop: string;
|
|
3043
|
-
modelValue: string | number | boolean |
|
|
3043
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3044
3044
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3045
3045
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3046
3046
|
style?: CSSProperties | undefined;
|
|
@@ -3074,9 +3074,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3074
3074
|
clearable: boolean;
|
|
3075
3075
|
index: number;
|
|
3076
3076
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3077
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
3077
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
3078
3078
|
readonly label: string | ComputedRef<string>;
|
|
3079
|
-
readonly modelValue: string | number | boolean |
|
|
3079
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3080
3080
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3081
3081
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3082
3082
|
style?: CSSProperties | undefined;
|
|
@@ -3103,7 +3103,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3103
3103
|
};
|
|
3104
3104
|
rows: number;
|
|
3105
3105
|
autocomplete: string;
|
|
3106
|
-
type: "" | "number" | "default" | "
|
|
3106
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3107
3107
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3108
3108
|
step: string | number;
|
|
3109
3109
|
format: string | ProgressFn | undefined;
|
|
@@ -3148,7 +3148,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3148
3148
|
fieldInstance?: any;
|
|
3149
3149
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3150
3150
|
prop: string;
|
|
3151
|
-
modelValue: string | number | boolean |
|
|
3151
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3152
3152
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3153
3153
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3154
3154
|
style?: CSSProperties | undefined;
|
|
@@ -3200,9 +3200,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3200
3200
|
handleUnfold: (e: MouseEvent) => void;
|
|
3201
3201
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3202
3202
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3203
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
3203
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
3204
3204
|
readonly label: string | ComputedRef<string>;
|
|
3205
|
-
readonly modelValue: string | number | boolean |
|
|
3205
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3206
3206
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3207
3207
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3208
3208
|
style?: CSSProperties | undefined;
|
|
@@ -3229,7 +3229,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3229
3229
|
};
|
|
3230
3230
|
rows: number;
|
|
3231
3231
|
autocomplete: string;
|
|
3232
|
-
type: "" | "number" | "default" | "
|
|
3232
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3233
3233
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3234
3234
|
step: string | number;
|
|
3235
3235
|
format: string | ProgressFn | undefined;
|
|
@@ -3274,7 +3274,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3274
3274
|
fieldInstance?: any;
|
|
3275
3275
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3276
3276
|
prop: string;
|
|
3277
|
-
modelValue: string | number | boolean |
|
|
3277
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
3278
3278
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3279
3279
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3280
3280
|
style?: CSSProperties | undefined;
|
|
@@ -3321,8 +3321,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3321
3321
|
$: ComponentInternalInstance;
|
|
3322
3322
|
$data: {};
|
|
3323
3323
|
$props: Partial<{
|
|
3324
|
-
data: RecordType[];
|
|
3325
3324
|
columns: PlusColumn[];
|
|
3325
|
+
data: RecordType[];
|
|
3326
3326
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3327
3327
|
row: any[];
|
|
3328
3328
|
rowIndex: number;
|
|
@@ -3368,8 +3368,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3368
3368
|
};
|
|
3369
3369
|
columnsEmptyText: string;
|
|
3370
3370
|
}> & Omit<{
|
|
3371
|
-
readonly data: RecordType[];
|
|
3372
3371
|
readonly columns: PlusColumn[];
|
|
3372
|
+
readonly data: RecordType[];
|
|
3373
3373
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3374
3374
|
row: any[];
|
|
3375
3375
|
rowIndex: number;
|
|
@@ -3428,14 +3428,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3428
3428
|
onEdited?: (() => any) | undefined;
|
|
3429
3429
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3430
3430
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3431
|
-
data: {
|
|
3432
|
-
type: PropType<RecordType[]>;
|
|
3433
|
-
default: () => never[];
|
|
3434
|
-
};
|
|
3435
3431
|
columns: {
|
|
3436
3432
|
type: PropType<PlusColumn[]>;
|
|
3437
3433
|
default: () => never[];
|
|
3438
3434
|
};
|
|
3435
|
+
data: {
|
|
3436
|
+
type: PropType<RecordType[]>;
|
|
3437
|
+
default: () => never[];
|
|
3438
|
+
};
|
|
3439
3439
|
height: {
|
|
3440
3440
|
type: PropType<string | number>;
|
|
3441
3441
|
};
|
|
@@ -3576,7 +3576,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3576
3576
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3577
3577
|
onEdited?: (() => any) | undefined;
|
|
3578
3578
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3579
|
-
}, "
|
|
3579
|
+
}, "columns" | "data" | "headerCellStyle" | "rowKey" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText">;
|
|
3580
3580
|
$attrs: {
|
|
3581
3581
|
[x: string]: unknown;
|
|
3582
3582
|
};
|
|
@@ -3591,14 +3591,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3591
3591
|
$emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
3592
3592
|
$el: any;
|
|
3593
3593
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3594
|
-
data: {
|
|
3595
|
-
type: PropType<RecordType[]>;
|
|
3596
|
-
default: () => never[];
|
|
3597
|
-
};
|
|
3598
3594
|
columns: {
|
|
3599
3595
|
type: PropType<PlusColumn[]>;
|
|
3600
3596
|
default: () => never[];
|
|
3601
3597
|
};
|
|
3598
|
+
data: {
|
|
3599
|
+
type: PropType<RecordType[]>;
|
|
3600
|
+
default: () => never[];
|
|
3601
|
+
};
|
|
3602
3602
|
height: {
|
|
3603
3603
|
type: PropType<string | number>;
|
|
3604
3604
|
};
|
|
@@ -3752,9 +3752,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3752
3752
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3753
3753
|
__epPropKey: true;
|
|
3754
3754
|
};
|
|
3755
|
-
width: (
|
|
3756
|
-
height: (
|
|
3757
|
-
maxHeight: (
|
|
3755
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
3756
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
3757
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
3758
3758
|
fit: {
|
|
3759
3759
|
type: BooleanConstructor;
|
|
3760
3760
|
default: boolean;
|
|
@@ -3778,13 +3778,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3778
3778
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3779
3779
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3780
3780
|
highlightCurrentRow: BooleanConstructor;
|
|
3781
|
-
currentRowKey: (
|
|
3781
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
3782
3782
|
emptyText: StringConstructor;
|
|
3783
3783
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3784
3784
|
defaultExpandAll: BooleanConstructor;
|
|
3785
3785
|
defaultSort: PropType< Sort | undefined>;
|
|
3786
3786
|
tooltipEffect: StringConstructor;
|
|
3787
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3787
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3788
3788
|
spanMethod: PropType<((data: {
|
|
3789
3789
|
row: any;
|
|
3790
3790
|
rowIndex: number;
|
|
@@ -3828,7 +3828,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3828
3828
|
};
|
|
3829
3829
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3830
3830
|
flexible: BooleanConstructor;
|
|
3831
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3831
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3832
3832
|
}>> & {
|
|
3833
3833
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3834
3834
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3950,9 +3950,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3950
3950
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3951
3951
|
__epPropKey: true;
|
|
3952
3952
|
};
|
|
3953
|
-
width: (
|
|
3954
|
-
height: (
|
|
3955
|
-
maxHeight: (
|
|
3953
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
3954
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
3955
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
3956
3956
|
fit: {
|
|
3957
3957
|
type: BooleanConstructor;
|
|
3958
3958
|
default: boolean;
|
|
@@ -3976,13 +3976,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3976
3976
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3977
3977
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3978
3978
|
highlightCurrentRow: BooleanConstructor;
|
|
3979
|
-
currentRowKey: (
|
|
3979
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
3980
3980
|
emptyText: StringConstructor;
|
|
3981
3981
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3982
3982
|
defaultExpandAll: BooleanConstructor;
|
|
3983
3983
|
defaultSort: PropType< Sort | undefined>;
|
|
3984
3984
|
tooltipEffect: StringConstructor;
|
|
3985
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3985
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
3986
3986
|
spanMethod: PropType<((data: {
|
|
3987
3987
|
row: any;
|
|
3988
3988
|
rowIndex: number;
|
|
@@ -4026,7 +4026,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4026
4026
|
};
|
|
4027
4027
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4028
4028
|
flexible: BooleanConstructor;
|
|
4029
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4029
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4030
4030
|
}>> & {
|
|
4031
4031
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4032
4032
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4085,9 +4085,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4085
4085
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4086
4086
|
__epPropKey: true;
|
|
4087
4087
|
};
|
|
4088
|
-
width: (
|
|
4089
|
-
height: (
|
|
4090
|
-
maxHeight: (
|
|
4088
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4089
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4090
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4091
4091
|
fit: {
|
|
4092
4092
|
type: BooleanConstructor;
|
|
4093
4093
|
default: boolean;
|
|
@@ -4111,13 +4111,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4111
4111
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4112
4112
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4113
4113
|
highlightCurrentRow: BooleanConstructor;
|
|
4114
|
-
currentRowKey: (
|
|
4114
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4115
4115
|
emptyText: StringConstructor;
|
|
4116
4116
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4117
4117
|
defaultExpandAll: BooleanConstructor;
|
|
4118
4118
|
defaultSort: PropType< Sort | undefined>;
|
|
4119
4119
|
tooltipEffect: StringConstructor;
|
|
4120
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4120
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4121
4121
|
spanMethod: PropType<((data: {
|
|
4122
4122
|
row: any;
|
|
4123
4123
|
rowIndex: number;
|
|
@@ -4161,7 +4161,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4161
4161
|
};
|
|
4162
4162
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4163
4163
|
flexible: BooleanConstructor;
|
|
4164
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4164
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4165
4165
|
}>> & {
|
|
4166
4166
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4167
4167
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4307,8 +4307,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4307
4307
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
4308
4308
|
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
4309
4309
|
}, string, {
|
|
4310
|
-
data: RecordType[];
|
|
4311
4310
|
columns: PlusColumn[];
|
|
4311
|
+
data: RecordType[];
|
|
4312
4312
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
4313
4313
|
row: any[];
|
|
4314
4314
|
rowIndex: number;
|
|
@@ -4374,14 +4374,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4374
4374
|
$nextTick: nextTick;
|
|
4375
4375
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
4376
4376
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4377
|
-
data: {
|
|
4378
|
-
type: PropType<RecordType[]>;
|
|
4379
|
-
default: () => never[];
|
|
4380
|
-
};
|
|
4381
4377
|
columns: {
|
|
4382
4378
|
type: PropType<PlusColumn[]>;
|
|
4383
4379
|
default: () => never[];
|
|
4384
4380
|
};
|
|
4381
|
+
data: {
|
|
4382
|
+
type: PropType<RecordType[]>;
|
|
4383
|
+
default: () => never[];
|
|
4384
|
+
};
|
|
4385
4385
|
height: {
|
|
4386
4386
|
type: PropType<string | number>;
|
|
4387
4387
|
};
|
|
@@ -4535,9 +4535,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4535
4535
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4536
4536
|
__epPropKey: true;
|
|
4537
4537
|
};
|
|
4538
|
-
width: (
|
|
4539
|
-
height: (
|
|
4540
|
-
maxHeight: (
|
|
4538
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4539
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4540
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4541
4541
|
fit: {
|
|
4542
4542
|
type: BooleanConstructor;
|
|
4543
4543
|
default: boolean;
|
|
@@ -4561,13 +4561,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4561
4561
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4562
4562
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4563
4563
|
highlightCurrentRow: BooleanConstructor;
|
|
4564
|
-
currentRowKey: (
|
|
4564
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4565
4565
|
emptyText: StringConstructor;
|
|
4566
4566
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4567
4567
|
defaultExpandAll: BooleanConstructor;
|
|
4568
4568
|
defaultSort: PropType< Sort | undefined>;
|
|
4569
4569
|
tooltipEffect: StringConstructor;
|
|
4570
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4570
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4571
4571
|
spanMethod: PropType<((data: {
|
|
4572
4572
|
row: any;
|
|
4573
4573
|
rowIndex: number;
|
|
@@ -4611,7 +4611,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4611
4611
|
};
|
|
4612
4612
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4613
4613
|
flexible: BooleanConstructor;
|
|
4614
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4614
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4615
4615
|
}>> & {
|
|
4616
4616
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4617
4617
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4733,9 +4733,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4733
4733
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4734
4734
|
__epPropKey: true;
|
|
4735
4735
|
};
|
|
4736
|
-
width: (
|
|
4737
|
-
height: (
|
|
4738
|
-
maxHeight: (
|
|
4736
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4737
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4738
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4739
4739
|
fit: {
|
|
4740
4740
|
type: BooleanConstructor;
|
|
4741
4741
|
default: boolean;
|
|
@@ -4759,13 +4759,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4759
4759
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4760
4760
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4761
4761
|
highlightCurrentRow: BooleanConstructor;
|
|
4762
|
-
currentRowKey: (
|
|
4762
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4763
4763
|
emptyText: StringConstructor;
|
|
4764
4764
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4765
4765
|
defaultExpandAll: BooleanConstructor;
|
|
4766
4766
|
defaultSort: PropType< Sort | undefined>;
|
|
4767
4767
|
tooltipEffect: StringConstructor;
|
|
4768
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4768
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4769
4769
|
spanMethod: PropType<((data: {
|
|
4770
4770
|
row: any;
|
|
4771
4771
|
rowIndex: number;
|
|
@@ -4809,7 +4809,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4809
4809
|
};
|
|
4810
4810
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4811
4811
|
flexible: BooleanConstructor;
|
|
4812
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4812
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4813
4813
|
}>> & {
|
|
4814
4814
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4815
4815
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4868,9 +4868,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4868
4868
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4869
4869
|
__epPropKey: true;
|
|
4870
4870
|
};
|
|
4871
|
-
width: (
|
|
4872
|
-
height: (
|
|
4873
|
-
maxHeight: (
|
|
4871
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
4872
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
4873
|
+
maxHeight: (NumberConstructor | StringConstructor)[];
|
|
4874
4874
|
fit: {
|
|
4875
4875
|
type: BooleanConstructor;
|
|
4876
4876
|
default: boolean;
|
|
@@ -4894,13 +4894,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4894
4894
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4895
4895
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4896
4896
|
highlightCurrentRow: BooleanConstructor;
|
|
4897
|
-
currentRowKey: (
|
|
4897
|
+
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
4898
4898
|
emptyText: StringConstructor;
|
|
4899
4899
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4900
4900
|
defaultExpandAll: BooleanConstructor;
|
|
4901
4901
|
defaultSort: PropType< Sort | undefined>;
|
|
4902
4902
|
tooltipEffect: StringConstructor;
|
|
4903
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4903
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4904
4904
|
spanMethod: PropType<((data: {
|
|
4905
4905
|
row: any;
|
|
4906
4906
|
rowIndex: number;
|
|
@@ -4944,7 +4944,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4944
4944
|
};
|
|
4945
4945
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4946
4946
|
flexible: BooleanConstructor;
|
|
4947
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4947
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined>;
|
|
4948
4948
|
}>> & {
|
|
4949
4949
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4950
4950
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5156,6 +5156,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5156
5156
|
onRequestError?: ((error: unknown) => any) | undefined;
|
|
5157
5157
|
onRequestComplete?: ((tableData: RecordType[]) => any) | undefined;
|
|
5158
5158
|
}, {
|
|
5159
|
+
columns: PlusColumn[];
|
|
5160
|
+
immediate: boolean;
|
|
5159
5161
|
search: false | Partial< PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
5160
5162
|
style?: CSSProperties | undefined;
|
|
5161
5163
|
class?: any;
|
|
@@ -5164,8 +5166,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5164
5166
|
style?: CSSProperties | undefined;
|
|
5165
5167
|
class?: any;
|
|
5166
5168
|
}>;
|
|
5167
|
-
columns: PlusColumn[];
|
|
5168
|
-
immediate: boolean;
|
|
5169
5169
|
params: RecordType;
|
|
5170
5170
|
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5171
5171
|
columnsEmptyText: string;
|
|
@@ -5189,9 +5189,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5189
5189
|
};
|
|
5190
5190
|
searchSlot: boolean;
|
|
5191
5191
|
}, {}>, Partial<Record<never, (_: {
|
|
5192
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
5192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
|
|
5193
5193
|
readonly label: string | ComputedRef<string>;
|
|
5194
|
-
readonly modelValue: string | number | boolean |
|
|
5194
|
+
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
5195
5195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5196
5196
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5197
5197
|
style?: CSSProperties | undefined;
|
|
@@ -5218,7 +5218,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5218
5218
|
};
|
|
5219
5219
|
rows: number;
|
|
5220
5220
|
autocomplete: string;
|
|
5221
|
-
type: "" | "number" | "default" | "
|
|
5221
|
+
type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
5222
5222
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5223
5223
|
step: string | number;
|
|
5224
5224
|
format: string | ProgressFn | undefined;
|
|
@@ -5263,7 +5263,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5263
5263
|
fieldInstance?: any;
|
|
5264
5264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5265
5265
|
prop: string;
|
|
5266
|
-
modelValue: string | number | boolean |
|
|
5266
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
5267
5267
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5268
5268
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5269
5269
|
style?: CSSProperties | undefined;
|