bm-admin-ui 1.0.40-alpha → 1.0.42-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/attachment/index.d.ts +70 -0
- package/es/components/attachment/index.js +273 -0
- package/es/components/attachment/src/attachment.vue.d.ts +69 -0
- 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 +12549 -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/__test__/index.test.d.ts +1 -0
- 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 +59 -27
- package/es/components/form-designer/index.js +42 -9
- package/es/components/index.d.ts +3 -0
- package/es/components/index.js +3 -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 +212 -169
- package/es/components/upload/src/props.d.ts +50 -0
- package/es/components/upload/src/upload.vue.d.ts +44 -11
- package/es/utils/with-install.d.ts +7 -1
- package/es/utils/with-install.js +1 -0
- package/index.esm.js +81686 -71590
- package/index.js +81685 -71586
- package/lib/components/attachment/index.d.ts +70 -0
- package/lib/components/attachment/index.js +278 -0
- package/lib/components/attachment/src/attachment.vue.d.ts +69 -0
- 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 +12554 -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/__test__/index.test.d.ts +1 -0
- 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 +59 -27
- package/lib/components/form-designer/index.js +42 -9
- package/lib/components/index.d.ts +3 -0
- package/lib/components/index.js +21 -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 +210 -167
- package/lib/components/upload/src/props.d.ts +50 -0
- package/lib/components/upload/src/upload.vue.d.ts +44 -11
- package/lib/utils/with-install.d.ts +7 -1
- package/lib/utils/with-install.js +1 -0
- package/package.json +1 -1
- package/theme-chalk/attachment.css +1 -0
- package/theme-chalk/breadcrumb.css +1 -0
- package/theme-chalk/editor.css +16 -0
- 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/attachment/index.d.ts +70 -0
- package/types/components/attachment/src/attachment.vue.d.ts +69 -0
- 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/__test__/index.test.d.ts +1 -0
- 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 +3 -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/with-install.d.ts +7 -1
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var withInstall = require('bm-admin-ui/lib/utils/with-install');
|
|
6
|
+
var vue = require('vue');
|
|
7
|
+
var ABreadcrumb = require('ant-design-vue/lib/breadcrumb');
|
|
8
|
+
var ABreadcrumbItem = require('ant-design-vue/lib/breadcrumb/BreadcrumbItem');
|
|
9
|
+
require('@vue/devtools-api');
|
|
10
|
+
|
|
11
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
|
+
|
|
13
|
+
var ABreadcrumb__default = /*#__PURE__*/_interopDefaultLegacy(ABreadcrumb);
|
|
14
|
+
var ABreadcrumbItem__default = /*#__PURE__*/_interopDefaultLegacy(ABreadcrumbItem);
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
* vue-router v4.1.6
|
|
18
|
+
* (c) 2022 Eduardo San Martin Morote
|
|
19
|
+
* @license MIT
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
var NavigationType;
|
|
23
|
+
(function (NavigationType) {
|
|
24
|
+
NavigationType["pop"] = "pop";
|
|
25
|
+
NavigationType["push"] = "push";
|
|
26
|
+
})(NavigationType || (NavigationType = {}));
|
|
27
|
+
var NavigationDirection;
|
|
28
|
+
(function (NavigationDirection) {
|
|
29
|
+
NavigationDirection["back"] = "back";
|
|
30
|
+
NavigationDirection["forward"] = "forward";
|
|
31
|
+
NavigationDirection["unknown"] = "";
|
|
32
|
+
})(NavigationDirection || (NavigationDirection = {}));
|
|
33
|
+
|
|
34
|
+
Symbol((process.env.NODE_ENV !== 'production') ? 'navigation failure' : '');
|
|
35
|
+
/**
|
|
36
|
+
* Enumeration with all possible types for navigation failures. Can be passed to
|
|
37
|
+
* {@link isNavigationFailure} to check for specific failures.
|
|
38
|
+
*/
|
|
39
|
+
var NavigationFailureType;
|
|
40
|
+
(function (NavigationFailureType) {
|
|
41
|
+
/**
|
|
42
|
+
* An aborted navigation is a navigation that failed because a navigation
|
|
43
|
+
* guard returned `false` or called `next(false)`
|
|
44
|
+
*/
|
|
45
|
+
NavigationFailureType[NavigationFailureType["aborted"] = 4] = "aborted";
|
|
46
|
+
/**
|
|
47
|
+
* A cancelled navigation is a navigation that failed because a more recent
|
|
48
|
+
* navigation finished started (not necessarily finished).
|
|
49
|
+
*/
|
|
50
|
+
NavigationFailureType[NavigationFailureType["cancelled"] = 8] = "cancelled";
|
|
51
|
+
/**
|
|
52
|
+
* A duplicated navigation is a navigation that failed because it was
|
|
53
|
+
* initiated while already being at the exact same location.
|
|
54
|
+
*/
|
|
55
|
+
NavigationFailureType[NavigationFailureType["duplicated"] = 16] = "duplicated";
|
|
56
|
+
})(NavigationFailureType || (NavigationFailureType = {}));
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* RouteRecord being rendered by the closest ancestor Router View. Used for
|
|
60
|
+
* `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
|
|
61
|
+
* Location Matched
|
|
62
|
+
*
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
Symbol((process.env.NODE_ENV !== 'production') ? 'router view location matched' : '');
|
|
66
|
+
/**
|
|
67
|
+
* Allows overriding the router view depth to control which component in
|
|
68
|
+
* `matched` is rendered. rvd stands for Router View Depth
|
|
69
|
+
*
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
Symbol((process.env.NODE_ENV !== 'production') ? 'router view depth' : '');
|
|
73
|
+
/**
|
|
74
|
+
* Allows overriding the router instance returned by `useRouter` in tests. r
|
|
75
|
+
* stands for router
|
|
76
|
+
*
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
const routerKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router' : '');
|
|
80
|
+
/**
|
|
81
|
+
* Allows overriding the current route returned by `useRoute` in tests. rl
|
|
82
|
+
* stands for route location
|
|
83
|
+
*
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
Symbol((process.env.NODE_ENV !== 'production') ? 'route location' : '');
|
|
87
|
+
/**
|
|
88
|
+
* Allows overriding the current route used by router-view. Internally this is
|
|
89
|
+
* used when the `route` prop is passed.
|
|
90
|
+
*
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
Symbol((process.env.NODE_ENV !== 'production') ? 'router view location' : '');
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Returns the router instance. Equivalent to using `$router` inside
|
|
97
|
+
* templates.
|
|
98
|
+
*/
|
|
99
|
+
function useRouter() {
|
|
100
|
+
return vue.inject(routerKey);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
var _export_sfc = (sfc, props) => {
|
|
104
|
+
const target = sfc.__vccOpts || sfc;
|
|
105
|
+
for (const [key, val] of props) {
|
|
106
|
+
target[key] = val;
|
|
107
|
+
}
|
|
108
|
+
return target;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const _hoisted_1 = ["onClick"];
|
|
112
|
+
const _hoisted_2 = {
|
|
113
|
+
key: 1,
|
|
114
|
+
class: "link"
|
|
115
|
+
};
|
|
116
|
+
const __default__ = {
|
|
117
|
+
name: "BmBreadcrumb"
|
|
118
|
+
};
|
|
119
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
120
|
+
...__default__,
|
|
121
|
+
props: {
|
|
122
|
+
path: {
|
|
123
|
+
type: Array,
|
|
124
|
+
required: true
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
emits: ["back"],
|
|
128
|
+
setup(__props, { emit }) {
|
|
129
|
+
const props = __props;
|
|
130
|
+
const router = useRouter();
|
|
131
|
+
const handleJump = (path, backFn) => {
|
|
132
|
+
console.log(path);
|
|
133
|
+
if (!path)
|
|
134
|
+
return;
|
|
135
|
+
if (backFn)
|
|
136
|
+
return emit("back", path);
|
|
137
|
+
console.log(path);
|
|
138
|
+
router.push(path);
|
|
139
|
+
};
|
|
140
|
+
return (_ctx, _cache) => {
|
|
141
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ABreadcrumb__default["default"]), { class: "breadcrumb" }, {
|
|
142
|
+
default: vue.withCtx(() => [
|
|
143
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.path, (item, index) => {
|
|
144
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ABreadcrumbItem__default["default"]), {
|
|
145
|
+
key: item.url
|
|
146
|
+
}, {
|
|
147
|
+
default: vue.withCtx(() => [
|
|
148
|
+
index < __props.path.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
149
|
+
key: 0,
|
|
150
|
+
class: "link",
|
|
151
|
+
onClick: ($event) => handleJump(item.url, item.backFn)
|
|
152
|
+
}, vue.toDisplayString(item.name), 9, _hoisted_1)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(item.name), 1))
|
|
153
|
+
]),
|
|
154
|
+
_: 2
|
|
155
|
+
}, 1024);
|
|
156
|
+
}), 128))
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
});
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "breadcrumb.vue"]]);
|
|
164
|
+
|
|
165
|
+
const BmBreadcrumb = withInstall.withInstall(Breadcrumb);
|
|
166
|
+
|
|
167
|
+
exports.BmBreadcrumb = BmBreadcrumb;
|
|
168
|
+
exports["default"] = BmBreadcrumb;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
path: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
emit: (event: "back", ...args: any[]) => void;
|
|
8
|
+
router: import("vue-router").Router;
|
|
9
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
path: {
|
|
11
|
+
type: any;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>> & {
|
|
15
|
+
onBack?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>>;
|
|
17
|
+
handleJump: (path: any, backFn: any) => void;
|
|
18
|
+
ABreadcrumb: {
|
|
19
|
+
new (...args: any[]): {
|
|
20
|
+
$: import("vue").ComponentInternalInstance;
|
|
21
|
+
$data: {};
|
|
22
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
prefixCls: StringConstructor;
|
|
24
|
+
routes: {
|
|
25
|
+
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
26
|
+
};
|
|
27
|
+
params: import("vue-types").VueTypeValidableDef<any>;
|
|
28
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
29
|
+
itemRender: {
|
|
30
|
+
type: import("vue").PropType<(opt: {
|
|
31
|
+
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
32
|
+
params: unknown;
|
|
33
|
+
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
34
|
+
paths: string[];
|
|
35
|
+
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
36
|
+
};
|
|
37
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
38
|
+
$attrs: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
$refs: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
$slots: Readonly<{
|
|
45
|
+
[name: string]: import("vue").Slot;
|
|
46
|
+
}>;
|
|
47
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
48
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
49
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
50
|
+
$el: any;
|
|
51
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
prefixCls: StringConstructor;
|
|
53
|
+
routes: {
|
|
54
|
+
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
55
|
+
};
|
|
56
|
+
params: import("vue-types").VueTypeValidableDef<any>;
|
|
57
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
58
|
+
itemRender: {
|
|
59
|
+
type: import("vue").PropType<(opt: {
|
|
60
|
+
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
61
|
+
params: unknown;
|
|
62
|
+
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
63
|
+
paths: string[];
|
|
64
|
+
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
65
|
+
};
|
|
66
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
|
|
67
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
68
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
69
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
70
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
71
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
72
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
73
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
74
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
75
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
76
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
77
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
78
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
79
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
80
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
|
|
81
|
+
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;
|
|
82
|
+
};
|
|
83
|
+
$forceUpdate: () => void;
|
|
84
|
+
$nextTick: typeof import("vue").nextTick;
|
|
85
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
86
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
prefixCls: StringConstructor;
|
|
88
|
+
routes: {
|
|
89
|
+
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
90
|
+
};
|
|
91
|
+
params: import("vue-types").VueTypeValidableDef<any>;
|
|
92
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
93
|
+
itemRender: {
|
|
94
|
+
type: import("vue").PropType<(opt: {
|
|
95
|
+
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
96
|
+
params: unknown;
|
|
97
|
+
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
98
|
+
paths: string[];
|
|
99
|
+
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
100
|
+
};
|
|
101
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
102
|
+
__isFragment?: undefined;
|
|
103
|
+
__isTeleport?: undefined;
|
|
104
|
+
__isSuspense?: undefined;
|
|
105
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
106
|
+
prefixCls: StringConstructor;
|
|
107
|
+
routes: {
|
|
108
|
+
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
109
|
+
};
|
|
110
|
+
params: import("vue-types").VueTypeValidableDef<any>;
|
|
111
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
112
|
+
itemRender: {
|
|
113
|
+
type: import("vue").PropType<(opt: {
|
|
114
|
+
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
115
|
+
params: unknown;
|
|
116
|
+
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
117
|
+
paths: string[];
|
|
118
|
+
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
119
|
+
};
|
|
120
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
121
|
+
readonly Item: import("vue").DefineComponent<{
|
|
122
|
+
prefixCls: StringConstructor;
|
|
123
|
+
href: StringConstructor;
|
|
124
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
125
|
+
overlay: import("vue-types").VueTypeValidableDef<any>;
|
|
126
|
+
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
127
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
128
|
+
prefixCls: StringConstructor;
|
|
129
|
+
href: StringConstructor;
|
|
130
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
131
|
+
overlay: import("vue-types").VueTypeValidableDef<any>;
|
|
132
|
+
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
133
|
+
}>>, {}>;
|
|
134
|
+
readonly Separator: import("vue").DefineComponent<{
|
|
135
|
+
prefixCls: StringConstructor;
|
|
136
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
137
|
+
prefixCls: StringConstructor;
|
|
138
|
+
}>>, {}>;
|
|
139
|
+
};
|
|
140
|
+
ABreadcrumbItem: import("vue").DefineComponent<{
|
|
141
|
+
prefixCls: StringConstructor;
|
|
142
|
+
href: StringConstructor;
|
|
143
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
144
|
+
overlay: import("vue-types").VueTypeValidableDef<any>;
|
|
145
|
+
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
146
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
147
|
+
prefixCls: StringConstructor;
|
|
148
|
+
href: StringConstructor;
|
|
149
|
+
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
150
|
+
overlay: import("vue-types").VueTypeValidableDef<any>;
|
|
151
|
+
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
152
|
+
}>>, {}>;
|
|
153
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "back"[], "back", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
154
|
+
path: {
|
|
155
|
+
type: any;
|
|
156
|
+
required: true;
|
|
157
|
+
};
|
|
158
|
+
}>> & {
|
|
159
|
+
onBack?: ((...args: any[]) => any) | undefined;
|
|
160
|
+
}, {}>;
|
|
161
|
+
export default _default;
|
|
@@ -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;
|