bkui-vue 0.0.1-beta.14 → 0.0.1-beta.17

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 (260) hide show
  1. package/README.md +25 -17
  2. package/README_EN.md +89 -0
  3. package/dist/bkui-vue.cjs.js +2266 -535
  4. package/dist/bkui-vue.esm.js +2308 -582
  5. package/dist/bkui-vue.umd.js +2266 -535
  6. package/dist/style.css +601 -189
  7. package/lib/alert/alert.d.ts +24 -15
  8. package/lib/alert/alert.variable.css +6 -0
  9. package/lib/alert/index.d.ts +96 -60
  10. package/lib/alert/index.js +1 -1
  11. package/lib/animate-number/animate-number.d.ts +12 -7
  12. package/lib/animate-number/index.d.ts +48 -28
  13. package/lib/backtop/backtop.d.ts +27 -13
  14. package/lib/backtop/backtop.variable.css +6 -0
  15. package/lib/backtop/index.d.ts +108 -52
  16. package/lib/backtop/index.js +1 -1
  17. package/lib/badge/badge.d.ts +40 -19
  18. package/lib/badge/badge.variable.css +6 -0
  19. package/lib/badge/index.d.ts +144 -76
  20. package/lib/badge/index.js +1 -1
  21. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  22. package/lib/breadcrumb/breadcrumb.css +10 -1
  23. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  24. package/lib/breadcrumb/breadcrumb.less +13 -2
  25. package/lib/breadcrumb/breadcrumb.variable.css +16 -1
  26. package/lib/breadcrumb/index.d.ts +117 -45
  27. package/lib/breadcrumb/index.js +1 -1
  28. package/lib/button/button-group.d.ts +3 -5
  29. package/lib/button/button.d.ts +27 -22
  30. package/lib/button/button.variable.css +6 -0
  31. package/lib/button/index.d.ts +111 -93
  32. package/lib/button/index.js +1 -1
  33. package/lib/card/card.d.ts +30 -15
  34. package/lib/card/card.variable.css +6 -0
  35. package/lib/card/index.d.ts +120 -60
  36. package/lib/card/index.js +1 -1
  37. package/lib/checkbox/checkbox-group.d.ts +13 -9
  38. package/lib/checkbox/checkbox.d.ts +31 -22
  39. package/lib/checkbox/checkbox.variable.css +6 -0
  40. package/lib/checkbox/index.d.ts +137 -97
  41. package/lib/checkbox/index.js +1 -1
  42. package/lib/collapse/collapse.d.ts +50 -18
  43. package/lib/collapse/index.d.ts +108 -72
  44. package/lib/collapse/index.js +1 -1
  45. package/lib/components.d.ts +4 -0
  46. package/lib/date-picker/date-picker.d.ts +110 -63
  47. package/lib/date-picker/date-picker.variable.css +6 -0
  48. package/lib/date-picker/index.d.ts +437 -249
  49. package/lib/date-picker/index.js +1 -1
  50. package/lib/dialog/dialog.d.ts +46 -25
  51. package/lib/dialog/index.d.ts +179 -95
  52. package/lib/directives/index.js +1 -1
  53. package/lib/divider/divider.d.ts +21 -13
  54. package/lib/divider/divider.variable.css +6 -0
  55. package/lib/divider/index.d.ts +84 -52
  56. package/lib/dropdown/dropdown-item.d.ts +6 -5
  57. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  58. package/lib/dropdown/dropdown.d.ts +25 -13
  59. package/lib/dropdown/dropdown.variable.css +6 -0
  60. package/lib/dropdown/index.d.ts +94 -62
  61. package/lib/exception/exception.d.ts +11 -9
  62. package/lib/exception/exception.variable.css +6 -0
  63. package/lib/exception/index.d.ts +44 -36
  64. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  65. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -0
  66. package/lib/fixed-navbar/index.d.ts +60 -36
  67. package/lib/form/form-item.d.ts +46 -27
  68. package/lib/form/form.d.ts +21 -13
  69. package/lib/form/index.js +1 -1
  70. package/lib/icon/angle-double-left.js +15 -0
  71. package/lib/icon/angle-double-right.js +15 -0
  72. package/lib/icon/angle-down-fill.d.ts +4 -0
  73. package/lib/icon/angle-down-fill.js +15 -0
  74. package/lib/icon/angle-down-line.js +15 -0
  75. package/lib/icon/angle-down.js +15 -0
  76. package/lib/icon/angle-left.js +15 -0
  77. package/lib/icon/angle-right.js +15 -0
  78. package/lib/icon/angle-up-fill.d.ts +4 -0
  79. package/lib/icon/angle-up-fill.js +15 -0
  80. package/lib/icon/angle-up.js +15 -0
  81. package/lib/icon/arrows-left.d.ts +4 -0
  82. package/lib/icon/arrows-left.js +15 -0
  83. package/lib/icon/circle.js +15 -0
  84. package/lib/icon/close.js +15 -0
  85. package/lib/icon/code.js +15 -0
  86. package/lib/icon/cog-shape.js +15 -0
  87. package/lib/icon/collapse-left.js +15 -0
  88. package/lib/icon/copy.js +15 -0
  89. package/lib/icon/done.js +15 -0
  90. package/lib/icon/down-shape.js +15 -0
  91. package/lib/icon/down-small.js +15 -0
  92. package/lib/icon/error.js +15 -0
  93. package/lib/icon/eye.js +15 -0
  94. package/lib/icon/folder-open.js +15 -0
  95. package/lib/icon/folder-shape-open.js +15 -0
  96. package/lib/icon/folder-shape.js +15 -0
  97. package/lib/icon/folder.js +15 -0
  98. package/lib/icon/help-document-fill.js +15 -0
  99. package/lib/icon/help-fill.js +15 -0
  100. package/lib/icon/help.js +15 -0
  101. package/lib/icon/icon.js +15 -0
  102. package/lib/icon/index.d.ts +7 -3
  103. package/lib/icon/index.js +1 -1
  104. package/lib/icon/info-line.js +15 -0
  105. package/lib/icon/info.js +15 -0
  106. package/lib/icon/play-shape.js +15 -0
  107. package/lib/icon/plus.js +15 -0
  108. package/lib/icon/right-shape.js +15 -0
  109. package/lib/icon/search.js +15 -0
  110. package/lib/icon/share.js +15 -0
  111. package/lib/icon/spinner.d.ts +4 -0
  112. package/lib/icon/spinner.js +15 -0
  113. package/lib/icon/success.js +15 -0
  114. package/lib/icon/switcher-loading.js +15 -0
  115. package/lib/icon/text-file.js +15 -0
  116. package/lib/icon/tree-application-shape.js +15 -0
  117. package/lib/icon/unvisible.js +15 -0
  118. package/lib/icon/warn.js +15 -0
  119. package/lib/input/index.d.ts +251 -163
  120. package/lib/input/index.js +2 -2
  121. package/lib/input/input.css +1 -0
  122. package/lib/input/input.d.ts +62 -40
  123. package/lib/input/input.less +4 -3
  124. package/lib/input/input.variable.css +7 -0
  125. package/lib/link/index.d.ts +100 -52
  126. package/lib/link/link.d.ts +25 -13
  127. package/lib/link/link.variable.css +6 -0
  128. package/lib/loading/index.d.ts +64 -64
  129. package/lib/loading/index.js +1 -1
  130. package/lib/loading/loading.d.ts +16 -16
  131. package/lib/loading/loading.variable.css +6 -0
  132. package/lib/menu/index.d.ts +90 -71
  133. package/lib/menu/index.js +1 -1
  134. package/lib/menu/menu-group.d.ts +6 -5
  135. package/lib/menu/menu-item.d.ts +6 -5
  136. package/lib/menu/menu.d.ts +18 -14
  137. package/lib/menu/menu.variable.css +6 -0
  138. package/lib/menu/submenu.css +3 -0
  139. package/lib/menu/submenu.d.ts +6 -5
  140. package/lib/menu/submenu.less +1 -1
  141. package/lib/menu/submenu.variable.css +9 -0
  142. package/lib/message/index.js +1 -1
  143. package/lib/message/message.variable.css +6 -0
  144. package/lib/message/messageConstructor.d.ts +28 -16
  145. package/lib/modal/index.d.ts +92 -56
  146. package/lib/modal/index.js +1 -1
  147. package/lib/modal/modal.d.ts +24 -15
  148. package/lib/modal/props.mixin.d.ts +1 -1
  149. package/lib/navigation/index.js +1 -1
  150. package/lib/navigation/navigation-title.d.ts +10 -7
  151. package/lib/navigation/navigation.d.ts +40 -23
  152. package/lib/navigation/navigation.variable.css +6 -0
  153. package/lib/notify/index.js +1 -1
  154. package/lib/notify/notify.variable.css +6 -0
  155. package/lib/notify/notifyConstructor.d.ts +37 -21
  156. package/lib/popover/index.d.ts +219 -134
  157. package/lib/popover/index.js +1 -1
  158. package/lib/popover/popover.css +22 -13
  159. package/lib/popover/popover.d.ts +73 -44
  160. package/lib/popover/popover.less +55 -45
  161. package/lib/popover/popover.variable.css +28 -13
  162. package/lib/popover/props.d.ts +77 -0
  163. package/lib/process/index.d.ts +120 -60
  164. package/lib/process/index.js +1 -1
  165. package/lib/process/process.css +2 -3
  166. package/lib/process/process.d.ts +30 -15
  167. package/lib/process/process.less +2 -3
  168. package/lib/process/process.variable.css +8 -3
  169. package/lib/progress/index.d.ts +290 -120
  170. package/lib/progress/index.js +1 -1
  171. package/lib/progress/progress.css +0 -3
  172. package/lib/progress/progress.d.ts +84 -31
  173. package/lib/progress/progress.less +0 -4
  174. package/lib/progress/progress.variable.css +6 -3
  175. package/lib/radio/index.d.ts +127 -78
  176. package/lib/radio/index.js +1 -1
  177. package/lib/radio/radio-button.d.ts +24 -16
  178. package/lib/radio/radio-group.d.ts +11 -10
  179. package/lib/radio/radio.d.ts +23 -13
  180. package/lib/radio/radio.variable.css +6 -0
  181. package/lib/rate/index.d.ts +52 -40
  182. package/lib/rate/rate.d.ts +13 -10
  183. package/lib/rate/star.d.ts +32 -15
  184. package/lib/select/common.d.ts +10 -1
  185. package/lib/select/index.d.ts +515 -503
  186. package/lib/select/index.js +2 -2
  187. package/lib/select/option.d.ts +10 -17
  188. package/lib/select/optionGroup.d.ts +67 -52
  189. package/lib/select/select.css +71 -14
  190. package/lib/select/select.d.ts +136 -137
  191. package/lib/select/select.less +73 -14
  192. package/lib/select/select.variable.css +77 -14
  193. package/lib/shared/bk-helper-core.d.ts +6 -0
  194. package/lib/shared/bk-popover.d.ts +45 -4
  195. package/lib/shared/index.d.ts +10 -0
  196. package/lib/shared/index.js +1 -1
  197. package/lib/shared/utils.d.ts +6 -0
  198. package/lib/sideslider/index.d.ts +111 -63
  199. package/lib/sideslider/sideslider.d.ts +29 -17
  200. package/lib/sideslider/sideslider.variable.css +6 -0
  201. package/lib/slider/slider-button.d.ts +10 -7
  202. package/lib/slider/slider.d.ts +70 -40
  203. package/lib/slider/slider.variable.css +6 -0
  204. package/lib/steps/index.d.ts +156 -104
  205. package/lib/steps/index.js +1 -1
  206. package/lib/steps/steps.css +3 -0
  207. package/lib/steps/steps.d.ts +39 -26
  208. package/lib/steps/steps.less +4 -0
  209. package/lib/steps/steps.variable.css +9 -0
  210. package/lib/styles/index.d.ts +2 -0
  211. package/lib/styles/index.js +1 -1
  212. package/lib/styles/themes/themes.less +10 -0
  213. package/lib/switcher/index.d.ts +192 -128
  214. package/lib/switcher/index.js +1 -1
  215. package/lib/switcher/switcher.css +149 -135
  216. package/lib/switcher/switcher.d.ts +48 -32
  217. package/lib/switcher/switcher.less +210 -154
  218. package/lib/switcher/switcher.variable.css +155 -135
  219. package/lib/tab/index.d.ts +344 -208
  220. package/lib/tab/index.js +1 -1
  221. package/lib/tab/tab-nav.d.ts +74 -38
  222. package/lib/tab/tab-panel.d.ts +22 -20
  223. package/lib/tab/tab.d.ts +64 -32
  224. package/lib/tab/tab.variable.css +6 -0
  225. package/lib/table/const.d.ts +4 -0
  226. package/lib/table/index.d.ts +169 -70
  227. package/lib/table/index.js +1 -1
  228. package/lib/table/props.d.ts +56 -0
  229. package/lib/table/render.d.ts +19 -3
  230. package/lib/table/table.css +52 -13
  231. package/lib/table/table.d.ts +71 -12
  232. package/lib/table/table.less +62 -18
  233. package/lib/table/table.variable.css +60 -15
  234. package/lib/table/utils.d.ts +34 -1
  235. package/lib/tag/index.d.ts +10 -286
  236. package/lib/tag/tag.d.ts +2 -48
  237. package/lib/tag/tag.variable.css +6 -0
  238. package/lib/timeline/index.d.ts +129 -0
  239. package/lib/timeline/index.js +1 -0
  240. package/lib/timeline/timeline.css +235 -0
  241. package/lib/timeline/timeline.d.ts +81 -0
  242. package/lib/timeline/timeline.less +239 -0
  243. package/lib/timeline/timeline.variable.css +327 -0
  244. package/lib/tree/index.d.ts +148 -69
  245. package/lib/tree/index.js +1 -1
  246. package/lib/tree/props.d.ts +70 -0
  247. package/lib/tree/tree.css +16 -7
  248. package/lib/tree/tree.d.ts +51 -23
  249. package/lib/tree/tree.less +24 -24
  250. package/lib/tree/tree.variable.css +16 -7
  251. package/lib/tree/util.d.ts +3 -44
  252. package/lib/virtual-render/index.d.ts +556 -0
  253. package/lib/virtual-render/index.js +1 -0
  254. package/lib/virtual-render/props.d.ts +157 -0
  255. package/lib/virtual-render/v-virtual-render.d.ts +7 -0
  256. package/lib/virtual-render/virtual-render.css +40 -0
  257. package/lib/virtual-render/virtual-render.d.ts +244 -0
  258. package/lib/virtual-render/virtual-render.less +51 -0
  259. package/lib/virtual-render/virtual-render.variable.css +40 -0
  260. package/package.json +9 -7
