yc-pro-components 0.0.82 → 0.0.84
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 +34 -34
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +20 -20
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +19 -19
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +57 -57
- package/es/components/dialog/src/index.vue.d.ts +5 -5
- package/es/components/dialog-form/index.d.ts +14 -14
- package/es/components/dialog-form/src/index.vue.d.ts +8 -8
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +103 -103
- package/es/components/drawer-form/src/index.vue.d.ts +27 -27
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +27 -27
- package/es/components/form/src/index.vue.d.ts +14 -14
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +21 -13
- package/es/components/form-item/src/index.vue2.mjs +429 -301
- package/es/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/es/components/form-item/src/overflow-tooltip.mjs +67 -0
- 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 +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- 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 +283 -283
- package/es/components/page/src/index.vue.d.ts +97 -97
- package/es/components/pagination/index.d.ts +38 -38
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +31 -31
- package/es/components/radio/src/index.vue.d.ts +23 -23
- 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 +128 -128
- package/es/components/search/src/index.vue.d.ts +41 -41
- 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 +19 -19
- package/es/components/steps-form/src/index.vue.d.ts +1 -1
- package/es/components/table/src/index.vue2.mjs +11 -5
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/table/src/use-table-density.d.ts +8 -0
- package/es/components/table/src/use-table-density.mjs +24 -0
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +5 -5
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +192 -192
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +288 -288
- package/es/index.css +8 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.css +1 -1
- package/index.js +525 -306
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +525 -306
- package/lib/components/check-card/index.d.ts +34 -34
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +20 -20
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +19 -19
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +57 -57
- package/lib/components/dialog/src/index.vue.d.ts +5 -5
- package/lib/components/dialog-form/index.d.ts +14 -14
- package/lib/components/dialog-form/src/index.vue.d.ts +8 -8
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +103 -103
- package/lib/components/drawer-form/src/index.vue.d.ts +27 -27
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +27 -27
- package/lib/components/form/src/index.vue.d.ts +14 -14
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +21 -13
- package/lib/components/form-item/src/index.vue2.js +428 -300
- package/lib/components/form-item/src/overflow-tooltip.d.ts +16 -0
- package/lib/components/form-item/src/overflow-tooltip.js +71 -0
- 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 +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- 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 +283 -283
- package/lib/components/page/src/index.vue.d.ts +97 -97
- package/lib/components/pagination/index.d.ts +38 -38
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +31 -31
- package/lib/components/radio/src/index.vue.d.ts +23 -23
- 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 +128 -128
- package/lib/components/search/src/index.vue.d.ts +41 -41
- 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 +19 -19
- package/lib/components/steps-form/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/index.vue2.js +10 -4
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/table/src/use-table-density.d.ts +8 -0
- package/lib/components/table/src/use-table-density.js +28 -0
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +5 -5
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +192 -192
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +288 -288
- package/lib/index.css +7 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-form-item.css +1 -1
- package/theme-chalk/src/form-item.scss +56 -0
|
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
3
3
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
4
4
|
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
5
5
|
import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormValidateCallback, FormValidationResult } from 'element-plus';
|
|
6
|
-
import {
|
|
6
|
+
import { Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'yc-pro-components';
|
|
7
7
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
8
8
|
export type { PlusFormItemProps } from './src/index.vue';
|
|
9
9
|
export declare const PlusFormItem: {
|
|
@@ -16,10 +16,6 @@ export declare const PlusFormItem: {
|
|
|
16
16
|
type: PropType<string | ComputedRef<string>>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
|
-
modelValue: {
|
|
20
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
19
|
prop: {
|
|
24
20
|
type: PropType<string>;
|
|
25
21
|
required: true;
|
|
@@ -56,7 +52,7 @@ export declare const PlusFormItem: {
|
|
|
56
52
|
};
|
|
57
53
|
rows: number;
|
|
58
54
|
autocomplete: string;
|
|
59
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
55
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
60
56
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
61
57
|
step: string | number;
|
|
62
58
|
format: string | ProgressFn | undefined;
|
|
@@ -72,6 +68,10 @@ export declare const PlusFormItem: {
|
|
|
72
68
|
type: PropType<OptionsType>;
|
|
73
69
|
default: () => never[];
|
|
74
70
|
};
|
|
71
|
+
modelValue: {
|
|
72
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
75
|
fieldSlots: {
|
|
76
76
|
type: PropType<{
|
|
77
77
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -83,7 +83,7 @@ export declare const PlusFormItem: {
|
|
|
83
83
|
default: undefined;
|
|
84
84
|
};
|
|
85
85
|
hasLabel: {
|
|
86
|
-
type: PropType<boolean |
|
|
86
|
+
type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
|
|
87
87
|
default: boolean;
|
|
88
88
|
};
|
|
89
89
|
clearable: {
|
|
@@ -344,10 +344,6 @@ export declare const PlusFormItem: {
|
|
|
344
344
|
type: PropType<string | ComputedRef<string>>;
|
|
345
345
|
default: string;
|
|
346
346
|
};
|
|
347
|
-
modelValue: {
|
|
348
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
349
|
-
default: string;
|
|
350
|
-
};
|
|
351
347
|
prop: {
|
|
352
348
|
type: PropType<string>;
|
|
353
349
|
required: true;
|
|
@@ -384,7 +380,7 @@ export declare const PlusFormItem: {
|
|
|
384
380
|
};
|
|
385
381
|
rows: number;
|
|
386
382
|
autocomplete: string;
|
|
387
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
383
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
388
384
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
389
385
|
step: string | number;
|
|
390
386
|
format: string | ProgressFn | undefined;
|
|
@@ -400,6 +396,10 @@ export declare const PlusFormItem: {
|
|
|
400
396
|
type: PropType<OptionsType>;
|
|
401
397
|
default: () => never[];
|
|
402
398
|
};
|
|
399
|
+
modelValue: {
|
|
400
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
401
|
+
default: string;
|
|
402
|
+
};
|
|
403
403
|
fieldSlots: {
|
|
404
404
|
type: PropType<{
|
|
405
405
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -411,7 +411,7 @@ export declare const PlusFormItem: {
|
|
|
411
411
|
default: undefined;
|
|
412
412
|
};
|
|
413
413
|
hasLabel: {
|
|
414
|
-
type: PropType<boolean |
|
|
414
|
+
type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
|
|
415
415
|
default: boolean;
|
|
416
416
|
};
|
|
417
417
|
clearable: {
|
|
@@ -460,7 +460,6 @@ export declare const PlusFormItem: {
|
|
|
460
460
|
}, {
|
|
461
461
|
index: number;
|
|
462
462
|
label: string | ComputedRef<string>;
|
|
463
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
464
463
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
465
464
|
style?: CSSProperties | undefined;
|
|
466
465
|
class?: any;
|
|
@@ -486,7 +485,7 @@ export declare const PlusFormItem: {
|
|
|
486
485
|
};
|
|
487
486
|
rows: number;
|
|
488
487
|
autocomplete: string;
|
|
489
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
488
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
490
489
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
491
490
|
step: string | number;
|
|
492
491
|
format: string | ProgressFn | undefined;
|
|
@@ -497,11 +496,12 @@ export declare const PlusFormItem: {
|
|
|
497
496
|
autosize: InputAutoSize;
|
|
498
497
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
499
498
|
options: OptionsType;
|
|
499
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
500
500
|
fieldSlots: {
|
|
501
501
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
502
502
|
};
|
|
503
503
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
504
|
-
hasLabel: boolean |
|
|
504
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
505
505
|
clearable: boolean;
|
|
506
506
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
507
507
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -537,10 +537,6 @@ export declare const PlusFormItem: {
|
|
|
537
537
|
type: PropType<string | ComputedRef<string>>;
|
|
538
538
|
default: string;
|
|
539
539
|
};
|
|
540
|
-
modelValue: {
|
|
541
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
542
|
-
default: string;
|
|
543
|
-
};
|
|
544
540
|
prop: {
|
|
545
541
|
type: PropType<string>;
|
|
546
542
|
required: true;
|
|
@@ -577,7 +573,7 @@ export declare const PlusFormItem: {
|
|
|
577
573
|
};
|
|
578
574
|
rows: number;
|
|
579
575
|
autocomplete: string;
|
|
580
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
576
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
581
577
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
582
578
|
step: string | number;
|
|
583
579
|
format: string | ProgressFn | undefined;
|
|
@@ -593,6 +589,10 @@ export declare const PlusFormItem: {
|
|
|
593
589
|
type: PropType<OptionsType>;
|
|
594
590
|
default: () => never[];
|
|
595
591
|
};
|
|
592
|
+
modelValue: {
|
|
593
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
594
|
+
default: string;
|
|
595
|
+
};
|
|
596
596
|
fieldSlots: {
|
|
597
597
|
type: PropType<{
|
|
598
598
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -604,7 +604,7 @@ export declare const PlusFormItem: {
|
|
|
604
604
|
default: undefined;
|
|
605
605
|
};
|
|
606
606
|
hasLabel: {
|
|
607
|
-
type: PropType<boolean |
|
|
607
|
+
type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
|
|
608
608
|
default: boolean;
|
|
609
609
|
};
|
|
610
610
|
clearable: {
|
|
@@ -856,7 +856,6 @@ export declare const PlusFormItem: {
|
|
|
856
856
|
}, {}, {}, {}, {
|
|
857
857
|
index: number;
|
|
858
858
|
label: string | ComputedRef<string>;
|
|
859
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
860
859
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
861
860
|
style?: CSSProperties | undefined;
|
|
862
861
|
class?: any;
|
|
@@ -882,7 +881,7 @@ export declare const PlusFormItem: {
|
|
|
882
881
|
};
|
|
883
882
|
rows: number;
|
|
884
883
|
autocomplete: string;
|
|
885
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
884
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
886
885
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
887
886
|
step: string | number;
|
|
888
887
|
format: string | ProgressFn | undefined;
|
|
@@ -893,11 +892,12 @@ export declare const PlusFormItem: {
|
|
|
893
892
|
autosize: InputAutoSize;
|
|
894
893
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
895
894
|
options: OptionsType;
|
|
895
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
896
896
|
fieldSlots: {
|
|
897
897
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
898
898
|
};
|
|
899
899
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
900
|
-
hasLabel: boolean |
|
|
900
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
901
901
|
clearable: boolean;
|
|
902
902
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
903
903
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -930,10 +930,6 @@ export declare const PlusFormItem: {
|
|
|
930
930
|
type: PropType<string | ComputedRef<string>>;
|
|
931
931
|
default: string;
|
|
932
932
|
};
|
|
933
|
-
modelValue: {
|
|
934
|
-
type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
935
|
-
default: string;
|
|
936
|
-
};
|
|
937
933
|
prop: {
|
|
938
934
|
type: PropType<string>;
|
|
939
935
|
required: true;
|
|
@@ -970,7 +966,7 @@ export declare const PlusFormItem: {
|
|
|
970
966
|
};
|
|
971
967
|
rows: number;
|
|
972
968
|
autocomplete: string;
|
|
973
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
969
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
974
970
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
975
971
|
step: string | number;
|
|
976
972
|
format: string | ProgressFn | undefined;
|
|
@@ -986,6 +982,10 @@ export declare const PlusFormItem: {
|
|
|
986
982
|
type: PropType<OptionsType>;
|
|
987
983
|
default: () => never[];
|
|
988
984
|
};
|
|
985
|
+
modelValue: {
|
|
986
|
+
type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
|
|
987
|
+
default: string;
|
|
988
|
+
};
|
|
989
989
|
fieldSlots: {
|
|
990
990
|
type: PropType<{
|
|
991
991
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
@@ -997,7 +997,7 @@ export declare const PlusFormItem: {
|
|
|
997
997
|
default: undefined;
|
|
998
998
|
};
|
|
999
999
|
hasLabel: {
|
|
1000
|
-
type: PropType<boolean |
|
|
1000
|
+
type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
|
|
1001
1001
|
default: boolean;
|
|
1002
1002
|
};
|
|
1003
1003
|
clearable: {
|
|
@@ -1252,7 +1252,6 @@ export declare const PlusFormItem: {
|
|
|
1252
1252
|
}, string, {
|
|
1253
1253
|
index: number;
|
|
1254
1254
|
label: string | ComputedRef<string>;
|
|
1255
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1256
1255
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1257
1256
|
style?: CSSProperties | undefined;
|
|
1258
1257
|
class?: any;
|
|
@@ -1278,7 +1277,7 @@ export declare const PlusFormItem: {
|
|
|
1278
1277
|
};
|
|
1279
1278
|
rows: number;
|
|
1280
1279
|
autocomplete: string;
|
|
1281
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1280
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1282
1281
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1283
1282
|
step: string | number;
|
|
1284
1283
|
format: string | ProgressFn | undefined;
|
|
@@ -1289,11 +1288,12 @@ export declare const PlusFormItem: {
|
|
|
1289
1288
|
autosize: InputAutoSize;
|
|
1290
1289
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
1291
1290
|
options: OptionsType;
|
|
1291
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1292
1292
|
fieldSlots: {
|
|
1293
1293
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
1294
1294
|
};
|
|
1295
1295
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
1296
|
-
hasLabel: boolean |
|
|
1296
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1297
1297
|
clearable: boolean;
|
|
1298
1298
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
1299
1299
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -1322,8 +1322,8 @@ export declare const PlusFormItem: {
|
|
|
1322
1322
|
fieldInstance?: any;
|
|
1323
1323
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1324
1324
|
prop: string;
|
|
1325
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1326
|
-
hasLabel: boolean |
|
|
1325
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1326
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1327
1327
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1328
1328
|
style?: CSSProperties | undefined;
|
|
1329
1329
|
class?: any;
|
|
@@ -1356,10 +1356,10 @@ export declare const PlusFormItem: {
|
|
|
1356
1356
|
clearable: boolean;
|
|
1357
1357
|
index: number;
|
|
1358
1358
|
}) => any>> & Partial<Record<string, (_: {
|
|
1359
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
1359
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1360
1360
|
readonly label: string | ComputedRef<string>;
|
|
1361
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1362
|
-
readonly hasLabel: boolean |
|
|
1361
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1362
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1363
1363
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1364
1364
|
style?: CSSProperties | undefined;
|
|
1365
1365
|
class?: any;
|
|
@@ -1385,7 +1385,7 @@ export declare const PlusFormItem: {
|
|
|
1385
1385
|
};
|
|
1386
1386
|
rows: number;
|
|
1387
1387
|
autocomplete: string;
|
|
1388
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1388
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1389
1389
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1390
1390
|
step: string | number;
|
|
1391
1391
|
format: string | ProgressFn | undefined;
|
|
@@ -1430,8 +1430,8 @@ export declare const PlusFormItem: {
|
|
|
1430
1430
|
fieldInstance?: any;
|
|
1431
1431
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1432
1432
|
prop: string;
|
|
1433
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1434
|
-
hasLabel: boolean |
|
|
1433
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1434
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1435
1435
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1436
1436
|
style?: CSSProperties | undefined;
|
|
1437
1437
|
class?: any;
|
|
@@ -3,7 +3,7 @@ import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages
|
|
|
3
3
|
import { FormItemProp, FormItemRule, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
4
|
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
5
5
|
import { PlusColumn, FieldValueType, OptionsRow, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType } from 'yc-pro-components/es/types';
|
|
6
|
-
import { Ref, DefineComponent, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent,
|
|
6
|
+
import { Ref, nextTick, DefineComponent, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, PublicProps, CSSProperties } from 'vue';
|
|
7
7
|
|
|
8
8
|
export interface PlusFormItemProps {
|
|
9
9
|
modelValue?: FieldValueType;
|
|
@@ -201,7 +201,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
201
201
|
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
202
202
|
};
|
|
203
203
|
$forceUpdate: () => void;
|
|
204
|
-
$nextTick: nextTick;
|
|
204
|
+
$nextTick: typeof nextTick;
|
|
205
205
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
206
206
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
207
207
|
readonly label: StringConstructor;
|
|
@@ -289,7 +289,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
289
289
|
}, {
|
|
290
290
|
index: number;
|
|
291
291
|
label: string | ComputedRef<string>;
|
|
292
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
293
292
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
294
293
|
style?: CSSProperties | undefined;
|
|
295
294
|
class?: any;
|
|
@@ -311,11 +310,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
311
310
|
[index: string]: any;
|
|
312
311
|
lazy?: boolean | undefined;
|
|
313
312
|
trim?: boolean | undefined;
|
|
313
|
+
/**
|
|
314
|
+
* @desc 自动字典注入
|
|
315
|
+
* @version v0.2.0
|
|
316
|
+
*/
|
|
314
317
|
number?: boolean | undefined;
|
|
315
318
|
};
|
|
316
319
|
rows: number;
|
|
317
320
|
autocomplete: string;
|
|
318
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
321
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
319
322
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
320
323
|
step: string | number;
|
|
321
324
|
format: string | ProgressFn | undefined;
|
|
@@ -326,11 +329,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
326
329
|
autosize: InputAutoSize;
|
|
327
330
|
} & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< SelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
|
|
328
331
|
options: OptionsType;
|
|
332
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
329
333
|
fieldSlots: {
|
|
330
334
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
331
335
|
};
|
|
332
336
|
fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
|
|
333
|
-
hasLabel: boolean |
|
|
337
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
334
338
|
clearable: boolean;
|
|
335
339
|
valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
336
340
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
@@ -358,8 +362,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
358
362
|
fieldInstance?: any;
|
|
359
363
|
valueIsReady?: Ref<boolean> | undefined;
|
|
360
364
|
prop: string;
|
|
361
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
362
|
-
hasLabel: boolean |
|
|
365
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
366
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
363
367
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
364
368
|
style?: CSSProperties | undefined;
|
|
365
369
|
class?: any;
|
|
@@ -392,10 +396,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
392
396
|
clearable: boolean;
|
|
393
397
|
index: number;
|
|
394
398
|
}) => any>> & Partial<Record<string, (_: {
|
|
395
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "
|
|
399
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
396
400
|
readonly label: string | ComputedRef<string>;
|
|
397
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
398
|
-
readonly hasLabel: boolean |
|
|
401
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
402
|
+
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
399
403
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
400
404
|
style?: CSSProperties | undefined;
|
|
401
405
|
class?: any;
|
|
@@ -417,11 +421,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
417
421
|
[index: string]: any;
|
|
418
422
|
lazy?: boolean | undefined;
|
|
419
423
|
trim?: boolean | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* @desc 自动字典注入
|
|
426
|
+
* @version v0.2.0
|
|
427
|
+
*/
|
|
420
428
|
number?: boolean | undefined;
|
|
421
429
|
};
|
|
422
430
|
rows: number;
|
|
423
431
|
autocomplete: string;
|
|
424
|
-
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
432
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
425
433
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
426
434
|
step: string | number;
|
|
427
435
|
format: string | ProgressFn | undefined;
|
|
@@ -466,8 +474,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
466
474
|
fieldInstance?: any;
|
|
467
475
|
valueIsReady?: Ref<boolean> | undefined;
|
|
468
476
|
prop: string;
|
|
469
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
470
|
-
hasLabel: boolean |
|
|
477
|
+
modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
478
|
+
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
471
479
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
472
480
|
style?: CSSProperties | undefined;
|
|
473
481
|
class?: any;
|