bkui-vue 1.0.3-beta.4 → 1.0.3-beta.41

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 (209) hide show
  1. package/dist/index.cjs.js +70 -70
  2. package/dist/index.esm.js +15540 -14307
  3. package/dist/index.umd.js +69 -69
  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/code-diff/code-diff.variable.css +3 -0
  24. package/lib/collapse/collapse.variable.css +3 -0
  25. package/lib/collapse-transition/collapse-transition.variable.css +3 -0
  26. package/lib/color-picker/color-picker.variable.css +3 -0
  27. package/lib/components.js +0 -4
  28. package/lib/config-provider/config-provider.d.ts +3 -0
  29. package/lib/config-provider/config-provider.variable.css +3 -0
  30. package/lib/config-provider/index.d.ts +4 -0
  31. package/lib/config-provider/token.d.ts +1 -0
  32. package/lib/container/container.variable.css +3 -0
  33. package/lib/date-picker/base/month-table.d.ts +2 -2
  34. package/lib/date-picker/date-picker.d.ts +1 -0
  35. package/lib/date-picker/date-picker.variable.css +3 -0
  36. package/lib/date-picker/index.d.ts +3 -0
  37. package/lib/date-picker/index.js +69 -31
  38. package/lib/date-picker/interface.d.ts +1 -1
  39. package/lib/date-picker/time-picker.d.ts +1 -0
  40. package/lib/date-picker/utils.d.ts +4 -0
  41. package/lib/dialog/dialog.css +28 -31
  42. package/lib/dialog/dialog.d.ts +11 -0
  43. package/lib/dialog/dialog.less +18 -17
  44. package/lib/dialog/dialog.variable.css +31 -31
  45. package/lib/dialog/index.d.ts +23 -0
  46. package/lib/dialog/index.js +14 -9
  47. package/lib/dialog/props.d.ts +5 -0
  48. package/lib/directives/index.js +0 -1
  49. package/lib/dist.index.js +0 -1
  50. package/lib/divider/divider.variable.css +3 -0
  51. package/lib/dropdown/dropdown.css +3 -1
  52. package/lib/dropdown/dropdown.variable.css +6 -1
  53. package/lib/exception/exception.variable.css +3 -0
  54. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  55. package/lib/form/form.variable.css +3 -0
  56. package/lib/hooks.js +1 -8
  57. package/lib/icon/image-fill.js +82 -167
  58. package/lib/icon/img-error.js +82 -167
  59. package/lib/icon/img-placehoulder.js +82 -167
  60. package/lib/icon/index.d.ts +1 -0
  61. package/lib/icon/index.js +87 -2427
  62. package/lib/icon/info-line.js +82 -167
  63. package/lib/icon/info.js +82 -167
  64. package/lib/icon/left-shape.js +82 -167
  65. package/lib/icon/left-turn-line.js +82 -167
  66. package/lib/icon/loading.js +82 -167
  67. package/lib/icon/narrow-line.js +82 -167
  68. package/lib/icon/original.js +82 -167
  69. package/lib/icon/pdf-fill.js +82 -167
  70. package/lib/icon/play-shape.js +82 -167
  71. package/lib/icon/plus.js +82 -167
  72. package/lib/icon/ppt-fill.js +82 -167
  73. package/lib/icon/qq.js +82 -167
  74. package/lib/icon/right-shape.js +82 -167
  75. package/lib/icon/right-turn-line.js +82 -167
  76. package/lib/icon/search.js +82 -167
  77. package/lib/icon/share.js +82 -167
  78. package/lib/icon/spinner.js +82 -167
  79. package/lib/icon/success.js +82 -167
  80. package/lib/icon/switcher-loading.js +82 -167
  81. package/lib/icon/text-all.d.ts +4 -0
  82. package/lib/icon/text-all.js +191 -0
  83. package/lib/icon/text-file.js +82 -167
  84. package/lib/icon/text-fill.js +82 -167
  85. package/lib/icon/transfer.js +82 -167
  86. package/lib/icon/tree-application-shape.js +82 -167
  87. package/lib/icon/unfull-screen.js +82 -167
  88. package/lib/icon/unvisible.js +82 -167
  89. package/lib/icon/up-shape.js +82 -167
  90. package/lib/icon/upload.js +82 -167
  91. package/lib/icon/video-fill.js +82 -167
  92. package/lib/icon/warn.js +82 -167
  93. package/lib/icon/weixin-pro.js +82 -167
  94. package/lib/icon/weixin.js +82 -167
  95. package/lib/image/image-viewer.variable.css +3 -0
  96. package/lib/image/image.variable.css +3 -0
  97. package/lib/image/index.js +5 -2
  98. package/lib/index.js +0 -1
  99. package/lib/info-box/index.js +40 -455
  100. package/lib/info-box/info-box.css +6 -11
  101. package/lib/info-box/info-box.d.ts +1 -1
  102. package/lib/info-box/info-box.less +6 -10
  103. package/lib/info-box/info-box.variable.css +9 -11
  104. package/lib/input/index.js +5 -0
  105. package/lib/input/input.variable.css +3 -0
  106. package/lib/link/link.variable.css +3 -0
  107. package/lib/loading/loading.variable.css +3 -0
  108. package/lib/locale/index.js +4 -2
  109. package/lib/locale/lang/en.d.ts +1 -0
  110. package/lib/menu/menu.variable.css +3 -0
  111. package/lib/menu/submenu.variable.css +3 -0
  112. package/lib/message/message.variable.css +3 -0
  113. package/lib/modal/index.d.ts +34 -6
  114. package/lib/modal/index.js +14 -15
  115. package/lib/modal/modal.css +10 -15
  116. package/lib/modal/modal.d.ts +13 -2
  117. package/lib/modal/modal.less +5 -5
  118. package/lib/modal/modal.variable.css +13 -15
  119. package/lib/modal/props.mixin.d.ts +5 -0
  120. package/lib/navigation/navigation.variable.css +3 -0
  121. package/lib/notify/notify.variable.css +3 -0
  122. package/lib/pagination/index.js +2 -1
  123. package/lib/pagination/pagination.variable.css +3 -0
  124. package/lib/plugin-popover/index.d.ts +1 -1
  125. package/lib/plugin-popover/index.js +55 -31
  126. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  127. package/lib/popover/content.d.ts +1 -1
  128. package/lib/popover/index.js +55 -31
  129. package/lib/popover/plugin-popover.d.ts +4 -1
  130. package/lib/popover/popover.css +3 -1
  131. package/lib/popover/popover.less +4 -1
  132. package/lib/popover/popover.variable.css +6 -1
  133. package/lib/preset.d.ts +2 -0
  134. package/lib/preset.js +14 -20
  135. package/lib/process/process.variable.css +3 -0
  136. package/lib/progress/progress.variable.css +3 -0
  137. package/lib/radio/radio.variable.css +3 -0
  138. package/lib/rate/rate.variable.css +3 -0
  139. package/lib/rate/star.variable.css +3 -0
  140. package/lib/resize-layout/resize-layout.variable.css +3 -0
  141. package/lib/search-select/index.js +0 -1
  142. package/lib/search-select/search-select.variable.css +3 -0
  143. package/lib/select/index.d.ts +68 -6
  144. package/lib/select/index.js +1326 -68
  145. package/lib/select/option.d.ts +3 -1
  146. package/lib/select/pinyin/core.d.ts +14 -0
  147. package/lib/select/pinyin/dict.d.ts +34 -0
  148. package/lib/select/pinyin/index.d.ts +2 -0
  149. package/lib/select/select.css +36 -7
  150. package/lib/select/select.d.ts +28 -2
  151. package/lib/select/select.less +43 -13
  152. package/lib/select/select.variable.css +39 -7
  153. package/lib/select/type.d.ts +2 -3
  154. package/lib/shared/index.js +44 -3
  155. package/lib/shared/utils.d.ts +12 -0
  156. package/lib/sideslider/index.d.ts +29 -6
  157. package/lib/sideslider/index.js +5 -2
  158. package/lib/sideslider/sideslider.d.ts +13 -2
  159. package/lib/sideslider/sideslider.variable.css +3 -0
  160. package/lib/slider/slider.variable.css +3 -0
  161. package/lib/steps/steps.variable.css +3 -0
  162. package/lib/styles/mixins/animate.variable.css +3 -0
  163. package/lib/styles/mixins/popper.variable.css +3 -0
  164. package/lib/styles/mixins/scroll.variable.css +3 -0
  165. package/lib/styles/reset.css +1 -3
  166. package/lib/styles/reset.less +3 -6
  167. package/lib/styles/reset.variable.css +4 -3
  168. package/lib/styles/themes/themes.less +5 -0
  169. package/lib/swiper/swiper.variable.css +3 -0
  170. package/lib/switcher/switcher.variable.css +3 -0
  171. package/lib/tab/tab.variable.css +3 -0
  172. package/lib/table/cache.d.ts +11 -3
  173. package/lib/table/components/table-column.d.ts +111 -5
  174. package/lib/table/index.d.ts +66 -5
  175. package/lib/table/index.js +857 -562
  176. package/lib/table/plugins/head-filter.variable.css +3 -0
  177. package/lib/table/plugins/head-sort.d.ts +7 -0
  178. package/lib/table/plugins/head-sort.variable.css +3 -0
  179. package/lib/table/plugins/settings.variable.css +3 -0
  180. package/lib/table/plugins/use-draggable.d.ts +2 -2
  181. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  182. package/lib/table/props.d.ts +15 -4
  183. package/lib/table/table.css +6 -12
  184. package/lib/table/table.d.ts +7 -0
  185. package/lib/table/table.less +12 -9
  186. package/lib/table/table.variable.css +9 -12
  187. package/lib/table/use-attributes.d.ts +5 -43
  188. package/lib/table/utils.d.ts +5 -4
  189. package/lib/table-column/index.d.ts +235 -119
  190. package/lib/table-column/index.js +221 -30
  191. package/lib/tag/tag.variable.css +3 -0
  192. package/lib/tag-input/index.d.ts +4 -4
  193. package/lib/tag-input/tag-input.d.ts +2 -2
  194. package/lib/tag-input/tag-input.variable.css +3 -0
  195. package/lib/tag-input/tag-props.d.ts +1 -1
  196. package/lib/tag-input/tag-render.d.ts +1 -1
  197. package/lib/time-picker/index.d.ts +38 -35
  198. package/lib/time-picker/time-picker.variable.css +3 -0
  199. package/lib/timeline/index.d.ts +73 -44
  200. package/lib/timeline/index.js +45 -63
  201. package/lib/timeline/timeline.d.ts +42 -29
  202. package/lib/timeline/timeline.variable.css +3 -0
  203. package/lib/transfer/transfer.variable.css +3 -0
  204. package/lib/tree/tree.variable.css +3 -0
  205. package/lib/upload/upload.variable.css +3 -0
  206. package/lib/virtual-render/index.d.ts +9 -9
  207. package/lib/virtual-render/virtual-render.d.ts +3 -3
  208. package/lib/virtual-render/virtual-render.variable.css +3 -0
  209. package/package.json +3 -2
