simpo-component-library 3.6.668 → 3.6.670

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.
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
13
13
  constructor(elementRef: ElementRef);
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
15
  handleMoneyInput(event: any): void;
16
- get getTextColor(): "#000" | "#FFF";
16
+ get getTextColor(): "#FFF" | "#000";
17
17
  interpolateColor(color1: string, color2: string, factor: number): string;
18
18
  padZero(str: string, length: number): string;
19
19
  generateColorBasedOnNumber(number: number): string;
@@ -13,6 +13,7 @@ import { MessageService } from 'primeng/api';
13
13
  import { OrderedItems } from '../../styles/OrderedItems.modal';
14
14
  import { CartService } from '../../../services/cart.service';
15
15
  import { ActivatedRoute } from '@angular/router';
16
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
16
17
  import * as i0 from "@angular/core";
17
18
  export declare class UserProfileComponent extends BaseSection implements OnInit {
18
19
  private readonly router;
@@ -24,8 +25,9 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
24
25
  private readonly matBottomSheet;
25
26
  private readonly cookieService;
26
27
  private readonly messageService;
28
+ private sanitizer;
27
29
  private route;
28
- constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, matBottomSheet: MatBottomSheet, cookieService: CookieService, messageService: MessageService, route: ActivatedRoute);
30
+ constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, matBottomSheet: MatBottomSheet, cookieService: CookieService, messageService: MessageService, sanitizer: DomSanitizer, route: ActivatedRoute);
29
31
  showChargesTemplate: TemplateRef<HTMLDivElement>;
30
32
  data?: UserProfileModal;
31
33
  index?: number;
@@ -47,6 +49,8 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
47
49
  orderList: OrderedItems[];
48
50
  wishlistData: OrderedItems[];
49
51
  storeId: any;
52
+ getMyReferralsUrl: SafeResourceUrl;
53
+ getRewardsUrl: SafeResourceUrl;
50
54
  ngOnInit(): void;
51
55
  checkPassbookApp(): void;
52
56
  closeDialog(): void;
@@ -13,7 +13,6 @@ export declare class ButtonGridSectionComponent extends BaseSection implements O
13
13
  content: any;
14
14
  ngOnInit(): void;
15
15
  get stylesLayout(): LayOutModel;
16
- getDisplayButtonLabel(item: any, index: number): string;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGridSectionComponent, never>;
18
17
  static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGridSectionComponent, "simpo-button-grid-section", never, { "edit": { "alias": "edit"; "required": false; }; "data": { "alias": "data"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
19
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.668",
3
+ "version": "3.6.670",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file