simpo-component-library 3.6.155 → 3.6.156

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 (51) hide show
  1. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +3 -3
  2. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  3. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +17 -1
  4. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +89 -20
  5. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  7. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  8. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  9. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  10. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  11. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
  12. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +4 -14
  13. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +48 -24
  14. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  15. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  16. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  17. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  18. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  19. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +4 -4
  20. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  21. package/esm2022/lib/ecommerce/styles/product.modal.mjs +19 -1
  22. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +15 -0
  23. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  24. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -12
  25. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -16
  26. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  27. package/esm2022/lib/services/cart.service.mjs +12 -1
  28. package/esm2022/lib/services/rest.service.mjs +10 -4
  29. package/esm2022/lib/services/storage.service.mjs +19 -1
  30. package/fesm2022/simpo-component-library.mjs +249 -115
  31. package/fesm2022/simpo-component-library.mjs.map +1 -1
  32. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
  33. package/lib/ecommerce/sections/cart/cart.component.d.ts +12 -2
  34. package/lib/ecommerce/sections/order-details/order-details.component.d.ts +0 -6
  35. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +6 -7
  36. package/lib/ecommerce/styles/product.modal.d.ts +16 -0
  37. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  38. package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +5 -0
  39. package/lib/elements/text-editor/text-editor.component.d.ts +0 -1
  40. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  41. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  42. package/lib/sections/header-section/header-section.component.d.ts +0 -3
  43. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  44. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  45. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  46. package/lib/services/cart.service.d.ts +1 -0
  47. package/lib/services/rest.service.d.ts +5 -2
  48. package/lib/services/storage.service.d.ts +5 -0
  49. package/package.json +1 -1
  50. package/simpo-component-library-3.6.156.tgz +0 -0
  51. package/simpo-component-library-3.6.155.tgz +0 -0
@@ -61,7 +61,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
61
61
  validateNumber(event: KeyboardEvent): void;
62
62
  validateOTP(event: KeyboardEvent): void;
63
63
  checkStrength(): void;
64
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
64
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
65
65
  emailDebounceTimer: any;
66
66
  onEmailChange(): void;
67
67
  emailCheck: boolean;
@@ -80,6 +80,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
80
80
  private hexToRgba;
81
81
  setup3DEffects(): void;
82
82
  showPassword: boolean;
83
+ syncTrialCartToServerDB(userId: string): void;
83
84
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
84
85
  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>;
85
86
  }
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { CartSectionModal, CartSectionStylesModel } from './cart.modal';
3
3
  import BaseSection from '../../../sections/BaseSection';
4
4
  import { EventsService } from '.././../../services/events.service';
@@ -46,19 +46,25 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
46
46
  isLoading: boolean;
47
47
  styles?: CartSectionStylesModel;
48
48
  currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
49
+ cartType: 'SHOPPING' | 'TRIAL';
50
+ d2: ElementRef;
49
51
  constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService, bottomSheet: MatBottomSheet, activatedRoute: ActivatedRoute, matDialogData: any, dialogRef: MatDialogRef<CartComponent>);
52
+ quantity: number[];
50
53
  private userDetails;
51
54
  private USER_CART_ITEMS;
52
55
  selectedAddressIdx: number;
53
56
  defaultAddress?: AddressDetails;
54
57
  enteredCouponCode: string;
55
58
  couponList: Coupon[];
59
+ trialCartItem: OrderedItems[] | null;
56
60
  cartInfo: any;
57
61
  loadingSubscription?: Subscription;
58
62
  subIndustryName: string;
59
63
  isJewellery: boolean;
60
64
  ngOnInit(): void;
61
65
  ngOnDestroy(): void;
66
+ getTrialCart(): void;
67
+ getTrialCartIndexDBData(): void;
62
68
  updateUserCart(): void;
63
69
  getDefaultAddress(): void;
64
70
  get stylesLayout(): LayOutModel;