@@ -119,51 +119,73 @@ declare const _default: import("vue").DefineComponent<{
119
119
  };
120
120
  modelValue: import("vue-types").VueTypeDef<string | number>;
121
121
  size: import("vue-types").VueTypeDef<string>;
122
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "update:modelValue")[], "input" | "focus" | "blur" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
123
- type?: unknown;
124
- clearable?: unknown;
125
- disabled?: unknown;
126
- readonly?: unknown;
127
- placeholder?: unknown;
128
- prefixIcon?: unknown;
129
- suffixIcon?: unknown;
130
- suffix?: unknown;
131
- prefix?: unknown;
132
- step?: unknown;
133
- max?: unknown;
134
- min?: unknown;
135
- maxlength?: unknown;
136
- showWordLimit?: unknown;
137
- showControl?: unknown;
138
- precision?: unknown;
139
- modelValue?: unknown;
140
- size?: unknown;
141
- } & {
142
- prefix: string;
143
- placeholder: string;
144
- step: number;
145
- disabled: boolean;
146
- type: string;
147
- readonly: boolean;
148
- clearable: boolean;
149
- max: number;
150
- min: number;
151
- maxlength: number;
152
- prefixIcon: string;
153
- suffixIcon: string;
154
- suffix: string;
155
- showWordLimit: boolean;
156
- showControl: boolean;
157
- precision: number;
158
- } & {
159
- size?: string;
160
- modelValue?: string | number;
161
- }> & {
122
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "keydown" | "clear" | "update:modelValue")[], "input" | "focus" | "blur" | "change" | "keydown" | "clear" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
123
+ type: import("vue-types").VueTypeValidableDef<string> & {
124
+ default: string;
125
+ } & {
126
+ default: string;
127
+ };
128
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
129
+ default: boolean;
130
+ };
131
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
132
+ default: boolean;
133
+ };
134
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
135
+ default: boolean;
136
+ };
137
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
138
+ default: string;
139
+ };
140
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
141
+ default: string;
142
+ };
143
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
144
+ default: string;
145
+ };
146
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
147
+ default: string;
148
+ };
149
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
150
+ default: string;
151
+ };
152
+ step: import("vue-types").VueTypeDef<number> & {
153
+ default: number;
154
+ };
155
+ max: import("vue-types").VueTypeDef<number> & {
156
+ default: number;
157
+ };
158
+ min: import("vue-types").VueTypeDef<number> & {
159
+ default: number;
160
+ };
161
+ maxlength: import("vue-types").VueTypeDef<number> & {
162
+ default: number;
163
+ };
164
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
165
+ default: boolean;
166
+ };
167
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
168
+ default: boolean;
169
+ } & {
170
+ default: boolean;
171
+ };
172
+ precision: import("vue-types").VueTypeValidableDef<number> & {
173
+ default: number;
174
+ } & {
175
+ default: number;
176
+ } & {
177
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
178
+ };
179
+ modelValue: import("vue-types").VueTypeDef<string | number>;
180
+ size: import("vue-types").VueTypeDef<string>;
181
+ }>> & {
162
182
  onFocus?: (...args: any[]) => any;
163
183
  onBlur?: (...args: any[]) => any;
164
184
  onChange?: (...args: any[]) => any;
165
185
  onInput?: (...args: any[]) => any;
186
+ onKeydown?: (...args: any[]) => any;
166
187
  "onUpdate:modelValue"?: (...args: any[]) => any;
188
+ onClear?: (...args: any[]) => any;
167
189
  }, {
168
190
  prefix: string;
169
191
  placeholder: string;
@@ -3,7 +3,7 @@
3
3
  @import '../styles/mixins/mixins.less';
4
4
 
5
5
  .active(@color: @primary-color) {
6
- border-color: @primary-color;
6
+ border-color: @primary-color;
7
7
  outline: 0;
8
8
  box-shadow: 0px 0px 3px 0px @input-shadow-color;
9
9
  }
@@ -26,6 +26,7 @@
26
26
  &--suffix-icon {
27
27
  padding-right: @input-horizontal-padding;
28
28
  font-size: @input-icon-size;
29
+ line-height: 1;
29
30
  color: @light-gray;
30
31
  align-self: center;
31
32
  }
@@ -69,7 +70,7 @@
69
70
  color: @input-maxlength-color;
70
71
  }
