bkui-vue 0.0.1-beta.416 → 0.0.1-beta.418

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 (61) hide show
  1. package/dist/index.cjs.js +52 -52
  2. package/dist/index.esm.js +143 -88
  3. package/dist/index.umd.js +51 -51
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/cascader/cascader.d.ts +1 -1
  7. package/lib/cascader/index.d.ts +4 -4
  8. package/lib/collapse/collapse-panel.d.ts +7 -2
  9. package/lib/collapse/index.d.ts +7 -2
  10. package/lib/collapse/props.d.ts +3 -1
  11. package/lib/dialog/dialog.d.ts +11 -6
  12. package/lib/dialog/index.d.ts +24 -13
  13. package/lib/dialog/props.d.ts +5 -3
  14. package/lib/directives/index.js +1 -1
  15. package/lib/divider/divider.d.ts +3 -3
  16. package/lib/divider/index.d.ts +8 -8
  17. package/lib/divider/index.js +1 -1
  18. package/lib/divider/props.d.ts +1 -1
  19. package/lib/dropdown/dropdown.d.ts +5 -5
  20. package/lib/dropdown/index.d.ts +12 -12
  21. package/lib/loading/index.js +1 -1
  22. package/lib/loading/loading.css +2 -0
  23. package/lib/loading/loading.less +2 -0
  24. package/lib/loading/loading.variable.css +2 -0
  25. package/lib/modal/index.d.ts +19 -6
  26. package/lib/modal/modal.d.ts +7 -2
  27. package/lib/modal/props.mixin.d.ts +3 -1
  28. package/lib/pagination/index.d.ts +4 -4
  29. package/lib/pagination/pagination.d.ts +1 -1
  30. package/lib/plugin-popover/index.js +1 -1
  31. package/lib/popover/index.d.ts +47 -53
  32. package/lib/popover/index.js +1 -1
  33. package/lib/popover/popover.d.ts +20 -22
  34. package/lib/popover/props.d.ts +7 -7
  35. package/lib/popover/use-floating.d.ts +4 -1
  36. package/lib/popover/utils.d.ts +1 -0
  37. package/lib/select/index.d.ts +21 -21
  38. package/lib/select/index.js +1 -1
  39. package/lib/select/select.d.ts +7 -7
  40. package/lib/shared/index.js +1 -1
  41. package/lib/shared/vue-types.d.ts +6 -4
  42. package/lib/sideslider/index.d.ts +16 -5
  43. package/lib/sideslider/sideslider.d.ts +7 -2
  44. package/lib/tab/index.d.ts +7 -2
  45. package/lib/tab/props.d.ts +3 -1
  46. package/lib/tab/tab-panel.d.ts +7 -2
  47. package/lib/table/cache.d.ts +6 -0
  48. package/lib/table/components/table-column.d.ts +6 -1
  49. package/lib/table/const.d.ts +2 -0
  50. package/lib/table/index.d.ts +18 -3
  51. package/lib/table/index.js +1 -1
  52. package/lib/table/props.d.ts +1 -1
  53. package/lib/table-column/index.d.ts +18 -3
  54. package/lib/table-column/index.js +1 -1
  55. package/lib/tag-input/index.d.ts +32 -32
  56. package/lib/tag-input/tag-input.d.ts +15 -15
  57. package/lib/tag-input/tag-props.d.ts +7 -7
  58. package/lib/tree/index.js +1 -1
  59. package/lib/tree/props.d.ts +10 -2
  60. package/lib/tree/use-search.d.ts +1 -1
  61. package/package.json +1 -1
@@ -15,6 +15,7 @@ declare const BkSideslider: {
15
15
  isShow: boolean;
16
16
  extCls: string | unknown[];
17
17
  draggable: boolean;
18
+ renderDirective: "if" | "show";
18
19
  quickClose: boolean;
19
20
  scrollable: boolean;
20
21
  closeIcon: boolean;
@@ -100,7 +101,9 @@ declare const BkSideslider: {
100
101
  } & {
101
102
  default: string;
102
103
  };
103
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
104
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
105
+ default: "if" | "show";
106
+ };
104
107
  beforeClose: import("vue-types").VueTypeDef<unknown>;
105
108
  dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
106
109
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -115,7 +118,7 @@ declare const BkSideslider: {
115
118
  onClosed?: (...args: any[]) => any;
116
119
  "onUpdate:isShow"?: (...args: any[]) => any;
117
120
  "onAnimation-end"?: (...args: any[]) => any;
118
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "transfer" | "width" | "height" | "maxHeight" | "isShow" | "extCls" | "draggable" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
121
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "transfer" | "width" | "height" | "maxHeight" | "isShow" | "extCls" | "draggable" | "renderDirective" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
119
122
  $attrs: {
120
123
  [x: string]: unknown;
121
124
  };
@@ -208,7 +211,9 @@ declare const BkSideslider: {
208
211
  } & {
209
212
  default: string;
210
213
  };
211
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
214
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
215
+ default: "if" | "show";
216
+ };
212
217
  beforeClose: import("vue-types").VueTypeDef<unknown>;
