bkui-vue 0.0.1-beta.14 → 0.0.1-beta.17
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/README.md +25 -17
- package/README_EN.md +89 -0
- package/dist/bkui-vue.cjs.js +2266 -535
- package/dist/bkui-vue.esm.js +2308 -582
- package/dist/bkui-vue.umd.js +2266 -535
- package/dist/style.css +601 -189
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +6 -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 +6 -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 +6 -0
- package/lib/badge/index.d.ts +144 -76
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +16 -1
- package/lib/breadcrumb/index.d.ts +117 -45
- 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 +6 -0
- package/lib/button/index.d.ts +111 -93
- package/lib/button/index.js +1 -1
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +6 -0
- package/lib/card/index.d.ts +120 -60
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.d.ts +31 -22
- package/lib/checkbox/checkbox.variable.css +6 -0
- package/lib/checkbox/index.d.ts +137 -97
- package/lib/checkbox/index.js +1 -1
- 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 +4 -0
- package/lib/date-picker/date-picker.d.ts +110 -63
- package/lib/date-picker/date-picker.variable.css +6 -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/directives/index.js +1 -1
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +6 -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 +6 -0
- package/lib/dropdown/index.d.ts +94 -62
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +6 -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 +6 -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 +21 -13
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-left.js +15 -0
- package/lib/icon/angle-double-right.js +15 -0
- package/lib/icon/angle-down-fill.d.ts +4 -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.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +15 -0
- package/lib/icon/angle-up.js +15 -0
- package/lib/icon/arrows-left.d.ts +4 -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/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 -3
- 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/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.d.ts +4 -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/warn.js +15 -0
- package/lib/input/index.d.ts +251 -163
- package/lib/input/index.js +2 -2
- package/lib/input/input.css +1 -0
- package/lib/input/input.d.ts +62 -40
- package/lib/input/input.less +4 -3
- 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 +6 -0
- package/lib/loading/index.d.ts +64 -64
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.d.ts +16 -16
- package/lib/loading/loading.variable.css +6 -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 +6 -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 +9 -0
- package/lib/message/index.js +1 -1
- package/lib/message/message.variable.css +6 -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 +6 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.variable.css +6 -0
- package/lib/notify/notifyConstructor.d.ts +37 -21
- package/lib/popover/index.d.ts +219 -134
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +22 -13
- package/lib/popover/popover.d.ts +73 -44
- package/lib/popover/popover.less +55 -45
- package/lib/popover/popover.variable.css +28 -13
- package/lib/popover/props.d.ts +77 -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 +8 -3
- package/lib/progress/index.d.ts +290 -120
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +84 -31
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +6 -3
- package/lib/radio/index.d.ts +127 -78
- package/lib/radio/index.js +1 -1
- 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 +6 -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/common.d.ts +10 -1
- package/lib/select/index.d.ts +515 -503
- package/lib/select/index.js +2 -2
- package/lib/select/option.d.ts +10 -17
- package/lib/select/optionGroup.d.ts +67 -52
- package/lib/select/select.css +71 -14
- package/lib/select/select.d.ts +136 -137
- package/lib/select/select.less +73 -14
- package/lib/select/select.variable.css +77 -14
- package/lib/shared/bk-helper-core.d.ts +6 -0
- package/lib/shared/bk-popover.d.ts +45 -4
- package/lib/shared/index.d.ts +10 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/utils.d.ts +6 -0
- package/lib/sideslider/index.d.ts +111 -63
- package/lib/sideslider/sideslider.d.ts +29 -17
- package/lib/sideslider/sideslider.variable.css +6 -0
- package/lib/slider/slider-button.d.ts +10 -7
- package/lib/slider/slider.d.ts +70 -40
- package/lib/slider/slider.variable.css +6 -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 +9 -0
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/themes/themes.less +10 -0
- package/lib/switcher/index.d.ts +192 -128
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.less +210 -154
- package/lib/switcher/switcher.variable.css +155 -135
- 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 +6 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +169 -70
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +56 -0
- package/lib/table/render.d.ts +19 -3
- package/lib/table/table.css +52 -13
- package/lib/table/table.d.ts +71 -12
- package/lib/table/table.less +62 -18
- package/lib/table/table.variable.css +60 -15
- package/lib/table/utils.d.ts +34 -1
- package/lib/tag/index.d.ts +10 -286
- package/lib/tag/tag.d.ts +2 -48
- package/lib/tag/tag.variable.css +6 -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 +327 -0
- package/lib/tree/index.d.ts +148 -69
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +70 -0
- package/lib/tree/tree.css +16 -7
- package/lib/tree/tree.d.ts +51 -23
- package/lib/tree/tree.less +24 -24
- package/lib/tree/tree.variable.css +16 -7
- package/lib/tree/util.d.ts +3 -44
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +40 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.less +51 -0
- package/lib/virtual-render/virtual-render.variable.css +40 -0
- package/package.json +9 -7
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;
|
@@ -83,6 +83,12 @@
|
|
83
83
|
--date-picker-disabled-bg: #fafbfd;
|
84
84
|
--date-picker-dropdown-mb: 4px;
|
85
85
|
--date-picker-dropdown-bg: #fff;
|
86
|
+
--table-bg-color: var(--white-color);
|
87
|
+
--table-border-color: #dcdee5;
|
88
|
+
--table-head-bg-color: #fafbfd;
|
89
|
+
--table-head-font-color: #313238;
|
90
|
+
--table-body-font-color: #575961;
|
91
|
+
--table-row-hover-bg-color: #f5f7fa;
|
86
92
|
}
|
87
93
|
.bk-badge-main {
|
88
94
|
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;
|
package/lib/badge/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,o,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r={exports:{}};!function(e){e.exports=function(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e},e.exports.
|
1
|
+
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,o,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r={exports:{}};!function(e){e.exports=function(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e},e.exports.__esModule=!0,e.exports.default=e.exports}(r);var s=n(r.exports),i=o.defineComponent({name:"Badge",props:{theme:t.PropTypes.string.def("primary"),count:t.PropTypes.number,position:t.PropTypes.string.def("top-right"),radius:t.PropTypes.string,valLength:t.PropTypes.number,overflowCount:t.PropTypes.number.def(99),dot:t.PropTypes.bool.def(!1),visible:t.PropTypes.bool.def(!1)},setup:function(e){return{numberCount:o.computed((function(){return e.count>e.overflowCount?"".concat(e.overflowCount,"+"):e.count}))}},render:function(){var e,n,r,i,p,u,l,d=t.classes((s(e={},"bk-badge pinned bk-".concat(this.$props.theme),!!this.$props.theme),s(e,"dot",this.$props.dot),s(e,"".concat(this.$props.position),this.$props.position),s(e,"bk-badge-icon is-icon",this.$slots.icon),e),""),a=this.$props.dot?"":o.createVNode("span",null,[this.numberCount]);return o.createVNode("div",{class:"bk-badge-main"},[o.createVNode("div",null,[null!==(i=null===(r=(n=this.$slots).default)||void 0===r?void 0:r.call(n))&&void 0!==i?i:""]),this.$props.visible?"":o.createVNode("span",{class:d},[null!==(l=null===(u=(p=this.$slots).icon)||void 0===u?void 0:u.call(p))&&void 0!==l?l:a])])}}),p=t.withInstall(i);e.default=p,Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -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;
|
@@ -36,8 +36,17 @@
|
|
36
36
|
margin: 0 6px;
|
37
37
|
font-weight: normal;
|
38
38
|
}
|
39
|
+
.bk-breadcrumb-goback {
|
40
|
+
margin-right: 12px;
|
41
|
+
color: #0082ff;
|
42
|
+
cursor: pointer;
|
43
|
+
}
|
44
|
+
.bk-breadcrumb-goback svg {
|
45
|
+
font-size: 26px;
|
46
|
+
}
|
39
47
|
.bk-breadcrumb-item-inner.is-link,
|
40
48
|
.bk-breadcrumb-item-inner a {
|
49
|
+
color: #63656e;
|
41
50
|
text-decoration: none;
|
42
51
|
}
|
43
52
|
.bk-breadcrumb-item-inner.is-link:hover,
|
@@ -46,7 +55,7 @@
|
|
46
55
|
cursor: pointer;
|
47
56
|
}
|
48
57
|
.bk-breadcrumb-item:last-child {
|
49
|
-
color: #
|
58
|
+
color: #979ba5;
|
50
59
|
}
|
51
60
|
.bk-breadcrumb-item:last-child .el-breadcrumb__inner,
|
52
61
|
.bk-breadcrumb-item:last-child .el-breadcrumb__inner a,
|
@@ -10,17 +10,45 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
separatorClass: import("vue-types").VueTypeValidableDef<string> & {
|
11
11
|
default: string;
|
12
12
|
};
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}
|
13
|
+
replace: import("vue-types").VueTypeValidableDef<boolean> & {
|
14
|
+
default: boolean;
|
15
|
+
};
|
16
|
+
backRouter: import("vue-types").VueTypeDef<string | {
|
17
|
+
[key: string]: any;
|
18
|
+
}> & {
|
19
|
+
default: string | (() => {
|
20
|
+
[key: string]: any;
|
21
|
+
});
|
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<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 | {
|
39
|
+
[key: string]: any;
|
40
|
+
}> & {
|
41
|
+
default: string | (() => {
|
42
|
+
[key: string]: any;
|
43
|
+
});
|
44
|
+
};
|
45
|
+
}>>, {
|
22
46
|
extCls: string;
|
23
47
|
separator: string;
|
48
|
+
replace: boolean;
|
24
49
|
separatorClass: string;
|
50
|
+
backRouter: string | {
|
51
|
+
[key: string]: any;
|
52
|
+
};
|
25
53
|
}>;
|
26
54
|
export default _default;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
.@{bk-prefix}-breadcrumb {
|
5
5
|
display: flex;
|
6
6
|
font-size: 14px;
|
7
|
-
color: @breadcrumb-black-color;
|
7
|
+
color: @breadcrumb-black-color ;
|
8
8
|
align-items: center;
|
9
9
|
|
10
10
|
&::after {
|
@@ -21,10 +21,21 @@
|
|
21
21
|
}
|
22
22
|
}
|
23
23
|
|
24
|
+
&-goback {
|
25
|
+
margin-right: 12px;
|
26
|
+
color: @breadcrumb-primary-hover-color;
|
27
|
+
cursor: pointer;
|
28
|
+
|
29
|
+
svg {
|
30
|
+
font-size: 26px;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
24
34
|
&-item {
|
25
35
|
&-inner {
|
26
36
|
&.is-link,
|
27
37
|
& a {
|
38
|
+
color: @breadcrumb-fn-main-color ;
|
28
39
|
text-decoration: none;
|
29
40
|
|
30
41
|
&:hover {
|
@@ -35,7 +46,7 @@
|
|
35
46
|
}
|
36
47
|
|
37
48
|
&:last-child {
|
38
|
-
color: @breadcrumb-
|
49
|
+
color: @breadcrumb-black-color;
|
39
50
|
|
40
51
|
.el-breadcrumb__inner,
|
41
52
|
.el-breadcrumb__inner a {
|
@@ -83,6 +83,12 @@
|
|
83
83
|
--date-picker-disabled-bg: #fafbfd;
|
84
84
|
--date-picker-dropdown-mb: 4px;
|
85
85
|
--date-picker-dropdown-bg: #fff;
|
86
|
+
--table-bg-color: var(--white-color);
|
87
|
+
--table-border-color: #dcdee5;
|
88
|
+
--table-head-bg-color: #fafbfd;
|
89
|
+
--table-head-font-color: #313238;
|
90
|
+
--table-body-font-color: #575961;
|
91
|
+
--table-row-hover-bg-color: #f5f7fa;
|
86
92
|
}
|
87
93
|
@keyframes loading-scale-animate {
|
88
94
|
0% {
|
@@ -122,8 +128,17 @@
|
|
122
128
|
margin: 0 6px;
|
123
129
|
font-weight: normal;
|
124
130
|
}
|
131
|
+
.bk-breadcrumb-goback {
|
132
|
+
margin-right: 12px;
|
133
|
+
color: var(--breadcrumb-primary-hover-color);
|
134
|
+
cursor: pointer;
|
135
|
+
}
|
136
|
+
.bk-breadcrumb-goback svg {
|
137
|
+
font-size: 26px;
|
138
|
+
}
|
125
139
|
.bk-breadcrumb-item-inner.is-link,
|
126
140
|
.bk-breadcrumb-item-inner a {
|
141
|
+
color: var(--breadcrumb-fn-main-color);
|
127
142
|
text-decoration: none;
|
128
143
|
}
|
129
144
|
.bk-breadcrumb-item-inner.is-link:hover,
|
@@ -132,7 +147,7 @@
|
|
132
147
|
cursor: pointer;
|
133
148
|
}
|
134
149
|
.bk-breadcrumb-item:last-child {
|
135
|
-
color: var(--breadcrumb-
|
150
|
+
color: var(--breadcrumb-black-color);
|
136
151
|
}
|
137
152
|
.bk-breadcrumb-item:last-child .el-breadcrumb__inner,
|
138
153
|
.bk-breadcrumb-item:last-child .el-breadcrumb__inner a,
|