yc-pro-components 0.0.17 → 0.0.19
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 +23 -23
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +24 -24
- package/es/components/check-card-group/src/index.vue.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog/src/index.vue2.mjs +6 -3
- package/es/components/dialog-form/index.d.ts +1154 -0
- package/es/components/dialog-form/src/index.vue.d.ts +493 -0
- package/es/components/dialog-form/src/index.vue2.mjs +7 -4
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/display-item/src/index.vue2.mjs +18 -5
- package/es/components/drawer-form/index.d.ts +3467 -0
- package/es/components/drawer-form/src/index.vue.d.ts +1254 -0
- package/es/components/drawer-form/src/index.vue2.mjs +7 -4
- package/es/components/form/index.d.ts +1665 -1
- package/es/components/form/src/form-content.vue.d.ts +14 -12
- package/es/components/form/src/index.vue.d.ts +652 -0
- package/es/components/form/src/index.vue2.mjs +7 -4
- package/es/components/form-item/index.d.ts +36 -36
- package/es/components/form-item/src/index.vue.d.ts +8 -8
- package/es/components/header/index.d.ts +7 -7
- 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 +7 -7
- 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 +15450 -0
- package/es/components/page/src/index.vue.d.ts +5301 -0
- package/es/components/page/src/index.vue2.mjs +4 -2
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/popover/src/index.vue2.mjs +6 -3
- package/es/components/radio/index.d.ts +10 -10
- package/es/components/radio/src/index.vue.d.ts +2 -2
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +4514 -0
- package/es/components/search/src/index.vue.d.ts +1539 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +19 -0
- package/es/components/table/src/index.vue.d.ts +3 -0
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-column.vue.d.ts +12 -12
- package/es/components/table/src/type.d.ts +9 -0
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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 +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +12864 -0
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
- package/es/components/yc-status-dialog/src/index.vue2.mjs +6 -3
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/constants/form.d.ts +5 -0
- package/es/constants/form.mjs +2 -1
- package/es/constants/index.mjs +1 -1
- package/es/hooks/usePlusFormReset.d.ts +9833 -5
- package/es/index.css +1 -1
- package/es/index.mjs +1 -1
- package/es/types/plus.d.ts +29 -0
- package/index.css +7 -7
- package/index.js +66 -29
- package/index.min.css +1 -1
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +66 -30
- package/lib/components/check-card/index.d.ts +23 -23
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +24 -24
- package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/src/index.vue2.js +6 -3
- package/lib/components/dialog-form/index.d.ts +1154 -0
- package/lib/components/dialog-form/src/index.vue.d.ts +493 -0
- package/lib/components/dialog-form/src/index.vue2.js +7 -4
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/display-item/src/index.vue2.js +16 -3
- package/lib/components/drawer-form/index.d.ts +3467 -0
- package/lib/components/drawer-form/src/index.vue.d.ts +1254 -0
- package/lib/components/drawer-form/src/index.vue2.js +7 -4
- package/lib/components/form/index.d.ts +1665 -1
- package/lib/components/form/src/form-content.vue.d.ts +14 -12
- package/lib/components/form/src/index.vue.d.ts +652 -0
- package/lib/components/form/src/index.vue2.js +7 -4
- package/lib/components/form-item/index.d.ts +36 -36
- package/lib/components/form-item/src/index.vue.d.ts +8 -8
- package/lib/components/header/index.d.ts +7 -7
- 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 +7 -7
- 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 +15450 -0
- package/lib/components/page/src/index.vue.d.ts +5301 -0
- package/lib/components/page/src/index.vue2.js +4 -2
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/popover/src/index.vue2.js +6 -3
- package/lib/components/radio/index.d.ts +10 -10
- package/lib/components/radio/src/index.vue.d.ts +2 -2
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +4514 -0
- package/lib/components/search/src/index.vue.d.ts +1539 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +19 -0
- package/lib/components/table/src/index.vue.d.ts +3 -0
- package/lib/components/table/src/index.vue2.js +3 -1
- package/lib/components/table/src/table-column.vue.d.ts +12 -12
- package/lib/components/table/src/type.d.ts +9 -0
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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 +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +12864 -0
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
- package/lib/components/yc-status-dialog/src/index.vue2.js +6 -3
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/constants/form.d.ts +5 -0
- package/lib/constants/form.js +2 -0
- package/lib/constants/index.js +1 -0
- package/lib/hooks/usePlusFormReset.d.ts +9833 -5
- package/lib/index.css +1 -1
- package/lib/index.js +1 -0
- package/lib/types/plus.d.ts +29 -0
- 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 +3 -3
|
@@ -113,12 +113,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
113
|
}
|
|
114
114
|
return false;
|
|
115
115
|
};
|
|
116
|
-
const
|
|
116
|
+
const debouncedSubmit = debounce(doSubmit, 300, {
|
|
117
117
|
leading: true,
|
|
118
118
|
// 立即执行第一次
|
|
119
119
|
trailing: false
|
|
120
120
|
// 不执行最后一次
|
|
121
121
|
});
|
|
122
|
+
const handleSubmit = () => {
|
|
123
|
+
debouncedSubmit();
|
|
124
|
+
};
|
|
122
125
|
const handleReset = () => {
|
|
123
126
|
clearValidate();
|
|
124
127
|
values.value = { ...props.defaultValues };
|
|
@@ -267,7 +270,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
267
270
|
style: normalizeStyle(style.value)
|
|
268
271
|
},
|
|
269
272
|
[
|
|
270
|
-
renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps({ handleReset, handleSubmit
|
|
273
|
+
renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps({ handleReset, handleSubmit })), () => [
|
|
271
274
|
_ctx.hasReset ? (openBlock(), createBlock(unref(ElButton), {
|
|
272
275
|
key: 0,
|
|
273
276
|
onClick: handleReset
|
|
@@ -286,7 +289,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
286
289
|
createVNode(unref(ElButton), {
|
|
287
290
|
type: "primary",
|
|
288
291
|
loading: computedLoading.value,
|
|
289
|
-
onClick:
|
|
292
|
+
onClick: handleSubmit
|
|
290
293
|
}, {
|
|
291
294
|
default: withCtx(() => [
|
|
292
295
|
createCommentVNode(" \u63D0\u4EA4 "),
|
|
@@ -298,7 +301,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
298
301
|
]),
|
|
299
302
|
_: 1
|
|
300
303
|
/* STABLE */
|
|
301
|
-
}, 8, ["loading"
|
|
304
|
+
}, 8, ["loading"])
|
|
302
305
|
])
|
|
303
306
|
],
|
|
304
307
|
4
|
|
@@ -4,7 +4,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
4
4
|
import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
|
|
5
5
|
import { EpPropMergeType, EpPropFinalized, Arrayable } from 'element-plus/es/utils';
|
|
6
6
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormContext, FormItemContext, FormValidateFailure, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
7
|
-
import {
|
|
7
|
+
import { RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'packages/yc-components';
|
|
8
8
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, Slot, DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
9
9
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
10
10
|
export declare const PlusFormItem: {
|
|
@@ -13,6 +13,10 @@ export declare const PlusFormItem: {
|
|
|
13
13
|
type: PropType<number>;
|
|
14
14
|
default: number;
|
|
15
15
|
};
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
label: {
|
|
17
21
|
type: PropType<string | ComputedRef<string>>;
|
|
18
22
|
default: string;
|
|
@@ -53,7 +57,7 @@ export declare const PlusFormItem: {
|
|
|
53
57
|
};
|
|
54
58
|
rows: number;
|
|
55
59
|
autocomplete: string;
|
|
56
|
-
type: "" | "number" | "default" | "
|
|
60
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
57
61
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
58
62
|
step: string | number;
|
|
59
63
|
format: string | ProgressFn | undefined;
|
|
@@ -69,10 +73,6 @@ export declare const PlusFormItem: {
|
|
|
69
73
|
type: PropType<OptionsType>;
|
|
70
74
|
default: () => never[];
|
|
71
75
|
};
|
|
72
|
-
modelValue: {
|
|
73
|
-
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
76
|
fieldSlots: {
|
|
77
77
|
type: PropType<{
|
|
78
78
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -128,8 +128,8 @@ export declare const PlusFormItem: {
|
|
|
128
128
|
default: undefined;
|
|
129
129
|
};
|
|
130
130
|
}>> & {
|
|
131
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
132
131
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
132
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
133
133
|
}, {
|
|
134
134
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
135
135
|
readonly label: StringConstructor;
|
|
@@ -472,6 +472,10 @@ export declare const PlusFormItem: {
|
|
|
472
472
|
type: PropType<number>;
|
|
473
473
|
default: number;
|
|
474
474
|
};
|
|
475
|
+
modelValue: {
|
|
476
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
477
|
+
default: string;
|
|
478
|
+
};
|
|
475
479
|
label: {
|
|
476
480
|
type: PropType<string | ComputedRef<string>>;
|
|
477
481
|
default: string;
|
|
@@ -512,7 +516,7 @@ export declare const PlusFormItem: {
|
|
|
512
516
|
};
|
|
513
517
|
rows: number;
|
|
514
518
|
autocomplete: string;
|
|
515
|
-
type: "" | "number" | "default" | "
|
|
519
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
516
520
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
517
521
|
step: string | number;
|
|
518
522
|
format: string | ProgressFn | undefined;
|
|
@@ -528,10 +532,6 @@ export declare const PlusFormItem: {
|
|
|
528
532
|
type: PropType<OptionsType>;
|
|
529
533
|
default: () => never[];
|
|
530
534
|
};
|
|
531
|
-
modelValue: {
|
|
532
|
-
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
533
|
-
default: string;
|
|
534
|
-
};
|
|
535
535
|
fieldSlots: {
|
|
536
536
|
type: PropType<{
|
|
537
537
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -587,10 +587,11 @@ export declare const PlusFormItem: {
|
|
|
587
587
|
default: undefined;
|
|
588
588
|
};
|
|
589
589
|
}>> & {
|
|
590
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
591
590
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
591
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
592
592
|
}, {
|
|
593
593
|
index: number;
|
|
594
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
594
595
|
label: string | ComputedRef<string>;
|
|
595
596
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
596
597
|
style?: CSSProperties | undefined;
|
|
@@ -617,7 +618,7 @@ export declare const PlusFormItem: {
|
|
|
617
618
|
};
|
|
618
619
|
rows: number;
|
|
619
620
|
autocomplete: string;
|
|
620
|
-
type: "" | "number" | "default" | "
|
|
621
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
621
622
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
622
623
|
step: string | number;
|
|
623
624
|
format: string | ProgressFn | undefined;
|
|
@@ -628,7 +629,6 @@ export declare const PlusFormItem: {
|
|
|
628
629
|
autosize: InputAutoSize;
|
|
629
630
|
} & 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>>>>;
|
|
630
631
|
options: OptionsType;
|
|
631
|
-
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
632
632
|
fieldSlots: {
|
|
633
633
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
634
634
|
};
|
|
@@ -665,6 +665,10 @@ export declare const PlusFormItem: {
|
|
|
665
665
|
type: PropType<number>;
|
|
666
666
|
default: number;
|
|
667
667
|
};
|
|
668
|
+
modelValue: {
|
|
669
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
670
|
+
default: string;
|
|
671
|
+
};
|
|
668
672
|
label: {
|
|
669
673
|
type: PropType<string | ComputedRef<string>>;
|
|
670
674
|
default: string;
|
|
@@ -705,7 +709,7 @@ export declare const PlusFormItem: {
|
|
|
705
709
|
};
|
|
706
710
|
rows: number;
|
|
707
711
|
autocomplete: string;
|
|
708
|
-
type: "" | "number" | "default" | "
|
|
712
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
709
713
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
710
714
|
step: string | number;
|
|
711
715
|
format: string | ProgressFn | undefined;
|
|
@@ -721,10 +725,6 @@ export declare const PlusFormItem: {
|
|
|
721
725
|
type: PropType<OptionsType>;
|
|
722
726
|
default: () => never[];
|
|
723
727
|
};
|
|
724
|
-
modelValue: {
|
|
725
|
-
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
726
|
-
default: string;
|
|
727
|
-
};
|
|
728
728
|
fieldSlots: {
|
|
729
729
|
type: PropType<{
|
|
730
730
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -780,8 +780,8 @@ export declare const PlusFormItem: {
|
|
|
780
780
|
default: undefined;
|
|
781
781
|
};
|
|
782
782
|
}>> & {
|
|
783
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
784
783
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
784
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
785
785
|
}, {
|
|
786
786
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
787
787
|
readonly label: StringConstructor;
|
|
@@ -1118,6 +1118,7 @@ export declare const PlusFormItem: {
|
|
|
1118
1118
|
fieldInstance: Ref<any>;
|
|
1119
1119
|
}, {}, {}, {}, {
|
|
1120
1120
|
index: number;
|
|
1121
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1121
1122
|
label: string | ComputedRef<string>;
|
|
1122
1123
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1123
1124
|
style?: CSSProperties | undefined;
|
|
@@ -1144,7 +1145,7 @@ export declare const PlusFormItem: {
|
|
|
1144
1145
|
};
|
|
1145
1146
|
rows: number;
|
|
1146
1147
|
autocomplete: string;
|
|
1147
|
-
type: "" | "number" | "default" | "
|
|
1148
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1148
1149
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1149
1150
|
step: string | number;
|
|
1150
1151
|
format: string | ProgressFn | undefined;
|
|
@@ -1155,7 +1156,6 @@ export declare const PlusFormItem: {
|
|
|
1155
1156
|
autosize: InputAutoSize;
|
|
1156
1157
|
} & 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>>>>;
|
|
1157
1158
|
options: OptionsType;
|
|
1158
|
-
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1159
1159
|
fieldSlots: {
|
|
1160
1160
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1161
1161
|
};
|
|
@@ -1189,6 +1189,10 @@ export declare const PlusFormItem: {
|
|
|
1189
1189
|
type: PropType<number>;
|
|
1190
1190
|
default: number;
|
|
1191
1191
|
};
|
|
1192
|
+
modelValue: {
|
|
1193
|
+
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1194
|
+
default: string;
|
|
1195
|
+
};
|
|
1192
1196
|
label: {
|
|
1193
1197
|
type: PropType<string | ComputedRef<string>>;
|
|
1194
1198
|
default: string;
|
|
@@ -1229,7 +1233,7 @@ export declare const PlusFormItem: {
|
|
|
1229
1233
|
};
|
|
1230
1234
|
rows: number;
|
|
1231
1235
|
autocomplete: string;
|
|
1232
|
-
type: "" | "number" | "default" | "
|
|
1236
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1233
1237
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1234
1238
|
step: string | number;
|
|
1235
1239
|
format: string | ProgressFn | undefined;
|
|
@@ -1245,10 +1249,6 @@ export declare const PlusFormItem: {
|
|
|
1245
1249
|
type: PropType<OptionsType>;
|
|
1246
1250
|
default: () => never[];
|
|
1247
1251
|
};
|
|
1248
|
-
modelValue: {
|
|
1249
|
-
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
1250
|
-
default: string;
|
|
1251
|
-
};
|
|
1252
1252
|
fieldSlots: {
|
|
1253
1253
|
type: PropType<{
|
|
1254
1254
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -1304,8 +1304,8 @@ export declare const PlusFormItem: {
|
|
|
1304
1304
|
default: undefined;
|
|
1305
1305
|
};
|
|
1306
1306
|
}>> & {
|
|
1307
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1308
1307
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
1308
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
1309
1309
|
}, {
|
|
1310
1310
|
formItemInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
1311
1311
|
readonly label: StringConstructor;
|
|
@@ -1645,6 +1645,7 @@ export declare const PlusFormItem: {
|
|
|
1645
1645
|
change: (value: FieldValueType) => void;
|
|
1646
1646
|
}, string, {
|
|
1647
1647
|
index: number;
|
|
1648
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1648
1649
|
label: string | ComputedRef<string>;
|
|
1649
1650
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1650
1651
|
style?: CSSProperties | undefined;
|
|
@@ -1671,7 +1672,7 @@ export declare const PlusFormItem: {
|
|
|
1671
1672
|
};
|
|
1672
1673
|
rows: number;
|
|
1673
1674
|
autocomplete: string;
|
|
1674
|
-
type: "" | "number" | "default" | "
|
|
1675
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1675
1676
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1676
1677
|
step: string | number;
|
|
1677
1678
|
format: string | ProgressFn | undefined;
|
|
@@ -1682,7 +1683,6 @@ export declare const PlusFormItem: {
|
|
|
1682
1683
|
autosize: InputAutoSize;
|
|
1683
1684
|
} & 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>>>>;
|
|
1684
1685
|
options: OptionsType;
|
|
1685
|
-
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1686
1686
|
fieldSlots: {
|
|
1687
1687
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1688
1688
|
};
|
|
@@ -1716,7 +1716,7 @@ export declare const PlusFormItem: {
|
|
|
1716
1716
|
fieldInstance?: any;
|
|
1717
1717
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1718
1718
|
prop: string;
|
|
1719
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1719
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1720
1720
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1721
1721
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1722
1722
|
style?: CSSProperties | undefined;
|
|
@@ -1750,9 +1750,9 @@ export declare const PlusFormItem: {
|
|
|
1750
1750
|
clearable: boolean;
|
|
1751
1751
|
index: number;
|
|
1752
1752
|
}) => any>> & Partial<Record<string, (_: {
|
|
1753
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1753
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1754
1754
|
readonly label: string | ComputedRef<string>;
|
|
1755
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1755
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1756
1756
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1757
1757
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1758
1758
|
style?: CSSProperties | undefined;
|
|
@@ -1779,7 +1779,7 @@ export declare const PlusFormItem: {
|
|
|
1779
1779
|
};
|
|
1780
1780
|
rows: number;
|
|
1781
1781
|
autocomplete: string;
|
|
1782
|
-
type: "" | "number" | "default" | "
|
|
1782
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1783
1783
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1784
1784
|
step: string | number;
|
|
1785
1785
|
format: string | ProgressFn | undefined;
|
|
@@ -1824,7 +1824,7 @@ export declare const PlusFormItem: {
|
|
|
1824
1824
|
fieldInstance?: any;
|
|
1825
1825
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1826
1826
|
prop: string;
|
|
1827
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1827
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1828
1828
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1829
1829
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1830
1830
|
style?: CSSProperties | undefined;
|
|
@@ -417,10 +417,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
417
417
|
clearable: boolean;
|
|
418
418
|
index: number;
|
|
419
419
|
}>>> & {
|
|
420
|
-
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
421
420
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
421
|
+
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
422
422
|
}, {
|
|
423
423
|
index: number;
|
|
424
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
424
425
|
label: string | ComputedRef<string>;
|
|
425
426
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
426
427
|
style?: CSSProperties | undefined;
|
|
@@ -447,7 +448,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
447
448
|
};
|
|
448
449
|
rows: number;
|
|
449
450
|
autocomplete: string;
|
|
450
|
-
type: "" | "number" | "default" | "
|
|
451
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
451
452
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
452
453
|
step: string | number;
|
|
453
454
|
format: string | ProgressFn | undefined;
|
|
@@ -458,7 +459,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
458
459
|
autosize: InputAutoSize;
|
|
459
460
|
} & 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>>>>;
|
|
460
461
|
options: OptionsType;
|
|
461
|
-
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
462
462
|
fieldSlots: {
|
|
463
463
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
464
464
|
};
|
|
@@ -491,7 +491,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
491
491
|
fieldInstance?: any;
|
|
492
492
|
valueIsReady?: Ref<boolean> | undefined;
|
|
493
493
|
prop: string;
|
|
494
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
494
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
495
495
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
496
496
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
497
497
|
style?: CSSProperties | undefined;
|
|
@@ -525,9 +525,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
525
525
|
clearable: boolean;
|
|
526
526
|
index: number;
|
|
527
527
|
}) => any>> & Partial<Record<string, (_: {
|
|
528
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
528
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
529
529
|
readonly label: string | ComputedRef<string>;
|
|
530
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
530
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
531
531
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
532
532
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
533
533
|
style?: CSSProperties | undefined;
|
|
@@ -554,7 +554,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
554
554
|
};
|
|
555
555
|
rows: number;
|
|
556
556
|
autocomplete: string;
|
|
557
|
-
type: "" | "number" | "default" | "
|
|
557
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
558
558
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
559
559
|
step: string | number;
|
|
560
560
|
format: string | ProgressFn | undefined;
|
|
@@ -599,7 +599,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
599
599
|
fieldInstance?: any;
|
|
600
600
|
valueIsReady?: Ref<boolean> | undefined;
|
|
601
601
|
prop: string;
|
|
602
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
602
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
603
603
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
604
604
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
605
605
|
style?: CSSProperties | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const PlusHeader: {
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
trigger: {
|
|
15
|
-
type: PropType<"
|
|
15
|
+
type: PropType<"click" | "hover">;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
logo: {
|
|
@@ -76,7 +76,7 @@ export declare const PlusHeader: {
|
|
|
76
76
|
default: string;
|
|
77
77
|
};
|
|
78
78
|
trigger: {
|
|
79
|
-
type: PropType<"
|
|
79
|
+
type: PropType<"click" | "hover">;
|
|
80
80
|
default: string;
|
|
81
81
|
};
|
|
82
82
|
logo: {
|
|
@@ -128,7 +128,7 @@ export declare const PlusHeader: {
|
|
|
128
128
|
}, {
|
|
129
129
|
fixed: boolean;
|
|
130
130
|
title: string;
|
|
131
|
-
trigger: "
|
|
131
|
+
trigger: "click" | "hover";
|
|
132
132
|
logo: string;
|
|
133
133
|
logoutText: string;
|
|
134
134
|
userInfo: {
|
|
@@ -160,7 +160,7 @@ export declare const PlusHeader: {
|
|
|
160
160
|
default: string;
|
|
161
161
|
};
|
|
162
162
|
trigger: {
|
|
163
|
-
type: PropType<"
|
|
163
|
+
type: PropType<"click" | "hover">;
|
|
164
164
|
default: string;
|
|
165
165
|
};
|
|
166
166
|
logo: {
|
|
@@ -212,7 +212,7 @@ export declare const PlusHeader: {
|
|
|
212
212
|
}, {}, {}, {}, {}, {
|
|
213
213
|
fixed: boolean;
|
|
214
214
|
title: string;
|
|
215
|
-
trigger: "
|
|
215
|
+
trigger: "click" | "hover";
|
|
216
216
|
logo: string;
|
|
217
217
|
logoutText: string;
|
|
218
218
|
userInfo: {
|
|
@@ -241,7 +241,7 @@ export declare const PlusHeader: {
|
|
|
241
241
|
default: string;
|
|
242
242
|
};
|
|
243
243
|
trigger: {
|
|
244
|
-
type: PropType<"
|
|
244
|
+
type: PropType<"click" | "hover">;
|
|
245
245
|
default: string;
|
|
246
246
|
};
|
|
247
247
|
logo: {
|
|
@@ -298,7 +298,7 @@ export declare const PlusHeader: {
|
|
|
298
298
|
}, string, {
|
|
299
299
|
fixed: boolean;
|
|
300
300
|
title: string;
|
|
301
|
-
trigger: "
|
|
301
|
+
trigger: "click" | "hover";
|
|
302
302
|
logo: string;
|
|
303
303
|
logoutText: string;
|
|
304
304
|
userInfo: {
|
|
@@ -7,6 +7,10 @@ import { PlusInputTagProps } from './src/index.vue';
|
|
|
7
7
|
|
|
8
8
|
export type { PlusInputTagProps };
|
|
9
9
|
export declare const PlusInputTag: DefineComponent<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<string[]>;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
10
14
|
disabled: {
|
|
11
15
|
type: PropType<boolean>;
|
|
12
16
|
default: boolean;
|
|
@@ -15,10 +19,6 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
15
19
|
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
16
20
|
default: () => string[];
|
|
17
21
|
};
|
|
18
|
-
modelValue: {
|
|
19
|
-
type: PropType<string[]>;
|
|
20
|
-
default: () => never[];
|
|
21
|
-
};
|
|
22
22
|
inputProps: {
|
|
23
23
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
24
24
|
style?: CSSProperties | undefined;
|
|
@@ -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, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
74
74
|
readonly required: false;
|
|
75
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
76
|
__epPropKey: true;
|
|
@@ -167,7 +167,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
167
167
|
};
|
|
168
168
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
169
169
|
readonly resize: {
|
|
170
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
170
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
171
171
|
readonly required: false;
|
|
172
172
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
173
173
|
__epPropKey: true;
|
|
@@ -438,7 +438,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
438
438
|
};
|
|
439
439
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
440
440
|
readonly resize: {
|
|
441
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
441
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
442
442
|
readonly required: false;
|
|
443
443
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
444
444
|
__epPropKey: true;
|
|
@@ -558,7 +558,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
558
558
|
};
|
|
559
559
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
560
560
|
readonly resize: {
|
|
561
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
561
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
562
562
|
readonly required: false;
|
|
563
563
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
564
564
|
__epPropKey: true;
|
|
@@ -655,7 +655,7 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
655
655
|
};
|
|
656
656
|
readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
657
657
|
readonly resize: {
|
|
658
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "
|
|
658
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
659
659
|
readonly required: false;
|
|
660
660
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
661
661
|
__epPropKey: true;
|
|
@@ -1203,6 +1203,10 @@ 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
|
+
modelValue: {
|
|
1207
|
+
type: PropType<string[]>;
|
|
1208
|
+
default: () => never[];
|
|
1209
|
+
};
|
|
1206
1210
|
disabled: {
|
|
1207
1211
|
type: PropType<boolean>;
|
|
1208
1212
|
default: boolean;
|
|
@@ -1211,10 +1215,6 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1211
1215
|
type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
|
|
1212
1216
|
default: () => string[];
|
|
1213
1217
|
};
|
|
1214
|
-
modelValue: {
|
|
1215
|
-
type: PropType<string[]>;
|
|
1216
|
-
default: () => never[];
|
|
1217
|
-
};
|
|
1218
1218
|
inputProps: {
|
|
1219
1219
|
type: PropType<Partial< Mutable<InputProps> & {
|
|
1220
1220
|
style?: CSSProperties | undefined;
|
|
@@ -1242,16 +1242,16 @@ export declare const PlusInputTag: DefineComponent<{
|
|
|
1242
1242
|
default: boolean;
|
|
1243
1243
|
};
|
|
1244
1244
|
}>> & {
|
|
1245
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
1245
1246
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
1246
1247
|
onChange?: ((data: string[]) => any) | undefined;
|
|
1247
1248
|
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[];
|
|
1252
1253
|
disabled: boolean;
|
|
1253
1254
|
trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
|
|
1254
|
-
modelValue: string[];
|
|
1255
1255
|
inputProps: Partial< Mutable<InputProps> & {
|
|
1256
1256
|
style?: CSSProperties | undefined;
|
|
1257
1257
|
class?: any;
|