bkui-vue 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/dist/index.cjs.js +47 -47
  2. package/dist/index.esm.js +10405 -10394
  3. package/dist/index.umd.js +47 -47
  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/index.d.ts +57 -111
  15. package/lib/affix/index.js +19 -19
  16. package/lib/alert/alert.d.ts +1 -1
  17. package/lib/alert/index.d.ts +82 -132
  18. package/lib/alert/index.js +20 -20
  19. package/lib/animate-number/index.d.ts +33 -96
  20. package/lib/backtop/index.d.ts +69 -117
  21. package/lib/badge/badge.d.ts +1 -1
  22. package/lib/badge/index.d.ts +120 -153
  23. package/lib/badge/index.js +19 -19
  24. package/lib/breadcrumb/index.d.ts +67 -119
  25. package/lib/breadcrumb/index.js +17 -17
  26. package/lib/button/button.d.ts +2 -2
  27. package/lib/button/index.d.ts +119 -155
  28. package/lib/button/index.js +19 -20
  29. package/lib/card/card.d.ts +1 -1
  30. package/lib/card/index.d.ts +129 -158
  31. package/lib/card/index.js +20 -22
  32. package/lib/cascader/cascader.d.ts +3 -3
  33. package/lib/cascader/index.d.ts +393 -354
  34. package/lib/cascader/index.js +233 -234
  35. package/lib/checkbox/checkbox.d.ts +1 -1
  36. package/lib/checkbox/index.d.ts +119 -161
  37. package/lib/checkbox/index.js +39 -41
  38. package/lib/code-diff/index.d.ts +65 -82
  39. package/lib/code-diff/index.js +381 -438
  40. package/lib/collapse/index.d.ts +144 -168
  41. package/lib/collapse/index.js +21 -21
  42. package/lib/collapse-transition/index.d.ts +19 -94
  43. package/lib/color-picker/color-picker.d.ts +1 -1
  44. package/lib/color-picker/index.d.ts +128 -154
  45. package/lib/color-picker/index.js +25 -28
  46. package/lib/config-provider/config-provider.d.ts +9 -0
  47. package/lib/config-provider/index.d.ts +168 -223
  48. package/lib/config-provider/index.js +19 -19
  49. package/lib/config-provider/token.d.ts +3 -0
  50. package/lib/container/container.d.ts +1 -1
  51. package/lib/container/index.d.ts +74 -85
  52. package/lib/container/index.js +19 -19
  53. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  54. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  55. package/lib/date-picker/date-picker.d.ts +3 -3
  56. package/lib/date-picker/index.d.ts +384 -351
  57. package/lib/date-picker/index.js +92 -104
  58. package/lib/date-picker/panel/date-range.d.ts +1 -1
  59. package/lib/date-picker/panel/date.d.ts +1 -1
  60. package/lib/date-picker/panel/time-range.d.ts +2 -2
  61. package/lib/date-picker/panel/time.d.ts +1 -1
  62. package/lib/date-picker/time-picker.d.ts +3 -3
  63. package/lib/dialog/index.d.ts +355 -309
  64. package/lib/dialog/index.js +227 -228
  65. package/lib/directives/index.js +27 -27
  66. package/lib/divider/index.d.ts +57 -111
  67. package/lib/dropdown/dropdown.d.ts +1 -1
  68. package/lib/dropdown/index.d.ts +94 -136
  69. package/lib/dropdown/index.js +17 -17
  70. package/lib/exception/index.d.ts +41 -102
  71. package/lib/exception/index.js +18 -19
  72. package/lib/fixed-navbar/index.d.ts +59 -113
  73. package/lib/form/form.css +3 -0
  74. package/lib/form/form.d.ts +1 -1
  75. package/lib/form/form.less +3 -0
  76. package/lib/form/form.variable.css +3 -0
  77. package/lib/form/index.d.ts +80 -132
  78. package/lib/form/index.js +29 -27
  79. package/lib/icon/angle-double-down-line.js +21 -21
  80. package/lib/icon/angle-double-left-line.js +21 -21
  81. package/lib/icon/angle-double-left.js +21 -21
  82. package/lib/icon/angle-double-right-line.js +21 -21
  83. package/lib/icon/angle-double-right.js +21 -21
  84. package/lib/icon/angle-double-up-line.js +21 -21
  85. package/lib/icon/angle-down-fill.js +21 -21
  86. package/lib/icon/angle-down-line.js +21 -21
  87. package/lib/icon/angle-down.js +21 -21
  88. package/lib/icon/angle-left.js +21 -21
  89. package/lib/icon/angle-right.js +21 -21
  90. package/lib/icon/angle-up-fill.js +21 -21
  91. package/lib/icon/angle-up.js +21 -21
  92. package/lib/icon/archive-fill.js +21 -21
  93. package/lib/icon/arrows-left.js +21 -21
  94. package/lib/icon/arrows-right.js +21 -21
  95. package/lib/icon/assistant.js +21 -21
  96. package/lib/icon/audio-fill.js +21 -21
  97. package/lib/icon/bk.js +21 -21
  98. package/lib/icon/circle.js +21 -21
  99. package/lib/icon/close-line.js +21 -21
  100. package/lib/icon/close.js +21 -21
  101. package/lib/icon/code.js +21 -21
  102. package/lib/icon/cog-shape.js +21 -21
  103. package/lib/icon/collapse-left.js +21 -21
  104. package/lib/icon/copy-shape.js +21 -21
  105. package/lib/icon/copy.js +21 -21
  106. package/lib/icon/data-shape.js +21 -21
  107. package/lib/icon/del.js +21 -21
  108. package/lib/icon/doc-fill.js +21 -21
  109. package/lib/icon/done.js +21 -21
  110. package/lib/icon/down-shape.js +21 -21
  111. package/lib/icon/down-small.js +21 -21
  112. package/lib/icon/edit-line.js +21 -21
  113. package/lib/icon/ellipsis.js +21 -21
  114. package/lib/icon/enlarge-line.js +21 -21
  115. package/lib/icon/error.js +21 -21
  116. package/lib/icon/excel-fill.js +21 -21
  117. package/lib/icon/exclamation-circle-shape.js +21 -21
  118. package/lib/icon/eye.js +21 -21
  119. package/lib/icon/filliscreen-line.js +21 -21
  120. package/lib/icon/fix-line.js +21 -21
  121. package/lib/icon/fix-shape.js +21 -21
  122. package/lib/icon/folder-open.js +21 -21
  123. package/lib/icon/folder-shape-open.js +21 -21
  124. package/lib/icon/folder-shape.js +21 -21
  125. package/lib/icon/folder.js +21 -21
  126. package/lib/icon/funnel.js +21 -21
  127. package/lib/icon/grag-fill.js +21 -21
  128. package/lib/icon/help-document-fill.js +21 -21
  129. package/lib/icon/help-fill.js +21 -21
  130. package/lib/icon/help.js +21 -21
  131. package/lib/icon/image-fill.js +22 -22
  132. package/lib/icon/img-error.js +22 -22
  133. package/lib/icon/img-placehoulder.js +22 -22
  134. package/lib/icon/index.js +192 -192
  135. package/lib/icon/info-line.js +22 -22
  136. package/lib/icon/info.js +22 -22
  137. package/lib/icon/left-shape.js +22 -22
  138. package/lib/icon/left-turn-line.js +22 -22
  139. package/lib/icon/loading.js +22 -22
  140. package/lib/icon/narrow-line.js +22 -22
  141. package/lib/icon/original.js +22 -22
  142. package/lib/icon/pdf-fill.js +22 -22
  143. package/lib/icon/play-shape.js +22 -22
  144. package/lib/icon/plus.js +22 -22
  145. package/lib/icon/ppt-fill.js +22 -22
  146. package/lib/icon/qq.js +22 -22
  147. package/lib/icon/right-shape.js +22 -22
  148. package/lib/icon/right-turn-line.js +22 -22
  149. package/lib/icon/search.js +22 -22
  150. package/lib/icon/share.js +22 -22
  151. package/lib/icon/spinner.js +22 -22
  152. package/lib/icon/success.js +22 -22
  153. package/lib/icon/switcher-loading.js +22 -22
  154. package/lib/icon/text-file.js +22 -22
  155. package/lib/icon/text-fill.js +22 -22
  156. package/lib/icon/transfer.js +22 -22
  157. package/lib/icon/tree-application-shape.js +22 -22
  158. package/lib/icon/unfull-screen.js +22 -22
  159. package/lib/icon/unvisible.js +22 -22
  160. package/lib/icon/up-shape.js +22 -22
  161. package/lib/icon/upload.js +22 -22
  162. package/lib/icon/video-fill.js +22 -22
  163. package/lib/icon/warn.js +22 -22
  164. package/lib/icon/weixin-pro.js +22 -22
  165. package/lib/icon/weixin.js +22 -22
  166. package/lib/image/index.d.ts +113 -149
  167. package/lib/image/index.js +19 -19
  168. package/lib/info-box/index.js +231 -232
  169. package/lib/input/index.d.ts +326 -293
  170. package/lib/input/index.js +256 -258
  171. package/lib/link/index.d.ts +73 -122
  172. package/lib/loading/index.d.ts +132 -158
  173. package/lib/loading/index.js +23 -25
  174. package/lib/loading/loading.d.ts +4 -4
  175. package/lib/locale/index.js +8 -12
  176. package/lib/locale/lang/en.d.ts +3 -0
  177. package/lib/menu/index.d.ts +51 -112
  178. package/lib/menu/index.js +25 -25
  179. package/lib/message/index.js +28 -30
  180. package/lib/message/messageConstructor.d.ts +5 -5
  181. package/lib/modal/index.d.ts +261 -249
  182. package/lib/modal/index.js +492 -33
  183. package/lib/navigation/index.d.ts +152 -188
  184. package/lib/notify/index.js +22 -24
  185. package/lib/notify/notifyConstructor.d.ts +1 -1
  186. package/lib/overflow-title/index.d.ts +314 -242
  187. package/lib/overflow-title/index.js +1 -1
  188. package/lib/pagination/index.d.ts +194 -205
  189. package/lib/pagination/index.js +49 -56
  190. package/lib/plugin-popover/index.js +192 -98
  191. package/lib/pop-confirm/index.d.ts +126 -159
  192. package/lib/pop-confirm/index.js +0 -1
  193. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  194. package/lib/popover/content.d.ts +1 -1
  195. package/lib/popover/index.d.ts +374 -330
  196. package/lib/popover/index.js +192 -98
  197. package/lib/popover2/index.d.ts +8 -83
  198. package/lib/preset.d.ts +287 -2
  199. package/lib/preset.js +3 -1
  200. package/lib/process/index.d.ts +93 -137
  201. package/lib/process/index.js +225 -226
  202. package/lib/progress/index.d.ts +178 -187
  203. package/lib/progress/index.js +19 -19
  204. package/lib/progress/progress.d.ts +2 -2
  205. package/lib/radio/index.d.ts +83 -135
  206. package/lib/radio/index.js +41 -43
  207. package/lib/rate/index.d.ts +55 -112
  208. package/lib/rate/index.js +19 -20
  209. package/lib/resize-layout/index.d.ts +156 -185
  210. package/lib/resize-layout/index.js +20 -21
  211. package/lib/resize-layout/resize-layout.d.ts +2 -2
  212. package/lib/search-select/index.d.ts +292 -327
  213. package/lib/search-select/index.js +239 -240
  214. package/lib/search-select/input.d.ts +2 -2
  215. package/lib/search-select/search-select.d.ts +3 -3
  216. package/lib/search-select/selected.d.ts +2 -2
  217. package/lib/select/index.d.ts +1234 -1135
  218. package/lib/select/index.js +259 -262
  219. package/lib/select/select.d.ts +121 -161
  220. package/lib/select/selectTagInput.d.ts +2 -2
  221. package/lib/shared/helper.d.ts +4 -0
  222. package/lib/shared/index.js +81 -63
  223. package/lib/sideslider/index.d.ts +247 -233
  224. package/lib/sideslider/index.js +241 -247
  225. package/lib/slider/index.d.ts +204 -204
  226. package/lib/slider/index.js +208 -209
  227. package/lib/steps/index.d.ts +114 -150
  228. package/lib/steps/index.js +227 -228
  229. package/lib/swiper/index.d.ts +81 -127
  230. package/lib/swiper/index.js +18 -18
  231. package/lib/switcher/index.d.ts +152 -174
  232. package/lib/switcher/index.js +20 -22
  233. package/lib/tab/index.d.ts +199 -211
  234. package/lib/tab/index.js +23 -25
  235. package/lib/table/components/table-column.d.ts +2 -2
  236. package/lib/table/index.d.ts +605 -593
  237. package/lib/table/index.js +81 -95
  238. package/lib/table/plugins/use-pagination.d.ts +1 -1
  239. package/lib/table/table.d.ts +1 -1
  240. package/lib/table/use-common.d.ts +67 -34
  241. package/lib/table-column/index.d.ts +207 -243
  242. package/lib/table-column/index.js +18 -19
  243. package/lib/tag/index.d.ts +95 -142
  244. package/lib/tag/index.js +19 -19
  245. package/lib/tag-input/index.d.ts +690 -498
  246. package/lib/tag-input/index.js +54 -62
  247. package/lib/tag-input/tag-input.d.ts +5 -5
  248. package/lib/time-picker/index.d.ts +442 -385
  249. package/lib/timeline/index.d.ts +50 -109
  250. package/lib/timeline/index.js +6 -6
  251. package/lib/transfer/index.d.ts +191 -206
  252. package/lib/tree/index.d.ts +322 -288
  253. package/lib/tree/index.js +36 -39
  254. package/lib/tree/tree.d.ts +1 -1
  255. package/lib/tree/use-tree-init.d.ts +1 -1
  256. package/lib/upload/index.d.ts +281 -254
  257. package/lib/upload/index.js +254 -257
  258. package/lib/upload/upload.d.ts +2 -2
  259. package/lib/virtual-render/index.d.ts +337 -242
  260. package/lib/virtual-render/index.js +30 -30
  261. package/lib/virtual-render/virtual-render.d.ts +1 -1
  262. package/package.json +7 -13
