simpo-component-library 1.7.7 → 1.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/components/delete-hover-element/delete-hover-element.component.mjs +3 -3
  3. package/esm2022/lib/components/image-loading/image-loading.component.mjs +3 -3
  4. package/esm2022/lib/constants/business.constant.mjs +1 -1
  5. package/esm2022/lib/directive/blur-content.directive.mjs +1 -1
  6. package/esm2022/lib/directive/borderlessImage.directive.mjs +1 -1
  7. package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
  8. package/esm2022/lib/directive/color.directive.mjs +1 -1
  9. package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
  10. package/esm2022/lib/directive/container-alignment.directive.mjs +1 -1
  11. package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
  12. package/esm2022/lib/directive/content-title-spacing.directive.mjs +1 -1
  13. package/esm2022/lib/directive/corner-directive.mjs +1 -1
  14. package/esm2022/lib/directive/hoverborder.directive.mjs +1 -1
  15. package/esm2022/lib/directive/image-container.directive.mjs +1 -1
  16. package/esm2022/lib/directive/image-directive.directive.mjs +5 -3
  17. package/esm2022/lib/directive/image-position.directive.mjs +1 -1
  18. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  19. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -1
  20. package/esm2022/lib/directive/sticky-directive.mjs +1 -1
  21. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  22. package/esm2022/lib/directive/text-size.directive.mjs +1 -1
  23. package/esm2022/lib/directive/wrap-containers.directive.mjs +1 -1
  24. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +6 -4
  25. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +3 -3
  26. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +61 -10
  27. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +7 -5
  28. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  29. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +3 -3
  30. package/esm2022/lib/ecommerce/sections/category-product/category-product.model.mjs +1 -1
  31. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  32. package/esm2022/lib/ecommerce/sections/checkout/checkout.modal.mjs +1 -1
  33. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.component.mjs +3 -3
  34. package/esm2022/lib/ecommerce/sections/customer-review/customer-review.model.mjs +1 -1
  35. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
  36. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.modal.mjs +1 -1
  37. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -3
  38. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  39. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  40. package/esm2022/lib/ecommerce/sections/item-varient/item-varient.component.mjs +3 -3
  41. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -3
  42. package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +3 -3
  43. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  44. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.model.mjs +1 -1
  45. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  46. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
  47. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  48. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  49. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  50. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
  51. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  52. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  53. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +3 -3
  54. package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +1 -1
  55. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
  56. package/esm2022/lib/ecommerce/styles/BaseCollection.modal.mjs +1 -1
  57. package/esm2022/lib/ecommerce/styles/Collection.modal.mjs +1 -1
  58. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +1 -1
  59. package/esm2022/lib/ecommerce/styles/PincodeLocation.model.mjs +1 -1
  60. package/esm2022/lib/ecommerce/styles/PincodeLocationInter.model.mjs +1 -1
  61. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -1
  62. package/esm2022/lib/ecommerce/styles/category.modal.mjs +1 -1
  63. package/esm2022/lib/ecommerce/styles/order.modal.mjs +1 -1
  64. package/esm2022/lib/ecommerce/styles/product.modal.mjs +1 -1
  65. package/esm2022/lib/ecommerce/styles/review.modal.mjs +1 -1
  66. package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
  67. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  68. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  69. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  70. package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +3 -3
  71. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  72. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  73. package/esm2022/lib/elements/index.mjs +1 -1
  74. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -3
  75. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  76. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  77. package/esm2022/lib/pipes/amount.pipe.mjs +1 -1
  78. package/esm2022/lib/pipes/gender.pipe.mjs +1 -1
  79. package/esm2022/lib/sections/BaseSection.mjs +1 -1
  80. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +3 -3
  81. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +3 -3
  82. package/esm2022/lib/sections/appointment-form/appointment-form.model.mjs +1 -1
  83. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  84. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  85. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  86. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +3 -3
  87. package/esm2022/lib/sections/blog-list/blog-list.model.mjs +1 -1
  88. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
  89. package/esm2022/lib/sections/choose-us-section/choose-us-section.model.mjs +1 -1
  90. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  91. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  92. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  93. package/esm2022/lib/sections/features-section/features-section.model.mjs +1 -1
  94. package/esm2022/lib/sections/header-text/header-text.component.mjs +3 -3
  95. package/esm2022/lib/sections/header-text/header-text.model.mjs +1 -1
  96. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  97. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  98. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  99. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  100. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  101. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  102. package/esm2022/lib/sections/location-section/location-section.component.mjs +3 -3
  103. package/esm2022/lib/sections/location-section/location-section.modal.mjs +1 -1
  104. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  105. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  106. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +6 -4
  107. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  108. package/esm2022/lib/sections/pricing-section/pricing-section.modal.mjs +1 -1
  109. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +3 -3
  110. package/esm2022/lib/sections/process-modern/process-modern.model.mjs +1 -1
  111. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  112. package/esm2022/lib/sections/process-section/process-section.modal.mjs +1 -1
  113. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  114. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.model.mjs +1 -1
  115. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  116. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  117. package/esm2022/lib/sections/skeleton-loader-section/skeleton-loader-section.component.mjs +3 -3
  118. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  119. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  120. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  121. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.model.mjs +1 -1
  122. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  123. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  124. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  125. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  126. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  127. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  128. package/esm2022/lib/services/cart.service.mjs +1 -1
  129. package/esm2022/lib/services/endUser.service.mjs +1 -1
  130. package/esm2022/lib/services/rest.service.mjs +1 -1
  131. package/esm2022/lib/services/sanitizeHtml.mjs +1 -1
  132. package/esm2022/lib/services/storage.service.mjs +1 -1
  133. package/esm2022/lib/styles/index.mjs +1 -1
  134. package/esm2022/lib/styles/style.model.mjs +1 -1
  135. package/esm2022/lib/styles/types.mjs +1 -1
  136. package/esm2022/public-api.mjs +1 -1
  137. package/fesm2022/simpo-component-library.mjs +177 -124
  138. package/fesm2022/simpo-component-library.mjs.map +1 -1
  139. package/lib/ecommerce/sections/address/address.component.d.ts +2 -1
  140. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +27 -4
  141. package/lib/ecommerce/sections/cart/cart.component.d.ts +2 -1
  142. package/lib/sections/navbar-section/navbar-section.component.d.ts +2 -1
  143. package/package.json +1 -1
  144. package/simpo-component-library-1.7.9.tgz +0 -0
  145. package/simpo-component-library-1.7.7.tgz +0 -0
