@c8y/login 1024.16.10 → 1024.16.16

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,22 +1,22 @@
1
1
  {
2
2
  "name": "@c8y/login",
3
- "version": "1024.16.10",
3
+ "version": "1024.16.16",
4
4
  "description": "This package is used to scaffold a login application for Cumulocity IoT.",
5
5
  "dependencies": {
6
6
  "@angular/animations": "^21.2.0",
7
7
  "@angular/cdk": "^21.2.0",
8
- "@c8y/bootstrap": "1024.16.10",
9
- "@c8y/client": "1024.16.10",
10
- "@c8y/ngx-components": "1024.16.10",
11
- "@c8y/style": "1024.16.10",
8
+ "@c8y/bootstrap": "1024.16.16",
9
+ "@c8y/client": "1024.16.16",
10
+ "@c8y/ngx-components": "1024.16.16",
11
+ "@c8y/style": "1024.16.16",
12
12
  "monaco-editor": "~0.53.0",
13
13
  "ngx-bootstrap": "21.0.1",
14
14
  "rxjs": "7.8.2",
15
15
  "zone.js": "~0.15.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@c8y/devkit": "1024.16.10",
19
- "@c8y/options": "1024.16.10"
18
+ "@c8y/devkit": "1024.16.16",
19
+ "@c8y/options": "1024.16.16"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@angular/common": ">=21 <22"
@@ -1,4 +1,4 @@
1
- import { Component } from '@angular/core';
1
+ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { CookieBannerComponent } from '@c8y/ngx-components';
3
3
  import { LoginComponent } from '../login/login.component';
4
4
 
@@ -6,6 +6,7 @@ import { LoginComponent } from '../login/login.component';
6
6
  selector: 'c8y-bootstrap',
7
7
  templateUrl: './bootstrap-login.component.html',
8
8
  standalone: true,
9
- imports: [LoginComponent, CookieBannerComponent]
9
+ imports: [LoginComponent, CookieBannerComponent],
10
+ changeDetection: ChangeDetectionStrategy.Eager
10
11
  })
11
12
  export class BootstrapLoginComponent {}
@@ -1,4 +1,4 @@
1
- import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';
1
+ import { Component, EventEmitter, Input, OnInit, Output, ViewChild, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { FormsModule, NgModel, ValidatorFn } from '@angular/forms';
3
3
  import { ICredentials, IResetPassword, PasswordStrength, UserService } from '@c8y/client';
4
4
  import {
@@ -35,7 +35,8 @@ import { LoginService } from '../login.service';
35
35
  PasswordConfirm,
36
36
  PasswordCheckListComponent,
37
37
  C8yTranslatePipe
38
- ]
38
+ ],
39
+ changeDetection: ChangeDetectionStrategy.Eager
39
40
  })
40
41
  export class ChangePasswordComponent implements OnInit {
41
42
  @Input() credentials: ICredentials;
@@ -1,4 +1,4 @@
1
- import { Component, OnInit, Output, Input, EventEmitter } from '@angular/core';
1
+ import { Component, OnInit, Output, Input, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { LoginService } from '../login.service';
3
3
  import { ICredentials } from '@c8y/client';
4
4
  import {
@@ -30,7 +30,8 @@ import { FormsModule } from '@angular/forms';
30
30
  RequiredInputPlaceholderDirective,
31
31
  PasswordInputComponent,
32
32
  C8yTranslatePipe
33
- ]
33
+ ],
34
+ changeDetection: ChangeDetectionStrategy.Eager
34
35
  })
35
36
  export class CredentialsComponent implements OnInit {
36
37
  @Output() onChangeView = new EventEmitter<LoginEvent>();
@@ -4,7 +4,8 @@ import {
4
4
  OnInit,
5
5
  HostListener,
6
6
  OnDestroy,
7
- ViewEncapsulation
7
+ ViewEncapsulation,
8
+ ChangeDetectionStrategy
8
9
  } from '@angular/core';
9
10
  import { ICredentials, TenantLoginOptionType } from '@c8y/client';
10
11
  import { LoginService } from './login.service';
@@ -51,7 +52,8 @@ import { BinaryDownloadComponent } from './binary-download/binary-download.compo
51
52
  BinaryDownloadComponent,
52
53
  C8yTranslateDirective,
53
54
  C8yTranslatePipe
54
- ]
55
+ ],
56
+ changeDetection: ChangeDetectionStrategy.Eager
55
57
  })
