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
|
@@ -6,7 +6,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
6
6
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
7
7
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, PlusFormSelfProps, ElementPlusFormProps } from 'packages/yc-components';
|
|
8
8
|
import { RowProps, ColProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, TreeNode, Translator, Table, TableProps } from 'element-plus';
|
|
9
|
-
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties,
|
|
9
|
+
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, PublicProps } from 'vue';
|
|
10
10
|
import { PlusPaginationProps } from 'yc-pro-components/es/components/pagination';
|
|
11
11
|
import { PlusTableProps, ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow, PlusTableSelfProps } from 'yc-pro-components/es/components/table';
|
|
12
12
|
import { PlusSearchProps, PlusSearchSelfProps } from 'yc-pro-components/es/components/search';
|
|
@@ -131,8 +131,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
131
131
|
$: ComponentInternalInstance;
|
|
132
132
|
$data: {};
|
|
133
133
|
$props: Partial<{
|
|
134
|
-
modelValue: FieldValues;
|
|
135
134
|
columns: PlusColumn[];
|
|
135
|
+
modelValue: FieldValues;
|
|
136
136
|
labelPosition: "top" | "right" | "left";
|
|
137
137
|
inline: boolean;
|
|
138
138
|
showNumber: number;
|
|
@@ -155,9 +155,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
155
155
|
expandText: string;
|
|
156
156
|
searchLoading: boolean;
|
|
157
157
|
needValidate: boolean;
|
|
158
|
+
searchIcon: Component | null;
|
|
159
|
+
resetIcon: Component | null;
|
|
158
160
|
}> & Omit<{
|
|
159
|
-
readonly modelValue: FieldValues;
|
|
160
161
|
readonly columns: PlusColumn[];
|
|
162
|
+
readonly modelValue: FieldValues;
|
|
161
163
|
readonly inline: boolean;
|
|
162
164
|
readonly showNumber: number;
|
|
163
165
|
readonly defaultValues: FieldValues;
|
|
@@ -180,20 +182,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
180
182
|
readonly searchLoading: boolean;
|
|
181
183
|
readonly needValidate: boolean;
|
|
182
184
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
183
|
-
|
|
185
|
+
readonly searchIcon?: Component | null | undefined;
|
|
186
|
+
readonly resetIcon?: Component | null | undefined;
|
|
184
187
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
185
188
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
189
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
186
190
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
187
191
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
188
192
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
189
|
-
modelValue: {
|
|
190
|
-
type: PropType<FieldValues>;
|
|
191
|
-
default: () => {};
|
|
192
|
-
};
|
|
193
193
|
columns: {
|
|
194
194
|
type: PropType<PlusColumn[]>;
|
|
195
195
|
default: () => never[];
|
|
196
196
|
};
|
|
197
|
+
modelValue: {
|
|
198
|
+
type: PropType<FieldValues>;
|
|
199
|
+
default: () => {};
|
|
200
|
+
};
|
|
197
201
|
labelPosition: {
|
|
198
202
|
type: PropType<"top" | "right" | "left">;
|
|
199
203
|
default: undefined;
|
|
@@ -272,13 +276,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
272
276
|
type: PropType<boolean>;
|
|
273
277
|
default: boolean;
|
|
274
278
|
};
|
|
279
|
+
searchIcon: {
|
|
280
|
+
type: PropType< Component | null>;
|
|
281
|
+
default: undefined;
|
|
282
|
+
};
|
|
283
|
+
resetIcon: {
|
|
284
|
+
type: PropType< Component | null>;
|
|
285
|
+
default: undefined;
|
|
286
|
+
};
|
|
275
287
|
}>> & {
|
|
276
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
277
288
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
278
289
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
290
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
279
291
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
280
292
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
281
|
-
}, "
|
|
293
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
282
294
|
$attrs: {
|
|
283
295
|
[x: string]: unknown;
|
|
284
296
|
};
|
|
@@ -290,17 +302,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
290
302
|
}>;
|
|
291
303
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
292
304
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
293
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
305
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
294
306
|
$el: any;
|
|
295
307
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
296
|
-
modelValue: {
|
|
297
|
-
type: PropType<FieldValues>;
|
|
298
|
-
default: () => {};
|
|
299
|
-
};
|
|
300
308
|
columns: {
|
|
301
309
|
type: PropType<PlusColumn[]>;
|
|
302
310
|
default: () => never[];
|
|
303
311
|
};
|
|
312
|
+
modelValue: {
|
|
313
|
+
type: PropType<FieldValues>;
|
|
314
|
+
default: () => {};
|
|
315
|
+
};
|
|
304
316
|
labelPosition: {
|
|
305
317
|
type: PropType<"top" | "right" | "left">;
|
|
306
318
|
default: undefined;
|
|
@@ -379,10 +391,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
379
391
|
type: PropType<boolean>;
|
|
380
392
|
default: boolean;
|
|
381
393
|
};
|
|
394
|
+
searchIcon: {
|
|
395
|
+
type: PropType< Component | null>;
|
|
396
|
+
default: undefined;
|
|
397
|
+
};
|
|
398
|
+
resetIcon: {
|
|
399
|
+
type: PropType< Component | null>;
|
|
400
|
+
default: undefined;
|
|
401
|
+
};
|
|
382
402
|
}>> & {
|
|
383
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
384
403
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
385
404
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
405
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
386
406
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
387
407
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
388
408
|
}, {
|
|
@@ -390,11 +410,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
390
410
|
$: ComponentInternalInstance;
|
|
391
411
|
$data: {};
|
|
392
412
|
$props: Partial<{
|
|
393
|
-
modelValue: FieldValues;
|
|
394
413
|
collapseDuration: number;
|
|
395
414
|
collapseTransition: boolean;
|
|
396
415
|
columns: PlusColumn[];
|
|
397
416
|
group: false | PlusFormGroupRow[];
|
|
417
|
+
modelValue: FieldValues;
|
|
398
418
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
399
419
|
labelPosition: "top" | "right" | "left";
|
|
400
420
|
labelWidth: string | number;
|
|
@@ -415,7 +435,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
415
435
|
submitText: string;
|
|
416
436
|
resetText: string;
|
|
417
437
|
submitLoading: boolean;
|
|
418
|
-
footerAlign: "
|
|
438
|
+
footerAlign: "right" | "left" | "center";
|
|
419
439
|
cardProps: Partial< Mutable<CardProps> & {
|
|
420
440
|
style?: CSSProperties | undefined;
|
|
421
441
|
class?: any;
|
|
@@ -423,9 +443,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
423
443
|
prevent: boolean;
|
|
424
444
|
clearable: boolean;
|
|
425
445
|
}> & Omit<{
|
|
426
|
-
readonly modelValue: FieldValues;
|
|
427
446
|
readonly columns: PlusColumn[];
|
|
428
447
|
readonly group: false | PlusFormGroupRow[];
|
|
448
|
+
readonly modelValue: FieldValues;
|
|
429
449
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
430
450
|
readonly labelPosition: "top" | "right" | "left";
|
|
431
451
|
readonly labelWidth: string | number;
|
|
@@ -446,7 +466,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
446
466
|
readonly submitText: string;
|
|
447
467
|
readonly resetText: string;
|
|
448
468
|
readonly submitLoading: boolean;
|
|
449
|
-
readonly footerAlign: "
|
|
469
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
450
470
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
451
471
|
style?: CSSProperties | undefined;
|
|
452
472
|
class?: any;
|
|
@@ -455,17 +475,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
455
475
|
readonly clearable: boolean;
|
|
456
476
|
readonly collapseDuration?: number | undefined;
|
|
457
477
|
readonly collapseTransition?: boolean | undefined;
|
|
458
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
459
478
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
460
479
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
461
480
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
481
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
462
482
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
463
483
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
464
484
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
465
|
-
modelValue: {
|
|
466
|
-
type: PropType<FieldValues>;
|
|
467
|
-
default: () => {};
|
|
468
|
-
};
|
|
469
485
|
collapseDuration: {
|
|
470
486
|
type: PropType<number>;
|
|
471
487
|
default: undefined;
|
|
@@ -482,6 +498,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
482
498
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
483
499
|
default: boolean;
|
|
484
500
|
};
|
|
501
|
+
modelValue: {
|
|
502
|
+
type: PropType<FieldValues>;
|
|
503
|
+
default: () => {};
|
|
504
|
+
};
|
|
485
505
|
rules: {
|
|
486
506
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
487
507
|
default: () => {};
|
|
@@ -545,7 +565,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
545
565
|
default: boolean;
|
|
546
566
|
};
|
|
547
567
|
footerAlign: {
|
|
548
|
-
type: PropType<"
|
|
568
|
+
type: PropType<"right" | "left" | "center">;
|
|
549
569
|
default: string;
|
|
550
570
|
};
|
|
551
571
|
cardProps: {
|
|
@@ -564,13 +584,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
564
584
|
default: boolean;
|
|
565
585
|
};
|
|
566
586
|
}>> & {
|
|
567
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
568
587
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
569
588
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
570
589
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
590
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
571
591
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
572
592
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
573
|
-
}, "
|
|
593
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
574
594
|
$attrs: {
|
|
575
595
|
[x: string]: unknown;
|
|
576
596
|
};
|
|
@@ -582,13 +602,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
582
602
|
}>;
|
|
583
603
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
584
604
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
585
|
-
$emit: ((event: "
|
|
605
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
586
606
|
$el: any;
|
|
587
607
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
588
|
-
modelValue: {
|
|
589
|
-
type: PropType<FieldValues>;
|
|
590
|
-
default: () => {};
|
|
591
|
-
};
|
|
592
608
|
collapseDuration: {
|
|
593
609
|
type: PropType<number>;
|
|
594
610
|
default: undefined;
|
|
@@ -605,6 +621,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
605
621
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
606
622
|
default: boolean;
|
|
607
623
|
};
|
|
624
|
+
modelValue: {
|
|
625
|
+
type: PropType<FieldValues>;
|
|
626
|
+
default: () => {};
|
|
627
|
+
};
|
|
608
628
|
rules: {
|
|
609
629
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
610
630
|
default: () => {};
|
|
@@ -668,7 +688,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
668
688
|
default: boolean;
|
|
669
689
|
};
|
|
670
690
|
footerAlign: {
|
|
671
|
-
type: PropType<"
|
|
691
|
+
type: PropType<"right" | "left" | "center">;
|
|
672
692
|
default: string;
|
|
673
693
|
};
|
|
674
694
|
cardProps: {
|
|
@@ -687,10 +707,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
687
707
|
default: boolean;
|
|
688
708
|
};
|
|
689
709
|
}>> & {
|
|
690
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
691
710
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
692
711
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
693
712
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
713
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
694
714
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
695
715
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
696
716
|
}, {
|
|
@@ -996,11 +1016,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
996
1016
|
submitError: (errors: unknown) => void;
|
|
997
1017
|
validate: (...args: any[]) => void;
|
|
998
1018
|
}, string, {
|
|
999
|
-
modelValue: FieldValues;
|
|
1000
1019
|
collapseDuration: number;
|
|
1001
1020
|
collapseTransition: boolean;
|
|
1002
1021
|
columns: PlusColumn[];
|
|
1003
1022
|
group: false | PlusFormGroupRow[];
|
|
1023
|
+
modelValue: FieldValues;
|
|
1004
1024
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1005
1025
|
labelPosition: "top" | "right" | "left";
|
|
1006
1026
|
labelWidth: string | number;
|
|
@@ -1021,7 +1041,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1021
1041
|
submitText: string;
|
|
1022
1042
|
resetText: string;
|
|
1023
1043
|
submitLoading: boolean;
|
|
1024
|
-
footerAlign: "
|
|
1044
|
+
footerAlign: "right" | "left" | "center";
|
|
1025
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1026
1046
|
style?: CSSProperties | undefined;
|
|
1027
1047
|
class?: any;
|
|
@@ -1049,10 +1069,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1049
1069
|
$nextTick: nextTick;
|
|
1050
1070
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1051
1071
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1052
|
-
modelValue: {
|
|
1053
|
-
type: PropType<FieldValues>;
|
|
1054
|
-
default: () => {};
|
|
1055
|
-
};
|
|
1056
1072
|
collapseDuration: {
|
|
1057
1073
|
type: PropType<number>;
|
|
1058
1074
|
default: undefined;
|
|
@@ -1069,6 +1085,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1085
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1070
1086
|
default: boolean;
|
|
1071
1087
|
};
|
|
1088
|
+
modelValue: {
|
|
1089
|
+
type: PropType<FieldValues>;
|
|
1090
|
+
default: () => {};
|
|
1091
|
+
};
|
|
1072
1092
|
rules: {
|
|
1073
1093
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1074
1094
|
default: () => {};
|
|
@@ -1132,7 +1152,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1132
1152
|
default: boolean;
|
|
1133
1153
|
};
|
|
1134
1154
|
footerAlign: {
|
|
1135
|
-
type: PropType<"
|
|
1155
|
+
type: PropType<"right" | "left" | "center">;
|
|
1136
1156
|
default: string;
|
|
1137
1157
|
};
|
|
1138
1158
|
cardProps: {
|
|
@@ -1151,10 +1171,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1151
1171
|
default: boolean;
|
|
1152
1172
|
};
|
|
1153
1173
|
}>> & {
|
|
1154
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1155
1174
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1156
1175
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1157
1176
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1177
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1158
1178
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1159
1179
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1160
1180
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1465,14 +1485,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1465
1485
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1466
1486
|
columns?: PlusColumn[] | undefined;
|
|
1467
1487
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1468
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1488
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1469
1489
|
readonly label: string | ComputedRef<string>;
|
|
1470
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1490
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
1491
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1472
|
-
readonly tooltip: string |
|
|
1492
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1473
1493
|
style?: CSSProperties | undefined;
|
|
1474
1494
|
class?: any;
|
|
1475
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1495
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1476
1496
|
style?: CSSProperties | undefined;
|
|
1477
1497
|
class?: any;
|
|
1478
1498
|
} & RecordType>>;
|
|
@@ -1494,7 +1514,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1494
1514
|
};
|
|
1495
1515
|
rows: number;
|
|
1496
1516
|
autocomplete: string;
|
|
1497
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1517
|
+
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";
|
|
1498
1518
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1499
1519
|
step: string | number;
|
|
1500
1520
|
format: string | ProgressFn | undefined;
|
|
@@ -1521,6 +1541,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1521
1541
|
label?: string | undefined;
|
|
1522
1542
|
value?: string | undefined;
|
|
1523
1543
|
} | undefined;
|
|
1544
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1545
|
+
store?: any;
|
|
1546
|
+
method?: string | undefined;
|
|
1547
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1548
|
+
dictCode?: string | undefined;
|
|
1549
|
+
} | undefined;
|
|
1524
1550
|
readonly clearable: boolean;
|
|
1525
1551
|
readonly index: number;
|
|
1526
1552
|
} & {
|
|
@@ -1533,12 +1559,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1533
1559
|
fieldInstance?: any;
|
|
1534
1560
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1535
1561
|
prop: string;
|
|
1536
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1562
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1537
1563
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1538
|
-
tooltip: string |
|
|
1564
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1539
1565
|
style?: CSSProperties | undefined;
|
|
1540
1566
|
class?: any;
|
|
1541
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1567
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1542
1568
|
style?: CSSProperties | undefined;
|
|
1543
1569
|
class?: any;
|
|
1544
1570
|
} & RecordType>>;
|
|
@@ -1558,17 +1584,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1558
1584
|
label?: string | undefined;
|
|
1559
1585
|
value?: string | undefined;
|
|
1560
1586
|
} | undefined;
|
|
1587
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1588
|
+
store?: any;
|
|
1589
|
+
method?: string | undefined;
|
|
1590
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1591
|
+
dictCode?: string | undefined;
|
|
1592
|
+
} | undefined;
|
|
1561
1593
|
clearable: boolean;
|
|
1562
1594
|
index: number;
|
|
1563
1595
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1564
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1596
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1565
1597
|
readonly label: string | ComputedRef<string>;
|
|
1566
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1598
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1567
1599
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1568
|
-
readonly tooltip: string |
|
|
1600
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1569
1601
|
style?: CSSProperties | undefined;
|
|
1570
1602
|
class?: any;
|
|
1571
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1603
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1572
1604
|
style?: CSSProperties | undefined;
|
|
1573
1605
|
class?: any;
|
|
1574
1606
|
} & RecordType>>;
|
|
@@ -1590,7 +1622,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1590
1622
|
};
|
|
1591
1623
|
rows: number;
|
|
1592
1624
|
autocomplete: string;
|
|
1593
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1625
|
+
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";
|
|
1594
1626
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1595
1627
|
step: string | number;
|
|
1596
1628
|
format: string | ProgressFn | undefined;
|
|
@@ -1617,6 +1649,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1617
1649
|
label?: string | undefined;
|
|
1618
1650
|
value?: string | undefined;
|
|
1619
1651
|
} | undefined;
|
|
1652
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1653
|
+
store?: any;
|
|
1654
|
+
method?: string | undefined;
|
|
1655
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1656
|
+
dictCode?: string | undefined;
|
|
1657
|
+
} | undefined;
|
|
1620
1658
|
readonly clearable: boolean;
|
|
1621
1659
|
readonly index: number;
|
|
1622
1660
|
} & {
|
|
@@ -1629,12 +1667,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1629
1667
|
fieldInstance?: any;
|
|
1630
1668
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1631
1669
|
prop: string;
|
|
1632
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1670
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1633
1671
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1634
|
-
tooltip: string |
|
|
1672
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1635
1673
|
style?: CSSProperties | undefined;
|
|
1636
1674
|
class?: any;
|
|
1637
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1675
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1638
1676
|
style?: CSSProperties | undefined;
|
|
1639
1677
|
class?: any;
|
|
1640
1678
|
} & RecordType>>;
|
|
@@ -1654,6 +1692,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1654
1692
|
label?: string | undefined;
|
|
1655
1693
|
value?: string | undefined;
|
|
1656
1694
|
} | undefined;
|
|
1695
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
1696
|
+
store?: any;
|
|
1697
|
+
method?: string | undefined;
|
|
1698
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
1699
|
+
dictCode?: string | undefined;
|
|
1700
|
+
} | undefined;
|
|
1657
1701
|
clearable: boolean;
|
|
1658
1702
|
index: number;
|
|
1659
1703
|
}) => any>> & {
|
|
@@ -1680,8 +1724,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1680
1724
|
reset: (values: FieldValues) => void;
|
|
1681
1725
|
collapse: (isShowUnfold: boolean) => void;
|
|
1682
1726
|
}, string, {
|
|
1683
|
-
modelValue: FieldValues;
|
|
1684
1727
|
columns: PlusColumn[];
|
|
1728
|
+
modelValue: FieldValues;
|
|
1685
1729
|
labelPosition: "top" | "right" | "left";
|
|
1686
1730
|
inline: boolean;
|
|
1687
1731
|
showNumber: number;
|
|
@@ -1704,6 +1748,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1704
1748
|
expandText: string;
|
|
1705
1749
|
searchLoading: boolean;
|
|
1706
1750
|
needValidate: boolean;
|
|
1751
|
+
searchIcon: Component | null;
|
|
1752
|
+
resetIcon: Component | null;
|
|
1707
1753
|
}, {}, string, {}> & {
|
|
1708
1754
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1709
1755
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1725,14 +1771,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1725
1771
|
$nextTick: nextTick;
|
|
1726
1772
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1727
1773
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1728
|
-
modelValue: {
|
|
1729
|
-
type: PropType<FieldValues>;
|
|
1730
|
-
default: () => {};
|
|
1731
|
-
};
|
|
1732
1774
|
columns: {
|
|
1733
1775
|
type: PropType<PlusColumn[]>;
|
|
1734
1776
|
default: () => never[];
|
|
1735
1777
|
};
|
|
1778
|
+
modelValue: {
|
|
1779
|
+
type: PropType<FieldValues>;
|
|
1780
|
+
default: () => {};
|
|
1781
|
+
};
|
|
1736
1782
|
labelPosition: {
|
|
1737
1783
|
type: PropType<"top" | "right" | "left">;
|
|
1738
1784
|
default: undefined;
|
|
@@ -1811,10 +1857,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1811
1857
|
type: PropType<boolean>;
|
|
1812
1858
|
default: boolean;
|
|
1813
1859
|
};
|
|
1860
|
+
searchIcon: {
|
|
1861
|
+
type: PropType< Component | null>;
|
|
1862
|
+
default: undefined;
|
|
1863
|
+
};
|
|
1864
|
+
resetIcon: {
|
|
1865
|
+
type: PropType< Component | null>;
|
|
1866
|
+
default: undefined;
|
|
1867
|
+
};
|
|
1814
1868
|
}>> & {
|
|
1815
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1816
1869
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1817
1870
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1871
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1818
1872
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1819
1873
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1820
1874
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1822,11 +1876,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1822
1876
|
$: ComponentInternalInstance;
|
|
1823
1877
|
$data: {};
|
|
1824
1878
|
$props: Partial<{
|
|
1825
|
-
modelValue: FieldValues;
|
|
1826
1879
|
collapseDuration: number;
|
|
1827
1880
|
collapseTransition: boolean;
|
|
1828
1881
|
columns: PlusColumn[];
|
|
1829
1882
|
group: false | PlusFormGroupRow[];
|
|
1883
|
+
modelValue: FieldValues;
|
|
1830
1884
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1831
1885
|
labelPosition: "top" | "right" | "left";
|
|
1832
1886
|
labelWidth: string | number;
|
|
@@ -1847,7 +1901,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1847
1901
|
submitText: string;
|
|
1848
1902
|
resetText: string;
|
|
1849
1903
|
submitLoading: boolean;
|
|
1850
|
-
footerAlign: "
|
|
1904
|
+
footerAlign: "right" | "left" | "center";
|
|
1851
1905
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1852
1906
|
style?: CSSProperties | undefined;
|
|
1853
1907
|
class?: any;
|
|
@@ -1855,9 +1909,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1855
1909
|
prevent: boolean;
|
|
1856
1910
|
clearable: boolean;
|
|
1857
1911
|
}> & Omit<{
|
|
1858
|
-
readonly modelValue: FieldValues;
|
|
1859
1912
|
readonly columns: PlusColumn[];
|
|
1860
1913
|
readonly group: false | PlusFormGroupRow[];
|
|
1914
|
+
readonly modelValue: FieldValues;
|
|
1861
1915
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1862
1916
|
readonly labelPosition: "top" | "right" | "left";
|
|
1863
1917
|
readonly labelWidth: string | number;
|
|
@@ -1878,7 +1932,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1878
1932
|
readonly submitText: string;
|
|
1879
1933
|
readonly resetText: string;
|
|
1880
1934
|
readonly submitLoading: boolean;
|
|
1881
|
-
readonly footerAlign: "
|
|
1935
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1882
1936
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1883
1937
|
style?: CSSProperties | undefined;
|
|
1884
1938
|
class?: any;
|
|
@@ -1887,17 +1941,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1887
1941
|
readonly clearable: boolean;
|
|
1888
1942
|
readonly collapseDuration?: number | undefined;
|
|
1889
1943
|
readonly collapseTransition?: boolean | undefined;
|
|
1890
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1891
1944
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1892
1945
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1893
1946
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1947
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1894
1948
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1895
1949
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1896
1950
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1897
|
-
modelValue: {
|
|
1898
|
-
type: PropType<FieldValues>;
|
|
1899
|
-
default: () => {};
|
|
1900
|
-
};
|
|
1901
1951
|
collapseDuration: {
|
|
1902
1952
|
type: PropType<number>;
|
|
1903
1953
|
default: undefined;
|
|
@@ -1914,6 +1964,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1914
1964
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1915
1965
|
default: boolean;
|
|
1916
1966
|
};
|
|
1967
|
+
modelValue: {
|
|
1968
|
+
type: PropType<FieldValues>;
|
|
1969
|
+
default: () => {};
|
|
1970
|
+
};
|
|
1917
1971
|
rules: {
|
|
1918
1972
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1919
1973
|
default: () => {};
|
|
@@ -1977,7 +2031,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1977
2031
|
default: boolean;
|
|
1978
2032
|
};
|
|
1979
2033
|
footerAlign: {
|
|
1980
|
-
type: PropType<"
|
|
2034
|
+
type: PropType<"right" | "left" | "center">;
|
|
1981
2035
|
default: string;
|
|
1982
2036
|
};
|
|
1983
2037
|
cardProps: {
|
|
@@ -1996,13 +2050,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1996
2050
|
default: boolean;
|
|
1997
2051
|
};
|
|
1998
2052
|
}>> & {
|
|
1999
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2000
2053
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2001
2054
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2002
2055
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2056
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2003
2057
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2004
2058
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2005
|
-
}, "
|
|
2059
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2006
2060
|
$attrs: {
|
|
2007
2061
|
[x: string]: unknown;
|
|
2008
2062
|
};
|
|
@@ -2014,13 +2068,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2014
2068
|
}>;
|
|
2015
2069
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2016
2070
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2017
|
-
$emit: ((event: "
|
|
2071
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2018
2072
|
$el: any;
|
|
2019
2073
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2020
|
-
modelValue: {
|
|
2021
|
-
type: PropType<FieldValues>;
|
|
2022
|
-
default: () => {};
|
|
2023
|
-
};
|
|
2024
2074
|
collapseDuration: {
|
|
2025
2075
|
type: PropType<number>;
|
|
2026
2076
|
default: undefined;
|
|
@@ -2037,6 +2087,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2037
2087
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2038
2088
|
default: boolean;
|
|
2039
2089
|
};
|
|
2090
|
+
modelValue: {
|
|
2091
|
+
type: PropType<FieldValues>;
|
|
2092
|
+
default: () => {};
|
|
2093
|
+
};
|
|
2040
2094
|
rules: {
|
|
2041
2095
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2042
2096
|
default: () => {};
|
|
@@ -2100,7 +2154,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2100
2154
|
default: boolean;
|
|
2101
2155
|
};
|
|
2102
2156
|
footerAlign: {
|
|
2103
|
-
type: PropType<"
|
|
2157
|
+
type: PropType<"right" | "left" | "center">;
|
|
2104
2158
|
default: string;
|
|
2105
2159
|
};
|
|
2106
2160
|
cardProps: {
|
|
@@ -2119,10 +2173,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2119
2173
|
default: boolean;
|
|
2120
2174
|
};
|
|
2121
2175
|
}>> & {
|
|
2122
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2123
2176
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2124
2177
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2125
2178
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2179
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2126
2180
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2127
2181
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2128
2182
|
}, {
|
|
@@ -2428,11 +2482,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2428
2482
|
submitError: (errors: unknown) => void;
|
|
2429
2483
|
validate: (...args: any[]) => void;
|
|
2430
2484
|
}, string, {
|
|
2431
|
-
modelValue: FieldValues;
|
|
2432
2485
|
collapseDuration: number;
|
|
2433
2486
|
collapseTransition: boolean;
|
|
2434
2487
|
columns: PlusColumn[];
|
|
2435
2488
|
group: false | PlusFormGroupRow[];
|
|
2489
|
+
modelValue: FieldValues;
|
|
2436
2490
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2437
2491
|
labelPosition: "top" | "right" | "left";
|
|
2438
2492
|
labelWidth: string | number;
|
|
@@ -2453,7 +2507,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2453
2507
|
submitText: string;
|
|
2454
2508
|
resetText: string;
|
|
2455
2509
|
submitLoading: boolean;
|
|
2456
|
-
footerAlign: "
|
|
2510
|
+
footerAlign: "right" | "left" | "center";
|
|
2457
2511
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2458
2512
|
style?: CSSProperties | undefined;
|
|
2459
2513
|
class?: any;
|
|
@@ -2481,10 +2535,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2481
2535
|
$nextTick: nextTick;
|
|
2482
2536
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2483
2537
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2484
|
-
modelValue: {
|
|
2485
|
-
type: PropType<FieldValues>;
|
|
2486
|
-
default: () => {};
|
|
2487
|
-
};
|
|
2488
2538
|
collapseDuration: {
|
|
2489
2539
|
type: PropType<number>;
|
|
2490
2540
|
default: undefined;
|
|
@@ -2501,6 +2551,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2501
2551
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2502
2552
|
default: boolean;
|
|
2503
2553
|
};
|
|
2554
|
+
modelValue: {
|
|
2555
|
+
type: PropType<FieldValues>;
|
|
2556
|
+
default: () => {};
|
|
2557
|
+
};
|
|
2504
2558
|
rules: {
|
|
2505
2559
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2506
2560
|
default: () => {};
|
|
@@ -2564,7 +2618,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2564
2618
|
default: boolean;
|
|
2565
2619
|
};
|
|
2566
2620
|
footerAlign: {
|
|
2567
|
-
type: PropType<"
|
|
2621
|
+
type: PropType<"right" | "left" | "center">;
|
|
2568
2622
|
default: string;
|
|
2569
2623
|
};
|
|
2570
2624
|
cardProps: {
|
|
@@ -2583,10 +2637,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2583
2637
|
default: boolean;
|
|
2584
2638
|
};
|
|
2585
2639
|
}>> & {
|
|
2586
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2587
2640
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2588
2641
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2589
2642
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2643
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2590
2644
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2591
2645
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2592
2646
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2897,14 +2951,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2897
2951
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2898
2952
|
columns?: PlusColumn[] | undefined;
|
|
2899
2953
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2900
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2954
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2901
2955
|
readonly label: string | ComputedRef<string>;
|
|
2902
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2956
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2903
2957
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2904
|
-
readonly tooltip: string |
|
|
2958
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2905
2959
|
style?: CSSProperties | undefined;
|
|
2906
2960
|
class?: any;
|
|
2907
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2961
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2908
2962
|
style?: CSSProperties | undefined;
|
|
2909
2963
|
class?: any;
|
|
2910
2964
|
} & RecordType>>;
|
|
@@ -2926,7 +2980,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2926
2980
|
};
|
|
2927
2981
|
rows: number;
|
|
2928
2982
|
autocomplete: string;
|
|
2929
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2983
|
+
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";
|
|
2930
2984
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2931
2985
|
step: string | number;
|
|
2932
2986
|
format: string | ProgressFn | undefined;
|
|
@@ -2953,6 +3007,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2953
3007
|
label?: string | undefined;
|
|
2954
3008
|
value?: string | undefined;
|
|
2955
3009
|
} | undefined;
|
|
3010
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3011
|
+
store?: any;
|
|
3012
|
+
method?: string | undefined;
|
|
3013
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3014
|
+
dictCode?: string | undefined;
|
|
3015
|
+
} | undefined;
|
|
2956
3016
|
readonly clearable: boolean;
|
|
2957
3017
|
readonly index: number;
|
|
2958
3018
|
} & {
|
|
@@ -2965,12 +3025,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2965
3025
|
fieldInstance?: any;
|
|
2966
3026
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2967
3027
|
prop: string;
|
|
2968
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3028
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2969
3029
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2970
|
-
tooltip: string |
|
|
3030
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2971
3031
|
style?: CSSProperties | undefined;
|
|
2972
3032
|
class?: any;
|
|
2973
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3033
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2974
3034
|
style?: CSSProperties | undefined;
|
|
2975
3035
|
class?: any;
|
|
2976
3036
|
} & RecordType>>;
|
|
@@ -2990,17 +3050,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2990
3050
|
label?: string | undefined;
|
|
2991
3051
|
value?: string | undefined;
|
|
2992
3052
|
} | undefined;
|
|
3053
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3054
|
+
store?: any;
|
|
3055
|
+
method?: string | undefined;
|
|
3056
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3057
|
+
dictCode?: string | undefined;
|
|
3058
|
+
} | undefined;
|
|
2993
3059
|
clearable: boolean;
|
|
2994
3060
|
index: number;
|
|
2995
3061
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2996
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3062
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2997
3063
|
readonly label: string | ComputedRef<string>;
|
|
2998
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3064
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2999
3065
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3000
|
-
readonly tooltip: string |
|
|
3066
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3001
3067
|
style?: CSSProperties | undefined;
|
|
3002
3068
|
class?: any;
|
|
3003
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3069
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3004
3070
|
style?: CSSProperties | undefined;
|
|
3005
3071
|
class?: any;
|
|
3006
3072
|
} & RecordType>>;
|
|
@@ -3022,7 +3088,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3022
3088
|
};
|
|
3023
3089
|
rows: number;
|
|
3024
3090
|
autocomplete: string;
|
|
3025
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3091
|
+
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";
|
|
3026
3092
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3027
3093
|
step: string | number;
|
|
3028
3094
|
format: string | ProgressFn | undefined;
|
|
@@ -3049,6 +3115,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3049
3115
|
label?: string | undefined;
|
|
3050
3116
|
value?: string | undefined;
|
|
3051
3117
|
} | undefined;
|
|
3118
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3119
|
+
store?: any;
|
|
3120
|
+
method?: string | undefined;
|
|
3121
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3122
|
+
dictCode?: string | undefined;
|
|
3123
|
+
} | undefined;
|
|
3052
3124
|
readonly clearable: boolean;
|
|
3053
3125
|
readonly index: number;
|
|
3054
3126
|
} & {
|
|
@@ -3061,12 +3133,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3061
3133
|
fieldInstance?: any;
|
|
3062
3134
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3063
3135
|
prop: string;
|
|
3064
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3136
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3065
3137
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3066
|
-
tooltip: string |
|
|
3138
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3067
3139
|
style?: CSSProperties | undefined;
|
|
3068
3140
|
class?: any;
|
|
3069
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3141
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3070
3142
|
style?: CSSProperties | undefined;
|
|
3071
3143
|
class?: any;
|
|
3072
3144
|
} & RecordType>>;
|
|
@@ -3086,6 +3158,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3086
3158
|
label?: string | undefined;
|
|
3087
3159
|
value?: string | undefined;
|
|
3088
3160
|
} | undefined;
|
|
3161
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3162
|
+
store?: any;
|
|
3163
|
+
method?: string | undefined;
|
|
3164
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3165
|
+
dictCode?: string | undefined;
|
|
3166
|
+
} | undefined;
|
|
3089
3167
|
clearable: boolean;
|
|
3090
3168
|
index: number;
|
|
3091
3169
|
}) => any>> & {
|
|
@@ -3107,14 +3185,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3107
3185
|
handleUnfold: (e: MouseEvent) => void;
|
|
3108
3186
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3109
3187
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3110
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3188
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3111
3189
|
readonly label: string | ComputedRef<string>;
|
|
3112
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3190
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3113
3191
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3114
|
-
readonly tooltip: string |
|
|
3192
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3115
3193
|
style?: CSSProperties | undefined;
|
|
3116
3194
|
class?: any;
|
|
3117
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3195
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3118
3196
|
style?: CSSProperties | undefined;
|
|
3119
3197
|
class?: any;
|
|
3120
3198
|
} & RecordType>>;
|
|
@@ -3136,7 +3214,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3136
3214
|
};
|
|
3137
3215
|
rows: number;
|
|
3138
3216
|
autocomplete: string;
|
|
3139
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3217
|
+
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";
|
|
3140
3218
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3141
3219
|
step: string | number;
|
|
3142
3220
|
format: string | ProgressFn | undefined;
|
|
@@ -3163,6 +3241,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3163
3241
|
label?: string | undefined;
|
|
3164
3242
|
value?: string | undefined;
|
|
3165
3243
|
} | undefined;
|
|
3244
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3245
|
+
store?: any;
|
|
3246
|
+
method?: string | undefined;
|
|
3247
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3248
|
+
dictCode?: string | undefined;
|
|
3249
|
+
} | undefined;
|
|
3166
3250
|
readonly clearable: boolean;
|
|
3167
3251
|
readonly index: number;
|
|
3168
3252
|
} & {
|
|
@@ -3175,12 +3259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3175
3259
|
fieldInstance?: any;
|
|
3176
3260
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3177
3261
|
prop: string;
|
|
3178
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3262
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3179
3263
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3180
|
-
tooltip: string |
|
|
3264
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3181
3265
|
style?: CSSProperties | undefined;
|
|
3182
3266
|
class?: any;
|
|
3183
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3267
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3184
3268
|
style?: CSSProperties | undefined;
|
|
3185
3269
|
class?: any;
|
|
3186
3270
|
} & RecordType>>;
|
|
@@ -3200,6 +3284,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3200
3284
|
label?: string | undefined;
|
|
3201
3285
|
value?: string | undefined;
|
|
3202
3286
|
} | undefined;
|
|
3287
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
3288
|
+
store?: any;
|
|
3289
|
+
method?: string | undefined;
|
|
3290
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
3291
|
+
dictCode?: string | undefined;
|
|
3292
|
+
} | undefined;
|
|
3203
3293
|
clearable: boolean;
|
|
3204
3294
|
index: number;
|
|
3205
3295
|
}) => any>> & {
|
|
@@ -3637,9 +3727,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3637
3727
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3638
3728
|
__epPropKey: true;
|
|
3639
3729
|
};
|
|
3640
|
-
width: (
|
|
3641
|
-
height: (
|
|
3642
|
-
maxHeight: (
|
|
3730
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3731
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3732
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3643
3733
|
fit: {
|
|
3644
3734
|
type: BooleanConstructor;
|
|
3645
3735
|
default: boolean;
|
|
@@ -3663,13 +3753,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3663
3753
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3664
3754
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3665
3755
|
highlightCurrentRow: BooleanConstructor;
|
|
3666
|
-
currentRowKey: (
|
|
3756
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3667
3757
|
emptyText: StringConstructor;
|
|
3668
3758
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3669
3759
|
defaultExpandAll: BooleanConstructor;
|
|
3670
3760
|
defaultSort: PropType< Sort | undefined>;
|
|
3671
3761
|
tooltipEffect: StringConstructor;
|
|
3672
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3762
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3673
3763
|
spanMethod: PropType<((data: {
|
|
3674
3764
|
row: any;
|
|
3675
3765
|
rowIndex: number;
|
|
@@ -3713,7 +3803,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3713
3803
|
};
|
|
3714
3804
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3715
3805
|
flexible: BooleanConstructor;
|
|
3716
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3806
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3717
3807
|
}>> & {
|
|
3718
3808
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3719
3809
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3833,9 +3923,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3833
3923
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3834
3924
|
__epPropKey: true;
|
|
3835
3925
|
};
|
|
3836
|
-
width: (
|
|
3837
|
-
height: (
|
|
3838
|
-
maxHeight: (
|
|
3926
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3927
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3928
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3839
3929
|
fit: {
|
|
3840
3930
|
type: BooleanConstructor;
|
|
3841
3931
|
default: boolean;
|
|
@@ -3859,13 +3949,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3859
3949
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3860
3950
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3861
3951
|
highlightCurrentRow: BooleanConstructor;
|
|
3862
|
-
currentRowKey: (
|
|
3952
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3863
3953
|
emptyText: StringConstructor;
|
|
3864
3954
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3865
3955
|
defaultExpandAll: BooleanConstructor;
|
|
3866
3956
|
defaultSort: PropType< Sort | undefined>;
|
|
3867
3957
|
tooltipEffect: StringConstructor;
|
|
3868
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3958
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3869
3959
|
spanMethod: PropType<((data: {
|
|
3870
3960
|
row: any;
|
|
3871
3961
|
rowIndex: number;
|
|
@@ -3909,7 +3999,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3909
3999
|
};
|
|
3910
4000
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3911
4001
|
flexible: BooleanConstructor;
|
|
3912
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4002
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3913
4003
|
}>> & {
|
|
3914
4004
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3915
4005
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3968,9 +4058,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3968
4058
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3969
4059
|
__epPropKey: true;
|
|
3970
4060
|
};
|
|
3971
|
-
width: (
|
|
3972
|
-
height: (
|
|
3973
|
-
maxHeight: (
|
|
4061
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4062
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4063
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3974
4064
|
fit: {
|
|
3975
4065
|
type: BooleanConstructor;
|
|
3976
4066
|
default: boolean;
|
|
@@ -3994,13 +4084,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3994
4084
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3995
4085
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3996
4086
|
highlightCurrentRow: BooleanConstructor;
|
|
3997
|
-
currentRowKey: (
|
|
4087
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3998
4088
|
emptyText: StringConstructor;
|
|
3999
4089
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4000
4090
|
defaultExpandAll: BooleanConstructor;
|
|
4001
4091
|
defaultSort: PropType< Sort | undefined>;
|
|
4002
4092
|
tooltipEffect: StringConstructor;
|
|
4003
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4093
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4004
4094
|
spanMethod: PropType<((data: {
|
|
4005
4095
|
row: any;
|
|
4006
4096
|
rowIndex: number;
|
|
@@ -4044,7 +4134,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4044
4134
|
};
|
|
4045
4135
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4046
4136
|
flexible: BooleanConstructor;
|
|
4047
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4137
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4048
4138
|
}>> & {
|
|
4049
4139
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4050
4140
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4411,9 +4501,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4411
4501
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4412
4502
|
__epPropKey: true;
|
|
4413
4503
|
};
|
|
4414
|
-
width: (
|
|
4415
|
-
height: (
|
|
4416
|
-
maxHeight: (
|
|
4504
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4505
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4506
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4417
4507
|
fit: {
|
|
4418
4508
|
type: BooleanConstructor;
|
|
4419
4509
|
default: boolean;
|
|
@@ -4437,13 +4527,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4437
4527
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4438
4528
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4439
4529
|
highlightCurrentRow: BooleanConstructor;
|
|
4440
|
-
currentRowKey: (
|
|
4530
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4441
4531
|
emptyText: StringConstructor;
|
|
4442
4532
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4443
4533
|
defaultExpandAll: BooleanConstructor;
|
|
4444
4534
|
defaultSort: PropType< Sort | undefined>;
|
|
4445
4535
|
tooltipEffect: StringConstructor;
|
|
4446
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4536
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4447
4537
|
spanMethod: PropType<((data: {
|
|
4448
4538
|
row: any;
|
|
4449
4539
|
rowIndex: number;
|
|
@@ -4487,7 +4577,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4487
4577
|
};
|
|
4488
4578
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4489
4579
|
flexible: BooleanConstructor;
|
|
4490
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4580
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4491
4581
|
}>> & {
|
|
4492
4582
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4493
4583
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4607,9 +4697,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4607
4697
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4608
4698
|
__epPropKey: true;
|
|
4609
4699
|
};
|
|
4610
|
-
width: (
|
|
4611
|
-
height: (
|
|
4612
|
-
maxHeight: (
|
|
4700
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4701
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4702
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4613
4703
|
fit: {
|
|
4614
4704
|
type: BooleanConstructor;
|
|
4615
4705
|
default: boolean;
|
|
@@ -4633,13 +4723,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4633
4723
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4634
4724
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4635
4725
|
highlightCurrentRow: BooleanConstructor;
|
|
4636
|
-
currentRowKey: (
|
|
4726
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4637
4727
|
emptyText: StringConstructor;
|
|
4638
4728
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4639
4729
|
defaultExpandAll: BooleanConstructor;
|
|
4640
4730
|
defaultSort: PropType< Sort | undefined>;
|
|
4641
4731
|
tooltipEffect: StringConstructor;
|
|
4642
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4732
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4643
4733
|
spanMethod: PropType<((data: {
|
|
4644
4734
|
row: any;
|
|
4645
4735
|
rowIndex: number;
|
|
@@ -4683,7 +4773,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4683
4773
|
};
|
|
4684
4774
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4685
4775
|
flexible: BooleanConstructor;
|
|
4686
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4776
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4687
4777
|
}>> & {
|
|
4688
4778
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4689
4779
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4742,9 +4832,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4742
4832
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4743
4833
|
__epPropKey: true;
|
|
4744
4834
|
};
|
|
4745
|
-
width: (
|
|
4746
|
-
height: (
|
|
4747
|
-
maxHeight: (
|
|
4835
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4836
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4837
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4748
4838
|
fit: {
|
|
4749
4839
|
type: BooleanConstructor;
|
|
4750
4840
|
default: boolean;
|
|
@@ -4768,13 +4858,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4768
4858
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4769
4859
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4770
4860
|
highlightCurrentRow: BooleanConstructor;
|
|
4771
|
-
currentRowKey: (
|
|
4861
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4772
4862
|
emptyText: StringConstructor;
|
|
4773
4863
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4774
4864
|
defaultExpandAll: BooleanConstructor;
|
|
4775
4865
|
defaultSort: PropType< Sort | undefined>;
|
|
4776
4866
|
tooltipEffect: StringConstructor;
|
|
4777
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4867
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4778
4868
|
spanMethod: PropType<((data: {
|
|
4779
4869
|
row: any;
|
|
4780
4870
|
rowIndex: number;
|
|
@@ -4818,7 +4908,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4818
4908
|
};
|
|
4819
4909
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4820
4910
|
flexible: BooleanConstructor;
|
|
4821
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4911
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4822
4912
|
}>> & {
|
|
4823
4913
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4824
4914
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5038,7 +5128,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5038
5128
|
columns: PlusColumn[];
|
|
5039
5129
|
immediate: boolean;
|
|
5040
5130
|
params: RecordType;
|
|
5041
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
5131
|
+
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5042
5132
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5043
5133
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
5044
5134
|
isCard: boolean;
|
|
@@ -5059,14 +5149,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5059
5149
|
};
|
|
5060
5150
|
searchSlot: boolean;
|
|
5061
5151
|
}, {}>, Partial<Record<never, (_: {
|
|
5062
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5152
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5063
5153
|
readonly label: string | ComputedRef<string>;
|
|
5064
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5154
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5065
5155
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5066
|
-
readonly tooltip: string |
|
|
5156
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5067
5157
|
style?: CSSProperties | undefined;
|
|
5068
5158
|
class?: any;
|
|
5069
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5159
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5070
5160
|
style?: CSSProperties | undefined;
|
|
5071
5161
|
class?: any;
|
|
5072
5162
|
} & RecordType>>;
|
|
@@ -5088,7 +5178,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5088
5178
|
};
|
|
5089
5179
|
rows: number;
|
|
5090
5180
|
autocomplete: string;
|
|
5091
|
-
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
5181
|
+
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";
|
|
5092
5182
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5093
5183
|
step: string | number;
|
|
5094
5184
|
format: string | ProgressFn | undefined;
|
|
@@ -5115,6 +5205,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5115
5205
|
label?: string | undefined;
|
|
5116
5206
|
value?: string | undefined;
|
|
5117
5207
|
} | undefined;
|
|
5208
|
+
readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
5209
|
+
store?: any;
|
|
5210
|
+
method?: string | undefined;
|
|
5211
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
5212
|
+
dictCode?: string | undefined;
|
|
5213
|
+
} | undefined;
|
|
5118
5214
|
readonly clearable: boolean;
|
|
5119
5215
|
readonly index: number;
|
|
5120
5216
|
} & {
|
|
@@ -5127,12 +5223,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5127
5223
|
fieldInstance?: any;
|
|
5128
5224
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5129
5225
|
prop: string;
|
|
5130
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5226
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5131
5227
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5132
|
-
tooltip: string |
|
|
5228
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5133
5229
|
style?: CSSProperties | undefined;
|
|
5134
5230
|
class?: any;
|
|
5135
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5231
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5136
5232
|
style?: CSSProperties | undefined;
|
|
5137
5233
|
class?: any;
|
|
5138
5234
|
} & RecordType>>;
|
|
@@ -5152,6 +5248,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5152
5248
|
label?: string | undefined;
|
|
5153
5249
|
value?: string | undefined;
|
|
5154
5250
|
} | undefined;
|
|
5251
|
+
autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
|
|
5252
|
+
store?: any;
|
|
5253
|
+
method?: string | undefined;
|
|
5254
|
+
transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
|
|
5255
|
+
dictCode?: string | undefined;
|
|
5256
|
+
} | undefined;
|
|
5155
5257
|
clearable: boolean;
|
|
5156
5258
|
index: number;
|
|
5157
5259
|
}) => any>> & Partial<Record<never, (_: {
|