simpo-component-library 1.6.143 → 1.6.146

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
11
11
  constructor(el: ElementRef, eventService: EventsService);
12
12
  ngOnDestroy(): void;
13
13
  ngOnChanges(change: SimpleChanges): void;
14
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
15
15
  applyButtonStyleChanges(): void;
16
16
  applyButtonType(style: ButtonStyleModel, color: string): void;
17
17
  applyButtonShape(style: ButtonStyleModel): void;
18
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
19
19
  buttonStyleSubscription?: Subscription;
20
20
  buttonStyleChangeCheck(): void;
21
21
  changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
12
12
  ngOnDestroy(): void;
13
13
  applyColor(): void;
14
14
  bgColorChangeCheck(): void;
15
- getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
15
+ getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -50,7 +50,6 @@ export declare class AuthenticateUserComponent extends BaseSection implements On
50
50
  countryCode: string | null;
51
51
  Password: string | null;
52
52
  confirmPass: string | null;
53
- newPassword: string | null;
54
53
  businessId: string | null;
55
54
  buttonLoading: boolean;
56
55
  constructor(matData: any, bottomsheetData: any, restService: RestService, router: Router, matDialog: MatDialog, storageService: StorageServiceService, dialogRef: MatDialogRef<AuthenticateUserComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticateUserComponent>, _eventService: EventsService, messageService: MessageService, fb: FormBuilder);
@@ -2,12 +2,17 @@ import { RestService } from '../../../services/rest.service';
2
2
  import { Router } from '@angular/router';
3
3
  import { MessageService } from 'primeng/api';
4
4
  import { StorageServiceService } from '../../../services/storage.service';
5
+ import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
6
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
5
7
  import * as i0 from "@angular/core";
6
8
  export declare class AuthenticationRequiredComponent {
7
9
  private readonly restService;
8
10
  private readonly router;
9
11
  private readonly messageService;
10
12
  private readonly storageService;
13
+ private readonly matDialog;
14
+ private readonly dialogRef;
15
+ private readonly bottomsheetRef;
11
16
  email: string;
12
17
  mobile: string;
13
18
  otp: string;
@@ -16,10 +21,16 @@ export declare class AuthenticationRequiredComponent {
16
21
  userName: string;
17
22
  buttonLoading: boolean;
18
23
  businessId: string | null;
19
- constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService);
24
+ constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
25
+ loginType: "PASSWORD" | "OTP";
20
26
  login(): void;
27
+ verifyPassword(): void;
28
+ verifyOTP(): void;
21
29
  createAccount(): void;
30
+ enterMobile(): void;
31
+ generateOTP(): void;
32
+ validateNumber(event: KeyboardEvent): void;
22
33
  get isMobile(): boolean;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, never>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
24
35
  static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationRequiredComponent, "simpo-authentication-required", never, {}, {}, never, never, true, never>;
25
36
  }
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
16
16
  style?: PricingSectionStylesModel;
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
- getTextColor(): "#000000" | "#ffffff";
19
+ getTextColor(): "#ffffff" | "#000000";
20
20
  get headingSpace(): SPACING;
21
21
  editSection(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.143",
3
+ "version": "1.6.146",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",