@mui/x-data-grid 6.13.0 → 6.14.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 +79 -1
- package/README.md +3 -7
- package/components/GridColumnHeaders.js +2 -3
- package/components/GridPagination.d.ts +2 -44
- package/components/cell/GridActionsCellItem.d.ts +4 -54
- package/components/panel/GridPanelWrapper.js +2 -2
- package/components/panel/filterPanel/GridFilterInputBoolean.js +2 -4
- package/index.js +1 -1
- package/legacy/components/GridColumnHeaders.js +2 -3
- package/legacy/components/panel/GridPanelWrapper.js +2 -2
- package/legacy/components/panel/filterPanel/GridFilterInputBoolean.js +2 -4
- package/legacy/index.js +1 -1
- package/legacy/locales/faIR.js +25 -27
- package/legacy/locales/jaJP.js +25 -27
- package/legacy/locales/viVN.js +35 -39
- package/locales/faIR.js +25 -27
- package/locales/jaJP.js +25 -27
- package/locales/viVN.js +35 -39
- package/modern/components/GridColumnHeaders.js +2 -3
- package/modern/components/panel/GridPanelWrapper.js +2 -2
- package/modern/components/panel/filterPanel/GridFilterInputBoolean.js +2 -4
- package/modern/index.js +1 -1
- package/modern/locales/faIR.js +25 -27
- package/modern/locales/jaJP.js +25 -27
- package/modern/locales/viVN.js +35 -39
- package/node/components/GridColumnHeaders.js +2 -3
- package/node/components/panel/filterPanel/GridFilterInputBoolean.js +1 -3
- package/node/index.js +1 -1
- package/node/locales/faIR.js +25 -27
- package/node/locales/jaJP.js +25 -27
- package/node/locales/viVN.js +35 -39
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,83 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.14.0
|
|
7
|
+
|
|
8
|
+
_Sep 14, 2023_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 Fix `YearCalendar` and `MonthCalendar` accessibility (#10312) @LukasTy
|
|
13
|
+
|
|
14
|
+
The `YearCalendar` and `MonthCalendar` items role has been changed from `button` to `radio` in order to improve the component's a11y support.
|
|
15
|
+
If you were relying on the mentioned components having a `button` role for items, you will need to update your usage to expect a `radio` role instead.
|
|
16
|
+
|
|
17
|
+
- 🌍 Improve Japanese (ja-JP), Persian (fa-IR), and Vietnamese (vi-VN) locales on the data grid
|
|
18
|
+
- 🐞 Bugfixes
|
|
19
|
+
- 📚 Documentation improvements
|
|
20
|
+
|
|
21
|
+
### Data Grid
|
|
22
|
+
|
|
23
|
+
#### `@mui/x-data-grid@6.14.0`
|
|
24
|
+
|
|
25
|
+
- [l10n] Improve Japanese (ja-JP) locale (#10299) @makoto14
|
|
26
|
+
- [l10n] Improve Persian (fa-IR) locale (#10277) @aminsaedi
|
|
27
|
+
- [l10n] Improve Vietnamese (vi-VN) locale (#10280) @khangnguyen2100
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-pro@6.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid@6.14.0`.
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-premium@6.14.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid-pro@6.14.0`, plus:
|
|
36
|
+
|
|
37
|
+
- [DataGridPremium] Fix clipboard import cutting off at 100 rows (#9930) @gitstart
|
|
38
|
+
|
|
39
|
+
### Date Pickers
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers@6.14.0`
|
|
42
|
+
|
|
43
|
+
- [pickers] Fix `YearCalendar` and `MonthCalendar` a11y (#10312) @LukasTy
|
|
44
|
+
- [pickers] Localize `TimeClock` meridiem text (#10324) @LukasTy
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers-pro@6.14.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-date-pickers@6.14.0`.
|
|
49
|
+
|
|
50
|
+
### Charts / `@mui/x-charts@6.0.0-alpha.11`
|
|
51
|
+
|
|
52
|
+
- [charts] Add default `barGapRatio` and increase `categoryGapRatio` (#10317) @LukasTy
|
|
53
|
+
- [charts] Enable `eslint` on the package (#10330) @LukasTy
|
|
54
|
+
|
|
55
|
+
### Tree View / `@mui/x-tree-view@6.0.0-alpha.3`
|
|
56
|
+
|
|
57
|
+
- [TreeView] Fix box-sizing dependency (#10255) @oliviertassinari
|
|
58
|
+
|
|
59
|
+
### Docs
|
|
60
|
+
|
|
61
|
+
- [docs] Add conditional range picker props example (#10227) @LukasTy
|
|
62
|
+
- [docs] Add toolbar to the multi-filters demo (#10223) @MBilalShafi
|
|
63
|
+
- [docs] Avoid the use of "We" @oliviertassinari
|
|
64
|
+
- [docs] Clarify MUI vs. MUI Core difference @oliviertassinari
|
|
65
|
+
- [docs] Enable `ariaV7` flag for demos using `useDemoData` hook (#10204) @cherniavskii
|
|
66
|
+
- [docs] Fix Tree View link to API references (#10282) @oliviertassinari
|
|
67
|
+
- [docs] Fix image layout shift (#10313) @oliviertassinari
|
|
68
|
+
- [docs] Fix link to MUI X from readme logo @oliviertassinari
|
|
69
|
+
- [docs] Fix redirection to Base UI URLs @oliviertassinari
|
|
70
|
+
- [docs] Improve Tree View demos (#10268) @oliviertassinari
|
|
71
|
+
- [docs] Improve docs for ref type props (#10273) @michelengelen
|
|
72
|
+
- [docs] Improve npm package README (#10269) @oliviertassinari
|
|
73
|
+
- [docs] Improve the clarity of the npm links @oliviertassinari
|
|
74
|
+
- [docs] Keep installation readme simple @oliviertassinari
|
|
75
|
+
- [docs] Make each component feel more standalone @oliviertassinari
|
|
76
|
+
|
|
77
|
+
### Core
|
|
78
|
+
|
|
79
|
+
- [core] Add types extension for clarity @oliviertassinari
|
|
80
|
+
- [core] Set logo height to fix layout shift in GitHub @oliviertassinari
|
|
81
|
+
- [core] TrapFocus was renamed to FocusTrap @oliviertassinari
|
|
82
|
+
|
|
6
83
|
## 6.13.0
|
|
7
84
|
|
|
8
85
|
_Sep 8, 2023_
|
|
@@ -12,6 +89,7 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
|
|
|
12
89
|
- 🎁 Fix `anchorRef` behavior on range pickers (#10077) @LukasTy
|
|
13
90
|
|
|
14
91
|
The range picker popup will now be anchored to the first input element and left aligned like other pickers.
|
|
92
|
+
|
|
15
93
|
- 🌍 Improve Slovak (sk-SK) locale on the data grid
|
|
16
94
|
- 🐞 Bugfixes
|
|
17
95
|
- 📚 Documentation improvements
|
|
@@ -1838,7 +1916,7 @@ We'd like to offer a big thanks to the 8 contributors who made this release poss
|
|
|
1838
1916
|
#### Changes
|
|
1839
1917
|
|
|
1840
1918
|
- [DataGrid] Add interface for `singleSelect` column (#7685) @m4theushw
|
|
1841
|
-
- [DataGrid] Allow to pass props to the `
|
|
1919
|
+
- [DataGrid] Allow to pass props to the `FocusTrap` inside the panel wrapper (#7733) @ivek-Prajapatii
|
|
1842
1920
|
- [DataGrid] Avoid unnecessary rerenders after `updateRows` (#7857) @cherniavskii
|
|
1843
1921
|
- [DataGridPro] Change cursor when dragging a column (#7725) @sai6855
|
|
1844
1922
|
- [DataGridPremium] Fix `leafField` to have correct focus value (#7950) @MBilalShafi
|
package/README.md
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# MUI X Data Grid
|
|
2
2
|
|
|
3
3
|
This package is the Community plan edition of the data grid component.
|
|
4
|
-
It's part of MUI X, an open
|
|
4
|
+
It's part of [MUI X](https://mui.com/x/), an open-core extension of MUI Core, with advanced components.
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
8
|
Install the package in your project directory with:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
// with npm
|
|
12
11
|
npm install @mui/x-data-grid
|
|
13
|
-
|
|
14
|
-
// with yarn
|
|
15
|
-
yarn add @mui/x-data-grid
|
|
16
12
|
```
|
|
17
13
|
|
|
18
14
|
This component has the following peer dependencies that you will need to install as well.
|
|
@@ -28,4 +24,4 @@ This component has the following peer dependencies that you will need to install
|
|
|
28
24
|
|
|
29
25
|
## Documentation
|
|
30
26
|
|
|
31
|
-
[
|
|
27
|
+
Visit [https://mui.com/x/react-data-grid/](https://mui.com/x/react-data-grid/) to view the full documentation.
|
|
@@ -3,6 +3,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["innerRef", "className", "visibleColumns", "sortColumnLookup", "filterColumnLookup", "columnPositions", "columnHeaderTabIndexState", "columnGroupHeaderTabIndexState", "columnHeaderFocus", "columnGroupHeaderFocus", "densityFactor", "headerGroupingMaxDepth", "columnMenuState", "columnVisibility", "columnGroupsHeaderStructure", "hasOtherElementInTabSequence"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
+
import { refType } from '@mui/utils';
|
|
6
7
|
import { fastMemo } from '../utils/fastMemo';
|
|
7
8
|
import { useGridColumnHeaders } from '../hooks/features/columnHeaders/useGridColumnHeaders';
|
|
8
9
|
import { GridBaseColumnHeaders } from './columnHeaders/GridBaseColumnHeaders';
|
|
@@ -94,9 +95,7 @@ process.env.NODE_ENV !== "production" ? GridColumnHeaders.propTypes = {
|
|
|
94
95
|
filterColumnLookup: PropTypes.object.isRequired,
|
|
95
96
|
hasOtherElementInTabSequence: PropTypes.bool.isRequired,
|
|
96
97
|
headerGroupingMaxDepth: PropTypes.number.isRequired,
|
|
97
|
-
innerRef:
|
|
98
|
-
current: PropTypes.object
|
|
99
|
-
})]),
|
|
98
|
+
innerRef: refType,
|
|
100
99
|
minColumnIndex: PropTypes.number,
|
|
101
100
|
sortColumnLookup: PropTypes.object.isRequired,
|
|
102
101
|
visibleColumns: PropTypes.arrayOf(PropTypes.object).isRequired
|
|
@@ -1,48 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const GridPagination: React.ForwardRefExoticComponent<(Omit<Partial<import("@mui/material/TablePagination").TablePaginationBaseProps & {
|
|
3
|
-
ActionsComponent?: React.ElementType<import("@mui/material/TablePagination/TablePaginationActions").TablePaginationActionsProps> | undefined;
|
|
4
|
-
backIconButtonProps?: Partial<import("@mui/material").IconButtonProps> | undefined;
|
|
5
|
-
classes?: Partial<import("@mui/material/TablePagination").TablePaginationClasses> | undefined;
|
|
6
|
-
count: number;
|
|
7
|
-
getItemAriaLabel?: ((type: "first" | "last" | "next" | "previous") => string) | undefined;
|
|
8
|
-
labelDisplayedRows?: ((paginationInfo: import("@mui/material/TablePagination").LabelDisplayedRowsArgs) => React.ReactNode) | undefined;
|
|
9
|
-
labelRowsPerPage?: React.ReactNode;
|
|
10
|
-
nextIconButtonProps?: Partial<import("@mui/material").IconButtonProps> | undefined;
|
|
11
|
-
onPageChange: (event: React.MouseEvent<HTMLButtonElement, MouseEvent> | null, page: number) => void;
|
|
12
|
-
onRowsPerPageChange?: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
13
|
-
page: number;
|
|
14
|
-
rowsPerPage: number;
|
|
15
|
-
rowsPerPageOptions?: (number | {
|
|
16
|
-
value: number;
|
|
17
|
-
label: string;
|
|
18
|
-
})[] | undefined;
|
|
19
|
-
SelectProps?: Partial<import("@mui/material").SelectProps<unknown>> | undefined;
|
|
20
|
-
showFirstButton?: boolean | undefined;
|
|
21
|
-
showLastButton?: boolean | undefined;
|
|
22
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
23
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "hidden" | "color" | "page" | "content" | "size" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps"> & {
|
|
2
|
+
export declare const GridPagination: React.ForwardRefExoticComponent<(Omit<Partial<import("@mui/material/TablePagination").TablePaginationOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "hidden" | "color" | "page" | "content" | "size" | "style" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | "classes" | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps"> & {
|
|
24
3
|
component?: React.ElementType<any> | undefined;
|
|
25
|
-
}>, "ref"> | Omit<Partial<import("@mui/material/TablePagination").TablePaginationBaseProps & {
|
|
26
|
-
ActionsComponent?: React.ElementType<import("@mui/material/TablePagination/TablePaginationActions").TablePaginationActionsProps> | undefined;
|
|
27
|
-
backIconButtonProps?: Partial<import("@mui/material").IconButtonProps> | undefined;
|
|
28
|
-
classes?: Partial<import("@mui/material/TablePagination").TablePaginationClasses> | undefined;
|
|
29
|
-
count: number;
|
|
30
|
-
getItemAriaLabel?: ((type: "first" | "last" | "next" | "previous") => string) | undefined;
|
|
31
|
-
labelDisplayedRows?: ((paginationInfo: import("@mui/material/TablePagination").LabelDisplayedRowsArgs) => React.ReactNode) | undefined;
|
|
32
|
-
labelRowsPerPage?: React.ReactNode;
|
|
33
|
-
nextIconButtonProps?: Partial<import("@mui/material").IconButtonProps> | undefined;
|
|
34
|
-
onPageChange: (event: React.MouseEvent<HTMLButtonElement, MouseEvent> | null, page: number) => void;
|
|
35
|
-
onRowsPerPageChange?: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
36
|
-
page: number;
|
|
37
|
-
rowsPerPage: number;
|
|
38
|
-
rowsPerPageOptions?: (number | {
|
|
39
|
-
value: number;
|
|
40
|
-
label: string;
|
|
41
|
-
})[] | undefined;
|
|
42
|
-
SelectProps?: Partial<import("@mui/material").SelectProps<unknown>> | undefined;
|
|
43
|
-
showFirstButton?: boolean | undefined;
|
|
44
|
-
showLastButton?: boolean | undefined;
|
|
45
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
46
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "ref"> & React.RefAttributes<React.Component<any, any, any>>, "hidden" | "color" | "page" | "content" | "size" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps"> & {
|
|
4
|
+
}>, "ref"> | Omit<Partial<import("@mui/material/TablePagination").TablePaginationOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("@mui/material/TablePagination").TablePaginationBaseProps, "ref"> & React.RefAttributes<React.Component<any, any, any>>, "hidden" | "color" | "page" | "content" | "size" | "style" | "height" | "translate" | "width" | "padding" | "abbr" | "slot" | "title" | "ref" | "colSpan" | "headers" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "rowSpan" | "scope" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "align" | "valign" | "sx" | "classes" | "variant" | "count" | "getItemAriaLabel" | "onPageChange" | "rowsPerPage" | "showFirstButton" | "showLastButton" | "labelDisplayedRows" | "labelRowsPerPage" | "onRowsPerPageChange" | "rowsPerPageOptions" | "backIconButtonProps" | "nextIconButtonProps" | "sortDirection" | "ActionsComponent" | "SelectProps"> & {
|
|
47
5
|
component?: React.ElementType<any> | undefined;
|
|
48
6
|
}>, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -16,68 +16,18 @@ declare const GridActionsCellItem: React.ForwardRefExoticComponent<(Omit<{
|
|
|
16
16
|
} & {
|
|
17
17
|
showInMenu?: false | undefined;
|
|
18
18
|
icon: React.ReactElement;
|
|
19
|
-
} & {
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
classes?: Partial<import("@mui/material/IconButton").IconButtonClasses> | undefined;
|
|
22
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "default" | "error" | "success" | "info" | "warning" | "primary" | "secondary", import("@mui/material/IconButton").IconButtonPropsColorOverrides> | undefined;
|
|
23
|
-
disabled?: boolean | undefined;
|
|
24
|
-
disableFocusRipple?: boolean | undefined;
|
|
25
|
-
edge?: false | "end" | "start" | undefined;
|
|
26
|
-
size?: import("@mui/types").OverridableStringUnion<"medium" | "large" | "small", import("@mui/material/IconButton").IconButtonPropsSizeOverrides> | undefined;
|
|
27
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
28
|
-
} & Omit<{
|
|
29
|
-
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
30
|
-
centerRipple?: boolean | undefined;
|
|
31
|
-
children?: React.ReactNode;
|
|
32
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
33
|
-
disabled?: boolean | undefined;
|
|
34
|
-
disableRipple?: boolean | undefined;
|
|
35
|
-
disableTouchRipple?: boolean | undefined;
|
|
36
|
-
focusRipple?: boolean | undefined;
|
|
37
|
-
focusVisibleClassName?: string | undefined;
|
|
38
|
-
LinkComponent?: React.ElementType<any> | undefined;
|
|
39
|
-
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
40
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
41
|
-
tabIndex?: number | undefined;
|
|
42
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
43
|
-
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
44
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
19
|
+
} & import("@mui/material/IconButton").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
45
20
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
46
|
-
}, "color" | "size" | "disabled" | "action" | "tabIndex" | "children" | "sx" |
|
|
21
|
+
}, "color" | "size" | "style" | "disabled" | "action" | "className" | "tabIndex" | "children" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & {
|
|
47
22
|
component?: React.ElementType<any> | undefined;
|
|
48
23
|
}, "ref"> | Omit<{
|
|
49
24
|
label: string;
|
|
50
25
|
icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
51
26
|
} & {
|
|
52
27
|
showInMenu: true;
|
|
53
|
-
} & {
|
|
54
|
-
autoFocus?: boolean | undefined;
|
|
55
|
-
classes?: Partial<import("@mui/material/MenuItem").MenuItemClasses> | undefined;
|
|
56
|
-
dense?: boolean | undefined;
|
|
57
|
-
disabled?: boolean | undefined;
|
|
58
|
-
disableGutters?: boolean | undefined;
|
|
59
|
-
divider?: boolean | undefined;
|
|
60
|
-
selected?: boolean | undefined;
|
|
61
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
62
|
-
} & Omit<{
|
|
63
|
-
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
64
|
-
centerRipple?: boolean | undefined;
|
|
65
|
-
children?: React.ReactNode;
|
|
66
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
67
|
-
disabled?: boolean | undefined;
|
|
68
|
-
disableRipple?: boolean | undefined;
|
|
69
|
-
disableTouchRipple?: boolean | undefined;
|
|
70
|
-
focusRipple?: boolean | undefined;
|
|
71
|
-
focusVisibleClassName?: string | undefined;
|
|
72
|
-
LinkComponent?: React.ElementType<any> | undefined;
|
|
73
|
-
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
74
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
75
|
-
tabIndex?: number | undefined;
|
|
76
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
77
|
-
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
78
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
28
|
+
} & import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
79
29
|
ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
|
|
80
|
-
}, "dense" | "disabled" | "action" | "autoFocus" | "tabIndex" | "selected" | "children" | "sx" | "
|
|
30
|
+
}, "style" | "dense" | "disabled" | "action" | "autoFocus" | "className" | "tabIndex" | "selected" | "children" | "sx" | "classes" | "disableGutters" | "divider" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & {
|
|
81
31
|
component?: React.ElementType<any> | undefined;
|
|
82
32
|
}, "ref">) & React.RefAttributes<HTMLButtonElement>>;
|
|
83
33
|
export { GridActionsCellItem };
|
|
@@ -4,7 +4,7 @@ const _excluded = ["className", "slotProps"];
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
|
-
import
|
|
7
|
+
import FocusTrap from '@mui/material/Unstable_TrapFocus';
|
|
8
8
|
import { styled } from '@mui/material/styles';
|
|
9
9
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
10
10
|
import { getDataGridUtilityClass } from '../../constants/gridClasses';
|
|
@@ -40,7 +40,7 @@ const GridPanelWrapper = /*#__PURE__*/React.forwardRef(function GridPanelWrapper
|
|
|
40
40
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
41
41
|
const rootProps = useGridRootProps();
|
|
42
42
|
const classes = useUtilityClasses(rootProps);
|
|
43
|
-
return /*#__PURE__*/_jsx(
|
|
43
|
+
return /*#__PURE__*/_jsx(FocusTrap, _extends({
|
|
44
44
|
open: true,
|
|
45
45
|
disableEnforceFocus: true,
|
|
46
46
|
isEnabled: isEnabled
|
|
@@ -3,7 +3,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
3
3
|
const _excluded = ["item", "applyValue", "apiRef", "focusElementRef", "isFilterActive", "clearButton", "tabIndex", "label"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import { unstable_useId as useId } from '@mui/utils';
|
|
6
|
+
import { refType, unstable_useId as useId } from '@mui/utils';
|
|
7
7
|
import { styled } from '@mui/material/styles';
|
|
8
8
|
import { useGridRootProps } from '../../../hooks/utils/useGridRootProps';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -95,9 +95,7 @@ process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes = {
|
|
|
95
95
|
}).isRequired,
|
|
96
96
|
applyValue: PropTypes.func.isRequired,
|
|
97
97
|
clearButton: PropTypes.node,
|
|
98
|
-
focusElementRef:
|
|
99
|
-
current: PropTypes.any.isRequired
|
|
100
|
-
})]),
|
|
98
|
+
focusElementRef: refType,
|
|
101
99
|
/**
|
|
102
100
|
* It is `true` if the filter either has a value or an operator with no value
|
|
103
101
|
* required is selected (e.g. `isEmpty`)
|
package/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
|
3
3
|
var _excluded = ["innerRef", "className", "visibleColumns", "sortColumnLookup", "filterColumnLookup", "columnPositions", "columnHeaderTabIndexState", "columnGroupHeaderTabIndexState", "columnHeaderFocus", "columnGroupHeaderFocus", "densityFactor", "headerGroupingMaxDepth", "columnMenuState", "columnVisibility", "columnGroupsHeaderStructure", "hasOtherElementInTabSequence"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
+
import { refType } from '@mui/utils';
|
|
6
7
|
import { fastMemo } from '../utils/fastMemo';
|
|
7
8
|
import { useGridColumnHeaders } from '../hooks/features/columnHeaders/useGridColumnHeaders';
|
|
8
9
|
import { GridBaseColumnHeaders } from './columnHeaders/GridBaseColumnHeaders';
|
|
@@ -92,9 +93,7 @@ process.env.NODE_ENV !== "production" ? GridColumnHeaders.propTypes = {
|
|
|
92
93
|
filterColumnLookup: PropTypes.object.isRequired,
|
|
93
94
|
hasOtherElementInTabSequence: PropTypes.bool.isRequired,
|
|
94
95
|
headerGroupingMaxDepth: PropTypes.number.isRequired,
|
|
95
|
-
innerRef:
|
|
96
|
-
current: PropTypes.object
|
|
97
|
-
})]),
|
|
96
|
+
innerRef: refType,
|
|
98
97
|
minColumnIndex: PropTypes.number,
|
|
99
98
|
sortColumnLookup: PropTypes.object.isRequired,
|
|
100
99
|
visibleColumns: PropTypes.arrayOf(PropTypes.object).isRequired
|
|
@@ -4,7 +4,7 @@ var _excluded = ["className", "slotProps"];
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
|
-
import
|
|
7
|
+
import FocusTrap from '@mui/material/Unstable_TrapFocus';
|
|
8
8
|
import { styled } from '@mui/material/styles';
|
|
9
9
|
import { unstable_composeClasses as composeClasses } from '@mui/utils';
|
|
10
10
|
import { getDataGridUtilityClass } from '../../constants/gridClasses';
|
|
@@ -41,7 +41,7 @@ var GridPanelWrapper = /*#__PURE__*/React.forwardRef(function GridPanelWrapper(p
|
|
|
41
41
|
other = _objectWithoutProperties(props, _excluded);
|
|
42
42
|
var rootProps = useGridRootProps();
|
|
43
43
|
var classes = useUtilityClasses(rootProps);
|
|
44
|
-
return /*#__PURE__*/_jsx(
|
|
44
|
+
return /*#__PURE__*/_jsx(FocusTrap, _extends({
|
|
45
45
|
open: true,
|
|
46
46
|
disableEnforceFocus: true,
|
|
47
47
|
isEnabled: isEnabled
|
|
@@ -5,7 +5,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
|
5
5
|
var _excluded = ["item", "applyValue", "apiRef", "focusElementRef", "isFilterActive", "clearButton", "tabIndex", "label"];
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import { unstable_useId as useId } from '@mui/utils';
|
|
8
|
+
import { refType, unstable_useId as useId } from '@mui/utils';
|
|
9
9
|
import { styled } from '@mui/material/styles';
|
|
10
10
|
import { useGridRootProps } from '../../../hooks/utils/useGridRootProps';
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -98,9 +98,7 @@ process.env.NODE_ENV !== "production" ? GridFilterInputBoolean.propTypes = {
|
|
|
98
98
|
}).isRequired,
|
|
99
99
|
applyValue: PropTypes.func.isRequired,
|
|
100
100
|
clearButton: PropTypes.node,
|
|
101
|
-
focusElementRef:
|
|
102
|
-
current: PropTypes.any.isRequired
|
|
103
|
-
})]),
|
|
101
|
+
focusElementRef: refType,
|
|
104
102
|
/**
|
|
105
103
|
* It is `true` if the filter either has a value or an operator with no value
|
|
106
104
|
* required is selected (e.g. `isEmpty`)
|
package/legacy/index.js
CHANGED
package/legacy/locales/faIR.js
CHANGED
|
@@ -62,34 +62,32 @@ var faIRGrid = {
|
|
|
62
62
|
filterOperatorIsEmpty: 'خالی است',
|
|
63
63
|
filterOperatorIsNotEmpty: 'خالی نیست',
|
|
64
64
|
filterOperatorIsAnyOf: 'هر یک از',
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
'filterOperator=': '=',
|
|
66
|
+
'filterOperator!=': '!=',
|
|
67
|
+
'filterOperator>': '>',
|
|
68
|
+
'filterOperator>=': '>=',
|
|
69
|
+
'filterOperator<': '<',
|
|
70
|
+
'filterOperator<=': '<=',
|
|
72
71
|
// Header filter operators text
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
72
|
+
headerFilterOperatorContains: 'شامل',
|
|
73
|
+
headerFilterOperatorEquals: 'مساوی',
|
|
74
|
+
headerFilterOperatorStartsWith: 'شروع با',
|
|
75
|
+
headerFilterOperatorEndsWith: 'پایان با',
|
|
76
|
+
headerFilterOperatorIs: 'هست',
|
|
77
|
+
headerFilterOperatorNot: 'نیست',
|
|
78
|
+
headerFilterOperatorAfter: 'بعد از',
|
|
79
|
+
headerFilterOperatorOnOrAfter: 'معادل یا بعد از',
|
|
80
|
+
headerFilterOperatorBefore: 'قبل از',
|
|
81
|
+
headerFilterOperatorOnOrBefore: 'معادل یا قبل از',
|
|
82
|
+
headerFilterOperatorIsEmpty: 'خالی است',
|
|
83
|
+
headerFilterOperatorIsNotEmpty: 'خالی نیست',
|
|
84
|
+
headerFilterOperatorIsAnyOf: 'هر یک از',
|
|
85
|
+
'headerFilterOperator=': 'مساوی',
|
|
86
|
+
'headerFilterOperator!=': 'نامساوی',
|
|
87
|
+
'headerFilterOperator>': 'بزرگتر',
|
|
88
|
+
'headerFilterOperator>=': 'بزرگتر یا مساوی',
|
|
89
|
+
'headerFilterOperator<': 'کوچکتر',
|
|
90
|
+
'headerFilterOperator<=': 'کوچکتر یا مساوی',
|
|
93
91
|
// Filter values text
|
|
94
92
|
filterValueAny: 'هرچیزی',
|
|
95
93
|
filterValueTrue: 'صحیح',
|
package/legacy/locales/jaJP.js
CHANGED
|
@@ -62,34 +62,32 @@ var jaJPGrid = {
|
|
|
62
62
|
filterOperatorIsEmpty: '...空である',
|
|
63
63
|
filterOperatorIsNotEmpty: '...空でない',
|
|
64
64
|
filterOperatorIsAnyOf: '...のいずれか',
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
65
|
+
'filterOperator=': '=',
|
|
66
|
+
'filterOperator!=': '!=',
|
|
67
|
+
'filterOperator>': '>',
|
|
68
|
+
'filterOperator>=': '>=',
|
|
69
|
+
'filterOperator<': '<',
|
|
70
|
+
'filterOperator<=': '<=',
|
|
72
71
|
// Header filter operators text
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
72
|
+
headerFilterOperatorContains: '含む',
|
|
73
|
+
headerFilterOperatorEquals: '等しい',
|
|
74
|
+
headerFilterOperatorStartsWith: 'で始まる',
|
|
75
|
+
headerFilterOperatorEndsWith: 'で終わる',
|
|
76
|
+
headerFilterOperatorIs: 'である',
|
|
77
|
+
headerFilterOperatorNot: 'ではない',
|
|
78
|
+
headerFilterOperatorAfter: '...より後ろ',
|
|
79
|
+
headerFilterOperatorOnOrAfter: '...以降',
|
|
80
|
+
headerFilterOperatorBefore: '...より前',
|
|
81
|
+
headerFilterOperatorOnOrBefore: '...以前',
|
|
82
|
+
headerFilterOperatorIsEmpty: '空白',
|
|
83
|
+
headerFilterOperatorIsNotEmpty: '空白ではない',
|
|
84
|
+
headerFilterOperatorIsAnyOf: 'いずれか',
|
|
85
|
+
'headerFilterOperator=': '等しい',
|
|
86
|
+
'headerFilterOperator!=': '等しくない',
|
|
87
|
+
'headerFilterOperator>': 'より大きい',
|
|
88
|
+
'headerFilterOperator>=': '以上',
|
|
89
|
+
'headerFilterOperator<': '未満',
|
|
90
|
+
'headerFilterOperator<=': '以下',
|
|
93
91
|
// Filter values text
|
|
94
92
|
filterValueAny: 'いずれか',
|
|
95
93
|
filterValueTrue: '真',
|