yc-design-vue 2.1.9 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Alert/index.vue.js +3 -3
  4. package/es/Avatar/Avatar.vue.d.ts +1 -1
  5. package/es/Avatar/Avatar.vue.js +2 -2
  6. package/es/Avatar/index.d.ts +3 -3
  7. package/es/BackTop/index.vue.js +2 -2
  8. package/es/Badge/index.d.ts +3 -3
  9. package/es/Badge/index.vue.d.ts +1 -1
  10. package/es/Breadcrumb/BreadcrumbItem.vue.js +2 -2
  11. package/es/Breadcrumb/BreadcrumbMore.vue.js +2 -2
  12. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +3 -3
  13. package/es/Button/Button.vue.d.ts +2 -2
  14. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  15. package/es/Button/index.d.ts +9 -9
  16. package/es/Calendar/Calendar.vue.js +3 -3
  17. package/es/Card/Card.vue.d.ts +1 -1
  18. package/es/Card/index.d.ts +3 -3
  19. package/es/Carousel/CarouselArrow.vue.js +2 -2
  20. package/es/Cascader/Cascader.vue.d.ts +12 -44
  21. package/es/Cascader/CascaderIcon.vue.js +3 -3
  22. package/es/Cascader/CascaderOption.vue.js +2 -2
  23. package/es/Cascader/index.d.ts +6 -22
  24. package/es/Checkbox/Checkbox.vue.js +3 -3
  25. package/es/Collapse/CollapseItem.vue.js +4 -4
  26. package/es/Drawer/Drawer.vue.js +3 -3
  27. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  28. package/es/Dropdown/DropdownButton.vue.js +2 -2
  29. package/es/Dropdown/Dsubmenu.vue.js +2 -2
  30. package/es/Dropdown/index.d.ts +3 -3
  31. package/es/Empty/index.vue.js +2 -2
  32. package/es/Image/Image.vue.js +2 -2
  33. package/es/Image/ImagePreview.vue.js +2 -2
  34. package/es/Image/ImagePreviewArrow.vue.js +2 -2
  35. package/es/Image/ImagePreviewToolbar.vue.js +8 -8
  36. package/es/Input/Input.vue.d.ts +2 -8
  37. package/es/Input/Input.vue.js +27 -49
  38. package/es/Input/InputPassword.vue.d.ts +309 -0
  39. package/es/Input/InputPassword.vue.js +122 -0
  40. package/es/Input/InputPassword.vue2.js +4 -0
  41. package/es/Input/InputSearch.vue.d.ts +310 -0
  42. package/es/Input/InputSearch.vue.js +142 -0
  43. package/es/Input/InputSearch.vue2.js +4 -0
  44. package/es/Input/hooks/useLimitedInput.d.ts +2 -0
  45. package/es/Input/hooks/useLimitedInput.js +2 -0
  46. package/es/Input/index.css +1 -1
  47. package/es/Input/index.d.ts +420 -23
  48. package/es/Input/index.js +11 -3
  49. package/es/Input/type.d.ts +24 -6
  50. package/es/InputNumber/InputNumber.vue.d.ts +12 -44
  51. package/es/InputNumber/InputOperaBtn.vue.js +2 -2
  52. package/es/InputNumber/index.d.ts +6 -22
  53. package/es/InputTag/index.vue.js +3 -3
  54. package/es/Layout/LayoutSider.vue.js +2 -2
  55. package/es/Link/index.d.ts +3 -3
  56. package/es/Link/index.vue.d.ts +1 -1
  57. package/es/Link/index.vue.js +2 -2
  58. package/es/Menu/Menu.vue.js +2 -2
  59. package/es/Menu/MenuEllipsis.vue.js +2 -2
  60. package/es/Menu/SubMenu.vue.js +3 -3
  61. package/es/Message/Message.vue.js +3 -3
  62. package/es/Modal/Modal.vue.js +3 -3
  63. package/es/Notification/Notification.vue.js +3 -3
  64. package/es/PageHeader/index.vue.js +3 -3
  65. package/es/Pagination/PaginationItem.vue.js +2 -2
  66. package/es/Progress/ProgressCircle.vue.js +3 -3
  67. package/es/Radio/Radio.vue.js +3 -3
  68. package/es/Rate/index.vue.js +2 -2
  69. package/es/ResizeBox/index.vue.js +2 -2
  70. package/es/Select/SelectIcon.vue.js +3 -3
  71. package/es/Spin/index.vue.js +2 -2
  72. package/es/Split/index.vue.js +2 -2
  73. package/es/Statistic/Statistic.vue.d.ts +1 -1
  74. package/es/Statistic/index.d.ts +3 -3
  75. package/es/Steps/Step.vue.d.ts +1 -1
  76. package/es/Steps/Step.vue.js +2 -2
  77. package/es/Steps/Steps.vue.d.ts +1 -1
  78. package/es/Steps/index.d.ts +6 -6
  79. package/es/Tabs/TabButton.vue.js +3 -3
  80. package/es/Tabs/Tabs.vue.js +2 -2
  81. package/es/Tag/index.vue.js +3 -3
  82. package/es/Textarea/index.vue.js +3 -3
  83. package/es/TimePicker/TimePicker.vue.js +3 -3
  84. package/es/Transfer/Transfer.vue.js +2 -2
  85. package/es/Transfer/TransferPanel.vue.js +4 -4
  86. package/es/Trigger/index.vue.js +2 -2
  87. package/es/Typography/TypographyBase.vue.d.ts +12 -44
  88. package/es/Typography/TypographyBase.vue.js +4 -4
  89. package/es/Upload/UploadButton.vue.js +2 -2
  90. package/es/Upload/UploadDrag.vue.js +2 -2
  91. package/es/Upload/UploadFileList.vue2.js +3 -3
  92. package/es/Upload/UploadPictureCard.vue2.js +3 -3
  93. package/es/_shared/components/ExpandTransition/index.vue3.js +2 -2
  94. package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +2 -2
  95. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  96. package/es/_shared/constants/index.js +2 -2
  97. package/es/_shared/icons/IconArrowDown.vue.js +2 -2
  98. package/es/_shared/icons/IconArrowRight.vue.js +2 -2
  99. package/es/_shared/icons/IconCheck.vue.js +2 -2
  100. package/es/_shared/icons/IconCheckboxChecked.vue.js +2 -2
  101. package/es/_shared/icons/IconClose.vue.js +2 -2
  102. package/es/_shared/icons/IconCopy.vue.js +1 -28
  103. package/es/_shared/icons/IconCopy.vue2.js +28 -1
  104. package/es/_shared/icons/IconDelete.vue2.js +2 -2
  105. package/es/_shared/icons/IconDragDot.vue.js +2 -2
  106. package/es/_shared/icons/IconEdit.vue.js +1 -28
  107. package/es/_shared/icons/IconEdit.vue2.js +28 -1
  108. package/es/_shared/icons/IconEmpty.vue.js +2 -2
  109. package/es/_shared/icons/IconError.vue.js +2 -2
  110. package/es/_shared/icons/IconExclamation.vue.js +39 -1
  111. package/es/_shared/icons/IconExclamation.vue2.js +1 -39
  112. package/es/_shared/icons/IconEyeClose.vue.js +32 -1
  113. package/es/_shared/icons/IconEyeClose.vue2.js +1 -32
  114. package/es/_shared/icons/IconEyeOpen.vue.js +29 -1
  115. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -29
  116. package/es/_shared/icons/IconFaceSmile.vue.js +2 -2
  117. package/es/_shared/icons/IconFile.vue2.js +2 -2
  118. package/es/_shared/icons/IconFullScreen.vue.js +1 -28
  119. package/es/_shared/icons/IconFullScreen.vue2.js +28 -1
  120. package/es/_shared/icons/IconImageClose.vue.js +2 -2
  121. package/es/_shared/icons/IconInfo.vue.js +2 -2
  122. package/es/_shared/icons/IconInfoLine.vue.js +2 -2
  123. package/es/_shared/icons/IconLink.vue.js +2 -2
  124. package/es/_shared/icons/IconLoading.vue.js +2 -2
  125. package/es/_shared/icons/IconMenuFold.vue.js +2 -2
  126. package/es/_shared/icons/IconMenuUnfold.vue.js +2 -2
  127. package/es/_shared/icons/IconMinus.vue2.js +2 -2
  128. package/es/_shared/icons/IconMore.vue.js +2 -2
  129. package/es/_shared/icons/IconOriginSize.vue.js +1 -34
  130. package/es/_shared/icons/IconOriginSize.vue2.js +34 -1
  131. package/es/_shared/icons/IconPlus.vue.js +2 -2
  132. package/es/_shared/icons/IconRight.vue.js +2 -2
  133. package/es/_shared/icons/IconRotateLeft.vue.js +1 -28
  134. package/es/_shared/icons/IconRotateLeft.vue2.js +28 -1
  135. package/es/_shared/icons/IconRotateRight.vue.js +1 -28
  136. package/es/_shared/icons/IconRotateRight.vue2.js +28 -1
  137. package/es/_shared/icons/IconSearch.vue.js +28 -1
  138. package/es/_shared/icons/IconSearch.vue2.js +1 -28
  139. package/es/_shared/icons/IconSeparator.vue.js +1 -28
  140. package/es/_shared/icons/IconSeparator.vue2.js +28 -1
  141. package/es/_shared/icons/IconStar.vue.js +2 -2
  142. package/es/_shared/icons/IconSuccess.vue.js +2 -2
  143. package/es/_shared/icons/IconTime.vue.js +2 -2
  144. package/es/_shared/icons/IconToTop.vue.js +2 -2
  145. package/es/_shared/icons/IconUpload.vue2.js +2 -2
  146. package/es/_shared/icons/IconWarning.vue.js +2 -2
  147. package/es/_shared/icons/IconZoomIn.vue.js +1 -28
  148. package/es/_shared/icons/IconZoomIn.vue2.js +28 -1
  149. package/es/_shared/icons/IconZoomOut.vue.js +1 -28
  150. package/es/_shared/icons/IconZoomOut.vue2.js +28 -1
  151. package/es/index.d.ts +9 -9
  152. package/es/index.js +4 -0
  153. package/es/style.css +1 -1
  154. package/lib/Alert/index.vue.js +1 -1
  155. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  156. package/lib/Avatar/Avatar.vue.js +1 -1
  157. package/lib/Avatar/index.d.ts +3 -3
  158. package/lib/BackTop/index.vue.js +1 -1
  159. package/lib/Badge/index.d.ts +3 -3
  160. package/lib/Badge/index.vue.d.ts +1 -1
  161. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  162. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  163. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  164. package/lib/Button/Button.vue.d.ts +2 -2
  165. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  166. package/lib/Button/index.d.ts +9 -9
  167. package/lib/Calendar/Calendar.vue.js +1 -1
  168. package/lib/Card/Card.vue.d.ts +1 -1
  169. package/lib/Card/index.d.ts +3 -3
  170. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  171. package/lib/Cascader/Cascader.vue.d.ts +12 -44
  172. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  173. package/lib/Cascader/CascaderOption.vue.js +1 -1
  174. package/lib/Cascader/index.d.ts +6 -22
  175. package/lib/Checkbox/Checkbox.vue.js +1 -1
  176. package/lib/Collapse/CollapseItem.vue.js +1 -1
  177. package/lib/Drawer/Drawer.vue.js +1 -1
  178. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  179. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  180. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  181. package/lib/Dropdown/index.d.ts +3 -3
  182. package/lib/Empty/index.vue.js +1 -1
  183. package/lib/Image/Image.vue.js +1 -1
  184. package/lib/Image/ImagePreview.vue.js +1 -1
  185. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  186. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  187. package/lib/Input/Input.vue.d.ts +2 -8
  188. package/lib/Input/Input.vue.js +1 -1
  189. package/lib/Input/InputPassword.vue.d.ts +309 -0
  190. package/lib/Input/InputPassword.vue.js +1 -0
  191. package/lib/Input/{InputSuffix.vue3.js → InputPassword.vue2.js} +1 -1
  192. package/lib/Input/InputSearch.vue.d.ts +310 -0
  193. package/lib/Input/InputSearch.vue.js +1 -0
  194. package/lib/Input/InputSearch.vue2.js +1 -0
  195. package/lib/Input/hooks/useLimitedInput.d.ts +2 -0
  196. package/lib/Input/hooks/useLimitedInput.js +1 -1
  197. package/lib/Input/index.css +1 -1
  198. package/lib/Input/index.d.ts +420 -23
  199. package/lib/Input/index.js +1 -1
  200. package/lib/Input/type.d.ts +24 -6
  201. package/lib/InputNumber/InputNumber.vue.d.ts +12 -44
  202. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  203. package/lib/InputNumber/index.d.ts +6 -22
  204. package/lib/InputTag/index.vue.js +1 -1
  205. package/lib/Layout/LayoutSider.vue.js +1 -1
  206. package/lib/Link/index.d.ts +3 -3
  207. package/lib/Link/index.vue.d.ts +1 -1
  208. package/lib/Link/index.vue.js +1 -1
  209. package/lib/Menu/Menu.vue.js +1 -1
  210. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  211. package/lib/Menu/SubMenu.vue.js +1 -1
  212. package/lib/Message/Message.vue.js +1 -1
  213. package/lib/Modal/Modal.vue.js +1 -1
  214. package/lib/Notification/Notification.vue.js +1 -1
  215. package/lib/PageHeader/index.vue.js +1 -1
  216. package/lib/Pagination/PaginationItem.vue.js +1 -1
  217. package/lib/Progress/ProgressCircle.vue.js +1 -1
  218. package/lib/Radio/Radio.vue.js +1 -1
  219. package/lib/Rate/index.vue.js +1 -1
  220. package/lib/ResizeBox/index.vue.js +1 -1
  221. package/lib/Select/SelectIcon.vue.js +1 -1
  222. package/lib/Spin/index.vue.js +1 -1
  223. package/lib/Split/index.vue.js +1 -1
  224. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  225. package/lib/Statistic/index.d.ts +3 -3
  226. package/lib/Steps/Step.vue.d.ts +1 -1
  227. package/lib/Steps/Step.vue.js +1 -1
  228. package/lib/Steps/Steps.vue.d.ts +1 -1
  229. package/lib/Steps/index.d.ts +6 -6
  230. package/lib/Tabs/TabButton.vue.js +1 -1
  231. package/lib/Tabs/Tabs.vue.js +1 -1
  232. package/lib/Tag/index.vue.js +1 -1
  233. package/lib/Textarea/index.vue.js +1 -1
  234. package/lib/TimePicker/TimePicker.vue.js +1 -1
  235. package/lib/Transfer/Transfer.vue.js +1 -1
  236. package/lib/Transfer/TransferPanel.vue.js +1 -1
  237. package/lib/Trigger/index.vue.js +1 -1
  238. package/lib/Typography/TypographyBase.vue.d.ts +12 -44
  239. package/lib/Typography/TypographyBase.vue.js +1 -1
  240. package/lib/Upload/UploadButton.vue.js +1 -1
  241. package/lib/Upload/UploadDrag.vue.js +1 -1
  242. package/lib/Upload/UploadFileList.vue2.js +1 -1
  243. package/lib/Upload/UploadPictureCard.vue2.js +1 -1
  244. package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -1
  245. package/lib/_shared/components/IconButton/{index.vue.js → index.vue2.js} +1 -1
  246. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  247. package/lib/_shared/constants/index.js +1 -1
  248. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  249. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  250. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  251. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  252. package/lib/_shared/icons/IconClose.vue.js +1 -1
  253. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  254. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  255. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  256. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  257. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  258. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  259. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  260. package/lib/_shared/icons/IconError.vue.js +1 -1
  261. package/lib/_shared/icons/IconExclamation.vue.js +1 -1
  262. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  263. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  264. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  265. package/lib/_shared/icons/IconEyeOpen.vue.js +1 -1
  266. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  267. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  268. package/lib/_shared/icons/IconFile.vue2.js +1 -1
  269. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  270. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  271. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  272. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  273. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  274. package/lib/_shared/icons/IconLink.vue.js +1 -1
  275. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  276. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  277. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  278. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  279. package/lib/_shared/icons/IconMore.vue.js +1 -1
  280. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  281. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  282. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  283. package/lib/_shared/icons/IconRight.vue.js +1 -1
  284. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  285. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  286. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  287. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  288. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  289. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  290. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  291. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  292. package/lib/_shared/icons/IconStar.vue.js +1 -1
  293. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  294. package/lib/_shared/icons/IconTime.vue.js +1 -1
  295. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  296. package/lib/_shared/icons/IconUpload.vue2.js +1 -1
  297. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  298. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  299. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  300. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  301. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  302. package/lib/index.d.ts +9 -9
  303. package/lib/index.js +1 -1
  304. package/lib/style.css +1 -1
  305. package/package.json +1 -1
  306. package/es/Input/InputSuffix.vue.d.ts +0 -31
  307. package/es/Input/InputSuffix.vue.js +0 -58
  308. package/es/Input/InputSuffix.vue3.js +0 -5
  309. package/lib/Input/InputSuffix.vue.d.ts +0 -31
  310. package/lib/Input/InputSuffix.vue.js +0 -1
  311. /package/es/_shared/components/ExpandTransition/{index.vue2.js → index.vue.js} +0 -0
  312. /package/lib/_shared/components/ExpandTransition/{index.vue2.js → index.vue.js} +0 -0
