bm-admin-ui 1.0.19-alpha → 1.0.21-alpha

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 (65) hide show
  1. package/es/components/button/index.d.ts +3 -3
  2. package/es/components/button/src/button.vue.d.ts +3 -3
  3. package/es/components/feedback/index.d.ts +4 -4
  4. package/es/components/feedback/src/bmAlert.vue.d.ts +2 -2
  5. package/es/components/feedback/src/bmModal.vue.d.ts +2 -2
  6. package/es/components/float-table/index.js +1 -1
  7. package/es/components/input-tags-display/index.d.ts +42 -1
  8. package/es/components/input-tags-display/index.js +57 -22
  9. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
  10. package/es/components/search-filter/index.d.ts +40 -16
  11. package/es/components/search-filter/index.js +18 -6
  12. package/es/components/search-filter/src/search-filter.d.ts +24 -4
  13. package/es/components/search-filter/src/search-filter.vue.d.ts +40 -16
  14. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
  15. package/es/components/staffs-selector/index.d.ts +1 -1
  16. package/es/components/staffs-selector/index.js +1 -1
  17. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
  18. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  19. package/es/components/upload/index.d.ts +1 -0
  20. package/es/components/upload/index.js +52 -22
  21. package/es/components/upload/src/upload.vue.d.ts +1 -0
  22. package/index.esm.js +222 -145
  23. package/index.js +221 -144
  24. package/lib/components/button/index.d.ts +3 -3
  25. package/lib/components/button/src/button.vue.d.ts +3 -3
  26. package/lib/components/feedback/index.d.ts +4 -4
  27. package/lib/components/feedback/src/bmAlert.vue.d.ts +2 -2
  28. package/lib/components/feedback/src/bmModal.vue.d.ts +2 -2
  29. package/lib/components/float-table/index.js +1 -1
  30. package/lib/components/input-tags-display/index.d.ts +42 -1
  31. package/lib/components/input-tags-display/index.js +57 -22
  32. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
  33. package/lib/components/search-filter/index.d.ts +40 -16
  34. package/lib/components/search-filter/index.js +18 -6
  35. package/lib/components/search-filter/src/search-filter.d.ts +24 -4
  36. package/lib/components/search-filter/src/search-filter.vue.d.ts +40 -16
  37. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
  38. package/lib/components/staffs-selector/index.d.ts +1 -1
  39. package/lib/components/staffs-selector/index.js +1 -1
  40. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
  41. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  42. package/lib/components/upload/index.d.ts +1 -0
  43. package/lib/components/upload/index.js +52 -22
  44. package/lib/components/upload/src/upload.vue.d.ts +1 -0
  45. package/package.json +1 -1
  46. package/theme-chalk/feedback.css +1 -1
  47. package/theme-chalk/float-table.css +1 -1
  48. package/theme-chalk/index.css +1 -1
  49. package/theme-chalk/upload.css +1 -1
  50. package/types/components/button/index.d.ts +3 -3
  51. package/types/components/button/src/button.vue.d.ts +3 -3
  52. package/types/components/feedback/index.d.ts +4 -4
  53. package/types/components/feedback/src/bmAlert.vue.d.ts +2 -2
  54. package/types/components/feedback/src/bmModal.vue.d.ts +2 -2
  55. package/types/components/input-tags-display/index.d.ts +42 -1
  56. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +42 -1
  57. package/types/components/search-filter/index.d.ts +40 -16
  58. package/types/components/search-filter/src/search-filter.d.ts +24 -4
  59. package/types/components/search-filter/src/search-filter.vue.d.ts +40 -16
  60. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +39 -0
  61. package/types/components/staffs-selector/index.d.ts +1 -1
  62. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +1 -1
  63. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +1 -1
  64. package/types/components/upload/index.d.ts +1 -0
  65. package/types/components/upload/src/upload.vue.d.ts +1 -0
