yc-pro-components 0.0.11 → 0.0.13
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 +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +44 -32
- package/es/components/dialog-form/src/index.vue.d.ts +22 -10
- package/es/components/display-item/index.d.ts +80 -44
- package/es/components/display-item/src/index.vue.d.ts +61 -25
- package/es/components/drawer-form/index.d.ts +63 -51
- package/es/components/drawer-form/src/index.vue.d.ts +23 -11
- package/es/components/form/index.d.ts +71 -47
- package/es/components/form/src/form-content.vue.d.ts +60 -24
- package/es/components/form/src/index.vue.d.ts +43 -19
- package/es/components/form-item/index.d.ts +129 -57
- package/es/components/form-item/src/index.vue.d.ts +46 -15
- package/es/components/form-item/src/index.vue2.mjs +1 -0
- 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 +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +751 -469
- package/es/components/page/src/index.vue.d.ts +263 -161
- package/es/components/page/src/index.vue2.mjs +1 -1
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +284 -162
- package/es/components/search/src/index.vue.d.ts +95 -53
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-action-bar.vue2.mjs +1 -1
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +76 -40
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- 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-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 +588 -529
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/constants/dict.d.ts +78 -0
- package/es/constants/dict.mjs +3 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +1 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/useDictInjection.d.ts +38 -0
- package/es/hooks/useDictInjection.mjs +18 -0
- package/es/hooks/useGetOptions.mjs +118 -30
- package/es/hooks/usePlusFormReset.d.ts +286 -214
- package/es/index.css +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +2 -0
- package/es/types/plus.d.ts +74 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +9 -5
- package/index.js +187 -65
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +187 -67
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +44 -32
- package/lib/components/dialog-form/src/index.vue.d.ts +22 -10
- package/lib/components/display-item/index.d.ts +80 -44
- package/lib/components/display-item/src/index.vue.d.ts +61 -25
- package/lib/components/drawer-form/index.d.ts +63 -51
- package/lib/components/drawer-form/src/index.vue.d.ts +23 -11
- package/lib/components/form/index.d.ts +71 -47
- package/lib/components/form/src/form-content.vue.d.ts +60 -24
- package/lib/components/form/src/index.vue.d.ts +43 -19
- package/lib/components/form-item/index.d.ts +129 -57
- package/lib/components/form-item/src/index.vue.d.ts +46 -15
- package/lib/components/form-item/src/index.vue2.js +1 -0
- 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 +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +751 -469
- package/lib/components/page/src/index.vue.d.ts +263 -161
- package/lib/components/page/src/index.vue2.js +1 -1
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +284 -162
- package/lib/components/search/src/index.vue.d.ts +95 -53
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-action-bar.vue2.js +1 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +76 -40
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- 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-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 +588 -529
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/constants/dict.d.ts +78 -0
- package/lib/constants/dict.js +5 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +2 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/useDictInjection.d.ts +38 -0
- package/lib/hooks/useDictInjection.js +20 -0
- package/lib/hooks/useGetOptions.js +117 -29
- package/lib/hooks/usePlusFormReset.d.ts +286 -214
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -0
- package/lib/types/plus.d.ts +74 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -5,11 +5,12 @@ 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 { TableProps, CardProps, RowProps, ColProps, FormItemRule, 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 } from 'element-plus';
|
|
8
|
-
import {
|
|
8
|
+
import { PlusFormSelfProps, ElementPlusFormProps, RecordType, PlusTableSelfProps, PlusPaginationProps, Mutable, PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, TableValueType, ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow } from 'packages/yc-components';
|
|
9
9
|
import { RequestResponse } from './type';
|
|
10
10
|
import { FieldValues, OmitTypes, CascaderProps, FormItemValueType, FieldValueType } from 'yc-pro-components/es/types/form';
|
|
11
|
+
import { PlusSearchSelfProps } from 'yc-pro-components/es/components/search';
|
|
11
12
|
import { PageInfo, PlusColumn, PropsItemType, OptionsType, RenderTypes, OptionsRow } from 'yc-pro-components/es/types/plus';
|
|
12
|
-
import { nextTick, DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties,
|
|
13
|
+
import { nextTick, DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, Component, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, PublicProps } from 'vue';
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* 本地 Props 接口定义
|
|
@@ -25,7 +26,7 @@ interface Props {
|
|
|
25
26
|
/** 是否显示为卡片样式 */
|
|
26
27
|
isCard?: boolean;
|
|
27
28
|
/** 搜索表单配置 */
|
|
28
|
-
search?: false | Record<string, unknown
|
|
29
|
+
search?: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
29
30
|
/** 搜索卡片属性配置 */
|
|
30
31
|
searchCardProps?: Record<string, unknown>;
|
|
31
32
|
/** 表格卡片属性配置 */
|
|
@@ -54,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
54
55
|
$: ComponentInternalInstance;
|
|
55
56
|
$data: {};
|
|
56
57
|
$props: Partial<{
|
|
57
|
-
search: false | Partial<
|
|
58
|
+
search: false | Partial<PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
58
59
|
style?: CSSProperties | undefined;
|
|
59
60
|
class?: any;
|
|
60
61
|
} & RecordType>;
|
|
@@ -65,7 +66,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
65
66
|
columns: PlusColumn[];
|
|
66
67
|
immediate: boolean;
|
|
67
68
|
params: RecordType;
|
|
68
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
69
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
69
70
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
70
71
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
71
72
|
isCard: boolean;
|
|
@@ -86,7 +87,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
86
87
|
};
|
|
87
88
|
searchSlot: boolean;
|
|
88
89
|
}> & Omit<{
|
|
89
|
-
readonly search: false | Partial<
|
|
90
|
+
readonly search: false | Partial<PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
90
91
|
style?: CSSProperties | undefined;
|
|
91
92
|
class?: any;
|
|
92
93
|
} & RecordType>;
|
|
@@ -101,7 +102,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
101
102
|
data: RecordType[];
|
|
102
103
|
total: number;
|
|
103
104
|
}>;
|
|
104
|
-
readonly pagination: false | Omit< PlusPaginationProps, "
|
|
105
|
+
readonly pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
105
106
|
readonly isCard: boolean;
|
|
106
107
|
readonly searchCardProps: Partial< Mutable<CardProps> & {
|
|
107
108
|
style?: CSSProperties | undefined;
|
|
@@ -128,7 +129,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
128
129
|
onRequestComplete?: ((tableData: RecordType[]) => any) | undefined;
|
|
129
130
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
130
131
|
search: {
|
|
131
|
-
type: PropType<false | Partial<
|
|
132
|
+
type: PropType<false | Partial<PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
132
133
|
style?: CSSProperties | undefined;
|
|
133
134
|
class?: any;
|
|
134
135
|
} & RecordType>>;
|
|
@@ -162,7 +163,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
162
163
|
required: true;
|
|
163
164
|
};
|
|
164
165
|
pagination: {
|
|
165
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
166
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
166
167
|
default: () => {};
|
|
167
168
|
};
|
|
168
169
|
postData: {
|
|
@@ -236,13 +237,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
236
237
|
$slots: Readonly<{
|
|
237
238
|
[name: string]: Slot<any> | undefined;
|
|
238
239
|
}>;
|
|
239
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
240
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
240
241
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
241
|
-
$emit: ((event: "search", data: FieldValues) => void) & ((event: "reset", data: FieldValues) => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "requestError", error: unknown) => void) & ((event: "requestComplete", tableData: RecordType[]) => void);
|
|
242
|
+
$emit: ((event: "search", data: FieldValues) => void) & ((event: "reset", data: FieldValues) => void) & ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "requestError", error: unknown) => void) & ((event: "requestComplete", tableData: RecordType[]) => void); /** 包装后的请求函数 */
|
|
242
243
|
$el: any;
|
|
243
244
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
244
245
|
search: {
|
|
245
|
-
type: PropType<false | Partial<
|
|
246
|
+
type: PropType<false | Partial<PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
246
247
|
style?: CSSProperties | undefined;
|
|
247
248
|
class?: any;
|
|
248
249
|
} & RecordType>>;
|
|
@@ -276,7 +277,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
276
277
|
required: true;
|
|
277
278
|
};
|
|
278
279
|
pagination: {
|
|
279
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
280
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
280
281
|
default: () => {};
|
|
281
282
|
};
|
|
282
283
|
postData: {
|
|
@@ -345,8 +346,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
345
346
|
$: ComponentInternalInstance;
|
|
346
347
|
$data: {};
|
|
347
348
|
$props: Partial<{
|
|
348
|
-
modelValue: FieldValues;
|
|
349
349
|
columns: PlusColumn[];
|
|
350
|
+
modelValue: FieldValues;
|
|
350
351
|
labelPosition: "top" | "right" | "left";
|
|
351
352
|
inline: boolean;
|
|
352
353
|
showNumber: number;
|
|
@@ -369,9 +370,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
369
370
|
expandText: string;
|
|
370
371
|
searchLoading: boolean;
|
|
371
372
|
needValidate: boolean;
|
|
373
|
+
searchIcon: Component | null;
|
|
374
|
+
resetIcon: Component | null;
|
|
372
375
|
}> & Omit<{
|
|
373
|
-
readonly modelValue: FieldValues;
|
|
374
376
|
readonly columns: PlusColumn[];
|
|
377
|
+
readonly modelValue: FieldValues;
|
|
375
378
|
readonly inline: boolean;
|
|
376
379
|
readonly showNumber: number;
|
|
377
380
|
readonly defaultValues: FieldValues;
|
|
@@ -394,20 +397,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
394
397
|
readonly searchLoading: boolean;
|
|
395
398
|
readonly needValidate: boolean;
|
|
396
399
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
397
|
-
|
|
400
|
+
readonly searchIcon?: Component | null | undefined;
|
|
401
|
+
readonly resetIcon?: Component | null | undefined;
|
|
398
402
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
399
403
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
404
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
400
405
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
401
406
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
402
407
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
403
|
-
modelValue: {
|
|
404
|
-
type: PropType<FieldValues>;
|
|
405
|
-
default: () => {};
|
|
406
|
-
};
|
|
407
408
|
columns: {
|
|
408
409
|
type: PropType<PlusColumn[]>;
|
|
409
410
|
default: () => never[];
|
|
410
411
|
};
|
|
412
|
+
modelValue: {
|
|
413
|
+
type: PropType<FieldValues>;
|
|
414
|
+
default: () => {};
|
|
415
|
+
};
|
|
411
416
|
labelPosition: {
|
|
412
417
|
type: PropType<"top" | "right" | "left">;
|
|
413
418
|
default: undefined;
|
|
@@ -486,13 +491,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
486
491
|
type: PropType<boolean>;
|
|
487
492
|
default: boolean;
|
|
488
493
|
};
|
|
494
|
+
searchIcon: {
|
|
495
|
+
type: PropType< Component | null>;
|
|
496
|
+
default: undefined;
|
|
497
|
+
};
|
|
498
|
+
resetIcon: {
|
|
499
|
+
type: PropType< Component | null>;
|
|
500
|
+
default: undefined;
|
|
501
|
+
};
|
|
489
502
|
}>> & {
|
|
490
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
491
503
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
492
504
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
505
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
493
506
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
494
507
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
495
|
-
}, "
|
|
508
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
496
509
|
$attrs: {
|
|
497
510
|
[x: string]: unknown;
|
|
498
511
|
};
|
|
@@ -502,19 +515,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
502
515
|
$slots: Readonly<{
|
|
503
516
|
[name: string]: Slot<any> | undefined;
|
|
504
517
|
}>;
|
|
505
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
518
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
506
519
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
507
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
520
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void); /** 包装后的请求函数 */
|
|
508
521
|
$el: any;
|
|
509
522
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
510
|
-
modelValue: {
|
|
511
|
-
type: PropType<FieldValues>;
|
|
512
|
-
default: () => {};
|
|
513
|
-
};
|
|
514
523
|
columns: {
|
|
515
524
|
type: PropType<PlusColumn[]>;
|
|
516
525
|
default: () => never[];
|
|
517
526
|
};
|
|
527
|
+
modelValue: {
|
|
528
|
+
type: PropType<FieldValues>;
|
|
529
|
+
default: () => {};
|
|
530
|
+
};
|
|
518
531
|
labelPosition: {
|
|
519
532
|
type: PropType<"top" | "right" | "left">;
|
|
520
533
|
default: undefined;
|
|
@@ -593,10 +606,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
593
606
|
type: PropType<boolean>;
|
|
594
607
|
default: boolean;
|
|
595
608
|
};
|
|
609
|
+
searchIcon: {
|
|
610
|
+
type: PropType< Component | null>;
|
|
611
|
+
default: undefined;
|
|
612
|
+
};
|
|
613
|
+
resetIcon: {
|
|
614
|
+
type: PropType< Component | null>;
|
|
615
|
+
default: undefined;
|
|
616
|
+
};
|
|
596
617
|
}>> & {
|
|
597
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
598
618
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
599
619
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
620
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
600
621
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
601
622
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
602
623
|
}, {
|
|
@@ -604,11 +625,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
604
625
|
$: ComponentInternalInstance;
|
|
605
626
|
$data: {};
|
|
606
627
|
$props: Partial<{
|
|
607
|
-
modelValue: FieldValues;
|
|
608
628
|
collapseDuration: number;
|
|
609
629
|
collapseTransition: boolean;
|
|
610
630
|
columns: PlusColumn[];
|
|
611
631
|
group: false | PlusFormGroupRow[];
|
|
632
|
+
modelValue: FieldValues;
|
|
612
633
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
613
634
|
labelPosition: "top" | "right" | "left";
|
|
614
635
|
labelWidth: string | number;
|
|
@@ -629,7 +650,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
629
650
|
submitText: string;
|
|
630
651
|
resetText: string;
|
|
631
652
|
submitLoading: boolean;
|
|
632
|
-
footerAlign: "
|
|
653
|
+
footerAlign: "right" | "left" | "center";
|
|
633
654
|
cardProps: Partial< Mutable<CardProps> & {
|
|
634
655
|
style?: CSSProperties | undefined;
|
|
635
656
|
class?: any;
|
|
@@ -637,9 +658,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
637
658
|
prevent: boolean;
|
|
638
659
|
clearable: boolean;
|
|
639
660
|
}> & Omit<{
|
|
640
|
-
readonly modelValue: FieldValues;
|
|
641
661
|
readonly columns: PlusColumn[];
|
|
642
662
|
readonly group: false | PlusFormGroupRow[];
|
|
663
|
+
readonly modelValue: FieldValues;
|
|
643
664
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
644
665
|
readonly labelPosition: "top" | "right" | "left";
|
|
645
666
|
readonly labelWidth: string | number;
|
|
@@ -660,7 +681,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
660
681
|
readonly submitText: string;
|
|
661
682
|
readonly resetText: string;
|
|
662
683
|
readonly submitLoading: boolean;
|
|
663
|
-
readonly footerAlign: "
|
|
684
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
664
685
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
665
686
|
style?: CSSProperties | undefined;
|
|
666
687
|
class?: any;
|
|
@@ -669,17 +690,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
669
690
|
readonly clearable: boolean;
|
|
670
691
|
readonly collapseDuration?: number | undefined;
|
|
671
692
|
readonly collapseTransition?: boolean | undefined;
|
|
672
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
673
693
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
674
694
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
675
695
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
696
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
676
697
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
677
698
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
678
699
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
679
|
-
modelValue: {
|
|
680
|
-
type: PropType<FieldValues>;
|
|
681
|
-
default: () => {};
|
|
682
|
-
};
|
|
683
700
|
collapseDuration: {
|
|
684
701
|
type: PropType<number>;
|
|
685
702
|
default: undefined;
|
|
@@ -696,6 +713,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
696
713
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
697
714
|
default: boolean;
|
|
698
715
|
};
|
|
716
|
+
modelValue: {
|
|
717
|
+
type: PropType<FieldValues>;
|
|
718
|
+
default: () => {};
|
|
719
|
+
};
|
|
699
720
|
rules: {
|
|
700
721
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
701
722
|
default: () => {};
|
|
@@ -759,7 +780,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
759
780
|
default: boolean;
|
|
760
781
|
};
|
|
761
782
|
footerAlign: {
|
|
762
|
-
type: PropType<"
|
|
783
|
+
type: PropType<"right" | "left" | "center">;
|
|
763
784
|
default: string;
|
|
764
785
|
};
|
|
765
786
|
cardProps: {
|
|
@@ -778,13 +799,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
778
799
|
default: boolean;
|
|
779
800
|
};
|
|
780
801
|
}>> & {
|
|
781
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
782
802
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
783
803
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
784
804
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
805
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
785
806
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
786
807
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
787
|
-
}, "
|
|
808
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
788
809
|
$attrs: {
|
|
789
810
|
[x: string]: unknown;
|
|
790
811
|
};
|
|
@@ -794,15 +815,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
794
815
|
$slots: Readonly<{
|
|
795
816
|
[name: string]: Slot<any> | undefined;
|
|
796
817
|
}>;
|
|
797
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
818
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
798
819
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
799
|
-
$emit: ((event: "
|
|
820
|
+
$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); /** 包装后的请求函数 */
|
|
800
821
|
$el: any;
|
|
801
822
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
802
|
-
modelValue: {
|
|
803
|
-
type: PropType<FieldValues>;
|
|
804
|
-
default: () => {};
|
|
805
|
-
};
|
|
806
823
|
collapseDuration: {
|
|
807
824
|
type: PropType<number>;
|
|
808
825
|
default: undefined;
|
|
@@ -819,6 +836,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
819
836
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
820
837
|
default: boolean;
|
|
821
838
|
};
|
|
839
|
+
modelValue: {
|
|
840
|
+
type: PropType<FieldValues>;
|
|
841
|
+
default: () => {};
|
|
842
|
+
};
|
|
822
843
|
rules: {
|
|
823
844
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
824
845
|
default: () => {};
|
|
@@ -882,7 +903,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
882
903
|
default: boolean;
|
|
883
904
|
};
|
|
884
905
|
footerAlign: {
|
|
885
|
-
type: PropType<"
|
|
906
|
+
type: PropType<"right" | "left" | "center">;
|
|
886
907
|
default: string;
|
|
887
908
|
};
|
|
888
909
|
cardProps: {
|
|
@@ -901,10 +922,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
901
922
|
default: boolean;
|
|
902
923
|
};
|
|
903
924
|
}>> & {
|
|
904
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
905
925
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
906
926
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
907
927
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
928
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
908
929
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
909
930
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
910
931
|
}, {
|
|
@@ -998,11 +1019,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
998
1019
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
999
1020
|
cssVarName: (name: string) => string;
|
|
1000
1021
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
1001
|
-
/**
|
|
1002
|
-
* 根据筛选项数量计算 span 值
|
|
1003
|
-
* @param count 筛选项数量
|
|
1004
|
-
* @returns span 值
|
|
1005
|
-
*/
|
|
1006
1022
|
cssVarBlockName: (name: string) => string;
|
|
1007
1023
|
};
|
|
1008
1024
|
formClasses: ComputedRef<(string | {
|
|
@@ -1165,11 +1181,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1165
1181
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
1166
1182
|
cssVarName: (name: string) => string;
|
|
1167
1183
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
1168
|
-
/**
|
|
1169
|
-
* 根据筛选项数量计算 span 值
|
|
1170
|
-
* @param count 筛选项数量
|
|
1171
|
-
* @returns span 值
|
|
1172
|
-
*/
|
|
1173
1184
|
cssVarBlockName: (name: string) => string;
|
|
1174
1185
|
};
|
|
1175
1186
|
formClasses: ComputedRef<(string | {
|
|
@@ -1210,11 +1221,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1210
1221
|
submitError: (errors: unknown) => void;
|
|
1211
1222
|
validate: (...args: any[]) => void;
|
|
1212
1223
|
}, string, {
|
|
1213
|
-
modelValue: FieldValues;
|
|
1214
1224
|
collapseDuration: number;
|
|
1215
1225
|
collapseTransition: boolean;
|
|
1216
1226
|
columns: PlusColumn[];
|
|
1217
1227
|
group: false | PlusFormGroupRow[];
|
|
1228
|
+
modelValue: FieldValues;
|
|
1218
1229
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1219
1230
|
labelPosition: "top" | "right" | "left";
|
|
1220
1231
|
labelWidth: string | number;
|
|
@@ -1235,7 +1246,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1235
1246
|
submitText: string;
|
|
1236
1247
|
resetText: string;
|
|
1237
1248
|
submitLoading: boolean;
|
|
1238
|
-
footerAlign: "
|
|
1249
|
+
footerAlign: "right" | "left" | "center";
|
|
1239
1250
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1240
1251
|
style?: CSSProperties | undefined;
|
|
1241
1252
|
class?: any;
|
|
@@ -1263,10 +1274,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1263
1274
|
$nextTick: typeof nextTick;
|
|
1264
1275
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1265
1276
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1266
|
-
modelValue: {
|
|
1267
|
-
type: PropType<FieldValues>;
|
|
1268
|
-
default: () => {};
|
|
1269
|
-
};
|
|
1270
1277
|
collapseDuration: {
|
|
1271
1278
|
type: PropType<number>;
|
|
1272
1279
|
default: undefined;
|
|
@@ -1283,6 +1290,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1283
1290
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1284
1291
|
default: boolean;
|
|
1285
1292
|
};
|
|
1293
|
+
modelValue: {
|
|
1294
|
+
type: PropType<FieldValues>;
|
|
1295
|
+
default: () => {};
|
|
1296
|
+
};
|
|
1286
1297
|
rules: {
|
|
1287
1298
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1288
1299
|
default: () => {};
|
|
@@ -1346,7 +1357,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1346
1357
|
default: boolean;
|
|
1347
1358
|
};
|
|
1348
1359
|
footerAlign: {
|
|
1349
|
-
type: PropType<"
|
|
1360
|
+
type: PropType<"right" | "left" | "center">;
|
|
1350
1361
|
default: string;
|
|
1351
1362
|
};
|
|
1352
1363
|
cardProps: {
|
|
@@ -1365,10 +1376,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1365
1376
|
default: boolean;
|
|
1366
1377
|
};
|
|
1367
1378
|
}>> & {
|
|
1368
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1369
1379
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1370
1380
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1371
1381
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1382
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1372
1383
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1373
1384
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1374
1385
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1462,11 +1473,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1462
1473
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
1463
1474
|
cssVarName: (name: string) => string;
|
|
1464
1475
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
1465
|
-
/**
|
|
1466
|
-
* 根据筛选项数量计算 span 值
|
|
1467
|
-
* @param count 筛选项数量
|
|
1468
|
-
* @returns span 值
|
|
1469
|
-
*/
|
|
1470
1476
|
cssVarBlockName: (name: string) => string;
|
|
1471
1477
|
};
|
|
1472
1478
|
formClasses: ComputedRef<(string | {
|
|
@@ -1629,11 +1635,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1629
1635
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
1630
1636
|
cssVarName: (name: string) => string;
|
|
1631
1637
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
1632
|
-
/**
|
|
1633
|
-
* 根据筛选项数量计算 span 值
|
|
1634
|
-
* @param count 筛选项数量
|
|
1635
|
-
* @returns span 值
|
|
1636
|
-
*/
|
|
1637
1638
|
cssVarBlockName: (name: string) => string;
|
|
1638
1639
|
};
|
|
1639
1640
|
formClasses: ComputedRef<(string | {
|
|
@@ -1679,14 +1680,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1679
1680
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1680
1681
|
columns?: PlusColumn[] | undefined;
|
|
1681
1682
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1682
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1683
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1683
1684
|
readonly label: string | ComputedRef<string>;
|
|
1684
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1685
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1685
1686
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1686
|
-
readonly tooltip: string |
|
|
1687
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1687
1688
|
style?: CSSProperties | undefined;
|
|
1688
1689
|
class?: any;
|
|
1689
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1690
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1690
1691
|
style?: CSSProperties | undefined;
|
|
1691
1692
|
class?: any;
|
|
1692
1693
|
} & RecordType>>;
|
|
@@ -1708,7 +1709,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1708
1709
|
};
|
|
1709
1710
|
rows: number;
|
|
1710
1711
|
autocomplete: string;
|
|
1711
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1712
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1712
1713
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1713
1714
|
step: string | number;
|
|
1714
1715
|
format: string | ProgressFn | undefined;
|
|
@@ -1735,6 +1736,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1735
1736
|
label?: string | undefined;
|
|
1736
1737
|
value?: string | undefined;
|
|
1737
1738
|
} | undefined;
|
|
1739
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1740
|
+
store?: any;
|
|
1741
|
+
method?: string | undefined;
|
|
1742
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1743
|
+
dictCode?: string | undefined;
|
|
1744
|
+
} | undefined;
|
|
1738
1745
|
readonly clearable: boolean;
|
|
1739
1746
|
readonly index: number;
|
|
1740
1747
|
} & {
|
|
@@ -1747,12 +1754,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1747
1754
|
fieldInstance?: any;
|
|
1748
1755
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1749
1756
|
prop: string;
|
|
1750
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1757
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1751
1758
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1752
|
-
tooltip: string |
|
|
1759
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1753
1760
|
style?: CSSProperties | undefined;
|
|
1754
1761
|
class?: any;
|
|
1755
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1762
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1756
1763
|
style?: CSSProperties | undefined;
|
|
1757
1764
|
class?: any;
|
|
1758
1765
|
} & RecordType>>;
|
|
@@ -1772,17 +1779,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1772
1779
|
label?: string | undefined;
|
|
1773
1780
|
value?: string | undefined;
|
|
1774
1781
|
} | undefined;
|
|
1782
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1783
|
+
store?: any;
|
|
1784
|
+
method?: string | undefined;
|
|
1785
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1786
|
+
dictCode?: string | undefined;
|
|
1787
|
+
} | undefined;
|
|
1775
1788
|
clearable: boolean;
|
|
1776
1789
|
index: number;
|
|
1777
1790
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1778
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1791
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1779
1792
|
readonly label: string | ComputedRef<string>;
|
|
1780
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1793
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1781
1794
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1782
|
-
readonly tooltip: string |
|
|
1795
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1783
1796
|
style?: CSSProperties | undefined;
|
|
1784
1797
|
class?: any;
|
|
1785
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1798
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1786
1799
|
style?: CSSProperties | undefined;
|
|
1787
1800
|
class?: any;
|
|
1788
1801
|
} & RecordType>>;
|
|
@@ -1804,7 +1817,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1804
1817
|
};
|
|
1805
1818
|
rows: number;
|
|
1806
1819
|
autocomplete: string;
|
|
1807
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1820
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1808
1821
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1809
1822
|
step: string | number;
|
|
1810
1823
|
format: string | ProgressFn | undefined;
|
|
@@ -1831,6 +1844,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1831
1844
|
label?: string | undefined;
|
|
1832
1845
|
value?: string | undefined;
|
|
1833
1846
|
} | undefined;
|
|
1847
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1848
|
+
store?: any;
|
|
1849
|
+
method?: string | undefined;
|
|
1850
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1851
|
+
dictCode?: string | undefined;
|
|
1852
|
+
} | undefined;
|
|
1834
1853
|
readonly clearable: boolean;
|
|
1835
1854
|
readonly index: number;
|
|
1836
1855
|
} & {
|
|
@@ -1843,12 +1862,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1843
1862
|
fieldInstance?: any;
|
|
1844
1863
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1845
1864
|
prop: string;
|
|
1846
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1865
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1847
1866
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1848
|
-
tooltip: string |
|
|
1867
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1849
1868
|
style?: CSSProperties | undefined;
|
|
1850
1869
|
class?: any;
|
|
1851
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1870
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1852
1871
|
style?: CSSProperties | undefined;
|
|
1853
1872
|
class?: any;
|
|
1854
1873
|
} & RecordType>>;
|
|
@@ -1868,6 +1887,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1868
1887
|
label?: string | undefined;
|
|
1869
1888
|
value?: string | undefined;
|
|
1870
1889
|
} | undefined;
|
|
1890
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1891
|
+
store?: any;
|
|
1892
|
+
method?: string | undefined;
|
|
1893
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1894
|
+
dictCode?: string | undefined;
|
|
1895
|
+
} | undefined;
|
|
1871
1896
|
clearable: boolean;
|
|
1872
1897
|
index: number;
|
|
1873
1898
|
}) => any>> & {
|
|
@@ -1894,8 +1919,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1894
1919
|
reset: (values: FieldValues) => void;
|
|
1895
1920
|
collapse: (isShowUnfold: boolean) => void;
|
|
1896
1921
|
}, string, {
|
|
1897
|
-
modelValue: FieldValues;
|
|
1898
1922
|
columns: PlusColumn[];
|
|
1923
|
+
modelValue: FieldValues;
|
|
1899
1924
|
labelPosition: "top" | "right" | "left";
|
|
1900
1925
|
inline: boolean;
|
|
1901
1926
|
showNumber: number;
|
|
@@ -1918,6 +1943,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1918
1943
|
expandText: string;
|
|
1919
1944
|
searchLoading: boolean;
|
|
1920
1945
|
needValidate: boolean;
|
|
1946
|
+
searchIcon: Component | null;
|
|
1947
|
+
resetIcon: Component | null;
|
|
1921
1948
|
}, {}, string, {}> & {
|
|
1922
1949
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1923
1950
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1939,14 +1966,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1939
1966
|
$nextTick: typeof nextTick;
|
|
1940
1967
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1941
1968
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1942
|
-
modelValue: {
|
|
1943
|
-
type: PropType<FieldValues>;
|
|
1944
|
-
default: () => {};
|
|
1945
|
-
};
|
|
1946
1969
|
columns: {
|
|
1947
1970
|
type: PropType<PlusColumn[]>;
|
|
1948
1971
|
default: () => never[];
|
|
1949
1972
|
};
|
|
1973
|
+
modelValue: {
|
|
1974
|
+
type: PropType<FieldValues>;
|
|
1975
|
+
default: () => {};
|
|
1976
|
+
};
|
|
1950
1977
|
labelPosition: {
|
|
1951
1978
|
type: PropType<"top" | "right" | "left">;
|
|
1952
1979
|
default: undefined;
|
|
@@ -2025,10 +2052,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2025
2052
|
type: PropType<boolean>;
|
|
2026
2053
|
default: boolean;
|
|
2027
2054
|
};
|
|
2055
|
+
searchIcon: {
|
|
2056
|
+
type: PropType< Component | null>;
|
|
2057
|
+
default: undefined;
|
|
2058
|
+
};
|
|
2059
|
+
resetIcon: {
|
|
2060
|
+
type: PropType< Component | null>;
|
|
2061
|
+
default: undefined;
|
|
2062
|
+
};
|
|
2028
2063
|
}>> & {
|
|
2029
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2030
2064
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2031
2065
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2066
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2032
2067
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
2033
2068
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
2034
2069
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -2036,11 +2071,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2036
2071
|
$: ComponentInternalInstance;
|
|
2037
2072
|
$data: {};
|
|
2038
2073
|
$props: Partial<{
|
|
2039
|
-
modelValue: FieldValues;
|
|
2040
2074
|
collapseDuration: number;
|
|
2041
2075
|
collapseTransition: boolean;
|
|
2042
2076
|
columns: PlusColumn[];
|
|
2043
2077
|
group: false | PlusFormGroupRow[];
|
|
2078
|
+
modelValue: FieldValues;
|
|
2044
2079
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2045
2080
|
labelPosition: "top" | "right" | "left";
|
|
2046
2081
|
labelWidth: string | number;
|
|
@@ -2061,7 +2096,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2061
2096
|
submitText: string;
|
|
2062
2097
|
resetText: string;
|
|
2063
2098
|
submitLoading: boolean;
|
|
2064
|
-
footerAlign: "
|
|
2099
|
+
footerAlign: "right" | "left" | "center";
|
|
2065
2100
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2066
2101
|
style?: CSSProperties | undefined;
|
|
2067
2102
|
class?: any;
|
|
@@ -2069,9 +2104,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2069
2104
|
prevent: boolean;
|
|
2070
2105
|
clearable: boolean;
|
|
2071
2106
|
}> & Omit<{
|
|
2072
|
-
readonly modelValue: FieldValues;
|
|
2073
2107
|
readonly columns: PlusColumn[];
|
|
2074
2108
|
readonly group: false | PlusFormGroupRow[];
|
|
2109
|
+
readonly modelValue: FieldValues;
|
|
2075
2110
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2076
2111
|
readonly labelPosition: "top" | "right" | "left";
|
|
2077
2112
|
readonly labelWidth: string | number;
|
|
@@ -2092,7 +2127,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2092
2127
|
readonly submitText: string;
|
|
2093
2128
|
readonly resetText: string;
|
|
2094
2129
|
readonly submitLoading: boolean;
|
|
2095
|
-
readonly footerAlign: "
|
|
2130
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
2096
2131
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
2097
2132
|
style?: CSSProperties | undefined;
|
|
2098
2133
|
class?: any;
|
|
@@ -2101,17 +2136,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2101
2136
|
readonly clearable: boolean;
|
|
2102
2137
|
readonly collapseDuration?: number | undefined;
|
|
2103
2138
|
readonly collapseTransition?: boolean | undefined;
|
|
2104
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2105
2139
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2106
2140
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2107
2141
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2142
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2108
2143
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2109
2144
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2110
2145
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2111
|
-
modelValue: {
|
|
2112
|
-
type: PropType<FieldValues>;
|
|
2113
|
-
default: () => {};
|
|
2114
|
-
};
|
|
2115
2146
|
collapseDuration: {
|
|
2116
2147
|
type: PropType<number>;
|
|
2117
2148
|
default: undefined;
|
|
@@ -2128,6 +2159,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2128
2159
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2129
2160
|
default: boolean;
|
|
2130
2161
|
};
|
|
2162
|
+
modelValue: {
|
|
2163
|
+
type: PropType<FieldValues>;
|
|
2164
|
+
default: () => {};
|
|
2165
|
+
};
|
|
2131
2166
|
rules: {
|
|
2132
2167
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2133
2168
|
default: () => {};
|
|
@@ -2191,7 +2226,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2191
2226
|
default: boolean;
|
|
2192
2227
|
};
|
|
2193
2228
|
footerAlign: {
|
|
2194
|
-
type: PropType<"
|
|
2229
|
+
type: PropType<"right" | "left" | "center">;
|
|
2195
2230
|
default: string;
|
|
2196
2231
|
};
|
|
2197
2232
|
cardProps: {
|
|
@@ -2210,13 +2245,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2210
2245
|
default: boolean;
|
|
2211
2246
|
};
|
|
2212
2247
|
}>> & {
|
|
2213
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2214
2248
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2215
2249
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2216
2250
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2251
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2217
2252
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2218
2253
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2219
|
-
}, "
|
|
2254
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2220
2255
|
$attrs: {
|
|
2221
2256
|
[x: string]: unknown;
|
|
2222
2257
|
};
|
|
@@ -2226,15 +2261,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2226
2261
|
$slots: Readonly<{
|
|
2227
2262
|
[name: string]: Slot<any> | undefined;
|
|
2228
2263
|
}>;
|
|
2229
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2264
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
2230
2265
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2231
|
-
$emit: ((event: "
|
|
2266
|
+
$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); /** 包装后的请求函数 */
|
|
2232
2267
|
$el: any;
|
|
2233
2268
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2234
|
-
modelValue: {
|
|
2235
|
-
type: PropType<FieldValues>;
|
|
2236
|
-
default: () => {};
|
|
2237
|
-
};
|
|
2238
2269
|
collapseDuration: {
|
|
2239
2270
|
type: PropType<number>;
|
|
2240
2271
|
default: undefined;
|
|
@@ -2251,6 +2282,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2251
2282
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2252
2283
|
default: boolean;
|
|
2253
2284
|
};
|
|
2285
|
+
modelValue: {
|
|
2286
|
+
type: PropType<FieldValues>;
|
|
2287
|
+
default: () => {};
|
|
2288
|
+
};
|
|
2254
2289
|
rules: {
|
|
2255
2290
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2256
2291
|
default: () => {};
|
|
@@ -2314,7 +2349,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2314
2349
|
default: boolean;
|
|
2315
2350
|
};
|
|
2316
2351
|
footerAlign: {
|
|
2317
|
-
type: PropType<"
|
|
2352
|
+
type: PropType<"right" | "left" | "center">;
|
|
2318
2353
|
default: string;
|
|
2319
2354
|
};
|
|
2320
2355
|
cardProps: {
|
|
@@ -2333,10 +2368,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2333
2368
|
default: boolean;
|
|
2334
2369
|
};
|
|
2335
2370
|
}>> & {
|
|
2336
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2337
2371
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2338
2372
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2339
2373
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2374
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2340
2375
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2341
2376
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2342
2377
|
}, {
|
|
@@ -2430,11 +2465,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2430
2465
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
2431
2466
|
cssVarName: (name: string) => string;
|
|
2432
2467
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
2433
|
-
/**
|
|
2434
|
-
* 根据筛选项数量计算 span 值
|
|
2435
|
-
* @param count 筛选项数量
|
|
2436
|
-
* @returns span 值
|
|
2437
|
-
*/
|
|
2438
2468
|
cssVarBlockName: (name: string) => string;
|
|
2439
2469
|
};
|
|
2440
2470
|
formClasses: ComputedRef<(string | {
|
|
@@ -2597,11 +2627,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2597
2627
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
2598
2628
|
cssVarName: (name: string) => string;
|
|
2599
2629
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
2600
|
-
/**
|
|
2601
|
-
* 根据筛选项数量计算 span 值
|
|
2602
|
-
* @param count 筛选项数量
|
|
2603
|
-
* @returns span 值
|
|
2604
|
-
*/
|
|
2605
2630
|
cssVarBlockName: (name: string) => string;
|
|
2606
2631
|
};
|
|
2607
2632
|
formClasses: ComputedRef<(string | {
|
|
@@ -2642,11 +2667,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2642
2667
|
submitError: (errors: unknown) => void;
|
|
2643
2668
|
validate: (...args: any[]) => void;
|
|
2644
2669
|
}, string, {
|
|
2645
|
-
modelValue: FieldValues;
|
|
2646
2670
|
collapseDuration: number;
|
|
2647
2671
|
collapseTransition: boolean;
|
|
2648
2672
|
columns: PlusColumn[];
|
|
2649
2673
|
group: false | PlusFormGroupRow[];
|
|
2674
|
+
modelValue: FieldValues;
|
|
2650
2675
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2651
2676
|
labelPosition: "top" | "right" | "left";
|
|
2652
2677
|
labelWidth: string | number;
|
|
@@ -2667,7 +2692,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2667
2692
|
submitText: string;
|
|
2668
2693
|
resetText: string;
|
|
2669
2694
|
submitLoading: boolean;
|
|
2670
|
-
footerAlign: "
|
|
2695
|
+
footerAlign: "right" | "left" | "center";
|
|
2671
2696
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2672
2697
|
style?: CSSProperties | undefined;
|
|
2673
2698
|
class?: any;
|
|
@@ -2695,10 +2720,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2695
2720
|
$nextTick: typeof nextTick;
|
|
2696
2721
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2697
2722
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2698
|
-
modelValue: {
|
|
2699
|
-
type: PropType<FieldValues>;
|
|
2700
|
-
default: () => {};
|
|
2701
|
-
};
|
|
2702
2723
|
collapseDuration: {
|
|
2703
2724
|
type: PropType<number>;
|
|
2704
2725
|
default: undefined;
|
|
@@ -2715,6 +2736,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2715
2736
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2716
2737
|
default: boolean;
|
|
2717
2738
|
};
|
|
2739
|
+
modelValue: {
|
|
2740
|
+
type: PropType<FieldValues>;
|
|
2741
|
+
default: () => {};
|
|
2742
|
+
};
|
|
2718
2743
|
rules: {
|
|
2719
2744
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2720
2745
|
default: () => {};
|
|
@@ -2778,7 +2803,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2778
2803
|
default: boolean;
|
|
2779
2804
|
};
|
|
2780
2805
|
footerAlign: {
|
|
2781
|
-
type: PropType<"
|
|
2806
|
+
type: PropType<"right" | "left" | "center">;
|
|
2782
2807
|
default: string;
|
|
2783
2808
|
};
|
|
2784
2809
|
cardProps: {
|
|
@@ -2797,10 +2822,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2797
2822
|
default: boolean;
|
|
2798
2823
|
};
|
|
2799
2824
|
}>> & {
|
|
2800
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2801
2825
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2802
2826
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2803
2827
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2828
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2804
2829
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2805
2830
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2806
2831
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2894,11 +2919,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2894
2919
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
2895
2920
|
cssVarName: (name: string) => string;
|
|
2896
2921
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
2897
|
-
/**
|
|
2898
|
-
* 根据筛选项数量计算 span 值
|
|
2899
|
-
* @param count 筛选项数量
|
|
2900
|
-
* @returns span 值
|
|
2901
|
-
*/
|
|
2902
2922
|
cssVarBlockName: (name: string) => string;
|
|
2903
2923
|
};
|
|
2904
2924
|
formClasses: ComputedRef<(string | {
|
|
@@ -3061,11 +3081,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3061
3081
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
3062
3082
|
cssVarName: (name: string) => string;
|
|
3063
3083
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
3064
|
-
/**
|
|
3065
|
-
* 根据筛选项数量计算 span 值
|
|
3066
|
-
* @param count 筛选项数量
|
|
3067
|
-
* @returns span 值
|
|
3068
|
-
*/
|
|
3069
3084
|
cssVarBlockName: (name: string) => string;
|
|
3070
3085
|
};
|
|
3071
3086
|
formClasses: ComputedRef<(string | {
|
|
@@ -3111,14 +3126,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3111
3126
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
3112
3127
|
columns?: PlusColumn[] | undefined;
|
|
3113
3128
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3114
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3129
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3115
3130
|
readonly label: string | ComputedRef<string>;
|
|
3116
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3131
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3117
3132
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3118
|
-
readonly tooltip: string |
|
|
3133
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3119
3134
|
style?: CSSProperties | undefined;
|
|
3120
3135
|
class?: any;
|
|
3121
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3136
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3122
3137
|
style?: CSSProperties | undefined;
|
|
3123
3138
|
class?: any;
|
|
3124
3139
|
} & RecordType>>;
|
|
@@ -3140,7 +3155,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3140
3155
|
};
|
|
3141
3156
|
rows: number;
|
|
3142
3157
|
autocomplete: string;
|
|
3143
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3158
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3144
3159
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3145
3160
|
step: string | number;
|
|
3146
3161
|
format: string | ProgressFn | undefined;
|
|
@@ -3167,6 +3182,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3167
3182
|
label?: string | undefined;
|
|
3168
3183
|
value?: string | undefined;
|
|
3169
3184
|
} | undefined;
|
|
3185
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3186
|
+
store?: any;
|
|
3187
|
+
method?: string | undefined;
|
|
3188
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3189
|
+
dictCode?: string | undefined;
|
|
3190
|
+
} | undefined;
|
|
3170
3191
|
readonly clearable: boolean;
|
|
3171
3192
|
readonly index: number;
|
|
3172
3193
|
} & {
|
|
@@ -3179,12 +3200,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3179
3200
|
fieldInstance?: any;
|
|
3180
3201
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3181
3202
|
prop: string;
|
|
3182
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3203
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3183
3204
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3184
|
-
tooltip: string |
|
|
3205
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3185
3206
|
style?: CSSProperties | undefined;
|
|
3186
3207
|
class?: any;
|
|
3187
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3208
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3188
3209
|
style?: CSSProperties | undefined;
|
|
3189
3210
|
class?: any;
|
|
3190
3211
|
} & RecordType>>;
|
|
@@ -3204,17 +3225,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3204
3225
|
label?: string | undefined;
|
|
3205
3226
|
value?: string | undefined;
|
|
3206
3227
|
} | undefined;
|
|
3228
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3229
|
+
store?: any;
|
|
3230
|
+
method?: string | undefined;
|
|
3231
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3232
|
+
dictCode?: string | undefined;
|
|
3233
|
+
} | undefined;
|
|
3207
3234
|
clearable: boolean;
|
|
3208
3235
|
index: number;
|
|
3209
3236
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3210
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3237
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3211
3238
|
readonly label: string | ComputedRef<string>;
|
|
3212
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3239
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3213
3240
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3214
|
-
readonly tooltip: string |
|
|
3241
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3215
3242
|
style?: CSSProperties | undefined;
|
|
3216
3243
|
class?: any;
|
|
3217
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3244
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3218
3245
|
style?: CSSProperties | undefined;
|
|
3219
3246
|
class?: any;
|
|
3220
3247
|
} & RecordType>>;
|
|
@@ -3236,7 +3263,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3236
3263
|
};
|
|
3237
3264
|
rows: number;
|
|
3238
3265
|
autocomplete: string;
|
|
3239
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3266
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3240
3267
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3241
3268
|
step: string | number;
|
|
3242
3269
|
format: string | ProgressFn | undefined;
|
|
@@ -3263,6 +3290,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3263
3290
|
label?: string | undefined;
|
|
3264
3291
|
value?: string | undefined;
|
|
3265
3292
|
} | undefined;
|
|
3293
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3294
|
+
store?: any;
|
|
3295
|
+
method?: string | undefined;
|
|
3296
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3297
|
+
dictCode?: string | undefined;
|
|
3298
|
+
} | undefined;
|
|
3266
3299
|
readonly clearable: boolean;
|
|
3267
3300
|
readonly index: number;
|
|
3268
3301
|
} & {
|
|
@@ -3275,12 +3308,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3275
3308
|
fieldInstance?: any;
|
|
3276
3309
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3277
3310
|
prop: string;
|
|
3278
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3311
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3279
3312
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3280
|
-
tooltip: string |
|
|
3313
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3281
3314
|
style?: CSSProperties | undefined;
|
|
3282
3315
|
class?: any;
|
|
3283
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3316
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3284
3317
|
style?: CSSProperties | undefined;
|
|
3285
3318
|
class?: any;
|
|
3286
3319
|
} & RecordType>>;
|
|
@@ -3300,6 +3333,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3300
3333
|
label?: string | undefined;
|
|
3301
3334
|
value?: string | undefined;
|
|
3302
3335
|
} | undefined;
|
|
3336
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3337
|
+
store?: any;
|
|
3338
|
+
method?: string | undefined;
|
|
3339
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3340
|
+
dictCode?: string | undefined;
|
|
3341
|
+
} | undefined;
|
|
3303
3342
|
clearable: boolean;
|
|
3304
3343
|
index: number;
|
|
3305
3344
|
}) => any>> & {
|
|
@@ -3321,14 +3360,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3321
3360
|
handleUnfold: (e: MouseEvent) => void;
|
|
3322
3361
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3323
3362
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3324
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3363
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3325
3364
|
readonly label: string | ComputedRef<string>;
|
|
3326
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3365
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3327
3366
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3328
|
-
readonly tooltip: string |
|
|
3367
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3329
3368
|
style?: CSSProperties | undefined;
|
|
3330
3369
|
class?: any;
|
|
3331
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3370
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3332
3371
|
style?: CSSProperties | undefined;
|
|
3333
3372
|
class?: any;
|
|
3334
3373
|
} & RecordType>>;
|
|
@@ -3350,7 +3389,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3350
3389
|
};
|
|
3351
3390
|
rows: number;
|
|
3352
3391
|
autocomplete: string;
|
|
3353
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3392
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3354
3393
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3355
3394
|
step: string | number;
|
|
3356
3395
|
format: string | ProgressFn | undefined;
|
|
@@ -3377,6 +3416,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3377
3416
|
label?: string | undefined;
|
|
3378
3417
|
value?: string | undefined;
|
|
3379
3418
|
} | undefined;
|
|
3419
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3420
|
+
store?: any;
|
|
3421
|
+
method?: string | undefined;
|
|
3422
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3423
|
+
dictCode?: string | undefined;
|
|
3424
|
+
} | undefined;
|
|
3380
3425
|
readonly clearable: boolean;
|
|
3381
3426
|
readonly index: number;
|
|
3382
3427
|
} & {
|
|
@@ -3389,12 +3434,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3389
3434
|
fieldInstance?: any;
|
|
3390
3435
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3391
3436
|
prop: string;
|
|
3392
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3437
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3393
3438
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3394
|
-
tooltip: string |
|
|
3439
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3395
3440
|
style?: CSSProperties | undefined;
|
|
3396
3441
|
class?: any;
|
|
3397
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3442
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3398
3443
|
style?: CSSProperties | undefined;
|
|
3399
3444
|
class?: any;
|
|
3400
3445
|
} & RecordType>>;
|
|
@@ -3414,6 +3459,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3414
3459
|
label?: string | undefined;
|
|
3415
3460
|
value?: string | undefined;
|
|
3416
3461
|
} | undefined;
|
|
3462
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3463
|
+
store?: any;
|
|
3464
|
+
method?: string | undefined;
|
|
3465
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3466
|
+
dictCode?: string | undefined;
|
|
3467
|
+
} | undefined;
|
|
3417
3468
|
clearable: boolean;
|
|
3418
3469
|
index: number;
|
|
3419
3470
|
}) => any>> & {
|
|
@@ -3434,9 +3485,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3434
3485
|
columns: PlusColumn[];
|
|
3435
3486
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3436
3487
|
row: any[];
|
|
3437
|
-
/**
|
|
3438
|
-
* 获取全局配置
|
|
3439
|
-
*/
|
|
3440
3488
|
rowIndex: number;
|
|
3441
3489
|
column: TableColumnCtx<any[]>;
|
|
3442
3490
|
columnIndex: number;
|
|
@@ -3483,9 +3531,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3483
3531
|
readonly columns: PlusColumn[];
|
|
3484
3532
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3485
3533
|
row: any[];
|
|
3486
|
-
/**
|
|
3487
|
-
* 获取全局配置
|
|
3488
|
-
*/
|
|
3489
3534
|
rowIndex: number;
|
|
3490
3535
|
column: TableColumnCtx<any[]>;
|
|
3491
3536
|
columnIndex: number;
|
|
@@ -3555,9 +3600,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3555
3600
|
headerCellStyle: {
|
|
3556
3601
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
3557
3602
|
row: any[];
|
|
3558
|
-
/**
|
|
3559
|
-
* 获取全局配置
|
|
3560
|
-
*/
|
|
3561
3603
|
rowIndex: number;
|
|
3562
3604
|
column: TableColumnCtx<any[]>;
|
|
3563
3605
|
columnIndex: number;
|
|
@@ -3698,9 +3740,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3698
3740
|
$slots: Readonly<{
|
|
3699
3741
|
[name: string]: Slot<any> | undefined;
|
|
3700
3742
|
}>;
|
|
3701
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3743
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
3702
3744
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3703
|
-
$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);
|
|
3745
|
+
$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); /** 包装后的请求函数 */
|
|
3704
3746
|
$el: any;
|
|
3705
3747
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3706
3748
|
data: {
|
|
@@ -3717,9 +3759,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3717
3759
|
headerCellStyle: {
|
|
3718
3760
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
3719
3761
|
row: any[];
|
|
3720
|
-
/**
|
|
3721
|
-
* 获取全局配置
|
|
3722
|
-
*/
|
|
3723
3762
|
rowIndex: number;
|
|
3724
3763
|
column: TableColumnCtx<any[]>;
|
|
3725
3764
|
columnIndex: number;
|
|
@@ -3863,9 +3902,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3863
3902
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3864
3903
|
__epPropKey: true;
|
|
3865
3904
|
};
|
|
3866
|
-
width: (
|
|
3867
|
-
height: (
|
|
3868
|
-
maxHeight: (
|
|
3905
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3906
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3907
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3869
3908
|
fit: {
|
|
3870
3909
|
type: BooleanConstructor;
|
|
3871
3910
|
default: boolean;
|
|
@@ -3889,13 +3928,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3889
3928
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3890
3929
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3891
3930
|
highlightCurrentRow: BooleanConstructor;
|
|
3892
|
-
currentRowKey: (
|
|
3931
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3893
3932
|
emptyText: StringConstructor;
|
|
3894
3933
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3895
3934
|
defaultExpandAll: BooleanConstructor;
|
|
3896
3935
|
defaultSort: PropType< Sort | undefined>;
|
|
3897
3936
|
tooltipEffect: StringConstructor;
|
|
3898
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3937
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3899
3938
|
spanMethod: PropType<((data: {
|
|
3900
3939
|
row: any;
|
|
3901
3940
|
rowIndex: number;
|
|
@@ -3939,7 +3978,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3939
3978
|
};
|
|
3940
3979
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3941
3980
|
flexible: BooleanConstructor;
|
|
3942
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3981
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3943
3982
|
}>> & {
|
|
3944
3983
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3945
3984
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4059,9 +4098,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4059
4098
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4060
4099
|
__epPropKey: true;
|
|
4061
4100
|
};
|
|
4062
|
-
width: (
|
|
4063
|
-
height: (
|
|
4064
|
-
maxHeight: (
|
|
4101
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4102
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4103
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4065
4104
|
fit: {
|
|
4066
4105
|
type: BooleanConstructor;
|
|
4067
4106
|
default: boolean;
|
|
@@ -4085,13 +4124,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4085
4124
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4086
4125
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4087
4126
|
highlightCurrentRow: BooleanConstructor;
|
|
4088
|
-
currentRowKey: (
|
|
4127
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4089
4128
|
emptyText: StringConstructor;
|
|
4090
4129
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4091
4130
|
defaultExpandAll: BooleanConstructor;
|
|
4092
4131
|
defaultSort: PropType< Sort | undefined>;
|
|
4093
4132
|
tooltipEffect: StringConstructor;
|
|
4094
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4133
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4095
4134
|
spanMethod: PropType<((data: {
|
|
4096
4135
|
row: any;
|
|
4097
4136
|
rowIndex: number;
|
|
@@ -4135,7 +4174,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4135
4174
|
};
|
|
4136
4175
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4137
4176
|
flexible: BooleanConstructor;
|
|
4138
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4177
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4139
4178
|
}>> & {
|
|
4140
4179
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4141
4180
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4194,9 +4233,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4194
4233
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4195
4234
|
__epPropKey: true;
|
|
4196
4235
|
};
|
|
4197
|
-
width: (
|
|
4198
|
-
height: (
|
|
4199
|
-
maxHeight: (
|
|
4236
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4237
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4238
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4200
4239
|
fit: {
|
|
4201
4240
|
type: BooleanConstructor;
|
|
4202
4241
|
default: boolean;
|
|
@@ -4220,13 +4259,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4220
4259
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4221
4260
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4222
4261
|
highlightCurrentRow: BooleanConstructor;
|
|
4223
|
-
currentRowKey: (
|
|
4262
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4224
4263
|
emptyText: StringConstructor;
|
|
4225
4264
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4226
4265
|
defaultExpandAll: BooleanConstructor;
|
|
4227
4266
|
defaultSort: PropType< Sort | undefined>;
|
|
4228
4267
|
tooltipEffect: StringConstructor;
|
|
4229
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4268
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4230
4269
|
spanMethod: PropType<((data: {
|
|
4231
4270
|
row: any;
|
|
4232
4271
|
rowIndex: number;
|
|
@@ -4270,7 +4309,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4270
4309
|
};
|
|
4271
4310
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4272
4311
|
flexible: BooleanConstructor;
|
|
4273
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4312
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4274
4313
|
}>> & {
|
|
4275
4314
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4276
4315
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4418,9 +4457,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4418
4457
|
columns: PlusColumn[];
|
|
4419
4458
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
4420
4459
|
row: any[];
|
|
4421
|
-
/**
|
|
4422
|
-
* 获取全局配置
|
|
4423
|
-
*/
|
|
4424
4460
|
rowIndex: number;
|
|
4425
4461
|
column: TableColumnCtx<any[]>;
|
|
4426
4462
|
columnIndex: number;
|
|
@@ -4497,9 +4533,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4497
4533
|
headerCellStyle: {
|
|
4498
4534
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
4499
4535
|
row: any[];
|
|
4500
|
-
/**
|
|
4501
|
-
* 获取全局配置
|
|
4502
|
-
*/
|
|
4503
4536
|
rowIndex: number;
|
|
4504
4537
|
column: TableColumnCtx<any[]>;
|
|
4505
4538
|
columnIndex: number;
|
|
@@ -4643,9 +4676,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4643
4676
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4644
4677
|
__epPropKey: true;
|
|
4645
4678
|
};
|
|
4646
|
-
width: (
|
|
4647
|
-
height: (
|
|
4648
|
-
maxHeight: (
|
|
4679
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4680
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4681
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4649
4682
|
fit: {
|
|
4650
4683
|
type: BooleanConstructor;
|
|
4651
4684
|
default: boolean;
|
|
@@ -4669,13 +4702,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4669
4702
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4670
4703
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4671
4704
|
highlightCurrentRow: BooleanConstructor;
|
|
4672
|
-
currentRowKey: (
|
|
4705
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4673
4706
|
emptyText: StringConstructor;
|
|
4674
4707
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4675
4708
|
defaultExpandAll: BooleanConstructor;
|
|
4676
4709
|
defaultSort: PropType< Sort | undefined>;
|
|
4677
4710
|
tooltipEffect: StringConstructor;
|
|
4678
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4711
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4679
4712
|
spanMethod: PropType<((data: {
|
|
4680
4713
|
row: any;
|
|
4681
4714
|
rowIndex: number;
|
|
@@ -4719,7 +4752,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4719
4752
|
};
|
|
4720
4753
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4721
4754
|
flexible: BooleanConstructor;
|
|
4722
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4755
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4723
4756
|
}>> & {
|
|
4724
4757
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4725
4758
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4839,9 +4872,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4839
4872
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4840
4873
|
__epPropKey: true;
|
|
4841
4874
|
};
|
|
4842
|
-
width: (
|
|
4843
|
-
height: (
|
|
4844
|
-
maxHeight: (
|
|
4875
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4876
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4877
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4845
4878
|
fit: {
|
|
4846
4879
|
type: BooleanConstructor;
|
|
4847
4880
|
default: boolean;
|
|
@@ -4865,13 +4898,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4865
4898
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4866
4899
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4867
4900
|
highlightCurrentRow: BooleanConstructor;
|
|
4868
|
-
currentRowKey: (
|
|
4901
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4869
4902
|
emptyText: StringConstructor;
|
|
4870
4903
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4871
4904
|
defaultExpandAll: BooleanConstructor;
|
|
4872
4905
|
defaultSort: PropType< Sort | undefined>;
|
|
4873
4906
|
tooltipEffect: StringConstructor;
|
|
4874
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4907
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4875
4908
|
spanMethod: PropType<((data: {
|
|
4876
4909
|
row: any;
|
|
4877
4910
|
rowIndex: number;
|
|
@@ -4915,7 +4948,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4915
4948
|
};
|
|
4916
4949
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4917
4950
|
flexible: BooleanConstructor;
|
|
4918
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4951
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4919
4952
|
}>> & {
|
|
4920
4953
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4921
4954
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4974,9 +5007,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4974
5007
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4975
5008
|
__epPropKey: true;
|
|
4976
5009
|
};
|
|
4977
|
-
width: (
|
|
4978
|
-
height: (
|
|
4979
|
-
maxHeight: (
|
|
5010
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
5011
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
5012
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4980
5013
|
fit: {
|
|
4981
5014
|
type: BooleanConstructor;
|
|
4982
5015
|
default: boolean;
|
|
@@ -5000,13 +5033,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5000
5033
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
5001
5034
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
5002
5035
|
highlightCurrentRow: BooleanConstructor;
|
|
5003
|
-
currentRowKey: (
|
|
5036
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
5004
5037
|
emptyText: StringConstructor;
|
|
5005
5038
|
expandRowKeys: PropType<any[] | undefined>;
|
|
5006
5039
|
defaultExpandAll: BooleanConstructor;
|
|
5007
5040
|
defaultSort: PropType< Sort | undefined>;
|
|
5008
5041
|
tooltipEffect: StringConstructor;
|
|
5009
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
5042
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
5010
5043
|
spanMethod: PropType<((data: {
|
|
5011
5044
|
row: any;
|
|
5012
5045
|
rowIndex: number;
|
|
@@ -5050,7 +5083,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5050
5083
|
};
|
|
5051
5084
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
5052
5085
|
flexible: BooleanConstructor;
|
|
5053
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
5086
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
5054
5087
|
}>> & {
|
|
5055
5088
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
5056
5089
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5221,7 +5254,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5221
5254
|
requestError: (error: unknown) => void;
|
|
5222
5255
|
requestComplete: (tableData: RecordType[]) => void;
|
|
5223
5256
|
}, string, {
|
|
5224
|
-
search: false | Partial<
|
|
5257
|
+
search: false | Partial<PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
5225
5258
|
style?: CSSProperties | undefined;
|
|
5226
5259
|
class?: any;
|
|
5227
5260
|
} & RecordType>;
|
|
@@ -5232,7 +5265,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5232
5265
|
columns: PlusColumn[];
|
|
5233
5266
|
immediate: boolean;
|
|
5234
5267
|
params: RecordType;
|
|
5235
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
5268
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5236
5269
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
5237
5270
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
5238
5271
|
isCard: boolean;
|
|
@@ -5274,7 +5307,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5274
5307
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
5275
5308
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
5276
5309
|
search: {
|
|
5277
|
-
type: PropType<false | Partial<
|
|
5310
|
+
type: PropType<false | Partial<PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
5278
5311
|
style?: CSSProperties | undefined;
|
|
5279
5312
|
class?: any;
|
|
5280
5313
|
} & RecordType>>;
|
|
@@ -5308,7 +5341,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5308
5341
|
required: true;
|
|
5309
5342
|
};
|
|
5310
5343
|
pagination: {
|
|
5311
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
5344
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
5312
5345
|
default: () => {};
|
|
5313
5346
|
};
|
|
5314
5347
|
postData: {
|
|
@@ -5377,8 +5410,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5377
5410
|
$: ComponentInternalInstance;
|
|
5378
5411
|
$data: {};
|
|
5379
5412
|
$props: Partial<{
|
|
5380
|
-
modelValue: FieldValues;
|
|
5381
5413
|
columns: PlusColumn[];
|
|
5414
|
+
modelValue: FieldValues;
|
|
5382
5415
|
labelPosition: "top" | "right" | "left";
|
|
5383
5416
|
inline: boolean;
|
|
5384
5417
|
showNumber: number;
|
|
@@ -5401,9 +5434,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5401
5434
|
expandText: string;
|
|
5402
5435
|
searchLoading: boolean;
|
|
5403
5436
|
needValidate: boolean;
|
|
5437
|
+
searchIcon: Component | null;
|
|
5438
|
+
resetIcon: Component | null;
|
|
5404
5439
|
}> & Omit<{
|
|
5405
|
-
readonly modelValue: FieldValues;
|
|
5406
5440
|
readonly columns: PlusColumn[];
|
|
5441
|
+
readonly modelValue: FieldValues;
|
|
5407
5442
|
readonly inline: boolean;
|
|
5408
5443
|
readonly showNumber: number;
|
|
5409
5444
|
readonly defaultValues: FieldValues;
|
|
@@ -5426,20 +5461,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5426
5461
|
readonly searchLoading: boolean;
|
|
5427
5462
|
readonly needValidate: boolean;
|
|
5428
5463
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
5429
|
-
|
|
5464
|
+
readonly searchIcon?: Component | null | undefined;
|
|
5465
|
+
readonly resetIcon?: Component | null | undefined;
|
|
5430
5466
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5431
5467
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5468
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5432
5469
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
5433
5470
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
5434
5471
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5435
|
-
modelValue: {
|
|
5436
|
-
type: PropType<FieldValues>;
|
|
5437
|
-
default: () => {};
|
|
5438
|
-
};
|
|
5439
5472
|
columns: {
|
|
5440
5473
|
type: PropType<PlusColumn[]>;
|
|
5441
5474
|
default: () => never[];
|
|
5442
5475
|
};
|
|
5476
|
+
modelValue: {
|
|
5477
|
+
type: PropType<FieldValues>;
|
|
5478
|
+
default: () => {};
|
|
5479
|
+
};
|
|
5443
5480
|
labelPosition: {
|
|
5444
5481
|
type: PropType<"top" | "right" | "left">;
|
|
5445
5482
|
default: undefined;
|
|
@@ -5518,13 +5555,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5518
5555
|
type: PropType<boolean>;
|
|
5519
5556
|
default: boolean;
|
|
5520
5557
|
};
|
|
5558
|
+
searchIcon: {
|
|
5559
|
+
type: PropType< Component | null>;
|
|
5560
|
+
default: undefined;
|
|
5561
|
+
};
|
|
5562
|
+
resetIcon: {
|
|
5563
|
+
type: PropType< Component | null>;
|
|
5564
|
+
default: undefined;
|
|
5565
|
+
};
|
|
5521
5566
|
}>> & {
|
|
5522
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5523
5567
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5524
5568
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5569
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5525
5570
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
5526
5571
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
5527
|
-
}, "
|
|
5572
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
5528
5573
|
$attrs: {
|
|
5529
5574
|
[x: string]: unknown;
|
|
5530
5575
|
};
|
|
@@ -5534,19 +5579,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5534
5579
|
$slots: Readonly<{
|
|
5535
5580
|
[name: string]: Slot<any> | undefined;
|
|
5536
5581
|
}>;
|
|
5537
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5582
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
5538
5583
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5539
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
5584
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void); /** 包装后的请求函数 */
|
|
5540
5585
|
$el: any;
|
|
5541
5586
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5542
|
-
modelValue: {
|
|
5543
|
-
type: PropType<FieldValues>;
|
|
5544
|
-
default: () => {};
|
|
5545
|
-
};
|
|
5546
5587
|
columns: {
|
|
5547
5588
|
type: PropType<PlusColumn[]>;
|
|
5548
5589
|
default: () => never[];
|
|
5549
5590
|
};
|
|
5591
|
+
modelValue: {
|
|
5592
|
+
type: PropType<FieldValues>;
|
|
5593
|
+
default: () => {};
|
|
5594
|
+
};
|
|
5550
5595
|
labelPosition: {
|
|
5551
5596
|
type: PropType<"top" | "right" | "left">;
|
|
5552
5597
|
default: undefined;
|
|
@@ -5625,10 +5670,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5625
5670
|
type: PropType<boolean>;
|
|
5626
5671
|
default: boolean;
|
|
5627
5672
|
};
|
|
5673
|
+
searchIcon: {
|
|
5674
|
+
type: PropType< Component | null>;
|
|
5675
|
+
default: undefined;
|
|
5676
|
+
};
|
|
5677
|
+
resetIcon: {
|
|
5678
|
+
type: PropType< Component | null>;
|
|
5679
|
+
default: undefined;
|
|
5680
|
+
};
|
|
5628
5681
|
}>> & {
|
|
5629
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5630
5682
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5631
5683
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5684
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5632
5685
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
5633
5686
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
5634
5687
|
}, {
|
|
@@ -5636,11 +5689,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5636
5689
|
$: ComponentInternalInstance;
|
|
5637
5690
|
$data: {};
|
|
5638
5691
|
$props: Partial<{
|
|
5639
|
-
modelValue: FieldValues;
|
|
5640
5692
|
collapseDuration: number;
|
|
5641
5693
|
collapseTransition: boolean;
|
|
5642
5694
|
columns: PlusColumn[];
|
|
5643
5695
|
group: false | PlusFormGroupRow[];
|
|
5696
|
+
modelValue: FieldValues;
|
|
5644
5697
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5645
5698
|
labelPosition: "top" | "right" | "left";
|
|
5646
5699
|
labelWidth: string | number;
|
|
@@ -5661,7 +5714,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5661
5714
|
submitText: string;
|
|
5662
5715
|
resetText: string;
|
|
5663
5716
|
submitLoading: boolean;
|
|
5664
|
-
footerAlign: "
|
|
5717
|
+
footerAlign: "right" | "left" | "center";
|
|
5665
5718
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5666
5719
|
style?: CSSProperties | undefined;
|
|
5667
5720
|
class?: any;
|
|
@@ -5669,9 +5722,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5669
5722
|
prevent: boolean;
|
|
5670
5723
|
clearable: boolean;
|
|
5671
5724
|
}> & Omit<{
|
|
5672
|
-
readonly modelValue: FieldValues;
|
|
5673
5725
|
readonly columns: PlusColumn[];
|
|
5674
5726
|
readonly group: false | PlusFormGroupRow[];
|
|
5727
|
+
readonly modelValue: FieldValues;
|
|
5675
5728
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5676
5729
|
readonly labelPosition: "top" | "right" | "left";
|
|
5677
5730
|
readonly labelWidth: string | number;
|
|
@@ -5692,7 +5745,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5692
5745
|
readonly submitText: string;
|
|
5693
5746
|
readonly resetText: string;
|
|
5694
5747
|
readonly submitLoading: boolean;
|
|
5695
|
-
readonly footerAlign: "
|
|
5748
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
5696
5749
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5697
5750
|
style?: CSSProperties | undefined;
|
|
5698
5751
|
class?: any;
|
|
@@ -5701,17 +5754,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5701
5754
|
readonly clearable: boolean;
|
|
5702
5755
|
readonly collapseDuration?: number | undefined;
|
|
5703
5756
|
readonly collapseTransition?: boolean | undefined;
|
|
5704
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5705
5757
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5706
5758
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5707
5759
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5760
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5708
5761
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5709
5762
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5710
5763
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5711
|
-
modelValue: {
|
|
5712
|
-
type: PropType<FieldValues>;
|
|
5713
|
-
default: () => {};
|
|
5714
|
-
};
|
|
5715
5764
|
collapseDuration: {
|
|
5716
5765
|
type: PropType<number>;
|
|
5717
5766
|
default: undefined;
|
|
@@ -5728,6 +5777,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5728
5777
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
5729
5778
|
default: boolean;
|
|
5730
5779
|
};
|
|
5780
|
+
modelValue: {
|
|
5781
|
+
type: PropType<FieldValues>;
|
|
5782
|
+
default: () => {};
|
|
5783
|
+
};
|
|
5731
5784
|
rules: {
|
|
5732
5785
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5733
5786
|
default: () => {};
|
|
@@ -5791,7 +5844,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5791
5844
|
default: boolean;
|
|
5792
5845
|
};
|
|
5793
5846
|
footerAlign: {
|
|
5794
|
-
type: PropType<"
|
|
5847
|
+
type: PropType<"right" | "left" | "center">;
|
|
5795
5848
|
default: string;
|
|
5796
5849
|
};
|
|
5797
5850
|
cardProps: {
|
|
@@ -5810,13 +5863,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5810
5863
|
default: boolean;
|
|
5811
5864
|
};
|
|
5812
5865
|
}>> & {
|
|
5813
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5814
5866
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5815
5867
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5816
5868
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5869
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5817
5870
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5818
5871
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5819
|
-
}, "
|
|
5872
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
5820
5873
|
$attrs: {
|
|
5821
5874
|
[x: string]: unknown;
|
|
5822
5875
|
};
|
|
@@ -5826,15 +5879,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5826
5879
|
$slots: Readonly<{
|
|
5827
5880
|
[name: string]: Slot<any> | undefined;
|
|
5828
5881
|
}>;
|
|
5829
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5882
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
5830
5883
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5831
|
-
$emit: ((event: "
|
|
5884
|
+
$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); /** 包装后的请求函数 */
|
|
5832
5885
|
$el: any;
|
|
5833
5886
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5834
|
-
modelValue: {
|
|
5835
|
-
type: PropType<FieldValues>;
|
|
5836
|
-
default: () => {};
|
|
5837
|
-
};
|
|
5838
5887
|
collapseDuration: {
|
|
5839
5888
|
type: PropType<number>;
|
|
5840
5889
|
default: undefined;
|
|
@@ -5851,6 +5900,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5851
5900
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
5852
5901
|
default: boolean;
|
|
5853
5902
|
};
|
|
5903
|
+
modelValue: {
|
|
5904
|
+
type: PropType<FieldValues>;
|
|
5905
|
+
default: () => {};
|
|
5906
|
+
};
|
|
5854
5907
|
rules: {
|
|
5855
5908
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5856
5909
|
default: () => {};
|
|
@@ -5914,7 +5967,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5914
5967
|
default: boolean;
|
|
5915
5968
|
};
|
|
5916
5969
|
footerAlign: {
|
|
5917
|
-
type: PropType<"
|
|
5970
|
+
type: PropType<"right" | "left" | "center">;
|
|
5918
5971
|
default: string;
|
|
5919
5972
|
};
|
|
5920
5973
|
cardProps: {
|
|
@@ -5933,10 +5986,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5933
5986
|
default: boolean;
|
|
5934
5987
|
};
|
|
5935
5988
|
}>> & {
|
|
5936
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5937
5989
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5938
5990
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5939
5991
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5992
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5940
5993
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5941
5994
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5942
5995
|
}, {
|
|
@@ -6030,11 +6083,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6030
6083
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
6031
6084
|
cssVarName: (name: string) => string;
|
|
6032
6085
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
6033
|
-
/**
|
|
6034
|
-
* 根据筛选项数量计算 span 值
|
|
6035
|
-
* @param count 筛选项数量
|
|
6036
|
-
* @returns span 值
|
|
6037
|
-
*/
|
|
6038
6086
|
cssVarBlockName: (name: string) => string;
|
|
6039
6087
|
};
|
|
6040
6088
|
formClasses: ComputedRef<(string | {
|
|
@@ -6197,11 +6245,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6197
6245
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
6198
6246
|
cssVarName: (name: string) => string;
|
|
6199
6247
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
6200
|
-
/**
|
|
6201
|
-
* 根据筛选项数量计算 span 值
|
|
6202
|
-
* @param count 筛选项数量
|
|
6203
|
-
* @returns span 值
|
|
6204
|
-
*/
|
|
6205
6248
|
cssVarBlockName: (name: string) => string;
|
|
6206
6249
|
};
|
|
6207
6250
|
formClasses: ComputedRef<(string | {
|
|
@@ -6242,11 +6285,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6242
6285
|
submitError: (errors: unknown) => void;
|
|
6243
6286
|
validate: (...args: any[]) => void;
|
|
6244
6287
|
}, string, {
|
|
6245
|
-
modelValue: FieldValues;
|
|
6246
6288
|
collapseDuration: number;
|
|
6247
6289
|
collapseTransition: boolean;
|
|
6248
6290
|
columns: PlusColumn[];
|
|
6249
6291
|
group: false | PlusFormGroupRow[];
|
|
6292
|
+
modelValue: FieldValues;
|
|
6250
6293
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
6251
6294
|
labelPosition: "top" | "right" | "left";
|
|
6252
6295
|
labelWidth: string | number;
|
|
@@ -6267,7 +6310,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6267
6310
|
submitText: string;
|
|
6268
6311
|
resetText: string;
|
|
6269
6312
|
submitLoading: boolean;
|
|
6270
|
-
footerAlign: "
|
|
6313
|
+
footerAlign: "right" | "left" | "center";
|
|
6271
6314
|
cardProps: Partial< Mutable<CardProps> & {
|
|
6272
6315
|
style?: CSSProperties | undefined;
|
|
6273
6316
|
class?: any;
|
|
@@ -6295,10 +6338,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6295
6338
|
$nextTick: typeof nextTick;
|
|
6296
6339
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
6297
6340
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
6298
|
-
modelValue: {
|
|
6299
|
-
type: PropType<FieldValues>;
|
|
6300
|
-
default: () => {};
|
|
6301
|
-
};
|
|
6302
6341
|
collapseDuration: {
|
|
6303
6342
|
type: PropType<number>;
|
|
6304
6343
|
default: undefined;
|
|
@@ -6315,6 +6354,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6315
6354
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
6316
6355
|
default: boolean;
|
|
6317
6356
|
};
|
|
6357
|
+
modelValue: {
|
|
6358
|
+
type: PropType<FieldValues>;
|
|
6359
|
+
default: () => {};
|
|
6360
|
+
};
|
|
6318
6361
|
rules: {
|
|
6319
6362
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
6320
6363
|
default: () => {};
|
|
@@ -6378,7 +6421,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6378
6421
|
default: boolean;
|
|
6379
6422
|
};
|
|
6380
6423
|
footerAlign: {
|
|
6381
|
-
type: PropType<"
|
|
6424
|
+
type: PropType<"right" | "left" | "center">;
|
|
6382
6425
|
default: string;
|
|
6383
6426
|
};
|
|
6384
6427
|
cardProps: {
|
|
@@ -6397,10 +6440,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6397
6440
|
default: boolean;
|
|
6398
6441
|
};
|
|
6399
6442
|
}>> & {
|
|
6400
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6401
6443
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
6402
6444
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
6403
6445
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
6446
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6404
6447
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
6405
6448
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
6406
6449
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -6494,11 +6537,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6494
6537
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
6495
6538
|
cssVarName: (name: string) => string;
|
|
6496
6539
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
6497
|
-
/**
|
|
6498
|
-
* 根据筛选项数量计算 span 值
|
|
6499
|
-
* @param count 筛选项数量
|
|
6500
|
-
* @returns span 值
|
|
6501
|
-
*/
|
|
6502
6540
|
cssVarBlockName: (name: string) => string;
|
|
6503
6541
|
};
|
|
6504
6542
|
formClasses: ComputedRef<(string | {
|
|
@@ -6661,11 +6699,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6661
6699
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
6662
6700
|
cssVarName: (name: string) => string;
|
|
6663
6701
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
6664
|
-
/**
|
|
6665
|
-
* 根据筛选项数量计算 span 值
|
|
6666
|
-
* @param count 筛选项数量
|
|
6667
|
-
* @returns span 值
|
|
6668
|
-
*/
|
|
6669
6702
|
cssVarBlockName: (name: string) => string;
|
|
6670
6703
|
};
|
|
6671
6704
|
formClasses: ComputedRef<(string | {
|
|
@@ -6711,14 +6744,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6711
6744
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
6712
6745
|
columns?: PlusColumn[] | undefined;
|
|
6713
6746
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
6714
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
6747
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
6715
6748
|
readonly label: string | ComputedRef<string>;
|
|
6716
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
6749
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6717
6750
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6718
|
-
readonly tooltip: string |
|
|
6751
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6719
6752
|
style?: CSSProperties | undefined;
|
|
6720
6753
|
class?: any;
|
|
6721
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6754
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6722
6755
|
style?: CSSProperties | undefined;
|
|
6723
6756
|
class?: any;
|
|
6724
6757
|
} & RecordType>>;
|
|
@@ -6740,7 +6773,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6740
6773
|
};
|
|
6741
6774
|
rows: number;
|
|
6742
6775
|
autocomplete: string;
|
|
6743
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
6776
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
6744
6777
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
6745
6778
|
step: string | number;
|
|
6746
6779
|
format: string | ProgressFn | undefined;
|
|
@@ -6767,6 +6800,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6767
6800
|
label?: string | undefined;
|
|
6768
6801
|
value?: string | undefined;
|
|
6769
6802
|
} | undefined;
|
|
6803
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
6804
|
+
store?: any;
|
|
6805
|
+
method?: string | undefined;
|
|
6806
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
6807
|
+
dictCode?: string | undefined;
|
|
6808
|
+
} | undefined;
|
|
6770
6809
|
readonly clearable: boolean;
|
|
6771
6810
|
readonly index: number;
|
|
6772
6811
|
} & {
|
|
@@ -6779,12 +6818,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6779
6818
|
fieldInstance?: any;
|
|
6780
6819
|
valueIsReady?: Ref<boolean> | undefined;
|
|
6781
6820
|
prop: string;
|
|
6782
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
6821
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6783
6822
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6784
|
-
tooltip: string |
|
|
6823
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6785
6824
|
style?: CSSProperties | undefined;
|
|
6786
6825
|
class?: any;
|
|
6787
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6826
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6788
6827
|
style?: CSSProperties | undefined;
|
|
6789
6828
|
class?: any;
|
|
6790
6829
|
} & RecordType>>;
|
|
@@ -6804,17 +6843,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6804
6843
|
label?: string | undefined;
|
|
6805
6844
|
value?: string | undefined;
|
|
6806
6845
|
} | undefined;
|
|
6846
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
6847
|
+
store?: any;
|
|
6848
|
+
method?: string | undefined;
|
|
6849
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
6850
|
+
dictCode?: string | undefined;
|
|
6851
|
+
} | undefined;
|
|
6807
6852
|
clearable: boolean;
|
|
6808
6853
|
index: number;
|
|
6809
6854
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
6810
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
6855
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
6811
6856
|
readonly label: string | ComputedRef<string>;
|
|
6812
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
6857
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6813
6858
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6814
|
-
readonly tooltip: string |
|
|
6859
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6815
6860
|
style?: CSSProperties | undefined;
|
|
6816
6861
|
class?: any;
|
|
6817
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6862
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6818
6863
|
style?: CSSProperties | undefined;
|
|
6819
6864
|
class?: any;
|
|
6820
6865
|
} & RecordType>>;
|
|
@@ -6836,7 +6881,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6836
6881
|
};
|
|
6837
6882
|
rows: number;
|
|
6838
6883
|
autocomplete: string;
|
|
6839
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
6884
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
6840
6885
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
6841
6886
|
step: string | number;
|
|
6842
6887
|
format: string | ProgressFn | undefined;
|
|
@@ -6863,6 +6908,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6863
6908
|
label?: string | undefined;
|
|
6864
6909
|
value?: string | undefined;
|
|
6865
6910
|
} | undefined;
|
|
6911
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
6912
|
+
store?: any;
|
|
6913
|
+
method?: string | undefined;
|
|
6914
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
6915
|
+
dictCode?: string | undefined;
|
|
6916
|
+
} | undefined;
|
|
6866
6917
|
readonly clearable: boolean;
|
|
6867
6918
|
readonly index: number;
|
|
6868
6919
|
} & {
|
|
@@ -6875,12 +6926,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6875
6926
|
fieldInstance?: any;
|
|
6876
6927
|
valueIsReady?: Ref<boolean> | undefined;
|
|
6877
6928
|
prop: string;
|
|
6878
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
6929
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6879
6930
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6880
|
-
tooltip: string |
|
|
6931
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6881
6932
|
style?: CSSProperties | undefined;
|
|
6882
6933
|
class?: any;
|
|
6883
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6934
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6884
6935
|
style?: CSSProperties | undefined;
|
|
6885
6936
|
class?: any;
|
|
6886
6937
|
} & RecordType>>;
|
|
@@ -6900,6 +6951,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6900
6951
|
label?: string | undefined;
|
|
6901
6952
|
value?: string | undefined;
|
|
6902
6953
|
} | undefined;
|
|
6954
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
6955
|
+
store?: any;
|
|
6956
|
+
method?: string | undefined;
|
|
6957
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
6958
|
+
dictCode?: string | undefined;
|
|
6959
|
+
} | undefined;
|
|
6903
6960
|
clearable: boolean;
|
|
6904
6961
|
index: number;
|
|
6905
6962
|
}) => any>> & {
|
|
@@ -6926,8 +6983,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6926
6983
|
reset: (values: FieldValues) => void;
|
|
6927
6984
|
collapse: (isShowUnfold: boolean) => void;
|
|
6928
6985
|
}, string, {
|
|
6929
|
-
modelValue: FieldValues;
|
|
6930
6986
|
columns: PlusColumn[];
|
|
6987
|
+
modelValue: FieldValues;
|
|
6931
6988
|
labelPosition: "top" | "right" | "left";
|
|
6932
6989
|
inline: boolean;
|
|
6933
6990
|
showNumber: number;
|
|
@@ -6950,6 +7007,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6950
7007
|
expandText: string;
|
|
6951
7008
|
searchLoading: boolean;
|
|
6952
7009
|
needValidate: boolean;
|
|
7010
|
+
searchIcon: Component | null;
|
|
7011
|
+
resetIcon: Component | null;
|
|
6953
7012
|
}, {}, string, {}> & {
|
|
6954
7013
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
6955
7014
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -6971,14 +7030,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6971
7030
|
$nextTick: typeof nextTick;
|
|
6972
7031
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
6973
7032
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
6974
|
-
modelValue: {
|
|
6975
|
-
type: PropType<FieldValues>;
|
|
6976
|
-
default: () => {};
|
|
6977
|
-
};
|
|
6978
7033
|
columns: {
|
|
6979
7034
|
type: PropType<PlusColumn[]>;
|
|
6980
7035
|
default: () => never[];
|
|
6981
7036
|
};
|
|
7037
|
+
modelValue: {
|
|
7038
|
+
type: PropType<FieldValues>;
|
|
7039
|
+
default: () => {};
|
|
7040
|
+
};
|
|
6982
7041
|
labelPosition: {
|
|
6983
7042
|
type: PropType<"top" | "right" | "left">;
|
|
6984
7043
|
default: undefined;
|
|
@@ -7057,10 +7116,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7057
7116
|
type: PropType<boolean>;
|
|
7058
7117
|
default: boolean;
|
|
7059
7118
|
};
|
|
7119
|
+
searchIcon: {
|
|
7120
|
+
type: PropType< Component | null>;
|
|
7121
|
+
default: undefined;
|
|
7122
|
+
};
|
|
7123
|
+
resetIcon: {
|
|
7124
|
+
type: PropType< Component | null>;
|
|
7125
|
+
default: undefined;
|
|
7126
|
+
};
|
|
7060
7127
|
}>> & {
|
|
7061
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7062
7128
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7063
7129
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
7130
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7064
7131
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
7065
7132
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
7066
7133
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -7068,11 +7135,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7068
7135
|
$: ComponentInternalInstance;
|
|
7069
7136
|
$data: {};
|
|
7070
7137
|
$props: Partial<{
|
|
7071
|
-
modelValue: FieldValues;
|
|
7072
7138
|
collapseDuration: number;
|
|
7073
7139
|
collapseTransition: boolean;
|
|
7074
7140
|
columns: PlusColumn[];
|
|
7075
7141
|
group: false | PlusFormGroupRow[];
|
|
7142
|
+
modelValue: FieldValues;
|
|
7076
7143
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
7077
7144
|
labelPosition: "top" | "right" | "left";
|
|
7078
7145
|
labelWidth: string | number;
|
|
@@ -7093,7 +7160,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7093
7160
|
submitText: string;
|
|
7094
7161
|
resetText: string;
|
|
7095
7162
|
submitLoading: boolean;
|
|
7096
|
-
footerAlign: "
|
|
7163
|
+
footerAlign: "right" | "left" | "center";
|
|
7097
7164
|
cardProps: Partial< Mutable<CardProps> & {
|
|
7098
7165
|
style?: CSSProperties | undefined;
|
|
7099
7166
|
class?: any;
|
|
@@ -7101,9 +7168,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7101
7168
|
prevent: boolean;
|
|
7102
7169
|
clearable: boolean;
|
|
7103
7170
|
}> & Omit<{
|
|
7104
|
-
readonly modelValue: FieldValues;
|
|
7105
7171
|
readonly columns: PlusColumn[];
|
|
7106
7172
|
readonly group: false | PlusFormGroupRow[];
|
|
7173
|
+
readonly modelValue: FieldValues;
|
|
7107
7174
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
7108
7175
|
readonly labelPosition: "top" | "right" | "left";
|
|
7109
7176
|
readonly labelWidth: string | number;
|
|
@@ -7124,7 +7191,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7124
7191
|
readonly submitText: string;
|
|
7125
7192
|
readonly resetText: string;
|
|
7126
7193
|
readonly submitLoading: boolean;
|
|
7127
|
-
readonly footerAlign: "
|
|
7194
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
7128
7195
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
7129
7196
|
style?: CSSProperties | undefined;
|
|
7130
7197
|
class?: any;
|
|
@@ -7133,17 +7200,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7133
7200
|
readonly clearable: boolean;
|
|
7134
7201
|
readonly collapseDuration?: number | undefined;
|
|
7135
7202
|
readonly collapseTransition?: boolean | undefined;
|
|
7136
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7137
7203
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7138
7204
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
7139
7205
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
7206
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7140
7207
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
7141
7208
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
7142
7209
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
7143
|
-
modelValue: {
|
|
7144
|
-
type: PropType<FieldValues>;
|
|
7145
|
-
default: () => {};
|
|
7146
|
-
};
|
|
7147
7210
|
collapseDuration: {
|
|
7148
7211
|
type: PropType<number>;
|
|
7149
7212
|
default: undefined;
|
|
@@ -7160,6 +7223,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7160
7223
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
7161
7224
|
default: boolean;
|
|
7162
7225
|
};
|
|
7226
|
+
modelValue: {
|
|
7227
|
+
type: PropType<FieldValues>;
|
|
7228
|
+
default: () => {};
|
|
7229
|
+
};
|
|
7163
7230
|
rules: {
|
|
7164
7231
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
7165
7232
|
default: () => {};
|
|
@@ -7223,7 +7290,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7223
7290
|
default: boolean;
|
|
7224
7291
|
};
|
|
7225
7292
|
footerAlign: {
|
|
7226
|
-
type: PropType<"
|
|
7293
|
+
type: PropType<"right" | "left" | "center">;
|
|
7227
7294
|
default: string;
|
|
7228
7295
|
};
|
|
7229
7296
|
cardProps: {
|
|
@@ -7242,13 +7309,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7242
7309
|
default: boolean;
|
|
7243
7310
|
};
|
|
7244
7311
|
}>> & {
|
|
7245
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7246
7312
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7247
7313
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
7248
7314
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
7315
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7249
7316
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
7250
7317
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
7251
|
-
}, "
|
|
7318
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
7252
7319
|
$attrs: {
|
|
7253
7320
|
[x: string]: unknown;
|
|
7254
7321
|
};
|
|
@@ -7258,15 +7325,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7258
7325
|
$slots: Readonly<{
|
|
7259
7326
|
[name: string]: Slot<any> | undefined;
|
|
7260
7327
|
}>;
|
|
7261
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
7328
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
7262
7329
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
7263
|
-
$emit: ((event: "
|
|
7330
|
+
$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); /** 包装后的请求函数 */
|
|
7264
7331
|
$el: any;
|
|
7265
7332
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
7266
|
-
modelValue: {
|
|
7267
|
-
type: PropType<FieldValues>;
|
|
7268
|
-
default: () => {};
|
|
7269
|
-
};
|
|
7270
7333
|
collapseDuration: {
|
|
7271
7334
|
type: PropType<number>;
|
|
7272
7335
|
default: undefined;
|
|
@@ -7283,6 +7346,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7283
7346
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
7284
7347
|
default: boolean;
|
|
7285
7348
|
};
|
|
7349
|
+
modelValue: {
|
|
7350
|
+
type: PropType<FieldValues>;
|
|
7351
|
+
default: () => {};
|
|
7352
|
+
};
|
|
7286
7353
|
rules: {
|
|
7287
7354
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
7288
7355
|
default: () => {};
|
|
@@ -7346,7 +7413,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7346
7413
|
default: boolean;
|
|
7347
7414
|
};
|
|
7348
7415
|
footerAlign: {
|
|
7349
|
-
type: PropType<"
|
|
7416
|
+
type: PropType<"right" | "left" | "center">;
|
|
7350
7417
|
default: string;
|
|
7351
7418
|
};
|
|
7352
7419
|
cardProps: {
|
|
@@ -7365,10 +7432,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7365
7432
|
default: boolean;
|
|
7366
7433
|
};
|
|
7367
7434
|
}>> & {
|
|
7368
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7369
7435
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7370
7436
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
7371
7437
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
7438
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7372
7439
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
7373
7440
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
7374
7441
|
}, {
|
|
@@ -7462,11 +7529,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7462
7529
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
7463
7530
|
cssVarName: (name: string) => string;
|
|
7464
7531
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
7465
|
-
/**
|
|
7466
|
-
* 根据筛选项数量计算 span 值
|
|
7467
|
-
* @param count 筛选项数量
|
|
7468
|
-
* @returns span 值
|
|
7469
|
-
*/
|
|
7470
7532
|
cssVarBlockName: (name: string) => string;
|
|
7471
7533
|
};
|
|
7472
7534
|
formClasses: ComputedRef<(string | {
|
|
@@ -7629,11 +7691,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7629
7691
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
7630
7692
|
cssVarName: (name: string) => string;
|
|
7631
7693
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
7632
|
-
/**
|
|
7633
|
-
* 根据筛选项数量计算 span 值
|
|
7634
|
-
* @param count 筛选项数量
|
|
7635
|
-
* @returns span 值
|
|
7636
|
-
*/
|
|
7637
7694
|
cssVarBlockName: (name: string) => string;
|
|
7638
7695
|
};
|
|
7639
7696
|
formClasses: ComputedRef<(string | {
|
|
@@ -7674,11 +7731,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7674
7731
|
submitError: (errors: unknown) => void;
|
|
7675
7732
|
validate: (...args: any[]) => void;
|
|
7676
7733
|
}, string, {
|
|
7677
|
-
modelValue: FieldValues;
|
|
7678
7734
|
collapseDuration: number;
|
|
7679
7735
|
collapseTransition: boolean;
|
|
7680
7736
|
columns: PlusColumn[];
|
|
7681
7737
|
group: false | PlusFormGroupRow[];
|
|
7738
|
+
modelValue: FieldValues;
|
|
7682
7739
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
7683
7740
|
labelPosition: "top" | "right" | "left";
|
|
7684
7741
|
labelWidth: string | number;
|
|
@@ -7699,7 +7756,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7699
7756
|
submitText: string;
|
|
7700
7757
|
resetText: string;
|
|
7701
7758
|
submitLoading: boolean;
|
|
7702
|
-
footerAlign: "
|
|
7759
|
+
footerAlign: "right" | "left" | "center";
|
|
7703
7760
|
cardProps: Partial< Mutable<CardProps> & {
|
|
7704
7761
|
style?: CSSProperties | undefined;
|
|
7705
7762
|
class?: any;
|
|
@@ -7727,10 +7784,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7727
7784
|
$nextTick: typeof nextTick;
|
|
7728
7785
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
7729
7786
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
7730
|
-
modelValue: {
|
|
7731
|
-
type: PropType<FieldValues>;
|
|
7732
|
-
default: () => {};
|
|
7733
|
-
};
|
|
7734
7787
|
collapseDuration: {
|
|
7735
7788
|
type: PropType<number>;
|
|
7736
7789
|
default: undefined;
|
|
@@ -7747,6 +7800,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7747
7800
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
7748
7801
|
default: boolean;
|
|
7749
7802
|
};
|
|
7803
|
+
modelValue: {
|
|
7804
|
+
type: PropType<FieldValues>;
|
|
7805
|
+
default: () => {};
|
|
7806
|
+
};
|
|
7750
7807
|
rules: {
|
|
7751
7808
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
7752
7809
|
default: () => {};
|
|
@@ -7810,7 +7867,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7810
7867
|
default: boolean;
|
|
7811
7868
|
};
|
|
7812
7869
|
footerAlign: {
|
|
7813
|
-
type: PropType<"
|
|
7870
|
+
type: PropType<"right" | "left" | "center">;
|
|
7814
7871
|
default: string;
|
|
7815
7872
|
};
|
|
7816
7873
|
cardProps: {
|
|
@@ -7829,10 +7886,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7829
7886
|
default: boolean;
|
|
7830
7887
|
};
|
|
7831
7888
|
}>> & {
|
|
7832
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7833
7889
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7834
7890
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
7835
7891
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
7892
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7836
7893
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
7837
7894
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
7838
7895
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -7926,11 +7983,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7926
7983
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
7927
7984
|
cssVarName: (name: string) => string;
|
|
7928
7985
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
7929
|
-
/**
|
|
7930
|
-
* 根据筛选项数量计算 span 值
|
|
7931
|
-
* @param count 筛选项数量
|
|
7932
|
-
* @returns span 值
|
|
7933
|
-
*/
|
|
7934
7986
|
cssVarBlockName: (name: string) => string;
|
|
7935
7987
|
};
|
|
7936
7988
|
formClasses: ComputedRef<(string | {
|
|
@@ -8093,11 +8145,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8093
8145
|
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
8094
8146
|
cssVarName: (name: string) => string;
|
|
8095
8147
|
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
8096
|
-
/**
|
|
8097
|
-
* 根据筛选项数量计算 span 值
|
|
8098
|
-
* @param count 筛选项数量
|
|
8099
|
-
* @returns span 值
|
|
8100
|
-
*/
|
|
8101
8148
|
cssVarBlockName: (name: string) => string;
|
|
8102
8149
|
};
|
|
8103
8150
|
formClasses: ComputedRef<(string | {
|
|
@@ -8143,14 +8190,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8143
8190
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
8144
8191
|
columns?: PlusColumn[] | undefined;
|
|
8145
8192
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
8146
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
8193
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
8147
8194
|
readonly label: string | ComputedRef<string>;
|
|
8148
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
8195
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
8149
8196
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
8150
|
-
readonly tooltip: string |
|
|
8197
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
8151
8198
|
style?: CSSProperties | undefined;
|
|
8152
8199
|
class?: any;
|
|
8153
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8200
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8154
8201
|
style?: CSSProperties | undefined;
|
|
8155
8202
|
class?: any;
|
|
8156
8203
|
} & RecordType>>;
|
|
@@ -8172,7 +8219,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8172
8219
|
};
|
|
8173
8220
|
rows: number;
|
|
8174
8221
|
autocomplete: string;
|
|
8175
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
8222
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
8176
8223
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
8177
8224
|
step: string | number;
|
|
8178
8225
|
format: string | ProgressFn | undefined;
|
|
@@ -8199,6 +8246,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8199
8246
|
label?: string | undefined;
|
|
8200
8247
|
value?: string | undefined;
|
|
8201
8248
|
} | undefined;
|
|
8249
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
8250
|
+
store?: any;
|
|
8251
|
+
method?: string | undefined;
|
|
8252
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
8253
|
+
dictCode?: string | undefined;
|
|
8254
|
+
} | undefined;
|
|
8202
8255
|
readonly clearable: boolean;
|
|
8203
8256
|
readonly index: number;
|
|
8204
8257
|
} & {
|
|
@@ -8211,12 +8264,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8211
8264
|
fieldInstance?: any;
|
|
8212
8265
|
valueIsReady?: Ref<boolean> | undefined;
|
|
8213
8266
|
prop: string;
|
|
8214
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
8267
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
8215
8268
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
8216
|
-
tooltip: string |
|
|
8269
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
8217
8270
|
style?: CSSProperties | undefined;
|
|
8218
8271
|
class?: any;
|
|
8219
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8272
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8220
8273
|
style?: CSSProperties | undefined;
|
|
8221
8274
|
class?: any;
|
|
8222
8275
|
} & RecordType>>;
|
|
@@ -8236,17 +8289,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8236
8289
|
label?: string | undefined;
|
|
8237
8290
|
value?: string | undefined;
|
|
8238
8291
|
} | undefined;
|
|
8292
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
8293
|
+
store?: any;
|
|
8294
|
+
method?: string | undefined;
|
|
8295
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
8296
|
+
dictCode?: string | undefined;
|
|
8297
|
+
} | undefined;
|
|
8239
8298
|
clearable: boolean;
|
|
8240
8299
|
index: number;
|
|
8241
8300
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
8242
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
8301
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
8243
8302
|
readonly label: string | ComputedRef<string>;
|
|
8244
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
8303
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
8245
8304
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
8246
|
-
readonly tooltip: string |
|
|
8305
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
8247
8306
|
style?: CSSProperties | undefined;
|
|
8248
8307
|
class?: any;
|
|
8249
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8308
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8250
8309
|
style?: CSSProperties | undefined;
|
|
8251
8310
|
class?: any;
|
|
8252
8311
|
} & RecordType>>;
|
|
@@ -8268,7 +8327,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8268
8327
|
};
|
|
8269
8328
|
rows: number;
|
|
8270
8329
|
autocomplete: string;
|
|
8271
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
8330
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
8272
8331
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
8273
8332
|
step: string | number;
|
|
8274
8333
|
format: string | ProgressFn | undefined;
|
|
@@ -8295,6 +8354,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8295
8354
|
label?: string | undefined;
|
|
8296
8355
|
value?: string | undefined;
|
|
8297
8356
|
} | undefined;
|
|
8357
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
8358
|
+
store?: any;
|
|
8359
|
+
method?: string | undefined;
|
|
8360
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
8361
|
+
dictCode?: string | undefined;
|
|
8362
|
+
} | undefined;
|
|
8298
8363
|
readonly clearable: boolean;
|
|
8299
8364
|
readonly index: number;
|
|
8300
8365
|
} & {
|
|
@@ -8307,12 +8372,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8307
8372
|
fieldInstance?: any;
|
|
8308
8373
|
valueIsReady?: Ref<boolean> | undefined;
|
|
8309
8374
|
prop: string;
|
|
8310
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
8375
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
8311
8376
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
8312
|
-
tooltip: string |
|
|
8377
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
8313
8378
|
style?: CSSProperties | undefined;
|
|
8314
8379
|
class?: any;
|
|
8315
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8380
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8316
8381
|
style?: CSSProperties | undefined;
|
|
8317
8382
|
class?: any;
|
|
8318
8383
|
} & RecordType>>;
|
|
@@ -8332,6 +8397,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8332
8397
|
label?: string | undefined;
|
|
8333
8398
|
value?: string | undefined;
|
|
8334
8399
|
} | undefined;
|
|
8400
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
8401
|
+
store?: any;
|
|
8402
|
+
method?: string | undefined;
|
|
8403
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
8404
|
+
dictCode?: string | undefined;
|
|
8405
|
+
} | undefined;
|
|
8335
8406
|
clearable: boolean;
|
|
8336
8407
|
index: number;
|
|
8337
8408
|
}) => any>> & {
|
|
@@ -8353,14 +8424,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8353
8424
|
handleUnfold: (e: MouseEvent) => void;
|
|
8354
8425
|
}> & {} & ComponentCustomProperties & {} & {
|
|
8355
8426
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
8356
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
8427
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
8357
8428
|
readonly label: string | ComputedRef<string>;
|
|
8358
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
8429
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
8359
8430
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
8360
|
-
readonly tooltip: string |
|
|
8431
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
8361
8432
|
style?: CSSProperties | undefined;
|
|
8362
8433
|
class?: any;
|
|
8363
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8434
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8364
8435
|
style?: CSSProperties | undefined;
|
|
8365
8436
|
class?: any;
|
|
8366
8437
|
} & RecordType>>;
|
|
@@ -8382,7 +8453,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8382
8453
|
};
|
|
8383
8454
|
rows: number;
|
|
8384
8455
|
autocomplete: string;
|
|
8385
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
8456
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
8386
8457
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
8387
8458
|
step: string | number;
|
|
8388
8459
|
format: string | ProgressFn | undefined;
|
|
@@ -8409,6 +8480,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8409
8480
|
label?: string | undefined;
|
|
8410
8481
|
value?: string | undefined;
|
|
8411
8482
|
} | undefined;
|
|
8483
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
8484
|
+
store?: any;
|
|
8485
|
+
method?: string | undefined;
|
|
8486
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
8487
|
+
dictCode?: string | undefined;
|
|
8488
|
+
} | undefined;
|
|
8412
8489
|
readonly clearable: boolean;
|
|
8413
8490
|
readonly index: number;
|
|
8414
8491
|
} & {
|
|
@@ -8421,12 +8498,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8421
8498
|
fieldInstance?: any;
|
|
8422
8499
|
valueIsReady?: Ref<boolean> | undefined;
|
|
8423
8500
|
prop: string;
|
|
8424
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
8501
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
8425
8502
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
8426
|
-
tooltip: string |
|
|
8503
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
8427
8504
|
style?: CSSProperties | undefined;
|
|
8428
8505
|
class?: any;
|
|
8429
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8506
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
8430
8507
|
style?: CSSProperties | undefined;
|
|
8431
8508
|
class?: any;
|
|
8432
8509
|
} & RecordType>>;
|
|
@@ -8446,6 +8523,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8446
8523
|
label?: string | undefined;
|
|
8447
8524
|
value?: string | undefined;
|
|
8448
8525
|
} | undefined;
|
|
8526
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
8527
|
+
store?: any;
|
|
8528
|
+
method?: string | undefined;
|
|
8529
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
8530
|
+
dictCode?: string | undefined;
|
|
8531
|
+
} | undefined;
|
|
8449
8532
|
clearable: boolean;
|
|
8450
8533
|
index: number;
|
|
8451
8534
|
}) => any>> & {
|
|
@@ -8466,9 +8549,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8466
8549
|
columns: PlusColumn[];
|
|
8467
8550
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
8468
8551
|
row: any[];
|
|
8469
|
-
/**
|
|
8470
|
-
* 获取全局配置
|
|
8471
|
-
*/
|
|
8472
8552
|
rowIndex: number;
|
|
8473
8553
|
column: TableColumnCtx<any[]>;
|
|
8474
8554
|
columnIndex: number;
|
|
@@ -8515,9 +8595,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8515
8595
|
readonly columns: PlusColumn[];
|
|
8516
8596
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
8517
8597
|
row: any[];
|
|
8518
|
-
/**
|
|
8519
|
-
* 获取全局配置
|
|
8520
|
-
*/
|
|
8521
8598
|
rowIndex: number;
|
|
8522
8599
|
column: TableColumnCtx<any[]>;
|
|
8523
8600
|
columnIndex: number;
|
|
@@ -8587,9 +8664,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8587
8664
|
headerCellStyle: {
|
|
8588
8665
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
8589
8666
|
row: any[];
|
|
8590
|
-
/**
|
|
8591
|
-
* 获取全局配置
|
|
8592
|
-
*/
|
|
8593
8667
|
rowIndex: number;
|
|
8594
8668
|
column: TableColumnCtx<any[]>;
|
|
8595
8669
|
columnIndex: number;
|
|
@@ -8730,9 +8804,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8730
8804
|
$slots: Readonly<{
|
|
8731
8805
|
[name: string]: Slot<any> | undefined;
|
|
8732
8806
|
}>;
|
|
8733
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
8807
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
8734
8808
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
8735
|
-
$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);
|
|
8809
|
+
$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); /** 包装后的请求函数 */
|
|
8736
8810
|
$el: any;
|
|
8737
8811
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
8738
8812
|
data: {
|
|
@@ -8749,9 +8823,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8749
8823
|
headerCellStyle: {
|
|
8750
8824
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
8751
8825
|
row: any[];
|
|
8752
|
-
/**
|
|
8753
|
-
* 获取全局配置
|
|
8754
|
-
*/
|
|
8755
8826
|
rowIndex: number;
|
|
8756
8827
|
column: TableColumnCtx<any[]>;
|
|
8757
8828
|
columnIndex: number;
|
|
@@ -8895,9 +8966,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8895
8966
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8896
8967
|
__epPropKey: true;
|
|
8897
8968
|
};
|
|
8898
|
-
width: (
|
|
8899
|
-
height: (
|
|
8900
|
-
maxHeight: (
|
|
8969
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
8970
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
8971
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
8901
8972
|
fit: {
|
|
8902
8973
|
type: BooleanConstructor;
|
|
8903
8974
|
default: boolean;
|
|
@@ -8921,13 +8992,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8921
8992
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
8922
8993
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
8923
8994
|
highlightCurrentRow: BooleanConstructor;
|
|
8924
|
-
currentRowKey: (
|
|
8995
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
8925
8996
|
emptyText: StringConstructor;
|
|
8926
8997
|
expandRowKeys: PropType<any[] | undefined>;
|
|
8927
8998
|
defaultExpandAll: BooleanConstructor;
|
|
8928
8999
|
defaultSort: PropType< Sort | undefined>;
|
|
8929
9000
|
tooltipEffect: StringConstructor;
|
|
8930
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
9001
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
8931
9002
|
spanMethod: PropType<((data: {
|
|
8932
9003
|
row: any;
|
|
8933
9004
|
rowIndex: number;
|
|
@@ -8971,7 +9042,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
8971
9042
|
};
|
|
8972
9043
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
8973
9044
|
flexible: BooleanConstructor;
|
|
8974
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
9045
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
8975
9046
|
}>> & {
|
|
8976
9047
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
8977
9048
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9091,9 +9162,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9091
9162
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9092
9163
|
__epPropKey: true;
|
|
9093
9164
|
};
|
|
9094
|
-
width: (
|
|
9095
|
-
height: (
|
|
9096
|
-
maxHeight: (
|
|
9165
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
9166
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
9167
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
9097
9168
|
fit: {
|
|
9098
9169
|
type: BooleanConstructor;
|
|
9099
9170
|
default: boolean;
|
|
@@ -9117,13 +9188,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9117
9188
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
9118
9189
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
9119
9190
|
highlightCurrentRow: BooleanConstructor;
|
|
9120
|
-
currentRowKey: (
|
|
9191
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
9121
9192
|
emptyText: StringConstructor;
|
|
9122
9193
|
expandRowKeys: PropType<any[] | undefined>;
|
|
9123
9194
|
defaultExpandAll: BooleanConstructor;
|
|
9124
9195
|
defaultSort: PropType< Sort | undefined>;
|
|
9125
9196
|
tooltipEffect: StringConstructor;
|
|
9126
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
9197
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9127
9198
|
spanMethod: PropType<((data: {
|
|
9128
9199
|
row: any;
|
|
9129
9200
|
rowIndex: number;
|
|
@@ -9167,7 +9238,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9167
9238
|
};
|
|
9168
9239
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
9169
9240
|
flexible: BooleanConstructor;
|
|
9170
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
9241
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9171
9242
|
}>> & {
|
|
9172
9243
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
9173
9244
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9226,9 +9297,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9226
9297
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9227
9298
|
__epPropKey: true;
|
|
9228
9299
|
};
|
|
9229
|
-
width: (
|
|
9230
|
-
height: (
|
|
9231
|
-
maxHeight: (
|
|
9300
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
9301
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
9302
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
9232
9303
|
fit: {
|
|
9233
9304
|
type: BooleanConstructor;
|
|
9234
9305
|
default: boolean;
|
|
@@ -9252,13 +9323,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9252
9323
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
9253
9324
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
9254
9325
|
highlightCurrentRow: BooleanConstructor;
|
|
9255
|
-
currentRowKey: (
|
|
9326
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
9256
9327
|
emptyText: StringConstructor;
|
|
9257
9328
|
expandRowKeys: PropType<any[] | undefined>;
|
|
9258
9329
|
defaultExpandAll: BooleanConstructor;
|
|
9259
9330
|
defaultSort: PropType< Sort | undefined>;
|
|
9260
9331
|
tooltipEffect: StringConstructor;
|
|
9261
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
9332
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9262
9333
|
spanMethod: PropType<((data: {
|
|
9263
9334
|
row: any;
|
|
9264
9335
|
rowIndex: number;
|
|
@@ -9302,7 +9373,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9302
9373
|
};
|
|
9303
9374
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
9304
9375
|
flexible: BooleanConstructor;
|
|
9305
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
9376
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9306
9377
|
}>> & {
|
|
9307
9378
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
9308
9379
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9450,9 +9521,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9450
9521
|
columns: PlusColumn[];
|
|
9451
9522
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
9452
9523
|
row: any[];
|
|
9453
|
-
/**
|
|
9454
|
-
* 获取全局配置
|
|
9455
|
-
*/
|
|
9456
9524
|
rowIndex: number;
|
|
9457
9525
|
column: TableColumnCtx<any[]>;
|
|
9458
9526
|
columnIndex: number;
|
|
@@ -9529,9 +9597,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9529
9597
|
headerCellStyle: {
|
|
9530
9598
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
9531
9599
|
row: any[];
|
|
9532
|
-
/**
|
|
9533
|
-
* 获取全局配置
|
|
9534
|
-
*/
|
|
9535
9600
|
rowIndex: number;
|
|
9536
9601
|
column: TableColumnCtx<any[]>;
|
|
9537
9602
|
columnIndex: number;
|
|
@@ -9675,9 +9740,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9675
9740
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9676
9741
|
__epPropKey: true;
|
|
9677
9742
|
};
|
|
9678
|
-
width: (
|
|
9679
|
-
height: (
|
|
9680
|
-
maxHeight: (
|
|
9743
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
9744
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
9745
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
9681
9746
|
fit: {
|
|
9682
9747
|
type: BooleanConstructor;
|
|
9683
9748
|
default: boolean;
|
|
@@ -9701,13 +9766,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9701
9766
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
9702
9767
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
9703
9768
|
highlightCurrentRow: BooleanConstructor;
|
|
9704
|
-
currentRowKey: (
|
|
9769
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
9705
9770
|
emptyText: StringConstructor;
|
|
9706
9771
|
expandRowKeys: PropType<any[] | undefined>;
|
|
9707
9772
|
defaultExpandAll: BooleanConstructor;
|
|
9708
9773
|
defaultSort: PropType< Sort | undefined>;
|
|
9709
9774
|
tooltipEffect: StringConstructor;
|
|
9710
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
9775
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9711
9776
|
spanMethod: PropType<((data: {
|
|
9712
9777
|
row: any;
|
|
9713
9778
|
rowIndex: number;
|
|
@@ -9751,7 +9816,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9751
9816
|
};
|
|
9752
9817
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
9753
9818
|
flexible: BooleanConstructor;
|
|
9754
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
9819
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9755
9820
|
}>> & {
|
|
9756
9821
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
9757
9822
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9871,9 +9936,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9871
9936
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9872
9937
|
__epPropKey: true;
|
|
9873
9938
|
};
|
|
9874
|
-
width: (
|
|
9875
|
-
height: (
|
|
9876
|
-
maxHeight: (
|
|
9939
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
9940
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
9941
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
9877
9942
|
fit: {
|
|
9878
9943
|
type: BooleanConstructor;
|
|
9879
9944
|
default: boolean;
|
|
@@ -9897,13 +9962,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9897
9962
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
9898
9963
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
9899
9964
|
highlightCurrentRow: BooleanConstructor;
|
|
9900
|
-
currentRowKey: (
|
|
9965
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
9901
9966
|
emptyText: StringConstructor;
|
|
9902
9967
|
expandRowKeys: PropType<any[] | undefined>;
|
|
9903
9968
|
defaultExpandAll: BooleanConstructor;
|
|
9904
9969
|
defaultSort: PropType< Sort | undefined>;
|
|
9905
9970
|
tooltipEffect: StringConstructor;
|
|
9906
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
9971
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9907
9972
|
spanMethod: PropType<((data: {
|
|
9908
9973
|
row: any;
|
|
9909
9974
|
rowIndex: number;
|
|
@@ -9947,7 +10012,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
9947
10012
|
};
|
|
9948
10013
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
9949
10014
|
flexible: BooleanConstructor;
|
|
9950
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
10015
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
9951
10016
|
}>> & {
|
|
9952
10017
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
9953
10018
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -10006,9 +10071,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10006
10071
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
10007
10072
|
__epPropKey: true;
|
|
10008
10073
|
};
|
|
10009
|
-
width: (
|
|
10010
|
-
height: (
|
|
10011
|
-
maxHeight: (
|
|
10074
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
10075
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
10076
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
10012
10077
|
fit: {
|
|
10013
10078
|
type: BooleanConstructor;
|
|
10014
10079
|
default: boolean;
|
|
@@ -10032,13 +10097,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10032
10097
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
10033
10098
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
10034
10099
|
highlightCurrentRow: BooleanConstructor;
|
|
10035
|
-
currentRowKey: (
|
|
10100
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
10036
10101
|
emptyText: StringConstructor;
|
|
10037
10102
|
expandRowKeys: PropType<any[] | undefined>;
|
|
10038
10103
|
defaultExpandAll: BooleanConstructor;
|
|
10039
10104
|
defaultSort: PropType< Sort | undefined>;
|
|
10040
10105
|
tooltipEffect: StringConstructor;
|
|
10041
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
10106
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
10042
10107
|
spanMethod: PropType<((data: {
|
|
10043
10108
|
row: any;
|
|
10044
10109
|
rowIndex: number;
|
|
@@ -10082,7 +10147,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10082
10147
|
};
|
|
10083
10148
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
10084
10149
|
flexible: BooleanConstructor;
|
|
10085
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
10150
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
10086
10151
|
}>> & {
|
|
10087
10152
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
10088
10153
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -10248,14 +10313,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10248
10313
|
setTableData: (data?: RecordType[] | undefined, _total?: number | undefined) => void;
|
|
10249
10314
|
}> & {} & ComponentCustomProperties & {} & {
|
|
10250
10315
|
$slots: Partial<Record<never, (_: {
|
|
10251
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
10316
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
10252
10317
|
readonly label: string | ComputedRef<string>;
|
|
10253
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
10318
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
10254
10319
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
10255
|
-
readonly tooltip: string |
|
|
10320
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
10256
10321
|
style?: CSSProperties | undefined;
|
|
10257
10322
|
class?: any;
|
|
10258
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
10323
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
10259
10324
|
style?: CSSProperties | undefined;
|
|
10260
10325
|
class?: any;
|
|
10261
10326
|
} & RecordType>>;
|
|
@@ -10277,7 +10342,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10277
10342
|
};
|
|
10278
10343
|
rows: number;
|
|
10279
10344
|
autocomplete: string;
|
|
10280
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
10345
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
10281
10346
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
10282
10347
|
step: string | number;
|
|
10283
10348
|
format: string | ProgressFn | undefined;
|
|
@@ -10304,6 +10369,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10304
10369
|
label?: string | undefined;
|
|
10305
10370
|
value?: string | undefined;
|
|
10306
10371
|
} | undefined;
|
|
10372
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
10373
|
+
store?: any;
|
|
10374
|
+
method?: string | undefined;
|
|
10375
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
10376
|
+
dictCode?: string | undefined;
|
|
10377
|
+
} | undefined;
|
|
10307
10378
|
readonly clearable: boolean;
|
|
10308
10379
|
readonly index: number;
|
|
10309
10380
|
} & {
|
|
@@ -10316,12 +10387,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10316
10387
|
fieldInstance?: any;
|
|
10317
10388
|
valueIsReady?: Ref<boolean> | undefined;
|
|
10318
10389
|
prop: string;
|
|
10319
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
10390
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
10320
10391
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
10321
|
-
tooltip: string |
|
|
10392
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
10322
10393
|
style?: CSSProperties | undefined;
|
|
10323
10394
|
class?: any;
|
|
10324
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
10395
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
10325
10396
|
style?: CSSProperties | undefined;
|
|
10326
10397
|
class?: any;
|
|
10327
10398
|
} & RecordType>>;
|
|
@@ -10341,6 +10412,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10341
10412
|
label?: string | undefined;
|
|
10342
10413
|
value?: string | undefined;
|
|
10343
10414
|
} | undefined;
|
|
10415
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
10416
|
+
store?: any;
|
|
10417
|
+
method?: string | undefined;
|
|
10418
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
10419
|
+
dictCode?: string | undefined;
|
|
10420
|
+
} | undefined;
|
|
10344
10421
|
clearable: boolean;
|
|
10345
10422
|
index: number;
|
|
10346
10423
|
}) => any>> & Partial<Record<never, (_: {
|
|
@@ -10377,9 +10454,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10377
10454
|
columns: PlusColumn[];
|
|
10378
10455
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
10379
10456
|
row: any[];
|
|
10380
|
-
/**
|
|
10381
|
-
* 获取全局配置
|
|
10382
|
-
*/
|
|
10383
10457
|
rowIndex: number;
|
|
10384
10458
|
column: TableColumnCtx<any[]>;
|
|
10385
10459
|
columnIndex: number;
|
|
@@ -10426,9 +10500,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10426
10500
|
readonly columns: PlusColumn[];
|
|
10427
10501
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
10428
10502
|
row: any[];
|
|
10429
|
-
/**
|
|
10430
|
-
* 获取全局配置
|
|
10431
|
-
*/
|
|
10432
10503
|
rowIndex: number;
|
|
10433
10504
|
column: TableColumnCtx<any[]>;
|
|
10434
10505
|
columnIndex: number;
|
|
@@ -10498,9 +10569,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10498
10569
|
headerCellStyle: {
|
|
10499
10570
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
10500
10571
|
row: any[];
|
|
10501
|
-
/**
|
|
10502
|
-
* 获取全局配置
|
|
10503
|
-
*/
|
|
10504
10572
|
rowIndex: number;
|
|
10505
10573
|
column: TableColumnCtx<any[]>;
|
|
10506
10574
|
columnIndex: number;
|
|
@@ -10641,9 +10709,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10641
10709
|
$slots: Readonly<{
|
|
10642
10710
|
[name: string]: Slot<any> | undefined;
|
|
10643
10711
|
}>;
|
|
10644
|
-
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
10712
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null; /** 是否有请求函数 */
|
|
10645
10713
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
10646
|
-
$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);
|
|
10714
|
+
$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); /** 包装后的请求函数 */
|
|
10647
10715
|
$el: any;
|
|
10648
10716
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
10649
10717
|
data: {
|
|
@@ -10660,9 +10728,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10660
10728
|
headerCellStyle: {
|
|
10661
10729
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
10662
10730
|
row: any[];
|
|
10663
|
-
/**
|
|
10664
|
-
* 获取全局配置
|
|
10665
|
-
*/
|
|
10666
10731
|
rowIndex: number;
|
|
10667
10732
|
column: TableColumnCtx<any[]>;
|
|
10668
10733
|
columnIndex: number;
|
|
@@ -10806,9 +10871,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10806
10871
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
10807
10872
|
__epPropKey: true;
|
|
10808
10873
|
};
|
|
10809
|
-
width: (
|
|
10810
|
-
height: (
|
|
10811
|
-
maxHeight: (
|
|
10874
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
10875
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
10876
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
10812
10877
|
fit: {
|
|
10813
10878
|
type: BooleanConstructor;
|
|
10814
10879
|
default: boolean;
|
|
@@ -10832,13 +10897,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10832
10897
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
10833
10898
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
10834
10899
|
highlightCurrentRow: BooleanConstructor;
|
|
10835
|
-
currentRowKey: (
|
|
10900
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
10836
10901
|
emptyText: StringConstructor;
|
|
10837
10902
|
expandRowKeys: PropType<any[] | undefined>;
|
|
10838
10903
|
defaultExpandAll: BooleanConstructor;
|
|
10839
10904
|
defaultSort: PropType< Sort | undefined>;
|
|
10840
10905
|
tooltipEffect: StringConstructor;
|
|
10841
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
10906
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
10842
10907
|
spanMethod: PropType<((data: {
|
|
10843
10908
|
row: any;
|
|
10844
10909
|
rowIndex: number;
|
|
@@ -10882,7 +10947,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
10882
10947
|
};
|
|
10883
10948
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
10884
10949
|
flexible: BooleanConstructor;
|
|
10885
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
10950
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
10886
10951
|
}>> & {
|
|
10887
10952
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
10888
10953
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -11002,9 +11067,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11002
11067
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11003
11068
|
__epPropKey: true;
|
|
11004
11069
|
};
|
|
11005
|
-
width: (
|
|
11006
|
-
height: (
|
|
11007
|
-
maxHeight: (
|
|
11070
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
11071
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
11072
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
11008
11073
|
fit: {
|
|
11009
11074
|
type: BooleanConstructor;
|
|
11010
11075
|
default: boolean;
|
|
@@ -11028,13 +11093,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11028
11093
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
11029
11094
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
11030
11095
|
highlightCurrentRow: BooleanConstructor;
|
|
11031
|
-
currentRowKey: (
|
|
11096
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
11032
11097
|
emptyText: StringConstructor;
|
|
11033
11098
|
expandRowKeys: PropType<any[] | undefined>;
|
|
11034
11099
|
defaultExpandAll: BooleanConstructor;
|
|
11035
11100
|
defaultSort: PropType< Sort | undefined>;
|
|
11036
11101
|
tooltipEffect: StringConstructor;
|
|
11037
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
11102
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11038
11103
|
spanMethod: PropType<((data: {
|
|
11039
11104
|
row: any;
|
|
11040
11105
|
rowIndex: number;
|
|
@@ -11078,7 +11143,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11078
11143
|
};
|
|
11079
11144
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
11080
11145
|
flexible: BooleanConstructor;
|
|
11081
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
11146
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11082
11147
|
}>> & {
|
|
11083
11148
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
11084
11149
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -11137,9 +11202,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11137
11202
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11138
11203
|
__epPropKey: true;
|
|
11139
11204
|
};
|
|
11140
|
-
width: (
|
|
11141
|
-
height: (
|
|
11142
|
-
maxHeight: (
|
|
11205
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
11206
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
11207
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
11143
11208
|
fit: {
|
|
11144
11209
|
type: BooleanConstructor;
|
|
11145
11210
|
default: boolean;
|
|
@@ -11163,13 +11228,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11163
11228
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
11164
11229
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
11165
11230
|
highlightCurrentRow: BooleanConstructor;
|
|
11166
|
-
currentRowKey: (
|
|
11231
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
11167
11232
|
emptyText: StringConstructor;
|
|
11168
11233
|
expandRowKeys: PropType<any[] | undefined>;
|
|
11169
11234
|
defaultExpandAll: BooleanConstructor;
|
|
11170
11235
|
defaultSort: PropType< Sort | undefined>;
|
|
11171
11236
|
tooltipEffect: StringConstructor;
|
|
11172
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
11237
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11173
11238
|
spanMethod: PropType<((data: {
|
|
11174
11239
|
row: any;
|
|
11175
11240
|
rowIndex: number;
|
|
@@ -11213,7 +11278,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11213
11278
|
};
|
|
11214
11279
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
11215
11280
|
flexible: BooleanConstructor;
|
|
11216
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
11281
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11217
11282
|
}>> & {
|
|
11218
11283
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
11219
11284
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -11361,9 +11426,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11361
11426
|
columns: PlusColumn[];
|
|
11362
11427
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
11363
11428
|
row: any[];
|
|
11364
|
-
/**
|
|
11365
|
-
* 获取全局配置
|
|
11366
|
-
*/
|
|
11367
11429
|
rowIndex: number;
|
|
11368
11430
|
column: TableColumnCtx<any[]>;
|
|
11369
11431
|
columnIndex: number;
|
|
@@ -11440,9 +11502,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11440
11502
|
headerCellStyle: {
|
|
11441
11503
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
11442
11504
|
row: any[];
|
|
11443
|
-
/**
|
|
11444
|
-
* 获取全局配置
|
|
11445
|
-
*/
|
|
11446
11505
|
rowIndex: number;
|
|
11447
11506
|
column: TableColumnCtx<any[]>;
|
|
11448
11507
|
columnIndex: number;
|
|
@@ -11586,9 +11645,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11586
11645
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11587
11646
|
__epPropKey: true;
|
|
11588
11647
|
};
|
|
11589
|
-
width: (
|
|
11590
|
-
height: (
|
|
11591
|
-
maxHeight: (
|
|
11648
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
11649
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
11650
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
11592
11651
|
fit: {
|
|
11593
11652
|
type: BooleanConstructor;
|
|
11594
11653
|
default: boolean;
|
|
@@ -11612,13 +11671,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11612
11671
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
11613
11672
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
11614
11673
|
highlightCurrentRow: BooleanConstructor;
|
|
11615
|
-
currentRowKey: (
|
|
11674
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
11616
11675
|
emptyText: StringConstructor;
|
|
11617
11676
|
expandRowKeys: PropType<any[] | undefined>;
|
|
11618
11677
|
defaultExpandAll: BooleanConstructor;
|
|
11619
11678
|
defaultSort: PropType< Sort | undefined>;
|
|
11620
11679
|
tooltipEffect: StringConstructor;
|
|
11621
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
11680
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11622
11681
|
spanMethod: PropType<((data: {
|
|
11623
11682
|
row: any;
|
|
11624
11683
|
rowIndex: number;
|
|
@@ -11662,7 +11721,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11662
11721
|
};
|
|
11663
11722
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
11664
11723
|
flexible: BooleanConstructor;
|
|
11665
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
11724
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11666
11725
|
}>> & {
|
|
11667
11726
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
11668
11727
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -11782,9 +11841,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11782
11841
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11783
11842
|
__epPropKey: true;
|
|
11784
11843
|
};
|
|
11785
|
-
width: (
|
|
11786
|
-
height: (
|
|
11787
|
-
maxHeight: (
|
|
11844
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
11845
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
11846
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
11788
11847
|
fit: {
|
|
11789
11848
|
type: BooleanConstructor;
|
|
11790
11849
|
default: boolean;
|
|
@@ -11808,13 +11867,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11808
11867
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
11809
11868
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
11810
11869
|
highlightCurrentRow: BooleanConstructor;
|
|
11811
|
-
currentRowKey: (
|
|
11870
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
11812
11871
|
emptyText: StringConstructor;
|
|
11813
11872
|
expandRowKeys: PropType<any[] | undefined>;
|
|
11814
11873
|
defaultExpandAll: BooleanConstructor;
|
|
11815
11874
|
defaultSort: PropType< Sort | undefined>;
|
|
11816
11875
|
tooltipEffect: StringConstructor;
|
|
11817
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
11876
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11818
11877
|
spanMethod: PropType<((data: {
|
|
11819
11878
|
row: any;
|
|
11820
11879
|
rowIndex: number;
|
|
@@ -11858,7 +11917,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11858
11917
|
};
|
|
11859
11918
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
11860
11919
|
flexible: BooleanConstructor;
|
|
11861
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
11920
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11862
11921
|
}>> & {
|
|
11863
11922
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
11864
11923
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -11917,9 +11976,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11917
11976
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11918
11977
|
__epPropKey: true;
|
|
11919
11978
|
};
|
|
11920
|
-
width: (
|
|
11921
|
-
height: (
|
|
11922
|
-
maxHeight: (
|
|
11979
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
11980
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
11981
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
11923
11982
|
fit: {
|
|
11924
11983
|
type: BooleanConstructor;
|
|
11925
11984
|
default: boolean;
|
|
@@ -11943,13 +12002,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11943
12002
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
11944
12003
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
11945
12004
|
highlightCurrentRow: BooleanConstructor;
|
|
11946
|
-
currentRowKey: (
|
|
12005
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
11947
12006
|
emptyText: StringConstructor;
|
|
11948
12007
|
expandRowKeys: PropType<any[] | undefined>;
|
|
11949
12008
|
defaultExpandAll: BooleanConstructor;
|
|
11950
12009
|
defaultSort: PropType< Sort | undefined>;
|
|
11951
12010
|
tooltipEffect: StringConstructor;
|
|
11952
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
12011
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11953
12012
|
spanMethod: PropType<((data: {
|
|
11954
12013
|
row: any;
|
|
11955
12014
|
rowIndex: number;
|
|
@@ -11993,7 +12052,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11993
12052
|
};
|
|
11994
12053
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
11995
12054
|
flexible: BooleanConstructor;
|
|
11996
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
12055
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
11997
12056
|
}>> & {
|
|
11998
12057
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
11999
12058
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -12161,9 +12220,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12161
12220
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12162
12221
|
__epPropKey: true;
|
|
12163
12222
|
};
|
|
12164
|
-
width: (
|
|
12165
|
-
height: (
|
|
12166
|
-
maxHeight: (
|
|
12223
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
12224
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
12225
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
12167
12226
|
fit: {
|
|
12168
12227
|
type: BooleanConstructor;
|
|
12169
12228
|
default: boolean;
|
|
@@ -12187,13 +12246,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12187
12246
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
12188
12247
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
12189
12248
|
highlightCurrentRow: BooleanConstructor;
|
|
12190
|
-
currentRowKey: (
|
|
12249
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
12191
12250
|
emptyText: StringConstructor;
|
|
12192
12251
|
expandRowKeys: PropType<any[] | undefined>;
|
|
12193
12252
|
defaultExpandAll: BooleanConstructor;
|
|
12194
12253
|
defaultSort: PropType< Sort | undefined>;
|
|
12195
12254
|
tooltipEffect: StringConstructor;
|
|
12196
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
12255
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
12197
12256
|
spanMethod: PropType<((data: {
|
|
12198
12257
|
row: any;
|
|
12199
12258
|
rowIndex: number;
|
|
@@ -12237,7 +12296,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12237
12296
|
};
|
|
12238
12297
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
12239
12298
|
flexible: BooleanConstructor;
|
|
12240
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
12299
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
12241
12300
|
}>> & {
|
|
12242
12301
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
12243
12302
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -12357,9 +12416,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12357
12416
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12358
12417
|
__epPropKey: true;
|
|
12359
12418
|
};
|
|
12360
|
-
width: (
|
|
12361
|
-
height: (
|
|
12362
|
-
maxHeight: (
|
|
12419
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
12420
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
12421
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
12363
12422
|
fit: {
|
|
12364
12423
|
type: BooleanConstructor;
|
|
12365
12424
|
default: boolean;
|
|
@@ -12383,13 +12442,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12383
12442
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
12384
12443
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
12385
12444
|
highlightCurrentRow: BooleanConstructor;
|
|
12386
|
-
currentRowKey: (
|
|
12445
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
12387
12446
|
emptyText: StringConstructor;
|
|
12388
12447
|
expandRowKeys: PropType<any[] | undefined>;
|
|
12389
12448
|
defaultExpandAll: BooleanConstructor;
|
|
12390
12449
|
defaultSort: PropType< Sort | undefined>;
|
|
12391
12450
|
tooltipEffect: StringConstructor;
|
|
12392
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
12451
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
12393
12452
|
spanMethod: PropType<((data: {
|
|
12394
12453
|
row: any;
|
|
12395
12454
|
rowIndex: number;
|
|
@@ -12433,7 +12492,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12433
12492
|
};
|
|
12434
12493
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
12435
12494
|
flexible: BooleanConstructor;
|
|
12436
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
12495
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
12437
12496
|
}>> & {
|
|
12438
12497
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
12439
12498
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -12492,9 +12551,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12492
12551
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12493
12552
|
__epPropKey: true;
|
|
12494
12553
|
};
|
|
12495
|
-
width: (
|
|
12496
|
-
height: (
|
|
12497
|
-
maxHeight: (
|
|
12554
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
12555
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
12556
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
12498
12557
|
fit: {
|
|
12499
12558
|
type: BooleanConstructor;
|
|
12500
12559
|
default: boolean;
|
|
@@ -12518,13 +12577,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12518
12577
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
12519
12578
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
12520
12579
|
highlightCurrentRow: BooleanConstructor;
|
|
12521
|
-
currentRowKey: (
|
|
12580
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
12522
12581
|
emptyText: StringConstructor;
|
|
12523
12582
|
expandRowKeys: PropType<any[] | undefined>;
|
|
12524
12583
|
defaultExpandAll: BooleanConstructor;
|
|
12525
12584
|
defaultSort: PropType< Sort | undefined>;
|
|
12526
12585
|
tooltipEffect: StringConstructor;
|
|
12527
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
12586
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
12528
12587
|
spanMethod: PropType<((data: {
|
|
12529
12588
|
row: any;
|
|
12530
12589
|
rowIndex: number;
|
|
@@ -12568,7 +12627,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12568
12627
|
};
|
|
12569
12628
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
12570
12629
|
flexible: BooleanConstructor;
|
|
12571
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
12630
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
12572
12631
|
}>> & {
|
|
12573
12632
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
12574
12633
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -12711,9 +12770,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12711
12770
|
defaultPageSize: number;
|
|
12712
12771
|
};
|
|
12713
12772
|
}>>>, {
|
|
12714
|
-
|
|
12715
|
-
search: false | Record<string, unknown>;
|
|
12773
|
+
search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
12716
12774
|
pagination: false | Record<string, unknown>;
|
|
12775
|
+
showSearch: boolean;
|
|
12717
12776
|
isCard: boolean;
|
|
12718
12777
|
hideColumnSettingsIcon: boolean;
|
|
12719
12778
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
|