simpo-component-library 3.6.158 → 3.6.160

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 (49) 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 +2 -20
  4. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +20 -89
  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 +20 -4
  13. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +29 -49
  14. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +129 -94
  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 +1 -19
  22. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +2 -2
  23. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  24. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +12 -3
  25. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  26. package/esm2022/lib/sections/header-section/header-section.component.mjs +16 -3
  27. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  28. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +3 -3
  29. package/esm2022/lib/services/cart.service.mjs +1 -12
  30. package/esm2022/lib/services/rest.service.mjs +4 -10
  31. package/esm2022/lib/services/storage.service.mjs +1 -21
  32. package/fesm2022/simpo-component-library.mjs +256 -387
  33. package/fesm2022/simpo-component-library.mjs.map +1 -1
  34. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -2
  35. package/lib/ecommerce/sections/cart/cart.component.d.ts +2 -12
  36. package/lib/ecommerce/sections/order-details/order-details.component.d.ts +6 -0
  37. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +8 -6
  38. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +22 -14
  39. package/lib/ecommerce/styles/product.modal.d.ts +0 -16
  40. package/lib/elements/text-editor/text-editor.component.d.ts +1 -0
  41. package/lib/sections/header-section/header-section.component.d.ts +3 -0
  42. package/lib/services/cart.service.d.ts +0 -1
  43. package/lib/services/rest.service.d.ts +2 -5
  44. package/lib/services/storage.service.d.ts +0 -6
  45. package/package.json +1 -1
  46. package/simpo-component-library-3.6.160.tgz +0 -0
  47. package/esm2022/lib/elements/schedule-video-call/schedule-video-call.component.mjs +0 -15
  48. package/lib/elements/schedule-video-call/schedule-video-call.component.d.ts +0 -5
  49. package/simpo-component-library-3.6.158.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): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
64
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
65
65
  emailDebounceTimer: any;
66
66
  onEmailChange(): void;
67
67
  emailCheck: boolean;
@@ -80,7 +80,6 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
80
80
  private hexToRgba;
81
81
  setup3DEffects(): void;
82
82
  showPassword: boolean;
83
- syncTrialCartToServerDB(userId: string): void;
84
83
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationRequiredComponent, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
85
84
  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>;
86
85
  }
@@ -1,4 +1,4 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { 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,25 +46,19 @@ 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;
51
49
  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[];
53
50
  private userDetails;
54
51
  private USER_CART_ITEMS;
55
52
  selectedAddressIdx: number;
56
53
  defaultAddress?: AddressDetails;
57
54
  enteredCouponCode: string;
58
55
  couponList: Coupon[];
59
- trialCartItem: OrderedItems[] | null;
60
56
  cartInfo: any;
61
57
  loadingSubscription?: Subscription;
62
58
  subIndustryName: string;
63
59
  isJewellery: boolean;
64
60
  ngOnInit(): void;
65
61
  ngOnDestroy(): void;
66
- getTrialCart(): void;
67
- getTrialCartIndexDBData(): void;
68
62
  updateUserCart(): void;
69
63
  getDefaultAddress(): void;
70
64
  get stylesLayout(): LayOutModel;
@@ -78,7 +72,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
78
72
  removeItem(item: OrderedItems): void;
79
73
  private moveItemToWishlist;
80
74
  private removeItemFromCart;
81
- addToCart(item: OrderedItems, quantity: number): void;
75
+ addToCart(item: OrderedItems, type: 'ADD' | 'SUBSTRACT'): void;
82
76
  proceedToPayment(): Promise<void>;
83
77
  addressSelected(index: number): void;
84
78
  isItemOutOfStock(product: OrderedItems): boolean;
@@ -97,12 +91,8 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
97
91
  get currency(): string;
98
92
  changeAddress(): void;
99
93
  addAddress(): void;
100
- scroll(e: WheelEvent): void;
101
- scheduleVideoCall(): void;
102
94
  getButtonId(index: number): string;
103
95
  getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
104
- changeQuantity(event: any, item: OrderedItems): void;
105
- removeTrialItem(item: OrderedItems): void;
106
96
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
107
97
  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>;
108
98
  }
@@ -36,6 +36,12 @@ 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;
39
45
  static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
