simpo-component-library 1.4.142 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/directive/background-directive.mjs +1 -1
- package/esm2022/lib/directive/border-directive.mjs +11 -23
- package/esm2022/lib/directive/removeCarousel-directive.mjs +73 -0
- package/esm2022/lib/ecommerce/json/user-cart.json +40 -0
- package/esm2022/lib/ecommerce/json/user-details.json +15 -0
- package/esm2022/lib/ecommerce/json/user-favourite.json +32 -0
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +17 -49
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +36 -69
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +49 -202
- package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -7
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +34 -77
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +2 -11
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +10 -74
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +7 -13
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +30 -85
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +30 -106
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +17 -43
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +24 -156
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +17 -147
- package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +2 -3
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -2
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -1
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +166 -0
- package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +2 -0
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -5
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +8 -14
- package/esm2022/lib/sections/navbar-section/navbar-section.model.mjs +1 -1
- package/esm2022/lib/services/cart.service.mjs +109 -40
- package/esm2022/lib/services/events.service.mjs +2 -3
- package/esm2022/lib/services/rest.service.mjs +2 -17
- package/esm2022/lib/services/storage.service.mjs +30 -83
- package/esm2022/lib/styles/index.mjs +1 -8
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/public-api.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +816 -1456
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/removeCarousel-directive.d.ts +35 -0
- package/lib/ecommerce/sections/address/address.component.d.ts +7 -12
- package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +6 -22
- package/lib/ecommerce/sections/cart/cart.component.d.ts +6 -14
- package/lib/ecommerce/sections/cart/cart.modal.d.ts +1 -10
- package/lib/ecommerce/sections/checkout/checkout.component.d.ts +0 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +7 -14
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +1 -4
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +2 -15
- package/lib/ecommerce/sections/pagnination/pagnination.component.d.ts +2 -3
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +3 -17
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +1 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +2 -21
- package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +0 -2
- package/lib/ecommerce/sections/user-basic-info/user-basic-info.component.d.ts +1 -11
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +10 -36
- package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +8 -5
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +6 -20
- package/lib/ecommerce/styles/OrderedItems.modal.d.ts +1 -2
- package/lib/ecommerce/styles/cart.modal.d.ts +0 -1
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +28 -0
- package/lib/sections/carousel-banner/carousel-banner.model.d.ts +42 -0
- package/lib/sections/navbar-section/navbar-section.component.d.ts +0 -1
- package/lib/sections/navbar-section/navbar-section.model.d.ts +1 -1
- package/lib/services/cart.service.d.ts +5 -8
- package/lib/services/events.service.d.ts +3 -4
- package/lib/services/rest.service.d.ts +0 -3
- package/lib/services/storage.service.d.ts +44 -11
- package/lib/styles/index.d.ts +0 -6
- package/lib/styles/style.model.d.ts +1 -4
- package/lib/styles/types.d.ts +0 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
- package/simpo-component-library-1.5.0.tgz +0 -0
- package/esm2022/lib/constants/business.constant.mjs +0 -5
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +0 -48
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +0 -97
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +0 -2
- package/esm2022/lib/pipes/amount.pipe.mjs +0 -35
- package/esm2022/lib/services/endUser.service.mjs +0 -28
- package/lib/constants/business.constant.d.ts +0 -3
- package/lib/directive/spacing-horizontal.directive.d.ts +0 -18
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +0 -27
- package/lib/ecommerce/sections/verify-payment/verify-payment.model.d.ts +0 -23
- package/lib/pipes/amount.pipe.d.ts +0 -7
- package/lib/services/endUser.service.d.ts +0 -13
- package/simpo-component-library-1.4.142.tgz +0 -0
@@ -71,4 +71,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
71
71
|
type: Input,
|
72
72
|
args: ['scrollValue']
|
73
73
|
}] } });
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2dyb3VuZC1kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2RpcmVjdGl2ZS9iYWNrZ3JvdW5kLWRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBNEIsTUFBTSxlQUFlLENBQUM7OztBQVF2RixNQUFNLE9BQU8sbUJBQW1CO0lBSzlCLFlBQ1UsRUFBYyxFQUNkLFlBQTJCO1FBRDNCLE9BQUUsR0FBRixFQUFFLENBQVk7UUFDZCxpQkFBWSxHQUFaLFlBQVksQ0FBZTtRQUxmLGdCQUFXLEdBQVksQ0FBQyxDQUFDO1FBTTNDLElBQUksSUFBSSxDQUFDLGFBQWEsRUFBRSxDQUFDO1lBQ3ZCLElBQUksQ0FBQyxhQUFhLENBQUMsV0FBVyxFQUFFLENBQUE7UUFDbEMsQ0FBQztRQUNELElBQUksQ0FBQyxhQUFhLEdBQUcsSUFBSSxDQUFDLFlBQVksQ0FBQywwQkFBMEIsQ0FBQyxTQUFTLENBQ3pFLENBQUMsR0FBTyxFQUFFLEVBQUU7WUFDVixJQUFHLElBQUksQ0FBQyxFQUFFLENBQUMsYUFBYSxDQUFDLEVBQUUsS0FBSyxHQUFHLENBQUMsRUFBRSxJQUFJLEdBQUcsQ0FBQyxpQkFBaUIsRUFBQyxDQUFDO2dCQUMvRCxJQUFJLEdBQUcsQ0FBQyxJQUFJLEVBQUUsU0FBUyxJQUFJLElBQUksRUFBRSxXQUFXLElBQUksQ0FB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b3VuZC1pbWFnZScsXHJcbiAgICAgICAgICAgICAgICBgdXJsKCR7cmVzLmRhdGEuaW1hZ2V9KWBcclxuICAgICAgICAgICAgICApO1xyXG4gICAgICAgICAgICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5zdHlsZS5zZXRQcm9wZXJ0eShcclxuICAgICAgICAgICAgICAgICdiYWNrZ3JvdW5kLXBvc2l0aW9uJyxcclxuICAgICAgICAgICAgICAgIGAke3Jlcy5kYXRhLnBvc2l0aW9uPy54fSUgJHtyZXMuZGF0YS5wb3NpdGlvbj8ueX0lYFxyXG4gICAgICAgICAgICAgICk7XHJcbiAgICAgICAgICAgICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LnN0eWxlLnNldFByb3BlcnR5KCdiYWNrZ3JvdW5kLXJlcGVhdCcsIGBuby1yZXBlYXRgKTtcclxuICAgICAgICAgICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoJ2JhY2tncm91bmQtc2l6ZScsIGBjb3ZlcmApO1xyXG4gICAgICAgICAgICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5zdHlsZS5zZXRQcm9wZXJ0eSgnY29sb3InLHRoaXMuZ2V0VGV4dENvbG9yKHJlcy5kYXRhPy5jb2xvcikpXHJcbiAgICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LnN0eWxlLnNldFByb3BlcnR5KFxyXG4gICAgICAgICAgICAgICAgJ2JhY2tncm91bmQtY29sb3InLFxyXG4gICAgICAgICAgICAgICAgcmVzLmRhdGE/LmNvbG9yXHJcbiAgICAgICAgICAgICAgKTtcclxuICAgICAgICAgICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXHJcbiAgICAgICAgICAgICAgICAnYmFja2dyb3VuZC1pbWFnZScsXHJcbiAgICAgICAgICAgICAgICBgYFxyXG4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zZUludChiZ0NvbG9yLnNsaWNlKDUsIDcpLCAxNik7XHJcbiAgICAgIGNvbnN0IGJyaWdodG5lc3MgPSAociAqIDI5OSArIGcgKiA1ODcgKyBiICogMTE0KSAvIDEwMDA7XHJcblxyXG4gICAgICByZXR1cm4gYnJpZ2h0bmVzcyA+IHRocmVzaG9sZCA/ICcjMDAwMDAwJyA6ICcjZmZmZmZmJztcclxuICAgIH1cclxuICAgIHJldHVybiBcIiNmZmZmZmY7XCJcclxuICB9XHJcbn1cclxuIl19
|
@@ -8,17 +8,11 @@ export class BorderDirective {
|
|
8
8
|
this.eventService.borderChangeChecks.subscribe((res) => {
|
9
9
|
if (this.el.nativeElement.id === res.id) {
|
10
10
|
if (res.data?.display) {
|
11
|
-
this.el.nativeElement.style.setProperty(
|
12
|
-
|
13
|
-
res.data.
|
14
|
-
|
15
|
-
|
16
|
-
this.el.nativeElement.style.setProperty(`border-` + res.data?.direction?.[idx]?.toLowerCase(), res.data.thickness + 'px' +
|
17
|
-
' ' +
|
18
|
-
res.data.type +
|
19
|
-
' ' +
|
20
|
-
res.data.color);
|
21
|
-
}
|
11
|
+
this.el.nativeElement.style.setProperty('border-bottom', res.data.thickness + 'px' +
|
12
|
+
' ' +
|
13
|
+
res.data.type +
|
14
|
+
' ' +
|
15
|
+
res.data.color);
|
22
16
|
}
|
23
17
|
else {
|
24
18
|
this.el.nativeElement.style.setProperty('border-bottom', 'none');
|
@@ -28,17 +22,11 @@ export class BorderDirective {
|
|
28
22
|
}
|
29
23
|
ngOnChanges() {
|
30
24
|
if (this.borderData?.display) {
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
this.el.nativeElement.style.setProperty(`border-` + this.borderData?.direction?.[idx].toLowerCase(), this.borderData.thickness + 'px' +
|
37
|
-
' ' +
|
38
|
-
this.borderData.type +
|
39
|
-
' ' +
|
40
|
-
this.borderData.color);
|
41
|
-
}
|
25
|
+
this.el.nativeElement.style.setProperty('border-bottom', this.borderData.thickness + 'px' +
|
26
|
+
' ' +
|
27
|
+
this.borderData.type +
|
28
|
+
' ' +
|
29
|
+
this.borderData.color);
|
42
30
|
}
|
43
31
|
}
|
44
32
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: BorderDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
@@ -54,4 +42,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
54
42
|
type: Input,
|
55
43
|
args: ['simpoBorder']
|
56
44
|
}] } });
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9yZGVyLWRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL2JvcmRlci1kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7OztBQVF4RSxNQUFNLE9BQU8sZUFBZTtJQUcxQixZQUNVLEVBQWMsRUFDZCxZQUE0QjtRQUQ1QixPQUFFLEdBQUYsRUFBRSxDQUFZO1FBQ2QsaUJBQVksR0FBWixZQUFZLENBQWdCO1FBRWxDLElBQUksQ0FBQyxZQUFZLENBQUMsa0JBQWtCLENBQUMsU0FBUyxDQUM1QyxDQUFDLEdBQU8sRUFBRSxFQUFFO1lBQ1YsSUFBRyxJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxFQUFFLEtBQUssR0FBRyxDQUFDLEVBQUUsRUFBQyxDQUFDO2dCQUN0QyxJQUFJLEdBQUcsQ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Glja25lc3MrJ3B4JyArXHJcbiAgICAgICAgICAgICAgICAgICcgJyArXHJcbiAgICAgICAgICAgICAgICAgIHJlcy5kYXRhLnR5cGUgK1xyXG4gICAgICAgICAgICAgICAgICAnICcgK1xyXG4gICAgICAgICAgICAgICAgICByZXMuZGF0YS5jb2xvclxyXG4gICAgICAgICAgICAgICk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgZWxzZXtcclxuICAgICAgICAgICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXHJcbiAgICAgICAgICAgICAgICAnYm9yZGVyLWJvdHRvbScsXHJcbiAgICAgICAgICAgICAgICAnbm9uZSdcclxuICAgICAgICAgICAgICApO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICApXHJcbiAgICB9XHJcblxyXG4gIG5nT25DaGFuZ2VzKCk6IHZvaWQge1xyXG4gICAgaWYgKHRoaXMuYm9yZGVyRGF0YT8uZGlzcGxheSkge1xyXG4gICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXHJcbiAgICAgICAgJ2JvcmRlci1ib3R0b20nLFxyXG4gICAgICAgIHRoaXMuYm9yZGVyRGF0YS50aGlja25lc3MrJ3B4JyArXHJcbiAgICAgICAgICAnICcgK1xyXG4gICAgICAgICAgdGhpcy5ib3JkZXJEYXRhLnR5cGUgK1xyXG4gICAgICAgICAgJyAnICtcclxuICAgICAgICAgIHRoaXMuYm9yZGVyRGF0YS5jb2xvclxyXG4gICAgICApO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import { Directive, Input, } from '@angular/core';
|
2
|
+
import { animation } from '../styles/index';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "../services/events.service";
|
5
|
+
export class RemoveCarouselDirective {
|
6
|
+
constructor(el, renderer, eventService) {
|
7
|
+
this.el = el;
|
8
|
+
this.renderer = renderer;
|
9
|
+
this.eventService = eventService;
|
10
|
+
this.animationSpeed = animation;
|
11
|
+
// this.eventServiceSubscription = this.eventService.animationChangeChecks.subscribe(
|
12
|
+
// (res:any) => {
|
13
|
+
// if(this.el.nativeElement.id === res.id){
|
14
|
+
// this.animationData = res.data
|
15
|
+
// this.applyAnimation();
|
16
|
+
// }
|
17
|
+
// }
|
18
|
+
// )
|
19
|
+
}
|
20
|
+
ngOnDestroy() {
|
21
|
+
if (this.observer) {
|
22
|
+
this.observer.disconnect();
|
23
|
+
}
|
24
|
+
if (this.eventServiceSubscription) {
|
25
|
+
this.eventServiceSubscription.unsubscribe();
|
26
|
+
}
|
27
|
+
}
|
28
|
+
ngOnInit() {
|
29
|
+
}
|
30
|
+
ngOnChanges() {
|
31
|
+
if (this.carouselRemove) {
|
32
|
+
console.log(this.carouselRemove);
|
33
|
+
}
|
34
|
+
// if (changes['carouselRemove']) {
|
35
|
+
// this.eventServiceSubscription = this.eventService.stopCarouselEvent.subscribe((res: any) => {
|
36
|
+
// if (res.stopCarousel) {
|
37
|
+
// this.stopCarousel(res);
|
38
|
+
// }
|
39
|
+
// });
|
40
|
+
// }
|
41
|
+
}
|
42
|
+
stopCarousel(res) {
|
43
|
+
// Ensure the carousel is not auto-playing
|
44
|
+
// this.renderer.setAttribute(this.el.nativeElement, 'data-interval', 'false');
|
45
|
+
// // Optionally, you can also remove the `data-ride` attribute to completely stop carousel functionality
|
46
|
+
this.renderer.setAttribute(this.el.nativeElement, 'data-interval', '100000');
|
47
|
+
// Update carousel items to ensure the correct item is marked as active
|
48
|
+
const carouselItems = this.el.nativeElement.querySelectorAll('.carousel-item');
|
49
|
+
carouselItems.forEach((item, index) => {
|
50
|
+
if (index === res.activeItem) {
|
51
|
+
item.classList.add('active');
|
52
|
+
}
|
53
|
+
else {
|
54
|
+
item.classList.remove('active');
|
55
|
+
}
|
56
|
+
});
|
57
|
+
}
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RemoveCarouselDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.EventsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
59
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.4", type: RemoveCarouselDirective, isStandalone: true, selector: "[simpoCarouselRemove]", inputs: { carouselRemove: ["simpoCarouselRemove", "carouselRemove"], currentIndex: "currentIndex" }, usesOnChanges: true, ngImport: i0 }); }
|
60
|
+
}
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: RemoveCarouselDirective, decorators: [{
|
62
|
+
type: Directive,
|
63
|
+
args: [{
|
64
|
+
selector: '[simpoCarouselRemove]',
|
65
|
+
standalone: true,
|
66
|
+
}]
|
67
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.EventsService }], propDecorators: { carouselRemove: [{
|
68
|
+
type: Input,
|
69
|
+
args: ['simpoCarouselRemove']
|
70
|
+
}], currentIndex: [{
|
71
|
+
type: Input
|
72
|
+
}] } });
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVtb3ZlQ2Fyb3VzZWwtZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9kaXJlY3RpdmUvcmVtb3ZlQ2Fyb3VzZWwtZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBRVQsS0FBSyxHQUtSLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxTQUFTLEVBQUUs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gICAgICAgaWYodGhpcy5lbC5uYXRpdmVFbGVtZW50LmlkID09PSByZXMuaWQpe1xyXG4gICAgICAgIC8vICAgICAgICAgdGhpcy5hbmltYXRpb25EYXRhID0gcmVzLmRhdGFcclxuICAgICAgICAvLyAgICAgICAgIHRoaXMuYXBwbHlBbmltYXRpb24oKTtcclxuICAgICAgICAvLyAgICAgICB9XHJcbiAgICAgICAgLy8gICAgIH1cclxuICAgICAgICAvLyAgIClcclxuICAgIH1cclxuICAgIG5nT25EZXN0cm95KCk6IHZvaWQge1xyXG4gICAgICAgIGlmICh0aGlzLm9ic2VydmVyKSB7XHJcbiAgICAgICAgICAgIHRoaXMub2JzZXJ2ZXIuZGlzY29ubmVjdCgpO1xyXG4gICAgICAgIH1cclxuICAgICAgICBpZiAodGhpcy5ldmVudFNlcnZpY2VTdWJzY3JpcHRpb24pIHtcclxuICAgICAgICAgICAgdGhpcy5ldmVudFNlcnZpY2VTdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICBuZ09uSW5pdCgpOiB2b2lkIHtcclxuICAgIH1cclxuXHJcbiAgICBuZ09uQ2hhbmdlcygpOiB2b2lkIHtcclxuICAgICAgICBpZih0aGlzLmNhcm91c2VsUmVtb3ZlKXtcclxuICAgICAgICAgICAgY29uc29sZS5sb2codGhpcy5jYXJvdXNlbFJlbW92ZSlcclxuICAgICAgICB9XHJcbiAgICAgICAgLy8gaWYgKGNoYW5nZXNbJ2Nhcm91c2VsUmVtb3ZlJ10pIHtcclxuICAgICAgICAgICAgLy8gdGhpcy5ldmVudFNlcnZpY2VTdWJzY3JpcHRpb24gPSB0aGlzLmV2ZW50U2VydmljZS5zdG9wQ2Fyb3VzZWxFdmVudC5zdWJzY3JpYmUoKHJlczogYW55KSA9PiB7XHJcbiAgICAgICAgICAgIC8vICAgaWYgKHJlcy5zdG9wQ2Fyb3VzZWwpIHtcclxuICAgICAgICAgICAgLy8gICAgIHRoaX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gaXRlbS5jbGFzc0xpc3QuYWRkKCdhY3RpdmUnKTtcclxuICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIGl0ZW0uY2xhc3NMaXN0LnJlbW92ZSgnYWN0aXZlJyk7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcbiAgICAgIH1cclxufVxyXG4iXX0=
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"orderedItems": [],
|
3
|
+
"cartType": "CART",
|
4
|
+
"billdetails": {
|
5
|
+
"totalNetValue": 0,
|
6
|
+
"totalGrossValue": 0,
|
7
|
+
"totalTax": 0,
|
8
|
+
"totalOfferedValue": 0,
|
9
|
+
"deliveryCharges": 0,
|
10
|
+
"couponId": "",
|
11
|
+
"discountAmount": 0,
|
12
|
+
"afterDiscountAmount": 0,
|
13
|
+
"taxBreakup": {
|
14
|
+
"cgstValue": 0,
|
15
|
+
"sgstValue": 0,
|
16
|
+
"igstValue": 0
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"userDetails": {
|
20
|
+
"userId": "",
|
21
|
+
"userName": "",
|
22
|
+
"mobile": "",
|
23
|
+
"email": "",
|
24
|
+
"pinCode": ""
|
25
|
+
},
|
26
|
+
"locationDetails": {
|
27
|
+
"countryId": "",
|
28
|
+
"cityId": "",
|
29
|
+
"stateId": "",
|
30
|
+
"localityId": "",
|
31
|
+
"countryName": "",
|
32
|
+
"cityName": "",
|
33
|
+
"stateName": "",
|
34
|
+
"localityName": "",
|
35
|
+
"pinCode": ""
|
36
|
+
},
|
37
|
+
"platform": "WEB",
|
38
|
+
"totalAmount": 0,
|
39
|
+
"cartId": ""
|
40
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"orderedItems": [],
|
3
|
+
"cartType": "WISHLIST",
|
4
|
+
"billdetails": {
|
5
|
+
"totalNetValue": 0,
|
6
|
+
"totalGrossValue": 0,
|
7
|
+
"totalTax": 0,
|
8
|
+
"totalOfferedValue": 0,
|
9
|
+
"deliveryCharges": 0,
|
10
|
+
"couponId": "",
|
11
|
+
"discountAmount": 0,
|
12
|
+
"afterDiscountAmount": 0,
|
13
|
+
"taxBreakup": {
|
14
|
+
"cgstValue": 0,
|
15
|
+
"sgstValue": 0,
|
16
|
+
"igstValue": 0
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"locationDetails": {
|
20
|
+
"countryId": "",
|
21
|
+
"cityId": "",
|
22
|
+
"stateId": "",
|
23
|
+
"localityId": "",
|
24
|
+
"countryName": "",
|
25
|
+
"cityName": "",
|
26
|
+
"stateName": "",
|
27
|
+
"localityName": "",
|
28
|
+
"pinCode": ""
|
29
|
+
},
|
30
|
+
"platform": "WEB",
|
31
|
+
"totalAmount": 0
|
32
|
+
}
|