@@ -1,10 +1,16 @@
1
1
  import { CommonModule } from '@angular/common';
2
- import { Component, Optional } from '@angular/core';
2
+ import { Component, Inject, Input, Optional } from '@angular/core';
3
3
  import { FormsModule } from '@angular/forms';
4
4
  import { MessageService } from 'primeng/api';
5
5
  import { ToastModule } from 'primeng/toast';
6
6
  import Swal from 'sweetalert2';
7
7
  import { MatIconModule } from '@angular/material/icon';
8
+ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
9
+ import { ColorDirective } from '../../../directive/color.directive';
10
+ import { ButtonDirectiveDirective } from '../../../directive/button-directive.directive';
11
+ import BaseSection from '../../../sections/BaseSection';
12
+ import { HoverDirective } from '../../../directive/hover-element-directive';
13
+ import { SimpoComponentModule } from '../../../components/index';
8
14
  import * as i0 from "@angular/core";
9
15
  import * as i1 from "../../../services/rest.service";
10
16
  import * as i2 from "@angular/router";
@@ -16,13 +22,17 @@ import * as i7 from "@angular/common";
16
22
  import * as i8 from "@angular/forms";
17
23
  import * as i9 from "primeng/toast";
18
24
  import * as i10 from "@angular/material/icon";
