naive-ui 2.21.4 → 2.23.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 (388) hide show
  1. package/es/_internal/close/src/styles/index.cssr.js +6 -5
  2. package/es/_internal/scrollbar/src/ScrollBar.d.ts +4 -0
  3. package/es/_internal/scrollbar/src/ScrollBar.js +5 -2
  4. package/es/_internal/selection/src/Selection.js +11 -9
  5. package/es/_internal/selection/src/styles/index.cssr.js +6 -2
  6. package/es/_utils/composable/use-houdini.js +10 -7
  7. package/es/alert/src/Alert.d.ts +20 -20
  8. package/es/alert/src/Alert.js +22 -22
  9. package/es/alert/src/styles/index.cssr.js +45 -45
  10. package/es/anchor/src/AnchorAdapter.js +12 -12
  11. package/es/anchor/src/styles/index.cssr.js +41 -41
  12. package/es/auto-complete/src/AutoComplete.d.ts +2 -2
  13. package/es/auto-complete/src/AutoComplete.js +2 -2
  14. package/es/auto-complete/src/styles/index.cssr.js +4 -4
  15. package/es/avatar/src/Avatar.d.ts +10 -8
  16. package/es/avatar/src/Avatar.js +11 -9
  17. package/es/avatar/src/styles/index.cssr.js +14 -16
  18. package/es/back-top/src/BackTop.d.ts +13 -13
  19. package/es/back-top/src/BackTop.js +13 -13
  20. package/es/back-top/src/styles/index.cssr.js +29 -29
  21. package/es/badge/src/Badge.d.ts +6 -6
  22. package/es/badge/src/Badge.js +6 -6
  23. package/es/badge/src/styles/index.cssr.js +15 -15
  24. package/es/button/src/Button.d.ts +43 -38
  25. package/es/button/src/Button.js +124 -116
  26. package/es/button/src/styles/button.cssr.js +83 -80
  27. package/es/button/styles/light.js +1 -1
  28. package/es/calendar/src/Calendar.d.ts +6 -0
  29. package/es/cascader/src/Cascader.d.ts +135 -0
  30. package/es/cascader/src/Cascader.js +2 -4
  31. package/es/cascader/src/CascaderMenu.d.ts +345 -0
  32. package/es/cascader/src/CascaderMenu.js +6 -5
  33. package/es/cascader/src/CascaderOption.d.ts +18 -0
  34. package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
  35. package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
  36. package/es/cascader/styles/dark.js +3 -1
  37. package/es/cascader/styles/light.d.ts +13 -0
  38. package/es/cascader/styles/light.js +3 -1
  39. package/es/config-provider/src/ConfigProvider.d.ts +18 -0
  40. package/es/data-table/src/DataTable.js +7 -13
  41. package/es/data-table/src/MainTable.js +2 -3
  42. package/es/data-table/src/TableParts/Body.d.ts +15 -4
  43. package/es/data-table/src/TableParts/Body.js +80 -28
  44. package/es/data-table/src/TableParts/Cell.js +2 -3
  45. package/es/data-table/src/TableParts/Header.js +2 -2
  46. package/es/data-table/src/interface.d.ts +4 -1
  47. package/es/data-table/src/styles/index.cssr.js +4 -3
  48. package/es/data-table/src/use-check.js +6 -2
  49. package/es/data-table/src/use-scroll.d.ts +2 -0
  50. package/es/data-table/src/use-scroll.js +34 -4
  51. package/es/data-table/src/use-table-data.js +3 -1
  52. package/es/data-table/styles/_common.js +1 -1
  53. package/es/date-picker/src/DatePicker.d.ts +30 -5
  54. package/es/date-picker/src/DatePicker.js +32 -9
  55. package/es/date-picker/src/config.d.ts +1 -9
  56. package/es/date-picker/src/config.js +0 -8
  57. package/es/date-picker/src/interface.d.ts +2 -1
  58. package/es/date-picker/src/panel/date.d.ts +17 -10
  59. package/es/date-picker/src/panel/date.js +2 -2
  60. package/es/date-picker/src/panel/daterange.d.ts +15 -9
  61. package/es/date-picker/src/panel/daterange.js +2 -2
  62. package/es/date-picker/src/panel/datetime.d.ts +17 -16
  63. package/es/date-picker/src/panel/datetime.js +2 -2
  64. package/es/date-picker/src/panel/datetimerange.d.ts +15 -9
  65. package/es/date-picker/src/panel/datetimerange.js +2 -2
  66. package/es/date-picker/src/panel/month.d.ts +21 -20
  67. package/es/date-picker/src/panel/month.js +23 -12
  68. package/es/date-picker/src/panel/use-calendar.d.ts +17 -39
  69. package/es/date-picker/src/panel/use-calendar.js +41 -23
  70. package/es/date-picker/src/panel/use-dual-calendar.d.ts +13 -36
  71. package/es/date-picker/src/panel/use-dual-calendar.js +35 -21
  72. package/es/date-picker/src/panel/use-panel-common.d.ts +13 -32
  73. package/es/date-picker/src/panel/use-panel-common.js +4 -8
  74. package/es/date-picker/src/utils.d.ts +19 -3
  75. package/es/date-picker/src/utils.js +40 -5
  76. package/es/date-picker/styles/_common.d.ts +2 -0
  77. package/es/date-picker/styles/_common.js +3 -1
  78. package/es/date-picker/styles/light.d.ts +4 -0
  79. package/es/dialog/src/Dialog.d.ts +21 -21
  80. package/es/dialog/src/Dialog.js +23 -23
  81. package/es/dialog/src/styles/index.cssr.js +45 -45
  82. package/es/divider/src/Divider.d.ts +4 -4
  83. package/es/divider/src/Divider.js +4 -4
  84. package/es/divider/src/styles/index.cssr.js +12 -12
  85. package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
  86. package/es/dynamic-tags/src/DynamicTags.js +1 -1
  87. package/es/dynamic-tags/src/styles/index.cssr.js +1 -1
  88. package/es/form/src/Form.d.ts +27 -27
  89. package/es/form/src/FormItem.d.ts +27 -27
  90. package/es/form/src/FormItemCol.d.ts +27 -27
  91. package/es/form/src/FormItemGridItem.d.ts +27 -27
  92. package/es/form/src/FormItemRow.d.ts +27 -27
  93. package/es/form/styles/_common.d.ts +0 -3
  94. package/es/form/styles/_common.js +0 -3
  95. package/es/form/styles/light.d.ts +3 -3
  96. package/es/form/styles/light.js +2 -2
  97. package/es/image/src/Image.js +8 -12
  98. package/es/input/src/Input.js +2 -0
  99. package/es/input-number/src/InputNumber.js +2 -0
  100. package/es/input-number/src/utils.js +1 -1
  101. package/es/locales/common/deDE.js +6 -0
  102. package/es/locales/common/enUS.d.ts +6 -0
  103. package/es/locales/common/enUS.js +7 -1
  104. package/es/locales/common/frFR.d.ts +3 -0
  105. package/es/locales/common/frFR.js +101 -0
  106. package/es/locales/common/idID.d.ts +2 -94
  107. package/es/locales/common/idID.js +6 -0
  108. package/es/locales/common/jaJP.js +6 -0
  109. package/es/locales/common/nbNO.js +6 -0
  110. package/es/locales/common/ruRU.js +6 -0
  111. package/es/locales/common/ukUA.js +6 -0
  112. package/es/locales/common/zhCN.js +6 -0
  113. package/es/locales/common/zhTW.d.ts +3 -0
  114. package/es/locales/common/zhTW.js +100 -0
  115. package/es/locales/date/frFR.d.ts +3 -0
  116. package/es/locales/date/frFR.js +6 -0
  117. package/es/locales/date/idID.d.ts +1 -6
  118. package/es/locales/date/zhTW.d.ts +3 -0
  119. package/es/locales/date/zhTW.js +6 -0
  120. package/es/locales/index.d.ts +4 -0
  121. package/es/locales/index.js +4 -0
  122. package/es/log/src/Log.d.ts +6 -6
  123. package/es/log/src/Log.js +6 -6
  124. package/es/log/src/styles/index.cssr.js +16 -18
  125. package/es/page-header/src/PageHeader.js +3 -3
  126. package/es/page-header/src/styles/index.cssr.js +2 -4
  127. package/es/popover/src/Popover.js +4 -1
  128. package/es/popover/src/PopoverBody.js +3 -3
  129. package/es/popselect/src/Popselect.d.ts +2 -11
  130. package/es/popselect/src/Popselect.js +2 -2
  131. package/es/popselect/src/PopselectPanel.d.ts +3 -11
  132. package/es/popselect/src/PopselectPanel.js +17 -11
  133. package/es/radio/src/Radio.js +3 -3
  134. package/es/radio/src/RadioButton.js +4 -5
  135. package/es/radio/src/styles/radio-group.cssr.js +8 -4
  136. package/es/radio/src/styles/radio.cssr.js +8 -4
  137. package/es/radio/src/use-radio.d.ts +0 -3
  138. package/es/radio/src/use-radio.js +1 -26
  139. package/es/steps/src/Step.d.ts +12 -12
  140. package/es/steps/src/Step.js +12 -12
  141. package/es/steps/src/styles/index.cssr.js +46 -46
  142. package/es/switch/src/Switch.d.ts +19 -19
  143. package/es/switch/src/Switch.js +26 -19
  144. package/es/switch/src/styles/index.cssr.js +59 -57
  145. package/es/tabs/src/styles/index.cssr.js +1 -0
  146. package/es/tag/src/Tag.d.ts +26 -26
  147. package/es/tag/src/Tag.js +26 -26
  148. package/es/tag/src/styles/index.cssr.js +55 -55
  149. package/es/tag/src/styles/rtl.cssr.js +1 -1
  150. package/es/time-picker/src/TimePicker.d.ts +17 -17
  151. package/es/time-picker/src/TimePicker.js +17 -17
  152. package/es/time-picker/src/styles/index.cssr.js +47 -47
  153. package/es/timeline/src/TimelineItem.d.ts +12 -12
  154. package/es/timeline/src/TimelineItem.js +12 -12
  155. package/es/timeline/src/styles/index.cssr.js +44 -44
  156. package/es/transfer/src/styles/index.cssr.js +9 -4
  157. package/es/tree/src/Tree.d.ts +11 -11
  158. package/es/tree/src/Tree.js +11 -11
  159. package/es/tree/src/dnd.js +2 -2
  160. package/es/tree/src/styles/index.cssr.js +33 -33
  161. package/es/tree-select/src/TreeSelect.d.ts +43 -6
  162. package/es/tree-select/src/TreeSelect.js +29 -14
  163. package/es/tree-select/src/styles/index.cssr.js +20 -11
  164. package/es/tree-select/styles/light.d.ts +6 -0
  165. package/es/tree-select/styles/light.js +5 -2
  166. package/es/typography/src/a.d.ts +2 -2
  167. package/es/typography/src/a.js +2 -2
  168. package/es/typography/src/blockquote.d.ts +5 -5
  169. package/es/typography/src/blockquote.js +5 -5
  170. package/es/typography/src/create-header.d.ts +8 -8
  171. package/es/typography/src/create-header.js +8 -8
  172. package/es/typography/src/headers.d.ts +48 -48
  173. package/es/typography/src/hr.d.ts +2 -1
  174. package/es/typography/src/hr.js +3 -1
  175. package/es/typography/src/ol.d.ts +7 -7
  176. package/es/typography/src/ol.js +7 -7
  177. package/es/typography/src/p.d.ts +5 -5
  178. package/es/typography/src/p.js +5 -5
  179. package/es/typography/src/styles/a.cssr.js +6 -6
  180. package/es/typography/src/styles/blockquote.cssr.js +11 -11
  181. package/es/typography/src/styles/header.cssr.js +19 -19
  182. package/es/typography/src/styles/hr.cssr.js +3 -3
  183. package/es/typography/src/styles/list.cssr.js +15 -15
  184. package/es/typography/src/styles/p.cssr.js +10 -10
  185. package/es/typography/src/styles/text.cssr.js +18 -18
  186. package/es/typography/src/text.d.ts +8 -7
  187. package/es/typography/src/text.js +9 -8
  188. package/es/typography/src/ul.d.ts +7 -7
  189. package/es/typography/src/ul.js +7 -7
  190. package/es/upload/src/Upload.js +16 -16
  191. package/es/upload/src/styles/index.cssr.js +36 -36
  192. package/es/version.d.ts +1 -1
  193. package/es/version.js +1 -1
  194. package/lib/_internal/close/src/styles/index.cssr.js +6 -5
  195. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +4 -0
  196. package/lib/_internal/scrollbar/src/ScrollBar.js +5 -2
  197. package/lib/_internal/selection/src/Selection.js +11 -9
  198. package/lib/_internal/selection/src/styles/index.cssr.js +6 -2
  199. package/lib/_utils/composable/use-houdini.js +10 -7
  200. package/lib/alert/src/Alert.d.ts +20 -20
  201. package/lib/alert/src/Alert.js +22 -22
  202. package/lib/alert/src/styles/index.cssr.js +45 -45
  203. package/lib/anchor/src/AnchorAdapter.js +12 -12
  204. package/lib/anchor/src/styles/index.cssr.js +41 -41
  205. package/lib/auto-complete/src/AutoComplete.d.ts +2 -2
  206. package/lib/auto-complete/src/AutoComplete.js +2 -2
  207. package/lib/auto-complete/src/styles/index.cssr.js +4 -4
  208. package/lib/avatar/src/Avatar.d.ts +10 -8
  209. package/lib/avatar/src/Avatar.js +11 -9
  210. package/lib/avatar/src/styles/index.cssr.js +14 -16
  211. package/lib/back-top/src/BackTop.d.ts +13 -13
  212. package/lib/back-top/src/BackTop.js +13 -13
  213. package/lib/back-top/src/styles/index.cssr.js +29 -29
  214. package/lib/badge/src/Badge.d.ts +6 -6
  215. package/lib/badge/src/Badge.js +6 -6
  216. package/lib/badge/src/styles/index.cssr.js +15 -15
  217. package/lib/button/src/Button.d.ts +43 -38
  218. package/lib/button/src/Button.js +123 -115
  219. package/lib/button/src/styles/button.cssr.js +83 -80
  220. package/lib/button/styles/light.js +1 -1
  221. package/lib/calendar/src/Calendar.d.ts +6 -0
  222. package/lib/cascader/src/Cascader.d.ts +135 -0
  223. package/lib/cascader/src/Cascader.js +2 -4
  224. package/lib/cascader/src/CascaderMenu.d.ts +345 -0
  225. package/lib/cascader/src/CascaderMenu.js +6 -5
  226. package/lib/cascader/src/CascaderOption.d.ts +18 -0
  227. package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
  228. package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
  229. package/lib/cascader/styles/dark.js +3 -1
  230. package/lib/cascader/styles/light.d.ts +13 -0
  231. package/lib/cascader/styles/light.js +3 -1
  232. package/lib/config-provider/src/ConfigProvider.d.ts +18 -0
  233. package/lib/data-table/src/DataTable.js +6 -12
  234. package/lib/data-table/src/MainTable.js +1 -2
  235. package/lib/data-table/src/TableParts/Body.d.ts +15 -4
  236. package/lib/data-table/src/TableParts/Body.js +78 -26
  237. package/lib/data-table/src/TableParts/Cell.js +2 -3
  238. package/lib/data-table/src/TableParts/Header.js +2 -2
  239. package/lib/data-table/src/interface.d.ts +4 -1
  240. package/lib/data-table/src/styles/index.cssr.js +4 -3
  241. package/lib/data-table/src/use-check.js +6 -2
  242. package/lib/data-table/src/use-scroll.d.ts +2 -0
  243. package/lib/data-table/src/use-scroll.js +34 -4
  244. package/lib/data-table/src/use-table-data.js +3 -1
  245. package/lib/data-table/styles/_common.js +1 -1
  246. package/lib/date-picker/src/DatePicker.d.ts +30 -5
  247. package/lib/date-picker/src/DatePicker.js +31 -8
  248. package/lib/date-picker/src/config.d.ts +1 -9
  249. package/lib/date-picker/src/config.js +1 -9
  250. package/lib/date-picker/src/interface.d.ts +2 -1
  251. package/lib/date-picker/src/panel/date.d.ts +17 -10
  252. package/lib/date-picker/src/panel/date.js +1 -1
  253. package/lib/date-picker/src/panel/daterange.d.ts +15 -9
  254. package/lib/date-picker/src/panel/daterange.js +1 -1
  255. package/lib/date-picker/src/panel/datetime.d.ts +17 -16
  256. package/lib/date-picker/src/panel/datetime.js +1 -1
  257. package/lib/date-picker/src/panel/datetimerange.d.ts +15 -9
  258. package/lib/date-picker/src/panel/datetimerange.js +2 -2
  259. package/lib/date-picker/src/panel/month.d.ts +21 -20
  260. package/lib/date-picker/src/panel/month.js +23 -12
  261. package/lib/date-picker/src/panel/use-calendar.d.ts +17 -39
  262. package/lib/date-picker/src/panel/use-calendar.js +40 -21
  263. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +13 -36
  264. package/lib/date-picker/src/panel/use-dual-calendar.js +34 -19
  265. package/lib/date-picker/src/panel/use-panel-common.d.ts +13 -32
  266. package/lib/date-picker/src/panel/use-panel-common.js +5 -8
  267. package/lib/date-picker/src/utils.d.ts +19 -3
  268. package/lib/date-picker/src/utils.js +41 -4
  269. package/lib/date-picker/styles/_common.d.ts +2 -0
  270. package/lib/date-picker/styles/_common.js +3 -1
  271. package/lib/date-picker/styles/light.d.ts +4 -0
  272. package/lib/dialog/src/Dialog.d.ts +21 -21
  273. package/lib/dialog/src/Dialog.js +23 -23
  274. package/lib/dialog/src/styles/index.cssr.js +45 -45
  275. package/lib/divider/src/Divider.d.ts +4 -4
  276. package/lib/divider/src/Divider.js +4 -4
  277. package/lib/divider/src/styles/index.cssr.js +12 -12
  278. package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
  279. package/lib/dynamic-tags/src/DynamicTags.js +1 -1
  280. package/lib/dynamic-tags/src/styles/index.cssr.js +1 -1
  281. package/lib/form/src/Form.d.ts +27 -27
  282. package/lib/form/src/FormItem.d.ts +27 -27
  283. package/lib/form/src/FormItemCol.d.ts +27 -27
  284. package/lib/form/src/FormItemGridItem.d.ts +27 -27
  285. package/lib/form/src/FormItemRow.d.ts +27 -27
  286. package/lib/form/styles/_common.d.ts +0 -3
  287. package/lib/form/styles/_common.js +0 -3
  288. package/lib/form/styles/light.d.ts +3 -3
  289. package/lib/form/styles/light.js +2 -2
  290. package/lib/image/src/Image.js +7 -11
  291. package/lib/input/src/Input.js +2 -0
  292. package/lib/input-number/src/InputNumber.js +2 -0
  293. package/lib/input-number/src/utils.js +1 -1
  294. package/lib/locales/common/deDE.js +6 -0
  295. package/lib/locales/common/enUS.d.ts +6 -0
  296. package/lib/locales/common/enUS.js +7 -1
  297. package/lib/locales/common/frFR.d.ts +3 -0
  298. package/lib/locales/common/frFR.js +103 -0
  299. package/lib/locales/common/idID.d.ts +2 -94
  300. package/lib/locales/common/idID.js +6 -0
  301. package/lib/locales/common/jaJP.js +6 -0
  302. package/lib/locales/common/nbNO.js +6 -0
  303. package/lib/locales/common/ruRU.js +6 -0
  304. package/lib/locales/common/ukUA.js +6 -0
  305. package/lib/locales/common/zhCN.js +6 -0
  306. package/lib/locales/common/zhTW.d.ts +3 -0
  307. package/lib/locales/common/zhTW.js +102 -0
  308. package/lib/locales/date/frFR.d.ts +3 -0
  309. package/lib/locales/date/frFR.js +11 -0
  310. package/lib/locales/date/idID.d.ts +1 -6
  311. package/lib/locales/date/zhTW.d.ts +3 -0
  312. package/lib/locales/date/zhTW.js +11 -0
  313. package/lib/locales/index.d.ts +4 -0
  314. package/lib/locales/index.js +9 -1
  315. package/lib/log/src/Log.d.ts +6 -6
  316. package/lib/log/src/Log.js +6 -6
  317. package/lib/log/src/styles/index.cssr.js +16 -18
  318. package/lib/page-header/src/PageHeader.js +3 -3
  319. package/lib/page-header/src/styles/index.cssr.js +2 -4
  320. package/lib/popover/src/Popover.js +4 -1
  321. package/lib/popover/src/PopoverBody.js +3 -3
  322. package/lib/popselect/src/Popselect.d.ts +2 -11
  323. package/lib/popselect/src/Popselect.js +2 -2
  324. package/lib/popselect/src/PopselectPanel.d.ts +3 -11
  325. package/lib/popselect/src/PopselectPanel.js +16 -10
  326. package/lib/radio/src/Radio.js +3 -3
  327. package/lib/radio/src/RadioButton.js +4 -5
  328. package/lib/radio/src/styles/radio-group.cssr.js +8 -4
  329. package/lib/radio/src/styles/radio.cssr.js +8 -4
  330. package/lib/radio/src/use-radio.d.ts +0 -3
  331. package/lib/radio/src/use-radio.js +1 -26
  332. package/lib/steps/src/Step.d.ts +12 -12
  333. package/lib/steps/src/Step.js +12 -12
  334. package/lib/steps/src/styles/index.cssr.js +46 -46
  335. package/lib/switch/src/Switch.d.ts +19 -19
  336. package/lib/switch/src/Switch.js +26 -19
  337. package/lib/switch/src/styles/index.cssr.js +59 -57
  338. package/lib/tabs/src/styles/index.cssr.js +1 -0
  339. package/lib/tag/src/Tag.d.ts +26 -26
  340. package/lib/tag/src/Tag.js +26 -26
  341. package/lib/tag/src/styles/index.cssr.js +55 -55
  342. package/lib/tag/src/styles/rtl.cssr.js +1 -1
  343. package/lib/time-picker/src/TimePicker.d.ts +17 -17
  344. package/lib/time-picker/src/TimePicker.js +17 -17
  345. package/lib/time-picker/src/styles/index.cssr.js +47 -47
  346. package/lib/timeline/src/TimelineItem.d.ts +12 -12
  347. package/lib/timeline/src/TimelineItem.js +12 -12
  348. package/lib/timeline/src/styles/index.cssr.js +44 -44
  349. package/lib/transfer/src/styles/index.cssr.js +9 -4
  350. package/lib/tree/src/Tree.d.ts +11 -11
  351. package/lib/tree/src/Tree.js +11 -11
  352. package/lib/tree/src/dnd.js +2 -2
  353. package/lib/tree/src/styles/index.cssr.js +33 -33
  354. package/lib/tree-select/src/TreeSelect.d.ts +43 -6
  355. package/lib/tree-select/src/TreeSelect.js +28 -13
  356. package/lib/tree-select/src/styles/index.cssr.js +20 -11
  357. package/lib/tree-select/styles/light.d.ts +6 -0
  358. package/lib/tree-select/styles/light.js +5 -2
  359. package/lib/typography/src/a.d.ts +2 -2
  360. package/lib/typography/src/a.js +2 -2
  361. package/lib/typography/src/blockquote.d.ts +5 -5
  362. package/lib/typography/src/blockquote.js +5 -5
  363. package/lib/typography/src/create-header.d.ts +8 -8
  364. package/lib/typography/src/create-header.js +8 -8
  365. package/lib/typography/src/headers.d.ts +48 -48
  366. package/lib/typography/src/hr.d.ts +2 -1
  367. package/lib/typography/src/hr.js +3 -1
  368. package/lib/typography/src/ol.d.ts +7 -7
  369. package/lib/typography/src/ol.js +7 -7
  370. package/lib/typography/src/p.d.ts +5 -5
  371. package/lib/typography/src/p.js +5 -5
  372. package/lib/typography/src/styles/a.cssr.js +6 -6
  373. package/lib/typography/src/styles/blockquote.cssr.js +11 -11
  374. package/lib/typography/src/styles/header.cssr.js +19 -19
  375. package/lib/typography/src/styles/hr.cssr.js +3 -3
  376. package/lib/typography/src/styles/list.cssr.js +15 -15
  377. package/lib/typography/src/styles/p.cssr.js +10 -10
  378. package/lib/typography/src/styles/text.cssr.js +18 -18
  379. package/lib/typography/src/text.d.ts +8 -7
  380. package/lib/typography/src/text.js +9 -8
  381. package/lib/typography/src/ul.d.ts +7 -7
  382. package/lib/typography/src/ul.js +7 -7
  383. package/lib/upload/src/Upload.js +16 -16
  384. package/lib/upload/src/styles/index.cssr.js +36 -36
  385. package/lib/version.d.ts +1 -1
  386. package/lib/version.js +1 -1
  387. package/package.json +29 -28
  388. package/web-types.json +25 -7
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
- blankHeightSmall: '28px',
5
- blankHeightMedium: '34px',
6
- blankHeightLarge: '40px',
7
4
  feedbackPadding: '4px 0 0 2px',
