bkui-vue 1.0.3-beta.4 → 1.0.3-beta.40

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 (207) hide show
  1. package/dist/index.cjs.js +71 -71
  2. package/dist/index.esm.js +15481 -14247
  3. package/dist/index.umd.js +70 -70
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.variable.css +3 -0
  15. package/lib/alert/alert.variable.css +3 -0
  16. package/lib/backtop/backtop.variable.css +3 -0
  17. package/lib/badge/badge.variable.css +3 -0
  18. package/lib/breadcrumb/breadcrumb.variable.css +3 -0
  19. package/lib/button/button.variable.css +3 -0
  20. package/lib/card/card.variable.css +3 -0
  21. package/lib/cascader/cascader.variable.css +3 -0
  22. package/lib/checkbox/checkbox.variable.css +3 -0
  23. package/lib/code-diff/code-diff.variable.css +3 -0
  24. package/lib/collapse/collapse.variable.css +3 -0
  25. package/lib/collapse-transition/collapse-transition.variable.css +3 -0
  26. package/lib/color-picker/color-picker.variable.css +3 -0
  27. package/lib/components.js +0 -4
  28. package/lib/config-provider/config-provider.d.ts +3 -0
  29. package/lib/config-provider/config-provider.variable.css +3 -0
  30. package/lib/config-provider/index.d.ts +4 -0
  31. package/lib/config-provider/token.d.ts +1 -0
  32. package/lib/container/container.variable.css +3 -0
  33. package/lib/date-picker/base/month-table.d.ts +2 -2
  34. package/lib/date-picker/date-picker.d.ts +1 -0
  35. package/lib/date-picker/date-picker.variable.css +3 -0
  36. package/lib/date-picker/index.d.ts +3 -0
  37. package/lib/date-picker/index.js +69 -31
  38. package/lib/date-picker/interface.d.ts +1 -1
  39. package/lib/date-picker/time-picker.d.ts +1 -0
  40. package/lib/date-picker/utils.d.ts +4 -0
  41. package/lib/dialog/dialog.css +28 -31
  42. package/lib/dialog/dialog.d.ts +11 -0
  43. package/lib/dialog/dialog.less +18 -17
  44. package/lib/dialog/dialog.variable.css +31 -31
  45. package/lib/dialog/index.d.ts +23 -0
  46. package/lib/dialog/index.js +15 -9
  47. package/lib/dialog/props.d.ts +5 -0
  48. package/lib/dist.index.js +0 -1
  49. package/lib/divider/divider.variable.css +3 -0
  50. package/lib/dropdown/dropdown.css +3 -1
  51. package/lib/dropdown/dropdown.variable.css +6 -1
  52. package/lib/exception/exception.variable.css +3 -0
  53. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  54. package/lib/form/form.variable.css +3 -0
  55. package/lib/hooks.js +1 -8
  56. package/lib/icon/image-fill.js +82 -167
  57. package/lib/icon/img-error.js +82 -167
  58. package/lib/icon/img-placehoulder.js +82 -167
  59. package/lib/icon/index.d.ts +1 -0
  60. package/lib/icon/index.js +87 -2427
  61. package/lib/icon/info-line.js +82 -167
  62. package/lib/icon/info.js +82 -167
  63. package/lib/icon/left-shape.js +82 -167
  64. package/lib/icon/left-turn-line.js +82 -167
  65. package/lib/icon/loading.js +82 -167
  66. package/lib/icon/narrow-line.js +82 -167
  67. package/lib/icon/original.js +82 -167
  68. package/lib/icon/pdf-fill.js +82 -167
  69. package/lib/icon/play-shape.js +82 -167
  70. package/lib/icon/plus.js +82 -167
  71. package/lib/icon/ppt-fill.js +82 -167
  72. package/lib/icon/qq.js +82 -167
  73. package/lib/icon/right-shape.js +82 -167
  74. package/lib/icon/right-turn-line.js +82 -167
  75. package/lib/icon/search.js +82 -167
  76. package/lib/icon/share.js +82 -167
  77. package/lib/icon/spinner.js +82 -167
  78. package/lib/icon/success.js +82 -167
  79. package/lib/icon/switcher-loading.js +82 -167
  80. package/lib/icon/text-all.d.ts +4 -0
  81. package/lib/icon/text-all.js +191 -0
  82. package/lib/icon/text-file.js +82 -167
  83. package/lib/icon/text-fill.js +82 -167
  84. package/lib/icon/transfer.js +82 -167
  85. package/lib/icon/tree-application-shape.js +82 -167
  86. package/lib/icon/unfull-screen.js +82 -167
  87. package/lib/icon/unvisible.js +82 -167
  88. package/lib/icon/up-shape.js +82 -167
  89. package/lib/icon/upload.js +82 -167
  90. package/lib/icon/video-fill.js +82 -167
  91. package/lib/icon/warn.js +82 -167
  92. package/lib/icon/weixin-pro.js +82 -167
  93. package/lib/icon/weixin.js +82 -167
  94. package/lib/image/image-viewer.variable.css +3 -0
  95. package/lib/image/image.variable.css +3 -0
  96. package/lib/image/index.js +5 -2
  97. package/lib/index.js +0 -1
  98. package/lib/info-box/index.js +40 -455
  99. package/lib/info-box/info-box.css +6 -11
  100. package/lib/info-box/info-box.d.ts +1 -1
  101. package/lib/info-box/info-box.less +6 -10
  102. package/lib/info-box/info-box.variable.css +9 -11
  103. package/lib/input/index.js +5 -0
  104. package/lib/input/input.variable.css +3 -0
  105. package/lib/link/link.variable.css +3 -0
  106. package/lib/loading/loading.variable.css +3 -0
  107. package/lib/locale/index.js +4 -2
  108. package/lib/locale/lang/en.d.ts +1 -0
  109. package/lib/menu/menu.variable.css +3 -0
  110. package/lib/menu/submenu.variable.css +3 -0
  111. package/lib/message/message.variable.css +3 -0
  112. package/lib/modal/index.d.ts +34 -6
  113. package/lib/modal/index.js +15 -15
  114. package/lib/modal/modal.css +10 -15
  115. package/lib/modal/modal.d.ts +13 -2
  116. package/lib/modal/modal.less +5 -5
  117. package/lib/modal/modal.variable.css +13 -15
  118. package/lib/modal/props.mixin.d.ts +5 -0
  119. package/lib/navigation/navigation.variable.css +3 -0
  120. package/lib/notify/notify.variable.css +3 -0
  121. package/lib/pagination/index.js +2 -1
  122. package/lib/pagination/pagination.variable.css +3 -0
  123. package/lib/plugin-popover/index.d.ts +1 -1
  124. package/lib/plugin-popover/index.js +55 -31
  125. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  126. package/lib/popover/content.d.ts +1 -1
  127. package/lib/popover/index.js +55 -31
  128. package/lib/popover/plugin-popover.d.ts +4 -1
  129. package/lib/popover/popover.css +3 -1
  130. package/lib/popover/popover.less +4 -1
  131. package/lib/popover/popover.variable.css +6 -1
  132. package/lib/preset.d.ts +2 -0
  133. package/lib/preset.js +14 -20
  134. package/lib/process/process.variable.css +3 -0
  135. package/lib/progress/progress.variable.css +3 -0
  136. package/lib/radio/radio.variable.css +3 -0
  137. package/lib/rate/rate.variable.css +3 -0
  138. package/lib/rate/star.variable.css +3 -0
  139. package/lib/resize-layout/resize-layout.variable.css +3 -0
  140. package/lib/search-select/search-select.variable.css +3 -0
  141. package/lib/select/index.d.ts +68 -6
  142. package/lib/select/index.js +1326 -68
  143. package/lib/select/option.d.ts +3 -1
  144. package/lib/select/pinyin/core.d.ts +14 -0
  145. package/lib/select/pinyin/dict.d.ts +34 -0
  146. package/lib/select/pinyin/index.d.ts +2 -0
  147. package/lib/select/select.css +36 -7
  148. package/lib/select/select.d.ts +28 -2
  149. package/lib/select/select.less +43 -13
  150. package/lib/select/select.variable.css +39 -7
  151. package/lib/select/type.d.ts +2 -3
  152. package/lib/shared/index.js +44 -3
  153. package/lib/shared/utils.d.ts +12 -0
  154. package/lib/sideslider/index.d.ts +29 -6
  155. package/lib/sideslider/index.js +5 -2
  156. package/lib/sideslider/sideslider.d.ts +13 -2
  157. package/lib/sideslider/sideslider.variable.css +3 -0
  158. package/lib/slider/slider.variable.css +3 -0
  159. package/lib/steps/steps.variable.css +3 -0
  160. package/lib/styles/mixins/animate.variable.css +3 -0
  161. package/lib/styles/mixins/popper.variable.css +3 -0
  162. package/lib/styles/mixins/scroll.variable.css +3 -0
  163. package/lib/styles/reset.css +1 -3
  164. package/lib/styles/reset.less +3 -6
  165. package/lib/styles/reset.variable.css +4 -3
  166. package/lib/styles/themes/themes.less +5 -0
  167. package/lib/swiper/swiper.variable.css +3 -0
  168. package/lib/switcher/switcher.variable.css +3 -0
  169. package/lib/tab/tab.variable.css +3 -0
  170. package/lib/table/cache.d.ts +11 -3
  171. package/lib/table/components/table-column.d.ts +111 -5
  172. package/lib/table/index.d.ts +66 -5
  173. package/lib/table/index.js +857 -561
  174. package/lib/table/plugins/head-filter.variable.css +3 -0
  175. package/lib/table/plugins/head-sort.d.ts +7 -0
  176. package/lib/table/plugins/head-sort.variable.css +3 -0
  177. package/lib/table/plugins/settings.variable.css +3 -0
  178. package/lib/table/plugins/use-draggable.d.ts +2 -2
  179. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  180. package/lib/table/props.d.ts +15 -4
  181. package/lib/table/table.css +6 -12
  182. package/lib/table/table.d.ts +7 -0
  183. package/lib/table/table.less +12 -9
  184. package/lib/table/table.variable.css +9 -12
  185. package/lib/table/use-attributes.d.ts +5 -43
  186. package/lib/table/utils.d.ts +5 -4
  187. package/lib/table-column/index.d.ts +235 -119
  188. package/lib/table-column/index.js +221 -30
  189. package/lib/tag/tag.variable.css +3 -0
  190. package/lib/tag-input/index.d.ts +4 -4
  191. package/lib/tag-input/tag-input.d.ts +2 -2
  192. package/lib/tag-input/tag-input.variable.css +3 -0
  193. package/lib/tag-input/tag-props.d.ts +1 -1
  194. package/lib/tag-input/tag-render.d.ts +1 -1
  195. package/lib/time-picker/index.d.ts +38 -35
  196. package/lib/time-picker/time-picker.variable.css +3 -0
  197. package/lib/timeline/index.d.ts +73 -44
  198. package/lib/timeline/index.js +45 -63
  199. package/lib/timeline/timeline.d.ts +42 -29
  200. package/lib/timeline/timeline.variable.css +3 -0
  201. package/lib/transfer/transfer.variable.css +3 -0
  202. package/lib/tree/tree.variable.css +3 -0
  203. package/lib/upload/upload.variable.css +3 -0
  204. package/lib/virtual-render/index.d.ts +9 -9
  205. package/lib/virtual-render/virtual-render.d.ts +3 -3
  206. package/lib/virtual-render/virtual-render.variable.css +3 -0
  207. package/package.json +3 -2
