simpo-component-library 3.6.159 → 3.6.161

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 (53) 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 +20 -2
  4. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +168 -0
  5. package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +2 -0
  6. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +97 -20
  7. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  8. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  9. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  10. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  11. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  12. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  13. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +3 -3
  14. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +4 -20
  15. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +49 -38
  16. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  17. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  18. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  19. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +3 -3
  20. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  21. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  22. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  23. package/esm2022/lib/ecommerce/styles/product.modal.mjs +19 -1
  24. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +15 -0
  25. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  26. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -12
  27. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  28. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -16
  29. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  30. package/esm2022/lib/services/cart.service.mjs +12 -1
  31. package/esm2022/lib/services/rest.service.mjs +16 -7
  32. package/esm2022/lib/services/storage.service.mjs +21 -1
  33. package/esm2022/public-api.mjs +2 -1
  34. package/fesm2022/simpo-component-library.mjs +414 -140
  35. package/fesm2022/simpo-component-library.mjs.map +1 -1
  36. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
  37. package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +69 -0
  38. package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +14 -0
  39. package/lib/ecommerce/sections/cart/cart.component.d.ts +13 -2
  40. package/lib/ecommerce/sections/order-details/order-details.component.d.ts +0 -6
  41. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +6 -8
  42. package/lib/ecommerce/styles/product.modal.d.ts +16 -0
  43. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  44. package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +5 -0
  45. package/lib/elements/text-editor/text-editor.component.d.ts +0 -1
  46. package/lib/sections/header-section/header-section.component.d.ts +0 -3
  47. package/lib/services/cart.service.d.ts +1 -0
  48. package/lib/services/rest.service.d.ts +6 -2
  49. package/lib/services/storage.service.d.ts +6 -0
  50. package/package.json +1 -1
  51. package/public-api.d.ts +1 -0
  52. package/simpo-component-library-3.6.161.tgz +0 -0
  53. package/simpo-component-library-3.6.159.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
  }
@@ -0,0 +1,69 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { StorageServiceService } from '../../../services/storage.service';
3
+ import { RestService } from '../../../services/rest.service';
4
+ import { Router } from '@angular/router';
5
+ import { BookAppointmentSectionModal, BookAppointmentStylesModel } from './book-appointment.model';
6
+ import BaseSection from '../../../sections/BaseSection';
7
+ import { MessageService } from 'primeng/api';
8
+ import * as i0 from "@angular/core";
9
+ export declare class BookAppointmentComponent extends BaseSection implements OnInit {
10
+ private readonly storageService;
11
+ private readonly restService;
12
+ private router;
13
+ private readonly messageService;
14
+ data?: BookAppointmentSectionModal;
15
+ index?: number;
16
+ edit?: boolean;
17
+ delete?: boolean;
18
+ customClass?: string;
19
+ timeSlots: string[];
20
+ customerDetails: {
21
+ date: string;
22
+ time: string;
23
+ addressDetails: {
24
+ receiverName: string;
25
+ receiverPhone: string;
26
+ receiverEmail: string;
27
+ addressLine1: string;
28
+ stateName: string;
29
+ cityName: string;
30
+ zipCode: string;
31
+ };
32
+ userId: string;
33
+ businessId: string | null;
34
+ };
35
+ designs: {
36
+ id: number;
37
+ name: string;
38
+ price: string;
39
+ selected: boolean;
40
+ }[];
41
+ weekDays: {
42
+ dateWithMonth: string;
43
+ day: string;
44
+ date: number;
45
+ }[];
46
+ trialCartItem: any[];
47
+ styles?: BookAppointmentStylesModel;
48
+ loader: boolean;
49
+ constructor(storageService: StorageServiceService, restService: RestService, router: Router, messageService: MessageService);
50
+ ngOnInit(): void;
51
+ getTrialCart(): void;
52
+ getTrialCartIndexDBData(): void;
53
+ getNextSevenDays(): void;
54
+ toggleDesign(id: number): void;
55
+ getSelectedDesigns(): {
56
+ id: number;
57
+ name: string;
58
+ price: string;
59
+ selected: boolean;
60
+ }[];
61
+ get isValid(): boolean;
62
+ bookAppointment(): void;
63
+ selectTime(time: any): void;
64
+ getKeys(object: Object): string[];
65
+ addMoreDesign(): void;
66
+ get isMobile(): boolean;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookAppointmentComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookAppointmentComponent, "simpo-book-appointment", 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; }; }, {}, never, never, true, never>;
69
+ }
@@ -0,0 +1,14 @@
1
+ import { AnimationModel, BackgroundModel, LayOutModel } from "../../../styles/style.model";
2
+ import { ActionModel } from '../../../styles/style.model';
3
+ export interface BookAppointmentSectionModal {
4
+ id: string;
5
+ sectionType: string;
6
+ sectionName: string;
7
+ styles: BookAppointmentStylesModel;
8
+ action: ActionModel;
9
+ }
10
+ export interface BookAppointmentStylesModel {
11
+ layout: LayOutModel;
12
+ background: BackgroundModel;
13
+ animation: AnimationModel;
14
+ }
@@ -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,13 @@ 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;
106
+ bookAppointment(): void;
96
107
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
97
108
  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
