simpo-component-library 1.4.81 → 1.4.90

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.
Files changed (85) hide show
  1. package/esm2022/lib/directive/background-directive.mjs +1 -1
  2. package/esm2022/lib/directive/border-directive.mjs +11 -23
  3. package/esm2022/lib/directive/removeCarousel-directive.mjs +73 -0
  4. package/esm2022/lib/ecommerce/json/user-cart.json +40 -0
  5. package/esm2022/lib/ecommerce/json/user-details.json +15 -0
  6. package/esm2022/lib/ecommerce/json/user-favourite.json +32 -0
  7. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +17 -34
  8. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +10 -4
  9. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +49 -158
  10. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +29 -47
  11. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +4 -34
  12. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +24 -43
  13. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +18 -69
  14. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +15 -18
  15. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +21 -105
  16. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  17. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +11 -49
  18. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +2 -2
  19. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -2
  20. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  21. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +4 -3
  22. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +166 -0
  23. package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +2 -0
  24. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +7 -3
  25. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -4
  26. package/esm2022/lib/sections/qrcode1/qrcode1.component.mjs +96 -0
  27. package/esm2022/lib/sections/qrcode1/qrcode1.model.mjs +2 -0
  28. package/esm2022/lib/sections/qrscanner-2/sanjana-testing.component.mjs +96 -0
  29. package/esm2022/lib/sections/qrscanner-2/sanjana-testing.modal.mjs +2 -0
  30. package/esm2022/lib/sections/rajesh-testing/Rajesh-model.mjs +2 -0
  31. package/esm2022/lib/sections/rajesh-testing/rajesh-testing.component.mjs +95 -0
  32. package/esm2022/lib/sections/scanner-section/scanner-section.component.mjs +111 -0
  33. package/esm2022/lib/sections/scanner-section/scanner-section.modal.mjs +2 -0
  34. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  35. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  36. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
  37. package/esm2022/lib/services/cart.service.mjs +109 -39
  38. package/esm2022/lib/services/events.service.mjs +2 -8
  39. package/esm2022/lib/services/rest.service.mjs +1 -4
  40. package/esm2022/lib/services/storage.service.mjs +30 -68
  41. package/esm2022/lib/styles/index.mjs +1 -8
  42. package/esm2022/lib/styles/style.model.mjs +1 -1
  43. package/esm2022/lib/styles/types.mjs +1 -1
  44. package/esm2022/public-api.mjs +7 -1
  45. package/fesm2022/simpo-component-library.mjs +1049 -874
  46. package/fesm2022/simpo-component-library.mjs.map +1 -1
  47. package/lib/directive/removeCarousel-directive.d.ts +35 -0
  48. package/lib/ecommerce/sections/address/address.component.d.ts +5 -7
  49. package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +3 -14
  50. package/lib/ecommerce/sections/cart/cart.component.d.ts +2 -6
  51. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +2 -5
  52. package/lib/ecommerce/sections/order-details/order-details.component.d.ts +1 -8
  53. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -6
  54. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -15
  55. package/lib/ecommerce/sections/user-basic-info/user-basic-info.component.d.ts +1 -5
  56. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +8 -26
  57. package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +8 -5
  58. package/lib/ecommerce/sections/whislist/whislist.component.d.ts +1 -7
  59. package/lib/ecommerce/styles/OrderedItems.modal.d.ts +1 -1
  60. package/lib/ecommerce/styles/cart.modal.d.ts +0 -1
  61. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +28 -0
  62. package/lib/sections/carousel-banner/carousel-banner.model.d.ts +42 -0
  63. package/lib/sections/choose-us-section/choose-us-section.component.d.ts +1 -0
  64. package/lib/sections/qrcode1/qrcode1.component.d.ts +21 -0
  65. package/lib/sections/qrcode1/qrcode1.model.d.ts +30 -0
  66. package/lib/sections/qrscanner-2/sanjana-testing.component.d.ts +21 -0
  67. package/lib/sections/qrscanner-2/sanjana-testing.modal.d.ts +27 -0
  68. package/lib/sections/rajesh-testing/Rajesh-model.d.ts +30 -0
  69. package/lib/sections/rajesh-testing/rajesh-testing.component.d.ts +21 -0
  70. package/lib/sections/scanner-section/scanner-section.component.d.ts +24 -0
  71. package/lib/sections/scanner-section/scanner-section.modal.d.ts +31 -0
  72. package/lib/services/cart.service.d.ts +5 -8
  73. package/lib/services/events.service.d.ts +3 -4
  74. package/lib/services/rest.service.d.ts +0 -1
  75. package/lib/services/storage.service.d.ts +44 -10
  76. package/lib/styles/index.d.ts +0 -6
  77. package/lib/styles/style.model.d.ts +1 -4
  78. package/lib/styles/types.d.ts +0 -1
  79. package/package.json +1 -1
  80. package/public-api.d.ts +6 -0
  81. package/simpo-component-library-1.4.88.tgz +0 -0
  82. package/simpo-component-library-1.4.90.tgz +0 -0
  83. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +0 -48
  84. package/lib/directive/spacing-horizontal.directive.d.ts +0 -18
  85. package/simpo-component-library-1.4.81.tgz +0 -0