@@ -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-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
128
131
  width: 440px;
@@ -136,27 +139,22 @@
136
139
  .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
137
140
  border-radius: 2px;
138
141
  }
139
- .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
140
- padding: 24px 24px 0;
141
- }
142
142
  .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
143
- height: 27px;
144
- margin: 15px 0 10px;
143
+ margin-top: 16px;
145
144
  }
146
145
  .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;
146
+ height: initial;
147
+ max-height: initial;
148
+ min-height: initial;
151
149
  word-break: break-all;
152
150
  }
153
151
  .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
154
- margin-bottom: 10px;
155
152
  text-align: center;
156
153
  word-break: break-all;
157
154
  }
158
155
  .bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
159
- padding: 0 65px 33px;
156
+ height: initial;
157
+ margin-top: 24px;
160
158
  background-color: #fff;
161
159
  border-top: none;
162
160
  }
@@ -164,11 +162,11 @@
164
162
  min-width: 88px;
165
163
  }
166
164
  .bk-modal-ctx {
167
- pointer-events: auto;
168
165
  top: 0px;
169
166
  left: 0px;
170
167
  width: 100%;
171
168
  height: 100%;
169
+ pointer-events: auto;
172
170
  }
173
171
  .bk-modal-ctx.--show {
174
172
  position: fixed;
@@ -177,9 +175,9 @@
177
175
  display: none;
178
176
  }
