@acorex/components 18.10.7 → 18.10.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,10 +56,12 @@ export class AXAlertComponent extends MXColorComponent {
56
56
  //TODO: Check Console for effect() can only be used within an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`
57
57
  this.timeOutEffect = () => {
58
58
  effect(() => {
59
- clearTimeout(this._timeOutRef);
60
- this._timeOutRef = window.setTimeout(() => {
61
- this.close();
62
- }, this.timeOut());
59
+ if (this.timeOut()) {
60
+ clearTimeout(this._timeOutRef);
61
+ this._timeOutRef = window.setTimeout(() => {
62
+ this.close();
63
+ }, this.timeOut());
64
+ }
63
65
  });
64
66
  };
65
67
  afterNextRender(() => {
@@ -141,4 +143,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
141
143
  type: HostBinding,
142
144
  args: ['class']
143
145
  }] } });
144
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2FsZXJ0L3NyYy9saWIvYWxlcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2FsZXJ0L3NyYy9saWIvYWxlcnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFXLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFFM0YsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRWxELE9BQU8sRUFDTCxlQUFlLEVBQ2YsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxZQUFZLEVBQ1osTUFBTSxFQUNOLFdBQVcsRUFDWCxLQUFLLEVBQ0w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