@@ -85,6 +85,11 @@ declare const BkSideslider: {
85
85
  default: boolean;
86
86
  };
87
87
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
88
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
89
+ default: string;
90
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
91
+ default: () => unknown[];
92
+ });
88
93
  left: import("vue-types").VueTypeValidableDef<string> & {
89
94
  default: string;
90
95
  };
@@ -92,12 +97,12 @@ declare const BkSideslider: {
92
97
  default: string;
93
98
  };
94
99
  }>> & {
95
- onShown?: (...args: any[]) => any;
96
100
  onHidden?: (...args: any[]) => any;
101
+ onShown?: (...args: any[]) => any;
97
102
  onClosed?: (...args: any[]) => any;
98
103
  "onUpdate:isShow"?: (...args: any[]) => any;
99
104
  "onAnimation-end"?: (...args: any[]) => any;
100
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("shown" | "hidden" | "closed" | "update:isShow" | "animation-end")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
105
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
101
106
  direction: {
102
107
  type: StringConstructor;
103
108
  default: string;
@@ -183,6 +188,11 @@ declare const BkSideslider: {
183
188
  default: boolean;
184
189
  };
185
190
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
191
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
192
+ default: string;
193
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
194
+ default: () => unknown[];
195
+ });
186
196
  left: import("vue-types").VueTypeValidableDef<string> & {
187
197
  default: string;
188
198
  };
