simpo-component-library 3.2.43 → 3.2.45

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
  }
@@ -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): "#ffffff" | "#000000" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#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(): "#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
  }
@@ -45,7 +45,7 @@ export declare class AuthenticationRequiredComponent {
45
45
  validateNumber(event: KeyboardEvent): void;
46
46
  validateOTP(event: KeyboardEvent): void;
47
47
  checkStrength(): void;
48
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
48
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
49
49
  get isEmailValid(): boolean;
50
50
  get isPasswordValid(): boolean;
51
51
  get isMobile(): boolean;
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
17
17
  style?: PricingSectionStylesModel;
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
- getTextColor(): "#ffffff" | "#000000";
20
+ getTextColor(): "#000000" | "#ffffff";
21
21
  get headingSpace(): SPACING;
22
22
  editSection(): void;
23
23
  redirectTo(): void;
@@ -13,7 +13,7 @@ export declare class RestService implements OnDestroy {
13
13
  private ECOMMERCE_URL;
14
14
  private CMIS_URL;
15
15
  private environmentTypeSubscriber;
16
- constructor(http: HttpClient, eventService: EventsService);
16
+ constructor(http: HttpClient, eventService: EventsService, BASE_URL: string, ECOMMERCE_URL: string);
17
17
  ngOnDestroy(): void;
18
18
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
19
19
  getCategoriesByCollectionId(collectionId: string): Observable<any>;
@@ -1,2 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  export declare const API_URL: InjectionToken<string>;
3
+ export declare const ECOMMERCE_URL: InjectionToken<String>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.2.43",
3
+ "version": "3.2.45",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -138,3 +138,11 @@ animation: slideInLeft 0.5s ease-in-out forwards;
138
138
  .mat-mdc-form-field-subscript-wrapper{
139
139
  display: none;
140
140
  }
141
+ .media-selector{
142
+ position: absolute !important;
143
+ top: 0 !important;
144
+ left: 0 !important;
145
+ width: 60%;
146
+ height: 100vh;
147
+ animation: slideInLeft 0.5s ease-in-out forwards;
148
+ }
Binary file