simpo-component-library 3.6.128 → 3.6.129

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.
@@ -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): "#ffffff" | "#000000" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#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
  }
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
16
16
  applyButtonStyleChanges(): void;
17
17
  applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
18
18
  applyButtonShape(style: ButtonStyleModel): void;
19
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
19
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
20
20
  buttonStyleSubscription?: Subscription;
21
21
  buttonStyleChangeCheck(): void;
22
22
  changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): 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(): "#ffffff" | "#000000" | "#ffffff;";
15
+ getTextColor(): "#000000" | "#ffffff" | "#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
  }
@@ -1,3 +1,4 @@
1
+ import { ElementRef } from '@angular/core';
1
2
  import { RestService } from '../../../services/rest.service';
2
3
  import { ActivatedRoute, Router } from '@angular/router';
3
4
  import { MessageService } from 'primeng/api';
@@ -15,6 +16,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
15
16
  private readonly storageService;
16
17
  private readonly matDialog;
17
18
  private readonly activatedRoute;
19
+ private elementRef;
18
20
  private readonly dialogRef;
19
21
  private readonly bottomsheetRef;
20
22
  data?: AuthenticationModel;
@@ -41,10 +43,11 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
41
43
  type: string;
42
44
  active: boolean;
43
45
  }[];
44
- constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, activatedRoute: ActivatedRoute, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
46
+ constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, activatedRoute: ActivatedRoute, elementRef: ElementRef, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
45
47
  signUpEnabled: any;
46
48
  proceedToCheckout: boolean;
47
49
  ngOnInit(): void;
50
+ ngAfterViewInit(): void;
48
51
  loginType: "PASSWORD" | "OTP";
49
52
  close(): void;
50
53
  login(): void;
@@ -58,12 +61,15 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
58
61
  validateNumber(event: KeyboardEvent): void;
59
62
  validateOTP(event: KeyboardEvent): void;
60
63
  checkStrength(): void;
61
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
64
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
62
65
  get isEmailValid(): boolean;
63
66
  get isPasswordValid(): boolean;
64
67
  get isMobile(): boolean;
65
68
  get stylesLayout(): LayOutModel;
66
69
  get accentColor(): string;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
70
+ private hexToRgba;
71
+ setup3DEffects(): void;
72
+ showPassword: boolean;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
68
74
  static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticationRequiredComponent, "simpo-authentication-required", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
69
75
  }
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
30
30
  get getDirection(): "ROW" | "COLUMN" | undefined;
31
31
  get isMobile(): boolean;
32
32
  editSection(): void;
33
- getColor(color: any): "#ffffff" | "#000000";
33
+ getColor(color: any): "#000000" | "#ffffff";
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
36
36
  }
@@ -101,7 +101,7 @@ export declare class ProductDescComponent extends BaseSection {
101
101
  getDifference(sellingPrice: any, mrp: any): number;
102
102
  getBackgroundColor(type: string): "#FFF4D1" | "#EFE1F4" | "linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%)" | "#e2f6ff";
103
103
  getHeaderColor(type: string): "#FDCD33" | "#9D43B8" | "linear-gradient(180deg, #BDBDBD 0%, #E2E2E2 100%)" | "linear-gradient(159deg, rgba(65,105,225,1) 0%, rgba(137,207,240,1) 100%)";
104
- getTextColor(color: any): "#ffffff" | "#000000";
104
+ getTextColor(color: any): "#000000" | "#ffffff";
105
105
  languages: string[];
106
106
  selectedLang: string;
107
107
  getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
@@ -27,7 +27,7 @@ export declare class StoreListComponent extends BaseSection {
27
27
  loader: boolean;
28
28
  error: boolean;
29
29
  getStoreDetails(): void;
30
- getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
30
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
31
31
  openWhatsapp(phone: string): void;
32
32
  viewStore(storeId: string): void;
33
33
  getTime(storeHours: any, type: string): any;
@@ -16,7 +16,7 @@ export declare class StorePageComponent extends BaseSection {
16
16
  ngOnInit(): void;
17
17
  storeData: any;
18
18
  getStoreDetails(storeId: string): void;
19
- getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
19
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
20
20
  getTime(storeHours: any, type: string): any;
21
21
  removeUnderScore(text: string): string;
22
22
  openWhatsapp(phone: string): void;
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
27
27
  get spacingLayout(): SpacingModel;
28
28
  get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
29
29
  get fitLayout(): import("simpo-component-library").FIT | undefined;
30
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
30
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
33
33
  }
@@ -28,7 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
28
28
  editSection(): void;
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
31
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
34
34
  }
@@ -73,7 +73,7 @@ export declare class HeaderSectionComponent implements OnInit {
73
73
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
74
74
  get getNavbarButton(): any[];
75
75
  isScrolled: boolean;
76
- setColor(): "#ffffff" | "#000000";
76
+ setColor(): "#000000" | "#ffffff";
77
77
  showList: boolean;
78
78
  showCollections: boolean;
79
79
  categoryList: any;
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
22
22
  private transitionToNext;
23
23
  isItemVisible(index: number): boolean;
24
24
  getItemClass(index: number): string;
25
- getTextColor(bgColor: string): "#ffffff" | "#000000";
25
+ getTextColor(bgColor: string): "#000000" | "#ffffff";
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
28
28
  }
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
20
  get stylesLayout(): LayOutModel;
21
- getTextColor(): "#ffffff" | "#000000";
21
+ getTextColor(): "#000000" | "#ffffff";
22
22
  get headingSpace(): SPACING;
23
23
  getButtonId(): string;
24
24
  editSection(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.128",
3
+ "version": "3.6.129",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file