@wlydfe/pro-ui 0.2.24 → 0.2.27
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 +4 -4
- package/es/components/check-card/src/index.vue.d.ts +1 -1
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/descriptions/index.d.ts +19 -19
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +6 -6
- package/es/components/dialog-form/src/index.vue.d.ts +3 -3
- package/es/components/display-item/index.d.ts +25 -25
- package/es/components/display-item/src/index.vue.d.ts +7 -7
- package/es/components/drawer-form/index.d.ts +36 -36
- package/es/components/drawer-form/src/index.vue.d.ts +5 -5
- package/es/components/form/index.d.ts +88 -88
- package/es/components/form/src/form-content.vue.d.ts +9 -9
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +84 -84
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- package/es/components/input-tag/index.d.ts +6 -6
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +992 -992
- package/es/components/page/src/index.vue.d.ts +324 -324
- package/es/components/pagination/index.d.ts +27 -27
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/popover/index.d.ts +49 -49
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +10 -10
- package/es/components/radio/src/index.vue.d.ts +2 -2
- package/es/components/render/index.d.ts +14 -14
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +266 -266
- package/es/components/search/src/index.vue.d.ts +77 -77
- package/es/components/sidebar/index.d.ts +16 -16
- 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 +164 -164
- package/es/components/table/src/index.vue.d.ts +13 -13
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/es/components/table/src/table-column-index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +22 -22
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/index.css +12 -12
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- package/lib/components/check-card/index.d.ts +4 -4
- package/lib/components/check-card/src/index.vue.d.ts +1 -1
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/descriptions/index.d.ts +19 -19
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +6 -6
- package/lib/components/dialog-form/src/index.vue.d.ts +3 -3
- package/lib/components/display-item/index.d.ts +25 -25
- package/lib/components/display-item/src/index.vue.d.ts +7 -7
- package/lib/components/drawer-form/index.d.ts +36 -36
- package/lib/components/drawer-form/src/index.vue.d.ts +5 -5
- package/lib/components/form/index.d.ts +88 -88
- package/lib/components/form/src/form-content.vue.d.ts +9 -9
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +84 -84
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- package/lib/components/input-tag/index.d.ts +6 -6
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +992 -992
- package/lib/components/page/src/index.vue.d.ts +324 -324
- package/lib/components/pagination/index.d.ts +27 -27
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/popover/index.d.ts +49 -49
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +10 -10
- package/lib/components/radio/src/index.vue.d.ts +2 -2
- package/lib/components/render/index.d.ts +14 -14
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +266 -266
- package/lib/components/search/src/index.vue.d.ts +77 -77
- package/lib/components/sidebar/index.d.ts +16 -16
- 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 +164 -164
- package/lib/components/table/src/index.vue.d.ts +13 -13
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/lib/components/table/src/table-column-index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +22 -22
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/lib/{form.css → index.css} +13 -13
- 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
|
@@ -4,7 +4,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
4
4
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/plus-pro-components';
|
|
5
5
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
6
6
|
import { EpPropMergeType, EpPropFinalized, Arrayable } from 'element-plus/es/utils';
|
|
7
|
-
import { PropsItemType, Mutable, OmitTypes, CascaderProps, RenderTypes, OptionsRow,
|
|
7
|
+
import { PropsItemType, Mutable, OmitTypes, CascaderProps, RecordType, RenderTypes, OptionsRow, OptionsType, FieldValueType, PlusColumn, TableValueType, FormItemValueType } from '@wlydfe/pro-ui';
|
|
8
8
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormContext, FormItemContext, FormValidateFailure, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
9
9
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, Slot, DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
10
10
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
@@ -39,7 +39,7 @@ export declare const PlusFormItem: {
|
|
|
39
39
|
style: CSSProperties;
|
|
40
40
|
rows: number;
|
|
41
41
|
autocomplete: string;
|
|
42
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
42
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
43
43
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
44
44
|
step: string | number;
|
|
45
45
|
format: string | ProgressFn | undefined;
|
|
@@ -51,6 +51,10 @@ export declare const PlusFormItem: {
|
|
|
51
51
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>>;
|
|
52
52
|
default: () => {};
|
|
53
53
|
};
|
|
54
|
+
modelValue: {
|
|
55
|
+
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
54
58
|
fieldSlots: {
|
|
55
59
|
type: PropType<{
|
|
56
60
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -61,10 +65,6 @@ export declare const PlusFormItem: {
|
|
|
61
65
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
62
66
|
default: undefined;
|
|
63
67
|
};
|
|
64
|
-
modelValue: {
|
|
65
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
68
|
options: {
|
|
69
69
|
type: PropType<OptionsType>;
|
|
70
70
|
default: () => never[];
|
|
@@ -77,12 +77,19 @@ export declare const PlusFormItem: {
|
|
|
77
77
|
type: PropType<boolean>;
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
|
+
renderField: {
|
|
81
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
80
84
|
valueType: {
|
|
81
85
|
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
82
86
|
default: undefined;
|
|
83
87
|
};
|
|
84
|
-
|
|
85
|
-
type: PropType<
|
|
88
|
+
optionsMap: {
|
|
89
|
+
type: PropType<{
|
|
90
|
+
label?: string | undefined;
|
|
91
|
+
value?: string | undefined;
|
|
92
|
+
}>;
|
|
86
93
|
default: undefined;
|
|
87
94
|
};
|
|
88
95
|
renderLabel: {
|
|
@@ -97,16 +104,9 @@ export declare const PlusFormItem: {
|
|
|
97
104
|
}) => RenderTypes>;
|
|
98
105
|
default: undefined;
|
|
99
106
|
};
|
|
100
|
-
optionsMap: {
|
|
101
|
-
type: PropType<{
|
|
102
|
-
label?: string | undefined;
|
|
103
|
-
value?: string | undefined;
|
|
104
|
-
}>;
|
|
105
|
-
default: undefined;
|
|
106
|
-
};
|
|
107
107
|
}>> & {
|
|
108
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
109
108
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
109
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
110
110
|
}, {
|
|
111
111
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
112
112
|
readonly label: StringConstructor;
|
|
@@ -474,7 +474,7 @@ export declare const PlusFormItem: {
|
|
|
474
474
|
style: CSSProperties;
|
|
475
475
|
rows: number;
|
|
476
476
|
autocomplete: string;
|
|
477
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
477
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
478
478
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
479
479
|
step: string | number;
|
|
480
480
|
format: string | ProgressFn | undefined;
|
|
@@ -486,6 +486,10 @@ export declare const PlusFormItem: {
|
|
|
486
486
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>>;
|
|
487
487
|
default: () => {};
|
|
488
488
|
};
|
|
489
|
+
modelValue: {
|
|
490
|
+
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
491
|
+
default: string;
|
|
492
|
+
};
|
|
489
493
|
fieldSlots: {
|
|
490
494
|
type: PropType<{
|
|
491
495
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -496,10 +500,6 @@ export declare const PlusFormItem: {
|
|
|
496
500
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
497
501
|
default: undefined;
|
|
498
502
|
};
|
|
499
|
-
modelValue: {
|
|
500
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
501
|
-
default: string;
|
|
502
|
-
};
|
|
503
503
|
options: {
|
|
504
504
|
type: PropType<OptionsType>;
|
|
505
505
|
default: () => never[];
|
|
@@ -512,12 +512,19 @@ export declare const PlusFormItem: {
|
|
|
512
512
|
type: PropType<boolean>;
|
|
513
513
|
default: boolean;
|
|
514
514
|
};
|
|
515
|
+
renderField: {
|
|
516
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
517
|
+
default: undefined;
|
|
518
|
+
};
|
|
515
519
|
valueType: {
|
|
516
520
|
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
517
521
|
default: undefined;
|
|
518
522
|
};
|
|
519
|
-
|
|
520
|
-
type: PropType<
|
|
523
|
+
optionsMap: {
|
|
524
|
+
type: PropType<{
|
|
525
|
+
label?: string | undefined;
|
|
526
|
+
value?: string | undefined;
|
|
527
|
+
}>;
|
|
521
528
|
default: undefined;
|
|
522
529
|
};
|
|
523
530
|
renderLabel: {
|
|
@@ -532,16 +539,9 @@ export declare const PlusFormItem: {
|
|
|
532
539
|
}) => RenderTypes>;
|
|
533
540
|
default: undefined;
|
|
534
541
|
};
|
|
535
|
-
optionsMap: {
|
|
536
|
-
type: PropType<{
|
|
537
|
-
label?: string | undefined;
|
|
538
|
-
value?: string | undefined;
|
|
539
|
-
}>;
|
|
540
|
-
default: undefined;
|
|
541
|
-
};
|
|
542
542
|
}>> & {
|
|
543
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
544
543
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
544
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
545
545
|
}, {
|
|
546
546
|
label: string | ComputedRef<string>;
|
|
547
547
|
index: number;
|
|
@@ -555,7 +555,7 @@ export declare const PlusFormItem: {
|
|
|
555
555
|
style: CSSProperties;
|
|
556
556
|
rows: number;
|
|
557
557
|
autocomplete: string;
|
|
558
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
558
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
559
559
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
560
560
|
step: string | number;
|
|
561
561
|
format: string | ProgressFn | undefined;
|
|
@@ -565,26 +565,26 @@ export declare const PlusFormItem: {
|
|
|
565
565
|
height: string | number;
|
|
566
566
|
autosize: InputAutoSize;
|
|
567
567
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
568
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
568
569
|
fieldSlots: {
|
|
569
570
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
570
571
|
};
|
|
571
572
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
572
|
-
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
573
573
|
options: OptionsType;
|
|
574
574
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
575
575
|
clearable: boolean;
|
|
576
|
-
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
577
576
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
577
|
+
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
578
|
+
optionsMap: {
|
|
579
|
+
label?: string | undefined;
|
|
580
|
+
value?: string | undefined;
|
|
581
|
+
};
|
|
578
582
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
579
583
|
renderErrorMessage: (props: PlusColumn & {
|
|
580
584
|
value?: FieldValueType;
|
|
581
585
|
error?: string | undefined;
|
|
582
586
|
label?: string | undefined;
|
|
583
587
|
}) => RenderTypes;
|
|
584
|
-
optionsMap: {
|
|
585
|
-
label?: string | undefined;
|
|
586
|
-
value?: string | undefined;
|
|
587
|
-
};
|
|
588
588
|
}, true, {}, {}, {
|
|
589
589
|
P: {};
|
|
590
590
|
B: {};
|
|
@@ -622,7 +622,7 @@ export declare const PlusFormItem: {
|
|
|
622
622
|
style: CSSProperties;
|
|
623
623
|
rows: number;
|
|
624
624
|
autocomplete: string;
|
|
625
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
625
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
626
626
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
627
627
|
step: string | number;
|
|
628
628
|
format: string | ProgressFn | undefined;
|
|
@@ -634,6 +634,10 @@ export declare const PlusFormItem: {
|
|
|
634
634
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>>;
|
|
635
635
|
default: () => {};
|
|
636
636
|
};
|
|
637
|
+
modelValue: {
|
|
638
|
+
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
639
|
+
default: string;
|
|
640
|
+
};
|
|
637
641
|
fieldSlots: {
|
|
638
642
|
type: PropType<{
|
|
639
643
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -644,10 +648,6 @@ export declare const PlusFormItem: {
|
|
|
644
648
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
645
649
|
default: undefined;
|
|
646
650
|
};
|
|
647
|
-
modelValue: {
|
|
648
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
649
|
-
default: string;
|
|
650
|
-
};
|
|
651
651
|
options: {
|
|
652
652
|
type: PropType<OptionsType>;
|
|
653
653
|
default: () => never[];
|
|
@@ -660,12 +660,19 @@ export declare const PlusFormItem: {
|
|
|
660
660
|
type: PropType<boolean>;
|
|
661
661
|
default: boolean;
|
|
662
662
|
};
|
|
663
|
+
renderField: {
|
|
664
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
665
|
+
default: undefined;
|
|
666
|
+
};
|
|
663
667
|
valueType: {
|
|
664
668
|
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
665
669
|
default: undefined;
|
|
666
670
|
};
|
|
667
|
-
|
|
668
|
-
type: PropType<
|
|
671
|
+
optionsMap: {
|
|
672
|
+
type: PropType<{
|
|
673
|
+
label?: string | undefined;
|
|
674
|
+
value?: string | undefined;
|
|
675
|
+
}>;
|
|
669
676
|
default: undefined;
|
|
670
677
|
};
|
|
671
678
|
renderLabel: {
|
|
@@ -680,16 +687,9 @@ export declare const PlusFormItem: {
|
|
|
680
687
|
}) => RenderTypes>;
|
|
681
688
|
default: undefined;
|
|
682
689
|
};
|
|
683
|
-
optionsMap: {
|
|
684
|
-
type: PropType<{
|
|
685
|
-
label?: string | undefined;
|
|
686
|
-
value?: string | undefined;
|
|
687
|
-
}>;
|
|
688
|
-
default: undefined;
|
|
689
|
-
};
|
|
690
690
|
}>> & {
|
|
691
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
692
691
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
692
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
693
693
|
}, {
|
|
694
694
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
695
695
|
readonly label: StringConstructor;
|
|
@@ -1037,7 +1037,7 @@ export declare const PlusFormItem: {
|
|
|
1037
1037
|
style: CSSProperties;
|
|
1038
1038
|
rows: number;
|
|
1039
1039
|
autocomplete: string;
|
|
1040
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1040
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
1041
1041
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1042
1042
|
step: string | number;
|
|
1043
1043
|
format: string | ProgressFn | undefined;
|
|
@@ -1047,26 +1047,26 @@ export declare const PlusFormItem: {
|
|
|
1047
1047
|
height: string | number;
|
|
1048
1048
|
autosize: InputAutoSize;
|
|
1049
1049
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1050
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1050
1051
|
fieldSlots: {
|
|
1051
1052
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1052
1053
|
};
|
|
1053
1054
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1054
|
-
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1055
1055
|
options: OptionsType;
|
|
1056
1056
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1057
1057
|
clearable: boolean;
|
|
1058
|
-
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1059
1058
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1059
|
+
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1060
|
+
optionsMap: {
|
|
1061
|
+
label?: string | undefined;
|
|
1062
|
+
value?: string | undefined;
|
|
1063
|
+
};
|
|
1060
1064
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1061
1065
|
renderErrorMessage: (props: PlusColumn & {
|
|
1062
1066
|
value?: FieldValueType;
|
|
1063
1067
|
error?: string | undefined;
|
|
1064
1068
|
label?: string | undefined;
|
|
1065
1069
|
}) => RenderTypes;
|
|
1066
|
-
optionsMap: {
|
|
1067
|
-
label?: string | undefined;
|
|
1068
|
-
value?: string | undefined;
|
|
1069
|
-
};
|
|
1070
1070
|
}>;
|
|
1071
1071
|
__isFragment?: undefined;
|
|
1072
1072
|
__isTeleport?: undefined;
|
|
@@ -1101,7 +1101,7 @@ export declare const PlusFormItem: {
|
|
|
1101
1101
|
style: CSSProperties;
|
|
1102
1102
|
rows: number;
|
|
1103
1103
|
autocomplete: string;
|
|
1104
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1104
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
1105
1105
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1106
1106
|
step: string | number;
|
|
1107
1107
|
format: string | ProgressFn | undefined;
|
|
@@ -1113,6 +1113,10 @@ export declare const PlusFormItem: {
|
|
|
1113
1113
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>>;
|
|
1114
1114
|
default: () => {};
|
|
1115
1115
|
};
|
|
1116
|
+
modelValue: {
|
|
1117
|
+
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
1118
|
+
default: string;
|
|
1119
|
+
};
|
|
1116
1120
|
fieldSlots: {
|
|
1117
1121
|
type: PropType<{
|
|
1118
1122
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1123,10 +1127,6 @@ export declare const PlusFormItem: {
|
|
|
1123
1127
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
1124
1128
|
default: undefined;
|
|
1125
1129
|
};
|
|
1126
|
-
modelValue: {
|
|
1127
|
-
type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
|
|
1128
|
-
default: string;
|
|
1129
|
-
};
|
|
1130
1130
|
options: {
|
|
1131
1131
|
type: PropType<OptionsType>;
|
|
1132
1132
|
default: () => never[];
|
|
@@ -1139,12 +1139,19 @@ export declare const PlusFormItem: {
|
|
|
1139
1139
|
type: PropType<boolean>;
|
|
1140
1140
|
default: boolean;
|
|
1141
1141
|
};
|
|
1142
|
+
renderField: {
|
|
1143
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
1144
|
+
default: undefined;
|
|
1145
|
+
};
|
|
1142
1146
|
valueType: {
|
|
1143
1147
|
type: PropType< TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2">;
|
|
1144
1148
|
default: undefined;
|
|
1145
1149
|
};
|
|
1146
|
-
|
|
1147
|
-
type: PropType<
|
|
1150
|
+
optionsMap: {
|
|
1151
|
+
type: PropType<{
|
|
1152
|
+
label?: string | undefined;
|
|
1153
|
+
value?: string | undefined;
|
|
1154
|
+
}>;
|
|
1148
1155
|
default: undefined;
|
|
1149
1156
|
};
|
|
1150
1157
|
renderLabel: {
|
|
@@ -1159,16 +1166,9 @@ export declare const PlusFormItem: {
|
|
|
1159
1166
|
}) => RenderTypes>;
|
|
1160
1167
|
default: undefined;
|
|
1161
1168
|
};
|
|
1162
|
-
optionsMap: {
|
|
1163
|
-
type: PropType<{
|
|
1164
|
-
label?: string | undefined;
|
|
1165
|
-
value?: string | undefined;
|
|
1166
|
-
}>;
|
|
1167
|
-
default: undefined;
|
|
1168
|
-
};
|
|
1169
1169
|
}>> & {
|
|
1170
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1171
1170
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1171
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1172
1172
|
}, {
|
|
1173
1173
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
1174
1174
|
readonly label: StringConstructor;
|
|
@@ -1519,7 +1519,7 @@ export declare const PlusFormItem: {
|
|
|
1519
1519
|
style: CSSProperties;
|
|
1520
1520
|
rows: number;
|
|
1521
1521
|
autocomplete: string;
|
|
1522
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1522
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
1523
1523
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1524
1524
|
step: string | number;
|
|
1525
1525
|
format: string | ProgressFn | undefined;
|
|
@@ -1529,26 +1529,26 @@ export declare const PlusFormItem: {
|
|
|
1529
1529
|
height: string | number;
|
|
1530
1530
|
autosize: InputAutoSize;
|
|
1531
1531
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1532
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1532
1533
|
fieldSlots: {
|
|
1533
1534
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1534
1535
|
};
|
|
1535
1536
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1536
|
-
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1537
1537
|
options: OptionsType;
|
|
1538
1538
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1539
1539
|
clearable: boolean;
|
|
1540
|
-
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1541
1540
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1541
|
+
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
1542
|
+
optionsMap: {
|
|
1543
|
+
label?: string | undefined;
|
|
1544
|
+
value?: string | undefined;
|
|
1545
|
+
};
|
|
1542
1546
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1543
1547
|
renderErrorMessage: (props: PlusColumn & {
|
|
1544
1548
|
value?: FieldValueType;
|
|
1545
1549
|
error?: string | undefined;
|
|
1546
1550
|
label?: string | undefined;
|
|
1547
1551
|
}) => RenderTypes;
|
|
1548
|
-
optionsMap: {
|
|
1549
|
-
label?: string | undefined;
|
|
1550
|
-
value?: string | undefined;
|
|
1551
|
-
};
|
|
1552
1552
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1553
1553
|
$slots: Partial<Record<string, (_: {
|
|
1554
1554
|
label: string;
|
|
@@ -1580,7 +1580,7 @@ export declare const PlusFormItem: {
|
|
|
1580
1580
|
clearable: boolean;
|
|
1581
1581
|
index: number;
|
|
1582
1582
|
}) => any>> & Partial<Record<string, (_: {
|
|
1583
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1583
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
1584
1584
|
readonly label: string | ComputedRef<string>;
|
|
1585
1585
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1586
1586
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1594,7 +1594,7 @@ export declare const PlusFormItem: {
|
|
|
1594
1594
|
style: CSSProperties;
|
|
1595
1595
|
rows: number;
|
|
1596
1596
|
autocomplete: string;
|
|
1597
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1597
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
1598
1598
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1599
1599
|
step: string | number;
|
|
1600
1600
|
format: string | ProgressFn | undefined;
|
|
@@ -410,8 +410,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
410
410
|
clearable: boolean;
|
|
411
411
|
index: number;
|
|
412
412
|
}>>> & {
|
|
413
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
414
413
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
414
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
label: string | ComputedRef<string>;
|
|
417
417
|
index: number;
|
|
@@ -425,7 +425,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
425
425
|
style: CSSProperties;
|
|
426
426
|
rows: number;
|
|
427
427
|
autocomplete: string;
|
|
428
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
428
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
429
429
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
430
430
|
step: string | number;
|
|
431
431
|
format: string | ProgressFn | undefined;
|
|
@@ -435,26 +435,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
435
435
|
height: string | number;
|
|
436
436
|
autosize: InputAutoSize;
|
|
437
437
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
438
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
438
439
|
fieldSlots: {
|
|
439
440
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
440
441
|
};
|
|
441
442
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
442
|
-
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
443
443
|
options: OptionsType;
|
|
444
444
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
445
445
|
clearable: boolean;
|
|
446
|
-
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
447
446
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
447
|
+
valueType: TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "select" | "slider" | "switch" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
448
|
+
optionsMap: {
|
|
449
|
+
label?: string | undefined;
|
|
450
|
+
value?: string | undefined;
|
|
451
|
+
};
|
|
448
452
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
449
453
|
renderErrorMessage: (props: PlusColumn & {
|
|
450
454
|
value?: FieldValueType;
|
|
451
455
|
error?: string | undefined;
|
|
452
456
|
label?: string | undefined;
|
|
453
457
|
}) => RenderTypes;
|
|
454
|
-
optionsMap: {
|
|
455
|
-
label?: string | undefined;
|
|
456
|
-
value?: string | undefined;
|
|
457
|
-
};
|
|
458
458
|
}, {}>, Partial<Record<string, (_: {
|
|
459
459
|
label: string;
|
|
460
460
|
fieldProps: RecordType;
|
|
@@ -485,7 +485,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
485
485
|
clearable: boolean;
|
|
486
486
|
index: number;
|
|
487
487
|
}) => any>> & Partial<Record<string, (_: {
|
|
488
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
488
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
489
489
|
readonly label: string | ComputedRef<string>;
|
|
490
490
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
491
491
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -499,7 +499,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
499
499
|
style: CSSProperties;
|
|
500
500
|
rows: number;
|
|
501
501
|
autocomplete: string;
|
|
502
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
502
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
503
503
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
504
504
|
step: string | number;
|
|
505
505
|
format: string | ProgressFn | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
trigger: {
|
|
15
|
-
type: PropType<("blur" | "
|
|
15
|
+
type: PropType<("blur" | "enter" | "space") | ("blur" | "enter" | "space")[]>;
|
|
16
16
|
default: () => string[];
|
|
17
17
|
};
|
|
18
18
|
modelValue: {
|
|
@@ -1202,7 +1202,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1202
1202
|
default: boolean;
|
|
1203
1203
|
};
|
|
1204
1204
|
trigger: {
|
|
1205
|
-
type: PropType<("blur" | "
|
|
1205
|
+
type: PropType<("blur" | "enter" | "space") | ("blur" | "enter" | "space")[]>;
|
|
1206
1206
|
default: () => string[];
|
|
1207
1207
|
};
|
|
1208
1208
|
modelValue: {
|
|
@@ -1231,14 +1231,14 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1231
1231
|
};
|
|
1232
1232
|
}>> & {
|
|
1233
1233
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
1234
|
-
onChange?: ((data: string[]) => any) | undefined;
|
|
1235
1234
|
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1236
|
-
|
|
1237
|
-
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1235
|
+
onChange?: ((data: string[]) => any) | undefined;
|
|
1238
1236
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1237
|
+
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1238
|
+
onRemove?: ((tag: string) => any) | undefined;
|
|
1239
1239
|
}, {
|
|
1240
1240
|
disabled: boolean;
|
|
1241
|
-
trigger: ("blur" | "
|
|
1241
|
+
trigger: ("blur" | "enter" | "space") | ("blur" | "enter" | "space")[];
|
|
1242
1242
|
modelValue: string[];
|
|
1243
1243
|
inputProps: Partial< Mutable<InputProps>>;
|
|
1244
1244
|
tagProps: Partial< Mutable<TagProps>>;
|
|
@@ -1208,11 +1208,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
1208
1208
|
retainInputValue: boolean;
|
|
1209
1209
|
}>>> & {
|
|
1210
1210
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
1211
|
-
onChange?: ((data: string[]) => any) | undefined;
|
|
1212
1211
|
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1213
|
-
|
|
1214
|
-
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1212
|
+
onChange?: ((data: string[]) => any) | undefined;
|
|
1215
1213
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1214
|
+
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1215
|
+
onRemove?: ((tag: string) => any) | undefined;
|
|
1216
1216
|
}, {
|
|
1217
1217
|
disabled: boolean;
|
|
1218
1218
|
trigger: TriggerType | TriggerType[];
|