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GAAyB;MAAzBA,wDAAAA,8BAAyB;MAEvDA,uDAAAA,GAAkB;MAAlBA,wDAAAA,0BAAkB;MASuBA,uDAAAA,GAAmB;MAAnBA,wDAAAA,2BAAmB;MAIQA,uDAAAA,GAAkB;MAAlBA,wDAAAA,0BAAkB;MAI7CA,uDAAAA,GAAkB;MAAlBA,wDAAAA,0BAAkB","sources":["./src/app/modules/end-user/end-user-routing.module.ts","./src/app/modules/end-user/end-user.component.ts","./src/app/modules/end-user/end-user.component.html","./src/app/modules/end-user/end-user.module.ts","./src/app/modules/end-user/guest-login/guest-login.component.ts","./src/app/modules/end-user/guest-login/guest-login.component.html","./src/app/modules/end-user/request-free-store/request-free-store.component.ts","./src/app/modules/end-user/request-free-store/request-free-store.component.html","./src/app/modules/end-user/team-store/team-store.component.ts","./src/app/modules/end-user/team-store/team-store.component.html","./src/app/modules/end-user/user-forgot-password/user-forgot-password.component.ts","./src/app/modules/end-user/user-forgot-password/user-forgot-password.component.html","./src/app/modules/end-user/user-login/user-login.component.ts","./src/app/modules/end-user/user-login/user-login.component.html","./src/app/modules/end-user/user-registration/user-registration.component.ts","./src/app/modules/end-user/user-registration/user-registration.component.html"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { EndUserComponent } from './end-user.component';\r\n\r\nimport { UserRegistrationComponent } from './user-registration/user-registration.component';\r\nimport { RequestFreeStoreComponent } from './request-free-store/request-free-store.component';\r\nimport { UserLoginComponent } from './user-login/user-login.component';\r\nimport { TeamStoreComponent } from './team-store/team-store.component';\r\nimport { UserForgotPasswordComponent } from './user-forgot-password/user-forgot-password.component';\r\nimport { CartComponent } from 'src/app/shared/cart/cart.component';\r\nimport { GuestLoginComponent } from './guest-login/guest-login.component';\r\nimport { OrderDetailsComponent } from 'src/app/shared/order-details/order-details.component';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '', component: EndUserComponent, children: [\r\n { path: 'signup', component: UserRegistrationComponent, pathMatch: 'full' },\r\n { path: 'forgot', component: UserForgotPasswordComponent, pathMatch: 'full' },\r\n { path: 'login', component: UserLoginComponent, pathMatch: 'full' },\r\n { path: 'guest-login', component: GuestLoginComponent, pathMatch: 'full' },\r\n { path: 'cart', component: CartComponent, pathMatch: 'full' },\r\n { path: 'requestfreestore', component: RequestFreeStoreComponent, pathMatch: 'full' },\r\n { path: 'teamstore', component: TeamStoreComponent, pathMatch: 'full' },\r\n {\r\n path: 'products',\r\n loadChildren: () => import('./products/products.module').then(m => m.ProductsModule)\r\n },\r\n {\r\n path: 'buyfromlivestore',\r\n loadChildren: () => import('./buy-from-live-store/buy-from-live-store.module').then(m => m.BuyFromLiveStoreModule)\r\n },\r\n {\r\n path: 'buildownstore',\r\n loadChildren: () => import('./build-own-store/build-own-store.module').then(m => m.BuildOwnStoreModule)\r\n },\r\n {\r\n path: 'suggestedtemplate',\r\n loadChildren: () => import('./suggested-template/suggested-template.module').then(m => m.SuggestedTemplateModule)\r\n },\r\n {\r\n path: 'useraccount',\r\n loadChildren: () => import('./user-account/user-account.module').then(m => m.UserAccountModule)\r\n },\r\n {\r\n path: 'directpurchase',\r\n loadChildren: () => import('./direct-purchase/direct-purchase.module').then(m => m.DirectPurchaseModule)\r\n },\r\n {\r\n path: 'request-store',\r\n loadChildren: () => import('./store-request/store-request.module').then(m => m.StoreRequestModule)\r\n },\r\n { path: 'bulkOrderDetails/:refId', component: OrderDetailsComponent, pathMatch: 'full' },\r\n\r\n ]\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class EndUserRoutingModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthenticationService } from 'src/app/core/services/authentication.service';\r\nimport { CommonService } from 'src/app/core/services/common.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-end-user',\r\n templateUrl: './end-user.component.html',\r\n styleUrls: ['./end-user.component.scss']\r\n})\r\nexport class EndUserComponent implements OnInit {\r\n\r\n constructor(\r\n private authService: AuthenticationService,\r\n private router: Router,\r\n private commonService: CommonService,\r\n ) { }\r\n\r\n loading = false\r\n\r\n ngOnInit() {\r\n window.addEventListener(\"message\", (event) => {\r\n if (event.origin !== environment.wpUrl.substr(0,environment.wpUrl.length-1))\r\n return;\r\n\r\n if (event.data === 'logout'){\r\n this.authService.logout({ token: localStorage.getItem('token'), refreshToken: localStorage.getItem('refreshToken') })\r\n .subscribe(res => {\r\n this.router.navigateByUrl('/enduser/login')\r\n })\r\n } else if(event.data.message && event.data.message == 'user found'){\r\n \r\n }\r\n }, false);\r\n this.commonService.loading$.subscribe((res) => {\r\n this.loading = res;\r\n });\r\n }\r\n\r\n}\r\n","\r\n \r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { SharedModule } from '../../shared/shared.module';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { MatLegacyAutocompleteModule as MatAutocompleteModule } from \"@angular/material/legacy-autocomplete\";\r\nimport { MatLegacyCheckboxModule as MatCheckboxModule } from \"@angular/material/legacy-checkbox\";\r\nimport { MatLegacyFormFieldModule as MatFormFieldModule } from \"@angular/material/legacy-form-field\";\r\n\r\nimport { MatToolbarModule } from \"@angular/material/toolbar\";\r\nimport { MatLegacyCardModule as MatCardModule } from \"@angular/material/legacy-card\";\r\nimport { MatLegacyTableModule as MatTableModule } from \"@angular/material/legacy-table\";\r\nimport { MatLegacyInputModule as MatInputModule } from \"@angular/material/legacy-input\";\r\nimport { MatDatepickerModule } from \"@angular/material/datepicker\";\r\nimport { MatNativeDateModule } from \"@angular/material/core\";\r\nimport { MatIconModule } from \"@angular/material/icon\";\r\nimport { MatGridListModule } from \"@angular/material/grid-list\";\r\nimport { MatLegacyRadioModule as MatRadioModule } from \"@angular/material/legacy-radio\";\r\nimport { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select';\r\nimport { ReactiveFormsModule } from \"@angular/forms\";\r\nimport { CalendarModule, DateAdapter } from \"angular-calendar\";\r\nimport { adapterFactory } from \"angular-calendar/date-adapters/date-fns\";\r\nimport { ColorPickerModule } from 'ngx-color-picker';\r\nimport { MatDividerModule } from '@angular/material/divider';\r\nimport { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';\r\nimport { MatLegacyListModule as MatListModule } from '@angular/material/legacy-list';\r\n\r\nimport { EndUserRoutingModule } from './end-user-routing.module';\r\nimport { EndUserComponent } from './end-user.component';\r\nimport { RequestFreeStoreComponent } from './request-free-store/request-free-store.component';\r\nimport { UserLoginComponent } from './user-login/user-login.component';\r\nimport { UserRegistrationComponent } from './user-registration/user-registration.component';\r\nimport { TeamStoreComponent } from './team-store/team-store.component';\r\nimport { UserForgotPasswordComponent } from './user-forgot-password/user-forgot-password.component';\r\nimport { GuestLoginComponent } from './guest-login/guest-login.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n EndUserComponent,\r\n RequestFreeStoreComponent,\r\n UserLoginComponent,\r\n UserRegistrationComponent,\r\n TeamStoreComponent,\r\n UserForgotPasswordComponent,\r\n GuestLoginComponent\r\n ],\r\n imports: [\r\n SharedModule,\r\n CommonModule,\r\n EndUserRoutingModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n ReactiveFormsModule,\r\n MatCardModule,\r\n MatFormFieldModule,\r\n MatInputModule,\r\n MatToolbarModule,\r\n MatCardModule,\r\n MatTableModule,\r\n MatInputModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n MatIconModule,\r\n MatGridListModule,\r\n MatRadioModule,\r\n MatSelectModule,\r\n MatButtonModule,\r\n ReactiveFormsModule,\r\n CalendarModule.forRoot({\r\n provide: DateAdapter,\r\n useFactory: adapterFactory,\r\n }),\r\n MatAutocompleteModule,\r\n MatCheckboxModule,\r\n ColorPickerModule,\r\n MatDividerModule,\r\n MatListModule\r\n ]\r\n})\r\nexport class EndUserModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { AuthenticationService } from 'src/app/core/services/authentication.service';\r\nimport { CommonService } from 'src/app/core/services/common.service';\r\nimport Swal from 'sweetalert2';\r\n\r\n@Component({\r\n selector: 'app-guest-login',\r\n templateUrl: './guest-login.component.html',\r\n styleUrls: ['./guest-login.component.scss']\r\n})\r\nexport class GuestLoginComponent implements OnInit {\r\n\r\n constructor(\r\n private fb: UntypedFormBuilder,\r\n private loginService: AuthenticationService,\r\n private commonService: CommonService,\r\n private router: Router\r\n ) { }\r\n\r\n emailPattern: string = \"^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Za-z]{2,}$\";\r\n loginForm: UntypedFormGroup\r\n user\r\n inputText: string = '';\r\n ngOnInit() {\r\n this.createLoginForm()\r\n }\r\n onInputChange(){ \r\n this.loginForm.value.email=this.inputText.toLowerCase();\r\n this.inputText=this.loginForm.value.email \r\n }\r\n signUp() {\r\n this.router.navigateByUrl('enduser/signup' + '?isGuest=true')\r\n }\r\n\r\n createLoginForm() {\r\n this.loginForm = this.fb.group({\r\n email: ['', [Validators.required, Validators.pattern(this.emailPattern)]],\r\n password: ['', Validators.required]\r\n })\r\n }\r\n\r\n submitEmail() {\r\n if (this.loginForm.get('email').valid) {\r\n this.loginService.validateUser(this.loginForm.value.email).subscribe(res => {\r\n if (res.data.isUserVerified) {\r\n this.router.navigateByUrl('enduser/login' + '?email=' + this.loginForm.value.email)\r\n } else {\r\n this.user = res.data\r\n window.parent.postMessage(res.data, \"*\");\r\n window.top.postMessage(\"cart count-\" + res.data.cartTotal, \"*\");\r\n }\r\n })\r\n } else {\r\n this.commonService.openErrorSnackBar(\"Please enter a valid email\", \"\")\r\n }\r\n }\r\n\r\n cancelEmail() {\r\n Swal.fire({\r\n icon: 'warning',\r\n text: `We need an email address to create your cart`,\r\n cancelButtonText: 'Go back without email',\r\n confirmButtonText: 'Continue with email',\r\n showCancelButton: true,\r\n reverseButtons: true\r\n }).then(res => {\r\n if (!res.isConfirmed) {\r\n window.parent.postMessage(\"action - \", \"*\");\r\n this.closePopup()\r\n }\r\n })\r\n }\r\n\r\n closePopup() {\r\n window.parent.postMessage(\"close popup\", \"*\");\r\n console.log(\"angular close popup\")\r\n }\r\n\r\n}\r\n","

