@v-c/picker 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/LICENSE +21 -0
  2. package/dist/PickerInput/Popup/Footer.cjs +115 -0
  3. package/dist/PickerInput/Popup/Footer.d.ts +19 -0
  4. package/dist/PickerInput/Popup/Footer.js +109 -0
  5. package/dist/PickerInput/Popup/PopupPanel.cjs +413 -0
  6. package/dist/PickerInput/Popup/PopupPanel.d.ts +11 -0
  7. package/dist/PickerInput/Popup/PopupPanel.js +407 -0
  8. package/dist/PickerInput/Popup/PresetPanel.cjs +54 -0
  9. package/dist/PickerInput/Popup/PresetPanel.d.ts +16 -0
  10. package/dist/PickerInput/Popup/PresetPanel.js +48 -0
  11. package/dist/PickerInput/Popup/index.cjs +528 -0
  12. package/dist/PickerInput/Popup/index.d.ts +37 -0
  13. package/dist/PickerInput/Popup/index.js +522 -0
  14. package/dist/PickerInput/RangePicker.cjs +1910 -0
  15. package/dist/PickerInput/RangePicker.d.ts +57 -0
  16. package/dist/PickerInput/RangePicker.js +1901 -0
  17. package/dist/PickerInput/Selector/Icon.cjs +89 -0
  18. package/dist/PickerInput/Selector/Icon.d.ts +11 -0
  19. package/dist/PickerInput/Selector/Icon.js +83 -0
  20. package/dist/PickerInput/Selector/Input.cjs +376 -0
  21. package/dist/PickerInput/Selector/Input.d.ts +9 -0
  22. package/dist/PickerInput/Selector/Input.js +370 -0
  23. package/dist/PickerInput/Selector/MaskFormat.cjs +72 -0
  24. package/dist/PickerInput/Selector/MaskFormat.d.ts +22 -0
  25. package/dist/PickerInput/Selector/MaskFormat.js +68 -0
  26. package/dist/PickerInput/Selector/RangeSelector.cjs +1390 -0
  27. package/dist/PickerInput/Selector/RangeSelector.d.ts +28 -0
  28. package/dist/PickerInput/Selector/RangeSelector.js +1383 -0
  29. package/dist/PickerInput/Selector/SingleSelector/MultipleDates.cjs +110 -0
  30. package/dist/PickerInput/Selector/SingleSelector/MultipleDates.d.ts +13 -0
  31. package/dist/PickerInput/Selector/SingleSelector/MultipleDates.js +103 -0
  32. package/dist/PickerInput/Selector/SingleSelector/index.cjs +1358 -0
  33. package/dist/PickerInput/Selector/SingleSelector/index.d.ts +21 -0
  34. package/dist/PickerInput/Selector/SingleSelector/index.js +1352 -0
  35. package/dist/PickerInput/Selector/hooks/useClearIcon.cjs +17 -0
  36. package/dist/PickerInput/Selector/hooks/useClearIcon.d.ts +17 -0
  37. package/dist/PickerInput/Selector/hooks/useClearIcon.js +11 -0
  38. package/dist/PickerInput/Selector/hooks/useInputHooks.cjs +125 -0
  39. package/dist/PickerInput/Selector/hooks/useInputHooks.d.ts +56 -0
  40. package/dist/PickerInput/Selector/hooks/useInputHooks.js +120 -0
  41. package/dist/PickerInput/Selector/hooks/useRootProps.cjs +14 -0
  42. package/dist/PickerInput/Selector/hooks/useRootProps.d.ts +2 -0
  43. package/dist/PickerInput/Selector/hooks/useRootProps.js +9 -0
  44. package/dist/PickerInput/Selector/util.cjs +32 -0
  45. package/dist/PickerInput/Selector/util.d.ts +5 -0
  46. package/dist/PickerInput/Selector/util.js +30 -0
  47. package/dist/PickerInput/SinglePicker.cjs +1881 -0
  48. package/dist/PickerInput/SinglePicker.d.ts +46 -0
  49. package/dist/PickerInput/SinglePicker.js +1873 -0
  50. package/dist/PickerInput/context.cjs +12 -0
  51. package/dist/PickerInput/context.d.ts +16 -0
  52. package/dist/PickerInput/context.js +9 -0
  53. package/dist/PickerInput/hooks/useCellRender.cjs +25 -0
  54. package/dist/PickerInput/hooks/useCellRender.d.ts +3 -0
  55. package/dist/PickerInput/hooks/useCellRender.js +20 -0
  56. package/dist/PickerInput/hooks/useDelayState.cjs +34 -0
  57. package/dist/PickerInput/hooks/useDelayState.d.ts +2 -0
  58. package/dist/PickerInput/hooks/useDelayState.js +29 -0
  59. package/dist/PickerInput/hooks/useDisabledBoundary.cjs +15 -0
  60. package/dist/PickerInput/hooks/useDisabledBoundary.d.ts +8 -0
  61. package/dist/PickerInput/hooks/useDisabledBoundary.js +11 -0
  62. package/dist/PickerInput/hooks/useFieldFormat.cjs +17 -0
  63. package/dist/PickerInput/hooks/useFieldFormat.d.ts +3 -0
  64. package/dist/PickerInput/hooks/useFieldFormat.js +15 -0
  65. package/dist/PickerInput/hooks/useFieldsInvalidate.cjs +24 -0
  66. package/dist/PickerInput/hooks/useFieldsInvalidate.d.ts +6 -0
  67. package/dist/PickerInput/hooks/useFieldsInvalidate.js +19 -0
  68. package/dist/PickerInput/hooks/useFilledProps.cjs +103 -0
  69. package/dist/PickerInput/hooks/useFilledProps.d.ts +33 -0
  70. package/dist/PickerInput/hooks/useFilledProps.js +98 -0
  71. package/dist/PickerInput/hooks/useInputReadOnly.cjs +13 -0
  72. package/dist/PickerInput/hooks/useInputReadOnly.d.ts +3 -0
  73. package/dist/PickerInput/hooks/useInputReadOnly.js +8 -0
  74. package/dist/PickerInput/hooks/useInvalidate.cjs +34 -0
  75. package/dist/PickerInput/hooks/useInvalidate.d.ts +10 -0
  76. package/dist/PickerInput/hooks/useInvalidate.js +30 -0
  77. package/dist/PickerInput/hooks/useLockEffect.cjs +16 -0
  78. package/dist/PickerInput/hooks/useLockEffect.d.ts +6 -0
  79. package/dist/PickerInput/hooks/useLockEffect.js +11 -0
  80. package/dist/PickerInput/hooks/useOpen.cjs +15 -0
  81. package/dist/PickerInput/hooks/useOpen.d.ts +7 -0
  82. package/dist/PickerInput/hooks/useOpen.js +10 -0
  83. package/dist/PickerInput/hooks/usePresets.cjs +21 -0
  84. package/dist/PickerInput/hooks/usePresets.d.ts +3 -0
  85. package/dist/PickerInput/hooks/usePresets.js +16 -0
  86. package/dist/PickerInput/hooks/useRangeActive.cjs +57 -0
  87. package/dist/PickerInput/hooks/useRangeActive.d.ts +9 -0
  88. package/dist/PickerInput/hooks/useRangeActive.js +52 -0
  89. package/dist/PickerInput/hooks/useRangeDisabledDate.cjs +21 -0
  90. package/dist/PickerInput/hooks/useRangeDisabledDate.d.ts +9 -0
  91. package/dist/PickerInput/hooks/useRangeDisabledDate.js +17 -0
  92. package/dist/PickerInput/hooks/useRangePickerValue.cjs +100 -0
  93. package/dist/PickerInput/hooks/useRangePickerValue.d.ts +5 -0
  94. package/dist/PickerInput/hooks/useRangePickerValue.js +94 -0
  95. package/dist/PickerInput/hooks/useRangeValue.cjs +134 -0
  96. package/dist/PickerInput/hooks/useRangeValue.d.ts +21 -0
  97. package/dist/PickerInput/hooks/useRangeValue.js +128 -0
  98. package/dist/PickerInput/hooks/useShowNow.cjs +15 -0
  99. package/dist/PickerInput/hooks/useShowNow.d.ts +3 -0
  100. package/dist/PickerInput/hooks/useShowNow.js +10 -0
  101. package/dist/PickerPanel/DatePanel/index.cjs +294 -0
  102. package/dist/PickerPanel/DatePanel/index.d.ts +9 -0
  103. package/dist/PickerPanel/DatePanel/index.js +288 -0
  104. package/dist/PickerPanel/DateTimePanel/index.cjs +180 -0
  105. package/dist/PickerPanel/DateTimePanel/index.d.ts +3 -0
  106. package/dist/PickerPanel/DateTimePanel/index.js +174 -0
  107. package/dist/PickerPanel/DecadePanel/index.cjs +230 -0
  108. package/dist/PickerPanel/DecadePanel/index.d.ts +3 -0
  109. package/dist/PickerPanel/DecadePanel/index.js +224 -0
  110. package/dist/PickerPanel/MonthPanel/index.cjs +219 -0
  111. package/dist/PickerPanel/MonthPanel/index.d.ts +3 -0
  112. package/dist/PickerPanel/MonthPanel/index.js +213 -0
  113. package/dist/PickerPanel/PanelBody.cjs +157 -0
  114. package/dist/PickerPanel/PanelBody.d.ts +17 -0
  115. package/dist/PickerPanel/PanelBody.js +151 -0
  116. package/dist/PickerPanel/PanelHeader.cjs +132 -0
  117. package/dist/PickerPanel/PanelHeader.d.ts +9 -0
  118. package/dist/PickerPanel/PanelHeader.js +126 -0
  119. package/dist/PickerPanel/QuarterPanel/index.cjs +211 -0
  120. package/dist/PickerPanel/QuarterPanel/index.d.ts +3 -0
  121. package/dist/PickerPanel/QuarterPanel/index.js +205 -0
  122. package/dist/PickerPanel/TimePanel/TimePanelBody/TimeColumn.cjs +145 -0
  123. package/dist/PickerPanel/TimePanel/TimePanelBody/TimeColumn.d.ts +17 -0
  124. package/dist/PickerPanel/TimePanel/TimePanelBody/TimeColumn.js +139 -0
  125. package/dist/PickerPanel/TimePanel/TimePanelBody/index.cjs +286 -0
  126. package/dist/PickerPanel/TimePanel/TimePanelBody/index.d.ts +3 -0
  127. package/dist/PickerPanel/TimePanel/TimePanelBody/index.js +280 -0
  128. package/dist/PickerPanel/TimePanel/TimePanelBody/useScrollTo.cjs +65 -0
  129. package/dist/PickerPanel/TimePanel/TimePanelBody/useScrollTo.d.ts +1 -0
  130. package/dist/PickerPanel/TimePanel/TimePanelBody/useScrollTo.js +60 -0
  131. package/dist/PickerPanel/TimePanel/index.cjs +173 -0
  132. package/dist/PickerPanel/TimePanel/index.d.ts +3 -0
  133. package/dist/PickerPanel/TimePanel/index.js +167 -0
  134. package/dist/PickerPanel/WeekPanel/index.cjs +179 -0
  135. package/dist/PickerPanel/WeekPanel/index.d.ts +3 -0
  136. package/dist/PickerPanel/WeekPanel/index.js +173 -0
  137. package/dist/PickerPanel/YearPanel/index.cjs +239 -0
  138. package/dist/PickerPanel/YearPanel/index.d.ts +3 -0
  139. package/dist/PickerPanel/YearPanel/index.js +233 -0
  140. package/dist/PickerPanel/context.cjs +61 -0
  141. package/dist/PickerPanel/context.d.ts +26 -0
  142. package/dist/PickerPanel/context.js +53 -0
  143. package/dist/PickerPanel/index.cjs +473 -0
  144. package/dist/PickerPanel/index.d.ts +65 -0
  145. package/dist/PickerPanel/index.js +467 -0
  146. package/dist/PickerTrigger/index.cjs +137 -0
  147. package/dist/PickerTrigger/index.d.ts +18 -0
  148. package/dist/PickerTrigger/index.js +130 -0
  149. package/dist/PickerTrigger/util.cjs +13 -0
  150. package/dist/PickerTrigger/util.d.ts +2 -0
  151. package/dist/PickerTrigger/util.js +12 -0
  152. package/dist/_virtual/rolldown_runtime.cjs +21 -0
  153. package/dist/generate/dateFns.cjs +80 -0
  154. package/dist/generate/dateFns.d.ts +3 -0
  155. package/dist/generate/dateFns.js +73 -0
  156. package/dist/generate/dayjs.cjs +117 -0
  157. package/dist/generate/dayjs.d.ts +4 -0
  158. package/dist/generate/dayjs.js +104 -0
  159. package/dist/generate/index.cjs +1 -0
  160. package/dist/generate/index.d.ts +37 -0
  161. package/dist/generate/index.js +0 -0
  162. package/dist/generate/luxon.cjs +75 -0
  163. package/dist/generate/luxon.d.ts +4 -0
  164. package/dist/generate/luxon.js +69 -0
  165. package/dist/generate/moment.cjs +107 -0
  166. package/dist/generate/moment.d.ts +4 -0
  167. package/dist/generate/moment.js +100 -0
  168. package/dist/hooks/useLocale.cjs +45 -0
  169. package/dist/hooks/useLocale.d.ts +9 -0
  170. package/dist/hooks/useLocale.js +39 -0
  171. package/dist/hooks/useSemantic.cjs +18 -0
  172. package/dist/hooks/useSemantic.d.ts +14 -0
  173. package/dist/hooks/useSemantic.js +13 -0
  174. package/dist/hooks/useSyncState.cjs +29 -0
  175. package/dist/hooks/useSyncState.d.ts +7 -0
  176. package/dist/hooks/useSyncState.js +24 -0
  177. package/dist/hooks/useTimeConfig.cjs +161 -0
  178. package/dist/hooks/useTimeConfig.d.ts +18 -0
  179. package/dist/hooks/useTimeConfig.js +159 -0
  180. package/dist/hooks/useTimeInfo.cjs +113 -0
  181. package/dist/hooks/useTimeInfo.d.ts +12 -0
  182. package/dist/hooks/useTimeInfo.js +108 -0
  183. package/dist/hooks/useToggleDates.cjs +16 -0
  184. package/dist/hooks/useToggleDates.d.ts +9 -0
  185. package/dist/hooks/useToggleDates.js +12 -0
  186. package/dist/index.cjs +12 -0
  187. package/dist/index.d.ts +7 -0
  188. package/dist/index.js +5 -0
  189. package/dist/interface.cjs +1 -0
  190. package/dist/interface.d.ts +379 -0
  191. package/dist/interface.js +0 -0
  192. package/dist/locale/am_ET.cjs +34 -0
  193. package/dist/locale/am_ET.d.ts +3 -0
  194. package/dist/locale/am_ET.js +29 -0
  195. package/dist/locale/ar_EG.cjs +32 -0
  196. package/dist/locale/ar_EG.d.ts +3 -0
  197. package/dist/locale/ar_EG.js +27 -0
  198. package/dist/locale/az_AZ.cjs +33 -0
  199. package/dist/locale/az_AZ.d.ts +3 -0
  200. package/dist/locale/az_AZ.js +28 -0
  201. package/dist/locale/bg_BG.cjs +32 -0
  202. package/dist/locale/bg_BG.d.ts +3 -0
  203. package/dist/locale/bg_BG.js +27 -0
  204. package/dist/locale/bn_BD.cjs +33 -0
  205. package/dist/locale/bn_BD.d.ts +3 -0
  206. package/dist/locale/bn_BD.js +28 -0
  207. package/dist/locale/by_BY.cjs +33 -0
  208. package/dist/locale/by_BY.d.ts +3 -0
  209. package/dist/locale/by_BY.js +28 -0
  210. package/dist/locale/ca_ES.cjs +32 -0
  211. package/dist/locale/ca_ES.d.ts +3 -0
  212. package/dist/locale/ca_ES.js +27 -0
  213. package/dist/locale/common.cjs +8 -0
  214. package/dist/locale/common.d.ts +2 -0
  215. package/dist/locale/common.js +7 -0
  216. package/dist/locale/cs_CZ.cjs +32 -0
  217. package/dist/locale/cs_CZ.d.ts +3 -0
  218. package/dist/locale/cs_CZ.js +27 -0
  219. package/dist/locale/da_DK.cjs +32 -0
  220. package/dist/locale/da_DK.d.ts +3 -0
  221. package/dist/locale/da_DK.js +27 -0
  222. package/dist/locale/de_DE.cjs +32 -0
  223. package/dist/locale/de_DE.d.ts +3 -0
  224. package/dist/locale/de_DE.js +27 -0
  225. package/dist/locale/el_GR.cjs +32 -0
  226. package/dist/locale/el_GR.d.ts +3 -0
  227. package/dist/locale/el_GR.js +27 -0
  228. package/dist/locale/en_GB.cjs +32 -0
  229. package/dist/locale/en_GB.d.ts +3 -0
  230. package/dist/locale/en_GB.js +27 -0
  231. package/dist/locale/en_US.cjs +33 -0
  232. package/dist/locale/en_US.d.ts +3 -0
  233. package/dist/locale/en_US.js +28 -0
  234. package/dist/locale/es_ES.cjs +32 -0
  235. package/dist/locale/es_ES.d.ts +3 -0
  236. package/dist/locale/es_ES.js +27 -0
  237. package/dist/locale/es_MX.cjs +33 -0
  238. package/dist/locale/es_MX.d.ts +3 -0
  239. package/dist/locale/es_MX.js +28 -0
  240. package/dist/locale/et_EE.cjs +32 -0
  241. package/dist/locale/et_EE.d.ts +3 -0
  242. package/dist/locale/et_EE.js +27 -0
  243. package/dist/locale/eu_ES.cjs +34 -0
  244. package/dist/locale/eu_ES.d.ts +3 -0
  245. package/dist/locale/eu_ES.js +29 -0
  246. package/dist/locale/fa_IR.cjs +32 -0
  247. package/dist/locale/fa_IR.d.ts +3 -0
  248. package/dist/locale/fa_IR.js +27 -0
  249. package/dist/locale/fi_FI.cjs +32 -0
  250. package/dist/locale/fi_FI.d.ts +3 -0
  251. package/dist/locale/fi_FI.js +27 -0
  252. package/dist/locale/fr_BE.cjs +32 -0
  253. package/dist/locale/fr_BE.d.ts +3 -0
  254. package/dist/locale/fr_BE.js +27 -0
  255. package/dist/locale/fr_CA.cjs +33 -0
  256. package/dist/locale/fr_CA.d.ts +3 -0
  257. package/dist/locale/fr_CA.js +28 -0
  258. package/dist/locale/fr_FR.cjs +33 -0
  259. package/dist/locale/fr_FR.d.ts +3 -0
  260. package/dist/locale/fr_FR.js +28 -0
  261. package/dist/locale/ga_IE.cjs +33 -0
  262. package/dist/locale/ga_IE.d.ts +3 -0
  263. package/dist/locale/ga_IE.js +28 -0
  264. package/dist/locale/gl_ES.cjs +32 -0
  265. package/dist/locale/gl_ES.d.ts +3 -0
  266. package/dist/locale/gl_ES.js +27 -0
  267. package/dist/locale/he_IL.cjs +33 -0
  268. package/dist/locale/he_IL.d.ts +3 -0
  269. package/dist/locale/he_IL.js +28 -0
  270. package/dist/locale/hi_IN.cjs +33 -0
  271. package/dist/locale/hi_IN.d.ts +3 -0
  272. package/dist/locale/hi_IN.js +28 -0
  273. package/dist/locale/hr_HR.cjs +33 -0
  274. package/dist/locale/hr_HR.d.ts +3 -0
  275. package/dist/locale/hr_HR.js +28 -0
  276. package/dist/locale/hu_HU.cjs +33 -0
  277. package/dist/locale/hu_HU.d.ts +3 -0
  278. package/dist/locale/hu_HU.js +28 -0
  279. package/dist/locale/id_ID.cjs +33 -0
  280. package/dist/locale/id_ID.d.ts +3 -0
  281. package/dist/locale/id_ID.js +28 -0
  282. package/dist/locale/is_IS.cjs +32 -0
  283. package/dist/locale/is_IS.d.ts +3 -0
  284. package/dist/locale/is_IS.js +27 -0
  285. package/dist/locale/it_IT.cjs +55 -0
  286. package/dist/locale/it_IT.d.ts +3 -0
  287. package/dist/locale/it_IT.js +50 -0
  288. package/dist/locale/ja_JP.cjs +35 -0
  289. package/dist/locale/ja_JP.d.ts +3 -0
  290. package/dist/locale/ja_JP.js +30 -0
  291. package/dist/locale/ka_GE.cjs +33 -0
  292. package/dist/locale/ka_GE.d.ts +3 -0
  293. package/dist/locale/ka_GE.js +28 -0
  294. package/dist/locale/kk_KZ.cjs +32 -0
  295. package/dist/locale/kk_KZ.d.ts +3 -0
  296. package/dist/locale/kk_KZ.js +27 -0
  297. package/dist/locale/km_KH.cjs +34 -0
  298. package/dist/locale/km_KH.d.ts +3 -0
  299. package/dist/locale/km_KH.js +29 -0
  300. package/dist/locale/kmr_IQ.cjs +32 -0
  301. package/dist/locale/kmr_IQ.d.ts +3 -0
  302. package/dist/locale/kmr_IQ.js +27 -0
  303. package/dist/locale/kn_IN.cjs +33 -0
  304. package/dist/locale/kn_IN.d.ts +3 -0
  305. package/dist/locale/kn_IN.js +28 -0
  306. package/dist/locale/ko_KR.cjs +34 -0
  307. package/dist/locale/ko_KR.d.ts +3 -0
  308. package/dist/locale/ko_KR.js +29 -0
  309. package/dist/locale/lt_LT.cjs +34 -0
  310. package/dist/locale/lt_LT.d.ts +3 -0
  311. package/dist/locale/lt_LT.js +29 -0
  312. package/dist/locale/lv_LV.cjs +32 -0
  313. package/dist/locale/lv_LV.d.ts +3 -0
  314. package/dist/locale/lv_LV.js +27 -0
  315. package/dist/locale/mk_MK.cjs +32 -0
  316. package/dist/locale/mk_MK.d.ts +3 -0
  317. package/dist/locale/mk_MK.js +27 -0
  318. package/dist/locale/ml_IN.cjs +33 -0
  319. package/dist/locale/ml_IN.d.ts +3 -0
  320. package/dist/locale/ml_IN.js +28 -0
  321. package/dist/locale/mn_MN.cjs +34 -0
  322. package/dist/locale/mn_MN.d.ts +3 -0
  323. package/dist/locale/mn_MN.js +29 -0
  324. package/dist/locale/mr_IN.cjs +59 -0
  325. package/dist/locale/mr_IN.d.ts +3 -0
  326. package/dist/locale/mr_IN.js +54 -0
  327. package/dist/locale/ms_MY.cjs +34 -0
  328. package/dist/locale/ms_MY.d.ts +3 -0
  329. package/dist/locale/ms_MY.js +29 -0
  330. package/dist/locale/my_MM.cjs +33 -0
  331. package/dist/locale/my_MM.d.ts +3 -0
  332. package/dist/locale/my_MM.js +28 -0
  333. package/dist/locale/nb_NO.cjs +34 -0
  334. package/dist/locale/nb_NO.d.ts +3 -0
  335. package/dist/locale/nb_NO.js +29 -0
  336. package/dist/locale/ne_NP.cjs +33 -0
  337. package/dist/locale/ne_NP.d.ts +3 -0
  338. package/dist/locale/ne_NP.js +28 -0
  339. package/dist/locale/nl_BE.cjs +32 -0
  340. package/dist/locale/nl_BE.d.ts +3 -0
  341. package/dist/locale/nl_BE.js +27 -0
  342. package/dist/locale/nl_NL.cjs +32 -0
  343. package/dist/locale/nl_NL.d.ts +3 -0
  344. package/dist/locale/nl_NL.js +27 -0
  345. package/dist/locale/pl_PL.cjs +32 -0
  346. package/dist/locale/pl_PL.d.ts +3 -0
  347. package/dist/locale/pl_PL.js +27 -0
  348. package/dist/locale/pt_BR.cjs +56 -0
  349. package/dist/locale/pt_BR.d.ts +3 -0
  350. package/dist/locale/pt_BR.js +51 -0
  351. package/dist/locale/pt_PT.cjs +55 -0
  352. package/dist/locale/pt_PT.d.ts +3 -0
  353. package/dist/locale/pt_PT.js +50 -0
  354. package/dist/locale/ro_RO.cjs +33 -0
  355. package/dist/locale/ro_RO.d.ts +3 -0
  356. package/dist/locale/ro_RO.js +28 -0
  357. package/dist/locale/ru_RU.cjs +32 -0
  358. package/dist/locale/ru_RU.d.ts +3 -0
  359. package/dist/locale/ru_RU.js +27 -0
  360. package/dist/locale/si_LK.cjs +34 -0
  361. package/dist/locale/si_LK.d.ts +3 -0
  362. package/dist/locale/si_LK.js +29 -0
  363. package/dist/locale/sk_SK.cjs +32 -0
  364. package/dist/locale/sk_SK.d.ts +3 -0
  365. package/dist/locale/sk_SK.js +27 -0
  366. package/dist/locale/sl_SI.cjs +32 -0
  367. package/dist/locale/sl_SI.d.ts +3 -0
  368. package/dist/locale/sl_SI.js +27 -0
  369. package/dist/locale/sr_Cyrl_RS.cjs +32 -0
  370. package/dist/locale/sr_Cyrl_RS.d.ts +3 -0
  371. package/dist/locale/sr_Cyrl_RS.js +27 -0
  372. package/dist/locale/sr_RS.cjs +32 -0
  373. package/dist/locale/sr_RS.d.ts +3 -0
  374. package/dist/locale/sr_RS.js +27 -0
  375. package/dist/locale/sv_SE.cjs +32 -0
  376. package/dist/locale/sv_SE.d.ts +3 -0
  377. package/dist/locale/sv_SE.js +27 -0
  378. package/dist/locale/ta_IN.cjs +33 -0
  379. package/dist/locale/ta_IN.d.ts +3 -0
  380. package/dist/locale/ta_IN.js +28 -0
  381. package/dist/locale/te_IN.cjs +33 -0
  382. package/dist/locale/te_IN.d.ts +3 -0
  383. package/dist/locale/te_IN.js +28 -0
  384. package/dist/locale/th_TH.cjs +32 -0
  385. package/dist/locale/th_TH.d.ts +3 -0
  386. package/dist/locale/th_TH.js +27 -0
  387. package/dist/locale/tk_TK.cjs +32 -0
  388. package/dist/locale/tk_TK.d.ts +3 -0
  389. package/dist/locale/tk_TK.js +27 -0
  390. package/dist/locale/tr_TR.cjs +55 -0
  391. package/dist/locale/tr_TR.d.ts +3 -0
  392. package/dist/locale/tr_TR.js +50 -0
  393. package/dist/locale/ug_CN.cjs +35 -0
  394. package/dist/locale/ug_CN.d.ts +3 -0
  395. package/dist/locale/ug_CN.js +30 -0
  396. package/dist/locale/uk_UA.cjs +32 -0
  397. package/dist/locale/uk_UA.d.ts +3 -0
  398. package/dist/locale/uk_UA.js +27 -0
  399. package/dist/locale/ur_PK.cjs +33 -0
  400. package/dist/locale/ur_PK.d.ts +3 -0
  401. package/dist/locale/ur_PK.js +28 -0
  402. package/dist/locale/uz_UZ.cjs +33 -0
  403. package/dist/locale/uz_UZ.d.ts +3 -0
  404. package/dist/locale/uz_UZ.js +28 -0
  405. package/dist/locale/vi_VN.cjs +33 -0
  406. package/dist/locale/vi_VN.d.ts +3 -0
  407. package/dist/locale/vi_VN.js +28 -0
  408. package/dist/locale/zh_CN.cjs +36 -0
  409. package/dist/locale/zh_CN.d.ts +3 -0
  410. package/dist/locale/zh_CN.js +31 -0
  411. package/dist/locale/zh_TW.cjs +36 -0
  412. package/dist/locale/zh_TW.d.ts +3 -0
  413. package/dist/locale/zh_TW.js +31 -0
  414. package/dist/utils/dateUtil.cjs +105 -0
  415. package/dist/utils/dateUtil.d.ts +29 -0
  416. package/dist/utils/dateUtil.js +89 -0
  417. package/dist/utils/getClearIcon.cjs +7 -0
  418. package/dist/utils/getClearIcon.d.ts +6 -0
  419. package/dist/utils/getClearIcon.js +5 -0
  420. package/dist/utils/miscUtil.cjs +46 -0
  421. package/dist/utils/miscUtil.d.ts +14 -0
  422. package/dist/utils/miscUtil.js +40 -0
  423. package/dist/utils/uiUtil.cjs +6 -0
  424. package/dist/utils/uiUtil.d.ts +1 -0
  425. package/dist/utils/uiUtil.js +5 -0
  426. package/dist/utils/warnUtil.cjs +8 -0
  427. package/dist/utils/warnUtil.d.ts +5 -0
  428. package/dist/utils/warnUtil.js +6 -0
  429. package/package.json +82 -0
