bkui-vue 0.0.3-beta.2 → 0.0.3-beta.2-2

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 (249) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +10567 -10537
  3. package/dist/index.umd.js +48 -48
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.d.ts +57 -111
  7. package/lib/affix/index.js +19 -19
  8. package/lib/alert/alert.d.ts +1 -1
  9. package/lib/alert/index.d.ts +82 -132
  10. package/lib/alert/index.js +20 -20
  11. package/lib/animate-number/index.d.ts +33 -96
  12. package/lib/backtop/index.d.ts +69 -117
  13. package/lib/badge/badge.d.ts +1 -1
  14. package/lib/badge/index.d.ts +120 -153
  15. package/lib/badge/index.js +19 -19
  16. package/lib/breadcrumb/index.d.ts +67 -119
  17. package/lib/breadcrumb/index.js +17 -17
  18. package/lib/button/button.d.ts +2 -2
  19. package/lib/button/index.d.ts +119 -155
  20. package/lib/button/index.js +19 -20
  21. package/lib/card/card.d.ts +1 -1
  22. package/lib/card/index.d.ts +129 -158
  23. package/lib/card/index.js +20 -22
  24. package/lib/cascader/cascader.d.ts +3 -3
  25. package/lib/cascader/index.d.ts +393 -354
  26. package/lib/cascader/index.js +233 -234
  27. package/lib/checkbox/checkbox.d.ts +1 -1
  28. package/lib/checkbox/index.d.ts +119 -161
  29. package/lib/checkbox/index.js +39 -41
  30. package/lib/code-diff/index.d.ts +65 -82
  31. package/lib/code-diff/index.js +380 -437
  32. package/lib/collapse/index.d.ts +144 -168
  33. package/lib/collapse/index.js +21 -21
  34. package/lib/collapse-transition/index.d.ts +19 -94
  35. package/lib/color-picker/color-picker.d.ts +1 -1
  36. package/lib/color-picker/index.d.ts +128 -154
  37. package/lib/color-picker/index.js +25 -28
  38. package/lib/config-provider/index.d.ts +156 -223
  39. package/lib/config-provider/index.js +19 -19
  40. package/lib/container/container.d.ts +1 -1
  41. package/lib/container/index.d.ts +74 -85
  42. package/lib/container/index.js +19 -19
  43. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  44. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  45. package/lib/date-picker/date-picker.d.ts +3 -3
  46. package/lib/date-picker/index.d.ts +384 -351
  47. package/lib/date-picker/index.js +92 -104
  48. package/lib/date-picker/panel/date-range.d.ts +1 -1
  49. package/lib/date-picker/panel/date.d.ts +1 -1
  50. package/lib/date-picker/panel/time-range.d.ts +2 -2
  51. package/lib/date-picker/panel/time.d.ts +1 -1
  52. package/lib/date-picker/time-picker.d.ts +3 -3
  53. package/lib/dialog/index.d.ts +345 -302
  54. package/lib/dialog/index.js +227 -228
  55. package/lib/directives/index.js +27 -27
  56. package/lib/divider/index.d.ts +57 -111
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +94 -136
  59. package/lib/dropdown/index.js +17 -17
  60. package/lib/exception/index.d.ts +41 -102
  61. package/lib/exception/index.js +18 -19
  62. package/lib/fixed-navbar/index.d.ts +59 -113
  63. package/lib/form/form.d.ts +1 -1
  64. package/lib/form/index.d.ts +80 -132
  65. package/lib/form/index.js +25 -26
  66. package/lib/icon/angle-double-down-line.js +21 -21
  67. package/lib/icon/angle-double-left-line.js +21 -21
  68. package/lib/icon/angle-double-left.js +21 -21
  69. package/lib/icon/angle-double-right-line.js +21 -21
  70. package/lib/icon/angle-double-right.js +21 -21
  71. package/lib/icon/angle-double-up-line.js +21 -21
  72. package/lib/icon/angle-down-fill.js +21 -21
  73. package/lib/icon/angle-down-line.js +21 -21
  74. package/lib/icon/angle-down.js +21 -21
  75. package/lib/icon/angle-left.js +21 -21
  76. package/lib/icon/angle-right.js +21 -21
  77. package/lib/icon/angle-up-fill.js +21 -21
  78. package/lib/icon/angle-up.js +21 -21
  79. package/lib/icon/archive-fill.js +21 -21
  80. package/lib/icon/arrows-left.js +21 -21
  81. package/lib/icon/arrows-right.js +21 -21
  82. package/lib/icon/assistant.js +21 -21
  83. package/lib/icon/audio-fill.js +21 -21
  84. package/lib/icon/bk.js +21 -21
  85. package/lib/icon/circle.js +21 -21
  86. package/lib/icon/close-line.js +21 -21
  87. package/lib/icon/close.js +21 -21
  88. package/lib/icon/code.js +21 -21
  89. package/lib/icon/cog-shape.js +21 -21
  90. package/lib/icon/collapse-left.js +21 -21
  91. package/lib/icon/copy-shape.js +21 -21
  92. package/lib/icon/copy.js +21 -21
  93. package/lib/icon/data-shape.js +21 -21
  94. package/lib/icon/del.js +21 -21
  95. package/lib/icon/doc-fill.js +21 -21
  96. package/lib/icon/done.js +21 -21
  97. package/lib/icon/down-shape.js +21 -21
  98. package/lib/icon/down-small.js +21 -21
  99. package/lib/icon/edit-line.js +21 -21
  100. package/lib/icon/ellipsis.js +21 -21
  101. package/lib/icon/enlarge-line.js +21 -21
  102. package/lib/icon/error.js +21 -21
  103. package/lib/icon/excel-fill.js +21 -21
  104. package/lib/icon/exclamation-circle-shape.js +21 -21
  105. package/lib/icon/eye.js +21 -21
  106. package/lib/icon/filliscreen-line.js +21 -21
  107. package/lib/icon/fix-line.js +21 -21
  108. package/lib/icon/fix-shape.js +21 -21
  109. package/lib/icon/folder-open.js +21 -21
  110. package/lib/icon/folder-shape-open.js +21 -21
  111. package/lib/icon/folder-shape.js +21 -21
  112. package/lib/icon/folder.js +21 -21
  113. package/lib/icon/funnel.js +21 -21
  114. package/lib/icon/grag-fill.js +21 -21
  115. package/lib/icon/help-document-fill.js +21 -21
  116. package/lib/icon/help-fill.js +21 -21
  117. package/lib/icon/help.js +21 -21
  118. package/lib/icon/image-fill.js +22 -22
  119. package/lib/icon/img-error.js +22 -22
  120. package/lib/icon/img-placehoulder.js +22 -22
  121. package/lib/icon/index.js +192 -192
  122. package/lib/icon/info-line.js +22 -22
  123. package/lib/icon/info.js +22 -22
  124. package/lib/icon/left-shape.js +22 -22
  125. package/lib/icon/left-turn-line.js +22 -22
  126. package/lib/icon/loading.js +22 -22
  127. package/lib/icon/narrow-line.js +22 -22
  128. package/lib/icon/original.js +22 -22
  129. package/lib/icon/pdf-fill.js +22 -22
  130. package/lib/icon/play-shape.js +22 -22
  131. package/lib/icon/plus.js +22 -22
  132. package/lib/icon/ppt-fill.js +22 -22
  133. package/lib/icon/qq.js +22 -22
  134. package/lib/icon/right-shape.js +22 -22
  135. package/lib/icon/right-turn-line.js +22 -22
  136. package/lib/icon/search.js +22 -22
  137. package/lib/icon/share.js +22 -22
  138. package/lib/icon/spinner.js +22 -22
  139. package/lib/icon/success.js +22 -22
  140. package/lib/icon/switcher-loading.js +22 -22
  141. package/lib/icon/text-file.js +22 -22
  142. package/lib/icon/text-fill.js +22 -22
  143. package/lib/icon/transfer.js +22 -22
  144. package/lib/icon/tree-application-shape.js +22 -22
  145. package/lib/icon/unfull-screen.js +22 -22
  146. package/lib/icon/unvisible.js +22 -22
  147. package/lib/icon/up-shape.js +22 -22
  148. package/lib/icon/upload.js +22 -22
  149. package/lib/icon/video-fill.js +22 -22
  150. package/lib/icon/warn.js +22 -22
  151. package/lib/icon/weixin-pro.js +22 -22
  152. package/lib/icon/weixin.js +22 -22
  153. package/lib/image/index.d.ts +113 -149
  154. package/lib/image/index.js +19 -19
  155. package/lib/info-box/index.js +229 -230
  156. package/lib/input/index.d.ts +326 -293
  157. package/lib/input/index.js +256 -258
  158. package/lib/link/index.d.ts +73 -122
  159. package/lib/loading/index.d.ts +130 -156
  160. package/lib/loading/index.js +23 -25
  161. package/lib/loading/loading.d.ts +1 -1
  162. package/lib/locale/index.js +0 -4
  163. package/lib/menu/index.d.ts +51 -112
  164. package/lib/menu/index.js +25 -25
  165. package/lib/message/index.js +28 -30
  166. package/lib/message/messageConstructor.d.ts +5 -5
  167. package/lib/modal/index.d.ts +251 -246
  168. package/lib/modal/index.js +24 -24
  169. package/lib/navigation/index.d.ts +152 -188
  170. package/lib/notify/index.js +22 -24
  171. package/lib/notify/notifyConstructor.d.ts +1 -1
  172. package/lib/overflow-title/index.d.ts +314 -242
  173. package/lib/overflow-title/index.js +1 -1
  174. package/lib/pagination/index.d.ts +194 -205
  175. package/lib/pagination/index.js +49 -56
  176. package/lib/plugin-popover/index.js +192 -98
  177. package/lib/pop-confirm/index.d.ts +126 -159
  178. package/lib/pop-confirm/index.js +0 -1
  179. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  180. package/lib/popover/content.d.ts +1 -1
  181. package/lib/popover/index.d.ts +374 -330
  182. package/lib/popover/index.js +192 -98
  183. package/lib/popover2/index.d.ts +8 -83
  184. package/lib/process/index.d.ts +93 -137
  185. package/lib/process/index.js +225 -226
  186. package/lib/progress/index.d.ts +178 -187
  187. package/lib/progress/index.js +19 -19
  188. package/lib/progress/progress.d.ts +2 -2
  189. package/lib/radio/index.d.ts +83 -135
  190. package/lib/radio/index.js +41 -43
  191. package/lib/rate/index.d.ts +55 -112
  192. package/lib/rate/index.js +19 -20
  193. package/lib/resize-layout/index.d.ts +156 -185
  194. package/lib/resize-layout/index.js +20 -21
  195. package/lib/resize-layout/resize-layout.d.ts +2 -2
  196. package/lib/search-select/index.d.ts +292 -327
  197. package/lib/search-select/index.js +239 -240
  198. package/lib/search-select/input.d.ts +2 -2
  199. package/lib/search-select/search-select.d.ts +3 -3
  200. package/lib/search-select/selected.d.ts +2 -2
  201. package/lib/select/index.d.ts +1234 -1135
  202. package/lib/select/index.js +259 -262
  203. package/lib/select/select.d.ts +121 -161
  204. package/lib/select/selectTagInput.d.ts +2 -2
  205. package/lib/shared/index.js +62 -64
  206. package/lib/sideslider/index.d.ts +237 -226
  207. package/lib/sideslider/index.js +227 -227
  208. package/lib/slider/index.d.ts +204 -204
  209. package/lib/slider/index.js +208 -209
  210. package/lib/steps/index.d.ts +114 -150
  211. package/lib/steps/index.js +227 -228
  212. package/lib/swiper/index.d.ts +81 -127
  213. package/lib/swiper/index.js +18 -18
  214. package/lib/switcher/index.d.ts +152 -174
  215. package/lib/switcher/index.js +20 -22
  216. package/lib/tab/index.d.ts +199 -211
  217. package/lib/tab/index.js +23 -25
  218. package/lib/table/components/table-column.d.ts +2 -2
  219. package/lib/table/index.d.ts +605 -593
  220. package/lib/table/index.js +161 -132
  221. package/lib/table/plugins/use-pagination.d.ts +3 -2
  222. package/lib/table/table.css +12 -5
  223. package/lib/table/table.d.ts +1 -1
  224. package/lib/table/table.less +15 -5
  225. package/lib/table/table.variable.css +12 -5
  226. package/lib/table/use-attributes.d.ts +40 -1
  227. package/lib/table/use-common.d.ts +68 -34
  228. package/lib/table-column/index.d.ts +206 -242
  229. package/lib/table-column/index.js +18 -19
  230. package/lib/tag/index.d.ts +95 -142
  231. package/lib/tag/index.js +19 -19
  232. package/lib/tag-input/index.d.ts +690 -498
  233. package/lib/tag-input/index.js +54 -62
  234. package/lib/tag-input/tag-input.d.ts +5 -5
  235. package/lib/time-picker/index.d.ts +442 -385
  236. package/lib/timeline/index.d.ts +50 -109
  237. package/lib/timeline/index.js +6 -6
  238. package/lib/transfer/index.d.ts +191 -206
  239. package/lib/tree/index.d.ts +334 -293
  240. package/lib/tree/index.js +36 -39
  241. package/lib/tree/tree.d.ts +1 -1
  242. package/lib/tree/use-tree-init.d.ts +1 -1
  243. package/lib/upload/index.d.ts +281 -254
  244. package/lib/upload/index.js +254 -257
  245. package/lib/upload/upload.d.ts +2 -2
  246. package/lib/virtual-render/index.d.ts +337 -242
  247. package/lib/virtual-render/index.js +30 -30
  248. package/lib/virtual-render/virtual-render.d.ts +1 -1
  249. package/package.json +1 -1
