@vunk/form 0.0.1-alpha.1 → 0.0.1-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/date-picker/src/ctx.d.ts +23 -23
- package/components/date-picker/src/index.vue.d.ts +90 -76
- package/components/date-picker/src/types.d.ts +7 -7
- package/components/form/src/ctx.d.ts +69 -66
- package/components/form/src/index.vue.d.ts +193 -193
- package/components/form-item/src/ctx.d.ts +7 -7
- package/components/form-item/src/index.vue.d.ts +24 -13
- package/components/form-item-renderer/src/ctx.d.ts +3 -3
- package/components/form-item-renderer/src/index.vue.d.ts +8 -8
- package/components/form-item-renderer-template/src/index.vue.d.ts +1 -1
- package/components/form-item-renderer-template-default/index.js +19 -4
- package/components/form-item-renderer-template-default/src/index.vue.d.ts +6 -6
- package/components/form-item-renderer-template-layout/index.js +3 -3
- package/components/form-item-renderer-template-layout/src/index.vue.d.ts +4 -4
- package/components/input/index.js +14 -3
- package/components/input/src/ctx.d.ts +35 -14
- package/components/input/src/ctx.js +8 -0
- package/components/input/src/index.vue.d.ts +109 -55
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/index.js +67 -0
- package/components/input-number/src/ctx.d.ts +71 -0
- package/components/input-number/src/ctx.js +23 -0
- package/components/input-number/src/index.vue.d.ts +198 -0
- package/components/input-number/src/types.d.ts +1 -0
- package/components/input-number/src/types.js +1 -0
- package/components/select/index.js +1 -2
- package/components/select/src/ctx.d.ts +25 -25
- package/components/select/src/index.vue.d.ts +146 -99
- package/components/switch/index.js +29 -12
- package/components/switch/src/ctx.d.ts +28 -9
- package/components/switch/src/ctx.js +15 -2
- package/components/switch/src/index.vue.d.ts +105 -29
- package/index.esm.js +3 -1
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +55 -11
- package/shared/element-plus/index.js +4 -2
- package/shared/element-plus/instances.d.ts +26 -26
- package/shared/types/layout-source/index.d.ts +2 -1
- package/shared/types/renderer-source/index.d.ts +3 -1
- package/shared/types/renderer-source/input-number.d.ts +7 -0
|
@@ -3,7 +3,7 @@ import { DatePickerSlots } from './types';
|
|
|
3
3
|
export declare const props: {
|
|
4
4
|
datePickerSlots: {
|
|
5
5
|
type: PropType<DatePickerSlots>;
|
|
6
|
-
default:
|
|
6
|
+
default: undefined;
|
|
7
7
|
};
|
|
8
8
|
type: {
|
|
9
9
|
type: PropType<"date" | "year" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange">;
|
|
@@ -12,13 +12,13 @@ export declare const props: {
|
|
|
12
12
|
disabledDate: {
|
|
13
13
|
readonly type: PropType<Function>;
|
|
14
14
|
readonly required: false;
|
|
15
|
-
readonly validator: (val: unknown) => boolean;
|
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
16
|
__epPropKey: true;
|
|
17
17
|
};
|
|
18
18
|
cellClassName: {
|
|
19
19
|
readonly type: PropType<Function>;
|
|
20
20
|
readonly required: false;
|
|
21
|
-
readonly validator: (val: unknown) => boolean;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
22
|
__epPropKey: true;
|
|
23
23
|
};
|
|
24
24
|
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
@@ -30,25 +30,25 @@ export declare const props: {
|
|
|
30
30
|
disabledHours: {
|
|
31
31
|
readonly type: PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
32
32
|
readonly required: false;
|
|
33
|
-
readonly validator: (val: unknown) => boolean;
|
|
33
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
__epPropKey: true;
|
|
35
35
|
};
|
|
36
36
|
disabledMinutes: {
|
|
37
37
|
readonly type: PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
38
38
|
readonly required: false;
|
|
39
|
-
readonly validator: (val: unknown) => boolean;
|
|
39
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
40
|
__epPropKey: true;
|
|
41
41
|
};
|
|
42
42
|
disabledSeconds: {
|
|
43
43
|
readonly type: PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
44
44
|
readonly required: false;
|
|
45
|
-
readonly validator: (val: unknown) => boolean;
|
|
45
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
46
|
__epPropKey: true;
|
|
47
47
|
};
|
|
48
48
|
id: {
|
|
49
49
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
|
|
50
50
|
readonly required: false;
|
|
51
|
-
readonly validator: (val: unknown) => boolean;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
52
|
__epPropKey: true;
|
|
53
53
|
};
|
|
54
54
|
name: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown, "", boolean>;
|
|
@@ -62,7 +62,7 @@ export declare const props: {
|
|
|
62
62
|
size: {
|
|
63
63
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
64
64
|
readonly required: false;
|
|
65
|
-
readonly validator: (val: unknown) => boolean;
|
|
65
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
66
|
__epPropKey: true;
|
|
67
67
|
};
|
|
68
68
|
readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -76,13 +76,13 @@ export declare const props: {
|
|
|
76
76
|
defaultValue: {
|
|
77
77
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
78
78
|
readonly required: false;
|
|
79
|
-
readonly validator: (val: unknown) => boolean;
|
|
79
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
80
|
__epPropKey: true;
|
|
81
81
|
};
|
|
82
82
|
defaultTime: {
|
|
83
83
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
84
84
|
readonly required: false;
|
|
85
|
-
readonly validator: (val: unknown) => boolean;
|
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
86
|
__epPropKey: true;
|
|
87
87
|
};
|
|
88
88
|
isRange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -91,20 +91,20 @@ export declare const props: {
|
|
|
91
91
|
prop: {
|
|
92
92
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
93
93
|
readonly required: false;
|
|
94
|
-
readonly validator: (val: unknown) => boolean;
|
|
94
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
95
95
|
__epPropKey: true;
|
|
96
96
|
};
|
|
97
97
|
rules: {
|
|
98
|
-
readonly type: PropType<unknown
|
|
98
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
99
99
|
readonly required: false;
|
|
100
|
-
readonly validator: (val: unknown) => boolean;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
101
|
__epPropKey: true;
|
|
102
102
|
};
|
|
103
103
|
error: StringConstructor;
|
|
104
104
|
validateStatus: {
|
|
105
105
|
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
106
106
|
readonly required: false;
|
|
107
|
-
readonly validator: (val: unknown) => boolean;
|
|
107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
108
|
__epPropKey: true;
|
|
109
109
|
};
|
|
110
110
|
for: StringConstructor;
|
|
@@ -116,7 +116,7 @@ export declare const props: {
|
|
|
116
116
|
};
|
|
117
117
|
formItemSlots: {
|
|
118
118
|
type: PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
119
|
-
default:
|
|
119
|
+
default: undefined;
|
|
120
120
|
};
|
|
121
121
|
elRef: {
|
|
122
122
|
type: PropType<any>;
|
|
@@ -124,12 +124,12 @@ export declare const props: {
|
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
export declare const emits: {
|
|
127
|
-
'update:modelValue':
|
|
128
|
-
change:
|
|
129
|
-
focus:
|
|
130
|
-
blur:
|
|
131
|
-
'calendar-change':
|
|
132
|
-
'panel-change':
|
|
133
|
-
'visible-change':
|
|
134
|
-
keydown:
|
|
127
|
+
'update:modelValue': null;
|
|
128
|
+
change: null;
|
|
129
|
+
focus: null;
|
|
130
|
+
blur: null;
|
|
131
|
+
'calendar-change': null;
|
|
132
|
+
'panel-change': null;
|
|
133
|
+
'visible-change': null;
|
|
134
|
+
keydown: null;
|
|
135
135
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
datePickerSlots: {
|
|
3
3
|
type: import("vue").PropType<import("./types").DatePickerSlots>;
|
|
4
|
-
default:
|
|
4
|
+
default: undefined;
|
|
5
5
|
};
|
|
6
6
|
type: {
|
|
7
7
|
type: import("vue").PropType<"date" | "year" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange">;
|
|
@@ -10,13 +10,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
disabledDate: {
|
|
11
11
|
readonly type: import("vue").PropType<Function>;
|
|
12
12
|
readonly required: false;
|
|
13
|
-
readonly validator: (val: unknown) => boolean;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
14
|
__epPropKey: true;
|
|
15
15
|
};
|
|
16
16
|
cellClassName: {
|
|
17
17
|
readonly type: import("vue").PropType<Function>;
|
|
18
18
|
readonly required: false;
|
|
19
|
-
readonly validator: (val: unknown) => boolean;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
20
|
__epPropKey: true;
|
|
21
21
|
};
|
|
22
22
|
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
@@ -28,25 +28,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
disabledHours: {
|
|
29
29
|
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
30
30
|
readonly required: false;
|
|
31
|
-
readonly validator: (val: unknown) => boolean;
|
|
31
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
32
|
__epPropKey: true;
|
|
33
33
|
};
|
|
34
34
|
disabledMinutes: {
|
|
35
35
|
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
36
36
|
readonly required: false;
|
|
37
|
-
readonly validator: (val: unknown) => boolean;
|
|
37
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
38
|
__epPropKey: true;
|
|
39
39
|
};
|
|
40
40
|
disabledSeconds: {
|
|
41
41
|
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
42
42
|
readonly required: false;
|
|
43
|
-
readonly validator: (val: unknown) => boolean;
|
|
43
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
44
|
__epPropKey: true;
|
|
45
45
|
};
|
|
46
46
|
id: {
|
|
47
47
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
|
|
48
48
|
readonly required: false;
|
|
49
|
-
readonly validator: (val: unknown) => boolean;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
50
|
__epPropKey: true;
|
|
51
51
|
};
|
|
52
52
|
name: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown, "", boolean>;
|
|
@@ -60,7 +60,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
size: {
|
|
61
61
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
62
62
|
readonly required: false;
|
|
63
|
-
readonly validator: (val: unknown) => boolean;
|
|
63
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
64
|
__epPropKey: true;
|
|
65
65
|
};
|
|
66
66
|
readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -74,13 +74,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
74
|
defaultValue: {
|
|
75
75
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
76
76
|
readonly required: false;
|
|
77
|
-
readonly validator: (val: unknown) => boolean;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
78
|
__epPropKey: true;
|
|
79
79
|
};
|
|
80
80
|
defaultTime: {
|
|
81
81
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
82
82
|
readonly required: false;
|
|
83
|
-
readonly validator: (val: unknown) => boolean;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
84
|
__epPropKey: true;
|
|
85
85
|
};
|
|
86
86
|
isRange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -89,20 +89,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
89
|
prop: {
|
|
90
90
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
91
91
|
readonly required: false;
|
|
92
|
-
readonly validator: (val: unknown) => boolean;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
93
|
__epPropKey: true;
|
|
94
94
|
};
|
|
95
95
|
rules: {
|
|
96
|
-
readonly type: import("vue").PropType<unknown
|
|
96
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
97
97
|
readonly required: false;
|
|
98
|
-
readonly validator: (val: unknown) => boolean;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
99
|
__epPropKey: true;
|
|
100
100
|
};
|
|
101
101
|
error: StringConstructor;
|
|
102
102
|
validateStatus: {
|
|
103
103
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
104
104
|
readonly required: false;
|
|
105
|
-
readonly validator: (val: unknown) => boolean;
|
|
105
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
106
|
__epPropKey: true;
|
|
107
107
|
};
|
|
108
108
|
for: StringConstructor;
|
|
@@ -114,71 +114,85 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
114
|
};
|
|
115
115
|
formItemSlots: {
|
|
116
116
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
117
|
-
default:
|
|
117
|
+
default: undefined;
|
|
118
118
|
};
|
|
119
119
|
elRef: {
|
|
120
120
|
type: import("vue").PropType<any>;
|
|
121
121
|
required: boolean;
|
|
122
122
|
};
|
|
123
123
|
}, {
|
|
124
|
-
formItemBindProps: import("vue").ComputedRef<{
|
|
124
|
+
formItemBindProps: import("vue").ComputedRef<{
|
|
125
|
+
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
126
|
+
label: string | undefined;
|
|
127
|
+
labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
128
|
+
prop: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown> | undefined;
|
|
129
|
+
rules: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown> | undefined;
|
|
130
|
+
error: string | undefined;
|
|
131
|
+
validateStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown> | undefined;
|
|
132
|
+
for: string | undefined;
|
|
133
|
+
inlineMessage: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, BooleanConstructor], unknown, unknown>;
|
|
134
|
+
showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
|
+
formItemSize: "default" | "small" | "large";
|
|
136
|
+
formItemSlots: import("../../form-item/src/types").FormItemSlots | undefined;
|
|
137
|
+
elRef: any;
|
|
138
|
+
}>;
|
|
125
139
|
datePickerBindProps: import("vue").ComputedRef<{
|
|
126
|
-
label: string;
|
|
127
|
-
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never
|
|
140
|
+
label: string | undefined;
|
|
141
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined;
|
|
128
142
|
name: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>;
|
|
129
|
-
disabledDate: Function;
|
|
130
|
-
cellClassName: Function;
|
|
143
|
+
disabledDate: Function | undefined;
|
|
144
|
+
cellClassName: Function | undefined;
|
|
131
145
|
shortcuts: unknown[];
|
|
132
146
|
arrowControl: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
133
147
|
tabindex: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>;
|
|
134
148
|
validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
149
|
unlinkPanels: boolean;
|
|
136
|
-
disabledHours: import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours;
|
|
137
|
-
disabledMinutes: import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes;
|
|
138
|
-
disabledSeconds: import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds;
|
|
139
|
-
id: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown
|
|
150
|
+
disabledHours: import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours | undefined;
|
|
151
|
+
disabledMinutes: import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes | undefined;
|
|
152
|
+
disabledSeconds: import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds | undefined;
|
|
153
|
+
id: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown> | undefined;
|
|
140
154
|
popperClass: string;
|
|
141
|
-
format: string;
|
|
142
|
-
valueFormat: string;
|
|
155
|
+
format: string | undefined;
|
|
156
|
+
valueFormat: string | undefined;
|
|
143
157
|
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
|
-
clearIcon: import("vue").
|
|
158
|
+
clearIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
145
159
|
editable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
146
|
-
prefixIcon: ""
|
|
160
|
+
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
147
161
|
readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
148
162
|
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
149
163
|
placeholder: string;
|
|
150
|
-
popperOptions:
|
|
164
|
+
popperOptions: Partial<import("element-plus").Options>;
|
|
151
165
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType))[], unknown, unknown>;
|
|
152
166
|
rangeSeparator: string;
|
|
153
|
-
startPlaceholder: string;
|
|
154
|
-
endPlaceholder: string;
|
|
155
|
-
defaultValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown
|
|
156
|
-
defaultTime: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown
|
|
167
|
+
startPlaceholder: string | undefined;
|
|
168
|
+
endPlaceholder: string | undefined;
|
|
169
|
+
defaultValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown> | undefined;
|
|
170
|
+
defaultTime: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown> | undefined;
|
|
157
171
|
isRange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
158
172
|
}>;
|
|
159
173
|
datePickerOnEmits: {
|
|
160
|
-
"update:modelValue": (
|
|
161
|
-
change: (
|
|
162
|
-
focus: (
|
|
163
|
-
blur: (
|
|
164
|
-
"calendar-change": (
|
|
165
|
-
"panel-change": (
|
|
166
|
-
"visible-change": (
|
|
167
|
-
keydown: (
|
|
174
|
+
"update:modelValue": (...e: any[]) => void;
|
|
175
|
+
change: (...e: any[]) => void;
|
|
176
|
+
focus: (...e: any[]) => void;
|
|
177
|
+
blur: (...e: any[]) => void;
|
|
178
|
+
"calendar-change": (...e: any[]) => void;
|
|
179
|
+
"panel-change": (...e: any[]) => void;
|
|
180
|
+
"visible-change": (...e: any[]) => void;
|
|
181
|
+
keydown: (...e: any[]) => void;
|
|
168
182
|
};
|
|
169
183
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
170
|
-
'update:modelValue':
|
|
171
|
-
change:
|
|
172
|
-
focus:
|
|
173
|
-
blur:
|
|
174
|
-
'calendar-change':
|
|
175
|
-
'panel-change':
|
|
176
|
-
'visible-change':
|
|
177
|
-
keydown:
|
|
184
|
+
'update:modelValue': null;
|
|
185
|
+
change: null;
|
|
186
|
+
focus: null;
|
|
187
|
+
blur: null;
|
|
188
|
+
'calendar-change': null;
|
|
189
|
+
'panel-change': null;
|
|
190
|
+
'visible-change': null;
|
|
191
|
+
keydown: null;
|
|
178
192
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
179
193
|
datePickerSlots: {
|
|
180
194
|
type: import("vue").PropType<import("./types").DatePickerSlots>;
|
|
181
|
-
default:
|
|
195
|
+
default: undefined;
|
|
182
196
|
};
|
|
183
197
|
type: {
|
|
184
198
|
type: import("vue").PropType<"date" | "year" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange">;
|
|
@@ -187,13 +201,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
187
201
|
disabledDate: {
|
|
188
202
|
readonly type: import("vue").PropType<Function>;
|
|
189
203
|
readonly required: false;
|
|
190
|
-
readonly validator: (val: unknown) => boolean;
|
|
204
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
191
205
|
__epPropKey: true;
|
|
192
206
|
};
|
|
193
207
|
cellClassName: {
|
|
194
208
|
readonly type: import("vue").PropType<Function>;
|
|
195
209
|
readonly required: false;
|
|
196
|
-
readonly validator: (val: unknown) => boolean;
|
|
210
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
197
211
|
__epPropKey: true;
|
|
198
212
|
};
|
|
199
213
|
shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
|
|
@@ -205,25 +219,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
205
219
|
disabledHours: {
|
|
206
220
|
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
|
|
207
221
|
readonly required: false;
|
|
208
|
-
readonly validator: (val: unknown) => boolean;
|
|
222
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
209
223
|
__epPropKey: true;
|
|
210
224
|
};
|
|
211
225
|
disabledMinutes: {
|
|
212
226
|
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
|
|
213
227
|
readonly required: false;
|
|
214
|
-
readonly validator: (val: unknown) => boolean;
|
|
228
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
215
229
|
__epPropKey: true;
|
|
216
230
|
};
|
|
217
231
|
disabledSeconds: {
|
|
218
232
|
readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
|
|
219
233
|
readonly required: false;
|
|
220
|
-
readonly validator: (val: unknown) => boolean;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
221
235
|
__epPropKey: true;
|
|
222
236
|
};
|
|
223
237
|
id: {
|
|
224
238
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
|
|
225
239
|
readonly required: false;
|
|
226
|
-
readonly validator: (val: unknown) => boolean;
|
|
240
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
227
241
|
__epPropKey: true;
|
|
228
242
|
};
|
|
229
243
|
name: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => import("element-plus").SingleOrRange<string> & {}) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown, "", boolean>;
|
|
@@ -237,7 +251,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
251
|
size: {
|
|
238
252
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
239
253
|
readonly required: false;
|
|
240
|
-
readonly validator: (val: unknown) => boolean;
|
|
254
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
241
255
|
__epPropKey: true;
|
|
242
256
|
};
|
|
243
257
|
readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -251,13 +265,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
251
265
|
defaultValue: {
|
|
252
266
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
253
267
|
readonly required: false;
|
|
254
|
-
readonly validator: (val: unknown) => boolean;
|
|
268
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
255
269
|
__epPropKey: true;
|
|
256
270
|
};
|
|
257
271
|
defaultTime: {
|
|
258
272
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
|
|
259
273
|
readonly required: false;
|
|
260
|
-
readonly validator: (val: unknown) => boolean;
|
|
274
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
261
275
|
__epPropKey: true;
|
|
262
276
|
};
|
|
263
277
|
isRange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -266,20 +280,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
266
280
|
prop: {
|
|
267
281
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp) | ((new (...args: any[]) => import("element-plus").FormItemProp & {}) | (() => import("element-plus").FormItemProp))[], unknown, unknown>>;
|
|
268
282
|
readonly required: false;
|
|
269
|
-
readonly validator: (val: unknown) => boolean;
|
|
283
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
284
|
__epPropKey: true;
|
|
271
285
|
};
|
|
272
286
|
rules: {
|
|
273
|
-
readonly type: import("vue").PropType<unknown
|
|
287
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>))[], unknown, unknown>>;
|
|
274
288
|
readonly required: false;
|
|
275
|
-
readonly validator: (val: unknown) => boolean;
|
|
289
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
276
290
|
__epPropKey: true;
|
|
277
291
|
};
|
|
278
292
|
error: StringConstructor;
|
|
279
293
|
validateStatus: {
|
|
280
294
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
281
295
|
readonly required: false;
|
|
282
|
-
readonly validator: (val: unknown) => boolean;
|
|
296
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
283
297
|
__epPropKey: true;
|
|
284
298
|
};
|
|
285
299
|
for: StringConstructor;
|
|
@@ -291,21 +305,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
291
305
|
};
|
|
292
306
|
formItemSlots: {
|
|
293
307
|
type: import("vue").PropType<import("../../form-item/src/types").FormItemSlots>;
|
|
294
|
-
default:
|
|
308
|
+
default: undefined;
|
|
295
309
|
};
|
|
296
310
|
elRef: {
|
|
297
311
|
type: import("vue").PropType<any>;
|
|
298
312
|
required: boolean;
|
|
299
313
|
};
|
|
300
314
|
}>> & {
|
|
301
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) |
|
|
302
|
-
onChange?: ((...args: any[]) => any) |
|
|
303
|
-
onFocus?: ((...args: any[]) => any) |
|
|
304
|
-
onBlur?: ((...args: any[]) => any) |
|
|
305
|
-
"onCalendar-change"?: ((...args: any[]) => any) |
|
|
306
|
-
"onPanel-change"?: ((...args: any[]) => any) |
|
|
307
|
-
"onVisible-change"?: ((...args: any[]) => any) |
|
|
308
|
-
onKeydown?: ((...args: any[]) => any) |
|
|
315
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
316
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
317
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
318
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
319
|
+
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
320
|
+
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
321
|
+
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
322
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
309
323
|
}, {
|
|
310
324
|
required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
311
325
|
type: "date" | "year" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange";
|
|
@@ -323,16 +337,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
323
337
|
unlinkPanels: boolean;
|
|
324
338
|
popperClass: string;
|
|
325
339
|
clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
326
|
-
clearIcon: import("vue").
|
|
340
|
+
clearIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
327
341
|
editable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
328
|
-
prefixIcon: ""
|
|
342
|
+
prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
329
343
|
readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
330
344
|
disabled: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
331
345
|
placeholder: string;
|
|
332
|
-
popperOptions:
|
|
346
|
+
popperOptions: Partial<import("element-plus").Options>;
|
|
333
347
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => import("element-plus").ModelValueType & {}) | (() => import("element-plus").ModelValueType))[], unknown, unknown>;
|
|
334
348
|
rangeSeparator: string;
|
|
335
349
|
isRange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
336
|
-
datePickerSlots:
|
|
350
|
+
datePickerSlots: import("./types").DatePickerSlots;
|
|
337
351
|
}>;
|
|
338
352
|
export default _default;
|
|
@@ -4,11 +4,11 @@ export declare type DatePickerSlots = {
|
|
|
4
4
|
'range-separator'?: Func;
|
|
5
5
|
};
|
|
6
6
|
export declare const datePickerEmits: {
|
|
7
|
-
'update:modelValue':
|
|
8
|
-
change:
|
|
9
|
-
focus:
|
|
10
|
-
blur:
|
|
11
|
-
'calendar-change':
|
|
12
|
-
'panel-change':
|
|
13
|
-
'visible-change':
|
|
7
|
+
'update:modelValue': null;
|
|
8
|
+
change: null;
|
|
9
|
+
focus: null;
|
|
10
|
+
blur: null;
|
|
11
|
+
'calendar-change': null;
|
|
12
|
+
'panel-change': null;
|
|
13
|
+
'visible-change': null;
|
|
14
14
|
};
|