bkui-vue 0.0.1-beta.15 → 0.0.1-beta.18
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/dist/bkui-vue.cjs.js +1171 -186
- package/dist/bkui-vue.esm.js +1214 -233
- package/dist/bkui-vue.umd.js +1171 -186
- package/dist/style.css +469 -14
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +7 -0
- package/lib/alert/index.d.ts +96 -60
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +7 -0
- package/lib/backtop/index.d.ts +108 -52
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.variable.css +7 -0
- package/lib/badge/index.d.ts +144 -76
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.d.ts +21 -13
- package/lib/breadcrumb/breadcrumb.variable.css +7 -0
- package/lib/breadcrumb/index.d.ts +97 -61
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.d.ts +27 -22
- package/lib/button/button.variable.css +7 -0
- package/lib/button/index.d.ts +111 -93
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +7 -0
- package/lib/card/index.d.ts +120 -60
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.d.ts +31 -22
- package/lib/checkbox/checkbox.variable.css +7 -0
- package/lib/checkbox/index.d.ts +137 -97
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/index.d.ts +108 -72
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +3 -0
- package/lib/date-picker/date-picker.d.ts +110 -63
- package/lib/date-picker/date-picker.variable.css +7 -0
- package/lib/date-picker/index.d.ts +437 -249
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.d.ts +46 -25
- package/lib/dialog/index.d.ts +179 -95
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +7 -0
- package/lib/divider/index.d.ts +84 -52
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.d.ts +25 -13
- package/lib/dropdown/dropdown.variable.css +7 -0
- package/lib/dropdown/index.d.ts +94 -62
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +7 -0
- package/lib/exception/index.d.ts +44 -36
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +7 -0
- package/lib/fixed-navbar/index.d.ts +60 -36
- package/lib/form/form-item.d.ts +46 -27
- package/lib/form/form.d.ts +22 -14
- package/lib/form/index.d.ts +285 -3
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +15 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +15 -0
- package/lib/icon/angle-double-left.js +15 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +15 -0
- package/lib/icon/angle-double-right.js +15 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +15 -0
- package/lib/icon/angle-down-fill.js +15 -0
- package/lib/icon/angle-down-line.js +15 -0
- package/lib/icon/angle-down.js +15 -0
- package/lib/icon/angle-left.js +15 -0
- package/lib/icon/angle-right.js +15 -0
- package/lib/icon/angle-up-fill.js +15 -0
- package/lib/icon/angle-up.js +15 -0
- package/lib/icon/arrows-left.js +15 -0
- package/lib/icon/circle.js +15 -0
- package/lib/icon/close.js +15 -0
- package/lib/icon/code.js +15 -0
- package/lib/icon/cog-shape.js +15 -0
- package/lib/icon/collapse-left.js +15 -0
- package/lib/icon/copy.js +15 -0
- package/lib/icon/done.js +15 -0
- package/lib/icon/down-shape.js +15 -0
- package/lib/icon/down-small.js +15 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +15 -0
- package/lib/icon/error.js +15 -0
- package/lib/icon/eye.js +15 -0
- package/lib/icon/folder-open.js +15 -0
- package/lib/icon/folder-shape-open.js +15 -0
- package/lib/icon/folder-shape.js +15 -0
- package/lib/icon/folder.js +15 -0
- package/lib/icon/help-document-fill.js +15 -0
- package/lib/icon/help-fill.js +15 -0
- package/lib/icon/help.js +15 -0
- package/lib/icon/icon.js +15 -0
- package/lib/icon/index.d.ts +7 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +15 -0
- package/lib/icon/info.js +15 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +15 -0
- package/lib/icon/play-shape.js +15 -0
- package/lib/icon/plus.js +15 -0
- package/lib/icon/right-shape.js +15 -0
- package/lib/icon/search.js +15 -0
- package/lib/icon/share.js +15 -0
- package/lib/icon/spinner.js +15 -0
- package/lib/icon/success.js +15 -0
- package/lib/icon/switcher-loading.js +15 -0
- package/lib/icon/text-file.js +15 -0
- package/lib/icon/tree-application-shape.js +15 -0
- package/lib/icon/unvisible.js +15 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +15 -0
- package/lib/icon/warn.js +15 -0
- package/lib/input/index.d.ts +240 -160
- package/lib/input/index.js +2 -2
- package/lib/input/input.d.ts +60 -40
- package/lib/input/input.variable.css +7 -0
- package/lib/link/index.d.ts +100 -52
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +7 -0
- package/lib/loading/index.d.ts +64 -64
- package/lib/loading/loading.d.ts +16 -16
- package/lib/loading/loading.variable.css +7 -0
- package/lib/menu/index.d.ts +90 -71
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +6 -5
- package/lib/menu/menu-item.d.ts +6 -5
- package/lib/menu/menu.d.ts +18 -14
- package/lib/menu/menu.variable.css +7 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +10 -0
- package/lib/message/index.js +1 -1
- package/lib/message/message.variable.css +7 -0
- package/lib/message/messageConstructor.d.ts +28 -16
- package/lib/modal/index.d.ts +92 -56
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +24 -15
- package/lib/modal/props.mixin.d.ts +1 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.d.ts +40 -23
- package/lib/navigation/navigation.variable.css +7 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.variable.css +7 -0
- package/lib/notify/notifyConstructor.d.ts +36 -20
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +272 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +207 -177
- package/lib/popover/popover.css +1 -0
- package/lib/popover/popover.d.ts +52 -30
- package/lib/popover/popover.less +2 -0
- package/lib/popover/popover.variable.css +8 -0
- package/lib/process/index.d.ts +120 -60
- package/lib/process/index.js +1 -1
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +30 -15
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +9 -3
- package/lib/progress/index.d.ts +284 -136
- package/lib/progress/progress.d.ts +71 -34
- package/lib/progress/progress.variable.css +7 -0
- package/lib/radio/index.d.ts +127 -78
- package/lib/radio/radio-button.d.ts +24 -16
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.d.ts +23 -13
- package/lib/radio/radio.variable.css +7 -0
- package/lib/rate/index.d.ts +52 -40
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +32 -15
- package/lib/select/index.d.ts +396 -327
- package/lib/select/index.js +2 -2
- package/lib/select/option.d.ts +9 -10
- package/lib/select/optionGroup.d.ts +49 -41
- package/lib/select/select.css +2 -1
- package/lib/select/select.d.ts +98 -84
- package/lib/select/select.less +2 -1
- package/lib/select/select.variable.css +9 -1
- package/lib/shared/index.js +1 -1
- package/lib/sideslider/index.d.ts +111 -63
- package/lib/sideslider/sideslider.d.ts +29 -17
- package/lib/sideslider/sideslider.variable.css +7 -0
- package/lib/slider/slider-button.d.ts +10 -7
- package/lib/slider/slider.d.ts +70 -40
- package/lib/slider/slider.variable.css +7 -0
- package/lib/steps/index.d.ts +156 -104
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +3 -0
- package/lib/steps/steps.d.ts +39 -26
- package/lib/steps/steps.less +4 -0
- package/lib/steps/steps.variable.css +10 -0
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/themes/themes.less +11 -0
- package/lib/switcher/index.d.ts +192 -128
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.variable.css +7 -0
- package/lib/tab/index.d.ts +344 -208
- package/lib/tab/index.js +1 -1
- package/lib/tab/tab-nav.d.ts +74 -38
- package/lib/tab/tab-panel.d.ts +22 -20
- package/lib/tab/tab.d.ts +64 -32
- package/lib/tab/tab.variable.css +7 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +154 -130
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +18 -0
- package/lib/table/render.d.ts +18 -2
- package/lib/table/table.css +47 -10
- package/lib/table/table.d.ts +47 -22
- package/lib/table/table.less +61 -17
- package/lib/table/table.variable.css +56 -12
- package/lib/table/utils.d.ts +28 -2
- package/lib/tag/index.d.ts +10 -286
- package/lib/tag/tag.d.ts +2 -48
- package/lib/tag/tag.variable.css +7 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +328 -0
- package/lib/tree/index.d.ts +140 -75
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +19 -1
- package/lib/tree/tree.d.ts +42 -20
- package/lib/use-form.d.ts +3 -0
- package/lib/virtual-render/index.d.ts +410 -249
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +10 -0
- package/lib/virtual-render/virtual-render.d.ts +110 -41
- package/package.json +2 -2
package/lib/badge/badge.d.ts
CHANGED
@@ -39,25 +39,46 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
39
|
};
|
40
40
|
}, {
|
41
41
|
numberCount: import("vue").ComputedRef<string | number>;
|
42
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
43
|
-
theme
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
}
|
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
|
+
/** badge theme */
|
44
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
45
|
+
default: string;
|
46
|
+
} & {
|
47
|
+
default: string;
|
48
|
+
};
|
49
|
+
/** Number to show in badge */
|
50
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
51
|
+
default: number;
|
52
|
+
};
|
53
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
54
|
+
default: string;
|
55
|
+
} & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
59
|
+
default: string;
|
60
|
+
};
|
61
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
62
|
+
default: number;
|
63
|
+
};
|
64
|
+
/** Show capped numeric value */
|
65
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
66
|
+
default: number;
|
67
|
+
} & {
|
68
|
+
default: number;
|
69
|
+
};
|
70
|
+
/** Whether to show red dots with no content */
|
71
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
72
|
+
default: boolean;
|
73
|
+
} & {
|
74
|
+
default: boolean;
|
75
|
+
};
|
76
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
77
|
+
default: boolean;
|
78
|
+
} & {
|
79
|
+
default: boolean;
|
80
|
+
};
|
81
|
+
}>>, {
|
61
82
|
theme: string;
|
62
83
|
visible: boolean;
|
63
84
|
dot: boolean;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
@@ -83,6 +84,12 @@
|
|
83
84
|
--date-picker-disabled-bg: #fafbfd;
|
84
85
|
--date-picker-dropdown-mb: 4px;
|
85
86
|
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
86
93
|
}
|
87
94
|
.bk-badge-main {
|
88
95
|
position: relative;
|
package/lib/badge/index.d.ts
CHANGED
@@ -11,25 +11,42 @@ declare const BkBadge: {
|
|
11
11
|
radius: string;
|
12
12
|
valLength: number;
|
13
13
|
overflowCount: number;
|
14
|
-
}> & Omit<Readonly<{
|
15
|
-
theme
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
14
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
} & {
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
21
|
+
default: number;
|
22
|
+
};
|
23
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
24
|
+
default: string;
|
25
|
+
} & {
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
29
|
+
default: string;
|
30
|
+
};
|
31
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
32
|
+
default: number;
|
33
|
+
};
|
34
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
35
|
+
default: number;
|
36
|
+
} & {
|
37
|
+
default: number;
|
38
|
+
};
|
39
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
40
|
+
default: boolean;
|
41
|
+
} & {
|
42
|
+
default: boolean;
|
43
|
+
};
|
44
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
|
+
default: boolean;
|
46
|
+
} & {
|
47
|
+
default: boolean;
|
48
|
+
};
|
49
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "visible" | "dot" | "count" | "position" | "radius" | "valLength" | "overflowCount">;
|
33
50
|
$attrs: {
|
34
51
|
[x: string]: unknown;
|
35
52
|
};
|
@@ -43,25 +60,42 @@ declare const BkBadge: {
|
|
43
60
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
44
61
|
$emit: (event: string, ...args: any[]) => void;
|
45
62
|
$el: any;
|
46
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
47
|
-
theme
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
63
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
64
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
65
|
+
default: string;
|
66
|
+
} & {
|
67
|
+
default: string;
|
68
|
+
};
|
69
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
70
|
+
default: number;
|
71
|
+
};
|
72
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
73
|
+
default: string;
|
74
|
+
} & {
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
78
|
+
default: string;
|
79
|
+
};
|
80
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
81
|
+
default: number;
|
82
|
+
};
|
83
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
84
|
+
default: number;
|
85
|
+
} & {
|
86
|
+
default: number;
|
87
|
+
};
|
88
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
89
|
+
default: boolean;
|
90
|
+
} & {
|
91
|
+
default: boolean;
|
92
|
+
};
|
93
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
94
|
+
default: boolean;
|
95
|
+
} & {
|
96
|
+
default: boolean;
|
97
|
+
};
|
98
|
+
}>>, {
|
65
99
|
numberCount: import("vue").ComputedRef<string | number>;
|
66
100
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
67
101
|
theme: string;
|
@@ -92,49 +126,83 @@ declare const BkBadge: {
|
|
92
126
|
$forceUpdate: () => void;
|
93
127
|
$nextTick: typeof import("vue").nextTick;
|
94
128
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
95
|
-
} & Readonly<{
|
96
|
-
theme
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
129
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
130
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
131
|
+
default: string;
|
132
|
+
} & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
136
|
+
default: number;
|
137
|
+
};
|
138
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
139
|
+
default: string;
|
140
|
+
} & {
|
141
|
+
default: string;
|
142
|
+
};
|
143
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
147
|
+
default: number;
|
148
|
+
};
|
149
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
150
|
+
default: number;
|
151
|
+
} & {
|
152
|
+
default: number;
|
153
|
+
};
|
154
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
155
|
+
default: boolean;
|
156
|
+
} & {
|
157
|
+
default: boolean;
|
158
|
+
};
|
159
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
160
|
+
default: boolean;
|
161
|
+
} & {
|
162
|
+
default: boolean;
|
163
|
+
};
|
164
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
114
165
|
numberCount: import("vue").ComputedRef<string | number>;
|
115
166
|
}> & {} & {} & import("vue").ComponentCustomProperties;
|
116
167
|
__isFragment?: never;
|
117
168
|
__isTeleport?: never;
|
118
169
|
__isSuspense?: never;
|
119
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
120
|
-
theme
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
170
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
171
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
172
|
+
default: string;
|
173
|
+
} & {
|
174
|
+
default: string;
|
175
|
+
};
|
176
|
+
count: import("vue-types").VueTypeValidableDef<number> & {
|
177
|
+
default: number;
|
178
|
+
};
|
179
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
180
|
+
default: string;
|
181
|
+
} & {
|
182
|
+
default: string;
|
183
|
+
};
|
184
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
185
|
+
default: string;
|
186
|
+
};
|
187
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
188
|
+
default: number;
|
189
|
+
};
|
190
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
191
|
+
default: number;
|
192
|
+
} & {
|
193
|
+
default: number;
|
194
|
+
};
|
195
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
196
|
+
default: boolean;
|
197
|
+
} & {
|
198
|
+
default: boolean;
|
199
|
+
};
|
200
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
201
|
+
default: boolean;
|
202
|
+
} & {
|
203
|
+
default: boolean;
|
204
|
+
};
|
205
|
+
}>>, {
|
138
206
|
numberCount: import("vue").ComputedRef<string | number>;
|
139
207
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
140
208
|
theme: string;
|
@@ -12,17 +12,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
12
12
|
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
13
13
|
default: boolean;
|
14
14
|
};
|
15
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
16
|
-
extCls
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
extCls: string;
|
21
|
-
to: string | {
|
15
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
16
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
to: import("vue-types").VueTypeDef<string | {
|
22
20
|
[key: string]: any;
|
21
|
+
}> & {
|
22
|
+
default: string | (() => {
|
23
|
+
[key: string]: any;
|
24
|
+
});
|
23
25
|
};
|
24
|
-
replace: boolean
|
25
|
-
|
26
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
27
|
+
default: boolean;
|
28
|
+
};
|
29
|
+
}>>, {
|
26
30
|
extCls: string;
|
27
31
|
to: string | {
|
28
32
|
[key: string]: any;
|
@@ -20,21 +20,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
20
20
|
[key: string]: any;
|
21
21
|
});
|
22
22
|
};
|
23
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
24
|
-
extCls
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
} & {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
23
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
24
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
25
|
+
default: string;
|
26
|
+
};
|
27
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
28
|
+
default: string;
|
29
|
+
} & {
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
33
|
+
default: string;
|
34
|
+
};
|
35
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
36
|
+
default: boolean;
|
37
|
+
};
|
38
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
35
39
|
[key: string]: any;
|
40
|
+
}> & {
|
41
|
+
default: string | (() => {
|
42
|
+
[key: string]: any;
|
43
|
+
});
|
36
44
|
};
|
37
|
-
}
|
45
|
+
}>>, {
|
38
46
|
extCls: string;
|
39
47
|
separator: string;
|
40
48
|
replace: boolean;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
@@ -83,6 +84,12 @@
|
|
83
84
|
--date-picker-disabled-bg: #fafbfd;
|
84
85
|
--date-picker-dropdown-mb: 4px;
|
85
86
|
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
86
93
|
}
|
87
94
|
@keyframes loading-scale-animate {
|
88
95
|
0% {
|
@@ -11,21 +11,29 @@ declare const BkBreadcrumb: {
|
|
11
11
|
backRouter: string | {
|
12
12
|
[key: string]: any;
|
13
13
|
};
|
14
|
-
}> & Omit<Readonly<{
|
15
|
-
extCls
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
14
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
};
|
18
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
19
|
+
default: string;
|
20
|
+
} & {
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
24
|
+
default: string;
|
25
|
+
};
|
26
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
27
|
+
default: boolean;
|
28
|
+
};
|
29
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
26
30
|
[key: string]: any;
|
31
|
+
}> & {
|
32
|
+
default: string | (() => {
|
33
|
+
[key: string]: any;
|
34
|
+
});
|
27
35
|
};
|
28
|
-
} &
|
36
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "separator" | "replace" | "separatorClass" | "backRouter">;
|
29
37
|
$attrs: {
|
30
38
|
[x: string]: unknown;
|
31
39
|
};
|
@@ -39,21 +47,29 @@ declare const BkBreadcrumb: {
|
|
39
47
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
40
48
|
$emit: (event: string, ...args: any[]) => void;
|
41
49
|
$el: any;
|
42
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
43
|
-
extCls
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
50
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
51
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
52
|
+
default: string;
|
53
|
+
};
|
54
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
55
|
+
default: string;
|
56
|
+
} & {
|
57
|
+
default: string;
|
58
|
+
};
|
59
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
60
|
+
default: string;
|
61
|
+
};
|
62
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
63
|
+
default: boolean;
|
64
|
+
};
|
65
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
54
66
|
[key: string]: any;
|
67
|
+
}> & {
|
68
|
+
default: string | (() => {
|
69
|
+
[key: string]: any;
|
70
|
+
});
|
55
71
|
};
|
56
|
-
}
|
72
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
57
73
|
extCls: string;
|
58
74
|
separator: string;
|
59
75
|
replace: boolean;
|
@@ -81,39 +97,55 @@ declare const BkBreadcrumb: {
|
|
81
97
|
$forceUpdate: () => void;
|
82
98
|
$nextTick: typeof import("vue").nextTick;
|
83
99
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
84
|
-
} & Readonly<{
|
85
|
-
extCls
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
100
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
101
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
102
|
+
default: string;
|
103
|
+
};
|
104
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
105
|
+
default: string;
|
106
|
+
} & {
|
107
|
+
default: string;
|
108
|
+
};
|
109
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
110
|
+
default: string;
|
111
|
+
};
|
112
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
113
|
+
default: boolean;
|
114
|
+
};
|
115
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
96
116
|
[key: string]: any;
|
117
|
+
}> & {
|
118
|
+
default: string | (() => {
|
119
|
+
[key: string]: any;
|
120
|
+
});
|
97
121
|
};
|
98
|
-
} &
|
122
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
99
123
|
__isFragment?: never;
|
100
124
|
__isTeleport?: never;
|
101
125
|
__isSuspense?: never;
|
102
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
103
|
-
extCls
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
} & {
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
126
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
127
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
128
|
+
default: string;
|
129
|
+
};
|
130
|
+
separator: import("vue-types").VueTypeValidableDef<string> & {
|
131
|
+
default: string;
|
132
|
+
} & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
136
|
+
default: string;
|
137
|
+
};
|
138
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
139
|
+
default: boolean;
|
140
|
+
};
|
141
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
114
142
|
[key: string]: any;
|
143
|
+
}> & {
|
144
|
+
default: string | (() => {
|
145
|
+
[key: string]: any;
|
146
|
+
});
|
115
147
|
};
|
116
|
-
}
|
148
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
117
149
|
extCls: string;
|
118
150
|
separator: string;
|
119
151
|
replace: boolean;
|
@@ -136,17 +168,21 @@ declare const BkBreadcrumb: {
|
|
136
168
|
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
137
169
|
default: boolean;
|
138
170
|
};
|
139
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
140
|
-
extCls
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
extCls: string;
|
145
|
-
to: string | {
|
171
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
172
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
173
|
+
default: string;
|
174
|
+
};
|
175
|
+
to: import("vue-types").VueTypeDef<string | {
|
146
176
|
[key: string]: any;
|
177
|
+
}> & {
|
178
|
+
default: string | (() => {
|
179
|
+
[key: string]: any;
|
180
|
+
});
|
147
181
|
};
|
148
|
-
replace: boolean
|
149
|
-
|
182
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
183
|
+
default: boolean;
|
184
|
+
};
|
185
|
+
}>>, {
|
150
186
|
extCls: string;
|
151
187
|
to: string | {
|
152
188
|
[key: string]: any;
|
package/lib/breadcrumb/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("vue"),require("../shared"),require("
|
1
|
+
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("vue"),require("../shared"),require("../icon")):"function"==typeof define&&define.amd?define(["exports","vue","../shared","../icon"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared,e["@bkui-vue/icon/icons"])}(this,(function(e,r,o,t){"use strict";var a=r.defineComponent({name:"Breadcrumb",props:{extCls:o.PropTypes.string,separator:o.PropTypes.string.def("/"),separatorClass:o.PropTypes.string,replace:o.PropTypes.bool,backRouter:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.object]).def("")},setup:function(e,a){var n=a.slots,s=r.getCurrentInstance(),c=s.proxy,l=s.appContext;r.provide("breadcrumb",e),r.onMounted((function(){var e=c.$el.querySelectorAll(".bk-breadcrumb-item");e.length&&e[e.length-1].setAttribute("aria-current","page")}));var i=o.classes({"bk-breadcrumb":!0},"".concat(e.extCls||"")),p=function(){var r=e.backRouter,o=e.replace,t=l.config.globalProperties.$router;t&&(o?t.replace(r):t.push(r))};return function(){var o;return r.createVNode("div",{class:i,"aria-label":"Breadcrumb",role:"navigation"},[!n.prefix&&e.backRouter?r.createVNode("div",{class:"bk-breadcrumb-goback"},[r.createVNode(t.ArrowsLeft,{onClick:p},null)]):"",n.prefix?r.createVNode("div",{class:"bk-breadcrumb-goback"},[n.prefix()]):"",null===(o=n.default)||void 0===o?void 0:o.call(n)])}}}),n=r.defineComponent({name:"BreadcrumbItem",props:{extCls:o.PropTypes.string,to:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.object]).def(""),replace:o.PropTypes.bool},setup:function(e,t){var a=t.slots,n=r.getCurrentInstance().appContext,s=r.inject("breadcrumb"),c=n.config.globalProperties.$router,l=e.to,i=e.replace,p=function(){l&&c&&(i?c.replace(l):c.push(l))},u=o.classes({"bk-breadcrumb-item":!0},"".concat(e.extCls||""));return function(){var e;return r.createVNode("span",{class:u},[r.createVNode("span",{ref:"link",class:"bk-breadcrumb-item-inner ".concat(l?"is-link":""),role:"link",onClick:p},[null===(e=null==a?void 0:a.default)||void 0===e?void 0:e.call(a)]),(null==s?void 0:s.separatorClass)?r.createVNode("i",{class:"bk-breadcrumb-separator ".concat(s.separatorClass)},null):r.createVNode("span",{class:"bk-breadcrumb-separator",role:"presentation"},[null==s?void 0:s.separator])])}}}),s=o.withInstallProps(a,{Item:n});e.BkBreadcrumb=s,e.BkBreadcrumbItem=n,e.default=s,Object.defineProperty(e,"__esModule",{value:!0})}));
|