igniteui-webcomponents-grids 4.8.1 → 5.0.0-beta.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 +1078 -600
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CheckboxListBridge.js +171 -0
- package/esm2015/lib/CheckboxListExternal.js +11 -0
- package/esm2015/lib/CheckboxListViewExternal.js +11 -0
- package/esm2015/lib/CheckboxListView_combined.js +554 -441
- package/esm2015/lib/CheckedChangedEventArgs.js +3 -2
- package/esm2015/lib/ColumnChooserView_combined.js +15 -15
- package/esm2015/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +12 -12
- package/esm2015/lib/DateEditorView.js +12 -12
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/ISummaryChooserView_combined.js +17 -17
- package/esm2015/lib/NativeUIGridFactory.js +66 -0
- package/esm2015/lib/PagerVisualModelExport.js +4 -4
- package/esm2015/lib/igc-checkbox-list-component.js +159 -93
- package/esm2015/lib/igc-checkbox-list-module.js +3 -0
- package/esm2015/lib/igc-checked-changed-event-args.js +14 -4
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/CheckboxListBridge.js +173 -0
- package/esm5/lib/CheckboxListExternal.js +11 -0
- package/esm5/lib/CheckboxListViewExternal.js +11 -0
- package/esm5/lib/CheckboxListView_combined.js +541 -422
- package/esm5/lib/CheckedChangedEventArgs.js +3 -2
- package/esm5/lib/ColumnChooserView_combined.js +15 -15
- package/esm5/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +12 -12
- package/esm5/lib/DateEditorView.js +12 -12
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/ISummaryChooserView_combined.js +17 -17
- package/esm5/lib/NativeUIGridFactory.js +76 -0
- package/esm5/lib/PagerVisualModelExport.js +4 -4
- package/esm5/lib/igc-checkbox-list-component.js +173 -93
- package/esm5/lib/igc-checkbox-list-module.js +3 -0
- package/esm5/lib/igc-checked-changed-event-args.js +17 -3
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-webcomponents-grids.js +1065 -623
- package/fesm5/igniteui-webcomponents-grids.js +1077 -603
- package/grids/combined.js +37327 -39208
- package/grids/index.d.ts +8 -8
- package/grids/lib/igc-action-strip-component.d.ts +4 -4
- package/grids/lib/igc-action-strip-token.d.ts +16 -0
- package/grids/lib/igc-base-exporter.d.ts +0 -4
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +1 -1
- package/grids/lib/igc-base-toolbar-directive.d.ts +0 -8
- package/grids/lib/igc-column-component.d.ts +15 -101
- package/grids/lib/igc-column-group-component.d.ts +94 -1
- package/grids/lib/igc-column-layout-component.d.ts +11 -0
- package/grids/lib/igc-column-pipe-args.d.ts +1 -0
- package/grids/lib/igc-column-resize-event-args.d.ts +1 -0
- package/grids/lib/igc-column-state.d.ts +0 -4
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +2 -0
- package/grids/lib/igc-for-of-data-changing-event-args.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +34 -21
- package/grids/lib/igc-grid-component.d.ts +1 -1
- package/grids/lib/igc-grid-context-menu-event-args.d.ts +32 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +11 -3
- package/grids/lib/igc-grid-edit-event-args.d.ts +12 -3
- package/grids/lib/igc-grid-paginator-template-context.d.ts +19 -0
- package/grids/lib/igc-grid-resource-strings.d.ts +0 -3
- package/grids/lib/igc-grid-row-event-args.d.ts +27 -0
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -8
- package/grids/lib/igc-grid-toolbar-component.d.ts +3 -2
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +5 -10
- package/grids/lib/igc-header-type.d.ts +0 -5
- package/grids/lib/igc-hierarchical-grid-component.d.ts +2 -2
- package/grids/lib/igc-paginator-component.d.ts +6 -22
- package/grids/lib/igc-pin-row-event-args.d.ts +5 -1
- package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
- package/grids/lib/igc-pivot-configuration.d.ts +0 -1
- package/grids/lib/igc-pivot-data-selector-component.d.ts +2 -1
- package/grids/lib/igc-pivot-date-dimension.d.ts +3 -0
- package/grids/lib/igc-pivot-dimension.d.ts +12 -1
- package/grids/lib/igc-pivot-grid-component.d.ts +29 -19
- package/grids/lib/igc-pivot-grid-record.d.ts +8 -0
- package/grids/lib/igc-pivot-ui-settings.d.ts +28 -0
- package/grids/lib/igc-pivot-value.d.ts +0 -2
- package/grids/lib/igc-position-settings.d.ts +1 -10
- package/grids/lib/igc-row-data-cancelable-event-args.d.ts +61 -0
- package/grids/lib/igc-row-data-event-args.d.ts +10 -0
- package/grids/lib/igc-row-directive.d.ts +0 -5
- package/grids/lib/igc-row-island-component.d.ts +50 -146
- package/grids/lib/igc-row-toggle-event-args.d.ts +7 -1
- package/grids/lib/igc-sorting-options.d.ts +0 -1
- package/grids/lib/igc-tree-grid-component.d.ts +15 -18
- package/grids/lib/pivot-row-layout-type.d.ts +3 -0
- package/grids/lib/pivot-summary-position.d.ts +3 -0
- package/grids/styles.css +1 -1
- 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/CheckboxListBridge.d.ts +29 -0
- package/lib/CheckboxListExternal.d.ts +29 -0
- package/lib/CheckboxListViewExternal.d.ts +16 -0
- package/lib/CheckboxListView_combined.d.ts +130 -121
- package/lib/CheckedChangedEventArgs.d.ts +3 -2
- package/lib/ColumnFilterCondition_combined.d.ts +1 -1
- package/lib/DateEditorView.d.ts +2 -2
- package/lib/NativeUIGridFactory.d.ts +19 -0
- package/lib/igc-checkbox-list-component.d.ts +19 -0
- package/lib/igc-checked-changed-event-args.d.ts +2 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
- package/grids/3rdpartylicenses.txt +0 -705
- package/grids/lib/display-density.d.ts +0 -3
- package/grids/lib/igc-child-grid-row-component.d.ts +0 -59
- package/grids/lib/igc-density-changed-event-args.d.ts +0 -21
- package/grids/lib/igc-display-density-base.d.ts +0 -45
- package/grids/lib/igc-grid-filtering-cell-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-group-component.d.ts +0 -16
- package/grids/lib/igc-toggle-directive.d.ts +0 -171
|
@@ -21,7 +21,9 @@ import { IgcSortingExpression } from './igc-sorting-expression';
|
|
|
21
21
|
import { IgcValuesChange } from './igc-values-change';
|
|
22
22
|
import { IgcPivotGridValueTemplateContext } from './igc-pivot-grid-value-template-context';
|
|
23
23
|
import { IgcRenderFunction } from './common';
|
|
24
|
+
import { IgcColumnTemplateContext } from './igc-column-template-context';
|
|
24
25
|
import { IgcPivotConfiguration } from './igc-pivot-configuration';
|
|
26
|
+
import { IgcPivotUISettings } from './igc-pivot-ui-settings';
|
|
25
27
|
import { PivotDimensionType } from './pivot-dimension-type';
|
|
26
28
|
import { SortingDirection } from './sorting-direction';
|
|
27
29
|
import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
@@ -91,12 +93,17 @@ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
|
91
93
|
* <igx-pivot-grid [valueChipTemplate]="myTemplate"><igx-pivot-grid>
|
|
92
94
|
* ```
|
|
93
95
|
*/
|
|
94
|
-
|
|
96
|
+
public set valueChipTemplate(value: IgcRenderFunction<IgcPivotGridValueTemplateContext>);
|
|
95
97
|
public get valueChipTemplate(): IgcRenderFunction<IgcPivotGridValueTemplateContext>;
|
|
96
98
|
|
|
97
99
|
|
|
98
100
|
|
|
99
|
-
|
|
101
|
+
public set rowDimensionHeaderTemplate(value: IgcRenderFunction<IgcColumnTemplateContext>);
|
|
102
|
+
public get rowDimensionHeaderTemplate(): IgcRenderFunction<IgcColumnTemplateContext>;
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
/* mustSetInCodePlatforms: WebComponents;Blazor;React */
|
|
100
107
|
/* @tsTwoWayProperty (true, "PivotConfigurationChange", "Detail.PivotConfiguration", false) */
|
|
101
108
|
/**
|
|
102
109
|
* Gets/Sets the pivot configuration with all related dimensions and values.
|
|
@@ -113,15 +120,31 @@ public set pivotConfiguration(value: IgcPivotConfiguration);
|
|
|
113
120
|
|
|
114
121
|
|
|
115
122
|
|
|
116
|
-
|
|
117
|
-
|
|
123
|
+
/**
|
|
124
|
+
* Gets/Sets whether to auto-generate the pivot configuration based on the provided data.
|
|
125
|
+
*
|
|
126
|
+
* @remarks
|
|
127
|
+
* The default value is false. When set to true, it will override all dimensions and values in the pivotConfiguration.
|
|
128
|
+
* @example
|
|
129
|
+
* ```html
|
|
130
|
+
* <igx-pivot-grid [data]="Data" [autoGenerateConfig]="true"></igx-pivot-grid>
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
public set autoGenerateConfig(value: boolean);
|
|
134
|
+
public get autoGenerateConfig(): boolean;
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
public set pivotUI(value: IgcPivotUISettings);
|
|
139
|
+
public get pivotUI(): IgcPivotUISettings;
|
|
118
140
|
|
|
119
141
|
|
|
120
142
|
|
|
143
|
+
|
|
121
144
|
/**
|
|
122
145
|
* Enables a super compact theme for the component.
|
|
123
146
|
* @remarks
|
|
124
|
-
* Overrides the
|
|
147
|
+
* Overrides the grid size option if one is set.
|
|
125
148
|
* @example
|
|
126
149
|
* ```html
|
|
127
150
|
* <igx-pivot-grid [superCompactMode]="true"></igx-pivot-grid>
|
|
@@ -145,19 +168,6 @@ public set pivotConfiguration(value: IgcPivotConfiguration);
|
|
|
145
168
|
|
|
146
169
|
|
|
147
170
|
|
|
148
|
-
/* csSuppress */
|
|
149
|
-
/**
|
|
150
|
-
* Gets the default row height.
|
|
151
|
-
*
|
|
152
|
-
* @example
|
|
153
|
-
* ```typescript
|
|
154
|
-
* const rowHeigh = this.grid.defaultRowHeight;
|
|
155
|
-
* ```
|
|
156
|
-
*/
|
|
157
|
-
public get defaultRowHeight(): number;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
171
|
/**
|
|
162
172
|
* Gets the full list of dimensions.
|
|
163
173
|
*
|
|
@@ -173,7 +183,7 @@ public set pivotConfiguration(value: IgcPivotConfiguration);
|
|
|
173
183
|
/* treatAsRef */
|
|
174
184
|
/* blazorAlternateType: object */
|
|
175
185
|
/**
|
|
176
|
-
*
|
|
186
|
+
* Gets/Sets the array of data that populates the component.
|
|
177
187
|
* ```html
|
|
178
188
|
* <igx-pivot-grid [data]="Data"></igx-pivot-grid>
|
|
179
189
|
* ```
|
|
@@ -22,6 +22,14 @@ import { IgcPivotDimension } from './igc-pivot-dimension';
|
|
|
22
22
|
public set dimensions(value: IgcPivotDimension[]);
|
|
23
23
|
public get dimensions(): IgcPivotDimension[];
|
|
24
24
|
|
|
25
|
+
|
|
26
|
+
/** If set, it specifies the name of the dimension, that has total record enabled. */
|
|
27
|
+
public totalRecordDimensionName?: string;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
/** The index of the record in the total view */
|
|
31
|
+
public dataIndex?: number;
|
|
32
|
+
|
|
25
33
|
}
|
|
26
34
|
|
|
27
35
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
import { PivotRowLayoutType } from './pivot-row-layout-type';
|
|
3
|
+
import { PivotSummaryPosition } from './pivot-summary-position';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/* jsonAPIPlainObject */
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export declare class IgcPivotUISettings
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
public showConfiguration?: boolean;
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
public showRowHeaders?: boolean;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
public rowLayout?: PivotRowLayoutType;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
public horizontalSummariesPosition?: PivotSummaryPosition;
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
@@ -31,8 +31,6 @@ import { GridColumnDataType } from './grid-column-data-type';
|
|
|
31
31
|
public get aggregate(): IgcPivotAggregator;
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
/* blazorTreatAsCollection */
|
|
35
|
-
/* blazorCollectionName: PivotAggregatorCollection */
|
|
36
34
|
/**
|
|
37
35
|
* List of aggregates to show in aggregate drop-down.
|
|
38
36
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
import { HorizontalAlignment } from './horizontal-alignment';
|
|
2
|
+
import { HorizontalAlignment } from './horizontal-alignment';
|
|
4
3
|
import { VerticalAlignment } from './vertical-alignment';
|
|
5
4
|
import { IgcSize } from './igc-size';
|
|
6
5
|
|
|
@@ -13,14 +12,6 @@ import { IgcSize } from './igc-size';
|
|
|
13
12
|
{
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
/**
|
|
17
|
-
* Attaching target for the component to show
|
|
18
|
-
*
|
|
19
|
-
* @deprecated Set the target point/element in the overlay settings instead
|
|
20
|
-
*/
|
|
21
|
-
public target?: HTMLElement | Point;
|
|
22
|
-
|
|
23
|
-
|
|
24
15
|
/** Direction in which the component should show */
|
|
25
16
|
public horizontalDirection?: HorizontalAlignment;
|
|
26
17
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare class IgcRowDataCancelableEventArgs
|
|
9
|
+
{
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
15
|
+
public cellID?: { rowID: any; columnID: any; rowIndex: number; };
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
*/
|
|
21
|
+
public oldValue: any;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated
|
|
26
|
+
*/
|
|
27
|
+
public newValue?: any;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated
|
|
32
|
+
*/
|
|
33
|
+
public isAddRow?: boolean;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
public owner: IgcGridBaseDirective;
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use the `rowData` property instead.
|
|
41
|
+
*/
|
|
42
|
+
public data: any;
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
public rowData: any;
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Represents the unique key, the row can be associated with.
|
|
50
|
+
* Available if `primaryKey` exists
|
|
51
|
+
* @deprecated Use the `rowKey` property instead.
|
|
52
|
+
*/
|
|
53
|
+
public primaryKey: any;
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
public rowKey: any;
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
@@ -13,15 +13,25 @@ import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
|
13
13
|
{
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use the `rowData` property instead.
|
|
18
|
+
*/
|
|
16
19
|
public data: any;
|
|
17
20
|
|
|
18
21
|
|
|
22
|
+
public rowData: any;
|
|
23
|
+
|
|
24
|
+
|
|
19
25
|
/**
|
|
20
26
|
* Represents the unique key, the row can be associated with.
|
|
21
27
|
* Available if `primaryKey` exists
|
|
28
|
+
* @deprecated Use the `rowKey` property instead.
|
|
22
29
|
*/
|
|
23
30
|
public primaryKey: any;
|
|
24
31
|
|
|
32
|
+
|
|
33
|
+
public rowKey: any;
|
|
34
|
+
|
|
25
35
|
}
|
|
26
36
|
|
|
27
37
|
|
|
@@ -5,7 +5,6 @@ import { IgcCellType } from './igc-cell-type';
|
|
|
5
5
|
/* jsonAPIManageCollectionInMarkup */
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
/* omitModule */
|
|
9
8
|
|
|
10
9
|
export declare class IgcRowDirective
|
|
11
10
|
{
|
|
@@ -80,10 +79,6 @@ import { IgcCellType } from './igc-cell-type';
|
|
|
80
79
|
|
|
81
80
|
|
|
82
81
|
|
|
83
|
-
public get cellHeight(): number;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
82
|
/**
|
|
88
83
|
* Gets the rendered cells in the row component.
|
|
89
84
|
*
|
|
@@ -4,6 +4,7 @@ import { IgcForOfState } from './igc-for-of-state';
|
|
|
4
4
|
import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
5
5
|
import { IgcGridScrollEventArgs } from './igc-grid-scroll-event-args';
|
|
6
6
|
import { IgcGridCellEventArgs } from './igc-grid-cell-event-args';
|
|
7
|
+
import { IgcGridRowEventArgs } from './igc-grid-row-event-args';
|
|
7
8
|
import { IgcGridFormGroupCreatedEventArgs } from './igc-grid-form-group-created-event-args';
|
|
8
9
|
import { IgcGridValidationStatusEventArgs } from './igc-grid-validation-status-event-args';
|
|
9
10
|
import { IgcRowSelectionEventArgs } from './igc-row-selection-event-args';
|
|
@@ -18,7 +19,9 @@ import { IgcSortingEventArgs } from './igc-sorting-event-args';
|
|
|
18
19
|
import { IgcSortingExpression } from './igc-sorting-expression';
|
|
19
20
|
import { IgcFilteringEventArgs } from './igc-filtering-event-args';
|
|
20
21
|
import { IgcRowDataEventArgs } from './igc-row-data-event-args';
|
|
22
|
+
import { IgcRowDataCancelableEventArgs } from './igc-row-data-cancelable-event-args';
|
|
21
23
|
import { IgcColumnResizeEventArgs } from './igc-column-resize-event-args';
|
|
24
|
+
import { IgcGridContextMenuEventArgs } from './igc-grid-context-menu-event-args';
|
|
22
25
|
import { IgcColumnVisibilityChangingEventArgs } from './igc-column-visibility-changing-event-args';
|
|
23
26
|
import { IgcColumnVisibilityChangedEventArgs } from './igc-column-visibility-changed-event-args';
|
|
24
27
|
import { IgcColumnMovingStartEventArgs } from './igc-column-moving-start-event-args';
|
|
@@ -36,9 +39,10 @@ import { IgcGridSelectionRange } from './igc-grid-selection-range';
|
|
|
36
39
|
import { IgcForOfDataChangingEventArgs } from './igc-for-of-data-changing-event-args';
|
|
37
40
|
import { IgcGridToolbarTemplateContext } from './igc-grid-toolbar-template-context';
|
|
38
41
|
import { IgcRenderFunction } from './common';
|
|
42
|
+
import { IgcGridPaginatorTemplateContext } from './igc-grid-paginator-template-context';
|
|
43
|
+
import { IgcActionStripToken } from './igc-action-strip-token';
|
|
39
44
|
import { IgcDataCloneStrategy } from './igc-data-clone-strategy';
|
|
40
45
|
import { IgcClipboardOptions } from './igc-clipboard-options';
|
|
41
|
-
import { IgcActionStripComponent } from './igc-action-strip-component';
|
|
42
46
|
import { IgcGridRowDragGhostContext } from './igc-grid-row-drag-ghost-context';
|
|
43
47
|
import { IgcGridRowEditTextTemplateContext } from './igc-grid-row-edit-text-template-context';
|
|
44
48
|
import { IgcGridEmptyTemplateContext } from './igc-grid-empty-template-context';
|
|
@@ -63,7 +67,6 @@ import { IgcRowDirective } from './igc-row-directive';
|
|
|
63
67
|
import { IgcHeadSelectorTemplateContext } from './igc-head-selector-template-context';
|
|
64
68
|
import { IgcRowSelectorTemplateContext } from './igc-row-selector-template-context';
|
|
65
69
|
import { GridSelectionMode } from './grid-selection-mode';
|
|
66
|
-
import { IgcSearchInfo } from './igc-search-info';
|
|
67
70
|
import { IgcGridRowComponent } from './igc-grid-row-component';
|
|
68
71
|
import { DropPosition } from './drop-position';
|
|
69
72
|
import { IgcFilteringOperation } from './igc-filtering-operation';
|
|
@@ -98,6 +101,11 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
98
101
|
{
|
|
99
102
|
|
|
100
103
|
|
|
104
|
+
|
|
105
|
+
/* blazorInclude,wcInclude TODO: Move to Elements-only component */
|
|
106
|
+
/**
|
|
107
|
+
* Sets the key of the row island by which child data would be taken from the row data if such is provided.
|
|
108
|
+
*/
|
|
101
109
|
public set childDataKey(value: string);
|
|
102
110
|
public get childDataKey(): string;
|
|
103
111
|
|
|
@@ -108,7 +116,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
108
116
|
/* blazorTreatAsCollection */
|
|
109
117
|
/* blazorCollectionName: RowIslandCollection */
|
|
110
118
|
/**
|
|
111
|
-
* @hidden
|
|
119
|
+
* @hidden @internal
|
|
112
120
|
*/
|
|
113
121
|
public set childLayoutList(value: IgcRowIslandComponent[]);
|
|
114
122
|
public get childLayoutList(): IgcRowIslandComponent[];
|
|
@@ -129,12 +137,21 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
129
137
|
/**
|
|
130
138
|
* Sets/Gets the paginator template for each child grid created from this row island.
|
|
131
139
|
*/
|
|
132
|
-
public set paginatorTemplate(value: IgcRenderFunction<
|
|
133
|
-
public get paginatorTemplate(): IgcRenderFunction<
|
|
140
|
+
public set paginatorTemplate(value: IgcRenderFunction<IgcGridPaginatorTemplateContext>);
|
|
141
|
+
public get paginatorTemplate(): IgcRenderFunction<IgcGridPaginatorTemplateContext>;
|
|
134
142
|
|
|
135
143
|
|
|
136
|
-
|
|
137
|
-
|
|
144
|
+
|
|
145
|
+
// TODO(api-analyzer): Shouldn't need all tags to copy from base or hidden/internal due to include tag
|
|
146
|
+
/* contentChildren */
|
|
147
|
+
/* blazorInclude */
|
|
148
|
+
/* blazorTreatAsCollection */
|
|
149
|
+
/* blazorCollectionName: ActionStripCollection */
|
|
150
|
+
/* blazorCollectionItemName: ActionStrip */
|
|
151
|
+
/* ngQueryListName: actionStripComponents */
|
|
152
|
+
/** @hidden @internal */
|
|
153
|
+
public set actionStripComponents(value: IgcActionStripToken[]);
|
|
154
|
+
public get actionStripComponents(): IgcActionStripToken[];
|
|
138
155
|
|
|
139
156
|
|
|
140
157
|
|
|
@@ -354,7 +371,6 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
354
371
|
|
|
355
372
|
|
|
356
373
|
|
|
357
|
-
/* alternateType: string */
|
|
358
374
|
/**
|
|
359
375
|
* Gets/Sets the primary key.
|
|
360
376
|
*
|
|
@@ -368,7 +384,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
368
384
|
|
|
369
385
|
|
|
370
386
|
|
|
371
|
-
/*
|
|
387
|
+
/* reactContentChildren */
|
|
372
388
|
/* blazorInclude */
|
|
373
389
|
/* blazorTreatAsCollection */
|
|
374
390
|
/* blazorCollectionName: ColumnCollection */
|
|
@@ -381,17 +397,6 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
381
397
|
|
|
382
398
|
|
|
383
399
|
|
|
384
|
-
/* contentChildren */
|
|
385
|
-
/* blazorInclude */
|
|
386
|
-
/* blazorTreatAsCollection */
|
|
387
|
-
/* blazorCollectionName: ActionStripCollection */
|
|
388
|
-
/* ngQueryListName: actionStripComponents */
|
|
389
|
-
/** @hidden @internal */
|
|
390
|
-
public set actionStripComponents(value: IgcActionStripComponent[]);
|
|
391
|
-
public get actionStripComponents(): IgcActionStripComponent[];
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
400
|
|
|
396
401
|
/**
|
|
397
402
|
* Gets the custom template, if any, used for row drag ghost.
|
|
@@ -511,6 +516,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
511
516
|
|
|
512
517
|
|
|
513
518
|
|
|
519
|
+
|
|
514
520
|
/**
|
|
515
521
|
* Gets/Sets the resource strings.
|
|
516
522
|
*
|
|
@@ -975,25 +981,6 @@ public set selectedRows(value: any[]);
|
|
|
975
981
|
public set sortingExpressions(value: IgcSortingExpression[]);
|
|
976
982
|
public get sortingExpressions(): IgcSortingExpression[];
|
|
977
983
|
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
/**
|
|
981
|
-
* Gets the number of hidden columns.
|
|
982
|
-
*
|
|
983
|
-
* @example
|
|
984
|
-
* ```typescript
|
|
985
|
-
* const hiddenCol = this.grid.hiddenColumnsCount;
|
|
986
|
-
* ``
|
|
987
|
-
*/
|
|
988
|
-
public get hiddenColumnsCount(): number;
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* Gets the number of pinned columns.
|
|
994
|
-
*/
|
|
995
|
-
public get pinnedColumnsCount(): number;
|
|
996
|
-
|
|
997
984
|
|
|
998
985
|
|
|
999
986
|
/**
|
|
@@ -1032,51 +1019,6 @@ public set selectedRows(value: any[]);
|
|
|
1032
1019
|
|
|
1033
1020
|
|
|
1034
1021
|
|
|
1035
|
-
/**
|
|
1036
|
-
* Represents the last search information.
|
|
1037
|
-
*/
|
|
1038
|
-
public get lastSearchInfo(): IgcSearchInfo;
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* Returns an array of objects containing the filtered data.
|
|
1044
|
-
*
|
|
1045
|
-
* @example
|
|
1046
|
-
* ```typescript
|
|
1047
|
-
* let filteredData = this.grid.filteredData;
|
|
1048
|
-
* ```
|
|
1049
|
-
*/
|
|
1050
|
-
public get filteredData(): any;
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* Returns an array containing the filtered sorted data.
|
|
1056
|
-
*
|
|
1057
|
-
* @example
|
|
1058
|
-
* ```typescript
|
|
1059
|
-
* const filteredSortedData = this.grid1.filteredSortedData;
|
|
1060
|
-
* ```
|
|
1061
|
-
*/
|
|
1062
|
-
public get filteredSortedData(): any[];
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* Returns the state of the grid virtualization.
|
|
1068
|
-
*
|
|
1069
|
-
* @remarks
|
|
1070
|
-
* Includes the start index and how many records are rendered.
|
|
1071
|
-
* @example
|
|
1072
|
-
* ```typescript
|
|
1073
|
-
* const gridVirtState = this.grid1.virtualizationState;
|
|
1074
|
-
* ```
|
|
1075
|
-
*/
|
|
1076
|
-
public get virtualizationState(): IgcForOfState;
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
1022
|
|
|
1081
1023
|
/**
|
|
1082
1024
|
* Gets the default row height.
|
|
@@ -1099,30 +1041,17 @@ public set selectedRows(value: any[]);
|
|
|
1099
1041
|
*/
|
|
1100
1042
|
public get defaultHeaderGroupMinWidth(): number;
|
|
1101
1043
|
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* Gets an array of `IgxColumnComponent`s.
|
|
1106
|
-
*
|
|
1107
|
-
* @example
|
|
1108
|
-
* ```typescript
|
|
1109
|
-
* const columns = this.grid.columns.
|
|
1110
|
-
* ```
|
|
1111
|
-
*/
|
|
1112
|
-
public set columns(value: IgcColumnComponent[]);
|
|
1113
|
-
public get columns(): IgcColumnComponent[];
|
|
1114
|
-
|
|
1115
1044
|
|
|
1116
1045
|
|
|
1117
1046
|
/**
|
|
1118
|
-
* Gets an array of
|
|
1047
|
+
* Gets an array of `IgxColumnComponent`s.
|
|
1119
1048
|
*
|
|
1120
1049
|
* @example
|
|
1121
1050
|
* ```typescript
|
|
1122
|
-
* const
|
|
1051
|
+
* const colums = this.grid.columns.
|
|
1123
1052
|
* ```
|
|
1124
1053
|
*/
|
|
1125
|
-
public get
|
|
1054
|
+
public get columns(): IgcColumnComponent[];
|
|
1126
1055
|
|
|
1127
1056
|
|
|
1128
1057
|
|
|
@@ -1137,30 +1066,6 @@ public set selectedRows(value: any[]);
|
|
|
1137
1066
|
*/
|
|
1138
1067
|
public get pinnedRows(): IgcGridRowComponent[];
|
|
1139
1068
|
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
/**
|
|
1143
|
-
* Gets an array of unpinned `IgxColumnComponent`s.
|
|
1144
|
-
*
|
|
1145
|
-
* @example
|
|
1146
|
-
* ```typescript
|
|
1147
|
-
* const unpinnedColumns = this.grid.unpinnedColumns.
|
|
1148
|
-
* ```
|
|
1149
|
-
*/
|
|
1150
|
-
public get unpinnedColumns(): IgcColumnComponent[];
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
/**
|
|
1155
|
-
* Returns an array of visible `IgxColumnComponent`s.
|
|
1156
|
-
*
|
|
1157
|
-
* @example
|
|
1158
|
-
* ```typescript
|
|
1159
|
-
* const visibleColumns = this.grid.visibleColumns.
|
|
1160
|
-
* ```
|
|
1161
|
-
*/
|
|
1162
|
-
public get visibleColumns(): IgcColumnComponent[];
|
|
1163
|
-
|
|
1164
1069
|
|
|
1165
1070
|
|
|
1166
1071
|
/**
|
|
@@ -1176,18 +1081,6 @@ public set selectedRows(value: any[]);
|
|
|
1176
1081
|
public set totalRecords(value: number);
|
|
1177
1082
|
public get totalRecords(): number;
|
|
1178
1083
|
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
/**
|
|
1182
|
-
* Returns the currently transformed paged/filtered/sorted/grouped/pinned/unpinned row data, displayed in the grid.
|
|
1183
|
-
*
|
|
1184
|
-
* @example
|
|
1185
|
-
* ```typescript
|
|
1186
|
-
* const dataView = this.grid.dataView;
|
|
1187
|
-
* ```
|
|
1188
|
-
*/
|
|
1189
|
-
public get dataView(): any[];
|
|
1190
|
-
|
|
1191
1084
|
|
|
1192
1085
|
|
|
1193
1086
|
/**
|
|
@@ -1824,7 +1717,6 @@ public set selectedRows(value: any[]);
|
|
|
1824
1717
|
|
|
1825
1718
|
|
|
1826
1719
|
|
|
1827
|
-
|
|
1828
1720
|
/**
|
|
1829
1721
|
* Select specified columns.
|
|
1830
1722
|
*
|
|
@@ -2011,7 +1903,7 @@ public set selectedRows(value: any[]);
|
|
|
2011
1903
|
export declare interface IgcRowIslandComponentEventMap {
|
|
2012
1904
|
|
|
2013
1905
|
/**
|
|
2014
|
-
* Event
|
|
1906
|
+
* Event emitted when a grid is being created based on this row island.
|
|
2015
1907
|
* ```html
|
|
2016
1908
|
* <igx-hierarchical-grid [data]="Data" [autoGenerate]="true">
|
|
2017
1909
|
* <igx-row-island [key]="'childData'" (gridCreated)="gridCreated($event)" #rowIsland>
|
|
@@ -2099,6 +1991,18 @@ gridScroll: CustomEvent<IgcGridScrollEventArgs>;
|
|
|
2099
1991
|
*/
|
|
2100
1992
|
cellClick: CustomEvent<IgcGridCellEventArgs>;
|
|
2101
1993
|
|
|
1994
|
+
/**
|
|
1995
|
+
* Emitted when a row is clicked.
|
|
1996
|
+
*
|
|
1997
|
+
* @remarks
|
|
1998
|
+
* Returns the `IgxGridRow`.
|
|
1999
|
+
* @example
|
|
2000
|
+
* ```html
|
|
2001
|
+
* <igx-grid #grid (rowClick)="rowClick($event)" [data]="localData" [height]="'305px'" [autoGenerate]="true"></igx-grid>
|
|
2002
|
+
* ```
|
|
2003
|
+
*/
|
|
2004
|
+
rowClick: CustomEvent<IgcGridRowEventArgs>;
|
|
2005
|
+
|
|
2102
2006
|
/**
|
|
2103
2007
|
* Emitted when formGroup is created on edit of row/cell.
|
|
2104
2008
|
*
|
|
@@ -2309,7 +2213,7 @@ columnInit: CustomEvent<IgcColumnComponent>;
|
|
|
2309
2213
|
|
|
2310
2214
|
/* blazorInclude */
|
|
2311
2215
|
/**
|
|
2312
|
-
* @internal
|
|
2216
|
+
* @hidden @internal
|
|
2313
2217
|
*/
|
|
2314
2218
|
columnsAutogenerated: CustomEvent<IgcColumnsAutoGeneratedEventArgs>;
|
|
2315
2219
|
|
|
@@ -2392,26 +2296,26 @@ rowDeleted: CustomEvent<IgcRowDataEventArgs>;
|
|
|
2392
2296
|
*
|
|
2393
2297
|
* @remarks
|
|
2394
2298
|
* This event is cancelable.
|
|
2395
|
-
* Returns an `
|
|
2299
|
+
* Returns an IRowDataCancellableEventArgs` object.
|
|
2396
2300
|
* @example
|
|
2397
2301
|
* ```html
|
|
2398
2302
|
* <igx-grid #grid [data]="localData" (rowDelete)="rowDelete($event)" [height]="'305px'" [autoGenerate]="true"></igx-grid>
|
|
2399
2303
|
* ```
|
|
2400
2304
|
*/
|
|
2401
|
-
rowDelete: CustomEvent<
|
|
2305
|
+
rowDelete: CustomEvent<IgcRowDataCancelableEventArgs>;
|
|
2402
2306
|
|
|
2403
2307
|
/**
|
|
2404
2308
|
* Emmited just before the newly added row is commited.
|
|
2405
2309
|
*
|
|
2406
2310
|
* @remarks
|
|
2407
2311
|
* This event is cancelable.
|
|
2408
|
-
* Returns an `
|
|
2312
|
+
* Returns an IRowDataCancellableEventArgs` object.
|
|
2409
2313
|
* @example
|
|
2410
2314
|
* ```html
|
|
2411
2315
|
* <igx-grid #grid [data]="localData" (rowAdd)="rowAdd($event)" [height]="'305px'" [autoGenerate]="true"></igx-grid>
|
|
2412
2316
|
* ```
|
|
2413
2317
|
*/
|
|
2414
|
-
rowAdd: CustomEvent<
|
|
2318
|
+
rowAdd: CustomEvent<IgcRowDataCancelableEventArgs>;
|
|
2415
2319
|
|
|
2416
2320
|
/**
|
|
2417
2321
|
* Emitted after column is resized.
|
|
@@ -2426,15 +2330,15 @@ rowAdd: CustomEvent<IgcGridEditEventArgs>;
|
|
|
2426
2330
|
columnResized: CustomEvent<IgcColumnResizeEventArgs>;
|
|
2427
2331
|
|
|
2428
2332
|
/**
|
|
2429
|
-
* Emitted when a cell is right clicked.
|
|
2333
|
+
* Emitted when a cell or row is right clicked.
|
|
2430
2334
|
*
|
|
2431
2335
|
* @remarks
|
|
2432
|
-
* Returns the `IgxGridCell` object.
|
|
2336
|
+
* Returns the `IgxGridCell` object if the immediate context menu target is a cell or an `IgxGridRow` otherwise.
|
|
2433
2337
|
* ```html
|
|
2434
2338
|
* <igx-grid #grid [data]="localData" (contextMenu)="contextMenu($event)" [autoGenerate]="true"></igx-grid>
|
|
2435
2339
|
* ```
|
|
2436
2340
|
*/
|
|
2437
|
-
contextMenu: CustomEvent<
|
|
2341
|
+
contextMenu: CustomEvent<IgcGridContextMenuEventArgs>;
|
|
2438
2342
|
|
|
2439
2343
|
/**
|
|
2440
2344
|
* Emitted when a cell is double clicked.
|
|
@@ -10,10 +10,16 @@ import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
|
10
10
|
{
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Represents the ID of the row that emitted the event (which state is changed)
|
|
15
|
+
* @deprecated Use the `rowKey` property instead.
|
|
16
|
+
*/
|
|
14
17
|
public rowID: any;
|
|
15
18
|
|
|
16
19
|
|
|
20
|
+
public rowKey: any;
|
|
21
|
+
|
|
22
|
+
|
|
17
23
|
/**
|
|
18
24
|
* Returns the state of the row after the operation has ended
|
|
19
25
|
* Indicating whether the row is being expanded (true) or collapsed (false)
|