bkui-vue 1.0.3-beta.8 → 2.0.1-beta.1

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 (289) hide show
  1. package/dist/index.cjs.js +71 -73
  2. package/dist/index.esm.js +20956 -18684
  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 +62 -505
  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/dist.index.js +5 -62
  58. package/lib/divider/divider.variable.css +3 -0
  59. package/lib/dropdown/dropdown.css +3 -1
  60. package/lib/dropdown/dropdown.variable.css +6 -1
  61. package/lib/exception/exception.variable.css +3 -0
  62. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  63. package/lib/form/form.variable.css +3 -0
  64. package/lib/form/index.js +3 -1
  65. package/lib/hooks.js +1 -48
  66. package/lib/icon/image-fill.js +82 -167
  67. package/lib/icon/img-error.js +82 -167
  68. package/lib/icon/img-placehoulder.js +82 -167
  69. package/lib/icon/index.d.ts +1 -0
  70. package/lib/icon/index.js +87 -2427
  71. package/lib/icon/info-line.js +82 -167
  72. package/lib/icon/info.js +82 -167
  73. package/lib/icon/left-shape.js +82 -167
  74. package/lib/icon/left-turn-line.js +82 -167
  75. package/lib/icon/loading.js +82 -167
  76. package/lib/icon/narrow-line.js +82 -167
  77. package/lib/icon/original.js +82 -167
  78. package/lib/icon/pdf-fill.js +82 -167
  79. package/lib/icon/play-shape.js +82 -167
  80. package/lib/icon/plus.js +82 -167
  81. package/lib/icon/ppt-fill.js +82 -167
  82. package/lib/icon/qq.js +82 -167
  83. package/lib/icon/right-shape.js +82 -167
  84. package/lib/icon/right-turn-line.js +82 -167
  85. package/lib/icon/search.js +82 -167
  86. package/lib/icon/share.js +82 -167
  87. package/lib/icon/spinner.js +82 -167
  88. package/lib/icon/success.js +82 -167
  89. package/lib/icon/switcher-loading.js +82 -167
  90. package/lib/icon/text-all.d.ts +4 -0
  91. package/lib/icon/text-all.js +191 -0
  92. package/lib/icon/text-file.js +82 -167
  93. package/lib/icon/text-fill.js +82 -167
  94. package/lib/icon/transfer.js +82 -167
  95. package/lib/icon/tree-application-shape.js +82 -167
  96. package/lib/icon/unfull-screen.js +82 -167
  97. package/lib/icon/unvisible.js +82 -167
  98. package/lib/icon/up-shape.js +82 -167
  99. package/lib/icon/upload.js +82 -167
  100. package/lib/icon/video-fill.js +82 -167
  101. package/lib/icon/warn.js +82 -167
  102. package/lib/icon/weixin-pro.js +82 -167
  103. package/lib/icon/weixin.js +82 -167
  104. package/lib/image/image-viewer.variable.css +3 -0
  105. package/lib/image/image.variable.css +3 -0
  106. package/lib/image/index.js +5 -2
  107. package/lib/index.js +7 -72
  108. package/lib/info-box/index.d.ts +2 -2
  109. package/lib/info-box/index.js +257 -516
  110. package/lib/info-box/info-box.css +58 -28
  111. package/lib/info-box/info-box.d.ts +18 -16
  112. package/lib/info-box/info-box.less +82 -51
  113. package/lib/info-box/info-box.variable.css +61 -28
  114. package/lib/info-box/render-component.d.ts +4 -0
  115. package/lib/input/index.js +7 -1
  116. package/lib/input/input.variable.css +3 -0
  117. package/lib/link/link.variable.css +3 -0
  118. package/lib/loading/loading.variable.css +3 -0
  119. package/lib/locale/index.js +4 -2
  120. package/lib/locale/lang/en.d.ts +1 -0
  121. package/lib/menu/menu.variable.css +3 -0
  122. package/lib/menu/submenu.variable.css +3 -0
  123. package/lib/message/message.variable.css +3 -0
  124. package/lib/modal/hooks.d.ts +6 -0
  125. package/lib/modal/index.d.ts +41 -309
  126. package/lib/modal/index.js +285 -671
  127. package/lib/modal/mask.d.ts +6 -0
  128. package/lib/modal/modal.css +155 -76
  129. package/lib/modal/modal.d.ts +18 -116
  130. package/lib/modal/modal.less +107 -55
  131. package/lib/modal/modal.variable.css +158 -76
  132. package/lib/modal/props.mixin.d.ts +5 -41
  133. package/lib/navigation/navigation.variable.css +3 -0
  134. package/lib/notify/notify.variable.css +3 -0
  135. package/lib/overflow-title/index.js +46 -52
  136. package/lib/pagination/index.js +2 -1
  137. package/lib/pagination/pagination.variable.css +3 -0
  138. package/lib/plugin-popover/index.d.ts +1 -1
  139. package/lib/plugin-popover/index.js +45 -26
  140. package/lib/pop-confirm/index.js +8 -5
  141. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  142. package/lib/popover/content.d.ts +1 -1
  143. package/lib/popover/index.js +45 -26
  144. package/lib/popover/plugin-popover.d.ts +4 -1
  145. package/lib/popover/popover.css +3 -1
  146. package/lib/popover/popover.less +4 -1
  147. package/lib/popover/popover.variable.css +6 -1
  148. package/lib/preset.d.ts +2 -0
  149. package/lib/preset.js +18 -64
  150. package/lib/process/process.variable.css +3 -0
  151. package/lib/progress/progress.variable.css +3 -0
  152. package/lib/radio/index.d.ts +29 -0
  153. package/lib/radio/index.js +49 -26
  154. package/lib/radio/radio-button.d.ts +10 -0
  155. package/lib/radio/radio-group.d.ts +10 -0
  156. package/lib/radio/radio.d.ts +10 -0
  157. package/lib/radio/radio.variable.css +3 -0
  158. package/lib/rate/rate.variable.css +3 -0
  159. package/lib/rate/star.variable.css +3 -0
  160. package/lib/resize-layout/index.js +1 -1
  161. package/lib/resize-layout/resize-layout.variable.css +3 -0
  162. package/lib/scrollbar/index.d.ts +15 -0
  163. package/lib/scrollbar/index.js +18763 -0
  164. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
  165. package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
  166. package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
  167. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
  168. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
  169. package/lib/scrollbar/scrollbar.css +75 -0
  170. package/lib/scrollbar/scrollbar.less +94 -0
  171. package/lib/scrollbar/scrollbar.variable.css +204 -0
  172. package/lib/search-select/index.d.ts +375 -16
  173. package/lib/search-select/index.js +701 -366
  174. package/lib/search-select/input.d.ts +14 -5
  175. package/lib/search-select/search-select.css +20 -6
  176. package/lib/search-select/search-select.d.ts +129 -7
  177. package/lib/search-select/search-select.less +16 -12
  178. package/lib/search-select/search-select.variable.css +23 -6
  179. package/lib/search-select/selected.d.ts +116 -6
  180. package/lib/search-select/utils.d.ts +19 -6
  181. package/lib/select/index.d.ts +124 -6
  182. package/lib/select/index.js +1336 -72
  183. package/lib/select/option.d.ts +3 -1
  184. package/lib/select/pinyin/core.d.ts +14 -0
  185. package/lib/select/pinyin/dict.d.ts +34 -0
  186. package/lib/select/pinyin/index.d.ts +2 -0
  187. package/lib/select/select.css +55 -12
  188. package/lib/select/select.d.ts +50 -2
  189. package/lib/select/select.less +69 -19
  190. package/lib/select/select.variable.css +58 -12
  191. package/lib/select/selectTagInput.d.ts +7 -0
  192. package/lib/select/type.d.ts +2 -3
  193. package/lib/shared/index.d.ts +0 -1
  194. package/lib/shared/index.js +70 -50
  195. package/lib/shared/utils.d.ts +12 -0
  196. package/lib/shared/vue-types.d.ts +5 -0
  197. package/lib/sideslider/index.d.ts +55 -185
  198. package/lib/sideslider/index.js +81 -55
  199. package/lib/sideslider/sideslider.css +26 -90
  200. package/lib/sideslider/sideslider.d.ts +25 -87
  201. package/lib/sideslider/sideslider.less +56 -132
  202. package/lib/sideslider/sideslider.variable.css +29 -90
  203. package/lib/slider/index.d.ts +19 -0
  204. package/lib/slider/index.js +45 -5
  205. package/lib/slider/slider.css +14 -0
  206. package/lib/slider/slider.d.ts +9 -0
  207. package/lib/slider/slider.less +15 -0
  208. package/lib/slider/slider.variable.css +17 -0
  209. package/lib/steps/steps.variable.css +3 -0
  210. package/lib/styles/mixins/animate.variable.css +3 -0
  211. package/lib/styles/mixins/popper.variable.css +3 -0
  212. package/lib/styles/mixins/scroll.variable.css +3 -0
  213. package/lib/styles/reset.css +1 -3
  214. package/lib/styles/reset.less +3 -6
  215. package/lib/styles/reset.variable.css +4 -3
  216. package/lib/styles/themes/themes.less +5 -0
  217. package/lib/swiper/swiper.variable.css +3 -0
  218. package/lib/switcher/switcher.variable.css +3 -0
  219. package/lib/tab/tab.variable.css +3 -0
  220. package/lib/table/cache.d.ts +11 -3
  221. package/lib/table/components/table-cell.d.ts +3 -2
  222. package/lib/table/components/table-column.d.ts +7 -17
  223. package/lib/table/const.d.ts +4 -4
  224. package/lib/table/index.d.ts +29 -64
  225. package/lib/table/index.js +18068 -613
  226. package/lib/table/plugins/head-filter.css +8 -4
  227. package/lib/table/plugins/head-filter.less +6 -3
  228. package/lib/table/plugins/head-filter.variable.css +11 -4
  229. package/lib/table/plugins/head-sort.variable.css +3 -0
  230. package/lib/table/plugins/settings.variable.css +3 -0
  231. package/lib/table/plugins/use-active-columns.d.ts +2 -2
  232. package/lib/table/plugins/use-column-template.d.ts +7 -0
  233. package/lib/table/plugins/use-draggable.d.ts +2 -2
  234. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  235. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  236. package/lib/table/plugins/use-pagination.d.ts +3 -1
  237. package/lib/table/plugins/use-shift-key.d.ts +11 -0
  238. package/lib/table/props.d.ts +17 -7
  239. package/lib/table/table.css +112 -58
  240. package/lib/table/table.d.ts +11 -0
  241. package/lib/table/table.less +46 -58
  242. package/lib/table/table.variable.css +115 -58
  243. package/lib/table/use-attributes.d.ts +6 -43
  244. package/lib/table/use-column.d.ts +9 -10
  245. package/lib/table/use-common.d.ts +1 -1
  246. package/lib/table/use-render.d.ts +1 -1
  247. package/lib/table/utils.d.ts +1 -1
  248. package/lib/table-column/index.d.ts +92 -266
  249. package/lib/table-column/index.js +24 -98
  250. package/lib/tag/tag.variable.css +3 -0
  251. package/lib/tag-input/index.d.ts +4 -4
  252. package/lib/tag-input/tag-input.d.ts +2 -2
  253. package/lib/tag-input/tag-input.variable.css +3 -0
  254. package/lib/tag-input/tag-props.d.ts +1 -1
  255. package/lib/tag-input/tag-render.d.ts +1 -1
  256. package/lib/time-picker/index.d.ts +38 -35
  257. package/lib/time-picker/time-picker.variable.css +3 -0
  258. package/lib/timeline/index.d.ts +80 -44
  259. package/lib/timeline/index.js +54 -65
  260. package/lib/timeline/timeline.d.ts +46 -29
  261. package/lib/timeline/timeline.variable.css +3 -0
  262. package/lib/transfer/transfer.variable.css +3 -0
  263. package/lib/tree/constant.d.ts +3 -1
  264. package/lib/tree/index.d.ts +44 -0
  265. package/lib/tree/index.js +17548 -25
  266. package/lib/tree/props.d.ts +18 -0
  267. package/lib/tree/tree.css +76 -2
  268. package/lib/tree/tree.d.ts +28 -2
  269. package/lib/tree/tree.variable.css +79 -2
  270. package/lib/tree/use-intersection-observer.d.ts +27 -0
  271. package/lib/tree/use-node-attribute.d.ts +9 -0
  272. package/lib/upload/index.d.ts +12 -0
  273. package/lib/upload/index.js +21 -30
  274. package/lib/upload/props.d.ts +3 -0
  275. package/lib/upload/upload-trigger.d.ts +6 -0
  276. package/lib/upload/upload.d.ts +6 -0
  277. package/lib/upload/upload.variable.css +3 -0
  278. package/lib/virtual-render/index.d.ts +36 -9
  279. package/lib/virtual-render/index.js +295 -80
  280. package/lib/virtual-render/props.d.ts +16 -0
  281. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  282. package/lib/virtual-render/use-scrollbar.d.ts +24 -0
  283. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  284. package/lib/virtual-render/virtual-render.css +76 -2
  285. package/lib/virtual-render/virtual-render.d.ts +16 -3
  286. package/lib/virtual-render/virtual-render.less +3 -3
  287. package/lib/virtual-render/virtual-render.variable.css +79 -2
  288. package/package.json +3 -2
  289. package/lib/shared/mask.d.ts +0 -11