\r\n
\r\n \r\n
\r\n \r\n

\r\n

Can we get your email to continue?

\r\n \r\n Email\r\n \r\n \r\n Email is required\r\n \r\n \r\n Please enter a valid email address\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n OK\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n

\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { FormArray, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { add } from 'date-fns';\r\nimport { Button } from 'selenium-webdriver';\r\nimport { CommonService } from 'src/app/core/services/common.service';\r\nimport { EnduserService } from 'src/app/core/services/enduser.service';\r\nimport { ProductService } from 'src/app/core/services/product.service';\r\nimport { StoreService } from 'src/app/core/services/store.service';\r\nimport { UserService } from 'src/app/core/services/user.service';\r\nimport { SharedService } from 'src/app/core/services/shared.service';\r\nimport Swal from 'sweetalert2'\r\n\r\nlet moment = require('moment');\r\ndeclare var $: any;\r\n\r\n@Component({\r\n selector: 'app-request-free-store',\r\n templateUrl: './request-free-store.component.html',\r\n styleUrls: ['../end-user.component.scss', './request-free-store.component.scss']\r\n})\r\nexport class RequestFreeStoreComponent implements OnInit {\r\n storeRequestForm: UntypedFormGroup;\r\n organizationForm: UntypedFormGroup;\r\n userId: string;\r\n token: string;\r\n loading: boolean;\r\n data: any = {};\r\n colorArray: any[] = [];\r\n organizationArray: any[] = [];\r\n organization: any;\r\n organisationObj: any;\r\n organizationAddress: any;\r\n currentDate: any;\r\n logoToUpload: File = null;\r\n artToUpload: File = null;\r\n categoryList: any[] = [];\r\n departmentArray: any[] = [];\r\n userInfo: any;\r\n stateArray: any[] = [];\r\n newOrgArray: any[] = []\r\n primaryColors: any;\r\n secondaryColors: any;\r\n tertiaryColors: any;\r\n public emailPattern = \"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\\\.[a-zA-Z]{2,}$\";\r\n public phonePattern = \"^\\\\([0-9]{3}\\\\)\\\\s[0-9]{3}\\\\-[0-9]{4}$\"\r\n storeForArray = [\r\n { description: 'SCHOOL', value: 'SCHOOL' },\r\n { description: \"TEAM\", value: 'TEAM' },\r\n { description: \"BUSINESS\", value: 'BUSINESS' },\r\n { description: \"EVENT\", value: 'EVENT' },\r\n { description: \"OTHER\", value: 'OTHER' }\r\n ];\r\n storeIsFor: string[] = []\r\n institutionTypeArray: any[] = [];\r\n marketGroupArray: any[] = []\r\n marketsArray: any[] = []\r\n\r\n constructor(private userService: UserService,\r\n private endUserService: EnduserService,\r\n private formBuilder: UntypedFormBuilder,\r\n private storeService: StoreService,\r\n private commonService: CommonService,\r\n private productService: ProductService,\r\n private sharedService: SharedService,\r\n private router: Router\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.createStoreRequestForm();\r\n this.userId = localStorage.getItem('userId');\r\n this.token = localStorage.getItem('token');\r\n this.getProfile();\r\n // this.getAvailableStoreColors();\r\n this.getProductCategory();\r\n this.createOrganizationForm()\r\n this.getOrganization();\r\n this.getStates();\r\n this.getAllDepartments()\r\n this.getColors();\r\n this.getInstitutionTypes();\r\n // this.getMarketGroups();\r\n this.getMarkets()\r\n setInterval(() => {\r\n this.commonService.postHeightToParent(\"low\")\r\n }, 5000);\r\n }\r\n\r\n getCurrentDate() {\r\n //to get current date in mm/dd/yyyy format.\r\n let today = new Date();\r\n let dd = today.getDate();\r\n let mm = today.getMonth() + 1;\r\n let yyyy = today.getFullYear();\r\n this.currentDate = mm + '/' + dd + '/' + yyyy;\r\n }\r\n\r\n getProfile() {\r\n //fetches uer details and binds them to the form.\r\n if (this.token && this.userId) {\r\n this.userService.getProfileDetails(this.userId.toString(), this.token.toString()).subscribe(response => {\r\n let userDetails = response.data;\r\n let name = ((userDetails.firstName || '') + \" \" + (userDetails.lastName || '')).trim()\r\n this.storeRequestForm.controls['contactName'].setValue(name);\r\n this.storeRequestForm.controls['emailId'].setValue(userDetails.email);\r\n this.storeRequestForm.controls['phoneNumber'].setValue(userDetails.phoneNumber);\r\n this.storeRequestForm.controls['teamStoreOwnerId'].setValue(userDetails.id);\r\n this.onKeyUpOfPhone()\r\n }, error => {\r\n console.log(error);\r\n })\r\n }\r\n }\r\n\r\n saveStoreRequest() {\r\n //creates a new store with the form data enter by user.\r\n if (this.storeRequestForm.valid) {\r\n if (this.storeRequestForm.value.fundRaisingClaimPreference == \"\") {\r\n this.storeRequestForm.value.fundRaisingClaimPreference = 1;\r\n }\r\n if (this.storeRequestForm.value.storeClosureMode == \"\") {\r\n this.storeRequestForm.value.storeClosureMode = 1;\r\n }\r\n this.storeRequestForm.controls['createType'].setValue(1);\r\n this.storeRequestForm.value.openDate = this.formatDate(this.storeRequestForm.controls['openDate'].value)\r\n this.storeRequestForm.value.productShippedBy = this.formatDate(this.storeRequestForm.controls['productShippedBy'].value)\r\n this.storeRequestForm.value.closeDate = this.formatDate(this.storeRequestForm.controls['closeDate'].value)\r\n console.log(JSON.stringify(this.storeRequestForm.value));\r\n this.storeService.createStore(this.storeRequestForm.value).subscribe(\r\n (response) => {\r\n if (response.status == 1) {\r\n this.commonService.openSuccessSnackBar(response.message, \"\");\r\n localStorage.setItem('teamStoreId', response.data.id);\r\n var data = { replaceHome: true };\r\n window.parent.postMessage(data, \"*\");\r\n }\r\n else {\r\n this.commonService.openErrorSnackBar(response.message, \"\");\r\n }\r\n },\r\n (error) => {\r\n this.commonService.openErrorSnackBar(error.message, \"\");\r\n }\r\n );\r\n }\r\n\r\n }\r\n\r\n formatDate(date) {\r\n var formattedDate = this.commonService.getFormattedDate(date);\r\n return formattedDate;\r\n }\r\n\r\n createStoreRequestForm() {\r\n //creates a form for entering teamstore data.\r\n // this.storeRequestForm.controls[\"name\"].hasError('required') && this.storeRequestForm.controls[\"name\"].touched\r\n this.storeRequestForm = this.formBuilder.group({\r\n id: 0,\r\n createType: new UntypedFormControl(1),\r\n stage: new UntypedFormControl(2),\r\n name: new UntypedFormControl('', Validators.required),\r\n contactName: new UntypedFormControl('', Validators.required),\r\n emailId: new UntypedFormControl('', [Validators.required, Validators.pattern(this.emailPattern)]),\r\n phoneNumber: new UntypedFormControl('', Validators.pattern(this.phonePattern)),\r\n // color: [''],\r\n organizationName: new UntypedFormControl('', Validators.required),\r\n organizationAddress: new UntypedFormControl(),\r\n customerNotes: new UntypedFormControl(''),\r\n openDate: this.currentDate,\r\n productsInHandBy: null,\r\n productShippedBy: null,\r\n closeDate: this.currentDate,\r\n shippingPreference: 1,\r\n fundRaisingClaimPreference: 2,\r\n storeClosureMode: 1,\r\n availableToCopy: true,\r\n categoryIds: [''],\r\n club: 0,\r\n marketId: new UntypedFormControl('', [Validators.required, Validators.min(0)]),\r\n marketGroupId: new UntypedFormControl(0, [Validators.required, Validators.min(0)]),\r\n teamStoreOwnerId: new UntypedFormControl(0),\r\n primaryColorId: new UntypedFormControl(''),\r\n secondaryColorId: new UntypedFormControl(''),\r\n tertiaryColorId: new UntypedFormControl(''),\r\n contactMe: new UntypedFormControl(false),\r\n teamStoreFor: new UntypedFormControl('')\r\n });\r\n // this.commonService.postHeightToParent(\"medium\")\r\n }\r\n\r\n getProductCategory() {\r\n //fetches product category list.\r\n this.productService.getProductCategory().subscribe(\r\n (response) => {\r\n this.categoryList = response.body.data;\r\n },\r\n (error) => {\r\n\r\n }\r\n );\r\n }\r\n\r\n shippingPreferenceSelected() {\r\n //sets validations on shipping input controls according to the user.\r\n if (this.storeRequestForm.get('shippingPreference').value == 1) {\r\n this.storeRequestForm.controls['shipToAddress'].clearValidators();\r\n this.storeRequestForm.controls['shipToAddress'].updateValueAndValidity();\r\n } else {\r\n this.storeRequestForm.controls['shipToAddress'].setValidators([Validators.required]);\r\n this.storeRequestForm.controls['shipToAddress'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n fundRaisingClaimValueSelected() {\r\n //sets validations on rebate address input controls according to the user.\r\n if (this.storeRequestForm.get('fundRaisingClaimPreference').value == 1) {\r\n this.storeRequestForm.controls['rebateCheckAddress'].setValidators([Validators.required]);\r\n this.storeRequestForm.controls['rebateCheckAddress'].updateValueAndValidity();\r\n\r\n } else {\r\n this.storeRequestForm.controls['rebateCheckAddress'].clearValidators();\r\n this.storeRequestForm.controls['rebateCheckAddress'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n // getAvailableStoreColors() {\r\n // //fetches available store colors.\r\n // this.storeService.getAvailableStoreColors().subscribe(\r\n // (response) => {\r\n // this.colorArray = response.data;\r\n // },\r\n // (error) => {\r\n // this.commonService.openErrorSnackBar(error.message, \"\");\r\n // }\r\n // );\r\n // }\r\n\r\n getStates() {\r\n this.endUserService.getAllStates().subscribe(response => {\r\n if (response.data != null) {\r\n this.stateArray = response.data;\r\n }\r\n else {\r\n }\r\n });\r\n }\r\n\r\n getColors() {\r\n this.endUserService.getTeamStoreColors().subscribe(response => {\r\n if (response.data != null) {\r\n var colorObj = response.data;\r\n this.primaryColors = colorObj.primaryColors;\r\n this.secondaryColors = colorObj.secondaryColors;\r\n this.tertiaryColors = colorObj.tertiaryColors;\r\n }\r\n else {\r\n }\r\n });\r\n }\r\n\r\n createNewOrganization() {\r\n //creates a new organization.\r\n\r\n if (this.organizationForm.valid) {\r\n if (this.userId) {\r\n this.endUserService.createOrganization(this.organizationForm.value)\r\n .subscribe((response) => {\r\n if (response.status == 1) {\r\n var obj = response.data;\r\n this.organizationArray.push(obj);\r\n this.closeOrganiztionModal()\r\n let form = document.getElementById(\"organizationForm\") as HTMLFormElement\r\n form.classList.remove('was-validated')\r\n this.storeRequestForm.get(\"organizationName\").setValue(obj.name)\r\n this.onOrganizationSelect()\r\n }\r\n\r\n }, (error) => {\r\n this.commonService.openErrorSnackBar(error.message, \"\");\r\n })\r\n } else {\r\n this.organizationArray.push(this.organizationForm.value);\r\n this.newOrgArray.push(this.organizationForm.value);\r\n this.storeRequestForm.get(\"organizationName\").setValue(this.organizationForm.value.name)\r\n this.onOrganizationSelect()\r\n this.closeOrganiztionModal()\r\n let form = document.getElementById(\"organizationForm\") as HTMLFormElement\r\n form.classList.remove('was-validated')\r\n }\r\n\r\n } else {\r\n let form = document.getElementById(\"organizationForm\") as HTMLFormElement\r\n form.classList.add('was-validated')\r\n this.commonService.openErrorSnackBar(\"Please enter all required values\", \"\");\r\n }\r\n }\r\n\r\n onOrganizationSelect() {\r\n //checks whether to create or show corresponding org name and address.\r\n var selectedOrganizationName = this.storeRequestForm.get('organizationName').value;\r\n if (selectedOrganizationName === 'Add' || selectedOrganizationName === \"\") {\r\n this.storeRequestForm.get('organizationAddress').reset();\r\n this.storeRequestForm.get('organizationName').reset();\r\n this.storeRequestForm.get('marketId').reset();\r\n // this.storeRequestForm.get('marketGroupId').reset();\r\n $('#addOrgModal').modal('toggle');\r\n // this.getAllDepartments();\r\n } else {\r\n var org = this.organizationArray.filter(\r\n org => org.name === selectedOrganizationName);\r\n var state = this.getState(org[0].state)\r\n this.storeRequestForm.get('organizationAddress')\r\n .setValue(org[0].address + \", \" + org[0].city + \", \" + state.name + \", \" + org[0].zip);\r\n }\r\n }\r\n\r\n getState(id) {\r\n return this.stateArray.find(state => state.id == Number(id))\r\n }\r\n\r\n getAllDepartments() {\r\n this.endUserService.getAllUserDepartments().subscribe(response => {\r\n if (response.data != null) {\r\n this.departmentArray = response.data;\r\n }\r\n });\r\n }\r\n\r\n handleImageInput(files: FileList, type: string) {\r\n //the image uploaded is saved to temp file.\r\n switch (type) {\r\n case \"logo\":\r\n this.logoToUpload = files.item(0);\r\n break;\r\n case \"art\":\r\n this.artToUpload = files.item(0);\r\n break;\r\n }\r\n // this.commonService.postHeightToParent(\"low\")\r\n }\r\n\r\n createRequest() {\r\n if (this.storeRequestForm.valid) {\r\n //creates a new request for teamstore.\r\n let submitButton = document.getElementById(\"submit-btn\") as HTMLButtonElement\r\n submitButton.disabled = true\r\n const formData = new FormData();\r\n if (this.logoToUpload != null && this.logoToUpload != undefined) {\r\n formData.append(\"logo\", this.logoToUpload);\r\n }\r\n if (this.artToUpload != null && this.artToUpload != undefined) {\r\n formData.append(\"artFile\", this.artToUpload);\r\n }\r\n\r\n if (this.storeRequestForm.value.fundRaisingClaimPreference == \"\") {\r\n this.storeRequestForm.value.fundRaisingClaimPreference = 1;\r\n }\r\n if (this.storeRequestForm.value.storeClosureMode == \"\") {\r\n this.storeRequestForm.value.storeClosureMode = 1;\r\n }\r\n this.storeRequestForm.controls['createType'].setValue(1);\r\n this.storeRequestForm.get(\"openDate\").setValue(moment().add(1, 'days').startOf('day').format(\"MM/DD/YYYY HH:mm:ss\"));\r\n let closeDate = moment().add(2, 'weeks').add(1, 'days').endOf('day')\r\n if (closeDate.day() == 6) {\r\n closeDate.add(1, 'days')\r\n } else if (closeDate.day() == 5) {\r\n closeDate.add(2, 'days')\r\n }\r\n this.storeRequestForm.get(\"closeDate\").setValue(closeDate.format(\"MM/DD/YYYY HH:mm:ss\"));\r\n this.storeRequestForm.get(\"productShippedBy\").setValue(moment(this.storeRequestForm.get(\"closeDate\").value).add(3, 'weeks').add(1, 'days').format(\"MM/DD/YYYY\"));\r\n\r\n this.storeRequestForm.get(\"teamStoreFor\").setValue(this.storeIsFor.toString());\r\n // var org = this.storeRequestForm.get('organizationName').value;\r\n // this.storeRequestForm.controls['organizationName'].setValue(org.name);\r\n formData.append(\r\n \"teamStoreJson\",\r\n JSON.stringify(this.storeRequestForm.value)\r\n );\r\n formData.append(\r\n \"organizationJson\",\r\n JSON.stringify(this.newOrgArray)\r\n );\r\n\r\n this.endUserService.createRequest(formData).subscribe(\r\n (response) => {\r\n if (response.status == 1) {\r\n // this.commonService.openSuccessSnackBar(response.message, \"\");\r\n this.createStoreRequestForm()\r\n this.getProfile();\r\n submitButton.disabled = false\r\n this.logoToUpload = null;\r\n this.artToUpload = null;\r\n Swal.fire({\r\n title: 'Success!',\r\n html: '

Your store request has been submitted.
An Ares Account Manager will contact you shortly.

',\r\n icon: 'success',\r\n position: 'top',\r\n confirmButtonText: 'OK'\r\n }).then(() => {\r\n window.parent.postMessage(\"goto home\", \"*\")\r\n })\r\n this.commonService.postScrollMessageToParent()\r\n } else {\r\n // this.commonService.openErrorSnackBar(\"Some error occurred!\", \"\");\r\n Swal.fire({\r\n title: 'Error!',\r\n text: 'Some error occurred, please try again',\r\n icon: 'error',\r\n position: 'top',\r\n confirmButtonText: 'OK'\r\n })\r\n this.commonService.postScrollMessageToParent()\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n } else {\r\n this.storeRequestForm.markAllAsTouched()\r\n this.commonService.openWarningSnackBar(\"Please fill all required fields\", \"\");\r\n }\r\n\r\n }\r\n\r\n getOrganization() {\r\n if (this.userId) {\r\n this.endUserService.getUserInfoUsingEmaiId('self').subscribe(response => {\r\n if (response.data != null) {\r\n this.userInfo = response.data;\r\n this.organizationArray = this.userInfo.organizations;\r\n }\r\n });\r\n }\r\n }\r\n\r\n createOrganizationForm() {\r\n this.organizationForm = this.formBuilder.group({\r\n name: ['', Validators.required],\r\n institutionTypeId: ['', [Validators.required, Validators.min(0)]],\r\n address: ['', Validators.required],\r\n address1: [''],\r\n city: ['', Validators.required],\r\n state: ['', Validators.required],\r\n zip: ['', Validators.required]\r\n })\r\n }\r\n\r\n closeOrganiztionModal() {\r\n let form = document.getElementById(\"organizationForm\") as HTMLFormElement\r\n form.classList.remove('was-validated')\r\n $('#addOrgModal').modal('hide')\r\n this.createOrganizationForm()\r\n }\r\n\r\n onStoreForChange(event) {\r\n if (event.checked) {\r\n this.storeIsFor.push(event.source.value)\r\n } else {\r\n let index = this.storeIsFor.indexOf(event.source.value);\r\n if (index !== -1) {\r\n this.storeIsFor.splice(index, 1);\r\n }\r\n }\r\n }\r\n\r\n getInstitutionTypes() {\r\n this.sharedService.getInstituitionTypes().subscribe(response => {\r\n if (response.data != null) {\r\n this.institutionTypeArray = response.data;\r\n }\r\n });\r\n }\r\n\r\n getMarketGroups() {\r\n this.sharedService.getMarketAndGroups().subscribe(response => {\r\n if (response.data != null) {\r\n this.marketGroupArray = response.data;\r\n }\r\n });\r\n }\r\n\r\n getMarkets() {\r\n this.storeService.getAllMarkets().subscribe((res: any) => {\r\n this.marketsArray = res.data\r\n })\r\n }\r\n\r\n onKeyUpOfPhone(event?) {\r\n const ignoreKeys = ['Backspace', 'ArrowLeft', 'ArrowRight', 'ArrowDown', 'ArrowUp', 'Delete', 'Tab']\r\n if (event && ignoreKeys.includes(event.key))\r\n return\r\n const regEx = /([^0-9])/g\r\n let phoneString = this.storeRequestForm.get('phoneNumber').value\r\n phoneString = phoneString.replace(regEx, '')\r\n let newPhoneString = ''\r\n if (phoneString.length > 0)\r\n newPhoneString += \"(\" + phoneString.substr(0, 3)\r\n if (phoneString.length > 3)\r\n newPhoneString += \") \" + phoneString.substr(3, 3)\r\n if (phoneString.length > 6)\r\n newPhoneString += \"-\" + phoneString.substr(6, 4)\r\n this.storeRequestForm.get('phoneNumber').setValue(newPhoneString)\r\n }\r\n\r\n onKeyDownOfPhone(event) {\r\n const ignoreKeys = ['Backspace', 'ArrowLeft', 'ArrowRight', 'ArrowDown', 'ArrowUp', 'Delete', 'Tab']\r\n if (event.key == ' ')\r\n return false\r\n else if (ignoreKeys.includes(event.key))\r\n return true\r\n else if (this.storeRequestForm.get('phoneNumber').value.length >= 14)\r\n return false\r\n for (let i = 0; i < 10; i++) {\r\n if (i == event.key)\r\n return true\r\n }\r\n return false\r\n }\r\n}\r\n","
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

READY TO GET STARTED?

\r\n
\r\n
\r\n \r\n FULL NAME *\r\n \r\n \r\n Name is required\r\n \r\n
\r\n
\r\n \r\n STORE NAME *\r\n \r\n \r\n Store name is required\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n CUSTOMER E-MAIL *\r\n \r\n \r\n Email is required\r\n \r\n Entered email is invalid\r\n \r\n
\r\n
\r\n \r\n PHONE\r\n \r\n \r\n Entered phone number is invalid\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n YES! I WOULD LIKE TO RECEIVE SMS ALERTS OF NEWS AND SPECIAL OFFERS\r\n FROM ARES SPORTSWEAR.\r\n \r\n
\r\n
\r\n THIS STORE IS FOR A:

\r\n
\r\n \r\n {{ item.description }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ORGANIZATION *\r\n \r\n \r\n Add Organization\r\n {{ item.name }}\r\n \r\n \r\n Organization is required\r\n \r\n
\r\n
\r\n ORGANIZATION ADDRESS\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n MARKET *\r\n \r\n \r\n {{ item.name }}\r\n \r\n \r\n Market is required\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n TEAM COLORS:\r\n
\r\n
\r\n
\r\n
\r\n PRIMARY COLOR\r\n \r\n \r\n {{ item.name }}\r\n \r\n \r\n
\r\n
\r\n SECONDARY COLOR\r\n \r\n \r\n {{ item.name }}\r\n \r\n \r\n
\r\n
\r\n TERTIARY COLOR (Optional)\r\n \r\n \r\n {{ item.name }}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n UPLOAD ART YOU WANT TO HAVE ON YOUR APPAREL\r\n
\r\n \r\n UPLOAD\r\n \r\n \r\n \r\n \r\n \r\n   \r\n

\r\n {{ this.artToUpload?.name }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n ADDITIONAL COMMENTS:\r\n \r\n \r\n
\r\n
\r\n \r\n SUBMIT\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n Add Organization\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Add Organization\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-team-store',\r\n templateUrl: './team-store.component.html',\r\n styleUrls: ['./team-store.component.scss']\r\n})\r\nexport class TeamStoreComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n Design and sell custom sportwear on our easy-to-use online apparel\r\n platform.We manage your team store for you while you get back to what\r\n matters most-coaching the team!\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n

ADDITIONAL INFO

\r\n
    \r\n
  • PRICING
  • \r\n
  • MINIMUMS
  • \r\n
  • RECOMMENDATIONS FOR STORE BUILDING
  • \r\n
  • ORDER TURN TIME
  • \r\n
  • LATE ORDERS
  • \r\n
  • FUNDRAISING
  • \r\n
  • SPECIAL SORTING
  • \r\n
  • REQUIRED ITEMS
  • \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { timeout } from 'rxjs/operators';\r\nimport { CommonService } from 'src/app/core/services/common.service';\r\nimport { UserService } from 'src/app/core/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-forgot-password',\r\n templateUrl: './user-forgot-password.component.html',\r\n styleUrls: ['./user-forgot-password.component.scss']\r\n})\r\nexport class UserForgotPasswordComponent implements OnInit {\r\n\r\n loading: boolean;\r\n forgotPasswordForm: UntypedFormGroup;\r\n emailPattern: string = \"^[a-z0-9._%+-]+@[a-z0-9.-]+\\\\.[a-z]{2,}$\";\r\n otpSend: boolean;\r\n\r\n constructor(\r\n private formBuilder: UntypedFormBuilder,\r\n private userService: UserService,\r\n private commonService: CommonService,\r\n private router: Router\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.otpSend = false;\r\n this.SetUpForm();\r\n }\r\n\r\n SetUpForm() {\r\n this.forgotPasswordForm = this.formBuilder.group({\r\n email: new UntypedFormControl('', [\r\n Validators.required,\r\n Validators.pattern(this.emailPattern)]\r\n ),\r\n password: new UntypedFormControl('', [Validators.required, Validators.minLength(5)]),\r\n confirmPassword: new UntypedFormControl('', [Validators.required, Validators.minLength(5)]),\r\n // gender: ['Male'],\r\n otp: new UntypedFormControl('', [Validators.required])\r\n });\r\n // this.forgotPasswordForm.controls['password'].disable();\r\n // this.forgotPasswordForm.controls['confirmPassword'].disable();\r\n }\r\n\r\n forgotPassword() {\r\n if (this.forgotPasswordForm.get(\"email\").valid) {\r\n var obj = {\r\n email: this.forgotPasswordForm.value.email\r\n };\r\n this.userService.forgotPassword(obj).subscribe(\r\n (res) => {\r\n if (res.statusCode == 200) {\r\n this.commonService.openSuccessSnackBar(res.message, \"\");\r\n this.otpSend = true;\r\n } else {\r\n this.commonService.openErrorSnackBar(res.message, \"\");\r\n }\r\n },\r\n (error) => {\r\n this.commonService.openErrorSnackBar(error, \"\");\r\n }\r\n );\r\n } else {\r\n this.commonService.openWarningSnackBar(\"Please enter a valid email\", \"\");\r\n }\r\n\r\n }\r\n\r\n verifyOtp() {\r\n if (this.forgotPasswordForm.valid) {\r\n if (this.forgotPasswordForm.value.password.trim() && this.forgotPasswordForm.value.confirmPassword.trim()) {\r\n if (this.forgotPasswordForm.value.password.trim() != this.forgotPasswordForm.value.confirmPassword.trim()) {\r\n this.commonService.openErrorSnackBar(\"Password do not match!\", \"\");\r\n return;\r\n } else if (this.forgotPasswordForm.value.otp.toString().length != 6) {\r\n this.commonService.openErrorSnackBar(\"OTP must be 6 digits!\", \"\");\r\n return;\r\n }\r\n } else {\r\n this.commonService.openErrorSnackBar(\"Please enter the password!\", \"\");\r\n return;\r\n }\r\n } else {\r\n if (this.forgotPasswordForm.value.password.trim().length < 5) {\r\n this.commonService.openErrorSnackBar(\"Password should be at least 5 characters!\", \"\");\r\n return;\r\n } else if (this.forgotPasswordForm.value.confirmPassword.trim().length < 5) {\r\n this.commonService.openErrorSnackBar(\"Password should be at least 5 characters!\", \"\");\r\n return;\r\n } else if (!this.forgotPasswordForm.value.otp.toString().trim()) {\r\n this.commonService.openErrorSnackBar(\"Please enter a valid OTP!\", \"\");\r\n return;\r\n } else {\r\n this.commonService.openErrorSnackBar(\"Please fill all fields with valid data!\", \"\");\r\n return;\r\n }\r\n }\r\n\r\n\r\n var obj = { ...this.forgotPasswordForm.value };\r\n delete obj[\"confirmPassword\"]\r\n\r\n this.userService.verifyUser(obj).subscribe(\r\n (success) => {\r\n this.commonService.openSuccessSnackBar(\"Password updated successfully!\", \"\");\r\n this.router.navigateByUrl('enduser/login');\r\n },\r\n (error) => {\r\n this.commonService.openErrorSnackBar(error?.error?.message, \"\");\r\n }\r\n );\r\n }\r\n\r\n resendOtp() {\r\n this.userService.resendOtp(this.forgotPasswordForm.value.email).subscribe(\r\n (success) => {\r\n this.commonService.openSuccessSnackBar(success.message, \"\");\r\n },\r\n (error) => {\r\n this.commonService.openErrorSnackBar(error, \"\");\r\n }\r\n );\r\n }\r\n\r\n\r\n login() {\r\n this.router.navigateByUrl('enduser/login');\r\n }\r\n}\r\n\r\n","

\r\n
\r\n \r\n
\r\n \r\n

\r\n

Forgot Password

\r\n
\r\n \r\n Email\r\n \r\n \r\n Email is required\r\n \r\n \r\n Please enter a valid email address\r\n \r\n \r\n
\r\n \r\n \r\n Password\r\n \r\n \r\n Password is required\r\n \r\n \r\n \r\n Confirm Password\r\n \r\n \r\n \r\n 6 Digit Verification Code\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n

\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from \"@angular/forms\";\r\nimport { AuthenticationService } from \"../../../core/services/authentication.service\";\r\nimport { CommonService } from 'src/app/core/services/common.service';\r\n\r\n@Component({\r\n selector: 'app-user-login',\r\n templateUrl: './user-login.component.html',\r\n styleUrls: ['./user-login.component.scss']\r\n})\r\nexport class UserLoginComponent implements OnInit {\r\n loginForm: UntypedFormGroup;\r\n loading = false;\r\n submitted = false;\r\n returnUrl: string;\r\n errorText: String;\r\n showResponseMessage: boolean;\r\n model: any = {};\r\n public emailPattern = \"^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Za-z]{2,}$\";\r\n auth = ''\r\n key = ''\r\n gotocart = false\r\n userObj = {}\r\n\r\n constructor(\r\n private formBuilder: UntypedFormBuilder,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private authenticationService: AuthenticationService,\r\n private commonService: CommonService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.auth = this.route.snapshot.queryParams['auth'] || ''\r\n this.key = this.route.snapshot.queryParams['key'] || ''\r\n this.gotocart = this.route.snapshot.queryParams['gotocart'] || false\r\n let email = this.route.snapshot.queryParams['email']\r\n if (this.auth && this.key) {\r\n this.getUser()\r\n }\r\n this.createLoginForm(email)\r\n\r\n }\r\n\r\n createLoginForm(email?) {\r\n this.loginForm = this.formBuilder.group({\r\n email: new UntypedFormControl(email || \"\", [\r\n Validators.required,\r\n Validators.pattern(this.emailPattern),\r\n ]),\r\n password: new UntypedFormControl(\"\", Validators.required),\r\n });\r\n }\r\n\r\n login() {\r\n let role: any;\r\n let isAuthorized = false;\r\n if (this.loginForm.valid) {\r\n this.loading = true;\r\n this.authenticationService.login(this.loginForm.value).subscribe(\r\n data => {\r\n window.top.postMessage(\"cart count-\" + data.cartTotal, \"*\");\r\n role = data.user.roles[0];\r\n isAuthorized = role.name === \"ENDUSER\";\r\n if (isAuthorized) {\r\n window.parent.postMessage(data, \"*\");\r\n window.parent.postMessage(\"close popup\", \"*\");\r\n } else {\r\n this.commonService.openErrorSnackBar(\"Authorization failed\", \"\");\r\n this.loading = false;\r\n }\r\n },\r\n error => {\r\n this.commonService.openErrorSnackBar(error.error.message, \"\");\r\n this.loading = false;\r\n });\r\n }\r\n }\r\n\r\n signUp() {\r\n if (this.auth)\r\n this.router.navigateByUrl(\r\n 'enduser/signup' +\r\n '?auth=' + this.auth +\r\n '&key=' + this.key +\r\n '&gotocart=' + this.gotocart\r\n );\r\n // , { queryParams: { auth: this.auth, key: this.key, gotocart: this.gotocart } }\r\n else\r\n this.router.navigateByUrl('enduser/signup');\r\n }\r\n\r\n forgotPassword() {\r\n this.router.navigateByUrl('enduser/forgot');\r\n }\r\n\r\n getUser() {\r\n this.authenticationService.getUserByAuthKey(this.auth, this.key).subscribe(res => {\r\n if (res.data.emailConfirmed === false) {\r\n localStorage.setItem('signupUser', JSON.stringify(res.data))\r\n // this.signUp()\r\n }\r\n })\r\n if (this.userObj) {\r\n\r\n }\r\n }\r\n}\r\n","

\r\n
\r\n \r\n
\r\n \r\n

\r\n

Log In

\r\n \r\n Username\r\n \r\n \r\n Email is required\r\n \r\n \r\n Please enter a valid email address\r\n \r\n \r\n\r\n \r\n Password\r\n \r\n \r\n Password is required\r\n \r\n \r\n {{errorText}}\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n

\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { AuthenticationService } from 'src/app/core/services/authentication.service';\r\nimport { CommonService } from 'src/app/core/services/common.service';\r\nimport { UserService } from 'src/app/core/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-user-registration',\r\n templateUrl: './user-registration.component.html',\r\n styleUrls: ['./user-registration.component.scss']\r\n})\r\n\r\nexport class UserRegistrationComponent implements OnInit {\r\n loading: boolean;\r\n registrationForm: UntypedFormGroup;\r\n emailPattern: string = \"^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\\\.[A-Za-z]{2,}$\";\r\n isRegistered: boolean = false;\r\n auth = ''\r\n key = ''\r\n gotocart = false\r\n isGuest = false\r\n inputText: string = '';\r\n constructor(\r\n private formBuilder: UntypedFormBuilder,\r\n private userService: UserService,\r\n private commonService: CommonService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private authenticationService: AuthenticationService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.auth = this.route.snapshot.queryParams['auth'] || ''\r\n this.key = this.route.snapshot.queryParams['key'] || ''\r\n this.gotocart = this.route.snapshot.queryParams['gotocart'] || false\r\n this.isGuest = this.route.snapshot.queryParams['isGuest']\r\n if (this.auth && this.key) {\r\n this.getUser()\r\n }\r\n let user\r\n if (this.isGuest)\r\n user = JSON.parse(localStorage.getItem('user'))\r\n this.setUpCreateUserForm(user);\r\n\r\n\r\n }\r\n onInputChange(){ \r\n this.registrationForm.value.email=this.inputText.toLowerCase();\r\n this.inputText=this.registrationForm.value.email \r\n }\r\n onKeyDownOfPhone(event) { \r\n const ignoreKeys = ['Backspace', 'ArrowLeft', 'ArrowRight', 'ArrowDown', 'ArrowUp', 'Delete', 'Tab']\r\n if (event.key == ' ')\r\n return false\r\n else if (ignoreKeys.includes(event.key))\r\n return true\r\n else if (this.registrationForm.get('phoneNumber').value.length >= 14)\r\n return false\r\n for (let i = 0; i < 10; i++) {\r\n if (i == event.key)\r\n return true\r\n }\r\n return false\r\n }\r\n onKeyUpOfPhone(event?) { \r\n const ignoreKeys = ['Backspace', 'ArrowLeft', 'ArrowRight', 'ArrowDown', 'ArrowUp', 'Delete', 'Tab']\r\n if (event && ignoreKeys.includes(event.key))\r\n return\r\n const regEx = /([^0-9])/g\r\n let phoneString = this.registrationForm.get('phoneNumber').value\r\n phoneString = phoneString.replace(regEx, '')\r\n let newPhoneString = ''\r\n if (phoneString.length > 0)\r\n newPhoneString += \"(\" + phoneString.substr(0, 3)\r\n if (phoneString.length > 3)\r\n newPhoneString += \") \" + phoneString.substr(3, 3)\r\n if (phoneString.length > 6)\r\n newPhoneString += \"-\" + phoneString.substr(6, 4)\r\n this.registrationForm.get('phoneNumber').setValue(newPhoneString)\r\n }\r\n setUpCreateUserForm(user?) {\r\n user = user || {}\r\n this.registrationForm = this.formBuilder.group({\r\n email: new UntypedFormControl(user.email || '', [\r\n Validators.required,\r\n Validators.pattern(this.emailPattern)]\r\n ),\r\n password: new UntypedFormControl('', Validators.required),\r\n confirmPassword: new UntypedFormControl('', Validators.required),\r\n phoneNumber: new UntypedFormControl(user.phoneNumber || ''),\r\n firstName: new UntypedFormControl(user.firstName || '', Validators.required),\r\n lastName: new UntypedFormControl(user.lastName || '', Validators.required),\r\n // gender: ['Male'],\r\n otp: new UntypedFormControl('')\r\n });\r\n this.inputText=user?.email?user?.email:''\r\n }\r\n\r\n createUser() {\r\n if (this.registrationForm.valid) {\r\n if (this.registrationForm.value.password != this.registrationForm.value.confirmPassword) {\r\n this.commonService.openErrorSnackBar(\"Password do not match!\", \"\");\r\n return;\r\n }\r\n let password: String = this.registrationForm.value.password;\r\n if (password.length < 5) {\r\n this.commonService.openErrorSnackBar(\"Password at least 5 characters!\", \"\");\r\n return;\r\n }\r\n this.userService.createUser(this.registrationForm.value).subscribe(\r\n (response) => {\r\n this.commonService.openSuccessSnackBar(response.message, \"\");\r\n this.isRegistered = true;\r\n },\r\n (error) => {\r\n this.commonService.openErrorSnackBar(error.error.message, \"\");\r\n }\r\n );\r\n }\r\n\r\n }\r\n\r\n trimName() {\r\n this.registrationForm.patchValue({\r\n firstName: this.registrationForm.value.firstName.trim(),\r\n lastName: this.registrationForm.value.lastName.trim(),\r\n })\r\n }\r\n\r\n resendOtp() {\r\n if (this.registrationForm.value.password != this.registrationForm.value.confirmPassword) {\r\n this.commonService.openErrorSnackBar(\"Password do not match!\", \"\");\r\n return;\r\n }\r\n let password: String = this.registrationForm.value.password;\r\n if (password.length < 5) {\r\n this.commonService.openErrorSnackBar(\"Password at least 5 characters!\", \"\");\r\n return;\r\n }\r\n this.userService.resendOtp(this.registrationForm.value.email).subscribe(\r\n (response) => {\r\n this.commonService.openSuccessSnackBar(\"OTP has been resend to the email\", \"\");\r\n },\r\n (error) => {\r\n this.commonService.openErrorSnackBar(error.error.message, \"\");\r\n }\r\n );\r\n }\r\n\r\n verifyUser() {\r\n this.userService.verifyUser(this.registrationForm.value).subscribe(\r\n (response) => {\r\n this.commonService.openSuccessSnackBar(response.message, \"\");\r\n this.autoLogin(this.registrationForm.value.email, this.registrationForm.value.password)\r\n // this.router.navigateByUrl('enduser/login');\r\n },\r\n (error) => {\r\n this.commonService.openErrorSnackBar(error.error.message, \"\");\r\n }\r\n );\r\n }\r\n\r\n login() {\r\n this.router.navigateByUrl('enduser/login');\r\n }\r\n\r\n autoLogin(email, password) {\r\n\r\n let role: any;\r\n let isAuthorized = false;\r\n this.authenticationService.login({ email, password }).subscribe(\r\n data => {\r\n window.top.postMessage(\"cart count-\" + data.cartTotal, \"*\");\r\n role = data.user.roles[0];\r\n isAuthorized = role.name === \"ENDUSER\";\r\n if (isAuthorized) {\r\n window.parent.postMessage(data, \"*\");\r\n window.parent.postMessage(\"close popup\", \"*\")\r\n } else {\r\n this.commonService.openErrorSnackBar(\"Authorization failed\", \"\");\r\n this.loading = false;\r\n }\r\n },\r\n error => {\r\n this.commonService.openErrorSnackBar(error.error.message, \"\");\r\n this.loading = false;\r\n });\r\n }\r\n\r\n\r\n getUser() {\r\n this.authenticationService.getUserByAuthKey(this.auth, this.key).subscribe(res => {\r\n if (res.data.emailConfirmed === false) {\r\n this.registrationForm = this.formBuilder.group({\r\n email: new UntypedFormControl(res.data.email, [\r\n Validators.required,\r\n Validators.pattern(this.emailPattern)]\r\n ),\r\n password: new UntypedFormControl('', Validators.required),\r\n confirmPassword: new UntypedFormControl('', Validators.required),\r\n phoneNumber: res.data.phoneNumber,\r\n firstName: new UntypedFormControl(res.data.firstName, Validators.required),\r\n lastName: new UntypedFormControl(res.data.lastName, Validators.required),\r\n // gender: ['Male'],\r\n otp: new UntypedFormControl('')\r\n });\r\n\r\n console.log(this.registrationForm.value)\r\n }\r\n })\r\n // if(this.userObj){\r\n\r\n // }\r\n }\r\n}\r\n","

\r\n
\r\n \r\n
\r\n \r\n

\r\n

Register

\r\n \r\n First Name \r\n \r\n \r\n First name is required\r\n \r\n \r\n \r\n Last Name \r\n \r\n \r\n Last name is required\r\n \r\n \r\n \r\n Email \r\n \r\n \r\n Email is required\r\n \r\n \r\n Please enter a valid email address\r\n \r\n \r\n \r\n Phone Number \r\n \r\n \r\n \r\n Password \r\n \r\n \r\n Password is required\r\n \r\n \r\n \r\n Confirm Password \r\n \r\n \r\n \r\n 6 Digit Verification Code\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n

\r\n
\r\n
\r\n
\r\n"],"names":["RouterModule","EndUserComponent","UserRegistrationComponent","RequestFreeStoreComponent","UserLoginComponent","TeamStoreComponent","UserForgotPasswordComponent","CartComponent","GuestLoginComponent","OrderDetailsComponent","routes","path","component","children","pathMatch","loadChildren","then","m","ProductsModule","BuyFromLiveStoreModule","BuildOwnStoreModule","SuggestedTemplateModule","UserAccountModule","DirectPurchaseModule","StoreRequestModule","EndUserRoutingModule","forChild","imports","exports","environment","constructor","authService","router","commonService","ngOnInit","window","addEventListener","event","origin","wpUrl","substr","length","data","logout","token","localStorage","getItem","refreshToken","subscribe","res","navigateByUrl","message","loading$","loading","selectors","decls","vars","template","i0","SharedModule","CommonModule","FormsModule","MatLegacyAutocompleteModule","MatAutocompleteModule","MatLegacyCheckboxModule","MatCheckboxModule","MatLegacyFormFieldModule","MatFormFieldModule","MatToolbarModule","MatLegacyCardModule","MatCardModule","MatLegacyTableModule","MatTableModule","MatLegacyInputModule","MatInputModule","MatDatepickerModule","MatNativeDateModule","MatIconModule","MatGridListModule","MatLegacyRadioModule","MatRadioModule","MatLegacySelectModule","MatSelectModule","ReactiveFormsModule","CalendarModule","DateAdapter","adapterFactory","ColorPickerModule","MatDividerModule","MatLegacyButtonModule","MatButtonModule","MatLegacyListModule","MatListModule","EndUserModule","forRoot","provide","useFactory","declarations","Validators","Swal","fb","loginService","createLoginForm","onInputChange","loginForm","value","email","inputText","toLowerCase","signUp","group","required","pattern","emailPattern","password","submitEmail","get","valid","validateUser","isUserVerified","user","parent","postMessage","top","cartTotal","openErrorSnackBar","cancelEmail","fire","icon","text","cancelButtonText","confirmButtonText","showCancelButton","reverseButtons","isConfirmed","closePopup","console","log","consts","ctx","UntypedFormControl","moment","require","userService","endUserService","formBuilder","storeService","productService","sharedService","description","createStoreRequestForm","userId","getProfile","getProductCategory","createOrganizationForm","getOrganization","getStates","getAllDepartments","getColors","getInstitutionTypes","getMarkets","setInterval","postHeightToParent","getCurrentDate","today","Date","dd","getDate","mm","getMonth","yyyy","getFullYear","currentDate","getProfileDetails","toString","response","userDetails","name","firstName","lastName","trim","storeRequestForm","controls","setValue","phoneNumber","id","onKeyUpOfPhone","error","saveStoreRequest","fundRaisingClaimPreference","storeClosureMode","openDate","formatDate","productShippedBy","closeDate","JSON","stringify","createStore","status","openSuccessSnackBar","setItem","replaceHome","date","formattedDate","getFormattedDate","createType","stage","contactName","emailId","phonePattern","organizationName","organizationAddress","customerNotes","productsInHandBy","shippingPreference","availableToCopy","categoryIds","club","marketId","min","marketGroupId","teamStoreOwnerId","primaryColorId","secondaryColorId","tertiaryColorId","contactMe","teamStoreFor","categoryList","body","shippingPreferenceSelected","clearValidators","updateValueAndValidity","setValidators","fundRaisingClaimValueSelected","getAllStates","stateArray","getTeamStoreColors","colorObj","primaryColors","secondaryColors","tertiaryColors","createNewOrganization","organizationForm","createOrganization","obj","organizationArray","push","closeOrganiztionModal","form","document","getElementById","classList","remove","onOrganizationSelect","newOrgArray","add","selectedOrganizationName","reset","$","modal","org","filter","state","getState","address","city","zip","find","Number","getAllUserDepartments","departmentArray","handleImageInput","files","type","logoToUpload","item","artToUpload","createRequest","submitButton","disabled","formData","FormData","undefined","append","startOf","format","endOf","day","storeIsFor","title","html","position","postScrollMessageToParent","markAllAsTouched","openWarningSnackBar","getUserInfoUsingEmaiId","userInfo","organizations","institutionTypeId","address1","onStoreForChange","checked","source","index","indexOf","splice","getInstituitionTypes","institutionTypeArray","getMarketGroups","getMarketAndGroups","marketGroupArray","getAllMarkets","marketsArray","ignoreKeys","includes","key","regEx","phoneString","replace","newPhoneString","onKeyDownOfPhone","i","otpSend","SetUpForm","forgotPasswordForm","minLength","confirmPassword","otp","forgotPassword","statusCode","verifyOtp","verifyUser","success","resendOtp","login","route","authenticationService","auth","snapshot","queryParams","gotocart","getUser","role","isAuthorized","roles","getUserByAuthKey","emailConfirmed","userObj","isGuest","parse","setUpCreateUserForm","registrationForm","createUser","isRegistered","trimName","patchValue","autoLogin"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}