@@ -190,8 +200,8 @@ declare const BkSideslider: {
190
200
  default: string;
191
201
  };
192
202
  }>> & {
193
- onShown?: (...args: any[]) => any;
194
203
  onHidden?: (...args: any[]) => any;
204
+ onShown?: (...args: any[]) => any;
195
205
  onClosed?: (...args: any[]) => any;
196
206
  "onUpdate:isShow"?: (...args: any[]) => any;
197
207
  "onAnimation-end"?: (...args: any[]) => any;
@@ -216,6 +226,7 @@ declare const BkSideslider: {
216
226
  fullscreen: boolean;
217
227
  animateType: string;
218
228
  multiInstance: boolean;
229
+ bodyClass: string | unknown[];
219
230
  }, true, {}, {}, {
220
231
  P: {};
221
232
  B: {};
@@ -309,6 +320,11 @@ declare const BkSideslider: {
309
320
  default: boolean;
310
321
  };
311
322
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
323
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
324
+ default: string;
325
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
326
+ default: () => unknown[];
327
+ });
312
328
  left: import("vue-types").VueTypeValidableDef<string> & {
313
329
  default: string;
314
330
  };
@@ -316,8 +332,8 @@ declare const BkSideslider: {
316
332
  default: string;
317
333
  };
318
334
  }>> & {
319
- onShown?: (...args: any[]) => any;
320
335
  onHidden?: (...args: any[]) => any;
336
+ onShown?: (...args: any[]) => any;
321
337
  onClosed?: (...args: any[]) => any;
322
338
  "onUpdate:isShow"?: (...args: any[]) => any;
323
339
  "onAnimation-end"?: (...args: any[]) => any;
@@ -342,6 +358,7 @@ declare const BkSideslider: {
342
358
  fullscreen: boolean;
343
359
  animateType: string;
344
360
  multiInstance: boolean;
361
+ bodyClass: string | unknown[];
345
362
  }>;
346
363
  __isFragment?: never;
347
364
  __isTeleport?: never;
@@ -432,6 +449,11 @@ declare const BkSideslider: {
432
449
  default: boolean;
433
450
  };
434
451
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
452
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
453
+ default: string;
454
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
455
+ default: () => unknown[];
456
+ });
435
457
  left: import("vue-types").VueTypeValidableDef<string> & {
436
458
  default: string;
437
459
  };