8
5
  feedbackHeightSmall: '24px',
9
6
  feedbackHeightMedium: '24px',
@@ -1,15 +1,15 @@
1
1
  import type { ThemeCommonVars } from '../../_styles/common';
2
2
  import type { Theme } from '../../_mixins';
3
3
  export declare const self: (vars: ThemeCommonVars) => {
4
+ blankHeightSmall: string;
5
+ blankHeightMedium: string;
6
+ blankHeightLarge: string;
4
7
  lineHeight: string;
5
8
  labelTextColor: string;
6
9
  asteriskColor: string;
7
10
  feedbackTextColorError: string;
8
11
  feedbackTextColorWarning: string;
9
12
  feedbackTextColor: string;
10
- blankHeightSmall: string;
11
- blankHeightMedium: string;
12
- blankHeightLarge: string;
13
13
  feedbackPadding: string;
14
14
  feedbackHeightSmall: string;
15
15
  feedbackHeightMedium: string;
@@ -7,8 +7,8 @@ exports.self = void 0;
7
7
  const common_1 = require("../../_styles/common");
8
8
  const _common_1 = __importDefault(require("./_common"));
9
9
  const self = (vars) => {
10
- const { textColor1, errorColor, warningColor, lineHeight, textColor3 } = vars;
11
- return Object.assign(Object.assign({}, _common_1.default), { lineHeight, labelTextColor: textColor1, asteriskColor: errorColor, feedbackTextColorError: errorColor, feedbackTextColorWarning: warningColor, feedbackTextColor: textColor3 });
10
+ const { heightSmall, heightMedium, heightLarge, textColor1, errorColor, warningColor, lineHeight, textColor3 } = vars;
11
+ return Object.assign(Object.assign({}, _common_1.default), { blankHeightSmall: heightSmall, blankHeightMedium: heightMedium, blankHeightLarge: heightLarge, lineHeight, labelTextColor: textColor1, asteriskColor: errorColor, feedbackTextColorError: errorColor, feedbackTextColorWarning: warningColor, feedbackTextColor: textColor3 });
12
12
  };
13
13
  exports.self = self;
14
14
  const formLight = {
@@ -74,19 +74,15 @@ exports.default = (0, vue_1.defineComponent)({
74
74
  } }, exposedMethods);
75
75
  },
