bkui-vue 1.0.0 → 1.0.1

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 (261) hide show
  1. package/README.md +1 -0
  2. package/dist/index.cjs.js +47 -47
  3. package/dist/index.esm.js +10405 -10394
  4. package/dist/index.umd.js +47 -47
  5. package/dist/locale/en.esm.js +1 -1
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js +1 -1
  8. package/dist/locale/en.umd.js.map +1 -1
  9. package/dist/locale/zh-cn.esm.js +1 -1
  10. package/dist/locale/zh-cn.esm.js.map +1 -1
  11. package/dist/locale/zh-cn.umd.js +1 -1
  12. package/dist/locale/zh-cn.umd.js.map +1 -1
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/index.d.ts +57 -111
  16. package/lib/affix/index.js +19 -19
  17. package/lib/alert/alert.d.ts +1 -1
  18. package/lib/alert/index.d.ts +82 -132
  19. package/lib/alert/index.js +20 -20
  20. package/lib/animate-number/index.d.ts +33 -96
  21. package/lib/backtop/index.d.ts +69 -117
  22. package/lib/badge/badge.d.ts +1 -1
  23. package/lib/badge/index.d.ts +120 -153
  24. package/lib/badge/index.js +19 -19
  25. package/lib/breadcrumb/index.d.ts +67 -119
  26. package/lib/breadcrumb/index.js +17 -17
  27. package/lib/button/button.d.ts +2 -2
  28. package/lib/button/index.d.ts +119 -155
  29. package/lib/button/index.js +19 -20
  30. package/lib/card/card.d.ts +1 -1
  31. package/lib/card/index.d.ts +129 -158
  32. package/lib/card/index.js +20 -22
  33. package/lib/cascader/cascader.d.ts +3 -3
  34. package/lib/cascader/index.d.ts +393 -354
  35. package/lib/cascader/index.js +233 -234
  36. package/lib/checkbox/checkbox.d.ts +1 -1
  37. package/lib/checkbox/index.d.ts +119 -161
  38. package/lib/checkbox/index.js +39 -41
  39. package/lib/code-diff/index.d.ts +65 -82
  40. package/lib/code-diff/index.js +381 -438
  41. package/lib/collapse/index.d.ts +144 -168
  42. package/lib/collapse/index.js +21 -21
  43. package/lib/collapse-transition/index.d.ts +19 -94
  44. package/lib/color-picker/color-picker.d.ts +1 -1
  45. package/lib/color-picker/index.d.ts +128 -154
  46. package/lib/color-picker/index.js +25 -28
  47. package/lib/config-provider/config-provider.d.ts +9 -0
  48. package/lib/config-provider/index.d.ts +168 -223
  49. package/lib/config-provider/index.js +19 -19
  50. package/lib/config-provider/token.d.ts +3 -0
  51. package/lib/container/container.d.ts +1 -1
  52. package/lib/container/index.d.ts +74 -85
  53. package/lib/container/index.js +19 -19
  54. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  55. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  56. package/lib/date-picker/date-picker.d.ts +3 -3
  57. package/lib/date-picker/index.d.ts +384 -351
  58. package/lib/date-picker/index.js +92 -104
  59. package/lib/date-picker/panel/date-range.d.ts +1 -1
  60. package/lib/date-picker/panel/date.d.ts +1 -1
  61. package/lib/date-picker/panel/time-range.d.ts +2 -2
  62. package/lib/date-picker/panel/time.d.ts +1 -1
  63. package/lib/date-picker/time-picker.d.ts +3 -3
  64. package/lib/dialog/index.d.ts +355 -309
  65. package/lib/dialog/index.js +227 -228
  66. package/lib/directives/index.js +27 -27
  67. package/lib/divider/index.d.ts +57 -111
  68. package/lib/dropdown/dropdown.d.ts +1 -1
  69. package/lib/dropdown/index.d.ts +94 -136
  70. package/lib/dropdown/index.js +17 -17
  71. package/lib/exception/index.d.ts +41 -102
  72. package/lib/exception/index.js +18 -19
  73. package/lib/fixed-navbar/index.d.ts +59 -113
  74. package/lib/form/form.css +3 -0
  75. package/lib/form/form.d.ts +1 -1
  76. package/lib/form/form.less +3 -0
  77. package/lib/form/form.variable.css +3 -0
  78. package/lib/form/index.d.ts +80 -132
  79. package/lib/form/index.js +29 -27
  80. package/lib/icon/angle-double-down-line.js +21 -21
  81. package/lib/icon/angle-double-left-line.js +21 -21
  82. package/lib/icon/angle-double-left.js +21 -21
  83. package/lib/icon/angle-double-right-line.js +21 -21
  84. package/lib/icon/angle-double-right.js +21 -21
  85. package/lib/icon/angle-double-up-line.js +21 -21
  86. package/lib/icon/angle-down-fill.js +21 -21
  87. package/lib/icon/angle-down-line.js +21 -21
  88. package/lib/icon/angle-down.js +21 -21
  89. package/lib/icon/angle-left.js +21 -21
  90. package/lib/icon/angle-right.js +21 -21
  91. package/lib/icon/angle-up-fill.js +21 -21
  92. package/lib/icon/angle-up.js +21 -21
  93. package/lib/icon/archive-fill.js +21 -21
  94. package/lib/icon/arrows-left.js +21 -21
  95. package/lib/icon/arrows-right.js +21 -21
  96. package/lib/icon/assistant.js +21 -21
  97. package/lib/icon/audio-fill.js +21 -21
  98. package/lib/icon/bk.js +21 -21
  99. package/lib/icon/circle.js +21 -21
  100. package/lib/icon/close-line.js +21 -21
  101. package/lib/icon/close.js +21 -21
  102. package/lib/icon/code.js +21 -21
  103. package/lib/icon/cog-shape.js +21 -21
  104. package/lib/icon/collapse-left.js +21 -21
  105. package/lib/icon/copy-shape.js +21 -21
  106. package/lib/icon/copy.js +21 -21
  107. package/lib/icon/data-shape.js +21 -21
  108. package/lib/icon/del.js +21 -21
  109. package/lib/icon/doc-fill.js +21 -21
  110. package/lib/icon/done.js +21 -21
  111. package/lib/icon/down-shape.js +21 -21
  112. package/lib/icon/down-small.js +21 -21
  113. package/lib/icon/edit-line.js +21 -21
  114. package/lib/icon/ellipsis.js +21 -21
  115. package/lib/icon/enlarge-line.js +21 -21
  116. package/lib/icon/error.js +21 -21
  117. package/lib/icon/excel-fill.js +21 -21
  118. package/lib/icon/exclamation-circle-shape.js +21 -21
  119. package/lib/icon/eye.js +21 -21
  120. package/lib/icon/filliscreen-line.js +21 -21
  121. package/lib/icon/fix-line.js +21 -21
  122. package/lib/icon/fix-shape.js +21 -21
  123. package/lib/icon/folder-open.js +21 -21
  124. package/lib/icon/folder-shape-open.js +21 -21
  125. package/lib/icon/folder-shape.js +21 -21
  126. package/lib/icon/folder.js +21 -21
  127. package/lib/icon/funnel.js +21 -21
  128. package/lib/icon/grag-fill.js +21 -21
  129. package/lib/icon/help-document-fill.js +21 -21
  130. package/lib/icon/help-fill.js +21 -21
  131. package/lib/icon/help.js +21 -21
  132. package/lib/icon/image-fill.js +22 -22
  133. package/lib/icon/img-error.js +22 -22
  134. package/lib/icon/img-placehoulder.js +22 -22
  135. package/lib/icon/index.js +192 -192
  136. package/lib/icon/info-line.js +22 -22
  137. package/lib/icon/info.js +22 -22
  138. package/lib/icon/left-shape.js +22 -22
  139. package/lib/icon/left-turn-line.js +22 -22
  140. package/lib/icon/loading.js +22 -22
  141. package/lib/icon/narrow-line.js +22 -22
  142. package/lib/icon/original.js +22 -22
  143. package/lib/icon/pdf-fill.js +22 -22
  144. package/lib/icon/play-shape.js +22 -22
  145. package/lib/icon/plus.js +22 -22
  146. package/lib/icon/ppt-fill.js +22 -22
  147. package/lib/icon/qq.js +22 -22
  148. package/lib/icon/right-shape.js +22 -22
  149. package/lib/icon/right-turn-line.js +22 -22
  150. package/lib/icon/search.js +22 -22
  151. package/lib/icon/share.js +22 -22
  152. package/lib/icon/spinner.js +22 -22
  153. package/lib/icon/success.js +22 -22
  154. package/lib/icon/switcher-loading.js +22 -22
  155. package/lib/icon/text-file.js +22 -22
  156. package/lib/icon/text-fill.js +22 -22
  157. package/lib/icon/transfer.js +22 -22
  158. package/lib/icon/tree-application-shape.js +22 -22
  159. package/lib/icon/unfull-screen.js +22 -22
  160. package/lib/icon/unvisible.js +22 -22
  161. package/lib/icon/up-shape.js +22 -22
  162. package/lib/icon/upload.js +22 -22
  163. package/lib/icon/video-fill.js +22 -22
  164. package/lib/icon/warn.js +22 -22
  165. package/lib/icon/weixin-pro.js +22 -22
  166. package/lib/icon/weixin.js +22 -22
  167. package/lib/image/index.d.ts +113 -149
  168. package/lib/image/index.js +19 -19
  169. package/lib/info-box/index.js +231 -232
  170. package/lib/input/index.d.ts +326 -293
  171. package/lib/input/index.js +256 -258
  172. package/lib/link/index.d.ts +73 -122
  173. package/lib/loading/index.d.ts +132 -158
  174. package/lib/loading/index.js +23 -25
  175. package/lib/loading/loading.d.ts +4 -4
  176. package/lib/locale/index.js +8 -12
  177. package/lib/locale/lang/en.d.ts +3 -0
  178. package/lib/menu/index.d.ts +51 -112
  179. package/lib/menu/index.js +25 -25
  180. package/lib/message/index.js +28 -30
  181. package/lib/message/messageConstructor.d.ts +5 -5
  182. package/lib/modal/index.d.ts +261 -249
  183. package/lib/modal/index.js +492 -33
  184. package/lib/navigation/index.d.ts +152 -188
  185. package/lib/notify/index.js +22 -24
  186. package/lib/notify/notifyConstructor.d.ts +1 -1
  187. package/lib/overflow-title/index.d.ts +314 -242
  188. package/lib/overflow-title/index.js +1 -1
  189. package/lib/pagination/index.d.ts +194 -205
  190. package/lib/pagination/index.js +49 -56
  191. package/lib/plugin-popover/index.js +192 -98
  192. package/lib/pop-confirm/index.d.ts +126 -159
  193. package/lib/pop-confirm/index.js +0 -1
  194. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  195. package/lib/popover/content.d.ts +1 -1
  196. package/lib/popover/index.d.ts +374 -330
  197. package/lib/popover/index.js +192 -98
  198. package/lib/popover2/index.d.ts +8 -83
  199. package/lib/process/index.d.ts +93 -137
  200. package/lib/process/index.js +225 -226
  201. package/lib/progress/index.d.ts +178 -187
  202. package/lib/progress/index.js +19 -19
  203. package/lib/progress/progress.d.ts +2 -2
  204. package/lib/radio/index.d.ts +83 -135
  205. package/lib/radio/index.js +41 -43
  206. package/lib/rate/index.d.ts +55 -112
  207. package/lib/rate/index.js +19 -20
  208. package/lib/resize-layout/index.d.ts +156 -185
  209. package/lib/resize-layout/index.js +20 -21
  210. package/lib/resize-layout/resize-layout.d.ts +2 -2
  211. package/lib/search-select/index.d.ts +292 -327
  212. package/lib/search-select/index.js +239 -240
  213. package/lib/search-select/input.d.ts +2 -2
  214. package/lib/search-select/search-select.d.ts +3 -3
  215. package/lib/search-select/selected.d.ts +2 -2
  216. package/lib/select/index.d.ts +1234 -1135
  217. package/lib/select/index.js +259 -262
  218. package/lib/select/select.d.ts +121 -161
  219. package/lib/select/selectTagInput.d.ts +2 -2
  220. package/lib/shared/helper.d.ts +4 -0
  221. package/lib/shared/index.js +81 -63
  222. package/lib/sideslider/index.d.ts +247 -233
  223. package/lib/sideslider/index.js +241 -247
  224. package/lib/slider/index.d.ts +204 -204
  225. package/lib/slider/index.js +208 -209
  226. package/lib/steps/index.d.ts +114 -150
  227. package/lib/steps/index.js +227 -228
  228. package/lib/swiper/index.d.ts +81 -127
  229. package/lib/swiper/index.js +18 -18
  230. package/lib/switcher/index.d.ts +152 -174
  231. package/lib/switcher/index.js +20 -22
  232. package/lib/tab/index.d.ts +199 -211
  233. package/lib/tab/index.js +23 -25
  234. package/lib/table/components/table-column.d.ts +2 -2
  235. package/lib/table/index.d.ts +605 -593
  236. package/lib/table/index.js +81 -95
  237. package/lib/table/plugins/use-pagination.d.ts +1 -1
  238. package/lib/table/table.d.ts +1 -1
  239. package/lib/table/use-common.d.ts +67 -34
  240. package/lib/table-column/index.d.ts +207 -243
  241. package/lib/table-column/index.js +18 -19
  242. package/lib/tag/index.d.ts +95 -142
  243. package/lib/tag/index.js +19 -19
  244. package/lib/tag-input/index.d.ts +690 -498
  245. package/lib/tag-input/index.js +54 -62
  246. package/lib/tag-input/tag-input.d.ts +5 -5
  247. package/lib/time-picker/index.d.ts +442 -385
  248. package/lib/timeline/index.d.ts +50 -109
  249. package/lib/timeline/index.js +6 -6
  250. package/lib/transfer/index.d.ts +191 -206
  251. package/lib/tree/index.d.ts +322 -288
  252. package/lib/tree/index.js +36 -39
  253. package/lib/tree/tree.d.ts +1 -1
  254. package/lib/tree/use-tree-init.d.ts +1 -1
  255. package/lib/upload/index.d.ts +281 -254
  256. package/lib/upload/index.js +254 -257
  257. package/lib/upload/upload.d.ts +2 -2
  258. package/lib/virtual-render/index.d.ts +337 -242
  259. package/lib/virtual-render/index.js +30 -30
  260. package/lib/virtual-render/virtual-render.d.ts +1 -1
  261. package/package.json +6 -13