@@ -72,7 +78,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
72
78
  removeItem(item: OrderedItems): void;
73
79
  private moveItemToWishlist;
74
80
  private removeItemFromCart;
75
- addToCart(item: OrderedItems, type: 'ADD' | 'SUBSTRACT'): void;
81
+ addToCart(item: OrderedItems, quantity: number): void;
76
82
  proceedToPayment(): Promise<void>;
77
83
  addressSelected(index: number): void;
78
84
  isItemOutOfStock(product: OrderedItems): boolean;
@@ -91,8 +97,12 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
91
97
  get currency(): string;
92
98
  changeAddress(): void;
93
99
  addAddress(): void;
100
+ scroll(e: WheelEvent): void;
101
+ scheduleVideoCall(): void;
94
102
  getButtonId(index: number): string;
95
103
  getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
104
+ changeQuantity(event: any, item: OrderedItems): void;
105
+ removeTrialItem(item: OrderedItems): void;
96
106
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
97
107
  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; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
98
108
  }
@@ -36,12 +36,6 @@ export declare class OrderDetailsComponent implements OnInit {
36
36
  trackOrder(): void;
37
37
  productReview: number;
38
38
  submitReview(item: any): void;
39
- sectionsVisible: {
40
- billDetails: boolean;
41
- deliveryDetails: boolean;
42
- timeline: boolean;
43
- };
44
- toggleSection(section: keyof typeof this.sectionsVisible): void;
45
39
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
46
40
  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; }; "customClass": { "alias": "customClass"; "required": false; }; "orderDetailData": { "alias": "orderDetailData"; "required": false; }; }, { "goBackEmitter": "goBackEmitter"; }, never, never, true, never>;
47
41
  }
