igniteui-webcomponents-grids 4.8.1-alpha.0 → 4.8.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/bundles/igniteui-webcomponents-grids.umd.js +4 -4
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/ColumnFilterCondition_combined.js +4 -4
- package/esm5/lib/ColumnFilterCondition_combined.js +4 -4
- package/fesm2015/igniteui-webcomponents-grids.js +4 -4
- package/fesm5/igniteui-webcomponents-grids.js +4 -4
- package/grids/3rdpartylicenses.txt +1 -1
- package/grids/combined.js +27783 -28191
- package/grids/index.d.ts +6 -0
- package/grids/lib/column-pinning-position.d.ts +5 -0
- package/grids/lib/grid-paging-mode.d.ts +5 -0
- package/grids/lib/igc-active-node-change-event-args.d.ts +11 -0
- package/grids/lib/igc-base-filtering-strategy.d.ts +36 -0
- package/grids/lib/igc-base-search-info.d.ts +34 -0
- package/grids/lib/igc-cell-position.d.ts +6 -0
- package/grids/lib/igc-cell-type.d.ts +29 -0
- package/grids/lib/igc-child-grid-row-component.d.ts +1 -0
- package/grids/lib/igc-column-moving-end-event-args.d.ts +13 -0
- package/grids/lib/igc-column-moving-event-args.d.ts +9 -0
- package/grids/lib/igc-column-moving-start-event-args.d.ts +5 -0
- package/grids/lib/igc-column-resize-event-args.d.ts +4 -0
- package/grids/lib/igc-column-selection-event-args.d.ts +14 -0
- package/grids/lib/igc-column-state.d.ts +13 -0
- package/grids/lib/igc-column-visibility-changed-event-args.d.ts +3 -1
- package/grids/lib/igc-column-visibility-changing-event-args.d.ts +7 -1
- package/grids/lib/igc-display-density-base.d.ts +3 -0
- package/grids/lib/igc-filter-item.d.ts +25 -0
- package/grids/lib/igc-filtering-event-args.d.ts +8 -0
- package/grids/lib/igc-filtering-strategy.d.ts +7 -0
- package/grids/lib/igc-grid-base-directive.d.ts +13 -5
- package/grids/lib/igc-grid-cell-event-args.d.ts +6 -0
- package/grids/lib/igc-grid-clipboard-event.d.ts +6 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +32 -0
- package/grids/lib/igc-grid-edit-event-args.d.ts +36 -0
- package/grids/lib/igc-grid-form-group-created-event-args.d.ts +5 -0
- package/grids/lib/igc-grid-grouping-strategy.d.ts +12 -0
- package/grids/lib/igc-grid-keydown-event-args.d.ts +12 -0
- package/grids/lib/igc-grid-resource-strings.d.ts +3 -0
- package/grids/lib/igc-grid-selection-range.d.ts +14 -0
- package/grids/lib/igc-grid-sorting-strategy.d.ts +10 -0
- package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +21 -0
- package/grids/lib/igc-grid-validation-state.d.ts +5 -0
- package/grids/lib/igc-grid-validation-status-event-args.d.ts +5 -0
- package/grids/lib/igc-header-type.d.ts +11 -1
- package/grids/lib/igc-noop-filtering-strategy.d.ts +24 -0
- package/grids/lib/igc-noop-sorting-strategy.d.ts +27 -0
- package/grids/lib/igc-paginator-component.d.ts +1 -0
- package/grids/lib/igc-pin-column-cancellable-event-args.d.ts +2 -2
- package/grids/lib/igc-pin-column-event-args.d.ts +1 -1
- package/grids/lib/igc-pin-row-event-args.d.ts +1 -0
- package/grids/lib/igc-pivot-configuration.d.ts +1 -8
- package/grids/lib/igc-row-data-event-args.d.ts +9 -0
- package/grids/lib/igc-row-drag-end-event-args.d.ts +4 -0
- package/grids/lib/igc-row-drag-start-event-args.d.ts +6 -0
- package/grids/lib/igc-row-island-component.d.ts +13 -5
- package/grids/lib/igc-row-selection-event-args.d.ts +16 -0
- package/grids/lib/igc-row-toggle-event-args.d.ts +11 -0
- package/grids/lib/igc-row-type.d.ts +75 -0
- package/grids/lib/igc-search-info.d.ts +23 -0
- package/grids/lib/igc-sorting-event-args.d.ts +16 -0
- package/grids/lib/igc-toggle-directive.d.ts +4 -4
- package/grids/lib/row-pinning-position.d.ts +5 -0
- package/grids/styles.css +1 -1
- package/grids/themes/_util.css +1 -0
- package/grids/themes/_variables.css +1 -0
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/ColumnFilterCondition_combined.d.ts +1 -1
- package/package.json +4 -4
package/grids/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export * from './lib/igc-active-node-change-event-args'
|
|
|
20
20
|
export * from './lib/igc-base-date-time-filtering-operand'
|
|
21
21
|
export * from './lib/igc-base-event-args'
|
|
22
22
|
export * from './lib/igc-base-exporter'
|
|
23
|
+
export * from './lib/igc-base-filtering-strategy'
|
|
24
|
+
export * from './lib/igc-base-search-info'
|
|
23
25
|
export * from './lib/igc-base-toolbar-column-actions-directive'
|
|
24
26
|
export * from './lib/igc-base-toolbar-directive'
|
|
25
27
|
export * from './lib/igc-boolean-filtering-operand'
|
|
@@ -57,6 +59,7 @@ export * from './lib/igc-exporter-event-args'
|
|
|
57
59
|
export * from './lib/igc-exporter-options-base'
|
|
58
60
|
export * from './lib/igc-expression-tree'
|
|
59
61
|
export * from './lib/igc-field-pipe-args'
|
|
62
|
+
export * from './lib/igc-filter-item'
|
|
60
63
|
export * from './lib/igc-filtering-event-args'
|
|
61
64
|
export * from './lib/igc-filtering-expression'
|
|
62
65
|
export * from './lib/igc-filtering-expressions-tree'
|
|
@@ -127,7 +130,9 @@ export * from './lib/igc-head-selector-template-details'
|
|
|
127
130
|
export * from './lib/igc-header-type'
|
|
128
131
|
export * from './lib/igc-hierarchical-grid-base-directive'
|
|
129
132
|
export * from './lib/igc-hierarchical-grid-component'
|
|
133
|
+
export * from './lib/igc-noop-filtering-strategy'
|
|
130
134
|
export * from './lib/igc-noop-pivot-dimensions-strategy'
|
|
135
|
+
export * from './lib/igc-noop-sorting-strategy'
|
|
131
136
|
export * from './lib/igc-number-filtering-operand'
|
|
132
137
|
export * from './lib/igc-number-summary-operand'
|
|
133
138
|
export * from './lib/igc-overlay-outlet-directive'
|
|
@@ -169,6 +174,7 @@ export * from './lib/igc-row-selector-template-details'
|
|
|
169
174
|
export * from './lib/igc-row-toggle-event-args'
|
|
170
175
|
export * from './lib/igc-row-type'
|
|
171
176
|
export * from './lib/igc-scroll-strategy'
|
|
177
|
+
export * from './lib/igc-search-info'
|
|
172
178
|
export * from './lib/igc-size'
|
|
173
179
|
export * from './lib/igc-sorting-event-args'
|
|
174
180
|
export * from './lib/igc-sorting-expression'
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/* mustCoerceToInt */
|
|
7
|
+
/**
|
|
8
|
+
* Enumeration representing the possible positions for pinning columns.
|
|
9
|
+
* - Start: Columns are pinned to the start of the grid.
|
|
10
|
+
* - End: Columns are pinned to the end of the grid.
|
|
11
|
+
*/
|
|
7
12
|
|
|
8
13
|
export declare enum ColumnPinningPosition
|
|
9
14
|
{
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/* mustCoerceToInt */
|
|
7
|
+
/**
|
|
8
|
+
* Enumeration representing different paging modes for the grid.
|
|
9
|
+
* - Local: The grid will use local data to extract pages during paging.
|
|
10
|
+
* - Remote: The grid will expect pages to be delivered from a remote location and will only raise events during paging interactions.
|
|
11
|
+
*/
|
|
7
12
|
|
|
8
13
|
export declare enum GridPagingMode
|
|
9
14
|
{
|
|
@@ -5,20 +5,31 @@ import { GridKeydownTargetType } from './grid-keydown-target-type';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Emitted when the active node is changed */
|
|
8
9
|
|
|
9
10
|
export declare class IgcActiveNodeChangeEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/** Represents the row index of the active node */
|
|
13
15
|
public row: number;
|
|
14
16
|
|
|
15
17
|
|
|
18
|
+
/** Represents the column index of the active node */
|
|
16
19
|
public column: number;
|
|
17
20
|
|
|
18
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Optional
|
|
24
|
+
* Represents the hierarchical level of the active node
|
|
25
|
+
*/
|
|
19
26
|
public level?: number;
|
|
20
27
|
|
|
21
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Represents the type of the active node.
|
|
31
|
+
* The GridKeydownTargetType is an enum or that specifies the possible target types
|
|
32
|
+
*/
|
|
22
33
|
public tag: GridKeydownTargetType;
|
|
23
34
|
|
|
24
35
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcFilteringExpression } from './igc-filtering-expression';
|
|
3
|
+
import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
4
|
+
import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
5
|
+
import { IgcColumnComponent } from './igc-column-component';
|
|
6
|
+
import { IgcFilterItem } from './igc-filter-item';
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
/* csSuppress */
|
|
12
|
+
|
|
13
|
+
export declare abstract class IgcBaseFilteringStrategy
|
|
14
|
+
{
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// protected
|
|
18
|
+
public findMatchByExpression(rec: any, expr: IgcFilteringExpression, isDate?: boolean, isTime?: boolean, grid?: IgcGridBaseDirective): boolean;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// protected
|
|
23
|
+
public matchRecord(rec: any, expressions: IgcFilteringExpressionsTree | IgcFilteringExpression, grid?: IgcGridBaseDirective): boolean;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
public getFilterItems(column: IgcColumnComponent, tree: IgcFilteringExpressionsTree): Promise<IgcFilterItem[]>;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
public filter(data: any[], expressionsTree: IgcFilteringExpressionsTree, advancedExpressionsTree?: IgcFilteringExpressionsTree, grid?: IgcGridBaseDirective): any[];
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/* jsonAPIPlainObject */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare class IgcBaseSearchInfo
|
|
9
|
+
{
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
public set searchText(value: string);
|
|
13
|
+
public get searchText(): string;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
public set caseSensitive(value: boolean);
|
|
17
|
+
public get caseSensitive(): boolean;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
public set exactMatch(value: boolean);
|
|
21
|
+
public get exactMatch(): boolean;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
public set matchCount(value: number);
|
|
25
|
+
public get matchCount(): number;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
public set content(value: string);
|
|
29
|
+
public get content(): string;
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
@@ -4,17 +4,23 @@
|
|
|
4
4
|
/* jsonAPIPlainObject */
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/** The event is triggered when getting the current position of a certain cell */
|
|
7
8
|
|
|
8
9
|
export declare class IgcCellPosition
|
|
9
10
|
{
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
/* doNotStringify */
|
|
14
|
+
/** It returns the position (index) of the row, the cell is in */
|
|
13
15
|
public set rowIndex(value: number);
|
|
14
16
|
public get rowIndex(): number;
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
/* doNotStringify */
|
|
20
|
+
/**
|
|
21
|
+
* It returns the position (index) of the column, the cell is in
|
|
22
|
+
* Counts only the visible (non hidden) columns
|
|
23
|
+
*/
|
|
18
24
|
public set visibleColumnIndex(value: number);
|
|
19
25
|
public get visibleColumnIndex(): number;
|
|
20
26
|
|
|
@@ -10,76 +10,105 @@ import { IgcGridValidationState } from './igc-grid-validation-state';
|
|
|
10
10
|
|
|
11
11
|
/* marshalByValue */
|
|
12
12
|
/* jsonAPIComplexObject */
|
|
13
|
+
/**
|
|
14
|
+
* Interface representing a cell in the grid. It is essentially the blueprint to a cell object.
|
|
15
|
+
* Contains definitions of properties and methods, relevant to a cell
|
|
16
|
+
*/
|
|
13
17
|
|
|
14
18
|
export declare class IgcCellType
|
|
15
19
|
{
|
|
16
20
|
|
|
17
21
|
|
|
22
|
+
/** The current value of the cell. */
|
|
18
23
|
public set value(value: any);
|
|
19
24
|
public get value(): any;
|
|
20
25
|
|
|
21
26
|
|
|
27
|
+
/** The value to display when the cell is in edit mode. */
|
|
22
28
|
public set editValue(value: any);
|
|
23
29
|
public get editValue(): any;
|
|
24
30
|
|
|
25
31
|
|
|
32
|
+
/** Indicates whether the cell is currently selected. It is false, if the sell is not selected, and true, if it is. */
|
|
26
33
|
public set selected(value: boolean);
|
|
27
34
|
public get selected(): boolean;
|
|
28
35
|
|
|
29
36
|
|
|
37
|
+
/** Indicates whether the cell is currently active (focused). */
|
|
30
38
|
public set active(value: boolean);
|
|
31
39
|
public get active(): boolean;
|
|
32
40
|
|
|
33
41
|
|
|
42
|
+
/** Indicates whether the cell can be edited. */
|
|
34
43
|
public set editable(value: boolean);
|
|
35
44
|
public get editable(): boolean;
|
|
36
45
|
|
|
37
46
|
|
|
47
|
+
/** Indicates whether the cell is currently in edit mode. */
|
|
38
48
|
public set editMode(value: boolean);
|
|
39
49
|
public get editMode(): boolean;
|
|
40
50
|
|
|
41
51
|
|
|
52
|
+
/** Represents the column that the cell belongs to. */
|
|
42
53
|
public set column(value: IgcColumnComponent);
|
|
43
54
|
public get column(): IgcColumnComponent;
|
|
44
55
|
|
|
45
56
|
|
|
46
57
|
/* blazorCSSuppress */
|
|
58
|
+
/** Represents the row that the cell belongs to */
|
|
47
59
|
public set row(value: IgcRowType);
|
|
48
60
|
public get row(): IgcRowType;
|
|
49
61
|
|
|
50
62
|
|
|
63
|
+
/** Represents the grid instance containing the cell */
|
|
51
64
|
public set grid(value: IgcGridBaseDirective);
|
|
52
65
|
public get grid(): IgcGridBaseDirective;
|
|
53
66
|
|
|
54
67
|
|
|
68
|
+
/** Optional; An object identifying the cell. It contains rowID, columnID, and rowIndex of the cell. */
|
|
55
69
|
public id?: { rowID: any; columnID: number; rowIndex: number; };
|
|
56
70
|
|
|
57
71
|
|
|
72
|
+
/** Optional; The `cellID` is the unique key, used to identify the cell */
|
|
58
73
|
public cellID?: any;
|
|
59
74
|
|
|
60
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Optional; An object representing the validation state of the cell.
|
|
78
|
+
* Whether it's valid or invalid, and if it has errors
|
|
79
|
+
*/
|
|
61
80
|
public validation?: IgcGridValidationState;
|
|
62
81
|
|
|
63
82
|
|
|
64
83
|
public readonly?: boolean;
|
|
65
84
|
|
|
66
85
|
|
|
86
|
+
/** An optional title to display for the cell */
|
|
67
87
|
public title?: any;
|
|
68
88
|
|
|
69
89
|
|
|
90
|
+
/** The CSS width of the cell as a string. */
|
|
70
91
|
public set width(value: string);
|
|
71
92
|
public get width(): string;
|
|
72
93
|
|
|
73
94
|
|
|
95
|
+
/** The index of the column that the cell belongs to. It counts only the visible (not hidden) columns */
|
|
74
96
|
public visibleColumnIndex?: number;
|
|
75
97
|
|
|
76
98
|
|
|
99
|
+
/** A method definition to update the value of the cell. */
|
|
77
100
|
public update(value: any): void;
|
|
78
101
|
|
|
79
102
|
|
|
103
|
+
/** A method definition to start or end the edit mode of the cell. It takes a boolean value as an argument*/
|
|
80
104
|
public setEditMode?(value: boolean): void;
|
|
81
105
|
|
|
82
106
|
|
|
107
|
+
/**
|
|
108
|
+
* Optional;
|
|
109
|
+
* A method definition to calculate the size of the cell to fit the content
|
|
110
|
+
* The method can be used to calculate the size of the cell with the longest content and resize all cells to that size
|
|
111
|
+
*/
|
|
83
112
|
public calculateSizeToFit?(range: any): number;
|
|
84
113
|
|
|
85
114
|
}
|
|
@@ -5,17 +5,30 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents event arguments related to the end of a column moving operation in a grid */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnMovingEndEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* The source of the event represents the column that is being moved.
|
|
16
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
17
|
+
*/
|
|
13
18
|
public source: IgcColumnComponent;
|
|
14
19
|
|
|
15
20
|
|
|
21
|
+
/**
|
|
22
|
+
* The target of the event represents the column, the source is being moved to.
|
|
23
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
24
|
+
*/
|
|
16
25
|
public target: IgcColumnComponent;
|
|
17
26
|
|
|
18
27
|
|
|
28
|
+
/**
|
|
29
|
+
* `cancel` returns whether the event has been intercepted and stopped
|
|
30
|
+
* If the value becomes "true", it returns/exits from the method, instantiating the interface
|
|
31
|
+
*/
|
|
19
32
|
public cancel: boolean;
|
|
20
33
|
|
|
21
34
|
}
|
|
@@ -5,14 +5,23 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents event arguments related to a column moving operation in a grid */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnMovingEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Represents the column that is being moved.
|
|
16
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
17
|
+
*/
|
|
13
18
|
public source: IgcColumnComponent;
|
|
14
19
|
|
|
15
20
|
|
|
21
|
+
/**
|
|
22
|
+
* `cancel` returns whether the event has been intercepted and stopped
|
|
23
|
+
* If the value becomes "true", it returns/exits from the method, instantiating the interface
|
|
24
|
+
*/
|
|
16
25
|
public cancel: boolean;
|
|
17
26
|
|
|
18
27
|
}
|
|
@@ -5,11 +5,16 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents event arguments related to the start of a column moving operation in a grid. */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnMovingStartEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Represents the column that is being moved.
|
|
16
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
17
|
+
*/
|
|
13
18
|
public source: IgcColumnComponent;
|
|
14
19
|
|
|
15
20
|
}
|
|
@@ -5,17 +5,21 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** The event arguments when a column is being resized */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnResizeEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/** Represents the information of the column that is being resized */
|
|
13
15
|
public column: IgcColumnComponent;
|
|
14
16
|
|
|
15
17
|
|
|
18
|
+
/** Represents the old width of the column before the resizing */
|
|
16
19
|
public prevWidth: string;
|
|
17
20
|
|
|
18
21
|
|
|
22
|
+
/** Represents the new width, the column is being resized to */
|
|
19
23
|
public newWidth: string;
|
|
20
24
|
|
|
21
25
|
}
|
|
@@ -3,20 +3,34 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* The event arguments when the selection state of a column is being changed
|
|
8
|
+
* The event is cancelable
|
|
9
|
+
*/
|
|
6
10
|
|
|
7
11
|
export declare class IgcColumnSelectionEventArgs
|
|
8
12
|
{
|
|
9
13
|
|
|
10
14
|
|
|
15
|
+
/** Represents an array of columns, that have already been selected */
|
|
11
16
|
public oldSelection: string[];
|
|
12
17
|
|
|
13
18
|
|
|
19
|
+
/** Represents the newly selected columns */
|
|
14
20
|
public newSelection: string[];
|
|
15
21
|
|
|
16
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Represents an array of all added columns
|
|
25
|
+
* Whenever a column has been selected, the array is "refreshed" with the selected columns
|
|
26
|
+
*/
|
|
17
27
|
public added: string[];
|
|
18
28
|
|
|
19
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Represents an array of all columns, removed from the selection
|
|
32
|
+
* Whenever a column has been deselected, the array is "refreshed" with the columns, that have been previously selected, but are no longer
|
|
33
|
+
*/
|
|
20
34
|
public removed: string[];
|
|
21
35
|
|
|
22
36
|
|
|
@@ -99,6 +99,19 @@ import { GridColumnDataType } from './grid-column-data-type';
|
|
|
99
99
|
public set disableHiding(value: boolean);
|
|
100
100
|
public get disableHiding(): boolean;
|
|
101
101
|
|
|
102
|
+
|
|
103
|
+
public set disablePinning(value: boolean);
|
|
104
|
+
public get disablePinning(): boolean;
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
public collapsible?: boolean;
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
public expanded?: boolean;
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
public visibleWhenCollapsed?: boolean;
|
|
114
|
+
|
|
102
115
|
}
|
|
103
116
|
|
|
104
117
|
|
|
@@ -4,16 +4,18 @@ import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/** The event arguments after a column's visibility is changed. */
|
|
7
8
|
|
|
8
9
|
export declare class IgcColumnVisibilityChangedEventArgs extends IgcBaseEventArgs
|
|
9
10
|
{
|
|
10
11
|
|
|
11
12
|
|
|
13
|
+
/** Represents the column the event originated from */
|
|
12
14
|
public column: any;
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
|
-
* The new hidden state that the column will have, if operation is
|
|
18
|
+
* The new hidden state that the column will have, if operation is successful.
|
|
17
19
|
* Will be `true` when hiding and `false` when showing.
|
|
18
20
|
*/
|
|
19
21
|
public newValue: boolean;
|
|
@@ -3,16 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* The event arguments when a column's visibility is changed.
|
|
8
|
+
* The event is cancelable
|
|
9
|
+
* It contains information about the column and the it's visibility after the operation (will be `true` when hiding and `false` when showing)
|
|
10
|
+
*/
|
|
6
11
|
|
|
7
12
|
export declare class IgcColumnVisibilityChangingEventArgs
|
|
8
13
|
{
|
|
9
14
|
|
|
10
15
|
|
|
16
|
+
/** Represents the column the event originated from */
|
|
11
17
|
public column: any;
|
|
12
18
|
|
|
13
19
|
|
|
14
20
|
/**
|
|
15
|
-
* The new hidden state that the column will have, if operation is
|
|
21
|
+
* The new hidden state that the column will have, if operation is successful.
|
|
16
22
|
* Will be `true` when hiding and `false` when showing.
|
|
17
23
|
*/
|
|
18
24
|
public newValue: boolean;
|
|
@@ -28,6 +28,9 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
28
28
|
* ```typescript
|
|
29
29
|
* let componentTheme = this.component.displayDensity;
|
|
30
30
|
* ```
|
|
31
|
+
*
|
|
32
|
+
* @deprecated Please use the `--ig-size` CSS custom property.
|
|
33
|
+
* @see {@link [Update Guide](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide#from-160x-to-161x)}
|
|
31
34
|
*/
|
|
32
35
|
public set displayDensity(value: DisplayDensity);
|
|
33
36
|
public get displayDensity(): DisplayDensity;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/* jsonAPIPlainObject */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/* csSuppress */
|
|
8
|
+
|
|
9
|
+
export declare class IgcFilterItem
|
|
10
|
+
{
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
public set value(value: any);
|
|
14
|
+
public get value(): any;
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
public label?: string;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
public children?: IgcFilterItem[];
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -4,11 +4,19 @@ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Represents event arguments related to filtering operations
|
|
9
|
+
* The event is cancelable
|
|
10
|
+
*/
|
|
7
11
|
|
|
8
12
|
export declare class IgcFilteringEventArgs
|
|
9
13
|
{
|
|
10
14
|
|
|
11
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Represents the filtering expressions applied to the grid.
|
|
18
|
+
* The expression contains information like filtering operands and operator, an expression or condition, etc.
|
|
19
|
+
*/
|
|
12
20
|
public filteringExpressions: IgcFilteringExpressionsTree;
|
|
13
21
|
|
|
14
22
|
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
3
3
|
import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
4
|
+
import { IgcColumnComponent } from './igc-column-component';
|
|
5
|
+
import { IgcFilterItem } from './igc-filter-item';
|
|
4
6
|
|
|
5
7
|
|
|
6
8
|
/* jsonAPIPlainObject */
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
|
|
12
|
+
|
|
10
13
|
export declare class IgcFilteringStrategy
|
|
11
14
|
{
|
|
12
15
|
|
|
13
16
|
|
|
14
17
|
public filter(data: any[], expressionsTree: IgcFilteringExpressionsTree, advancedExpressionsTree?: IgcFilteringExpressionsTree, grid?: IgcGridBaseDirective): any[];
|
|
15
18
|
|
|
19
|
+
|
|
20
|
+
/* csSuppress */
|
|
21
|
+
public getFilterItems(column: IgcColumnComponent, tree: IgcFilteringExpressionsTree): Promise<IgcFilterItem[]>;
|
|
22
|
+
|
|
16
23
|
}
|
|
17
24
|
|
|
18
25
|
|
|
@@ -61,6 +61,7 @@ import { IgcRowDirective } from './igc-row-directive';
|
|
|
61
61
|
import { IgcHeadSelectorTemplateContext } from './igc-head-selector-template-context';
|
|
62
62
|
import { IgcRowSelectorTemplateContext } from './igc-row-selector-template-context';
|
|
63
63
|
import { GridSelectionMode } from './grid-selection-mode';
|
|
64
|
+
import { IgcSearchInfo } from './igc-search-info';
|
|
64
65
|
import { IgcForOfState } from './igc-for-of-state';
|
|
65
66
|
import { IgcOverlayOutletDirective } from './igc-overlay-outlet-directive';
|
|
66
67
|
import { IgcGridRowComponent } from './igc-grid-row-component';
|
|
@@ -945,6 +946,13 @@ public set selectedRows(value: any[]);
|
|
|
945
946
|
|
|
946
947
|
|
|
947
948
|
|
|
949
|
+
/**
|
|
950
|
+
* Represents the last search information.
|
|
951
|
+
*/
|
|
952
|
+
public get lastSearchInfo(): IgcSearchInfo;
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
948
956
|
/**
|
|
949
957
|
* Returns an array of objects containing the filtered data.
|
|
950
958
|
*
|
|
@@ -1506,7 +1514,7 @@ public set selectedRows(value: any[]);
|
|
|
1506
1514
|
* @param columnName
|
|
1507
1515
|
* @param index
|
|
1508
1516
|
*/
|
|
1509
|
-
public pinColumn(columnName: string, index?:
|
|
1517
|
+
public pinColumn(columnName: string, index?: number): boolean;
|
|
1510
1518
|
|
|
1511
1519
|
|
|
1512
1520
|
|
|
@@ -1520,7 +1528,7 @@ public set selectedRows(value: any[]);
|
|
|
1520
1528
|
* @param columnName
|
|
1521
1529
|
* @param index
|
|
1522
1530
|
*/
|
|
1523
|
-
public unpinColumn(columnName: string, index?:
|
|
1531
|
+
public unpinColumn(columnName: string, index?: number): boolean;
|
|
1524
1532
|
|
|
1525
1533
|
|
|
1526
1534
|
|
|
@@ -1886,20 +1894,20 @@ public set selectedRows(value: any[]);
|
|
|
1886
1894
|
|
|
1887
1895
|
|
|
1888
1896
|
/**
|
|
1889
|
-
* Finishes the row transactions on the current row.
|
|
1897
|
+
* Finishes the row transactions on the current row and returns whether the grid editing was canceled.
|
|
1890
1898
|
*
|
|
1891
1899
|
* @remarks
|
|
1892
1900
|
* If `commit === true`, passes them from the pending state to the data (or transaction service)
|
|
1893
1901
|
* @example
|
|
1894
1902
|
* ```html
|
|
1895
|
-
* <button igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
1903
|
+
* <button type="button" igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
1896
1904
|
* ```
|
|
1897
1905
|
* @param commit
|
|
1898
1906
|
*/
|
|
1899
1907
|
// TODO: Facade for crud service refactoring. To be removed
|
|
1900
1908
|
// TODO: do not remove this, as it is used in rowEditTemplate, but mark is as internal and hidden
|
|
1901
1909
|
/* blazorCSSuppress */
|
|
1902
|
-
public endEdit(commit?: boolean, evt?: any):
|
|
1910
|
+
public endEdit(commit?: boolean, evt?: any): boolean;
|
|
1903
1911
|
|
|
1904
1912
|
|
|
1905
1913
|
|
|
@@ -5,15 +5,21 @@ import { IgcCellType } from './igc-cell-type';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents an event argument related to grid cell interactions. */
|
|
8
9
|
|
|
9
10
|
export declare class IgcGridCellEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/** Represents the grid cell that triggered the event. */
|
|
13
15
|
public cell: IgcCellType;
|
|
14
16
|
|
|
15
17
|
|
|
16
18
|
/* blazorCSSuppress */
|
|
19
|
+
/**
|
|
20
|
+
* Represents the original event that occurred
|
|
21
|
+
* Examples of such events include: selecting, clicking, double clicking, etc.
|
|
22
|
+
*/
|
|
17
23
|
public event: any;
|
|
18
24
|
|
|
19
25
|
}
|