@mui/material 7.3.2 → 7.3.3

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 (274) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/CircularProgress/CircularProgress.d.ts +6 -0
  3. package/CircularProgress/CircularProgress.js +31 -4
  4. package/CircularProgress/circularProgressClasses.d.ts +2 -0
  5. package/CircularProgress/circularProgressClasses.js +1 -1
  6. package/Divider/Divider.js +1 -1
  7. package/MenuItem/MenuItem.js +1 -1
  8. package/SnackbarContent/SnackbarContent.js +1 -1
  9. package/Tabs/Tabs.js +5 -0
  10. package/TextField/TextField.js +1 -1
  11. package/esm/CircularProgress/CircularProgress.d.ts +6 -0
  12. package/esm/CircularProgress/CircularProgress.js +32 -5
  13. package/esm/CircularProgress/circularProgressClasses.d.ts +2 -0
  14. package/esm/CircularProgress/circularProgressClasses.js +1 -1
  15. package/esm/Divider/Divider.js +1 -1
  16. package/esm/MenuItem/MenuItem.js +1 -1
  17. package/esm/SnackbarContent/SnackbarContent.js +1 -1
  18. package/esm/Tabs/Tabs.js +5 -0
  19. package/esm/TextField/TextField.js +1 -1
  20. package/esm/index.js +1 -1
  21. package/esm/locale/amET.d.ts +2 -0
  22. package/esm/locale/amET.js +73 -0
  23. package/esm/locale/arEG.d.ts +2 -0
  24. package/esm/locale/arEG.js +73 -0
  25. package/esm/locale/arSA.d.ts +2 -0
  26. package/esm/locale/arSA.js +73 -0
  27. package/esm/locale/arSD.d.ts +2 -0
  28. package/esm/locale/arSD.js +73 -0
  29. package/esm/locale/azAZ.d.ts +2 -0
  30. package/esm/locale/azAZ.js +77 -0
  31. package/esm/locale/beBY.d.ts +2 -0
  32. package/esm/locale/beBY.js +85 -0
  33. package/esm/locale/bgBG.d.ts +2 -0
  34. package/esm/locale/bgBG.js +70 -0
  35. package/esm/locale/bnBD.d.ts +2 -0
  36. package/esm/locale/bnBD.js +73 -0
  37. package/esm/locale/caES.d.ts +2 -0
  38. package/esm/locale/caES.js +70 -0
  39. package/esm/locale/csCZ.d.ts +2 -0
  40. package/esm/locale/csCZ.js +81 -0
  41. package/esm/locale/daDK.d.ts +2 -0
  42. package/esm/locale/daDK.js +73 -0
  43. package/esm/locale/deDE.d.ts +2 -0
  44. package/esm/locale/deDE.js +73 -0
  45. package/esm/locale/elGR.d.ts +2 -0
  46. package/esm/locale/elGR.js +75 -0
  47. package/esm/locale/enUS.d.ts +2 -0
  48. package/esm/locale/enUS.js +61 -0
  49. package/esm/locale/esES.d.ts +2 -0
  50. package/esm/locale/esES.js +73 -0
  51. package/esm/locale/etEE.d.ts +2 -0
  52. package/esm/locale/etEE.js +73 -0
  53. package/esm/locale/faIR.d.ts +2 -0
  54. package/esm/locale/faIR.js +78 -0
  55. package/esm/locale/fiFI.d.ts +2 -0
  56. package/esm/locale/fiFI.js +73 -0
  57. package/esm/locale/frFR.d.ts +2 -0
  58. package/esm/locale/frFR.js +73 -0
  59. package/esm/locale/heIL.d.ts +2 -0
  60. package/esm/locale/heIL.js +73 -0
  61. package/esm/locale/hiIN.d.ts +2 -0
  62. package/esm/locale/hiIN.js +73 -0
  63. package/esm/locale/hrHR.d.ts +2 -0
  64. package/esm/locale/hrHR.js +81 -0
  65. package/esm/locale/huHU.d.ts +2 -0
  66. package/esm/locale/huHU.js +70 -0
  67. package/esm/locale/hyAM.d.ts +2 -0
  68. package/esm/locale/hyAM.js +70 -0
  69. package/esm/locale/idID.d.ts +2 -0
  70. package/esm/locale/idID.js +70 -0
  71. package/esm/locale/index.d.ts +60 -82
  72. package/esm/locale/index.js +60 -4327
  73. package/esm/locale/isIS.d.ts +2 -0
  74. package/esm/locale/isIS.js +73 -0
  75. package/esm/locale/itIT.d.ts +2 -0
  76. package/esm/locale/itIT.js +73 -0
  77. package/esm/locale/jaJP.d.ts +2 -0
  78. package/esm/locale/jaJP.js +73 -0
  79. package/esm/locale/khKH.d.ts +2 -0
  80. package/esm/locale/khKH.js +73 -0
  81. package/esm/locale/kkKZ.d.ts +2 -0
  82. package/esm/locale/kkKZ.js +76 -0
  83. package/esm/locale/koKR.d.ts +2 -0
  84. package/esm/locale/koKR.js +73 -0
  85. package/esm/locale/kuCKB.d.ts +2 -0
  86. package/esm/locale/kuCKB.js +73 -0
  87. package/esm/locale/kuLatn.d.ts +2 -0
  88. package/esm/locale/kuLatn.js +73 -0
  89. package/esm/locale/mkMK.d.ts +2 -0
  90. package/esm/locale/mkMK.js +77 -0
  91. package/esm/locale/msMS.d.ts +2 -0
  92. package/esm/locale/msMS.js +77 -0
  93. package/esm/locale/myMY.d.ts +2 -0
  94. package/esm/locale/myMY.js +77 -0
  95. package/esm/locale/nbNO.d.ts +2 -0
  96. package/esm/locale/nbNO.js +73 -0
  97. package/esm/locale/neNP.d.ts +2 -0
  98. package/esm/locale/neNP.js +77 -0
  99. package/esm/locale/nlNL.d.ts +2 -0
  100. package/esm/locale/nlNL.js +73 -0
  101. package/esm/locale/nnNO.d.ts +2 -0
  102. package/esm/locale/nnNO.js +73 -0
  103. package/esm/locale/plPL.d.ts +2 -0
  104. package/esm/locale/plPL.js +82 -0
  105. package/esm/locale/psAF.d.ts +2 -0
  106. package/esm/locale/psAF.js +73 -0
  107. package/esm/locale/ptBR.d.ts +2 -0
  108. package/esm/locale/ptBR.js +73 -0
  109. package/esm/locale/ptPT.d.ts +2 -0
  110. package/esm/locale/ptPT.js +73 -0
  111. package/esm/locale/roRO.d.ts +2 -0
  112. package/esm/locale/roRO.js +73 -0
  113. package/esm/locale/ruRU.d.ts +2 -0
  114. package/esm/locale/ruRU.js +85 -0
  115. package/esm/locale/siLK.d.ts +2 -0
  116. package/esm/locale/siLK.js +73 -0
  117. package/esm/locale/skSK.d.ts +2 -0
  118. package/esm/locale/skSK.js +81 -0
  119. package/esm/locale/srRS.d.ts +2 -0
  120. package/esm/locale/srRS.js +81 -0
  121. package/esm/locale/svSE.d.ts +2 -0
  122. package/esm/locale/svSE.js +73 -0
  123. package/esm/locale/thTH.d.ts +2 -0
  124. package/esm/locale/thTH.js +73 -0
  125. package/esm/locale/tlTL.d.ts +2 -0
  126. package/esm/locale/tlTL.js +74 -0
  127. package/esm/locale/trTR.d.ts +2 -0
  128. package/esm/locale/trTR.js +73 -0
  129. package/esm/locale/ukUA.d.ts +2 -0
  130. package/esm/locale/ukUA.js +82 -0
  131. package/esm/locale/urPK.d.ts +2 -0
  132. package/esm/locale/urPK.js +73 -0
  133. package/esm/locale/utils/LocaleTextApi.d.ts +23 -0
  134. package/esm/locale/utils/LocaleTextApi.js +1 -0
  135. package/esm/locale/viVN.d.ts +2 -0
  136. package/esm/locale/viVN.js +73 -0
  137. package/esm/locale/zhCN.d.ts +2 -0
  138. package/esm/locale/zhCN.js +51 -0
  139. package/esm/locale/zhHK.d.ts +2 -0
  140. package/esm/locale/zhHK.js +51 -0
  141. package/esm/locale/zhTW.d.ts +2 -0
  142. package/esm/locale/zhTW.js +51 -0
  143. package/esm/styles/createColorScheme.js +2 -2
  144. package/esm/styles/createTheme.js +2 -2
  145. package/esm/useAutocomplete/useAutocomplete.js +2 -2
  146. package/esm/version/index.js +2 -2
  147. package/index.js +1 -1
  148. package/locale/amET.d.ts +2 -0
  149. package/locale/amET.js +79 -0
  150. package/locale/arEG.d.ts +2 -0
  151. package/locale/arEG.js +79 -0
  152. package/locale/arSA.d.ts +2 -0
  153. package/locale/arSA.js +79 -0
  154. package/locale/arSD.d.ts +2 -0
  155. package/locale/arSD.js +79 -0
  156. package/locale/azAZ.d.ts +2 -0
  157. package/locale/azAZ.js +83 -0
  158. package/locale/beBY.d.ts +2 -0
  159. package/locale/beBY.js +91 -0
  160. package/locale/bgBG.d.ts +2 -0
  161. package/locale/bgBG.js +76 -0
  162. package/locale/bnBD.d.ts +2 -0
  163. package/locale/bnBD.js +79 -0
  164. package/locale/caES.d.ts +2 -0
  165. package/locale/caES.js +76 -0
  166. package/locale/csCZ.d.ts +2 -0
  167. package/locale/csCZ.js +87 -0
  168. package/locale/daDK.d.ts +2 -0
  169. package/locale/daDK.js +79 -0
  170. package/locale/deDE.d.ts +2 -0
  171. package/locale/deDE.js +79 -0
  172. package/locale/elGR.d.ts +2 -0
  173. package/locale/elGR.js +81 -0
  174. package/locale/enUS.d.ts +2 -0
  175. package/locale/enUS.js +67 -0
  176. package/locale/esES.d.ts +2 -0
  177. package/locale/esES.js +79 -0
  178. package/locale/etEE.d.ts +2 -0
  179. package/locale/etEE.js +79 -0
  180. package/locale/faIR.d.ts +2 -0
  181. package/locale/faIR.js +84 -0
  182. package/locale/fiFI.d.ts +2 -0
  183. package/locale/fiFI.js +79 -0
  184. package/locale/frFR.d.ts +2 -0
  185. package/locale/frFR.js +79 -0
  186. package/locale/heIL.d.ts +2 -0
  187. package/locale/heIL.js +79 -0
  188. package/locale/hiIN.d.ts +2 -0
  189. package/locale/hiIN.js +79 -0
  190. package/locale/hrHR.d.ts +2 -0
  191. package/locale/hrHR.js +87 -0
  192. package/locale/huHU.d.ts +2 -0
  193. package/locale/huHU.js +76 -0
  194. package/locale/hyAM.d.ts +2 -0
  195. package/locale/hyAM.js +76 -0
  196. package/locale/idID.d.ts +2 -0
  197. package/locale/idID.js +76 -0
  198. package/locale/index.d.ts +60 -82
  199. package/locale/index.js +660 -4328
  200. package/locale/isIS.d.ts +2 -0
  201. package/locale/isIS.js +79 -0
  202. package/locale/itIT.d.ts +2 -0
  203. package/locale/itIT.js +79 -0
  204. package/locale/jaJP.d.ts +2 -0
  205. package/locale/jaJP.js +79 -0
  206. package/locale/khKH.d.ts +2 -0
  207. package/locale/khKH.js +79 -0
  208. package/locale/kkKZ.d.ts +2 -0
  209. package/locale/kkKZ.js +82 -0
  210. package/locale/koKR.d.ts +2 -0
  211. package/locale/koKR.js +79 -0
  212. package/locale/kuCKB.d.ts +2 -0
  213. package/locale/kuCKB.js +79 -0
  214. package/locale/kuLatn.d.ts +2 -0
  215. package/locale/kuLatn.js +79 -0
  216. package/locale/mkMK.d.ts +2 -0
  217. package/locale/mkMK.js +83 -0
  218. package/locale/msMS.d.ts +2 -0
  219. package/locale/msMS.js +83 -0
  220. package/locale/myMY.d.ts +2 -0
  221. package/locale/myMY.js +83 -0
  222. package/locale/nbNO.d.ts +2 -0
  223. package/locale/nbNO.js +79 -0
  224. package/locale/neNP.d.ts +2 -0
  225. package/locale/neNP.js +83 -0
  226. package/locale/nlNL.d.ts +2 -0
  227. package/locale/nlNL.js +79 -0
  228. package/locale/nnNO.d.ts +2 -0
  229. package/locale/nnNO.js +79 -0
  230. package/locale/plPL.d.ts +2 -0
  231. package/locale/plPL.js +88 -0
  232. package/locale/psAF.d.ts +2 -0
  233. package/locale/psAF.js +79 -0
  234. package/locale/ptBR.d.ts +2 -0
  235. package/locale/ptBR.js +79 -0
  236. package/locale/ptPT.d.ts +2 -0
  237. package/locale/ptPT.js +79 -0
  238. package/locale/roRO.d.ts +2 -0
  239. package/locale/roRO.js +79 -0
  240. package/locale/ruRU.d.ts +2 -0
  241. package/locale/ruRU.js +91 -0
  242. package/locale/siLK.d.ts +2 -0
  243. package/locale/siLK.js +79 -0
  244. package/locale/skSK.d.ts +2 -0
  245. package/locale/skSK.js +87 -0
  246. package/locale/srRS.d.ts +2 -0
  247. package/locale/srRS.js +87 -0
  248. package/locale/svSE.d.ts +2 -0
  249. package/locale/svSE.js +79 -0
  250. package/locale/thTH.d.ts +2 -0
  251. package/locale/thTH.js +79 -0
  252. package/locale/tlTL.d.ts +2 -0
  253. package/locale/tlTL.js +80 -0
  254. package/locale/trTR.d.ts +2 -0
  255. package/locale/trTR.js +79 -0
  256. package/locale/ukUA.d.ts +2 -0
  257. package/locale/ukUA.js +88 -0
  258. package/locale/urPK.d.ts +2 -0
  259. package/locale/urPK.js +79 -0
  260. package/locale/utils/LocaleTextApi.d.ts +23 -0
  261. package/locale/utils/LocaleTextApi.js +5 -0
  262. package/locale/viVN.d.ts +2 -0
  263. package/locale/viVN.js +79 -0
  264. package/locale/zhCN.d.ts +2 -0
  265. package/locale/zhCN.js +57 -0
  266. package/locale/zhHK.d.ts +2 -0
  267. package/locale/zhHK.js +57 -0
  268. package/locale/zhTW.d.ts +2 -0
  269. package/locale/zhTW.js +57 -0
  270. package/package.json +8 -8
  271. package/styles/createColorScheme.js +2 -2
  272. package/styles/createTheme.js +2 -2
  273. package/useAutocomplete/useAutocomplete.js +2 -2
  274. package/version/index.js +2 -2
