bkui-vue 0.0.1-beta.464 → 0.0.1-beta.466

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 (352) hide show
  1. package/dist/index.cjs.js +63 -67
  2. package/dist/index.esm.js +15211 -14541
  3. package/dist/index.umd.js +65 -69
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.d.ts +1 -1
  7. package/lib/affix/index.d.ts +58 -34
  8. package/lib/alert/alert.d.ts +1 -1
  9. package/lib/alert/index.d.ts +60 -40
  10. package/lib/alert/index.js +1 -1
  11. package/lib/animate-number/animate-number.d.ts +3 -3
  12. package/lib/animate-number/index.d.ts +60 -27
  13. package/lib/backtop/backtop.d.ts +2 -2
  14. package/lib/backtop/index.d.ts +61 -43
  15. package/lib/badge/badge.d.ts +1 -1
  16. package/lib/badge/index.d.ts +63 -60
  17. package/lib/badge/index.js +1 -1
  18. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  19. package/lib/breadcrumb/breadcrumb.d.ts +2 -2
  20. package/lib/breadcrumb/index.d.ts +61 -39
  21. package/lib/button/button-group.d.ts +4 -4
  22. package/lib/button/button.d.ts +3 -3
  23. package/lib/button/index.d.ts +74 -68
  24. package/lib/button/index.js +1 -1
  25. package/lib/card/card.d.ts +1 -1
  26. package/lib/card/index.d.ts +63 -64
  27. package/lib/card/index.js +1 -1
  28. package/lib/cascader/cascader-panel.d.ts +1 -1
  29. package/lib/cascader/cascader.d.ts +2 -2
  30. package/lib/cascader/index.d.ts +81 -146
  31. package/lib/cascader/index.js +2 -1
  32. package/lib/cascader/index.js.LICENSE.txt +1 -0
  33. package/lib/checkbox/checkbox-group.d.ts +2 -2
  34. package/lib/checkbox/checkbox.d.ts +10 -10
  35. package/lib/checkbox/index.d.ts +76 -64
  36. package/lib/checkbox/index.js +1 -1
  37. package/lib/checkbox/type.d.ts +1 -1
  38. package/lib/code-diff/code-diff.d.ts +6 -6
  39. package/lib/code-diff/index.d.ts +30 -43
  40. package/lib/code-diff/index.js +1 -1
  41. package/lib/collapse/collapse-panel.d.ts +1 -1
  42. package/lib/collapse/collapse.d.ts +1 -1
  43. package/lib/collapse/index.d.ts +68 -74
  44. package/lib/collapse-transition/collapse-transition.d.ts +2 -2
  45. package/lib/color-picker/color-picker.d.ts +2 -2
  46. package/lib/color-picker/components/color-input.d.ts +2 -2
  47. package/lib/color-picker/components/hue-slider.d.ts +2 -2
  48. package/lib/color-picker/components/input-container.d.ts +2 -2
  49. package/lib/color-picker/components/recommend-colors.d.ts +2 -2
  50. package/lib/color-picker/components/saturation-panel.d.ts +2 -2
  51. package/lib/color-picker/index.d.ts +63 -62
  52. package/lib/color-picker/index.js +1 -1
  53. package/lib/config-provider/config-provider.d.ts +3 -3
  54. package/lib/config-provider/index.d.ts +175 -138
  55. package/lib/container/col.d.ts +2 -2
  56. package/lib/container/container.d.ts +2 -2
  57. package/lib/container/index.d.ts +29 -48
  58. package/lib/container/row.d.ts +2 -2
  59. package/lib/date-picker/base/confirm.d.ts +5 -5
  60. package/lib/date-picker/base/date-table.d.ts +3 -3
  61. package/lib/date-picker/base/month-table.d.ts +4 -4
  62. package/lib/date-picker/base/picker-dropdown.d.ts +4 -4
  63. package/lib/date-picker/base/time-spinner.d.ts +2 -2
  64. package/lib/date-picker/base/year-table.d.ts +4 -4
  65. package/lib/date-picker/date-picker.d.ts +37 -28
  66. package/lib/date-picker/index.d.ts +162 -209
  67. package/lib/date-picker/index.js +1 -1
  68. package/lib/date-picker/interface.d.ts +10 -10
  69. package/lib/date-picker/panel/date-range.d.ts +18 -15
  70. package/lib/date-picker/panel/date.d.ts +12 -12
  71. package/lib/date-picker/panel/time-range.d.ts +8 -2
  72. package/lib/date-picker/panel/time.d.ts +5 -2
  73. package/lib/date-picker/props.d.ts +3 -3
  74. package/lib/date-picker/time-picker.d.ts +11 -2
  75. package/lib/dialog/dialog.d.ts +2 -2
  76. package/lib/dialog/index.d.ts +90 -163
  77. package/lib/dialog/index.js +2 -1
  78. package/lib/dialog/index.js.LICENSE.txt +1 -0
  79. package/lib/directives/index.js +1 -1
  80. package/lib/divider/divider.d.ts +2 -2
  81. package/lib/divider/index.d.ts +61 -37
  82. package/lib/dropdown/dropdown-item.d.ts +1 -1
  83. package/lib/dropdown/dropdown-menu.d.ts +2 -2
  84. package/lib/dropdown/dropdown.d.ts +2 -2
  85. package/lib/dropdown/index.d.ts +66 -54
  86. package/lib/exception/exception.d.ts +2 -2
  87. package/lib/exception/index.d.ts +60 -29
  88. package/lib/exception/index.js +1 -1
  89. package/lib/exception/typings/index.d.ts +2 -2
  90. package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
  91. package/lib/fixed-navbar/index.d.ts +58 -34
  92. package/lib/form/compose-form-item.d.ts +2 -2
  93. package/lib/form/form-item.d.ts +3 -3
  94. package/lib/form/form.d.ts +3 -3
  95. package/lib/form/index.d.ts +62 -40
  96. package/lib/form/index.js +1 -1
  97. package/lib/icon/angle-double-down-line.js +1 -1
  98. package/lib/icon/angle-double-left-line.js +1 -1
  99. package/lib/icon/angle-double-left.js +1 -1
  100. package/lib/icon/angle-double-right-line.js +1 -1
  101. package/lib/icon/angle-double-right.js +1 -1
  102. package/lib/icon/angle-double-up-line.js +1 -1
  103. package/lib/icon/angle-down-fill.js +1 -1
  104. package/lib/icon/angle-down-line.js +1 -1
  105. package/lib/icon/angle-down.js +1 -1
  106. package/lib/icon/angle-left.js +1 -1
  107. package/lib/icon/angle-right.js +1 -1
  108. package/lib/icon/angle-up-fill.js +1 -1
  109. package/lib/icon/angle-up.js +1 -1
  110. package/lib/icon/archive-fill.js +1 -1
  111. package/lib/icon/arrows-left.js +1 -1
  112. package/lib/icon/arrows-right.js +1 -1
  113. package/lib/icon/audio-fill.js +1 -1
  114. package/lib/icon/bk.js +1 -1
  115. package/lib/icon/circle.js +1 -1
  116. package/lib/icon/close-line.js +1 -1
  117. package/lib/icon/close.js +1 -1
  118. package/lib/icon/code.js +1 -1
  119. package/lib/icon/cog-shape.js +1 -1
  120. package/lib/icon/collapse-left.js +1 -1
  121. package/lib/icon/copy-shape.js +1 -1
  122. package/lib/icon/copy.js +1 -1
  123. package/lib/icon/data-shape.js +1 -1
  124. package/lib/icon/del.js +1 -1
  125. package/lib/icon/doc-fill.js +1 -1
  126. package/lib/icon/done.js +1 -1
  127. package/lib/icon/down-shape.js +1 -1
  128. package/lib/icon/down-small.js +1 -1
  129. package/lib/icon/edit-line.js +1 -1
  130. package/lib/icon/ellipsis.js +1 -1
  131. package/lib/icon/enlarge-line.js +1 -1
  132. package/lib/icon/error.js +1 -1
  133. package/lib/icon/excel-fill.js +1 -1
  134. package/lib/icon/exclamation-circle-shape.js +1 -1
  135. package/lib/icon/eye.js +1 -1
  136. package/lib/icon/filliscreen-line.js +1 -1
  137. package/lib/icon/fix-line.js +1 -1
  138. package/lib/icon/fix-shape.js +1 -1
  139. package/lib/icon/folder-open.js +1 -1
  140. package/lib/icon/folder-shape-open.js +1 -1
  141. package/lib/icon/folder-shape.js +1 -1
  142. package/lib/icon/folder.js +1 -1
  143. package/lib/icon/funnel.js +1 -1
  144. package/lib/icon/help-document-fill.js +1 -1
  145. package/lib/icon/help-fill.js +1 -1
  146. package/lib/icon/help.js +1 -1
  147. package/lib/icon/image-fill.js +1 -1
  148. package/lib/icon/img-error.js +1 -1
  149. package/lib/icon/img-placehoulder.js +1 -1
  150. package/lib/icon/index.js +1 -1
  151. package/lib/icon/info-line.js +1 -1
  152. package/lib/icon/info.js +1 -1
  153. package/lib/icon/left-shape.js +1 -1
  154. package/lib/icon/left-turn-line.js +1 -1
  155. package/lib/icon/narrow-line.js +1 -1
  156. package/lib/icon/original.js +1 -1
  157. package/lib/icon/pdf-fill.js +1 -1
  158. package/lib/icon/play-shape.js +1 -1
  159. package/lib/icon/plus.js +1 -1
  160. package/lib/icon/ppt-fill.js +1 -1
  161. package/lib/icon/qq.js +1 -1
  162. package/lib/icon/right-shape.js +1 -1
  163. package/lib/icon/right-turn-line.js +1 -1
  164. package/lib/icon/search.js +1 -1
  165. package/lib/icon/share.js +1 -1
  166. package/lib/icon/spinner.js +1 -1
  167. package/lib/icon/success.js +1 -1
  168. package/lib/icon/switcher-loading.js +1 -1
  169. package/lib/icon/text-file.js +1 -1
  170. package/lib/icon/text-fill.js +1 -1
  171. package/lib/icon/transfer.js +1 -1
  172. package/lib/icon/tree-application-shape.js +1 -1
  173. package/lib/icon/unfull-screen.js +1 -1
  174. package/lib/icon/unvisible.js +1 -1
  175. package/lib/icon/up-shape.js +1 -1
  176. package/lib/icon/upload.js +1 -1
  177. package/lib/icon/video-fill.js +1 -1
  178. package/lib/icon/warn.js +1 -1
  179. package/lib/icon/weixin-pro.js +1 -1
  180. package/lib/icon/weixin.js +1 -1
  181. package/lib/image/image-viewer.d.ts +2 -2
  182. package/lib/image/image.d.ts +1 -1
  183. package/lib/image/index.d.ts +63 -57
  184. package/lib/info-box/index.d.ts +1 -1
  185. package/lib/info-box/index.js +2 -1
  186. package/lib/info-box/index.js.LICENSE.txt +1 -0
  187. package/lib/input/index.d.ts +82 -119
  188. package/lib/input/index.js +1 -1
  189. package/lib/input/input.d.ts +6 -6
  190. package/lib/link/index.d.ts +59 -40
  191. package/lib/link/link.d.ts +1 -1
  192. package/lib/loading/directive.d.ts +2 -2
  193. package/lib/loading/index.d.ts +67 -71
  194. package/lib/loading/index.js +1 -1
  195. package/lib/loading/loading.d.ts +3 -3
  196. package/lib/locale/lang/en.d.ts +1 -1
  197. package/lib/menu/index.d.ts +69 -32
  198. package/lib/menu/index.js +1 -1
  199. package/lib/menu/menu-group.d.ts +2 -2
  200. package/lib/menu/menu-item.d.ts +5 -1
  201. package/lib/menu/menu.d.ts +1 -1
  202. package/lib/menu/submenu.d.ts +5 -1
  203. package/lib/menu/utils.d.ts +1 -1
  204. package/lib/message/index.js +1 -1
  205. package/lib/message/messageConstructor.d.ts +5 -5
  206. package/lib/modal/index.d.ts +84 -123
  207. package/lib/modal/modal.d.ts +3 -3
  208. package/lib/navigation/index.d.ts +84 -65
  209. package/lib/navigation/index.js +1 -1
  210. package/lib/navigation/navigation-title.d.ts +6 -3
  211. package/lib/navigation/navigation.d.ts +10 -3
  212. package/lib/notify/index.js +1 -1
  213. package/lib/notify/notifyConstructor.d.ts +1 -1
  214. package/lib/overflow-title/components/overflow-title.d.ts +2 -2
  215. package/lib/overflow-title/index.d.ts +62 -37
  216. package/lib/overflow-title/props.d.ts +2 -2
  217. package/lib/pagination/index.d.ts +75 -94
  218. package/lib/pagination/index.js +1 -1
  219. package/lib/pagination/pagination.d.ts +6 -6
  220. package/lib/pagination/type.d.ts +1 -1
  221. package/lib/plugin-popover/index.js +1 -1
  222. package/lib/pop-confirm/index.d.ts +66 -63
  223. package/lib/pop-confirm/pop-confirm.d.ts +2 -2
  224. package/lib/popover/arrow.d.ts +1 -1
  225. package/lib/popover/content.d.ts +2 -2
  226. package/lib/popover/index.d.ts +93 -164
  227. package/lib/popover/index.js +1 -1
  228. package/lib/popover/plugin-popover.d.ts +1 -1
  229. package/lib/popover/popover.d.ts +7 -7
  230. package/lib/popover/props.d.ts +4 -4
  231. package/lib/popover/reference.d.ts +1 -1
  232. package/lib/popover/root.d.ts +13 -2
  233. package/lib/popover/use-floating.d.ts +3 -3
  234. package/lib/popover2/index.d.ts +55 -10
  235. package/lib/popover2/popover.d.ts +1 -1
  236. package/lib/process/index.d.ts +60 -46
  237. package/lib/process/index.js +2 -1
  238. package/lib/process/index.js.LICENSE.txt +1 -0
  239. package/lib/process/process.d.ts +2 -2
  240. package/lib/progress/index.d.ts +76 -103
  241. package/lib/progress/index.js +1 -1
  242. package/lib/progress/progress.d.ts +6 -6
  243. package/lib/radio/index.d.ts +63 -41
  244. package/lib/radio/index.js +1 -1
  245. package/lib/radio/radio-button.d.ts +5 -5
  246. package/lib/radio/radio-group.d.ts +2 -2
  247. package/lib/radio/radio.d.ts +2 -2
  248. package/lib/radio/type.d.ts +1 -1
  249. package/lib/rate/index.d.ts +61 -34
  250. package/lib/rate/rate.d.ts +3 -3
  251. package/lib/rate/star.d.ts +1 -1
  252. package/lib/resize-layout/index.d.ts +65 -66
  253. package/lib/resize-layout/index.js +1 -1
  254. package/lib/resize-layout/resize-layout.d.ts +1 -1
  255. package/lib/search-select/index.d.ts +70 -69
  256. package/lib/search-select/index.js +2 -1
  257. package/lib/search-select/index.js.LICENSE.txt +1 -0
  258. package/lib/search-select/input.d.ts +1 -1
  259. package/lib/search-select/menu.d.ts +1 -1
  260. package/lib/search-select/search-select.d.ts +2 -2
  261. package/lib/search-select/selected.d.ts +2 -2
  262. package/lib/search-select/utils.d.ts +4 -4
  263. package/lib/select/index.d.ts +308 -512
  264. package/lib/select/index.js +2 -1
  265. package/lib/select/index.js.LICENSE.txt +1 -0
  266. package/lib/select/option.d.ts +2 -2
  267. package/lib/select/optionGroup.d.ts +2 -2
  268. package/lib/select/select.d.ts +76 -66
  269. package/lib/select/selectTagInput.d.ts +2 -2
  270. package/lib/select/type.d.ts +3 -3
  271. package/lib/shared/index.d.ts +2 -2
  272. package/lib/shared/index.js +1 -1
  273. package/lib/shared/mask-manager.d.ts +2 -2
  274. package/lib/shared/popover.d.ts +1 -1
  275. package/lib/shared/vue-types.d.ts +7 -7
  276. package/lib/sideslider/index.d.ts +84 -125
  277. package/lib/sideslider/index.js +2 -1
  278. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  279. package/lib/sideslider/sideslider.d.ts +3 -3
  280. package/lib/slider/index.d.ts +73 -103
  281. package/lib/slider/index.js +2 -1
  282. package/lib/slider/index.js.LICENSE.txt +1 -0
  283. package/lib/slider/slider-button.d.ts +1 -1
  284. package/lib/slider/slider.d.ts +1 -1
  285. package/lib/steps/index.d.ts +68 -62
  286. package/lib/steps/index.js +2 -1
  287. package/lib/steps/index.js.LICENSE.txt +1 -0
  288. package/lib/steps/steps.d.ts +5 -5
  289. package/lib/swiper/index.d.ts +60 -44
  290. package/lib/swiper/swiper.d.ts +1 -1
  291. package/lib/switcher/index.d.ts +72 -77
  292. package/lib/switcher/index.js +1 -1
  293. package/lib/switcher/switcher.d.ts +3 -3
  294. package/lib/tab/index.d.ts +81 -99
  295. package/lib/tab/index.js +1 -1
  296. package/lib/tab/props.d.ts +1 -1
  297. package/lib/tab/tab-nav.d.ts +2 -2
  298. package/lib/tab/tab-panel.d.ts +2 -2
  299. package/lib/tab/tab.d.ts +3 -3
  300. package/lib/table/components/table-cell.d.ts +2 -2
  301. package/lib/table/components/table-column.d.ts +18 -12
  302. package/lib/table/components/table-row.d.ts +1 -1
  303. package/lib/table/index.d.ts +213 -302
  304. package/lib/table/index.js +1 -1
  305. package/lib/table/plugins/body-empty.d.ts +1 -1
  306. package/lib/table/plugins/col-group.d.ts +2 -2
  307. package/lib/table/plugins/head-filter.d.ts +1 -1
  308. package/lib/table/plugins/head-sort.d.ts +1 -1
  309. package/lib/table/plugins/settings.d.ts +1 -1
  310. package/lib/table/plugins/use-active-columns.d.ts +3 -3
  311. package/lib/table/plugins/use-fixed-column.d.ts +3 -3
  312. package/lib/table/props.d.ts +19 -19
  313. package/lib/table/table.css +3 -0
  314. package/lib/table/table.d.ts +6 -6
  315. package/lib/table/table.less +4 -0
  316. package/lib/table/table.variable.css +3 -0
  317. package/lib/table/use-column.d.ts +4 -4
  318. package/lib/table/use-common.d.ts +1 -1
  319. package/lib/table-column/index.d.ts +113 -106
  320. package/lib/table-column/index.js +1 -1
  321. package/lib/tag/index.d.ts +68 -50
  322. package/lib/tag/index.js +1 -1
  323. package/lib/tag/tag.d.ts +5 -1
  324. package/lib/tag-input/index.d.ts +105 -317
  325. package/lib/tag-input/index.js +1 -1
  326. package/lib/tag-input/list-tag-render.d.ts +2 -2
  327. package/lib/tag-input/tag-input.d.ts +7 -7
  328. package/lib/tag-input/tag-input.less +11 -11
  329. package/lib/tag-input/tag-props.d.ts +3 -3
  330. package/lib/tag-input/tag-render.d.ts +2 -2
  331. package/lib/time-picker/index.d.ts +116 -187
  332. package/lib/timeline/index.d.ts +57 -28
  333. package/lib/timeline/timeline.d.ts +2 -2
  334. package/lib/transfer/index.d.ts +67 -82
  335. package/lib/transfer/transfer.d.ts +1 -1
  336. package/lib/tree/index.d.ts +84 -146
  337. package/lib/tree/index.js +1 -1
  338. package/lib/tree/props.d.ts +4 -4
  339. package/lib/tree/tree.d.ts +3 -3
  340. package/lib/upload/index.d.ts +93 -150
  341. package/lib/upload/index.js +2 -1
  342. package/lib/upload/index.js.LICENSE.txt +1 -0
  343. package/lib/upload/upload-list.d.ts +1 -1
  344. package/lib/upload/upload-trigger.d.ts +1 -1
  345. package/lib/upload/upload.d.ts +4 -4
  346. package/lib/upload/upload.type.d.ts +12 -12
  347. package/lib/upload/use-file-handler.d.ts +1 -24
  348. package/lib/virtual-render/index.d.ts +64 -160
  349. package/lib/virtual-render/index.js +1 -1
  350. package/lib/virtual-render/props.d.ts +1 -1
  351. package/lib/virtual-render/virtual-render.d.ts +16 -3
  352. package/package.json +38 -37
