naive-ui 2.33.4 → 2.34.0

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 (492) hide show
  1. package/dist/index.js +3517 -6061
  2. package/dist/index.prod.js +2 -2
  3. package/es/_internal/clear/src/styles/index.cssr.js +2 -2
  4. package/es/_internal/close/src/styles/index.cssr.js +2 -2
  5. package/es/_internal/index.d.ts +1 -0
  6. package/es/_internal/loading/index.d.ts +1 -0
  7. package/es/_internal/loading/src/Loading.d.ts +26 -14
  8. package/es/_internal/loading/src/Loading.js +17 -20
  9. package/es/_internal/scrollbar/src/styles/index.cssr.js +2 -2
  10. package/es/_internal/select-menu/src/styles/index.cssr.js +2 -2
  11. package/es/_internal/selection/src/Selection.js +5 -5
  12. package/es/_internal/selection/src/styles/index.cssr.js +2 -2
  13. package/es/_internal/slot-machine/src/styles/index.cssr.js +4 -3
  14. package/es/_styles/global/index.cssr.js +2 -2
  15. package/es/alert/src/styles/index.cssr.js +2 -2
  16. package/es/anchor/src/styles/index.cssr.js +2 -2
  17. package/es/auto-complete/src/styles/index.cssr.js +2 -2
  18. package/es/avatar/src/Avatar.d.ts +4 -1
  19. package/es/avatar/src/Avatar.js +12 -13
  20. package/es/avatar/src/styles/index.cssr.js +2 -2
  21. package/es/avatar-group/index.d.ts +1 -1
  22. package/es/avatar-group/src/AvatarGroup.d.ts +7 -7
  23. package/es/avatar-group/src/styles/avatar-group-rtl.cssr.js +2 -2
  24. package/es/avatar-group/src/styles/avatar-group.cssr.js +2 -2
  25. package/es/back-top/src/styles/index.cssr.js +2 -2
  26. package/es/badge/src/styles/index.cssr.js +2 -2
  27. package/es/breadcrumb/src/styles/index.cssr.js +2 -2
  28. package/es/button/src/Button.d.ts +4 -1
  29. package/es/button/src/Button.js +3 -3
  30. package/es/button/src/styles/index.cssr.js +2 -2
  31. package/es/button-group/src/styles/index.cssr.js +0 -3
  32. package/es/button-group/src/styles/rtl.cssr.js +0 -2
  33. package/es/calendar/src/styles/index.cssr.js +2 -2
  34. package/es/card/src/styles/index.cssr.js +4 -3
  35. package/es/carousel/src/styles/index.cssr.js +2 -2
  36. package/es/cascader/src/Cascader.d.ts +8 -0
  37. package/es/cascader/src/Cascader.js +41 -2
  38. package/es/cascader/src/CascaderOption.d.ts +1 -1
  39. package/es/cascader/src/CascaderOption.js +1 -7
  40. package/es/cascader/src/CascaderSelectMenu.d.ts +3 -0
  41. package/es/cascader/src/CascaderSelectMenu.js +8 -4
  42. package/es/cascader/src/interface.d.ts +11 -1
  43. package/es/cascader/src/styles/index.cssr.js +2 -2
  44. package/es/checkbox/src/styles/index.cssr.js +8 -5
  45. package/es/code/src/Code.d.ts +1 -1
  46. package/es/code/src/styles/index.cssr.js +2 -2
  47. package/es/collapse/src/styles/index.cssr.js +2 -2
  48. package/es/color-picker/src/ColorPicker.d.ts +5 -5
  49. package/es/color-picker/src/ColorPicker.js +7 -1
  50. package/es/color-picker/src/styles/index.cssr.js +2 -2
  51. package/es/color-picker/src/utils.d.ts +1 -1
  52. package/es/components.d.ts +1 -0
  53. package/es/components.js +1 -0
  54. package/es/config-provider/src/ConfigProvider.d.ts +6 -0
  55. package/es/config-provider/src/ConfigProvider.js +7 -0
  56. package/es/config-provider/src/internal-interface.d.ts +4 -0
  57. package/es/data-table/src/DataTable.d.ts +11 -0
  58. package/es/data-table/src/DataTable.js +7 -3
  59. package/es/data-table/src/TableParts/Body.d.ts +1 -0
  60. package/es/data-table/src/TableParts/Body.js +14 -6
  61. package/es/data-table/src/TableParts/Header.js +7 -5
  62. package/es/data-table/src/interface.d.ts +10 -2
  63. package/es/data-table/src/interface.js +1 -1
  64. package/es/data-table/src/styles/index.cssr.js +21 -9
  65. package/es/date-picker/src/DatePicker.js +5 -0
  66. package/es/date-picker/src/panel/panelHeader.d.ts +6 -6
  67. package/es/date-picker/src/styles/index.cssr.js +2 -2
  68. package/es/descriptions/src/styles/index.cssr.js +2 -2
  69. package/es/dialog/src/DialogEnvironment.d.ts +3 -0
  70. package/es/dialog/src/DialogEnvironment.js +2 -2
  71. package/es/dialog/src/DialogProvider.d.ts +3 -0
  72. package/es/dialog/src/styles/index.cssr.js +2 -2
  73. package/es/divider/src/styles/index.cssr.js +2 -2
  74. package/es/drawer/src/styles/index.cssr.js +2 -2
  75. package/es/dropdown/src/styles/index.cssr.js +2 -2
  76. package/es/dynamic-input/src/styles/index.cssr.js +2 -2
  77. package/es/dynamic-tags/src/styles/index.cssr.js +2 -2
  78. package/es/empty/src/styles/index.cssr.js +2 -2
  79. package/es/equation/index.d.ts +1 -0
  80. package/es/equation/index.js +1 -0
  81. package/es/equation/src/Equation.d.ts +18 -0
  82. package/es/equation/src/Equation.js +29 -0
  83. package/es/equation/styles/dark.d.ts +3 -0
  84. package/es/equation/styles/dark.js +8 -0
  85. package/es/equation/styles/index.d.ts +3 -0
  86. package/es/equation/styles/index.js +2 -0
  87. package/es/equation/styles/light.d.ts +6 -0
  88. package/es/equation/styles/light.js +8 -0
  89. package/es/form/src/FormItem.d.ts +3 -2
  90. package/es/form/src/FormItem.js +24 -7
  91. package/es/form/src/styles/form-item.cssr.js +5 -3
  92. package/es/gradient-text/src/styles/index.cssr.js +2 -2
  93. package/es/icon/src/styles/index.cssr.js +2 -2
  94. package/es/icon-wrapper/src/styles/index.cssr.js +2 -2
  95. package/es/image/src/Image.d.ts +4 -1
  96. package/es/image/src/Image.js +13 -7
  97. package/es/image/src/ImagePreview.d.ts +3 -2
  98. package/es/image/src/ImagePreview.js +41 -8
  99. package/es/image/src/interface.d.ts +5 -0
  100. package/es/image/src/interface.js +2 -0
  101. package/es/image/src/styles/index.cssr.js +2 -2
  102. package/es/input/src/Input.d.ts +3 -0
  103. package/es/input/src/Input.js +25 -6
  104. package/es/input/src/WordCount.js +2 -2
  105. package/es/input/src/interface.d.ts +1 -0
  106. package/es/input/src/styles/input-group-label.cssr.js +2 -2
  107. package/es/input/src/styles/input.cssr.js +11 -7
  108. package/es/layout/src/styles/layout-footer.cssr.js +2 -2
  109. package/es/layout/src/styles/layout-header.cssr.js +2 -2
  110. package/es/layout/src/styles/layout-sider.cssr.js +2 -2
  111. package/es/layout/src/styles/layout.cssr.js +2 -2
  112. package/es/list/src/styles/index.cssr.js +2 -2
  113. package/es/loading-bar/src/styles/index.cssr.js +2 -2
  114. package/es/locales/common/arDZ.d.ts +3 -0
  115. package/es/locales/common/arDZ.js +120 -0
  116. package/es/locales/common/deDE.js +2 -1
  117. package/es/locales/common/enGB.js +2 -1
  118. package/es/locales/common/enUS.d.ts +1 -0
  119. package/es/locales/common/enUS.js +2 -1
  120. package/es/locales/common/eo.js +2 -1
  121. package/es/locales/common/esAR.js +2 -1
  122. package/es/locales/common/frFR.js +2 -1
  123. package/es/locales/common/idID.js +2 -1
  124. package/es/locales/common/itIT.js +2 -1
  125. package/es/locales/common/jaJP.js +2 -1
  126. package/es/locales/common/koKR.js +2 -1
  127. package/es/locales/common/nbNO.js +2 -1
  128. package/es/locales/common/nlNL.js +2 -1
  129. package/es/locales/common/plPL.js +2 -1
  130. package/es/locales/common/ptBR.js +2 -1
  131. package/es/locales/common/ruRU.js +2 -1
  132. package/es/locales/common/skSK.js +2 -1
  133. package/es/locales/common/thTH.js +2 -1
  134. package/es/locales/common/trTR.d.ts +3 -0
  135. package/es/locales/common/trTR.js +121 -0
  136. package/es/locales/common/ukUA.js +2 -1
  137. package/es/locales/common/viVN.js +2 -1
  138. package/es/locales/common/zhCN.js +2 -1
  139. package/es/locales/common/zhTW.js +2 -1
  140. package/es/locales/date/arDZ.d.ts +3 -0
  141. package/es/locales/date/arDZ.js +6 -0
  142. package/es/locales/date/trTR.d.ts +3 -0
  143. package/es/locales/date/trTR.js +6 -0
  144. package/es/locales/index.d.ts +4 -0
  145. package/es/locales/index.js +4 -0
  146. package/es/log/src/styles/index.cssr.js +2 -2
  147. package/es/mention/src/Mention.d.ts +6 -0
  148. package/es/mention/src/Mention.js +6 -1
  149. package/es/mention/src/styles/index.cssr.js +2 -2
  150. package/es/menu/src/styles/index.cssr.js +2 -3
  151. package/es/message/src/styles/index.cssr.js +2 -2
  152. package/es/modal/src/BodyWrapper.d.ts +1 -1
  153. package/es/modal/src/styles/index.cssr.js +2 -2
  154. package/es/notification/src/styles/index.cssr.js +2 -3
  155. package/es/page-header/src/styles/index.cssr.js +2 -2
  156. package/es/pagination/src/Pagination.js +1 -1
  157. package/es/pagination/src/styles/index.cssr.js +2 -2
  158. package/es/popconfirm/src/styles/index.cssr.js +2 -2
  159. package/es/popover/src/styles/index.cssr.js +5 -5
  160. package/es/popselect/src/styles/index.cssr.js +2 -2
  161. package/es/progress/src/styles/index.cssr.js +2 -2
  162. package/es/radio/src/styles/radio-group.cssr.js +2 -2
  163. package/es/radio/src/styles/radio.cssr.js +2 -2
  164. package/es/rate/src/styles/index.cssr.js +2 -2
  165. package/es/result/src/styles/index.cssr.js +2 -2
  166. package/es/select/src/Select.js +1 -0
  167. package/es/select/src/styles/index.cssr.js +2 -2
  168. package/es/skeleton/src/styles/index.cssr.js +2 -2
  169. package/es/slider/src/styles/index.cssr.js +2 -2
  170. package/es/spin/src/styles/index.cssr.js +2 -2
  171. package/es/statistic/src/styles/index.cssr.js +2 -2
  172. package/es/steps/src/styles/index.cssr.js +2 -2
  173. package/es/switch/src/styles/index.cssr.js +2 -2
  174. package/es/table/src/styles/index.cssr.js +2 -2
  175. package/es/tabs/src/Tabs.d.ts +7 -7
  176. package/es/tabs/src/styles/index.cssr.js +2 -2
  177. package/es/tag/src/styles/index.cssr.js +2 -2
  178. package/es/themes/dark.js +2 -0
  179. package/es/themes/light.js +2 -0
  180. package/es/thing/src/styles/index.cssr.js +2 -2
  181. package/es/time-picker/src/styles/index.cssr.js +2 -2
  182. package/es/timeline/src/styles/index.cssr.js +6 -3
  183. package/es/transfer/src/Transfer.d.ts +13 -0
  184. package/es/transfer/src/Transfer.js +6 -2
  185. package/es/transfer/src/TransferListItem.d.ts +2 -1
  186. package/es/transfer/src/TransferListItem.js +5 -4
  187. package/es/transfer/src/interface.d.ts +1 -0
  188. package/es/transfer/src/styles/index.cssr.js +2 -2
  189. package/es/transfer/src/use-transfer-data.d.ts +1 -0
  190. package/es/transfer/src/use-transfer-data.js +13 -4
  191. package/es/tree/src/Tree.d.ts +60 -30
  192. package/es/tree/src/Tree.js +70 -24
  193. package/es/tree/src/TreeNode.d.ts +1 -1
  194. package/es/tree/src/TreeNode.js +1 -1
  195. package/es/tree/src/TreeNodeSwitcher.d.ts +3 -0
  196. package/es/tree/src/TreeNodeSwitcher.js +7 -5
  197. package/es/tree/src/interface.d.ts +12 -1
  198. package/es/tree/src/styles/index.cssr.js +3 -2
  199. package/es/tree/src/utils.d.ts +6 -0
  200. package/es/tree/src/utils.js +4 -0
  201. package/es/tree-select/index.d.ts +1 -1
  202. package/es/tree-select/src/TreeSelect.d.ts +38 -19
  203. package/es/tree-select/src/TreeSelect.js +75 -48
  204. package/es/tree-select/src/interface.d.ts +33 -2
  205. package/es/tree-select/src/styles/index.cssr.js +2 -2
  206. package/es/typography/src/styles/a.cssr.js +2 -2
  207. package/es/typography/src/styles/blockquote.cssr.js +2 -2
  208. package/es/typography/src/styles/header.cssr.js +2 -2
  209. package/es/typography/src/styles/hr.cssr.js +2 -2
  210. package/es/typography/src/styles/list.cssr.js +2 -2
  211. package/es/typography/src/styles/p.cssr.js +2 -2
  212. package/es/typography/src/styles/text.cssr.js +2 -2
  213. package/es/upload/index.d.ts +1 -1
  214. package/es/upload/src/Upload.d.ts +77 -1
  215. package/es/upload/src/Upload.js +28 -11
  216. package/es/upload/src/UploadFile.d.ts +2 -0
  217. package/es/upload/src/UploadFile.js +9 -10
  218. package/es/upload/src/interface.d.ts +7 -3
  219. package/es/upload/src/utils.d.ts +2 -2
  220. package/es/upload/src/utils.js +2 -1
  221. package/es/version.d.ts +1 -1
  222. package/es/version.js +1 -1
  223. package/lib/_internal/clear/src/styles/index.cssr.js +2 -5
  224. package/lib/_internal/close/src/styles/index.cssr.js +2 -4
  225. package/lib/_internal/icon/src/styles/index.cssr.js +0 -2
  226. package/lib/_internal/index.d.ts +1 -0
  227. package/lib/_internal/loading/index.d.ts +1 -0
  228. package/lib/_internal/loading/src/Loading.d.ts +26 -14
  229. package/lib/_internal/loading/src/Loading.js +17 -20
  230. package/lib/_internal/loading/src/styles/index.cssr.js +0 -3
  231. package/lib/_internal/menu-mask/src/styles/index.cssr.js +0 -3
  232. package/lib/_internal/scrollbar/src/styles/index.cssr.js +2 -5
  233. package/lib/_internal/scrollbar/src/styles/rtl.cssr.js +0 -2
  234. package/lib/_internal/select-menu/src/styles/index.cssr.js +2 -5
  235. package/lib/_internal/selection/src/Selection.js +5 -5
  236. package/lib/_internal/selection/src/styles/index.cssr.js +2 -4
  237. package/lib/_internal/slot-machine/src/styles/index.cssr.js +4 -7
  238. package/lib/_internal/wave/src/styles/index.cssr.js +0 -2
  239. package/lib/_styles/global/index.cssr.js +2 -6
  240. package/lib/_styles/transitions/fade-down.cssr.js +0 -6
  241. package/lib/_styles/transitions/fade-in-height-expand.cssr.js +0 -6
  242. package/lib/_styles/transitions/fade-in-scale-up.cssr.js +0 -6
  243. package/lib/_styles/transitions/fade-in-width-expand.cssr.js +0 -6
  244. package/lib/_styles/transitions/fade-in.cssr.js +0 -6
  245. package/lib/_styles/transitions/fade-up-width-expand.cssr.js +0 -6
  246. package/lib/_styles/transitions/icon-switch.cssr.js +0 -6
  247. package/lib/affix/src/styles/index.cssr.js +0 -2
  248. package/lib/alert/src/styles/index.cssr.js +2 -5
  249. package/lib/alert/src/styles/rtl.cssr.js +0 -2
  250. package/lib/anchor/src/styles/index.cssr.js +2 -4
  251. package/lib/auto-complete/src/styles/index.cssr.js +2 -5
  252. package/lib/avatar/src/Avatar.d.ts +4 -1
  253. package/lib/avatar/src/Avatar.js +12 -13
  254. package/lib/avatar/src/styles/index.cssr.js +2 -4
  255. package/lib/avatar-group/index.d.ts +1 -1
  256. package/lib/avatar-group/src/AvatarGroup.d.ts +7 -7
  257. package/lib/avatar-group/src/styles/avatar-group-rtl.cssr.js +2 -4
  258. package/lib/avatar-group/src/styles/avatar-group.cssr.js +2 -4
  259. package/lib/back-top/src/styles/index.cssr.js +2 -5
  260. package/lib/badge/src/styles/index.cssr.js +2 -5
  261. package/lib/badge/src/styles/rtl.cssr.js +0 -2
  262. package/lib/breadcrumb/src/styles/index.cssr.js +2 -4
  263. package/lib/button/src/Button.d.ts +4 -1
  264. package/lib/button/src/Button.js +3 -3
  265. package/lib/button/src/styles/index.cssr.js +2 -7
  266. package/lib/button/src/styles/rtl.cssr.js +0 -2
  267. package/lib/button-group/src/styles/index.cssr.js +0 -5
  268. package/lib/button-group/src/styles/rtl.cssr.js +0 -4
  269. package/lib/calendar/src/styles/index.cssr.js +2 -4
  270. package/lib/card/src/styles/index.cssr.js +4 -5
  271. package/lib/card/src/styles/rtl.cssr.js +0 -2
  272. package/lib/carousel/src/styles/index.cssr.js +2 -4
  273. package/lib/cascader/src/Cascader.d.ts +8 -0
  274. package/lib/cascader/src/Cascader.js +41 -2
  275. package/lib/cascader/src/CascaderOption.d.ts +1 -1
  276. package/lib/cascader/src/CascaderOption.js +1 -7
  277. package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -0
  278. package/lib/cascader/src/CascaderSelectMenu.js +8 -4
  279. package/lib/cascader/src/interface.d.ts +11 -1
  280. package/lib/cascader/src/styles/index.cssr.js +2 -5
  281. package/lib/checkbox/src/styles/index.cssr.js +8 -8
  282. package/lib/checkbox/src/styles/rtl.cssr.js +0 -2
  283. package/lib/code/src/Code.d.ts +1 -1
  284. package/lib/code/src/styles/index.cssr.js +2 -4
  285. package/lib/collapse/src/styles/index.cssr.js +2 -5
  286. package/lib/collapse/src/styles/rtl.cssr.js +0 -2
  287. package/lib/collapse-transition/src/styles/index.cssr.js +0 -3
  288. package/lib/collapse-transition/src/styles/rtl.cssr.js +0 -2
  289. package/lib/color-picker/src/ColorPicker.d.ts +5 -5
  290. package/lib/color-picker/src/ColorPicker.js +7 -1
  291. package/lib/color-picker/src/styles/index.cssr.js +2 -5
  292. package/lib/color-picker/src/utils.d.ts +1 -1
  293. package/lib/components.d.ts +1 -0
  294. package/lib/components.js +1 -0
  295. package/lib/config-provider/src/ConfigProvider.d.ts +6 -0
  296. package/lib/config-provider/src/ConfigProvider.js +7 -0
  297. package/lib/config-provider/src/internal-interface.d.ts +4 -0
  298. package/lib/data-table/src/DataTable.d.ts +11 -0
  299. package/lib/data-table/src/DataTable.js +6 -2
  300. package/lib/data-table/src/TableParts/Body.d.ts +1 -0
  301. package/lib/data-table/src/TableParts/Body.js +13 -5
  302. package/lib/data-table/src/TableParts/Header.js +7 -5
  303. package/lib/data-table/src/interface.d.ts +10 -2
  304. package/lib/data-table/src/interface.js +1 -1
  305. package/lib/data-table/src/styles/index.cssr.js +21 -13
  306. package/lib/date-picker/src/DatePicker.js +5 -0
  307. package/lib/date-picker/src/panel/panelHeader.d.ts +6 -6
  308. package/lib/date-picker/src/styles/index.cssr.js +2 -5
  309. package/lib/descriptions/src/styles/index.cssr.js +2 -4
  310. package/lib/dialog/src/DialogEnvironment.d.ts +3 -0
  311. package/lib/dialog/src/DialogEnvironment.js +2 -2
  312. package/lib/dialog/src/DialogProvider.d.ts +3 -0
  313. package/lib/dialog/src/styles/index.cssr.js +2 -4
  314. package/lib/divider/src/styles/index.cssr.js +2 -4
  315. package/lib/drawer/src/styles/index.cssr.js +2 -9
  316. package/lib/drawer/src/styles/rtl.cssr.js +0 -2
  317. package/lib/dropdown/src/styles/index.cssr.js +2 -5
  318. package/lib/dynamic-input/src/styles/index.cssr.js +2 -4
  319. package/lib/dynamic-input/src/styles/rtl.cssr.js +0 -2
  320. package/lib/dynamic-tags/src/styles/index.cssr.js +2 -4
  321. package/lib/ellipsis/src/styles/index.cssr.js +0 -2
  322. package/lib/empty/src/styles/index.cssr.js +2 -4
  323. package/lib/equation/index.d.ts +1 -0
  324. package/lib/equation/index.js +6 -0
  325. package/lib/equation/src/Equation.d.ts +18 -0
  326. package/lib/equation/src/Equation.js +32 -0
  327. package/lib/equation/styles/dark.d.ts +3 -0
  328. package/lib/equation/styles/dark.js +10 -0
  329. package/lib/equation/styles/index.d.ts +3 -0
  330. package/lib/equation/styles/index.js +10 -0
  331. package/lib/equation/styles/light.d.ts +6 -0
  332. package/lib/equation/styles/light.js +12 -0
  333. package/lib/form/src/FormItem.d.ts +3 -2
  334. package/lib/form/src/FormItem.js +24 -7
  335. package/lib/form/src/styles/form-item.cssr.js +5 -6
  336. package/lib/form/src/styles/form.cssr.js +0 -2
  337. package/lib/gradient-text/src/styles/index.cssr.js +2 -4
  338. package/lib/icon/src/styles/index.cssr.js +2 -4
  339. package/lib/icon-wrapper/src/styles/index.cssr.js +2 -4
  340. package/lib/image/src/Image.d.ts +4 -1
  341. package/lib/image/src/Image.js +11 -5
  342. package/lib/image/src/ImagePreview.d.ts +3 -2
  343. package/lib/image/src/ImagePreview.js +39 -6
  344. package/lib/image/src/interface.d.ts +5 -0
  345. package/lib/image/src/interface.js +3 -1
  346. package/lib/image/src/styles/index.cssr.js +2 -6
  347. package/lib/input/src/Input.d.ts +3 -0
  348. package/lib/input/src/Input.js +25 -6
  349. package/lib/input/src/WordCount.js +2 -2
  350. package/lib/input/src/interface.d.ts +1 -0
  351. package/lib/input/src/styles/input-group-label.cssr.js +2 -4
  352. package/lib/input/src/styles/input-group.cssr.js +0 -2
  353. package/lib/input/src/styles/input.cssr.js +11 -9
  354. package/lib/input/src/styles/rtl.cssr.js +0 -2
  355. package/lib/input-number/src/styles/input-number.cssr.js +0 -2
  356. package/lib/input-number/src/styles/rtl.cssr.js +0 -2
  357. package/lib/layout/src/styles/layout-footer.cssr.js +2 -4
  358. package/lib/layout/src/styles/layout-header.cssr.js +2 -4
  359. package/lib/layout/src/styles/layout-sider.cssr.js +2 -4
  360. package/lib/layout/src/styles/layout.cssr.js +2 -4
  361. package/lib/legacy-grid/src/styles/index.cssr.js +0 -2
  362. package/lib/legacy-grid/src/styles/rtl.cssr.js +0 -2
  363. package/lib/legacy-transfer/src/styles/index.cssr.js +0 -3
  364. package/lib/list/src/styles/index.cssr.js +2 -4
  365. package/lib/list/src/styles/rtl.cssr.js +0 -2
  366. package/lib/loading-bar/src/styles/index.cssr.js +2 -5
  367. package/lib/locales/common/arDZ.d.ts +3 -0
  368. package/lib/locales/common/arDZ.js +122 -0
  369. package/lib/locales/common/deDE.js +2 -1
  370. package/lib/locales/common/enGB.js +2 -1
  371. package/lib/locales/common/enUS.d.ts +1 -0
  372. package/lib/locales/common/enUS.js +2 -1
  373. package/lib/locales/common/eo.js +2 -1
  374. package/lib/locales/common/esAR.js +2 -1
  375. package/lib/locales/common/frFR.js +2 -1
  376. package/lib/locales/common/idID.js +2 -1
  377. package/lib/locales/common/itIT.js +2 -1
  378. package/lib/locales/common/jaJP.js +2 -1
  379. package/lib/locales/common/koKR.js +2 -1
  380. package/lib/locales/common/nbNO.js +2 -1
  381. package/lib/locales/common/nlNL.js +2 -1
  382. package/lib/locales/common/plPL.js +2 -1
  383. package/lib/locales/common/ptBR.js +2 -1
  384. package/lib/locales/common/ruRU.js +2 -1
  385. package/lib/locales/common/skSK.js +2 -1
  386. package/lib/locales/common/thTH.js +2 -1
  387. package/lib/locales/common/trTR.d.ts +3 -0
  388. package/lib/locales/common/trTR.js +123 -0
  389. package/lib/locales/common/ukUA.js +2 -1
  390. package/lib/locales/common/viVN.js +2 -1
  391. package/lib/locales/common/zhCN.js +2 -1
  392. package/lib/locales/common/zhTW.js +2 -1
  393. package/lib/locales/date/arDZ.d.ts +3 -0
  394. package/lib/locales/date/arDZ.js +11 -0
  395. package/lib/locales/date/trTR.d.ts +3 -0
  396. package/lib/locales/date/trTR.js +11 -0
  397. package/lib/locales/index.d.ts +4 -0
  398. package/lib/locales/index.js +9 -1
  399. package/lib/log/src/styles/index.cssr.js +2 -5
  400. package/lib/mention/src/Mention.d.ts +6 -0
  401. package/lib/mention/src/Mention.js +6 -1
  402. package/lib/mention/src/styles/index.cssr.js +2 -5
  403. package/lib/menu/src/styles/index.cssr.js +2 -6
  404. package/lib/message/src/styles/index.cssr.js +2 -6
  405. package/lib/message/src/styles/rtl.cssr.js +0 -2
  406. package/lib/modal/src/BodyWrapper.d.ts +1 -1
  407. package/lib/modal/src/styles/index.cssr.js +2 -6
  408. package/lib/notification/src/styles/index.cssr.js +2 -5
  409. package/lib/notification/src/styles/rtl.cssr.js +0 -2
  410. package/lib/page-header/src/styles/index.cssr.js +2 -4
  411. package/lib/page-header/src/styles/rtl.cssr.js +0 -2
  412. package/lib/pagination/src/Pagination.js +1 -1
  413. package/lib/pagination/src/styles/index.cssr.js +2 -4
  414. package/lib/pagination/src/styles/rtl.cssr.js +0 -2
  415. package/lib/popconfirm/src/styles/index.cssr.js +2 -4
  416. package/lib/popover/src/styles/index.cssr.js +5 -8
  417. package/lib/popselect/src/styles/index.cssr.js +2 -4
  418. package/lib/progress/src/styles/index.cssr.js +2 -4
  419. package/lib/radio/src/styles/radio-group.cssr.js +2 -4
  420. package/lib/radio/src/styles/radio.cssr.js +2 -4
  421. package/lib/radio/src/styles/rtl.cssr.js +0 -2
  422. package/lib/rate/src/styles/index.cssr.js +2 -4
  423. package/lib/result/src/styles/index.cssr.js +2 -4
  424. package/lib/select/src/Select.js +1 -0
  425. package/lib/select/src/styles/index.cssr.js +2 -5
  426. package/lib/skeleton/src/styles/index.cssr.js +2 -4
  427. package/lib/slider/src/styles/index.cssr.js +2 -5
  428. package/lib/space/src/styles/rtl.cssr.js +0 -2
  429. package/lib/spin/src/styles/index.cssr.js +2 -5
  430. package/lib/statistic/src/styles/index.cssr.js +2 -4
  431. package/lib/statistic/src/styles/rtl.cssr.js +0 -2
  432. package/lib/steps/src/styles/index.cssr.js +2 -5
  433. package/lib/steps/src/styles/rtl.cssr.js +0 -2
  434. package/lib/switch/src/styles/index.cssr.js +2 -5
  435. package/lib/table/src/styles/index.cssr.js +2 -4
  436. package/lib/table/src/styles/rtl.cssr.js +0 -2
  437. package/lib/tabs/src/Tabs.d.ts +7 -7
  438. package/lib/tabs/src/styles/index.cssr.js +2 -4
  439. package/lib/tag/src/styles/index.cssr.js +2 -4
  440. package/lib/tag/src/styles/rtl.cssr.js +0 -2
  441. package/lib/themes/dark.js +100 -98
  442. package/lib/themes/light.js +100 -98
  443. package/lib/thing/src/styles/index.cssr.js +2 -4
  444. package/lib/thing/src/styles/rtl.cssr.js +0 -2
  445. package/lib/time-picker/src/styles/index.cssr.js +2 -5
  446. package/lib/timeline/src/styles/index.cssr.js +6 -5
  447. package/lib/transfer/src/Transfer.d.ts +13 -0
  448. package/lib/transfer/src/Transfer.js +6 -2
  449. package/lib/transfer/src/TransferListItem.d.ts +2 -1
  450. package/lib/transfer/src/TransferListItem.js +5 -4
  451. package/lib/transfer/src/interface.d.ts +1 -0
  452. package/lib/transfer/src/styles/index.cssr.js +2 -4
  453. package/lib/transfer/src/use-transfer-data.d.ts +1 -0
  454. package/lib/transfer/src/use-transfer-data.js +13 -4
  455. package/lib/tree/src/Tree.d.ts +60 -30
  456. package/lib/tree/src/Tree.js +69 -23
  457. package/lib/tree/src/TreeNode.d.ts +1 -1
  458. package/lib/tree/src/TreeNode.js +1 -1
  459. package/lib/tree/src/TreeNodeSwitcher.d.ts +3 -0
  460. package/lib/tree/src/TreeNodeSwitcher.js +7 -5
  461. package/lib/tree/src/interface.d.ts +12 -1
  462. package/lib/tree/src/styles/index.cssr.js +3 -6
  463. package/lib/tree/src/styles/rtl.cssr.js +0 -2
  464. package/lib/tree/src/utils.d.ts +6 -0
  465. package/lib/tree/src/utils.js +6 -1
  466. package/lib/tree-select/index.d.ts +1 -1
  467. package/lib/tree-select/src/TreeSelect.d.ts +38 -19
  468. package/lib/tree-select/src/TreeSelect.js +75 -48
  469. package/lib/tree-select/src/interface.d.ts +33 -2
  470. package/lib/tree-select/src/styles/index.cssr.js +2 -5
  471. package/lib/typography/src/styles/a.cssr.js +2 -4
  472. package/lib/typography/src/styles/blockquote.cssr.js +2 -4
  473. package/lib/typography/src/styles/header.cssr.js +2 -4
  474. package/lib/typography/src/styles/hr.cssr.js +2 -4
  475. package/lib/typography/src/styles/list.cssr.js +2 -4
  476. package/lib/typography/src/styles/p.cssr.js +2 -4
  477. package/lib/typography/src/styles/text.cssr.js +2 -4
  478. package/lib/upload/index.d.ts +1 -1
  479. package/lib/upload/src/Upload.d.ts +77 -1
  480. package/lib/upload/src/Upload.js +27 -10
  481. package/lib/upload/src/UploadFile.d.ts +2 -0
  482. package/lib/upload/src/UploadFile.js +8 -9
  483. package/lib/upload/src/interface.d.ts +7 -3
  484. package/lib/upload/src/styles/index.cssr.js +0 -4
  485. package/lib/upload/src/utils.d.ts +2 -2
  486. package/lib/upload/src/utils.js +2 -1
  487. package/lib/version.d.ts +1 -1
  488. package/lib/version.js +1 -1
  489. package/lib/watermark/src/styles/index.cssr.js +0 -2
  490. package/package.json +13 -10
  491. package/volar.d.ts +1 -0
  492. package/web-types.json +236 -57
