igniteui-angular 20.0.15 → 20.0.17

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.
@@ -9907,6 +9907,9 @@ class IgxInputDirective {
9907
9907
  */
9908
9908
  onBlur() {
9909
9909
  this.inputGroup.isFocused = false;
9910
+ if (this.ngControl?.control) {
9911
+ this.ngControl.control.markAsTouched();
9912
+ }
9910
9913
  this.updateValidityState();
9911
9914
  }
9912
9915
  /** @hidden @internal */
@@ -41730,7 +41733,7 @@ class IgxDialogComponent {
41730
41733
  /**
41731
41734
  * Set the position and animation settings used by the dialog.
41732
41735
  * ```typescript
41733
- * import { slideInLeft, slideOutRight } from 'igniteui-angular';
41736
+ * import { slideInLeft, slideOutRight } from 'igniteui-angular/animations';
41734
41737
  * ...
41735
41738
  * @ViewChild('alert', { static: true }) public alert: IgxDialogComponent;
41736
41739
  * public newPositionSettings: PositionSettings = {
@@ -54749,11 +54752,12 @@ class IgxTreeComponent {
54749
54752
  get rootNodes() {
54750
54753
  return this.nodes?.filter(node => node.level === 0);
54751
54754
  }
54752
- constructor(navService, selectionService, treeService, element) {
54755
+ constructor(navService, selectionService, treeService, element, platform) {
54753
54756
  this.navService = navService;
54754
54757
  this.selectionService = selectionService;
54755
54758
  this.treeService = treeService;
54756
54759
  this.element = element;
54760
+ this.platform = platform;
54757
54761
  this.cssClass = 'igx-tree';
54758
54762
  /** Get/Set how the tree should handle branch expansion.
54759
54763
  * If set to `true`, only a single branch can be expanded at a time, collapsing all others
@@ -55068,9 +55072,11 @@ class IgxTreeComponent {
55068
55072
  subToChanges() {
55069
55073
  this.unsubChildren$.next();
55070
55074
  const toBeSelected = [...this.forceSelect];
55071
- requestAnimationFrame(() => {
55072
- this.selectionService.selectNodesWithNoEvent(toBeSelected);
55073
- });
55075
+ if (this.platform.isBrowser) {
55076
+ requestAnimationFrame(() => {
55077
+ this.selectionService.selectNodesWithNoEvent(toBeSelected);
55078
+ });
55079
+ }
55074
55080
  this.forceSelect = [];
55075
55081
  this.nodes.forEach(node => {
55076
55082
  node.expandedChange.pipe(takeUntil(this.unsubChildren$)).subscribe(nodeState => {
@@ -55102,7 +55108,7 @@ class IgxTreeComponent {
55102
55108
  this.nativeElement.scrollTop + bottomOffset + topOffset + (topOffset ? -1 : +1) * nodeRect.height;
55103
55109
  }
55104
55110
  }
55105
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: IgxTreeComponent, deps: [{ token: IgxTreeNavigationService }, { token: IgxTreeSelectionService }, { token: IgxTreeService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
55111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: IgxTreeComponent, deps: [{ token: IgxTreeNavigationService }, { token: IgxTreeSelectionService }, { token: IgxTreeService }, { token: i0.ElementRef }, { token: PlatformUtil }], target: i0.ɵɵFactoryTarget.Component }); }
55106
55112
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.0.0", type: IgxTreeComponent, isStandalone: true, selector: "igx-tree", inputs: { selection: "selection", singleBranchExpand: ["singleBranchExpand", "singleBranchExpand", booleanAttribute], toggleNodeOnClick: ["toggleNodeOnClick", "toggleNodeOnClick", booleanAttribute], animationSettings: "animationSettings" }, outputs: { nodeSelection: "nodeSelection", nodeExpanding: "nodeExpanding", nodeExpanded: "nodeExpanded", nodeCollapsing: "nodeCollapsing", nodeCollapsed: "nodeCollapsed", activeNodeChanged: "activeNodeChanged" }, host: { properties: { "class.igx-tree": "this.cssClass" } }, providers: [
55107
55113
  IgxTreeService,
55108
55114
  IgxTreeSelectionService,
@@ -55118,7 +55124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImpor
55118
55124
  IgxTreeNavigationService,
55119
55125
  { provide: IGX_TREE_COMPONENT, useExisting: IgxTreeComponent },
55120
55126
  ], standalone: true, template: "<div class=\"igx-tree__root\" role=\"tree\" (keydown)=\"handleKeydown($event)\">\n <ng-content select=\"igx-tree-node\"></ng-content>\n</div>\n" }]
55121
- }], ctorParameters: () => [{ type: IgxTreeNavigationService }, { type: IgxTreeSelectionService }, { type: IgxTreeService }, { type: i0.ElementRef }], propDecorators: { cssClass: [{
55127
+ }], ctorParameters: () => [{ type: IgxTreeNavigationService }, { type: IgxTreeSelectionService }, { type: IgxTreeService }, { type: i0.ElementRef }, { type: PlatformUtil }], propDecorators: { cssClass: [{
55122
55128
  type: HostBinding,
55123
55129
  args: ['class.igx-tree']
55124
55130
  }], selection: [{