simpo-component-library 1.4.144 → 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 -88
- 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 -1459
- 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.144.tgz +0 -0
@@ -4,26 +4,20 @@ import { ButtonDirectiveDirective } from '../../../directive/button-directive.di
|
|
4
4
|
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
|
5
5
|
import { MatIcon } from '@angular/material/icon';
|
6
6
|
import { CommonModule } from '@angular/common';
|
7
|
+
import UserDetails from '../../json/user-details.json';
|
7
8
|
import { UserBasicInfoComponent } from '../user-basic-info/user-basic-info.component';
|
8
9
|
import { SimpoComponentModule } from '../../../components/index';
|
9
|
-
import BaseSection from '../../../sections/BaseSection';
|
10
|
-
import Swal from 'sweetalert2';
|
11
|
-
import { MessageService } from 'primeng/api';
|
12
|
-
import { ToastModule } from 'primeng/toast';
|
13
10
|
import * as i0 from "@angular/core";
|
14
11
|
import * as i1 from "../../../services/rest.service";
|
15
12
|
import * as i2 from "@angular/router";
|
16
13
|
import * as i3 from "@angular/material/dialog";
|
17
14
|
import * as i4 from "../../../services/storage.service";
|
18
15
|
import * as i5 from "../../../services/events.service";
|
19
|
-
import * as i6 from "
|
20
|
-
import * as i7 from "@angular/
|
21
|
-
import * as i8 from "
|
22
|
-
|
23
|
-
|
24
|
-
export class AuthenticateUserComponent extends BaseSection {
|
25
|
-
constructor(matData, restService, router, matDialog, storageService, dialogRef, _eventService, messageService) {
|
26
|
-
super();
|
16
|
+
import * as i6 from "@angular/forms";
|
17
|
+
import * as i7 from "@angular/common";
|
18
|
+
import * as i8 from "ngx-skeleton-loader";
|
19
|
+
export class AuthenticateUserComponent {
|
20
|
+
constructor(matData, restService, router, matDialog, storageService, dialogRef, _eventService) {
|
27
21
|
this.matData = matData;
|
28
22
|
this.restService = restService;
|
29
23
|
this.router = router;
|
@@ -31,48 +25,35 @@ export class AuthenticateUserComponent extends BaseSection {
|
|
31
25
|
this.storageService = storageService;
|
32
26
|
this.dialogRef = dialogRef;
|
33
27
|
this._eventService = _eventService;
|
34
|
-
this.messageService = messageService;
|
35
28
|
this.isLoading = false;
|
36
29
|
// @Input() index? : number;
|
37
30
|
// @Input() edit? : boolean;
|
38
31
|
// @Input() delete? : boolean;
|
39
|
-
this.otpData = [, , , , ,];
|
40
32
|
this.otpString = "";
|
41
33
|
this.screen = 'LOGIN';
|
42
34
|
this.mobile = null;
|
43
35
|
this.countryCode = "91";
|
44
36
|
}
|
45
37
|
ngOnInit() {
|
46
|
-
// this.data = AuthenticateUser as unknown as AuthenticateSectionModel;
|
47
38
|
if (this.matData)
|
48
39
|
this.data = this.matData;
|
49
|
-
|
50
|
-
//
|
40
|
+
this.styles = this.data?.styles;
|
51
41
|
this._eventService.showLoadingScreen.subscribe((response) => {
|
52
42
|
this.isLoading = response;
|
53
43
|
});
|
54
44
|
}
|
55
45
|
move(event, idx) {
|
56
|
-
if (isNaN(Number(event.key))
|
46
|
+
if (isNaN(Number(event.key)))
|
57
47
|
return;
|
58
|
-
|
59
|
-
|
60
|
-
document.getElementById("otp_" + (idx + 1))?.focus();
|
61
|
-
}
|
62
|
-
if (event.code == "Backspace" && !this.otpData[idx]) {
|
63
|
-
document.getElementById("otp_" + (idx - 1))?.focus();
|
64
|
-
}
|
48
|
+
this.otpString += event.key;
|
49
|
+
document.getElementById("otp_" + (idx + 1))?.focus();
|
65
50
|
}
|
66
51
|
close() {
|
67
52
|
this.dialogRef.close();
|
68
53
|
}
|
69
54
|
goBack() {
|
70
|
-
this.resetValue();
|
71
|
-
this.screen = "LOGIN";
|
72
|
-
}
|
73
|
-
resetValue() {
|
74
55
|
this.otpString = '';
|
75
|
-
this.
|
56
|
+
this.screen = "LOGIN";
|
76
57
|
}
|
77
58
|
generateOTP() {
|
78
59
|
this.restService.generateOTP(this.mobile ?? "", this.countryCode ?? "").subscribe((response) => {
|
@@ -80,41 +61,26 @@ export class AuthenticateUserComponent extends BaseSection {
|
|
80
61
|
});
|
81
62
|
}
|
82
63
|
verifyOTP() {
|
83
|
-
this.otpString = "";
|
84
|
-
this.otpData.forEach((value, idx) => this.otpString += (value ?? ""));
|
85
64
|
this.restService.verifyOTP(this.mobile ?? "", this.otpString).subscribe((response) => {
|
86
|
-
|
65
|
+
// localStorage.setItem("userId", response.userId);
|
66
|
+
const userDetails = this.storageService.addUser(response.data);
|
67
|
+
UserDetails.user = userDetails;
|
87
68
|
this.storageService.updateAllData();
|
88
|
-
if (
|
89
|
-
this.dialogRef
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
this.router.navigate(['/']);
|
104
|
-
}
|
105
|
-
else {
|
106
|
-
if (this.dialogRef)
|
107
|
-
this.dialogRef.close();
|
108
|
-
this.matDialog.open(UserBasicInfoComponent, {
|
109
|
-
height: '50vh',
|
110
|
-
width: '40vw',
|
111
|
-
data: {}
|
112
|
-
});
|
113
|
-
}
|
114
|
-
}
|
115
|
-
});
|
116
|
-
}, (error) => {
|
117
|
-
this.messageService.add({ severity: 'error', summary: 'Invalid OTP', detail: 'Please enter valid otp' });
|
69
|
+
if (userDetails.contact?.name?.length > 0) {
|
70
|
+
if (this.dialogRef)
|
71
|
+
this.dialogRef.close();
|
72
|
+
else
|
73
|
+
this.router.navigate(['/']);
|
74
|
+
}
|
75
|
+
else {
|
76
|
+
if (this.dialogRef)
|
77
|
+
this.dialogRef.close();
|
78
|
+
this.matDialog.open(UserBasicInfoComponent, {
|
79
|
+
height: '50vh',
|
80
|
+
width: '40vw',
|
81
|
+
data: {}
|
82
|
+
});
|
83
|
+
}
|
118
84
|
});
|
119
85
|
}
|
120
86
|
resendOTP() {
|
@@ -125,8 +91,8 @@ export class AuthenticateUserComponent extends BaseSection {
|
|
125
91
|
get isMobile() {
|
126
92
|
return window.innerWidth <= 475;
|
127
93
|
}
|
128
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AuthenticateUserComponent, deps: [{ token: MAT_DIALOG_DATA, optional: true }, { token: i1.RestService }, { token: i2.Router }, { token: i3.MatDialog }, { token: i4.StorageServiceService }, { token: i3.MatDialogRef, optional: true }, { token: i5.EventsService }
|
129
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: AuthenticateUserComponent, isStandalone: true, selector: "simpo-authenticate-user", inputs: { data: "data"
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AuthenticateUserComponent, deps: [{ token: MAT_DIALOG_DATA, optional: true }, { token: i1.RestService }, { token: i2.Router }, { token: i3.MatDialog }, { token: i4.StorageServiceService }, { token: i3.MatDialogRef, optional: true }, { token: i5.EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
95
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: AuthenticateUserComponent, isStandalone: true, selector: "simpo-authenticate-user", inputs: { data: "data", responseData: "responseData" }, ngImport: i0, template: "<ng-container *ngIf=\"!isLoading\">\r\n <div [style.height.vh]=\"isMobile ? '90' : ''\">\r\n <ng-container [ngSwitch]=\"screen\">\r\n <section style=\"padding: 15px;\"\r\n class=\"d-flex flex-column align-item-center justify-content-center position-relative h-100\"\r\n *ngSwitchCase=\"'LOGIN'\"[ngClass]=\"{'fullSection': isMobile}\">\r\n <h5 class=\"text-center onlyDesktop\">Excee Fashion</h5>\r\n <h2 class=\"text-center\">Welcome</h2>\r\n <p class=\"text-center\">Log or Signup in to your account</p>\r\n <input type=\"number\" placeholder=\"Mobile Number\" [(ngModel)]=\"mobile\">\r\n <p class=\"text-center\">You will receive an SMS verification</p>\r\n\r\n <div class=\"action-btn d-flex flex-column align-item-center justify-content-center\">\r\n <button class=\"btn\" simpoButtonDirective [buttonStyle]=\"data?.action?.buttons[0]?.styles\"\r\n [color]=\"styles?.background?.accentColor\" (click)=\"generateOTP()\">Continue</button>\r\n <div class=\"alternate-opt text-center\" [style.color]=\"data?.styles.background?.accentColor\">Use email\r\n instead</div>\r\n </div>\r\n <div class=\"close-btn onlyDesktop\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n </section>\r\n <section *ngSwitchCase=\"'OTP'\" style=\"padding: 15px;\"\r\n class=\"d-flex flex-column align-item-center justify-content-center position-relative h-100\" [ngClass]=\"{'fullSection': isMobile}\">\r\n <h5 class=\"text-center onlyDesktop\">Excee Fashion</h5>\r\n <h2 class=\"text-center\">Verify OTP</h2>\r\n <p class=\"text-center\">Enter the 6-digit that we have sent via the phone number +{{ countryCode }}{{ mobile\r\n }}</p>\r\n <div class=\"otpContainer\">\r\n <ng-container *ngFor=\"let _ of [].constructor(6); let idx = index\">\r\n <input type=\"number\" class=\"otp\" max=\"1\" [id]=\"'otp_'+idx\" (keyup)=\"move($event, idx)\">\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"action-btn d-flex flex-column align-item-center justify-content-center\">\r\n <button class=\"btn\" simpoButtonDirective [buttonStyle]=\"data?.action?.buttons[0]?.styles\"\r\n [color]=\"styles?.background?.accentColor\" (click)=\"verifyOTP()\">Continue</button>\r\n <div class=\"alternate-opt text-center\" [style.color]=\"data?.styles.background?.accentColor\"\r\n (click)=\"resendOTP()\">Resend code</div>\r\n </div>\r\n\r\n <div class=\"close-btn onlyDesktop\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n <div class=\"back-btn\" (click)=\"goBack()\">\r\n <mat-icon>keyboard_backspace</mat-icon>\r\n </div>\r\n </section>\r\n </ng-container>\r\n </div>\r\n</ng-container>\r\n<ngx-skeleton-loader *ngIf=\"isLoading\" count=\"1\" appearance=\"circle\" [theme]=\"{\r\n width: '100%',\r\n height: '40vh',\r\n 'border-radius': '10px',\r\n 'position': 'relative',\r\n 'right': '5px'\r\n }\">\r\n </ngx-skeleton-loader>", styles: ["input,button{width:80%!important;margin:10px auto}input{padding:10px}.alternate-opt:hover{text-decoration:underline;cursor:pointer}.close-btn{position:absolute;top:10px;right:10px;cursor:pointer}.otpContainer{display:flex;gap:4px;margin:auto}.otpContainer .otp{border-radius:50%;padding:5px;height:50px;width:50px!important;margin:5px!important;text-align:center}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.back-btn{position:absolute;top:10px;left:10px;cursor:pointer}@media screen and (max-width: 475px){.onlyDesktop{display:none}.text-center{text-align:left!important}button,input{width:100%!important}.fullSection{justify-content:start!important}.action-btn{position:absolute;bottom:50px;width:95%}.action-btn .text-center{text-align:center!important}.otpContainer{margin-top:20px;position:relative;right:10px}}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i7.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i8.NgxSkeletonLoaderComponent, selector: "ngx-skeleton-loader", inputs: ["count", "loadingText", "appearance", "animation", "ariaLabel", "theme"] }, { kind: "directive", type: ButtonDirectiveDirective, selector: "[simpoButtonDirective]", inputs: ["buttonStyle", "color", "scrollValue"] }] }); }
|
130
96
|
}
|
131
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AuthenticateUserComponent, decorators: [{
|
132
98
|
type: Component,
|
@@ -136,8 +102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
136
102
|
CommonModule,
|
137
103
|
SimpoComponentModule,
|
138
104
|
ButtonDirectiveDirective,
|
139
|
-
|
140
|
-
], providers: [MessageService], template: "<ng-container *ngIf=\"!isLoading\">\r\n <div [style.height.vh]=\"isMobile ? '90' : ''\">\r\n <ng-container [ngSwitch]=\"screen\">\r\n <section style=\"padding: 15px;\"\r\n class=\"d-flex flex-column align-item-center justify-content-center position-relative h-100\"\r\n *ngSwitchCase=\"'LOGIN'\"[ngClass]=\"{'fullSection': isMobile}\">\r\n <h5 class=\"text-center onlyDesktop\"[style.color]=\"data?.styles?.background?.accentColor\">{{data?.content?.siteName?.value}}</h5>\r\n <h2 class=\"text-center\"[style.color]=\"data?.styles?.background?.accentColor\">Welcome</h2>\r\n <p class=\"text-center\"[style.color]=\"data?.styles?.background?.accentColor\">Log or Signup in to your account</p>\r\n <input type=\"number\" placeholder=\"Mobile Number\" [(ngModel)]=\"mobile\">\r\n <p class=\"text-center\"[style.color]=\"data?.styles?.background?.accentColor\">You will receive an SMS verification</p>\r\n\r\n <div class=\"action-btn d-flex flex-column align-item-center justify-content-center\">\r\n <button class=\"btn\" simpoButtonDirective [buttonStyle]=\"data?.action?.buttons?.[0]?.styles\" [style.color]=\"data?.styles?.background?.accentColor\" (click)=\"generateOTP()\">{{data?.action?.buttons?.[0]?.content?.label}}</button>\r\n <div class=\"alternate-opt text-center\" [style.color]=\"data?.styles?.background?.accentColor\">Use email\r\n instead</div>\r\n </div>\r\n <div class=\"close-btn onlyDesktop\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n </section>\r\n <section *ngSwitchCase=\"'OTP'\" style=\"padding: 15px;\"\r\n class=\"d-flex flex-column align-item-center justify-content-center position-relative h-100\" [ngClass]=\"{'fullSection': isMobile}\">\r\n <h5 class=\"text-center onlyDesktop\">{{data?.content?.siteName?.value}}</h5>\r\n <h2 class=\"text-center\" [style.color]=\"data?.styles?.background?.accentColor\">Verify OTP</h2>\r\n <p class=\"text-center\" [style.color]=\"data?.styles?.background?.accentColor\">Enter the 6-digit that we have sent via the phone number +{{ countryCode }}{{ mobile\r\n }}</p>\r\n <div class=\"otpContainer\">\r\n <ng-container *ngFor=\"let _ of [].constructor(6); let idx = index\">\r\n <input type=\"number\" class=\"otp\" max=\"1\" [id]=\"'otp_'+idx\" [(ngModel)]=\"otpData[idx]\" (keyup)=\"move($event, idx)\">\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"action-btn d-flex flex-column align-item-center justify-content-center\">\r\n <button class=\"btn\" simpoButtonDirective [buttonStyle]=\"data?.action?.buttons?.[0]?.styles\" [style.color]=\"data?.styles?.background?.accentColor\" (click)=\"verifyOTP()\">{{data?.action?.buttons?.[1]?.content?.label}}</button>\r\n <div class=\"alternate-opt text-center\" [style.color]=\"data?.styles?.background?.accentColor\"\r\n (click)=\"resendOTP()\">Resend code</div>\r\n </div>\r\n\r\n <div class=\"close-btn onlyDesktop\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n <div class=\"back-btn\" (click)=\"goBack()\">\r\n <mat-icon>keyboard_backspace</mat-icon>\r\n </div>\r\n </section>\r\n </ng-container>\r\n </div>\r\n</ng-container>\r\n<ngx-skeleton-loader *ngIf=\"isLoading\" count=\"1\" appearance=\"circle\" [theme]=\"{\r\n width: '100%',\r\n height: '40vh',\r\n 'border-radius': '10px',\r\n 'position': 'relative',\r\n 'right': '5px'\r\n }\">\r\n</ngx-skeleton-loader>\r\n<p-toast position=\"bottom-right\" [baseZIndex]=\"10000000000\" [autoZIndex]=\"true\"></p-toast>", styles: ["input,button{width:80%!important;margin:10px auto}input{padding:10px}.alternate-opt:hover{text-decoration:underline;cursor:pointer}.close-btn{position:absolute;top:10px;right:10px;cursor:pointer}.otpContainer{display:flex;gap:4px;margin:auto}.otpContainer .otp{border-radius:50%;padding:5px;height:50px;width:50px!important;margin:5px!important;text-align:center}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.back-btn{position:absolute;top:10px;left:10px;cursor:pointer}@media screen and (max-width: 475px){.onlyDesktop{display:none}.text-center{text-align:left!important}button,input{width:100%!important}.fullSection{justify-content:start!important}.action-btn{position:absolute;bottom:50px;width:95%}.action-btn .text-center{text-align:center!important}.otpContainer{margin-top:20px;position:relative;right:10px}}\n"] }]
|
105
|
+
], template: "<ng-container *ngIf=\"!isLoading\">\r\n <div [style.height.vh]=\"isMobile ? '90' : ''\">\r\n <ng-container [ngSwitch]=\"screen\">\r\n <section style=\"padding: 15px;\"\r\n class=\"d-flex flex-column align-item-center justify-content-center position-relative h-100\"\r\n *ngSwitchCase=\"'LOGIN'\"[ngClass]=\"{'fullSection': isMobile}\">\r\n <h5 class=\"text-center onlyDesktop\">Excee Fashion</h5>\r\n <h2 class=\"text-center\">Welcome</h2>\r\n <p class=\"text-center\">Log or Signup in to your account</p>\r\n <input type=\"number\" placeholder=\"Mobile Number\" [(ngModel)]=\"mobile\">\r\n <p class=\"text-center\">You will receive an SMS verification</p>\r\n\r\n <div class=\"action-btn d-flex flex-column align-item-center justify-content-center\">\r\n <button class=\"btn\" simpoButtonDirective [buttonStyle]=\"data?.action?.buttons[0]?.styles\"\r\n [color]=\"styles?.background?.accentColor\" (click)=\"generateOTP()\">Continue</button>\r\n <div class=\"alternate-opt text-center\" [style.color]=\"data?.styles.background?.accentColor\">Use email\r\n instead</div>\r\n </div>\r\n <div class=\"close-btn onlyDesktop\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n </section>\r\n <section *ngSwitchCase=\"'OTP'\" style=\"padding: 15px;\"\r\n class=\"d-flex flex-column align-item-center justify-content-center position-relative h-100\" [ngClass]=\"{'fullSection': isMobile}\">\r\n <h5 class=\"text-center onlyDesktop\">Excee Fashion</h5>\r\n <h2 class=\"text-center\">Verify OTP</h2>\r\n <p class=\"text-center\">Enter the 6-digit that we have sent via the phone number +{{ countryCode }}{{ mobile\r\n }}</p>\r\n <div class=\"otpContainer\">\r\n <ng-container *ngFor=\"let _ of [].constructor(6); let idx = index\">\r\n <input type=\"number\" class=\"otp\" max=\"1\" [id]=\"'otp_'+idx\" (keyup)=\"move($event, idx)\">\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"action-btn d-flex flex-column align-item-center justify-content-center\">\r\n <button class=\"btn\" simpoButtonDirective [buttonStyle]=\"data?.action?.buttons[0]?.styles\"\r\n [color]=\"styles?.background?.accentColor\" (click)=\"verifyOTP()\">Continue</button>\r\n <div class=\"alternate-opt text-center\" [style.color]=\"data?.styles.background?.accentColor\"\r\n (click)=\"resendOTP()\">Resend code</div>\r\n </div>\r\n\r\n <div class=\"close-btn onlyDesktop\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </div>\r\n <div class=\"back-btn\" (click)=\"goBack()\">\r\n <mat-icon>keyboard_backspace</mat-icon>\r\n </div>\r\n </section>\r\n </ng-container>\r\n </div>\r\n</ng-container>\r\n<ngx-skeleton-loader *ngIf=\"isLoading\" count=\"1\" appearance=\"circle\" [theme]=\"{\r\n width: '100%',\r\n height: '40vh',\r\n 'border-radius': '10px',\r\n 'position': 'relative',\r\n 'right': '5px'\r\n }\">\r\n </ngx-skeleton-loader>", styles: ["input,button{width:80%!important;margin:10px auto}input{padding:10px}.alternate-opt:hover{text-decoration:underline;cursor:pointer}.close-btn{position:absolute;top:10px;right:10px;cursor:pointer}.otpContainer{display:flex;gap:4px;margin:auto}.otpContainer .otp{border-radius:50%;padding:5px;height:50px;width:50px!important;margin:5px!important;text-align:center}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.back-btn{position:absolute;top:10px;left:10px;cursor:pointer}@media screen and (max-width: 475px){.onlyDesktop{display:none}.text-center{text-align:left!important}button,input{width:100%!important}.fullSection{justify-content:start!important}.action-btn{position:absolute;bottom:50px;width:95%}.action-btn .text-center{text-align:center!important}.otpContainer{margin-top:20px;position:relative;right:10px}}\n"] }]
|
141
106
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
142
107
|
type: Optional
|
143
108
|
}, {
|
@@ -145,7 +110,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
145
110
|
args: [MAT_DIALOG_DATA]
|
146
111
|
}] }, { type: i1.RestService }, { type: i2.Router }, { type: i3.MatDialog }, { type: i4.StorageServiceService }, { type: i3.MatDialogRef, decorators: [{
|
147
112
|
type: Optional
|
148
|
-
}] }, { type: i5.EventsService }
|
113
|
+
}] }, { type: i5.EventsService }], propDecorators: { data: [{
|
114
|
+
type: Input
|
115
|
+
}], responseData: [{
|
149
116
|
type: Input
|
150
117
|
}] } });
|
151
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRlLXVzZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvYXV0aGVudGljYXRlLXVzZXIvYXV0aGVudGljYXRlLXVzZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY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Bvbmx5RGVza3RvcFwiIChjbGljayk9XCJjbG9zZSgpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uPmNsb3NlPC9tYXQtaWNvbj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImJhY2stYnRuXCIgKGNsaWNrKT1cImdvQmFjaygpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uPmtleWJvYXJkX2JhY2tzcGFjZTwvbWF0LWljb24+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9zZWN0aW9uPlxyXG4gICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgPC9kaXY+XHJcbjwvbmctY29udGFpbmVyPlxyXG48bmd4LXNrZWxldG9uLWxvYWRlciAqbmdJZj1cImlzTG9hZGluZ1wiIGNvdW50PVwiMVwiIGFwcGVhcmFuY2U9XCJjaXJjbGVcIiBbdGhlbWVdPVwie1xyXG4gICAgd2lkdGg6ICcxMDAlJyxcclxuICAgIGhlaWdodDogJzQwdmgnLFxyXG4gICAgJ2JvcmRlci1yYWRpdXMnOiAnMTBweCcsXHJcbiAgICAncG9zaXRpb24nOiAncmVsYXRpdmUnLFxyXG4gICAgJ3JpZ2h0JzogJzVweCdcclxuICB9XCI+XHJcbjwvbmd4LXNrZWxldG9uLWxvYWRlcj5cclxuPHAtdG9hc3QgcG9zaXRpb249XCJib3R0b20tcmlnaHRcIiBbYmFzZVpJbmRleF09XCIxMDAwMDAwMDAwMFwiIFthdXRvWkluZGV4XT1cInRydWVcIj48L3AtdG9hc3Q+Il19
|
118
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRlLXVzZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVj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IGNsYXNzPVwiYWN0aW9uLWJ0biBkLWZsZXggZmxleC1jb2x1bW4gYWxpZ24taXRlbS1jZW50ZXIganVzdGlmeS1jb250ZW50LWNlbnRlclwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJidG5cIiBzaW1wb0J1dHRvbkRpcmVjdGl2ZSBbYnV0dG9uU3R5bGVdPVwiZGF0YT8uYWN0aW9uPy5idXR0b25zWzBdPy5zdHlsZXNcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBbY29sb3JdPVwic3R5bGVzPy5iYWNrZ3JvdW5kPy5hY2NlbnRDb2xvclwiIChjbGljayk9XCJ2ZXJpZnlPVFAoKVwiPkNvbnRpbnVlPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImFsdGVybmF0ZS1vcHQgdGV4dC1jZW50ZXJcIiBbc3R5bGUuY29sb3JdPVwiZGF0YT8uc3R5bGVzLmJhY2tncm91bmQ/LmFjY2VudENvbG9yXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cInJlc2VuZE9UUCgpXCI+UmVzZW5kIGNvZGU8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjbG9zZS1idG4gb25seURlc2t0b3BcIiAoY2xpY2spPVwiY2xvc2UoKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5jbG9zZTwvbWF0LWljb24+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJiYWNrLWJ0blwiIChjbGljayk9XCJnb0JhY2soKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5rZXlib2FyZF9iYWNrc3BhY2U8L21hdC1pY29uPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgIC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