76
76
  render() {
77
- const { mergedClsPrefix, imgProps = {} } = this;
78
- const imgWrapperNode = (0, vue_1.h)('div', (0, vue_1.mergeProps)(this.$attrs, {
79
- role: 'none',
80
- class: [
77
+ const { mergedClsPrefix, imgProps = {}, $attrs } = this;
78
+ const imgNode = ((0, vue_1.h)("img", Object.assign({}, imgProps, { class: [this.groupId, imgProps.class], ref: "imageRef", width: this.width || imgProps.width, height: this.height || imgProps.height, src: this.showError ? this.fallbackSrc : this.src || imgProps.src, alt: this.alt || imgProps.alt, "aria-label": this.alt || imgProps.alt, onClick: this.click, onError: this.mergedOnError, onLoad: this.mergedOnLoad, style: [imgProps.style || '', { objectFit: this.objectFit }], "data-error": this.showError, "data-preview-src": this.previewSrc || this.src })));
79
+ return ((0, vue_1.h)("div", Object.assign({}, $attrs, { role: "none", class: [
80
+ $attrs.class,
81
81
  `${mergedClsPrefix}-image`,
82
82
  (this.previewDisabled || this.showError) &&
83
83
  `${mergedClsPrefix}-image--preview-disabled`
84
- ]
85
- }), [
86
- (0, vue_1.h)("img", Object.assign({}, imgProps, { class: [this.groupId, imgProps.class], ref: "imageRef", width: this.width || imgProps.width, height: this.height || imgProps.height, src: this.showError ? this.fallbackSrc : this.src || imgProps.src, alt: this.alt || imgProps.alt, "aria-label": this.alt || imgProps.alt, onClick: this.click, onError: this.mergedOnError, onLoad: this.mergedOnLoad, style: [imgProps.style || '', { objectFit: this.objectFit }], "data-error": this.showError, "data-preview-src": this.previewSrc || this.src }))
87
- ]);
88
- return this.groupId ? (imgWrapperNode) : ((0, vue_1.h)(ImagePreview_1.default, { clsPrefix: mergedClsPrefix, ref: "previewInstRef", showToolbar: this.showToolbar }, {
89
- default: () => imgWrapperNode
90
- }));
84
+ ] }), this.groupId ? (imgNode) : ((0, vue_1.h)(ImagePreview_1.default, { clsPrefix: mergedClsPrefix, ref: "previewInstRef", showToolbar: this.showToolbar }, {
85
+ default: () => imgNode
86
+ }))));
91
87
  }