71
72
  }
72
-
73
+
73
74
  &--text {
74
75
  padding: 0 @input-horizontal-padding;
75
76
  font-size: @font-size-base;
@@ -97,7 +98,7 @@
97
98
  height: 0;
98
99
  }
99
100
 
100
- [type=search]::-ms-reveal {
101
+ [type=search]::-ms-reveal {
101
102
  display: none;
102
103
  width: 0;
103
104
  height: 0;
@@ -83,6 +83,12 @@
83
83
  --date-picker-disabled-bg: #fafbfd;
84
84
  --date-picker-dropdown-mb: 4px;
85
85
  --date-picker-dropdown-bg: #fff;
86
+ --table-bg-color: var(--white-color);
87
+ --table-border-color: #dcdee5;
88
+ --table-head-bg-color: #fafbfd;
89
+ --table-head-font-color: #313238;
90
+ --table-body-font-color: #575961;
91
+ --table-row-hover-bg-color: #f5f7fa;
86
92
  }
87
93
  @keyframes loading-scale-animate {
88
94
  0% {
@@ -117,6 +123,7 @@
117
123
  .bk-input--suffix-icon {
118
124
  padding-right: var(--input-horizontal-padding);
119
125
  font-size: var(--input-icon-size);
126
+ line-height: 1;
120
127
  color: var(--light-gray);
121
128
  align-self: center;
122
129
  }
@@ -8,19 +8,31 @@ declare const BkLink: {
8
8
  underline: boolean;
9
9
  disabled: boolean;
10
10
  href: string;
11
- }> & Omit<Readonly<{
12
- theme?: unknown;
13
- href?: unknown;
14
- disabled?: unknown;
15
- underline?: unknown;
16
- target?: unknown;
17
- } & {
18
- theme: string;
19
- target: string;
20
- underline: boolean;
21
- disabled: boolean;
22
- href: string;
23
- } & {}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "target" | "underline" | "disabled" | "href">;
11
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
+ theme: import("vue-types").VueTypeDef<string> & {
13
+ default: string;
14
+ };
15
+ href: import("vue-types").VueTypeValidableDef<string> & {
16
+ default: string;
17
+ } & {
18
+ default: string;
19
+ };
20
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
21
+ default: boolean;
22
+ } & {
23
+ default: boolean;
24
+ };
25
+ underline: import("vue-types").VueTypeValidableDef<boolean> & {
26
+ default: boolean;
27
+ } & {
28
+ default: boolean;
29
+ };
30
+ target: import("vue-types").VueTypeValidableDef<string> & {
31
+ default: string;
32
+ } & {
33
+ default: string;
34
+ };
35
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "target" | "underline" | "disabled" | "href">;
24
36
  $attrs: {
25
37
  [x: string]: unknown;
26
38
  };
@@ -34,19 +46,31 @@ declare const BkLink: {
34
46
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
35
47
  $emit: (event: string, ...args: any[]) => void;
36
48
  $el: any;
37
- $options: import("vue").ComponentOptionsBase<Readonly<{
38
- theme?: unknown;
39
- href?: unknown;
40
- disabled?: unknown;
41
- underline?: unknown;
42
- target?: unknown;
43
- } & {
44
- theme: string;
45
- target: string;
46
- underline: boolean;
47
- disabled: boolean;
48
- href: string;
49
- } & {}> & {}, {
49
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
50
+ theme: import("vue-types").VueTypeDef<string> & {
51
+ default: string;
52
+ };
53
+ href: import("vue-types").VueTypeValidableDef<string> & {
54
+ default: string;
55
+ } & {
56
+ default: string;
57
+ };
58
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
59
+ default: boolean;
60
+ } & {
61
+ default: boolean;
62
+ };
63
+ underline: import("vue-types").VueTypeValidableDef<boolean> & {
64
+ default: boolean;
65
+ } & {
66
+ default: boolean;
67
+ };
68
+ target: import("vue-types").VueTypeValidableDef<string> & {
69
+ default: string;
70
+ } & {
71
+ default: string;
72
+ };
73
+ }>>, {
50
74
  handleClick: (event: Event) => boolean;
51
75
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
52
76
  theme: string;
@@ -74,37 +98,61 @@ declare const BkLink: {
74
98
  $forceUpdate: () => void;
75
99
  $nextTick: typeof import("vue").nextTick;
76
100
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
77
- } & Readonly<{
78
- theme?: unknown;
79
- href?: unknown;
80
- disabled?: unknown;
81
- underline?: unknown;
82
- target?: unknown;
83
- } & {
84
- theme: string;
85
- target: string;
86
- underline: boolean;
87
- disabled: boolean;
88
- href: string;
89
- } & {}> & {} & import("vue").ShallowUnwrapRef<{
101
+ } & Readonly<import("vue").ExtractPropTypes<{
102
+ theme: import("vue-types").VueTypeDef<string> & {
103
+ default: string;
104
+ };
105
+ href: import("vue-types").VueTypeValidableDef<string> & {
106
+ default: string;
107
+ } & {
108
+ default: string;
109
+ };
110
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
111
+ default: boolean;
112
+ } & {
113
+ default: boolean;
114
+ };
115
+ underline: import("vue-types").VueTypeValidableDef<boolean> & {
116
+ default: boolean;
117
+ } & {
118
+ default: boolean;
119
+ };
120
+ target: import("vue-types").VueTypeValidableDef<string> & {
121
+ default: string;
122
+ } & {
123
+ default: string;
124
+ };
125
+ }>> & import("vue").ShallowUnwrapRef<{
90
126
  handleClick: (event: Event) => boolean;
91
127
  }> & {} & {} & import("vue").ComponentCustomProperties;
92
128
  __isFragment?: never;
93
129
  __isTeleport?: never;
94
130
  __isSuspense?: never;
95
- } & import("vue").ComponentOptionsBase<Readonly<{
96
- theme?: unknown;
97
- href?: unknown;
98
- disabled?: unknown;
99
- underline?: unknown;
100
- target?: unknown;
101
- } & {
102
- theme: string;
103
- target: string;
104
- underline: boolean;
105
- disabled: boolean;
106
- href: string;
107
- } & {}> & {}, {
131
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
132
+ theme: import("vue-types").VueTypeDef<string> & {
133
+ default: string;
134
+ };
135
+ href: import("vue-types").VueTypeValidableDef<string> & {
136
+ default: string;
137
+ } & {
138
+ default: string;
139
+ };
140
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
141
+ default: boolean;
142
+ } & {
143
+ default: boolean;
144
+ };
145
+ underline: import("vue-types").VueTypeValidableDef<boolean> & {
146
+ default: boolean;
147
+ } & {
148
+ default: boolean;
149
+ };
150
+ target: import("vue-types").VueTypeValidableDef<string> & {
151
+ default: string;
152
+ } & {
153
+ default: string;
154
+ };
155
+ }>>, {
108
156
  handleClick: (event: Event) => boolean;
109
157
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
110
158
  theme: string;
@@ -24,19 +24,31 @@ declare const _default: import("vue").DefineComponent<{
24
24
  };
25
25
  }, {
26
26
  handleClick: (event: Event) => boolean;
27
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
28
- theme?: unknown;
29
- href?: unknown;
30
- disabled?: unknown;
31
- underline?: unknown;
32
- target?: unknown;
33
- } & {
34
- theme: string;
35
- target: string;
36
- underline: boolean;
37
- disabled: boolean;
38
- href: string;
39
- } & {}> & {}, {
27
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ theme: import("vue-types").VueTypeDef<string> & {
29
+ default: string;
30
+ };
31
+ href: import("vue-types").VueTypeValidableDef<string> & {
32
+ default: string;
33
+ } & {
34
+ default: string;
35
+ };
36
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
37
+ default: boolean;
38
+ } & {
39
+ default: boolean;
40
+ };
41
+ underline: import("vue-types").VueTypeValidableDef<boolean> & {
42
+ default: boolean;
43
+ } & {
44
+ default: boolean;
45
+ };
46
+ target: import("vue-types").VueTypeValidableDef<string> & {
47
+ default: string;
48
+ } & {
49
+ default: string;
50
+ };
51
+ }>>, {
40
52
  theme: string;
41
53
  target: string;
42
54
  underline: boolean;
@@ -83,6 +83,12 @@
83
83
  --date-picker-disabled-bg: #fafbfd;
84
84
  --date-picker-dropdown-mb: 4px;
85
85
  --date-picker-dropdown-bg: #fff;
86
+ --table-bg-color: var(--white-color);
87
+ --table-border-color: #dcdee5;
88
+ --table-head-bg-color: #fafbfd;
89
+ --table-head-font-color: #313238;
90
+ --table-body-font-color: #575961;
91
+ --table-row-hover-bg-color: #f5f7fa;
86
92
  }
