@tendaui/react 1.1.1 → 1.1.2

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 (664) hide show
  1. package/es/_chunks/{dep-D7LanWes.js → dep-4LYjB3c6.js} +3 -18
  2. package/es/_chunks/dep-4LYjB3c6.js.map +1 -0
  3. package/es/_chunks/dep-5U9UjDaf.js +345 -0
  4. package/es/_chunks/dep-5U9UjDaf.js.map +1 -0
  5. package/es/_chunks/{dep-B7HmDtze.js → dep-B4_O1Vgv.js} +2 -2
  6. package/es/_chunks/{dep-B7HmDtze.js.map → dep-B4_O1Vgv.js.map} +1 -1
  7. package/es/_chunks/dep-BP0-apUT.js.map +1 -1
  8. package/es/_chunks/dep-BRbJGDI9.js +7 -0
  9. package/es/_chunks/dep-BRbJGDI9.js.map +1 -0
  10. package/es/_chunks/{dep-EcrDKDlu.js → dep-BYlJzn45.js} +10 -9
  11. package/es/_chunks/dep-BYlJzn45.js.map +1 -0
  12. package/es/_chunks/dep-BbeHB7S3.js +116 -0
  13. package/es/_chunks/dep-BbeHB7S3.js.map +1 -0
  14. package/es/_chunks/{dep-DB5wmwh1.js → dep-Bjfn7Zv_.js} +2 -2
  15. package/es/_chunks/{dep-DB5wmwh1.js.map → dep-Bjfn7Zv_.js.map} +1 -1
  16. package/es/_chunks/{dep-C36au4Ip.js → dep-BuIAffJt.js} +2 -2
  17. package/es/_chunks/{dep-C36au4Ip.js.map → dep-BuIAffJt.js.map} +1 -1
  18. package/es/_chunks/{dep-bWaVq_y3.js → dep-ByzdZjUR.js} +2 -2
  19. package/es/_chunks/dep-ByzdZjUR.js.map +1 -0
  20. package/es/_chunks/dep-CD_4-1Xb.js +103 -0
  21. package/es/_chunks/dep-CD_4-1Xb.js.map +1 -0
  22. package/es/_chunks/{dep-Dk2xX8lh.js → dep-CJCt0IS0.js} +5 -212
  23. package/es/_chunks/dep-CJCt0IS0.js.map +1 -0
  24. package/es/_chunks/dep-CMPsNAXF.js +52 -0
  25. package/es/_chunks/dep-CMPsNAXF.js.map +1 -0
  26. package/es/_chunks/dep-COy5g3FT.js +512 -0
  27. package/es/_chunks/dep-COy5g3FT.js.map +1 -0
  28. package/es/_chunks/{dep-CoIiHOgo.js → dep-CRURwzDj.js} +3 -3
  29. package/es/_chunks/{dep-CoIiHOgo.js.map → dep-CRURwzDj.js.map} +1 -1
  30. package/es/_chunks/dep-C_wPqvpm.js +36 -0
  31. package/es/_chunks/dep-C_wPqvpm.js.map +1 -0
  32. package/es/_chunks/dep-Ccktr_jk.js +33 -0
  33. package/es/_chunks/dep-Ccktr_jk.js.map +1 -0
  34. package/es/_chunks/dep-Chz4ZJCb.js +20 -0
  35. package/es/_chunks/dep-Chz4ZJCb.js.map +1 -0
  36. package/es/_chunks/dep-CkmtEv0Y.js +55 -0
  37. package/es/_chunks/dep-CkmtEv0Y.js.map +1 -0
  38. package/es/_chunks/dep-DJmE940f.js +764 -0
  39. package/es/_chunks/dep-DJmE940f.js.map +1 -0
  40. package/es/_chunks/{dep-DHWwZ2Nj.js → dep-DQ6kXoi8.js} +2 -2
  41. package/es/_chunks/{dep-DHWwZ2Nj.js.map → dep-DQ6kXoi8.js.map} +1 -1
  42. package/es/_chunks/{dep-0QH2Ee4R.js → dep-DRwijJcv.js} +5 -5
  43. package/es/_chunks/dep-DRwijJcv.js.map +1 -0
  44. package/es/_chunks/dep-DTlQ2dCA.js +46 -0
  45. package/es/_chunks/dep-DTlQ2dCA.js.map +1 -0
  46. package/es/_chunks/dep-DURB9x8g.js +170 -0
  47. package/es/_chunks/dep-DURB9x8g.js.map +1 -0
  48. package/es/_chunks/{dep-DZ_0EvBk.js → dep-DX65P8M9.js} +4 -45
  49. package/es/_chunks/dep-DX65P8M9.js.map +1 -0
  50. package/es/_chunks/{dep-BH5n5r1M.js → dep-DbVHGoUC.js} +2 -2
  51. package/es/_chunks/dep-DbVHGoUC.js.map +1 -0
  52. package/es/_chunks/dep-Dlppf0JU.js +214 -0
  53. package/es/_chunks/dep-Dlppf0JU.js.map +1 -0
  54. package/es/_chunks/dep-Dr5wkz0z.js +266 -0
  55. package/es/_chunks/dep-Dr5wkz0z.js.map +1 -0
  56. package/es/_chunks/dep-DwWrhxkd.js.map +1 -1
  57. package/es/_chunks/dep-Tshfumgl.js +31 -0
  58. package/es/_chunks/dep-Tshfumgl.js.map +1 -0
  59. package/es/_chunks/{dep-u1x3x6MJ.js → dep-gy8uvBaS.js} +2 -2
  60. package/es/_chunks/{dep-u1x3x6MJ.js.map → dep-gy8uvBaS.js.map} +1 -1
  61. package/es/_chunks/dep-oUgTcXgm.js +11 -0
  62. package/es/_chunks/dep-oUgTcXgm.js.map +1 -0
  63. package/es/_chunks/dep-zOZQ0R9g.js +1181 -0
  64. package/es/_chunks/dep-zOZQ0R9g.js.map +1 -0
  65. package/es/alert/Alert.d.ts +7 -0
  66. package/es/alert/Alert.js +4 -3
  67. package/es/alert/Alert.js.map +1 -1
  68. package/es/alert/defaultProps.d.ts +2 -0
  69. package/es/alert/index.d.ts +5 -0
  70. package/es/alert/index.js +4 -3
  71. package/es/alert/index.js.map +1 -1
  72. package/es/alert/style/css.d.ts +1 -0
  73. package/es/alert/style/index.d.ts +1 -0
  74. package/es/alert/type.d.ts +45 -0
  75. package/es/badge/Badge.d.ts +7 -0
  76. package/es/badge/Badge.js +3 -2
  77. package/es/badge/Badge.js.map +1 -1
  78. package/es/badge/defaultProps.d.ts +2 -0
  79. package/es/badge/index.d.ts +5 -0
  80. package/es/badge/index.js +3 -2
  81. package/es/badge/index.js.map +1 -1
  82. package/es/badge/style/css.d.ts +1 -0
  83. package/es/badge/style/index.d.ts +1 -0
  84. package/es/badge/type.d.ts +50 -0
  85. package/es/button/Button.d.ts +6 -0
  86. package/es/button/Button.js +7 -5
  87. package/es/button/Button.js.map +1 -1
  88. package/es/button/_example/base.js +171 -0
  89. package/es/button/_example/base.js.map +1 -0
  90. package/es/button/_example/icon.js +181 -0
  91. package/es/button/_example/icon.js.map +1 -0
  92. package/es/button/defaultProps.d.ts +2 -0
  93. package/es/button/index.d.ts +5 -0
  94. package/es/button/index.js +7 -5
  95. package/es/button/index.js.map +1 -1
  96. package/es/button/style/css.d.ts +1 -0
  97. package/es/button/style/index.d.ts +1 -0
  98. package/es/button/type.d.ts +81 -0
  99. package/es/checkbox/Checkbox.d.ts +10 -0
  100. package/es/checkbox/Checkbox.js +5 -4
  101. package/es/checkbox/Checkbox.js.map +1 -1
  102. package/es/checkbox/CheckboxGroup.d.ts +14 -0
  103. package/es/checkbox/CheckboxGroup.js +5 -4
  104. package/es/checkbox/CheckboxGroup.js.map +1 -1
  105. package/es/checkbox/defaultProps.d.ts +3 -0
  106. package/es/checkbox/index.d.ts +11 -0
  107. package/es/checkbox/index.js +5 -4
  108. package/es/checkbox/index.js.map +1 -1
  109. package/es/checkbox/style/css.d.ts +1 -0
  110. package/es/checkbox/style/index.d.ts +1 -0
  111. package/es/checkbox/type.d.ts +115 -0
  112. package/es/color-picker/ColorPickPanel.d.ts +4 -0
  113. package/es/color-picker/ColorPickPanel.js +44 -0
  114. package/es/color-picker/ColorPickPanel.js.map +1 -0
  115. package/es/color-picker/ColorPicker.d.ts +4 -0
  116. package/es/color-picker/ColorPicker.js +118 -0
  117. package/es/color-picker/ColorPicker.js.map +1 -0
  118. package/es/color-picker/components/panel/alpha.d.ts +4 -0
  119. package/es/color-picker/components/panel/alpha.js +44 -0
  120. package/es/color-picker/components/panel/alpha.js.map +1 -0
  121. package/es/color-picker/components/panel/format/index.d.ts +10 -0
  122. package/es/color-picker/components/panel/format/index.js +128 -0
  123. package/es/color-picker/components/panel/format/index.js.map +1 -0
  124. package/es/color-picker/components/panel/format/inputs.d.ts +4 -0
  125. package/es/color-picker/components/panel/format/inputs.js +147 -0
  126. package/es/color-picker/components/panel/format/inputs.js.map +1 -0
  127. package/es/color-picker/components/panel/header.d.ts +13 -0
  128. package/es/color-picker/components/panel/header.js +60 -0
  129. package/es/color-picker/components/panel/header.js.map +1 -0
  130. package/es/color-picker/components/panel/hue.d.ts +4 -0
  131. package/es/color-picker/components/panel/hue.js +33 -0
  132. package/es/color-picker/components/panel/hue.js.map +1 -0
  133. package/es/color-picker/components/panel/index.d.ts +4 -0
  134. package/es/color-picker/components/panel/index.js +32 -0
  135. package/es/color-picker/components/panel/index.js.map +1 -0
  136. package/es/color-picker/components/panel/saturation.d.ts +4 -0
  137. package/es/color-picker/components/panel/saturation.js +101 -0
  138. package/es/color-picker/components/panel/saturation.js.map +1 -0
  139. package/es/color-picker/components/panel/slider.d.ts +11 -0
  140. package/es/color-picker/components/panel/slider.js +121 -0
  141. package/es/color-picker/components/panel/slider.js.map +1 -0
  142. package/es/color-picker/components/panel/swatches.d.ts +11 -0
  143. package/es/color-picker/components/panel/swatches.js +100 -0
  144. package/es/color-picker/components/panel/swatches.js.map +1 -0
  145. package/es/color-picker/components/trigger.d.ts +9 -0
  146. package/es/color-picker/components/trigger.js +73 -0
  147. package/es/color-picker/components/trigger.js.map +1 -0
  148. package/es/color-picker/defaultProps.d.ts +2 -0
  149. package/es/color-picker/helpers.d.ts +5 -0
  150. package/es/color-picker/hooks/useClassNames.d.ts +2 -0
  151. package/es/color-picker/hooks/useStyles.d.ts +14 -0
  152. package/es/color-picker/index.d.ts +6 -0
  153. package/es/color-picker/index.js +62 -0
  154. package/es/color-picker/index.js.map +1 -0
  155. package/es/color-picker/style/index.css +597 -0
  156. package/es/color-picker/style/index.d.ts +1 -0
  157. package/es/color-picker/style/index.js +2 -0
  158. package/es/color-picker/style/index.js.map +1 -0
  159. package/es/color-picker/type.d.ts +135 -0
  160. package/es/color-picker/utils/color-picker/cmyk.d.ts +27 -0
  161. package/es/color-picker/utils/color-picker/color.d.ts +144 -0
  162. package/es/color-picker/utils/color-picker/constants.d.ts +30 -0
  163. package/es/color-picker/utils/color-picker/draggable.d.ts +23 -0
  164. package/es/color-picker/utils/color-picker/format.d.ts +64 -0
  165. package/es/color-picker/utils/color-picker/gradient.d.ts +22 -0
  166. package/es/color-picker/utils/color-picker/index.d.ts +7 -0
  167. package/es/color-picker/utils/color-picker/index.js +147 -0
  168. package/es/color-picker/utils/color-picker/index.js.map +1 -0
  169. package/es/color-picker/utils/color-picker/types.d.ts +28 -0
  170. package/es/common/Check.d.ts +22 -0
  171. package/es/common/Check.js +4 -3
  172. package/es/common/Check.js.map +1 -1
  173. package/es/common/FakeArrow.d.ts +9 -0
  174. package/es/common/FakeArrow.js +3 -2
  175. package/es/common/FakeArrow.js.map +1 -1
  176. package/es/common/PluginContainer.d.ts +9 -0
  177. package/es/common/PluginContainer.js +2 -1
  178. package/es/common/PluginContainer.js.map +1 -1
  179. package/es/common/Portal.d.ts +16 -0
  180. package/es/common/Portal.js +6 -3
  181. package/es/common/Portal.js.map +1 -1
  182. package/es/common/observe.d.ts +1 -0
  183. package/es/common.d.ts +81 -0
  184. package/es/config-provider/ConfigContext.d.ts +13 -0
  185. package/es/config-provider/ConfigContext.js +5 -16
  186. package/es/config-provider/ConfigContext.js.map +1 -1
  187. package/es/config-provider/ConfigProvider.d.ts +25 -0
  188. package/es/config-provider/ConfigProvider.js +2 -1
  189. package/es/config-provider/ConfigProvider.js.map +1 -1
  190. package/es/config-provider/index.d.ts +7 -0
  191. package/es/config-provider/index.js +2 -1
  192. package/es/config-provider/index.js.map +1 -1
  193. package/es/config-provider/type.d.ts +1029 -0
  194. package/es/dialog/Dialog.d.ts +8 -0
  195. package/es/dialog/Dialog.js +12 -149
  196. package/es/dialog/Dialog.js.map +1 -1
  197. package/es/dialog/DialogCard.d.ts +8 -0
  198. package/es/dialog/DialogCard.js +9 -7
  199. package/es/dialog/DialogCard.js.map +1 -1
  200. package/es/dialog/defaultProps.d.ts +6 -0
  201. package/es/dialog/hooks/useDialogDrag.d.ts +7 -0
  202. package/es/dialog/hooks/useDialogEsc.d.ts +3 -0
  203. package/es/dialog/hooks/useDialogPosition.d.ts +2 -0
  204. package/es/dialog/hooks/useLockStyle.d.ts +2 -0
  205. package/es/dialog/index.d.ts +8 -0
  206. package/es/dialog/index.js +12 -8
  207. package/es/dialog/index.js.map +1 -1
  208. package/es/dialog/plugin.d.ts +6 -0
  209. package/es/dialog/plugin.js +15 -10
  210. package/es/dialog/plugin.js.map +1 -1
  211. package/es/dialog/style/css.d.ts +1 -0
  212. package/es/dialog/style/index.d.ts +1 -0
  213. package/es/dialog/type.d.ts +227 -0
  214. package/es/dialog/utils.d.ts +1 -0
  215. package/es/drawer/Drawer.d.ts +11 -0
  216. package/es/drawer/Drawer.js +458 -0
  217. package/es/drawer/Drawer.js.map +1 -0
  218. package/es/drawer/defaultProps.d.ts +2 -0
  219. package/es/drawer/hooks/useDrag.d.ts +8 -0
  220. package/es/drawer/hooks/useLockStyle.d.ts +1 -0
  221. package/es/drawer/index.d.ts +4 -0
  222. package/es/drawer/index.js +39 -0
  223. package/es/drawer/index.js.map +1 -0
  224. package/es/drawer/style/css.d.ts +1 -0
  225. package/es/drawer/style/css.js +1 -0
  226. package/es/drawer/style/index.css +231 -0
  227. package/es/drawer/style/index.d.ts +1 -0
  228. package/es/drawer/style/index.js +2 -0
  229. package/es/drawer/style/index.js.map +1 -0
  230. package/es/drawer/type.d.ts +199 -0
  231. package/es/drawer/utils/index.d.ts +23 -0
  232. package/es/drawer/utils/index.js +46 -0
  233. package/es/drawer/utils/index.js.map +1 -0
  234. package/es/fireworks/Fireworks.d.ts +7 -0
  235. package/es/fireworks/Fireworks.js +139 -0
  236. package/es/fireworks/Fireworks.js.map +1 -0
  237. package/es/fireworks/index.d.ts +5 -0
  238. package/es/fireworks/index.js +16 -0
  239. package/es/fireworks/index.js.map +1 -0
  240. package/es/fireworks/style/css.d.ts +1 -0
  241. package/es/fireworks/style/css.js +2 -0
  242. package/es/fireworks/style/index.css +121 -0
  243. package/es/fireworks/style/index.d.ts +1 -0
  244. package/es/fireworks/style/index.js +2 -0
  245. package/es/fireworks/style/index.js.map +1 -0
  246. package/es/fireworks/type.d.ts +69 -0
  247. package/es/form/Form.d.ts +8 -0
  248. package/es/form/Form.js +14 -10
  249. package/es/form/Form.js.map +1 -1
  250. package/es/form/FormContext.d.ts +59 -0
  251. package/es/form/FormItem.d.ts +23 -0
  252. package/es/form/FormItem.js +14 -10
  253. package/es/form/FormItem.js.map +1 -1
  254. package/es/form/FormList.d.ts +4 -0
  255. package/es/form/FormList.js +2 -1
  256. package/es/form/FormList.js.map +1 -1
  257. package/es/form/const.d.ts +6 -0
  258. package/es/form/defaultProps.d.ts +3 -0
  259. package/es/form/easing.d.ts +2 -0
  260. package/es/form/formModel.d.ts +37 -0
  261. package/es/form/hooks/interface.d.ts +16 -0
  262. package/es/form/hooks/useForm.d.ts +3 -0
  263. package/es/form/hooks/useFormItemInitialData.d.ts +9 -0
  264. package/es/form/hooks/useFormItemStyle.d.ts +10 -0
  265. package/es/form/hooks/useFormItemStyle.js +4 -3
  266. package/es/form/hooks/useFormItemStyle.js.map +1 -1
  267. package/es/form/hooks/useInstance.d.ts +16 -0
  268. package/es/form/hooks/useInstance.js +5 -4
  269. package/es/form/hooks/useInstance.js.map +1 -1
  270. package/es/form/hooks/useWatch.d.ts +3 -0
  271. package/es/form/index.d.ts +7 -0
  272. package/es/form/index.js +14 -10
  273. package/es/form/index.js.map +1 -1
  274. package/es/form/scroll.d.ts +39 -0
  275. package/es/form/style/css.d.ts +1 -0
  276. package/es/form/style/index.d.ts +1 -0
  277. package/es/form/type.d.ts +486 -0
  278. package/es/form/utils/index.d.ts +5 -0
  279. package/es/global-config/default-config.d.ts +84 -0
  280. package/es/global-config/locale/ar_KW.d.ts +239 -0
  281. package/es/global-config/locale/en_US.d.ts +263 -0
  282. package/es/global-config/locale/it_IT.d.ts +263 -0
  283. package/es/global-config/locale/ja_JP.d.ts +263 -0
  284. package/es/global-config/locale/ko_KR.d.ts +263 -0
  285. package/es/global-config/locale/ru_RU.d.ts +263 -0
  286. package/es/global-config/locale/zh_CN.d.ts +263 -0
  287. package/es/global-config/locale/zh_TW.d.ts +263 -0
  288. package/es/global-config/mobile/default-config.d.ts +7 -0
  289. package/es/global-config/mobile/locale/ar_KW.d.ts +98 -0
  290. package/es/global-config/mobile/locale/en_US.d.ts +99 -0
  291. package/es/global-config/mobile/locale/it_IT.d.ts +99 -0
  292. package/es/global-config/mobile/locale/ja_JP.d.ts +99 -0
  293. package/es/global-config/mobile/locale/ko_KR.d.ts +99 -0
  294. package/es/global-config/mobile/locale/ru_RU.d.ts +99 -0
  295. package/es/global-config/mobile/locale/zh_CN.d.ts +99 -0
  296. package/es/global-config/mobile/locale/zh_TW.d.ts +99 -0
  297. package/es/global-config/t.d.ts +25 -0
  298. package/es/hooks/useAttach.d.ts +10 -0
  299. package/es/hooks/useCommonClassName.d.ts +54 -0
  300. package/es/hooks/useConfig.d.ts +2 -0
  301. package/es/hooks/useControlled.d.ts +9 -0
  302. package/es/hooks/useDeepEffect.d.ts +7 -0
  303. package/es/hooks/useDefaultProps.d.ts +1 -0
  304. package/es/hooks/useDomCallback.d.ts +1 -0
  305. package/es/hooks/useDomRefCallback.d.ts +1 -0
  306. package/es/hooks/useDragSorter.d.ts +28 -0
  307. package/es/hooks/useEventCallback.d.ts +9 -0
  308. package/es/hooks/useGlobalConfig.d.ts +1 -0
  309. package/es/hooks/useGlobalIcon.d.ts +5 -0
  310. package/es/hooks/useLastest.d.ts +2 -0
  311. package/es/hooks/useLayoutEffect.d.ts +3 -0
  312. package/es/hooks/useMouseEvent.d.ts +25 -0
  313. package/es/hooks/useMutationObserver.d.ts +4 -0
  314. package/es/hooks/usePopper.d.ts +19 -0
  315. package/es/hooks/useResizeObserve.d.ts +1 -0
  316. package/es/hooks/useRipple.d.ts +0 -0
  317. package/es/hooks/useSetState.d.ts +7 -0
  318. package/es/hooks/useVirtualScroll.d.ts +30 -0
  319. package/es/hooks/useWindowSize.d.ts +6 -0
  320. package/es/index.d.ts +25 -0
  321. package/es/index.js +68 -14
  322. package/es/index.js.map +1 -1
  323. package/es/input/Input.d.ts +16 -0
  324. package/es/input/Input.js +5 -5
  325. package/es/input/Input.js.map +1 -1
  326. package/es/input/InputGroup.d.ts +10 -0
  327. package/es/input/defaultProps.d.ts +17 -0
  328. package/es/input/index.d.ts +6 -0
  329. package/es/input/index.js +5 -3
  330. package/es/input/index.js.map +1 -1
  331. package/es/input/style/css.d.ts +1 -0
  332. package/es/input/style/index.d.ts +1 -0
  333. package/es/input/type.d.ts +237 -0
  334. package/es/input-number/InputNumber.d.ts +17 -0
  335. package/es/input-number/InputNumber.js +139 -0
  336. package/es/input-number/InputNumber.js.map +1 -0
  337. package/es/input-number/defaultProps.d.ts +2 -0
  338. package/es/input-number/index.d.ts +5 -0
  339. package/es/input-number/index.js +43 -0
  340. package/es/input-number/index.js.map +1 -0
  341. package/es/input-number/style/css.d.ts +1 -0
  342. package/es/input-number/style/css.js +1 -0
  343. package/es/input-number/style/index.css +331 -0
  344. package/es/input-number/style/index.d.ts +1 -0
  345. package/es/input-number/style/index.js +2 -0
  346. package/es/input-number/style/index.js.map +1 -0
  347. package/es/input-number/type.d.ts +156 -0
  348. package/es/input-number/useInputNumber.d.ts +51 -0
  349. package/es/input-number/useInputNumber.js +809 -0
  350. package/es/input-number/useInputNumber.js.map +1 -0
  351. package/es/ip-input/IPInput.d.ts +5 -0
  352. package/es/ip-input/IPInput.js +16 -0
  353. package/es/ip-input/IPInput.js.map +1 -0
  354. package/es/ip-input/defaultProps.d.ts +2 -0
  355. package/es/ip-input/index.d.ts +3 -0
  356. package/es/ip-input/index.js +16 -0
  357. package/es/ip-input/index.js.map +1 -0
  358. package/es/ip-input/style/index.css +323 -0
  359. package/es/ip-input/style/index.d.ts +1 -0
  360. package/es/ip-input/style/index.js +2 -0
  361. package/es/ip-input/style/index.js.map +1 -0
  362. package/es/ip-input/type.d.ts +113 -0
  363. package/es/ip-input/utils.d.ts +35 -0
  364. package/es/layout/Aside.d.ts +11 -0
  365. package/es/layout/Aside.js +41 -0
  366. package/es/layout/Aside.js.map +1 -0
  367. package/es/layout/Layout.d.ts +26 -0
  368. package/es/layout/Layout.js +106 -0
  369. package/es/layout/Layout.js.map +1 -0
  370. package/es/layout/defaultProps.d.ts +5 -0
  371. package/es/layout/index.d.ts +10 -0
  372. package/es/layout/index.js +19 -0
  373. package/es/layout/index.js.map +1 -0
  374. package/es/layout/style/index.css +56 -0
  375. package/es/layout/style/index.d.ts +1 -0
  376. package/es/layout/style/index.js +2 -0
  377. package/es/layout/style/index.js.map +1 -0
  378. package/es/layout/type.d.ts +38 -0
  379. package/es/list/List.d.ts +17 -0
  380. package/es/list/List.js +217 -0
  381. package/es/list/List.js.map +1 -0
  382. package/es/list/ListItem.d.ts +15 -0
  383. package/es/list/ListItem.js +31 -0
  384. package/es/list/ListItem.js.map +1 -0
  385. package/es/list/ListItemMeta.d.ts +10 -0
  386. package/es/list/ListItemMeta.js +45 -0
  387. package/es/list/ListItemMeta.js.map +1 -0
  388. package/es/list/defaultProps.d.ts +7 -0
  389. package/es/list/hooks/useListVirtualScroll.d.ts +24 -0
  390. package/es/list/index.d.ts +10 -0
  391. package/es/list/index.js +40 -0
  392. package/es/list/index.js.map +1 -0
  393. package/es/list/style/css.d.ts +1 -0
  394. package/es/list/style/css.js +1 -0
  395. package/es/list/style/index.css +172 -0
  396. package/es/list/style/index.d.ts +1 -0
  397. package/es/list/style/index.js +2 -0
  398. package/es/list/style/index.js.map +1 -0
  399. package/es/list/type.d.ts +92 -0
  400. package/es/loading/Gradient.d.ts +6 -0
  401. package/es/loading/Gradient.js +4 -3
  402. package/es/loading/Gradient.js.map +1 -1
  403. package/es/loading/Loading.d.ts +7 -0
  404. package/es/loading/Loading.js +7 -5
  405. package/es/loading/Loading.js.map +1 -1
  406. package/es/loading/circleAdapter.d.ts +1 -0
  407. package/es/loading/defaultProps.d.ts +2 -0
  408. package/es/loading/index.d.ts +5 -0
  409. package/es/loading/index.js +7 -5
  410. package/es/loading/index.js.map +1 -1
  411. package/es/loading/style/css.d.ts +1 -0
  412. package/es/loading/style/index.d.ts +1 -0
  413. package/es/loading/type.d.ts +68 -0
  414. package/es/loading/utils/setStyle.d.ts +7 -0
  415. package/es/locale/LocalReceiver.d.ts +6 -0
  416. package/es/locale/ar_KW.d.ts +3 -0
  417. package/es/locale/en_US.d.ts +3 -0
  418. package/es/locale/it_IT.d.ts +3 -0
  419. package/es/locale/ja_JP.d.ts +3 -0
  420. package/es/locale/ko_KR.d.ts +3 -0
  421. package/es/locale/ru_RU.d.ts +3 -0
  422. package/es/locale/zh_CN.d.ts +3 -0
  423. package/es/locale/zh_TW.d.ts +3 -0
  424. package/es/myform/index.d.ts +0 -0
  425. package/es/notification/Notify.d.ts +11 -0
  426. package/es/notification/NotifyContainer.d.ts +13 -0
  427. package/es/notification/NotifyContainer.js +3 -2
  428. package/es/notification/NotifyContainer.js.map +1 -1
  429. package/es/notification/NotifyContext.d.ts +23 -0
  430. package/es/notification/NotifyContext.js +3 -2
  431. package/es/notification/NotifyContext.js.map +1 -1
  432. package/es/notification/NotifyItem.d.ts +4 -0
  433. package/es/notification/NotifyItem.js +3 -2
  434. package/es/notification/NotifyItem.js.map +1 -1
  435. package/es/notification/index.d.ts +3 -0
  436. package/es/notification/index.js +3 -2
  437. package/es/notification/index.js.map +1 -1
  438. package/es/notification/style/css.d.ts +1 -0
  439. package/es/notification/style/index.d.ts +1 -0
  440. package/es/notification/type.d.ts +22 -0
  441. package/es/popup/Popup.d.ts +21 -0
  442. package/es/popup/Popup.js +36 -100
  443. package/es/popup/Popup.js.map +1 -1
  444. package/es/popup/defaultProps.d.ts +5 -0
  445. package/es/popup/hooks/useTrigger.d.ts +20 -0
  446. package/es/popup/index.d.ts +5 -0
  447. package/es/popup/index.js +8 -4
  448. package/es/popup/index.js.map +1 -1
  449. package/es/popup/style/css.d.ts +1 -0
  450. package/es/popup/style/index.d.ts +1 -0
  451. package/es/popup/type.d.ts +109 -0
  452. package/es/portal/Portal.d.ts +16 -0
  453. package/es/portal/Portal.js +2 -1
  454. package/es/portal/Portal.js.map +1 -1
  455. package/es/portal/index.d.ts +1 -0
  456. package/es/portal/index.js +2 -1
  457. package/es/portal/index.js.map +1 -1
  458. package/es/radio/Radio.d.ts +8 -0
  459. package/es/radio/Radio.js +22 -0
  460. package/es/radio/Radio.js.map +1 -0
  461. package/es/radio/RadioGroup.d.ts +14 -0
  462. package/es/radio/RadioGroup.js +22 -0
  463. package/es/radio/RadioGroup.js.map +1 -0
  464. package/es/radio/defaultProps.d.ts +3 -0
  465. package/es/radio/index.d.ts +10 -0
  466. package/es/radio/index.js +28 -0
  467. package/es/radio/index.js.map +1 -0
  468. package/es/radio/style/css.d.ts +0 -0
  469. package/es/radio/style/css.js +0 -0
  470. package/es/radio/style/index.css +333 -0
  471. package/es/radio/style/index.d.ts +1 -0
  472. package/es/radio/style/index.js +2 -0
  473. package/es/radio/style/index.js.map +1 -0
  474. package/es/radio/type.d.ts +117 -0
  475. package/es/radio/useKeyboard.d.ts +4 -0
  476. package/es/select/Option.d.ts +24 -0
  477. package/es/select/Option.js +3 -2
  478. package/es/select/Option.js.map +1 -1
  479. package/es/select/OptionGroup.d.ts +7 -0
  480. package/es/select/OptionGroup.js +4 -3
  481. package/es/select/OptionGroup.js.map +1 -1
  482. package/es/select/PopupContent.d.ts +24 -0
  483. package/es/select/PopupContent.js +6 -4
  484. package/es/select/PopupContent.js.map +1 -1
  485. package/es/select/Select.d.ts +13 -0
  486. package/es/select/Select.js +21 -12
  487. package/es/select/Select.js.map +1 -1
  488. package/es/select/defaultProps.d.ts +4 -0
  489. package/es/select/hooks/useOptions.d.ts +16 -0
  490. package/es/select/hooks/usePanelVirtualScroll.d.ts +24 -0
  491. package/es/select/index.d.ts +8 -0
  492. package/es/select/index.js +14 -8
  493. package/es/select/index.js.map +1 -1
  494. package/es/select/style/css.d.ts +1 -0
  495. package/es/select/style/index.d.ts +1 -0
  496. package/es/select/type.d.ts +344 -0
  497. package/es/select/utils/helper.d.ts +18 -0
  498. package/es/select-input/SelectInput.d.ts +11 -0
  499. package/es/select-input/SelectInput.js +10 -5
  500. package/es/select-input/SelectInput.js.map +1 -1
  501. package/es/select-input/defaultProps.d.ts +2 -0
  502. package/es/select-input/hook/useMultiple.d.ts +23 -0
  503. package/es/select-input/hook/useMultiple.js +7 -4
  504. package/es/select-input/hook/useMultiple.js.map +1 -1
  505. package/es/select-input/hook/useOverlayInnerStyle.d.ts +11 -0
  506. package/es/select-input/hook/useSingle.d.ts +16 -0
  507. package/es/select-input/hook/useSingle.js +5 -3
  508. package/es/select-input/hook/useSingle.js.map +1 -1
  509. package/es/select-input/index.d.ts +5 -0
  510. package/es/select-input/index.js +10 -5
  511. package/es/select-input/index.js.map +1 -1
  512. package/es/select-input/interface.d.ts +17 -0
  513. package/es/select-input/style/css.d.ts +1 -0
  514. package/es/select-input/style/index.d.ts +1 -0
  515. package/es/select-input/type.d.ts +243 -0
  516. package/es/slider/Slider.d.ts +7 -0
  517. package/es/slider/Slider.js +668 -0
  518. package/es/slider/Slider.js.map +1 -0
  519. package/es/slider/SliderHandleButton.d.ts +11 -0
  520. package/es/slider/SliderHandleButton.js +48 -0
  521. package/es/slider/SliderHandleButton.js.map +1 -0
  522. package/es/slider/defaultProps.d.ts +5 -0
  523. package/es/slider/index.d.ts +5 -0
  524. package/es/slider/index.js +46 -0
  525. package/es/slider/index.js.map +1 -0
  526. package/es/slider/style/css.d.ts +1 -0
  527. package/es/slider/style/css.js +1 -0
  528. package/es/slider/style/index.css +252 -0
  529. package/es/slider/style/index.d.ts +1 -0
  530. package/es/slider/style/index.js +2 -0
  531. package/es/slider/style/index.js.map +1 -0
  532. package/es/slider/type.d.ts +78 -0
  533. package/es/space/defaultProps.d.ts +0 -0
  534. package/es/space/index.d.ts +0 -0
  535. package/es/space/type.d.ts +0 -0
  536. package/es/style/index.css +24 -34
  537. package/es/style/index.d.ts +1 -0
  538. package/es/switch/Switch.d.ts +9 -0
  539. package/es/switch/Switch.js +9 -47
  540. package/es/switch/Switch.js.map +1 -1
  541. package/es/switch/defaultProps.d.ts +2 -0
  542. package/es/switch/index.d.ts +4 -0
  543. package/es/switch/index.js +8 -5
  544. package/es/switch/index.js.map +1 -1
  545. package/es/switch/style/css.d.ts +1 -0
  546. package/es/switch/style/index.d.ts +1 -0
  547. package/es/switch/type.d.ts +48 -0
  548. package/es/tab/TabBar.d.ts +9 -0
  549. package/es/tab/TabBar.js +109 -0
  550. package/es/tab/TabBar.js.map +1 -0
  551. package/es/tab/TabNav.d.ts +10 -0
  552. package/es/tab/TabNav.js +123 -0
  553. package/es/tab/TabNav.js.map +1 -0
  554. package/es/tab/TabNavItem.d.ts +15 -0
  555. package/es/tab/TabNavItem.js +65 -0
  556. package/es/tab/TabNavItem.js.map +1 -0
  557. package/es/tab/TabPanel.d.ts +9 -0
  558. package/es/tab/TabPanel.js +11 -0
  559. package/es/tab/TabPanel.js.map +1 -0
  560. package/es/tab/Tabs.d.ts +10 -0
  561. package/es/tab/Tabs.js +95 -0
  562. package/es/tab/Tabs.js.map +1 -0
  563. package/es/tab/defaultProps.d.ts +3 -0
  564. package/es/tab/index.d.ts +8 -0
  565. package/es/tab/index.js +31 -0
  566. package/es/tab/index.js.map +1 -0
  567. package/es/tab/style/index.css +159 -0
  568. package/es/tab/style/index.d.ts +1 -0
  569. package/es/tab/style/index.js +2 -0
  570. package/es/tab/style/index.js.map +1 -0
  571. package/es/tab/type.d.ts +130 -0
  572. package/es/tab/useTabClass.d.ts +8 -0
  573. package/es/table/Cell.d.ts +18 -0
  574. package/es/table/Cell.js +73 -0
  575. package/es/table/Cell.js.map +1 -0
  576. package/es/table/TBody.d.ts +28 -0
  577. package/es/table/TBody.js +70 -0
  578. package/es/table/TBody.js.map +1 -0
  579. package/es/table/THead.d.ts +10 -0
  580. package/es/table/THead.js +56 -0
  581. package/es/table/THead.js.map +1 -0
  582. package/es/table/TR.d.ts +28 -0
  583. package/es/table/TR.js +76 -0
  584. package/es/table/TR.js.map +1 -0
  585. package/es/table/Table.d.ts +6 -0
  586. package/es/table/Table.js +98 -0
  587. package/es/table/Table.js.map +1 -0
  588. package/es/table/defaultProps.d.ts +2 -0
  589. package/es/table/hooks/index.d.ts +4 -0
  590. package/es/table/hooks/index.js +98 -0
  591. package/es/table/hooks/index.js.map +1 -0
  592. package/es/table/hooks/useTableClassName.d.ts +26 -0
  593. package/es/table/hooks/useTableStyle.d.ts +11 -0
  594. package/es/table/index.d.ts +5 -0
  595. package/es/table/index.js +22 -0
  596. package/es/table/index.js.map +1 -0
  597. package/es/table/style/css.d.ts +1 -0
  598. package/es/table/style/css.js +1 -0
  599. package/es/table/style/index.css +139 -0
  600. package/es/table/style/index.d.ts +1 -0
  601. package/es/table/style/index.js +2 -0
  602. package/es/table/style/index.js.map +1 -0
  603. package/es/table/type.d.ts +195 -0
  604. package/es/tag/Tag.d.ts +14 -0
  605. package/es/tag/Tag.js +5 -1182
  606. package/es/tag/Tag.js.map +1 -1
  607. package/es/tag/defaultProps.d.ts +7 -0
  608. package/es/tag/index.d.ts +4 -0
  609. package/es/tag/index.js +5 -3
  610. package/es/tag/index.js.map +1 -1
  611. package/es/tag/style/css.d.ts +1 -0
  612. package/es/tag/style/index.d.ts +1 -0
  613. package/es/tag/type.d.ts +169 -0
  614. package/es/tag-input/TagInput.d.ts +9 -0
  615. package/es/tag-input/TagInput.js +7 -4
  616. package/es/tag-input/TagInput.js.map +1 -1
  617. package/es/tag-input/defaultProps.d.ts +2 -0
  618. package/es/tag-input/hooks/useHover.d.ts +17 -0
  619. package/es/tag-input/hooks/useTagList.d.ts +30 -0
  620. package/es/tag-input/hooks/useTagList.js +5 -3
  621. package/es/tag-input/hooks/useTagList.js.map +1 -1
  622. package/es/tag-input/hooks/useTagScroll.d.ts +25 -0
  623. package/es/tag-input/index.d.ts +5 -0
  624. package/es/tag-input/index.js +7 -4
  625. package/es/tag-input/index.js.map +1 -1
  626. package/es/tag-input/style/css.d.ts +1 -0
  627. package/es/tag-input/style/index.d.ts +1 -0
  628. package/es/tag-input/type.d.ts +235 -0
  629. package/es/tag-input/useTagList.d.ts +30 -0
  630. package/es/tag-input/useTagList.js +5 -3
  631. package/es/tag-input/useTagList.js.map +1 -1
  632. package/es/utils/composeRefs.d.ts +2 -0
  633. package/es/utils/dom.d.ts +7 -0
  634. package/es/utils/forwardRefWithStatics.d.ts +2 -0
  635. package/es/utils/getScrollbarWidth.d.ts +6 -0
  636. package/es/utils/helper.d.ts +46 -0
  637. package/es/utils/input-number/large-number.d.ts +85 -0
  638. package/es/utils/input-number/number.d.ts +81 -0
  639. package/es/utils/isFragment.d.ts +4 -0
  640. package/es/utils/listener.d.ts +4 -0
  641. package/es/utils/log/index.d.ts +2 -0
  642. package/es/utils/log/index.js +27 -0
  643. package/es/utils/log/index.js.map +1 -0
  644. package/es/utils/log/log.d.ts +3 -0
  645. package/es/utils/log/types.d.ts +8 -0
  646. package/es/utils/noop.d.ts +2 -0
  647. package/es/utils/number.d.ts +7 -0
  648. package/es/utils/parentTNode.d.ts +10 -0
  649. package/es/utils/parseTNode.d.ts +10 -0
  650. package/es/utils/react-render.d.ts +16 -0
  651. package/es/utils/ref.d.ts +1 -0
  652. package/es/utils/refs.d.ts +13 -0
  653. package/es/utils/scroll.d.ts +3 -0
  654. package/es/utils/style.d.ts +4 -0
  655. package/es/utils/transition.d.ts +20 -0
  656. package/package.json +60 -59
  657. package/LICENSE +0 -21
  658. package/es/_chunks/dep-0QH2Ee4R.js.map +0 -1
  659. package/es/_chunks/dep-BH5n5r1M.js.map +0 -1
  660. package/es/_chunks/dep-D7LanWes.js.map +0 -1
  661. package/es/_chunks/dep-DZ_0EvBk.js.map +0 -1
  662. package/es/_chunks/dep-Dk2xX8lh.js.map +0 -1
  663. package/es/_chunks/dep-EcrDKDlu.js.map +0 -1
  664. package/es/_chunks/dep-bWaVq_y3.js.map +0 -1
