@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
package/locale/svSE.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.svSE = void 0;
7
+ const svSE = exports.svSE = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Visa sökväg'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Gå till första sidan';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Gå till sista sidan';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Gå till nästa sida';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Gå till föregående sida';
28
+ },
29
+ labelRowsPerPage: 'Rader per sida:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} av ${count !== -1 ? count : `fler än ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ${value !== 1 ? 'Stjärnor' : 'Stjärna'}`,
40
+ emptyLabelText: 'Tom'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'Rensa',
46
+ closeText: 'Stäng',
47
+ loadingText: 'Laddar…',
48
+ noOptionsText: 'Inga alternativ',
49
+ openText: 'Öppna'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'Stäng'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'Sidnavigering',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'Gå till '}sida ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'Gå till första sidan';
66
+ }
67
+ if (type === 'last') {
68
+ return 'Gå till sista sidan';
69
+ }
70
+ if (type === 'next') {
71
+ return 'Gå till nästa sida';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'Gå till föregående sida';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const thTH: Localization;
package/locale/thTH.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.thTH = void 0;
7
+ const thTH = exports.thTH = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'แสดงเส้นทาง'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'ไปที่หน้าแรก';
19
+ }
20
+ if (type === 'last') {
21
+ return 'ไปที่หน้าสุดท้าย';
22
+ }
23
+ if (type === 'next') {
24
+ return 'ไปที่หน้าถัดไป';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'ไปที่หน้าก่อน';
28
+ },
29
+ labelRowsPerPage: 'จำนวนแถวต่อหน้า:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} จาก ${count !== -1 ? count : `มากกว่า ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ดาว`,
40
+ emptyLabelText: 'ว่างเปล่า'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'เคลียร์',
46
+ closeText: 'ปิด',
47
+ loadingText: 'กำลังโหลด…',
48
+ noOptionsText: 'ไม่มีตัวเลือก',
49
+ openText: 'เปิด'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'ปิด'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': '',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'ไปที่'}หน้า ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'ไปที่หน้าแรก';
66
+ }
67
+ if (type === 'last') {
68
+ return 'ไปที่หน้าสุดท้าย';
69
+ }
70
+ if (type === 'next') {
71
+ return 'ไปที่หน้าถัดไป';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'ไปที่หน้าก่อน';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const tlTL: Localization;
package/locale/tlTL.js ADDED
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.tlTL = void 0;
7
+ // Tagalog-Tagalog
8
+ const tlTL = exports.tlTL = {
9
+ components: {
10
+ MuiBreadcrumbs: {
11
+ defaultProps: {
12
+ expandText: 'Ipakita ang landas'
13
+ }
14
+ },
15
+ MuiTablePagination: {
16
+ defaultProps: {
17
+ getItemAriaLabel: type => {
18
+ if (type === 'first') {
19
+ return 'Pumunta sa unang pahina';
20
+ }
21
+ if (type === 'last') {
22
+ return 'Pumunta sa huling pahina';
23
+ }
24
+ if (type === 'next') {
25
+ return 'Pumunta sa susunod na pahina';
26
+ }
27
+ // if (type === 'previous') {
28
+ return 'Pumunta sa nakaraang pahina';
29
+ },
30
+ labelRowsPerPage: 'Mga hilera bawat pahina:',
31
+ labelDisplayedRows: ({
32
+ from,
33
+ to,
34
+ count
35
+ }) => `${from}–${to} ng ${count !== -1 ? count : `higit sa ${to}`}`
36
+ }
37
+ },
38
+ MuiRating: {
39
+ defaultProps: {
40
+ getLabelText: value => `${value} Bituin${value !== 1 ? 's' : ''}`,
41
+ emptyLabelText: 'Walang laman'
42
+ }
43
+ },
44
+ MuiAutocomplete: {
45
+ defaultProps: {
46
+ clearText: 'Maaliwalas',
47
+ closeText: 'Isara',
48
+ loadingText: 'Naglo-load…',
49
+ noOptionsText: 'Walang mga pagpipilian',
50
+ openText: 'Bukas'
51
+ }
52
+ },
53
+ MuiAlert: {
54
+ defaultProps: {
55
+ closeText: 'Isara'
56
+ }
57
+ },
58
+ MuiPagination: {
59
+ defaultProps: {
60
+ 'aria-label': 'Sayfa navigasyonu',
61
+ getItemAriaLabel: (type, page, selected) => {
62
+ if (type === 'page') {
63
+ return `${selected ? '' : 'Pumunta sa'}pahina ${page}`;
64
+ }
65
+ if (type === 'first') {
66
+ return 'Pumunta sa unang pahina';
67
+ }
68
+ if (type === 'last') {
69
+ return 'Pumunta sa huling pahina';
70
+ }
71
+ if (type === 'next') {
72
+ return 'Pumunta sa susunod na pahina';
73
+ }
74
+ // if (type === 'previous') {
75
+ return 'Pumunta sa nakaraang pahina';
76
+ }
77
+ }
78
+ }
79
+ }
80
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const trTR: Localization;
package/locale/trTR.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.trTR = void 0;
7
+ const trTR = exports.trTR = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Yolu göster'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'İlk sayfaya git';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Son sayfaya git';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Sonraki sayfaya git';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Önceki sayfaya git';
28
+ },
29
+ labelRowsPerPage: 'Sayfa başına satır:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}-${to} / ${count !== -1 ? count : `${to}'den fazla`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} Yıldız`,
40
+ emptyLabelText: 'Boş'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'Temizle',
46
+ closeText: 'Kapat',
47
+ loadingText: 'Yükleniyor…',
48
+ noOptionsText: 'Seçenek yok',
49
+ openText: 'Aç'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'Kapat'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'Sayfa navigasyonu',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${page}. ${selected ? 'sayfa' : 'sayfaya git'}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'İlk sayfaya git';
66
+ }
67
+ if (type === 'last') {
68
+ return 'Son sayfaya git';
69
+ }
70
+ if (type === 'next') {
71
+ return 'Sonraki sayfaya git';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'Önceki sayfaya git';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const ukUA: Localization;
package/locale/ukUA.js ADDED
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ukUA = void 0;
7
+ const ukUA = exports.ukUA = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Показати шлях сторінок'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Перейти на першу сторінку';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Перейти на останню сторінку';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Перейти на наступну сторінку';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Перейти на попередню сторінку';
28
+ },
29
+ labelRowsPerPage: 'Рядків на сторінці:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} з ${count !== -1 ? count : `понад ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => {
40
+ let pluralForm = 'Зірок';
41
+ const lastDigit = value % 10;
42
+ if (lastDigit > 1 && lastDigit < 5) {
43
+ pluralForm = 'Зірки';
44
+ } else if (lastDigit === 1) {
45
+ pluralForm = 'Зірка';
46
+ }
47
+ return `${value} ${pluralForm}`;
48
+ },
49
+ emptyLabelText: 'Рейтинг відсутній'
50
+ }
51
+ },
52
+ MuiAutocomplete: {
53
+ defaultProps: {
54
+ clearText: 'Очистити',
55
+ closeText: 'Згорнути',
56
+ loadingText: 'Завантаження…',
57
+ noOptionsText: 'Немає варіантів',
58
+ openText: 'Розгорнути'
59
+ }
60
+ },
61
+ MuiAlert: {
62
+ defaultProps: {
63
+ closeText: 'Згорнути'
64
+ }
65
+ },
66
+ MuiPagination: {
67
+ defaultProps: {
68
+ 'aria-label': 'Навігація сторінками',
69
+ getItemAriaLabel: (type, page, selected) => {
70
+ if (type === 'page') {
71
+ return `${selected ? '' : 'Перейти на '}сторінку ${page}`;
72
+ }
73
+ if (type === 'first') {
74
+ return 'Перейти на першу сторінку';
75
+ }
76
+ if (type === 'last') {
77
+ return 'Перейти на останню сторінку';
78
+ }
79
+ if (type === 'next') {
80
+ return 'Перейти на наступну сторінку';
81
+ }
82
+ // if (type === 'previous') {
83
+ return 'Перейти на попередню сторінку';
84
+ }
85
+ }
86
+ }
87
+ }
88
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const urPK: Localization;
package/locale/urPK.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.urPK = void 0;
7
+ const urPK = exports.urPK = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'راستہ دکھائیں'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'پہلے صفحے پر جائیں';
19
+ }
20
+ if (type === 'last') {
21
+ return 'آخری صفحے پر جائیں';
22
+ }
23
+ if (type === 'next') {
24
+ return 'اگلے صفحے پر جائیں';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'پچھلے صفحے پر جائیں';
28
+ },
29
+ labelRowsPerPage: 'ایک صفحے پر قطاریں:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${count !== -1 ? `${count} میں سے` : `${to} سے ذیادہ میں سے`} ${from} سے ${to} قطاریں`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ستار${value !== 1 ? 'ے' : 'ہ'}`,
40
+ emptyLabelText: 'خالی'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'کلئیر',
46
+ closeText: 'بند کریں',
47
+ loadingText: 'لوڈ ہو رہا ہے۔۔۔',
48
+ noOptionsText: 'کوئی آپشن نہیں',
49
+ openText: 'کھولیں'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'بند کریں'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'صفحات کی ترتیب',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `صفحہ نمبر ${page}${selected ? '' : ' پر جائیں'}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'پہلے صفحے پر جائیں';
66
+ }
67
+ if (type === 'last') {
68
+ return 'آخری صفحے پر جائیں';
69
+ }
70
+ if (type === 'next') {
71
+ return 'اگلے صفحے پر جائیں';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'پچھلے صفحے پر جائیں';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -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,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const viVN: Localization;
package/locale/viVN.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.viVN = void 0;
7
+ const viVN = exports.viVN = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Mở ra'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Tới trang đầu tiên';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Tới trang cuối cùng';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Tới trang tiếp theo';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Về trang trước đó';
28
+ },
29
+ labelRowsPerPage: 'Số hàng mỗi trang:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} trong ${count !== -1 ? count : `nhiều hơn ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} sao`,
40
+ emptyLabelText: 'Không có dữ liệu'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'Xóa',
46
+ closeText: 'Đóng',
47
+ loadingText: 'Đang tải…',
48
+ noOptionsText: 'Không có lựa chọn nào',
49
+ openText: 'Mở'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'Đóng'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'Thanh điều khiển trang',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'Tới '}trang ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'Tới trang đầu tiên';
66
+ }
67
+ if (type === 'last') {
68
+ return 'Tới trang cuối cùng';
69
+ }
70
+ if (type === 'next') {
71
+ return 'Tới trang tiếp theo';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'Về trang trước đó';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const zhCN: Localization;
package/locale/zhCN.js ADDED
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.zhCN = void 0;
7
+ const zhCN = exports.zhCN = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: '展开'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return '第一页';
19
+ }
20
+ if (type === 'last') {
21
+ return '最后一页';
22
+ }
23
+ if (type === 'next') {
24
+ return '下一页';
25
+ }
26
+ return '上一页';
27
+ },
28
+ labelRowsPerPage: '每页行数:',
29
+ labelDisplayedRows: ({
30
+ from,
31
+ to,
32
+ count
33
+ }) => `第 ${from} 条到第 ${to} 条,${count !== -1 ? `共 ${count} 条` : `至少 ${to} 条`}`
34
+ }
35
+ },
36
+ MuiRating: {
37
+ defaultProps: {
38
+ getLabelText: value => `${value} 颗星`,
39
+ emptyLabelText: '无标签'
40
+ }
41
+ },
42
+ MuiAutocomplete: {
43
+ defaultProps: {
44
+ clearText: '清空',
45
+ closeText: '关闭',
46
+ loadingText: '加载中……',
47
+ noOptionsText: '没有可用选项',
48
+ openText: '打开'
49
+ }
50
+ },
51
+ MuiAlert: {
52
+ defaultProps: {
53
+ closeText: '关闭'
54
+ }
55
+ }
56
+ }
57
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const zhHK: Localization;