yc-pro-components 0.0.11 → 0.0.12
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/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 +20 -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 +543 -453
- package/es/components/page/src/index.vue.d.ts +185 -155
- 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 +193 -155
- package/es/components/search/src/index.vue.d.ts +56 -50
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- 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 +445 -518
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- 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/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 +20 -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 +543 -453
- package/lib/components/page/src/index.vue.d.ts +185 -155
- 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 +193 -155
- package/lib/components/search/src/index.vue.d.ts +56 -50
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- 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 +445 -518
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -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 { Mutable, RecordType, 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,10 +13,6 @@ 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
|
-
};
|
|
20
16
|
label: {
|
|
21
17
|
type: PropType<string | ComputedRef<string>>;
|
|
22
18
|
default: string;
|
|
@@ -26,10 +22,10 @@ export declare const PlusFormItem: {
|
|
|
26
22
|
required: true;
|
|
27
23
|
};
|
|
28
24
|
tooltip: {
|
|
29
|
-
type: PropType<string |
|
|
25
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
30
26
|
style?: CSSProperties | undefined;
|
|
31
27
|
class?: any;
|
|
32
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
28
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
33
29
|
style?: CSSProperties | undefined;
|
|
34
30
|
class?: any;
|
|
35
31
|
} & RecordType>>>;
|
|
@@ -73,6 +69,10 @@ export declare const PlusFormItem: {
|
|
|
73
69
|
type: PropType<OptionsType>;
|
|
74
70
|
default: () => never[];
|
|
75
71
|
};
|
|
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;
|
|
@@ -119,8 +119,8 @@ export declare const PlusFormItem: {
|
|
|
119
119
|
default: undefined;
|
|
120
120
|
};
|
|
121
121
|
}>> & {
|
|
122
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
123
122
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
123
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
124
124
|
}, {
|
|
125
125
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
126
126
|
readonly label: StringConstructor;
|
|
@@ -463,10 +463,6 @@ export declare const PlusFormItem: {
|
|
|
463
463
|
type: PropType<number>;
|
|
464
464
|
default: number;
|
|
465
465
|
};
|
|
466
|
-
modelValue: {
|
|
467
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
468
|
-
default: string;
|
|
469
|
-
};
|
|
470
466
|
label: {
|
|
471
467
|
type: PropType<string | ComputedRef<string>>;
|
|
472
468
|
default: string;
|
|
@@ -476,10 +472,10 @@ export declare const PlusFormItem: {
|
|
|
476
472
|
required: true;
|
|
477
473
|
};
|
|
478
474
|
tooltip: {
|
|
479
|
-
type: PropType<string |
|
|
475
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
480
476
|
style?: CSSProperties | undefined;
|
|
481
477
|
class?: any;
|
|
482
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
478
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
483
479
|
style?: CSSProperties | undefined;
|
|
484
480
|
class?: any;
|
|
485
481
|
} & RecordType>>>;
|
|
@@ -523,6 +519,10 @@ export declare const PlusFormItem: {
|
|
|
523
519
|
type: PropType<OptionsType>;
|
|
524
520
|
default: () => never[];
|
|
525
521
|
};
|
|
522
|
+
modelValue: {
|
|
523
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
524
|
+
default: string;
|
|
525
|
+
};
|
|
526
526
|
fieldSlots: {
|
|
527
527
|
type: PropType<{
|
|
528
528
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -569,11 +569,10 @@ export declare const PlusFormItem: {
|
|
|
569
569
|
default: undefined;
|
|
570
570
|
};
|
|
571
571
|
}>> & {
|
|
572
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
573
572
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
573
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
574
574
|
}, {
|
|
575
575
|
index: number;
|
|
576
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
577
576
|
label: string | ComputedRef<string>;
|
|
578
577
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
579
578
|
style?: CSSProperties | undefined;
|
|
@@ -611,6 +610,7 @@ export declare const PlusFormItem: {
|
|
|
611
610
|
autosize: InputAutoSize;
|
|
612
611
|
} & 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>>>>;
|
|
613
612
|
options: OptionsType;
|
|
613
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
614
614
|
fieldSlots: {
|
|
615
615
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
616
616
|
};
|
|
@@ -641,10 +641,6 @@ export declare const PlusFormItem: {
|
|
|
641
641
|
type: PropType<number>;
|
|
642
642
|
default: number;
|
|
643
643
|
};
|
|
644
|
-
modelValue: {
|
|
645
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
646
|
-
default: string;
|
|
647
|
-
};
|
|
648
644
|
label: {
|
|
649
645
|
type: PropType<string | ComputedRef<string>>;
|
|
650
646
|
default: string;
|
|
@@ -654,10 +650,10 @@ export declare const PlusFormItem: {
|
|
|
654
650
|
required: true;
|
|
655
651
|
};
|
|
656
652
|
tooltip: {
|
|
657
|
-
type: PropType<string |
|
|
653
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
658
654
|
style?: CSSProperties | undefined;
|
|
659
655
|
class?: any;
|
|
660
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
656
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
661
657
|
style?: CSSProperties | undefined;
|
|
662
658
|
class?: any;
|
|
663
659
|
} & RecordType>>>;
|
|
@@ -701,6 +697,10 @@ export declare const PlusFormItem: {
|
|
|
701
697
|
type: PropType<OptionsType>;
|
|
702
698
|
default: () => never[];
|
|
703
699
|
};
|
|
700
|
+
modelValue: {
|
|
701
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
702
|
+
default: string;
|
|
703
|
+
};
|
|
704
704
|
fieldSlots: {
|
|
705
705
|
type: PropType<{
|
|
706
706
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -747,8 +747,8 @@ export declare const PlusFormItem: {
|
|
|
747
747
|
default: undefined;
|
|
748
748
|
};
|
|
749
749
|
}>> & {
|
|
750
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
751
750
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
751
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
752
752
|
}, {
|
|
753
753
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
754
754
|
readonly label: StringConstructor;
|
|
@@ -1085,7 +1085,6 @@ export declare const PlusFormItem: {
|
|
|
1085
1085
|
fieldInstance: Ref<any>;
|
|
1086
1086
|
}, {}, {}, {}, {
|
|
1087
1087
|
index: number;
|
|
1088
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1089
1088
|
label: string | ComputedRef<string>;
|
|
1090
1089
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1091
1090
|
style?: CSSProperties | undefined;
|
|
@@ -1123,6 +1122,7 @@ export declare const PlusFormItem: {
|
|
|
1123
1122
|
autosize: InputAutoSize;
|
|
1124
1123
|
} & 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>>>>;
|
|
1125
1124
|
options: OptionsType;
|
|
1125
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1126
1126
|
fieldSlots: {
|
|
1127
1127
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1128
1128
|
};
|
|
@@ -1150,10 +1150,6 @@ export declare const PlusFormItem: {
|
|
|
1150
1150
|
type: PropType<number>;
|
|
1151
1151
|
default: number;
|
|
1152
1152
|
};
|
|
1153
|
-
modelValue: {
|
|
1154
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1155
|
-
default: string;
|
|
1156
|
-
};
|
|
1157
1153
|
label: {
|
|
1158
1154
|
type: PropType<string | ComputedRef<string>>;
|
|
1159
1155
|
default: string;
|
|
@@ -1163,10 +1159,10 @@ export declare const PlusFormItem: {
|
|
|
1163
1159
|
required: true;
|
|
1164
1160
|
};
|
|
1165
1161
|
tooltip: {
|
|
1166
|
-
type: PropType<string |
|
|
1162
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
1167
1163
|
style?: CSSProperties | undefined;
|
|
1168
1164
|
class?: any;
|
|
1169
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1165
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1170
1166
|
style?: CSSProperties | undefined;
|
|
1171
1167
|
class?: any;
|
|
1172
1168
|
} & RecordType>>>;
|
|
@@ -1210,6 +1206,10 @@ export declare const PlusFormItem: {
|
|
|
1210
1206
|
type: PropType<OptionsType>;
|
|
1211
1207
|
default: () => never[];
|
|
1212
1208
|
};
|
|
1209
|
+
modelValue: {
|
|
1210
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1211
|
+
default: string;
|
|
1212
|
+
};
|
|
1213
1213
|
fieldSlots: {
|
|
1214
1214
|
type: PropType<{
|
|
1215
1215
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1256,8 +1256,8 @@ export declare const PlusFormItem: {
|
|
|
1256
1256
|
default: undefined;
|
|
1257
1257
|
};
|
|
1258
1258
|
}>> & {
|
|
1259
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1260
1259
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1260
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1261
1261
|
}, {
|
|
1262
1262
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
1263
1263
|
readonly label: StringConstructor;
|
|
@@ -1597,7 +1597,6 @@ export declare const PlusFormItem: {
|
|
|
1597
1597
|
change: (value: FieldValueType) => void;
|
|
1598
1598
|
}, string, {
|
|
1599
1599
|
index: number;
|
|
1600
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1601
1600
|
label: string | ComputedRef<string>;
|
|
1602
1601
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1603
1602
|
style?: CSSProperties | undefined;
|
|
@@ -1635,6 +1634,7 @@ export declare const PlusFormItem: {
|
|
|
1635
1634
|
autosize: InputAutoSize;
|
|
1636
1635
|
} & 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>>>>;
|
|
1637
1636
|
options: OptionsType;
|
|
1637
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1638
1638
|
fieldSlots: {
|
|
1639
1639
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1640
1640
|
};
|
|
@@ -1662,12 +1662,12 @@ export declare const PlusFormItem: {
|
|
|
1662
1662
|
fieldInstance?: any;
|
|
1663
1663
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1664
1664
|
prop: string;
|
|
1665
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1665
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1666
1666
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1667
|
-
tooltip: string |
|
|
1667
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1668
1668
|
style?: CSSProperties | undefined;
|
|
1669
1669
|
class?: any;
|
|
1670
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1670
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1671
1671
|
style?: CSSProperties | undefined;
|
|
1672
1672
|
class?: any;
|
|
1673
1673
|
} & RecordType>>;
|
|
@@ -1690,14 +1690,14 @@ export declare const PlusFormItem: {
|
|
|
1690
1690
|
clearable: boolean;
|
|
1691
1691
|
index: number;
|
|
1692
1692
|
}) => any>> & Partial<Record<string, (_: {
|
|
1693
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1693
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1694
1694
|
readonly label: string | ComputedRef<string>;
|
|
1695
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1695
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1696
1696
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1697
|
-
readonly tooltip: string |
|
|
1697
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1698
1698
|
style?: CSSProperties | undefined;
|
|
1699
1699
|
class?: any;
|
|
1700
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1700
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1701
1701
|
style?: CSSProperties | undefined;
|
|
1702
1702
|
class?: any;
|
|
1703
1703
|
} & RecordType>>;
|
|
@@ -1758,12 +1758,12 @@ export declare const PlusFormItem: {
|
|
|
1758
1758
|
fieldInstance?: any;
|
|
1759
1759
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1760
1760
|
prop: string;
|
|
1761
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1761
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1762
1762
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1763
|
-
tooltip: string |
|
|
1763
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1764
1764
|
style?: CSSProperties | undefined;
|
|
1765
1765
|
class?: any;
|
|
1766
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1766
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1767
1767
|
style?: CSSProperties | undefined;
|
|
1768
1768
|
class?: any;
|
|
1769
1769
|
} & RecordType>>;
|
|
@@ -410,11 +410,10 @@ 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
|
index: number;
|
|
417
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
418
417
|
label: string | ComputedRef<string>;
|
|
419
418
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
420
419
|
style?: CSSProperties | undefined;
|
|
@@ -452,6 +451,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
452
451
|
autosize: InputAutoSize;
|
|
453
452
|
} & 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>>>>;
|
|
454
453
|
options: OptionsType;
|
|
454
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
455
455
|
fieldSlots: {
|
|
456
456
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
457
457
|
};
|
|
@@ -478,12 +478,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
478
478
|
fieldInstance?: any;
|
|
479
479
|
valueIsReady?: Ref<boolean> | undefined;
|
|
480
480
|
prop: string;
|
|
481
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
481
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
482
482
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
483
|
-
tooltip: string |
|
|
483
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
484
484
|
style?: CSSProperties | undefined;
|
|
485
485
|
class?: any;
|
|
486
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
486
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
487
487
|
style?: CSSProperties | undefined;
|
|
488
488
|
class?: any;
|
|
489
489
|
} & RecordType>>;
|
|
@@ -506,14 +506,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
506
506
|
clearable: boolean;
|
|
507
507
|
index: number;
|
|
508
508
|
}) => any>> & Partial<Record<string, (_: {
|
|
509
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
509
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
510
510
|
readonly label: string | ComputedRef<string>;
|
|
511
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
511
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
512
512
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
513
|
-
readonly tooltip: string |
|
|
513
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
514
514
|
style?: CSSProperties | undefined;
|
|
515
515
|
class?: any;
|
|
516
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
516
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
517
517
|
style?: CSSProperties | undefined;
|
|
518
518
|
class?: any;
|
|
519
519
|
} & RecordType>>;
|
|
@@ -574,12 +574,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
574
574
|
fieldInstance?: any;
|
|
575
575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
576
576
|
prop: string;
|
|
577
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
577
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
578
578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
579
|
-
tooltip: string |
|
|
579
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
580
580
|
style?: CSSProperties | undefined;
|
|
581
581
|
class?: any;
|
|
582
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
582
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
583
583
|
style?: CSSProperties | undefined;
|
|
584
584
|
class?: any;
|
|
585
585
|
} & RecordType>>;
|
|
@@ -3,6 +3,10 @@ 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
|
+
};
|
|
6
10
|
fixed: {
|
|
7
11
|
type: PropType<boolean>;
|
|
8
12
|
default: boolean;
|
|
@@ -11,10 +15,6 @@ export declare const PlusHeader: {
|
|
|
11
15
|
type: PropType<string>;
|
|
12
16
|
default: string;
|
|
13
17
|
};
|
|
14
|
-
trigger: {
|
|
15
|
-
type: PropType<"click" | "hover">;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
18
|
logo: {
|
|
19
19
|
type: PropType<string>;
|
|
20
20
|
default: string;
|
|
@@ -67,6 +67,10 @@ 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
|
+
};
|
|
70
74
|
fixed: {
|
|
71
75
|
type: PropType<boolean>;
|
|
72
76
|
default: boolean;
|
|
@@ -75,10 +79,6 @@ export declare const PlusHeader: {
|
|
|
75
79
|
type: PropType<string>;
|
|
76
80
|
default: string;
|
|
77
81
|
};
|
|
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";
|
|
129
130
|
fixed: boolean;
|
|
130
131
|
title: string;
|
|
131
|
-
trigger: "click" | "hover";
|
|
132
132
|
logo: string;
|
|
133
133
|
logoutText: string;
|
|
134
134
|
userInfo: {
|
|
@@ -151,6 +151,10 @@ 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
|
+
};
|
|
154
158
|
fixed: {
|
|
155
159
|
type: PropType<boolean>;
|
|
156
160
|
default: boolean;
|
|
@@ -159,10 +163,6 @@ export declare const PlusHeader: {
|
|
|
159
163
|
type: PropType<string>;
|
|
160
164
|
default: string;
|
|
161
165
|
};
|
|
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";
|
|
213
214
|
fixed: boolean;
|
|
214
215
|
title: string;
|
|
215
|
-
trigger: "click" | "hover";
|
|
216
216
|
logo: string;
|
|
217
217
|
logoutText: string;
|
|
218
218
|
userInfo: {
|
|
@@ -232,6 +232,10 @@ 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
|
+
};
|
|
235
239
|
fixed: {
|
|
236
240
|
type: PropType<boolean>;
|
|
237
241
|
default: boolean;
|
|
@@ -240,10 +244,6 @@ export declare const PlusHeader: {
|
|
|
240
244
|
type: PropType<string>;
|
|
241
245
|
default: string;
|
|
242
246
|
};
|
|
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";
|
|
299
300
|
fixed: boolean;
|
|
300
301
|
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";
|
|
33
34
|
fixed: boolean;
|
|
34
35
|
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
|
+
trigger: {
|
|
11
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
12
|
+
default: () => string[];
|
|
13
13
|
};
|
|
14
14
|
disabled: {
|
|
15
15
|
type: PropType<boolean>;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
type: PropType<
|
|
20
|
-
default: () =>
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<string[]>;
|
|
20
|
+
default: () => never[];
|
|
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, "both" | "none" | "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, "both" | "none" | "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, "both" | "none" | "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, "both" | "none" | "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, "both" | "none" | "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
|
+
trigger: {
|
|
1207
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
1208
|
+
default: () => string[];
|
|
1209
1209
|
};
|
|
1210
1210
|
disabled: {
|
|
1211
1211
|
type: PropType<boolean>;
|
|
1212
1212
|
default: boolean;
|
|
1213
1213
|
};
|
|
1214
|
-
|
|
1215
|
-
type: PropType<
|
|
1216
|
-
default: () =>
|
|
1214
|
+
modelValue: {
|
|
1215
|
+
type: PropType<string[]>;
|
|
1216
|
+
default: () => never[];
|
|
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;
|
|
1246
1245
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
1247
1246
|
onChange?: ((data: string[]) => any) | undefined;
|
|
1248
1247
|
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
|
-
modelValue: string[];
|
|
1253
|
-
disabled: boolean;
|
|
1254
1252
|
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
1253
|
+
disabled: boolean;
|
|
1254
|
+
modelValue: string[];
|
|
1255
1255
|
inputProps: Partial< Mutable<InputProps> & {
|
|
1256
1256
|
style?: CSSProperties | undefined;
|
|
1257
1257
|
class?: any;
|