naive-ui 2.40.4 → 2.41.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 (559) hide show
  1. package/dist/index.js +3516 -1947
  2. package/dist/index.mjs +3510 -1949
  3. package/dist/index.prod.js +1 -1
  4. package/dist/index.prod.mjs +1 -1
  5. package/es/_internal/selection/src/Selection.d.ts +1 -1
  6. package/es/_mixins/use-form-item.d.ts +1 -1
  7. package/es/_utils/dom/download.d.ts +1 -0
  8. package/es/_utils/dom/download.mjs +3 -0
  9. package/es/_utils/index.d.ts +2 -2
  10. package/es/_utils/index.mjs +2 -2
  11. package/es/_utils/naive/index.d.ts +1 -0
  12. package/es/_utils/naive/index.mjs +1 -0
  13. package/es/_utils/naive/value.d.ts +1 -0
  14. package/es/_utils/naive/value.mjs +13 -0
  15. package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -0
  16. package/es/_utils/vue/get-first-slot-vnode.mjs +13 -0
  17. package/es/_utils/vue/index.d.ts +2 -2
  18. package/es/_utils/vue/index.mjs +2 -2
  19. package/es/_utils/vue/resolve-slot.d.ts +1 -1
  20. package/es/_utils/vue/resolve-slot.mjs +1 -1
  21. package/es/alert/index.d.ts +1 -1
  22. package/es/alert/src/Alert.d.ts +7 -2
  23. package/es/alert/src/Alert.mjs +1 -0
  24. package/es/auto-complete/index.d.ts +2 -2
  25. package/es/auto-complete/src/AutoComplete.d.ts +10 -4
  26. package/es/auto-complete/src/AutoComplete.mjs +3 -2
  27. package/es/auto-complete/src/interface.d.ts +6 -0
  28. package/es/avatar/index.d.ts +1 -1
  29. package/es/avatar/src/Avatar.d.ts +7 -2
  30. package/es/avatar/src/Avatar.mjs +1 -0
  31. package/es/avatar-group/index.d.ts +2 -1
  32. package/es/avatar-group/src/AvatarGroup.d.ts +8 -2
  33. package/es/avatar-group/src/AvatarGroup.mjs +1 -0
  34. package/es/avatar-group/src/interface.d.ts +8 -0
  35. package/es/avatar-group/src/interface.mjs +1 -0
  36. package/es/breadcrumb/index.d.ts +1 -1
  37. package/es/breadcrumb/src/BreadcrumbItem.d.ts +6 -2
  38. package/es/breadcrumb/src/BreadcrumbItem.mjs +1 -0
  39. package/es/button/index.d.ts +1 -1
  40. package/es/button/src/Button.d.ts +6 -2
  41. package/es/button/src/Button.mjs +1 -0
  42. package/es/calendar/src/Calendar.d.ts +7 -3
  43. package/es/calendar/src/Calendar.mjs +3 -2
  44. package/es/calendar/src/interface.d.ts +9 -0
  45. package/es/card/index.d.ts +1 -1
  46. package/es/card/src/Card.d.ts +10 -2
  47. package/es/card/src/Card.mjs +1 -0
  48. package/es/carousel/index.d.ts +2 -2
  49. package/es/carousel/src/Carousel.d.ts +8 -3
  50. package/es/carousel/src/Carousel.mjs +4 -3
  51. package/es/carousel/src/interface.d.ts +12 -0
  52. package/es/cascader/index.d.ts +1 -1
  53. package/es/cascader/src/Cascader.d.ts +9 -3
  54. package/es/cascader/src/Cascader.mjs +1 -0
  55. package/es/collapse/index.d.ts +3 -2
  56. package/es/collapse/src/Collapse.d.ts +10 -4
  57. package/es/collapse/src/Collapse.mjs +1 -0
  58. package/es/collapse/src/CollapseItem.d.ts +9 -4
  59. package/es/collapse/src/CollapseItem.mjs +8 -11
  60. package/es/collapse/src/interface.d.ts +12 -0
  61. package/es/color-picker/index.d.ts +1 -1
  62. package/es/color-picker/src/ColorPicker.d.ts +7 -2
  63. package/es/color-picker/src/ColorPicker.mjs +1 -3
  64. package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  65. package/es/color-picker/src/ColorPickerTrigger.mjs +1 -0
  66. package/es/color-picker/src/context.d.ts +3 -2
  67. package/es/components.d.ts +1 -0
  68. package/es/components.mjs +1 -0
  69. package/es/config-provider/src/internal-interface.d.ts +2 -0
  70. package/es/data-table/index.d.ts +1 -1
  71. package/es/data-table/src/DataTable.d.ts +9 -8
  72. package/es/data-table/src/DataTable.mjs +7 -6
  73. package/es/data-table/src/TableParts/Body.d.ts +1 -3
  74. package/es/data-table/src/interface.d.ts +7 -2
  75. package/es/data-table/src/styles/index.cssr.mjs +1 -0
  76. package/es/data-table/src/use-group-header.mjs +4 -3
  77. package/es/date-picker/index.d.ts +1 -0
  78. package/es/date-picker/src/DatePicker.d.ts +27 -5
  79. package/es/date-picker/src/DatePicker.mjs +1 -0
  80. package/es/date-picker/src/interface.d.ts +3 -2
  81. package/es/date-picker/src/panel/date.d.ts +1 -3
  82. package/es/date-picker/src/panel/date.mjs +8 -8
  83. package/es/date-picker/src/panel/daterange.d.ts +1 -3
  84. package/es/date-picker/src/panel/daterange.mjs +12 -12
  85. package/es/date-picker/src/panel/datetime.d.ts +1 -3
  86. package/es/date-picker/src/panel/datetime.mjs +10 -10
  87. package/es/date-picker/src/panel/datetimerange.d.ts +1 -3
  88. package/es/date-picker/src/panel/datetimerange.mjs +12 -12
  89. package/es/date-picker/src/panel/month.d.ts +1 -3
  90. package/es/date-picker/src/panel/month.mjs +9 -9
  91. package/es/date-picker/src/panel/monthrange.d.ts +1 -3
  92. package/es/date-picker/src/panel/monthrange.mjs +9 -7
  93. package/es/date-picker/src/panel/panelHeader.d.ts +4 -12
  94. package/es/date-picker/src/panel/use-calendar.d.ts +1 -3
  95. package/es/date-picker/src/panel/use-dual-calendar.d.ts +1 -3
  96. package/es/date-picker/src/props.d.ts +1 -1
  97. package/es/descriptions/index.d.ts +2 -2
  98. package/es/descriptions/src/Descriptions.d.ts +7 -3
  99. package/es/descriptions/src/Descriptions.mjs +1 -0
  100. package/es/descriptions/src/DescriptionsItem.d.ts +6 -2
  101. package/es/descriptions/src/DescriptionsItem.mjs +1 -0
  102. package/es/dialog/index.d.ts +1 -0
  103. package/es/dialog/src/Dialog.d.ts +9 -2
  104. package/es/dialog/src/Dialog.mjs +1 -0
  105. package/es/dialog/src/DialogEnvironment.d.ts +5 -1
  106. package/es/dialog/src/DialogEnvironment.mjs +8 -3
  107. package/es/dialog/src/DialogProvider.d.ts +8 -2
  108. package/es/drawer/index.d.ts +1 -1
  109. package/es/drawer/src/Drawer.d.ts +2 -2
  110. package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  111. package/es/drawer/src/DrawerContent.d.ts +7 -2
  112. package/es/drawer/src/DrawerContent.mjs +1 -0
  113. package/es/dynamic-input/index.d.ts +2 -1
  114. package/es/dynamic-input/src/DynamicInput.d.ts +8 -2
  115. package/es/dynamic-input/src/DynamicInput.mjs +3 -3
  116. package/es/dynamic-input/src/interface.d.ts +11 -0
  117. package/es/dynamic-tags/index.d.ts +2 -2
  118. package/es/dynamic-tags/src/DynamicTags.d.ts +8 -3
  119. package/es/dynamic-tags/src/DynamicTags.mjs +1 -0
  120. package/es/dynamic-tags/src/interface.d.ts +8 -0
  121. package/es/ellipsis/index.d.ts +1 -1
  122. package/es/ellipsis/src/Ellipsis.d.ts +6 -2
  123. package/es/ellipsis/src/Ellipsis.mjs +1 -0
  124. package/es/empty/index.d.ts +1 -1
  125. package/es/empty/src/Empty.d.ts +7 -2
  126. package/es/empty/src/Empty.mjs +1 -0
  127. package/es/float-button/index.d.ts +1 -1
  128. package/es/float-button/src/FloatButton.d.ts +7 -2
  129. package/es/float-button/src/FloatButton.mjs +1 -0
  130. package/es/form/index.d.ts +1 -0
  131. package/es/form/src/FormItem.d.ts +1 -1
  132. package/es/form/src/FormItemCol.d.ts +1 -1
  133. package/es/form/src/FormItemGridItem.d.ts +1 -1
  134. package/es/form/src/interface.d.ts +0 -1
  135. package/es/form/src/public-types.d.ts +1 -0
  136. package/es/form/src/public-types.mjs +1 -0
  137. package/es/image/index.d.ts +1 -1
  138. package/es/image/src/Image.d.ts +6 -2
  139. package/es/image/src/Image.mjs +2 -5
  140. package/es/input/index.d.ts +1 -1
  141. package/es/input/src/Input.d.ts +14 -3
  142. package/es/input/src/Input.mjs +8 -8
  143. package/es/input/src/WordCount.mjs +2 -2
  144. package/es/input-number/index.d.ts +1 -1
  145. package/es/input-number/src/InputNumber.d.ts +9 -3
  146. package/es/input-number/src/InputNumber.mjs +1 -0
  147. package/es/input-otp/index.d.ts +3 -0
  148. package/es/input-otp/index.mjs +1 -0
  149. package/es/input-otp/src/InputOtp.d.ts +871 -0
  150. package/es/input-otp/src/InputOtp.mjs +317 -0
  151. package/es/input-otp/src/public-types.d.ts +24 -0
  152. package/es/input-otp/src/public-types.mjs +1 -0
  153. package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
  154. package/es/input-otp/src/styles/index.cssr.mjs +11 -0
  155. package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  156. package/es/input-otp/src/styles/input-otp-rtl.cssr.mjs +5 -0
  157. package/es/input-otp/styles/dark.d.ts +3 -0
  158. package/es/input-otp/styles/dark.mjs +12 -0
  159. package/es/input-otp/styles/index.d.ts +4 -0
  160. package/es/input-otp/styles/index.mjs +3 -0
  161. package/es/input-otp/styles/light.d.ts +81 -0
  162. package/es/input-otp/styles/light.mjs +22 -0
  163. package/es/input-otp/styles/rtl.d.ts +2 -0
  164. package/es/input-otp/styles/rtl.mjs +5 -0
  165. package/es/list/index.d.ts +2 -1
  166. package/es/list/src/List.d.ts +7 -2
  167. package/es/list/src/List.mjs +1 -0
  168. package/es/list/src/ListItem.d.ts +7 -1
  169. package/es/list/src/ListItem.mjs +1 -0
  170. package/es/locales/common/kmKH.d.ts +3 -0
  171. package/es/locales/common/kmKH.mjs +124 -0
  172. package/es/locales/common/ugCN.d.ts +3 -0
  173. package/es/locales/common/ugCN.mjs +124 -0
  174. package/es/locales/date/kmKH.d.ts +3 -0
  175. package/es/locales/date/kmKH.mjs +6 -0
  176. package/es/locales/date/ugCN.d.ts +3 -0
  177. package/es/locales/date/ugCN.mjs +6 -0
  178. package/es/locales/index.d.ts +3 -0
  179. package/es/locales/index.mjs +3 -0
  180. package/es/mention/index.d.ts +1 -1
  181. package/es/mention/src/Mention.d.ts +7 -3
  182. package/es/mention/src/Mention.mjs +1 -0
  183. package/es/modal/index.d.ts +1 -1
  184. package/es/modal/src/BodyWrapper.d.ts +20 -5
  185. package/es/modal/src/BodyWrapper.mjs +55 -13
  186. package/es/modal/src/Modal.d.ts +19 -8
  187. package/es/modal/src/Modal.mjs +3 -0
  188. package/es/modal/src/ModalEnvironment.d.ts +4 -2
  189. package/es/modal/src/ModalProvider.mjs +0 -6
  190. package/es/modal/src/composables.d.ts +13 -1
  191. package/es/modal/src/composables.mjs +105 -1
  192. package/es/modal/src/interface.d.ts +6 -0
  193. package/es/modal/src/styles/index.cssr.mjs +5 -1
  194. package/es/page-header/index.d.ts +1 -1
  195. package/es/page-header/src/PageHeader.d.ts +12 -2
  196. package/es/page-header/src/PageHeader.mjs +1 -0
  197. package/es/pagination/index.d.ts +1 -1
  198. package/es/pagination/src/Pagination.d.ts +12 -3
  199. package/es/pagination/src/Pagination.mjs +3 -2
  200. package/es/pagination/src/interface.d.ts +1 -0
  201. package/es/popconfirm/index.d.ts +1 -1
  202. package/es/popconfirm/src/Popconfirm.d.ts +8 -2
  203. package/es/popconfirm/src/Popconfirm.mjs +2 -1
  204. package/es/popover/index.d.ts +1 -1
  205. package/es/popover/src/Popover.d.ts +8 -2
  206. package/es/popover/src/Popover.mjs +2 -5
  207. package/es/popselect/index.d.ts +1 -1
  208. package/es/popselect/src/Popselect.d.ts +8 -2
  209. package/es/popselect/src/Popselect.mjs +1 -0
  210. package/es/progress/src/Circle.d.ts +1 -1
  211. package/es/progress/src/MultipleCircle.d.ts +1 -1
  212. package/es/progress/src/Progress.d.ts +2 -2
  213. package/es/result/index.d.ts +1 -1
  214. package/es/result/src/Result.d.ts +7 -2
  215. package/es/result/src/Result.mjs +1 -0
  216. package/es/select/index.d.ts +1 -1
  217. package/es/select/src/Select.d.ts +10 -3
  218. package/es/select/src/Select.mjs +1 -0
  219. package/es/slider/index.d.ts +1 -1
  220. package/es/slider/src/Slider.d.ts +6 -2
  221. package/es/slider/src/Slider.mjs +1 -0
  222. package/es/spin/index.d.ts +1 -1
  223. package/es/spin/src/Spin.d.ts +7 -2
  224. package/es/spin/src/Spin.mjs +1 -0
  225. package/es/split/index.d.ts +1 -1
  226. package/es/split/src/Split.d.ts +8 -2
  227. package/es/split/src/Split.mjs +1 -0
  228. package/es/statistic/index.d.ts +1 -1
  229. package/es/statistic/src/Statistic.d.ts +8 -1
  230. package/es/statistic/src/Statistic.mjs +1 -0
  231. package/es/steps/index.d.ts +2 -2
  232. package/es/steps/src/Step.d.ts +8 -5
  233. package/es/steps/src/Step.mjs +1 -0
  234. package/es/steps/src/Steps.d.ts +8 -3
  235. package/es/steps/src/Steps.mjs +1 -0
  236. package/es/styles.d.ts +1 -0
  237. package/es/styles.mjs +1 -0
  238. package/es/switch/index.d.ts +1 -1
  239. package/es/switch/src/Switch.d.ts +10 -2
  240. package/es/switch/src/Switch.mjs +1 -0
  241. package/es/tabs/index.d.ts +2 -2
  242. package/es/tabs/src/TabPane.d.ts +8 -2
  243. package/es/tabs/src/TabPane.mjs +1 -0
  244. package/es/tabs/src/Tabs.d.ts +7 -2
  245. package/es/tabs/src/Tabs.mjs +1 -0
  246. package/es/tag/index.d.ts +1 -1
  247. package/es/tag/src/Tag.d.ts +7 -2
  248. package/es/tag/src/Tag.mjs +1 -0
  249. package/es/themes/dark.mjs +2 -1
  250. package/es/themes/light.mjs +2 -0
  251. package/es/thing/index.d.ts +1 -1
  252. package/es/thing/src/Thing.d.ts +11 -2
  253. package/es/thing/src/Thing.mjs +1 -0
  254. package/es/time-picker/index.d.ts +1 -1
  255. package/es/time-picker/src/TimePicker.d.ts +6 -2
  256. package/es/timeline/index.d.ts +1 -1
  257. package/es/timeline/src/TimelineItem.d.ts +8 -2
  258. package/es/timeline/src/TimelineItem.mjs +1 -0
  259. package/es/tooltip/index.d.ts +1 -1
  260. package/es/tooltip/src/Tooltip.d.ts +5 -2
  261. package/es/tooltip/src/Tooltip.mjs +1 -0
  262. package/es/transfer/src/Transfer.d.ts +1 -1
  263. package/es/tree/index.d.ts +1 -1
  264. package/es/tree/src/Tree.d.ts +27 -19
  265. package/es/tree/src/Tree.mjs +5 -4
  266. package/es/tree-select/index.d.ts +1 -1
  267. package/es/tree-select/src/TreeSelect.d.ts +22 -3
  268. package/es/tree-select/src/TreeSelect.mjs +2 -0
  269. package/es/typography/src/text.d.ts +1 -1
  270. package/es/upload/index.d.ts +2 -0
  271. package/es/upload/index.mjs +1 -0
  272. package/es/upload/src/Upload.d.ts +11 -8
  273. package/es/upload/src/Upload.mjs +2 -0
  274. package/es/upload/src/UploadFile.mjs +8 -1
  275. package/es/upload/src/UploadTrigger.d.ts +7 -2
  276. package/es/upload/src/UploadTrigger.mjs +1 -0
  277. package/es/upload/src/interface.d.ts +8 -0
  278. package/es/version.d.ts +1 -1
  279. package/es/version.mjs +1 -1
  280. package/es/watermark/src/Watermark.d.ts +1 -1
  281. package/lib/_internal/selection/src/Selection.d.ts +1 -1
  282. package/lib/_mixins/use-form-item.d.ts +1 -1
  283. package/lib/_utils/dom/download.d.ts +1 -0
  284. package/lib/_utils/dom/download.js +4 -0
  285. package/lib/_utils/index.d.ts +2 -2
  286. package/lib/_utils/index.js +4 -2
  287. package/lib/_utils/naive/index.d.ts +1 -0
  288. package/lib/_utils/naive/index.js +3 -1
  289. package/lib/_utils/naive/value.d.ts +1 -0
  290. package/lib/_utils/naive/value.js +18 -0
  291. package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -0
  292. package/lib/_utils/vue/get-first-slot-vnode.js +15 -0
  293. package/lib/_utils/vue/index.d.ts +2 -2
  294. package/lib/_utils/vue/index.js +3 -2
  295. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  296. package/lib/_utils/vue/resolve-slot.js +2 -2
  297. package/lib/alert/index.d.ts +1 -1
  298. package/lib/alert/src/Alert.d.ts +7 -2
  299. package/lib/alert/src/Alert.js +1 -0
  300. package/lib/auto-complete/index.d.ts +2 -2
  301. package/lib/auto-complete/src/AutoComplete.d.ts +10 -4
  302. package/lib/auto-complete/src/AutoComplete.js +2 -1
  303. package/lib/auto-complete/src/interface.d.ts +6 -0
  304. package/lib/avatar/index.d.ts +1 -1
  305. package/lib/avatar/src/Avatar.d.ts +7 -2
  306. package/lib/avatar/src/Avatar.js +1 -0
  307. package/lib/avatar-group/index.d.ts +2 -1
  308. package/lib/avatar-group/src/AvatarGroup.d.ts +8 -2
  309. package/lib/avatar-group/src/AvatarGroup.js +1 -0
  310. package/lib/avatar-group/src/interface.d.ts +8 -0
  311. package/lib/avatar-group/src/interface.js +2 -0
  312. package/lib/breadcrumb/index.d.ts +1 -1
  313. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +6 -2
  314. package/lib/breadcrumb/src/BreadcrumbItem.js +1 -0
  315. package/lib/button/index.d.ts +1 -1
  316. package/lib/button/src/Button.d.ts +6 -2
  317. package/lib/button/src/Button.js +1 -0
  318. package/lib/calendar/src/Calendar.d.ts +7 -3
  319. package/lib/calendar/src/Calendar.js +2 -1
  320. package/lib/calendar/src/interface.d.ts +9 -0
  321. package/lib/card/index.d.ts +1 -1
  322. package/lib/card/src/Card.d.ts +10 -2
  323. package/lib/card/src/Card.js +1 -0
  324. package/lib/carousel/index.d.ts +2 -2
  325. package/lib/carousel/src/Carousel.d.ts +8 -3
  326. package/lib/carousel/src/Carousel.js +3 -2
  327. package/lib/carousel/src/interface.d.ts +12 -0
  328. package/lib/cascader/index.d.ts +1 -1
  329. package/lib/cascader/src/Cascader.d.ts +9 -3
  330. package/lib/cascader/src/Cascader.js +1 -0
  331. package/lib/collapse/index.d.ts +3 -2
  332. package/lib/collapse/src/Collapse.d.ts +10 -4
  333. package/lib/collapse/src/Collapse.js +1 -0
  334. package/lib/collapse/src/CollapseItem.d.ts +9 -4
  335. package/lib/collapse/src/CollapseItem.js +6 -9
  336. package/lib/collapse/src/interface.d.ts +12 -0
  337. package/lib/color-picker/index.d.ts +1 -1
  338. package/lib/color-picker/src/ColorPicker.d.ts +7 -2
  339. package/lib/color-picker/src/ColorPicker.js +3 -4
  340. package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  341. package/lib/color-picker/src/ColorPickerTrigger.js +1 -0
  342. package/lib/color-picker/src/context.d.ts +3 -2
  343. package/lib/components.d.ts +1 -0
  344. package/lib/components.js +1 -0
  345. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  346. package/lib/data-table/index.d.ts +1 -1
  347. package/lib/data-table/src/DataTable.d.ts +9 -8
  348. package/lib/data-table/src/DataTable.js +7 -6
  349. package/lib/data-table/src/TableParts/Body.d.ts +1 -3
  350. package/lib/data-table/src/interface.d.ts +7 -2
  351. package/lib/data-table/src/styles/index.cssr.js +1 -0
  352. package/lib/data-table/src/use-group-header.js +4 -3
  353. package/lib/date-picker/index.d.ts +1 -0
  354. package/lib/date-picker/src/DatePicker.d.ts +27 -5
  355. package/lib/date-picker/src/DatePicker.js +1 -0
  356. package/lib/date-picker/src/interface.d.ts +3 -2
  357. package/lib/date-picker/src/panel/date.d.ts +1 -3
  358. package/lib/date-picker/src/panel/date.js +15 -7
  359. package/lib/date-picker/src/panel/daterange.d.ts +1 -3
  360. package/lib/date-picker/src/panel/daterange.js +27 -11
  361. package/lib/date-picker/src/panel/datetime.d.ts +1 -3
  362. package/lib/date-picker/src/panel/datetime.js +16 -8
  363. package/lib/date-picker/src/panel/datetimerange.d.ts +1 -3
  364. package/lib/date-picker/src/panel/datetimerange.js +27 -11
  365. package/lib/date-picker/src/panel/month.d.ts +1 -3
  366. package/lib/date-picker/src/panel/month.js +6 -6
  367. package/lib/date-picker/src/panel/monthrange.d.ts +1 -3
  368. package/lib/date-picker/src/panel/monthrange.js +5 -3
  369. package/lib/date-picker/src/panel/panelHeader.d.ts +4 -12
  370. package/lib/date-picker/src/panel/use-calendar.d.ts +1 -3
  371. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +1 -3
  372. package/lib/date-picker/src/props.d.ts +1 -1
  373. package/lib/descriptions/index.d.ts +2 -2
  374. package/lib/descriptions/src/Descriptions.d.ts +7 -3
  375. package/lib/descriptions/src/Descriptions.js +1 -0
  376. package/lib/descriptions/src/DescriptionsItem.d.ts +6 -2
  377. package/lib/descriptions/src/DescriptionsItem.js +1 -0
  378. package/lib/dialog/index.d.ts +1 -0
  379. package/lib/dialog/src/Dialog.d.ts +9 -2
  380. package/lib/dialog/src/Dialog.js +1 -0
  381. package/lib/dialog/src/DialogEnvironment.d.ts +5 -1
  382. package/lib/dialog/src/DialogEnvironment.js +3 -3
  383. package/lib/dialog/src/DialogProvider.d.ts +8 -2
  384. package/lib/drawer/index.d.ts +1 -1
  385. package/lib/drawer/src/Drawer.d.ts +2 -2
  386. package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  387. package/lib/drawer/src/DrawerContent.d.ts +7 -2
  388. package/lib/drawer/src/DrawerContent.js +1 -0
  389. package/lib/dynamic-input/index.d.ts +2 -1
  390. package/lib/dynamic-input/src/DynamicInput.d.ts +8 -2
  391. package/lib/dynamic-input/src/DynamicInput.js +2 -2
  392. package/lib/dynamic-input/src/interface.d.ts +11 -0
  393. package/lib/dynamic-tags/index.d.ts +2 -2
  394. package/lib/dynamic-tags/src/DynamicTags.d.ts +8 -3
  395. package/lib/dynamic-tags/src/DynamicTags.js +1 -0
  396. package/lib/dynamic-tags/src/interface.d.ts +8 -0
  397. package/lib/ellipsis/index.d.ts +1 -1
  398. package/lib/ellipsis/src/Ellipsis.d.ts +6 -2
  399. package/lib/ellipsis/src/Ellipsis.js +1 -0
  400. package/lib/empty/index.d.ts +1 -1
  401. package/lib/empty/src/Empty.d.ts +7 -2
  402. package/lib/empty/src/Empty.js +1 -0
  403. package/lib/float-button/index.d.ts +1 -1
  404. package/lib/float-button/src/FloatButton.d.ts +7 -2
  405. package/lib/float-button/src/FloatButton.js +1 -0
  406. package/lib/form/index.d.ts +1 -0
  407. package/lib/form/src/FormItem.d.ts +1 -1
  408. package/lib/form/src/FormItemCol.d.ts +1 -1
  409. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  410. package/lib/form/src/interface.d.ts +0 -1
  411. package/lib/form/src/public-types.d.ts +1 -0
  412. package/lib/form/src/public-types.js +2 -0
  413. package/lib/image/index.d.ts +1 -1
  414. package/lib/image/src/Image.d.ts +6 -2
  415. package/lib/image/src/Image.js +2 -2
  416. package/lib/input/index.d.ts +1 -1
  417. package/lib/input/src/Input.d.ts +14 -3
  418. package/lib/input/src/Input.js +9 -8
  419. package/lib/input/src/WordCount.js +1 -1
  420. package/lib/input-number/index.d.ts +1 -1
  421. package/lib/input-number/src/InputNumber.d.ts +9 -3
  422. package/lib/input-number/src/InputNumber.js +1 -0
  423. package/lib/input-otp/index.d.ts +3 -0
  424. package/lib/input-otp/index.js +9 -0
  425. package/lib/input-otp/src/InputOtp.d.ts +871 -0
  426. package/lib/input-otp/src/InputOtp.js +242 -0
  427. package/lib/input-otp/src/public-types.d.ts +24 -0
  428. package/lib/input-otp/src/public-types.js +2 -0
  429. package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
  430. package/lib/input-otp/src/styles/index.cssr.js +16 -0
  431. package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  432. package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
  433. package/lib/input-otp/styles/dark.d.ts +3 -0
  434. package/lib/input-otp/styles/dark.js +14 -0
  435. package/lib/input-otp/styles/index.d.ts +4 -0
  436. package/lib/input-otp/styles/index.js +12 -0
  437. package/lib/input-otp/styles/light.d.ts +81 -0
  438. package/lib/input-otp/styles/light.js +25 -0
  439. package/lib/input-otp/styles/rtl.d.ts +2 -0
  440. package/lib/input-otp/styles/rtl.js +11 -0
  441. package/lib/list/index.d.ts +2 -1
  442. package/lib/list/src/List.d.ts +7 -2
  443. package/lib/list/src/List.js +1 -0
  444. package/lib/list/src/ListItem.d.ts +7 -1
  445. package/lib/list/src/ListItem.js +1 -0
  446. package/lib/locales/common/kmKH.d.ts +3 -0
  447. package/lib/locales/common/kmKH.js +126 -0
  448. package/lib/locales/common/ugCN.d.ts +3 -0
  449. package/lib/locales/common/ugCN.js +126 -0
  450. package/lib/locales/date/kmKH.d.ts +3 -0
  451. package/lib/locales/date/kmKH.js +8 -0
  452. package/lib/locales/date/ugCN.d.ts +3 -0
  453. package/lib/locales/date/ugCN.js +8 -0
  454. package/lib/locales/index.d.ts +3 -0
  455. package/lib/locales/index.js +8 -2
  456. package/lib/mention/index.d.ts +1 -1
  457. package/lib/mention/src/Mention.d.ts +7 -3
  458. package/lib/mention/src/Mention.js +1 -0
  459. package/lib/modal/index.d.ts +1 -1
  460. package/lib/modal/src/BodyWrapper.d.ts +20 -5
  461. package/lib/modal/src/BodyWrapper.js +47 -14
  462. package/lib/modal/src/Modal.d.ts +19 -8
  463. package/lib/modal/src/Modal.js +3 -2
  464. package/lib/modal/src/ModalEnvironment.d.ts +4 -2
  465. package/lib/modal/src/ModalProvider.js +0 -6
  466. package/lib/modal/src/composables.d.ts +13 -1
  467. package/lib/modal/src/composables.js +100 -0
  468. package/lib/modal/src/interface.d.ts +6 -0
  469. package/lib/modal/src/styles/index.cssr.js +5 -1
  470. package/lib/page-header/index.d.ts +1 -1
  471. package/lib/page-header/src/PageHeader.d.ts +12 -2
  472. package/lib/page-header/src/PageHeader.js +1 -0
  473. package/lib/pagination/index.d.ts +1 -1
  474. package/lib/pagination/src/Pagination.d.ts +12 -3
  475. package/lib/pagination/src/Pagination.js +3 -2
  476. package/lib/pagination/src/interface.d.ts +1 -0
  477. package/lib/popconfirm/index.d.ts +1 -1
  478. package/lib/popconfirm/src/Popconfirm.d.ts +8 -2
  479. package/lib/popconfirm/src/Popconfirm.js +2 -1
  480. package/lib/popover/index.d.ts +1 -1
  481. package/lib/popover/src/Popover.d.ts +8 -2
  482. package/lib/popover/src/Popover.js +2 -6
  483. package/lib/popselect/index.d.ts +1 -1
  484. package/lib/popselect/src/Popselect.d.ts +8 -2
  485. package/lib/popselect/src/Popselect.js +1 -0
  486. package/lib/progress/src/Circle.d.ts +1 -1
  487. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  488. package/lib/progress/src/Progress.d.ts +2 -2
  489. package/lib/result/index.d.ts +1 -1
  490. package/lib/result/src/Result.d.ts +7 -2
  491. package/lib/result/src/Result.js +1 -0
  492. package/lib/select/index.d.ts +1 -1
  493. package/lib/select/src/Select.d.ts +10 -3
  494. package/lib/select/src/Select.js +1 -0
  495. package/lib/slider/index.d.ts +1 -1
  496. package/lib/slider/src/Slider.d.ts +6 -2
  497. package/lib/slider/src/Slider.js +1 -0
  498. package/lib/spin/index.d.ts +1 -1
  499. package/lib/spin/src/Spin.d.ts +7 -2
  500. package/lib/spin/src/Spin.js +1 -0
  501. package/lib/split/index.d.ts +1 -1
  502. package/lib/split/src/Split.d.ts +8 -2
  503. package/lib/split/src/Split.js +1 -0
  504. package/lib/statistic/index.d.ts +1 -1
  505. package/lib/statistic/src/Statistic.d.ts +8 -1
  506. package/lib/statistic/src/Statistic.js +1 -0
  507. package/lib/steps/index.d.ts +2 -2
  508. package/lib/steps/src/Step.d.ts +8 -5
  509. package/lib/steps/src/Step.js +1 -0
  510. package/lib/steps/src/Steps.d.ts +8 -3
  511. package/lib/steps/src/Steps.js +1 -0
  512. package/lib/styles.d.ts +1 -0
  513. package/lib/styles.js +99 -96
  514. package/lib/switch/index.d.ts +1 -1
  515. package/lib/switch/src/Switch.d.ts +10 -2
  516. package/lib/switch/src/Switch.js +1 -0
  517. package/lib/tabs/index.d.ts +2 -2
  518. package/lib/tabs/src/TabPane.d.ts +8 -2
  519. package/lib/tabs/src/TabPane.js +1 -0
  520. package/lib/tabs/src/Tabs.d.ts +7 -2
  521. package/lib/tabs/src/Tabs.js +1 -0
  522. package/lib/tag/index.d.ts +1 -1
  523. package/lib/tag/src/Tag.d.ts +7 -2
  524. package/lib/tag/src/Tag.js +1 -0
  525. package/lib/themes/dark.js +1 -0
  526. package/lib/themes/light.js +92 -90
  527. package/lib/thing/index.d.ts +1 -1
  528. package/lib/thing/src/Thing.d.ts +11 -2
  529. package/lib/thing/src/Thing.js +1 -0
  530. package/lib/time-picker/index.d.ts +1 -1
  531. package/lib/time-picker/src/TimePicker.d.ts +6 -2
  532. package/lib/timeline/index.d.ts +1 -1
  533. package/lib/timeline/src/TimelineItem.d.ts +8 -2
  534. package/lib/timeline/src/TimelineItem.js +1 -0
  535. package/lib/tooltip/index.d.ts +1 -1
  536. package/lib/tooltip/src/Tooltip.d.ts +5 -2
  537. package/lib/tooltip/src/Tooltip.js +1 -0
  538. package/lib/transfer/src/Transfer.d.ts +1 -1
  539. package/lib/tree/index.d.ts +1 -1
  540. package/lib/tree/src/Tree.d.ts +27 -19
  541. package/lib/tree/src/Tree.js +6 -4
  542. package/lib/tree-select/index.d.ts +1 -1
  543. package/lib/tree-select/src/TreeSelect.d.ts +22 -3
  544. package/lib/tree-select/src/TreeSelect.js +2 -1
  545. package/lib/typography/src/text.d.ts +1 -1
  546. package/lib/upload/index.d.ts +2 -0
  547. package/lib/upload/index.js +3 -1
  548. package/lib/upload/src/Upload.d.ts +11 -8
  549. package/lib/upload/src/Upload.js +2 -1
  550. package/lib/upload/src/UploadFile.js +7 -2
  551. package/lib/upload/src/UploadTrigger.d.ts +7 -2
  552. package/lib/upload/src/UploadTrigger.js +1 -0
  553. package/lib/upload/src/interface.d.ts +8 -0
  554. package/lib/version.d.ts +1 -1
  555. package/lib/version.js +1 -1
  556. package/lib/watermark/src/Watermark.d.ts +1 -1
  557. package/package.json +1 -1
  558. package/volar.d.ts +3 -2
  559. package/web-types.json +142 -14