@@ -1,85 +1,133 @@
1
1
  declare const BkTableColumn: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
+ label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
4
+ field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
5
+ render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
6
+ width: import("vue-types").VueTypeDef<string | number>;
7
+ minWidth: import("vue-types").VueTypeDef<string | number> & {
8
+ default: string | number;
9
+ };
10
+ columnKey: import("vue-types").VueTypeValidableDef<string> & {
11
+ default: string;
12
+ } & {
13
+ default: string;
14
+ };
15
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
16
+ type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
17
+ resizable: import("vue-types").VueTypeValidableDef<boolean> & {
18
+ default: boolean;
19
+ } & {
20
+ default: boolean;
21
+ };
22
+ fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
23
+ default: boolean | "right" | "left";
24
+ };
25
+ sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
26
+ filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
27
+ colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
28
+ default: (({ column, colIndex, row, rowIndex }: {
29
+ column: any;
30
+ colIndex: any;
31
+ row: any;
32
+ rowIndex: any;
33
+ }) => number) | (() => Number);
34
+ };
35
+ rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
36
+ default: (({ column, colIndex, row, rowIndex }: {
37
+ column: any;
38
+ colIndex: any;
39
+ row: any;
40
+ rowIndex: any;
41
+ }) => number) | (() => Number);
42
+ };
43
+ align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
44
+ className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
45
+ prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
46
+ index: import("vue-types").VueTypeValidableDef<number> & {
47
+ default: number;
48
+ } & {
49
+ default: number;
50
+ };
51
+ }>>, {
52
+ initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
53
+ bkTableCache: {
54
+ queueStack: (_: any, fn: any) => any;
55
+ };
56
+ column: {
6
57
  fixed?: boolean | "right" | "left";
7
- minWidth?: string | number;
8
58
  resizable?: boolean;
59
+ minWidth?: string | number;
9
60
  index?: number;
10
61
  columnKey?: string;
11
- colspan?: import("../../table/src/props").SpanFunctionString;
12
- rowspan?: import("../../table/src/props").SpanFunctionString;
13
- readonly render?: import("../../table/src/props").RenderFunctionString;
14
- readonly sort?: import("../../table/src/props").ISortPropShape;
15
- readonly filter?: import("../../table/src/props").IFilterPropShape;
16
- readonly type?: "none" | "index" | "selection" | "expand";
17
- class?: unknown;
18
- readonly label?: import("../../table/src/props").LabelFunctionString;
19
- style?: unknown;
20
- readonly width?: string | number;
21
- ref?: import("vue").VNodeRef;
22
- key?: string | number | symbol;
23
- ref_for?: boolean;
24
- ref_key?: string;
25
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
- [key: string]: any;
27
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
- [key: string]: any;
29
- }>) => void)[];
30
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
- [key: string]: any;
32
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
- [key: string]: any;
34
- }>) => void)[];
35
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
- [key: string]: any;
37
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
- [key: string]: any;
39
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
- [key: string]: any;
41
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
- [key: string]: any;
43
- }>) => void)[];
44
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
- [key: string]: any;
48
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
- [key: string]: any;
50
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
- [key: string]: any;
52
- }>) => void)[];
53
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
- [key: string]: any;
55
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
56
- [key: string]: any;
57
- }>) => void)[];
58
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
- [key: string]: any;
60
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
- [key: string]: any;
62
- }>) => void)[];
63
- readonly className?: import("../../table/src/props").RowClassFunctionString;
64
- readonly align?: "" | "right" | "left" | "center";
65
- readonly showOverflowTooltip?: import("../../table/src/props").IOverflowTooltipProp;
66
- readonly field?: import("../../table/src/props").LabelFunctionString;
67
- readonly prop?: import("../../table/src/props").LabelFunctionString;
68
- };
69
- $attrs: {
70
- [x: string]: unknown;
71
- };
72
- $refs: {
73
- [x: string]: unknown;
74
- };
75
- $slots: Readonly<{
76
- [name: string]: import("vue").Slot<any>;
77
- }>;
78
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
79
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
80
- $emit: (event: string, ...args: any[]) => void;
81
- $el: any;
82
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
62
+ colspan?: (({ column, colIndex, row, rowIndex }: {
63
+ column: any;
64
+ colIndex: any;
65
+ row: any;
66
+ rowIndex: any;
67
+ }) => number) | {
68
+ toString: (radix?: number) => string;
69
+ toFixed: (fractionDigits?: number) => string;
70
+ toExponential: (fractionDigits?: number) => string;
71
+ toPrecision: (precision?: number) => string;
72
+ valueOf: () => number;
73
+ toLocaleString: {
74
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
75
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
76
+ };
77
+ };
78
+ rowspan?: (({ column, colIndex, row, rowIndex }: {
79
+ column: any;
80
+ colIndex: any;
81
+ row: any;
82
+ rowIndex: any;
83
+ }) => number) | {
84
+ toString: (radix?: number) => string;
85
+ toFixed: (fractionDigits?: number) => string;
86
+ toExponential: (fractionDigits?: number) => string;
87
+ toPrecision: (precision?: number) => string;
88
+ valueOf: () => number;
89
+ toLocaleString: {
90
+ (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
91
+ (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
92
+ };
93
+ };
94
+ render?: import("../../table/src/props").RenderFunctionString;
95
+ sort?: string | boolean | {
96
+ sortFn?: Function;
97
+ sortScope?: import("../../table/src/props").SortScope;
98
+ value?: import("../../table/src/const").SORT_OPTION;
99
+ };
100
+ filter?: string | boolean | {
101
+ list: any[];
102
+ filterFn?: Function;
103
+ match?: import("../../table/src/props").FullEnum;
104
+ checked?: any[];
105
+ filterScope?: import("../../table/src/props").SortScope;
106
+ btnSave?: string | boolean;
107
+ btnReset?: string | boolean;
108
+ height?: number;
109
+ maxHeight?: number;
110
+ };
111
+ type?: "none" | "index" | "selection" | "expand";
112
+ label?: import("../../table/src/props").LabelFunctionString;
113
+ width?: string | number;
114
+ className?: import("../../table/src/props").RowClassFunctionString;
115
+ align?: "" | "right" | "left" | "center";
116
+ showOverflowTooltip?: boolean | {
117
+ content: string | Function;
118
+ disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
119
+ watchCellResize?: boolean;
120
+ mode?: "auto" | "static";
121
+ popoverOption?: any;
122
+ resizerWay?: import("../../table/src/props").ResizerWay;
123
+ showHead?: boolean;
124
+ };
125
+ field: import("../../table/src/props").LabelFunctionString;
126
+ prop?: import("../../table/src/props").LabelFunctionString;
127
+ };
128
+ }, unknown, {}, {
129
+ updateColumnDefine(unmounted?: boolean): void;
130
+ copyProps(props: Partial<import("vue").ExtractPropTypes<{
83
131
  label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
84
132
  field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
85
133
  render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
@@ -128,166 +176,10 @@ declare const BkTableColumn: {
128
176
  } & {
129
177
  default: number;
130
178
  };
131
- }>>, {
132
- initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
133
- bkTableCache: {
134
- queueStack: (_: any, fn: any) => any;
135
- };
136
- column: {
137
- fixed?: boolean | "right" | "left";
138
- minWidth?: string | number;
139
- resizable?: boolean;
140
- index?: number;
141
- columnKey?: string;
142
- colspan?: (({ column, colIndex, row, rowIndex }: {
143
- column: any;
144
- colIndex: any;
145
- row: any;
146
- rowIndex: any;
147
- }) => number) | {
148
- toString: (radix?: number) => string;
149
- toFixed: (fractionDigits?: number) => string;
150
- toExponential: (fractionDigits?: number) => string;
151
- toPrecision: (precision?: number) => string;
152
- valueOf: () => number;
153
- toLocaleString: {
154
- (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
155
- (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
156
- };
157
- };
158
- rowspan?: (({ column, colIndex, row, rowIndex }: {
159
- column: any;
160
- colIndex: any;
161
- row: any;
162
- rowIndex: any;
163
- }) => number) | {
164
- toString: (radix?: number) => string;
165
- toFixed: (fractionDigits?: number) => string;
166
- toExponential: (fractionDigits?: number) => string;
167
- toPrecision: (precision?: number) => string;
168
- valueOf: () => number;
169
- toLocaleString: {
170
- (locales?: string | string[], options?: Intl.NumberFormatOptions): string;
171
- (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
172
- };
173
- };
174
- render?: import("../../table/src/props").RenderFunctionString;
175
- sort?: string | boolean | {
176
- sortFn?: Function;
177
- sortScope?: import("../../table/src/props").SortScope;
178
- value?: import("../../table/src/const").SORT_OPTION;
179
- };
180
- filter?: string | boolean | {
181
- list: any[];
182
- filterFn?: Function;
183
- match?: import("../../table/src/props").FullEnum;
184
- checked?: any[];
185
- filterScope?: import("../../table/src/props").SortScope;
186
- btnSave?: string | boolean;
187
- btnReset?: string | boolean;
188
- height?: number;
189
- maxHeight?: number;
190
- };
191
- type?: "none" | "index" | "selection" | "expand";
192
- label?: import("../../table/src/props").LabelFunctionString;
193
- width?: string | number;
194
- className?: import("../../table/src/props").RowClassFunctionString;
195
- align?: "" | "right" | "left" | "center";
196
- showOverflowTooltip?: boolean | {
197
- content: string | Function;
198
- disabled?: (col: import("../../bkui-vue").TableIColumn, row: any) => boolean;
199
- watchCellResize?: boolean;
200
- mode?: "auto" | "static";
201
- popoverOption?: any;
202
- resizerWay?: import("../../table/src/props").ResizerWay;
203
- showHead?: boolean;
204
- };
205
- field: import("../../table/src/props").LabelFunctionString;
206
- prop?: import("../../table/src/props").LabelFunctionString;
207
- };
208
- }, unknown, {}, {
209
- updateColumnDefine(unmounted?: boolean): void;
210
- copyProps(props: Partial<import("vue").ExtractPropTypes<{
211
- label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
212
- field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
213
- render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
214
- width: import("vue-types").VueTypeDef<string | number>;
215
- minWidth: import("vue-types").VueTypeDef<string | number> & {
216
- default: string | number;
217
- };
218
- columnKey: import("vue-types").VueTypeValidableDef<string> & {
219
- default: string;
220
- } & {
221
- default: string;
222
- };
223
- showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
224
- type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
225
- resizable: import("vue-types").VueTypeValidableDef<boolean> & {
226
- default: boolean;
227
- } & {
228
- default: boolean;
229
- };
230
- fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
231
- default: boolean | "right" | "left";
232
- };
233
- sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
234
- filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
235
- colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
236
- default: (({ column, colIndex, row, rowIndex }: {
237
- column: any;
238
- colIndex: any;
239
- row: any;
240
- rowIndex: any;
241
- }) => number) | (() => Number);
242
- };
243
- rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
244
- default: (({ column, colIndex, row, rowIndex }: {
245
- column: any;
246
- colIndex: any;
247
- row: any;
248
- rowIndex: any;
249
- }) => number) | (() => Number);
250
- };
251
- align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
252
- className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
253
- prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
254
- index: import("vue-types").VueTypeValidableDef<number> & {
255
- default: number;
256
- } & {
257
- default: number;
258
- };
259
- }>>): {};
260
- updateColumnDefineByParent(): void;
261
- unmountColumn(): void;
262
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
263
- fixed: boolean | "right" | "left";
264
- minWidth: string | number;
265
- resizable: boolean;
266
- index: number;
267
- columnKey: string;
268
- colspan: import("../../table/src/props").SpanFunctionString;
269
- rowspan: import("../../table/src/props").SpanFunctionString;
270
- }, {}, string, {}> & {
271
- beforeCreate?: (() => void) | (() => void)[];
272
- created?: (() => void) | (() => void)[];
273
- beforeMount?: (() => void) | (() => void)[];
274
- mounted?: (() => void) | (() => void)[];
275
- beforeUpdate?: (() => void) | (() => void)[];
276
- updated?: (() => void) | (() => void)[];
277
- activated?: (() => void) | (() => void)[];
278
- deactivated?: (() => void) | (() => void)[];
279
- beforeDestroy?: (() => void) | (() => void)[];
280
- beforeUnmount?: (() => void) | (() => void)[];
281
- destroyed?: (() => void) | (() => void)[];
282
- unmounted?: (() => void) | (() => void)[];
283
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
284
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
285
- 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)[];
286
- };
287
- $forceUpdate: () => void;
288
- $nextTick: typeof import("vue").nextTick;
289
- $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;
290
- } & Readonly<import("vue").ExtractPropTypes<{
179
+ }>>): {};
180
+ updateColumnDefineByParent(): void;
181
+ unmountColumn(): void;
182
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
291
183
  label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
