simpo-component-library 2.0.26 → 2.0.28
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +7 -106
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +52 -78
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +278 -59
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +2 -2
- package/esm2022/lib/services/cart.service.mjs +1 -60
- package/esm2022/lib/services/rest.service.mjs +18 -1
- package/esm2022/lib/services/storage.service.mjs +1 -46
- package/fesm2022/simpo-component-library.mjs +355 -348
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +0 -4
- package/lib/sections/appointment-form/appointment-form.component.d.ts +28 -9
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/cart.service.d.ts +1 -4
- package/lib/services/rest.service.d.ts +4 -0
- package/lib/services/storage.service.d.ts +0 -1
- package/package.json +1 -1
- package/simpo-component-library-2.0.28.tgz +0 -0
- package/simpo-component-library-2.0.26.tgz +0 -0
@@ -64,7 +64,7 @@ export class NavbarSectionComponent {
|
|
64
64
|
this.showEditors = false;
|
65
65
|
this.showSearchBar = false;
|
66
66
|
this.getScreenSize();
|
67
|
-
|
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,eyJ2ZX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1dHRvbiBvZiBhY3Rpb24/LmJ1dHRvbnNcIj5cclxuICAgICAgICAgICAgPGFwcC1idXR0b24tZWxlbWVudFxyXG4gICAgICAgICAgICAgIFtidXR0b25Db250ZW50XT1cImJ1dHRvbi5jb250ZW50XCJcclxuICAgICAgICAgICAgICBbYnV0dG9uU3R5bGVdPVwiYnV0dG9uLnN0eWxlc1wiXHJcbiAgICAgICAgICAgICAgW3NlY3Rpb25JZF09XCJkYXRhPy5pZFwiXHJcbiAgICAgICAgICAgICAgW2NvbG9yXT1cImRhdGE/LnN0eWxlcz8uYmFja2dyb3VuZD8uYWNjZW50Q29sb3JcIj48L2FwcC1idXR0b24tZWxlbWVudD5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L25nLXRlbXBsYXRlPlxyXG5cclxuXHJcblxyXG5cclxuIl19
|
278
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2YmFyLXNlY3Rpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZWN0aW9ucy9uYXZiYXItc2VjdGlvbi9uYXZiYXItc2VjdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL3NlY3Rpb25zL25hdmJhci1zZWN0aW9uL25hdmJhci1zZWN0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFbEYsT0FBTyxFQUFFLFlBQVksR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LWVsZW1lbnQ+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuXHJcblxyXG5cclxuXHJcbiJdfQ==
|
@@ -82,65 +82,6 @@ export class CartService {
|
|
82
82
|
clearCartItems() {
|
83
83
|
this.storageService.clearUserCart();
|
84
84
|
}
|
85
|
-
addItemToLocalCart(product, type) {
|
86
|
-
// if (this.isItemOutOfStock(product)) {
|
87
|
-
// // this.messageService.add({ severity: 'warn', summary: 'Cart', detail: 'Item is not available as of now. We will notify you once available' });
|
88
|
-
// return;
|
89
|
-
// }
|
90
|
-
if (!product?.quantity)
|
91
|
-
product.quantity = 0;
|
92
|
-
if (type == 'ADD') {
|
93
|
-
product.quantity += 1;
|
94
|
-
}
|
95
|
-
else {
|
96
|
-
product.quantity -= 1;
|
97
|
-
}
|
98
|
-
this.storageService.getUserCart().then((cartResponse) => {
|
99
|
-
cartResponse.onsuccess = (cartData) => {
|
100
|
-
const userCart = cartData.target.result ?? [];
|
101
|
-
let orderedItem = new OrderedItems();
|
102
|
-
if (product?.itemVariant?.length) {
|
103
|
-
const itemVarient = this.getItemVarient(product, product.varientId);
|
104
|
-
if (itemVarient) {
|
105
|
-
itemVarient.quantity = product.quantity;
|
106
|
-
orderedItem = this.objectMapper(product, itemVarient.variantId);
|
107
|
-
}
|
108
|
-
}
|
109
|
-
else {
|
110
|
-
orderedItem = this.objectMapper(product);
|
111
|
-
}
|
112
|
-
let productFound = false;
|
113
|
-
for (let localProduct of userCart) {
|
114
|
-
if (localProduct.varientId === product.varientId) {
|
115
|
-
localProduct.quantity = type === 'ADD' ? localProduct.quantity + 1 : localProduct.quantity - 1;
|
116
|
-
if (localProduct.quantity == 0) {
|
117
|
-
this.removeItemFromCart(localProduct);
|
118
|
-
}
|
119
|
-
else {
|
120
|
-
this.storageService.addProductToCart(localProduct);
|
121
|
-
}
|
122
|
-
productFound = true;
|
123
|
-
break;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
if (!productFound) {
|
127
|
-
orderedItem.quantity = type === 'ADD' ? 1 : -1;
|
128
|
-
this.storageService.addProductToCart(orderedItem);
|
129
|
-
}
|
130
|
-
};
|
131
|
-
});
|
132
|
-
}
|
133
|
-
isItemOutOfStock(product) {
|
134
|
-
return product.itemInventory?.openingStock == 0;
|
135
|
-
}
|
136
|
-
getItemVarient(product, varientId) {
|
137
|
-
let selectedVarient = null;
|
138
|
-
product?.itemVariant?.forEach((varient) => {
|
139
|
-
if (varient.variantId == varientId)
|
140
|
-
selectedVarient = varient;
|
141
|
-
});
|
142
|
-
return selectedVarient;
|
143
|
-
}
|
144
85
|
storeDataToServer() {
|
145
86
|
// const userCart = UserCart as never as Cart;
|
146
87
|
// const userWishlist = UserFavourites as never as Cart;
|
@@ -162,4 +103,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
162
103
|
providedIn: 'root',
|
163
104
|
}]
|
164
105
|
}], ctorParameters: () => [{ type: i1.StorageServiceService }, { type: i2.RestService }] });
|
165
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FydC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZXJ2aWNlcy9jYXJ0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixVQUFVLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHdDQUF3QyxDQUFDOzs7O0FBU3RFLE1BQU0sT0FBTyxXQUFXO0lBQ3RCLFlBQ21CLGNBQXFDLEVBQ3JDLFdBQXdCO1FB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xldGUgdXNlckNhcnQuY2FydElkO1xyXG4gICAgLy8gaWYgKHVzZXJXaXNobGlzdC5jYXJ0SWQ/Lmxlbmd0aCA9PSAwKVxyXG4gICAgLy8gICBkZWxldGUgdXNlcldpc2hsaXN0LmNhcnRJZDtcclxuXHJcbiAgICAvLyByZXR1cm4gZm9ya0pvaW4oW1xyXG4gICAgLy8gICB0aGlzLnJlc3RTZXJ2aWNlLmFkZEl0ZW1Ub0RCKFVzZXJDYXJ0KSxcclxuICAgIC8vICAgdGhpcy5yZXN0U2VydmljZS5hZGRJdGVtVG9EQihVc2VyRmF2b3VyaXRlcylcclxuICAgIC8vIF0pO1xyXG4gIH1cclxufSJdfQ==
|
@@ -225,6 +225,9 @@ export class RestService {
|
|
225
225
|
getAllLocation(businessId, size, page) {
|
226
226
|
return this.http.get(this.BASE_URL + `crm/appointment/config/location?businessId=${businessId}&size=${size}&page=${page}`);
|
227
227
|
}
|
228
|
+
getAllStaff(businessId, size, page, locationId, serviceId) {
|
229
|
+
return this.http.get(this.BASE_URL + `crm/appointment/config/location?businessId=${businessId}&size=${size}&page=${page}&locationId=${locationId}&serviceId=${serviceId}`);
|
230
|
+
}
|
228
231
|
getAllTimeSlots(locationId, date) {
|
229
232
|
return this.http.get(this.BASE_URL + `crm/appointment/config/timeslots?locationId=${locationId}&date=${date}`);
|
230
233
|
}
|
@@ -232,6 +235,20 @@ export class RestService {
|
|
232
235
|
const businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId") ?? "";
|
233
236
|
return this.http.get(this.BASE_URL + `business/blog/by/business?businessId=${businessId}`);
|
234
237
|
}
|
238
|
+
getAllService(businessId, size, page, locationId) {
|
239
|
+
if (!locationId) {
|
240
|
+
return this.http.get(this.BASE_URL + `crm/appointment/config/service?businessId=${businessId}&size=${size}&page=${page}`);
|
241
|
+
}
|
242
|
+
else {
|
243
|
+
return this.http.get(this.BASE_URL + `crm/appointment/config/service?businessId=${businessId}&size=${size}&page=${page}&locationId=${locationId}`);
|
244
|
+
}
|
245
|
+
}
|
246
|
+
getAllStaffByLocation(businessId, size, page, locationId, serviceId) {
|
247
|
+
return this.http.get(this.BASE_URL + `crm/appointment/config/staff?businessId=${businessId}&size=${size}&page=${page}&locationId=${locationId}&serviceId=${serviceId}`);
|
248
|
+
}
|
249
|
+
getAvailableSlots(data) {
|
250
|
+
return this.http.put(this.BASE_URL + `crm/appointment/config/available/timeslots`, data);
|
251
|
+
}
|
235
252
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RestService, deps: [{ token: i1.HttpClient }, { token: i2.EventsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
236
253
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RestService, providedIn: 'root' }); }
|
237
254
|
}
|
@@ -241,4 +258,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
241
258
|
providedIn: 'root',
|
242
259
|
}]
|
243
260
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.EventsService }] });
|
244
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZXJ2aWNlcy9yZXN0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFVBQVUsRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUUsR0FBRyxFQUF3QyxNQUFNLE1BQU0sQ0FBQztBQUNqRSxPQUFPLEVBQUUsUUFBUSxFQUFpQixPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFJaEY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gICAgICAgICAgIFwidXNlcklkXCI6IGxvY2FsU3RvcmFnZS5nZXRJdGVtKFwicGVySWRcIikgPz8gbnVsbCxcclxuICAgICAgICAgICAgcmVxdWVzdDogXCJVU0VSXCJcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cC5wdXQodGhpcy5CQVNFX1VSTCArIGBlY29tbWVyY2UvcHJvZHVjdC9pdGVtL3NlYXJjaGAsIHBheWxvYWQpLnBpcGUobWFwKChyZXNwb25zZTogYW55KT0+IHtcclxuICAgICAgICAgICAgcmV0dXJuIHtcclxuICAgICAgICAgICAgICAgIGNvdW50OiByZXNwb25zZS5jb3VudCxcclxuICAgICAgICAgICAgICAgIGRhdGE6IHJlc3BvbnNlLmRhdGEuZGF0YT8ubWFwKChwcm9kdWN0OiBhbnkpPT4gbmV3IFByb2R1Y3QocHJvZHVjdCkpXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KSk7XHJcbiAgICB9XHJcblxyXG4gICAgYWRkUmV2aWV3KHBheWxvYWQ6IFJldmlldykge1xyXG4gICAgICAgIHJldHVybiB0aGlzLmh0dHAucG9zdCh0aGlzLkJBU0VfVVJMICsgYGVjb21tZXJjZS91c2VyL2FkZC9yZXZpZXdgLCBwYXlsb2FkKTtcclxuICAgIH1cclxuICAgIGdldEFsbFJldmlld3MocHJvZHVjdElkOiBzdHJpbmcpIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5odHRwLnB1dCh0aGlzLkJBU0VfVVJMICsgYGVjb21tZXJjZS91c2VyL2ZpbHRlci9yZXZpZXdzP3Byb2R1Y3RJZD0ke3Byb2R1Y3RJZH1gLCBudWxsKTtcclxuICAgIH1cclxuXHJcbiAgICBnZW5lcmF0ZU9UUChtb2JpbGU6IHN0cmluZywgY291bnRyeUNvZGU6IHN0cmluZykge1xyXG4gICAgICAgIGNvbnN0IGJ1c2luZXNzSWQ6IHN0cmluZyA9IGxvY2FsU3RvcmFnZS5nZXRJdGVtKFw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