@@ -0,0 +1,35 @@
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
+ import { EventsService } from '../services/events.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RemoveCarouselDirective implements OnChanges, OnInit, OnDestroy {
5
+ private el;
6
+ private renderer;
7
+ private eventService;
8
+ carouselRemove?: any;
9
+ currentIndex?: number;
10
+ eventServiceSubscription: any;
11
+ private observer;
12
+ animationSpeed: {
13
+ type: {
14
+ top: string;
15
+ bottom: string;
16
+ left: string;
17
+ right: string;
18
+ fadeIn: string;
19
+ zoom: string;
20
+ none: string;
21
+ };
22
+ speed: {
23
+ slow: string;
24
+ medium: string;
25
+ fast: string;
26
+ };
27
+ };
28
+ constructor(el: ElementRef, renderer: Renderer2, eventService: EventsService);
29
+ ngOnDestroy(): void;
30
+ ngOnInit(): void;
31
+ ngOnChanges(): void;
32
+ private stopCarousel;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCarouselDirective, never>;
34
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveCarouselDirective, "[simpoCarouselRemove]", never, { "carouselRemove": { "alias": "simpoCarouselRemove"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; }, {}, never, never, true, never>;
35
+ }
@@ -1,6 +1,6 @@
1
1
  import { OnInit, NgZone, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { RestService } from '../../../services/rest.service';
3
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
+ import { MatDialog } from '@angular/material/dialog';
4
4
  import { Router } from '@angular/router';
5
5
  import { StorageServiceService } from '../../../services/storage.service';
6
6
  import * as i0 from "@angular/core";
@@ -10,12 +10,9 @@ export declare class AddressComponent implements OnInit, OnChanges {
10
10
  private readonly matDialog;
11
11
  private readonly router;
12
12
  private readonly storageService;
13
- matData: any;
14
- matDialogRef: MatDialogRef<AddressComponent>;
15
13
  responseData: any;
16
14
  data: any;
17
- selectedAddressIdx: number;
18
- constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, router: Router, storageService: StorageServiceService, matData: any, matDialogRef: MatDialogRef<AddressComponent>);
15
+ constructor(ngZone: NgZone, restService: RestService, matDialog: MatDialog, router: Router, storageService: StorageServiceService);
19
16
  addressList: any[];
20
17
  address: any;
21
18
  isCart: boolean;
@@ -26,6 +23,7 @@ export declare class AddressComponent implements OnInit, OnChanges {
26
23
  markerPosition: google.maps.LatLngLiteral;
27
24
  markerOptions: google.maps.MarkerOptions;
28
25
  private geocoder;
26
+ selectedAddressIdx: number;
29
27
  addessType: {
30
28
  key: string;
31
29
  status: boolean;
@@ -42,6 +40,6 @@ export declare class AddressComponent implements OnInit, OnChanges {
42
40
  onLocationSelected(location: any): void;
43
41
  onAutocompleteSelected(result: any): void;
44
42
  updateAddress(): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, {}, never, never, true, never>;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; "selectedAddressIdx": { "alias": "selectedAddressIdx"; "required": false; }; }, {}, never, never, true, never>;
47
45
  }
@@ -4,18 +4,7 @@ import { RestService } from '../../../services/rest.service';
4
4
  import { Router } from '@angular/router';
5
5
  import { StorageServiceService } from '../../../services/storage.service';
6
6
  import { EventsService } from '../../../services/events.service';
7
- import { InputTextModel, StylesModel } from '../../../styles/style.model';
8
- import { ActionModel } from "../../../styles/style.model";
9
7
  import * as i0 from "@angular/core";
10
- interface AuthenticateSectionModel {
11
- content: AuthenticateContentModel;
12
- styles: StylesModel;
13
- action: ActionModel;
14
- type: 'STATIC' | 'E_COMMERCE';
15
- }
16
- interface AuthenticateContentModel {
17
- siteName: InputTextModel;
18
- }
19
8
  export declare class AuthenticateUserComponent implements OnInit {
20
9
  matData: any;
21
10
  private readonly restService;
@@ -24,7 +13,8 @@ export declare class AuthenticateUserComponent implements OnInit {
24
13
  private readonly storageService;
25
14
  private readonly dialogRef;
26
15
  private readonly _eventService;
27
- data?: AuthenticateSectionModel;
16
+ data?: any;
17
+ responseData?: any;
28
18
  isLoading: boolean;
29
19
  otpString: string;
30
20
  screen: 'LOGIN' | 'OTP';
@@ -41,6 +31,5 @@ export declare class AuthenticateUserComponent implements OnInit {
41
31
  resendOTP(): void;
42
32
  get isMobile(): boolean;
43
33
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, null, null, null, null, { optional: true; }, null]>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; }, {}, never, never, true, never>;
45
35
  }
46
- export {};
@@ -22,15 +22,11 @@ export declare class CartComponent extends BaseSection {
22
22
  edit?: boolean;
23
23
  delete?: boolean;
24
24
  isLoading: boolean;
25
- selectedAddress: any;
25
+ selectedAddressIdx: number;
26
26
  styles?: CartSectionStylesModel;
27
27
  currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
28
28
  constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, cookieService: CookieService);
29
29
  private loadingItems;
30
- private userDetails;
31
- private userCart;
32
- private USER_CART_ITEMS;
33
- cartInfo: any;
34
30
  ngOnInit(): void;
35
31
  proceedToCheckout(): void;
36
32
  proceedToListPage(): void;
@@ -38,7 +34,7 @@ export declare class CartComponent extends BaseSection {
38
34
  addToCart(item: any, type: 'ADD' | 'SUBSTRACT'): void;
39
35
  proceedToPayment(): void;
40
36
  isItemLoading(itemId: string): boolean;
41
- get getAddressList(): import("../../styles/user.modal").AddressDetails[];
37
+ get getAddressList(): never[];
42
38
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, never>;
43
39
  static ɵcmp: i0.ɵɵComponentDeclaration<CartComponent, "simpo-cart", 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>;
44
40
  }
@@ -7,7 +7,6 @@ import { ButtonModel } from '../../../styles/style.model';
7
7
  import { RestService } from '../../../services/rest.service';
8
8
  import { Router } from '@angular/router';
9
9
  import { CartService } from '../../../services/cart.service';
10
- import { StorageServiceService } from '../../../services/storage.service';
11
10
  import * as i0 from "@angular/core";
12
11
  export declare class FeaturedProductsComponent extends BaseSection implements OnDestroy {
13
12
  private platformId;
@@ -15,7 +14,6 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
15
14
  private readonly restService;
16
15
  private readonly router;
17
16
  private readonly cartService;
18
- private readonly storageService;
19
17
  data?: FeaturedProductModal;
20
18
  responseData?: Product[];
21
19
  index?: number;
@@ -27,10 +25,8 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
27
25
  styles?: FeaturedProductStylesModel;
28
26
  button?: ButtonModel;
29
27
  private _eventSubscriber;
30
- constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, cartService: CartService, storageService: StorageServiceService);
28
+ constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, cartService: CartService);
31
29
  screenWidth: number;
32
- private USER_CART;
33
- private USER_WISHLIST;
34
30
  getScreenSize(): void;
35
31
  ngOnInit(): void;
36
32
  ngOnDestroy(): void;
@@ -40,6 +36,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
40
36
  addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
41
37
  toggleItemToFav(product: Product, type: 'ADD' | 'REMOVE'): void;
42
38
  proceedToProductDesc(productId: any): void;
39
+ isItemFav(product: Product): boolean;
43
40
  togglePreviewImage(product: Product, idx: number): void;
44
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
45
42
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isRelatedProduct": { "alias": "isRelatedProduct"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,6 +1,5 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { EventsService } from '../../../services/events.service';
3
- import { ProfileStylesModal } from '../user-profile/user-profile.modal';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class OrderDetailsComponent implements OnInit {
6
5
  private readonly _eventService;
@@ -9,16 +8,10 @@ export declare class OrderDetailsComponent implements OnInit {
9
8
  index?: number;
10
9
  edit?: boolean;
11
10
  delete?: boolean;
12
- orderDetailData: any;
13
11
  isLoading: boolean;
14
- styles?: ProfileStylesModal;
15
12
  constructor(_eventService: EventsService);
16
13
  orderTimiline: any;
17
14
  ngOnInit(): void;
18
- get getCardBGColor(): string;
19
- get isMobile(): boolean;
20
- private getComplementColor;
21
- private convertHEX;
22
15
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", 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; }; "orderDetailData": { "alias": "orderDetailData"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", 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; }; }, {}, never, never, true, never>;
24
17
  }
