igniteui-webcomponents-grids 7.1.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.
Files changed (90) hide show
  1. package/custom-elements.json +24487 -10990
  2. package/grids/3rdpartylicenses.txt +158 -524
  3. package/grids/combined.js +63752 -62828
  4. package/grids/lib/igc-action-strip-component.d.ts +0 -39
  5. package/grids/lib/igc-base-exporter.d.ts +1 -25
  6. package/grids/lib/igc-base-toolbar-directive.d.ts +0 -1
  7. package/grids/lib/igc-boolean-filtering-operand.d.ts +0 -2
  8. package/grids/lib/igc-column-component.d.ts +0 -489
  9. package/grids/lib/igc-column-exporting-event-args.d.ts +0 -5
  10. package/grids/lib/igc-column-group-component.d.ts +0 -55
  11. package/grids/lib/igc-column-layout-component.d.ts +0 -12
  12. package/grids/lib/igc-column-toggled-event-args.d.ts +1 -1
  13. package/grids/lib/igc-columns-auto-generated-event-args.d.ts +0 -2
  14. package/grids/lib/igc-csv-exporter-options.d.ts +0 -10
  15. package/grids/lib/igc-csv-exporter-service.d.ts +1 -23
  16. package/grids/lib/igc-data-clone-strategy.d.ts +0 -1
  17. package/grids/lib/igc-date-filtering-operand.d.ts +0 -2
  18. package/grids/lib/igc-date-summary-operand.d.ts +1 -38
  19. package/grids/lib/igc-dimensions-change.d.ts +1 -0
  20. package/grids/lib/igc-excel-exporter-options.d.ts +0 -27
  21. package/grids/lib/igc-excel-exporter-service.d.ts +1 -22
  22. package/grids/lib/igc-exporter-event-args.d.ts +12 -16
  23. package/grids/lib/igc-exporter-options-base.d.ts +4 -63
  24. package/grids/lib/igc-expression-tree.d.ts +1 -0
  25. package/grids/lib/igc-field-type.d.ts +0 -2
  26. package/grids/lib/igc-filtering-expressions-tree.d.ts +2 -0
  27. package/grids/lib/igc-filtering-operand.d.ts +0 -4
  28. package/grids/lib/igc-filtering-operation.d.ts +0 -2
  29. package/grids/lib/igc-grid-actions-base-directive.d.ts +0 -6
  30. package/grids/lib/igc-grid-base-component.d.ts +305 -0
  31. package/grids/lib/igc-grid-base-directive.d.ts +28 -1131
  32. package/grids/lib/igc-grid-component.d.ts +18 -512
  33. package/grids/lib/igc-grid-created-event-args.d.ts +4 -4
  34. package/grids/lib/igc-grid-editing-actions-component.d.ts +0 -7
  35. package/grids/lib/igc-grid-pinning-actions-component.d.ts +0 -12
  36. package/grids/lib/igc-grid-resource-strings.d.ts +1 -0
  37. package/grids/lib/igc-grid-state-base-directive.d.ts +0 -6
  38. package/grids/lib/igc-grid-state-component.d.ts +0 -5
  39. package/grids/lib/igc-grid-toolbar-actions-component.d.ts +0 -10
  40. package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -10
  41. package/grids/lib/igc-grid-toolbar-component.d.ts +0 -14
  42. package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +2 -2
  43. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +0 -8
  44. package/grids/lib/igc-grid-toolbar-hiding-component.d.ts +0 -9
  45. package/grids/lib/igc-grid-toolbar-pinning-component.d.ts +0 -9
  46. package/grids/lib/igc-grid-toolbar-title-component.d.ts +0 -8
  47. package/grids/lib/igc-hierarchical-grid-base-component.d.ts +156 -0
  48. package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +0 -20
  49. package/grids/lib/igc-hierarchical-grid-component.d.ts +28 -172
  50. package/grids/lib/igc-number-filtering-operand.d.ts +0 -2
  51. package/grids/lib/igc-number-summary-operand.d.ts +1 -53
  52. package/grids/lib/igc-overlay-outlet-directive.d.ts +0 -3
  53. package/grids/lib/igc-paginator-component.d.ts +2 -81
  54. package/grids/lib/igc-pinning-config.d.ts +2 -0
  55. package/grids/lib/igc-pivot-aggregation.d.ts +19 -0
  56. package/grids/lib/igc-pivot-aggregator.d.ts +3 -2
  57. package/grids/lib/igc-pivot-data-selector-component.d.ts +0 -87
  58. package/grids/lib/igc-pivot-date-dimension.d.ts +0 -3
  59. package/grids/lib/igc-pivot-grid-component.d.ts +0 -163
  60. package/grids/lib/igc-pivot-value.d.ts +1 -1
  61. package/grids/lib/igc-position-settings.d.ts +4 -0
  62. package/grids/lib/igc-position-strategy.d.ts +1 -4
  63. package/grids/lib/igc-query-builder-component.d.ts +1 -14
  64. package/grids/lib/igc-query-builder-header-component.d.ts +1 -13
  65. package/grids/lib/igc-row-data-cancelable-event-args.d.ts +28 -0
  66. package/grids/lib/igc-row-directive.d.ts +1 -55
  67. package/grids/lib/igc-row-island-base-component.d.ts +76 -0
  68. package/grids/lib/igc-row-island-component.d.ts +68 -1132
  69. package/grids/lib/igc-scroll-strategy.d.ts +1 -7
  70. package/grids/lib/igc-string-filtering-operand.d.ts +0 -4
  71. package/grids/lib/igc-summary-operand.d.ts +1 -33
  72. package/grids/lib/igc-summary-result.d.ts +0 -9
  73. package/grids/lib/igc-time-summary-operand.d.ts +0 -11
  74. package/grids/lib/igc-tree-grid-base-component.d.ts +226 -0
  75. package/grids/lib/igc-tree-grid-component.d.ts +23 -341
  76. package/grids/lib/igc-validation-errors.d.ts +4 -0
  77. package/grids/lib/index.d.ts +60 -55
  78. package/grids/lib/pivot-row-layout-type.d.ts +1 -1
  79. package/grids/lib/pivot-summary-position.d.ts +1 -1
  80. package/grids/themes/dark/bootstrap.css +1 -1
  81. package/grids/themes/dark/fluent.css +1 -1
  82. package/grids/themes/dark/indigo.css +1 -1
  83. package/grids/themes/dark/material.css +1 -1
  84. package/grids/themes/light/bootstrap.css +1 -1
  85. package/grids/themes/light/fluent.css +1 -1
  86. package/grids/themes/light/indigo.css +1 -1
  87. package/grids/themes/light/material.css +1 -1
  88. package/package.json +1 -1
  89. package/vscode.html-custom-data.json +1 -1
  90. package/web-types.json +1 -1