@@ -0,0 +1,73 @@
1
+ export const svSE = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: 'Visa sökväg'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return 'Gå till första sidan';
13
+ }
14
+ if (type === 'last') {
15
+ return 'Gå till sista sidan';
16
+ }
17
+ if (type === 'next') {
18
+ return 'Gå till nästa sida';
19
+ }
20
+ // if (type === 'previous') {
21
+ return 'Gå till föregående sida';
22
+ },
23
+ labelRowsPerPage: 'Rader per sida:',
24
+ labelDisplayedRows: ({
25
+ from,
26
+ to,
27
+ count
28
+ }) => `${from}–${to} av ${count !== -1 ? count : `fler än ${to}`}`
29
+ }
30
+ },
31
+ MuiRating: {
32
+ defaultProps: {
33
+ getLabelText: value => `${value} ${value !== 1 ? 'Stjärnor' : 'Stjärna'}`,
34
+ emptyLabelText: 'Tom'
35
+ }
36
+ },
37
+ MuiAutocomplete: {
38
+ defaultProps: {
39
+ clearText: 'Rensa',
40
+ closeText: 'Stäng',
41
+ loadingText: 'Laddar…',
42
+ noOptionsText: 'Inga alternativ',
43
+ openText: 'Öppna'
44
+ }
45
+ },
46
+ MuiAlert: {
47
+ defaultProps: {
48
+ closeText: 'Stäng'
49
+ }
50
+ },
51
+ MuiPagination: {
52
+ defaultProps: {
53
+ 'aria-label': 'Sidnavigering',
54
+ getItemAriaLabel: (type, page, selected) => {
55
+ if (type === 'page') {
56
+ return `${selected ? '' : 'Gå till '}sida ${page}`;
57
+ }
58
+ if (type === 'first') {
59
+ return 'Gå till första sidan';
60
+ }
61
+ if (type === 'last') {
62
+ return 'Gå till sista sidan';
63
+ }
64
+ if (type === 'next') {
65
+ return 'Gå till nästa sida';
66
+ }
67
+ // if (type === 'previous') {
68
+ return 'Gå till föregående sida';
69
+ }
70
+ }
71
+ }
72
+ }
73
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const thTH: Localization;
@@ -0,0 +1,73 @@
1
+ export const thTH = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: 'แสดงเส้นทาง'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return 'ไปที่หน้าแรก';
13
+ }
14
+ if (type === 'last') {
15
+ return 'ไปที่หน้าสุดท้าย';
16
+ }
17
+ if (type === 'next') {
18
+ return 'ไปที่หน้าถัดไป';
19
+ }
20
+ // if (type === 'previous') {
21
+ return 'ไปที่หน้าก่อน';
22
+ },
23
+ labelRowsPerPage: 'จำนวนแถวต่อหน้า:',
24
+ labelDisplayedRows: ({
25
+ from,
26
+ to,
27
+ count
28
+ }) => `${from}–${to} จาก ${count !== -1 ? count : `มากกว่า ${to}`}`
29
+ }
30
+ },
31
+ MuiRating: {
32
+ defaultProps: {
33
+ getLabelText: value => `${value} ดาว`,
34
+ emptyLabelText: 'ว่างเปล่า'
35
+ }
36
+ },
37
+ MuiAutocomplete: {
38
+ defaultProps: {
39
+ clearText: 'เคลียร์',
40
+ closeText: 'ปิด',
41
+ loadingText: 'กำลังโหลด…',
42
+ noOptionsText: 'ไม่มีตัวเลือก',
43
+ openText: 'เปิด'
44
+ }
45
+ },
46
+ MuiAlert: {
47
+ defaultProps: {
48
+ closeText: 'ปิด'
49
+ }
50
+ },
51
+ MuiPagination: {
52
+ defaultProps: {
53
+ 'aria-label': '',
54
+ getItemAriaLabel: (type, page, selected) => {
55
+ if (type === 'page') {
56
+ return `${selected ? '' : 'ไปที่'}หน้า ${page}`;
57
+ }
58
+ if (type === 'first') {
59
+ return 'ไปที่หน้าแรก';
60
+ }
61
+ if (type === 'last') {
62
+ return 'ไปที่หน้าสุดท้าย';
63
+ }
64
+ if (type === 'next') {
65
+ return 'ไปที่หน้าถัดไป';
66
+ }
67
+ // if (type === 'previous') {
68
+ return 'ไปที่หน้าก่อน';
69
+ }
70
+ }
71
+ }
72
+ }
73
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const tlTL: Localization;
@@ -0,0 +1,74 @@
1
+ // Tagalog-Tagalog
2
+ export const tlTL = {
3
+ components: {
4
+ MuiBreadcrumbs: {
5
+ defaultProps: {
6
+ expandText: 'Ipakita ang landas'
7
+ }
8
+ },
9
+ MuiTablePagination: {
10
+ defaultProps: {
11
+ getItemAriaLabel: type => {
12
+ if (type === 'first') {
13
+ return 'Pumunta sa unang pahina';
14
+ }
15
+ if (type === 'last') {
16
+ return 'Pumunta sa huling pahina';
17
+ }
18
+ if (type === 'next') {
19
+ return 'Pumunta sa susunod na pahina';
20
+ }
21
+ // if (type === 'previous') {
22
+ return 'Pumunta sa nakaraang pahina';
23
+ },
24
+ labelRowsPerPage: 'Mga hilera bawat pahina:',
25
+ labelDisplayedRows: ({
26
+ from,
27
+ to,
28
+ count
29
+ }) => `${from}–${to} ng ${count !== -1 ? count : `higit sa ${to}`}`
30
+ }
31
+ },
32
+ MuiRating: {
33
+ defaultProps: {
34
+ getLabelText: value => `${value} Bituin${value !== 1 ? 's' : ''}`,
35
+ emptyLabelText: 'Walang laman'
36
+ }
37
+ },
38
+ MuiAutocomplete: {
39
+ defaultProps: {
40
+ clearText: 'Maaliwalas',
41
+ closeText: 'Isara',
42
+ loadingText: 'Naglo-load…',
43
+ noOptionsText: 'Walang mga pagpipilian',
44
+ openText: 'Bukas'
45
+ }
46
+ },
47
+ MuiAlert: {
48
+ defaultProps: {
49
+ closeText: 'Isara'
50
+ }
51
+ },
52
+ MuiPagination: {
53
+ defaultProps: {
54
+ 'aria-label': 'Sayfa navigasyonu',
55
+ getItemAriaLabel: (type, page, selected) => {
56
+ if (type === 'page') {
57
+ return `${selected ? '' : 'Pumunta sa'}pahina ${page}`;
58
+ }
59
+ if (type === 'first') {
60
+ return 'Pumunta sa unang pahina';
61
+ }
62
+ if (type === 'last') {
63
+ return 'Pumunta sa huling pahina';
64
+ }
65
+ if (type === 'next') {
66
+ return 'Pumunta sa susunod na pahina';
67
+ }
68
+ // if (type === 'previous') {
69
+ return 'Pumunta sa nakaraang pahina';
70
+ }
71
+ }
72
+ }
73
+ }
74
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const trTR: Localization;
@@ -0,0 +1,73 @@
1
+ export const trTR = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: 'Yolu göster'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return 'İlk sayfaya git';
13
+ }
14
+ if (type === 'last') {
15
+ return 'Son sayfaya git';
16
+ }
17
+ if (type === 'next') {
18
+ return 'Sonraki sayfaya git';
19
+ }
20
+ // if (type === 'previous') {
21
+ return 'Önceki sayfaya git';
22
+ },
23
+ labelRowsPerPage: 'Sayfa başına satır:',
24
+ labelDisplayedRows: ({
25
+ from,
26
+ to,
27
+ count
28
+ }) => `${from}-${to} / ${count !== -1 ? count : `${to}'den fazla`}`
29
+ }
30
+ },
31
+ MuiRating: {
32
+ defaultProps: {
33
+ getLabelText: value => `${value} Yıldız`,
34
+ emptyLabelText: 'Boş'
35
+ }
36
+ },
37
+ MuiAutocomplete: {
38
+ defaultProps: {
39
+ clearText: 'Temizle',
40
+ closeText: 'Kapat',
41
+ loadingText: 'Yükleniyor…',
42
+ noOptionsText: 'Seçenek yok',
43
+ openText: 'Aç'
44
+ }
45
+ },
46
+ MuiAlert: {
47
+ defaultProps: {
48
+ closeText: 'Kapat'
49
+ }
50
+ },
51
+ MuiPagination: {
52
+ defaultProps: {
53
+ 'aria-label': 'Sayfa navigasyonu',
54
+ getItemAriaLabel: (type, page, selected) => {
55
+ if (type === 'page') {
56
+ return `${page}. ${selected ? 'sayfa' : 'sayfaya git'}`;
57
+ }
58
+ if (type === 'first') {
59
+ return 'İlk sayfaya git';
60
+ }
61
+ if (type === 'last') {
62
+ return 'Son sayfaya git';
63
+ }
64
+ if (type === 'next') {
65
+ return 'Sonraki sayfaya git';
66
+ }
67
+ // if (type === 'previous') {
68
+ return 'Önceki sayfaya git';
69
+ }
70
+ }
71
+ }
72
+ }
73
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const ukUA: Localization;
@@ -0,0 +1,82 @@
1
+ export const ukUA = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: 'Показати шлях сторінок'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return 'Перейти на першу сторінку';
13
+ }
14
+ if (type === 'last') {
15
+ return 'Перейти на останню сторінку';
16
+ }
17
+ if (type === 'next') {
18
+ return 'Перейти на наступну сторінку';
19
+ }
20
+ // if (type === 'previous') {
21
+ return 'Перейти на попередню сторінку';
22
+ },
23
+ labelRowsPerPage: 'Рядків на сторінці:',
24
+ labelDisplayedRows: ({
25
+ from,
26
+ to,
27
+ count
28
+ }) => `${from}–${to} з ${count !== -1 ? count : `понад ${to}`}`
29
+ }
30
+ },
31
+ MuiRating: {
32
+ defaultProps: {
33
+ getLabelText: value => {
34
+ let pluralForm = 'Зірок';
35
+ const lastDigit = value % 10;
36
+ if (lastDigit > 1 && lastDigit < 5) {
37
+ pluralForm = 'Зірки';
38
+ } else if (lastDigit === 1) {
39
+ pluralForm = 'Зірка';
40
+ }
41
+ return `${value} ${pluralForm}`;
42
+ },
43
+ emptyLabelText: 'Рейтинг відсутній'
44
+ }
45
+ },
46
+ MuiAutocomplete: {
47
+ defaultProps: {
48
+ clearText: 'Очистити',
49
+ closeText: 'Згорнути',
50
+ loadingText: 'Завантаження…',
51
+ noOptionsText: 'Немає варіантів',
52
+ openText: 'Розгорнути'
53
+ }
54
+ },
55
+ MuiAlert: {
56
+ defaultProps: {
57
+ closeText: 'Згорнути'
58
+ }
59
+ },
60
+ MuiPagination: {
61
+ defaultProps: {
62
+ 'aria-label': 'Навігація сторінками',
63
+ getItemAriaLabel: (type, page, selected) => {
64
+ if (type === 'page') {
65
+ return `${selected ? '' : 'Перейти на '}сторінку ${page}`;
66
+ }
67
+ if (type === 'first') {
68
+ return 'Перейти на першу сторінку';
69
+ }
70
+ if (type === 'last') {
71
+ return 'Перейти на останню сторінку';
72
+ }
73
+ if (type === 'next') {
74
+ return 'Перейти на наступну сторінку';
75
+ }
76
+ // if (type === 'previous') {
77
+ return 'Перейти на попередню сторінку';
78
+ }
79
+ }
80
+ }
81
+ }
82
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const urPK: Localization;
@@ -0,0 +1,73 @@
1
+ export const urPK = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: 'راستہ دکھائیں'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return 'پہلے صفحے پر جائیں';
13
+ }
14
+ if (type === 'last') {
15
+ return 'آخری صفحے پر جائیں';
16
+ }
17
+ if (type === 'next') {
18
+ return 'اگلے صفحے پر جائیں';
19
+ }
20
+ // if (type === 'previous') {
21
+ return 'پچھلے صفحے پر جائیں';
22
+ },
23
+ labelRowsPerPage: 'ایک صفحے پر قطاریں:',
24
+ labelDisplayedRows: ({
25
+ from,
26
+ to,
27
+ count
28
+ }) => `${count !== -1 ? `${count} میں سے` : `${to} سے ذیادہ میں سے`} ${from} سے ${to} قطاریں`
29
+ }
30
+ },
31
+ MuiRating: {
32
+ defaultProps: {
33
+ getLabelText: value => `${value} ستار${value !== 1 ? 'ے' : 'ہ'}`,
34
+ emptyLabelText: 'خالی'
35
+ }
36
+ },
37
+ MuiAutocomplete: {
38
+ defaultProps: {
39
+ clearText: 'کلئیر',
40
+ closeText: 'بند کریں',
41
+ loadingText: 'لوڈ ہو رہا ہے۔۔۔',
42
+ noOptionsText: 'کوئی آپشن نہیں',
43
+ openText: 'کھولیں'
44
+ }
45
+ },
46
+ MuiAlert: {
47
+ defaultProps: {
48
+ closeText: 'بند کریں'
49
+ }
50
+ },
51
+ MuiPagination: {
52
+ defaultProps: {
53
+ 'aria-label': 'صفحات کی ترتیب',
54
+ getItemAriaLabel: (type, page, selected) => {
55
+ if (type === 'page') {
56
+ return `صفحہ نمبر ${page}${selected ? '' : ' پر جائیں'}`;
57
+ }
58
+ if (type === 'first') {
59
+ return 'پہلے صفحے پر جائیں';
60
+ }
61
+ if (type === 'last') {
62
+ return 'آخری صفحے پر جائیں';
63
+ }
64
+ if (type === 'next') {
65
+ return 'اگلے صفحے پر جائیں';
66
+ }
67
+ // if (type === 'previous') {
68
+ return 'پچھلے صفحے پر جائیں';
69
+ }
70
+ }
71
+ }
72
+ }
73
+ };
@@ -0,0 +1,23 @@
1
+ import { ComponentsPropsList } from "../../styles/props.js";
2
+ export interface Localization {
3
+ components?: {
4
+ MuiAlert?: {
5
+ defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
6
+ };
7
+ MuiBreadcrumbs?: {
8
+ defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
9
+ };
10
+ MuiTablePagination?: {
11
+ defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
12
+ };
13
+ MuiRating?: {
14
+ defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
15
+ };
16
+ MuiAutocomplete?: {
17
+ defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
18
+ };
19
+ MuiPagination?: {
20
+ defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
21
+ };
22
+ };
23
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const viVN: Localization;
@@ -0,0 +1,73 @@
1
+ export const viVN = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: 'Mở ra'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return 'Tới trang đầu tiên';
13
+ }
14
+ if (type === 'last') {
15
+ return 'Tới trang cuối cùng';
16
+ }
17
+ if (type === 'next') {
18
+ return 'Tới trang tiếp theo';
19
+ }
20
+ // if (type === 'previous') {
21
+ return 'Về trang trước đó';
22
+ },
23
+ labelRowsPerPage: 'Số hàng mỗi trang:',
24
+ labelDisplayedRows: ({
25
+ from,
26
+ to,
27
+ count
28
+ }) => `${from}–${to} trong ${count !== -1 ? count : `nhiều hơn ${to}`}`
29
+ }
30
+ },
31
+ MuiRating: {
32
+ defaultProps: {
33
+ getLabelText: value => `${value} sao`,
34
+ emptyLabelText: 'Không có dữ liệu'
35
+ }
36
+ },
37
+ MuiAutocomplete: {
38
+ defaultProps: {
39
+ clearText: 'Xóa',
40
+ closeText: 'Đóng',
41
+ loadingText: 'Đang tải…',
42
+ noOptionsText: 'Không có lựa chọn nào',
43
+ openText: 'Mở'
44
+ }
45
+ },
46
+ MuiAlert: {
47
+ defaultProps: {
48
+ closeText: 'Đóng'
49
+ }
50
+ },
51
+ MuiPagination: {
52
+ defaultProps: {
53
+ 'aria-label': 'Thanh điều khiển trang',
54
+ getItemAriaLabel: (type, page, selected) => {
55
+ if (type === 'page') {
56
+ return `${selected ? '' : 'Tới '}trang ${page}`;
57
+ }
58
+ if (type === 'first') {
59
+ return 'Tới trang đầu tiên';
60
+ }
61
+ if (type === 'last') {
62
+ return 'Tới trang cuối cùng';
63
+ }
64
+ if (type === 'next') {
65
+ return 'Tới trang tiếp theo';
66
+ }
67
+ // if (type === 'previous') {
68
+ return 'Về trang trước đó';
69
+ }
70
+ }
71
+ }
72
+ }
73
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const zhCN: Localization;
@@ -0,0 +1,51 @@
1
+ export const zhCN = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: '展开'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return '第一页';
13
+ }
14
+ if (type === 'last') {
15
+ return '最后一页';
16
+ }
17
+ if (type === 'next') {
18
+ return '下一页';
19
+ }
20
+ return '上一页';
21
+ },
22
+ labelRowsPerPage: '每页行数:',
23
+ labelDisplayedRows: ({
24
+ from,
25
+ to,
26
+ count
27
+ }) => `第 ${from} 条到第 ${to} 条,${count !== -1 ? `共 ${count} 条` : `至少 ${to} 条`}`
28
+ }
29
+ },
30
+ MuiRating: {
31
+ defaultProps: {
32
+ getLabelText: value => `${value} 颗星`,
33
+ emptyLabelText: '无标签'
34
+ }
35
+ },
36
+ MuiAutocomplete: {
37
+ defaultProps: {
38
+ clearText: '清空',
39
+ closeText: '关闭',
40
+ loadingText: '加载中……',
41
+ noOptionsText: '没有可用选项',
42
+ openText: '打开'
43
+ }
44
+ },
45
+ MuiAlert: {
46
+ defaultProps: {
47
+ closeText: '关闭'
48
+ }
49
+ }
50
+ }
51
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const zhHK: Localization;
@@ -0,0 +1,51 @@
1
+ export const zhHK = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: '展開'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return '第一頁';
13
+ }
14
+ if (type === 'last') {
15
+ return '最後一頁';
16
+ }
17
+ if (type === 'next') {
18
+ return '下一頁';
19
+ }
20
+ return '上一頁';
21
+ },
22
+ labelRowsPerPage: '每頁行數:',
23
+ labelDisplayedRows: ({
24
+ from,
25
+ to,
26
+ count
27
+ }) => `第 ${from} 項至第 ${to} 項,${count !== -1 ? `共 ${count} 項` : `超過 ${to} 項`}`
28
+ }
29
+ },
30
+ MuiRating: {
31
+ defaultProps: {
32
+ getLabelText: value => `${value} 粒星`,
33
+ emptyLabelText: '無標籤'
34
+ }
35
+ },
36
+ MuiAutocomplete: {
37
+ defaultProps: {
38
+ clearText: '清除',
39
+ closeText: '關閉',
40
+ loadingText: '載入中……',
41
+ noOptionsText: '沒有可用選項',
42
+ openText: '開啟'
43
+ }
44
+ },
45
+ MuiAlert: {
46
+ defaultProps: {
47
+ closeText: '關閉'
48
+ }
49
+ }
50
+ }
51
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const zhTW: Localization;