bkui-vue 0.0.1-beta.464 → 0.0.1-beta.465

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 (347) hide show
  1. package/dist/index.cjs.js +63 -67
  2. package/dist/index.esm.js +15197 -14527
  3. package/dist/index.umd.js +65 -69
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.d.ts +1 -1
  7. package/lib/affix/index.d.ts +58 -34
  8. package/lib/alert/alert.d.ts +1 -1
  9. package/lib/alert/index.d.ts +60 -40
  10. package/lib/alert/index.js +1 -1
  11. package/lib/animate-number/animate-number.d.ts +3 -3
  12. package/lib/animate-number/index.d.ts +60 -27
  13. package/lib/backtop/backtop.d.ts +2 -2
  14. package/lib/backtop/index.d.ts +61 -43
  15. package/lib/badge/badge.d.ts +1 -1
  16. package/lib/badge/index.d.ts +63 -60
  17. package/lib/badge/index.js +1 -1
  18. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  19. package/lib/breadcrumb/breadcrumb.d.ts +2 -2
  20. package/lib/breadcrumb/index.d.ts +61 -39
  21. package/lib/button/button-group.d.ts +4 -4
  22. package/lib/button/button.d.ts +3 -3
  23. package/lib/button/index.d.ts +74 -68
  24. package/lib/button/index.js +1 -1
  25. package/lib/card/card.d.ts +1 -1
  26. package/lib/card/index.d.ts +63 -64
  27. package/lib/card/index.js +1 -1
  28. package/lib/cascader/cascader-panel.d.ts +1 -1
  29. package/lib/cascader/cascader.d.ts +2 -2
  30. package/lib/cascader/index.d.ts +81 -146
  31. package/lib/cascader/index.js +2 -1
  32. package/lib/cascader/index.js.LICENSE.txt +1 -0
  33. package/lib/checkbox/checkbox-group.d.ts +2 -2
  34. package/lib/checkbox/checkbox.d.ts +10 -10
  35. package/lib/checkbox/index.d.ts +76 -64
  36. package/lib/checkbox/index.js +1 -1
  37. package/lib/checkbox/type.d.ts +1 -1
  38. package/lib/code-diff/code-diff.d.ts +6 -6
  39. package/lib/code-diff/index.d.ts +30 -43
  40. package/lib/code-diff/index.js +1 -1
  41. package/lib/collapse/collapse-panel.d.ts +1 -1
  42. package/lib/collapse/collapse.d.ts +1 -1
  43. package/lib/collapse/index.d.ts +68 -74
  44. package/lib/collapse-transition/collapse-transition.d.ts +2 -2
  45. package/lib/color-picker/color-picker.d.ts +2 -2
  46. package/lib/color-picker/components/color-input.d.ts +2 -2
  47. package/lib/color-picker/components/hue-slider.d.ts +2 -2
  48. package/lib/color-picker/components/input-container.d.ts +2 -2
  49. package/lib/color-picker/components/recommend-colors.d.ts +2 -2
  50. package/lib/color-picker/components/saturation-panel.d.ts +2 -2
  51. package/lib/color-picker/index.d.ts +63 -62
  52. package/lib/color-picker/index.js +1 -1
  53. package/lib/config-provider/config-provider.d.ts +3 -3
  54. package/lib/config-provider/index.d.ts +175 -138
  55. package/lib/container/col.d.ts +2 -2
  56. package/lib/container/container.d.ts +2 -2
  57. package/lib/container/index.d.ts +29 -48
  58. package/lib/container/row.d.ts +2 -2
  59. package/lib/date-picker/base/confirm.d.ts +5 -5
  60. package/lib/date-picker/base/date-table.d.ts +3 -3
  61. package/lib/date-picker/base/month-table.d.ts +4 -4
  62. package/lib/date-picker/base/picker-dropdown.d.ts +4 -4
  63. package/lib/date-picker/base/time-spinner.d.ts +2 -2
  64. package/lib/date-picker/base/year-table.d.ts +4 -4
  65. package/lib/date-picker/date-picker.d.ts +37 -28
  66. package/lib/date-picker/index.d.ts +162 -209
  67. package/lib/date-picker/index.js +1 -1
  68. package/lib/date-picker/interface.d.ts +10 -10
  69. package/lib/date-picker/panel/date-range.d.ts +18 -15
  70. package/lib/date-picker/panel/date.d.ts +12 -12
  71. package/lib/date-picker/panel/time-range.d.ts +8 -2
  72. package/lib/date-picker/panel/time.d.ts +5 -2
  73. package/lib/date-picker/props.d.ts +3 -3
  74. package/lib/date-picker/time-picker.d.ts +11 -2
  75. package/lib/dialog/dialog.d.ts +2 -2
  76. package/lib/dialog/index.d.ts +90 -163
  77. package/lib/dialog/index.js +2 -1
  78. package/lib/dialog/index.js.LICENSE.txt +1 -0
  79. package/lib/divider/divider.d.ts +2 -2
  80. package/lib/divider/index.d.ts +61 -37
  81. package/lib/dropdown/dropdown-item.d.ts +1 -1
  82. package/lib/dropdown/dropdown-menu.d.ts +2 -2
  83. package/lib/dropdown/dropdown.d.ts +2 -2
  84. package/lib/dropdown/index.d.ts +66 -54
  85. package/lib/exception/exception.d.ts +2 -2
  86. package/lib/exception/index.d.ts +60 -29
  87. package/lib/exception/index.js +1 -1
  88. package/lib/exception/typings/index.d.ts +2 -2
  89. package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
  90. package/lib/fixed-navbar/index.d.ts +58 -34
  91. package/lib/form/compose-form-item.d.ts +2 -2
  92. package/lib/form/form-item.d.ts +3 -3
  93. package/lib/form/form.d.ts +3 -3
  94. package/lib/form/index.d.ts +62 -40
  95. package/lib/form/index.js +1 -1
  96. package/lib/icon/angle-double-down-line.js +1 -1
  97. package/lib/icon/angle-double-left-line.js +1 -1
  98. package/lib/icon/angle-double-left.js +1 -1
  99. package/lib/icon/angle-double-right-line.js +1 -1
  100. package/lib/icon/angle-double-right.js +1 -1
  101. package/lib/icon/angle-double-up-line.js +1 -1
  102. package/lib/icon/angle-down-fill.js +1 -1
  103. package/lib/icon/angle-down-line.js +1 -1
  104. package/lib/icon/angle-down.js +1 -1
  105. package/lib/icon/angle-left.js +1 -1
  106. package/lib/icon/angle-right.js +1 -1
  107. package/lib/icon/angle-up-fill.js +1 -1
  108. package/lib/icon/angle-up.js +1 -1
  109. package/lib/icon/archive-fill.js +1 -1
  110. package/lib/icon/arrows-left.js +1 -1
  111. package/lib/icon/arrows-right.js +1 -1
  112. package/lib/icon/audio-fill.js +1 -1
  113. package/lib/icon/bk.js +1 -1
  114. package/lib/icon/circle.js +1 -1
  115. package/lib/icon/close-line.js +1 -1
  116. package/lib/icon/close.js +1 -1
  117. package/lib/icon/code.js +1 -1
  118. package/lib/icon/cog-shape.js +1 -1
  119. package/lib/icon/collapse-left.js +1 -1
  120. package/lib/icon/copy-shape.js +1 -1
  121. package/lib/icon/copy.js +1 -1
  122. package/lib/icon/data-shape.js +1 -1
  123. package/lib/icon/del.js +1 -1
  124. package/lib/icon/doc-fill.js +1 -1
  125. package/lib/icon/done.js +1 -1
  126. package/lib/icon/down-shape.js +1 -1
  127. package/lib/icon/down-small.js +1 -1
  128. package/lib/icon/edit-line.js +1 -1
  129. package/lib/icon/ellipsis.js +1 -1
  130. package/lib/icon/enlarge-line.js +1 -1
  131. package/lib/icon/error.js +1 -1
  132. package/lib/icon/excel-fill.js +1 -1
  133. package/lib/icon/exclamation-circle-shape.js +1 -1
  134. package/lib/icon/eye.js +1 -1
  135. package/lib/icon/filliscreen-line.js +1 -1
  136. package/lib/icon/fix-line.js +1 -1
  137. package/lib/icon/fix-shape.js +1 -1
  138. package/lib/icon/folder-open.js +1 -1
  139. package/lib/icon/folder-shape-open.js +1 -1
  140. package/lib/icon/folder-shape.js +1 -1
  141. package/lib/icon/folder.js +1 -1
  142. package/lib/icon/funnel.js +1 -1
  143. package/lib/icon/help-document-fill.js +1 -1
  144. package/lib/icon/help-fill.js +1 -1
  145. package/lib/icon/help.js +1 -1
  146. package/lib/icon/image-fill.js +1 -1
  147. package/lib/icon/img-error.js +1 -1
  148. package/lib/icon/img-placehoulder.js +1 -1
  149. package/lib/icon/index.js +1 -1
  150. package/lib/icon/info-line.js +1 -1
  151. package/lib/icon/info.js +1 -1
  152. package/lib/icon/left-shape.js +1 -1
  153. package/lib/icon/left-turn-line.js +1 -1
  154. package/lib/icon/narrow-line.js +1 -1
  155. package/lib/icon/original.js +1 -1
  156. package/lib/icon/pdf-fill.js +1 -1
  157. package/lib/icon/play-shape.js +1 -1
  158. package/lib/icon/plus.js +1 -1
  159. package/lib/icon/ppt-fill.js +1 -1
  160. package/lib/icon/qq.js +1 -1
  161. package/lib/icon/right-shape.js +1 -1
  162. package/lib/icon/right-turn-line.js +1 -1
  163. package/lib/icon/search.js +1 -1
  164. package/lib/icon/share.js +1 -1
  165. package/lib/icon/spinner.js +1 -1
  166. package/lib/icon/success.js +1 -1
  167. package/lib/icon/switcher-loading.js +1 -1
  168. package/lib/icon/text-file.js +1 -1
  169. package/lib/icon/text-fill.js +1 -1
  170. package/lib/icon/transfer.js +1 -1
  171. package/lib/icon/tree-application-shape.js +1 -1
  172. package/lib/icon/unfull-screen.js +1 -1
  173. package/lib/icon/unvisible.js +1 -1
  174. package/lib/icon/up-shape.js +1 -1
  175. package/lib/icon/upload.js +1 -1
  176. package/lib/icon/video-fill.js +1 -1
  177. package/lib/icon/warn.js +1 -1
  178. package/lib/icon/weixin-pro.js +1 -1
  179. package/lib/icon/weixin.js +1 -1
  180. package/lib/image/image-viewer.d.ts +2 -2
  181. package/lib/image/image.d.ts +1 -1
  182. package/lib/image/index.d.ts +63 -57
  183. package/lib/info-box/index.d.ts +1 -1
  184. package/lib/info-box/index.js +2 -1
  185. package/lib/info-box/index.js.LICENSE.txt +1 -0
  186. package/lib/input/index.d.ts +82 -119
  187. package/lib/input/index.js +1 -1
  188. package/lib/input/input.d.ts +6 -6
  189. package/lib/link/index.d.ts +59 -40
  190. package/lib/link/link.d.ts +1 -1
  191. package/lib/loading/directive.d.ts +2 -2
  192. package/lib/loading/index.d.ts +67 -71
  193. package/lib/loading/index.js +1 -1
  194. package/lib/loading/loading.d.ts +3 -3
  195. package/lib/locale/lang/en.d.ts +1 -1
  196. package/lib/menu/index.d.ts +69 -32
  197. package/lib/menu/index.js +1 -1
  198. package/lib/menu/menu-group.d.ts +2 -2
  199. package/lib/menu/menu-item.d.ts +5 -1
  200. package/lib/menu/menu.d.ts +1 -1
  201. package/lib/menu/submenu.d.ts +5 -1
  202. package/lib/menu/utils.d.ts +1 -1
  203. package/lib/message/index.js +1 -1
  204. package/lib/message/messageConstructor.d.ts +5 -5
  205. package/lib/modal/index.d.ts +84 -123
  206. package/lib/modal/modal.d.ts +3 -3
  207. package/lib/navigation/index.d.ts +84 -65
  208. package/lib/navigation/index.js +1 -1
  209. package/lib/navigation/navigation-title.d.ts +6 -3
  210. package/lib/navigation/navigation.d.ts +10 -3
  211. package/lib/notify/index.js +1 -1
  212. package/lib/notify/notifyConstructor.d.ts +1 -1
  213. package/lib/overflow-title/components/overflow-title.d.ts +2 -2
  214. package/lib/overflow-title/index.d.ts +62 -37
  215. package/lib/overflow-title/props.d.ts +2 -2
  216. package/lib/pagination/index.d.ts +75 -94
  217. package/lib/pagination/index.js +1 -1
  218. package/lib/pagination/pagination.d.ts +6 -6
  219. package/lib/pagination/type.d.ts +1 -1
  220. package/lib/plugin-popover/index.js +1 -1
  221. package/lib/pop-confirm/index.d.ts +66 -63
  222. package/lib/pop-confirm/pop-confirm.d.ts +2 -2
  223. package/lib/popover/arrow.d.ts +1 -1
  224. package/lib/popover/content.d.ts +2 -2
  225. package/lib/popover/index.d.ts +82 -153
  226. package/lib/popover/index.js +1 -1
  227. package/lib/popover/plugin-popover.d.ts +1 -1
  228. package/lib/popover/popover.d.ts +1 -1
  229. package/lib/popover/props.d.ts +2 -2
  230. package/lib/popover/reference.d.ts +1 -1
  231. package/lib/popover/root.d.ts +2 -2
  232. package/lib/popover/use-floating.d.ts +3 -3
  233. package/lib/popover2/index.d.ts +55 -10
  234. package/lib/popover2/popover.d.ts +1 -1
  235. package/lib/process/index.d.ts +60 -46
  236. package/lib/process/index.js +2 -1
  237. package/lib/process/index.js.LICENSE.txt +1 -0
  238. package/lib/process/process.d.ts +2 -2
  239. package/lib/progress/index.d.ts +76 -103
  240. package/lib/progress/index.js +1 -1
  241. package/lib/progress/progress.d.ts +6 -6
  242. package/lib/radio/index.d.ts +63 -41
  243. package/lib/radio/index.js +1 -1
  244. package/lib/radio/radio-button.d.ts +5 -5
  245. package/lib/radio/radio-group.d.ts +2 -2
  246. package/lib/radio/radio.d.ts +2 -2
  247. package/lib/radio/type.d.ts +1 -1
  248. package/lib/rate/index.d.ts +61 -34
  249. package/lib/rate/rate.d.ts +3 -3
  250. package/lib/rate/star.d.ts +1 -1
  251. package/lib/resize-layout/index.d.ts +65 -66
  252. package/lib/resize-layout/index.js +1 -1
  253. package/lib/resize-layout/resize-layout.d.ts +1 -1
  254. package/lib/search-select/index.d.ts +70 -69
  255. package/lib/search-select/index.js +2 -1
  256. package/lib/search-select/index.js.LICENSE.txt +1 -0
  257. package/lib/search-select/input.d.ts +1 -1
  258. package/lib/search-select/menu.d.ts +1 -1
  259. package/lib/search-select/search-select.d.ts +2 -2
  260. package/lib/search-select/selected.d.ts +2 -2
  261. package/lib/search-select/utils.d.ts +4 -4
  262. package/lib/select/index.d.ts +296 -500
  263. package/lib/select/index.js +2 -1
  264. package/lib/select/index.js.LICENSE.txt +1 -0
  265. package/lib/select/option.d.ts +2 -2
  266. package/lib/select/optionGroup.d.ts +2 -2
  267. package/lib/select/select.d.ts +70 -60
  268. package/lib/select/selectTagInput.d.ts +2 -2
  269. package/lib/select/type.d.ts +3 -3
  270. package/lib/shared/index.d.ts +2 -2
  271. package/lib/shared/index.js +1 -1
  272. package/lib/shared/mask-manager.d.ts +2 -2
  273. package/lib/shared/popover.d.ts +1 -1
  274. package/lib/shared/vue-types.d.ts +7 -7
  275. package/lib/sideslider/index.d.ts +84 -125
  276. package/lib/sideslider/index.js +2 -1
  277. package/lib/sideslider/index.js.LICENSE.txt +1 -0
  278. package/lib/sideslider/sideslider.d.ts +3 -3
  279. package/lib/slider/index.d.ts +76 -106
  280. package/lib/slider/index.js +2 -1
  281. package/lib/slider/index.js.LICENSE.txt +1 -0
  282. package/lib/slider/slider-button.d.ts +1 -1
  283. package/lib/slider/slider.d.ts +3 -3
  284. package/lib/steps/index.d.ts +68 -62
  285. package/lib/steps/index.js +2 -1
  286. package/lib/steps/index.js.LICENSE.txt +1 -0
  287. package/lib/steps/steps.d.ts +5 -5
  288. package/lib/swiper/index.d.ts +60 -44
  289. package/lib/swiper/swiper.d.ts +1 -1
  290. package/lib/switcher/index.d.ts +72 -77
  291. package/lib/switcher/index.js +1 -1
  292. package/lib/switcher/switcher.d.ts +3 -3
  293. package/lib/tab/index.d.ts +81 -99
  294. package/lib/tab/index.js +1 -1
  295. package/lib/tab/props.d.ts +1 -1
  296. package/lib/tab/tab-nav.d.ts +2 -2
  297. package/lib/tab/tab-panel.d.ts +2 -2
  298. package/lib/tab/tab.d.ts +3 -3
  299. package/lib/table/components/table-cell.d.ts +2 -2
  300. package/lib/table/components/table-column.d.ts +18 -12
  301. package/lib/table/components/table-row.d.ts +1 -1
  302. package/lib/table/index.d.ts +213 -302
  303. package/lib/table/index.js +1 -1
  304. package/lib/table/plugins/body-empty.d.ts +1 -1
  305. package/lib/table/plugins/col-group.d.ts +2 -2
  306. package/lib/table/plugins/head-filter.d.ts +1 -1
  307. package/lib/table/plugins/head-sort.d.ts +1 -1
  308. package/lib/table/plugins/settings.d.ts +1 -1
  309. package/lib/table/plugins/use-active-columns.d.ts +3 -3
  310. package/lib/table/plugins/use-fixed-column.d.ts +3 -3
  311. package/lib/table/props.d.ts +19 -19
  312. package/lib/table/table.d.ts +6 -6
  313. package/lib/table/use-column.d.ts +4 -4
  314. package/lib/table/use-common.d.ts +1 -1
  315. package/lib/table-column/index.d.ts +113 -106
  316. package/lib/table-column/index.js +1 -1
  317. package/lib/tag/index.d.ts +68 -50
  318. package/lib/tag/index.js +1 -1
  319. package/lib/tag/tag.d.ts +5 -1
  320. package/lib/tag-input/index.d.ts +99 -311
  321. package/lib/tag-input/index.js +1 -1
  322. package/lib/tag-input/list-tag-render.d.ts +2 -2
  323. package/lib/tag-input/tag-input.d.ts +3 -3
  324. package/lib/tag-input/tag-props.d.ts +1 -1
  325. package/lib/tag-input/tag-render.d.ts +2 -2
  326. package/lib/time-picker/index.d.ts +116 -187
  327. package/lib/timeline/index.d.ts +57 -28
  328. package/lib/timeline/timeline.d.ts +2 -2
  329. package/lib/transfer/index.d.ts +67 -82
  330. package/lib/transfer/transfer.d.ts +1 -1
  331. package/lib/tree/index.d.ts +84 -146
  332. package/lib/tree/index.js +1 -1
  333. package/lib/tree/props.d.ts +4 -4
  334. package/lib/tree/tree.d.ts +3 -3
  335. package/lib/upload/index.d.ts +93 -150
  336. package/lib/upload/index.js +2 -1
  337. package/lib/upload/index.js.LICENSE.txt +1 -0
  338. package/lib/upload/upload-list.d.ts +1 -1
  339. package/lib/upload/upload-trigger.d.ts +1 -1
  340. package/lib/upload/upload.d.ts +4 -4
  341. package/lib/upload/upload.type.d.ts +12 -12
  342. package/lib/upload/use-file-handler.d.ts +1 -24
  343. package/lib/virtual-render/index.d.ts +64 -160
  344. package/lib/virtual-render/index.js +1 -1
  345. package/lib/virtual-render/props.d.ts +1 -1
  346. package/lib/virtual-render/virtual-render.d.ts +16 -3
  347. package/package.json +38 -37