19
- export class AuthenticationRequiredComponent {
20
- constructor(restService, router, messageService, storageService, matDialog, dialogRef, bottomsheetRef) {
25
+ import * as i11 from "../../../components/hover-elements/hover-elements.component";
26
+ import * as i12 from "../../../components/delete-hover-element/delete-hover-element.component";
27
+ export class AuthenticationRequiredComponent extends BaseSection {
28
+ constructor(restService, router, messageService, storageService, matDialog, dialogData, dialogRef, bottomsheetRef) {
29
+ super();
21
30
  this.restService = restService;
22
31
  this.router = router;
23
32
  this.messageService = messageService;
24
33
  this.storageService = storageService;
25
34
  this.matDialog = matDialog;
35
+ this.dialogData = dialogData;
26
36
  this.dialogRef = dialogRef;
27
37
  this.bottomsheetRef = bottomsheetRef;
28
38
  this.email = "";
@@ -44,6 +54,13 @@ export class AuthenticationRequiredComponent {
44
54
  ];
45
55
  this.loginType = "OTP";
46
56
  }
57
+ ngOnInit() {
58
+ if (this.dialogData) {
59
+ this.data = this.dialogData;
60
+ }
61
+ this.loginButton = this.data?.action.buttons[0];
62
+ this.signUpButton = this.data?.action.buttons[1];
63
+ }
47
64
  close() {
48
65
  this.dialogRef.close();
49
66
  }
@@ -243,8 +260,25 @@ export class AuthenticationRequiredComponent {
243
260
  get isMobile() {
244
261
  return window.innerWidth <= 475;
245
262
  }
246
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AuthenticationRequiredComponent, deps: [{ token: i1.RestService }, { token: i2.Router }, { token: i3.MessageService }, { token: i4.StorageServiceService }, { token: i5.MatDialog }, { token: i5.MatDialogRef, optional: true }, { token: i6.MatBottomSheetRef, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
247
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: AuthenticationRequiredComponent, isStandalone: true, selector: "simpo-authentication-required", providers: [MessageService], ngImport: i0, template: "\n<p-toast position=\"bottom-right\" [baseZIndex]=\"10000000000\" [autoZIndex]=\"true\"\n [showTransformOptions]=\"isMobile ? 'translateY(-100%)' : ''\"></p-toast>\n<div class=\"close-icon\" (click)=\"close()\">\n <mat-icon>close</mat-icon>\n</div>\n<section>\n <div class=\"main\">\n <input type=\"checkbox\" id=\"chk\" aria-hidden=\"true\">\n\n <div class=\"signup\">\n <form>\n <label for=\"chk\" aria-hidden=\"true\">Login</label>\n <div class=\"d-flex justify-content-center\" style=\"gap: 5px;\">\n <div class=\"login-type\" [ngClass]=\"{'login-type__active': loginType == 'OTP'}\" (click)=\"loginType = 'OTP'\">OTP Login</div>\n <div class=\"login-type\" [ngClass]=\"{'login-type__active': loginType == 'PASSWORD'}\" (click)=\"loginType = 'PASSWORD'\">Password Login</div>\n </div>\n <ng-container *ngIf=\"loginType == 'PASSWORD'\">\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\n <div class=\"position-relative\">\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Enter Password\" required=\"\" [(ngModel)]=\"password\">\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ? 'visibility_off' : 'visibility'}}</mat-icon>\n </div>\n </ng-container>\n <ng-container *ngIf=\"loginType == 'OTP'\">\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\" [(ngModel)]=\"mobile\" (ngModelChange)=\"enterMobile()\">\n <input type=\"otp\" name=\"otp\" placeholder=\"Enter received otp\" required=\"\" [(ngModel)]=\"otp\">\n </ng-container>\n <button (click)=\"login()\" *ngIf=\"!buttonLoading\" [disabled]=\"(loginType == 'PASSWORD' ? !isEmailValid : false)\">Login</button>\n <button *ngIf=\"buttonLoading\">Loading...</button>\n </form>\n </div>\n\n <div class=\"login\">\n <form>\n <label for=\"chk\" aria-hidden=\"true\">Sign up</label>\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\" [(ngModel)]=\"mobile\" (ngModelChange)=\"sendSignupOTP()\">\n <div class=\"position-relative\">\n <input type=\"otp\" name=\"otp\" placeholder=\"OTP\" required=\"\" [(ngModel)]=\"otp\" (keypress)=\"validateOTP($event)\">\n <!-- <mat-icon style=\"color: lightgreen;\" class=\"otp-checked\" title=\"OTP Verified\" *ngIf=\"isOTPVerified\">check_circle</mat-icon>\n <mat-icon style=\"color: tomato;\" class=\"otp-checked\" title=\"OTP not Verified\" *ngIf=\"!isOTPVerified\">cancel</mat-icon> -->\n </div>\n <div class=\"position-relative\">\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Create Password\" required=\"\" [(ngModel)]=\"password\" (ngModelChange)=\"checkStrength()\">\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ? 'visibility_off' : 'visibility'}}</mat-icon>\n <div class=\"strength-bar-container\">\n <div *ngFor=\"let strength of passwordStrength; let idx = index\" class=\"strength-bar\" [style.backgroundColor]=\"getStrengthColor(idx)\"></div>\n </div>\n </div>\n <button (click)=\"createAccount()\" [disabled]=\"!isEmailValid || !isPasswordValid || (otp.length != 6)\">Sign up</button>\n </form>\n\n </div>\n </div>\n</section>\n", styles: ["section{margin:0;padding:0;display:flex;justify-content:center;align-items:center;height:100%;font-family:Jost,sans-serif;background:linear-gradient(to bottom,#0f0c29,#302b63,#24243e)}.close-icon{position:absolute;top:10px;right:10px;background-color:#fff;border-radius:50%;padding:5px;height:30px;width:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}.close-icon .mat-icon{position:absolute;top:5px;right:1px;font-size:20px}.login-type{background-color:#fff;border:#573b8a;color:#573b8a;width:130px!important;font-size:14px!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer}.login-type__active{width:150px!important;font-size:14px!important;font-weight:500!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer;font-weight:800!important;border:1px solid #573b8a}.main{width:350px;height:500px;background:red;overflow:hidden;background:url(https://doc-08-2c-docs.googleusercontent.com/docs/securesc/68c90smiglihng9534mvqmq1946dmis5/fo0picsp1nhiucmc0l25s29respgpr4j/1631524275000/03522360960922298374/03522360960922298374/1Sx0jhdpEpnNIydS4rnN4kHSJtU1EyWka?e=view&authuser=0&nonce=gcrocepgbb17m&user=03522360960922298374&hash=tfhgbs86ka6divo3llbvp93mg4csvb38) no-repeat center/ cover;border-radius:10px;box-shadow:5px 20px 50px #000}.otp-checked{position:absolute;top:7px;right:43px;font-size:20px;cursor:default!important}.password-visiblity{position:absolute;top:7px;right:43px;font-size:20px}.strength-bar-container{display:flex;justify-content:space-between;width:80%!important;margin:auto;position:relative;top:-10px}.strength-bar{height:8px;width:23.5%;border-radius:6px;background-color:#d3d3d3ba}.mat-icon{cursor:pointer}#chk{display:none}.signup{position:relative;width:100%;height:100%}label{color:#fff;font-size:2.3em;justify-content:center;display:flex;margin:50px 50px 20px;font-weight:700;cursor:pointer;transition:.5s ease-in-out}input{width:80%;height:10px;background:#e0dede;justify-content:center;display:flex;margin:20px auto;padding:18px;border:none;outline:none;border-radius:5px}button{width:80%!important;height:40px;margin:10px auto;justify-content:center;display:block;color:#fff;background:#573b8a;font-size:1em;font-weight:700;outline:none;border:none;border-radius:5px;transition:.2s ease-in;cursor:pointer}button:hover{background:#6d44b8}.login{height:460px;background:#eee;border-radius:60%/10%;transform:translateY(-180px);transition:.8s ease-in-out}.login label{color:#573b8a;transform:scale(.6)}#chk:checked~.login{transform:translateY(-500px)}#chk:checked~.login label{transform:scale(1)}#chk:checked~.signup label{transform:scale(.6)}\n"], dependencies: [{ 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: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i8.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: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i8.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: ToastModule }, { kind: "component", type: i9.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
263
+ getBgColor() {
264
+ const lighterColor = this.adjustColor(this.data?.styles?.background?.color || '#ffffff', 0);
265
+ const moreLighterColor = this.adjustColor(this.data?.styles?.background?.color || '#ffffff', 100);
266
+ return `linear-gradient(to bottom, ${this.data?.styles?.background?.color || '#ffffff'}, ${moreLighterColor}, ${lighterColor})`;
267
+ }
268
+ adjustColor(color, percent) {
269
+ let R = parseInt(color.substring(1, 3), 16);
270
+ let G = parseInt(color.substring(3, 5), 16);
271
+ let B = parseInt(color.substring(5, 7), 16);
272
+ R = Math.round(R * (1 + percent / 100));
273
+ G = Math.round(G * (1 + percent / 100));
274
+ B = Math.round(B * (1 + percent / 100));
275
+ R = Math.min(255, Math.max(0, R));
276
+ G = Math.min(255, Math.max(0, G));
277
+ B = Math.min(255, Math.max(0, B));
278
+ return `#${R.toString(16).padStart(2, '0')}${G.toString(16).padStart(2, '0')}${B.toString(16).padStart(2, '0')}`;
279
+ }
280
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AuthenticationRequiredComponent, deps: [{ token: i1.RestService }, { token: i2.Router }, { token: i3.MessageService }, { token: i4.StorageServiceService }, { token: i5.MatDialog }, { token: MAT_DIALOG_DATA, optional: true }, { token: i5.MatDialogRef, optional: true }, { token: i6.MatBottomSheetRef, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
281
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: AuthenticationRequiredComponent, isStandalone: true, selector: "simpo-authentication-required", inputs: { data: "data", index: "index", edit: "edit", delete: "delete" }, providers: [MessageService], usesInheritance: true, ngImport: i0, template: "<p-toast position=\"bottom-right\" [baseZIndex]=\"10000000000\" [autoZIndex]=\"true\"\r\n [showTransformOptions]=\"isMobile ? 'translateY(-100%)' : ''\"></p-toast>\r\n<div class=\"close-icon\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n</div>\r\n<section class=\"total-container\" simpoHover (hovering)=\"showEditTabs($event)\">\r\n <section class=\"main-section\">\r\n <div class=\"main\" [style.background]=\"getBgColor()\">\r\n <input type=\"checkbox\" id=\"chk\" aria-hidden=\"true\">\r\n\r\n <div class=\"signup\">\r\n <form>\r\n <label for=\"chk\" aria-hidden=\"true\" [simpoColor]=\"data?.styles?.background?.color\">Login</label>\r\n <div class=\"d-flex justify-content-center\" style=\"gap: 5px;\">\r\n <div class=\"login-type\" [style.color]=\"data?.styles?.background?.accentColor\" [style.borderColor]=\"loginType == 'OTP' ? data?.styles?.background?.accentColor : ''\" [ngClass]=\"{'login-type__active': loginType == 'OTP'}\" (click)=\"loginType = 'OTP'\">\r\n OTP Login</div>\r\n <div class=\"login-type\" [style.color]=\"data?.styles?.background?.accentColor\" [style.borderColor]=\"loginType == 'OTP' ? data?.styles?.background?.accentColor : ''\" [ngClass]=\"{'login-type__active': loginType == 'PASSWORD'}\"\r\n (click)=\"loginType = 'PASSWORD'\">Password Login</div>\r\n </div>\r\n <ng-container *ngIf=\"loginType == 'PASSWORD'\">\r\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\r\n <div class=\"position-relative\">\r\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Enter Password\"\r\n required=\"\" [(ngModel)]=\"password\">\r\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ?\r\n 'visibility_off' : 'visibility'}}</mat-icon>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"loginType == 'OTP'\">\r\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\"\r\n [(ngModel)]=\"mobile\" (ngModelChange)=\"enterMobile()\">\r\n <input type=\"otp\" name=\"otp\" placeholder=\"Enter received otp\" required=\"\" [(ngModel)]=\"otp\">\r\n </ng-container>\r\n <button (click)=\"login()\" simpoButtonDirective [buttonStyle]=\"loginButton?.styles\"\r\n [color]=\"data?.styles?.background?.accentColor\" *ngIf=\"!buttonLoading\" [id]=\"(data?.id || '')+(loginButton?.id || '')\"\r\n [disabled]=\"(loginType == 'PASSWORD' ? !isEmailValid : false)\">Log in</button>\r\n <button *ngIf=\"buttonLoading\">Loading...</button>\r\n </form>\r\n </div>\r\n\r\n <div class=\"login\">\r\n <form>\r\n <label for=\"chk\" aria-hidden=\"true\" [style.color]=\"data?.styles?.background?.color\">Sign up</label>\r\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\r\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\"\r\n [(ngModel)]=\"mobile\" (ngModelChange)=\"sendSignupOTP()\">\r\n <div class=\"position-relative\">\r\n <input type=\"otp\" name=\"otp\" placeholder=\"OTP\" required=\"\" [(ngModel)]=\"otp\"\r\n (keypress)=\"validateOTP($event)\">\r\n <!-- <mat-icon style=\"color: lightgreen;\" class=\"otp-checked\" title=\"OTP Verified\" *ngIf=\"isOTPVerified\">check_circle</mat-icon>\r\n <mat-icon style=\"color: tomato;\" class=\"otp-checked\" title=\"OTP not Verified\" *ngIf=\"!isOTPVerified\">cancel</mat-icon> -->\r\n </div>\r\n <div class=\"position-relative\">\r\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Create Password\"\r\n required=\"\" [(ngModel)]=\"password\" (ngModelChange)=\"checkStrength()\">\r\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ?\r\n 'visibility_off' : 'visibility'}}</mat-icon>\r\n <div class=\"strength-bar-container\">\r\n <div *ngFor=\"let strength of passwordStrength; let idx = index\" class=\"strength-bar\"\r\n [style.backgroundColor]=\"getStrengthColor(idx)\"></div>\r\n </div>\r\n </div>\r\n <button (click)=\"createAccount()\" simpoButtonDirective [buttonStyle]=\"signUpButton?.styles\"\r\n [color]=\"data?.styles?.background?.accentColor\" [id]=\"(data?.id || '')+(signUpButton?.id || '')\"\r\n [disabled]=\"!isEmailValid || !isPasswordValid || (otp.length != 6)\">Sign up</button>\r\n </form>\r\n\r\n </div>\r\n </div>\r\n </section>\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\r\n</section>\r\n", styles: [".main-section{margin:0;padding:0;display:flex;justify-content:center;align-items:center;height:100%;font-family:Jost,sans-serif}.close-icon{position:absolute;top:10px;right:10px;background-color:#fff;border-radius:50%;padding:5px;height:30px;width:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}.close-icon .mat-icon{position:absolute;top:5px;right:1px;font-size:20px}.login-type{background-color:#fff;border:#573b8a;color:#573b8a;width:130px!important;font-size:14px!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer}.login-type__active{width:150px!important;font-size:14px!important;font-weight:500!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer;font-weight:800!important;border:1px solid #573b8a}.main{width:350px;height:500px;overflow:hidden;border-radius:10px;box-shadow:5px 20px 50px #000}.otp-checked{position:absolute;top:7px;right:43px;font-size:20px;cursor:default!important}.password-visiblity{position:absolute;top:7px;right:43px;font-size:20px}.strength-bar-container{display:flex;justify-content:space-between;width:80%!important;margin:auto;position:relative;top:-10px}.strength-bar{height:8px;width:23.5%;border-radius:6px;background-color:#d3d3d3ba}.mat-icon{cursor:pointer}#chk{display:none}.signup{position:relative;width:100%;height:100%}label{color:#fff;font-size:2.3em;justify-content:center;display:flex;margin:50px 50px 20px;font-weight:700;cursor:pointer;transition:.5s ease-in-out}input{width:80%;height:10px;background:#e0dede;justify-content:center;display:flex;margin:20px auto;padding:18px;border:none;outline:none;border-radius:5px}button{width:80%!important;height:40px;margin:10px auto;justify-content:center;display:block;color:#fff;background:#573b8a;font-size:1em;font-weight:700;outline:none;border:none;border-radius:5px;transition:.2s ease-in;cursor:pointer}button:hover{background:#6d44b8}.login{height:460px;background:#eee;border-radius:60%/10%;transform:translateY(-180px);transition:.8s ease-in-out}.login label{color:#573b8a;transform:scale(.6)}#chk:checked~.login{transform:translateY(-500px)}#chk:checked~.login label{transform:scale(1)}#chk:checked~.signup label{transform:scale(.6)}.total-container{position:relative;height:auto}\n"], dependencies: [{ 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: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i8.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: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i8.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: ToastModule }, { kind: "component", type: i9.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: ColorDirective, selector: "[simpoColor]", inputs: ["simpoColor"] }, { kind: "directive", type: ButtonDirectiveDirective, selector: "[simpoButtonDirective]", inputs: ["buttonStyle", "color", "scrollValue"] }, { kind: "directive", type: HoverDirective, selector: "[simpoHover]", outputs: ["hovering"] }, { kind: "ngmodule", type: SimpoComponentModule }, { kind: "component", type: i11.HoverElementsComponent, selector: "simpo-hover-elements", inputs: ["data", "index", "editOptions", "isMerged", "isEcommerce"], outputs: ["edit"] }, { kind: "component", type: i12.DeleteHoverElementComponent, selector: "simpo-delete-hover-element", inputs: ["index", "data"], outputs: ["edit"] }] }); }
248
282
  }
249
283
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: AuthenticationRequiredComponent, decorators: [{
250
284
  type: Component,
@@ -252,11 +286,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
252
286
  CommonModule,
253
287
  FormsModule,
254
288
  ToastModule,
255
- MatIconModule
256
- ], providers: [MessageService], template: "\n<p-toast position=\"bottom-right\" [baseZIndex]=\"10000000000\" [autoZIndex]=\"true\"\n [showTransformOptions]=\"isMobile ? 'translateY(-100%)' : ''\"></p-toast>\n<div class=\"close-icon\" (click)=\"close()\">\n <mat-icon>close</mat-icon>\n</div>\n<section>\n <div class=\"main\">\n <input type=\"checkbox\" id=\"chk\" aria-hidden=\"true\">\n\n <div class=\"signup\">\n <form>\n <label for=\"chk\" aria-hidden=\"true\">Login</label>\n <div class=\"d-flex justify-content-center\" style=\"gap: 5px;\">\n <div class=\"login-type\" [ngClass]=\"{'login-type__active': loginType == 'OTP'}\" (click)=\"loginType = 'OTP'\">OTP Login</div>\n <div class=\"login-type\" [ngClass]=\"{'login-type__active': loginType == 'PASSWORD'}\" (click)=\"loginType = 'PASSWORD'\">Password Login</div>\n </div>\n <ng-container *ngIf=\"loginType == 'PASSWORD'\">\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\n <div class=\"position-relative\">\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Enter Password\" required=\"\" [(ngModel)]=\"password\">\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ? 'visibility_off' : 'visibility'}}</mat-icon>\n </div>\n </ng-container>\n <ng-container *ngIf=\"loginType == 'OTP'\">\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\" [(ngModel)]=\"mobile\" (ngModelChange)=\"enterMobile()\">\n <input type=\"otp\" name=\"otp\" placeholder=\"Enter received otp\" required=\"\" [(ngModel)]=\"otp\">\n </ng-container>\n <button (click)=\"login()\" *ngIf=\"!buttonLoading\" [disabled]=\"(loginType == 'PASSWORD' ? !isEmailValid : false)\">Login</button>\n <button *ngIf=\"buttonLoading\">Loading...</button>\n </form>\n </div>\n\n <div class=\"login\">\n <form>\n <label for=\"chk\" aria-hidden=\"true\">Sign up</label>\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\" [(ngModel)]=\"mobile\" (ngModelChange)=\"sendSignupOTP()\">\n <div class=\"position-relative\">\n <input type=\"otp\" name=\"otp\" placeholder=\"OTP\" required=\"\" [(ngModel)]=\"otp\" (keypress)=\"validateOTP($event)\">\n <!-- <mat-icon style=\"color: lightgreen;\" class=\"otp-checked\" title=\"OTP Verified\" *ngIf=\"isOTPVerified\">check_circle</mat-icon>\n <mat-icon style=\"color: tomato;\" class=\"otp-checked\" title=\"OTP not Verified\" *ngIf=\"!isOTPVerified\">cancel</mat-icon> -->\n </div>\n <div class=\"position-relative\">\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Create Password\" required=\"\" [(ngModel)]=\"password\" (ngModelChange)=\"checkStrength()\">\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ? 'visibility_off' : 'visibility'}}</mat-icon>\n <div class=\"strength-bar-container\">\n <div *ngFor=\"let strength of passwordStrength; let idx = index\" class=\"strength-bar\" [style.backgroundColor]=\"getStrengthColor(idx)\"></div>\n </div>\n </div>\n <button (click)=\"createAccount()\" [disabled]=\"!isEmailValid || !isPasswordValid || (otp.length != 6)\">Sign up</button>\n </form>\n\n </div>\n </div>\n</section>\n", styles: ["section{margin:0;padding:0;display:flex;justify-content:center;align-items:center;height:100%;font-family:Jost,sans-serif;background:linear-gradient(to bottom,#0f0c29,#302b63,#24243e)}.close-icon{position:absolute;top:10px;right:10px;background-color:#fff;border-radius:50%;padding:5px;height:30px;width:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}.close-icon .mat-icon{position:absolute;top:5px;right:1px;font-size:20px}.login-type{background-color:#fff;border:#573b8a;color:#573b8a;width:130px!important;font-size:14px!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer}.login-type__active{width:150px!important;font-size:14px!important;font-weight:500!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer;font-weight:800!important;border:1px solid #573b8a}.main{width:350px;height:500px;background:red;overflow:hidden;background:url(https://doc-08-2c-docs.googleusercontent.com/docs/securesc/68c90smiglihng9534mvqmq1946dmis5/fo0picsp1nhiucmc0l25s29respgpr4j/1631524275000/03522360960922298374/03522360960922298374/1Sx0jhdpEpnNIydS4rnN4kHSJtU1EyWka?e=view&authuser=0&nonce=gcrocepgbb17m&user=03522360960922298374&hash=tfhgbs86ka6divo3llbvp93mg4csvb38) no-repeat center/ cover;border-radius:10px;box-shadow:5px 20px 50px #000}.otp-checked{position:absolute;top:7px;right:43px;font-size:20px;cursor:default!important}.password-visiblity{position:absolute;top:7px;right:43px;font-size:20px}.strength-bar-container{display:flex;justify-content:space-between;width:80%!important;margin:auto;position:relative;top:-10px}.strength-bar{height:8px;width:23.5%;border-radius:6px;background-color:#d3d3d3ba}.mat-icon{cursor:pointer}#chk{display:none}.signup{position:relative;width:100%;height:100%}label{color:#fff;font-size:2.3em;justify-content:center;display:flex;margin:50px 50px 20px;font-weight:700;cursor:pointer;transition:.5s ease-in-out}input{width:80%;height:10px;background:#e0dede;justify-content:center;display:flex;margin:20px auto;padding:18px;border:none;outline:none;border-radius:5px}button{width:80%!important;height:40px;margin:10px auto;justify-content:center;display:block;color:#fff;background:#573b8a;font-size:1em;font-weight:700;outline:none;border:none;border-radius:5px;transition:.2s ease-in;cursor:pointer}button:hover{background:#6d44b8}.login{height:460px;background:#eee;border-radius:60%/10%;transform:translateY(-180px);transition:.8s ease-in-out}.login label{color:#573b8a;transform:scale(.6)}#chk:checked~.login{transform:translateY(-500px)}#chk:checked~.login label{transform:scale(1)}#chk:checked~.signup label{transform:scale(.6)}\n"] }]
257
- }], ctorParameters: () => [{ type: i1.RestService }, { type: i2.Router }, { type: i3.MessageService }, { type: i4.StorageServiceService }, { type: i5.MatDialog }, { type: i5.MatDialogRef, decorators: [{
289
+ MatIconModule,
290
+ ColorDirective,
291
+ ButtonDirectiveDirective,
292
+ HoverDirective,
293
+ SimpoComponentModule
294
+ ], providers: [MessageService], template: "<p-toast position=\"bottom-right\" [baseZIndex]=\"10000000000\" [autoZIndex]=\"true\"\r\n [showTransformOptions]=\"isMobile ? 'translateY(-100%)' : ''\"></p-toast>\r\n<div class=\"close-icon\" (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n</div>\r\n<section class=\"total-container\" simpoHover (hovering)=\"showEditTabs($event)\">\r\n <section class=\"main-section\">\r\n <div class=\"main\" [style.background]=\"getBgColor()\">\r\n <input type=\"checkbox\" id=\"chk\" aria-hidden=\"true\">\r\n\r\n <div class=\"signup\">\r\n <form>\r\n <label for=\"chk\" aria-hidden=\"true\" [simpoColor]=\"data?.styles?.background?.color\">Login</label>\r\n <div class=\"d-flex justify-content-center\" style=\"gap: 5px;\">\r\n <div class=\"login-type\" [style.color]=\"data?.styles?.background?.accentColor\" [style.borderColor]=\"loginType == 'OTP' ? data?.styles?.background?.accentColor : ''\" [ngClass]=\"{'login-type__active': loginType == 'OTP'}\" (click)=\"loginType = 'OTP'\">\r\n OTP Login</div>\r\n <div class=\"login-type\" [style.color]=\"data?.styles?.background?.accentColor\" [style.borderColor]=\"loginType == 'OTP' ? data?.styles?.background?.accentColor : ''\" [ngClass]=\"{'login-type__active': loginType == 'PASSWORD'}\"\r\n (click)=\"loginType = 'PASSWORD'\">Password Login</div>\r\n </div>\r\n <ng-container *ngIf=\"loginType == 'PASSWORD'\">\r\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\r\n <div class=\"position-relative\">\r\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Enter Password\"\r\n required=\"\" [(ngModel)]=\"password\">\r\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ?\r\n 'visibility_off' : 'visibility'}}</mat-icon>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"loginType == 'OTP'\">\r\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\"\r\n [(ngModel)]=\"mobile\" (ngModelChange)=\"enterMobile()\">\r\n <input type=\"otp\" name=\"otp\" placeholder=\"Enter received otp\" required=\"\" [(ngModel)]=\"otp\">\r\n </ng-container>\r\n <button (click)=\"login()\" simpoButtonDirective [buttonStyle]=\"loginButton?.styles\"\r\n [color]=\"data?.styles?.background?.accentColor\" *ngIf=\"!buttonLoading\" [id]=\"(data?.id || '')+(loginButton?.id || '')\"\r\n [disabled]=\"(loginType == 'PASSWORD' ? !isEmailValid : false)\">Log in</button>\r\n <button *ngIf=\"buttonLoading\">Loading...</button>\r\n </form>\r\n </div>\r\n\r\n <div class=\"login\">\r\n <form>\r\n <label for=\"chk\" aria-hidden=\"true\" [style.color]=\"data?.styles?.background?.color\">Sign up</label>\r\n <input type=\"email\" name=\"email\" placeholder=\"Email\" required=\"\" [(ngModel)]=\"email\">\r\n <input type=\"mobile\" name=\"mobile\" placeholder=\"Mobile\" required=\"\" (keypress)=\"validateNumber($event)\"\r\n [(ngModel)]=\"mobile\" (ngModelChange)=\"sendSignupOTP()\">\r\n <div class=\"position-relative\">\r\n <input type=\"otp\" name=\"otp\" placeholder=\"OTP\" required=\"\" [(ngModel)]=\"otp\"\r\n (keypress)=\"validateOTP($event)\">\r\n <!-- <mat-icon style=\"color: lightgreen;\" class=\"otp-checked\" title=\"OTP Verified\" *ngIf=\"isOTPVerified\">check_circle</mat-icon>\r\n <mat-icon style=\"color: tomato;\" class=\"otp-checked\" title=\"OTP not Verified\" *ngIf=\"!isOTPVerified\">cancel</mat-icon> -->\r\n </div>\r\n <div class=\"position-relative\">\r\n <input [type]=\"passwordHidden ? 'password' : 'text'\" name=\"password\" placeholder=\"Create Password\"\r\n required=\"\" [(ngModel)]=\"password\" (ngModelChange)=\"checkStrength()\">\r\n <mat-icon class=\"password-visiblity\" (click)=\"passwordHidden = !passwordHidden\">{{passwordHidden ?\r\n 'visibility_off' : 'visibility'}}</mat-icon>\r\n <div class=\"strength-bar-container\">\r\n <div *ngFor=\"let strength of passwordStrength; let idx = index\" class=\"strength-bar\"\r\n [style.backgroundColor]=\"getStrengthColor(idx)\"></div>\r\n </div>\r\n </div>\r\n <button (click)=\"createAccount()\" simpoButtonDirective [buttonStyle]=\"signUpButton?.styles\"\r\n [color]=\"data?.styles?.background?.accentColor\" [id]=\"(data?.id || '')+(signUpButton?.id || '')\"\r\n [disabled]=\"!isEmailValid || !isPasswordValid || (otp.length != 6)\">Sign up</button>\r\n </form>\r\n\r\n </div>\r\n </div>\r\n </section>\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\r\n</section>\r\n", styles: [".main-section{margin:0;padding:0;display:flex;justify-content:center;align-items:center;height:100%;font-family:Jost,sans-serif}.close-icon{position:absolute;top:10px;right:10px;background-color:#fff;border-radius:50%;padding:5px;height:30px;width:30px;display:flex;align-items:center;justify-content:center;cursor:pointer}.close-icon .mat-icon{position:absolute;top:5px;right:1px;font-size:20px}.login-type{background-color:#fff;border:#573b8a;color:#573b8a;width:130px!important;font-size:14px!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer}.login-type__active{width:150px!important;font-size:14px!important;font-weight:500!important;padding:5px;border-radius:5px;display:flex;justify-content:center;cursor:pointer;font-weight:800!important;border:1px solid #573b8a}.main{width:350px;height:500px;overflow:hidden;border-radius:10px;box-shadow:5px 20px 50px #000}.otp-checked{position:absolute;top:7px;right:43px;font-size:20px;cursor:default!important}.password-visiblity{position:absolute;top:7px;right:43px;font-size:20px}.strength-bar-container{display:flex;justify-content:space-between;width:80%!important;margin:auto;position:relative;top:-10px}.strength-bar{height:8px;width:23.5%;border-radius:6px;background-color:#d3d3d3ba}.mat-icon{cursor:pointer}#chk{display:none}.signup{position:relative;width:100%;height:100%}label{color:#fff;font-size:2.3em;justify-content:center;display:flex;margin:50px 50px 20px;font-weight:700;cursor:pointer;transition:.5s ease-in-out}input{width:80%;height:10px;background:#e0dede;justify-content:center;display:flex;margin:20px auto;padding:18px;border:none;outline:none;border-radius:5px}button{width:80%!important;height:40px;margin:10px auto;justify-content:center;display:block;color:#fff;background:#573b8a;font-size:1em;font-weight:700;outline:none;border:none;border-radius:5px;transition:.2s ease-in;cursor:pointer}button:hover{background:#6d44b8}.login{height:460px;background:#eee;border-radius:60%/10%;transform:translateY(-180px);transition:.8s ease-in-out}.login label{color:#573b8a;transform:scale(.6)}#chk:checked~.login{transform:translateY(-500px)}#chk:checked~.login label{transform:scale(1)}#chk:checked~.signup label{transform:scale(.6)}.total-container{position:relative;height:auto}\n"] }]
295
+ }], ctorParameters: () => [{ type: i1.RestService }, { type: i2.Router }, { type: i3.MessageService }, { type: i4.StorageServiceService }, { type: i5.MatDialog }, { type: undefined, decorators: [{
296
+ type: Optional
297
+ }, {
298
+ type: Inject,
299
+ args: [MAT_DIALOG_DATA]
300
+ }] }, { type: i5.MatDialogRef, decorators: [{
258
301
  type: Optional
259
302
  }] }, { type: i6.MatBottomSheetRef, decorators: [{
260
303
  type: Optional
261
- }] }] });
262
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRpb24tcmVxdWlyZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvYXV0aGVudGljYXRpb24tcmVxdWlyZWQvYXV0aGVudGljYXRpb24tcmVxdWlyZWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvYXV0aGVudGljYXRpb24tcmVxdWlyZWQvYXV0aGVudGljYXRpb24tcmVxdWlyZWQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3BELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQk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AndmlzaWJpbGl0eV9vZmYnIDogJ3Zpc2liaWxpdHknfX08L21hdC1pY29uPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInN0cmVuZ3RoLWJhci1jb250YWluZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICpuZ0Zvcj1cImxldCBzdHJlbmd0aCBvZiBwYXNzd29yZFN0cmVuZ3RoOyBsZXQgaWR4ID0gaW5kZXhcIiBjbGFzcz1cInN0cmVuZ3RoLWJhclwiIFtzdHlsZS5iYWNrZ3JvdW5kQ29sb3JdPVwiZ2V0U3RyZW5ndGhDb2xvcihpZHgpXCI+PC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gKGNsaWNrKT1cImNyZWF0ZUFjY291bnQoKVwiIFtkaXNhYmxlZF09XCIhaXNFbWFpbFZhbGlkIHx8ICFpc1Bhc3N3b3JkVmFsaWQgfHwgKG90cC5sZW5ndGggIT0gNilcIj5TaWduIHVwPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9mb3JtPlxuXG4gICAgICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvc2VjdGlvbj5cbiJdfQ==
304
+ }] }], propDecorators: { data: [{
305
+ type: Input
306
+ }], index: [{
307
+ type: Input
308
+ }], edit: [{
309
+ type: Input
310
+ }], delete: [{
311
+ type: Input
312
+ }] } });
313
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRpb24tcmVxdWlyZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvYXV0aGVudGljYX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