yc-pro-components 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/display-item/src/index.vue2.mjs +18 -5
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +22 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +519 -455
- package/es/components/page/src/index.vue.d.ts +198 -203
- package/es/components/page/src/index.vue2.mjs +4 -2
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +154 -154
- package/es/components/search/src/index.vue.d.ts +50 -50
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +73 -54
- package/es/components/table/src/index.vue.d.ts +21 -18
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/table/src/type.d.ts +9 -0
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +424 -364
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/constants/form.d.ts +5 -0
- package/es/constants/form.mjs +2 -1
- package/es/constants/index.mjs +1 -1
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.mjs +1 -1
- package/es/types/plus.d.ts +29 -0
- package/index.js +26 -7
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +26 -8
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/display-item/src/index.vue2.js +16 -3
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +22 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +519 -455
- package/lib/components/page/src/index.vue.d.ts +198 -203
- package/lib/components/page/src/index.vue2.js +4 -2
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +154 -154
- package/lib/components/search/src/index.vue.d.ts +50 -50
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +73 -54
- package/lib/components/table/src/index.vue.d.ts +21 -18
- package/lib/components/table/src/index.vue2.js +3 -1
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/table/src/type.d.ts +9 -0
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +424 -364
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/constants/form.d.ts +5 -0
- package/lib/constants/form.js +2 -0
- package/lib/constants/index.js +1 -0
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.js +1 -0
- package/lib/types/plus.d.ts +29 -0
- 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 { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
5
5
|
import { EpPropMergeType, EpPropFinalized, Arrayable } from 'element-plus/es/utils';
|
|
6
6
|
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';
|
|
7
|
-
import {
|
|
7
|
+
import { RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'packages/yc-components';
|
|
8
8
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, Slot, DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
9
9
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
10
10
|
export declare const PlusFormItem: {
|
|
@@ -13,6 +13,10 @@ export declare const PlusFormItem: {
|
|
|
13
13
|
type: PropType<number>;
|
|
14
14
|
default: number;
|
|
15
15
|
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
label: {
|
|
17
21
|
type: PropType<string | ComputedRef<string>>;
|
|
18
22
|
default: string;
|
|
@@ -22,10 +26,10 @@ export declare const PlusFormItem: {
|
|
|
22
26
|
required: true;
|
|
23
27
|
};
|
|
24
28
|
tooltip: {
|
|
25
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
29
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
26
30
|
style?: CSSProperties | undefined;
|
|
27
31
|
class?: any;
|
|
28
|
-
} & RecordType> | ComputedRef<
|
|
32
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
29
33
|
style?: CSSProperties | undefined;
|
|
30
34
|
class?: any;
|
|
31
35
|
} & RecordType>>>;
|
|
@@ -69,10 +73,6 @@ export declare const PlusFormItem: {
|
|
|
69
73
|
type: PropType<OptionsType>;
|
|
70
74
|
default: () => never[];
|
|
71
75
|
};
|
|
72
|
-
modelValue: {
|
|
73
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
76
|
fieldSlots: {
|
|
77
77
|
type: PropType<{
|
|
78
78
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -128,8 +128,8 @@ export declare const PlusFormItem: {
|
|
|
128
128
|
default: undefined;
|
|
129
129
|
};
|
|
130
130
|
}>> & {
|
|
131
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
132
131
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
132
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
135
135
|
readonly label: StringConstructor;
|
|
@@ -472,6 +472,10 @@ export declare const PlusFormItem: {
|
|
|
472
472
|
type: PropType<number>;
|
|
473
473
|
default: number;
|
|
474
474
|
};
|
|
475
|
+
modelValue: {
|
|
476
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
477
|
+
default: string;
|
|
478
|
+
};
|
|
475
479
|
label: {
|
|
476
480
|
type: PropType<string | ComputedRef<string>>;
|
|
477
481
|
default: string;
|
|
@@ -481,10 +485,10 @@ export declare const PlusFormItem: {
|
|
|
481
485
|
required: true;
|
|
482
486
|
};
|
|
483
487
|
tooltip: {
|
|
484
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
488
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
485
489
|
style?: CSSProperties | undefined;
|
|
486
490
|
class?: any;
|
|
487
|
-
} & RecordType> | ComputedRef<
|
|
491
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
488
492
|
style?: CSSProperties | undefined;
|
|
489
493
|
class?: any;
|
|
490
494
|
} & RecordType>>>;
|
|
@@ -528,10 +532,6 @@ export declare const PlusFormItem: {
|
|
|
528
532
|
type: PropType<OptionsType>;
|
|
529
533
|
default: () => never[];
|
|
530
534
|
};
|
|
531
|
-
modelValue: {
|
|
532
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
533
|
-
default: string;
|
|
534
|
-
};
|
|
535
535
|
fieldSlots: {
|
|
536
536
|
type: PropType<{
|
|
537
537
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -587,10 +587,11 @@ export declare const PlusFormItem: {
|
|
|
587
587
|
default: undefined;
|
|
588
588
|
};
|
|
589
589
|
}>> & {
|
|
590
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
591
590
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
591
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
592
592
|
}, {
|
|
593
593
|
index: number;
|
|
594
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
594
595
|
label: string | ComputedRef<string>;
|
|
595
596
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
596
597
|
style?: CSSProperties | undefined;
|
|
@@ -628,7 +629,6 @@ export declare const PlusFormItem: {
|
|
|
628
629
|
autosize: InputAutoSize;
|
|
629
630
|
} & 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>>>>;
|
|
630
631
|
options: OptionsType;
|
|
631
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
632
632
|
fieldSlots: {
|
|
633
633
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
634
634
|
};
|
|
@@ -665,6 +665,10 @@ export declare const PlusFormItem: {
|
|
|
665
665
|
type: PropType<number>;
|
|
666
666
|
default: number;
|
|
667
667
|
};
|
|
668
|
+
modelValue: {
|
|
669
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
670
|
+
default: string;
|
|
671
|
+
};
|
|
668
672
|
label: {
|
|
669
673
|
type: PropType<string | ComputedRef<string>>;
|
|
670
674
|
default: string;
|
|
@@ -674,10 +678,10 @@ export declare const PlusFormItem: {
|
|
|
674
678
|
required: true;
|
|
675
679
|
};
|
|
676
680
|
tooltip: {
|
|
677
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
681
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
678
682
|
style?: CSSProperties | undefined;
|
|
679
683
|
class?: any;
|
|
680
|
-
} & RecordType> | ComputedRef<
|
|
684
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
681
685
|
style?: CSSProperties | undefined;
|
|
682
686
|
class?: any;
|
|
683
687
|
} & RecordType>>>;
|
|
@@ -721,10 +725,6 @@ export declare const PlusFormItem: {
|
|
|
721
725
|
type: PropType<OptionsType>;
|
|
722
726
|
default: () => never[];
|
|
723
727
|
};
|
|
724
|
-
modelValue: {
|
|
725
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
726
|
-
default: string;
|
|
727
|
-
};
|
|
728
728
|
fieldSlots: {
|
|
729
729
|
type: PropType<{
|
|
730
730
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -780,8 +780,8 @@ export declare const PlusFormItem: {
|
|
|
780
780
|
default: undefined;
|
|
781
781
|
};
|
|
782
782
|
}>> & {
|
|
783
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
784
783
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
784
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
785
785
|
}, {
|
|
786
786
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
787
787
|
readonly label: StringConstructor;
|
|
@@ -1118,6 +1118,7 @@ export declare const PlusFormItem: {
|
|
|
1118
1118
|
fieldInstance: Ref<any>;
|
|
1119
1119
|
}, {}, {}, {}, {
|
|
1120
1120
|
index: number;
|
|
1121
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1121
1122
|
label: string | ComputedRef<string>;
|
|
1122
1123
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1123
1124
|
style?: CSSProperties | undefined;
|
|
@@ -1155,7 +1156,6 @@ export declare const PlusFormItem: {
|
|
|
1155
1156
|
autosize: InputAutoSize;
|
|
1156
1157
|
} & 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>>>>;
|
|
1157
1158
|
options: OptionsType;
|
|
1158
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1159
1159
|
fieldSlots: {
|
|
1160
1160
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1161
1161
|
};
|
|
@@ -1189,6 +1189,10 @@ export declare const PlusFormItem: {
|
|
|
1189
1189
|
type: PropType<number>;
|
|
1190
1190
|
default: number;
|
|
1191
1191
|
};
|
|
1192
|
+
modelValue: {
|
|
1193
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1194
|
+
default: string;
|
|
1195
|
+
};
|
|
1192
1196
|
label: {
|
|
1193
1197
|
type: PropType<string | ComputedRef<string>>;
|
|
1194
1198
|
default: string;
|
|
@@ -1198,10 +1202,10 @@ export declare const PlusFormItem: {
|
|
|
1198
1202
|
required: true;
|
|
1199
1203
|
};
|
|
1200
1204
|
tooltip: {
|
|
1201
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
1205
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1202
1206
|
style?: CSSProperties | undefined;
|
|
1203
1207
|
class?: any;
|
|
1204
|
-
} & RecordType> | ComputedRef<
|
|
1208
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1205
1209
|
style?: CSSProperties | undefined;
|
|
1206
1210
|
class?: any;
|
|
1207
1211
|
} & RecordType>>>;
|
|
@@ -1245,10 +1249,6 @@ export declare const PlusFormItem: {
|
|
|
1245
1249
|
type: PropType<OptionsType>;
|
|
1246
1250
|
default: () => never[];
|
|
1247
1251
|
};
|
|
1248
|
-
modelValue: {
|
|
1249
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1250
|
-
default: string;
|
|
1251
|
-
};
|
|
1252
1252
|
fieldSlots: {
|
|
1253
1253
|
type: PropType<{
|
|
1254
1254
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1304,8 +1304,8 @@ export declare const PlusFormItem: {
|
|
|
1304
1304
|
default: undefined;
|
|
1305
1305
|
};
|
|
1306
1306
|
}>> & {
|
|
1307
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1308
1307
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1308
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1309
1309
|
}, {
|
|
1310
1310
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
1311
1311
|
readonly label: StringConstructor;
|
|
@@ -1645,6 +1645,7 @@ export declare const PlusFormItem: {
|
|
|
1645
1645
|
change: (value: FieldValueType) => void;
|
|
1646
1646
|
}, string, {
|
|
1647
1647
|
index: number;
|
|
1648
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1648
1649
|
label: string | ComputedRef<string>;
|
|
1649
1650
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1650
1651
|
style?: CSSProperties | undefined;
|
|
@@ -1682,7 +1683,6 @@ export declare const PlusFormItem: {
|
|
|
1682
1683
|
autosize: InputAutoSize;
|
|
1683
1684
|
} & 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>>>>;
|
|
1684
1685
|
options: OptionsType;
|
|
1685
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1686
1686
|
fieldSlots: {
|
|
1687
1687
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1688
1688
|
};
|
|
@@ -1716,12 +1716,12 @@ export declare const PlusFormItem: {
|
|
|
1716
1716
|
fieldInstance?: any;
|
|
1717
1717
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1718
1718
|
prop: string;
|
|
1719
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1719
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1720
1720
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1721
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1721
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1722
1722
|
style?: CSSProperties | undefined;
|
|
1723
1723
|
class?: any;
|
|
1724
|
-
} & RecordType> | ComputedRef<
|
|
1724
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1725
1725
|
style?: CSSProperties | undefined;
|
|
1726
1726
|
class?: any;
|
|
1727
1727
|
} & RecordType>>;
|
|
@@ -1750,14 +1750,14 @@ export declare const PlusFormItem: {
|
|
|
1750
1750
|
clearable: boolean;
|
|
1751
1751
|
index: number;
|
|
1752
1752
|
}) => any>> & Partial<Record<string, (_: {
|
|
1753
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1753
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1754
1754
|
readonly label: string | ComputedRef<string>;
|
|
1755
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1755
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1756
1756
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1757
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1757
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1758
1758
|
style?: CSSProperties | undefined;
|
|
1759
1759
|
class?: any;
|
|
1760
|
-
} & RecordType> | ComputedRef<
|
|
1760
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1761
1761
|
style?: CSSProperties | undefined;
|
|
1762
1762
|
class?: any;
|
|
1763
1763
|
} & RecordType>>;
|
|
@@ -1824,12 +1824,12 @@ export declare const PlusFormItem: {
|
|
|
1824
1824
|
fieldInstance?: any;
|
|
1825
1825
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1826
1826
|
prop: string;
|
|
1827
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1827
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1828
1828
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1829
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1829
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1830
1830
|
style?: CSSProperties | undefined;
|
|
1831
1831
|
class?: any;
|
|
1832
|
-
} & RecordType> | ComputedRef<
|
|
1832
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1833
1833
|
style?: CSSProperties | undefined;
|
|
1834
1834
|
class?: any;
|
|
1835
1835
|
} & RecordType>>;
|
|
@@ -417,10 +417,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
417
417
|
clearable: boolean;
|
|
418
418
|
index: number;
|
|
419
419
|
}>>> & {
|
|
420
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
421
420
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
421
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
422
422
|
}, {
|
|
423
423
|
index: number;
|
|
424
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
424
425
|
label: string | ComputedRef<string>;
|
|
425
426
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
426
427
|
style?: CSSProperties | undefined;
|
|
@@ -458,7 +459,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
458
459
|
autosize: InputAutoSize;
|
|
459
460
|
} & 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>>>>;
|
|
460
461
|
options: OptionsType;
|
|
461
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
462
462
|
fieldSlots: {
|
|
463
463
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
464
464
|
};
|
|
@@ -491,12 +491,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
491
491
|
fieldInstance?: any;
|
|
492
492
|
valueIsReady?: Ref<boolean> | undefined;
|
|
493
493
|
prop: string;
|
|
494
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
494
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
495
495
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
496
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
496
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
497
497
|
style?: CSSProperties | undefined;
|
|
498
498
|
class?: any;
|
|
499
|
-
} & RecordType> | ComputedRef<
|
|
499
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
500
500
|
style?: CSSProperties | undefined;
|
|
501
501
|
class?: any;
|
|
502
502
|
} & RecordType>>;
|
|
@@ -525,14 +525,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
525
525
|
clearable: boolean;
|
|
526
526
|
index: number;
|
|
527
527
|
}) => any>> & Partial<Record<string, (_: {
|
|
528
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
528
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
529
529
|
readonly label: string | ComputedRef<string>;
|
|
530
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
530
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
531
531
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
532
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
532
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
533
533
|
style?: CSSProperties | undefined;
|
|
534
534
|
class?: any;
|
|
535
|
-
} & RecordType> | ComputedRef<
|
|
535
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
536
536
|
style?: CSSProperties | undefined;
|
|
537
537
|
class?: any;
|
|
538
538
|
} & RecordType>>;
|
|
@@ -599,12 +599,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
599
599
|
fieldInstance?: any;
|
|
600
600
|
valueIsReady?: Ref<boolean> | undefined;
|
|
601
601
|
prop: string;
|
|
602
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
602
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
603
603
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
604
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
604
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
605
605
|
style?: CSSProperties | undefined;
|
|
606
606
|
class?: any;
|
|
607
|
-
} & RecordType> | ComputedRef<
|
|
607
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
608
608
|
style?: CSSProperties | undefined;
|
|
609
609
|
class?: any;
|
|
610
610
|
} & RecordType>>;
|
|
@@ -3,10 +3,6 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
3
3
|
export * from './src/type';
|
|
4
4
|
export declare const PlusHeader: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
|
-
trigger: {
|
|
7
|
-
type: PropType<"hover" | "click">;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
6
|
fixed: {
|
|
11
7
|
type: PropType<boolean>;
|
|
12
8
|
default: boolean;
|
|
@@ -15,6 +11,10 @@ export declare const PlusHeader: {
|
|
|
15
11
|
type: PropType<string>;
|
|
16
12
|
default: string;
|
|
17
13
|
};
|
|
14
|
+
trigger: {
|
|
15
|
+
type: PropType<"click" | "hover">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
logo: {
|
|
19
19
|
type: PropType<string>;
|
|
20
20
|
default: string;
|
|
@@ -67,10 +67,6 @@ export declare const PlusHeader: {
|
|
|
67
67
|
value: string;
|
|
68
68
|
}) => void;
|
|
69
69
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
70
|
-
trigger: {
|
|
71
|
-
type: PropType<"hover" | "click">;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
70
|
fixed: {
|
|
75
71
|
type: PropType<boolean>;
|
|
76
72
|
default: boolean;
|
|
@@ -79,6 +75,10 @@ export declare const PlusHeader: {
|
|
|
79
75
|
type: PropType<string>;
|
|
80
76
|
default: string;
|
|
81
77
|
};
|
|
78
|
+
trigger: {
|
|
79
|
+
type: PropType<"click" | "hover">;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
82
|
logo: {
|
|
83
83
|
type: PropType<string>;
|
|
84
84
|
default: string;
|
|
@@ -126,9 +126,9 @@ export declare const PlusHeader: {
|
|
|
126
126
|
value: string;
|
|
127
127
|
}) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
trigger: "hover" | "click";
|
|
130
129
|
fixed: boolean;
|
|
131
130
|
title: string;
|
|
131
|
+
trigger: "click" | "hover";
|
|
132
132
|
logo: string;
|
|
133
133
|
logoutText: string;
|
|
134
134
|
userInfo: {
|
|
@@ -151,10 +151,6 @@ export declare const PlusHeader: {
|
|
|
151
151
|
M: {};
|
|
152
152
|
Defaults: {};
|
|
153
153
|
}, Readonly< ExtractPropTypes<{
|
|
154
|
-
trigger: {
|
|
155
|
-
type: PropType<"hover" | "click">;
|
|
156
|
-
default: string;
|
|
157
|
-
};
|
|
158
154
|
fixed: {
|
|
159
155
|
type: PropType<boolean>;
|
|
160
156
|
default: boolean;
|
|
@@ -163,6 +159,10 @@ export declare const PlusHeader: {
|
|
|
163
159
|
type: PropType<string>;
|
|
164
160
|
default: string;
|
|
165
161
|
};
|
|
162
|
+
trigger: {
|
|
163
|
+
type: PropType<"click" | "hover">;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
166
|
logo: {
|
|
167
167
|
type: PropType<string>;
|
|
168
168
|
default: string;
|
|
@@ -210,9 +210,9 @@ export declare const PlusHeader: {
|
|
|
210
210
|
value: string;
|
|
211
211
|
}) => any) | undefined;
|
|
212
212
|
}, {}, {}, {}, {}, {
|
|
213
|
-
trigger: "hover" | "click";
|
|
214
213
|
fixed: boolean;
|
|
215
214
|
title: string;
|
|
215
|
+
trigger: "click" | "hover";
|
|
216
216
|
logo: string;
|
|
217
217
|
logoutText: string;
|
|
218
218
|
userInfo: {
|
|
@@ -232,10 +232,6 @@ export declare const PlusHeader: {
|
|
|
232
232
|
__isTeleport?: undefined;
|
|
233
233
|
__isSuspense?: undefined;
|
|
234
234
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
235
|
-
trigger: {
|
|
236
|
-
type: PropType<"hover" | "click">;
|
|
237
|
-
default: string;
|
|
238
|
-
};
|
|
239
235
|
fixed: {
|
|
240
236
|
type: PropType<boolean>;
|
|
241
237
|
default: boolean;
|
|
@@ -244,6 +240,10 @@ export declare const PlusHeader: {
|
|
|
244
240
|
type: PropType<string>;
|
|
245
241
|
default: string;
|
|
246
242
|
};
|
|
243
|
+
trigger: {
|
|
244
|
+
type: PropType<"click" | "hover">;
|
|
245
|
+
default: string;
|
|
246
|
+
};
|
|
247
247
|
logo: {
|
|
248
248
|
type: PropType<string>;
|
|
249
249
|
default: string;
|
|
@@ -296,9 +296,9 @@ export declare const PlusHeader: {
|
|
|
296
296
|
value: string;
|
|
297
297
|
}) => void;
|
|
298
298
|
}, string, {
|
|
299
|
-
trigger: "hover" | "click";
|
|
300
299
|
fixed: boolean;
|
|
301
300
|
title: string;
|
|
301
|
+
trigger: "click" | "hover";
|
|
302
302
|
logo: string;
|
|
303
303
|
logoutText: string;
|
|
304
304
|
userInfo: {
|
|
@@ -30,9 +30,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
30
30
|
value: string;
|
|
31
31
|
}) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
trigger: "hover" | "click";
|
|
34
33
|
fixed: boolean;
|
|
35
34
|
title: string;
|
|
35
|
+
trigger: "click" | "hover";
|
|
36
36
|
logo: string;
|
|
37
37
|
logoutText: string;
|
|
38
38
|
userInfo: {
|
|
@@ -7,17 +7,17 @@ import { PlusInputTagProps } from './src/index.vue';
|
|
|
7
7
|
|
|
8
8
|
export type { PlusInputTagProps };
|
|
9
9
|
export declare const PlusInputTag: DefineComponent<{
|
|
10
|
-
|
|
11
|
-
type: PropType<
|
|
12
|
-
default: () =>
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<string[]>;
|
|
12
|
+
default: () => never[];
|
|
13
13
|
};
|
|
14
14
|
disabled: {
|
|
15
15
|
type: PropType<boolean>;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
type: PropType<
|
|
20
|
-
default: () =>
|
|
18
|
+
trigger: {
|
|
19
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
20
|
+
default: () => string[];
|
|
21
21
|
};
|
|
22
22
|
inputProps: {
|
|
23
23
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
@@ -70,7 +70,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
70
70
|
};
|
|
71
71
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
72
72
|
readonly resize: {
|
|
73
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
73
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
74
74
|
readonly required: false;
|
|
75
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
76
|
__epPropKey: true;
|
|
@@ -167,7 +167,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
167
167
|
};
|
|
168
168
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
169
169
|
readonly resize: {
|
|
170
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
170
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
171
171
|
readonly required: false;
|
|
172
172
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
173
173
|
__epPropKey: true;
|
|
@@ -438,7 +438,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
438
438
|
};
|
|
439
439
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
440
440
|
readonly resize: {
|
|
441
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
441
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
442
442
|
readonly required: false;
|
|
443
443
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
444
444
|
__epPropKey: true;
|
|
@@ -558,7 +558,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
558
558
|
};
|
|
559
559
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
560
560
|
readonly resize: {
|
|
561
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
561
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
562
562
|
readonly required: false;
|
|
563
563
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
564
564
|
__epPropKey: true;
|
|
@@ -655,7 +655,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
655
655
|
};
|
|
656
656
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
657
657
|
readonly resize: {
|
|
658
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
658
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
659
659
|
readonly required: false;
|
|
660
660
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
661
661
|
__epPropKey: true;
|
|
@@ -1203,17 +1203,17 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1203
1203
|
enter: (value: string, event: MouseEvent) => void;
|
|
1204
1204
|
space: (value: string, event: MouseEvent) => void;
|
|
1205
1205
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1206
|
-
|
|
1207
|
-
type: PropType<
|
|
1208
|
-
default: () =>
|
|
1206
|
+
modelValue: {
|
|
1207
|
+
type: PropType<string[]>;
|
|
1208
|
+
default: () => never[];
|
|
1209
1209
|
};
|
|
1210
1210
|
disabled: {
|
|
1211
1211
|
type: PropType<boolean>;
|
|
1212
1212
|
default: boolean;
|
|
1213
1213
|
};
|
|
1214
|
-
|
|
1215
|
-
type: PropType<
|
|
1216
|
-
default: () =>
|
|
1214
|
+
trigger: {
|
|
1215
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
1216
|
+
default: () => string[];
|
|
1217
1217
|
};
|
|
1218
1218
|
inputProps: {
|
|
1219
1219
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
@@ -1242,16 +1242,16 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1242
1242
|
default: boolean;
|
|
1243
1243
|
};
|
|
1244
1244
|
}>> & {
|
|
1245
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1245
1246
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
1246
1247
|
onChange?: ((data: string[]) => any) | undefined;
|
|
1247
1248
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1248
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1249
1249
|
onRemove?: ((tag: string) => any) | undefined;
|
|
1250
1250
|
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1251
1251
|
}, {
|
|
1252
|
-
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
1253
|
-
disabled: boolean;
|
|
1254
1252
|
modelValue: string[];
|
|
1253
|
+
disabled: boolean;
|
|
1254
|
+
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
1255
1255
|
inputProps: Partial< Mutable<InputProps> & {
|
|
1256
1256
|
style?: CSSProperties | undefined;
|
|
1257
1257
|
class?: any;
|