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.
Files changed (230) hide show
  1. package/dist/index.cjs.js +148 -150
  2. package/dist/index.esm.js +17965 -16537
  3. package/dist/index.umd.js +148 -150
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.variable.css +3 -0
  15. package/lib/alert/alert.variable.css +3 -0
  16. package/lib/backtop/backtop.variable.css +3 -0
  17. package/lib/badge/badge.variable.css +3 -0
  18. package/lib/breadcrumb/breadcrumb.variable.css +3 -0
  19. package/lib/button/button.variable.css +3 -0
  20. package/lib/card/card.variable.css +3 -0
  21. package/lib/cascader/cascader.variable.css +3 -0
  22. package/lib/checkbox/checkbox.variable.css +3 -0
  23. package/lib/checkbox/index.js +4 -4
  24. package/lib/code-diff/code-diff.variable.css +3 -0
  25. package/lib/collapse/collapse.variable.css +3 -0
  26. package/lib/collapse-transition/collapse-transition.variable.css +3 -0
  27. package/lib/color-picker/color-picker.variable.css +3 -0
  28. package/lib/components.d.ts +1 -0
  29. package/lib/components.js +2 -5
  30. package/lib/config-provider/config-provider.d.ts +3 -0
  31. package/lib/config-provider/config-provider.variable.css +3 -0
  32. package/lib/config-provider/index.d.ts +4 -0
  33. package/lib/config-provider/token.d.ts +1 -0
  34. package/lib/container/container.variable.css +3 -0
  35. package/lib/date-picker/base/month-table.d.ts +2 -2
  36. package/lib/date-picker/date-picker.d.ts +1 -0
  37. package/lib/date-picker/date-picker.variable.css +3 -0
  38. package/lib/date-picker/index.d.ts +3 -0
  39. package/lib/date-picker/index.js +70 -32
  40. package/lib/date-picker/interface.d.ts +1 -1
  41. package/lib/date-picker/time-picker.d.ts +1 -0
  42. package/lib/date-picker/utils.d.ts +4 -0
  43. package/lib/dialog/dialog.css +93 -122
  44. package/lib/dialog/dialog.d.ts +39 -14
  45. package/lib/dialog/dialog.less +92 -98
  46. package/lib/dialog/dialog.variable.css +96 -122
  47. package/lib/dialog/index.d.ts +81 -30
  48. package/lib/dialog/index.js +146 -124
  49. package/lib/dialog/props.d.ts +18 -6
  50. package/lib/directives/index.js +0 -1
  51. package/lib/dist.index.js +0 -1
  52. package/lib/divider/divider.variable.css +3 -0
  53. package/lib/dropdown/dropdown.css +3 -1
  54. package/lib/dropdown/dropdown.variable.css +6 -1
  55. package/lib/exception/exception.variable.css +3 -0
  56. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  57. package/lib/form/form.variable.css +3 -0
  58. package/lib/form/index.js +3 -1
  59. package/lib/hooks.js +1 -8
  60. package/lib/icon/image-fill.js +82 -167
  61. package/lib/icon/img-error.js +82 -167
  62. package/lib/icon/img-placehoulder.js +82 -167
  63. package/lib/icon/index.d.ts +1 -0
  64. package/lib/icon/index.js +87 -2427
  65. package/lib/icon/info-line.js +82 -167
  66. package/lib/icon/info.js +82 -167
  67. package/lib/icon/left-shape.js +82 -167
  68. package/lib/icon/left-turn-line.js +82 -167
  69. package/lib/icon/loading.js +82 -167
  70. package/lib/icon/narrow-line.js +82 -167
  71. package/lib/icon/original.js +82 -167
  72. package/lib/icon/pdf-fill.js +82 -167
  73. package/lib/icon/play-shape.js +82 -167
  74. package/lib/icon/plus.js +82 -167
  75. package/lib/icon/ppt-fill.js +82 -167
  76. package/lib/icon/qq.js +82 -167
  77. package/lib/icon/right-shape.js +82 -167
  78. package/lib/icon/right-turn-line.js +82 -167
  79. package/lib/icon/search.js +82 -167
  80. package/lib/icon/share.js +82 -167
  81. package/lib/icon/spinner.js +82 -167
  82. package/lib/icon/success.js +82 -167
  83. package/lib/icon/switcher-loading.js +82 -167
  84. package/lib/icon/text-all.d.ts +4 -0
  85. package/lib/icon/text-all.js +191 -0
  86. package/lib/icon/text-file.js +82 -167
  87. package/lib/icon/text-fill.js +82 -167
  88. package/lib/icon/transfer.js +82 -167
  89. package/lib/icon/tree-application-shape.js +82 -167
  90. package/lib/icon/unfull-screen.js +82 -167
  91. package/lib/icon/unvisible.js +82 -167
  92. package/lib/icon/up-shape.js +82 -167
  93. package/lib/icon/upload.js +82 -167
  94. package/lib/icon/video-fill.js +82 -167
  95. package/lib/icon/warn.js +82 -167
  96. package/lib/icon/weixin-pro.js +82 -167
  97. package/lib/icon/weixin.js +82 -167
  98. package/lib/image/image-viewer.variable.css +3 -0
  99. package/lib/image/image.variable.css +3 -0
  100. package/lib/image/index.js +5 -2
  101. package/lib/index.js +0 -1
  102. package/lib/info-box/index.js +41 -455
  103. package/lib/info-box/info-box.css +6 -32
  104. package/lib/info-box/info-box.d.ts +1 -1
  105. package/lib/info-box/info-box.less +16 -47
  106. package/lib/info-box/info-box.variable.css +9 -32
  107. package/lib/input/index.js +5 -0
  108. package/lib/input/input.variable.css +3 -0
  109. package/lib/link/link.variable.css +3 -0
  110. package/lib/loading/loading.variable.css +3 -0
  111. package/lib/locale/index.js +4 -2
  112. package/lib/locale/lang/en.d.ts +1 -0
  113. package/lib/menu/menu.variable.css +3 -0
  114. package/lib/menu/submenu.variable.css +3 -0
  115. package/lib/message/message.variable.css +3 -0
  116. package/lib/modal/hooks.d.ts +6 -0
  117. package/lib/modal/index.d.ts +100 -52
  118. package/lib/modal/index.js +173 -74
  119. package/lib/modal/modal.css +41 -65
  120. package/lib/modal/modal.d.ts +40 -17
  121. package/lib/modal/modal.less +50 -57
  122. package/lib/modal/modal.variable.css +44 -65
  123. package/lib/modal/props.mixin.d.ts +12 -0
  124. package/lib/navigation/navigation.variable.css +3 -0
  125. package/lib/notify/notify.variable.css +3 -0
  126. package/lib/pagination/index.js +2 -1
  127. package/lib/pagination/pagination.variable.css +3 -0
  128. package/lib/plugin-popover/index.d.ts +1 -1
  129. package/lib/plugin-popover/index.js +45 -26
  130. package/lib/pop-confirm/index.js +8 -5
  131. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  132. package/lib/popover/content.d.ts +1 -1
  133. package/lib/popover/index.js +45 -26
  134. package/lib/popover/plugin-popover.d.ts +4 -1
  135. package/lib/popover/popover.css +3 -1
  136. package/lib/popover/popover.less +4 -1
  137. package/lib/popover/popover.variable.css +6 -1
  138. package/lib/preset.d.ts +2 -0
  139. package/lib/preset.js +14 -20
  140. package/lib/process/process.variable.css +3 -0
  141. package/lib/progress/progress.variable.css +3 -0
  142. package/lib/radio/index.js +5 -5
  143. package/lib/radio/radio.variable.css +3 -0
  144. package/lib/rate/rate.variable.css +3 -0
  145. package/lib/rate/star.variable.css +3 -0
  146. package/lib/resize-layout/index.js +1 -1
  147. package/lib/resize-layout/resize-layout.variable.css +3 -0
  148. package/lib/search-select/index.d.ts +375 -16
  149. package/lib/search-select/index.js +701 -366
  150. package/lib/search-select/input.d.ts +14 -5
  151. package/lib/search-select/search-select.css +20 -6
  152. package/lib/search-select/search-select.d.ts +129 -7
  153. package/lib/search-select/search-select.less +16 -12
  154. package/lib/search-select/search-select.variable.css +23 -6
  155. package/lib/search-select/selected.d.ts +116 -6
  156. package/lib/search-select/utils.d.ts +19 -6
  157. package/lib/select/index.d.ts +143 -6
  158. package/lib/select/index.js +1355 -78
  159. package/lib/select/option.d.ts +3 -1
  160. package/lib/select/pinyin/core.d.ts +14 -0
  161. package/lib/select/pinyin/dict.d.ts +34 -0
  162. package/lib/select/pinyin/index.d.ts +2 -0
  163. package/lib/select/select.css +55 -12
  164. package/lib/select/select.d.ts +59 -2
  165. package/lib/select/select.less +69 -19
  166. package/lib/select/select.variable.css +58 -12
  167. package/lib/select/selectTagInput.d.ts +7 -0
  168. package/lib/select/type.d.ts +2 -3
  169. package/lib/shared/index.js +67 -3
  170. package/lib/shared/utils.d.ts +12 -0
  171. package/lib/shared/vue-types.d.ts +5 -0
  172. package/lib/sideslider/index.d.ts +55 -9
  173. package/lib/sideslider/index.js +26 -25
  174. package/lib/sideslider/sideslider.css +51 -46
  175. package/lib/sideslider/sideslider.d.ts +25 -3
  176. package/lib/sideslider/sideslider.less +108 -104
  177. package/lib/sideslider/sideslider.variable.css +54 -46
  178. package/lib/slider/slider.variable.css +3 -0
  179. package/lib/steps/steps.variable.css +3 -0
  180. package/lib/styles/mixins/animate.variable.css +3 -0
  181. package/lib/styles/mixins/popper.variable.css +3 -0
  182. package/lib/styles/mixins/scroll.variable.css +3 -0
  183. package/lib/styles/reset.css +1 -3
  184. package/lib/styles/reset.less +3 -6
  185. package/lib/styles/reset.variable.css +4 -3
  186. package/lib/styles/themes/themes.less +5 -0
  187. package/lib/swiper/swiper.variable.css +3 -0
  188. package/lib/switcher/switcher.variable.css +3 -0
  189. package/lib/tab/tab.variable.css +3 -0
  190. package/lib/table/cache.d.ts +11 -3
  191. package/lib/table/components/table-column.d.ts +111 -5
  192. package/lib/table/index.d.ts +51 -5
  193. package/lib/table/index.js +504 -261
  194. package/lib/table/plugins/head-filter.variable.css +3 -0
  195. package/lib/table/plugins/head-sort.variable.css +3 -0
  196. package/lib/table/plugins/settings.variable.css +3 -0
  197. package/lib/table/plugins/use-draggable.d.ts +2 -2
  198. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  199. package/lib/table/props.d.ts +6 -4
  200. package/lib/table/table.css +6 -12
  201. package/lib/table/table.less +12 -9
  202. package/lib/table/table.variable.css +9 -12
  203. package/lib/table/use-attributes.d.ts +4 -42
  204. package/lib/table/utils.d.ts +2 -2
  205. package/lib/table-column/index.d.ts +235 -119
  206. package/lib/table-column/index.js +217 -30
  207. package/lib/tag/tag.variable.css +3 -0
  208. package/lib/tag-input/index.d.ts +4 -4
  209. package/lib/tag-input/tag-input.d.ts +2 -2
  210. package/lib/tag-input/tag-input.variable.css +3 -0
  211. package/lib/tag-input/tag-props.d.ts +1 -1
  212. package/lib/tag-input/tag-render.d.ts +1 -1
  213. package/lib/time-picker/index.d.ts +38 -35
  214. package/lib/time-picker/time-picker.variable.css +3 -0
  215. package/lib/timeline/index.d.ts +80 -44
  216. package/lib/timeline/index.js +54 -65
  217. package/lib/timeline/timeline.d.ts +46 -29
  218. package/lib/timeline/timeline.variable.css +3 -0
  219. package/lib/transfer/transfer.variable.css +3 -0
  220. package/lib/tree/tree.variable.css +3 -0
  221. package/lib/upload/index.d.ts +12 -0
  222. package/lib/upload/index.js +21 -30
  223. package/lib/upload/props.d.ts +3 -0
  224. package/lib/upload/upload-trigger.d.ts +6 -0
  225. package/lib/upload/upload.d.ts +6 -0
  226. package/lib/upload/upload.variable.css +3 -0
  227. package/lib/virtual-render/index.d.ts +9 -9
  228. package/lib/virtual-render/virtual-render.d.ts +3 -3
  229. package/lib/virtual-render/virtual-render.variable.css +3 -0
  230. package/package.json +3 -2
