bkui-vue 2.0.1-beta.113 → 2.0.1-beta.115

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 (254) hide show
  1. package/dist/index.cjs.js +54 -54
  2. package/dist/index.esm.js +13951 -13942
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +57 -111
  6. package/lib/affix/index.js +47 -39
  7. package/lib/alert/index.d.ts +73 -126
  8. package/lib/alert/index.js +50 -42
  9. package/lib/animate-number/index.d.ts +33 -96
  10. package/lib/animate-number/index.js +21 -16
  11. package/lib/backtop/index.d.ts +69 -117
  12. package/lib/backtop/index.js +42 -31
  13. package/lib/badge/index.d.ts +119 -152
  14. package/lib/badge/index.js +43 -37
  15. package/lib/breadcrumb/index.d.ts +67 -119
  16. package/lib/breadcrumb/index.js +48 -40
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +119 -155
  19. package/lib/button/index.js +55 -46
  20. package/lib/card/index.d.ts +128 -157
  21. package/lib/card/index.js +67 -55
  22. package/lib/cascader/cascader.d.ts +3 -3
  23. package/lib/cascader/index.d.ts +393 -354
  24. package/lib/cascader/index.js +149 -119
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +143 -175
  27. package/lib/checkbox/index.js +89 -79
  28. package/lib/code-diff/index.d.ts +65 -82
  29. package/lib/code-diff/index.js +464 -517
  30. package/lib/collapse/index.d.ts +156 -175
  31. package/lib/collapse/index.js +67 -60
  32. package/lib/collapse-transition/index.d.ts +19 -94
  33. package/lib/collapse-transition/index.js +23 -16
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +144 -165
  36. package/lib/color-picker/index.js +98 -82
  37. package/lib/config-provider/index.d.ts +160 -227
  38. package/lib/config-provider/index.js +51 -43
  39. package/lib/container/container.d.ts +1 -1
  40. package/lib/container/index.d.ts +74 -85
  41. package/lib/container/index.js +55 -47
  42. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  43. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  44. package/lib/date-picker/date-picker.d.ts +4 -4
  45. package/lib/date-picker/index.d.ts +380 -351
  46. package/lib/date-picker/index.js +171 -150
  47. package/lib/date-picker/panel/date-range.d.ts +1 -1
  48. package/lib/date-picker/panel/date.d.ts +1 -1
  49. package/lib/date-picker/panel/time-range.d.ts +2 -2
  50. package/lib/date-picker/panel/time.d.ts +2 -2
  51. package/lib/date-picker/time-picker.d.ts +4 -4
  52. package/lib/dialog/index.d.ts +299 -269
  53. package/lib/dialog/index.js +323 -310
  54. package/lib/directives/index.js +344 -336
  55. package/lib/divider/index.d.ts +57 -111
  56. package/lib/divider/index.js +23 -16
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +94 -136
  59. package/lib/dropdown/index.js +66 -52
  60. package/lib/exception/index.d.ts +41 -102
  61. package/lib/exception/index.js +76 -70
  62. package/lib/fixed-navbar/index.d.ts +59 -113
  63. package/lib/fixed-navbar/index.js +22 -15
  64. package/lib/form/form.d.ts +1 -1
  65. package/lib/form/index.d.ts +80 -132
  66. package/lib/form/index.js +104 -83
  67. package/lib/icon/angle-double-down-line.js +31 -29
  68. package/lib/icon/angle-double-left-line.js +31 -29
  69. package/lib/icon/angle-double-left.js +31 -29
  70. package/lib/icon/angle-double-right-line.js +31 -29
  71. package/lib/icon/angle-double-right.js +31 -29
  72. package/lib/icon/angle-double-up-line.js +31 -29
  73. package/lib/icon/angle-down-fill.js +31 -29
  74. package/lib/icon/angle-down-line.js +31 -29
  75. package/lib/icon/angle-down.js +31 -29
  76. package/lib/icon/angle-left.js +31 -29
  77. package/lib/icon/angle-right.js +31 -29
  78. package/lib/icon/angle-up-fill.js +31 -29
  79. package/lib/icon/angle-up.js +31 -29
  80. package/lib/icon/archive-fill.js +31 -29
  81. package/lib/icon/arrows-left.js +31 -29
  82. package/lib/icon/arrows-right.js +31 -29
  83. package/lib/icon/assistant.js +31 -29
  84. package/lib/icon/audio-fill.js +31 -29
  85. package/lib/icon/bk.js +31 -29
  86. package/lib/icon/circle.js +31 -29
  87. package/lib/icon/close-line.js +31 -29
  88. package/lib/icon/close.js +31 -29
  89. package/lib/icon/code.js +31 -29
  90. package/lib/icon/cog-shape.js +31 -29
  91. package/lib/icon/collapse-left.js +31 -29
  92. package/lib/icon/copy-shape.js +31 -29
  93. package/lib/icon/copy.js +31 -29
  94. package/lib/icon/data-shape.js +31 -29
  95. package/lib/icon/del.js +31 -29
  96. package/lib/icon/doc-fill.js +31 -29
  97. package/lib/icon/done.js +31 -29
  98. package/lib/icon/down-shape.js +31 -29
  99. package/lib/icon/down-small.js +31 -29
  100. package/lib/icon/edit-line.js +31 -29
  101. package/lib/icon/ellipsis.js +31 -29
  102. package/lib/icon/enlarge-line.js +31 -29
  103. package/lib/icon/error.js +31 -29
  104. package/lib/icon/excel-fill.js +31 -29
  105. package/lib/icon/exclamation-circle-shape.js +31 -29
  106. package/lib/icon/eye.js +31 -29
  107. package/lib/icon/filliscreen-line.js +31 -29
  108. package/lib/icon/fix-line.js +31 -29
  109. package/lib/icon/fix-shape.js +31 -29
  110. package/lib/icon/folder-open.js +31 -29
  111. package/lib/icon/folder-shape-open.js +31 -29
  112. package/lib/icon/folder-shape.js +31 -29
  113. package/lib/icon/folder.js +31 -29
  114. package/lib/icon/funnel.js +31 -29
  115. package/lib/icon/grag-fill.js +31 -29
  116. package/lib/icon/help-document-fill.js +31 -29
  117. package/lib/icon/help-fill.js +31 -29
  118. package/lib/icon/help.js +31 -29
  119. package/lib/icon/image-fill.js +31 -29
  120. package/lib/icon/img-error.js +31 -29
  121. package/lib/icon/img-placehoulder.js +31 -29
  122. package/lib/icon/info-line.js +31 -29
  123. package/lib/icon/info.js +31 -29
  124. package/lib/icon/left-shape.js +31 -29
  125. package/lib/icon/left-turn-line.js +31 -29
  126. package/lib/icon/loading.js +31 -29
  127. package/lib/icon/narrow-line.js +31 -29
  128. package/lib/icon/original.js +31 -29
  129. package/lib/icon/pdf-fill.js +31 -29
  130. package/lib/icon/play-shape.js +31 -29
  131. package/lib/icon/plus.js +31 -29
  132. package/lib/icon/ppt-fill.js +31 -29
  133. package/lib/icon/qq.js +31 -29
  134. package/lib/icon/right-shape.js +31 -29
  135. package/lib/icon/right-turn-line.js +31 -29
  136. package/lib/icon/search.js +31 -29
  137. package/lib/icon/share.js +31 -29
  138. package/lib/icon/spinner.js +31 -29
  139. package/lib/icon/success.js +31 -29
  140. package/lib/icon/switcher-loading.js +31 -29
  141. package/lib/icon/text-all.js +31 -29
  142. package/lib/icon/text-file.js +31 -29
  143. package/lib/icon/text-fill.js +31 -29
  144. package/lib/icon/transfer.js +31 -29
  145. package/lib/icon/tree-application-shape.js +31 -29
  146. package/lib/icon/unfull-screen.js +31 -29
  147. package/lib/icon/unvisible.js +31 -29
  148. package/lib/icon/up-shape.js +31 -29
  149. package/lib/icon/upload.js +31 -29
  150. package/lib/icon/video-fill.js +31 -29
  151. package/lib/icon/warn.js +31 -29
  152. package/lib/icon/weixin-pro.js +31 -29
  153. package/lib/icon/weixin.js +31 -29
  154. package/lib/image/index.d.ts +113 -149
  155. package/lib/image/index.js +76 -61
  156. package/lib/index.js +1 -1
  157. package/lib/info-box/index.js +328 -315
  158. package/lib/input/index.d.ts +326 -293
  159. package/lib/input/index.js +91 -83
  160. package/lib/link/index.d.ts +73 -122
  161. package/lib/link/index.js +27 -19
  162. package/lib/loading/index.d.ts +130 -156
  163. package/lib/loading/index.js +56 -51
  164. package/lib/loading/loading.d.ts +1 -1
  165. package/lib/locale/index.js +3 -3
  166. package/lib/menu/index.d.ts +55 -116
  167. package/lib/menu/index.js +67 -58
  168. package/lib/message/index.js +72 -67
  169. package/lib/message/messageConstructor.d.ts +5 -5
  170. package/lib/modal/index.d.ts +171 -185
  171. package/lib/modal/index.js +58 -48
  172. package/lib/navigation/index.d.ts +152 -188
  173. package/lib/navigation/index.js +35 -25
  174. package/lib/notify/index.js +57 -48
  175. package/lib/overflow-title/index.d.ts +343 -256
  176. package/lib/overflow-title/index.js +51 -38
  177. package/lib/pagination/index.d.ts +184 -198
  178. package/lib/pagination/index.js +112 -103
  179. package/lib/plugin-popover/index.js +7 -5
  180. package/lib/plugins/index.js +7 -5
  181. package/lib/pop-confirm/index.d.ts +115 -153
  182. package/lib/pop-confirm/index.js +53 -36
  183. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  184. package/lib/popover/content.d.ts +1 -1
  185. package/lib/popover/index.d.ts +421 -359
  186. package/lib/popover/index.js +291 -179
  187. package/lib/popover2/index.d.ts +8 -83
  188. package/lib/popover2/index.js +15 -11
  189. package/lib/process/index.d.ts +93 -137
  190. package/lib/process/index.js +299 -295
  191. package/lib/progress/index.d.ts +178 -187
  192. package/lib/progress/index.js +47 -40
  193. package/lib/progress/progress.d.ts +2 -2
  194. package/lib/radio/index.d.ts +91 -140
  195. package/lib/radio/index.js +85 -79
  196. package/lib/rate/index.d.ts +55 -112
  197. package/lib/rate/index.js +44 -39
  198. package/lib/resize-layout/index.d.ts +168 -192
  199. package/lib/resize-layout/index.js +50 -43
  200. package/lib/resize-layout/resize-layout.d.ts +2 -2
  201. package/lib/scrollbar/index.js +63 -63
  202. package/lib/search-select/index.d.ts +678 -895
  203. package/lib/search-select/index.js +397 -379
  204. package/lib/search-select/input.d.ts +2 -2
  205. package/lib/search-select/search-select.d.ts +133 -188
  206. package/lib/search-select/selected.d.ts +133 -188
  207. package/lib/select/index.d.ts +1375 -1217
  208. package/lib/select/index.js +456 -419
  209. package/lib/select/select.d.ts +132 -169
  210. package/lib/select/selectTagInput.d.ts +2 -2
  211. package/lib/shared/index.js +109 -103
  212. package/lib/sideslider/index.d.ts +197 -201
  213. package/lib/sideslider/index.js +312 -303
  214. package/lib/slider/index.d.ts +214 -210
  215. package/lib/slider/index.js +305 -294
  216. package/lib/steps/index.d.ts +110 -149
  217. package/lib/steps/index.js +303 -298
  218. package/lib/swiper/index.d.ts +81 -127
  219. package/lib/swiper/index.js +42 -36
  220. package/lib/switcher/index.d.ts +152 -174
  221. package/lib/switcher/index.js +50 -44
  222. package/lib/tab/index.d.ts +151 -183
  223. package/lib/tab/index.js +72 -59
  224. package/lib/table/components/table-column.d.ts +1 -1
  225. package/lib/table/hooks/use-columns.d.ts +1 -1
  226. package/lib/table/hooks/use-layout.d.ts +2 -2
  227. package/lib/table/hooks/use-rows.d.ts +1 -1
  228. package/lib/table/index.d.ts +457 -362
  229. package/lib/table/index.js +589 -547
  230. package/lib/table/table.d.ts +1 -1
  231. package/lib/table-column/index.d.ts +104 -150
  232. package/lib/table-column/index.js +13 -9
  233. package/lib/tag/index.d.ts +95 -142
  234. package/lib/tag/index.js +56 -46
  235. package/lib/tag-input/index.d.ts +744 -529
  236. package/lib/tag-input/index.js +148 -128
  237. package/lib/tag-input/tag-input.d.ts +5 -5
  238. package/lib/time-picker/index.d.ts +439 -386
  239. package/lib/time-picker/index.js +13 -9
  240. package/lib/timeline/index.d.ts +64 -131
  241. package/lib/timeline/index.js +27 -21
  242. package/lib/transfer/index.d.ts +191 -206
  243. package/lib/transfer/index.js +56 -40
  244. package/lib/tree/index.d.ts +350 -308
  245. package/lib/tree/index.js +171 -150
  246. package/lib/tree/tree.d.ts +1 -1
  247. package/lib/tree/use-tree-init.d.ts +1 -1
  248. package/lib/upload/index.d.ts +311 -273
  249. package/lib/upload/index.js +474 -465
  250. package/lib/upload/upload.d.ts +2 -2
  251. package/lib/virtual-render/index.d.ts +333 -241
  252. package/lib/virtual-render/index.js +84 -72
  253. package/lib/virtual-render/virtual-render.d.ts +1 -1
  254. package/package.json +1 -1
