bkui-vue 1.0.3-beta.7 → 1.0.3-beta.70
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/index.cjs.js +148 -150
- package/dist/index.esm.js +17965 -16537
- package/dist/index.umd.js +148 -150
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/alert/alert.variable.css +3 -0
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/badge/badge.variable.css +3 -0
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.variable.css +3 -0
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader.variable.css +3 -0
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +4 -4
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/collapse/collapse.variable.css +3 -0
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.variable.css +3 -0
- package/lib/components.d.ts +1 -0
- package/lib/components.js +2 -5
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +4 -0
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/date-picker/base/month-table.d.ts +2 -2
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +70 -32
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +4 -0
- package/lib/dialog/dialog.css +93 -122
- package/lib/dialog/dialog.d.ts +39 -14
- package/lib/dialog/dialog.less +92 -98
- package/lib/dialog/dialog.variable.css +96 -122
- package/lib/dialog/index.d.ts +81 -30
- package/lib/dialog/index.js +146 -124
- package/lib/dialog/props.d.ts +18 -6
- package/lib/directives/index.js +0 -1
- package/lib/dist.index.js +0 -1
- package/lib/divider/divider.variable.css +3 -0
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/exception/exception.variable.css +3 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +3 -1
- package/lib/hooks.js +1 -8
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +5 -2
- package/lib/index.js +0 -1
- package/lib/info-box/index.js +41 -455
- package/lib/info-box/info-box.css +6 -32
- package/lib/info-box/info-box.d.ts +1 -1
- package/lib/info-box/info-box.less +16 -47
- package/lib/info-box/info-box.variable.css +9 -32
- package/lib/input/index.js +5 -0
- package/lib/input/input.variable.css +3 -0
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/message/message.variable.css +3 -0
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +100 -52
- package/lib/modal/index.js +173 -74
- package/lib/modal/modal.css +41 -65
- package/lib/modal/modal.d.ts +40 -17
- package/lib/modal/modal.less +50 -57
- package/lib/modal/modal.variable.css +44 -65
- package/lib/modal/props.mixin.d.ts +12 -0
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/notify.variable.css +3 -0
- package/lib/pagination/index.js +2 -1
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +45 -26
- package/lib/pop-confirm/index.js +8 -5
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.js +45 -26
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/preset.d.ts +2 -0
- package/lib/preset.js +14 -20
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.js +5 -5
- package/lib/radio/radio.variable.css +3 -0
- package/lib/rate/rate.variable.css +3 -0
- package/lib/rate/star.variable.css +3 -0
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +701 -366
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +116 -6
- package/lib/search-select/utils.d.ts +19 -6
- package/lib/select/index.d.ts +143 -6
- package/lib/select/index.js +1355 -78
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +55 -12
- package/lib/select/select.d.ts +59 -2
- package/lib/select/select.less +69 -19
- package/lib/select/select.variable.css +58 -12
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/select/type.d.ts +2 -3
- package/lib/shared/index.js +67 -3
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +5 -0
- package/lib/sideslider/index.d.ts +55 -9
- package/lib/sideslider/index.js +26 -25
- package/lib/sideslider/sideslider.css +51 -46
- package/lib/sideslider/sideslider.d.ts +25 -3
- package/lib/sideslider/sideslider.less +108 -104
- package/lib/sideslider/sideslider.variable.css +54 -46
- package/lib/slider/slider.variable.css +3 -0
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-column.d.ts +111 -5
- package/lib/table/index.d.ts +51 -5
- package/lib/table/index.js +504 -261
- package/lib/table/plugins/head-filter.variable.css +3 -0
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/props.d.ts +6 -4
- package/lib/table/table.css +6 -12
- package/lib/table/table.less +12 -9
- package/lib/table/table.variable.css +9 -12
- package/lib/table/use-attributes.d.ts +4 -42
- package/lib/table/utils.d.ts +2 -2
- package/lib/table-column/index.d.ts +235 -119
- package/lib/table-column/index.js +217 -30
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/index.d.ts +4 -4
- package/lib/tag-input/tag-input.d.ts +2 -2
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +1 -1
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +54 -65
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/transfer.variable.css +3 -0
- package/lib/tree/tree.variable.css +3 -0
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +21 -30
- package/lib/upload/props.d.ts +3 -0
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.variable.css +3 -0
- package/lib/virtual-render/index.d.ts +9 -9
- package/lib/virtual-render/virtual-render.d.ts +3 -3
- package/lib/virtual-render/virtual-render.variable.css +3 -0
- package/package.json +3 -2
@@ -1,39 +1,13 @@
|
|
1
|
-
.bk-
|
1
|
+
.bk-info-wrapper .bk-modal-wrapper {
|
2
2
|
width: 440px;
|
3
3
|
}
|
4
|
-
.bk-
|
5
|
-
|
6
|
-
}
|
7
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
|
8
|
-
width: 400px;
|
9
|
-
}
|
10
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
11
|
-
border-radius: 2px;
|
12
|
-
}
|
13
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
|
14
|
-
padding: 24px 24px 0;
|
15
|
-
}
|
16
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
17
|
-
height: 27px;
|
18
|
-
margin: 15px 0 10px;
|
4
|
+
.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
5
|
+
margin-top: 16px;
|
19
6
|
}
|
20
|
-
.bk-
|
21
|
-
|
22
|
-
max-height: 100%;
|
23
|
-
min-height: 100%;
|
24
|
-
padding: 0 50px 10px;
|
25
|
-
word-break: break-all;
|
7
|
+
.bk-info-wrapper .bk-dialog-footer button {
|
8
|
+
min-width: 88px;
|
26
9
|
}
|
27
|
-
.bk-
|
28
|
-
margin-bottom: 10px;
|
10
|
+
.bk-info-sub-title {
|
29
11
|
text-align: center;
|
30
12
|
word-break: break-all;
|
31
13
|
}
|
32
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
33
|
-
padding: 0 65px 33px;
|
34
|
-
background-color: #fff;
|
35
|
-
border-top: none;
|
36
|
-
}
|
37
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
38
|
-
min-width: 88px;
|
39
|
-
}
|
@@ -4,7 +4,7 @@ export interface ModalFuncProps {
|
|
4
4
|
width?: string | number;
|
5
5
|
height?: string | number;
|
6
6
|
'ext-cls': string | string[];
|
7
|
-
|
7
|
+
theme?: 'primary' | 'warning' | 'success' | 'danger';
|
8
8
|
infoType?: 'success' | 'danger' | 'warning' | 'loading';
|
9
9
|
title?: string | (() => VNode | string) | VNode;
|
10
10
|
subTitle?: string | (() => VNode) | VNode;
|
@@ -1,55 +1,24 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
|
-
.@{bk-prefix}-modal-ctx {
|
3
|
-
&.@{bk-prefix}-info-wrapper {
|
4
|
-
.@{bk-prefix}-modal-wrapper {
|
5
|
-
width: 440px;
|
6
2
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
&.small {
|
12
|
-
width: 400px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.@{bk-prefix}-modal-body {
|
16
|
-
border-radius: 2px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.@{bk-prefix}-dialog-header {
|
20
|
-
padding: 24px 24px 0;
|
21
|
-
|
22
|
-
.@{bk-prefix}-dialog-title {
|
23
|
-
height: 27px;
|
24
|
-
margin: 15px 0 10px;
|
25
|
-
}
|
26
|
-
}
|
3
|
+
&.@{bk-prefix}-info-wrapper {
|
4
|
+
.@{bk-prefix}-modal-wrapper {
|
5
|
+
width: 440px;
|
27
6
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
min-height: 100%;
|
32
|
-
padding: 0 50px 10px;
|
33
|
-
word-break: break-all;
|
34
|
-
.@{bk-prefix}-info-sub-title {
|
35
|
-
margin-bottom: 10px;
|
36
|
-
text-align: center;
|
37
|
-
word-break: break-all;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
.@{bk-prefix}-modal-footer {
|
42
|
-
padding: 0 65px 33px;
|
43
|
-
background-color: #fff;
|
44
|
-
border-top: none;
|
45
|
-
|
46
|
-
.@{bk-prefix}-dialog-footer {
|
47
|
-
button {
|
48
|
-
min-width: 88px;
|
49
|
-
}
|
50
|
-
}
|
7
|
+
.@{bk-prefix}-dialog-header {
|
8
|
+
.@{bk-prefix}-dialog-title {
|
9
|
+
margin-top: 16px;
|
51
10
|
}
|
52
11
|
}
|
12
|
+
}
|
53
13
|
|
14
|
+
.@{bk-prefix}-dialog-footer {
|
15
|
+
button {
|
16
|
+
min-width: 88px;
|
17
|
+
}
|
54
18
|
}
|
55
19
|
}
|
20
|
+
|
21
|
+
.@{bk-prefix}-info-sub-title {
|
22
|
+
text-align: center;
|
23
|
+
word-break: break-all;
|
24
|
+
}
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,43 +124,19 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
|
-
.bk-
|
130
|
+
.bk-info-wrapper .bk-modal-wrapper {
|
128
131
|
width: 440px;
|
129
132
|
}
|
130
|
-
.bk-
|
131
|
-
|
132
|
-
}
|
133
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
|
134
|
-
width: 400px;
|
135
|
-
}
|
136
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
137
|
-
border-radius: 2px;
|
138
|
-
}
|
139
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
|
140
|
-
padding: 24px 24px 0;
|
141
|
-
}
|
142
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
143
|
-
height: 27px;
|
144
|
-
margin: 15px 0 10px;
|
133
|
+
.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
134
|
+
margin-top: 16px;
|
145
135
|
}
|
146
|
-
.bk-
|
147
|
-
|
148
|
-
max-height: 100%;
|
149
|
-
min-height: 100%;
|
150
|
-
padding: 0 50px 10px;
|
151
|
-
word-break: break-all;
|
136
|
+
.bk-info-wrapper .bk-dialog-footer button {
|
137
|
+
min-width: 88px;
|
152
138
|
}
|
153
|
-
.bk-
|
154
|
-
margin-bottom: 10px;
|
139
|
+
.bk-info-sub-title {
|
155
140
|
text-align: center;
|
156
141
|
word-break: break-all;
|
157
142
|
}
|
158
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
159
|
-
padding: 0 65px 33px;
|
160
|
-
background-color: #fff;
|
161
|
-
border-top: none;
|
162
|
-
}
|
163
|
-
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
164
|
-
min-width: 88px;
|
165
|
-
}
|
package/lib/input/index.js
CHANGED
@@ -948,6 +948,11 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_definePro
|
|
948
948
|
});
|
949
949
|
});
|
950
950
|
var tooltips = (0,external_vue_namespaceObject.computed)(function () {
|
951
|
+
if (showMaxLimit.value && ceilMaxLength.value - modelValueLength.value === 0) {
|
952
|
+
return {
|
953
|
+
content: t.value.maxlengthLimitTips
|
954
|
+
};
|
955
|
+
}
|
951
956
|
return props.showOverflowTooltips && isOverflow.value && props.modelValue ? {
|
952
957
|
content: props.modelValue,
|
953
958
|
sameWidth: true
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
@keyframes loading-scale-animate {
|
128
131
|
0% {
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-link {
|
128
131
|
font-size: var(--font-size-medium);
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
@keyframes loading-scale-animate {
|
128
131
|
0% {
|
package/lib/locale/index.js
CHANGED
@@ -173,7 +173,8 @@ var en = {
|
|
173
173
|
uploadLabel: 'Upload Files'
|
174
174
|
},
|
175
175
|
input: {
|
176
|
-
placeholder: 'Please input'
|
176
|
+
placeholder: 'Please input',
|
177
|
+
maxlengthLimitTips: 'Reached character limit'
|
177
178
|
},
|
178
179
|
tagInput: {
|
179
180
|
placeholder: 'Please input and press ENTER to finish'
|
@@ -380,7 +381,8 @@ var zhCn = {
|
|
380
381
|
uploadLabel: '上传文件'
|
381
382
|
},
|
382
383
|
input: {
|
383
|
-
placeholder: '请输入'
|
384
|
+
placeholder: '请输入',
|
385
|
+
maxlengthLimitTips: '已达到字数上限'
|
384
386
|
},
|
385
387
|
tagInput: {
|
386
388
|
placeholder: '请输入并按Enter结束'
|
package/lib/locale/lang/en.d.ts
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
@keyframes loading-scale-animate {
|
128
131
|
0% {
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-menu {
|
128
131
|
display: block;
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-message {
|
128
131
|
position: fixed;
|
package/lib/modal/index.d.ts
CHANGED
@@ -62,6 +62,8 @@ declare const BkModal: {
|
|
62
62
|
};
|
63
63
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
64
64
|
default: string;
|
65
|
+
} & {
|
66
|
+
default: string;
|
65
67
|
};
|
66
68
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
67
69
|
default: string;
|
@@ -84,39 +86,43 @@ declare const BkModal: {
|
|
84
86
|
default: boolean;
|
85
87
|
};
|
86
88
|
infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
89
|
+
bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
|
90
|
+
default: string;
|
91
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
92
|
+
default: () => unknown[];
|
93
|
+
});
|
87
94
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
88
95
|
default: string;
|
89
96
|
};
|
90
97
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
91
98
|
default: string;
|
92
99
|
};
|
100
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
101
|
+
default: number;
|
102
|
+
} & {
|
103
|
+
default: number;
|
104
|
+
};
|
93
105
|
}>> & {
|
94
106
|
onClose?: (...args: any[]) => any;
|
95
|
-
onShown?: (...args: any[]) => any;
|
96
107
|
onHidden?: (...args: any[]) => any;
|
97
|
-
|
108
|
+
onShown?: (...args: any[]) => any;
|
98
109
|
onQuickClose?: (...args: any[]) => any;
|
110
|
+
"onQuick-close"?: (...args: any[]) => any;
|
99
111
|
}, {
|
112
|
+
zIndex: import("vue").Ref<string | number>;
|
100
113
|
visible: import("vue").Ref<boolean>;
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
height: string | number;
|
105
|
-
minHeigth: string;
|
114
|
+
contentStyles: import("vue").Ref<{}>;
|
115
|
+
isContentScroll: import("vue").Ref<boolean>;
|
116
|
+
modalWrapperStyles: import("vue").ComputedRef<{
|
106
117
|
display: string;
|
107
|
-
zIndex: string | number;
|
108
|
-
left: string;
|
109
|
-
top: string;
|
110
|
-
}>;
|
111
|
-
fullscreenStyle: import("vue").ComputedRef<{
|
112
|
-
width: string;
|
113
|
-
height: string;
|
114
118
|
}>;
|
115
119
|
handleClickOutSide: (e: MouseEvent) => void;
|
116
120
|
refRoot: import("vue").Ref<HTMLElement>;
|
117
121
|
refMask: import("vue").Ref<HTMLElement>;
|
118
|
-
|
119
|
-
|
122
|
+
resolveClassName: (cls: string) => string;
|
123
|
+
close: () => void;
|
124
|
+
resizeTargetRef: import("vue").Ref<HTMLElement>;
|
125
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "shown" | "quickClose" | "quick-close")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
120
126
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
121
127
|
default: boolean;
|
122
128
|
} & {
|
@@ -178,6 +184,8 @@ declare const BkModal: {
|
|
178
184
|
};
|
179
185
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
180
186
|
default: string;
|
187
|
+
} & {
|
188
|
+
default: string;
|
181
189
|
};
|
182
190
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
183
191
|
default: string;
|
@@ -200,18 +208,28 @@ declare const BkModal: {
|
|
200
208
|
default: boolean;
|
201
209
|
};
|
202
210
|
infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
211
|
+
bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
|
212
|
+
default: string;
|
213
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
214
|
+
default: () => unknown[];
|
215
|
+
});
|
203
216
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
204
217
|
default: string;
|
205
218
|
};
|
206
219
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
207
220
|
default: string;
|
208
221
|
};
|
222
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
223
|
+
default: number;
|
224
|
+
} & {
|
225
|
+
default: number;
|
226
|
+
};
|
209
227
|
}>> & {
|
210
228
|
onClose?: (...args: any[]) => any;
|
211
|
-
onShown?: (...args: any[]) => any;
|
212
229
|
onHidden?: (...args: any[]) => any;
|
213
|
-
|
230
|
+
onShown?: (...args: any[]) => any;
|
214
231
|
onQuickClose?: (...args: any[]) => any;
|
232
|
+
"onQuick-close"?: (...args: any[]) => any;
|
215
233
|
}, {
|
216
234
|
title: string;
|
217
235
|
width: string | number;
|
@@ -225,14 +243,16 @@ declare const BkModal: {
|
|
225
243
|
transfer: string | boolean | HTMLElement;
|
226
244
|
direction: string;
|
227
245
|
renderDirective: "show" | "if";
|
228
|
-
quickClose: boolean;
|
229
246
|
scrollable: boolean;
|
230
247
|
showMask: boolean;
|
231
248
|
closeIcon: boolean;
|
232
249
|
escClose: boolean;
|
233
250
|
fullscreen: boolean;
|
251
|
+
quickClose: boolean;
|
234
252
|
animateType: string;
|
235
253
|
multiInstance: boolean;
|
254
|
+
bodyClass: string | unknown[];
|
255
|
+
hiddenDelay: number;
|
236
256
|
}, true, {}, {}, {
|
237
257
|
P: {};
|
238
258
|
B: {};
|
@@ -302,6 +322,8 @@ declare const BkModal: {
|
|
302
322
|
};
|
303
323
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
304
324
|
default: string;
|
325
|
+
} & {
|
326
|
+
default: string;
|
305
327
|
};
|
306
328
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
307
329
|
default: string;
|
@@ -324,38 +346,42 @@ declare const BkModal: {
|
|
324
346
|
default: boolean;
|
325
347
|
};
|
326
348
|
infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
349
|
+
bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
|
350
|
+
default: string;
|
351
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
352
|
+
default: () => unknown[];
|
353
|
+
});
|
327
354
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
328
355
|
default: string;
|
329
356
|
};
|
330
357
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
331
358
|
default: string;
|
332
359
|
};
|
360
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
361
|
+
default: number;
|
362
|
+
} & {
|
363
|
+
default: number;
|
364
|
+
};
|
333
365
|
}>> & {
|
334
366
|
onClose?: (...args: any[]) => any;
|
335
|
-
onShown?: (...args: any[]) => any;
|
336
367
|
onHidden?: (...args: any[]) => any;
|
337
|
-
|
368
|
+
onShown?: (...args: any[]) => any;
|
338
369
|
onQuickClose?: (...args: any[]) => any;
|
370
|
+
"onQuick-close"?: (...args: any[]) => any;
|
339
371
|
}, {
|
372
|
+
zIndex: import("vue").Ref<string | number>;
|
340
373
|
visible: import("vue").Ref<boolean>;
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
height: string | number;
|
345
|
-
minHeigth: string;
|
374
|
+
contentStyles: import("vue").Ref<{}>;
|
375
|
+
isContentScroll: import("vue").Ref<boolean>;
|
376
|
+
modalWrapperStyles: import("vue").ComputedRef<{
|
346
377
|
display: string;
|
347
|
-
zIndex: string | number;
|
348
|
-
left: string;
|
349
|
-
top: string;
|
350
|
-
}>;
|
351
|
-
fullscreenStyle: import("vue").ComputedRef<{
|
352
|
-
width: string;
|
353
|
-
height: string;
|
354
378
|
}>;
|
355
379
|
handleClickOutSide: (e: MouseEvent) => void;
|
356
380
|
refRoot: import("vue").Ref<HTMLElement>;
|
357
381
|
refMask: import("vue").Ref<HTMLElement>;
|
358
|
-
|
382
|
+
resolveClassName: (cls: string) => string;
|
383
|
+
close: () => void;
|
384
|
+
resizeTargetRef: import("vue").Ref<HTMLElement>;
|
359
385
|
}, {}, {}, {}, {
|
360
386
|
title: string;
|
361
387
|
width: string | number;
|
@@ -369,14 +395,16 @@ declare const BkModal: {
|
|
369
395
|
transfer: string | boolean | HTMLElement;
|
370
396
|
direction: string;
|
371
397
|
renderDirective: "show" | "if";
|
372
|
-
quickClose: boolean;
|
373
398
|
scrollable: boolean;
|
374
399
|
showMask: boolean;
|
375
400
|
closeIcon: boolean;
|
376
401
|
escClose: boolean;
|
377
402
|
fullscreen: boolean;
|
403
|
+
quickClose: boolean;
|
378
404
|
animateType: string;
|
379
405
|
multiInstance: boolean;
|
406
|
+
bodyClass: string | unknown[];
|
407
|
+
hiddenDelay: number;
|
380
408
|
}>;
|
381
409
|
__isFragment?: never;
|
382
410
|
__isTeleport?: never;
|
@@ -443,6 +471,8 @@ declare const BkModal: {
|
|
443
471
|
};
|
444
472
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
445
473
|
default: string;
|
474
|
+
} & {
|
475
|
+
default: string;
|
446
476
|
};
|
447
477
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
448
478
|
default: string;
|
@@ -465,39 +495,43 @@ declare const BkModal: {
|
|
465
495
|
default: boolean;
|
466
496
|
};
|
467
497
|
infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
498
|
+
bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
|
499
|
+
default: string;
|
500
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
501
|
+
default: () => unknown[];
|
502
|
+
});
|
468
503
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
469
504
|
default: string;
|
470
505
|
};
|
471
506
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
472
507
|
default: string;
|
473
508
|
};
|
509
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
510
|
+
default: number;
|
511
|
+
} & {
|
512
|
+
default: number;
|
513
|
+
};
|
474
514
|
}>> & {
|
475
515
|
onClose?: (...args: any[]) => any;
|
476
|
-
onShown?: (...args: any[]) => any;
|
477
516
|
onHidden?: (...args: any[]) => any;
|
478
|
-
|
517
|
+
onShown?: (...args: any[]) => any;
|
479
518
|
onQuickClose?: (...args: any[]) => any;
|
519
|
+
"onQuick-close"?: (...args: any[]) => any;
|
480
520
|
}, {
|
521
|
+
zIndex: import("vue").Ref<string | number>;
|
481
522
|
visible: import("vue").Ref<boolean>;
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
height: string | number;
|
486
|
-
minHeigth: string;
|
523
|
+
contentStyles: import("vue").Ref<{}>;
|
524
|
+
isContentScroll: import("vue").Ref<boolean>;
|
525
|
+
modalWrapperStyles: import("vue").ComputedRef<{
|
487
526
|
display: string;
|
488
|
-
zIndex: string | number;
|
489
|
-
left: string;
|
490
|
-
top: string;
|
491
|
-
}>;
|
492
|
-
fullscreenStyle: import("vue").ComputedRef<{
|
493
|
-
width: string;
|
494
|
-
height: string;
|
495
527
|
}>;
|
496
528
|
handleClickOutSide: (e: MouseEvent) => void;
|
497
529
|
refRoot: import("vue").Ref<HTMLElement>;
|
498
530
|
refMask: import("vue").Ref<HTMLElement>;
|
499
|
-
|
500
|
-
|
531
|
+
resolveClassName: (cls: string) => string;
|
532
|
+
close: () => void;
|
533
|
+
resizeTargetRef: import("vue").Ref<HTMLElement>;
|
534
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "shown" | "quickClose" | "quick-close")[], "close" | "hidden" | "shown" | "quickClose" | "quick-close", {
|
501
535
|
title: string;
|
502
536
|
width: string | number;
|
503
537
|
height: string | number;
|
@@ -510,14 +544,16 @@ declare const BkModal: {
|
|
510
544
|
transfer: string | boolean | HTMLElement;
|
511
545
|
direction: string;
|
512
546
|
renderDirective: "show" | "if";
|
513
|
-
quickClose: boolean;
|
514
547
|
scrollable: boolean;
|
515
548
|
showMask: boolean;
|
516
549
|
closeIcon: boolean;
|
517
550
|
escClose: boolean;
|
518
551
|
fullscreen: boolean;
|
552
|
+
quickClose: boolean;
|
519
553
|
animateType: string;
|
520
554
|
multiInstance: boolean;
|
555
|
+
bodyClass: string | unknown[];
|
556
|
+
hiddenDelay: number;
|
521
557
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
522
558
|
propsMixin: {
|
523
559
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -581,6 +617,8 @@ declare const BkModal: {
|
|
581
617
|
};
|
582
618
|
direction: import("vue-types").VueTypeValidableDef<string> & {
|
583
619
|
default: string;
|
620
|
+
} & {
|
621
|
+
default: string;
|
584
622
|
};
|
585
623
|
title: import("vue-types").VueTypeValidableDef<string> & {
|
586
624
|
default: string;
|
@@ -603,12 +641,22 @@ declare const BkModal: {
|
|
603
641
|
default: boolean;
|
604
642
|
};
|
605
643
|
infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
644
|
+
bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
|
645
|
+
default: string;
|
646
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
647
|
+
default: () => unknown[];
|
648
|
+
});
|
606
649
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
607
650
|
default: string;
|
608
651
|
};
|
609
652
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
610
653
|
default: string;
|
611
654
|
};
|
655
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
656
|
+
default: number;
|
657
|
+
} & {
|
658
|
+
default: number;
|
659
|
+
};
|
612
660
|
};
|
613
661
|
}>;
|
614
662
|
export default BkModal;
|