@@ -1,7 +1,12 @@
1
1
  import { App } from 'vue';
2
2
  import { default as _Input } from './Input.vue';
3
+ import { default as _InputSearch } from './InputSearch.vue';
4
+ import { default as _InputPassword } from './InputPassword.vue';
3
5
  import { default as _InputGroup } from './InputGroup.vue';
4
6
  export type InputInstance = InstanceType<typeof _Input>;
7
+ export type InputPasswordInstance = InstanceType<typeof _InputPassword>;
8
+ export type InputSearchInstance = InstanceType<typeof _InputSearch>;
9
+ export type InputGroupInstance = InstanceType<typeof _InputGroup>;
5
10
  export * from './type';
6
11
  declare const Input: {
7
12
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputProps> & Readonly<{
@@ -12,13 +17,13 @@ declare const Input: {
12
17
  onInput?: ((value: string, ev: Event) => any) | undefined;
13
18
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
14
19
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
16
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
17
20
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
18
21
  }>, {
19
22
  focus(): void;
20
23
  blur(): void;
21
24
  getInputRef(): HTMLInputElement;
25
+ setCursor?: () => void;
26
+ recordCursor?: () => void;
22
27
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
23
28
  change: (value: string, ev: Event) => any;
24
29
  focus: (ev: FocusEvent) => any;
@@ -27,8 +32,6 @@ declare const Input: {
27
32
  input: (value: string, ev: Event) => any;
28
33
  keydown: (ev: KeyboardEvent) => any;
29
34
  "update:modelValue": (value: string) => any;
30
- "update:visibility": (value: boolean) => any;
31
- "visibility-change": (value: boolean) => any;
32
35
  pressEnter: (ev: KeyboardEvent) => any;
33
36
  }, import('vue').PublicProps, {
34
37
  error: boolean;
@@ -44,10 +47,6 @@ declare const Input: {
44
47
  wordLength: import('./type').WordLength;
45
48
  wordSlice: import('./type').WordSlice;
46
49
  inputAttrs: import('..').RecordType;
47
- isPassword: boolean;
48
- visibility: boolean;
49
- defaultVisibility: boolean;
50
- invisibleButton: boolean;
51
50
  showInput: boolean;
52
51
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
53
52
  inputRef: HTMLInputElement;
@@ -66,13 +65,13 @@ declare const Input: {
66
65
  onInput?: ((value: string, ev: Event) => any) | undefined;
67
66
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
68
67
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
69
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
70
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
71
68
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
72
69
  }>, {
73
70
  focus(): void;
74
71
  blur(): void;
75
72
  getInputRef(): HTMLInputElement;
73
+ setCursor?: () => void;
74
+ recordCursor?: () => void;
76
75
  }, {}, {}, {}, {
77
76
  error: boolean;
78
77
  size: import('..').Size;
@@ -87,10 +86,6 @@ declare const Input: {
87
86
  wordLength: import('./type').WordLength;
88
87
  wordSlice: import('./type').WordSlice;
89
88
  inputAttrs: import('..').RecordType;
90
- isPassword: boolean;
91
- visibility: boolean;
92
- defaultVisibility: boolean;
93
- invisibleButton: boolean;
94
89
  showInput: boolean;
95
90
  }>;
96
91
  __isFragment?: never;
@@ -104,13 +99,13 @@ declare const Input: {
104
99
  onInput?: ((value: string, ev: Event) => any) | undefined;
105
100
  onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
106
101
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
107
- "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
108
- "onVisibility-change"?: ((value: boolean) => any) | undefined;
109
102
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
110
103
  }>, {
111
104
  focus(): void;
112
105
  blur(): void;
113
106
  getInputRef(): HTMLInputElement;
107
+ setCursor?: () => void;
108
+ recordCursor?: () => void;
114
109
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
115
110
  change: (value: string, ev: Event) => any;
116
111
  focus: (ev: FocusEvent) => any;
@@ -119,8 +114,6 @@ declare const Input: {
119
114
  input: (value: string, ev: Event) => any;
120
115
  keydown: (ev: KeyboardEvent) => any;
121
116
  "update:modelValue": (value: string) => any;
122
- "update:visibility": (value: boolean) => any;
123
- "visibility-change": (value: boolean) => any;
124
117
  pressEnter: (ev: KeyboardEvent) => any;
125
118
  }, string, {
126
119
  error: boolean;
@@ -136,10 +129,6 @@ declare const Input: {
136
129
  wordLength: import('./type').WordLength;
137
130
  wordSlice: import('./type').WordSlice;
138
131
  inputAttrs: import('..').RecordType;
139
- isPassword: boolean;
140
- visibility: boolean;
141
- defaultVisibility: boolean;
142
- invisibleButton: boolean;
143
132
  showInput: boolean;
144
133
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
145
134
  $slots: any;
@@ -161,13 +150,421 @@ declare const Input: {
161
150
  default?(_: {}): any;
162
151
  };
163
152
  });
153
+ password: {
154
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputPasswordProps> & Readonly<{
155
+ "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
156
+ "onVisibility-change"?: ((value: boolean) => any) | undefined;
157
+ }>, {
158
+ focus(): void;
159
+ blur(): void;
160
+ getInputRef(): HTMLInputElement;
161
+ setCursor?: () => void;
162
+ recordCursor?: () => void;
163
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
164
+ "update:visibility": (value: boolean) => any;
165
+ "visibility-change": (value: boolean) => any;
166
+ }, import('vue').PublicProps, {
167
+ visibility: boolean;
168
+ defaultVisibility: boolean;
169
+ invisibleButton: boolean;
170
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
171
+ inputRef: ({
172
+ $: import('vue').ComponentInternalInstance;
173
+ $data: {};
174
+ $props: {
175
+ readonly modelValue?: string | undefined;
176
+ readonly defaultValue?: string | undefined;
177
+ readonly size?: import('..').Size | undefined;
178
+ readonly allowClear?: boolean | undefined;
179
+ readonly disabled?: boolean | undefined;
180
+ readonly readonly?: boolean | undefined;
181
+ readonly error?: boolean | undefined;
182
+ readonly placeholder?: string | undefined;
183
+ readonly maxLength?: import('./type').MaxLength | undefined;
184
+ readonly wordLength?: import('./type').WordLength | undefined;
185
+ readonly wordSlice?: import('./type').WordSlice | undefined;
186
+ readonly showWordLimit?: boolean | undefined;
187
+ readonly inputAttrs?: import('..').RecordType | undefined;
188
+ readonly showInput?: boolean | undefined;
189
+ readonly onChange?: ((value: string, ev: Event) => any) | undefined;
190
+ readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
191
+ readonly onClear?: ((ev: MouseEvent) => any) | undefined;
192
+ readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
193
+ readonly onInput?: ((value: string, ev: Event) => any) | undefined;
194
+ readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
195
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
196
+ readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
197
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
198
+ $attrs: {
199
+ [x: string]: unknown;
200
+ };
201
+ $refs: {
202
+ [x: string]: unknown;
203
+ } & {
204
+ inputRef: HTMLInputElement;
205
+ };
206
+ $slots: Readonly<{
207
+ [name: string]: import('vue').Slot<any> | undefined;
208
+ }>;
209
+ $root: import('vue').ComponentPublicInstance | null;
210
+ $parent: import('vue').ComponentPublicInstance | null;
211
+ $host: Element | null;
212
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
213
+ $el: HTMLDivElement;
214
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./type').InputProps> & Readonly<{
215
+ onChange?: ((value: string, ev: Event) => any) | undefined;
216
+ onFocus?: ((ev: FocusEvent) => any) | undefined;
217
+ onClear?: ((ev: MouseEvent) => any) | undefined;
218
+ onBlur?: ((ev: FocusEvent) => any) | undefined;
219
+ onInput?: ((value: string, ev: Event) => any) | undefined;
220
+ onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
221
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
222
+ onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
223
+ }>, {
224
+ focus(): void;
225
+ blur(): void;
226
+ getInputRef(): HTMLInputElement;
227
+ setCursor?: () => void;
228
+ recordCursor?: () => void;
229
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
230
+ change: (value: string, ev: Event) => any;
231
+ focus: (ev: FocusEvent) => any;
232
+ clear: (ev: MouseEvent) => any;
233
+ blur: (ev: FocusEvent) => any;
234
+ input: (value: string, ev: Event) => any;
235
+ keydown: (ev: KeyboardEvent) => any;
236
+ "update:modelValue": (value: string) => any;
237
+ pressEnter: (ev: KeyboardEvent) => any;
238
+ }, string, {
239
+ error: boolean;
240
+ size: import('..').Size;
241
+ disabled: boolean;
242
+ placeholder: string;
243
+ modelValue: string;
244
+ defaultValue: string;
245
+ maxLength: import('./type').MaxLength;
246
+ showWordLimit: boolean;
247
+ allowClear: boolean;
248
+ readonly: boolean;
249
+ wordLength: import('./type').WordLength;
250
+ wordSlice: import('./type').WordSlice;
251
+ inputAttrs: import('..').RecordType;
252
+ showInput: boolean;
253
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
254
+ beforeCreate?: (() => void) | (() => void)[];
255
+ created?: (() => void) | (() => void)[];
256
+ beforeMount?: (() => void) | (() => void)[];
257
+ mounted?: (() => void) | (() => void)[];
258
+ beforeUpdate?: (() => void) | (() => void)[];
259
+ updated?: (() => void) | (() => void)[];
260
+ activated?: (() => void) | (() => void)[];
261
+ deactivated?: (() => void) | (() => void)[];
262
+ beforeDestroy?: (() => void) | (() => void)[];
263
+ beforeUnmount?: (() => void) | (() => void)[];
264
+ destroyed?: (() => void) | (() => void)[];
265
+ unmounted?: (() => void) | (() => void)[];
266
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
267
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
268
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
269
+ };
270
+ $forceUpdate: () => void;
271
+ $nextTick: typeof import('vue').nextTick;
272
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
273
+ } & Readonly<{
274
+ error: boolean;
275
+ size: import('..').Size;
276
+ disabled: boolean;
277
+ placeholder: string;
278
+ modelValue: string;
279
+ defaultValue: string;
280
+ maxLength: import('./type').MaxLength;
281
+ showWordLimit: boolean;
282
+ allowClear: boolean;
283
+ readonly: boolean;
284
+ wordLength: import('./type').WordLength;
285
+ wordSlice: import('./type').WordSlice;
286
+ inputAttrs: import('..').RecordType;
287
+ showInput: boolean;
288
+ }> & Omit<Readonly<import('./type').InputProps> & Readonly<{
289
+ onChange?: ((value: string, ev: Event) => any) | undefined;
290
+ onFocus?: ((ev: FocusEvent) => any) | undefined;
291
+ onClear?: ((ev: MouseEvent) => any) | undefined;
292
+ onBlur?: ((ev: FocusEvent) => any) | undefined;
293
+ onInput?: ((value: string, ev: Event) => any) | undefined;
294
+ onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
295
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
296
+ onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
297
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
298
+ focus(): void;
299
+ blur(): void;
300
+ getInputRef(): HTMLInputElement;
301
+ setCursor?: () => void;
302
+ recordCursor?: () => void;
303
+ }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
304
+ $slots: any;
305
+ }) | null;
306
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
307
+ P: {};
308
+ B: {};
309
+ D: {};
310
+ C: {};
311
+ M: {};
312
+ Defaults: {};
313
+ }, Readonly<import('./type').InputPasswordProps> & Readonly<{
314
+ "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
315
+ "onVisibility-change"?: ((value: boolean) => any) | undefined;
316
+ }>, {
317
+ focus(): void;
318
+ blur(): void;
319
+ getInputRef(): HTMLInputElement;
320
+ setCursor?: () => void;
321
+ recordCursor?: () => void;
322
+ }, {}, {}, {}, {
323
+ visibility: boolean;
324
+ defaultVisibility: boolean;
325
+ invisibleButton: boolean;
326
+ }>;
327
+ __isFragment?: never;
328
+ __isTeleport?: never;
329
+ __isSuspense?: never;
330
+ } & import('vue').ComponentOptionsBase<Readonly<import('./type').InputPasswordProps> & Readonly<{
331
+ "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
332
+ "onVisibility-change"?: ((value: boolean) => any) | undefined;
333
+ }>, {
334
+ focus(): void;
335
+ blur(): void;
336
+ getInputRef(): HTMLInputElement;
337
+ setCursor?: () => void;
338
+ recordCursor?: () => void;
339
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
340
+ "update:visibility": (value: boolean) => any;
341
+ "visibility-change": (value: boolean) => any;
342
+ }, string, {
343
+ visibility: boolean;
344
+ defaultVisibility: boolean;
345
+ invisibleButton: boolean;
346
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
347
+ $slots: {
348
+ prepend?(_: {}): any;
349
+ append?(_: {}): any;
350
+ prefix?(_: {}): any;
351
+ suffix?(_: {}): any;
352
+ };
353
+ });
354
+ search: {
355
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').InputSearchProps> & Readonly<{
356
+ onSearch?: ((value: string, ev: MouseEvent) => any) | undefined;
357
+ }>, {
358
+ focus(): void;
359
+ blur(): void;
360
+ getInputRef(): HTMLInputElement;
361
+ setCursor?: () => void;
362
+ recordCursor?: () => void;
363
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
364
+ search: (value: string, ev: MouseEvent) => any;
365
+ }, import('vue').PublicProps, {
366
+ size: import('..').Size;
367
+ disabled: boolean;
368
+ loading: boolean;
369
+ searchButton: boolean;
370
+ buttonText: string;
371
+ buttonProps: import('..').ButtonGroupProps;
372
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
373
+ inputRef: ({
374
+ $: import('vue').ComponentInternalInstance;
375
+ $data: {};
376
+ $props: {
377
+ readonly modelValue?: string | undefined;
378
+ readonly defaultValue?: string | undefined;
379
+ readonly size?: import('..').Size | undefined;
380
+ readonly allowClear?: boolean | undefined;
381
+ readonly disabled?: boolean | undefined;
382
+ readonly readonly?: boolean | undefined;
383
+ readonly error?: boolean | undefined;
384
+ readonly placeholder?: string | undefined;
385
+ readonly maxLength?: import('./type').MaxLength | undefined;
386
+ readonly wordLength?: import('./type').WordLength | undefined;
387
+ readonly wordSlice?: import('./type').WordSlice | undefined;
388
+ readonly showWordLimit?: boolean | undefined;
389
+ readonly inputAttrs?: import('..').RecordType | undefined;
390
+ readonly showInput?: boolean | undefined;
391
+ readonly onChange?: ((value: string, ev: Event) => any) | undefined;
392
+ readonly onFocus?: ((ev: FocusEvent) => any) | undefined;
393
+ readonly onClear?: ((ev: MouseEvent) => any) | undefined;
394
+ readonly onBlur?: ((ev: FocusEvent) => any) | undefined;
395
+ readonly onInput?: ((value: string, ev: Event) => any) | undefined;
396
+ readonly onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
397
+ readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
398
+ readonly onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
399
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
400
+ $attrs: {
401
+ [x: string]: unknown;
402
+ };
403
+ $refs: {
404
+ [x: string]: unknown;
405
+ } & {
406
+ inputRef: HTMLInputElement;
407
+ };
408
+ $slots: Readonly<{
409
+ [name: string]: import('vue').Slot<any> | undefined;
410
+ }>;
411
+ $root: import('vue').ComponentPublicInstance | null;
412
+ $parent: import('vue').ComponentPublicInstance | null;
413
+ $host: Element | null;
414
+ $emit: ((event: "change", value: string, ev: Event) => void) & ((event: "focus", ev: FocusEvent) => void) & ((event: "clear", ev: MouseEvent) => void) & ((event: "blur", ev: FocusEvent) => void) & ((event: "input", value: string, ev: Event) => void) & ((event: "keydown", ev: KeyboardEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "pressEnter", ev: KeyboardEvent) => void);
415
+ $el: HTMLDivElement;
416
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./type').InputProps> & Readonly<{
417
+ onChange?: ((value: string, ev: Event) => any) | undefined;
418
+ onFocus?: ((ev: FocusEvent) => any) | undefined;
419
+ onClear?: ((ev: MouseEvent) => any) | undefined;
420
+ onBlur?: ((ev: FocusEvent) => any) | undefined;
421
+ onInput?: ((value: string, ev: Event) => any) | undefined;
422
+ onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
423
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
424
+ onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
425
+ }>, {
426
+ focus(): void;
427
+ blur(): void;
428
+ getInputRef(): HTMLInputElement;
429
+ setCursor?: () => void;
430
+ recordCursor?: () => void;
431
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
432
+ change: (value: string, ev: Event) => any;
433
+ focus: (ev: FocusEvent) => any;
434
+ clear: (ev: MouseEvent) => any;
435
+ blur: (ev: FocusEvent) => any;
436
+ input: (value: string, ev: Event) => any;
437
+ keydown: (ev: KeyboardEvent) => any;
438
+ "update:modelValue": (value: string) => any;
439
+ pressEnter: (ev: KeyboardEvent) => any;
440
+ }, string, {
441
+ error: boolean;
442
+ size: import('..').Size;
443
+ disabled: boolean;
444
+ placeholder: string;
445
+ modelValue: string;
446
+ defaultValue: string;
447
+ maxLength: import('./type').MaxLength;
448
+ showWordLimit: boolean;
449
+ allowClear: boolean;
450
+ readonly: boolean;
451
+ wordLength: import('./type').WordLength;
452
+ wordSlice: import('./type').WordSlice;
453
+ inputAttrs: import('..').RecordType;
454
+ showInput: boolean;
455
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
456
+ beforeCreate?: (() => void) | (() => void)[];
457
+ created?: (() => void) | (() => void)[];
458
+ beforeMount?: (() => void) | (() => void)[];
459
+ mounted?: (() => void) | (() => void)[];
460
+ beforeUpdate?: (() => void) | (() => void)[];
461
+ updated?: (() => void) | (() => void)[];
462
+ activated?: (() => void) | (() => void)[];
463
+ deactivated?: (() => void) | (() => void)[];
464
+ beforeDestroy?: (() => void) | (() => void)[];
465
+ beforeUnmount?: (() => void) | (() => void)[];
466
+ destroyed?: (() => void) | (() => void)[];
467
+ unmounted?: (() => void) | (() => void)[];
468
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
469
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
470
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
471
+ };
472
+ $forceUpdate: () => void;
473
+ $nextTick: typeof import('vue').nextTick;
474
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
475
+ } & Readonly<{
476
+ error: boolean;
477
+ size: import('..').Size;
478
+ disabled: boolean;
479
+ placeholder: string;
480
+ modelValue: string;
481
+ defaultValue: string;
482
+ maxLength: import('./type').MaxLength;
483
+ showWordLimit: boolean;
484
+ allowClear: boolean;
485
+ readonly: boolean;
486
+ wordLength: import('./type').WordLength;
487
+ wordSlice: import('./type').WordSlice;
488
+ inputAttrs: import('..').RecordType;
489
+ showInput: boolean;
490
+ }> & Omit<Readonly<import('./type').InputProps> & Readonly<{
491
+ onChange?: ((value: string, ev: Event) => any) | undefined;
492
+ onFocus?: ((ev: FocusEvent) => any) | undefined;
493
+ onClear?: ((ev: MouseEvent) => any) | undefined;
494
+ onBlur?: ((ev: FocusEvent) => any) | undefined;
495
+ onInput?: ((value: string, ev: Event) => any) | undefined;
496
+ onKeydown?: ((ev: KeyboardEvent) => any) | undefined;
497
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
498
+ onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
499
+ }>, "focus" | "blur" | "setCursor" | "recordCursor" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "showInput")> & import('vue').ShallowUnwrapRef<{
500
+ focus(): void;
501
+ blur(): void;
502
+ getInputRef(): HTMLInputElement;
503
+ setCursor?: () => void;
504
+ recordCursor?: () => void;
505
+ }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
506
+ $slots: any;
507
+ }) | null;
508
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
509
+ P: {};
510
+ B: {};
511
+ D: {};
512
+ C: {};
513
+ M: {};
514
+ Defaults: {};
515
+ }, Readonly<import('./type').InputSearchProps> & Readonly<{
516
+ onSearch?: ((value: string, ev: MouseEvent) => any) | undefined;
517
+ }>, {
518
+ focus(): void;
519
+ blur(): void;
520
+ getInputRef(): HTMLInputElement;
521
+ setCursor?: () => void;
522
+ recordCursor?: () => void;
523
+ }, {}, {}, {}, {
524
+ size: import('..').Size;
525
+ disabled: boolean;
526
+ loading: boolean;
527
+ searchButton: boolean;
528
+ buttonText: string;
529
+ buttonProps: import('..').ButtonGroupProps;
530
+ }>;
531
+ __isFragment?: never;
532
+ __isTeleport?: never;
533
+ __isSuspense?: never;
534
+ } & import('vue').ComponentOptionsBase<Readonly<import('./type').InputSearchProps> & Readonly<{
535
+ onSearch?: ((value: string, ev: MouseEvent) => any) | undefined;
536
+ }>, {
537
+ focus(): void;
538
+ blur(): void;
539
+ getInputRef(): HTMLInputElement;
540
+ setCursor?: () => void;
541
+ recordCursor?: () => void;
542
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
543
+ search: (value: string, ev: MouseEvent) => any;
544
+ }, string, {
545
+ size: import('..').Size;
546
+ disabled: boolean;
547
+ loading: boolean;
548
+ searchButton: boolean;
549
+ buttonText: string;
550
+ buttonProps: import('..').ButtonGroupProps;
551
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
552
+ $slots: {
553
+ prepend?(_: {}): any;
554
+ append?(_: {}): any;
555
+ prefix?(_: {}): any;
556
+ suffix?(_: {}): any;
557
+ };
558
+ });
164
559
  install: (app: App) => void;
165
560
  };