40
46
  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>;
41
47
  }
@@ -53,21 +53,18 @@ export declare class ProductDescComponent extends BaseSection {
53
53
  styles?: ProductDescStylesModal;
54
54
  subIndustryName: string;
55
55
  isItemAsFavorite: boolean;
56
- isItemAddedAsTrial: boolean;
57
56
  private USER_CART;
58
57
  private USER_WISHLIST;
59
58
  itemImages: ItemImage[];
60
59
  items: MenuItem[] | null;
61
60
  businessDetails: any;
62
- trialCartItem: any[];
61
+ isPinCode: boolean;
63
62
  ngOnInit(): void;
64
63
  varientLoading: boolean;
65
64
  recentViewItemList: Product[];
66
65
  getRelatedProducts(): void;
67
66
  selectVarient(key: string, value: string): void;
68
67
  getItemVarient(): ItemVariant | null;
69
- checkItemAlreadyAddedInTrial(): void;
70
- getTrialCartIndexDBData(): void;
71
68
  shareProduct(): void;
72
69
  routeToHome(): void;
73
70
  screenWidth: any;
@@ -108,7 +105,7 @@ export declare class ProductDescComponent extends BaseSection {
108
105
  getTextColor(color: any): "#000000" | "#ffffff";
109
106
  languages: string[];
110
107
  selectedLang: string;
111
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
108
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
112
109
  onFindInStore(id: string): void;
113
110
  onBookAppointment(): void;
114
111
  isDetails: boolean;
@@ -134,7 +131,12 @@ export declare class ProductDescComponent extends BaseSection {
134
131
  opendailogbox(template: TemplateRef<HTMLDivElement>): void;
135
132
  closeDialog(): void;
136
133
  getRatings(noofratings: any): any;
137
- addToTrialCart(): void;
134
+ reviewsData: any[];
135
+ ratingCounts: any;
136
+ pageNumber: number;
137
+ loadMoreReviews(): void;
138
+ getReviews(productId: string): void;
139
+ getPercentage(rating: number): string;
138
140
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
139
141
  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>;
140
142
  }
@@ -1,8 +1,9 @@
1
+ import { ElementRef } from '@angular/core';
1
2
  import { ItemVariant, Product } from '../../styles/product.modal';
2
3
  import BaseSection from '../../../sections/BaseSection';
3
4
  import { ProductListContentModal, ProductListModal, ProductListStylesModal } from './product-list.modal';
4
- import { EventsService } from '.././../../services/events.service';
5
- import { RestService } from '.././../../services/rest.service';
5
+ import { EventsService } from '../../../services/events.service';
6
+ import { RestService } from '../../../services/rest.service';
6
7
  import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
7
8
  import { ActivatedRoute, Router } from '@angular/router';
8
9
  import { StorageServiceService } from '../../../services/storage.service';
@@ -38,15 +39,12 @@ export declare class ProductListComponent extends BaseSection {
38
39
  nextComponentColor?: BackgroundModel;
39
40
  isLoading: boolean;
40
41
  apiLoading: boolean;
42
+ isListLoading: boolean;
43
+ isAllListLoaded: boolean;
41
44
  content?: ProductListContentModal;
42
45
  button?: ButtonModel;
43
46
  totalPages: number;
44
47
  scrollingValue: number;
45
- onWindowScroll(event: Event): void;
46
- constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
47
- items: MenuItem[] | null;
48
- private filterBottomSheetRef;
49
- private sortingDialogRef;
50
48
  pricingMin: number;
51
49
  pricingMax: number;
52
50
  sortBy: string | null;
@@ -60,7 +58,6 @@ export declare class ProductListComponent extends BaseSection {
60
58
  value: string;
61
59
  }[];
62
60
  screenWidth: number;
63
- getScreenSize(): void;
64
61
  filterList: any[];
65
62
  styles?: ProductListStylesModal;
66
63
  totalCount: number;
@@ -68,12 +65,24 @@ export declare class ProductListComponent extends BaseSection {
68
65
  size: number;
69
66
  searchTxt: string;
70
67
  theme: typeof ProductCardTheme;
68
+ items: MenuItem[] | null;
69
+ private filterBottomSheetRef;
70
+ private sortingDialogRef;
71
+ categories: BaseModel[];
72
+ collections: BaseModel[];
73
+ imageIndex: number;
74
+ listScrollContainer: ElementRef<HTMLDivElement>;
75
+ getScreenSize(): void;
76
+ onWindowScroll(event: Event): void;
77
+ constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
78
+ handleProductListScroll(): void;
79
+ loadMoreProductsToList(): void;
71
80
  ngOnInit(): void;
72
- getButtonId(index: number): string;
73
- getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
74
81
  filterByCategoryCollectionParam(qCategories: any, qCollections: any): void;
75
82
  getAllCategories(): void;
76
83
  getAllCollections(): void;
84
+ filterItemList(): void;
85
+ updateProductCartWishlistProperties(): void;
77
86
  removeFilter(filter: any): void;
78
87
  applyProductWidth(): boolean;
79
88
  getProductWidth(): string;
@@ -85,11 +94,8 @@ export declare class ProductListComponent extends BaseSection {
85
94
  selectVarient(product: Product, varient: ItemVariant): void;
86
95
  private getVarientQuantity;
87
96
  private isVarientPresentInWishtlist;
88
- categories: BaseModel[];
89
- collections: BaseModel[];
90
97
  applyFilter(category?: any, type?: 'SORT' | 'FILTER'): void;
91
98
  navigateFilter(sorting: string): void;
92
- filterItemList(): void;
93
99
  openFilter(FilterSection: any): void;
94
100
  openSorting(SortingSection: any): void;
95
101
  paginationChange(page: number): void;
@@ -100,8 +106,10 @@ export declare class ProductListComponent extends BaseSection {
100
106
  get currency(): string;
101
107
  get minSize(): number;
102
108
  getProductImages(product: any): any;
103
- imageIndex: number;
104
109
  changeImage(product: any, action: 'PREV' | 'NEXT', index: number): Promise<void>;
110
+ getButtonId(index: number): string;
111
+ getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
112
+ getElementRow(): number;
105
113
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
106
114
  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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
107
115
  }
@@ -204,19 +204,3 @@ 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
- }
@@ -44,6 +44,7 @@ export declare class TextEditorComponent {
44
44
  restoreSelection(): void;
45
45
  onPaste(event: ClipboardEvent): void;
46
46
  stripStyles(html: string): string;
47
+ getText(): string;
47
48
  static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
48
49
  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>;
49
50
  }
@@ -32,6 +32,8 @@ 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;
35
37
  searchProducts(): void;
36
38
  goToFav(): void;
37
39
  get stylesLayout(): LayOutModel;
@@ -82,6 +84,7 @@ export declare class HeaderSectionComponent implements OnInit {
82
84
  getCategoriesHeader(): void;
83
85
  Object: ObjectConstructor;
84
86
  applyFilterToList(obj: any, type: any): void;
87
+ filterByCategory(): void;
85
88
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
86
89
  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>;
87
90
  }
@@ -12,7 +12,6 @@ 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;
16
15
  addItemToFavFromCart(product: OrderedItems): void;
17
16
  addOrderedItemToFavourite(orderedItem: OrderedItems): void;
18
17
  removeItemFromFavourite(varientId: string): void;
@@ -3,7 +3,6 @@ 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";
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class RestService implements OnDestroy {
9
8
  private readonly http;
@@ -43,7 +42,7 @@ export declare class RestService implements OnDestroy {
43
42
  resendOTP(mobile: string, countryCode: string): Observable<Object>;
44
43
  applicableDiscountList(cartId: string): Observable<Object>;
45
44
  addItemToDB(userCart: any): Observable<Object>;
46
- getUserItems(userId: string, cartType: 'CART' | 'WISHLIST' | 'TRIAL_CART'): Observable<Object>;
45
+ getUserItems(userId: string, cartType: 'CART' | 'WISHLIST'): Observable<Object>;
47
46
  getUserInfo(userId: string): Observable<Object>;
48
47
  addUserAddress(user: any): Observable<Object>;
49
48
  updateProfile(payload: any): Observable<Object>;
@@ -91,10 +90,8 @@ export declare class RestService implements OnDestroy {
91
90
  getAllState(): Observable<Object>;
92
91
  getCityByStateBypaginated(stateId: any, pageNo: any, size: any): Observable<Object>;
93
92
  getStoreBySlab(data: any): Observable<Object>;
94
- addTrialItem(request: syncItemToServerDBRequest): Observable<Object>;
95
- checkItemAlreadyAdded(request: checkItemAlreadyAdded): Observable<Object>;
96
- deleteItemFromCart(request: checkItemAlreadyAdded): Observable<Object>;
97
93
  createEnrollmentScheme(enrollement: any): Observable<Object>;
94
+ getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
98
95
  getFieldsToDisplay(fieldsList: any[]): any;
99
96
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
100
97
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
@@ -17,13 +17,11 @@ export declare class StorageServiceService {
17
17
  databaseVersion: number;
18
18
  cartCollectionName: string;
19
19
  favouriteCollectionName: string;
20
- trialCartCollectionName: string;
21
20
  userCollectionName: string;
22
21
  database: IDBDatabase;
23
22
  cartCollectionRef: IDBObjectStore | null;
24
23
  favouriteCollectionRef: IDBObjectStore | null;
25
24
  userCollectionRef: IDBObjectStore | null;
26
- trialCartCollectionRef: IDBObjectStore | null;
27
25
  createDataBase(): Promise<void>;
28
26
  updateAllData(): void;
29
27
  mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
@@ -34,13 +32,9 @@ export declare class StorageServiceService {
34
32
  removeProductFromCart(productId: string): IDBRequest<undefined>;
35
33
  getProductFromCart(productId: string): Promise<IDBRequest<any>>;
36
34
  getUserWhishlist(): Promise<IDBRequest<OrderedItems[]>>;
37
- getTrialCart(): Promise<IDBRequest<OrderedItems[]>>;
38
35
  addProductToWishlist(product: OrderedItems): IDBRequest<IDBValidKey>;
39
- addProductToTrial(product: OrderedItems): IDBRequest<IDBValidKey>;
40
36
  removeProductFromWishlist(productId: string): IDBRequest<undefined>;
41
37
  clearUserCart(): IDBRequest<undefined>;
42
- clearTrialCart(): IDBRequest<undefined>;
43
- removeProductFromTrialCart(productId: string): IDBRequest<undefined>;
44
38
  setUser(user: User): User;
45
39
  getUser(): User | null;
46
40
  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.158",
3
+ "version": "3.6.160",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -1,15 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component } from '@angular/core';
3
- import { MatIconModule } from '@angular/material/icon';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "@angular/material/icon";
7
- export class ScheduleVideoCallComponent {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScheduleVideoCallComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ScheduleVideoCallComponent, isStandalone: true, selector: "simpo-schedule-video-call", ngImport: i0, template: "<section class=\"main-section\">\r\n <div class=\"header\">\r\n <div class=\"header-text\">See it Live on Video Call</div>\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"selection-header\">\r\n <h2 class=\"selection-title\">Choose Designs for Live Video Call</h2>\r\n <span class=\"selection-counter\">0/5</span>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"product-card col-md-6 col-12\" *ngFor=\"let data of [1,2,3]\">\r\n <img src=\"https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95/U/E/UE06254-1R0000_11_listfront.jpg\" alt=\"\">\r\n <input type=\"checkbox\">\r\n <div class=\"product-price\">\u20B98,171 <span class=\"product-original-price\">\u20B99,511</span></div>\r\n <div class=\"product-name\">Birdy Gold Stud Earrings</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"footer\">\r\n <button>Schedule video call</button>\r\n </div>\r\n</section>\r\n", styles: ["*{font-family:var(--primary-font-family)}.main-section{width:30vw;position:relative;height:100%}.header{display:flex;justify-content:space-between;padding:0 15px;height:45px;align-items:center;border-bottom:1px solid black}.content{height:calc(100vh - 90px);overflow:scroll;padding:15px}.footer{position:absolute;bottom:0;width:100%;height:45px;align-items:center;display:flex;border-top:1px solid black;padding:0 25px}.footer button{background:linear-gradient(90deg,#8c6,#26b324);border:none;font-size:1rem!important;color:#fff;padding-top:7px;padding-bottom:7px;border-radius:5px;font-weight:600}.selection-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.selection-title{font-size:16px;color:#495057;font-weight:400}.selection-counter{font-size:16px;color:#6c757d;font-weight:500}.product-card{position:relative}.product-card img{width:100%;height:29vh}.product-card input{position:absolute;top:10px;right:20px}.product-price{font-size:16px;font-weight:600;color:#000;margin-bottom:4px;margin-top:10px}.product-original-price{font-size:12px;color:#6c757d;text-decoration:line-through;margin-left:8px}.product-name{font-size:14px;color:#6c757d;line-height:1.3}.row{row-gap:15px}.header-text{font-size:1rem;font-weight:700}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScheduleVideoCallComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'simpo-schedule-video-call', standalone: true, imports: [CommonModule, MatIconModule], template: "<section class=\"main-section\">\r\n <div class=\"header\">\r\n <div class=\"header-text\">See it Live on Video Call</div>\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"selection-header\">\r\n <h2 class=\"selection-title\">Choose Designs for Live Video Call</h2>\r\n <span class=\"selection-counter\">0/5</span>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"product-card col-md-6 col-12\" *ngFor=\"let data of [1,2,3]\">\r\n <img src=\"https://cdn.caratlane.com/media/catalog/product/cache/6/image/480x480/9df78eab33525d08d6e5fb8d27136e95/U/E/UE06254-1R0000_11_listfront.jpg\" alt=\"\">\r\n <input type=\"checkbox\">\r\n <div class=\"product-price\">\u20B98,171 <span class=\"product-original-price\">\u20B99,511</span></div>\r\n <div class=\"product-name\">Birdy Gold Stud Earrings</div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"footer\">\r\n <button>Schedule video call</button>\r\n </div>\r\n</section>\r\n", styles: ["*{font-family:var(--primary-font-family)}.main-section{width:30vw;position:relative;height:100%}.header{display:flex;justify-content:space-between;padding:0 15px;height:45px;align-items:center;border-bottom:1px solid black}.content{height:calc(100vh - 90px);overflow:scroll;padding:15px}.footer{position:absolute;bottom:0;width:100%;height:45px;align-items:center;display:flex;border-top:1px solid black;padding:0 25px}.footer button{background:linear-gradient(90deg,#8c6,#26b324);border:none;font-size:1rem!important;color:#fff;padding-top:7px;padding-bottom:7px;border-radius:5px;font-weight:600}.selection-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.selection-title{font-size:16px;color:#495057;font-weight:400}.selection-counter{font-size:16px;color:#6c757d;font-weight:500}.product-card{position:relative}.product-card img{width:100%;height:29vh}.product-card input{position:absolute;top:10px;right:20px}.product-price{font-size:16px;font-weight:600;color:#000;margin-bottom:4px;margin-top:10px}.product-original-price{font-size:12px;color:#6c757d;text-decoration:line-through;margin-left:8px}.product-name{font-size:14px;color:#6c757d;line-height:1.3}.row{row-gap:15px}.header-text{font-size:1rem;font-weight:700}\n"] }]
14
- }] });
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZWR1bGUtdmlkZW8tY2FsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2VsZW1lbnRzL3NjaGVkdWxlLXZpZGVvLWNhbGwvc2NoZWR1bGUtdmlkZW8tY2FsbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2VsZW1lbnRzL3NjaGVkdWxlLXZpZGVvLWNhbGwvc2NoZWR1bGUtdmlkZW8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HVjdC1vcmlnaW5hbC1wcmljZVwiPuKCuTksNTExPC9zcGFuPjwvZGl2PlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJwcm9kdWN0LW5hbWVcIj5CaXJkeSBHb2xkIFN0dWQgRWFycmluZ3M8L2Rpdj5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuICA8ZGl2IGNsYXNzPVwiZm9vdGVyXCI+XHJcbiAgICA8YnV0dG9uPlNjaGVkdWxlIHZpZGVvIGNhbGw8L2J1dHRvbj5cclxuICA8L2Rpdj5cclxuPC9zZWN0aW9uPlxyXG4iXX0=
@@ -1,5 +0,0 @@
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
- }
Binary file