179
177
  .bk-modal-ctx .bk-modal-ctx-mask {
180
- display: none;
181
- left: 0;
182
178
  top: 0;
179
+ left: 0;
180
+ display: none;
183
181
  width: 100%;
184
182
  height: 100%;
185
183
  background-color: rgba(0, 0, 0, 0.6);
@@ -221,7 +219,7 @@
221
219
  }
222
220
  .bk-modal-wrapper .bk-modal-body {
223
221
  height: 100%;
224
- width: 100%;
222
+ overflow: hidden;
225
223
  background: #fff;
226
224
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
227
225
  }
@@ -252,15 +250,15 @@
252
250
  user-select: none;
253
251
  }
254
252
  .bk-dialog-wrapper .bk-modal-wrapper .bk-dialog-header {
255
- padding: 16px 24px 12px;
253
+ padding: 16px 24px 0;
256
254
  font-size: 20px;
257
255
  line-height: 1;
258
256
  }
259
257
  .bk-dialog-wrapper .bk-modal-wrapper .bk-dialog-header .bk-header-icon {
260
- text-align: center;
258
+ display: flex;
259
+ justify-content: center;
261
260
  }
262
261
  .bk-dialog-wrapper .bk-modal-wrapper .bk-dialog-header .bk-header-icon .bk-info-icon {
263
- display: inline-block;
264
262
  font-size: 48px;
265
263
  }