@@ -1,160 +1,123 @@
1
1
  declare const BkColorPicker: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: {
6
- extCls?: string;
7
- disabled?: boolean;
8
- size?: "" | "small" | "large";
9
- transfer?: boolean;
10
- readonly?: boolean;
11
- modelValue?: string;
12
- withValidate?: boolean;
13
- recommend?: boolean | unknown[];
14
- recommendEmpty?: boolean;
15
- showValue?: boolean;
16
- class?: unknown;
17
- style?: unknown;
18
- onChange?: (...args: any[]) => any;
19
- ref?: import("vue").VNodeRef;
20
- key?: string | number | symbol;
21
- ref_for?: boolean;
22
- ref_key?: string;
23
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
- [key: string]: any;
25
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
- [key: string]: any;
27
- }>) => void)[];
28
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
- [key: string]: any;
30
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
- [key: string]: any;
32
- }>) => void)[];
33
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
- [key: string]: any;
35
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
- [key: string]: any;
37
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
- [key: string]: any;
39
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
- [key: string]: any;
41
- }>) => void)[];
42
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
- [key: string]: any;
44
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
- [key: string]: any;
48
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
- [key: string]: any;
50
- }>) => void)[];
51
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
- [key: string]: any;
53
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
- [key: string]: any;
55
- }>) => void)[];
56
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
57
- [key: string]: any;
58
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
- [key: string]: any;
60
- }>) => void)[];
61
- "onUpdate:modelValue"?: (...args: any[]) => any;
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
+ modelValue: import("vue-types").VueTypeValidableDef<string> & {
4
+ default: string;
5
+ } & {
6
+ default: string;
7
+ };
8
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
9
+ default: boolean;
10
+ } & {
11
+ default: boolean;
12
+ };
13
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
14
+ default: boolean;
15
+ } & {
16
+ default: boolean;
17
+ };
18
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
19
+ default: boolean;
20
+ } & {
21
+ default: boolean;
22
+ };
23
+ size: import("vue-types").VueTypeDef<"" | "small" | "large"> & {
24
+ default: "" | "small" | "large";
25
+ };
26
+ showValue: import("vue-types").VueTypeValidableDef<boolean> & {
27
+ default: boolean;
28
+ } & {
29
+ default: boolean;
30
+ };
31
+ recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
32
+ default: boolean | (() => unknown[]);
33
+ };
34
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
35
+ default: string;
36
+ } & {
37
+ default: string;
38
+ };
39
+ withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
40
+ default: boolean;
41
+ } & {
42
+ default: boolean;
43
+ };
44
+ recommendEmpty: import("vue-types").VueTypeValidableDef<boolean> & {
45
+ default: boolean;
46
+ } & {
47
+ default: boolean;
48
+ };
49
+ }>> & {
50
+ onChange?: (...args: any[]) => any;
51
+ "onUpdate:modelValue"?: (...args: any[]) => any;
52
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
53
+ modelValue: 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
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
64
+ default: boolean;
65
+ } & {
66
+ default: boolean;
67
+ };
68
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
69
+ default: boolean;
70
+ } & {
71
+ default: boolean;
72
+ };
73
+ size: import("vue-types").VueTypeDef<"" | "small" | "large"> & {
74
+ default: "" | "small" | "large";
75
+ };
76
+ showValue: import("vue-types").VueTypeValidableDef<boolean> & {
77
+ default: boolean;
78
+ } & {
79
+ default: boolean;
80
+ };
81
+ recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
82
+ default: boolean | (() => unknown[]);
62
83
  };
