yc-pro-components 0.0.68 → 0.0.69
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 +20 -20
- package/es/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +65 -65
- package/es/components/drawer-form/src/index.vue.d.ts +15 -15
- 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 +48 -48
- package/es/components/form-item/src/index.vue.d.ts +14 -14
- 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 +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/es/components/page/src/index.vue.d.ts +118 -118
- 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/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 +235 -235
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +4 -2
- package/es/components/yc-plus-page/src/type.d.ts +4 -0
- 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/defaults.mjs +2 -9
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +13 -13
- package/es/index.mjs +1 -1
- package/index.css +6 -6
- package/index.js +17 -12
- package/index.min.css +1 -1
- package/index.min.js +10 -10
- package/index.min.mjs +11 -11
- package/index.mjs +10 -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 +20 -20
- package/lib/components/date-picker/src/index.vue.d.ts +12 -12
- 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 +65 -65
- package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
- 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 +48 -48
- package/lib/components/form-item/src/index.vue.d.ts +14 -14
- 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 +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +344 -344
- package/lib/components/page/src/index.vue.d.ts +118 -118
- 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/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 +235 -235
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +4 -2
- package/lib/components/yc-plus-page/src/type.d.ts +4 -0
- 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/defaults.js +2 -9
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +11 -11
- package/lib/index.js +7 -2
- 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/es/directives/dist/fn-perm.mjs +0 -12
- package/lib/directives/dist/fn-perm.js +0 -14
|
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
3
3
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
4
4
|
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
5
5
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
6
|
-
import {
|
|
6
|
+
import { Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'yc-pro-components';
|
|
7
7
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
8
8
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
9
9
|
export declare const PlusFormItem: {
|
|
@@ -12,10 +12,6 @@ export declare const PlusFormItem: {
|
|
|
12
12
|
type: PropType<number>;
|
|
13
13
|
default: number;
|
|
14
14
|
};
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
15
|
label: {
|
|
20
16
|
type: PropType<string | ComputedRef<string>>;
|
|
21
17
|
default: string;
|
|
@@ -25,10 +21,10 @@ export declare const PlusFormItem: {
|
|
|
25
21
|
required: true;
|
|
26
22
|
};
|
|
27
23
|
tooltip: {
|
|
28
|
-
type: PropType<string |
|
|
24
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
29
25
|
style?: CSSProperties | undefined;
|
|
30
26
|
class?: any;
|
|
31
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
27
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
32
28
|
style?: CSSProperties | undefined;
|
|
33
29
|
class?: any;
|
|
34
30
|
} & RecordType>>>;
|
|
@@ -72,6 +68,10 @@ export declare const PlusFormItem: {
|
|
|
72
68
|
type: PropType<OptionsType>;
|
|
73
69
|
default: () => never[];
|
|
74
70
|
};
|
|
71
|
+
modelValue: {
|
|
72
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
75
|
fieldSlots: {
|
|
76
76
|
type: PropType<{
|
|
77
77
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -127,8 +127,8 @@ export declare const PlusFormItem: {
|
|
|
127
127
|
default: undefined;
|
|
128
128
|
};
|
|
129
129
|
}>> & {
|
|
130
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
131
130
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
131
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
formItemInstance: Ref<({
|
|
134
134
|
$: ComponentInternalInstance;
|
|
@@ -141,10 +141,10 @@ export declare const PlusFormItem: {
|
|
|
141
141
|
}> & Omit<{
|
|
142
142
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
143
143
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
145
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
146
144
|
readonly label?: string | undefined;
|
|
147
145
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
146
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
147
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
148
148
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
149
149
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
150
150
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -340,10 +340,6 @@ export declare const PlusFormItem: {
|
|
|
340
340
|
type: PropType<number>;
|
|
341
341
|
default: number;
|
|
342
342
|
};
|
|
343
|
-
modelValue: {
|
|
344
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
345
|
-
default: string;
|
|
346
|
-
};
|
|
347
343
|
label: {
|
|
348
344
|
type: PropType<string | ComputedRef<string>>;
|
|
349
345
|
default: string;
|
|
@@ -353,10 +349,10 @@ export declare const PlusFormItem: {
|
|
|
353
349
|
required: true;
|
|
354
350
|
};
|
|
355
351
|
tooltip: {
|
|
356
|
-
type: PropType<string |
|
|
352
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
357
353
|
style?: CSSProperties | undefined;
|
|
358
354
|
class?: any;
|
|
359
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
355
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
360
356
|
style?: CSSProperties | undefined;
|
|
361
357
|
class?: any;
|
|
362
358
|
} & RecordType>>>;
|
|
@@ -400,6 +396,10 @@ export declare const PlusFormItem: {
|
|
|
400
396
|
type: PropType<OptionsType>;
|
|
401
397
|
default: () => never[];
|
|
402
398
|
};
|
|
399
|
+
modelValue: {
|
|
400
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
401
|
+
default: string;
|
|
402
|
+
};
|
|
403
403
|
fieldSlots: {
|
|
404
404
|
type: PropType<{
|
|
405
405
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -455,11 +455,10 @@ export declare const PlusFormItem: {
|
|
|
455
455
|
default: undefined;
|
|
456
456
|
};
|
|
457
457
|
}>> & {
|
|
458
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
459
458
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
459
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
460
460
|
}, {
|
|
461
461
|
index: number;
|
|
462
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
463
462
|
label: string | ComputedRef<string>;
|
|
464
463
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
465
464
|
style?: CSSProperties | undefined;
|
|
@@ -497,6 +496,7 @@ export declare const PlusFormItem: {
|
|
|
497
496
|
autosize: InputAutoSize;
|
|
498
497
|
} & 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< SelectProps, 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>>>>;
|
|
499
498
|
options: OptionsType;
|
|
499
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
500
500
|
fieldSlots: {
|
|
501
501
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
502
502
|
};
|
|
@@ -533,10 +533,6 @@ export declare const PlusFormItem: {
|
|
|
533
533
|
type: PropType<number>;
|
|
534
534
|
default: number;
|
|
535
535
|
};
|
|
536
|
-
modelValue: {
|
|
537
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
538
|
-
default: string;
|
|
539
|
-
};
|
|
540
536
|
label: {
|
|
541
537
|
type: PropType<string | ComputedRef<string>>;
|
|
542
538
|
default: string;
|
|
@@ -546,10 +542,10 @@ export declare const PlusFormItem: {
|
|
|
546
542
|
required: true;
|
|
547
543
|
};
|
|
548
544
|
tooltip: {
|
|
549
|
-
type: PropType<string |
|
|
545
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
550
546
|
style?: CSSProperties | undefined;
|
|
551
547
|
class?: any;
|
|
552
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
548
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
553
549
|
style?: CSSProperties | undefined;
|
|
554
550
|
class?: any;
|
|
555
551
|
} & RecordType>>>;
|
|
@@ -593,6 +589,10 @@ export declare const PlusFormItem: {
|
|
|
593
589
|
type: PropType<OptionsType>;
|
|
594
590
|
default: () => never[];
|
|
595
591
|
};
|
|
592
|
+
modelValue: {
|
|
593
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
594
|
+
default: string;
|
|
595
|
+
};
|
|
596
596
|
fieldSlots: {
|
|
597
597
|
type: PropType<{
|
|
598
598
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -648,8 +648,8 @@ export declare const PlusFormItem: {
|
|
|
648
648
|
default: undefined;
|
|
649
649
|
};
|
|
650
650
|
}>> & {
|
|
651
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
652
651
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
652
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
653
653
|
}, {
|
|
654
654
|
formItemInstance: Ref<({
|
|
655
655
|
$: ComponentInternalInstance;
|
|
@@ -662,10 +662,10 @@ export declare const PlusFormItem: {
|
|
|
662
662
|
}> & Omit<{
|
|
663
663
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
664
664
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
665
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
666
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
667
665
|
readonly label?: string | undefined;
|
|
668
666
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
667
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
668
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
669
669
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
670
670
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
671
671
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -855,7 +855,6 @@ export declare const PlusFormItem: {
|
|
|
855
855
|
fieldInstance: Ref<any>;
|
|
856
856
|
}, {}, {}, {}, {
|
|
857
857
|
index: number;
|
|
858
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
859
858
|
label: string | ComputedRef<string>;
|
|
860
859
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
861
860
|
style?: CSSProperties | undefined;
|
|
@@ -893,6 +892,7 @@ export declare const PlusFormItem: {
|
|
|
893
892
|
autosize: InputAutoSize;
|
|
894
893
|
} & 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< SelectProps, 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>>>>;
|
|
895
894
|
options: OptionsType;
|
|
895
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
896
896
|
fieldSlots: {
|
|
897
897
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
898
898
|
};
|
|
@@ -926,10 +926,6 @@ export declare const PlusFormItem: {
|
|
|
926
926
|
type: PropType<number>;
|
|
927
927
|
default: number;
|
|
928
928
|
};
|
|
929
|
-
modelValue: {
|
|
930
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
931
|
-
default: string;
|
|
932
|
-
};
|
|
933
929
|
label: {
|
|
934
930
|
type: PropType<string | ComputedRef<string>>;
|
|
935
931
|
default: string;
|
|
@@ -939,10 +935,10 @@ export declare const PlusFormItem: {
|
|
|
939
935
|
required: true;
|
|
940
936
|
};
|
|
941
937
|
tooltip: {
|
|
942
|
-
type: PropType<string |
|
|
938
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
943
939
|
style?: CSSProperties | undefined;
|
|
944
940
|
class?: any;
|
|
945
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
941
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
946
942
|
style?: CSSProperties | undefined;
|
|
947
943
|
class?: any;
|
|
948
944
|
} & RecordType>>>;
|
|
@@ -986,6 +982,10 @@ export declare const PlusFormItem: {
|
|
|
986
982
|
type: PropType<OptionsType>;
|
|
987
983
|
default: () => never[];
|
|
988
984
|
};
|
|
985
|
+
modelValue: {
|
|
986
|
+
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
987
|
+
default: string;
|
|
988
|
+
};
|
|
989
989
|
fieldSlots: {
|
|
990
990
|
type: PropType<{
|
|
991
991
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1041,8 +1041,8 @@ export declare const PlusFormItem: {
|
|
|
1041
1041
|
default: undefined;
|
|
1042
1042
|
};
|
|
1043
1043
|
}>> & {
|
|
1044
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1045
1044
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1045
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1046
1046
|
}, {
|
|
1047
1047
|
formItemInstance: Ref<({
|
|
1048
1048
|
$: ComponentInternalInstance;
|
|
@@ -1055,10 +1055,10 @@ export declare const PlusFormItem: {
|
|
|
1055
1055
|
}> & Omit<{
|
|
1056
1056
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
1057
1057
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1058
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1059
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1060
1058
|
readonly label?: string | undefined;
|
|
1061
1059
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
1060
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1061
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1062
1062
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
1063
1063
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
1064
1064
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -1251,7 +1251,6 @@ export declare const PlusFormItem: {
|
|
|
1251
1251
|
change: (value: FieldValueType) => void;
|
|
1252
1252
|
}, string, {
|
|
1253
1253
|
index: number;
|
|
1254
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1255
1254
|
label: string | ComputedRef<string>;
|
|
1256
1255
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1257
1256
|
style?: CSSProperties | undefined;
|
|
@@ -1289,6 +1288,7 @@ export declare const PlusFormItem: {
|
|
|
1289
1288
|
autosize: InputAutoSize;
|
|
1290
1289
|
} & 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< SelectProps, 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>>>>;
|
|
1291
1290
|
options: OptionsType;
|
|
1291
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1292
1292
|
fieldSlots: {
|
|
1293
1293
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1294
1294
|
};
|
|
@@ -1322,12 +1322,12 @@ export declare const PlusFormItem: {
|
|
|
1322
1322
|
fieldInstance?: any;
|
|
1323
1323
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1324
1324
|
prop: string;
|
|
1325
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1325
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1326
1326
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1327
|
-
tooltip: string |
|
|
1327
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1328
1328
|
style?: CSSProperties | undefined;
|
|
1329
1329
|
class?: any;
|
|
1330
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1330
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1331
1331
|
style?: CSSProperties | undefined;
|
|
1332
1332
|
class?: any;
|
|
1333
1333
|
} & RecordType>>;
|
|
@@ -1356,14 +1356,14 @@ export declare const PlusFormItem: {
|
|
|
1356
1356
|
clearable: boolean;
|
|
1357
1357
|
index: number;
|
|
1358
1358
|
}) => any>> & Partial<Record<string, (_: {
|
|
1359
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1359
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1360
1360
|
readonly label: string | ComputedRef<string>;
|
|
1361
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1361
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1362
1362
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1363
|
-
readonly tooltip: string |
|
|
1363
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1364
1364
|
style?: CSSProperties | undefined;
|
|
1365
1365
|
class?: any;
|
|
1366
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1366
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1367
1367
|
style?: CSSProperties | undefined;
|
|
1368
1368
|
class?: any;
|
|
1369
1369
|
} & RecordType>>;
|
|
@@ -1430,12 +1430,12 @@ export declare const PlusFormItem: {
|
|
|
1430
1430
|
fieldInstance?: any;
|
|
1431
1431
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1432
1432
|
prop: string;
|
|
1433
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1433
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1434
1434
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1435
|
-
tooltip: string |
|
|
1435
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1436
1436
|
style?: CSSProperties | undefined;
|
|
1437
1437
|
class?: any;
|
|
1438
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1438
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1439
1439
|
style?: CSSProperties | undefined;
|
|
1440
1440
|
class?: any;
|
|
1441
1441
|
} & RecordType>>;
|
|
@@ -71,10 +71,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
71
71
|
}> & Omit<{
|
|
72
72
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
73
73
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
74
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
75
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
76
74
|
readonly label?: string | undefined;
|
|
77
75
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
76
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
77
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
78
78
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
79
79
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
80
80
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -284,11 +284,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
284
|
clearable: boolean;
|
|
285
285
|
index: number;
|
|
286
286
|
}>>> & {
|
|
287
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
288
287
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
288
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
289
289
|
}, {
|
|
290
290
|
index: number;
|
|
291
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
292
291
|
label: string | ComputedRef<string>;
|
|
293
292
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
294
293
|
style?: CSSProperties | undefined;
|
|
@@ -326,6 +325,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
326
325
|
autosize: InputAutoSize;
|
|
327
326
|
} & 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< SelectProps, 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>>>>;
|
|
328
327
|
options: OptionsType;
|
|
328
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
329
329
|
fieldSlots: {
|
|
330
330
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
331
331
|
};
|
|
@@ -358,12 +358,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
358
358
|
fieldInstance?: any;
|
|
359
359
|
valueIsReady?: Ref<boolean> | undefined;
|
|
360
360
|
prop: string;
|
|
361
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
361
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
362
362
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
363
|
-
tooltip: string |
|
|
363
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
364
364
|
style?: CSSProperties | undefined;
|
|
365
365
|
class?: any;
|
|
366
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
366
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
367
367
|
style?: CSSProperties | undefined;
|
|
368
368
|
class?: any;
|
|
369
369
|
} & RecordType>>;
|
|
@@ -392,14 +392,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
392
392
|
clearable: boolean;
|
|
393
393
|
index: number;
|
|
394
394
|
}) => any>> & Partial<Record<string, (_: {
|
|
395
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
395
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
396
396
|
readonly label: string | ComputedRef<string>;
|
|
397
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
397
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
398
398
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
399
|
-
readonly tooltip: string |
|
|
399
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
400
400
|
style?: CSSProperties | undefined;
|
|
401
401
|
class?: any;
|
|
402
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
402
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
403
403
|
style?: CSSProperties | undefined;
|
|
404
404
|
class?: any;
|
|
405
405
|
} & RecordType>>;
|
|
@@ -466,12 +466,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
466
466
|
fieldInstance?: any;
|
|
467
467
|
valueIsReady?: Ref<boolean> | undefined;
|
|
468
468
|
prop: string;
|
|
469
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
469
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
470
470
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
471
|
-
tooltip: string |
|
|
471
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
472
472
|
style?: CSSProperties | undefined;
|
|
473
473
|
class?: any;
|
|
474
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
474
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
477
477
|
} & 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: {
|
|
@@ -5,17 +5,17 @@ import { PlusInputTagProps } from './src/index.vue';
|
|
|
5
5
|
|
|
6
6
|
export type { PlusInputTagProps };
|
|
7
7
|
export declare const PlusInputTag: DefineComponent<{
|
|
8
|
-
|
|
9
|
-
type: PropType<
|
|
10
|
-
default: () =>
|
|
8
|
+
trigger: {
|
|
9
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
10
|
+
default: () => string[];
|
|
11
11
|
};
|
|
12
12
|
disabled: {
|
|
13
13
|
type: PropType<boolean>;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
type: PropType<
|
|
18
|
-
default: () =>
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<string[]>;
|
|
18
|
+
default: () => never[];
|
|
19
19
|
};
|
|
20
20
|
inputProps: {
|
|
21
21
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
@@ -54,17 +54,17 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
54
54
|
enter: (value: string, event: MouseEvent) => void;
|
|
55
55
|
space: (value: string, event: MouseEvent) => void;
|
|
56
56
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
57
|
-
|
|
58
|
-
type: PropType<
|
|
59
|
-
default: () =>
|
|
57
|
+
trigger: {
|
|
58
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
59
|
+
default: () => string[];
|
|
60
60
|
};
|
|
61
61
|
disabled: {
|
|
62
62
|
type: PropType<boolean>;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
-
|
|
66
|
-
type: PropType<
|
|
67
|
-
default: () =>
|
|
65
|
+
modelValue: {
|
|
66
|
+
type: PropType<string[]>;
|
|
67
|
+
default: () => never[];
|
|
68
68
|
};
|
|
69
69
|
inputProps: {
|
|
70
70
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
@@ -93,16 +93,16 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
93
93
|
default: boolean;
|
|
94
94
|
};
|
|
95
95
|
}>> & {
|
|
96
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
97
96
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
98
97
|
onChange?: ((data: string[]) => any) | undefined;
|
|
99
98
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
99
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
100
100
|
onRemove?: ((tag: string) => any) | undefined;
|
|
101
101
|
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
102
102
|
}, {
|
|
103
|
-
modelValue: string[];
|
|
104
|
-
disabled: boolean;
|
|
105
103
|
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
modelValue: string[];
|
|
106
106
|
inputProps: Partial< Mutable<InputProps> & {
|
|
107
107
|
style?: CSSProperties | undefined;
|
|
108
108
|
class?: any;
|
|
@@ -58,16 +58,16 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
58
58
|
formatTag: undefined;
|
|
59
59
|
retainInputValue: boolean;
|
|
60
60
|
}>>> & {
|
|
61
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
62
61
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
63
62
|
onChange?: ((data: string[]) => any) | undefined;
|
|
64
63
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
64
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
65
65
|
onRemove?: ((tag: string) => any) | undefined;
|
|
66
66
|
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
|
-
modelValue: string[];
|
|
69
|
-
disabled: boolean;
|
|
70
68
|
trigger: TriggerType | TriggerType[];
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
modelValue: string[];
|
|
71
71
|
inputProps: Partial<Mutable<InputProps> & {
|
|
72
72
|
style?: CSSProperties | undefined;
|
|
73
73
|
class?: any;
|