igniteui-angular 12.3.27 → 12.3.30

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 (34) hide show
  1. package/bundles/igniteui-angular.umd.js +294 -170
  2. package/bundles/igniteui-angular.umd.js.map +1 -1
  3. package/esm2015/lib/grids/api.service.js +3 -4
  4. package/esm2015/lib/grids/columns/column.component.js +5 -5
  5. package/esm2015/lib/grids/common/crud.service.js +3 -3
  6. package/esm2015/lib/grids/common/events.js +1 -1
  7. package/esm2015/lib/grids/grid/grid.component.js +11 -11
  8. package/esm2015/lib/grids/grid-base.directive.js +83 -85
  9. package/esm2015/lib/grids/grid-mrl-navigation.service.js +2 -2
  10. package/esm2015/lib/grids/grid-public-row.js +3 -3
  11. package/esm2015/lib/grids/grouping/group-by-area.directive.js +1 -1
  12. package/esm2015/lib/grids/grouping/tree-grid-group-by-area.component.js +6 -6
  13. package/esm2015/lib/grids/hierarchical-grid/hierarchical-grid-base.directive.js +4 -5
  14. package/esm2015/lib/grids/hierarchical-grid/hierarchical-grid.component.js +25 -14
  15. package/esm2015/lib/grids/hierarchical-grid/row-island.component.js +7 -11
  16. package/esm2015/lib/grids/state.directive.js +12 -9
  17. package/esm2015/lib/grids/summaries/grid-summary.service.js +5 -5
  18. package/esm2015/lib/grids/tree-grid/tree-grid.component.js +25 -9
  19. package/esm2015/lib/services/exporter-common/base-export-service.js +3 -3
  20. package/esm2015/lib/simple-combo/simple-combo.component.js +2 -2
  21. package/esm2015/lib/splitter/splitter-pane/splitter-pane.component.js +58 -6
  22. package/esm2015/lib/splitter/splitter.component.js +22 -3
  23. package/esm2015/lib/tree/tree.component.js +30 -1
  24. package/fesm2015/igniteui-angular.js +289 -167
  25. package/fesm2015/igniteui-angular.js.map +1 -1
  26. package/igniteui-angular.metadata.json +1 -1
  27. package/lib/grids/common/events.d.ts +1 -0
  28. package/lib/grids/grid-base.directive.d.ts +9 -13
  29. package/lib/grids/hierarchical-grid/hierarchical-grid.component.d.ts +2 -1
  30. package/lib/grids/hierarchical-grid/row-island.component.d.ts +1 -0
  31. package/lib/grids/tree-grid/tree-grid.component.d.ts +2 -2
  32. package/lib/splitter/splitter-pane/splitter-pane.component.d.ts +19 -5
  33. package/lib/tree/tree.component.d.ts +29 -0
  34. package/package.json +1 -1
@@ -65,6 +65,7 @@ export interface IPinColumnCancellableEventArgs extends IPinColumnEventArgs, Can
65
65
  }
66
66
  export interface IRowDataEventArgs extends IBaseEventArgs {
67
67
  data: any;
68
+ owner: GridType;
68
69
  }