56
58
  export class LoginComponent implements OnInit, OnDestroy {
57
59
  currentView: LoginViews = LoginViews.None;
@@ -1,4 +1,4 @@
1
- import { Component, inject } from '@angular/core';
1
+ import { Component, inject, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { AppSwitcherInlineComponent, C8yTranslatePipe, IconDirective } from '@c8y/ngx-components';
3
3
  import { LoginService } from '../login.service';
4
4
 
@@ -6,7 +6,8 @@ import { LoginService } from '../login.service';
6
6
  selector: 'c8y-missing-application-access',
7
7
  templateUrl: './missing-application-access.component.html',
8
8
  standalone: true,
9
- imports: [AppSwitcherInlineComponent, C8yTranslatePipe, IconDirective]
9
+ imports: [AppSwitcherInlineComponent, C8yTranslatePipe, IconDirective],
10
+ changeDetection: ChangeDetectionStrategy.Eager
10
11
  })
11
12
  export class MissingApplicationAccessComponent {
12
13
  private loginService = inject(LoginService);
@@ -1,4 +1,4 @@
1
- import { Component, Output, EventEmitter, Input } from '@angular/core';
1
+ import { Component, Output, EventEmitter, Input, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { LoginService } from '../login.service';
3
3
  import { LoginEvent, LoginViews } from '../login.model';
4
4
  import { ICredentials, UserService } from '@c8y/client';
@@ -25,7 +25,8 @@ import {
25
25
  RequiredInputPlaceholderDirective,
26
26
  PhoneValidationDirective,
27
27
  C8yTranslatePipe
28
- ]
28
+ ],
29
+ changeDetection: ChangeDetectionStrategy.Eager
29
30
  })
30
31
  export class ProvidePhoneNumberComponent {
31
32
  @Input() credentials: ICredentials;
@@ -1,4 +1,4 @@
1
- import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core';
1
+ import { Component, OnInit, Output, EventEmitter, Input, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { UserService } from '@c8y/client';
3
3
  import { LoginService } from '../login.service';
4
4
  import { LoginEvent, LoginViews } from '../login.model';
@@ -23,7 +23,8 @@ import { gettext } from '@c8y/ngx-components/gettext';
23
23
  FormGroupComponent,
24
24
  RequiredInputPlaceholderDirective,
25
25
  C8yTranslatePipe
26
- ]
26
+ ],
27
+ changeDetection: ChangeDetectionStrategy.Eager
27
28
  })
28
29
  export class RecoverPasswordComponent implements OnInit {
29
30
  @Input() recoverPasswordData: LoginEvent['recoverPasswordData'];
@@ -1,4 +1,4 @@
1
- import { Component, Output, EventEmitter, Input } from '@angular/core';
1
+ import { Component, Output, EventEmitter, Input, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { UserService, ICredentials } from '@c8y/client';
3
3
  import { LoginService } from '../login.service';
4
4
  import {
@@ -26,7 +26,8 @@ import { LoginEvent } from '../login.model';
26
26
  RequiredInputPlaceholderDirective,
27
27
  NgClass,
28
28
  C8yTranslatePipe
29
- ]
29
+ ],
30
+ changeDetection: ChangeDetectionStrategy.Eager
30
31
  })
31
32
  export class SmsChallengeComponent {
32
33
  @Input() credentials: ICredentials;
@@ -1,4 +1,4 @@
1
- import { Component, DOCUMENT, Inject, Output, EventEmitter } from '@angular/core';
1
+ import { Component, DOCUMENT, Inject, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { LoginEvent, LoginViews } from '../login.model';
3
3
  import { FetchClient } from '@c8y/client';
4
4
  import {
@@ -25,7 +25,8 @@ import { FormsModule } from '@angular/forms';
25
25
  FormGroupComponent,
26
26
  RequiredInputPlaceholderDirective,
27
27
  C8yTranslatePipe
28
- ]
28
+ ],
29
+ changeDetection: ChangeDetectionStrategy.Eager
29
30
  })
30
31
 
31
32
  /**
@@ -1,4 +1,4 @@
1
- import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core';
1
+ import { Component, OnInit, Output, EventEmitter, Input, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { ICredentials, UserService } from '@c8y/client';
3
3
  import {
4
4
  AlertService,
@@ -15,7 +15,8 @@ import { gettext } from '@c8y/ngx-components/gettext';
15
15
  selector: 'c8y-totp-auth',
16
16
  templateUrl: './totp-auth.component.html',
17
17
  standalone: true,
18
- imports: [C8yTranslateDirective, TotpSetupComponent, TotpChallengeComponent]
18
+ imports: [C8yTranslateDirective, TotpSetupComponent, TotpChallengeComponent],
19
+ changeDetection: ChangeDetectionStrategy.Eager
19
20
  })
20
21
  export class TotpAuthComponent implements OnInit {
21
22
  @Input() credentials: ICredentials;