266
264
  .bk-dialog-wrapper .bk-modal-wrapper .bk-dialog-header .bk-header-icon .bk-info-icon.success {
@@ -285,6 +283,8 @@
285
283
  max-height: calc(100vh - 300px);
286
284
  min-height: 141px;
287
285
  padding: 0 24px;
286
+ margin-top: 16px;
287
+ margin-bottom: 24px;
288
288
  font-size: 14px;
289
289
  line-height: 1.5;
290
290
  color: #63656e;
@@ -295,19 +295,12 @@
295
295
  .bk-dialog-wrapper .bk-modal-wrapper.fullscreen.no-footer {
296
296
  max-height: calc(100vh - 79px);
297
297
  }
298
- .bk-dialog-wrapper .bk-modal-wrapper .bk-modal-body {
299
- padding-bottom: 48px;
300
- }
301
298
  .bk-dialog-wrapper .bk-modal-wrapper.no-footer .bk-modal-body {
302
299
  padding-bottom: 0;
303
300
  }
304
301
  .bk-dialog-wrapper .bk-modal-wrapper .bk-modal-footer {
305
- position: absolute;
306
- right: 0;
307
- bottom: 0;
308
- left: 0;
309
- height: 48px;
310
- padding: 8px 24px;
302
+ padding: 0 24px;
303
+ margin: 24px 0 ;
311
304
  background-color: #fafbfd;
312
305
  border-top: 1px solid #dcdee5;
313
306
  border-radius: 2px;
@@ -324,12 +317,19 @@
324
317
  }
325
318
  .bk-dialog-wrapper .bk-modal-wrapper .bk-modal-close {
326
319
  position: absolute;
327
- top: 4px;
328
- right: 4px;
320
+ top: 6px;
321
+ right: 6px;
322
+ display: flex;
323
+ width: 32px;
324
+ height: 32px;
329
325
  font-size: 18px;
330
- color: #c4c6cc;
326
+ color: #979ba5;
331
327
  cursor: pointer;
328
+ align-items: center;
329
+ justify-content: center;
330
+ border-radius: 50%;
331
+ transition: 0.15s;
332
332
  }
333
333
  .bk-dialog-wrapper .bk-modal-wrapper .bk-modal-close:hover {
334
- color: #979ba5;
334
+ background: #f0f1f5;
335
335
  }
@@ -117,6 +117,11 @@ declare const BkDialog: {
117
117
  default: boolean;
118
118
  };
119
119
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
120
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
121
+ default: string;
122
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
123
+ default: () => unknown[];
124
+ });
120
125
  left: import("vue-types").VueTypeValidableDef<string> & {
121
126
  default: string;
122
127
  };
@@ -270,6 +275,11 @@ declare const BkDialog: {
270
275
  default: boolean;
271
276
  };
272
277
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
278
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
279
+ default: string;
280
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
281
+ default: () => unknown[];
282
+ });
273
283
  left: import("vue-types").VueTypeValidableDef<string> & {
274
284
  default: string;
275
285
  };
@@ -305,6 +315,7 @@ declare const BkDialog: {
305
315
  fullscreen: boolean;
306
316
  animateType: string;
307
317
  multiInstance: boolean;
318
+ bodyClass: string | unknown[];
308
319
  confirmText: string;
309
320
  cancelText: string;
310
321
  prevText: string;
@@ -439,6 +450,11 @@ declare const BkDialog: {
439
450
  default: boolean;
440
451
  };
441
452
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
453
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
454
+ default: string;
455
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
456
+ default: () => unknown[];
457
+ });
442
458
  left: import("vue-types").VueTypeValidableDef<string> & {
443
459
  default: string;
444
460
  };