@@ -1,43 +1,57 @@
1
1
  declare const BkTimeline: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
4
- default: () => unknown[];
5
- } & {
6
- default: () => unknown[];
7
- };
3
+ list: import("vue-types").VueTypeDef<{
4
+ tag: string;
5
+ content: object;
6
+ type: string;
7
+ size: string;
8
+ color: string;
9
+ icon: any;
10
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
11
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
12
+ nodeType: "template" | "vnode";
13
+ }[]>;
8
14
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
9
15
  default: boolean;
10
16
  } & {
11
17
  default: boolean;
12
18
  };
13
- extCls: import("vue-types").VueTypeValidableDef<string> & {
14
- default: string;
15
- };
16
19
  }>> & {
17
20
  onSelect?: (...args: any[]) => any;
18
21
  }, {
19
- defaultTimelines: import("vue").Ref<any[]>;
20
- titleSelect: (item: any) => void;
22
+ defaultTimelines: import("vue").ShallowRef<{
23
+ tag: string;
24
+ content: object;
25
+ type: string;
26
+ size: string;
27
+ color: string;
28
+ icon: any;
29
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
30
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
31
+ nodeType: "template" | "vnode";
32
+ }[]>;
33
+ handleTitleSelect: (item: any) => void;
21
34
  resolveClassName: (cls: string) => string;
22
35
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
23
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
24
- default: () => unknown[];
25
- } & {
26
- default: () => unknown[];
27
- };
36
+ list: import("vue-types").VueTypeDef<{
37
+ tag: string;
38
+ content: object;
39
+ type: string;
40
+ size: string;
41
+ color: string;
42
+ icon: any;
43
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
44
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
45
+ nodeType: "template" | "vnode";
46
+ }[]>;
28
47
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
29
48
  default: boolean;
