bkui-vue 0.0.1-beta.15 → 0.0.1-beta.18

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 (250) hide show
  1. package/dist/bkui-vue.cjs.js +1171 -186
  2. package/dist/bkui-vue.esm.js +1214 -233
  3. package/dist/bkui-vue.umd.js +1171 -186
  4. package/dist/style.css +469 -14
  5. package/lib/alert/alert.d.ts +24 -15
  6. package/lib/alert/alert.variable.css +7 -0
  7. package/lib/alert/index.d.ts +96 -60
  8. package/lib/alert/index.js +1 -1
  9. package/lib/animate-number/animate-number.d.ts +12 -7
  10. package/lib/animate-number/index.d.ts +48 -28
  11. package/lib/backtop/backtop.d.ts +27 -13
  12. package/lib/backtop/backtop.variable.css +7 -0
  13. package/lib/backtop/index.d.ts +108 -52
  14. package/lib/backtop/index.js +1 -1
  15. package/lib/badge/badge.d.ts +40 -19
  16. package/lib/badge/badge.variable.css +7 -0
  17. package/lib/badge/index.d.ts +144 -76
  18. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  19. package/lib/breadcrumb/breadcrumb.d.ts +21 -13
  20. package/lib/breadcrumb/breadcrumb.variable.css +7 -0
  21. package/lib/breadcrumb/index.d.ts +97 -61
  22. package/lib/breadcrumb/index.js +1 -1
  23. package/lib/button/button-group.d.ts +3 -5
  24. package/lib/button/button.d.ts +27 -22
  25. package/lib/button/button.variable.css +7 -0
  26. package/lib/button/index.d.ts +111 -93
  27. package/lib/card/card.d.ts +30 -15
  28. package/lib/card/card.variable.css +7 -0
  29. package/lib/card/index.d.ts +120 -60
  30. package/lib/checkbox/checkbox-group.d.ts +13 -9
  31. package/lib/checkbox/checkbox.d.ts +31 -22
  32. package/lib/checkbox/checkbox.variable.css +7 -0
  33. package/lib/checkbox/index.d.ts +137 -97
  34. package/lib/collapse/collapse.d.ts +50 -18
  35. package/lib/collapse/index.d.ts +108 -72
  36. package/lib/collapse/index.js +1 -1
  37. package/lib/components.d.ts +3 -0
  38. package/lib/date-picker/date-picker.d.ts +110 -63
  39. package/lib/date-picker/date-picker.variable.css +7 -0
  40. package/lib/date-picker/index.d.ts +437 -249
  41. package/lib/date-picker/index.js +1 -1
  42. package/lib/dialog/dialog.d.ts +46 -25
  43. package/lib/dialog/index.d.ts +179 -95
  44. package/lib/divider/divider.d.ts +21 -13
  45. package/lib/divider/divider.variable.css +7 -0
  46. package/lib/divider/index.d.ts +84 -52
  47. package/lib/dropdown/dropdown-item.d.ts +6 -5
  48. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  49. package/lib/dropdown/dropdown.d.ts +25 -13
  50. package/lib/dropdown/dropdown.variable.css +7 -0
  51. package/lib/dropdown/index.d.ts +94 -62
  52. package/lib/exception/exception.d.ts +11 -9
  53. package/lib/exception/exception.variable.css +7 -0
  54. package/lib/exception/index.d.ts +44 -36
  55. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  56. package/lib/fixed-navbar/fixed-navbar.variable.css +7 -0
  57. package/lib/fixed-navbar/index.d.ts +60 -36
  58. package/lib/form/form-item.d.ts +46 -27
  59. package/lib/form/form.d.ts +22 -14
  60. package/lib/form/index.d.ts +285 -3
  61. package/lib/form/index.js +1 -1
  62. package/lib/icon/angle-double-down-line.d.ts +4 -0
  63. package/lib/icon/angle-double-down-line.js +15 -0
  64. package/lib/icon/angle-double-left-line.d.ts +4 -0
  65. package/lib/icon/angle-double-left-line.js +15 -0
  66. package/lib/icon/angle-double-left.js +15 -0
  67. package/lib/icon/angle-double-right-line.d.ts +4 -0
  68. package/lib/icon/angle-double-right-line.js +15 -0
  69. package/lib/icon/angle-double-right.js +15 -0
  70. package/lib/icon/angle-double-up-line.d.ts +4 -0
  71. package/lib/icon/angle-double-up-line.js +15 -0
  72. package/lib/icon/angle-down-fill.js +15 -0
  73. package/lib/icon/angle-down-line.js +15 -0
  74. package/lib/icon/angle-down.js +15 -0
  75. package/lib/icon/angle-left.js +15 -0
  76. package/lib/icon/angle-right.js +15 -0
  77. package/lib/icon/angle-up-fill.js +15 -0
  78. package/lib/icon/angle-up.js +15 -0
  79. package/lib/icon/arrows-left.js +15 -0
  80. package/lib/icon/circle.js +15 -0
  81. package/lib/icon/close.js +15 -0
  82. package/lib/icon/code.js +15 -0
  83. package/lib/icon/cog-shape.js +15 -0
  84. package/lib/icon/collapse-left.js +15 -0
  85. package/lib/icon/copy.js +15 -0
  86. package/lib/icon/done.js +15 -0
  87. package/lib/icon/down-shape.js +15 -0
  88. package/lib/icon/down-small.js +15 -0
  89. package/lib/icon/ellipsis.d.ts +4 -0
  90. package/lib/icon/ellipsis.js +15 -0
  91. package/lib/icon/error.js +15 -0
  92. package/lib/icon/eye.js +15 -0
  93. package/lib/icon/folder-open.js +15 -0
  94. package/lib/icon/folder-shape-open.js +15 -0
  95. package/lib/icon/folder-shape.js +15 -0
  96. package/lib/icon/folder.js +15 -0
  97. package/lib/icon/help-document-fill.js +15 -0
  98. package/lib/icon/help-fill.js +15 -0
  99. package/lib/icon/help.js +15 -0
  100. package/lib/icon/icon.js +15 -0
  101. package/lib/icon/index.d.ts +7 -0
  102. package/lib/icon/index.js +1 -1
  103. package/lib/icon/info-line.js +15 -0
  104. package/lib/icon/info.js +15 -0
  105. package/lib/icon/left-shape.d.ts +4 -0
  106. package/lib/icon/left-shape.js +15 -0
  107. package/lib/icon/play-shape.js +15 -0
  108. package/lib/icon/plus.js +15 -0
  109. package/lib/icon/right-shape.js +15 -0
  110. package/lib/icon/search.js +15 -0
  111. package/lib/icon/share.js +15 -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/up-shape.d.ts +4 -0
  119. package/lib/icon/up-shape.js +15 -0
  120. package/lib/icon/warn.js +15 -0
  121. package/lib/input/index.d.ts +240 -160
  122. package/lib/input/index.js +2 -2
  123. package/lib/input/input.d.ts +60 -40
  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 +7 -0
  128. package/lib/loading/index.d.ts +64 -64
  129. package/lib/loading/loading.d.ts +16 -16
  130. package/lib/loading/loading.variable.css +7 -0
  131. package/lib/menu/index.d.ts +90 -71
  132. package/lib/menu/index.js +1 -1
  133. package/lib/menu/menu-group.d.ts +6 -5
  134. package/lib/menu/menu-item.d.ts +6 -5
  135. package/lib/menu/menu.d.ts +18 -14
  136. package/lib/menu/menu.variable.css +7 -0
  137. package/lib/menu/submenu.css +3 -0
  138. package/lib/menu/submenu.d.ts +6 -5
  139. package/lib/menu/submenu.less +1 -1
  140. package/lib/menu/submenu.variable.css +10 -0
  141. package/lib/message/index.js +1 -1
  142. package/lib/message/message.variable.css +7 -0
  143. package/lib/message/messageConstructor.d.ts +28 -16
  144. package/lib/modal/index.d.ts +92 -56
  145. package/lib/modal/index.js +1 -1
  146. package/lib/modal/modal.d.ts +24 -15
  147. package/lib/modal/props.mixin.d.ts +1 -1
  148. package/lib/navigation/index.js +1 -1
  149. package/lib/navigation/navigation-title.d.ts +10 -7
  150. package/lib/navigation/navigation.d.ts +40 -23
  151. package/lib/navigation/navigation.variable.css +7 -0
  152. package/lib/notify/index.js +1 -1
  153. package/lib/notify/notify.variable.css +7 -0
  154. package/lib/notify/notifyConstructor.d.ts +36 -20
  155. package/lib/pagination/index.d.ts +395 -0
  156. package/lib/pagination/index.js +1 -0
  157. package/lib/pagination/pagination.css +179 -0
  158. package/lib/pagination/pagination.d.ts +220 -0
  159. package/lib/pagination/pagination.less +201 -0
  160. package/lib/pagination/pagination.variable.css +272 -0
  161. package/lib/pagination/type.d.ts +6 -0
  162. package/lib/pagination/use-limit.d.ts +8 -0
  163. package/lib/pagination/use-list.d.ts +8 -0
  164. package/lib/pagination/use-small-list.d.ts +5 -0
  165. package/lib/pagination/use-total.d.ts +5 -0
  166. package/lib/popover/index.d.ts +207 -177
  167. package/lib/popover/popover.css +1 -0
  168. package/lib/popover/popover.d.ts +52 -30
  169. package/lib/popover/popover.less +2 -0
  170. package/lib/popover/popover.variable.css +8 -0
  171. package/lib/process/index.d.ts +120 -60
  172. package/lib/process/index.js +1 -1
  173. package/lib/process/process.css +2 -3
  174. package/lib/process/process.d.ts +30 -15
  175. package/lib/process/process.less +2 -3
  176. package/lib/process/process.variable.css +9 -3
  177. package/lib/progress/index.d.ts +284 -136
  178. package/lib/progress/progress.d.ts +71 -34
  179. package/lib/progress/progress.variable.css +7 -0
  180. package/lib/radio/index.d.ts +127 -78
  181. package/lib/radio/radio-button.d.ts +24 -16
  182. package/lib/radio/radio-group.d.ts +11 -10
  183. package/lib/radio/radio.d.ts +23 -13
  184. package/lib/radio/radio.variable.css +7 -0
  185. package/lib/rate/index.d.ts +52 -40
  186. package/lib/rate/rate.d.ts +13 -10
  187. package/lib/rate/star.d.ts +32 -15
  188. package/lib/select/index.d.ts +396 -327
  189. package/lib/select/index.js +2 -2
  190. package/lib/select/option.d.ts +9 -10
  191. package/lib/select/optionGroup.d.ts +49 -41
  192. package/lib/select/select.css +2 -1
  193. package/lib/select/select.d.ts +98 -84
  194. package/lib/select/select.less +2 -1
  195. package/lib/select/select.variable.css +9 -1
  196. package/lib/shared/index.js +1 -1
  197. package/lib/sideslider/index.d.ts +111 -63
  198. package/lib/sideslider/sideslider.d.ts +29 -17
  199. package/lib/sideslider/sideslider.variable.css +7 -0
  200. package/lib/slider/slider-button.d.ts +10 -7
  201. package/lib/slider/slider.d.ts +70 -40
  202. package/lib/slider/slider.variable.css +7 -0
  203. package/lib/steps/index.d.ts +156 -104
  204. package/lib/steps/index.js +1 -1
  205. package/lib/steps/steps.css +3 -0
  206. package/lib/steps/steps.d.ts +39 -26
  207. package/lib/steps/steps.less +4 -0
  208. package/lib/steps/steps.variable.css +10 -0
  209. package/lib/styles/index.d.ts +2 -0
  210. package/lib/styles/index.js +1 -1
  211. package/lib/styles/themes/themes.less +11 -0
  212. package/lib/switcher/index.d.ts +192 -128
  213. package/lib/switcher/index.js +1 -1
  214. package/lib/switcher/switcher.d.ts +48 -32
  215. package/lib/switcher/switcher.variable.css +7 -0
  216. package/lib/tab/index.d.ts +344 -208
  217. package/lib/tab/index.js +1 -1
  218. package/lib/tab/tab-nav.d.ts +74 -38
  219. package/lib/tab/tab-panel.d.ts +22 -20
  220. package/lib/tab/tab.d.ts +64 -32
  221. package/lib/tab/tab.variable.css +7 -0
  222. package/lib/table/const.d.ts +4 -0
  223. package/lib/table/index.d.ts +154 -130
  224. package/lib/table/index.js +1 -1
  225. package/lib/table/props.d.ts +18 -0
  226. package/lib/table/render.d.ts +18 -2
  227. package/lib/table/table.css +47 -10
  228. package/lib/table/table.d.ts +47 -22
  229. package/lib/table/table.less +61 -17
  230. package/lib/table/table.variable.css +56 -12
  231. package/lib/table/utils.d.ts +28 -2
  232. package/lib/tag/index.d.ts +10 -286
  233. package/lib/tag/tag.d.ts +2 -48
  234. package/lib/tag/tag.variable.css +7 -0
  235. package/lib/timeline/index.d.ts +129 -0
  236. package/lib/timeline/index.js +1 -0
  237. package/lib/timeline/timeline.css +235 -0
  238. package/lib/timeline/timeline.d.ts +81 -0
  239. package/lib/timeline/timeline.less +239 -0
  240. package/lib/timeline/timeline.variable.css +328 -0
  241. package/lib/tree/index.d.ts +140 -75
  242. package/lib/tree/index.js +1 -1
  243. package/lib/tree/props.d.ts +19 -1
  244. package/lib/tree/tree.d.ts +42 -20
  245. package/lib/use-form.d.ts +3 -0
  246. package/lib/virtual-render/index.d.ts +410 -249
  247. package/lib/virtual-render/index.js +1 -1
  248. package/lib/virtual-render/props.d.ts +10 -0
  249. package/lib/virtual-render/virtual-render.d.ts +110 -41
  250. package/package.json +2 -2
