bm-admin-ui 1.0.22-alpha → 1.0.24-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/button/index.d.ts +307 -0
- package/es/components/button/src/button.d.ts +12 -0
- package/es/components/button/src/button.vue.d.ts +308 -0
- package/es/components/feedback/index.d.ts +1037 -0
- package/es/components/feedback/index.js +1306 -25
- package/es/components/feedback/src/bmAlert.vue.d.ts +193 -0
- package/es/components/feedback/src/bmModal.vue.d.ts +839 -0
- package/es/components/float-table/index.d.ts +70 -0
- package/es/components/float-table/index.js +28 -37
- package/es/components/float-table/src/float-table.vue.d.ts +69 -0
- package/es/components/flow-designer/index.d.ts +7 -0
- package/es/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
- package/es/components/form-designer/index.d.ts +9 -0
- package/es/components/form-designer/index.js +9 -4178
- package/es/components/form-designer/src/form-designer.vue.d.ts +8 -0
- package/es/components/index.d.ts +13 -0
- package/es/components/index.js +0 -1
- package/es/components/input-tags-display/index.d.ts +113 -0
- package/es/components/input-tags-display/index.js +1187 -27
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +110 -0
- package/es/components/multi-cascader-compose/index.d.ts +164 -0
- package/es/components/multi-cascader-compose/index.js +1199 -31
- package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +164 -0
- package/es/components/multi-cascader-compose/src/props.d.ts +40 -0
- package/es/components/multi-cascader-compose/types.d.ts +10 -0
- package/es/components/over-tooltips/index.d.ts +35 -0
- package/es/components/over-tooltips/index.js +20 -27
- package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/es/components/search-filter/index.d.ts +222 -0
- package/es/components/search-filter/index.js +1269 -57
- package/es/components/search-filter/src/search-filter.d.ts +77 -0
- package/es/components/search-filter/src/search-filter.vue.d.ts +221 -0
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +89 -0
- package/es/components/shops-filter/index.d.ts +99 -0
- package/es/components/shops-filter/index.js +1182 -24
- package/es/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/es/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
- package/es/components/staffs-selector/index.d.ts +109 -0
- package/es/components/staffs-selector/index.js +1241 -131
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
- package/es/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/es/components/timeline/index.d.ts +107 -0
- package/es/components/timeline/index.js +6 -6
- package/es/components/timeline/src/props.d.ts +24 -0
- package/es/components/timeline/src/timeline-item.vue.d.ts +65 -0
- package/es/components/timeline/src/timeline.vue.d.ts +42 -0
- package/es/components/upload/index.d.ts +136 -0
- package/es/components/upload/index.js +1336 -101
- package/es/components/upload/src/icons.d.ts +13 -0
- package/es/components/upload/src/upload.vue.d.ts +135 -0
- package/es/components/upload/utils/index.d.ts +7 -0
- package/es/index.d.ts +6 -0
- package/es/utils/bm-admin-ui-resolver.d.ts +9 -0
- package/es/utils/vxe-table.d.ts +6 -0
- package/es/utils/vxe-table.js +3 -4
- package/es/utils/with-install.d.ts +3 -0
- package/index.esm.js +47062 -0
- package/index.js +47092 -0
- package/lib/components/button/index.d.ts +307 -0
- package/lib/components/button/src/button.d.ts +12 -0
- package/lib/components/button/src/button.vue.d.ts +308 -0
- package/lib/components/feedback/index.d.ts +1037 -0
- package/lib/components/feedback/index.js +1304 -23
- package/lib/components/feedback/src/bmAlert.vue.d.ts +193 -0
- package/lib/components/feedback/src/bmModal.vue.d.ts +839 -0
- package/lib/components/float-table/index.d.ts +70 -0
- package/lib/components/float-table/index.js +28 -37
- package/lib/components/float-table/src/float-table.vue.d.ts +69 -0
- package/lib/components/flow-designer/index.d.ts +7 -0
- package/lib/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
- package/lib/components/form-designer/index.d.ts +9 -0
- package/lib/components/form-designer/index.js +8 -4183
- package/lib/components/form-designer/src/form-designer.vue.d.ts +8 -0
- package/lib/components/index.d.ts +13 -0
- package/lib/components/index.js +0 -7
- package/lib/components/input-tags-display/index.d.ts +113 -0
- package/lib/components/input-tags-display/index.js +1187 -27
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +110 -0
- package/lib/components/multi-cascader-compose/index.d.ts +164 -0
- package/lib/components/multi-cascader-compose/index.js +1198 -30
- package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +164 -0
- package/lib/components/multi-cascader-compose/src/props.d.ts +40 -0
- package/lib/components/multi-cascader-compose/types.d.ts +10 -0
- package/lib/components/over-tooltips/index.d.ts +35 -0
- package/lib/components/over-tooltips/index.js +20 -27
- package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/lib/components/search-filter/index.d.ts +222 -0
- package/lib/components/search-filter/index.js +1268 -56
- package/lib/components/search-filter/src/search-filter.d.ts +77 -0
- package/lib/components/search-filter/src/search-filter.vue.d.ts +221 -0
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +89 -0
- package/lib/components/shops-filter/index.d.ts +99 -0
- package/lib/components/shops-filter/index.js +1181 -23
- package/lib/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/lib/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
- package/lib/components/staffs-selector/index.d.ts +109 -0
- package/lib/components/staffs-selector/index.js +1240 -130
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
- package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/lib/components/timeline/index.d.ts +107 -0
- package/lib/components/timeline/index.js +6 -6
- package/lib/components/timeline/src/props.d.ts +24 -0
- package/lib/components/timeline/src/timeline-item.vue.d.ts +65 -0
- package/lib/components/timeline/src/timeline.vue.d.ts +42 -0
- package/lib/components/upload/index.d.ts +136 -0
- package/lib/components/upload/index.js +1335 -100
- package/lib/components/upload/src/icons.d.ts +13 -0
- package/lib/components/upload/src/upload.vue.d.ts +135 -0
- package/lib/components/upload/utils/index.d.ts +7 -0
- package/lib/index.d.ts +6 -0
- package/lib/utils/bm-admin-ui-resolver.d.ts +9 -0
- package/lib/utils/vxe-table.d.ts +6 -0
- package/lib/utils/vxe-table.js +2 -3
- package/lib/utils/with-install.d.ts +3 -0
- package/package.json +4 -9
- package/theme-chalk/button.css +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/float-table.css +1 -1
- package/theme-chalk/floating-vue.css +1 -1
- package/theme-chalk/flow-designer.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/input-tags-display.css +1 -1
- package/theme-chalk/modal.css +1 -1
- package/theme-chalk/multi-cascader-compose.css +1 -1
- package/theme-chalk/over-tooltips.css +1 -1
- package/theme-chalk/search-filter.css +1 -1
- package/theme-chalk/staffs-selector.css +1 -1
- package/theme-chalk/timeline.css +1 -1
- package/theme-chalk/upload.css +1 -1
- package/types/components/button/index.d.ts +307 -0
- package/types/components/button/src/button.d.ts +12 -0
- package/types/components/button/src/button.vue.d.ts +308 -0
- package/types/components/feedback/index.d.ts +1037 -0
- package/types/components/feedback/src/bmAlert.vue.d.ts +193 -0
- package/types/components/feedback/src/bmModal.vue.d.ts +839 -0
- package/types/components/float-table/index.d.ts +70 -0
- package/types/components/float-table/src/float-table.vue.d.ts +69 -0
- package/types/components/flow-designer/index.d.ts +7 -0
- package/types/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
- package/types/components/form-designer/index.d.ts +9 -0
- package/types/components/form-designer/src/form-designer.vue.d.ts +8 -0
- package/types/components/index.d.ts +13 -0
- package/types/components/input-tags-display/index.d.ts +113 -0
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +110 -0
- package/types/components/multi-cascader-compose/index.d.ts +164 -0
- package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +164 -0
- package/types/components/multi-cascader-compose/src/props.d.ts +40 -0
- package/types/components/multi-cascader-compose/types.d.ts +10 -0
- package/types/components/over-tooltips/index.d.ts +35 -0
- package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/types/components/search-filter/index.d.ts +222 -0
- package/types/components/search-filter/src/search-filter.d.ts +77 -0
- package/types/components/search-filter/src/search-filter.vue.d.ts +221 -0
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +89 -0
- package/types/components/shops-filter/index.d.ts +99 -0
- package/types/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/types/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
- package/types/components/staffs-selector/index.d.ts +109 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
- package/types/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/types/components/timeline/index.d.ts +107 -0
- package/types/components/timeline/src/props.d.ts +24 -0
- package/types/components/timeline/src/timeline-item.vue.d.ts +65 -0
- package/types/components/timeline/src/timeline.vue.d.ts +42 -0
- package/types/components/upload/index.d.ts +136 -0
- package/types/components/upload/src/icons.d.ts +13 -0
- package/types/components/upload/src/upload.vue.d.ts +135 -0
- package/types/components/upload/utils/index.d.ts +7 -0
- package/types/index.d.ts +6 -0
- package/types/utils/bm-admin-ui-resolver.d.ts +9 -0
- package/types/utils/vxe-table.d.ts +6 -0
- package/types/utils/with-install.d.ts +3 -0
- package/es/components/form-create/index.js +0 -2769
- package/es/utils/uniqueId.js +0 -5
- package/lib/components/form-create/index.js +0 -2781
- package/lib/utils/uniqueId.js +0 -8
- package/theme-chalk/form-create.css +0 -1
- package/theme-chalk/form-designer.css +0 -1
|
@@ -0,0 +1,307 @@
|
|
|
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
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
AButton: {
|
|
24
|
+
new (...args: any[]): {
|
|
25
|
+
$: import("vue").ComponentInternalInstance;
|
|
26
|
+
$data: {};
|
|
27
|
+
$props: Partial<{
|
|
28
|
+
block: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
loading: boolean | {
|
|
31
|
+
delay?: number | undefined;
|
|
32
|
+
};
|
|
33
|
+
ghost: boolean;
|
|
34
|
+
danger: boolean;
|
|
35
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
36
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
prefixCls: StringConstructor;
|
|
38
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
39
|
+
htmlType: {
|
|
40
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
shape: {
|
|
44
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
45
|
+
};
|
|
46
|
+
size: {
|
|
47
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
48
|
+
};
|
|
49
|
+
loading: {
|
|
50
|
+
type: import("vue").PropType<boolean | {
|
|
51
|
+
delay?: number | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
default: () => boolean | {
|
|
54
|
+
delay?: number | undefined;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: any;
|
|
60
|
+
};
|
|
61
|
+
ghost: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: any;
|
|
64
|
+
};
|
|
65
|
+
block: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: any;
|
|
68
|
+
};
|
|
69
|
+
danger: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
74
|
+
href: StringConstructor;
|
|
75
|
+
target: StringConstructor;
|
|
76
|
+
title: StringConstructor;
|
|
77
|
+
onClick: {
|
|
78
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
79
|
+
};
|
|
80
|
+
onMousedown: {
|
|
81
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
82
|
+
};
|
|
83
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "htmlType" | "loading" | "disabled" | "ghost" | "block" | "danger">;
|
|
84
|
+
$attrs: {
|
|
85
|
+
[x: string]: unknown;
|
|
86
|
+
};
|
|
87
|
+
$refs: {
|
|
88
|
+
[x: string]: unknown;
|
|
89
|
+
};
|
|
90
|
+
$slots: Readonly<{
|
|
91
|
+
[name: string]: import("vue").Slot;
|
|
92
|
+
}>;
|
|
93
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
94
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
95
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
96
|
+
$el: any;
|
|
97
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
prefixCls: StringConstructor;
|
|
99
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
100
|
+
htmlType: {
|
|
101
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
shape: {
|
|
105
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
106
|
+
};
|
|
107
|
+
size: {
|
|
108
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
109
|
+
};
|
|
110
|
+
loading: {
|
|
111
|
+
type: import("vue").PropType<boolean | {
|
|
112
|
+
delay?: number | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
default: () => boolean | {
|
|
115
|
+
delay?: number | undefined;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
disabled: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: any;
|
|
121
|
+
};
|
|
122
|
+
ghost: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: any;
|
|
125
|
+
};
|
|
126
|
+
block: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: any;
|
|
129
|
+
};
|
|
130
|
+
danger: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: any;
|
|
133
|
+
};
|
|
134
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
135
|
+
href: StringConstructor;
|
|
136
|
+
target: StringConstructor;
|
|
137
|
+
title: StringConstructor;
|
|
138
|
+
onClick: {
|
|
139
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
140
|
+
};
|
|
141
|
+
onMousedown: {
|
|
142
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
143
|
+
};
|
|
144
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
145
|
+
block: boolean;
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
loading: boolean | {
|
|
148
|
+
delay?: number | undefined;
|
|
149
|
+
};
|
|
150
|
+
ghost: boolean;
|
|
151
|
+
danger: boolean;
|
|
152
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
153
|
+
}> & {
|
|
154
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
155
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
156
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
157
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
158
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
159
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
160
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
161
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
162
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
163
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
164
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
165
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
166
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
167
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
168
|
+
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;
|
|
169
|
+
};
|
|
170
|
+
$forceUpdate: () => void;
|
|
171
|
+
$nextTick: typeof import("vue").nextTick;
|
|
172
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
173
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
174
|
+
prefixCls: StringConstructor;
|
|
175
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
176
|
+
htmlType: {
|
|
177
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
180
|
+
shape: {
|
|
181
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
182
|
+
};
|
|
183
|
+
size: {
|
|
184
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
185
|
+
};
|
|
186
|
+
loading: {
|
|
187
|
+
type: import("vue").PropType<boolean | {
|
|
188
|
+
delay?: number | undefined;
|
|
189
|
+
}>;
|
|
190
|
+
default: () => boolean | {
|
|
191
|
+
delay?: number | undefined;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
disabled: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: any;
|
|
197
|
+
};
|
|
198
|
+
ghost: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: any;
|
|
201
|
+
};
|
|
202
|
+
block: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: any;
|
|
205
|
+
};
|
|
206
|
+
danger: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: any;
|
|
209
|
+
};
|
|
210
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
211
|
+
href: StringConstructor;
|
|
212
|
+
target: StringConstructor;
|
|
213
|
+
title: StringConstructor;
|
|
214
|
+
onClick: {
|
|
215
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
216
|
+
};
|
|
217
|
+
onMousedown: {
|
|
218
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
219
|
+
};
|
|
220
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
221
|
+
__isFragment?: undefined;
|
|
222
|
+
__isTeleport?: undefined;
|
|
223
|
+
__isSuspense?: undefined;
|
|
224
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
225
|
+
prefixCls: StringConstructor;
|
|
226
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
227
|
+
htmlType: {
|
|
228
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
229
|
+
default: string;
|
|
230
|
+
};
|
|
231
|
+
shape: {
|
|
232
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
233
|
+
};
|
|
234
|
+
size: {
|
|
235
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
236
|
+
};
|
|
237
|
+
loading: {
|
|
238
|
+
type: import("vue").PropType<boolean | {
|
|
239
|
+
delay?: number | undefined;
|
|
240
|
+
}>;
|
|
241
|
+
default: () => boolean | {
|
|
242
|
+
delay?: number | undefined;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
disabled: {
|
|
246
|
+
type: BooleanConstructor;
|
|
247
|
+
default: any;
|
|
248
|
+
};
|
|
249
|
+
ghost: {
|
|
250
|
+
type: BooleanConstructor;
|
|
251
|
+
default: any;
|
|
252
|
+
};
|
|
253
|
+
block: {
|
|
254
|
+
type: BooleanConstructor;
|
|
255
|
+
default: any;
|
|
256
|
+
};
|
|
257
|
+
danger: {
|
|
258
|
+
type: BooleanConstructor;
|
|
259
|
+
default: any;
|
|
260
|
+
};
|
|
261
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
262
|
+
href: StringConstructor;
|
|
263
|
+
target: StringConstructor;
|
|
264
|
+
title: StringConstructor;
|
|
265
|
+
onClick: {
|
|
266
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
267
|
+
};
|
|
268
|
+
onMousedown: {
|
|
269
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
270
|
+
};
|
|
271
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
272
|
+
block: boolean;
|
|
273
|
+
disabled: boolean;
|
|
274
|
+
loading: boolean | {
|
|
275
|
+
delay?: number | undefined;
|
|
276
|
+
};
|
|
277
|
+
ghost: boolean;
|
|
278
|
+
danger: boolean;
|
|
279
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
280
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
281
|
+
readonly Group: import("vue").DefineComponent<{
|
|
282
|
+
prefixCls: StringConstructor;
|
|
283
|
+
size: {
|
|
284
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
285
|
+
};
|
|
286
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
287
|
+
prefixCls: StringConstructor;
|
|
288
|
+
size: {
|
|
289
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonSize>;
|
|
290
|
+
};
|
|
291
|
+
}>>, {}>;
|
|
292
|
+
};
|
|
293
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
294
|
+
size: {
|
|
295
|
+
type: StringConstructor;
|
|
296
|
+
default: string;
|
|
297
|
+
};
|
|
298
|
+
type: {
|
|
299
|
+
type: StringConstructor;
|
|
300
|
+
default: string;
|
|
301
|
+
};
|
|
302
|
+
}>>, {
|
|
303
|
+
type: string;
|
|
304
|
+
size: string;
|
|
305
|
+
}>>;
|
|
306
|
+
export { BmButton };
|
|
307
|
+
export default BmButton;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const buttonProps: {
|
|
3
|
+
size: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
type: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare type ButtonProps = ExtractPropTypes<typeof buttonProps>;
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import type { SizeType } from 'ant-design-vue/lib/config-provider';
|
|
2
|
+
import type { ButtonType } from 'ant-design-vue/lib/button';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
size: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
type: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
size: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
type: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
23
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
24
|
+
}>>;
|
|
25
|
+
AButton: {
|
|
26
|
+
new (...args: any[]): {
|
|
27
|
+
$: import("vue").ComponentInternalInstance;
|
|
28
|
+
$data: {};
|
|
29
|
+
$props: Partial<{
|
|
30
|
+
block: boolean;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
loading: boolean | {
|
|
33
|
+
delay?: number | undefined;
|
|
34
|
+
};
|
|
35
|
+
ghost: boolean;
|
|
36
|
+
danger: boolean;
|
|
37
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
38
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
prefixCls: StringConstructor;
|
|
40
|
+
type: import("vue").PropType<ButtonType>;
|
|
41
|
+
htmlType: {
|
|
42
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
shape: {
|
|
46
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
47
|
+
};
|
|
48
|
+
size: {
|
|
49
|
+
type: import("vue").PropType<SizeType>;
|
|
50
|
+
};
|
|
51
|
+
loading: {
|
|
52
|
+
type: import("vue").PropType<boolean | {
|
|
53
|
+
delay?: number | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
default: () => boolean | {
|
|
56
|
+
delay?: number | undefined;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: any;
|
|
62
|
+
};
|
|
63
|
+
ghost: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: any;
|
|
66
|
+
};
|
|
67
|
+
block: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: any;
|
|
70
|
+
};
|
|
71
|
+
danger: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: any;
|
|
74
|
+
};
|
|
75
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
76
|
+
href: StringConstructor;
|
|
77
|
+
target: StringConstructor;
|
|
78
|
+
title: StringConstructor;
|
|
79
|
+
onClick: {
|
|
80
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
81
|
+
};
|
|
82
|
+
onMousedown: {
|
|
83
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
84
|
+
};
|
|
85
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "htmlType" | "loading" | "disabled" | "ghost" | "block" | "danger">;
|
|
86
|
+
$attrs: {
|
|
87
|
+
[x: string]: unknown;
|
|
88
|
+
};
|
|
89
|
+
$refs: {
|
|
90
|
+
[x: string]: unknown;
|
|
91
|
+
};
|
|
92
|
+
$slots: Readonly<{
|
|
93
|
+
[name: string]: import("vue").Slot;
|
|
94
|
+
}>;
|
|
95
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
96
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
97
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
98
|
+
$el: any;
|
|
99
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
100
|
+
prefixCls: StringConstructor;
|
|
101
|
+
type: import("vue").PropType<ButtonType>;
|
|
102
|
+
htmlType: {
|
|
103
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
shape: {
|
|
107
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
108
|
+
};
|
|
109
|
+
size: {
|
|
110
|
+
type: import("vue").PropType<SizeType>;
|
|
111
|
+
};
|
|
112
|
+
loading: {
|
|
113
|
+
type: import("vue").PropType<boolean | {
|
|
114
|
+
delay?: number | undefined;
|
|
115
|
+
}>;
|
|
116
|
+
default: () => boolean | {
|
|
117
|
+
delay?: number | undefined;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
disabled: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: any;
|
|
123
|
+
};
|
|
124
|
+
ghost: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
block: {
|
|
129
|
+
type: BooleanConstructor;
|
|
130
|
+
default: any;
|
|
131
|
+
};
|
|
132
|
+
danger: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: any;
|
|
135
|
+
};
|
|
136
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
137
|
+
href: StringConstructor;
|
|
138
|
+
target: StringConstructor;
|
|
139
|
+
title: StringConstructor;
|
|
140
|
+
onClick: {
|
|
141
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
142
|
+
};
|
|
143
|
+
onMousedown: {
|
|
144
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
145
|
+
};
|
|
146
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
147
|
+
block: boolean;
|
|
148
|
+
disabled: boolean;
|
|
149
|
+
loading: boolean | {
|
|
150
|
+
delay?: number | undefined;
|
|
151
|
+
};
|
|
152
|
+
ghost: boolean;
|
|
153
|
+
danger: boolean;
|
|
154
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
155
|
+
}> & {
|
|
156
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
157
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
158
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
159
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
160
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
161
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
162
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
163
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
164
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
165
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
166
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
167
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
168
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
169
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
170
|
+
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;
|
|
171
|
+
};
|
|
172
|
+
$forceUpdate: () => void;
|
|
173
|
+
$nextTick: typeof import("vue").nextTick;
|
|
174
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
175
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
176
|
+
prefixCls: StringConstructor;
|
|
177
|
+
type: import("vue").PropType<ButtonType>;
|
|
178
|
+
htmlType: {
|
|
179
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
180
|
+
default: string;
|
|
181
|
+
};
|
|
182
|
+
shape: {
|
|
183
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
184
|
+
};
|
|
185
|
+
size: {
|
|
186
|
+
type: import("vue").PropType<SizeType>;
|
|
187
|
+
};
|
|
188
|
+
loading: {
|
|
189
|
+
type: import("vue").PropType<boolean | {
|
|
190
|
+
delay?: number | undefined;
|
|
191
|
+
}>;
|
|
192
|
+
default: () => boolean | {
|
|
193
|
+
delay?: number | undefined;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
disabled: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: any;
|
|
199
|
+
};
|
|
200
|
+
ghost: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: any;
|
|
203
|
+
};
|
|
204
|
+
block: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: any;
|
|
207
|
+
};
|
|
208
|
+
danger: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: any;
|
|
211
|
+
};
|
|
212
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
213
|
+
href: StringConstructor;
|
|
214
|
+
target: StringConstructor;
|
|
215
|
+
title: StringConstructor;
|
|
216
|
+
onClick: {
|
|
217
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
218
|
+
};
|
|
219
|
+
onMousedown: {
|
|
220
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
221
|
+
};
|
|
222
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
223
|
+
__isFragment?: undefined;
|
|
224
|
+
__isTeleport?: undefined;
|
|
225
|
+
__isSuspense?: undefined;
|
|
226
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
227
|
+
prefixCls: StringConstructor;
|
|
228
|
+
type: import("vue").PropType<ButtonType>;
|
|
229
|
+
htmlType: {
|
|
230
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType>;
|
|
231
|
+
default: string;
|
|
232
|
+
};
|
|
233
|
+
shape: {
|
|
234
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
235
|
+
};
|
|
236
|
+
size: {
|
|
237
|
+
type: import("vue").PropType<SizeType>;
|
|
238
|
+
};
|
|
239
|
+
loading: {
|
|
240
|
+
type: import("vue").PropType<boolean | {
|
|
241
|
+
delay?: number | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
default: () => boolean | {
|
|
244
|
+
delay?: number | undefined;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
disabled: {
|
|
248
|
+
type: BooleanConstructor;
|
|
249
|
+
default: any;
|
|
250
|
+
};
|
|
251
|
+
ghost: {
|
|
252
|
+
type: BooleanConstructor;
|
|
253
|
+
default: any;
|
|
254
|
+
};
|
|
255
|
+
block: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: any;
|
|
258
|
+
};
|
|
259
|
+
danger: {
|
|
260
|
+
type: BooleanConstructor;
|
|
261
|
+
default: any;
|
|
262
|
+
};
|
|
263
|
+
icon: import("vue-types").VueTypeValidableDef<any>;
|
|
264
|
+
href: StringConstructor;
|
|
265
|
+
target: StringConstructor;
|
|
266
|
+
title: StringConstructor;
|
|
267
|
+
onClick: {
|
|
268
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
269
|
+
};
|
|
270
|
+
onMousedown: {
|
|
271
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
|
272
|
+
};
|
|
273
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
274
|
+
block: boolean;
|
|
275
|
+
disabled: boolean;
|
|
276
|
+
loading: boolean | {
|
|
277
|
+
delay?: number | undefined;
|
|
278
|
+
};
|
|
279
|
+
ghost: boolean;
|
|
280
|
+
danger: boolean;
|
|
281
|
+
htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
|
|
282
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
283
|
+
readonly Group: import("vue").DefineComponent<{
|
|
284
|
+
prefixCls: StringConstructor;
|
|
285
|
+
size: {
|
|
286
|
+
type: import("vue").PropType<SizeType>;
|
|
287
|
+
};
|
|
288
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
289
|
+
prefixCls: StringConstructor;
|
|
290
|
+
size: {
|
|
291
|
+
type: import("vue").PropType<SizeType>;
|
|
292
|
+
};
|
|
293
|
+
}>>, {}>;
|
|
294
|
+
};
|
|
295
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
296
|
+
size: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
type: {
|
|
301
|
+
type: StringConstructor;
|
|
302
|
+
default: string;
|
|
303
|
+
};
|
|
304
|
+
}>>, {
|
|
305
|
+
type: string;
|
|
306
|
+
size: string;
|
|
307
|
+
}>;
|
|
308
|
+
export default _default;
|