30
49
  } & {
31
50
  default: boolean;
32
51
  };
33
- extCls: import("vue-types").VueTypeValidableDef<string> & {
34
- default: string;
35
- };
36
52
  }>> & {
37
53
  onSelect?: (...args: any[]) => any;
38
54
  }, {
39
- extCls: string;
40
- list: unknown[];
41
55
  titleAble: boolean;
42
56
  }, true, {}, {}, {
43
57
  P: {};
@@ -47,56 +61,78 @@ declare const BkTimeline: {
47
61
  M: {};
48
62
  Defaults: {};
49
63
  }, Readonly<import("vue").ExtractPropTypes<{
50
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
51
- default: () => unknown[];
52
- } & {
53
- default: () => unknown[];
54
- };
64
+ list: import("vue-types").VueTypeDef<{
65
+ tag: string;
66
+ content: object;
67
+ type: string;
68
+ size: string;
69
+ color: string;
70
+ icon: any;
71
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
72
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
73
+ nodeType: "template" | "vnode";
74
+ }[]>;
55
75
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
56
76
  default: boolean;
57
77
  } & {
58
78
  default: boolean;
59
79
  };
60
- extCls: import("vue-types").VueTypeValidableDef<string> & {
61
- default: string;
62
- };
63
80
  }>> & {
64
81
  onSelect?: (...args: any[]) => any;
65
82
  }, {
66
- defaultTimelines: import("vue").Ref<any[]>;
67
- titleSelect: (item: any) => void;
83
+ defaultTimelines: import("vue").ShallowRef<{
84
+ tag: string;
85
+ content: object;
86
+ type: string;
87
+ size: string;
88
+ color: string;
89
+ icon: any;
90
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
91
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
92
+ nodeType: "template" | "vnode";
93
+ }[]>;
94
+ handleTitleSelect: (item: any) => void;
68
95
  resolveClassName: (cls: string) => string;
69
96
  }, {}, {}, {}, {
70
- extCls: string;
71
- list: unknown[];
72
97
  titleAble: boolean;
73
98
  }>;
