bm-admin-ui 0.1.1-6 → 0.1.1-9
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/components/button/index.d.ts +127 -105
- package/es/components/button/index.js +9 -1
- package/es/components/button/src/button.vue.d.ts +127 -105
- package/es/components/flow-designer/index.js +11 -3
- package/es/components/form-designer/index.d.ts +2 -2
- package/es/components/form-designer/index.js +10 -3
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -0
- package/es/components/search-filter/index.d.ts +5351 -0
- package/es/components/search-filter/index.js +1362 -0
- package/es/components/search-filter/src/search-filter.vue.d.ts +5351 -0
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +40 -0
- package/es/components/search-filter/src/serach-filter.d.ts +34 -0
- package/es/index.js +2 -2
- package/es/utils/bm-admin-ui-resolver.js +7 -3
- package/es/utils/with-install.js +1 -0
- package/index.esm.js +1248 -650
- package/index.js +13497 -12899
- package/lib/components/button/index.d.ts +127 -105
- package/lib/components/button/index.js +9 -1
- package/lib/components/button/src/button.vue.d.ts +127 -105
- package/lib/components/flow-designer/index.js +11 -3
- package/lib/components/form-designer/index.d.ts +2 -2
- package/lib/components/form-designer/index.js +9 -9
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +7 -0
- package/lib/components/search-filter/index.d.ts +5351 -0
- package/lib/components/search-filter/index.js +1371 -0
- package/lib/components/search-filter/src/search-filter.vue.d.ts +5351 -0
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +40 -0
- package/lib/components/search-filter/src/serach-filter.d.ts +34 -0
- package/lib/index.js +20 -20
- package/lib/utils/bm-admin-ui-resolver.js +7 -3
- package/lib/utils/with-install.js +1 -0
- package/package.json +26 -26
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/search-filter.css +1 -0
- package/types/components/button/index.d.ts +127 -105
- package/types/components/button/src/button.vue.d.ts +127 -105
- package/types/components/form-designer/index.d.ts +2 -2
- package/types/components/index.d.ts +1 -0
- package/types/components/search-filter/index.d.ts +5351 -0
- package/types/components/search-filter/src/search-filter.vue.d.ts +5351 -0
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +40 -0
- package/types/components/search-filter/src/serach-filter.d.ts +34 -0
|
@@ -11,23 +11,24 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
11
11
|
$: import("vue").ComponentInternalInstance;
|
|
12
12
|
$data: {};
|
|
13
13
|
$props: Partial<{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
block: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
ghost: boolean;
|
|
17
|
+
danger: boolean;
|
|
18
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
17
19
|
loading: boolean | {
|
|
18
20
|
delay?: number | undefined;
|
|
19
21
|
};
|
|
20
|
-
href: string;
|
|
21
|
-
target: string;
|
|
22
22
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
prefixCls:
|
|
23
|
+
prefixCls: StringConstructor;
|
|
24
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
25
|
+
htmlType: {
|
|
26
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
24
27
|
default: string;
|
|
25
28
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
default: "submit" | "button" | "reset";
|
|
29
|
+
shape: {
|
|
30
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
29
31
|
};
|
|
30
|
-
shape: import("vue-types").VueTypeDef<"default" | "circle" | "round">;
|
|
31
32
|
size: {
|
|
32
33
|
type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
|
|
33
34
|
};
|
|
@@ -39,27 +40,33 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
39
40
|
delay?: number | undefined;
|
|
40
41
|
};
|
|
41
42
|
};
|
|
42
|
-
disabled:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
danger: import("vue-types").VueTypeValidableDef<boolean>;
|
|
46
|
-
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
47
|
-
href: import("vue-types").VueTypeValidableDef<string> & {
|
|
48
|
-
default: string;
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: any;
|
|
49
46
|
};
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
ghost: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: any;
|
|
52
50
|
};
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
block: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: any;
|
|
54
|
+
};
|
|
55
|
+
danger: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: any;
|
|
55
58
|
};
|
|
59
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
60
|
+
href: StringConstructor;
|
|
61
|
+
target: StringConstructor;
|
|
62
|
+
title: StringConstructor;
|
|
56
63
|
onClick: {
|
|
57
64
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
58
65
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
66
|
+
onMousedown: {
|
|
67
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
68
|
+
};
|
|
69
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "htmlType" | "loading" | "disabled" | "ghost" | "block" | "danger">;
|
|
63
70
|
$attrs: {
|
|
64
71
|
[x: string]: unknown;
|
|
65
72
|
};
|
|
@@ -71,17 +78,18 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
71
78
|
}>;
|
|
72
79
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
73
80
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
74
|
-
$emit: (event:
|
|
81
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
75
82
|
$el: any;
|
|
76
83
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
-
prefixCls:
|
|
84
|
+
prefixCls: StringConstructor;
|
|
85
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
86
|
+
htmlType: {
|
|
87
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
78
88
|
default: string;
|
|
79
89
|
};
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
default: "submit" | "button" | "reset";
|
|
90
|
+
shape: {
|
|
91
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
83
92
|
};
|
|
84
|
-
shape: import("vue-types").VueTypeDef<"default" | "circle" | "round">;
|
|
85
93
|
size: {
|
|
86
94
|
type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
|
|
87
95
|
};
|
|
@@ -93,35 +101,41 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
93
101
|
delay?: number | undefined;
|
|
94
102
|
};
|
|
95
103
|
};
|
|
96
|
-
disabled:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
danger: import("vue-types").VueTypeValidableDef<boolean>;
|
|
100
|
-
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
101
|
-
href: import("vue-types").VueTypeValidableDef<string> & {
|
|
102
|
-
default: string;
|
|
104
|
+
disabled: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: any;
|
|
103
107
|
};
|
|
104
|
-
|
|
105
|
-
|
|
108
|
+
ghost: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: any;
|
|
106
111
|
};
|
|
107
|
-
|
|
108
|
-
|
|
112
|
+
block: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: any;
|
|
109
115
|
};
|
|
116
|
+
danger: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: any;
|
|
119
|
+
};
|
|
120
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
121
|
+
href: StringConstructor;
|
|
122
|
+
target: StringConstructor;
|
|
123
|
+
title: StringConstructor;
|
|
110
124
|
onClick: {
|
|
111
125
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
112
126
|
};
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
127
|
+
onMousedown: {
|
|
128
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
129
|
+
};
|
|
130
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
131
|
+
block: boolean;
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
ghost: boolean;
|
|
134
|
+
danger: boolean;
|
|
135
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
120
136
|
loading: boolean | {
|
|
121
137
|
delay?: number | undefined;
|
|
122
138
|
};
|
|
123
|
-
href: string;
|
|
124
|
-
target: string;
|
|
125
139
|
}> & {
|
|
126
140
|
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
127
141
|
created?: (() => void) | (() => void)[] | undefined;
|
|
@@ -143,14 +157,15 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
143
157
|
$nextTick: typeof import("vue").nextTick;
|
|
144
158
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
145
159
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
146
|
-
prefixCls:
|
|
160
|
+
prefixCls: StringConstructor;
|
|
161
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
162
|
+
htmlType: {
|
|
163
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
147
164
|
default: string;
|
|
148
165
|
};
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
default: "submit" | "button" | "reset";
|
|
166
|
+
shape: {
|
|
167
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
152
168
|
};
|
|
153
|
-
shape: import("vue-types").VueTypeDef<"default" | "circle" | "round">;
|
|
154
169
|
size: {
|
|
155
170
|
type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
|
|
156
171
|
};
|
|
@@ -162,39 +177,46 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
162
177
|
delay?: number | undefined;
|
|
163
178
|
};
|
|
164
179
|
};
|
|
165
|
-
disabled:
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
danger: import("vue-types").VueTypeValidableDef<boolean>;
|
|
169
|
-
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
170
|
-
href: import("vue-types").VueTypeValidableDef<string> & {
|
|
171
|
-
default: string;
|
|
180
|
+
disabled: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: any;
|
|
172
183
|
};
|
|
173
|
-
|
|
174
|
-
|
|
184
|
+
ghost: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: any;
|
|
175
187
|
};
|
|
176
|
-
|
|
177
|
-
|
|
188
|
+
block: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
default: any;
|
|
191
|
+
};
|
|
192
|
+
danger: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: any;
|
|
178
195
|
};
|
|
196
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
197
|
+
href: StringConstructor;
|
|
198
|
+
target: StringConstructor;
|
|
199
|
+
title: StringConstructor;
|
|
179
200
|
onClick: {
|
|
180
201
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
181
202
|
};
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
203
|
+
onMousedown: {
|
|
204
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
205
|
+
};
|
|
206
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
186
207
|
__isFragment?: undefined;
|
|
187
208
|
__isTeleport?: undefined;
|
|
188
209
|
__isSuspense?: undefined;
|
|
189
210
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
190
|
-
prefixCls:
|
|
211
|
+
prefixCls: StringConstructor;
|
|
212
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
213
|
+
htmlType: {
|
|
214
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
191
215
|
default: string;
|
|
192
216
|
};
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
default: "submit" | "button" | "reset";
|
|
217
|
+
shape: {
|
|
218
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
196
219
|
};
|
|
197
|
-
shape: import("vue-types").VueTypeDef<"default" | "circle" | "round">;
|
|
198
220
|
size: {
|
|
199
221
|
type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
|
|
200
222
|
};
|
|
@@ -206,53 +228,53 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
|
|
|
206
228
|
delay?: number | undefined;
|
|
207
229
|
};
|
|
208
230
|
};
|
|
209
|
-
disabled:
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
danger: import("vue-types").VueTypeValidableDef<boolean>;
|
|
213
|
-
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
214
|
-
href: import("vue-types").VueTypeValidableDef<string> & {
|
|
215
|
-
default: string;
|
|
231
|
+
disabled: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: any;
|
|
216
234
|
};
|
|
217
|
-
|
|
218
|
-
|
|
235
|
+
ghost: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: any;
|
|
219
238
|
};
|
|
220
|
-
|
|
221
|
-
|
|
239
|
+
block: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: any;
|
|
242
|
+
};
|
|
243
|
+
danger: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: any;
|
|
222
246
|
};
|
|
247
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
248
|
+
href: StringConstructor;
|
|
249
|
+
target: StringConstructor;
|
|
250
|
+
title: StringConstructor;
|
|
223
251
|
onClick: {
|
|
224
252
|
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
225
253
|
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
254
|
+
onMousedown: {
|
|
255
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
256
|
+
};
|
|
257
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
258
|
+
block: boolean;
|
|
259
|
+
disabled: boolean;
|
|
260
|
+
ghost: boolean;
|
|
261
|
+
danger: boolean;
|
|
262
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
233
263
|
loading: boolean | {
|
|
234
264
|
delay?: number | undefined;
|
|
235
265
|
};
|
|
236
|
-
href: string;
|
|
237
|
-
target: string;
|
|
238
266
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
239
267
|
readonly Group: import("vue").DefineComponent<{
|
|
240
|
-
prefixCls:
|
|
241
|
-
default: string;
|
|
242
|
-
};
|
|
268
|
+
prefixCls: StringConstructor;
|
|
243
269
|
size: {
|
|
244
270
|
type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
|
|
245
271
|
};
|
|
246
272
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
247
|
-
prefixCls:
|
|
248
|
-
default: string;
|
|
249
|
-
};
|
|
273
|
+
prefixCls: StringConstructor;
|
|
250
274
|
size: {
|
|
251
275
|
type: import("vue").PropType<import("ant-design-vue/lib/config-provider").SizeType>;
|
|
252
276
|
};
|
|
253
|
-
}>>, {
|
|
254
|
-
prefixCls: string;
|
|
255
|
-
}>;
|
|
277
|
+
}>>, {}>;
|
|
256
278
|
};
|
|
257
279
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, readonly string[] | Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
|
|
258
280
|
[x: string]: unknown;
|
|
@@ -4,6 +4,14 @@ import AButton from 'ant-design-vue/lib/button';
|
|
|
4
4
|
|
|
5
5
|
const buttonProps = {};
|
|
6
6
|
|
|
7
|
+
var _export_sfc = (sfc, props) => {
|
|
8
|
+
const target = sfc.__vccOpts || sfc;
|
|
9
|
+
for (const [key, val] of props) {
|
|
10
|
+
target[key] = val;
|
|
11
|
+
}
|
|
12
|
+
return target;
|
|
13
|
+
};
|
|
14
|
+
|
|
7
15
|
const _hoisted_1 = /* @__PURE__ */ createTextVNode("BM\u6309\u94AE");
|
|
8
16
|
const __default__ = {
|
|
9
17
|
name: "BmButton"
|
|
@@ -25,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
33
|
};
|
|
26
34
|
}
|
|
27
35
|
});
|
|
28
|
-
var Button = _sfc_main;
|
|
36
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "E:\\develop\\bm-admin-ui\\packages\\components\\button\\src\\button.vue"]]);
|
|
29
37
|
|
|
30
38
|
const BmButton = withInstall(Button);
|
|
31
39
|
|