igniteui-webcomponents-grids 7.2.0-beta.0 → 7.2.0-beta.2

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 (89) hide show
  1. package/custom-elements.json +13000 -12995
  2. package/grids/combined.js +29644 -28593
  3. package/grids/lib/igc-action-strip-component.d.ts +0 -39
  4. package/grids/lib/igc-base-exporter.d.ts +1 -25
  5. package/grids/lib/igc-base-toolbar-directive.d.ts +0 -1
  6. package/grids/lib/igc-boolean-filtering-operand.d.ts +0 -2
  7. package/grids/lib/igc-column-component.d.ts +0 -489
  8. package/grids/lib/igc-column-exporting-event-args.d.ts +0 -5
  9. package/grids/lib/igc-column-group-component.d.ts +0 -55
  10. package/grids/lib/igc-column-layout-component.d.ts +0 -12
  11. package/grids/lib/igc-column-toggled-event-args.d.ts +1 -1
  12. package/grids/lib/igc-columns-auto-generated-event-args.d.ts +0 -2
  13. package/grids/lib/igc-csv-exporter-options.d.ts +0 -10
  14. package/grids/lib/igc-csv-exporter-service.d.ts +1 -23
  15. package/grids/lib/igc-data-clone-strategy.d.ts +0 -1
  16. package/grids/lib/igc-date-filtering-operand.d.ts +0 -2
  17. package/grids/lib/igc-date-summary-operand.d.ts +1 -38
  18. package/grids/lib/igc-dimensions-change.d.ts +1 -0
  19. package/grids/lib/igc-excel-exporter-options.d.ts +0 -27
  20. package/grids/lib/igc-excel-exporter-service.d.ts +1 -22
  21. package/grids/lib/igc-exporter-event-args.d.ts +12 -16
  22. package/grids/lib/igc-exporter-options-base.d.ts +4 -63
  23. package/grids/lib/igc-expression-tree.d.ts +1 -0
  24. package/grids/lib/igc-field-type.d.ts +0 -2
  25. package/grids/lib/igc-filtering-expressions-tree.d.ts +2 -0
  26. package/grids/lib/igc-filtering-operand.d.ts +0 -4
  27. package/grids/lib/igc-filtering-operation.d.ts +0 -2
  28. package/grids/lib/igc-grid-actions-base-directive.d.ts +0 -6
  29. package/grids/lib/igc-grid-base-component.d.ts +300 -0
  30. package/grids/lib/igc-grid-base-directive.d.ts +28 -1131
  31. package/grids/lib/igc-grid-component.d.ts +18 -512
  32. package/grids/lib/igc-grid-created-event-args.d.ts +4 -4
  33. package/grids/lib/igc-grid-editing-actions-component.d.ts +0 -7
  34. package/grids/lib/igc-grid-pinning-actions-component.d.ts +0 -12
  35. package/grids/lib/igc-grid-resource-strings.d.ts +1 -0
  36. package/grids/lib/igc-grid-state-base-directive.d.ts +0 -6
  37. package/grids/lib/igc-grid-state-component.d.ts +0 -5
  38. package/grids/lib/igc-grid-toolbar-actions-component.d.ts +0 -10
  39. package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -10
  40. package/grids/lib/igc-grid-toolbar-component.d.ts +0 -14
  41. package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +2 -2
  42. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +0 -8
  43. package/grids/lib/igc-grid-toolbar-hiding-component.d.ts +0 -9
  44. package/grids/lib/igc-grid-toolbar-pinning-component.d.ts +0 -9
  45. package/grids/lib/igc-grid-toolbar-title-component.d.ts +0 -8
  46. package/grids/lib/igc-hierarchical-grid-base-component.d.ts +151 -0
  47. package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +0 -20
  48. package/grids/lib/igc-hierarchical-grid-component.d.ts +28 -184
  49. package/grids/lib/igc-number-filtering-operand.d.ts +0 -2
  50. package/grids/lib/igc-number-summary-operand.d.ts +1 -53
  51. package/grids/lib/igc-overlay-outlet-directive.d.ts +0 -3
  52. package/grids/lib/igc-paginator-component.d.ts +2 -81
  53. package/grids/lib/igc-pinning-config.d.ts +2 -0
  54. package/grids/lib/igc-pivot-aggregation.d.ts +8 -0
  55. package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
  56. package/grids/lib/igc-pivot-data-selector-component.d.ts +0 -87
  57. package/grids/lib/igc-pivot-date-dimension.d.ts +0 -3
  58. package/grids/lib/igc-pivot-grid-component.d.ts +0 -163
  59. package/grids/lib/igc-pivot-value.d.ts +1 -1
  60. package/grids/lib/igc-position-settings.d.ts +4 -0
  61. package/grids/lib/igc-position-strategy.d.ts +1 -4
  62. package/grids/lib/igc-query-builder-component.d.ts +1 -14
  63. package/grids/lib/igc-query-builder-header-component.d.ts +1 -13
  64. package/grids/lib/igc-row-data-cancelable-event-args.d.ts +28 -0
  65. package/grids/lib/igc-row-directive.d.ts +1 -55
  66. package/grids/lib/igc-row-island-base-component.d.ts +71 -0
  67. package/grids/lib/igc-row-island-component.d.ts +68 -1132
  68. package/grids/lib/igc-scroll-strategy.d.ts +1 -7
  69. package/grids/lib/igc-string-filtering-operand.d.ts +0 -4
  70. package/grids/lib/igc-summary-operand.d.ts +1 -33
  71. package/grids/lib/igc-summary-result.d.ts +0 -9
  72. package/grids/lib/igc-time-summary-operand.d.ts +0 -11
  73. package/grids/lib/igc-tree-grid-base-component.d.ts +221 -0
  74. package/grids/lib/igc-tree-grid-component.d.ts +23 -341
  75. package/grids/lib/igc-validation-errors.d.ts +4 -0
  76. package/grids/lib/index.d.ts +60 -56
  77. package/grids/lib/pivot-row-layout-type.d.ts +1 -1
  78. package/grids/lib/pivot-summary-position.d.ts +1 -1
  79. package/grids/themes/dark/bootstrap.css +1 -1
  80. package/grids/themes/dark/fluent.css +1 -1
  81. package/grids/themes/dark/indigo.css +1 -1
  82. package/grids/themes/dark/material.css +1 -1
  83. package/grids/themes/light/bootstrap.css +1 -1
  84. package/grids/themes/light/fluent.css +1 -1
  85. package/grids/themes/light/indigo.css +1 -1
  86. package/grids/themes/light/material.css +1 -1
  87. package/package.json +1 -1
  88. package/vscode.html-custom-data.json +1 -1
  89. 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,221 @@
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
+
30
+
31
+ /**
32
+ * Sets the child data key of the tree grid.
33
+ */
34
+ public set childDataKey(value: string);
35
+ public get childDataKey(): string;
36
+
37
+
38
+
39
+ /**
40
+ * Sets the foreign key of the tree grid.
41
+ */
42
+ public set foreignKey(value: string);
43
+ public get foreignKey(): string;
44
+
45
+
46
+
47
+ /**
48
+ * Sets the key indicating whether a row has children.
49
+ * This property is only used for load on demand scenarios.
50
+ */
51
+ public set hasChildrenKey(value: string);
52
+ public get hasChildrenKey(): string;
53
+
54
+
55
+
56
+ /**
57
+ * Sets whether child records should be deleted when their parent gets deleted.
58
+ * By default it is set to true and deletes all children along with the parent.
59
+ */
60
+ public set cascadeOnDelete(value: boolean);
61
+ public get cascadeOnDelete(): boolean;
62
+
63
+
64
+
65
+ /* csSuppress */
66
+ /**
67
+ * Sets a callback for loading child rows on demand.
68
+ */
69
+ public set loadChildrenOnDemand(value: any);
70
+ public get loadChildrenOnDemand(): any;
71
+
72
+
73
+
74
+ /**
75
+ * Sets the value of the `id` attribute. If not provided it will be automatically generated.
76
+ */
77
+ public set id(value: string);
78
+ public get id(): string;
79
+
80
+
81
+
82
+ /**
83
+ * Returns an array of the root level `ITreeGridRecord`s.
84
+ */
85
+ public set rootRecords(value: IgcTreeGridRecord[]);
86
+ public get rootRecords(): IgcTreeGridRecord[];
87
+
88
+
89
+
90
+ /**
91
+ * Returns an array of processed (filtered and sorted) root `ITreeGridRecord`s.
92
+ */
93
+ public set processedRootRecords(value: IgcTreeGridRecord[]);
94
+ public get processedRootRecords(): IgcTreeGridRecord[];
95
+
96
+
97
+
98
+ /* treatAsRef */
99
+ /**
100
+ * Gets/Sets the array of data that populates the component.
101
+ */
102
+ public set data(value: any[]);
103
+ public get data(): any[];
104
+
105
+
106
+
107
+ /**
108
+ * Sets the count of levels to be expanded in the tree grid. By default it is
109
+ * set to `Infinity` which means all levels would be expanded.
110
+ */
111
+ public set expansionDepth(value: number);
112
+ public get expansionDepth(): number;
113
+
114
+
115
+
116
+ /**
117
+ * Template for the row loading indicator when load on demand is enabled.
118
+ */
119
+ public set rowLoadingIndicatorTemplate(value: IgcRenderFunction<void>);
120
+ public get rowLoadingIndicatorTemplate(): IgcRenderFunction<void>;
121
+
122
+
123
+
124
+ /**
125
+ * Returns an array of the selected grid cells.
126
+ */
127
+ public get selectedCells(): IgcCellType[];
128
+
129
+
130
+
131
+ public getDefaultExpandState(record: IgcTreeGridRecord): boolean;
132
+
133
+
134
+
135
+ /**
136
+ * Expands all rows.
137
+ */
138
+ public expandAll(): void;
139
+
140
+
141
+
142
+ /**
143
+ * Collapses all rows.
144
+ */
145
+ public collapseAll(): void;
146
+
147
+
148
+
149
+ /* blazorCSSuppress */
150
+ /**
151
+ * Creates a new tree grid row with the given data. If a parentRowID is not specified, the newly created
152
+ * row would be added at the root level. Otherwise, it would be added as a child of the row whose primaryKey matches
153
+ * the specified parentRowID. If the parentRowID does not exist, an error would be thrown.
154
+ * @param data
155
+ * @param parentRowID
156
+ */
157
+ // TODO: remove evt emission
158
+ public addRow(data: any, parentRowID?: any): void;
159
+
160
+
161
+
162
+ /**
163
+ * Enters add mode by spawning the UI with the context of the specified row by index.
164
+ * @param index - The index to spawn the UI at. Accepts integers from 0 to this.grid.dataView.length
165
+ * @param asChild - Whether the record should be added as a child. Only applicable to igxTreeGrid.
166
+ */
167
+ public beginAddRowByIndex(index: number, asChild?: boolean): void;
168
+
169
+
170
+
171
+ /**
172
+ * Returns an array of the current cell selection in the form of `[{ column.field: cell.value }, ...]`.
173
+ */
174
+ public getSelectedData(formatters?: boolean, headers?: boolean): any[];
175
+
176
+
177
+
178
+ /**
179
+ * Returns the tree grid row by index.
180
+ * @param index
181
+ */
182
+ public getRowByIndex(index: number): IgcRowType;
183
+
184
+
185
+
186
+ /**
187
+ * Returns the `RowType` object by the specified primary key.
188
+ * @param index
189
+ */
190
+ public getRowByKey(key: any): IgcRowType;
191
+
192
+
193
+
194
+ /**
195
+ * Returns a `CellType` object that matches the conditions.
196
+ * @param rowIndex
197
+ * @param columnField
198
+ */
199
+ public getCellByColumn(rowIndex: number, columnField: string): IgcCellType;
200
+
201
+
202
+
203
+ /**
204
+ * Returns a `CellType` object that matches the conditions.
205
+ * @param rowSelector match any rowID
206
+ * @param columnField
207
+ */
208
+ public getCellByKey(rowSelector: any, columnField: string): IgcCellType;
209
+
210
+
211
+
212
+ public pinRow(rowID: any, index?: number): boolean;
213
+
214
+
215
+
216
+ public unpinRow(rowID: any): boolean;
217
+
218
+ }
219
+
220
+ export type IgcTreeGridBaseComponentEventMap = IgcGridBaseDirectiveEventMap
221
+