simpo-component-library 1.9.92 → 1.9.94

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,7 +64,7 @@ export class NavbarSectionComponent {
64
64
  this.showEditors = false;
65
65
  this.showSearchBar = false;
66
66
  this.getScreenSize();
67
- this.storageService.updateAllData();
67
+ // this.storageService.updateAllData();
68
68
  }
69
69
  searchProducts() {
70
70
  this.router.navigate(['/list'], { queryParams: { searchTxt: this.searchText } });
@@ -275,4 +275,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
275
275
  type: HostListener,
276
276
  args: ['window:resize', ['$event']]
277
277
  }] } });
278
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLXNlY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZWN0aW9ucy9uYXZiYXItc2VjdGlvbi9uYXZiYXItc2VjdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL3NlY3Rpb25zL25hdmJhci1zZWN0aW9uL25hdmJhci1zZWN0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbEYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG9EQUFvRCxDQUFDO0FBQzFGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGtEQUFrRCxDQUFDO0FBQ3ZGLE9BQU8sRUFBRSxPQUFPLEVBQU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9yXCIgW3NlY3Rpb25JZF09XCJkYXRhPy5pZFwiPjwvc2ltcG8tc29jaWEtaWNvbnM+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICAgIDwvZGl2PlxyXG5cclxuXHJcbiAgICAgIDxkaXYgY2xhc3M9XCJkLWZsZXggZmxleC1jb2x1bW4gbXQtMiBhbGlnbi1pdGVtcy1jZW50ZXJcIj5cclxuICAgICAgICA8ZGl2ICpuZ0lmPVwiYWN0aW9uPy5kaXNwbGF5XCIgY2xhc3M9XCJidXR0b24tZGlzcGxheVwiPlxyXG4gICAgICAgICAgPGRpdiAqbmdGb3I9XCJsZXQgYnV0dG9uIG9mIGFjdGlvbj8uYnV0dG9uc1wiPlxyXG4gICAgICAgICAgICA8YXBwLWJ1dHRvbi1lbGVtZW50XHJcbiAgICAgICAgICAgICAgW2J1dHRvbkNvbnRlbnRdPVwiYnV0dG9uLmNvbnRlbnRcIlxyXG4gICAgICAgICAgICAgIFtidXR0b25TdHlsZV09XCJidXR0b24uc3R5bGVzXCJcclxuICAgICAgICAgICAgICBbc2VjdGlvbklkXT1cImRhdGE/LmlkXCJcclxuICAgICAgICAgICAgICBbY29sb3JdPVwiZGF0YT8uc3R5bGVzPy5iYWNrZ3JvdW5kPy5hY2NlbnRDb2xvclwiPjwvYXBwLWJ1dHRvbi1lbGVtZW50PlxyXG4gICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgPC9kaXY+XHJcbjwvbmctdGVtcGxhdGU+XHJcblxyXG5cclxuXHJcblxyXG4iXX0=
278
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLXNlY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsi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bnRcclxuICAgICAgICAgICAgICBbYnV0dG9uQ29udGVudF09XCJidXR0b24uY29udGVudFwiXHJcbiAgICAgICAgICAgICAgW2J1dHRvblN0eWxlXT1cImJ1dHRvbi5zdHlsZXNcIlxyXG4gICAgICAgICAgICAgIFtzZWN0aW9uSWRdPVwiZGF0YT8uaWRcIlxyXG4gICAgICAgICAgICAgIFtjb2xvcl09XCJkYXRhPy5zdHlsZXM/LmJhY2tncm91bmQ/LmFjY2VudENvbG9yXCI+PC9hcHAtYnV0dG9uLWVsZW1lbnQ+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuXHJcblxyXG5cclxuXHJcbiJdfQ==
@@ -114,7 +114,7 @@ export class StorageServiceService {
114
114
  localStorage.setItem("cartId", userCart?.cartId);
115
115
  this.getUserCart().then((userCartResponse) => {
116
116
  userCartResponse.onsuccess = (userCartIndexDB) => {
117
- userCart.orderedItems = [...(userCartIndexDB.target.result ?? []), ...(userCart?.orderedItems ?? [])];
117
+ userCart.orderedItems = this.mergeAllItems(userCartIndexDB.target.result ?? [], userCart?.orderedItems ?? []);
118
118
  this.addAllProductsToCart(userCart.orderedItems);
119
119
  // this.restService.addItemToDB(userCart).subscribe((res: any) => {
120
120
  // if(res?.data?.cartId && !localStorage.getItem('cartId'))
@@ -139,6 +139,21 @@ export class StorageServiceService {
139
139
  // this.storeDataToJSON();
140
140
  }
141
141
  }
142
+ mergeAllItems(unSyncedItem, syncedItem) {
143
+ for (let product of syncedItem) {
144
+ let itemFound = false;
145
+ for (let cartItem of unSyncedItem) {
146
+ if (cartItem.varientId === product.varientId) {
147
+ itemFound = true;
148
+ // cartItem.quantity = product.quantity;
149
+ }
150
+ }
151
+ if (!itemFound) {
152
+ unSyncedItem.push(product);
153
+ }
154
+ }
155
+ return unSyncedItem;
156
+ }
142
157
  // CART SERVICE
143
158
  async getUserCart() {
144
159
  const transaction = this.database.transaction(this.cartCollectionName, "readwrite");
@@ -234,4 +249,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
234
249
  providedIn: 'root'
235
250
  }]
236
251
  }], ctorParameters: () => [{ type: i1.EventsService }, { type: i2.CookieService }, { type: i3.RestService }, { type: i4.Router }] });
