@clr/angular 16.1.0 → 16.3.0

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.
@@ -1,11 +1,15 @@
1
- import { ElementRef, InjectionToken, Injector, OnDestroy, OnInit, Renderer2, Type, ViewContainerRef } from '@angular/core';
1
+ import { DoCheck, ElementRef, InjectionToken, Injector, OnDestroy, OnInit, Renderer2, Type, ViewContainerRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { Subscription } from 'rxjs';
4
4
  import { DynamicWrapper } from '../../utils/host-wrapping/dynamic-wrapper';
5
5
  import { ControlIdService } from './providers/control-id.service';
6
6
  import { NgControlService } from './providers/ng-control.service';
7
7
  import * as i0 from "@angular/core";
8
- export declare class WrappedFormControl<W extends DynamicWrapper> implements OnInit, OnDestroy {
8
+ export declare enum CHANGE_KEYS {
9
+ FORM = "form",
10
+ MODEL = "model"
11
+ }
12
+ export declare class WrappedFormControl<W extends DynamicWrapper> implements OnInit, DoCheck, OnDestroy {
9
13
  protected vcr: ViewContainerRef;
10
14
  protected wrapperType: Type<W>;
11
15
  private ngControl;
@@ -21,10 +25,13 @@ export declare class WrappedFormControl<W extends DynamicWrapper> implements OnI
21
25
  private markControlService;
22
26
  private containerIdService;
23
27
  private _containerInjector;
28
+ private differs;
29
+ private differ;
24
30
  constructor(vcr: ViewContainerRef, wrapperType: Type<W>, injector: Injector, ngControl: NgControl | null, renderer: Renderer2, el: ElementRef);
25
31
  get id(): string;
26
32
  set id(value: string);
27
33
  ngOnInit(): void;
34
+ ngDoCheck(): void;
28
35
  ngOnDestroy(): void;
29
36
  triggerValidation(): void;
30
37
  protected getProviderFromContainer<T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T): T;
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "@angular/common": "15 || 16",
23
23
  "@angular/core": "15 || 16",
24
24
  "@cds/core": ">= 6.7.0",
25
- "@clr/ui": "16.1.0"
25
+ "@clr/ui": "16.3.0"
26
26
  },
27
27
  "module": "fesm2015/clr-angular.mjs",
28
28
  "es2020": "fesm2020/clr-angular.mjs",
@@ -47,5 +47,5 @@
47
47
  "dependencies": {
48
48
  "tslib": "^2.3.0"
49
49
  },
50
- "version": "16.1.0"
50
+ "version": "16.3.0"
51
51
  }