@mui/x-data-grid 6.6.0 → 6.7.0
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 +72 -0
- package/components/containers/GridRootStyles.js +8 -1
- package/components/panel/GridColumnsPanel.d.ts +14 -0
- package/components/panel/GridColumnsPanel.js +14 -0
- package/components/panel/filterPanel/GridFilterInputBoolean.d.ts +0 -1
- package/components/panel/filterPanel/GridFilterInputBoolean.js +6 -7
- package/components/panel/filterPanel/GridFilterInputDate.d.ts +0 -1
- package/components/panel/filterPanel/GridFilterInputDate.js +1 -6
- package/components/panel/filterPanel/GridFilterInputSingleSelect.d.ts +0 -1
- package/components/panel/filterPanel/GridFilterInputSingleSelect.js +5 -6
- package/components/panel/filterPanel/GridFilterInputValue.d.ts +0 -1
- package/components/panel/filterPanel/GridFilterInputValue.js +1 -6
- package/components/panel/filterPanel/GridFilterPanel.d.ts +8 -0
- package/components/panel/filterPanel/GridFilterPanel.js +8 -0
- package/constants/gridClasses.d.ts +4 -0
- package/constants/gridClasses.js +1 -1
- package/constants/localeTextConstants.js +4 -4
- package/hooks/features/filter/useGridFilter.js +2 -1
- package/hooks/features/focus/useGridFocus.js +1 -0
- package/hooks/features/rows/useGridRowsMeta.js +1 -1
- package/hooks/features/sorting/useGridSorting.js +2 -1
- package/hooks/features/virtualization/useGridVirtualScroller.js +2 -2
- package/index.js +1 -1
- package/legacy/components/containers/GridRootStyles.js +8 -4
- package/legacy/components/panel/GridColumnsPanel.js +14 -0
- package/legacy/components/panel/filterPanel/GridFilterInputBoolean.js +7 -7
- package/legacy/components/panel/filterPanel/GridFilterInputDate.js +1 -5
- package/legacy/components/panel/filterPanel/GridFilterInputSingleSelect.js +6 -6
- package/legacy/components/panel/filterPanel/GridFilterInputValue.js +1 -5
- package/legacy/components/panel/filterPanel/GridFilterPanel.js +8 -0
- package/legacy/constants/gridClasses.js +1 -1
- package/legacy/constants/localeTextConstants.js +4 -4
- package/legacy/hooks/features/filter/useGridFilter.js +2 -1
- package/legacy/hooks/features/focus/useGridFocus.js +1 -0
- package/legacy/hooks/features/rows/useGridRowsMeta.js +1 -1
- package/legacy/hooks/features/sorting/useGridSorting.js +2 -1
- package/legacy/hooks/features/virtualization/useGridVirtualScroller.js +2 -2
- package/legacy/index.js +1 -1
- package/legacy/locales/arSD.js +4 -4
- package/legacy/locales/beBY.js +4 -4
- package/legacy/locales/bgBG.js +4 -4
- package/legacy/locales/csCZ.js +25 -27
- package/legacy/locales/daDK.js +4 -4
- package/legacy/locales/deDE.js +25 -27
- package/legacy/locales/elGR.js +4 -4
- package/legacy/locales/esES.js +4 -4
- package/legacy/locales/faIR.js +4 -4
- package/legacy/locales/fiFI.js +4 -4
- package/legacy/locales/heIL.js +4 -4
- package/legacy/locales/huHU.js +4 -4
- package/legacy/locales/itIT.js +4 -4
- package/legacy/locales/jaJP.js +4 -4
- package/legacy/locales/koKR.js +4 -4
- package/legacy/locales/nbNO.js +4 -4
- package/legacy/locales/plPL.js +4 -4
- package/legacy/locales/ptBR.js +4 -4
- package/legacy/locales/roRO.js +4 -4
- package/legacy/locales/ruRU.js +4 -4
- package/legacy/locales/skSK.js +4 -4
- package/legacy/locales/svSE.js +4 -4
- package/legacy/locales/trTR.js +16 -17
- package/legacy/locales/ukUA.js +4 -4
- package/legacy/locales/urPK.js +4 -4
- package/legacy/locales/viVN.js +4 -4
- package/legacy/locales/zhCN.js +4 -4
- package/legacy/locales/zhTW.js +4 -4
- package/legacy/utils/EventManager.js +2 -2
- package/locales/arSD.js +4 -4
- package/locales/beBY.js +4 -4
- package/locales/bgBG.js +4 -4
- package/locales/csCZ.js +25 -27
- package/locales/daDK.js +4 -4
- package/locales/deDE.js +25 -27
- package/locales/elGR.js +4 -4
- package/locales/esES.js +4 -4
- package/locales/faIR.js +4 -4
- package/locales/fiFI.js +4 -4
- package/locales/heIL.js +4 -4
- package/locales/huHU.js +4 -4
- package/locales/itIT.js +4 -4
- package/locales/jaJP.js +4 -4
- package/locales/koKR.js +4 -4
- package/locales/nbNO.js +4 -4
- package/locales/plPL.js +4 -4
- package/locales/ptBR.js +4 -4
- package/locales/roRO.js +4 -4
- package/locales/ruRU.js +4 -4
- package/locales/skSK.js +4 -4
- package/locales/svSE.js +4 -4
- package/locales/trTR.js +16 -17
- package/locales/ukUA.js +4 -4
- package/locales/urPK.js +4 -4
- package/locales/viVN.js +4 -4
- package/locales/zhCN.js +4 -4
- package/locales/zhTW.js +4 -4
- package/models/events/gridEventLookup.d.ts +8 -0
- package/modern/components/containers/GridRootStyles.js +8 -1
- package/modern/components/panel/GridColumnsPanel.js +14 -0
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +6 -7
- package/modern/components/panel/filterPanel/GridFilterInputDate.js +1 -6
- package/modern/components/panel/filterPanel/GridFilterInputSingleSelect.js +5 -6
- package/modern/components/panel/filterPanel/GridFilterInputValue.js +1 -6
- package/modern/components/panel/filterPanel/GridFilterPanel.js +8 -0
- package/modern/constants/gridClasses.js +1 -1
- package/modern/constants/localeTextConstants.js +4 -4
- package/modern/hooks/features/filter/useGridFilter.js +2 -1
- package/modern/hooks/features/focus/useGridFocus.js +1 -0
- package/modern/hooks/features/rows/useGridRowsMeta.js +1 -1
- package/modern/hooks/features/sorting/useGridSorting.js +2 -1
- package/modern/hooks/features/virtualization/useGridVirtualScroller.js +2 -2
- package/modern/index.js +1 -1
- package/modern/locales/arSD.js +4 -4
- package/modern/locales/beBY.js +4 -4
- package/modern/locales/bgBG.js +4 -4
- package/modern/locales/csCZ.js +25 -27
- package/modern/locales/daDK.js +4 -4
- package/modern/locales/deDE.js +25 -27
- package/modern/locales/elGR.js +4 -4
- package/modern/locales/esES.js +4 -4
- package/modern/locales/faIR.js +4 -4
- package/modern/locales/fiFI.js +4 -4
- package/modern/locales/heIL.js +4 -4
- package/modern/locales/huHU.js +4 -4
- package/modern/locales/itIT.js +4 -4
- package/modern/locales/jaJP.js +4 -4
- package/modern/locales/koKR.js +4 -4
- package/modern/locales/nbNO.js +4 -4
- package/modern/locales/plPL.js +4 -4
- package/modern/locales/ptBR.js +4 -4
- package/modern/locales/roRO.js +4 -4
- package/modern/locales/ruRU.js +4 -4
- package/modern/locales/skSK.js +4 -4
- package/modern/locales/svSE.js +4 -4
- package/modern/locales/trTR.js +16 -17
- package/modern/locales/ukUA.js +4 -4
- package/modern/locales/urPK.js +4 -4
- package/modern/locales/viVN.js +4 -4
- package/modern/locales/zhCN.js +4 -4
- package/modern/locales/zhTW.js +4 -4
- package/modern/utils/EventManager.js +2 -2
- package/node/components/containers/GridRootStyles.js +8 -1
- package/node/components/panel/GridColumnsPanel.js +14 -0
- package/node/components/panel/filterPanel/GridFilterInputBoolean.js +6 -7
- package/node/components/panel/filterPanel/GridFilterInputDate.js +1 -6
- package/node/components/panel/filterPanel/GridFilterInputSingleSelect.js +5 -6
- package/node/components/panel/filterPanel/GridFilterInputValue.js +1 -6
- package/node/components/panel/filterPanel/GridFilterPanel.js +8 -0
- package/node/constants/gridClasses.js +1 -1
- package/node/constants/localeTextConstants.js +4 -4
- package/node/hooks/features/filter/useGridFilter.js +5 -4
- package/node/hooks/features/focus/useGridFocus.js +1 -0
- package/node/hooks/features/rows/useGridRowsMeta.js +1 -1
- package/node/hooks/features/sorting/useGridSorting.js +2 -1
- package/node/hooks/features/virtualization/useGridVirtualScroller.js +2 -2
- package/node/index.js +1 -1
- package/node/locales/arSD.js +4 -4
- package/node/locales/beBY.js +4 -4
- package/node/locales/bgBG.js +4 -4
- package/node/locales/csCZ.js +25 -27
- package/node/locales/daDK.js +4 -4
- package/node/locales/deDE.js +25 -27
- package/node/locales/elGR.js +4 -4
- package/node/locales/esES.js +4 -4
- package/node/locales/faIR.js +4 -4
- package/node/locales/fiFI.js +4 -4
- package/node/locales/heIL.js +4 -4
- package/node/locales/huHU.js +4 -4
- package/node/locales/itIT.js +4 -4
- package/node/locales/jaJP.js +4 -4
- package/node/locales/koKR.js +4 -4
- package/node/locales/nbNO.js +4 -4
- package/node/locales/plPL.js +4 -4
- package/node/locales/ptBR.js +4 -4
- package/node/locales/roRO.js +4 -4
- package/node/locales/ruRU.js +4 -4
- package/node/locales/skSK.js +4 -4
- package/node/locales/svSE.js +4 -4
- package/node/locales/trTR.js +16 -17
- package/node/locales/ukUA.js +4 -4
- package/node/locales/urPK.js +4 -4
- package/node/locales/viVN.js +4 -4
- package/node/locales/zhCN.js +4 -4
- package/node/locales/zhTW.js +4 -4
- package/node/utils/EventManager.js +2 -2
- package/package.json +1 -1
- package/themeAugmentation/overrides.d.ts +1 -1
- package/utils/EventManager.js +2 -2
package/modern/locales/zhTW.js
CHANGED
|
@@ -83,10 +83,10 @@ const zhTWGrid = {
|
|
|
83
83
|
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
84
84
|
// 'headerFilterOperator=': 'Equals',
|
|
85
85
|
// 'headerFilterOperator!=': 'Not equals',
|
|
86
|
-
// 'headerFilterOperator>': '
|
|
87
|
-
// 'headerFilterOperator>=': '
|
|
88
|
-
// 'headerFilterOperator<': '
|
|
89
|
-
// 'headerFilterOperator<=': '
|
|
86
|
+
// 'headerFilterOperator>': 'Greater than',
|
|
87
|
+
// 'headerFilterOperator>=': 'Greater than or equal to',
|
|
88
|
+
// 'headerFilterOperator<': 'Less than',
|
|
89
|
+
// 'headerFilterOperator<=': 'Less than or equal to',
|
|
90
90
|
|
|
91
91
|
// Filter values text
|
|
92
92
|
filterValueAny: '任何值',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// the Node.js (https://nodejs.org/api/events.html) polyfill used by webpack.
|
|
4
4
|
export class EventManager {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.maxListeners =
|
|
6
|
+
this.maxListeners = 20;
|
|
7
7
|
this.warnOnce = false;
|
|
8
8
|
this.events = {};
|
|
9
9
|
}
|
|
@@ -25,7 +25,7 @@ export class EventManager {
|
|
|
25
25
|
const collectionSize = collection.highPriority.size + collection.regular.size;
|
|
26
26
|
if (collectionSize > this.maxListeners && !this.warnOnce) {
|
|
27
27
|
this.warnOnce = true;
|
|
28
|
-
console.warn([`Possible EventEmitter memory leak detected. ${collectionSize} ${eventName} listeners added
|
|
28
|
+
console.warn([`Possible EventEmitter memory leak detected. ${collectionSize} ${eventName} listeners added.`].join('\n'));
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -84,6 +84,8 @@ const GridRootStyles = (0, _styles.styled)('div', {
|
|
|
84
84
|
[`& .${_gridClasses.gridClasses['columnHeader--sorted']}`]: styles['columnHeader--sorted']
|
|
85
85
|
}, {
|
|
86
86
|
[`& .${_gridClasses.gridClasses.columnHeader}`]: styles.columnHeader
|
|
87
|
+
}, {
|
|
88
|
+
[`& .${_gridClasses.gridClasses.headerFilterRow}`]: styles.headerFilterRow
|
|
87
89
|
}, {
|
|
88
90
|
[`& .${_gridClasses.gridClasses.columnHeaderCheckbox}`]: styles.columnHeaderCheckbox
|
|
89
91
|
}, {
|
|
@@ -156,7 +158,9 @@ const GridRootStyles = (0, _styles.styled)('div', {
|
|
|
156
158
|
outline: 'none',
|
|
157
159
|
height: '100%',
|
|
158
160
|
display: 'flex',
|
|
159
|
-
|
|
161
|
+
minWidth: 0,
|
|
162
|
+
// See https://github.com/mui/mui-x/issues/8547
|
|
163
|
+
minHeight: 0,
|
|
160
164
|
flexDirection: 'column',
|
|
161
165
|
overflowAnchor: 'none',
|
|
162
166
|
// Keep the same scrolling position
|
|
@@ -234,6 +238,9 @@ const GridRootStyles = (0, _styles.styled)('div', {
|
|
|
234
238
|
borderBottomStyle: 'solid',
|
|
235
239
|
boxSizing: 'border-box'
|
|
236
240
|
},
|
|
241
|
+
[`& .${_gridClasses.gridClasses.headerFilterRow}`]: {
|
|
242
|
+
borderTop: `1px solid ${borderColor}`
|
|
243
|
+
},
|
|
237
244
|
[`& .${_gridClasses.gridClasses.sortIcon}, & .${_gridClasses.gridClasses.filterIcon}`]: {
|
|
238
245
|
fontSize: 'inherit'
|
|
239
246
|
},
|
|
@@ -202,8 +202,22 @@ process.env.NODE_ENV !== "production" ? GridColumnsPanel.propTypes = {
|
|
|
202
202
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
203
203
|
// | To update them edit the TypeScript types and run "yarn proptypes" |
|
|
204
204
|
// ----------------------------------------------------------------------
|
|
205
|
+
/**
|
|
206
|
+
* If `true`, the column search field will be focused automatically.
|
|
207
|
+
* If `false`, the first column switch input will be focused automatically.
|
|
208
|
+
* This helps to avoid input keyboard panel to popup automatically on touch devices.
|
|
209
|
+
* @default true
|
|
210
|
+
*/
|
|
205
211
|
autoFocusSearchField: _propTypes.default.bool,
|
|
212
|
+
/**
|
|
213
|
+
* If `true`, the `Hide all` button will not be displayed.
|
|
214
|
+
* @default false
|
|
215
|
+
*/
|
|
206
216
|
disableHideAllButton: _propTypes.default.bool,
|
|
217
|
+
/**
|
|
218
|
+
* If `true`, the `Show all` button will be disabled
|
|
219
|
+
* @default false
|
|
220
|
+
*/
|
|
207
221
|
disableShowAllButton: _propTypes.default.bool,
|
|
208
222
|
/**
|
|
209
223
|
* Returns the list of togglable columns.
|
|
@@ -13,13 +13,16 @@ var _utils = require("@mui/utils");
|
|
|
13
13
|
var _styles = require("@mui/material/styles");
|
|
14
14
|
var _useGridRootProps = require("../../../hooks/utils/useGridRootProps");
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
-
const _excluded = ["item", "applyValue", "apiRef", "focusElementRef", "
|
|
16
|
+
const _excluded = ["item", "applyValue", "apiRef", "focusElementRef", "isFilterActive", "clearButton", "tabIndex", "label"];
|
|
17
17
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
18
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
19
|
const BooleanOperatorContainer = (0, _styles.styled)('div')({
|
|
20
20
|
display: 'flex',
|
|
21
|
-
alignItems: '
|
|
22
|
-
width: '100%'
|
|
21
|
+
alignItems: 'center',
|
|
22
|
+
width: '100%',
|
|
23
|
+
[`& button`]: {
|
|
24
|
+
margin: 'auto 0px 5px 5px'
|
|
25
|
+
}
|
|
23
26
|
});
|
|
24
27
|
function GridFilterInputBoolean(props) {
|
|
25
28
|
const {
|
|
@@ -27,8 +30,6 @@ function GridFilterInputBoolean(props) {
|
|
|
27
30
|
applyValue,
|
|
28
31
|
apiRef,
|
|
29
32
|
focusElementRef,
|
|
30
|
-
headerFilterMenu,
|
|
31
|
-
isFilterActive,
|
|
32
33
|
clearButton,
|
|
33
34
|
tabIndex,
|
|
34
35
|
label: labelProp
|
|
@@ -69,7 +70,6 @@ function GridFilterInputBoolean(props) {
|
|
|
69
70
|
variant: "standard",
|
|
70
71
|
native: isSelectNative,
|
|
71
72
|
displayEmpty: true,
|
|
72
|
-
startAdornment: isFilterActive ? headerFilterMenu : null,
|
|
73
73
|
inputProps: {
|
|
74
74
|
ref: focusElementRef,
|
|
75
75
|
tabIndex
|
|
@@ -105,7 +105,6 @@ process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes = {
|
|
|
105
105
|
focusElementRef: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.shape({
|
|
106
106
|
current: _propTypes.default.any.isRequired
|
|
107
107
|
})]),
|
|
108
|
-
headerFilterMenu: _propTypes.default.node,
|
|
109
108
|
/**
|
|
110
109
|
* It is `true` if the filter either has a value or an operator with no value
|
|
111
110
|
* required is selected (e.g. `isEmpty`)
|
|
@@ -13,7 +13,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
13
13
|
var _utils = require("@mui/utils");
|
|
14
14
|
var _useGridRootProps = require("../../../hooks/utils/useGridRootProps");
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
-
const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "InputProps", "
|
|
16
|
+
const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "InputProps", "isFilterActive", "clearButton", "tabIndex", "disabled"];
|
|
17
17
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
18
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
19
|
const SUBMIT_FILTER_DATE_STROKE_TIME = 500;
|
|
@@ -26,8 +26,6 @@ function GridFilterInputDate(props) {
|
|
|
26
26
|
apiRef,
|
|
27
27
|
focusElementRef,
|
|
28
28
|
InputProps,
|
|
29
|
-
headerFilterMenu,
|
|
30
|
-
isFilterActive,
|
|
31
29
|
clearButton,
|
|
32
30
|
tabIndex,
|
|
33
31
|
disabled
|
|
@@ -77,8 +75,6 @@ function GridFilterInputDate(props) {
|
|
|
77
75
|
fontSize: "small",
|
|
78
76
|
color: "action"
|
|
79
77
|
}) : clearButton
|
|
80
|
-
} : {}, headerFilterMenu && isFilterActive ? {
|
|
81
|
-
startAdornment: headerFilterMenu
|
|
82
78
|
} : {}, {
|
|
83
79
|
disabled
|
|
84
80
|
}, InputProps, {
|
|
@@ -100,7 +96,6 @@ process.env.NODE_ENV !== "production" ? GridFilterInputDate.propTypes = {
|
|
|
100
96
|
applyValue: _propTypes.default.func.isRequired,
|
|
101
97
|
clearButton: _propTypes.default.node,
|
|
102
98
|
focusElementRef: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
103
|
-
headerFilterMenu: _propTypes.default.node,
|
|
104
99
|
/**
|
|
105
100
|
* It is `true` if the filter either has a value or an operator with no value
|
|
106
101
|
* required is selected (e.g. `isEmpty`)
|
|
@@ -14,7 +14,7 @@ var _styles = require("@mui/material/styles");
|
|
|
14
14
|
var _useGridRootProps = require("../../../hooks/utils/useGridRootProps");
|
|
15
15
|
var _filterPanelUtils = require("./filterPanelUtils");
|
|
16
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "getOptionLabel", "getOptionValue", "placeholder", "tabIndex", "label", "
|
|
17
|
+
const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "getOptionLabel", "getOptionValue", "placeholder", "tabIndex", "label", "isFilterActive", "clearButton"];
|
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
20
|
const renderSingleSelectOptions = ({
|
|
@@ -44,7 +44,10 @@ const renderSingleSelectOptions = ({
|
|
|
44
44
|
const SingleSelectOperatorContainer = (0, _styles.styled)('div')({
|
|
45
45
|
display: 'flex',
|
|
46
46
|
alignItems: 'flex-end',
|
|
47
|
-
width: '100%'
|
|
47
|
+
width: '100%',
|
|
48
|
+
[`& button`]: {
|
|
49
|
+
margin: 'auto 0px 5px 5px'
|
|
50
|
+
}
|
|
48
51
|
});
|
|
49
52
|
function GridFilterInputSingleSelect(props) {
|
|
50
53
|
const {
|
|
@@ -58,8 +61,6 @@ function GridFilterInputSingleSelect(props) {
|
|
|
58
61
|
placeholder,
|
|
59
62
|
tabIndex,
|
|
60
63
|
label: labelProp,
|
|
61
|
-
headerFilterMenu,
|
|
62
|
-
isFilterActive,
|
|
63
64
|
clearButton
|
|
64
65
|
} = props,
|
|
65
66
|
others = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
@@ -133,7 +134,6 @@ function GridFilterInputSingleSelect(props) {
|
|
|
133
134
|
labelId: labelId,
|
|
134
135
|
value: filterValueState,
|
|
135
136
|
onChange: onFilterChange,
|
|
136
|
-
startAdornment: isFilterActive ? headerFilterMenu : null,
|
|
137
137
|
variant: "standard",
|
|
138
138
|
type: type || 'text',
|
|
139
139
|
inputProps: {
|
|
@@ -178,7 +178,6 @@ process.env.NODE_ENV !== "production" ? GridFilterInputSingleSelect.propTypes =
|
|
|
178
178
|
* @returns {string} The value to be used.
|
|
179
179
|
*/
|
|
180
180
|
getOptionValue: _propTypes.default.func,
|
|
181
|
-
headerFilterMenu: _propTypes.default.node,
|
|
182
181
|
/**
|
|
183
182
|
* It is `true` if the filter either has a value or an operator with no value
|
|
184
183
|
* required is selected (e.g. `isEmpty`)
|
|
@@ -13,7 +13,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
13
13
|
var _utils = require("@mui/utils");
|
|
14
14
|
var _useGridRootProps = require("../../../hooks/utils/useGridRootProps");
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
-
const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "tabIndex", "disabled", "
|
|
16
|
+
const _excluded = ["item", "applyValue", "type", "apiRef", "focusElementRef", "tabIndex", "disabled", "isFilterActive", "clearButton", "InputProps"];
|
|
17
17
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
18
18
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
19
|
const SUBMIT_FILTER_STROKE_TIME = 500;
|
|
@@ -27,8 +27,6 @@ function GridFilterInputValue(props) {
|
|
|
27
27
|
focusElementRef,
|
|
28
28
|
tabIndex,
|
|
29
29
|
disabled,
|
|
30
|
-
headerFilterMenu,
|
|
31
|
-
isFilterActive,
|
|
32
30
|
clearButton,
|
|
33
31
|
InputProps
|
|
34
32
|
} = props,
|
|
@@ -74,8 +72,6 @@ function GridFilterInputValue(props) {
|
|
|
74
72
|
fontSize: "small",
|
|
75
73
|
color: "action"
|
|
76
74
|
}) : clearButton
|
|
77
|
-
} : {}, headerFilterMenu && isFilterActive ? {
|
|
78
|
-
startAdornment: headerFilterMenu
|
|
79
75
|
} : {}, {
|
|
80
76
|
disabled
|
|
81
77
|
}, InputProps, {
|
|
@@ -100,7 +96,6 @@ process.env.NODE_ENV !== "production" ? GridFilterInputValue.propTypes = {
|
|
|
100
96
|
applyValue: _propTypes.default.func.isRequired,
|
|
101
97
|
clearButton: _propTypes.default.node,
|
|
102
98
|
focusElementRef: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.func, _propTypes.default.object]),
|
|
103
|
-
headerFilterMenu: _propTypes.default.node,
|
|
104
99
|
/**
|
|
105
100
|
* It is `true` if the filter either has a value or an operator with no value
|
|
106
101
|
* required is selected (e.g. `isEmpty`)
|
|
@@ -185,7 +185,15 @@ process.env.NODE_ENV !== "production" ? GridFilterPanel.propTypes = {
|
|
|
185
185
|
* If not specified, the order is derived from the `columns` prop.
|
|
186
186
|
*/
|
|
187
187
|
columnsSort: _propTypes.default.oneOf(['asc', 'desc']),
|
|
188
|
+
/**
|
|
189
|
+
* If `true`, the `Add filter` button will not be displayed.
|
|
190
|
+
* @default false
|
|
191
|
+
*/
|
|
188
192
|
disableAddFilterButton: _propTypes.default.bool,
|
|
193
|
+
/**
|
|
194
|
+
* If `true`, the `Remove all` button will be disabled
|
|
195
|
+
* @default false
|
|
196
|
+
*/
|
|
189
197
|
disableRemoveAllButton: _propTypes.default.bool,
|
|
190
198
|
/**
|
|
191
199
|
* Props passed to each filter form.
|
|
@@ -9,5 +9,5 @@ var _utils = require("@mui/utils");
|
|
|
9
9
|
function getDataGridUtilityClass(slot) {
|
|
10
10
|
return (0, _utils.unstable_generateUtilityClass)('MuiDataGrid', slot);
|
|
11
11
|
}
|
|
12
|
-
const gridClasses = (0, _utils.unstable_generateUtilityClasses)('MuiDataGrid', ['actionsCell', 'aggregationColumnHeader', 'aggregationColumnHeader--alignLeft', 'aggregationColumnHeader--alignCenter', 'aggregationColumnHeader--alignRight', 'aggregationColumnHeaderLabel', 'autoHeight', 'booleanCell', 'cell--editable', 'cell--editing', 'cell--textCenter', 'cell--textLeft', 'cell--textRight', 'cell--withRenderer', 'cell--rangeTop', 'cell--rangeBottom', 'cell--rangeLeft', 'cell--rangeRight', 'cell', 'cellContent', 'cellCheckbox', 'cellSkeleton', 'checkboxInput', 'columnHeader--alignCenter', 'columnHeader--alignLeft', 'columnHeader--alignRight', 'columnHeader--dragging', 'columnHeader--moving', 'columnHeader--numeric', 'columnHeader--sortable', 'columnHeader--sorted', 'columnHeader--filtered', 'columnHeader', 'columnHeaderCheckbox', 'columnHeaderDraggableContainer', 'columnHeaderDropZone', 'columnHeaderTitle', 'columnHeaderTitleContainer', 'columnHeaderTitleContainerContent', 'columnGroupHeader', 'columnHeader--filledGroup', 'columnHeader--emptyGroup', 'columnHeader--showColumnBorder', 'columnHeaders', 'columnHeadersInner', 'columnHeadersInner--scrollable', 'columnSeparator--resizable', 'columnSeparator--resizing', 'columnSeparator--sideLeft', 'columnSeparator--sideRight', 'columnSeparator', 'columnsPanel', 'columnsPanelRow', 'detailPanel', 'detailPanels', 'detailPanelToggleCell', 'detailPanelToggleCell--expanded', 'footerCell', 'panel', 'panelHeader', 'panelWrapper', 'panelContent', 'panelFooter', 'paper', 'editBooleanCell', 'editInputCell', 'filterForm', 'filterFormDeleteIcon', 'filterFormLogicOperatorInput', 'filterFormColumnInput', 'filterFormOperatorInput', 'filterFormValueInput', 'filterIcon', 'footerContainer', 'iconButtonContainer', 'iconSeparator', 'main', 'menu', 'menuIcon', 'menuIconButton', 'menuOpen', 'menuList', 'overlay', 'overlayWrapper', 'overlayWrapperInner', 'root', 'root--densityStandard', 'root--densityComfortable', 'root--densityCompact', 'root--disableUserSelection', 'row', 'row--editable', 'row--editing', 'row--lastVisible', 'row--dragging', 'row--dynamicHeight', 'row--detailPanelExpanded', 'rowReorderCellPlaceholder', 'rowCount', 'rowReorderCellContainer', 'rowReorderCell', 'rowReorderCell--draggable', 'scrollArea--left', 'scrollArea--right', 'scrollArea', 'selectedRowCount', 'sortIcon', 'toolbarContainer', 'toolbarFilterList', 'virtualScroller', 'virtualScrollerContent', 'virtualScrollerContent--overflowed', 'virtualScrollerRenderZone', 'pinnedColumns', 'pinnedColumns--left', 'pinnedColumns--right', 'pinnedColumnHeaders', 'pinnedColumnHeaders--left', 'pinnedColumnHeaders--right', 'withBorderColor', 'cell--withRightBorder', 'columnHeader--withRightBorder', 'treeDataGroupingCell', 'treeDataGroupingCellToggle', 'groupingCriteriaCell', 'groupingCriteriaCellToggle', 'pinnedRows', 'pinnedRows--top', 'pinnedRows--bottom', 'pinnedRowsRenderZone']);
|
|
12
|
+
const gridClasses = (0, _utils.unstable_generateUtilityClasses)('MuiDataGrid', ['actionsCell', 'aggregationColumnHeader', 'aggregationColumnHeader--alignLeft', 'aggregationColumnHeader--alignCenter', 'aggregationColumnHeader--alignRight', 'aggregationColumnHeaderLabel', 'autoHeight', 'booleanCell', 'cell--editable', 'cell--editing', 'cell--textCenter', 'cell--textLeft', 'cell--textRight', 'cell--withRenderer', 'cell--rangeTop', 'cell--rangeBottom', 'cell--rangeLeft', 'cell--rangeRight', 'cell', 'cellContent', 'cellCheckbox', 'cellSkeleton', 'checkboxInput', 'columnHeader--alignCenter', 'columnHeader--alignLeft', 'columnHeader--alignRight', 'columnHeader--dragging', 'columnHeader--moving', 'columnHeader--numeric', 'columnHeader--sortable', 'columnHeader--sorted', 'columnHeader--filtered', 'columnHeader', 'columnHeaderCheckbox', 'columnHeaderDraggableContainer', 'columnHeaderDropZone', 'columnHeaderTitle', 'columnHeaderTitleContainer', 'columnHeaderTitleContainerContent', 'columnGroupHeader', 'columnHeader--filledGroup', 'columnHeader--emptyGroup', 'columnHeader--showColumnBorder', 'columnHeaders', 'columnHeadersInner', 'columnHeadersInner--scrollable', 'columnSeparator--resizable', 'columnSeparator--resizing', 'columnSeparator--sideLeft', 'columnSeparator--sideRight', 'columnSeparator', 'columnsPanel', 'columnsPanelRow', 'detailPanel', 'detailPanels', 'detailPanelToggleCell', 'detailPanelToggleCell--expanded', 'footerCell', 'panel', 'panelHeader', 'panelWrapper', 'panelContent', 'panelFooter', 'paper', 'editBooleanCell', 'editInputCell', 'filterForm', 'filterFormDeleteIcon', 'filterFormLogicOperatorInput', 'filterFormColumnInput', 'filterFormOperatorInput', 'filterFormValueInput', 'filterIcon', 'footerContainer', 'headerFilterRow', 'iconButtonContainer', 'iconSeparator', 'main', 'menu', 'menuIcon', 'menuIconButton', 'menuOpen', 'menuList', 'overlay', 'overlayWrapper', 'overlayWrapperInner', 'root', 'root--densityStandard', 'root--densityComfortable', 'root--densityCompact', 'root--disableUserSelection', 'row', 'row--editable', 'row--editing', 'row--lastVisible', 'row--dragging', 'row--dynamicHeight', 'row--detailPanelExpanded', 'rowReorderCellPlaceholder', 'rowCount', 'rowReorderCellContainer', 'rowReorderCell', 'rowReorderCell--draggable', 'scrollArea--left', 'scrollArea--right', 'scrollArea', 'selectedRowCount', 'sortIcon', 'toolbarContainer', 'toolbarFilterList', 'virtualScroller', 'virtualScrollerContent', 'virtualScrollerContent--overflowed', 'virtualScrollerRenderZone', 'pinnedColumns', 'pinnedColumns--left', 'pinnedColumns--right', 'pinnedColumnHeaders', 'pinnedColumnHeaders--left', 'pinnedColumnHeaders--right', 'withBorderColor', 'cell--withRightBorder', 'columnHeader--withRightBorder', 'treeDataGroupingCell', 'treeDataGroupingCellToggle', 'groupingCriteriaCell', 'groupingCriteriaCellToggle', 'pinnedRows', 'pinnedRows--top', 'pinnedRows--bottom', 'pinnedRowsRenderZone']);
|
|
13
13
|
exports.gridClasses = gridClasses;
|
|
@@ -86,10 +86,10 @@ const GRID_DEFAULT_LOCALE_TEXT = {
|
|
|
86
86
|
headerFilterOperatorIsAnyOf: 'Is any of',
|
|
87
87
|
'headerFilterOperator=': 'Equals',
|
|
88
88
|
'headerFilterOperator!=': 'Not equals',
|
|
89
|
-
'headerFilterOperator>': '
|
|
90
|
-
'headerFilterOperator>=': '
|
|
91
|
-
'headerFilterOperator<': '
|
|
92
|
-
'headerFilterOperator<=': '
|
|
89
|
+
'headerFilterOperator>': 'Greater than',
|
|
90
|
+
'headerFilterOperator>=': 'Greater than or equal to',
|
|
91
|
+
'headerFilterOperator<': 'Less than',
|
|
92
|
+
'headerFilterOperator<=': 'Less than or equal to',
|
|
93
93
|
// Filter values text
|
|
94
94
|
filterValueAny: 'any',
|
|
95
95
|
filterValueTrue: 'true',
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.useGridFilter = exports.filterStateInitializer = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _utils = require("@mui/utils");
|
|
10
11
|
var _useGridApiEventHandler = require("../../utils/useGridApiEventHandler");
|
|
11
12
|
var _useGridApiMethod = require("../../utils/useGridApiMethod");
|
|
12
13
|
var _useGridLogger = require("../../utils/useGridLogger");
|
|
@@ -19,7 +20,7 @@ var _rows = require("../rows");
|
|
|
19
20
|
var _pipeProcessing = require("../../core/pipeProcessing");
|
|
20
21
|
var _strategyProcessing = require("../../core/strategyProcessing");
|
|
21
22
|
var _gridFilterUtils = require("./gridFilterUtils");
|
|
22
|
-
var
|
|
23
|
+
var _utils2 = require("../../../utils/utils");
|
|
23
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
24
25
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
26
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -191,7 +192,7 @@ const useGridFilter = (apiRef, props) => {
|
|
|
191
192
|
}, [apiRef]);
|
|
192
193
|
const setQuickFilterValues = React.useCallback(values => {
|
|
193
194
|
const filterModel = (0, _gridFilterSelector.gridFilterModelSelector)(apiRef);
|
|
194
|
-
if ((0,
|
|
195
|
+
if ((0, _utils2.isDeepEqual)(filterModel.quickFilterValues, values)) {
|
|
195
196
|
return;
|
|
196
197
|
}
|
|
197
198
|
apiRef.current.setFilterModel((0, _extends2.default)({}, filterModel, {
|
|
@@ -232,7 +233,7 @@ const useGridFilter = (apiRef, props) => {
|
|
|
232
233
|
// Always export if the model has been initialized
|
|
233
234
|
props.initialState?.filter?.filterModel != null ||
|
|
234
235
|
// Export if the model is not equal to the default value
|
|
235
|
-
!(0,
|
|
236
|
+
!(0, _utils2.isDeepEqual)(filterModelToExport, (0, _gridFilterState.getDefaultGridFilterModel)());
|
|
236
237
|
if (!shouldExportFilterModel) {
|
|
237
238
|
return prevState;
|
|
238
239
|
}
|
|
@@ -340,7 +341,7 @@ const useGridFilter = (apiRef, props) => {
|
|
|
340
341
|
/**
|
|
341
342
|
* EFFECTS
|
|
342
343
|
*/
|
|
343
|
-
|
|
344
|
+
(0, _utils.unstable_useEnhancedEffect)(() => {
|
|
344
345
|
if (props.filterModel !== undefined) {
|
|
345
346
|
apiRef.current.setFilterModel(props.filterModel);
|
|
346
347
|
}
|
|
@@ -360,6 +360,7 @@ const useGridFocus = (apiRef, props) => {
|
|
|
360
360
|
};
|
|
361
361
|
}, [apiRef, handleDocumentClick]);
|
|
362
362
|
(0, _useGridApiEventHandler.useGridApiEventHandler)(apiRef, 'columnHeaderBlur', handleBlur);
|
|
363
|
+
(0, _useGridApiEventHandler.useGridApiEventHandler)(apiRef, 'headerFilterBlur', handleBlur);
|
|
363
364
|
(0, _useGridApiEventHandler.useGridApiEventHandler)(apiRef, 'cellDoubleClick', handleCellDoubleClick);
|
|
364
365
|
(0, _useGridApiEventHandler.useGridApiEventHandler)(apiRef, 'cellMouseDown', handleCellMouseDown);
|
|
365
366
|
(0, _useGridApiEventHandler.useGridApiEventHandler)(apiRef, 'cellKeyDown', handleCellKeyDown);
|
|
@@ -51,7 +51,7 @@ const useGridRowsMeta = (apiRef, props) => {
|
|
|
51
51
|
getRowSpacing,
|
|
52
52
|
getEstimatedRowHeight
|
|
53
53
|
} = props;
|
|
54
|
-
const rowsHeightLookup = React.useRef(
|
|
54
|
+
const rowsHeightLookup = React.useRef(Object.create(null));
|
|
55
55
|
|
|
56
56
|
// Inspired by https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/utils/CellSizeAndPositionManager.js
|
|
57
57
|
const lastMeasuredRowIndex = React.useRef(-1);
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.useGridSorting = exports.sortingStateInitializer = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _utils = require("@mui/utils");
|
|
10
11
|
var _keyboardUtils = require("../../../utils/keyboardUtils");
|
|
11
12
|
var _useGridApiEventHandler = require("../../utils/useGridApiEventHandler");
|
|
12
13
|
var _useGridApiMethod = require("../../utils/useGridApiMethod");
|
|
@@ -248,7 +249,7 @@ const useGridSorting = (apiRef, props) => {
|
|
|
248
249
|
/**
|
|
249
250
|
* EFFECTS
|
|
250
251
|
*/
|
|
251
|
-
|
|
252
|
+
(0, _utils.unstable_useEnhancedEffect)(() => {
|
|
252
253
|
if (props.sortModel !== undefined) {
|
|
253
254
|
apiRef.current.setSortModel(props.sortModel);
|
|
254
255
|
}
|
|
@@ -101,7 +101,7 @@ const useGridVirtualScroller = props => {
|
|
|
101
101
|
height: null
|
|
102
102
|
});
|
|
103
103
|
const prevTotalWidth = React.useRef(columnsTotalWidth);
|
|
104
|
-
const rowStyleCache = React.useRef(
|
|
104
|
+
const rowStyleCache = React.useRef(Object.create(null));
|
|
105
105
|
const prevGetRowProps = React.useRef();
|
|
106
106
|
const prevRootRowStyle = React.useRef();
|
|
107
107
|
const getRenderedColumnsRef = React.useRef((0, _reselect.defaultMemoize)((columns, firstColumnToRender, lastColumnToRender) => {
|
|
@@ -385,7 +385,7 @@ const useGridVirtualScroller = props => {
|
|
|
385
385
|
rootRowProps = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
|
|
386
386
|
const invalidatesCachedRowStyle = prevGetRowProps.current !== getRowProps || prevRootRowStyle.current !== rootRowStyle;
|
|
387
387
|
if (invalidatesCachedRowStyle) {
|
|
388
|
-
rowStyleCache.current =
|
|
388
|
+
rowStyleCache.current = Object.create(null);
|
|
389
389
|
}
|
|
390
390
|
const rows = [];
|
|
391
391
|
for (let i = 0; i < renderedRows.length; i += 1) {
|
package/node/index.js
CHANGED
package/node/locales/arSD.js
CHANGED
|
@@ -89,10 +89,10 @@ const arSDGrid = {
|
|
|
89
89
|
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
90
|
// 'headerFilterOperator=': 'Equals',
|
|
91
91
|
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
-
// 'headerFilterOperator>': '
|
|
93
|
-
// 'headerFilterOperator>=': '
|
|
94
|
-
// 'headerFilterOperator<': '
|
|
95
|
-
// 'headerFilterOperator<=': '
|
|
92
|
+
// 'headerFilterOperator>': 'Greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Less than or equal to',
|
|
96
96
|
|
|
97
97
|
// Filter values text
|
|
98
98
|
filterValueAny: 'أي',
|
package/node/locales/beBY.js
CHANGED
|
@@ -103,10 +103,10 @@ const beBYGrid = {
|
|
|
103
103
|
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
104
104
|
// 'headerFilterOperator=': 'Equals',
|
|
105
105
|
// 'headerFilterOperator!=': 'Not equals',
|
|
106
|
-
// 'headerFilterOperator>': '
|
|
107
|
-
// 'headerFilterOperator>=': '
|
|
108
|
-
// 'headerFilterOperator<': '
|
|
109
|
-
// 'headerFilterOperator<=': '
|
|
106
|
+
// 'headerFilterOperator>': 'Greater than',
|
|
107
|
+
// 'headerFilterOperator>=': 'Greater than or equal to',
|
|
108
|
+
// 'headerFilterOperator<': 'Less than',
|
|
109
|
+
// 'headerFilterOperator<=': 'Less than or equal to',
|
|
110
110
|
|
|
111
111
|
// Filter values text
|
|
112
112
|
filterValueAny: 'усякі',
|
package/node/locales/bgBG.js
CHANGED
|
@@ -89,10 +89,10 @@ const bgBGGrid = {
|
|
|
89
89
|
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
90
|
// 'headerFilterOperator=': 'Equals',
|
|
91
91
|
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
-
// 'headerFilterOperator>': '
|
|
93
|
-
// 'headerFilterOperator>=': '
|
|
94
|
-
// 'headerFilterOperator<': '
|
|
95
|
-
// 'headerFilterOperator<=': '
|
|
92
|
+
// 'headerFilterOperator>': 'Greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Less than or equal to',
|
|
96
96
|
|
|
97
97
|
// Filter values text
|
|
98
98
|
filterValueAny: 'всякакви',
|
package/node/locales/csCZ.js
CHANGED
|
@@ -74,34 +74,32 @@ const csCZGrid = {
|
|
|
74
74
|
filterOperatorIsEmpty: 'je prázdný',
|
|
75
75
|
filterOperatorIsNotEmpty: 'není prázdný',
|
|
76
76
|
filterOperatorIsAnyOf: 'je jeden z',
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
'filterOperator=': '=',
|
|
78
|
+
'filterOperator!=': '!=',
|
|
79
|
+
'filterOperator>': '>',
|
|
80
|
+
'filterOperator>=': '>=',
|
|
81
|
+
'filterOperator<': '<',
|
|
82
|
+
'filterOperator<=': '<=',
|
|
84
83
|
// Header filter operators text
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
84
|
+
headerFilterOperatorContains: 'Obsahuje',
|
|
85
|
+
headerFilterOperatorEquals: 'Rovná se',
|
|
86
|
+
headerFilterOperatorStartsWith: 'Začíná na',
|
|
87
|
+
headerFilterOperatorEndsWith: 'Končí na',
|
|
88
|
+
headerFilterOperatorIs: 'Je',
|
|
89
|
+
headerFilterOperatorNot: 'Není',
|
|
90
|
+
headerFilterOperatorAfter: 'Je po',
|
|
91
|
+
headerFilterOperatorOnOrAfter: 'Je po včetně',
|
|
92
|
+
headerFilterOperatorBefore: 'Je před',
|
|
93
|
+
headerFilterOperatorOnOrBefore: 'Je před včetně',
|
|
94
|
+
headerFilterOperatorIsEmpty: 'Je prázdný',
|
|
95
|
+
headerFilterOperatorIsNotEmpty: 'Není prázdný',
|
|
96
|
+
headerFilterOperatorIsAnyOf: 'Je jeden z',
|
|
97
|
+
'headerFilterOperator=': 'Rovná se',
|
|
98
|
+
'headerFilterOperator!=': 'Nerovná se',
|
|
99
|
+
'headerFilterOperator>': 'Větší než',
|
|
100
|
+
'headerFilterOperator>=': 'Větší než nebo rovno',
|
|
101
|
+
'headerFilterOperator<': 'Menší než',
|
|
102
|
+
'headerFilterOperator<=': 'Menší než nebo rovno',
|
|
105
103
|
// Filter values text
|
|
106
104
|
filterValueAny: 'jakýkoliv',
|
|
107
105
|
filterValueTrue: 'ano',
|
package/node/locales/daDK.js
CHANGED
|
@@ -89,10 +89,10 @@ const daDKGrid = {
|
|
|
89
89
|
// headerFilterOperatorIsAnyOf: 'Is any of',
|
|
90
90
|
// 'headerFilterOperator=': 'Equals',
|
|
91
91
|
// 'headerFilterOperator!=': 'Not equals',
|
|
92
|
-
// 'headerFilterOperator>': '
|
|
93
|
-
// 'headerFilterOperator>=': '
|
|
94
|
-
// 'headerFilterOperator<': '
|
|
95
|
-
// 'headerFilterOperator<=': '
|
|
92
|
+
// 'headerFilterOperator>': 'Greater than',
|
|
93
|
+
// 'headerFilterOperator>=': 'Greater than or equal to',
|
|
94
|
+
// 'headerFilterOperator<': 'Less than',
|
|
95
|
+
// 'headerFilterOperator<=': 'Less than or equal to',
|
|
96
96
|
|
|
97
97
|
// Filter values text
|
|
98
98
|
filterValueAny: 'hvilken som helst',
|
package/node/locales/deDE.js
CHANGED
|
@@ -66,34 +66,32 @@ const deDEGrid = {
|
|
|
66
66
|
filterOperatorIsEmpty: 'ist leer',
|
|
67
67
|
filterOperatorIsNotEmpty: 'ist nicht leer',
|
|
68
68
|
filterOperatorIsAnyOf: 'ist einer der Werte',
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
'filterOperator=': '=',
|
|
70
|
+
'filterOperator!=': '!=',
|
|
71
|
+
'filterOperator>': '>',
|
|
72
|
+
'filterOperator>=': '>=',
|
|
73
|
+
'filterOperator<': '<',
|
|
74
|
+
'filterOperator<=': '<=',
|
|
76
75
|
// Header filter operators text
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
76
|
+
headerFilterOperatorContains: 'Enthält',
|
|
77
|
+
headerFilterOperatorEquals: 'Gleich',
|
|
78
|
+
headerFilterOperatorStartsWith: 'Beginnt mit',
|
|
79
|
+
headerFilterOperatorEndsWith: 'Endet mit',
|
|
80
|
+
headerFilterOperatorIs: 'Ist',
|
|
81
|
+
headerFilterOperatorNot: 'Ist nicht',
|
|
82
|
+
headerFilterOperatorAfter: 'Ist nach',
|
|
83
|
+
headerFilterOperatorOnOrAfter: 'Ist am oder nach',
|
|
84
|
+
headerFilterOperatorBefore: 'Ist vor',
|
|
85
|
+
headerFilterOperatorOnOrBefore: 'Ist am oder vor',
|
|
86
|
+
headerFilterOperatorIsEmpty: 'Ist leer',
|
|
87
|
+
headerFilterOperatorIsNotEmpty: 'Ist nicht leer',
|
|
88
|
+
headerFilterOperatorIsAnyOf: 'Ist eines von',
|
|
89
|
+
'headerFilterOperator=': 'Gleich',
|
|
90
|
+
'headerFilterOperator!=': 'Ungleich',
|
|
91
|
+
'headerFilterOperator>': 'Größer als',
|
|
92
|
+
'headerFilterOperator>=': 'Größer als oder gleich',
|
|
93
|
+
'headerFilterOperator<': 'Kleiner als',
|
|
94
|
+
'headerFilterOperator<=': 'Kleiner als oder gleich',
|
|
97
95
|
// Filter values text
|
|
98
96
|
filterValueAny: 'Beliebig',
|
|
99
97
|
filterValueTrue: 'Ja',
|