@@ -3,179 +3,148 @@ import Collapse from './collapse';
3
3
  import CollapsePanel from './collapse-panel';
4
4
  import { propsCollapse, propsCollapsePanel } from './props';
5
5
  declare const BkCollapse: {
6
- new (...args: any[]): {
7
- $: import("vue").ComponentInternalInstance;
8
- $data: {};
9
- $props: {
10
- list?: any[];
11
- idFiled?: string;
12
- titleField?: string;
13
- contentField?: string;
14
- accordion?: boolean;
15
- hasHeaderBorder?: boolean;
16
- hasHeaderHover?: boolean;
17
- headerIcon?: string;
18
- useCardTheme?: boolean;
19
- headerIconAlign?: string;
20
- useBlockTheme?: boolean;
21
- class?: unknown;
22
- style?: unknown;
23
- ref?: import("vue").VNodeRef;
24
- key?: string | number | symbol;
25
- ref_for?: boolean;
26
- ref_key?: string;
27
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
- [key: string]: any;
29
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
- [key: string]: any;
31
- }>) => void)[];
32
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
- [key: string]: any;
34
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
- [key: string]: any;
36
- }>) => void)[];
37
- onVnodeBeforeUpdate?: ((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) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
42
- [key: string]: any;
43
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
- [key: string]: any;
45
- }>) => void)[];
46
- onVnodeUpdated?: ((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) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
- [key: string]: any;
52
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
- [key: string]: any;
54
- }>) => void)[];
55
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
56
- [key: string]: any;
57
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
- [key: string]: any;
59
- }>) => void)[];
60
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
- [key: string]: any;
62
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
63
- [key: string]: any;
64
- }>) => void)[];
65
- readonly modelValue?: number | string[] | number[];
66
- "onUpdate:modelValue"?: (...args: any[]) => any;
67
- "onAfter-leave"?: (...args: any[]) => any;
68
- "onBefore-enter"?: (...args: any[]) => any;
69
- "onItem-click"?: (...args: any[]) => any;
70
- };
71
- $attrs: {
72
- [x: string]: unknown;
73
- };
74
- $refs: {
75
- [x: string]: unknown;
76
- };
77
- $slots: Readonly<{
78
- [name: string]: import("vue").Slot<any>;
79
- }>;
80
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
81
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
82
- $emit: (event: "update:modelValue" | "after-leave" | "before-enter" | "item-click", ...args: any[]) => void;
83
- $el: any;
84
- $options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
85
- list: import("vue-types").VueTypeDef<any[]> & {
86
- default: () => any[];
87
- };
88
- idFiled: import("vue-types").VueTypeValidableDef<string> & {
89
- default: string;
90
- } & {
91
- default: string;
92
- };
93
- titleField: import("vue-types").VueTypeValidableDef<string> & {
94
- default: string;
95
- } & {
96
- default: string;
97
- };
98
- contentField: import("vue-types").VueTypeValidableDef<string> & {
99
- default: string;
100
- } & {
101
- default: string;
102
- };
103
- modelValue: import("vue-types").VueTypeDef<number | string[] | number[]>;
104
- accordion: import("vue-types").VueTypeValidableDef<boolean> & {
105
- default: boolean;
106
- } & {
107
- default: boolean;
108
- };
109
- hasHeaderBorder: import("vue-types").VueTypeValidableDef<boolean> & {
110
- default: boolean;
111
- } & {
112
- default: boolean;
113
- };
114
- hasHeaderHover: import("vue-types").VueTypeValidableDef<boolean> & {
115
- default: boolean;
116
- } & {
117
- default: boolean;
118
- };
119
- headerIcon: import("vue-types").VueTypeValidableDef<string> & {
120
- default: string;
121
- } & {
122
- default: string;
123
- };
124
- useCardTheme: import("vue-types").VueTypeValidableDef<boolean> & {
125
- default: boolean;
126
- } & {
127
- default: boolean;
128
- };
129
- headerIconAlign: import("vue-types").VueTypeValidableDef<string> & {
130
- default: string;
131
- } & {
132
- default: string;
133
- };
134
- useBlockTheme: import("vue-types").VueTypeValidableDef<boolean> & {
135
- default: boolean;
136
- } & {
137
- default: boolean;
138
- };
139
- }>> & {
140
- "onUpdate:modelValue"?: (...args: any[]) => any;
141
- "onAfter-leave"?: (...args: any[]) => any;
142
- "onBefore-enter"?: (...args: any[]) => any;
143
- "onItem-click"?: (...args: any[]) => any;
144
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
145
- [key: string]: any;
146
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "after-leave" | "before-enter" | "item-click")[], string, {
147
- list: any[];
148
- idFiled: string;
149
- titleField: string;
150
- contentField: string;
151
- accordion: boolean;
152
- hasHeaderBorder: boolean;
153
- hasHeaderHover: boolean;
154
- headerIcon: string;
155
- useCardTheme: boolean;
156
- headerIconAlign: string;
157
- useBlockTheme: boolean;
158
- }, {}, string, {}> & {
159
- beforeCreate?: (() => void) | (() => void)[];
160
- created?: (() => void) | (() => void)[];
161
- beforeMount?: (() => void) | (() => void)[];
162
- mounted?: (() => void) | (() => void)[];
163
- beforeUpdate?: (() => void) | (() => void)[];
164
- updated?: (() => void) | (() => void)[];
165
- activated?: (() => void) | (() => void)[];
166
- deactivated?: (() => void) | (() => void)[];
167
- beforeDestroy?: (() => void) | (() => void)[];
168
- beforeUnmount?: (() => void) | (() => void)[];
169
- destroyed?: (() => void) | (() => void)[];
170
- unmounted?: (() => void) | (() => void)[];
171
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
172
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
173
- 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)[];
174
- };
175
- $forceUpdate: () => void;
176
- $nextTick: typeof import("vue").nextTick;
177
- $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;
178
- } & Readonly<ExtractPropTypes<{
6
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<ExtractPropTypes<{
7
+ list: import("vue-types").VueTypeDef<any[]> & {
8
+ default: () => any[];
9
+ };
10
+ idFiled: import("vue-types").VueTypeValidableDef<string> & {
11
+ default: string;
12
+ } & {
13
+ default: string;
14
+ };
15
+ titleField: import("vue-types").VueTypeValidableDef<string> & {
16
+ default: string;
17
+ } & {
18
+ default: string;
19
+ };
20
+ contentField: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ } & {
23
+ default: string;
24
+ };
25
+ modelValue: import("vue-types").VueTypeDef<number | string[] | number[]>;
26
+ accordion: import("vue-types").VueTypeValidableDef<boolean> & {
27
+ default: boolean;
28
+ } & {
29
+ default: boolean;
30
+ };
31
+ hasHeaderBorder: import("vue-types").VueTypeValidableDef<boolean> & {
32
+ default: boolean;
33
+ } & {
34
+ default: boolean;
35
+ };
36
+ hasHeaderHover: import("vue-types").VueTypeValidableDef<boolean> & {
37
+ default: boolean;
38
+ } & {
39
+ default: boolean;
40
+ };
41
+ headerIcon: import("vue-types").VueTypeValidableDef<string> & {
42
+ default: string;
43
+ } & {
44
+ default: string;
45
+ };
46
+ useCardTheme: import("vue-types").VueTypeValidableDef<boolean> & {
47
+ default: boolean;
48
+ } & {
49
+ default: boolean;
50
+ };
51
+ headerIconAlign: import("vue-types").VueTypeValidableDef<string> & {
52
+ default: string;
53
+ } & {
54
+ default: string;
55
+ };
56
+ useBlockTheme: import("vue-types").VueTypeValidableDef<boolean> & {
57
+ default: boolean;
58
+ } & {
59
+ default: boolean;
60
+ };
61
+ }>> & {
62
+ "onUpdate:modelValue"?: (...args: any[]) => any;
63
+ "onAfter-leave"?: (...args: any[]) => any;
64
+ "onBefore-enter"?: (...args: any[]) => any;
65
+ "onItem-click"?: (...args: any[]) => any;
66
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
67
+ [key: string]: any;
68
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "after-leave" | "before-enter" | "item-click")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<ExtractPropTypes<{
69
+ list: import("vue-types").VueTypeDef<any[]> & {
70
+ default: () => any[];
71
+ };
72
+ idFiled: import("vue-types").VueTypeValidableDef<string> & {
73
+ default: string;
74
+ } & {
75
+ default: string;
76
+ };
77
+ titleField: import("vue-types").VueTypeValidableDef<string> & {
78
+ default: string;
79
+ } & {
80
+ default: string;
81
+ };
82
+ contentField: import("vue-types").VueTypeValidableDef<string> & {
83
+ default: string;
84
+ } & {
85
+ default: string;
86
+ };
87
+ modelValue: import("vue-types").VueTypeDef<number | string[] | number[]>;
88
+ accordion: import("vue-types").VueTypeValidableDef<boolean> & {
89
+ default: boolean;
90
+ } & {
91
+ default: boolean;
92
+ };
93
+ hasHeaderBorder: import("vue-types").VueTypeValidableDef<boolean> & {
94
+ default: boolean;
95
+ } & {
96
+ default: boolean;
97
+ };
98
+ hasHeaderHover: import("vue-types").VueTypeValidableDef<boolean> & {
99
+ default: boolean;
100
+ } & {
101
+ default: boolean;
102
+ };
103
+ headerIcon: import("vue-types").VueTypeValidableDef<string> & {
104
+ default: string;
105
+ } & {
106
+ default: string;
107
+ };
108
+ useCardTheme: import("vue-types").VueTypeValidableDef<boolean> & {
109
+ default: boolean;
110
+ } & {
111
+ default: boolean;
112
+ };
113
+ headerIconAlign: import("vue-types").VueTypeValidableDef<string> & {
114
+ default: string;
115
+ } & {
116
+ default: string;
117
+ };
118
+ useBlockTheme: import("vue-types").VueTypeValidableDef<boolean> & {
119
+ default: boolean;
120
+ } & {
121
+ default: boolean;
122
+ };
123
+ }>> & {
124
+ "onUpdate:modelValue"?: (...args: any[]) => any;
125
+ "onAfter-leave"?: (...args: any[]) => any;
126
+ "onBefore-enter"?: (...args: any[]) => any;
127
+ "onItem-click"?: (...args: any[]) => any;
128
+ }, {
129
+ list: any[];
130
+ idFiled: string;
131
+ titleField: string;
132
+ contentField: string;
133
+ accordion: boolean;
134
+ hasHeaderBorder: boolean;
135
+ hasHeaderHover: boolean;
136
+ headerIcon: string;
137
+ useCardTheme: boolean;
138
+ headerIconAlign: string;
139
+ useBlockTheme: boolean;
140
+ }, true, {}, {}, {
141
+ P: {};
142
+ B: {};
143
+ D: {};
144
+ C: {};
145
+ M: {};
146
+ Defaults: {};
147
+ }, Readonly<ExtractPropTypes<{
179
148
  list: import("vue-types").VueTypeDef<any[]> & {
180
149
  default: () => any[];
181
150
  };
@@ -235,9 +204,21 @@ declare const BkCollapse: {
235
204
  "onAfter-leave"?: (...args: any[]) => any;
236
205
  "onBefore-enter"?: (...args: any[]) => any;
237
206
  "onItem-click"?: (...args: any[]) => any;
238
- } & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
207
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
239
208
  [key: string]: any;
240
- }>> & {} & import("vue").ComponentCustomProperties & {};
209
+ }>, {}, {}, {}, {
210
+ list: any[];
211
+ idFiled: string;
212
+ titleField: string;
213
+ contentField: string;
214
+ accordion: boolean;
215
+ hasHeaderBorder: boolean;
216
+ hasHeaderHover: boolean;
217
+ headerIcon: string;
218
+ useCardTheme: boolean;
219
+ headerIconAlign: string;
220
+ useBlockTheme: boolean;
221
+ }>;
241
222
  __isFragment?: never;
