yc-pro-components 0.0.50 → 0.0.52
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-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 +4 -1
- package/es/directives/dist/index.mjs +14 -0
- package/es/hooks/usePlusFormReset.d.ts +238 -238
- package/es/index.css +8 -8
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/make-installer.d.ts +7 -2
- package/es/make-installer.mjs +7 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/index.d.ts +1 -0
- package/es/yc-components/make-installer.d.ts +7 -2
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +28 -9
- package/index.min.js +11 -11
- package/index.min.mjs +11 -11
- package/index.mjs +25 -6
- 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-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 +4 -1
- package/lib/directives/dist/index.js +16 -0
- package/lib/hooks/usePlusFormReset.d.ts +238 -238
- package/lib/index.css +9 -9
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -0
- package/lib/make-installer.d.ts +7 -2
- package/lib/make-installer.js +7 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/index.d.ts +1 -0
- package/lib/yc-components/make-installer.d.ts +7 -2
- package/lib/yc-components/version.d.ts +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
|
@@ -2,7 +2,7 @@ import { PlusFormItemProps } from './src/index.vue';
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
4
4
|
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';
|
|
5
|
-
import {
|
|
5
|
+
import { RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'packages/yc-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
7
7
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
8
8
|
export declare const PlusFormItem: {
|
|
@@ -11,6 +11,10 @@ export declare const PlusFormItem: {
|
|
|
11
11
|
type: PropType<number>;
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
14
18
|
label: {
|
|
15
19
|
type: PropType<string | ComputedRef<string>>;
|
|
16
20
|
default: string;
|
|
@@ -20,10 +24,10 @@ export declare const PlusFormItem: {
|
|
|
20
24
|
required: true;
|
|
21
25
|
};
|
|
22
26
|
tooltip: {
|
|
23
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
27
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
24
28
|
style?: CSSProperties | undefined;
|
|
25
29
|
class?: any;
|
|
26
|
-
} & RecordType> | ComputedRef<
|
|
30
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
27
31
|
style?: CSSProperties | undefined;
|
|
28
32
|
class?: any;
|
|
29
33
|
} & RecordType>>>;
|
|
@@ -67,10 +71,6 @@ export declare const PlusFormItem: {
|
|
|
67
71
|
type: PropType<OptionsType>;
|
|
68
72
|
default: () => never[];
|
|
69
73
|
};
|
|
70
|
-
modelValue: {
|
|
71
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
74
|
fieldSlots: {
|
|
75
75
|
type: PropType<{
|
|
76
76
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -126,8 +126,8 @@ export declare const PlusFormItem: {
|
|
|
126
126
|
default: undefined;
|
|
127
127
|
};
|
|
128
128
|
}>> & {
|
|
129
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
130
129
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
130
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
formItemInstance: Ref<({
|
|
133
133
|
$: ComponentInternalInstance;
|
|
@@ -140,10 +140,10 @@ export declare const PlusFormItem: {
|
|
|
140
140
|
}> & Omit<{
|
|
141
141
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
142
142
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
143
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
144
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
143
145
|
readonly label?: string | undefined;
|
|
144
146
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
145
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
146
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
147
147
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
148
148
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
149
149
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -339,6 +339,10 @@ export declare const PlusFormItem: {
|
|
|
339
339
|
type: PropType<number>;
|
|
340
340
|
default: number;
|
|
341
341
|
};
|
|
342
|
+
modelValue: {
|
|
343
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
344
|
+
default: string;
|
|
345
|
+
};
|
|
342
346
|
label: {
|
|
343
347
|
type: PropType<string | ComputedRef<string>>;
|
|
344
348
|
default: string;
|
|
@@ -348,10 +352,10 @@ export declare const PlusFormItem: {
|
|
|
348
352
|
required: true;
|
|
349
353
|
};
|
|
350
354
|
tooltip: {
|
|
351
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
355
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
352
356
|
style?: CSSProperties | undefined;
|
|
353
357
|
class?: any;
|
|
354
|
-
} & RecordType> | ComputedRef<
|
|
358
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
355
359
|
style?: CSSProperties | undefined;
|
|
356
360
|
class?: any;
|
|
357
361
|
} & RecordType>>>;
|
|
@@ -395,10 +399,6 @@ export declare const PlusFormItem: {
|
|
|
395
399
|
type: PropType<OptionsType>;
|
|
396
400
|
default: () => never[];
|
|
397
401
|
};
|
|
398
|
-
modelValue: {
|
|
399
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
400
|
-
default: string;
|
|
401
|
-
};
|
|
402
402
|
fieldSlots: {
|
|
403
403
|
type: PropType<{
|
|
404
404
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -454,10 +454,11 @@ export declare const PlusFormItem: {
|
|
|
454
454
|
default: undefined;
|
|
455
455
|
};
|
|
456
456
|
}>> & {
|
|
457
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
458
457
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
458
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
459
459
|
}, {
|
|
460
460
|
index: number;
|
|
461
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
461
462
|
label: string | ComputedRef<string>;
|
|
462
463
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
463
464
|
style?: CSSProperties | undefined;
|
|
@@ -495,7 +496,6 @@ export declare const PlusFormItem: {
|
|
|
495
496
|
autosize: InputAutoSize;
|
|
496
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>>>>;
|
|
497
498
|
options: OptionsType;
|
|
498
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
499
499
|
fieldSlots: {
|
|
500
500
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
501
501
|
};
|
|
@@ -532,6 +532,10 @@ export declare const PlusFormItem: {
|
|
|
532
532
|
type: PropType<number>;
|
|
533
533
|
default: number;
|
|
534
534
|
};
|
|
535
|
+
modelValue: {
|
|
536
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
537
|
+
default: string;
|
|
538
|
+
};
|
|
535
539
|
label: {
|
|
536
540
|
type: PropType<string | ComputedRef<string>>;
|
|
537
541
|
default: string;
|
|
@@ -541,10 +545,10 @@ export declare const PlusFormItem: {
|
|
|
541
545
|
required: true;
|
|
542
546
|
};
|
|
543
547
|
tooltip: {
|
|
544
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
548
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
545
549
|
style?: CSSProperties | undefined;
|
|
546
550
|
class?: any;
|
|
547
|
-
} & RecordType> | ComputedRef<
|
|
551
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
548
552
|
style?: CSSProperties | undefined;
|
|
549
553
|
class?: any;
|
|
550
554
|
} & RecordType>>>;
|
|
@@ -588,10 +592,6 @@ export declare const PlusFormItem: {
|
|
|
588
592
|
type: PropType<OptionsType>;
|
|
589
593
|
default: () => never[];
|
|
590
594
|
};
|
|
591
|
-
modelValue: {
|
|
592
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
593
|
-
default: string;
|
|
594
|
-
};
|
|
595
595
|
fieldSlots: {
|
|
596
596
|
type: PropType<{
|
|
597
597
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -647,8 +647,8 @@ export declare const PlusFormItem: {
|
|
|
647
647
|
default: undefined;
|
|
648
648
|
};
|
|
649
649
|
}>> & {
|
|
650
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
651
650
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
651
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
652
652
|
}, {
|
|
653
653
|
formItemInstance: Ref<({
|
|
654
654
|
$: ComponentInternalInstance;
|
|
@@ -661,10 +661,10 @@ export declare const PlusFormItem: {
|
|
|
661
661
|
}> & Omit<{
|
|
662
662
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
663
663
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
664
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
665
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
664
666
|
readonly label?: string | undefined;
|
|
665
667
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
666
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
667
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
668
668
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
669
669
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
670
670
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -854,6 +854,7 @@ export declare const PlusFormItem: {
|
|
|
854
854
|
fieldInstance: Ref<any>;
|
|
855
855
|
}, {}, {}, {}, {
|
|
856
856
|
index: number;
|
|
857
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
857
858
|
label: string | ComputedRef<string>;
|
|
858
859
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
859
860
|
style?: CSSProperties | undefined;
|
|
@@ -891,7 +892,6 @@ export declare const PlusFormItem: {
|
|
|
891
892
|
autosize: InputAutoSize;
|
|
892
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>>>>;
|
|
893
894
|
options: OptionsType;
|
|
894
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
895
895
|
fieldSlots: {
|
|
896
896
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
897
897
|
};
|
|
@@ -925,6 +925,10 @@ export declare const PlusFormItem: {
|
|
|
925
925
|
type: PropType<number>;
|
|
926
926
|
default: number;
|
|
927
927
|
};
|
|
928
|
+
modelValue: {
|
|
929
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
930
|
+
default: string;
|
|
931
|
+
};
|
|
928
932
|
label: {
|
|
929
933
|
type: PropType<string | ComputedRef<string>>;
|
|
930
934
|
default: string;
|
|
@@ -934,10 +938,10 @@ export declare const PlusFormItem: {
|
|
|
934
938
|
required: true;
|
|
935
939
|
};
|
|
936
940
|
tooltip: {
|
|
937
|
-
type: PropType<string | Partial< Mutable<ElTooltipProps> & {
|
|
941
|
+
type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
938
942
|
style?: CSSProperties | undefined;
|
|
939
943
|
class?: any;
|
|
940
|
-
} & RecordType> | ComputedRef<
|
|
944
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
941
945
|
style?: CSSProperties | undefined;
|
|
942
946
|
class?: any;
|
|
943
947
|
} & RecordType>>>;
|
|
@@ -981,10 +985,6 @@ export declare const PlusFormItem: {
|
|
|
981
985
|
type: PropType<OptionsType>;
|
|
982
986
|
default: () => never[];
|
|
983
987
|
};
|
|
984
|
-
modelValue: {
|
|
985
|
-
type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
986
|
-
default: string;
|
|
987
|
-
};
|
|
988
988
|
fieldSlots: {
|
|
989
989
|
type: PropType<{
|
|
990
990
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1040,8 +1040,8 @@ export declare const PlusFormItem: {
|
|
|
1040
1040
|
default: undefined;
|
|
1041
1041
|
};
|
|
1042
1042
|
}>> & {
|
|
1043
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1044
1043
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1044
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1045
1045
|
}, {
|
|
1046
1046
|
formItemInstance: Ref<({
|
|
1047
1047
|
$: ComponentInternalInstance;
|
|
@@ -1054,10 +1054,10 @@ export declare const PlusFormItem: {
|
|
|
1054
1054
|
}> & Omit<{
|
|
1055
1055
|
readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
|
|
1056
1056
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1057
|
+
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1058
|
+
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1057
1059
|
readonly label?: string | undefined;
|
|
1058
1060
|
readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
|
|
1059
|
-
readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1060
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
|
|
1061
1061
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
1062
1062
|
readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
1063
1063
|
readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
@@ -1250,6 +1250,7 @@ export declare const PlusFormItem: {
|
|
|
1250
1250
|
change: (value: FieldValueType) => void;
|
|
1251
1251
|
}, string, {
|
|
1252
1252
|
index: number;
|
|
1253
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1253
1254
|
label: string | ComputedRef<string>;
|
|
1254
1255
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1255
1256
|
style?: CSSProperties | undefined;
|
|
@@ -1287,7 +1288,6 @@ export declare const PlusFormItem: {
|
|
|
1287
1288
|
autosize: InputAutoSize;
|
|
1288
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>>>>;
|
|
1289
1290
|
options: OptionsType;
|
|
1290
|
-
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1291
1291
|
fieldSlots: {
|
|
1292
1292
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1293
1293
|
};
|
|
@@ -1321,12 +1321,12 @@ export declare const PlusFormItem: {
|
|
|
1321
1321
|
fieldInstance?: any;
|
|
1322
1322
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1323
1323
|
prop: string;
|
|
1324
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1324
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1325
1325
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1326
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1326
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1327
1327
|
style?: CSSProperties | undefined;
|
|
1328
1328
|
class?: any;
|
|
1329
|
-
} & RecordType> | ComputedRef<
|
|
1329
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1330
1330
|
style?: CSSProperties | undefined;
|
|
1331
1331
|
class?: any;
|
|
1332
1332
|
} & RecordType>>;
|
|
@@ -1355,14 +1355,14 @@ export declare const PlusFormItem: {
|
|
|
1355
1355
|
clearable: boolean;
|
|
1356
1356
|
index: number;
|
|
1357
1357
|
}) => any>> & Partial<Record<string, (_: {
|
|
1358
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1358
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1359
1359
|
readonly label: string | ComputedRef<string>;
|
|
1360
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1360
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1361
1361
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1362
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1362
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1363
1363
|
style?: CSSProperties | undefined;
|
|
1364
1364
|
class?: any;
|
|
1365
|
-
} & RecordType> | ComputedRef<
|
|
1365
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1366
1366
|
style?: CSSProperties | undefined;
|
|
1367
1367
|
class?: any;
|
|
1368
1368
|
} & RecordType>>;
|
|
@@ -1429,12 +1429,12 @@ export declare const PlusFormItem: {
|
|
|
1429
1429
|
fieldInstance?: any;
|
|
1430
1430
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1431
1431
|
prop: string;
|
|
1432
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1432
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1433
1433
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1434
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1434
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1435
1435
|
style?: CSSProperties | undefined;
|
|
1436
1436
|
class?: any;
|
|
1437
|
-
} & RecordType> | ComputedRef<
|
|
1437
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1438
1438
|
style?: CSSProperties | undefined;
|
|
1439
1439
|
class?: any;
|
|
1440
1440
|
} & 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;
|
|
74
76
|
readonly label?: string | undefined;
|
|
75
77
|
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,10 +284,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
284
|
clearable: boolean;
|
|
285
285
|
index: number;
|
|
286
286
|
}>>> & {
|
|
287
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
288
287
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
288
|
+
onChange?: ((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;
|
|
291
292
|
label: string | ComputedRef<string>;
|
|
292
293
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
293
294
|
style?: CSSProperties | undefined;
|
|
@@ -325,7 +326,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
325
326
|
autosize: InputAutoSize;
|
|
326
327
|
} & 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>>>>;
|
|
327
328
|
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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
362
362
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
363
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
363
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
364
364
|
style?: CSSProperties | undefined;
|
|
365
365
|
class?: any;
|
|
366
|
-
} & RecordType> | ComputedRef<
|
|
366
|
+
} & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
395
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
398
398
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
399
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
399
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
400
400
|
style?: CSSProperties | undefined;
|
|
401
401
|
class?: any;
|
|
402
|
-
} & RecordType> | ComputedRef<
|
|
402
|
+
} & RecordType> | 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] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
470
470
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
471
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
471
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
472
472
|
style?: CSSProperties | undefined;
|
|
473
473
|
class?: any;
|
|
474
|
-
} & RecordType> | ComputedRef<
|
|
474
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
475
475
|
style?: CSSProperties | undefined;
|
|
476
476
|
class?: any;
|
|
477
477
|
} & RecordType>>;
|
|
@@ -3,10 +3,6 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
3
3
|
export * from './src/type';
|
|
4
4
|
export declare const PlusHeader: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
|
-
trigger: {
|
|
7
|
-
type: PropType<"hover" | "click">;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
6
|
fixed: {
|
|
11
7
|
type: PropType<boolean>;
|
|
12
8
|
default: boolean;
|
|
@@ -15,6 +11,10 @@ export declare const PlusHeader: {
|
|
|
15
11
|
type: PropType<string>;
|
|
16
12
|
default: string;
|
|
17
13
|
};
|
|
14
|
+
trigger: {
|
|
15
|
+
type: PropType<"click" | "hover">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
18
|
logo: {
|
|
19
19
|
type: PropType<string>;
|
|
20
20
|
default: string;
|
|
@@ -67,10 +67,6 @@ export declare const PlusHeader: {
|
|
|
67
67
|
value: string;
|
|
68
68
|
}) => void;
|
|
69
69
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
70
|
-
trigger: {
|
|
71
|
-
type: PropType<"hover" | "click">;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
70
|
fixed: {
|
|
75
71
|
type: PropType<boolean>;
|
|
76
72
|
default: boolean;
|
|
@@ -79,6 +75,10 @@ export declare const PlusHeader: {
|
|
|
79
75
|
type: PropType<string>;
|
|
80
76
|
default: string;
|
|
81
77
|
};
|
|
78
|
+
trigger: {
|
|
79
|
+
type: PropType<"click" | "hover">;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
82
|
logo: {
|
|
83
83
|
type: PropType<string>;
|
|
84
84
|
default: string;
|
|
@@ -126,9 +126,9 @@ export declare const PlusHeader: {
|
|
|
126
126
|
value: string;
|
|
127
127
|
}) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
-
trigger: "hover" | "click";
|
|
130
129
|
fixed: boolean;
|
|
131
130
|
title: string;
|
|
131
|
+
trigger: "click" | "hover";
|
|
132
132
|
logo: string;
|
|
133
133
|
logoutText: string;
|
|
134
134
|
userInfo: {
|
|
@@ -151,10 +151,6 @@ export declare const PlusHeader: {
|
|
|
151
151
|
M: {};
|
|
152
152
|
Defaults: {};
|
|
153
153
|
}, Readonly< ExtractPropTypes<{
|
|
154
|
-
trigger: {
|
|
155
|
-
type: PropType<"hover" | "click">;
|
|
156
|
-
default: string;
|
|
157
|
-
};
|
|
158
154
|
fixed: {
|
|
159
155
|
type: PropType<boolean>;
|
|
160
156
|
default: boolean;
|
|
@@ -163,6 +159,10 @@ export declare const PlusHeader: {
|
|
|
163
159
|
type: PropType<string>;
|
|
164
160
|
default: string;
|
|
165
161
|
};
|
|
162
|
+
trigger: {
|
|
163
|
+
type: PropType<"click" | "hover">;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
166
|
logo: {
|
|
167
167
|
type: PropType<string>;
|
|
168
168
|
default: string;
|
|
@@ -210,9 +210,9 @@ export declare const PlusHeader: {
|
|
|
210
210
|
value: string;
|
|
211
211
|
}) => any) | undefined;
|
|
212
212
|
}, {}, {}, {}, {}, {
|
|
213
|
-
trigger: "hover" | "click";
|
|
214
213
|
fixed: boolean;
|
|
215
214
|
title: string;
|
|
215
|
+
trigger: "click" | "hover";
|
|
216
216
|
logo: string;
|
|
217
217
|
logoutText: string;
|
|
218
218
|
userInfo: {
|
|
@@ -232,10 +232,6 @@ export declare const PlusHeader: {
|
|
|
232
232
|
__isTeleport?: undefined;
|
|
233
233
|
__isSuspense?: undefined;
|
|
234
234
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
235
|
-
trigger: {
|
|
236
|
-
type: PropType<"hover" | "click">;
|
|
237
|
-
default: string;
|
|
238
|
-
};
|
|
239
235
|
fixed: {
|
|
240
236
|
type: PropType<boolean>;
|
|
241
237
|
default: boolean;
|
|
@@ -244,6 +240,10 @@ export declare const PlusHeader: {
|
|
|
244
240
|
type: PropType<string>;
|
|
245
241
|
default: string;
|
|
246
242
|
};
|
|
243
|
+
trigger: {
|
|
244
|
+
type: PropType<"click" | "hover">;
|
|
245
|
+
default: string;
|
|
246
|
+
};
|
|
247
247
|
logo: {
|
|
248
248
|
type: PropType<string>;
|
|
249
249
|
default: string;
|
|
@@ -296,9 +296,9 @@ export declare const PlusHeader: {
|
|
|
296
296
|
value: string;
|
|
297
297
|
}) => void;
|
|
298
298
|
}, string, {
|
|
299
|
-
trigger: "hover" | "click";
|
|
300
299
|
fixed: boolean;
|
|
301
300
|
title: string;
|
|
301
|
+
trigger: "click" | "hover";
|
|
302
302
|
logo: string;
|
|
303
303
|
logoutText: string;
|
|
304
304
|
userInfo: {
|
|
@@ -30,9 +30,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
30
30
|
value: string;
|
|
31
31
|
}) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
trigger: "hover" | "click";
|
|
34
33
|
fixed: boolean;
|
|
35
34
|
title: string;
|
|
35
|
+
trigger: "click" | "hover";
|
|
36
36
|
logo: string;
|
|
37
37
|
logoutText: string;
|
|
38
38
|
userInfo: {
|
|
@@ -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
|
+
modelValue: {
|
|
9
|
+
type: PropType<string[]>;
|
|
10
|
+
default: () => never[];
|
|
11
11
|
};
|
|
12
12
|
disabled: {
|
|
13
13
|
type: PropType<boolean>;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
type: PropType<
|
|
18
|
-
default: () =>
|
|
16
|
+
trigger: {
|
|
17
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
18
|
+
default: () => string[];
|
|
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
|
+
modelValue: {
|
|
58
|
+
type: PropType<string[]>;
|
|
59
|
+
default: () => never[];
|
|
60
60
|
};
|
|
61
61
|
disabled: {
|
|
62
62
|
type: PropType<boolean>;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
-
|
|
66
|
-
type: PropType<
|
|
67
|
-
default: () =>
|
|
65
|
+
trigger: {
|
|
66
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
67
|
+
default: () => string[];
|
|
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;
|
|
96
97
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
97
98
|
onChange?: ((data: string[]) => any) | undefined;
|
|
98
99
|
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
|
-
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
104
|
-
disabled: boolean;
|
|
105
103
|
modelValue: string[];
|
|
104
|
+
disabled: boolean;
|
|
105
|
+
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
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;
|
|
61
62
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
62
63
|
onChange?: ((data: string[]) => any) | undefined;
|
|
63
64
|
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
|
-
trigger: TriggerType | TriggerType[];
|
|
69
|
-
disabled: boolean;
|
|
70
68
|
modelValue: string[];
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
trigger: TriggerType | TriggerType[];
|
|
71
71
|
inputProps: Partial<Mutable<InputProps> & {
|
|
72
72
|
style?: CSSProperties | undefined;
|
|
73
73
|
class?: any;
|