bm-admin-ui 1.0.0-alpha → 1.0.1-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 +9 -9
- package/es/components/button/index.js +1 -1
- package/es/components/button/src/button.vue.d.ts +9 -9
- package/es/components/float-table/index.d.ts +5 -0
- package/es/components/float-table/index.js +448 -0
- package/es/components/float-table/src/float-table.vue.d.ts +500 -0
- package/es/components/flow-designer/index.js +1 -1
- package/es/components/form-designer/index.js +1 -1
- package/es/components/index.d.ts +7 -0
- package/es/components/index.js +7 -0
- package/es/components/multi-cascader-compose/index.d.ts +135 -0
- package/es/components/multi-cascader-compose/index.js +1699 -0
- package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +135 -0
- package/es/components/multi-cascader-compose/src/props.d.ts +32 -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 +117 -0
- package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/es/components/search-filter/index.d.ts +1 -1
- package/es/components/search-filter/index.js +593 -29
- package/es/components/search-filter/src/search-filter.vue.d.ts +1 -1
- package/es/components/shops-filter/index.d.ts +99 -0
- package/es/components/shops-filter/index.js +1614 -0
- 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 +82 -0
- package/es/components/staffs-selector/index.js +1991 -0
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +79 -0
- package/es/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +81 -0
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/es/components/timeline/index.d.ts +93 -0
- package/es/components/timeline/index.js +164 -0
- package/es/components/timeline/src/props.d.ts +20 -0
- package/es/components/timeline/src/timeline-item.vue.d.ts +51 -0
- package/es/components/timeline/src/timeline.vue.d.ts +42 -0
- package/es/components/upload/index.d.ts +126 -0
- package/es/components/upload/index.js +1839 -0
- package/es/components/upload/src/icons.d.ts +13 -0
- package/es/components/upload/src/upload.vue.d.ts +125 -0
- package/es/components/upload/utils/index.d.ts +7 -0
- package/index.esm.js +62925 -1235
- package/index.js +63078 -1380
- package/lib/components/button/index.d.ts +9 -9
- package/lib/components/button/index.js +1 -1
- package/lib/components/button/src/button.vue.d.ts +9 -9
- package/lib/components/float-table/index.d.ts +5 -0
- package/lib/components/float-table/index.js +459 -0
- package/lib/components/float-table/src/float-table.vue.d.ts +500 -0
- package/lib/components/flow-designer/index.js +1 -1
- package/lib/components/form-designer/index.js +1 -1
- package/lib/components/index.d.ts +7 -0
- package/lib/components/index.js +49 -0
- package/lib/components/multi-cascader-compose/index.d.ts +135 -0
- package/lib/components/multi-cascader-compose/index.js +1704 -0
- package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +135 -0
- package/lib/components/multi-cascader-compose/src/props.d.ts +32 -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 +122 -0
- package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/lib/components/search-filter/index.d.ts +1 -1
- package/lib/components/search-filter/index.js +592 -28
- package/lib/components/search-filter/src/search-filter.vue.d.ts +1 -1
- package/lib/components/shops-filter/index.d.ts +99 -0
- package/lib/components/shops-filter/index.js +1626 -0
- 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 +82 -0
- package/lib/components/staffs-selector/index.js +2005 -0
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +79 -0
- package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +81 -0
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/lib/components/timeline/index.d.ts +93 -0
- package/lib/components/timeline/index.js +170 -0
- package/lib/components/timeline/src/props.d.ts +20 -0
- package/lib/components/timeline/src/timeline-item.vue.d.ts +51 -0
- package/lib/components/timeline/src/timeline.vue.d.ts +42 -0
- package/lib/components/upload/index.d.ts +126 -0
- package/lib/components/upload/index.js +1844 -0
- package/lib/components/upload/src/icons.d.ts +13 -0
- package/lib/components/upload/src/upload.vue.d.ts +125 -0
- package/lib/components/upload/utils/index.d.ts +7 -0
- package/package.json +6 -3
- package/theme-chalk/button.css +1 -1
- package/theme-chalk/float-table.css +1 -0
- package/theme-chalk/floating-vue.css +1 -0
- package/theme-chalk/flow-designer.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/multi-cascader-compose.css +1 -0
- package/theme-chalk/over-tooltips.css +1 -0
- package/theme-chalk/search-filter.css +1 -1
- package/theme-chalk/shops-filter.css +1 -0
- package/theme-chalk/staffs-selector.css +1 -0
- package/theme-chalk/timeline.css +1 -0
- package/theme-chalk/upload.css +1 -0
- package/types/components/button/index.d.ts +9 -9
- package/types/components/button/src/button.vue.d.ts +9 -9
- package/types/components/float-table/index.d.ts +5 -0
- package/types/components/float-table/src/float-table.vue.d.ts +500 -0
- package/types/components/index.d.ts +7 -0
- package/types/components/multi-cascader-compose/index.d.ts +135 -0
- package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +135 -0
- package/types/components/multi-cascader-compose/src/props.d.ts +32 -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 +1 -1
- package/types/components/search-filter/src/search-filter.vue.d.ts +1 -1
- 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 +82 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +79 -0
- package/types/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +81 -0
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/types/components/timeline/index.d.ts +93 -0
- package/types/components/timeline/src/props.d.ts +20 -0
- package/types/components/timeline/src/timeline-item.vue.d.ts +51 -0
- package/types/components/timeline/src/timeline.vue.d.ts +42 -0
- package/types/components/upload/index.d.ts +126 -0
- package/types/components/upload/src/icons.d.ts +13 -0
- package/types/components/upload/src/upload.vue.d.ts +125 -0
- package/types/components/upload/utils/index.d.ts +7 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare const BmStaffsSelector: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
visible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
mode: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
limit: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
load: {
|
|
19
|
+
type: FunctionConstructor;
|
|
20
|
+
default: () => Promise<never[]>;
|
|
21
|
+
};
|
|
22
|
+
select: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
defualt: () => never[];
|
|
25
|
+
};
|
|
26
|
+
forceStatic: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
list: import("vue").Ref<any[]>;
|
|
32
|
+
selected: import("vue").Ref<any>;
|
|
33
|
+
dataMap: import("vue").Ref<Map<any, any>>;
|
|
34
|
+
curlistKeys: import("vue").Ref<Set<unknown>>;
|
|
35
|
+
multipTree: import("vue").Ref<boolean>;
|
|
36
|
+
width: import("vue").Ref<648 | 480>;
|
|
37
|
+
modalCancel(): void;
|
|
38
|
+
fetch(params: any): void;
|
|
39
|
+
flatListFunc(list: any): Map<any, any>;
|
|
40
|
+
summitSelect(): void;
|
|
41
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "update:select")[], "update:visible" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
visible: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
mode: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
limit: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
title: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
load: {
|
|
59
|
+
type: FunctionConstructor;
|
|
60
|
+
default: () => Promise<never[]>;
|
|
61
|
+
};
|
|
62
|
+
select: {
|
|
63
|
+
type: ArrayConstructor;
|
|
64
|
+
defualt: () => never[];
|
|
65
|
+
};
|
|
66
|
+
forceStatic: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
title: string;
|
|
75
|
+
visible: boolean;
|
|
76
|
+
mode: string;
|
|
77
|
+
limit: number;
|
|
78
|
+
load: Function;
|
|
79
|
+
forceStatic: boolean;
|
|
80
|
+
}>>;
|
|
81
|
+
export { BmStaffsSelector };
|
|
82
|
+
export default BmStaffsSelector;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
limit: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
list: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
selected: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
dataMap: {
|
|
15
|
+
type: MapConstructor;
|
|
16
|
+
default: () => Map<any, any>;
|
|
17
|
+
};
|
|
18
|
+
isTree: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
curlistKeys: {
|
|
23
|
+
type: SetConstructor;
|
|
24
|
+
default: () => Set<unknown>;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
changeAllOption(): void;
|
|
28
|
+
search(): void;
|
|
29
|
+
setState(): void;
|
|
30
|
+
deleteOption(key: any): void;
|
|
31
|
+
getSelectName(key: any): any;
|
|
32
|
+
searchVal: import("vue").Ref<string>;
|
|
33
|
+
selectAll: import("vue").Ref<boolean>;
|
|
34
|
+
indeterminate: import("vue").Ref<boolean>;
|
|
35
|
+
emptyPic: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}> | null | undefined)[]>;
|
|
40
|
+
listChecked: import("vue").Ref<{}>;
|
|
41
|
+
isFulfill: import("vue").Ref<boolean>;
|
|
42
|
+
departmentChecked: import("vue").Ref<any>;
|
|
43
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
limit: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
list: {
|
|
49
|
+
type: ArrayConstructor;
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
selected: {
|
|
53
|
+
type: ArrayConstructor;
|
|
54
|
+
default: () => never[];
|
|
55
|
+
};
|
|
56
|
+
dataMap: {
|
|
57
|
+
type: MapConstructor;
|
|
58
|
+
default: () => Map<any, any>;
|
|
59
|
+
};
|
|
60
|
+
isTree: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
curlistKeys: {
|
|
65
|
+
type: SetConstructor;
|
|
66
|
+
default: () => Set<unknown>;
|
|
67
|
+
};
|
|
68
|
+
}>> & {
|
|
69
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}, {
|
|
72
|
+
selected: unknown[];
|
|
73
|
+
list: unknown[];
|
|
74
|
+
limit: number;
|
|
75
|
+
dataMap: Map<unknown, unknown>;
|
|
76
|
+
isTree: boolean;
|
|
77
|
+
curlistKeys: Set<unknown>;
|
|
78
|
+
}>;
|
|
79
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
list: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => never[];
|
|
5
|
+
};
|
|
6
|
+
selected: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
searchVal: import("vue").Ref<string>;
|
|
12
|
+
emptyPic: import("ant-design-vue/lib/_util/type").VueNode;
|
|
13
|
+
search: () => void;
|
|
14
|
+
radioChange: (e: any) => void;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
list: {
|
|
17
|
+
type: ArrayConstructor;
|
|
18
|
+
default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
selected: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}>> & {
|
|
25
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
selected: string;
|
|
29
|
+
list: unknown[];
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
visible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
mode: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
limit: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
load: {
|
|
19
|
+
type: FunctionConstructor;
|
|
20
|
+
default: () => Promise<never[]>;
|
|
21
|
+
};
|
|
22
|
+
select: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
defualt: () => never[];
|
|
25
|
+
};
|
|
26
|
+
forceStatic: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
list: import("vue").Ref<any[]>;
|
|
32
|
+
selected: import("vue").Ref<any>;
|
|
33
|
+
dataMap: import("vue").Ref<Map<any, any>>;
|
|
34
|
+
curlistKeys: import("vue").Ref<Set<unknown>>;
|
|
35
|
+
multipTree: import("vue").Ref<boolean>;
|
|
36
|
+
width: import("vue").Ref<648 | 480>;
|
|
37
|
+
modalCancel(): void;
|
|
38
|
+
fetch(params: any): void;
|
|
39
|
+
flatListFunc(list: any): Map<any, any>;
|
|
40
|
+
summitSelect(): void;
|
|
41
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "update:select")[], "update:visible" | "update:select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
visible: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
mode: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
limit: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
title: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
load: {
|
|
59
|
+
type: FunctionConstructor;
|
|
60
|
+
default: () => Promise<never[]>;
|
|
61
|
+
};
|
|
62
|
+
select: {
|
|
63
|
+
type: ArrayConstructor;
|
|
64
|
+
defualt: () => never[];
|
|
65
|
+
};
|
|
66
|
+
forceStatic: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
"onUpdate:select"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
title: string;
|
|
75
|
+
visible: boolean;
|
|
76
|
+
mode: string;
|
|
77
|
+
limit: number;
|
|
78
|
+
load: Function;
|
|
79
|
+
forceStatic: boolean;
|
|
80
|
+
}>;
|
|
81
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
list: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: () => any;
|
|
5
|
+
};
|
|
6
|
+
selected: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
dataMap: {
|
|
11
|
+
type: MapConstructor;
|
|
12
|
+
default: () => Map<any, any>;
|
|
13
|
+
};
|
|
14
|
+
curlistKeys: {
|
|
15
|
+
type: SetConstructor;
|
|
16
|
+
default: () => Set<unknown>;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
deleteOption(key: any): void;
|
|
20
|
+
changeArea(item: any): void;
|
|
21
|
+
search(): void;
|
|
22
|
+
getSelectName(key: any): any;
|
|
23
|
+
emptyPic: import("ant-design-vue/lib/_util/type").VueNode;
|
|
24
|
+
activeKey: any;
|
|
25
|
+
searchVal: import("vue").Ref<string>;
|
|
26
|
+
staffsChecked: import("vue").Ref<{}>;
|
|
27
|
+
groupChecked: import("vue").Ref<{}>;
|
|
28
|
+
departmentChecked: any;
|
|
29
|
+
shopChecked: import("vue").Ref<{}>;
|
|
30
|
+
inputPlaceHolder: import("vue").ComputedRef<"请输入部门搜索" | "请输入工作组搜索" | "请输入店铺搜索" | "请输入人名搜索">;
|
|
31
|
+
areas: readonly {
|
|
32
|
+
readonly title: string;
|
|
33
|
+
readonly key: number;
|
|
34
|
+
readonly paramStr: string;
|
|
35
|
+
}[];
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "fetchList")[], "update:selected" | "fetchList", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
list: {
|
|
38
|
+
type: ArrayConstructor;
|
|
39
|
+
default: () => any;
|
|
40
|
+
};
|
|
41
|
+
selected: {
|
|
42
|
+
type: ArrayConstructor;
|
|
43
|
+
default: () => never[];
|
|
44
|
+
};
|
|
45
|
+
dataMap: {
|
|
46
|
+
type: MapConstructor;
|
|
47
|
+
default: () => Map<any, any>;
|
|
48
|
+
};
|
|
49
|
+
curlistKeys: {
|
|
50
|
+
type: SetConstructor;
|
|
51
|
+
default: () => Set<unknown>;
|
|
52
|
+
};
|
|
53
|
+
}>> & {
|
|
54
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
onFetchList?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
selected: unknown[];
|
|
58
|
+
list: unknown[];
|
|
59
|
+
dataMap: Map<unknown, unknown>;
|
|
60
|
+
curlistKeys: Set<unknown>;
|
|
61
|
+
}>;
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export type { TimelineProps, TimelineItemProps } from './src/props';
|
|
2
|
+
declare const BmTimeline: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
7
|
+
default: string;
|
|
8
|
+
} & {
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
17
|
+
default: string;
|
|
18
|
+
} & {
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
23
|
+
}>>;
|
|
24
|
+
labelWidth: import("vue").Ref<string>;
|
|
25
|
+
mode: import("vue").Ref<string>;
|
|
26
|
+
className: import("vue").ComputedRef<{
|
|
27
|
+
[x: string]: boolean;
|
|
28
|
+
'bm-timeline': boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
35
|
+
default: string;
|
|
36
|
+
} & {
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
}>>, {
|
|
40
|
+
mode: string;
|
|
41
|
+
labelWidth: string;
|
|
42
|
+
}>>;
|
|
43
|
+
declare const BmTimelineItem: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
44
|
+
color: import("vue-types").VueTypeDef<string> & {
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
dot: import("vue-types").VueTypeValidableDef<any>;
|
|
48
|
+
label: import("vue-types").VueTypeValidableDef<any>;
|
|
49
|
+
}, {
|
|
50
|
+
slots: Readonly<{
|
|
51
|
+
[name: string]: import("vue").Slot | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
color: import("vue-types").VueTypeDef<string> & {
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
dot: import("vue-types").VueTypeValidableDef<any>;
|
|
58
|
+
label: import("vue-types").VueTypeValidableDef<any>;
|
|
59
|
+
}>> & {
|
|
60
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
61
|
+
}>>;
|
|
62
|
+
labelWidth: import("vue").Ref<any>;
|
|
63
|
+
mode: import("vue").Ref<any>;
|
|
64
|
+
offsetStyle: import("vue").ComputedRef<{
|
|
65
|
+
left: string;
|
|
66
|
+
right?: undefined;
|
|
67
|
+
} | {
|
|
68
|
+
right: string;
|
|
69
|
+
left?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
left?: undefined;
|
|
72
|
+
right?: undefined;
|
|
73
|
+
}>;
|
|
74
|
+
itemClassName: import("vue").ComputedRef<{
|
|
75
|
+
'bm-timeline-item': boolean;
|
|
76
|
+
}>;
|
|
77
|
+
dotClassName: import("vue").ComputedRef<{
|
|
78
|
+
[x: string]: any;
|
|
79
|
+
'bm-timeline-item-head': boolean;
|
|
80
|
+
'bm-timeline-item-head-custom': any;
|
|
81
|
+
}>;
|
|
82
|
+
customColor: import("vue").ComputedRef<string | undefined>;
|
|
83
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
color: import("vue-types").VueTypeDef<string> & {
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
dot: import("vue-types").VueTypeValidableDef<any>;
|
|
88
|
+
label: import("vue-types").VueTypeValidableDef<any>;
|
|
89
|
+
}>>, {
|
|
90
|
+
color: string;
|
|
91
|
+
}>>;
|
|
92
|
+
export { BmTimeline, BmTimelineItem };
|
|
93
|
+
export default BmTimeline;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const timelineProps: () => {
|
|
3
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
7
|
+
default: string;
|
|
8
|
+
} & {
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare type TimelineProps = Partial<ExtractPropTypes<ReturnType<typeof timelineProps>>>;
|
|
13
|
+
export declare const timelineItemProps: () => {
|
|
14
|
+
color: import("vue-types").VueTypeDef<string> & {
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
dot: import("vue-types").VueTypeValidableDef<any>;
|
|
18
|
+
label: import("vue-types").VueTypeValidableDef<any>;
|
|
19
|
+
};
|
|
20
|
+
export declare type TimelineItemProps = Partial<ExtractPropTypes<ReturnType<typeof timelineItemProps>>>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
color: import("vue-types").VueTypeDef<string> & {
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
dot: import("vue-types").VueTypeValidableDef<any>;
|
|
7
|
+
label: import("vue-types").VueTypeValidableDef<any>;
|
|
8
|
+
}, {
|
|
9
|
+
slots: Readonly<{
|
|
10
|
+
[name: string]: import("vue").Slot | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
color: import("vue-types").VueTypeDef<string> & {
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
dot: import("vue-types").VueTypeValidableDef<any>;
|
|
17
|
+
label: import("vue-types").VueTypeValidableDef<any>;
|
|
18
|
+
}>> & {
|
|
19
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
20
|
+
}>>;
|
|
21
|
+
labelWidth: Ref<any>;
|
|
22
|
+
mode: Ref<any>;
|
|
23
|
+
offsetStyle: import("vue").ComputedRef<{
|
|
24
|
+
left: string;
|
|
25
|
+
right?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
right: string;
|
|
28
|
+
left?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
left?: undefined;
|
|
31
|
+
right?: undefined;
|
|
32
|
+
}>;
|
|
33
|
+
itemClassName: import("vue").ComputedRef<{
|
|
34
|
+
'bm-timeline-item': boolean;
|
|
35
|
+
}>;
|
|
36
|
+
dotClassName: import("vue").ComputedRef<{
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
'bm-timeline-item-head': boolean;
|
|
39
|
+
'bm-timeline-item-head-custom': any;
|
|
40
|
+
}>;
|
|
41
|
+
customColor: import("vue").ComputedRef<string | undefined>;
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
color: import("vue-types").VueTypeDef<string> & {
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
dot: import("vue-types").VueTypeValidableDef<any>;
|
|
47
|
+
label: import("vue-types").VueTypeValidableDef<any>;
|
|
48
|
+
}>>, {
|
|
49
|
+
color: string;
|
|
50
|
+
}>;
|
|
51
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
|
3
|
+
default: string;
|
|
4
|
+
};
|
|
5
|
+
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
6
|
+
default: string;
|
|
7
|
+
} & {
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
16
|
+
default: string;
|
|
17
|
+
} & {
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
labelWidth: import("vue").Ref<string>;
|
|
24
|
+
mode: import("vue").Ref<string>;
|
|
25
|
+
className: import("vue").ComputedRef<{
|
|
26
|
+
[x: string]: boolean;
|
|
27
|
+
'bm-timeline': boolean;
|
|
28
|
+
}>;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
mode: import("vue-types").VueTypeDef<string> & {
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
34
|
+
default: string;
|
|
35
|
+
} & {
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>>, {
|
|
39
|
+
mode: string;
|
|
40
|
+
labelWidth: string;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
declare const BmUpload: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
2
|
+
name: string;
|
|
3
|
+
components: {
|
|
4
|
+
PlusOutlined: import("@ant-design/icons-vue/lib/icons/PlusOutlined").PlusOutlinedIconType;
|
|
5
|
+
OverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
6
|
+
name: string;
|
|
7
|
+
props: {
|
|
8
|
+
title: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
labelTitle: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
line: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
width: {
|
|
21
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
showAlways: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
setup(props: any, context: any): {
|
|
30
|
+
mySelf: import("vue").Ref<any>;
|
|
31
|
+
handleVisibleChange: (val: any) => void;
|
|
32
|
+
getPopupContainer: () => HTMLElement;
|
|
33
|
+
mSlots: import("vue").Ref<{}>;
|
|
34
|
+
isShow: import("vue").Ref<boolean>;
|
|
35
|
+
openShow: import("vue").Ref<boolean>;
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
38
|
+
UploadOutlined: import("@ant-design/icons-vue/lib/icons/UploadOutlined").UploadOutlinedIconType;
|
|
39
|
+
};
|
|
40
|
+
props: {
|
|
41
|
+
uploadProps: {
|
|
42
|
+
type: ObjectConstructor;
|
|
43
|
+
default: () => {};
|
|
44
|
+
};
|
|
45
|
+
extraProps: {
|
|
46
|
+
type: ObjectConstructor;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
49
|
+
defaultList: {
|
|
50
|
+
type: ArrayConstructor;
|
|
51
|
+
default: () => never[];
|
|
52
|
+
};
|
|
53
|
+
uploadRequest: {
|
|
54
|
+
type: (file: File, config: Record<string, any>) => Promise<{
|
|
55
|
+
[prop: string]: any;
|
|
56
|
+
url: string;
|
|
57
|
+
}>;
|
|
58
|
+
default(): () => void;
|
|
59
|
+
};
|
|
60
|
+
cloudReadUrl: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
emits: string[];
|
|
66
|
+
setup(props: any, { emit }: {
|
|
67
|
+
emit: any;
|
|
68
|
+
}): {
|
|
69
|
+
uploadDisabled: import("vue").ComputedRef<boolean>;
|
|
70
|
+
customUploadRequest(file: any): void;
|
|
71
|
+
uploadSuccess(data: any, file: any): void;
|
|
72
|
+
uploadError(error: any, file?: any): void;
|
|
73
|
+
deleteFile(uid: any): Promise<void>;
|
|
74
|
+
pictureHoverEnter(uid: string): void;
|
|
75
|
+
pictureHoverLeave(uid: string): void;
|
|
76
|
+
viewOnePicture(item: any): void;
|
|
77
|
+
handleClosePictureView(): void;
|
|
78
|
+
reUpload(e: any, uid: any): void;
|
|
79
|
+
paste(event: ClipboardEvent): void;
|
|
80
|
+
icons: {
|
|
81
|
+
pdf: string;
|
|
82
|
+
ppt: string;
|
|
83
|
+
excel: string;
|
|
84
|
+
doc: string;
|
|
85
|
+
others: string;
|
|
86
|
+
};
|
|
87
|
+
uploadBarColor: import("vue").Ref<string>;
|
|
88
|
+
uploadedList: import("vue").Ref<any[]>;
|
|
89
|
+
fileList: import("vue").Ref<{}>;
|
|
90
|
+
onepViewImageHover: import("vue").Ref<{}>;
|
|
91
|
+
previewVisible: import("vue").Ref<boolean>;
|
|
92
|
+
onepViewImage: import("vue").Ref<string>;
|
|
93
|
+
extraConfigs: import("vue").Ref<{
|
|
94
|
+
maxSize: number;
|
|
95
|
+
maxCount: number;
|
|
96
|
+
isAllowDownloadFieldProps: boolean;
|
|
97
|
+
hideDisabledBtn: boolean;
|
|
98
|
+
tips: string;
|
|
99
|
+
showTips: boolean;
|
|
100
|
+
btnClass: string;
|
|
101
|
+
picClass: string;
|
|
102
|
+
alignCenter: boolean;
|
|
103
|
+
canNotViewAccept: string;
|
|
104
|
+
fileDetail: boolean;
|
|
105
|
+
myBtn: boolean;
|
|
106
|
+
}>;
|
|
107
|
+
uploadConfigs: import("vue").Ref<{
|
|
108
|
+
multiple: boolean;
|
|
109
|
+
showUploadList: boolean;
|
|
110
|
+
showSlotList: boolean;
|
|
111
|
+
listType: string;
|
|
112
|
+
text: string;
|
|
113
|
+
accept: string;
|
|
114
|
+
data: {};
|
|
115
|
+
name: string;
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
customRequest: ({ file, fileField, data }: {
|
|
118
|
+
file: any;
|
|
119
|
+
fileField: any;
|
|
120
|
+
data: any;
|
|
121
|
+
}) => Promise<void>;
|
|
122
|
+
}>;
|
|
123
|
+
};
|
|
124
|
+
}>;
|
|
125
|
+
export { BmUpload };
|
|
126
|
+
export default BmUpload;
|