166
- export { _InputGroup as InputGroup };
561
+ export { _InputGroup as InputGroup, _InputPassword as InputPassword, _InputSearch as InputSearch, };
167
562
  declare module 'vue' {
168
563
  interface GlobalComponents {
169
564
  YcInput: typeof Input;
170
565
  YcInputGroup: typeof _InputGroup;
566
+ YcInputPassword: typeof _InputPassword;
567
+ YcInputSearch: typeof _InputSearch;
171
568
  }
172
569
  }
173
570
  export default Input;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Input.vue.js");;/* empty css */const u=require("./InputGroup.vue.js");;/* empty css */const t=Object.assign(e.default,{group:u.default,install:t=>{t.component("Yc"+e.default.name,e.default),t.component("Yc"+u.default.name,u.default)}});exports.InputGroup=u.default,exports.default=t;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Input.vue.js");;/* empty css */const u=require("./InputSearch.vue.js"),t=require("./InputPassword.vue.js"),a=require("./InputGroup.vue.js");;/* empty css */const r=Object.assign(e.default,{group:a.default,password:t.default,search:u.default,install:r=>{r.component("Yc"+e.default.name,e.default),r.component("Yc"+u.default.name,u.default),r.component("Yc"+t.default.name,t.default),r.component("Yc"+a.default.name,a.default)}});exports.InputSearch=u.default,exports.InputPassword=t.default,exports.InputGroup=a.default,exports.default=r;
