@mui/material 5.2.6 → 5.3.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.
- package/Autocomplete/Autocomplete.d.ts +2 -0
- package/Autocomplete/Autocomplete.js +11 -7
- package/Avatar/Avatar.d.ts +3 -1
- package/Backdrop/Backdrop.js +3 -1
- package/Badge/Badge.d.ts +10 -10
- package/Badge/Badge.js +6 -7
- package/Button/buttonClasses.d.ts +1 -1
- package/CHANGELOG.md +240 -33
- package/FilledInput/FilledInput.js +4 -1
- package/FormControlLabel/FormControlLabel.js +3 -1
- package/Input/Input.js +4 -1
- package/InputBase/InputBase.js +4 -1
- package/InputLabel/InputLabel.js +4 -0
- package/ListItem/ListItem.js +3 -1
- package/Modal/Modal.js +3 -1
- package/README.md +5 -4
- package/Select/Select.d.ts +9 -1
- package/Select/Select.js +10 -1
- package/Select/SelectInput.d.ts +1 -0
- package/Select/SelectInput.js +25 -4
- package/Slider/Slider.d.ts +2 -0
- package/Slider/Slider.js +126 -53
- package/StepLabel/StepLabel.js +3 -1
- package/SvgIcon/SvgIcon.d.ts +8 -0
- package/SvgIcon/SvgIcon.js +28 -12
- package/TextField/TextField.d.ts +1 -0
- package/TextField/TextField.js +1 -0
- package/Tooltip/Tooltip.js +6 -1
- package/index.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +11 -7
- package/legacy/Backdrop/Backdrop.js +3 -1
- package/legacy/Badge/Badge.js +6 -7
- package/legacy/FilledInput/FilledInput.js +4 -1
- package/legacy/FormControlLabel/FormControlLabel.js +3 -1
- package/legacy/Input/Input.js +4 -1
- package/legacy/InputBase/InputBase.js +4 -1
- package/legacy/InputLabel/InputLabel.js +4 -0
- package/legacy/ListItem/ListItem.js +3 -1
- package/legacy/Modal/Modal.js +3 -1
- package/legacy/Select/Select.js +11 -1
- package/legacy/Select/SelectInput.js +29 -7
- package/legacy/Slider/Slider.js +127 -54
- package/legacy/StepLabel/StepLabel.js +3 -1
- package/legacy/SvgIcon/SvgIcon.js +29 -12
- package/legacy/TextField/TextField.js +1 -0
- package/legacy/Tooltip/Tooltip.js +6 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +139 -128
- package/legacy/utils/shouldSpreadAdditionalProps.js +7 -0
- package/locale/index.js +54 -44
- package/modern/Autocomplete/Autocomplete.js +10 -6
- package/modern/Backdrop/Backdrop.js +3 -1
- package/modern/Badge/Badge.js +6 -7
- package/modern/FilledInput/FilledInput.js +4 -1
- package/modern/FormControlLabel/FormControlLabel.js +3 -1
- package/modern/Input/Input.js +4 -1
- package/modern/InputBase/InputBase.js +4 -1
- package/modern/InputLabel/InputLabel.js +4 -0
- package/modern/ListItem/ListItem.js +3 -1
- package/modern/Modal/Modal.js +3 -1
- package/modern/Select/Select.js +10 -1
- package/modern/Select/SelectInput.js +25 -4
- package/modern/Slider/Slider.js +126 -53
- package/modern/StepLabel/StepLabel.js +3 -1
- package/modern/SvgIcon/SvgIcon.js +27 -11
- package/modern/TextField/TextField.js +1 -0
- package/modern/Tooltip/Tooltip.js +6 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +54 -44
- package/modern/utils/shouldSpreadAdditionalProps.js +7 -0
- package/node/Autocomplete/Autocomplete.js +11 -7
- package/node/Backdrop/Backdrop.js +3 -1
- package/node/Badge/Badge.js +8 -8
- package/node/FilledInput/FilledInput.js +4 -1
- package/node/FormControlLabel/FormControlLabel.js +3 -1
- package/node/Input/Input.js +4 -1
- package/node/InputBase/InputBase.js +4 -1
- package/node/InputLabel/InputLabel.js +4 -0
- package/node/ListItem/ListItem.js +3 -1
- package/node/Modal/Modal.js +3 -1
- package/node/Select/Select.js +10 -1
- package/node/Select/SelectInput.js +25 -4
- package/node/Slider/Slider.js +112 -45
- package/node/StepLabel/StepLabel.js +3 -1
- package/node/SvgIcon/SvgIcon.js +28 -12
- package/node/TextField/TextField.js +1 -0
- package/node/Tooltip/Tooltip.js +6 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +54 -44
- package/node/utils/shouldSpreadAdditionalProps.js +15 -0
- package/package.json +7 -7
- package/styles/components.d.ts +452 -113
- package/styles/createTheme.d.ts +12 -6
- package/styles/overrides.d.ts +16 -4
- package/styles/useThemeProps.d.ts +2 -1
- package/umd/material-ui.development.js +619 -289
- package/umd/material-ui.production.min.js +21 -21
- package/utils/shouldSpreadAdditionalProps.js +7 -0
|
@@ -29,7 +29,7 @@ var SvgIconRoot = styled('svg', {
|
|
|
29
29
|
return [styles.root, ownerState.color !== 'inherit' && styles["color".concat(capitalize(ownerState.color))], styles["fontSize".concat(capitalize(ownerState.fontSize))]];
|
|
30
30
|
}
|
|
31
31
|
})(function (_ref) {
|
|
32
|
-
var _theme$palette$ownerS, _theme$palette$ownerS2;
|
|
32
|
+
var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$transitions2$d, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _theme$palette$ownerS, _theme$palette, _theme$palette$ownerS2, _theme$palette2, _theme$palette2$actio, _theme$palette3, _theme$palette3$actio;
|
|
33
33
|
|
|
34
34
|
var theme = _ref.theme,
|
|
35
35
|
ownerState = _ref.ownerState;
|
|
@@ -40,19 +40,19 @@ var SvgIconRoot = styled('svg', {
|
|
|
40
40
|
display: 'inline-block',
|
|
41
41
|
fill: 'currentColor',
|
|
42
42
|
flexShrink: 0,
|
|
43
|
-
transition: theme.transitions.create('fill', {
|
|
44
|
-
duration: theme.transitions.duration.shorter
|
|
43
|
+
transition: (_theme$transitions = theme.transitions) == null ? void 0 : (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', {
|
|
44
|
+
duration: (_theme$transitions2 = theme.transitions) == null ? void 0 : (_theme$transitions2$d = _theme$transitions2.duration) == null ? void 0 : _theme$transitions2$d.shorter
|
|
45
45
|
}),
|
|
46
46
|
fontSize: {
|
|
47
47
|
inherit: 'inherit',
|
|
48
|
-
small: theme.typography.pxToRem(20),
|
|
49
|
-
medium: theme.typography.pxToRem(24),
|
|
50
|
-
large: theme.typography.pxToRem(35)
|
|
48
|
+
small: ((_theme$typography = theme.typography) == null ? void 0 : (_theme$typography$pxT = _theme$typography.pxToRem) == null ? void 0 : _theme$typography$pxT.call(_theme$typography, 20)) || '1.25rem',
|
|
49
|
+
medium: ((_theme$typography2 = theme.typography) == null ? void 0 : (_theme$typography2$px = _theme$typography2.pxToRem) == null ? void 0 : _theme$typography2$px.call(_theme$typography2, 24)) || '1.5rem',
|
|
50
|
+
large: ((_theme$typography3 = theme.typography) == null ? void 0 : (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875'
|
|
51
51
|
}[ownerState.fontSize],
|
|
52
52
|
// TODO v5 deprecate, v6 remove for sx
|
|
53
|
-
color: (_theme$palette$ownerS = (_theme$palette
|
|
54
|
-
action: theme.palette.action.active,
|
|
55
|
-
disabled: theme.palette.action.disabled,
|
|
53
|
+
color: (_theme$palette$ownerS = (_theme$palette = theme.palette) == null ? void 0 : (_theme$palette$ownerS2 = _theme$palette[ownerState.color]) == null ? void 0 : _theme$palette$ownerS2.main) != null ? _theme$palette$ownerS : {
|
|
54
|
+
action: (_theme$palette2 = theme.palette) == null ? void 0 : (_theme$palette2$actio = _theme$palette2.action) == null ? void 0 : _theme$palette2$actio.active,
|
|
55
|
+
disabled: (_theme$palette3 = theme.palette) == null ? void 0 : (_theme$palette3$actio = _theme$palette3.action) == null ? void 0 : _theme$palette3$actio.disabled,
|
|
56
56
|
inherit: undefined
|
|
57
57
|
}[ownerState.color]
|
|
58
58
|
};
|
|
@@ -72,30 +72,38 @@ var SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
72
72
|
_props$fontSize = props.fontSize,
|
|
73
73
|
fontSize = _props$fontSize === void 0 ? 'medium' : _props$fontSize,
|
|
74
74
|
htmlColor = props.htmlColor,
|
|
75
|
+
_props$inheritViewBox = props.inheritViewBox,
|
|
76
|
+
inheritViewBox = _props$inheritViewBox === void 0 ? false : _props$inheritViewBox,
|
|
75
77
|
titleAccess = props.titleAccess,
|
|
76
78
|
_props$viewBox = props.viewBox,
|
|
77
79
|
viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox,
|
|
78
|
-
other = _objectWithoutProperties(props, ["children", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
80
|
+
other = _objectWithoutProperties(props, ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"]);
|
|
79
81
|
|
|
80
82
|
var ownerState = _extends({}, props, {
|
|
81
83
|
color: color,
|
|
82
84
|
component: component,
|
|
83
85
|
fontSize: fontSize,
|
|
86
|
+
inheritViewBox: inheritViewBox,
|
|
84
87
|
viewBox: viewBox
|
|
85
88
|
});
|
|
86
89
|
|
|
90
|
+
var more = {};
|
|
91
|
+
|
|
92
|
+
if (!inheritViewBox) {
|
|
93
|
+
more.viewBox = viewBox;
|
|
94
|
+
}
|
|
95
|
+
|
|
87
96
|
var classes = useUtilityClasses(ownerState);
|
|
88
97
|
return /*#__PURE__*/_jsxs(SvgIconRoot, _extends({
|
|
89
98
|
as: component,
|
|
90
99
|
className: clsx(classes.root, className),
|
|
91
100
|
ownerState: ownerState,
|
|
92
101
|
focusable: "false",
|
|
93
|
-
viewBox: viewBox,
|
|
94
102
|
color: htmlColor,
|
|
95
103
|
"aria-hidden": titleAccess ? undefined : true,
|
|
96
104
|
role: titleAccess ? 'img' : undefined,
|
|
97
105
|
ref: ref
|
|
98
|
-
}, other, {
|
|
106
|
+
}, more, other, {
|
|
99
107
|
children: [children, titleAccess ? /*#__PURE__*/_jsx("title", {
|
|
100
108
|
children: titleAccess
|
|
101
109
|
}) : null]
|
|
@@ -152,6 +160,15 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes
|
|
|
152
160
|
*/
|
|
153
161
|
htmlColor: PropTypes.string,
|
|
154
162
|
|
|
163
|
+
/**
|
|
164
|
+
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
165
|
+
* prop will be ignored.
|
|
166
|
+
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
167
|
+
* `component`'s viewBox to the root node.
|
|
168
|
+
* @default false
|
|
169
|
+
*/
|
|
170
|
+
inheritViewBox: PropTypes.bool,
|
|
171
|
+
|
|
155
172
|
/**
|
|
156
173
|
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
157
174
|
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
|
@@ -302,6 +302,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
|
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
304
|
* Props applied to the [`InputLabel`](/api/input-label/) element.
|
|
305
|
+
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
305
306
|
*/
|
|
306
307
|
InputLabelProps: PropTypes.object,
|
|
307
308
|
|
|
@@ -705,7 +705,12 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
|
|
|
705
705
|
* and `componentsProps.transition` prop values win over `TransitionProps` if both are applied.
|
|
706
706
|
* @default {}
|
|
707
707
|
*/
|
|
708
|
-
componentsProps: PropTypes.
|
|
708
|
+
componentsProps: PropTypes.shape({
|
|
709
|
+
arrow: PropTypes.object,
|
|
710
|
+
popper: PropTypes.object,
|
|
711
|
+
tooltip: PropTypes.object,
|
|
712
|
+
transition: PropTypes.object
|
|
713
|
+
}),
|
|
709
714
|
|
|
710
715
|
/**
|
|
711
716
|
* Set to `true` if the `title` acts as an accessible description.
|
package/legacy/index.js
CHANGED
package/legacy/locale/index.js
CHANGED
|
@@ -1239,9 +1239,13 @@ export var fiFI = {
|
|
|
1239
1239
|
|
|
1240
1240
|
return 'Mene edelliselle sivulle';
|
|
1241
1241
|
},
|
|
1242
|
-
labelRowsPerPage: 'Rivejä per sivu:'
|
|
1243
|
-
|
|
1244
|
-
|
|
1242
|
+
labelRowsPerPage: 'Rivejä per sivu:',
|
|
1243
|
+
labelDisplayedRows: function labelDisplayedRows(_ref10) {
|
|
1244
|
+
var from = _ref10.from,
|
|
1245
|
+
to = _ref10.to,
|
|
1246
|
+
count = _ref10.count;
|
|
1247
|
+
return "".concat(from, "\u2013").concat(to, " / ").concat(count !== -1 ? count : "enemm\xE4n kuin ".concat(to));
|
|
1248
|
+
}
|
|
1245
1249
|
}
|
|
1246
1250
|
},
|
|
1247
1251
|
MuiRating: {
|
|
@@ -1319,10 +1323,10 @@ export var frFR = {
|
|
|
1319
1323
|
return 'Aller à la page précédente';
|
|
1320
1324
|
},
|
|
1321
1325
|
labelRowsPerPage: 'Lignes par page :',
|
|
1322
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
1323
|
-
var from =
|
|
1324
|
-
to =
|
|
1325
|
-
count =
|
|
1326
|
+
labelDisplayedRows: function labelDisplayedRows(_ref11) {
|
|
1327
|
+
var from = _ref11.from,
|
|
1328
|
+
to = _ref11.to,
|
|
1329
|
+
count = _ref11.count;
|
|
1326
1330
|
return "".concat(from, "\u2013").concat(to, " sur ").concat(count !== -1 ? count : "plus que ".concat(to));
|
|
1327
1331
|
}
|
|
1328
1332
|
}
|
|
@@ -1402,10 +1406,10 @@ export var heIL = {
|
|
|
1402
1406
|
return 'לעמוד הקודם';
|
|
1403
1407
|
},
|
|
1404
1408
|
labelRowsPerPage: 'שורות בעמוד:',
|
|
1405
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
1406
|
-
var from =
|
|
1407
|
-
to =
|
|
1408
|
-
count =
|
|
1409
|
+
labelDisplayedRows: function labelDisplayedRows(_ref12) {
|
|
1410
|
+
var from = _ref12.from,
|
|
1411
|
+
to = _ref12.to,
|
|
1412
|
+
count = _ref12.count;
|
|
1409
1413
|
return "".concat(from, "\u2013").concat(to, " \u05DE\u05EA\u05D5\u05DA ").concat(count !== -1 ? count : "\u05D9\u05D5\u05EA\u05E8 \u05DE ".concat(to));
|
|
1410
1414
|
}
|
|
1411
1415
|
}
|
|
@@ -1485,10 +1489,10 @@ export var hiIN = {
|
|
|
1485
1489
|
return 'पिछले पृष्ठ पर जाएँ';
|
|
1486
1490
|
},
|
|
1487
1491
|
labelRowsPerPage: 'पंक्तियाँ प्रति पृष्ठ:',
|
|
1488
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
1489
|
-
var from =
|
|
1490
|
-
to =
|
|
1491
|
-
count =
|
|
1492
|
+
labelDisplayedRows: function labelDisplayedRows(_ref13) {
|
|
1493
|
+
var from = _ref13.from,
|
|
1494
|
+
to = _ref13.to,
|
|
1495
|
+
count = _ref13.count;
|
|
1492
1496
|
return "".concat(from, "-").concat(to === -1 ? count : to, " \u0915\u0941\u0932 ").concat(count, " \u092E\u0947\u0902");
|
|
1493
1497
|
}
|
|
1494
1498
|
}
|
|
@@ -1942,10 +1946,10 @@ export var jaJP = {
|
|
|
1942
1946
|
return '前のページへ';
|
|
1943
1947
|
},
|
|
1944
1948
|
labelRowsPerPage: 'ページあたりの行数:',
|
|
1945
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
1946
|
-
var from =
|
|
1947
|
-
to =
|
|
1948
|
-
count =
|
|
1949
|
+
labelDisplayedRows: function labelDisplayedRows(_ref14) {
|
|
1950
|
+
var from = _ref14.from,
|
|
1951
|
+
to = _ref14.to,
|
|
1952
|
+
count = _ref14.count;
|
|
1949
1953
|
return "".concat(from, "\uFF5E").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, "\u4EE5\u4E0A"));
|
|
1950
1954
|
}
|
|
1951
1955
|
}
|
|
@@ -2025,10 +2029,10 @@ export var khKH = {
|
|
|
2025
2029
|
return 'ទៅទំព័រមុន';
|
|
2026
2030
|
},
|
|
2027
2031
|
labelRowsPerPage: 'ចំនួនជួរដេកក្នុងមួយទំព័រ:',
|
|
2028
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2029
|
-
var from =
|
|
2030
|
-
to =
|
|
2031
|
-
count =
|
|
2032
|
+
labelDisplayedRows: function labelDisplayedRows(_ref15) {
|
|
2033
|
+
var from = _ref15.from,
|
|
2034
|
+
to = _ref15.to,
|
|
2035
|
+
count = _ref15.count;
|
|
2032
2036
|
return "".concat(from, " - ").concat(to, " \u1793\u17C3 ").concat(count !== -1 ? count : "\u1785\u17D2\u179A\u17BE\u1793\u1787\u17B6\u1784 ".concat(to));
|
|
2033
2037
|
}
|
|
2034
2038
|
}
|
|
@@ -2108,10 +2112,10 @@ export var koKR = {
|
|
|
2108
2112
|
return '이전 페이지로 이동';
|
|
2109
2113
|
},
|
|
2110
2114
|
labelRowsPerPage: '페이지 당 행:',
|
|
2111
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2112
|
-
var from =
|
|
2113
|
-
to =
|
|
2114
|
-
count =
|
|
2115
|
+
labelDisplayedRows: function labelDisplayedRows(_ref16) {
|
|
2116
|
+
var from = _ref16.from,
|
|
2117
|
+
to = _ref16.to,
|
|
2118
|
+
count = _ref16.count;
|
|
2115
2119
|
return "".concat(from, "\u2013").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, "\uAC1C \uC774\uC0C1"));
|
|
2116
2120
|
}
|
|
2117
2121
|
}
|
|
@@ -2191,10 +2195,10 @@ export var kzKZ = {
|
|
|
2191
2195
|
return 'Алдыңғы бетке өту';
|
|
2192
2196
|
},
|
|
2193
2197
|
labelRowsPerPage: 'Беттегі қатарлар:',
|
|
2194
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2195
|
-
var from =
|
|
2196
|
-
to =
|
|
2197
|
-
count =
|
|
2198
|
+
labelDisplayedRows: function labelDisplayedRows(_ref17) {
|
|
2199
|
+
var from = _ref17.from,
|
|
2200
|
+
to = _ref17.to,
|
|
2201
|
+
count = _ref17.count;
|
|
2198
2202
|
return "".concat(count !== -1 ? count : "+".concat(to), " \u049B\u0430\u0442\u0430\u0440\u0434\u044B\u04A3 \u0456\u0448\u0456\u043D\u0435\u043D ").concat(from, "\u2013").concat(to);
|
|
2199
2203
|
}
|
|
2200
2204
|
}
|
|
@@ -2278,10 +2282,10 @@ export var nbNO = {
|
|
|
2278
2282
|
return 'Gå til forrige side';
|
|
2279
2283
|
},
|
|
2280
2284
|
labelRowsPerPage: 'Rader per side:',
|
|
2281
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2282
|
-
var from =
|
|
2283
|
-
to =
|
|
2284
|
-
count =
|
|
2285
|
+
labelDisplayedRows: function labelDisplayedRows(_ref18) {
|
|
2286
|
+
var from = _ref18.from,
|
|
2287
|
+
to = _ref18.to,
|
|
2288
|
+
count = _ref18.count;
|
|
2285
2289
|
return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "mer enn ".concat(to));
|
|
2286
2290
|
}
|
|
2287
2291
|
}
|
|
@@ -2361,10 +2365,10 @@ export var nlNL = {
|
|
|
2361
2365
|
return 'Ga naar vorige pagina';
|
|
2362
2366
|
},
|
|
2363
2367
|
labelRowsPerPage: 'Regels per pagina:',
|
|
2364
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2365
|
-
var from =
|
|
2366
|
-
to =
|
|
2367
|
-
count =
|
|
2368
|
+
labelDisplayedRows: function labelDisplayedRows(_ref19) {
|
|
2369
|
+
var from = _ref19.from,
|
|
2370
|
+
to = _ref19.to,
|
|
2371
|
+
count = _ref19.count;
|
|
2368
2372
|
return "".concat(from, "\u2013").concat(to, " van ").concat(count !== -1 ? count : "meer dan ".concat(to));
|
|
2369
2373
|
}
|
|
2370
2374
|
}
|
|
@@ -2532,10 +2536,10 @@ export var ptBR = {
|
|
|
2532
2536
|
return 'Ir para a página anterior';
|
|
2533
2537
|
},
|
|
2534
2538
|
labelRowsPerPage: 'Linhas por página:',
|
|
2535
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2536
|
-
var from =
|
|
2537
|
-
to =
|
|
2538
|
-
count =
|
|
2539
|
+
labelDisplayedRows: function labelDisplayedRows(_ref20) {
|
|
2540
|
+
var from = _ref20.from,
|
|
2541
|
+
to = _ref20.to,
|
|
2542
|
+
count = _ref20.count;
|
|
2539
2543
|
return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
|
|
2540
2544
|
}
|
|
2541
2545
|
}
|
|
@@ -2615,10 +2619,10 @@ export var ptPT = {
|
|
|
2615
2619
|
return 'Página anterior';
|
|
2616
2620
|
},
|
|
2617
2621
|
labelRowsPerPage: 'Linhas por página:',
|
|
2618
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2619
|
-
var from =
|
|
2620
|
-
to =
|
|
2621
|
-
count =
|
|
2622
|
+
labelDisplayedRows: function labelDisplayedRows(_ref21) {
|
|
2623
|
+
var from = _ref21.from,
|
|
2624
|
+
to = _ref21.to,
|
|
2625
|
+
count = _ref21.count;
|
|
2622
2626
|
return "".concat(from, "\u2013").concat(to, " de ").concat(count !== -1 ? count : "mais de ".concat(to));
|
|
2623
2627
|
}
|
|
2624
2628
|
}
|
|
@@ -2777,10 +2781,10 @@ export var ruRU = {
|
|
|
2777
2781
|
return 'Перейти на предыдущую страницу';
|
|
2778
2782
|
},
|
|
2779
2783
|
labelRowsPerPage: 'Строк на странице:',
|
|
2780
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2781
|
-
var from =
|
|
2782
|
-
to =
|
|
2783
|
-
count =
|
|
2784
|
+
labelDisplayedRows: function labelDisplayedRows(_ref22) {
|
|
2785
|
+
var from = _ref22.from,
|
|
2786
|
+
to = _ref22.to,
|
|
2787
|
+
count = _ref22.count;
|
|
2784
2788
|
return "".concat(from, "\u2013").concat(to, " \u0438\u0437 ").concat(count !== -1 ? count : "\u0431\u043E\u043B\u0435\u0435 \u0447\u0435\u043C ".concat(to));
|
|
2785
2789
|
}
|
|
2786
2790
|
}
|
|
@@ -2873,10 +2877,10 @@ export var siLK = {
|
|
|
2873
2877
|
return 'පෙර පිටුවට යන්න';
|
|
2874
2878
|
},
|
|
2875
2879
|
labelRowsPerPage: 'පිටුවක පේළි:',
|
|
2876
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2877
|
-
var from =
|
|
2878
|
-
to =
|
|
2879
|
-
count =
|
|
2880
|
+
labelDisplayedRows: function labelDisplayedRows(_ref23) {
|
|
2881
|
+
var from = _ref23.from,
|
|
2882
|
+
to = _ref23.to,
|
|
2883
|
+
count = _ref23.count;
|
|
2880
2884
|
return "".concat(from, "\u2013").concat(to, " \u0DAF\u0D9A\u0DCA\u0DC0\u0DCF ").concat(count !== -1 ? count : "".concat(to, " \u0DA7 \u0DC0\u0DD0\u0DA9\u0DD2 \u0DB4\u0DCA\u200D\u0DBB\u0DB8\u0DCF\u0DAB\u0DBA\u0D9A\u0DD2\u0DB1\u0DCA"));
|
|
2881
2885
|
}
|
|
2882
2886
|
}
|
|
@@ -2956,10 +2960,10 @@ export var skSK = {
|
|
|
2956
2960
|
return 'Ísť na predchádzajúcu stránku';
|
|
2957
2961
|
},
|
|
2958
2962
|
labelRowsPerPage: 'Riadkov na stránke:',
|
|
2959
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
2960
|
-
var from =
|
|
2961
|
-
to =
|
|
2962
|
-
count =
|
|
2963
|
+
labelDisplayedRows: function labelDisplayedRows(_ref24) {
|
|
2964
|
+
var from = _ref24.from,
|
|
2965
|
+
to = _ref24.to,
|
|
2966
|
+
count = _ref24.count;
|
|
2963
2967
|
return "".concat(from, "\u2013").concat(to, " z ").concat(count !== -1 ? count : "viac ako ".concat(to));
|
|
2964
2968
|
}
|
|
2965
2969
|
}
|
|
@@ -3047,10 +3051,10 @@ export var svSE = {
|
|
|
3047
3051
|
return 'Gå till föregående sida';
|
|
3048
3052
|
},
|
|
3049
3053
|
labelRowsPerPage: 'Rader per sida:',
|
|
3050
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3051
|
-
var from =
|
|
3052
|
-
to =
|
|
3053
|
-
count =
|
|
3054
|
+
labelDisplayedRows: function labelDisplayedRows(_ref25) {
|
|
3055
|
+
var from = _ref25.from,
|
|
3056
|
+
to = _ref25.to,
|
|
3057
|
+
count = _ref25.count;
|
|
3054
3058
|
return "".concat(from, "\u2013").concat(to, " av ").concat(count !== -1 ? count : "fler \xE4n ".concat(to));
|
|
3055
3059
|
}
|
|
3056
3060
|
}
|
|
@@ -3130,10 +3134,10 @@ export var thTH = {
|
|
|
3130
3134
|
return 'ไปที่หน้าก่อน';
|
|
3131
3135
|
},
|
|
3132
3136
|
labelRowsPerPage: 'จำนวนแถวต่อหน้า:',
|
|
3133
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3134
|
-
var from =
|
|
3135
|
-
to =
|
|
3136
|
-
count =
|
|
3137
|
+
labelDisplayedRows: function labelDisplayedRows(_ref26) {
|
|
3138
|
+
var from = _ref26.from,
|
|
3139
|
+
to = _ref26.to,
|
|
3140
|
+
count = _ref26.count;
|
|
3137
3141
|
return "".concat(from, "\u2013").concat(to, " \u0E08\u0E32\u0E01 ").concat(count !== -1 ? count : "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ".concat(to));
|
|
3138
3142
|
}
|
|
3139
3143
|
}
|
|
@@ -3292,10 +3296,10 @@ export var ukUA = {
|
|
|
3292
3296
|
return 'Перейти на попередню сторінку';
|
|
3293
3297
|
},
|
|
3294
3298
|
labelRowsPerPage: 'Рядків на сторінці:',
|
|
3295
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3296
|
-
var from =
|
|
3297
|
-
to =
|
|
3298
|
-
count =
|
|
3299
|
+
labelDisplayedRows: function labelDisplayedRows(_ref27) {
|
|
3300
|
+
var from = _ref27.from,
|
|
3301
|
+
to = _ref27.to,
|
|
3302
|
+
count = _ref27.count;
|
|
3299
3303
|
return "".concat(from, "\u2013").concat(to, " \u0437 ").concat(count !== -1 ? count : "\u043F\u043E\u043D\u0430\u0434 ".concat(to));
|
|
3300
3304
|
}
|
|
3301
3305
|
}
|
|
@@ -3360,31 +3364,34 @@ export var ukUA = {
|
|
|
3360
3364
|
};
|
|
3361
3365
|
export var viVN = {
|
|
3362
3366
|
components: {
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3367
|
+
MuiBreadcrumbs: {
|
|
3368
|
+
defaultProps: {
|
|
3369
|
+
expandText: 'Mở ra'
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3368
3372
|
MuiTablePagination: {
|
|
3369
3373
|
defaultProps: {
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3374
|
+
getItemAriaLabel: function getItemAriaLabel(type) {
|
|
3375
|
+
if (type === 'first') {
|
|
3376
|
+
return 'Tới trang đầu tiên';
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
if (type === 'last') {
|
|
3380
|
+
return 'Tới trang cuối cùng';
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3383
|
+
if (type === 'next') {
|
|
3384
|
+
return 'Tới trang tiếp theo';
|
|
3385
|
+
} // if (type === 'previous') {
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
return 'Về trang trước đó';
|
|
3389
|
+
},
|
|
3383
3390
|
labelRowsPerPage: 'Số hàng mỗi trang:',
|
|
3384
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3385
|
-
var from =
|
|
3386
|
-
to =
|
|
3387
|
-
count =
|
|
3391
|
+
labelDisplayedRows: function labelDisplayedRows(_ref28) {
|
|
3392
|
+
var from = _ref28.from,
|
|
3393
|
+
to = _ref28.to,
|
|
3394
|
+
count = _ref28.count;
|
|
3388
3395
|
return "".concat(from, "\u2013").concat(to, " trong ").concat(count !== -1 ? count : "nhi\u1EC1u h\u01A1n ".concat(to));
|
|
3389
3396
|
}
|
|
3390
3397
|
}
|
|
@@ -3394,7 +3401,7 @@ export var viVN = {
|
|
|
3394
3401
|
getLabelText: function getLabelText(value) {
|
|
3395
3402
|
return "".concat(value, " sao");
|
|
3396
3403
|
},
|
|
3397
|
-
emptyLabelText: '
|
|
3404
|
+
emptyLabelText: 'Không có dữ liệu'
|
|
3398
3405
|
}
|
|
3399
3406
|
},
|
|
3400
3407
|
MuiAutocomplete: {
|
|
@@ -3402,7 +3409,7 @@ export var viVN = {
|
|
|
3402
3409
|
clearText: 'Xóa',
|
|
3403
3410
|
closeText: 'Đóng',
|
|
3404
3411
|
loadingText: 'Đang tải…',
|
|
3405
|
-
noOptionsText: 'Không có lựa chọn',
|
|
3412
|
+
noOptionsText: 'Không có lựa chọn nào',
|
|
3406
3413
|
openText: 'Mở'
|
|
3407
3414
|
}
|
|
3408
3415
|
},
|
|
@@ -3410,28 +3417,32 @@ export var viVN = {
|
|
|
3410
3417
|
defaultProps: {
|
|
3411
3418
|
closeText: 'Đóng'
|
|
3412
3419
|
}
|
|
3413
|
-
}
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
// }
|
|
3426
|
-
// if (type === 'next') {
|
|
3427
|
-
// return 'Go to next page';
|
|
3428
|
-
// }
|
|
3429
|
-
// // if (type === 'previous') {
|
|
3430
|
-
// return 'Go to previous page';
|
|
3431
|
-
// },
|
|
3432
|
-
// },
|
|
3433
|
-
// },
|
|
3420
|
+
},
|
|
3421
|
+
MuiPagination: {
|
|
3422
|
+
defaultProps: {
|
|
3423
|
+
'aria-label': 'Thanh điều khiển trang',
|
|
3424
|
+
getItemAriaLabel: function getItemAriaLabel(type, page, selected) {
|
|
3425
|
+
if (type === 'page') {
|
|
3426
|
+
return "".concat(selected ? '' : 'Tới ', "trang ").concat(page);
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
if (type === 'first') {
|
|
3430
|
+
return 'Tới trang đầu tiên';
|
|
3431
|
+
}
|
|
3434
3432
|
|
|
3433
|
+
if (type === 'last') {
|
|
3434
|
+
return 'Tới trang cuối cùng';
|
|
3435
|
+
}
|
|
3436
|
+
|
|
3437
|
+
if (type === 'next') {
|
|
3438
|
+
return 'Tới trang tiếp theo';
|
|
3439
|
+
} // if (type === 'previous') {
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
return 'Về trang trước đó';
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
}
|
|
3435
3446
|
}
|
|
3436
3447
|
};
|
|
3437
3448
|
export var zhCN = {
|
|
@@ -3459,10 +3470,10 @@ export var zhCN = {
|
|
|
3459
3470
|
return '上一页';
|
|
3460
3471
|
},
|
|
3461
3472
|
labelRowsPerPage: '每页行数:',
|
|
3462
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3463
|
-
var from =
|
|
3464
|
-
to =
|
|
3465
|
-
count =
|
|
3473
|
+
labelDisplayedRows: function labelDisplayedRows(_ref29) {
|
|
3474
|
+
var from = _ref29.from,
|
|
3475
|
+
to = _ref29.to,
|
|
3476
|
+
count = _ref29.count;
|
|
3466
3477
|
return "\u7B2C ".concat(from, " \u6761\u5230\u7B2C ").concat(to, " \u6761\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u6761") : "\u81F3\u5C11 ".concat(to, " \u6761"));
|
|
3467
3478
|
}
|
|
3468
3479
|
}
|
|
@@ -3516,10 +3527,10 @@ export var zhHK = {
|
|
|
3516
3527
|
return '上一頁';
|
|
3517
3528
|
},
|
|
3518
3529
|
labelRowsPerPage: '每頁行數:',
|
|
3519
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3520
|
-
var from =
|
|
3521
|
-
to =
|
|
3522
|
-
count =
|
|
3530
|
+
labelDisplayedRows: function labelDisplayedRows(_ref30) {
|
|
3531
|
+
var from = _ref30.from,
|
|
3532
|
+
to = _ref30.to,
|
|
3533
|
+
count = _ref30.count;
|
|
3523
3534
|
return "\u7B2C ".concat(from, " \u9805\u81F3\u7B2C ").concat(to, " \u9805\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u9805") : "\u8D85\u904E ".concat(to, " \u9805"));
|
|
3524
3535
|
}
|
|
3525
3536
|
}
|
|
@@ -3573,10 +3584,10 @@ export var zhTW = {
|
|
|
3573
3584
|
return '上一頁';
|
|
3574
3585
|
},
|
|
3575
3586
|
labelRowsPerPage: '每行行數:',
|
|
3576
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3577
|
-
var from =
|
|
3578
|
-
to =
|
|
3579
|
-
count =
|
|
3587
|
+
labelDisplayedRows: function labelDisplayedRows(_ref31) {
|
|
3588
|
+
var from = _ref31.from,
|
|
3589
|
+
to = _ref31.to,
|
|
3590
|
+
count = _ref31.count;
|
|
3580
3591
|
return "\u7B2C ".concat(from, " \u689D\u5230\u7B2C ").concat(to, " \u689D\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u689D") : "\u81F3\u5C11 ".concat(to, " \u689D"));
|
|
3581
3592
|
}
|
|
3582
3593
|
}
|