@@ -7,6 +7,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ expandPlacement: {
11
+ type: import("vue").PropType<"left" | "right">;
12
+ default: string;
13
+ };
14
+ expandText: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ collapseText: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
10
22
  userRule: {
11
23
  type: ArrayConstructor;
12
24
  default(): never[];
@@ -37,10 +49,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
37
49
  type: import("vue").PropType<string[]>;
38
50
  default(): never[];
39
51
  };
40
- expandPlacement: {
41
- type: import("vue").PropType<"left" | "right">;
42
- default: string;
43
- };
44
52
  }, {
45
53
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
46
54
  showExpandBtn: {
@@ -51,6 +59,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
51
59
  type: BooleanConstructor;
52
60
  default: boolean;
53
61
  };
62
+ expandPlacement: {
63
+ type: import("vue").PropType<"left" | "right">;
64
+ default: string;
65
+ };
66
+ expandText: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ collapseText: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
54
74
  userRule: {
55
75
  type: ArrayConstructor;
56
76
  default(): never[];
@@ -81,10 +101,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
81
101
  type: import("vue").PropType<string[]>;
82
102
  default(): never[];
83
103
  };
84
- expandPlacement: {
85
- type: import("vue").PropType<"left" | "right">;
86
- default: string;
87
- };
88
104
  }>> & {
89
105
  onReset?: ((...args: any[]) => any) | undefined;
90
106
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -114,9 +130,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
114
130
  gutter: unknown[];
115
131
  };
116
132
  form: {
117
- labelCol: {
118
- [x: string]: any;
119
- };
133
+ labelCol: Record<string, any>;
120
134
  labelAlign: string;
121
135
  wrapperCol: {
122
136
  span: number;
@@ -139,6 +153,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
139
153
  type: BooleanConstructor;
140
154
  default: boolean;
141
155
  };
156
+ expandPlacement: {
157
+ type: import("vue").PropType<"left" | "right">;
158
+ default: string;
159
+ };
160
+ expandText: {
161
+ type: StringConstructor;
162
+ default: string;
163
+ };
164
+ collapseText: {
165
+ type: StringConstructor;
166
+ default: string;
167
+ };
142
168
  userRule: {
143
169
  type: ArrayConstructor;
144
170
  default(): never[];
@@ -169,10 +195,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
169
195
  type: import("vue").PropType<string[]>;
170
196
  default(): never[];
171
197
  };
172
- expandPlacement: {
173
- type: import("vue").PropType<"left" | "right">;
174
- default: string;
175
- };
176
198
  }>> & {
177
199
  onReset?: ((...args: any[]) => any) | undefined;
178
200
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -182,13 +204,15 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
182
204
  value: Record<string, any>;
183
205
  showExpandBtn: boolean;
184
206
  showSearchIcon: boolean;
207
+ expandPlacement: "left" | "right";
208
+ expandText: string;
209
+ collapseText: string;
185
210
  userRule: unknown[];
186
211
  labelCol: Record<string, any>;
187
212
  ruleSpan: Record<string, any>;
188
213
  gutter: unknown[];
189
214
  fixedCount: number;
190
215
  fixedFields: string[];
191
- expandPlacement: "left" | "right";
192
216
  }>>;
193
217
  export { BmSearchFilter };
194
218
  export default BmSearchFilter;
@@ -8,6 +8,18 @@ export declare const searchResetBtnProps: {
8
8
  type: BooleanConstructor;
9
9
  default: boolean;
10
10
  };
11
+ expandPlacement: {
12
+ type: PropType<"left" | "right">;
13
+ default: string;
14
+ };
15
+ expandText: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ collapseText: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
11
23
  };