74
99
  __isFragment?: never;
75
100
  __isTeleport?: never;
76
101
  __isSuspense?: never;
77
102
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
78
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
79
- default: () => unknown[];
80
- } & {
81
- default: () => unknown[];
82
- };
103
+ list: import("vue-types").VueTypeDef<{
104
+ tag: string;
105
+ content: object;
106
+ type: string;
107
+ size: string;
108
+ color: string;
109
+ icon: any;
110
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
111
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
112
+ nodeType: "template" | "vnode";
113
+ }[]>;
83
114
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
84
115
  default: boolean;
85
116
  } & {
86
117
  default: boolean;
87
118
  };
88
- extCls: import("vue-types").VueTypeValidableDef<string> & {
89
- default: string;
90
- };
91
119
  }>> & {
92
120
  onSelect?: (...args: any[]) => any;
93
121
  }, {
94
- defaultTimelines: import("vue").Ref<any[]>;
95
- titleSelect: (item: any) => void;
122
+ defaultTimelines: import("vue").ShallowRef<{
123
+ tag: string;
124
+ content: object;
125
+ type: string;
126
+ size: string;
127
+ color: string;
128
+ icon: any;
129
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
130
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
131
+ nodeType: "template" | "vnode";
132
+ }[]>;
133
+ handleTitleSelect: (item: any) => void;
96
134
  resolveClassName: (cls: string) => string;
97
135
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", {
98
- extCls: string;
99
- list: unknown[];
100
136
  titleAble: boolean;
101
137
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
102
138
  export default BkTimeline;
@@ -1,4 +1,5 @@
1
1
  import "../styles/reset.css";
2
+ import "./timeline.less";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
4
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
@@ -48,7 +49,7 @@ function _typeof(o) {
48
49
  ;// CONCATENATED MODULE: external "vue"
49
50
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
50
51
  var external_vue_y = x => () => x
51
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
52
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["shallowRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.shallowRef, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
52
53
  ;// CONCATENATED MODULE: external "../config-provider"
53
54
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
54
55
  var config_provider_y = x => () => x
@@ -85,9 +86,18 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
85
86
 
86
87
 
87
88
  var timelineProps = {
88
- list: shared_namespaceObject.PropTypes.array.def([]),
89
- titleAble: shared_namespaceObject.PropTypes.bool.def(false),
90
- extCls: shared_namespaceObject.PropTypes.string
89
+ list: shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.shape({
90
+ tag: shared_namespaceObject.PropTypes.string,
91
+ content: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.object]),
92
+ type: shared_namespaceObject.PropTypes.string,
93
+ size: shared_namespaceObject.PropTypes.string,
94
+ color: shared_namespaceObject.PropTypes.string,
95
+ icon: shared_namespaceObject.PropTypes.func,
96
+ filled: shared_namespaceObject.PropTypes.bool,
97
+ border: shared_namespaceObject.PropTypes.bool,
98
+ nodeType: shared_namespaceObject.PropTypes.timelineNodeType()
99
+ }).isRequired),
100
+ titleAble: shared_namespaceObject.PropTypes.bool.def(false)
91
101
  };
