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,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,164 @@
|
|
|
1
|
+
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
|
+
import { defineComponent, toRefs, provide, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot, useSlots, inject, ref, createElementVNode, normalizeStyle, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
3
|
+
|
|
4
|
+
/*!
|
|
5
|
+
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
8
|
+
* Released under the MIT License.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
function isObject(o) {
|
|
12
|
+
return Object.prototype.toString.call(o) === '[object Object]';
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function isPlainObject(o) {
|
|
16
|
+
var ctor,prot;
|
|
17
|
+
|
|
18
|
+
if (isObject(o) === false) return false;
|
|
19
|
+
|
|
20
|
+
// If has modified constructor
|
|
21
|
+
ctor = o.constructor;
|
|
22
|
+
if (ctor === undefined) return true;
|
|
23
|
+
|
|
24
|
+
// If has modified prototype
|
|
25
|
+
prot = ctor.prototype;
|
|
26
|
+
if (isObject(prot) === false) return false;
|
|
27
|
+
|
|
28
|
+
// If constructor does not have an Object-specific method
|
|
29
|
+
if (prot.hasOwnProperty('isPrototypeOf') === false) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Most likely a plain Object
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);}return e},t.apply(this,arguments)}function r(e,t){if(null==e)return {};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}const n={silent:!1,logLevel:"warn"},i=["validator"],o=Object.prototype,a=o.toString,s=o.hasOwnProperty,u=/^\s*function (\w+)/;function l(e){var t;const r=null!==(t=null==e?void 0:e.type)&&void 0!==t?t:e;if(r){const e=r.toString().match(u);return e?e[1]:""}return ""}const c=isPlainObject,f=e=>e;let d=f;if("production"!==process.env.NODE_ENV){const e="undefined"!=typeof console;d=e?function(e,t=n.logLevel){!1===n.silent&&console[t](`[VueTypes warn]: ${e}`);}:f;}const p=(e,t)=>s.call(e,t),y=Number.isInteger||function(e){return "number"==typeof e&&isFinite(e)&&Math.floor(e)===e},v=Array.isArray||function(e){return "[object Array]"===a.call(e)},h=e=>"[object Function]"===a.call(e),b=e=>c(e)&&p(e,"_vueTypes_name"),g=e=>c(e)&&(p(e,"type")||["_vueTypes_name","validator","default","required"].some(t=>p(e,t)));function O(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function m(e,t,r=!1){let n,i=!0,o="";n=c(e)?e:{type:e};const a=b(n)?n._vueTypes_name+" - ":"";if(g(n)&&null!==n.type){if(void 0===n.type||!0===n.type)return i;if(!n.required&&void 0===t)return i;v(n.type)?(i=n.type.some(e=>!0===m(e,t,!0)),o=n.type.map(e=>l(e)).join(" or ")):(o=l(n),i="Array"===o?v(t):"Object"===o?c(t):"String"===o||"Number"===o||"Boolean"===o||"Function"===o?function(e){if(null==e)return "";const t=e.constructor.toString().match(u);return t?t[1]:""}(t)===o:t instanceof n.type);}if(!i){const e=`${a}value "${t}" should be of type "${o}"`;return !1===r?(d(e),!1):e}if(p(n,"validator")&&h(n.validator)){const e=d,o=[];if(d=e=>{o.push(e);},i=n.validator(t),d=e,!i){const e=(o.length>1?"* ":"")+o.join("\n* ");return o.length=0,!1===r?(d(e),i):e}}return i}function j(e,t){const r=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get(){return this.required=!0,this}},def:{value(e){return void 0===e?(p(this,"default")&&delete this.default,this):h(e)||!0===m(this,e,!0)?(this.default=v(e)?()=>[...e]:c(e)?()=>Object.assign({},e):e,this):(d(`${this._vueTypes_name} - invalid default value: "${e}"`),this)}}}),{validator:n}=r;return h(n)&&(r.validator=O(n,r)),r}function _(e,t){const r=j(e,t);return Object.defineProperty(r,"validate",{value(e){return h(this.validator)&&d(`${this._vueTypes_name} - calling .validate() will overwrite the current custom validator function. Validator info:\n${JSON.stringify(this)}`),this.validator=O(e,this),this}})}function T(e,t,n){const o=function(e){const t={};return Object.getOwnPropertyNames(e).forEach(r=>{t[r]=Object.getOwnPropertyDescriptor(e,r);}),Object.defineProperties({},t)}(t);if(o._vueTypes_name=e,!c(n))return o;const{validator:a}=n,s=r(n,i);if(h(a)){let{validator:e}=o;e&&(e=null!==(l=(u=e).__original)&&void 0!==l?l:u),o.validator=O(e?function(t){return e.call(this,t)&&a.call(this,t)}:a,o);}var u,l;return Object.assign(o,s)}function $(e){return e.replace(/^(?!\s*$)/gm," ")}const w=()=>_("any",{}),P=()=>_("function",{type:Function}),x=()=>_("boolean",{type:Boolean}),E=()=>_("string",{type:String}),N=()=>_("number",{type:Number}),q=()=>_("array",{type:Array}),A=()=>_("object",{type:Object}),V=()=>j("integer",{type:Number,validator:e=>y(e)}),S=()=>j("symbol",{validator:e=>"symbol"==typeof e});function k(e,t="custom validation failed"){if("function"!=typeof e)throw new TypeError("[VueTypes error]: You must provide a function as argument");return j(e.name||"<<anonymous function>>",{type:null,validator(r){const n=e(r);return n||d(`${this._vueTypes_name} - ${t}`),n}})}function D(e){if(!v(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");const t=`oneOf - value should be one of "${e.join('", "')}".`,r=e.reduce((e,t)=>{if(null!=t){const r=t.constructor;-1===e.indexOf(r)&&e.push(r);}return e},[]);return j("oneOf",{type:r.length>0?r:void 0,validator(r){const n=-1!==e.indexOf(r);return n||d(t),n}})}function L(e){if(!v(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");let t=!1,r=[];for(let n=0;n<e.length;n+=1){const i=e[n];if(g(i)){if(b(i)&&"oneOf"===i._vueTypes_name&&i.type){r=r.concat(i.type);continue}if(h(i.validator)&&(t=!0),!0===i.type||!i.type){d('oneOfType - invalid usage of "true" or "null" as types.');continue}r=r.concat(i.type);}else r.push(i);}r=r.filter((e,t)=>r.indexOf(e)===t);const n=r.length>0?r:null;return j("oneOfType",t?{type:n,validator(t){const r=[],n=e.some(e=>{const n=m(b(e)&&"oneOf"===e._vueTypes_name?e.type||null:e,t,!0);return "string"==typeof n&&r.push(n),!0===n});return n||d(`oneOfType - provided value does not match any of the ${r.length} passed-in validators:\n${$(r.join("\n"))}`),n}}:{type:n})}function F(e){return j("arrayOf",{type:Array,validator(t){let r="";const n=t.every(t=>(r=m(e,t,!0),!0===r));return n||d(`arrayOf - value validation error:\n${$(r)}`),n}})}function Y(e){return j("instanceOf",{type:e})}function B(e){return j("objectOf",{type:Object,validator(t){let r="";const n=Object.keys(t).every(n=>(r=m(e,t[n],!0),!0===r));return n||d(`objectOf - value validation error:\n${$(r)}`),n}})}function I(e){const t=Object.keys(e),r=t.filter(t=>{var r;return !(null===(r=e[t])||void 0===r||!r.required)}),n=j("shape",{type:Object,validator(n){if(!c(n))return !1;const i=Object.keys(n);if(r.length>0&&r.some(e=>-1===i.indexOf(e))){const e=r.filter(e=>-1===i.indexOf(e));return d(1===e.length?`shape - required property "${e[0]}" is not defined.`:`shape - required properties "${e.join('", "')}" are not defined.`),!1}return i.every(r=>{if(-1===t.indexOf(r))return !0===this._vueTypes_isLoose||(d(`shape - shape definition does not include a "${r}" property. Allowed keys: "${t.join('", "')}".`),!1);const i=m(e[r],n[r],!0);return "string"==typeof i&&d(`shape - "${r}" property validation error:\n ${$(i)}`),!0===i})}});return Object.defineProperty(n,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(n,"loose",{get(){return this._vueTypes_isLoose=!0,this}}),n}const J=["name","validate","getter"],M=/*#__PURE__*/(()=>{var e,t;return t=e=class{static get any(){return w()}static get func(){return P().def(this.defaults.func)}static get bool(){return x().def(this.defaults.bool)}static get string(){return E().def(this.defaults.string)}static get number(){return N().def(this.defaults.number)}static get array(){return q().def(this.defaults.array)}static get object(){return A().def(this.defaults.object)}static get integer(){return V().def(this.defaults.integer)}static get symbol(){return S()}static extend(e){if(v(e))return e.forEach(e=>this.extend(e)),this;const{name:t,validate:n=!1,getter:i=!1}=e,o=r(e,J);if(p(this,t))throw new TypeError(`[VueTypes error]: Type "${t}" already defined`);const{type:a}=o;if(b(a))return delete o.type,Object.defineProperty(this,t,i?{get:()=>T(t,a,o)}:{value(...e){const r=T(t,a,o);return r.validator&&(r.validator=r.validator.bind(r,...e)),r}});let s;return s=i?{get(){const e=Object.assign({},o);return n?_(t,e):j(t,e)},enumerable:!0}:{value(...e){const r=Object.assign({},o);let i;return i=n?_(t,r):j(t,r),r.validator&&(i.validator=r.validator.bind(i,...e)),i},enumerable:!0},Object.defineProperty(this,t,s)}},e.defaults={},e.sensibleDefaults=void 0,e.config=n,e.custom=k,e.oneOf=D,e.instanceOf=Y,e.oneOfType=L,e.arrayOf=F,e.objectOf=B,e.shape=I,e.utils={validate:(e,t)=>!0===m(t,e,!0),toType:(e,t,r=!1)=>r?_(e,t):j(e,t)},t})();function R(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],object:()=>({}),integer:0}){var r,n;return n=r=class extends M{static get sensibleDefaults(){return t({},this.defaults)}static set sensibleDefaults(r){this.defaults=!1!==r?t({},!0!==r?r:e):{};}},r.defaults=t({},e),n}class z extends(R()){}
|
|
38
|
+
|
|
39
|
+
const timelineProps = () => ({
|
|
40
|
+
mode: z.oneOf(['left', 'right']).def('left'),
|
|
41
|
+
labelWidth: z.string.def(''),
|
|
42
|
+
});
|
|
43
|
+
const timelineItemProps = () => ({
|
|
44
|
+
color: z.oneOf(['blue', 'red', 'green', 'gray']).def('blue'),
|
|
45
|
+
dot: z.any,
|
|
46
|
+
label: z.any,
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
var _export_sfc = (sfc, props) => {
|
|
50
|
+
const target = sfc.__vccOpts || sfc;
|
|
51
|
+
for (const [key, val] of props) {
|
|
52
|
+
target[key] = val;
|
|
53
|
+
}
|
|
54
|
+
return target;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const __default__$1 = {
|
|
58
|
+
name: "BmTimeline"
|
|
59
|
+
};
|
|
60
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
61
|
+
...__default__$1,
|
|
62
|
+
props: timelineProps(),
|
|
63
|
+
setup(__props) {
|
|
64
|
+
const props = __props;
|
|
65
|
+
const { labelWidth } = toRefs(props);
|
|
66
|
+
provide("labelWidth", labelWidth);
|
|
67
|
+
const { mode } = toRefs(props);
|
|
68
|
+
provide("mode", mode);
|
|
69
|
+
const className = computed(() => {
|
|
70
|
+
return {
|
|
71
|
+
"bm-timeline": true,
|
|
72
|
+
[`bm-timeline-${props.mode}`]: true
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
return (_ctx, _cache) => {
|
|
76
|
+
return openBlock(), createElementBlock("ul", {
|
|
77
|
+
class: normalizeClass(unref(className))
|
|
78
|
+
}, [
|
|
79
|
+
renderSlot(_ctx.$slots, "default")
|
|
80
|
+
], 2);
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
var Timeline = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "timeline.vue"]]);
|
|
85
|
+
|
|
86
|
+
const _hoisted_1 = { class: "bm-timeline-item-main" };
|
|
87
|
+
const _hoisted_2 = { class: "bm-timeline-item-content" };
|
|
88
|
+
const __default__ = {
|
|
89
|
+
name: "BmTimelineItem"
|
|
90
|
+
};
|
|
91
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
92
|
+
...__default__,
|
|
93
|
+
props: timelineItemProps(),
|
|
94
|
+
setup(__props) {
|
|
95
|
+
const props = __props;
|
|
96
|
+
const slots = useSlots();
|
|
97
|
+
const labelWidth = inject("labelWidth", ref(""));
|
|
98
|
+
const mode = inject("mode", ref("left"));
|
|
99
|
+
const offsetStyle = computed(() => {
|
|
100
|
+
if (labelWidth.value) {
|
|
101
|
+
if (mode.value !== "right") {
|
|
102
|
+
return { left: `calc(${labelWidth.value} + 22px)` };
|
|
103
|
+
} else {
|
|
104
|
+
return { right: `calc(${labelWidth.value} + 22px)` };
|
|
105
|
+
}
|
|
106
|
+
} else {
|
|
107
|
+
return {};
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
const itemClassName = computed(() => {
|
|
111
|
+
return {
|
|
112
|
+
"bm-timeline-item": true
|
|
113
|
+
};
|
|
114
|
+
});
|
|
115
|
+
const dotClassName = computed(() => {
|
|
116
|
+
return {
|
|
117
|
+
"bm-timeline-item-head": true,
|
|
118
|
+
"bm-timeline-item-head-custom": props.dot || slots.dot,
|
|
119
|
+
[`bm-timeline-item-head-${props.color}`]: true
|
|
120
|
+
};
|
|
121
|
+
});
|
|
122
|
+
const customColor = computed(() => {
|
|
123
|
+
return /blue|red|green|gray/.test(props.color || "") ? void 0 : props.color;
|
|
124
|
+
});
|
|
125
|
+
return (_ctx, _cache) => {
|
|
126
|
+
return openBlock(), createElementBlock("li", {
|
|
127
|
+
class: normalizeClass(unref(itemClassName))
|
|
128
|
+
}, [
|
|
129
|
+
createElementVNode("div", {
|
|
130
|
+
class: "bm-timeline-item-tail",
|
|
131
|
+
style: normalizeStyle(unref(offsetStyle))
|
|
132
|
+
}, null, 4),
|
|
133
|
+
createElementVNode("div", {
|
|
134
|
+
class: normalizeClass(unref(dotClassName)),
|
|
135
|
+
style: normalizeStyle({ borderColor: unref(customColor), color: unref(customColor), ...unref(offsetStyle) })
|
|
136
|
+
}, [
|
|
137
|
+
renderSlot(_ctx.$slots, "dot", {}, () => [
|
|
138
|
+
createTextVNode(toDisplayString(props.dot), 1)
|
|
139
|
+
])
|
|
140
|
+
], 6),
|
|
141
|
+
createElementVNode("div", _hoisted_1, [
|
|
142
|
+
unref(labelWidth) ? (openBlock(), createElementBlock("div", {
|
|
143
|
+
key: 0,
|
|
144
|
+
class: "bm-timeline-item-label",
|
|
145
|
+
style: normalizeStyle({ width: unref(labelWidth) })
|
|
146
|
+
}, [
|
|
147
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
148
|
+
createTextVNode(toDisplayString(props.label), 1)
|
|
149
|
+
])
|
|
150
|
+
], 4)) : createCommentVNode("v-if", true),
|
|
151
|
+
createElementVNode("div", _hoisted_2, [
|
|
152
|
+
renderSlot(_ctx.$slots, "default")
|
|
153
|
+
])
|
|
154
|
+
])
|
|
155
|
+
], 2);
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "timeline-item.vue"]]);
|
|
160
|
+
|
|
161
|
+
const BmTimeline = withInstall(Timeline);
|
|
162
|
+
const BmTimelineItem = withInstall(TimelineItem);
|
|
163
|
+
|
|
164
|
+
export { BmTimeline, BmTimelineItem, BmTimeline as default };
|
|
@@ -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;
|