@fmdeui/fmui 1.0.92 → 1.0.93
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-autocomplete/component/userSelectDialog.vue.d.ts +34 -0
- package/es/components/fm-autocomplete/index.d.ts +223 -0
- package/es/components/fm-autocomplete/index.vue.d.ts +181 -0
- package/es/components/index.d.ts +1 -0
- package/es/packages/components/fm-autocomplete/component/userSelectDialog.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/component/userSelectDialog.vue2.mjs +356 -0
- package/es/packages/components/fm-autocomplete/index.mjs +6 -0
- package/es/packages/components/fm-autocomplete/index.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/index.vue2.mjs +178 -0
- package/es/packages/components/index.mjs +1 -0
- package/index.js +601 -77
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +602 -78
- package/lib/component.js +3 -1
- package/lib/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +34 -0
- package/lib/components/fm-autocomplete/index.d.ts +223 -0
- package/lib/components/fm-autocomplete/index.vue.d.ts +181 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/packages/components/fm-autocomplete/component/userSelectDialog.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/component/userSelectDialog.vue2.js +360 -0
- package/lib/packages/components/fm-autocomplete/index.js +8 -0
- package/lib/packages/components/fm-autocomplete/index.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/index.vue2.js +182 -0
- package/lib/packages/components/index.js +8 -6
- 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/{index.css → make-installer.css} +0 -0
- /package/lib/{component.css → make-installer.css} +0 -0
package/es/component.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import { FModifyRecord } from './packages/components/modifyRecord/index.mjs';
|
|
|
14
14
|
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
|
+
import { FmAutocomplete } from './packages/components/fm-autocomplete/index.mjs';
|
|
17
18
|
|
|
18
19
|
const plugins = [
|
|
19
20
|
FButton,
|
|
@@ -31,7 +32,8 @@ const plugins = [
|
|
|
31
32
|
FModifyRecord,
|
|
32
33
|
FmTree,
|
|
33
34
|
FmCascader,
|
|
34
|
-
FmInputNumber
|
|
35
|
+
FmInputNumber,
|
|
36
|
+
FmAutocomplete
|
|
35
37
|
];
|
|
36
38
|
|
|
37
39
|
export { plugins as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
visible: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
data: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
change: (...args: any[]) => void;
|
|
13
|
+
"update:visible": (...args: any[]) => void;
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
15
|
+
visible: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
data: {
|
|
20
|
+
type: ArrayConstructor;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{
|
|
24
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
data: unknown[];
|
|
28
|
+
visible: boolean;
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
30
|
+
orgTreeRef: unknown;
|
|
31
|
+
queryRef: unknown;
|
|
32
|
+
refTable: unknown;
|
|
33
|
+
}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
2
|
+
export declare const FmAutocomplete: {
|
|
3
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
4
|
+
placeholder: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
atoService: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
atoAction: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
top: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
vId: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
vName: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
qId: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
params: {
|
|
33
|
+
type: ObjectConstructor;
|
|
34
|
+
default: () => void;
|
|
35
|
+
};
|
|
36
|
+
openType: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
openParams: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
default: () => void;
|
|
43
|
+
};
|
|
44
|
+
name: {
|
|
45
|
+
type: PropType<string>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
id: {
|
|
49
|
+
type: PropType<Number>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
54
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
"onUpdate:id"?: ((value: Number) => any) | undefined;
|
|
56
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
57
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
58
|
+
reset: (...args: any[]) => void;
|
|
59
|
+
select: (...args: any[]) => void;
|
|
60
|
+
"update:id": (value: Number) => void;
|
|
61
|
+
"update:name": (value: string) => void;
|
|
62
|
+
}, PublicProps, {
|
|
63
|
+
top: number;
|
|
64
|
+
params: Record<string, any>;
|
|
65
|
+
placeholder: string;
|
|
66
|
+
vId: string;
|
|
67
|
+
atoService: string;
|
|
68
|
+
atoAction: string;
|
|
69
|
+
vName: string;
|
|
70
|
+
qId: number;
|
|
71
|
+
openType: number;
|
|
72
|
+
openParams: Record<string, any>;
|
|
73
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
74
|
+
P: {};
|
|
75
|
+
B: {};
|
|
76
|
+
D: {};
|
|
77
|
+
C: {};
|
|
78
|
+
M: {};
|
|
79
|
+
Defaults: {};
|
|
80
|
+
}, Readonly< ExtractPropTypes<{
|
|
81
|
+
placeholder: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
atoService: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
atoAction: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
top: {
|
|
94
|
+
type: NumberConstructor;
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
97
|
+
vId: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
vName: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
qId: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
default: number;
|
|
108
|
+
};
|
|
109
|
+
params: {
|
|
110
|
+
type: ObjectConstructor;
|
|
111
|
+
default: () => void;
|
|
112
|
+
};
|
|
113
|
+
openType: {
|
|
114
|
+
type: NumberConstructor;
|
|
115
|
+
default: number;
|
|
116
|
+
};
|
|
117
|
+
openParams: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
default: () => void;
|
|
120
|
+
};
|
|
121
|
+
name: {
|
|
122
|
+
type: PropType<string>;
|
|
123
|
+
required: true;
|
|
124
|
+
};
|
|
125
|
+
id: {
|
|
126
|
+
type: PropType<Number>;
|
|
127
|
+
required: true;
|
|
128
|
+
};
|
|
129
|
+
}>> & Readonly<{
|
|
130
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
132
|
+
"onUpdate:id"?: ((value: Number) => any) | undefined;
|
|
133
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
134
|
+
}>, {}, {}, {}, {}, {
|
|
135
|
+
top: number;
|
|
136
|
+
params: Record<string, any>;
|
|
137
|
+
placeholder: string;
|
|
138
|
+
vId: string;
|
|
139
|
+
atoService: string;
|
|
140
|
+
atoAction: string;
|
|
141
|
+
vName: string;
|
|
142
|
+
qId: number;
|
|
143
|
+
openType: number;
|
|
144
|
+
openParams: Record<string, any>;
|
|
145
|
+
}>;
|
|
146
|
+
__isFragment?: never;
|
|
147
|
+
__isTeleport?: never;
|
|
148
|
+
__isSuspense?: never;
|
|
149
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
150
|
+
placeholder: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
default: string;
|
|
153
|
+
};
|
|
154
|
+
atoService: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
atoAction: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
top: {
|
|
163
|
+
type: NumberConstructor;
|
|
164
|
+
default: number;
|
|
165
|
+
};
|
|
166
|
+
vId: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
vName: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
qId: {
|
|
175
|
+
type: NumberConstructor;
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
params: {
|
|
179
|
+
type: ObjectConstructor;
|
|
180
|
+
default: () => void;
|
|
181
|
+
};
|
|
182
|
+
openType: {
|
|
183
|
+
type: NumberConstructor;
|
|
184
|
+
default: number;
|
|
185
|
+
};
|
|
186
|
+
openParams: {
|
|
187
|
+
type: ObjectConstructor;
|
|
188
|
+
default: () => void;
|
|
189
|
+
};
|
|
190
|
+
name: {
|
|
191
|
+
type: PropType<string>;
|
|
192
|
+
required: true;
|
|
193
|
+
};
|
|
194
|
+
id: {
|
|
195
|
+
type: PropType<Number>;
|
|
196
|
+
required: true;
|
|
197
|
+
};
|
|
198
|
+
}>> & Readonly<{
|
|
199
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
200
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
201
|
+
"onUpdate:id"?: ((value: Number) => any) | undefined;
|
|
202
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
203
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
204
|
+
reset: (...args: any[]) => void;
|
|
205
|
+
select: (...args: any[]) => void;
|
|
206
|
+
"update:id": (value: Number) => void;
|
|
207
|
+
"update:name": (value: string) => void;
|
|
208
|
+
}, string, {
|
|
209
|
+
top: number;
|
|
210
|
+
params: Record<string, any>;
|
|
211
|
+
placeholder: string;
|
|
212
|
+
vId: string;
|
|
213
|
+
atoService: string;
|
|
214
|
+
atoAction: string;
|
|
215
|
+
vName: string;
|
|
216
|
+
qId: number;
|
|
217
|
+
openType: number;
|
|
218
|
+
openParams: Record<string, any>;
|
|
219
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
220
|
+
$slots: {
|
|
221
|
+
append?(_: {}): any;
|
|
222
|
+
};
|
|
223
|
+
});
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
append?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
12
|
+
placeholder: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* ato service name
|
|
18
|
+
*/
|
|
19
|
+
atoService: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* ato service 下的方法
|
|
25
|
+
*/
|
|
26
|
+
atoAction: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
top: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 值的属性值
|
|
36
|
+
*/
|
|
37
|
+
vId: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* 值的属性标签
|
|
43
|
+
*/
|
|
44
|
+
vName: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* 查询业务表ID
|
|
50
|
+
*/
|
|
51
|
+
qId: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
params: {
|
|
56
|
+
type: ObjectConstructor;
|
|
57
|
+
default: () => void;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* 打开类型 1 用户 2 单位
|
|
61
|
+
* @default 1
|
|
62
|
+
*/
|
|
63
|
+
openType: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* 打开参数
|
|
69
|
+
*/
|
|
70
|
+
openParams: {
|
|
71
|
+
type: ObjectConstructor;
|
|
72
|
+
default: () => void;
|
|
73
|
+
};
|
|
74
|
+
name: {
|
|
75
|
+
type: PropType<string>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
id: {
|
|
79
|
+
type: PropType<Number>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
83
|
+
reset: (...args: any[]) => void;
|
|
84
|
+
select: (...args: any[]) => void;
|
|
85
|
+
"update:id": (value: Number) => void;
|
|
86
|
+
"update:name": (value: string) => void;
|
|
87
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
88
|
+
placeholder: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* ato service name
|
|
94
|
+
*/
|
|
95
|
+
atoService: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* ato service 下的方法
|
|
101
|
+
*/
|
|
102
|
+
atoAction: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
top: {
|
|
107
|
+
type: NumberConstructor;
|
|
108
|
+
default: number;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* 值的属性值
|
|
112
|
+
*/
|
|
113
|
+
vId: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* 值的属性标签
|
|
119
|
+
*/
|
|
120
|
+
vName: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* 查询业务表ID
|
|
126
|
+
*/
|
|
127
|
+
qId: {
|
|
128
|
+
type: NumberConstructor;
|
|
129
|
+
default: number;
|
|
130
|
+
};
|
|
131
|
+
params: {
|
|
132
|
+
type: ObjectConstructor;
|
|
133
|
+
default: () => void;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* 打开类型 1 用户 2 单位
|
|
137
|
+
* @default 1
|
|
138
|
+
*/
|
|
139
|
+
openType: {
|
|
140
|
+
type: NumberConstructor;
|
|
141
|
+
default: number;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* 打开参数
|
|
145
|
+
*/
|
|
146
|
+
openParams: {
|
|
147
|
+
type: ObjectConstructor;
|
|
148
|
+
default: () => void;
|
|
149
|
+
};
|
|
150
|
+
name: {
|
|
151
|
+
type: PropType<string>;
|
|
152
|
+
required: true;
|
|
153
|
+
};
|
|
154
|
+
id: {
|
|
155
|
+
type: PropType<Number>;
|
|
156
|
+
required: true;
|
|
157
|
+
};
|
|
158
|
+
}>> & Readonly<{
|
|
159
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
160
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
161
|
+
"onUpdate:id"?: ((value: Number) => any) | undefined;
|
|
162
|
+
"onUpdate:name"?: ((value: string) => any) | undefined;
|
|
163
|
+
}>, {
|
|
164
|
+
top: number;
|
|
165
|
+
params: Record<string, any>;
|
|
166
|
+
placeholder: string;
|
|
167
|
+
vId: string;
|
|
168
|
+
atoService: string;
|
|
169
|
+
atoAction: string;
|
|
170
|
+
vName: string;
|
|
171
|
+
qId: number;
|
|
172
|
+
openType: number;
|
|
173
|
+
openParams: Record<string, any>;
|
|
174
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
175
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
176
|
+
export default _default;
|
|
177
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
178
|
+
new (): {
|
|
179
|
+
$slots: S;
|
|
180
|
+
};
|
|
181
|
+
};
|
package/es/components/index.d.ts
CHANGED