@@ -4,7 +4,7 @@ export declare enum SortScope {
4
4
  CURRENT = "current",
5
5
  ALL = "all"
6
6
  }
7
- export declare type ColumnFilterListItem = {
7
+ export type ColumnFilterListItem = {
8
8
  text?: string;
9
9
  value?: string;
10
10
  };
@@ -43,13 +43,13 @@ export declare enum FixedEnum {
43
43
  RIGHT = "right"
44
44
  }
45
45
  export declare const fixedType: import("vue-types").VueTypeValidableDef<"left" | "right">;
46
- export declare type IOverflowTooltip = {
46
+ export type IOverflowTooltip = {
47
47
  content: string | Function;
48
48
  disabled?: boolean;
49
49
  watchCellResize?: boolean;
50
50
  mode?: `${OverflowModeEnum}`;
51
51
  };
52
- export declare type ISortOption = {
52
+ export type ISortOption = {
53
53
  [key: string]: SORT_OPTION;
54
54
  };
55
55
  export declare enum ColumnPickEnum {
@@ -89,12 +89,12 @@ export declare const IColumnType: {
89
89
  sort: import("vue-types").VueTypeDef<string | boolean | {
90
90
  sortFn: any;
91
91
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
92
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
92
+ value: string;
93
93
  }> & {
94
94
  default: string | boolean | (() => {
95
95
  sortFn: any;
96
96
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
97
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
97
+ value: string;
98
98
  });
99
99
  };
100
100
  filter: import("vue-types").VueTypeDef<string | boolean | {
@@ -121,7 +121,7 @@ export declare const IColumnType: {
121
121
  align: import("vue-types").VueTypeDef<"" | "left" | "center" | "right">;
122
122
  className: import("vue-types").VueTypeDef<any>;
123
123
  };
124
- export declare type TableColumnProps = Partial<ExtractPropTypes<typeof IColumnType>>;
124
+ export type TableColumnProps = Partial<ExtractPropTypes<typeof IColumnType>>;
125
125
  export declare const tableProps: {
126
126
  /**
127
127
  * 渲染列表
@@ -256,7 +256,7 @@ export declare const tableProps: {
256
256
  settings: import("vue-types").VueTypeDef<boolean | {
257
257
  fields: Field[] | (() => Field[]);
258
258
  checked: string[] | (() => string[]);
259
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
259
+ limit: number;
260
260
  size: "small" | "medium" | "large";
261
261
  sizeList: SizeItem[] | (object & (() => SizeItem[]));
262
262
  showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
@@ -264,7 +264,7 @@ export declare const tableProps: {
264
264
  default: boolean | (() => {
265
265
  fields: Field[] | (() => Field[]);
266
266
  checked: string[] | (() => string[]);
267
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
267
+ limit: number;
268
268
  size: "small" | "medium" | "large";
269
269
  sizeList: SizeItem[] | (object & (() => SizeItem[]));
270
270
  showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
@@ -412,12 +412,12 @@ export declare const tableProps: {
412
412
  /**
413
413
  * 配置自定义行高选项
414
414
  */
415
- export declare type SizeItem = {
415
+ export type SizeItem = {
416
416
  value?: string;
417
417
  label?: string;
418
418
  height?: number;
419
419
  };
420
- export declare type Settings = {
420
+ export type Settings = {
421
421
  fields?: Field[];
422
422
  checked?: string[];
423
423
  limit?: number;
@@ -425,12 +425,12 @@ export declare type Settings = {
425
425
  sizeList?: SizeItem[];
426
426
  showLineHeight?: boolean;
427
427
  };
428
- export declare type Field = {
428
+ export type Field = {
429
429
  label: string;
430
430
  field?: string;
431
431
  disabled?: boolean;
432
432
  };
433
- export declare type Column = {
433
+ export type Column = {
434
434
  label: Function | string;
435
435
  field?: Function | string;
436
436
  render?: Function | string | Slot;
@@ -457,24 +457,24 @@ export declare type Column = {
457
457
  className?: string | Function;
458
458
  align?: string;
459
459
  };
460
- export declare type Thead = {
460
+ export type Thead = {
461
461
  height?: Number;
462
462
  isShow?: boolean;
463
463
  cellFn?: Function;
464
464
  };
465
- export declare type GroupColumn = {
465
+ export type GroupColumn = {
466
466
  calcWidth?: number;
467
467
  resizeWidth?: number;
468
468
  isHidden?: boolean;
469
469
  listeners?: Map<string, any>;
470
470
  } & Column;
471
- export declare type Columns = ReadonlyArray<Column>;
472
- export declare type TablePropTypes = Readonly<ExtractPropTypes<typeof tableProps>>;
473
- export declare type IColumnActive = {
471
+ export type Columns = ReadonlyArray<Column>;
472
+ export type TablePropTypes = Readonly<ExtractPropTypes<typeof tableProps>>;
473
+ export type IColumnActive = {
474
474
  index: number;
475
475
  active: boolean;
476
476
  };
477
- export declare type IReactiveProp = {
477
+ export type IReactiveProp = {
478
478
  activeColumns: IColumnActive[];
479
479
  rowActions: Record<string, any>;
480
480
  scrollTranslateY: Number;
@@ -484,7 +484,7 @@ export declare type IReactiveProp = {
484
484
  setting: any;
485
485
  defaultSort: Record<string, any>;
486
486
  };
487
- export declare type Colgroups = Column & {
487
+ export type Colgroups = Column & {
488
488
  calcWidth: number;
489
489
  resizeWidth: number;
490
490
  listeners: Map<string, Function>;
@@ -1001,6 +1001,9 @@
1001
1001
  border-radius: 10px;
1002
1002
  box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
1003
1003
  }
1004
+ .bk-table .bk-table-body .prepend-row {
1005
+ transform: translateX(var(--prepend-left));
1006
+ }
1004
1007
  .bk-table .bk-fixed-bottom-border {
1005
1008
  position: sticky;
1006
1009
  bottom: 0;
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
63
63
  settings: import("vue-types").VueTypeDef<boolean | {
64
64
  fields: import("./props").Field[] | (() => import("./props").Field[]);
65
65
  checked: string[] | (() => string[]);
66
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
66
+ limit: number;
67
67
  size: "small" | "medium" | "large";
68
68
  sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
69
69
  showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
71
71
  default: boolean | (() => {
72
72
  fields: import("./props").Field[] | (() => import("./props").Field[]);
73
73
  checked: string[] | (() => string[]);
74
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
74
+ limit: number;
75
75
  size: "small" | "medium" | "large";
76
76
  sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
77
77
  showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
@@ -226,7 +226,7 @@ declare const _default: import("vue").DefineComponent<{
226
226
  settings: import("vue-types").VueTypeDef<boolean | {
227
227
  fields: import("./props").Field[] | (() => import("./props").Field[]);
228
228
  checked: string[] | (() => string[]);
229
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
229
+ limit: number;
230
230
  size: "small" | "medium" | "large";
231
231
  sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
232
232
  showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
@@ -234,7 +234,7 @@ declare const _default: import("vue").DefineComponent<{
234
234
  default: boolean | (() => {
235
235
  fields: import("./props").Field[] | (() => import("./props").Field[]);
236
236
  checked: string[] | (() => string[]);
237
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
237
+ limit: number;
238
238
  size: "small" | "medium" | "large";
239
239
  sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
240
240
  showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
@@ -350,7 +350,7 @@ declare const _default: import("vue").DefineComponent<{
350
350
  settings: boolean | {
351
351
  fields: import("./props").Field[] | (() => import("./props").Field[]);
352
352
  checked: string[] | (() => string[]);
353
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
353
+ limit: number;
354
354
  size: "small" | "medium" | "large";
355
355
  sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
356
356
  showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
@@ -368,5 +368,5 @@ declare const _default: import("vue").DefineComponent<{
368
368
  isRowSelectEnable: any;
369
369
  observerResize: boolean;
370
370
  prependStyle: import("vue").CSSProperties;
371
- }>;
371
+ }, {}>;
372
372
  export default _default;
@@ -36,6 +36,10 @@
36
36
  border-radius: 10px;
37
37
  box-shadow: inset 0 0 6px rgba(204, 204, 204, .3);
38
38
  }
39
+
40
+ .prepend-row {
41
+ transform: translateX(var(--prepend-left));
42
+ }
39
43
  }
40
44
 
41
45
  .@{bk-prefix}-fixed-bottom-border {
@@ -1123,6 +1123,9 @@
1123
1123
  border-radius: 10px;
1124
1124
  box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
1125
1125
  }
1126
+ .bk-table .bk-table-body .prepend-row {
1127
+ transform: translateX(var(--prepend-left));
1128
+ }
1126
1129
  .bk-table .bk-fixed-bottom-border {
1127
1130
  position: sticky;
1128
1131
  bottom: 0;
@@ -1,12 +1,12 @@
1
1
  import { ITableColumn } from './components/table-column';
2
2
  import { TablePropTypes } from './props';
3
- declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) => {
4
- initColumns: (column: ITableColumn | ITableColumn[], remove?: boolean) => void;
5
- getColumns: () => import("./props").Column[];
6
- };
7
3
  /**
8
4
  * 渲染column settings
9
5
  * @param props: TablePropTypes
10
6
  * @param targetColumns 解析之后的column配置(主要用来处理通过<bk-column>配置的数据结构)
11
7
  */
8
+ declare const _default: (props: TablePropTypes, targetColumns: ITableColumn[]) => {
9
+ initColumns: (column: ITableColumn | ITableColumn[], remove?: boolean) => void;
10
+ getColumns: () => import("./props").Column[];
11
+ };
12
12
  export default _default;
@@ -69,7 +69,7 @@ export declare const useInit: (props: TablePropTypes, targetColumns: Column[]) =
69
69
  disabled?: boolean;
70
70
  }[];
71
71
  checked: string[] | (() => string[]);
72
- limit: (number | object | (() => number) | ((props: Record<string, unknown>) => number)) & number;
72
+ limit: number;
73
73
  size: "small" | "medium" | "large";
74
74
  sizeList: (object & (() => import("./props").SizeItem[])) | {
75
75
  value?: string;
@@ -2,70 +2,13 @@ declare const BkTableColumn: {
2
2
  new (...args: any[]): {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
- $props: Partial<{
6
- fixed: boolean | "left" | "right";
7
- sort: string | boolean | {
8
- sortFn: any;
9
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
10
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
11
- };
12
- filter: string | boolean | {
13
- list: any[] | (object & (() => any[]));
14
- filterFn: any;
15
- match: "full" | "fuzzy";
16
- checked: any[] | (object & (() => any[]));
17
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
18
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
19
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
20
- };
21
- minWidth: string | number;
22
- index: number;
23
- columnKey: string;
24
- showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
25
- resizable: boolean;
26
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
27
- prop: import("vue-types").VueTypeDef<any>;
28
- index: import("vue-types").VueTypeValidableDef<number> & {
29
- default: number;
30
- } & {
31
- default: number;
32
- };
33
- label: import("vue-types").VueTypeDef<any>;
34
- field: import("vue-types").VueTypeDef<any>;
35
- render: import("vue-types").VueTypeDef<any>;
36
- width: import("vue-types").VueTypeDef<string | number>;
37
- minWidth: import("vue-types").VueTypeDef<string | number> & {
38
- default: string | number;
39
- };
40
- columnKey: import("vue-types").VueTypeValidableDef<string> & {
41
- default: string;
42
- } & {
43
- default: string;
44
- };
45
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../../table/src/props").IOverflowTooltip> & {
46
- default: boolean | (() => import("../../table/src/props").IOverflowTooltip);
47
- };
48
- type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
49
- resizable: import("vue-types").VueTypeValidableDef<boolean> & {
50
- default: boolean;
51
- } & {
52
- default: boolean;
53
- };
54
- fixed: import("vue-types").VueTypeDef<boolean | "left" | "right"> & {
55
- default: boolean | "left" | "right";
56
- };
57
- sort: import("vue-types").VueTypeDef<string | boolean | {
5
+ $props: {
6
+ sort?: string | boolean | {
58
7
  sortFn: any;
59
8
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
60
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
61
- }> & {
62
- default: string | boolean | (() => {
63
- sortFn: any;
64
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
65
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
66
- });
9
+ value: string;
67
10
  };
68
- filter: import("vue-types").VueTypeDef<string | boolean | {
11
+ filter?: string | boolean | {
69
12
  list: any[] | (object & (() => any[]));
70
13
  filterFn: any;
71
14
  match: "full" | "fuzzy";
@@ -73,22 +16,68 @@ declare const BkTableColumn: {
73
16
  filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
74
17
  btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
75
18
  btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
76
- }> & {
77
- default: string | boolean | (() => {
78
- list: any[] | (object & (() => any[]));
79
- filterFn: any;
80
- match: "full" | "fuzzy";
81
- checked: any[] | (object & (() => any[]));
82
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
83
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
84
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
85
- });
86
19
  };
87
- colspan: import("vue-types").VueTypeDef<any>;
88
- rowspan: import("vue-types").VueTypeDef<any>;
89
- align: import("vue-types").VueTypeDef<"" | "left" | "center" | "right">;
90
- className: import("vue-types").VueTypeDef<any>;
91
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "sort" | "filter" | "minWidth" | "index" | "columnKey" | "showOverflowTooltip" | "resizable">;
20
+ fixed?: boolean | "left" | "right";
21
+ minWidth?: string | number;
22
+ index?: number;
23
+ columnKey?: string;
24
+ showOverflowTooltip?: boolean | import("../../table/src/props").IOverflowTooltip;
25
+ resizable?: boolean;
26
+ readonly render?: any;
27
+ readonly type?: "none" | "selection" | "index" | "expand";
28
+ class?: unknown;
29
+ readonly label?: any;
30
+ style?: unknown;
31
+ readonly width?: string | number;
32
+ key?: string | number | symbol;
33
+ ref?: import("vue").VNodeRef;
34
+ ref_for?: boolean;
35
+ ref_key?: string;
36
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
+ [key: string]: any;
38
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
+ [key: string]: any;
40
+ }>) => void)[];
41
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
+ [key: string]: any;
45
+ }>) => void)[];
46
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
+ [key: string]: any;
52
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>) => void)[];
55
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
56
+ [key: string]: any;
57
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
+ [key: string]: any;
59
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
60
+ [key: string]: any;
61
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
62
+ [key: string]: any;
63
+ }>) => void)[];
64
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
65
+ [key: string]: any;
66
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
67
+ [key: string]: any;
68
+ }>) => void)[];
69
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
70
+ [key: string]: any;
71
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
72
+ [key: string]: any;
73
+ }>) => void)[];
74
+ readonly className?: any;
75
+ readonly field?: any;
76
+ readonly colspan?: any;
77
+ readonly rowspan?: any;
78
+ readonly align?: "" | "left" | "center" | "right";
79
+ readonly prop?: any;
80
+ };
92
81
  $attrs: {
93
82
  [x: string]: unknown;
94
83
  };
@@ -96,10 +85,10 @@ declare const BkTableColumn: {
96
85
  [x: string]: unknown;
97
86
  };
98
87
  $slots: Readonly<{
99
- [name: string]: import("vue").Slot;
88
+ [name: string]: import("vue").Slot<any>;
100
89
  }>;
101
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
102
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
90
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
91
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
103
92
  $emit: (event: string, ...args: any[]) => void;
104
93
  $el: any;
105
94
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -136,12 +125,12 @@ declare const BkTableColumn: {
136
125
  sort: import("vue-types").VueTypeDef<string | boolean | {
137
126
  sortFn: any;
138
127
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
139
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
128
+ value: string;
140
129
  }> & {
141
130
  default: string | boolean | (() => {
142
131
  sortFn: any;
143
132
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
144
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
133
+ value: string;
145
134
  });
146
135
  };
147
136
  filter: import("vue-types").VueTypeDef<string | boolean | {
@@ -175,7 +164,7 @@ declare const BkTableColumn: {
175
164
  column: {
176
165
  field: string | Function;
177
166
  label: string | Function;
178
- render?: string | Function | import("vue").Slot;
167
+ render?: string | Function | import("vue").Slot<any>;
179
168
  width?: string | number;
180
169
  minWidth?: string | number;
181
170
  columnKey?: string;
@@ -204,7 +193,10 @@ declare const BkTableColumn: {
204
193
  toExponential: (fractionDigits?: number) => string;
205
194
  toPrecision: (precision?: number) => string;
206
195
  valueOf: () => number;
207
- toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
196
+ toLocaleString: {
197
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
198
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
199
+ };
208
200
  };
209
201
  rowspan?: Function | {
210
202
  toString: (radix?: number) => string;
@@ -212,7 +204,10 @@ declare const BkTableColumn: {
212
204
  toExponential: (fractionDigits?: number) => string;
213
205
  toPrecision: (precision?: number) => string;
214
206
  valueOf: () => number;
215
- toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
207
+ toLocaleString: {
208
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
209
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
210
+ };
216
211
  };
217
212
  textAlign?: {
218
213
  [x: number]: string;
@@ -308,12 +303,11 @@ declare const BkTableColumn: {
308
303
  updateColumnDefine(unmounted?: boolean): void;
309
304
  updateColumnDefineByParent(): void;
310
305
  updateColumnDefineByIndex(unmounted?: boolean): void;
311
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
312
- fixed: boolean | "left" | "right";
306
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
313
307
  sort: string | boolean | {
314
308
  sortFn: any;
315
309
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
316
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
310
+ value: string;
317
311
  };
318
312
  filter: string | boolean | {
319
313
  list: any[] | (object & (() => any[]));
@@ -324,12 +318,13 @@ declare const BkTableColumn: {
324
318
  btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
325
319
  btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
326
320
  };
321
+ fixed: boolean | "left" | "right";
327
322
  minWidth: string | number;
328
323
  index: number;
329
324
  columnKey: string;
330
325
  showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
331
326
  resizable: boolean;
332
- }> & {
327
+ }, {}, string, {}> & {
333
328
  beforeCreate?: (() => void) | (() => void)[];
334
329
  created?: (() => void) | (() => void)[];
335
330
  beforeMount?: (() => void) | (() => void)[];
@@ -344,11 +339,11 @@ declare const BkTableColumn: {
344
339
  unmounted?: (() => void) | (() => void)[];
345
340
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
346
341
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
347
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
342
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
348
343
  };
349
344
  $forceUpdate: () => void;
350
345
  $nextTick: typeof import("vue").nextTick;
351
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
346
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
352
347
  } & Readonly<import("vue").ExtractPropTypes<{
353
348
  prop: import("vue-types").VueTypeDef<any>;
354
349
  index: import("vue-types").VueTypeValidableDef<number> & {
@@ -383,12 +378,12 @@ declare const BkTableColumn: {
383
378
  sort: import("vue-types").VueTypeDef<string | boolean | {
384
379
  sortFn: any;
385
380
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
386
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
381
+ value: string;
387
382
  }> & {
388
383
  default: string | boolean | (() => {
389
384
  sortFn: any;
390
385
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
391
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
386
+ value: string;
392
387
  });
393
388
  };
394
389
  filter: import("vue-types").VueTypeDef<string | boolean | {
@@ -422,7 +417,7 @@ declare const BkTableColumn: {
422
417
  column: {
423
418
  field: string | Function;
424
419
  label: string | Function;
425
- render?: string | Function | import("vue").Slot;
420
+ render?: string | Function | import("vue").Slot<any>;
426
421
  width?: string | number;
427
422
  minWidth?: string | number;
428
423
  columnKey?: string;
@@ -451,7 +446,10 @@ declare const BkTableColumn: {
451
446
  toExponential: (fractionDigits?: number) => string;
452
447
  toPrecision: (precision?: number) => string;
453
448
  valueOf: () => number;
454
- toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
449
+ toLocaleString: {
450
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
451
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
452
+ };
455
453
  };
456
454
  rowspan?: Function | {
457
455
  toString: (radix?: number) => string;
@@ -459,7 +457,10 @@ declare const BkTableColumn: {
459
457
  toExponential: (fractionDigits?: number) => string;
460
458
  toPrecision: (precision?: number) => string;
461
459
  valueOf: () => number;
462
- toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
460
+ toLocaleString: {
461
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
462
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
463
+ };
463
464
  };
464
465
  textAlign?: {
465
466
  [x: number]: string;
@@ -551,11 +552,11 @@ declare const BkTableColumn: {
551
552
  prop?: string | Function;
552
553
  index?: number;
553
554
  };
554
- }> & {} & {} & {
555
+ }> & {} & {
555
556
  updateColumnDefine(unmounted?: boolean): void;
556
557
  updateColumnDefineByParent(): void;
557
558
  updateColumnDefineByIndex(unmounted?: boolean): void;
558
- } & import("vue").ComponentCustomProperties;
559
+ } & import("vue").ComponentCustomProperties & {};
559
560
  __isFragment?: never;
560
561
  __isTeleport?: never;
561
562
  __isSuspense?: never;
@@ -593,12 +594,12 @@ declare const BkTableColumn: {
593
594
  sort: import("vue-types").VueTypeDef<string | boolean | {
594
595
  sortFn: any;
595
596
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
596
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
597
+ value: string;
597
598
  }> & {
598
599
  default: string | boolean | (() => {
599
600
  sortFn: any;
600
601
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
601
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
602
+ value: string;
602
603
  });
603
604
  };
604
605
  filter: import("vue-types").VueTypeDef<string | boolean | {
@@ -632,7 +633,7 @@ declare const BkTableColumn: {
632
633
  column: {
633
634
  field: string | Function;
634
635
  label: string | Function;
635
- render?: string | Function | import("vue").Slot;
636
+ render?: string | Function | import("vue").Slot<any>;
636
637
  width?: string | number;
637
638
  minWidth?: string | number;
638
639
  columnKey?: string;
@@ -661,7 +662,10 @@ declare const BkTableColumn: {
661
662
  toExponential: (fractionDigits?: number) => string;
662
663
  toPrecision: (precision?: number) => string;
663
664
  valueOf: () => number;
664
- toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
665
+ toLocaleString: {
666
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
667
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
668
+ };
665
669
  };
666
670
  rowspan?: Function | {
667
671
  toString: (radix?: number) => string;
@@ -669,7 +673,10 @@ declare const BkTableColumn: {
669
673
  toExponential: (fractionDigits?: number) => string;
670
674
  toPrecision: (precision?: number) => string;
671
675
  valueOf: () => number;
672
- toLocaleString: (locales?: string | string[], options?: Intl.NumberFormatOptions) => string;
676
+ toLocaleString: {
677
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
678
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
679
+ };
673
680
  };
674
681
  textAlign?: {
675
682
  [x: number]: string;
@@ -765,12 +772,11 @@ declare const BkTableColumn: {
765
772
  updateColumnDefine(unmounted?: boolean): void;
766
773
  updateColumnDefineByParent(): void;
767
774
  updateColumnDefineByIndex(unmounted?: boolean): void;
768
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
769
- fixed: boolean | "left" | "right";
775
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
770
776
  sort: string | boolean | {
771
777
  sortFn: any;
772
778
  sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
773
- value: (string | object | (() => string) | ((props: Record<string, unknown>) => string)) & string;
779
+ value: string;
774
780
  };
775
781
  filter: string | boolean | {
776
782
  list: any[] | (object & (() => any[]));
@@ -781,10 +787,11 @@ declare const BkTableColumn: {
781
787
  btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
782
788
  btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
783
789
  };
790
+ fixed: boolean | "left" | "right";
784
791
  minWidth: string | number;
785
792
  index: number;
786
793
  columnKey: string;
787
794
  showOverflowTooltip: boolean | import("../../table/src/props").IOverflowTooltip;
788
795
  resizable: boolean;
789
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
796
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
790
797
  export default BkTableColumn;