87
93
  .bk-link {
88
94
  font-size: var(--font-size-medium);
@@ -6,22 +6,22 @@ declare const BkLoading: {
6
6
  $props: Partial<{
7
7
  title: string;
8
8
  loading: boolean;
9
- }> & Omit<Readonly<{
10
- indicator?: unknown;
11
- loading?: unknown;
12
- theme?: unknown;
13
- title?: unknown;
14
- size?: unknown;
15
- mode?: unknown;
16
- } & {
17
- title: string;
18
- loading: boolean;
19
- } & {
20
- theme?: string;
21
- size?: string;
22
- indicator?: Function;
23
- mode?: BkLoadingMode;
24
- }> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "loading">;
9
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
10
+ indicator: {
11
+ type: FunctionConstructor;
12
+ };
13
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
14
+ default: boolean;
15
+ };
16
+ theme: import("vue-types").VueTypeDef<string>;
17
+ title: import("vue-types").VueTypeValidableDef<string> & {
18
+ default: string;
19
+ } & {
20
+ default: string;
21
+ };
22
+ size: import("vue-types").VueTypeDef<string>;
23
+ mode: import("vue-types").VueTypeDef<BkLoadingMode>;
24
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "loading">;
25
25
  $attrs: {
26
26
  [x: string]: unknown;
27
27
  };
@@ -35,22 +35,22 @@ declare const BkLoading: {
35
35
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
36
36
  $emit: (event: string, ...args: any[]) => void;
37
37
  $el: any;
38
- $options: import("vue").ComponentOptionsBase<Readonly<{
39
- indicator?: unknown;
40
- loading?: unknown;
41
- theme?: unknown;
42
- title?: unknown;
43
- size?: unknown;
44
- mode?: unknown;
45
- } & {
46
- title: string;
47
- loading: boolean;
48
- } & {
49
- theme?: string;
50
- size?: string;
51
- indicator?: Function;
52
- mode?: BkLoadingMode;
53
- }> & {}, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
39
+ indicator: {
40
+ type: FunctionConstructor;
41
+ };
42
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
43
+ default: boolean;
44
+ };
45
+ theme: import("vue-types").VueTypeDef<string>;
46
+ title: import("vue-types").VueTypeValidableDef<string> & {
47
+ default: string;
48
+ } & {
49
+ default: string;
50
+ };
51
+ size: import("vue-types").VueTypeDef<string>;
52
+ mode: import("vue-types").VueTypeDef<BkLoadingMode>;
53
+ }>>, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
54
  [key: string]: any;