@@ -1,5 +1,6 @@
1
1
  import { VNode } from 'vue';
2
2
  import { Size, RecordType } from '../_shared/type';
3
+ import { ButtonGroupProps } from '../Button';
3
4
  export interface InputProps {
4
5
  modelValue?: string;
5
6
  defaultValue?: string;
@@ -14,18 +15,12 @@ export interface InputProps {
14
15
  wordSlice?: WordSlice;
15
16
  showWordLimit?: boolean;
16
17
  inputAttrs?: RecordType;
17
- isPassword?: boolean;
18
- visibility?: boolean;
19
- defaultVisibility?: boolean;
20
- invisibleButton?: boolean;
21
18
  showInput?: boolean;
22
19
  }
23
20
  export interface InputEmits {
24
21
  (e: 'update:modelValue', value: string): void;
25
- (e: 'update:visibility', value: boolean): void;
26
22
  (e: 'input', value: string, ev: Event): void;
27
23
  (e: 'change', value: string, ev: Event): void;
28
- (e: 'visibility-change', value: boolean): void;
29
24
  (e: 'pressEnter', ev: KeyboardEvent): void;
30
25
  (e: 'keydown', ev: KeyboardEvent): void;
31
26
  (e: 'clear', ev: MouseEvent): void;
@@ -38,11 +33,34 @@ export interface InputSlots {
38
33
  prepend?: () => VNode[];
39
34
  append?: () => VNode[];
40
35
  label?: () => VNode[];
36
+ extra?: () => VNode[];
41
37
  }
42
38
  export interface InputExpose {
43
39
  focus(): void;
44
40
  blur(): void;
45
41
  getInputRef(): HTMLInputElement;
42
+ setCursor?: () => void;
43
+ recordCursor?: () => void;
44
+ }
45
+ export interface InputPasswordProps {
46
+ visibility?: boolean;
47
+ defaultVisibility?: boolean;
48
+ invisibleButton?: boolean;
49
+ }
50
+ export interface InputPasswordEmits {
51
+ (e: 'update:visibility', value: boolean): void;
52
+ (e: 'visibility-change', value: boolean): void;
53
+ }
54
+ export interface InputSearchProps {
55
+ searchButton?: boolean;
56
+ loading?: boolean;
57
+ disabled?: boolean;
58
+ size?: Size;
59
+ buttonText?: string;
60
+ buttonProps?: ButtonGroupProps;
61
+ }
62
+ export interface InputSearchEmits {
63
+ (e: 'search', value: string, ev: MouseEvent): void;
46
64
  }
47
65
  export type WordSlice = (value: string, maxLength: number) => string;
48
66
  export type WordLength = (value: string) => number;