@fmdeui/fmui 1.0.89 → 1.0.90

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.
Files changed (45) hide show
  1. package/es/component.mjs +2 -0
  2. package/es/components/fm-inputdropdown/index.d.ts +185 -0
  3. package/es/components/fm-inputdropdown/index.vue.d.ts +228 -0
  4. package/es/components/index.d.ts +1 -0
  5. package/es/components/select-table/index.d.ts +3 -3
  6. package/es/components/select-table/src/index.vue.d.ts +1 -1
  7. package/es/index.mjs +1 -0
  8. package/es/packages/components/fm-inputdropdown/index.mjs +6 -0
  9. package/es/packages/components/fm-inputdropdown/index.vue.mjs +5 -0
  10. package/es/packages/components/fm-inputdropdown/index.vue2.mjs +198 -0
  11. package/es/packages/components/index.mjs +1 -0
  12. package/es/packages/stores/ainputdropdow.mjs +36 -0
  13. package/es/packages/stores/index.mjs +1 -0
  14. package/es/stores/ainputdropdow.d.ts +17 -0
  15. package/es/stores/index.d.ts +1 -0
  16. package/index.js +264 -38
  17. package/index.min.js +7 -7
  18. package/index.min.mjs +7 -7
  19. package/index.mjs +266 -41
  20. package/lib/component.js +26 -24
  21. package/lib/components/fm-inputdropdown/index.d.ts +185 -0
  22. package/lib/components/fm-inputdropdown/index.vue.d.ts +228 -0
  23. package/lib/components/index.d.ts +1 -0
  24. package/lib/components/select-table/index.d.ts +3 -3
  25. package/lib/components/select-table/src/index.vue.d.ts +1 -1
  26. package/lib/index.js +2 -0
  27. package/lib/packages/components/fm-inputdropdown/index.js +8 -0
  28. package/lib/packages/components/fm-inputdropdown/index.vue.js +9 -0
  29. package/lib/packages/components/fm-inputdropdown/index.vue2.js +202 -0
  30. package/lib/packages/components/index.js +4 -2
  31. package/lib/packages/stores/ainputdropdow.js +38 -0
  32. package/lib/packages/stores/index.js +2 -0
  33. package/lib/stores/ainputdropdow.d.ts +17 -0
  34. package/lib/stores/index.d.ts +1 -0
  35. package/locale/en.js +1 -1
  36. package/locale/en.min.js +1 -1
  37. package/locale/en.min.mjs +1 -1
  38. package/locale/en.mjs +1 -1
  39. package/locale/zh-cn.js +1 -1
  40. package/locale/zh-cn.min.js +1 -1
  41. package/locale/zh-cn.min.mjs +1 -1
  42. package/locale/zh-cn.mjs +1 -1
  43. package/package.json +1 -1
  44. /package/es/{component.css → version.css} +0 -0
  45. /package/lib/{index.css → component.css} +0 -0
package/es/component.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  import { FButton } from './packages/components/button/index.mjs';
2
2
  import { FInput } from './packages/components/input/index.mjs';
3
+ import { Fminputdropdown } from './packages/components/fm-inputdropdown/index.mjs';
3
4
  import { FLayoutPage } from './packages/components/layout-page/index.mjs';
4
5
  import { FLayoutPageItem } from './packages/components/layout-page-item/index.mjs';
5
6
  import { FSelect } from './packages/components/select/index.mjs';