@@ -7,7 +7,6 @@ import { ActivatedRoute, Router } from '@angular/router';
7
7
  import { RestService } from '../../../services/rest.service';
8
8
  import { CartService } from '../../../services/cart.service';
9
9
  import { FeaturedProductModal } from '../featured-products/featured-products.modal';
10
- import { StorageServiceService } from '../../../services/storage.service';
11
10
  import * as i0 from "@angular/core";
12
11
  export declare class ProductDescComponent extends BaseSection {
13
12
  private platformId;
@@ -16,7 +15,6 @@ export declare class ProductDescComponent extends BaseSection {
16
15
  private readonly activatedRoute;
17
16
  private readonly restService;
18
17
  private readonly cartService;
19
- private readonly storageService;
20
18
  data?: ProductDescModal;
21
19
  responseData: Product;
22
20
  index?: number;
@@ -24,13 +22,10 @@ export declare class ProductDescComponent extends BaseSection {
24
22
  delete?: boolean;
25
23
  isLoading: boolean;
26
24
  relatedProductData: Product[];
27
- constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService);
25
+ constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService);
28
26
  buttonId?: string;
29
27
  button?: ButtonModel;
30
28
  styles?: ProductDescStylesModal;
31
- isItemAsFavorite: boolean;
32
- private USER_CART;
33
- private USER_WISHLIST;
34
29
  ngOnInit(): void;
35
30
  routeToHome(): void;
36
31
  screenWidth: any;
@@ -41,6 +36,7 @@ export declare class ProductDescComponent extends BaseSection {
41
36
  goToFilter(category: string): void;
42
37
  addToFavourite(): void;
43
38
  removeToFavourite(): void;
39
+ get isItemAsFavorite(): boolean;
44
40
  get getFeatureProductData(): FeaturedProductModal;
45
41
  getProductByCategory(): void;
46
42
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
@@ -5,9 +5,6 @@ import { EventsService } from '.././../../services/events.service';
5
5
  import { RestService } from '.././../../services/rest.service';
6
6
  import { ButtonModel } from '../../../styles/style.model';
7
7
  import { ActivatedRoute, Router } from '@angular/router';
8
- import { StorageServiceService } from '../../../services/storage.service';
9
- import { MatBottomSheet } from '@angular/material/bottom-sheet';
10
- import { MatDialog } from '@angular/material/dialog';
11
8
  import * as i0 from "@angular/core";
12
9
  interface BaseModel {
13
10
  option: string;
@@ -20,9 +17,6 @@ export declare class ProductListComponent extends BaseSection {
20
17
  private readonly restService;
21
18
  private readonly router;
22
19
  private readonly activatedRoute;
23
- private readonly storageService;
24
- private readonly matBottomSheet;
25
- private readonly matDialog;
26
20
  responseData?: Product[];
27
21
  data?: ProductListModal;
28
22
  index?: number;
@@ -31,14 +25,10 @@ export declare class ProductListComponent extends BaseSection {
31
25
  isLoading: boolean;
32
26
  content?: ProductListContentModal;
33
27
  button?: ButtonModel;
34
- constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog);
35
- private filterBottomSheetRef;
36
- private sortingDialogRef;
28
+ constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute);
37
29
  pricingMin: number;
38
30
  pricingMax: number;
39
31
  sortBy: string | null;
40
- private USER_CART;
41
- private USER_WISHLIST;
42
32
  filteringArray: {
43
33
  name: string;
44
34
  value: string;
@@ -46,7 +36,6 @@ export declare class ProductListComponent extends BaseSection {
46
36
  screenWidth: number;
47
37
  getScreenSize(): void;
48
38
  filterList: any[];
49
- filterListIdx: any[];
50
39
  styles?: ProductListStylesModal;
51
40
  totalCount: number;
52
41
  pageNo: number;
@@ -65,9 +54,6 @@ export declare class ProductListComponent extends BaseSection {
65
54
  applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
66
55
  navigateFilter(sorting: string): void;
67
56
  filterItemList(): void;
68
- openFilter(FilterSection: any): void;
69
- openSorting(SortingSection: any): void;
70
- closeDialog(): void;
71
57
  get getTotalPage(): number;
72
58
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
73
59
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", 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; }; }, {}, never, never, true, never>;
@@ -2,22 +2,18 @@ import { OnInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { RestService } from "../../../services/rest.service";
4
4
  import { Router } from '@angular/router';
5
- import { StorageServiceService } from '../../../services/storage.service';
6
- import { User } from '../../styles/user.modal';
7
5
  import * as i0 from "@angular/core";
8
6
  export declare class UserBasicInfoComponent implements OnInit {
9
7
  private readonly restService;
10
8
  private readonly router;
11
9
  private readonly dialogRef;
12
- private readonly storageService;
13
10
  gender: 'MALE' | 'FEMALE' | null;
14
11
  firstName: string;
15
12
  middleName: string;
16
13
  lastName: string;
17
14
  email: string;
18
15
  profilePic: string;
19
- userDetails: User | null;
20
- constructor(restService: RestService, router: Router, dialogRef: MatDialogRef<UserBasicInfoComponent>, storageService: StorageServiceService);
16
+ constructor(restService: RestService, router: Router, dialogRef: MatDialogRef<UserBasicInfoComponent>);
21
17
  ngOnInit(): void;
22
18
  close(): void;
23
19
  saveProfile(): void;
@@ -1,55 +1,37 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { EventsService } from '.././../../services/events.service';
3
- import { ProfileContentModal, ProfileStylesModal, Tabs, UserProfileModal } from './user-profile.modal';
3
+ import { ResponseData, Tabs, UserProfile } from './user-profile.modal';
4
4
  import { OrderItem } from '../../styles/order.modal';
5
5
  import { Router } from '@angular/router';
6
6
  import { RestService } from "../../../services/rest.service";
7
- import { StorageServiceService } from '../../../services/storage.service';
8
- import { User } from '../../styles/user.modal';
9
- import { MatDialog } from '@angular/material/dialog';
10
7
  import * as i0 from "@angular/core";
11
8
  export declare class UserProfileComponent implements OnInit {
12
9
  private readonly router;
13
10
  private readonly _eventService;
14
11
  private readonly restService;
15
- private readonly storageService;
16
- private readonly matDialog;
17
- constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, matDialog: MatDialog);
18
- data?: UserProfileModal;
12
+ constructor(router: Router, _eventService: EventsService, restService: RestService);
13
+ responseData?: ResponseData;
14
+ data?: any;
19
15
  index?: number;
20
16
  edit?: boolean;
21
17
  delete?: boolean;
22
18
  isLoading: boolean;
23
- styles?: ProfileStylesModal;
24
- content?: ProfileContentModal;
25
19
  button: any;
26
20
  selectedSidePanelTab: string | null;
27
- userDetails: User | null;
21
+ userDetails: UserProfile | null;
28
22
  addressList: any;
29
- orderDetailsData: any;
30
23
  sidePanelList: Tabs[];
31
24
  tabs: Tabs[];
32
25
  orderList: OrderItem[];
33
26
  ngOnInit(): void;
34
- getUserOrderDetails(): void;
35
- get getProductWidth(): string;
36
- getUserInfo(): void;
37
27
  goToPanel(panel: any): void;
38
28
  goBack(): void;
39
- goToOrderDetails(order: any): void;
40
- addNewAddress(): void;
29
+ goToDetails(order: any): void;
41
30
  goToHome(): void;
42
- editAddress(index: number): void;
43
- deleteAddress(index: number): void;
44
- private saveProfile;
45
31
  selectTab(tab: Tabs): void;
46
32
  toggleSidepanelTab(tab: Tabs): void;
47
- get getUserDetails(): User | null;
33
+ get getUserDetails(): UserProfile | null;
48
34
  get isMobile(): boolean;
49
- get getUserProfile(): string;
50
- get getCardBGColor(): string;
51
- private getComplementColor;
52
- private convertHEX;
53
35
  static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "simpo-user-profile", 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>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "simpo-user-profile", 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; }; }, {}, never, never, true, never>;
55
37
  }
@@ -1,5 +1,5 @@
1
1
  import { UserDetails } from "../../styles/cart.modal";
2
- import { ActionModel, AnimationModel, BackgroundModel, BorderModel, Image, InputTextModel, LayOutModel } from "../../../styles/style.model";
2
+ import { ActionModel, AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
3
3
  import { OrderItem } from "../../styles/order.modal";
4
4
  export interface Tabs {
5
5
  icon: string | null;
@@ -22,14 +22,10 @@ export interface ProfileStylesModal {
22
22
  elementInRow: number;
23
23
  mobileColumn: number;
24
24
  animation: AnimationModel;
25
- border: BorderModel;
26
- swap: boolean;
27
25
  }
28
26
  export interface ProfileContentModal {
29
27
  display: Display;
30
28
  button: string;
31
- image: Image;
32
- inputText: InputTextModel[];
33
29
  }
34
30
  export interface Display {
35
31
  showButton: boolean;
@@ -39,6 +35,13 @@ export interface ResponseData {
39
35
  tabs: Tabs[];
40
36
  orders: OrderItem[];
41
37
  }
38
+ export interface UserProfile {
39
+ userId: string;
40
+ businessId: string;
41
+ address: any;
42
+ gender: string;
43
+ contact: UserContact;
44
+ }
42
45
  export interface UserContact {
43
46
  id: string;
44
47
  name: string;
@@ -1,14 +1,10 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { CartService } from '../../../services/cart.service';
3
3
  import { EventsService } from '../../../services/events.service';
4
- import { StorageServiceService } from '../../../services/storage.service';
5
- import { RestService } from '../../../services/rest.service';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class WhislistComponent implements OnInit {
8
6
  private readonly cartService;
9
7
  private readonly _eventService;
10
- private readonly storageService;
11
- private readonly restService;
12
8
  responseData?: any;
13
9
  data?: any;
14
10
  index?: number;
@@ -16,9 +12,7 @@ export declare class WhislistComponent implements OnInit {
16
12
  delete?: boolean;
17
13
  isLoading: boolean;
18
14
  styles: any;
19
- constructor(cartService: CartService, _eventService: EventsService, storageService: StorageServiceService, restService: RestService);
20
- private userDetails;
21
- private USER_WISHLIST_ITEMS;
15
+ constructor(cartService: CartService, _eventService: EventsService);
22
16
  ngOnInit(): void;
23
17
  moveToCart(item: any): void;
24
18
  deleteFromWhislist(item: any): void;
@@ -2,7 +2,7 @@ export declare class OrderedItems {
2
2
  itemId: string;
3
3
  businessId: string;
4
4
  itemName: string;
5
- businessName: string;
5
+ brandName: string;
6
6
  imgUrl: string;
7
7
  price: number;
8
8
  itemTax: number;
@@ -1,7 +1,6 @@
1
1
  import { OrderedItems } from "./OrderedItems.modal";
2
2
  export declare class Cart {
3
3
  cartId?: string;
4
- businessId: string;
5
4
  pgOrderId: string;
6
5
  orderedItems: OrderedItems[];
7
6
  billdetails: Billdetails;
@@ -0,0 +1,28 @@
1
+ import { OnInit, ElementRef } from '@angular/core';
2
+ import { LayOutModel, PositionLayoutModal } from '../../styles/style.model';
3
+ import BaseSection from '../BaseSection';
4
+ import { EventsService } from './../../services/events.service';
5
+ import { BannerSectionModel } from './carousel-banner.model';
6
+ import { OverlayValue } from "../../styles/index";
7
+ import * as i0 from "@angular/core";
8
+ export declare class CarouselBannerComponent extends BaseSection implements OnInit {
9
+ private _eventService;
10
+ carouselElement1: ElementRef;
11
+ data?: BannerSectionModel;
12
+ index?: number;
13
+ edit?: boolean;
14
+ delete?: boolean;
15
+ currentIndex: number;
16
+ selectSlide(index: number): void;
17
+ constructor(_eventService: EventsService);
18
+ ngOnInit(): void;
19
+ stylesLayout(item: any): LayOutModel;
20
+ get getJustifyContent(): string;
21
+ canMergeNavbar(item: any): any;
22
+ isBorderlessImage(item: any): any;
23
+ getPositionLayout(item: any): PositionLayoutModal;
24
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
25
+ editSection(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", 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>;
28
+ }
@@ -0,0 +1,42 @@
1
+ import { ActionModel, BannerStylesModel, Image, InputTextModel, ListItemModal } from './../../styles/style.model';
2
+ export interface BannerSectionModel {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ listBanners: [singleBannerModel];
7
+ styles: stylesModel;
8
+ }
9
+ export interface ImageModel extends Image {
10
+ showImage: boolean;
11
+ }
12
+ export interface stylesModel {
13
+ bannerAnimation: {
14
+ label: string;
15
+ value: string;
16
+ types: [];
17
+ };
18
+ }
19
+ export interface textModel {
20
+ value: string;
21
+ }
22
+ export interface BannerContentModel {
23
+ inputText: InputTextModel[];
24
+ image: ImageModel;
25
+ listItem: ListItemModal<BannerListItem>;
26
+ }
27
+ export interface BannerListItem {
28
+ inputText: InputTextModel[];
29
+ }
30
+ export interface singleBannerModel {
31
+ sectionName: string;
32
+ sectionType: string;
33
+ id: string;
34
+ content: BannerContentModel;
35
+ styles: BannerStylesModel;
36
+ action: ActionModel;
37
+ }
38
+ export interface actionsModel {
39
+ label: string;
40
+ value: string;
41
+ types: ["Horizontal", "Animated"];
42
+ }
@@ -14,6 +14,7 @@ export declare class ChooseUsSectionComponent extends BaseSection implements OnI
14
14
  constructor(_eventService: EventsService);
15
15
  ngOnInit(): void;
16
16
  editSection(): void;
17
+ getSanitizedData(value: string): string;
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<ChooseUsSectionComponent, never>;
18
19
  static ɵcmp: i0.ɵɵComponentDeclaration<ChooseUsSectionComponent, "simpo-choose-us-section", 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>;
19
20
  }
@@ -0,0 +1,21 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { QRContentModel, QrCodeModal, QrCodeStylesModel } from './qrcode1.model';
3
+ import { LayOutModel } from '../../styles/style.model';
4
+ import { EventsService } from './../../services/events.service';
5
+ import BaseSection from '../BaseSection';
6
+ import * as i0 from "@angular/core";
7
+ export declare class Qrcode1Component extends BaseSection implements OnInit {
8
+ private _eventService;
9
+ data?: QrCodeModal;
10
+ edit: boolean;
11
+ content?: QRContentModel;
12
+ styles?: QrCodeStylesModel;
13
+ delete?: boolean;
14
+ index?: number;
15
+ constructor(_eventService: EventsService);
16
+ get stylesLayout(): LayOutModel;
17
+ ngOnInit(): void;
18
+ editSection(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<Qrcode1Component, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<Qrcode1Component, "simpo-qrcode1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1,30 @@
1
+ import { Image, InputTextModel, StylesModel, ImageStyle, PositionLayoutModal } from './../../styles/style.model';
2
+ import { Corners, AlignContent } from '../../styles/index';
3
+ export interface QrCodeModal {
4
+ id: string;
5
+ sectionType: string;
6
+ sectionName: string;
7
+ content: QRContentModel;
8
+ styles: QrCodeStylesModel;
9
+ }
10
+ export interface ImageModel extends Image {
11
+ showImage: boolean;
12
+ }
13
+ export interface QrCodeStylesModel extends StylesModel {
14
+ corners: Corners;
15
+ image: ImageStyle;
16
+ fullWidth: boolean;
17
+ invertImage: boolean;
18
+ positionLayout: PositionLayoutModal;
19
+ contentAlignment: AlignContent;
20
+ }
21
+ export interface textModel {
22
+ value: string;
23
+ }
24
+ export interface QRContentModel {
25
+ inputText: InputTextModel[];
26
+ image: ImageModel;
27
+ }
28
+ export interface QRItem {
29
+ inputText: InputTextModel[];
30
+ }
@@ -0,0 +1,21 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { SanjanaTestingContentModel, SanjanaTestingModel, SanjanaTestingStylesModel } from './sanjana-testing.modal';
3
+ import { LayOutModel } from '../../styles/style.model';
4
+ import { EventsService } from '../../services/events.service';
5
+ import BaseSection from '../BaseSection';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SanjanaTestingComponent extends BaseSection implements OnInit {
8
+ private _eventService;
9
+ data?: SanjanaTestingModel;
10
+ styles?: SanjanaTestingStylesModel;
11
+ index?: number;
12
+ content?: SanjanaTestingContentModel;
13
+ edit?: boolean;
14
+ delete?: boolean;
15
+ constructor(_eventService: EventsService);
16
+ get stylesLayout(): LayOutModel;
17
+ ngOnInit(): void;
18
+ editSection(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<SanjanaTestingComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<SanjanaTestingComponent, "simpo-sanjana-testing", 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>;
21
+ }