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/input/input.d.ts
CHANGED
@@ -119,51 +119,73 @@ declare const _default: import("vue").DefineComponent<{
|
|
119
119
|
};
|
120
120
|
modelValue: import("vue-types").VueTypeDef<string | number>;
|
121
121
|
size: import("vue-types").VueTypeDef<string>;
|
122
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "update:modelValue")[], "input" | "focus" | "blur" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
123
|
-
type
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
122
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "keydown" | "clear" | "update:modelValue")[], "input" | "focus" | "blur" | "change" | "keydown" | "clear" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
123
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
124
|
+
default: string;
|
125
|
+
} & {
|
126
|
+
default: string;
|
127
|
+
};
|
128
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
129
|
+
default: boolean;
|
130
|
+
};
|
131
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
132
|
+
default: boolean;
|
133
|
+
};
|
134
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
135
|
+
default: boolean;
|
136
|
+
};
|
137
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
138
|
+
default: string;
|
139
|
+
};
|
140
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
141
|
+
default: string;
|
142
|
+
};
|
143
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
144
|
+
default: string;
|
145
|
+
};
|
146
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
147
|
+
default: string;
|
148
|
+
};
|
149
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
150
|
+
default: string;
|
151
|
+
};
|
152
|
+
step: import("vue-types").VueTypeDef<number> & {
|
153
|
+
default: number;
|
154
|
+
};
|
155
|
+
max: import("vue-types").VueTypeDef<number> & {
|
156
|
+
default: number;
|
157
|
+
};
|
158
|
+
min: import("vue-types").VueTypeDef<number> & {
|
159
|
+
default: number;
|
160
|
+
};
|
161
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
162
|
+
default: number;
|
163
|
+
};
|
164
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
165
|
+
default: boolean;
|
166
|
+
};
|
167
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
168
|
+
default: boolean;
|
169
|
+
} & {
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
173
|
+
default: number;
|
174
|
+
} & {
|
175
|
+
default: number;
|
176
|
+
} & {
|
177
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
178
|
+
};
|
179
|
+
modelValue: import("vue-types").VueTypeDef<string | number>;
|
180
|
+
size: import("vue-types").VueTypeDef<string>;
|
181
|
+
}>> & {
|
162
182
|
onFocus?: (...args: any[]) => any;
|
163
183
|
onBlur?: (...args: any[]) => any;
|
164
184
|
onChange?: (...args: any[]) => any;
|
165
185
|
onInput?: (...args: any[]) => any;
|
186
|
+
onKeydown?: (...args: any[]) => any;
|
166
187
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
188
|
+
onClear?: (...args: any[]) => any;
|
167
189
|
}, {
|
168
190
|
prefix: string;
|
169
191
|
placeholder: string;
|
package/lib/input/input.less
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
@import '../styles/mixins/mixins.less';
|
4
4
|
|
5
5
|
.active(@color: @primary-color) {
|
6
|
-
border-color: @primary-color;
|
6
|
+
border-color: @primary-color;
|
7
7
|
outline: 0;
|
8
8
|
box-shadow: 0px 0px 3px 0px @input-shadow-color;
|
9
9
|
}
|
@@ -26,6 +26,7 @@
|
|
26
26
|
&--suffix-icon {
|
27
27
|
padding-right: @input-horizontal-padding;
|
28
28
|
font-size: @input-icon-size;
|
29
|
+
line-height: 1;
|
29
30
|
color: @light-gray;
|
30
31
|
align-self: center;
|
31
32
|
}
|
@@ -69,7 +70,7 @@
|
|
69
70
|
color: @input-maxlength-color;
|
70
71
|
}
|
71
72
|
}
|
72
|
-
|
73
|
+
|
73
74
|
&--text {
|
74
75
|
padding: 0 @input-horizontal-padding;
|
75
76
|
font-size: @font-size-base;
|
@@ -97,7 +98,7 @@
|
|
97
98
|
height: 0;
|
98
99
|
}
|
99
100
|
|
100
|
-
[type=search]::-ms-reveal {
|
101
|
+
[type=search]::-ms-reveal {
|
101
102
|
display: none;
|
102
103
|
width: 0;
|
103
104
|
height: 0;
|
@@ -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% {
|
@@ -117,6 +123,7 @@
|
|
117
123
|
.bk-input--suffix-icon {
|
118
124
|
padding-right: var(--input-horizontal-padding);
|
119
125
|
font-size: var(--input-icon-size);
|
126
|
+
line-height: 1;
|
120
127
|
color: var(--light-gray);
|
121
128
|
align-self: center;
|
122
129
|
}
|
package/lib/link/index.d.ts
CHANGED
@@ -8,19 +8,31 @@ declare const BkLink: {
|
|
8
8
|
underline: boolean;
|
9
9
|
disabled: boolean;
|
10
10
|
href: string;
|
11
|
-
}> & Omit<Readonly<{
|
12
|
-
theme
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
11
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
16
|
+
default: string;
|
17
|
+
} & {
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
21
|
+
default: boolean;
|
22
|
+
} & {
|
23
|
+
default: boolean;
|
24
|
+
};
|
25
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
26
|
+
default: boolean;
|
27
|
+
} & {
|
28
|
+
default: boolean;
|
29
|
+
};
|
30
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
31
|
+
default: string;
|
32
|
+
} & {
|
33
|
+
default: string;
|
34
|
+
};
|
35
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "target" | "underline" | "disabled" | "href">;
|
24
36
|
$attrs: {
|
25
37
|
[x: string]: unknown;
|
26
38
|
};
|
@@ -34,19 +46,31 @@ declare const BkLink: {
|
|
34
46
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
35
47
|
$emit: (event: string, ...args: any[]) => void;
|
36
48
|
$el: any;
|
37
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
38
|
-
theme
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
49
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
50
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
54
|
+
default: string;
|
55
|
+
} & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
59
|
+
default: boolean;
|
60
|
+
} & {
|
61
|
+
default: boolean;
|
62
|
+
};
|
63
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
64
|
+
default: boolean;
|
65
|
+
} & {
|
66
|
+
default: boolean;
|
67
|
+
};
|
68
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
69
|
+
default: string;
|
70
|
+
} & {
|
71
|
+
default: string;
|
72
|
+
};
|
73
|
+
}>>, {
|
50
74
|
handleClick: (event: Event) => boolean;
|
51
75
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
52
76
|
theme: string;
|
@@ -74,37 +98,61 @@ declare const BkLink: {
|
|
74
98
|
$forceUpdate: () => void;
|
75
99
|
$nextTick: typeof import("vue").nextTick;
|
76
100
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
77
|
-
} & Readonly<{
|
78
|
-
theme
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
101
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
102
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
103
|
+
default: string;
|
104
|
+
};
|
105
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
106
|
+
default: string;
|
107
|
+
} & {
|
108
|
+
default: string;
|
109
|
+
};
|
110
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
111
|
+
default: boolean;
|
112
|
+
} & {
|
113
|
+
default: boolean;
|
114
|
+
};
|
115
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
116
|
+
default: boolean;
|
117
|
+
} & {
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
121
|
+
default: string;
|
122
|
+
} & {
|
123
|
+
default: string;
|
124
|
+
};
|
125
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
90
126
|
handleClick: (event: Event) => boolean;
|
91
127
|
}> & {} & {} & import("vue").ComponentCustomProperties;
|
92
128
|
__isFragment?: never;
|
93
129
|
__isTeleport?: never;
|
94
130
|
__isSuspense?: never;
|
95
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
96
|
-
theme
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
} & {
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
131
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
132
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
133
|
+
default: string;
|
134
|
+
};
|
135
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
136
|
+
default: string;
|
137
|
+
} & {
|
138
|
+
default: string;
|
139
|
+
};
|
140
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
141
|
+
default: boolean;
|
142
|
+
} & {
|
143
|
+
default: boolean;
|
144
|
+
};
|
145
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
146
|
+
default: boolean;
|
147
|
+
} & {
|
148
|
+
default: boolean;
|
149
|
+
};
|
150
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
151
|
+
default: string;
|
152
|
+
} & {
|
153
|
+
default: string;
|
154
|
+
};
|
155
|
+
}>>, {
|
108
156
|
handleClick: (event: Event) => boolean;
|
109
157
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
110
158
|
theme: string;
|
package/lib/link/link.d.ts
CHANGED
@@ -24,19 +24,31 @@ declare const _default: import("vue").DefineComponent<{
|
|
24
24
|
};
|
25
25
|
}, {
|
26
26
|
handleClick: (event: Event) => boolean;
|
27
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
28
|
-
theme
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
} & {
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
27
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
28
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
29
|
+
default: string;
|
30
|
+
};
|
31
|
+
href: import("vue-types").VueTypeValidableDef<string> & {
|
32
|
+
default: string;
|
33
|
+
} & {
|
34
|
+
default: string;
|
35
|
+
};
|
36
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
37
|
+
default: boolean;
|
38
|
+
} & {
|
39
|
+
default: boolean;
|
40
|
+
};
|
41
|
+
underline: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
|
+
default: boolean;
|
43
|
+
} & {
|
44
|
+
default: boolean;
|
45
|
+
};
|
46
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
} & {
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
}>>, {
|
40
52
|
theme: string;
|
41
53
|
target: string;
|
42
54
|
underline: 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-link {
|
88
94
|
font-size: var(--font-size-medium);
|
package/lib/loading/index.d.ts
CHANGED
@@ -6,22 +6,22 @@ declare const BkLoading: {
|
|
6
6
|
$props: Partial<{
|
7
7
|
title: string;
|
8
8
|
loading: boolean;
|
9
|
-
}> & Omit<Readonly<{
|
10
|
-
indicator
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
title: string
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
mode
|
24
|
-
}
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
10
|
+
indicator: {
|
11
|
+
type: FunctionConstructor;
|
12
|
+
};
|
13
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
14
|
+
default: boolean;
|
15
|
+
};
|
16
|
+
theme: import("vue-types").VueTypeDef<string>;
|
17
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
18
|
+
default: string;
|
19
|
+
} & {
|
20
|
+
default: string;
|
21
|
+
};
|
22
|
+
size: import("vue-types").VueTypeDef<string>;
|
23
|
+
mode: import("vue-types").VueTypeDef<BkLoadingMode>;
|
24
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "loading">;
|
25
25
|
$attrs: {
|
26
26
|
[x: string]: unknown;
|
27
27
|
};
|
@@ -35,22 +35,22 @@ declare const BkLoading: {
|
|
35
35
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
36
36
|
$emit: (event: string, ...args: any[]) => void;
|
37
37
|
$el: any;
|
38
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
39
|
-
indicator
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
title: string
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
mode
|
53
|
-
}
|
38
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
39
|
+
indicator: {
|
40
|
+
type: FunctionConstructor;
|
41
|
+
};
|
42
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
43
|
+
default: boolean;
|
44
|
+
};
|
45
|
+
theme: import("vue-types").VueTypeDef<string>;
|
46
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
47
|
+
default: string;
|
48
|
+
} & {
|
49
|
+
default: string;
|
50
|
+
};
|
51
|
+
size: import("vue-types").VueTypeDef<string>;
|
52
|
+
mode: import("vue-types").VueTypeDef<BkLoadingMode>;
|
53
|
+
}>>, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
54
|
[key: string]: any;
|
55
55
|
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
56
56
|
title: string;
|
@@ -75,43 +75,43 @@ declare const BkLoading: {
|
|
75
75
|
$forceUpdate: () => void;
|
76
76
|
$nextTick: typeof import("vue").nextTick;
|
77
77
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
78
|
-
} & Readonly<{
|
79
|
-
indicator
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
title: string
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
mode
|
93
|
-
}
|
78
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
79
|
+
indicator: {
|
80
|
+
type: FunctionConstructor;
|
81
|
+
};
|
82
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
83
|
+
default: boolean;
|
84
|
+
};
|
85
|
+
theme: import("vue-types").VueTypeDef<string>;
|
86
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
87
|
+
default: string;
|
88
|
+
} & {
|
89
|
+
default: string;
|
90
|
+
};
|
91
|
+
size: import("vue-types").VueTypeDef<string>;
|
92
|
+
mode: import("vue-types").VueTypeDef<BkLoadingMode>;
|
93
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
94
94
|
[key: string]: any;
|
95
95
|
}>[]> & {} & {} & import("vue").ComponentCustomProperties;
|
96
96
|
__isFragment?: never;
|
97
97
|
__isTeleport?: never;
|
98
98
|
__isSuspense?: never;
|
99
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
100
|
-
indicator
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
title: string
|
108
|
-
|
109
|
-
} & {
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
mode
|
114
|
-
}
|
99
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
100
|
+
indicator: {
|
101
|
+
type: FunctionConstructor;
|
102
|
+
};
|
103
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
104
|
+
default: boolean;
|
105
|
+
};
|
106
|
+
theme: import("vue-types").VueTypeDef<string>;
|
107
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
108
|
+
default: string;
|
109
|
+
} & {
|
110
|
+
default: string;
|
111
|
+
};
|
112
|
+
size: import("vue-types").VueTypeDef<string>;
|
113
|
+
mode: import("vue-types").VueTypeDef<BkLoadingMode>;
|
114
|
+
}>>, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
115
115
|
[key: string]: any;
|
116
116
|
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
117
117
|
title: string;
|
package/lib/loading/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 a={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 a={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}(a);var i,d,l,r=n(a.exports);function u(e){l="function"==typeof e?e:function(){return o.createVNode(e,null,null)}}e.BkLoadingMode=void 0,(i=e.BkLoadingMode||(e.BkLoadingMode={})).Spin="spin",i.Default="default",e.BkLoadingSize=void 0,(d=e.BkLoadingSize||(e.BkLoadingSize={})).Small="small",d.Large="large";var s={indicator:{type:Function},loading:t.PropTypes.bool,theme:t.PropTypes.theme(["white","primary","warning","success","danger"]),title:t.PropTypes.string.def(""),size:t.PropTypes.size(),mode:t.PropTypes.oneOf(Object.values(e.BkLoadingMode))},c=o.defineComponent({name:"Loading",props:s,setup:function(e,n){var a=[1,2,3,4].map((function(e){return o.createVNode("span",{class:"dot dot-".concat(e)},null)})),i=o.createVNode("div",{class:"bk-spin-indicator"},[[1,2,3,4,5,6,7,8].map((function(e){return o.createVNode("span",{class:"oval oval-".concat(e)},null)}))]),d=o.computed((function(){return t.classes({"bk-nested-loading":!!n.slots.default},"bk-loading-wrapper")})),u=o.computed((function(){var o;return t.classes((r(o={},"bk-loading-size-".concat(e.size),!e.size),r(o,"bk-loading-".concat(e.theme),!e.theme),o),"bk-loading-indicator")})),s=o.computed((function(){return!!e.title})),c=o.computed((function(){var t="spin"===e.mode;return"function"==typeof e.indicator?o.createVNode(e.indicator,null,null):"function"==typeof l?o.createVNode(l,null,null):t?i:a}));return function(){var t,a;return n.slots.default&&!e.loading?null===(a=(t=n.slots).default)||void 0===a?void 0:a.call(t):o.createVNode("div",{class:d.value},[o.createVNode("div",{class:u.value},[c.value,s.value&&o.createVNode("div",{class:"bk-loading-title"},[e.title])]),n.slots.default&&o.createVNode("div",{class:"bk-loading-mask"},[n.slots.default()])])}}}),p=t.withInstallProps(c,{setDefaultIndicator:u,BkLoadingMode:e.BkLoadingMode,BkLoadingSize:e.BkLoadingSize},!0);e.BkLoading=p,e.default=p,e.setDefaultIndicator=u,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/loading/loading.d.ts
CHANGED
@@ -42,22 +42,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
42
42
|
mode: import("vue-types").VueTypeDef<BkLoadingMode>;
|
43
43
|
}, () => JSX.Element | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
44
44
|
[key: string]: any;
|
45
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
46
|
-
indicator
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
title: string
|
54
|
-
|
55
|
-
} & {
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
mode
|
60
|
-
}
|
45
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
46
|
+
indicator: {
|
47
|
+
type: FunctionConstructor;
|
48
|
+
};
|
49
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
50
|
+
default: boolean;
|
51
|
+
};
|
52
|
+
theme: import("vue-types").VueTypeDef<string>;
|
53
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
54
|
+
default: string;
|
55
|
+
} & {
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
size: import("vue-types").VueTypeDef<string>;
|
59
|
+
mode: import("vue-types").VueTypeDef<BkLoadingMode>;
|
60
|
+
}>>, {
|
61
61
|
title: string;
|
62
62
|
loading: boolean;
|
63
63
|
}>;
|
@@ -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% {
|