213
218
  dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
214
219
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -236,6 +241,7 @@ declare const BkSideslider: {
236
241
  isShow: boolean;
237
242
  extCls: string | unknown[];
238
243
  draggable: boolean;
244
+ renderDirective: "if" | "show";
239
245
  quickClose: boolean;
240
246
  scrollable: boolean;
241
247
  closeIcon: boolean;
@@ -341,7 +347,9 @@ declare const BkSideslider: {
341
347
  } & {
342
348
  default: string;
343
349
  };
344
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
350
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
351
+ default: "if" | "show";
352
+ };
345
353
  beforeClose: import("vue-types").VueTypeDef<unknown>;
346
354
  dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
347
355
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -439,7 +447,9 @@ declare const BkSideslider: {
439
447
  } & {
440
448
  default: string;
441
449
  };
442
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
450
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
451
+ default: "if" | "show";
452
+ };
443
453
  beforeClose: import("vue-types").VueTypeDef<unknown>;
444
454
  dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
445
455
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -467,6 +477,7 @@ declare const BkSideslider: {
467
477
  isShow: boolean;
468
478
  extCls: string | unknown[];
469
479
  draggable: boolean;
480
+ renderDirective: "if" | "show";
470
481
  quickClose: boolean;
471
482
  scrollable: boolean;
472
483
  closeIcon: boolean;
@@ -77,7 +77,9 @@ declare const _default: import("vue").DefineComponent<{
77
77
  } & {
78
78
  default: string;
79
79
  };
80
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
80
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
81
+ default: "if" | "show";
82
+ };
81
83
  beforeClose: import("vue-types").VueTypeDef<unknown>;
82
84
  dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
83
85
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -165,7 +167,9 @@ declare const _default: import("vue").DefineComponent<{
165
167
  } & {
166
168
  default: string;
167
169
  };
168
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
170
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
171
+ default: "if" | "show";
172
+ };
169
173
  beforeClose: import("vue-types").VueTypeDef<unknown>;
170
174
  dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