@@ -2,111 +2,30 @@ declare const BkInput: {
2
2
  new (...args: any[]): {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
- $props: Partial<{
6
- type: string;
7
- prefix: string;
8
- behavior: "simplicity" | "normal";
9
- disabled: boolean;
10
- step: number;
11
- placeholder: string;
12
- max: number;
13
- min: number;
14
- maxlength: number;
15
- clearable: boolean;
16
- readonly: boolean;
17
- prefixIcon: string;
18
- suffixIcon: string;
19
- suffix: string;
20
- showWordLimit: boolean;
21
- showControl: boolean;
22
- showClearOnlyHover: boolean;
23
- precision: number;
24
- rows: number;
25
- selectReadonly: boolean;
26
- withValidate: boolean;
27
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
28
- type: import("vue-types").VueTypeValidableDef<string> & {
29
- default: string;
30
- } & {
31
- default: string;
32
- };
33
- clearable: import("vue-types").VueTypeValidableDef<boolean> & {
34
- default: boolean;
35
- };
36
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
37
- default: boolean;
38
- };
39
- readonly: import("vue-types").VueTypeValidableDef<boolean> & {
40
- default: boolean;
41
- };
42
- placeholder: import("vue-types").VueTypeValidableDef<string> & {
43
- default: string;
44
- } & {
45
- default: string;
46
- };
47
- prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
48
- default: string;
49
- };
50
- suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
51
- default: string;
52
- };
53
- suffix: import("vue-types").VueTypeValidableDef<string> & {
54
- default: string;
55
- };
56
- prefix: import("vue-types").VueTypeValidableDef<string> & {
57
- default: string;
58
- };
59
- step: import("vue-types").VueTypeDef<number> & {
60
- default: number;
61
- };
62
- max: import("vue-types").VueTypeDef<number> & {
63
- default: number;
64
- };
65
- min: import("vue-types").VueTypeDef<number> & {
66
- default: number;
67
- };
68
- maxlength: import("vue-types").VueTypeDef<number> & {
69
- default: number;
70
- };
71
- behavior: import("vue-types").VueTypeDef<"simplicity" | "normal"> & {
72
- default: "simplicity" | "normal";
73
- };
74
- showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
75
- default: boolean;
76
- };
77
- showControl: import("vue-types").VueTypeValidableDef<boolean> & {
78
- default: boolean;
79
- } & {
80
- default: boolean;
81
- };
82
- showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
83
- default: boolean;
84
- } & {
85
- default: boolean;
86
- };
87
- precision: import("vue-types").VueTypeValidableDef<number> & {
88
- default: number;
89
- } & {
90
- default: number;
91
- } & {
92
- validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
93
- };
94
- modelValue: import("vue-types").VueTypeDef<string | number>;
95
- size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
96
- rows: import("vue-types").VueTypeValidableDef<number> & {
97
- default: number;
98
- };
99
- selectReadonly: import("vue-types").VueTypeValidableDef<boolean> & {
100
- default: boolean;
101
- } & {
102
- default: boolean;
103
- };
104
- withValidate: import("vue-types").VueTypeValidableDef<boolean> & {
105
- default: boolean;
106
- } & {
107
- default: boolean;
108
- };
109
- }>> & {
5
+ $props: {
6
+ type?: string;
7
+ prefix?: string;
8
+ behavior?: "simplicity" | "normal";
9
+ disabled?: boolean;
10
+ placeholder?: string;
11
+ step?: number;
12
+ max?: number;
13
+ min?: number;
14
+ maxlength?: number;
15
+ clearable?: boolean;
16
+ readonly?: boolean;
17
+ prefixIcon?: string;
18
+ suffixIcon?: string;
19
+ suffix?: string;
20
+ showWordLimit?: boolean;
21
+ showControl?: boolean;
22
+ showClearOnlyHover?: boolean;
23
+ precision?: number;
24
+ rows?: number;
25
+ selectReadonly?: boolean;
26
+ withValidate?: boolean;
27
+ class?: unknown;
28
+ style?: unknown;
110
29
  onPaste?: (_value: any, _evt?: KeyboardEvent) => any;
111
30
  onCompositionend?: (evt: CompositionEvent) => any;
112
31
  onCompositionstart?: (evt: CompositionEvent) => any;
@@ -118,10 +37,54 @@ declare const BkInput: {
118
37
  onKeydown?: (_value: any, _evt?: KeyboardEvent) => any;
119
38
  onKeypress?: (_value: any, _evt?: KeyboardEvent) => any;
120
39
  onKeyup?: (_value: any, _evt?: KeyboardEvent) => any;
40
+ key?: string | number | symbol;
41
+ ref?: import("vue").VNodeRef;
42
+ ref_for?: boolean;
43
+ ref_key?: string;
44
+ onVnodeBeforeMount?: ((vnode: 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
+ }>) => void)[];
49
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
+ [key: string]: any;
51
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }>) => void)[];
54
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
55
+ [key: string]: any;
56
+ }>, oldVNode: 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
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
61
+ [key: string]: any;
62
+ }>) => void)[];
63
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
64
+ [key: string]: any;
65
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
66
+ [key: string]: any;
67
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
68
+ [key: string]: any;
69
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
70
+ [key: string]: any;
71
+ }>) => void)[];
72
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
73
+ [key: string]: any;
74
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
75
+ [key: string]: any;
76
+ }>) => void)[];
77
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
78
+ [key: string]: any;
79
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
80
+ [key: string]: any;
81
+ }>) => void)[];
82
+ readonly size?: "default" | "small" | "large";
83
+ readonly modelValue?: string | number;
121
84
  onClear?: () => any;
