bkui-vue 1.0.3-beta.9 → 2.0.1-beta.2

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 (285) hide show
  1. package/dist/index.cjs.js +71 -73
  2. package/dist/index.esm.js +21328 -19060
  3. package/dist/index.umd.js +71 -73
  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.css +11 -0
  26. package/lib/collapse/collapse.d.ts +11 -0
  27. package/lib/collapse/collapse.less +15 -1
  28. package/lib/collapse/collapse.variable.css +14 -0
  29. package/lib/collapse/index.d.ts +23 -0
  30. package/lib/collapse/index.js +9 -1
  31. package/lib/collapse/props.d.ts +8 -0
  32. package/lib/collapse-transition/collapse-transition.variable.css +3 -0
  33. package/lib/color-picker/color-picker.variable.css +3 -0
  34. package/lib/components.d.ts +2 -0
  35. package/lib/components.js +3 -1
  36. package/lib/config-provider/config-provider.d.ts +3 -0
  37. package/lib/config-provider/config-provider.variable.css +3 -0
  38. package/lib/config-provider/index.d.ts +4 -0
  39. package/lib/config-provider/token.d.ts +1 -0
  40. package/lib/container/container.variable.css +3 -0
  41. package/lib/date-picker/base/month-table.d.ts +2 -2
  42. package/lib/date-picker/date-picker.d.ts +1 -0
  43. package/lib/date-picker/date-picker.variable.css +3 -0
  44. package/lib/date-picker/index.d.ts +3 -0
  45. package/lib/date-picker/index.js +70 -32
  46. package/lib/date-picker/interface.d.ts +1 -1
  47. package/lib/date-picker/time-picker.d.ts +1 -0
  48. package/lib/date-picker/utils.d.ts +4 -0
  49. package/lib/dialog/dialog.css +176 -150
  50. package/lib/dialog/dialog.d.ts +40 -109
  51. package/lib/dialog/dialog.less +51 -124
  52. package/lib/dialog/dialog.variable.css +179 -150
  53. package/lib/dialog/index.d.ts +99 -263
  54. package/lib/dialog/index.js +244 -246
  55. package/lib/dialog/props.d.ts +10 -35
  56. package/lib/directives/index.js +0 -1
  57. package/lib/divider/divider.variable.css +3 -0
  58. package/lib/dropdown/dropdown.css +3 -1
  59. package/lib/dropdown/dropdown.variable.css +6 -1
  60. package/lib/exception/exception.variable.css +3 -0
  61. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  62. package/lib/form/form.variable.css +3 -0
  63. package/lib/form/index.js +3 -1
  64. package/lib/icon/image-fill.js +82 -167
  65. package/lib/icon/img-error.js +82 -167
  66. package/lib/icon/img-placehoulder.js +82 -167
  67. package/lib/icon/index.d.ts +1 -0
  68. package/lib/icon/index.js +87 -2427
  69. package/lib/icon/info-line.js +82 -167
  70. package/lib/icon/info.js +82 -167
  71. package/lib/icon/left-shape.js +82 -167
  72. package/lib/icon/left-turn-line.js +82 -167
  73. package/lib/icon/loading.js +82 -167
  74. package/lib/icon/narrow-line.js +82 -167
  75. package/lib/icon/original.js +82 -167
  76. package/lib/icon/pdf-fill.js +82 -167
  77. package/lib/icon/play-shape.js +82 -167
  78. package/lib/icon/plus.js +82 -167
  79. package/lib/icon/ppt-fill.js +82 -167
  80. package/lib/icon/qq.js +82 -167
  81. package/lib/icon/right-shape.js +82 -167
  82. package/lib/icon/right-turn-line.js +82 -167
  83. package/lib/icon/search.js +82 -167
  84. package/lib/icon/share.js +82 -167
  85. package/lib/icon/spinner.js +82 -167
  86. package/lib/icon/success.js +82 -167
  87. package/lib/icon/switcher-loading.js +82 -167
  88. package/lib/icon/text-all.d.ts +4 -0
  89. package/lib/icon/text-all.js +191 -0
  90. package/lib/icon/text-file.js +82 -167
  91. package/lib/icon/text-fill.js +82 -167
  92. package/lib/icon/transfer.js +82 -167
  93. package/lib/icon/tree-application-shape.js +82 -167
  94. package/lib/icon/unfull-screen.js +82 -167
  95. package/lib/icon/unvisible.js +82 -167
  96. package/lib/icon/up-shape.js +82 -167
  97. package/lib/icon/upload.js +82 -167
  98. package/lib/icon/video-fill.js +82 -167
  99. package/lib/icon/warn.js +82 -167
  100. package/lib/icon/weixin-pro.js +82 -167
  101. package/lib/icon/weixin.js +82 -167
  102. package/lib/image/image-viewer.variable.css +3 -0
  103. package/lib/image/image.variable.css +3 -0
  104. package/lib/image/index.js +5 -2
  105. package/lib/info-box/index.d.ts +2 -2
  106. package/lib/info-box/index.js +257 -516
  107. package/lib/info-box/info-box.css +58 -28
  108. package/lib/info-box/info-box.d.ts +18 -16
  109. package/lib/info-box/info-box.less +82 -51
  110. package/lib/info-box/info-box.variable.css +61 -28
  111. package/lib/info-box/render-component.d.ts +4 -0
  112. package/lib/input/index.js +7 -1
  113. package/lib/input/input.variable.css +3 -0
  114. package/lib/link/link.variable.css +3 -0
  115. package/lib/loading/loading.variable.css +3 -0
  116. package/lib/locale/index.js +4 -2
  117. package/lib/locale/lang/en.d.ts +1 -0
  118. package/lib/menu/menu.variable.css +3 -0
  119. package/lib/menu/submenu.variable.css +3 -0
  120. package/lib/message/message.variable.css +3 -0
  121. package/lib/modal/hooks.d.ts +6 -0
  122. package/lib/modal/index.d.ts +41 -309
  123. package/lib/modal/index.js +285 -671
  124. package/lib/modal/mask.d.ts +6 -0
  125. package/lib/modal/modal.css +155 -76
  126. package/lib/modal/modal.d.ts +18 -116
  127. package/lib/modal/modal.less +107 -55
  128. package/lib/modal/modal.variable.css +158 -76
  129. package/lib/modal/props.mixin.d.ts +5 -41
  130. package/lib/navigation/navigation.variable.css +3 -0
  131. package/lib/notify/notify.variable.css +3 -0
  132. package/lib/overflow-title/index.js +46 -52
  133. package/lib/pagination/index.js +2 -1
  134. package/lib/pagination/pagination.variable.css +3 -0
  135. package/lib/plugin-popover/index.d.ts +1 -1
  136. package/lib/plugin-popover/index.js +45 -26
  137. package/lib/pop-confirm/index.js +8 -5
  138. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  139. package/lib/popover/content.d.ts +1 -1
  140. package/lib/popover/index.js +45 -26
  141. package/lib/popover/plugin-popover.d.ts +4 -1
  142. package/lib/popover/popover.css +3 -1
  143. package/lib/popover/popover.less +4 -1
  144. package/lib/popover/popover.variable.css +6 -1
  145. package/lib/preset.d.ts +2 -0
  146. package/lib/process/process.variable.css +3 -0
  147. package/lib/progress/progress.variable.css +3 -0
  148. package/lib/radio/index.d.ts +29 -0
  149. package/lib/radio/index.js +39 -21
  150. package/lib/radio/radio-button.d.ts +10 -0
  151. package/lib/radio/radio-group.d.ts +10 -0
  152. package/lib/radio/radio.d.ts +10 -0
  153. package/lib/radio/radio.variable.css +3 -0
  154. package/lib/rate/rate.variable.css +3 -0
  155. package/lib/rate/star.variable.css +3 -0
  156. package/lib/resize-layout/index.js +1 -1
  157. package/lib/resize-layout/resize-layout.variable.css +3 -0
  158. package/lib/scrollbar/index.d.ts +15 -0
  159. package/lib/scrollbar/index.js +18763 -0
  160. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
  161. package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
  162. package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
  163. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
  164. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
  165. package/lib/scrollbar/scrollbar.css +75 -0
  166. package/lib/scrollbar/scrollbar.less +94 -0
  167. package/lib/scrollbar/scrollbar.variable.css +204 -0
  168. package/lib/search-select/index.d.ts +375 -16
  169. package/lib/search-select/index.js +701 -366
  170. package/lib/search-select/input.d.ts +14 -5
  171. package/lib/search-select/search-select.css +20 -6
  172. package/lib/search-select/search-select.d.ts +129 -7
  173. package/lib/search-select/search-select.less +16 -12
  174. package/lib/search-select/search-select.variable.css +23 -6
  175. package/lib/search-select/selected.d.ts +116 -6
  176. package/lib/search-select/utils.d.ts +19 -6
  177. package/lib/select/index.d.ts +124 -6
  178. package/lib/select/index.js +1336 -72
  179. package/lib/select/option.d.ts +3 -1
  180. package/lib/select/pinyin/core.d.ts +14 -0
  181. package/lib/select/pinyin/dict.d.ts +34 -0
  182. package/lib/select/pinyin/index.d.ts +2 -0
  183. package/lib/select/select.css +55 -12
  184. package/lib/select/select.d.ts +50 -2
  185. package/lib/select/select.less +69 -19
  186. package/lib/select/select.variable.css +58 -12
  187. package/lib/select/selectTagInput.d.ts +7 -0
  188. package/lib/select/type.d.ts +2 -3
  189. package/lib/shared/index.d.ts +0 -1
  190. package/lib/shared/index.js +70 -50
  191. package/lib/shared/utils.d.ts +12 -0
  192. package/lib/shared/vue-types.d.ts +5 -0
  193. package/lib/sideslider/index.d.ts +55 -185
  194. package/lib/sideslider/index.js +81 -55
  195. package/lib/sideslider/sideslider.css +26 -90
  196. package/lib/sideslider/sideslider.d.ts +25 -87
  197. package/lib/sideslider/sideslider.less +56 -132
  198. package/lib/sideslider/sideslider.variable.css +29 -90
  199. package/lib/slider/index.d.ts +19 -0
  200. package/lib/slider/index.js +45 -5
  201. package/lib/slider/slider.css +14 -0
  202. package/lib/slider/slider.d.ts +9 -0
  203. package/lib/slider/slider.less +15 -0
  204. package/lib/slider/slider.variable.css +17 -0
  205. package/lib/steps/steps.variable.css +3 -0
  206. package/lib/styles/mixins/animate.variable.css +3 -0
  207. package/lib/styles/mixins/popper.variable.css +3 -0
  208. package/lib/styles/mixins/scroll.variable.css +3 -0
  209. package/lib/styles/reset.css +1 -3
  210. package/lib/styles/reset.less +3 -6
  211. package/lib/styles/reset.variable.css +4 -3
  212. package/lib/styles/themes/themes.less +5 -0
  213. package/lib/swiper/swiper.variable.css +3 -0
  214. package/lib/switcher/switcher.variable.css +3 -0
  215. package/lib/tab/tab.variable.css +3 -0
  216. package/lib/table/cache.d.ts +11 -3
  217. package/lib/table/components/table-cell.d.ts +3 -2
  218. package/lib/table/components/table-column.d.ts +7 -17
  219. package/lib/table/const.d.ts +4 -4
  220. package/lib/table/index.d.ts +29 -64
  221. package/lib/table/index.js +18068 -613
  222. package/lib/table/plugins/head-filter.css +8 -4
  223. package/lib/table/plugins/head-filter.less +6 -3
  224. package/lib/table/plugins/head-filter.variable.css +11 -4
  225. package/lib/table/plugins/head-sort.variable.css +3 -0
  226. package/lib/table/plugins/settings.variable.css +3 -0
  227. package/lib/table/plugins/use-active-columns.d.ts +2 -2
  228. package/lib/table/plugins/use-column-template.d.ts +7 -0
  229. package/lib/table/plugins/use-draggable.d.ts +2 -2
  230. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  231. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  232. package/lib/table/plugins/use-pagination.d.ts +3 -1
  233. package/lib/table/plugins/use-shift-key.d.ts +11 -0
  234. package/lib/table/props.d.ts +17 -7
  235. package/lib/table/table.css +112 -58
  236. package/lib/table/table.d.ts +11 -0
  237. package/lib/table/table.less +46 -58
  238. package/lib/table/table.variable.css +115 -58
  239. package/lib/table/use-attributes.d.ts +6 -43
  240. package/lib/table/use-column.d.ts +9 -10
  241. package/lib/table/use-common.d.ts +1 -1
  242. package/lib/table/use-render.d.ts +1 -1
  243. package/lib/table/utils.d.ts +1 -1
  244. package/lib/table-column/index.d.ts +92 -266
  245. package/lib/table-column/index.js +24 -98
  246. package/lib/tag/tag.variable.css +3 -0
  247. package/lib/tag-input/index.d.ts +4 -4
  248. package/lib/tag-input/tag-input.d.ts +2 -2
  249. package/lib/tag-input/tag-input.variable.css +3 -0
  250. package/lib/tag-input/tag-props.d.ts +1 -1
  251. package/lib/tag-input/tag-render.d.ts +1 -1
  252. package/lib/time-picker/index.d.ts +38 -35
  253. package/lib/time-picker/time-picker.variable.css +3 -0
  254. package/lib/timeline/index.d.ts +80 -44
  255. package/lib/timeline/index.js +54 -65
  256. package/lib/timeline/timeline.d.ts +46 -29
  257. package/lib/timeline/timeline.variable.css +3 -0
  258. package/lib/transfer/transfer.variable.css +3 -0
  259. package/lib/tree/constant.d.ts +3 -1
  260. package/lib/tree/index.d.ts +44 -0
  261. package/lib/tree/index.js +17548 -25
  262. package/lib/tree/props.d.ts +18 -0
  263. package/lib/tree/tree.css +76 -2
  264. package/lib/tree/tree.d.ts +28 -2
  265. package/lib/tree/tree.variable.css +79 -2
  266. package/lib/tree/use-intersection-observer.d.ts +27 -0
  267. package/lib/tree/use-node-attribute.d.ts +9 -0
  268. package/lib/upload/index.d.ts +12 -0
  269. package/lib/upload/index.js +21 -30
  270. package/lib/upload/props.d.ts +3 -0
  271. package/lib/upload/upload-trigger.d.ts +6 -0
  272. package/lib/upload/upload.d.ts +6 -0
  273. package/lib/upload/upload.variable.css +3 -0
  274. package/lib/virtual-render/index.d.ts +36 -9
  275. package/lib/virtual-render/index.js +295 -80
  276. package/lib/virtual-render/props.d.ts +16 -0
  277. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  278. package/lib/virtual-render/use-scrollbar.d.ts +24 -0
  279. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  280. package/lib/virtual-render/virtual-render.css +76 -2
  281. package/lib/virtual-render/virtual-render.d.ts +16 -3
  282. package/lib/virtual-render/virtual-render.less +3 -3
  283. package/lib/virtual-render/virtual-render.variable.css +79 -2
  284. package/package.json +1 -1
  285. package/lib/shared/mask.d.ts +0 -11
