@silver-formily/element-plus 3.0.3 → 4.0.1
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/README.en-US.md +3 -1
- package/README.md +3 -1
- package/esm/autocomplete/index.d.ts +41 -1
- package/esm/cascader/index.d.ts +31 -1
- package/esm/checkbox/index.d.ts +819 -1
- package/esm/color-picker/index.d.ts +210 -1
- package/esm/color-picker-panel/index.d.ts +130 -1
- package/esm/date-picker/index.d.ts +447 -1
- package/esm/date-picker-panel/index.d.ts +147 -1
- package/esm/editable/index.d.ts +60 -1
- package/esm/form-item/index.d.ts +83 -1
- package/esm/form-layout/form-layout.vue.d.ts +2 -2
- package/esm/index.d.ts +3 -1
- package/esm/index.mjs +2 -1
- package/esm/input/index.d.ts +43 -1
- package/esm/input-number/index.d.ts +328 -1
- package/esm/input-tag/index.d.ts +26 -1
- package/esm/mention/index.d.ts +36 -1
- package/esm/password/index.d.ts +42 -1
- package/esm/picker-select/index.d.ts +47 -0
- package/esm/picker-select/index.mjs +14 -0
- package/esm/picker-select/index.mjs.map +1 -0
- package/esm/picker-select/picker-select.mjs +186 -0
- package/esm/picker-select/picker-select.mjs.map +1 -0
- package/esm/picker-select/types.d.ts +23 -0
- package/esm/query-form-item/index.d.ts +152 -1
- package/esm/radio/index.d.ts +76 -22
- package/esm/rate/index.d.ts +186 -1
- package/esm/segmented/index.d.ts +28 -1
- package/esm/select/index.d.ts +112 -1
- package/esm/select-table/index.d.ts +61 -1
- package/esm/select-table/types.d.ts +22 -0
- package/esm/slider/index.d.ts +178 -1
- package/esm/switch/index.d.ts +298 -1
- package/esm/time-picker/index.d.ts +446 -1
- package/esm/time-select/index.d.ts +188 -1
- package/esm/transfer/index.d.ts +268 -1
- package/esm/tree/index.d.ts +45 -1
- package/esm/tree/types.d.ts +18 -0
- package/esm/tree-select/index.d.ts +19 -1
- package/esm/upload/index.d.ts +129 -1
- package/package.json +4 -4
package/esm/rate/index.d.ts
CHANGED
|
@@ -1,8 +1,193 @@
|
|
|
1
1
|
import { ElRate } from "element-plus";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
|
|
2
4
|
|
|
3
5
|
//#region src/rate/index.d.ts
|
|
4
6
|
type RateProps = typeof ElRate;
|
|
5
|
-
declare const Rate:
|
|
7
|
+
declare const Rate: _$element_plus_es_utils_index_mjs0.SFCWithInstall<_$vue.DefineComponent<{
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: _$vue.PropType<number>;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: _$vue.PropType<boolean>;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: _$vue.PropType<"" | "default" | "small" | "large">;
|
|
18
|
+
};
|
|
19
|
+
clearable: {
|
|
20
|
+
type: _$vue.PropType<boolean>;
|
|
21
|
+
};
|
|
22
|
+
ariaLabel: {
|
|
23
|
+
type: _$vue.PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
id: {
|
|
26
|
+
type: _$vue.PropType<string>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
max: {
|
|
30
|
+
type: _$vue.PropType<number>;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
textColor: {
|
|
34
|
+
type: _$vue.PropType<string>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
lowThreshold: {
|
|
38
|
+
type: _$vue.PropType<number>;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
highThreshold: {
|
|
42
|
+
type: _$vue.PropType<number>;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
colors: {
|
|
46
|
+
type: _$vue.PropType<string[] | Record<number, string>>;
|
|
47
|
+
default: () => string[];
|
|
48
|
+
};
|
|
49
|
+
voidColor: {
|
|
50
|
+
type: _$vue.PropType<string>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
disabledVoidColor: {
|
|
54
|
+
type: _$vue.PropType<string>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
icons: {
|
|
58
|
+
type: _$vue.PropType<(string | _$vue.Component)[] | Record<number, string | _$vue.Component>>;
|
|
59
|
+
default: () => any[];
|
|
60
|
+
};
|
|
61
|
+
voidIcon: {
|
|
62
|
+
type: _$vue.PropType<string | _$vue.Component>;
|
|
63
|
+
default: () => any;
|
|
64
|
+
};
|
|
65
|
+
disabledVoidIcon: {
|
|
66
|
+
type: _$vue.PropType<string | _$vue.Component>;
|
|
67
|
+
default: () => any;
|
|
68
|
+
};
|
|
69
|
+
allowHalf: {
|
|
70
|
+
type: _$vue.PropType<boolean>;
|
|
71
|
+
};
|
|
72
|
+
showText: {
|
|
73
|
+
type: _$vue.PropType<boolean>;
|
|
74
|
+
};
|
|
75
|
+
showScore: {
|
|
76
|
+
type: _$vue.PropType<boolean>;
|
|
77
|
+
};
|
|
78
|
+
texts: {
|
|
79
|
+
type: _$vue.PropType<string[]>;
|
|
80
|
+
default: () => string[];
|
|
81
|
+
};
|
|
82
|
+
scoreTemplate: {
|
|
83
|
+
type: _$vue.PropType<string>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
setCurrentValue: (value: number, event?: MouseEvent) => void;
|
|
88
|
+
resetCurrentValue: () => void;
|
|
89
|
+
}, unknown, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
90
|
+
"update:modelValue": (value: number) => void;
|
|
91
|
+
change: (value: number) => void;
|
|
92
|
+
}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
93
|
+
modelValue: {
|
|
94
|
+
type: _$vue.PropType<number>;
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
97
|
+
disabled: {
|
|
98
|
+
type: _$vue.PropType<boolean>;
|
|
99
|
+
default: undefined;
|
|
100
|
+
};
|
|
101
|
+
size: {
|
|
102
|
+
type: _$vue.PropType<"" | "default" | "small" | "large">;
|
|
103
|
+
};
|
|
104
|
+
clearable: {
|
|
105
|
+
type: _$vue.PropType<boolean>;
|
|
106
|
+
};
|
|
107
|
+
ariaLabel: {
|
|
108
|
+
type: _$vue.PropType<string>;
|
|
109
|
+
};
|
|
110
|
+
id: {
|
|
111
|
+
type: _$vue.PropType<string>;
|
|
112
|
+
default: undefined;
|
|
113
|
+
};
|
|
114
|
+
max: {
|
|
115
|
+
type: _$vue.PropType<number>;
|
|
116
|
+
default: number;
|
|
117
|
+
};
|
|
118
|
+
textColor: {
|
|
119
|
+
type: _$vue.PropType<string>;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
lowThreshold: {
|
|
123
|
+
type: _$vue.PropType<number>;
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
126
|
+
highThreshold: {
|
|
127
|
+
type: _$vue.PropType<number>;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
colors: {
|
|
131
|
+
type: _$vue.PropType<string[] | Record<number, string>>;
|
|
132
|
+
default: () => string[];
|
|
133
|
+
};
|
|
134
|
+
voidColor: {
|
|
135
|
+
type: _$vue.PropType<string>;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
disabledVoidColor: {
|
|
139
|
+
type: _$vue.PropType<string>;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
icons: {
|
|
143
|
+
type: _$vue.PropType<(string | _$vue.Component)[] | Record<number, string | _$vue.Component>>;
|
|
144
|
+
default: () => any[];
|
|
145
|
+
};
|
|
146
|
+
voidIcon: {
|
|
147
|
+
type: _$vue.PropType<string | _$vue.Component>;
|
|
148
|
+
default: () => any;
|
|
149
|
+
};
|
|
150
|
+
disabledVoidIcon: {
|
|
151
|
+
type: _$vue.PropType<string | _$vue.Component>;
|
|
152
|
+
default: () => any;
|
|
153
|
+
};
|
|
154
|
+
allowHalf: {
|
|
155
|
+
type: _$vue.PropType<boolean>;
|
|
156
|
+
};
|
|
157
|
+
showText: {
|
|
158
|
+
type: _$vue.PropType<boolean>;
|
|
159
|
+
};
|
|
160
|
+
showScore: {
|
|
161
|
+
type: _$vue.PropType<boolean>;
|
|
162
|
+
};
|
|
163
|
+
texts: {
|
|
164
|
+
type: _$vue.PropType<string[]>;
|
|
165
|
+
default: () => string[];
|
|
166
|
+
};
|
|
167
|
+
scoreTemplate: {
|
|
168
|
+
type: _$vue.PropType<string>;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
}>> & {
|
|
172
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
173
|
+
onChange?: ((value: number) => any) | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
disabled: boolean;
|
|
176
|
+
id: string;
|
|
177
|
+
modelValue: number;
|
|
178
|
+
max: number;
|
|
179
|
+
textColor: string;
|
|
180
|
+
colors: string[] | Record<number, string>;
|
|
181
|
+
lowThreshold: number;
|
|
182
|
+
highThreshold: number;
|
|
183
|
+
voidColor: string;
|
|
184
|
+
disabledVoidColor: string;
|
|
185
|
+
icons: Array<string | _$vue.Component> | Record<number, string | _$vue.Component>;
|
|
186
|
+
voidIcon: string | _$vue.Component;
|
|
187
|
+
disabledVoidIcon: string | _$vue.Component;
|
|
188
|
+
texts: string[];
|
|
189
|
+
scoreTemplate: string;
|
|
190
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>>;
|
|
6
191
|
//#endregion
|
|
7
192
|
export { Rate, RateProps };
|
|
8
193
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/segmented/index.d.ts
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
|
+
import * as _$vue from "vue";
|
|
2
|
+
import * as _$element_plus_es_components_segmented_src_types_mjs0 from "element-plus/es/components/segmented/src/types.mjs";
|
|
3
|
+
|
|
1
4
|
//#region src/segmented/index.d.ts
|
|
2
|
-
declare const Segmented:
|
|
5
|
+
declare const Segmented: {
|
|
6
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
options?: _$element_plus_es_components_segmented_src_types_mjs0.Option[];
|
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
9
|
+
P: {};
|
|
10
|
+
B: {};
|
|
11
|
+
D: {};
|
|
12
|
+
C: {};
|
|
13
|
+
M: {};
|
|
14
|
+
Defaults: {};
|
|
15
|
+
}, Readonly<{
|
|
16
|
+
options?: _$element_plus_es_components_segmented_src_types_mjs0.Option[];
|
|
17
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
18
|
+
__isFragment?: never;
|
|
19
|
+
__isTeleport?: never;
|
|
20
|
+
__isSuspense?: never;
|
|
21
|
+
} & _$vue.ComponentOptionsBase<Readonly<{
|
|
22
|
+
options?: _$element_plus_es_components_segmented_src_types_mjs0.Option[];
|
|
23
|
+
}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
24
|
+
$slots: {
|
|
25
|
+
default?: (props: {
|
|
26
|
+
item: any;
|
|
27
|
+
}) => any;
|
|
28
|
+
};
|
|
29
|
+
});
|
|
3
30
|
//#endregion
|
|
4
31
|
export { Segmented };
|
|
5
32
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/select/index.d.ts
CHANGED
|
@@ -1,5 +1,116 @@
|
|
|
1
|
+
import * as _$vue from "vue";
|
|
2
|
+
import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
|
|
3
|
+
|
|
1
4
|
//#region src/select/index.d.ts
|
|
2
|
-
declare const Select:
|
|
5
|
+
declare const Select: {
|
|
6
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
7
|
+
options?: Array<(Partial<{
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
created: boolean;
|
|
10
|
+
}> & Omit<{
|
|
11
|
+
readonly value: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | BooleanConstructor | ObjectConstructor | StringConstructor)[], unknown, unknown>;
|
|
12
|
+
readonly disabled: boolean;
|
|
13
|
+
readonly created: boolean;
|
|
14
|
+
readonly label?: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
15
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled" | "created">) | (Partial<{
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
}> & Omit<{
|
|
18
|
+
readonly disabled: boolean;
|
|
19
|
+
readonly label?: string;
|
|
20
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled"> & {
|
|
21
|
+
options: (Partial<{
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
created: boolean;
|
|
24
|
+
}> & Omit<{
|
|
25
|
+
readonly value: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | BooleanConstructor | ObjectConstructor | StringConstructor)[], unknown, unknown>;
|
|
26
|
+
readonly disabled: boolean;
|
|
27
|
+
readonly created: boolean;
|
|
28
|
+
readonly label?: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
29
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled" | "created">)[];
|
|
30
|
+
})>;
|
|
31
|
+
}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<{
|
|
39
|
+
options?: Array<(Partial<{
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
created: boolean;
|
|
42
|
+
}> & Omit<{
|
|
43
|
+
readonly value: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | BooleanConstructor | ObjectConstructor | StringConstructor)[], unknown, unknown>;
|
|
44
|
+
readonly disabled: boolean;
|
|
45
|
+
readonly created: boolean;
|
|
46
|
+
readonly label?: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
47
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled" | "created">) | (Partial<{
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
}> & Omit<{
|
|
50
|
+
readonly disabled: boolean;
|
|
51
|
+
readonly label?: string;
|
|
52
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled"> & {
|
|
53
|
+
options: (Partial<{
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
created: boolean;
|
|
56
|
+
}> & Omit<{
|
|
57
|
+
readonly value: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | BooleanConstructor | ObjectConstructor | StringConstructor)[], unknown, unknown>;
|
|
58
|
+
readonly disabled: boolean;
|
|
59
|
+
readonly created: boolean;
|
|
60
|
+
readonly label?: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
61
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled" | "created">)[];
|
|
62
|
+
})>;
|
|
63
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
64
|
+
__isFragment?: never;
|
|
65
|
+
__isTeleport?: never;
|
|
66
|
+
__isSuspense?: never;
|
|
67
|
+
} & _$vue.ComponentOptionsBase<Readonly<{
|
|
68
|
+
options?: Array<(Partial<{
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
created: boolean;
|
|
71
|
+
}> & Omit<{
|
|
72
|
+
readonly value: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | BooleanConstructor | ObjectConstructor | StringConstructor)[], unknown, unknown>;
|
|
73
|
+
readonly disabled: boolean;
|
|
74
|
+
readonly created: boolean;
|
|
75
|
+
readonly label?: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
76
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled" | "created">) | (Partial<{
|
|
77
|
+
disabled: boolean;
|
|
78
|
+
}> & Omit<{
|
|
79
|
+
readonly disabled: boolean;
|
|
80
|
+
readonly label?: string;
|
|
81
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled"> & {
|
|
82
|
+
options: (Partial<{
|
|
83
|
+
disabled: boolean;
|
|
84
|
+
created: boolean;
|
|
85
|
+
}> & Omit<{
|
|
86
|
+
readonly value: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | BooleanConstructor | ObjectConstructor | StringConstructor)[], unknown, unknown>;
|
|
87
|
+
readonly disabled: boolean;
|
|
88
|
+
readonly created: boolean;
|
|
89
|
+
readonly label?: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
90
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled" | "created">)[];
|
|
91
|
+
})>;
|
|
92
|
+
}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
93
|
+
$slots: {
|
|
94
|
+
option?: (props: {
|
|
95
|
+
option: Partial<{
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
created: boolean;
|
|
98
|
+
}> & Omit<{
|
|
99
|
+
readonly value: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | BooleanConstructor | ObjectConstructor | StringConstructor)[], unknown, unknown>;
|
|
100
|
+
readonly disabled: boolean;
|
|
101
|
+
readonly created: boolean;
|
|
102
|
+
readonly label?: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
103
|
+
} & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps, "disabled" | "created">;
|
|
104
|
+
}) => any;
|
|
105
|
+
header?: () => any;
|
|
106
|
+
footer?: () => any;
|
|
107
|
+
prefix?: () => any;
|
|
108
|
+
empty?: () => any;
|
|
109
|
+
tag?: () => any;
|
|
110
|
+
loading?: () => any;
|
|
111
|
+
label?: () => any;
|
|
112
|
+
};
|
|
113
|
+
});
|
|
3
114
|
//#endregion
|
|
4
115
|
export { Select };
|
|
5
116
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,65 @@
|
|
|
1
|
+
import { ISelectTableProps } from "./types.js";
|
|
2
|
+
import * as _$element_plus0 from "element-plus";
|
|
3
|
+
import * as _$vue from "vue";
|
|
4
|
+
|
|
1
5
|
//#region src/select-table/index.d.ts
|
|
2
|
-
declare const SelectTable:
|
|
6
|
+
declare const SelectTable: {
|
|
7
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<ISelectTableProps> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
9
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (...args: any[]) => void;
|
|
11
|
+
}, _$vue.PublicProps, {
|
|
12
|
+
loading: boolean;
|
|
13
|
+
dataSource: any[];
|
|
14
|
+
valueType: "all" | "parent" | "child" | "path";
|
|
15
|
+
mode: "multiple" | "single";
|
|
16
|
+
columns: _$element_plus0.Column<any>[];
|
|
17
|
+
optionAsValue: boolean;
|
|
18
|
+
clickRowToSelect: boolean;
|
|
19
|
+
showAlertToolbar: boolean;
|
|
20
|
+
ignoreSelectable: boolean;
|
|
21
|
+
}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
22
|
+
P: {};
|
|
23
|
+
B: {};
|
|
24
|
+
D: {};
|
|
25
|
+
C: {};
|
|
26
|
+
M: {};
|
|
27
|
+
Defaults: {};
|
|
28
|
+
}, Readonly<ISelectTableProps> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
30
|
+
}>, {}, {}, {}, {}, {
|
|
31
|
+
loading: boolean;
|
|
32
|
+
dataSource: any[];
|
|
33
|
+
valueType: "all" | "parent" | "child" | "path";
|
|
34
|
+
mode: "multiple" | "single";
|
|
35
|
+
columns: _$element_plus0.Column<any>[];
|
|
36
|
+
optionAsValue: boolean;
|
|
37
|
+
clickRowToSelect: boolean;
|
|
38
|
+
showAlertToolbar: boolean;
|
|
39
|
+
ignoreSelectable: boolean;
|
|
40
|
+
}>;
|
|
41
|
+
__isFragment?: never;
|
|
42
|
+
__isTeleport?: never;
|
|
43
|
+
__isSuspense?: never;
|
|
44
|
+
} & _$vue.ComponentOptionsBase<Readonly<ISelectTableProps> & Readonly<{
|
|
45
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
46
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
47
|
+
"update:modelValue": (...args: any[]) => void;
|
|
48
|
+
}, string, {
|
|
49
|
+
loading: boolean;
|
|
50
|
+
dataSource: any[];
|
|
51
|
+
valueType: "all" | "parent" | "child" | "path";
|
|
52
|
+
mode: "multiple" | "single";
|
|
53
|
+
columns: _$element_plus0.Column<any>[];
|
|
54
|
+
optionAsValue: boolean;
|
|
55
|
+
clickRowToSelect: boolean;
|
|
56
|
+
showAlertToolbar: boolean;
|
|
57
|
+
ignoreSelectable: boolean;
|
|
58
|
+
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
59
|
+
$slots: {
|
|
60
|
+
default?: (props: {}) => any;
|
|
61
|
+
};
|
|
62
|
+
});
|
|
3
63
|
//#endregion
|
|
4
64
|
export { SelectTable };
|
|
5
65
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Column } from "element-plus";
|
|
2
|
+
import { GeneralField } from "@formily/core";
|
|
3
|
+
|
|
4
|
+
//#region src/select-table/types.d.ts
|
|
5
|
+
interface ISelectTableProps {
|
|
6
|
+
columns?: Column<any>[];
|
|
7
|
+
mode?: 'multiple' | 'single';
|
|
8
|
+
dataSource?: any[];
|
|
9
|
+
optionAsValue?: boolean;
|
|
10
|
+
valueType?: 'all' | 'parent' | 'child' | 'path';
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
rowKey?: string;
|
|
13
|
+
clickRowToSelect?: boolean;
|
|
14
|
+
showAlertToolbar?: boolean;
|
|
15
|
+
modelValue?: any;
|
|
16
|
+
data?: Record<string, any>[];
|
|
17
|
+
selectable?: (row: Record<string, any>, index: number, field: GeneralField) => boolean;
|
|
18
|
+
ignoreSelectable?: boolean;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { ISelectTableProps };
|
|
22
|
+
//# sourceMappingURL=types.d.ts.map
|
package/esm/slider/index.d.ts
CHANGED
|
@@ -1,8 +1,185 @@
|
|
|
1
|
+
import * as _$element_plus0 from "element-plus";
|
|
1
2
|
import { ElSlider } from "element-plus";
|
|
3
|
+
import * as _$vue from "vue";
|
|
4
|
+
import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
|
|
5
|
+
import * as _$element_plus_es_utils_typescript_mjs0 from "element-plus/es/utils/typescript.mjs";
|
|
2
6
|
|
|
3
7
|
//#region src/slider/index.d.ts
|
|
4
8
|
type SliderProps = typeof ElSlider;
|
|
5
|
-
declare const Slider:
|
|
9
|
+
declare const Slider: _$element_plus_es_utils_index_mjs0.SFCWithInstall<_$vue.DefineComponent<{
|
|
10
|
+
readonly ariaLabel: StringConstructor;
|
|
11
|
+
readonly modelValue: _$element_plus_es_utils_index_mjs0.EpPropFinalized<(new (...args: any[]) => number | number[]) | (() => _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) | ((new (...args: any[]) => number | number[]) | (() => _$element_plus_es_utils_typescript_mjs0.Arrayable<number>))[], unknown, unknown, 0, boolean>;
|
|
12
|
+
readonly id: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
13
|
+
readonly min: _$element_plus_es_utils_index_mjs0.EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
14
|
+
readonly max: _$element_plus_es_utils_index_mjs0.EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
15
|
+
readonly step: _$element_plus_es_utils_index_mjs0.EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
16
|
+
readonly showInput: BooleanConstructor;
|
|
17
|
+
readonly showInputControls: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
18
|
+
readonly size: {
|
|
19
|
+
readonly type: _$vue.PropType<_$element_plus_es_utils_index_mjs0.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
};
|
|
24
|
+
readonly inputSize: {
|
|
25
|
+
readonly type: _$vue.PropType<_$element_plus_es_utils_index_mjs0.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
26
|
+
readonly required: false;
|
|
27
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
28
|
+
__epPropKey: true;
|
|
29
|
+
};
|
|
30
|
+
readonly showStops: BooleanConstructor;
|
|
31
|
+
readonly showTooltip: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
32
|
+
readonly formatTooltip: _$element_plus_es_utils_index_mjs0.EpPropFinalized<(new (...args: any[]) => (val: number) => number | string) | (() => (val: number) => number | string) | {
|
|
33
|
+
(): (val: number) => number | string;
|
|
34
|
+
new (): any;
|
|
35
|
+
readonly prototype: any;
|
|
36
|
+
} | ((new (...args: any[]) => (val: number) => number | string) | (() => (val: number) => number | string) | {
|
|
37
|
+
(): (val: number) => number | string;
|
|
38
|
+
new (): any;
|
|
39
|
+
readonly prototype: any;
|
|
40
|
+
})[], unknown, unknown, undefined, boolean>;
|
|
41
|
+
readonly disabled: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
42
|
+
readonly range: BooleanConstructor;
|
|
43
|
+
readonly vertical: BooleanConstructor;
|
|
44
|
+
readonly height: StringConstructor;
|
|
45
|
+
readonly rangeStartLabel: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
46
|
+
readonly rangeEndLabel: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
47
|
+
readonly formatValueText: _$element_plus_es_utils_index_mjs0.EpPropFinalized<(new (...args: any[]) => (val: number) => string) | (() => (val: number) => string) | {
|
|
48
|
+
(): (val: number) => string;
|
|
49
|
+
new (): any;
|
|
50
|
+
readonly prototype: any;
|
|
51
|
+
} | ((new (...args: any[]) => (val: number) => string) | (() => (val: number) => string) | {
|
|
52
|
+
(): (val: number) => string;
|
|
53
|
+
new (): any;
|
|
54
|
+
readonly prototype: any;
|
|
55
|
+
})[], unknown, unknown, undefined, boolean>;
|
|
56
|
+
readonly tooltipClass: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
57
|
+
readonly placement: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, _$element_plus0.Placement, unknown, "top", boolean>;
|
|
58
|
+
readonly marks: {
|
|
59
|
+
readonly type: _$vue.PropType<{
|
|
60
|
+
[x: number]: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(new (...args: any[]) => string | {
|
|
61
|
+
style: _$vue.CSSProperties;
|
|
62
|
+
label: any;
|
|
63
|
+
}) | (() => string | {
|
|
64
|
+
style: _$vue.CSSProperties;
|
|
65
|
+
label: any;
|
|
66
|
+
}) | ((new (...args: any[]) => string | {
|
|
67
|
+
style: _$vue.CSSProperties;
|
|
68
|
+
label: any;
|
|
69
|
+
}) | (() => string | {
|
|
70
|
+
style: _$vue.CSSProperties;
|
|
71
|
+
label: any;
|
|
72
|
+
}))[], unknown, unknown> | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
readonly required: false;
|
|
75
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
76
|
+
__epPropKey: true;
|
|
77
|
+
};
|
|
78
|
+
readonly validateEvent: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
79
|
+
readonly persistent: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
80
|
+
}, {
|
|
81
|
+
onSliderClick: (event: MouseEvent | TouchEvent) => void;
|
|
82
|
+
}, unknown, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
83
|
+
"update:modelValue": (value: _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) => void;
|
|
84
|
+
change: (value: _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) => void;
|
|
85
|
+
input: (value: _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) => void;
|
|
86
|
+
}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
87
|
+
readonly ariaLabel: StringConstructor;
|
|
88
|
+
readonly modelValue: _$element_plus_es_utils_index_mjs0.EpPropFinalized<(new (...args: any[]) => number | number[]) | (() => _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) | ((new (...args: any[]) => number | number[]) | (() => _$element_plus_es_utils_typescript_mjs0.Arrayable<number>))[], unknown, unknown, 0, boolean>;
|
|
89
|
+
readonly id: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
90
|
+
readonly min: _$element_plus_es_utils_index_mjs0.EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
91
|
+
readonly max: _$element_plus_es_utils_index_mjs0.EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
92
|
+
readonly step: _$element_plus_es_utils_index_mjs0.EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
93
|
+
readonly showInput: BooleanConstructor;
|
|
94
|
+
readonly showInputControls: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
95
|
+
readonly size: {
|
|
96
|
+
readonly type: _$vue.PropType<_$element_plus_es_utils_index_mjs0.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
};
|
|
101
|
+
readonly inputSize: {
|
|
102
|
+
readonly type: _$vue.PropType<_$element_plus_es_utils_index_mjs0.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
103
|
+
readonly required: false;
|
|
104
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
105
|
+
__epPropKey: true;
|
|
106
|
+
};
|
|
107
|
+
readonly showStops: BooleanConstructor;
|
|
108
|
+
readonly showTooltip: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
109
|
+
readonly formatTooltip: _$element_plus_es_utils_index_mjs0.EpPropFinalized<(new (...args: any[]) => (val: number) => number | string) | (() => (val: number) => number | string) | {
|
|
110
|
+
(): (val: number) => number | string;
|
|
111
|
+
new (): any;
|
|
112
|
+
readonly prototype: any;
|
|
113
|
+
} | ((new (...args: any[]) => (val: number) => number | string) | (() => (val: number) => number | string) | {
|
|
114
|
+
(): (val: number) => number | string;
|
|
115
|
+
new (): any;
|
|
116
|
+
readonly prototype: any;
|
|
117
|
+
})[], unknown, unknown, undefined, boolean>;
|
|
118
|
+
readonly disabled: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
119
|
+
readonly range: BooleanConstructor;
|
|
120
|
+
readonly vertical: BooleanConstructor;
|
|
121
|
+
readonly height: StringConstructor;
|
|
122
|
+
readonly rangeStartLabel: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
123
|
+
readonly rangeEndLabel: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
124
|
+
readonly formatValueText: _$element_plus_es_utils_index_mjs0.EpPropFinalized<(new (...args: any[]) => (val: number) => string) | (() => (val: number) => string) | {
|
|
125
|
+
(): (val: number) => string;
|
|
126
|
+
new (): any;
|
|
127
|
+
readonly prototype: any;
|
|
128
|
+
} | ((new (...args: any[]) => (val: number) => string) | (() => (val: number) => string) | {
|
|
129
|
+
(): (val: number) => string;
|
|
130
|
+
new (): any;
|
|
131
|
+
readonly prototype: any;
|
|
132
|
+
})[], unknown, unknown, undefined, boolean>;
|
|
133
|
+
readonly tooltipClass: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
134
|
+
readonly placement: _$element_plus_es_utils_index_mjs0.EpPropFinalized<StringConstructor, _$element_plus0.Placement, unknown, "top", boolean>;
|
|
135
|
+
readonly marks: {
|
|
136
|
+
readonly type: _$vue.PropType<{
|
|
137
|
+
[x: number]: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(new (...args: any[]) => string | {
|
|
138
|
+
style: _$vue.CSSProperties;
|
|
139
|
+
label: any;
|
|
140
|
+
}) | (() => string | {
|
|
141
|
+
style: _$vue.CSSProperties;
|
|
142
|
+
label: any;
|
|
143
|
+
}) | ((new (...args: any[]) => string | {
|
|
144
|
+
style: _$vue.CSSProperties;
|
|
145
|
+
label: any;
|
|
146
|
+
}) | (() => string | {
|
|
147
|
+
style: _$vue.CSSProperties;
|
|
148
|
+
label: any;
|
|
149
|
+
}))[], unknown, unknown> | undefined;
|
|
150
|
+
}>;
|
|
151
|
+
readonly required: false;
|
|
152
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
|
+
__epPropKey: true;
|
|
154
|
+
};
|
|
155
|
+
readonly validateEvent: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
156
|
+
readonly persistent: _$element_plus_es_utils_index_mjs0.EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
157
|
+
}>> & {
|
|
158
|
+
"onUpdate:modelValue"?: ((value: _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) => any) | undefined;
|
|
159
|
+
onInput?: ((value: _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) => any) | undefined;
|
|
160
|
+
onChange?: ((value: _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) => any) | undefined;
|
|
161
|
+
}, {
|
|
162
|
+
readonly disabled: _$element_plus_es_utils_index_mjs0.EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
163
|
+
readonly vertical: boolean;
|
|
164
|
+
readonly range: boolean;
|
|
165
|
+
readonly id: string;
|
|
166
|
+
readonly modelValue: _$element_plus_es_utils_index_mjs0.EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => _$element_plus_es_utils_typescript_mjs0.Arrayable<number>) | ((new (...args: any[]) => number | number[]) | (() => _$element_plus_es_utils_typescript_mjs0.Arrayable<number>))[], unknown, unknown>;
|
|
167
|
+
readonly placement: _$element_plus_es_utils_index_mjs0.EpPropMergeType<StringConstructor, _$element_plus0.Placement, unknown>;
|
|
168
|
+
readonly min: number;
|
|
169
|
+
readonly max: number;
|
|
170
|
+
readonly validateEvent: _$element_plus_es_utils_index_mjs0.EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
171
|
+
readonly persistent: _$element_plus_es_utils_index_mjs0.EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
172
|
+
readonly step: number;
|
|
173
|
+
readonly showInputControls: _$element_plus_es_utils_index_mjs0.EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
174
|
+
readonly showTooltip: _$element_plus_es_utils_index_mjs0.EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
|
+
readonly formatTooltip: (val: number) => number | string;
|
|
176
|
+
readonly rangeStartLabel: string;
|
|
177
|
+
readonly rangeEndLabel: string;
|
|
178
|
+
readonly formatValueText: (val: number) => string;
|
|
179
|
+
readonly tooltipClass: string;
|
|
180
|
+
readonly showInput: boolean;
|
|
181
|
+
readonly showStops: boolean;
|
|
182
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>>;
|
|
6
183
|
//#endregion
|
|
7
184
|
export { Slider, SliderProps };
|
|
8
185
|
//# sourceMappingURL=index.d.ts.map
|