@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.
- package/CHANGELOG.md +61 -0
- package/CircularProgress/CircularProgress.d.ts +6 -0
- package/CircularProgress/CircularProgress.js +31 -4
- package/CircularProgress/circularProgressClasses.d.ts +2 -0
- package/CircularProgress/circularProgressClasses.js +1 -1
- package/Divider/Divider.js +1 -1
- package/MenuItem/MenuItem.js +1 -1
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/Tabs/Tabs.js +5 -0
- package/TextField/TextField.js +1 -1
- package/esm/CircularProgress/CircularProgress.d.ts +6 -0
- package/esm/CircularProgress/CircularProgress.js +32 -5
- package/esm/CircularProgress/circularProgressClasses.d.ts +2 -0
- package/esm/CircularProgress/circularProgressClasses.js +1 -1
- package/esm/Divider/Divider.js +1 -1
- package/esm/MenuItem/MenuItem.js +1 -1
- package/esm/SnackbarContent/SnackbarContent.js +1 -1
- package/esm/Tabs/Tabs.js +5 -0
- package/esm/TextField/TextField.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/amET.d.ts +2 -0
- package/esm/locale/amET.js +73 -0
- package/esm/locale/arEG.d.ts +2 -0
- package/esm/locale/arEG.js +73 -0
- package/esm/locale/arSA.d.ts +2 -0
- package/esm/locale/arSA.js +73 -0
- package/esm/locale/arSD.d.ts +2 -0
- package/esm/locale/arSD.js +73 -0
- package/esm/locale/azAZ.d.ts +2 -0
- package/esm/locale/azAZ.js +77 -0
- package/esm/locale/beBY.d.ts +2 -0
- package/esm/locale/beBY.js +85 -0
- package/esm/locale/bgBG.d.ts +2 -0
- package/esm/locale/bgBG.js +70 -0
- package/esm/locale/bnBD.d.ts +2 -0
- package/esm/locale/bnBD.js +73 -0
- package/esm/locale/caES.d.ts +2 -0
- package/esm/locale/caES.js +70 -0
- package/esm/locale/csCZ.d.ts +2 -0
- package/esm/locale/csCZ.js +81 -0
- package/esm/locale/daDK.d.ts +2 -0
- package/esm/locale/daDK.js +73 -0
- package/esm/locale/deDE.d.ts +2 -0
- package/esm/locale/deDE.js +73 -0
- package/esm/locale/elGR.d.ts +2 -0
- package/esm/locale/elGR.js +75 -0
- package/esm/locale/enUS.d.ts +2 -0
- package/esm/locale/enUS.js +61 -0
- package/esm/locale/esES.d.ts +2 -0
- package/esm/locale/esES.js +73 -0
- package/esm/locale/etEE.d.ts +2 -0
- package/esm/locale/etEE.js +73 -0
- package/esm/locale/faIR.d.ts +2 -0
- package/esm/locale/faIR.js +78 -0
- package/esm/locale/fiFI.d.ts +2 -0
- package/esm/locale/fiFI.js +73 -0
- package/esm/locale/frFR.d.ts +2 -0
- package/esm/locale/frFR.js +73 -0
- package/esm/locale/heIL.d.ts +2 -0
- package/esm/locale/heIL.js +73 -0
- package/esm/locale/hiIN.d.ts +2 -0
- package/esm/locale/hiIN.js +73 -0
- package/esm/locale/hrHR.d.ts +2 -0
- package/esm/locale/hrHR.js +81 -0
- package/esm/locale/huHU.d.ts +2 -0
- package/esm/locale/huHU.js +70 -0
- package/esm/locale/hyAM.d.ts +2 -0
- package/esm/locale/hyAM.js +70 -0
- package/esm/locale/idID.d.ts +2 -0
- package/esm/locale/idID.js +70 -0
- package/esm/locale/index.d.ts +60 -82
- package/esm/locale/index.js +60 -4327
- package/esm/locale/isIS.d.ts +2 -0
- package/esm/locale/isIS.js +73 -0
- package/esm/locale/itIT.d.ts +2 -0
- package/esm/locale/itIT.js +73 -0
- package/esm/locale/jaJP.d.ts +2 -0
- package/esm/locale/jaJP.js +73 -0
- package/esm/locale/khKH.d.ts +2 -0
- package/esm/locale/khKH.js +73 -0
- package/esm/locale/kkKZ.d.ts +2 -0
- package/esm/locale/kkKZ.js +76 -0
- package/esm/locale/koKR.d.ts +2 -0
- package/esm/locale/koKR.js +73 -0
- package/esm/locale/kuCKB.d.ts +2 -0
- package/esm/locale/kuCKB.js +73 -0
- package/esm/locale/kuLatn.d.ts +2 -0
- package/esm/locale/kuLatn.js +73 -0
- package/esm/locale/mkMK.d.ts +2 -0
- package/esm/locale/mkMK.js +77 -0
- package/esm/locale/msMS.d.ts +2 -0
- package/esm/locale/msMS.js +77 -0
- package/esm/locale/myMY.d.ts +2 -0
- package/esm/locale/myMY.js +77 -0
- package/esm/locale/nbNO.d.ts +2 -0
- package/esm/locale/nbNO.js +73 -0
- package/esm/locale/neNP.d.ts +2 -0
- package/esm/locale/neNP.js +77 -0
- package/esm/locale/nlNL.d.ts +2 -0
- package/esm/locale/nlNL.js +73 -0
- package/esm/locale/nnNO.d.ts +2 -0
- package/esm/locale/nnNO.js +73 -0
- package/esm/locale/plPL.d.ts +2 -0
- package/esm/locale/plPL.js +82 -0
- package/esm/locale/psAF.d.ts +2 -0
- package/esm/locale/psAF.js +73 -0
- package/esm/locale/ptBR.d.ts +2 -0
- package/esm/locale/ptBR.js +73 -0
- package/esm/locale/ptPT.d.ts +2 -0
- package/esm/locale/ptPT.js +73 -0
- package/esm/locale/roRO.d.ts +2 -0
- package/esm/locale/roRO.js +73 -0
- package/esm/locale/ruRU.d.ts +2 -0
- package/esm/locale/ruRU.js +85 -0
- package/esm/locale/siLK.d.ts +2 -0
- package/esm/locale/siLK.js +73 -0
- package/esm/locale/skSK.d.ts +2 -0
- package/esm/locale/skSK.js +81 -0
- package/esm/locale/srRS.d.ts +2 -0
- package/esm/locale/srRS.js +81 -0
- package/esm/locale/svSE.d.ts +2 -0
- package/esm/locale/svSE.js +73 -0
- package/esm/locale/thTH.d.ts +2 -0
- package/esm/locale/thTH.js +73 -0
- package/esm/locale/tlTL.d.ts +2 -0
- package/esm/locale/tlTL.js +74 -0
- package/esm/locale/trTR.d.ts +2 -0
- package/esm/locale/trTR.js +73 -0
- package/esm/locale/ukUA.d.ts +2 -0
- package/esm/locale/ukUA.js +82 -0
- package/esm/locale/urPK.d.ts +2 -0
- package/esm/locale/urPK.js +73 -0
- package/esm/locale/utils/LocaleTextApi.d.ts +23 -0
- package/esm/locale/utils/LocaleTextApi.js +1 -0
- package/esm/locale/viVN.d.ts +2 -0
- package/esm/locale/viVN.js +73 -0
- package/esm/locale/zhCN.d.ts +2 -0
- package/esm/locale/zhCN.js +51 -0
- package/esm/locale/zhHK.d.ts +2 -0
- package/esm/locale/zhHK.js +51 -0
- package/esm/locale/zhTW.d.ts +2 -0
- package/esm/locale/zhTW.js +51 -0
- package/esm/styles/createColorScheme.js +2 -2
- package/esm/styles/createTheme.js +2 -2
- package/esm/useAutocomplete/useAutocomplete.js +2 -2
- package/esm/version/index.js +2 -2
- package/index.js +1 -1
- package/locale/amET.d.ts +2 -0
- package/locale/amET.js +79 -0
- package/locale/arEG.d.ts +2 -0
- package/locale/arEG.js +79 -0
- package/locale/arSA.d.ts +2 -0
- package/locale/arSA.js +79 -0
- package/locale/arSD.d.ts +2 -0
- package/locale/arSD.js +79 -0
- package/locale/azAZ.d.ts +2 -0
- package/locale/azAZ.js +83 -0
- package/locale/beBY.d.ts +2 -0
- package/locale/beBY.js +91 -0
- package/locale/bgBG.d.ts +2 -0
- package/locale/bgBG.js +76 -0
- package/locale/bnBD.d.ts +2 -0
- package/locale/bnBD.js +79 -0
- package/locale/caES.d.ts +2 -0
- package/locale/caES.js +76 -0
- package/locale/csCZ.d.ts +2 -0
- package/locale/csCZ.js +87 -0
- package/locale/daDK.d.ts +2 -0
- package/locale/daDK.js +79 -0
- package/locale/deDE.d.ts +2 -0
- package/locale/deDE.js +79 -0
- package/locale/elGR.d.ts +2 -0
- package/locale/elGR.js +81 -0
- package/locale/enUS.d.ts +2 -0
- package/locale/enUS.js +67 -0
- package/locale/esES.d.ts +2 -0
- package/locale/esES.js +79 -0
- package/locale/etEE.d.ts +2 -0
- package/locale/etEE.js +79 -0
- package/locale/faIR.d.ts +2 -0
- package/locale/faIR.js +84 -0
- package/locale/fiFI.d.ts +2 -0
- package/locale/fiFI.js +79 -0
- package/locale/frFR.d.ts +2 -0
- package/locale/frFR.js +79 -0
- package/locale/heIL.d.ts +2 -0
- package/locale/heIL.js +79 -0
- package/locale/hiIN.d.ts +2 -0
- package/locale/hiIN.js +79 -0
- package/locale/hrHR.d.ts +2 -0
- package/locale/hrHR.js +87 -0
- package/locale/huHU.d.ts +2 -0
- package/locale/huHU.js +76 -0
- package/locale/hyAM.d.ts +2 -0
- package/locale/hyAM.js +76 -0
- package/locale/idID.d.ts +2 -0
- package/locale/idID.js +76 -0
- package/locale/index.d.ts +60 -82
- package/locale/index.js +660 -4328
- package/locale/isIS.d.ts +2 -0
- package/locale/isIS.js +79 -0
- package/locale/itIT.d.ts +2 -0
- package/locale/itIT.js +79 -0
- package/locale/jaJP.d.ts +2 -0
- package/locale/jaJP.js +79 -0
- package/locale/khKH.d.ts +2 -0
- package/locale/khKH.js +79 -0
- package/locale/kkKZ.d.ts +2 -0
- package/locale/kkKZ.js +82 -0
- package/locale/koKR.d.ts +2 -0
- package/locale/koKR.js +79 -0
- package/locale/kuCKB.d.ts +2 -0
- package/locale/kuCKB.js +79 -0
- package/locale/kuLatn.d.ts +2 -0
- package/locale/kuLatn.js +79 -0
- package/locale/mkMK.d.ts +2 -0
- package/locale/mkMK.js +83 -0
- package/locale/msMS.d.ts +2 -0
- package/locale/msMS.js +83 -0
- package/locale/myMY.d.ts +2 -0
- package/locale/myMY.js +83 -0
- package/locale/nbNO.d.ts +2 -0
- package/locale/nbNO.js +79 -0
- package/locale/neNP.d.ts +2 -0
- package/locale/neNP.js +83 -0
- package/locale/nlNL.d.ts +2 -0
- package/locale/nlNL.js +79 -0
- package/locale/nnNO.d.ts +2 -0
- package/locale/nnNO.js +79 -0
- package/locale/plPL.d.ts +2 -0
- package/locale/plPL.js +88 -0
- package/locale/psAF.d.ts +2 -0
- package/locale/psAF.js +79 -0
- package/locale/ptBR.d.ts +2 -0
- package/locale/ptBR.js +79 -0
- package/locale/ptPT.d.ts +2 -0
- package/locale/ptPT.js +79 -0
- package/locale/roRO.d.ts +2 -0
- package/locale/roRO.js +79 -0
- package/locale/ruRU.d.ts +2 -0
- package/locale/ruRU.js +91 -0
- package/locale/siLK.d.ts +2 -0
- package/locale/siLK.js +79 -0
- package/locale/skSK.d.ts +2 -0
- package/locale/skSK.js +87 -0
- package/locale/srRS.d.ts +2 -0
- package/locale/srRS.js +87 -0
- package/locale/svSE.d.ts +2 -0
- package/locale/svSE.js +79 -0
- package/locale/thTH.d.ts +2 -0
- package/locale/thTH.js +79 -0
- package/locale/tlTL.d.ts +2 -0
- package/locale/tlTL.js +80 -0
- package/locale/trTR.d.ts +2 -0
- package/locale/trTR.js +79 -0
- package/locale/ukUA.d.ts +2 -0
- package/locale/ukUA.js +88 -0
- package/locale/urPK.d.ts +2 -0
- package/locale/urPK.js +79 -0
- package/locale/utils/LocaleTextApi.d.ts +23 -0
- package/locale/utils/LocaleTextApi.js +5 -0
- package/locale/viVN.d.ts +2 -0
- package/locale/viVN.js +79 -0
- package/locale/zhCN.d.ts +2 -0
- package/locale/zhCN.js +57 -0
- package/locale/zhHK.d.ts +2 -0
- package/locale/zhHK.js +57 -0
- package/locale/zhTW.d.ts +2 -0
- package/locale/zhTW.js +57 -0
- package/package.json +8 -8
- package/styles/createColorScheme.js +2 -2
- package/styles/createTheme.js +2 -2
- package/useAutocomplete/useAutocomplete.js +2 -2
- 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
|
+
};
|
package/locale/thTH.d.ts
ADDED
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
|
+
};
|
package/locale/tlTL.d.ts
ADDED
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
|
+
};
|
package/locale/trTR.d.ts
ADDED
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
|
+
};
|
package/locale/ukUA.d.ts
ADDED
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
|
+
};
|
package/locale/urPK.d.ts
ADDED
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
|
+
}
|
package/locale/viVN.d.ts
ADDED
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
|
+
};
|
package/locale/zhCN.d.ts
ADDED
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
|
+
};
|
package/locale/zhHK.d.ts
ADDED