@@ -496,6 +512,7 @@ declare const BkDialog: {
496
512
  fullscreen: boolean;
497
513
  animateType: string;
498
514
  multiInstance: boolean;
515
+ bodyClass: string | unknown[];
499
516
  confirmText: string;
500
517
  cancelText: string;
501
518
  prevText: string;
@@ -627,6 +644,11 @@ declare const BkDialog: {
627
644
  default: boolean;
628
645
  };
629
646
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
647
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
648
+ default: string;
649
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
650
+ default: () => unknown[];
651
+ });
630
652
  left: import("vue-types").VueTypeValidableDef<string> & {
631
653
  default: string;
632
654
  };
@@ -684,6 +706,7 @@ declare const BkDialog: {
684
706
  fullscreen: boolean;
685
707
  animateType: string;
686
708
  multiInstance: boolean;
709
+ bodyClass: string | unknown[];
687
710
  confirmText: string;
688
711
  cancelText: string;
689
712
  prevText: string;
@@ -863,16 +863,12 @@ function _isSlot(s) {
863
863
  "style": "text-align: ".concat(_this.headerAlign)
864
864
  }, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = _this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : _this.title])])];
865
865
  },
866
- "default": function _default() {
867
- var _this$$slots$default, _this$$slots$default2, _this$$slots3;
868
- return (_this$$slots$default = (_this$$slots$default2 = (_this$$slots3 = _this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots3)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : 'default';
869
- },
870
866
  footer: function footer() {
871
- var _this$$slots$footer, _this$$slots$footer2, _this$$slots4, _this$$slots$footer3, _this$$slots$footer4, _this$$slots5, _this$$slots$footer5, _this$$slots$footer6, _this$$slots6;
867
+ var _this$$slots$footer, _this$$slots$footer2, _this$$slots3, _this$$slots$footer3, _this$$slots$footer4, _this$$slots4, _this$$slots$footer5, _this$$slots$footer6, _this$$slots5;
872
868
  return (0,external_vue_namespaceObject.createVNode)("div", {
873
869
  "class": _this.resolveClassName('dialog-footer'),
874
870
  "style": "text-align: ".concat(_this.footerAlign)
875
- }, [_this.dialogType === 'process' ? (_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
871
+ }, [_this.dialogType === 'process' ? (_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots3 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots3)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
876
872
  "class": _this.resolveClassName('dialog-perv'),
877
873
  "onClick": _this.handlePrevStep
878
874
  }, {
@@ -902,7 +898,7 @@ function _isSlot(s) {
902
898
  "default": function _default() {
903
899
  return [_this.localCancelText];
904
900
  }
905
- })]) : '', _this.dialogType === 'operation' ? (_this$$slots$footer3 = (_this$$slots$footer4 = (_this$$slots5 = _this.$slots).footer) === null || _this$$slots$footer4 === void 0 ? void 0 : _this$$slots$footer4.call(_this$$slots5)) !== null && _this$$slots$footer3 !== void 0 ? _this$$slots$footer3 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
901
+ })]) : '', _this.dialogType === 'operation' ? (_this$$slots$footer3 = (_this$$slots$footer4 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer4 === void 0 ? void 0 : _this$$slots$footer4.call(_this$$slots4)) !== null && _this$$slots$footer3 !== void 0 ? _this$$slots$footer3 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
906
902
  "onClick": _this.handleConfirm,
907
903
  "theme": _this.theme,
908
904
  "loading": _this.isLoading
@@ -918,7 +914,7 @@ function _isSlot(s) {
918
914
  "default": function _default() {
919
915
  return [_this.localCancelText];
920
916
  }
921
- })]) : '', _this.dialogType === 'confirm' ? (_this$$slots$footer5 = (_this$$slots$footer6 = (_this$$slots6 = _this.$slots).footer) === null || _this$$slots$footer6 === void 0 ? void 0 : _this$$slots$footer6.call(_this$$slots6)) !== null && _this$$slots$footer5 !== void 0 ? _this$$slots$footer5 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
917
+ })]) : '', _this.dialogType === 'confirm' ? (_this$$slots$footer5 = (_this$$slots$footer6 = (_this$$slots5 = _this.$slots).footer) === null || _this$$slots$footer6 === void 0 ? void 0 : _this$$slots$footer6.call(_this$$slots5)) !== null && _this$$slots$footer5 !== void 0 ? _this$$slots$footer5 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
922
918
  "onClick": _this.handleConfirm,
