@wlydfe/pro-ui 0.2.7 → 0.2.9
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/README.md +119 -119
- 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/display-item/src/index.vue2.mjs +3 -0
- 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/src/index.vue2.mjs +5 -5
- package/es/components/form-item/index.d.ts +84 -84
- package/es/components/form-item/src/index.vue.d.ts +16 -12
- 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 +1039 -994
- package/es/components/page/src/index.vue.d.ts +361 -374
- package/es/components/page/src/index.vue2.mjs +10 -3
- 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/search/src/index.vue2.mjs +1 -1
- 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 +183 -164
- package/es/components/table/src/index.vue.d.ts +16 -13
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/es/components/table/src/table-action-bar.vue2.mjs +3 -1
- 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-index.vue2.mjs +1 -1
- package/es/components/table/src/table-column.vue.d.ts +25 -43
- package/es/components/table/src/table-column.vue2.mjs +8 -1
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/components/table/src/type.d.ts +2 -0
- package/es/index.css +8 -8
- package/global.d.ts +29 -29
- package/index.js +35 -14
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +35 -14
- 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/display-item/src/index.vue2.js +3 -0
- 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/src/index.vue2.js +5 -5
- package/lib/components/form-item/index.d.ts +84 -84
- package/lib/components/form-item/src/index.vue.d.ts +16 -12
- 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 +1039 -994
- package/lib/components/page/src/index.vue.d.ts +361 -374
- package/lib/components/page/src/index.vue2.js +9 -2
- 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/search/src/index.vue2.js +1 -1
- 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 +183 -164
- package/lib/components/table/src/index.vue.d.ts +16 -13
- package/lib/components/table/src/index.vue2.js +4 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/lib/components/table/src/table-action-bar.vue2.js +3 -1
- 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-index.vue2.js +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +25 -43
- package/lib/components/table/src/table-column.vue2.js +8 -1
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/lib/components/table/src/type.d.ts +2 -0
- package/lib/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
- package/theme-chalk/src/breadcrumb.scss +9 -9
- package/theme-chalk/src/date-picker.scss +96 -96
- package/theme-chalk/src/descriptions.scss +41 -41
- package/theme-chalk/src/display-item.scss +82 -82
- package/theme-chalk/src/drawer-form.scss +16 -16
- package/theme-chalk/src/form.scss +34 -34
- package/theme-chalk/src/input-tag.scss +91 -91
- package/theme-chalk/src/layout.scss +36 -36
- package/theme-chalk/src/mixins/function.scss +73 -73
- package/theme-chalk/src/search.scss +49 -49
- package/theme-chalk/src/sidebar.scss +93 -93
- package/theme-chalk/src/table.scss +170 -170
- package/theme-chalk/src/var/index.scss +6 -6
|
@@ -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,
|
|
7
|
+
import { PropsItemType, Mutable, OmitTypes, CascaderProps, RenderTypes, OptionsRow, RecordType, OptionsType, TableValueType, FieldValueType, PlusColumn, 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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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,10 +51,6 @@ 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
|
-
};
|
|
58
54
|
fieldSlots: {
|
|
59
55
|
type: PropType<{
|
|
60
56
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -65,6 +61,10 @@ export declare const PlusFormItem: {
|
|
|
65
61
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
66
62
|
default: undefined;
|
|
67
63
|
};
|
|
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,19 +77,12 @@ 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
|
-
};
|
|
84
80
|
valueType: {
|
|
85
81
|
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">;
|
|
86
82
|
default: undefined;
|
|
87
83
|
};
|
|
88
|
-
|
|
89
|
-
type: PropType<
|
|
90
|
-
label?: string | undefined;
|
|
91
|
-
value?: string | undefined;
|
|
92
|
-
}>;
|
|
84
|
+
renderField: {
|
|
85
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
93
86
|
default: undefined;
|
|
94
87
|
};
|
|
95
88
|
renderLabel: {
|
|
@@ -104,9 +97,16 @@ export declare const PlusFormItem: {
|
|
|
104
97
|
}) => RenderTypes>;
|
|
105
98
|
default: undefined;
|
|
106
99
|
};
|
|
100
|
+
optionsMap: {
|
|
101
|
+
type: PropType<{
|
|
102
|
+
label?: string | undefined;
|
|
103
|
+
value?: string | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
default: undefined;
|
|
106
|
+
};
|
|
107
107
|
}>> & {
|
|
108
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
109
108
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
109
|
+
"onUpdate:modelValue"?: ((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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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,10 +486,6 @@ 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
|
-
};
|
|
493
489
|
fieldSlots: {
|
|
494
490
|
type: PropType<{
|
|
495
491
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -500,6 +496,10 @@ export declare const PlusFormItem: {
|
|
|
500
496
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
501
497
|
default: undefined;
|
|
502
498
|
};
|
|
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,19 +512,12 @@ 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
|
-
};
|
|
519
515
|
valueType: {
|
|
520
516
|
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">;
|
|
521
517
|
default: undefined;
|
|
522
518
|
};
|
|
523
|
-
|
|
524
|
-
type: PropType<
|
|
525
|
-
label?: string | undefined;
|
|
526
|
-
value?: string | undefined;
|
|
527
|
-
}>;
|
|
519
|
+
renderField: {
|
|
520
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
528
521
|
default: undefined;
|
|
529
522
|
};
|
|
530
523
|
renderLabel: {
|
|
@@ -539,9 +532,16 @@ export declare const PlusFormItem: {
|
|
|
539
532
|
}) => RenderTypes>;
|
|
540
533
|
default: undefined;
|
|
541
534
|
};
|
|
535
|
+
optionsMap: {
|
|
536
|
+
type: PropType<{
|
|
537
|
+
label?: string | undefined;
|
|
538
|
+
value?: string | undefined;
|
|
539
|
+
}>;
|
|
540
|
+
default: undefined;
|
|
541
|
+
};
|
|
542
542
|
}>> & {
|
|
543
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
544
543
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
544
|
+
"onUpdate:modelValue"?: ((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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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;
|
|
569
568
|
fieldSlots: {
|
|
570
569
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
571
570
|
};
|
|
572
571
|
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
|
-
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
577
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";
|
|
578
|
-
|
|
579
|
-
label?: string | undefined;
|
|
580
|
-
value?: string | undefined;
|
|
581
|
-
};
|
|
577
|
+
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
582
578
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
583
579
|
renderErrorMessage: (props: PlusColumn & {
|
|
584
580
|
value?: FieldValueType;
|
|
585
581
|
error?: string | undefined;
|
|
586
582
|
label?: string | undefined;
|
|
587
583
|
}) => 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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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,10 +634,6 @@ 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
|
-
};
|
|
641
637
|
fieldSlots: {
|
|
642
638
|
type: PropType<{
|
|
643
639
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -648,6 +644,10 @@ export declare const PlusFormItem: {
|
|
|
648
644
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
649
645
|
default: undefined;
|
|
650
646
|
};
|
|
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,19 +660,12 @@ 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
|
-
};
|
|
667
663
|
valueType: {
|
|
668
664
|
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">;
|
|
669
665
|
default: undefined;
|
|
670
666
|
};
|
|
671
|
-
|
|
672
|
-
type: PropType<
|
|
673
|
-
label?: string | undefined;
|
|
674
|
-
value?: string | undefined;
|
|
675
|
-
}>;
|
|
667
|
+
renderField: {
|
|
668
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
676
669
|
default: undefined;
|
|
677
670
|
};
|
|
678
671
|
renderLabel: {
|
|
@@ -687,9 +680,16 @@ export declare const PlusFormItem: {
|
|
|
687
680
|
}) => RenderTypes>;
|
|
688
681
|
default: undefined;
|
|
689
682
|
};
|
|
683
|
+
optionsMap: {
|
|
684
|
+
type: PropType<{
|
|
685
|
+
label?: string | undefined;
|
|
686
|
+
value?: string | undefined;
|
|
687
|
+
}>;
|
|
688
|
+
default: undefined;
|
|
689
|
+
};
|
|
690
690
|
}>> & {
|
|
691
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
692
691
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
692
|
+
"onUpdate:modelValue"?: ((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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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;
|
|
1051
1050
|
fieldSlots: {
|
|
1052
1051
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1053
1052
|
};
|
|
1054
1053
|
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
|
-
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1059
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";
|
|
1060
|
-
|
|
1061
|
-
label?: string | undefined;
|
|
1062
|
-
value?: string | undefined;
|
|
1063
|
-
};
|
|
1059
|
+
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1064
1060
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1065
1061
|
renderErrorMessage: (props: PlusColumn & {
|
|
1066
1062
|
value?: FieldValueType;
|
|
1067
1063
|
error?: string | undefined;
|
|
1068
1064
|
label?: string | undefined;
|
|
1069
1065
|
}) => 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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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,10 +1113,6 @@ 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
|
-
};
|
|
1120
1116
|
fieldSlots: {
|
|
1121
1117
|
type: PropType<{
|
|
1122
1118
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1127,6 +1123,10 @@ export declare const PlusFormItem: {
|
|
|
1127
1123
|
type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
|
|
1128
1124
|
default: undefined;
|
|
1129
1125
|
};
|
|
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,19 +1139,12 @@ 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
|
-
};
|
|
1146
1142
|
valueType: {
|
|
1147
1143
|
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">;
|
|
1148
1144
|
default: undefined;
|
|
1149
1145
|
};
|
|
1150
|
-
|
|
1151
|
-
type: PropType<
|
|
1152
|
-
label?: string | undefined;
|
|
1153
|
-
value?: string | undefined;
|
|
1154
|
-
}>;
|
|
1146
|
+
renderField: {
|
|
1147
|
+
type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
|
|
1155
1148
|
default: undefined;
|
|
1156
1149
|
};
|
|
1157
1150
|
renderLabel: {
|
|
@@ -1166,9 +1159,16 @@ export declare const PlusFormItem: {
|
|
|
1166
1159
|
}) => RenderTypes>;
|
|
1167
1160
|
default: undefined;
|
|
1168
1161
|
};
|
|
1162
|
+
optionsMap: {
|
|
1163
|
+
type: PropType<{
|
|
1164
|
+
label?: string | undefined;
|
|
1165
|
+
value?: string | undefined;
|
|
1166
|
+
}>;
|
|
1167
|
+
default: undefined;
|
|
1168
|
+
};
|
|
1169
1169
|
}>> & {
|
|
1170
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1171
1170
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1171
|
+
"onUpdate:modelValue"?: ((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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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;
|
|
1533
1532
|
fieldSlots: {
|
|
1534
1533
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1535
1534
|
};
|
|
1536
1535
|
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
|
-
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1541
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";
|
|
1542
|
-
|
|
1543
|
-
label?: string | undefined;
|
|
1544
|
-
value?: string | undefined;
|
|
1545
|
-
};
|
|
1541
|
+
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
1546
1542
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
1547
1543
|
renderErrorMessage: (props: PlusColumn & {
|
|
1548
1544
|
value?: FieldValueType;
|
|
1549
1545
|
error?: string | undefined;
|
|
1550
1546
|
label?: string | undefined;
|
|
1551
1547
|
}) => 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" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
414
413
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
414
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
label: string | ComputedRef<string>;
|
|
417
417
|
index: number;
|
|
@@ -423,9 +423,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
423
423
|
fieldProps: PropsItemType<Partial<{
|
|
424
424
|
[key: string]: any;
|
|
425
425
|
style: CSSProperties;
|
|
426
|
-
rows: number;
|
|
426
|
+
rows: number; /**
|
|
427
|
+
* @version v0.1.18
|
|
428
|
+
*/
|
|
427
429
|
autocomplete: string;
|
|
428
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
430
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
429
431
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
430
432
|
step: string | number;
|
|
431
433
|
format: string | ProgressFn | undefined;
|
|
@@ -435,26 +437,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
435
437
|
height: string | number;
|
|
436
438
|
autosize: InputAutoSize;
|
|
437
439
|
} & 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;
|
|
439
440
|
fieldSlots: {
|
|
440
441
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
441
442
|
};
|
|
442
443
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
444
|
+
modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
443
445
|
options: OptionsType;
|
|
444
446
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
445
447
|
clearable: boolean;
|
|
446
|
-
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
447
448
|
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
|
-
|
|
449
|
-
label?: string | undefined;
|
|
450
|
-
value?: string | undefined;
|
|
451
|
-
};
|
|
449
|
+
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
452
450
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
453
451
|
renderErrorMessage: (props: PlusColumn & {
|
|
454
452
|
value?: FieldValueType;
|
|
455
453
|
error?: string | undefined;
|
|
456
454
|
label?: string | undefined;
|
|
457
455
|
}) => RenderTypes;
|
|
456
|
+
optionsMap: {
|
|
457
|
+
label?: string | undefined;
|
|
458
|
+
value?: string | undefined;
|
|
459
|
+
};
|
|
458
460
|
}, {}>, Partial<Record<string, (_: {
|
|
459
461
|
label: string;
|
|
460
462
|
fieldProps: RecordType;
|
|
@@ -485,7 +487,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
485
487
|
clearable: boolean;
|
|
486
488
|
index: number;
|
|
487
489
|
}) => any>> & Partial<Record<string, (_: {
|
|
488
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
490
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
489
491
|
readonly label: string | ComputedRef<string>;
|
|
490
492
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
491
493
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -497,9 +499,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
497
499
|
readonly fieldProps: PropsItemType<Partial<{
|
|
498
500
|
[key: string]: any;
|
|
499
501
|
style: CSSProperties;
|
|
500
|
-
rows: number;
|
|
502
|
+
rows: number; /**
|
|
503
|
+
* @version v0.1.18
|
|
504
|
+
*/
|
|
501
505
|
autocomplete: string;
|
|
502
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
506
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
503
507
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
504
508
|
step: string | number;
|
|
505
509
|
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" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
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" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
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
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1235
1234
|
onChange?: ((data: string[]) => any) | undefined;
|
|
1236
|
-
|
|
1237
|
-
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1235
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1238
1236
|
onRemove?: ((tag: string) => any) | undefined;
|
|
1237
|
+
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1238
|
+
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1239
1239
|
}, {
|
|
1240
1240
|
disabled: boolean;
|
|
1241
|
-
trigger: ("blur" | "
|
|
1241
|
+
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
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
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1212
1211
|
onChange?: ((data: string[]) => any) | undefined;
|
|
1213
|
-
|
|
1214
|
-
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1212
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1215
1213
|
onRemove?: ((tag: string) => any) | undefined;
|
|
1214
|
+
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1215
|
+
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1216
1216
|
}, {
|
|
1217
1217
|
disabled: boolean;
|
|
1218
1218
|
trigger: TriggerType | TriggerType[];
|