55
55
  }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
56
56
  title: string;
@@ -75,43 +75,43 @@ declare const BkLoading: {
75
75
  $forceUpdate: () => void;
76
76
  $nextTick: typeof import("vue").nextTick;
77
77
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
78
- } & Readonly<{
79
- indicator?: unknown;
80
- loading?: unknown;
81
- theme?: unknown;
82
- title?: unknown;
83
- size?: unknown;
84
- mode?: unknown;
85
- } & {
86
- title: string;
87
- loading: boolean;
88
- } & {
89
- theme?: string;
90
- size?: string;
91
- indicator?: Function;
92
- mode?: BkLoadingMode;
93
- }> & {} & import("vue").ShallowUnwrapRef<() => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
78
+ } & Readonly<import("vue").ExtractPropTypes<{
79
+ indicator: {
80
+ type: FunctionConstructor;
81
+ };
82
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
83
+ default: boolean;
84
+ };
85
+ theme: import("vue-types").VueTypeDef<string>;
86
+ title: import("vue-types").VueTypeValidableDef<string> & {
87
+ default: string;
88
+ } & {
89
+ default: string;
90
+ };
91
+ size: import("vue-types").VueTypeDef<string>;
92
+ mode: import("vue-types").VueTypeDef<BkLoadingMode>;
93
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
94
94
  [key: string]: any;