237
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZXJ2aWNlcy9zdG9yYWdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUtuRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBRWhDLE9BQU8sRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLE1BQU0sa0NBQWtDLENBQUM7Ozs7OztBQU1sRSxNQUFNLE9BQU8scUJBQXFCO0lBRWhDLFlBQ21CLFlBQTJCLEVBQzNCLGFBQTRCLEVBQzVCLFdBQXdCLEVBQ2pDLE1BQWU7UUFITixpQkFBWSxHQUFaLFlBQVksQ0FBZTtRQUMzQixrQkFBYSxHQUFiLGFBQWEsQ0FBZTtRQUM1QixnQkFBVyxHQUFYLFdBQVcsQ0FBYTtRQUNqQyxXQUFNLEdBQU4sTUFBTSxDQUFTO1FBV2pCLG1CQUFjLEdBQVcsQ0FBQyxDQUFDO1FBUW5DLGlCQUFZLEdBQVcsTUFBTSxDQUFDO1FBQzlCLG9CQUFlLEdBQVcsQ0FBQyxDQUFDO1FBQzVCLHVCQUFrQixHQUFXLFdBQVcsQ0FBQztRQUN6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XRhYmFzZSAhPSB1bmRlZmluZWQpIHtcclxuICAvLyAgICAgICBjb25zdCByZXF1ZXN0ID0gYXdhaXQgdGhpcy5kYXRhYmFzZVxyXG4gIC8vICAgICAgICAgLnRyYW5zYWN0aW9uKHRoaXMub2JqZWN0U3RvcmFnZU5hbWUsICdyZWFkd3JpdGUnKVxyXG4gIC8vICAgICAgICAgLm9iamVjdFN0b3JlKHRoaXMub2JqZWN0U3RvcmFnZU5hbWUpXHJcbiAgLy8gICAgICAgICAuY2xlYXIoKTtcclxuXHJcbiAgLy8gICAgICAgcmVxdWVzdC5vbnN1Y2Nlc3MgPSBhd2FpdCBmdW5jdGlvbiAoZXZlbnQ6IGFueSkge1xyXG5cclxuICAvLyAgICAgICAgIGlmIChldmVudC50YXJnZXQucmVzdWx0KSB7XHJcbiAgLy8gICAgICAgICAgIHJlc29sdmUoZXZlbnQucmVzdWx0KTtcclxuICAvLyAgICAgICAgIH0gZWxzZSB7XHJcbiAgLy8gICAgICAgICAgIHJlc29sdmUoJ1NVQ0NFU1MnKTtcclxuICAvLyAgICAgICAgIH1cclxuICAvLyAgICAgICB9O1xyXG4gIC8vICAgICAgIHJlcXVlc3Qub25lcnJvciA9IGF3YWl0IGZ1bmN0aW9uIChfZXZlbnQpIHtcclxuICAvLyAgICAgICAgIHJlamVjdChcIk5vIGRhdGFcIik7XHJcbiAgLy8gICAgICAgfVxyXG4gIC8vICAgICB9XHJcbiAgLy8gICB9KTtcclxuICAvLyB9XHJcbn1cclxuIl19
252
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZXJ2aWNlcy9zdG9yYWdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyx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cbiAgLy8gICAgICAgICB9IGVsc2Uge1xyXG4gIC8vICAgICAgICAgICByZXNvbHZlKCdTVUNDRVNTJyk7XHJcbiAgLy8gICAgICAgICB9XHJcbiAgLy8gICAgICAgfTtcclxuICAvLyAgICAgICByZXF1ZXN0Lm9uZXJyb3IgPSBhd2FpdCBmdW5jdGlvbiAoX2V2ZW50KSB7XHJcbiAgLy8gICAgICAgICByZWplY3QoXCJObyBkYXRhXCIpO1xyXG4gIC8vICAgICAgIH1cclxuICAvLyAgICAgfVxyXG4gIC8vICAgfSk7XHJcbiAgLy8gfVxyXG59XHJcbiJdfQ==
@@ -3709,7 +3709,7 @@ class StorageServiceService {
3709
3709
  localStorage.setItem("cartId", userCart?.cartId);
3710
3710
  this.getUserCart().then((userCartResponse) => {
3711
3711
  userCartResponse.onsuccess = (userCartIndexDB) => {
3712
- userCart.orderedItems = [...(userCartIndexDB.target.result ?? []), ...(userCart?.orderedItems ?? [])];
3712
+ userCart.orderedItems = this.mergeAllItems(userCartIndexDB.target.result ?? [], userCart?.orderedItems ?? []);
3713
3713
  this.addAllProductsToCart(userCart.orderedItems);
3714
3714
  // this.restService.addItemToDB(userCart).subscribe((res: any) => {
3715
3715
  // if(res?.data?.cartId && !localStorage.getItem('cartId'))
@@ -3734,6 +3734,21 @@ class StorageServiceService {
3734
3734
  // this.storeDataToJSON();
3735
3735
  }
3736
3736
  }
3737
+ mergeAllItems(unSyncedItem, syncedItem) {
3738
+ for (let product of syncedItem) {
3739
+ let itemFound = false;
3740
+ for (let cartItem of unSyncedItem) {
3741
+ if (cartItem.varientId === product.varientId) {
3742
+ itemFound = true;
3743
+ // cartItem.quantity = product.quantity;
3744
+ }
3745
+ }
3746
+ if (!itemFound) {
3747
+ unSyncedItem.push(product);
3748
+ }
3749
+ }
3750
+ return unSyncedItem;
3751
+ }
3737
3752
  // CART SERVICE
3738
3753
  async getUserCart() {
3739
3754
  const transaction = this.database.transaction(this.cartCollectionName, "readwrite");
@@ -5202,7 +5217,7 @@ class NavbarSectionComponent {
5202
5217
  this.showEditors = false;
5203
5218
  this.showSearchBar = false;
5204
5219
  this.getScreenSize();
5205
- this.storageService.updateAllData();
5220
+ // this.storageService.updateAllData();
5206
5221
  }
5207
5222
  searchProducts() {
5208
5223
  this.router.navigate(['/list'], { queryParams: { searchTxt: this.searchText } });