simpo-component-library 2.0.25 → 2.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -113,50 +113,29 @@ export class FeaturedProductsComponent extends BaseSection {
113
113
  this.apiLoading = true;
114
114
  this.restService.getFeaturedProduct(this.content?.collectionId).subscribe((response) => {
115
115
  this.responseData = response;
116
- // this.storageService.getUserCart().then((cartResponse) => {
117
- // cartResponse.onsuccess = (cartData: any) => {
118
- // this.apiLoading = false;
119
- // this.USER_CART = cartData.target.result as unknown as OrderedItems[];
120
- // this.responseData?.forEach((product: Product) => {
121
- // this.USER_CART?.forEach((item: OrderedItems) => {
122
- // if (item.itemId == product.itemId) {
123
- // if (product?.itemVariant?.length > 0) {
124
- // const itemVarient: ItemVariant = product?.itemVariant?.[0];
125
- // if (itemVarient.variantId == item.varientId) {
126
- // product.itemImages = itemVarient.variantImages ?? [];
127
- // product.price = itemVarient.itemVariantPrice;
128
- // product.quantity = item.quantity;
129
- // }
130
- // } else {
131
- // product.quantity = item.quantity;
132
- // }
133
- // }
134
- // })
135
- // })
136
- // }
137
- // },(err) => {
138
- // this.apiLoading = false;
139
- // })
140
- this.storageService.getCartProduct().then((products) => {
141
- this.apiLoading = false;
142
- this.responseData?.forEach((product) => {
143
- products?.forEach((item) => {
144
- if (item.itemId == product.itemId) {
145
- if (product?.itemVariant?.length > 0) {
146
- const itemVarient = product?.itemVariant?.[0];
147
- if (itemVarient.variantId == item.varientId) {
148
- product.itemImages = itemVarient.variantImages ?? [];
149
- product.price = itemVarient.itemVariantPrice;
116
+ this.storageService.getUserCart().then((cartResponse) => {
117
+ cartResponse.onsuccess = (cartData) => {
118
+ this.apiLoading = false;
119
+ this.USER_CART = cartData.target.result;
120
+ this.responseData?.forEach((product) => {
121
+ this.USER_CART?.forEach((item) => {
122
+ if (item.itemId == product.itemId) {
123
+ if (product?.itemVariant?.length > 0) {
124
+ const itemVarient = product?.itemVariant?.[0];
125
+ if (itemVarient.variantId == item.varientId) {
126
+ product.itemImages = itemVarient.variantImages ?? [];
127
+ product.price = itemVarient.itemVariantPrice;
128
+ product.quantity = item.quantity;
129
+ }
130
+ }
131
+ else {
150
132
  product.quantity = item.quantity;
151
133
  }
152
134
  }
153
- else {
154
- product.quantity = item.quantity;
155
- }
156
- }
135
+ });
157
136
  });
158
- });
159
- }).catch(err => {
137
+ };
138
+ }, (err) => {
160
139
  this.apiLoading = false;
161
140
  });
162
141
  this.storageService.getUserWhishlist().then((wishlistResponse) => {
@@ -188,44 +167,39 @@ export class FeaturedProductsComponent extends BaseSection {
188
167
  this.messageService.add({ severity: 'warn', summary: 'Cart', detail: 'Item is not available as of now. We will notify you once available' });
189
168
  return;
190
169
  }
191
- this.cartService.addItemToLocalCart(product, type);
170
+ if (!product?.quantity)
171
+ product.quantity = 0;
172
+ if (type == 'ADD') {
173
+ product.quantity += 1;
174
+ }
175
+ else {
176
+ product.quantity -= 1;
177
+ }
178
+ if (product?.itemVariant?.length) {
179
+ const itemVarient = this.getItemVarient(product, product.varientId);
180
+ if (itemVarient) {
181
+ itemVarient.quantity = product.quantity;
182
+ this.cartService.addItemToCart(product, itemVarient.variantId);
183
+ }
184
+ }
185
+ else {
186
+ this.cartService.addItemToCart(product);
187
+ }
188
+ if (product.quantity) {
189
+ let isPresent = false;
190
+ this.USER_CART?.forEach((item) => {
191
+ if (item.varientId == product.varientId) {
192
+ item.quantity = product.quantity;
193
+ isPresent = true;
194
+ }
195
+ });
196
+ if (!isPresent)
197
+ this.USER_CART?.push(new OrderedItems(product, product.varientId));
198
+ }
199
+ else {
200
+ this.USER_CART = this.USER_CART?.filter((item) => item.varientId != product.varientId) ?? [];
201
+ }
192
202
  }
193
- // addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT') {
194
- // if (this.isItemOutOfStock(product)) {
195
- // this.messageService.add({ severity: 'warn', summary: 'Cart', detail: 'Item is not available as of now. We will notify you once available' });
196
- // return;
197
- // }
198
- // if (!product?.quantity)
199
- // product.quantity = 0;
200
- // if (type == 'ADD') {
201
- // product.quantity += 1;
202
- // }
203
- // else {
204
- // product.quantity -= 1;
205
- // }
206
- // if (product?.itemVariant?.length) {
207
- // const itemVarient: ItemVariant | null = this.getItemVarient(product, product.varientId);
208
- // if (itemVarient) {
209
- // itemVarient.quantity = product.quantity;
210
- // this.cartService.addItemToCart(product, itemVarient.variantId);
211
- // }
212
- // } else {
213
- // this.cartService.addItemToCart(product);
214
- // }
215
- // if (product.quantity) {
216
- // let isPresent: boolean = false;
217
- // this.USER_CART?.forEach((item: OrderedItems) => {
218
- // if (item.varientId == product.varientId) {
219
- // item.quantity = product.quantity;
220
- // isPresent = true;
221
- // }
222
- // })
223
- // if (!isPresent)
224
- // this.USER_CART?.push(new OrderedItems(product, product.varientId));
225
- // } else {
226
- // this.USER_CART = this.USER_CART?.filter((item: OrderedItems) => item.varientId != product.varientId) ?? [];
227
- // }
228
- // }
229
203
  toggleItemToFav(event, product, type) {
230
204
  if (type == 'ADD') {
231
205
  product.whislist = true;
@@ -414,4 +388,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
414
388
  type: HostListener,
415
389
  args: ["window: resize", ["$event"]]
416
390
  }] } });
417
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZWQtcHJvZHVjdHMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvZmVhdHVyZWQtcHJvZHVjdHMvZmVhdHVyZWQtcHJvZHVjdHMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvZmVhdHVyZWQtcHJvZHVjdHMvZmVhdHVyZWQtcHJvZHVjdHMuY29tcG9uZW50Lmh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uICAgICAgICAgIHRoaXMucmVzcG9uc2VEYXRhPy5mb3JFYWNoKChwcm9kdWN0OiBQcm9kdWN0KSA9PiB7XHJcbiAgICAgICAgICAgIHRoaXMuVVNFUl9DQVJUPy5mb3JFYWNoKChpdGVtOiBPcmRlcmVkSXRlbXMpID0+IHtcclxuICAgICAgICAgICAgICBpZiAoaXRlbS5pdGVtSWQgPT0gcHJvZHVjdC5pdGVtSWQpIHtcclxuICAgICAgICAgICAgICAgIGlmIChwcm9kdWN0Py5pdGVtVmFyaWFudD8ubGVuZ3RoID4gMCkge1xyXG4gICAgICAgICAgICAgICAgICBjb25zdCBpdGVtVmFyaWVudDogSXRlbVZhcmlhbnQgPSBwcm9kdWN0Py5pdGVtVmFyaWFudD8uWzBdO1xyXG4gICAgICAgICAgICAgICAgICBpZiAoaXRlbVZhcmllbnQudmFyaWFudElkID09IGl0ZW0udmFyaWVudElkKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgcHJvZHVjdC5pdGVtSW1hZ2VzID0gaXRlbVZhcmllbnQudmFyaWFudEltYWdlcyA/PyBbXTtcclxuICAgICAgICAgICAgICAgICAgICBwcm9kdWN0LnByaWNlID0gaXRlbVZhcmllbnQuaXRlbVZhcmlhbnRQcmljZTtcclxuICAgICAgICAgICAgICAgICAgICBwcm9kdWN0LnF1YW50aXR5ID0gaXRlbS5xdWFudGl0eTtcclxuICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgcHJvZHVjdC5xdWFudGl0eSA9IGl0ZW0ucXVhbnRpdHk7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9KVxyXG4gICAgICAgICAgfSlcclxuICAgICAgICB9XHJcbiAgICAgIH0sKGVycikgPT4ge1xyXG4gICAgICAgIHRoaXMuYXBpTG9hZGluZyA9IGZhbHNlO1xyXG4gICAgICB9KVxyXG4gICAgICB0a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vbnRhaW5lciA9IHRoaXMuY29udGFpbmVyUmVmPy5uYXRpdmVFbGVtZW50O1xyXG4gICAgaWYgKGNvbnRhaW5lcikge1xyXG4gICAgICBsZXQgc2Nyb2xsQW1vdW50ID0gMDtcclxuICAgICAgY29uc3Qgc2xpZGVUaW1lciA9IHNldEludGVydmFsKCgpID0+IHtcclxuICAgICAgICBjb250YWluZXIuc2Nyb2xsTGVmdCArPSBjb250YWluZXIuY2xpZW50V2lkdGggLyAxMjtcclxuICAgICAgICBzY3JvbGxBbW91bnQgKz0gY29udGFpbmVyLmNsaWVudFdpZHRoIC8gMTI7XHJcbiAgICAgICAgaWYgKHNjcm9sbEFtb3VudCA+PSBjb250YWluZXIuY2xpZW50V2lkdGggLyAyKSB7XHJcbiAgICAgICAgICB3aW5kb3cuY2xlYXJJbnRlcnZhbChzbGlkZVRpbWVyKTtcclxuICAgICAgICAgIHRoaXMudXBkYXRlQXJyb3dzKCk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9LCAyNSk7XHJcbiAgICB9XHJcbiAgfVxyXG4gIHNjcm9sbExlZnQoKSB7XHJcbiAgICBjb25zdCBjb250YWluZXIgPSB0aGlzLmNvbnRhaW5lclJlZj8ubmF0aXZlRWxlbWVudDtcclxuICAgIGlmIChjb250YWluZXIpIHtcclxuICAgICAgbGV0IHNjcm9sbEFtb3VudCA9IDA7XHJcbiAgICAgIGNvbnN0IHNsaWRlVGltZXIgPSBzZXRJbnRlcnZhbCgoKSA9PiB7XHJcbiAgICAgICAgY29udGFpbmVyLnNjcm9sbExlZnQgLT0gY29udGFpbmVyLmNsaWVudFdpZHRoIC8gMTI7XHJcbiAgICAgICAgc2Nyb2xsQW1vdW50ICs9IGNvbnRhaW5lci5jbGllbnRXaWR0aCAvIDEyO1xyXG4gICAgICAgIGlmIChzY3JvbGxBbW91bnQgPj0gY29udGFpbmVyLmNsaWVudFdpZHRoIC8gMikge1xyXG4gICAgICAgICAgd2luZG93LmNsZWFySW50ZXJ2YWwoc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