@@ -5,7 +5,7 @@
5
5
 
6
6
  /**
7
7
  * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/overlay-scroll).
8
- * Scroll strategies determines how the scrolling will be handled in the provided IgxOverlayService.
8
+ * Scroll strategies determines how the scrolling will be handled in the provided overlay.
9
9
  */
10
10
 
11
11
  export declare class IgcScrollStrategy
@@ -15,9 +15,6 @@
15
15
 
16
16
  /**
17
17
  * Attaches the strategy
18
- * ```typescript
19
- * settings.scrollStrategy.attach();
20
- * ```
21
18
  */
22
19
  public attach(): void;
23
20
 
@@ -25,9 +22,6 @@
25
22
 
26
23
  /**
27
24
  * Detaches the strategy
28
- * ```typescript
29
- * settings.scrollStrategy.detach();
30
- * ```
31
25
  */
32
26
  public detach(): void;
33
27
 
@@ -7,8 +7,6 @@ import { IgcFilteringOperand } from './igc-filtering-operand';
7
7
  /* blazorCSSuppress */
8
8
  /**
9
9
  * Provides filtering operations for strings
10
- *
11
- * @export
12
10
  */
13
11
 
14
12
  export declare class IgcStringFilteringOperand extends IgcFilteringOperand
@@ -18,8 +16,6 @@ import { IgcFilteringOperand } from './igc-filtering-operand';
18
16
 
19
17
  /**
20
18
  * Applies case sensitivity on strings if provided
21
- *
22
- * @memberof IgxStringFilteringOperand
23
19
  */
24
20
  public static applyIgnoreCase(a: string, ignoreCase: boolean): string;
25
21
 
@@ -14,44 +14,12 @@ import { IgcSummaryResult } from './igc-summary-result';
14
14
  /**
15
15
  * Counts all the records in the data source.
16
16
  * If filtering is applied, counts only the filtered records.
17
- * ```typescript
18
- * IgxSummaryOperand.count(dataSource);
19
- * ```
20
- *
21
- * @memberof IgxSummaryOperand
22
17
  */
23
18
  public static count(data: any[]): number;
24
19
 
25
20
 
26
21
  /**
27
- * Executes the static `count` method and returns `IgxSummaryResult[]`.
28
- * ```typescript
29
- * interface IgxSummaryResult {
30
- * key: string;
31
- * label: string;
32
- * summaryResult: any;
33
- * }
34
- * ```
35
- * Can be overridden in the inherited classes to provide customization for the `summary`.
36
- * ```typescript
37
- * class CustomSummary extends IgxSummaryOperand {
38
- * constructor() {
39
- * super();
40
- * }
41
- * public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
42
- * const result = [];
43
- * result.push({
44
- * key: "test",
45
- * label: "Test",
46
- * summaryResult: IgxSummaryOperand.count(data)
47
- * });
48
- * return result;
49
- * }
50
- * }
51
- * this.grid.getColumnByName('ColumnName').summaries = CustomSummary;
52
- * ```
53
- *
54
- * @memberof IgxSummaryOperand
22
+ * Executes the static `count` method and returns summary result[]`.
55
23
  */
