bm-admin-ui 1.0.24-alpha → 1.0.26-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/float-table/index.d.ts +2 -2
- package/es/components/float-table/src/float-table.vue.d.ts +2 -2
- package/es/components/search-filter/index.d.ts +15 -14
- package/es/components/search-filter/index.js +24 -16
- package/es/components/search-filter/src/search-filter.d.ts +8 -4
- package/es/components/search-filter/src/search-filter.vue.d.ts +15 -14
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +17 -0
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/es/components/timeline/index.d.ts +11 -0
- package/es/components/timeline/index.js +9 -6
- package/es/components/timeline/src/props.d.ts +3 -0
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -0
- package/es/components/timeline/src/timeline.vue.d.ts +10 -0
- package/index.esm.js +33 -22
- package/index.js +32 -21
- package/lib/components/float-table/index.d.ts +2 -2
- package/lib/components/float-table/src/float-table.vue.d.ts +2 -2
- package/lib/components/search-filter/index.d.ts +15 -14
- package/lib/components/search-filter/index.js +23 -15
- package/lib/components/search-filter/src/search-filter.d.ts +8 -4
- package/lib/components/search-filter/src/search-filter.vue.d.ts +15 -14
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +17 -0
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/lib/components/timeline/index.d.ts +11 -0
- package/lib/components/timeline/index.js +9 -6
- package/lib/components/timeline/src/props.d.ts +3 -0
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -0
- package/lib/components/timeline/src/timeline.vue.d.ts +10 -0
- package/package.json +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/float-table.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/search-filter.css +1 -1
- package/theme-chalk/timeline.css +1 -1
- package/theme-chalk/upload.css +1 -1
- package/types/components/float-table/index.d.ts +2 -2
- package/types/components/float-table/src/float-table.vue.d.ts +2 -2
- package/types/components/search-filter/index.d.ts +15 -14
- package/types/components/search-filter/src/search-filter.d.ts +8 -4
- package/types/components/search-filter/src/search-filter.vue.d.ts +15 -14
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +17 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/types/components/timeline/index.d.ts +11 -0
- package/types/components/timeline/src/props.d.ts +3 -0
- package/types/components/timeline/src/timeline-item.vue.d.ts +1 -0
- package/types/components/timeline/src/timeline.vue.d.ts +10 -0
|
@@ -19,6 +19,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
+
gutter: {
|
|
23
|
+
type: import("vue").PropType<number[]>;
|
|
24
|
+
default(): number[];
|
|
25
|
+
};
|
|
22
26
|
}, {
|
|
23
27
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
24
28
|
showExpandBtn: {
|
|
@@ -41,6 +45,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
45
|
type: StringConstructor;
|
|
42
46
|
default: string;
|
|
43
47
|
};
|
|
48
|
+
gutter: {
|
|
49
|
+
type: import("vue").PropType<number[]>;
|
|
50
|
+
default(): number[];
|
|
51
|
+
};
|
|
44
52
|
}>> & {
|
|
45
53
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
46
54
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
@@ -48,6 +56,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
56
|
}>>;
|
|
49
57
|
emits: (event: "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
50
58
|
isExpand: import("vue").Ref<boolean>;
|
|
59
|
+
wrapperStyle: import("vue").ComputedRef<{
|
|
60
|
+
paddingLeft: string;
|
|
61
|
+
paddingRight: string;
|
|
62
|
+
}>;
|
|
51
63
|
handleExpandBtnChange: () => void;
|
|
52
64
|
handleSubmit: () => void;
|
|
53
65
|
handleReset: () => void;
|
|
@@ -75,6 +87,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
87
|
type: StringConstructor;
|
|
76
88
|
default: string;
|
|
77
89
|
};
|
|
90
|
+
gutter: {
|
|
91
|
+
type: import("vue").PropType<number[]>;
|
|
92
|
+
default(): number[];
|
|
93
|
+
};
|
|
78
94
|
}>> & {
|
|
79
95
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
80
96
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
@@ -85,5 +101,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
101
|
expandPlacement: "left" | "right";
|
|
86
102
|
expandText: string;
|
|
87
103
|
collapseText: string;
|
|
104
|
+
gutter: number[];
|
|
88
105
|
}>;
|
|
89
106
|
export default _default;
|
|
@@ -40,9 +40,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
searchVal: import("vue").Ref<string>;
|
|
41
41
|
selectAll: import("vue").Ref<boolean>;
|
|
42
42
|
indeterminate: import("vue").Ref<boolean>;
|
|
43
|
-
emptyPic: import("vue").Ref<
|
|
43
|
+
emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
44
44
|
[key: string]: any;
|
|
45
|
-
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
}> | null | undefined) | JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
47
|
}> | null | undefined)[]>;
|
|
48
48
|
listChecked: import("vue").Ref<{}>;
|
|
@@ -3,6 +3,9 @@ declare const BmTimeline: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
3
3
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
6
9
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
7
10
|
default: string;
|
|
8
11
|
} & {
|
|
@@ -13,6 +16,9 @@ declare const BmTimeline: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
13
16
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
14
17
|
default: string;
|
|
15
18
|
};
|
|
19
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
16
22
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
17
23
|
default: string;
|
|
18
24
|
} & {
|
|
@@ -31,12 +37,16 @@ declare const BmTimeline: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
31
37
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
32
38
|
default: string;
|
|
33
39
|
};
|
|
40
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
34
43
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
35
44
|
default: string;
|
|
36
45
|
} & {
|
|
37
46
|
default: string;
|
|
38
47
|
};
|
|
39
48
|
}>>, {
|
|
49
|
+
size: string;
|
|
40
50
|
mode: string;
|
|
41
51
|
labelWidth: string;
|
|
42
52
|
}>>;
|
|
@@ -81,6 +91,7 @@ declare const BmTimelineItem: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
81
91
|
}>;
|
|
82
92
|
itemClassName: import("vue").ComputedRef<{
|
|
83
93
|
'bm-timeline-item': boolean;
|
|
94
|
+
'bm-timeline-item-has-label': any;
|
|
84
95
|
}>;
|
|
85
96
|
dotClassName: import("vue").ComputedRef<{
|
|
86
97
|
[x: string]: any;
|
|
@@ -42,6 +42,7 @@ function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;
|
|
|
42
42
|
|
|
43
43
|
const timelineProps = () => ({
|
|
44
44
|
mode: z.oneOf(['left', 'right']).def('left'),
|
|
45
|
+
size: z.oneOf(['normal', 'small']).def('normal'),
|
|
45
46
|
labelWidth: z.string.def(''),
|
|
46
47
|
});
|
|
47
48
|
const timelineItemProps = () => ({
|
|
@@ -73,11 +74,12 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
73
74
|
const className = vue.computed(() => {
|
|
74
75
|
return {
|
|
75
76
|
"bm-timeline": true,
|
|
76
|
-
[`bm-timeline-${props.mode}`]: true
|
|
77
|
+
[`bm-timeline-${props.mode}`]: true,
|
|
78
|
+
[`bm-timeline-${props.size}`]: true
|
|
77
79
|
};
|
|
78
80
|
});
|
|
79
81
|
return (_ctx, _cache) => {
|
|
80
|
-
return vue.openBlock(), vue.createElementBlock("
|
|
82
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
81
83
|
class: vue.normalizeClass(vue.unref(className))
|
|
82
84
|
}, [
|
|
83
85
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -103,9 +105,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
103
105
|
const offsetStyle = vue.computed(() => {
|
|
104
106
|
if (labelWidth.value) {
|
|
105
107
|
if (mode.value !== "right") {
|
|
106
|
-
return { left: `calc(${labelWidth.value}
|
|
108
|
+
return { left: `calc(${labelWidth.value})` };
|
|
107
109
|
} else {
|
|
108
|
-
return { right: `calc(${labelWidth.value}
|
|
110
|
+
return { right: `calc(${labelWidth.value})` };
|
|
109
111
|
}
|
|
110
112
|
} else {
|
|
111
113
|
return {};
|
|
@@ -113,7 +115,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
113
115
|
});
|
|
114
116
|
const itemClassName = vue.computed(() => {
|
|
115
117
|
return {
|
|
116
|
-
"bm-timeline-item": true
|
|
118
|
+
"bm-timeline-item": true,
|
|
119
|
+
"bm-timeline-item-has-label": labelWidth.value
|
|
117
120
|
};
|
|
118
121
|
});
|
|
119
122
|
const dotClassName = vue.computed(() => {
|
|
@@ -127,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
127
130
|
return /blue|red|green|gray/.test(props.color || "") ? void 0 : props.color;
|
|
128
131
|
});
|
|
129
132
|
return (_ctx, _cache) => {
|
|
130
|
-
return vue.openBlock(), vue.createElementBlock("
|
|
133
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
131
134
|
class: vue.normalizeClass(vue.unref(itemClassName))
|
|
132
135
|
}, [
|
|
133
136
|
vue.createElementVNode("div", {
|
|
@@ -3,6 +3,9 @@ export declare const timelineProps: () => {
|
|
|
3
3
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
6
9
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
7
10
|
default: string;
|
|
8
11
|
} & {
|
|
@@ -2,6 +2,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2
2
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
3
3
|
default: string;
|
|
4
4
|
};
|
|
5
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
5
8
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
6
9
|
default: string;
|
|
7
10
|
} & {
|
|
@@ -12,6 +15,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
15
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
13
16
|
default: string;
|
|
14
17
|
};
|
|
18
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
15
21
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
16
22
|
default: string;
|
|
17
23
|
} & {
|
|
@@ -30,12 +36,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
36
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
31
37
|
default: string;
|
|
32
38
|
};
|
|
39
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
33
42
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
34
43
|
default: string;
|
|
35
44
|
} & {
|
|
36
45
|
default: string;
|
|
37
46
|
};
|
|
38
47
|
}>>, {
|
|
48
|
+
size: string;
|
|
39
49
|
mode: string;
|
|
40
50
|
labelWidth: string;
|
|
41
51
|
}>;
|