122
85
  "onUpdate:modelValue"?: (_value: any, _evt?: KeyboardEvent) => any;
123
86
  onEnter?: (_value: any, _evt?: KeyboardEvent) => any;
124
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "prefix" | "behavior" | "disabled" | "step" | "placeholder" | "max" | "min" | "maxlength" | "clearable" | "readonly" | "prefixIcon" | "suffixIcon" | "suffix" | "showWordLimit" | "showControl" | "showClearOnlyHover" | "precision" | "rows" | "selectReadonly" | "withValidate">;
87
+ };
125
88
  $attrs: {
126
89
  [x: string]: unknown;
127
90
  };
@@ -129,10 +92,10 @@ declare const BkInput: {
129
92
  [x: string]: unknown;
130
93
  };
131
94
  $slots: Readonly<{
132
- [name: string]: import("vue").Slot;
95
+ [name: string]: import("vue").Slot<any>;
133
96
  }>;
134
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
135
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
97
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
98
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
136
99
  $emit: ((event: import("./input").EVENTS.UPDATE, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.FOCUS, evt: FocusEvent) => void) & ((event: import("./input").EVENTS.BLUR, evt: FocusEvent) => void) & ((event: import("./input").EVENTS.CHANGE, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.CLEAR) => void) & ((event: import("./input").EVENTS.INPUT, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.KEYPRESS, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.KEYDOWN, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.KEYUP, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.ENTER, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.PASTE, _value: any, _evt?: KeyboardEvent) => void) & ((event: import("./input").EVENTS.COMPOSITIONSTART, evt: CompositionEvent) => void) & ((event: import("./input").EVENTS.COMPOSITIONUPDATE, evt: CompositionEvent) => void) & ((event: import("./input").EVENTS.COMPOSITIONEND, evt: CompositionEvent) => void);