@@ -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;
@@ -38,38 +38,38 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
38
38
  var y = x => () => x
39
39
  const external_shared_namespaceObject = x({ ["BKPopover"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.BKPopover, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.useFormItem, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
40
40
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
41
- function _typeof(obj) {
41
+ function _typeof(o) {
42
42
  "@babel/helpers - typeof";
43
43
 
44
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
45
- return typeof obj;
46
- } : function (obj) {
47
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
48
- }, _typeof(obj);
44
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
45
+ return typeof o;
46
+ } : function (o) {
47
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
48
+ }, _typeof(o);
49
49
  }
50
50
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
51
51
 
52
- function _toPrimitive(input, hint) {
53
- if (_typeof(input) !== "object" || input === null) return input;
54
- var prim = input[Symbol.toPrimitive];
55
- if (prim !== undefined) {
56
- var res = prim.call(input, hint || "default");
57
- if (_typeof(res) !== "object") return res;
52
+ function toPrimitive(t, r) {
53
+ if ("object" != _typeof(t) || !t) return t;
54
+ var e = t[Symbol.toPrimitive];
55
+ if (void 0 !== e) {
56
+ var i = e.call(t, r || "default");
57
+ if ("object" != _typeof(i)) return i;
58
58
  throw new TypeError("@@toPrimitive must return a primitive value.");
59
59
  }
60
- return (hint === "string" ? String : Number)(input);
60
+ return ("string" === r ? String : Number)(t);
61
61
  }
62
62
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
63
63
 
64
64
 
65
- function _toPropertyKey(arg) {
66
- var key = _toPrimitive(arg, "string");
67
- return _typeof(key) === "symbol" ? key : String(key);
65
+ function toPropertyKey(t) {
66
+ var i = toPrimitive(t, "string");
67
+ return "symbol" == _typeof(i) ? i : String(i);
68
68
  }
69
69
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
70
 
71
71
  function _defineProperty(obj, key, value) {
72
- key = _toPropertyKey(key);
72
+ key = toPropertyKey(key);
73
73
  if (key in obj) {
74
74
  Object.defineProperty(obj, key, {
75
75
  value: value,
@@ -1287,8 +1287,8 @@ const external_icon_namespaceObject = external_icon_x({ ["AngleUp"]: () => __WEB
1287
1287
  ;// CONCATENATED MODULE: ../../packages/date-picker/src/base/picker-dropdown.tsx
1288
1288
 
1289
1289
 
1290
- 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; }
1291
- 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; }
1290
+ 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; }
1291
+ 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; }
1292
1292
  /*
1293
1293
  * Tencent is pleased to support the open source community by making
1294
1294
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1375,7 +1375,7 @@ var pickerDropdownProps = {
1375
1375
  var forceUpdate = function forceUpdate() {
1376
1376
  if (popoverInstance) {
1377
1377
  var _popoverInstance, _popoverInstance$forc;
1378
- (_popoverInstance = popoverInstance) === null || _popoverInstance === void 0 || (_popoverInstance$forc = _popoverInstance.forceUpdate) === null || _popoverInstance$forc === void 0 ? void 0 : _popoverInstance$forc.call(_popoverInstance);
1378
+ (_popoverInstance = popoverInstance) === null || _popoverInstance === void 0 || (_popoverInstance$forc = _popoverInstance.forceUpdate) === null || _popoverInstance$forc === void 0 || _popoverInstance$forc.call(_popoverInstance);
1379
1379
  }
1380
1380
  };
1381
1381
  var destoryDropdown = function destoryDropdown() {
@@ -1505,7 +1505,6 @@ var pickerDropdownProps = {
1505
1505
  });
1506
1506
  }
1507
1507
  };
1508
-
1509
1508
  var styles = (0,external_vue_namespaceObject.computed)(function () {
1510
1509
  var style = {};
1511
1510
  if (props.appendToBody) {
@@ -2083,8 +2082,7 @@ var recommend_colors_colorPickerProps = {
2083
2082
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
2084
2083
  resolveClassName = _usePrefix.resolveClassName;
2085
2084
  var getColorClass = function getColorClass(color, index) {
2086
- var _classes;
2087
- return (0,external_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')));
2085
+ return (0,external_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')));
2088
2086
  };
2089
2087
  var handleKeydown = function handleKeydown(e) {
2090
2088
  if (e.code === 'Tab') {
@@ -2411,8 +2409,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2411
2409
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
2412
2410
  resolveClassName = _usePrefix.resolveClassName;
2413
2411
  var colorPickerCls = (0,external_vue_namespaceObject.computed)(function () {
2414
- var _classes;
2415
- return (0,external_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));
2412
+ return (0,external_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));
2416
2413
  });
2417
2414
  // 是否渲染预设值
2418
2415
  var isRenderRecommend = (0,external_vue_namespaceObject.computed)(function () {
@@ -2431,7 +2428,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2431
2428
  changeColorFromProps();
2432
2429
  if (props.withValidate) {
2433
2430
  var _formItem$validate;
2434
- formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 ? void 0 : _formItem$validate.call(formItem, 'change');
2431
+ formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 || _formItem$validate.call(formItem, 'change');
2435
2432
  }
2436
2433
  });
2437
2434
  var handleTriggerKeydown = function handleTriggerKeydown(e) {
@@ -2467,7 +2464,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2467
2464
  var openDropdown = function openDropdown() {
2468
2465
  var _dropRef$value;
2469
2466
  showDropdown.value = true;
2470
- (_dropRef$value = dropRef.value) === null || _dropRef$value === void 0 ? void 0 : _dropRef$value.updateDropdown();
2467
+ (_dropRef$value = dropRef.value) === null || _dropRef$value === void 0 || _dropRef$value.updateDropdown();
2471
2468
  // 展开后默认聚焦于 HEX 输入框,setTimeout 等 transfer 出现
2472
2469
  setTimeout(function () {
2473
2470
  var hexInput = dropRef.value.$el.querySelector(".".concat(resolveClassName('color-picker-input-hex'), " .").concat(resolveClassName('color-picker-input-value')));
@@ -2481,7 +2478,7 @@ var whiteColorObj = formatColor('#FFFFFF');
2481
2478
  return referenceRef.value.focus();
2482
2479
  });
2483
2480
  showDropdown.value = false;
2484
- (_dropRef$value2 = dropRef.value) === null || _dropRef$value2 === void 0 ? void 0 : _dropRef$value2.destoryDropdown();
2481
+ (_dropRef$value2 = dropRef.value) === null || _dropRef$value2 === void 0 || _dropRef$value2.destoryDropdown();
2485
2482
  // 3. 关闭组件时如果绑定值与组件内部选择的值不一致(比如既没有使用 v-model 也没有监听 change 事件)显示绑定值
2486
2483
  changeColorFromProps();
2487
2484
  }