109
  }
@@ -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,13 +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;
139
- getDiscountPercentage(price: any): number;
137
+ addToTrialCart(): void;
140
138
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
141
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>;
142
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
  }
@@ -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
  }
@@ -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,11 @@ 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>;
97
+ bookAppointment(request: any): Observable<Object>;
93
98
  createEnrollmentScheme(enrollement: any): Observable<Object>;
94
- getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
95
99
  getFieldsToDisplay(fieldsList: any[]): any;
96
100
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
97
101
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
@@ -17,11 +17,13 @@ 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;
23
24
  favouriteCollectionRef: IDBObjectStore | null;
24
25
  userCollectionRef: IDBObjectStore | null;
26
+ trialCartCollectionRef: IDBObjectStore | null;
25
27
  createDataBase(): Promise<void>;
26
28
  updateAllData(): void;
27
29
  mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
@@ -32,9 +34,13 @@ export declare class StorageServiceService {
32
34
  removeProductFromCart(productId: string): IDBRequest<undefined>;
33
35
  getProductFromCart(productId: string): Promise<IDBRequest<any>>;
34
36
  getUserWhishlist(): Promise<IDBRequest<OrderedItems[]>>;
37
+ getTrialCart(): Promise<IDBRequest<OrderedItems[]>>;
35
38
  addProductToWishlist(product: OrderedItems): IDBRequest<IDBValidKey>;
39
+ addProductToTrial(product: OrderedItems): IDBRequest<IDBValidKey>;
36
40
  removeProductFromWishlist(productId: string): IDBRequest<undefined>;
37
41
  clearUserCart(): IDBRequest<undefined>;
42
+ clearTrialCart(): IDBRequest<undefined>;
43
+ removeProductFromTrialCart(productId: string): IDBRequest<undefined>;
38
44
  setUser(user: User): User;
39
45
  getUser(): User | null;
40
46
  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.159",
3
+ "version": "3.6.161",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -61,6 +61,7 @@ export * from './lib/ecommerce/sections/authentication-required/authentication-r
61
61
  export * from './lib/ecommerce/sections/new-collection/new-collection.component';
62
62
  export * from './lib/ecommerce/sections/store-list/store-list.component';
63
63
  export * from './lib/ecommerce/sections/store-page/store-page.component';
64
+ export * from './lib/ecommerce/sections/book-appointment/book-appointment.component';
64
65
  export * from './lib/services/events.service';
65
66
  export * from './lib/services/endUser.service';
66
67
  export * from './lib/services/sanitizeHtml';
Binary file