@@ -439,12 +461,12 @@ declare const BkSideslider: {
439
461
  default: string;
440
462
  };
441
463
  }>> & {
442
- onShown?: (...args: any[]) => any;
443
464
  onHidden?: (...args: any[]) => any;
465
+ onShown?: (...args: any[]) => any;
444
466
  onClosed?: (...args: any[]) => any;
445
467
  "onUpdate:isShow"?: (...args: any[]) => any;
446
468
  "onAnimation-end"?: (...args: any[]) => any;
447
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("shown" | "hidden" | "closed" | "update:isShow" | "animation-end")[], "shown" | "hidden" | "closed" | "update:isShow" | "animation-end", {
469
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", {
448
470
  title: string;
449
471
  width: string | number;
450
472
  height: string | number;
@@ -465,5 +487,6 @@ declare const BkSideslider: {
465
487
  fullscreen: boolean;
466
488
  animateType: string;
467
489
  multiInstance: boolean;
490
+ bodyClass: string | unknown[];
468
491
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
469
492
  export default BkSideslider;
@@ -653,11 +653,14 @@ sliderPops.height["default"] = '100%';
653
653
  return null;
654
654
  }
655
655
  };
656
- var className = "".concat(resolveClassName('sideslider-wrapper'), " ").concat(props.scrollable ? 'scroll-able' : '', " ").concat(props.extCls);
656
+ var className = resolveClassName('sideslider-wrapper');
657
+ var bodyClass = props.scrollable ? 'scroll-able' : '';
657
658
  var maxHeight = slots.footer ? 'calc(100vh - 106px)' : 'calc(100vh - 52px)';
658
659
  return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(props, {
659
- "maxHeight": maxHeight,
660
660
  "class": className,
661
+ "maxHeight": maxHeight,
662
+ "extCls": props.extCls,
663
+ "bodyClass": bodyClass,
661
664
  "onHidden": handleHidden,
662
665
  "onShown": handleShown,
663
666
  "onClose": handleClose
@@ -84,13 +84,18 @@ declare const _default: import("vue").DefineComponent<{
84
84
  default: boolean;
85
85
  };
86
86
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
87
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
88
+ default: string;
89
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
90
+ default: () => unknown[];
91
+ });
87
92
  left: import("vue-types").VueTypeValidableDef<string> & {
88
93
  default: string;
89
94
  };
90
95
  top: import("vue-types").VueTypeValidableDef<string> & {
91
96
  default: string;
92
97
  };
93
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("shown" | "hidden" | "closed" | "update:isShow" | "animation-end")[], "shown" | "hidden" | "closed" | "update:isShow" | "animation-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
98
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
94
99
  direction: {
95
100
  type: StringConstructor;
96
101
  default: string;
@@ -176,6 +181,11 @@ declare const _default: import("vue").DefineComponent<{
176
181
  default: boolean;
177
182
  };
178
183
  infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
184
+ bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
185
+ default: string;
186
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
187
+ default: () => unknown[];
188
+ });
179
189
  left: import("vue-types").VueTypeValidableDef<string> & {
180
190
  default: string;
181
191
  };