92
102
  /* harmony default export */ const timeline = ((0,external_vue_namespaceObject.defineComponent)({
93
103
  name: 'Timeline',
@@ -95,61 +105,36 @@ var timelineProps = {
95
105
  emits: ['select'],
96
106
  setup: function setup(props, _ref) {
97
107
  var emit = _ref.emit;
98
- var defaultTimelines = (0,external_vue_namespaceObject.ref)([]);
99
- var updateTimelines = function updateTimelines(timelines) {
100
- var _defaultTimelines$val;
101
- var defaults = [];
102
- timelines.forEach(function (timeline) {
103
- var _timeline$border;
104
- defaults.push({
105
- tag: timeline.tag,
106
- content: timeline.content,
107
- type: timeline.type,
108
- size: timeline.size,
109
- color: timeline.color,
110
- icon: timeline.icon,
111
- filled: timeline.filled,
112
- border: (_timeline$border = timeline.border) !== null && _timeline$border !== void 0 ? _timeline$border : true
113
- });
114
- });
115
- (_defaultTimelines$val = defaultTimelines.value).splice.apply(_defaultTimelines$val, [0, defaultTimelines.value.length].concat(defaults));
116
- };
117
- var init = function init() {
118
- var _defaultTimelines$val2, _props$list;
119
- (_defaultTimelines$val2 = defaultTimelines.value).splice.apply(_defaultTimelines$val2, [0, defaultTimelines.value.length].concat([{
120
- tag: '步骤1',
121
- content: '内容1'
122
- }, {
123
- tag: '步骤2',
124
- content: '内容2'
125
- }, {
126
- tag: '步骤3',
127
- content: '内容3'
128
- }]));
129
- if ((_props$list = props.list) !== null && _props$list !== void 0 && _props$list.length) {
130
- updateTimelines(props.list);
131
- }
132
- };
133
- var titleSelect = function titleSelect(item) {
134
- try {
135
- emit('select', item);
136
- } catch (e) {
137
- console.warn(e);
138
- }
108
+ var defaultTimelines = (0,external_vue_namespaceObject.shallowRef)([]);
109
+ var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
110
+ resolveClassName = _usePrefix.resolveClassName;
111
+ var handleTitleSelect = function handleTitleSelect(item) {
112
+ emit('select', item);
139
113
  };
140
- (0,external_vue_namespaceObject.onMounted)(init);
141
114
  (0,external_vue_namespaceObject.watch)(function () {
142
115
  return props.list;
143
116
  }, function () {
144
- updateTimelines(props.list);
117
+ defaultTimelines.value = props.list.map(function (item) {
118
+ var _item$border;
119
+ return {
120
+ tag: item.tag,
121
+ content: item.content,
122
+ type: item.type,
123
+ size: item.size,
124
+ color: item.color,
125
+ icon: item.icon,
126
+ filled: item.filled,
127
+ border: (_item$border = item.border) !== null && _item$border !== void 0 ? _item$border : true,
128
+ nodeType: item.nodeType || 'template'
129
+ };
130
+ });
145
131
  }, {
132
+ immediate: true,
146
133
  deep: true
147
134
  });
148
- var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
149
- resolveClassName = _usePrefix.resolveClassName;
150
135
  return {
151
136
  defaultTimelines: defaultTimelines,
152
- titleSelect: titleSelect,
137
+ handleTitleSelect: handleTitleSelect,
153
138
  resolveClassName: resolveClassName
154
139
  };
155
140
  },
@@ -157,10 +142,7 @@ var timelineProps = {
157
142
  var _this = this;
158
143
  var isIcon = function isIcon(timeline) {
159
144
  var icon = timeline.icon;
160
- if (icon) {
161
- return _typeof(icon) === 'object' || typeof icon === 'function';
162
- }
163
- return false;
145
+ return _typeof(icon) === 'object' || typeof icon === 'function';
164
146
  };
165
147
  var makeClass = function makeClass(item) {
166
148
  var timelineClsPrefix = _this.resolveClassName('timeline');
@@ -173,21 +155,28 @@ var timelineProps = {
173
155
  var timelinesCls = (0,shared_namespaceObject.classes)({}, "".concat(timelineClsPrefix, " ").concat(timelineThemeCls, " ").concat(timelineSizeCls, " ").concat(timelinesColorsCls, " ").concat(timelineFilledCls, " ").concat(timelineCustomIcon));
174
156
  return timelinesCls;
175
157
  };
176
- var getContent = function getContent(item) {
177
- return _this.$slots.content ? (0,external_vue_namespaceObject.createVNode)("div", {
178
- "class": "".concat(_this.resolveClassName('timeline-content'))
179
- }, [_this.$slots.content(item)]) : (0,external_vue_namespaceObject.createVNode)("div", {
158
+ var renderContent = function renderContent(item) {
159
+ if (_this.$slots.content) {
160
+ return (0,external_vue_namespaceObject.createVNode)("div", {
161
+ "class": "".concat(_this.resolveClassName('timeline-content'))
162
+ }, [_this.$slots.content(item)]);
163
+ }
164
+ if (item.nodeType === 'vnode') {
165
+ return (0,external_vue_namespaceObject.createVNode)("div", {
166
+ "class": "".concat(_this.resolveClassName('timeline-content'))
167
+ }, [item.content]);
168
+ }
169
+ return (0,external_vue_namespaceObject.createVNode)("div", {
180
170
  "class": "".concat(_this.resolveClassName('timeline-content')),
181
171
  "innerHTML": item.content
182
172
  }, null);
183
173
  };
184
174
  return (0,external_vue_namespaceObject.createVNode)("ul", {
185
- "class": ["".concat(this.resolveClassName('timeline')), this.extCls]
175
+ "class": this.resolveClassName('timeline')
186
176
  }, [this.defaultTimelines.map(function (item) {
187
- var _this$$slots$default, _this$$slots$default2, _this$$slots;
188
177
  return (0,external_vue_namespaceObject.createVNode)("li", {
189
178
  "class": ["".concat(_this.resolveClassName('timeline-dot')), makeClass(item)]
190
- }, [isIcon(item) ? (0,external_vue_namespaceObject.createVNode)("div", {
179
+ }, [isIcon(item) && (0,external_vue_namespaceObject.createVNode)("div", {
191
180
  "class": "".concat(_this.resolveClassName('timeline-icon')),
192
181
  "style": {
193
182
  border: item.border ? "2px solid ".concat(item.color) : '0px',
@@ -195,16 +184,16 @@ var timelineProps = {
195
184
  }
196
185
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
197
186
  "class": "".concat(_this.resolveClassName('timeline-icon-inner'))
198
- }, [typeof item.icon === 'function' ? (0,external_vue_namespaceObject.createVNode)(item.icon, null, null) : item.icon])]) : '', (0,external_vue_namespaceObject.createVNode)("div", {
187
+ }, [typeof item.icon === 'function' ? (0,external_vue_namespaceObject.createVNode)(item.icon, null, null) : item.icon])]), (0,external_vue_namespaceObject.createVNode)("div", {
199
188
  "class": "".concat(_this.resolveClassName('timeline-section'))
200
189
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
201
190
  "class": "".concat(_this.resolveClassName('timeline-title')),
202
191
  "onClick": function onClick() {
203
- _this.titleSelect(item);
192
+ return _this.handleTitleSelect(item);
204
193
  }
205
- }, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = _this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots, item)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : (0,external_vue_namespaceObject.createVNode)("span", {
194
+ }, [item.nodeType === 'vnode' ? item.tag : (0,external_vue_namespaceObject.createVNode)("span", {
206
195
  "innerHTML": item.tag
207
- }, null)]), item.content ? getContent(item) : ''])]);
196
+ }, null)]), renderContent(item)])]);
208
197
  })]);