292
184
  field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
293
185
  render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
@@ -336,15 +228,79 @@ declare const BkTableColumn: {
336
228
  } & {
337
229
  default: number;
338
230
  };
339
- }>> & import("vue").ShallowUnwrapRef<{
231
+ }>>, {
232
+ fixed: boolean | "right" | "left";
233
+ resizable: boolean;
234
+ minWidth: string | number;
235
+ index: number;
236
+ columnKey: string;
237
+ colspan: import("../../table/src/props").SpanFunctionString;
238
+ rowspan: import("../../table/src/props").SpanFunctionString;
239
+ }, true, {}, {}, {
240
+ P: {};
241
+ B: {};
242
+ D: {};
243
+ C: {};
244
+ M: {};
245
+ Defaults: {};
246
+ }, Readonly<import("vue").ExtractPropTypes<{
247
+ label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
248
+ field: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
249
+ render: import("vue-types").VueTypeDef<import("../../table/src/props").RenderFunctionString>;
250
+ width: import("vue-types").VueTypeDef<string | number>;
251
+ minWidth: import("vue-types").VueTypeDef<string | number> & {
252
+ default: string | number;
253
+ };
254
+ columnKey: import("vue-types").VueTypeValidableDef<string> & {
255
+ default: string;
256
+ } & {
257
+ default: string;
258
+ };
259
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("../../table/src/props").IOverflowTooltipProp>;
260
+ type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
261
+ resizable: import("vue-types").VueTypeValidableDef<boolean> & {
262
+ default: boolean;
263
+ } & {
264
+ default: boolean;
265
+ };
266
+ fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
267
+ default: boolean | "right" | "left";
268
+ };
269
+ sort: import("vue-types").VueTypeDef<import("../../table/src/props").ISortPropShape>;
270
+ filter: import("vue-types").VueTypeDef<import("../../table/src/props").IFilterPropShape>;
271
+ colspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
272
+ default: (({ column, colIndex, row, rowIndex }: {
273
+ column: any;
274
+ colIndex: any;
275
+ row: any;
276
+ rowIndex: any;
277
+ }) => number) | (() => Number);
278
+ };
279
+ rowspan: import("vue-types").VueTypeDef<import("../../table/src/props").SpanFunctionString> & {
280
+ default: (({ column, colIndex, row, rowIndex }: {
281
+ column: any;
282
+ colIndex: any;
283
+ row: any;
284
+ rowIndex: any;
285
+ }) => number) | (() => Number);
286
+ };
287
+ align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
288
+ className: import("vue-types").VueTypeDef<import("../../table/src/props").RowClassFunctionString>;
289
+ prop: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
290
+ index: import("vue-types").VueTypeValidableDef<number> & {
291
+ default: number;
292
+ } & {
293
+ default: number;
294
+ };
295
+ }>>, {
340
296
  initColumns: (_col: import("../../bkui-vue").TableIColumn | import("../../bkui-vue").TableIColumn[], _rm?: boolean) => void;
341
297
  bkTableCache: {
342
298
  queueStack: (_: any, fn: any) => any;
343
299
  };
344
300
  column: {
345
301
  fixed?: boolean | "right" | "left";
346
- minWidth?: string | number;
347
302
  resizable?: boolean;
303
+ minWidth?: string | number;
348
304
  index?: number;
349
305
  columnKey?: string;
350
306
  colspan?: (({ column, colIndex, row, rowIndex }: {
@@ -413,7 +369,7 @@ declare const BkTableColumn: {
413
369
  field: import("../../table/src/props").LabelFunctionString;
414
370
  prop?: import("../../table/src/props").LabelFunctionString;
415
371
  };
416
- }> & {} & {
372
+ }, {}, {}, {
417
373
  updateColumnDefine(unmounted?: boolean): void;
418
374
  copyProps(props: Partial<import("vue").ExtractPropTypes<{
419
375
  label: import("vue-types").VueTypeDef<import("../../table/src/props").LabelFunctionString>;
@@ -467,7 +423,15 @@ declare const BkTableColumn: {
467
423
  }>>): {};
468
424
  updateColumnDefineByParent(): void;
469
425
  unmountColumn(): void;
470
- } & import("vue").ComponentCustomProperties & {};
426
+ }, {
427
+ fixed: boolean | "right" | "left";
428
+ resizable: boolean;
429
+ minWidth: string | number;
430
+ index: number;
431
+ columnKey: string;
432
+ colspan: import("../../table/src/props").SpanFunctionString;
433
+ rowspan: import("../../table/src/props").SpanFunctionString;
434
+ }>;
471
435
  __isFragment?: never;
472
436
  __isTeleport?: never;
473
437
  __isSuspense?: never;
@@ -527,8 +491,8 @@ declare const BkTableColumn: {
527
491
  };
528
492
  column: {
529
493
  fixed?: boolean | "right" | "left";
530
- minWidth?: string | number;
531
494
  resizable?: boolean;
495
+ minWidth?: string | number;
532
496
  index?: number;
533
497
  columnKey?: string;
534
498
  colspan?: (({ column, colIndex, row, rowIndex }: {
@@ -653,8 +617,8 @@ declare const BkTableColumn: {
653
617
  unmountColumn(): void;
654
618
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
655
619
  fixed: boolean | "right" | "left";
656
- minWidth: string | number;
657
620
  resizable: boolean;
621
+ minWidth: string | number;
658
622
  index: number;
659
623
  columnKey: string;
660
624
  colspan: import("../../table/src/props").SpanFunctionString;
@@ -35,38 +35,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
35
35
  var y = x => () => x
36
36
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
37
37
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
38
- function _typeof(obj) {
38
+ function _typeof(o) {
39
39
  "@babel/helpers - typeof";
40
40
 
41
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
42
- return typeof obj;
43
- } : function (obj) {
44
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
45
- }, _typeof(obj);
41
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
42
+ return typeof o;
43
+ } : function (o) {
44
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
45
+ }, _typeof(o);
46
46
  }
47
47
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
48
48
 
49
- function _toPrimitive(input, hint) {
50
- if (_typeof(input) !== "object" || input === null) return input;
51
- var prim = input[Symbol.toPrimitive];
52
- if (prim !== undefined) {
53
- var res = prim.call(input, hint || "default");
54
- if (_typeof(res) !== "object") return res;
49
+ function toPrimitive(t, r) {
50
+ if ("object" != _typeof(t) || !t) return t;
51
+ var e = t[Symbol.toPrimitive];
52
+ if (void 0 !== e) {
53
+ var i = e.call(t, r || "default");
54
+ if ("object" != _typeof(i)) return i;
55
55
  throw new TypeError("@@toPrimitive must return a primitive value.");
56
56
  }
57
- return (hint === "string" ? String : Number)(input);
57
+ return ("string" === r ? String : Number)(t);
58
58
  }
59
59
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
60
60
 
61
61
 
62
- function _toPropertyKey(arg) {
63
- var key = _toPrimitive(arg, "string");
64
- return _typeof(key) === "symbol" ? key : String(key);
62
+ function toPropertyKey(t) {
63
+ var i = toPrimitive(t, "string");
64
+ return "symbol" == _typeof(i) ? i : String(i);
65
65
  }
66
66
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
67
67
 
68
68
  function _defineProperty(obj, key, value) {
69
- key = _toPropertyKey(key);
69
+ key = toPropertyKey(key);
70
70
  if (key in obj) {
71
71
  Object.defineProperty(obj, key, {
72
72
  value: value,
@@ -85,7 +85,6 @@ var external_vue_y = x => () => x
85
85
  const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["unref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.unref });
86
86
  ;// CONCATENATED MODULE: ../../packages/table/src/const.ts
87
87
 
88
- var _DEF_COLOR;
89
88
  /*
90
89
  * Tencent is pleased to support the open source community by making
91
90
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -181,7 +180,7 @@ var IHeadColor;
181
180
  /**
182
181
  * 根据表格的使用场景,表头支持颜色自定义,默认提供的选项:FAFBFD、F0F1F5,尽量一个项目选用同一种颜色。
183
182
  */
184
- var DEF_COLOR = (_DEF_COLOR = {}, _defineProperty(_DEF_COLOR, IHeadColor.DEF1, '#FAFBFD'), _defineProperty(_DEF_COLOR, IHeadColor.DEF2, '#F0F1F5'), _DEF_COLOR);
183
+ var DEF_COLOR = _defineProperty(_defineProperty({}, IHeadColor.DEF1, '#FAFBFD'), IHeadColor.DEF2, '#F0F1F5');
185
184
  var SETTING_SIZE = {
186
185
  large: 78,
187
186
  medium: 60,