bm-admin-ui 1.0.40-alpha → 1.0.41-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.
- package/es/components/breadcrumb/index.d.ts +162 -0
- package/es/components/breadcrumb/index.js +158 -0
- package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +161 -0
- package/es/components/button/index.d.ts +303 -1
- package/es/components/editor/index.d.ts +305 -0
- package/es/components/editor/index.js +12543 -0
- package/es/components/editor/src/editor.vue.d.ts +304 -0
- package/es/components/editor/src/props.d.ts +31 -0
- package/es/components/feedback/index.d.ts +1028 -2
- package/es/components/float-table/index.d.ts +68 -1
- package/es/components/flow-designer/index.d.ts +5 -1
- package/es/components/form-create/index.js +77 -156
- package/es/components/form-designer/index.js +33 -131
- package/es/components/index.d.ts +2 -0
- package/es/components/index.js +2 -0
- package/es/components/input-tags-display/index.d.ts +138 -1
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/es/components/over-tooltips/index.d.ts +33 -1
- package/es/components/search-filter/index.d.ts +233 -1
- package/es/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/es/components/select-all/index.d.ts +752 -1
- package/es/components/select-all/src/selectAll.vue.d.ts +5 -5
- package/es/components/shops-filter/index.d.ts +97 -1
- package/es/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/es/components/staffs-selector/index.d.ts +1095 -1
- package/es/components/staffs-selector/index.js +535 -505
- package/es/components/staffs-selector/src/action.d.ts +66 -0
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +11 -49
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +998 -10
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +18 -11
- package/es/components/timeline/index.d.ts +111 -2
- package/es/components/upload/index.d.ts +139 -2
- package/es/components/upload/index.js +207 -170
- package/es/components/upload/src/props.d.ts +50 -0
- package/es/components/upload/src/upload.vue.d.ts +44 -11
- package/es/utils/bm-admin-ui-resolver.d.ts +1 -3
- package/es/utils/bm-admin-ui-resolver.js +1 -1
- package/es/utils/with-install.d.ts +7 -1
- package/es/utils/with-install.js +1 -0
- package/index.esm.js +81188 -71499
- package/index.js +81186 -71495
- package/lib/components/breadcrumb/index.d.ts +162 -0
- package/lib/components/breadcrumb/index.js +168 -0
- package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +161 -0
- package/lib/components/button/index.d.ts +303 -1
- package/lib/components/editor/index.d.ts +305 -0
- package/lib/components/editor/index.js +12548 -0
- package/lib/components/editor/src/editor.vue.d.ts +304 -0
- package/lib/components/editor/src/props.d.ts +31 -0
- package/lib/components/feedback/index.d.ts +1028 -2
- package/lib/components/float-table/index.d.ts +68 -1
- package/lib/components/flow-designer/index.d.ts +5 -1
- package/lib/components/form-create/index.js +76 -155
- package/lib/components/form-designer/index.js +32 -130
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +14 -0
- package/lib/components/input-tags-display/index.d.ts +138 -1
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/lib/components/over-tooltips/index.d.ts +33 -1
- package/lib/components/search-filter/index.d.ts +233 -1
- package/lib/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/lib/components/select-all/index.d.ts +752 -1
- package/lib/components/select-all/src/selectAll.vue.d.ts +5 -5
- package/lib/components/shops-filter/index.d.ts +97 -1
- package/lib/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/lib/components/staffs-selector/index.d.ts +1095 -1
- package/lib/components/staffs-selector/index.js +536 -506
- package/lib/components/staffs-selector/src/action.d.ts +66 -0
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +11 -49
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +998 -10
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +18 -11
- package/lib/components/timeline/index.d.ts +111 -2
- package/lib/components/upload/index.d.ts +139 -2
- package/lib/components/upload/index.js +205 -168
- package/lib/components/upload/src/props.d.ts +50 -0
- package/lib/components/upload/src/upload.vue.d.ts +44 -11
- package/lib/utils/bm-admin-ui-resolver.d.ts +1 -3
- package/lib/utils/bm-admin-ui-resolver.js +1 -1
- package/lib/utils/with-install.d.ts +7 -1
- package/lib/utils/with-install.js +1 -0
- package/package.json +2 -2
- package/theme-chalk/breadcrumb.css +1 -0
- package/theme-chalk/editor.css +16 -0
- package/theme-chalk/form-create.css +1 -1
- package/theme-chalk/index.css +16 -1
- package/theme-chalk/staffs-selector.css +1 -1
- package/theme-chalk/upload.css +1 -1
- package/types/components/breadcrumb/index.d.ts +162 -0
- package/types/components/breadcrumb/src/breadcrumb.vue.d.ts +161 -0
- package/types/components/button/index.d.ts +303 -1
- package/types/components/editor/index.d.ts +305 -0
- package/types/components/editor/src/editor.vue.d.ts +304 -0
- package/types/components/editor/src/props.d.ts +31 -0
- package/types/components/feedback/index.d.ts +1028 -2
- package/types/components/float-table/index.d.ts +68 -1
- package/types/components/flow-designer/index.d.ts +5 -1
- package/types/components/index.d.ts +2 -0
- package/types/components/input-tags-display/index.d.ts +138 -1
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
- package/types/components/over-tooltips/index.d.ts +33 -1
- package/types/components/search-filter/index.d.ts +233 -1
- package/types/components/search-filter/src/search-filter.vue.d.ts +3 -3
- package/types/components/select-all/index.d.ts +752 -1
- package/types/components/select-all/src/selectAll.vue.d.ts +5 -5
- package/types/components/shops-filter/index.d.ts +97 -1
- package/types/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/types/components/staffs-selector/index.d.ts +1095 -1
- package/types/components/staffs-selector/src/action.d.ts +66 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +11 -49
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +998 -10
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +18 -11
- package/types/components/timeline/index.d.ts +111 -2
- package/types/components/upload/index.d.ts +139 -2
- package/types/components/upload/src/props.d.ts +50 -0
- package/types/components/upload/src/upload.vue.d.ts +44 -11
- package/types/utils/bm-admin-ui-resolver.d.ts +1 -3
- package/types/utils/with-install.d.ts +7 -1
|
@@ -1,3 +1,305 @@
|
|
|
1
|
-
declare const BmButton:
|
|
1
|
+
declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
size: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
type: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
size: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
type: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>> & {}>>;
|
|
21
|
+
AButton: {
|
|
22
|
+
new (...args: any[]): {
|
|
23
|
+
$: import("vue").ComponentInternalInstance;
|
|
24
|
+
$data: {};
|
|
25
|
+
$props: Partial<{
|
|
26
|
+
block: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
loading: boolean | {
|
|
29
|
+
delay?: number | undefined;
|
|
30
|
+
};
|
|
31
|
+
ghost: boolean;
|
|
32
|
+
danger: boolean;
|
|
33
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
34
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
prefixCls: StringConstructor;
|
|
36
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
37
|
+
htmlType: {
|
|
38
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
shape: {
|
|
42
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
43
|
+
};
|
|
44
|
+
size: {
|
|
45
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
46
|
+
};
|
|
47
|
+
loading: {
|
|
48
|
+
type: import("vue").PropType<boolean | {
|
|
49
|
+
delay?: number | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
default: () => boolean | {
|
|
52
|
+
delay?: number | undefined;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: any;
|
|
58
|
+
};
|
|
59
|
+
ghost: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: any;
|
|
62
|
+
};
|
|
63
|
+
block: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: any;
|
|
66
|
+
};
|
|
67
|
+
danger: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: any;
|
|
70
|
+
};
|
|
71
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
72
|
+
href: StringConstructor;
|
|
73
|
+
target: StringConstructor;
|
|
74
|
+
title: StringConstructor;
|
|
75
|
+
onClick: {
|
|
76
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
77
|
+
};
|
|
78
|
+
onMousedown: {
|
|
79
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
80
|
+
};
|
|
81
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "htmlType" | "loading" | "disabled" | "ghost" | "block" | "danger">;
|
|
82
|
+
$attrs: {
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
};
|
|
85
|
+
$refs: {
|
|
86
|
+
[x: string]: unknown;
|
|
87
|
+
};
|
|
88
|
+
$slots: Readonly<{
|
|
89
|
+
[name: string]: import("vue").Slot;
|
|
90
|
+
}>;
|
|
91
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
92
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
93
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
94
|
+
$el: any;
|
|
95
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
+
prefixCls: StringConstructor;
|
|
97
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
98
|
+
htmlType: {
|
|
99
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
shape: {
|
|
103
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
104
|
+
};
|
|
105
|
+
size: {
|
|
106
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
107
|
+
};
|
|
108
|
+
loading: {
|
|
109
|
+
type: import("vue").PropType<boolean | {
|
|
110
|
+
delay?: number | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
default: () => boolean | {
|
|
113
|
+
delay?: number | undefined;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
disabled: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: any;
|
|
119
|
+
};
|
|
120
|
+
ghost: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: any;
|
|
123
|
+
};
|
|
124
|
+
block: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
danger: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: any;
|
|
131
|
+
};
|
|
132
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
133
|
+
href: StringConstructor;
|
|
134
|
+
target: StringConstructor;
|
|
135
|
+
title: StringConstructor;
|
|
136
|
+
onClick: {
|
|
137
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
138
|
+
};
|
|
139
|
+
onMousedown: {
|
|
140
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
141
|
+
};
|
|
142
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
143
|
+
block: boolean;
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
loading: boolean | {
|
|
146
|
+
delay?: number | undefined;
|
|
147
|
+
};
|
|
148
|
+
ghost: boolean;
|
|
149
|
+
danger: boolean;
|
|
150
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
151
|
+
}> & {
|
|
152
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
153
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
154
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
155
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
156
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
157
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
158
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
159
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
160
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
161
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
162
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
163
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
164
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
165
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
166
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
|
|
167
|
+
};
|
|
168
|
+
$forceUpdate: () => void;
|
|
169
|
+
$nextTick: typeof import("vue").nextTick;
|
|
170
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
171
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
172
|
+
prefixCls: StringConstructor;
|
|
173
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
174
|
+
htmlType: {
|
|
175
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
shape: {
|
|
179
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
180
|
+
};
|
|
181
|
+
size: {
|
|
182
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
183
|
+
};
|
|
184
|
+
loading: {
|
|
185
|
+
type: import("vue").PropType<boolean | {
|
|
186
|
+
delay?: number | undefined;
|
|
187
|
+
}>;
|
|
188
|
+
default: () => boolean | {
|
|
189
|
+
delay?: number | undefined;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
disabled: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: any;
|
|
195
|
+
};
|
|
196
|
+
ghost: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: any;
|
|
199
|
+
};
|
|
200
|
+
block: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: any;
|
|
203
|
+
};
|
|
204
|
+
danger: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: any;
|
|
207
|
+
};
|
|
208
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
209
|
+
href: StringConstructor;
|
|
210
|
+
target: StringConstructor;
|
|
211
|
+
title: StringConstructor;
|
|
212
|
+
onClick: {
|
|
213
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
214
|
+
};
|
|
215
|
+
onMousedown: {
|
|
216
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
217
|
+
};
|
|
218
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
219
|
+
__isFragment?: undefined;
|
|
220
|
+
__isTeleport?: undefined;
|
|
221
|
+
__isSuspense?: undefined;
|
|
222
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
223
|
+
prefixCls: StringConstructor;
|
|
224
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
225
|
+
htmlType: {
|
|
226
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
227
|
+
default: string;
|
|
228
|
+
};
|
|
229
|
+
shape: {
|
|
230
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
231
|
+
};
|
|
232
|
+
size: {
|
|
233
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
234
|
+
};
|
|
235
|
+
loading: {
|
|
236
|
+
type: import("vue").PropType<boolean | {
|
|
237
|
+
delay?: number | undefined;
|
|
238
|
+
}>;
|
|
239
|
+
default: () => boolean | {
|
|
240
|
+
delay?: number | undefined;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
disabled: {
|
|
244
|
+
type: BooleanConstructor;
|
|
245
|
+
default: any;
|
|
246
|
+
};
|
|
247
|
+
ghost: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
default: any;
|
|
250
|
+
};
|
|
251
|
+
block: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: any;
|
|
254
|
+
};
|
|
255
|
+
danger: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: any;
|
|
258
|
+
};
|
|
259
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
260
|
+
href: StringConstructor;
|
|
261
|
+
target: StringConstructor;
|
|
262
|
+
title: StringConstructor;
|
|
263
|
+
onClick: {
|
|
264
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
265
|
+
};
|
|
266
|
+
onMousedown: {
|
|
267
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
268
|
+
};
|
|
269
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
270
|
+
block: boolean;
|
|
271
|
+
disabled: boolean;
|
|
272
|
+
loading: boolean | {
|
|
273
|
+
delay?: number | undefined;
|
|
274
|
+
};
|
|
275
|
+
ghost: boolean;
|
|
276
|
+
danger: boolean;
|
|
277
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
278
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
279
|
+
readonly Group: import("vue").DefineComponent<{
|
|
280
|
+
prefixCls: StringConstructor;
|
|
281
|
+
size: {
|
|
282
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
283
|
+
};
|
|
284
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
285
|
+
prefixCls: StringConstructor;
|
|
286
|
+
size: {
|
|
287
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
288
|
+
};
|
|
289
|
+
}>>, {}>;
|
|
290
|
+
};
|
|
291
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
292
|
+
size: {
|
|
293
|
+
type: StringConstructor;
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
type: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
}>>, {
|
|
301
|
+
type: string;
|
|
302
|
+
size: string;
|
|
303
|
+
}>>;
|
|
2
304
|
export { BmButton };
|
|
3
305
|
export default BmButton;
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
declare const BmEditor: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
value: import("vue-types").VueTypeValidableDef<string> & {
|
|
3
|
+
default: string;
|
|
4
|
+
} & {
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
8
|
+
default: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
options: import("vue-types").VueTypeValidableDef<{
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> & {
|
|
15
|
+
default: () => {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
} & {
|
|
19
|
+
default: () => {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
maxSize: import("vue-types").VueTypeValidableDef<number> & {
|
|
24
|
+
default: number;
|
|
25
|
+
} & {
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
uploadRequest: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
|
29
|
+
default: (...args: any[]) => any;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
value: import("vue-types").VueTypeValidableDef<string> & {
|
|
34
|
+
default: string;
|
|
35
|
+
} & {
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
39
|
+
default: boolean;
|
|
40
|
+
} & {
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
options: import("vue-types").VueTypeValidableDef<{
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}> & {
|
|
46
|
+
default: () => {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
} & {
|
|
50
|
+
default: () => {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
maxSize: import("vue-types").VueTypeValidableDef<number> & {
|
|
55
|
+
default: number;
|
|
56
|
+
} & {
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
uploadRequest: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
|
60
|
+
default: (...args: any[]) => any;
|
|
61
|
+
};
|
|
62
|
+
}>> & {
|
|
63
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
}>>;
|
|
70
|
+
defaultOptions: {
|
|
71
|
+
theme: string;
|
|
72
|
+
boundary: HTMLElement;
|
|
73
|
+
modules: {
|
|
74
|
+
toolbar: {
|
|
75
|
+
container: (string[] | {
|
|
76
|
+
header: number;
|
|
77
|
+
}[] | {
|
|
78
|
+
list: string;
|
|
79
|
+
}[] | {
|
|
80
|
+
script: string;
|
|
81
|
+
}[] | {
|
|
82
|
+
indent: string;
|
|
83
|
+
}[] | {
|
|
84
|
+
direction: string;
|
|
85
|
+
}[] | {
|
|
86
|
+
size: (string | boolean)[];
|
|
87
|
+
}[] | {
|
|
88
|
+
header: (number | boolean)[];
|
|
89
|
+
}[] | ({
|
|
90
|
+
color: never[];
|
|
91
|
+
background?: undefined;
|
|
92
|
+
} | {
|
|
93
|
+
background: never[];
|
|
94
|
+
color?: undefined;
|
|
95
|
+
})[] | {
|
|
96
|
+
font: never[];
|
|
97
|
+
}[] | {
|
|
98
|
+
align: never[];
|
|
99
|
+
}[])[];
|
|
100
|
+
handlers: {
|
|
101
|
+
image: (value: any) => void;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
placeholder: string;
|
|
106
|
+
readOnly: boolean;
|
|
107
|
+
};
|
|
108
|
+
emits: (event: "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", ...args: any[]) => void;
|
|
109
|
+
state: {
|
|
110
|
+
editorOption: {};
|
|
111
|
+
quill: null;
|
|
112
|
+
};
|
|
113
|
+
wordCount: import("vue").Ref<number>;
|
|
114
|
+
maxLen: import("vue").Ref<number>;
|
|
115
|
+
_content: string;
|
|
116
|
+
pasteFilesCount: import("vue").Ref<number>;
|
|
117
|
+
editor: import("vue").Ref<null>;
|
|
118
|
+
mergeOptions: (def: any, custom: any) => any;
|
|
119
|
+
initialize: () => void;
|
|
120
|
+
handleUploadSuccess: (e: any) => void;
|
|
121
|
+
handlePaste: (evt: any) => void;
|
|
122
|
+
upload: {
|
|
123
|
+
name: string;
|
|
124
|
+
components: {
|
|
125
|
+
PlusOutlined: import("@ant-design/icons-vue/lib/icons/PlusOutlined").PlusOutlinedIconType;
|
|
126
|
+
OverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
127
|
+
name: string;
|
|
128
|
+
props: {
|
|
129
|
+
title: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
labelTitle: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
line: {
|
|
138
|
+
type: NumberConstructor;
|
|
139
|
+
default: number;
|
|
140
|
+
};
|
|
141
|
+
width: {
|
|
142
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
143
|
+
default: number;
|
|
144
|
+
};
|
|
145
|
+
showAlways: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
setup(props: any, context: any): {
|
|
151
|
+
mySelf: import("vue").Ref<any>;
|
|
152
|
+
handleVisibleChange: (val: any) => void;
|
|
153
|
+
getPopupContainer: () => HTMLElement;
|
|
154
|
+
mSlots: import("vue").Ref<{}>;
|
|
155
|
+
isShow: import("vue").Ref<boolean>;
|
|
156
|
+
openShow: import("vue").Ref<boolean>;
|
|
157
|
+
};
|
|
158
|
+
}>;
|
|
159
|
+
UploadOutlined: import("@ant-design/icons-vue/lib/icons/UploadOutlined").UploadOutlinedIconType;
|
|
160
|
+
LoadingOutlined: import("@ant-design/icons-vue/lib/icons/LoadingOutlined").LoadingOutlinedIconType;
|
|
161
|
+
InboxOutlined: import("@ant-design/icons-vue/lib/icons/InboxOutlined").InboxOutlinedIconType;
|
|
162
|
+
};
|
|
163
|
+
props: {
|
|
164
|
+
uploadProps: {
|
|
165
|
+
type: import("vue").PropType<import("..").UploadPropsInner>;
|
|
166
|
+
default: () => {};
|
|
167
|
+
};
|
|
168
|
+
extraProps: {
|
|
169
|
+
type: import("vue").PropType<import("..").ExtraProps>;
|
|
170
|
+
default: () => {};
|
|
171
|
+
};
|
|
172
|
+
defaultList: {
|
|
173
|
+
type: import("vue").PropType<import("..").DefaultList>;
|
|
174
|
+
default: () => never[];
|
|
175
|
+
};
|
|
176
|
+
uploadRequest: {
|
|
177
|
+
type: import("vue").PropType<import("..").UploadRequest>;
|
|
178
|
+
default(): () => void;
|
|
179
|
+
};
|
|
180
|
+
cloudReadUrl: {
|
|
181
|
+
type: import("vue").PropType<string>;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
holdProgress: {
|
|
185
|
+
type: import("vue").PropType<number>;
|
|
186
|
+
default: number;
|
|
187
|
+
};
|
|
188
|
+
customErrors: {
|
|
189
|
+
type: import("vue").PropType<import("..").CustomErrors>;
|
|
190
|
+
default(): undefined;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
emits: string[];
|
|
194
|
+
setup(props: any, { emit }: {
|
|
195
|
+
emit: any;
|
|
196
|
+
}): {
|
|
197
|
+
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
198
|
+
updateUploadProgress(file: any, progress: any): void;
|
|
199
|
+
customUploadRequest(file: any): void;
|
|
200
|
+
fileIsDelete(file: any): boolean;
|
|
201
|
+
uploadSuccess(data: any, file: any): void;
|
|
202
|
+
uploadError(error: any, file?: any): void;
|
|
203
|
+
deleteFile(uid: any): Promise<void>;
|
|
204
|
+
pictureHoverEnter(uid: string): void;
|
|
205
|
+
pictureHoverLeave(uid: string): void;
|
|
206
|
+
viewOnePicture(item: any): void;
|
|
207
|
+
handleClosePictureView(): void;
|
|
208
|
+
reUpload(e: any, uid: any): void;
|
|
209
|
+
paste(event: ClipboardEvent): void;
|
|
210
|
+
handleReject(e: any): void;
|
|
211
|
+
icons: {
|
|
212
|
+
pdf: string;
|
|
213
|
+
ppt: string;
|
|
214
|
+
excel: string;
|
|
215
|
+
doc: string;
|
|
216
|
+
others: string;
|
|
217
|
+
};
|
|
218
|
+
uploadBarColor: import("vue").Ref<string>;
|
|
219
|
+
uploadedList: import("vue").Ref<any[]>;
|
|
220
|
+
fileList: import("vue").Ref<{}>;
|
|
221
|
+
onepViewImageHover: import("vue").Ref<{}>;
|
|
222
|
+
previewVisible: import("vue").Ref<boolean>;
|
|
223
|
+
onepViewImage: import("vue").Ref<{}>;
|
|
224
|
+
extraConfigs: import("vue").Ref<{
|
|
225
|
+
maxSize: number;
|
|
226
|
+
maxCount: number;
|
|
227
|
+
isAllowDownloadFieldProps: boolean;
|
|
228
|
+
hideDisabledBtn: boolean;
|
|
229
|
+
tips: string;
|
|
230
|
+
showTips: boolean;
|
|
231
|
+
btnClass: string;
|
|
232
|
+
picClass: string;
|
|
233
|
+
alignCenter: boolean;
|
|
234
|
+
canNotViewAccept: string;
|
|
235
|
+
myBtn: boolean;
|
|
236
|
+
showFileName: boolean;
|
|
237
|
+
drag: boolean;
|
|
238
|
+
}>;
|
|
239
|
+
uploadConfigs: import("vue").Ref<{
|
|
240
|
+
multiple: boolean;
|
|
241
|
+
showUploadList: boolean;
|
|
242
|
+
showSlotList: boolean;
|
|
243
|
+
listType: string;
|
|
244
|
+
text: string;
|
|
245
|
+
accept: string;
|
|
246
|
+
data: {};
|
|
247
|
+
name: string;
|
|
248
|
+
disabled: boolean;
|
|
249
|
+
customRequest: ({ file, fileField, data }: {
|
|
250
|
+
file: any;
|
|
251
|
+
fileField: any;
|
|
252
|
+
data: any;
|
|
253
|
+
}) => Promise<void>;
|
|
254
|
+
}>;
|
|
255
|
+
pictureFileTypes: import("vue").Ref<string[]>;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("ready" | "change" | "blur" | "focus" | "update:value" | "getCount")[], "ready" | "change" | "blur" | "focus" | "update:value" | "getCount", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
259
|
+
value: import("vue-types").VueTypeValidableDef<string> & {
|
|
260
|
+
default: string;
|
|
261
|
+
} & {
|
|
262
|
+
default: string;
|
|
263
|
+
};
|
|
264
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
|
265
|
+
default: boolean;
|
|
266
|
+
} & {
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
options: import("vue-types").VueTypeValidableDef<{
|
|
270
|
+
[key: string]: any;
|
|
271
|
+
}> & {
|
|
272
|
+
default: () => {
|
|
273
|
+
[key: string]: any;
|
|
274
|
+
};
|
|
275
|
+
} & {
|
|
276
|
+
default: () => {
|
|
277
|
+
[key: string]: any;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
maxSize: import("vue-types").VueTypeValidableDef<number> & {
|
|
281
|
+
default: number;
|
|
282
|
+
} & {
|
|
283
|
+
default: number;
|
|
284
|
+
};
|
|
285
|
+
uploadRequest: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
|
286
|
+
default: (...args: any[]) => any;
|
|
287
|
+
};
|
|
288
|
+
}>> & {
|
|
289
|
+
onReady?: ((...args: any[]) => any) | undefined;
|
|
290
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
292
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
293
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
294
|
+
onGetCount?: ((...args: any[]) => any) | undefined;
|
|
295
|
+
}, {
|
|
296
|
+
disabled: boolean;
|
|
297
|
+
value: string;
|
|
298
|
+
options: {
|
|
299
|
+
[key: string]: any;
|
|
300
|
+
};
|
|
301
|
+
maxSize: number;
|
|
302
|
+
uploadRequest: (...args: any[]) => any;
|
|
303
|
+
}>>;
|
|
304
|
+
export { BmEditor };
|
|
305
|
+
export default BmEditor;
|