@@ -6,36 +6,57 @@ declare const BkDialog: {
6
6
  width: string | number;
7
7
  height: string | number;
8
8
  isShow: boolean;
9
- customClass: string;
9
+ customClass: string | unknown[];
10
10
  scrollable: boolean;
11
11
  Title: string;
12
12
  confirmText: string;
13
13
  cancelText: string;
14
14
  headerAlign: string;
15
15
  footerAlign: string;
16
- }> & Omit<Readonly<{
17
- confirmText?: unknown;
18
- cancelText?: unknown;
19
- Title?: unknown;
20
- headerAlign?: unknown;
21
- footerAlign?: unknown;
22
- isShow?: unknown;
23
- width?: unknown;
24
- height?: unknown;
25
- customClass?: unknown;
26
- scrollable?: unknown;
27
- } & {
28
- width: string | number;
29
- height: string | number;
30
- isShow: boolean;
31
- customClass: string;
32
- scrollable: boolean;
33
- Title: string;
34
- confirmText: string;
35
- cancelText: string;
36
- headerAlign: string;
37
- footerAlign: string;
38
- } & {}> & {
16
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
17
+ confirmText: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ cancelText: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ Title: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ headerAlign: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ validator: (value: string) => boolean;
33
+ };
34
+ footerAlign: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ validator: (value: string) => boolean;
38
+ };
39
+ isShow: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ width: {
44
+ type: (NumberConstructor | StringConstructor)[];
45
+ default: string;
46
+ };
47
+ height: {
48
+ type: (NumberConstructor | StringConstructor)[];
49
+ default: string;
50
+ };
51
+ customClass: {
52
+ type: (ArrayConstructor | StringConstructor)[];
53
+ default: string;
54
+ };
55
+ scrollable: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ }>> & {
39
60
  onClosed?: (...args: any[]) => any;
40
61
  "onUpdate:isShow"?: (...args: any[]) => any;
41
62
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "isShow" | "customClass" | "scrollable" | "Title" | "confirmText" | "cancelText" | "headerAlign" | "footerAlign">;
@@ -52,29 +73,50 @@ declare const BkDialog: {
52
73
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
53
74
  $emit: (event: "closed" | "update:isShow", ...args: any[]) => void;
54
75
  $el: any;
55
- $options: import("vue").ComponentOptionsBase<Readonly<{
56
- confirmText?: unknown;
57
- cancelText?: unknown;
58
- Title?: unknown;
59
- headerAlign?: unknown;
60
- footerAlign?: unknown;
61
- isShow?: unknown;
62
- width?: unknown;
63
- height?: unknown;
64
- customClass?: unknown;
65
- scrollable?: unknown;
66
- } & {
67
- width: string | number;
68
- height: string | number;
69
- isShow: boolean;
70
- customClass: string;
71
- scrollable: boolean;
72
- Title: string;
73
- confirmText: string;
74
- cancelText: string;
75
- headerAlign: string;
76
- footerAlign: string;
77
- } & {}> & {
76
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
77
+ confirmText: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ cancelText: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ Title: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ headerAlign: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ validator: (value: string) => boolean;
93
+ };
94
+ footerAlign: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ validator: (value: string) => boolean;
98
+ };
99
+ isShow: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ width: {
104
+ type: (NumberConstructor | StringConstructor)[];
105
+ default: string;
106
+ };
107
+ height: {
108
+ type: (NumberConstructor | StringConstructor)[];
109
+ default: string;
110
+ };
111
+ customClass: {
112
+ type: (ArrayConstructor | StringConstructor)[];
113
+ default: string;
114
+ };
115
+ scrollable: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ }>> & {
78
120
  onClosed?: (...args: any[]) => any;
79
121
  "onUpdate:isShow"?: (...args: any[]) => any;
80
122
  }, unknown, unknown, {}, {
@@ -83,7 +125,7 @@ declare const BkDialog: {
83
125
  width: string | number;
84
126
  height: string | number;
85
127
  isShow: boolean;
86
- customClass: string;
128
+ customClass: string | unknown[];
87
129
  scrollable: boolean;
88
130
  Title: string;
89
131
  confirmText: string;
@@ -110,29 +152,50 @@ declare const BkDialog: {
110
152
  $forceUpdate: () => void;
111
153
  $nextTick: typeof import("vue").nextTick;
112
154
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
113
- } & Readonly<{
114
- confirmText?: unknown;
115
- cancelText?: unknown;
116
- Title?: unknown;
117
- headerAlign?: unknown;
118
- footerAlign?: unknown;
119
- isShow?: unknown;
120
- width?: unknown;
121
- height?: unknown;
122
- customClass?: unknown;
123
- scrollable?: unknown;
124
- } & {
125
- width: string | number;
126
- height: string | number;
127
- isShow: boolean;
128
- customClass: string;
129
- scrollable: boolean;
130
- Title: string;
131
- confirmText: string;
132
- cancelText: string;
133
- headerAlign: string;
134
- footerAlign: string;
135
- } & {}> & {
155
+ } & Readonly<import("vue").ExtractPropTypes<{
156
+ confirmText: {
157
+ type: StringConstructor;
158
+ default: string;
159
+ };
160
+ cancelText: {
161
+ type: StringConstructor;
162
+ default: string;
163
+ };
164
+ Title: {
165
+ type: StringConstructor;
166
+ default: string;
167
+ };
168
+ headerAlign: {
169
+ type: StringConstructor;
170
+ default: string;
171
+ validator: (value: string) => boolean;
172
+ };
173
+ footerAlign: {
174
+ type: StringConstructor;
175
+ default: string;
176
+ validator: (value: string) => boolean;
177
+ };
178
+ isShow: {
179
+ type: BooleanConstructor;
180
+ default: boolean;
181
+ };
182
+ width: {
183
+ type: (NumberConstructor | StringConstructor)[];
184
+ default: string;
185
+ };
186
+ height: {
187
+ type: (NumberConstructor | StringConstructor)[];
188
+ default: string;
189
+ };
190
+ customClass: {
191
+ type: (ArrayConstructor | StringConstructor)[];
192
+ default: string;
193
+ };
194
+ scrollable: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ }>> & {
136
199
  onClosed?: (...args: any[]) => any;
137
200
  "onUpdate:isShow"?: (...args: any[]) => any;
138
201
  } & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
@@ -141,29 +204,50 @@ declare const BkDialog: {
141
204
  __isFragment?: never;
142
205
  __isTeleport?: never;
143
206
  __isSuspense?: never;
144
- } & import("vue").ComponentOptionsBase<Readonly<{
145
- confirmText?: unknown;
146
- cancelText?: unknown;
147
- Title?: unknown;
148
- headerAlign?: unknown;
149
- footerAlign?: unknown;
150
- isShow?: unknown;
151
- width?: unknown;
152
- height?: unknown;
153
- customClass?: unknown;
154
- scrollable?: unknown;
155
- } & {
156
- width: string | number;
157
- height: string | number;
158
- isShow: boolean;
159
- customClass: string;
160
- scrollable: boolean;
161
- Title: string;
162
- confirmText: string;
163
- cancelText: string;
164
- headerAlign: string;
165
- footerAlign: string;
166
- } & {}> & {
207
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
208
+ confirmText: {
209
+ type: StringConstructor;
210
+ default: string;
211
+ };
212
+ cancelText: {
213
+ type: StringConstructor;
214
+ default: string;
215
+ };
216
+ Title: {
217
+ type: StringConstructor;
218
+ default: string;
219
+ };
220
+ headerAlign: {
221
+ type: StringConstructor;
222
+ default: string;
223
+ validator: (value: string) => boolean;
224
+ };
225
+ footerAlign: {
226
+ type: StringConstructor;
227
+ default: string;
228
+ validator: (value: string) => boolean;
229
+ };
230
+ isShow: {
231
+ type: BooleanConstructor;
232
+ default: boolean;
233
+ };
234
+ width: {
235
+ type: (NumberConstructor | StringConstructor)[];
236
+ default: string;
237
+ };
238
+ height: {
239
+ type: (NumberConstructor | StringConstructor)[];
240
+ default: string;
241
+ };
242
+ customClass: {
243
+ type: (ArrayConstructor | StringConstructor)[];
244
+ default: string;
245
+ };
246
+ scrollable: {
247
+ type: BooleanConstructor;
248
+ default: boolean;
249
+ };
250
+ }>> & {
167
251
  onClosed?: (...args: any[]) => any;
168
252
  "onUpdate:isShow"?: (...args: any[]) => any;
169
253
  }, unknown, unknown, {}, {
@@ -172,7 +256,7 @@ declare const BkDialog: {
172
256
  width: string | number;
173
257
  height: string | number;
174
258
  isShow: boolean;
175
- customClass: string;
259
+ customClass: string | unknown[];
176
260
  scrollable: boolean;
177
261
  Title: string;
178
262
  confirmText: string;
@@ -18,19 +18,27 @@ declare const _default: import("vue").DefineComponent<{
18
18
  type: import("vue-types").VueTypeDef<string> & {
19
19
  default: string;
20
20
  };
21
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
22
- direction?: unknown;
23
- align?: unknown;
24
- color?: unknown;
25
- width?: unknown;
26
- type?: unknown;
27
- } & {
28
- width: number;
29
- color: string;
30
- type: string;
31
- direction: string;
32
- align: string;
33
- } & {}> & {}, {
21
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ direction: import("vue-types").VueTypeDef<string> & {
23
+ default: string;
24
+ };
25
+ align: import("vue-types").VueTypeDef<string> & {
26
+ default: string;
27
+ };
28
+ color: import("vue-types").VueTypeValidableDef<string> & {
29
+ default: string;
30
+ } & {
31
+ default: string;
32
+ };
33
+ width: import("vue-types").VueTypeValidableDef<number> & {
34
+ default: number;
35
+ } & {
36
+ default: number;
37
+ };
38
+ type: import("vue-types").VueTypeDef<string> & {
39
+ default: string;
40
+ };
41
+ }>>, {
34
42
  width: number;
35
43
  color: string;
36
44
  type: string;
@@ -1,5 +1,6 @@
1
1
  :root {
2
2
  --bk-prefix: bk;
3
+ --popover-max-height: 216px;
3
4
  --primary-color: #3a84ff;
4
5
  --success-color: #2dcb56;
5
6
  --warning-color: #ff9c01;
@@ -83,6 +84,12 @@
83
84
  --date-picker-disabled-bg: #fafbfd;
84
85
  --date-picker-dropdown-mb: 4px;
85
86
  --date-picker-dropdown-bg: #fff;
87
+ --table-bg-color: var(--white-color);
88
+ --table-border-color: #dcdee5;
89
+ --table-head-bg-color: #fafbfd;
90
+ --table-head-font-color: #313238;
91
+ --table-body-font-color: #575961;
92
+ --table-row-hover-bg-color: #f5f7fa;
86
93
  }
87
94
  .bk-divider {
88
95
  position: relative;
@@ -8,19 +8,27 @@ declare const BkDivider: {
8
8
  type: string;
9
9
  direction: string;
10
10
  align: string;
11
- }> & Omit<Readonly<{
12
- direction?: unknown;
13
- align?: unknown;
14
- color?: unknown;
15
- width?: unknown;
16
- type?: unknown;
17
- } & {
18
- width: number;
19
- color: string;
20
- type: string;
21
- direction: string;
22
- align: string;
23
- } & {}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "color" | "type" | "direction" | "align">;
11
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
+ direction: import("vue-types").VueTypeDef<string> & {
13
+ default: string;
14
+ };
15
+ align: import("vue-types").VueTypeDef<string> & {
16
+ default: string;
17
+ };
18
+ color: import("vue-types").VueTypeValidableDef<string> & {
19
+ default: string;
20
+ } & {
21
+ default: string;
22
+ };
23
+ width: import("vue-types").VueTypeValidableDef<number> & {
24
+ default: number;
25
+ } & {
26
+ default: number;
27
+ };
28
+ type: import("vue-types").VueTypeDef<string> & {
29
+ default: string;
30
+ };
31
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "color" | "type" | "direction" | "align">;
24
32
  $attrs: {
25
33
  [x: string]: unknown;
26
34
  };
@@ -34,19 +42,27 @@ declare const BkDivider: {
34
42
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
35
43
  $emit: (event: string, ...args: any[]) => void;
36
44
  $el: any;
37
- $options: import("vue").ComponentOptionsBase<Readonly<{
38
- direction?: unknown;
39
- align?: unknown;
40
- color?: unknown;
41
- width?: unknown;
42
- type?: unknown;
43
- } & {
44
- width: number;
45
- color: string;
46
- type: string;
47
- direction: string;
48
- align: string;
49
- } & {}> & {}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
45
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
46
+ direction: import("vue-types").VueTypeDef<string> & {
47
+ default: string;
48
+ };
49
+ align: import("vue-types").VueTypeDef<string> & {
50
+ default: string;
51
+ };
52
+ color: import("vue-types").VueTypeValidableDef<string> & {
53
+ default: string;
54
+ } & {
55
+ default: string;
56
+ };
57
+ width: import("vue-types").VueTypeValidableDef<number> & {
58
+ default: number;
59
+ } & {
60
+ default: number;
61
+ };
62
+ type: import("vue-types").VueTypeDef<string> & {
63
+ default: string;
64
+ };
65
+ }>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
50
66
  width: number;
51
67
  color: string;
52
68
  type: string;
@@ -72,35 +88,51 @@ declare const BkDivider: {
72
88
  $forceUpdate: () => void;
73
89
  $nextTick: typeof import("vue").nextTick;
74
90
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
75
- } & Readonly<{
76
- direction?: unknown;
77
- align?: unknown;
78
- color?: unknown;
79
- width?: unknown;
80
- type?: unknown;
81
- } & {
82
- width: number;
83
- color: string;
84
- type: string;
85
- direction: string;
86
- align: string;
87
- } & {}> & {} & import("vue").ShallowUnwrapRef<{}> & {} & {} & import("vue").ComponentCustomProperties;
91
+ } & Readonly<import("vue").ExtractPropTypes<{
92
+ direction: import("vue-types").VueTypeDef<string> & {
93
+ default: string;
94
+ };
95
+ align: import("vue-types").VueTypeDef<string> & {
96
+ default: string;
97
+ };
98
+ color: import("vue-types").VueTypeValidableDef<string> & {
99
+ default: string;
100
+ } & {
101
+ default: string;
102
+ };
103
+ width: import("vue-types").VueTypeValidableDef<number> & {
104
+ default: number;
105
+ } & {
106
+ default: number;
107
+ };
108
+ type: import("vue-types").VueTypeDef<string> & {
109
+ default: string;
110
+ };
111
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & {} & import("vue").ComponentCustomProperties;
88
112
  __isFragment?: never;
89
113
  __isTeleport?: never;
90
114
  __isSuspense?: never;
91
- } & import("vue").ComponentOptionsBase<Readonly<{
92
- direction?: unknown;
93
- align?: unknown;
94
- color?: unknown;
95
- width?: unknown;
96
- type?: unknown;
97
- } & {
98
- width: number;
99
- color: string;
100
- type: string;
101
- direction: string;
102
- align: string;
103
- } & {}> & {}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
115
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
116
+ direction: import("vue-types").VueTypeDef<string> & {
117
+ default: string;
118
+ };
119
+ align: import("vue-types").VueTypeDef<string> & {
120
+ default: string;
121
+ };
122
+ color: import("vue-types").VueTypeValidableDef<string> & {
123
+ default: string;
124
+ } & {
125
+ default: string;
126
+ };
127
+ width: import("vue-types").VueTypeValidableDef<number> & {
128
+ default: number;
129
+ } & {
130
+ default: number;
131
+ };
132
+ type: import("vue-types").VueTypeDef<string> & {
133
+ default: string;
134
+ };
135
+ }>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
104
136
  width: number;
105
137
  color: string;
106
138
  type: string;
@@ -6,11 +6,12 @@ declare const _default: import("vue").DefineComponent<{
6
6
  }, {
7
7
  wrapperCLasses: import("vue").ComputedRef<any[]>;
8
8
  handleClick: (evt: MouseEvent) => void;
9
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
10
- extCls?: unknown;
11
- } & {
12
- extCls: string;
13
- } & {}> & {
9
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
+ /** 外部设置的 class name */
11
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
12
+ default: string;
13
+ };
14
+ }>> & {
14
15
  onClick?: (...args: any[]) => any;
15
16
  }, {
16
17
  extCls: string;
@@ -5,11 +5,12 @@ declare const _default: import("vue").DefineComponent<{
5
5
  };
6
6
  }, {
7
7
  wrapperCLasses: import("vue").ComputedRef<any[]>;
8
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
9
- extCls?: unknown;
10
- } & {
11
- extCls: string;
12
- } & {}> & {}, {
8
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9
+ /** 外部设置的 class name */
10
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
11
+ default: string;
12
+ };
13
+ }>>, {
13
14
  extCls: string;
14
15
  }>;
15
16
  export default _default;
@@ -25,19 +25,31 @@ declare const _default: import("vue").DefineComponent<{
25
25
  }, {
26
26
  reference: any;
27
27
  refContent: any;
28
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "showChange"[], "showChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
29
- isShow?: unknown;
30
- placement?: unknown;
31
- trigger?: unknown;
32
- disabled?: unknown;
33
- extCls?: unknown;
34
- } & {
35
- placement: string;
36
- extCls: string;
37
- disabled: boolean;
38
- trigger: string;
39
- isShow: boolean;
40
- } & {}> & {
28
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "showChange"[], "showChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ /** trigger = manual时候控制显隐藏 */
30
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
31
+ default: boolean;
32
+ } & {
33
+ default: boolean;
34
+ };
35
+ placement: import("vue-types").VueTypeDef<string> & {
36
+ default: string;
37
+ };
38
+ /** 触发方式 */
39
+ trigger: import("vue-types").VueTypeDef<string> & {
40
+ default: string;
41
+ };
42
+ /** 是否禁用 */
43
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
44
+ default: boolean;
45
+ } & {
46
+ default: boolean;
47
+ };
48
+ /** 外部设置的 class name */
49
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
50
+ default: string;
51
+ };
52
+ }>> & {
41
53
  onShowChange?: (...args: any[]) => any;
42
54
  }, {
43
55
  placement: string;
@@ -1,5 +1,6 @@
1
1
  :root {
2
2
  --bk-prefix: bk;
3
+ --popover-max-height: 216px;
3
4
  --primary-color: #3a84ff;
4
5
  --success-color: #2dcb56;
5
6
  --warning-color: #ff9c01;
@@ -83,6 +84,12 @@
83
84
  --date-picker-disabled-bg: #fafbfd;
84
85
  --date-picker-dropdown-mb: 4px;
85
86
  --date-picker-dropdown-bg: #fff;
87
+ --table-bg-color: var(--white-color);
88
+ --table-border-color: #dcdee5;
89
+ --table-head-bg-color: #fafbfd;
90
+ --table-head-font-color: #313238;
91
+ --table-body-font-color: #575961;
92
+ --table-row-hover-bg-color: #f5f7fa;
86
93
  }
87
94
  .bk-dropdown {
88
95
  display: inline-block;