923
919
  "theme": _this.theme,
924
920
  "loading": _this.isLoading
@@ -935,9 +931,18 @@ function _isSlot(s) {
935
931
  }, null);
936
932
  }
937
933
  };
938
- var className = "".concat(this.resolveClassName('dialog-wrapper '), " ").concat(this.scrollable ? 'scroll-able' : '', " ").concat(this.multiInstance ? 'multi-instance' : '', " ").concat(this.hasFooter ? 'has-footer' : 'no-footer');
934
+ if (this.$slots["default"]) {
935
+ Object.assign(dialogSlot, {
936
+ "default": function _default() {
937
+ return _this.$slots["default"]();
938
+ }
939
+ });
940
+ }
941
+ var className = this.resolveClassName('dialog-wrapper ');
942
+ var bodyClass = "".concat(this.scrollable ? 'scroll-able' : '', " ").concat(this.multiInstance ? 'multi-instance' : '', " ").concat(this.hasFooter ? 'has-footer' : 'no-footer');
939
943
  return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(this.$props, {
940
944
  "class": className,
945
+ "bodyClass": bodyClass,
941
946
  "onClose": this.handleClose,
942
947
  "isShow": this.isModalShow,
943
948
  "left": this.data.moveStyle.left,
@@ -116,6 +116,11 @@ declare const props: {
116
116
  default: boolean;
117
117
  };
118
118
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
119
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
120
+ default: string;
121
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
122
+ default: () => unknown[];
123
+ });
119
124
  left: import("vue-types").VueTypeValidableDef<string> & {
120
125
  default: string;
121
126
  };
@@ -727,7 +727,6 @@ var mousewheelHandler = function mousewheelHandler(element, callback) {
727
727
  };
728
728
  var mousewheel = {
729
729
  beforeMount: function beforeMount(el, binding) {
730
- console.error(el, binding);
731
730
  mousewheelHandler(el, binding.value);
732
731
  }
733
732
  };
package/lib/dist.index.js CHANGED
@@ -24,7 +24,6 @@
24
24
  * IN THE SOFTWARE.
25
25
  */
26
26
  import './styles';
27
-
28
27
  export { default } from './preset';
29
28
  export * from './components';
30
29
  export * from './directives';
@@ -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-divider {
128
131
  position: relative;
@@ -1,6 +1,5 @@
1
1
  .bk-popover.bk-pop2-content {
2
2
  position: absolute;
3
- display: none;
4
3
  padding: 12px;
5
4
  font-size: 12px;
6
5
  color: #fff;
@@ -8,6 +7,9 @@
8
7
  border-radius: 4px;
9
8
  box-sizing: border-box;
10
9
  }
10
+ .bk-popover.bk-pop2-content.hidden {
11
+ display: none;
12
+ }
11
13
  .bk-popover.bk-pop2-content .bk-pop2-arrow {
12
14
  position: absolute;
13
15
  z-index: -1;
@@ -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,10 +124,11 @@
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-pop2-content {
128
131
  position: absolute;
129
- display: none;
130
132
  padding: 12px;
131
133
  font-size: 12px;
132
134
  color: #fff;
@@ -134,6 +136,9 @@
134
136
  border-radius: 4px;
135
137
  box-sizing: border-box;
136
138
  }
139
+ .bk-popover.bk-pop2-content.hidden {
140
+ display: none;
141
+ }
137
142
  .bk-popover.bk-pop2-content .bk-pop2-arrow {
138
143
  position: absolute;
139
144
  z-index: -1;
@@ -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-exception {
128
131
  position: relative;
@@ -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-fixed-navbar {
128
131
  position: fixed;
@@ -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 form-error-appear-animation {
128
131
  from {
package/lib/hooks.js CHANGED
@@ -23,11 +23,4 @@
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
- export {
27
- useGlobalConfig,
28
- provideGlobalConfig,
29
- useLocale,
30
- usePrefix,
31
- defaultRootConfig,
32
- rootProviderKey,
33
- } from './config-provider';
26
+ export { useGlobalConfig, provideGlobalConfig, useLocale, usePrefix, defaultRootConfig, rootProviderKey, } from './config-provider';