simpo-component-library 2.1.82 → 2.1.84
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/document/document.component.mjs +1 -2
- package/esm2022/lib/directive/removeCarousel-directive.mjs +1 -2
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +1 -2
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +1 -2
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +1 -19
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +1 -2
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +1 -5
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +1 -4
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +1 -5
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +1 -3
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +1 -5
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +1 -2
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +1 -16
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +1 -3
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +1 -4
- package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +1 -2
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +1 -2
- package/esm2022/lib/sections/property-component/property-component.component.mjs +1 -2
- package/esm2022/lib/sections/registration-form/registration-form.component.mjs +2 -2
- package/esm2022/lib/sections/usp-video-section/usp-video-section.component.mjs +1 -2
- package/esm2022/lib/services/rest.service.mjs +4 -4
- package/esm2022/lib/services/storage.service.mjs +1 -7
- package/fesm2022/simpo-component-library.mjs +4 -75
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/package.json +1 -1
- package/simpo-component-library-2.1.84.tgz +0 -0
- package/simpo-component-library-2.1.82.tgz +0 -0
@@ -1471,7 +1471,6 @@ class DocumentComponent {
|
|
1471
1471
|
else {
|
1472
1472
|
file.type = 'FILE';
|
1473
1473
|
}
|
1474
|
-
console.log(file);
|
1475
1474
|
}
|
1476
1475
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: DocumentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1477
1476
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: DocumentComponent, isStandalone: true, selector: "simpo-document", inputs: { documentList: "documentList" }, ngImport: i0, template: "<section class=\"main-section p-2\">\r\n <div class=\"list_tabs heading d-flex align-items-center\">\r\n Required Document\r\n </div>\r\n\r\n <div class=\"document-section\">\r\n <div class=\"document\" *ngFor=\"let document of documentList\">\r\n <div class=\"left-side\">\r\n <img src=\"https://prod-simpo.s3.ap-south-1.amazonaws.com/prod-images/183907c1734627971492pdf.png\" alt=\"\">\r\n <p>{{document.displayText}}</p>\r\n </div>\r\n <div class=\"right-side\" (click)=\"fileInput.click()\" *ngIf=\"!(document.file || document.url)\">\r\n <div>Upload</div>\r\n </div>\r\n <div class=\"right-side\" *ngIf=\"document.file || document.url\">\r\n <mat-icon>delete</mat-icon>\r\n </div>\r\n\r\n <input id=\"vendorImage\" type=\"file\" name=\"myfile\" hidden\r\n accept=\".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,image/x-png,image/jpeg,image/jpg,.pdf, video/mp4,video/x-matroska,video/x-msvideo,video/quicktime\"\r\n (change)=\"uploadDocument($event, document)\" class=\"pc-btn\"\r\n id=\"browse_contact_image\" #fileInput />\r\n </div>\r\n </div>\r\n</section>\r\n", styles: [".list_tabs{border:1px solid #0000001A;background-color:#ffffffe5;padding:10px;border-radius:6px;gap:10px;height:50px}.heading{font-size:18px;font-weight:500}.align-items-center{align-items:center}.p-2{padding:2rem!important}.document-section{padding-right:2rem;margin-top:2rem;padding-left:2rem;display:flex;flex-direction:column;gap:10px}.document{display:flex;justify-content:space-between;background:#eeecec;padding:1.5rem;border-radius:10px}.left-side{display:flex;align-items:center;gap:20px}.left-side p{margin-bottom:0}.right-side{background:#fff;height:35px;padding-left:30px;padding-right:30px;display:flex;align-items:center;border-radius:8px;font-weight:500}@media screen and (max-width: 475px){.p-2{padding:1rem}.document-section{padding-left:0rem;padding-right:0rem}}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }] }); }
|
@@ -2687,8 +2686,6 @@ class BannerSectionComponent extends BaseSection {
|
|
2687
2686
|
this.screenWidth = "";
|
2688
2687
|
}
|
2689
2688
|
ngOnInit() {
|
2690
|
-
console.log(this.data);
|
2691
|
-
console.log(this.nextComponentColor);
|
2692
2689
|
this.deleteSelected = this.delete;
|
2693
2690
|
this.content = this.data?.content;
|
2694
2691
|
this.styles = this.data?.styles;
|
@@ -3656,7 +3653,6 @@ class NavbarButtonElementComponent {
|
|
3656
3653
|
this.HeaderButtonStyle = HeaderButtonStyle;
|
3657
3654
|
}
|
3658
3655
|
ngOnInit() {
|
3659
|
-
// console.log(this.buttonData)
|
3660
3656
|
}
|
3661
3657
|
changePage(pageData) {
|
3662
3658
|
this._eventService.pageRedirectionButton.emit({ data: pageData ? pageData : this.buttonData });
|
@@ -3780,9 +3776,9 @@ class RestService {
|
|
3780
3776
|
constructor(http, eventService) {
|
3781
3777
|
this.http = http;
|
3782
3778
|
this.eventService = eventService;
|
3783
|
-
this.BASE_URL = "https://
|
3784
|
-
this.ECOMMERCE_URL = "https://
|
3785
|
-
this.CMIS_URL = "https://api
|
3779
|
+
this.BASE_URL = "https://api.simpo.ai/";
|
3780
|
+
this.ECOMMERCE_URL = "https://prod-ecommerce.simpo.ai/";
|
3781
|
+
this.CMIS_URL = "https://dev-api.simpo.ai/";
|
3786
3782
|
this.environmentTypeSubscriber = null;
|
3787
3783
|
this.environmentTypeSubscriber = this.eventService.environmentType.subscribe((response) => {
|
3788
3784
|
if (response == "DEV") {
|
@@ -4156,7 +4152,6 @@ class StorageServiceService {
|
|
4156
4152
|
this.eventService.showLoadingScreen.emit(false);
|
4157
4153
|
}
|
4158
4154
|
;
|
4159
|
-
console.log("Database created");
|
4160
4155
|
};
|
4161
4156
|
// UserCart.orderedItems = await response.target.result;
|
4162
4157
|
};
|
@@ -4173,7 +4168,6 @@ class StorageServiceService {
|
|
4173
4168
|
const request = await this.getUserCart();
|
4174
4169
|
request.onsuccess = async (response) => {
|
4175
4170
|
// UserCart.orderedItems = await response.target.result;
|
4176
|
-
// console.log("Car", UserCart);
|
4177
4171
|
const favRequest = await this.getUserWhishlist();
|
4178
4172
|
favRequest.onsuccess = async (favResponse) => {
|
4179
4173
|
this.eventService.showLoadingScreen.emit(false);
|
@@ -4205,7 +4199,6 @@ class StorageServiceService {
|
|
4205
4199
|
this.restService.getUserItems(userDetails.userId, "WISHLIST")
|
4206
4200
|
]);
|
4207
4201
|
request.subscribe((cartResponse) => {
|
4208
|
-
console.log("Cart Response : ", cartResponse);
|
4209
4202
|
const userDetails = this.getUser();
|
4210
4203
|
const userCart = cartResponse?.[0].data[0] ? cartResponse?.[0].data[0] : new Cart({ 'cartType': cartType.CART, 'userDetails': userDetails, 'platform': 'WEB' });
|
4211
4204
|
if (userCart?.cartId)
|
@@ -4261,7 +4254,6 @@ class StorageServiceService {
|
|
4261
4254
|
const transaction = this.database.transaction(this.cartCollectionName, "readwrite");
|
4262
4255
|
const response = transaction.objectStore(this.cartCollectionName).get(product.varientId);
|
4263
4256
|
response.onsuccess = (cartResponse) => {
|
4264
|
-
console.log("Cart Resppnse : ", cartResponse);
|
4265
4257
|
if (cartResponse.target.result) { }
|
4266
4258
|
else {
|
4267
4259
|
this.totalCartItems += 1;
|
@@ -4272,7 +4264,6 @@ class StorageServiceService {
|
|
4272
4264
|
addAllProductToWishlist(products) {
|
4273
4265
|
const transaction = this.database.transaction(this.favouriteCollectionName, "readwrite");
|
4274
4266
|
products.forEach((product) => {
|
4275
|
-
console.log(product + "wishlist");
|
4276
4267
|
const response = transaction.objectStore(this.favouriteCollectionName).put(product);
|
4277
4268
|
});
|
4278
4269
|
return transaction;
|
@@ -4280,7 +4271,6 @@ class StorageServiceService {
|
|
4280
4271
|
addAllProductsToCart(products) {
|
4281
4272
|
const transaction = this.database.transaction(this.cartCollectionName, "readwrite");
|
4282
4273
|
products.forEach((product) => {
|
4283
|
-
console.log(product + "info");
|
4284
4274
|
const response = transaction.objectStore(this.cartCollectionName).put(product);
|
4285
4275
|
});
|
4286
4276
|
return transaction;
|
@@ -4648,7 +4638,6 @@ class AuthenticationRequiredComponent {
|
|
4648
4638
|
this.passwordStrengthCount += (/[a-z]/.test(this.password)) ? 1 : 0;
|
4649
4639
|
this.passwordStrengthCount += (/\d/.test(this.password)) ? 1 : 0;
|
4650
4640
|
this.passwordStrengthCount += (this.password.length > 8 ? 1 : 0);
|
4651
|
-
console.log(/^[A-Z]+$/.test(this.password), /^[a-z]+$/.test(this.password), /\d/.test(this.password));
|
4652
4641
|
}
|
4653
4642
|
getStrengthColor(index) {
|
4654
4643
|
switch (this.passwordStrengthCount) {
|
@@ -4822,7 +4811,6 @@ class AddressComponent extends BaseSection {
|
|
4822
4811
|
// this.updateAddressFields();
|
4823
4812
|
}
|
4824
4813
|
onAutocompleteSelected(result) {
|
4825
|
-
console.log(result);
|
4826
4814
|
// this.selectedCountry = null;
|
4827
4815
|
// this.zip = "";
|
4828
4816
|
// this.state = "";
|
@@ -5204,13 +5192,6 @@ class CartComponent extends BaseSection {
|
|
5204
5192
|
}
|
5205
5193
|
});
|
5206
5194
|
this.getIndexDBData();
|
5207
|
-
// if (this.storageService.getUser()) {
|
5208
|
-
// this.updateUserCart();
|
5209
|
-
// } else {
|
5210
|
-
// this.getIndexDBData();
|
5211
|
-
// console.log(this.responseData);
|
5212
|
-
// }
|
5213
|
-
console.log(this.responseData);
|
5214
5195
|
this.styles = this.data?.styles;
|
5215
5196
|
}
|
5216
5197
|
ngOnDestroy() {
|
@@ -5259,7 +5240,6 @@ class CartComponent extends BaseSection {
|
|
5259
5240
|
this.cartInfo.totalAmount = this.cartInfo.billdetails.totalNetValue + this.getTaxAmount() + this.cartInfo.billdetails.deliveryCharges;
|
5260
5241
|
// this.storageService.addAllProductsToCart(this.cartInfo.orderedItems)
|
5261
5242
|
this.responseData = this.cartInfo;
|
5262
|
-
console.log(this.responseData);
|
5263
5243
|
});
|
5264
5244
|
};
|
5265
5245
|
cartResponse.onerror = (cartData) => {
|
@@ -5284,7 +5264,6 @@ class CartComponent extends BaseSection {
|
|
5284
5264
|
});
|
5285
5265
|
this.cartInfo.billdetails.deliveryCharges = (deliveryOption?.minOrderAmount > this.cartInfo.billdetails.totalGrossValue) ? 0 : (deliveryOption?.deliveryCharges ?? 0);
|
5286
5266
|
this.cartInfo.billdetails.totalNetValue = this.cartInfo.billdetails.totalGrossValue - this.cartInfo.billdetails.deliveryCharges;
|
5287
|
-
console.log(this.cartInfo.billdetails.totalNetValue, this.cartInfo.billdetails.totalTax, this.cartInfo.billdetails.deliveryCharges);
|
5288
5267
|
this.cartInfo.totalAmount = this.cartInfo.billdetails.totalNetValue + this.getTaxAmount();
|
5289
5268
|
+this.cartInfo.billdetails.deliveryCharges;
|
5290
5269
|
this.cartInfo.orderedItems = this.USER_CART_ITEMS;
|
@@ -5362,7 +5341,6 @@ class CartComponent extends BaseSection {
|
|
5362
5341
|
}
|
5363
5342
|
getIndexDBData() {
|
5364
5343
|
this.storageService.getUserCart().then((cartResponse) => {
|
5365
|
-
console.log(cartResponse);
|
5366
5344
|
const deliveryOption = JSON.parse(localStorage.getItem("deliveryOptions") ?? "{}");
|
5367
5345
|
this.cartInfo.billdetails.totalGrossValue = 0;
|
5368
5346
|
this.cartInfo.billdetails.totalTax = 0;
|
@@ -5378,7 +5356,6 @@ class CartComponent extends BaseSection {
|
|
5378
5356
|
this.cartInfo.billdetails.totalTaxAfterDiscount = cartData.billdetails?.totalTaxAfterDiscount ?? 0;
|
5379
5357
|
this.cartInfo.billdetails.deliveryCharges = (deliveryOption?.minOrderAmount > this.cartInfo.billdetails.totalGrossValue) ? 0 : (deliveryOption?.deliveryCharges ?? 0);
|
5380
5358
|
this.cartInfo.billdetails.totalNetValue = this.cartInfo.billdetails.totalGrossValue;
|
5381
|
-
console.log(this.cartInfo.billdetails.totalNetValue, this.cartInfo.billdetails.totalTax, this.cartInfo.billdetails.deliveryCharges);
|
5382
5359
|
this.cartInfo.totalAmount = this.cartInfo.billdetails.totalNetValue + this.getTaxAmount() + this.cartInfo.billdetails.deliveryCharges;
|
5383
5360
|
this.cartInfo.orderedItems = this.USER_CART_ITEMS;
|
5384
5361
|
if (this.storageService.getUser())
|
@@ -5407,7 +5384,6 @@ class CartComponent extends BaseSection {
|
|
5407
5384
|
};
|
5408
5385
|
if (!(localStorage.getItem("cartId") == "undefined" || localStorage.getItem("cartId") == "null"))
|
5409
5386
|
this.cartInfo["cartId"] = localStorage.getItem("cartId");
|
5410
|
-
console.log("Response : ", response);
|
5411
5387
|
if (response && response === 'success') {
|
5412
5388
|
this.getIndexDBData();
|
5413
5389
|
// this.proceedToCheckout();
|
@@ -5424,7 +5400,6 @@ class CartComponent extends BaseSection {
|
|
5424
5400
|
// }
|
5425
5401
|
// if (!(localStorage.getItem("cartId") == "undefined" || localStorage.getItem("cartId") == "null"))
|
5426
5402
|
// this.cartInfo["cartId"] = localStorage.getItem("cartId");
|
5427
|
-
// console.log("Response : ", response);
|
5428
5403
|
// if (response)
|
5429
5404
|
// this.proceedToCheckout();
|
5430
5405
|
// }
|
@@ -5445,7 +5420,6 @@ class CartComponent extends BaseSection {
|
|
5445
5420
|
// }
|
5446
5421
|
// if (!(localStorage.getItem("cartId") == "undefined" || localStorage.getItem("cartId") == "null"))
|
5447
5422
|
// this.cartInfo["cartId"] = localStorage.getItem("cartId");
|
5448
|
-
// console.log("Response : ", response);
|
5449
5423
|
// if (response)
|
5450
5424
|
// this.proceedToCheckout();
|
5451
5425
|
// })
|
@@ -5502,7 +5476,6 @@ class CartComponent extends BaseSection {
|
|
5502
5476
|
});
|
5503
5477
|
this.cartInfo.billdetails.deliveryCharges = (deliveryOption?.minOrderAmount > this.cartInfo.billdetails.totalGrossValue) ? 0 : (deliveryOption?.deliveryCharges ?? 0);
|
5504
5478
|
this.cartInfo.billdetails.totalNetValue = this.cartInfo.billdetails.totalGrossValue;
|
5505
|
-
console.log(this.cartInfo.billdetails.totalNetValue, this.cartInfo.billdetails.totalTax, this.cartInfo.billdetails.deliveryCharges);
|
5506
5479
|
this.cartInfo.totalAmount = this.cartInfo.billdetails.totalNetValue + this.getTaxAmount() + this.cartInfo.billdetails.deliveryCharges;
|
5507
5480
|
this.cartInfo.orderedItems = this.USER_CART_ITEMS;
|
5508
5481
|
});
|
@@ -5530,7 +5503,6 @@ class CartComponent extends BaseSection {
|
|
5530
5503
|
});
|
5531
5504
|
this.cartInfo.billdetails.deliveryCharges = (deliveryOption?.minOrderAmount > this.cartInfo.billdetails.totalGrossValue) ? 0 : (deliveryOption?.deliveryCharges ?? 0);
|
5532
5505
|
this.cartInfo.billdetails.totalNetValue = this.cartInfo.billdetails.totalGrossValue;
|
5533
|
-
console.log(this.cartInfo.billdetails.totalNetValue, this.cartInfo.billdetails.totalTax, this.cartInfo.billdetails.deliveryCharges);
|
5534
5506
|
this.cartInfo.totalAmount = this.cartInfo.billdetails.totalNetValue + this.getTaxAmount() + this.cartInfo.billdetails.deliveryCharges;
|
5535
5507
|
this.cartInfo.orderedItems = this.USER_CART_ITEMS;
|
5536
5508
|
});
|
@@ -5698,12 +5670,10 @@ class CartComponent extends BaseSection {
|
|
5698
5670
|
return;
|
5699
5671
|
this.cartInfo.billdetails.couponCode = coupon.couponCode;
|
5700
5672
|
this.cartInfo.billdetails.couponId = coupon.couponId;
|
5701
|
-
console.log(this.cartInfo);
|
5702
5673
|
const restResponse = this.restService.addItemToDB(this.cartInfo).toPromise();
|
5703
5674
|
restResponse.then((response) => {
|
5704
5675
|
localStorage.setItem("couponId", coupon.couponId);
|
5705
5676
|
localStorage.setItem("couponCode", coupon.couponCode);
|
5706
|
-
console.log("Response: ", response);
|
5707
5677
|
this.calculateCart(response);
|
5708
5678
|
this.messageService.add({ severity: 'success', summary: 'Coupon', detail: 'Coupon Applied' });
|
5709
5679
|
this.cartInfo.billdetails.discountAmount = response?.data?.billdetails?.discountAmount ?? 0;
|
@@ -6324,7 +6294,6 @@ class PricingSectionComponent extends BaseSection {
|
|
6324
6294
|
}, 100);
|
6325
6295
|
}
|
6326
6296
|
redirectTo() {
|
6327
|
-
console.log('function called');
|
6328
6297
|
}
|
6329
6298
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PricingSectionComponent, deps: [{ token: EventsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
6330
6299
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: PricingSectionComponent, isStandalone: true, selector: "simpo-pricing-section", inputs: { data: "data", index: "index", edit: "edit", customClass: "customClass", delete: "delete", nextComponentColor: "nextComponentColor" }, usesInheritance: true, ngImport: i0, template: "<section [id]=\"data?.id\" [simpoBackground]=\"style?.background\" simpoHover (hovering)=\"showEditTabs($event)\" class=\"total-container\" [attr.style]=\"customClass\">\r\n <div #mainContainer [id]=\"data?.id\" [simpoOverlay]=\"style?.background\">\r\n <div class=\"container-fluid\" [id]=\"data?.id\" [simpoBorder]=\"style?.border\" [simpoLayout]=\"style?.layout\">\r\n <div class=\"row\" [id]=\"data?.id\" [simpoAnimation]=\"style?.animation\">\r\n <div *ngFor=\"let text of data?.content?.inputText\">\r\n <div class=\"heading-large content-side\" [simpoContentTitleSpace]=\"headingSpace\" [innerHTML]=\"text.value | sanitizeHtml\"></div>\r\n </div>\r\n\r\n <div class=\"pricing-options d-flex\">\r\n <div class=\"individual-options\" [id]=\"data?.id\" [simpoCorner]=\"style?.corners\" *ngFor=\"let options of content?.listItem?.data\"\r\n [ngClass]=\"{'highlighted-option': options.highlight.highlighted === true,\r\n 'individual-options-3': content?.listItem?.data?.length === 3,\r\n 'individual-options-2': content?.listItem?.data?.length === 2,\r\n 'individual-options-1': content?.listItem?.data?.length === 1\r\n }\">\r\n <img loading=\"lazy\" class=\"image\" *ngIf=\"content?.display?.showImage === true\"\r\n [simpoImageDirective]=\"style?.image\" [id]=\"data?.id\" [simpoObjectPosition]=\"options.image.position\"\r\n [simpoCorner]=\"style?.corners\" [src]=\"options.image.url \" alt=\"\" width=\"92%\" loading=\"lazy\">\r\n <div class=\"highlight-label\" *ngIf=\"options.highlight.highlighted === true\" [ngStyle]=\"{'background-color': getTextColor()}\" [simpoColor]=\"getTextColor()\">\r\n {{options.highlight.label}}\r\n </div>\r\n <div class=\"heading-small content-side\" [innerHTML]=\"options.inputText[0].value | sanitizeHtml \"></div>\r\n <div class=\"heading-large price content-side\" [innerHTML]=\"options.inputText[2].value | sanitizeHtml \"></div>\r\n <div class=\"body-desc content-side\" [innerHTML]=\"options.inputText[3].value | sanitizeHtml \"></div>\r\n\r\n <div class=\"btn\" *ngIf=\"content?.display?.showButton === true\">\r\n <button class=\"button\" simpoButtonDirective [id]=\"data?.id+(button?.id || '')\" [buttonStyle]=\"button?.styles\" [color]=\"data?.styles?.background?.accentColor\" (click)=\"redirectTo()\">{{options?.button?.label}}</button>\r\n </div>\r\n <div class=\"body-desc description\" *ngIf=\"content?.display?.showContent === true\" [innerHtml] = \"options.inputText[1].value\"></div>\r\n <div class=\"body-desc content-options\" *ngIf=\"content?.display?.showIncludeditems\">\r\n <div class=\"d-flex gap-15\" *ngFor=\"let content of options.additionalData\">\r\n <mat-icon>check</mat-icon> {{content.content}}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n \r\n <ng-container *ngIf=\"style?.devider?.display\">\r\n <simpo-svg-divider [dividerType]=\"style?.devider?.deviderType\" [color]=\"nextComponentColor?.color\"></simpo-svg-divider>\r\n </ng-container>\r\n <div [ngClass]=\"{'hover_effect': edit}\" *ngIf=\"showEditors\">\r\n <simpo-hover-elements [data]=\"data\" [index]=\"index\" [editOptions]=\"edit\"></simpo-hover-elements>\r\n </div>\r\n <div *ngIf=\"showDelete\" [ngClass]=\"{'hover_effect': delete}\">\r\n <simpo-delete-hover-element [data]=\"data\" [index]=\"index\"></simpo-delete-hover-element>\r\n </div>\r\n</section>\r\n", styles: [".hover_effect{position:absolute;width:100%;top:0;left:0;height:100%}.total-container{position:relative;height:auto}.container-fluid{height:auto;padding:6rem 3rem}.pricing-options{width:100%;justify-content:center}.individual-options{border:1.5px solid;display:flex;flex-direction:column;align-items:center;padding:30px 10px;margin-top:6rem;margin-bottom:3rem;width:25%}.individual-options-3{width:32%}.individual-options-3 .btn{width:95%}.btn{width:97%;border:none;box-shadow:none}.individual-options-2{width:40%}.individual-options-1{width:75%}.individual-options-1 .btn{width:95%}.highlighted-option{margin-top:1rem;margin-bottom:0rem;height:auto;justify-content:center;border:3px solid}.highlighted-option .heading-small{padding-top:5px}.heading-small{padding:15px 5px;text-align:left;font-size:24px;width:94%}.price,.body-desc{text-align:left;width:89%}.description{line-height:30px;padding-top:11px}.content-options{padding-top:20px}.gap-15{gap:15px;padding:.75rem 0}.highlight-label{padding:5px 17px;display:flex;align-items:flex-start;flex-direction:column;width:auto;border-radius:25px;margin-top:20px;margin-right:auto;margin-left:17px;font-size:15px}.button{margin-top:2rem;margin-bottom:.25rem;font-size:17px!important;padding:.75rem 0}@media only screen and (max-width: 475px){.pricing-options{flex-direction:column}.individual-options,.highlighted-option{width:100%;margin-top:1rem;margin-bottom:1rem;padding:2rem}.button{white-space:nowrap!important;margin-top:2.5rem;margin-bottom:2rem}.btn{width:106%}.highlight-label{margin-left:4px}.price{margin-top:10px;width:97%}.body-desc{width:97%}:is(.individual-options-1,.individual-options-2,.individual-options-3) .btn{width:100%}.image{width:100%!important}.heading-small{width:100%}.content-options{padding-top:10px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "directive", type: BackgroundDirective, selector: "[simpoBackground]", inputs: ["simpoBackground", "scrollValue"] }, { kind: "directive", type: OverlayDirective, selector: "[simpoOverlay]", inputs: ["simpoOverlay"] }, { kind: "directive", type: BorderDirective, selector: "[simpoBorder]", inputs: ["simpoBorder"] }, { kind: "directive", type: AnimationDirective, selector: "[simpoAnimation]", inputs: ["simpoAnimation"] }, { kind: "directive", type: ContentFitDirective, selector: "[simpoLayout]", inputs: ["simpoLayout"] }, { kind: "component", type: HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }, { kind: "directive", type: ObjectPositionDirective, selector: "[simpoObjectPosition]", inputs: ["simpoObjectPosition"] }, { kind: "directive", type: CornerDirective, selector: "[simpoCorner]", inputs: ["simpoCorner"] }, { kind: "directive", type: ImageDirectiveDirective, selector: "[simpoImageDirective]", inputs: ["simpoImageDirective"] }, { kind: "directive", type: ButtonDirectiveDirective, selector: "[simpoButtonDirective]", inputs: ["buttonStyle", "color", "scrollValue"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: ColorDirective, selector: "[simpoColor]", inputs: ["simpoColor"] }, { kind: "directive", type: ContentTitleDirective, selector: "[simpoContentTitleSpace]", inputs: ["simpoContentTitleSpace"] }, { kind: "pipe", type: SanitizeHtmlPipe, name: "sanitizeHtml" }, { kind: "component", type: SvgDividerComponent, selector: "simpo-svg-divider", inputs: ["dividerType", "color"] }] }); }
|
@@ -8211,7 +8180,6 @@ class RemoveCarouselDirective {
|
|
8211
8180
|
}
|
8212
8181
|
ngOnChanges() {
|
8213
8182
|
if (this.carouselRemove) {
|
8214
|
-
console.log(this.carouselRemove);
|
8215
8183
|
}
|
8216
8184
|
// if (changes['carouselRemove']) {
|
8217
8185
|
// this.eventServiceSubscription = this.eventService.stopCarouselEvent.subscribe((res: any) => {
|
@@ -8263,7 +8231,6 @@ class CarouselBannerComponent extends BaseSection {
|
|
8263
8231
|
this.currentIndex = 1;
|
8264
8232
|
}
|
8265
8233
|
ngOnInit() {
|
8266
|
-
console.log(this.content, this.data);
|
8267
8234
|
this.deleteSelected = this.delete;
|
8268
8235
|
// this.content = this.data?.content;
|
8269
8236
|
// this.styles = this.data?.styles;
|
@@ -8273,13 +8240,11 @@ class CarouselBannerComponent extends BaseSection {
|
|
8273
8240
|
// return;
|
8274
8241
|
// }
|
8275
8242
|
// this._eventService.stopCarouselEvent.subscribe((res:any)=>{
|
8276
|
-
// console.log(res)
|
8277
8243
|
// })
|
8278
8244
|
// let a = document.querySelector('data-ride');
|
8279
8245
|
}
|
8280
8246
|
// ngAfterViewInit(){
|
8281
8247
|
// this._eventService.stopCarouselEvent.subscribe((res:any)=>{
|
8282
|
-
// console.log(res)
|
8283
8248
|
// this.selectSlide(res.activeItem)
|
8284
8249
|
// this.currentIndex = res.activeItem;
|
8285
8250
|
// this.carouselElement1.nativeElement.setAttribute('data-interval','false')
|
@@ -8445,7 +8410,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8445
8410
|
this.screenWidth = window.innerWidth;
|
8446
8411
|
}
|
8447
8412
|
ngOnInit() {
|
8448
|
-
console.log(this.data);
|
8449
8413
|
this.deleteSelected = this.delete;
|
8450
8414
|
this.content = this.data?.content;
|
8451
8415
|
this.styles = this.data?.styles;
|
@@ -8524,7 +8488,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8524
8488
|
this.getAllServices();
|
8525
8489
|
this.getAllStaff();
|
8526
8490
|
this.updateLocationTiming();
|
8527
|
-
// console.log(this.locationTiming)
|
8528
8491
|
}
|
8529
8492
|
updateLocationTiming() {
|
8530
8493
|
this.locationTiming = [];
|
@@ -8551,7 +8514,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8551
8514
|
// Filter services to only include those with status 'ACTIVE'
|
8552
8515
|
this.serviceData = res.data.data.filter((service) => service.status === 'ACTIVE');
|
8553
8516
|
if (this.serviceData.length > 0) {
|
8554
|
-
console.log(this.serviceData);
|
8555
8517
|
}
|
8556
8518
|
else {
|
8557
8519
|
this.snackbar.open(`No active services available for this business.`, 'Close', {
|
@@ -8565,7 +8527,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8565
8527
|
});
|
8566
8528
|
}
|
8567
8529
|
}, (error) => {
|
8568
|
-
console.error("Error fetching services:", error); // Handle errors gracefully
|
8569
8530
|
});
|
8570
8531
|
}
|
8571
8532
|
getAllStaff() {
|
@@ -8577,7 +8538,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8577
8538
|
// Filter services to only include those with status 'ACTIVE'
|
8578
8539
|
this.staffData = res.data.data.filter((staff) => staff.status === 'ACTIVE');
|
8579
8540
|
if (this.staffData.length > 0) {
|
8580
|
-
console.log(this.staffData);
|
8581
8541
|
}
|
8582
8542
|
else {
|
8583
8543
|
this.snackbar.open(`No active staff available for this business.`, 'Close', {
|
@@ -8591,7 +8551,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8591
8551
|
});
|
8592
8552
|
}
|
8593
8553
|
}, (error) => {
|
8594
|
-
console.error("Error fetching staff:", error); // Handle errors gracefully
|
8595
8554
|
});
|
8596
8555
|
}
|
8597
8556
|
changeDate() {
|
@@ -8623,7 +8582,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8623
8582
|
// }
|
8624
8583
|
// }
|
8625
8584
|
// }
|
8626
|
-
// console.log(this.bookedSlots)
|
8627
8585
|
// this.getBookedSlots(res);
|
8628
8586
|
this.getBookedSlots(res);
|
8629
8587
|
});
|
@@ -8643,7 +8601,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8643
8601
|
const dateB = new Date(b.appointmentStartTime).getTime();
|
8644
8602
|
return dateA - dateB; // Ascending order
|
8645
8603
|
});
|
8646
|
-
console.log(slots);
|
8647
8604
|
let startTime = new Date(slots[0].appointmentStartTime);
|
8648
8605
|
let endTime = new Date(slots[0].appointmentEndTime);
|
8649
8606
|
for (let apppointment of slots) {
|
@@ -8664,7 +8621,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8664
8621
|
const timeSlots = this.getTime(startTime.toString(), endTime.toString(), 15);
|
8665
8622
|
timeSlots.splice(timeSlots.length - 1, 1);
|
8666
8623
|
timeSlots?.forEach(slot => this.bookedSlots.add(slot));
|
8667
|
-
console.log(this.bookedSlots);
|
8668
8624
|
}
|
8669
8625
|
getTime(start, end, intervalMinutes) {
|
8670
8626
|
const startDate = new Date(start);
|
@@ -8686,10 +8642,8 @@ class AppointmentFormComponent extends BaseSection {
|
|
8686
8642
|
return slots;
|
8687
8643
|
}
|
8688
8644
|
generateTimeSlots(startTime, endTime) {
|
8689
|
-
console.log(startTime, endTime);
|
8690
8645
|
this.availableTimes = []; // Clear previous times
|
8691
8646
|
if (!startTime || !endTime) {
|
8692
|
-
console.error("StartTime or EndTime is undefined:", startTime, endTime);
|
8693
8647
|
return;
|
8694
8648
|
}
|
8695
8649
|
const [startHour, startMinute, startPeriod] = this.parseTime(startTime);
|
@@ -8722,7 +8676,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8722
8676
|
}
|
8723
8677
|
parseTime(time) {
|
8724
8678
|
if (!time) {
|
8725
|
-
console.error("Time is undefined or null:", time);
|
8726
8679
|
return [0, 0, 'AM']; // Default or fallback values
|
8727
8680
|
}
|
8728
8681
|
const [timeString, period] = time.split(" ");
|
@@ -8740,7 +8693,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8740
8693
|
});
|
8741
8694
|
}
|
8742
8695
|
}, (error) => {
|
8743
|
-
console.error("Error fetching services:", error); // Handle errors gracefully
|
8744
8696
|
});
|
8745
8697
|
}
|
8746
8698
|
formatDate(date) {
|
@@ -8764,7 +8716,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8764
8716
|
this.snackbar.open(`Location is not created yet with this business`, 'Close', { duration: 1500 });
|
8765
8717
|
}
|
8766
8718
|
}, (error) => {
|
8767
|
-
console.error("Error fetching services:", error);
|
8768
8719
|
});
|
8769
8720
|
}
|
8770
8721
|
// Function to filter time slots
|
@@ -8841,7 +8792,6 @@ class AppointmentFormComponent extends BaseSection {
|
|
8841
8792
|
this.snackbar.open(`Internal Server Error`, 'Close', {
|
8842
8793
|
duration: 1500
|
8843
8794
|
});
|
8844
|
-
console.error("Error fetching Creation:", error); // Handle errors gracefully
|
8845
8795
|
});
|
8846
8796
|
}
|
8847
8797
|
reFilterData() {
|
@@ -9044,7 +8994,6 @@ class LogoGalleryComponent extends BaseSection {
|
|
9044
8994
|
this.screenWidth = window.innerWidth;
|
9045
8995
|
}
|
9046
8996
|
ngOnInit() {
|
9047
|
-
console.log(this.data);
|
9048
8997
|
this.content = this.data?.content;
|
9049
8998
|
this.style = this.data?.styles;
|
9050
8999
|
this.getScreenSize();
|
@@ -9319,7 +9268,7 @@ class RegistrationFormComponent extends BaseSection {
|
|
9319
9268
|
this.data?.sectionType === 'registrationForm' ? this.createRegistration() : this.createAdmission();
|
9320
9269
|
}
|
9321
9270
|
createRegistration() {
|
9322
|
-
this.payload['returnUrl'] = `https://cmis.tejsoft.com/verify-payment/?url=true&type=REGISTRATION&bId=${this.businessId}`;
|
9271
|
+
this.payload['returnUrl'] = `https://dev.cmis.tejsoft.com/verify-payment/?url=true&type=REGISTRATION&bId=${this.businessId}`;
|
9323
9272
|
this.registrationSubscription = this.restService.createRegistrationForPayment(this.payload).subscribe((res) => {
|
9324
9273
|
// this.snackBar.open('Registration created successfully', 'close', {duration: 2000});
|
9325
9274
|
this._eventService.cashFreeEvent.emit({ response: res, paymentType: 'REGISTRATION' });
|
@@ -9541,7 +9490,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
9541
9490
|
|
9542
9491
|
class PropertyComponentComponent {
|
9543
9492
|
ngOnInit() {
|
9544
|
-
console.log(this.data, "this property data");
|
9545
9493
|
this.content = this.data?.content;
|
9546
9494
|
}
|
9547
9495
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: PropertyComponentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
@@ -9564,7 +9512,6 @@ class UspVideoSectionComponent extends BaseSection {
|
|
9564
9512
|
this._eventService = _eventService;
|
9565
9513
|
}
|
9566
9514
|
ngOnInit() {
|
9567
|
-
console.log(this.data);
|
9568
9515
|
this.style = this.data?.styles;
|
9569
9516
|
}
|
9570
9517
|
get stylesLayout() {
|
@@ -10471,7 +10418,6 @@ class ProductDescComponent extends BaseSection {
|
|
10471
10418
|
if (itemVariant) {
|
10472
10419
|
this.responseData.itemImages = itemVariant.variantImages;
|
10473
10420
|
}
|
10474
|
-
console.log("Description", this.responseData?.name, this.responseData?.descriptor?.name);
|
10475
10421
|
this.titleService.setTitle(this.responseData?.name);
|
10476
10422
|
if (this.responseData) {
|
10477
10423
|
this.itemImages = this.responseData.itemImages;
|
@@ -10515,7 +10461,6 @@ class ProductDescComponent extends BaseSection {
|
|
10515
10461
|
});
|
10516
10462
|
this.currentImg = this.responseData?.itemImages?.[0]?.imgUrl;
|
10517
10463
|
this.getProductByCategory();
|
10518
|
-
console.log(this.responseData);
|
10519
10464
|
}
|
10520
10465
|
});
|
10521
10466
|
}
|
@@ -10536,9 +10481,7 @@ class ProductDescComponent extends BaseSection {
|
|
10536
10481
|
let foundVarient = true;
|
10537
10482
|
Object.keys(varient.properties).forEach((property) => {
|
10538
10483
|
foundVarient = (this.selectedVarient.get(property) == varient.properties[property]) && foundVarient;
|
10539
|
-
console.log(this.selectedVarient.get(property), varient.properties[property]);
|
10540
10484
|
});
|
10541
|
-
console.log(foundVarient);
|
10542
10485
|
if (foundVarient) {
|
10543
10486
|
this.itemImages = varient.variantImages;
|
10544
10487
|
this.currentImg = this.itemImages[0]?.imgUrl;
|
@@ -10891,7 +10834,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
10891
10834
|
|
10892
10835
|
class ProductListComponent extends BaseSection {
|
10893
10836
|
onWindowScroll(event) {
|
10894
|
-
console.log("scrolling");
|
10895
10837
|
this.scrollingValue = window.pageYOffset || document.documentElement.scrollTop;
|
10896
10838
|
}
|
10897
10839
|
constructor(platformId, _eventService, restService, router, activatedRoute, storageService, matBottomSheet, matDialog, cartService, messageService) {
|
@@ -10983,12 +10925,10 @@ class ProductListComponent extends BaseSection {
|
|
10983
10925
|
const collections = qCollections?.split("+")?.map((collection) => collection.replaceAll("_", " ").toLowerCase()).filter((collection) => collection.length > 0);
|
10984
10926
|
this.categories?.forEach((category) => category.status = categories?.includes(category?.option?.toLowerCase()) ?? false);
|
10985
10927
|
this.collections?.forEach((collection) => collection.status = collections?.includes(collection?.option?.toLowerCase()) ?? false);
|
10986
|
-
console.log(this.categories, this.collections);
|
10987
10928
|
this.filterList = [
|
10988
10929
|
...this.categories?.filter((category) => category.status).map((category) => { return { id: category.id, name: category.option }; }),
|
10989
10930
|
...this.collections?.filter((collection) => collection.status).map((collection) => { return { id: collection.id, name: collection.option }; })
|
10990
10931
|
];
|
10991
|
-
console.log(this.filterList);
|
10992
10932
|
this.filterItemList();
|
10993
10933
|
}
|
10994
10934
|
getAllCategories() {
|
@@ -11421,16 +11361,13 @@ class WhislistComponent extends BaseSection {
|
|
11421
11361
|
this.wishlistInfo["cartId"] = response.data?.[0]?.cartId;
|
11422
11362
|
if (response.data?.[0]?.orderedItems?.length) {
|
11423
11363
|
this.storageService.addAllProductToWishlist(tempUserWishlist).oncomplete = () => {
|
11424
|
-
console.log(tempUserWishlist);
|
11425
11364
|
this.storageService.getUserWhishlist().then((wishtlistResponse) => {
|
11426
11365
|
wishtlistResponse.onsuccess = (wishlistData) => {
|
11427
11366
|
const wishlistResponse = this.restService.addItemToDB(this.wishlistInfo).toPromise();
|
11428
11367
|
wishlistResponse.finally(() => {
|
11429
|
-
console.log("wishtlist Data", wishlistData);
|
11430
11368
|
this.USER_WISHLIST_ITEMS = wishlistData.target.result;
|
11431
11369
|
this.wishlistInfo.orderedItems = this.USER_WISHLIST_ITEMS;
|
11432
11370
|
this.responseData = this.wishlistInfo;
|
11433
|
-
console.log(this.responseData);
|
11434
11371
|
});
|
11435
11372
|
};
|
11436
11373
|
});
|
@@ -11482,7 +11419,6 @@ class WhislistComponent extends BaseSection {
|
|
11482
11419
|
const transaction = this.storageService.addProductToCart(product);
|
11483
11420
|
transaction.onsuccess = (wishlistResponse) => {
|
11484
11421
|
this.storageService.removeProductFromWishlist(product.itemId).onsuccess = (wislistResponse) => {
|
11485
|
-
console.log("Success");
|
11486
11422
|
// this.storageService.addProductToCart(product).onsuccess = (cartResponse) => {
|
11487
11423
|
this.USER_WISHLIST_ITEMS = this.USER_WISHLIST_ITEMS.filter((item) => item.varientId != product.varientId);
|
11488
11424
|
this.wishlistInfo.orderedItems = this.USER_WISHLIST_ITEMS;
|
@@ -11592,7 +11528,6 @@ class OrderDetailsComponent {
|
|
11592
11528
|
}
|
11593
11529
|
ngOnInit() {
|
11594
11530
|
this.styles = this.data?.styles;
|
11595
|
-
console.log(this.orderDetailData);
|
11596
11531
|
this.orderTimiline = this.orderDetailData?.brandOrderDetails?.[0]?.timeLineList?.map((timeline) => {
|
11597
11532
|
return {
|
11598
11533
|
icon: this.getIcon(timeline.orderStatus),
|
@@ -11790,7 +11725,6 @@ class UserProfileComponent extends BaseSection {
|
|
11790
11725
|
;
|
11791
11726
|
};
|
11792
11727
|
transaction.onerror = () => {
|
11793
|
-
console.log("Error");
|
11794
11728
|
};
|
11795
11729
|
}
|
11796
11730
|
moveToCart(product) {
|
@@ -11799,7 +11733,6 @@ class UserProfileComponent extends BaseSection {
|
|
11799
11733
|
const transaction = this.storageService.addProductToCart(product);
|
11800
11734
|
transaction.onsuccess = (wishlistResponse) => {
|
11801
11735
|
this.storageService.removeProductFromWishlist(product.varientId).onsuccess = (wislistResponse) => {
|
11802
|
-
console.log("Success");
|
11803
11736
|
this.storageService.addProductToCart(product).onsuccess = (cartResponse) => {
|
11804
11737
|
this.wishlistData = this.wishlistData.filter((item) => item.varientId != product.varientId);
|
11805
11738
|
};
|
@@ -11922,7 +11855,6 @@ class UserProfileComponent extends BaseSection {
|
|
11922
11855
|
}
|
11923
11856
|
getScreenSize(event) {
|
11924
11857
|
this.screenWidth = window.innerWidth;
|
11925
|
-
// console.log(this.scrHeight, this.scrWidth);
|
11926
11858
|
}
|
11927
11859
|
editProfile() {
|
11928
11860
|
if (this.screenWidth > 475) {
|
@@ -11946,7 +11878,6 @@ class UserProfileComponent extends BaseSection {
|
|
11946
11878
|
}
|
11947
11879
|
}
|
11948
11880
|
logout() {
|
11949
|
-
console.log("Logout");
|
11950
11881
|
Swal.fire({
|
11951
11882
|
icon: "warning",
|
11952
11883
|
title: "Thanks for choosing us",
|
@@ -12481,7 +12412,6 @@ class VerifyComponent extends BaseSection {
|
|
12481
12412
|
this.MAX_API_COUNT = 20;
|
12482
12413
|
}
|
12483
12414
|
ngOnInit() {
|
12484
|
-
console.log(this.data);
|
12485
12415
|
this.content = this.data?.content;
|
12486
12416
|
this.styles = this.data?.styles;
|
12487
12417
|
this.userDetails = this.storageService.getUser();
|
@@ -12540,7 +12470,6 @@ class VerifyComponent extends BaseSection {
|
|
12540
12470
|
this.router.navigate(['/']);
|
12541
12471
|
}
|
12542
12472
|
});
|
12543
|
-
console.log("Failed to get Status");
|
12544
12473
|
}
|
12545
12474
|
else {
|
12546
12475
|
this.checkPaymentStatus();
|