@@ -0,0 +1,871 @@
1
+ import type { PropType, SlotsType } from 'vue';
2
+ import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
3
+ import type { FormValidationStatus } from '../../form/src/public-types';
4
+ import type { InputOtpAllowInput, InputOtpOnBlur, InputOtpOnFinish, InputOtpOnFocus, InputOtpOnUpdateValue, InputOtpSize, InputOtpSlots } from './public-types';
5
+ export declare const inputOtpProps: {
6
+ defaultValue: {
7
+ type: PropType<string[]>;
8
+ default: never[];
9
+ };
10
+ value: PropType<null | string[]>;
11
+ length: {
12
+ type: NumberConstructor;
13
+ default: number;
14
+ };
15
+ size: PropType<InputOtpSize>;
16
+ disabled: BooleanConstructor;
17
+ mask: BooleanConstructor;
18
+ readonly: BooleanConstructor;
19
+ status: PropType<FormValidationStatus>;
20
+ gap: PropType<string | number>;
21
+ placeholder: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ allowInput: PropType<InputOtpAllowInput>;
26
+ onBlur: PropType<MaybeArray<InputOtpOnBlur>>;
27
+ onFocus: PropType<MaybeArray<InputOtpOnFocus>>;
28
+ 'onUpdate:value': PropType<MaybeArray<InputOtpOnUpdateValue>>;
29
+ onUpdateValue: PropType<MaybeArray<InputOtpOnUpdateValue>>;
30
+ onFinish: PropType<MaybeArray<InputOtpOnFinish>>;
31
+ theme: PropType<import("../../_mixins").Theme<"InputOtp", {
32
+ inputWidthSmall: string;
33
+ inputWidthMedium: string;
34
+ inputWidthLarge: string;
35
+ gapSmall: string;
36
+ gapMedium: string;
37
+ gapLarge: string;
38
+ }, {
39
+ Input: import("../../_mixins").Theme<"Input", {
40
+ fontWeight: string;
41
+ countTextColorDisabled: string;
42
+ countTextColor: string;
43
+ heightTiny: string;
44
+ heightSmall: string;
45
+ heightMedium: string;
46
+ heightLarge: string;
47
+ fontSizeTiny: string;
48
+ fontSizeSmall: string;
49
+ fontSizeMedium: string;
50
+ fontSizeLarge: string;
51
+ lineHeight: string;
52
+ lineHeightTextarea: string;
53
+ borderRadius: string;
54
+ iconSize: string;
55
+ groupLabelColor: string;
56
+ groupLabelTextColor: string;
57
+ textColor: string;
58
+ textColorDisabled: string;
59
+ textDecorationColor: string;
60
+ caretColor: string;
61
+ placeholderColor: string;
62
+ placeholderColorDisabled: string;
63
+ color: string;
64
+ colorDisabled: string;
65
+ colorFocus: string;
66
+ groupLabelBorder: string;
67
+ border: string;
68
+ borderHover: string;
69
+ borderDisabled: string;
70
+ borderFocus: string;
71
+ boxShadowFocus: string;
72
+ loadingColor: string;
73
+ loadingColorWarning: string;
74
+ borderWarning: string;
75
+ borderHoverWarning: string;
76
+ colorFocusWarning: string;
77
+ borderFocusWarning: string;
78
+ boxShadowFocusWarning: string;
79
+ caretColorWarning: string;
80
+ loadingColorError: string;
81
+ borderError: string;
82
+ borderHoverError: string;
83
+ colorFocusError: string;
84
+ borderFocusError: string;
85
+ boxShadowFocusError: string;
86
+ caretColorError: string;
87
+ clearColor: string;
88
+ clearColorHover: string;
89
+ clearColorPressed: string;
90
+ iconColor: string;
91
+ iconColorDisabled: string;
92
+ iconColorHover: string;
93
+ iconColorPressed: string;
94
+ suffixTextColor: string;
95
+ paddingTiny: string;
96
+ paddingSmall: string;
97
+ paddingMedium: string;
98
+ paddingLarge: string;
99
+ clearSize: string;
100
+ }, any>;
101
+ }>>;
102
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"InputOtp", {
103
+ inputWidthSmall: string;
104
+ inputWidthMedium: string;
105
+ inputWidthLarge: string;
106
+ gapSmall: string;
107
+ gapMedium: string;
108
+ gapLarge: string;
109
+ }, {
110
+ Input: import("../../_mixins").Theme<"Input", {
111
+ fontWeight: string;
112
+ countTextColorDisabled: string;
113
+ countTextColor: string;
114
+ heightTiny: string;
115
+ heightSmall: string;
116
+ heightMedium: string;
117
+ heightLarge: string;
118
+ fontSizeTiny: string;
119
+ fontSizeSmall: string;
120
+ fontSizeMedium: string;
121
+ fontSizeLarge: string;
122
+ lineHeight: string;
123
+ lineHeightTextarea: string;
124
+ borderRadius: string;
125
+ iconSize: string;
126
+ groupLabelColor: string;
127
+ groupLabelTextColor: string;
128
+ textColor: string;
129
+ textColorDisabled: string;
130
+ textDecorationColor: string;
131
+ caretColor: string;
132
+ placeholderColor: string;
133
+ placeholderColorDisabled: string;
134
+ color: string;
135
+ colorDisabled: string;
136
+ colorFocus: string;
137
+ groupLabelBorder: string;
138
+ border: string;
139
+ borderHover: string;
140
+ borderDisabled: string;
141
+ borderFocus: string;
142
+ boxShadowFocus: string;
143
+ loadingColor: string;
144
+ loadingColorWarning: string;
145
+ borderWarning: string;
146
+ borderHoverWarning: string;
147
+ colorFocusWarning: string;
148
+ borderFocusWarning: string;
149
+ boxShadowFocusWarning: string;
150
+ caretColorWarning: string;
151
+ loadingColorError: string;
152
+ borderError: string;
153
+ borderHoverError: string;
154
+ colorFocusError: string;
155
+ borderFocusError: string;
156
+ boxShadowFocusError: string;
157
+ caretColorError: string;
158
+ clearColor: string;
159
+ clearColorHover: string;
160
+ clearColorPressed: string;
161
+ iconColor: string;
162
+ iconColorDisabled: string;
163
+ iconColorHover: string;
164
+ iconColorPressed: string;
165
+ suffixTextColor: string;
166
+ paddingTiny: string;
167
+ paddingSmall: string;
168
+ paddingMedium: string;
169
+ paddingLarge: string;
170
+ clearSize: string;
171
+ }, any>;
172
+ }>>>;
173
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"InputOtp", {
174
+ inputWidthSmall: string;
175
+ inputWidthMedium: string;
176
+ inputWidthLarge: string;
177
+ gapSmall: string;
178
+ gapMedium: string;
179
+ gapLarge: string;
180
+ }, {
181
+ Input: import("../../_mixins").Theme<"Input", {
182
+ fontWeight: string;
183
+ countTextColorDisabled: string;
184
+ countTextColor: string;
185
+ heightTiny: string;
186
+ heightSmall: string;
187
+ heightMedium: string;
188
+ heightLarge: string;
189
+ fontSizeTiny: string;
190
+ fontSizeSmall: string;
191
+ fontSizeMedium: string;
192
+ fontSizeLarge: string;
193
+ lineHeight: string;
194
+ lineHeightTextarea: string;
195
+ borderRadius: string;
196
+ iconSize: string;
197
+ groupLabelColor: string;
198
+ groupLabelTextColor: string;
199
+ textColor: string;
200
+ textColorDisabled: string;
201
+ textDecorationColor: string;
202
+ caretColor: string;
203
+ placeholderColor: string;
204
+ placeholderColorDisabled: string;
205
+ color: string;
206
+ colorDisabled: string;
207
+ colorFocus: string;
208
+ groupLabelBorder: string;
209
+ border: string;
210
+ borderHover: string;
211
+ borderDisabled: string;
212
+ borderFocus: string;
213
+ boxShadowFocus: string;
214
+ loadingColor: string;
215
+ loadingColorWarning: string;
216
+ borderWarning: string;
217
+ borderHoverWarning: string;
218
+ colorFocusWarning: string;
219
+ borderFocusWarning: string;
220
+ boxShadowFocusWarning: string;
221
+ caretColorWarning: string;
222
+ loadingColorError: string;
223
+ borderError: string;
224
+ borderHoverError: string;
225
+ colorFocusError: string;
226
+ borderFocusError: string;
227
+ boxShadowFocusError: string;
228
+ caretColorError: string;
229
+ clearColor: string;
230
+ clearColorHover: string;
231
+ clearColorPressed: string;
232
+ iconColor: string;
233
+ iconColorDisabled: string;
234
+ iconColorHover: string;
235
+ iconColorPressed: string;
236
+ suffixTextColor: string;
237
+ paddingTiny: string;
238
+ paddingSmall: string;
239
+ paddingMedium: string;
240
+ paddingLarge: string;
241
+ clearSize: string;
242
+ }, any>;
243
+ }>>>;
244
+ };
245
+ export type InputOtpProps = ExtractPublicPropTypes<typeof inputOtpProps>;
246
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
247
+ defaultValue: {
248
+ type: PropType<string[]>;
249
+ default: never[];
250
+ };
251
+ value: PropType<null | string[]>;
252
+ length: {
253
+ type: NumberConstructor;
254
+ default: number;
255
+ };
256
+ size: PropType<InputOtpSize>;
257
+ disabled: BooleanConstructor;
258
+ mask: BooleanConstructor;
259
+ readonly: BooleanConstructor;
260
+ status: PropType<FormValidationStatus>;
261
+ gap: PropType<string | number>;
262
+ placeholder: {
263
+ type: StringConstructor;
264
+ default: string;
265
+ };
266
+ allowInput: PropType<InputOtpAllowInput>;
267
+ onBlur: PropType<MaybeArray<InputOtpOnBlur>>;
268
+ onFocus: PropType<MaybeArray<InputOtpOnFocus>>;
269
+ 'onUpdate:value': PropType<MaybeArray<InputOtpOnUpdateValue>>;
270
+ onUpdateValue: PropType<MaybeArray<InputOtpOnUpdateValue>>;
271
+ onFinish: PropType<MaybeArray<InputOtpOnFinish>>;
272
+ theme: PropType<import("../../_mixins").Theme<"InputOtp", {
273
+ inputWidthSmall: string;
274
+ inputWidthMedium: string;
275
+ inputWidthLarge: string;
276
+ gapSmall: string;
277
+ gapMedium: string;
278
+ gapLarge: string;
279
+ }, {
280
+ Input: import("../../_mixins").Theme<"Input", {
281
+ fontWeight: string;
282
+ countTextColorDisabled: string;
283
+ countTextColor: string;
284
+ heightTiny: string;
285
+ heightSmall: string;
286
+ heightMedium: string;
287
+ heightLarge: string;
288
+ fontSizeTiny: string;
289
+ fontSizeSmall: string;
290
+ fontSizeMedium: string;
291
+ fontSizeLarge: string;
292
+ lineHeight: string;
293
+ lineHeightTextarea: string;
294
+ borderRadius: string;
295
+ iconSize: string;
296
+ groupLabelColor: string;
297
+ groupLabelTextColor: string;
298
+ textColor: string;
299
+ textColorDisabled: string;
300
+ textDecorationColor: string;
301
+ caretColor: string;
302
+ placeholderColor: string;
303
+ placeholderColorDisabled: string;
304
+ color: string;
305
+ colorDisabled: string;
306
+ colorFocus: string;
307
+ groupLabelBorder: string;
308
+ border: string;
309
+ borderHover: string;
310
+ borderDisabled: string;
311
+ borderFocus: string;
312
+ boxShadowFocus: string;
313
+ loadingColor: string;
314
+ loadingColorWarning: string;
315
+ borderWarning: string;
316
+ borderHoverWarning: string;
317
+ colorFocusWarning: string;
318
+ borderFocusWarning: string;
319
+ boxShadowFocusWarning: string;
320
+ caretColorWarning: string;
321
+ loadingColorError: string;
322
+ borderError: string;
323
+ borderHoverError: string;
324
+ colorFocusError: string;
325
+ borderFocusError: string;
326
+ boxShadowFocusError: string;
327
+ caretColorError: string;
328
+ clearColor: string;
329
+ clearColorHover: string;
330
+ clearColorPressed: string;
331
+ iconColor: string;
332
+ iconColorDisabled: string;
333
+ iconColorHover: string;
334
+ iconColorPressed: string;
335
+ suffixTextColor: string;
336
+ paddingTiny: string;
337
+ paddingSmall: string;
338
+ paddingMedium: string;
339
+ paddingLarge: string;
340
+ clearSize: string;
341
+ }, any>;
342
+ }>>;
343
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"InputOtp", {
344
+ inputWidthSmall: string;
345
+ inputWidthMedium: string;
346
+ inputWidthLarge: string;
347
+ gapSmall: string;
348
+ gapMedium: string;
349
+ gapLarge: string;
350
+ }, {
351
+ Input: import("../../_mixins").Theme<"Input", {
352
+ fontWeight: string;
353
+ countTextColorDisabled: string;
354
+ countTextColor: string;
355
+ heightTiny: string;
356
+ heightSmall: string;
357
+ heightMedium: string;
358
+ heightLarge: string;
359
+ fontSizeTiny: string;
360
+ fontSizeSmall: string;
361
+ fontSizeMedium: string;
362
+ fontSizeLarge: string;
363
+ lineHeight: string;
364
+ lineHeightTextarea: string;
365
+ borderRadius: string;
366
+ iconSize: string;
367
+ groupLabelColor: string;
368
+ groupLabelTextColor: string;
369
+ textColor: string;
370
+ textColorDisabled: string;
371
+ textDecorationColor: string;
372
+ caretColor: string;
373
+ placeholderColor: string;
374
+ placeholderColorDisabled: string;
375
+ color: string;
376
+ colorDisabled: string;
377
+ colorFocus: string;
378
+ groupLabelBorder: string;
379
+ border: string;
380
+ borderHover: string;
381
+ borderDisabled: string;
382
+ borderFocus: string;
383
+ boxShadowFocus: string;
384
+ loadingColor: string;
385
+ loadingColorWarning: string;
386
+ borderWarning: string;
387
+ borderHoverWarning: string;
388
+ colorFocusWarning: string;
389
+ borderFocusWarning: string;
390
+ boxShadowFocusWarning: string;
391
+ caretColorWarning: string;
392
+ loadingColorError: string;
393
+ borderError: string;
394
+ borderHoverError: string;
395
+ colorFocusError: string;
396
+ borderFocusError: string;
397
+ boxShadowFocusError: string;
398
+ caretColorError: string;
399
+ clearColor: string;
400
+ clearColorHover: string;
401
+ clearColorPressed: string;
402
+ iconColor: string;
403
+ iconColorDisabled: string;
404
+ iconColorHover: string;
405
+ iconColorPressed: string;
406
+ suffixTextColor: string;
407
+ paddingTiny: string;
408
+ paddingSmall: string;
409
+ paddingMedium: string;
410
+ paddingLarge: string;
411
+ clearSize: string;
412
+ }, any>;
413
+ }>>>;
414
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"InputOtp", {
415
+ inputWidthSmall: string;
416
+ inputWidthMedium: string;
417
+ inputWidthLarge: string;
418
+ gapSmall: string;
419
+ gapMedium: string;
420
+ gapLarge: string;
421
+ }, {
422
+ Input: import("../../_mixins").Theme<"Input", {
423
+ fontWeight: string;
424
+ countTextColorDisabled: string;
425
+ countTextColor: string;
426
+ heightTiny: string;
427
+ heightSmall: string;
428
+ heightMedium: string;
429
+ heightLarge: string;
430
+ fontSizeTiny: string;
431
+ fontSizeSmall: string;
432
+ fontSizeMedium: string;
433
+ fontSizeLarge: string;
434
+ lineHeight: string;
435
+ lineHeightTextarea: string;
436
+ borderRadius: string;
437
+ iconSize: string;
438
+ groupLabelColor: string;
439
+ groupLabelTextColor: string;
440
+ textColor: string;
441
+ textColorDisabled: string;
442
+ textDecorationColor: string;
443
+ caretColor: string;
444
+ placeholderColor: string;
445
+ placeholderColorDisabled: string;
446
+ color: string;
447
+ colorDisabled: string;
448
+ colorFocus: string;
449
+ groupLabelBorder: string;
450
+ border: string;
451
+ borderHover: string;
452
+ borderDisabled: string;
453
+ borderFocus: string;
454
+ boxShadowFocus: string;
455
+ loadingColor: string;
456
+ loadingColorWarning: string;
457
+ borderWarning: string;
458
+ borderHoverWarning: string;
459
+ colorFocusWarning: string;
460
+ borderFocusWarning: string;
461
+ boxShadowFocusWarning: string;
462
+ caretColorWarning: string;
463
+ loadingColorError: string;
464
+ borderError: string;
465
+ borderHoverError: string;
466
+ colorFocusError: string;
467
+ borderFocusError: string;
468
+ boxShadowFocusError: string;
469
+ caretColorError: string;
470
+ clearColor: string;
471
+ clearColorHover: string;
472
+ clearColorPressed: string;
473
+ iconColor: string;
474
+ iconColorDisabled: string;
475
+ iconColorHover: string;
476
+ iconColorPressed: string;
477
+ suffixTextColor: string;
478
+ paddingTiny: string;
479
+ paddingSmall: string;
480
+ paddingMedium: string;
481
+ paddingLarge: string;
482
+ clearSize: string;
483
+ }, any>;
484
+ }>>>;
485
+ }>, {
486
+ mergedTheme: import("vue").ComputedRef<{
487
+ common: import("naive-ui").ThemeCommonVars;
488
+ self: {
489
+ inputWidthSmall: string;
490
+ inputWidthMedium: string;
491
+ inputWidthLarge: string;
492
+ gapSmall: string;
493
+ gapMedium: string;
494
+ gapLarge: string;
495
+ };
496
+ peers: {
497
+ Input: import("../../_mixins").Theme<"Input", {
498
+ fontWeight: string;
499
+ countTextColorDisabled: string;
500
+ countTextColor: string;
501
+ heightTiny: string;
502
+ heightSmall: string;
503
+ heightMedium: string;
504
+ heightLarge: string;
505
+ fontSizeTiny: string;
506
+ fontSizeSmall: string;
507
+ fontSizeMedium: string;
508
+ fontSizeLarge: string;
509
+ lineHeight: string;
510
+ lineHeightTextarea: string;
511
+ borderRadius: string;
512
+ iconSize: string;
513
+ groupLabelColor: string;
514
+ groupLabelTextColor: string;
515
+ textColor: string;
516
+ textColorDisabled: string;
517
+ textDecorationColor: string;
518
+ caretColor: string;
519
+ placeholderColor: string;
520
+ placeholderColorDisabled: string;
521
+ color: string;
522
+ colorDisabled: string;
523
+ colorFocus: string;
524
+ groupLabelBorder: string;
525
+ border: string;
526
+ borderHover: string;
527
+ borderDisabled: string;
528
+ borderFocus: string;
529
+ boxShadowFocus: string;
530
+ loadingColor: string;
531
+ loadingColorWarning: string;
532
+ borderWarning: string;
533
+ borderHoverWarning: string;
534
+ colorFocusWarning: string;
535
+ borderFocusWarning: string;
536
+ boxShadowFocusWarning: string;
537
+ caretColorWarning: string;
538
+ loadingColorError: string;
539
+ borderError: string;
540
+ borderHoverError: string;
541
+ colorFocusError: string;
542
+ borderFocusError: string;
543
+ boxShadowFocusError: string;
544
+ caretColorError: string;
545
+ clearColor: string;
546
+ clearColorHover: string;
547
+ clearColorPressed: string;
548
+ iconColor: string;
549
+ iconColorDisabled: string;
550
+ iconColorHover: string;
551
+ iconColorPressed: string;
552
+ suffixTextColor: string;
553
+ paddingTiny: string;
554
+ paddingSmall: string;
555
+ paddingMedium: string;
556
+ paddingLarge: string;
557
+ clearSize: string;
558
+ }, any>;
559
+ };
560
+ peerOverrides: {
561
+ Input?: {
562
+ peers?: {
563
+ [x: string]: any;
564
+ } | undefined;
565
+ } | undefined;
566
+ };
567
+ }>;
568
+ perItemValueArray: import("vue").ComputedRef<string[]>;
569
+ mergedClsPrefix: import("vue").Ref<string, string>;
570
+ inputRefList: import("vue").Ref<{
571
+ wrapperElRef: HTMLElement | null;
572
+ textareaElRef: HTMLTextAreaElement | null;
573
+ inputElRef: HTMLInputElement | null;
574
+ isCompositing: boolean;
575
+ blur: () => void;
576
+ clear: () => void;
577
+ focus: () => void;
578
+ select: () => void;
579
+ activate: () => void;
580
+ deactivate: () => void;
581
+ scrollTo: (options: ScrollToOptions) => void;
582
+ }[], {
583
+ wrapperElRef: HTMLElement | null;
584
+ textareaElRef: HTMLTextAreaElement | null;
585
+ inputElRef: HTMLInputElement | null;
586
+ isCompositing: boolean;
587
+ blur: () => void;
588
+ clear: () => void;
589
+ focus: () => void;
590
+ select: () => void;
591
+ activate: () => void;
592
+ deactivate: () => void;
593
+ scrollTo: (options: ScrollToOptions) => void;
594
+ }[] | {
595
+ wrapperElRef: HTMLElement | null;
596
+ textareaElRef: HTMLTextAreaElement | null;
597
+ inputElRef: HTMLInputElement | null;
598
+ isCompositing: boolean;
599
+ blur: () => void;
600
+ clear: () => void;
601
+ focus: () => void;
602
+ select: () => void;
603
+ activate: () => void;
604
+ deactivate: () => void;
605
+ scrollTo: (options: ScrollToOptions) => void;
606
+ }[]>;
607
+ inputType: import("vue").ComputedRef<"text" | "password">;
608
+ rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined, import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
609
+ mergedStatus: import("vue").ComputedRef<FormValidationStatus | undefined>;
610
+ mergedDisabled: import("vue").ComputedRef<boolean>;
611
+ cssVars: import("vue").ComputedRef<{
612
+ '--n-gap': string;
613
+ '--n-input-width': string;
614
+ }> | undefined;
615
+ themeClass: import("vue").Ref<string, string> | undefined;
616
+ getTemplateEvents: (index: number) => {
617
+ onInput: (value: string) => void;
618
+ onPaste: (event: ClipboardEvent) => void;
619
+ onKeydown: (event: KeyboardEvent) => void;
620
+ onFocus: (event: FocusEvent) => void;
621
+ onBlur: (event: FocusEvent) => void;
622
+ };
623
+ onRender: (() => void) | undefined;
624
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
625
+ defaultValue: {
626
+ type: PropType<string[]>;
627
+ default: never[];
628
+ };
629
+ value: PropType<null | string[]>;
630
+ length: {
631
+ type: NumberConstructor;
632
+ default: number;
633
+ };
634
+ size: PropType<InputOtpSize>;
635
+ disabled: BooleanConstructor;
636
+ mask: BooleanConstructor;
637
+ readonly: BooleanConstructor;
638
+ status: PropType<FormValidationStatus>;
639
+ gap: PropType<string | number>;
640
+ placeholder: {
641
+ type: StringConstructor;
642
+ default: string;
643
+ };
644
+ allowInput: PropType<InputOtpAllowInput>;
645
+ onBlur: PropType<MaybeArray<InputOtpOnBlur>>;
646
+ onFocus: PropType<MaybeArray<InputOtpOnFocus>>;
647
+ 'onUpdate:value': PropType<MaybeArray<InputOtpOnUpdateValue>>;
648
+ onUpdateValue: PropType<MaybeArray<InputOtpOnUpdateValue>>;
649
+ onFinish: PropType<MaybeArray<InputOtpOnFinish>>;
650
+ theme: PropType<import("../../_mixins").Theme<"InputOtp", {
651
+ inputWidthSmall: string;
652
+ inputWidthMedium: string;
653
+ inputWidthLarge: string;
654
+ gapSmall: string;
655
+ gapMedium: string;
656
+ gapLarge: string;
657
+ }, {
658
+ Input: import("../../_mixins").Theme<"Input", {
659
+ fontWeight: string;
660
+ countTextColorDisabled: string;
661
+ countTextColor: string;
662
+ heightTiny: string;
663
+ heightSmall: string;
664
+ heightMedium: string;
665
+ heightLarge: string;
666
+ fontSizeTiny: string;
667
+ fontSizeSmall: string;
668
+ fontSizeMedium: string;
669
+ fontSizeLarge: string;
670
+ lineHeight: string;
671
+ lineHeightTextarea: string;
672
+ borderRadius: string;
673
+ iconSize: string;
674
+ groupLabelColor: string;
675
+ groupLabelTextColor: string;
676
+ textColor: string;
677
+ textColorDisabled: string;
678
+ textDecorationColor: string;
679
+ caretColor: string;
680
+ placeholderColor: string;
681
+ placeholderColorDisabled: string;
682
+ color: string;
683
+ colorDisabled: string;
684
+ colorFocus: string;
685
+ groupLabelBorder: string;
686
+ border: string;
687
+ borderHover: string;
688
+ borderDisabled: string;
689
+ borderFocus: string;
690
+ boxShadowFocus: string;
691
+ loadingColor: string;
692
+ loadingColorWarning: string;
693
+ borderWarning: string;
694
+ borderHoverWarning: string;
695
+ colorFocusWarning: string;
696
+ borderFocusWarning: string;
697
+ boxShadowFocusWarning: string;
698
+ caretColorWarning: string;
699
+ loadingColorError: string;
700
+ borderError: string;
701
+ borderHoverError: string;
702
+ colorFocusError: string;
703
+ borderFocusError: string;
704
+ boxShadowFocusError: string;
705
+ caretColorError: string;
706
+ clearColor: string;
707
+ clearColorHover: string;
708
+ clearColorPressed: string;
709
+ iconColor: string;
710
+ iconColorDisabled: string;
711
+ iconColorHover: string;
712
+ iconColorPressed: string;
713
+ suffixTextColor: string;
714
+ paddingTiny: string;
715
+ paddingSmall: string;
716
+ paddingMedium: string;
717
+ paddingLarge: string;
718
+ clearSize: string;
719
+ }, any>;
720
+ }>>;
721
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"InputOtp", {
722
+ inputWidthSmall: string;
723
+ inputWidthMedium: string;
724
+ inputWidthLarge: string;
725
+ gapSmall: string;
726
+ gapMedium: string;
727
+ gapLarge: string;
728
+ }, {
729
+ Input: import("../../_mixins").Theme<"Input", {
730
+ fontWeight: string;
731
+ countTextColorDisabled: string;
732
+ countTextColor: string;
733
+ heightTiny: string;
734
+ heightSmall: string;
735
+ heightMedium: string;
736
+ heightLarge: string;
737
+ fontSizeTiny: string;
738
+ fontSizeSmall: string;
739
+ fontSizeMedium: string;
740
+ fontSizeLarge: string;
741
+ lineHeight: string;
742
+ lineHeightTextarea: string;
743
+ borderRadius: string;
744
+ iconSize: string;
745
+ groupLabelColor: string;
746
+ groupLabelTextColor: string;
747
+ textColor: string;
748
+ textColorDisabled: string;
749
+ textDecorationColor: string;
750
+ caretColor: string;
751
+ placeholderColor: string;
752
+ placeholderColorDisabled: string;
753
+ color: string;
754
+ colorDisabled: string;
755
+ colorFocus: string;
756
+ groupLabelBorder: string;
757
+ border: string;
758
+ borderHover: string;
759
+ borderDisabled: string;
760
+ borderFocus: string;
761
+ boxShadowFocus: string;
762
+ loadingColor: string;
763
+ loadingColorWarning: string;
764
+ borderWarning: string;
765
+ borderHoverWarning: string;
766
+ colorFocusWarning: string;
767
+ borderFocusWarning: string;
768
+ boxShadowFocusWarning: string;
769
+ caretColorWarning: string;
770
+ loadingColorError: string;
771
+ borderError: string;
772
+ borderHoverError: string;
773
+ colorFocusError: string;
774
+ borderFocusError: string;
775
+ boxShadowFocusError: string;
776
+ caretColorError: string;
777
+ clearColor: string;
778
+ clearColorHover: string;
779
+ clearColorPressed: string;
780
+ iconColor: string;
781
+ iconColorDisabled: string;
782
+ iconColorHover: string;
783
+ iconColorPressed: string;
784
+ suffixTextColor: string;
785
+ paddingTiny: string;
786
+ paddingSmall: string;
787
+ paddingMedium: string;
788
+ paddingLarge: string;
789
+ clearSize: string;
790
+ }, any>;
791
+ }>>>;
792
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"InputOtp", {
793
+ inputWidthSmall: string;
794
+ inputWidthMedium: string;
795
+ inputWidthLarge: string;
796
+ gapSmall: string;
797
+ gapMedium: string;
798
+ gapLarge: string;
799
+ }, {
800
+ Input: import("../../_mixins").Theme<"Input", {
801
+ fontWeight: string;
802
+ countTextColorDisabled: string;
803
+ countTextColor: string;
804
+ heightTiny: string;
805
+ heightSmall: string;
806
+ heightMedium: string;
807
+ heightLarge: string;
808
+ fontSizeTiny: string;
809
+ fontSizeSmall: string;
810
+ fontSizeMedium: string;
811
+ fontSizeLarge: string;
812
+ lineHeight: string;
813
+ lineHeightTextarea: string;
814
+ borderRadius: string;
815
+ iconSize: string;
816
+ groupLabelColor: string;
817
+ groupLabelTextColor: string;
818
+ textColor: string;
819
+ textColorDisabled: string;
820
+ textDecorationColor: string;
821
+ caretColor: string;
822
+ placeholderColor: string;
823
+ placeholderColorDisabled: string;
824
+ color: string;
825
+ colorDisabled: string;
826
+ colorFocus: string;
827
+ groupLabelBorder: string;
828
+ border: string;
829
+ borderHover: string;
830
+ borderDisabled: string;
831
+ borderFocus: string;
832
+ boxShadowFocus: string;
833
+ loadingColor: string;
834
+ loadingColorWarning: string;
835
+ borderWarning: string;
836
+ borderHoverWarning: string;
837
+ colorFocusWarning: string;
838
+ borderFocusWarning: string;
839
+ boxShadowFocusWarning: string;
840
+ caretColorWarning: string;
841
+ loadingColorError: string;
842
+ borderError: string;
843
+ borderHoverError: string;
844
+ colorFocusError: string;
845
+ borderFocusError: string;
846
+ boxShadowFocusError: string;
847
+ caretColorError: string;
848
+ clearColor: string;
849
+ clearColorHover: string;
850
+ clearColorPressed: string;
851
+ iconColor: string;
852
+ iconColorDisabled: string;
853
+ iconColorHover: string;
854
+ iconColorPressed: string;
855
+ suffixTextColor: string;
856
+ paddingTiny: string;
857
+ paddingSmall: string;
858
+ paddingMedium: string;
859
+ paddingLarge: string;
860
+ clearSize: string;
861
+ }, any>;
862
+ }>>>;
863
+ }>> & Readonly<{}>, {
864
+ readonly: boolean;
865
+ length: number;
866
+ disabled: boolean;
867
+ mask: boolean;
868
+ placeholder: string;
869
+ defaultValue: string[];
870
+ }, SlotsType<InputOtpSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
871
+ export default _default;