137
100
  $el: any;
138
101
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -203,7 +166,7 @@ declare const BkInput: {
203
166
  validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
204
167
  };
205
168
  modelValue: import("vue-types").VueTypeDef<string | number>;
206
- size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
169
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
207
170
  rows: import("vue-types").VueTypeValidableDef<number> & {
208
171
  default: number;
209
172
  };
@@ -252,8 +215,8 @@ declare const BkInput: {
252
215
  prefix: string;
253
216
  behavior: "simplicity" | "normal";
254
217
  disabled: boolean;
255
- step: number;
256
218
  placeholder: string;
219
+ step: number;
257
220
  max: number;
258
221
  min: number;
259
222
  maxlength: number;
@@ -269,7 +232,7 @@ declare const BkInput: {
269
232
  rows: number;
270
233
  selectReadonly: boolean;
271
234
  withValidate: boolean;
272
- }> & {
235
+ }, {}, string, {}> & {
273
236
  beforeCreate?: (() => void) | (() => void)[];
274
237
  created?: (() => void) | (() => void)[];
275
238
  beforeMount?: (() => void) | (() => void)[];
@@ -284,11 +247,11 @@ declare const BkInput: {
284
247
  unmounted?: (() => void) | (() => void)[];
285
248
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
286
249
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
287
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
250
+ 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)[];
288
251
  };
289
252
  $forceUpdate: () => void;
290
253
  $nextTick: typeof import("vue").nextTick;
291
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
254
+ $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;
292
255
  } & Readonly<import("vue").ExtractPropTypes<{
293
256
  type: import("vue-types").VueTypeValidableDef<string> & {
294
257
  default: string;
@@ -357,7 +320,7 @@ declare const BkInput: {
357
320
  validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
358
321
  };
359
322
  modelValue: import("vue-types").VueTypeDef<string | number>;
360
- size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
323
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
361
324
  rows: import("vue-types").VueTypeValidableDef<number> & {
362
325
  default: number;
363
326
  };
@@ -386,7 +349,7 @@ declare const BkInput: {
386
349
  onClear?: () => any;
387
350
  "onUpdate:modelValue"?: (_value: any, _evt?: KeyboardEvent) => any;
388
351
  onEnter?: (_value: any, _evt?: KeyboardEvent) => any;
389
- } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
352
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
390
353
  __isFragment?: never;
391
354
  __isTeleport?: never;
392
355
  __isSuspense?: never;
@@ -458,7 +421,7 @@ declare const BkInput: {
458
421
  validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
459
422
  };
460
423
  modelValue: import("vue-types").VueTypeDef<string | number>;
461
- size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
424
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
462
425
  rows: import("vue-types").VueTypeValidableDef<number> & {
463
426
  default: number;
464
427
  };
@@ -507,8 +470,8 @@ declare const BkInput: {
507
470
  prefix: string;
508
471
  behavior: "simplicity" | "normal";
509
472
  disabled: boolean;
510
- step: number;
511
473
  placeholder: string;
474
+ step: number;
512
475
  max: number;
513
476
  min: number;
514
477
  maxlength: number;
@@ -524,5 +487,5 @@ declare const BkInput: {
524
487
  rows: number;
525
488
  selectReadonly: boolean;
526
489
  withValidate: boolean;
527
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
490
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
528
491
  export default BkInput;
@@ -1 +1 @@
1
- !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../config-provider"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../config-provider","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue"),require("../config-provider"),require("../icon")):r(e["../shared"],e.vue,e["../config-provider"],e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o)=>(()=>{"use strict";var n={2717:e=>{e.exports=t},6870:e=>{e.exports=o},4212:r=>{r.exports=e},748:e=>{e.exports=r}},l={};function a(e){var r=l[e];if(void 0!==r)return r.exports;var t=l[e]={exports:{}};return n[e](t,t.exports,a),t.exports}a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{a.r(i),a.d(i,{default:()=>m});var e=a(4212);function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var o=a(748);Object.create,Object.create;var n,l,u=a(2717),s=a(6870),c={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string.def(""),prefixIcon:e.PropTypes.string,suffixIcon:e.PropTypes.string,suffix:e.PropTypes.string,prefix:e.PropTypes.string,step:e.PropTypes.integer,max:e.PropTypes.integer,min:e.PropTypes.integer,maxlength:e.PropTypes.integer,behavior:(0,e.InputBehaviorType)(),showWordLimit:e.PropTypes.bool,showControl:e.PropTypes.bool.def(!0),showClearOnlyHover:e.PropTypes.bool.def(!0),precision:e.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),size:e.PropTypes.size(),rows:e.PropTypes.number,selectReadonly:e.PropTypes.bool.def(!1),withValidate:e.PropTypes.bool.def(!0)};function p(e,r){return!0}function d(e){return e}!function(e){e.UPDATE="update:modelValue",e.FOCUS="focus",e.BLUR="blur",e.CHANGE="change",e.CLEAR="clear",e.INPUT="input",e.KEYPRESS="keypress",e.KEYDOWN="keydown",e.KEYUP="keyup",e.ENTER="enter",e.PASTE="paste",e.COMPOSITIONSTART="compositionstart",e.COMPOSITIONUPDATE="compositionupdate",e.COMPOSITIONEND="compositionend"}(l||(l={}));var f=(t(n={},l.UPDATE,p),t(n,l.FOCUS,(function(e){return e})),t(n,l.BLUR,(function(e){return e})),t(n,l.CHANGE,p),t(n,l.CLEAR,(function(){return!0})),t(n,l.INPUT,p),t(n,l.KEYPRESS,p),t(n,l.KEYDOWN,p),t(n,l.KEYUP,p),t(n,l.ENTER,p),t(n,l.PASTE,p),t(n,l.COMPOSITIONSTART,d),t(n,l.COMPOSITIONUPDATE,d),t(n,l.COMPOSITIONEND,d),n);const v=(0,o.defineComponent)({name:"Input",inheritAttrs:!1,props:c,emits:f,setup:function(n,a){var i=(0,e.useFormItem)(),c=(0,u.useLocale)("input"),p=(0,o.ref)(!1),d=(0,o.ref)(!1),f=(0,o.computed)((function(){return"textarea"===n.type})),v=(0,o.computed)((function(){return f.value?(0,e.resolveClassName)("textarea"):(0,e.resolveClassName)("input")})),m=a.attrs,y=m.class,b=m.style,P=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t}(m,["class","style"]),T=(0,o.ref)(),g=(0,o.computed)((function(){var r;return(0,e.classes)((t(r={},"".concat(v.value,"--").concat(n.size),!!n.size),t(r,"is-focused",p.value),t(r,"is-readonly",n.readonly&&!n.selectReadonly),t(r,"is-disabled",n.disabled),t(r,"is-simplicity","simplicity"===n.behavior),t(r,"".concat(y),!!y),r),v.value)})),h={search:function(){return(0,o.createVNode)(s.Search,null,null)},password:function(){return(0,o.createVNode)(s.Eye,{onClick:F},null)}},x=G("suffix-icon"),N=(0,o.computed)((function(){var e=h[n.type];return C.value?(0,o.createVNode)(s.Unvisible,{onClick:F,class:x},null):e?(0,o.createVNode)(e,{class:x},null):null})),E=(0,o.computed)((function(){return"number"===n.type})),O=(0,o.computed)((function(){return Math.floor(n.maxlength)})),C=(0,o.ref)(!1),S=(0,o.computed)((function(){return(0,e.classes)(t({"show-clear-only-hover":n.showClearOnlyHover},"".concat(v.value,"--clear-icon"),!0),x)})),V=(0,o.computed)((function(){return(0,e.classes)({"is-disabled":n.disabled||n.modelValue>=n.max})})),A=(0,o.computed)((function(){return(0,e.classes)({"is-disabled":n.disabled||n.modelValue<=n.min})}));function I(){if(!n.disabled){var e=E.value?n.min:"";a.emit(l.UPDATE,e),a.emit(l.CHANGE,e),a.emit(l.CLEAR)}}(0,o.watch)((function(){return n.modelValue}),(function(){var e;n.withValidate&&(null===(e=null==i?void 0:i.validate)||void 0===e||e.call(i,"change"))})),a.expose({focus:function(){T.value.focus()},clear:I});var w,U,j=(w=[l.KEYUP,l.KEYDOWN,l.KEYPRESS,l.PASTE,l.CHANGE,l.INPUT].map((function(e){return function(r){if(r.stopPropagation(),e!==l.KEYDOWN||"Enter"!==r.code&&"Enter"!==r.key&&13!==r.keyCode||a.emit(l.ENTER,r.target.value,r),!d.value||![l.INPUT,l.CHANGE].some((function(r){return e===r}))){if(e===l.INPUT)a.emit(l.UPDATE,r.target.value);else if(e===l.CHANGE&&E.value&&""!==r.target.value){var t=Y(r.target.value,0);return a.emit(l.UPDATE,t,r),void a.emit(e,t,r)}a.emit(e,r.target.value,r)}}})),U=6,function(e){if(Array.isArray(e))return e}(w)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,l=[],a=!0,i=!1;try{for(t=t.call(e);!(a=(o=t.next()).done)&&(l.push(o.value),!r||l.length!==r);a=!0);}catch(e){i=!0,n=e}finally{try{a||null==t.return||t.return()}finally{if(i)throw n}}return l}}(w,U)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(w,U)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),D=j[0],R=j[1],K=j[2],k=j[3],M=j[4],H=j[5];function Y(e,r){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=Number(r),l=Number.isInteger(n.precision)?n.precision:0,a=Number(e),i=Number.isInteger(o)?o:1,u=a+(t?i:-1*i);return Number.isInteger(n.max)&&(u=Math.min(u,n.max)),Number.isInteger(n.min)&&(u=Math.max(u,n.min)),+u.toFixed(l)}function L(){if(!n.disabled){var e=Y(n.modelValue,n.step);a.emit(l.UPDATE,e),a.emit(l.CHANGE,e)}}function q(){if(!n.disabled){var e=Y(n.modelValue,n.step,!1);a.emit(l.UPDATE,e),a.emit(l.CHANGE,e)}}function G(e){return"".concat(v.value,"--").concat(e)}function F(){C.value=!C.value}var W=(0,o.computed)((function(){var e=void 0===n.modelValue||null===n.modelValue?{}:{value:n.modelValue};return Object.assign(Object.assign({},e),{maxlength:n.maxlength,placeholder:n.placeholder||c.value.placeholder,readonly:n.readonly,disabled:n.disabled})})),B={onInput:H,onFocus:function(e){p.value=!0,a.emit(l.FOCUS,e)},onBlur:function(e){var r;p.value=!1,a.emit(l.BLUR,e),n.withValidate&&(null===(r=null==i?void 0:i.validate)||void 0===r||r.call(i,"blur"))},onPaste:k,onChange:M,onKeypress:K,onKeydown:R,onKeyup:D,onCompositionstart:function(){d.value=!0},onCompositionend:function(e){d.value=!1,H(e)}};return function(){var e,r,t,l,i,u,c;return(0,o.createVNode)("div",{class:g.value,style:b},[null!==(t=null===(r=null===(e=a.slots)||void 0===e?void 0:e.prefix)||void 0===r?void 0:r.call(e))&&void 0!==t?t:n.prefix&&(0,o.createVNode)("div",{class:G("prefix-area")},[(0,o.createVNode)("span",{class:G("prefix-area--text")},[n.prefix])]),f.value?(0,o.createVNode)("textarea",(0,o.mergeProps)({ref:T,spellcheck:!1},P,B,W.value,{rows:n.rows}),null):(0,o.createVNode)("input",(0,o.mergeProps)({spellcheck:!1},P,{ref:T,class:"".concat(v.value,"--text"),type:C.value&&"password"===n.type?"text":n.type,step:n.step,max:n.max,min:n.min},B,W.value),null),!f.value&&n.clearable&&!!n.modelValue&&(0,o.createVNode)("span",{class:S.value,onClick:I},[(0,o.createVNode)(s.Close,null,null)]),N.value,"number"==typeof n.maxlength&&(n.showWordLimit||f.value)&&(0,o.createVNode)("p",{class:G("max-length")},[(null!==(l=n.modelValue)&&void 0!==l?l:"").toString().length,(0,o.createTextVNode)("/"),(0,o.createVNode)("span",null,[O.value])]),E.value&&n.showControl&&(0,o.createVNode)("div",{class:G("number-control")},[(0,o.createVNode)(s.DownSmall,{class:V.value,onClick:L},null),(0,o.createVNode)(s.DownSmall,{class:A.value,onClick:q},null)]),null!==(c=null===(u=null===(i=a.slots)||void 0===i?void 0:i.suffix)||void 0===u?void 0:u.call(i))&&void 0!==c?c:n.suffix&&(0,o.createVNode)("div",{class:G("suffix-area")},[(0,o.createVNode)("span",{class:G("suffix-area--text")},[n.suffix])])])}}}),m=(0,e.withInstall)(v)})(),i})()));
1
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../config-provider"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../config-provider","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue"),require("../config-provider"),require("../icon")):r(e["../shared"],e.vue,e["../config-provider"],e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o)=>(()=>{"use strict";var n={2717:e=>{e.exports=t},6870:e=>{e.exports=o},4212:r=>{r.exports=e},748:e=>{e.exports=r}},l={};function a(e){var r=l[e];if(void 0!==r)return r.exports;var t=l[e]={exports:{}};return n[e](t,t.exports,a),t.exports}a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{a.r(i),a.d(i,{default:()=>y});var e=a(4212);function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function o(e,r,o){return(r=function(e){var r=function(e,r){if("object"!==t(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,"string");if("object"!==t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===t(r)?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}var n=a(748);Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var l,u,s=a(2717),c=a(6870),p={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string.def(""),prefixIcon:e.PropTypes.string,suffixIcon:e.PropTypes.string,suffix:e.PropTypes.string,prefix:e.PropTypes.string,step:e.PropTypes.integer,max:e.PropTypes.integer,min:e.PropTypes.integer,maxlength:e.PropTypes.integer,behavior:(0,e.InputBehaviorType)(),showWordLimit:e.PropTypes.bool,showControl:e.PropTypes.bool.def(!0),showClearOnlyHover:e.PropTypes.bool.def(!0),precision:e.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]),size:e.PropTypes.size(),rows:e.PropTypes.number,selectReadonly:e.PropTypes.bool.def(!1),withValidate:e.PropTypes.bool.def(!0)};function d(e,r){return!0}function f(e){return e}!function(e){e.UPDATE="update:modelValue",e.FOCUS="focus",e.BLUR="blur",e.CHANGE="change",e.CLEAR="clear",e.INPUT="input",e.KEYPRESS="keypress",e.KEYDOWN="keydown",e.KEYUP="keyup",e.ENTER="enter",e.PASTE="paste",e.COMPOSITIONSTART="compositionstart",e.COMPOSITIONUPDATE="compositionupdate",e.COMPOSITIONEND="compositionend"}(u||(u={}));var v=(o(l={},u.UPDATE,d),o(l,u.FOCUS,(function(e){return e})),o(l,u.BLUR,(function(e){return e})),o(l,u.CHANGE,d),o(l,u.CLEAR,(function(){return!0})),o(l,u.INPUT,d),o(l,u.KEYPRESS,d),o(l,u.KEYDOWN,d),o(l,u.KEYUP,d),o(l,u.ENTER,d),o(l,u.PASTE,d),o(l,u.COMPOSITIONSTART,f),o(l,u.COMPOSITIONUPDATE,f),o(l,u.COMPOSITIONEND,f),l);const m=(0,n.defineComponent)({name:"Input",inheritAttrs:!1,props:p,emits:v,setup:function(t,l){var a=(0,e.useFormItem)(),i=(0,s.useLocale)("input"),p=(0,n.ref)(!1),d=(0,n.ref)(!1),f=(0,n.computed)((function(){return"textarea"===t.type})),v=(0,n.computed)((function(){return f.value?(0,e.resolveClassName)("textarea"):(0,e.resolveClassName)("input")})),m=l.attrs,y=m.class,b=m.style,P=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t}(m,["class","style"]),T=(0,n.ref)(),g=(0,n.computed)((function(){var r;return(0,e.classes)((o(r={},"".concat(v.value,"--").concat(t.size),!!t.size),o(r,"is-focused",p.value),o(r,"is-readonly",t.readonly&&!t.selectReadonly),o(r,"is-disabled",t.disabled),o(r,"is-simplicity","simplicity"===t.behavior),o(r,"".concat(y),!!y),r),v.value)})),h={search:function(){return(0,n.createVNode)(c.Search,null,null)},password:function(){return(0,n.createVNode)(c.Eye,{onClick:F},null)}},x=G("suffix-icon"),N=(0,n.computed)((function(){var e=h[t.type];return S.value?(0,n.createVNode)(c.Unvisible,{onClick:F,class:x},null):e?(0,n.createVNode)(e,{class:x},null):null})),E=(0,n.computed)((function(){return"number"===t.type})),O=(0,n.computed)((function(){return Math.floor(t.maxlength)})),S=(0,n.ref)(!1),C=(0,n.computed)((function(){return(0,e.classes)(o({"show-clear-only-hover":t.showClearOnlyHover},"".concat(v.value,"--clear-icon"),!0),x)})),V=(0,n.computed)((function(){return(0,e.classes)({"is-disabled":t.disabled||t.modelValue>=t.max})})),w=(0,n.computed)((function(){return(0,e.classes)({"is-disabled":t.disabled||t.modelValue<=t.min})}));function A(){if(!t.disabled){var e=E.value?t.min:"";l.emit(u.UPDATE,e),l.emit(u.CHANGE,e),l.emit(u.CLEAR)}}(0,n.watch)((function(){return t.modelValue}),(function(){var e;t.withValidate&&(null===(e=null==a?void 0:a.validate)||void 0===e||e.call(a,"change"))})),l.expose({focus:function(){T.value.focus()},clear:A});var I,U,j=(I=[u.KEYUP,u.KEYDOWN,u.KEYPRESS,u.PASTE,u.CHANGE,u.INPUT].map((function(e){return function(r){if(r.stopPropagation(),e!==u.KEYDOWN||"Enter"!==r.code&&"Enter"!==r.key&&13!==r.keyCode||l.emit(u.ENTER,r.target.value,r),!d.value||![u.INPUT,u.CHANGE].some((function(r){return e===r}))){if(e===u.INPUT)l.emit(u.UPDATE,r.target.value);else if(e===u.CHANGE&&E.value&&""!==r.target.value){var t=Y(r.target.value,0);return l.emit(u.UPDATE,t,r),void l.emit(e,t,r)}l.emit(e,r.target.value,r)}}})),U=6,function(e){if(Array.isArray(e))return e}(I)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,l,a,i=[],u=!0,s=!1;try{if(l=(t=t.call(e)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(o=l.call(t)).done)&&(i.push(o.value),i.length!==r);u=!0);}catch(e){s=!0,n=e}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(s)throw n}}return i}}(I,U)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(I,U)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),D=j[0],R=j[1],K=j[2],k=j[3],M=j[4],H=j[5];function Y(e,r){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=Number(r),l=Number.isInteger(t.precision)?t.precision:0,a=Number(e),i=Number.isInteger(n)?n:1,u=a+(o?i:-1*i);return Number.isInteger(t.max)&&(u=Math.min(u,t.max)),Number.isInteger(t.min)&&(u=Math.max(u,t.min)),+u.toFixed(l)}function L(){if(!t.disabled){var e=Y(t.modelValue,t.step);l.emit(u.UPDATE,e),l.emit(u.CHANGE,e)}}function q(){if(!t.disabled){var e=Y(t.modelValue,t.step,!1);l.emit(u.UPDATE,e),l.emit(u.CHANGE,e)}}function G(e){return"".concat(v.value,"--").concat(e)}function F(){S.value=!S.value}var W=(0,n.computed)((function(){var e=void 0===t.modelValue||null===t.modelValue?{}:{value:t.modelValue};return Object.assign(Object.assign({},e),{maxlength:t.maxlength,placeholder:t.placeholder||i.value.placeholder,readonly:t.readonly,disabled:t.disabled})})),B={onInput:H,onFocus:function(e){p.value=!0,l.emit(u.FOCUS,e)},onBlur:function(e){var r;p.value=!1,l.emit(u.BLUR,e),t.withValidate&&(null===(r=null==a?void 0:a.validate)||void 0===r||r.call(a,"blur"))},onPaste:k,onChange:M,onKeypress:K,onKeydown:R,onKeyup:D,onCompositionstart:function(){d.value=!0},onCompositionend:function(e){d.value=!1,H(e)}};return function(){var e,r,o,a,i,u,s;return(0,n.createVNode)("div",{class:g.value,style:b},[null!==(o=null===(r=null===(e=l.slots)||void 0===e?void 0:e.prefix)||void 0===r?void 0:r.call(e))&&void 0!==o?o:t.prefix&&(0,n.createVNode)("div",{class:G("prefix-area")},[(0,n.createVNode)("span",{class:G("prefix-area--text")},[t.prefix])]),f.value?(0,n.createVNode)("textarea",(0,n.mergeProps)({ref:T,spellcheck:!1},P,B,W.value,{rows:t.rows}),null):(0,n.createVNode)("input",(0,n.mergeProps)({spellcheck:!1},P,{ref:T,class:"".concat(v.value,"--text"),type:S.value&&"password"===t.type?"text":t.type,step:t.step,max:t.max,min:t.min},B,W.value),null),!f.value&&t.clearable&&!!t.modelValue&&(0,n.createVNode)("span",{class:C.value,onClick:A},[(0,n.createVNode)(c.Close,null,null)]),N.value,"number"==typeof t.maxlength&&(t.showWordLimit||f.value)&&(0,n.createVNode)("p",{class:G("max-length")},[(null!==(a=t.modelValue)&&void 0!==a?a:"").toString().length,(0,n.createTextVNode)("/"),(0,n.createVNode)("span",null,[O.value])]),E.value&&t.showControl&&(0,n.createVNode)("div",{class:G("number-control")},[(0,n.createVNode)(c.DownSmall,{class:V.value,onClick:L},null),(0,n.createVNode)(c.DownSmall,{class:w.value,onClick:q},null)]),null!==(s=null===(u=null===(i=l.slots)||void 0===i?void 0:i.suffix)||void 0===u?void 0:u.call(i))&&void 0!==s?s:t.suffix&&(0,n.createVNode)("div",{class:G("suffix-area")},[(0,n.createVNode)("span",{class:G("suffix-area--text")},[t.suffix])])])}}}),y=(0,e.withInstall)(m)})(),i})()));
@@ -67,7 +67,7 @@ export declare const inputType: {
67
67
  validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
68
68
  };