@@ -16,6 +17,7 @@ import { FmCascader } from './packages/components/fmcascader/index.mjs';
16
17
  const plugins = [
17
18
  FButton,
18
19
  FInput,
20
+ Fminputdropdown,
19
21
  FLayoutPage,
20
22
  FLayoutPageItem,
21
23
  FSelect,
@@ -0,0 +1,185 @@
1
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export declare const Fminputdropdown: 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
+ autoLoadData: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ id: {
78
+ type: PropType<number>;
79
+ };
80
+ name: {
81
+ type: PropType<string>;
82
+ };
83
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
84
+ change: (...args: any[]) => void;
85
+ "update:id": (value: number) => void;
86
+ "update:name": (value: string) => void;
87
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
88
+ optionData: {
89
+ type: {
90
+ (arrayLength: number): any[];
91
+ (...items: any[]): any[];
92
+ new (arrayLength: number): any[];
93
+ new (...items: any[]): any[];
94
+ isArray(arg: any): arg is any[];
95
+ readonly prototype: any[];
96
+ from<T>(arrayLike: ArrayLike<T>): T[];
97
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
98
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
99
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
100
+ of<T>(...items: T[]): T[];
101
+ readonly [Symbol.species]: ArrayConstructor;
102
+ };
103
+ default: never[];
104
+ };
105
+ bvalue: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ blabel: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ placeholder: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ inputWidth: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ dropWidth: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ dropHeight: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ apiService: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ apiAction: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ basecode: {
138
+ type: StringConstructor;
139
+ default: string;
140
+ };
141
+ multibasecode: {
142
+ type: {
143
+ (arrayLength: number): any[];
144
+ (...items: any[]): any[];
145
+ new (arrayLength: number): any[];
146
+ new (...items: any[]): any[];
147
+ isArray(arg: any): arg is any[];
148
+ readonly prototype: any[];
149
+ from<T>(arrayLike: ArrayLike<T>): T[];
150
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
151
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
152
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
153
+ of<T>(...items: T[]): T[];
154
+ readonly [Symbol.species]: ArrayConstructor;
155
+ };
156
+ default: never[];
157
+ };
158
+ autoLoadData: {
159
+ type: BooleanConstructor;
160
+ default: boolean;
161
+ };
162
+ id: {
163
+ type: PropType<number>;
164
+ };
165
+ name: {
166
+ type: PropType<string>;
167
+ };
168
+ }>> & Readonly<{
169
+ onChange?: ((...args: any[]) => any) | undefined;
170
+ "onUpdate:id"?: ((value: number) => any) | undefined;
171
+ "onUpdate:name"?: ((value: string) => any) | undefined;
172
+ }>, {
173
+ placeholder: string;
174
+ optionData: any[];
175
+ bvalue: string;
176
+ blabel: string;
177
+ inputWidth: string;
178
+ dropWidth: string;
179
+ dropHeight: string;
180
+ apiService: string;
181
+ apiAction: string;
182
+ basecode: string;
183
+ multibasecode: any[];
184
+ autoLoadData: boolean;
185
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,228 @@
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
+ /**
92
+ * 是否默认加载数据
93
+ */
94
+ autoLoadData: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ id: {
99
+ type: PropType<number>;
100
+ };
101
+ name: {
102
+ type: PropType<string>;
103
+ };
104
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
105
+ change: (...args: any[]) => void;
106
+ "update:id": (value: number) => void;
107
+ "update:name": (value: string) => void;
108
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
109
+ optionData: {
110
+ type: {
111
+ (arrayLength: number): any[];
112
+ (...items: any[]): any[];
113
+ new (arrayLength: number): any[];
114
+ new (...items: any[]): any[];
115
+ isArray(arg: any): arg is any[];
116
+ readonly prototype: any[];
117
+ from<T>(arrayLike: ArrayLike<T>): T[];
118
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
119
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
120
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
121
+ of<T>(...items: T[]): T[];
122
+ readonly [Symbol.species]: ArrayConstructor;
123
+ };
124
+ default: never[];
125
+ };
126
+ /**
127
+ * 值的属性值
128
+ */
129
+ bvalue: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ /**
134
+ * 值的属性标签
135
+ */
136
+ blabel: {
137
+ type: StringConstructor;
138
+ default: string;
139
+ };
140
+ placeholder: {
141
+ type: StringConstructor;
142
+ default: string;
143
+ };
144
+ inputWidth: {
145
+ type: StringConstructor;
146
+ default: string;
147
+ };
148
+ dropWidth: {
149
+ type: StringConstructor;
150
+ default: string;
151
+ };
152
+ dropHeight: {
153
+ type: StringConstructor;
154
+ default: string;
155
+ };
156
+ /**
157
+ * api service name
158
+ */
159
+ apiService: {
160
+ type: StringConstructor;
161
+ default: string;
162
+ };
163
+ /**
164
+ * api service 下的方法
165
+ */
166
+ apiAction: {
167
+ type: StringConstructor;
168
+ default: string;
169
+ };
170
+ /**
171
+ * 基础编码 自动获取数据
172
+ */
173
+ basecode: {
174
+ type: StringConstructor;
175
+ default: string;
176
+ };
177
+ /**
178
+ * 基础编码 多个编码合在一起调用
179
+ */
180
+ multibasecode: {
181
+ type: {
182
+ (arrayLength: number): any[];
183
+ (...items: any[]): any[];
184
+ new (arrayLength: number): any[];
185
+ new (...items: any[]): any[];
186
+ isArray(arg: any): arg is any[];
187
+ readonly prototype: any[];
188
+ from<T>(arrayLike: ArrayLike<T>): T[];
189
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
190
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
191
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
192
+ of<T>(...items: T[]): T[];
193
+ readonly [Symbol.species]: ArrayConstructor;
194
+ };
195
+ default: never[];
196
+ };
197
+ /**
198
+ * 是否默认加载数据
199
+ */
200
+ autoLoadData: {
201
+ type: BooleanConstructor;
202
+ default: boolean;
203
+ };
204
+ id: {
205
+ type: PropType<number>;
206
+ };
207
+ name: {
208
+ type: PropType<string>;
209
+ };
210
+ }>> & Readonly<{
211
+ onChange?: ((...args: any[]) => any) | undefined;
212
+ "onUpdate:id"?: ((value: number) => any) | undefined;
213
+ "onUpdate:name"?: ((value: string) => any) | undefined;
214
+ }>, {
215
+ placeholder: string;
216
+ optionData: any[];
217
+ bvalue: string;
218
+ blabel: string;
219
+ inputWidth: string;
220
+ dropWidth: string;
221
+ dropHeight: string;
222
+ apiService: string;
223
+ apiAction: string;
224
+ basecode: string;
225
+ multibasecode: any[];
226
+ autoLoadData: boolean;
227
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
228
+ export default _default;
@@ -11,3 +11,4 @@ export * from './svgIcon';
11
11
  export * from './fm-layout';
12
12
  export * from './fm-settings';
13
13
  export * from './modifyRecord';
14
+ export * from './fm-inputdropdown';
@@ -132,6 +132,7 @@ export declare const FSelectTable: {
132
132
  filterMethod: Function;
133
133
  multiple: boolean;
134
134
  modelValue: any;
135
+ inputWidth: number;
135
136
  filterable: boolean;
136
137
  isShowPagination: boolean;
137
138
  useVirtual: boolean;
@@ -146,7 +147,6 @@ export declare const FSelectTable: {
146
147
  remoteMethod: Function;
147
148
  isShowInput: boolean;
148
149
  inputAttr: Record<string, any>;
149
- inputWidth: number;
150
150
  selectWidth: number;
151
151
  tableWidth: number;
152
152
  isShowQuery: boolean;
@@ -298,6 +298,7 @@ export declare const FSelectTable: {
298
298
  filterMethod: Function;
299
299
  multiple: boolean;
300
300
  modelValue: any;
301
+ inputWidth: number;
301
302
  filterable: boolean;
302
303
  isShowPagination: boolean;
303
304
  useVirtual: boolean;
@@ -312,7 +313,6 @@ export declare const FSelectTable: {
312
313
  remoteMethod: Function;
313
314
  isShowInput: boolean;
314
315
  inputAttr: Record<string, any>;
315
- inputWidth: number;
316
316
  selectWidth: number;
317
317
  tableWidth: number;
318
318
  isShowQuery: boolean;
@@ -470,6 +470,7 @@ export declare const FSelectTable: {
470
470
  filterMethod: Function;
471
471
  multiple: boolean;
472
472
  modelValue: any;
473
+ inputWidth: number;
473
474
  filterable: boolean;
474
475
  isShowPagination: boolean;
475
476
  useVirtual: boolean;
@@ -484,7 +485,6 @@ export declare const FSelectTable: {
484
485
  remoteMethod: Function;
485
486
  isShowInput: boolean;
486
487
  inputAttr: Record<string, any>;
487
- inputWidth: number;
488
488
  selectWidth: number;
489
489
  tableWidth: number;
490
490
  isShowQuery: boolean;
@@ -141,6 +141,7 @@ declare const __VLS_component: DefineComponent<FSelectTableProps, {
141
141
  filterMethod: Function;
142
142
  multiple: boolean;
143
143
  modelValue: any;
144
+ inputWidth: number;
144
145
  filterable: boolean;
145
146
  isShowPagination: boolean;
146
147
  useVirtual: boolean;
@@ -155,7 +156,6 @@ declare const __VLS_component: DefineComponent<FSelectTableProps, {
155
156
  remoteMethod: Function;
156
157
  isShowInput: boolean;
157
158
  inputAttr: Record<string, any>;
158
- inputWidth: number;
159
159
  selectWidth: number;
160
160
  tableWidth: number;
161
161
  isShowQuery: boolean;
package/es/index.mjs CHANGED
@@ -50,6 +50,7 @@ export { useTagsViewRoutes } from './packages/stores/tagsViewRoutes.mjs';
50
50
  export { useThemeConfig } from './packages/stores/themeConfig.mjs';
51
51
  export { useUserInfo } from './packages/stores/userInfo.mjs';
52
52
  export { useVxeTable } from './packages/hooks/useVxeTableOptionsHook.mjs';
53
+ export { usefminputdropdownstore } from './packages/stores/ainputdropdow.mjs';
53
54
  export { validateFormWithScroll, validateFormWithScrollCallback } from './packages/utils/formValidate.mjs';
54
55
  export { default as zhCn } from './packages/locale/lang/zh-cn.mjs';
55
56
 
@@ -0,0 +1,6 @@
1
+ import './index.vue.mjs';
2
+ import _sfc_main from './index.vue2.mjs';
3
+
4
+ const Fminputdropdown = _sfc_main;
5
+
6
+ export { Fminputdropdown };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './index.vue2.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as default };