12
24
  export declare const searchFilterProps: {
13
25
  showExpandBtn: {
@@ -18,6 +30,18 @@ export declare const searchFilterProps: {
18
30
  type: BooleanConstructor;
19
31
  default: boolean;
20
32
  };
33
+ expandPlacement: {
34
+ type: PropType<"left" | "right">;
35
+ default: string;
36
+ };
37
+ expandText: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ collapseText: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
21
45
  userRule: {
22
46
  type: ArrayConstructor;
23
47
  default(): never[];
@@ -48,10 +72,6 @@ export declare const searchFilterProps: {
48
72
  type: PropType<string[]>;
49
73
  default(): never[];
50
74
  };
51
- expandPlacement: {
52
- type: PropType<"left" | "right">;
53
- default: string;
54
- };
55
75
  };
56
76
  export declare type SerachFilterProps = ExtractPropTypes<typeof searchFilterProps>;
57
77
  export declare type SearchResetBtnProps = ExtractPropTypes<typeof searchResetBtnProps>;
@@ -7,6 +7,18 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ expandPlacement: {
11
+ type: import("vue").PropType<"left" | "right">;
12
+ default: string;
13
+ };
14
+ expandText: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ collapseText: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
10
22
  userRule: {
11
23
  type: ArrayConstructor;
12
24
  default(): never[];
@@ -37,10 +49,6 @@ declare const _default: import("vue").DefineComponent<{
37
49
  type: import("vue").PropType<string[]>;
38
50
  default(): never[];
39
51
  };
40
- expandPlacement: {
41
- type: import("vue").PropType<"left" | "right">;
42
- default: string;
43
- };
44
52
  }, {
45
53
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
46
54
  showExpandBtn: {
@@ -51,6 +59,18 @@ declare const _default: import("vue").DefineComponent<{
51
59
  type: BooleanConstructor;
52
60
  default: boolean;
53
61
  };
62
+ expandPlacement: {
63
+ type: import("vue").PropType<"left" | "right">;
64
+ default: string;
65
+ };
66
+ expandText: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ collapseText: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
54
74
  userRule: {
55
75
  type: ArrayConstructor;
56
76
  default(): never[];
@@ -81,10 +101,6 @@ declare const _default: import("vue").DefineComponent<{
81
101
  type: import("vue").PropType<string[]>;
82
102
  default(): never[];
83
103
  };
84
- expandPlacement: {
85
- type: import("vue").PropType<"left" | "right">;
86
- default: string;
87
- };
88
104
  }>> & {
89
105
  onReset?: ((...args: any[]) => any) | undefined;
90
106
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -114,9 +130,7 @@ declare const _default: import("vue").DefineComponent<{
114
130
  gutter: unknown[];
115
131
  };
116
132
  form: {
117
- labelCol: {
118
- [x: string]: any;
119
- };
133
+ labelCol: Record<string, any>;
120
134
  labelAlign: string;
121
135
  wrapperCol: {
122
136
  span: number;
@@ -139,6 +153,18 @@ declare const _default: import("vue").DefineComponent<{
139
153
  type: BooleanConstructor;
140
154
  default: boolean;
141
155
  };
156
+ expandPlacement: {
157
+ type: import("vue").PropType<"left" | "right">;
158
+ default: string;
159
+ };
160
+ expandText: {
161
+ type: StringConstructor;
162
+ default: string;
163
+ };
164
+ collapseText: {
165
+ type: StringConstructor;
166
+ default: string;
167
+ };
142
168
  userRule: {
143
169
  type: ArrayConstructor;
144
170
  default(): never[];
@@ -169,10 +195,6 @@ declare const _default: import("vue").DefineComponent<{
169
195
  type: import("vue").PropType<string[]>;
170
196
  default(): never[];
171
197
  };
172
- expandPlacement: {
173
- type: import("vue").PropType<"left" | "right">;
174
- default: string;
175
- };
176
198
  }>> & {
177
199
  onReset?: ((...args: any[]) => any) | undefined;
178
200
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -182,12 +204,14 @@ declare const _default: import("vue").DefineComponent<{
182
204
  value: Record<string, any>;
183
205
  showExpandBtn: boolean;
184
206
  showSearchIcon: boolean;
207
+ expandPlacement: "left" | "right";
208
+ expandText: string;
209
+ collapseText: string;
185
210
  userRule: unknown[];
186
211
  labelCol: Record<string, any>;
187
212
  ruleSpan: Record<string, any>;
188
213
  gutter: unknown[];
189
214
  fixedCount: number;
190
215
  fixedFields: string[];
191
- expandPlacement: "left" | "right";
192
216
  }>;
193
217
  export default _default;
@@ -7,6 +7,18 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
9
9
  };
10
+ expandPlacement: {
11
+ type: import("vue").PropType<"left" | "right">;
12
+ default: string;
13
+ };
14
+ expandText: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ collapseText: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
10
22
  }, {
11
23
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
24
  showExpandBtn: {
@@ -17,6 +29,18 @@ declare const _default: import("vue").DefineComponent<{
17
29
  type: BooleanConstructor;
18
30
  default: boolean;
19
31
  };
32
+ expandPlacement: {
33
+ type: import("vue").PropType<"left" | "right">;
34
+ default: string;
35
+ };
36
+ expandText: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ collapseText: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
20
44
  }>> & {
21
45
  onReset?: ((...args: any[]) => any) | undefined;
22
46
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -39,6 +63,18 @@ declare const _default: import("vue").DefineComponent<{
39
63
  type: BooleanConstructor;
40
64
  default: boolean;
41
65
  };
66
+ expandPlacement: {
67
+ type: import("vue").PropType<"left" | "right">;
68
+ default: string;
69
+ };
70
+ expandText: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ collapseText: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
42
78
  }>> & {
43
79
  onReset?: ((...args: any[]) => any) | undefined;
44
80
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -46,5 +82,8 @@ declare const _default: import("vue").DefineComponent<{
46
82
  }, {
47
83
  showExpandBtn: boolean;
48
84
  showSearchIcon: boolean;
85
+ expandPlacement: "left" | "right";
86
+ expandText: string;
87
+ collapseText: string;
49
88
  }>;
50
89
  export default _default;
@@ -98,9 +98,9 @@ declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCW
98
98
  title: string;
99
99
  visible: boolean;
100
100
  mode: string;
101
+ unitStr: string;
101
102
  showCount: boolean;
102
103
  limit: number;
103
- unitStr: string;
104
104
  load: Function;
105
105
  forceStatic: boolean;
106
106
  immediateFetch: boolean;
@@ -86,12 +86,12 @@ declare const _default: import("vue").DefineComponent<{
86
86
  onFetchList?: ((...args: any[]) => any) | undefined;
87
87
  }, {
88
88
  list: unknown[];
89
+ unitStr: string;
89
90
  showCount: boolean;
90
91
  selected: unknown[];
91
92
  limit: number;
92
93
  dataMap: Map<unknown, unknown>;
93
94
  isTree: boolean;
94
95
  curlistKeys: Set<unknown>;
95
- unitStr: string;
96
96
  }>;
97
97
  export default _default;
@@ -98,9 +98,9 @@ declare const _default: import("vue").DefineComponent<{
98
98
  title: string;
99
99
  visible: boolean;
100
100
  mode: string;
101
+ unitStr: string;
101
102
  showCount: boolean;
102
103
  limit: number;
103
- unitStr: string;
104
104
  load: Function;
105
105
  forceStatic: boolean;
106
106
  immediateFetch: boolean;
@@ -75,6 +75,7 @@ declare const BmUpload: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
75
75
  emit: any;
76
76
  }): {
77
77
  uploadDisabled: import("vue").ComputedRef<boolean>;
78
+ updateUploadProgress(file: any, progress: any): void;
78
79
  customUploadRequest(file: any): void;
79
80
  fileIsDelete(file: any): boolean;
80
81
  uploadSuccess(data: any, file: any): void;
@@ -75,6 +75,7 @@ declare const _default: {
75
75
  emit: any;
76
76
  }): {
77
77
  uploadDisabled: import("vue").ComputedRef<boolean>;
78
+ updateUploadProgress(file: any, progress: any): void;
78
79
  customUploadRequest(file: any): void;
79
80
  fileIsDelete(file: any): boolean;
80
81
  uploadSuccess(data: any, file: any): void;