242
223
  __isTeleport?: never;
243
224
  __isSuspense?: never;
@@ -36,43 +36,45 @@ __webpack_require__.d(__webpack_exports__, {
36
36
  "default": () => (/* binding */ src)
37
37
  });
38
38
 
39
- ;// CONCATENATED MODULE: external "../shared"
40
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
41
- var y = x => () => x
42
- const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["renderDirectiveType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.renderDirectiveType, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
43
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
44
- function _typeof(obj) {
39
+ ;// external "../shared"
40
+ var x = (y) => {
41
+ var x = {}; __webpack_require__.d(x, y); return x
42
+ }
43
+ var y = (x) => (() => (x))
44
+ const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["renderDirectiveType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.renderDirectiveType), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
45
+ ;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
46
+ function _typeof(o) {
45
47
  "@babel/helpers - typeof";
46
48
 
47
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
48
- return typeof obj;
49
- } : function (obj) {
50
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
51
- }, _typeof(obj);
49
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
50
+ return typeof o;
51
+ } : function (o) {
52
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
53
+ }, _typeof(o);
52
54
  }
53
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
54
-
55
- function _toPrimitive(input, hint) {
56
- if (_typeof(input) !== "object" || input === null) return input;
57
- var prim = input[Symbol.toPrimitive];
58
- if (prim !== undefined) {
59
- var res = prim.call(input, hint || "default");
60
- if (_typeof(res) !== "object") return res;
55
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
56
+
57
+ function toPrimitive(t, r) {
58
+ if ("object" != _typeof(t) || !t) return t;
59
+ var e = t[Symbol.toPrimitive];
60
+ if (void 0 !== e) {
61
+ var i = e.call(t, r || "default");
62
+ if ("object" != _typeof(i)) return i;
61
63
  throw new TypeError("@@toPrimitive must return a primitive value.");
62
64
  }
63
- return (hint === "string" ? String : Number)(input);
65
+ return ("string" === r ? String : Number)(t);
64
66
  }
65
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
67
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
66
68
 
67
69
 
68
- function _toPropertyKey(arg) {
69
- var key = _toPrimitive(arg, "string");
70
- return _typeof(key) === "symbol" ? key : String(key);
70
+ function toPropertyKey(t) {
71
+ var i = toPrimitive(t, "string");
72
+ return "symbol" == _typeof(i) ? i : String(i);
71
73
  }
72
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
74
+ ;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
73
75
 
74
76
  function _defineProperty(obj, key, value) {
75
- key = _toPropertyKey(key);
77
+ key = toPropertyKey(key);
76
78
  if (key in obj) {
77
79
  Object.defineProperty(obj, key, {
78
80
  value: value,
@@ -85,22 +87,22 @@ function _defineProperty(obj, key, value) {
85
87
  }
86
88
  return obj;
87
89
  }
88
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
90
+ ;// ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
89
91
  function _arrayLikeToArray(arr, len) {
90
92
  if (len == null || len > arr.length) len = arr.length;
91
93
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
92
94
  return arr2;
93
95
  }
94
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
96
+ ;// ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
95
97
 
96
98
  function _arrayWithoutHoles(arr) {
97
99
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
98
100
  }
99
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
101
+ ;// ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
100
102
  function _iterableToArray(iter) {
101
103
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
102
104
  }
103
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
105
+ ;// ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
104
106
 
105
107
  function _unsupportedIterableToArray(o, minLen) {
106
108
  if (!o) return;
@@ -110,11 +112,11 @@ function _unsupportedIterableToArray(o, minLen) {
110
112
  if (n === "Map" || n === "Set") return Array.from(o);
111
113
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
112
114
  }
113
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
115
+ ;// ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
114
116
  function _nonIterableSpread() {
115
117
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
116
118
  }
117
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
119
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
118
120
 
119
121
 
120
122
 
@@ -122,23 +124,27 @@ function _nonIterableSpread() {
122
124
  function _toConsumableArray(arr) {
123
125
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
124
126
  }
125
- ;// CONCATENATED MODULE: external "vue"
126
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
127
- var external_vue_y = x => () => x
128
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["renderSlot"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
129
- ;// CONCATENATED MODULE: external "../config-provider"
130
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
131
- var config_provider_y = x => () => x
132
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
133
- ;// CONCATENATED MODULE: external "../collapse-transition"
134
- var collapse_transition_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
135
- var collapse_transition_y = x => () => x
136
- const collapse_transition_namespaceObject = collapse_transition_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_collapse_transition_3d6ae990__["default"] });
137
- ;// CONCATENATED MODULE: external "../icon"
138
- var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
139
- var icon_y = x => () => x
127
+ ;// external "vue"
128
+ var external_vue_x = (y) => {
129
+ var x = {}; __webpack_require__.d(x, y); return x
130
+ }
131
+ var external_vue_y = (x) => (() => (x))
132
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.Fragment), ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["inject"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.inject), ["isVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.isVNode), ["provide"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.provide), ["ref"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.ref), ["renderSlot"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.renderSlot), ["vShow"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.vShow), ["watch"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.watch), ["withDirectives"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.withDirectives) });
133
+ ;// external "../config-provider"
134
+ var config_provider_x = (y) => {
135
+ var x = {}; __webpack_require__.d(x, y); return x
136
+ }
137
+ var config_provider_y = (x) => (() => (x))
138
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
139
+ ;// external "../collapse-transition"
140
+ var collapse_transition_x = (y) => {
141
+ var x = {}; __webpack_require__.d(x, y); return x
142
+ }
143
+ var collapse_transition_y = (x) => (() => (x))
144
+ const collapse_transition_namespaceObject = collapse_transition_x({ ["default"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_collapse_transition_3d6ae990__["default"]) });
145
+ ;// external "../icon"
140
146
  const icon_namespaceObject = __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__;
141
- ;// CONCATENATED MODULE: ../../packages/collapse/src/props.ts
147
+ ;// ../../packages/collapse/src/props.ts
142
148
 
143
149
  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; }
144
150
  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; }
@@ -236,7 +242,7 @@ var propsCollapsePanel = _objectSpread({
236
242
  alone: shared_namespaceObject.PropTypes.bool.def(false),
237
243
  icon: shared_namespaceObject.PropTypes.string.def('angle-right')
238
244
  }, CollapsePanelEventProps);
239
- ;// CONCATENATED MODULE: ../../packages/collapse/src/collapse-panel.tsx
245
+ ;// ../../packages/collapse/src/collapse-panel.tsx
240
246
 
241
247
  /*
242
248
  * Tencent is pleased to support the open source community by making
@@ -267,10 +273,11 @@ var propsCollapsePanel = _objectSpread({
267
273
 
268
274
 
269
275
 
276
+
270
277
  function _isSlot(s) {
271
278
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
272
279
  }
273
- /* harmony default export */ const collapse_panel = (defineComponent({
280
+ /* harmony default export */ const collapse_panel = ((0,external_vue_namespaceObject.defineComponent)({
274
281
  name: 'CollapsePanel',
275
282
  props: propsCollapsePanel,
276
283
  emits: ['change', 'update:modelValue', 'after-leave', 'before-enter'],
@@ -279,17 +286,17 @@ function _isSlot(s) {
279
286
  slots = _ref.slots;
280
287
  var localActiveItems = null;
281
288
  var handleItemClick = null;
282
- var isActive = ref(props.modelValue);
283
- watch(function () {
289
+ var isActive = (0,external_vue_namespaceObject.ref)(props.modelValue);
290
+ (0,external_vue_namespaceObject.watch)(function () {
284
291
  return props.modelValue;
285
292
  }, function (newVal) {
286
293
  isActive.value = newVal;
287
294
  });
288
295
  // 如果单独使用,避免报 injection "*" not found. 相比getCurrentInstance()?.parent.type.name 方法简洁
289
296
  if (!props.alone) {
290
- localActiveItems = inject('localActiveItems');
291
- handleItemClick = inject('handleItemClick');
292
- watch(localActiveItems, function (newVal) {
297
+ localActiveItems = (0,external_vue_namespaceObject.inject)('localActiveItems');
298
+ handleItemClick = (0,external_vue_namespaceObject.inject)('handleItemClick');
299
+ (0,external_vue_namespaceObject.watch)(localActiveItems, function (newVal) {
293
300
  if (newVal !== null && newVal !== void 0 && newVal.length) {
294
301
  isActive.value = newVal.includes(props.name);
295
302
  } else {
@@ -329,7 +336,7 @@ function _isSlot(s) {
329
336
  }
330
337
  function getContent() {
331
338
  if (slots.content) {
332
- return slots.content(h);
339
+ return slots.content(external_vue_namespaceObject.h);
333
340
  }
334
341
  return props.content;
335
342
  }
@@ -344,14 +351,14 @@ function _isSlot(s) {
344
351
  function renderHeader(icon) {
345
352
  if (slots.header) {
346
353
  if (typeof slots.header === 'function') {
347
- return slots.header(h);
354
+ return slots.header(external_vue_namespaceObject.h);
348
355
  }
349
356
  return slots.header;
350
357
  }
351
358
  var title;
352
359
  if (slots["default"]) {
353
360
  if (typeof slots["default"] === 'function') {
354
- title = slots["default"](h);
361
+ title = slots["default"](external_vue_namespaceObject.h);
355
362
  } else {
356
363
  title = slots["default"];
357
364
  }
@@ -391,7 +398,7 @@ function _isSlot(s) {
391
398
  })]);
392
399
  }
393
400
  }));
394
- ;// CONCATENATED MODULE: ../../packages/collapse/src/collapse.tsx
401
+ ;// ../../packages/collapse/src/collapse.tsx
395
402
 
396
403
 
397
404
 
@@ -566,7 +573,7 @@ function collapse_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
566
573
  };
567
574
  }
568
575
  }));
569
- ;// CONCATENATED MODULE: ../../packages/collapse/src/index.ts
576
+ ;// ../../packages/collapse/src/index.ts
570
577
 
571
578
 
572
579