171
175
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -193,6 +197,7 @@ declare const _default: import("vue").DefineComponent<{
193
197
  isShow: boolean;
194
198
  extCls: string | unknown[];
195
199
  draggable: boolean;
200
+ renderDirective: "if" | "show";
196
201
  quickClose: boolean;
197
202
  scrollable: boolean;
198
203
  closeIcon: boolean;
@@ -436,7 +436,9 @@ declare const BkTab: {
436
436
  sortable: import("vue-types").VueTypeValidableDef<boolean> & {
437
437
  default: boolean;
438
438
  };
439
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
439
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
440
+ default: "if" | "show";
441
+ };
440
442
  panel: (import("vue-types").VueTypeValidableDef<string> & {
441
443
  default: string;
442
444
  }) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
@@ -465,7 +467,9 @@ declare const BkTab: {
465
467
  sortable: import("vue-types").VueTypeValidableDef<boolean> & {
466
468
  default: boolean;
467
469
  };
468
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
470
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
471
+ default: "if" | "show";
472
+ };
469
473
  panel: (import("vue-types").VueTypeValidableDef<string> & {
470
474
  default: string;
471
475
  }) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
@@ -477,6 +481,7 @@ declare const BkTab: {
477
481
  disabled: boolean;
478
482
  visible: boolean;
479
483
  closable: boolean;
484
+ renderDirective: "if" | "show";
480
485
  panel: string | ((...args: any[]) => any);
481
486
  sortable: boolean;
482
487
  }>;
@@ -228,7 +228,9 @@ export declare const tabPanelProps: {
228
228
  sortable: import("vue-types").VueTypeValidableDef<boolean> & {
229
229
  default: boolean;
230
230
  };
231
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
231
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
232
+ default: "if" | "show";
233
+ };
232
234
  panel: (import("vue-types").VueTypeValidableDef<string> & {
233
235
  default: string;
234
236
  }) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
@@ -21,7 +21,9 @@ declare const _default: import("vue").DefineComponent<{
21
21
  sortable: import("vue-types").VueTypeValidableDef<boolean> & {
22
22
  default: boolean;
23
23
  };
24
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
24
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
25
+ default: "if" | "show";
26
+ };
25
27
  panel: (import("vue-types").VueTypeValidableDef<string> & {
26
28
  default: string;
27
29
  }) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
@@ -50,7 +52,9 @@ declare const _default: import("vue").DefineComponent<{
50
52
  sortable: import("vue-types").VueTypeValidableDef<boolean> & {
51
53
  default: boolean;
52
54
  };
53
- renderDirective: import("vue-types").VueTypeDef<"if" | "show">;
55
+ renderDirective: import("vue-types").VueTypeValidableDef<"if" | "show"> & {
56
+ default: "if" | "show";
57
+ };
54
58
  panel: (import("vue-types").VueTypeValidableDef<string> & {
55
59
  default: string;
56
60
  }) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
@@ -62,6 +66,7 @@ declare const _default: import("vue").DefineComponent<{
62
66
  disabled: boolean;
63
67
  visible: boolean;
64
68
  closable: boolean;
69
+ renderDirective: "if" | "show";
65
70
  panel: string | ((...args: any[]) => any);
66
71
  sortable: boolean;
67
72
  }>;
@@ -0,0 +1,6 @@
1
+ export default class BkTableCache {
2
+ storage: any;
3
+ constructor();
4
+ queueStack(methodName: any, fn?: () => void): void;
5
+ clearQueueStack(methodName: any): void;
6
+ }
@@ -60,6 +60,9 @@ declare const _default: import("vue").DefineComponent<{
60
60
  rowspan: import("vue-types").VueTypeDef<any>;
61
61
  }, {
62
62
  initColumns: (_column: Column | Column[], _remove?: boolean) => void;
63
+ bkTableCache: {
64
+ queueStack: (_: any, fn: any) => any;
65
+ };
63
66
  column: {
64
67
  field: string | Function;
65
68
  label: string | Function;
@@ -103,7 +106,9 @@ declare const _default: import("vue").DefineComponent<{
103
106
  };
104
107
  prop?: string | Function;
105
108
  };
106
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
109
+ }, unknown, {}, {
110
+ updateColumnDefine(): void;
111
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
107
112
  prop: import("vue-types").VueTypeDef<any>;
108
113
  label: import("vue-types").VueTypeDef<any>;
109
114
  field: import("vue-types").VueTypeDef<any>;
@@ -108,6 +108,8 @@ export declare const createDefaultSizeList: (t: ComputedRef<Language['table']>)
108
108
  * Provide key: init column when use <column { ...props }> template
109
109
  */
110
110
  export declare const PROVIDE_KEY_INIT_COL = "InitColumns";
111
+ export declare const PROVIDE_KEY_TB_CACHE = "BKTableCahce";
112
+ export declare const BK_COLUMN_UPDATE_DEFINE = "Bk_COlumn_Update_Define";
111
113
  /**
112
114
  * 排序可选择项
113
115
  */
@@ -980,6 +980,9 @@ declare const BkColumn: {
980
980
  rowspan: import("vue-types").VueTypeDef<any>;
981
981
  }>>, {
982
982
  initColumns: (_column: import("./props").Column | import("./props").Column[], _remove?: boolean) => void;
983
+ bkTableCache: {
984
+ queueStack: (_: any, fn: any) => any;
985
+ };
983
986
  column: {
984
987
  field: string | Function;
985
988
  label: string | Function;
@@ -1023,7 +1026,9 @@ declare const BkColumn: {
1023
1026
  };
1024
1027
  prop?: string | Function;
1025
1028
  };
1026
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
1029
+ }, unknown, {}, {
1030
+ updateColumnDefine(): void;
1031
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
1027
1032
  fixed: boolean | "right" | "left";
1028
1033
  filter: string | boolean | {
1029
1034
  list: any[] | (object & (() => any[]));
@@ -1120,6 +1125,9 @@ declare const BkColumn: {
1120
1125
  rowspan: import("vue-types").VueTypeDef<any>;
1121
1126
  }>> & import("vue").ShallowUnwrapRef<{
1122
1127
  initColumns: (_column: import("./props").Column | import("./props").Column[], _remove?: boolean) => void;
1128
+ bkTableCache: {
1129
+ queueStack: (_: any, fn: any) => any;
1130
+ };
1123
1131
  column: {
1124
1132
  field: string | Function;
1125
1133
  label: string | Function;
@@ -1163,7 +1171,9 @@ declare const BkColumn: {
1163
1171
  };
1164
1172
  prop?: string | Function;
1165
1173
  };
1166
- }> & {} & {} & import("vue").ComponentCustomProperties;
1174
+ }> & {} & {} & {
1175
+ updateColumnDefine(): void;
1176
+ } & import("vue").ComponentCustomProperties;
1167
1177
  __isFragment?: never;
1168
1178
  __isTeleport?: never;
1169
1179
  __isSuspense?: never;
@@ -1225,6 +1235,9 @@ declare const BkColumn: {
1225
1235
  rowspan: import("vue-types").VueTypeDef<any>;
1226
1236
  }>>, {
1227
1237
  initColumns: (_column: import("./props").Column | import("./props").Column[], _remove?: boolean) => void;
1238
+ bkTableCache: {
1239
+ queueStack: (_: any, fn: any) => any;
1240
+ };
1228
1241
  column: {
1229
1242
  field: string | Function;
1230
1243
  label: string | Function;
@@ -1268,7 +1281,9 @@ declare const BkColumn: {
1268
1281
  };
1269
1282
  prop?: string | Function;
1270
1283
  };
1271
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
1284
+ }, unknown, {}, {
1285
+ updateColumnDefine(): void;
1286
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
1272
1287
  fixed: boolean | "right" | "left";
1273
1288
  filter: string | boolean | {
1274
1289
  list: any[] | (object & (() => any[]));