@@ -0,0 +1,89 @@
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
5
+ const require_rolldown_runtime = require("../../_virtual/rolldown_runtime.cjs");
6
+ const require_context = require("../context.cjs");
7
+ let vue = require("vue");
8
+ let _v_c_util = require("@v-c/util");
9
+ var Icon = /* @__PURE__ */ (0, vue.defineComponent)((props, { attrs }) => {
10
+ const ctx = require_context.usePickerContext();
11
+ return () => {
12
+ const { icon, type } = props;
13
+ if (!icon) return null;
14
+ const { prefixCls, classNames, styles } = ctx.value;
15
+ const { class: attrClass, style: attrStyle, ...restAttrs } = attrs;
16
+ const mergedAttrStyle = attrStyle && typeof attrStyle === "object" ? attrStyle : {};
17
+ return (0, vue.createVNode)("span", (0, vue.mergeProps)(restAttrs, {
18
+ "class": (0, _v_c_util.clsx)(`${prefixCls}-${type}`, classNames.suffix, attrClass),
19
+ "style": {
20
+ ...styles.suffix || {},
21
+ ...mergedAttrStyle
22
+ }
23
+ }), [icon]);
24
+ };
25
+ }, {
26
+ props: {
27
+ icon: {
28
+ type: [
29
+ Object,
30
+ Function,
31
+ String,
32
+ Number,
33
+ null,
34
+ Boolean,
35
+ Array
36
+ ],
37
+ required: false,
38
+ default: void 0
39
+ },
40
+ type: {
41
+ type: String,
42
+ required: true,
43
+ default: void 0
44
+ }
45
+ },
46
+ name: "Icon",
47
+ inheritAttrs: false
48
+ });
49
+ var Icon_default = Icon;
50
+ const ClearIcon = /* @__PURE__ */ (0, vue.defineComponent)((props, { attrs }) => {
51
+ return () => {
52
+ return (0, vue.createVNode)(Icon, (0, vue.mergeProps)(attrs, {
53
+ "icon": props.icon,
54
+ "type": "clear",
55
+ "role": "button",
56
+ "onMousedown": (e) => {
57
+ e.preventDefault();
58
+ },
59
+ "onClick": (e) => {
60
+ e.stopPropagation();
61
+ props.onClear();
62
+ }
63
+ }), null);
64
+ };
65
+ }, {
66
+ props: {
67
+ onClear: {
68
+ required: true,
69
+ default: void 0
70
+ },
71
+ icon: {
72
+ type: [
73
+ Object,
74
+ Function,
75
+ String,
76
+ Number,
77
+ null,
78
+ Boolean,
79
+ Array
80
+ ],
81
+ required: false,
82
+ default: void 0
83
+ }
84
+ },
85
+ name: "ClearIcon",
86
+ inheritAttrs: false
87
+ });
88
+ exports.ClearIcon = ClearIcon;
89
+ exports.default = Icon_default;
@@ -0,0 +1,11 @@
1
+ import { VueNode } from '../../../../util/src/type';
2
+ export interface IconProps {
3
+ icon?: VueNode;
4
+ type: 'suffix' | 'clear';
5
+ }
6
+ declare const Icon: import('vue').DefineSetupFnComponent<IconProps, {}, {}, IconProps & {}, import('vue').PublicProps>;
7
+ export default Icon;
8
+ export interface ClearIconProps extends Omit<IconProps, 'type'> {
9
+ onClear: VoidFunction;
10
+ }
11
+ export declare const ClearIcon: import('vue').DefineSetupFnComponent<ClearIconProps, {}, {}, ClearIconProps & {}, import('vue').PublicProps>;
@@ -0,0 +1,83 @@
1
+ import { usePickerContext } from "../context.js";
2
+ import { createVNode, defineComponent, mergeProps } from "vue";
3
+ import { clsx } from "@v-c/util";
4
+ var Icon = /* @__PURE__ */ defineComponent((props, { attrs }) => {
5
+ const ctx = usePickerContext();
6
+ return () => {
7
+ const { icon, type } = props;
8
+ if (!icon) return null;
9
+ const { prefixCls, classNames, styles } = ctx.value;
10
+ const { class: attrClass, style: attrStyle, ...restAttrs } = attrs;
11
+ const mergedAttrStyle = attrStyle && typeof attrStyle === "object" ? attrStyle : {};
12
+ return createVNode("span", mergeProps(restAttrs, {
13
+ "class": clsx(`${prefixCls}-${type}`, classNames.suffix, attrClass),
14
+ "style": {
15
+ ...styles.suffix || {},
16
+ ...mergedAttrStyle
17
+ }
18
+ }), [icon]);
19
+ };
20
+ }, {
21
+ props: {
22
+ icon: {
23
+ type: [
24
+ Object,
25
+ Function,
26
+ String,
27
+ Number,
28
+ null,
29
+ Boolean,
30
+ Array
31
+ ],
32
+ required: false,
33
+ default: void 0
34
+ },
35
+ type: {
36
+ type: String,
37
+ required: true,
38
+ default: void 0
39
+ }
40
+ },
41
+ name: "Icon",
42
+ inheritAttrs: false
43
+ });
44
+ var Icon_default = Icon;
45
+ const ClearIcon = /* @__PURE__ */ defineComponent((props, { attrs }) => {
46
+ return () => {
47
+ return createVNode(Icon, mergeProps(attrs, {
48
+ "icon": props.icon,
49
+ "type": "clear",
50
+ "role": "button",
51
+ "onMousedown": (e) => {
52
+ e.preventDefault();
53
+ },
54
+ "onClick": (e) => {
55
+ e.stopPropagation();
56
+ props.onClear();
57
+ }
58
+ }), null);
59
+ };
60
+ }, {
61
+ props: {
62
+ onClear: {
63
+ required: true,
64
+ default: void 0
65
+ },
66
+ icon: {
67
+ type: [
68
+ Object,
69
+ Function,
70
+ String,
71
+ Number,
72
+ null,
73
+ Boolean,
74
+ Array
75
+ ],
76
+ required: false,
77
+ default: void 0
78
+ }
79
+ },
80
+ name: "ClearIcon",
81
+ inheritAttrs: false
82
+ });
83
+ export { ClearIcon, Icon_default as default };
@@ -0,0 +1,376 @@
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
5
+ const require_rolldown_runtime = require("../../_virtual/rolldown_runtime.cjs");
6
+ const require_context = require("../context.cjs");
7
+ const require_miscUtil = require("../../utils/miscUtil.cjs");
8
+ const require_util = require("./util.cjs");
9
+ const require_useLockEffect = require("../hooks/useLockEffect.cjs");
10
+ const require_Icon = require("./Icon.cjs");
11
+ const require_MaskFormat = require("./MaskFormat.cjs");
12
+ let vue = require("vue");
13
+ let _v_c_util = require("@v-c/util");
14
+ var Input = /* @__PURE__ */ (0, vue.defineComponent)((props, { attrs, expose }) => {
15
+ const pickerCtx = require_context.usePickerContext();
16
+ const prefixCls = (0, vue.computed)(() => pickerCtx.value.prefixCls);
17
+ const classNames = (0, vue.computed)(() => pickerCtx.value.classNames);
18
+ const styles = (0, vue.computed)(() => pickerCtx.value.styles);
19
+ const inputPrefixCls = (0, vue.computed)(() => `${prefixCls.value}-input`);
20
+ const focused = (0, vue.ref)(false);
21
+ const internalInputValue = (0, vue.ref)(props.value);
22
+ const focusCellText = (0, vue.ref)("");
23
+ const focusCellIndex = (0, vue.ref)(null);
24
+ const forceSelectionSyncMark = (0, vue.ref)(null);
25
+ const inputValue = (0, vue.computed)(() => internalInputValue.value || "");
26
+ (0, vue.watch)(() => props.value, (val) => {
27
+ internalInputValue.value = val;
28
+ });
29
+ const holderRef = (0, vue.ref)();
30
+ const inputRef = (0, vue.ref)();
31
+ expose({
32
+ get nativeElement() {
33
+ return holderRef.value;
34
+ },
35
+ get inputElement() {
36
+ return inputRef.value;
37
+ },
38
+ focus: (options) => {
39
+ inputRef.value?.focus(options);
40
+ },
41
+ blur: () => {
42
+ inputRef.value?.blur();
43
+ }
44
+ });
45
+ const maskFormat = (0, vue.computed)(() => new require_MaskFormat.default(props.format || ""));
46
+ const selectionRange = (0, vue.computed)(() => {
47
+ if (props.helped) return [0, 0];
48
+ return maskFormat.value.getSelection(focusCellIndex.value);
49
+ });
50
+ const selectionStart = (0, vue.computed)(() => selectionRange.value[0]);
51
+ const selectionEnd = (0, vue.computed)(() => selectionRange.value[1]);
52
+ const onModify = (text) => {
53
+ if (text && text !== props.format && text !== props.value) props?.onHelp?.();
54
+ };
55
+ const triggerInputChange = (text) => {
56
+ if (props.validateFormat?.(text)) props?.onChange?.(text);
57
+ internalInputValue.value = text;
58
+ onModify(text);
59
+ };
60
+ const onInternalChange = (event) => {
61
+ const target = event.target;
62
+ if (!props.format) {
63
+ const text = target.value;
64
+ onModify(text);
65
+ internalInputValue.value = text;
66
+ props?.onChange?.(text);
67
+ }
68
+ };
69
+ const onFormatPaste = (event) => {
70
+ const pasteText = event.clipboardData?.getData("text") || "";
71
+ if (props?.validateFormat?.(pasteText)) triggerInputChange(pasteText);
72
+ };
73
+ const mouseDownRef = (0, vue.ref)(false);
74
+ const onFormatMouseDown = () => {
75
+ mouseDownRef.value = true;
76
+ };
77
+ const onFormatMouseUp = (event) => {
78
+ const { selectionStart: start } = event.target;
79
+ focusCellIndex.value = maskFormat.value.getMaskCellIndex(start);
80
+ forceSelectionSyncMark.value = {};
81
+ props.onMouseUp?.(event);
82
+ mouseDownRef.value = false;
83
+ };
84
+ const onFormatFocus = (event) => {
85
+ focused.value = true;
86
+ focusCellIndex.value = 0;
87
+ focusCellText.value = "";
88
+ props.onFocus?.(event);
89
+ };
90
+ const onSharedBlur = (event) => {
91
+ props.onBlur?.(event);
92
+ };
93
+ const onFormatBlur = (event) => {
94
+ focused.value = false;
95
+ onSharedBlur(event);
96
+ };
97
+ require_useLockEffect.default((0, vue.toRef)(props, "active"), () => {
98
+ if (!props.active && !props.preserveInvalidOnBlur) internalInputValue.value = props.value;
99
+ });
100
+ const onSharedKeyDown = (event) => {
101
+ if (event.key === "Enter" && props?.validateFormat?.(inputValue.value)) props?.onSubmit?.();
102
+ props.onKeyDown?.(event);
103
+ };
104
+ const onFormatKeyDown = (event) => {
105
+ onSharedKeyDown(event);
106
+ const { key } = event;
107
+ let nextCellText = null;
108
+ let nextFillText = null;
109
+ const maskCellLen = selectionEnd.value - selectionStart.value;
110
+ const cellFormat = props.format.slice(selectionStart.value, selectionEnd.value);
111
+ const offsetCellIndex = (offset) => {
112
+ let nextIndex = focusCellIndex.value + offset;
113
+ nextIndex = Math.max(nextIndex, 0);
114
+ nextIndex = Math.min(nextIndex, maskFormat.value.size() - 1);
115
+ focusCellIndex.value = nextIndex;
116
+ };
117
+ const offsetCellValue = (offset) => {
118
+ const [rangeStart, rangeEnd, rangeDefault] = require_util.getMaskRange(cellFormat);
119
+ const currentText = inputValue.value.slice(selectionStart.value, selectionEnd.value);
120
+ const currentTextNum = Number(currentText);
121
+ if (Number.isNaN(currentTextNum)) return String(rangeDefault || (offset > 0 ? rangeStart : rangeEnd));
122
+ const num = currentTextNum + offset;
123
+ const range = rangeEnd - rangeStart + 1;
124
+ return String(rangeStart + (range + num - rangeStart) % range);
125
+ };
126
+ switch (key) {
127
+ case "Backspace":
128
+ case "Delete":
129
+ nextCellText = "";
130
+ nextFillText = cellFormat;
131
+ break;
132
+ case "ArrowLeft":
133
+ nextCellText = "";
134
+ offsetCellIndex(-1);
135
+ break;
136
+ case "ArrowRight":
137
+ nextCellText = "";
138
+ offsetCellIndex(1);
139
+ break;
140
+ case "ArrowUp":
141
+ nextCellText = "";
142
+ nextFillText = offsetCellValue(1);
143
+ break;
144
+ case "ArrowDown":
145
+ nextCellText = "";
146
+ nextFillText = offsetCellValue(-1);
147
+ break;
148
+ default:
149
+ if (!Number.isNaN(Number(key))) {
150
+ nextCellText = focusCellText.value + key;
151
+ nextFillText = nextCellText;
152
+ }
153
+ break;
154
+ }
155
+ if (nextCellText !== null) {
156
+ focusCellText.value = nextCellText;
157
+ if (nextCellText.length >= maskCellLen) {
158
+ offsetCellIndex(1);
159
+ focusCellText.value = "";
160
+ }
161
+ }
162
+ if (nextFillText !== null) triggerInputChange((inputValue.value.slice(0, selectionStart.value) + require_miscUtil.leftPad(nextFillText, maskCellLen) + inputValue.value.slice(selectionEnd.value)).slice(0, props.format.length));
163
+ forceSelectionSyncMark.value = {};
164
+ };
165
+ const rafRef = (0, vue.ref)();
166
+ (0, vue.watch)([
167
+ maskFormat,
168
+ () => props.format,
169
+ focused,
170
+ inputValue,
171
+ focusCellIndex,
172
+ selectionStart,
173
+ selectionEnd,
174
+ forceSelectionSyncMark
175
+ ], () => {
176
+ if (!focused.value || !props.format || mouseDownRef.value) return;
177
+ if (!maskFormat.value.match(inputValue.value)) {
178
+ triggerInputChange(props.format);
179
+ return;
180
+ }
181
+ inputRef.value?.setSelectionRange(selectionStart.value, selectionEnd.value);
182
+ rafRef.value = require_util.raf(() => {
183
+ inputRef.value?.setSelectionRange(selectionStart.value, selectionEnd.value);
184
+ });
185
+ }, { flush: "post" });
186
+ (0, vue.onBeforeUnmount)(() => {
187
+ require_util.raf.cancel(rafRef.value);
188
+ });
189
+ return () => {
190
+ const { className, active, showActiveCls, suffixIcon, format, validateFormat, onChange, onInput, helped, onHelp, onSubmit, onKeyDown, preserveInvalidOnBlur, invalid, clearIcon, ...restProps } = props;
191
+ const inputProps = props.format ? {
192
+ onFocus: onFormatFocus,
193
+ onBlur: onFormatBlur,
194
+ onKeydown: onFormatKeyDown,
195
+ onMousedown: onFormatMouseDown,
196
+ onMouseup: onFormatMouseUp,
197
+ onPaste: onFormatPaste
198
+ } : {};
199
+ const Component = pickerCtx.value.input ?? "input";
200
+ return (0, vue.createVNode)("div", {
201
+ "ref": holderRef,
202
+ "class": (0, _v_c_util.clsx)(inputPrefixCls.value, {
203
+ [`${inputPrefixCls.value}-active`]: props.active && props.showActiveCls,
204
+ [`${inputPrefixCls.value}-placeholder`]: props.helped
205
+ }, attrs.class),
206
+ "style": attrs.style
207
+ }, [
208
+ (0, vue.createVNode)(Component, (0, vue.mergeProps)({
209
+ "ref": inputRef,
210
+ "aria-invalid": props.invalid,
211
+ "autoComplete": "off"
212
+ }, attrs, restProps, {
213
+ "onKeydown": onSharedKeyDown,
214
+ "onBlur": onSharedBlur
215
+ }, inputProps, {
216
+ "value": inputValue.value,
217
+ "onInput": onInternalChange,
218
+ "class": classNames.value.input,
219
+ "style": styles.value.input,
220
+ "readonly": props.inputReadOnly
221
+ }), null),
222
+ (0, vue.createVNode)(require_Icon.default, {
223
+ "type": "suffix",
224
+ "icon": props.suffixIcon
225
+ }, null),
226
+ props.clearIcon
227
+ ]);
228
+ };
229
+ }, {
230
+ props: {
231
+ readOnly: {
232
+ type: Boolean,
233
+ required: false,
234
+ default: void 0
235
+ },
236
+ required: {
237
+ type: Boolean,
238
+ required: false,
239
+ default: void 0
240
+ },
241
+ "aria-required": {
242
+ type: Boolean,
243
+ required: false,
244
+ default: void 0
245
+ },
246
+ name: {
247
+ type: String,
248
+ required: false,
249
+ default: void 0
250
+ },
251
+ autoComplete: {
252
+ type: String,
253
+ required: false,
254
+ default: void 0
255
+ },
256
+ size: {
257
+ type: Number,
258
+ required: false,
259
+ default: void 0
260
+ },
261
+ id: {
262
+ type: String,
263
+ required: false,
264
+ default: void 0
265
+ },
266
+ placeholder: {
267
+ type: String,
268
+ required: false,
269
+ default: void 0
270
+ },
271
+ disabled: {
272
+ type: Boolean,
273
+ required: false,
274
+ default: void 0
275
+ },
276
+ onFocus: {
277
+ type: Function,
278
+ required: false,
279
+ default: void 0
280
+ },
281
+ onBlur: {
282
+ type: Function,
283
+ required: false,
284
+ default: void 0
285
+ },
286
+ onKeyDown: {
287
+ type: Function,
288
+ required: false,
289
+ default: void 0
290
+ },
291
+ format: {
292
+ type: String,
293
+ required: false,
294
+ default: void 0
295
+ },
296
+ validateFormat: {
297
+ type: Function,
298
+ required: true,
299
+ default: void 0
300
+ },
301
+ active: {
302
+ type: Boolean,
303
+ required: false,
304
+ default: void 0
305
+ },
306
+ showActiveCls: {
307
+ type: Boolean,
308
+ required: false,
309
+ default: void 0
310
+ },
311
+ suffixIcon: {
312
+ type: [
313
+ Object,
314
+ Function,
315
+ String,
316
+ Number,
317
+ null,
318
+ Boolean,
319
+ Array
320
+ ],
321
+ required: false,
322
+ default: void 0
323
+ },
324
+ value: {
325
+ type: String,
326
+ required: false,
327
+ default: void 0
328
+ },
329
+ onChange: {
330
+ type: Function,
331
+ required: true,
332
+ default: void 0
333
+ },
334
+ onSubmit: {
335
+ required: true,
336
+ default: void 0
337
+ },
338
+ helped: {
339
+ type: Boolean,
340
+ required: false,
341
+ default: void 0
342
+ },
343
+ onHelp: {
344
+ type: Function,
345
+ required: true,
346
+ default: void 0
347
+ },
348
+ preserveInvalidOnBlur: {
349
+ type: Boolean,
350
+ required: false,
351
+ default: void 0
352
+ },
353
+ invalid: {
354
+ type: Boolean,
355
+ required: false,
356
+ default: void 0
357
+ },
358
+ clearIcon: {
359
+ type: [
360
+ Object,
361
+ Function,
362
+ String,
363
+ Number,
364
+ null,
365
+ Boolean,
366
+ Array
367
+ ],
368
+ required: false,
369
+ default: void 0
370
+ }
371
+ },
372
+ name: "Input",
373
+ inheritAttrs: false
374
+ });
375
+ var Input_default = Input;
376
+ exports.default = Input_default;
@@ -0,0 +1,9 @@
1
+ import { InputProps } from './hooks/useInputHooks.ts';
2
+ export interface InputRef {
3
+ nativeElement?: HTMLDivElement;
4
+ inputElement?: HTMLInputElement;
5
+ focus: (options?: FocusOptions) => void;
6
+ blur: () => void;
7
+ }
8
+ declare const Input: import('vue').DefineSetupFnComponent<InputProps, {}, {}, InputProps & {}, import('vue').PublicProps>;
9
+ export default Input;