69
70
  export interface IColumnResizeEventArgs extends IBaseEventArgs {
70
71
  column: IgxColumnComponent;
@@ -2385,11 +2385,6 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
2385
2385
  * @hidden @internal
2386
2386
  */
2387
2387
  get summariesMargin(): number;
2388
- /**
2389
- * @hidden
2390
- * @internal
2391
- */
2392
- get columns(): IgxColumnComponent[];
2393
2388
  /**
2394
2389
  * Gets an array of `IgxColumnComponent`s.
2395
2390
  *
@@ -2398,7 +2393,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
2398
2393
  * const colums = this.grid.columnsCollection.
2399
2394
  * ```
2400
2395
  */
2401
- get columnsCollection(): IgxColumnComponent[];
2396
+ get columns(): IgxColumnComponent[];
2402
2397
  /**
2403
2398
  * Gets an array of the pinned `IgxColumnComponent`s.
2404
2399
  *
@@ -3347,12 +3342,6 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
3347
3342
  * @param asChild - Whether the record should be added as a child. Only applicable to igxTreeGrid.
3348
3343
  */
3349
3344
  beginAddRowById(rowID: any, asChild?: boolean): void;
3350
- /**
3351
- * Update internal column's collection.
3352
- *
3353
- * @hidden
3354
- */
3355
- updateColumns(newColumns: IgxColumnComponent[]): void;
3356
3345
  /**
3357
3346
  * Enters add mode by spawning the UI at the specified index.
3358
3347
  *
@@ -3365,6 +3354,12 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
3365
3354
  * @param index - The index to spawn the UI at. Accepts integers from 0 to this.grid.dataView.length
3366
3355
  */
3367
3356
  beginAddRowByIndex(index: number): void;
3357
+ /**
3358
+ * Update internal column's collection.
3359
+ *
3360
+ * @hidden
3361
+ */
3362
+ updateColumns(newColumns: IgxColumnComponent[]): void;
3368
3363
  protected beginAddRowForIndex(index: number, asChild?: boolean): void;
3369
3364
  protected switchTransactionService(val: boolean): void;
3370
3365
  protected subscribeToTransactions(): void;
@@ -3427,6 +3422,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
3427
3422
  */
3428
3423
  protected _moveChildColumns(parent: IgxColumnComponent, from: IgxColumnComponent, to: IgxColumnComponent, pos: DropPosition): void;
3429
3424
  protected setupColumns(): void;
3425
+ protected getColumnList(): IgxColumnComponent[];
3430
3426
  /**
3431
3427
  * @hidden
3432
3428
  */
@@ -3526,7 +3522,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
3526
3522
  /**
3527
3523
  * @hidden
3528
3524
  */
3529
- protected initColumns(collection: QueryList<IgxColumnComponent>, cb?: (args: any) => void): void;
3525
+ protected initColumns(collection: IgxColumnComponent[], cb?: (args: any) => void): void;
3530
3526
  /**
3531
3527
  * @hidden
3532
3528
  */
@@ -354,8 +354,9 @@ export declare class IgxHierarchicalGridComponent extends IgxHierarchicalGridBas
354
354
  /**
355
355
  * @hidden
356
356
  */
357
- protected initColumns(collection: QueryList<IgxColumnComponent>, cb?: (args: any) => void): void;
357
+ protected initColumns(collection: IgxColumnComponent[], cb?: (args: any) => void): void;
358
358
  protected setupColumns(): void;
359
+ protected getColumnList(): IgxColumnComponent[];
359
360
  protected onColumnsChanged(change: QueryList<IgxColumnComponent>): void;
360
361
  protected _shouldAutoSize(renderedHeight: any): boolean;
361
362
  private updateColumnList;
@@ -97,6 +97,7 @@ export declare class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirect
97
97
  rootGrid: any;
98
98
  readonly data: any[] | null;
99
99
  readonly filteredData: any[];
100
+ protected _childColumns: any[];
100
101
  private ri_columnListDiffer;
101
102
  private layout_id;
102
103
  private isInit;
@@ -1,4 +1,4 @@
1
- import { OnInit, TemplateRef, QueryList, AfterContentInit, DoCheck, AfterViewInit, ElementRef, NgZone, ChangeDetectorRef, ComponentFactoryResolver, IterableDiffers, ViewContainerRef } from '@angular/core';
1
+ import { OnInit, TemplateRef, AfterContentInit, DoCheck, AfterViewInit, ElementRef, NgZone, ChangeDetectorRef, ComponentFactoryResolver, IterableDiffers, ViewContainerRef } from '@angular/core';
2
2
  import { IgxGridBaseDirective } from '../grid-base.directive';
3
3
  import { GridBaseAPIService } from '../api.service';
4
4
  import { ITreeGridRecord } from './tree-grid.interfaces';
@@ -485,7 +485,7 @@ export declare class IgxTreeGridComponent extends IgxGridBaseDirective implement
485
485
  /**
486
486
  * @hidden
487
487
  */
488
- protected initColumns(collection: QueryList<IgxColumnComponent>, cb?: (args: any) => void): void;
488
+ protected initColumns(collection: IgxColumnComponent[], cb?: (args: any) => void): void;
489
489
  /**
490
490
  * @hidden @internal
491
491
  */
@@ -30,7 +30,8 @@ export declare class IgxSplitterPaneComponent {
30
30
  * </igx-splitter>
31
31
  * ```
32
32
  */
33
- minSize: string;
33
+ get minSize(): string;
34
+ set minSize(value: string);
34
35
  /**
35
36
  * Gets/Set the maximum allowed size of the current pane.
36
37
  *
@@ -41,7 +42,8 @@ export declare class IgxSplitterPaneComponent {
41
42
  * </igx-splitter>
42
43
  * ```
43
44
  */
44
- maxSize: string;
45
+ get maxSize(): string;
46
+ set maxSize(value: string);
45
47
  /**
46
48
  * Gets/Sets whether pane is resizable.
47
49
  *
@@ -75,12 +77,22 @@ export declare class IgxSplitterPaneComponent {
75
77
  overflow: string;
76
78
  /**
77
79
  * @hidden @internal
78
- * Gets/Sets the `minHeight` and `minWidth` properties of the current pane.
80
+ * Get/Sets the `minWidth` properties of the current pane.
79
81
  */
80
- minHeight: number;
82
+ minWidth: string;
81
83
  /**
82
84
  * @hidden @internal
83
- * Gets/Sets the `maxHeight` and `maxWidth` properties of the current `IgxSplitterPaneComponent`.
85
+ * Get/Sets the `maxWidth` properties of the current pane.
86
+ */
87
+ maxWidth: string;
88
+ /**
89
+ * @hidden @internal
90
+ * Gets/Sets the `minHeight` properties of the current pane.
91
+ */
92
+ minHeight: string;
93
+ /**
94
+ * @hidden @internal
95
+ * Gets/Sets the `maxHeight` properties of the current `IgxSplitterPaneComponent`.
84
96
  */
85
97
  maxHeight: string;
86
98
  /** @hidden @internal */
@@ -122,6 +134,8 @@ export declare class IgxSplitterPaneComponent {
122
134
  */
123
135
  set collapsed(value: boolean);
124
136
  get collapsed(): boolean;
137
+ private _minSize;
138
+ private _maxSize;
125
139
  private _size;
126
140
  private _dragSize;
127
141
  private _collapsed;
@@ -18,6 +18,35 @@ export declare class IgxTreeSelectMarkerDirective {
18
18
  */
19
19
  export declare class IgxTreeExpandIndicatorDirective {
20
20
  }
21
+ /**
22
+ * IgxTreeComponent allows a developer to show a set of nodes in a hierarchical fashion.
23
+ *
24
+ * @igxModule IgxTreeModule
25
+ * @igxKeywords tree
26
+ * @igxTheme igx-tree-theme
27
+ * @igxGroup Grids & Lists
28
+ *
29
+ * @remark
30
+ * The Angular Tree Component allows users to represent hierarchical data in a tree-view structure,
31
+ * maintaining parent-child relationships, as well as to define static tree-view structure without a corresponding data model.
32
+ * Its primary purpose is to allow end-users to visualize and navigate within hierarchical data structures.
33
+ * The Ignite UI for Angular Tree Component also provides load on demand capabilities, item activation,
34
+ * bi-state and cascading selection of items through built-in checkboxes, built-in keyboard navigation and more.
35
+ *
36
+ * @example
37
+ * ```html
38
+ * <igx-tree>
39
+ * <igx-tree-node>
40
+ * I am a parent node 1
41
+ * <igx-tree-node>
42
+ * I am a child node 1
43
+ * </igx-tree-node>
44
+ * ...
45
+ * </igx-tree-node>
46
+ * ...
47
+ * </igx-tree>
48
+ * ```
49
+ */
21
50
  export declare class IgxTreeComponent extends DisplayDensityBase implements IgxTree, OnInit, AfterViewInit, OnDestroy {
22
51
  private navService;
23
52
  private selectionService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "12.3.27",
3
+ "version": "12.3.30",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",