92
88
  });
@@ -395,9 +395,11 @@ exports.default = (0, vue_1.defineComponent)({
395
395
  doClear(e);
396
396
  if (props.pair) {
397
397
  doUpdateValue(['', '']);
398
+ doChange(['', '']);
398
399
  }
399
400
  else {
400
401
  doUpdateValue('');
402
+ doChange('');
401
403
  }
402
404
  }
403
405
  function handleMouseDown(e) {
@@ -314,6 +314,7 @@ exports.default = (0, vue_1.defineComponent)({
314
314
  else if (e.code === 'ArrowUp') {
315
315
  if (props.keyboard.ArrowUp === false)
316
316
  return;
317
+ e.preventDefault();
317
318
  const value = deriveValueFromDisplayedValue();
318
319
  if (value !== false) {
319
320
  doAdd();
@@ -322,6 +323,7 @@ exports.default = (0, vue_1.defineComponent)({
322
323
  else if (e.code === 'ArrowDown') {
323
324
  if (props.keyboard.ArrowDown === false)
324
325
  return;
326
+ e.preventDefault();
325
327
  const value = deriveValueFromDisplayedValue();
326
328
  if (value !== false) {
327
329
  doMinus();
@@ -14,7 +14,7 @@ function parse(value) {
14
14
  exports.parse = parse;
15
15
  // can be parsed to number but shouldn't be applied when inputing
16
16
  function isWipValue(value) {
17
- return /^\d+\.$/.test(value) || /^\.\d+$/.test(value);
17
+ return /^(-)?\d+\.$/.test(value) || /^\.\d+$/.test(value);
18
18
  }
19
19
  exports.isWipValue = isWipValue;
20
20
  // string => boolean (expected, not implemented)
@@ -24,6 +24,11 @@ const deDE = {
24
24
  yearFormat: 'yyyy',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'MM-yyyy',
29
+ dateFormat: 'dd-MM-yyyy',
30
+ dateTimeFormat: 'dd-MM-yyyy HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: 'Löschen',
28
33
  now: 'Jetzt',
29
34
  confirm: 'Bestätigen',
@@ -34,6 +39,7 @@ const deDE = {
34
39
  monthPlaceholder: 'Monat auswählen',
35
40
  // FIXME: translation needed
36
41
  yearPlaceholder: 'Select Year',
42
+ quarterPlaceholder: 'Select Quarter',
37
43
  startDatePlaceholder: 'Anfangsdatum',
38
44
  endDatePlaceholder: 'Enddatum',
39
45
  startDatetimePlaceholder: 'Anfangsdatum und Uhrzeit',
@@ -22,6 +22,11 @@ declare const enUS: {
22
22
  yearFormat: string;
23
23
  monthFormat: string;
24
24
  dayFormat: string;
25
+ yearTypeFormat: string;
26
+ monthTypeFormat: string;
27
+ dateFormat: string;
28
+ dateTimeFormat: string;
29
+ quarterFormat: string;
25
30
  clear: string;
26
31
  now: string;
27
32
  confirm: string;
@@ -31,6 +36,7 @@ declare const enUS: {
31
36
  datetimePlaceholder: string;
32
37
  monthPlaceholder: string;
33
38
  yearPlaceholder: string;
39
+ quarterPlaceholder: string;
34
40
  startDatePlaceholder: string;
35
41
  endDatePlaceholder: string;
36
42
  startDatetimePlaceholder: string;
@@ -14,7 +14,7 @@ const enUS = {
14
14
  Cascader: {
15
15
  placeholder: 'Please Select',
16
16
  loading: 'Loading',
17
- loadingRequiredMessage: (label) => `Please load all ${label}'s descedants before checking it.`
17
+ loadingRequiredMessage: (label) => `Please load all ${label}'s descendants before checking it.`
18
18
  },
19
19
  Time: {
20
20
  dateFormat: 'yyyy-MM-dd',
@@ -24,6 +24,11 @@ const enUS = {
24
24
  yearFormat: 'yyyy',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: 'Clear',
28
33
  now: 'Now',
29
34
  confirm: 'Confirm',
@@ -33,6 +38,7 @@ const enUS = {
33
38
  datetimePlaceholder: 'Select Date and Time',
34
39
  monthPlaceholder: 'Select Month',
35
40
  yearPlaceholder: 'Select Year',
41
+ quarterPlaceholder: 'Select Quarter',
36
42
  startDatePlaceholder: 'Start Date',
37
43
  endDatePlaceholder: 'End Date',
38
44
  startDatetimePlaceholder: 'Start Date and Time',
@@ -0,0 +1,3 @@
1
+ import type { NLocale } from './enUS';
2
+ declare const frFR: NLocale;
3
+ export default frFR;
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const frFR = {
4
+ name: 'fr-FR',
5
+ global: {
6
+ undo: 'Défaire',
7
+ redo: 'Refaire',
8
+ confirm: 'Confirmer'
9
+ },
10
+ Popconfirm: {
11
+ positiveText: 'Confirmer',
12
+ negativeText: 'Annuler'
13
+ },
14
+ Cascader: {
15
+ placeholder: 'Sélectionner',
16
+ loading: 'Chargement',
17
+ loadingRequiredMessage: (label) => `Charger tous les enfants de ${label} avant de le sélectionner`
18
+ },
19
+ Time: {
20
+ dateFormat: 'dd-MM-yyyy',
21
+ dateTimeFormat: 'dd-MM-yyyy HH:mm:ss'
22
+ },
23
+ DatePicker: {
24
+ yearFormat: 'yyyy',
25
+ monthFormat: 'MMM',
26
+ dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'MM-yyyy',
29
+ dateFormat: 'dd-MM-yyyy',
30
+ dateTimeFormat: 'dd-MM-yyyy HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
32
+ clear: 'Effacer',
33
+ now: 'Maintenant',
34
+ confirm: 'Confirmer',
35
+ selectTime: "Sélectionner l'heure",
36
+ selectDate: 'Sélectionner la date',
37
+ datePlaceholder: 'Sélectionner la date',
38
+ datetimePlaceholder: "Sélectionner la date et l'heure",
39
+ monthPlaceholder: 'Sélectionner le mois',
40
+ yearPlaceholder: "Sélectionner l'année",
41
+ // FIXME: translation needed
42
+ quarterPlaceholder: 'Select Quarter',
43
+ startDatePlaceholder: 'Date de début',
44
+ endDatePlaceholder: 'Date de fin',
45
+ startDatetimePlaceholder: 'Date et heure de début',
46
+ endDatetimePlaceholder: 'Date et heure de fin',
47
+ monthBeforeYear: true,
48
+ firstDayOfWeek: 1,
49
+ today: "Aujourd'hui"
50
+ },
51
+ DataTable: {
52
+ checkTableAll: 'Sélectionner tout',
53
+ uncheckTableAll: 'Désélectionner tout',
54
+ confirm: 'Confirmer',
55
+ clear: 'Effacer'
56
+ },
57
+ Transfer: {
58
+ sourceTitle: 'Source',
59
+ targetTitle: 'Cible'
60
+ },
61
+ Empty: {
62
+ description: 'Aucune donnée'
63
+ },
64
+ Select: {
65
+ placeholder: 'Sélectionner'
66
+ },
67
+ TimePicker: {
68
+ placeholder: "Sélectionner l'heure",
69
+ positiveText: 'OK',
70
+ negativeText: 'Annuler',
71
+ now: 'Maintenant'
72
+ },
73
+ Pagination: {
74
+ goto: 'Aller à',
75
+ selectionSuffix: 'page'
76
+ },
77
+ DynamicTags: {
78
+ add: 'Ajouter'
79
+ },
80
+ Log: {
81
+ loading: 'Chargement'
82
+ },
83
+ Input: {
84
+ placeholder: 'Saisir'
85
+ },
86
+ InputNumber: {
87
+ placeholder: 'Saisir'
88
+ },
89
+ DynamicInput: {
90
+ create: 'Créer'
91
+ },
92
+ ThemeEditor: {
93
+ title: 'Editeur de thème',
94
+ clearAllVars: 'Effacer toutes les variables',
95
+ clearSearch: 'Effacer la recherche',
96
+ filterCompName: 'Filtrer par nom de composant',
97
+ filterVarName: 'Filtrer par nom de variable',
98
+ import: 'Importer',
99
+ export: 'Exporter',
100
+ restore: 'Réinitialiser'
101
+ }
102
+ };
103
+ exports.default = frFR;
@@ -1,95 +1,3 @@
1
- declare const idID: {
2
- name: string;
3
- global: {
4
- undo: string;
5
- redo: string;
6
- confirm: string;
7
- };
8
- Popconfirm: {
9
- positiveText: string;
10
- negativeText: string;
11
- };
12
- Cascader: {
13
- placeholder: string;
14
- loading: string;
15
- loadingRequiredMessage: (label: string) => string;
16
- };
17
- Time: {
18
- dateFormat: string;
19
- dateTimeFormat: string;
20
- };
21
- DatePicker: {
22
- yearFormat: string;
23
- monthFormat: string;
24
- dayFormat: string;
25
- clear: string;
26
- now: string;
27
- confirm: string;
28
- selectTime: string;
29
- selectDate: string;
30
- datePlaceholder: string;
31
- datetimePlaceholder: string;
32
- monthPlaceholder: string;
33
- yearPlaceholder: string;
34
- startDatePlaceholder: string;
35
- endDatePlaceholder: string;
36
- startDatetimePlaceholder: string;
37
- endDatetimePlaceholder: string;
38
- monthBeforeYear: boolean;
39
- firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 5 | 6;
40
- today: string;
41
- };
42
- DataTable: {
43
- checkTableAll: string;
44
- uncheckTableAll: string;
45
- confirm: string;
46
- clear: string;
47
- };
48
- Transfer: {
49
- sourceTitle: string;
50
- targetTitle: string;
51
- };
52
- Empty: {
53
- description: string;
54
- };
55
- Select: {
56
- placeholder: string;
57
- };
58
- TimePicker: {
59
- placeholder: string;
60
- positiveText: string;
61
- negativeText: string;
62
- now: string;
63
- };
64
- Pagination: {
65
- goto: string;
66
- selectionSuffix: string;
67
- };
68
- DynamicTags: {
69
- add: string;
70
- };
71
- Log: {
72
- loading: string;
73
- };
74
- Input: {
75
- placeholder: string;
76
- };
77
- InputNumber: {
78
- placeholder: string;
79
- };
80
- DynamicInput: {
81
- create: string;
82
- };
83
- ThemeEditor: {
84
- title: string;
85
- clearAllVars: string;
86
- clearSearch: string;
87
- filterCompName: string;
88
- filterVarName: string;
89
- import: string;
90
- export: string;
91
- restore: string;
92
- };
93
- };
94
- export declare type NLocale = typeof idID;
1
+ import type { NLocale } from './enUS';
2
+ declare const idID: NLocale;
95
3
  export default idID;
@@ -24,6 +24,11 @@ const idID = {
24
24
  yearFormat: 'yyyy',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'MM-yyyy',
29
+ dateFormat: 'dd-MM-yyyy',
30
+ dateTimeFormat: 'dd-MM-yyyy HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: 'Bersihkan',
28
33
  now: 'Sekarang',
29
34
  confirm: 'Setuju',
@@ -34,6 +39,7 @@ const idID = {
34
39
  monthPlaceholder: 'Pilih Bulan',
35
40
  // FIXME: translation needed
36
41
  yearPlaceholder: 'Select Year',
42
+ quarterPlaceholder: 'Select Quarter',
37
43
  startDatePlaceholder: 'Tanggal Mulai',
38
44
  endDatePlaceholder: 'Tanggal Selesai',
39
45
  startDatetimePlaceholder: 'Tanggal dan Waktu Mulai',
@@ -24,6 +24,11 @@ const jaJP = {
24
24
  yearFormat: 'yyyy年',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: 'クリア',
28
33
  now: '現在',
29
34
  confirm: 'OK',
@@ -34,6 +39,7 @@ const jaJP = {
34
39
  monthPlaceholder: '月を選択',
35
40
  // FIXME: translation needed
36
41
  yearPlaceholder: 'Select Year',
42
+ quarterPlaceholder: 'Select Quarter',
37
43
  startDatePlaceholder: '開始日',
38
44
  endDatePlaceholder: '終了日',
39
45
  startDatetimePlaceholder: '開始時間',
@@ -24,6 +24,11 @@ const nbNO = {
24
24
  yearFormat: 'yyyy',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'MM.yyyy',
29
+ dateFormat: 'dd.MM.yyyy',
30
+ dateTimeFormat: 'dd.MM.yyyy HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: 'Tøm',
28
33
  now: 'Nå',
29
34
  confirm: 'Bekreft',
@@ -34,6 +39,7 @@ const nbNO = {
34
39
  monthPlaceholder: 'Velg måned',
35
40
  // FIXME: translation needed
36
41
  yearPlaceholder: 'Select Year',
42
+ quarterPlaceholder: 'Select Quarter',
37
43
  startDatePlaceholder: 'Startdato',
38
44
  endDatePlaceholder: 'Sluttdato',
39
45
  startDatetimePlaceholder: 'Startdato og -tid',
@@ -24,6 +24,11 @@ const ruRu = {
24
24
  yearFormat: 'yyyy',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: 'Очистить',
28
33
  now: 'Сейчас',
29
34
  confirm: 'Подтвердить',
@@ -34,6 +39,7 @@ const ruRu = {
34
39
  monthPlaceholder: 'Выберите месяц',
35
40
  // FIXME: translation needed
36
41
  yearPlaceholder: 'Select Year',
42
+ quarterPlaceholder: 'Select Quarter',
37
43
  startDatePlaceholder: 'Дата начала',
38
44
  endDatePlaceholder: 'Дата окончания',
39
45
  startDatetimePlaceholder: 'Дата и время начала',
@@ -24,6 +24,11 @@ const ukUA = {
24
24
  yearFormat: 'yyyy',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: 'Стерти',
28
33
  now: 'Зараз',
29
34
  confirm: 'Підтвердити',
@@ -34,6 +39,7 @@ const ukUA = {
34
39
  monthPlaceholder: 'Виберіть місяць',
35
40
  // FIXME: translation needed
36
41
  yearPlaceholder: 'Select Year',
42
+ quarterPlaceholder: 'Select Quarter',
37
43
  startDatePlaceholder: 'Дата початку',
38
44
  endDatePlaceholder: 'Дата завершення',
39
45
  startDatetimePlaceholder: 'Дата і час початку',
@@ -24,6 +24,11 @@ const zhCN = {
24
24
  yearFormat: 'yyyy年',
25
25
  monthFormat: 'MMM',
26
26
  dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
27
32
  clear: '清除',
28
33
  now: '此刻',
29
34
  confirm: '确认',
@@ -33,6 +38,7 @@ const zhCN = {
33
38
  datetimePlaceholder: '选择日期时间',
34
39
  monthPlaceholder: '选择月份',
35
40
  yearPlaceholder: '选择年份',
41
+ quarterPlaceholder: '选择季度',
36
42
  startDatePlaceholder: '开始日期',
37
43
  endDatePlaceholder: '结束日期',
38
44
  startDatetimePlaceholder: '开始日期时间',
@@ -0,0 +1,3 @@
1
+ import type { NLocale } from './enUS';
2
+ declare const zhTW: NLocale;
3
+ export default zhTW;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const zhTW = {
4
+ name: 'zh-TW',
5
+ global: {
6
+ undo: '撤銷',
7
+ redo: '重做',
8
+ confirm: '確認'
9
+ },
10
+ Popconfirm: {
11
+ positiveText: '確認',
12
+ negativeText: '取消'
13
+ },
14
+ Cascader: {
15
+ placeholder: '請選擇',
16
+ loading: '載入中',
17
+ loadingRequiredMessage: (label) => `載入全部 ${label} 的子節點後才可選中`
18
+ },
19
+ Time: {
20
+ dateFormat: 'yyyy-MM-dd',
21
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
22
+ },
23
+ DatePicker: {
24
+ yearFormat: 'yyyy年',
25
+ monthFormat: 'MMM',
26
+ dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
32
+ clear: '清除',
33
+ now: '此刻',
34
+ confirm: '確認',
35
+ selectTime: '選擇時間',
36
+ selectDate: '選擇日期',
37
+ datePlaceholder: '選擇日期',
38
+ datetimePlaceholder: '選擇日期時間',
39
+ monthPlaceholder: '選擇月份',
40
+ yearPlaceholder: '選擇年份',
41
+ quarterPlaceholder: '選擇季度',
42
+ startDatePlaceholder: '開始日期',
43
+ endDatePlaceholder: '結束日期',
44
+ startDatetimePlaceholder: '開始日期時間',
45
+ endDatetimePlaceholder: '結束日期時間',
46
+ monthBeforeYear: false,
47
+ firstDayOfWeek: 0,
48
+ today: '今天'
49
+ },
50
+ DataTable: {
51
+ checkTableAll: '選擇全部表格資料',
52
+ uncheckTableAll: '取消選擇全部表格資料',
53
+ confirm: '確認',
54
+ clear: '重置'
55
+ },
56
+ Transfer: {
57
+ sourceTitle: '源項',
58
+ targetTitle: '目標項'
59
+ },
60
+ Empty: {
61
+ description: '無數據'
62
+ },
63
+ Select: {
64
+ placeholder: '請選擇'
65
+ },
66
+ TimePicker: {
67
+ placeholder: '請選擇時間',
68
+ positiveText: '確認',
69
+ negativeText: '取消',
70
+ now: '此刻'
71
+ },
72
+ Pagination: {
73
+ goto: '跳至',
74
+ selectionSuffix: '頁'
75
+ },
76
+ DynamicTags: {
77
+ add: '添加'
78
+ },
79
+ Log: {
80
+ loading: '載入中'
81
+ },
82
+ Input: {
83
+ placeholder: '請輸入'
84
+ },
85
+ InputNumber: {
86
+ placeholder: '請輸入'
87
+ },
88
+ DynamicInput: {
89
+ create: '添加'
90
+ },
91
+ ThemeEditor: {
92
+ title: '主題編輯器',
93
+ clearAllVars: '清除全部變數',
94
+ clearSearch: '清除搜索',
95
+ filterCompName: '過濾組件名',
96
+ filterVarName: '過濾變數名',
97
+ import: '導入',
98
+ export: '匯出',
99
+ restore: '恢復默認'
100
+ }
101
+ };
102
+ exports.default = zhTW;
@@ -0,0 +1,3 @@
1
+ import { NDateLocale } from './enUS';
2
+ declare const dateFrFR: NDateLocale;
3
+ export default dateFrFR;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const fr_1 = __importDefault(require("date-fns/locale/fr"));
7
+ const dateFrFR = {
8
+ name: 'fr-FR',
9
+ locale: fr_1.default
10
+ };
11
+ exports.default = dateFrFR;
@@ -1,8 +1,3 @@
1
- import type { Locale } from 'date-fns';
2
- interface NDateLocale {
3
- name: string;
4
- locale: Locale;
5
- }
1
+ import { NDateLocale } from './enUS';
6
2
  declare const dateIdID: NDateLocale;
7
- export { NDateLocale };
8
3
  export default dateIdID;
@@ -0,0 +1,3 @@
1
+ import { NDateLocale } from './enUS';
2
+ declare const datezhTW: NDateLocale;
3
+ export default datezhTW;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const zh_TW_1 = __importDefault(require("date-fns/locale/zh-TW"));
7
+ const datezhTW = {
8
+ name: 'zh-TW',
9
+ locale: zh_TW_1.default
10
+ };
11
+ exports.default = datezhTW;