@@ -2,81 +2,74 @@
2
2
  @import '../info-box/info-box.less';
3
3
 
4
4
  .@{bk-prefix}-modal-ctx {
5
- pointer-events: auto;
5
+ position: fixed;
6
6
  top: 0px;
7
7
  left: 0px;
8
-
8
+ display: none;
9
9
  width: 100%;
10
10
  height: 100%;
11
+ pointer-events: auto;
11
12
 
12
- &.--show {
13
- position: fixed;
14
- }
15
-
16
- &.--hide {
17
- display: none;
18
- }
19
-
20
- .@{bk-prefix}-modal-ctx-mask {
21
- display: none;
22
- left: 0;
23
- top: 0;
24
- width: 100%;
25
- height: 100%;
26
- background-color: rgba(0,0,0,0.6);
27
-
28
- &.--show {
29
- position: fixed;
30
- display: inherit;
31
- }
13
+ &.is-show {
14
+ display: block;
32
15
  }
33
16
  }
34
17
 
35
-
18
+ .@{bk-prefix}-modal-ctx-mask {
19
+ position: fixed;
20
+ top: 0;
21
+ left: 0;
22
+ width: 100%;
23
+ height: 100%;
24
+ background-color: rgba(0, 0, 0, 0.6);
25
+ }
36
26
 
37
27
  .@{bk-prefix}-modal-wrapper {
38
28
  position: absolute;
39
29
  top: 50%;
40
30
  left: 50%;
41
- width: 480px;
42
31
  border-radius: 2px;
43
- // background: #fff;
44
32
  transform: translate(-50%, -50%);
33
+ }
45
34
 
46
- .@{bk-prefix}-modal-outside {
47
- position: fixed;
48
- top: 0;
49
- right: 0;
50
- bottom: 0;
51
- left: 0;
52
- }
53
-
54
- &.normal {
55
- width: 480px;
56
- height: 240px;
57
- }
58
-
59
- &.small {
60
- width: 400px;
61
- height: 200px;
62
- }
35
+ .@{bk-prefix}-modal-outside {
36
+ position: fixed;
37
+ top: 0;
38
+ right: 0;
39
+ bottom: 0;
40
+ left: 0;
41
+ }
63
42
 
64
- &.medium {
65
- width: 640px;
66
- height: 400px;
67
- }
43
+ .@{bk-prefix}-modal-body {
44
+ height: 100%;
45
+ overflow: hidden;
46
+ background: #fff;
47
+ border-radius: 2px;
48
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
49
+ }
68
50
 
69
- &.large {
70
- width: 960px;
71
- height: 720px;
72
- }
51
+ .@{bk-prefix}-modal-content {
52
+ max-height: 100vh;
53
+ overflow: auto;
54
+ scrollbar-gutter: stable;
55
+ }
73
56
 
74
- .@{bk-prefix}-modal-body {
75
- height: 100%;
76
- width: 100%;
77
- background: #fff;
78
- box-shadow: 0 4px 12px rgba(0,0,0,.15);
57
+ .@{bk-prefix}-modal-close {
58
+ position: absolute;
59
+ top: 6px;
60
+ right: 6px;
61
+ display: flex;
62
+ width: 32px;
63
+ height: 32px;
64
+ font-size: 18px;
65
+ color: #979ba5;
66
+ cursor: pointer;
67
+ align-items: center;
68
+ justify-content: center;
69
+ border-radius: 50%;
70
+ transition: 0.15s;
71
+
72
+ &:hover {
73
+ background: #f0f1f5;
79
74
  }
80
75
  }
81
-
82
-
@@ -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,105 +124,83 @@
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-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
130
+ .bk-info-wrapper .bk-modal-wrapper {
128
131
  width: 440px;
129
132
  }
130
- .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
131
- width: 440px;
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;
133
+ .bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
134
+ margin-top: 16px;
141
135
  }
142
- .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
143
- height: 27px;
144
- margin: 15px 0 10px;
145
- }
146
- .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
147
- height: 100%;
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-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
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
- }
166
143
  .bk-modal-ctx {
167
- pointer-events: auto;
144
+ position: fixed;
168
145
  top: 0px;
169
146
  left: 0px;
147
+ display: none;
170
148
  width: 100%;
171
149
  height: 100%;
150
+ pointer-events: auto;
172
151
  }