@@ -0,0 +1,99 @@
1
+ import 'dayjs/locale/en';
2
+ declare const _default: {
3
+ actionSheet: {
4
+ cancel: string;
5
+ };
6
+ calendar: {
7
+ confirm: string;
8
+ title: string;
9
+ weekdays: string[];
10
+ monthTitle: string;
11
+ months: string[];
12
+ };
13
+ cascader: {
14
+ title: string;
15
+ placeholder: string;
16
+ };
17
+ dropdownMenu: {
18
+ reset: string;
19
+ confirm: string;
20
+ };
21
+ dateTimePicker: {
22
+ title: string;
23
+ cancel: string;
24
+ confirm: string;
25
+ format: string;
26
+ yearLabel: string;
27
+ monthLabel: string;
28
+ dateLabel: string;
29
+ hourLabel: string;
30
+ minuteLabel: string;
31
+ secondLabel: string;
32
+ };
33
+ form: {
34
+ errorMessage: {
35
+ date: string;
36
+ url: string;
37
+ required: string;
38
+ whitespace: string;
39
+ max: string;
40
+ min: string;
41
+ len: string;
42
+ enum: string;
43
+ idcard: string;
44
+ telnumber: string;
45
+ pattern: string;
46
+ validator: string;
47
+ boolean: string;
48
+ number: string;
49
+ };
50
+ colonText: string;
51
+ };
52
+ picker: {
53
+ cancel: string;
54
+ confirm: string;
55
+ };
56
+ pullDownRefresh: {
57
+ loadingTexts: string[];
58
+ };
59
+ rate: {
60
+ valueText: string;
61
+ noValueText: string;
62
+ };
63
+ tabBar: {
64
+ newsAriaLabel: string;
65
+ moreNewsAriaLabel: string;
66
+ haveMoreNewsAriaLabel: string;
67
+ haveNewsAriaLabel: string;
68
+ };
69
+ table: {
70
+ empty: string;
71
+ };
72
+ list: {
73
+ loading: string;
74
+ loadingMoreText: string;
75
+ pulling: string;
76
+ loosing: string;
77
+ success: string;
78
+ };
79
+ upload: {
80
+ progress: {
81
+ uploadingText: string;
82
+ waitingText: string;
83
+ failText: string;
84
+ successText: string;
85
+ };
86
+ };
87
+ guide: {
88
+ next: string;
89
+ skip: string;
90
+ finish: string;
91
+ back: string;
92
+ };
93
+ qrcode: {
94
+ expiredText: string;
95
+ refreshText: string;
96
+ scannedText: string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,99 @@
1
+ import 'dayjs/locale/it';
2
+ declare const _default: {
3
+ actionSheet: {
4
+ cancel: string;
5
+ };
6
+ calendar: {
7
+ confirm: string;
8
+ title: string;
9
+ weekdays: string[];
10
+ monthTitle: string;
11
+ months: string[];
12
+ };
13
+ cascader: {
14
+ title: string;
15
+ placeholder: string;
16
+ };
17
+ dropdownMenu: {
18
+ reset: string;
19
+ confirm: string;
20
+ };
21
+ dateTimePicker: {
22
+ title: string;
23
+ cancel: string;
24
+ confirm: string;
25
+ format: string;
26
+ yearLabel: string;
27
+ monthLabel: string;
28
+ dateLabel: string;
29
+ hourLabel: string;
30
+ minuteLabel: string;
31
+ secondLabel: string;
32
+ };
33
+ form: {
34
+ errorMessage: {
35
+ date: string;
36
+ url: string;
37
+ whitespace: string;
38
+ required: string;
39
+ max: string;
40
+ min: string;
41
+ len: string;
42
+ enum: string;
43
+ idcard: string;
44
+ telnumber: string;
45
+ pattern: string;
46
+ validator: string;
47
+ boolean: string;
48
+ number: string;
49
+ };
50
+ colonText: string;
51
+ };
52
+ picker: {
53
+ cancel: string;
54
+ confirm: string;
55
+ };
56
+ pullDownRefresh: {
57
+ loadingTexts: string[];
58
+ };
59
+ rate: {
60
+ valueText: string;
61
+ noValueText: string;
62
+ };
63
+ tabBar: {
64
+ newsAriaLabel: string;
65
+ moreNewsAriaLabel: string;
66
+ haveMoreNewsAriaLabel: string;
67
+ haveNewsAriaLabel: string;
68
+ };
69
+ table: {
70
+ empty: string;
71
+ };
72
+ list: {
73
+ loading: string;
74
+ loadingMoreText: string;
75
+ pulling: string;
76
+ loosing: string;
77
+ success: string;
78
+ };
79
+ upload: {
80
+ progress: {
81
+ uploadingText: string;
82
+ waitingText: string;
83
+ failText: string;
84
+ successText: string;
85
+ };
86
+ };
87
+ guide: {
88
+ next: string;
89
+ skip: string;
90
+ finish: string;
91
+ back: string;
92
+ };
93
+ qrcode: {
94
+ expiredText: string;
95
+ refreshText: string;
96
+ scannedText: string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,99 @@
1
+ import 'dayjs/locale/ja';
2
+ declare const _default: {
3
+ actionSheet: {
4
+ cancel: string;
5
+ };
6
+ calendar: {
7
+ confirm: string;
8
+ title: string;
9
+ weekdays: string[];
10
+ monthTitle: string;
11
+ months: string[];
12
+ };
13
+ cascader: {
14
+ title: string;
15
+ placeholder: string;
16
+ };
17
+ dropdownMenu: {
18
+ reset: string;
19
+ confirm: string;
20
+ };
21
+ dateTimePicker: {
22
+ title: string;
23
+ cancel: string;
24
+ confirm: string;
25
+ format: string;
26
+ yearLabel: string;
27
+ monthLabel: string;
28
+ dateLabel: string;
29
+ hourLabel: string;
30
+ minuteLabel: string;
31
+ secondLabel: string;
32
+ };
33
+ form: {
34
+ errorMessage: {
35
+ date: string;
36
+ url: string;
37
+ required: string;
38
+ whitespace: string;
39
+ max: string;
40
+ min: string;
41
+ len: string;
42
+ enum: string;
43
+ idcard: string;
44
+ telnumber: string;
45
+ pattern: string;
46
+ validator: string;
47
+ boolean: string;
48
+ number: string;
49
+ };
50
+ colonText: string;
51
+ };
52
+ picker: {
53
+ cancel: string;
54
+ confirm: string;
55
+ };
56
+ pullDownRefresh: {
57
+ loadingTexts: string[];
58
+ };
59
+ rate: {
60
+ valueText: string;
61
+ noValueText: string;
62
+ };
63
+ tabBar: {
64
+ newsAriaLabel: string;
65
+ moreNewsAriaLabel: string;
66
+ haveMoreNewsAriaLabel: string;
67
+ haveNewsAriaLabel: string;
68
+ };
69
+ table: {
70
+ empty: string;
71
+ };
72
+ list: {
73
+ loading: string;
74
+ loadingMoreText: string;
75
+ pulling: string;
76
+ loosing: string;
77
+ success: string;
78
+ };
79
+ upload: {
80
+ progress: {
81
+ uploadingText: string;
82
+ waitingText: string;
83
+ failText: string;
84
+ successText: string;
85
+ };
86
+ };
87
+ guide: {
88
+ next: string;
89
+ skip: string;
90
+ finish: string;
91
+ back: string;
92
+ };
93
+ qrcode: {
94
+ expiredText: string;
95
+ refreshText: string;
96
+ scannedText: string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,99 @@
1
+ import 'dayjs/locale/ko';
2
+ declare const _default: {
3
+ actionSheet: {
4
+ cancel: string;
5
+ };
6
+ calendar: {
7
+ confirm: string;
8
+ title: string;
9
+ weekdays: string[];
10
+ monthTitle: string;
11
+ months: string[];
12
+ };
13
+ cascader: {
14
+ title: string;
15
+ placeholder: string;
16
+ };
17
+ dropdownMenu: {
18
+ reset: string;
19
+ confirm: string;
20
+ };
21
+ dateTimePicker: {
22
+ title: string;
23
+ cancel: string;
24
+ confirm: string;
25
+ format: string;
26
+ yearLabel: string;
27
+ monthLabel: string;
28
+ dateLabel: string;
29
+ hourLabel: string;
30
+ minuteLabel: string;
31
+ secondLabel: string;
32
+ };
33
+ form: {
34
+ errorMessage: {
35
+ date: string;
36
+ url: string;
37
+ required: string;
38
+ whitespace: string;
39
+ max: string;
40
+ min: string;
41
+ len: string;
42
+ enum: string;
43
+ idcard: string;
44
+ telnumber: string;
45
+ pattern: string;
46
+ validator: string;
47
+ boolean: string;
48
+ number: string;
49
+ };
50
+ colonText: string;
51
+ };
52
+ picker: {
53
+ cancel: string;
54
+ confirm: string;
55
+ };
56
+ pullDownRefresh: {
57
+ loadingTexts: string[];
58
+ };
59
+ rate: {
60
+ valueText: string;
61
+ noValueText: string;
62
+ };
63
+ tabBar: {
64
+ newsAriaLabel: string;
65
+ moreNewsAriaLabel: string;
66
+ haveMoreNewsAriaLabel: string;
67
+ haveNewsAriaLabel: string;
68
+ };
69
+ table: {
70
+ empty: string;
71
+ };
72
+ list: {
73
+ loading: string;
74
+ loadingMoreText: string;
75
+ pulling: string;
76
+ loosing: string;
77
+ success: string;
78
+ };
79
+ upload: {
80
+ progress: {
81
+ uploadingText: string;
82
+ waitingText: string;
83
+ failText: string;
84
+ successText: string;
85
+ };
86
+ };
87
+ guide: {
88
+ next: string;
89
+ skip: string;
90
+ finish: string;
91
+ back: string;
92
+ };
93
+ qrcode: {
94
+ expiredText: string;
95
+ refreshText: string;
96
+ scannedText: string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,99 @@
1
+ import 'dayjs/locale/ru';
2
+ declare const _default: {
3
+ actionSheet: {
4
+ cancel: string;
5
+ };
6
+ calendar: {
7
+ confirm: string;
8
+ title: string;
9
+ weekdays: string[];
10
+ monthTitle: string;
11
+ months: string[];
12
+ };
13
+ cascader: {
14
+ title: string;
15
+ placeholder: string;
16
+ };
17
+ dropdownMenu: {
18
+ reset: string;
19
+ confirm: string;
20
+ };
21
+ dateTimePicker: {
22
+ title: string;
23
+ cancel: string;
24
+ confirm: string;
25
+ format: string;
26
+ yearLabel: string;
27
+ monthLabel: string;
28
+ dateLabel: string;
29
+ hourLabel: string;
30
+ minuteLabel: string;
31
+ secondLabel: string;
32
+ };
33
+ form: {
34
+ errorMessage: {
35
+ date: string;
36
+ url: string;
37
+ whitespace: string;
38
+ required: string;
39
+ max: string;
40
+ min: string;
41
+ len: string;
42
+ enum: string;
43
+ idcard: string;
44
+ telnumber: string;
45
+ pattern: string;
46
+ validator: string;
47
+ boolean: string;
48
+ number: string;
49
+ };
50
+ colonText: string;
51
+ };
52
+ picker: {
53
+ cancel: string;
54
+ confirm: string;
55
+ };
56
+ pullDownRefresh: {
57
+ loadingTexts: string[];
58
+ };
59
+ rate: {
60
+ valueText: string;
61
+ noValueText: string;
62
+ };
63
+ tabBar: {
64
+ newsAriaLabel: string;
65
+ moreNewsAriaLabel: string;
66
+ haveMoreNewsAriaLabel: string;
67
+ haveNewsAriaLabel: string;
68
+ };
69
+ table: {
70
+ empty: string;
71
+ };
72
+ list: {
73
+ loading: string;
74
+ loadingMoreText: string;
75
+ pulling: string;
76
+ loosing: string;
77
+ success: string;
78
+ };
79
+ upload: {
80
+ progress: {
81
+ uploadingText: string;
82
+ waitingText: string;
83
+ failText: string;
84
+ successText: string;
85
+ };
86
+ };
87
+ guide: {
88
+ next: string;
89
+ skip: string;
90
+ finish: string;
91
+ back: string;
92
+ };
93
+ qrcode: {
94
+ expiredText: string;
95
+ refreshText: string;
96
+ scannedText: string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,99 @@
1
+ import 'dayjs/locale/zh-cn';
2
+ declare const _default: {
3
+ actionSheet: {
4
+ cancel: string;
5
+ };
6
+ calendar: {
7
+ title: string;
8
+ confirm: string;
9
+ weekdays: string[];
10
+ monthTitle: string;
11
+ months: string[];
12
+ };
13
+ cascader: {
14
+ title: string;
15
+ placeholder: string;
16
+ };
17
+ dropdownMenu: {
18
+ reset: string;
19
+ confirm: string;
20
+ };
21
+ dateTimePicker: {
22
+ title: string;
23
+ cancel: string;
24
+ confirm: string;
25
+ format: string;
26
+ yearLabel: string;
27
+ monthLabel: string;
28
+ dateLabel: string;
29
+ hourLabel: string;
30
+ minuteLabel: string;
31
+ secondLabel: string;
32
+ };
33
+ form: {
34
+ errorMessage: {
35
+ date: string;
36
+ url: string;
37
+ required: string;
38
+ whitespace: string;
39
+ max: string;
40
+ min: string;
41
+ len: string;
42
+ enum: string;
43
+ idcard: string;
44
+ telnumber: string;
45
+ pattern: string;
46
+ validator: string;
47
+ boolean: string;
48
+ number: string;
49
+ };
50
+ colonText: string;
51
+ };
52
+ picker: {
53
+ cancel: string;
54
+ confirm: string;
55
+ };
56
+ pullDownRefresh: {
57
+ loadingTexts: string[];
58
+ };
59
+ rate: {
60
+ valueText: string;
61
+ noValueText: string;
62
+ };
63
+ tabBar: {
64
+ newsAriaLabel: string;
65
+ moreNewsAriaLabel: string;
66
+ haveMoreNewsAriaLabel: string;
67
+ haveNewsAriaLabel: string;
68
+ };
69
+ table: {
70
+ empty: string;
71
+ };
72
+ list: {
73
+ loading: string;
74
+ loadingMoreText: string;
75
+ pulling: string;
76
+ loosing: string;
77
+ success: string;
78
+ };
79
+ upload: {
80
+ progress: {
81
+ uploadingText: string;
82
+ waitingText: string;
83
+ failText: string;
84
+ successText: string;
85
+ };
86
+ };
87
+ guide: {
88
+ next: string;
89
+ skip: string;
90
+ finish: string;
91
+ back: string;
92
+ };
93
+ qrcode: {
94
+ expiredText: string;
95
+ refreshText: string;
96
+ scannedText: string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,99 @@
1
+ import 'dayjs/locale/zh-tw';
2
+ declare const _default: {
3
+ actionSheet: {
4
+ cancel: string;
5
+ };
6
+ calendar: {
7
+ title: string;
8
+ confirm: string;
9
+ weekdays: string[];
10
+ monthTitle: string;
11
+ months: string[];
12
+ };
13
+ cascader: {
14
+ title: string;
15
+ placeholder: string;
16
+ };
17
+ dropdownMenu: {
18
+ reset: string;
19
+ confirm: string;
20
+ };
21
+ dateTimePicker: {
22
+ title: string;
23
+ cancel: string;
24
+ confirm: string;
25
+ format: string;
26
+ yearLabel: string;
27
+ monthLabel: string;
28
+ dateLabel: string;
29
+ hourLabel: string;
30
+ minuteLabel: string;
31
+ secondLabel: string;
32
+ };
33
+ form: {
34
+ errorMessage: {
35
+ date: string;
36
+ url: string;
37
+ whitespace: string;
38
+ required: string;
39
+ max: string;
40
+ min: string;
41
+ len: string;
42
+ enum: string;
43
+ idcard: string;
44
+ telnumber: string;
45
+ pattern: string;
46
+ validator: string;
47
+ boolean: string;
48
+ number: string;
49
+ };
50
+ colonText: string;
51
+ };
52
+ picker: {
53
+ cancel: string;
54
+ confirm: string;
55
+ };
56
+ pullDownRefresh: {
57
+ loadingTexts: string[];
58
+ };
59
+ rate: {
60
+ valueText: string;
61
+ noValueText: string;
62
+ };
63
+ tabBar: {
64
+ newsAriaLabel: string;
65
+ moreNewsAriaLabel: string;
66
+ haveMoreNewsAriaLabel: string;
67
+ haveNewsAriaLabel: string;
68
+ };
69
+ table: {
70
+ empty: string;
71
+ };
72
+ list: {
73
+ loading: string;
74
+ loadingMoreText: string;
75
+ pulling: string;
76
+ loosing: string;
77
+ success: string;
78
+ };
79
+ upload: {
80
+ progress: {
81
+ uploadingText: string;
82
+ waitingText: string;
83
+ failText: string;
84
+ successText: string;
85
+ };
86
+ };
87
+ guide: {
88
+ next: string;
89
+ skip: string;
90
+ finish: string;
91
+ back: string;
92
+ };
93
+ qrcode: {
94
+ expiredText: string;
95
+ refreshText: string;
96
+ scannedText: string;
97
+ };
98
+ };
99
+ export default _default;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @see https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/config-provider/hooks/useConfig.ts#L48
3
+ * 自定义 t function 可能依赖特定库函数,例如 tdesign-vue-next 中使用了 vue 的 h 函数
4
+ * 因此交由各个类库自行实现
5
+ */
6
+ /**
7
+ * 国际化函数,支持复数处理和变量替换
8
+ *
9
+ * 示例用法:
10
+ * 1. 基本变量替换:
11
+ * t('Hello {name}', { name: 'World' }) // => 'Hello World'
12
+ *
13
+ * 2. 复数处理(传入数字):
14
+ * t('no apples | one apple | {count} apples', 0) // => 'no apples'
15
+ * t('no apples | one apple | {count} apples', 1) // => 'one apple'
16
+ * t('no apples | one apple | {count} apples', 5) // => '5 apples'
17
+ *
18
+ * 3. 复合使用:
19
+ * t('no items found | found {count} item | found {count} items', 3, { count: 3 }) // => 'found 3 items'
20
+ */
21
+ export declare function t(pattern: string): string;
22
+ export declare function t(pattern: string, data: Record<string, any>): string;
23
+ export declare function t(pattern: string, count: number): string;
24
+ export declare function t(pattern: string, count: number, data: Record<string, any>): string;
25
+ export declare function t<T>(pattern: T): string;