yc-pro-components 0.0.9 → 0.0.10
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 +49 -49
- 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 +17 -17
- package/es/components/date-picker/src/index.vue.d.ts +9 -9
- package/es/components/dialog/index.d.ts +41 -41
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +109 -109
- package/es/components/dialog-form/src/index.vue.d.ts +35 -35
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +105 -105
- package/es/components/drawer-form/src/index.vue.d.ts +34 -34
- package/es/components/form/index.d.ts +123 -123
- package/es/components/form/src/form-content.vue.d.ts +24 -24
- package/es/components/form/src/index.vue.d.ts +43 -43
- package/es/components/form-item/index.d.ts +78 -78
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- 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 +48 -48
- package/es/components/input-tag/src/index.vue.d.ts +36 -36
- package/es/components/layout/index.d.ts +60 -60
- package/es/components/layout/src/index.vue.d.ts +20 -20
- package/es/components/page/index.d.ts +846 -846
- package/es/components/page/src/index.vue.d.ts +286 -286
- 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 +47 -47
- package/es/components/radio/src/index.vue.d.ts +39 -39
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +324 -324
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/sidebar/index.d.ts +30 -30
- package/es/components/sidebar/src/index.vue.d.ts +10 -10
- 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 +76 -76
- package/es/components/table/src/index.vue.d.ts +24 -24
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +6 -6
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- 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-drawer/store.d.ts +13 -13
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +86 -86
- package/es/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/es/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +6 -6
- package/es/components/yc-segmented/src/index.d.ts +6 -6
- 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/components/yc-text/src/index.vue2.mjs +31 -4
- package/es/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +31 -4
- package/index.min.js +2 -2
- package/index.min.mjs +3 -3
- package/index.mjs +31 -4
- package/lib/components/check-card/index.d.ts +49 -49
- 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 +17 -17
- package/lib/components/date-picker/src/index.vue.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +41 -41
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +109 -109
- package/lib/components/dialog-form/src/index.vue.d.ts +35 -35
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +105 -105
- package/lib/components/drawer-form/src/index.vue.d.ts +34 -34
- package/lib/components/form/index.d.ts +123 -123
- package/lib/components/form/src/form-content.vue.d.ts +24 -24
- package/lib/components/form/src/index.vue.d.ts +43 -43
- package/lib/components/form-item/index.d.ts +78 -78
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- 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 +48 -48
- package/lib/components/input-tag/src/index.vue.d.ts +36 -36
- package/lib/components/layout/index.d.ts +60 -60
- package/lib/components/layout/src/index.vue.d.ts +20 -20
- package/lib/components/page/index.d.ts +846 -846
- package/lib/components/page/src/index.vue.d.ts +286 -286
- 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 +47 -47
- package/lib/components/radio/src/index.vue.d.ts +39 -39
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +324 -324
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/sidebar/index.d.ts +30 -30
- package/lib/components/sidebar/src/index.vue.d.ts +10 -10
- 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 +76 -76
- package/lib/components/table/src/index.vue.d.ts +24 -24
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +6 -6
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- 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-drawer/store.d.ts +13 -13
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +86 -86
- package/lib/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/lib/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +6 -6
- package/lib/components/yc-segmented/src/index.d.ts +6 -6
- 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/components/yc-text/src/index.vue2.js +30 -3
- package/lib/hooks/usePlusFormReset.d.ts +487 -487
- 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
|
@@ -83,7 +83,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
83
83
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
84
84
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
85
85
|
readonly size: {
|
|
86
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
86
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
87
87
|
readonly required: false;
|
|
88
88
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
89
89
|
__epPropKey: true;
|
|
@@ -116,7 +116,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
116
116
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
117
117
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
118
118
|
readonly size: {
|
|
119
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
119
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
120
120
|
readonly required: false;
|
|
121
121
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
122
|
__epPropKey: true;
|
|
@@ -129,7 +129,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
129
129
|
}>;
|
|
130
130
|
formContext: FormContext | undefined;
|
|
131
131
|
parentFormItemContext: FormItemContext | undefined;
|
|
132
|
-
_size: ComputedRef<"" | "
|
|
132
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
133
133
|
ns: {
|
|
134
134
|
namespace: ComputedRef<string>;
|
|
135
135
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -224,7 +224,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
224
224
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
225
225
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
226
226
|
readonly size: {
|
|
227
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
227
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
228
228
|
readonly required: false;
|
|
229
229
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
230
230
|
__epPropKey: true;
|
|
@@ -268,7 +268,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
268
268
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
269
269
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
270
270
|
readonly size: {
|
|
271
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
271
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
272
272
|
readonly required: false;
|
|
273
273
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
274
274
|
__epPropKey: true;
|
|
@@ -301,7 +301,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
301
301
|
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
302
302
|
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
303
303
|
readonly size: {
|
|
304
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
304
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
305
305
|
readonly required: false;
|
|
306
306
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
307
307
|
__epPropKey: true;
|
|
@@ -314,7 +314,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
314
314
|
}>;
|
|
315
315
|
formContext: FormContext | undefined;
|
|
316
316
|
parentFormItemContext: FormItemContext | undefined;
|
|
317
|
-
_size: ComputedRef<"" | "
|
|
317
|
+
_size: ComputedRef<"" | "large" | "default" | "small">;
|
|
318
318
|
ns: {
|
|
319
319
|
namespace: ComputedRef<string>;
|
|
320
320
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -410,11 +410,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
410
410
|
clearable: boolean;
|
|
411
411
|
index: number;
|
|
412
412
|
}>>> & {
|
|
413
|
-
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
414
413
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
414
|
+
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
index: number;
|
|
417
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
418
417
|
label: string | ComputedRef<string>;
|
|
419
418
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
420
419
|
style?: CSSProperties | undefined;
|
|
@@ -441,7 +440,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
441
440
|
};
|
|
442
441
|
rows: number;
|
|
443
442
|
autocomplete: string;
|
|
444
|
-
type: "" | "number" | "
|
|
443
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
445
444
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
446
445
|
step: string | number;
|
|
447
446
|
format: string | ProgressFn | undefined;
|
|
@@ -452,13 +451,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
452
451
|
autosize: InputAutoSize;
|
|
453
452
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
454
453
|
options: OptionsType;
|
|
454
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
455
455
|
fieldSlots: {
|
|
456
456
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
457
457
|
};
|
|
458
458
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
459
459
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
460
460
|
clearable: boolean;
|
|
461
|
-
valueType: "
|
|
461
|
+
valueType: "text" | "input" | "select" | "textarea" | TableValueType | "autocomplete" | "cascader" | "checkbox" | "color-picker" | "date-picker" | "input-number" | "radio" | "rate" | "slider" | "switch" | "time-picker" | "time-select" | "plus-radio" | "plus-date-picker" | "plus-input-tag" | "transfer" | "tree-select" | "select-v2";
|
|
462
462
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
463
463
|
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
464
464
|
renderErrorMessage: (props: PlusColumn & {
|
|
@@ -478,12 +478,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
478
478
|
fieldInstance?: any;
|
|
479
479
|
valueIsReady?: Ref<boolean> | undefined;
|
|
480
480
|
prop: string;
|
|
481
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
481
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
482
482
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
483
|
-
tooltip: string |
|
|
483
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
484
484
|
style?: CSSProperties | undefined;
|
|
485
485
|
class?: any;
|
|
486
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
486
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
487
487
|
style?: CSSProperties | undefined;
|
|
488
488
|
class?: any;
|
|
489
489
|
} & RecordType>>;
|
|
@@ -506,14 +506,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
506
506
|
clearable: boolean;
|
|
507
507
|
index: number;
|
|
508
508
|
}) => any>> & Partial<Record<string, (_: {
|
|
509
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
509
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
510
510
|
readonly label: string | ComputedRef<string>;
|
|
511
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
511
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
512
512
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
513
|
-
readonly tooltip: string |
|
|
513
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
514
514
|
style?: CSSProperties | undefined;
|
|
515
515
|
class?: any;
|
|
516
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
516
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
517
517
|
style?: CSSProperties | undefined;
|
|
518
518
|
class?: any;
|
|
519
519
|
} & RecordType>>;
|
|
@@ -535,7 +535,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
535
535
|
};
|
|
536
536
|
rows: number;
|
|
537
537
|
autocomplete: string;
|
|
538
|
-
type: "" | "number" | "
|
|
538
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
539
539
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
540
540
|
step: string | number;
|
|
541
541
|
format: string | ProgressFn | undefined;
|
|
@@ -574,12 +574,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
574
574
|
fieldInstance?: any;
|
|
575
575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
576
576
|
prop: string;
|
|
577
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
577
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
578
578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
579
|
-
tooltip: string |
|
|
579
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
580
580
|
style?: CSSProperties | undefined;
|
|
581
581
|
class?: any;
|
|
582
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
582
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
583
583
|
style?: CSSProperties | undefined;
|
|
584
584
|
class?: any;
|
|
585
585
|
} & RecordType>>;
|
|
@@ -3,6 +3,10 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
3
3
|
export * from './src/type';
|
|
4
4
|
export declare const PlusHeader: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
|
+
trigger: {
|
|
7
|
+
type: PropType<"hover" | "click">;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
6
10
|
fixed: {
|
|
7
11
|
type: PropType<boolean>;
|
|
8
12
|
default: boolean;
|
|
@@ -11,10 +15,6 @@ export declare const PlusHeader: {
|
|
|
11
15
|
type: PropType<string>;
|
|
12
16
|
default: string;
|
|
13
17
|
};
|
|
14
|
-
trigger: {
|
|
15
|
-
type: PropType<"click" | "hover">;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
18
|
logo: {
|
|
19
19
|
type: PropType<string>;
|
|
20
20
|
default: string;
|
|
@@ -67,6 +67,10 @@ export declare const PlusHeader: {
|
|
|
67
67
|
value: string;
|
|
68
68
|
}) => void;
|
|
69
69
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
70
|
+
trigger: {
|
|
71
|
+
type: PropType<"hover" | "click">;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
70
74
|
fixed: {
|
|
71
75
|
type: PropType<boolean>;
|
|
72
76
|
default: boolean;
|
|
@@ -75,10 +79,6 @@ export declare const PlusHeader: {
|
|
|
75
79
|
type: PropType<string>;
|
|
76
80
|
default: string;
|
|
77
81
|
};
|
|
78
|
-
trigger: {
|
|
79
|
-
type: PropType<"click" | "hover">;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
82
|
logo: {
|
|
83
83
|
type: PropType<string>;
|
|
84
84
|
default: string;
|
|
@@ -126,9 +126,9 @@ export declare const PlusHeader: {
|
|
|
126
126
|
value: string;
|
|
127
127
|
}) => any) | undefined;
|
|
128
128
|
}, {
|
|
129
|
+
trigger: "hover" | "click";
|
|
129
130
|
fixed: boolean;
|
|
130
131
|
title: string;
|
|
131
|
-
trigger: "click" | "hover";
|
|
132
132
|
logo: string;
|
|
133
133
|
logoutText: string;
|
|
134
134
|
userInfo: {
|
|
@@ -151,6 +151,10 @@ export declare const PlusHeader: {
|
|
|
151
151
|
M: {};
|
|
152
152
|
Defaults: {};
|
|
153
153
|
}, Readonly< ExtractPropTypes<{
|
|
154
|
+
trigger: {
|
|
155
|
+
type: PropType<"hover" | "click">;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
154
158
|
fixed: {
|
|
155
159
|
type: PropType<boolean>;
|
|
156
160
|
default: boolean;
|
|
@@ -159,10 +163,6 @@ export declare const PlusHeader: {
|
|
|
159
163
|
type: PropType<string>;
|
|
160
164
|
default: string;
|
|
161
165
|
};
|
|
162
|
-
trigger: {
|
|
163
|
-
type: PropType<"click" | "hover">;
|
|
164
|
-
default: string;
|
|
165
|
-
};
|
|
166
166
|
logo: {
|
|
167
167
|
type: PropType<string>;
|
|
168
168
|
default: string;
|
|
@@ -210,9 +210,9 @@ export declare const PlusHeader: {
|
|
|
210
210
|
value: string;
|
|
211
211
|
}) => any) | undefined;
|
|
212
212
|
}, {}, {}, {}, {}, {
|
|
213
|
+
trigger: "hover" | "click";
|
|
213
214
|
fixed: boolean;
|
|
214
215
|
title: string;
|
|
215
|
-
trigger: "click" | "hover";
|
|
216
216
|
logo: string;
|
|
217
217
|
logoutText: string;
|
|
218
218
|
userInfo: {
|
|
@@ -232,6 +232,10 @@ export declare const PlusHeader: {
|
|
|
232
232
|
__isTeleport?: undefined;
|
|
233
233
|
__isSuspense?: undefined;
|
|
234
234
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
235
|
+
trigger: {
|
|
236
|
+
type: PropType<"hover" | "click">;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
235
239
|
fixed: {
|
|
236
240
|
type: PropType<boolean>;
|
|
237
241
|
default: boolean;
|
|
@@ -240,10 +244,6 @@ export declare const PlusHeader: {
|
|
|
240
244
|
type: PropType<string>;
|
|
241
245
|
default: string;
|
|
242
246
|
};
|
|
243
|
-
trigger: {
|
|
244
|
-
type: PropType<"click" | "hover">;
|
|
245
|
-
default: string;
|
|
246
|
-
};
|
|
247
247
|
logo: {
|
|
248
248
|
type: PropType<string>;
|
|
249
249
|
default: string;
|
|
@@ -296,9 +296,9 @@ export declare const PlusHeader: {
|
|
|
296
296
|
value: string;
|
|
297
297
|
}) => void;
|
|
298
298
|
}, string, {
|
|
299
|
+
trigger: "hover" | "click";
|
|
299
300
|
fixed: boolean;
|
|
300
301
|
title: string;
|
|
301
|
-
trigger: "click" | "hover";
|
|
302
302
|
logo: string;
|
|
303
303
|
logoutText: string;
|
|
304
304
|
userInfo: {
|
|
@@ -30,9 +30,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
30
30
|
value: string;
|
|
31
31
|
}) => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
+
trigger: "hover" | "click";
|
|
33
34
|
fixed: boolean;
|
|
34
35
|
title: string;
|
|
35
|
-
trigger: "click" | "hover";
|
|
36
36
|
logo: string;
|
|
37
37
|
logoutText: string;
|
|
38
38
|
userInfo: {
|
|
@@ -7,17 +7,17 @@ import { PlusInputTagProps } from './src/index.vue';
|
|
|
7
7
|
|
|
8
8
|
export type { PlusInputTagProps };
|
|
9
9
|
export declare const PlusInputTag: DefineComponent<{
|
|
10
|
-
|
|
11
|
-
type: PropType<
|
|
12
|
-
default: () =>
|
|
10
|
+
trigger: {
|
|
11
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
12
|
+
default: () => string[];
|
|
13
13
|
};
|
|
14
14
|
disabled: {
|
|
15
15
|
type: PropType<boolean>;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
type: PropType<
|
|
20
|
-
default: () =>
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<string[]>;
|
|
20
|
+
default: () => never[];
|
|
21
21
|
};
|
|
22
22
|
inputProps: {
|
|
23
23
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
@@ -49,7 +49,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
49
49
|
inputInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
50
50
|
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
51
51
|
readonly size: {
|
|
52
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
52
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
53
53
|
readonly required: false;
|
|
54
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
55
|
__epPropKey: true;
|
|
@@ -70,7 +70,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
70
70
|
};
|
|
71
71
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
72
72
|
readonly resize: {
|
|
73
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
73
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
|
|
74
74
|
readonly required: false;
|
|
75
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
76
|
__epPropKey: true;
|
|
@@ -146,7 +146,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
146
146
|
props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
|
|
147
147
|
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
148
148
|
readonly size: {
|
|
149
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
149
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
150
150
|
readonly required: false;
|
|
151
151
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
152
|
__epPropKey: true;
|
|
@@ -167,7 +167,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
167
167
|
};
|
|
168
168
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
169
169
|
readonly resize: {
|
|
170
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
170
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
|
|
171
171
|
readonly required: false;
|
|
172
172
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
173
173
|
__epPropKey: true;
|
|
@@ -254,7 +254,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
254
254
|
elForm: FormContext | undefined;
|
|
255
255
|
elFormItem: FormItemContext | undefined;
|
|
256
256
|
inputId: Ref<string | undefined>;
|
|
257
|
-
inputSize: ComputedRef<"" | "
|
|
257
|
+
inputSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
258
258
|
inputDisabled: ComputedRef<boolean>;
|
|
259
259
|
nsInput: {
|
|
260
260
|
namespace: ComputedRef<string>;
|
|
@@ -417,7 +417,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
417
417
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
418
418
|
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
419
419
|
readonly size: {
|
|
420
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
420
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
421
421
|
readonly required: false;
|
|
422
422
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
423
423
|
__epPropKey: true;
|
|
@@ -438,7 +438,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
438
438
|
};
|
|
439
439
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
440
440
|
readonly resize: {
|
|
441
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
441
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
|
|
442
442
|
readonly required: false;
|
|
443
443
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
444
444
|
__epPropKey: true;
|
|
@@ -537,7 +537,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
537
537
|
}, Readonly< ExtractPropTypes<{
|
|
538
538
|
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
539
539
|
readonly size: {
|
|
540
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
540
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
541
541
|
readonly required: false;
|
|
542
542
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
543
543
|
__epPropKey: true;
|
|
@@ -558,7 +558,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
558
558
|
};
|
|
559
559
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
560
560
|
readonly resize: {
|
|
561
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
561
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
|
|
562
562
|
readonly required: false;
|
|
563
563
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
564
564
|
__epPropKey: true;
|
|
@@ -634,7 +634,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
634
634
|
props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
|
|
635
635
|
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
636
636
|
readonly size: {
|
|
637
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
637
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
638
638
|
readonly required: false;
|
|
639
639
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
640
640
|
__epPropKey: true;
|
|
@@ -655,7 +655,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
655
655
|
};
|
|
656
656
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
657
657
|
readonly resize: {
|
|
658
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
658
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
|
|
659
659
|
readonly required: false;
|
|
660
660
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
661
661
|
__epPropKey: true;
|
|
@@ -742,7 +742,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
742
742
|
elForm: FormContext | undefined;
|
|
743
743
|
elFormItem: FormItemContext | undefined;
|
|
744
744
|
inputId: Ref<string | undefined>;
|
|
745
|
-
inputSize: ComputedRef<"" | "
|
|
745
|
+
inputSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
746
746
|
inputDisabled: ComputedRef<boolean>;
|
|
747
747
|
nsInput: {
|
|
748
748
|
namespace: ComputedRef<string>;
|
|
@@ -908,43 +908,43 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
908
908
|
readonly autofocus: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
909
909
|
}> | null | undefined>;
|
|
910
910
|
tagInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
911
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
911
|
+
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "danger" | "info", unknown, "primary", boolean>;
|
|
912
912
|
readonly closable: BooleanConstructor;
|
|
913
913
|
readonly disableTransitions: BooleanConstructor;
|
|
914
914
|
readonly hit: BooleanConstructor;
|
|
915
915
|
readonly color: StringConstructor;
|
|
916
916
|
readonly size: {
|
|
917
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
917
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
918
918
|
readonly required: false;
|
|
919
919
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
920
920
|
__epPropKey: true;
|
|
921
921
|
};
|
|
922
|
-
readonly effect: EpPropFinalized<StringConstructor, "
|
|
922
|
+
readonly effect: EpPropFinalized<StringConstructor, "light" | "plain" | "dark", unknown, "light", boolean>;
|
|
923
923
|
readonly round: BooleanConstructor;
|
|
924
924
|
}>> & {
|
|
925
925
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
926
926
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
927
927
|
}, {
|
|
928
928
|
props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
|
|
929
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
929
|
+
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "danger" | "info", unknown, "primary", boolean>;
|
|
930
930
|
readonly closable: BooleanConstructor;
|
|
931
931
|
readonly disableTransitions: BooleanConstructor;
|
|
932
932
|
readonly hit: BooleanConstructor;
|
|
933
933
|
readonly color: StringConstructor;
|
|
934
934
|
readonly size: {
|
|
935
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
935
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
936
936
|
readonly required: false;
|
|
937
937
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
938
938
|
__epPropKey: true;
|
|
939
939
|
};
|
|
940
|
-
readonly effect: EpPropFinalized<StringConstructor, "
|
|
940
|
+
readonly effect: EpPropFinalized<StringConstructor, "light" | "plain" | "dark", unknown, "light", boolean>;
|
|
941
941
|
readonly round: BooleanConstructor;
|
|
942
942
|
}>> & {
|
|
943
943
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
944
944
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
945
945
|
}>>;
|
|
946
946
|
emit: ((event: "close", evt: MouseEvent) => void) & ((event: "click", evt: MouseEvent) => void);
|
|
947
|
-
tagSize: ComputedRef<"" | "
|
|
947
|
+
tagSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
948
948
|
ns: {
|
|
949
949
|
namespace: ComputedRef<string>;
|
|
950
950
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1034,26 +1034,26 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1034
1034
|
close: (evt: MouseEvent) => boolean;
|
|
1035
1035
|
click: (evt: MouseEvent) => boolean;
|
|
1036
1036
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1037
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
1037
|
+
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "danger" | "info", unknown, "primary", boolean>;
|
|
1038
1038
|
readonly closable: BooleanConstructor;
|
|
1039
1039
|
readonly disableTransitions: BooleanConstructor;
|
|
1040
1040
|
readonly hit: BooleanConstructor;
|
|
1041
1041
|
readonly color: StringConstructor;
|
|
1042
1042
|
readonly size: {
|
|
1043
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1043
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1044
1044
|
readonly required: false;
|
|
1045
1045
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1046
1046
|
__epPropKey: true;
|
|
1047
1047
|
};
|
|
1048
|
-
readonly effect: EpPropFinalized<StringConstructor, "
|
|
1048
|
+
readonly effect: EpPropFinalized<StringConstructor, "light" | "plain" | "dark", unknown, "light", boolean>;
|
|
1049
1049
|
readonly round: BooleanConstructor;
|
|
1050
1050
|
}>> & {
|
|
1051
1051
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
1052
1052
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
1053
1053
|
}, {
|
|
1054
|
-
readonly type: EpPropMergeType<StringConstructor, "
|
|
1054
|
+
readonly type: EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "danger" | "info", unknown>;
|
|
1055
1055
|
readonly closable: boolean;
|
|
1056
|
-
readonly effect: EpPropMergeType<StringConstructor, "
|
|
1056
|
+
readonly effect: EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown>;
|
|
1057
1057
|
readonly round: boolean;
|
|
1058
1058
|
readonly disableTransitions: boolean;
|
|
1059
1059
|
readonly hit: boolean;
|
|
@@ -1065,43 +1065,43 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1065
1065
|
M: {};
|
|
1066
1066
|
Defaults: {};
|
|
1067
1067
|
}, Readonly< ExtractPropTypes<{
|
|
1068
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
1068
|
+
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "danger" | "info", unknown, "primary", boolean>;
|
|
1069
1069
|
readonly closable: BooleanConstructor;
|
|
1070
1070
|
readonly disableTransitions: BooleanConstructor;
|
|
1071
1071
|
readonly hit: BooleanConstructor;
|
|
1072
1072
|
readonly color: StringConstructor;
|
|
1073
1073
|
readonly size: {
|
|
1074
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1074
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1075
1075
|
readonly required: false;
|
|
1076
1076
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1077
1077
|
__epPropKey: true;
|
|
1078
1078
|
};
|
|
1079
|
-
readonly effect: EpPropFinalized<StringConstructor, "
|
|
1079
|
+
readonly effect: EpPropFinalized<StringConstructor, "light" | "plain" | "dark", unknown, "light", boolean>;
|
|
1080
1080
|
readonly round: BooleanConstructor;
|
|
1081
1081
|
}>> & {
|
|
1082
1082
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
1083
1083
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
1084
1084
|
}, {
|
|
1085
1085
|
props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
|
|
1086
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
1086
|
+
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "warning" | "danger" | "info", unknown, "primary", boolean>;
|
|
1087
1087
|
readonly closable: BooleanConstructor;
|
|
1088
1088
|
readonly disableTransitions: BooleanConstructor;
|
|
1089
1089
|
readonly hit: BooleanConstructor;
|
|
1090
1090
|
readonly color: StringConstructor;
|
|
1091
1091
|
readonly size: {
|
|
1092
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1092
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1093
1093
|
readonly required: false;
|
|
1094
1094
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1095
1095
|
__epPropKey: true;
|
|
1096
1096
|
};
|
|
1097
|
-
readonly effect: EpPropFinalized<StringConstructor, "
|
|
1097
|
+
readonly effect: EpPropFinalized<StringConstructor, "light" | "plain" | "dark", unknown, "light", boolean>;
|
|
1098
1098
|
readonly round: BooleanConstructor;
|
|
1099
1099
|
}>> & {
|
|
1100
1100
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
1101
1101
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
1102
1102
|
}>>;
|
|
1103
1103
|
emit: ((event: "close", evt: MouseEvent) => void) & ((event: "click", evt: MouseEvent) => void);
|
|
1104
|
-
tagSize: ComputedRef<"" | "
|
|
1104
|
+
tagSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
1105
1105
|
ns: {
|
|
1106
1106
|
namespace: ComputedRef<string>;
|
|
1107
1107
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1188,9 +1188,9 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1188
1188
|
}>>, {}, {}>> & Record<string, any>;
|
|
1189
1189
|
Close: any;
|
|
1190
1190
|
}, {}, {}, {}, {
|
|
1191
|
-
readonly type: EpPropMergeType<StringConstructor, "
|
|
1191
|
+
readonly type: EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "danger" | "info", unknown>;
|
|
1192
1192
|
readonly closable: boolean;
|
|
1193
|
-
readonly effect: EpPropMergeType<StringConstructor, "
|
|
1193
|
+
readonly effect: EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown>;
|
|
1194
1194
|
readonly round: boolean;
|
|
1195
1195
|
readonly disableTransitions: boolean;
|
|
1196
1196
|
readonly hit: boolean;
|
|
@@ -1203,17 +1203,17 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1203
1203
|
enter: (value: string, event: MouseEvent) => void;
|
|
1204
1204
|
space: (value: string, event: MouseEvent) => void;
|
|
1205
1205
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
1206
|
-
|
|
1207
|
-
type: PropType<
|
|
1208
|
-
default: () =>
|
|
1206
|
+
trigger: {
|
|
1207
|
+
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
1208
|
+
default: () => string[];
|
|
1209
1209
|
};
|
|
1210
1210
|
disabled: {
|
|
1211
1211
|
type: PropType<boolean>;
|
|
1212
1212
|
default: boolean;
|
|
1213
1213
|
};
|
|
1214
|
-
|
|
1215
|
-
type: PropType<
|
|
1216
|
-
default: () =>
|
|
1214
|
+
modelValue: {
|
|
1215
|
+
type: PropType<string[]>;
|
|
1216
|
+
default: () => never[];
|
|
1217
1217
|
};
|
|
1218
1218
|
inputProps: {
|
|
1219
1219
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
@@ -1242,16 +1242,16 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1242
1242
|
default: boolean;
|
|
1243
1243
|
};
|
|
1244
1244
|
}>> & {
|
|
1245
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1246
1245
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
1247
1246
|
onChange?: ((data: string[]) => any) | undefined;
|
|
1248
1247
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1248
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1249
1249
|
onRemove?: ((tag: string) => any) | undefined;
|
|
1250
1250
|
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
1251
1251
|
}, {
|
|
1252
|
-
modelValue: string[];
|
|
1253
|
-
disabled: boolean;
|
|
1254
1252
|
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
1253
|
+
disabled: boolean;
|
|
1254
|
+
modelValue: string[];
|
|
1255
1255
|
inputProps: Partial< Mutable<InputProps> & {
|
|
1256
1256
|
style?: CSSProperties | undefined;
|
|
1257
1257
|
class?: any;
|