209
198
  }
210
199
  }));
@@ -25,58 +25,75 @@
25
25
  */
26
26
  import { ExtractPropTypes } from 'vue';
27
27
  declare const timelineProps: {
28
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
29
- default: () => unknown[];
30
- } & {
31
- default: () => unknown[];
32
- };
28
+ list: import("vue-types").VueTypeDef<{
29
+ tag: string;
30
+ content: object;
31
+ type: string;
32
+ size: string;
33
+ color: string;
34
+ icon: any;
35
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
36
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
37
+ nodeType: "template" | "vnode";
38
+ }[]>;
33
39
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
34
40
  default: boolean;
35
41
  } & {
36
42
  default: boolean;
37
43
  };
38
- extCls: import("vue-types").VueTypeValidableDef<string> & {
39
- default: string;
40
- };
41
44
  };
42
- export type TimelinePropTypes = ExtractPropTypes<typeof timelineProps>;
45
+ export type TimelinePropTypes = Readonly<ExtractPropTypes<typeof timelineProps>>;
43
46
  declare const _default: import("vue").DefineComponent<{
44
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
45
- default: () => unknown[];
46
- } & {
47
- default: () => unknown[];
48
- };
47
+ list: import("vue-types").VueTypeDef<{
48
+ tag: string;
49
+ content: object;
50
+ type: string;
51
+ size: string;
52
+ color: string;
53
+ icon: any;
54
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
55
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
56
+ nodeType: "template" | "vnode";
57
+ }[]>;
49
58
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
50
59
  default: boolean;