69
69
  modelValue: import("vue-types").VueTypeDef<string | number>;
70
- size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
70
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
71
71
  rows: import("vue-types").VueTypeValidableDef<number> & {
72
72
  default: number;
73
73
  };
@@ -116,7 +116,7 @@ export declare const inputEmitEventsType: {
116
116
  compositionupdate: typeof CompositionEventFunction;
117
117
  compositionend: typeof CompositionEventFunction;
118
118
  };
119
- export declare type InputType = ExtractPropTypes<typeof inputType>;
119
+ export type InputType = ExtractPropTypes<typeof inputType>;
120
120
  declare const _default: import("vue").DefineComponent<{
121
121
  type: import("vue-types").VueTypeValidableDef<string> & {
122
122
  default: string;
@@ -185,7 +185,7 @@ declare const _default: import("vue").DefineComponent<{
185
185
  validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
186
186
  };
187
187
  modelValue: import("vue-types").VueTypeDef<string | number>;
188
- size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
188
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
189
189
  rows: import("vue-types").VueTypeValidableDef<number> & {
190
190
  default: number;
191
191
  };
@@ -282,7 +282,7 @@ declare const _default: import("vue").DefineComponent<{
282
282
  validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
283
283
  };
284
284
  modelValue: import("vue-types").VueTypeDef<string | number>;
285
- size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
285
+ size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
286
286
  rows: import("vue-types").VueTypeValidableDef<number> & {
287
287
  default: number;
288
288
  };
@@ -316,8 +316,8 @@ declare const _default: import("vue").DefineComponent<{
316
316
  prefix: string;
317
317
  behavior: "simplicity" | "normal";
318
318
  disabled: boolean;
319
- step: number;
320
319
  placeholder: string;
320
+ step: number;
321
321
  max: number;
322
322
  min: number;
323
323
  maxlength: number;
@@ -333,5 +333,5 @@ declare const _default: import("vue").DefineComponent<{
333
333
  rows: number;
334
334
  selectReadonly: boolean;
335
335
  withValidate: boolean;
336
- }>;
336
+ }, {}>;
337
337
  export default _default;
@@ -2,39 +2,58 @@ declare const BkLink: {
2
2
  new (...args: any[]): {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
- $props: Partial<{
6
- disabled: boolean;
7
- theme: "default" | "success" | "warning" | "danger" | "primary";
8
- target: string;
9
- underline: boolean;
10
- href: string;
11
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
- theme: import("vue-types").VueTypeDef<"default" | "success" | "warning" | "danger" | "primary"> & {
13
- default: "default" | "success" | "warning" | "danger" | "primary";
14
- };
15
- href: import("vue-types").VueTypeValidableDef<string> & {
16
- default: string;
17
- } & {
18
- default: string;
19
- };
20
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
21
- default: boolean;
22
- } & {
23
- default: boolean;
24
- };
25
- underline: import("vue-types").VueTypeValidableDef<boolean> & {
26
- default: boolean;
27
- } & {
28
- default: boolean;
29
- };
30
- target: import("vue-types").VueTypeValidableDef<string> & {
31
- default: string;
32
- } & {
33
- default: string;
34
- };
35
- }>> & {
5
+ $props: {
6
+ disabled?: boolean;
7
+ theme?: "default" | "success" | "warning" | "danger" | "primary";
8
+ target?: string;
9
+ underline?: boolean;
10
+ href?: string;
11
+ class?: unknown;
12
+ style?: unknown;
36
13
  onClick?: (...args: any[]) => any;
37
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "theme" | "target" | "underline" | "href">;
14
+ key?: string | number | symbol;
15
+ ref?: import("vue").VNodeRef;
16
+ ref_for?: boolean;
17
+ ref_key?: string;
18
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ [key: string]: any;
22
+ }>) => void)[];
23
+ onVnodeMounted?: ((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
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
+ [key: string]: any;
30
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
31
+ [key: string]: any;
32
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
+ [key: string]: any;
34
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }>) => void)[];
37
+ onVnodeUpdated?: ((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
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
+ [key: string]: any;
48
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>) => void)[];
51
+ onVnodeUnmounted?: ((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
+ };
38
57
  $attrs: {
39
58
  [x: string]: unknown;
40
59
  };
@@ -42,10 +61,10 @@ declare const BkLink: {
42
61
  [x: string]: unknown;
43
62
  };
44
63
  $slots: Readonly<{
45
- [name: string]: import("vue").Slot;
64
+ [name: string]: import("vue").Slot<any>;
46
65
  }>;
47
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
48
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
66
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
67
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
49
68
  $emit: (event: "click", ...args: any[]) => void;
50
69
  $el: any;
51
70
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -82,7 +101,7 @@ declare const BkLink: {
82
101
  target: string;
83
102
  underline: boolean;
84
103
  href: string;
85
- }> & {
104
+ }, {}, string, {}> & {
86
105
  beforeCreate?: (() => void) | (() => void)[];
87
106
  created?: (() => void) | (() => void)[];
88
107
  beforeMount?: (() => void) | (() => void)[];
@@ -97,11 +116,11 @@ declare const BkLink: {
97
116
  unmounted?: (() => void) | (() => void)[];
98
117
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
99
118
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
100
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
119
+ 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)[];
101
120
  };
102
121
  $forceUpdate: () => void;
103
122
  $nextTick: typeof import("vue").nextTick;
104
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
123
+ $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;
105
124
  } & Readonly<import("vue").ExtractPropTypes<{
106
125
  theme: import("vue-types").VueTypeDef<"default" | "success" | "warning" | "danger" | "primary"> & {
107
126
  default: "default" | "success" | "warning" | "danger" | "primary";
@@ -130,7 +149,7 @@ declare const BkLink: {
130
149
  onClick?: (...args: any[]) => any;
131
150
  } & import("vue").ShallowUnwrapRef<{
132
151
  handleClick: (event: Event) => boolean;
133
- }> & {} & {} & import("vue").ComponentCustomProperties;
152
+ }> & {} & import("vue").ComponentCustomProperties & {};
134
153
  __isFragment?: never;
135
154
  __isTeleport?: never;
136
155
  __isSuspense?: never;
@@ -168,5 +187,5 @@ declare const BkLink: {
168
187
  target: string;
169
188
  underline: boolean;
170
189
  href: string;
171
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
190
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
172
191
  export default BkLink;
@@ -56,5 +56,5 @@ declare const _default: import("vue").DefineComponent<{
56
56
  target: string;
57
57
  underline: boolean;
58
58
  href: string;
59
- }>;
59
+ }, {}>;
60
60
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { App, ComponentPublicInstance, Directive, UnwrapRef } from 'vue';
2
2
  import type { LoadingTypes } from './loading';
3
3
  declare const INSTANCE_KEY: unique symbol;
4
- export declare type LoadingBinding = UnwrapRef<LoadingTypes>;
4
+ export type LoadingBinding = UnwrapRef<LoadingTypes>;
5
5
  export interface BkLoading extends HTMLElement {
6
6
  [INSTANCE_KEY]?: {
7
7
  instance: App<Element>;
@@ -9,6 +9,6 @@ export interface BkLoading extends HTMLElement {
9
9
  vm: ComponentPublicInstance;
10
10
  };
11
11
  }
12
- export declare type LoadingDirective = Directive<BkLoading, LoadingBinding>;
12
+ export type LoadingDirective = Directive<BkLoading, LoadingBinding>;
13
13
  export declare const vBkloading: LoadingDirective;
14
14
  export {};