63
- $attrs: {
64
- [x: string]: unknown;
84
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
85
+ default: string;
86
+ } & {
87
+ default: string;
65
88
  };
66
- $refs: {
67
- [x: string]: unknown;
89
+ withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
90
+ default: boolean;
91
+ } & {
92
+ default: boolean;
68
93
  };
69
- $slots: Readonly<{
70
- [name: string]: import("vue").Slot<any>;
71
- }>;
72
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
73
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
74
- $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
75
- $el: any;
76
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
77
- modelValue: import("vue-types").VueTypeValidableDef<string> & {
78
- default: string;
79
- } & {
80
- default: string;
81
- };
82
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
83
- default: boolean;
84
- } & {
85
- default: boolean;
86
- };
87
- readonly: import("vue-types").VueTypeValidableDef<boolean> & {
88
- default: boolean;
89
- } & {
90
- default: boolean;
91
- };
92
- transfer: import("vue-types").VueTypeValidableDef<boolean> & {
93
- default: boolean;
94
- } & {
95
- default: boolean;
96
- };
97
- size: import("vue-types").VueTypeDef<"" | "small" | "large"> & {
98
- default: "" | "small" | "large";
99
- };
100
- showValue: import("vue-types").VueTypeValidableDef<boolean> & {
101
- default: boolean;
102
- } & {
103
- default: boolean;
104
- };
105
- recommend: import("vue-types").VueTypeDef<boolean | unknown[]> & {
106
- default: boolean | (() => unknown[]);
107
- };
108
- extCls: import("vue-types").VueTypeValidableDef<string> & {
109
- default: string;
110
- } & {
111
- default: string;
112
- };
113
- withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
114
- default: boolean;
115
- } & {
116
- default: boolean;
117
- };
118
- recommendEmpty: import("vue-types").VueTypeValidableDef<boolean> & {
119
- default: boolean;
120
- } & {
121
- default: boolean;
122
- };
123
- }>> & {
124
- onChange?: (...args: any[]) => any;
125
- "onUpdate:modelValue"?: (...args: any[]) => any;
126
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
127
- extCls: string;
128
- disabled: boolean;
129
- size: "" | "small" | "large";
130
- transfer: boolean;
131
- readonly: boolean;
132
- modelValue: string;
133
- withValidate: boolean;
134
- recommend: boolean | unknown[];
135
- recommendEmpty: boolean;
136
- showValue: boolean;
137
- }, {}, string, {}> & {
138
- beforeCreate?: (() => void) | (() => void)[];
139
- created?: (() => void) | (() => void)[];
140
- beforeMount?: (() => void) | (() => void)[];
141
- mounted?: (() => void) | (() => void)[];
142
- beforeUpdate?: (() => void) | (() => void)[];
143
- updated?: (() => void) | (() => void)[];
144
- activated?: (() => void) | (() => void)[];
145
- deactivated?: (() => void) | (() => void)[];
146
- beforeDestroy?: (() => void) | (() => void)[];
147
- beforeUnmount?: (() => void) | (() => void)[];
148
- destroyed?: (() => void) | (() => void)[];
149
- unmounted?: (() => void) | (() => void)[];
150
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
151
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
152
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
94
+ recommendEmpty: import("vue-types").VueTypeValidableDef<boolean> & {
95
+ default: boolean;
96
+ } & {
97
+ default: boolean;
153
98
  };
154
- $forceUpdate: () => void;
155
- $nextTick: typeof import("vue").nextTick;
156
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
157
- } & Readonly<import("vue").ExtractPropTypes<{
99
+ }>> & {
100
+ onChange?: (...args: any[]) => any;
101
+ "onUpdate:modelValue"?: (...args: any[]) => any;
102
+ }, {
103
+ extCls: string;
104
+ size: "" | "small" | "large";
105
+ disabled: boolean;
106
+ transfer: boolean;
107
+ readonly: boolean;
108
+ modelValue: string;
109
+ withValidate: boolean;
110
+ recommend: boolean | unknown[];
111
+ recommendEmpty: boolean;
112
+ showValue: boolean;
113
+ }, true, {}, {}, {
114
+ P: {};
115
+ B: {};
116
+ D: {};
117
+ C: {};
118
+ M: {};
119
+ Defaults: {};
120
+ }, Readonly<import("vue").ExtractPropTypes<{
158
121
  modelValue: import("vue-types").VueTypeValidableDef<string> & {
159
122
  default: string;
160
123
  } & {
@@ -204,7 +167,18 @@ declare const BkColorPicker: {
204
167
  }>> & {
205
168
  onChange?: (...args: any[]) => any;
206
169
  "onUpdate:modelValue"?: (...args: any[]) => any;
207
- } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
170
+ }, () => JSX.Element, {}, {}, {}, {
171
+ extCls: string;
172
+ size: "" | "small" | "large";
173
+ disabled: boolean;
174
+ transfer: boolean;
175
+ readonly: boolean;
176
+ modelValue: string;
177
+ withValidate: boolean;
178
+ recommend: boolean | unknown[];
179
+ recommendEmpty: boolean;
180
+ showValue: boolean;
181
+ }>;
208
182
  __isFragment?: never;
209
183
  __isTeleport?: never;
210
184
  __isSuspense?: never;
@@ -260,8 +234,8 @@ declare const BkColorPicker: {
260
234
  "onUpdate:modelValue"?: (...args: any[]) => any;
261
235
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
262
236
  extCls: string;
263
- disabled: boolean;
264
237
  size: "" | "small" | "large";
238
+ disabled: boolean;
265
239
  transfer: boolean;
266
240
  readonly: boolean;
267
241
  modelValue: string;
@@ -39,38 +39,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
39
39
  var y = x => () => x
40
40
  const shared_namespaceObject = x({ ["BKPopover"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.BKPopover, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
41
41
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
42
- function _typeof(obj) {
42
+ function _typeof(o) {
43
43
  "@babel/helpers - typeof";
44
44
 
45
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
46
- return typeof obj;
47
- } : function (obj) {
48
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
49
- }, _typeof(obj);
45
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
46
+ return typeof o;
47
+ } : function (o) {
48
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
49
+ }, _typeof(o);
50
50
  }
51
51
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
52
52
 
53
- function _toPrimitive(input, hint) {
54
- if (_typeof(input) !== "object" || input === null) return input;
55
- var prim = input[Symbol.toPrimitive];
56
- if (prim !== undefined) {
57
- var res = prim.call(input, hint || "default");
58
- if (_typeof(res) !== "object") return res;
53
+ function toPrimitive(t, r) {
54
+ if ("object" != _typeof(t) || !t) return t;
55
+ var e = t[Symbol.toPrimitive];
56
+ if (void 0 !== e) {
57
+ var i = e.call(t, r || "default");
58
+ if ("object" != _typeof(i)) return i;
59
59
  throw new TypeError("@@toPrimitive must return a primitive value.");
60
60
  }
61
- return (hint === "string" ? String : Number)(input);
61
+ return ("string" === r ? String : Number)(t);
62
62
  }
63
63
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
64
64
 
65
65
 
66
- function _toPropertyKey(arg) {
67
- var key = _toPrimitive(arg, "string");
68
- return _typeof(key) === "symbol" ? key : String(key);
66
+ function toPropertyKey(t) {
67
+ var i = toPrimitive(t, "string");
68
+ return "symbol" == _typeof(i) ? i : String(i);
69
69
  }
70
70
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
71
71
 
72
72
  function _defineProperty(obj, key, value) {
73
- key = _toPropertyKey(key);
73
+ key = toPropertyKey(key);
74
74
  if (key in obj) {
75
75
  Object.defineProperty(obj, key, {
76
76
  value: value,
@@ -1288,8 +1288,8 @@ const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODU
1288
1288
  ;// CONCATENATED MODULE: ../../packages/date-picker/src/base/picker-dropdown.tsx
1289
1289
 
1290
1290
 
1291
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1292
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1291
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1292
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1293
1293
  /*
1294
1294
  * Tencent is pleased to support the open source community by making
1295
1295
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1376,7 +1376,7 @@ var pickerDropdownProps = {
1376
1376
  var forceUpdate = function forceUpdate() {
1377
1377
  if (popoverInstance) {
1378
1378
  var _popoverInstance, _popoverInstance$forc;
1379
- (_popoverInstance = popoverInstance) === null || _popoverInstance === void 0 || (_popoverInstance$forc = _popoverInstance.forceUpdate) === null || _popoverInstance$forc === void 0 ? void 0 : _popoverInstance$forc.call(_popoverInstance);
1379
+ (_popoverInstance = popoverInstance) === null || _popoverInstance === void 0 || (_popoverInstance$forc = _popoverInstance.forceUpdate) === null || _popoverInstance$forc === void 0 || _popoverInstance$forc.call(_popoverInstance);
1380
1380
  }
1381
1381
  };
1382
1382
  var destoryDropdown = function destoryDropdown() {
@@ -1506,7 +1506,6 @@ var pickerDropdownProps = {
1506
1506
  });
1507
1507
  }
1508
1508
  };
1509
-
1510
1509
  var styles = (0,external_vue_namespaceObject.computed)(function () {
1511
1510
  var style = {};
1512
1511
  if (props.appendToBody) {
@@ -2084,8 +2083,7 @@ var recommend_colors_colorPickerProps = {
2084
2083
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
2085
2084
  resolveClassName = _usePrefix.resolveClassName;
2086
2085
  var getColorClass = function getColorClass(color, index) {
2087
- var _classes;
2088
- return (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName('color-picker-empty')), color === ''), _defineProperty(_classes, "".concat(resolveClassName('color-picker-recommend-selected-color')), isFocused.value && selectedIndex.value === index), _classes), "".concat(resolveClassName('color-picker-recommend-color')));
2086
+ return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(resolveClassName('color-picker-empty')), color === ''), "".concat(resolveClassName('color-picker-recommend-selected-color')), isFocused.value && selectedIndex.value === index), "".concat(resolveClassName('color-picker-recommend-color')));
2089
2087
  };
2090
2088
  var handleKeydown = function handleKeydown(e) {
2091
2089
  if (e.code === 'Tab') {
@@ -2412,8 +2410,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2412
2410
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
2413
2411
  resolveClassName = _usePrefix.resolveClassName;
2414
2412
  var colorPickerCls = (0,external_vue_namespaceObject.computed)(function () {
2415
- var _classes;
2416
- return (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName("color-picker-".concat(props.size))), props.size), _defineProperty(_classes, "".concat(resolveClassName('color-picker-show-dropdown')), showDropdown.value), _defineProperty(_classes, "".concat(resolveClassName('color-picker-show-value')), props.showValue), _defineProperty(_classes, "".concat(resolveClassName('color-picker-disabled')), props.disabled || props.readonly), _classes), "".concat(resolveClassName('color-picker'), " ").concat(props.extCls));
2413
+ return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName("color-picker-".concat(props.size))), props.size), "".concat(resolveClassName('color-picker-show-dropdown')), showDropdown.value), "".concat(resolveClassName('color-picker-show-value')), props.showValue), "".concat(resolveClassName('color-picker-disabled')), props.disabled || props.readonly), "".concat(resolveClassName('color-picker'), " ").concat(props.extCls));
2417
2414
  });
2418
2415
  // 是否渲染预设值
2419
2416
  var isRenderRecommend = (0,external_vue_namespaceObject.computed)(function () {
@@ -2432,7 +2429,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2432
2429
  changeColorFromProps();
2433
2430
  if (props.withValidate) {
2434
2431
  var _formItem$validate;
2435
- formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 ? void 0 : _formItem$validate.call(formItem, 'change');
2432
+ formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
2436
2433
  }
2437
2434
  });
2438
2435
  var handleTriggerKeydown = function handleTriggerKeydown(e) {
@@ -2468,7 +2465,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2468
2465
  var openDropdown = function openDropdown() {
2469
2466
  var _dropRef$value;
2470
2467
  showDropdown.value = true;
2471
- (_dropRef$value = dropRef.value) === null || _dropRef$value === void 0 ? void 0 : _dropRef$value.updateDropdown();
2468
+ (_dropRef$value = dropRef.value) === null || _dropRef$value === void 0 || _dropRef$value.updateDropdown();
2472
2469
  // 展开后默认聚焦于 HEX 输入框,setTimeout 等 transfer 出现
2473
2470
  setTimeout(function () {
2474
2471
  var hexInput = dropRef.value.$el.querySelector(".".concat(resolveClassName('color-picker-input-hex'), " .").concat(resolveClassName('color-picker-input-value')));
@@ -2482,7 +2479,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2482
2479
  return referenceRef.value.focus();
2483
2480
  });
2484
2481
  showDropdown.value = false;
2485
- (_dropRef$value2 = dropRef.value) === null || _dropRef$value2 === void 0 ? void 0 : _dropRef$value2.destoryDropdown();
2482
+ (_dropRef$value2 = dropRef.value) === null || _dropRef$value2 === void 0 || _dropRef$value2.destoryDropdown();
2486
2483
  // 3. 关闭组件时如果绑定值与组件内部选择的值不一致(比如既没有使用 v-model 也没有监听 change 事件)显示绑定值
2487
2484
  changeColorFromProps();
2488
2485
  }
@@ -132,6 +132,9 @@ export declare const configProviderProps: {
132
132
  noData: string;
133
133
  emptyText: string;
134
134
  };
135
+ versionLog: {
136
+ current: string;
137
+ };
135
138
  }>;
136
139
  };
137
140
  prefix: {
@@ -273,6 +276,9 @@ declare const _default: import("vue").DefineComponent<{
273
276
  noData: string;
274
277
  emptyText: string;
275
278
  };
279
+ versionLog: {
280
+ current: string;
281
+ };
276
282
  }>;
277
283
  };
278
284
  prefix: {
@@ -414,6 +420,9 @@ declare const _default: import("vue").DefineComponent<{
414
420
  noData: string;
415
421
  emptyText: string;
416
422
  };
423
+ versionLog: {
424
+ current: string;
425
+ };
417
426
  }>;
418
427
  };
419
428
  prefix: {