@@ -35,6 +35,10 @@ __webpack_require__.d(__webpack_exports__, {
35
35
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
36
36
  var y = x => () => x
37
37
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
38
+ ;// CONCATENATED MODULE: external "vue"
39
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
40
+ var external_vue_y = x => () => x
41
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["onUnmounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUnmounted, ["onUpdated"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onUpdated, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive });
38
42
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
39
43
  function _typeof(o) {
40
44
  "@babel/helpers - typeof";
@@ -80,10 +84,6 @@ function _defineProperty(obj, key, value) {
80
84
  }
81
85
  return obj;
82
86
  }
83
- ;// CONCATENATED MODULE: external "vue"
84
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
85
- var external_vue_y = x => () => x
86
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
87
87
  ;// CONCATENATED MODULE: ../../packages/table/src/const.ts
88
88
 
89
89
  /*
@@ -168,7 +168,7 @@ var COLUMN_ATTRIBUTE = {
168
168
  /**
169
169
  * Y 轴滚动条宽度
170
170
  */
171
- var SCROLLY_WIDTH = 6;
171
+ var SCROLLY_WIDTH = 0;
172
172
  /**
173
173
  * 默认行高
174
174
  */
@@ -205,9 +205,9 @@ var createDefaultSizeList = function createDefaultSizeList(t) {
205
205
  /**
206
206
  * Provide key: init column when use <column { ...props }> template
207
207
  */
208
- var PROVIDE_KEY_INIT_COL = 'InitColumns';
209
- var PROVIDE_KEY_TB_CACHE = 'BKTableCahce';
210
- var BK_COLUMN_UPDATE_DEFINE = 'Bk_COlumn_Update_Define';
208
+ var PROVIDE_KEY_INIT_COL = Symbol('bkInitColumns');
209
+ var PROVIDE_KEY_TB_CACHE = Symbol('bkTableCahce');
210
+ var BK_COLUMN_UPDATE_DEFINE = Symbol('bkColumnUpdateDefine');
211
211
  /**
212
212
  * 表格底部高度
213
213
  * 分页组件
@@ -263,7 +263,7 @@ var ColumnTypeEnum;
263
263
  ColumnTypeEnum["SELECTION"] = "selection";
264
264
  ColumnTypeEnum["INDEX"] = "index";
265
265
  ColumnTypeEnum["EXPAND"] = "expand";
266
- ColumnTypeEnum["NONE"] = "none";
266
+ ColumnTypeEnum["NONE"] = "__COL_TYPE_NONE";
267
267
  })(ColumnTypeEnum || (ColumnTypeEnum = {}));
268
268
  var TableAlignEnum;
269
269
  (function (TableAlignEnum) {
@@ -596,11 +596,14 @@ var tableProps = {
596
596
  /**
597
597
  * 是否支持行拖拽排序
598
598
  */
599
- rowDraggable: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.func, shared_namespaceObject.PropTypes.bool, shared_namespaceObject.PropTypes.object]).def(false)
599
+ rowDraggable: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.func, shared_namespaceObject.PropTypes.bool, shared_namespaceObject.PropTypes.object]).def(false),
600
+ /**
601
+ * 是否支持shift键多行选择
602
+ */
603
+ shiftMultiChecked: shared_namespaceObject.PropTypes.bool.def(false)
600
604
  };
