@fmdeui/fmui 1.0.110 → 1.0.112
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/component.mjs +3 -1
- package/es/components/fm-select/index.d.ts +221 -0
- package/es/components/fm-select/index.vue.d.ts +282 -0
- package/es/components/index.d.ts +1 -0
- package/es/packages/components/fm-inputdropdown/index.vue2.mjs +2 -1
- package/es/packages/components/fm-select/index.mjs +6 -0
- package/es/packages/components/fm-select/index.vue.mjs +5 -0
- package/es/packages/components/fm-select/index.vue2.mjs +207 -0
- package/es/packages/components/index.mjs +1 -0
- package/index.js +263 -58
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +263 -58
- package/lib/component.js +3 -1
- package/lib/components/fm-select/index.d.ts +221 -0
- package/lib/components/fm-select/index.vue.d.ts +282 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/packages/components/fm-inputdropdown/index.vue2.js +2 -1
- package/lib/packages/components/fm-select/index.js +8 -0
- package/lib/packages/components/fm-select/index.vue.js +9 -0
- package/lib/packages/components/fm-select/index.vue2.js +211 -0
- package/lib/packages/components/index.js +6 -4
- 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/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/package.json +1 -1
- /package/es/{make-installer.css → component.css} +0 -0
- /package/lib/{index.css → defaults.css} +0 -0
package/es/component.mjs
CHANGED
|
@@ -15,6 +15,7 @@ import { FmTree } from './packages/components/fmtree/index.mjs';
|
|
|
15
15
|
import { FmCascader } from './packages/components/fmcascader/index.mjs';
|
|
16
16
|
import { FmInputNumber } from './packages/components/fm-inputnumber/index.mjs';
|
|
17
17
|
import { FmAutocomplete } from './packages/components/fm-autocomplete/index.mjs';
|
|
18
|
+
import { FmSelect } from './packages/components/fm-select/index.mjs';
|
|
18
19
|
|
|
19
20
|
const plugins = [
|
|
20
21
|
FButton,
|
|
@@ -33,7 +34,8 @@ const plugins = [
|
|
|
33
34
|
FmTree,
|
|
34
35
|
FmCascader,
|
|
35
36
|
FmInputNumber,
|
|
36
|
-
FmAutocomplete
|
|
37
|
+
FmAutocomplete,
|
|
38
|
+
FmSelect
|
|
37
39
|
];
|
|
38
40
|
|
|
39
41
|
export { plugins as default };
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export declare const FmSelect: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
optionData: {
|
|
4
|
+
type: {
|
|
5
|
+
(arrayLength: number): any[];
|
|
6
|
+
(...items: any[]): any[];
|
|
7
|
+
new (arrayLength: number): any[];
|
|
8
|
+
new (...items: any[]): any[];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
14
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
of<T>(...items: T[]): T[];
|
|
16
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
17
|
+
};
|
|
18
|
+
default: never[];
|
|
19
|
+
};
|
|
20
|
+
bvalue: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
blabel: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
placeholder: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
inputWidth: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
dropWidth: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
dropHeight: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
apiService: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
apiAction: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
basecode: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
multibasecode: {
|
|
57
|
+
type: {
|
|
58
|
+
(arrayLength: number): any[];
|
|
59
|
+
(...items: any[]): any[];
|
|
60
|
+
new (arrayLength: number): any[];
|
|
61
|
+
new (...items: any[]): any[];
|
|
62
|
+
isArray(arg: any): arg is any[];
|
|
63
|
+
readonly prototype: any[];
|
|
64
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
65
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
66
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
67
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
68
|
+
of<T>(...items: T[]): T[];
|
|
69
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
70
|
+
};
|
|
71
|
+
default: never[];
|
|
72
|
+
};
|
|
73
|
+
freshSize: {
|
|
74
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
autoLoadData: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
addEmptyOption: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
emptyOptionLabel: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
emptyOptionValue: {
|
|
90
|
+
type: NumberConstructor;
|
|
91
|
+
default: number;
|
|
92
|
+
};
|
|
93
|
+
id: {
|
|
94
|
+
type: PropType<number>;
|
|
95
|
+
};
|
|
96
|
+
name: {
|
|
97
|
+
type: PropType<string>;
|
|
98
|
+
};
|
|
99
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
100
|
+
change: (...args: any[]) => void;
|
|
101
|
+
"update:id": (value: number) => void;
|
|
102
|
+
"update:name": (value: string) => void;
|
|
103
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
104
|
+
optionData: {
|
|
105
|
+
type: {
|
|
106
|
+
(arrayLength: number): any[];
|
|
107
|
+
(...items: any[]): any[];
|
|
108
|
+
new (arrayLength: number): any[];
|
|
109
|
+
new (...items: any[]): any[];
|
|
110
|
+
isArray(arg: any): arg is any[];
|
|
111
|
+
readonly prototype: any[];
|
|
112
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
113
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
114
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
115
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
116
|
+
of<T>(...items: T[]): T[];
|
|
117
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
118
|
+
};
|
|
119
|
+
default: never[];
|
|
120
|
+
};
|
|
121
|
+
bvalue: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
blabel: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
placeholder: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
inputWidth: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
dropWidth: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
dropHeight: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
apiService: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
apiAction: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
basecode: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
multibasecode: {
|
|
158
|
+
type: {
|
|
159
|
+
(arrayLength: number): any[];
|
|
160
|
+
(...items: any[]): any[];
|
|
161
|
+
new (arrayLength: number): any[];
|
|
162
|
+
new (...items: any[]): any[];
|
|
163
|
+
isArray(arg: any): arg is any[];
|
|
164
|
+
readonly prototype: any[];
|
|
165
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
166
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
167
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
168
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
169
|
+
of<T>(...items: T[]): T[];
|
|
170
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
171
|
+
};
|
|
172
|
+
default: never[];
|
|
173
|
+
};
|
|
174
|
+
freshSize: {
|
|
175
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
autoLoadData: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
182
|
+
addEmptyOption: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
emptyOptionLabel: {
|
|
187
|
+
type: StringConstructor;
|
|
188
|
+
default: string;
|
|
189
|
+
};
|
|
190
|
+
emptyOptionValue: {
|
|
191
|
+
type: NumberConstructor;
|
|
192
|
+
default: number;
|
|
193
|
+
};
|
|
194
|
+
id: {
|
|
195
|
+
type: PropType<number>;
|
|
196
|
+
};
|
|
197
|
+
name: {
|
|
198
|
+
type: PropType<string>;
|
|
199
|
+
};
|
|
200
|
+
}>> & Readonly<{
|
|
201
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
202
|
+
"onUpdate:id"?: ((value: number) => any) | undefined;
|
|
203
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
204
|
+
}>, {
|
|
205
|
+
placeholder: string;
|
|
206
|
+
optionData: any[];
|
|
207
|
+
bvalue: string;
|
|
208
|
+
blabel: string;
|
|
209
|
+
inputWidth: string;
|
|
210
|
+
dropWidth: string;
|
|
211
|
+
dropHeight: string;
|
|
212
|
+
apiService: string;
|
|
213
|
+
apiAction: string;
|
|
214
|
+
basecode: string;
|
|
215
|
+
multibasecode: any[];
|
|
216
|
+
freshSize: string | number;
|
|
217
|
+
autoLoadData: boolean;
|
|
218
|
+
addEmptyOption: boolean;
|
|
219
|
+
emptyOptionLabel: string;
|
|
220
|
+
emptyOptionValue: number;
|
|
221
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
optionData: {
|
|
4
|
+
type: {
|
|
5
|
+
(arrayLength: number): any[];
|
|
6
|
+
(...items: any[]): any[];
|
|
7
|
+
new (arrayLength: number): any[];
|
|
8
|
+
new (...items: any[]): any[];
|
|
9
|
+
isArray(arg: any): arg is any[];
|
|
10
|
+
readonly prototype: any[];
|
|
11
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
12
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
13
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
14
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
15
|
+
of<T>(...items: T[]): T[];
|
|
16
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
17
|
+
};
|
|
18
|
+
default: never[];
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* 值的属性值
|
|
22
|
+
*/
|
|
23
|
+
bvalue: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* 值的属性标签
|
|
29
|
+
*/
|
|
30
|
+
blabel: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
placeholder: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
inputWidth: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
dropWidth: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
dropHeight: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* api service name
|
|
52
|
+
*/
|
|
53
|
+
apiService: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* api service 下的方法
|
|
59
|
+
*/
|
|
60
|
+
apiAction: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* 基础编码 自动获取数据
|
|
66
|
+
*/
|
|
67
|
+
basecode: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* 基础编码 多个编码合在一起调用
|
|
73
|
+
*/
|
|
74
|
+
multibasecode: {
|
|
75
|
+
type: {
|
|
76
|
+
(arrayLength: number): any[];
|
|
77
|
+
(...items: any[]): any[];
|
|
78
|
+
new (arrayLength: number): any[];
|
|
79
|
+
new (...items: any[]): any[];
|
|
80
|
+
isArray(arg: any): arg is any[];
|
|
81
|
+
readonly prototype: any[];
|
|
82
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
83
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
84
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
85
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
86
|
+
of<T>(...items: T[]): T[];
|
|
87
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
88
|
+
};
|
|
89
|
+
default: never[];
|
|
90
|
+
};
|
|
91
|
+
freshSize: {
|
|
92
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* 是否默认加载数据
|
|
97
|
+
*/
|
|
98
|
+
autoLoadData: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* 是否添加空选项
|
|
104
|
+
*/
|
|
105
|
+
addEmptyOption: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* 空选项的标签
|
|
111
|
+
*/
|
|
112
|
+
emptyOptionLabel: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* 空选项的值
|
|
118
|
+
*/
|
|
119
|
+
emptyOptionValue: {
|
|
120
|
+
type: NumberConstructor;
|
|
121
|
+
default: number;
|
|
122
|
+
};
|
|
123
|
+
id: {
|
|
124
|
+
type: PropType<number>;
|
|
125
|
+
};
|
|
126
|
+
name: {
|
|
127
|
+
type: PropType<string>;
|
|
128
|
+
};
|
|
129
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
130
|
+
change: (...args: any[]) => void;
|
|
131
|
+
"update:id": (value: number) => void;
|
|
132
|
+
"update:name": (value: string) => void;
|
|
133
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
134
|
+
optionData: {
|
|
135
|
+
type: {
|
|
136
|
+
(arrayLength: number): any[];
|
|
137
|
+
(...items: any[]): any[];
|
|
138
|
+
new (arrayLength: number): any[];
|
|
139
|
+
new (...items: any[]): any[];
|
|
140
|
+
isArray(arg: any): arg is any[];
|
|
141
|
+
readonly prototype: any[];
|
|
142
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
143
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
144
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
145
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
146
|
+
of<T>(...items: T[]): T[];
|
|
147
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
148
|
+
};
|
|
149
|
+
default: never[];
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* 值的属性值
|
|
153
|
+
*/
|
|
154
|
+
bvalue: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* 值的属性标签
|
|
160
|
+
*/
|
|
161
|
+
blabel: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
placeholder: {
|
|
166
|
+
type: StringConstructor;
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
inputWidth: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
dropWidth: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
default: string;
|
|
176
|
+
};
|
|
177
|
+
dropHeight: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* api service name
|
|
183
|
+
*/
|
|
184
|
+
apiService: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* api service 下的方法
|
|
190
|
+
*/
|
|
191
|
+
apiAction: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
default: string;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* 基础编码 自动获取数据
|
|
197
|
+
*/
|
|
198
|
+
basecode: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* 基础编码 多个编码合在一起调用
|
|
204
|
+
*/
|
|
205
|
+
multibasecode: {
|
|
206
|
+
type: {
|
|
207
|
+
(arrayLength: number): any[];
|
|
208
|
+
(...items: any[]): any[];
|
|
209
|
+
new (arrayLength: number): any[];
|
|
210
|
+
new (...items: any[]): any[];
|
|
211
|
+
isArray(arg: any): arg is any[];
|
|
212
|
+
readonly prototype: any[];
|
|
213
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
214
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
215
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
216
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
217
|
+
of<T>(...items: T[]): T[];
|
|
218
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
219
|
+
};
|
|
220
|
+
default: never[];
|
|
221
|
+
};
|
|
222
|
+
freshSize: {
|
|
223
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
224
|
+
default: number;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* 是否默认加载数据
|
|
228
|
+
*/
|
|
229
|
+
autoLoadData: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* 是否添加空选项
|
|
235
|
+
*/
|
|
236
|
+
addEmptyOption: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* 空选项的标签
|
|
242
|
+
*/
|
|
243
|
+
emptyOptionLabel: {
|
|
244
|
+
type: StringConstructor;
|
|
245
|
+
default: string;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* 空选项的值
|
|
249
|
+
*/
|
|
250
|
+
emptyOptionValue: {
|
|
251
|
+
type: NumberConstructor;
|
|
252
|
+
default: number;
|
|
253
|
+
};
|
|
254
|
+
id: {
|
|
255
|
+
type: PropType<number>;
|
|
256
|
+
};
|
|
257
|
+
name: {
|
|
258
|
+
type: PropType<string>;
|
|
259
|
+
};
|
|
260
|
+
}>> & Readonly<{
|
|
261
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
262
|
+
"onUpdate:id"?: ((value: number) => any) | undefined;
|
|
263
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
264
|
+
}>, {
|
|
265
|
+
placeholder: string;
|
|
266
|
+
optionData: any[];
|
|
267
|
+
bvalue: string;
|
|
268
|
+
blabel: string;
|
|
269
|
+
inputWidth: string;
|
|
270
|
+
dropWidth: string;
|
|
271
|
+
dropHeight: string;
|
|
272
|
+
apiService: string;
|
|
273
|
+
apiAction: string;
|
|
274
|
+
basecode: string;
|
|
275
|
+
multibasecode: any[];
|
|
276
|
+
freshSize: string | number;
|
|
277
|
+
autoLoadData: boolean;
|
|
278
|
+
addEmptyOption: boolean;
|
|
279
|
+
emptyOptionLabel: string;
|
|
280
|
+
emptyOptionValue: number;
|
|
281
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
282
|
+
export default _default;
|
package/es/components/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './svgIcon';
|
|
|
11
11
|
export * from './fm-layout';
|
|
12
12
|
export * from './fm-settings';
|
|
13
13
|
export * from './modifyRecord';
|
|
14
|
+
export * from './fm-select';
|
|
14
15
|
export * from './fm-inputdropdown';
|
|
15
16
|
export * from './fm-inputnumber';
|
|
16
17
|
export * from './fm-autocomplete';
|
|
@@ -180,7 +180,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
180
180
|
createVNode(_component_el_icon, {
|
|
181
181
|
color: "#13c2c2",
|
|
182
182
|
size: __props.freshSize,
|
|
183
|
-
onClick: handRestdata
|
|
183
|
+
onClick: handRestdata,
|
|
184
|
+
style: { "cursor": "pointer" }
|
|
184
185
|
}, {
|
|
185
186
|
default: withCtx(() => [
|
|
186
187
|
createVNode(unref(RefreshLeft))
|