51
60
  } & {
52
61
  default: boolean;
53
62
  };
54
- extCls: import("vue-types").VueTypeValidableDef<string> & {
55
- default: string;
56
- };
57
63
  }, {
58
- defaultTimelines: import("vue").Ref<any[]>;
59
- titleSelect: (item: any) => void;
64
+ defaultTimelines: import("vue").ShallowRef<{
65
+ tag: string;
66
+ content: object;
67
+ type: string;
68
+ size: string;
69
+ color: string;
70
+ icon: any;
71
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
72
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
73
+ nodeType: "template" | "vnode";
74
+ }[]>;
75
+ handleTitleSelect: (item: any) => void;
60
76
  resolveClassName: (cls: string) => string;
61
77
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
62
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
63
- default: () => unknown[];
64
- } & {
65
- default: () => unknown[];
66
- };
78
+ list: import("vue-types").VueTypeDef<{
79
+ tag: string;
80
+ content: object;
81
+ type: string;
82
+ size: string;
83
+ color: string;
84
+ icon: any;
85
+ filled: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
86
+ border: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
87
+ nodeType: "template" | "vnode";
88
+ }[]>;
67
89
  titleAble: import("vue-types").VueTypeValidableDef<boolean> & {
68
90
  default: boolean;
69
91
  } & {
70
92
  default: boolean;
71
93
  };
72
- extCls: import("vue-types").VueTypeValidableDef<string> & {
73
- default: string;
74
- };
75
94
  }>> & {
76
95
  onSelect?: (...args: any[]) => any;
77
96
  }, {
78
- extCls: string;
79
- list: unknown[];
80
97
  titleAble: boolean;
81
98
  }, {}>;
82
99
  export default _default;
