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
|
@@ -63,6 +63,7 @@ import { IgcRowDirective } from './igc-row-directive';
|
|
|
63
63
|
import { IgcHeadSelectorTemplateContext } from './igc-head-selector-template-context';
|
|
64
64
|
import { IgcRowSelectorTemplateContext } from './igc-row-selector-template-context';
|
|
65
65
|
import { GridSelectionMode } from './grid-selection-mode';
|
|
66
|
+
import { IgcSearchInfo } from './igc-search-info';
|
|
66
67
|
import { IgcGridRowComponent } from './igc-grid-row-component';
|
|
67
68
|
import { DropPosition } from './drop-position';
|
|
68
69
|
import { IgcFilteringOperation } from './igc-filtering-operation';
|
|
@@ -1031,6 +1032,13 @@ public set selectedRows(value: any[]);
|
|
|
1031
1032
|
|
|
1032
1033
|
|
|
1033
1034
|
|
|
1035
|
+
/**
|
|
1036
|
+
* Represents the last search information.
|
|
1037
|
+
*/
|
|
1038
|
+
public get lastSearchInfo(): IgcSearchInfo;
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1034
1042
|
/**
|
|
1035
1043
|
* Returns an array of objects containing the filtered data.
|
|
1036
1044
|
*
|
|
@@ -1581,7 +1589,7 @@ public set selectedRows(value: any[]);
|
|
|
1581
1589
|
* @param columnName
|
|
1582
1590
|
* @param index
|
|
1583
1591
|
*/
|
|
1584
|
-
public pinColumn(columnName: string, index?:
|
|
1592
|
+
public pinColumn(columnName: string, index?: number): boolean;
|
|
1585
1593
|
|
|
1586
1594
|
|
|
1587
1595
|
|
|
@@ -1595,7 +1603,7 @@ public set selectedRows(value: any[]);
|
|
|
1595
1603
|
* @param columnName
|
|
1596
1604
|
* @param index
|
|
1597
1605
|
*/
|
|
1598
|
-
public unpinColumn(columnName: string, index?:
|
|
1606
|
+
public unpinColumn(columnName: string, index?: number): boolean;
|
|
1599
1607
|
|
|
1600
1608
|
|
|
1601
1609
|
|
|
@@ -1947,20 +1955,20 @@ public set selectedRows(value: any[]);
|
|
|
1947
1955
|
|
|
1948
1956
|
|
|
1949
1957
|
/**
|
|
1950
|
-
* Finishes the row transactions on the current row.
|
|
1958
|
+
* Finishes the row transactions on the current row and returns whether the grid editing was canceled.
|
|
1951
1959
|
*
|
|
1952
1960
|
* @remarks
|
|
1953
1961
|
* If `commit === true`, passes them from the pending state to the data (or transaction service)
|
|
1954
1962
|
* @example
|
|
1955
1963
|
* ```html
|
|
1956
|
-
* <button igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
1964
|
+
* <button type="button" igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
1957
1965
|
* ```
|
|
1958
1966
|
* @param commit
|
|
1959
1967
|
*/
|
|
1960
1968
|
// TODO: Facade for crud service refactoring. To be removed
|
|
1961
1969
|
// TODO: do not remove this, as it is used in rowEditTemplate, but mark is as internal and hidden
|
|
1962
1970
|
/* blazorCSSuppress */
|
|
1963
|
-
public endEdit(commit?: boolean, evt?: any):
|
|
1971
|
+
public endEdit(commit?: boolean, evt?: any): boolean;
|
|
1964
1972
|
|
|
1965
1973
|
|
|
1966
1974
|
|
|
@@ -3,23 +3,39 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* The event arguments when the selection state of a row is being changed
|
|
8
|
+
* The event is cancelable
|
|
9
|
+
*/
|
|
6
10
|
|
|
7
11
|
export declare class IgcRowSelectionEventArgs
|
|
8
12
|
{
|
|
9
13
|
|
|
10
14
|
|
|
15
|
+
/** Represents an array of rows, that have already been selected */
|
|
11
16
|
public oldSelection: any[];
|
|
12
17
|
|
|
13
18
|
|
|
19
|
+
/** Represents the newly selected rows */
|
|
14
20
|
public newSelection: any[];
|
|
15
21
|
|
|
16
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Represents an array of all added rows
|
|
25
|
+
* Whenever a row has been selected, the array is "refreshed" with the selected rows
|
|
26
|
+
*/
|
|
17
27
|
public added: any[];
|
|
18
28
|
|
|
19
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Represents an array of all rows, removed from the selection
|
|
32
|
+
* Whenever a row has been deselected, the array is "refreshed" with the rows,
|
|
33
|
+
* that have been previously selected, but are no longer
|
|
34
|
+
*/
|
|
20
35
|
public removed: any[];
|
|
21
36
|
|
|
22
37
|
|
|
38
|
+
/** Indicates whether or not all rows of the grid have been selected */
|
|
23
39
|
public allRowsSelected?: boolean;
|
|
24
40
|
|
|
25
41
|
|
|
@@ -4,17 +4,28 @@ import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/** Represents event arguments related to the row's expansion state being changed in a grid */
|
|
7
8
|
|
|
8
9
|
export declare class IgcRowToggleEventArgs extends IgcBaseEventArgs
|
|
9
10
|
{
|
|
10
11
|
|
|
11
12
|
|
|
13
|
+
/** Represents the ID of the row that emitted the event (which state is changed) */
|
|
12
14
|
public rowID: any;
|
|
13
15
|
|
|
14
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Returns the state of the row after the operation has ended
|
|
19
|
+
* Indicating whether the row is being expanded (true) or collapsed (false)
|
|
20
|
+
*/
|
|
15
21
|
public expanded: boolean;
|
|
16
22
|
|
|
17
23
|
|
|
24
|
+
/**
|
|
25
|
+
* The event is cancelable
|
|
26
|
+
* `cancel` returns whether the event has been intercepted and stopped
|
|
27
|
+
* If the value becomes "true", it returns/exits from the method, instantiating the interface
|
|
28
|
+
*/
|
|
18
29
|
public cancel: boolean;
|
|
19
30
|
|
|
20
31
|
}
|
|
@@ -10,11 +10,16 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
10
10
|
|
|
11
11
|
/* jsonAPIComplexObject */
|
|
12
12
|
/* marshalByValue */
|
|
13
|
+
/**
|
|
14
|
+
* Interface representing a row in the grid. It is essentially the blueprint to a row object.
|
|
15
|
+
* Contains definitions of properties and methods, relevant to a row
|
|
16
|
+
*/
|
|
13
17
|
|
|
14
18
|
export declare class IgcRowType
|
|
15
19
|
{
|
|
16
20
|
|
|
17
21
|
|
|
22
|
+
/** The index of the row within the grid */
|
|
18
23
|
public set index(value: number);
|
|
19
24
|
public get index(): number;
|
|
20
25
|
|
|
@@ -23,6 +28,7 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
23
28
|
public get viewIndex(): number;
|
|
24
29
|
|
|
25
30
|
|
|
31
|
+
/** Indicates whether the row is grouped. */
|
|
26
32
|
public isGroupByRow?: boolean;
|
|
27
33
|
|
|
28
34
|
|
|
@@ -41,59 +47,128 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
41
47
|
public data?: any;
|
|
42
48
|
|
|
43
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Optional
|
|
52
|
+
* A list or an array of cells, that belong to the row
|
|
53
|
+
*/
|
|
44
54
|
public cells?: IgcCellType[];
|
|
45
55
|
|
|
46
56
|
|
|
57
|
+
/**
|
|
58
|
+
* Optional
|
|
59
|
+
* Indicates whether the current row is disabled
|
|
60
|
+
*/
|
|
47
61
|
public disabled?: boolean;
|
|
48
62
|
|
|
49
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Optional
|
|
66
|
+
* Indicates whether the current row is pinned.
|
|
67
|
+
*/
|
|
50
68
|
public pinned?: boolean;
|
|
51
69
|
|
|
52
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Optional
|
|
73
|
+
* Indicates whether the current row is selected
|
|
74
|
+
*/
|
|
53
75
|
public selected?: boolean;
|
|
54
76
|
|
|
55
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Optional
|
|
80
|
+
* Indicates whether the current row is expanded.
|
|
81
|
+
* The value is true, if the row is expanded and false, if it is collapsed
|
|
82
|
+
*/
|
|
56
83
|
public expanded?: boolean;
|
|
57
84
|
|
|
58
85
|
|
|
86
|
+
/**
|
|
87
|
+
* Optional
|
|
88
|
+
* Indicates whether the row is marked for deletion.
|
|
89
|
+
*/
|
|
59
90
|
public deleted?: boolean;
|
|
60
91
|
|
|
61
92
|
|
|
93
|
+
/**
|
|
94
|
+
* Optional
|
|
95
|
+
* Indicates whether the row is currently being edited.
|
|
96
|
+
*/
|
|
62
97
|
public inEditMode?: boolean;
|
|
63
98
|
|
|
64
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Optional
|
|
102
|
+
* Contains the child rows of the current row, if there are any.
|
|
103
|
+
*/
|
|
65
104
|
public children?: IgcRowType[];
|
|
66
105
|
|
|
67
106
|
|
|
68
107
|
/* blazorAlternateName: RowParent */
|
|
108
|
+
/**
|
|
109
|
+
* Optional
|
|
110
|
+
* Contains the parent row of the current row, if it has one.
|
|
111
|
+
* If the parent row exist, it means that the current row is a child row
|
|
112
|
+
*/
|
|
69
113
|
public parent?: IgcRowType;
|
|
70
114
|
|
|
71
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Optional
|
|
118
|
+
* Indicates whether the current row has any child rows
|
|
119
|
+
*/
|
|
72
120
|
public hasChildren?: boolean;
|
|
73
121
|
|
|
74
122
|
|
|
123
|
+
/**
|
|
124
|
+
* Optional
|
|
125
|
+
* Represents the hierarchical record associated with the row (for tree grids).
|
|
126
|
+
* It is of type ITreeGridRecord, which contains the data, children, the hierarchical level, etc.
|
|
127
|
+
*/
|
|
75
128
|
public treeRow?: IgcTreeGridRecord;
|
|
76
129
|
|
|
77
130
|
|
|
78
131
|
public addRowUI?: boolean;
|
|
79
132
|
|
|
80
133
|
|
|
134
|
+
/**
|
|
135
|
+
* Optional
|
|
136
|
+
* Indicates whether the row is currently focused.
|
|
137
|
+
*/
|
|
81
138
|
public focused?: boolean;
|
|
82
139
|
|
|
83
140
|
|
|
141
|
+
/** Represent the grid instance, the row belongs to */
|
|
84
142
|
public set grid(value: IgcGridBaseDirective);
|
|
85
143
|
public get grid(): IgcGridBaseDirective;
|
|
86
144
|
|
|
87
145
|
|
|
146
|
+
/**
|
|
147
|
+
* Optional
|
|
148
|
+
* A method to handle changing the value of elements of the row
|
|
149
|
+
* It takes the new value as an argument
|
|
150
|
+
*/
|
|
88
151
|
public update?(value: any): void;
|
|
89
152
|
|
|
90
153
|
|
|
154
|
+
/**
|
|
155
|
+
* Optional
|
|
156
|
+
* A method to handle deleting rows
|
|
157
|
+
*/
|
|
91
158
|
public delete?(): any;
|
|
92
159
|
|
|
93
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Optional
|
|
163
|
+
* A method to handle pinning a row
|
|
164
|
+
*/
|
|
94
165
|
public pin?(): void;
|
|
95
166
|
|
|
96
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Optional
|
|
170
|
+
* A method to handle unpinning a row, that has been pinned
|
|
171
|
+
*/
|
|
97
172
|
public unpin?(): void;
|
|
98
173
|
|
|
99
174
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcBaseSearchInfo } from './igc-base-search-info';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* jsonAPIPlainObject */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export declare class IgcSearchInfo extends IgcBaseSearchInfo
|
|
10
|
+
{
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
public set matchInfoCache(value: any[]);
|
|
14
|
+
public get matchInfoCache(): any[];
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
public set activeMatchIndex(value: number);
|
|
18
|
+
public get activeMatchIndex(): number;
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
@@ -5,14 +5,30 @@ import { IgcGroupingExpression } from './igc-grouping-expression';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Represents event arguments related to sorting and grouping operations
|
|
10
|
+
* The event is cancelable
|
|
11
|
+
*/
|
|
8
12
|
|
|
9
13
|
export declare class IgcSortingEventArgs
|
|
10
14
|
{
|
|
11
15
|
|
|
12
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Optional
|
|
19
|
+
* Represents the sorting expressions applied to the grid.
|
|
20
|
+
* It can be a single sorting expression or an array of them
|
|
21
|
+
* The expression contains information like file name, whether the letter case should be taken into account, etc.
|
|
22
|
+
*/
|
|
13
23
|
public sortingExpressions?: IgcSortingExpression[];
|
|
14
24
|
|
|
15
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Optional
|
|
28
|
+
* Represents the grouping expressions applied to the grid.
|
|
29
|
+
* It can be a single grouping expression or an array of them
|
|
30
|
+
* The expression contains information like the sorting expression and criteria by which the elements will be grouped
|
|
31
|
+
*/
|
|
16
32
|
public groupingExpressions?: IgcGroupingExpression[];
|
|
17
33
|
|
|
18
34
|
|
|
@@ -89,7 +89,7 @@ export declare interface IgcToggleDirectiveEventMap {
|
|
|
89
89
|
* ```html
|
|
90
90
|
* <div
|
|
91
91
|
* igxToggle
|
|
92
|
-
* (
|
|
92
|
+
* (opened)='onToggleOpened($event)'>
|
|
93
93
|
* </div>
|
|
94
94
|
* ```
|
|
95
95
|
*/
|
|
@@ -107,7 +107,7 @@ opened: CustomEvent<IgcToggleViewEventArgs>;
|
|
|
107
107
|
* ```html
|
|
108
108
|
* <div
|
|
109
109
|
* igxToggle
|
|
110
|
-
* (
|
|
110
|
+
* (opening)='onToggleOpening($event)'>
|
|
111
111
|
* </div>
|
|
112
112
|
* ```
|
|
113
113
|
*/
|
|
@@ -125,7 +125,7 @@ opening: CustomEvent<IgcToggleViewCancelableEventArgs>;
|
|
|
125
125
|
* ```html
|
|
126
126
|
* <div
|
|
127
127
|
* igxToggle
|
|
128
|
-
* (
|
|
128
|
+
* (closed)='onToggleClosed($event)'>
|
|
129
129
|
* </div>
|
|
130
130
|
* ```
|
|
131
131
|
*/
|
|
@@ -161,7 +161,7 @@ closing: CustomEvent<IgcToggleViewCancelableEventArgs>;
|
|
|
161
161
|
* ```html
|
|
162
162
|
* <div
|
|
163
163
|
* igxToggle
|
|
164
|
-
* (
|
|
164
|
+
* (appended)='onToggleAppended()'>
|
|
165
165
|
* </div>
|
|
166
166
|
* ```
|
|
167
167
|
*/
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/* mustCoerceToInt */
|
|
7
|
+
/**
|
|
8
|
+
* Enumeration representing the possible positions for pinning rows.
|
|
9
|
+
* - Top: Rows are pinned to the top of the grid.
|
|
10
|
+
* - Bottom: Rows are pinned to the bottom of the grid.
|
|
11
|
+
*/
|
|
7
12
|
|
|
8
13
|
export declare enum RowPinningPosition
|
|
9
14
|
{
|