95
95
  }>[]> & {} & {} & import("vue").ComponentCustomProperties;
96
96
  __isFragment?: never;
97
97
  __isTeleport?: never;
98
98
  __isSuspense?: never;
99
- } & import("vue").ComponentOptionsBase<Readonly<{
100
- indicator?: unknown;
101
- loading?: unknown;
102
- theme?: unknown;
103
- title?: unknown;
104
- size?: unknown;
105
- mode?: unknown;
106
- } & {
107
- title: string;
108
- loading: boolean;
109
- } & {
110
- theme?: string;
111
- size?: string;
112
- indicator?: Function;
113
- mode?: BkLoadingMode;
114
- }> & {}, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
99
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
100
+ indicator: {
101
+ type: FunctionConstructor;
102
+ };
103
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
104
+ default: boolean;
105
+ };
106
+ theme: import("vue-types").VueTypeDef<string>;
107
+ title: import("vue-types").VueTypeValidableDef<string> & {
108
+ default: string;
109
+ } & {
110
+ default: string;
111
+ };
112
+ size: import("vue-types").VueTypeDef<string>;
113
+ mode: import("vue-types").VueTypeDef<BkLoadingMode>;
114
+ }>>, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
115
115
  [key: string]: any;
116
116
  }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
117
117
  title: string;
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,o,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}};!function(e){e.exports=function(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e},e.exports.default=e.exports,e.exports.__esModule=!0}(a);var i,d,l,r=n(a.exports);function u(e){l="function"==typeof e?e:function(){return o.createVNode(e,null,null)}}e.BkLoadingMode=void 0,(i=e.BkLoadingMode||(e.BkLoadingMode={})).Spin="spin",i.Default="default",e.BkLoadingSize=void 0,(d=e.BkLoadingSize||(e.BkLoadingSize={})).Small="small",d.Large="large";var s={indicator:{type:Function},loading:t.PropTypes.bool,theme:t.PropTypes.theme(["white","primary","warning","success","danger"]),title:t.PropTypes.string.def(""),size:t.PropTypes.size(),mode:t.PropTypes.oneOf(Object.values(e.BkLoadingMode))},c=o.defineComponent({name:"Loading",props:s,setup:function(e,n){var a=[1,2,3,4].map((function(e){return o.createVNode("span",{class:"dot dot-".concat(e)},null)})),i=o.createVNode("div",{class:"bk-spin-indicator"},[[1,2,3,4,5,6,7,8].map((function(e){return o.createVNode("span",{class:"oval oval-".concat(e)},null)}))]),d=o.computed((function(){return t.classes({"bk-nested-loading":!!n.slots.default},"bk-loading-wrapper")})),u=o.computed((function(){var o;return t.classes((r(o={},"bk-loading-size-".concat(e.size),!e.size),r(o,"bk-loading-".concat(e.theme),!e.theme),o),"bk-loading-indicator")})),s=o.computed((function(){return!!e.title})),c=o.computed((function(){var t="spin"===e.mode;return"function"==typeof e.indicator?o.createVNode(e.indicator,null,null):"function"==typeof l?o.createVNode(l,null,null):t?i:a}));return function(){var t,a;return n.slots.default&&!e.loading?null===(a=(t=n.slots).default)||void 0===a?void 0:a.call(t):o.createVNode("div",{class:d.value},[o.createVNode("div",{class:u.value},[c.value,s.value&&o.createVNode("div",{class:"bk-loading-title"},[e.title])]),n.slots.default&&o.createVNode("div",{class:"bk-loading-mask"},[n.slots.default()])])}}}),p=t.withInstallProps(c,{setDefaultIndicator:u,BkLoadingMode:e.BkLoadingMode,BkLoadingSize:e.BkLoadingSize},!0);e.BkLoading=p,e.default=p,e.setDefaultIndicator=u,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,o,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}};!function(e){e.exports=function(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e},e.exports.__esModule=!0,e.exports.default=e.exports}(a);var i,d,l,r=n(a.exports);function u(e){l="function"==typeof e?e:function(){return o.createVNode(e,null,null)}}e.BkLoadingMode=void 0,(i=e.BkLoadingMode||(e.BkLoadingMode={})).Spin="spin",i.Default="default",e.BkLoadingSize=void 0,(d=e.BkLoadingSize||(e.BkLoadingSize={})).Small="small",d.Large="large";var s={indicator:{type:Function},loading:t.PropTypes.bool,theme:t.PropTypes.theme(["white","primary","warning","success","danger"]),title:t.PropTypes.string.def(""),size:t.PropTypes.size(),mode:t.PropTypes.oneOf(Object.values(e.BkLoadingMode))},c=o.defineComponent({name:"Loading",props:s,setup:function(e,n){var a=[1,2,3,4].map((function(e){return o.createVNode("span",{class:"dot dot-".concat(e)},null)})),i=o.createVNode("div",{class:"bk-spin-indicator"},[[1,2,3,4,5,6,7,8].map((function(e){return o.createVNode("span",{class:"oval oval-".concat(e)},null)}))]),d=o.computed((function(){return t.classes({"bk-nested-loading":!!n.slots.default},"bk-loading-wrapper")})),u=o.computed((function(){var o;return t.classes((r(o={},"bk-loading-size-".concat(e.size),!e.size),r(o,"bk-loading-".concat(e.theme),!e.theme),o),"bk-loading-indicator")})),s=o.computed((function(){return!!e.title})),c=o.computed((function(){var t="spin"===e.mode;return"function"==typeof e.indicator?o.createVNode(e.indicator,null,null):"function"==typeof l?o.createVNode(l,null,null):t?i:a}));return function(){var t,a;return n.slots.default&&!e.loading?null===(a=(t=n.slots).default)||void 0===a?void 0:a.call(t):o.createVNode("div",{class:d.value},[o.createVNode("div",{class:u.value},[c.value,s.value&&o.createVNode("div",{class:"bk-loading-title"},[e.title])]),n.slots.default&&o.createVNode("div",{class:"bk-loading-mask"},[n.slots.default()])])}}}),p=t.withInstallProps(c,{setDefaultIndicator:u,BkLoadingMode:e.BkLoadingMode,BkLoadingSize:e.BkLoadingSize},!0);e.BkLoading=p,e.default=p,e.setDefaultIndicator=u,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -42,22 +42,22 @@ declare const _default: import("vue").DefineComponent<{
42
42
  mode: import("vue-types").VueTypeDef<BkLoadingMode>;
43
43
  }, () => JSX.Element | VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
