bkui-vue 2.0.1-beta.15.table.1 → 2.0.1-beta.15.table.11

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 (60) hide show
  1. package/dist/index.cjs.js +40 -40
  2. package/dist/index.esm.js +13786 -13670
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/checkbox/checkbox.d.ts +7 -7
  7. package/lib/checkbox/index.d.ts +11 -11
  8. package/lib/checkbox/index.js +9 -1
  9. package/lib/date-picker/date-picker.d.ts +0 -1
  10. package/lib/date-picker/index.d.ts +0 -3
  11. package/lib/date-picker/index.js +34 -13
  12. package/lib/dialog/dialog.d.ts +7 -2
  13. package/lib/dialog/index.d.ts +15 -4
  14. package/lib/dialog/props.d.ts +3 -1
  15. package/lib/index.js +1 -1
  16. package/lib/modal/index.d.ts +18 -5
  17. package/lib/modal/index.js +7 -1
  18. package/lib/modal/modal.d.ts +7 -2
  19. package/lib/modal/props.mixin.d.ts +3 -1
  20. package/lib/radio/index.d.ts +21 -21
  21. package/lib/radio/index.js +18 -7
  22. package/lib/radio/radio-button.d.ts +7 -7
  23. package/lib/radio/radio-group.d.ts +7 -7
  24. package/lib/radio/radio.d.ts +7 -7
  25. package/lib/scrollbar/index.js +36 -13
  26. package/lib/scrollbar/scrollbar-core/index.d.ts +2 -1
  27. package/lib/select/index.d.ts +24 -6
  28. package/lib/select/index.js +68 -56
  29. package/lib/select/select.d.ts +10 -2
  30. package/lib/shared/frame-throttle.d.ts +15 -0
  31. package/lib/shared/index.d.ts +1 -0
  32. package/lib/shared/index.js +72 -1
  33. package/lib/sideslider/index.d.ts +15 -4
  34. package/lib/sideslider/sideslider.d.ts +7 -2
  35. package/lib/steps/index.d.ts +3 -3
  36. package/lib/steps/steps.d.ts +1 -1
  37. package/lib/table/components/ghost-body.d.ts +2 -0
  38. package/lib/table/components/table-column.d.ts +3 -44
  39. package/lib/table/hooks/use-cell.d.ts +20 -0
  40. package/lib/table/hooks/use-column-resize.d.ts +3 -1
  41. package/lib/table/hooks/use-column-template.d.ts +2 -3
  42. package/lib/table/hooks/use-columns.d.ts +3 -2
  43. package/lib/table/hooks/use-layout.d.ts +7 -5
  44. package/lib/table/hooks/use-settings.d.ts +1 -1
  45. package/lib/table/hooks/use-shift-key.d.ts +4 -2
  46. package/lib/table/index.d.ts +18 -44
  47. package/lib/table/index.js +844 -595
  48. package/lib/table/props.d.ts +13 -1
  49. package/lib/table/table.css +35 -47
  50. package/lib/table/table.d.ts +7 -0
  51. package/lib/table/table.less +40 -60
  52. package/lib/table/table.variable.css +35 -47
  53. package/lib/table/utils.d.ts +7 -5
  54. package/lib/table-column/index.d.ts +9 -132
  55. package/lib/table-column/index.js +17298 -25
  56. package/lib/virtual-render/index.d.ts +4 -15
  57. package/lib/virtual-render/index.js +3 -4
  58. package/lib/virtual-render/props.d.ts +1 -3
  59. package/lib/virtual-render/virtual-render.d.ts +2 -7
  60. package/package.json +1 -1
@@ -38,50 +38,9 @@ declare const BkTableColumn: {
38
38
  } & {
39
39
  default: number;
40
40
  };
41
- }>>, {
42
- column: {
43
- fixed?: boolean | "left" | "right";
44
- resizable?: boolean;
45
- minWidth?: string | number;
46
- index?: number;
47
- columnKey?: string;
48
- colspan?: import("../table/props").SpanFunctionString;
49
- rowspan?: import("../table/props").SpanFunctionString;
50
- render?: import("../table/props").RenderFunctionString;
51
- sort?: string | boolean | {
52
- sortFn?: Function;
53
- sortScope?: import("../table/props").SortScope;
54
- value?: import("../table/const").SORT_OPTION;
55
- };
56
- filter?: string | boolean | {
57
- list: any[];
58
- filterFn?: Function;
59
- match?: import("../table/props").FullEnum;
60
- checked?: any[];
61
- filterScope?: import("../table/props").SortScope;
62
- btnSave?: string | boolean;
63
- btnReset?: string | boolean;
64
- height?: number;
65
- maxHeight?: number;
66
- };
67
- type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
68
- label?: import("../table/props").LabelFunctionString;
69
- width?: string | number;
70
- className?: import("../table/props").RowClassFunctionString;
71
- align?: "" | "left" | "right" | "center";
72
- showOverflowTooltip?: boolean | {
73
- content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
74
- disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
75
- watchCellResize?: boolean;
76
- mode?: "auto" | "static";
77
- popoverOption?: any;
78
- resizerWay?: import("../table/props").ResizerWay;
79
- showHead?: boolean;
80
- };
81
- field: import("../table/props").LabelFunctionString;
82
- prop?: import("../table/props").LabelFunctionString;
83
- };
84
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
41
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
+ [key: string]: any;
43
+ }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
85
44
  label: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