56
24
  public operate(data?: any[], _allData?: any[], _fieldName?: string, _groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
57
25
 
@@ -26,15 +26,6 @@
26
26
 
27
27
  /**
28
28
  * Apply default formatting based on the grid column type.
29
- * ```typescript
30
- * const result: IgxSummaryResult = {
31
- * key: 'key',
32
- * label: 'label',
33
- * defaultFormatting: true
34
- * }
35
- * ```
36
- *
37
- * @memberof IgxSummaryResult
38
29
  */
39
30
  public defaultFormatting?: boolean;
40
31
 
@@ -16,11 +16,6 @@ import { IgcSummaryResult } from './igc-summary-result';
16
16
  /**
17
17
  * Returns the latest time value in the data records. Compare only the time part of the date.
18
18
  * If filtering is applied, returns the latest time value in the filtered data records.
19
- * ```typescript
20
- * IgxTimeSummaryOperand.latestTime(data);
21
- * ```
22
- *
23
- * @memberof IgxTimeSummaryOperand
24
19
  */
25
20
  public static latestTime(data: any[]): void;
26
21
 
@@ -29,17 +24,11 @@ import { IgcSummaryResult } from './igc-summary-result';
29
24
  /**
30
25
  * Returns the earliest time value in the data records. Compare only the time part of the date.
31
26
  * If filtering is applied, returns the earliest time value in the filtered data records.
32
- * ```typescript
33
- * IgxTimeSummaryOperand.earliestTime(data);
34
- * ```
35
- *
36
- * @memberof IgxTimeSummaryOperand
37
27
  */
38
28
  public static earliestTime(data: any[]): void;
39
29
 
40
30
 
41
31
  /**
42
- * @memberof IgxTimeSummaryOperand
43
32
  */
44
33
  public operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
45
34
 
@@ -0,0 +1,226 @@
1
+
2
+ import { IgcGridBaseDirective } from './igc-grid-base-directive';
3
+ import { IgcTreeGridRecord } from './igc-tree-grid-record';
4
+ import { IgcRenderFunction } from './common';
5
+ import { IgcCellType } from './igc-cell-type';
6
+ import { IgcRowType } from './igc-row-type';
7
+ import { IgcGridBaseDirectiveEventMap } from './igc-grid-base-directive';
8
+
9
+
10
+ /* wcSkipComponentSuffix */
11
+
12
+
13
+ /* wcAlternateName: TreeGridBase */
14
+ /* blazorIndirectRender
15
+ blazorComponent
16
+ omitModule
17
+ wcSkipComponentSuffix */
18
+ /**
19
+ * **Ignite UI for Angular Tree Grid** -
20
+ * [Documentation](https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/grid)
21
+ * The Ignite UI Tree Grid displays and manipulates hierarchical data with consistent schema formatted as a table and
22
+ * provides features such as sorting, filtering, editing, column pinning, paging, column moving and hiding.
23
+ * Example:
24
+ */
25
+
26
+ export declare class IgcTreeGridBaseComponent extends IgcGridBaseDirective
27
+ {
28
+
29
+ /* blazorSuppress */
30
+ static readonly tagName: string;
31
+ /* blazorSuppress */
32
+ static register(): void;
33
+
34
+
35
+
36
+ /**
37
+ * Sets the child data key of the tree grid.
38
+ */
39
+ public set childDataKey(value: string);
40
+ public get childDataKey(): string;
41
+
42
+
43
+
44
+ /**
45
+ * Sets the foreign key of the tree grid.
46
+ */
47
+ public set foreignKey(value: string);
48
+ public get foreignKey(): string;
49
+
50
+
51
+
52
+ /**
53
+ * Sets the key indicating whether a row has children.
54
+ * This property is only used for load on demand scenarios.
55
+ */
56
+ public set hasChildrenKey(value: string);
57
+ public get hasChildrenKey(): string;
58
+
59
+
60
+
61
+ /**
62
+ * Sets whether child records should be deleted when their parent gets deleted.
63
+ * By default it is set to true and deletes all children along with the parent.
64
+ */
65
+ public set cascadeOnDelete(value: boolean);
66
+ public get cascadeOnDelete(): boolean;
67
+
68
+
69
+
70
+ /* csSuppress */
71
+ /**
72
+ * Sets a callback for loading child rows on demand.
73
+ */
74
+ public set loadChildrenOnDemand(value: any);
75
+ public get loadChildrenOnDemand(): any;
76
+
77
+
78
+
79
+ /**
80
+ * Sets the value of the `id` attribute. If not provided it will be automatically generated.
81
+ */
82
+ public set id(value: string);
83
+ public get id(): string;
84
+
85
+
86
+
87
+ /**
88
+ * Returns an array of the root level `ITreeGridRecord`s.
89
+ */
90
+ public set rootRecords(value: IgcTreeGridRecord[]);
91
+ public get rootRecords(): IgcTreeGridRecord[];
92
+
93
+
94
+
95
+ /**
96
+ * Returns an array of processed (filtered and sorted) root `ITreeGridRecord`s.
97
+ */
98
+ public set processedRootRecords(value: IgcTreeGridRecord[]);
99
+ public get processedRootRecords(): IgcTreeGridRecord[];
100
+
101
+
102
+
103
+ /* treatAsRef */
104
+ /**
105
+ * Gets/Sets the array of data that populates the component.
106
+ */
107
+ public set data(value: any[]);
108
+ public get data(): any[];
109
+
110
+
111
+
112
+ /**
113
+ * Sets the count of levels to be expanded in the tree grid. By default it is
114
+ * set to `Infinity` which means all levels would be expanded.
115
+ */
116
+ public set expansionDepth(value: number);
117
+ public get expansionDepth(): number;
118
+
119
+
120
+
121
+ /**
122
+ * Template for the row loading indicator when load on demand is enabled.
123
+ */
124
+ public set rowLoadingIndicatorTemplate(value: IgcRenderFunction<void>);
125
+ public get rowLoadingIndicatorTemplate(): IgcRenderFunction<void>;
126
+
127
+
128
+
129
+ /**
130
+ * Returns an array of the selected grid cells.
131
+ */
132
+ public get selectedCells(): IgcCellType[];
133
+
134
+
135
+
136
+ public getDefaultExpandState(record: IgcTreeGridRecord): boolean;
137
+
138
+
139
+
140
+ /**
141
+ * Expands all rows.
142
+ */
143
+ public expandAll(): void;
144
+
145
+
146
+
147
+ /**
148
+ * Collapses all rows.
149
+ */
150
+ public collapseAll(): void;
151
+
152
+
153
+
154
+ /* blazorCSSuppress */
155
+ /**
156
+ * Creates a new tree grid row with the given data. If a parentRowID is not specified, the newly created
157
+ * row would be added at the root level. Otherwise, it would be added as a child of the row whose primaryKey matches
158
+ * the specified parentRowID. If the parentRowID does not exist, an error would be thrown.
159
+ * @param data
160
+ * @param parentRowID
161
+ */
162
+ // TODO: remove evt emission
163
+ public addRow(data: any, parentRowID?: any): void;
164
+
165
+
166
+
167
+ /**
168
+ * Enters add mode by spawning the UI with the context of the specified row by index.
169
+ * @param index - The index to spawn the UI at. Accepts integers from 0 to this.grid.dataView.length
170
+ * @param asChild - Whether the record should be added as a child. Only applicable to igxTreeGrid.
171
+ */
172
+ public beginAddRowByIndex(index: number, asChild?: boolean): void;
173
+
174
+
175
+
176
+ /**
177
+ * Returns an array of the current cell selection in the form of `[{ column.field: cell.value }, ...]`.
178
+ */
179
+ public getSelectedData(formatters?: boolean, headers?: boolean): any[];
180
+
181
+
182
+
183
+ /**
184
+ * Returns the tree grid row by index.
185
+ * @param index
186
+ */
187
+ public getRowByIndex(index: number): IgcRowType;
188
+
189
+
190
+
191
+ /**
192
+ * Returns the `RowType` object by the specified primary key.
193
+ * @param index
194
+ */
195
+ public getRowByKey(key: any): IgcRowType;
196
+
197
+
198
+
199
+ /**
200
+ * Returns a `CellType` object that matches the conditions.
201
+ * @param rowIndex
202
+ * @param columnField
203
+ */
204
+ public getCellByColumn(rowIndex: number, columnField: string): IgcCellType;
205
+
206
+
207
+
208
+ /**
209
+ * Returns a `CellType` object that matches the conditions.
210
+ * @param rowSelector match any rowID
211
+ * @param columnField
212
+ */
213
+ public getCellByKey(rowSelector: any, columnField: string): IgcCellType;
214
+
215
+
216
+
217
+ public pinRow(rowID: any, index?: number): boolean;
218
+
219
+
220
+
221
+ public unpinRow(rowID: any): boolean;
222
+
223
+ }
224
+
225
+ export type IgcTreeGridBaseComponentEventMap = IgcGridBaseDirectiveEventMap
226
+