yc-pro-components 0.0.23 → 0.0.25
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 +64 -45
- package/es/components/form/src/form-content.vue.d.ts +24 -20
- package/es/components/form/src/form-content.vue2.mjs +106 -96
- package/es/components/form/src/index.vue.d.ts +20 -17
- package/es/components/form/src/index.vue2.mjs +5 -2
- package/es/components/form/src/type.d.ts +4 -0
- 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/form-item/src/index.vue2.mjs +22 -18
- 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 +587 -452
- package/es/components/page/src/index.vue.d.ts +199 -154
- 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 +218 -154
- package/es/components/search/src/index.vue.d.ts +68 -50
- package/es/components/search/src/index.vue2.mjs +3 -1
- package/es/components/search/src/type.d.ts +7 -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 +450 -360
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
- 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 +6 -6
- package/index.js +140 -134
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +140 -134
- 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 +64 -45
- package/lib/components/form/src/form-content.vue.d.ts +24 -20
- package/lib/components/form/src/form-content.vue2.js +105 -95
- package/lib/components/form/src/index.vue.d.ts +20 -17
- package/lib/components/form/src/index.vue2.js +5 -2
- package/lib/components/form/src/type.d.ts +4 -0
- 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/form-item/src/index.vue2.js +21 -17
- 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 +587 -452
- package/lib/components/page/src/index.vue.d.ts +199 -154
- 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 +218 -154
- package/lib/components/search/src/index.vue.d.ts +68 -50
- package/lib/components/search/src/index.vue2.js +3 -1
- package/lib/components/search/src/type.d.ts +7 -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 +450 -360
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
- 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-form.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-yc-plus-tree.css +1 -1
- package/theme-chalk/src/form.scss +20 -0
- package/theme-chalk/src/search.scss +125 -0
- package/theme-chalk/src/yc-plus-tree.scss +25 -0
|
@@ -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;
|
|
@@ -128,8 +128,8 @@ export declare const PlusFormItem: {
|
|
|
128
128
|
default: undefined;
|
|
129
129
|
};
|
|
130
130
|
}>> & {
|
|
131
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
132
131
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
132
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
135
135
|
readonly label: StringConstructor;
|
|
@@ -472,10 +472,6 @@ 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
|
-
};
|
|
479
475
|
label: {
|
|
480
476
|
type: PropType<string | ComputedRef<string>>;
|
|
481
477
|
default: string;
|
|
@@ -485,10 +481,10 @@ export declare const PlusFormItem: {
|
|
|
485
481
|
required: true;
|
|
486
482
|
};
|
|
487
483
|
tooltip: {
|
|
488
|
-
type: PropType<string |
|
|
484
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
489
485
|
style?: CSSProperties | undefined;
|
|
490
486
|
class?: any;
|
|
491
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
487
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
492
488
|
style?: CSSProperties | undefined;
|
|
493
489
|
class?: any;
|
|
494
490
|
} & RecordType>>>;
|
|
@@ -532,6 +528,10 @@ export declare const PlusFormItem: {
|
|
|
532
528
|
type: PropType<OptionsType>;
|
|
533
529
|
default: () => never[];
|
|
534
530
|
};
|
|
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,11 +587,10 @@ export declare const PlusFormItem: {
|
|
|
587
587
|
default: undefined;
|
|
588
588
|
};
|
|
589
589
|
}>> & {
|
|
590
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
591
590
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
591
|
+
"onUpdate:modelValue"?: ((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;
|
|
595
594
|
label: string | ComputedRef<string>;
|
|
596
595
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
597
596
|
style?: CSSProperties | undefined;
|
|
@@ -629,6 +628,7 @@ export declare const PlusFormItem: {
|
|
|
629
628
|
autosize: InputAutoSize;
|
|
630
629
|
} & 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>>>>;
|
|
631
630
|
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,10 +665,6 @@ 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
|
-
};
|
|
672
668
|
label: {
|
|
673
669
|
type: PropType<string | ComputedRef<string>>;
|
|
674
670
|
default: string;
|
|
@@ -678,10 +674,10 @@ export declare const PlusFormItem: {
|
|
|
678
674
|
required: true;
|
|
679
675
|
};
|
|
680
676
|
tooltip: {
|
|
681
|
-
type: PropType<string |
|
|
677
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
682
678
|
style?: CSSProperties | undefined;
|
|
683
679
|
class?: any;
|
|
684
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
680
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
685
681
|
style?: CSSProperties | undefined;
|
|
686
682
|
class?: any;
|
|
687
683
|
} & RecordType>>>;
|
|
@@ -725,6 +721,10 @@ export declare const PlusFormItem: {
|
|
|
725
721
|
type: PropType<OptionsType>;
|
|
726
722
|
default: () => never[];
|
|
727
723
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
784
783
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
784
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
785
785
|
}, {
|
|
786
786
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
787
787
|
readonly label: StringConstructor;
|
|
@@ -1118,7 +1118,6 @@ 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;
|
|
1122
1121
|
label: string | ComputedRef<string>;
|
|
1123
1122
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1124
1123
|
style?: CSSProperties | undefined;
|
|
@@ -1156,6 +1155,7 @@ export declare const PlusFormItem: {
|
|
|
1156
1155
|
autosize: InputAutoSize;
|
|
1157
1156
|
} & 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>>>>;
|
|
1158
1157
|
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,10 +1189,6 @@ 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
|
-
};
|
|
1196
1192
|
label: {
|
|
1197
1193
|
type: PropType<string | ComputedRef<string>>;
|
|
1198
1194
|
default: string;
|
|
@@ -1202,10 +1198,10 @@ export declare const PlusFormItem: {
|
|
|
1202
1198
|
required: true;
|
|
1203
1199
|
};
|
|
1204
1200
|
tooltip: {
|
|
1205
|
-
type: PropType<string |
|
|
1201
|
+
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
1206
1202
|
style?: CSSProperties | undefined;
|
|
1207
1203
|
class?: any;
|
|
1208
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1204
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1209
1205
|
style?: CSSProperties | undefined;
|
|
1210
1206
|
class?: any;
|
|
1211
1207
|
} & RecordType>>>;
|
|
@@ -1249,6 +1245,10 @@ export declare const PlusFormItem: {
|
|
|
1249
1245
|
type: PropType<OptionsType>;
|
|
1250
1246
|
default: () => never[];
|
|
1251
1247
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1308
1307
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1308
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1309
1309
|
}, {
|
|
1310
1310
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
1311
1311
|
readonly label: StringConstructor;
|
|
@@ -1645,7 +1645,6 @@ 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;
|
|
1649
1648
|
label: string | ComputedRef<string>;
|
|
1650
1649
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1651
1650
|
style?: CSSProperties | undefined;
|
|
@@ -1683,6 +1682,7 @@ export declare const PlusFormItem: {
|
|
|
1683
1682
|
autosize: InputAutoSize;
|
|
1684
1683
|
} & 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>>>>;
|
|
1685
1684
|
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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1720
1720
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1721
|
-
tooltip: string |
|
|
1721
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1722
1722
|
style?: CSSProperties | undefined;
|
|
1723
1723
|
class?: any;
|
|
1724
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1724
|
+
} & RecordType> | ComputedRef<string> | 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" | "
|
|
1753
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1756
1756
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1757
|
-
readonly tooltip: string |
|
|
1757
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1758
1758
|
style?: CSSProperties | undefined;
|
|
1759
1759
|
class?: any;
|
|
1760
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1760
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1828
1828
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1829
|
-
tooltip: string |
|
|
1829
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1830
1830
|
style?: CSSProperties | undefined;
|
|
1831
1831
|
class?: any;
|
|
1832
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1832
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1833
1833
|
style?: CSSProperties | undefined;
|
|
1834
1834
|
class?: any;
|
|
1835
1835
|
} & RecordType>>;
|
|
@@ -417,11 +417,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
417
417
|
clearable: boolean;
|
|
418
418
|
index: number;
|
|
419
419
|
}>>> & {
|
|
420
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
421
420
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
421
|
+
"onUpdate:modelValue"?: ((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;
|
|
425
424
|
label: string | ComputedRef<string>;
|
|
426
425
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
427
426
|
style?: CSSProperties | undefined;
|
|
@@ -459,6 +458,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
459
458
|
autosize: InputAutoSize;
|
|
460
459
|
} & 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>>>>;
|
|
461
460
|
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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
495
495
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
496
|
-
tooltip: string |
|
|
496
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
497
497
|
style?: CSSProperties | undefined;
|
|
498
498
|
class?: any;
|
|
499
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
499
|
+
} & RecordType> | ComputedRef<string> | 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" | "
|
|
528
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
531
531
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
532
|
-
readonly tooltip: string |
|
|
532
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
533
533
|
style?: CSSProperties | undefined;
|
|
534
534
|
class?: any;
|
|
535
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
535
|
+
} & RecordType> | ComputedRef<string> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
603
603
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
604
|
-
tooltip: string |
|
|
604
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
605
605
|
style?: CSSProperties | undefined;
|
|
606
606
|
class?: any;
|
|
607
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
607
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
608
608
|
style?: CSSProperties | undefined;
|
|
609
609
|
class?: any;
|
|
610
610
|
} & RecordType>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, inject, unref, watch, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, computed, inject, unref, watch, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementBlock, createCommentVNode, renderSlot, Fragment, renderList, resolveDynamicComponent, normalizeProps, createTextVNode, toDisplayString, guardReactiveProps, createElementVNode, createVNode } from 'vue';
|
|
2
2
|
import { getLabel, getCustomProps, getFieldSlotName, getLabelSlotName, getTooltip, versionIsLessThan260 } from '../../utils/index.mjs';
|
|
3
3
|
import { QuestionFilled } from '@element-plus/icons-vue';
|
|
4
4
|
import { useGetOptions } from '../../../hooks/useGetOptions.mjs';
|
|
@@ -12,6 +12,14 @@ import { isFunction, isArray, isDate } from '../../utils/is.mjs';
|
|
|
12
12
|
|
|
13
13
|
const _hoisted_1 = { class: "el-form-item__error" };
|
|
14
14
|
const _hoisted_2 = { class: "plus-form-item__label" };
|
|
15
|
+
const _hoisted_3 = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "plus-form-item-field"
|
|
18
|
+
};
|
|
19
|
+
const _hoisted_4 = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "plus-form-item-field"
|
|
22
|
+
};
|
|
15
23
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
24
|
...{
|
|
17
25
|
name: "PlusFormItem"
|
|
@@ -226,23 +234,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
226
234
|
"label-width": _ctx.hasLabel ? (_a = customFormItemProps.value) == null ? void 0 : _a.labelWidth : "0px"
|
|
227
235
|
}), createSlots({
|
|
228
236
|
default: withCtx(() => [
|
|
229
|
-
_ctx.renderField && unref(isFunction)(_ctx.renderField) ? (openBlock(), createElementBlock(
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
],
|
|
243
|
-
64
|
|
244
|
-
/* STABLE_FRAGMENT */
|
|
245
|
-
)) : _ctx.$slots[unref(getFieldSlotName)(_ctx.prop)] ? renderSlot(_ctx.$slots, unref(getFieldSlotName)(_ctx.prop), mergeProps({ key: 1 }, params.value, { column: props })) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (openBlock(), createBlock(unref(ElSelect$1), mergeProps({
|
|
237
|
+
_ctx.renderField && unref(isFunction)(_ctx.renderField) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
238
|
+
valueIsReady.value ? (openBlock(), createBlock(unref(PlusRender), {
|
|
239
|
+
key: 0,
|
|
240
|
+
render: _ctx.renderField,
|
|
241
|
+
params: params.value,
|
|
242
|
+
"callback-value": state.value,
|
|
243
|
+
"custom-field-props": customFieldProps.value,
|
|
244
|
+
"render-type": "form",
|
|
245
|
+
"handle-change": handleChange
|
|
246
|
+
}, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : createCommentVNode("v-if", true)
|
|
247
|
+
])) : _ctx.$slots[unref(getFieldSlotName)(_ctx.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
248
|
+
renderSlot(_ctx.$slots, unref(getFieldSlotName)(_ctx.prop), mergeProps(params.value, { column: props }))
|
|
249
|
+
])) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (openBlock(), createBlock(unref(ElSelect$1), mergeProps({
|
|
246
250
|
key: 2,
|
|
247
251
|
ref_key: "fieldInstance",
|
|
248
252
|
ref: fieldInstance,
|
|
@@ -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: {
|