601
605
  ;// CONCATENATED MODULE: ../../packages/table/src/components/table-column.tsx
602
606
 
603
-
604
607
  /*
605
608
  * Tencent is pleased to support the open source community by making
606
609
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -654,100 +657,23 @@ var TableColumnProp = {
654
657
  name: 'TableColumn',
655
658
  props: TableColumnProp,
656
659
  setup: function setup(props) {
657
- var initColumns = (0,external_vue_namespaceObject.inject)(PROVIDE_KEY_INIT_COL, function (_col) {
658
- var _rm = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
659
- }, false);
660
- var bkTableCache = (0,external_vue_namespaceObject.inject)(PROVIDE_KEY_TB_CACHE, {
661
- queueStack: function queueStack(_, fn) {
662
- return fn === null || fn === void 0 ? void 0 : fn();
663
- }
664
- });
660
+ var initTableColumns = (0,external_vue_namespaceObject.inject)(PROVIDE_KEY_INIT_COL, function () {});
665
661
  var column = (0,external_vue_namespaceObject.reactive)(Object.assign({}, props, {
666
662
  field: props.prop || props.field
667
663
  }));
664
+ (0,external_vue_namespaceObject.onMounted)(function () {
665
+ initTableColumns();
666
+ });
667
+ (0,external_vue_namespaceObject.onUpdated)(function () {
668
+ initTableColumns();
669
+ });
670
+ (0,external_vue_namespaceObject.onUnmounted)(function () {
671
+ initTableColumns();
672
+ });
668
673
  return {
669
- initColumns: initColumns,
670
- bkTableCache: bkTableCache,
671
674
  column: column
672
675
  };
673
676
  },
674
- unmounted: function unmounted() {
675
- this.updateColumnDefine(true);
676
- },
677
- mounted: function mounted() {
678
- this.updateColumnDefine();
679
- },
680
- updated: function updated() {
681
- this.updateColumnDefineByParent();
682
- },
683
- methods: {
684
- updateColumnDefine: function updateColumnDefine() {
685
- var unmounted = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
686
- if (unmounted) {
687
- this.unmountColumn();
688
- return;
689
- }
690
- this.updateColumnDefineByParent();
691
- },
692
- copyProps: function copyProps(props) {
693
- return Object.keys(props !== null && props !== void 0 ? props : {}).reduce(function (result, key) {
694
- var target = key.replace(/-(\w)/g, function (_, letter) {
695
- return letter.toUpperCase();
696
- });
697
- return Object.assign(result, _defineProperty({}, target, props[key]));
698
- }, {});
699
- },
700
- updateColumnDefineByParent: function updateColumnDefineByParent() {
701
- var _this = this;
702
- var fn = function fn() {
703
- // @ts-ignore
704
- var selfVnode = _this._;
705
- var colList = selfVnode.parent.vnode.children["default"]() || [];
706
- var sortColumns = [];
707
- var index = 0;
708
- var reduceColumns = function reduceColumns(nodes) {
709
- if (!Array.isArray(nodes)) {
710
- return;
711
- }
712
- nodes.forEach(function (node) {
713
- var _node$type, _node$children2;
714
- if (Array.isArray(node)) {
715
- reduceColumns(node);
716
- return;
717
- }
718
- var skipValidateKey0 = true;
719
- if (((_node$type = node.type) === null || _node$type === void 0 ? void 0 : _node$type.name) === 'TableColumn') {
720
- var _node$children;
721
- skipValidateKey0 = Object.hasOwnProperty.call(node.props || {}, 'key');
722
- var resolveProp = Object.assign({
723
- index: index
724
- }, _this.copyProps(node.props), {
725
- field: node.props.prop || node.props.field,
726
- render: (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children["default"]
727
- });
728
- sortColumns.push((0,external_vue_namespaceObject.unref)(resolveProp));
729
- index = index + 1;
730
- }
731
- if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length && skipValidateKey0) {
732
- reduceColumns(node.children);
733
- }
734
- });
735
- };
736
- reduceColumns(colList);
737
- _this.initColumns(sortColumns);
738
- };
739
- if (typeof this.bkTableCache.queueStack === 'function') {
740
- this.bkTableCache.queueStack(BK_COLUMN_UPDATE_DEFINE, fn);
741
- }
742
- },
743
- unmountColumn: function unmountColumn() {
744
- var resolveProp = Object.assign({}, this.copyProps(this.$props), {
745
- field: this.$props.prop || this.$props.field,
746
- render: this.$slots["default"]
747
- });
748
- this.initColumns(resolveProp, true);
749
- }
750
- },
751
677
  render: function render() {
752
678
  var _this$$slots$default, _this$$slots;
753
679
  return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots, {
@@ -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-tag {
128
131
  display: inline-flex;
@@ -274,7 +274,7 @@ declare const TagInput: {
274
274
  default: boolean;
275
275
  };
276
276
  tagOverflowTips: {
277
- type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
277
+ type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
278
278
  default: () => {};
279
279
  };
280
280
  }>> & {
@@ -617,7 +617,7 @@ declare const TagInput: {
617
617
  default: boolean;
618
618
  };
619
619
  tagOverflowTips: {
620
- type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
620
+ type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
621
621
  default: () => {};
622
622
  };
623
623
  }>> & {
@@ -941,7 +941,7 @@ declare const TagInput: {
941
941
  default: boolean;
942
942
  };
943
943
  tagOverflowTips: {
944
- type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
944
+ type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
945
945
  default: () => {};
946
946
  };
947
947
  }>> & {
@@ -1318,7 +1318,7 @@ declare const TagInput: {
1318
1318
  default: boolean;
1319
1319
  };
1320
1320
  tagOverflowTips: {
1321
- type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>;
1321
+ type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>;
1322
1322
  default: () => {};
1323
1323
  };
1324
1324
  }>> & {
@@ -274,7 +274,7 @@ declare const _default: import("vue").DefineComponent<{
274
274
  default: boolean;
275
275
  };
276
276
  tagOverflowTips: {
277
- type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>; /**
277
+ type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>; /**
278
278
  * 不显示条件:
279
279
  * 1. 设置不可清除
280
280
  * 2. 禁用时
@@ -614,7 +614,7 @@ declare const _default: import("vue").DefineComponent<{
614
614
  default: boolean;
615
615
  };
616
616
  tagOverflowTips: {
617
- type: import("vue").PropType<Partial<import("../directives/src/tooltips").IOptions>>; /**
617
+ type: import("vue").PropType<Partial<import("../directives/tooltips").IOptions>>; /**
618
618
  * 不显示条件:
619
619
  * 1. 设置不可清除
620
620
  * 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-tag-input {
128
131
  position: relative;
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes, PropType, VNode } from 'vue';
2
- import { IOptions } from '../directives/src/tooltips';
2
+ import { IOptions } from '../directives/tooltips';
3
3
  declare const tagProps: () => {
4
4
  modelValue: import("vue-types").VueTypeDef<string[]> & {
5
5
  default: () => string[];
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IOptions } from '../directives/src/tooltips';
2
+ import { IOptions } from '../directives/tooltips';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  node: import("vue-types").VueTypeValidableDef<{
5
5
  [key: string]: any;
@@ -25,7 +25,7 @@ declare const BkTimePicker: {
25
25
  readonly default: true;
26
26
  };
27
27
  type: {
28
- type: import("vue").PropType<import("../../date-picker/src/interface").PickerTypeType>;
28
+ type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
29
29
  default: string;
30
30
  validator(value: any): boolean;
31
31
  };
@@ -89,7 +89,7 @@ declare const BkTimePicker: {
89
89
  readonly default: false;
90
90
  };
91
91
  shortcuts: {
92
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerShortcutsType>;
92
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
93
93
  readonly default: () => any[];
94
94
  };
95
95
  shortcutClose: {
@@ -97,10 +97,10 @@ declare const BkTimePicker: {
97
97
  readonly default: false;
98
98
  };
99
99
  modelValue: {
100
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
100
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
101
101
  };
102
102
  value: {
103
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
103
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
104
104
  };
105
105
  options: {
106
106
  readonly type: ObjectConstructor;
@@ -135,7 +135,7 @@ declare const BkTimePicker: {
135
135
  readonly default: "normal";
136
136
  readonly validator: (v: any) => boolean;
137
137
  };
138
- disabledDate: import("vue").PropType<import("../../date-picker/src/interface").DisabledDateType>;
138
+ disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
139
139
  withValidate: {
140
140
  readonly type: BooleanConstructor;
141
141
  readonly default: true;
@@ -149,7 +149,7 @@ declare const BkTimePicker: {
149
149
  "onOpen-change"?: (...args: any[]) => any;
150
150
  "onShortcut-change"?: (...args: any[]) => any;
151
151
  }, {
152
- panel: import("vue").ComputedRef<import("../../date-picker/src/interface").DatePickerPanelType>;
152
+ panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
153
153
  publicStringValue: import("vue").ComputedRef<any>;
154
154
  opened: import("vue").ComputedRef<boolean>;
155
155
  visualValue: import("vue").ComputedRef<any>;
@@ -172,6 +172,7 @@ declare const BkTimePicker: {
172
172
  inputRef: import("vue").Ref<any>;
173
173
  triggerRef: import("vue").Ref<HTMLElement>;
174
174
  pickerPanelRef: import("vue").Ref<any>;
175
+ teleportTo: import("vue").Ref<any>;
175
176
  handleClose: (e?: Event) => boolean;
176
177
  handleIconClick: () => void;
177
178
  handleInputMouseenter: () => void;
@@ -191,7 +192,7 @@ declare const BkTimePicker: {
191
192
  internalValue: import("vue").Ref<any>;
192
193
  disableClickOutSide: import("vue").Ref<boolean>;
193
194
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
194
- selectionMode: import("vue").Ref<import("../../date-picker/src/interface").SelectionModeType>;
195
+ selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
195
196
  forceInputRerender: import("vue").Ref<number>;
196
197
  isFocused: import("vue").Ref<boolean>;
197
198
  focusedDate: import("vue").Ref<any>;
@@ -204,7 +205,7 @@ declare const BkTimePicker: {
204
205
  internalFocus: import("vue").Ref<boolean>;
205
206
  timeEnterMode: import("vue").Ref<boolean>;
206
207
  shortcut: import("vue").Ref<any>;
207
- onSelectionModeChange: import("vue").Ref<(_type: any) => import("../../date-picker/src/interface").SelectionModeType>;
208
+ onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
208
209
  tmpValue: import("vue").Ref<any>;
209
210
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
210
211
  disabledHours: {
@@ -232,7 +233,7 @@ declare const BkTimePicker: {
232
233
  readonly default: true;
233
234
  };
234
235
  type: {
235
- type: import("vue").PropType<import("../../date-picker/src/interface").PickerTypeType>;
236
+ type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
236
237
  default: string;
237
238
  validator(value: any): boolean;
238
239
  };
@@ -296,7 +297,7 @@ declare const BkTimePicker: {
296
297
  readonly default: false;
297
298
  };
298
299
  shortcuts: {
299
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerShortcutsType>;
300
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
300
301
  readonly default: () => any[];
301
302
  };
302
303
  shortcutClose: {
@@ -304,10 +305,10 @@ declare const BkTimePicker: {
304
305
  readonly default: false;
305
306
  };
306
307
  modelValue: {
307
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
308
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
308
309
  };
309
310
  value: {
310
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
311
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
311
312
  };
312
313
  options: {
313
314
  readonly type: ObjectConstructor;
@@ -342,7 +343,7 @@ declare const BkTimePicker: {
342
343
  readonly default: "normal";
343
344
  readonly validator: (v: any) => boolean;
344
345
  };
345
- disabledDate: import("vue").PropType<import("../../date-picker/src/interface").DisabledDateType>;
346
+ disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
346
347
  withValidate: {
347
348
  readonly type: BooleanConstructor;
348
349
  readonly default: true;
@@ -356,7 +357,7 @@ declare const BkTimePicker: {
356
357
  "onOpen-change"?: (...args: any[]) => any;
357
358
  "onShortcut-change"?: (...args: any[]) => any;
358
359
  }, {
359
- type: import("../../date-picker/src/interface").PickerTypeType;
360
+ type: import("../date-picker/interface").PickerTypeType;
360
361
  width: number;
361
362
  disabled: boolean;
362
363
  placement: import("@popperjs/core").ComputedPlacement;
@@ -375,7 +376,7 @@ declare const BkTimePicker: {
375
376
  timePickerOptions: {};
376
377
  splitPanels: boolean;
377
378
  appendToBody: boolean;
378
- shortcuts: import("../../date-picker/src/interface").DatePickerShortcutsType;
379
+ shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
379
380
  shortcutClose: boolean;
380
381
  upToNow: boolean;
381
382
  useShortcutText: boolean;
@@ -429,7 +430,7 @@ declare const BkTimePicker: {
429
430
  readonly default: true;
430
431
  };
431
432
  type: {
432
- type: import("vue").PropType<import("../../date-picker/src/interface").PickerTypeType>;
433
+ type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
433
434
  default: string;
434
435
  validator(value: any): boolean;
435
436
  };
@@ -493,7 +494,7 @@ declare const BkTimePicker: {
493
494
  readonly default: false;
494
495
  };
495
496
  shortcuts: {
496
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerShortcutsType>;
497
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
497
498
  readonly default: () => any[];
498
499
  };
499
500
  shortcutClose: {
@@ -501,10 +502,10 @@ declare const BkTimePicker: {
501
502
  readonly default: false;
502
503
  };
503
504
  modelValue: {
504
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
505
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
505
506
  };
506
507
  value: {
507
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
508
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
508
509
  };
509
510
  options: {
510
511
  readonly type: ObjectConstructor;
@@ -539,7 +540,7 @@ declare const BkTimePicker: {
539
540
  readonly default: "normal";
540
541
  readonly validator: (v: any) => boolean;
541
542
  };
542
- disabledDate: import("vue").PropType<import("../../date-picker/src/interface").DisabledDateType>;
543
+ disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
543
544
  withValidate: {
544
545
  readonly type: BooleanConstructor;
545
546
  readonly default: true;
@@ -553,7 +554,7 @@ declare const BkTimePicker: {
553
554
  "onOpen-change"?: (...args: any[]) => any;
554
555
  "onShortcut-change"?: (...args: any[]) => any;
555
556
  }, {
556
- panel: import("vue").ComputedRef<import("../../date-picker/src/interface").DatePickerPanelType>;
557
+ panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
557
558
  publicStringValue: import("vue").ComputedRef<any>;
558
559
  opened: import("vue").ComputedRef<boolean>;
559
560
  visualValue: import("vue").ComputedRef<any>;
@@ -576,6 +577,7 @@ declare const BkTimePicker: {
576
577
  inputRef: import("vue").Ref<any>;
577
578
  triggerRef: import("vue").Ref<HTMLElement>;
578
579
  pickerPanelRef: import("vue").Ref<any>;
580
+ teleportTo: import("vue").Ref<any>;
579
581
  handleClose: (e?: Event) => boolean;
580
582
  handleIconClick: () => void;
581
583
  handleInputMouseenter: () => void;
@@ -595,7 +597,7 @@ declare const BkTimePicker: {
595
597
  internalValue: import("vue").Ref<any>;
596
598
  disableClickOutSide: import("vue").Ref<boolean>;
597
599
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
598
- selectionMode: import("vue").Ref<import("../../date-picker/src/interface").SelectionModeType>;
600
+ selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
599
601
  forceInputRerender: import("vue").Ref<number>;
600
602
  isFocused: import("vue").Ref<boolean>;
601
603
  focusedDate: import("vue").Ref<any>;
@@ -608,10 +610,10 @@ declare const BkTimePicker: {
608
610
  internalFocus: import("vue").Ref<boolean>;
609
611
  timeEnterMode: import("vue").Ref<boolean>;
610
612
  shortcut: import("vue").Ref<any>;
611
- onSelectionModeChange: import("vue").Ref<(_type: any) => import("../../date-picker/src/interface").SelectionModeType>;
613
+ onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
612
614
  tmpValue: import("vue").Ref<any>;
613
615
  }, {}, {}, {}, {
614
- type: import("../../date-picker/src/interface").PickerTypeType;
616
+ type: import("../date-picker/interface").PickerTypeType;
615
617
  width: number;
616
618
  disabled: boolean;
617
619
  placement: import("@popperjs/core").ComputedPlacement;
@@ -630,7 +632,7 @@ declare const BkTimePicker: {
630
632
  timePickerOptions: {};
631
633
  splitPanels: boolean;
632
634
  appendToBody: boolean;
633
- shortcuts: import("../../date-picker/src/interface").DatePickerShortcutsType;
635
+ shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
634
636
  shortcutClose: boolean;
635
637
  upToNow: boolean;
636
638
  useShortcutText: boolean;
@@ -673,7 +675,7 @@ declare const BkTimePicker: {
673
675
  readonly default: true;
674
676
  };
675
677
  type: {
676
- type: import("vue").PropType<import("../../date-picker/src/interface").PickerTypeType>;
678
+ type: import("vue").PropType<import("../date-picker/interface").PickerTypeType>;
677
679
  default: string;
678
680
  validator(value: any): boolean;
679
681
  };
@@ -737,7 +739,7 @@ declare const BkTimePicker: {
737
739
  readonly default: false;
738
740
  };
739
741
  shortcuts: {
740
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerShortcutsType>;
742
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerShortcutsType>;
741
743
  readonly default: () => any[];
742
744
  };
743
745
  shortcutClose: {
@@ -745,10 +747,10 @@ declare const BkTimePicker: {
745
747
  readonly default: false;
746
748
  };
747
749
  modelValue: {
748
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
750
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
749
751
  };
750
752
  value: {
751
- readonly type: import("vue").PropType<import("../../date-picker/src/interface").DatePickerValueType>;
753
+ readonly type: import("vue").PropType<import("../date-picker/interface").DatePickerValueType>;
752
754
  };
753
755
  options: {
754
756
  readonly type: ObjectConstructor;
@@ -783,7 +785,7 @@ declare const BkTimePicker: {
783
785
  readonly default: "normal";
784
786
  readonly validator: (v: any) => boolean;
785
787
  };
786
- disabledDate: import("vue").PropType<import("../../date-picker/src/interface").DisabledDateType>;
788
+ disabledDate: import("vue").PropType<import("../date-picker/interface").DisabledDateType>;
787
789
  withValidate: {
788
790
  readonly type: BooleanConstructor;
789
791
  readonly default: true;
@@ -797,7 +799,7 @@ declare const BkTimePicker: {
797
799
  "onOpen-change"?: (...args: any[]) => any;
798
800
  "onShortcut-change"?: (...args: any[]) => any;
799
801
  }, {
800
- panel: import("vue").ComputedRef<import("../../date-picker/src/interface").DatePickerPanelType>;
802
+ panel: import("vue").ComputedRef<import("../date-picker/interface").DatePickerPanelType>;
801
803
  publicStringValue: import("vue").ComputedRef<any>;
802
804
  opened: import("vue").ComputedRef<boolean>;
803
805
  visualValue: import("vue").ComputedRef<any>;
@@ -820,6 +822,7 @@ declare const BkTimePicker: {
820
822
  inputRef: import("vue").Ref<any>;
821
823
  triggerRef: import("vue").Ref<HTMLElement>;
822
824
  pickerPanelRef: import("vue").Ref<any>;
825
+ teleportTo: import("vue").Ref<any>;
823
826
  handleClose: (e?: Event) => boolean;
824
827
  handleIconClick: () => void;
825
828
  handleInputMouseenter: () => void;
@@ -839,7 +842,7 @@ declare const BkTimePicker: {
839
842
  internalValue: import("vue").Ref<any>;
840
843
  disableClickOutSide: import("vue").Ref<boolean>;
841
844
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
842
- selectionMode: import("vue").Ref<import("../../date-picker/src/interface").SelectionModeType>;
845
+ selectionMode: import("vue").Ref<import("../date-picker/interface").SelectionModeType>;
843
846
  forceInputRerender: import("vue").Ref<number>;
844
847
  isFocused: import("vue").Ref<boolean>;
845
848
  focusedDate: import("vue").Ref<any>;
@@ -852,10 +855,10 @@ declare const BkTimePicker: {
852
855
  internalFocus: import("vue").Ref<boolean>;
853
856
  timeEnterMode: import("vue").Ref<boolean>;
854
857
  shortcut: import("vue").Ref<any>;
855
- onSelectionModeChange: import("vue").Ref<(_type: any) => import("../../date-picker/src/interface").SelectionModeType>;
858
+ onSelectionModeChange: import("vue").Ref<(_type: any) => import("../date-picker/interface").SelectionModeType>;
856
859
  tmpValue: import("vue").Ref<any>;
857
860
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "change" | "input" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
858
- type: import("../../date-picker/src/interface").PickerTypeType;
861
+ type: import("../date-picker/interface").PickerTypeType;
859
862
  width: number;
860
863
  disabled: boolean;
861
864
  placement: import("@popperjs/core").ComputedPlacement;
@@ -874,7 +877,7 @@ declare const BkTimePicker: {
874
877
  timePickerOptions: {};
875
878
  splitPanels: boolean;
876
879
  appendToBody: boolean;
877
- shortcuts: import("../../date-picker/src/interface").DatePickerShortcutsType;
880
+ shortcuts: import("../date-picker/interface").DatePickerShortcutsType;
878
881
  shortcutClose: boolean;
879
882
  upToNow: boolean;
880
883
  useShortcutText: boolean;
@@ -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-time-picker-header {
128
131
  height: 46px;