86
45
  field: import("vue-types").VueTypeDef<import("../table/props").LabelFunctionString>;
87
46
  render: import("vue-types").VueTypeDef<import("../table/props").RenderFunctionString>;
@@ -174,50 +133,9 @@ declare const BkTableColumn: {
174
133
  } & {
175
134
  default: number;
176
135
  };
177
- }>>, {
178
- column: {
179
- fixed?: boolean | "left" | "right";
180
- resizable?: boolean;
181
- minWidth?: string | number;
182
- index?: number;
183
- columnKey?: string;
184
- colspan?: import("../table/props").SpanFunctionString;
185
- rowspan?: import("../table/props").SpanFunctionString;
186
- render?: import("../table/props").RenderFunctionString;
187
- sort?: string | boolean | {
188
- sortFn?: Function;
189
- sortScope?: import("../table/props").SortScope;
190
- value?: import("../table/const").SORT_OPTION;
191
- };
192
- filter?: string | boolean | {
193
- list: any[];
194
- filterFn?: Function;
195
- match?: import("../table/props").FullEnum;
196
- checked?: any[];
197
- filterScope?: import("../table/props").SortScope;
198
- btnSave?: string | boolean;
199
- btnReset?: string | boolean;
200
- height?: number;
201
- maxHeight?: number;
202
- };
203
- type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
204
- label?: import("../table/props").LabelFunctionString;
205
- width?: string | number;
206
- className?: import("../table/props").RowClassFunctionString;
207
- align?: "" | "left" | "right" | "center";
208
- showOverflowTooltip?: boolean | {
209
- content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
210
- disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
211
- watchCellResize?: boolean;
212
- mode?: "auto" | "static";
213
- popoverOption?: any;
214
- resizerWay?: import("../table/props").ResizerWay;
215
- showHead?: boolean;
216
- };
217
- field: import("../table/props").LabelFunctionString;
218
- prop?: import("../table/props").LabelFunctionString;
219
- };
220
- }, {}, {}, {}, {
136
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
137
+ [key: string]: any;
138
+ }>[], {}, {}, {}, {
221
139
  fixed: boolean | "left" | "right";
222
140
  resizable: boolean;
223
141
  minWidth: string | number;
@@ -268,50 +186,9 @@ declare const BkTableColumn: {
268
186
  } & {
269
187
  default: number;
270
188
  };
271
- }>>, {
272
- column: {
273
- fixed?: boolean | "left" | "right";
274
- resizable?: boolean;
275
- minWidth?: string | number;
276
- index?: number;
277
- columnKey?: string;
278
- colspan?: import("../table/props").SpanFunctionString;
279
- rowspan?: import("../table/props").SpanFunctionString;
280
- render?: import("../table/props").RenderFunctionString;
281
- sort?: string | boolean | {
282
- sortFn?: Function;
283
- sortScope?: import("../table/props").SortScope;
284
- value?: import("../table/const").SORT_OPTION;
285
- };
286
- filter?: string | boolean | {
287
- list: any[];
288
- filterFn?: Function;
289
- match?: import("../table/props").FullEnum;
290
- checked?: any[];
291
- filterScope?: import("../table/props").SortScope;
292
- btnSave?: string | boolean;
293
- btnReset?: string | boolean;
294
- height?: number;
295
- maxHeight?: number;
296
- };
297
- type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
298
- label?: import("../table/props").LabelFunctionString;
299
- width?: string | number;
300
- className?: import("../table/props").RowClassFunctionString;
301
- align?: "" | "left" | "right" | "center";
302
- showOverflowTooltip?: boolean | {
303
- content: string | ((col: import("../../bkui-vue").TableIColumn, row: any) => string);
304
- disabled?: boolean | ((col: import("../../bkui-vue").TableIColumn, row: any) => boolean);
305
- watchCellResize?: boolean;
306
- mode?: "auto" | "static";
307
- popoverOption?: any;
308
- resizerWay?: import("../table/props").ResizerWay;
309
- showHead?: boolean;
310
- };
311
- field: import("../table/props").LabelFunctionString;
312
- prop?: import("../table/props").LabelFunctionString;
313
- };
314
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
189
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
190
+ [key: string]: any;
191
+ }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
315
192
  fixed: boolean | "left" | "right";
316
193
  resizable: boolean;
317
194
  minWidth: string | number;