@progress/kendo-react-grid 14.4.1-develop.9 → 14.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Grid.d.ts +2 -2
- package/GridClientContextReader.d.ts +1 -1
- package/GridClientWrapper.d.ts +1 -1
- package/GridColumn.d.ts +2 -2
- package/GridComponent.d.ts +1 -1
- package/GridState.d.ts +1 -1
- package/GridToolbar.d.ts +1 -1
- package/StatusBar.d.ts +3 -3
- package/VirtualScroll.d.ts +2 -2
- package/cells/GridFilterCell.d.ts +1 -1
- package/cells/datacell/GridCell.d.ts +1 -1
- package/cells/datacell/GridCellServer.d.ts +1 -1
- package/cells/datacell/useCellClientTdProps.d.ts +1 -1
- package/cells/datacell/utils.d.ts +1 -1
- package/cells/detailcell/GridDetailCell.d.ts +1 -1
- package/cells/editcell/GridEditCell.d.ts +1 -1
- package/cells/editcell/GridEditCellServer.d.ts +1 -1
- package/cells/editcell/useEditCellClientTdProps.d.ts +1 -1
- package/cells/editcell/utils.d.ts +1 -1
- package/cells/groupcell/GridGroupCell.d.ts +1 -1
- package/cells/groupcell/GridGroupCellServer.d.ts +1 -1
- package/cells/groupcell/GridGroupCellToggle.d.ts +1 -1
- package/cells/groupcell/useGroupCellClientTdProps.d.ts +1 -1
- package/cells/groupcell/utils.d.ts +1 -1
- package/cells/hierarchycell/GridHierarchyCell.d.ts +1 -1
- package/cells/hierarchycell/GridHierarchyCellServer.d.ts +1 -1
- package/cells/hierarchycell/GridHierarchyCellToggle.d.ts +1 -1
- package/cells/hierarchycell/useHierarchyCellClientTdProps.d.ts +1 -1
- package/cells/hierarchycell/utils.d.ts +1 -1
- package/cells/hooks.d.ts +1 -1
- package/cells/pincell/GridPinCell.d.ts +1 -1
- package/cells/pincell/GridPinCellServer.d.ts +1 -1
- package/cells/pincell/useGridPinCellClientTdProps.d.ts +1 -1
- package/cells/pincell/utils.d.ts +1 -1
- package/cells/rowreordercell/GridRowReorderCell.d.ts +1 -1
- package/cells/rowreordercell/GridRowReorderCellServer.d.ts +1 -1
- package/cells/rowreordercell/useRowReorderCellClientTdProps.d.ts +1 -1
- package/cells/rowreordercell/utils.d.ts +1 -1
- package/cells/selectioncell/GridSelectionCell.d.ts +1 -1
- package/cells/selectioncell/GridSelectionCellInput.d.ts +1 -1
- package/cells/selectioncell/GridSelectionCellServer.d.ts +1 -1
- package/cells/selectioncell/useSelectionCellClientTdProps.d.ts +1 -1
- package/cells/selectioncell/utils.d.ts +1 -1
- package/columnMenu/GridColumnMenuCheckboxFilter.d.ts +1 -1
- package/columnMenu/GridColumnMenuColumnsChooser.d.ts +1 -1
- package/columnMenu/GridColumnMenuColumnsList.d.ts +1 -1
- package/columnMenu/GridColumnMenuFilter.d.ts +2 -2
- package/columnMenu/GridColumnMenuFilter.js +1 -1
- package/columnMenu/GridColumnMenuFilter.mjs +43 -43
- package/columnMenu/GridColumnMenuFilterCell.d.ts +1 -1
- package/columnMenu/GridColumnMenuFilterUI.d.ts +1 -1
- package/columnMenu/GridColumnMenuGroup.d.ts +1 -1
- package/columnMenu/GridColumnMenuSort.d.ts +1 -1
- package/columnMenu/GridColumnMenuWrapper.d.ts +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.d.ts +1 -1
- package/components/GridEditDialog.d.ts +1 -1
- package/components/PinnedRowsTable.d.ts +2 -2
- package/components/StickyGroupTable.d.ts +1 -1
- package/components/noRecords/GridNoRecords.d.ts +1 -1
- package/components/utils.d.ts +1 -1
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/drag/ColumnResize.d.ts +1 -1
- package/filterCommon.d.ts +2 -2
- package/footer/FooterCell.d.ts +1 -1
- package/footer/FooterRow.d.ts +1 -1
- package/getRowContents.d.ts +4 -4
- package/header/FilterRow.d.ts +2 -2
- package/header/GridHeaderCell.d.ts +1 -1
- package/header/GridHeaderGroupSpacerCell.d.ts +1 -1
- package/header/GridHeaderSelectionCell.d.ts +1 -1
- package/header/HeaderRow.d.ts +4 -4
- package/index.d.mts +36 -36
- package/index.d.ts +36 -36
- package/interfaces/GridAIAssistantCommand.d.ts +1 -1
- package/interfaces/GridCellProps.d.ts +3 -3
- package/interfaces/GridCellsSettings.d.ts +4 -4
- package/interfaces/GridColSpanProps.d.ts +1 -1
- package/interfaces/GridColumnChildrenProps.d.ts +1 -1
- package/interfaces/GridColumnMenuBaseProps.d.ts +1 -1
- package/interfaces/GridColumnMenuColumnsChooserBaseProps.d.ts +2 -2
- package/interfaces/GridColumnMenuFilterBaseProps.d.ts +2 -2
- package/interfaces/GridColumnMenuFilterUIProps.d.ts +2 -2
- package/interfaces/GridColumnMenuGroupBaseProps.d.ts +1 -1
- package/interfaces/GridColumnMenuProps.d.ts +4 -4
- package/interfaces/GridColumnMenuSortBaseProps.d.ts +2 -2
- package/interfaces/GridColumnProps.d.ts +8 -8
- package/interfaces/GridEditDialogProps.d.ts +1 -1
- package/interfaces/GridFilterCellProps.d.ts +1 -1
- package/interfaces/GridFilterOperators.d.ts +1 -1
- package/interfaces/GridGroupableSettings.d.ts +1 -1
- package/interfaces/GridProps.d.ts +17 -17
- package/interfaces/GridRowProps.d.ts +2 -2
- package/interfaces/GridRowsSettings.d.ts +1 -1
- package/interfaces/VirtualScrollInterface.d.ts +1 -1
- package/interfaces/events.d.ts +5 -5
- package/interfaces/index.d.ts +6 -6
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/rows/GridDetailRow.d.ts +1 -1
- package/rows/GridDetailRowRenderer.d.ts +1 -1
- package/rows/GridRow.d.ts +1 -1
- package/rows/GridRowRenderer.d.ts +4 -4
- package/sortCommon.d.ts +1 -1
- package/stacked/GridStackedRow.d.ts +2 -2
- package/stacked/StackedModeRow.d.ts +4 -4
- package/toolbar-tools/GridToolbarFilter.d.ts +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarFilter.d.ts +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarGroup.d.ts +1 -1
- package/toolbar-tools/adaptiveContent/GridAdaptiveToolbarSort.d.ts +1 -1
- package/toolbar-tools/smartbox/defaultConfigs.d.ts +1 -1
- package/toolbar-tools/smartbox/hooks/index.d.ts +1 -1
- package/toolbar-tools/smartbox/hooks/useSmartBoxGridState.d.ts +2 -2
- package/toolbar-tools/smartbox/hooks/useSmartBoxHistory.d.ts +1 -1
- package/toolbar-tools/smartbox/hooks/useSmartBoxModes.d.ts +1 -1
- package/toolbar-tools/smartbox/hooks/useSmartBoxSearch.d.ts +1 -1
- package/toolbar-tools/smartbox/interfaces/SearchTypes.d.ts +1 -1
- package/toolbar-tools/smartbox/interfaces/SmartBoxTypes.d.ts +2 -2
- package/toolbar-tools/smartbox/interfaces/index.d.ts +3 -3
- package/toolbar-tools/smartbox/utils.d.ts +1 -1
- package/utils/index.d.ts +9 -9
- package/utils/premium.d.ts +2 -2
- package/utils/virtualColumns.d.ts +1 -1
package/Grid.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridProps } from './interfaces/GridProps
|
|
9
|
-
import { GridColumnProps } from './interfaces/GridColumnProps
|
|
8
|
+
import { GridProps } from './interfaces/GridProps';
|
|
9
|
+
import { GridColumnProps } from './interfaces/GridColumnProps';
|
|
10
10
|
import * as React from 'react';
|
|
11
11
|
/**
|
|
12
12
|
* Represent the `ref` of the Grid component.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridComponentProps, GridProps } from './interfaces/GridProps
|
|
8
|
+
import { GridComponentProps, GridProps } from './interfaces/GridProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
type GridClientContextReaderProps = Omit<GridProps, 'children'> & {
|
|
11
11
|
children: React.ReactElement<GridComponentProps>;
|
package/GridClientWrapper.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { DataItemWrapper } from '@progress/kendo-react-common';
|
|
9
9
|
import { GridColumnState } from './interfaces/index.js';
|
|
10
10
|
import { ExtendedColumnProps } from './GridColumn.js';
|
|
11
|
-
import { GridComponentProps } from './interfaces/GridProps
|
|
11
|
+
import { GridComponentProps } from './interfaces/GridProps';
|
|
12
12
|
import * as React from 'react';
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
package/GridColumn.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridColumnProps } from './interfaces/GridColumnProps
|
|
9
|
-
import { GridRowSpannableSettings } from './interfaces/GridRowSpannableSettings
|
|
8
|
+
import { GridColumnProps } from './interfaces/GridColumnProps';
|
|
9
|
+
import { GridRowSpannableSettings } from './interfaces/GridRowSpannableSettings';
|
|
10
10
|
import * as React from 'react';
|
|
11
11
|
/**
|
|
12
12
|
* Represents the GridColumn component.
|
package/GridComponent.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridComponentProps } from './interfaces/GridProps
|
|
8
|
+
import { GridComponentProps } from './interfaces/GridProps';
|
|
9
9
|
import { GridHandle } from './Grid.js';
|
|
10
10
|
import * as React from 'react';
|
|
11
11
|
/**
|
package/GridState.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridProps } from './interfaces/GridProps
|
|
8
|
+
import { GridProps } from './interfaces/GridProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/** @hidden */
|
|
11
11
|
export declare const useGridState: () => [GridState, any, GridProps];
|
package/GridToolbar.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridToolbarProps } from './interfaces/GridToolbarProps
|
|
8
|
+
import { GridToolbarProps } from './interfaces/GridToolbarProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* Represents the GridToolbar component.
|
package/StatusBar.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridSelectionChangeEvent } from './interfaces/events
|
|
9
|
-
import { GridColumnProps } from './interfaces/GridColumnProps
|
|
10
|
-
import { GridProps } from './interfaces/GridProps
|
|
8
|
+
import { GridSelectionChangeEvent } from './interfaces/events';
|
|
9
|
+
import { GridColumnProps } from './interfaces/GridColumnProps';
|
|
10
|
+
import { GridProps } from './interfaces/GridProps';
|
|
11
11
|
import * as React from 'react';
|
|
12
12
|
/**
|
|
13
13
|
* Represents the KendoReact Grid's StatusItem object.
|
package/VirtualScroll.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { Page } from './paging/Page
|
|
9
|
-
import { VirtualScrollInterface } from './interfaces/VirtualScrollInterface
|
|
8
|
+
import { Page } from './paging/Page';
|
|
9
|
+
import { VirtualScrollInterface } from './interfaces/VirtualScrollInterface';
|
|
10
10
|
import { RowHeightService } from '@progress/kendo-react-common';
|
|
11
11
|
import * as React from 'react';
|
|
12
12
|
/**
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridFilterCellProps } from '../interfaces/GridFilterCellProps
|
|
8
|
+
import { GridFilterCellProps } from '../interfaces/GridFilterCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
export declare const GridFilterCell: (props: GridFilterCellProps) => React.JSX.Element;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import { GridTdAttributes } from '../../index.js';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridDetailRowProps } from '../../interfaces/GridDetailRowProps
|
|
8
|
+
import { GridDetailRowProps } from '../../interfaces/GridDetailRowProps';
|
|
9
9
|
import { GridClassStructure } from '@progress/kendo-react-common';
|
|
10
10
|
import * as React from 'react';
|
|
11
11
|
/** @hidden */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import { GridTdAttributes } from '../../index.js';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import { GridTdAttributes } from '../../index.js';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import { GridTdAttributes } from '../../index.js';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
package/cells/hooks.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
package/cells/pincell/utils.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import { GridTdAttributes } from '../../index.js';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import { GridTdAttributes } from '../../index.js';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridCellProps } from '../../interfaces/GridCellProps
|
|
8
|
+
import { GridCellProps } from '../../interfaces/GridCellProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridColumnMenuFilterBaseProps } from '../interfaces/GridColumnMenuFilterBaseProps
|
|
8
|
+
import { GridColumnMenuFilterBaseProps } from '../interfaces/GridColumnMenuFilterBaseProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* The props of the GridColumnMenuFilter component.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridColumnMenuColumnsChooserBaseProps } from '../interfaces/GridColumnMenuColumnsChooserBaseProps
|
|
8
|
+
import { GridColumnMenuColumnsChooserBaseProps } from '../interfaces/GridColumnMenuColumnsChooserBaseProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* The props of the GridColumnMenuColumnsChooser component.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { GridColumnProps } from './../interfaces/GridColumnProps
|
|
8
|
+
import { GridColumnProps } from './../interfaces/GridColumnProps';
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
/**
|
|
11
11
|
* Represents the props of the KendoReact GridColumnMenuColumnsList component.
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
9
|
-
import { GridColumnMenuFilterUIProps } from '../interfaces/GridColumnMenuFilterUIProps
|
|
10
|
-
import { GridColumnMenuFilterBaseProps } from '../interfaces/GridColumnMenuFilterBaseProps
|
|
9
|
+
import { GridColumnMenuFilterUIProps } from '../interfaces/GridColumnMenuFilterUIProps';
|
|
10
|
+
import { GridColumnMenuFilterBaseProps } from '../interfaces/GridColumnMenuFilterBaseProps';
|
|
11
11
|
import { ComponentType } from 'react';
|
|
12
12
|
import * as React from 'react';
|
|
13
13
|
/**
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const le=require("react"),w=require("@progress/kendo-data-query"),re=require("./GridColumnMenuItem.js"),ne=require("./GridColumnMenuItemGroup.js"),ie=require("./GridColumnMenuItemContent.js"),oe=require("@progress/kendo-react-intl"),i=require("../filterCommon.js"),u=require("../messages/index.js"),ae=require("./GridColumnMenuFilterUI.js"),R=require("@progress/kendo-react-buttons"),ue=require("@progress/kendo-svg-icons"),se=require("../utils/GridContext.js"),ce=require("./adaptiveContent/GridAdaptiveFilterMenu.js");function de(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const g=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(o,c,g.get?g:{enumerable:!0,get:()=>e[c]})}}return o.default=e,Object.freeze(o)}const l=de(le),E=e=>e||{filters:[],logic:"and"},h=(e,o)=>E(o).filters.filter(C=>w.isCompositeFilterDescriptor(C)?C.filters&&C.filters.length&&!C.filters.find(M=>w.isCompositeFilterDescriptor(M)||M.field!==e):!1)[0]||null,fe=(e,o)=>!!h(e,o),me=e=>{const o=l.useContext(se.GridContext),c=l.useCallback(()=>{let t;if(e.column&&e.column.field){const n=i.getFilterType(e.column.filter),r=i.getDefaultOperator(e.filterOperators,n);t=h(e.column.field,e.filter),t=t?{...t,filters:t.filters.map(a=>({...a}))}:{logic:"and",filters:[{field:e.column.field,operator:r,value:i.IsUnaryFilter(r)?null:void 0},{field:e.column.field,operator:r,value:i.IsUnaryFilter(r)?null:void 0}]},t.filters.filter(a=>a.field===e.column.field).length===1&&t.filters.splice(1,0,{field:e.column.field,operator:r})}return t},[e.column]),[g,C]=l.useState(e.expanded||!1),[M,b]=l.useState(!1),[d,
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const le=require("react"),w=require("@progress/kendo-data-query"),re=require("./GridColumnMenuItem.js"),ne=require("./GridColumnMenuItemGroup.js"),ie=require("./GridColumnMenuItemContent.js"),oe=require("@progress/kendo-react-intl"),i=require("../filterCommon.js"),u=require("../messages/index.js"),ae=require("./GridColumnMenuFilterUI.js"),R=require("@progress/kendo-react-buttons"),ue=require("@progress/kendo-svg-icons"),se=require("../utils/GridContext.js"),ce=require("./adaptiveContent/GridAdaptiveFilterMenu.js");function de(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const g=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(o,c,g.get?g:{enumerable:!0,get:()=>e[c]})}}return o.default=e,Object.freeze(o)}const l=de(le),E=e=>e||{filters:[],logic:"and"},h=(e,o)=>E(o).filters.filter(C=>w.isCompositeFilterDescriptor(C)?C.filters&&C.filters.length&&!C.filters.find(M=>w.isCompositeFilterDescriptor(M)||M.field!==e):!1)[0]||null,fe=(e,o)=>!!h(e,o),me=e=>{const o=l.useContext(se.GridContext),c=l.useCallback(()=>{let t;if(e.column&&e.column.field){const n=i.getFilterType(e.column.filter),r=i.getDefaultOperator(e.filterOperators,n);t=h(e.column.field,e.filter),t=t?{...t,filters:t.filters.map(a=>({...a}))}:{logic:"and",filters:[{field:e.column.field,operator:r,value:i.IsUnaryFilter(r)?null:void 0},{field:e.column.field,operator:r,value:i.IsUnaryFilter(r)?null:void 0}]},t.filters.filter(a=>a.field===e.column.field).length===1&&t.filters.splice(1,0,{field:e.column.field,operator:r})}return t},[e.column]),[g,C]=l.useState(e.expanded||!1),[M,b]=l.useState(!1),[d,q]=l.useState(c()),O=()=>e.expanded!==void 0,z=()=>{const t=O(),n=!(t?e.expanded:g);e.onExpandChange&&e.onExpandChange(n),b(!M),!t&&!o.mobileMode&&C(n)},H=t=>{T(0,t)},$=t=>{T(1,t)},T=(t,n)=>{const r=d.filters.map((a,s)=>s===t?{...a,value:n.value,operator:n.operator}:a);q({...d,filters:r})},Q=t=>{let n=t.target.value;t.target.tagName==="SPAN"&&(n=t.target.parentElement.value),q({...d,logic:n})},D=t=>{if(t.preventDefault(),!e.onFilterChange)return;const n=e.column.field,r=E(e.filter),a=h(n,e.filter),s=r.filters.filter(v=>v!==a);s.length?e.onFilterChange({...r,filters:s},t):e.onFilterChange(null,t),e.onCloseMenu&&e.onCloseMenu()},B=()=>({...d,filters:d.filters.filter(t=>t.value!==void 0&&t.value!==null&&t.value!==""||t.value===null&&t.operator)}),y=t=>{if(t.preventDefault(),!e.onFilterChange)return;const n=e.column.field,r=E(e.filter),a=h(n,e.filter),s=B();let v=null;if(a&&s.filters.length>0){const G=r.filters.map(x=>x===a?s:x);v={...r,filters:G}}else if(s.filters.length===0){const G=r.filters.filter(x=>x!==a);G.length&&(v={...r,filters:G})}else v={...r,filters:[...r.filters,s]};e.onFilterChange(v,t),e.onCloseMenu&&e.onCloseMenu()},{column:f,filterUI:J,hideSecondFilter:P,filterOperators:K}=e,m=oe.useLocalization();if(!f||!f.field)return l.createElement("div",null);const p=i.getFilterType(f.filter),W=P!==void 0?P:i.defaultHideSecondFilter[p],F=d.filters,L=i.operatorMap(K[p],m),U=i.operatorMap(i.booleanFilterValues,m),X={field:f.field,value:F[0].value,operator:F[0].operator,operators:L,booleanValues:U,onChange:H,filterType:p},Y={field:f.field,value:F[1].value,operator:F[1].operator,operators:L,booleanValues:U,onChange:$,filterType:p},A=d.logic,N=i.operatorMap(i.filterLogicList,m),S={value:N.find(t=>t.operator===(A===null?"":A)),onChange:Q,data:N},I=J,k={firstFilterProps:X,secondFilterProps:Y,logicData:S.data,logicValue:S.value,onLogicChange:S.onChange,hideSecondFilter:W},V=B().filters.length!==0||i.IsUnaryFilter(F[0].operator)||i.IsUnaryFilter(F[1].operator),_=O()?e.expanded:g,j=e.alwaysExpand&&!o.mobileMode,Z=()=>{b(!1)},ee=()=>{b(!1),e.onCloseMenu&&e.onCloseMenu()},te=`${m.toLanguageString(u.adaptiveColumnMenuFilterTitle,u.messages[u.adaptiveColumnMenuFilterTitle])} ${f.title||f.field}`;return l.createElement(ne.GridColumnMenuItemGroup,null,!j&&l.createElement("div",{className:"k-expander"},l.createElement(re.GridColumnMenuItem,{title:m.toLanguageString(u.filterTitle,u.messages[u.filterTitle]),iconClass:"k-i-filter",svgIcon:ue.filterIcon,expandable:!0,expanded:!!_,onClick:z})),o.mobileMode&&M?l.createElement(ce.GridAdaptiveFilterMenu,{FilterUI:I,filterUIProps:k,onBackView:Z,adaptiveTitle:te,handleClose:ee,submit:y,clear:D,isFilterValid:V}):l.createElement(ie.GridColumnMenuItemContent,{show:(j||!!_)&&!o.mobileMode},l.createElement("form",{className:"k-filter-menu",onSubmit:y,onReset:D},l.createElement("div",{className:"k-filter-menu-container"},I?l.createElement(I,{...k}):l.createElement(ae.GridColumnMenuFilterUI,{...k}),l.createElement("div",{className:"k-actions k-actions-stretched"},l.createElement(R.Button,{type:"button",themeColor:"primary",disabled:!V,onClick:y},m.toLanguageString(u.filterSubmitButton,u.messages[u.filterSubmitButton])),l.createElement(R.Button,{type:"reset"},m.toLanguageString(u.filterClearButton,u.messages[u.filterClearButton])))))))};exports.GridColumnMenuFilter=me;exports.filterGroupByField=h;exports.isColumnMenuFilterActive=fe;exports.rootFilterOrDefault=E;
|