simpo-component-library 1.4.301 → 1.4.304

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
  }
@@ -3,13 +3,16 @@ import { RestService } from '../../../services/rest.service';
3
3
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
4
  import { Router } from '@angular/router';
5
5
  import { StorageServiceService } from '../../../services/storage.service';
6
+ import { AddressDetails } from '../../styles/user.modal';
6
7
  import { EventsService } from '../../../services/events.service';
7
8
  import BaseSection from '../../../sections/BaseSection';
9
+ import { MatBottomSheet } from '@angular/material/bottom-sheet';
8
10
  import * as i0 from "@angular/core";
9
11
  export declare class AddressComponent extends BaseSection implements OnInit, OnChanges {
10
12
  private readonly ngZone;
11
13
  private readonly restService;
12
14
  private readonly matDialog;
15
+ private readonly matBottomsheet;
13
16
  private readonly router;
14
17
  private readonly storageService;
15
18
  private readonly _eventService;
@@ -23,8 +26,8 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
23
26
  addressList: any;
24
27
  selectedAddressIdx: number;
25
28
  selectedAddress: EventEmitter<number>;
26
- constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, router: Router, storageService: StorageServiceService, _eventService: EventsService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
27
- address: any;
29
+ constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, matBottomsheet: MatBottomSheet, router: Router, storageService: StorageServiceService, _eventService: EventsService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
30
+ address: AddressDetails;
28
31
  isCart: boolean;
29
32
  private editIndex;
30
33
  private latitute;
@@ -57,6 +60,7 @@ export declare class AddressComponent extends BaseSection implements OnInit, OnC
57
60
  validateName(event: KeyboardEvent): void;
58
61
  editSection(): void;
59
62
  get isEmailValid(): boolean;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
63
+ get isMobile(): boolean;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
61
65
  static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
62
66
  }
@@ -36,6 +36,7 @@ export declare class CartComponent extends BaseSection implements OnInit {
36
36
  ngOnInit(): void;
37
37
  getIndexDBData(): void;
38
38
  proceedToCheckout(): void;
39
+ goToProductDetails(product: OrderedItems): void;
39
40
  proceedToListPage(): void;
40
41
  removeItem(item: OrderedItems): void;
41
42
  private moveItemToWishlist;
@@ -24,6 +24,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
24
24
  redirectToListPage(category: string): void;
25
25
  getAllCategories(): void;
26
26
  editSection(): void;
27
+ get isMobile(): boolean;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
28
29
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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; }; }, {}, never, never, true, never>;
29
30
  }
@@ -25,6 +25,7 @@ export interface AddressDetails {
25
25
  localityName: string;
26
26
  addressLine1: string;
27
27
  landmark: string;
28
+ stateCode: string;
28
29
  zipCode: string;
29
30
  addressType: ADDRESS_TYPE;
30
31
  geolocation: Geolocation;
@@ -33,6 +34,5 @@ export interface Geolocation {
33
34
  latitude: number;
34
35
  longitude: number;
35
36
  }
36
- declare type ADDRESS_TYPE = "HOME" | "WORK" | "OTHER";
37
+ export declare type ADDRESS_TYPE = "HOME" | "WORK" | "OTHER";
37
38
  export declare type GENDER = "MALE" | "FEMALE" | "OTHERS";
38
- export {};
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
15
15
  style?: PricingSectionStylesModel;
16
16
  constructor(_eventService: EventsService);
17
17
  ngOnInit(): void;
18
- getTextColor(): "#000000" | "#ffffff";
18
+ getTextColor(): "#ffffff" | "#000000";
19
19
  get headingSpace(): SPACING;
20
20
  editSection(): void;
21
21
  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.4.301",
3
+ "version": "1.4.304",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file