@@ -53,17 +53,21 @@ export declare class ProductDescComponent extends BaseSection {
53
53
  styles?: ProductDescStylesModal;
54
54
  subIndustryName: string;
55
55
  isItemAsFavorite: boolean;
56
+ isItemAddedAsTrial: boolean;
56
57
  private USER_CART;
57
58
  private USER_WISHLIST;
58
59
  itemImages: ItemImage[];
59
60
  items: MenuItem[] | null;
60
61
  businessDetails: any;
62
+ trialCartItem: any[];
61
63
  ngOnInit(): void;
62
64
  varientLoading: boolean;
63
65
  recentViewItemList: Product[];
64
66
  getRelatedProducts(): void;
65
67
  selectVarient(key: string, value: string): void;
66
68
  getItemVarient(): ItemVariant | null;
69
+ checkItemAlreadyAddedInTrial(): void;
70
+ getTrialCartIndexDBData(): void;
67
71
  shareProduct(): void;
68
72
  routeToHome(): void;
69
73
  screenWidth: any;
@@ -104,7 +108,7 @@ export declare class ProductDescComponent extends BaseSection {
104
108
  getTextColor(color: any): "#000000" | "#ffffff";
105
109
  languages: string[];
106
110
  selectedLang: string;
107
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
111
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
108
112
  onFindInStore(id: string): void;
109
113
  onBookAppointment(): void;
110
114
  isDetails: boolean;
@@ -130,12 +134,7 @@ export declare class ProductDescComponent extends BaseSection {
130
134
  opendailogbox(template: TemplateRef<HTMLDivElement>): void;
131
135
  closeDialog(): void;
132
136
  getRatings(noofratings: any): any;
133
- reviewsData: any[];
134
- ratingCounts: any;
135
- pageNumber: number;
136
- loadMoreReviews(): void;
137
- getReviews(productId: string): void;
138
- getPercentage(rating: number): string;
137
+ addToTrialCart(): void;
139
138
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
140
139
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", 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>;
141
140
  }
@@ -204,3 +204,19 @@ export interface ItemImage2 {
204
204
  imgUrl: string;
205
205
  imgDesc: string;
206
206
  }
207
+ export declare class syncItemToServerDBRequest {
208
+ businessId: string;
209
+ userId: string;
210
+ cartType: 'CART' | 'WISHLISH' | 'TRIAL_CART';
211
+ cartItems: any[];
212
+ platform: string;
213
+ constructor(userId: string, cartType: 'CART' | 'WISHLISH' | 'TRIAL_CART', cartItems: any[]);
214
+ }
215
+ export declare class checkItemAlreadyAdded {
216
+ itemId: string;
217
+ variantId: string;
218
+ userId: string;
219
+ businessId: string;
220
+ cartType: 'CART' | 'WISHLISH' | 'TRIAL_CART';
221
+ constructor(itemId: string, variantId: string, userId: string, cartType: 'CART' | 'WISHLISH' | 'TRIAL_CART');
222
+ }
@@ -28,7 +28,7 @@ export declare class LinkEditorComponent {
28
28
  buttonStyles: any;
29
29
  changeButtonStyle(): void;
30
30
  backgroundType: string[];
31
- setBorderRadius(): "0px" | "99px" | "7px";
31
+ setBorderRadius(): "0px" | "7px" | "99px";
32
32
  setBorder(): string;
33
33
  setColor(): any;
34
34
  setBackground(): any;
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScheduleVideoCallComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleVideoCallComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScheduleVideoCallComponent, "simpo-schedule-video-call", never, {}, {}, never, never, true, never>;
5
+ }
@@ -44,7 +44,6 @@ export declare class TextEditorComponent {
44
44
  restoreSelection(): void;
45
45
  onPaste(event: ClipboardEvent): void;
46
46
  stripStyles(html: string): string;
47
- getText(): string;
48
47
  static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
49
48
  static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
50
49
  }
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
25
25
  get stylesLayout(): LayOutModel;
26
26
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
28
- get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
29
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
30
30
  editSection(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", 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>;
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
25
25
  get canMergeNavbar(): boolean | undefined;
26
26
  get isBorderlessImage(): boolean | undefined;
27
27
  get getPositionLayout(): PositionLayoutModal;
28
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
31
31
  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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -32,8 +32,6 @@ export declare class HeaderSectionComponent implements OnInit {
32
32
  HeaderStyling: typeof Header_Type;
33
33
  parentHeight: number;
34
34
  constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService);
35
- searchChangeTimeout: any;
36
- waitBeforeSearch(): void;
37
35
  searchProducts(): void;
38
36
  goToFav(): void;
39
37
  get stylesLayout(): LayOutModel;
@@ -84,7 +82,6 @@ export declare class HeaderSectionComponent implements OnInit {
84
82
  getCategoriesHeader(): void;
85
83
  Object: ObjectConstructor;
86
84
  applyFilterToList(obj: any, type: any): void;
87
- filterByCategory(): void;
88
85
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
89
86
  static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
90
87
  }
@@ -20,9 +20,9 @@ export declare class ImageSectionComponent extends BaseSection {
20
20
  constructor(_eventService: EventsService);
21
21
  ngOnInit(): void;
22
22
  get canMergeNavbar(): boolean | undefined;
23
- get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
23
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -24,7 +24,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
26
  get animationDuration(): logoSpeed;
27
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
27
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -21,7 +21,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
21
21
  idx: number;
22
22
  getImageData(): import("../../styles/style.model").Image | undefined;
23
23
  getImageUrl(): string | undefined;
24
- getImageType(): "Image" | "Video";
24
+ getImageType(): "Video" | "Image";
25
25
  editSection(): void;
26
26
  stopPropagation(event: any): void;
27
27
  screenWidth: any;
@@ -12,6 +12,7 @@ export declare class CartService {
12
12
  removeItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
13
13
  addItemToCart(product: Product | OrderedItems, varientId?: string): void | IDBRequest<IDBValidKey>;
14
14
  addItemToFavourite(product: Product, varientId?: string): void;
15
+ addItemToTrial(product: Product, varientId?: string): void;
15
16
  addItemToFavFromCart(product: OrderedItems): void;
16
17
  addOrderedItemToFavourite(orderedItem: OrderedItems): void;
17
18
  removeItemFromFavourite(varientId: string): void;
@@ -3,6 +3,7 @@ import { OnDestroy } from "@angular/core";
3
3
  import { Observable } from "rxjs";
4
4
  import { Review } from "../ecommerce/styles/review.modal";
5
5
  import { DeviceInfo } from "../ecommerce/styles/user.modal";
6
+ import { checkItemAlreadyAdded, syncItemToServerDBRequest } from "../ecommerce/styles/product.modal";
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class RestService implements OnDestroy {
8
9
  private readonly http;
@@ -42,7 +43,7 @@ export declare class RestService implements OnDestroy {
42
43
  resendOTP(mobile: string, countryCode: string): Observable<Object>;
43
44
  applicableDiscountList(cartId: string): Observable<Object>;
44
45
  addItemToDB(userCart: any): Observable<Object>;
45
- getUserItems(userId: string, cartType: 'CART' | 'WISHLIST'): Observable<Object>;
46
+ getUserItems(userId: string, cartType: 'CART' | 'WISHLIST' | 'TRIAL_CART'): Observable<Object>;
46
47
  getUserInfo(userId: string): Observable<Object>;
47
48
  addUserAddress(user: any): Observable<Object>;
48
49
  updateProfile(payload: any): Observable<Object>;
@@ -90,8 +91,10 @@ export declare class RestService implements OnDestroy {
90
91
  getAllState(): Observable<Object>;
91
92
  getCityByStateBypaginated(stateId: any, pageNo: any, size: any): Observable<Object>;
92
93
  getStoreBySlab(data: any): Observable<Object>;
94
+ addTrialItem(request: syncItemToServerDBRequest): Observable<Object>;
95
+ checkItemAlreadyAdded(request: checkItemAlreadyAdded): Observable<Object>;
96
+ deleteItemFromCart(request: checkItemAlreadyAdded): Observable<Object>;
93
97
  createEnrollmentScheme(enrollement: any): Observable<Object>;
94
- getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
95
98
  getFieldsToDisplay(fieldsList: any[]): any;
96
99
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
97
100
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
@@ -17,6 +17,7 @@ export declare class StorageServiceService {
17
17
  databaseVersion: number;
18
18
  cartCollectionName: string;
19
19
  favouriteCollectionName: string;
20
+ trialCartCollectionName: string;
20
21
  userCollectionName: string;
21
22
  database: IDBDatabase;
22
23
  cartCollectionRef: IDBObjectStore | null;
@@ -32,9 +33,13 @@ export declare class StorageServiceService {
32
33
  removeProductFromCart(productId: string): IDBRequest<undefined>;
33
34
  getProductFromCart(productId: string): Promise<IDBRequest<any>>;
34
35
  getUserWhishlist(): Promise<IDBRequest<OrderedItems[]>>;
36
+ getTrialCart(): Promise<IDBRequest<OrderedItems[]>>;
35
37
  addProductToWishlist(product: OrderedItems): IDBRequest<IDBValidKey>;
38
+ addProductToTrial(product: OrderedItems): IDBRequest<IDBValidKey>;
36
39
  removeProductFromWishlist(productId: string): IDBRequest<undefined>;
37
40
  clearUserCart(): IDBRequest<undefined>;
41
+ clearTrialCart(): IDBRequest<undefined>;
42
+ removeProductFromTrialCart(productId: string): IDBRequest<undefined>;
38
43
  setUser(user: User): User;
39
44
  getUser(): User | null;
40
45
  static ɵfac: i0.ɵɵFactoryDeclaration<StorageServiceService, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.155",
3
+ "version": "3.6.156",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file