@@ -1,4 +1,5 @@
1
- import { cB, c, cE, cM, cNotM } from '../../../_utils/cssr'; // vars:
1
+ import { cB, c, cE, cM, cNotM } from '../../../_utils/cssr';
2
+ // vars:
2
3
  // --n-bezier
3
4
  // --n-color
4
5
  // --n-font-size
@@ -33,7 +34,6 @@ import { cB, c, cE, cM, cNotM } from '../../../_utils/cssr'; // vars:
33
34
  // --n-count-text-color-disabled
34
35
  // --n-loading-color
35
36
  // ...form item vars
36
-
37
37
  export default cB('input', `
38
38
  max-width: 100%;
39
39
  cursor: text;
@@ -48,7 +48,8 @@ export default cB('input', `
48
48
  transition: background-color .3s var(--n-bezier);
49
49
  font-size: var(--n-font-size);
50
50
  --n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);
51
- `, [// common
51
+ `, [
52
+ // common
52
53
  cE('input, textarea', `
53
54
  overflow: hidden;
54
55
  flex-grow: 1;
@@ -100,7 +101,8 @@ cE('input, textarea', `
100
101
  top: 0;
101
102
  left: 0;
102
103
  height: 100%;
103
- `)]), // input
104
+ `)]),
105
+ // input
104
106
  cB('input-wrapper', `
105
107
  overflow: hidden;
106
108
  display: inline-flex;
@@ -114,7 +116,7 @@ cB('input-wrapper', `
114
116
  overflow: hidden;
115
117
  visibility: hidden;
116
118
  position: static;
117
- white-space: nowrap;
119
+ white-space: pre;
118
120
  pointer-events: none;
119
121
  `), cE('input-el', `
120
122
  padding: 0;
@@ -125,7 +127,8 @@ cB('input-wrapper', `
125
127
  align-items: center;
126
128
  `)])]), cNotM('textarea', [cE('placeholder', 'white-space: nowrap;')]), cE('eye', `
127
129
  transition: color .3s var(--n-bezier);
128
- `), // textarea
130
+ `),
131
+ // textarea
129
132
  cM('textarea', 'width: 100%;', [cB('input-word-count', `