@@ -183,8 +193,8 @@ declare const _default: import("vue").DefineComponent<{
183
193
  default: string;
184
194
  };
185
195
  }>> & {
186
- onShown?: (...args: any[]) => any;
187
196
  onHidden?: (...args: any[]) => any;
197
+ onShown?: (...args: any[]) => any;
188
198
  onClosed?: (...args: any[]) => any;
189
199
  "onUpdate:isShow"?: (...args: any[]) => any;
190
200
  "onAnimation-end"?: (...args: any[]) => any;
@@ -209,5 +219,6 @@ declare const _default: import("vue").DefineComponent<{
209
219
  fullscreen: boolean;
210
220
  animateType: string;
211
221
  multiInstance: boolean;
222
+ bodyClass: string | unknown[];
212
223
  }, {}>;
213
224
  export default _default;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-sideslider {
128
131
  position: fixed;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-slider {
128
131
  display: flex;
@@ -13,6 +13,7 @@
13
13
  --whitesmoke-color: #fafbfd;
14
14
  --disable-color: #dcdee5;
15
15
  --disable-bg-color: #f9fafd;
16
+ --border-color: #dcdee5;
16
17
  --font-size-base: 12px;
17
18
  --font-size-medium: 14px;
18
19
  --font-size-large: 16px;
@@ -124,6 +125,8 @@
124
125
  --search-select-placeholder-color: var(--light-gray);
125
126
  --search-select-message-color: var(--danger-color);
126
127
  --search-select-menu-border-color: var(--disable-color);
128
+ --select-active-color: #e1ecff;
129
+ --select-hover-color: #f5f7fa;
127
130
  }
128
131
  * {
129
132
  box-sizing: border-box;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  @keyframes loading-scale-animate {
128
131
  0% {
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-popper {
128
131
  display: none;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-F-scroll-x {
128
131
  overflow-x: auto;
@@ -12,9 +12,7 @@ body {
12
12
  padding: 0;
13
13
  margin: 0;
14
14
  }
15
- *,
16
- *::before,
17
- *::after {
15
+ * {
18
16
  box-sizing: border-box;
19
17
  }
20
18
  /**
@@ -9,7 +9,7 @@
9
9
  &::-webkit-scrollbar-thumb {
10
10
  background: #ddd;
11
11
  border-radius: 20px;
12
- box-shadow: inset 0 0 6px rgba(204, 204, 204, .3);
12
+ box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
13
13
  }
14
14
  }
15
15
 
@@ -19,9 +19,7 @@ body {
19
19
  margin: 0;
20
20
  }
21
21
 
22
- *,
23
- *::before,
24
- *::after {
22
+ * {
25
23
  box-sizing: border-box;
26
24
  }
27
25
 
@@ -199,7 +197,6 @@ select {
199
197
  * 3. Improve usability and consistency of cursor style between image-type `input` and others.
200
198
  */
201
199
  button,
202
-
203
200
  html input[type='button'],
204
201
  input[type='reset'],
205
202
  input[type='submit'] {
@@ -295,7 +292,7 @@ input[type='search']::-webkit-search-decoration {
295
292
  * Define consistent border, margin, and padding.
296
293
  */
297
294
  fieldset {
298
- padding: .35em .625em .75em;
295
+ padding: 0.35em 0.625em 0.75em;
299
296
  margin: 0 2px;
300
297
  border: 1px solid #c0c0c0;
301
298
  }
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .scroll-bar-style::-webkit-scrollbar {
128
131
  width: 4px;
@@ -138,9 +141,7 @@ body {
138
141
  padding: 0;
139
142
  margin: 0;
140
143
  }
141
- *,
142
- *::before,
143
- *::after {
144
+ * {
144
145
  box-sizing: border-box;
145
146
  }
146
147
  /**
@@ -13,6 +13,7 @@
13
13
  @whitesmoke-color: #fafbfd;
14
14
  @disable-color: #dcdee5;
15
15
  @disable-bg-color: #f9fafd;
16
+ @border-color: #dcdee5;
16
17
 
17
18
  @font-size-base: 12px;
18
19
  @font-size-medium: 14px;
@@ -167,3 +168,7 @@
167
168
  @search-select-placeholder-color: @light-gray;
168
169
  @search-select-message-color: @danger-color;
169
170
  @search-select-menu-border-color: @disable-color;
171
+
172
+ // select theme
173
+ @select-active-color: #e1ecff;
174
+ @select-hover-color: #f5f7fa;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-swiper-home {
128
131
  position: relative;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  @keyframes loading-scale-animate {
128
131
  0% {
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-tab {
128
131
  position: relative;
@@ -1,6 +1,14 @@
1
+ type StackStorageFnType = {
2
+ [name: string]: {
3
+ timerId?: number;
4
+ fn?: () => void;
5
+ };
6
+ };
1
7
  export default class BkTableCache {
2
- storage: any;
8
+ storage: WeakMap<Object, StackStorageFnType>;
9
+ defKey: symbol;
3
10
  constructor();
4
- queueStack(methodName: any, fn?: () => void): void;
5
- clearQueueStack(methodName: any): void;
11
+ queueStack(methodName: any, fn?: () => void, key?: Object): void;
12
+ clearQueueStack(methodName: any, key?: Object): void;
6
13
  }
14
+ export {};
@@ -14,7 +14,7 @@ declare const TableColumnProp: {
14
14
  default: string;
15
15
  };
16
16
  showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
17
- type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
17
+ type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
18
18
  resizable: import("vue-types").VueTypeValidableDef<boolean> & {
19
19
  default: boolean;
20
20
  } & {
@@ -49,6 +49,17 @@ declare const TableColumnProp: {
49
49
  } & {
50
50
  default: number;
51
51
  };
52
+ uniqueId: import("vue-types").VueTypeValidableDef<{
53
+ [key: string]: any;
54
+ }> & {
55
+ default: () => {
56
+ [key: string]: any;
57
+ };
58
+ } & {
59
+ default: () => {
60
+ [key: string]: any;
61
+ };
62
+ };
52
63
  };
53
64
  export type ITableColumn = Partial<ExtractPropTypes<typeof TableColumnProp>>;
54
65
  declare const _default: import("vue").DefineComponent<{
@@ -65,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
65
76
  default: string;
66
77
  };
67
78
  showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
68
- type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
79
+ type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
69
80
  resizable: import("vue-types").VueTypeValidableDef<boolean> & {
70
81
  default: boolean;
71
82
  } & {
@@ -100,7 +111,20 @@ declare const _default: import("vue").DefineComponent<{
100
111
  } & {
101
112
  default: number;
102
113
  };
114
+ uniqueId: import("vue-types").VueTypeValidableDef<{
115
+ [key: string]: any;
116
+ }> & {
117
+ default: () => {
118
+ [key: string]: any;
119
+ };
120
+ } & {
121
+ default: () => {
122
+ [key: string]: any;
123
+ };
124
+ };
103
125
  }, {
126
+ isIndexPropChanged: import("vue").Ref<boolean>;
127
+ setIsIndexChanged: (val: boolean) => void;
104
128
  initColumns: (_col: Column | Column[], _rm?: boolean) => void;
105
129
  bkTableCache: {
106
130
  queueStack: (_: any, fn: any) => any;
@@ -143,6 +167,9 @@ declare const _default: import("vue").DefineComponent<{
143
167
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
144
168
  };
145
169
  };
170
+ uniqueId?: {
171
+ [key: string]: any;
172
+ };
146
173
  render?: import("../props").RenderFunctionString;
147
174
  sort?: string | boolean | {
148
175
  sortFn?: Function;
@@ -160,7 +187,7 @@ declare const _default: import("vue").DefineComponent<{
160
187
  height?: number;
161
188
  maxHeight?: number;
162
189
  };
163
- type?: "none" | "index" | "selection" | "expand";
190
+ type?: "index" | "selection" | "expand" | "__COL_TYPE_NONE";
164
191
  label?: import("../props").LabelFunctionString;
165
192
  width?: string | number;
166
193
  className?: import("../props").RowClassFunctionString;
@@ -179,7 +206,72 @@ declare const _default: import("vue").DefineComponent<{
179
206
  };
180
207
  }, unknown, {}, {
181
208
  updateColumnDefine(unmounted?: boolean): void;
182
- copyProps(props: ITableColumn): {};
209
+ copyProps(props: Partial<ExtractPropTypes<{
210
+ label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
211
+ field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
212
+ render: import("vue-types").VueTypeDef<import("../props").RenderFunctionString>;
213
+ width: import("vue-types").VueTypeDef<string | number>;
214
+ minWidth: import("vue-types").VueTypeDef<string | number> & {
215
+ default: string | number;
216
+ };
217
+ columnKey: import("vue-types").VueTypeValidableDef<string> & {
218
+ default: string;
219
+ } & {
220
+ default: string;
221
+ };
222
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
223
+ type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
224
+ resizable: import("vue-types").VueTypeValidableDef<boolean> & {
225
+ default: boolean;
226
+ } & {
227
+ default: boolean;
228
+ };
229
+ fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
230
+ default: boolean | "right" | "left";
231
+ };
232
+ sort: import("vue-types").VueTypeDef<import("../props").ISortPropShape>;
233
+ filter: import("vue-types").VueTypeDef<import("../props").IFilterPropShape>;
234
+ colspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
235
+ default: (({ column, colIndex, row, rowIndex }: {
236
+ column: any;
237
+ colIndex: any;
238
+ row: any;
239
+ rowIndex: any;
240
+ }) => number) | (() => Number);
241
+ };
242
+ rowspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
243
+ default: (({ column, colIndex, row, rowIndex }: {
244
+ column: any;
245
+ colIndex: any;
246
+ row: any;
247
+ rowIndex: any;
248
+ }) => number) | (() => Number);
249
+ };
250
+ align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
251
+ className: import("vue-types").VueTypeDef<import("../props").RowClassFunctionString>;
252
+ prop: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
253
+ index: import("vue-types").VueTypeValidableDef<number> & {
254
+ default: number;
255
+ } & {
256
+ default: number;
257
+ };
258
+ uniqueId: import("vue-types").VueTypeValidableDef<{
259
+ [key: string]: any;
260
+ }> & {
261
+ default: () => {
262
+ [key: string]: any;
263
+ };
264
+ } & {
265
+ default: () => {
266
+ [key: string]: any;
267
+ };
268
+ };
269
+ }>> | {
270
+ [key: string]: any;
271
+ }): {};
272
+ rsolveIndexedColumn(): boolean;
273
+ setNodeUid(): void;
274
+ getNodeUid(ctx: any): any;
183
275
  updateColumnDefineByParent(): void;
184
276
  unmountColumn(): void;
185
277
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
@@ -196,7 +288,7 @@ declare const _default: import("vue").DefineComponent<{
196
288
  default: string;
197
289
  };
198
290
  showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
199
- type: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
291
+ type: import("vue-types").VueTypeDef<"index" | "selection" | "expand" | "__COL_TYPE_NONE">;
200
292
  resizable: import("vue-types").VueTypeValidableDef<boolean> & {
201
293
  default: boolean;
202
294
  } & {
@@ -231,6 +323,17 @@ declare const _default: import("vue").DefineComponent<{
231
323
  } & {
232
324
  default: number;
233
325
  };
326
+ uniqueId: import("vue-types").VueTypeValidableDef<{
327
+ [key: string]: any;
328
+ }> & {
329
+ default: () => {
330
+ [key: string]: any;
331
+ };
332
+ } & {
333
+ default: () => {
334
+ [key: string]: any;
335
+ };
336
+ };
234
337
  }>>, {
235
338
  fixed: boolean | "right" | "left";
236
339
  resizable: boolean;
@@ -239,5 +342,8 @@ declare const _default: import("vue").DefineComponent<{
239
342
  columnKey: string;
240
343
  colspan: import("../props").SpanFunctionString;
241
344
  rowspan: import("../props").SpanFunctionString;
345
+ uniqueId: {
346
+ [key: string]: any;
347
+ };
242
348
  }, {}>;
243
349
  export default _default;