igniteui-webcomponents-grids 7.2.0-beta.0 → 7.2.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/custom-elements.json +24591 -11128
- package/grids/combined.js +29644 -28593
- package/grids/lib/igc-action-strip-component.d.ts +0 -39
- package/grids/lib/igc-base-exporter.d.ts +1 -25
- package/grids/lib/igc-base-toolbar-directive.d.ts +0 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +0 -2
- package/grids/lib/igc-column-component.d.ts +0 -489
- package/grids/lib/igc-column-exporting-event-args.d.ts +0 -5
- package/grids/lib/igc-column-group-component.d.ts +0 -55
- package/grids/lib/igc-column-layout-component.d.ts +0 -12
- package/grids/lib/igc-column-toggled-event-args.d.ts +1 -1
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +0 -2
- package/grids/lib/igc-csv-exporter-options.d.ts +0 -10
- package/grids/lib/igc-csv-exporter-service.d.ts +1 -23
- package/grids/lib/igc-data-clone-strategy.d.ts +0 -1
- package/grids/lib/igc-date-filtering-operand.d.ts +0 -2
- package/grids/lib/igc-date-summary-operand.d.ts +1 -38
- package/grids/lib/igc-dimensions-change.d.ts +1 -0
- package/grids/lib/igc-excel-exporter-options.d.ts +0 -27
- package/grids/lib/igc-excel-exporter-service.d.ts +1 -22
- package/grids/lib/igc-exporter-event-args.d.ts +12 -16
- package/grids/lib/igc-exporter-options-base.d.ts +4 -63
- package/grids/lib/igc-expression-tree.d.ts +1 -0
- package/grids/lib/igc-field-type.d.ts +0 -2
- package/grids/lib/igc-filtering-expressions-tree.d.ts +2 -0
- package/grids/lib/igc-filtering-operand.d.ts +0 -4
- package/grids/lib/igc-filtering-operation.d.ts +0 -2
- package/grids/lib/igc-grid-actions-base-directive.d.ts +0 -6
- package/grids/lib/igc-grid-base-component.d.ts +305 -0
- package/grids/lib/igc-grid-base-directive.d.ts +28 -1131
- package/grids/lib/igc-grid-component.d.ts +18 -512
- package/grids/lib/igc-grid-created-event-args.d.ts +4 -4
- package/grids/lib/igc-grid-editing-actions-component.d.ts +0 -7
- package/grids/lib/igc-grid-pinning-actions-component.d.ts +0 -12
- package/grids/lib/igc-grid-resource-strings.d.ts +1 -0
- package/grids/lib/igc-grid-state-base-directive.d.ts +0 -6
- package/grids/lib/igc-grid-state-component.d.ts +0 -5
- package/grids/lib/igc-grid-toolbar-actions-component.d.ts +0 -10
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -10
- package/grids/lib/igc-grid-toolbar-component.d.ts +0 -14
- package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +2 -2
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +0 -8
- package/grids/lib/igc-grid-toolbar-hiding-component.d.ts +0 -9
- package/grids/lib/igc-grid-toolbar-pinning-component.d.ts +0 -9
- package/grids/lib/igc-grid-toolbar-title-component.d.ts +0 -8
- package/grids/lib/igc-hierarchical-grid-base-component.d.ts +156 -0
- package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +0 -20
- package/grids/lib/igc-hierarchical-grid-component.d.ts +28 -184
- package/grids/lib/igc-number-filtering-operand.d.ts +0 -2
- package/grids/lib/igc-number-summary-operand.d.ts +1 -53
- package/grids/lib/igc-overlay-outlet-directive.d.ts +0 -3
- package/grids/lib/igc-paginator-component.d.ts +2 -81
- package/grids/lib/igc-pinning-config.d.ts +2 -0
- package/grids/lib/igc-pivot-aggregation.d.ts +8 -0
- package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
- package/grids/lib/igc-pivot-data-selector-component.d.ts +0 -87
- package/grids/lib/igc-pivot-date-dimension.d.ts +0 -3
- package/grids/lib/igc-pivot-grid-component.d.ts +0 -163
- package/grids/lib/igc-pivot-value.d.ts +1 -1
- package/grids/lib/igc-position-settings.d.ts +4 -0
- package/grids/lib/igc-position-strategy.d.ts +1 -4
- package/grids/lib/igc-query-builder-component.d.ts +1 -14
- package/grids/lib/igc-query-builder-header-component.d.ts +1 -13
- package/grids/lib/igc-row-data-cancelable-event-args.d.ts +28 -0
- package/grids/lib/igc-row-directive.d.ts +1 -55
- package/grids/lib/igc-row-island-base-component.d.ts +76 -0
- package/grids/lib/igc-row-island-component.d.ts +68 -1132
- package/grids/lib/igc-scroll-strategy.d.ts +1 -7
- package/grids/lib/igc-string-filtering-operand.d.ts +0 -4
- package/grids/lib/igc-summary-operand.d.ts +1 -33
- package/grids/lib/igc-summary-result.d.ts +0 -9
- package/grids/lib/igc-time-summary-operand.d.ts +0 -11
- package/grids/lib/igc-tree-grid-base-component.d.ts +226 -0
- package/grids/lib/igc-tree-grid-component.d.ts +23 -341
- package/grids/lib/igc-validation-errors.d.ts +4 -0
- package/grids/lib/index.d.ts +60 -56
- package/grids/lib/pivot-row-layout-type.d.ts +1 -1
- package/grids/lib/pivot-summary-position.d.ts +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/package.json +1 -1
- package/vscode.html-custom-data.json +1 -1
- package/web-types.json +1 -1
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
/* singleInstanceIdentifier */
|
|
11
11
|
/**
|
|
12
12
|
* Provides a way to template the action portion of the toolbar in the grid.
|
|
13
|
-
*
|
|
14
|
-
* @igxModule IgxGridToolbarModule
|
|
15
|
-
* @igxParent IgxGridToolbarComponent
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```html
|
|
19
|
-
* <igx-grid-toolbar-actions>
|
|
20
|
-
* <some-toolbar-action-here />
|
|
21
|
-
* </igx-grid-toolbar-actions>
|
|
22
|
-
* ```
|
|
23
13
|
*/
|
|
24
14
|
|
|
25
15
|
export declare class IgcGridToolbarActionsComponent extends HTMLElement
|
|
@@ -12,16 +12,6 @@ import { IgcOverlaySettings } from './igc-overlay-settings';
|
|
|
12
12
|
/* singleInstanceIdentifier */
|
|
13
13
|
/**
|
|
14
14
|
* Provides a pre-configured button to open the advanced filtering dialog of the grid.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @igxModule IgxGridToolbarModule
|
|
18
|
-
* @igxParent IgxGridToolbarComponent, IgxGridToolbarActionsComponent
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <igx-grid-toolbar-advanced-filtering></igx-grid-toolbar-advanced-filtering>
|
|
23
|
-
* <igx-grid-toolbar-advanced-filtering>Custom text</igx-grid-toolbar-advanced-filtering>
|
|
24
|
-
* ```
|
|
25
15
|
*/
|
|
26
16
|
|
|
27
17
|
export declare class IgcGridToolbarAdvancedFilteringComponent extends HTMLElement
|
|
@@ -16,10 +16,6 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
16
16
|
/* jsonAPIManageItemInMarkup */
|
|
17
17
|
/**
|
|
18
18
|
* Provides a context-aware container component for UI operations for the grid components.
|
|
19
|
-
*
|
|
20
|
-
* @igxModule IgxGridToolbarModule
|
|
21
|
-
* @igxParent IgxGridComponent, IgxTreeGridComponent, IgxHierarchicalGridComponent, IgxPivotGridComponent
|
|
22
|
-
*
|
|
23
19
|
*/
|
|
24
20
|
|
|
25
21
|
export declare class IgcGridToolbarComponent extends HTMLElement
|
|
@@ -35,10 +31,6 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
35
31
|
|
|
36
32
|
/**
|
|
37
33
|
* When enabled, shows the indeterminate progress bar.
|
|
38
|
-
*
|
|
39
|
-
* @remarks
|
|
40
|
-
* By default this will be toggled, when the default exporter component is present
|
|
41
|
-
* and an exporting is in progress.
|
|
42
34
|
*/
|
|
43
35
|
public set showProgress(value: boolean);
|
|
44
36
|
public get showProgress(): boolean;
|
|
@@ -47,13 +39,7 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
47
39
|
|
|
48
40
|
/**
|
|
49
41
|
* Gets/sets the grid component for the toolbar component.
|
|
50
|
-
*
|
|
51
42
|
* @deprecated No longer required to be set for the Hierarchical Grid child grid template
|
|
52
|
-
*
|
|
53
|
-
* @remarks
|
|
54
|
-
* Usually you should not set this property in the context of the default grid/tree grid.
|
|
55
|
-
* The only grids that demands this to be set are the hierarchical child grids. For additional
|
|
56
|
-
* information check the toolbar topic.
|
|
57
43
|
*/
|
|
58
44
|
public set grid(value: IgcGridBaseDirective);
|
|
59
45
|
public get grid(): IgcGridBaseDirective;
|
|
@@ -25,7 +25,7 @@ import { IgcExporterOptionsBase } from './igc-exporter-options-base';
|
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* The `exporter` is a base service.
|
|
28
|
-
* The type (an abstract class
|
|
28
|
+
* The type (an abstract class base exporter) has it's own properties and methods
|
|
29
29
|
* It is used to define the format and options of the export, the exported element
|
|
30
30
|
* and methods for preparing the data from the elements for exporting
|
|
31
31
|
*/
|
|
@@ -34,7 +34,7 @@ import { IgcExporterOptionsBase } from './igc-exporter-options-base';
|
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* Represents the different settings, that can be given to an export
|
|
37
|
-
* The type (an abstract class
|
|
37
|
+
* The type (an abstract class exporter options base) has properties for column settings
|
|
38
38
|
* (whether they should be ignored) as well as method for generating a file name
|
|
39
39
|
*/
|
|
40
40
|
public options: IgcExporterOptionsBase;
|
|
@@ -16,14 +16,6 @@ import { IgcBaseToolbarDirectiveEventMap } from './igc-base-toolbar-directive';
|
|
|
16
16
|
/* singleInstanceIdentifier */
|
|
17
17
|
/**
|
|
18
18
|
* Provides a pre-configured exporter component for the grid.
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
* This component still needs the actual exporter service(s) provided in the DI chain
|
|
22
|
-
* in order to export something.
|
|
23
|
-
*
|
|
24
|
-
* @igxModule IgxGridToolbarModule
|
|
25
|
-
* @igxParent IgxGridToolbarComponent, IgxGridToolbarActionsComponent
|
|
26
|
-
*
|
|
27
19
|
*/
|
|
28
20
|
|
|
29
21
|
export declare class IgcGridToolbarExporterComponent extends EventEmitterMixin<IgcGridToolbarExporterComponentEventMap, AbstractConstructor<IgcBaseToolbarDirective>>(IgcBaseToolbarDirective)
|
|
@@ -13,15 +13,6 @@ import { IgcBaseToolbarDirectiveEventMap } from './igc-base-toolbar-directive';
|
|
|
13
13
|
/* singleInstanceIdentifier */
|
|
14
14
|
/**
|
|
15
15
|
* Provides a pre-configured column hiding component for the grid.
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* @igxModule IgxGridToolbarModule
|
|
19
|
-
* @igxParent IgxGridToolbarComponent, IgxGridToolbarActionsComponent
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```html
|
|
23
|
-
* <igx-grid-toolbar-hiding></igx-grid-toolbar-hiding>
|
|
24
|
-
* ```
|
|
25
16
|
*/
|
|
26
17
|
|
|
27
18
|
export declare class IgcGridToolbarHidingComponent extends IgcBaseToolbarColumnActionsDirective
|
|
@@ -12,15 +12,6 @@ import { IgcBaseToolbarDirectiveEventMap } from './igc-base-toolbar-directive';
|
|
|
12
12
|
/* jsonAPIManageItemInMarkup */
|
|
13
13
|
/**
|
|
14
14
|
* Provides a pre-configured column pinning component for the grid.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @igxModule IgxGridToolbarModule
|
|
18
|
-
* @igxParent IgxGridToolbarComponent, IgxGridToolbarActionsComponent
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <igx-grid-toolbar-pinning></igx-grid-toolbar-pinning>
|
|
23
|
-
* ```
|
|
24
15
|
*/
|
|
25
16
|
|
|
26
17
|
export declare class IgcGridToolbarPinningComponent extends IgcBaseToolbarColumnActionsDirective
|
|
@@ -10,14 +10,6 @@
|
|
|
10
10
|
/* singleInstanceIdentifier */
|
|
11
11
|
/**
|
|
12
12
|
* Provides a way to template the title portion of the toolbar in the grid.
|
|
13
|
-
*
|
|
14
|
-
* @igxModule IgxGridToolbarModule
|
|
15
|
-
* @igxParent IgxGridToolbarComponent
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```html
|
|
19
|
-
* <igx-grid-toolbar-title>My custom title</igx-grid-toolbar-title>
|
|
20
|
-
* ```
|
|
21
13
|
*/
|
|
22
14
|
|
|
23
15
|
export declare class IgcGridToolbarTitleComponent extends HTMLElement
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcHierarchicalGridBaseDirective } from './igc-hierarchical-grid-base-directive';
|
|
3
|
+
import { IgcRowIslandBaseComponent } from './igc-row-island-base-component';
|
|
4
|
+
import { IgcGridResourceStrings } from './igc-grid-resource-strings';
|
|
5
|
+
import { IgcCellType } from './igc-cell-type';
|
|
6
|
+
import { IgcRowType } from './igc-row-type';
|
|
7
|
+
import { IgcHierarchicalGridBaseDirectiveEventMap } from './igc-hierarchical-grid-base-directive';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
/* wcSkipComponentSuffix */
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
/* wcAlternateName: HierarchicalGridBase */
|
|
14
|
+
/* blazorIndirectRender
|
|
15
|
+
blazorComponent
|
|
16
|
+
omitModule
|
|
17
|
+
wcSkipComponentSuffix */
|
|
18
|
+
/**
|
|
19
|
+
* Hierarchical grid
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
export declare class IgcHierarchicalGridBaseComponent extends IgcHierarchicalGridBaseDirective
|
|
23
|
+
{
|
|
24
|
+
|
|
25
|
+
/* blazorSuppress */
|
|
26
|
+
static readonly tagName: string;
|
|
27
|
+
/* blazorSuppress */
|
|
28
|
+
static register(): void;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
/* contentChildren */
|
|
33
|
+
/* blazorInclude */
|
|
34
|
+
/* blazorTreatAsCollection */
|
|
35
|
+
/* blazorCollectionName: RowIslandCollection */
|
|
36
|
+
/* ngQueryListName: childLayoutList */
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
public set childLayoutList(value: IgcRowIslandBaseComponent[]);
|
|
41
|
+
public get childLayoutList(): IgcRowIslandBaseComponent[];
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Gets/Sets the value of the `id` attribute.
|
|
47
|
+
*/
|
|
48
|
+
public set id(value: string);
|
|
49
|
+
public get id(): string;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
/* treatAsRef */
|
|
54
|
+
/**
|
|
55
|
+
* Gets/Sets the array of data that populates the component.
|
|
56
|
+
*/
|
|
57
|
+
public set data(value: any[]);
|
|
58
|
+
public get data(): any[];
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Gets/Sets the total number of records in the data source.
|
|
64
|
+
*/
|
|
65
|
+
public set totalItemCount(value: number);
|
|
66
|
+
public get totalItemCount(): number;
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Sets if all immediate children of the hierarchical grid should be expanded/collapsed.
|
|
72
|
+
* Default value is false.
|
|
73
|
+
*/
|
|
74
|
+
public set expandChildren(value: boolean);
|
|
75
|
+
public get expandChildren(): boolean;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Gets/Sets the resource strings.
|
|
81
|
+
*/
|
|
82
|
+
public set resourceStrings(value: IgcGridResourceStrings);
|
|
83
|
+
public get resourceStrings(): IgcGridResourceStrings;
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Gets the unique identifier of the parent row. It may be a `string` or `number` if `primaryKey` of the
|
|
89
|
+
* parent grid is set or an object reference of the parent record otherwise.
|
|
90
|
+
*/
|
|
91
|
+
public get foreignKey(): any;
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Returns an array of the selected grid cells.
|
|
97
|
+
*/
|
|
98
|
+
public get selectedCells(): IgcCellType[];
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Returns the `RowType` by index.
|
|
104
|
+
* @param index
|
|
105
|
+
*/
|
|
106
|
+
public getRowByIndex(index: number): IgcRowType;
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Returns the `RowType` by key.
|
|
112
|
+
* @param key
|
|
113
|
+
*/
|
|
114
|
+
public getRowByKey(key: any): IgcRowType;
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Returns an array of the current cell selection in the form of `[{ column.field: cell.value }, ...]`.
|
|
120
|
+
*/
|
|
121
|
+
public getSelectedData(formatters?: boolean, headers?: boolean): any[];
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Returns a `CellType` object that matches the conditions.
|
|
127
|
+
* @param rowIndex
|
|
128
|
+
* @param columnField
|
|
129
|
+
*/
|
|
130
|
+
public getCellByColumn(rowIndex: number, columnField: string): IgcCellType;
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Returns a `CellType` object that matches the conditions.
|
|
136
|
+
* @param rowSelector match any rowID
|
|
137
|
+
* @param columnField
|
|
138
|
+
*/
|
|
139
|
+
public getCellByKey(rowSelector: any, columnField: string): IgcCellType;
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
public pinRow(rowID: any, index?: number): boolean;
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
public unpinRow(rowID: any): boolean;
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
public getDefaultExpandState(record: any): void;
|
|
152
|
+
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export type IgcHierarchicalGridBaseComponentEventMap = IgcHierarchicalGridBaseDirectiveEventMap
|
|
156
|
+
|
|
@@ -20,12 +20,6 @@ import { IgcGridBaseDirectiveEventMap } from './igc-grid-base-directive';
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Gets/Sets the key indicating whether a row has children. If row has no children it does not render an expand indicator.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```html
|
|
26
|
-
* <igx-hierarchical-grid #grid [data]="localData" [hasChildrenKey]="'hasEmployees'">
|
|
27
|
-
* </igx-hierarchical-grid>
|
|
28
|
-
* ```
|
|
29
23
|
*/
|
|
30
24
|
public set hasChildrenKey(value: string);
|
|
31
25
|
public get hasChildrenKey(): string;
|
|
@@ -34,14 +28,6 @@ import { IgcGridBaseDirectiveEventMap } from './igc-grid-base-directive';
|
|
|
34
28
|
|
|
35
29
|
/**
|
|
36
30
|
* Gets/Sets whether the expand/collapse all button in the header should be rendered.
|
|
37
|
-
*
|
|
38
|
-
* @remarks
|
|
39
|
-
* The default value is false.
|
|
40
|
-
* @example
|
|
41
|
-
* ```html
|
|
42
|
-
* <igx-hierarchical-grid #grid [data]="localData" [showExpandAll]="true">
|
|
43
|
-
* </igx-hierarchical-grid>
|
|
44
|
-
* ```
|
|
45
31
|
*/
|
|
46
32
|
public set showExpandAll(value: boolean);
|
|
47
33
|
public get showExpandAll(): boolean;
|
|
@@ -56,12 +42,6 @@ export declare interface IgcHierarchicalGridBaseDirectiveEventMap extends IgcGri
|
|
|
56
42
|
|
|
57
43
|
/**
|
|
58
44
|
* Emitted when a new chunk of data is loaded from virtualization.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```typescript
|
|
62
|
-
* <igx-hierarchical-grid [id]="'igx-grid-1'" [data]="Data" [autoGenerate]="true" (dataPreLoad)="handleEvent()">
|
|
63
|
-
* </igx-hierarchical-grid>
|
|
64
|
-
* ```
|
|
65
45
|
*/
|
|
66
46
|
dataPreLoad: CustomEvent<IgcForOfState>;
|
|
67
47
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { IgcHierarchicalGridBaseComponent } from './igc-hierarchical-grid-base-component';
|
|
3
3
|
import { IgcColumnComponent } from './igc-column-component';
|
|
4
4
|
import { IgcColumnGroupComponent } from './igc-column-group-component';
|
|
5
5
|
import { IgcColumnLayoutComponent } from './igc-column-layout-component';
|
|
@@ -14,15 +14,14 @@ import { IgcActionStripComponent } from './igc-action-strip-component';
|
|
|
14
14
|
import { IgcGridEditingActionsComponent } from './igc-grid-editing-actions-component';
|
|
15
15
|
import { IgcGridPinningActionsComponent } from './igc-grid-pinning-actions-component';
|
|
16
16
|
import { IgcRowIslandComponent } from './igc-row-island-component';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
17
|
+
import { IgcColumnsAutoGeneratedEventArgs } from './igc-columns-auto-generated-event-args';
|
|
18
|
+
import { IgcActionStripToken } from './igc-action-strip-token';
|
|
19
|
+
import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
|
|
20
20
|
import { IgcHierarchicalGridBaseDirectiveEventMap } from './igc-hierarchical-grid-base-directive';
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
|
|
26
25
|
/* blazorAdditionalDependency: Column */
|
|
27
26
|
/* blazorAdditionalDependency: ColumnGroup */
|
|
28
27
|
/* blazorAdditionalDependency: ColumnLayout */
|
|
@@ -41,12 +40,10 @@ import { IgcHierarchicalGridBaseDirectiveEventMap } from './igc-hierarchical-gri
|
|
|
41
40
|
/* blazorIndirectRender */
|
|
42
41
|
/**
|
|
43
42
|
* Hierarchical grid
|
|
44
|
-
*
|
|
45
|
-
* @igxModule IgxHierarchicalGridModule
|
|
46
|
-
*
|
|
47
43
|
*/
|
|
48
44
|
|
|
49
|
-
export declare class IgcHierarchicalGridComponent extends
|
|
45
|
+
export declare class IgcHierarchicalGridComponent extends EventEmitterMixin<IgcHierarchicalGridComponentEventMap, Constructor<IgcHierarchicalGridBaseComponent>>(IgcHierarchicalGridBaseComponent)
|
|
46
|
+
|
|
50
47
|
{
|
|
51
48
|
|
|
52
49
|
/* blazorSuppress */
|
|
@@ -56,193 +53,40 @@ import { IgcHierarchicalGridBaseDirectiveEventMap } from './igc-hierarchical-gri
|
|
|
56
53
|
|
|
57
54
|
|
|
58
55
|
|
|
59
|
-
|
|
56
|
+
/**
|
|
57
|
+
* @hidden
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
60
|
/* blazorInclude */
|
|
61
|
+
/* contentChildren */
|
|
61
62
|
/* blazorTreatAsCollection */
|
|
62
63
|
/* blazorCollectionName: RowIslandCollection */
|
|
63
64
|
/* ngQueryListName: childLayoutList */
|
|
64
|
-
/**
|
|
65
|
-
* @hidden
|
|
66
|
-
*/
|
|
67
65
|
public set childLayoutList(value: IgcRowIslandComponent[]);
|
|
68
66
|
public get childLayoutList(): IgcRowIslandComponent[];
|
|
69
67
|
|
|
70
68
|
|
|
71
69
|
|
|
72
|
-
/**
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*/
|
|
82
|
-
public set id(value: string);
|
|
83
|
-
public get id(): string;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
/* treatAsRef */
|
|
88
|
-
/**
|
|
89
|
-
* Gets/Sets the array of data that populates the component.
|
|
90
|
-
* ```html
|
|
91
|
-
* <igx-hierarchical-grid [data]="Data" [autoGenerate]="true"></igx-hierarchical-grid>
|
|
92
|
-
* ```
|
|
93
|
-
*
|
|
94
|
-
* @memberof IgxHierarchicalGridComponent
|
|
95
|
-
*/
|
|
96
|
-
public set data(value: any[]);
|
|
97
|
-
public get data(): any[];
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Gets/Sets the total number of records in the data source.
|
|
103
|
-
*
|
|
104
|
-
* @remarks
|
|
105
|
-
* This property is required for remote grid virtualization to function when it is bound to remote data.
|
|
106
|
-
* @example
|
|
107
|
-
* ```typescript
|
|
108
|
-
* const itemCount = this.grid1.totalItemCount;
|
|
109
|
-
* this.grid1.totalItemCount = 55;
|
|
110
|
-
* ```
|
|
111
|
-
*/
|
|
112
|
-
public set totalItemCount(value: number);
|
|
113
|
-
public get totalItemCount(): number;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Sets if all immediate children of the `IgxHierarchicalGridComponent` should be expanded/collapsed.
|
|
119
|
-
* Default value is false.
|
|
120
|
-
* ```html
|
|
121
|
-
* <igx-hierarchical-grid [id]="'igx-grid-1'" [data]="Data" [autoGenerate]="true" [expandChildren]="true"></igx-hierarchical-grid>
|
|
122
|
-
* ```
|
|
123
|
-
*
|
|
124
|
-
* @memberof IgxHierarchicalGridComponent
|
|
125
|
-
*/
|
|
126
|
-
public set expandChildren(value: boolean);
|
|
127
|
-
public get expandChildren(): boolean;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Gets/Sets the resource strings.
|
|
133
|
-
*
|
|
134
|
-
* @remarks
|
|
135
|
-
* By default it uses EN resources.
|
|
136
|
-
*/
|
|
137
|
-
public set resourceStrings(value: IgcGridResourceStrings);
|
|
138
|
-
public get resourceStrings(): IgcGridResourceStrings;
|
|
70
|
+
/** @hidden @internal */
|
|
71
|
+
/* blazorInclude */
|
|
72
|
+
/* contentChildren */
|
|
73
|
+
/* blazorTreatAsCollection */
|
|
74
|
+
/* blazorCollectionName: ActionStripCollection */
|
|
75
|
+
/* blazorCollectionItemName: ActionStrip */
|
|
76
|
+
/* ngQueryListName: actionStripComponents */
|
|
77
|
+
public set actionStripComponents(value: IgcActionStripToken[]);
|
|
78
|
+
public get actionStripComponents(): IgcActionStripToken[];
|
|
139
79
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* Gets the unique identifier of the parent row. It may be a `string` or `number` if `primaryKey` of the
|
|
144
|
-
* parent grid is set or an object reference of the parent record otherwise.
|
|
145
|
-
* ```typescript
|
|
146
|
-
* const foreignKey = this.grid.foreignKey;
|
|
147
|
-
* ```
|
|
148
|
-
*
|
|
149
|
-
* @memberof IgxHierarchicalGridComponent
|
|
150
|
-
*/
|
|
151
|
-
public get foreignKey(): any;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Returns an array of the selected `IgxGridCell`s.
|
|
157
|
-
*
|
|
158
|
-
* @example
|
|
159
|
-
* ```typescript
|
|
160
|
-
* const selectedCells = this.grid.selectedCells;
|
|
161
|
-
* ```
|
|
162
|
-
*/
|
|
163
|
-
public get selectedCells(): IgcCellType[];
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Returns the `RowType` by index.
|
|
169
|
-
*
|
|
170
|
-
* @example
|
|
171
|
-
* ```typescript
|
|
172
|
-
* const myRow = this.grid1.getRowByIndex(1);
|
|
173
|
-
* ```
|
|
174
|
-
* @param index
|
|
175
|
-
*/
|
|
176
|
-
public getRowByIndex(index: number): IgcRowType;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Returns the `RowType` by key.
|
|
182
|
-
*
|
|
183
|
-
* @example
|
|
184
|
-
* ```typescript
|
|
185
|
-
* const myRow = this.grid1.getRowByKey(1);
|
|
186
|
-
* ```
|
|
187
|
-
* @param key
|
|
188
|
-
*/
|
|
189
|
-
public getRowByKey(key: any): IgcRowType;
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
*
|
|
195
|
-
* Returns an array of the current cell selection in the form of `[{ column.field: cell.value }, ...]`.
|
|
196
|
-
*
|
|
197
|
-
* @remarks
|
|
198
|
-
* If `formatters` is enabled, the cell value will be formatted by its respective column formatter (if any).
|
|
199
|
-
* If `headers` is enabled, it will use the column header (if any) instead of the column field.
|
|
200
|
-
*/
|
|
201
|
-
public getSelectedData(formatters?: boolean, headers?: boolean): any[];
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Returns a `CellType` object that matches the conditions.
|
|
207
|
-
*
|
|
208
|
-
* @example
|
|
209
|
-
* ```typescript
|
|
210
|
-
* const myCell = this.grid1.getCellByColumn(2, "UnitPrice");
|
|
211
|
-
* ```
|
|
212
|
-
* @param rowIndex
|
|
213
|
-
* @param columnField
|
|
214
|
-
*/
|
|
215
|
-
public getCellByColumn(rowIndex: number, columnField: string): IgcCellType;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* Returns a `CellType` object that matches the conditions.
|
|
221
|
-
*
|
|
222
|
-
* @remarks
|
|
223
|
-
* Requires that the primaryKey property is set.
|
|
224
|
-
* @example
|
|
225
|
-
* ```typescript
|
|
226
|
-
* grid.getCellByKey(1, 'index');
|
|
227
|
-
* ```
|
|
228
|
-
* @param rowSelector match any rowID
|
|
229
|
-
* @param columnField
|
|
230
|
-
*/
|
|
231
|
-
public getCellByKey(rowSelector: any, columnField: string): IgcCellType;
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
public pinRow(rowID: any, index?: number): boolean;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
public unpinRow(rowID: any): boolean;
|
|
80
|
+
}
|
|
240
81
|
|
|
82
|
+
export declare interface IgcHierarchicalGridComponentEventMap extends IgcHierarchicalGridBaseDirectiveEventMap {
|
|
241
83
|
|
|
84
|
+
columnsAutogenerated: CustomEvent<IgcColumnsAutoGeneratedEventArgs>;
|
|
242
85
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
86
|
+
/**
|
|
87
|
+
* Emitted when content children are resolved and collections in grid are updated.
|
|
88
|
+
*/
|
|
89
|
+
childrenResolved: CustomEvent<void>;
|
|
246
90
|
|
|
247
|
-
|
|
91
|
+
}
|
|
248
92
|
|