130
133
  position: absolute;
131
134
  right: var(--n-padding-right);
@@ -155,7 +158,8 @@ cM('textarea', 'width: 100%;', [cB('input-word-count', `
155
158
  position: static;
156
159
  white-space: pre-wrap;
157
160
  overflow-wrap: break-word;
158
- `)]), // pair
161
+ `)]),
162
+ // pair
159
163
  cM('pair', [cE('input-el, placeholder', 'text-align: center;'), cE('separator', `
160
164
  display: flex;
161
165
  align-items: center;
@@ -1,9 +1,9 @@
1
- import { cB, cM } from '../../../_utils/cssr'; // vars:
1
+ import { cB, cM } from '../../../_utils/cssr';
2
+ // vars:
2
3
  // --n-bezier
3
4
  // --n-color
4
5
  // --n-border-color
5
6
  // --n-text-color
6
-
7
7
  export default cB('layout-footer', `
8
8
  transition:
9
9
  box-shadow .3s var(--n-bezier),
@@ -1,9 +1,9 @@
1
- import { cB, cM } from '../../../_utils/cssr'; // vars:
1
+ import { cB, cM } from '../../../_utils/cssr';
2
+ // vars:
2
3
  // --n-bezier
3
4
  // --n-text-color
4
5
  // --n-color
5
6
  // --n-border-color
6
-
7
7
  export default cB('layout-header', `
8
8
  transition:
9
9
  color .3s var(--n-bezier),
@@ -1,4 +1,5 @@
1
- import { c, cB, cE, cM } from '../../../_utils/cssr'; // vars:
1
+ import { c, cB, cE, cM } from '../../../_utils/cssr';
2
+ // vars:
2
3
  // --n-bezier
3
4
  // --n-color
4
5
  // --n-text-color
@@ -6,7 +7,6 @@ import { c, cB, cE, cM } from '../../../_utils/cssr'; // vars:
6
7
  // --n-toggle-button-color
7
8
  // --n-toggle-bar-color
8
9
  // --n-toggle-bar-color-hover
9
-
10
10
  export default cB('layout-sider', `
11
11
  flex-shrink: 0;
12
12
  box-sizing: border-box;
@@ -1,8 +1,8 @@
1
- import { cB, cM } from '../../../_utils/cssr'; // vars:
1
+ import { cB, cM } from '../../../_utils/cssr';
2
+ // vars:
2
3
  // --n-bezier
3
4
  // --n-color
4
5
  // --n-text-color
5
-
6
6
  export default cB('layout', `
7
7
  color: var(--n-text-color);
8
8
  background-color: var(--n-color);
@@ -1,4 +1,5 @@
1
- import { cB, c, cE, cM, insideModal, insidePopover } from '../../../_utils/cssr'; // vars:
1
+ import { cB, c, cE, cM, insideModal, insidePopover } from '../../../_utils/cssr';
2
+ // vars:
2
3
  // --n-font-size
3
4
  // --n-bezier
4
5
  // --n-text-color
@@ -12,7 +13,6 @@ import { cB, c, cE, cM, insideModal, insidePopover } from '../../../_utils/cssr'
12
13
  // --n-color-popover
13
14
  // --n-color-hover-modal
14
15
  // --n-color-hover-popover
15
-
16
16
  export default c([cB('list', `
17
17
  --n-merged-border-color: var(--n-border-color);
18
18
  --n-merged-color: var(--n-color);
@@ -1,9 +1,9 @@
1
1
  import { cB, cM } from '../../../_utils/cssr';
2
- import { fadeInTransition } from '../../../_styles/transitions/fade-in.cssr'; // vars:
2
+ import { fadeInTransition } from '../../../_styles/transitions/fade-in.cssr';
3
+ // vars:
3
4
  // --n-height
4
5
  // --n-color-loading
5
6
  // --n-color-error
6
-
7
7
  export default cB('loading-bar-container', `
8
8
  z-index: 5999;
9
9
  position: fixed;
@@ -0,0 +1,3 @@
1
+ import type { NLocale } from './enUS';
2
+ declare const arDZ: NLocale;
3
+ export default arDZ;
@@ -0,0 +1,120 @@
1
+ const arDZ = {
2
+ name: 'ar-DZ',
3
+ global: {
4
+ undo: 'تراجع',
5
+ redo: 'إعادة',
6
+ confirm: 'تأكيد',
7
+ clear: 'مسح'
8
+ },
9
+ Popconfirm: {
10
+ positiveText: 'تأكيد',
11
+ negativeText: 'إلغاء'
12
+ },
13
+ Cascader: {
14
+ placeholder: 'يرجى التحديد',
15
+ loading: 'جاري التحميل',
16
+ loadingRequiredMessage: (label) => `يرجى تحميل جميع الـ ${label} الفرعية قبل التحقق منها.`
17
+ },
18
+ Time: {
19
+ dateFormat: 'yyyy-MM-dd',
20
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
21
+ },
22
+ DatePicker: {
23
+ yearFormat: 'yyyy',
24
+ monthFormat: 'MMM',
25
+ dayFormat: 'eeeeee',
26
+ yearTypeFormat: 'yyyy',
27
+ monthTypeFormat: 'yyyy-MM',
28
+ dateFormat: 'yyyy-MM-dd',
29
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
30
+ quarterFormat: 'yyyy-qqq',
31
+ clear: 'مسح',
32
+ now: 'الآن',
33
+ confirm: 'تأكيد',
34
+ selectTime: 'إختيار الوقت',
35
+ selectDate: 'إختيار التاريخ',
36
+ datePlaceholder: 'إختيار التاريخ',
37
+ datetimePlaceholder: 'إختيار التاريخ والوقت',
38
+ monthPlaceholder: 'إختيار الشهر',
39
+ yearPlaceholder: 'إختيار السنة',
40
+ quarterPlaceholder: 'إختيار الربع',
41
+ startDatePlaceholder: 'تاريخ البدء',
42
+ endDatePlaceholder: 'تاريخ الإنتهاء',
43
+ startDatetimePlaceholder: 'تاريخ ووقت البدء',
44
+ endDatetimePlaceholder: 'تاريخ ووقت الإنتهاء',
45
+ startMonthPlaceholder: 'شهر البدء',
46
+ endMonthPlaceholder: 'شهر الإنتهاء',
47
+ monthBeforeYear: true,
48
+ firstDayOfWeek: 6,
49
+ today: 'اليوم'
50
+ },
51
+ DataTable: {
52
+ checkTableAll: 'تحديد كل العناصر في الجدول',
53
+ uncheckTableAll: 'إلغاء تحديد كل العناصر في الجدول',
54
+ confirm: 'تأكيد',
55
+ clear: 'مسح'
56
+ },
57
+ LegacyTransfer: {
58
+ sourceTitle: 'المصدر',
59
+ targetTitle: 'الهدف'
60
+ },
61
+ Transfer: {
62
+ selectAll: 'تحديد الكل',
63
+ unselectAll: 'إلغاء تحديد الكل',
64
+ clearAll: 'مسح',
65
+ total: (num) => `إجمالي ${num} عنصر`,
66
+ selected: (num) => `${num} عنصر محدد`
67
+ },
68
+ Empty: {
69
+ description: 'لا توجد بيانات'
70
+ },
71
+ Select: {
72
+ placeholder: 'يرجى الإختيار'
73
+ },
74
+ TimePicker: {
75
+ placeholder: 'إختيار الوقت',
76
+ positiveText: 'تأكيد',
77
+ negativeText: 'إلغاء',
78
+ now: 'الآن'
79
+ },
80
+ Pagination: {
81
+ goto: 'إذهب إلى',
82
+ selectionSuffix: 'صفحة'
83
+ },
84
+ DynamicTags: {
85
+ add: 'إضافة'
86
+ },
87
+ Log: {
88
+ loading: 'جاري التحميل'
89
+ },
90
+ Input: {
91
+ placeholder: 'يرجى الإدخال'
92
+ },
93
+ InputNumber: {
94
+ placeholder: 'يرجى الإدخال'
95
+ },
96
+ DynamicInput: {
97
+ create: 'إنشاء'
98
+ },
99
+ ThemeEditor: {
100
+ title: 'محرر النمط',
101
+ clearAllVars: 'مسح جميع المتغيرات',
102
+ clearSearch: 'مسح البحث',
103
+ filterCompName: 'تصفية إسم المكون',
104
+ filterVarName: 'تصفية إسم المتغير',
105
+ import: 'إستيراد',
106
+ export: 'تصدير',
107
+ restore: 'إعادة تعيين إلى الإفتراضي'
108
+ },
109
+ Image: {
110
+ tipPrevious: '(→) الصورة السابقة',
111
+ tipNext: '(←) الصورة التالية',
112
+ tipCounterclockwise: 'عكس عقارب الساعة',
113
+ tipClockwise: 'إتجاه عقارب الساعة',
114
+ tipZoomOut: 'تكبير',
115
+ tipZoomIn: 'تصغير',
116
+ tipClose: 'إغلاق (Esc زر)',
117
+ tipOriginalSize: 'تكبير إلى الحجم الأصلي'
118
+ }
119
+ };
120
+ export default arDZ;
@@ -3,7 +3,8 @@ const deDE = {
3
3
  global: {
4
4
  undo: 'Rückgängig',
5
5
  redo: 'Wiederholen',
6
- confirm: 'Bestätigen'
6
+ confirm: 'Bestätigen',
7
+ clear: 'Löschen'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Bestätigen',
@@ -3,7 +3,8 @@ const enGB = {
3
3
  global: {
4
4
  undo: 'Undo',
5
5
  redo: 'Redo',
6
- confirm: 'Confirm'
6
+ confirm: 'Confirm',
7
+ clear: 'Clear'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Confirm',
@@ -4,6 +4,7 @@ declare const enUS: {
4
4
  undo: string;
5
5
  redo: string;
6
6
  confirm: string;
7
+ clear: string;
7
8
  };
8
9
  Popconfirm: {
9
10
  positiveText: string;
@@ -3,7 +3,8 @@ const enUS = {
3
3
  global: {
4
4
  undo: 'Undo',
5
5
  redo: 'Redo',
6
- confirm: 'Confirm'
6
+ confirm: 'Confirm',
7
+ clear: 'Clear'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Confirm',
@@ -3,7 +3,8 @@ const eo = {
3
3
  global: {
4
4
  undo: 'Malfari',
5
5
  redo: 'Refari',
6
- confirm: 'Konfirmi'
6
+ confirm: 'Konfirmi',
7
+ clear: 'Malplenigi'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Konfirmi',
@@ -3,7 +3,8 @@ const esAR = {
3
3
  global: {
4
4
  undo: 'Deshacer',
5
5
  redo: 'Rehacer',
6
- confirm: 'Confirmar'
6
+ confirm: 'Confirmar',
7
+ clear: 'Borrar'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Confirmar',
@@ -3,7 +3,8 @@ const frFR = {
3
3
  global: {
4
4
  undo: 'Défaire',
5
5
  redo: 'Refaire',
6
- confirm: 'Confirmer'
6
+ confirm: 'Confirmer',
7
+ clear: 'Effacer'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Confirmer',
@@ -3,7 +3,8 @@ const idID = {
3
3
  global: {
4
4
  undo: 'Membatalkan',
5
5
  redo: 'Mem-perbarui',
6
- confirm: 'Setuju'
6
+ confirm: 'Setuju',
7
+ clear: 'Bersihkan'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Setuju',
@@ -3,7 +3,8 @@ const itIT = {
3
3
  global: {
4
4
  undo: 'Annulla',
5
5
  redo: 'Ripeti',
6
- confirm: 'Conferma'
6
+ confirm: 'Conferma',
7
+ clear: 'Cancella'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Conferma',
@@ -3,7 +3,8 @@ const jaJP = {
3
3
  global: {
4
4
  undo: '元に戻す',
5
5
  redo: 'やり直す',
6
- confirm: 'OK'
6
+ confirm: 'OK',
7
+ clear: 'クリア'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'OK',
@@ -3,7 +3,8 @@ const koKR = {
3
3
  global: {
4
4
  undo: '실행 취소',
5
5
  redo: '다시 실행',
6
- confirm: '확인'
6
+ confirm: '확인',
7
+ clear: '지우기'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: '확인',
@@ -3,7 +3,8 @@ const nbNO = {
3
3
  global: {
4
4
  undo: 'Angre',
5
5
  redo: 'Utfør likevel',
6
- confirm: 'Bekreft'
6
+ confirm: 'Bekreft',
7
+ clear: 'Tøm'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Bekreft',
@@ -3,7 +3,8 @@ const nlNL = {
3
3
  global: {
4
4
  undo: 'Ongedaan Maken',
5
5
  redo: 'Opnieuw Doen',
6
- confirm: 'Bevestig'
6
+ confirm: 'Bevestig',
7
+ clear: 'Wis'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Bevestig',
@@ -3,7 +3,8 @@ const plPL = {
3
3
  global: {
4
4
  undo: 'Cofnij',
5
5
  redo: 'Ponów',
6
- confirm: 'Potwierdź'
6
+ confirm: 'Potwierdź',
7
+ clear: 'Wyczyść'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Potwierdź',
@@ -3,7 +3,8 @@ const ptBR = {
3
3
  global: {
4
4
  undo: 'Desfazer',
5
5
  redo: 'Refazer',
6
- confirm: 'Confirmar'
6
+ confirm: 'Confirmar',
7
+ clear: 'Limpar'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Confirmar',
@@ -3,7 +3,8 @@ const ruRu = {
3
3
  global: {
4
4
  undo: 'Отменить',
5
5
  redo: 'Вернуть',
6
- confirm: 'Подтвердить'
6
+ confirm: 'Подтвердить',
7
+ clear: 'Очистить'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Подтвердить',
@@ -3,7 +3,8 @@ const skSK = {
3
3
  global: {
4
4
  undo: 'Späť',
5
5
  redo: 'Obnoviť',
6
- confirm: 'Potvrdiť'
6
+ confirm: 'Potvrdiť',
7
+ clear: 'Vyčistiť'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Potvrdiť',
@@ -3,7 +3,8 @@ const thTH = {
3
3
  global: {
4
4
  undo: 'เลิกทำ',
5
5
  redo: 'ทำซ้ำ',
6
- confirm: 'ยืนยัน'
6
+ confirm: 'ยืนยัน',
7
+ clear: 'ล้าง'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'ยืนยัน',
@@ -0,0 +1,3 @@
1
+ import type { NLocale } from './enUS';
2
+ declare const trTR: NLocale;
3
+ export default trTR;
@@ -0,0 +1,121 @@
1
+ const trTR = {
2
+ name: 'tr-TR',
3
+ global: {
4
+ undo: 'Vazgeç',
5
+ redo: 'Tekrar Dene',
6
+ confirm: 'Kabul Et',
7
+ clear: 'Temizle'
8
+ },
9
+ Popconfirm: {
10
+ positiveText: 'Kabul Et',
11
+ negativeText: 'İptal'
12
+ },
13
+ Cascader: {
14
+ placeholder: 'Lütfen Seçin',
15
+ loading: 'Yükleniyor',
16
+ loadingRequiredMessage: (label) => `Lütfen kontrol etmeden önce tüm ${label}ları yükleyin.`
17
+ },
18
+ Time: {
19
+ dateFormat: 'yyyy-MM-dd',
20
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
21
+ },
22
+ DatePicker: {
23
+ yearFormat: 'yyyy',
24
+ monthFormat: 'MMM',
25
+ dayFormat: 'eeeeee',
26
+ yearTypeFormat: 'yyyy',
27
+ monthTypeFormat: 'yyyy-MM',
28
+ dateFormat: 'yyyy-MM-dd',
29
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
30
+ quarterFormat: 'yyyy-qqq',
31
+ clear: 'Temizle',
32
+ now: 'Şimdi',
33
+ confirm: 'Onayla',
34
+ selectTime: 'Saat Seçin',
35
+ selectDate: 'Tarih Seçin',
36
+ datePlaceholder: 'Tarih Seç',
37
+ datetimePlaceholder: 'Tarih ve Saat Seçin',
38
+ monthPlaceholder: 'Ay Seçin',
39
+ yearPlaceholder: 'Yıl Seçin',
40
+ quarterPlaceholder: 'Mevsim Seçin',
41
+ startDatePlaceholder: 'Başlangıç Tarihi',
42
+ endDatePlaceholder: 'Bitiş Tarihi',
43
+ startDatetimePlaceholder: 'Başlangıç Tarih ve Saati',
44
+ endDatetimePlaceholder: 'Bitiş Tarihi ve Saati',
45
+ startMonthPlaceholder: 'Başlangıç Ayı',
46
+ endMonthPlaceholder: 'Bitiş Ayı',
47
+ monthBeforeYear: true,
48
+ firstDayOfWeek: 6,
49
+ today: 'Bugün'
50
+ },
51
+ DataTable: {
52
+ checkTableAll: 'Tüm Tabloyu Seç',
53
+ uncheckTableAll: 'Tablodaki tüm seçimleri kaldır',
54
+ confirm: 'Onayla',
55
+ clear: 'Temizle'
56
+ },
57
+ LegacyTransfer: {
58
+ sourceTitle: 'Kaynak',
59
+ targetTitle: 'Hedef'
60
+ },
61
+ Transfer: {
62
+ selectAll: 'Tümünü Seç',
63
+ unselectAll: 'Tüm Seçimi Kaldır',
64
+ clearAll: 'Temizle',
65
+ total: (num) => `Toplam ${num} öğe`,
66
+ selected: (num) => `${num} öğe Seçili`
67
+ },
68
+ Empty: {
69
+ description: 'Tarih Yok'
70
+ },
71
+ Select: {
72
+ placeholder: 'Lütfen seçin'
73
+ },
74
+ TimePicker: {
75
+ placeholder: 'Saat Seç',
76
+ positiveText: 'Tamam',
77
+ negativeText: 'İptal',
78
+ now: 'Şimdi'
79
+ },
80
+ Pagination: {
81
+ goto: 'git',
82
+ selectionSuffix: 'sayfa'
83
+ },
84
+ DynamicTags: {
85
+ add: 'Ekle'
86
+ },
87
+ Log: {
88
+ loading: 'Yükleniyor'
89
+ },
90
+ Input: {
91
+ placeholder: 'Lütfen Girin'
92
+ },
93
+ InputNumber: {
94
+ placeholder: 'Lütfen Girin'
95
+ },
96
+ DynamicInput: {
97
+ create: 'Oluştur'
98
+ },
99
+ ThemeEditor: {
100
+ title: 'Tema Editörü',
101
+ clearAllVars: 'Tüm Değişkenleri Temizle',
102
+ clearSearch: 'Aramayı Temizle',
103
+ filterCompName: 'Bileşen Adını Filtrele',
104
+ filterVarName: 'Değişken Adını Filtrele',
105
+ import: 'Ekle',
106
+ export: 'Çıkar',
107
+ restore: 'Varsayılana sıfırla'
108
+ },
109
+ Image: {
110
+ tipPrevious: 'Önceki resim (←)',
111
+ tipNext: 'Sonraki resim (→)',
112
+ tipCounterclockwise: 'saat yönünün tersine',
113
+ tipClockwise: 'saat yönününe',
114
+ tipZoomOut: 'Uzaklaştır',
115
+ tipZoomIn: 'Yakınlaştır',
116
+ tipClose: 'Kapat (Esc)',
117
+ // TODO: translation
118
+ tipOriginalSize: 'Orijinal boyuta yakınlaştır'
119
+ }
120
+ };
121
+ export default trTR;
@@ -3,7 +3,8 @@ const ukUA = {
3
3
  global: {
4
4
  undo: 'Відмінити',
5
5
  redo: 'Повторити',
6
- confirm: 'Підтвердити'
6
+ confirm: 'Підтвердити',
7
+ clear: 'Стерти'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Підтвердити',
@@ -3,7 +3,8 @@ const viVN = {
3
3
  global: {
4
4
  undo: 'Hoàn tác',
5
5
  redo: 'Làm lại',
6
- confirm: 'Xác nhận'
6
+ confirm: 'Xác nhận',
7
+ clear: 'xóa'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: 'Xác nhận',
@@ -3,7 +3,8 @@ const zhCN = {
3
3
  global: {
4
4
  undo: '撤销',
5
5
  redo: '重做',
6
- confirm: '确认'
6
+ confirm: '确认',
7
+ clear: '清除'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: '确认',
@@ -3,7 +3,8 @@ const zhTW = {
3
3
  global: {
4
4
  undo: '撤銷',
5
5
  redo: '重做',
6
- confirm: '確認'
6
+ confirm: '確認',
7
+ clear: '清除'
7
8
  },
8
9
  Popconfirm: {
9
10
  positiveText: '確認',
@@ -0,0 +1,3 @@
1
+ import { NDateLocale } from './enUS';
2
+ declare const dateArDZ: NDateLocale;
3
+ export default dateArDZ;
@@ -0,0 +1,6 @@
1
+ import arDZ from 'date-fns/esm/locale/ar';
2
+ const dateArDZ = {
3
+ name: 'ar-DZ',
4
+ locale: arDZ
5
+ };
6
+ export default dateArDZ;
@@ -0,0 +1,3 @@
1
+ import { NDateLocale } from './enUS';
2
+ declare const dateTrTR: NDateLocale;
3
+ export default dateTrTR;
@@ -0,0 +1,6 @@
1
+ import trTR from 'date-fns/esm/locale/tr';
2
+ const dateTrTR = {
3
+ name: 'zh-CN',
4
+ locale: trTR
5
+ };
6
+ export default dateTrTR;