173
- .bk-modal-ctx.--show {
174
- position: fixed;
175
- }
176
- .bk-modal-ctx.--hide {
177
- display: none;
152
+ .bk-modal-ctx.is-show {
153
+ display: block;
178
154
  }
179
- .bk-modal-ctx .bk-modal-ctx-mask {
180
- display: none;
181
- left: 0;
155
+ .bk-modal-ctx-mask {
156
+ position: fixed;
182
157
  top: 0;
158
+ left: 0;
183
159
  width: 100%;
184
160
  height: 100%;
185
161
  background-color: rgba(0, 0, 0, 0.6);
186
162
  }
187
- .bk-modal-ctx .bk-modal-ctx-mask.--show {
188
- position: fixed;
189
- display: inherit;
190
- }
191
163
  .bk-modal-wrapper {
192
164
  position: absolute;
193
165
  top: 50%;
194
166
  left: 50%;
195
- width: 480px;
196
167
  border-radius: 2px;
197
168
  transform: translate(-50%, -50%);
198
169
  }
199
- .bk-modal-wrapper .bk-modal-outside {
170
+ .bk-modal-outside {
200
171
  position: fixed;
201
172
  top: 0;
202
173
  right: 0;
203
174
  bottom: 0;
204
175
  left: 0;
205
176
  }
206
- .bk-modal-wrapper.normal {
207
- width: 480px;
208
- height: 240px;
209
- }
210
- .bk-modal-wrapper.small {
211
- width: 400px;
212
- height: 200px;
213
- }
214
- .bk-modal-wrapper.medium {
215
- width: 640px;
216
- height: 400px;
217
- }
218
- .bk-modal-wrapper.large {
219
- width: 960px;
220
- height: 720px;
221
- }
222
- .bk-modal-wrapper .bk-modal-body {
177
+ .bk-modal-body {
223
178
  height: 100%;
224
- width: 100%;
179
+ overflow: hidden;
225
180
  background: #fff;
181
+ border-radius: 2px;
226
182
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
227
183
  }
184
+ .bk-modal-content {
185
+ max-height: 100vh;
186
+ overflow: auto;
187
+ scrollbar-gutter: stable;
188
+ }
189
+ .bk-modal-close {
190
+ position: absolute;
191
+ top: 6px;
192
+ right: 6px;
193
+ display: flex;
194
+ width: 32px;
195
+ height: 32px;
196
+ font-size: 18px;
197
+ color: #979ba5;
198
+ cursor: pointer;
199
+ align-items: center;
200
+ justify-content: center;
201
+ border-radius: 50%;
202
+ transition: 0.15s;
203
+ }
204
+ .bk-modal-close:hover {
205
+ background: #f0f1f5;
206
+ }
@@ -60,6 +60,8 @@ export declare const propsMixin: {
60
60
  };
61
61
  direction: import("vue-types").VueTypeValidableDef<string> & {
62
62
  default: string;
63
+ } & {
64
+ default: string;
63
65
  };
64
66
  title: import("vue-types").VueTypeValidableDef<string> & {
65
67
  default: string;
@@ -82,10 +84,20 @@ export declare const propsMixin: {
82
84
  default: boolean;
83
85
  };
84
86
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
87
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
88
+ default: string;
89
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
90
+ default: () => unknown[];
91
+ });
85
92
  left: import("vue-types").VueTypeValidableDef<string> & {
86
93
  default: string;
87
94
  };
88
95
  top: import("vue-types").VueTypeValidableDef<string> & {
89
96
  default: string;
90
97
  };
98
+ hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
99
+ default: number;
100
+ } & {
101
+ default: number;
102
+ };
91
103
  };
@@ -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-navigation {
128
131
  display: flex;
@@ -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-notify {
128
131
  position: fixed;
@@ -253,7 +253,8 @@ function _isSlot(s) {
253
253
  "withValidate": false,
254
254
  "modelValue": localLimit.value,
255
255
  "onChange": handleLimitChange,
256
- "disabled": proxy.disabled
256
+ "disabled": proxy.disabled,
257
+ "filterable": false
257
258
  }, _isSlot(_slot = proxy.limitList.map(function (num, index) {
258
259
  return (0,external_vue_namespaceObject.createVNode)(select_namespaceObject.BkOption, {
259
260
  "id": num,
@@ -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-pagination {
128
131
  display: flex;
@@ -23,5 +23,5 @@
23
23
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
24
  * IN THE SOFTWARE.
25
25
  */
26
- import $bkPopover from '../../popover/src/plugin-popover';
26
+ import $bkPopover from '../popover/plugin-popover';
27
27
  export default $bkPopover;
@@ -380,10 +380,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
380
380
  };
381
381
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
382
382
  resolveClassName = _usePrefix.resolveClassName;
383
+ var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
384
+ return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
385
+ });
383
386
  return {
384
387
  style: style,
385
388
  refContent: refContent,
386
- resolveClassName: resolveClassName,
389
+ contentClassName: contentClassName,
387
390
  resetPointerEvent: resetPointerEvent,
388
391
  setContentPointerEvent: setContentPointerEvent
389
392
  };
@@ -398,7 +401,6 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
398
401
  _this$$slots$default2,
399
402
  _this$$slots$default3,
400
403
  _this$$slots3;
401
- var className = [this.resolveClassName('popover'), this.resolveClassName('pop2-content'), this.extCls];
402
404
  var resolveContentStyle = function resolveContentStyle(slot) {
403
405
  var _slot$;
404
406
  if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
@@ -411,7 +413,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
411
413
  };
412
414
  var style = resolveContentStyle((_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots));
413
415
  return (0,external_vue_namespaceObject.createVNode)("div", {
414
- "class": className,
416
+ "class": this.contentClassName,
415
417
  "style": style,
416
418
  "ref": "refContent"
417
419
  }, [(_this$$slots$arrow = (_this$$slots$arrow2 = (_this$$slots2 = this.$slots).arrow) === null || _this$$slots$arrow2 === void 0 ? void 0 : _this$$slots$arrow2.call(_this$$slots2)) !== null && _this$$slots$arrow !== void 0 ? _this$$slots$arrow : '', (_this$$slots$default2 = (_this$$slots$default3 = (_this$$slots3 = this.$slots)["default"]) === null || _this$$slots$default3 === void 0 ? void 0 : _this$$slots$default3.call(_this$$slots3)) !== null && _this$$slots$default2 !== void 0 ? _this$$slots$default2 : '']);
@@ -3085,9 +3087,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
3085
3087
  var delay = resolvePopoverDelay()[0];
3086
3088
  // 设置settimeout避免hidePopover导致显示问题
3087
3089
  popShowTimerId = setTimeout(function () {
3088
- if (popHideTimerId) {
3089
- clearTimeout(popHideTimerId);
3090
- }
3090
+ // if (popHideTimerId) {
3091
+ // clearTimeout(popHideTimerId);
3092
+ // }
3091
3093
  if (!props.disabled) {
3092
3094
  localIsShow.value = true;
3093
3095
  }
@@ -3628,7 +3630,7 @@ function _isSlot(s) {
3628
3630
  (0,external_vue_namespaceObject.onMounted)(onMountedFn);
3629
3631
  (0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
3630
3632
  var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
3631
- return !props.disableTeleport;
3633
+ return localIsShow.value && !props.disableTeleport;
3632
3634
  });
3633
3635
  var show = function show() {
3634
3636
  showFn();
@@ -3767,9 +3769,11 @@ function plugin_popover_objectSpread(e) { for (var r = 1; r < arguments.length;
3767
3769
 
3768
3770
 
3769
3771
  function createPopoverComponent(options) {
3772
+ var _options$immediate;
3770
3773
  var $PopoverInstance = null;
3771
3774
  var $PopoverInstanceVm = null;
3772
3775
  var $PopoverInstanceEl = null;
3776
+ var immediate = (_options$immediate = options.immediate) !== null && _options$immediate !== void 0 ? _options$immediate : true;
3773
3777
  var resolvedOptions = plugin_popover_objectSpread(plugin_popover_objectSpread({
3774
3778
  boundary: 'body',
3775
3779
  placement: 'top',
@@ -3862,37 +3866,52 @@ function createPopoverComponent(options) {
3862
3866
  }
3863
3867
  return document.body;
3864
3868
  }
3865
- if ($PopoverInstance === null) {
3866
- $PopoverInstanceEl = document.createElement('div');
3867
- getBoundaryDom(resolvedOptions.boundary).append($PopoverInstanceEl);
3868
- $PopoverInstance = (0,external_vue_namespaceObject.createApp)(popoverComponent);
3869
- $PopoverInstanceVm = $PopoverInstance.mount($PopoverInstanceEl);
3870
- }
3871
- function close() {
3872
- if ($PopoverInstance) {
3873
- $PopoverInstance.unmount();
3874
- $PopoverInstanceVm = null;
3875
- $PopoverInstance = null;
3876
- $PopoverInstanceEl.remove();
3869
+ var install = function install() {
3870
+ if ($PopoverInstance === null) {
3871
+ $PopoverInstanceEl = document.createElement('div');
3872
+ getBoundaryDom(resolvedOptions.boundary).append($PopoverInstanceEl);
3873
+ $PopoverInstance = (0,external_vue_namespaceObject.createApp)(popoverComponent);
3874
+ $PopoverInstanceVm = $PopoverInstance.mount($PopoverInstanceEl);
3877
3875
  }
3876
+ };
3877
+ var uninstall = function uninstall() {
3878
+ var _$PopoverInstanceEl;
3879
+ if (utils_isElement(options.content)) {
3880
+ options.content.remove();
3881
+ }
3882
+ $PopoverInstance.unmount();
3883
+ $PopoverInstance = null;
3884
+ (_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
3885
+ };
3886
+ function close() {
3887
+ uninstall();
3888
+ $PopoverInstanceVm = null;
3878
3889
  }
3879
- function show() {
3880
- var _$PopoverInstanceVm;
3881
- (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.show();
3890
+ function show(target) {
3891
+ var _$PopoverInstanceVm2;
3892
+ install();
3893
+ if (target) {
3894
+ var _$PopoverInstanceVm;
3895
+ (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
3896
+ }
3897
+ (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
3882
3898
  }
3883
3899
  function update(e) {
3884
- var _$PopoverInstanceVm2;
3885
- (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.updateTarget(e);
3900
+ var _$PopoverInstanceVm3;
3901
+ (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
3886
3902
  }
3887
3903
  function hide() {
3888
- var _$PopoverInstanceVm3;
3889
- (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.hide();
3904
+ var _$PopoverInstanceVm4;
3905
+ (_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
3890
3906
  }
3907
+ immediate && install();
3891
3908
  return {
3909
+ install: install,
3892
3910
  close: close,
3893
3911
  show: show,
3894
3912
  hide: hide,
3895
3913
  update: update,
3914
+ uninstall: uninstall,
3896
3915
  get vm() {
3897
3916
  return $PopoverInstanceVm;
3898
3917
  },
@@ -215,6 +215,13 @@ var PopConfirmProps = {
215
215
  },
216
216
  render: function render() {
217
217
  var _this = this;
218
+ var titleRender = function titleRender() {
219
+ return _this.title ? (0,external_vue_namespaceObject.createVNode)("div", {
220
+ "class": "".concat(_this.resolveClassName('pop-confirm-title'))
221
+ }, [_this.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
222
+ "class": "".concat(_this.resolveClassName('pop-confirm-icon'))
223
+ }, [_this.icon]) : '', (0,external_vue_namespaceObject.createVNode)("span", null, [_this.title])]) : '';
224
+ };
218
225
  return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
219
226
  "ref": "popoverRef",
220
227
  "isShow": this.visible,
@@ -232,11 +239,7 @@ var PopConfirmProps = {
232
239
  content: function content() {
233
240
  return (0,external_vue_namespaceObject.createVNode)("div", {
234
241
  "class": "".concat(_this.resolveClassName('pop-confirm'))
235
- }, [typeof _this.$slots.content === 'function' ? _this.$slots.content() : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.title ? (0,external_vue_namespaceObject.createVNode)("div", {
236
- "class": "".concat(_this.resolveClassName('pop-confirm-title'))
237
- }, [_this.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
238
- "class": "".concat(_this.resolveClassName('pop-confirm-icon'))
239
- }, [_this.icon]) : '', (0,external_vue_namespaceObject.createVNode)("span", null, [_this.title])]) : '', (0,external_vue_namespaceObject.createVNode)("div", {
242
+ }, [typeof _this.$slots.content === 'function' ? (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [titleRender(), _this.$slots.content()]) : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [titleRender(), (0,external_vue_namespaceObject.createVNode)("div", {
240
243
  "class": "".concat(_this.resolveClassName('pop-confirm-content'))
241
244
  }, [!_this.title ? _this.icon : '', _this.content])]), (0,external_vue_namespaceObject.createVNode)("div", {
242
245
  "class": "".concat(_this.resolveClassName('pop-confirm-footer'))
@@ -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-popover.bk-pop-confirm-box {
128
131
  padding: 16px;
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
34
34
  maxWidth: string | number;
35
35
  }>;
36
36
  refContent: import("vue").Ref<any>;
37
- resolveClassName: (cls: string) => string;
37
+ contentClassName: import("vue").ComputedRef<string[]>;
38
38
  resetPointerEvent: () => void;
39
39
  setContentPointerEvent: (val: string) => void;
40
40
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{