@@ -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
  * {
128
131
  box-sizing: border-box;
@@ -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-transfer {
128
131
  display: flex;
@@ -6,7 +6,8 @@ export declare enum EVENTS {
6
6
  NODE_DRAG_START = "nodeDragStart",
7
7
  NODE_DRAG_OVER = "nodeDragOver",
8
8
  NODE_DRAG_LEAVE = "nodeDragLeave",
9
- NODE_DROP = "nodeDrop"
9
+ NODE_DROP = "nodeDrop",
10
+ NODE_ENTER_VIEW = "nodeEnterView"
10
11
  }
11
12
  export declare const TreeEmitEventsType: {
12
13
  nodeClick: (..._args: any[]) => boolean;
@@ -17,6 +18,7 @@ export declare const TreeEmitEventsType: {
17
18
  nodeDragOver: (..._args: any[]) => boolean;
18
19
  nodeDragLeave: (..._args: any[]) => boolean;
19
20
  nodeDrop: (..._args: any[]) => boolean;
21
+ nodeEnterView: (..._args: any[]) => boolean;
20
22
  };
21
23
  /**
22
24
  * 节点扩展属性
@@ -115,6 +115,14 @@ declare const BkTree: {
115
115
  } & {
116
116
  default: boolean;
117
117
  };
118
+ checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
119
+ default: boolean;
120
+ } & {
121
+ default: boolean;
122
+ };
123
+ intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
124
+ default: boolean | (() => import("./props").IIntersectionObserver);
125
+ };
118
126
  }>> & {
119
127
  onNodeClick?: (...args: any[]) => any;
120
128
  onNodeCollapse?: (...args: any[]) => any;
@@ -124,6 +132,7 @@ declare const BkTree: {
124
132
  onNodeDragOver?: (...args: any[]) => any;
125
133
  onNodeDragLeave?: (...args: any[]) => any;
126
134
  onNodeDrop?: (...args: any[]) => any;
135
+ onNodeEnterView?: (...args: any[]) => any;
127
136
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
128
137
  nodeClick: (..._args: any[]) => boolean;
129
138
  nodeCollapse: (..._args: any[]) => boolean;
@@ -133,6 +142,7 @@ declare const BkTree: {
133
142
  nodeDragOver: (..._args: any[]) => boolean;
134
143
  nodeDragLeave: (..._args: any[]) => boolean;
135
144
  nodeDrop: (..._args: any[]) => boolean;
145
+ nodeEnterView: (..._args: any[]) => boolean;
136
146
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
137
147
  data: import("vue-types").VueTypeDef<any[]> & {
138
148
  default: () => any[];
@@ -249,6 +259,14 @@ declare const BkTree: {
249
259
  } & {
250
260
  default: boolean;
251
261
  };
262
+ checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
263
+ default: boolean;
264
+ } & {
265
+ default: boolean;
266
+ };
267
+ intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
268
+ default: boolean | (() => import("./props").IIntersectionObserver);
269
+ };
252
270
  }>> & {
253
271
  onNodeClick?: (...args: any[]) => any;
254
272
  onNodeCollapse?: (...args: any[]) => any;
@@ -258,6 +276,7 @@ declare const BkTree: {
258
276
  onNodeDragOver?: (...args: any[]) => any;
259
277
  onNodeDragLeave?: (...args: any[]) => any;
260
278
  onNodeDrop?: (...args: any[]) => any;
279
+ onNodeEnterView?: (...args: any[]) => any;
261
280
  }, {
262
281
  data: any[];
263
282
  height: number;
@@ -285,6 +304,8 @@ declare const BkTree: {
285
304
  expandAll: boolean;
286
305
  nodeContentAction: any;
287
306
  keepSlotData: boolean;
307
+ checkStrictly: boolean;
308
+ intersectionObserver: boolean | import("./props").IIntersectionObserver;
288
309
  }, true, {}, {}, {
289
310
  P: {};
290
311
  B: {};
@@ -408,6 +429,14 @@ declare const BkTree: {
408
429
  } & {
409
430
  default: boolean;
410
431
  };
432
+ checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
433
+ default: boolean;
434
+ } & {
435
+ default: boolean;
436
+ };
437
+ intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
438
+ default: boolean | (() => import("./props").IIntersectionObserver);
439
+ };
411
440
  }>> & {
412
441
  onNodeClick?: (...args: any[]) => any;
413
442
  onNodeCollapse?: (...args: any[]) => any;
@@ -417,6 +446,7 @@ declare const BkTree: {
417
446
  onNodeDragOver?: (...args: any[]) => any;
418
447
  onNodeDragLeave?: (...args: any[]) => any;
419
448
  onNodeDrop?: (...args: any[]) => any;
449
+ onNodeEnterView?: (...args: any[]) => any;
420
450
  }, () => JSX.Element, {}, {}, {}, {
421
451
  data: any[];
422
452
  height: number;
@@ -444,6 +474,8 @@ declare const BkTree: {
444
474
  expandAll: boolean;
445
475
  nodeContentAction: any;
446
476
  keepSlotData: boolean;
477
+ checkStrictly: boolean;
478
+ intersectionObserver: boolean | import("./props").IIntersectionObserver;
447
479
  }>;
448
480
  __isFragment?: never;
449
481
  __isTeleport?: never;
@@ -564,6 +596,14 @@ declare const BkTree: {
564
596
  } & {
565
597
  default: boolean;
566
598
  };
599
+ checkStrictly: import("vue-types").VueTypeValidableDef<boolean> & {
600
+ default: boolean;
601
+ } & {
602
+ default: boolean;
603
+ };
604
+ intersectionObserver: import("vue-types").VueTypeDef<boolean | import("./props").IIntersectionObserver> & {
605
+ default: boolean | (() => import("./props").IIntersectionObserver);
606
+ };
567
607
  }>> & {
568
608
  onNodeClick?: (...args: any[]) => any;
569
609
  onNodeCollapse?: (...args: any[]) => any;
@@ -573,6 +613,7 @@ declare const BkTree: {
573
613
  onNodeDragOver?: (...args: any[]) => any;
574
614
  onNodeDragLeave?: (...args: any[]) => any;
575
615
  onNodeDrop?: (...args: any[]) => any;
616
+ onNodeEnterView?: (...args: any[]) => any;
576
617
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
577
618
  nodeClick: (..._args: any[]) => boolean;
578
619
  nodeCollapse: (..._args: any[]) => boolean;
@@ -582,6 +623,7 @@ declare const BkTree: {
582
623
  nodeDragOver: (..._args: any[]) => boolean;
583
624
  nodeDragLeave: (..._args: any[]) => boolean;
584
625
  nodeDrop: (..._args: any[]) => boolean;
626
+ nodeEnterView: (..._args: any[]) => boolean;
585
627
  }, string, {
586
628
  data: any[];
587
629
  height: number;
@@ -609,5 +651,7 @@ declare const BkTree: {
609
651
  expandAll: boolean;
610
652
  nodeContentAction: any;
611
653
  keepSlotData: boolean;
654
+ checkStrictly: boolean;
655
+ intersectionObserver: boolean | import("./props").IIntersectionObserver;
612
656
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
613
657
  export default BkTree;