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/dropdown/index.d.ts
CHANGED
@@ -10,19 +10,27 @@ declare const BkDropdown: {
|
|
10
10
|
disabled: boolean;
|
11
11
|
trigger: string;
|
12
12
|
isShow: boolean;
|
13
|
-
}> & Omit<Readonly<{
|
14
|
-
isShow
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
13
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
14
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
15
|
+
default: boolean;
|
16
|
+
} & {
|
17
|
+
default: boolean;
|
18
|
+
};
|
19
|
+
placement: import("vue-types").VueTypeDef<string> & {
|
20
|
+
default: string;
|
21
|
+
};
|
22
|
+
trigger: import("vue-types").VueTypeDef<string> & {
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
26
|
+
default: boolean;
|
27
|
+
} & {
|
28
|
+
default: boolean;
|
29
|
+
};
|
30
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
31
|
+
default: string;
|
32
|
+
};
|
33
|
+
}>> & {
|
26
34
|
onShowChange?: (...args: any[]) => any;
|
27
35
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "extCls" | "disabled" | "trigger" | "isShow">;
|
28
36
|
$attrs: {
|
@@ -38,19 +46,27 @@ declare const BkDropdown: {
|
|
38
46
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
39
47
|
$emit: (event: "showChange", ...args: any[]) => void;
|
40
48
|
$el: any;
|
41
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
42
|
-
isShow
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
49
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
50
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
51
|
+
default: boolean;
|
52
|
+
} & {
|
53
|
+
default: boolean;
|
54
|
+
};
|
55
|
+
placement: import("vue-types").VueTypeDef<string> & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
trigger: import("vue-types").VueTypeDef<string> & {
|
59
|
+
default: string;
|
60
|
+
};
|
61
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
62
|
+
default: boolean;
|
63
|
+
} & {
|
64
|
+
default: boolean;
|
65
|
+
};
|
66
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
67
|
+
default: string;
|
68
|
+
};
|
69
|
+
}>> & {
|
54
70
|
onShowChange?: (...args: any[]) => any;
|
55
71
|
}, {
|
56
72
|
reference: any;
|
@@ -81,19 +97,27 @@ declare const BkDropdown: {
|
|
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
|
-
isShow
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
100
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
101
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
102
|
+
default: boolean;
|
103
|
+
} & {
|
104
|
+
default: boolean;
|
105
|
+
};
|
106
|
+
placement: import("vue-types").VueTypeDef<string> & {
|
107
|
+
default: string;
|
108
|
+
};
|
109
|
+
trigger: import("vue-types").VueTypeDef<string> & {
|
110
|
+
default: string;
|
111
|
+
};
|
112
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
113
|
+
default: boolean;
|
114
|
+
} & {
|
115
|
+
default: boolean;
|
116
|
+
};
|
117
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
118
|
+
default: string;
|
119
|
+
};
|
120
|
+
}>> & {
|
97
121
|
onShowChange?: (...args: any[]) => any;
|
98
122
|
} & import("vue").ShallowUnwrapRef<{
|
99
123
|
reference: any;
|
@@ -102,19 +126,27 @@ declare const BkDropdown: {
|
|
102
126
|
__isFragment?: never;
|
103
127
|
__isTeleport?: never;
|
104
128
|
__isSuspense?: never;
|
105
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
106
|
-
isShow
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
129
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
130
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
131
|
+
default: boolean;
|
132
|
+
} & {
|
133
|
+
default: boolean;
|
134
|
+
};
|
135
|
+
placement: import("vue-types").VueTypeDef<string> & {
|
136
|
+
default: string;
|
137
|
+
};
|
138
|
+
trigger: import("vue-types").VueTypeDef<string> & {
|
139
|
+
default: string;
|
140
|
+
};
|
141
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
142
|
+
default: boolean;
|
143
|
+
} & {
|
144
|
+
default: boolean;
|
145
|
+
};
|
146
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
147
|
+
default: string;
|
148
|
+
};
|
149
|
+
}>> & {
|
118
150
|
onShowChange?: (...args: any[]) => any;
|
119
151
|
}, {
|
120
152
|
reference: any;
|
@@ -132,11 +164,11 @@ declare const BkDropdown: {
|
|
132
164
|
};
|
133
165
|
}, {
|
134
166
|
wrapperCLasses: import("vue").ComputedRef<any[]>;
|
135
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
136
|
-
extCls
|
137
|
-
|
138
|
-
|
139
|
-
}
|
167
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
168
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
169
|
+
default: string;
|
170
|
+
};
|
171
|
+
}>>, {
|
140
172
|
extCls: string;
|
141
173
|
}>;
|
142
174
|
DropdownItem: import("vue").DefineComponent<{
|
@@ -146,11 +178,11 @@ declare const BkDropdown: {
|
|
146
178
|
}, {
|
147
179
|
wrapperCLasses: import("vue").ComputedRef<any[]>;
|
148
180
|
handleClick: (evt: MouseEvent) => void;
|
149
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
150
|
-
extCls
|
151
|
-
|
152
|
-
|
153
|
-
} & {
|
181
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
182
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
183
|
+
default: string;
|
184
|
+
};
|
185
|
+
}>> & {
|
154
186
|
onClick?: (...args: any[]) => any;
|
155
187
|
}, {
|
156
188
|
extCls: string;
|
@@ -8,15 +8,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
8
8
|
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
9
9
|
default: string;
|
10
10
|
};
|
11
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
12
|
-
type
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
11
|
+
}, () => 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<{
|
12
|
+
type: import("vue-types").VueTypeDef<string> & {
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
scene: import("vue-types").VueTypeDef<string> & {
|
16
|
+
default: string;
|
17
|
+
};
|
18
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
19
|
+
default: string;
|
20
|
+
};
|
21
|
+
}>>, {
|
20
22
|
extCls: string;
|
21
23
|
type: string;
|
22
24
|
scene: string;
|
@@ -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-exception-wrapper {
|
88
95
|
position: relative;
|
package/lib/exception/index.d.ts
CHANGED
@@ -6,15 +6,17 @@ declare const BkException: {
|
|
6
6
|
extCls: string;
|
7
7
|
type: string;
|
8
8
|
scene: string;
|
9
|
-
}> & Omit<Readonly<{
|
10
|
-
type
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
10
|
+
type: import("vue-types").VueTypeDef<string> & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
scene: import("vue-types").VueTypeDef<string> & {
|
14
|
+
default: string;
|
15
|
+
};
|
16
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
17
|
+
default: string;
|
18
|
+
};
|
19
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "type" | "scene">;
|
18
20
|
$attrs: {
|
19
21
|
[x: string]: unknown;
|
20
22
|
};
|
@@ -28,15 +30,17 @@ declare const BkException: {
|
|
28
30
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
29
31
|
$emit: (event: string, ...args: any[]) => void;
|
30
32
|
$el: any;
|
31
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
32
|
-
type
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
33
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
34
|
+
type: import("vue-types").VueTypeDef<string> & {
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
scene: import("vue-types").VueTypeDef<string> & {
|
38
|
+
default: string;
|
39
|
+
};
|
40
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
41
|
+
default: string;
|
42
|
+
};
|
43
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
40
44
|
extCls: string;
|
41
45
|
type: string;
|
42
46
|
scene: string;
|
@@ -60,27 +64,31 @@ declare const BkException: {
|
|
60
64
|
$forceUpdate: () => void;
|
61
65
|
$nextTick: typeof import("vue").nextTick;
|
62
66
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
63
|
-
} & Readonly<{
|
64
|
-
type
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
67
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
68
|
+
type: import("vue-types").VueTypeDef<string> & {
|
69
|
+
default: string;
|
70
|
+
};
|
71
|
+
scene: import("vue-types").VueTypeDef<string> & {
|
72
|
+
default: string;
|
73
|
+
};
|
74
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
72
78
|
__isFragment?: never;
|
73
79
|
__isTeleport?: never;
|
74
80
|
__isSuspense?: never;
|
75
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
76
|
-
type
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
81
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
82
|
+
type: import("vue-types").VueTypeDef<string> & {
|
83
|
+
default: string;
|
84
|
+
};
|
85
|
+
scene: import("vue-types").VueTypeDef<string> & {
|
86
|
+
default: string;
|
87
|
+
};
|
88
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
89
|
+
default: string;
|
90
|
+
};
|
91
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
84
92
|
extCls: string;
|
85
93
|
type: string;
|
86
94
|
scene: string;
|
@@ -12,15 +12,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
12
12
|
position: import("vue-types").VueTypeDef<string> & {
|
13
13
|
default: string;
|
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
|
-
navItems
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
} & {
|
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
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
17
|
+
default: () => unknown[];
|
18
|
+
} & {
|
19
|
+
default: () => unknown[];
|
20
|
+
};
|
21
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
22
|
+
default: string;
|
23
|
+
} & {
|
24
|
+
default: string;
|
25
|
+
};
|
26
|
+
position: import("vue-types").VueTypeDef<string> & {
|
27
|
+
default: string;
|
28
|
+
};
|
29
|
+
}>>, {
|
24
30
|
extCls: string;
|
25
31
|
position: string;
|
26
32
|
navItems: unknown[];
|
@@ -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-fixed-navbar {
|
88
95
|
position: fixed;
|
@@ -6,15 +6,21 @@ declare const BkFixedNavbar: {
|
|
6
6
|
extCls: string;
|
7
7
|
position: string;
|
8
8
|
navItems: unknown[];
|
9
|
-
}> & Omit<Readonly<{
|
10
|
-
navItems
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
10
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
11
|
+
default: () => unknown[];
|
12
|
+
} & {
|
13
|
+
default: () => unknown[];
|
14
|
+
};
|
15
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
} & {
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
position: import("vue-types").VueTypeDef<string> & {
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "position" | "navItems">;
|
18
24
|
$attrs: {
|
19
25
|
[x: string]: unknown;
|
20
26
|
};
|
@@ -28,15 +34,21 @@ declare const BkFixedNavbar: {
|
|
28
34
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
29
35
|
$emit: (event: string, ...args: any[]) => void;
|
30
36
|
$el: any;
|
31
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
32
|
-
navItems
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
38
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
39
|
+
default: () => unknown[];
|
40
|
+
} & {
|
41
|
+
default: () => unknown[];
|
42
|
+
};
|
43
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
44
|
+
default: string;
|
45
|
+
} & {
|
46
|
+
default: string;
|
47
|
+
};
|
48
|
+
position: import("vue-types").VueTypeDef<string> & {
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
40
52
|
extCls: string;
|
41
53
|
position: string;
|
42
54
|
navItems: unknown[];
|
@@ -60,27 +72,39 @@ declare const BkFixedNavbar: {
|
|
60
72
|
$forceUpdate: () => void;
|
61
73
|
$nextTick: typeof import("vue").nextTick;
|
62
74
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
63
|
-
} & Readonly<{
|
64
|
-
navItems
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
75
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
76
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
77
|
+
default: () => unknown[];
|
78
|
+
} & {
|
79
|
+
default: () => unknown[];
|
80
|
+
};
|
81
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
82
|
+
default: string;
|
83
|
+
} & {
|
84
|
+
default: string;
|
85
|
+
};
|
86
|
+
position: import("vue-types").VueTypeDef<string> & {
|
87
|
+
default: string;
|
88
|
+
};
|
89
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
72
90
|
__isFragment?: never;
|
73
91
|
__isTeleport?: never;
|
74
92
|
__isSuspense?: never;
|
75
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
76
|
-
navItems
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
} & {
|
93
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
94
|
+
navItems: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
95
|
+
default: () => unknown[];
|
96
|
+
} & {
|
97
|
+
default: () => unknown[];
|
98
|
+
};
|
99
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
100
|
+
default: string;
|
101
|
+
} & {
|
102
|
+
default: string;
|
103
|
+
};
|
104
|
+
position: import("vue-types").VueTypeDef<string> & {
|
105
|
+
default: string;
|
106
|
+
};
|
107
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
84
108
|
extCls: string;
|
85
109
|
position: string;
|
86
110
|
navItems: unknown[];
|
package/lib/form/form-item.d.ts
CHANGED
@@ -97,33 +97,52 @@ declare const _default: import("vue").DefineComponent<{
|
|
97
97
|
clearValidate: () => void;
|
98
98
|
isError: import("vue").Ref<boolean>;
|
99
99
|
errorMessage: import("vue").Ref<string>;
|
100
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
101
|
-
label
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
100
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
101
|
+
label: import("vue-types").VueTypeValidableDef<string> & {
|
102
|
+
default: string;
|
103
|
+
};
|
104
|
+
labelWidth: import("vue-types").VueTypeValidableDef<number> & {
|
105
|
+
default: number;
|
106
|
+
};
|
107
|
+
labelPosition: import("vue-types").VueTypeValidableDef<string> & {
|
108
|
+
default: string;
|
109
|
+
};
|
110
|
+
property: import("vue-types").VueTypeValidableDef<string> & {
|
111
|
+
default: string;
|
112
|
+
} & {
|
113
|
+
default: string;
|
114
|
+
};
|
115
|
+
required: import("vue-types").VueTypeValidableDef<boolean> & {
|
116
|
+
default: boolean;
|
117
|
+
} & {
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
email: import("vue-types").VueTypeValidableDef<boolean> & {
|
121
|
+
default: boolean;
|
122
|
+
} & {
|
123
|
+
default: boolean;
|
124
|
+
};
|
125
|
+
max: import("vue-types").VueTypeValidableDef<number> & {
|
126
|
+
default: number;
|
127
|
+
};
|
128
|
+
min: import("vue-types").VueTypeValidableDef<number> & {
|
129
|
+
default: number;
|
130
|
+
};
|
131
|
+
maxlength: import("vue-types").VueTypeValidableDef<number> & {
|
132
|
+
default: number;
|
133
|
+
};
|
134
|
+
rules: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
135
|
+
default: () => unknown[];
|
136
|
+
};
|
137
|
+
autoCheck: import("vue-types").VueTypeValidableDef<boolean> & {
|
138
|
+
default: boolean;
|
139
|
+
} & {
|
140
|
+
default: boolean;
|
141
|
+
};
|
142
|
+
description: import("vue-types").VueTypeValidableDef<string> & {
|
143
|
+
default: string;
|
144
|
+
};
|
145
|
+
}>>, {
|
127
146
|
label: string;
|
128
147
|
property: string;
|
129
148
|
email: boolean;
|