44
  [key: string]: any;
45
- }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
46
- indicator?: unknown;
47
- loading?: unknown;
48
- theme?: unknown;
49
- title?: unknown;
50
- size?: unknown;
51
- mode?: unknown;
52
- } & {
53
- title: string;
54
- loading: boolean;
55
- } & {
56
- theme?: string;
57
- size?: string;
58
- indicator?: Function;
59
- mode?: BkLoadingMode;
60
- }> & {}, {
45
+ }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
46
+ indicator: {
47
+ type: FunctionConstructor;
48
+ };
49
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
50
+ default: boolean;
51
+ };
52
+ theme: import("vue-types").VueTypeDef<string>;
53
+ title: import("vue-types").VueTypeValidableDef<string> & {
54
+ default: string;
55
+ } & {
56
+ default: string;
57
+ };
58
+ size: import("vue-types").VueTypeDef<string>;
59
+ mode: import("vue-types").VueTypeDef<BkLoadingMode>;
60
+ }>>, {
61
61
  title: string;
62
62
  loading: boolean;
63
63
  }>;
@@ -83,6 +83,12 @@
83
83
  --date-picker-disabled-bg: #fafbfd;
84
84
  --date-picker-dropdown-mb: 4px;
85
85
  --date-picker-dropdown-bg: #fff;
86
+ --table-bg-color: var(--white-color);
87
+ --table-border-color: #dcdee5;
88
+ --table-head-bg-color: #fafbfd;
89
+ --table-head-font-color: #313238;
90
+ --table-body-font-color: #575961;
91
+ --table-row-hover-bg-color: #f5f7fa;
86
92
  }
87
93
  @keyframes loading-scale-animate {
88
94
  0% {