@mui/x-data-grid
Advanced tools
Comparing version 7.10.0 to 7.11.0
@@ -246,14 +246,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const handleDeleteFilter = () => { | ||
if (rootProps.disableMultipleColumnsFiltering) { | ||
if (item.value === undefined) { | ||
deleteFilter(item); | ||
} else { | ||
// TODO v6: simplify the behavior by always remove the filter form | ||
applyFilterChanges(_extends({}, item, { | ||
value: undefined | ||
})); | ||
} | ||
} else { | ||
deleteFilter(item); | ||
} | ||
deleteFilter(item); | ||
}; | ||
@@ -260,0 +249,0 @@ React.useImperativeHandle(focusElementRef, () => ({ |
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
export type GridFilterInputMultipleValueProps = { | ||
type?: 'text' | 'number'; | ||
type?: 'text' | 'number' | 'date' | 'datetime-local'; | ||
} & GridFilterInputValueProps & Omit<AutocompleteProps<string, true, false, true>, 'options' | 'renderInput'>; | ||
@@ -8,0 +8,0 @@ declare function GridFilterInputMultipleValue(props: GridFilterInputMultipleValueProps): React.JSX.Element; |
@@ -91,4 +91,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
}).isRequired, | ||
type: PropTypes.oneOf(['number', 'text']) | ||
type: PropTypes.oneOf(['date', 'datetime-local', 'number', 'text']) | ||
} : void 0; | ||
export { GridFilterInputMultipleValue }; |
@@ -19,3 +19,3 @@ import * as React from 'react'; | ||
export declare const gridPanelClasses: Record<keyof GridPanelClasses, string>; | ||
declare const GridPanelRoot: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/Popper").PopperProps & React.RefAttributes<HTMLDivElement>, "hidden" | "color" | "content" | "style" | "open" | "translate" | "container" | "transition" | "slot" | "title" | "ref" | "suppressHydrationWarning" | "className" | "id" | "lang" | "role" | "tabIndex" | "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" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "component" | "sx" | "components" | "slotProps" | "slots" | "placement" | "disablePortal" | "keepMounted" | "modifiers" | "anchorEl" | "popperOptions" | "popperRef" | "componentsProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & { | ||
declare const GridPanelRoot: import("@emotion/styled").StyledComponent<Pick<import("@mui/material/Popper").PopperProps & React.RefAttributes<HTMLDivElement>, "hidden" | "color" | "content" | "style" | "open" | "translate" | "container" | "transition" | "slot" | "title" | "ref" | "suppressHydrationWarning" | "className" | "id" | "lang" | "role" | "tabIndex" | "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" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "component" | "sx" | "components" | "slots" | "slotProps" | "componentsProps" | "placement" | "disablePortal" | "modifiers" | "anchorEl" | "keepMounted" | "popperOptions" | "popperRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & { | ||
ownerState: OwnerState; | ||
@@ -22,0 +22,0 @@ }, {}, {}>; |
@@ -60,3 +60,6 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
name: 'flip', | ||
enabled: false | ||
enabled: true, | ||
options: { | ||
rootBoundary: 'document' | ||
} | ||
}, { | ||
@@ -63,0 +66,0 @@ name: 'isPlaced', |
import * as React from 'react'; | ||
import { EventManager } from '@mui/x-internals/EventManager'; | ||
import { Store } from '../../utils/Store'; | ||
import { useGridApiMethod } from '../utils/useGridApiMethod'; | ||
import { GridSignature } from '../utils/useGridApiEventHandler'; | ||
import { EventManager } from '../../utils/EventManager'; | ||
const SYMBOL_API_PRIVATE = Symbol('mui.api_private'); | ||
@@ -7,0 +7,0 @@ const isSyntheticEvent = event => { |
@@ -270,2 +270,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
refs.previousMouseClickEvent = undefined; | ||
apiRef.current.publishEvent('columnResizeStop', null, nativeEvent); | ||
return; | ||
@@ -272,0 +273,0 @@ } |
import { GridStateCommunity } from '../../../models/gridStateCommunity'; | ||
/** | ||
* Select the row editing state. | ||
*/ | ||
export declare const gridEditRowsStateSelector: (state: GridStateCommunity) => import("../../..").GridEditingState; |
@@ -1,2 +0,4 @@ | ||
// TODO v6: rename to gridEditingStateSelector | ||
/** | ||
* Select the row editing state. | ||
*/ | ||
export const gridEditRowsStateSelector = state => state.editRows; |
@@ -6,2 +6,3 @@ export * from './columnMenu'; | ||
export * from './density'; | ||
export * from './editing'; | ||
export * from './filter'; | ||
@@ -8,0 +9,0 @@ export * from './focus'; |
@@ -7,2 +7,3 @@ // Only export the variable and types that should be publicly exposed and re-exported from `@mui/x-data-grid-pro` | ||
export * from './density'; | ||
export * from './editing'; | ||
export * from './filter'; | ||
@@ -9,0 +10,0 @@ export * from './focus'; |
import * as React from 'react'; | ||
import { EventListenerOptions } from '@mui/x-internals/EventManager'; | ||
import { GridEventListener, GridEvents } from '../../models/events'; | ||
import { CleanupTracking } from '../../utils/cleanupTracking/CleanupTracking'; | ||
import { EventListenerOptions } from '../../utils/EventManager'; | ||
import type { GridApiCommon } from '../../models'; | ||
@@ -6,0 +6,0 @@ /** |
/** | ||
* @mui/x-data-grid v7.10.0 | ||
* @mui/x-data-grid v7.11.0 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -48,7 +48,6 @@ import { ruRU as ruRUCore } from '@mui/material/locale'; | ||
// Columns management text | ||
// columnsManagementSearchTitle: 'Search', | ||
// columnsManagementNoColumns: 'No columns', | ||
// columnsManagementShowHideAllText: 'Show/Hide All', | ||
// columnsManagementReset: 'Reset', | ||
columnsManagementSearchTitle: 'Поиск', | ||
columnsManagementNoColumns: 'Нет столбцов', | ||
columnsManagementShowHideAllText: 'Показать/Скрыть Всё', | ||
columnsManagementReset: 'Сбросить', | ||
// Filter panel text | ||
@@ -55,0 +54,0 @@ filterPanelAddFilter: 'Добавить фильтр', |
import * as React from 'react'; | ||
import { EventManager, EventListenerOptions } from '@mui/x-internals/EventManager'; | ||
import { GridEventPublisher, GridEventListener, GridEvents } from '../events'; | ||
import { Store } from '../../utils/Store'; | ||
import { EventManager, EventListenerOptions } from '../../utils/EventManager'; | ||
import { GridApiCaches } from '../gridApiCaches'; | ||
@@ -6,0 +6,0 @@ import type { GridApiCommon, GridPrivateApiCommon } from './gridApiCommon'; |
@@ -246,14 +246,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const handleDeleteFilter = () => { | ||
if (rootProps.disableMultipleColumnsFiltering) { | ||
if (item.value === undefined) { | ||
deleteFilter(item); | ||
} else { | ||
// TODO v6: simplify the behavior by always remove the filter form | ||
applyFilterChanges(_extends({}, item, { | ||
value: undefined | ||
})); | ||
} | ||
} else { | ||
deleteFilter(item); | ||
} | ||
deleteFilter(item); | ||
}; | ||
@@ -260,0 +249,0 @@ React.useImperativeHandle(focusElementRef, () => ({ |
@@ -91,4 +91,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
}).isRequired, | ||
type: PropTypes.oneOf(['number', 'text']) | ||
type: PropTypes.oneOf(['date', 'datetime-local', 'number', 'text']) | ||
} : void 0; | ||
export { GridFilterInputMultipleValue }; |
@@ -60,3 +60,6 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
name: 'flip', | ||
enabled: false | ||
enabled: true, | ||
options: { | ||
rootBoundary: 'document' | ||
} | ||
}, { | ||
@@ -63,0 +66,0 @@ name: 'isPlaced', |
import * as React from 'react'; | ||
import { EventManager } from '@mui/x-internals/EventManager'; | ||
import { Store } from '../../utils/Store'; | ||
import { useGridApiMethod } from '../utils/useGridApiMethod'; | ||
import { GridSignature } from '../utils/useGridApiEventHandler'; | ||
import { EventManager } from '../../utils/EventManager'; | ||
const SYMBOL_API_PRIVATE = Symbol('mui.api_private'); | ||
@@ -7,0 +7,0 @@ const isSyntheticEvent = event => { |
@@ -270,2 +270,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
refs.previousMouseClickEvent = undefined; | ||
apiRef.current.publishEvent('columnResizeStop', null, nativeEvent); | ||
return; | ||
@@ -272,0 +273,0 @@ } |
@@ -1,2 +0,4 @@ | ||
// TODO v6: rename to gridEditingStateSelector | ||
/** | ||
* Select the row editing state. | ||
*/ | ||
export const gridEditRowsStateSelector = state => state.editRows; |
@@ -7,2 +7,3 @@ // Only export the variable and types that should be publicly exposed and re-exported from `@mui/x-data-grid-pro` | ||
export * from './density'; | ||
export * from './editing'; | ||
export * from './filter'; | ||
@@ -9,0 +10,0 @@ export * from './focus'; |
/** | ||
* @mui/x-data-grid v7.10.0 | ||
* @mui/x-data-grid v7.11.0 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -48,7 +48,6 @@ import { ruRU as ruRUCore } from '@mui/material/locale'; | ||
// Columns management text | ||
// columnsManagementSearchTitle: 'Search', | ||
// columnsManagementNoColumns: 'No columns', | ||
// columnsManagementShowHideAllText: 'Show/Hide All', | ||
// columnsManagementReset: 'Reset', | ||
columnsManagementSearchTitle: 'Поиск', | ||
columnsManagementNoColumns: 'Нет столбцов', | ||
columnsManagementShowHideAllText: 'Показать/Скрыть Всё', | ||
columnsManagementReset: 'Сбросить', | ||
// Filter panel text | ||
@@ -55,0 +54,0 @@ filterPanelAddFilter: 'Добавить фильтр', |
@@ -11,4 +11,4 @@ import { createSelector as reselectCreateSelector } from 'reselect'; | ||
}; | ||
export const createSelector = (a, b, c, d, e, f, ...rest) => { | ||
if (rest.length > 0) { | ||
export const createSelector = (a, b, c, d, e, f, ...other) => { | ||
if (other.length > 0) { | ||
throw new Error('Unsupported number of selectors'); | ||
@@ -15,0 +15,0 @@ } |
@@ -255,14 +255,3 @@ "use strict"; | ||
const handleDeleteFilter = () => { | ||
if (rootProps.disableMultipleColumnsFiltering) { | ||
if (item.value === undefined) { | ||
deleteFilter(item); | ||
} else { | ||
// TODO v6: simplify the behavior by always remove the filter form | ||
applyFilterChanges((0, _extends2.default)({}, item, { | ||
value: undefined | ||
})); | ||
} | ||
} else { | ||
deleteFilter(item); | ||
} | ||
deleteFilter(item); | ||
}; | ||
@@ -269,0 +258,0 @@ React.useImperativeHandle(focusElementRef, () => ({ |
@@ -100,3 +100,3 @@ "use strict"; | ||
}).isRequired, | ||
type: _propTypes.default.oneOf(['number', 'text']) | ||
type: _propTypes.default.oneOf(['date', 'datetime-local', 'number', 'text']) | ||
} : void 0; |
@@ -69,3 +69,6 @@ "use strict"; | ||
name: 'flip', | ||
enabled: false | ||
enabled: true, | ||
options: { | ||
rootBoundary: 'document' | ||
} | ||
}, { | ||
@@ -72,0 +75,0 @@ name: 'isPlaced', |
@@ -9,6 +9,6 @@ "use strict"; | ||
var React = _interopRequireWildcard(require("react")); | ||
var _EventManager = require("@mui/x-internals/EventManager"); | ||
var _Store = require("../../utils/Store"); | ||
var _useGridApiMethod = require("../utils/useGridApiMethod"); | ||
var _useGridApiEventHandler = require("../utils/useGridApiEventHandler"); | ||
var _EventManager = require("../../utils/EventManager"); | ||
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } | ||
@@ -15,0 +15,0 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } |
@@ -280,2 +280,3 @@ "use strict"; | ||
refs.previousMouseClickEvent = undefined; | ||
apiRef.current.publishEvent('columnResizeStop', null, nativeEvent); | ||
return; | ||
@@ -282,0 +283,0 @@ } |
@@ -7,4 +7,6 @@ "use strict"; | ||
exports.gridEditRowsStateSelector = void 0; | ||
// TODO v6: rename to gridEditingStateSelector | ||
/** | ||
* Select the row editing state. | ||
*/ | ||
const gridEditRowsStateSelector = state => state.editRows; | ||
exports.gridEditRowsStateSelector = gridEditRowsStateSelector; |
@@ -61,2 +61,13 @@ "use strict"; | ||
}); | ||
var _editing = require("./editing"); | ||
Object.keys(_editing).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _editing[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _editing[key]; | ||
} | ||
}); | ||
}); | ||
var _filter = require("./filter"); | ||
@@ -63,0 +74,0 @@ Object.keys(_filter).forEach(function (key) { |
/** | ||
* @mui/x-data-grid v7.10.0 | ||
* @mui/x-data-grid v7.11.0 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MIT |
@@ -54,7 +54,6 @@ "use strict"; | ||
// Columns management text | ||
// columnsManagementSearchTitle: 'Search', | ||
// columnsManagementNoColumns: 'No columns', | ||
// columnsManagementShowHideAllText: 'Show/Hide All', | ||
// columnsManagementReset: 'Reset', | ||
columnsManagementSearchTitle: 'Поиск', | ||
columnsManagementNoColumns: 'Нет столбцов', | ||
columnsManagementShowHideAllText: 'Показать/Скрыть Всё', | ||
columnsManagementReset: 'Сбросить', | ||
// Filter panel text | ||
@@ -61,0 +60,0 @@ filterPanelAddFilter: 'Добавить фильтр', |
@@ -17,4 +17,4 @@ "use strict"; | ||
}; | ||
const createSelector = (a, b, c, d, e, f, ...rest) => { | ||
if (rest.length > 0) { | ||
const createSelector = (a, b, c, d, e, f, ...other) => { | ||
if (other.length > 0) { | ||
throw new Error('Unsupported number of selectors'); | ||
@@ -21,0 +21,0 @@ } |
{ | ||
"name": "@mui/x-data-grid", | ||
"version": "7.10.0", | ||
"version": "7.11.0", | ||
"description": "The Community plan edition of the Data Grid components (MUI X).", | ||
@@ -40,9 +40,9 @@ "author": "MUI Team", | ||
"dependencies": { | ||
"@babel/runtime": "^7.24.7", | ||
"@mui/system": "^5.16.0", | ||
"@mui/utils": "^5.16.0", | ||
"@babel/runtime": "^7.24.8", | ||
"@mui/system": "^5.16.2", | ||
"@mui/utils": "^5.16.2", | ||
"clsx": "^2.1.1", | ||
"prop-types": "^15.8.1", | ||
"reselect": "^4.1.8", | ||
"@mui/x-internals": "7.10.0" | ||
"@mui/x-internals": "7.11.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "peerDependencies": { |
@@ -17,3 +17,3 @@ import * as React from 'react'; | ||
f: infer F, | ||
...rest: infer R | ||
...other: infer R | ||
] ? StateFromSelector<F> extends StateFromSelectorList<R> ? StateFromSelector<F> : StateFromSelectorList<R> : {}; | ||
@@ -20,0 +20,0 @@ type SelectorArgs<Selectors extends ReadonlyArray<Selector<any>>, Result> = [selectors: [...Selectors], combiner: (...args: SelectorResultArray<Selectors>) => Result] | [...Selectors, (...args: SelectorResultArray<Selectors>) => Result]; |
@@ -11,4 +11,4 @@ import { createSelector as reselectCreateSelector } from 'reselect'; | ||
}; | ||
export const createSelector = (a, b, c, d, e, f, ...rest) => { | ||
if (rest.length > 0) { | ||
export const createSelector = (a, b, c, d, e, f, ...other) => { | ||
if (other.length > 0) { | ||
throw new Error('Unsupported number of selectors'); | ||
@@ -15,0 +15,0 @@ } |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6
4507364
102093
+ Added@mui/x-internals@7.11.0(transitive)
- Removed@mui/x-internals@7.10.0(transitive)
Updated@babel/runtime@^7.24.8
Updated@mui/system@^5.16.2
Updated@mui/utils@^5.16.2
Updated@mui/x-internals@7.11.0