@ng-select/ng-select 21.5.0 → 21.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-select/ng-select",
3
- "version": "21.5.0",
3
+ "version": "21.5.2",
4
4
  "description": "Angular ng-select - All in One UI Select, Multiselect and Autocomplete",
5
5
  "author": "@ng-select/ng-select",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { ElementRef, OnChanges, OnInit, AfterViewInit, TemplateRef, SimpleChanges, InjectionToken } from '@angular/core';
2
+ import { OnInit, ElementRef, OnChanges, AfterViewInit, TemplateRef, SimpleChanges, InjectionToken } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import { Subject } from 'rxjs';
5
5
 
@@ -108,12 +108,15 @@ declare class ItemsList {
108
108
  private _flatten;
109
109
  }
110
110
 
111
- declare class NgOptionComponent {
111
+ declare class NgOptionComponent implements OnInit {
112
112
  readonly value: _angular_core.InputSignal<any>;
113
113
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
114
114
  readonly elementRef: ElementRef<any>;
115
115
  readonly label: _angular_core.WritableSignal<string>;
116
+ /** True when this component's inputs are initialized (after first change detection). */
117
+ readonly isInitialized: _angular_core.WritableSignal<boolean>;
116
118
  constructor();
119
+ ngOnInit(): void;
117
120
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgOptionComponent, never>;
118
121
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgOptionComponent, "ng-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
119
122
  }