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CAAkD;AACnM;AAAmBA,gBAAgB,CAACghF,IAAI,kBAvPuEl1H,8DAAE;EAAA8C,IAAA,EAuPiBoxC;AAAgB,EAEnF;AAC/D;AAAmBA,gBAAgB,CAACkhF,IAAI,kBA1PuEp1H,8DAAE;EAAAu4H,SAAA,EA0P8C,CAACgD,QAAQ,CAAC;EAAAjoF,OAAA,GAAY,CACzKE,yDAAY,EACZc,uDAAW,EACXC,+DAAmB,CACtB;AAAA,EAAI;AACb;EAAA,QAAAqqE,SAAA,oBAAAA,SAAA,KA/P+G5+G,+DAAE,CA+PrBk0C,gBAAgB,EAAc,CAAC;IAC/GpxC,IAAI,EAAEu4G,mDAAQ;IACd15B,IAAI,EAAE,CAAC;MACCruC,OAAO,EAAE,CACLE,yDAAY,EACZc,uDAAW,EACXC,+DAAmB,CACtB;MACDO,YAAY,EAAE,CAAC8mF,mBAAmB,EAAEL,QAAQ,CAAC;MAC7ChoF,OAAO,EAAE,CAACqoF,mBAAmB,CAAC;MAC9BrD,SAAS,EAAE,CAACgD,QAAQ;IACxB,CAAC;EACT,CAAC,CAAC;AAAA;AAEV,MAAMmD,MAAM,CAAC;;AAGb;AACA;AACA;;AAEA;AACA;AACA","sources":["./src/@allxs/forms/validators/custom.validator.ts","./src/@allxs/model/auth/reset-password.model.ts","./src/@allxs/model/user/child.model.ts","./src/app/core/models/account/registration.model.ts","./src/app/core/store/auth/selector.ts","./src/app/core/validators/password-validator.ts","./src/app/home/about-us/about-us.component.ts","./src/app/home/about-us/about-us.component.html","./src/app/home/account/account-details/account-details.component.ts","./src/app/home/account/account-details/account-details.component.html","./src/app/home/account/cart/cart.component.ts","./src/app/home/account/cart/cart.component.html","./src/app/home/account/checkout/checkout.component.ts","./src/app/home/account/checkout/checkout.component.html","./src/app/home/account/components/delivery-slot/delivery-slot.component.ts","./src/app/home/account/components/delivery-slot/delivery-slot.component.html","./src/app/home/account/my-tickets/my-tickets.component.ts","./src/app/home/account/my-tickets/my-tickets.component.html","./src/app/home/account/order-result/order-result.component.ts","./src/app/home/account/order-result/order-result.component.html","./src/app/home/account/wishlist/wishlist.component.ts","./src/app/home/account/wishlist/wishlist.component.html","./src/app/home/auth/claim-account/claim-account.component.ts","./src/app/home/auth/claim-account/claim-account.component.html","./src/app/home/auth/compass-account/compass-account.component.ts","./src/app/home/auth/compass-account/compass-account.component.html","./src/app/home/auth/components/phonerequest/phone-request.component.ts","./src/app/home/auth/components/phonerequest/phone-request.component.html","./src/app/home/auth/components/school-reg-child/school-registerchild.component.ts","./src/app/home/auth/components/school-reg-child/school-registerchild.component.html","./src/app/home/auth/components/schoolregistration/school-registration.component.ts","./src/app/home/auth/components/schoolregistration/school-registration.component.html","./src/app/home/auth/event-account/event-account.component.ts","./src/app/home/auth/event-account/event-account.component.html","./src/app/home/auth/forgot-password/forgot-password.component.ts","./src/app/home/auth/forgot-password/forgot-password.component.html","./src/app/home/auth/login/login.component.ts","./src/app/home/auth/login/login.component.html","./src/app/home/auth/register/register.component.ts","./src/app/home/auth/register/register.component.html","./src/app/home/auth/school-account/school-account.component.ts","./src/app/home/auth/school-account/school-account.component.html","./src/app/home/events-landing/events-landing.component.ts","./src/app/home/events-landing/events-landing.component.html","./src/app/home/home-routing.module.ts","./src/app/home/home.module.ts","./src/app/home/main-landing/main-landing.component.ts","./src/app/home/main-landing/main-landing.component.html","./src/app/home/support/support.component.ts","./src/app/home/support/support.component.html","./src/app/home/vendor/vendor.component.ts","./src/app/home/vendor/vendor.component.html","./src/app/home/widgets/action-items/action-items.component.ts","./src/app/home/widgets/action-items/action-items.component.html","./src/app/home/widgets/events-item-detail/events-item-detail.component.ts","./src/app/home/widgets/events-item-detail/events-item-detail.component.html","./src/app/home/widgets/item-detail-ip/components/product-item/product-item.component.ts","./src/app/home/widgets/item-detail-ip/components/product-item/product-item.component.html","./src/app/home/widgets/item-detail-ip/components/time-slots/time-slots.component.ts","./src/app/home/widgets/item-detail-ip/components/time-slots/time-slots.component.html","./src/app/home/widgets/item-detail-ip/item-detail-ip.component.ts","./src/app/home/widgets/item-detail-ip/item-detail-ip.component.html","./src/app/home/widgets/item-detail/item-detail.component.ts","./src/app/home/widgets/item-detail/item-detail.component.html","./src/app/home/widgets/related-product/related-product.component.ts","./src/app/home/widgets/related-product/related-product.component.html","./src/app/home/widgets/slider/slider.component.ts","./src/app/home/widgets/slider/slider.component.html","./src/app/home/widgets/stock-inventory/stock-inventory.component.ts","./src/app/home/widgets/stock-inventory/stock-inventory.component.html","./src/app/home/widgets/vendor-collection/vendor-collection.component.ts","./src/app/home/widgets/vendor-collection/vendor-collection.component.html","./src/app/shared/classes/product.ts","./node_modules/@syncfusion/ej2-angular-base/index.js","./node_modules/@syncfusion/ej2-angular-base/src/complex-array-base.js","./node_modules/@syncfusion/ej2-angular-base/src/component-base.js","./node_modules/@syncfusion/ej2-angular-base/src/form-base.js","./node_modules/@syncfusion/ej2-angular-base/src/index.js","./node_modules/@syncfusion/ej2-angular-base/src/template.js","./node_modules/@syncfusion/ej2-angular-base/src/util.js","./node_modules/@syncfusion/ej2-buttons/dist/es6/ej2-buttons.es5.js","./node_modules/@syncfusion/ej2-popups/dist/es6/ej2-popups.es5.js","./node_modules/@angular/google-maps/fesm2022/google-maps.mjs","./node_modules/@syncfusion/ej2-angular-popups/fesm2020/syncfusion-ej2-angular-popups.mjs","./node_modules/ng-otp-input/fesm2020/ng-otp-input.mjs"],"sourcesContent":["import { ValidationErrors, ValidatorFn, AbstractControl, FormGroup } from '@angular/forms';\nimport * as moment from 'moment'\n\nexport class CustomValidators {\n\n static patternValidator(regex: RegExp, error: ValidationErrors): ValidatorFn {\n return (control: AbstractControl): { [key: string]: any } => {\n if (!control.value) {\n // if control is empty return no error\n return null;\n }\n\n // test the value of the control against the regexp supplied\n const valid = regex.test(control.value);\n\n // if true, return no error (no error), else return error passed in the second parameter\n return valid ? null : error;\n };\n }\n\n static passwordMatchValidator(control: AbstractControl) {\n if (!control.value) {\n // if control is empty return no error\n return null;\n }\n\n const password: string = control.get('newpassword').value; // get password from our password form control\n const confirmPassword: string = control.get('confirmpassword').value; // get password from our confirmPassword form control\n // compare is the password math\n if (password !== confirmPassword) {\n // if they don't match, set an error in our confirmPassword form control\n control.get('confirmpassword').setErrors({ NoPassswordMatch: true });\n }\n }\n\n static minimumAge(age:number): ValidatorFn {\n return (fg: FormGroup): ValidationErrors => {\n let result: ValidationErrors = null;\n if (fg.get('year').valid && fg.get('month').valid && fg.get('day').valid) {\n // carefull, moment months range is from 0 to 11\n const value: { year: string, month: string, day: string } = fg.value;\n const date = moment({ year: +value.year, month: (+value.month) - 1, day: +value.day }).startOf('day');\n if (date.isValid()) {\n // https://momentjs.com/docs/#/displaying/difference/\n const now = moment().startOf('day');\n const yearsDiff = date.diff(now, 'years');\n if (yearsDiff > -age) {\n result = {\n 'minimumAge': {\n 'requiredAge': age,\n 'actualAge': yearsDiff\n }\n };\n }\n }\n }\n return result;\n };\n }\n}","export class ResetPasswordModel { \n code:string;\n emailAddress:string;\n password:string;\n confirmPassword:string;\n offers: boolean;\n terms: boolean;\n}","import { AccountModel } from \"@app/core/models/account/account.model\";\nimport { UserContactDetailModel } from \"@app/core/models/user/user-contactdetail.model\";\nimport { UserDetailModel } from \"@app/core/models/user/user-detail.model\";\nimport { PreferencesModel } from \"@app/core/models/user/user-preferences.model\";\n\nexport class ChildModel { \n parentId:string;\n userId:string;\n clientId:number;\n userAccountNumber:string;\n userName:string;\n email:string;\n emailVerified:boolean;\n phoneNumber:string;\n phoneVerified:boolean;\n timeZone:string;\n currencySymbol:string;\n countryCode:string;\n account:AccountModel;\n preferences:PreferencesModel;\n userDetail:UserDetailModel; \n userContactDetail:UserContactDetailModel;\n accountAmount:number;\n relationship:string;\n\n constructor(){\n this.account = new AccountModel();\n this.preferences = new PreferencesModel();\n this.userDetail = new UserDetailModel();\n this.userContactDetail = new UserContactDetailModel();\n }\n}","export class RegistrationModel { \n ClientId:Number;\n URL:String;\n Email:String;\n FirstName:String;\n LastName:String;\n EmailVerified:boolean;\n Password:String;\n ConfirmPassword:String;\n Terms:Boolean;\n Offers:Boolean;\n NumberOfChildren:Number;\n}","import { AppStateInterface } from \"@app/core/types/appState.interface\";\nimport { createSelector } from \"@ngrx/store\";\n\n\nexport const authFeature = (state: AppStateInterface) => state.auth;\n\nexport const isLoggedInSelector = createSelector(\n authFeature, \n (state) => state.isAuthLoggedIn\n);\n\nexport const loginFailSelector = createSelector(\n authFeature, \n (state) => state.error\n);\n\nexport const loginSuccessSelector = createSelector(\n authFeature, \n (state) => state.isAuthLoggedIn\n);\n\nexport const requestPhoneSelector = createSelector(\n authFeature, \n (state) => state\n);\n\n","import { ValidationErrors, ValidatorFn, AbstractControl, FormGroup } from '@angular/forms';\nimport * as moment from 'moment'\n\nexport class CustomValidators {\n\n static patternValidator(regex: RegExp, error: ValidationErrors): ValidatorFn {\n return (control: AbstractControl): { [key: string]: any } | null => {\n if (!control.value) {\n // if control is empty return no error\n return null;\n }\n\n // test the value of the control against the regexp supplied\n const valid = regex.test(control.value);\n\n // if true, return no error (no error), else return error passed in the second parameter\n return valid ? null : error;\n };\n }\n\n static passwordMatchValidator(control: AbstractControl) {\n const password: string = control.get('password')!.value; // get password from our password form control\n const confirmPassword: string = control.get('confirmPassword')!.value; // get password from our confirmPassword form control\n // compare is the password math\n if (password !== confirmPassword || (confirmPassword == \"\")) {\n // if they don't match, set an error in our confirmPassword form control\n control.get('confirmPassword')!.setErrors({ NoPassswordMatch: true });\n }\n }\n\n\n\n // static minimumAge(age:number): ValidatorFn {\n // return (fg: FormGroup): ValidationErrors | null => {\n // let result: ValidationErrors|null = null;\n // if (fg.get('year')!.valid && fg.get('month')!.valid && fg.get('day')!.valid) {\n // // carefull, moment months range is from 0 to 11\n // const value: { year: string, month: string, day: string } = fg.value;\n // const date = moment({ year: +value.year, month: (+value.month) - 1, day: +value.day }).startOf('day');\n // if (date.isValid()) {\n // // https://momentjs.com/docs/#/displaying/difference/\n // const now = moment().startOf('day');\n // const yearsDiff = date.diff(now, 'years');\n // if (yearsDiff > -age) {\n // result = {\n // 'minimumAge': {\n // 'requiredAge': age,\n // 'actualAge': yearsDiff\n // }\n // };\n // }\n // }\n // }\n // return result;\n // };\n //}\n\n // static confirmedValidator(controlName: string, matchingControlName: string) {\n // return (formGroup: FormGroup) => {\n // const control = formGroup.controls[controlName];\n // const matchingControl = formGroup.controls[matchingControlName];\n // if (matchingControl.errors && !matchingControl.errors.confirmedValidator) {\n // return;\n // }\n // if (control.value !== matchingControl.value) {\n // matchingControl.setErrors({ confirmedValidator: true });\n // } else {\n // matchingControl.setErrors(null);\n // }\n // }\n // }\n\n}","import { Component, OnInit } from '@angular/core';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { ThemeImage } from '@app/core/models/client/themeimage.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { TeamSlider, TestimonialSlider } from '@app/shared/data/slider';\nimport { select, Store } from '@ngrx/store';\n\nexport interface Service {\n title: string;\n image: string;\n description: string;\n}\n\n@Component({\n selector: 'app-about-us',\n templateUrl: './about-us.component.html',\n styleUrls: ['./about-us.component.scss']\n})\nexport class AboutUsComponent implements OnInit {\n\n private clientData: ClientModel;\n\n public mainAboutBanner: string = '';\n public themeLogo: string = '';\n public services: Service[] = [];\n\n constructor(private store: Store,) { \n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n\n const bannersToFilter = this.clientData.theme.Images;\n\n let typeToFilter = 'About Banner';\n this.mainAboutBanner = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter)[0].Banner.Path;\n\n this.addService(bannersToFilter, 'Ticketing', 'Ticketing', '');\n this.addService(bannersToFilter, 'Events', 'Event POS And Cashless Events', '');\n this.addService(bannersToFilter, 'Retail', 'Retail POS', '');\n this.addService(bannersToFilter, 'Hospitality', 'Hospitality POS', '');\n }\n })\n }\n\n ngOnInit(): void {\n }\n\n addService(bannersToFilter, typeToFilter, title, description) {\n let servicePath = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter)[0].Banner.Path;\n let service = {\n title: title,\n image: servicePath,\n description: description\n };\n this.services.push(service);\n }\n\n getBannersByTypeWithNames(\n banners: ThemeImage[],\n type: string\n ): { BannerName: string; Banner: ThemeImage }[] {\n const filteredByType = banners.filter(banner => banner.Type.toLowerCase() === type.toLowerCase());\n\n const limitedBanners = filteredByType.slice(0, 3);\n\n return limitedBanners.map(({ Name, ...rest }) => ({\n BannerName: Name,\n Banner: { Name, ...rest },\n }));\n }\n\n public TeamSliderConfig: any = TeamSlider;\n public TestimonialSliderConfig: any = TestimonialSlider;\n\n // Testimonial Carousel\n public testimonial = [{\n image: 'assets/images/testimonial/1.jpg',\n name: 'CashlessCanteens',\n designation: 'Designer',\n description: 'you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings.',\n }, {\n image: 'assets/images/testimonial/2.jpg',\n name: 'Cashless Events',\n designation: 'Content Writer',\n description: 'you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings.',\n }, {\n image: 'assets/images/testimonial/1.jpg',\n name: 'Cashless Schools',\n designation: 'Lead Developer',\n description: 'you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings.',\n }]\n\n // Team \n public team = [{\n image: 'assets/images/team/1.jpg',\n name: 'Ticketing',\n designation: ''\n }, {\n image: 'assets/images/team/2.jpg',\n name: 'Event POS and Cashles Events',\n designation: ''\n }, {\n image: 'assets/images/team/3.jpg',\n name: 'Retail POS',\n designation: ''\n }, {\n image: 'assets/images/team/4.jpg',\n name: 'Hospitality POS',\n designation: ''\n }, {\n \n }]\n\n}\n\n","\n\n\n
\n
\n
\n
\n
\n \"about-us\"/\n
\n
\n
\n

The AllXS VIP platform brings together a number of key features that will supercharge your business or event without breaking the bank. AllXS is seamless and ensures a frictionless customer experience while making the management an intuitive and simple process. With rich functionality, you can create an environment that wows your customers by offering value such as rewards, customized discounts.

\n \n

Allxs VIP is a Fintech company with a focus on delivering Africa's premier experience management platform. To achieve this, we combine closed loop payments with open loop integrations, manage value, digital currency, points and vouchers, remote ordering and printing, inventory and location-based communication. The system has many applications across a variety of industries but offers a unique opportunity to verticals such as events, retail, education and hospitality.\n\n

\n \n
\n
\n
\n
\n\n\n\n
\n
\n
\n
\n

Our Services

\n
\n \n \n \n
\n \"image\"/\n

{{service.title}}

\n
{{service.description}}
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n \n
\n

POS Application

\n

\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n

Web Application

\n

\n
\n
\n
\n
\n
\n \n
\n

Self Service Kiosk

\n

\n
\n
\n
\n
\n
\n
\n","import { Component, OnInit } from '@angular/core';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { UserModel } from '@app/core/models/user/user.model';\nimport { isLoggedInSelector } from '@app/core/store/auth/selector';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { getUserSelector } from '@app/core/store/user/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { select, Store } from '@ngrx/store';\nimport { Select } from '@ngxs/store';\nimport { Observable, Subscription } from 'rxjs';\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\n\n@Component({\n selector: 'app-account-details',\n templateUrl: './account-details.component.html',\n styleUrls: ['./account-details.component.scss']\n})\nexport class AccountDetailsComponent implements OnInit {\n\n public selectedMenuItem: string = 'Account Info';\n public isLoggedIn: boolean = false;\n public openDashboard: boolean = false;\n\n private clientData: ClientModel;\n private userData: UserModel;\n private subscription: Subscription;\n public themeLogo: string = '';\n\n public balance: number = 0;\n public rewardsBalance: number = 0;\n public firstName: string = \"\";\n public lastName: string = \"\";\n public accountNumber: number = 0;\n public userPhoto: string;\n\n @Select(AuthState.isLoggedIn) isLoggedIn$: Observable;\n\n constructor(private store: Store) { \n this.subscription = new Subscription();\n \n this.subscription.add(this.isLoggedIn$.subscribe(data => {\n this.isLoggedIn = data;\n }));\n\n \n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n });\n\n this.subscription.add(this.store.pipe(select(getUserSelector)).subscribe(data => {\n if (data) {\n this.userData = data.userData!;\n this.accountNumber = data.userData?.userAccountNumber ?? 0;\n this.firstName = data.userData?.userDetail?.firstName ?? \"\";\n this.lastName = data.userData?.userDetail?.lastName ?? \"\";\n this.balance = data.userData?.account.balance ?? 0;\n this.rewardsBalance = data.userData?.account.axBalance ?? 0;\n this.userPhoto = data.userData?.userPhoto ?? \"\";\n }\n }));\n }\n\n ngOnInit(): void {\n }\n\n ToggleDashboard() {\n this.openDashboard = !this.openDashboard;\n }\n\n changeContent(menuItem: string) {\n this.selectedMenuItem = menuItem;\n }\n\n}","\n\n\n
\n
\n
\n
\n \n
\n
\n \n back\n \n
\n \n
\n
\n
\n
\n
\n
\n

My Dashboard

\n
\n
\n

Hello, {{ firstName }} {{ lastName }} !

\n

From your My Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. Select a link below to view or edit information.

\n
\n \n
\n
\n
\n
\n
\n
\n\n","import { Component, Inject, OnInit, PLATFORM_ID } from '@angular/core';\nimport { NavigationExtras, Router } from '@angular/router';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { isLoggedInSelector } from '@app/core/store/auth/selector';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { AuthorizedUser } from '@app/shared/classes/authorized';\nimport { Product } from '@app/shared/classes/product';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { select, Store } from '@ngrx/store';\nimport { Observable, Subscription } from 'rxjs';\nimport { Location } from '@angular/common';\nimport { Select } from '@ngxs/store';\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\n\n@Component({\n selector: 'app-cart',\n templateUrl: './cart.component.html',\n styleUrls: ['./cart.component.scss']\n})\nexport class CartComponent implements OnInit {\n\n private clientData: ClientModel;\n private subscription: Subscription;\n public isLoggedIn: boolean = false;\n\n public products: Product[] = [];\n quantity: number = 1;\n public adjustmentAllowed: boolean = true;\n public itemTotal: number;\n\n public themeLogo: string = '';\n public contactUsEmail: string = '';\n @Select(AuthState.isLoggedIn) isLoggedIn$: Observable;\n\n constructor(@Inject(PLATFORM_ID) private platformId: Object,\n public productService: ProductService,\n private router: Router,\n private store: Store,\n private location: Location) {\n this.subscription = new Subscription();\n\n this.subscription.add(this.isLoggedIn$.subscribe(data => {\n this.isLoggedIn = data;\n }));\n this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n\n this.productService.cartItems.subscribe(response => {\n this.products = response\n });\n }\n\n ngOnInit(): void {\n }\n\n incrementQuantity(index: number) {\n if (this.products[index].title.toLocaleLowerCase().indexOf('delivery') != -1) {\n } else {\n this.products[index].quantity += 1;\n this.itemTotal = this.products[index].price * this.products[index].quantity;\n }\n }\n\n decrementQuantity(index: number) {\n if (this.products[index].title.toLocaleLowerCase().indexOf('delivery') != -1) {\n } else {\n if (this.products[index].quantity > 1) {\n this.products[index].quantity -= 1;\n }\n }\n }\n\n calculateItemTotal(index: number): number {\n const product = this.products[index];\n return product.price * product.quantity; // Only multiply price by quantity\n }\n\n updateQuantity(event: Event, index: number) {\n if (this.products[index].title.toLocaleLowerCase().indexOf('delivery') != -1) {\n } else {\n const inputElement = event.target as HTMLInputElement;\n const newQuantity = parseInt(inputElement.value);\n this.updateItemQty(index, newQuantity);\n }\n }\n\n updateItemQty(index: number, qty: number) {\n this.products[index].quantity += qty;\n }\n\n updateItem(product: any, quantity: number) {\n this.productService.updateCartQuantity(product, quantity);\n }\n\n get getTotal(): Observable {\n return this.productService.cartTotalAmount();\n }\n\n removeItem(product: any) {\n if (product.title.toLocaleLowerCase().indexOf('delivery') != -1) {\n } else {\n this.productService.removeCartItem(product);\n }\n }\n\n goBack(): void {\n this.location.back();\n }\n\n onCheckOut() {\n this.router.navigate(['/home/account/checkout'])\n .catch(error => console.log('Navigation error:', error));\n }\n\n}","\n\n\n
\n
\n
\n \n

Your Cart is Empty

\n

Add something to your card right now :)

\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
imageproduct namepricequantityactiontotal
\n \n
0\">\n \n
\n
\n
\n \n \n {{ product?.title }}\n \n

{{incCat.categoryName}}

\n
{{incProd.productName}}
\n
\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n
\n

{{ product.price }}

\n
\n
\n

\n \n \n \n

\n
\n
\n

{{ product?.price * productService?.Currency.price | discount:product | currency:productService?.Currency.currency:'symbol' }}

\n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n
\n \n
\n

\n {{ calculateItemTotal(i) | currency:productService?.Currency.currency:'symbol' }}\n

\n \n \n \n \n \n \n \n \n
total price :

{{ getTotal | async | currency:productService?.Currency.currency:'symbol' }}

\n
\n
\n
\n \n
\n check out\n
\n
\n
\n
\n\n","import { Component, ElementRef, Inject, OnDestroy, OnInit, PLATFORM_ID, ViewChild } from '@angular/core';\nimport { Location } from '@angular/common';\nimport { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\nimport { VendorOrderResponseModel } from '@app/core/models/cart/vendor-order-response.model';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { ClientStoreModel } from '@app/core/models/client/clientstore.model';\nimport { ProductStoreModel } from '@app/core/models/product/productStore.model';\nimport { UserModel } from '@app/core/models/user/user.model';\nimport { WebOrderItemModel } from '@app/core/models/weborder/weborder-item.model';\nimport { AuthService, ClientService, DataService, StoreService } from '@app/core/services';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { Product } from '@app/shared/classes/product';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { select, Store } from '@ngrx/store';\nimport { Store as ngsxStore } from \"@ngxs/store\";\nimport { Observable, Subscription, timer } from 'rxjs';\nimport { List } from 'immutable';\nimport { WebOrderModel } from '@app/core/models/weborder/weborder.model';\nimport { ToastrService } from 'ngx-toastr';\nimport * as AuthActions from '@app/core/store/auth//actions';\nimport { loginFailSelector } from '@app/core/store/auth/selector';\nimport { NavigationExtras, Router } from '@angular/router';\nimport { getUserSelector } from '@app/core/store/user/selectors';\nimport { NgxSpinnerService } from 'ngx-spinner';\nimport { PaymentFormComponent } from '@app/shared/components/modal/payment-form/payment-form.component';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { IveriModalComponent } from 'src/@allxs/components/iveri-modal/iveri-modal.component';\nimport { OrderSummary } from '@app/shared/classes/order-summary';\nimport { CustomValidators } from '@app/core/validators/password-validator';\nimport { RegistrationModel } from '@app/core/models/account/registration.model';\nimport { Select, Select as StoreSelect } from '@ngxs/store';\nimport { VendorState } from 'src/@allxs/store/state/vendor.state';\nimport { VendorStoreModel } from '@app/core/models/vendor/vendor-store.model';\nimport { NavService } from '@app/shared/services/nav.service';\nimport Swal from 'sweetalert2'\nimport { PaygateModalComponent } from 'src/@allxs/components/paygate-modal/paygate-modal.component';\nimport { PeachModalComponent } from 'src/@allxs/components/peach-modal/peach-modal.component';\nimport { config } from \"../../../core/app.config\";\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\nimport { User_UpdateTransactions } from 'src/@allxs/store/actions/user.action';\nimport { GetVendorDeliveryAction } from 'src/@allxs/store/actions/vendor.actions';\n\n@Component({\n selector: 'app-checkout',\n templateUrl: './checkout.component.html',\n styleUrls: ['./checkout.component.scss']\n})\nexport class CheckoutComponent implements OnInit, OnDestroy {\n\n public shippingFirstName = \"\";\n public shippingLastName = \"\";\n public shippingCompanyName = \"\";\n public shippingAddress = \"\";\n public shippingCountry = \"\";\n public shippingState = \"\";\n public shippingCity = \"\";\n public shippingPostalCode = \"\";\n public shippingPhone = \"\";\n\n\n public billingFirstName = \"\";\n public billingLastName = \"\";\n public billingCompanyName = \"\";\n public billingAddress = \"\";\n public billingCountry = \"\";\n public billingState = \"\";\n public billingCity = \"\";\n public billingPostalCode = \"\";\n public billingPhone = \"\";\n\n public shipMethodRate = \"\";\n\n public paymentMethodData = \"\";\n\n public productAddedToCart: Array;\n public productTotal: any;\n public productTax: any;\n\n public notes = \"\";\n\n public isProcessingPayment: boolean = false;\n public isLoggedIn: boolean = false;\n public isVendorLanding: boolean = false;\n public isGuestLoggedIn: boolean = false;\n public isGuestRegistration: boolean = false;\n public isRoomServiceVendor: boolean = false;\n public isTableServiceVendor: boolean = false;\n public isDeliverySlotServiceVendor: boolean = false;\n public activeTab: string = 'login';\n\n public products: Product[] = [];\n\n clientData: ClientModel;\n userData: UserModel;\n clientStoreData: ClientStoreModel;\n public tableInquiry: boolean = false;\n progress: string = \"normal\";\n updateTimerSubscription: Subscription;\n updateTimer: any = null;\n progressMessage: string = \"\";\n topupFee: number = 0;\n topupComplete: boolean = false;\n public dialogVisibility: boolean = false;\n public themeLogo: string = '';\n\n private subscription: Subscription = new Subscription();\n private method: string = 'iveri';\n private purchaseFee: number = 0;\n\n public orderNumber: number = 0;\n public bidvest: boolean = false;\n\n public vendorOrderResponse: List;\n public hasError: boolean = false;\n public vendorCollectionPoint: string = \"\";\n public absaImage: string = 'assets/images/pickup.jpg'\n\n public registrationForm: FormGroup;\n public loginForm: FormGroup;\n public allowCCPayment: boolean = false;\n emailVerified: boolean = true;\n submitted: boolean = false;\n submitting: boolean = false;\n passwordVisible = false;\n deliveryReady: boolean = true;\n firstTime = true;\n public vendorId: number = 0;\n private deliveryInfo: any = null;\n fulfillmentData: any\n address: any = { streetName: '', streetNumber: '', suburb: '', city: '', postalCode: '', country: '' };\n\n isAddressServiceVendor: boolean = false;\n roomServiceDelivery: boolean = false;\n addressServiceDelivery: boolean = false;\n public addressFormData: FormGroup;\n\n @ViewChild(\"iveriModal\") iveriModal: IveriModalComponent;\n @ViewChild(\"paygateModal\") paygateModal: PaygateModalComponent;\n @ViewChild(\"peachModal\") peachModal: PeachModalComponent;\n @ViewChild(\"paymentForm\") PaymentForm: PaymentFormComponent;\n @ViewChild(\"addressForm\") addressForm: FormGroup;\n\n @StoreSelect(VendorState.selectedVendor) selectedVendor$: Observable;\n @Select(AuthState.isLoggedIn) loggedInState$: Observable;\n\n constructor(@Inject(PLATFORM_ID) private platformId: Object,\n private authService: AuthService,\n private storeService: StoreService,\n private clientService: ClientService,\n private dataService: DataService,\n public productService: ProductService,\n public navServices: NavService,\n private toastr: ToastrService,\n private store: Store,\n private ngsxStore: ngsxStore,\n private spinner: NgxSpinnerService,\n private router: Router,\n private fb: FormBuilder,\n private location: Location,\n private sanitizer: DomSanitizer) {\n\n this.addressFormData = this.fb.group({\n telephoneNumber: new FormControl(\"\", [Validators.required]),\n streetAddress: new FormControl(\"\", [Validators.required]),\n suburb: new FormControl(\"\", [Validators.required]),\n city: new FormControl(\"\", [Validators.required]),\n province: new FormControl(\"\", [Validators.required]),\n postalCode: new FormControl(\"\", [Validators.required]),\n });\n this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.firstTime = true;\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n\n if (data.vendors.length === 1 &&\n data.clientData.startPage.toLowerCase() !== 'dashboard') {\n let vendor = data.vendors[0];\n\n if (vendor.vendorId == 4265) {\n this.isRoomServiceVendor = true;\n }\n\n if (vendor.vendorId == 4705) {\n this.isAddressServiceVendor = true;\n }\n\n if (vendor.vendorId == 39) {\n this.isAddressServiceVendor = true;\n }\n\n if (vendor != null) {\n this.isVendorLanding = true;\n this.allowCCPayment ||= data.clientData.merchant.ccPurchaseEnabled == true;\n this.isDeliverySlotServiceVendor ||= vendor.vendorData.orderCompletion.hasTimeSlotDelivery == true;\n //this.isRoomServiceVendor ||= vendor.vendorData.orderCompletion.hasRoomDelivery == true;\n this.isTableServiceVendor ||= vendor.vendorData.orderCompletion.hasTableDelivery == true;\n this.deliveryReady = vendor.vendorData.orderCompletion.hasTimeSlotDelivery == false;\n }\n }\n else {\n\n data.vendors.forEach(vendor => {\n\n if (vendor.vendorId == 4265) {\n this.isRoomServiceVendor = true;\n }\n\n if (vendor.vendorId == 4705) {\n this.isAddressServiceVendor = true;\n }\n\n if (vendor.vendorId == 39) {\n this.isAddressServiceVendor = true;\n }\n\n\n this.allowCCPayment ||= data.clientData.merchant.ccPurchaseEnabled == true;\n this.isDeliverySlotServiceVendor ||= vendor.vendorData.orderCompletion.hasTimeSlotDelivery == true;\n //this.isRoomServiceVendor ||= vendor.vendorData.orderCompletion.hasRoomDelivery == true;\n this.isTableServiceVendor ||= vendor.vendorData.orderCompletion.hasTableDelivery == true;\n this.deliveryReady ||= vendor.vendorData.orderCompletion.hasTimeSlotDelivery == false;\n });\n }\n }\n })\n\n this.store.pipe(select(loginFailSelector)).subscribe(data => {\n if (data) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!!\",\n text: data,\n confirmButtonColor: \"#3085d6\"\n });\n //this.toastr.error(data);\n this.submitting = false;\n }\n })\n\n // this.subscription.add(this.store.pipe(select(loginSuccessSelector)).subscribe(data => {\n // if (data === true) {\n // //this.toastr.success(\"User Login Successful\", \"Welcome Back!!\");\n // Swal.fire({\n // icon: \"success\",\n // title: \"Welcome Back!!\",\n // text: \"User Login Successful.\",\n // confirmButtonColor: \"#3085d6\",\n // }).then((result) => {\n // if (result.isConfirmed) {\n // this.router.navigate(['/home/account/checkout']);\n // }\n // });\n // }\n // }));\n\n if (this.isLoggedIn) {\n this.navServices.updateMenuItems(this.isLoggedIn, this.isVendorLanding);\n }\n\n this.productService.cartItems.subscribe(response => {\n this.products = response;\n //this.isRoomServiceVendor = this.products.some(product => product.place.toLowerCase() === 'Room Service Vendor'.toLowerCase());\n });\n\n this.loginForm = this.createLoginForm();\n this.registrationForm = this.createRegistrationForm();\n }\n\n\n onFormChange(event) {\n }\n\n onRoomServiceTypeChange(event) {\n this.roomServiceDelivery = (event.target.value ?? \"collect\").toUpperCase() === \"DELIVER\";\n }\n\n onAddressServiceTypeChange(event) {\n this.addressServiceDelivery = (event.target.value ?? \"collect\").toUpperCase() === \"DELIVER\";\n }\n\n ngOnInit(): void {\n\n let that = this;\n this.firstTime = true;\n\n this.subscription.add(this.loggedInState$.subscribe(data => {\n that.isLoggedIn = data;\n if (!this.firstTime && that.isLoggedIn) {\n Swal.fire({\n icon: \"success\",\n title: \"Welcome Back!!\",\n text: \"User Login Successful.\",\n confirmButtonColor: \"#3085d6\",\n }).then((result) => {\n if (result.isConfirmed) {\n this.router.navigate(['/home/account/checkout']);\n }\n });\n }\n this.firstTime = false;\n }));\n\n this.subscription.add(this.store.pipe(select(getUserSelector)).subscribe(data => {\n if (this.isLoggedIn) {\n that.userData = data.userData as UserModel;\n }\n }));\n\n if (this.userData) {\n this.activeTab = 'order';\n }\n\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n if (data == null) {\n return;\n }\n that.clientData = data.clientData;\n if (that.clientData.clientName == 'Bidvest Lounge') {\n that.bidvest = true;\n }\n that.clientStoreData = data;\n that.notes = that.storeService.getTableData() ?? \"\";\n that.paymentMethodData == 'cashless';\n if (this.isDeliverySlotServiceVendor == true) {\n this.ngsxStore.dispatch(new GetVendorDeliveryAction(data.vendors[0].vendorData.vendorId));\n }\n }\n }));\n }\n\n ngOnDestroy(): void {\n this.unSubscribe();\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n\n get l() {\n return this.loginForm.controls;\n }\n\n showGuestCheckoutForm() {\n this.isGuestRegistration = true\n }\n\n createLoginForm(): FormGroup {\n return this.fb.group({\n userName: new FormControl(\"\", [Validators.required, Validators.email]),\n password: new FormControl(\"\", [Validators.required]),\n remember: [\"\"]\n });\n }\n\n get f() {\n return this.registrationForm.controls;\n }\n\n createRegistrationForm(): FormGroup {\n return this.fb.group(\n {\n firstName: new FormControl(\"\", [Validators.required]),\n lastName: new FormControl(\"\", [Validators.required]),\n emailAddress: new FormControl(\"\", [Validators.required, Validators.email]),\n password: new FormControl(\"\", Validators.compose([Validators.required,\n CustomValidators.patternValidator(/\\d/, { hasNumber: true }),\n CustomValidators.patternValidator(/[A-Z]/, { hasCapitalCase: true }),\n CustomValidators.patternValidator(/[a-z]/, { hasSmallCase: true }),\n CustomValidators.patternValidator(/[!@#$%^&*(),.?\":{}|<>]/, { hasSpecialCharacters: true }),\n Validators.minLength(8)\n ])),\n confirmPassword: new FormControl(\"\", [Validators.required]),\n },\n {\n validator: this.paswordMatchValidator.bind(this)\n }\n );\n }\n\n paswordMatchValidator(control: AbstractControl): { [key: string]: boolean } | null {\n const password = control.get('password')?.value;\n const confirmPassword = control.get('confirmPassword')?.value;\n\n return password === confirmPassword ? null : { mismatch: true };\n }\n\n\n get getTotal(): Observable {\n return this.productService.cartTotalAmount();\n }\n\n login(event: any) {\n this.submitted = true;\n if (this.loginForm.invalid) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!!\",\n text: \"Invalid credentials!\",\n confirmButtonColor: \"#3085d6\"\n });\n return;\n }\n if (this.loginForm.invalid) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!!\",\n text: \"Invalid credentials!\",\n confirmButtonColor: \"#3085d6\"\n });\n return;\n }\n this.submitting = true;\n this.store.dispatch(AuthActions.loginUser({ clientId: this.clientData.clientId, userName: this.l.userName.value, password: this.l.password.value, resultUrl: '/home/account/checkout' }));\n }\n\n register(event: any) {\n let that = this;\n this.submitted = true;\n this.submitting = true;\n event.preventDefault();\n\n if (!(this.clientData.clientId > -1)) {\n this.submitting = false;\n return;\n }\n if (this.registrationForm.invalid) {\n this.submitting = false;\n return;\n }\n\n this.pleaseWait(\"Registering\", \"Please wait while we register you.\");\n var regData: RegistrationModel = new RegistrationModel();\n regData.ClientId = this.clientData.clientId;\n regData.URL = window.location.href.split(\"/\")[0] + \"//\" + window.location.href.split(\"/\")[2];\n regData.Email = this.f.emailAddress.value;\n regData.FirstName = this.f.firstName.value;\n regData.LastName = this.f.lastName.value;\n regData.Password = this.f.password.value;\n regData.ConfirmPassword = this.f.confirmPassword.value;\n regData.EmailVerified = this.emailVerified;\n regData.Terms = true;\n this.authService.register(regData).subscribe({\n next: (data: any) => {\n that.submitting = false;\n Swal.close();\n setTimeout(() => {\n this.autoLogon(regData.Email as string, regData.Password as string);\n }, 3000); //5s\n },\n error: (errorResponse: any) => {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: errorResponse ?? \"Error\",\n confirmButtonColor: \"#3085d6\"\n });\n // that.toastr.error(\n // errorResponse.error.Message,\n // \"Oh No!\", { enableHtml: true }\n // );\n that.submitting = false;\n that.f.emailAddress.setValue(\"\");\n }\n });\n }\n\n processCashlessOrder() {\n let that = this;\n this.submitting = true;\n\n this.getTotal.subscribe(total => {\n this.productTotal = total;\n });\n\n var order = new WebOrderModel();\n order.orderDate = new Date();\n order.orderTotal = this.productTotal;\n\n if (this.isAddressServiceVendor && this.addressServiceDelivery) {\n if (!this.addressFormData.valid) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please enter your complete address.\",\n confirmButtonColor: \"#3085d6\"\n });\n return;\n }\n else {\n order.instructions = \"Deliver : \" + this.notes + JSON.stringify(this.addressFormData.value);\n }\n }\n else if (this.isAddressServiceVendor && !this.addressServiceDelivery) {\n order.instructions = \"Collect\";\n }\n else if (this.fulfillmentData != null) {\n order.instructions = \"Deliver : \" + this.notes + this.fulfillmentData;\n }\n else if (this.deliveryInfo == null) {\n order.instructions = this.notes;\n } else {\n order.orderDate = this.deliveryInfo.date;\n this.deliveryInfo.notes = this.notes;\n order.instructions = JSON.stringify(this.deliveryInfo);\n }\n\n if (this.isLoggedIn || this.isGuestLoggedIn) {\n order.userId = this.userData.userId;\n }\n order.items = [];\n this.products.forEach(product => {\n let webOrderItemModel: WebOrderItemModel = {\n productId: product.id,\n quantity: product.quantity,\n totalAmount: product.quantity * (product.basePrice != undefined ? product.basePrice : product.price),\n data: '',\n productType: product.productType,\n attributes: product.attributes,\n itemDetail: null\n };\n webOrderItemModel.itemDetail = [];\n if (product.salesincludes != null) {\n webOrderItemModel.itemDetail = product.salesincludes.filter(x => x.items.length > 0);\n webOrderItemModel.itemDetail.forEach(x => { x.items.forEach(y => { y.quantity = product.quantity; y.value = y.value * product.quantity; }) });\n }\n\n order.items.push(webOrderItemModel);\n })\n\n that.hasError = false;\n\n that.isProcessingPayment = true;\n this.spinner.show();\n this.clientService.placeWebOrder(this.clientData.clientId, order, this.isLoggedIn)\n .subscribe({\n next: (data: any) => {\n that.hasError = false;\n console.log(data);\n that.vendorOrderResponse = data.vendorResponse;\n that.vendorOrderResponse.forEach(x => {\n x.state = x.state.toUpperCase()\n if (!x.state.toLocaleLowerCase().includes(\"ok\")) {\n that.hasError = true;\n // that.toastr.error(x.errorMessage, \"Allxs Payment Failed!\", { enableHtml: true });\n Swal.fire({\n icon: \"error\",\n title: \"Allxs Payment Failed!\",\n text: x.errorMessage,\n confirmButtonColor: \"#3085d6\"\n });\n } else {\n if (!that.hasError) {\n let orderSummary: OrderSummary = {\n vendorOrderResponse: that.vendorOrderResponse[0],\n productSummary: this.products,\n paymentMethod: 'Allxs Account',\n orderTotal: this.productTotal\n }\n\n const navigationExtras: NavigationExtras = {\n state: { data: orderSummary }\n };\n this.productService.clearCart();\n\n this.ngsxStore.dispatch(new User_UpdateTransactions(this.userData.userId));\n this.router.navigate(['/home/account/order/result'], navigationExtras)\n .catch(error => console.log('Navigation error:', error));\n\n }\n }\n\n that.isProcessingPayment = false;\n this.spinner.hide();\n this.submitting = false;\n });\n },\n error: (error: any) => {\n that.isProcessingPayment = false;\n this.spinner.hide();\n // that.toastr.error('Post fail!', 'Oh no you order failed ');\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Your order failed\",\n confirmButtonColor: \"#3085d6\"\n });\n this.submitting = false;\n }\n });\n }\n\n addBillingData() {\n const formData = {\n shippingFirstName: this.shippingFirstName,\n shippingLastName: this.shippingLastName,\n shippingCompanyName: this.shippingCompanyName,\n shippingAddress: this.shippingAddress,\n shippingCountry: this.shippingCountry,\n shippingState: this.shippingState,\n shippingCity: this.shippingCity,\n\n shippingPostalCode: this.shippingPostalCode,\n shippingPhone: this.shippingPhone,\n\n billingFirstName: this.billingFirstName,\n billingLastName: this.billingLastName,\n billingCompanyName: this.billingCompanyName,\n billingAddress: this.billingAddress,\n billingCountry: this.billingCountry,\n billingState: this.billingState,\n billingCity: this.billingCity,\n\n billingPostalCode: this.billingPostalCode,\n billingPhone: this.billingPhone,\n\n }\n\n localStorage.setItem('orderData', JSON.stringify(formData));\n }\n\n addShipMethodData() {\n const formData = {\n shippingFirstName: this.shippingFirstName,\n shippingLastName: this.shippingLastName,\n shippingCompanyName: this.shippingCompanyName,\n shippingAddress: this.shippingAddress,\n shippingCountry: this.shippingCountry,\n shippingState: this.shippingState,\n shippingCity: this.shippingCity,\n\n shippingPostalCode: this.shippingPostalCode,\n shippingPhone: this.shippingPhone,\n\n billingFirstName: this.billingFirstName,\n billingLastName: this.billingLastName,\n billingCompanyName: this.billingCompanyName,\n billingAddress: this.billingAddress,\n billingCountry: this.billingCountry,\n billingState: this.billingState,\n billingCity: this.billingCity,\n\n billingPostalCode: this.billingPostalCode,\n billingPhone: this.billingPhone,\n\n shipMethodRate: this.shipMethodRate,\n\n\n products: this.productAddedToCart,\n }\n\n\n localStorage.setItem('orderData', JSON.stringify(formData));\n }\n\n onPlaceOrder() {\n if (this.isLoggedIn && (!this.paymentMethodData || this.paymentMethodData == '')) {\n // this.toastr.error(\"Please select a payment method!\", \"Oh no!\");\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please select a payment method!\",\n confirmButtonColor: \"#3085d6\"\n });\n return;\n }\n\n if (this.isRoomServiceVendor && this.roomServiceDelivery && this.notes.trim() == '') {\n // this.toastr.error(\"Please enter your room service number!\", \"Oh no!\");\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please enter your room service number\",\n confirmButtonColor: \"#3085d6\"\n });\n return;\n }\n\n if (this.isAddressServiceVendor && this.addressServiceDelivery && !this.addressFormData.valid) {\n // this.toastr.error(\"Please enter your room service number!\", \"Oh no!\");\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please enter your Address information!\",\n confirmButtonColor: \"#3085d6\"\n });\n return;\n }\n\n if (this.isLoggedIn && this.paymentMethodData == 'cashless') {\n this.processCashlessOrder();\n }\n else if (!this.isLoggedIn || this.paymentMethodData == 'nedbank') {\n this.processCCardOrder();\n }\n }\n\n isPayGateGateway() {\n if (this.clientData.merchant.topupType == 'EFT_AND_PAYGATE' ||\n this.clientData.merchant.topupType == 'PayGate') {\n return true;\n }\n }\n\n isIveriGateway() {\n if (this.clientData.merchant.topupType == 'EFT_AND_CC' ||\n this.clientData.merchant.topupType == 'CC') {\n return true;\n }\n }\n\n isPeachGateway() {\n if (this.clientData.merchant.topupType.toLowerCase() == 'eft_and_peach' ||\n this.clientData.merchant.topupType.toLowerCase() == 'peach') {\n return true;\n }\n }\n\n\n processCCardOrder() {\n this.processCardOrder();\n }\n\n pleaseWait(title: string, message: string, duration: number = 60000) {\n Swal.fire({\n imageUrl: \"images/ajaxloader.gif\",\n title: title,\n text: message,\n showConfirmButton: false,\n allowOutsideClick: false,\n timer: duration\n });\n }\n\n\n\n processCardOrder() {\n let that = this;\n this.submitting = true;\n this.getTotal.subscribe(total => {\n this.productTotal = total;\n });\n\n var order = new WebOrderModel();\n order.orderDate = new Date();\n order.orderTotal = this.productTotal;\n\n if (this.isAddressServiceVendor && this.addressServiceDelivery) {\n if (!this.addressFormData.valid) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please enter your complete address.\",\n confirmButtonColor: \"#3085d6\"\n });\n }\n else {\n order.instructions = \"Deliver : \" + this.notes + JSON.stringify(this.addressFormData.value);\n }\n }\n else if (this.isAddressServiceVendor && !this.addressServiceDelivery) {\n order.instructions = \"Collect\";\n }\n else if (this.fulfillmentData != null) {\n order.instructions = \"Deliver : \" + this.notes + this.fulfillmentData;\n }\n else if (this.deliveryInfo == null) {\n order.instructions = this.notes;\n } else {\n order.orderDate = this.deliveryInfo.date;\n this.deliveryInfo.notes = this.notes;\n order.instructions = JSON.stringify(this.deliveryInfo);\n }\n\n order.topupNotifyURL = config.TRIOSAPI;\n order.sessionId = this.dataService.cartSessionId;\n if (this.isLoggedIn || this.isGuestLoggedIn) {\n order.userId = this.userData.userId;\n }\n\n order.items = [];\n this.products.forEach(product => {\n let webOrderItemModel: WebOrderItemModel = {\n productId: product.id,\n quantity: product.quantity,\n totalAmount: product.quantity * product.price,\n data: '',\n itemDetail: null\n };\n webOrderItemModel.itemDetail = [];\n if (product.salesincludes != null) {\n webOrderItemModel.itemDetail = product.salesincludes.filter(x => x.items.length > 0);\n }\n order.items.push(webOrderItemModel);\n });\n\n\n this.pleaseWait(\"Contacting Bank\", \"Please wait while we contact the card provider.\")\n this.clientService.placeWebCardOrder(this.clientData.clientId, order, \"checkout\")\n .subscribe({\n next: (data: any) => {\n if (data == null) {\n return;\n }\n Swal.close();\n\n if (this.isPayGateGateway()) {\n if (data.state) {\n this.paygateModal.openModal(data.merchantAccount, data.state, data.orderId);\n this.paygateModal.paygateFail.subscribe(x => {\n Swal.fire({\n icon: \"error\",\n title: \"Card Payment Failed!\",\n text: \"Payment could not be processed at this time.\",\n showConfirmButton: false,\n timer: 3000\n });\n });\n\n this.paygateModal.paygateSuccess.subscribe(x => {\n Swal.fire({\n icon: \"success\",\n title: \"Payment Successful!\",\n text: that.progressMessage,\n showConfirmButton: false,\n timer: 3000\n });\n\n let orderSummary: OrderSummary = {\n vendorOrderResponse: x[0],\n productSummary: this.products,\n paymentMethod: 'Credit Card',\n orderTotal: this.productTotal\n }\n\n const navigationExtras: NavigationExtras = {\n state: { data: orderSummary }\n };\n this.ngsxStore.dispatch(new User_UpdateTransactions(this.userData.userId));\n\n this.router.navigate(['/home/account/order/result'], navigationExtras)\n .catch(error => console.log('Navigation error:', error));\n this.productService.clearCart();\n });\n } else {\n Swal.fire({\n icon: \"error\",\n title: \"Card Payment Failed!\",\n text: \"Payment could not be processed at this time.\",\n showConfirmButton: false,\n timer: 3000\n });\n }\n\n }\n else if (this.isIveriGateway()) {\n this.iveriModal.openModal(config.apiportal, data.merchantAccount, that.clientData.accountOwnerId, that.clientData.fromEmail, data.orderId, that.productTotal * 100);\n this.iveriModal.iveriFail.subscribe(( x : any) => {\n Swal.fire({\n icon: \"error\",\n title: \"Card Payment Failed!\",\n text: x.Description,\n showConfirmButton: false,\n timer: 3000\n });\n });\n\n this.iveriModal.iveriSuccess.subscribe(x => {\n Swal.fire({\n icon: \"success\",\n title: \"Payment Successful!\",\n text: that.progressMessage,\n showConfirmButton: false,\n timer: 3000\n });\n let orderSummary: OrderSummary = {\n //vendorOrderResponse: x[0],\n productSummary: this.products,\n paymentMethod: 'Credit Card',\n orderTotal: this.productTotal\n }\n\n const navigationExtras: NavigationExtras = {\n state: { data: orderSummary }\n };\n this.ngsxStore.dispatch(new User_UpdateTransactions(this.userData.userId));\n this.router.navigate(['/home/account/order/result'], navigationExtras)\n .catch(error => console.log('Navigation error:', error));\n this.productService.clearCart();\n });\n } else if (this.isPeachGateway()) {\n this.peachModal.openModal(data.depositId, data.entityId, data.requestId);\n this.peachModal.peachReady.subscribe(resultData => {\n Swal.close();\n })\n this.peachModal.peachFail.subscribe(x => {\n Swal.fire({\n icon: \"error\",\n title: \"Card Payment Failed!\",\n text: \"Payment could not be processed at this time.\",\n showConfirmButton: false,\n timer: 3000\n });\n });\n this.peachModal.peachSuccess.subscribe(resultData => {\n Swal.fire({\n icon: \"success\",\n title: \"Payment Successful!\",\n text: that.progressMessage,\n showConfirmButton: false,\n timer: 3000\n });\n\n if (resultData.Result == \"OK\") {\n that.dataService.lastStoreOrder = resultData.OrderResponse;\n that.progressMessage = \"Bank response!

\" + resultData.Description + \"

\";\n that.orderNumber = resultData.Description;\n\n that.vendorOrderResponse = resultData.OrderResponse.vendorResponse\n that.storeService.emptyCart();\n\n }\n let orderSummary: OrderSummary = {\n vendorOrderResponse: resultData.OrderResponse.vendorResponse,\n productSummary: this.products,\n paymentMethod: 'Credit Card',\n orderTotal: this.productTotal\n }\n\n const navigationExtras: NavigationExtras = {\n state: { data: orderSummary }\n };\n\n this.ngsxStore.dispatch(new User_UpdateTransactions(this.userData.userId));\n this.router.navigate(['/home/account/order/result'], navigationExtras)\n .catch(error => console.log('Navigation error:', error));\n this.productService.clearCart();\n });\n }\n },\n error: (error: any) => {\n // this.toastr.error(error, 'Oh no your order failed ' + error);\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Your order failed!\",\n showConfirmButton: false,\n timer: 3000\n });\n this.submitting = false;\n }\n });\n window.scroll({\n top: 0,\n left: 0,\n behavior: 'smooth'\n });\n }\n\n onCreditCardCheckout() {\n this.isGuestRegistration = true;\n this.authService.isGuest = true;\n }\n\n postToPaygate(requestId: any, checksum: any) {\n this.postPaygate('https://secure.paygate.co.za/payweb3/process.trans',\n {\n PAY_REQUEST_ID: requestId,\n CHECKSUM: checksum\n });\n }\n\n postPaygate(path: any, parameters: any) {\n var form = $('
');\n form.attr(\"method\", \"post\");\n form.attr(\"action\", path);\n $.each(parameters, function (key, value) {\n var field = $('');\n field.attr(\"type\", \"hidden\");\n field.attr(\"name\", key.toString());\n field.attr(\"value\", value);\n form.append(field);\n });\n try {\n $(\"#paygatepayreceiver\").remove('#paygatetestform');\n } catch (e) {\n // console.log(e);\n }\n $(\"#paygatepayreceiver\").append(form);\n form.submit();\n }\n\n\n public unSubscribe() {\n if (this.updateTimerSubscription) {\n this.updateTimer = null;\n this.updateTimerSubscription.unsubscribe();\n }\n }\n\n closeTimer() {\n var _closeTimer = timer(3000, 0);\n var _subscription = _closeTimer.subscribe(x => {\n this.progress = \"normal\";\n _subscription.unsubscribe();\n });\n this.updateTimer = null;\n }\n\n autoLogon(userName: string, password: string) {\n let that = this;\n this.authService.loginUser(this.clientData.clientId, userName, password, false, '/home/account/checkout')\n .subscribe({\n next: (data: any) => {\n that.isGuestLoggedIn = true;\n that.paymentMethodData = 'nedbank'\n that.activeTab = 'order';\n },\n error: (errorResponse: any) => {\n // console.log(errorResponse);\n this.submitting = false;\n if (errorResponse === \"Unknown Error\") {\n // this.toastr.error(\"Server error. Check you internet connection!\", \"Oh No!\", {\n // progressBar: true,\n // timeOut: 3000\n // });\n\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Server error. Check you internet connection!\",\n showConfirmButton: false,\n timer: 3000\n });\n }\n else if ((errorResponse.error !== null) && (errorResponse.error !== undefined)) {\n try {\n // this.toastr.error(errorResponse.error_description, \"Oh No!\", {\n // progressBar: true,\n // timeOut: 3000\n // });\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: errorResponse.error_description,\n showConfirmButton: false,\n timer: 3000\n });\n }\n catch (ex) {\n // alert(JSON.stringify(errorResponse));\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: JSON.stringify(errorResponse),\n showConfirmButton: false,\n timer: 3000\n });\n }\n }\n else {\n // this.toastr.error(\"Something went wrong. Please check your credentials and try again.\", \"Oh No!\", {\n // progressBar: true,\n // timeOut: 3000\n // });\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Something went wrong. Please check your credentials and try again.\",\n showConfirmButton: false,\n timer: 3000\n });\n }\n }\n })\n }\n\n generatePassword(): string {\n let chars = \"0123456789abcdefghijklmnopqrstuvwxyz!@#$%^&*()ABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n let passwordLength = 12;\n let password = \"\";\n for (var i = 0; i <= passwordLength; i++) {\n var randomNumber = Math.floor(Math.random() * chars.length);\n password += chars.substring(randomNumber, randomNumber + 1);\n }\n return password + \"@1A\";\n }\n\n onDelivery(event) {\n this.deliveryReady = event != null;\n this.deliveryInfo = event;\n }\n\n onContinueShopping(event) {\n event.preventDefault();\n this.location.back();\n }\n\n public revealPassword() {\n this.passwordVisible = !this.passwordVisible;\n }\n}\n","\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n

Login

\n
\n
\n
\n \n \n
\n
Email Address is required.
\n
Please enter a valid email address.
\n
\n
\n
\n \n \n
\n
Password is required.
\n
\n
\n
\n
\n Login\n
\n \n
\n
\n
\n
\n
\n

Guest Account

\n
\n
\n
\n \n \n
\n
First Name is required.
\n
\n
\n
\n \n \n
\n
Last Name is required.
\n
\n
\n
\n \n \n
\n
Email Address is required.
\n
Please enter a valid email address.\n
\n
\n
\n
\n \n \n \n \n
\n
Password is required.
\n
Password should be at least 8\n characters long.
\n
Password should contain at least one\n number.
\n
Password should contain at least\n one capital letter.
\n
Password should contain at least\n one lowercase letter.
\n
Password should contain at\n least one special character.
\n
\n
\n
\n \n \n \n \n
\n
Passwords do not match.
\n
\n
\n
\n Continue\n
\n
\n
\n
\n
\n
\n
\n
\n {{ product.quantity }}\n
\n
\n
{{ product.title }}
\n \n
\n
\n {{ 'R' + (product.quantity * product.price).toFixed(2) }}\n
\n
\n\n \n
\n
Subtotal
\n
\n {{ getTotal | async | currency:productService?.Currency.currency:'symbol' }}\n
\n
\n\n \n
\n
Total
\n
\n {{ getTotal | async | currency:productService?.Currency.currency:'symbol' }}\n
\n
\n
\n
\n \n
\n
\n
\n \n\n
\n\n \n
\n
\n
    \n
  • \n
    \n \n \n
    \n
  • \n
  • \n
    \n \n \n
    \n
  • \n
\n
\n
\n\n
\n \n
\n
\n \n \n
\n
Telephone number is required
\n
\n
\n\n
\n \n \n
\n
Street address is required
\n
\n
\n \n
\n \n \n
\n
Suburb is required
\n
\n
\n\n
\n \n \n
\n
City is required
\n
\n
\n \n
\n \n \n
\n
Province is required
\n
\n
\n\n
\n \n \n
\n
Postal code is required
\n
\n
\n
\n \n
\n
\n\n \n\n
\n \n
\n
\n
    \n
  • \n
    \n \n \n
    \n
  • \n
  • \n
    \n \n \n
    \n
  • \n
\n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n \n \n \n
\n
\n
    \n
  • \n
    \n \n \n
    \n
  • \n
  • \n
    \n \n \n
    \n
  • \n
\n
\n
\n \n
\n \n
\n
\n
\n \n

Processing Payment...

\n
\n
\n
\n\n \n
\n
\n\n
\n
\n\n\n\n\n","import { ChangeDetectorRef, Component, EventEmitter, OnInit, Output } from \"@angular/core\";\nimport { FormBuilder, FormGroup, Validators } from \"@angular/forms\";\nimport { VendorDeliveryModel } from \"@app/core/models/vendor/vendor-delivery.model\";\nimport { Select } from \"@ngxs/store\";\nimport * as moment from \"moment\";\nimport { filter, Observable } from \"rxjs\";\nimport { VendorState } from \"src/@allxs/store/state/vendor.state\";\nimport Swal from 'sweetalert2'\n\n@Component({\n selector: 'app-delivery-slot',\n templateUrl: './delivery-slot.component.html',\n styleUrls: ['./delivery-slot.component.scss']\n})\nexport class DeliverySlotComponent implements OnInit {\n\n minDate = moment(new Date()).add('days', 1).format('YYYY-MM-DD')\n maxDate = moment(new Date()).format('YYYY-MM-DD');\n addressForm: FormGroup;\n selectedDate: Date | null = null;\n timeSlots: any[] = [];\n selectedTimeSlot: any | null = null;\n selectedRegion: string | null = null;\n address: string = '';\n showAddressFields: boolean = false;\n timeSlotData: VendorDeliveryModel[] = [];\n regions: string[] = [];\n\n @Select(VendorState.selectedVendorDelivery) delivery$: Observable>;\n\n\n @Output() deliverySlot = new EventEmitter();\n constructor(private fb: FormBuilder,\n private _changeDetectorRef: ChangeDetectorRef) {\n }\n\n ngOnInit(): void {\n this.addressForm = this.fb.group({\n appartment: [''],\n street: ['', Validators.required],\n town: ['', Validators.required],\n telephone: ['', [Validators.required, Validators.pattern('^[0-9]+$')]]\n });\n\n this.addressForm.statusChanges.pipe(filter(s => s == 'VALID'))\n .subscribe(val => this.onFormComplete())\n\n this.delivery$.subscribe(data => {\n if (data) {\n this.timeSlotData = data;\n this.maxDate = this.timeSlotData.map(x => moment(x.endDate).format('MM-DD-YYYY')).sort()[0];\n if (this.maxDate == undefined ) {\n this.deliverySlot.emit(\"no-delivery\");\n }\n else{\n this.deliverySlot.emit(null);\n }\n }\n });\n }\n\n onRegionChange(event: any): void {\n this.selectedRegion = event.target.value;\n var deliveryRegion = this.timeSlotData.filter(x => x.deliveryRegion == this.selectedRegion)[0];\n var tempSlots = deliveryRegion.deliverySlots.map(x => { return {\"deliveryId\": deliveryRegion.deliveryId ,\"slotId\" : x.deliverySlotId, \"slotName\": x.deliverySlotName, \"slotTime\": moment(this.selectedDate).format(\"MM-DD-YYYY\") + \" \"+ x.deliverySlotStartTime} });\n this.timeSlots = [];\n tempSlots.forEach(x => {\n if (moment(x.slotTime).isAfter(moment(new Date()).add('hours', 24))){\n this.timeSlots.push(x);\n }\n });\n this.deliverySlot.emit(null);\n }\n\n onDateChange(event: any) {\n var dateNow = moment(event.target.value);\n this.regions = this.timeSlotData.filter(x => {\n var a = moment(dateNow).isSameOrAfter(x.startDate);\n var b = moment(dateNow).isBefore(x.endDate);\n console.log(x.startDate, dateNow, x.endDate,a,b );\n return a && b\n }).map(x => x.deliveryRegion);\n this.deliverySlot.emit(null);\n if (this.regions.length <= 0) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"There are no delivery slots available for that date\",\n showConfirmButton: false,\n timer: 3000\n });\n }\n else {\n this.selectedTimeSlot = null;\n this.selectedRegion = null;\n this.showAddressFields = false;\n this.address = '';\n const dateString = '' + this.selectedDate;\n }\n }\n\n onTimeSlotSelect(timeSlot: any) {\n this.selectedTimeSlot = timeSlot;\n this.showAddressFields = true;\n this._changeDetectorRef.detectChanges();\n this.deliverySlot.emit(null);\n }\n\n onFormComplete() {\n this.deliverySlot.emit({\"info_type\": \"time_slot_order\", \"date\": this.selectedDate, \"deliveryId\": this.selectedTimeSlot.deliveryId, \"timeSlotId\": this.selectedTimeSlot.slotId, \"time_slot\": this.selectedTimeSlot.slotName, \"region\": this.selectedRegion, \"address\": this.addressForm.value}); \n }\n}\n","
\n
\n
\n
Delivery Date and Time-slot
\n
\n \n \n
\n\n
0) && selectedDate && !selectedRegion\">\n \n \n
\n\n\n
0 && selectedRegion\" class=\"mt-3\">\n
Select a time slot
\n
\n \n
\n
\n\n\n
\n\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n\n
\n
\n
","import { Component, Inject, OnInit, PLATFORM_ID } from '@angular/core';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { UserModel } from '@app/core/models/user/user.model';\nimport { VoucherModel } from '@app/core/models/voucher/voucher.model';\nimport { VoucherService } from '@app/core/services';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { getUserSelector } from '@app/core/store/user/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { ProductSlider } from '@app/shared/data/slider';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { Store, select } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-my-tickets',\n templateUrl: './my-tickets.component.html',\n styleUrls: ['./my-tickets.component.scss']\n})\nexport class MyTicketsComponent implements OnInit {\n\n private clientData: ClientModel;\n public tickets: Array = [];\n private userData: UserModel;\n private subscription: Subscription;\n public themeLogo: string = '';\n\n public ProductSliderConfig: any = ProductSlider;\n \n constructor(@Inject(PLATFORM_ID) private platformId: Object,\n public productService: ProductService, \n private voucherService: VoucherService,\n private store: Store) {\n this.subscription = new Subscription();\n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n }\n\n ngOnInit(): void {\n let that = this;\n this.voucherService.voucherSubject.subscribe({ \n next : (data : Array) =>{\n this.tickets = this.tickets.concat(data);\n },\n error: (errorResponse: any) =>{\n\n }\n });\n\n this.subscription.add(this.store.pipe(select(getUserSelector)).subscribe(data => {\n if (data == null) {\n return;\n }\n that.userData = data.userData as UserModel;\n that.loadForm();\n \n }));\n }\n\n loadForm(){\n this.voucherService.getUserTickets(this.userData.userId);\n }\n\n}\n","\n\n\n
\n
\n
\n
\n \n \n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n\n","import { Component, Inject, OnInit, PLATFORM_ID } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { VendorOrderResponseModel } from '@app/core/models/cart/vendor-order-response.model';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { Product } from '@app/shared/classes/product';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { Store, select } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\nimport { List } from 'immutable';\nimport { OrderSummary } from '@app/shared/classes/order-summary';\nimport { DatePipe } from '@angular/common';\n\n@Component({\n selector: 'app-order-result',\n templateUrl: './order-result.component.html',\n styleUrls: ['./order-result.component.scss']\n})\nexport class OrderResultComponent implements OnInit {\n\n private clientData: ClientModel;\n private subscription: Subscription;\n \n public products: Product[] = [];\n public vendorOrderResponse: VendorOrderResponseModel;\n public orderSummary: OrderSummary;\n public paymentMethod: string;\n public orderTotal: number;\n public orderDate: string;\n\n public themeLogo: string = '';\n public contactUsEmail: string = '';\n\n public orderId: string;\n public orderPlaced: boolean = false;\n public orderMessage: string;\n\n public manualUrl: string;\n\n constructor(@Inject(PLATFORM_ID) private platformId: Object,\n public productService: ProductService,\n private router: Router,\n private datePipe: DatePipe,\n private store: Store) {\n this.subscription = new Subscription();\n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n this.manualUrl = this.clientData.manualURL;\n }\n });\n\n const receivedData = this.router.getCurrentNavigation()?.extras.state?.data;\n if (receivedData) {\n const today = new Date();\n\n this.orderSummary = receivedData;\n if (Array.isArray(this.orderSummary.vendorOrderResponse)) {\n this.vendorOrderResponse = this.orderSummary.vendorOrderResponse[0];\n }\n else {\n this.vendorOrderResponse = this.orderSummary.vendorOrderResponse;\n }\n this.products = this.orderSummary.productSummary;\n this.paymentMethod = this.orderSummary.paymentMethod;\n this.orderTotal = this.orderSummary.orderTotal;\n this.orderDate = this.datePipe.transform(today, 'MMMM d, y');\n }\n }\n\n formatReceivedDate(dateString: string): string {\n const formattedDate = this.datePipe.transform(dateString, 'MMMM d, y');\n return formattedDate || '';\n }\n\n ngOnInit(): void {\n }\n\n}\n","\n\n\n\n\n
\n
\n
\n
\n
\n \n

thank you

\n

Payment is successfully processsed and your order has been placed.

\n

Order Number: {{ vendorOrderResponse?.orderNumber }}

\n

Order ID: {{ vendorOrderResponse?.orderId }}

\n
\n
\n
\n
\n
\n\n\n
\n
\n
\n
\n
\n

your order details

\n
\n
\n
\n \"\"\n
\n
\n
\n

product name

\n
{{ product.title }}
\n
\n
\n
\n
\n

quantity

\n
{{ product.quantity }}
\n
\n
\n
\n
\n

price

\n
{{ 'R' + product.price.toFixed(2) }}
\n
\n
\n
\n
\n
    \n
  • subtotal {{ orderTotal | currency:productService?.Currency.currency:'symbol' }}
  • \n
\n
\n
\n

total {{ orderTotal | currency:productService?.Currency.currency:'symbol' }}

\n
\n
\n
\n
\n
\n
\n

Order Summary

\n
    \n
  • order Number: {{ vendorOrderResponse?.orderNumber }}
  • \n
  • Vendor Name: {{ vendorOrderResponse?.vendorName }}
  • \n
  • Order Total: {{ orderTotal | currency:productService?.Currency.currency:'symbol' }}
  • \n
\n
\n
\n

Payment Method

\n
    \n
  • Paid using {{ paymentMethod }}
  • \n
\n
\n\n
\n

Complete Submission

\n

Complete you submission here

\n
\n
\n
\n

Order Date:

\n

{{ orderDate }}

\n
\n
\n
\n
\n\n
\n
\n
\n\n\n","import { Component, Inject, OnInit, PLATFORM_ID } from '@angular/core';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { Product } from '@app/shared/classes/product';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { select, Store } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-wishlist',\n templateUrl: './wishlist.component.html',\n styleUrls: ['./wishlist.component.scss']\n})\nexport class WishlistComponent implements OnInit {\n\n public products: Product[] = [];\n\n private clientData: ClientModel;\n private subscription: Subscription;\n public themeLogo: string = '';\n \n constructor(@Inject(PLATFORM_ID) private platformId: Object,\n public productService: ProductService, \n private store: Store) {\n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n this.productService.wishlistItems.subscribe(response => this.products = response);\n }\n\n ngOnInit(): void {\n }\n\n addToCart(product: any) {\n this.productService.addToCart(product);\n }\n\n removeItem(product: any) {\n this.productService.removeCartItem(product);\n }\n\n}\n","\n\n\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
imageproduct namepriceavailabilityaction
\n \n \"product?.images[0].alt\"\n \n \n {{ product?.title }}\n
\n
\n

in stock

\n
\n
\n

{{ product?.price * productService?.Currency.price | discount:product | currency:productService?.Currency.currency:'symbol' }}

\n
\n
\n

\n \n \n \n \n \n \n

\n
\n
\n

{{ product?.price * productService?.Currency.price | discount:product | currency:productService?.Currency.currency:'symbol' }}

\n

in stock

\n
\n \n \n \n \n \n \n
\n
\n
\n \n
\n
\n\n","import { DOCUMENT } from '@angular/common';\nimport { Component, Inject, OnInit } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { Store, select } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-claim-account',\n templateUrl: './claim-account.component.html',\n styleUrls: ['./claim-account.component.scss']\n})\nexport class ClaimAccountComponent implements OnInit {\n\n private subscription: Subscription;\n private clientData: ClientModel;\n public themeLogo: string = '';\n\n claimAccountForm: FormGroup;\n\n constructor(\n @Inject(DOCUMENT) private document: Document,\n private store: Store,\n private router: Router,\n private fb: FormBuilder) { \n this.subscription = new Subscription();\n\n this.claimAccountForm = this.createClaimAccountForm();\n\n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n }\n\n ngOnInit(): void {\n }\n\n get f() {\n return this.claimAccountForm.controls;\n }\n\n createClaimAccountForm(): FormGroup {\n return this.fb.group(\n {\n emailAddress: new FormControl(\"\", [Validators.required, Validators.email]),\n },\n );\n }\n}\n","\n\n\n
\n
\n
\n
\n

claim account

\n
\n
\n
\n
\n \n \n
\n
Email Address is required.
\n
Please enter a valid email address.\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n\n","import { DOCUMENT } from '@angular/common';\nimport { Component, Inject } from '@angular/core';\nimport { FormGroup, FormBuilder, FormControl, Validators, AbstractControl } from '@angular/forms';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { CustomValidators } from '@app/core/validators/password-validator';\nimport { Store, select } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-compass-account',\n templateUrl: './compass-account.component.html',\n styleUrls: ['./compass-account.component.scss']\n})\nexport class CompassAccountComponent {\n public themeLogo: string = '';\n public contactUsEmail: string = '';\n compassAccountForm: FormGroup;\n\n private clientData: ClientModel;\n private subscription: Subscription;\n\n constructor(\n @Inject(DOCUMENT) private document: Document,\n private store: Store,\n private fb: FormBuilder) { \n this.subscription = new Subscription();\n\n this.compassAccountForm = this.createCompassAccountForm();\n\n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n }\n\n ngOnInit(): void {\n }\n\n createCompassAccountForm(): FormGroup {\n return this.fb.group(\n {\n firstName: new FormControl(\"\", [Validators.required]),\n lastName: new FormControl(\"\", [Validators.required]),\n phoneNumber: new FormControl(\"\", [Validators.required]),\n group: new FormControl(\"\", [Validators.required]),\n dateOfBirth: new FormControl(\"\", [Validators.required]),\n gender: new FormControl(\"\"),\n timeZone: new FormControl(\"\", [Validators.required]),\n associationNumber: new FormControl(\"\", [Validators.required]),\n emailAddress: new FormControl(\"\", [Validators.required, Validators.email]),\n password: new FormControl(\"\", Validators.compose([Validators.required,\n CustomValidators.patternValidator(/\\d/, { hasNumber: true }),\n CustomValidators.patternValidator(/[A-Z]/, { hasCapitalCase: true }),\n CustomValidators.patternValidator(/[a-z]/, { hasSmallCase: true }),\n Validators.minLength(8)\n ])),\n confirmPassword: new FormControl(\"\", [Validators.required]),\n }\n );\n }\n\n paswordMatchValidator(control: AbstractControl): { [key: string]: boolean } | null {\n const password = control.get('password')?.value;\n const confirmPassword = control.get('confirmPassword')?.value;\n\n return password === confirmPassword ? null : { mismatch: true };\n }\n\n\n get f() {\n return this.compassAccountForm.controls;\n }\n}\n\n","\n\n\n
\n
\n
\n
\n

account details

\n
\n
\n
\n
\n \n \n
\n
First Name is\n required.
\n
\n
\n
\n \n \n
\n
Last Name is required.\n
\n
\n
\n
\n \n \n \n
Student\n Number/Employee Number is\n required.
\n
\n
\n
\n \n \n
\n
Email Address is\n required.
\n
Please enter a valid\n email address.\n
\n
\n
\n\n
\n
\n
\n \n \n
\n
Password is required.\n
\n
Password should be at\n least 8\n characters long.
\n
Password should\n contain at least one\n number.
\n
Password should\n contain at least\n one capital letter.
\n
Password should\n contain at least one\n lowercase letter.
\n
\n
\n
\n \n \n \n
Passwords do not match.
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
Phone Number is\n required.
\n
\n
\n
\n \n
\n \n
\n \n
\n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n \n
\n\n\n","import { Component, OnDestroy, OnInit } from \"@angular/core\";\nimport { FormBuilder, FormGroup, Validators } from \"@angular/forms\";\nimport { ClientModel } from \"@app/core/models/client/client.model\";\nimport { AuthService, ClientService, UserService } from \"@app/core/services\";\nimport { Observable, Subscription } from \"rxjs\";\nimport { select, Store } from \"@ngrx/store\";\nimport { Select, Store as ngxStore } from '@ngxs/store';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from \"@app/core/types/appState.interface\";\nimport { UserModel } from \"@app/core/models/user/user.model\";\nimport { AuthState } from \"src/@allxs/store/state/auth.state\";\nimport Swal from 'sweetalert2';\nimport { ChildModel } from \"src/@allxs/model/user/child.model\";\nimport { Router } from \"@angular/router\";\nimport * as UserActions from '@app/core/store/user//actions';\nimport * as AuthActions from '@app/core/store/auth//actions';\nimport { SkipStep } from \"src/@allxs/store/actions/auth.action\";\n\n@Component({\n selector: 'app-phone-request',\n templateUrl: './phone-request.component.html',\n styleUrls: ['./phone-request.component.scss']\n})\nexport class PhoneRequestComponent implements OnInit, OnDestroy {\n\n submitting: boolean = false;\n submitted: boolean = false;\n phoneForm: FormGroup;\n clientData: ClientModel;\n userData: UserModel;\n subscription: Subscription = new Subscription();\n public showPhoneOTP: boolean = false;\n private token = \"\";\n public otpNumber;\n public otpForm: FormGroup;\n public pinRetry = 3;\n public pin = \"\";\n otpActive = 1;\n public showOTP: boolean = false;\n otpvalue = \"\";\n clientName: string = \"\";\n\n\n @Select(AuthState.user) user$: Observable;\n\n constructor(\n private store: Store,\n private ngsxStore: ngxStore,\n private userService: UserService,\n private clientService: ClientService,\n private authService: AuthService,\n private router: Router,\n private fb: FormBuilder) {\n this.phoneForm = this.createPhoneForm();\n }\n\n createPhoneForm(): FormGroup {\n var phoneNumber = \"\";\n var authorizePhoneNumber = \"\";\n\n return this.fb.group({\n phoneNumber: [phoneNumber, [Validators.pattern(\"[0-9 ]{10}\"), Validators.minLength(10), Validators.required]],\n authorizeNotifications: [false, [Validators.required]],\n });\n }\n\n\n ngOnInit(): void {\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.clientName = this.clientData.clientName;\n }\n }));\n\n this.subscription.add(this.user$.subscribe(data => {\n if (data) {\n this.userData = data;\n }\n }));\n }\n\n ngOnDestroy(): void {\n\n }\n\n submitPhone(event) {\n event.preventDefault();\n if (this.showPhoneOTP) {\n this.updatePhone();\n } else {\n this.sendPhoneOTP(event);\n\n }\n }\n\n updatePhone() {\n this.userService.setUserPhoneFromOTP(this.token, this.otpNumber).subscribe({\n next: (data: any) => {\n this.submitting = false;\n this.showPhoneOTP = false;\n this.store.dispatch(AuthActions.loginSuccess(data));\n this.authService.setLoginState(true);\n this.store.dispatch(UserActions.getUser());\n this.ngsxStore.dispatch( new SkipStep(\"NO_PHONE_NUMBER\"));\n },\n error: (errorResponse: any) => {\n //this.toastr.error(errorResponse, \"Oh no!\");\n this.submitting = false;\n }\n });\n }\n\n\n sendPhoneOTP($event) {\n let that = this;\n this.submitting = false;\n this.submitted = true;\n this.showPhoneOTP = true;\n this.clientService.getPhoneOTP(this.clientData.clientId, this.phf.phoneNumber.value)\n .subscribe({\n next: (data: any) => {\n this.submitting = false;\n this.showPhoneOTP = true;\n this.pin = data.pin;\n this.token = data.token;\n setTimeout(() => {\n var el = document.getElementById(`potp1`)\n el.focus({ preventScroll: true });\n })\n },\n error: (errorResponse: any) => {\n // that.toastr.error(errorResponse, \"Oh no!\");\n //that.cf.claimUserName.setValue(\"\");\n that.submitting = false;\n }\n });\n }\n\n skipPhone($event) {\n this.ngsxStore.dispatch( new SkipStep(\"NO_PHONE_NUMBER\"));\n }\n\n otpChange(id, event) {\n if (event.key === 'Backspace' && id > 1) {\n this.otpActive = id - 1\n }\n else if (event.key !== 'Backspace' && id < 6) {\n this.otpActive = id + 1\n }\n setTimeout(() => {\n this.otpNumber = (document.getElementById(`otp1`)).value +\n (document.getElementById(`otp2`)).value +\n (document.getElementById(`otp3`)).value +\n (document.getElementById(`otp4`)).value +\n (document.getElementById(`otp5`)).value +\n (document.getElementById(`otp6`)).value;\n var el = document.getElementById(`otp${this.otpActive}`)\n el.focus({ preventScroll: true });\n })\n\n }\n\n potpChange(id, event) {\n if (event.key === 'Backspace' && id > 1) {\n this.otpActive = id - 1\n }\n else if (event.key !== 'Backspace' && id < 6) {\n this.otpActive = id + 1\n }\n setTimeout(() => {\n this.otpNumber = (document.getElementById(`potp1`)).value +\n (document.getElementById(`potp2`)).value +\n (document.getElementById(`potp3`)).value +\n (document.getElementById(`potp4`)).value +\n (document.getElementById(`potp5`)).value +\n (document.getElementById(`potp6`)).value;\n var el = document.getElementById(`potp${this.otpActive}`)\n el.focus({ preventScroll: true });\n })\n\n }\n\n get f() {\n return this.phoneForm.controls;\n }\n\n\n get phf() {\n return this.phoneForm.controls;\n }\n\n\n}\n\n\n\n","

Add Phone

\n
\n
\n \n \n

I agree to receive communication from {{clientName}} via Whatsapp

\n
\n
\n You need a valid phone number!
\n
\n
\n
\n
Please check your phone
\n

If your number is correct you should get an one time pin (OTP) please enter it below !\n

\n \n
\n \n \n \n \n \n \n \n
\n
\n
\n \n   \n \n
\n
","import { Component, EventEmitter, OnDestroy, OnInit } from \"@angular/core\";\nimport { FormBuilder, FormGroup, Validators } from \"@angular/forms\";\nimport { ClientModel } from \"@app/core/models/client/client.model\";\nimport { UserService } from \"@app/core/services\";\nimport { Observable, Subscription } from \"rxjs\";\nimport { select, Store } from \"@ngrx/store\";\nimport { Select, Store as ngsxStore } from '@ngxs/store';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from \"@app/core/types/appState.interface\";\nimport { UserModel } from \"@app/core/models/user/user.model\";\nimport { AuthState } from \"src/@allxs/store/state/auth.state\";\nimport Swal from 'sweetalert2';\nimport { ChildModel } from \"src/@allxs/model/user/child.model\";\nimport { Router } from \"@angular/router\";\nimport { SkipStep, UpdateRegAction } from \"src/@allxs/store/actions/auth.action\";\nimport * as moment from 'moment';\n\n@Component({\n selector: 'app-school-register-child',\n templateUrl: './school-registerchild.component.html',\n styleUrls: ['./school-registerchild.component.scss']\n})\nexport class SchoolRegisterChildComponent implements OnInit, OnDestroy {\n\n submitting: boolean = false;\n submitted: boolean = false;\n linkChildForm: FormGroup;\n linkChildFoundForm: FormGroup;\n clientData: ClientModel;\n userData: UserModel;\n foundChild: UserModel;\n subscription: Subscription = new Subscription();\n onSkip: EventEmitter = new EventEmitter();\n\n @Select(AuthState.user) user$: Observable;\n\n constructor(\n private store: Store,\n private ngsxStore: ngsxStore,\n private userService: UserService,\n private router: Router,\n private fb: FormBuilder) {\n this.linkChildForm = this.createLinkChildForm();\n this.linkChildFoundForm = this.createLinkChildFoundForm();\n this.f.dateOfBirth.setValue(new Date().toISOString());\n }\n\n createLinkChildForm() {\n return this.fb.group({\n admissionNumber: [\"\", [Validators.required, Validators.minLength(6)]],\n dateOfBirth: [\"\"],\n });\n }\n\n createLinkChildFoundForm() {\n return this.fb.group({\n admissionNumber: [\"\", [Validators.required, Validators.minLength(6)]],\n firstName: [\"\", [Validators.required]],\n lastName: [\"\", [Validators.required]],\n dateOfBirth: [\"\"],\n });\n }\n\n ngOnInit(): void {\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n }\n }));\n\n this.subscription.add(this.user$.subscribe(data => {\n if (data) {\n this.userData = data;\n }\n }));\n }\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n\n pleaseWaitModal(title: string, message: string) {\n (async () => {\n Swal.fire({\n icon: \"info\",\n title: title,\n text: message,\n showConfirmButton: false,\n timer: 30000\n });\n })();\n }\n\n cancelModal(){\n Swal.close();\n }\n\n get f() {\n return this.linkChildForm.controls;\n }\n\n get ff() {\n return this.linkChildFoundForm.controls;\n }\n\n lookupChild(event) {\n let that = this;\n this.submitted = true;\n\n if (this.linkChildForm.invalid) {\n return;\n }\n // this.lastDOB = new Date(this.lf.dateOfBirth.value).toISOString();\n let lastAdmissionNumber = this.f.admissionNumber.value;\n // this.lfSubmitting = true;\n //this.spinnerService.show();\n this.pleaseWaitModal(\"Please wait\", \"Looking up child account...\");\n this.userService.lookupChildAccount(this.clientData.clientId, lastAdmissionNumber, this.f.dateOfBirth.value)\n .subscribe(\n (data) => {\n this.cancelModal()\n this.submitted = false;\n this.submitting = false;\n if ((data == null) || (data == undefined)) {\n return;\n }\n this.foundChild = data;\n this.ff.admissionNumber.setValue(this.foundChild.userAccountNumber);\n this.ff.firstName.setValue(this.foundChild.userDetail.firstName);\n this.ff.lastName.setValue(this.foundChild.userDetail.lastName);\n this.ff.dateOfBirth.setValue(moment(this.foundChild.userDetail.dateOfBirth).format(\"DD MMM YYYY\"));\n },\n (errorResponse) => {\n this.cancelModal()\n let err = errorResponse?.error?.ModelState?.ErrorMessage[0];\n if (!err) {\n err = errorResponse.message;\n }\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: err,\n showConfirmButton: false,\n timer: 3000\n });\n this.submitting = false;\n })\n }\n\n linkChild($event) {\n let that = this;\n var childModel = new ChildModel();\n childModel.clientId = this.clientData.clientId;\n childModel.userId = this.foundChild.userId;\n childModel.relationship = 'Parent';\n this.pleaseWaitModal(\"Please wait\", \"Linking child account...\");\n this.userService.linkChildAccount(childModel).subscribe(\n data => {\n this.cancelModal()\n this.ngsxStore.dispatch(new UpdateRegAction(data));\n },\n (errorResponse) => {\n let err = errorResponse?.error?.ModelState?.ErrorMessage[0];\n if (!err) {\n err = errorResponse.message;\n }\n this.cancelModal();\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: err,\n showConfirmButton: false,\n timer: 3000\n });\n });\n }\n\n skip(event) {\n this.ngsxStore.dispatch(new SkipStep(\"NO_USER_CHILD\"));\n }\n\n}\n\n\n\n","

Add Child

\n
\n
\n
\n
\n \n \n
\n
Child Account\n Number or Admission Number is required.
\n
\n
\n
\n
\n
\n\n \n
\n\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
","import { Component, OnDestroy, OnInit } from \"@angular/core\";\nimport { FormBuilder, FormGroup, Validators } from \"@angular/forms\";\nimport { UserModel } from \"@app/core/models/user/user.model\";\nimport { AppStateInterface } from \"@app/core/types/appState.interface\";\nimport { select, Store } from \"@ngrx/store\";\nimport { Select, Store as ngxStore } from '@ngxs/store';\nimport { Observable, Subscription } from \"rxjs\";\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { ClientModel } from \"@app/core/models/client/client.model\";\nimport { AuthState } from \"src/@allxs/store/state/auth.state\";\nimport { UpdateRegAction } from \"src/@allxs/store/actions/auth.action\";\n\n@Component({\n selector: 'app-school-registration',\n templateUrl: './school-registration.component.html',\n styleUrls: ['./school-registration.component.scss']\n})\nexport class SchoolRegistrationComponent implements OnInit, OnDestroy {\n clientData: ClientModel;\n userData: UserModel;\n\n contactDetailForm: FormGroup;\n submitted: boolean = false;\n submitting: boolean = false;\n subscription: Subscription = new Subscription();\n\n @Select(AuthState.user) user$: Observable;\n\n constructor(private fb: FormBuilder,\n private store: Store,\n private _store: ngxStore\n ) {\n this.contactDetailForm = this.createContactDetailForm();\n }\n\n ngOnInit(): void {\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n }\n }));\n\n this.subscription.add(this.user$.subscribe(data => {\n if (data) {\n this.userData = data;\n }\n }));\n }\n\n ngOnDestroy(): void {\n\n }\n\n get f() {\n return this.contactDetailForm.controls;\n }\n\n \n \n createContactDetailForm() {\n return this.fb.group(\n {\n firstName: [\"\", [Validators.required, Validators.minLength(2)]],\n lastName: [\"\", [Validators.required, Validators.minLength(2)] ],\n gender: [\"\", [Validators.required]],\n dateOfBirth: [],\n timeZone: [],\n numberOfChildren: [\"\", [Validators.required, Validators.min(1)]],\n lowBalanceEmail: [\"\"],\n lowBalanceAmount: [\"0\"],\n country: [\"ZA\"],\n currencySymbol: [\"R\"],\n phoneNumber: [\"\"],\n pushNotification: [true],\n textNotification: [false],\n emailNotification: [true],\n lbaNotification: [true],\n offersNotification: [true],\n orderNotification: [true],\n depositNotification: [true],\n alertNotification: [true],\n referalProgram: [false],\n }\n );\n }\n\n\n\n update($event) {\n this.submitted = true\n this.submitting = true\n this.submitted = true;\n this.submitting = true;\n\n var number = this.f.phoneNumber.value;\n if (number == null) number = \"\";\n\n if (this.contactDetailForm.invalid) {\n this.submitting = false;\n return;\n }\n\n let userSendDetail = new UserModel();\n userSendDetail.clientId = this.clientData.clientId;\n userSendDetail.userId = this.userData.userId;\n //userSendDetail.email = this.f.lowBalanceEmail.value;\n //userSendDetail.phoneNumber = this.f.phoneNumber.value;\n userSendDetail.childAccounts = this.f.numberOfChildren.value;\n userSendDetail.timeZone = \"Africa/Johannesburg\";\n userSendDetail.countryCode = \"ZA\";\n userSendDetail.currencySymbol = \"R\";\n userSendDetail.userDetail.firstName = this.f.firstName.value;\n userSendDetail.userDetail.lastName = this.f.lastName.value;\n // if ((this.f.dateOfBirth.value !== null) && (this.f.dateOfBirth.value !== undefined) && (this.f.dateOfBirth.value !== ''))\n // userSendDetail.userDetail.dateOfBirth = (new Date(this.f.dateOfBirth.value)).toISOString();\n userSendDetail.userDetail.gender = this.f.gender.value;\n // userSendDetail.userDetail.referalProgram = this.f.referalProgram.value;\n\n // userSendDetail.preferences.pushNotification = this.f.pushNotification.value;\n // userSendDetail.preferences.textNotification = this.f.textNotification.value;\n // userSendDetail.preferences.emailNotification = this.f.emailNotification.value;\n // userSendDetail.preferences.lbaNotification = this.f.lbaNotification.value;\n // userSendDetail.preferences.canAcceptOffers = this.f.offersNotification.value;\n // userSendDetail.preferences.orderNotification = this.f.orderNotification.value;\n // userSendDetail.preferences.depositNotification = this.f.depositNotification.value;\n // userSendDetail.preferences.alertNotification = this.f.alertNotification.value;\n // userSendDetail.preferences.lowBalanceAmount = this.f.lowBalanceAmount.value;\n \n this.submitRegistration(userSendDetail);\n }\n\n\n iPhone() {\n try {\n return (/iphone|ipad|ipod/i.test(navigator.userAgent.toLowerCase()));\n }\n catch (e) { return false; }\n }\n\n submitRegistration(data : UserModel) {\n //alert('a');\n let that = this;\n this._store.dispatch(new UpdateRegAction(data));\n }\n}\n","

School Registration

\n
\n
\n
\n \n \n
\n
First Name is required.
\n
\n
\n
\n
\n
\n \n \n
\n
Last Name is required.
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
Number of children is required ( At Least 1).
\n
\n
\n
\n \n
","import { DOCUMENT } from '@angular/common';\nimport { Component, Inject } from '@angular/core';\nimport { AbstractControl, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { CustomValidators } from '@app/core/validators/password-validator';\nimport { Store, select } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-event-account',\n templateUrl: './event-account.component.html',\n styleUrls: ['./event-account.component.scss']\n})\nexport class EventAccountComponent {\n public themeLogo: string = '';\n public contactUsEmail: string = '';\n eventAccountForm: FormGroup;\n\n private clientData: ClientModel;\n private subscription: Subscription;\n\n constructor(\n @Inject(DOCUMENT) private document: Document,\n private store: Store,\n private fb: FormBuilder) { \n this.subscription = new Subscription();\n\n this.eventAccountForm = this.createEventAccountForm();\n\n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n }\n\n ngOnInit(): void {\n }\n\n createEventAccountForm(): FormGroup {\n return this.fb.group(\n {\n firstName: new FormControl(\"\", [Validators.required]),\n lastName: new FormControl(\"\", [Validators.required]),\n phoneNumber: new FormControl(\"\", [Validators.required]),\n dateOfBirth: new FormControl(\"\", [Validators.required]),\n gender: new FormControl(\"\"),\n emailAddress: new FormControl(\"\", [Validators.required, Validators.email]),\n password: new FormControl(\"\", Validators.compose([Validators.required,\n CustomValidators.patternValidator(/\\d/, { hasNumber: true }),\n CustomValidators.patternValidator(/[A-Z]/, { hasCapitalCase: true }),\n CustomValidators.patternValidator(/[a-z]/, { hasSmallCase: true }),\n Validators.minLength(8)\n ])),\n confirmPassword: new FormControl(\"\", [Validators.required]),\n }\n );\n }\n\n paswordMatchValidator(control: AbstractControl): { [key: string]: boolean } | null {\n const password = control.get('password')?.value;\n const confirmPassword = control.get('confirmPassword')?.value;\n\n return password === confirmPassword ? null : { mismatch: true };\n }\n\n\n get f() {\n return this.eventAccountForm.controls;\n }\n}\n","\n\n\n
\n
\n
\n
\n

account details

\n
\n
\n
\n
\n \n \n
\n
First Name is\n required.
\n
\n
\n
\n \n \n
\n
Last Name is required.\n
\n
\n
\n
\n \n \n
\n
Email Address is required.
\n
Please enter a valid email address.\n
\n
\n
\n
\n \n \n
\n
Phone Number is\n required.
\n
\n
\n
\n
\n
\n \n \n
\n
Password is required.
\n
Password should be at least 8\n characters long.
\n
Password should contain at least one\n number.
\n
Password should contain at least\n one capital letter.
\n
Password should contain at least one\n lowercase letter.
\n
\n
\n
\n \n \n
\n
Passwords do not match.
\n
\n
\n
\n \n
\n \n
\n \n
\n
\n
\n
\n \n \n
\n
\n \n
\n
\n
\n
\n
\n
\n\n\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-forgot-password',\n templateUrl: './forgot-password.component.html',\n styleUrls: ['./forgot-password.component.scss']\n})\nexport class ForgotPasswordComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n\n","\n\n\n
\n
\n
\n
\n

Forget Your Password

\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n\n","import { DOCUMENT } from '@angular/common';\nimport { Component, Inject, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { loginFailSelector, loginSuccessSelector, requestPhoneSelector } from '@app/core/store/auth/selector';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\n\nimport * as AuthActions from '@app/core/store/auth//actions';\nimport * as UserActions from '@app/core/store/user//actions';\n\nimport { Store, select } from '@ngrx/store';\nimport { Router } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { forkJoin, Observable, Subscription } from 'rxjs';\nimport { AuthorizedUser } from '@app/shared/classes/authorized';\nimport Swal from 'sweetalert2';\nimport { AuthService, ClientService, UserService } from '@app/core/services';\nimport { CustomValidators } from 'src/@allxs/forms/validators/custom.validator';\n\nimport { TermsModalComponent } from 'src/@allxs/components/termsmodal/terms-modal.component';\nimport { ResetPasswordModel } from 'src/@allxs/model/auth/reset-password.model';\nimport { UserModel } from '@app/core/models/user/user.model';\nimport { getUserSelector } from '@app/core/store/user/selectors';\nimport { UserInterface } from '@app/core/types/user/user.interface';\nimport { AuthInterface } from '@app/core/types/auth/auth-interface.interface';\nimport { AuthStateInterface } from '@app/core/types/auth/auth-state.interface';\nimport { Select } from '@ngxs/store';\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\n\n\n@Component({\n selector: 'app-login',\n templateUrl: './login.component.html',\n styleUrls: ['./login.component.scss']\n})\nexport class LoginComponent implements OnInit, OnDestroy {\n\n public showEconomy: boolean = false;\n public economyLogoUtl: string = \"\";\n public economyLogo: string = \"\";\n public clientLogo: string = \"\";\n public submitting: boolean = false;\n public submitted: boolean = false;\n public passwordVisible: boolean = false;\n public isVendorLanding: boolean = false;\n public isWalletLanding: boolean = false;\n public isPrivateStore: boolean = false;\n public claimAccountMode: string = 'normal';\n public loginForm: FormGroup;\n public phoneForm: FormGroup;\n public claimLoginForm: FormGroup;\n public claimUserName: string = null;\n public claimUserId = \"\";\n public otpSubmitted = false;\n public otpSubmitting = false;\n public otpNumber;\n public otpForm: FormGroup;\n public pinRetry = 3;\n public pin = \"\";\n private token = \"\";\n public otpEmailAddress = \"\";\n public otpPhone = \"\";\n public otpUsePhone = false;\n otpActive = 1;\n public showOTP: boolean = false;\n public showPhoneOTP: boolean = false;\n otpvalue = \"\";\n private clientData: ClientModel;\n private userData: UserInterface;\n\n private subscription: Subscription;\n\n public themeLogo: string = '';\n\n public authorizedUser: AuthorizedUser;\n public resetPasswordForm: FormGroup;\n private authData: AuthStateInterface;\n public registrationType: string = 'none';\n public registrationState: string = null;\n public useFederatedLogin:boolean = false;\n public changePasswordUser: string = '';\n @ViewChild('termsModal', { static: false }) termsModal: TermsModalComponent;\n\n @Select(AuthState.isLoggedIn) loggedInState$: Observable;\n @Select(AuthState.registrationState) registrationState$: Observable;\n @ViewChild('emailotp') emailotp:any;\n @ViewChild('phoneotp') phoneotp:any;\n \n\n constructor(\n @Inject(DOCUMENT) private document: Document,\n private store: Store,\n private router: Router,\n private fb: FormBuilder,\n private toastr: ToastrService,\n private clientService: ClientService,\n private userService: UserService,\n private authService: AuthService) {\n this.subscription = new Subscription();\n\n this.loginForm = this.createLoginForm();\n this.claimLoginForm = this.createClaimLoginForm();\n this.phoneForm = this.createPhoneForm();\n\n this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n if (data.clientData.claimAccount == true) {\n this.claimAccountMode = 'claimemail';\n }\n }\n })\n\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.registrationType = data.clientData.registrationType;\n this.useFederatedLogin = data.clientData.socialLogin === true;\n if (data.vendors.length === 1 &&\n data.clientData.startPage.toLowerCase() !== 'dashboard') {\n this.isVendorLanding = true;\n } else if (data.clientData.startPage.toLowerCase() == 'dashboard') {\n this.isWalletLanding = true;\n }\n }\n }));\n\n this.subscription.add(this.store.pipe(select(getUserSelector)).subscribe(data => {\n if (data) {\n this.userData = data;\n }\n }));\n\n this.subscription.add(this.store.pipe(select(loginFailSelector)).subscribe(data => {\n if (data) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: data,\n showConfirmButton: false,\n timer: 3000\n });\n this.submitting = false;\n }\n }));\n\n \n this.subscription.add(this.registrationState$.subscribe(data => {\n Swal.close();\n this.registrationState = data;\n }));\n\n this.subscription.add(this.loggedInState$.subscribe(data => {\n if (data){\n Swal.close();\n }\n })); \n\n \n // this.subscription.add(this.store.pipe(select(requestPhoneSelector)).subscribe(data => {\n // if (data.requestPhone) {\n // this.authData = data;\n // if (this.userData) {\n\n // if ((this.userData.userData.registrationState.length > 0) && this.clientData.registrationType !== \"None\") {\n // this.claimAccountMode = 'getaccountdetail';\n // switch (this.clientData.registrationType) {\n // case \"School\":\n // var userdetail = this.userData.userData.registrationState.includes(\"NO_USER_DETAIL\");\n // this.registrationType = \"schoolRegistration\"\n\n // break;\n // case \"Event\":\n\n // break;\n // case \"Compass\":\n\n // break;\n // default:\n\n // break;\n // }\n // }\n // else if (this.userData.userData.phoneNumber !== null && this.userData.userData.phoneNumber !== \"\") {\n // this.store.dispatch(AuthActions.loginSuccess(data));\n // this.authService.setLoginState(true);\n // this.store.dispatch(UserActions.getUser());\n // } else {\n // this.submitted = false;\n // this.submitting = false;\n // this.claimAccountMode = 'setphone';\n // }\n // }\n // }\n // else {\n // if (this.userData) {\n // //this.store.dispatch(AuthActions.loginSuccess(data));\n // this.authService.setLoginState(true);\n // this.store.dispatch(UserActions.getUser());\n // }\n // }\n\n // }));\n\n // this.subscription.add(this.store.pipe(select(loginSuccessSelector)).subscribe(data => {\n // var dt = data;\n\n // if (data === true && this.isVendorLanding) {\n // this.router.navigate(['/home/vendor']);\n // } else if (data === true && this.isWalletLanding) {\n // this.router.navigate(['/wallet/dashboard/landing']);\n // } else if (data === true && !this.isVendorLanding) {\n // this.router.navigate(['./']);\n // }\n // }));\n }\n\n ngOnInit(): void {\n //this.claimAccountMode = 'setpassword';\n // this.authService.authState.subscribe((user) => {\n // this.user = user;\n // this.loggedIn = (user != null);\n // });\n }\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n\n\n login(event: any) {\n event.preventDefault();\n this.submitted = true;\n if (this.loginForm.invalid) {\n //this.toastr.error(\"Invalid credentials\");\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Invalid credentials please correct!\",\n showConfirmButton: false,\n timer: 3000\n });\n return;\n }\n this.pleaseWait(\"Logging in\", \"Please wait while we log you in\");\n this.submitting = true;\n this.store.dispatch(AuthActions.loginUser({ clientId: this.clientData.clientId, userName: this.f.userName.value, password: this.f.password.value, resultUrl: '/' }))\n }\n\n submitPhone(event) {\n event.preventDefault();\n if (this.showPhoneOTP) {\n this.updatePhone();\n } else {\n this.sendPhoneOTP(event);\n\n }\n }\n\n updatePhone() {\n this.userService.setUserPhoneFromOTP(this.token, this.otpNumber).subscribe({\n next: (data: any) => {\n this.submitting = false;\n this.showPhoneOTP = false;\n this.store.dispatch(AuthActions.loginSuccess(data));\n this.authService.setLoginState(true);\n this.store.dispatch(UserActions.getUser());\n },\n error: (errorResponse: any) => {\n this.toastr.error(errorResponse, \"Oh no!\");\n this.submitting = false;\n }\n });\n }\n\n\n sendPhoneOTP($event) {\n let that = this;\n this.submitting = false;\n this.submitted = true;\n this.showPhoneOTP = true;\n this.clientService.getPhoneOTP(this.clientData.clientId, this.phf.phoneNumber.value)\n .subscribe({\n next: (data: any) => {\n this.submitting = false;\n this.showPhoneOTP = true;\n this.pin = data.pin;\n this.token = data.token;\n },\n error: (errorResponse: any) => {\n that.toastr.error(errorResponse.Message, \"Oh no!\");\n that.cf.claimUserName.setValue(\"\");\n that.submitting = false;\n }\n });\n }\n\n skipPhone($event) {\n this.store.dispatch(AuthActions.loginSuccess(this.authData));\n this.authService.setLoginState(true);\n this.store.dispatch(UserActions.getUser());\n }\n\n claimLogin(event) {\n const that = this;\n event.preventDefault();\n this.submitted = true;\n if (this.claimLoginForm.invalid) {\n return;\n }\n if (this.showOTP) {\n if (this.emailotp != null)\n this.otpNumber = this.emailotp.currentVal;\n if (this.otpNumber === this.pin) {\n this.resetPasswordForm = this.createClaimPasswordForm();\n this.submitted = false;\n this.submitting = false;\n this.claimAccountMode = 'setpassword';\n }\n else {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"That is the incorrect pin!\",\n showConfirmButton: false,\n timer: 3000\n });\n this.pinRetry -= 1;\n }\n }\n else {\n this.claimUserName = this.cf.claimUserName.value;\n this.clientService.checkEmailClaim(this.clientData.clientId, this.cf.claimUserName.value)\n .subscribe({\n next: (data: any) => {\n this.submitting = false;\n if (data == null) {\n return;\n }\n\n if (data.hasBeenClaimed) {\n that.claimAccountMode = 'onlypassword';\n that.f.userName.setValue(data.emailAddress);\n setTimeout(() => {\n var el = document.getElementById(`inlinepassword`)\n el.focus({ preventScroll: true });\n }, 1000)\n }\n else {\n that.pin = data.p;\n that.claimUserId = data.userId;\n that.otpEmailAddress = data.emailAddress;\n that.otpPhone = data.partialPhone;\n that.otpUsePhone = data.hasMobilePhone;\n this.showOTP = true;\n //this.claimAccountMode = 'setpassword';\n }\n\n },\n error: (errorResponse: any) => {\n that.toastr.error(errorResponse.Message, \"Oh no!\");\n that.cf.claimUserName.setValue(\"\");\n that.submitting = false;\n }\n });\n }\n }\n\n\n forgotPassword(event) {\n const that = this;\n event.preventDefault();\n this.submitted = true;\n if (this.showOTP && this.emailotp.currentVal === this.pin) {\n this.resetPasswordForm = this.createResetPasswordForm();\n this.submitted = false;\n this.submitting = false;\n this.claimAccountMode = \"setpasswordreset\";\n return;\n }\n else if (this.showOTP && this.emailotp.currentVal !== this.pin) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Incorrect Pin...\",\n showConfirmButton: false,\n timer: 3000\n });\n return;\n }\n else if (this.claimLoginForm.invalid) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please enter a valid user login email!\",\n showConfirmButton: false,\n timer: 3000\n });\n return;\n }\n this.claimUserName = this.cf.claimUserName.value;\n this.clientService.getPasswordOTP(this.clientData.clientId, this.cf.claimUserName.value)\n .subscribe({\n next: (data: any) => {\n if (data.p === null) {\n that.toastr.error(\"You are either not part of this client or not registered. Please register to continue.\", \"Oh no!\");\n return;\n }\n this.pin = data.p;\n this.changePasswordUser = data.userId;\n this.submitting = false;\n this.showOTP = true;\n },\n error: (errorResponse: any) => {\n that.toastr.error(errorResponse.Message, \"Oh no!\");\n that.cf.claimUserName.setValue(\"\");\n that.submitting = false;\n this.showOTP = false;\n }\n });\n\n }\n\n acceptTerms() {\n let that = this;\n this.termsModal.openModal();\n this.termsModal.termsResult.subscribe((result) => {\n var el = (document.getElementById(`terms`));\n if (el !== null) {\n el.checked = result;\n }\n });\n }\n\n\n get f() {\n return this.loginForm.controls;\n }\n\n get cf() {\n return this.claimLoginForm.controls;\n }\n\n get phf() {\n return this.phoneForm.controls;\n }\n\n get vf() {\n return this.otpForm.controls;\n }\n\n get pf() {\n return this.resetPasswordForm.controls;\n }\n\n\n createResetPasswordForm(): FormGroup {\n return this.fb.group(\n {\n newpassword: [\n \"\",\n Validators.compose([\n Validators.required,\n CustomValidators.patternValidator(/\\d/, { hasNumber: true }),\n CustomValidators.patternValidator(/[A-Z]/, { hasCapitalCase: true }),\n CustomValidators.patternValidator(/[a-z]/, { hasSmallCase: true }),\n CustomValidators.patternValidator(/[!@#$%^&*(),.?\":{}|<>]/, { hasSpecialCharacters: true }),\n Validators.minLength(8)\n ])\n ],\n //confirmPassword: [null, [Validators.required, {validator: {return true;}}]],\n confirmpassword: [\"\", [Validators.required]],\n },\n {\n validator: CustomValidators.passwordMatchValidator\n }\n );\n }\n\n createClaimPasswordForm(): FormGroup {\n return this.fb.group(\n {\n newpassword: [\n \"\",\n Validators.compose([\n Validators.required,\n CustomValidators.patternValidator(/\\d/, { hasNumber: true }),\n CustomValidators.patternValidator(/[A-Z]/, { hasCapitalCase: true }),\n CustomValidators.patternValidator(/[a-z]/, { hasSmallCase: true }),\n CustomValidators.patternValidator(/[!@#$%^&*(),.?\":{}|<>]/, { hasSpecialCharacters: true }),\n Validators.minLength(8)\n ])\n ],\n //confirmPassword: [null, [Validators.required, {validator: {return true;}}]],\n confirmpassword: [\"\", [Validators.required]],\n offers: [\"\"],\n terms: [false, [Validators.required, Validators.pattern('true')]]\n },\n {\n validator: CustomValidators.passwordMatchValidator\n }\n );\n }\n\n\n createLoginForm(): FormGroup {\n var defUser = \"\";\n var defPassword = \"\";\n\n return this.fb.group({\n userName: [defUser, [Validators.required, Validators.email]],\n password: [defPassword, [Validators.required]],\n remember: [\"\"]\n });\n }\n\n createPhoneForm(): FormGroup {\n var phoneNumber = \"\";\n var authorizePhoneNumber = \"\";\n\n return this.fb.group({\n phoneNumber: [phoneNumber, [Validators.pattern(\"[0-9 ]{10}\"), Validators.minLength(10), Validators.required]],\n authorizeNotifications: [false, [Validators.required]],\n });\n }\n\n createClaimLoginForm(): FormGroup {\n return this.fb.group({\n claimUserName: [\"\", [Validators.required, Validators.email]],\n });\n }\n\n\n onRegister() {\n this.router.navigate(['/home/auth/register']);\n }\n\n public revealPassword() {\n this.passwordVisible = !this.passwordVisible;\n }\n\n\n // otpChange(id, event) {\n // if (event.key === 'Backspace' && id > 1) {\n // this.otpActive = id - 1\n // }\n // else if (event.key !== 'Backspace' && id < 6) {\n // this.otpActive = id + 1\n // }\n // setTimeout(() => {\n // this.otpNumber = (document.getElementById(`otp1`)).value +\n // (document.getElementById(`otp2`)).value +\n // (document.getElementById(`otp3`)).value +\n // (document.getElementById(`otp4`)).value +\n // (document.getElementById(`otp5`)).value +\n // (document.getElementById(`otp6`)).value;\n // var el = document.getElementById(`otp${this.otpActive}`)\n // el.focus({ preventScroll: true });\n // })\n\n // }\n\n submitResetPassword(event) {\n const that = this;\n event.preventDefault();\n this.submitted = true;\n if (this.resetPasswordForm.invalid) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"There is something wrong with this password!\",\n showConfirmButton: false,\n timer: 3000\n });\n return;\n }\n let passwordResetData = new ResetPasswordModel();\n passwordResetData.emailAddress = this.claimUserName;\n passwordResetData.code = this.pin;\n passwordResetData.password = this.pf.newpassword.value;\n passwordResetData.confirmPassword = this.changePasswordUser;\n\n this.clientService.resetPasswordOTP(this.clientData.clientId, passwordResetData)\n .subscribe({\n next: (data: any) => {\n this.submitting = false;\n Swal.fire({\n icon: \"success\",\n title: \"Congratulations!\",\n text: \"Your password has been reset!\",\n showConfirmButton: false,\n timer: 3000,\n\n }).then(() => {\n if (this.clientData.claimAccount == true) {\n this.claimAccountMode = 'claimemail';\n } else {\n this.claimAccountMode = 'normal';\n }\n });\n this.showOTP = false;\n this.showPhoneOTP = false; \n return;\n },\n error: (errorResponse: any) => {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Something went wrong please try again!\",\n showConfirmButton: false,\n timer: 3000\n }).then(() => {\n if (this.clientData.claimAccount == true) {\n this.claimAccountMode = 'claimemail';\n } else {\n this.claimAccountMode = 'normal';\n }\n });\n this.showOTP = false;\n this.showPhoneOTP = false; \n that.submitting = false;\n }\n\n });\n }\n\n\npleaseWait(title: string, message: string) {\n Swal.fire({\n imageUrl: \"images/ajaxloader.gif\",\n title: title,\n text: message,\n showConfirmButton: false,\n allowOutsideClick: false,\n timer: 30000\n });\n }\n\n closeModal() {\n Swal.close();\n }\n\n submitPassword(event) {\n const that = this;\n event.preventDefault();\n this.submitted = true;\n if (this.resetPasswordForm.invalid) {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"There is something wrong with this password!\",\n showConfirmButton: false,\n timer: 3000\n });\n return;\n }\n\n var resetPasswordData: ResetPasswordModel = new ResetPasswordModel();\n resetPasswordData.emailAddress = this.claimUserId;\n resetPasswordData.password = this.pf.newpassword.value;\n resetPasswordData.confirmPassword = this.pf.confirmpassword.value;\n resetPasswordData.offers = this.pf.offers.value == true;\n resetPasswordData.terms = this.pf.terms.value == true;\n this.submitting = true;\n\n this.clientService.setEmailClaim(this.clientData.clientId, resetPasswordData)\n .subscribe(data => {\n that.submitting = false;\n that.submitted = false;\n Swal.fire({\n icon: \"success\",\n title: \"Congratulations!\",\n text: \"You sucessfully claimed your account!\", \n showConfirmButton: false,\n timer: 3000\n }).then(() => {\n if (that.clientData.claimAccount == true) {\n that.claimAccountMode = 'claimemail';\n } else {\n that.claimAccountMode = 'normal';\n }\n that.store.dispatch(AuthActions.loginUser({ clientId: this.clientData.clientId, userName: this.claimUserName, password: resetPasswordData.password, resultUrl: '/' }));\n });\n },\n errorResponse => {\n that.toastr.error(errorResponse.Message, \"Oh no!\");\n that.submitting = false;\n });\n }\n\n \n omit_special_char(event) {\n return true;\n\n var k;\n k = event.charCode;\n if ((k == 37) || (k == 38)) {\n this.toastr.warning(\"You can't user % as a special character in a password\", \"Sorry\");\n }\n return ((k != 37) && (k != 38));\n //return((k > 64 && k < 91) || (k > 96 && k < 123) || k == 8 || k == 32 || (k >= 48 && k <= 57)); \n }\n\n onForgotPassword() {\n this.resetPasswordForm = this.createResetPasswordForm();\n this.claimAccountMode = \"forgotpassword\";\n this.otpActive = 1;\n }\n\n onSkipChild(){\n this.router.navigate(['/wallet/dashboard/landing']);\n }\n\n\n loginWithGoogle(event) {\n const that = this;\n event.preventDefault();\n this.submitted = true;\n this.submitting = true;\n this.authService.doGoogleLogin(this.clientData.clientId, '/')\n .subscribe((data: any) => {\n //this.loginSwitchboard();\n },\n error => { \n this.submitted = false;\n this.submitting = false;\n if (error.error == \"External user is not registered\") {\n this.router.navigate(['/auth/register', { emailAddress: error.info.profile.email }])\n }\n });\n }\n\n onOtpChange(event){\n this.otpNumber = event.target.value;\n }\n \n\n}","\n\n\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n

Login

\n
\n
\n
\n
\n \n \n
\n
\n \n \n \n \n
\n \n \n\n \n
\n\n \n\n
\n \n\n
\n
\n
\n \n \n
\n
\n You need a valid phone number!
\n
\n
\n
\n
\n
Please check your phone
\n

If your number is correct you should get an one time pin (OTP) please enter it below !\n

\n \n \n
\n
\n \n   \n \n
\n
\n
\n
\n

Password Reset

\n

Please enter your login email address!

\n
\n
\n
\n \n \n
\n
\n Email Address is required
\n
\n
\n \n \n
\n
\n
Please check your email
\n

If a user with this email address exists you should get an one time pin (OTP) please enter it below\n !\n

\n \n \n
\n
\n \n
\n
\n \n
\n
\n\n
\n
\n
\n \n \n \n \n
\n Must be at least 8 characters.\n
\n \n Must contain at least 1 in Capital Case.\n
\n
\n Must contain at least 1 Letter in Small Case.\n
\n \n Must contain at least 1 Special Character.\n
\n
\n Must contain at least 1 Number.\n
\n
\n
\n \n \n \n \n
\n Your passwords do not match\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n You cant proceed without acceptiong our terms!\n
\n
\n
\n
\n
\n You can't register on this site if you don't accept the terms!\n
\n
\n \n
\n
\n \n
\n\n \n
\n\n
\n
\n
\n

Create Account

\n
\n
Create An Account
\n

Sign up for a free account at our store. Registration is quick and easy. It allows you to be able\n to order from our shop. To start shopping click register.

\n \n
\n
\n \n \n
\n\n\n\n\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { AbstractControl, FormBuilder, FormControl, FormGroup, ValidationErrors, Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { RegistrationModel } from '@app/core/models/account/registration.model';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { AuthService } from '@app/core/services';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { CustomValidators } from '@app/core/validators/password-validator';\nimport { select, Store } from '@ngrx/store';\nimport { ToastrService } from 'ngx-toastr';\nimport { Select, Store as ngxStore } from '@ngxs/store';\nimport { Observable, Subscription } from 'rxjs';\nimport { UserState } from 'src/@allxs/store/state/user.state';\nimport Swal from 'sweetalert2';\nimport { SetUserPhoneStep1Action } from 'src/@allxs/store/actions/user.action';\nimport { OtpModalComponent } from '@app/shared/components/modal/otp-modal/otp-modal.component';\nimport { AccountRegistered } from 'src/@allxs/store/actions/auth.action';\nimport * as AuthActions from '@app/core/store/auth//actions';\nimport { environment } from '@env/environment';\n\n@Component({\n selector: 'app-register',\n templateUrl: './register.component.html',\n styleUrls: ['./register.component.scss']\n})\nexport class RegisterComponent implements OnInit {\n\n public themeLogo: string = '';\n public contactUsEmail: string = '';\n registrationForm: FormGroup;\n emailVerified: boolean = true;\n submitted: boolean = false;\n submitting: boolean = false;\n public hidePassword = true;\n public hideConfirmPassword = true;\n public registrationType: string = '';\n public accountFee: number = 0;\n\n private clientData: ClientModel;\n private subscription: Subscription;\n\n public isGuestRegistration: boolean = false;\n\n @ViewChild(\"otpModal\") OtpModal: OtpModalComponent;\n\n public phoneState: string = \"UNKNOWN\"\n @Select(UserState.phoneState) phoneState$: Observable;\n\n constructor(private authService: AuthService,\n private store: Store,\n private ngxStore: ngxStore,\n private toastr: ToastrService, \n private router: Router,\n private fb: FormBuilder) {\n this.subscription = new Subscription();\n\n this.registrationForm = this.createRegistrationForm();\n\n if (environment.debug){\n this.registrationForm.controls['firstName'].setValue('Test');\n this.registrationForm.controls['lastName'].setValue('Test');\n this.registrationForm.controls['emailAddress'].setValue('vgtest7@vasoft.ca');\n this.registrationForm.controls['phoneNumber'].setValue('0821234567');\n this.registrationForm.controls['password'].setValue('Password1!');\n this.registrationForm.controls['confirmPassword'].setValue('Password1!');\n this.registrationForm.controls['numberOfChildren'].setValue(1);\n this.registrationForm.controls['accountFeeControl'].setValue(1);\n }\n\n this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.registrationType = data.clientData.registrationType;\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n this.accountFee = data.clientData.basicAccount;\n }\n \n });\n\n // this.subscription.add(this.phoneState$.subscribe(data => {\n // this.phoneState = data;\n\n // if (this.phoneState == 'OTP') {\n // this.OtpModal.openModal();\n // }\n // }))\n }\n\n ngOnInit(): void {\n if (this.registrationType == 'School' && this.accountFee > 0) {\n this.registrationForm.controls['accountFeeControl'].setValidators([Validators.required,Validators.requiredTrue]);\n } else {\n this.registrationForm.controls['accountFeeControl'].clearValidators();\n }\n this.registrationForm.controls['accountFeeControl'].updateValueAndValidity();\n\n // if (this.registrationType == 'School') {\n // this.registrationForm.controls['numberOfChildren'].setValidators([Validators.required, Validators.min(1)]);\n // } else {\n // this.registrationForm.controls['numberOfChildren'].clearValidators();\n // }\n // this.registrationForm.controls['numberOfChildren'].updateValueAndValidity();\n}\n\n createRegistrationForm(): FormGroup {\n return this.fb.group(\n {\n firstName: new FormControl(\"\", [Validators.required]),\n lastName: new FormControl(\"\", [Validators.required]),\n emailAddress: new FormControl(\"\", [Validators.required, Validators.email]),\n phoneNumber: new FormControl(\"\"),//, [Validators.minLength(10)]),\n numberOfChildren: new FormControl(\"0\"),\n accountFeeControl: new FormControl(0),\n password: new FormControl(\"\", Validators.compose([Validators.required,\n CustomValidators.patternValidator(/\\d/, { hasNumber: true }),\n CustomValidators.patternValidator(/[A-Z]/, { hasCapitalCase: true }),\n CustomValidators.patternValidator(/[a-z]/, { hasSmallCase: true }),\n CustomValidators.patternValidator(/[!@#$%^&*(),.?\":{}|<>]/, { hasSpecialCharacters: true }),\n Validators.minLength(8)\n ])),\n confirmPassword: new FormControl(\"\", [Validators.required]),\n },\n {\n validator: this.paswordMatchValidator.bind(this)\n }\n );\n }\n\n paswordMatchValidator(control: AbstractControl): { [key: string]: boolean } | null {\n const password = control.get('password')?.value;\n const confirmPassword = control.get('confirmPassword')?.value;\n\n return password === confirmPassword ? null : { mismatch: true };\n }\n\n get f() {\n return this.registrationForm.controls;\n }\n\n verifyPhoneNumber() {\n let phoneno = this.registrationForm.value[\"phoneNumber\"] as string;\n if (phoneno.startsWith(\"0\"))\n phoneno = \"+27\" + phoneno.substring(1, phoneno.length);\n this.ngxStore.dispatch(new SetUserPhoneStep1Action(phoneno))\n }\n\n register(event: any) {\n let that = this;\n this.submitted = true;\n this.submitting = true;\n event.preventDefault();\n\n if (!(this.clientData.clientId > -1)) {\n this.submitting = false;\n return;\n }\n if (this.registrationForm.invalid) {\n this.getFormValidationErrors();\n this.submitting = false;\n return;\n }\n\n var regData: RegistrationModel = new RegistrationModel();\n regData.ClientId = this.clientData.clientId;\n regData.URL = window.location.href.split(\"/\")[0] + \"//\" + window.location.href.split(\"/\")[2];\n regData.Email = this.f.emailAddress.value;\n regData.FirstName = this.f.firstName.value;\n regData.LastName = this.f.lastName.value;\n regData.Password = this.f.password.value;\n regData.ConfirmPassword = this.f.confirmPassword.value;\n regData.EmailVerified = this.emailVerified;\n regData.NumberOfChildren = this.f.numberOfChildren.value;\n regData.Terms = true;\n \n this.authService.register(regData).subscribe({\n next: (data: any) => {\n that.submitting = false;\n this.ngxStore.dispatch(new AccountRegistered(regData));\n Swal.fire({\n icon: \"success\",\n title: \"Congratulations!\",\n text: \"Your account has been created.\",\n showConfirmButton: false,\n timer: 3000\n });\n setTimeout(() => {\n this.autoLogon(regData.Email as string, regData.Password as string);\n }, 3000); //5s\n },\n error: (errorResponse: any) => {\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: errorResponse,\n confirmButtonColor: \"#3085d6\"\n });\n that.submitting = false;\n that.submitted = false;\n that.f.firstName.setValue(\"\");\n that.f.lastName.setValue(\"\");\n that.f.emailAddress.setValue(\"\");\n }\n });\n }\n\n getFormValidationErrors() {\n Object.keys(this.registrationForm.controls).forEach(key => {\n const controlErrors: ValidationErrors = this.registrationForm.get(key).errors;\n if (controlErrors != null) {\n Object.keys(controlErrors).forEach(keyError => {\n console.log('Key control: ' + key + ', keyError: ' + keyError + ', err value: ', controlErrors[keyError]);\n });\n }\n });\n }\n\n autoLogon(userName: string, password: string) {\n\n this.store.dispatch(AuthActions.loginUser({ clientId: this.clientData.clientId, userName: userName, password: password, resultUrl: '/' }));\n\n // this.authService.loginUser(this.clientData.clientId, userName, password, false)\n // .subscribe({\n // next: (data: any) => {\n // this.router.navigate(['/']);\n // },\n // error: (errorResponse: any) => {\n // this.submitting = false;\n\n // if (errorResponse === \"Unknown Error\") {\n // // this.toastr.error(\"Server error. Check you internet connection!\", \"Oh No!\", {\n // // progressBar: true,\n // // timeOut: 3000\n // // });\n\n // Swal.fire({\n // icon: \"error\",\n // title: \"Oh No!\",\n // text: \"Server error. Check you internet connection.\",\n // showConfirmButton: false,\n // timer: 3000\n // });\n // }\n // else if ((errorResponse.error !== null) && (errorResponse.error !== undefined)) {\n // try {\n // // this.toastr.error(errorResponse.error_description, \"Oh No!\", {\n // // progressBar: true,\n // // timeOut: 3000\n // // });\n // Swal.fire({\n // icon: \"error\",\n // title: \"Oh No!\",\n // text: errorResponse.error_description,\n // showConfirmButton: false,\n // timer: 3000\n // });\n // }\n // catch (ex) {\n // alert(JSON.stringify(errorResponse));\n // }\n // }\n // else {\n // // this.toastr.error(\"Something went wrong. Please check your credentials and try again.\", \"Oh No!\", {\n // // progressBar: true,\n // // timeOut: 3000\n // // });\n // Swal.fire({\n // icon: \"error\",\n // title: \"Oh No!\",\n // text: \"Something went wrong. Please check your credentials and try again.\",\n // showConfirmButton: false,\n // timer: 3000\n // });\n // }\n // }\n // })\n }\n\n public togglePasswordVisibility() {\n this.hidePassword = !this.hidePassword;\n }\n\n public toggleConfirmPasswordVisibility() {\n this.hideConfirmPassword = !this.hideConfirmPassword;\n }\n\n omit_special_char(event: any) {\n return true;\n var k;\n k = event.charCode;\n if ((k == 37) || (k == 38)) {\n //this.toastr.warning(\"You can't use a special character in a password\", \"Sorry\");\n Swal.fire({\n icon: \"warning\",\n title: \"Sorry!\",\n text: \"You can't use a special character in a password.\",\n confirmButtonColor: \"#3085d6\"\n });\n }\n return ((k != 37) && (k != 38));\n //return((k > 64 && k < 91) || (k > 96 && k < 123) || k == 8 || k == 32 || (k >= 48 && k <= 57)); \n }\n\n}\n\n","\n\n\n
\n
\n
\n
\n

create account

\n
\n
\n
\n
\n \n \n
\n
First Name is required.
\n
\n
\n
\n \n \n
\n
Last Name is required.
\n
\n
\n
\n \n \n
\n
Email Address is required.
\n
Please enter a valid email address.\n
\n
\n
\n
\n \n \n
\n
Phone number is required.
\n
\n
\n
\n
\n
\n \n
\n \n \n \n \n
\n
\n
Password is required.
\n
Password should be at least 8\n characters long.
\n
Password should contain at least one\n number.
\n
Password should contain at least\n one capital letter.
\n
Password should contain at least one\n lowercase letter.
\n
Password should contain at\n least one special character.
\n
\n
\n
\n \n
\n \n \n \n \n
\n \n
Passwords do not match.
\n
\n
\n
\n
\n
\n \n \n
\n
Number of children has to be\n larger than 0.
\n
\n
\n
0\">\n \n
\n \n \n
\n
\n This account carries a R {{accountFee | number: '1.2-2'}} monthly fee. Please agree to this to proceed.\n
\n
\n
\n
\n\n \n \n
\n
\n
\n \n
\n\n\n\n","import { DOCUMENT } from '@angular/common';\nimport { Component, Inject } from '@angular/core';\nimport { FormGroup, FormBuilder, FormControl, Validators, AbstractControl } from '@angular/forms';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { CustomValidators } from '@app/core/validators/password-validator';\nimport { Store, select } from '@ngrx/store';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'app-school-account',\n templateUrl: './school-account.component.html',\n styleUrls: ['./school-account.component.scss']\n})\nexport class SchoolAccountComponent {\n public themeLogo: string = '';\n public contactUsEmail: string = '';\n schoolAccountForm: FormGroup;\n\n private clientData: ClientModel;\n private subscription: Subscription;\n\n constructor(\n @Inject(DOCUMENT) private document: Document,\n private store: Store,\n private fb: FormBuilder) { \n this.subscription = new Subscription();\n\n this.schoolAccountForm = this.createEventAccountForm();\n\n this.store.pipe(select(clientSelector)).subscribe(data =>{\n if (data){\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n }\n\n ngOnInit(): void {\n }\n\n createEventAccountForm(): FormGroup {\n return this.fb.group(\n {\n parentFirstName: new FormControl(\"\", [Validators.required]),\n parentLastName: new FormControl(\"\", [Validators.required]),\n phoneNumber: new FormControl(\"\", [Validators.required]),\n dateOfBirth: new FormControl(\"\", [Validators.required]),\n gender: new FormControl(\"\"),\n childrenNumber: new FormControl(\"\"),\n emailAddress: new FormControl(\"\", [Validators.required, Validators.email]),\n password: new FormControl(\"\", Validators.compose([Validators.required,\n CustomValidators.patternValidator(/\\d/, { hasNumber: true }),\n CustomValidators.patternValidator(/[A-Z]/, { hasCapitalCase: true }),\n CustomValidators.patternValidator(/[a-z]/, { hasSmallCase: true }),\n Validators.minLength(8)\n ])),\n confirmPassword: new FormControl(\"\", [Validators.required]),\n }\n );\n }\n\n paswordMatchValidator(control: AbstractControl): { [key: string]: boolean } | null {\n const password = control.get('password')?.value;\n const confirmPassword = control.get('confirmPassword')?.value;\n\n return password === confirmPassword ? null : { mismatch: true };\n }\n\n\n get f() {\n return this.schoolAccountForm.controls;\n }\n}\n\n","\n\n\n
\n
\n
\n
\n

parent account details

\n
\n
\n
\n
\n \n \n \n
Parent First\n Name is\n required.
\n
\n
\n
\n
\n \n \n \n
Parent Last Name\n is required.\n
\n
\n
\n
\n
\n \n \n
\n
Email Address is\n required.
\n
Please enter a valid\n email address.\n
\n
\n
\n
\n
\n \n \n
\n
Phone Number is\n required.
\n
\n
\n
\n
\n
\n
\n \n \n
\n
Password is required.\n
\n
Password should be at\n least 8\n characters long.
\n
Password should\n contain at least one\n number.
\n
Password should\n contain at least\n one capital letter.
\n
Password should\n contain at least one\n lowercase letter.
\n
\n
\n
\n
\n \n \n \n
Passwords do not match.
\n
\n
\n
\n
\n \n \n
\n
\n \n
\n \n
\n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n \n \n \n
\n\n\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { ThemeImage } from '@app/core/models/client/themeimage.model';\nimport { VendorStoreModel } from '@app/core/models/vendor/vendor-store.model';\nimport { isLoggedInSelector, loginSuccessSelector } from '@app/core/store/auth/selector';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { Product, Images } from '@app/shared/classes/product';\nimport { HomeSlider, ProductSlider } from '@app/shared/data/slider';\nimport { NavService } from '@app/shared/services/nav.service';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { Store, select } from '@ngrx/store';\nimport { Observable, Subscription } from 'rxjs';\nimport { Store as NewStore, Select } from '@ngxs/store';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { DatePipe, ViewportScroller } from '@angular/common';\nimport { DataService, EventService } from '@app/core/services';\nimport { EventSummary } from '@app/shared/classes/event';\nimport { EventModel } from '@app/core/models/event/event.model';\nimport { CheckForTasksAction } from 'src/@allxs/store/actions/task.action';\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\n\nexport class VendorCategory {\n image: string = '';\n title: string = '';\n route: string = '';\n text: SafeHtml = '';\n}\n\nexport class VendorAdvertDetails {\n image1: string = '';\n image2: string = '';\n image3: string = '';\n}\n\nexport class MainLandingSlider {\n image: string = '';\n}\n\n@Component({\n selector: 'app-events-landing',\n templateUrl: './events-landing.component.html',\n styleUrls: ['./events-landing.component.scss']\n})\nexport class EventsLandingComponent implements OnInit, OnDestroy {\n\n public themeLogo: string = '';\n public mainFooterLogo: string = '';\n public footerLogo: string = 'assets/images/logos/default/footerlogo.png';\n public contactUsEmail: string = '';\n public clientName: string = '';\n public footerDescription: string;\n public whatsAppContact: string;\n public companyName: string;\n\n public isLoggedIn: boolean = false;\n public clientData?: ClientModel;\n private subscription: Subscription;\n\n public vendorList: Array = [];\n public backgroundImage: string = \"\";\n public bannerImages: Array = [];\n public timeStamp: string = new Date().getTime().toString();\n\n public products: Product[] = [];\n public selectedVendorProducts: Product[] = [];\n public featuredProducts: Product[] = [];\n public productCollections: any[] = [];\n public mainLandingImage: MainLandingSlider = {\n image: ''\n };\n public banners: ThemeImage[] = [];\n public sliderBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n public actionBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n\n public vendors: VendorCategory[] = [];\n public adverts: VendorAdvertDetails;\n public active;\n tabs = [1, 2, 3, 4, 5];\n\n public typesOfProducts: any[] = [];\n\n public events: Array = [];\n public eventList: EventSummary[] = [];\n public HasEvents = false;\n public vendorId: number = 0;\n\n public grid: string = 'col-xl-3 col-md-6';\n public layoutView: string = 'grid-view';\n public pageNo: number = 1;\n public paginate: any = {};\n public sortBy: string;\n\n @Select(AuthState.isLoggedIn) isLoggedIn$: Observable;\n \n constructor(private _sanitizer: DomSanitizer,\n private route: ActivatedRoute,\n private router: Router,\n public productService: ProductService,\n private dataService: DataService,\n private eventService: EventService,\n public navServices: NavService,\n public datePipe: DatePipe,\n private store: Store,\n private newStore: NewStore,\n private viewScroller: ViewportScroller) {\n this.subscription = new Subscription();\n \n this.subscription.add(this.isLoggedIn$.subscribe(data => {\n this.isLoggedIn = data;\n if (this.isLoggedIn) {\n this.navServices.updateMenuItems(this.isLoggedIn, false);\n } \n }));\n\n \n this.subscription.add(this.store.pipe(select(loginSuccessSelector)).subscribe(data => {\n var dt = data;\n if (data == true) {\n this.router.navigate(['./']);\n }\n }));\n\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo ?? '';\n this.contactUsEmail = this.clientData.fromEmail;\n this.clientName = this.clientData.clientName;\n\n if (this.clientName == 'Decibel') {\n this.companyName = 'Decibel Event Solutions (Pty) Ltd';\n this.footerDescription = `Decibel is a leading Events Solutions Provider offering it's clients a White-labelled Ticketing Platform, Cashless Events, Online Merchandise Sales and Patron Loyalty`;\n this.contactUsEmail = 'don@decibel.co.za';\n this.whatsAppContact = '+27(0) 84 279 5326'\n }\n\n const bannersToFilter = this.clientData.theme?.Images ?? [];\n\n if (bannersToFilter.length > 0) {\n let typeToFilter = 'Footer Logo';\n this.mainFooterLogo = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter)[0]?.Banner.Path ?? '';\n\n typeToFilter = 'Slider';\n this.sliderBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter) ?? [];\n\n typeToFilter = 'Banner';\n this.actionBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter) ?? [];\n }\n\n this.vendorList = data.vendors;\n\n this.vendorList.forEach(vendor => {\n if (this.eventList.length > 0) {\n console.log(this.eventList);\n } else {\n if (vendor.vendorData.hasEvents > 0) {\n this.getPublicEvents(vendor.vendorId);\n }\n }\n })\n }\n }));\n\n // let events = this.eventList;\n\n // this.route.queryParams.subscribe(params => {\n\n // this.sortBy = params.sortBy ? params.sortBy : 'ascending';\n // this.pageNo = params.page ? params.page : this.pageNo;\n\n // this.paginate = this.productService.getPager(this.featuredProducts.length, +this.pageNo);\n // this.eventList = events.slice(this.paginate.startIndex, this.paginate.endIndex + 1);\n // })\n\n }\n\n getBannersByTypeWithNames(\n banners: ThemeImage[] | undefined,\n type: string\n ): { BannerName: string; Banner: ThemeImage }[] {\n if (!banners || banners.length === 0) {\n return [];\n }\n\n const filteredByType = banners.filter(\n banner => banner.Type?.toLowerCase() === type.toLowerCase()\n );\n\n const limitedBanners = filteredByType.slice(0, 3);\n\n return limitedBanners.map(({ Name, ...rest }) => ({\n BannerName: Name ?? '', // Handle potential undefined or null Name property\n Banner: { Name: Name ?? '', ...rest }, // Ensure Banner.Name has a default value\n }));\n }\n\n public HomeSliderConfig: any = HomeSlider;\n public ProductSliderConfig: any = ProductSlider;\n\n\n ngOnInit(): void {\n // Add class in body\n document.body.classList.add(\"tools-bg\");\n this.newStore.dispatch(new CheckForTasksAction());\n }\n\n ngOnDestroy(): void {\n // Remove class in body\n document.body.classList.remove(\"tools-bg\");\n }\n\n getPrivateEvents() {\n let that = this;\n this.eventService.getEvents(this.clientData.clientId, 1, 5).subscribe(data => {\n let tempEvents = data;\n tempEvents.forEach((x: EventModel) => {\n const foundEvent = that.dataService.events.find(px => px.eventId == x.eventId);\n if (!foundEvent)\n that.dataService.events.push(x);\n });\n that.events = that.dataService.events.filter(x => x.eventType == \"private\");\n });\n }\n\n async getPublicEvents(vendorId: number) {\n let that = this;\n this.events = this.dataService.events;\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo ?? '';\n\n this.eventService.getPublicEvents(this.clientData.clientId, 1, 5, vendorId).subscribe(data => {\n let tempEvents = data;\n tempEvents.forEach((x: EventModel) => {\n const foundEvent = that.dataService.events.find(px => px.eventId == x.eventId);\n if (!foundEvent)\n that.dataService.events.push(x);\n });\n that.events = that.dataService.events.filter(x => x.eventType == \"public\");\n\n that.events.forEach(event => {\n if (event.products && event.products.length > 0) {\n const eventImages: Images[] = [];\n const tickets: Product[] = [];\n\n let images: Images;\n\n event.eventImages.forEach(eventImage => {\n images = {\n src: eventImage.imagePath ?? 'assets/images/product/placeholder.jpg'\n }\n\n eventImages.push(images);\n });\n\n for (let i = 0; i < 3; i++) {\n eventImages.push({ ...images });\n }\n\n event.products.forEach(ticket => {\n if (ticket.availability != null) {\n const ticketImages: Images[] = [];\n\n let ticketImage: Images = {\n src: ticket.productImages.cardImage\n }\n ticketImages.push(ticketImage);\n\n const start = new Date(ticket.availability.startDate);\n const currentDate = new Date(start);\n const formattedDate = this.datePipe.transform(currentDate, 'd MMM');\n\n let ticketProduct: Product = {\n id: ticket.productId,\n title: ticket.productName,\n price: ticket.sellingPrice.amount,\n description: ticket.description,\n place: ticket.shortDescription,\n inventory: ticket.inventory,\n brand: formattedDate,\n images: ticketImages\n }\n\n tickets.push(ticketProduct);\n }\n })\n\n let eventDetail: EventSummary;\n if (event.products[0]?.availability != null) {\n eventDetail = {\n eventId: event.eventId,\n vendorId: event.vendorId,\n eventName: event.eventName,\n eventDate: event.eventDate,\n eventTime: event.eventTime,\n eventLocation: event.location.locationName,\n locationLatitude: event.location.locationLatitude,\n locationLongitude: event.location.locationLongitude,\n eventDescription: event.eventStoreConfig.eventDescription,\n eventStartDate: event.products[0]?.availability?.startDate,\n eventEndDate: event.products[0]?.availability?.endDate,\n startTime: event.products[0]?.availability?.startTime,\n endTime: event.products[0]?.availability?.endTime,\n eventImages: eventImages,\n tickets: tickets\n }\n }\n \n if (eventDetail) {\n if (!this.eventList.some(event => event.eventId === eventDetail.eventId)) {\n this.eventList.push(eventDetail);\n } \n }\n }\n\n });\n })\n }\n }));\n this.getEventsAll();\n }\n\n cleanUpDescription(description: string): string {\n let cleanedDescription = description.replace(/<[^>]*>?/gm, '');\n cleanedDescription = cleanedDescription.replace(/&[^\\s]*;/g, '');\n\n return cleanedDescription;\n }\n\n async getEventsAll() {\n let that = this;\n this.events = this.dataService.events;\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n let vendorId = 0;\n if (data.vendors.length == 1)\n vendorId = data.vendors[0].vendorId;\n\n this.eventService.getPublicEvents(this.clientData.clientId, 1, 99, vendorId).subscribe(data => {\n let tempEvents = data;\n tempEvents.forEach((x: EventModel) => {\n const foundEvent = that.dataService.events.find(px => px.eventId == x.eventId);\n if (!foundEvent)\n that.dataService.events.push(x);\n });\n that.events = that.dataService.events.filter(x => x.eventType == \"public\");\n })\n }\n }));\n }\n\n // Product Tab collection\n getCollectionProducts(collection) {\n return this.products.filter((item) => {\n if (item.collection.find(i => i === collection)) {\n return item\n }\n })\n }\n\n // SortBy Filter\n sortByFilter(value) {\n this.router.navigate([], {\n relativeTo: this.route,\n queryParams: { sortBy: value ? value : null },\n queryParamsHandling: 'merge', // preserve the existing query params in the route\n skipLocationChange: false // do trigger navigation\n }).finally(() => {\n this.viewScroller.scrollToAnchor('productCatalogue'); // Anchore Link\n });\n }\n\n // product Pagination\n setPage(page: number) {\n this.router.navigate([], {\n relativeTo: this.route,\n queryParams: { page: page },\n queryParamsHandling: 'merge', // preserve the existing query params in the route\n skipLocationChange: false // do trigger navigation\n }).finally(() => {\n this.viewScroller.scrollToAnchor('productCatalogue'); // Anchore Link\n });\n }\n\n // Change Grid Layout\n updateGridLayout(value: string) {\n this.grid = value;\n }\n\n // Change Layout View\n updateLayoutView(value: string) {\n this.layoutView = value;\n if (value == 'list-view')\n this.grid = 'col-lg-12';\n else\n this.grid = 'col-xl-3 col-md-6';\n }\n\n}\n\n\n","\n\n\n
\n \n \n
\n
\n
\n
\n
\n
\n

Welcome to

\n

{{clientName}}

\n
\n
\n
\n
\n
\n \"\"\n
\n
\n \"\"\n
\n
\n
\n
\n
\n
\n\n\n\n
\n
\n
\n \n
\n
\n
\n\n\n\n\n\n\n\n\n\n\n
\n

events

\n

Upcoming Events

\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n
\n\n\n\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { AuthGuard } from '@app/core/guards/auth.guard';\nimport { content } from '../shared/routes/content-routes';\nimport { AccountDetailsComponent } from './account/account-details/account-details.component';\nimport { CartComponent } from './account/cart/cart.component';\nimport { CheckoutComponent } from './account/checkout/checkout.component';\nimport { WishlistComponent } from './account/wishlist/wishlist.component';\nimport { ForgotPasswordComponent } from './auth/forgot-password/forgot-password.component';\nimport { LoginComponent } from './auth/login/login.component';\nimport { RegisterComponent } from './auth/register/register.component';\nimport { MainLandingComponent } from './main-landing/main-landing.component';\nimport { VendorComponent } from './vendor/vendor.component';\nimport { EventsItemDetailComponent } from '@app/home/widgets/events-item-detail/events-item-detail.component';\nimport { Resolver } from '@app/shared/services/resolver.service';\nimport { ItemDetailComponent } from './widgets/item-detail/item-detail.component';\nimport { EventResolver } from '@app/shared/services/event-resolver.service';\nimport { AboutUsComponent } from './about-us/about-us.component';\nimport { OrderResultComponent } from './account/order-result/order-result.component';\nimport { MyTicketsComponent } from './account/my-tickets/my-tickets.component';\nimport { EventsLandingComponent } from './events-landing/events-landing.component';\nimport { ClaimAccountComponent } from './auth/claim-account/claim-account.component';\nimport { EventAccountComponent } from './auth/event-account/event-account.component';\nimport { CompassAccountComponent } from './auth/compass-account/compass-account.component';\nimport { SchoolAccountComponent } from './auth/school-account/school-account.component';\nimport { ItemDetailIPComponent } from './widgets/item-detail-ip/item-detail-ip.component';\n\n\nconst routes: Routes = [\n {\n path: 'landing',\n component: MainLandingComponent\n },\n {\n path: 'events/landing',\n component: EventsLandingComponent\n },\n {\n path: 'about-us',\n component: AboutUsComponent\n },\n {\n path: 'vendor',\n component: VendorComponent\n },\n {\n path: 'vendor/product/details',\n component: ItemDetailComponent\n },\n {\n path: 'vendor/product/detailsip',\n component: ItemDetailIPComponent\n },\n {\n path: 'vendor/event/details',\n component: EventsItemDetailComponent\n },\n {\n path: 'auth/login',\n component: LoginComponent\n },\n {\n path: 'auth/register',\n component: RegisterComponent\n },\n // {\n // path: 'auth/claim-account',\n // component: ClaimAccountComponent\n // },\n // {\n // path: 'auth/event-account',\n // component: EventAccountComponent\n // },\n // {\n // path: 'auth/compass-account',\n // component: CompassAccountComponent\n // },\n // {\n // path: 'auth/school-account',\n // component: SchoolAccountComponent\n // },\n {\n path: 'auth/forgot-password',\n component: ForgotPasswordComponent\n },\n {\n path: 'account/account-details',\n component: AccountDetailsComponent,\n canActivate: [AuthGuard],\n },\n {\n path: 'account/cart',\n component: CartComponent\n },\n {\n path: 'account/wishlist',\n component: WishlistComponent\n },\n {\n path: 'account/checkout',\n component: CheckoutComponent\n },\n {\n path: 'account/my-tickets',\n component: MyTicketsComponent\n },\n {\n path: 'account/order/result',\n component: OrderResultComponent\n }\n];\n \n @NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule]\n })\n export class HomeRoutingModule { }\n ","import { NgModule } from '@angular/core';\nimport { CommonModule, DatePipe } from '@angular/common';\nimport { HomeRoutingModule } from './home-routing.module';\n\nimport { MainLandingComponent } from './main-landing/main-landing.component';\nimport { ActionItemsComponent } from './widgets/action-items/action-items.component';\nimport { SharedModule } from '../shared/shared.module';\nimport { VendorCollectionComponent } from './widgets/vendor-collection/vendor-collection.component';\nimport { SliderComponent } from './widgets/slider/slider.component';\nimport { VendorComponent } from './vendor/vendor.component';\nimport { LoginComponent } from './auth/login/login.component';\nimport { RegisterComponent } from './auth/register/register.component';\nimport { WishlistComponent } from './account/wishlist/wishlist.component';\nimport { CheckoutComponent } from './account/checkout/checkout.component';\nimport { CartComponent } from './account/cart/cart.component';\nimport { ForgotPasswordComponent } from './auth/forgot-password/forgot-password.component';\nimport { AccountDetailsComponent } from './account/account-details/account-details.component';\nimport { PipesModule } from '@app/core/pipes/pipes.module';\nimport { EventsItemDetailComponent } from './widgets/events-item-detail/events-item-detail.component';\nimport { ItemDetailComponent } from './widgets/item-detail/item-detail.component';\nimport { RelatedProductComponent } from './widgets/related-product/related-product.component';\nimport { StockInventoryComponent } from './widgets/stock-inventory/stock-inventory.component';\nimport { AboutUsComponent } from './about-us/about-us.component';\nimport { SupportComponent } from './support/support.component';\nimport { OrderResultComponent } from './account/order-result/order-result.component';\nimport { NgxSpinnerModule } from 'ngx-spinner';\nimport { NgOtpInputModule } from 'ng-otp-input';\nimport { GoogleMapsModule } from '@angular/google-maps';\nimport { DialogModule } from '@syncfusion/ej2-angular-popups';\nimport { AllxsModule } from 'src/@allxs/allxs.module';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { HttpClientJsonpModule, HttpClientModule } from '@angular/common/http';\nimport { MyTicketsComponent } from './account/my-tickets/my-tickets.component';\nimport { EventsLandingComponent } from './events-landing/events-landing.component';\nimport { ClaimAccountComponent } from './auth/claim-account/claim-account.component';\nimport { EventAccountComponent } from './auth/event-account/event-account.component';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport { CompassAccountComponent } from './auth/compass-account/compass-account.component';\nimport { SchoolAccountComponent } from './auth/school-account/school-account.component';\nimport { ItemDetailIPComponent } from './widgets/item-detail-ip/item-detail-ip.component';\nimport { ProductItemComponent } from './widgets/item-detail-ip/components/product-item/product-item.component';\nimport { ProductTimeSlotComponent } from './widgets/item-detail-ip/components/time-slots/time-slots.component';\nimport { DeliverySlotComponent } from './account/components/delivery-slot/delivery-slot.component';\nimport { SchoolRegistrationComponent } from './auth/components/schoolregistration/school-registration.component';\nimport { SchoolRegisterChildComponent } from './auth/components/school-reg-child/school-registerchild.component';\nimport { PhoneRequestComponent } from './auth/components/phonerequest/phone-request.component';\n\n\n@NgModule({\n declarations: [\n MainLandingComponent,\n ActionItemsComponent,\n VendorCollectionComponent,\n SliderComponent,\n VendorComponent,\n LoginComponent,\n SchoolRegistrationComponent,\n SchoolRegisterChildComponent,\n PhoneRequestComponent,\n RegisterComponent,\n WishlistComponent,\n CheckoutComponent,\n DeliverySlotComponent,\n CartComponent,\n ForgotPasswordComponent,\n AccountDetailsComponent,\n EventsItemDetailComponent,\n ItemDetailComponent,\n ItemDetailIPComponent,\n ProductItemComponent,\n ProductTimeSlotComponent,\n RelatedProductComponent,\n StockInventoryComponent,\n AboutUsComponent,\n SupportComponent,\n OrderResultComponent,\n MyTicketsComponent,\n EventsLandingComponent,\n ClaimAccountComponent,\n EventAccountComponent,\n CompassAccountComponent,\n SchoolAccountComponent,\n ],\n imports: [\n CommonModule,\n HomeRoutingModule,\n FormsModule,\n ReactiveFormsModule,\n SharedModule,\n PipesModule,\n NgxSpinnerModule,\n HttpClientModule,\n HttpClientJsonpModule,\n GoogleMapsModule,\n DialogModule,\n AllxsModule,\n NgbModule,\n NgOtpInputModule\n ],\n exports: [\n ActionItemsComponent,\n VendorCollectionComponent\n ]\n})\nexport class HomeModule { }\n","import { Component, OnDestroy, OnInit } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { isLoggedInSelector, loginSuccessSelector } from '@app/core/store/auth/selector';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { select, Store } from '@ngrx/store';\nimport { Observable, Subscription } from 'rxjs';\nimport { Router } from '@angular/router';\nimport { Images, Product } from 'src/app/shared/classes/product';\nimport { HomeSlider, ProductSlider } from 'src/app/shared/data/slider';\nimport { ProductService } from 'src/app/shared/services/product.service';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { ImageParamters, EventLocalImage } from '@app/core/models/event/event_localimage.model';\nimport { VendorStoreModel } from '@app/core/models/vendor/vendor-store.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { ThemeImage } from '@app/core/models/client/themeimage.model';\nimport { NavService } from '@app/shared/services/nav.service';\nimport { Store as NewStore, Select } from '@ngxs/store';\nimport { SelectVendorAction } from 'src/@allxs/store/actions/vendor.actions';\nimport { CheckForTasksAction } from 'src/@allxs/store/actions/task.action';\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\n\nexport class VendorCategory {\n image: string = '';\n title: string = '';\n route: string = '';\n text: SafeHtml = '';\n}\n\nexport class VendorAdvertDetails {\n image1: string = '';\n image2: string = '';\n image3: string = '';\n}\n\nexport class MainLandingSlider {\n image: string = '';\n}\n\n@Component({\n selector: 'app-main-landing',\n templateUrl: './main-landing.component.html',\n styleUrls: ['./main-landing.component.scss']\n})\nexport class MainLandingComponent implements OnInit, OnDestroy {\n\n public themeLogo: string = '';\n public mainFooterLogo: string = '';\n public footerLogo: string = 'assets/images/logos/default/footerlogo.png';\n public contactUsEmail: string = '';\n public clientName: string = '';\n public footerDescription: string;\n public whatsAppContact: string;\n public companyName: string;\n\n public isLoggedIn: boolean = false;\n public isVendorLanding: boolean = false;\n public clientData?: ClientModel;\n private subscription: Subscription;\n\n public vendorList: Array = [];\n public backgroundImage: string = \"\";\n public bannerImages: Array = [];\n public timeStamp: string = new Date().getTime().toString();\n\n public products: Product[] = [];\n public selectedVendorProducts: Product[] = [];\n public featuredProducts: Product[] = [];\n public productCollections: any[] = [];\n public mainLandingImage: MainLandingSlider = {\n image: ''\n };\n public banners: ThemeImage[] = [];\n public sliderBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n public actionBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n\n public vendors: VendorCategory[] = [];\n public adverts: VendorAdvertDetails;\n public active;\n tabs = [1, 2, 3, 4, 5];\n\n public typesOfProducts: any[] = [];\n @Select(AuthState.isLoggedIn) isLoggedIn$: Observable;\n \n constructor(private _sanitizer: DomSanitizer,\n private router: Router,\n public productService: ProductService,\n public navServices: NavService,\n private store: Store,\n private newStore: NewStore) {\n this.subscription = new Subscription();\n this.subscription.add(this.isLoggedIn$.subscribe(data => {\n this.isLoggedIn = data;\n }));\n\n\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n if (data.vendors.length === 1 && \n data.clientData.startPage.toLowerCase() !== 'dashboard') {\n\n this.isVendorLanding = true; \n }\n }\n }));\n\n if (this.isLoggedIn) {\n this.navServices.updateMenuItems(true, this.isVendorLanding);\n }\n\n this.subscription.add(this.store.pipe(select(loginSuccessSelector)).subscribe(data => {\n var dt = data;\n if (data == true) {\n this.router.navigate(['./']);\n } \n }));\n\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo ?? '';\n this.contactUsEmail = this.clientData.fromEmail.toLowerCase();\n this.clientName = this.clientData.clientName;\n\n const bannersToFilter = this.clientData.theme?.Images ?? [];\n\n if (bannersToFilter.length > 0) {\n const bannersToFilter = data.clientData.theme.Images;\n\n let typeToFilter = 'Theme Logo';\n this.themeLogo = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter)[0]?.Banner?.Path ?? '';\n\n typeToFilter = 'Footer Logo';\n this.mainFooterLogo = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter)[0]?.Banner.Path ?? '';\n\n typeToFilter = 'Slider';\n this.sliderBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter) ?? [];\n\n typeToFilter = 'Banner';\n this.actionBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter) ?? [];\n }\n\n if (data.featuredProductList?.length > 0) {\n data.featuredProductList.forEach(featuredProduct => {\n let productImages: Images[] = [];\n let images: Images = {\n src: featuredProduct.productImages.cardImage ?? ''\n };\n\n for (let i = 0; i < 2; i++) {\n productImages.push({ ...images });\n }\n\n let product: Product = {\n id: featuredProduct.productId,\n title: featuredProduct.productName,\n price: featuredProduct.sellingPrice.amount,\n description: featuredProduct.description,\n place: featuredProduct.shortDescription,\n images: productImages\n }\n\n this.featuredProducts.push(product);\n })\n }\n\n this.vendorList = data.vendors;\n }\n }));\n\n this.typesOfProducts.push('featured products')\n }\n\n getBannersByTypeWithNames(\n banners: ThemeImage[] | undefined,\n type: string\n ): { BannerName: string; Banner: ThemeImage }[] {\n if (!banners || banners.length === 0) {\n return [];\n }\n\n const filteredByType = banners.filter(\n banner => banner.Type?.toLowerCase() === type.toLowerCase()\n );\n\n const limitedBanners = filteredByType.slice(0, 3);\n\n return limitedBanners.map(({ Name, ...rest }) => ({\n BannerName: Name ?? '', // Handle potential undefined or null Name property\n Banner: { Name: Name ?? '', ...rest }, // Ensure Banner.Name has a default value\n }));\n }\n\n\n public HomeSliderConfig: any = HomeSlider;\n public ProductSliderConfig: any = ProductSlider;\n\n // Logo\n public logos = [{\n image: 'assets/images/logos/1.png',\n }, {\n image: 'assets/images/logos/2.png',\n }, {\n image: 'assets/images/logos/3.png',\n }, {\n image: 'assets/images/logos/4.png',\n }, {\n image: 'assets/images/logos/5.png',\n }, {\n image: 'assets/images/logos/6.png',\n }, {\n image: 'assets/images/logos/7.png',\n }, {\n image: 'assets/images/logos/8.png',\n }];\n\n\n ngOnInit(): void {\n // Add class in body\n document.body.classList.add(\"tools-bg\");\n this.newStore.dispatch(new CheckForTasksAction());\n }\n\n ngOnDestroy(): void {\n // Remove class in body\n document.body.classList.remove(\"tools-bg\");\n }\n\n // Product Tab collection\n getCollectionProducts(collection) {\n return this.products.filter((item) => {\n if (item.collection.find(i => i === collection)) {\n return item\n }\n })\n }\n\n}\n\n","\n\n\n
\n \n \n \"\"\n \n \n
\n\n\n\n\n
\n
\n
\n \n
\n
\n
\n\n\n\n
\n
\n
\n
\n
\n

where would you like to go?

\n
\n
\n
\n

\n\n

\n
\n
\n
\n
\n
\n\n\n\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n\n\n\n
0\">\n

exclusive products

\n

featured products

\n
\n
0\">\n
\n
\n
\n
    \n
  • \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n
    \n
  • \n
\n
\n
\n
\n
\n
\n \n \n
\n
\n\n\n\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-support',\n templateUrl: './support.component.html',\n styleUrls: ['./support.component.scss']\n})\nexport class SupportComponent {\n\n}\n","

support works!

\n","import { Component, Input, OnInit } from '@angular/core';\nimport { ActivatedRoute, NavigationExtras, Router } from '@angular/router';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { VendorStoreModel } from '@app/core/models/vendor/vendor-store.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { select, Store } from '@ngrx/store';\nimport { Observable, Subscription } from 'rxjs';\nimport { Images, Product } from 'src/app/shared/classes/product';\nimport { CategorySlider, ProductCategorySlider, ProductSlider } from 'src/app/shared/data/slider';\nimport { ProductService } from 'src/app/shared/services/product.service';\nimport { NgxSpinnerService } from 'ngx-spinner';\nimport { ProductModel } from '@app/core/models/product/product.model';\nimport { ThemeImage } from '@app/core/models/client/themeimage.model';\nimport { EventModel } from '@app/core/models/event/event.model';\nimport { DataService, EventService } from '@app/core/services';\nimport { EventSummary } from '@app/shared/classes/event';\nimport { Ticket } from '@app/shared/classes/ticket';\nimport { DatePipe, ViewportScroller } from '@angular/common';\nimport { VendorState } from 'src/@allxs/store/state/vendor.state';\nimport { VendorModel } from '@app/core/models/vendor/vendor.model';\nimport { Select, Select as StoreSelect } from '@ngxs/store';\nimport { tick } from '@angular/core/testing';\nimport { isLoggedInSelector } from '@app/core/store/auth/selector';\nimport { NavService } from '@app/shared/services/nav.service';\nimport { ProductCategoryListModel } from '@app/core/models/product/product-categorylist.model';\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\n\nexport class VendorSliderDetails {\n title: string = '';\n subTitle: string = '';\n image: string = '';\n}\n\nexport class VendorBannerDetails {\n image: string = '';\n save: string = '';\n title: string = '';\n}\n\nexport class VendorAdvertDetails {\n image1: string = '';\n image2: string = '';\n image3: string = '';\n}\n\n@Component({\n selector: 'app-vendor',\n templateUrl: './vendor.component.html',\n styleUrls: ['./vendor.component.scss']\n})\nexport class VendorComponent implements OnInit {\n\n public vendorName: string;\n public events: Array = [];\n private clientData: ClientModel;\n private subscription: Subscription;\n public vendorId: number = 0;\n public clientId: number = 0;\n public isLoggedIn: boolean = false;\n\n public vendorList: Array = [];\n public sliders: VendorSliderDetails[] = [];\n public collections: VendorBannerDetails[] = [];\n public adverts?: VendorAdvertDetails;\n public banners: ThemeImage[] = [];\n\n public products: Product[] = [];\n public productCollections: any[] = [];\n public active;\n public themeLogo: string = '';\n public vendorThemeLogo: string = '';\n\n public productCatalogue: Product[] = [];\n public vendorProducts: Product[] = [];\n public vendorFeaturedProducts: Product[] = [];\n public eventList: EventSummary[] = [];\n public vendorCategories: ProductCategoryListModel[] = [];\n\n public filteredBannersWithType: { BannerName: string; Banner: ThemeImage }[] = [];\n public actionBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n public advertBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n public sliderBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n\n public parallexImage = '';\n\n public HasEvents = false;\n\n public grid: string = 'col-xl-3 col-md-6';\n public layoutView: string = 'grid-view';\n public pageNo: number = 1;\n public paginate: any = {};\n public sortBy: string;\n public filterBy: string;\n\n public CategorySliderConfig: any = ProductCategorySlider;\n public ProductSliderConfig: any = ProductSlider;\n\n public catImage: 'assets/images/icon/cat1.png';\n\n @StoreSelect(VendorState.selectedVendor) selectedVendor$: Observable;\n @Select(AuthState.isLoggedIn) isLoggedIn$: Observable;\n constructor(private route: ActivatedRoute,\n private dataService: DataService,\n private eventService: EventService,\n private store: Store,\n public productService: ProductService,\n public datePipe: DatePipe,\n public navServices: NavService,\n private viewScroller: ViewportScroller,\n private router: Router) {\n this.subscription = new Subscription();\n this.subscription.add(this.isLoggedIn$.subscribe(data => {\n this.isLoggedIn = data;\n }));\n this.selectedVendor$.subscribe(data => {\n this.vendorId = data.vendorId;\n\n if (data.vendorData.hasEvents > 0) {\n this.HasEvents = true;\n }\n\n if (data.vendorData.vendorImages.featuredImage != '') {\n let vendorSliderDetails: VendorSliderDetails = {\n title: 'Welcome to',\n subTitle: data.vendorName,\n image: data.vendorData.vendorImages.featuredImage ?? ''\n }\n\n this.sliders.push(vendorSliderDetails);\n\n this.parallexImage = vendorSliderDetails.image;\n }\n\n const bannersToFilter = data.vendorData.theme?.Images ?? [];\n\n if (bannersToFilter.length > 0) {\n\n let typeToFilter = 'Advert';\n if (this.advertBanners.length < 1) {\n this.advertBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter) ?? [];\n }\n\n if (data.vendorData.vendorImages.featuredImage === '') {\n typeToFilter = 'Slider';\n this.sliderBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter) ?? [];\n if (this.sliderBanners.length > 0) {\n let vendorSliderDetails: VendorSliderDetails = {\n title: 'Welcome to',\n subTitle: data.vendorName,\n image: this.sliderBanners[0].Banner.Path ?? ''\n }\n\n this.sliders.push(vendorSliderDetails);\n this.parallexImage = vendorSliderDetails.image;\n }\n }\n }\n\n data.featuredProductList.forEach(featuredProduct => {\n const product = this.productService.createProduct(featuredProduct, data.vendorData.vendorType);\n this.vendorFeaturedProducts.push(product);\n })\n\n let category: ProductCategoryListModel = {\n categoryId: 0,\n categoryName: 'ALL'\n };\n this.vendorCategories.push(category);\n\n data.vendorProducts.forEach(vendorProduct => {\n const product = this.productService.createProduct(vendorProduct, data.vendorData.vendorType);\n\n let vendorCategory: ProductCategoryListModel = {\n categoryId: product.categoryId,\n categoryName: product.categoryName\n };\n\n const existingCategory = this.vendorCategories.find(category => category.categoryId === vendorCategory.categoryId);\n\n if (!existingCategory) {\n this.vendorCategories.push(vendorCategory);\n }\n\n this.productCatalogue.push(product);\n });\n });\n\n this.vendorProducts = this.productCatalogue;\n\n this.route.queryParams.subscribe(params => {\n this.sortBy = params.sortBy ? params.sortBy : 'ascending';\n this.pageNo = params.page ? params.page : this.pageNo;\n this.filterBy = params.filterBy ? params.filterBy : null;\n\n let filteredCatalogue = this.vendorProducts.slice();\n\n if (this.filterBy !== null) {\n filteredCatalogue = this.productService.filterProductCatalogue(filteredCatalogue, this.filterBy);\n }\n\n this.paginate = this.productService.getPager(filteredCatalogue.length, +this.pageNo);\n\n this.productCatalogue = filteredCatalogue.slice(this.paginate.startIndex, this.paginate.endIndex + 1);\n });\n }\n\n ngOnInit() {\n this.getPublicEvents();\n }\n\n getBannersByTypeWithNames(\n banners: ThemeImage[],\n type: string\n ): { BannerName: string; Banner: ThemeImage }[] {\n const filteredByType = banners.filter(banner => banner.Type.toLowerCase() === type.toLowerCase());\n\n const limitedBanners = filteredByType.slice(0, 3);\n\n return limitedBanners.map(({ Name, ...rest }) => ({\n BannerName: Name,\n Banner: { Name, ...rest },\n }));\n }\n\n // Product Tab collection\n getCollectionProducts(collection) {\n return this.products.filter((item) => {\n if (item.collection.find(i => i === \"featured products\")) {\n return item\n }\n })\n }\n\n getPrivateEvents() {\n let that = this;\n this.eventService.getEvents(this.clientData.clientId, 1, 5).subscribe(data => {\n let tempEvents = data;\n tempEvents.forEach((x: EventModel) => {\n const foundEvent = that.dataService.events.find(px => px.eventId == x.eventId);\n if (!foundEvent)\n that.dataService.events.push(x);\n });\n that.events = that.dataService.events.filter(x => x.eventType == \"private\");\n });\n }\n\n async getPublicEvents() {\n let that = this;\n this.events = this.dataService.events;\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n that.clientData = data.clientData;\n that.themeLogo = that.clientData.clientLogo ?? '';\n\n that.eventService.getPublicEvents(that.clientData.clientId, 1, 5, that.vendorId).subscribe(data => {\n let tempEvents = data;\n tempEvents.forEach((x: EventModel) => {\n const foundEvent = that.dataService.events.find(px => px.eventId == x.eventId);\n if (!foundEvent)\n that.dataService.events.push(x);\n });\n that.events = that.dataService.events.filter(x => x.eventType == \"public\");\n that.events.forEach(event => {\n if (!event.isActive)\n return;\n if (event.products && event.products.length > 0) {\n const eventImages: Images[] = [];\n const tickets: Product[] = [];\n\n let images: Images;\n\n event.eventImages.forEach(eventImage => {\n images = {\n src: eventImage.imagePath\n }\n\n eventImages.push(images);\n });\n\n for (let i = 0; i < 3; i++) {\n eventImages.push({ ...images });\n }\n\n event.products.forEach(ticket => {\n if (ticket.availability != null) {\n const ticketImages: Images[] = [];\n\n let ticketImage: Images = {\n src: ticket.productImages.cardImage\n }\n ticketImages.push(ticketImage);\n\n const start = new Date(ticket.availability.startDate);\n const currentDate = new Date(start);\n const formattedDate = this.datePipe.transform(currentDate, 'd MMM');\n\n let ticketProduct: Product = {\n id: ticket.productId,\n title: ticket.productName,\n price: ticket.sellingPrice.amount,\n description: ticket.description,\n place: ticket.shortDescription,\n inventory: ticket.inventory,\n brand: formattedDate,\n images: ticketImages\n }\n\n tickets.push(ticketProduct);\n }\n })\n\n let eventDetail: EventSummary;\n if (event.products[0]?.availability != null) {\n eventDetail = {\n eventId: event.eventId,\n vendorId: event.vendorId,\n eventName: event.eventName,\n eventDate: event.eventDate,\n eventTime: event.eventTime,\n eventLocation: event.location.locationName,\n locationLatitude: event.location.locationLatitude,\n locationLongitude: event.location.locationLongitude,\n eventDescription: event.eventStoreConfig.eventDescription,\n eventStartDate: event.eventDate,\n eventEndDate: event.eventEndDate,\n startTime: event.products[0]?.availability?.startTime,\n endTime: event.products[0]?.availability?.endTime,\n eventImages: eventImages,\n tickets: tickets\n }\n } else {\n eventDetail = {\n eventId: event.eventId,\n vendorId: event.vendorId,\n eventName: event.eventName,\n eventDate: event.eventDate,\n eventTime: event.eventTime,\n eventLocation: event.location.locationName,\n locationLatitude: event.location.locationLatitude,\n locationLongitude: event.location.locationLongitude,\n eventDescription: event.eventStoreConfig.eventDescription,\n eventImages: eventImages\n }\n }\n\n if (that.events.length == 1) {\n const navigationExtras: NavigationExtras = {\n state: { data: eventDetail }\n };\n this.router.navigate(['/home/vendor/event/details'], navigationExtras)\n .catch(error => console.log('Navigation error:', error));\n return;\n }\n else {\n this.eventList.push(eventDetail);\n }\n }\n\n });\n })\n }\n }));\n this.getEventsAll();\n }\n\n\n cleanUpDescription(description: string): string {\n let cleanedDescription = description.replace(/<[^>]*>?/gm, '');\n cleanedDescription = cleanedDescription.replace(/&[^\\s]*;/g, '');\n\n return cleanedDescription;\n }\n\n async getEventsAll() {\n let that = this;\n this.events = this.dataService.events;\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n let vendorId = 0;\n if (data.vendors.length == 1)\n vendorId = data.vendors[0].vendorId;\n\n this.eventService.getPublicEvents(this.clientData.clientId, 1, 99, vendorId).subscribe(data => {\n let tempEvents = data;\n tempEvents.forEach((x: EventModel) => {\n const foundEvent = that.dataService.events.find(px => px.eventId == x.eventId);\n if (!foundEvent)\n that.dataService.events.push(x);\n });\n that.events = that.dataService.events.filter(x => x.eventType == \"public\");\n })\n }\n }));\n }\n\n ngOnDestroy(): void {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n\n // SortBy Filter\n sortByFilter(value) {\n this.router.navigate([], {\n relativeTo: this.route,\n queryParams: { sortBy: value ? value : null },\n queryParamsHandling: 'merge', // preserve the existing query params in the route\n skipLocationChange: false // do trigger navigation\n }).finally(() => {\n this.viewScroller.scrollToAnchor('productCatalogue'); // Anchore Link\n });\n }\n\n filterCategory(category: string) {\n this.filterBy = category;\n let filteredCatalogue = this.vendorProducts.slice();\n\n if (category !== '' && category !== 'ALL') {\n filteredCatalogue = this.productService.filterProductCatalogue(filteredCatalogue, category);\n }\n\n this.paginate = this.productService.getPager(filteredCatalogue.length, +this.pageNo);\n\n this.productCatalogue = filteredCatalogue.slice(this.paginate.startIndex, this.paginate.endIndex + 1);\n }\n\n findCategoryIdByName(categoryName: string): number | undefined {\n const foundCategory = this.vendorCategories.find(category => category.categoryName === categoryName);\n return foundCategory ? foundCategory.categoryId : undefined;\n }\n\n // FilterBy Filter\n filterByCategory(value) {\n this.router.navigate([], {\n relativeTo: this.route,\n queryParams: { filterBy: value ? value : null },\n queryParamsHandling: 'merge', // preserve the existing query params in the route\n skipLocationChange: false // do trigger navigation\n }).finally(() => {\n //this.viewScroller.scrollToAnchor('productCatalogue'); // Anchore Link\n });\n }\n\n // product Pagination\n setPage(page: number) {\n this.router.navigate([], {\n relativeTo: this.route,\n queryParams: { page: page, filterBy: this.filterBy },\n queryParamsHandling: 'merge', // preserve the existing query params in the route\n skipLocationChange: false, // do trigger navigation\n }).finally(() => {\n this.viewScroller.scrollToAnchor('productCatalogue'); // Anchore Link\n });\n }\n\n // Change Grid Layout\n updateGridLayout(value: string) {\n this.grid = value;\n }\n\n // Change Layout View\n updateLayoutView(value: string) {\n this.layoutView = value;\n if (value == 'list-view')\n this.grid = 'col-lg-12';\n else\n this.grid = 'col-xl-3 col-md-6';\n }\n\n\n}\n\n","\n\n\n
0\">\n \n \n
\n\n\n\n\n\n\n\n\n\n\n\n
\n

0\" class=\"title-inner1\">Featured Products

\n

0\" class=\"title-inner1\">Upcoming Events

\n
\n
\n
\n
\n
\n

\n

\n
\n
\n
\n
\n
\n
\n
\n
0\">\n \n \n \n
\n \n \n
\n
\n
\n
\n
\n
0\">\n \n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n\n
\n

\n

Categories

\n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n
\n
\n\n\n\n\n
\n

\n

Products

\n
\n
\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n
\n\n\n\n
\n
\n
\n
\n\n\n\n","import { Component, Input, OnInit, OnDestroy, ViewChild, TemplateRef } from '@angular/core';\nimport { UserModel } from '@app/core/models/user/user.model';\nimport { UserService } from '@app/core/services';\nimport { isLoggedInSelector } from '@app/core/store/auth/selector';\nimport { getUserSelector } from '@app/core/store/user/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { select, Store } from '@ngrx/store';\nimport { Observable, Subscription, timer } from 'rxjs';\nimport { EmitType } from '@syncfusion/ej2-base';\nimport { DialogComponent } from '@syncfusion/ej2-angular-popups';\nimport { QrCodeComponent } from '@app/shared/components/modal/qr-code/qr-code.component';\nimport { PaymentFormComponent } from '@app/shared/components/modal/payment-form/payment-form.component';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { Select } from '@ngxs/store';\nimport { SelectedPreorderModel } from 'src/@allxs/model/preorder/selected_preorder.model';\nimport { PreorderCartOrderModel } from '@app/core/models/preorder-cart/preordercartorder.model';\nimport { POMenuOrderModel } from '@app/core/models/preorder-cart/pomenuorder.model';\nimport { PreOrderState } from 'src/@allxs/store/state/preorder.state';\nimport { Store as ngsxStore } from \"@ngxs/store\";\nimport { AuthState } from 'src/@allxs/store/state/auth.state';\n\nexport class VendorAdvertDetails {\n image1: string = '';\n image2: string = '';\n image3: string = '';\n}\n\n@Component({\n selector: 'app-action-items',\n templateUrl: './action-items.component.html',\n styleUrls: ['./action-items.component.scss']\n})\nexport class ActionItemsComponent implements OnInit, OnDestroy {\n\n @Input() filteredBannersWithType: VendorAdvertDetails;\n @Input() display: boolean;\n @Input() itemDetailDisplay: boolean = false;\n @Input() preOrders: boolean = false;\n\n @ViewChild(\"qrCode\") QRCode: QrCodeComponent;\n\n\n @Select(PreOrderState.selectPreOrder) selectedOrder$: Observable;\n @Select(PreOrderState.selectPreOrderCart) preOrderCart$: Observable;\n @Select(PreOrderState.selectPreOrderMenuOrder) selectedPreOrderCart$: Observable;\n @Select(AuthState.isLoggedIn) isLoggedIn$: Observable;\n\n private subscription: Subscription = new Subscription();\n public balance: number = 0;\n public rewardsBalance: number = 0;\n public firstName: string = \"\";\n public lastName: string = \"\";\n public accountNumber: number = 0;\n public userPhoto: string;\n\n public isLoggedIn: boolean = false;\n public userData: UserModel;\n\n iframeForm: any;\n\n public targetElement: HTMLElement;\n public myAngularxQrCode: string = \"\";\n public countDown: number = 0;\n private updateTimerSubscription: Subscription;\n private countdownSubscription: Subscription;\n private updateTimer: any = null;\n public timeLeft: string = \"00:00:00\";\n private source: Observable;\n public mode: string = \"wallet\";\n public accountOTPDialogWidth: string = \"800px\";\n public accountOTPDialogVisible: boolean = false;\n public itemsInCart: number = 0;\n public preorderMenuModels: POMenuOrderModel[];\n\n public hideOTPDialog: EmitType = () => {\n this.accountOTPDialog!.hide();\n }\n\n public buttons: Object = [\n {\n 'click': this.hideOTPDialog.bind(this),\n buttonModel: {\n content: 'Cancel',\n }\n }\n ];\n\n @ViewChild('accountOTPDialog', { static: true }) accountOTPDialog: DialogComponent;\n\n \n \n constructor(\n private ngsxStore: ngsxStore,\n private store: Store,\n private userService: UserService,\n private sanitizer: DomSanitizer) {\n this.subscription.add(this.isLoggedIn$.subscribe(data => {\n this.isLoggedIn = data;\n }));\n\n this.subscription.add(\n this.store.pipe(select(getUserSelector)).subscribe(data => {\n if (data) {\n this.userData = data.userData!;\n this.balance = data.userData?.account.balance ?? 0;\n }\n }));\n }\n\n ngOnDestroy(): void {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n\n ngOnInit(): void {\n this.generateForm();\n\n this.subscription.add(this.selectedOrder$.subscribe((preOrder) => {\n }));\n\n this.subscription.add(this.subscription.add(this.selectedOrder$.subscribe((data) => {\n\n })));\n\n\n this.subscription.add(this.subscription.add(this.selectedPreOrderCart$.subscribe(data => {\n this.preorderMenuModels = data;\n this.itemsInCart = this.getCounts(data);\n })));\n }\n\n private getCounts(data: POMenuOrderModel[]): number {\n var count = 0;\n try {\n data.forEach((item) => {\n item.days.forEach((day) => {\n day.forUser.forEach((user) => {\n count += user.cart.totalItemCount;\n });\n })\n });\n } catch (e) { }\n return count;\n }\n\n generateForm() {\n const form = `\n
Payments
\n
\n
Payment
\n
\n `;\n this.iframeForm = this.sanitizer.bypassSecurityTrustHtml(form);\n }\n\n otpDialogClose() {\n this.cancelPay();\n }\n\n onPayCollect() {\n this.showPay();\n this.QRCode.openModal();\n }\n\n myPay() {\n if ((this.userData.security !== null) && (this.userData.security.pin !== null)) {\n if (this.userData.security.pin.length > 0) {\n return;\n }\n }\n this.showPay();\n }\n\n showPay() {\n let that = this;\n this.userService.getTempToken().subscribe(data => {\n that.myAngularxQrCode = data.token;\n that.mode = \"qr\";\n that.countDown = 10;\n that.countdownTimer();\n });\n }\n\n\n cancelPay() {\n if (this.countdownSubscription) {\n this.countdownSubscription.unsubscribe();\n }\n }\n\n countdownTimer() {\n if (this.countdownSubscription) {\n this.countdownSubscription.unsubscribe();\n }\n\n this.countDown = 10; // Initial countdown value\n this.source = timer(0, 2000); // Starts at 0 and emits every 2 seconds\n\n this.countdownSubscription = this.source.subscribe(() => {\n this.countDown--;\n if (this.countDown <= 0) {\n this.cancelPay();\n this.countdownSubscription.unsubscribe(); // Unsubscribe when countdown reaches 0\n }\n this.timeLeft = this.transform(this.countDown);\n if (this.timeLeft == \"00:00\") {\n this.QRCode.closeModal();\n }\n });\n }\n\n pad(num: number, size: number): string {\n let s = num + \"\";\n while (s.length < size) s = \"0\" + s;\n return s;\n }\n\n transform(value: number): string {\n const minutes: number = Math.floor(value / 60);\n return this.pad(minutes, 2) + ':' + this.pad((value - minutes * 60), 2);\n }\n\n}","
\n
\n \"Banner\n
\n
\n\n\n\n\n\n\n","import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { EventSummary } from '@app/shared/classes/event';\nimport { Product } from '@app/shared/classes/product';\nimport { CategorySlider, ProductDetailsMainSlider, ProductDetailsThumbSlider } from '@app/shared/data/slider';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { select, Store } from '@ngrx/store';\nimport { catchError, map, of, Subscription } from 'rxjs';\nimport { DatePipe } from '@angular/common';\nimport { GoogleMap, MapInfoWindow } from '@angular/google-maps';\nimport { config } from '@app/core/app.config';\nimport { HttpClient } from '@angular/common/http';\nimport { tick } from '@angular/core/testing';\n\nexport class CalendarRange {\n image: string = 'assets/images/icon/calendar.png';\n date: string;\n}\n\n@Component({\n selector: 'app-events-item-detail',\n templateUrl: './events-item-detail.component.html',\n styleUrls: ['./events-item-detail.component.scss']\n})\nexport class EventsItemDetailComponent implements OnInit, OnDestroy {\n\n public product: Product = {};\n public counter: number = 1;\n public activeSlide: any = 0;\n public selectedSize: any;\n public mobileSidebar: boolean = false;\n public active = 1;\n\n private clientData: ClientModel;\n private subscription: Subscription;\n public themeLogo: string = '';\n\n public event: EventSummary = {};\n public dateRange: string[] = [];\n\n public calendarRangeList: CalendarRange[] = [];\n\n public soldOut: boolean = false;\n\n public ticketTotal: number;\n\n public CategorySliderConfig: any = CategorySlider;\n public ProductDetailsMainSliderConfig: any = ProductDetailsMainSlider;\n public ProductDetailsThumbConfig: any = ProductDetailsThumbSlider;\n\n @ViewChild(GoogleMap, { static: false }) map: GoogleMap;\n @ViewChild(MapInfoWindow, { static: false }) info: MapInfoWindow;\n markers: any[] = []\n markerOptions: google.maps.MarkerOptions = { draggable: false };\n infoContent = '';\n public mapOk: boolean = false;\n\n selectedDate: string = '';\n\n selectedTickets: Product[] = [];\n\n zoom = 15;\n center: google.maps.LatLngLiteral;\n stylez = [\n {\n featureType: \"all\",\n elementType: \"all\",\n stylers: [\n { saturation: -100 } // <-- THIS\n ]\n }\n ];\n\n options: google.maps.MapOptions = {\n mapTypeId: \"roadmap\",\n zoomControl: true,\n scrollwheel: false,\n disableDoubleClickZoom: true,\n maxZoom: 15,\n minZoom: 8,\n //styles: this.stylez\n };\n\n constructor(private route: ActivatedRoute, private router: Router,\n public productService: ProductService,\n private store: Store,\n private httpClient: HttpClient,\n private datePipe: DatePipe) {\n this.subscription = new Subscription();\n this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n }\n })\n\n const receivedData = this.router.getCurrentNavigation()?.extras.state?.data;\n if (receivedData) {\n this.event = receivedData;\n\n if (this.event.eventLocation) {\n this.center = { lat: this.event.locationLatitude, lng: this.event.locationLongitude };\n let markerHome = { position: { lat: this.event.locationLatitude, lng: this.event.locationLongitude } };\n this.markers.push(markerHome);\n }\n }\n\n const eventDates = this.getUniqueAndSortedDates(this.event.tickets);\n\n if (eventDates && eventDates.length > 0) {\n eventDates.forEach(date => {\n let calendarRange: CalendarRange = {\n image: 'assets/images/icon/calendar.png',\n date: date\n }\n\n this.calendarRangeList.push(calendarRange);\n })\n }\n\n this.initGoogleMaps();\n }\n\n ngOnInit(): void {\n }\n\n getUniqueAndSortedDates(tickets: Product[]): string[] {\n const uniqueDatesSet = new Set();\n if (tickets && tickets.length === 0) {\n tickets.forEach((ticket) => {\n uniqueDatesSet.add(ticket.brand);\n });\n\n\n // Create a new array with the dates in the sorted order\n const uniqueAndSortedDates = Array.from(uniqueDatesSet).sort();\n\n return uniqueAndSortedDates;\n }\n }\n\n\n onTicketSelected(tickets: Product[]) {\n this.selectedTickets = tickets;\n }\n\n setTicketTotal(ticketTotal: number) {\n this.ticketTotal = ticketTotal;\n }\n\n initGoogleMaps() {\n\n // this.httpClient.post(\n // 'https://maps.googleapis.com/maps/api/js?key='+ config.GOOGLE_API_KEY,\n // 'callback'\n // )\n // .pipe(\n // map(() => true),\n // catchError((error) => {\n // alert(\"a\")\n // console.log(\"Errir\", error); \n this.mapOk = true;\n // return of(error)})\n // ).subscribe();\n\n // this.httpClient.jsonp('https://maps.googleapis.com/maps/api/js?key=' + config.GOOGLE_API_KEY, 'callback')\n // .pipe(\n // map(() => true),\n // catchError(() => of(false)),\n // ).subscribe({\n // next: (data: any) => {\n // this.mapOk = true;\n // },\n // error: (error: any) => {\n // }\n // });\n }\n\n move(event: any) {\n\n }\n moveMap(event: any) {\n\n }\n openInfo(markerElem: any, markerinfo: any) {\n\n }\n\n groupByBrand(items: any[]): { groupedMap: Map, allObjects: Map } {\n const groupedMap = new Map();\n const allObjects = new Map();\n\n items.forEach((item) => {\n const brand = item.brand;\n\n if (!groupedMap.has(brand)) {\n groupedMap.set(brand, []);\n allObjects.set(brand, []);\n }\n\n groupedMap.get(brand)?.push(item);\n allObjects.get(brand)?.push(item);\n });\n\n return { groupedMap, allObjects };\n }\n\n generateDateRange(startDate: string, endDate: string): void {\n const start = new Date(startDate);\n const end = new Date(endDate);\n\n const currentDate = new Date(start);\n\n while (currentDate <= end) {\n const formattedDate = this.datePipe.transform(currentDate, 'MMM d');\n this.dateRange.push(formattedDate);\n currentDate.setDate(currentDate.getDate() + 1);\n }\n }\n\n formatDateTimeRange(startDate: string, endDate: string): string {\n const formattedStartDate = this.datePipe.transform(startDate, 'mediumDate');\n const formattedEndDate = this.datePipe.transform(endDate, 'mediumDate');\n\n if (formattedStartDate === formattedEndDate) {\n return formattedStartDate;\n } else {\n return `${formattedStartDate} - ${formattedEndDate}`;\n }\n }\n\n\n formatTimeRange(startTime: string, endTime: string): string {\n return `${startTime} - ${endTime}`;\n }\n\n formatDate(eventDate: string): string {\n const formatDate = new Date(eventDate);\n return this.datePipe.transform(formatDate, 'd MMM y');\n }\n\n ngOnDestroy(): void {\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n\n // Get Product Color\n Color(variants: any) {\n const uniqColor = []\n for (let i = 0; i < Object.keys(variants).length; i++) {\n if (uniqColor.indexOf(variants[i].color) === -1 && variants[i].color) {\n uniqColor.push(variants[i].color)\n }\n }\n return uniqColor\n }\n\n // Get Product Size\n Size(variants: any) {\n const uniqSize = []\n for (let i = 0; i < Object.keys(variants).length; i++) {\n if (uniqSize.indexOf(variants[i].size) === -1 && variants[i].size) {\n uniqSize.push(variants[i].size)\n }\n }\n return uniqSize\n }\n\n selectSize(size: any) {\n this.selectedSize = size;\n }\n\n // Increament\n increment() {\n this.counter++;\n }\n\n // Decrement\n decrement() {\n if (this.counter > 1) this.counter--;\n }\n\n // Add to cart\n async addToCart() {\n this.selectedTickets.forEach(async ticket => {\n const status = await this.productService.addToCart(ticket);\n });\n }\n\n // Buy Now\n async buyNow(product: any) {\n product.quantity = this.counter || 1;\n const status = await this.productService.addToCart(product);\n if (status)\n this.router.navigate(['/home/account/checkout']);\n }\n\n // Add to Wishlist\n addToWishlist(product: any) {\n this.productService.addToWishlist(product);\n }\n\n // Toggle Mobile Sidebar\n toggleMobileSidebar() {\n this.mobileSidebar = !this.mobileSidebar;\n }\n\n}\n\n","\n\n\n\n
\n
\n
\n
\n
\n \n \n \n
\n \n
\n
\n
\n
\n \n
\n
\n
\n

{{ event.eventName! | titlecase }}

\n
\n \n \n \n \n
{{ formatDateTimeRange(event.eventStartDate, event.eventEndDate) }}
\n \n \n \n
{{ formatTimeRange(event.startTime, event.endTime) }}
\n \n \n \n
{{ event.eventLocation }}
\n \n \n
Date:
Time:
Location:
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n

\n Price: {{ ticketTotal | currency:'R' }}\n

\n \n \n
\n
\n
\n
\n \n {{ infoContent }}\n \n \n \n
\n
\n
\n
\n
share it
\n
\n
    \n
  • \n
  • \n
  • \n
  • \n
  • \n
\n
\n \n
\n
\n
\n
\n
100% SECURE PAYMENT
\n
\n
    \n
  • \n \"\"\n
  • \n
  • \n \"\"\n
  • \n
  • \n \"\"\n
  • \n
  • \n \"\"\n
  • \n
  • \n \"\"\n
  • \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n\n\n\n\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from \"@angular/core\";\nimport { Product } from \"@app/shared/classes/product\";\n\n@Component({\n selector: 'app-product-item',\n templateUrl: './product-item.component.html',\n styleUrls: ['./product-item.component.scss']\n})\nexport class ProductItemComponent {\n\n @Input() product: Product;\n @Output() onAddToCart: EventEmitter = new EventEmitter();\n @Output() onRemoveFromCart: EventEmitter = new EventEmitter();\n public counter: number = 0;\n public amount: number = 0.0;\n \n\n increment() {\n \n this.counter++;\n this.amount = this.product.price * this.counter;\n this.onAddToCart.emit(this.product); \n }\n\n decrement() {\n if (this.counter > 0) {\n this.counter--;\n this.onRemoveFromCart.emit(this.product);\n }\n this.amount = this.product.price * this.counter;\n }\n\n} ","
\n dfg\n
Sold Out
\n
{{product?.title}}
\n
quantity
\n
\n
\n \n \n \n \n \n \n \n {{amount}}\n
\n
\n
","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from \"@angular/core\";\nimport { Product } from \"@app/shared/classes/product\";\nimport { TimeSlotInventoryDataModel } from \"src/@allxs/model/inventory/timeslotinventorydata.model\";\nimport * as moment from 'moment';\nimport { TimeSlotDateInventoryModel } from \"src/@allxs/model/inventory/timeslotdateinventory.model\";\nimport { TimeSlotInventoryModel } from \"src/@allxs/model/inventory/timeslotinventory.model\";\n\n@Component({\n selector: 'app-product-timeslots',\n templateUrl: './time-slots.component.html',\n styleUrls: ['./time-slots.component.scss']\n})\nexport class ProductTimeSlotComponent {\n\n public selected: boolean = false;\n public _timeSlots: TimeSlotInventoryDataModel;\n @Input() set timeslots(value: TimeSlotInventoryDataModel) {\n if (value == null) return;\n this._timeSlots = value;\n if (this.selectedDateSlot) {\n this.selectedDateSlot = this._timeSlots.dateSlots.find(x => x.id == this.selectedDateSlot.id);\n }\n if (this.selectedTimeSlot != null && this.selectedTimeSlot == this.systemSelectedTimeSlot) {\n this.selected = true;\n }\n }\n\n @Input() lock: boolean = false;\n @Input() set selectedtimeslot(value: TimeSlotInventoryModel) {\n if (value == null) return;\n this.systemSelectedTimeSlot = value;\n }\n\n\n @Output() onTimeSlotSelected: EventEmitter = new EventEmitter();\n\n selectedDateSlot: TimeSlotDateInventoryModel;\n selectedTimeSlot: TimeSlotInventoryModel;\n systemSelectedTimeSlot: TimeSlotInventoryModel;\n\n\n public onSelectDateSlot(item: TimeSlotDateInventoryModel) {\n if (!this.lock)\n this.selectedDateSlot = item;\n }\n\n public onSelectTimeSlot(item: TimeSlotInventoryModel) {\n if (!this.lock) {\n this.selectedTimeSlot = item;\n this.onTimeSlotSelected.emit(item);\n }\n }\n} ","
\n
\n
    \n
  • \n
    \n {{item.date| moment : 'DD MMM YYYY' }}\n
    \n
  • \n
\n
\n
\n
    \n
  • \n
    \n
    Name : {{item.name}}
    \n
    Held : {{item.held}}
    \n
    Sold : {{item.sold}}
    \n
    Available : {{item.available}}
    \n
    \n
  • \n
\n
\n
","import { Component, Input, OnDestroy, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { ThemeImage } from '@app/core/models/client/themeimage.model';\nimport { Department_StoreModel } from '@app/core/models/department/departmentstore.model';\nimport { ProductCategoryListModel } from '@app/core/models/product/product-categorylist.model';\nimport { CategoryStoreModel } from '@app/core/models/vendor/category-store.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { Images, Includes, Product, SelectedIncludes } from '@app/shared/classes/product';\nimport { ProductDetailsMainSlider, ProductDetailsThumbSlider } from '@app/shared/data/slider';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { select, Store } from '@ngrx/store';\nimport { ToastrService } from 'ngx-toastr';\nimport { Select, Store as ngxStore } from '@ngxs/store';\nimport { Observable, Subscription } from 'rxjs';\nimport { GetProductInventoryAction, HoldInventoryAction, ReleaseInventoryAction } from 'src/@allxs/store/actions/product.actions';\nimport Swal from 'sweetalert2';\nimport { ProductState } from 'src/@allxs/store/state/product.state';\nimport { TimeSlotInventoryDataModel } from 'src/@allxs/model/inventory/timeslotinventorydata.model';\nimport { TimeSlotInventoryModel } from 'src/@allxs/model/inventory/timeslotinventory.model';\nimport { VendorService } from '@app/core/services';\n\n@Component({\n selector: 'app-item-detail-ip',\n templateUrl: './item-detail-ip.component.html',\n styleUrls: ['./item-detail-ip.component.scss']\n})\nexport class ItemDetailIPComponent implements OnInit, OnDestroy{\n\n public product: Product = {};\n public counter: number = 1;\n public activeSlide: any = 0;\n public selectedSize: any;\n public mobileSidebar: boolean = false;\n public active = 1;\n public simpleProduct: boolean = false;\n public moreProducts: Product[] = [];\n public originalPrice: number;\n public productPrice: number;\n\n public variantProducts: Product[] = [];\n public productList: Product[] = [];\n\n\n includedItems: Includes[] = [];\n selectedIncludes: SelectedIncludes[] = [];\n public selectedRadios: { [key: string]: string } = {};\n\n public requiredSelected: boolean = false;\n\n public ProductDetailsMainSliderConfig: any = ProductDetailsMainSlider;\n public ProductDetailsThumbConfig: any = ProductDetailsThumbSlider;\n\n private clientData: ClientModel;\n public themeLogo: string = '';\n public meetsRequirements: boolean = true;\n\n public allCategories: Array;\n\n public vendorCategories: ProductCategoryListModel[] = [];\n\n public actionBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n\n selectedRadioValue: any;\n selectedCheckboxValues: any[] = [];\n selectedCategoryCounts: Map = new Map();\n\n public productVariants: Product[];\n public timeSlotData: TimeSlotInventoryDataModel;\n public selectedTimeSlot: TimeSlotInventoryModel = null;\n private subscription: Subscription = new Subscription();\n public lock: boolean = false;\n\n @Select(ProductState.selectedProductInventory) productInventory$: Observable;\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private toastr: ToastrService,\n public productService: ProductService,\n private _vendorService: VendorService,\n private store: Store,\n private ngsxStore: ngxStore) {\n this.subscription.add(this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n this.allCategories = data.allCategories;\n\n if (data.featuredProductList?.length > 0) {\n data.featuredProductList.forEach(featuredProduct => {\n let productImages: Images[] = [];\n let images: Images = {\n src: featuredProduct && featuredProduct.productImages ?\n (featuredProduct.productImages.cardImage ?? '') : ''\n };\n\n if (images.src !== '') {\n for (let i = 0; i < 3; i++) {\n productImages.push({ ...images });\n }\n }\n\n let product: Product = {\n id: featuredProduct.productId,\n title: featuredProduct.productName,\n price: featuredProduct.sellingPrice.amount,\n description: featuredProduct.description,\n place: featuredProduct.shortDescription,\n images: productImages\n }\n\n this.moreProducts.push(product);\n })\n }\n\n const bannersToFilter = this.clientData.theme.Images;\n\n let typeToFilter = 'Banner';\n this.actionBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter);\n\n }\n }));\n\n const receivedProduct = this.router.getCurrentNavigation()?.extras.state?.product;\n if (receivedProduct) {\n this.product = receivedProduct;\n this.simpleProduct = this.product.simpleProduct;\n }\n\n const receivedCategories = this.router.getCurrentNavigation()?.extras.state?.categories;\n if (receivedCategories) {\n this.vendorCategories = receivedCategories;\n }\n\n this.getUniqueCategoryNames().forEach(categoryName => {\n const categoryItems = this.getProductItemsForCategory(categoryName).filter(item => item.categoryOptionCount === 1);\n if (categoryItems.length > 0) {\n this.selectedRadios[categoryName] = categoryItems[0].id;\n this.onRadioChange(categoryItems[0].value, categoryItems[0]);\n }\n });\n\n this.originalPrice = this.product.price;\n this.productPrice = this.product.price;\n\n this.subscription.add(this.productInventory$.subscribe({\n next:( productData: TimeSlotInventoryDataModel) =>{\n if (productData == null)\n return;\n this.timeSlotData = productData\n productData.products.forEach(x => {\n let product: Product = {\n id: x.productId,\n title: x.productName,\n price: x.sellingPrice.amount,\n description: x.description,\n place: x.shortDescription,\n selected: false\n } \n\n var pr = this.variantProducts.find(x => x.id == product.id);\n if (pr == null)\n this.variantProducts.push(product);\n\n }) \n }\n }));\n this.ngsxStore.dispatch(new GetProductInventoryAction(this.product.id))\n \n\n }\n\n isDuplicateRadioSelection(includedItem: Includes): boolean {\n const categoryItems = this.getProductItemsForCategory(includedItem.categoryName).filter(item => item.categoryOptionCount === 1);\n const selectedRadioId = this.selectedRadios[includedItem.categoryName];\n\n return categoryItems.some(item => item.id === selectedRadioId && item.id !== includedItem.id);\n }\n\n getUniqueCategoryNames(): string[] {\n const uniqueNames = new Set();\n if (this.product.includes) {\n this.product.includes.forEach(includedItem => {\n uniqueNames.add(includedItem.categoryName);\n });\n }\n return Array.from(uniqueNames);\n }\n\n getProductItemsForCategory(categoryName: string): Includes[] {\n return this.product.includes ?\n this.product.includes.filter(includedItem => includedItem.categoryName === categoryName) :\n [];\n }\n\n getBannersByTypeWithNames(\n banners: ThemeImage[],\n type: string\n ): { BannerName: string; Banner: ThemeImage }[] {\n const filteredByType = banners.filter(banner => banner.Type.toLowerCase() === type.toLowerCase());\n const limitedBanners = filteredByType.slice(0, 3);\n\n return limitedBanners.map(({ Name, ...rest }) => ({\n BannerName: Name,\n Banner: { Name, ...rest },\n }));\n }\n\n productIncludesUpdated(includedItem: Includes, ignoreCategory: boolean) {\n if (!ignoreCategory) {\n const categoryExists = this.selectedIncludes.some(selectedItem =>\n selectedItem.categoryName === includedItem.categoryName\n );\n\n if (!categoryExists) {\n const categoryItems = this.includedItems.filter(item => item.categoryName === includedItem.categoryName);\n\n const isDuplicateInCategory = categoryItems.some(item =>\n this.selectedIncludes.some(selectedItem =>\n selectedItem.id === item.id && selectedItem.categoryName === item.categoryName\n )\n );\n\n if (!isDuplicateInCategory) {\n this.addSelectedInclude(includedItem);\n }\n }\n } else {\n this.addSelectedInclude(includedItem);\n }\n }\n\n addSelectedInclude(includedItem: Includes) {\n const selectedInclude: SelectedIncludes = {\n id: includedItem.id,\n name: includedItem.productName,\n price: includedItem.value,\n categoryName: includedItem.categoryName\n };\n\n this.selectedIncludes.push(selectedInclude);\n this.product.selectedIncludes = this.selectedIncludes;\n }\n\n onRadioChange(value: any, includedItem: Includes) {\n if (!this.isDuplicateRadioSelection(includedItem)) {\n this.productIncludesUpdated(includedItem, false);\n }\n\n this.updatePrice(+value);\n this.validateCategorySelections();\n }\n\n onCheckboxChange(checked: boolean, value: any, includedItem: Includes) {\n const categoryName = includedItem.categoryName;\n const maxCount = includedItem.categoryOptionCount || Infinity; // Default to Infinity if categoryOptionCount is not provided\n \n // Get the current count for the category\n let currentCount = this.selectedCategoryCounts.get(categoryName) || 0;\n \n if (checked) {\n if (currentCount < maxCount) {\n // Update the count for the category\n this.selectedCategoryCounts.set(categoryName, currentCount + 1);\n this.updatePrice(+value);\n this.productIncludesUpdated(includedItem, false);\n } else {\n this.meetsRequirements = false;\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: `Maximum selection reached for category ${categoryName}`,\n showConfirmButton: false,\n timer: 3000\n });\n }\n } else {\n // If the checkbox is unchecked, decrement the count\n if (currentCount > 0) {\n this.meetsRequirements = true;\n this.selectedCategoryCounts.set(categoryName, currentCount - 1);\n this.removePriceAndSelectedInclude(includedItem);\n }\n }\n }\n updatePrice(value: any) {\n if (!isNaN(value)) {\n this.product.price += value;\n }\n }\n\n removePrice(value: any) {\n if (!isNaN(value)) {\n this.product.price -= value;\n }\n }\n\n removePriceAndSelectedInclude(includedItem: Includes) {\n this.removePrice(includedItem.value);\n\n // Remove the item from selectedIncludes\n const indexToRemove = this.selectedIncludes.findIndex(item =>\n item.id === includedItem.id && item.categoryName === includedItem.categoryName\n );\n\n if (indexToRemove !== -1) {\n this.selectedIncludes.splice(indexToRemove, 1);\n this.product.selectedIncludes = this.selectedIncludes;\n }\n }\n\n ngOnInit(): void {\n }\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n\n Color(variants) {\n const uniqColor = []\n for (let i = 0; i < Object.keys(variants).length; i++) {\n if (uniqColor.indexOf(variants[i].color) === -1 && variants[i].color) {\n uniqColor.push(variants[i].color)\n }\n }\n return uniqColor\n }\n\n Size(variants) {\n const uniqSize = []\n for (let i = 0; i < Object.keys(variants).length; i++) {\n if (uniqSize.indexOf(variants[i].size) === -1 && variants[i].size) {\n uniqSize.push(variants[i].size)\n }\n }\n return uniqSize\n }\n\n selectSize(size) {\n this.selectedSize = size;\n }\n\n increment() {\n this.counter++;\n }\n\n decrement() {\n if (this.counter > 1) this.counter--;\n }\n\n incrementPrice() {\n this.product.price = +(this.product.price + 1.00).toFixed(2);\n this.productPrice = this.product.price;\n }\n\n decrementPrice() {\n if (this.product.price < this.originalPrice) {\n this.product.price = this.originalPrice;\n } else {\n this.product.price = Math.max(this.product.price - 1.00, this.originalPrice);\n this.productPrice = this.product.price;\n }\n}\n\n validateCategorySelections() {\n const categoriesWithRadio = Array.from(new Set(this.includedItems.filter(item => item.categoryOptionCount === 1).map(item => item.categoryName)));\n\n const allCategoriesSelected = categoriesWithRadio.every(category => {\n return this.selectedRadios.hasOwnProperty(category);\n });\n\n if (allCategoriesSelected) {\n this.requiredSelected = false; // Enable the button\n this.toastr.clear(); // Clear any existing error messages\n // Allow the action here (e.g., enable the 'Add to Cart' button)\n } else {\n this.requiredSelected = true; // Disable the button\n //this.toastr.error(\"Please select an item from each category\");\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please select an item from each category.\",\n showConfirmButton: false,\n timer: 3000\n });\n // Handle the scenario when a required selection is missing (e.g., show a toast)\n }\n }\n\n addToCart(product: any) {\n this.toastr.success(\"Product Added To Cart Successfully.\");\n let status = \"\";\n this.productList.forEach(x=> {\n const status = this.productService.addToCart(x); \n })\n if (status)\n this.router.navigate(['/home/account/cart']);\n }\n\n async buyNow(product: any) {\n product.quantity = this.counter || 1;\n const status = await this.productService.addToCart(product);\n if (status)\n this.router.navigate(['/home/account/cart']);\n }\n\n addToWishlist(product: any) {\n this.toastr.success(\"Product Added To Wishlist Successfully.\");\n this.productService.addToWishlist(product);\n }\n\n toggleMobileSidebar() {\n this.mobileSidebar = !this.mobileSidebar;\n }\n\n onAddToCart(product: Product){\n this.subscription.add(this.ngsxStore.dispatch(new HoldInventoryAction(this.selectedTimeSlot, product.id))\n .subscribe( data =>{\n var productIndex = this.productList.findIndex(x => x.id === product.id);\n if (productIndex < 0){\n product.attributes = data.product.selectedProduct + \";\";\n product.productType = \"InventoryTimeSlot\";\n product.quantity = 1;\n\n this.productList.push(product);\n }\n else {\n this.productList[productIndex].quantity += 1;\n this.productList[productIndex].attributes += data.product.selectedProduct + \";\";\n }\n this.lock = true;\n this.calculateTotal()\n }))\n\n }\n\n onRemoveFromCart(product: Product){\n let attributes = product.attributes.split(\";\")[0];\n if (attributes.length == 0){\n return;\n }\n var productIndex = this.productList.findIndex(x => x.id === product.id);\n // this.subscription.add(this.ngsxStore.dispatch(new ReleaseInventoryAction(product.id, attributes, this.selectedTimeSlot))\n // .subscribe( data =>{\n // let test = attributes;\n // product.attributes = product.attributes.replace(attributes + \";\", '');\n // if(product.attributes.length == 0){\n // this.lock = false;\n // }\n // this.calculateTotal()\n // }))\n\n this._vendorService.releaseTimeSlotInventory(product.id, attributes, this.selectedTimeSlot).subscribe({\n next: data => {\n this.ngsxStore.dispatch(new ReleaseInventoryAction(data));\n product.attributes = product.attributes.replace(attributes + \";\", '');\n this.productList[productIndex].quantity -= 1;\n this.productList[productIndex].attributes = product.attributes.replace(attributes + \";\", '');\n if(product.attributes.length == 0){\n this.productList.splice(productIndex, 1);\n this.lock = false;\n }\n this.calculateTotal()\n }\n })\n }\n\n calculateTotal(){\n\n }\n\n \n onTimeSlotSelected(timeSlot: TimeSlotInventoryModel){\n this.selectedTimeSlot = timeSlot;\n }\n}\n","\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n \n back\n \n
\n \n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n \n \n \n
\n \n
\n
\n
\n
\n
1\">\n
\n \n \n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

{{ product?.title }}

\n

\n {{ (product?.price | discount:product) * productService.Currency?.price | currency:\n productService.Currency?.currency:'symbol' }}\n

\n
\n
\n
donation price
\n
\n
\n \n \n \n \n \n \n \n
\n
c\n
\n
\n \n \n\n
\n \n\n
\n
\n add to cart1\n
\n
\n
product details
\n
\n
\n
\n
\n
\n
{{ categoryName }}
\n
\n
\n \n \n \n
\n
\n
\n
\n\n
\n
\n
share it
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
    \n
  • \n Description\n \n

    {{ product.description }}

    \n
    \n
  • \n
  • \n Write Review\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
  • \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n\n\n\n","import { Component, Input } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ClientModel } from '@app/core/models/client/client.model';\nimport { ThemeImage } from '@app/core/models/client/themeimage.model';\nimport { ProductCategoryListModel } from '@app/core/models/product/product-categorylist.model';\nimport { CategoryStoreModel } from '@app/core/models/vendor/category-store.model';\nimport { CartItemModel, WebOrderItemDetailModel } from '@app/core/models/weborder/weborder-item.model';\nimport { clientSelector } from '@app/core/store/client/selectors';\nimport { AppStateInterface } from '@app/core/types/appState.interface';\nimport { Images, Includes, Product, SelectedIncludes, IDictionary, Dictionary } from '@app/shared/classes/product';\nimport { ProductDetailsMainSlider, ProductDetailsThumbSlider } from '@app/shared/data/slider';\nimport { ProductService } from '@app/shared/services/product.service';\nimport { select, Store } from '@ngrx/store';\nimport { ToastrService } from 'ngx-toastr';\nimport Swal from 'sweetalert2';\n\n@Component({\n selector: 'app-item-detail',\n templateUrl: './item-detail.component.html',\n styleUrls: ['./item-detail.component.scss']\n})\nexport class ItemDetailComponent {\n\n public product: Product = {};\n public counter: number = 1;\n public activeSlide: any = 0;\n public selectedSize: any;\n public mobileSidebar: boolean = false;\n public active = 1;\n public simpleProduct: boolean = false;\n public moreProducts: Product[] = [];\n public originalPrice: number;\n public customPrice: number;\n public productPrice: number;\n public productBasePrice: number;\n public extrasPrice: number = 0;\n public optionsPrice: number = 0;\n\n includedItems: Includes[] = [];\n selectedIncludes: SelectedIncludes[] = [];\n public selectedRadios: { [key: string]: string } = {};\n\n public requiredSelected: boolean = false;\n\n public ProductDetailsMainSliderConfig: any = ProductDetailsMainSlider;\n public ProductDetailsThumbConfig: any = ProductDetailsThumbSlider;\n\n private clientData: ClientModel;\n public themeLogo: string = '';\n public meetsRequirements: boolean = true;\n\n public allCategories: Array;\n\n public vendorCategories: ProductCategoryListModel[] = [];\n\n public actionBanners: { BannerName: string; Banner: ThemeImage }[] = [];\n\n selectedRadioValue: any;\n selectedCheckboxValues: any[] = [];\n selectedCategoryCounts: Map = new Map();\n\n includedItemOptions: IncludesModel[] = [];\n itemCategory: IDictionary = new Dictionary();\n\n constructor(private route: ActivatedRoute,\n private router: Router,\n private toastr: ToastrService,\n public productService: ProductService,\n private store: Store) {\n this.store.pipe(select(clientSelector)).subscribe(data => {\n if (data) {\n this.clientData = data.clientData;\n this.themeLogo = this.clientData.clientLogo;\n this.allCategories = data.allCategories;\n\n if (data.featuredProductList?.length > 0) {\n data.featuredProductList.forEach(featuredProduct => {\n let productImages: Images[] = [];\n let images: Images = {\n src: featuredProduct && featuredProduct.productImages ?\n (featuredProduct.productImages.cardImage ?? '') : ''\n };\n\n if (images.src !== '') {\n for (let i = 0; i < 3; i++) {\n productImages.push({ ...images });\n }\n }\n\n let product: Product = {\n id: featuredProduct.productId,\n title: featuredProduct.productName,\n price: featuredProduct.sellingPrice.amount,\n description: featuredProduct.description,\n place: featuredProduct.shortDescription,\n images: productImages\n }\n\n this.moreProducts.push(product);\n })\n }\n\n const bannersToFilter = this.clientData.theme.Images;\n\n let typeToFilter = 'Banner';\n this.actionBanners = this.getBannersByTypeWithNames(bannersToFilter, typeToFilter);\n\n }\n });\n\n\n const receivedProduct = this.router.getCurrentNavigation()?.extras.state?.product;\n if (receivedProduct) {\n this.product = receivedProduct;\n\n this.includedItemOptions = this.product.includes || [];\n this.includedItemOptions.forEach(option => {\n if (!this.itemCategory.keys().includes(option.categoryName)) {\n var option1: IncludesModel[] = [];\n option1.push(option);\n this.itemCategory.add(option.categoryName, option1);\n }\n else {\n var option1 = this.itemCategory[option.categoryName];\n option1.push(option);\n }\n });\n\n\n\n this.productPrice = this.product.price;\n this.simpleProduct = this.product.simpleProduct;\n this.productBasePrice = this.product.price;\n this.product.basePrice = this.product.price;\n }\n\n const receivedCategories = this.router.getCurrentNavigation()?.extras.state?.categories;\n if (receivedCategories) {\n this.vendorCategories = receivedCategories;\n }\n\n this.getUniqueCategoryNames().forEach(categoryName => {\n const categoryItems = this.getProductItemsForCategory(categoryName).filter(item => item.categoryOptionCount === 1);\n if (categoryItems.length > 0) {\n var includedItems = categoryItems.filter(x => x.valueType == 'No Cost');\n this.selectedRadios[categoryName] = includedItems.length > 0 ? includedItems[0].id : categoryItems[0].id;\n this.onRadioChange(categoryItems[0].value, categoryItems[0]);\n }\n });\n\n this.originalPrice = this.product.price;\n this.productPrice = this.product.price;\n //this.customPrice = this.productPrice;\n }\n\n isDuplicateRadioSelection(includedItem: Includes): boolean {\n const categoryItems = this.getProductItemsForCategory(includedItem.categoryName).filter(item => item.categoryOptionCount === 1);\n const selectedRadioId = this.selectedRadios[includedItem.categoryName];\n\n return categoryItems.some(item => item.id === selectedRadioId && item.id !== includedItem.id);\n }\n\n getUniqueCategoryNames(): string[] {\n const uniqueNames = new Set();\n if (this.product.includes) {\n this.product.includes.forEach(includedItem => {\n uniqueNames.add(includedItem.categoryName);\n });\n }\n return Array.from(uniqueNames);\n }\n\n getProductItemsForCategory(categoryName: string): Includes[] {\n return this.product.includes ?\n this.product.includes.filter(includedItem => includedItem.categoryName === categoryName) :\n [];\n }\n\n\n getBannersByTypeWithNames(\n banners: ThemeImage[],\n type: string\n ): { BannerName: string; Banner: ThemeImage }[] {\n const filteredByType = banners.filter(banner => banner.Type.toLowerCase() === type.toLowerCase());\n const limitedBanners = filteredByType.slice(0, 3);\n\n return limitedBanners.map(({ Name, ...rest }) => ({\n BannerName: Name,\n Banner: { Name, ...rest },\n }));\n }\n\n productIncludesUpdated(includedItem: Includes, ignoreCategory: boolean) {\n\n if (!ignoreCategory) {\n const categoryExists = this.selectedIncludes.some(selectedItem =>\n selectedItem.categoryName === includedItem.categoryName\n );\n\n if (!categoryExists) {\n const categoryItems = this.includedItems.filter(item => item.categoryName === includedItem.categoryName);\n\n const isDuplicateInCategory = categoryItems.some(item =>\n this.selectedIncludes.some(selectedItem =>\n selectedItem.id === item.id && selectedItem.categoryName === item.categoryName\n )\n );\n\n if (!isDuplicateInCategory) {\n this.addSelectedInclude(includedItem);\n }\n }\n } else {\n this.addSelectedInclude(includedItem);\n }\n }\n\n addSelectedInclude(includedItem: Includes) {\n const selectedInclude: SelectedIncludes = {\n id: includedItem.id,\n name: includedItem.categoryName,\n price: includedItem.valueType != 'No Cost' ? includedItem.value : 0.0,\n categoryName: includedItem.categoryName\n };\n\n this.selectedIncludes.push(selectedInclude);\n this.product.selectedIncludes = this.selectedIncludes;\n }\n\n onRadioChange(value: any, includedItem: Includes) {\n if (!this.isDuplicateRadioSelection(includedItem)) {\n this.productIncludesUpdated(includedItem, false);\n }\n var test = this.itemCategory[includedItem.categoryName];\n test.forEach(item => { item.selected = false; });\n var test1 = test.filter(item => item.id === includedItem.id);\n test1[0].selected = true;\n this.updatePrice(0)\n this.validateCategorySelections();\n }\n\n onCheckboxChange(checked: boolean, value: any, includedItem: Includes) {\n const categoryName = includedItem.categoryName;\n const maxCount = includedItem.categoryOptionCount || Infinity; // Default to Infinity if categoryOptionCount is not provided\n\n // Get the current count for the category\n let currentCount = this.selectedCategoryCounts.get(categoryName) || 0;\n\n var test = this.itemCategory[includedItem.categoryName];\n var test1 = test.filter(item => item.id === includedItem.id);\n test1[0].selected = checked;\n this.updatePrice(0);\n\n if (checked) {\n if (currentCount < maxCount) {\n // Update the count for the category\n this.selectedCategoryCounts.set(categoryName, currentCount + 1);\n this.productIncludesUpdated(includedItem, false);\n } else {\n this.meetsRequirements = false;\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: `Maximum selection reached for category ${categoryName}`,\n showConfirmButton: false,\n timer: 3000\n });\n }\n } else {\n // If the checkbox is unchecked, decrement the count\n if (currentCount > 0) {\n this.meetsRequirements = true;\n this.selectedCategoryCounts.set(categoryName, currentCount - 1);\n //this.updateExtras(-value);\n //this.removePriceAndSelectedInclude(includedItem);\n }\n }\n }\n\n updatePrice(value: any) {\n if (!isNaN(value)) {\n this.product.price = this.productBasePrice;\n this.itemCategory.values().forEach(item => {\n item.forEach(x => {\n console.log(x);\n //x.values().forEach(y => {\n if (x.selected === true && x.valueType != 'No Cost') {\n this.product.price += (x.value);\n }\n //});\n });\n });\n return this.product.price;\n }\n }\n\n removePrice(value: any) {\n if (!isNaN(value)) {\n this.product.price = this.productPrice - value;\n }\n }\n\n removePriceAndSelectedInclude(includedItem: Includes) {\n this.removePrice(includedItem.value);\n\n // Remove the item from selectedIncludes\n const indexToRemove = this.selectedIncludes.findIndex(item =>\n item.id === includedItem.id && item.categoryName === includedItem.categoryName\n );\n\n if (indexToRemove !== -1) {\n this.selectedIncludes.splice(indexToRemove, 1);\n this.product.selectedIncludes = this.selectedIncludes;\n }\n }\n\n ngOnInit(): void {\n }\n\n Color(variants) {\n const uniqColor = []\n for (let i = 0; i < Object.keys(variants).length; i++) {\n if (uniqColor.indexOf(variants[i].color) === -1 && variants[i].color) {\n uniqColor.push(variants[i].color)\n }\n }\n return uniqColor\n }\n\n Size(variants) {\n const uniqSize = []\n for (let i = 0; i < Object.keys(variants).length; i++) {\n if (uniqSize.indexOf(variants[i].size) === -1 && variants[i].size) {\n uniqSize.push(variants[i].size)\n }\n }\n return uniqSize\n }\n\n selectSize(size) {\n this.selectedSize = size;\n }\n\nincrement() {\n this.counter++;\n\n // Ensure originalPrice is set correctly (only set it once)\n if (this.originalPrice === 0 || this.originalPrice === undefined) {\n this.originalPrice = this.productPrice; // Use productPrice as the base price\n }\n\n // Update the product price based on the counter\n if (this.originalPrice > 0) {\n this.productPrice = this.originalPrice * this.counter;\n this.product.price = this.productPrice;\n } else {\n console.error(\"Original price is not set or is invalid.\");\n }\n}\n\ndecrement() {\n if (this.counter > 1) {\n this.counter--;\n }\n\n // Ensure originalPrice is set correctly (only set it once)\n if (this.originalPrice === 0 || this.originalPrice === undefined) {\n this.originalPrice = this.productPrice; // Use productPrice as the base price\n }\n\n // Update the product price based on the counter\n if (this.originalPrice > 0) {\n this.productPrice = this.originalPrice * this.counter;\n this.product.price = this.productPrice;\n } else {\n console.error(\"Original price is not set or is invalid.\");\n }\n}\n incrementPrice() {\n if (this.productPrice) {\n this.product.price = this.productPrice;\n this.product.price = +(this.product.price + 1.00).toFixed(2);\n }\n }\n\n decrementPrice() {\n if (this.product.price < this.originalPrice) {\n this.product.price = this.originalPrice;\n } else {\n this.product.price = Math.max(this.product.price - 1.00, this.originalPrice);\n this.productPrice = this.product.price;\n }\n }\n\n validateCategorySelections() {\n const categoriesWithRadio = Array.from(new Set(this.includedItems.filter(item => item.categoryOptionCount === 1).map(item => item.categoryName)));\n\n const allCategoriesSelected = categoriesWithRadio.every(category => {\n return this.selectedRadios.hasOwnProperty(category);\n });\n\n if (allCategoriesSelected) {\n this.requiredSelected = false; // Enable the button\n this.toastr.clear(); // Clear any existing error messages\n // Allow the action here (e.g., enable the 'Add to Cart' button)\n } else {\n this.requiredSelected = true; // Disable the button\n //this.toastr.error(\"Please select an item from each category\");\n Swal.fire({\n icon: \"error\",\n title: \"Oh No!\",\n text: \"Please select an item from each category.\",\n showConfirmButton: false,\n timer: 3000\n });\n // Handle the scenario when a required selection is missing (e.g., show a toast)\n }\n }\n\n async addToCart(product: any) {\n this.toastr.success(\"Product Added To Cart Successfully.\");\n product.quantity = this.counter || 1;\n product.price = this.updatePrice(0);\n\n if (this.productPrice) {\n this.product.price = this.productPrice\n }\n\n product.salesincludes = new Array();\n console.log(this.itemCategory);\n this.itemCategory.values().forEach(item => {\n item.forEach(x => {\n console.log(x);\n var salesCatInc = product.salesincludes.find(y => y.categoryName === x.categoryName);\n if (!salesCatInc) {\n salesCatInc = new WebOrderItemDetailModel();\n salesCatInc.categoryName = x.categoryName;\n salesCatInc.id = x.id;\n salesCatInc.quantity = x.quantity;\n salesCatInc.items = new Array();\n product.salesincludes.push(salesCatInc);\n }\n if (x.selected === true) {\n var salesitem = new CartItemModel();\n salesitem.productId = x.productId;\n salesitem.productName = x.productName;\n salesitem.quantity = 1;\n salesitem.includedQuantity = x.includedQuantity;\n salesitem.value = x.value;\n salesitem.attributes = x.valueType;\n salesitem.productType = x.includeType;\n salesCatInc.items.push(salesitem);\n }\n //});\n });\n });\n const status = await this.productService.addToCart(product);\n if (status)\n this.router.navigate(['/home/account/cart']);\n }\n\n async buyNow(product: any) {\n product.quantity = this.counter || 1;\n const status = await this.productService.addToCart(product);\n if (status)\n this.router.navigate(['/home/account/cart']);\n }\n\n addToWishlist(product: any) {\n this.toastr.success(\"Product Added To Wishlist Successfully.\");\n this.productService.addToWishlist(product);\n }\n\n toggleMobileSidebar() {\n this.mobileSidebar = !this.mobileSidebar;\n }\n\n\n}\n\n\nexport class IncludesModel implements Includes {\n id?: string;\n productId: number;\n productItemNo?: number;\n productName?: string;\n categoryName?: string;\n categoryTabOpen?: boolean;\n categoryOptionCount?: number;\n categoryRequired?: boolean;\n valueType?: string;\n valueVisible?: boolean;\n value?: number;\n quantity?: number;\n includedQuantity?: number;\n maxQuantity?: number;\n includeType?: string;\n selected?: boolean = false;\n}\n\n\n","\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n \n back\n \n
\n \n
\n
\n \n
\n \n \n
\n
\n
\n
\n
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n \n \n \n
\n \n
\n
\n
\n
\n
1\">\n
\n \n \n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n

{{ product?.title }}

\n

\n {{ (product?.price | discount:product) * productService.Currency?.price | currency: productService.Currency?.currency:'symbol' }}\n

\n
\n
\n
donation price
\n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n
\n \n
\n
\n
Sold Out
\n
quantity
\n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n \n
\n
\n
product details
\n
\n
\n
\n
\n
\n
{{ categoryName }}
\n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n
\n
Sold Out
\n
quantity
\n
\n
\n \n \n \n \n \n \n \n
\n
\n
\n \n
\n
\n
share it
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
    \n
  • \n Description\n \n

    {{ product.description }}

    \n
    \n
  • \n
  • \n Write Review\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
  • \n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n\n\n\n","import { Component, Input, OnInit } from '@angular/core';\nimport { Product } from '@app/shared/classes/product';\nimport { ProductService } from '@app/shared/services/product.service';\n\n@Component({\n selector: 'app-related-product',\n templateUrl: './related-product.component.html',\n styleUrls: ['./related-product.component.scss']\n})\nexport class RelatedProductComponent implements OnInit {\n \n @Input() type: string\n\n public products: Product[] = [];\n\n constructor(public productService: ProductService) { \n this.productService.getProducts.subscribe(response => \n this.products = response.filter(item => item.type == this.type)\n );\n }\n\n ngOnInit(): void {\n }\n\n}\n","\n
\n
\n
\n
\n

Related Products

\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n","import { Component, Input, OnInit } from '@angular/core';\nimport { HomeSlider } from 'src/app/shared/data/slider';\n\n@Component({\n selector: 'app-slider',\n templateUrl: './slider.component.html',\n styleUrls: ['./slider.component.scss']\n})\nexport class SliderComponent implements OnInit {\n \n @Input() sliders: any[];\n @Input() class: string;\n @Input() textClass: string;\n @Input() category: string;\n @Input() buttonText: string;\n @Input() buttonClass: string;\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n public HomeSliderConfig: any = HomeSlider;\n\n}\n","\n\t\n\t \n\t\t\"\"\n\t \n\t \n\t\n\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-stock-inventory',\n templateUrl: './stock-inventory.component.html',\n styleUrls: ['./stock-inventory.component.scss']\n})\nexport class StockInventoryComponent implements OnInit {\n\n @Input() stock: any;\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","
\n

\n Hurry! We have only {{ stock }} product in stock.\n

\n
\n \n
\n
","import { Component, Input, OnInit } from '@angular/core';\nimport { CollectionSlider } from 'src/app/shared/data/slider';\nimport { Store as NewStore } from '@ngxs/store';\nimport { VendorStoreModel } from '@app/core/models/vendor/vendor-store.model';\nimport { SelectVendorAction } from 'src/@allxs/store/actions/vendor.actions';\n\n@Component({\n selector: 'app-vendor-collection',\n templateUrl: './vendor-collection.component.html',\n styleUrls: ['./vendor-collection.component.scss']\n})\nexport class VendorCollectionComponent implements OnInit {\n\n @Input() vendorCollection: any[];\n @Input() category: string;\n @Input() class: string;\n\n constructor( private newStore: NewStore) { \n }\n\n ngOnInit(): void {\n\n }\n\n exploreVendor(vendor) {\n this.newStore.dispatch(new SelectVendorAction(vendor));\n }\n\n public CollectionSliderConfig: any = CollectionSlider;\n\n}\n","\n\n \n \n
\n
\n
\n \"\"\n

{{vendor.vendorName}}

\n
    \n \n Explore\n \n
    \n
    \n
    \n
    \n
    \n
    ","import { WebOrderItemDetailModel } from \"@app/core/models/weborder/weborder-item.model\";\nimport { IncludesModel } from \"@app/home/widgets/item-detail/item-detail.component\";\n\nexport interface IDictionary {\n add(key: string, value: T): void;\n remove(key: string): void;\n containsKey(key: string): boolean;\n keys(): string[];\n values(): T[];\n }\n \n export class Dictionary implements IDictionary {\n private _keys: string[] = [];\n private _values: T[] = [];\n \n // Index signature to allow dynamic properties\n [key: string]: T | any; \n \n constructor(init?: { key: string; value: T; }[]) {\n if (init) {\n for (let x = 0; x < init.length; x++) {\n this[init[x].key] = init[x].value;\n this._keys.push(init[x].key);\n this._values.push(init[x].value);\n }\n }\n }\n \n add(key: string, value: T): void {\n this[key] = value;\n this._keys.push(key);\n this._values.push(value);\n }\n \n remove(key: string): void {\n const index = this._keys.indexOf(key, 0);\n if (index > -1) {\n this._keys.splice(index, 1);\n this._values.splice(index, 1);\n delete this[key];\n }\n }\n \n keys(): string[] {\n return this._keys;\n }\n \n values(): T[] {\n return this._values;\n }\n \n containsKey(key: string): boolean {\n return this._keys.includes(key);\n }\n }\n\n// Products\nexport interface Product {\n id?: number;\n title?: string;\n description?: string;\n type?: string;\n brand?: string;\n collection?: any[];\n category?: string;\n categoryId?: number;\n categoryName?: string;\n basePrice?: number;\n price?: number;\n userDefinedPrice?: boolean;\n ticket?: boolean;\n sale?: boolean;\n discount?: number;\n stock?: number;\n new?: boolean;\n simpleProduct?: boolean;\n quantity?: number;\n place?: string;\n dow?: boolean[];\n tags?: any[];\n unitType?: any;\n currency?: string;\n inventory?: Inventory;\n selectedIncludes?: SelectedIncludes[];\n includes?: Includes[];\n variants?: Variants[];\n images?: Images[];\n productType?: string;\n attributes?: string;\n selected?: boolean;\n salesincludes?: Array; \n}\n\nexport interface Inventory {\n isInventoryControlled?: boolean;\n isManagedByMRP?: boolean;\n quantityOnHand?: number;\n}\n\nexport interface SelectedIncludes {\n id?: string;\n name?: string;\n price?: number;\n categoryName?: string;\n}\n\nexport interface Includes {\n id?: string;\n productId: number;\n productItemNo?: number;\n productName?: string;\n categoryName?: string;\n categoryTabOpen?: boolean;\n categoryOptionCount?: number;\n categoryRequired?: boolean;\n valueType?: string;\n valueVisible?: boolean;\n value?: number;\n quantity?: number;\n includedQuantity?: number;\n maxQuantity?: number;\n}\n\nexport interface Variants {\n variant_id?: number;\n id?: number;\n sku?: string;\n size?: string;\n color?: string;\n image_id?: number;\n}\n\nexport interface Images {\n image_id?: number;\n id?: number;\n alt?: string;\n src?: string;\n variant_id?: any[];\n}","/**\n * index\n */\nexport * from './src/index';\n","import { getValue, setValue, isNullOrUndefined } from '@syncfusion/ej2-base';\nimport { clearTemplate, registerEvents } from './util';\nvar refRegex = /Ref$/;\nvar ComplexBase = /** @class */ (function () {\n function ComplexBase() {\n this.hasChanges = false;\n this.propCollection = {};\n this.dataSource = {};\n this.tags = [];\n this.tagObjects = [];\n }\n ComplexBase.prototype.ngOnInit = function () {\n this.registeredTemplate = {};\n for (var _i = 0, _a = this.tags; _i < _a.length; _i++) {\n var tag = _a[_i];\n var objInstance = getValue('child' + tag.substring(0, 1).toUpperCase() + tag.substring(1), this);\n if (objInstance) {\n this.tagObjects.push({ instance: objInstance, name: tag });\n }\n }\n var templateProperties = Object.keys(this);\n for (var i = 0; i < templateProperties.length; i++) {\n var tempProp = getValue(templateProperties[i], this);\n if (typeof tempProp === 'object' && tempProp && tempProp.elementRef) {\n if (!getValue(templateProperties[i].indexOf('Ref') !== -1 ? templateProperties[i] : templateProperties[i] + 'Ref', this)) {\n setValue(templateProperties[i].indexOf('Ref') !== -1 ? templateProperties[i] : templateProperties[i] + 'Ref', tempProp, this);\n }\n if (getValue(\"viewContainerRef\", this) && !getValue(\"_viewContainerRef\", tempProp.elementRef.nativeElement) && !getValue(\"propName\", tempProp.elementRef.nativeElement)) {\n setValue(\"_viewContainerRef\", getValue(\"viewContainerRef\", this), tempProp.elementRef.nativeElement);\n setValue(\"propName\", templateProperties[i].replace(\"Ref\", ''), tempProp.elementRef.nativeElement);\n }\n }\n }\n templateProperties = Object.keys(this);\n templateProperties = templateProperties.filter(function (val) {\n return /Ref$/i.test(val);\n });\n for (var _b = 0, templateProperties_1 = templateProperties; _b < templateProperties_1.length; _b++) {\n var tempName = templateProperties_1[_b];\n var propName = tempName.replace('Ref', '');\n setValue(propName.replace('_', '.'), getValue(propName, this), this.propCollection);\n }\n // Angular 9 compatibility to overcome ngOnchange not get triggered issue\n // To Update properties to \"this.propCollection\"\n var propList = Object.keys(this);\n /* istanbul ignore next */\n if (this.directivePropList) {\n for (var k = 0; k < this.directivePropList.length; k++) {\n var dirPropName = this.directivePropList[k];\n if (propList.indexOf(dirPropName) !== -1 && (getValue(dirPropName, this) === false || getValue(dirPropName, this))) {\n setValue(dirPropName, getValue(dirPropName, this), this.propCollection);\n }\n }\n this.hasChanges = true;\n }\n this.isInitChanges = true;\n };\n ComplexBase.prototype.registerEvents = function (eventList) {\n registerEvents(eventList, this, true);\n };\n ComplexBase.prototype.ngOnChanges = function (changes) {\n for (var _i = 0, _a = Object.keys(changes); _i < _a.length; _i++) {\n var propName = _a[_i];\n var changedVal = changes[propName];\n this.propCollection[propName] = changedVal.currentValue;\n }\n this.isUpdated = false;\n this.hasChanges = true;\n };\n /* istanbul ignore next */\n ComplexBase.prototype.clearTemplate = function (templateNames) {\n clearTemplate(this, templateNames);\n };\n ComplexBase.prototype.getProperties = function () {\n /* istanbul ignore next */\n for (var _i = 0, _a = this.tagObjects; _i < _a.length; _i++) {\n var tagObject = _a[_i];\n this.propCollection[tagObject.name] = tagObject.instance.getProperties();\n }\n return this.propCollection;\n };\n ComplexBase.prototype.isChanged = function () {\n var result = this.hasChanges;\n if (!isNullOrUndefined(this.propCollection[this.property])) {\n var tempProps = this.propCollection[this.property];\n var props = Object.keys(tempProps[0]);\n for (var d = 0; d < props.length; d++) {\n if (!isNullOrUndefined(this.propCollection[props[d]])) {\n var val = getValue(props[d], this);\n var propVal = this.propCollection[this.property][0][props[d]];\n if (!isNullOrUndefined(val) && this.propCollection[props[d]] !== val\n && propVal !== val) {\n setValue(props[d], val, this.propCollection[this.property][0]);\n setValue(props[d], val, this.propCollection);\n this.hasChanges = true;\n this.isUpdated = false;\n }\n }\n }\n }\n /* istanbul ignore next */\n for (var _i = 0, _a = this.tagObjects; _i < _a.length; _i++) {\n var item = _a[_i];\n result = result || item.instance.hasChanges;\n }\n return result || this.hasChanges;\n };\n ComplexBase.prototype.ngAfterContentChecked = function () {\n this.hasChanges = this.isChanged();\n if (this.isInitChanges || this.hasChanges) {\n var templateProperties = Object.keys(this);\n templateProperties = templateProperties.filter(function (val) {\n return refRegex.test(val);\n });\n for (var _i = 0, templateProperties_2 = templateProperties; _i < templateProperties_2.length; _i++) {\n var tempName = templateProperties_2[_i];\n var propName = tempName.replace('Ref', '');\n setValue(propName.replace('_', '.'), getValue(propName, this), this.propCollection);\n }\n }\n };\n ComplexBase.prototype.ngAfterViewChecked = function () {\n /* istanbul ignore next */\n if (this.isUpdated) {\n this.hasChanges = false;\n }\n };\n ComplexBase.prototype.ngAfterViewInit = function () {\n /* istanbul ignore next */\n this.isInitChanges = false;\n };\n ComplexBase.prototype.ngOnDestroy = function () {\n /* istanbul ignore next */\n this.directivePropList = [];\n };\n return ComplexBase;\n}());\nexport { ComplexBase };\nvar ArrayBase = /** @class */ (function () {\n function ArrayBase(propertyName) {\n this.list = [];\n this.hasChanges = false;\n this.propertyName = propertyName;\n }\n ArrayBase.prototype.ngOnInit = function () {\n this.isInitChanges = true;\n };\n ArrayBase.prototype.ngAfterContentInit = function () {\n var _this = this;\n var index = 0;\n /* istanbul ignore next */\n this.list = this.children.map(function (child) {\n child.dirIndex = index++;\n child.property = _this.propertyName;\n return child;\n });\n this.hasChanges = true;\n };\n ArrayBase.prototype.getProperties = function () {\n var onlyProp = [];\n for (var _i = 0, _a = this.list; _i < _a.length; _i++) {\n var item = _a[_i];\n onlyProp.push(item.getProperties());\n }\n return onlyProp;\n };\n ArrayBase.prototype.isChanged = function () {\n var _this = this;\n var result = false;\n var index = 0;\n var isSourceChanged = false;\n // tslint:disable-next-line\n var childrenDataSource = this.children.map(function (child) {\n return child;\n });\n /* istanbul ignore next */\n if (this.list.length === this.children.length) {\n for (var i = 0; i < this.list.length; i++) {\n if (this.list[i].propCollection.dataSource) {\n if (this.list[i].dataSource && this.list[i].propCollection.dataSource !== this.list[i].dataSource) {\n this.list[i].propCollection.dataSource = this.list[i].dataSource;\n this.list[i].hasChanges = true;\n }\n isSourceChanged = (JSON.stringify(this.list[i].propCollection.dataSource) !==\n JSON.stringify(childrenDataSource[i].propCollection.dataSource));\n }\n isSourceChanged = this.list[i].hasChanges !== childrenDataSource[i].hasChanges;\n }\n }\n this.hasNewChildren = (this.list.length !== this.children.length || isSourceChanged) ? true : null;\n if (this.hasNewChildren) {\n this.list = this.children.map(function (child) {\n child.dirIndex = index++;\n child.property = _this.propertyName;\n return child;\n });\n }\n /* istanbul ignore end */\n for (var _i = 0, _a = this.list; _i < _a.length; _i++) {\n var item = _a[_i];\n result = result || item.hasChanges;\n }\n return !!this.list.length && result;\n };\n ArrayBase.prototype.clearTemplate = function (templateNames) {\n var _this = this;\n /* istanbul ignore next */\n for (var _i = 0, _a = this.list; _i < _a.length; _i++) {\n var item = _a[_i];\n item.clearTemplate(templateNames && templateNames.map(function (val) {\n return new RegExp(_this.propertyName).test(val) ? val.replace(_this.propertyName + '.', '') : val;\n }));\n }\n };\n ArrayBase.prototype.ngAfterContentChecked = function () {\n this.hasChanges = this.isChanged();\n for (var i = 0; i < this.list.length; i++) {\n if (getValue('childColumns', this.list[i]) && getValue('property', this.list[i]) === 'columns') {\n setValue('columns', getValue('childColumns', this.list[i]).getProperties(), this.list[i].propCollection);\n }\n this.list[i].isUpdated = true;\n }\n };\n ArrayBase.prototype.ngAfterViewInit = function () {\n this.isInitChanges = false;\n };\n ArrayBase.prototype.ngOnDestroy = function () {\n this.list = [];\n };\n return ArrayBase;\n}());\nexport { ArrayBase };\n","/**\n * Angular Component Base Module\n */\nimport { getValue, isUndefined, setValue, isNullOrUndefined, attributes, createElement } from '@syncfusion/ej2-base';\nimport { EventEmitter } from '@angular/core';\nimport { clearTemplate, registerEvents } from './util';\nvar SVG_REG = /^svg|^path|^g/;\nvar ComponentBase = /** @class */ (function () {\n function ComponentBase() {\n this.isProtectedOnChange = true;\n this.isFormInit = true;\n }\n ComponentBase.prototype.saveChanges = function (key, newValue, oldValue) {\n if (this.isProtectedOnChange) {\n return;\n }\n this.oldProperties[key] = oldValue;\n this.changedProperties[key] = newValue;\n this.finalUpdate();\n // tslint:disable-next-line:no-any\n var changeTime = setTimeout(this.dataBind.bind(this));\n var clearUpdate = function () {\n clearTimeout(changeTime);\n };\n this.finalUpdate = clearUpdate;\n };\n ;\n // tslint:disable-next-line:no-any\n ComponentBase.prototype.ngOnInit = function (isTempRef) {\n // tslint:disable-next-line:no-any\n var tempOnThis = isTempRef || this;\n tempOnThis.registeredTemplate = {};\n tempOnThis.ngBoundedEvents = {};\n tempOnThis.isAngular = true;\n tempOnThis.isFormInit = true;\n /* istanbul ignore next */\n if (isTempRef) {\n this.tags = isTempRef.tags;\n }\n tempOnThis.tags = this.tags || [];\n tempOnThis.complexTemplate = this.complexTemplate || [];\n tempOnThis.tagObjects = [];\n tempOnThis.ngAttr = this.getAngularAttr(tempOnThis.element);\n /* istanbul ignore next */\n tempOnThis.createElement = function (tagName, prop) {\n //tslint:disable-next-line\n var ele = tempOnThis.srenderer ? tempOnThis.srenderer.createElement(tagName) : createElement(tagName);\n if (typeof (prop) === 'undefined') {\n return ele;\n }\n ele.innerHTML = (prop.innerHTML ? prop.innerHTML : '');\n if (prop.className !== undefined) {\n ele.className = prop.className;\n }\n if (prop.id !== undefined) {\n ele.id = prop.id;\n }\n if (prop.styles !== undefined) {\n ele.setAttribute('style', prop.styles);\n }\n if (tempOnThis.ngAttr !== undefined) {\n ele.setAttribute(tempOnThis.ngAttr, '');\n }\n if (prop.attrs !== undefined) {\n attributes(ele, prop.attrs);\n }\n return ele;\n };\n for (var _i = 0, _a = tempOnThis.tags; _i < _a.length; _i++) {\n var tag = _a[_i];\n var tagObject = {\n instance: getValue('child' + tag.substring(0, 1).toUpperCase() + tag.substring(1), tempOnThis),\n name: tag\n };\n tempOnThis.tagObjects.push(tagObject);\n }\n var complexTemplates = Object.keys(tempOnThis);\n for (var i = 0; i < complexTemplates.length; i++) {\n var compProp = getValue(complexTemplates[i], tempOnThis);\n if (typeof compProp === 'object' && compProp && compProp.elementRef) {\n if (typeof compProp === 'object' && compProp && compProp.elementRef && complexTemplates[i].indexOf('_') !== -1 && complexTemplates[i].indexOf('Ref') === -1) {\n setValue(complexTemplates[i] + 'Ref', compProp, tempOnThis);\n }\n if (tempOnThis.viewContainerRef && !getValue(\"_viewContainerRef\", compProp.elementRef.nativeElement) && !getValue(\"propName\", compProp.elementRef.nativeElement)) {\n setValue(\"_viewContainerRef\", tempOnThis.viewContainerRef, compProp.elementRef.nativeElement);\n setValue(\"propName\", complexTemplates[i].replace(\"Ref\", ''), compProp.elementRef.nativeElement);\n }\n }\n }\n complexTemplates = Object.keys(tempOnThis);\n complexTemplates = complexTemplates.filter(function (val) {\n return /Ref$/i.test(val) && /\\_/i.test(val);\n });\n for (var _b = 0, complexTemplates_1 = complexTemplates; _b < complexTemplates_1.length; _b++) {\n var tempName = complexTemplates_1[_b];\n var propName = tempName.replace('Ref', '');\n var val = {};\n setValue(propName.replace('_', '.'), getValue(propName, tempOnThis), val);\n tempOnThis.setProperties(val, true);\n }\n };\n ComponentBase.prototype.getAngularAttr = function (ele) {\n var attributes = ele.attributes;\n var length = attributes.length;\n var ngAr;\n for (var i = 0; i < length; i++) {\n /* istanbul ignore next */\n if (/_ngcontent/g.test(attributes[i].name)) {\n ngAr = attributes[i].name;\n }\n }\n return ngAr;\n };\n ;\n // tslint:disable-next-line:no-any\n ComponentBase.prototype.ngAfterViewInit = function (isTempRef) {\n // tslint:disable-next-line:no-any\n var tempAfterViewThis = isTempRef || this;\n var regExp = /ejs-tab|ejs-accordion/g;\n /* istanbul ignore next */\n if (regExp.test(tempAfterViewThis.ngEle.nativeElement.outerHTML)) {\n tempAfterViewThis.ngEle.nativeElement.style.visibility = 'hidden';\n }\n /**\n * Root level template properties are not getting rendered,\n * Due to ngonchanges not get triggered.\n * so that we have set template value for root level template properties,\n * for example: refer below syntax\n * ```html\n * \n * \n * \n * \n * ```\n */\n var templateProperties = Object.keys(tempAfterViewThis);\n templateProperties = templateProperties.filter(function (val) {\n return /Ref$/i.test(val);\n });\n var ngtempRef = tempAfterViewThis.getModuleName() === 'DocumentEditor';\n for (var _i = 0, templateProperties_1 = templateProperties; _i < templateProperties_1.length; _i++) {\n var tempName = templateProperties_1[_i];\n var propName = tempName.replace('Ref', '');\n setValue(propName.replace('_', '.'), getValue(propName + 'Ref', tempAfterViewThis), tempAfterViewThis);\n }\n // Used setTimeout for template binding\n // Refer Link: https://github.com/angular/angular/issues/6005\n var appendToComponent = function (tempAfterViewThis) {\n /* istanbul ignore else */\n if (typeof window !== 'undefined' && tempAfterViewThis.element || tempAfterViewThis.getModuleName().includes('btn')) {\n tempAfterViewThis.appendTo(tempAfterViewThis.element);\n tempAfterViewThis.ngEle.nativeElement.style.visibility = '';\n }\n };\n if (!ngtempRef) {\n setTimeout(function () {\n appendToComponent(tempAfterViewThis);\n });\n }\n else {\n appendToComponent(tempAfterViewThis);\n }\n };\n // tslint:disable-next-line:no-any\n ComponentBase.prototype.ngOnDestroy = function (isTempRef) {\n // tslint:disable-next-line:no-any\n var tempOnDestroyThis = isTempRef || this;\n /* istanbul ignore else */\n setTimeout(function () {\n if (typeof window !== 'undefined' && (tempOnDestroyThis.element.classList.contains('e-control'))) {\n tempOnDestroyThis.destroy();\n tempOnDestroyThis.clearTemplate(null);\n // removing bounded events and tagobjects from component after destroy\n setTimeout(function () {\n for (var _i = 0, _a = Object.keys(tempOnDestroyThis); _i < _a.length; _i++) {\n var key = _a[_i];\n var value = tempOnDestroyThis[key];\n if (value && /object/.test(typeof value) && Object.keys(value).length !== 0) {\n if (/properties|changedProperties|childChangedProperties|oldProperties|moduleLoader/.test(key)) {\n for (var _b = 0, _c = Object.keys(tempOnDestroyThis[key]); _b < _c.length; _b++) {\n var propKey = _c[_b];\n var propValue = value[propKey];\n if (propValue && /object/.test(typeof propValue) && Object.keys(propValue).length !== 0 && (propValue.parent || propValue.parentObj)) {\n tempOnDestroyThis[key][propKey] = null;\n }\n }\n }\n else {\n if (value.parent || value.parentObj) {\n tempOnDestroyThis[key] = null;\n }\n }\n }\n }\n });\n }\n });\n };\n //tslint:disable-next-line\n ComponentBase.prototype.clearTemplate = function (templateNames, index) {\n clearTemplate(this, templateNames, index);\n };\n ;\n // tslint:disable-next-line:no-any\n ComponentBase.prototype.ngAfterContentChecked = function (isTempRef) {\n // tslint:disable-next-line:no-any\n var tempAfterContentThis = isTempRef || this;\n for (var _i = 0, _a = tempAfterContentThis.tagObjects; _i < _a.length; _i++) {\n var tagObject = _a[_i];\n if (!isUndefined(tagObject.instance) &&\n (tagObject.instance.isInitChanges || tagObject.instance.hasChanges || tagObject.instance.hasNewChildren)) {\n if (tagObject.instance.isInitChanges) {\n var propObj = {};\n // For angular 9 compatibility\n // Not able to get complex directive properties reference ni Onint hook\n // So we have constructed property here and used\n var complexDirProps = void 0;\n var list = getValue('instance.list', tagObject);\n if (list && list.length) {\n complexDirProps = list[0].directivePropList;\n }\n var skip = true;\n if (tempAfterContentThis.getModuleName && tempAfterContentThis.getModuleName() === 'gantt') {\n skip = false;\n }\n if (complexDirProps && skip && complexDirProps.indexOf(tagObject.instance.propertyName) === -1) {\n var compDirPropList = Object.keys(tagObject.instance.list[0].propCollection);\n for (var h = 0; h < tagObject.instance.list.length; h++) {\n tagObject.instance.list[h].propCollection[tagObject.instance.propertyName] = [];\n var obj = {};\n for (var k = 0; k < compDirPropList.length; k++) {\n var complexPropName = compDirPropList[k];\n obj[complexPropName] = tagObject.instance.list[h].propCollection[complexPropName];\n }\n var _loop_1 = function (i) {\n var tag = tagObject.instance.list[h].tags[i];\n var childObj = getValue('child' + tag.substring(0, 1).toUpperCase() + tag.substring(1), tagObject.instance.list[h]);\n if (childObj) {\n var innerchildObj = tagObject.instance.list[h]['child' + tag.substring(0, 1).toUpperCase() + tag.substring(1)];\n // Update the inner child tag objects\n var updateChildTag_1 = function (innerchild) {\n var innerLevelTag = [];\n if (innerchild) {\n for (var j = 0; j < innerchild.list.length; j++) {\n var innerTag = innerchild.list[0].tags[0];\n if (innerTag) {\n var innerchildTag = getValue('child' + innerTag.substring(0, 1).toUpperCase() + innerTag.substring(1), innerchild.list[j]);\n if (innerchildTag) {\n innerchild.list[j].tagObjects.push({ instance: innerchildTag, name: innerTag });\n innerLevelTag.push(innerchildTag);\n }\n }\n }\n }\n // check for inner level tag\n if (innerLevelTag.length !== 0) {\n for (var l = 0; l < innerLevelTag.length; l++) {\n updateChildTag_1(innerLevelTag[l]);\n }\n }\n ;\n };\n updateChildTag_1(innerchildObj);\n tagObject.instance.list[h].tagObjects.push({ instance: childObj, name: tag });\n }\n };\n for (var i = 0; i < tagObject.instance.list[h].tags.length; i++) {\n _loop_1(i);\n }\n tagObject.instance.list[h].propCollection[tagObject.instance.propertyName].push(obj);\n }\n }\n // End angular 9 compatibility\n propObj[tagObject.name] = tagObject.instance.getProperties();\n tempAfterContentThis.setProperties(propObj, tagObject.instance.isInitChanges);\n }\n else {\n /* istanbul ignore next */\n if ((tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) || (/diagram|tab|DashboardLayout/.test(tempAfterContentThis.getModuleName()))) {\n tempAfterContentThis[tagObject.name] = tagObject.instance.list;\n }\n for (var _b = 0, _c = tagObject.instance.list; _b < _c.length; _b++) {\n var list = _c[_b];\n var curIndex = tagObject.instance.list.indexOf(list);\n var curChild = getValue(tagObject.name, tempAfterContentThis)[curIndex];\n var complexTemplates = Object.keys(curChild);\n complexTemplates = complexTemplates.filter(function (val) {\n return /Ref$/i.test(val);\n });\n if (curChild.properties && Object.keys(curChild.properties).length !== 0) {\n for (var _d = 0, complexTemplates_2 = complexTemplates; _d < complexTemplates_2.length; _d++) {\n var complexPropName = complexTemplates_2[_d];\n complexPropName = complexPropName.replace(/Ref/, '');\n curChild.properties[complexPropName] = !curChild.properties[complexPropName] ?\n curChild.propCollection[complexPropName] : curChild.properties[complexPropName];\n }\n }\n if (!isUndefined(curChild) && !isUndefined(curChild.setProperties)) {\n if (/diagram|DashboardLayout/.test(tempAfterContentThis.getModuleName())) {\n curChild.setProperties(list.getProperties(), true);\n }\n else {\n curChild.setProperties(list.getProperties());\n }\n }\n list.isUpdated = true;\n }\n }\n }\n }\n };\n ComponentBase.prototype.registerEvents = function (eventList) {\n registerEvents(eventList, this);\n };\n ComponentBase.prototype.twoWaySetter = function (newVal, prop) {\n var oldVal = getValue(prop, this.properties);\n if (oldVal === newVal) {\n return;\n }\n this.saveChanges(prop, newVal, oldVal);\n setValue(prop, (isNullOrUndefined(newVal) ? null : newVal), this.properties);\n getValue(prop + 'Change', this).emit(newVal);\n };\n ComponentBase.prototype.addTwoWay = function (propList) {\n var _this = this;\n var _loop_2 = function (prop) {\n getValue(prop, this_1);\n Object.defineProperty(this_1, prop, {\n get: function () {\n return getValue(prop, _this.properties);\n },\n set: function (newVal) { return _this.twoWaySetter(newVal, prop); }\n });\n setValue(prop + 'Change', new EventEmitter(), this_1);\n };\n var this_1 = this;\n for (var _i = 0, propList_1 = propList; _i < propList_1.length; _i++) {\n var prop = propList_1[_i];\n _loop_2(prop);\n }\n };\n ComponentBase.prototype.addEventListener = function (eventName, handler) {\n var eventObj = getValue(eventName, this);\n if (!isUndefined(eventObj)) {\n if (!this.ngBoundedEvents[eventName]) {\n this.ngBoundedEvents[eventName] = new Map();\n }\n this.ngBoundedEvents[eventName].set(handler, eventObj.subscribe(handler));\n }\n };\n ComponentBase.prototype.removeEventListener = function (eventName, handler) {\n var eventObj = getValue(eventName, this);\n if (!isUndefined(eventObj)) {\n this.ngBoundedEvents[eventName].get(handler).unsubscribe();\n }\n };\n ComponentBase.prototype.trigger = function (eventName, eventArgs, success) {\n var eventObj = getValue(eventName, this);\n var prevDetection = this.isProtectedOnChange;\n this.isProtectedOnChange = false;\n if (eventArgs) {\n eventArgs.name = eventName;\n }\n if (!isUndefined(eventObj)) {\n eventObj.next(eventArgs);\n }\n var localEventObj = getValue('local' + eventName.charAt(0).toUpperCase() + eventName.slice(1), this);\n if (!isUndefined(localEventObj)) {\n localEventObj.call(this, eventArgs);\n }\n this.isProtectedOnChange = prevDetection;\n /* istanbul ignore else */\n if (success) {\n this.preventChange = this.isPreventChange;\n success.call(this, eventArgs);\n }\n this.isPreventChange = false;\n };\n return ComponentBase;\n}());\nexport { ComponentBase };\n","import { getValue, setValue, isNullOrUndefined, isObject } from '@syncfusion/ej2-base';\n/**\n * Angular Form Base Module\n */\nvar FormBase = /** @class */ (function () {\n function FormBase() {\n }\n FormBase.prototype.propagateChange = function (_) { return; };\n FormBase.prototype.propagateTouch = function () { return; };\n FormBase.prototype.localChange = function (e) {\n //tslint:disable-next-line\n var value = (e.checked === undefined ? e.value : e.checked);\n this.objCheck = isObject(value);\n if (this.isUpdated === true) {\n this.angularValue = this.oldValue;\n }\n if (this.objCheck === true) {\n this.duplicateValue = JSON.stringify(value);\n this.duplicateAngularValue = JSON.stringify(this.angularValue);\n if (this.duplicateValue !== this.duplicateAngularValue && this.propagateChange !== undefined && value !== undefined) {\n // Update angular from our control\n this.propagateChange(value);\n this.angularValue = value;\n }\n }\n else {\n if (value !== this.angularValue && this.propagateChange !== undefined && value !== undefined) {\n // While reset form using reset() method ng-dirty not get updated, so while value is empty just update angularValue only\n if (value !== '' && value !== null) {\n // Update angular from our control\n this.propagateChange(value);\n this.angularValue = value;\n }\n else {\n //tslint:disable-next-line\n var optionalValue = value;\n this.propagateChange(optionalValue);\n this.angularValue = value;\n }\n }\n }\n };\n FormBase.prototype.registerOnChange = function (registerFunction) {\n this.propagateChange = registerFunction;\n };\n FormBase.prototype.registerOnTouched = function (registerFunction) {\n this.propagateTouch = registerFunction;\n };\n FormBase.prototype.twoWaySetter = function (newVal, prop) {\n var oldVal = this.oldValue || getValue(prop, this.properties);\n var ele = this.inputElement || this.element;\n if (ele && oldVal === newVal && this.value === newVal &&\n (ele.value === undefined || ele.value === '')) {\n return;\n }\n this.saveChanges(prop, newVal, oldVal);\n setValue(prop, (isNullOrUndefined(newVal) ? null : newVal), this.properties);\n getValue(prop + 'Change', this).emit(newVal);\n };\n // tslint:disable-next-line:no-any\n FormBase.prototype.ngAfterViewInit = function (isTempRef) {\n // tslint:disable-next-line:no-any\n var tempFormAfterViewThis = isTempRef || this;\n // Used setTimeout for template binding\n // Refer Link: https://github.com/angular/angular/issues/6005\n // Removed setTimeout, Because we have called markForCheck() method in Angular Template Compiler\n /* istanbul ignore else */\n if (typeof window !== 'undefined') {\n tempFormAfterViewThis.appendTo(tempFormAfterViewThis.element);\n var ele = tempFormAfterViewThis.inputElement || tempFormAfterViewThis.element;\n ele.addEventListener('focus', tempFormAfterViewThis.ngOnFocus.bind(tempFormAfterViewThis));\n ele.addEventListener('blur', tempFormAfterViewThis.ngOnBlur.bind(tempFormAfterViewThis));\n }\n this.isFormInit = false;\n };\n FormBase.prototype.setDisabledState = function (disabled) {\n this.enabled = !disabled;\n this.disabled = disabled;\n };\n FormBase.prototype.writeValue = function (value) {\n var regExp = /ejs-radiobutton/g;\n //update control value from angular\n if (this.checked === undefined) {\n this.value = value;\n }\n else {\n // To resolve boolean type formControl value is not working for radio button control.\n /* istanbul ignore next */\n if (this.ngEle) {\n if (typeof value === 'boolean') {\n if (regExp.test(this.ngEle.nativeElement.outerHTML)) {\n this.checked = value === this.value;\n }\n else {\n this.checked = value;\n }\n }\n else {\n this.checked = value === this.value;\n }\n }\n }\n this.angularValue = value;\n this.isUpdated = true;\n // When binding Html textbox value to syncfusion textbox, change event triggered dynamically.\n // To prevent change event, trigger change in component side based on `preventChange` value\n this.preventChange = this.isFormInit ? false : true;\n if (value === null) {\n return;\n }\n };\n FormBase.prototype.ngOnFocus = function (e) {\n /* istanbul ignore else */\n if (this.skipFromEvent !== true) {\n this.focus.emit(e);\n }\n };\n FormBase.prototype.ngOnBlur = function (e) {\n this.propagateTouch();\n /* istanbul ignore else */\n if (this.skipFromEvent !== true) {\n this.blur.emit(e);\n }\n };\n FormBase.isFormBase = true;\n return FormBase;\n}());\nexport { FormBase };\n","/**\n * Index\n */\nexport * from './complex-array-base';\nexport * from './component-base';\nexport * from './form-base';\nexport * from './util';\nexport * from './template';\n","import { setTemplateEngine, getTemplateEngine } from '@syncfusion/ej2-base';\nimport { setValue, getValue } from '@syncfusion/ej2-base';\nvar stringCompiler = getTemplateEngine();\n/**\n * Angular Template Compiler\n */\nexport function compile(templateEle, helper) {\n if (typeof templateEle === 'string' || (typeof templateEle === 'function' && templateEle.prototype && templateEle.prototype.CSPTemplate)) {\n return stringCompiler(templateEle, helper);\n }\n else {\n var contRef_1 = templateEle.elementRef.nativeElement._viewContainerRef;\n var pName_1 = templateEle.elementRef.nativeElement.propName;\n //tslint:disable-next-line \n return function (data, component, propName) {\n var context = { $implicit: data };\n /* istanbul ignore next */\n var conRef = contRef_1 ? contRef_1 : component.viewContainerRef;\n var viewRef = conRef.createEmbeddedView(templateEle, context);\n viewRef.detectChanges();\n /* istanbul ignore next */\n var viewCollection = (component && component.registeredTemplate) ?\n component.registeredTemplate : getValue('currentInstance.registeredTemplate', conRef);\n propName = (propName && component.registeredTemplate) ? propName : pName_1;\n if (typeof viewCollection[propName] === 'undefined') {\n viewCollection[propName] = [];\n }\n viewCollection[propName].push(viewRef);\n return viewRef.rootNodes;\n };\n }\n}\n/**\n * Property decorator for angular.\n */\nexport function Template(defaultValue) {\n return function (target, key) {\n var propertyDescriptor = {\n set: setter(key),\n get: getter(key, defaultValue),\n enumerable: true,\n configurable: true\n };\n Object.defineProperty(target, key, propertyDescriptor);\n };\n}\nfunction setter(key) {\n return function (val) {\n if (val === undefined) {\n return;\n }\n setValue(key + 'Ref', val, this);\n if (typeof val !== 'string') {\n val.elementRef.nativeElement._viewContainerRef = this.viewContainerRef;\n val.elementRef.nativeElement.propName = key;\n }\n else {\n if (this.saveChanges) {\n this.saveChanges(key, val, undefined);\n this.dataBind();\n }\n }\n };\n}\nfunction getter(key, defaultValue) {\n return function () {\n /* istanbul ignore next */\n return getValue(key + 'Ref', this) || defaultValue;\n };\n}\n//tslint:disable-next-line\nsetTemplateEngine({ compile: compile });\n","import { EventEmitter } from '@angular/core';\nimport { isNullOrUndefined } from '@syncfusion/ej2-base';\n/**\n * Angular Utility Module\n */\n/* tslint:disable */\nexport function applyMixins(derivedClass, baseClass) {\n baseClass.forEach(function (baseClass) {\n Object.getOwnPropertyNames(baseClass.prototype).forEach(function (name) {\n if (!derivedClass.prototype.hasOwnProperty(name) || (baseClass.isFormBase && name !== 'constructor')) {\n derivedClass.prototype[name] = baseClass.prototype[name];\n }\n });\n });\n}\n/* tslint:disable */\nexport function ComponentMixins(baseClass) {\n return function (derivedClass) {\n applyMixins(derivedClass, baseClass);\n };\n}\n/**\n * @private\n */\nexport function registerEvents(eventList, obj, direct) {\n var ngEventsEmitter = {};\n if (eventList && eventList.length) {\n for (var _i = 0, eventList_1 = eventList; _i < eventList_1.length; _i++) {\n var event_1 = eventList_1[_i];\n if (direct === true) {\n obj.propCollection[event_1] = new EventEmitter(false);\n obj[event_1] = obj.propCollection[event_1];\n }\n else {\n ngEventsEmitter[event_1] = new EventEmitter(false);\n }\n }\n if (direct !== true) {\n obj.setProperties(ngEventsEmitter, true);\n }\n }\n}\n/**\n * @private\n */\nexport function clearTemplate(_this, templateNames, index) {\n var regTemplates = Object.keys(_this.registeredTemplate);\n if (regTemplates.length) {\n /* istanbul ignore next */\n var regProperties = templateNames && templateNames.filter(function (val) {\n return (/\\./g.test(val) ? false : true);\n });\n var tabTemp = _this.getModuleName() === 'tab';\n for (var _i = 0, _a = (regProperties && regProperties || regTemplates); _i < _a.length; _i++) {\n var registeredTemplate = _a[_i];\n /* istanbul ignore next */\n if (index && index.length) {\n for (var e = 0; e < index.length; e++) {\n if (tabTemp) {\n for (var m = 0; m < _this.registeredTemplate[registeredTemplate].length; m++) {\n var value = _this.registeredTemplate[registeredTemplate][m];\n if (value && value === index[e]) {\n value.destroy();\n _this.registeredTemplate[registeredTemplate].splice(m, 1);\n }\n }\n }\n else {\n for (var m = 0; m < _this.registeredTemplate.template.length; m++) {\n var value = _this.registeredTemplate.template[m].rootNodes[0];\n if (value === index[e]) {\n var rt = _this.registeredTemplate[registeredTemplate];\n rt[m].destroy();\n }\n }\n }\n }\n }\n else {\n if (_this.registeredTemplate[registeredTemplate]) {\n for (var _b = 0, _c = _this.registeredTemplate[registeredTemplate]; _b < _c.length; _b++) {\n var rt = _c[_b];\n if (!rt.destroyed) {\n if (rt._view) {\n var pNode = rt._view.renderer.parentNode(rt.rootNodes[0]);\n if (!isNullOrUndefined(pNode)) {\n for (var m = 0; m < rt.rootNodes.length; m++) {\n pNode.appendChild(rt.rootNodes[m]);\n }\n }\n }\n rt.destroy();\n }\n }\n }\n }\n if (!tabTemp || !index) {\n delete _this.registeredTemplate[registeredTemplate];\n }\n }\n }\n var _loop_1 = function (tagObject) {\n if (tagObject.instance) {\n /* istanbul ignore next */\n tagObject.instance.clearTemplate((templateNames && templateNames.filter(function (val) {\n return (new RegExp(tagObject.name).test(val) ? true : false);\n })));\n }\n };\n for (var _d = 0, _e = _this.tagObjects; _d < _e.length; _d++) {\n var tagObject = _e[_d];\n _loop_1(tagObject);\n }\n}\n/**\n * To set value for the nameSpace in desired object.\n * @param {string} nameSpace - String value to the get the inner object\n * @param {any} value - Value that you need to set.\n * @param {any} obj - Object to get the inner object value.\n * @return {void}\n * @private\n */\nexport function setValue(nameSpace, value, object) {\n var keys = nameSpace.replace(/\\[/g, '.').replace(/\\]/g, '').split('.');\n /* istanbul ignore next */\n var fromObj = object || {};\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (i + 1 === keys.length) {\n fromObj[key] = value === undefined ? {} : value;\n }\n else if (fromObj[key] === undefined) {\n fromObj[key] = {};\n }\n fromObj = fromObj[key];\n }\n return fromObj;\n}\n","import { Animation, ChildProperty, Collection, Complex, Component, Event, EventHandler, KeyboardEvents, NotifyPropertyChanges, Observer, Property, SanitizeHtmlHelper, addClass, append, attributes, closest, compile, deleteObject, detach, extend, formatUnit, getInstance, getUniqueID, getValue, isBlazor, isNullOrUndefined, isRippleEnabled, remove, removeClass, rippleEffect, select, selectAll, setValue } from '@syncfusion/ej2-base';\n\n/**\n * Initialize wrapper element for angular.\n *\n * @private\n *\n * @param {CreateElementArgs} createElement - Specifies created element args\n * @param {string} tag - Specifies tag name\n * @param {string} type - Specifies type name\n * @param {HTMLInputElement} element - Specifies input element\n * @param {string} WRAPPER - Specifies wrapper element\n * @param {string} role - Specifies role\n * @returns {HTMLInputElement} - Input Element\n */\nfunction wrapperInitialize(createElement, tag, type, element, WRAPPER, role) {\n var input = element;\n if (element.tagName === tag) {\n var ejInstance = getValue('ej2_instances', element);\n input = createElement('input', { attrs: { 'type': type } });\n var props = ['change', 'cssClass', 'label', 'labelPosition', 'id'];\n for (var index = 0, len = element.attributes.length; index < len; index++) {\n if (props.indexOf(element.attributes[index].nodeName) === -1) {\n input.setAttribute(element.attributes[index].nodeName, element.attributes[index].nodeValue);\n }\n }\n attributes(element, { 'class': WRAPPER });\n element.appendChild(input);\n setValue('ej2_instances', ejInstance, input);\n deleteObject(element, 'ej2_instances');\n }\n return input;\n}\n/**\n * Get the text node.\n *\n * @param {HTMLElement} element - Specifies html element\n * @private\n * @returns {Node} - Text node.\n */\nfunction getTextNode(element) {\n var node;\n var childnode = element.childNodes;\n for (var i = 0; i < childnode.length; i++) {\n node = childnode[i];\n if (node.nodeType === 3) {\n return node;\n }\n }\n return null;\n}\n/**\n * Destroy the button components.\n *\n * @private\n * @param {Switch | CheckBox} ejInst - Specifies eJ2 Instance\n * @param {Element} wrapper - Specifies wrapper element\n * @param {string} tagName - Specifies tag name\n * @returns {void}\n */\nfunction destroy(ejInst, wrapper, tagName) {\n if (tagName === 'INPUT') {\n wrapper.parentNode.insertBefore(ejInst.element, wrapper);\n detach(wrapper);\n ejInst.element.checked = false;\n ['name', 'value', 'disabled'].forEach(function (key) {\n ejInst.element.removeAttribute(key);\n });\n }\n else {\n ['role', 'aria-checked', 'class'].forEach(function (key) {\n wrapper.removeAttribute(key);\n });\n wrapper.innerHTML = '';\n }\n}\n/**\n * Initialize control pre rendering.\n *\n * @private\n * @param {Switch | CheckBox} proxy - Specifies proxy\n * @param {string} control - Specifies control\n * @param {string} wrapper - Specifies wrapper element\n * @param {HTMLInputElement} element - Specifies input element\n * @param {string} moduleName - Specifies module name\n * @returns {void}\n */\nfunction preRender(proxy, control, wrapper, element, moduleName) {\n element = wrapperInitialize(proxy.createElement, control, 'checkbox', element, wrapper, moduleName);\n proxy.element = element;\n if (proxy.element.getAttribute('type') !== 'checkbox') {\n proxy.element.setAttribute('type', 'checkbox');\n }\n if (!proxy.element.id) {\n proxy.element.id = getUniqueID('e-' + moduleName);\n }\n}\n/**\n * Creates CheckBox component UI with theming and ripple support.\n *\n * @private\n * @param {CreateElementArgs} createElement - Specifies Created Element args\n * @param {boolean} enableRipple - Specifies ripple effect\n * @param {CheckBoxUtilModel} options - Specifies Checkbox util Model\n * @returns {Element} - Checkbox Element\n */\nfunction createCheckBox(createElement, enableRipple, options) {\n if (enableRipple === void 0) { enableRipple = false; }\n if (options === void 0) { options = {}; }\n var wrapper = createElement('div', { className: 'e-checkbox-wrapper e-css' });\n if (options.cssClass) {\n addClass([wrapper], options.cssClass.split(' '));\n }\n if (options.enableRtl) {\n wrapper.classList.add('e-rtl');\n }\n if (enableRipple) {\n var rippleSpan = createElement('span', { className: 'e-ripple-container' });\n rippleEffect(rippleSpan, { isCenterRipple: true, duration: 400 });\n wrapper.appendChild(rippleSpan);\n }\n var frameSpan = createElement('span', { className: 'e-frame e-icons' });\n if (options.checked) {\n frameSpan.classList.add('e-check');\n }\n wrapper.appendChild(frameSpan);\n if (options.label) {\n var labelSpan = createElement('span', { className: 'e-label' });\n if (options.disableHtmlEncode) {\n labelSpan.textContent = options.label;\n }\n else {\n labelSpan.innerHTML = options.label;\n }\n wrapper.appendChild(labelSpan);\n }\n return wrapper;\n}\n/**\n * Handles ripple mouse.\n *\n * @private\n * @param {MouseEvent} e - Specifies mouse event\n * @param {Element} rippleSpan - Specifies Ripple span element\n * @returns {void}\n */\nfunction rippleMouseHandler(e, rippleSpan) {\n if (rippleSpan) {\n var event_1 = document.createEvent('MouseEvents');\n event_1.initEvent(e.type, false, true);\n rippleSpan.dispatchEvent(event_1);\n }\n}\n/**\n * Append hidden input to given element\n *\n * @private\n * @param {Switch | CheckBox} proxy - Specifies Proxy\n * @param {Element} wrap - Specifies Wrapper ELement\n * @returns {void}\n */\nfunction setHiddenInput(proxy, wrap) {\n if (proxy.element.getAttribute('ejs-for')) {\n wrap.appendChild(proxy.createElement('input', {\n attrs: { 'name': proxy.name || proxy.element.name, 'value': 'false', 'type': 'hidden' }\n }));\n }\n}\n\n/**\n * Common modules\n */\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n/**\n * Defines the icon position of button.\n */\nvar IconPosition;\n(function (IconPosition) {\n /**\n * Positions the Icon at the left of the text content in the Button.\n */\n IconPosition[\"Left\"] = \"Left\";\n /**\n * Positions the Icon at the right of the text content in the Button.\n */\n IconPosition[\"Right\"] = \"Right\";\n /**\n * Positions the Icon at the top of the text content in the Button.\n */\n IconPosition[\"Top\"] = \"Top\";\n /**\n * Positions the Icon at the bottom of the text content in the Button.\n */\n IconPosition[\"Bottom\"] = \"Bottom\";\n})(IconPosition || (IconPosition = {}));\nvar buttonObserver = new Observer();\nvar cssClassName = {\n RTL: 'e-rtl',\n BUTTON: 'e-btn',\n PRIMARY: 'e-primary',\n ICONBTN: 'e-icon-btn'\n};\n/**\n * The Button is a graphical user interface element that triggers an event on its click action. It can contain a text, an image, or both.\n * ```html\n * \n * ```\n * ```typescript\n * \n * ```\n */\nvar Button = /** @__PURE__ @class */ (function (_super) {\n __extends(Button, _super);\n /**\n * Constructor for creating the widget\n *\n * @param {ButtonModel} options - Specifies the button model\n * @param {string|HTMLButtonElement} element - Specifies the target element\n */\n function Button(options, element) {\n return _super.call(this, options, element) || this;\n }\n Button.prototype.preRender = function () {\n // pre render code snippets\n };\n /**\n * Initialize the control rendering\n *\n * @returns {void}\n * @private\n */\n Button.prototype.render = function () {\n this.initialize();\n this.removeRippleEffect = rippleEffect(this.element, { selector: '.' + cssClassName.BUTTON });\n this.renderComplete();\n };\n Button.prototype.initialize = function () {\n if (this.cssClass) {\n addClass([this.element], this.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n if (this.isPrimary) {\n this.element.classList.add(cssClassName.PRIMARY);\n }\n if (!isBlazor() || (isBlazor() && this.getModuleName() !== 'progress-btn')) {\n if (this.content) {\n var tempContent = (this.enableHtmlSanitizer) ? SanitizeHtmlHelper.sanitize(this.content) : this.content;\n this.element.innerHTML = tempContent;\n }\n this.setIconCss();\n }\n if (this.enableRtl) {\n this.element.classList.add(cssClassName.RTL);\n }\n if (this.disabled) {\n this.controlStatus(this.disabled);\n }\n else {\n this.wireEvents();\n }\n };\n Button.prototype.controlStatus = function (disabled) {\n this.element.disabled = disabled;\n };\n Button.prototype.setIconCss = function () {\n if (this.iconCss) {\n var span = this.createElement('span', { className: 'e-btn-icon ' + this.iconCss });\n if (!this.element.textContent.trim()) {\n this.element.classList.add(cssClassName.ICONBTN);\n }\n else {\n span.classList.add('e-icon-' + this.iconPosition.toLowerCase());\n if (this.iconPosition === 'Top' || this.iconPosition === 'Bottom') {\n this.element.classList.add('e-' + this.iconPosition.toLowerCase() + '-icon-btn');\n }\n }\n var node = this.element.childNodes[0];\n if (node && (this.iconPosition === 'Left' || this.iconPosition === 'Top')) {\n this.element.insertBefore(span, node);\n }\n else {\n this.element.appendChild(span);\n }\n }\n };\n Button.prototype.wireEvents = function () {\n if (this.isToggle) {\n EventHandler.add(this.element, 'click', this.btnClickHandler, this);\n }\n };\n Button.prototype.unWireEvents = function () {\n if (this.isToggle) {\n EventHandler.remove(this.element, 'click', this.btnClickHandler);\n }\n };\n Button.prototype.btnClickHandler = function () {\n if (this.element.classList.contains('e-active')) {\n this.element.classList.remove('e-active');\n }\n else {\n this.element.classList.add('e-active');\n }\n };\n /**\n * Destroys the widget.\n *\n * @returns {void}\n */\n Button.prototype.destroy = function () {\n var classList = [cssClassName.PRIMARY, cssClassName.RTL, cssClassName.ICONBTN, 'e-success', 'e-info', 'e-danger',\n 'e-warning', 'e-flat', 'e-outline', 'e-small', 'e-bigger', 'e-active', 'e-round',\n 'e-top-icon-btn', 'e-bottom-icon-btn'];\n if (this.cssClass) {\n classList = classList.concat(this.cssClass.split(' '));\n }\n _super.prototype.destroy.call(this);\n removeClass([this.element], classList);\n if (!this.element.getAttribute('class')) {\n this.element.removeAttribute('class');\n }\n if (this.disabled) {\n this.element.removeAttribute('disabled');\n }\n if (this.content) {\n this.element.innerHTML = this.element.innerHTML.replace(this.content, '');\n }\n var span = this.element.querySelector('span.e-btn-icon');\n if (span) {\n detach(span);\n }\n this.unWireEvents();\n if (isRippleEnabled) {\n this.removeRippleEffect();\n }\n };\n /**\n * Get component name.\n *\n * @returns {string} - Module name\n * @private\n */\n Button.prototype.getModuleName = function () {\n return 'btn';\n };\n /**\n * Get the properties to be maintained in the persisted state.\n *\n * @returns {string} - Persist Data\n * @private\n */\n Button.prototype.getPersistData = function () {\n return this.addOnPersist([]);\n };\n /**\n * Dynamically injects the required modules to the component.\n *\n * @private\n * @returns {void}\n */\n Button.Inject = function () {\n // Inject code snippets\n };\n /**\n * Called internally if any of the property value changed.\n *\n * @param {ButtonModel} newProp - Specifies new properties\n * @param {ButtonModel} oldProp - Specifies old properties\n * @returns {void}\n * @private\n */\n Button.prototype.onPropertyChanged = function (newProp, oldProp) {\n var span = this.element.querySelector('span.e-btn-icon');\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'isPrimary':\n if (newProp.isPrimary) {\n this.element.classList.add(cssClassName.PRIMARY);\n }\n else {\n this.element.classList.remove(cssClassName.PRIMARY);\n }\n break;\n case 'disabled':\n this.controlStatus(newProp.disabled);\n break;\n case 'iconCss': {\n if (span) {\n if (newProp.iconCss) {\n span.className = 'e-btn-icon ' + newProp.iconCss;\n if (this.element.textContent.trim()) {\n if (this.iconPosition === 'Left') {\n span.classList.add('e-icon-left');\n }\n else {\n span.classList.add('e-icon-right');\n }\n }\n }\n else {\n detach(span);\n }\n }\n else {\n this.setIconCss();\n }\n break;\n }\n case 'iconPosition':\n removeClass([this.element], ['e-top-icon-btn', 'e-bottom-icon-btn']);\n span = this.element.querySelector('span.e-btn-icon');\n if (span) {\n detach(span);\n }\n this.setIconCss();\n break;\n case 'cssClass':\n if (oldProp.cssClass) {\n removeClass([this.element], oldProp.cssClass.split(' '));\n }\n if (newProp.cssClass) {\n addClass([this.element], newProp.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n break;\n case 'enableRtl':\n if (newProp.enableRtl) {\n this.element.classList.add(cssClassName.RTL);\n }\n else {\n this.element.classList.remove(cssClassName.RTL);\n }\n break;\n case 'content': {\n var node = getTextNode(this.element);\n if (!node) {\n this.element.classList.remove(cssClassName.ICONBTN);\n }\n if (!isBlazor() || (isBlazor() && !this.isServerRendered && this.getModuleName() !== 'progress-btn')) {\n if (this.enableHtmlSanitizer) {\n newProp.content = SanitizeHtmlHelper.sanitize(newProp.content);\n }\n this.element.innerHTML = newProp.content;\n this.setIconCss();\n }\n break;\n }\n case 'isToggle':\n if (newProp.isToggle) {\n EventHandler.add(this.element, 'click', this.btnClickHandler, this);\n }\n else {\n EventHandler.remove(this.element, 'click', this.btnClickHandler);\n removeClass([this.element], ['e-active']);\n }\n break;\n }\n }\n };\n /**\n * Click the button element\n * its native method\n *\n * @public\n * @returns {void}\n */\n Button.prototype.click = function () {\n this.element.click();\n };\n /**\n * Sets the focus to Button\n * its native method\n *\n * @public\n * @returns {void}\n */\n Button.prototype.focusIn = function () {\n this.element.focus();\n };\n __decorate([\n Property('Left')\n ], Button.prototype, \"iconPosition\", void 0);\n __decorate([\n Property('')\n ], Button.prototype, \"iconCss\", void 0);\n __decorate([\n Property(false)\n ], Button.prototype, \"disabled\", void 0);\n __decorate([\n Property(false)\n ], Button.prototype, \"isPrimary\", void 0);\n __decorate([\n Property('')\n ], Button.prototype, \"cssClass\", void 0);\n __decorate([\n Property('')\n ], Button.prototype, \"content\", void 0);\n __decorate([\n Property(false)\n ], Button.prototype, \"isToggle\", void 0);\n __decorate([\n Property()\n ], Button.prototype, \"locale\", void 0);\n __decorate([\n Property(false)\n ], Button.prototype, \"enableHtmlSanitizer\", void 0);\n __decorate([\n Event()\n ], Button.prototype, \"created\", void 0);\n Button = __decorate([\n NotifyPropertyChanges\n ], Button);\n return Button;\n}(Component));\n\n/**\n * Button modules\n */\n\nvar __extends$1 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar CHECK = 'e-check';\nvar DISABLED = 'e-checkbox-disabled';\nvar FRAME = 'e-frame';\nvar INDETERMINATE = 'e-stop';\nvar LABEL = 'e-label';\nvar RIPPLE = 'e-ripple-container';\nvar RIPPLECHECK = 'e-ripple-check';\nvar RIPPLEINDETERMINATE = 'e-ripple-stop';\nvar RTL = 'e-rtl';\nvar WRAPPER = 'e-checkbox-wrapper';\nvar containerAttr = ['title', 'class', 'style', 'disabled', 'readonly', 'name', 'value'];\n/**\n * The CheckBox is a graphical user interface element that allows you to select one or more options from the choices.\n * It contains checked, unchecked, and indeterminate states.\n * ```html\n * \n * \n * ```\n */\nvar CheckBox = /** @__PURE__ @class */ (function (_super) {\n __extends$1(CheckBox, _super);\n /**\n * Constructor for creating the widget\n *\n * @private\n * @param {CheckBoxModel} options - Specifies checkbox model\n * @param {string | HTMLInputElement} element - Specifies target element\n */\n function CheckBox(options, element) {\n var _this = _super.call(this, options, element) || this;\n _this.isFocused = false;\n _this.isMouseClick = false;\n _this.clickTriggered = false;\n _this.validCheck = true;\n return _this;\n }\n CheckBox.prototype.changeState = function (state, isInitialize) {\n var rippleSpan;\n var frameSpan = this.getWrapper().getElementsByClassName(FRAME)[0];\n if (isRippleEnabled) {\n rippleSpan = this.getWrapper().getElementsByClassName(RIPPLE)[0];\n }\n if (state === 'check') {\n frameSpan.classList.remove(INDETERMINATE);\n frameSpan.classList.add(CHECK);\n if (rippleSpan) {\n rippleSpan.classList.remove(RIPPLEINDETERMINATE);\n rippleSpan.classList.add(RIPPLECHECK);\n }\n this.element.checked = true;\n if ((this.element.required || closest(this.element, 'form') && closest(this.element, 'form').classList.contains('e-formvalidator')) && this.validCheck && !isInitialize) {\n this.element.checked = false;\n this.validCheck = false;\n }\n else if (this.element.required || closest(this.element, 'form') && closest(this.element, 'form').classList.contains('e-formvalidator')) {\n this.validCheck = true;\n }\n }\n else if (state === 'uncheck') {\n removeClass([frameSpan], [CHECK, INDETERMINATE]);\n if (rippleSpan) {\n removeClass([rippleSpan], [RIPPLECHECK, RIPPLEINDETERMINATE]);\n }\n this.element.checked = false;\n if ((this.element.required || closest(this.element, 'form') && closest(this.element, 'form').classList.contains('e-formvalidator')) && this.validCheck && !isInitialize) {\n this.element.checked = true;\n this.validCheck = false;\n }\n else if (this.element.required || closest(this.element, 'form') && closest(this.element, 'form').classList.contains('e-formvalidator')) {\n this.validCheck = true;\n }\n }\n else {\n frameSpan.classList.remove(CHECK);\n frameSpan.classList.add(INDETERMINATE);\n if (rippleSpan) {\n rippleSpan.classList.remove(RIPPLECHECK);\n rippleSpan.classList.add(RIPPLEINDETERMINATE);\n }\n this.element.indeterminate = true;\n this.indeterminate = true;\n }\n };\n CheckBox.prototype.clickHandler = function (event) {\n if (event.target.tagName === 'INPUT' && this.clickTriggered) {\n if (this.isVue) {\n this.changeState(this.checked ? 'check' : 'uncheck');\n }\n this.clickTriggered = false;\n return;\n }\n if (event.target.tagName === 'SPAN' || event.target.tagName === 'LABEL') {\n this.clickTriggered = true;\n }\n if (this.isMouseClick) {\n this.focusOutHandler();\n this.isMouseClick = false;\n }\n if (this.indeterminate) {\n this.changeState(this.checked ? 'check' : 'uncheck');\n this.indeterminate = false;\n this.element.indeterminate = false;\n }\n else if (this.checked) {\n this.changeState('uncheck');\n this.checked = false;\n }\n else {\n this.changeState('check');\n this.checked = true;\n }\n var changeEventArgs = { checked: this.updateVueArrayModel(false), event: event };\n this.trigger('change', changeEventArgs);\n event.stopPropagation();\n };\n /**\n * Destroys the widget.\n *\n * @returns {void}\n */\n CheckBox.prototype.destroy = function () {\n var _this = this;\n var wrapper = this.getWrapper();\n _super.prototype.destroy.call(this);\n if (this.wrapper) {\n wrapper = this.wrapper;\n if (!this.disabled) {\n this.unWireEvents();\n }\n if (this.tagName === 'INPUT') {\n if (this.getWrapper() && wrapper.parentNode) {\n wrapper.parentNode.insertBefore(this.element, wrapper);\n }\n detach(wrapper);\n this.element.checked = false;\n if (this.indeterminate) {\n this.element.indeterminate = false;\n }\n ['name', 'value', 'disabled'].forEach(function (key) {\n _this.element.removeAttribute(key);\n });\n }\n else {\n ['class'].forEach(function (key) {\n wrapper.removeAttribute(key);\n });\n wrapper.innerHTML = '';\n }\n }\n };\n CheckBox.prototype.focusHandler = function () {\n this.isFocused = true;\n };\n CheckBox.prototype.focusOutHandler = function () {\n var wrapper = this.getWrapper();\n if (wrapper) {\n wrapper.classList.remove('e-focus');\n }\n this.isFocused = false;\n };\n /**\n * Gets the module name.\n *\n * @private\n * @returns {string} - Module Name\n */\n CheckBox.prototype.getModuleName = function () {\n return 'checkbox';\n };\n /**\n * Gets the properties to be maintained in the persistence state.\n *\n * @private\n * @returns {string} - Persist Data\n */\n CheckBox.prototype.getPersistData = function () {\n return this.addOnPersist(['checked', 'indeterminate']);\n };\n CheckBox.prototype.getWrapper = function () {\n if (this.element && this.element.parentElement) {\n return this.element.parentElement.parentElement;\n }\n else {\n return null;\n }\n };\n CheckBox.prototype.initialize = function () {\n if (isNullOrUndefined(this.initialCheckedValue)) {\n this.initialCheckedValue = this.checked;\n }\n if (this.name) {\n this.element.setAttribute('name', this.name);\n }\n if (this.value) {\n this.element.setAttribute('value', this.value);\n if (this.isVue && typeof this.value === 'boolean' && this.value === true) {\n this.setProperties({ 'checked': true }, true);\n }\n }\n if (this.checked) {\n this.changeState('check', true);\n }\n if (this.indeterminate) {\n this.changeState();\n }\n if (this.disabled) {\n this.setDisabled();\n }\n };\n CheckBox.prototype.initWrapper = function () {\n var wrapper = this.element.parentElement;\n if (!wrapper.classList.contains(WRAPPER)) {\n wrapper = this.createElement('div', {\n className: WRAPPER\n });\n this.element.parentNode.insertBefore(wrapper, this.element);\n }\n var label = this.createElement('label', { attrs: { for: this.element.id } });\n var frameSpan = this.createElement('span', { className: 'e-icons ' + FRAME });\n wrapper.classList.add('e-wrapper');\n if (this.enableRtl) {\n wrapper.classList.add(RTL);\n }\n if (this.cssClass) {\n addClass([wrapper], this.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n wrapper.appendChild(label);\n label.appendChild(this.element);\n setHiddenInput(this, label);\n label.appendChild(frameSpan);\n if (isRippleEnabled) {\n var rippleSpan = this.createElement('span', { className: RIPPLE });\n if (this.labelPosition === 'Before') {\n label.appendChild(rippleSpan);\n }\n else {\n label.insertBefore(rippleSpan, frameSpan);\n }\n rippleEffect(rippleSpan, { duration: 400, isCenterRipple: true });\n }\n if (this.label) {\n this.setText(this.label);\n }\n };\n CheckBox.prototype.keyUpHandler = function () {\n if (this.isFocused) {\n this.getWrapper().classList.add('e-focus');\n }\n };\n CheckBox.prototype.labelMouseDownHandler = function (e) {\n this.isMouseClick = true;\n var rippleSpan = this.getWrapper().getElementsByClassName(RIPPLE)[0];\n rippleMouseHandler(e, rippleSpan);\n };\n CheckBox.prototype.labelMouseUpHandler = function (e) {\n this.isMouseClick = true;\n var rippleSpan = this.getWrapper().getElementsByClassName(RIPPLE)[0];\n if (rippleSpan) {\n var rippleElem = rippleSpan.querySelectorAll('.e-ripple-element');\n for (var i = 0; i < rippleElem.length - 1; i++) {\n rippleSpan.removeChild(rippleSpan.childNodes[i]);\n }\n rippleMouseHandler(e, rippleSpan);\n }\n };\n /**\n * Called internally if any of the property value changes.\n *\n * @private\n * @param {CheckBoxModel} newProp - Specifies new Properties\n * @param {CheckBoxModel} oldProp - Specifies old Properties\n *\n * @returns {void}\n */\n CheckBox.prototype.onPropertyChanged = function (newProp, oldProp) {\n var wrapper = this.getWrapper();\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'checked':\n this.indeterminate = false;\n this.element.indeterminate = false;\n this.changeState(newProp.checked ? 'check' : 'uncheck');\n break;\n case 'indeterminate':\n if (newProp.indeterminate) {\n this.changeState();\n }\n else {\n this.element.indeterminate = false;\n this.changeState(this.checked ? 'check' : 'uncheck');\n }\n break;\n case 'disabled':\n if (newProp.disabled) {\n this.setDisabled();\n this.wrapper = this.getWrapper();\n this.unWireEvents();\n }\n else {\n this.element.disabled = false;\n wrapper.classList.remove(DISABLED);\n wrapper.setAttribute('aria-disabled', 'false');\n this.wireEvents();\n }\n break;\n case 'cssClass':\n if (oldProp.cssClass) {\n removeClass([wrapper], oldProp.cssClass.split(' '));\n }\n if (newProp.cssClass) {\n addClass([wrapper], newProp.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n break;\n case 'enableRtl':\n if (newProp.enableRtl) {\n wrapper.classList.add(RTL);\n }\n else {\n wrapper.classList.remove(RTL);\n }\n break;\n case 'label':\n this.setText(newProp.label);\n break;\n case 'labelPosition': {\n var label = wrapper.getElementsByClassName(LABEL)[0];\n var labelWrap = wrapper.getElementsByTagName('label')[0];\n detach(label);\n if (newProp.labelPosition === 'After') {\n labelWrap.appendChild(label);\n }\n else {\n labelWrap.insertBefore(label, wrapper.getElementsByClassName(FRAME)[0]);\n }\n break;\n }\n case 'name':\n this.element.setAttribute('name', newProp.name);\n break;\n case 'value':\n if (this.isVue && typeof newProp.value === 'object') {\n break;\n }\n this.element.setAttribute('value', newProp.value);\n break;\n case 'htmlAttributes':\n this.updateHtmlAttributeToWrapper();\n break;\n }\n }\n };\n /**\n * Initialize Angular, React and Unique ID support.\n *\n * @private\n * @returns {void}\n */\n CheckBox.prototype.preRender = function () {\n var element = this.element;\n this.tagName = this.element.tagName;\n element = wrapperInitialize(this.createElement, 'EJS-CHECKBOX', 'checkbox', element, WRAPPER, 'checkbox');\n this.element = element;\n if (this.element.getAttribute('type') !== 'checkbox') {\n this.element.setAttribute('type', 'checkbox');\n }\n if (!this.element.id) {\n this.element.id = getUniqueID('e-' + this.getModuleName());\n }\n };\n /**\n * Initialize the control rendering.\n *\n * @private\n * @returns {void}\n */\n CheckBox.prototype.render = function () {\n this.initWrapper();\n this.initialize();\n if (!this.disabled) {\n this.wireEvents();\n }\n this.updateHtmlAttributeToWrapper();\n this.updateVueArrayModel(true);\n this.renderComplete();\n this.wrapper = this.getWrapper();\n };\n CheckBox.prototype.setDisabled = function () {\n var wrapper = this.getWrapper();\n this.element.disabled = true;\n wrapper.classList.add(DISABLED);\n wrapper.setAttribute('aria-disabled', 'true');\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n CheckBox.prototype.setText = function (text) {\n var wrapper = this.getWrapper();\n if (!wrapper) {\n return;\n }\n var label = wrapper.getElementsByClassName(LABEL)[0];\n if (label) {\n label.textContent = text;\n }\n else {\n text = (this.enableHtmlSanitizer) ? SanitizeHtmlHelper.sanitize(text) : text;\n label = this.createElement('span', { className: LABEL, innerHTML: text });\n var labelWrap = wrapper.getElementsByTagName('label')[0];\n if (this.labelPosition === 'Before') {\n labelWrap.insertBefore(label, wrapper.getElementsByClassName(FRAME)[0]);\n }\n else {\n labelWrap.appendChild(label);\n }\n }\n };\n CheckBox.prototype.changeHandler = function (e) {\n e.stopPropagation();\n };\n CheckBox.prototype.formResetHandler = function () {\n this.checked = this.initialCheckedValue;\n this.element.checked = this.initialCheckedValue;\n };\n CheckBox.prototype.unWireEvents = function () {\n var wrapper = this.wrapper;\n EventHandler.remove(wrapper, 'click', this.clickHandler);\n EventHandler.remove(this.element, 'keyup', this.keyUpHandler);\n EventHandler.remove(this.element, 'focus', this.focusHandler);\n EventHandler.remove(this.element, 'focusout', this.focusOutHandler);\n var label = wrapper.getElementsByTagName('label')[0];\n EventHandler.remove(label, 'mousedown', this.labelMouseDownHandler);\n EventHandler.remove(label, 'mouseup', this.labelMouseUpHandler);\n var formElem = closest(this.element, 'form');\n if (formElem) {\n EventHandler.remove(formElem, 'reset', this.formResetHandler);\n }\n if (this.tagName === 'EJS-CHECKBOX') {\n EventHandler.remove(this.element, 'change', this.changeHandler);\n }\n };\n CheckBox.prototype.wireEvents = function () {\n var wrapper = this.getWrapper();\n EventHandler.add(wrapper, 'click', this.clickHandler, this);\n EventHandler.add(this.element, 'keyup', this.keyUpHandler, this);\n EventHandler.add(this.element, 'focus', this.focusHandler, this);\n EventHandler.add(this.element, 'focusout', this.focusOutHandler, this);\n var label = wrapper.getElementsByTagName('label')[0];\n EventHandler.add(label, 'mousedown', this.labelMouseDownHandler, this);\n EventHandler.add(label, 'mouseup', this.labelMouseUpHandler, this);\n var formElem = closest(this.element, 'form');\n if (formElem) {\n EventHandler.add(formElem, 'reset', this.formResetHandler, this);\n }\n if (this.tagName === 'EJS-CHECKBOX') {\n EventHandler.add(this.element, 'change', this.changeHandler, this);\n }\n };\n CheckBox.prototype.updateVueArrayModel = function (init) {\n if (this.isVue && typeof this.value === 'object') {\n var value = this.element.value;\n if (value && this.value) {\n if (init) {\n for (var i = 0; i < this.value.length; i++) {\n if (value === this.value[i]) {\n this.changeState('check');\n this.setProperties({ 'checked': true }, true);\n }\n }\n }\n else {\n var index = this.value.indexOf(value);\n if (this.checked) {\n if (index < 0) {\n this.value.push(value);\n }\n }\n else {\n if (index > -1) {\n this.value.splice(index, 1);\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return this.value;\n }\n }\n }\n return this.validCheck ? this.element.checked : !this.element.checked;\n };\n CheckBox.prototype.updateHtmlAttributeToWrapper = function () {\n if (!isNullOrUndefined(this.htmlAttributes)) {\n for (var _i = 0, _a = Object.keys(this.htmlAttributes); _i < _a.length; _i++) {\n var key = _a[_i];\n if (containerAttr.indexOf(key) > -1) {\n var wrapper = this.getWrapper();\n if (key === 'class') {\n addClass([wrapper], this.htmlAttributes[\"\" + key].split(' '));\n }\n else if (key === 'title') {\n wrapper.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n else if (key === 'style') {\n var frameSpan = this.getWrapper().getElementsByClassName(FRAME)[0];\n frameSpan.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n else if (key === 'disabled') {\n if (this.htmlAttributes[\"\" + key] === 'true') {\n this.setDisabled();\n }\n this.element.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n else {\n this.element.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n }\n }\n }\n };\n /**\n * Click the CheckBox element\n * its native method\n *\n * @public\n * @returns {void}\n */\n CheckBox.prototype.click = function () {\n this.element.click();\n };\n /**\n * Sets the focus to CheckBox\n * its native method\n *\n * @public\n * @returns {void}\n */\n CheckBox.prototype.focusIn = function () {\n this.element.focus();\n };\n __decorate$1([\n Event()\n ], CheckBox.prototype, \"change\", void 0);\n __decorate$1([\n Event()\n ], CheckBox.prototype, \"created\", void 0);\n __decorate$1([\n Property(false)\n ], CheckBox.prototype, \"checked\", void 0);\n __decorate$1([\n Property('')\n ], CheckBox.prototype, \"cssClass\", void 0);\n __decorate$1([\n Property(false)\n ], CheckBox.prototype, \"disabled\", void 0);\n __decorate$1([\n Property(false)\n ], CheckBox.prototype, \"indeterminate\", void 0);\n __decorate$1([\n Property('')\n ], CheckBox.prototype, \"label\", void 0);\n __decorate$1([\n Property('After')\n ], CheckBox.prototype, \"labelPosition\", void 0);\n __decorate$1([\n Property('')\n ], CheckBox.prototype, \"name\", void 0);\n __decorate$1([\n Property('')\n ], CheckBox.prototype, \"value\", void 0);\n __decorate$1([\n Property(false)\n ], CheckBox.prototype, \"enableHtmlSanitizer\", void 0);\n __decorate$1([\n Property({})\n ], CheckBox.prototype, \"htmlAttributes\", void 0);\n CheckBox = __decorate$1([\n NotifyPropertyChanges\n ], CheckBox);\n return CheckBox;\n}(Component));\n\n/**\n * CheckBox modules\n */\n\nvar __extends$2 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar LABEL$1 = 'e-label';\nvar RIPPLE$1 = 'e-ripple-container';\nvar RTL$1 = 'e-rtl';\nvar WRAPPER$1 = 'e-radio-wrapper';\nvar ATTRIBUTES = ['title', 'class', 'style', 'disabled', 'readonly', 'name', 'value'];\n/**\n * The RadioButton is a graphical user interface element that allows you to select one option from the choices.\n * It contains checked and unchecked states.\n * ```html\n * \n * \n * ```\n */\nvar RadioButton = /** @__PURE__ @class */ (function (_super) {\n __extends$2(RadioButton, _super);\n /**\n * Constructor for creating the widget\n *\n * @private\n * @param {RadioButtonModel} options - Specifies Radio button model\n * @param {string | HTMLInputElement} element - Specifies target element\n */\n function RadioButton(options, element) {\n var _this = _super.call(this, options, element) || this;\n _this.isFocused = false;\n return _this;\n }\n RadioButton_1 = RadioButton;\n RadioButton.prototype.changeHandler = function (event) {\n this.checked = true;\n this.dataBind();\n var value = this.element.getAttribute('value');\n value = this.isVue && value ? this.element.value : this.value;\n var type = typeof this.value;\n if (this.isVue && type === 'boolean') {\n value = value === 'true' ? true : false;\n }\n this.trigger('change', { value: value, event: event });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (this.isAngular) {\n event.stopPropagation();\n }\n };\n RadioButton.prototype.updateChange = function () {\n var input;\n var instance;\n var radioGrp = this.getRadioGroup();\n for (var i = 0; i < radioGrp.length; i++) {\n input = radioGrp[i];\n if (input !== this.element) {\n instance = getInstance(input, RadioButton_1);\n instance.checked = false;\n if (this.tagName === 'EJS-RADIOBUTTON') {\n instance.angularValue = this.value;\n }\n }\n }\n };\n /**\n * Destroys the widget.\n *\n * @returns {void}\n */\n RadioButton.prototype.destroy = function () {\n var _this = this;\n var radioWrap = this.wrapper;\n _super.prototype.destroy.call(this);\n if (radioWrap) {\n if (!this.disabled) {\n this.unWireEvents();\n }\n if (this.tagName === 'INPUT') {\n if (radioWrap.parentNode) {\n radioWrap.parentNode.insertBefore(this.element, radioWrap);\n }\n detach(radioWrap);\n this.element.checked = false;\n ['name', 'value', 'disabled'].forEach(function (key) {\n _this.element.removeAttribute(key);\n });\n }\n else {\n ['role', 'aria-checked', 'class'].forEach(function (key) {\n radioWrap.removeAttribute(key);\n });\n radioWrap.innerHTML = '';\n }\n }\n };\n RadioButton.prototype.focusHandler = function () {\n this.isFocused = true;\n };\n RadioButton.prototype.focusOutHandler = function () {\n var label = this.getLabel();\n if (label) {\n label.classList.remove('e-focus');\n }\n };\n RadioButton.prototype.getModuleName = function () {\n return 'radio';\n };\n /**\n * To get the value of selected radio button in a group.\n *\n * @method getSelectedValue\n * @returns {string} - Selected Value\n */\n RadioButton.prototype.getSelectedValue = function () {\n var input;\n var radioGrp = this.getRadioGroup();\n for (var i = 0, len = radioGrp.length; i < len; i++) {\n input = radioGrp[i];\n if (input.checked) {\n return input.value;\n }\n }\n return '';\n };\n RadioButton.prototype.getRadioGroup = function () {\n return document.querySelectorAll('input.e-radio[name=\"' + this.element.getAttribute('name') + '\"]');\n };\n /**\n * Gets the properties to be maintained in the persistence state.\n *\n * @private\n * @returns {string} - Persist Data\n */\n RadioButton.prototype.getPersistData = function () {\n return this.addOnPersist(['checked']);\n };\n RadioButton.prototype.getWrapper = function () {\n if (this.element) {\n return this.element.parentElement;\n }\n else {\n return null;\n }\n };\n RadioButton.prototype.getLabel = function () {\n if (this.element) {\n return this.element.nextElementSibling;\n }\n else {\n return null;\n }\n };\n RadioButton.prototype.initialize = function () {\n if (isNullOrUndefined(this.initialCheckedValue)) {\n this.initialCheckedValue = this.checked;\n }\n this.initWrapper();\n this.updateHtmlAttribute();\n if (this.name) {\n this.element.setAttribute('name', this.name);\n }\n var value = this.element.getAttribute('value');\n var type = typeof this.value;\n if (this.isVue && type === 'boolean') {\n value = value === 'true' ? true : false;\n }\n if (this.isVue ? this.value && type !== 'boolean' && !value : this.value) {\n this.element.setAttribute('value', this.value);\n }\n if (this.checked) {\n this.element.checked = true;\n }\n if (this.disabled) {\n this.setDisabled();\n }\n };\n RadioButton.prototype.initWrapper = function () {\n var rippleSpan;\n var wrapper = this.element.parentElement;\n if (!wrapper.classList.contains(WRAPPER$1)) {\n wrapper = this.createElement('div', { className: WRAPPER$1 });\n this.element.parentNode.insertBefore(wrapper, this.element);\n }\n var label = this.createElement('label', { attrs: { for: this.element.id } });\n wrapper.appendChild(this.element);\n wrapper.appendChild(label);\n if (isRippleEnabled) {\n rippleSpan = this.createElement('span', { className: (RIPPLE$1) });\n label.appendChild(rippleSpan);\n rippleEffect(rippleSpan, {\n duration: 400,\n isCenterRipple: true\n });\n }\n wrapper.classList.add('e-wrapper');\n if (this.enableRtl) {\n label.classList.add(RTL$1);\n }\n if (this.cssClass) {\n addClass([wrapper], this.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n if (this.label) {\n this.setText(this.label);\n }\n };\n RadioButton.prototype.keyUpHandler = function () {\n if (this.isFocused) {\n this.getLabel().classList.add('e-focus');\n }\n };\n RadioButton.prototype.labelMouseDownHandler = function (e) {\n var rippleSpan = this.getLabel().getElementsByClassName(RIPPLE$1)[0];\n rippleMouseHandler(e, rippleSpan);\n };\n RadioButton.prototype.labelMouseLeaveHandler = function (e) {\n var rippleSpan = this.getLabel().getElementsByClassName(RIPPLE$1)[0];\n if (rippleSpan) {\n var rippleElem = rippleSpan.querySelectorAll('.e-ripple-element');\n for (var i = rippleElem.length - 1; i > 0; i--) {\n rippleSpan.removeChild(rippleSpan.childNodes[i]);\n }\n rippleMouseHandler(e, rippleSpan);\n }\n };\n RadioButton.prototype.labelMouseUpHandler = function (e) {\n var rippleSpan = this.getLabel().getElementsByClassName(RIPPLE$1)[0];\n if (rippleSpan) {\n var rippleElem = rippleSpan.querySelectorAll('.e-ripple-element');\n for (var i = rippleElem.length - 1; i > 0; i--) {\n rippleSpan.removeChild(rippleSpan.childNodes[i]);\n }\n rippleMouseHandler(e, rippleSpan);\n }\n };\n RadioButton.prototype.formResetHandler = function () {\n this.checked = this.initialCheckedValue;\n if (this.initialCheckedValue) {\n attributes(this.element, { 'checked': 'true' });\n }\n };\n /**\n * Called internally if any of the property value changes.\n *\n * @private\n * @param {RadioButtonModel} newProp - Specifies New Properties\n * @param {RadioButtonModel} oldProp - Specifies Old Properties\n * @returns {void}\n */\n RadioButton.prototype.onPropertyChanged = function (newProp, oldProp) {\n var wrap = this.getWrapper();\n var label = this.getLabel();\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'checked':\n if (newProp.checked) {\n this.updateChange();\n }\n this.element.checked = newProp.checked;\n break;\n case 'disabled':\n if (newProp.disabled) {\n this.setDisabled();\n this.unWireEvents();\n }\n else {\n this.element.disabled = false;\n this.wireEvents();\n }\n break;\n case 'cssClass':\n if (oldProp.cssClass) {\n removeClass([wrap], oldProp.cssClass.split(' '));\n }\n if (newProp.cssClass) {\n addClass([wrap], newProp.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n break;\n case 'enableRtl':\n if (newProp.enableRtl) {\n label.classList.add(RTL$1);\n }\n else {\n label.classList.remove(RTL$1);\n }\n break;\n case 'label':\n this.setText(newProp.label);\n break;\n case 'labelPosition':\n if (newProp.labelPosition === 'Before') {\n label.classList.add('e-right');\n }\n else {\n label.classList.remove('e-right');\n }\n break;\n case 'name':\n this.element.setAttribute('name', newProp.name);\n break;\n case 'value':\n var type = typeof this.htmlAttributes.value;\n if (!isNullOrUndefined(this.htmlAttributes) && (this.htmlAttributes.value || type === 'boolean' && !this.htmlAttributes.value)) {\n break;\n }\n this.element.setAttribute('value', newProp.value);\n break;\n case 'htmlAttributes':\n this.updateHtmlAttribute();\n break;\n }\n }\n };\n /**\n * Initialize checked Property, Angular and React and Unique ID support.\n *\n * @private\n * @returns {void}\n */\n RadioButton.prototype.preRender = function () {\n var element = this.element;\n this.formElement = closest(this.element, 'form');\n this.tagName = this.element.tagName;\n element = wrapperInitialize(this.createElement, 'EJS-RADIOBUTTON', 'radio', element, WRAPPER$1, 'radio');\n this.element = element;\n if (this.element.getAttribute('type') !== 'radio') {\n this.element.setAttribute('type', 'radio');\n }\n if (!this.element.id) {\n this.element.id = getUniqueID('e-' + this.getModuleName());\n }\n if (this.tagName === 'EJS-RADIOBUTTON') {\n var formControlName = this.element.getAttribute('formcontrolname');\n if (formControlName) {\n this.setProperties({ 'name': formControlName }, true);\n this.element.setAttribute('name', formControlName);\n }\n }\n };\n /**\n * Initialize the control rendering\n *\n * @private\n * @returns {void}\n */\n RadioButton.prototype.render = function () {\n this.initialize();\n if (!this.disabled) {\n this.wireEvents();\n }\n this.renderComplete();\n this.wrapper = this.getWrapper();\n };\n RadioButton.prototype.setDisabled = function () {\n this.element.disabled = true;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n RadioButton.prototype.setText = function (text) {\n var label = this.getLabel();\n var textLabel = label.getElementsByClassName(LABEL$1)[0];\n if (textLabel) {\n textLabel.textContent = text;\n }\n else {\n text = (this.enableHtmlSanitizer) ? SanitizeHtmlHelper.sanitize(text) : text;\n textLabel = this.createElement('span', { className: LABEL$1, innerHTML: text });\n label.appendChild(textLabel);\n }\n if (this.labelPosition === 'Before') {\n this.getLabel().classList.add('e-right');\n }\n else {\n this.getLabel().classList.remove('e-right');\n }\n };\n RadioButton.prototype.updateHtmlAttribute = function () {\n if (!isNullOrUndefined(this.htmlAttributes)) {\n for (var _i = 0, _a = Object.keys(this.htmlAttributes); _i < _a.length; _i++) {\n var key = _a[_i];\n if (ATTRIBUTES.indexOf(key) > -1) {\n var wrapper = this.element.parentElement;\n if (key === 'class') {\n addClass([wrapper], this.htmlAttributes[\"\" + key].replace(/\\s+/g, ' ').trim().split(' '));\n }\n else if (key === 'title' || key === 'style') {\n wrapper.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n else {\n this.element.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n }\n }\n }\n };\n RadioButton.prototype.unWireEvents = function () {\n var label = this.wrapper;\n EventHandler.remove(this.element, 'change', this.changeHandler);\n EventHandler.remove(this.element, 'focus', this.focusHandler);\n EventHandler.remove(this.element, 'focusout', this.focusOutHandler);\n EventHandler.remove(this.element, 'keyup', this.keyUpHandler);\n var rippleLabel = label.getElementsByTagName('label')[0];\n if (rippleLabel) {\n EventHandler.remove(rippleLabel, 'mousedown', this.labelMouseDownHandler);\n EventHandler.remove(rippleLabel, 'mouseup', this.labelMouseUpHandler);\n EventHandler.remove(rippleLabel, 'mouseleave', this.labelMouseLeaveHandler);\n }\n if (this.formElement) {\n EventHandler.remove(this.formElement, 'reset', this.formResetHandler);\n }\n };\n RadioButton.prototype.wireEvents = function () {\n var label = this.getLabel();\n EventHandler.add(this.element, 'change', this.changeHandler, this);\n EventHandler.add(this.element, 'keyup', this.keyUpHandler, this);\n EventHandler.add(this.element, 'focus', this.focusHandler, this);\n EventHandler.add(this.element, 'focusout', this.focusOutHandler, this);\n var rippleLabel = label.getElementsByClassName(LABEL$1)[0];\n if (rippleLabel) {\n EventHandler.add(rippleLabel, 'mousedown', this.labelMouseDownHandler, this);\n EventHandler.add(rippleLabel, 'mouseup', this.labelMouseUpHandler, this);\n EventHandler.add(rippleLabel, 'mouseleave', this.labelMouseLeaveHandler, this);\n }\n if (this.formElement) {\n EventHandler.add(this.formElement, 'reset', this.formResetHandler, this);\n }\n };\n /**\n * Click the RadioButton element\n * its native method\n *\n * @public\n * @returns {void}\n */\n RadioButton.prototype.click = function () {\n this.element.click();\n };\n /**\n * Sets the focus to RadioButton\n * its native method\n *\n * @public\n * @returns {void}\n */\n RadioButton.prototype.focusIn = function () {\n this.element.focus();\n };\n var RadioButton_1;\n __decorate$2([\n Event()\n ], RadioButton.prototype, \"change\", void 0);\n __decorate$2([\n Event()\n ], RadioButton.prototype, \"created\", void 0);\n __decorate$2([\n Property(false)\n ], RadioButton.prototype, \"checked\", void 0);\n __decorate$2([\n Property('')\n ], RadioButton.prototype, \"cssClass\", void 0);\n __decorate$2([\n Property(false)\n ], RadioButton.prototype, \"disabled\", void 0);\n __decorate$2([\n Property('')\n ], RadioButton.prototype, \"label\", void 0);\n __decorate$2([\n Property('After')\n ], RadioButton.prototype, \"labelPosition\", void 0);\n __decorate$2([\n Property('')\n ], RadioButton.prototype, \"name\", void 0);\n __decorate$2([\n Property('')\n ], RadioButton.prototype, \"value\", void 0);\n __decorate$2([\n Property(false)\n ], RadioButton.prototype, \"enableHtmlSanitizer\", void 0);\n __decorate$2([\n Property({})\n ], RadioButton.prototype, \"htmlAttributes\", void 0);\n RadioButton = RadioButton_1 = __decorate$2([\n NotifyPropertyChanges\n ], RadioButton);\n return RadioButton;\n}(Component));\n\n/**\n * RadioButton modules\n */\n\nvar __extends$3 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar DISABLED$1 = 'e-switch-disabled';\nvar RIPPLE$2 = 'e-ripple-container';\nvar RIPPLE_CHECK = 'e-ripple-check';\nvar RTL$2 = 'e-rtl';\nvar WRAPPER$2 = 'e-switch-wrapper';\nvar ACTIVE = 'e-switch-active';\nvar ATTRIBUTES$1 = ['title', 'class', 'style', 'disabled', 'readonly', 'name', 'value', 'aria-label', 'id', 'role'];\n/**\n * The Switch is a graphical user interface element that allows you to toggle between checked and unchecked states.\n * ```html\n * \n * \n * ```\n */\nvar Switch = /** @__PURE__ @class */ (function (_super) {\n __extends$3(Switch, _super);\n /**\n * Constructor for creating the widget.\n *\n * @private\n *\n * @param {SwitchModel} options switch model\n * @param {string | HTMLInputElement} element target element\n *\n */\n function Switch(options, element) {\n var _this = _super.call(this, options, element) || this;\n _this.isFocused = false;\n _this.isDrag = false;\n _this.isWireEvents = false;\n return _this;\n }\n Switch.prototype.changeState = function (state) {\n var rippleSpan;\n var wrapper = this.getWrapper();\n var bar = wrapper.querySelector('.e-switch-inner');\n var handle = wrapper.querySelector('.e-switch-handle');\n if (isRippleEnabled) {\n rippleSpan = wrapper.getElementsByClassName(RIPPLE$2)[0];\n }\n if (state) {\n addClass([bar, handle], ACTIVE);\n this.element.checked = true;\n this.checked = true;\n if (rippleSpan) {\n addClass([rippleSpan], [RIPPLE_CHECK]);\n }\n }\n else {\n removeClass([bar, handle], ACTIVE);\n this.element.checked = false;\n this.checked = false;\n if (rippleSpan) {\n removeClass([rippleSpan], [RIPPLE_CHECK]);\n }\n }\n };\n Switch.prototype.clickHandler = function (evt) {\n this.isDrag = false;\n this.focusOutHandler();\n this.changeState(!this.checked);\n this.element.focus();\n var changeEventArgs = { checked: this.element.checked, event: evt };\n this.trigger('change', changeEventArgs);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (this.isAngular) {\n evt.stopPropagation();\n evt.preventDefault();\n }\n };\n /**\n * Destroys the Switch widget.\n *\n * @returns {void}\n */\n Switch.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n if (!this.disabled) {\n this.unWireEvents();\n }\n destroy(this, this.getWrapper(), this.tagName);\n };\n Switch.prototype.focusHandler = function () {\n this.isFocused = true;\n };\n Switch.prototype.focusOutHandler = function () {\n this.getWrapper().classList.remove('e-focus');\n };\n /**\n * Gets the module name.\n *\n * @private\n * @returns {string} - Module Name\n */\n Switch.prototype.getModuleName = function () {\n return 'switch';\n };\n /**\n * Gets the properties to be maintained in the persistence state.\n *\n * @private\n * @returns {string} - Persist data\n */\n Switch.prototype.getPersistData = function () {\n return this.addOnPersist(['checked']);\n };\n Switch.prototype.getWrapper = function () {\n return this.element.parentElement;\n };\n Switch.prototype.initialize = function () {\n if (isNullOrUndefined(this.initialSwitchCheckedValue)) {\n this.initialSwitchCheckedValue = this.checked;\n }\n if (this.name) {\n this.element.setAttribute('name', this.name);\n }\n if (this.value) {\n this.element.setAttribute('value', this.value);\n }\n if (this.checked) {\n this.changeState(true);\n }\n if (this.disabled) {\n this.setDisabled();\n }\n if (this.onLabel || this.offLabel) {\n this.setLabel(this.onLabel, this.offLabel);\n }\n };\n Switch.prototype.initWrapper = function () {\n var wrapper = this.element.parentElement;\n if (!wrapper.classList.contains(WRAPPER$2)) {\n wrapper = this.createElement('div', {\n className: WRAPPER$2\n });\n this.element.parentNode.insertBefore(wrapper, this.element);\n }\n var switchInner = this.createElement('span', { className: 'e-switch-inner' });\n var onLabel = this.createElement('span', { className: 'e-switch-on' });\n var offLabel = this.createElement('span', { className: 'e-switch-off' });\n var handle = this.createElement('span', { className: 'e-switch-handle' });\n wrapper.appendChild(this.element);\n setHiddenInput(this, wrapper);\n switchInner.appendChild(onLabel);\n switchInner.appendChild(offLabel);\n wrapper.appendChild(switchInner);\n wrapper.appendChild(handle);\n if (isRippleEnabled) {\n var rippleSpan = this.createElement('span', { className: RIPPLE$2 });\n handle.appendChild(rippleSpan);\n rippleEffect(rippleSpan, { duration: 400, isCenterRipple: true });\n }\n wrapper.classList.add('e-wrapper');\n if (this.enableRtl) {\n wrapper.classList.add(RTL$2);\n }\n if (this.cssClass) {\n addClass([wrapper], this.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n };\n /**\n * Called internally if any of the property value changes.\n *\n * @private\n * @param {SwitchModel} newProp - Specifies New Properties\n * @param {SwitchModel} oldProp - Specifies Old Properties\n * @returns {void}\n */\n Switch.prototype.onPropertyChanged = function (newProp, oldProp) {\n var wrapper = this.getWrapper();\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'checked':\n this.changeState(newProp.checked);\n break;\n case 'disabled':\n if (newProp.disabled) {\n this.setDisabled();\n this.unWireEvents();\n this.isWireEvents = false;\n }\n else {\n this.element.disabled = false;\n wrapper.classList.remove(DISABLED$1);\n wrapper.setAttribute('aria-disabled', 'false');\n if (!this.isWireEvents) {\n this.wireEvents();\n this.isWireEvents = true;\n }\n }\n break;\n case 'value':\n this.element.setAttribute('value', newProp.value);\n break;\n case 'name':\n this.element.setAttribute('name', newProp.name);\n break;\n case 'onLabel':\n case 'offLabel':\n this.setLabel(newProp.onLabel, newProp.offLabel);\n break;\n case 'enableRtl':\n if (newProp.enableRtl) {\n wrapper.classList.add(RTL$2);\n }\n else {\n wrapper.classList.remove(RTL$2);\n }\n break;\n case 'cssClass':\n if (oldProp.cssClass) {\n removeClass([wrapper], oldProp.cssClass.split(' '));\n }\n if (newProp.cssClass) {\n addClass([wrapper], newProp.cssClass.replace(/\\s+/g, ' ').trim().split(' '));\n }\n break;\n case 'htmlAttributes':\n this.updateHtmlAttribute();\n break;\n }\n }\n };\n /**\n * Initialize Angular, React and Unique ID support.\n *\n * @private\n * @returns {void}\n */\n Switch.prototype.preRender = function () {\n var element = this.element;\n this.formElement = closest(this.element, 'form');\n this.tagName = this.element.tagName;\n preRender(this, 'EJS-SWITCH', WRAPPER$2, element, this.getModuleName());\n };\n /**\n * Initialize control rendering.\n *\n * @private\n * @returns {void}\n */\n Switch.prototype.render = function () {\n this.initWrapper();\n this.initialize();\n if (!this.disabled) {\n this.wireEvents();\n }\n this.renderComplete();\n this.updateHtmlAttribute();\n };\n Switch.prototype.rippleHandler = function (e) {\n var rippleSpan = this.getWrapper().getElementsByClassName(RIPPLE$2)[0];\n rippleMouseHandler(e, rippleSpan);\n if (e.type === 'mousedown' && e.currentTarget.classList.contains('e-switch-wrapper') && e.which === 1) {\n this.isDrag = true;\n this.isFocused = false;\n }\n };\n Switch.prototype.rippleTouchHandler = function (eventType) {\n var rippleSpan = this.getWrapper().getElementsByClassName(RIPPLE$2)[0];\n if (rippleSpan) {\n var event_1 = document.createEvent('MouseEvents');\n event_1.initEvent(eventType, false, true);\n rippleSpan.dispatchEvent(event_1);\n }\n };\n Switch.prototype.setDisabled = function () {\n var wrapper = this.getWrapper();\n this.element.disabled = true;\n wrapper.classList.add(DISABLED$1);\n wrapper.setAttribute('aria-disabled', 'true');\n };\n Switch.prototype.setLabel = function (onText, offText) {\n var wrapper = this.getWrapper();\n if (onText) {\n wrapper.querySelector('.e-switch-on').textContent = onText;\n }\n if (offText) {\n wrapper.querySelector('.e-switch-off').textContent = offText;\n }\n };\n Switch.prototype.updateHtmlAttribute = function () {\n if (!isNullOrUndefined(this.htmlAttributes)) {\n for (var _i = 0, _a = Object.keys(this.htmlAttributes); _i < _a.length; _i++) {\n var key = _a[_i];\n if (ATTRIBUTES$1.indexOf(key) > -1) {\n var wrapper = this.getWrapper();\n if (key === 'class') {\n addClass([wrapper], this.htmlAttributes[\"\" + key].split(' '));\n }\n else if (key === 'title') {\n wrapper.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n else if (key === 'style') {\n wrapper.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n else if (key === 'disabled') {\n if (this.htmlAttributes[\"\" + key] === 'true') {\n this.setDisabled();\n }\n this.element.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n else {\n this.element.setAttribute(key, this.htmlAttributes[\"\" + key]);\n }\n }\n }\n }\n };\n Switch.prototype.switchFocusHandler = function () {\n if (this.isFocused) {\n this.getWrapper().classList.add('e-focus');\n }\n };\n Switch.prototype.switchMouseUp = function (e) {\n var target = e.target;\n if (e.type === 'touchmove') {\n e.preventDefault();\n }\n if (e.type === 'touchstart') {\n this.isDrag = true;\n this.rippleTouchHandler('mousedown');\n }\n if (this.isDrag) {\n if ((e.type === 'mouseup' && target.className.indexOf('e-switch') < 0) || e.type === 'touchend') {\n this.clickHandler(e);\n this.rippleTouchHandler('mouseup');\n e.preventDefault();\n }\n }\n };\n Switch.prototype.formResetHandler = function () {\n this.checked = this.initialSwitchCheckedValue;\n this.element.checked = this.initialSwitchCheckedValue;\n };\n /**\n * Toggle the Switch component state into checked/unchecked.\n *\n * @returns {void}\n */\n Switch.prototype.toggle = function () {\n this.clickHandler();\n };\n Switch.prototype.wireEvents = function () {\n var wrapper = this.getWrapper();\n this.delegateMouseUpHandler = this.switchMouseUp.bind(this);\n this.delegateKeyUpHandler = this.switchFocusHandler.bind(this);\n EventHandler.add(wrapper, 'click', this.clickHandler, this);\n EventHandler.add(this.element, 'focus', this.focusHandler, this);\n EventHandler.add(this.element, 'focusout', this.focusOutHandler, this);\n EventHandler.add(this.element, 'mouseup', this.delegateMouseUpHandler, this);\n EventHandler.add(this.element, 'keyup', this.delegateKeyUpHandler, this);\n EventHandler.add(wrapper, 'mousedown mouseup', this.rippleHandler, this);\n EventHandler.add(wrapper, 'touchstart touchmove touchend', this.switchMouseUp, this);\n if (this.formElement) {\n EventHandler.add(this.formElement, 'reset', this.formResetHandler, this);\n }\n };\n Switch.prototype.unWireEvents = function () {\n var wrapper = this.getWrapper();\n EventHandler.remove(wrapper, 'click', this.clickHandler);\n EventHandler.remove(this.element, 'focus', this.focusHandler);\n EventHandler.remove(this.element, 'focusout', this.focusOutHandler);\n EventHandler.remove(this.element, 'mouseup', this.delegateMouseUpHandler);\n EventHandler.remove(this.element, 'keyup', this.delegateKeyUpHandler);\n EventHandler.remove(wrapper, 'mousedown mouseup', this.rippleHandler);\n EventHandler.remove(wrapper, 'touchstart touchmove touchend', this.switchMouseUp);\n if (this.formElement) {\n EventHandler.remove(this.formElement, 'reset', this.formResetHandler);\n }\n };\n /**\n * Click the switch element\n * its native method\n *\n * @public\n * @returns {void}\n */\n Switch.prototype.click = function () {\n this.element.click();\n };\n /**\n * Sets the focus to Switch\n * its native method\n *\n * @public\n */\n Switch.prototype.focusIn = function () {\n this.element.focus();\n };\n __decorate$3([\n Event()\n ], Switch.prototype, \"change\", void 0);\n __decorate$3([\n Event()\n ], Switch.prototype, \"created\", void 0);\n __decorate$3([\n Property(false)\n ], Switch.prototype, \"checked\", void 0);\n __decorate$3([\n Property('')\n ], Switch.prototype, \"cssClass\", void 0);\n __decorate$3([\n Property(false)\n ], Switch.prototype, \"disabled\", void 0);\n __decorate$3([\n Property('')\n ], Switch.prototype, \"name\", void 0);\n __decorate$3([\n Property('')\n ], Switch.prototype, \"onLabel\", void 0);\n __decorate$3([\n Property('')\n ], Switch.prototype, \"offLabel\", void 0);\n __decorate$3([\n Property('')\n ], Switch.prototype, \"value\", void 0);\n __decorate$3([\n Property({})\n ], Switch.prototype, \"htmlAttributes\", void 0);\n Switch = __decorate$3([\n NotifyPropertyChanges\n ], Switch);\n return Switch;\n}(Component));\n\n/**\n * Switch modules\n */\n\nvar __extends$4 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar classNames = {\n chipSet: 'e-chip-set',\n chip: 'e-chip',\n avatar: 'e-chip-avatar',\n text: 'e-chip-text',\n icon: 'e-chip-icon',\n delete: 'e-chip-delete',\n deleteIcon: 'e-dlt-btn',\n multiSelection: 'e-multi-selection',\n singleSelection: 'e-selection',\n active: 'e-active',\n chipWrapper: 'e-chip-avatar-wrap',\n iconWrapper: 'e-chip-icon-wrap',\n focused: 'e-focused',\n disabled: 'e-disabled',\n rtl: 'e-rtl'\n};\n/**\n * A chip component is a small block of essential information, mostly used on contacts or filter tags.\n * ```html\n *
    \n * ```\n * ```typescript\n * \n * ```\n */\nvar ChipList = /** @__PURE__ @class */ (function (_super) {\n __extends$4(ChipList, _super);\n function ChipList(options, element) {\n var _this = _super.call(this, options, element) || this;\n _this.multiSelectedChip = [];\n return _this;\n }\n /**\n * Initialize the event handler\n *\n * @private\n */\n ChipList.prototype.preRender = function () {\n //prerender\n };\n /**\n * To find the chips length.\n *\n * @returns boolean\n * @private\n */\n ChipList.prototype.chipType = function () {\n return (this.chips && this.chips.length && this.chips.length > 0);\n };\n /**\n * To Initialize the control rendering.\n *\n * @returns void\n * @private\n */\n ChipList.prototype.render = function () {\n var property;\n this.type = this.chips.length ? 'chipset' : (this.text || this.element.innerText ? 'chip' : 'chipset');\n this.setAttributes();\n this.createChip();\n this.setRtl();\n this.select(this.selectedChips, property);\n this.wireEvent(false);\n this.rippleFunction = rippleEffect(this.element, {\n selector: '.e-chip'\n });\n this.renderComplete();\n };\n ChipList.prototype.createChip = function () {\n this.innerText = (this.element.innerText && this.element.innerText.length !== 0)\n ? this.element.innerText.trim() : this.element.innerText;\n this.element.innerHTML = '';\n this.chipCreation(this.type === 'chip' ? [this.innerText ? this.innerText : this.text] : this.chips);\n };\n ChipList.prototype.setAttributes = function () {\n if (this.type === 'chip') {\n if (this.enabled)\n this.element.tabIndex = 0;\n this.element.setAttribute('role', 'option');\n }\n else {\n this.element.classList.add(classNames.chipSet);\n this.element.setAttribute('role', 'listbox');\n if (this.selection === 'Multiple') {\n this.element.classList.add(classNames.multiSelection);\n this.element.setAttribute('aria-multiselectable', 'true');\n }\n else if (this.selection === 'Single') {\n this.element.classList.add(classNames.singleSelection);\n this.element.setAttribute('aria-multiselectable', 'false');\n }\n else {\n this.element.setAttribute('aria-multiselectable', 'false');\n }\n }\n };\n ChipList.prototype.setRtl = function () {\n this.element.classList[this.enableRtl ? 'add' : 'remove'](classNames.rtl);\n };\n ChipList.prototype.chipCreation = function (data) {\n var chipListArray = [];\n var attributeArray = [];\n for (var i = 0; i < data.length; i++) {\n var fieldsData = this.getFieldValues(data[i]);\n var attributesValue = fieldsData.htmlAttributes;\n attributeArray.push(attributesValue);\n var chipArray = this.elementCreation(fieldsData);\n var className = (classNames.chip + ' ' + (fieldsData.enabled ? ' ' : classNames.disabled) + ' ' +\n (fieldsData.avatarIconCss || fieldsData.avatarText ? classNames.chipWrapper : (fieldsData.leadingIconCss ?\n classNames.iconWrapper : ' ')) + ' ' + fieldsData.cssClass).split(' ').filter(function (css) { return css; });\n if (!this.chipType()) {\n chipListArray = chipArray;\n addClass([this.element], className);\n this.element.setAttribute('aria-label', fieldsData.text);\n if (fieldsData.value) {\n this.element.setAttribute('data-value', fieldsData.value.toString());\n }\n }\n else {\n var wrapper = this.createElement('DIV', {\n className: className.join(' '), attrs: {\n tabIndex: '0', role: 'option',\n 'aria-label': fieldsData.text, 'aria-selected': 'false'\n }\n });\n if (fieldsData.value) {\n wrapper.setAttribute('data-value', fieldsData.value.toString());\n }\n if (fieldsData.enabled) {\n wrapper.setAttribute('aria-disabled', 'false');\n }\n else {\n wrapper.removeAttribute('tabindex');\n wrapper.setAttribute('aria-disabled', 'true');\n }\n if (!isNullOrUndefined(attributeArray[i])) {\n if (attributeArray.length > i && Object.keys(attributeArray[i]).length) {\n var htmlAttr = [];\n htmlAttr = (Object.keys(attributeArray[i]));\n for (var j = 0; j < htmlAttr.length; j++) {\n wrapper.setAttribute(htmlAttr[j], attributeArray[i][htmlAttr[j]]);\n }\n }\n }\n append(chipArray, wrapper);\n chipListArray.push(wrapper);\n }\n }\n append(chipListArray, this.element);\n };\n ChipList.prototype.getFieldValues = function (data) {\n var chipEnabled = !(this.enabled.toString() === 'false');\n var fields = {\n text: typeof data === 'object' ? (data.text ? data.text.toString() : this.text.toString()) :\n (!this.chipType() ? (this.innerText ? this.innerText : this.text.toString()) : data.toString()),\n cssClass: typeof data === 'object' ? (data.cssClass ? data.cssClass.toString() : this.cssClass.toString()) :\n (this.cssClass.toString()),\n leadingIconCss: typeof data === 'object' ? (data.leadingIconCss ? data.leadingIconCss.toString() :\n this.leadingIconCss.toString()) : (this.leadingIconCss.toString()),\n avatarIconCss: typeof data === 'object' ? (data.avatarIconCss ? data.avatarIconCss.toString() :\n this.avatarIconCss.toString()) : (this.avatarIconCss.toString()),\n avatarText: typeof data === 'object' ? (data.avatarText ? data.avatarText.toString() : this.avatarText.toString()) :\n (this.avatarText.toString()),\n trailingIconCss: typeof data === 'object' ? (data.trailingIconCss ? data.trailingIconCss.toString() :\n this.trailingIconCss.toString()) : (this.trailingIconCss.toString()),\n enabled: typeof data === 'object' ? (!isNullOrUndefined(data.enabled) ? (data.enabled.toString() === 'false' ? false : true) :\n chipEnabled) : (chipEnabled),\n value: typeof data === 'object' ? ((data.value ? data.value.toString() : null)) : null,\n leadingIconUrl: typeof data === 'object' ? (data.leadingIconUrl ? data.leadingIconUrl.toString() : this.leadingIconUrl) :\n this.leadingIconUrl,\n trailingIconUrl: typeof data === 'object' ? (data.trailingIconUrl ? data.trailingIconUrl.toString() : this.trailingIconUrl) :\n this.trailingIconUrl,\n htmlAttributes: typeof data === 'object' ? (data.htmlAttributes ? data.htmlAttributes : this.htmlAttributes) : this.htmlAttributes\n };\n return fields;\n };\n ChipList.prototype.elementCreation = function (fields) {\n var chipArray = [];\n if (fields.avatarText || fields.avatarIconCss) {\n var className = (classNames.avatar + ' ' + fields.avatarIconCss).trim();\n var chipAvatarElement = this.createElement('span', { className: className });\n chipAvatarElement.innerText = fields.avatarText;\n chipArray.push(chipAvatarElement);\n }\n else if (fields.leadingIconCss) {\n var className = (classNames.icon + ' ' + fields.leadingIconCss).trim();\n var chipIconElement = this.createElement('span', { className: className });\n chipArray.push(chipIconElement);\n }\n else if (fields.leadingIconUrl) {\n var className = (classNames.avatar + ' ' + 'image-url').trim();\n var chipIconElement = this.createElement('span', { className: className });\n chipIconElement.style.backgroundImage = 'url(' + fields.leadingIconUrl + ')';\n chipArray.push(chipIconElement);\n }\n var chipTextElement = this.createElement('span', { className: classNames.text });\n chipTextElement.innerText = fields.text;\n chipArray.push(chipTextElement);\n if (fields.trailingIconCss || (this.chipType() && this.enableDelete)) {\n var className = (classNames.delete + ' ' +\n (fields.trailingIconCss ? fields.trailingIconCss : classNames.deleteIcon)).trim();\n var chipdeleteElement = this.createElement('span', { className: className });\n chipArray.push(chipdeleteElement);\n }\n else if (fields.trailingIconUrl) {\n var className = ('trailing-icon-url').trim();\n var chipIconsElement = this.createElement('span', { className: className });\n chipIconsElement.style.backgroundImage = 'url(' + fields.trailingIconUrl + ')';\n chipArray.push(chipIconsElement);\n }\n return chipArray;\n };\n /**\n * A function that finds chip based on given input.\n *\n * @param {number | HTMLElement } fields - We can pass index number or element of chip.\n * {% codeBlock src='chips/find/index.md' %}{% endcodeBlock %}\n *\n * @returns {void}\n */\n ChipList.prototype.find = function (fields) {\n var chipData;\n var chipElement = fields instanceof HTMLElement ?\n fields : this.element.querySelectorAll('.' + classNames.chip)[fields];\n if (chipElement && this.chipType()) {\n chipData = { text: undefined, index: undefined, element: undefined, data: undefined };\n chipData.index = Array.prototype.slice.call(this.element.querySelectorAll('.' + classNames.chip)).indexOf(chipElement);\n chipData.text = typeof this.chips[chipData.index] === 'object' ?\n (this.chips[chipData.index].text ?\n this.chips[chipData.index].text.toString() : '') :\n this.chips[chipData.index].toString();\n chipData.data = this.chips[chipData.index];\n chipData.element = chipElement;\n }\n return chipData;\n };\n /**\n * Allows adding the chip item(s) by passing a single or array of string, number, or ChipModel values.\n *\n * @param {string[] | number[] | ChipModel[] | string | number | ChipModel} chipsData - We can pass array of string or\n * array of number or array of chip model or string data or number data or chip model.\n * {% codeBlock src='chips/add/index.md' %}{% endcodeBlock %}\n *\n * @returns {void}\n * @deprecated\n */\n ChipList.prototype.add = function (chipsData) {\n var _a;\n if (this.type !== 'chip') {\n var fieldData = chipsData instanceof Array ?\n chipsData : [chipsData];\n (_a = this.chips).push.apply(_a, fieldData);\n this.chipCreation(fieldData);\n }\n };\n /**\n * Allows selecting the chip item(s) by passing a single or array of string, number, or ChipModel values.\n *\n * @param {number | number[] | HTMLElement | HTMLElement[]} fields - We can pass number or array of number\n * or chip element or array of chip element.\n * {% codeBlock src='chips/select/index.md' %}{% endcodeBlock %}\n *\n * @returns {void}\n */\n ChipList.prototype.select = function (fields, selectionType) {\n this.onSelect(fields, false, selectionType);\n };\n ChipList.prototype.multiSelection = function (newProp) {\n var items = this.element.querySelectorAll('.' + 'e-chip');\n for (var j = 0; j < newProp.length; j++) {\n if (typeof newProp[j] === 'string') {\n for (var k = 0; k < items.length; k++) {\n if (newProp[j] !== k) {\n if (newProp[j] === items[k].attributes[5].value) {\n this.multiSelectedChip.push(k);\n break;\n }\n }\n }\n }\n else {\n this.multiSelectedChip.push(newProp[j]);\n }\n }\n };\n ChipList.prototype.onSelect = function (fields, callFromProperty, selectionType) {\n var index;\n var chipNodes;\n var chipValue;\n if (this.chipType() && this.selection !== 'None') {\n if (callFromProperty) {\n var chipElements = this.element.querySelectorAll('.' + classNames.chip);\n for (var i = 0; i < chipElements.length; i++) {\n chipElements[i].setAttribute('aria-selected', 'false');\n chipElements[i].classList.remove(classNames.active);\n }\n }\n var fieldData = fields instanceof Array ? fields : [fields];\n for (var i = 0; i < fieldData.length; i++) {\n var chipElement = fieldData[i] instanceof HTMLElement ? fieldData[i]\n : this.element.querySelectorAll('.' + classNames.chip)[fieldData[i]];\n if (selectionType !== 'index') {\n for (var j = 0; j < this.chips.length; j++) {\n chipNodes = this.element.querySelectorAll('.' + classNames.chip)[j];\n var fieldsData = this.getFieldValues(this.chips[j]);\n if (selectionType === 'value') {\n if (fieldsData.value !== null) {\n chipValue = chipNodes.dataset.value;\n }\n }\n else if (selectionType === 'text') {\n chipValue = chipNodes.innerText;\n }\n if (chipValue === fieldData[i].toString()) {\n index = j;\n chipElement = this.element.querySelectorAll('.' + classNames.chip)[index];\n }\n }\n }\n if (chipElement instanceof HTMLElement) {\n this.selectionHandler(chipElement);\n }\n }\n }\n };\n /**\n * Allows removing the chip item(s) by passing a single or array of string, number, or ChipModel values.\n *\n * @param {number | number[] | HTMLElement | HTMLElement[]} fields - We can pass number or array of number\n * or chip element or array of chip element.\n * {% codeBlock src='chips/remove/index.md' %}{% endcodeBlock %}\n *\n * @returns {void}\n */\n ChipList.prototype.remove = function (fields) {\n var _this = this;\n if (this.chipType()) {\n var fieldData = fields instanceof Array ? fields : [fields];\n var chipElements_1 = [];\n var chipCollection_1 = this.element.querySelectorAll('.' + classNames.chip);\n fieldData.forEach(function (data) {\n var chipElement = data instanceof HTMLElement ? data\n : chipCollection_1[data];\n if (chipElement instanceof HTMLElement) {\n chipElements_1.push(chipElement);\n }\n });\n chipElements_1.forEach(function (element) {\n var chips = _this.element.querySelectorAll('.' + classNames.chip);\n var index = Array.prototype.slice.call(chips).indexOf(element);\n _this.deleteHandler(element, index);\n });\n }\n };\n /**\n * Returns the selected chip(s) data.\n * {% codeBlock src='chips/getSelectedChips/index.md' %}{% endcodeBlock %}\n *\n * @returns {void}\n */\n ChipList.prototype.getSelectedChips = function () {\n var selectedChips;\n if (this.chipType() && this.selection !== 'None') {\n var selectedItems = { texts: [], Indexes: [], data: [], elements: [] };\n var items = this.element.querySelectorAll('.' + classNames.active);\n for (var i = 0; i < items.length; i++) {\n var chip = items[i];\n selectedItems.elements.push(chip);\n var index = Array.prototype.slice.call(this.element.querySelectorAll('.' + classNames.chip)).indexOf(chip);\n selectedItems.Indexes.push(index);\n selectedItems.data.push(this.chips[index]);\n var text = typeof this.chips[index] === 'object' ?\n this.chips[index].text ? this.chips[index].text.toString()\n : null : this.chips[index].toString();\n selectedItems.texts.push(text);\n }\n var selectedItem = {\n text: selectedItems.texts[0], index: selectedItems.Indexes[0],\n data: selectedItems.data[0], element: selectedItems.elements[0]\n };\n selectedChips = !isNullOrUndefined(selectedItem.index) ?\n (this.selection === 'Multiple' ? selectedItems : selectedItem) : undefined;\n }\n return selectedChips;\n };\n ChipList.prototype.wireEvent = function (unWireEvent) {\n if (!unWireEvent) {\n EventHandler.add(this.element, 'click', this.clickHandler, this);\n EventHandler.add(this.element, 'focusout', this.focusOutHandler, this);\n EventHandler.add(this.element, 'keydown', this.keyHandler, this);\n EventHandler.add(this.element, 'keyup', this.keyHandler, this);\n }\n else {\n EventHandler.remove(this.element, 'click', this.clickHandler);\n EventHandler.remove(this.element, 'focusout', this.focusOutHandler);\n EventHandler.remove(this.element, 'keydown', this.keyHandler);\n EventHandler.remove(this.element, 'keyup', this.keyHandler);\n }\n };\n ChipList.prototype.keyHandler = function (e) {\n if (e.target.classList.contains(classNames.chip)) {\n if (e.type === 'keydown') {\n if (e.keyCode === 13 || e.keyCode === 32) {\n this.clickHandler(e);\n }\n else if (e.keyCode === 46 && this.enableDelete) {\n this.clickHandler(e, true);\n }\n }\n else if (e.keyCode === 9) {\n this.focusInHandler(e.target);\n }\n }\n };\n ChipList.prototype.focusInHandler = function (chipWrapper) {\n if (!chipWrapper.classList.contains(classNames.focused)) {\n chipWrapper.classList.add(classNames.focused);\n }\n };\n ChipList.prototype.focusOutHandler = function (e) {\n var chipWrapper = closest(e.target, '.' + classNames.chip);\n var focusedElement = !this.chipType() ? (this.element.classList.contains(classNames.focused) ?\n this.element : null) : this.element.querySelector('.' + classNames.focused);\n if (chipWrapper && focusedElement) {\n focusedElement.classList.remove(classNames.focused);\n }\n };\n ChipList.prototype.clickHandler = function (e, del) {\n var _this = this;\n if (del === void 0) { del = false; }\n var chipWrapper = closest(e.target, '.' + classNames.chip);\n if (chipWrapper) {\n // eslint-disable-next-line\n var chipDataArgs = void 0;\n if (this.chipType()) {\n chipDataArgs = this.find(chipWrapper);\n }\n else {\n var index = Array.prototype.slice.call(this.element.querySelectorAll('.' + classNames.chip)).indexOf(chipWrapper);\n chipDataArgs = {\n text: this.innerText ? this.innerText : this.text,\n element: chipWrapper, data: this.text, index: index\n };\n }\n chipDataArgs.event = e;\n chipDataArgs.cancel = false;\n this.trigger('beforeClick', chipDataArgs, function (observedArgs) {\n if (!observedArgs.cancel) {\n _this.clickEventHandler(observedArgs.element, e, del);\n }\n });\n }\n };\n ChipList.prototype.clickEventHandler = function (chipWrapper, e, del) {\n var _this = this;\n if (this.chipType()) {\n var chipData_1 = this.find(chipWrapper);\n chipData_1.event = e;\n var deleteElement = e.target.classList.contains(classNames.deleteIcon) ?\n e.target : (del ? chipWrapper.querySelector('.' + classNames.deleteIcon) : undefined);\n if (deleteElement && this.enableDelete) {\n chipData_1.cancel = false;\n var deletedItemArgs = chipData_1;\n this.trigger('delete', deletedItemArgs, function (observedArgs) {\n if (!observedArgs.cancel) {\n _this.deleteHandler(observedArgs.element, observedArgs.index);\n _this.selectionHandler(chipWrapper);\n chipData_1.selected = observedArgs.element.classList.contains(classNames.active);\n var selectedItemArgs = chipData_1;\n _this.trigger('click', selectedItemArgs);\n var chipElement = _this.element.querySelectorAll('.' + classNames.chip)[observedArgs.index];\n if (chipElement) {\n chipElement.focus();\n _this.focusInHandler(chipElement);\n }\n }\n });\n }\n else if (this.selection !== 'None') {\n this.selectionHandler(chipWrapper);\n chipData_1.selected = chipWrapper.classList.contains(classNames.active);\n var selectedItemArgs = chipData_1;\n this.trigger('click', selectedItemArgs);\n }\n else {\n this.focusInHandler(chipWrapper);\n var clickedItemArgs = chipData_1;\n this.trigger('click', clickedItemArgs);\n }\n }\n else {\n this.focusInHandler(chipWrapper);\n var clickedItemArgs = {\n text: this.innerText ? this.innerText : this.text,\n element: chipWrapper, data: this.text, event: e\n };\n this.trigger('click', clickedItemArgs);\n }\n };\n ChipList.prototype.selectionHandler = function (chipWrapper) {\n if (this.selection === 'Single') {\n var activeElement = this.element.querySelector('.' + classNames.active);\n if (activeElement && activeElement !== chipWrapper) {\n activeElement.classList.remove(classNames.active);\n activeElement.setAttribute('aria-selected', 'false');\n }\n this.setProperties({ selectedChips: null }, true);\n }\n else {\n this.setProperties({ selectedChips: [] }, true);\n }\n if (chipWrapper.classList.contains(classNames.active)) {\n chipWrapper.classList.remove(classNames.active);\n chipWrapper.setAttribute('aria-selected', 'false');\n }\n else {\n chipWrapper.classList.add(classNames.active);\n chipWrapper.setAttribute('aria-selected', 'true');\n }\n this.updateSelectedChips();\n };\n ChipList.prototype.updateSelectedChips = function () {\n var chipListEle = this.element.querySelectorAll('.e-chip');\n var chipCollIndex = [];\n var chipCollValue = [];\n var chip = null;\n var value;\n for (var i = 0; i < chipListEle.length; i++) {\n var selectedEle = this.element.querySelectorAll('.e-chip')[i];\n if (selectedEle.getAttribute('aria-selected') === 'true') {\n value = selectedEle.getAttribute('data-value');\n if (this.selection === 'Single' && selectedEle.classList.contains('e-active')) {\n chip = value ? value : i;\n break;\n }\n else {\n chip = value ? chipCollValue.push(value) : chipCollIndex.push(i);\n }\n }\n }\n this.setProperties({ selectedChips: this.selection === 'Single' ? chip : value ? chipCollValue : chipCollIndex }, true);\n };\n ChipList.prototype.deleteHandler = function (chipWrapper, index) {\n // Used to store the deleted chip item details.\n var deletedChipData = this.find(chipWrapper);\n this.chips.splice(index, 1);\n this.setProperties({ chips: this.chips }, true);\n detach(chipWrapper);\n this.trigger('deleted', deletedChipData);\n };\n /**\n * Removes the component from the DOM and detaches all its related event handlers. Also, it removes the attributes and classes.\n * {% codeBlock src='chips/destroy/index.md' %}{% endcodeBlock %}\n *\n * @returns {void}\n */\n ChipList.prototype.destroy = function () {\n removeClass([this.element], [classNames.chipSet, classNames.chip, classNames.rtl,\n classNames.multiSelection, classNames.singleSelection, classNames.disabled, classNames.chipWrapper, classNames.iconWrapper,\n classNames.active, classNames.focused].concat(this.cssClass.toString().split(' ').filter(function (css) { return css; })));\n this.removeMultipleAttributes(['tabindex', 'role', 'aria-label', 'aria-multiselectable'], this.element);\n this.wireEvent(true);\n this.rippleFunction();\n _super.prototype.destroy.call(this);\n this.element.innerHTML = '';\n this.element.innerText = this.innerText;\n };\n ChipList.prototype.removeMultipleAttributes = function (attributes$$1, element) {\n attributes$$1.forEach(function (attr) {\n element.removeAttribute(attr);\n });\n };\n ChipList.prototype.getPersistData = function () {\n return this.addOnPersist([]);\n };\n ChipList.prototype.getModuleName = function () {\n return 'chip-list';\n };\n /**\n * Called internally if any of the property value changed.\n *\n * @returns void\n * @private\n */\n ChipList.prototype.onPropertyChanged = function (newProp, oldProp) {\n var property;\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'chips':\n case 'text':\n case 'avatarText':\n case 'avatarIconCss':\n case 'leadingIconCss':\n case 'trailingIconCss':\n case 'selection':\n case 'enableDelete':\n case 'enabled':\n this.refresh();\n break;\n case 'cssClass':\n if (!this.chipType()) {\n removeClass([this.element], oldProp.cssClass.toString().split(' ').filter(function (css) { return css; }));\n addClass([this.element], newProp.cssClass.toString().split(' ').filter(function (css) { return css; }));\n }\n else {\n this.refresh();\n }\n break;\n case 'selectedChips':\n removeClass(this.element.querySelectorAll('.e-active'), 'e-active');\n if (this.selection === 'Multiple') {\n this.multiSelectedChip = [];\n this.multiSelection(newProp.selectedChips);\n this.onSelect(this.multiSelectedChip, true, property);\n this.updateSelectedChips();\n }\n else {\n this.onSelect(newProp.selectedChips, true, property);\n }\n break;\n case 'enableRtl':\n this.setRtl();\n break;\n }\n }\n };\n __decorate$4([\n Property([])\n ], ChipList.prototype, \"chips\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"text\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"avatarText\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"avatarIconCss\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"htmlAttributes\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"leadingIconCss\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"trailingIconCss\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"leadingIconUrl\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"trailingIconUrl\", void 0);\n __decorate$4([\n Property('')\n ], ChipList.prototype, \"cssClass\", void 0);\n __decorate$4([\n Property(true)\n ], ChipList.prototype, \"enabled\", void 0);\n __decorate$4([\n Property([])\n ], ChipList.prototype, \"selectedChips\", void 0);\n __decorate$4([\n Property('None')\n ], ChipList.prototype, \"selection\", void 0);\n __decorate$4([\n Property(false)\n ], ChipList.prototype, \"enableDelete\", void 0);\n __decorate$4([\n Event()\n ], ChipList.prototype, \"created\", void 0);\n __decorate$4([\n Event()\n ], ChipList.prototype, \"click\", void 0);\n __decorate$4([\n Event()\n ], ChipList.prototype, \"beforeClick\", void 0);\n __decorate$4([\n Event()\n ], ChipList.prototype, \"delete\", void 0);\n __decorate$4([\n Event()\n ], ChipList.prototype, \"deleted\", void 0);\n ChipList = __decorate$4([\n NotifyPropertyChanges\n ], ChipList);\n return ChipList;\n}(Component));\n\n/**\n * Represents ChipList `Chip` model class.\n */\nvar Chip = /** @__PURE__ @class */ (function () {\n function Chip() {\n }\n return Chip;\n}());\n\n/**\n * Chip modules\n */\n\nvar __extends$5 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n// eslint-disable-next-line @typescript-eslint/triple-slash-reference\n///\nvar FABHIDDEN = 'e-fab-hidden';\nvar FIXEDFAB = 'e-fab-fixed';\nvar FABVERTDIST = '--fabVertDist';\nvar FABHORZDIST = '--fabHorzDist';\nvar FABTOP = 'e-fab-top';\nvar FABBOTTOM = 'e-fab-bottom';\nvar FABRIGHT = 'e-fab-right';\nvar FABLEFT = 'e-fab-left';\nvar FABMIDDLE = 'e-fab-middle';\nvar FABCENTER = 'e-fab-center';\n/**\n * Defines the position of FAB (Floating Action Button) in target.\n */\nvar FabPosition;\n(function (FabPosition) {\n /**\n * Positions the FAB at the target's top left corner.\n */\n FabPosition[\"TopLeft\"] = \"TopLeft\";\n /**\n * Places the FAB on the top-center position of the target.\n */\n FabPosition[\"TopCenter\"] = \"TopCenter\";\n /**\n * Positions the FAB at the target's top right corner.\n */\n FabPosition[\"TopRight\"] = \"TopRight\";\n /**\n * Positions the FAB in the middle of target's left side.\n */\n FabPosition[\"MiddleLeft\"] = \"MiddleLeft\";\n /**\n * Positions the FAB in the center of target.\n */\n FabPosition[\"MiddleCenter\"] = \"MiddleCenter\";\n /**\n * Positions the FAB in the middle of target's right side.\n */\n FabPosition[\"MiddleRight\"] = \"MiddleRight\";\n /**\n * Positions the FAB at the target's bottom left corner.\n */\n FabPosition[\"BottomLeft\"] = \"BottomLeft\";\n /**\n * Places the FAB on the bottom-center position of the target.\n */\n FabPosition[\"BottomCenter\"] = \"BottomCenter\";\n /**\n * Positions the FAB at the target's bottom right corner.\n */\n FabPosition[\"BottomRight\"] = \"BottomRight\";\n})(FabPosition || (FabPosition = {}));\n/**\n * The FAB Component (Floating Action Button) is an extension of Button Component that appears in front of all the contents of the page and performs the primary action.\n */\nvar Fab = /** @__PURE__ @class */ (function (_super) {\n __extends$5(Fab, _super);\n /**\n * Constructor for creating the widget\n *\n * @param {FabModel} options - Specifies the floating action button model\n * @param {string|HTMLButtonElement} element - Specifies the target element\n */\n function Fab(options, element) {\n return _super.call(this, options, element) || this;\n }\n /**\n * Initialize the control rendering\n *\n * @returns {void}\n * @private\n */\n Fab.prototype.render = function () {\n _super.prototype.render.call(this);\n this.initializeFab();\n };\n Fab.prototype.preRender = function () {\n _super.prototype.preRender.call(this);\n if (!this.element.id) {\n this.element.id = getUniqueID('e-' + this.getModuleName());\n }\n };\n /**\n * Get the properties to be maintained in the persisted state.\n *\n * @returns {string} - Persist data\n */\n Fab.prototype.getPersistData = function () {\n _super.prototype.getPersistData.call(this);\n return this.addOnPersist([]);\n };\n /**\n * Get component name.\n *\n * @returns {string} - Module name\n * @private\n */\n Fab.prototype.getModuleName = function () {\n return 'fab';\n };\n Fab.prototype.initializeFab = function () {\n // To add 'e-btn' class\n this.element.classList.add('e-' + _super.prototype.getModuleName.call(this));\n this.checkTarget();\n this.setPosition();\n this.setVisibility();\n EventHandler.add(window, 'resize', this.resizeHandler, this);\n };\n Fab.prototype.checkTarget = function () {\n this.isFixed = true;\n if (this.target) {\n this.targetEle = (typeof this.target === 'string') ? select(this.target) : this.target;\n if (this.targetEle) {\n this.isFixed = false;\n this.targetEle.appendChild(this.element);\n }\n }\n this.element.classList[this.isFixed ? 'add' : 'remove'](FIXEDFAB);\n };\n Fab.prototype.setVisibility = function () {\n this.element.classList[this.visible ? 'remove' : 'add'](FABHIDDEN);\n };\n Fab.prototype.setPosition = function () {\n this.setVerticalPosition();\n this.setHorizontalPosition();\n };\n Fab.prototype.setVerticalPosition = function () {\n //Check for middle position and middle class and vertical distance atttribute.\n if (['MiddleLeft', 'MiddleRight', 'MiddleCenter'].indexOf(this.position) !== -1) {\n var yoffset = ((this.isFixed ? window.innerHeight : this.targetEle.clientHeight) - this.element.offsetHeight) / 2;\n this.element.style.setProperty(FABVERTDIST, yoffset + 'px');\n this.element.classList.add(FABMIDDLE);\n }\n //Check for bottom position and bottom class else add top class.\n this.element.classList.add((['BottomLeft', 'BottomCenter', 'BottomRight'].indexOf(this.position) !== -1) ? FABBOTTOM : FABTOP);\n };\n Fab.prototype.setHorizontalPosition = function () {\n //Check for center position and center class and horizontal distance atttribute.\n if (['TopCenter', 'BottomCenter', 'MiddleCenter'].indexOf(this.position) !== -1) {\n var xoffset = ((this.isFixed ? window.innerWidth : this.targetEle.clientWidth) - this.element.offsetWidth) / 2;\n this.element.style.setProperty(FABHORZDIST, xoffset + 'px');\n this.element.classList.add(FABCENTER);\n }\n var isRight = ['TopRight', 'MiddleRight', 'BottomRight'].indexOf(this.position) !== -1;\n this.element.classList.add((!(this.enableRtl || isRight) || (this.enableRtl && isRight)) ? FABLEFT : FABRIGHT);\n };\n Fab.prototype.clearPosition = function () {\n this.element.style.removeProperty(FABVERTDIST);\n this.element.classList.remove(FABTOP, FABBOTTOM, FABMIDDLE);\n this.clearHorizontalPosition();\n };\n Fab.prototype.clearHorizontalPosition = function () {\n this.element.style.removeProperty(FABHORZDIST);\n this.element.classList.remove(FABRIGHT, FABLEFT, FABCENTER);\n };\n /**\n * Refreshes the FAB position. You can call this method to re-position FAB when target is resized.\n *\n * @returns {void}\n */\n Fab.prototype.refreshPosition = function () {\n this.resizeHandler();\n };\n Fab.prototype.resizeHandler = function () {\n this.setPosition();\n };\n /**\n * Destroys the FAB instance.\n *\n * @returns {void}\n *\n */\n Fab.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n // To remove 'e-btn' class\n this.element.classList.remove('e-' + _super.prototype.getModuleName.call(this), FIXEDFAB);\n this.clearPosition();\n EventHandler.remove(window, 'resize', this.resizeHandler);\n };\n /**\n * Called internally if any of the property value changed.\n *\n * @param {FabModel} newProp - Specifies new properties\n * @param {FabModel} oldProp - Specifies old properties\n * @returns {void}\n * @private\n */\n Fab.prototype.onPropertyChanged = function (newProp, oldProp) {\n _super.prototype.onPropertyChanged.call(this, newProp, oldProp);\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'enableRtl':\n this.clearHorizontalPosition();\n this.setHorizontalPosition();\n break;\n case 'visible':\n this.setVisibility();\n break;\n case 'position':\n this.clearPosition();\n this.setPosition();\n break;\n case 'target':\n this.checkTarget();\n this.setPosition();\n break;\n }\n }\n };\n __decorate$5([\n Property('BottomRight')\n ], Fab.prototype, \"position\", void 0);\n __decorate$5([\n Property('')\n ], Fab.prototype, \"target\", void 0);\n __decorate$5([\n Property(true)\n ], Fab.prototype, \"visible\", void 0);\n __decorate$5([\n Property(true)\n ], Fab.prototype, \"isPrimary\", void 0);\n Fab = __decorate$5([\n NotifyPropertyChanges\n ], Fab);\n return Fab;\n}(Button));\n\n/**\n * Floating Action Button modules\n */\n\nvar __extends$6 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar topPosition = ['TopLeft', 'TopCenter', 'TopRight'];\nvar bottomPosition = ['BottomLeft', 'BottomCenter', 'BottomRight'];\nvar leftPosition = ['TopLeft', 'MiddleLeft', 'BottomLeft'];\nvar rightPosition = ['TopRight', 'MiddleRight', 'BottomRight'];\nvar SDHIDDEN = 'e-speeddial-hidden';\nvar FIXEDSD = 'e-speeddial-fixed';\nvar SPEEDDIAL = 'e-speeddial';\nvar RTLCLASS = 'e-rtl';\nvar HOVERSD = 'e-speeddial-hover-open';\nvar RADIALSD = 'e-speeddial-radial';\nvar LINEARSD = 'e-speeddial-linear';\nvar TEMPLATESD = 'e-speeddial-template';\nvar SDTEMPLATECONTAINER = 'e-speeddial-template-container';\nvar SDOVERLAY = 'e-speeddial-overlay';\nvar SDPOPUP = 'e-speeddial-popup';\nvar SDUL = 'e-speeddial-ul';\nvar SDLI = 'e-speeddial-li';\nvar SDACTIVELI = 'e-speeddial-li-active';\nvar SDLIICON = 'e-speeddial-li-icon';\nvar SDLITEXT = 'e-speeddial-li-text';\nvar SDLITEXTONLY = 'e-speeddial-text-li';\nvar DISABLED$2 = 'e-disabled';\nvar SDVERTICALBOTTOM = 'e-speeddial-vert-bottom';\nvar SDVERTICALRIGHT = 'e-speeddial-vert-right';\nvar SDHORIZONTALTOP = 'e-speeddial-horz-top';\nvar SDHORIZONTALLEFT = 'e-speeddial-horz-left';\nvar SDHORIZONTALRIGHT = 'e-speeddial-horz-right';\nvar SDOVERFLOW = 'e-speeddial-overflow';\nvar SDVERTOVERFLOW = 'e-speeddial-vert-overflow';\nvar SDHORZOVERFLOW = 'e-speeddial-horz-overflow';\nvar SDTOP = 'e-speeddial-top';\nvar SDBOTTOM = 'e-speeddial-bottom';\nvar SDRIGHT = 'e-speeddial-right';\nvar SDLEFT = 'e-speeddial-left';\nvar SDMIDDLE = 'e-speeddial-middle';\nvar SDCENTER = 'e-speeddial-center';\nvar SDTOPLEFT = 'e-speeddial-top-left';\nvar SDBOTTOMRIGHT = 'e-speeddial-bottom-right';\nvar SDTOPRIGHT = 'e-speeddial-top-right';\nvar SDBOTTOMLEFT = 'e-speeddial-bottom-left';\nvar SDVERTDIST = '--speeddialVertDist';\nvar SDHORZDIST = '--speeddialHorzDist';\nvar SDRADICALANGLE = '--speeddialRadialAngle';\nvar SDRADICALOFFSET = '--speeddialRadialOffset';\nvar SDRADICALMINHEIGHT = '--speeddialRadialMinHeight';\nvar SDRADICALMINWIDTH = '--speeddialRadialMinWidth';\nvar SDOVERFLOWLIMIT = '--speeddialOverflowLimit';\n/**\n * Defines the display mode of speed dial action items in SpeedDial\n */\nvar SpeedDialMode;\n(function (SpeedDialMode) {\n /**\n * SpeedDial items are displayed in linear order like list.\n */\n SpeedDialMode[\"Linear\"] = \"Linear\";\n /**\n * SpeedDial items are displayed like radial menu in radial direction (circular direction).\n */\n SpeedDialMode[\"Radial\"] = \"Radial\";\n})(SpeedDialMode || (SpeedDialMode = {}));\n/**\n * Defines the speed dial action items display direction when mode is Linear.\n */\nvar LinearDirection;\n(function (LinearDirection) {\n /**\n * Speed dial action items are displayed vertically above the button of Speed Dial.\n */\n LinearDirection[\"Up\"] = \"Up\";\n /**\n * Speed dial action items are displayed vertically below the button of Speed Dial.\n */\n LinearDirection[\"Down\"] = \"Down\";\n /**\n * Speed dial action items are displayed horizontally on the button's right side.\n */\n LinearDirection[\"Right\"] = \"Right\";\n /**\n * Speed dial action items are displayed horizontally on the button's left side.\n */\n LinearDirection[\"Left\"] = \"Left\";\n /**\n * Speed dial action items are displayed vertically above or below the button of Speed Dial based on the position.\n * If Position is TopRight, TopLeft, TopCenter, the items are displayed vertically below the button else above the button.\n */\n LinearDirection[\"Auto\"] = \"Auto\";\n})(LinearDirection || (LinearDirection = {}));\n/**\n * Defines the speed dial action items order, when mode is Radial.\n */\nvar RadialDirection;\n(function (RadialDirection) {\n /**\n * SpeedDial items are arranged in clockwise direction.\n */\n RadialDirection[\"Clockwise\"] = \"Clockwise\";\n /**\n * SpeedDial items are shown in anti-clockwise direction.\n */\n RadialDirection[\"AntiClockwise\"] = \"AntiClockwise\";\n /**\n * SpeedDial items are shown clockwise or anti-clockwise based on the position.\n */\n RadialDirection[\"Auto\"] = \"Auto\";\n})(RadialDirection || (RadialDirection = {}));\n/**\n * Defines the animation effect applied when open and close the speed dial items.\n */\nvar SpeedDialAnimationEffect;\n(function (SpeedDialAnimationEffect) {\n /**\n * SpeedDial open/close actions occur with the Fade animation effect.\n */\n SpeedDialAnimationEffect[\"Fade\"] = \"Fade\";\n /**\n * SpeedDial open/close actions occur with the FadeZoom animation effect.\n */\n SpeedDialAnimationEffect[\"FadeZoom\"] = \"FadeZoom\";\n /**\n * SpeedDial open/close actions occur with the FlipLeftDown animation effect.\n */\n SpeedDialAnimationEffect[\"FlipLeftDown\"] = \"FlipLeftDown\";\n /**\n * SpeedDial open/close actions occur with the FlipLeftUp animation effect.\n */\n SpeedDialAnimationEffect[\"FlipLeftUp\"] = \"FlipLeftUp\";\n /**\n * SpeedDial open/close actions occur with the FlipRightDown animation effect.\n */\n SpeedDialAnimationEffect[\"FlipRightDown\"] = \"FlipRightDown\";\n /**\n * SpeedDial open/close actions occur with the FlipRightUp animation effect.\n */\n SpeedDialAnimationEffect[\"FlipRightUp\"] = \"FlipRightUp\";\n /**\n * SpeedDial open/close actions occur with the FlipXDown animation effect.\n */\n SpeedDialAnimationEffect[\"FlipXDown\"] = \"FlipXDown\";\n /**\n * SpeedDial open/close actions occur with the FlipXUp animation effect.\n */\n SpeedDialAnimationEffect[\"FlipXUp\"] = \"FlipXUp\";\n /**\n * SpeedDial open/close actions occur with the FlipYLeft animation effect.\n */\n SpeedDialAnimationEffect[\"FlipYLeft\"] = \"FlipYLeft\";\n /**\n * SpeedDial open/close actions occur with the FlipYRight animation effect.\n */\n SpeedDialAnimationEffect[\"FlipYRight\"] = \"FlipYRight\";\n /**\n * SpeedDial open/close actions occur with the SlideBottom animation effect.\n */\n SpeedDialAnimationEffect[\"SlideBottom\"] = \"SlideBottom\";\n /**\n * SpeedDial open/close actions occur with the SlideLeft animation effect.\n */\n SpeedDialAnimationEffect[\"SlideLeft\"] = \"SlideLeft\";\n /**\n * SpeedDial open/close actions occur with the SlideRight animation effect.\n */\n SpeedDialAnimationEffect[\"SlideRight\"] = \"SlideRight\";\n /**\n * SpeedDial open/close actions occur with the SlideTop animation effect.\n */\n SpeedDialAnimationEffect[\"SlideTop\"] = \"SlideTop\";\n /**\n * SpeedDial open/close actions occur with the Zoom animation effect.\n */\n SpeedDialAnimationEffect[\"Zoom\"] = \"Zoom\";\n /**\n * SpeedDial open/close actions occur without any animation effect.\n */\n SpeedDialAnimationEffect[\"None\"] = \"None\";\n})(SpeedDialAnimationEffect || (SpeedDialAnimationEffect = {}));\n/**\n * AProvides options to customize the animation applied while opening and closing the popup of SpeedDial.\n */\nvar SpeedDialAnimationSettings = /** @__PURE__ @class */ (function (_super) {\n __extends$6(SpeedDialAnimationSettings, _super);\n function SpeedDialAnimationSettings() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n __decorate$6([\n Property('Fade')\n ], SpeedDialAnimationSettings.prototype, \"effect\", void 0);\n __decorate$6([\n Property(400)\n ], SpeedDialAnimationSettings.prototype, \"duration\", void 0);\n __decorate$6([\n Property(0)\n ], SpeedDialAnimationSettings.prototype, \"delay\", void 0);\n return SpeedDialAnimationSettings;\n}(ChildProperty));\n/**\n * Provides the options to customize the speed dial action buttons when mode of SpeedDial is Radial.\n */\nvar RadialSettings = /** @__PURE__ @class */ (function (_super) {\n __extends$6(RadialSettings, _super);\n function RadialSettings() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n __decorate$6([\n Property('Auto')\n ], RadialSettings.prototype, \"direction\", void 0);\n __decorate$6([\n Property(-1)\n ], RadialSettings.prototype, \"endAngle\", void 0);\n __decorate$6([\n Property('100px')\n ], RadialSettings.prototype, \"offset\", void 0);\n __decorate$6([\n Property(-1)\n ], RadialSettings.prototype, \"startAngle\", void 0);\n return RadialSettings;\n}(ChildProperty));\n/**\n * Defines the items of Floating Action Button.\n */\nvar SpeedDialItem = /** @__PURE__ @class */ (function (_super) {\n __extends$6(SpeedDialItem, _super);\n function SpeedDialItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n __decorate$6([\n Property('')\n ], SpeedDialItem.prototype, \"iconCss\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDialItem.prototype, \"id\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDialItem.prototype, \"text\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDialItem.prototype, \"title\", void 0);\n __decorate$6([\n Property(false)\n ], SpeedDialItem.prototype, \"disabled\", void 0);\n return SpeedDialItem;\n}(ChildProperty));\n/**\n * The SpeedDial component that appears in front of all the contents of the page and displays list of action buttons on click which is an extended version of FAB.\n * The button of speed dial is positioned in relative to a view port of browser or the .\n * It can display a menu of related actions or a custom content popupTemplate>.\n *\n */\nvar SpeedDial = /** @__PURE__ @class */ (function (_super) {\n __extends$6(SpeedDial, _super);\n /**\n * Constructor for creating the widget\n *\n * @param {SpeedDialModel} options - Specifies the floating action button model\n * @param {string|HTMLButtonElement} element - Specifies the target element\n */\n function SpeedDial(options, element) {\n var _this = _super.call(this, options, element) || this;\n _this.isMenuOpen = false;\n _this.isClock = true;\n _this.isVertical = true;\n _this.isControl = false;\n _this.focusedIndex = -1;\n return _this;\n }\n /**\n * Initialize the control rendering\n *\n * @returns {void}\n * @private\n */\n SpeedDial.prototype.render = function () {\n this.initialize();\n };\n SpeedDial.prototype.preRender = function () {\n this.keyConfigs = {\n space: 'space',\n enter: 'enter',\n end: 'end',\n home: 'home',\n moveDown: 'downarrow',\n moveLeft: 'leftarrow',\n moveRight: 'rightarrow',\n moveUp: 'uparrow',\n esc: 'escape'\n };\n this.validateDirection();\n };\n /**\n * Get the properties to be maintained in the persisted state.\n *\n * @returns {string} - Persist data\n */\n SpeedDial.prototype.getPersistData = function () {\n return this.addOnPersist([]);\n };\n /**\n * Get component name.\n *\n * @returns {string} - Module name\n * @private\n */\n SpeedDial.prototype.getModuleName = function () {\n return 'speed-dial';\n };\n SpeedDial.prototype.initialize = function () {\n if (!this.element.id) {\n this.element.id = getUniqueID('e-' + this.getModuleName());\n }\n this.fab = new Fab({\n content: this.content,\n cssClass: this.cssClass ? (SPEEDDIAL + ' ' + this.cssClass) : SPEEDDIAL,\n disabled: this.disabled,\n enablePersistence: this.enablePersistence,\n enableRtl: this.enableRtl,\n iconCss: this.openIconCss,\n iconPosition: this.iconPosition,\n position: this.position,\n target: this.target,\n visible: this.visible,\n isPrimary: this.isPrimary\n });\n this.fab.appendTo(this.element);\n if ((this.items.length > 0) || this.popupTemplate) {\n this.createPopup();\n }\n this.wireEvents();\n };\n SpeedDial.prototype.wireEvents = function () {\n EventHandler.add(window, 'resize', this.resizeHandler, this);\n EventHandler.add(document.body, 'click', this.bodyClickHandler, this);\n if (this.opensOnHover) {\n this.wireFabHover();\n }\n else {\n this.wireFabClick();\n }\n };\n SpeedDial.prototype.wirePopupEvents = function () {\n this.removeRippleEffect = rippleEffect(this.popupEle, { selector: '.' + SDLIICON });\n this.keyboardModule = new KeyboardEvents(this.element, {\n keyAction: this.keyActionHandler.bind(this),\n keyConfigs: this.keyConfigs,\n eventName: 'keydown'\n });\n this.popupKeyboardModule = new KeyboardEvents(this.popupEle, {\n keyAction: this.popupKeyActionHandler.bind(this),\n keyConfigs: { esc: 'escape' },\n eventName: 'keydown'\n });\n EventHandler.add(this.popupEle, 'click', this.popupClick, this);\n EventHandler.add(this.popupEle, 'mouseleave', this.popupMouseLeaveHandle, this);\n };\n SpeedDial.prototype.wireFabClick = function () {\n EventHandler.add(this.fab.element, 'click', this.fabClick, this);\n };\n SpeedDial.prototype.wireFabHover = function () {\n this.popupEle.classList.add(HOVERSD);\n EventHandler.add(this.fab.element, 'mouseover', this.mouseOverHandle, this);\n EventHandler.add(this.element, 'mouseleave', this.mouseLeaveHandle, this);\n };\n SpeedDial.prototype.createPopup = function () {\n var className = SDPOPUP + ' ' + SDHIDDEN;\n className = this.enableRtl ? className + ' ' + RTLCLASS : className;\n className = this.cssClass ? className + ' ' + this.cssClass : className;\n this.popupEle = this.createElement('div', {\n className: className,\n id: this.element.id + '_popup'\n });\n this.element.insertAdjacentElement('afterend', this.popupEle);\n attributes(this.element, { 'aria-expanded': 'false', 'aria-haspopup': 'true', 'aria-controls': this.popupEle.id });\n this.setPopupContent();\n if (this.modal) {\n this.createOverlay();\n }\n this.checkTarget();\n this.setPositionProps();\n this.wirePopupEvents();\n };\n SpeedDial.prototype.createOverlay = function () {\n this.overlayEle = this.createElement('div', {\n id: this.element.id + '_overlay',\n className: (SDOVERLAY + (this.isMenuOpen ? '' : ' ' + SDHIDDEN) + ' ' + this.cssClass).trim()\n });\n this.element.insertAdjacentElement('beforebegin', this.overlayEle);\n };\n SpeedDial.prototype.popupClick = function () {\n this.isControl = true;\n };\n //Checks and closes the speed dial if the click happened outside this speed dial.\n SpeedDial.prototype.bodyClickHandler = function (e) {\n if (this.isControl) {\n this.isControl = false;\n return;\n }\n if (this.isMenuOpen) {\n this.hidePopupEle(e);\n }\n };\n SpeedDial.prototype.fabClick = function (e) {\n this.isControl = true;\n if (this.isMenuOpen) {\n this.hidePopupEle(e);\n }\n else {\n this.showPopupEle(e);\n }\n };\n SpeedDial.prototype.setPopupContent = function () {\n this.popupEle.classList.remove(RADIALSD, LINEARSD, TEMPLATESD);\n if (!this.popupTemplate) {\n this.popupEle.classList.add((this.mode === 'Radial') ? RADIALSD : LINEARSD);\n this.createUl();\n this.createItems();\n }\n else {\n this.popupEle.classList.add(TEMPLATESD);\n this.appendTemplate();\n }\n this.renderReactTemplates();\n };\n SpeedDial.prototype.appendTemplate = function () {\n var templateContainer = this.createElement('div', { className: SDTEMPLATECONTAINER });\n append([templateContainer], this.popupEle);\n var templateFunction = this.getTemplateString(this.popupTemplate);\n append(templateFunction({}, this, 'fabPopupTemplate', (this.element.id + 'popupTemplate'), this.isStringTemplate), templateContainer);\n };\n SpeedDial.prototype.getTemplateString = function (template) {\n var stringContent = '';\n try {\n var tempEle = select(template);\n if (typeof template !== 'function' && tempEle) {\n //Return innerHTML incase of jsrenderer script else outerHTML\n stringContent = tempEle.tagName === 'SCRIPT' ? tempEle.innerHTML : tempEle.outerHTML;\n }\n else {\n stringContent = template;\n }\n }\n catch (e) {\n stringContent = template;\n }\n return compile(stringContent);\n };\n SpeedDial.prototype.updatePopupTemplate = function () {\n if (this.popupEle) {\n if (this.popupEle.querySelector('.' + SDLI)) {\n this.clearItems();\n this.popupEle.classList.remove(RADIALSD, LINEARSD);\n this.popupEle.classList.add(TEMPLATESD);\n }\n while (this.popupEle.firstElementChild) {\n remove(this.popupEle.firstElementChild);\n }\n this.setPopupContent();\n this.updatePositionProperties();\n }\n else {\n this.createPopup();\n }\n };\n SpeedDial.prototype.createUl = function () {\n var popupUlEle = this.createElement('ul', {\n className: SDUL,\n id: this.element.id + '_ul',\n attrs: { 'role': 'menu' }\n });\n this.popupEle.appendChild(popupUlEle);\n };\n SpeedDial.prototype.createItems = function () {\n var _this = this;\n this.focusedIndex = -1;\n var ul = this.popupEle.querySelector('.' + SDUL);\n var _loop_1 = function (index) {\n var item = this_1.items[parseInt(index.toString(), 10)];\n var li = this_1.createElement('li', {\n className: SDLI + ' ' + SDHIDDEN,\n id: item.id ? item.id : (this_1.element.id + '_li_' + index),\n attrs: { 'role': 'menuitem' }\n });\n if (item.text) {\n li.setAttribute('aria-label', item.text);\n }\n if (this_1.itemTemplate) {\n var templateFunction = this_1.getTemplateString(this_1.itemTemplate);\n append(templateFunction(item, this_1, 'fabItemTemplate', (this_1.element.id + 'itemTemplate'), this_1.isStringTemplate), li);\n }\n else {\n if (item.iconCss) {\n var iconSpan = this_1.createElement('span', {\n className: SDLIICON + ' ' + item.iconCss\n });\n li.appendChild(iconSpan);\n }\n if (item.text) {\n var textSpan = this_1.createElement('span', {\n className: SDLITEXT\n });\n textSpan.innerText = item.text;\n li.appendChild(textSpan);\n if (!item.iconCss) {\n li.classList.add(SDLITEXTONLY);\n }\n }\n }\n if (item.disabled) {\n li.classList.add(DISABLED$2);\n li.setAttribute('aria-disabled', 'true');\n }\n else {\n EventHandler.add(li, 'click', function (e) { return _this.triggerItemClick(e, item); }, this_1);\n }\n if (item.title) {\n li.setAttribute('title', item.title);\n }\n var eventArgs = { element: li, item: item };\n this_1.trigger('beforeItemRender', eventArgs, function (args) {\n ul.appendChild(args.element);\n });\n };\n var this_1 = this;\n for (var index = 0; index < this.items.length; index++) {\n _loop_1(index);\n }\n };\n SpeedDial.prototype.setRTL = function () {\n this.popupEle.classList[this.enableRtl ? 'add' : 'remove'](RTLCLASS);\n this.clearHorizontalPosition();\n if (!(this.popupTemplate || (this.mode === 'Radial'))) {\n this.setLinearHorizontalPosition();\n }\n else {\n this.setHorizontalPosition();\n }\n };\n SpeedDial.prototype.checkTarget = function () {\n this.isFixed = true;\n if (this.target) {\n this.targetEle = (typeof this.target === 'string') ? select(this.target) : this.target;\n if (this.targetEle) {\n this.targetEle.appendChild(this.element);\n this.isFixed = false;\n }\n }\n if (this.isFixed) {\n if (this.popupEle) {\n this.popupEle.classList.add(FIXEDSD);\n }\n if (this.overlayEle) {\n this.overlayEle.classList.add(FIXEDSD);\n }\n }\n else {\n if (this.popupEle) {\n this.popupEle.classList.remove(FIXEDSD);\n }\n if (this.overlayEle) {\n this.overlayEle.classList.remove(FIXEDSD);\n }\n }\n };\n SpeedDial.prototype.setVisibility = function (val) {\n this.setProperties({ visible: val }, true);\n this.fab.setProperties({ visible: val });\n };\n SpeedDial.prototype.popupMouseLeaveHandle = function (e) {\n var target = e.relatedTarget;\n if (this.opensOnHover && !(target.classList.contains(SPEEDDIAL) || closest(target, '.' + SPEEDDIAL))) {\n this.hidePopupEle(e);\n }\n };\n SpeedDial.prototype.mouseOverHandle = function (e) {\n this.showPopupEle(e);\n };\n SpeedDial.prototype.mouseLeaveHandle = function (e) {\n var target = e.relatedTarget;\n if (!(target.classList.contains(SDPOPUP) || closest(target, '.' + SDPOPUP))) {\n this.hidePopupEle(e);\n }\n };\n SpeedDial.prototype.popupKeyActionHandler = function (e) {\n switch (e.action) {\n case 'esc':\n this.hidePopupEle(e);\n break;\n }\n };\n SpeedDial.prototype.keyActionHandler = function (e) {\n e.preventDefault();\n switch (e.action) {\n case 'enter':\n case 'space':\n if (this.isMenuOpen) {\n if (this.focusedIndex !== -1) {\n this.triggerItemClick(e, this.items[this.focusedIndex]);\n }\n else {\n this.hidePopupEle(e);\n }\n }\n else {\n this.showPopupEle(e);\n }\n break;\n case 'esc':\n this.hidePopupEle(e);\n break;\n default:\n if (this.popupTemplate || !this.isMenuOpen) {\n break;\n }\n switch (e.action) {\n case 'end':\n this.focusLastElement();\n break;\n case 'home':\n this.focusFirstElement();\n break;\n case 'moveRight':\n if (this.mode === 'Radial') {\n this.focusLeftRightElement(false);\n }\n else {\n this.focusLinearElement(false);\n }\n break;\n case 'moveDown':\n if (this.mode === 'Radial') {\n this.focusUpDownElement(false);\n }\n else {\n this.focusLinearElement(false);\n }\n break;\n case 'moveLeft':\n if (this.mode === 'Radial') {\n this.focusLeftRightElement(true);\n }\n else {\n this.focusLinearElement(true);\n }\n break;\n case 'moveUp':\n if (this.mode === 'Radial') {\n this.focusUpDownElement(true);\n }\n else {\n this.focusLinearElement(true);\n }\n break;\n }\n break;\n }\n };\n SpeedDial.prototype.focusFirstElement = function () {\n var ele = selectAll('.' + SDLI, this.popupEle);\n var index = 0;\n while (ele[parseInt(index.toString(), 10)].classList.contains(DISABLED$2)) {\n index++;\n if (index > (ele.length - 1)) {\n return;\n }\n }\n this.setFocus(index, ele[parseInt(index.toString(), 10)]);\n };\n SpeedDial.prototype.focusLastElement = function () {\n var ele = selectAll('.' + SDLI, this.popupEle);\n var index = ele.length - 1;\n while (ele[parseInt(index.toString(), 10)].classList.contains(DISABLED$2)) {\n index--;\n if (index < 0) {\n return;\n }\n }\n this.setFocus(index, ele[parseInt(index.toString(), 10)]);\n };\n /*Linear*/\n SpeedDial.prototype.focusLinearElement = function (isLeftUp) {\n var isReversed = this.popupEle.classList.contains(SDVERTICALBOTTOM) ||\n this.popupEle.classList.contains(SDHORIZONTALRIGHT);\n /* Elements will be in reverse (RTL) order for these classes are present.\n Reversed and Down or right is previous.\n Not reversed and Up or left is previous.\n ((isReversed && !isLeftUp)||(!isReversed && isLeftUp)) ==> isReversed!==isLeftUp */\n if (isReversed !== isLeftUp) {\n this.focusPrevElement();\n }\n else {\n this.focusNextElement();\n }\n };\n /*Radial*/\n SpeedDial.prototype.focusLeftRightElement = function (isLeft) {\n /*radialTop position and left + anticlock or right + clock is previous\n other positions and right + anticlock or left + clock is previous\n ((isLeft && !this.isClock)||(!isLeft && this.isClock)) ==> isLeft!==this.isClock */\n var isradialTop = ['TopLeft', 'TopCenter', 'TopRight', 'MiddleLeft'].indexOf(this.position) !== -1;\n if ((isradialTop && (isLeft !== this.isClock)) || (!isradialTop && (isLeft === this.isClock))) {\n this.focusPrevElement();\n }\n else {\n this.focusNextElement();\n }\n };\n /*Radial*/\n SpeedDial.prototype.focusUpDownElement = function (isUp) {\n /*radialRight position and up + anticlock or down + clock is previous\n other positions and down + anticlock or up + clock is previous\n ((isUp && !this.isClock)||(!isUp && this.isClock)) ==> isUp!==this.isClock */\n var isradialRight = ['TopRight', 'MiddleRight', 'BottomRight', 'BottomCenter'].indexOf(this.position) !== -1;\n if ((isradialRight && (isUp !== this.isClock)) || (!isradialRight && (isUp === this.isClock))) {\n this.focusPrevElement();\n }\n else {\n this.focusNextElement();\n }\n };\n SpeedDial.prototype.focusPrevElement = function () {\n var ele = selectAll('.' + SDLI, this.popupEle);\n var index = this.focusedIndex;\n do {\n index--;\n if (index < 0) {\n this.setFocus(-1);\n return;\n }\n } while (ele[parseInt(index.toString(), 10)].classList.contains(DISABLED$2));\n this.setFocus(index, ele[parseInt(index.toString(), 10)]);\n };\n SpeedDial.prototype.focusNextElement = function () {\n var ele = selectAll('.' + SDLI, this.popupEle);\n var index = this.focusedIndex;\n do {\n index++;\n if (index > (ele.length - 1)) {\n return;\n }\n } while (ele[parseInt(index.toString(), 10)].classList.contains(DISABLED$2));\n this.setFocus(index, ele[parseInt(index.toString(), 10)]);\n };\n SpeedDial.prototype.setFocus = function (index, ele) {\n this.removeFocus();\n if (ele) {\n ele.classList.add(SDACTIVELI);\n }\n this.focusedIndex = index;\n };\n SpeedDial.prototype.removeFocus = function () {\n var preEle = select('.' + SDACTIVELI, this.popupEle);\n if (preEle) {\n preEle.classList.remove(SDACTIVELI);\n }\n };\n SpeedDial.prototype.updatePositionProperties = function () {\n this.hidePopupEle();\n this.clearPosition();\n this.validateDirection();\n this.setPositionProps();\n };\n SpeedDial.prototype.setPositionProps = function () {\n if (this.popupTemplate) {\n this.setPosition();\n }\n else if ((this.mode === 'Radial')) {\n this.setRadialPosition();\n this.setPosition();\n }\n else {\n this.setLinearPosition();\n this.setMaxSize();\n }\n };\n SpeedDial.prototype.validateDirection = function () {\n switch (this.direction) {\n case 'Up':\n this.actualLinDirection = (topPosition.indexOf(this.position) !== -1) ? 'Auto' : 'Up';\n break;\n case 'Down':\n this.actualLinDirection = (bottomPosition.indexOf(this.position) !== -1) ? 'Auto' : 'Down';\n break;\n case 'Right':\n this.actualLinDirection = (rightPosition.indexOf(this.position) !== -1) ? 'Auto' : 'Right';\n break;\n case 'Left':\n this.actualLinDirection = (leftPosition.indexOf(this.position) !== -1) ? 'Auto' : 'Left';\n break;\n case 'Auto':\n default:\n this.actualLinDirection = 'Auto';\n break;\n }\n this.isVertical = !((this.actualLinDirection === 'Left') || (this.actualLinDirection === 'Right'));\n };\n SpeedDial.prototype.setMaxSize = function () {\n var top = this.element.offsetTop;\n var left = this.element.offsetLeft;\n var bottom = (this.isFixed ? window.innerHeight : this.targetEle.clientHeight) -\n this.element.offsetTop - this.element.offsetHeight;\n var right = (this.isFixed ? window.innerWidth : this.targetEle.clientWidth) -\n this.element.offsetLeft - this.element.offsetWidth;\n var limit = 0;\n var popupUlEle = this.popupEle.querySelector('.' + SDUL);\n if (this.isVertical) {\n limit = ((this.actualLinDirection === 'Up') || ((this.actualLinDirection === 'Auto') && (topPosition.indexOf(this.position) === -1))) ? top : bottom;\n if (limit < popupUlEle.offsetHeight) {\n this.popupEle.classList.add(SDOVERFLOW, SDVERTOVERFLOW);\n popupUlEle.style.setProperty(SDOVERFLOWLIMIT, limit + 'px');\n }\n }\n else {\n limit = (this.direction === 'Right') ? right : left;\n if (limit < popupUlEle.offsetWidth) {\n this.popupEle.classList.add(SDOVERFLOW, SDHORZOVERFLOW);\n popupUlEle.style.setProperty(SDOVERFLOWLIMIT, limit + 'px');\n }\n }\n };\n SpeedDial.prototype.setLinearPosition = function () {\n var vertDist = 0;\n //Check whether the position value should be in top\n var isTop = (this.actualLinDirection === 'Down') || ((this.actualLinDirection === 'Auto') && (topPosition.indexOf(this.position) !== -1)) ||\n (!this.isVertical && (bottomPosition.indexOf(this.position) === -1));\n if (isTop) {\n vertDist = this.element.offsetTop + (this.isVertical ? this.element.offsetHeight : 0);\n if (!this.isVertical) {\n this.popupEle.classList.add(SDHORIZONTALTOP);\n }\n }\n else {\n vertDist = this.isFixed ? window.innerHeight : this.targetEle.clientHeight;\n vertDist = (vertDist - this.element.offsetTop - (this.isVertical ? 0 : this.element.offsetHeight));\n if (this.isVertical) {\n this.popupEle.classList.add(SDVERTICALBOTTOM);\n }\n }\n this.popupEle.classList.add(isTop ? SDTOP : SDBOTTOM);\n this.popupEle.style.setProperty(SDVERTDIST, vertDist + 'px');\n this.setLinearHorizontalPosition();\n };\n SpeedDial.prototype.setLinearHorizontalPosition = function () {\n //Check whether the position value should be in left\n if ((this.actualLinDirection === 'Right') || (this.isVertical && (rightPosition.indexOf(this.position) === -1))) {\n if (this.enableRtl) {\n this.setRight();\n }\n else {\n this.setLeft();\n } //reverse the direction when RTL enabled\n if (!this.isVertical) {\n this.popupEle.classList.add(SDHORIZONTALLEFT);\n }\n }\n else {\n if (this.enableRtl) {\n this.setLeft();\n }\n else {\n this.setRight();\n } //reverse the direction when RTL enabled\n this.popupEle.classList.add(this.isVertical ? SDVERTICALRIGHT : SDHORIZONTALRIGHT);\n }\n };\n SpeedDial.prototype.setLeft = function () {\n var horzDist = this.element.offsetLeft + (this.isVertical ? 0 : this.element.offsetWidth);\n this.popupEle.style.setProperty(SDHORZDIST, horzDist + 'px');\n this.popupEle.classList.add(SDLEFT);\n };\n SpeedDial.prototype.setRight = function () {\n var horzDist = this.isFixed ? window.innerWidth : this.targetEle.clientWidth;\n horzDist = (horzDist - this.element.offsetLeft - (this.isVertical ? this.element.offsetWidth : 0));\n this.popupEle.style.setProperty(SDHORZDIST, horzDist + 'px');\n this.popupEle.classList.add(SDRIGHT);\n };\n SpeedDial.prototype.setPosition = function () {\n //Check for middle Position\n if (['MiddleLeft', 'MiddleRight', 'MiddleCenter'].indexOf(this.position) !== -1) {\n this.popupEle.classList.add(SDMIDDLE);\n var yoffset = ((this.isFixed ? window.innerHeight : this.targetEle.clientHeight) - this.popupEle.offsetHeight) / 2;\n this.popupEle.style.setProperty(SDVERTDIST, yoffset + 'px');\n }\n this.popupEle.classList.add((bottomPosition.indexOf(this.position) === -1) ? SDTOP : SDBOTTOM);\n this.setHorizontalPosition();\n };\n SpeedDial.prototype.setHorizontalPosition = function () {\n //Check for Center Position\n if (['TopCenter', 'BottomCenter', 'MiddleCenter'].indexOf(this.position) !== -1) {\n this.popupEle.classList.add(SDCENTER);\n var xoffset = ((this.isFixed ? window.innerWidth : this.targetEle.clientWidth) - this.popupEle.offsetWidth) / 2;\n this.popupEle.style.setProperty(SDHORZDIST, xoffset + 'px');\n }\n var isRight = rightPosition.indexOf(this.position) !== -1;\n this.popupEle.classList.add((!(this.enableRtl || isRight) || (this.enableRtl && isRight)) ? SDLEFT : SDRIGHT);\n };\n SpeedDial.prototype.setRadialPosition = function () {\n this.setRadialCorner();\n var range = this.getActualRange();\n this.isClock = range.direction === 'Clockwise';\n var offset = formatUnit(range.offset);\n var li = selectAll('.' + SDLI, this.popupEle);\n this.popupEle.style.setProperty(SDRADICALOFFSET, offset);\n this.popupEle.style.setProperty(SDRADICALMINHEIGHT, li[0].offsetHeight + 'px');\n this.popupEle.style.setProperty(SDRADICALMINWIDTH, li[0].offsetWidth + 'px');\n var availableAngle = Math.abs(range.endAngle - range.startAngle);\n //Start and end will be same for Middle Center position, hence available angle will 0 or 360.\n var gaps = ((availableAngle === 360) || (availableAngle === 0)) ? li.length : li.length - 1;\n var perAngle = availableAngle / gaps;\n for (var i = 0; i < li.length; i++) {\n var ele = li[parseInt(i.toString(), 10)];\n var angle = this.isClock ? (range.startAngle + (perAngle * i)) : (range.startAngle - (perAngle * i));\n angle = angle % 360; // removing the Zerp crossing changes.\n ele.style.setProperty(SDRADICALANGLE, angle + 'deg');\n }\n };\n SpeedDial.prototype.setRadialCorner = function () {\n //topLeftPosition\n if (['TopLeft', 'TopCenter', 'MiddleLeft', 'MiddleCenter'].indexOf(this.position) !== -1) {\n this.popupEle.classList.add(this.enableRtl ? SDTOPRIGHT : SDTOPLEFT);\n }\n //topRightPosition\n if (['TopRight', 'TopCenter', 'MiddleRight', 'MiddleCenter'].indexOf(this.position) !== -1) {\n this.popupEle.classList.add(this.enableRtl ? SDTOPLEFT : SDTOPRIGHT);\n }\n //bottpmLeftPosition\n if (['BottomLeft', 'BottomCenter', 'MiddleLeft', 'MiddleCenter'].indexOf(this.position) !== -1) {\n this.popupEle.classList.add(this.enableRtl ? SDBOTTOMRIGHT : SDBOTTOMLEFT);\n }\n //bottomRightPosition\n if (['BottomRight', 'BottomCenter', 'MiddleRight', 'MiddleCenter'].indexOf(this.position) !== -1) {\n this.popupEle.classList.add(this.enableRtl ? SDBOTTOMLEFT : SDBOTTOMRIGHT);\n }\n };\n // 0,360 is at right, 90 is at Bottom, 180 is at left, 270 is at top\n SpeedDial.prototype.getActualRange = function () {\n var range = { offset: this.radialSettings.offset };\n var start = this.radialSettings.startAngle;\n var end = this.radialSettings.endAngle;\n var isClockwise;\n switch (this.position) {\n case 'TopLeft':\n case 'TopRight':\n // Switch Left and Right for RTL mode.\n if (('TopLeft' === this.position) !== this.enableRtl) {\n //TopLeft\n isClockwise = this.radialSettings.direction === 'Clockwise';\n this.checkAngleRange(start, end, range, isClockwise, 0, 90, false);\n }\n else {\n //TopRight\n isClockwise = this.radialSettings.direction !== 'AntiClockwise';\n this.checkAngleRange(start, end, range, isClockwise, 90, 180, false);\n }\n break;\n case 'TopCenter':\n isClockwise = this.radialSettings.direction === 'Clockwise';\n this.checkAngleRange(start, end, range, isClockwise, 0, 180, false);\n break;\n case 'MiddleLeft':\n case 'MiddleRight':\n // Switch Left and Right for RTL mode.\n if (('MiddleLeft' === this.position) !== this.enableRtl) {\n //MiddleLeft\n isClockwise = this.radialSettings.direction === 'Clockwise';\n /**Replace the value if not defined or greater than 360 or less than 0 or between 91 and 269*/\n start = (isNullOrUndefined(start) || (start < 0) || (start > 360) || ((start > 90) && (start < 270))) ?\n (isClockwise ? 270 : 90) : start;\n end = (isNullOrUndefined(end) || (end < 0) || (end > 360) || ((end > 90) && (end < 270))) ?\n (isClockwise ? 90 : 270) : end;\n /**update for Zero Crossing */\n start = start < 91 ? start + 360 : start;\n end = end < 91 ? end + 360 : end;\n var switchVal = (isClockwise && (end < start)) || (!isClockwise && (end > start));\n range.startAngle = switchVal ? end : start;\n range.endAngle = switchVal ? start : end;\n }\n else {\n //MiddleRight\n isClockwise = this.radialSettings.direction !== 'AntiClockwise';\n this.checkAngleRange(start, end, range, isClockwise, 90, 270, false);\n }\n break;\n case 'MiddleCenter':\n isClockwise = this.radialSettings.direction !== 'AntiClockwise';\n /**Replace the value if not defined or greater than 360 or less than 0 */\n start = (isNullOrUndefined(start) || (start < 0) || (start > 360)) ? (isClockwise ? 0 : 360) : start;\n end = (isNullOrUndefined(end) || (end < 0) || (end > 360)) ? (isClockwise ? 360 : 0) : end;\n /**update for Zero Crossing */\n range.startAngle = (!isClockwise && (start <= end)) ? (start + 360) : start;\n range.endAngle = (isClockwise && (end <= start)) ? (end + 360) : end;\n break;\n case 'BottomLeft':\n case 'BottomRight':\n // Switch Left and Right for RTL mode.\n if (('BottomLeft' === this.position) !== this.enableRtl) {\n //BottomLeft\n isClockwise = this.radialSettings.direction === 'Clockwise';\n this.checkAngleRange(start, end, range, isClockwise, 270, 360, true);\n }\n else {\n //BottomRight\n isClockwise = this.radialSettings.direction !== 'AntiClockwise';\n this.checkAngleRange(start, end, range, isClockwise, 180, 270, true);\n }\n break;\n case 'BottomCenter':\n isClockwise = this.radialSettings.direction !== 'AntiClockwise';\n this.checkAngleRange(start, end, range, isClockwise, 180, 360, true);\n break;\n }\n range.direction = isClockwise ? 'Clockwise' : 'AntiClockwise';\n return range;\n };\n SpeedDial.prototype.checkAngleRange = function (start, end, range, isClockwise, min, max, check0) {\n start = this.checkAngle(start, isClockwise, min, max, check0);\n end = this.checkAngle(end, !isClockwise, min, max, check0);\n /**Switch the values if both are values are in the range but not as per direction*/\n var switchVal = (isClockwise && (end < start)) || (!isClockwise && (end > start));\n range.startAngle = switchVal ? end : start;\n range.endAngle = switchVal ? start : end;\n };\n SpeedDial.prototype.checkAngle = function (val, isStart, min, max, check0) {\n if (isNullOrUndefined(val) || (val < 0) || (val > 360)) {\n return isStart ? min : max;\n }\n else {\n val = check0 ? ((val === 0) ? 360 : val) : ((val === 360) ? 0 : val);\n /**check whether the value is in the range if not replace them */\n return ((val >= min) && (val <= max)) ? val : isStart ? min : max;\n }\n };\n SpeedDial.prototype.clearPosition = function () {\n this.popupEle.style.removeProperty(SDRADICALOFFSET);\n this.popupEle.style.removeProperty(SDRADICALMINHEIGHT);\n this.popupEle.style.removeProperty(SDRADICALMINWIDTH);\n this.popupEle.classList.remove(SDTOPLEFT, SDTOPRIGHT, SDBOTTOMLEFT, SDBOTTOMRIGHT);\n this.popupEle.classList.remove(SDTOP, SDBOTTOM, SDMIDDLE);\n this.popupEle.classList.remove(SDHORIZONTALTOP, SDVERTICALBOTTOM);\n this.popupEle.style.removeProperty(SDVERTDIST);\n this.clearHorizontalPosition();\n this.clearOverflow();\n };\n SpeedDial.prototype.clearHorizontalPosition = function () {\n this.popupEle.style.removeProperty(SDHORZDIST);\n this.popupEle.classList.remove(SDRIGHT, SDLEFT, SDCENTER);\n this.popupEle.classList.remove(SDVERTICALRIGHT, SDHORIZONTALLEFT, SDHORIZONTALRIGHT);\n };\n SpeedDial.prototype.clearOverflow = function () {\n this.popupEle.classList.remove(SDOVERFLOW, SDVERTOVERFLOW, SDHORZOVERFLOW);\n this.popupEle.style.removeProperty(SDOVERFLOWLIMIT);\n };\n SpeedDial.prototype.hidePopupEle = function (e) {\n var _this = this;\n if (!this.popupEle || !this.isMenuOpen) {\n return;\n }\n var eventArgs = { element: this.popupEle, event: e, cancel: false };\n this.trigger('beforeClose', eventArgs, function (args) {\n if (args.cancel) {\n return;\n }\n if (_this.animation.effect !== 'None') {\n var closeAnimation_1 = {\n name: (_this.animation.effect + 'Out'),\n timingFunction: 'easeOut'\n };\n var eleArray_1 = _this.popupTemplate ? [_this.popupEle.firstElementChild] : selectAll('.' + SDLI, _this.popupEle);\n var timeOutInterval_1 = _this.animation.duration / (eleArray_1.length + 1);\n closeAnimation_1.duration = 2 * timeOutInterval_1;\n /* To keep the animation smooth, start the animation of the second element when animation first element is half completed */\n var animateElement_1 = function (curIndex) {\n var ele = eleArray_1[parseInt(curIndex.toString(), 10)];\n closeAnimation_1.delay = (curIndex === eleArray_1.length - 1) ? _this.animation.delay : 0;\n closeAnimation_1.begin = function () { if (curIndex === eleArray_1.length - 1) {\n _this.startHide();\n } };\n closeAnimation_1.end = function () {\n ele.classList.add(SDHIDDEN);\n if (curIndex === 0) {\n _this.endHide();\n }\n };\n new Animation(closeAnimation_1).animate(ele);\n if (curIndex !== 0) {\n var index_1 = curIndex - 1;\n setTimeout(function () {\n animateElement_1(index_1);\n }, timeOutInterval_1);\n }\n };\n animateElement_1(eleArray_1.length - 1);\n }\n else {\n _this.startHide();\n if (!_this.popupTemplate) {\n var ele = selectAll('.' + SDLI, _this.popupEle);\n ele.forEach(function (element) { element.classList.add(SDHIDDEN); });\n }\n _this.endHide();\n }\n });\n };\n SpeedDial.prototype.startHide = function () {\n this.element.setAttribute('aria-expanded', 'false');\n this.removeFocus();\n this.isMenuOpen = false;\n };\n SpeedDial.prototype.endHide = function () {\n this.fab.setProperties({ iconCss: this.openIconCss });\n this.popupEle.classList.add(SDHIDDEN);\n if (this.popupTemplate) {\n this.setVisibility(true);\n }\n this.toggleOverlay();\n if (this.popupTemplate) {\n this.popupEle.removeAttribute('tabindex');\n }\n this.trigger('onClose', { element: this.popupEle });\n };\n SpeedDial.prototype.showPopupEle = function (e) {\n var _this = this;\n if (!this.popupEle || this.isMenuOpen) {\n return;\n }\n var eventArgs = { element: this.popupEle, event: e, cancel: false };\n this.trigger('beforeOpen', eventArgs, function (args) {\n if (args.cancel) {\n return;\n }\n if (_this.animation.effect !== 'None') {\n var openAnimation_1 = {\n name: (_this.animation.effect + 'In'),\n timingFunction: 'easeIn'\n };\n var eleArray_2 = _this.popupTemplate ? [_this.popupEle.firstElementChild] : selectAll('.' + SDLI, _this.popupEle);\n var timeOutInterval_2 = _this.animation.duration / (eleArray_2.length + 1);\n openAnimation_1.duration = 2 * timeOutInterval_2;\n /* To keep the animation smooth, start the animation of the second element when animation first element is half completed */\n var animateElement_2 = function (curIndex) {\n var ele = eleArray_2[parseInt(curIndex.toString(), 10)];\n openAnimation_1.delay = (curIndex === 0) ? _this.animation.delay : 0;\n openAnimation_1.begin = function () {\n if (curIndex === 0) {\n _this.startShow();\n }\n ele.classList.remove(SDHIDDEN);\n };\n openAnimation_1.end = function () { if (curIndex === eleArray_2.length - 1) {\n _this.endShow();\n } };\n new Animation(openAnimation_1).animate(ele);\n if (curIndex !== eleArray_2.length - 1) {\n var index_2 = curIndex + 1;\n setTimeout(function () {\n animateElement_2(index_2);\n }, timeOutInterval_2);\n }\n };\n animateElement_2(0);\n }\n else {\n _this.startShow();\n if (!_this.popupTemplate) {\n var ele = selectAll('.' + SDLI, _this.popupEle);\n ele.forEach(function (element) { element.classList.remove(SDHIDDEN); });\n }\n _this.endShow();\n }\n });\n };\n SpeedDial.prototype.startShow = function () {\n this.element.setAttribute('aria-expanded', 'true');\n this.isMenuOpen = true;\n this.toggleOverlay();\n this.popupEle.classList.remove(SDHIDDEN);\n if (this.popupTemplate) {\n this.setVisibility(false);\n }\n };\n SpeedDial.prototype.endShow = function () {\n if (this.closeIconCss) {\n this.fab.setProperties({ iconCss: this.closeIconCss });\n }\n if (this.popupTemplate) {\n this.popupEle.setAttribute('tabindex', '1');\n this.popupEle.focus();\n }\n this.trigger('onOpen', { element: this.popupEle });\n };\n SpeedDial.prototype.toggleOverlay = function () {\n if (!this.overlayEle) {\n return;\n }\n this.overlayEle.classList[this.isMenuOpen ? 'remove' : 'add'](SDHIDDEN);\n };\n SpeedDial.prototype.removeOverlayEle = function () {\n if (!this.overlayEle) {\n return;\n }\n remove(this.overlayEle);\n this.overlayEle = undefined;\n };\n SpeedDial.prototype.updatePopupItems = function () {\n if (this.popupEle) {\n this.hidePopupEle();\n this.clearItems();\n this.createItems();\n this.updatePositionProperties();\n }\n else {\n this.createPopup();\n }\n };\n SpeedDial.prototype.handleResize = function (e) {\n if (!this.popupEle) {\n return;\n }\n this.hidePopupEle(e);\n this.clearOverflow();\n this.setPositionProps();\n };\n SpeedDial.prototype.triggerItemClick = function (e, item) {\n var target = e.target;\n target = target.classList.contains(SDLI) ? target : closest(target, '.' + SDLI);\n var eventArgs = { element: target, item: item, event: e };\n this.trigger('clicked', eventArgs);\n this.hidePopupEle(e);\n };\n /**\n * Opens the SpeedDial popup to display to display the speed dial items or the popupTemplate.\n *\n * @returns {void}\n */\n SpeedDial.prototype.show = function () {\n this.showPopupEle();\n };\n /**\n * Closes the SpeedDial popup.\n *\n *@returns {void}\n */\n SpeedDial.prototype.hide = function () {\n this.hidePopupEle();\n };\n /**\n * Refreshes the button position of speed dial. You can call this method to re-position button when the target is resized.\n *\n *@returns {void}\n */\n SpeedDial.prototype.refreshPosition = function () {\n this.fab.refreshPosition();\n this.resizeHandler();\n };\n SpeedDial.prototype.resizeHandler = function (e) {\n this.handleResize(e);\n };\n SpeedDial.prototype.clearItems = function () {\n var liList = selectAll('.' + SDLI, this.popupEle);\n liList.forEach(function (element) {\n remove(element);\n });\n };\n SpeedDial.prototype.unwireEvents = function () {\n EventHandler.remove(window, 'resize', this.resizeHandler);\n EventHandler.remove(document.body, 'click', this.bodyClickHandler);\n if (this.opensOnHover) {\n this.unwireFabHover();\n }\n else {\n this.unwireFabClick();\n }\n };\n SpeedDial.prototype.unwireFabClick = function () {\n EventHandler.remove(this.fab.element, 'click', this.fabClick);\n };\n SpeedDial.prototype.unwireFabHover = function () {\n this.popupEle.classList.remove(HOVERSD);\n EventHandler.remove(this.fab.element, 'mouseover', this.mouseOverHandle);\n EventHandler.remove(this.element, 'mouseleave', this.mouseLeaveHandle);\n };\n SpeedDial.prototype.unwirePopupEvents = function () {\n if (isRippleEnabled) {\n this.removeRippleEffect();\n }\n this.removeRippleEffect = null;\n this.keyboardModule.destroy();\n this.popupKeyboardModule.destroy();\n this.keyboardModule = null;\n this.popupKeyboardModule = null;\n EventHandler.remove(this.popupEle, 'click', this.popupClick);\n EventHandler.remove(this.popupEle, 'mouseleave', this.popupMouseLeaveHandle);\n };\n SpeedDial.prototype.destroy = function () {\n var _this = this;\n _super.prototype.destroy.call(this);\n this.unwireEvents();\n ['aria-expanded', 'aria-haspopup', 'aria-controls'].forEach(function (attr) {\n _this.element.removeAttribute(attr);\n });\n if (this.popupEle) {\n this.unwirePopupEvents();\n remove(this.popupEle);\n this.popupEle = undefined;\n }\n this.removeOverlayEle();\n this.fab.destroy();\n this.fab = undefined;\n };\n /**\n * Called internally if any of the property value changed.\n *\n * @param {SpeedDialModel} newProp - Specifies new properties\n * @param {SpeedDialModel} oldProp - Specifies old properties\n * @returns {void}\n * @private\n */\n SpeedDial.prototype.onPropertyChanged = function (newProp, oldProp) {\n var fabProplist = ['content', 'cssClass', 'disabled', 'enablePersistence', 'enableRtl', 'iconPosition', 'position', 'target', 'template', 'title', 'visible', 'isPrimary'];\n var fabModel = extend({}, newProp);\n for (var _i = 0, _a = Object.keys(fabModel); _i < _a.length; _i++) {\n var prop = _a[_i];\n if ((fabProplist).indexOf(prop) < 0) {\n deleteObject(fabModel, prop);\n }\n }\n this.fab.setProperties(fabModel);\n for (var _b = 0, _c = Object.keys(newProp); _b < _c.length; _b++) {\n var prop = _c[_b];\n switch (prop) {\n case 'cssClass':\n if (!this.popupEle) {\n break;\n }\n if (oldProp.cssClass) {\n removeClass(this.overlayEle ? [this.popupEle, this.overlayEle] : [this.popupEle], oldProp.cssClass.split(' '));\n }\n if (newProp.cssClass) {\n addClass(this.overlayEle ? [this.popupEle, this.overlayEle] : [this.popupEle], newProp.cssClass.split(' '));\n }\n break;\n case 'visible':\n case 'disabled':\n this.hide();\n break;\n case 'enableRtl':\n if (!this.popupEle) {\n break;\n }\n this.setRTL();\n break;\n case 'openIconCss':\n if (!this.isMenuOpen) {\n this.fab.setProperties({ iconCss: this.openIconCss });\n }\n break;\n case 'closeIconCss':\n if (this.isMenuOpen) {\n this.fab.setProperties({ iconCss: this.closeIconCss });\n }\n break;\n case 'position':\n if (!this.popupEle) {\n break;\n }\n this.updatePositionProperties();\n break;\n case 'direction':\n if (!this.popupEle || this.popupTemplate) {\n break;\n }\n this.updatePositionProperties();\n break;\n case 'popupTemplate':\n this.updatePopupTemplate();\n break;\n case 'target':\n this.hidePopupEle();\n this.checkTarget();\n if (this.overlayEle) {\n this.element.insertAdjacentElement('beforebegin', this.overlayEle);\n }\n if (!this.popupEle) {\n break;\n }\n this.element.insertAdjacentElement('afterend', this.popupEle);\n this.updatePositionProperties();\n break;\n case 'items':\n case 'itemTemplate':\n if (this.popupTemplate) {\n break;\n }\n this.updatePopupItems();\n break;\n case 'modal':\n if (newProp.modal) {\n this.createOverlay();\n }\n else {\n this.removeOverlayEle();\n }\n break;\n case 'mode':\n if (!this.popupEle || this.popupTemplate) {\n break;\n }\n this.popupEle.classList.remove(RADIALSD, LINEARSD);\n this.popupEle.classList.add((this.mode === 'Radial') ? RADIALSD : LINEARSD);\n this.updatePositionProperties();\n break;\n case 'radialSettings':\n if (this.popupEle && (this.mode === 'Radial') && !this.popupTemplate) {\n this.setRadialPosition();\n }\n break;\n case 'opensOnHover':\n if (this.opensOnHover) {\n this.unwireFabClick();\n this.wireFabHover();\n }\n else {\n this.unwireFabHover();\n this.wireFabClick();\n }\n break;\n }\n }\n };\n __decorate$6([\n Complex({}, SpeedDialAnimationSettings)\n ], SpeedDial.prototype, \"animation\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDial.prototype, \"content\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDial.prototype, \"closeIconCss\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDial.prototype, \"cssClass\", void 0);\n __decorate$6([\n Property('Auto')\n ], SpeedDial.prototype, \"direction\", void 0);\n __decorate$6([\n Property(false)\n ], SpeedDial.prototype, \"disabled\", void 0);\n __decorate$6([\n Property('Left')\n ], SpeedDial.prototype, \"iconPosition\", void 0);\n __decorate$6([\n Collection([], SpeedDialItem)\n ], SpeedDial.prototype, \"items\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDial.prototype, \"itemTemplate\", void 0);\n __decorate$6([\n Property('Linear')\n ], SpeedDial.prototype, \"mode\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDial.prototype, \"openIconCss\", void 0);\n __decorate$6([\n Property(false)\n ], SpeedDial.prototype, \"opensOnHover\", void 0);\n __decorate$6([\n Property('BottomRight')\n ], SpeedDial.prototype, \"position\", void 0);\n __decorate$6([\n Property(false)\n ], SpeedDial.prototype, \"modal\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDial.prototype, \"popupTemplate\", void 0);\n __decorate$6([\n Complex({}, RadialSettings)\n ], SpeedDial.prototype, \"radialSettings\", void 0);\n __decorate$6([\n Property('')\n ], SpeedDial.prototype, \"target\", void 0);\n __decorate$6([\n Property(true)\n ], SpeedDial.prototype, \"visible\", void 0);\n __decorate$6([\n Property(true)\n ], SpeedDial.prototype, \"isPrimary\", void 0);\n __decorate$6([\n Event()\n ], SpeedDial.prototype, \"beforeClose\", void 0);\n __decorate$6([\n Event()\n ], SpeedDial.prototype, \"beforeItemRender\", void 0);\n __decorate$6([\n Event()\n ], SpeedDial.prototype, \"beforeOpen\", void 0);\n __decorate$6([\n Event()\n ], SpeedDial.prototype, \"created\", void 0);\n __decorate$6([\n Event()\n ], SpeedDial.prototype, \"clicked\", void 0);\n __decorate$6([\n Event()\n ], SpeedDial.prototype, \"onClose\", void 0);\n __decorate$6([\n Event()\n ], SpeedDial.prototype, \"onOpen\", void 0);\n SpeedDial = __decorate$6([\n NotifyPropertyChanges\n ], SpeedDial);\n return SpeedDial;\n}(Component));\n\n/**\n * SpeedDial modules\n */\n\n/**\n * Button all modules\n */\n\nexport { wrapperInitialize, getTextNode, destroy, preRender, createCheckBox, rippleMouseHandler, setHiddenInput, IconPosition, buttonObserver, Button, CheckBox, RadioButton, Switch, classNames, ChipList, Chip, FabPosition, Fab, SpeedDialMode, LinearDirection, RadialDirection, SpeedDialAnimationEffect, SpeedDialAnimationSettings, RadialSettings, SpeedDialItem, SpeedDial };\n","import { Animation, Browser, ChildProperty, Collection, Complex, Component, Draggable, Event, EventHandler, L10n, NotifyPropertyChanges, Property, SanitizeHtmlHelper, Touch, addClass, append, attributes, classList, closest, compile, createElement, detach, extend, formatUnit, getUniqueID, isBlazor, isNullOrUndefined, prepend, remove, removeClass, select, selectAll, setStyleAttribute } from '@syncfusion/ej2-base';\nimport { Button } from '@syncfusion/ej2-buttons';\n\n/**\n * Position library\n */\nvar elementRect;\nvar popupRect;\nvar element;\nvar parentDocument;\nvar fixedParent = false;\n/**\n *\n * @param {HTMLElement} anchor - specifies the element\n * @param {HTMLElement} element - specifies the element\n * @returns {OffsetPosition} - returns the value\n */\nfunction calculateRelativeBasedPosition(anchor, element) {\n var fixedElement = false;\n var anchorPos = { left: 0, top: 0 };\n var tempAnchor = anchor;\n if (!anchor || !element) {\n return anchorPos;\n }\n if (isNullOrUndefined(element.offsetParent) && element.style.position === 'fixed') {\n fixedElement = true;\n }\n while ((element.offsetParent || fixedElement) && anchor && element.offsetParent !== anchor) {\n anchorPos.left += anchor.offsetLeft;\n anchorPos.top += anchor.offsetTop;\n anchor = anchor.offsetParent;\n }\n anchor = tempAnchor;\n while ((element.offsetParent || fixedElement) && anchor && element.offsetParent !== anchor) {\n anchorPos.left -= anchor.scrollLeft;\n anchorPos.top -= anchor.scrollTop;\n anchor = anchor.parentElement;\n }\n return anchorPos;\n}\n/**\n *\n * @param {Element} currentElement - specifies the element\n * @param {string} positionX - specifies the position\n * @param {string} positionY - specifies the position\n * @param {boolean} parentElement - specifies the boolean\n * @param {ClientRect} targetValues - specifies the client\n * @returns {OffsetPosition} - returns the position\n */\nfunction calculatePosition(currentElement, positionX, positionY, parentElement, targetValues) {\n popupRect = undefined;\n popupRect = targetValues;\n fixedParent = parentElement ? true : false;\n if (!currentElement) {\n return { left: 0, top: 0 };\n }\n if (!positionX) {\n positionX = 'left';\n }\n if (!positionY) {\n positionY = 'top';\n }\n parentDocument = currentElement.ownerDocument;\n element = currentElement;\n var pos = { left: 0, top: 0 };\n return updatePosition(positionX.toLowerCase(), positionY.toLowerCase(), pos);\n}\n/**\n *\n * @param {number} value - specifies the number\n * @param {OffsetPosition} pos - specifies the position\n * @returns {void}\n */\nfunction setPosx(value, pos) {\n pos.left = value;\n}\n/**\n *\n * @param {number} value - specifies the number\n * @param {OffsetPosition} pos - specifies the position\n * @returns {void}\n */\nfunction setPosy(value, pos) {\n pos.top = value;\n}\n/**\n *\n * @param {string} posX - specifies the position\n * @param {string} posY - specifies the position\n * @param {OffsetPosition} pos - specifies the position\n * @returns {OffsetPosition} - returns the postion\n */\nfunction updatePosition(posX, posY, pos) {\n elementRect = element.getBoundingClientRect();\n switch (posY + posX) {\n case 'topcenter':\n setPosx(getElementHCenter(), pos);\n setPosy(getElementTop(), pos);\n break;\n case 'topright':\n setPosx(getElementRight(), pos);\n setPosy(getElementTop(), pos);\n break;\n case 'centercenter':\n setPosx(getElementHCenter(), pos);\n setPosy(getElementVCenter(), pos);\n break;\n case 'centerright':\n setPosx(getElementRight(), pos);\n setPosy(getElementVCenter(), pos);\n break;\n case 'centerleft':\n setPosx(getElementLeft(), pos);\n setPosy(getElementVCenter(), pos);\n break;\n case 'bottomcenter':\n setPosx(getElementHCenter(), pos);\n setPosy(getElementBottom(), pos);\n break;\n case 'bottomright':\n setPosx(getElementRight(), pos);\n setPosy(getElementBottom(), pos);\n break;\n case 'bottomleft':\n setPosx(getElementLeft(), pos);\n setPosy(getElementBottom(), pos);\n break;\n default:\n case 'topleft':\n setPosx(getElementLeft(), pos);\n setPosy(getElementTop(), pos);\n break;\n }\n element = null;\n return pos;\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getBodyScrollTop() {\n return parentDocument.documentElement.scrollTop || parentDocument.body.scrollTop;\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getBodyScrollLeft() {\n return parentDocument.documentElement.scrollLeft || parentDocument.body.scrollLeft;\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getElementBottom() {\n return fixedParent ? elementRect.bottom : elementRect.bottom + getBodyScrollTop();\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getElementVCenter() {\n return getElementTop() + (elementRect.height / 2);\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getElementTop() {\n return fixedParent ? elementRect.top : elementRect.top + getBodyScrollTop();\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getElementLeft() {\n return elementRect.left + getBodyScrollLeft();\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getElementRight() {\n var popupWidth = (element && (element.classList.contains('e-date-wrapper') || element.classList.contains('e-datetime-wrapper') || element.classList.contains('e-date-range-wrapper') || element.classList.contains('e-ddl') || element.classList.contains('e-multiselect'))) ? (popupRect ? popupRect.width : 0) :\n (popupRect && (elementRect.width >= popupRect.width) ? popupRect.width : 0);\n return elementRect.right + getBodyScrollLeft() - popupWidth;\n}\n/**\n * @returns {number} - specifies the number value\n */\nfunction getElementHCenter() {\n return getElementLeft() + (elementRect.width / 2);\n}\n\n/**\n * Collision module.\n */\nvar parentDocument$1;\nvar targetContainer;\n/**\n *\n * @param {HTMLElement} element - specifies the element\n * @param {HTMLElement} viewPortElement - specifies the element\n * @param {CollisionCoordinates} axis - specifies the collision coordinates\n * @param {OffsetPosition} position - specifies the position\n * @returns {void}\n */\nfunction fit(element, viewPortElement, axis, position) {\n if (viewPortElement === void 0) { viewPortElement = null; }\n if (axis === void 0) { axis = { X: false, Y: false }; }\n if (!axis.Y && !axis.X) {\n return { left: 0, top: 0 };\n }\n var elemData = element.getBoundingClientRect();\n targetContainer = viewPortElement;\n parentDocument$1 = element.ownerDocument;\n if (!position) {\n position = calculatePosition(element, 'left', 'top');\n }\n var zoomingFactor = 1;\n var parentWithZoomStyle = element.closest('[style*=\"zoom\"]');\n if (parentWithZoomStyle) {\n zoomingFactor = parseFloat(getComputedStyle(parentWithZoomStyle).zoom);\n }\n if (axis.X) {\n var containerWidth = targetContainer ? getTargetContainerWidth() : getViewPortWidth();\n var containerLeft = ContainerLeft() / zoomingFactor;\n var containerRight = ContainerRight() / zoomingFactor;\n var overLeft = containerLeft - position.left;\n var overRight = position.left + elemData.width - containerRight;\n if (elemData.width > containerWidth) {\n if (overLeft > 0 && overRight <= 0) {\n position.left = containerRight - elemData.width;\n }\n else if (overRight > 0 && overLeft <= 0) {\n position.left = containerLeft;\n }\n else {\n position.left = overLeft > overRight ? (containerRight - elemData.width) : containerLeft;\n }\n }\n else if (overLeft > 0) {\n position.left += overLeft;\n }\n else if (overRight > 0) {\n position.left -= overRight;\n }\n }\n if (axis.Y) {\n var containerHeight = targetContainer ? getTargetContainerHeight() : getViewPortHeight();\n var containerTop = ContainerTop() / zoomingFactor;\n var containerBottom = ContainerBottom() / zoomingFactor;\n var overTop = containerTop - position.top;\n var overBottom = position.top + elemData.height - containerBottom;\n if (elemData.height > containerHeight) {\n if (overTop > 0 && overBottom <= 0) {\n position.top = containerBottom - elemData.height;\n }\n else if (overBottom > 0 && overTop <= 0) {\n position.top = containerTop;\n }\n else {\n position.top = overTop > overBottom ? (containerBottom - elemData.height) : containerTop;\n }\n }\n else if (overTop > 0) {\n position.top += overTop;\n }\n else if (overBottom > 0) {\n position.top -= overBottom;\n }\n }\n return position;\n}\n/**\n *\n * @param {HTMLElement} element - specifies the html element\n * @param {HTMLElement} viewPortElement - specifies the html element\n * @param {number} x - specifies the number\n * @param {number} y - specifies the number\n * @returns {string[]} - returns the string value\n */\nfunction isCollide(element, viewPortElement, x, y) {\n if (viewPortElement === void 0) { viewPortElement = null; }\n var elemOffset = calculatePosition(element, 'left', 'top');\n if (x) {\n elemOffset.left = x;\n }\n if (y) {\n elemOffset.top = y;\n }\n var data = [];\n targetContainer = viewPortElement;\n parentDocument$1 = element.ownerDocument;\n var elementRect = element.getBoundingClientRect();\n var top = elemOffset.top;\n var left = elemOffset.left;\n var right = elemOffset.left + elementRect.width;\n var bottom = elemOffset.top + elementRect.height;\n // eslint-disable-next-line\n var yAxis = topCollideCheck(top, bottom);\n var xAxis = leftCollideCheck(left, right);\n if (yAxis.topSide) {\n data.push('top');\n }\n if (xAxis.rightSide) {\n data.push('right');\n }\n if (xAxis.leftSide) {\n data.push('left');\n }\n if (yAxis.bottomSide) {\n data.push('bottom');\n }\n return data;\n}\n/**\n *\n * @param {HTMLElement} element - specifies the element\n * @param {HTMLElement} target - specifies the element\n * @param {number} offsetX - specifies the number\n * @param {number} offsetY - specifies the number\n * @param {string} positionX - specifies the string value\n * @param {string} positionY - specifies the string value\n * @param {HTMLElement} viewPortElement - specifies the element\n * @param {CollisionCoordinates} axis - specifies the collision axis\n * @param {boolean} fixedParent - specifies the boolean\n * @returns {void}\n */\nfunction flip(element, target, offsetX, offsetY, positionX, positionY, viewPortElement, \n/* eslint-disable */\naxis, fixedParent) {\n if (viewPortElement === void 0) { viewPortElement = null; }\n if (axis === void 0) { axis = { X: true, Y: true }; }\n if (!target || !element || !positionX || !positionY || (!axis.X && !axis.Y)) {\n return;\n }\n var tEdge = { TL: null,\n TR: null,\n BL: null,\n BR: null\n }, eEdge = {\n TL: null,\n TR: null,\n BL: null,\n BR: null\n /* eslint-enable */\n };\n var elementRect;\n if (window.getComputedStyle(element).display === 'none') {\n var oldVisibility = element.style.visibility;\n element.style.visibility = 'hidden';\n element.style.display = 'block';\n elementRect = element.getBoundingClientRect();\n element.style.removeProperty('display');\n element.style.visibility = oldVisibility;\n }\n else {\n elementRect = element.getBoundingClientRect();\n }\n var pos = {\n posX: positionX, posY: positionY, offsetX: offsetX, offsetY: offsetY, position: { left: 0, top: 0 }\n };\n targetContainer = viewPortElement;\n parentDocument$1 = target.ownerDocument;\n updateElementData(target, tEdge, pos, fixedParent, elementRect);\n setPosition(eEdge, pos, elementRect);\n if (axis.X) {\n leftFlip(target, eEdge, tEdge, pos, elementRect, true);\n }\n if (axis.Y && tEdge.TL.top > -1) {\n topFlip(target, eEdge, tEdge, pos, elementRect, true);\n }\n setPopup(element, pos, elementRect);\n}\n/**\n *\n * @param {HTMLElement} element - specifies the element\n * @param {PositionLocation} pos - specifies the location\n * @param {ClientRect} elementRect - specifies the client rect\n * @returns {void}\n */\nfunction setPopup(element, pos, elementRect) {\n //eslint-disable-next-line\n var left = 0, top = 0;\n if (element.offsetParent != null\n && (getComputedStyle(element.offsetParent).position === 'absolute' ||\n getComputedStyle(element.offsetParent).position === 'relative')) {\n var data = calculatePosition(element.offsetParent, 'left', 'top', false, elementRect);\n left = data.left;\n top = data.top;\n }\n var scaleX = 1;\n var scaleY = 1;\n if (element.offsetParent) {\n var transformStyle = getComputedStyle(element.offsetParent).transform;\n if (transformStyle !== 'none') {\n var matrix = new DOMMatrix(transformStyle);\n scaleX = matrix.a;\n scaleY = matrix.d;\n }\n }\n element.style.top = ((pos.position.top / scaleY) + pos.offsetY - (top)) + 'px';\n element.style.left = ((pos.position.left / scaleX) + pos.offsetX - (left)) + 'px';\n}\n/**\n *\n * @param {HTMLElement} target - specifies the element\n * @param {EdgeOffset} edge - specifies the offset\n * @param {PositionLocation} pos - specifies theloaction\n * @param {boolean} fixedParent - specifies the boolean\n * @param {ClientRect} elementRect - specifies the client rect\n * @returns {void}\n */\nfunction updateElementData(target, edge, pos, fixedParent, elementRect) {\n pos.position = calculatePosition(target, pos.posX, pos.posY, fixedParent, elementRect);\n edge.TL = calculatePosition(target, 'left', 'top', fixedParent, elementRect);\n edge.TR = calculatePosition(target, 'right', 'top', fixedParent, elementRect);\n edge.BR = calculatePosition(target, 'left', 'bottom', fixedParent, elementRect);\n edge.BL = calculatePosition(target, 'right', 'bottom', fixedParent, elementRect);\n}\n/**\n *\n * @param {EdgeOffset} eStatus - specifies the status\n * @param {PositionLocation} pos - specifies the location\n * @param {ClientRect} elementRect - specifies the client\n * @returns {void}\n */\nfunction setPosition(eStatus, pos, elementRect) {\n eStatus.TL = { top: pos.position.top + pos.offsetY, left: pos.position.left + pos.offsetX };\n eStatus.TR = { top: eStatus.TL.top, left: eStatus.TL.left + elementRect.width };\n eStatus.BL = { top: eStatus.TL.top + elementRect.height,\n left: eStatus.TL.left };\n eStatus.BR = { top: eStatus.TL.top + elementRect.height,\n left: eStatus.TL.left + elementRect.width };\n}\n/**\n *\n * @param {number} left - specifies the number\n * @param {number} right - specifies the number\n * @returns {LeftCorners} - returns the value\n */\nfunction leftCollideCheck(left, right) {\n //eslint-disable-next-line\n var leftSide = false, rightSide = false;\n if (((left - getBodyScrollLeft$1()) < ContainerLeft())) {\n leftSide = true;\n }\n if (right > ContainerRight()) {\n rightSide = true;\n }\n return { leftSide: leftSide, rightSide: rightSide };\n}\n/**\n *\n * @param {HTMLElement} target - specifies the element\n * @param {EdgeOffset} edge - specifes the element\n * @param {EdgeOffset} tEdge - specifies the edge offset\n * @param {PositionLocation} pos - specifes the location\n * @param {ClientRect} elementRect - specifies the client\n * @param {boolean} deepCheck - specifies the boolean value\n * @returns {void}\n */\nfunction leftFlip(target, edge, tEdge, pos, elementRect, deepCheck) {\n var collideSide = leftCollideCheck(edge.TL.left, edge.TR.left);\n if ((tEdge.TL.left - getBodyScrollLeft$1()) <= ContainerLeft()) {\n collideSide.leftSide = false;\n }\n if (tEdge.TR.left > ContainerRight()) {\n collideSide.rightSide = false;\n }\n if ((collideSide.leftSide && !collideSide.rightSide) || (!collideSide.leftSide && collideSide.rightSide)) {\n if (pos.posX === 'right') {\n pos.posX = 'left';\n }\n else {\n pos.posX = 'right';\n }\n pos.offsetX = pos.offsetX + elementRect.width;\n pos.offsetX = -1 * pos.offsetX;\n pos.position = calculatePosition(target, pos.posX, pos.posY, false);\n setPosition(edge, pos, elementRect);\n if (deepCheck) {\n leftFlip(target, edge, tEdge, pos, elementRect, false);\n }\n }\n}\n/**\n *\n * @param {HTMLElement} target - specifies the element\n * @param {EdgeOffset} edge - specifies the offset\n * @param {EdgeOffset} tEdge - specifies the offset\n * @param {PositionLocation} pos - specifies the location\n * @param {ClientRect} elementRect - specifies the client rect\n * @param {boolean} deepCheck - specifies the boolean\n * @returns {void}\n */\nfunction topFlip(target, edge, tEdge, pos, elementRect, deepCheck) {\n var collideSide = topCollideCheck(edge.TL.top, edge.BL.top);\n if ((tEdge.TL.top - getBodyScrollTop$1()) <= ContainerTop()) {\n collideSide.topSide = false;\n }\n if (tEdge.BL.top >= ContainerBottom() && target.getBoundingClientRect().bottom < window.innerHeight) {\n collideSide.bottomSide = false;\n }\n if ((collideSide.topSide && !collideSide.bottomSide) || (!collideSide.topSide && collideSide.bottomSide)) {\n if (pos.posY === 'top') {\n pos.posY = 'bottom';\n }\n else {\n pos.posY = 'top';\n }\n pos.offsetY = pos.offsetY + elementRect.height;\n pos.offsetY = -1 * pos.offsetY;\n pos.position = calculatePosition(target, pos.posX, pos.posY, false, elementRect);\n setPosition(edge, pos, elementRect);\n if (deepCheck) {\n topFlip(target, edge, tEdge, pos, elementRect, false);\n }\n }\n}\n/**\n *\n * @param {number} top - specifies the number\n * @param {number} bottom - specifies the number\n * @returns {TopCorners} - retyrns the value\n */\nfunction topCollideCheck(top, bottom) {\n //eslint-disable-next-line\n var topSide = false, bottomSide = false;\n if ((top - getBodyScrollTop$1()) < ContainerTop()) {\n topSide = true;\n }\n if (bottom > ContainerBottom()) {\n bottomSide = true;\n }\n return { topSide: topSide, bottomSide: bottomSide };\n}\n/**\n * @returns {void}\n */\nfunction getTargetContainerWidth() {\n return targetContainer.getBoundingClientRect().width;\n}\n/**\n * @returns {void}\n */\nfunction getTargetContainerHeight() {\n return targetContainer.getBoundingClientRect().height;\n}\n/**\n * @returns {void}\n */\nfunction getTargetContainerLeft() {\n return targetContainer.getBoundingClientRect().left;\n}\n/**\n * @returns {void}\n */\nfunction getTargetContainerTop() {\n return targetContainer.getBoundingClientRect().top;\n}\n//eslint-disable-next-line\nfunction ContainerTop() {\n if (targetContainer) {\n return getTargetContainerTop();\n }\n return 0;\n}\n//eslint-disable-next-line\nfunction ContainerLeft() {\n if (targetContainer) {\n return getTargetContainerLeft();\n }\n return 0;\n}\n//eslint-disable-next-line\nfunction ContainerRight() {\n if (targetContainer) {\n return (getBodyScrollLeft$1() + getTargetContainerLeft() + getTargetContainerWidth());\n }\n return (getBodyScrollLeft$1() + getViewPortWidth());\n}\n//eslint-disable-next-line\nfunction ContainerBottom() {\n if (targetContainer) {\n return (getBodyScrollTop$1() + getTargetContainerTop() + getTargetContainerHeight());\n }\n return (getBodyScrollTop$1() + getViewPortHeight());\n}\n/**\n * @returns {void}\n */\nfunction getBodyScrollTop$1() {\n // if(targetContainer)\n // return targetContainer.scrollTop;\n return parentDocument$1.documentElement.scrollTop || parentDocument$1.body.scrollTop;\n}\n/**\n * @returns {void}\n */\nfunction getBodyScrollLeft$1() {\n // if(targetContainer)\n // return targetContainer.scrollLeft;\n return parentDocument$1.documentElement.scrollLeft || parentDocument$1.body.scrollLeft;\n}\n/**\n * @returns {void}\n */\nfunction getViewPortHeight() {\n return window.innerHeight;\n}\n/**\n * @returns {void}\n */\nfunction getViewPortWidth() {\n var windowWidth = window.innerWidth;\n var documentReact = document.documentElement.getBoundingClientRect();\n var offsetWidth = (isNullOrUndefined(document.documentElement)) ? 0 : documentReact.width;\n return windowWidth - (windowWidth - offsetWidth);\n}\n\nvar __extends = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n/**\n * Specifies the offset position values.\n */\nvar PositionData = /** @__PURE__ @class */ (function (_super) {\n __extends(PositionData, _super);\n function PositionData() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n __decorate([\n Property('left')\n ], PositionData.prototype, \"X\", void 0);\n __decorate([\n Property('top')\n ], PositionData.prototype, \"Y\", void 0);\n return PositionData;\n}(ChildProperty));\n// don't use space in classNames\nvar CLASSNAMES = {\n ROOT: 'e-popup',\n RTL: 'e-rtl',\n OPEN: 'e-popup-open',\n CLOSE: 'e-popup-close'\n};\n/**\n * Represents the Popup Component\n * ```html\n *
    \n *
    Popup Content
    \n * ```\n * ```typescript\n * \n * ```\n */\nvar Popup = /** @__PURE__ @class */ (function (_super) {\n __extends(Popup, _super);\n function Popup(element, options) {\n return _super.call(this, options, element) || this;\n }\n /**\n * Called internally if any of the property value changed.\n *\n * @param {PopupModel} newProp - specifies the new property\n * @param {PopupModel} oldProp - specifies the old property\n * @private\n * @returns {void}\n */\n Popup.prototype.onPropertyChanged = function (newProp, oldProp) {\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'width':\n setStyleAttribute(this.element, { 'width': formatUnit(newProp.width) });\n break;\n case 'height':\n setStyleAttribute(this.element, { 'height': formatUnit(newProp.height) });\n break;\n case 'zIndex':\n setStyleAttribute(this.element, { 'zIndex': newProp.zIndex });\n break;\n case 'enableRtl':\n this.setEnableRtl();\n break;\n case 'position':\n case 'relateTo':\n this.refreshPosition();\n break;\n case 'offsetX':\n // eslint-disable-next-line\n var x = newProp.offsetX - oldProp.offsetX;\n this.element.style.left = (parseInt(this.element.style.left, 10) + (x)).toString() + 'px';\n break;\n case 'offsetY':\n // eslint-disable-next-line\n var y = newProp.offsetY - oldProp.offsetY;\n this.element.style.top = (parseInt(this.element.style.top, 10) + (y)).toString() + 'px';\n break;\n case 'content':\n this.setContent();\n break;\n case 'actionOnScroll':\n if (newProp.actionOnScroll !== 'none') {\n this.wireScrollEvents();\n }\n else {\n this.unwireScrollEvents();\n }\n break;\n }\n }\n };\n /**\n * gets the Component module name.\n *\n * @returns {void}\n * @private\n */\n Popup.prototype.getModuleName = function () {\n return 'popup';\n };\n /**\n * To resolve if any collision occurs.\n *\n * @returns {void}\n */\n Popup.prototype.resolveCollision = function () {\n this.checkCollision();\n };\n /**\n * gets the persisted state properties of the Component.\n *\n * @returns {void}\n */\n Popup.prototype.getPersistData = function () {\n return this.addOnPersist([]);\n };\n /**\n * To destroy the control.\n *\n * @returns {void}\n */\n Popup.prototype.destroy = function () {\n if (this.element.classList.contains('e-popup-open')) {\n this.unwireEvents();\n }\n this.element.classList.remove(CLASSNAMES.ROOT, CLASSNAMES.RTL, CLASSNAMES.OPEN, CLASSNAMES.CLOSE);\n this.content = null;\n this.relateTo = null;\n _super.prototype.destroy.call(this);\n };\n /**\n * To Initialize the control rendering\n *\n * @returns {void}\n * @private\n */\n Popup.prototype.render = function () {\n this.element.classList.add(CLASSNAMES.ROOT);\n var styles = {};\n if (this.zIndex !== 1000) {\n styles.zIndex = this.zIndex;\n }\n if (this.width !== 'auto') {\n styles.width = formatUnit(this.width);\n }\n if (this.height !== 'auto') {\n styles.height = formatUnit(this.height);\n }\n setStyleAttribute(this.element, styles);\n this.fixedParent = false;\n this.setEnableRtl();\n this.setContent();\n };\n Popup.prototype.wireEvents = function () {\n if (Browser.isDevice) {\n EventHandler.add(window, 'orientationchange', this.orientationOnChange, this);\n }\n if (this.actionOnScroll !== 'none') {\n this.wireScrollEvents();\n }\n };\n Popup.prototype.wireScrollEvents = function () {\n if (this.getRelateToElement()) {\n for (var _i = 0, _a = this.getScrollableParent(this.getRelateToElement()); _i < _a.length; _i++) {\n var parent_1 = _a[_i];\n EventHandler.add(parent_1, 'scroll', this.scrollRefresh, this);\n }\n }\n };\n Popup.prototype.unwireEvents = function () {\n if (Browser.isDevice) {\n EventHandler.remove(window, 'orientationchange', this.orientationOnChange);\n }\n if (this.actionOnScroll !== 'none') {\n this.unwireScrollEvents();\n }\n };\n Popup.prototype.unwireScrollEvents = function () {\n if (this.getRelateToElement()) {\n for (var _i = 0, _a = this.getScrollableParent(this.getRelateToElement()); _i < _a.length; _i++) {\n var parent_2 = _a[_i];\n EventHandler.remove(parent_2, 'scroll', this.scrollRefresh);\n }\n }\n };\n Popup.prototype.getRelateToElement = function () {\n var relateToElement = this.relateTo === '' || isNullOrUndefined(this.relateTo) ?\n document.body : this.relateTo;\n this.setProperties({ relateTo: relateToElement }, true);\n return ((typeof this.relateTo) === 'string') ?\n document.querySelector(this.relateTo) : this.relateTo;\n };\n Popup.prototype.scrollRefresh = function (e) {\n if (this.actionOnScroll === 'reposition') {\n if (!isNullOrUndefined(this.element) && !(this.element.offsetParent === e.target ||\n (this.element.offsetParent && this.element.offsetParent.tagName === 'BODY' &&\n e.target.parentElement == null))) {\n this.refreshPosition();\n }\n }\n else if (this.actionOnScroll === 'hide') {\n this.hide();\n }\n if (this.actionOnScroll !== 'none') {\n if (this.getRelateToElement()) {\n var targetVisible = this.isElementOnViewport(this.getRelateToElement(), e.target);\n if (!targetVisible && !this.targetInvisibleStatus) {\n this.trigger('targetExitViewport');\n this.targetInvisibleStatus = true;\n }\n else if (targetVisible) {\n this.targetInvisibleStatus = false;\n }\n }\n }\n };\n /**\n * This method is to get the element visibility on viewport when scroll\n * the page. This method will returns true even though 1 px of element\n * part is in visible.\n *\n * @param {HTMLElement} relateToElement - specifies the element\n * @param {HTMLElement} scrollElement - specifies the scroll element\n * @returns {boolean} - retruns the boolean\n */\n // eslint-disable-next-line\n Popup.prototype.isElementOnViewport = function (relateToElement, scrollElement) {\n var scrollParents = this.getScrollableParent(relateToElement);\n for (var parent_3 = 0; parent_3 < scrollParents.length; parent_3++) {\n if (this.isElementVisible(relateToElement, scrollParents[parent_3])) {\n continue;\n }\n else {\n return false;\n }\n }\n return true;\n };\n Popup.prototype.isElementVisible = function (relateToElement, scrollElement) {\n var rect = this.checkGetBoundingClientRect(relateToElement);\n if (!rect.height || !rect.width) {\n return false;\n }\n if (!isNullOrUndefined(this.checkGetBoundingClientRect(scrollElement))) {\n var parent_4 = scrollElement.getBoundingClientRect();\n return !(rect.bottom < parent_4.top) &&\n (!(rect.bottom > parent_4.bottom) &&\n (!(rect.right > parent_4.right) &&\n !(rect.left < parent_4.left)));\n }\n else {\n var win = window;\n var windowView = {\n top: win.scrollY,\n left: win.scrollX,\n right: win.scrollX + win.outerWidth,\n bottom: win.scrollY + win.outerHeight\n };\n var off = calculatePosition(relateToElement);\n var ele = {\n top: off.top,\n left: off.left,\n right: off.left + rect.width,\n bottom: off.top + rect.height\n };\n var elementView = {\n top: windowView.bottom - ele.top,\n left: windowView.right - ele.left,\n bottom: ele.bottom - windowView.top,\n right: ele.right - windowView.left\n };\n return elementView.top > 0\n && elementView.left > 0\n && elementView.right > 0\n && elementView.bottom > 0;\n }\n };\n /**\n * Initialize the event handler\n *\n * @returns {void}\n * @private\n */\n Popup.prototype.preRender = function () {\n //There is no event handler\n };\n Popup.prototype.setEnableRtl = function () {\n this.reposition();\n // eslint-disable-next-line\n this.enableRtl ? this.element.classList.add(CLASSNAMES.RTL) : this.element.classList.remove(CLASSNAMES.RTL);\n };\n Popup.prototype.setContent = function () {\n if (!isNullOrUndefined(this.content)) {\n this.element.innerHTML = '';\n if (typeof (this.content) === 'string') {\n this.element.textContent = this.content;\n }\n else {\n var relateToElem = this.getRelateToElement();\n // eslint-disable-next-line\n var props = this.content.props;\n if (!relateToElem.classList.contains('e-dropdown-btn') || isNullOrUndefined(props)) {\n this.element.appendChild(this.content);\n }\n }\n }\n };\n Popup.prototype.orientationOnChange = function () {\n var _this = this;\n setTimeout(function () {\n _this.refreshPosition();\n }, 200);\n };\n // eslint-disable-next-line\n /**\n * Based on the `relative` element and `offset` values, `Popup` element position will refreshed.\n *\n * @returns {void}\n */\n Popup.prototype.refreshPosition = function (target, collision) {\n if (!isNullOrUndefined(target)) {\n this.checkFixedParent(target);\n }\n this.reposition();\n if (!collision) {\n this.checkCollision();\n }\n };\n Popup.prototype.reposition = function () {\n var pos;\n var position;\n var relateToElement = this.getRelateToElement();\n if (typeof this.position.X === 'number' && typeof this.position.Y === 'number') {\n pos = { left: this.position.X, top: this.position.Y };\n }\n else if ((typeof this.position.X === 'string' && typeof this.position.Y === 'number') ||\n (typeof this.position.X === 'number' && typeof this.position.Y === 'string')) {\n var parentDisplay = void 0;\n var display = this.element.style.display;\n this.element.style.display = 'block';\n if (this.element.classList.contains('e-dlg-modal')) {\n parentDisplay = this.element.parentElement.style.display;\n this.element.parentElement.style.display = 'block';\n }\n position = this.getAnchorPosition(relateToElement, this.element, this.position, this.offsetX, this.offsetY);\n if (typeof this.position.X === 'string') {\n pos = { left: position.left, top: this.position.Y };\n }\n else {\n pos = { left: this.position.X, top: position.top };\n }\n this.element.style.display = display;\n if (this.element.classList.contains('e-dlg-modal')) {\n this.element.parentElement.style.display = parentDisplay;\n }\n }\n else if (relateToElement) {\n var height = this.element.clientHeight;\n var display = this.element.style.display;\n this.element.style.display = 'block';\n pos = this.getAnchorPosition(relateToElement, this.element, this.position, this.offsetX, this.offsetY, height);\n this.element.style.display = display;\n }\n else {\n pos = { left: 0, top: 0 };\n }\n if (!isNullOrUndefined(pos)) {\n this.element.style.left = pos.left + 'px';\n this.element.style.top = pos.top + 'px';\n }\n };\n Popup.prototype.checkGetBoundingClientRect = function (ele) {\n var eleRect;\n try {\n eleRect = ele.getBoundingClientRect();\n return eleRect;\n }\n catch (error) {\n return null;\n }\n };\n Popup.prototype.getAnchorPosition = function (anchorEle, ele, position, offsetX, offsetY, height) {\n if (height === void 0) { height = 0; }\n var eleRect = this.checkGetBoundingClientRect(ele);\n var anchorRect = this.checkGetBoundingClientRect(anchorEle);\n if (isNullOrUndefined(eleRect) || isNullOrUndefined(anchorRect)) {\n return null;\n }\n var anchor = anchorEle;\n var anchorPos = { left: 0, top: 0 };\n if (ele.offsetParent && ele.offsetParent.tagName === 'BODY' && anchorEle.tagName === 'BODY') {\n anchorPos = calculatePosition(anchorEle);\n }\n else {\n if ((ele.classList.contains('e-dlg-modal') && anchor.tagName !== 'BODY')) {\n ele = ele.parentElement;\n }\n anchorPos = calculateRelativeBasedPosition(anchor, ele);\n }\n switch (position.X) {\n default:\n case 'left':\n break;\n case 'center':\n if ((ele.classList.contains('e-dlg-modal') && anchor.tagName === 'BODY' && this.targetType === 'container')) {\n anchorPos.left += (window.innerWidth / 2 - eleRect.width / 2);\n }\n else if (this.targetType === 'container') {\n anchorPos.left += (anchorRect.width / 2 - eleRect.width / 2);\n }\n else {\n anchorPos.left += (anchorRect.width / 2);\n }\n break;\n case 'right':\n if ((ele.classList.contains('e-dlg-modal') && anchor.tagName === 'BODY' && this.targetType === 'container')) {\n anchorPos.left += (window.innerWidth - eleRect.width);\n }\n else if (this.targetType === 'container') {\n anchorPos.left += (anchorRect.width - eleRect.width);\n }\n else {\n anchorPos.left += (anchorRect.width);\n }\n break;\n }\n switch (position.Y) {\n default:\n case 'top':\n break;\n case 'center':\n if ((ele.classList.contains('e-dlg-modal') && anchor.tagName === 'BODY' && this.targetType === 'container')) {\n anchorPos.top += (window.innerHeight / 2 - eleRect.height / 2);\n }\n else if (this.targetType === 'container') {\n anchorPos.top += (anchorRect.height / 2 - eleRect.height / 2);\n }\n else {\n anchorPos.top += (anchorRect.height / 2);\n }\n break;\n case 'bottom':\n if ((ele.classList.contains('e-dlg-modal') && anchor.tagName === 'BODY' && this.targetType === 'container')) {\n anchorPos.top += (window.innerHeight - eleRect.height);\n }\n else if (this.targetType === 'container' && !ele.classList.contains('e-dialog')) {\n anchorPos.top += (anchorRect.height - eleRect.height);\n }\n else if (this.targetType === 'container' && ele.classList.contains('e-dialog')) {\n anchorPos.top += (anchorRect.height - height);\n }\n else {\n anchorPos.top += (anchorRect.height);\n }\n break;\n }\n anchorPos.left += offsetX;\n anchorPos.top += offsetY;\n return anchorPos;\n };\n Popup.prototype.callFlip = function (param) {\n var relateToElement = this.getRelateToElement();\n flip(this.element, relateToElement, this.offsetX, this.offsetY, this.position.X, this.position.Y, this.viewPortElement, param, this.fixedParent);\n };\n Popup.prototype.callFit = function (param) {\n if (isCollide(this.element, this.viewPortElement).length !== 0) {\n if (isNullOrUndefined(this.viewPortElement)) {\n var data = fit(this.element, this.viewPortElement, param);\n if (param.X) {\n this.element.style.left = data.left + 'px';\n }\n if (param.Y) {\n this.element.style.top = data.top + 'px';\n }\n }\n else {\n var elementRect = this.checkGetBoundingClientRect(this.element);\n var viewPortRect = this.checkGetBoundingClientRect(this.viewPortElement);\n if (isNullOrUndefined(elementRect) || isNullOrUndefined(viewPortRect)) {\n return null;\n }\n if (param && param.Y === true) {\n if (viewPortRect.top > elementRect.top) {\n this.element.style.top = '0px';\n }\n else if (viewPortRect.bottom < elementRect.bottom) {\n this.element.style.top = parseInt(this.element.style.top, 10) - (elementRect.bottom - viewPortRect.bottom) + 'px';\n }\n }\n if (param && param.X === true) {\n if (viewPortRect.right < elementRect.right) {\n this.element.style.left = parseInt(this.element.style.left, 10) - (elementRect.right - viewPortRect.right) + 'px';\n }\n else if (viewPortRect.left > elementRect.left) {\n this.element.style.left = parseInt(this.element.style.left, 10) + (viewPortRect.left - elementRect.left) + 'px';\n }\n }\n }\n }\n };\n Popup.prototype.checkCollision = function () {\n var horz = this.collision.X;\n var vert = this.collision.Y;\n if (horz === 'none' && vert === 'none') {\n return;\n }\n if (horz === 'flip' && vert === 'flip') {\n this.callFlip({ X: true, Y: true });\n }\n else if (horz === 'fit' && vert === 'fit') {\n this.callFit({ X: true, Y: true });\n }\n else {\n if (horz === 'flip') {\n this.callFlip({ X: true, Y: false });\n }\n else if (vert === 'flip') {\n this.callFlip({ Y: true, X: false });\n }\n if (horz === 'fit') {\n this.callFit({ X: true, Y: false });\n }\n else if (vert === 'fit') {\n this.callFit({ X: false, Y: true });\n }\n }\n };\n /**\n * Shows the popup element from screen.\n *\n * @returns {void}\n * @param {AnimationModel} animationOptions - specifies the model\n * @param { HTMLElement } relativeElement - To calculate the zIndex value dynamically.\n */\n Popup.prototype.show = function (animationOptions, relativeElement) {\n var _this = this;\n var relateToElement = this.getRelateToElement();\n if (relateToElement.classList.contains('e-filemanager')) {\n this.fmDialogContainer = this.element.getElementsByClassName('e-file-select-wrap')[0];\n }\n this.wireEvents();\n if (!isNullOrUndefined(this.fmDialogContainer) && Browser.isIos) {\n this.fmDialogContainer.style.display = 'block';\n }\n if (this.zIndex === 1000 || !isNullOrUndefined(relativeElement)) {\n var zIndexElement = (isNullOrUndefined(relativeElement)) ? this.element : relativeElement;\n this.zIndex = getZindexPartial(zIndexElement);\n setStyleAttribute(this.element, { 'zIndex': this.zIndex });\n }\n animationOptions = (!isNullOrUndefined(animationOptions) && typeof animationOptions === 'object') ?\n animationOptions : this.showAnimation;\n if (this.collision.X !== 'none' || this.collision.Y !== 'none') {\n removeClass([this.element], CLASSNAMES.CLOSE);\n addClass([this.element], CLASSNAMES.OPEN);\n this.checkCollision();\n removeClass([this.element], CLASSNAMES.OPEN);\n addClass([this.element], CLASSNAMES.CLOSE);\n }\n if (!isNullOrUndefined(animationOptions)) {\n animationOptions.begin = function () {\n if (!_this.isDestroyed) {\n removeClass([_this.element], CLASSNAMES.CLOSE);\n addClass([_this.element], CLASSNAMES.OPEN);\n }\n };\n animationOptions.end = function () {\n if (!_this.isDestroyed) {\n _this.trigger('open');\n }\n };\n new Animation(animationOptions).animate(this.element);\n }\n else {\n removeClass([this.element], CLASSNAMES.CLOSE);\n addClass([this.element], CLASSNAMES.OPEN);\n this.trigger('open');\n }\n };\n /**\n * Hides the popup element from screen.\n *\n * @param {AnimationModel} animationOptions - To give the animation options.\n * @returns {void}\n */\n Popup.prototype.hide = function (animationOptions) {\n var _this = this;\n animationOptions = (!isNullOrUndefined(animationOptions) && typeof animationOptions === 'object') ?\n animationOptions : this.hideAnimation;\n if (!isNullOrUndefined(animationOptions)) {\n animationOptions.end = function () {\n if (!_this.isDestroyed) {\n removeClass([_this.element], CLASSNAMES.OPEN);\n addClass([_this.element], CLASSNAMES.CLOSE);\n _this.trigger('close');\n }\n };\n new Animation(animationOptions).animate(this.element);\n }\n else {\n removeClass([this.element], CLASSNAMES.OPEN);\n addClass([this.element], CLASSNAMES.CLOSE);\n this.trigger('close');\n }\n this.unwireEvents();\n };\n /**\n * Gets scrollable parent elements for the given element.\n *\n * @returns {void}\n * @param { HTMLElement } element - Specify the element to get the scrollable parents of it.\n */\n Popup.prototype.getScrollableParent = function (element) {\n this.checkFixedParent(element);\n return getScrollableParent(element, this.fixedParent);\n };\n Popup.prototype.checkFixedParent = function (element) {\n var parent = element.parentElement;\n while (parent && parent.tagName !== 'HTML') {\n var parentStyle = getComputedStyle(parent);\n if (parentStyle.position === 'fixed' && !isNullOrUndefined(this.element) && this.element.offsetParent &&\n this.element.offsetParent.tagName === 'BODY' && getComputedStyle(this.element.offsetParent).overflow !== 'hidden') {\n this.element.style.top = window.scrollY > parseInt(this.element.style.top, 10) ?\n formatUnit(window.scrollY - parseInt(this.element.style.top, 10))\n : formatUnit(parseInt(this.element.style.top, 10) - window.scrollY);\n this.element.style.position = 'fixed';\n this.fixedParent = true;\n }\n parent = parent.parentElement;\n if (!isNullOrUndefined(this.element) && isNullOrUndefined(this.element.offsetParent) && parentStyle.position === 'fixed'\n && this.element.style.position === 'fixed') {\n this.fixedParent = true;\n }\n }\n };\n __decorate([\n Property('auto')\n ], Popup.prototype, \"height\", void 0);\n __decorate([\n Property('auto')\n ], Popup.prototype, \"width\", void 0);\n __decorate([\n Property(null)\n ], Popup.prototype, \"content\", void 0);\n __decorate([\n Property('container')\n ], Popup.prototype, \"targetType\", void 0);\n __decorate([\n Property(null)\n ], Popup.prototype, \"viewPortElement\", void 0);\n __decorate([\n Property({ X: 'none', Y: 'none' })\n ], Popup.prototype, \"collision\", void 0);\n __decorate([\n Property('')\n ], Popup.prototype, \"relateTo\", void 0);\n __decorate([\n Complex({}, PositionData)\n ], Popup.prototype, \"position\", void 0);\n __decorate([\n Property(0)\n ], Popup.prototype, \"offsetX\", void 0);\n __decorate([\n Property(0)\n ], Popup.prototype, \"offsetY\", void 0);\n __decorate([\n Property(1000)\n ], Popup.prototype, \"zIndex\", void 0);\n __decorate([\n Property(false)\n ], Popup.prototype, \"enableRtl\", void 0);\n __decorate([\n Property('reposition')\n ], Popup.prototype, \"actionOnScroll\", void 0);\n __decorate([\n Property(null)\n ], Popup.prototype, \"showAnimation\", void 0);\n __decorate([\n Property(null)\n ], Popup.prototype, \"hideAnimation\", void 0);\n __decorate([\n Event()\n ], Popup.prototype, \"open\", void 0);\n __decorate([\n Event()\n ], Popup.prototype, \"close\", void 0);\n __decorate([\n Event()\n ], Popup.prototype, \"targetExitViewport\", void 0);\n Popup = __decorate([\n NotifyPropertyChanges\n ], Popup);\n return Popup;\n}(Component));\n/**\n * Gets scrollable parent elements for the given element.\n *\n * @param { HTMLElement } element - Specify the element to get the scrollable parents of it.\n * @param {boolean} fixedParent - specifies the parent element\n * @private\n * @returns {void}\n */\nfunction getScrollableParent(element, fixedParent) {\n var eleStyle = getComputedStyle(element);\n var scrollParents = [];\n var overflowRegex = /(auto|scroll)/;\n var parent = element.parentElement;\n while (parent && parent.tagName !== 'HTML') {\n var parentStyle = getComputedStyle(parent);\n if (!(eleStyle.position === 'absolute' && parentStyle.position === 'static')\n && overflowRegex.test(parentStyle.overflow + parentStyle.overflowY + parentStyle.overflowX)) {\n scrollParents.push(parent);\n }\n parent = parent.parentElement;\n }\n if (!fixedParent) {\n scrollParents.push(document);\n }\n return scrollParents;\n}\n/**\n * Gets the maximum z-index of the given element.\n *\n * @returns {void}\n * @param { HTMLElement } element - Specify the element to get the maximum z-index of it.\n * @private\n */\nfunction getZindexPartial(element) {\n // upto body traversal\n var parent = element.parentElement;\n var parentZindex = [];\n while (parent) {\n if (parent.tagName !== 'BODY') {\n var index = document.defaultView.getComputedStyle(parent, null).getPropertyValue('z-index');\n var position = document.defaultView.getComputedStyle(parent, null).getPropertyValue('position');\n if (index !== 'auto' && position !== 'static') {\n parentZindex.push(index);\n }\n parent = parent.parentElement;\n }\n else {\n break;\n }\n }\n var childrenZindex = [];\n for (var i = 0; i < document.body.children.length; i++) {\n if (!element.isEqualNode(document.body.children[i])) {\n var index = document.defaultView.getComputedStyle(document.body.children[i], null).getPropertyValue('z-index');\n var position = document.defaultView.getComputedStyle(document.body.children[i], null).getPropertyValue('position');\n if (index !== 'auto' && position !== 'static') {\n childrenZindex.push(index);\n }\n }\n }\n childrenZindex.push('999');\n var siblingsZindex = [];\n if (!isNullOrUndefined(element.parentElement) && element.parentElement.tagName !== 'BODY') {\n var childNodes = [].slice.call(element.parentElement.children);\n for (var i = 0; i < childNodes.length; i++) {\n if (!element.isEqualNode(childNodes[i])) {\n var index = document.defaultView.getComputedStyle(childNodes[i], null).getPropertyValue('z-index');\n var position = document.defaultView.getComputedStyle(childNodes[i], null).getPropertyValue('position');\n if (index !== 'auto' && position !== 'static') {\n siblingsZindex.push(index);\n }\n }\n }\n }\n var finalValue = parentZindex.concat(childrenZindex, siblingsZindex);\n // eslint-disable-next-line\n var currentZindexValue = Math.max.apply(Math, finalValue) + 1;\n return currentZindexValue > 2147483647 ? 2147483647 : currentZindexValue;\n}\n/**\n * Gets the maximum z-index of the page.\n *\n * @returns {void}\n * @param { HTMLElement } tagName - Specify the tagName to get the maximum z-index of it.\n * @private\n */\nfunction getMaxZindex(tagName) {\n if (tagName === void 0) { tagName = ['*']; }\n var maxZindex = [];\n for (var i = 0; i < tagName.length; i++) {\n var elements = document.getElementsByTagName(tagName[i]);\n for (var i_1 = 0; i_1 < elements.length; i_1++) {\n var index = document.defaultView.getComputedStyle(elements[i_1], null).getPropertyValue('z-index');\n var position = document.defaultView.getComputedStyle(elements[i_1], null).getPropertyValue('position');\n if (index !== 'auto' && position !== 'static') {\n maxZindex.push(index);\n }\n }\n }\n // eslint-disable-next-line\n var currentZindexValue = Math.max.apply(Math, maxZindex) + 1;\n return currentZindexValue > 2147483647 ? 2147483647 : currentZindexValue;\n}\n\n/**\n * Popup Components\n */\n\n/**\n * Popup Components\n */\n\n/**\n * Resize library\n */\n/* eslint-disable */\nvar elementClass = ['north-west', 'north', 'north-east', 'west', 'east', 'south-west', 'south', 'south-east'];\nvar RESIZE_HANDLER = 'e-resize-handle';\nvar FOCUSED_HANDLER = 'e-focused-handle';\nvar DIALOG_RESIZABLE = 'e-dlg-resizable';\nvar RESTRICT_LEFT = ['e-restrict-left'];\nvar RESIZE_WITHIN_VIEWPORT = 'e-resize-viewport';\nvar dialogBorderResize = ['north', 'west', 'east', 'south'];\nvar targetElement;\nvar selectedHandler;\nvar originalWidth = 0;\nvar originalHeight = 0;\nvar originalX = 0;\nvar originalY = 0;\nvar originalMouseX = 0;\nvar originalMouseY = 0;\nvar minHeight;\nvar maxHeight;\nvar minWidth;\nvar maxWidth;\nvar containerElement;\nvar resizeStart = null;\nvar resize = null;\nvar resizeEnd = null;\n/* eslint-enable */\nvar resizeWestWidth;\nvar setLeft = true;\nvar previousWidth = 0;\nvar setWidth = true;\n// eslint-disable-next-line\nvar proxy;\n/**\n *\n * @param {ResizeArgs} args - specifies the resize args\n * @returns {void}\n */\nfunction createResize(args) {\n resizeStart = args.resizeBegin;\n resize = args.resizing;\n resizeEnd = args.resizeComplete;\n targetElement = getDOMElement(args.element);\n containerElement = getDOMElement(args.boundary);\n var directions = args.direction.split(' ');\n for (var i = 0; i < directions.length; i++) {\n if (dialogBorderResize.indexOf(directions[i]) >= 0 && directions[i]) {\n setBorderResizeElm(directions[i]);\n }\n else if (directions[i].trim() !== '') {\n var resizeHandler = createElement('div', { className: 'e-icons ' + RESIZE_HANDLER + ' ' + 'e-' + directions[i] });\n targetElement.appendChild(resizeHandler);\n }\n }\n minHeight = args.minHeight;\n minWidth = args.minWidth;\n maxWidth = args.maxWidth;\n maxHeight = args.maxHeight;\n if (args.proxy && args.proxy.element && args.proxy.element.classList.contains('e-dialog')) {\n wireEvents(args.proxy);\n }\n else {\n wireEvents();\n }\n}\n/**\n *\n * @param {string} direction - specifies the string\n * @returns {void}\n */\nfunction setBorderResizeElm(direction) {\n calculateValues();\n var borderBottom = createElement('span', {\n attrs: {\n 'unselectable': 'on', 'contenteditable': 'false'\n }\n });\n borderBottom.setAttribute('class', 'e-dialog-border-resize e-' + direction);\n if (direction === 'south') {\n borderBottom.style.height = '2px';\n borderBottom.style.width = '100%';\n borderBottom.style.bottom = '0px';\n borderBottom.style.left = '0px';\n }\n if (direction === 'north') {\n borderBottom.style.height = '2px';\n borderBottom.style.width = '100%';\n borderBottom.style.top = '0px';\n borderBottom.style.left = '0px';\n }\n if (direction === 'east') {\n borderBottom.style.height = '100%';\n borderBottom.style.width = '2px';\n borderBottom.style.right = '0px';\n borderBottom.style.top = '0px';\n }\n if (direction === 'west') {\n borderBottom.style.height = '100%';\n borderBottom.style.width = '2px';\n borderBottom.style.left = '0px';\n borderBottom.style.top = '0px';\n }\n targetElement.appendChild(borderBottom);\n}\n/**\n *\n * @param {string} element - specifies the element\n * @returns {HTMLElement} - returns the element\n */\nfunction getDOMElement(element) {\n var domElement;\n if (!isNullOrUndefined(element)) {\n if (typeof (element) === 'string') {\n domElement = document.querySelector(element);\n }\n else {\n domElement = element;\n }\n }\n return domElement;\n}\n// eslint-disable-next-line\nfunction wireEvents(args) {\n if (isNullOrUndefined(args)) {\n args = this;\n }\n var resizers = targetElement.querySelectorAll('.' + RESIZE_HANDLER);\n for (var i = 0; i < resizers.length; i++) {\n selectedHandler = resizers[i];\n EventHandler.add(selectedHandler, 'mousedown', onMouseDown, args);\n var eventName = (Browser.info.name === 'msie') ? 'pointerdown' : 'touchstart';\n EventHandler.add(selectedHandler, eventName, onTouchStart, args);\n }\n var borderResizers = targetElement.querySelectorAll('.e-dialog-border-resize');\n if (!isNullOrUndefined(borderResizers)) {\n for (var i = 0; i < borderResizers.length; i++) {\n selectedHandler = borderResizers[i];\n EventHandler.add(selectedHandler, 'mousedown', onMouseDown, args);\n var eventName = (Browser.info.name === 'msie') ? 'pointerdown' : 'touchstart';\n EventHandler.add(selectedHandler, eventName, onTouchStart, args);\n }\n }\n}\n/* istanbul ignore next */\n/**\n *\n * @param {string} e - specifies the string\n * @returns {string} - returns the string\n */\nfunction getEventType(e) {\n return (e.indexOf('mouse') > -1) ? 'mouse' : 'touch';\n}\n/* istanbul ignore next */\n/**\n *\n * @param {MouseEvent} e - specifies the mouse event\n * @returns {void}\n */\nfunction onMouseDown(e) {\n e.preventDefault();\n targetElement = e.target.parentElement;\n calculateValues();\n originalMouseX = e.pageX;\n originalMouseY = e.pageY;\n e.target.classList.add(FOCUSED_HANDLER);\n if (!isNullOrUndefined(resizeStart)) {\n proxy = this;\n if (resizeStart(e, proxy) === true) {\n return;\n }\n }\n if (this.targetEle && targetElement && targetElement.querySelector('.' + DIALOG_RESIZABLE)) {\n containerElement = this.target === ('body' || 'document.body' || document.body) ? null : this.targetEle;\n maxWidth = this.targetEle.clientWidth;\n maxHeight = this.targetEle.clientHeight;\n }\n var target = (isNullOrUndefined(containerElement)) ? document : containerElement;\n EventHandler.add(target, 'mousemove', onMouseMove, this);\n EventHandler.add(document, 'mouseup', onMouseUp, this);\n for (var i = 0; i < RESTRICT_LEFT.length; i++) {\n if (targetElement.classList.contains(RESTRICT_LEFT[i])) {\n setLeft = false;\n }\n else {\n setLeft = true;\n }\n }\n}\n/* istanbul ignore next */\n/**\n *\n * @param {MouseEvent} e - specifies the event\n * @returns {void}\n */\nfunction onMouseUp(e) {\n var touchMoveEvent = (Browser.info.name === 'msie') ? 'pointermove' : 'touchmove';\n var touchEndEvent = (Browser.info.name === 'msie') ? 'pointerup' : 'touchend';\n var target = (isNullOrUndefined(containerElement)) ? document : containerElement;\n var eventName = (Browser.info.name === 'msie') ? 'pointerdown' : 'touchstart';\n EventHandler.remove(target, 'mousemove', onMouseMove);\n EventHandler.remove(target, touchMoveEvent, onMouseMove);\n EventHandler.remove(target, eventName, onMouseMove);\n if (!isNullOrUndefined(document.body.querySelector('.' + FOCUSED_HANDLER))) {\n document.body.querySelector('.' + FOCUSED_HANDLER).classList.remove(FOCUSED_HANDLER);\n }\n if (!isNullOrUndefined(resizeEnd)) {\n proxy = this;\n resizeEnd(e, proxy);\n }\n EventHandler.remove(document, 'mouseup', onMouseUp);\n EventHandler.remove(document, touchEndEvent, onMouseUp);\n}\n/* istanbul ignore next */\n/**\n * @returns {void}\n */\nfunction calculateValues() {\n originalWidth = parseFloat(getComputedStyle(targetElement, null).getPropertyValue('width').replace('px', ''));\n originalHeight = parseFloat(getComputedStyle(targetElement, null).getPropertyValue('height').replace('px', ''));\n originalX = targetElement.getBoundingClientRect().left;\n originalY = targetElement.getBoundingClientRect().top;\n}\n/* istanbul ignore next */\n/**\n *\n * @param {MouseEvent} e - specifies the event\n * @returns {void}\n */\nfunction onTouchStart(e) {\n targetElement = e.target.parentElement;\n calculateValues();\n var dialogResizeElement = targetElement.classList.contains('e-dialog');\n if ((e.target.classList.contains(RESIZE_HANDLER) || e.target.classList.contains('e-dialog-border-resize')) && dialogResizeElement) {\n e.target.classList.add(FOCUSED_HANDLER);\n }\n var coordinates = e.touches ? e.changedTouches[0] : e;\n originalMouseX = coordinates.pageX;\n originalMouseY = coordinates.pageY;\n if (!isNullOrUndefined(resizeStart)) {\n proxy = this;\n if (resizeStart(e, proxy) === true) {\n return;\n }\n }\n var touchMoveEvent = (Browser.info.name === 'msie') ? 'pointermove' : 'touchmove';\n var touchEndEvent = (Browser.info.name === 'msie') ? 'pointerup' : 'touchend';\n var target = (isNullOrUndefined(containerElement)) ? document : containerElement;\n EventHandler.add(target, touchMoveEvent, onMouseMove, this);\n EventHandler.add(document, touchEndEvent, onMouseUp, this);\n}\n/* istanbul ignore next */\n/**\n *\n * @param {MouseEvent} e - specifies the event\n * @returns {void}\n */\nfunction onMouseMove(e) {\n if (e.target.classList.contains(RESIZE_HANDLER) && e.target.classList.contains(FOCUSED_HANDLER)) {\n selectedHandler = e.target;\n }\n else if (!isNullOrUndefined(document.body.querySelector('.' + FOCUSED_HANDLER))) {\n selectedHandler = document.body.querySelector('.' + FOCUSED_HANDLER);\n }\n if (!isNullOrUndefined(selectedHandler)) {\n var resizeTowards = '';\n for (var i = 0; i < elementClass.length; i++) {\n if (selectedHandler.classList.contains('e-' + elementClass[i])) {\n resizeTowards = elementClass[i];\n }\n }\n if (!isNullOrUndefined(resize)) {\n proxy = this;\n resize(e, proxy);\n }\n switch (resizeTowards) {\n case 'south':\n resizeSouth(e);\n break;\n case 'north':\n resizeNorth(e);\n break;\n case 'west':\n resizeWest(e);\n break;\n case 'east':\n resizeEast(e);\n break;\n case 'south-east':\n resizeSouth(e);\n resizeEast(e);\n break;\n case 'south-west':\n resizeSouth(e);\n resizeWest(e);\n break;\n case 'north-east':\n resizeNorth(e);\n resizeEast(e);\n break;\n case 'north-west':\n resizeNorth(e);\n resizeWest(e);\n break;\n default: break;\n }\n }\n}\n/* istanbul ignore next */\n/**\n *\n * @param {HTMLElement} element - specifies the eleemnt\n * @returns {ClientRect} - returns the client\n */\nfunction getClientRectValues(element) {\n return element.getBoundingClientRect();\n}\n/* istanbul ignore next */\n// eslint-disable-next-line\nfunction resizeSouth(e) {\n var documentHeight = document.documentElement.clientHeight;\n var calculateValue = false;\n var coordinates = e.touches ? e.changedTouches[0] : e;\n var currentpageY = coordinates.pageY;\n var targetRectValues = getClientRectValues(targetElement);\n var containerRectValues;\n if (!isNullOrUndefined(containerElement)) {\n containerRectValues = getClientRectValues(containerElement);\n }\n if (!isNullOrUndefined(containerElement)) {\n calculateValue = true;\n }\n else if (isNullOrUndefined(containerElement) && ((documentHeight - currentpageY) >= 0 || (targetRectValues.top < 0))) {\n calculateValue = true;\n }\n var calculatedHeight = originalHeight + (currentpageY - originalMouseY);\n calculatedHeight = (calculatedHeight > minHeight) ? calculatedHeight : minHeight;\n var containerTop = 0;\n if (!isNullOrUndefined(containerElement)) {\n containerTop = containerRectValues.top;\n }\n var borderValue = isNullOrUndefined(containerElement) ? 0 : containerElement.offsetHeight - containerElement.clientHeight;\n var topWithoutborder = (targetRectValues.top - containerTop) - (borderValue / 2);\n topWithoutborder = (topWithoutborder < 0) ? 0 : topWithoutborder;\n if (targetRectValues.top > 0 && (topWithoutborder + calculatedHeight) > maxHeight) {\n calculateValue = false;\n if (targetElement.classList.contains(RESIZE_WITHIN_VIEWPORT)) {\n return;\n }\n targetElement.style.height = (maxHeight - parseInt(topWithoutborder.toString(), 10)) + 'px';\n return;\n }\n var targetTop = 0;\n if (calculateValue) {\n if (targetRectValues.top < 0 && (documentHeight + (targetRectValues.height + targetRectValues.top) > 0)) {\n targetTop = targetRectValues.top;\n if ((calculatedHeight + targetTop) <= 30) {\n calculatedHeight = (targetRectValues.height - (targetRectValues.height + targetRectValues.top)) + 30;\n }\n }\n if (((calculatedHeight + targetRectValues.top) >= maxHeight)) {\n targetElement.style.height = targetRectValues.height +\n (documentHeight - (targetRectValues.height + targetRectValues.top)) + 'px';\n }\n var calculatedTop = (isNullOrUndefined(containerElement)) ? targetTop : topWithoutborder;\n if (calculatedHeight >= minHeight && ((calculatedHeight + calculatedTop) <= maxHeight)) {\n targetElement.style.height = calculatedHeight + 'px';\n }\n }\n}\n/* istanbul ignore next */\n// eslint-disable-next-line\nfunction resizeNorth(e) {\n var calculateValue = false;\n var boundaryRectValues;\n var pageY = (getEventType(e.type) === 'mouse') ? e.pageY : e.touches[0].pageY;\n var targetRectValues = getClientRectValues(targetElement);\n if (!isNullOrUndefined(containerElement)) {\n boundaryRectValues = getClientRectValues(containerElement);\n }\n if (!isNullOrUndefined(containerElement) && (targetRectValues.top - boundaryRectValues.top) > 0) {\n calculateValue = true;\n }\n else if (isNullOrUndefined(containerElement) && pageY > 0) {\n calculateValue = true;\n }\n var currentHeight = originalHeight - (pageY - originalMouseY);\n if (calculateValue) {\n if (currentHeight >= minHeight && currentHeight <= maxHeight) {\n var containerTop = 0;\n if (!isNullOrUndefined(containerElement)) {\n containerTop = boundaryRectValues.top;\n }\n var top_1 = (originalY - containerTop) + (pageY - originalMouseY);\n top_1 = top_1 > 0 ? top_1 : 1;\n targetElement.style.height = currentHeight + 'px';\n targetElement.style.top = top_1 + 'px';\n }\n }\n}\n/* istanbul ignore next */\n// eslint-disable-next-line\nfunction resizeWest(e) {\n var documentWidth = document.documentElement.clientWidth;\n var calculateValue = false;\n var rectValues;\n if (!isNullOrUndefined(containerElement)) {\n rectValues = getClientRectValues(containerElement);\n }\n var pageX = (getEventType(e.type) === 'mouse') ? e.pageX : e.touches[0].pageX;\n var targetRectValues = getClientRectValues(targetElement);\n var borderValue = isNullOrUndefined(containerElement) ? 0 : containerElement.offsetWidth - containerElement.clientWidth;\n /* eslint-disable */\n var left = isNullOrUndefined(containerElement) ? 0 : rectValues.left;\n var containerWidth = isNullOrUndefined(containerElement) ? 0 : rectValues.width;\n /* eslint-enable */\n if (isNullOrUndefined(resizeWestWidth)) {\n if (!isNullOrUndefined(containerElement)) {\n resizeWestWidth = (((targetRectValues.left - left) - borderValue / 2)) + targetRectValues.width;\n resizeWestWidth = resizeWestWidth + (containerWidth - borderValue - resizeWestWidth);\n }\n else {\n resizeWestWidth = documentWidth;\n }\n }\n if (!isNullOrUndefined(containerElement) &&\n (Math.floor((targetRectValues.left - rectValues.left) + targetRectValues.width +\n (rectValues.right - targetRectValues.right)) - borderValue) <= maxWidth) {\n calculateValue = true;\n }\n else if (isNullOrUndefined(containerElement) && pageX >= 0) {\n calculateValue = true;\n }\n var calculatedWidth = originalWidth - (pageX - originalMouseX);\n if (setLeft) {\n calculatedWidth = (calculatedWidth > resizeWestWidth) ? resizeWestWidth : calculatedWidth;\n }\n if (calculateValue) {\n if (calculatedWidth >= minWidth && calculatedWidth <= maxWidth) {\n var containerLeft = 0;\n if (!isNullOrUndefined(containerElement)) {\n containerLeft = rectValues.left;\n }\n var left_1 = (originalX - containerLeft) + (pageX - originalMouseX);\n left_1 = (left_1 > 0) ? left_1 : 1;\n if (calculatedWidth !== previousWidth && setWidth) {\n targetElement.style.width = calculatedWidth + 'px';\n }\n if (setLeft) {\n targetElement.style.left = left_1 + 'px';\n if (left_1 === 1) {\n setWidth = false;\n }\n else {\n setWidth = true;\n }\n }\n }\n }\n previousWidth = calculatedWidth;\n}\n/* istanbul ignore next */\n// eslint-disable-next-line\nfunction resizeEast(e) {\n var documentWidth = document.documentElement.clientWidth;\n var calculateValue = false;\n var containerRectValues;\n if (!isNullOrUndefined(containerElement)) {\n containerRectValues = getClientRectValues(containerElement);\n }\n var coordinates = e.touches ? e.changedTouches[0] : e;\n var pageX = coordinates.pageX;\n var targetRectValues = getClientRectValues(targetElement);\n if (!isNullOrUndefined(containerElement) && (((targetRectValues.left - containerRectValues.left) + targetRectValues.width) <= maxWidth\n || (targetRectValues.right - containerRectValues.left) >= targetRectValues.width)) {\n calculateValue = true;\n }\n else if (isNullOrUndefined(containerElement) && (documentWidth - pageX) > 0) {\n calculateValue = true;\n }\n var calculatedWidth = originalWidth + (pageX - originalMouseX);\n var containerLeft = 0;\n if (!isNullOrUndefined(containerElement)) {\n containerLeft = containerRectValues.left;\n }\n if (((targetRectValues.left - containerLeft) + calculatedWidth) > maxWidth) {\n calculateValue = false;\n if (targetElement.classList.contains(RESIZE_WITHIN_VIEWPORT)) {\n return;\n }\n targetElement.style.width = maxWidth - (targetRectValues.left - containerLeft) + 'px';\n }\n if (calculateValue) {\n if (calculatedWidth >= minWidth && calculatedWidth <= maxWidth) {\n targetElement.style.width = calculatedWidth + 'px';\n }\n }\n}\n/* istanbul ignore next */\n/**\n *\n * @param {number} minimumHeight - specifies the number\n * @returns {void}\n */\nfunction setMinHeight(minimumHeight) {\n minHeight = minimumHeight;\n}\n/**\n *\n * @param {number} value - specifies the number value\n * @returns {void}\n */\nfunction setMaxWidth(value) {\n maxWidth = value;\n}\n/**\n *\n * @param {number} value - specifies the number value\n * @returns {void}\n */\nfunction setMaxHeight(value) {\n maxHeight = value;\n}\n/**\n * @returns {void}\n */\nfunction removeResize() {\n var handlers = targetElement.querySelectorAll('.' + RESIZE_HANDLER);\n for (var i = 0; i < handlers.length; i++) {\n detach(handlers[i]);\n }\n var borderResizers = targetElement.querySelectorAll('.e-dialog-border-resize');\n if (!isNullOrUndefined(borderResizers)) {\n for (var i = 0; i < borderResizers.length; i++) {\n detach(borderResizers[i]);\n }\n }\n}\n\nvar __extends$1 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar ButtonProps = /** @__PURE__ @class */ (function (_super) {\n __extends$1(ButtonProps, _super);\n function ButtonProps() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n __decorate$1([\n Property(true)\n ], ButtonProps.prototype, \"isFlat\", void 0);\n __decorate$1([\n Property()\n ], ButtonProps.prototype, \"buttonModel\", void 0);\n __decorate$1([\n Property('Button')\n ], ButtonProps.prototype, \"type\", void 0);\n __decorate$1([\n Event()\n ], ButtonProps.prototype, \"click\", void 0);\n return ButtonProps;\n}(ChildProperty));\n/**\n * Configures the animation properties for both open and close the dialog.\n */\nvar AnimationSettings = /** @__PURE__ @class */ (function (_super) {\n __extends$1(AnimationSettings, _super);\n function AnimationSettings() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n __decorate$1([\n Property('Fade')\n ], AnimationSettings.prototype, \"effect\", void 0);\n __decorate$1([\n Property(400)\n ], AnimationSettings.prototype, \"duration\", void 0);\n __decorate$1([\n Property(0)\n ], AnimationSettings.prototype, \"delay\", void 0);\n return AnimationSettings;\n}(ChildProperty));\nvar ROOT = 'e-dialog';\nvar RTL = 'e-rtl';\nvar DLG_HEADER_CONTENT = 'e-dlg-header-content';\nvar DLG_HEADER = 'e-dlg-header';\nvar DLG_FOOTER_CONTENT = 'e-footer-content';\nvar MODAL_DLG = 'e-dlg-modal';\nvar DLG_CONTENT = 'e-dlg-content';\nvar DLG_CLOSE_ICON = 'e-icon-dlg-close';\nvar DLG_OVERLAY = 'e-dlg-overlay';\nvar DLG_TARGET = 'e-dlg-target';\nvar DLG_CONTAINER = 'e-dlg-container';\nvar SCROLL_DISABLED = 'e-scroll-disabled';\nvar DLG_PRIMARY_BUTTON = 'e-primary';\nvar ICON = 'e-icons';\nvar POPUP_ROOT = 'e-popup';\nvar DEVICE = 'e-device';\nvar FULLSCREEN = 'e-dlg-fullscreen';\nvar DLG_CLOSE_ICON_BTN = 'e-dlg-closeicon-btn';\nvar DLG_HIDE = 'e-popup-close';\nvar DLG_SHOW = 'e-popup-open';\nvar DLG_UTIL_DEFAULT_TITLE = 'Information';\nvar DLG_UTIL_ROOT = 'e-scroll-disabled';\nvar DLG_UTIL_ALERT = 'e-alert-dialog';\nvar DLG_UTIL_CONFIRM = 'e-confirm-dialog';\nvar DLG_RESIZABLE = 'e-dlg-resizable';\nvar DLG_RESTRICT_LEFT_VALUE = 'e-restrict-left';\nvar DLG_RESTRICT_WIDTH_VALUE = 'e-resize-viewport';\nvar DLG_REF_ELEMENT = 'e-dlg-ref-element';\nvar DLG_USER_ACTION_CLOSED = 'user action';\nvar DLG_CLOSE_ICON_CLOSED = 'close icon';\nvar DLG_ESCAPE_CLOSED = 'escape';\nvar DLG_OVERLAYCLICK_CLOSED = 'overlayClick';\nvar DLG_DRAG = 'e-draggable';\n/**\n * Represents the dialog component that displays the information and get input from the user.\n * Two types of dialog components are `Modal and Modeless (non-modal)` depending on its interaction with parent application.\n * ```html\n *
    \n * ```\n * ```typescript\n * \n * ```\n */\nvar Dialog = /** @__PURE__ @class */ (function (_super) {\n __extends$1(Dialog, _super);\n /*\n * * Constructor for creating the widget\n *\n * @param\n * @param\n * @hidden\n */\n function Dialog(options, element) {\n var _this = _super.call(this, options, element) || this;\n _this.needsID = true;\n return _this;\n }\n /**\n *Initialize the control rendering\n *\n * @returns {void}\n * @private\n */\n Dialog.prototype.render = function () {\n this.initialize();\n this.initRender();\n this.wireEvents();\n if (this.width === '100%') {\n this.element.style.width = '';\n }\n if (this.minHeight !== '') {\n this.element.style.minHeight = formatUnit(this.minHeight);\n }\n if (this.enableResize) {\n this.setResize();\n if (this.animationSettings.effect === 'None') {\n this.getMinHeight();\n }\n }\n this.renderComplete();\n };\n Dialog.prototype.initializeValue = function () {\n this.dlgClosedBy = DLG_USER_ACTION_CLOSED;\n };\n /**\n *Initialize the event handler\n *\n * @returns {void}\n * @private\n */\n Dialog.prototype.preRender = function () {\n var _this = this;\n this.initializeValue();\n this.headerContent = null;\n this.allowMaxHeight = true;\n this.preventVisibility = true;\n this.clonedEle = this.element.cloneNode(true);\n this.closeIconClickEventHandler = function (event) {\n _this.dlgClosedBy = DLG_CLOSE_ICON_CLOSED;\n _this.hide(event);\n };\n this.dlgOverlayClickEventHandler = function (event) {\n _this.dlgClosedBy = DLG_OVERLAYCLICK_CLOSED;\n event.preventFocus = false;\n _this.trigger('overlayClick', event, function (overlayClickEventArgs) {\n if (!overlayClickEventArgs.preventFocus) {\n _this.focusContent();\n }\n _this.dlgClosedBy = DLG_USER_ACTION_CLOSED;\n });\n };\n var localeText = { close: 'Close' };\n this.l10n = new L10n('dialog', localeText, this.locale);\n this.checkPositionData();\n if (isNullOrUndefined(this.target)) {\n var prevOnChange = this.isProtectedOnChange;\n this.isProtectedOnChange = true;\n this.target = document.body;\n this.isProtectedOnChange = prevOnChange;\n }\n };\n Dialog.prototype.updatePersistData = function () {\n if (this.enablePersistence) {\n this.setProperties({ width: parseFloat(this.element.style.width), height: parseFloat(this.element.style.height),\n position: { X: parseFloat(this.dragObj.element.style.left), Y: parseFloat(this.dragObj.element.style.top) } }, true);\n }\n };\n Dialog.prototype.isNumberValue = function (value) {\n var isNumber = /^[-+]?\\d*\\.?\\d+$/.test(value);\n return isNumber;\n };\n Dialog.prototype.checkPositionData = function () {\n if (!isNullOrUndefined(this.position)) {\n if (!isNullOrUndefined(this.position.X) && (typeof (this.position.X) !== 'number')) {\n var isNumber = this.isNumberValue(this.position.X);\n if (isNumber) {\n var prevOnChange = this.isProtectedOnChange;\n this.isProtectedOnChange = true;\n this.position.X = parseFloat(this.position.X);\n this.isProtectedOnChange = prevOnChange;\n }\n }\n if (!isNullOrUndefined(this.position.Y) && (typeof (this.position.Y) !== 'number')) {\n var isNumber = this.isNumberValue(this.position.Y);\n if (isNumber) {\n var prevOnChange = this.isProtectedOnChange;\n this.isProtectedOnChange = true;\n this.position.Y = parseFloat(this.position.Y);\n this.isProtectedOnChange = prevOnChange;\n }\n }\n }\n };\n Dialog.prototype.getEle = function (list, selector) {\n var element = undefined;\n for (var i = 0; i < list.length; i++) {\n if (list[i].classList.contains(selector)) {\n element = list[i];\n break;\n }\n }\n return element;\n };\n /* istanbul ignore next */\n Dialog.prototype.getMinHeight = function () {\n var computedHeaderHeight = '0px';\n var computedFooterHeight = '0px';\n if (!isNullOrUndefined(this.element.querySelector('.' + DLG_HEADER_CONTENT))) {\n computedHeaderHeight = getComputedStyle(this.headerContent).height;\n }\n var footerEle = this.getEle(this.element.children, DLG_FOOTER_CONTENT);\n if (!isNullOrUndefined(footerEle)) {\n computedFooterHeight = getComputedStyle(footerEle).height;\n }\n var headerHeight = parseInt(computedHeaderHeight.slice(0, computedHeaderHeight.indexOf('p')), 10);\n var footerHeight = parseInt(computedFooterHeight.slice(0, computedFooterHeight.indexOf('p')), 10);\n setMinHeight(headerHeight + 30 + (isNaN(footerHeight) ? 0 : footerHeight));\n return (headerHeight + 30 + footerHeight);\n };\n Dialog.prototype.onResizeStart = function (args, dialogObj) {\n dialogObj.trigger('resizeStart', args);\n return args.cancel;\n };\n Dialog.prototype.onResizing = function (args, dialogObj) {\n dialogObj.trigger('resizing', args);\n };\n Dialog.prototype.onResizeComplete = function (args, dialogObj) {\n dialogObj.trigger('resizeStop', args);\n this.updatePersistData();\n };\n Dialog.prototype.setResize = function () {\n if (this.enableResize) {\n if (this.isBlazorServerRender() && !isNullOrUndefined(this.element.querySelector('.e-icons.e-resize-handle'))) {\n return;\n }\n this.element.classList.add(DLG_RESIZABLE);\n var computedHeight = getComputedStyle(this.element).minHeight;\n var computedWidth = getComputedStyle(this.element).minWidth;\n var direction = '';\n for (var i = 0; i < this.resizeHandles.length; i++) {\n if (this.resizeHandles[i] === 'All') {\n direction = 'south north east west north-east north-west south-east south-west';\n break;\n }\n else {\n var directionValue = '';\n switch (this.resizeHandles[i].toString()) {\n case 'SouthEast':\n directionValue = 'south-east';\n break;\n case 'SouthWest':\n directionValue = 'south-west';\n break;\n case 'NorthEast':\n directionValue = 'north-east';\n break;\n case 'NorthWest':\n directionValue = 'north-west';\n break;\n default:\n directionValue = this.resizeHandles[i].toString();\n break;\n }\n direction += directionValue.toLocaleLowerCase() + ' ';\n }\n }\n if (this.enableRtl && direction.trim() === 'south-east') {\n direction = 'south-west';\n }\n else if (this.enableRtl && direction.trim() === 'south-west') {\n direction = 'south-east';\n }\n if (this.isModal && this.enableRtl) {\n this.element.classList.add(DLG_RESTRICT_LEFT_VALUE);\n }\n else if (this.isModal && this.target === document.body) {\n this.element.classList.add(DLG_RESTRICT_WIDTH_VALUE);\n }\n createResize({\n element: this.element,\n direction: direction,\n minHeight: parseInt(computedHeight.slice(0, computedWidth.indexOf('p')), 10),\n maxHeight: this.targetEle.clientHeight,\n minWidth: parseInt(computedWidth.slice(0, computedWidth.indexOf('p')), 10),\n maxWidth: this.targetEle.clientWidth,\n boundary: this.target === document.body ? null : this.targetEle,\n resizeBegin: this.onResizeStart.bind(this),\n resizeComplete: this.onResizeComplete.bind(this),\n resizing: this.onResizing.bind(this),\n proxy: this\n });\n this.wireWindowResizeEvent();\n }\n else {\n removeResize();\n this.unWireWindowResizeEvent();\n if (this.isModal) {\n this.element.classList.remove(DLG_RESTRICT_LEFT_VALUE);\n }\n else {\n this.element.classList.remove(DLG_RESTRICT_WIDTH_VALUE);\n }\n this.element.classList.remove(DLG_RESIZABLE);\n }\n };\n Dialog.prototype.getFocusElement = function (target) {\n var value = 'input,select,textarea,button:enabled,a,[contenteditable=\"true\"],[tabindex]';\n var items = target.querySelectorAll(value);\n return { element: items[items.length - 1] };\n };\n /* istanbul ignore next */\n Dialog.prototype.keyDown = function (event) {\n var _this = this;\n if (event.keyCode === 9) {\n if (this.isModal) {\n var buttonObj = void 0;\n if (!isNullOrUndefined(this.btnObj)) {\n buttonObj = this.btnObj[this.btnObj.length - 1];\n }\n if ((isNullOrUndefined(this.btnObj)) && (!isNullOrUndefined(this.ftrTemplateContent))) {\n buttonObj = this.getFocusElement(this.ftrTemplateContent);\n }\n if (isNullOrUndefined(this.btnObj) && isNullOrUndefined(this.ftrTemplateContent) && !isNullOrUndefined(this.contentEle)) {\n buttonObj = this.getFocusElement(this.contentEle);\n }\n if (!isNullOrUndefined(buttonObj) && document.activeElement === buttonObj.element && !event.shiftKey) {\n event.preventDefault();\n this.focusableElements(this.element).focus();\n }\n if (document.activeElement === this.focusableElements(this.element) && event.shiftKey) {\n event.preventDefault();\n if (!isNullOrUndefined(buttonObj)) {\n buttonObj.element.focus();\n }\n }\n }\n }\n var element = document.activeElement;\n var isTagName = (['input', 'textarea'].indexOf(element.tagName.toLowerCase()) > -1);\n var isContentEdit = false;\n if (!isTagName) {\n isContentEdit = element.hasAttribute('contenteditable') && element.getAttribute('contenteditable') === 'true';\n }\n if (event.keyCode === 27 && this.closeOnEscape) {\n this.dlgClosedBy = DLG_ESCAPE_CLOSED;\n var query = document.querySelector('.e-popup-open:not(.e-dialog)');\n // 'document.querySelector' is used to find the elements rendered based on body\n if (!(!isNullOrUndefined(query) && !query.classList.contains('e-toolbar-pop'))) {\n this.hide(event);\n }\n }\n if ((event.keyCode === 13 && !event.ctrlKey && element.tagName.toLowerCase() !== 'textarea' &&\n isTagName && !isNullOrUndefined(this.primaryButtonEle)) ||\n (event.keyCode === 13 && event.ctrlKey && (element.tagName.toLowerCase() === 'textarea' ||\n isContentEdit)) && !isNullOrUndefined(this.primaryButtonEle)) {\n var buttonIndex_1;\n var firstPrimary = this.buttons.some(function (data, index) {\n buttonIndex_1 = index;\n // eslint-disable-next-line\n var buttonModel = data.buttonModel;\n return !isNullOrUndefined(buttonModel) && buttonModel.isPrimary === true;\n });\n if (firstPrimary && typeof (this.buttons[buttonIndex_1].click) === 'function') {\n setTimeout(function () {\n _this.buttons[buttonIndex_1].click.call(_this, event);\n });\n }\n }\n };\n /**\n * Initialize the control rendering\n *\n * @returns {void}\n * @private\n */\n Dialog.prototype.initialize = function () {\n if (!isNullOrUndefined(this.target)) {\n this.targetEle = ((typeof this.target) === 'string') ?\n document.querySelector(this.target) : this.target;\n }\n if (!this.isBlazorServerRender()) {\n addClass([this.element], ROOT);\n }\n if (Browser.isDevice) {\n addClass([this.element], DEVICE);\n }\n if (!this.isBlazorServerRender()) {\n this.setCSSClass();\n }\n this.setMaxHeight();\n };\n /**\n * Initialize the rendering\n *\n * @returns {void}\n * @private\n */\n Dialog.prototype.initRender = function () {\n var _this = this;\n this.initialRender = true;\n if (!this.isBlazorServerRender()) {\n attributes(this.element, { role: 'dialog' });\n }\n if (this.zIndex === 1000) {\n this.setzIndex(this.element, false);\n this.calculatezIndex = true;\n }\n else {\n this.calculatezIndex = false;\n }\n if (this.isBlazorServerRender() && isNullOrUndefined(this.headerContent)) {\n this.headerContent = this.element.getElementsByClassName('e-dlg-header-content')[0];\n }\n if (this.isBlazorServerRender() && isNullOrUndefined(this.contentEle)) {\n this.contentEle = this.element.querySelector('#' + this.element.id + '_dialog-content');\n }\n if (!this.isBlazorServerRender()) {\n this.setTargetContent();\n if (this.header !== '' && !isNullOrUndefined(this.header)) {\n this.setHeader();\n }\n this.renderCloseIcon();\n this.setContent();\n if (this.footerTemplate !== '' && !isNullOrUndefined(this.footerTemplate)) {\n this.setFooterTemplate();\n }\n else if (!isNullOrUndefined(this.buttons[0].buttonModel)) {\n this.setButton();\n }\n }\n if (this.isBlazorServerRender()) {\n if (!isNullOrUndefined(this.buttons[0].buttonModel) && this.footerTemplate === '') {\n this.setButton();\n }\n }\n if (this.allowDragging && (!isNullOrUndefined(this.headerContent))) {\n this.setAllowDragging();\n }\n if (!this.isBlazorServerRender()) {\n attributes(this.element, { 'aria-modal': (this.isModal ? 'true' : 'false') });\n if (this.isModal) {\n this.setIsModal();\n }\n }\n if (this.isBlazorServerRender() && isNullOrUndefined(this.dlgContainer)) {\n this.dlgContainer = this.element.parentElement;\n for (var i = 0, childNodes = this.dlgContainer.children; i < childNodes.length; i++) {\n if (childNodes[i].classList.contains('e-dlg-overlay')) {\n this.dlgOverlay = childNodes[i];\n }\n }\n }\n if (this.element.classList.contains(DLG_UTIL_ALERT) !== true && this.element.classList.contains(DLG_UTIL_CONFIRM) !== true\n && !isNullOrUndefined(this.element.parentElement)) {\n var parentEle = this.isModal ? this.dlgContainer.parentElement : this.element.parentElement;\n this.refElement = this.createElement('div', { className: DLG_REF_ELEMENT });\n parentEle.insertBefore(this.refElement, (this.isModal ? this.dlgContainer : this.element));\n }\n if (!isNullOrUndefined(this.targetEle)) {\n // eslint-disable-next-line\n this.isModal ? this.targetEle.appendChild(this.dlgContainer) : this.targetEle.appendChild(this.element);\n }\n this.popupObj = new Popup(this.element, {\n height: this.height,\n width: this.width,\n zIndex: this.zIndex,\n relateTo: this.target,\n actionOnScroll: 'none',\n enableRtl: this.enableRtl,\n // eslint-disable-next-line\n open: function (event) {\n var eventArgs = {\n container: _this.isModal ? _this.dlgContainer : _this.element,\n element: _this.element,\n target: _this.target,\n preventFocus: false\n };\n if (_this.enableResize) {\n _this.resetResizeIcon();\n }\n _this.trigger('open', eventArgs, function (openEventArgs) {\n if (!openEventArgs.preventFocus) {\n _this.focusContent();\n }\n });\n },\n // eslint-disable-next-line\n close: function (event) {\n if (_this.isModal) {\n addClass([_this.dlgOverlay], 'e-fade');\n }\n _this.unBindEvent(_this.element);\n if (_this.isModal) {\n _this.dlgContainer.style.display = 'none';\n }\n _this.trigger('close', _this.closeArgs);\n var activeEle = document.activeElement;\n if (!isNullOrUndefined(activeEle) && !isNullOrUndefined((activeEle).blur)) {\n activeEle.blur();\n }\n if (!isNullOrUndefined(_this.storeActiveElement) && !isNullOrUndefined(_this.storeActiveElement.focus)) {\n _this.storeActiveElement.focus();\n }\n }\n });\n this.positionChange();\n this.setEnableRTL();\n if (!this.isBlazorServerRender()) {\n addClass([this.element], DLG_HIDE);\n if (this.isModal) {\n this.setOverlayZindex();\n }\n }\n if (this.visible) {\n this.show();\n }\n else {\n if (this.isModal) {\n this.dlgOverlay.style.display = 'none';\n }\n }\n this.initialRender = false;\n };\n Dialog.prototype.resetResizeIcon = function () {\n var dialogConHeight = this.getMinHeight();\n if (this.targetEle.offsetHeight < dialogConHeight) {\n var className = this.enableRtl ? 'e-south-west' : 'e-south-east';\n var resizeIcon = this.element.querySelector('.' + className);\n if (!isNullOrUndefined(resizeIcon)) {\n resizeIcon.style.bottom = '-' + dialogConHeight.toString() + 'px';\n }\n }\n };\n Dialog.prototype.setOverlayZindex = function (zIndexValue) {\n var zIndex;\n if (isNullOrUndefined(zIndexValue)) {\n zIndex = parseInt(this.element.style.zIndex, 10) ? parseInt(this.element.style.zIndex, 10) : this.zIndex;\n }\n else {\n zIndex = zIndexValue;\n }\n this.dlgOverlay.style.zIndex = (zIndex - 1).toString();\n this.dlgContainer.style.zIndex = zIndex.toString();\n };\n Dialog.prototype.positionChange = function () {\n if (this.isModal) {\n if (!isNaN(parseFloat(this.position.X)) && !isNaN(parseFloat(this.position.Y))) {\n this.setPopupPosition();\n }\n else if ((!isNaN(parseFloat(this.position.X)) && isNaN(parseFloat(this.position.Y)))\n || (isNaN(parseFloat(this.position.X)) && !isNaN(parseFloat(this.position.Y)))) {\n this.setPopupPosition();\n }\n else {\n this.element.style.top = '0px';\n this.element.style.left = '0px';\n this.dlgContainer.classList.add('e-dlg-' + this.position.X + '-' + this.position.Y);\n }\n }\n else {\n this.setPopupPosition();\n }\n };\n Dialog.prototype.setPopupPosition = function () {\n this.popupObj.setProperties({\n position: {\n X: this.position.X, Y: this.position.Y\n }\n });\n };\n Dialog.prototype.setAllowDragging = function () {\n var _this = this;\n var handleContent = '.' + DLG_HEADER_CONTENT;\n if (!this.element.classList.contains(DLG_DRAG)) {\n this.dragObj = new Draggable(this.element, {\n clone: false,\n isDragScroll: true,\n abort: '.e-dlg-closeicon-btn',\n handle: handleContent,\n dragStart: function (event) {\n _this.trigger('dragStart', event, function (dragEventArgs) {\n if (isBlazor()) {\n dragEventArgs.bindEvents(event.dragElement);\n }\n });\n },\n dragStop: function (event) {\n if (_this.isModal) {\n if (!isNullOrUndefined(_this.position)) {\n _this.dlgContainer.classList.remove('e-dlg-' + _this.position.X + '-' + _this.position.Y);\n }\n // Reset the dialog position after drag completion.\n _this.element.style.position = 'relative';\n }\n _this.trigger('dragStop', event);\n _this.element.classList.remove(DLG_RESTRICT_LEFT_VALUE);\n _this.updatePersistData();\n },\n drag: function (event) {\n _this.trigger('drag', event);\n }\n });\n if (!isNullOrUndefined(this.targetEle)) {\n this.dragObj.dragArea = this.targetEle;\n }\n }\n };\n Dialog.prototype.setButton = function () {\n if (!this.isBlazorServerRender()) {\n this.buttonContent = [];\n this.btnObj = [];\n // eslint-disable-next-line\n for (var i = 0; i < this.buttons.length; i++) {\n var buttonType = !isNullOrUndefined(this.buttons[i].type) ? this.buttons[i].type.toLowerCase() : 'button';\n var btn = this.createElement('button', { className: this.cssClass, attrs: { type: buttonType } });\n this.buttonContent.push(btn.outerHTML);\n }\n this.setFooterTemplate();\n }\n var footerBtn;\n for (var i = 0, childNodes = this.element.children; i < childNodes.length; i++) {\n if (childNodes[i].classList.contains(DLG_FOOTER_CONTENT)) {\n footerBtn = childNodes[i].querySelectorAll('button');\n }\n }\n for (var i = 0; i < this.buttons.length; i++) {\n if (!this.isBlazorServerRender()) {\n this.btnObj[i] = new Button(this.buttons[i].buttonModel);\n }\n if (this.isBlazorServerRender()) {\n this.ftrTemplateContent = this.element.querySelector('.' + DLG_FOOTER_CONTENT);\n }\n if (!isNullOrUndefined(this.ftrTemplateContent) && footerBtn.length > 0) {\n if (typeof (this.buttons[i].click) === 'function') {\n EventHandler.add(footerBtn[i], 'click', this.buttons[i].click, this);\n }\n if (typeof (this.buttons[i].click) === 'object') {\n EventHandler.add(footerBtn[i], 'click', this.buttonClickHandler.bind(this, i), this);\n }\n }\n if (!this.isBlazorServerRender() && !isNullOrUndefined(this.ftrTemplateContent)) {\n this.btnObj[i].appendTo(this.ftrTemplateContent.children[i]);\n if (this.buttons[i].isFlat) {\n this.btnObj[i].element.classList.add('e-flat');\n }\n this.primaryButtonEle = this.element.getElementsByClassName('e-primary')[0];\n }\n }\n };\n Dialog.prototype.buttonClickHandler = function (index) {\n this.trigger('buttons[' + index + '].click', {});\n };\n Dialog.prototype.setContent = function () {\n this.contentEle = this.createElement('div', { className: DLG_CONTENT, id: this.element.id + '_dialog-content' });\n if (this.innerContentElement) {\n this.contentEle.appendChild(this.innerContentElement);\n }\n else if (!isNullOrUndefined(this.content) && this.content !== '' || !this.initialRender) {\n // eslint-disable-next-line\n if (typeof (this.content) === 'string' && !isBlazor()) {\n this.setTemplate(this.content, this.contentEle, 'content');\n }\n else if (this.content instanceof HTMLElement) {\n this.contentEle.appendChild(this.content);\n }\n else {\n this.setTemplate(this.content, this.contentEle, 'content');\n }\n }\n if (!isNullOrUndefined(this.headerContent)) {\n this.element.insertBefore(this.contentEle, this.element.children[1]);\n }\n else {\n this.element.insertBefore(this.contentEle, this.element.children[0]);\n }\n if (this.height === 'auto') {\n if (!this.isBlazorServerRender() && Browser.isIE && this.element.style.width === '' && !isNullOrUndefined(this.width)) {\n this.element.style.width = formatUnit(this.width);\n }\n this.setMaxHeight();\n }\n };\n Dialog.prototype.setTemplate = function (template, toElement, prop) {\n var templateFn;\n var templateProps;\n // eslint-disable-next-line\n if (toElement.classList.contains(DLG_HEADER)) {\n templateProps = this.element.id + 'header';\n }\n else if (toElement.classList.contains(DLG_FOOTER_CONTENT)) {\n templateProps = this.element.id + 'footerTemplate';\n }\n else {\n templateProps = this.element.id + 'content';\n }\n var templateValue;\n if (!isNullOrUndefined(template.outerHTML)) {\n toElement.appendChild(template);\n }\n else if ((typeof template === 'string') || (typeof template !== 'string') || (isBlazor() && !this.isStringTemplate)) {\n if ((typeof template === 'string')) {\n template = this.sanitizeHelper(template);\n }\n if (this.isVue || typeof template !== 'string') {\n templateFn = compile(template);\n templateValue = template;\n }\n else {\n toElement.innerHTML = template;\n }\n }\n var fromElements = [];\n if (!isNullOrUndefined(templateFn)) {\n var isString = (isBlazor() &&\n !this.isStringTemplate && (templateValue).indexOf('
    Blazor') === 0) ?\n this.isStringTemplate : true;\n for (var _i = 0, _a = templateFn({}, this, prop, templateProps, isString); _i < _a.length; _i++) {\n var item = _a[_i];\n fromElements.push(item);\n }\n append([].slice.call(fromElements), toElement);\n }\n };\n /*\n * @returns {void}\n * @hidden\n * @value\n */\n Dialog.prototype.sanitizeHelper = function (value) {\n if (this.enableHtmlSanitizer) {\n var dialogItem = SanitizeHtmlHelper.beforeSanitize();\n var beforeEvent = {\n cancel: false,\n helper: null\n };\n extend(dialogItem, dialogItem, beforeEvent);\n this.trigger('beforeSanitizeHtml', dialogItem);\n if (dialogItem.cancel && !isNullOrUndefined(dialogItem.helper)) {\n value = dialogItem.helper(value);\n }\n else if (!dialogItem.cancel) {\n value = SanitizeHtmlHelper.serializeValue(dialogItem, value);\n }\n }\n return value;\n };\n Dialog.prototype.setMaxHeight = function () {\n if (!this.allowMaxHeight) {\n return;\n }\n var display = this.element.style.display;\n this.element.style.display = 'none';\n this.element.style.maxHeight = (!isNullOrUndefined(this.target)) && (this.targetEle.offsetHeight < window.innerHeight) ?\n (this.targetEle.offsetHeight - 20) + 'px' : (window.innerHeight - 20) + 'px';\n this.element.style.display = display;\n if (Browser.isIE && this.height === 'auto' && !isNullOrUndefined(this.contentEle)\n && this.element.offsetHeight < this.contentEle.offsetHeight) {\n this.element.style.height = 'inherit';\n }\n };\n Dialog.prototype.setEnableRTL = function () {\n if (!this.isBlazorServerRender()) {\n // eslint-disable-next-line\n this.enableRtl ? addClass([this.element], RTL) : removeClass([this.element], RTL);\n }\n if (!isNullOrUndefined(this.element.querySelector('.e-resize-handle'))) {\n removeResize();\n this.setResize();\n }\n };\n Dialog.prototype.setTargetContent = function () {\n var _this = this;\n if (isNullOrUndefined(this.content) || this.content === '') {\n var isContent = this.element.innerHTML.replace(/\\s|<(\\/?|\\/?)(!--!--)>/g, '') !== '';\n if (this.element.children.length > 0 || isContent) {\n this.innerContentElement = document.createDocumentFragment();\n [].slice.call(this.element.childNodes).forEach(function (el) {\n if (el.nodeType !== 8) {\n _this.innerContentElement.appendChild(el);\n }\n });\n }\n }\n };\n Dialog.prototype.setHeader = function () {\n if (this.headerEle) {\n this.headerEle.innerHTML = '';\n }\n else {\n this.headerEle = this.createElement('div', { id: this.element.id + '_title', className: DLG_HEADER });\n }\n this.createHeaderContent();\n this.headerContent.appendChild(this.headerEle);\n this.setTemplate(this.header, this.headerEle, 'header');\n attributes(this.element, { 'aria-labelledby': this.element.id + '_title' });\n this.element.insertBefore(this.headerContent, this.element.children[0]);\n if (this.allowDragging && (!isNullOrUndefined(this.headerContent))) {\n this.setAllowDragging();\n }\n };\n Dialog.prototype.setFooterTemplate = function () {\n if (this.ftrTemplateContent) {\n this.ftrTemplateContent.innerHTML = '';\n }\n else {\n this.ftrTemplateContent = this.createElement('div', {\n className: DLG_FOOTER_CONTENT\n });\n }\n if (this.footerTemplate !== '' && !isNullOrUndefined(this.footerTemplate)) {\n this.setTemplate(this.footerTemplate, this.ftrTemplateContent, 'footerTemplate');\n }\n else {\n this.ftrTemplateContent.innerHTML = this.buttonContent.join('');\n }\n this.element.appendChild(this.ftrTemplateContent);\n };\n Dialog.prototype.createHeaderContent = function () {\n if (isNullOrUndefined(this.headerContent)) {\n this.headerContent = this.createElement('div', { id: this.element.id + '_dialog-header', className: DLG_HEADER_CONTENT });\n }\n };\n Dialog.prototype.renderCloseIcon = function () {\n if (this.showCloseIcon) {\n this.closeIcon = this.createElement('button', { className: DLG_CLOSE_ICON_BTN, attrs: { type: 'button' } });\n this.closeIconBtnObj = new Button({ cssClass: 'e-flat', iconCss: DLG_CLOSE_ICON + ' ' + ICON });\n this.closeIconTitle();\n if (!isNullOrUndefined(this.headerContent)) {\n prepend([this.closeIcon], this.headerContent);\n }\n else {\n this.createHeaderContent();\n prepend([this.closeIcon], this.headerContent);\n this.element.insertBefore(this.headerContent, this.element.children[0]);\n }\n this.closeIconBtnObj.appendTo(this.closeIcon);\n }\n };\n Dialog.prototype.closeIconTitle = function () {\n this.l10n.setLocale(this.locale);\n var closeIconTitle = this.l10n.getConstant('close');\n this.closeIcon.setAttribute('title', closeIconTitle);\n this.closeIcon.setAttribute('aria-label', closeIconTitle);\n };\n Dialog.prototype.setCSSClass = function (oldCSSClass) {\n if (oldCSSClass) {\n removeClass([this.element], oldCSSClass.split(' '));\n if (this.isModal && !isNullOrUndefined(this.dlgContainer)) {\n removeClass([this.dlgContainer], oldCSSClass.split(' '));\n }\n }\n if (this.cssClass) {\n addClass([this.element], this.cssClass.split(' '));\n if (this.isModal && !isNullOrUndefined(this.dlgContainer)) {\n addClass([this.dlgContainer], this.cssClass.split(' '));\n }\n }\n };\n Dialog.prototype.setIsModal = function () {\n this.dlgContainer = this.createElement('div', { className: DLG_CONTAINER });\n this.setCSSClass();\n this.element.classList.remove(DLG_SHOW);\n this.element.parentNode.insertBefore(this.dlgContainer, this.element);\n this.dlgContainer.appendChild(this.element);\n addClass([this.element], MODAL_DLG);\n this.dlgOverlay = this.createElement('div', { className: DLG_OVERLAY });\n this.dlgOverlay.style.zIndex = (this.zIndex - 1).toString();\n this.dlgContainer.appendChild(this.dlgOverlay);\n };\n Dialog.prototype.getValidFocusNode = function (items) {\n var node;\n for (var u = 0; u < items.length; u++) {\n node = items[u];\n if ((node.clientHeight > 0 || (node.tagName.toLowerCase() === 'a' && node.hasAttribute('href'))) && node.tabIndex > -1 &&\n !node.disabled && !this.disableElement(node, '[disabled],[aria-disabled=\"true\"],[type=\"hidden\"]')) {\n return node;\n }\n else {\n node = null;\n }\n }\n return node;\n };\n Dialog.prototype.focusableElements = function (content) {\n if (!isNullOrUndefined(content)) {\n var value = 'input,select,textarea,button,a,[contenteditable=\"true\"],[tabindex]';\n var items = content.querySelectorAll(value);\n return this.getValidFocusNode(items);\n }\n return null;\n };\n Dialog.prototype.getAutoFocusNode = function (container) {\n var node = container.querySelector('.' + DLG_CLOSE_ICON_BTN);\n var value = '[autofocus]';\n var items = container.querySelectorAll(value);\n var validNode = this.getValidFocusNode(items);\n if (isBlazor()) {\n this.primaryButtonEle = this.element.getElementsByClassName('e-primary')[0];\n }\n if (!isNullOrUndefined(validNode)) {\n node = validNode;\n }\n else {\n validNode = this.focusableElements(this.contentEle);\n if (!isNullOrUndefined(validNode)) {\n return node = validNode;\n }\n else if (!isNullOrUndefined(this.primaryButtonEle)) {\n return this.element.querySelector('.' + DLG_PRIMARY_BUTTON);\n }\n }\n return node;\n };\n Dialog.prototype.disableElement = function (element, t) {\n var elementMatch = element ? element.matches || element.webkitMatchesSelector || element.msGetRegionContent : null;\n if (elementMatch) {\n for (; element; element = element.parentNode) {\n if (element instanceof Element && elementMatch.call(element, t)) {\n /* istanbul ignore next */\n return element;\n }\n }\n }\n return null;\n };\n Dialog.prototype.focusContent = function () {\n var element = this.getAutoFocusNode(this.element);\n var node = !isNullOrUndefined(element) ? element : this.element;\n var userAgent = Browser.userAgent;\n if (userAgent.indexOf('MSIE ') > 0 || userAgent.indexOf('Trident/') > 0) {\n this.element.focus();\n }\n node.focus();\n this.unBindEvent(this.element);\n this.bindEvent(this.element);\n };\n Dialog.prototype.bindEvent = function (element) {\n EventHandler.add(element, 'keydown', this.keyDown, this);\n };\n Dialog.prototype.unBindEvent = function (element) {\n EventHandler.remove(element, 'keydown', this.keyDown);\n };\n Dialog.prototype.updateSanitizeContent = function () {\n if (!this.isBlazorServerRender()) {\n this.contentEle.innerHTML = this.sanitizeHelper(this.content);\n }\n };\n Dialog.prototype.isBlazorServerRender = function () {\n return isBlazor() && this.isServerRendered;\n };\n /**\n * Module required function\n *\n * @returns {void}\n * @private\n */\n Dialog.prototype.getModuleName = function () {\n return 'dialog';\n };\n /**\n * Called internally if any of the property value changed\n *\n * @param {DialogModel} newProp - specifies the new property\n * @param {DialogModel} oldProp - specifies the old property\n * @private\n * @returns {void}\n */\n Dialog.prototype.onPropertyChanged = function (newProp, oldProp) {\n if (!this.element.classList.contains(ROOT)) {\n return;\n }\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'content':\n if (!isNullOrUndefined(this.content) && this.content !== '') {\n if (this.isBlazorServerRender()) {\n this.contentEle = this.element.querySelector('.e-dlg-content');\n }\n if (!isNullOrUndefined(this.contentEle) && this.contentEle.getAttribute('role') !== 'dialog') {\n if (!this.isBlazorServerRender()) {\n this.contentEle.innerHTML = '';\n }\n if (typeof (this.content) === 'function') {\n this.clearTemplate(['content']);\n detach(this.contentEle);\n this.contentEle = null;\n this.setContent();\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n typeof (this.content) === 'string' ? (this.isBlazorServerRender() && (this.contentEle.innerText === '')) ?\n this.contentEle.insertAdjacentHTML('beforeend', this.sanitizeHelper(this.content)) :\n this.updateSanitizeContent() : this.contentEle.appendChild(this.content);\n }\n this.setMaxHeight();\n }\n else {\n if (!this.isBlazorServerRender() ||\n isNullOrUndefined(this.element.querySelector('.e-dlg-content'))) {\n this.setContent();\n }\n }\n }\n else if (!isNullOrUndefined(this.contentEle)) {\n detach(this.contentEle);\n this.contentEle = null;\n }\n break;\n case 'header':\n if (this.header === '' || isNullOrUndefined(this.header)) {\n if (this.headerEle) {\n detach(this.headerEle);\n this.headerEle = null;\n }\n }\n else {\n if (!this.isBlazorServerRender() ||\n isNullOrUndefined(this.element.querySelector('.e-dlg-header-content'))) {\n this.setHeader();\n }\n }\n break;\n case 'footerTemplate':\n if (this.footerTemplate === '' || isNullOrUndefined(this.footerTemplate)) {\n if (!this.ftrTemplateContent) {\n return;\n }\n detach(this.ftrTemplateContent);\n this.ftrTemplateContent = null;\n this.buttons = [{}];\n }\n else {\n if (!this.isBlazorServerRender() ||\n isNullOrUndefined(this.element.querySelector('.e-footer-content'))) {\n this.setFooterTemplate();\n }\n this.buttons = [{}];\n }\n break;\n case 'showCloseIcon':\n if (this.element.getElementsByClassName(DLG_CLOSE_ICON).length > 0) {\n if (!this.showCloseIcon && (this.header === '' || isNullOrUndefined(this.header))) {\n detach(this.headerContent);\n this.headerContent = null;\n }\n else if (!this.showCloseIcon) {\n detach(this.closeIcon);\n }\n else {\n if (this.isBlazorServerRender()) {\n this.wireEvents();\n }\n }\n }\n else {\n if (!this.isBlazorServerRender()) {\n this.renderCloseIcon();\n }\n this.wireEvents();\n }\n break;\n case 'locale':\n if (this.showCloseIcon) {\n this.closeIconTitle();\n }\n break;\n case 'visible':\n // eslint-disable-next-line\n this.visible ? this.show() : this.hide();\n break;\n case 'isModal':\n this.updateIsModal();\n break;\n case 'height':\n setStyleAttribute(this.element, { 'height': formatUnit(newProp.height) });\n this.updatePersistData();\n break;\n case 'width':\n setStyleAttribute(this.element, { 'width': formatUnit(newProp.width) });\n this.updatePersistData();\n break;\n case 'zIndex':\n this.popupObj.zIndex = this.zIndex;\n if (this.isModal) {\n this.setOverlayZindex(this.zIndex);\n }\n if (this.element.style.zIndex !== this.zIndex.toString()) {\n this.calculatezIndex = false;\n }\n break;\n case 'cssClass':\n this.setCSSClass(oldProp.cssClass);\n break;\n case 'buttons': {\n var buttonCount = this.buttons.length;\n if (!isNullOrUndefined(this.ftrTemplateContent) && !this.isBlazorServerRender()) {\n detach(this.ftrTemplateContent);\n this.ftrTemplateContent = null;\n }\n for (var i = 0; i < buttonCount; i++) {\n if (!isNullOrUndefined(this.buttons[i].buttonModel)) {\n this.footerTemplate = '';\n this.setButton();\n }\n }\n break;\n }\n case 'allowDragging':\n if (this.allowDragging && (!isNullOrUndefined(this.headerContent))) {\n this.setAllowDragging();\n }\n else {\n this.dragObj.destroy();\n }\n break;\n case 'target':\n this.setTarget(newProp.target);\n break;\n case 'position':\n this.checkPositionData();\n if (this.isModal) {\n var positionX = !isNullOrUndefined(oldProp.position) && !isNullOrUndefined(oldProp.position.X) ? oldProp.position.X : this.position.X;\n var positionY = !isNullOrUndefined(oldProp.position) && !isNullOrUndefined(oldProp.position.Y) ? oldProp.position.Y : this.position.Y;\n if (this.dlgContainer.classList.contains('e-dlg-' + positionX + '-' + positionY)) {\n this.dlgContainer.classList.remove('e-dlg-' + positionX + '-' + positionY);\n }\n }\n this.positionChange();\n this.updatePersistData();\n break;\n case 'enableRtl':\n this.setEnableRTL();\n break;\n case 'enableResize':\n this.setResize();\n break;\n case 'minHeight':\n if (this.minHeight !== '') {\n this.element.style.minHeight = formatUnit(this.minHeight);\n }\n break;\n }\n }\n };\n Dialog.prototype.setTarget = function (target) {\n this.popupObj.relateTo = target;\n this.target = target;\n this.targetEle = ((typeof this.target) === 'string') ?\n document.querySelector(this.target) : this.target;\n if (this.dragObj) {\n this.dragObj.dragArea = this.targetEle;\n }\n this.setMaxHeight();\n if (this.isModal) {\n this.updateIsModal();\n }\n if (this.enableResize) {\n this.setResize();\n }\n };\n Dialog.prototype.updateIsModal = function () {\n this.element.setAttribute('aria-modal', this.isModal ? 'true' : 'false');\n if (this.isModal) {\n if (isNullOrUndefined(this.dlgOverlay)) {\n this.setIsModal();\n this.element.style.top = '0px';\n this.element.style.left = '0px';\n if (!isNullOrUndefined(this.targetEle)) {\n this.targetEle.appendChild(this.dlgContainer);\n }\n }\n }\n else {\n removeClass([this.element], MODAL_DLG);\n removeClass([document.body], [DLG_TARGET, SCROLL_DISABLED]);\n detach(this.dlgOverlay);\n while (this.dlgContainer.firstChild) {\n this.dlgContainer.parentElement.insertBefore(this.dlgContainer.firstChild, this.dlgContainer);\n }\n this.dlgContainer.parentElement.removeChild(this.dlgContainer);\n }\n if (this.visible) {\n this.show();\n }\n this.positionChange();\n if (this.isModal && this.dlgOverlay) {\n EventHandler.add(this.dlgOverlay, 'click', this.dlgOverlayClickEventHandler, this);\n }\n };\n Dialog.prototype.setzIndex = function (zIndexElement, setPopupZindex) {\n var prevOnChange = this.isProtectedOnChange;\n this.isProtectedOnChange = true;\n var currentzIndex = getZindexPartial(zIndexElement);\n this.zIndex = currentzIndex > this.zIndex ? currentzIndex : this.zIndex;\n this.isProtectedOnChange = prevOnChange;\n if (setPopupZindex) {\n this.popupObj.zIndex = this.zIndex;\n }\n };\n Dialog.prototype.windowResizeHandler = function () {\n setMaxWidth(this.targetEle.clientWidth);\n setMaxHeight(this.targetEle.clientHeight);\n this.setMaxHeight();\n };\n /**\n * Get the properties to be maintained in the persisted state.\n *\n * @returns {void}\n * @private\n */\n Dialog.prototype.getPersistData = function () {\n return this.addOnPersist(['width', 'height', 'position']);\n };\n /**\n * To destroy the widget\n *\n * @returns {void}\n */\n Dialog.prototype.destroy = function () {\n if (this.isDestroyed) {\n return;\n }\n var classArray = [RTL, MODAL_DLG, DLG_RESIZABLE, DLG_RESTRICT_LEFT_VALUE, FULLSCREEN, DEVICE];\n var attrs = ['role', 'aria-modal', 'aria-labelledby', 'aria-describedby', 'aria-grabbed', 'tabindex', 'style'];\n removeClass([this.targetEle], [DLG_TARGET, SCROLL_DISABLED]);\n if (!isNullOrUndefined(this.element) && this.element.classList.contains(FULLSCREEN)) {\n removeClass([document.body], [DLG_TARGET, SCROLL_DISABLED]);\n }\n if (this.isModal) {\n removeClass([(!isNullOrUndefined(this.targetEle) ? this.targetEle : document.body)], SCROLL_DISABLED);\n }\n this.unWireEvents();\n if (!isNullOrUndefined(this.btnObj)) {\n for (var i = 0; i < this.btnObj.length; i++) {\n this.btnObj[i].destroy();\n }\n }\n if (!isNullOrUndefined(this.closeIconBtnObj)) {\n this.closeIconBtnObj.destroy();\n }\n if (!isNullOrUndefined(this.dragObj)) {\n this.dragObj.destroy();\n }\n if (!isNullOrUndefined(this.popupObj.element) && this.popupObj.element.classList.contains(POPUP_ROOT)) {\n this.popupObj.destroy();\n }\n removeClass([this.element], classArray);\n if (!isNullOrUndefined(this.cssClass) && this.cssClass !== '') {\n removeClass([this.element], this.cssClass.split(' '));\n }\n if (!isNullOrUndefined(this.refElement) && !isNullOrUndefined(this.refElement.parentElement)) {\n this.refElement.parentElement.insertBefore((this.isModal ? this.dlgContainer : this.element), this.refElement);\n detach(this.refElement);\n this.refElement = undefined;\n }\n if (this.isModal && !this.isBlazorServerRender()) {\n detach(this.dlgOverlay);\n this.dlgContainer.parentNode.insertBefore(this.element, this.dlgContainer);\n detach(this.dlgContainer);\n }\n if (!this.isBlazorServerRender()) {\n this.element.innerHTML = this.clonedEle.innerHTML;\n }\n if (this.isBlazorServerRender()) {\n if (!isNullOrUndefined(this.element.children)) {\n for (var i = 0; i <= this.element.children.length; i++) {\n i = i - i;\n detach(this.element.children[i]);\n }\n }\n }\n for (var i = 0; i < attrs.length; i++) {\n this.element.removeAttribute(attrs[i]);\n }\n this.ftrTemplateContent = null;\n this.headerContent = null;\n this.contentEle = null;\n if (!this.isBlazorServerRender()) {\n _super.prototype.destroy.call(this);\n }\n else {\n this.isDestroyed = true;\n }\n // eslint-disable-next-line\n if (this.isReact) {\n this.clearTemplate();\n }\n };\n Dialog.prototype.wireWindowResizeEvent = function () {\n window.addEventListener('resize', this.windowResizeHandler.bind(this));\n };\n Dialog.prototype.unWireWindowResizeEvent = function () {\n window.removeEventListener('resize', this.windowResizeHandler.bind(this));\n };\n /**\n * Binding event to the element while widget creation\n *\n * @returns {void}\n * @hidden\n */\n Dialog.prototype.wireEvents = function () {\n if (this.isBlazorServerRender() && this.showCloseIcon) {\n this.closeIcon = this.element.getElementsByClassName('e-dlg-closeicon-btn')[0];\n }\n if (this.showCloseIcon) {\n EventHandler.add(this.closeIcon, 'click', this.closeIconClickEventHandler, this);\n }\n if (this.isModal && this.dlgOverlay) {\n EventHandler.add(this.dlgOverlay, 'click', this.dlgOverlayClickEventHandler, this);\n }\n };\n /**\n * Unbinding event to the element while widget destroy\n *\n * @returns {void}\n * @hidden\n */\n Dialog.prototype.unWireEvents = function () {\n if (this.showCloseIcon) {\n EventHandler.remove(this.closeIcon, 'click', this.closeIconClickEventHandler);\n }\n if (this.isModal) {\n EventHandler.remove(this.dlgOverlay, 'click', this.dlgOverlayClickEventHandler);\n }\n if (this.buttons.length > 0 && !isNullOrUndefined(this.buttons[0].buttonModel) && this.footerTemplate === '') {\n for (var i = 0; i < this.buttons.length; i++) {\n if (typeof (this.buttons[i].click) === 'function') {\n EventHandler.remove(this.ftrTemplateContent.children[i], 'click', this.buttons[i].click);\n }\n }\n }\n };\n /**\n * Refreshes the dialog's position when the user changes its header and footer height/width dynamically.\n *\n * @returns {void}\n */\n Dialog.prototype.refreshPosition = function () {\n this.popupObj.refreshPosition();\n if (this.element.classList.contains(MODAL_DLG)) {\n this.positionChange();\n }\n };\n /**\n * Returns the current width and height of the Dialog\n *\n * @returns {DialogDimension}- returns the dialog element Dimension.\n * @public\n */\n Dialog.prototype.getDimension = function () {\n var dialogWidth = this.element.offsetWidth;\n var dialogHeight = this.element.offsetHeight;\n return { width: dialogWidth, height: dialogHeight };\n };\n /**\n * Opens the dialog if it is in hidden state.\n * To open the dialog with full screen width, set the parameter to true.\n *\n * @param { boolean } isFullScreen - Enable the fullScreen Dialog.\n * @returns {void}\n */\n Dialog.prototype.show = function (isFullScreen) {\n var _this = this;\n if (!this.element.classList.contains(ROOT)) {\n return;\n }\n if (!this.element.classList.contains(DLG_SHOW) || (!isNullOrUndefined(isFullScreen))) {\n if (!isNullOrUndefined(isFullScreen)) {\n this.fullScreen(isFullScreen);\n }\n var eventArgs_1 = isBlazor() ? {\n cancel: false,\n element: this.element,\n container: this.isModal ? this.dlgContainer : this.element,\n maxHeight: this.element.style.maxHeight\n } : {\n cancel: false,\n element: this.element,\n container: this.isModal ? this.dlgContainer : this.element,\n target: this.target,\n maxHeight: this.element.style.maxHeight\n };\n this.trigger('beforeOpen', eventArgs_1, function (beforeOpenArgs) {\n if (!beforeOpenArgs.cancel) {\n if (_this.element.style.maxHeight !== eventArgs_1.maxHeight) {\n _this.allowMaxHeight = false;\n _this.element.style.maxHeight = eventArgs_1.maxHeight;\n }\n _this.storeActiveElement = document.activeElement;\n _this.element.tabIndex = -1;\n if (_this.isModal && (!isNullOrUndefined(_this.dlgOverlay))) {\n _this.dlgOverlay.style.display = 'block';\n _this.dlgContainer.style.display = 'flex';\n removeClass([_this.dlgOverlay], 'e-fade');\n if (!isNullOrUndefined(_this.targetEle)) {\n if (_this.targetEle === document.body) {\n _this.dlgContainer.style.position = 'fixed';\n }\n else {\n _this.dlgContainer.style.position = 'absolute';\n }\n _this.dlgOverlay.style.position = 'absolute';\n _this.element.style.position = 'relative';\n addClass([_this.targetEle], [DLG_TARGET, SCROLL_DISABLED]);\n }\n else {\n addClass([document.body], [DLG_TARGET, SCROLL_DISABLED]);\n }\n }\n var openAnimation = {\n name: _this.animationSettings.effect + 'In',\n duration: _this.animationSettings.duration,\n delay: _this.animationSettings.delay\n };\n var zIndexElement = (_this.isModal) ? _this.element.parentElement : _this.element;\n if (_this.calculatezIndex) {\n _this.setzIndex(zIndexElement, true);\n setStyleAttribute(_this.element, { 'zIndex': _this.zIndex });\n if (_this.isModal) {\n _this.setOverlayZindex(_this.zIndex);\n }\n }\n // eslint-disable-next-line\n _this.animationSettings.effect === 'None' ? _this.popupObj.show() : _this.popupObj.show(openAnimation);\n _this.dialogOpen = true;\n var prevOnChange = _this.isProtectedOnChange;\n _this.isProtectedOnChange = true;\n _this.visible = true;\n _this.preventVisibility = true;\n _this.isProtectedOnChange = prevOnChange;\n }\n });\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (this.isReact) {\n this.renderReactTemplates();\n }\n };\n /**\n * Closes the dialog if it is in visible state.\n *\n * @param { Event } event - specifies the event\n * @returns {void}\n */\n Dialog.prototype.hide = function (event) {\n var _this = this;\n if (!this.element.classList.contains(ROOT)) {\n return;\n }\n if (this.preventVisibility) {\n var eventArgs = isBlazor() ? {\n cancel: false,\n isInteracted: event ? true : false,\n element: this.element,\n container: this.isModal ? this.dlgContainer : this.element,\n event: event\n } : {\n cancel: false,\n isInteracted: event ? true : false,\n element: this.element,\n target: this.target,\n container: this.isModal ? this.dlgContainer : this.element,\n event: event,\n closedBy: this.dlgClosedBy\n };\n this.closeArgs = eventArgs;\n this.trigger('beforeClose', eventArgs, function (beforeCloseArgs) {\n if (!beforeCloseArgs.cancel) {\n if (_this.isModal) {\n if (!isNullOrUndefined(_this.targetEle)) {\n removeClass([_this.targetEle], [DLG_TARGET, SCROLL_DISABLED]);\n }\n }\n if (document.body.classList.contains(DLG_TARGET) &&\n document.body.classList.contains(SCROLL_DISABLED)) {\n removeClass([document.body], [DLG_TARGET, SCROLL_DISABLED]);\n }\n var closeAnimation = {\n name: _this.animationSettings.effect + 'Out',\n duration: _this.animationSettings.duration,\n delay: _this.animationSettings.delay\n };\n // eslint-disable-next-line\n _this.animationSettings.effect === 'None' ? _this.popupObj.hide() : _this.popupObj.hide(closeAnimation);\n _this.dialogOpen = false;\n var prevOnChange = _this.isProtectedOnChange;\n _this.isProtectedOnChange = true;\n _this.visible = false;\n _this.preventVisibility = false;\n _this.isProtectedOnChange = prevOnChange;\n }\n _this.dlgClosedBy = DLG_USER_ACTION_CLOSED;\n });\n }\n };\n // eslint-disable-next-line\n /**\n * Specifies to view the Full screen Dialog.\n *\n * @returns {void}\n * @private\n */\n Dialog.prototype.fullScreen = function (args) {\n /* eslint-disable */\n var top = this.element.offsetTop;\n var left = this.element.offsetLeft;\n /* eslint-enable */\n if (args) {\n this.element.style.top = document.scrollingElement.scrollTop + 'px';\n addClass([this.element], FULLSCREEN);\n var display = this.element.style.display;\n this.element.style.display = 'none';\n this.element.style.maxHeight = (!isNullOrUndefined(this.target)) ?\n (this.targetEle.offsetHeight) + 'px' : (window.innerHeight) + 'px';\n this.element.style.display = display;\n addClass([document.body], [DLG_TARGET, SCROLL_DISABLED]);\n if (this.allowDragging && !isNullOrUndefined(this.dragObj)) {\n this.dragObj.destroy();\n }\n }\n else {\n removeClass([this.element], FULLSCREEN);\n removeClass([document.body], [DLG_TARGET, SCROLL_DISABLED]);\n if (this.allowDragging && (!isNullOrUndefined(this.headerContent))) {\n this.setAllowDragging();\n }\n }\n return args;\n };\n /**\n * Returns the dialog button instances.\n * Based on that, you can dynamically change the button states.\n *\n * @param { number } index - Index of the button.\n * @returns {Button} - returns the button element\n */\n Dialog.prototype.getButtons = function (index) {\n if (!isNullOrUndefined(index)) {\n return this.btnObj[index];\n }\n return this.btnObj;\n };\n __decorate$1([\n Property('')\n ], Dialog.prototype, \"content\", void 0);\n __decorate$1([\n Property(true)\n ], Dialog.prototype, \"enableHtmlSanitizer\", void 0);\n __decorate$1([\n Property(false)\n ], Dialog.prototype, \"enablePersistence\", void 0);\n __decorate$1([\n Property(false)\n ], Dialog.prototype, \"showCloseIcon\", void 0);\n __decorate$1([\n Property(false)\n ], Dialog.prototype, \"isModal\", void 0);\n __decorate$1([\n Property('')\n ], Dialog.prototype, \"header\", void 0);\n __decorate$1([\n Property(true)\n ], Dialog.prototype, \"visible\", void 0);\n __decorate$1([\n Property(false)\n ], Dialog.prototype, \"enableResize\", void 0);\n __decorate$1([\n Property(['South-East'])\n ], Dialog.prototype, \"resizeHandles\", void 0);\n __decorate$1([\n Property('auto')\n ], Dialog.prototype, \"height\", void 0);\n __decorate$1([\n Property('')\n ], Dialog.prototype, \"minHeight\", void 0);\n __decorate$1([\n Property('100%')\n ], Dialog.prototype, \"width\", void 0);\n __decorate$1([\n Property('')\n ], Dialog.prototype, \"cssClass\", void 0);\n __decorate$1([\n Property(1000)\n ], Dialog.prototype, \"zIndex\", void 0);\n __decorate$1([\n Property(null)\n ], Dialog.prototype, \"target\", void 0);\n __decorate$1([\n Property('')\n ], Dialog.prototype, \"footerTemplate\", void 0);\n __decorate$1([\n Property(false)\n ], Dialog.prototype, \"allowDragging\", void 0);\n __decorate$1([\n Collection([{}], ButtonProps)\n ], Dialog.prototype, \"buttons\", void 0);\n __decorate$1([\n Property(true)\n ], Dialog.prototype, \"closeOnEscape\", void 0);\n __decorate$1([\n Complex({}, AnimationSettings)\n ], Dialog.prototype, \"animationSettings\", void 0);\n __decorate$1([\n Complex({ X: 'center', Y: 'center' }, PositionData)\n ], Dialog.prototype, \"position\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"created\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"open\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"beforeSanitizeHtml\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"beforeOpen\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"close\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"beforeClose\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"dragStart\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"dragStop\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"drag\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"overlayClick\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"resizeStart\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"resizing\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"resizeStop\", void 0);\n __decorate$1([\n Event()\n ], Dialog.prototype, \"destroyed\", void 0);\n Dialog = __decorate$1([\n NotifyPropertyChanges\n ], Dialog);\n return Dialog;\n}(Component));\n/**\n * Base for creating Alert and Confirmation Dialog through util method.\n */\n// eslint-disable-next-line\nvar DialogUtility;\n(function (DialogUtility) {\n /**\n * An alert dialog box is used to display warning like messages to the users.\n * ```\n * Eg : DialogUtility.alert('Alert message');\n *\n * ```\n */\n /* istanbul ignore next */\n /**\n *\n * @param {AlertDialogArgs} args - specifies the string\n * @returns {Dialog} - returns the dialog element.\n */\n function alert(args) {\n // eslint-disable-next-line\n var dialogElement = createElement('div', { 'className': DLG_UTIL_ALERT });\n document.body.appendChild(dialogElement);\n var alertDialogObj;\n var okButtonModel = [{\n buttonModel: { isPrimary: true, content: 'OK' },\n click: function () {\n this.hide();\n }\n }];\n if (typeof (args) === 'string') {\n alertDialogObj = createDialog({ content: args,\n position: { X: 'center', Y: 'top' },\n isModal: true, header: DLG_UTIL_DEFAULT_TITLE,\n buttons: okButtonModel }, dialogElement);\n }\n else {\n alertDialogObj = createDialog(alertOptions(args), dialogElement);\n }\n alertDialogObj.close = function () {\n if (args && args.close) {\n args.close.apply(alertDialogObj);\n }\n alertDialogObj.destroy();\n if (alertDialogObj.element.classList.contains('e-dlg-modal')) {\n alertDialogObj.element.parentElement.remove();\n alertDialogObj.target.classList.remove(DLG_UTIL_ROOT);\n }\n else {\n alertDialogObj.element.remove();\n }\n };\n return alertDialogObj;\n }\n DialogUtility.alert = alert;\n /**\n * A confirm dialog displays a specified message along with ‘OK’ and ‘Cancel’ button.\n * ```\n * Eg : DialogUtility.confirm('Confirm dialog message');\n *\n * ```\n */\n /* istanbul ignore next */\n /**\n *\n * @param {ConfirmDialogArgs} args - specifies the args\n * @returns {Dialog} - returns te element\n */\n function confirm(args) {\n // eslint-disable-next-line\n var dialogElement = createElement('div', { 'className': DLG_UTIL_CONFIRM });\n document.body.appendChild(dialogElement);\n var confirmDialogObj;\n var okCancelButtonModel = [{\n buttonModel: { isPrimary: true, content: 'OK' },\n click: function () {\n this.hide();\n }\n }, {\n buttonModel: { content: 'Cancel' },\n click: function () {\n this.hide();\n }\n }];\n if (typeof (args) === 'string') {\n confirmDialogObj = createDialog({ position: { X: 'center', Y: 'top' }, content: args, isModal: true,\n header: DLG_UTIL_DEFAULT_TITLE, buttons: okCancelButtonModel\n }, dialogElement);\n }\n else {\n confirmDialogObj = createDialog(confirmOptions(args), dialogElement);\n }\n confirmDialogObj.close = function () {\n if (args && args.close) {\n args.close.apply(confirmDialogObj);\n }\n confirmDialogObj.destroy();\n if (confirmDialogObj.element.classList.contains('e-dlg-modal')) {\n confirmDialogObj.element.parentElement.remove();\n confirmDialogObj.target.classList.remove(DLG_UTIL_ROOT);\n }\n else {\n confirmDialogObj.element.remove();\n }\n };\n return confirmDialogObj;\n }\n DialogUtility.confirm = confirm;\n // eslint-disable-next-line\n function createDialog(options, element) {\n var dialogObject = new Dialog(options);\n dialogObject.appendTo(element);\n return dialogObject;\n }\n // eslint-disable-next-line\n function alertOptions(option) {\n var options = {};\n options.buttons = [];\n options = formOptions(options, option);\n options = setAlertButtonModel(options, option);\n return options;\n }\n // eslint-disable-next-line\n function confirmOptions(option) {\n var options = {};\n options.buttons = [];\n options = formOptions(options, option);\n options = setConfirmButtonModel(options, option);\n return options;\n }\n // eslint-disable-next-line\n function formOptions(options, option) {\n options.header = !isNullOrUndefined(option.title) ? option.title : null;\n options.content = !isNullOrUndefined(option.content) ? option.content : '';\n options.isModal = !isNullOrUndefined(option.isModal) ? option.isModal : true;\n options.showCloseIcon = !isNullOrUndefined(option.showCloseIcon) ? option.showCloseIcon : false;\n options.allowDragging = !isNullOrUndefined(option.isDraggable) ? option.isDraggable : false;\n options.closeOnEscape = !isNullOrUndefined(option.closeOnEscape) ? option.closeOnEscape : false;\n options.position = !isNullOrUndefined(option.position) ? option.position : { X: 'center', Y: 'top' };\n options.animationSettings = !isNullOrUndefined(option.animationSettings) ? option.animationSettings :\n { effect: 'Fade', duration: 400, delay: 0 };\n options.cssClass = !isNullOrUndefined(option.cssClass) ? option.cssClass : '';\n options.zIndex = !isNullOrUndefined(option.zIndex) ? option.zIndex : 1000;\n options.open = !isNullOrUndefined(option.open) ? option.open : null;\n options.width = !isNullOrUndefined(option.width) ? option.width : 'auto';\n options.height = !isNullOrUndefined(option.height) ? option.height : 'auto';\n return options;\n }\n // eslint-disable-next-line\n function setAlertButtonModel(options, option) {\n var alertButtonModel = [{\n buttonModel: { isPrimary: true, content: 'OK' },\n click: function () {\n this.hide();\n }\n }];\n if (!isNullOrUndefined(option.okButton)) {\n options.buttons[0] = formButtonModel(options.buttons[0], option.okButton, alertButtonModel[0]);\n }\n else {\n options.buttons = alertButtonModel;\n }\n return options;\n }\n // eslint-disable-next-line\n function setConfirmButtonModel(options, option) {\n var okButtonModel = {\n buttonModel: { isPrimary: true, content: 'OK' },\n click: function () {\n this.hide();\n }\n };\n var cancelButtonModel = {\n buttonModel: { content: 'Cancel' },\n click: function () {\n this.hide();\n }\n };\n if (!isNullOrUndefined(option.okButton)) {\n options.buttons[0] = formButtonModel(options.buttons[0], option.okButton, okButtonModel);\n }\n else {\n options.buttons[0] = okButtonModel;\n }\n if (!isNullOrUndefined(option.cancelButton)) {\n options.buttons[1] = formButtonModel(options.buttons[1], option.cancelButton, cancelButtonModel);\n }\n else {\n options.buttons[1] = cancelButtonModel;\n }\n return options;\n }\n // eslint-disable-next-line\n function formButtonModel(buttonModel, option, buttonPropModel) {\n var buttonProps = buttonPropModel;\n if (!isNullOrUndefined(option.text)) {\n buttonProps.buttonModel.content = option.text;\n }\n if (!isNullOrUndefined(option.icon)) {\n buttonProps.buttonModel.iconCss = option.icon;\n }\n if (!isNullOrUndefined(option.cssClass)) {\n buttonProps.buttonModel.cssClass = option.cssClass;\n }\n if (!isNullOrUndefined(option.click)) {\n buttonProps.click = option.click;\n }\n return buttonProps;\n }\n})(DialogUtility || (DialogUtility = {}));\n\n/**\n * Dialog Component\n */\n\nvar __extends$2 = (undefined && undefined.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar TOUCHEND_HIDE_DELAY = 1500;\nvar TAPHOLD_THRESHOLD = 500;\nvar SHOW_POINTER_TIP_GAP = 0;\nvar HIDE_POINTER_TIP_GAP = 8;\nvar MOUSE_TRAIL_GAP = 2;\nvar POINTER_ADJUST = 2;\nvar ROOT$1 = 'e-tooltip';\nvar RTL$1 = 'e-rtl';\nvar DEVICE$1 = 'e-bigger';\nvar ICON$1 = 'e-icons';\nvar CLOSE = 'e-tooltip-close';\nvar TOOLTIP_WRAP = 'e-tooltip-wrap';\nvar CONTENT = 'e-tip-content';\nvar ARROW_TIP = 'e-arrow-tip';\nvar ARROW_TIP_OUTER = 'e-arrow-tip-outer';\nvar ARROW_TIP_INNER = 'e-arrow-tip-inner';\nvar TIP_BOTTOM = 'e-tip-bottom';\nvar TIP_TOP = 'e-tip-top';\nvar TIP_LEFT = 'e-tip-left';\nvar TIP_RIGHT = 'e-tip-right';\nvar POPUP_ROOT$1 = 'e-popup';\nvar POPUP_OPEN = 'e-popup-open';\nvar POPUP_CLOSE = 'e-popup-close';\nvar POPUP_LIB = 'e-lib';\nvar HIDE_POPUP = 'e-hidden';\nvar POPUP_CONTAINER = 'e-tooltip-popup-container';\nvar Animation$1 = /** @__PURE__ @class */ (function (_super) {\n __extends$2(Animation$$1, _super);\n function Animation$$1() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n __decorate$2([\n Property({ effect: 'FadeIn', duration: 150, delay: 0 })\n ], Animation$$1.prototype, \"open\", void 0);\n __decorate$2([\n Property({ effect: 'FadeOut', duration: 150, delay: 0 })\n ], Animation$$1.prototype, \"close\", void 0);\n return Animation$$1;\n}(ChildProperty));\n/**\n * Represents the Tooltip component that displays a piece of information about the target element on mouse hover.\n * ```html\n *
    Show Tooltip
    \n * ```\n * ```typescript\n * \n * ```\n */\nvar Tooltip = /** @__PURE__ @class */ (function (_super) {\n __extends$2(Tooltip, _super);\n /* eslint-enable */\n /**\n * Constructor for creating the Tooltip Component\n *\n * @param {TooltipModel} options - specifies the options for the constructor\n * @param {string| HTMLElement} element - specifies the element for the constructor\n *\n */\n function Tooltip(options, element) {\n var _this = _super.call(this, options, element) || this;\n _this.mouseMoveEvent = null;\n _this.mouseMoveTarget = null;\n _this.containerElement = null;\n _this.isBodyContainer = true;\n return _this;\n }\n Tooltip.prototype.initialize = function () {\n this.formatPosition();\n addClass([this.element], ROOT$1);\n };\n Tooltip.prototype.formatPosition = function () {\n var _a, _b;\n if (this.position.indexOf('Top') === 0 || this.position.indexOf('Bottom') === 0) {\n _a = this.position.split(/(?=[A-Z])/), this.tooltipPositionY = _a[0], this.tooltipPositionX = _a[1];\n }\n else {\n _b = this.position.split(/(?=[A-Z])/), this.tooltipPositionX = _b[0], this.tooltipPositionY = _b[1];\n }\n };\n Tooltip.prototype.renderArrow = function () {\n this.setTipClass(this.position);\n var tip = this.createElement('div', { className: ARROW_TIP + ' ' + this.tipClass });\n tip.appendChild(this.createElement('div', { className: ARROW_TIP_OUTER + ' ' + this.tipClass }));\n tip.appendChild(this.createElement('div', { className: ARROW_TIP_INNER + ' ' + this.tipClass }));\n this.tooltipEle.appendChild(tip);\n };\n Tooltip.prototype.setTipClass = function (position) {\n if (position.indexOf('Right') === 0) {\n this.tipClass = TIP_LEFT;\n }\n else if (position.indexOf('Bottom') === 0) {\n this.tipClass = TIP_TOP;\n }\n else if (position.indexOf('Left') === 0) {\n this.tipClass = TIP_RIGHT;\n }\n else {\n this.tipClass = TIP_BOTTOM;\n }\n };\n Tooltip.prototype.renderPopup = function (target) {\n var elePos = this.mouseTrail ? { top: 0, left: 0 } : this.getTooltipPosition(target);\n this.tooltipEle.classList.remove(POPUP_LIB);\n this.popupObj = new Popup(this.tooltipEle, {\n height: this.height,\n width: this.width,\n position: { X: elePos.left, Y: elePos.top },\n enableRtl: this.enableRtl,\n open: this.openPopupHandler.bind(this),\n close: this.closePopupHandler.bind(this)\n });\n };\n Tooltip.prototype.getScalingFactor = function () {\n var eleRect = this.tooltipEle.getBoundingClientRect();\n var xScalingFactor = (Math.round(eleRect.width) / this.tooltipEle.offsetWidth) || 1;\n var yScalingFactor = (Math.round(eleRect.height) / this.tooltipEle.offsetHeight) || 1;\n return {\n x: isFinite(xScalingFactor) ? xScalingFactor : 1,\n y: isFinite(yScalingFactor) ? yScalingFactor : 1\n };\n };\n Tooltip.prototype.getTooltipPosition = function (target) {\n this.tooltipEle.style.display = 'block';\n var parentWithZoomStyle = this.element.closest('[style*=\"zoom\"]');\n if (parentWithZoomStyle) {\n if (!parentWithZoomStyle.contains(this.tooltipEle)) {\n this.tooltipEle.style.zoom = getComputedStyle(parentWithZoomStyle).zoom;\n }\n }\n var pos = calculatePosition(target, this.tooltipPositionX, this.tooltipPositionY, !this.isBodyContainer, this.isBodyContainer ? null : this.containerElement.getBoundingClientRect());\n var scalingFactors = this.getScalingFactor();\n var offsetPos = this.calculateTooltipOffset(this.position, scalingFactors.x, scalingFactors.y);\n var collisionPosition = this.calculateElementPosition(pos, offsetPos);\n var collisionLeft = collisionPosition[0];\n var collisionTop = collisionPosition[1];\n var elePos = this.collisionFlipFit(target, collisionLeft, collisionTop);\n elePos.left = elePos.left / scalingFactors.x;\n elePos.top = elePos.top / scalingFactors.y;\n this.tooltipEle.style.display = '';\n return elePos;\n };\n Tooltip.prototype.windowResize = function () {\n this.reposition(this.findTarget());\n };\n Tooltip.prototype.reposition = function (target) {\n if (this.popupObj && target) {\n var elePos = this.getTooltipPosition(target);\n this.popupObj.position = { X: elePos.left, Y: elePos.top };\n this.popupObj.dataBind();\n }\n };\n Tooltip.prototype.openPopupHandler = function () {\n if (!this.mouseTrail && this.needTemplateReposition()) {\n this.reposition(this.findTarget());\n }\n this.trigger('afterOpen', this.tooltipEventArgs);\n this.tooltipEventArgs = null;\n };\n Tooltip.prototype.closePopupHandler = function () {\n if (this.isReact && !(this.opensOn === 'Click' && typeof (this.content) === 'function')) {\n this.clearTemplate(['content']);\n }\n this.clear();\n this.trigger('afterClose', this.tooltipEventArgs);\n this.tooltipEventArgs = null;\n };\n Tooltip.prototype.calculateTooltipOffset = function (position, xScalingFactor, yScalingFactor) {\n if (xScalingFactor === void 0) { xScalingFactor = 1; }\n if (yScalingFactor === void 0) { yScalingFactor = 1; }\n var pos = { top: 0, left: 0 };\n var tipWidth, tipHeight, tooltipEleWidth, tooltipEleHeight, arrowEle;\n var tipAdjust, tipHeightAdjust, tipWidthAdjust;\n if (xScalingFactor != 1 || yScalingFactor != 1) {\n var tooltipEleRect = this.tooltipEle.getBoundingClientRect();\n var arrowEleRect = void 0;\n tooltipEleWidth = Math.round(tooltipEleRect.width);\n tooltipEleHeight = Math.round(tooltipEleRect.height);\n arrowEle = select('.' + ARROW_TIP, this.tooltipEle);\n if (arrowEle) {\n arrowEleRect = arrowEle.getBoundingClientRect();\n }\n tipWidth = arrowEle ? Math.round(arrowEleRect.width) : 0;\n tipHeight = arrowEle ? Math.round(arrowEleRect.height) : 0;\n tipAdjust = (this.showTipPointer ? SHOW_POINTER_TIP_GAP : HIDE_POINTER_TIP_GAP);\n tipHeightAdjust = (tipHeight / 2) + POINTER_ADJUST + (tooltipEleHeight - (this.tooltipEle.clientHeight * yScalingFactor));\n tipWidthAdjust = (tipWidth / 2) + POINTER_ADJUST + (tooltipEleWidth - (this.tooltipEle.clientWidth * xScalingFactor));\n }\n else {\n tooltipEleWidth = this.tooltipEle.offsetWidth;\n tooltipEleHeight = this.tooltipEle.offsetHeight;\n arrowEle = select('.' + ARROW_TIP, this.tooltipEle);\n tipWidth = arrowEle ? arrowEle.offsetWidth : 0;\n tipHeight = arrowEle ? arrowEle.offsetHeight : 0;\n tipAdjust = (this.showTipPointer ? SHOW_POINTER_TIP_GAP : HIDE_POINTER_TIP_GAP);\n tipHeightAdjust = (tipHeight / 2) + POINTER_ADJUST + (this.tooltipEle.offsetHeight - this.tooltipEle.clientHeight);\n tipWidthAdjust = (tipWidth / 2) + POINTER_ADJUST + (this.tooltipEle.offsetWidth - this.tooltipEle.clientWidth);\n }\n if (this.mouseTrail) {\n tipAdjust += MOUSE_TRAIL_GAP;\n }\n switch (position) {\n case 'RightTop':\n pos.left += tipWidth + tipAdjust;\n pos.top -= tooltipEleHeight - tipHeightAdjust;\n break;\n case 'RightCenter':\n pos.left += tipWidth + tipAdjust;\n pos.top -= (tooltipEleHeight / 2);\n break;\n case 'RightBottom':\n pos.left += tipWidth + tipAdjust;\n pos.top -= (tipHeightAdjust);\n break;\n case 'BottomRight':\n pos.top += (tipHeight + tipAdjust);\n pos.left -= (tipWidthAdjust);\n break;\n case 'BottomCenter':\n pos.top += (tipHeight + tipAdjust);\n pos.left -= (tooltipEleWidth / 2);\n break;\n case 'BottomLeft':\n pos.top += (tipHeight + tipAdjust);\n pos.left -= (tooltipEleWidth - tipWidthAdjust);\n break;\n case 'LeftBottom':\n pos.left -= (tipWidth + tooltipEleWidth + tipAdjust);\n pos.top -= (tipHeightAdjust);\n break;\n case 'LeftCenter':\n pos.left -= (tipWidth + tooltipEleWidth + tipAdjust);\n pos.top -= (tooltipEleHeight / 2);\n break;\n case 'LeftTop':\n pos.left -= (tipWidth + tooltipEleWidth + tipAdjust);\n pos.top -= (tooltipEleHeight - tipHeightAdjust);\n break;\n case 'TopLeft':\n pos.top -= (tooltipEleHeight + tipHeight + tipAdjust);\n pos.left -= (tooltipEleWidth - tipWidthAdjust);\n break;\n case 'TopRight':\n pos.top -= (tooltipEleHeight + tipHeight + tipAdjust);\n pos.left -= (tipWidthAdjust);\n break;\n default:\n pos.top -= (tooltipEleHeight + tipHeight + tipAdjust);\n pos.left -= (tooltipEleWidth / 2);\n break;\n }\n pos.left += this.offsetX;\n pos.top += this.offsetY;\n return pos;\n };\n Tooltip.prototype.updateTipPosition = function (position) {\n var selEle = selectAll('.' + ARROW_TIP + ',.' + ARROW_TIP_OUTER + ',.' + ARROW_TIP_INNER, this.tooltipEle);\n var removeList = [TIP_BOTTOM, TIP_TOP, TIP_LEFT, TIP_RIGHT];\n removeClass(selEle, removeList);\n this.setTipClass(position);\n addClass(selEle, this.tipClass);\n };\n Tooltip.prototype.adjustArrow = function (target, position, tooltipPositionX, tooltipPositionY) {\n if (this.showTipPointer === false) {\n return;\n }\n this.updateTipPosition(position);\n var leftValue;\n var topValue;\n this.tooltipEle.style.display = 'block';\n var tooltipWidth = this.tooltipEle.clientWidth;\n var tooltipHeight = this.tooltipEle.clientHeight;\n var arrowEle = select('.' + ARROW_TIP, this.tooltipEle);\n var arrowInnerELe = select('.' + ARROW_TIP_INNER, this.tooltipEle);\n var tipWidth = arrowEle.offsetWidth;\n var tipHeight = arrowEle.offsetHeight;\n this.tooltipEle.style.display = '';\n if (this.tipClass === TIP_BOTTOM || this.tipClass === TIP_TOP) {\n if (this.tipClass === TIP_BOTTOM) {\n topValue = '99.9%';\n // Arrow icon aligned -2px height from ArrowOuterTip div\n arrowInnerELe.style.top = '-' + (tipHeight - 2) + 'px';\n }\n else {\n topValue = -(tipHeight - 1) + 'px';\n // Arrow icon aligned -6px height from ArrowOuterTip div\n arrowInnerELe.style.top = '-' + (tipHeight - 6) + 'px';\n }\n if (target) {\n var tipPosExclude = tooltipPositionX !== 'Center' || (tooltipWidth > target.offsetWidth) || this.mouseTrail;\n if ((tipPosExclude && tooltipPositionX === 'Left') || (!tipPosExclude && this.tipPointerPosition === 'End')) {\n leftValue = (tooltipWidth - tipWidth - POINTER_ADJUST) + 'px';\n }\n else if ((tipPosExclude && tooltipPositionX === 'Right') || (!tipPosExclude && this.tipPointerPosition === 'Start')) {\n leftValue = POINTER_ADJUST + 'px';\n }\n else if ((tipPosExclude) && (this.tipPointerPosition === 'End' || this.tipPointerPosition === 'Start')) {\n leftValue = (this.tipPointerPosition === 'End') ? ((target.offsetWidth + ((this.tooltipEle.offsetWidth - target.offsetWidth) / 2)) - (tipWidth / 2)) - POINTER_ADJUST + 'px'\n : ((this.tooltipEle.offsetWidth - target.offsetWidth) / 2) - (tipWidth / 2) + POINTER_ADJUST + 'px';\n }\n else {\n leftValue = ((tooltipWidth / 2) - (tipWidth / 2)) + 'px';\n }\n }\n }\n else {\n if (this.tipClass === TIP_RIGHT) {\n leftValue = '99.9%';\n // Arrow icon aligned -2px left from ArrowOuterTip div\n arrowInnerELe.style.left = '-' + (tipWidth - 2) + 'px';\n }\n else {\n leftValue = -(tipWidth - 1) + 'px';\n // Arrow icon aligned -2px from ArrowOuterTip width\n arrowInnerELe.style.left = (-(tipWidth) + (tipWidth - 2)) + 'px';\n }\n var tipPosExclude = tooltipPositionY !== 'Center' || (tooltipHeight > target.offsetHeight) || this.mouseTrail;\n if ((tipPosExclude && tooltipPositionY === 'Top') || (!tipPosExclude && this.tipPointerPosition === 'End')) {\n topValue = (tooltipHeight - tipHeight - POINTER_ADJUST) + 'px';\n }\n else if ((tipPosExclude && tooltipPositionY === 'Bottom') || (!tipPosExclude && this.tipPointerPosition === 'Start')) {\n topValue = POINTER_ADJUST + 'px';\n }\n else {\n topValue = ((tooltipHeight / 2) - (tipHeight / 2)) + 'px';\n }\n }\n arrowEle.style.top = topValue;\n arrowEle.style.left = leftValue;\n };\n Tooltip.prototype.renderContent = function (target) {\n var tooltipContent = select('.' + CONTENT, this.tooltipEle);\n if (this.cssClass) {\n addClass([this.tooltipEle], this.cssClass.split(' '));\n }\n if (target && !isNullOrUndefined(target.getAttribute('title'))) {\n target.setAttribute('data-content', target.getAttribute('title'));\n target.removeAttribute('title');\n }\n if (!isNullOrUndefined(this.content)) {\n tooltipContent.innerHTML = '';\n if (this.content instanceof HTMLElement) {\n tooltipContent.appendChild(this.content);\n }\n else if (typeof this.content === 'string') {\n if (this.enableHtmlSanitizer) {\n this.setProperties({ content: SanitizeHtmlHelper.sanitize(this.content) }, true);\n }\n var tempFunction = compile(this.content);\n var tempArr = tempFunction({}, this, 'content', this.element.id + 'content', undefined, undefined, tooltipContent);\n if (tempArr) {\n if (this.enableHtmlParse) {\n var nodeList = tempArr.length;\n for (var i = 0; i < nodeList; i++) {\n tooltipContent[append(tempArr, tooltipContent), 'innerHTML'] = this.content;\n }\n }\n else {\n tooltipContent['textContent'] = this.content;\n }\n }\n }\n else {\n var templateFunction = compile(this.content);\n var tempArr = templateFunction({}, this, 'content', this.element.id + 'content', undefined, undefined, tooltipContent);\n if (tempArr) {\n append(tempArr, tooltipContent);\n }\n this.renderReactTemplates();\n }\n }\n else {\n if (target && !isNullOrUndefined(target.getAttribute('data-content'))) {\n tooltipContent.innerHTML = target.getAttribute('data-content');\n }\n }\n };\n Tooltip.prototype.renderCloseIcon = function () {\n if (!this.isSticky) {\n return;\n }\n var tipClose = this.createElement('div', { className: ICON$1 + ' ' + CLOSE });\n this.tooltipEle.appendChild(tipClose);\n EventHandler.add(tipClose, Browser.touchStartEvent, this.onStickyClose, this);\n };\n Tooltip.prototype.addDataTooltipId = function (target, id) {\n attributes(target, { 'data-tooltip-id': id });\n };\n Tooltip.prototype.removeDataTooltipId = function (target) {\n target.removeAttribute('data-tooltip-id');\n };\n Tooltip.prototype.tapHoldHandler = function (evt) {\n clearTimeout(this.autoCloseTimer);\n this.targetHover(evt.originalEvent);\n };\n Tooltip.prototype.touchEndHandler = function (e) {\n var _this = this;\n if (this.isSticky) {\n return;\n }\n var close = function () {\n _this.close();\n };\n this.autoCloseTimer = setTimeout(close, TOUCHEND_HIDE_DELAY);\n };\n Tooltip.prototype.targetClick = function (e) {\n var target;\n if (this.target) {\n target = closest(e.target, this.target);\n }\n else {\n target = this.element;\n }\n if (isNullOrUndefined(target)) {\n return;\n }\n if (target.getAttribute('data-tooltip-id') === null) {\n this.targetHover(e);\n }\n else if (!this.isSticky) {\n this.hideTooltip(this.animation.close, e, target);\n }\n };\n Tooltip.prototype.targetHover = function (e) {\n var target;\n if (this.target) {\n target = closest(e.target, this.target);\n }\n else {\n target = this.element;\n }\n if (isNullOrUndefined(target) || (target.getAttribute('data-tooltip-id') !== null && this.closeDelay === 0)) {\n return;\n }\n var targetList = [].slice.call(selectAll('[data-tooltip-id= \"' + this.ctrlId + '_content\"]', document));\n for (var _i = 0, targetList_1 = targetList; _i < targetList_1.length; _i++) {\n var target_1 = targetList_1[_i];\n this.restoreElement(target_1);\n }\n this.showTooltip(target, this.animation.open, e);\n };\n Tooltip.prototype.mouseMoveBeforeOpen = function (e) {\n this.mouseMoveEvent = e;\n };\n Tooltip.prototype.mouseMoveBeforeRemove = function () {\n if (this.mouseMoveTarget) {\n EventHandler.remove(this.mouseMoveTarget, 'mousemove touchstart', this.mouseMoveBeforeOpen);\n }\n };\n Tooltip.prototype.showTooltip = function (target, showAnimation, e) {\n var _this = this;\n clearTimeout(this.showTimer);\n clearTimeout(this.hideTimer);\n if (this.openDelay && this.mouseTrail) {\n this.mouseMoveBeforeRemove();\n this.mouseMoveTarget = target;\n EventHandler.add(this.mouseMoveTarget, 'mousemove touchstart', this.mouseMoveBeforeOpen, this);\n }\n this.tooltipEventArgs = {\n type: e ? e.type : null, cancel: false, target: target, event: e ? e : null,\n element: this.tooltipEle, isInteracted: !isNullOrUndefined(e)\n };\n var observeCallback = function (beforeRenderArgs) {\n _this.beforeRenderCallback(beforeRenderArgs, target, e, showAnimation);\n };\n this.trigger('beforeRender', this.tooltipEventArgs, observeCallback.bind(this));\n };\n Tooltip.prototype.beforeRenderCallback = function (beforeRenderArgs, target, e, showAnimation) {\n if (beforeRenderArgs.cancel) {\n this.isHidden = true;\n this.clear();\n this.mouseMoveBeforeRemove();\n }\n else {\n this.isHidden = false;\n if (isNullOrUndefined(this.tooltipEle)) {\n this.ctrlId = this.element.getAttribute('id') ?\n getUniqueID(this.element.getAttribute('id')) : getUniqueID('tooltip');\n this.tooltipEle = this.createElement('div', {\n className: TOOLTIP_WRAP + ' ' + POPUP_ROOT$1 + ' ' + POPUP_LIB, attrs: {\n role: 'tooltip', 'aria-hidden': 'false', 'id': this.ctrlId + '_content'\n }, styles: 'width:' +\n formatUnit(this.width) + ';height:' + formatUnit(this.height) + ';position:absolute;'\n });\n if (Object.keys(this.htmlAttributes).length !== 0) {\n for (var attr in this.htmlAttributes) {\n if (attr === \"class\") {\n this.tooltipEle.classList.add(this.htmlAttributes[\"\" + attr]);\n }\n else {\n this.tooltipEle.setAttribute(attr, this.htmlAttributes[\"\" + attr]);\n }\n }\n }\n this.tooltipBeforeRender(target, this);\n this.tooltipAfterRender(target, e, showAnimation, this);\n }\n else {\n if (target) {\n this.adjustArrow(target, this.position, this.tooltipPositionX, this.tooltipPositionY);\n this.addDataTooltipId(target, this.ctrlId + '_content');\n this.renderContent(target);\n Animation.stop(this.tooltipEle);\n this.reposition(target);\n this.tooltipAfterRender(target, e, showAnimation, this);\n }\n }\n }\n };\n Tooltip.prototype.appendContainer = function (ctrlObj) {\n if (typeof this.container == 'string') {\n if (this.container === 'body') {\n this.containerElement = document.body;\n }\n else {\n this.isBodyContainer = false;\n this.containerElement = select(this.container, document);\n }\n }\n else if (this.container instanceof HTMLElement) {\n this.containerElement = this.container;\n this.isBodyContainer = this.containerElement.tagName === 'BODY';\n }\n if (!this.isBodyContainer) {\n addClass([this.containerElement], POPUP_CONTAINER);\n }\n this.containerElement.appendChild(ctrlObj.tooltipEle);\n };\n Tooltip.prototype.tooltipBeforeRender = function (target, ctrlObj) {\n if (target) {\n if (Browser.isDevice) {\n addClass([ctrlObj.tooltipEle], DEVICE$1);\n }\n if (ctrlObj.width !== 'auto') {\n ctrlObj.tooltipEle.style.maxWidth = formatUnit(ctrlObj.width);\n }\n ctrlObj.tooltipEle.appendChild(ctrlObj.createElement('div', { className: CONTENT }));\n this.appendContainer(ctrlObj);\n removeClass([ctrlObj.tooltipEle], HIDE_POPUP);\n ctrlObj.addDataTooltipId(target, ctrlObj.ctrlId + '_content');\n ctrlObj.renderContent(target);\n addClass([ctrlObj.tooltipEle], POPUP_OPEN);\n if (ctrlObj.showTipPointer) {\n ctrlObj.renderArrow();\n }\n ctrlObj.renderCloseIcon();\n ctrlObj.renderPopup(target);\n ctrlObj.adjustArrow(target, ctrlObj.position, ctrlObj.tooltipPositionX, ctrlObj.tooltipPositionY);\n Animation.stop(ctrlObj.tooltipEle);\n ctrlObj.reposition(target);\n }\n };\n Tooltip.prototype.tooltipAfterRender = function (target, e, showAnimation, ctrlObj) {\n if (target) {\n removeClass([ctrlObj.tooltipEle], POPUP_OPEN);\n addClass([ctrlObj.tooltipEle], POPUP_CLOSE);\n ctrlObj.tooltipEventArgs = {\n type: e ? e.type : null, cancel: false, target: target, event: e ? e : null,\n element: ctrlObj.tooltipEle, isInteracted: !isNullOrUndefined(e)\n };\n if (ctrlObj.needTemplateReposition() && !ctrlObj.mouseTrail) {\n ctrlObj.tooltipEle.style.display = 'none';\n }\n var observeCallback = function (observedArgs) {\n ctrlObj.beforeOpenCallback(observedArgs, target, showAnimation, e);\n };\n ctrlObj.trigger('beforeOpen', ctrlObj.tooltipEventArgs, observeCallback.bind(ctrlObj));\n }\n };\n Tooltip.prototype.beforeOpenCallback = function (observedArgs, target, showAnimation, e) {\n var _this = this;\n if (observedArgs.cancel) {\n this.isHidden = true;\n this.clear();\n this.mouseMoveBeforeRemove();\n this.restoreElement(target);\n }\n else {\n var openAnimation_1 = {\n name: showAnimation.effect,\n duration: showAnimation.duration,\n delay: showAnimation.delay,\n timingFunction: 'easeOut'\n };\n if (showAnimation.effect === 'None') {\n openAnimation_1 = undefined;\n }\n if (this.openDelay > 0) {\n var show = function () {\n if (_this.mouseTrail) {\n EventHandler.add(target, 'mousemove touchstart mouseenter', _this.onMouseMove, _this);\n }\n if (_this.popupObj) {\n _this.popupObj.show(openAnimation_1, target);\n if (_this.mouseMoveEvent && _this.mouseTrail) {\n _this.onMouseMove(_this.mouseMoveEvent);\n }\n }\n };\n this.showTimer = setTimeout(show, this.openDelay);\n }\n else {\n if (this.popupObj) {\n this.popupObj.show(openAnimation_1, target);\n }\n }\n }\n if (e) {\n this.wireMouseEvents(e, target);\n }\n };\n Tooltip.prototype.needTemplateReposition = function () {\n // eslint-disable-next-line\n var tooltip = this;\n return !isNullOrUndefined(tooltip.viewContainerRef)\n && typeof tooltip.viewContainerRef !== 'string';\n };\n Tooltip.prototype.checkCollision = function (target, x, y) {\n var elePos = {\n left: x, top: y, position: this.position,\n horizontal: this.tooltipPositionX, vertical: this.tooltipPositionY\n };\n var affectedPos = isCollide(this.tooltipEle, this.checkCollideTarget(), x, y);\n if (affectedPos.length > 0) {\n elePos.horizontal = affectedPos.indexOf('left') >= 0 ? 'Right' : affectedPos.indexOf('right') >= 0 ? 'Left' :\n this.tooltipPositionX;\n elePos.vertical = affectedPos.indexOf('top') >= 0 ? 'Bottom' : affectedPos.indexOf('bottom') >= 0 ? 'Top' :\n this.tooltipPositionY;\n }\n return elePos;\n };\n Tooltip.prototype.calculateElementPosition = function (pos, offsetPos) {\n return [this.isBodyContainer ? pos.left + offsetPos.left :\n (pos.left - this.containerElement.offsetLeft) + offsetPos.left + window.pageXOffset + this.containerElement.scrollLeft,\n this.isBodyContainer ? pos.top + offsetPos.top :\n (pos.top - this.containerElement.offsetTop) + offsetPos.top + window.pageYOffset + this.containerElement.scrollTop];\n };\n Tooltip.prototype.collisionFlipFit = function (target, x, y) {\n var elePos = this.checkCollision(target, x, y);\n var newpos = elePos.position;\n if (this.tooltipPositionY !== elePos.vertical) {\n newpos = ((this.position.indexOf('Bottom') === 0 || this.position.indexOf('Top') === 0) ?\n elePos.vertical + this.tooltipPositionX : this.tooltipPositionX + elePos.vertical);\n }\n if (this.tooltipPositionX !== elePos.horizontal) {\n if (newpos.indexOf('Left') === 0) {\n elePos.vertical = (newpos === 'LeftTop' || newpos === 'LeftCenter') ? 'Top' : 'Bottom';\n newpos = (elePos.vertical + 'Left');\n }\n if (newpos.indexOf('Right') === 0) {\n elePos.vertical = (newpos === 'RightTop' || newpos === 'RightCenter') ? 'Top' : 'Bottom';\n newpos = (elePos.vertical + 'Right');\n }\n elePos.horizontal = this.tooltipPositionX;\n }\n this.tooltipEventArgs = {\n type: null, cancel: false, target: target, event: null,\n element: this.tooltipEle, collidedPosition: newpos\n };\n this.trigger('beforeCollision', this.tooltipEventArgs);\n if (this.tooltipEventArgs.cancel) {\n newpos = this.position;\n }\n else {\n var elePosVertical = elePos.vertical;\n var elePosHorizontal = elePos.horizontal;\n if (elePos.position !== newpos) {\n var pos = calculatePosition(target, elePosHorizontal, elePosVertical, !this.isBodyContainer, this.isBodyContainer ? null : this.containerElement.getBoundingClientRect());\n this.adjustArrow(target, newpos, elePosHorizontal, elePosVertical);\n var scalingFactors = this.getScalingFactor();\n var offsetPos = this.calculateTooltipOffset(newpos, scalingFactors.x, scalingFactors.y);\n offsetPos.top -= this.getOffSetPosition('TopBottom', newpos, this.offsetY);\n offsetPos.left -= this.getOffSetPosition('RightLeft', newpos, this.offsetX);\n elePos.position = newpos;\n var elePosition = this.calculateElementPosition(pos, offsetPos);\n elePos.left = elePosition[0];\n elePos.top = elePosition[1];\n }\n else {\n this.adjustArrow(target, newpos, elePosHorizontal, elePosVertical);\n }\n }\n var eleOffset = { left: elePos.left, top: elePos.top };\n var position = this.isBodyContainer ?\n fit(this.tooltipEle, this.checkCollideTarget(), { X: true, Y: this.windowCollision }, eleOffset) : eleOffset;\n this.tooltipEle.style.display = 'block';\n if (this.showTipPointer && (newpos.indexOf('Bottom') === 0 || newpos.indexOf('Top') === 0)) {\n var arrowEle = select('.' + ARROW_TIP, this.tooltipEle);\n var arrowleft = parseInt(arrowEle.style.left, 10) - (position.left - elePos.left);\n if (arrowleft < 0) {\n arrowleft = 0;\n }\n else if ((arrowleft + arrowEle.offsetWidth) > this.tooltipEle.clientWidth) {\n arrowleft = this.tooltipEle.clientWidth - arrowEle.offsetWidth;\n }\n arrowEle.style.left = arrowleft.toString() + 'px';\n }\n this.tooltipEle.style.display = '';\n eleOffset.left = position.left;\n eleOffset.top = position.top;\n return eleOffset;\n };\n Tooltip.prototype.getOffSetPosition = function (positionString, newPos, offsetType) {\n return ((positionString.indexOf(this.position.split(/(?=[A-Z])/)[0]) !== -1) &&\n (positionString.indexOf(newPos.split(/(?=[A-Z])/)[0]) !== -1)) ? (2 * offsetType) : 0;\n };\n Tooltip.prototype.checkCollideTarget = function () {\n return !this.windowCollision && this.target ? this.element : null;\n };\n Tooltip.prototype.hideTooltip = function (hideAnimation, e, targetElement) {\n var _this = this;\n if (this.closeDelay > 0) {\n clearTimeout(this.hideTimer);\n clearTimeout(this.showTimer);\n var hide = function () {\n if (_this.closeDelay && _this.tooltipEle && _this.isTooltipOpen) {\n return;\n }\n _this.tooltipHide(hideAnimation, e, targetElement);\n };\n this.hideTimer = setTimeout(hide, this.closeDelay);\n }\n else {\n this.tooltipHide(hideAnimation, e, targetElement);\n }\n };\n Tooltip.prototype.tooltipHide = function (hideAnimation, e, targetElement) {\n var _this = this;\n var target;\n if (e) {\n target = this.target ? (targetElement || e.target) : this.element;\n }\n else {\n target = select('[data-tooltip-id= \"' + this.ctrlId + '_content\"]', document);\n }\n this.tooltipEventArgs = {\n type: e ? e.type : null, cancel: false, target: target, event: e ? e : null,\n element: this.tooltipEle, isInteracted: !isNullOrUndefined(e)\n };\n // this line commented for close the tooltip popup element even the target element destroyed in a page.\n //if (isNullOrUndefined(target)) { return; }\n this.trigger('beforeClose', this.tooltipEventArgs, function (observedArgs) {\n if (!observedArgs.cancel) {\n _this.mouseMoveBeforeRemove();\n _this.popupHide(hideAnimation, target);\n }\n else {\n _this.isHidden = false;\n }\n });\n this.tooltipEventArgs = null;\n };\n Tooltip.prototype.popupHide = function (hideAnimation, target) {\n if (target) {\n this.restoreElement(target);\n }\n this.isHidden = true;\n var closeAnimation = {\n name: hideAnimation.effect,\n duration: hideAnimation.duration,\n delay: hideAnimation.delay,\n timingFunction: 'easeIn'\n };\n if (hideAnimation.effect === 'None') {\n closeAnimation = undefined;\n }\n if (this.popupObj) {\n this.popupObj.hide(closeAnimation);\n }\n };\n Tooltip.prototype.restoreElement = function (target) {\n this.unwireMouseEvents(target);\n if (!isNullOrUndefined(target.getAttribute('data-content'))) {\n target.setAttribute('title', target.getAttribute('data-content'));\n target.removeAttribute('data-content');\n }\n this.removeDataTooltipId(target);\n };\n Tooltip.prototype.clear = function () {\n if (this.tooltipEle) {\n removeClass([this.tooltipEle], POPUP_CLOSE);\n addClass([this.tooltipEle], POPUP_OPEN);\n }\n if (this.isHidden) {\n if (this.popupObj) {\n this.popupObj.destroy();\n }\n if (this.tooltipEle) {\n remove(this.tooltipEle);\n }\n this.tooltipEle = null;\n this.popupObj = null;\n }\n };\n Tooltip.prototype.tooltipHover = function (e) {\n if (this.tooltipEle) {\n this.isTooltipOpen = true;\n }\n };\n Tooltip.prototype.tooltipMouseOut = function (e) {\n this.isTooltipOpen = false;\n this.hideTooltip(this.animation.close, e, this.findTarget());\n };\n Tooltip.prototype.onMouseOut = function (e) {\n var enteredElement = e.relatedTarget;\n // don't close the tooltip only if it is tooltip content element\n if (enteredElement && !this.mouseTrail) {\n var checkForTooltipElement = closest(enteredElement, \".\" + TOOLTIP_WRAP + \".\" + POPUP_LIB + \".\" + POPUP_ROOT$1);\n if (checkForTooltipElement) {\n EventHandler.add(checkForTooltipElement, 'mouseleave', this.tooltipElementMouseOut, this);\n }\n else {\n this.hideTooltip(this.animation.close, e, this.findTarget());\n if (this.closeDelay === 0) {\n this.clear();\n }\n }\n }\n else {\n this.hideTooltip(this.animation.close, e, this.findTarget());\n this.clear();\n }\n };\n Tooltip.prototype.tooltipElementMouseOut = function (e) {\n this.hideTooltip(this.animation.close, e, this.findTarget());\n EventHandler.remove(this.element, 'mouseleave', this.tooltipElementMouseOut);\n this.clear();\n };\n Tooltip.prototype.onStickyClose = function (e) {\n this.close();\n };\n Tooltip.prototype.onMouseMove = function (event) {\n var eventPageX = 0;\n var eventPageY = 0;\n if (event.type.indexOf('touch') > -1) {\n event.preventDefault();\n eventPageX = event.touches[0].pageX;\n eventPageY = event.touches[0].pageY;\n }\n else {\n eventPageX = event.pageX;\n eventPageY = event.pageY;\n }\n Animation.stop(this.tooltipEle);\n removeClass([this.tooltipEle], POPUP_CLOSE);\n addClass([this.tooltipEle], POPUP_OPEN);\n this.adjustArrow(event.target, this.position, this.tooltipPositionX, this.tooltipPositionY);\n var scalingFactors = this.getScalingFactor();\n var pos = this.calculateTooltipOffset(this.position, scalingFactors.x, scalingFactors.y);\n var x = eventPageX + pos.left + this.offsetX;\n var y = eventPageY + pos.top + this.offsetY;\n var elePos = this.checkCollision(event.target, x, y);\n if (this.tooltipPositionX !== elePos.horizontal || this.tooltipPositionY !== elePos.vertical) {\n var newpos = (this.position.indexOf('Bottom') === 0 || this.position.indexOf('Top') === 0) ?\n elePos.vertical + elePos.horizontal : elePos.horizontal + elePos.vertical;\n elePos.position = newpos;\n this.adjustArrow(event.target, elePos.position, elePos.horizontal, elePos.vertical);\n var colpos = this.calculateTooltipOffset(elePos.position, scalingFactors.x, scalingFactors.y);\n elePos.left = eventPageX + colpos.left - this.offsetX;\n elePos.top = eventPageY + colpos.top - this.offsetY;\n }\n this.tooltipEle.style.left = elePos.left + 'px';\n this.tooltipEle.style.top = elePos.top + 'px';\n };\n Tooltip.prototype.keyDown = function (event) {\n if (!isNullOrUndefined(this.targetsList) && !isNullOrUndefined(this.target)) {\n var target = [].slice.call(selectAll(this.target, this.element));\n if (target.length !== this.targetsList.length) {\n this.unwireEvents(this.opensOn);\n this.wireEvents(this.opensOn);\n }\n }\n if (this.tooltipEle && event.keyCode === 27) {\n this.close();\n }\n };\n Tooltip.prototype.touchEnd = function (e) {\n if (this.tooltipEle && closest(e.target, '.' + ROOT$1) === null && !this.isSticky) {\n this.close();\n }\n };\n Tooltip.prototype.scrollHandler = function (e) {\n if (this.tooltipEle && !this.isSticky) {\n if (!(closest(e.target, \".\" + TOOLTIP_WRAP + \".\" + POPUP_LIB + \".\" + POPUP_ROOT$1))) {\n this.close();\n }\n }\n };\n /**\n * Core method that initializes the control rendering.\n *\n * @private\n * @returns {void}\n */\n Tooltip.prototype.render = function () {\n this.initialize();\n this.wireEvents(this.opensOn);\n this.renderComplete();\n };\n /**\n * Initializes the values of private members.\n *\n * @private\n * @returns {void}\n */\n Tooltip.prototype.preRender = function () {\n this.tipClass = TIP_BOTTOM;\n this.tooltipPositionX = 'Center';\n this.tooltipPositionY = 'Top';\n this.isHidden = true;\n };\n /**\n * Binding events to the Tooltip element.\n *\n * @hidden\n * @param {string} trigger - specify the trigger string to the function\n * @returns {void}\n *\n */\n Tooltip.prototype.wireEvents = function (trigger) {\n var triggerList = this.getTriggerList(trigger);\n for (var _i = 0, triggerList_1 = triggerList; _i < triggerList_1.length; _i++) {\n var opensOn = triggerList_1[_i];\n if (opensOn === 'Custom') {\n return;\n }\n if (opensOn === 'Focus') {\n this.wireFocusEvents();\n }\n if (opensOn === 'Click') {\n EventHandler.add(this.element, Browser.touchStartEvent, this.targetClick, this);\n }\n if (opensOn === 'Hover') {\n if (Browser.isDevice) {\n this.touchModule = new Touch(this.element, {\n tapHoldThreshold: TAPHOLD_THRESHOLD,\n tapHold: this.tapHoldHandler.bind(this)\n });\n EventHandler.add(this.element, Browser.touchEndEvent, this.touchEndHandler, this);\n }\n else {\n EventHandler.add(this.element, 'mouseover', this.targetHover, this);\n }\n }\n }\n EventHandler.add(document, 'touchend', this.touchEnd, this);\n EventHandler.add(document, 'scroll wheel', this.scrollHandler, this);\n EventHandler.add(window, 'resize', this.windowResize, this);\n EventHandler.add(document, 'keydown', this.keyDown, this);\n };\n Tooltip.prototype.getTriggerList = function (trigger) {\n if (trigger === 'Auto') {\n trigger = (Browser.isDevice) ? 'Hover' : 'Hover Focus';\n }\n return trigger.split(' ');\n };\n Tooltip.prototype.wireFocusEvents = function () {\n if (!isNullOrUndefined(this.target)) {\n if (this.element.nodeName !== \"BODY\") {\n EventHandler.add(this.element, 'focusin', this.targetHover, this);\n }\n else {\n var targetList = [].slice.call(selectAll(this.target, this.element));\n this.targetsList = targetList;\n for (var _i = 0, targetList_2 = targetList; _i < targetList_2.length; _i++) {\n var target = targetList_2[_i];\n EventHandler.add(target, 'focus', this.targetHover, this);\n }\n }\n }\n else {\n EventHandler.add(this.element, 'focus', this.targetHover, this);\n }\n };\n Tooltip.prototype.wireMouseEvents = function (e, target) {\n if (this.tooltipEle) {\n if (!this.isSticky) {\n if (e.type === 'focus') {\n EventHandler.add(target, 'blur', this.onMouseOut, this);\n }\n if (e.type === 'focusin') {\n EventHandler.add(target, 'focusout', this.onMouseOut, this);\n }\n if (e.type === 'mouseover') {\n EventHandler.add(target, 'mouseleave', this.onMouseOut, this);\n }\n if (this.closeDelay) {\n EventHandler.add(this.tooltipEle, 'mouseenter', this.tooltipHover, this);\n EventHandler.add(this.tooltipEle, 'mouseleave', this.tooltipMouseOut, this);\n }\n }\n if (this.mouseTrail && this.openDelay === 0) {\n EventHandler.add(target, 'mousemove touchstart mouseenter', this.onMouseMove, this);\n }\n }\n };\n /**\n * Unbinding events from the element on widget destroy.\n *\n * @hidden\n *\n * @param {string} trigger - specify the trigger string to the function\n * @returns {void}\n *\n */\n Tooltip.prototype.unwireEvents = function (trigger) {\n var triggerList = this.getTriggerList(trigger);\n for (var _i = 0, triggerList_2 = triggerList; _i < triggerList_2.length; _i++) {\n var opensOn = triggerList_2[_i];\n if (opensOn === 'Custom') {\n return;\n }\n if (opensOn === 'Focus') {\n this.unwireFocusEvents();\n }\n if (opensOn === 'Click') {\n EventHandler.remove(this.element, Browser.touchStartEvent, this.targetClick);\n }\n if (opensOn === 'Hover') {\n if (Browser.isDevice) {\n if (this.touchModule) {\n this.touchModule.destroy();\n }\n EventHandler.remove(this.element, Browser.touchEndEvent, this.touchEndHandler);\n }\n else {\n EventHandler.remove(this.element, 'mouseover', this.targetHover);\n }\n }\n }\n EventHandler.remove(document, 'touchend', this.touchEnd);\n EventHandler.remove(document, 'scroll wheel', this.scrollHandler);\n EventHandler.remove(window, 'resize', this.windowResize);\n EventHandler.remove(document, 'keydown', this.keyDown);\n };\n Tooltip.prototype.unwireFocusEvents = function () {\n if (!isNullOrUndefined(this.target)) {\n if (this.element.nodeName === 'BODY') {\n EventHandler.remove(this.element, 'focusin', this.targetHover);\n }\n else {\n var targetList = [].slice.call(selectAll(this.target, this.element));\n for (var _i = 0, targetList_3 = targetList; _i < targetList_3.length; _i++) {\n var target = targetList_3[_i];\n EventHandler.remove(target, 'focus', this.targetHover);\n }\n }\n }\n else {\n EventHandler.remove(this.element, 'focus', this.targetHover);\n }\n };\n Tooltip.prototype.unwireMouseEvents = function (target) {\n if (!this.isSticky) {\n var triggerList = this.getTriggerList(this.opensOn);\n for (var _i = 0, triggerList_3 = triggerList; _i < triggerList_3.length; _i++) {\n var opensOn = triggerList_3[_i];\n if (opensOn === 'Focus') {\n EventHandler.remove(target, 'blur', this.onMouseOut);\n EventHandler.remove(target, 'focusout', this.onMouseOut);\n }\n if (opensOn === 'Hover' && !Browser.isDevice) {\n EventHandler.remove(target, 'mouseleave', this.onMouseOut);\n }\n }\n if (this.closeDelay) {\n EventHandler.remove(target, 'mouseenter', this.tooltipHover);\n EventHandler.remove(target, 'mouseleave', this.tooltipMouseOut);\n }\n }\n if (this.mouseTrail) {\n EventHandler.remove(target, 'mousemove touchstart mouseenter', this.onMouseMove);\n }\n };\n Tooltip.prototype.findTarget = function () {\n var target = select('[data-tooltip-id= \"' + this.ctrlId + '_content\"]', document);\n return target;\n };\n /**\n * Core method to return the component name.\n *\n * @private\n *\n * @returns {string} - this method returns module name.\n */\n Tooltip.prototype.getModuleName = function () {\n return 'tooltip';\n };\n /**\n * Returns the properties to be maintained in the persisted state.\n *\n * @private\n *\n * @returns {string} - this method returns persisted data.\n */\n Tooltip.prototype.getPersistData = function () {\n return this.addOnPersist([]);\n };\n /**\n * Called internally, if any of the property value changed.\n *\n * @private\n *\n * @param {TooltipModel} newProp - this param gives new property values to the method\n * @param {TooltipModel} oldProp - this param gives old property values to the method\n * @returns {void}\n *\n */\n Tooltip.prototype.onPropertyChanged = function (newProp, oldProp) {\n var targetElement = this.findTarget();\n for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {\n var prop = _a[_i];\n switch (prop) {\n case 'width':\n if (this.tooltipEle && targetElement) {\n this.tooltipEle.style.width = this.tooltipEle.style.maxWidth = formatUnit(newProp.width);\n this.reposition(targetElement);\n }\n break;\n case 'height':\n if (this.tooltipEle && targetElement) {\n this.tooltipEle.style.height = formatUnit(newProp.height);\n this.reposition(targetElement);\n }\n break;\n case 'content':\n if (this.tooltipEle) {\n this.renderContent();\n }\n break;\n case 'opensOn':\n this.unwireEvents(oldProp.opensOn);\n this.wireEvents(newProp.opensOn);\n break;\n case 'position':\n this.formatPosition();\n if (this.tooltipEle && targetElement) {\n var arrowInnerELe = select('.' + ARROW_TIP_INNER, this.tooltipEle);\n arrowInnerELe.style.top = arrowInnerELe.style.left = null;\n this.reposition(targetElement);\n }\n break;\n case 'tipPointerPosition':\n if (this.tooltipEle && targetElement) {\n this.reposition(targetElement);\n }\n break;\n case 'offsetX':\n if (this.tooltipEle) {\n var x = newProp.offsetX - oldProp.offsetX;\n this.tooltipEle.style.left = (parseInt(this.tooltipEle.style.left, 10) + (x)).toString() + 'px';\n }\n break;\n case 'offsetY':\n if (this.tooltipEle) {\n var y = newProp.offsetY - oldProp.offsetY;\n this.tooltipEle.style.top = (parseInt(this.tooltipEle.style.top, 10) + (y)).toString() + 'px';\n }\n break;\n case 'cssClass':\n if (this.tooltipEle) {\n if (oldProp.cssClass) {\n removeClass([this.tooltipEle], oldProp.cssClass.split(' '));\n }\n if (newProp.cssClass) {\n addClass([this.tooltipEle], newProp.cssClass.split(' '));\n }\n }\n break;\n case 'enableRtl':\n if (this.tooltipEle) {\n if (this.enableRtl) {\n addClass([this.tooltipEle], RTL$1);\n }\n else {\n removeClass([this.tooltipEle], RTL$1);\n }\n }\n break;\n case 'container':\n if (!isNullOrUndefined(this.containerElement)) {\n removeClass([this.containerElement], POPUP_CONTAINER);\n }\n this.container = newProp.container;\n if (this.tooltipEle && targetElement) {\n this.appendContainer(this);\n this.reposition(targetElement);\n }\n }\n }\n };\n /**\n * It is used to show the Tooltip on the specified target with specific animation settings.\n *\n * @param {HTMLElement} element - Target element where the Tooltip is to be displayed. (It is an optional parameter)\n * @param {TooltipAnimationSettings} animation - Sets the specific animation, while showing the Tooltip on the screen. (It is an optional parameter)\n * @returns {void}\n */\n Tooltip.prototype.open = function (element, animation) {\n if (isNullOrUndefined(animation)) {\n animation = this.animation.open;\n }\n if (isNullOrUndefined(element)) {\n element = this.element;\n }\n if (element.style.display === 'none') {\n return;\n }\n this.showTooltip(element, animation);\n };\n /**\n * It is used to hide the Tooltip with specific animation effect.\n *\n * @param {TooltipAnimationSettings} animation - Sets the specific animation when hiding Tooltip from the screen. (It is an optional parameter)\n * @returns {void}\n */\n Tooltip.prototype.close = function (animation) {\n if (!animation) {\n animation = this.animation.close;\n }\n this.hideTooltip(animation);\n };\n /**\n * It is used to refresh the Tooltip content and its position.\n *\n * @param {HTMLElement} target - Target element where the Tooltip content or position needs to be refreshed.\n * @returns {void}\n */\n Tooltip.prototype.refresh = function (target) {\n if (this.tooltipEle) {\n this.renderContent(target);\n }\n if (this.popupObj && target) {\n this.reposition(target);\n }\n };\n /**\n * It is used to destroy the Tooltip component.\n * @method destroy\n * @returns {void}\n * @memberof Tooltip\n */\n Tooltip.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n if (this.tooltipEle) {\n remove(this.tooltipEle);\n }\n if (this.popupObj) {\n this.popupObj.destroy();\n }\n removeClass([this.element], ROOT$1);\n this.unwireEvents(this.opensOn);\n this.unwireMouseEvents(this.element);\n this.tooltipEle = null;\n this.popupObj = null;\n var currentTarget = selectAll('[data-tooltip-id= \"' + this.ctrlId + '_content\"]', this.element);\n for (var _i = 0, currentTarget_1 = currentTarget; _i < currentTarget_1.length; _i++) {\n var target = currentTarget_1[_i];\n this.restoreElement(target);\n }\n };\n __decorate$2([\n Property('auto')\n ], Tooltip.prototype, \"width\", void 0);\n __decorate$2([\n Property('auto')\n ], Tooltip.prototype, \"height\", void 0);\n __decorate$2([\n Property()\n ], Tooltip.prototype, \"content\", void 0);\n __decorate$2([\n Property('body')\n ], Tooltip.prototype, \"container\", void 0);\n __decorate$2([\n Property()\n ], Tooltip.prototype, \"target\", void 0);\n __decorate$2([\n Property('TopCenter')\n ], Tooltip.prototype, \"position\", void 0);\n __decorate$2([\n Property(0)\n ], Tooltip.prototype, \"offsetX\", void 0);\n __decorate$2([\n Property(0)\n ], Tooltip.prototype, \"offsetY\", void 0);\n __decorate$2([\n Property(true)\n ], Tooltip.prototype, \"showTipPointer\", void 0);\n __decorate$2([\n Property(true)\n ], Tooltip.prototype, \"enableHtmlParse\", void 0);\n __decorate$2([\n Property(false)\n ], Tooltip.prototype, \"windowCollision\", void 0);\n __decorate$2([\n Property('Auto')\n ], Tooltip.prototype, \"tipPointerPosition\", void 0);\n __decorate$2([\n Property('Auto')\n ], Tooltip.prototype, \"opensOn\", void 0);\n __decorate$2([\n Property(false)\n ], Tooltip.prototype, \"mouseTrail\", void 0);\n __decorate$2([\n Property(false)\n ], Tooltip.prototype, \"isSticky\", void 0);\n __decorate$2([\n Complex({}, Animation$1)\n ], Tooltip.prototype, \"animation\", void 0);\n __decorate$2([\n Property(0)\n ], Tooltip.prototype, \"openDelay\", void 0);\n __decorate$2([\n Property(0)\n ], Tooltip.prototype, \"closeDelay\", void 0);\n __decorate$2([\n Property()\n ], Tooltip.prototype, \"cssClass\", void 0);\n __decorate$2([\n Property(false)\n ], Tooltip.prototype, \"enableHtmlSanitizer\", void 0);\n __decorate$2([\n Property('')\n ], Tooltip.prototype, \"htmlAttributes\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"beforeRender\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"beforeOpen\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"afterOpen\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"beforeClose\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"afterClose\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"beforeCollision\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"created\", void 0);\n __decorate$2([\n Event()\n ], Tooltip.prototype, \"destroyed\", void 0);\n Tooltip = __decorate$2([\n NotifyPropertyChanges\n ], Tooltip);\n return Tooltip;\n}(Component));\n\n/**\n * Tooltip modules\n */\n\nvar globalTimeOut = {};\nvar DEFT_MAT_WIDTH = 30;\nvar DEFT_MAT3_WIDTH = 30;\nvar DEFT_FAB_WIDTH = 30;\nvar DEFT_FLUENT_WIDTH = 30;\nvar DEFT_BOOT_WIDTH = 30;\nvar DEFT_BOOT4_WIDTH = 36;\nvar DEFT_BOOT5_WIDTH = 36;\nvar CLS_SHOWSPIN = 'e-spin-show';\nvar CLS_HIDESPIN = 'e-spin-hide';\nvar CLS_MATERIALSPIN = 'e-spin-material';\nvar CLS_MATERIAL3SPIN = 'e-spin-material3';\nvar CLS_FABRICSPIN = 'e-spin-fabric';\nvar CLS_FLUENTSPIN = 'e-spin-fluent';\nvar CLS_TAILWINDSPIN = 'e-spin-tailwind';\nvar CLS_BOOTSPIN = 'e-spin-bootstrap';\nvar CLS_BOOT4SPIN = 'e-spin-bootstrap4';\nvar CLS_BOOT5SPIN = 'e-spin-bootstrap5';\nvar CLS_HIGHCONTRASTSPIN = 'e-spin-high-contrast';\nvar CLS_SPINWRAP = 'e-spinner-pane';\nvar CLS_SPININWRAP = 'e-spinner-inner';\nvar CLS_SPINCIRCLE = 'e-path-circle';\nvar CLS_SPINARC = 'e-path-arc';\nvar CLS_SPINLABEL = 'e-spin-label';\nvar CLS_SPINTEMPLATE = 'e-spin-template';\nvar spinTemplate = null;\nvar spinCSSClass = null;\n// eslint-disable-next-line\n/**\n * Function to change the Spinners in a page globally from application end.\n * ```\n * E.g : blazorSpinner({ action: \"Create\", options: {target: targetElement}, type: \"\" });\n * ```\n *\n * @param {string} action - specifies the string\n * @param {CreateArgs} options - specifies the args\n * @param {string} target - specifies the target\n * @param {string} type - specifes the type\n * @returns {void}\n * @private\n */\nfunction Spinner(action, options, target, type) {\n switch (action) {\n case 'Create':\n /* eslint-disable */\n var element = document.querySelector(options.target);\n var args = { type: type, target: element, cssClass: options.cssClass,\n label: options.label, width: options.width };\n /* eslint-enable */\n createSpinner(args);\n break;\n case 'Show':\n showSpinner(document.querySelector(target));\n break;\n case 'Hide':\n hideSpinner(document.querySelector(target));\n break;\n case 'Set':\n // eslint-disable-next-line\n var setArgs = { cssClass: options.cssClass, type: type };\n setSpinner(setArgs);\n break;\n }\n}\n/**\n * Create a spinner for the specified target element.\n * ```\n * E.g : createSpinner({ target: targetElement, width: '34px', label: 'Loading..' });\n * ```\n *\n * @param {SpinnerArgs} args - specifies the args\n * @param {CreateElementArgs} internalCreateElement - specifis the element args\n * @returns {void}\n * @private\n */\nfunction createSpinner(args, internalCreateElement) {\n var _a;\n if (!args.target) {\n return;\n }\n var radius;\n var makeElement = !isNullOrUndefined(internalCreateElement) ? internalCreateElement : createElement;\n // eslint-disable-next-line\n var container = create_spinner_container(args.target, makeElement);\n if (!isNullOrUndefined(args.cssClass)) {\n var classNames = args.cssClass.split(' ').filter(function (className) { return className.trim() !== ''; });\n (_a = container.wrap.classList).add.apply(_a, classNames);\n }\n if (!isNullOrUndefined(args.template) || !isNullOrUndefined(spinTemplate)) {\n var template = !isNullOrUndefined(args.template) ? args.template : spinTemplate;\n container.wrap.classList.add(CLS_SPINTEMPLATE);\n replaceContent(container.wrap, template, spinCSSClass);\n }\n else {\n var theme = !isNullOrUndefined(args.type) ? args.type : getTheme(container.wrap);\n var width = !isNullOrUndefined(args.width) ? args.width : undefined;\n radius = calculateRadius(width, theme);\n setTheme(theme, container.wrap, radius, makeElement);\n if (!isNullOrUndefined(args.label)) {\n createLabel(container.inner_wrap, args.label, makeElement);\n }\n }\n container.wrap.classList.add(CLS_HIDESPIN);\n container = null;\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {string} label - specifies the string\n * @param {createElementParams} makeElement - specifies the element\n * @returns {HTMLElement} - returns the element\n */\nfunction createLabel(container, label, makeElement) {\n var labelEle = makeElement('div', {});\n labelEle.classList.add(CLS_SPINLABEL);\n labelEle.innerHTML = label;\n container.appendChild(labelEle);\n return labelEle;\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createMaterialSpinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Material', radius: radius };\n create_material_element(container, uniqueID, makeElement, CLS_MATERIALSPIN);\n mat_calculate_attributes(radius, container, 'Material', CLS_MATERIALSPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createMaterial3Spinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Material3', radius: radius };\n create_material_element(container, uniqueID, makeElement, CLS_MATERIAL3SPIN);\n mat_calculate_attributes(radius, container, 'Material3', CLS_MATERIAL3SPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createBootstrap4Spinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Bootstrap4', radius: radius };\n create_material_element(container, uniqueID, makeElement, CLS_BOOT4SPIN);\n mat_calculate_attributes(radius, container, 'Bootstrap4', CLS_BOOT4SPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createBootstrap5Spinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Bootstrap5', radius: radius };\n create_material_element(container, uniqueID, makeElement, CLS_BOOT5SPIN);\n mat_calculate_attributes(radius, container, 'Bootstrap5', CLS_BOOT5SPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {string} uniqueID - specifies the id.\n * @param {number} radius - specifies the radius\n * @returns {void}\n */\nfunction startMatAnimate(container, uniqueID, radius) {\n var globalObject = {};\n var timeOutVar = 0;\n globalTimeOut[\"\" + uniqueID].timeOut = 0;\n globalObject[\"\" + uniqueID] = globalVariables(uniqueID, radius, 0, 0);\n // eslint-disable-next-line\n var spinnerInfo = { uniqueID: uniqueID, container: container, globalInfo: globalObject, timeOutVar: timeOutVar };\n animateMaterial(spinnerInfo);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createFabricSpinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Fabric', radius: radius };\n create_fabric_element(container, uniqueID, CLS_FABRICSPIN, makeElement);\n fb_calculate_attributes(radius, container, CLS_FABRICSPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createFluentSinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Fluent', radius: radius };\n create_fabric_element(container, uniqueID, CLS_FLUENTSPIN, makeElement);\n fb_calculate_attributes(radius, container, CLS_FLUENTSPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createTailwindSpinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Tailwind', radius: radius };\n create_fabric_element(container, uniqueID, CLS_TAILWINDSPIN, makeElement);\n fb_calculate_attributes(radius, container, CLS_TAILWINDSPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createHighContrastSpinner(container, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'HighContrast', radius: radius };\n create_fabric_element(container, uniqueID, CLS_HIGHCONTRASTSPIN, makeElement);\n fb_calculate_attributes(radius, container, CLS_HIGHCONTRASTSPIN);\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @returns {string} - returns the string\n */\nfunction getTheme(container) {\n var theme = window.getComputedStyle(container, ':after').getPropertyValue('content');\n return theme.replace(/['\"]+/g, '');\n}\n/**\n *\n * @param {string} theme - specifies the theme\n * @param {HTMLElement} container - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction setTheme(theme, container, radius, makeElement) {\n var innerContainer = container.querySelector('.' + CLS_SPININWRAP);\n var svg = innerContainer.querySelector('svg');\n if (!isNullOrUndefined(svg)) {\n innerContainer.removeChild(svg);\n }\n switch (theme) {\n case 'Material':\n createMaterialSpinner(innerContainer, radius, makeElement);\n break;\n case 'Material3':\n createMaterial3Spinner(innerContainer, radius, makeElement);\n break;\n case 'Fabric':\n createFabricSpinner(innerContainer, radius, makeElement);\n break;\n case 'Fluent':\n createFluentSinner(innerContainer, radius, makeElement);\n break;\n case 'Bootstrap':\n createBootstrapSpinner(innerContainer, radius, makeElement);\n break;\n case 'HighContrast':\n createHighContrastSpinner(innerContainer, radius, makeElement);\n break;\n case 'Bootstrap4':\n createBootstrap4Spinner(innerContainer, radius, makeElement);\n break;\n case 'Bootstrap5':\n createBootstrap5Spinner(innerContainer, radius, makeElement);\n break;\n case 'Tailwind':\n case 'Tailwind-dark':\n createTailwindSpinner(innerContainer, radius, makeElement);\n break;\n }\n}\n/**\n *\n * @param {HTMLElement} innerContainer - specifies the element\n * @param {number} radius - specifies the radius\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\nfunction createBootstrapSpinner(innerContainer, radius, makeElement) {\n var uniqueID = random_generator();\n globalTimeOut[\"\" + uniqueID] = { timeOut: 0, type: 'Bootstrap', radius: radius };\n create_bootstrap_element(innerContainer, uniqueID, makeElement);\n boot_calculate_attributes(innerContainer, radius);\n}\n/**\n *\n * @param {HTMLElement} innerContainer - specifies the element\n * @param {string} uniqueID - specifies the id\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\n// eslint-disable-next-line\nfunction create_bootstrap_element(innerContainer, uniqueID, makeElement) {\n var svgBoot = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n var viewBoxValue = 64;\n var trans = 32;\n var defaultRadius = 2;\n svgBoot.setAttribute('id', uniqueID);\n svgBoot.setAttribute('class', CLS_BOOTSPIN);\n svgBoot.setAttribute('viewBox', '0 0 ' + viewBoxValue + ' ' + viewBoxValue);\n innerContainer.insertBefore(svgBoot, innerContainer.firstChild);\n for (var item = 0; item <= 7; item++) {\n var bootCircle = document.createElementNS('http://www.w3.org/2000/svg', 'circle');\n bootCircle.setAttribute('class', CLS_SPINCIRCLE + '_' + item);\n bootCircle.setAttribute('r', defaultRadius + '');\n bootCircle.setAttribute('transform', 'translate(' + trans + ',' + trans + ')');\n svgBoot.appendChild(bootCircle);\n }\n}\n/**\n *\n * @param {HTMLElement} innerContainer - specifies the element\n * @param {number} radius - specifies the radius\n * @returns {void}\n */\n// eslint-disable-next-line\nfunction boot_calculate_attributes(innerContainer, radius) {\n var svg = innerContainer.querySelector('svg.e-spin-bootstrap');\n var x = 0;\n var y = 0;\n var rad = 24;\n svg.style.width = svg.style.height = radius + 'px';\n var startArc = 90;\n for (var item = 0; item <= 7; item++) {\n var start = defineArcPoints(x, y, rad, startArc);\n var circleEle = svg.querySelector('.' + CLS_SPINCIRCLE + '_' + item);\n circleEle.setAttribute('cx', start.x + '');\n circleEle.setAttribute('cy', start.y + '');\n startArc = startArc >= 360 ? 0 : startArc;\n startArc = startArc + 45;\n }\n}\n/**\n *\n * @param {number} begin - specifies the number\n * @param {number} stop - specifirs the number\n * @returns {number[]} - returns the array of number\n */\nfunction generateSeries(begin, stop) {\n var series = [];\n var start = begin;\n var end = stop;\n // eslint-disable-next-line\n var increment = false, count = 1;\n formSeries(start);\n /**\n *\n * @param {number} i - specifies the number\n * @returns {void}\n */\n function formSeries(i) {\n series.push(i);\n if (i !== end || count === 1) {\n if (i <= start && i > 1 && !increment) {\n i = parseFloat((i - 0.2).toFixed(2));\n }\n else if (i === 1) {\n i = 7;\n i = parseFloat((i + 0.2).toFixed(2));\n increment = true;\n }\n else if (i < 8 && increment) {\n i = parseFloat((i + 0.2).toFixed(2));\n if (i === 8) {\n increment = false;\n }\n }\n else if (i <= 8 && !increment) {\n i = parseFloat((i - 0.2).toFixed(2));\n }\n ++count;\n formSeries(i);\n }\n }\n return series;\n}\n/**\n *\n * @param {HTMLElement} innerContainer - specifies the element\n * @returns {void}\n */\nfunction animateBootstrap(innerContainer) {\n var svg = innerContainer.querySelector('svg.e-spin-bootstrap');\n var id = svg.getAttribute('id');\n for (var i = 1; i <= 8; i++) {\n var circleEle = (innerContainer.getElementsByClassName('e-path-circle_' +\n (i === 8 ? 0 : i))[0]);\n rotation(circleEle, i, i, generateSeries(i, i), id);\n }\n /**\n *\n * @param {SVGCircleElement} circle - specifies the circl element\n * @param {number} start - specifies the number\n * @param {number} end - specifies the end number\n * @param {number} series - specifies the series\n * @param {string} id - specifies the id\n * @returns {void}\n */\n function rotation(circle, start, end, series, id) {\n var count = 0;\n boot_animate(start);\n // eslint-disable-next-line\n function boot_animate(radius) {\n if (globalTimeOut[\"\" + id].isAnimate) {\n ++count;\n circle.setAttribute('r', radius + '');\n if (count >= series.length) {\n count = 0;\n }\n // eslint-disable-next-line\n globalTimeOut[id].timeOut = setTimeout(boot_animate.bind(null, series[count]), 18);\n }\n }\n }\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {string} template - specifies the template\n * @param {string} cssClass - specifies the css class.\n * @returns {void}\n */\nfunction replaceContent(container, template, cssClass) {\n if (!isNullOrUndefined(cssClass)) {\n container.classList.add(cssClass);\n }\n var inner = container.querySelector('.e-spinner-inner');\n inner.innerHTML = template;\n}\n/**\n *\n * @param {string} width - specifies the width\n * @param {string} theme - specifies the string\n * @returns {number} - returns the number\n */\nfunction calculateRadius(width, theme) {\n var defaultSize;\n switch (theme) {\n case 'Material':\n defaultSize = DEFT_MAT_WIDTH;\n break;\n case 'Material3':\n defaultSize = DEFT_MAT3_WIDTH;\n break;\n case 'Fabric':\n defaultSize = DEFT_FAB_WIDTH;\n break;\n case 'Tailwind':\n case 'Tailwind-dark':\n defaultSize = DEFT_FAB_WIDTH;\n break;\n case 'Fluent':\n defaultSize = DEFT_FLUENT_WIDTH;\n break;\n case 'Bootstrap4':\n defaultSize = DEFT_BOOT4_WIDTH;\n break;\n case 'Bootstrap5':\n defaultSize = DEFT_BOOT5_WIDTH;\n break;\n default:\n defaultSize = DEFT_BOOT_WIDTH;\n }\n width = width ? parseFloat(width + '') : defaultSize;\n return theme === 'Bootstrap' ? width : width / 2;\n}\n/**\n *\n * @param {string} id - specifies the id\n * @param {number} radius - specifies the radius\n * @param {number} count - specifies the number count\n * @param {number} previousId - specifies the previous id\n * @returns {GlobalVariables} - returns the variables\n */\nfunction globalVariables(id, radius, count, previousId) {\n return {\n radius: radius,\n count: count,\n previousId: previousId\n };\n}\n/**\n * @returns {string} - returns the string\n */\n// eslint-disable-next-line\nfunction random_generator() {\n var random = '';\n var combine = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n for (var i = 0; i < 5; i++) {\n random += combine.charAt(Math.floor(Math.random() * combine.length));\n }\n return random;\n}\n/**\n *\n * @param {HTMLElement} innerCon - specifies the element\n * @param {string} uniqueID - specifies the unique id\n * @param {string} themeClass - specifies the string\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\n// eslint-disable-next-line\nfunction create_fabric_element(innerCon, uniqueID, themeClass, makeElement) {\n var svgFabric = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n svgFabric.setAttribute('id', uniqueID);\n svgFabric.setAttribute('class', themeClass);\n var fabricCirclePath = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n fabricCirclePath.setAttribute('class', CLS_SPINCIRCLE);\n var fabricCircleArc = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n fabricCircleArc.setAttribute('class', CLS_SPINARC);\n innerCon.insertBefore(svgFabric, innerCon.firstChild);\n svgFabric.appendChild(fabricCirclePath);\n svgFabric.appendChild(fabricCircleArc);\n}\n/**\n *\n * @param {HTMLElement} innerContainer - specifies the element\n * @param {string} uniqueID - specifies the unique id\n * @param {createElementParams} makeElement - specifies the element\n * @param {string} cls - specifies the string\n * @returns {void}\n */\n// eslint-disable-next-line\nfunction create_material_element(innerContainer, uniqueID, makeElement, cls) {\n var svgMaterial = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\n var matCirclePath = document.createElementNS('http://www.w3.org/2000/svg', 'path');\n svgMaterial.setAttribute('class', cls);\n svgMaterial.setAttribute('id', uniqueID);\n matCirclePath.setAttribute('class', CLS_SPINCIRCLE);\n innerContainer.insertBefore(svgMaterial, innerContainer.firstChild);\n svgMaterial.appendChild(matCirclePath);\n}\n/**\n *\n * @param {HTMLElement} target - specifies the element\n * @param {createElementParams} makeElement - specifies the element\n * @returns {void}\n */\n// eslint-disable-next-line\nfunction create_spinner_container(target, makeElement) {\n var spinnerContainer = makeElement('div', {});\n var spinnerInnerContainer = makeElement('div', {});\n spinnerContainer.classList.add(CLS_SPINWRAP);\n spinnerInnerContainer.classList.add(CLS_SPININWRAP);\n target.appendChild(spinnerContainer);\n spinnerContainer.appendChild(spinnerInnerContainer);\n // eslint-disable-next-line\n return { wrap: spinnerContainer, inner_wrap: spinnerInnerContainer };\n}\n/**\n *\n * @param {SpinnerInfo} spinnerInfo - specifies the spinner\n * @returns {void}\n */\nfunction animateMaterial(spinnerInfo) {\n var start = 1;\n var end = 149;\n var duration = 1333;\n var max = 75;\n createCircle(start, end, easeAnimation, duration, spinnerInfo.globalInfo[spinnerInfo.uniqueID].count, max, spinnerInfo);\n spinnerInfo.globalInfo[spinnerInfo.uniqueID].count = ++spinnerInfo.globalInfo[spinnerInfo.uniqueID].count % 4;\n}\n/**\n *\n * @param {number} start - specifies the number\n * @param {number} end - specifies the end number\n * @param {Function} easing - specifies the function\n * @param {number} duration - specifies the duration\n * @param {number} count - specifies the count\n * @param {number} max - specifies the max number\n * @param {SpinnerInfo} spinnerInfo - specifies the spinner info\n * @returns {void}\n */\nfunction createCircle(start, end, easing, duration, count, max, spinnerInfo) {\n var id = ++spinnerInfo.globalInfo[spinnerInfo.uniqueID].previousId;\n var startTime = new Date().getTime();\n var change = end - start;\n var diameter = getSize((spinnerInfo.globalInfo[spinnerInfo.uniqueID].radius * 2) + '');\n var strokeSize = getStrokeSize(diameter);\n var rotate = -90 * (spinnerInfo.globalInfo[spinnerInfo.uniqueID].count || 0);\n mat_animation(spinnerInfo);\n // eslint-disable-next-line\n function mat_animation(spinnerInfo) {\n var currentTime = Math.max(0, Math.min(new Date().getTime() - startTime, duration));\n updatePath(easing(currentTime, start, change, duration), spinnerInfo.container);\n if (id === spinnerInfo.globalInfo[spinnerInfo.uniqueID].previousId && currentTime < duration) {\n // eslint-disable-next-line\n globalTimeOut[spinnerInfo.uniqueID].timeOut = setTimeout(mat_animation.bind(null, spinnerInfo), 1);\n }\n else {\n animateMaterial(spinnerInfo);\n }\n }\n /**\n *\n * @param {number} value - specifies the number value\n * @param {HTMLElement} container - specifies the container\n * @returns {void}\n */\n function updatePath(value, container) {\n if (!isNullOrUndefined(container.querySelector('svg.e-spin-material')) || !isNullOrUndefined(container.querySelector('svg.e-spin-material3'))) {\n var svg = void 0;\n if (!isNullOrUndefined(container.querySelector('svg.e-spin-material')) && !isNullOrUndefined(container.querySelector('svg.e-spin-material').querySelector('path.e-path-circle'))) {\n svg = container.querySelector('svg.e-spin-material');\n }\n else if (!isNullOrUndefined(container.querySelector('svg.e-spin-material3')) && !isNullOrUndefined(container.querySelector('svg.e-spin-material3').querySelector('path.e-path-circle'))) {\n svg = container.querySelector('svg.e-spin-material3');\n }\n if (!isNullOrUndefined(svg)) {\n var path = svg.querySelector('path.e-path-circle');\n path.setAttribute('stroke-dashoffset', getDashOffset(diameter, strokeSize, value, max) + '');\n path.setAttribute('transform', 'rotate(' + (rotate) + ' ' + diameter / 2 + ' ' + diameter / 2 + ')');\n }\n }\n }\n}\n/**\n *\n * @param {number} radius - specifies the number\n * @param {HTMLElement} container - specifies the element\n * @param {string} type - specifies the string type\n * @param {string} cls - specifies the string\n * @returns {void}\n */\n// eslint-disable-next-line\nfunction mat_calculate_attributes(radius, container, type, cls) {\n var diameter = radius * 2;\n var svg = container.querySelector('svg.' + cls);\n var path = svg.querySelector('path.e-path-circle');\n var strokeSize = getStrokeSize(diameter);\n var transformOrigin = (diameter / 2) + 'px';\n svg.setAttribute('viewBox', '0 0 ' + diameter + ' ' + diameter);\n svg.style.width = svg.style.height = diameter + 'px';\n svg.style.transformOrigin = transformOrigin + ' ' + transformOrigin + ' ' + transformOrigin;\n path.setAttribute('d', drawArc(diameter, strokeSize));\n if (type === 'Material' || type === 'Material3') {\n path.setAttribute('stroke-width', strokeSize + '');\n path.setAttribute('stroke-dasharray', ((diameter - strokeSize) * Math.PI * 0.75) + '');\n path.setAttribute('stroke-dashoffset', getDashOffset(diameter, strokeSize, 1, 75) + '');\n }\n}\n/**\n *\n * @param {string} value - specifies the value\n * @returns {number} - returns the number\n */\nfunction getSize(value) {\n var parsed = parseFloat(value);\n return parsed;\n}\n/**\n *\n * @param {number} diameter - specifies the diameter\n * @param {number} strokeSize - specifies the size\n * @returns {string} - returns the string\n */\nfunction drawArc(diameter, strokeSize) {\n var radius = diameter / 2;\n var offset = strokeSize / 2;\n return 'M' + radius + ',' + offset\n + 'A' + (radius - offset) + ',' + (radius - offset) + ' 0 1 1 ' + offset + ',' + radius;\n}\n/**\n *\n * @param {number} diameter - specifies the number\n * @returns {number} - returns the number\n */\nfunction getStrokeSize(diameter) {\n return 10 / 100 * diameter;\n}\n/**\n *\n * @param {number} diameter - specifies the number\n * @param {number} strokeSize - specifies the stroke size\n * @param {number} value - specifies the value\n * @param {number} max - specifies the max number\n * @returns {number} - returns the number\n */\nfunction getDashOffset(diameter, strokeSize, value, max) {\n return (diameter - strokeSize) * Math.PI * ((3 * (max) / 100) - (value / 100));\n}\n/**\n *\n * @param {number} current - specifies the number\n * @param {number} start - specifies the stroke size\n * @param {number} change - specifies the value\n * @param {number} duration - specifies the max number\n * @returns {number} - returns the number\n */\nfunction easeAnimation(current, start, change, duration) {\n var timestamp = (current /= duration) * current;\n var timecount = timestamp * current;\n return start + change * (6 * timecount * timestamp + -15 * timestamp * timestamp + 10 * timecount);\n}\n/**\n *\n * @param {number} radius - specifies the number\n * @param {HTMLElement} innerConainer - specifies the element\n * @param {string} trgClass - specifies the class\n * @returns {void}\n */\n// eslint-disable-next-line\nfunction fb_calculate_attributes(radius, innerConainer, trgClass) {\n var centerX = radius;\n var centerY = radius;\n var diameter = radius * 2;\n // eslint-disable-next-line\n var startArc = 315, endArc = 45;\n var svg = innerConainer.querySelector('.' + trgClass);\n var circle = svg.querySelector('.e-path-circle');\n var path = svg.querySelector('.e-path-arc');\n var transformOrigin = (diameter / 2) + 'px';\n circle.setAttribute('d', defineCircle(centerX, centerY, radius));\n path.setAttribute('d', defineArc(centerX, centerY, radius, startArc, endArc));\n svg.setAttribute('viewBox', '0 0 ' + diameter + ' ' + diameter);\n svg.style.transformOrigin = transformOrigin + ' ' + transformOrigin + ' ' + transformOrigin;\n svg.style.width = svg.style.height = diameter + 'px';\n}\n/**\n *\n * @param {number} centerX - specifies the number\n * @param {number} centerY - specifies the stroke size\n * @param {number} radius - specifies the value\n * @param {number} angle - specifies the max number\n * @returns {number} - returns the number\n */\nfunction defineArcPoints(centerX, centerY, radius, angle) {\n var radians = (angle - 90) * Math.PI / 180.0;\n return {\n x: centerX + (radius * Math.cos(radians)),\n y: centerY + (radius * Math.sin(radians))\n };\n}\n/**\n *\n * @param {number} x - specifies the number\n * @param {number} y - specifies the stroke size\n * @param {number} radius - specifies the radius\n * @param {number} startArc - specifies the value\n * @param {number} endArc - specifies the max number\n * @returns {number} - returns the number\n */\nfunction defineArc(x, y, radius, startArc, endArc) {\n var start = defineArcPoints(x, y, radius, endArc);\n var end = defineArcPoints(x, y, radius, startArc);\n var d = [\n 'M', start.x, start.y,\n 'A', radius, radius, 0, 0, 0, end.x, end.y\n ].join(' ');\n return d;\n}\n/**\n *\n * @param {number} x - specifies the number\n * @param {number} y - specifies the stroke size\n * @param {number} radius - specifies the value\n * @returns {string} - returns the string\n */\nfunction defineCircle(x, y, radius) {\n var d = [\n 'M', x, y,\n 'm', -radius, 0,\n 'a', radius, radius, 0, 1, 0, radius * 2, 0,\n 'a', radius, radius, 0, 1, 0, -radius * 2, 0\n ].join(' ');\n return d;\n}\n/**\n * Function to show the Spinner.\n *\n * @param {HTMLElement} container - Specify the target of the Spinner.\n * @returns {void}\n * @private\n */\nfunction showSpinner(container) {\n showHideSpinner(container, false);\n container = null;\n}\n/**\n *\n * @param {HTMLElement} container - specifies the element\n * @param {boolean} isHide - specifies the boolean\n * @returns {void}\n */\nfunction showHideSpinner(container, isHide) {\n var spinnerWrap;\n if (container) {\n if (container.classList.contains(CLS_SPINWRAP)) {\n spinnerWrap = container;\n }\n else {\n var spinWrapCollection = container.querySelectorAll('.' + CLS_SPINWRAP);\n if (Browser.isIE) {\n for (var i = 0; i < spinWrapCollection.length; i++) {\n // eslint-disable-next-line\n if (spinWrapCollection[i].parentElement && spinWrapCollection[i].parentElement === container) {\n // eslint-disable-next-line\n spinnerWrap = spinWrapCollection[i];\n break;\n }\n }\n }\n else {\n spinnerWrap = Array.from(spinWrapCollection).find(function (wrap) { return wrap.parentElement === container; }) || null;\n }\n }\n }\n if (container && spinnerWrap) {\n var inner = spinnerWrap.querySelector('.' + CLS_SPININWRAP);\n var spinCheck = void 0;\n // eslint-disable-next-line\n spinCheck = isHide ? !spinnerWrap.classList.contains(CLS_SPINTEMPLATE) && !spinnerWrap.classList.contains(CLS_HIDESPIN) :\n !spinnerWrap.classList.contains(CLS_SPINTEMPLATE) && !spinnerWrap.classList.contains(CLS_SHOWSPIN);\n if (spinCheck) {\n var svgEle = spinnerWrap.querySelector('svg');\n if (isNullOrUndefined(svgEle)) {\n return;\n }\n var id = svgEle.getAttribute('id');\n globalTimeOut[\"\" + id].isAnimate = !isHide;\n switch (globalTimeOut[\"\" + id].type) {\n case 'Material':\n case 'Material3':\n // eslint-disable-next-line\n isHide ? clearTimeout(globalTimeOut[id].timeOut) : startMatAnimate(inner, id, globalTimeOut[id].radius);\n break;\n case 'Bootstrap':\n // eslint-disable-next-line\n isHide ? clearTimeout(globalTimeOut[id].timeOut) : animateBootstrap(inner);\n break;\n }\n }\n // eslint-disable-next-line\n isHide ? classList(spinnerWrap, [CLS_HIDESPIN], [CLS_SHOWSPIN]) : classList(spinnerWrap, [CLS_SHOWSPIN], [CLS_HIDESPIN]);\n container = null;\n }\n}\n/**\n * Function to hide the Spinner.\n *\n * @param {HTMLElement} container - Specify the target of the Spinner.\n * @returns {void}\n * @private\n */\nfunction hideSpinner(container) {\n showHideSpinner(container, true);\n container = null;\n}\n// eslint-disable-next-line\n/**\n * Function to change the Spinners in a page globally from application end.\n * ```\n * E.g : setSpinner({ cssClass: 'custom-css'; type: 'Material' });\n * ```\n *\n * @param {SetSpinnerArgs} args - specifies the args\n * @param {createElementParams} internalCreateElement - specifies the element params\n * @returns {void}\n * @private\n */\nfunction setSpinner(args, internalCreateElement) {\n var makeElement = !isNullOrUndefined(internalCreateElement) ? internalCreateElement : createElement;\n if (args.template !== undefined) {\n spinTemplate = args.template;\n if (args.template !== undefined) {\n spinCSSClass = args.cssClass;\n }\n }\n var container = document.querySelectorAll('.' + CLS_SPINWRAP);\n for (var index = 0; index < container.length; index++) {\n ensureTemplate(args.template, container[index], args.type, args.cssClass, makeElement);\n }\n}\n/**\n *\n * @param {string} template - specifies the string\n * @param {HTMLElement} container - specifies the container\n * @param {string} theme - specifies the theme\n * @param {string} cssClass - specifies the string class\n * @param {createElementParams} makeEle - specifies the params\n * @returns {void}\n */\nfunction ensureTemplate(template, container, theme, cssClass, makeEle) {\n if (isNullOrUndefined(template) && !container.classList.contains(CLS_SPINTEMPLATE)) {\n replaceTheme(container, theme, cssClass, makeEle);\n if (container.classList.contains(CLS_SHOWSPIN)) {\n container.classList.remove(CLS_SHOWSPIN);\n showSpinner(container);\n }\n else {\n container.classList.remove(CLS_HIDESPIN);\n hideSpinner(container);\n }\n }\n else {\n spinTemplate = template;\n if (!isNullOrUndefined(cssClass)) {\n spinCSSClass = cssClass;\n }\n if (!isNullOrUndefined(spinTemplate)) {\n replaceContent(container, spinTemplate, spinCSSClass);\n }\n }\n}\n/**\n *\n * @param {HTMLElement} container - specifies the container\n * @param {string} theme - specifies the theme\n * @param {string} cssClass - specifies the string class\n * @param {createElementParams} makeEle - specifies the params\n * @returns {void}\n */\nfunction replaceTheme(container, theme, cssClass, makeEle) {\n if (!isNullOrUndefined(cssClass)) {\n container.classList.add(cssClass);\n }\n var svgElement = container.querySelector('svg');\n if (!isNullOrUndefined(svgElement)) {\n var radius = theme === 'Bootstrap' ? parseFloat(svgElement.style.height) : parseFloat(svgElement.style.height) / 2;\n var classNames = svgElement.getAttribute('class');\n var svgClassList = classNames.split(/\\s/);\n if (svgClassList.indexOf('e-spin-material') >= 0) {\n var id = svgElement.getAttribute('id');\n clearTimeout(globalTimeOut[\"\" + id].timeOut);\n }\n setTheme(theme, container, radius, makeEle);\n }\n}\n\n/**\n * spinner modules\n */\n\n/**\n * Popup Components\n */\n\nexport { PositionData, Popup, getScrollableParent, getZindexPartial, getMaxZindex, calculateRelativeBasedPosition, calculatePosition, fit, isCollide, flip, ButtonProps, AnimationSettings, Dialog, DialogUtility, Animation$1 as Animation, Tooltip, Spinner, createSpinner, showSpinner, hideSpinner, setSpinner };\n","import * as i0 from '@angular/core';\nimport { inject, NgZone, EventEmitter, PLATFORM_ID, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Input, Output, Directive, ContentChildren, NgModule, Injectable } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { BehaviorSubject, Observable, Subject, combineLatest } from 'rxjs';\nimport { switchMap, take, map, takeUntil } from 'rxjs/operators';\n\n/** Manages event on a Google Maps object, ensuring that events are added only when necessary. */\nclass MapEventManager {\n /** Clears all currently-registered event listeners. */\n _clearListeners() {\n for (const listener of this._listeners) {\n listener.remove();\n }\n this._listeners = [];\n }\n constructor(_ngZone) {\n this._ngZone = _ngZone;\n /** Pending listeners that were added before the target was set. */\n this._pending = [];\n this._listeners = [];\n this._targetStream = new BehaviorSubject(undefined);\n }\n /** Gets an observable that adds an event listener to the map when a consumer subscribes to it. */\n getLazyEmitter(name) {\n return this._targetStream.pipe(switchMap(target => {\n const observable = new Observable(observer => {\n // If the target hasn't been initialized yet, cache the observer so it can be added later.\n if (!target) {\n this._pending.push({ observable, observer });\n return undefined;\n }\n const listener = target.addListener(name, (event) => {\n this._ngZone.run(() => observer.next(event));\n });\n // If there's an error when initializing the Maps API (e.g. a wrong API key), it will\n // return a dummy object that returns `undefined` from `addListener` (see #26514).\n if (!listener) {\n observer.complete();\n return undefined;\n }\n this._listeners.push(listener);\n return () => listener.remove();\n });\n return observable;\n }));\n }\n /** Sets the current target that the manager should bind events to. */\n setTarget(target) {\n const currentTarget = this._targetStream.value;\n if (target === currentTarget) {\n return;\n }\n // Clear the listeners from the pre-existing target.\n if (currentTarget) {\n this._clearListeners();\n this._pending = [];\n }\n this._targetStream.next(target);\n // Add the listeners that were bound before the map was initialized.\n this._pending.forEach(subscriber => subscriber.observable.subscribe(subscriber.observer));\n this._pending = [];\n }\n /** Destroys the manager and clears the event listeners. */\n destroy() {\n this._clearListeners();\n this._pending = [];\n this._targetStream.complete();\n }\n}\n\n/// \n/** default options set to the Googleplex */\nconst DEFAULT_OPTIONS = {\n center: { lat: 37.421995, lng: -122.084092 },\n zoom: 17,\n // Note: the type conversion here isn't necessary for our CI, but it resolves a g3 failure.\n mapTypeId: 'roadmap',\n};\n/** Arbitrary default height for the map element */\nconst DEFAULT_HEIGHT = '500px';\n/** Arbitrary default width for the map element */\nconst DEFAULT_WIDTH = '500px';\n/**\n * Angular component that renders a Google Map via the Google Maps JavaScript\n * API.\n * @see https://developers.google.com/maps/documentation/javascript/reference/\n */\nclass GoogleMap {\n set center(center) {\n this._center = center;\n }\n set zoom(zoom) {\n this._zoom = zoom;\n }\n set options(options) {\n this._options = options || DEFAULT_OPTIONS;\n }\n constructor(_elementRef, _ngZone, platformId) {\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n /** Height of the map. Set this to `null` if you'd like to control the height through CSS. */\n this.height = DEFAULT_HEIGHT;\n /** Width of the map. Set this to `null` if you'd like to control the width through CSS. */\n this.width = DEFAULT_WIDTH;\n this._options = DEFAULT_OPTIONS;\n /** Event emitted when the map is initialized. */\n this.mapInitialized = new EventEmitter();\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/events#auth-errors\n */\n this.authFailure = new EventEmitter();\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.bounds_changed\n */\n this.boundsChanged = this._eventManager.getLazyEmitter('bounds_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.center_changed\n */\n this.centerChanged = this._eventManager.getLazyEmitter('center_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.click\n */\n this.mapClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.dblclick\n */\n this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.drag\n */\n this.mapDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.dragend\n */\n this.mapDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.dragstart\n */\n this.mapDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.heading_changed\n */\n this.headingChanged = this._eventManager.getLazyEmitter('heading_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.idle\n */\n this.idle = this._eventManager.getLazyEmitter('idle');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.maptypeid_changed\n */\n this.maptypeidChanged = this._eventManager.getLazyEmitter('maptypeid_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mousemove\n */\n this.mapMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mouseout\n */\n this.mapMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mouseover\n */\n this.mapMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/map#Map.projection_changed\n */\n this.projectionChanged = this._eventManager.getLazyEmitter('projection_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.rightclick\n */\n this.mapRightclick = this._eventManager.getLazyEmitter('rightclick');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.tilesloaded\n */\n this.tilesloaded = this._eventManager.getLazyEmitter('tilesloaded');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.tilt_changed\n */\n this.tiltChanged = this._eventManager.getLazyEmitter('tilt_changed');\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.zoom_changed\n */\n this.zoomChanged = this._eventManager.getLazyEmitter('zoom_changed');\n this._isBrowser = isPlatformBrowser(platformId);\n if (this._isBrowser) {\n const googleMapsWindow = window;\n if (!googleMapsWindow.google && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Namespace google not found, cannot construct embedded google ' +\n 'map. Please install the Google Maps JavaScript API: ' +\n 'https://developers.google.com/maps/documentation/javascript/' +\n 'tutorial#Loading_the_Maps_API');\n }\n this._existingAuthFailureCallback = googleMapsWindow.gm_authFailure;\n googleMapsWindow.gm_authFailure = () => {\n if (this._existingAuthFailureCallback) {\n this._existingAuthFailureCallback();\n }\n this.authFailure.emit();\n };\n }\n }\n ngOnChanges(changes) {\n if (changes['height'] || changes['width']) {\n this._setSize();\n }\n const googleMap = this.googleMap;\n if (googleMap) {\n if (changes['options']) {\n googleMap.setOptions(this._combineOptions());\n }\n if (changes['center'] && this._center) {\n googleMap.setCenter(this._center);\n }\n // Note that the zoom can be zero.\n if (changes['zoom'] && this._zoom != null) {\n googleMap.setZoom(this._zoom);\n }\n if (changes['mapTypeId'] && this.mapTypeId) {\n googleMap.setMapTypeId(this.mapTypeId);\n }\n }\n }\n ngOnInit() {\n // It should be a noop during server-side rendering.\n if (this._isBrowser) {\n this._mapEl = this._elementRef.nativeElement.querySelector('.map-container');\n this._setSize();\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.googleMap = new google.maps.Map(this._mapEl, this._combineOptions());\n });\n this._eventManager.setTarget(this.googleMap);\n this.mapInitialized.emit(this.googleMap);\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n if (this._isBrowser) {\n const googleMapsWindow = window;\n googleMapsWindow.gm_authFailure = this._existingAuthFailureCallback;\n }\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.fitBounds\n */\n fitBounds(bounds, padding) {\n this._assertInitialized();\n this.googleMap.fitBounds(bounds, padding);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.panBy\n */\n panBy(x, y) {\n this._assertInitialized();\n this.googleMap.panBy(x, y);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.panTo\n */\n panTo(latLng) {\n this._assertInitialized();\n this.googleMap.panTo(latLng);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.panToBounds\n */\n panToBounds(latLngBounds, padding) {\n this._assertInitialized();\n this.googleMap.panToBounds(latLngBounds, padding);\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.googleMap.getBounds() || null;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getCenter\n */\n getCenter() {\n this._assertInitialized();\n return this.googleMap.getCenter();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getClickableIcons\n */\n getClickableIcons() {\n this._assertInitialized();\n return this.googleMap.getClickableIcons();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getHeading\n */\n getHeading() {\n this._assertInitialized();\n return this.googleMap.getHeading();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getMapTypeId\n */\n getMapTypeId() {\n this._assertInitialized();\n return this.googleMap.getMapTypeId();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getProjection\n */\n getProjection() {\n this._assertInitialized();\n return this.googleMap.getProjection() || null;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getStreetView\n */\n getStreetView() {\n this._assertInitialized();\n return this.googleMap.getStreetView();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getTilt\n */\n getTilt() {\n this._assertInitialized();\n return this.googleMap.getTilt();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.getZoom\n */\n getZoom() {\n this._assertInitialized();\n return this.googleMap.getZoom();\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.controls\n */\n get controls() {\n this._assertInitialized();\n return this.googleMap.controls;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.data\n */\n get data() {\n this._assertInitialized();\n return this.googleMap.data;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.mapTypes\n */\n get mapTypes() {\n this._assertInitialized();\n return this.googleMap.mapTypes;\n }\n /**\n * See\n * https://developers.google.com/maps/documentation/javascript/reference/map#Map.overlayMapTypes\n */\n get overlayMapTypes() {\n this._assertInitialized();\n return this.googleMap.overlayMapTypes;\n }\n _setSize() {\n if (this._mapEl) {\n const styles = this._mapEl.style;\n styles.height =\n this.height === null ? '' : coerceCssPixelValue(this.height) || DEFAULT_HEIGHT;\n styles.width = this.width === null ? '' : coerceCssPixelValue(this.width) || DEFAULT_WIDTH;\n }\n }\n /** Combines the center and zoom and the other map options into a single object */\n _combineOptions() {\n const options = this._options || {};\n return {\n ...options,\n // It's important that we set **some** kind of `center` and `zoom`, otherwise\n // Google Maps will render a blank rectangle which looks broken.\n center: this._center || options.center || DEFAULT_OPTIONS.center,\n zoom: this._zoom ?? options.zoom ?? DEFAULT_OPTIONS.zoom,\n // Passing in an undefined `mapTypeId` seems to break tile loading\n // so make sure that we have some kind of default (see #22082).\n mapTypeId: this.mapTypeId || options.mapTypeId || DEFAULT_OPTIONS.mapTypeId,\n };\n }\n /** Asserts that the map has been initialized. */\n _assertInitialized() {\n if (!this.googleMap && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: GoogleMap, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.1.1\", type: GoogleMap, selector: \"google-map\", inputs: { height: \"height\", width: \"width\", mapTypeId: \"mapTypeId\", center: \"center\", zoom: \"zoom\", options: \"options\" }, outputs: { mapInitialized: \"mapInitialized\", authFailure: \"authFailure\", boundsChanged: \"boundsChanged\", centerChanged: \"centerChanged\", mapClick: \"mapClick\", mapDblclick: \"mapDblclick\", mapDrag: \"mapDrag\", mapDragend: \"mapDragend\", mapDragstart: \"mapDragstart\", headingChanged: \"headingChanged\", idle: \"idle\", maptypeidChanged: \"maptypeidChanged\", mapMousemove: \"mapMousemove\", mapMouseout: \"mapMouseout\", mapMouseover: \"mapMouseover\", projectionChanged: \"projectionChanged\", mapRightclick: \"mapRightclick\", tilesloaded: \"tilesloaded\", tiltChanged: \"tiltChanged\", zoomChanged: \"zoomChanged\" }, exportAs: [\"googleMap\"], usesOnChanges: true, ngImport: i0, template: '
    ', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: GoogleMap, decorators: [{\n type: Component,\n args: [{\n selector: 'google-map',\n exportAs: 'googleMap',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '
    ',\n encapsulation: ViewEncapsulation.None,\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: Object, decorators: [{\n type: Inject,\n args: [PLATFORM_ID]\n }] }]; }, propDecorators: { height: [{\n type: Input\n }], width: [{\n type: Input\n }], mapTypeId: [{\n type: Input\n }], center: [{\n type: Input\n }], zoom: [{\n type: Input\n }], options: [{\n type: Input\n }], mapInitialized: [{\n type: Output\n }], authFailure: [{\n type: Output\n }], boundsChanged: [{\n type: Output\n }], centerChanged: [{\n type: Output\n }], mapClick: [{\n type: Output\n }], mapDblclick: [{\n type: Output\n }], mapDrag: [{\n type: Output\n }], mapDragend: [{\n type: Output\n }], mapDragstart: [{\n type: Output\n }], headingChanged: [{\n type: Output\n }], idle: [{\n type: Output\n }], maptypeidChanged: [{\n type: Output\n }], mapMousemove: [{\n type: Output\n }], mapMouseout: [{\n type: Output\n }], mapMouseover: [{\n type: Output\n }], projectionChanged: [{\n type: Output\n }], mapRightclick: [{\n type: Output\n }], tilesloaded: [{\n type: Output\n }], tiltChanged: [{\n type: Output\n }], zoomChanged: [{\n type: Output\n }] } });\nconst cssUnitsPattern = /([A-Za-z%]+)$/;\n/** Coerces a value to a CSS pixel value. */\nfunction coerceCssPixelValue(value) {\n if (value == null) {\n return '';\n }\n return cssUnitsPattern.test(value) ? value : `${value}px`;\n}\n\n/// \nclass MapBaseLayer {\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._ngZone.runOutsideAngular(() => {\n this._initializeObject();\n });\n this._assertInitialized();\n this._setMap();\n }\n }\n ngOnDestroy() {\n this._unsetMap();\n }\n _assertInitialized() {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n }\n _initializeObject() { }\n _setMap() { }\n _unsetMap() { }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapBaseLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapBaseLayer, selector: \"map-base-layer\", exportAs: [\"mapBaseLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapBaseLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-base-layer',\n exportAs: 'mapBaseLayer',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; } });\n\n/// \n/**\n * Angular component that renders a Google Maps Bicycling Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/map#BicyclingLayer\n */\nclass MapBicyclingLayer extends MapBaseLayer {\n _initializeObject() {\n this.bicyclingLayer = new google.maps.BicyclingLayer();\n }\n _setMap() {\n this._assertLayerInitialized();\n this.bicyclingLayer.setMap(this._map.googleMap);\n }\n _unsetMap() {\n if (this.bicyclingLayer) {\n this.bicyclingLayer.setMap(null);\n }\n }\n _assertLayerInitialized() {\n if (!this.bicyclingLayer) {\n throw Error('Cannot interact with a Google Map Bicycling Layer before it has been initialized. ' +\n 'Please wait for the Transit Layer to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapBicyclingLayer, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapBicyclingLayer, selector: \"map-bicycling-layer\", exportAs: [\"mapBicyclingLayer\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapBicyclingLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-bicycling-layer',\n exportAs: 'mapBicyclingLayer',\n }]\n }] });\n\n/// \n/**\n * Angular component that renders a Google Maps Circle via the Google Maps JavaScript API.\n * @see developers.google.com/maps/documentation/javascript/reference/polygon#Circle\n */\nclass MapCircle {\n set options(options) {\n this._options.next(options || {});\n }\n set center(center) {\n this._center.next(center);\n }\n set radius(radius) {\n this._radius.next(radius);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._center = new BehaviorSubject(undefined);\n this._radius = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.center_changed\n */\n this.centerChanged = this._eventManager.getLazyEmitter('center_changed');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.click\n */\n this.circleClick = this._eventManager.getLazyEmitter('click');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.dblclick\n */\n this.circleDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.drag\n */\n this.circleDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.dragend\n */\n this.circleDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.dragstart\n */\n this.circleDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mousedown\n */\n this.circleMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mousemove\n */\n this.circleMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mouseout\n */\n this.circleMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mouseover\n */\n this.circleMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.mouseup\n */\n this.circleMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.radius_changed\n */\n this.radiusChanged = this._eventManager.getLazyEmitter('radius_changed');\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.rightclick\n */\n this.circleRightclick = this._eventManager.getLazyEmitter('rightclick');\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.circle = new google.maps.Circle(options);\n });\n this._assertInitialized();\n this.circle.setMap(this._map.googleMap);\n this._eventManager.setTarget(this.circle);\n });\n this._watchForOptionsChanges();\n this._watchForCenterChanges();\n this._watchForRadiusChanges();\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n if (this.circle) {\n this.circle.setMap(null);\n }\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.circle.getBounds();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getCenter\n */\n getCenter() {\n this._assertInitialized();\n return this.circle.getCenter();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.circle.getDraggable();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.circle.getEditable();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getRadius\n */\n getRadius() {\n this._assertInitialized();\n return this.circle.getRadius();\n }\n /**\n * @see\n * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.circle.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._center, this._radius]).pipe(map(([options, center, radius]) => {\n const combinedOptions = {\n ...options,\n center: center || options.center,\n radius: radius !== undefined ? radius : options.radius,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.circle.setOptions(options);\n });\n }\n _watchForCenterChanges() {\n this._center.pipe(takeUntil(this._destroyed)).subscribe(center => {\n if (center) {\n this._assertInitialized();\n this.circle.setCenter(center);\n }\n });\n }\n _watchForRadiusChanges() {\n this._radius.pipe(takeUntil(this._destroyed)).subscribe(radius => {\n if (radius !== undefined) {\n this._assertInitialized();\n this.circle.setRadius(radius);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.circle) {\n throw Error('Cannot interact with a Google Map Circle before it has been ' +\n 'initialized. Please wait for the Circle to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapCircle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapCircle, selector: \"map-circle\", inputs: { options: \"options\", center: \"center\", radius: \"radius\" }, outputs: { centerChanged: \"centerChanged\", circleClick: \"circleClick\", circleDblclick: \"circleDblclick\", circleDrag: \"circleDrag\", circleDragend: \"circleDragend\", circleDragstart: \"circleDragstart\", circleMousedown: \"circleMousedown\", circleMousemove: \"circleMousemove\", circleMouseout: \"circleMouseout\", circleMouseover: \"circleMouseover\", circleMouseup: \"circleMouseup\", radiusChanged: \"radiusChanged\", circleRightclick: \"circleRightclick\" }, exportAs: [\"mapCircle\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapCircle, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-circle',\n exportAs: 'mapCircle',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { options: [{\n type: Input\n }], center: [{\n type: Input\n }], radius: [{\n type: Input\n }], centerChanged: [{\n type: Output\n }], circleClick: [{\n type: Output\n }], circleDblclick: [{\n type: Output\n }], circleDrag: [{\n type: Output\n }], circleDragend: [{\n type: Output\n }], circleDragstart: [{\n type: Output\n }], circleMousedown: [{\n type: Output\n }], circleMousemove: [{\n type: Output\n }], circleMouseout: [{\n type: Output\n }], circleMouseover: [{\n type: Output\n }], circleMouseup: [{\n type: Output\n }], radiusChanged: [{\n type: Output\n }], circleRightclick: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Directions Renderer via the Google Maps\n * JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/directions#DirectionsRenderer\n */\nclass MapDirectionsRenderer {\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRendererOptions.directions\n */\n set directions(directions) {\n this._directions = directions;\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRendererOptions\n */\n set options(options) {\n this._options = options;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.directions_changed\n */\n this.directionsChanged = this._eventManager.getLazyEmitter('directions_changed');\n }\n ngOnInit() {\n if (this._googleMap._isBrowser) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.directionsRenderer = new google.maps.DirectionsRenderer(this._combineOptions());\n });\n this._assertInitialized();\n this.directionsRenderer.setMap(this._googleMap.googleMap);\n this._eventManager.setTarget(this.directionsRenderer);\n }\n }\n ngOnChanges(changes) {\n if (this.directionsRenderer) {\n if (changes['options']) {\n this.directionsRenderer.setOptions(this._combineOptions());\n }\n if (changes['directions'] && this._directions !== undefined) {\n this.directionsRenderer.setDirections(this._directions);\n }\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n if (this.directionsRenderer) {\n this.directionsRenderer.setMap(null);\n }\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.getDirections\n */\n getDirections() {\n this._assertInitialized();\n return this.directionsRenderer.getDirections();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.getPanel\n */\n getPanel() {\n this._assertInitialized();\n return this.directionsRenderer.getPanel();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsRenderer.getRouteIndex\n */\n getRouteIndex() {\n this._assertInitialized();\n return this.directionsRenderer.getRouteIndex();\n }\n _combineOptions() {\n const options = this._options || {};\n return {\n ...options,\n directions: this._directions || options.directions,\n map: this._googleMap.googleMap,\n };\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._googleMap.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.directionsRenderer) {\n throw Error('Cannot interact with a Google Map Directions Renderer before it has been ' +\n 'initialized. Please wait for the Directions Renderer to load before trying ' +\n 'to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapDirectionsRenderer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapDirectionsRenderer, selector: \"map-directions-renderer\", inputs: { directions: \"directions\", options: \"options\" }, outputs: { directionsChanged: \"directionsChanged\" }, exportAs: [\"mapDirectionsRenderer\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapDirectionsRenderer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-directions-renderer',\n exportAs: 'mapDirectionsRenderer',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { directions: [{\n type: Input\n }], options: [{\n type: Input\n }], directionsChanged: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Ground Overlay via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/image-overlay#GroundOverlay\n */\nclass MapGroundOverlay {\n /** URL of the image that will be shown in the overlay. */\n set url(url) {\n this._url.next(url);\n }\n /** Bounds for the overlay. */\n get bounds() {\n return this._bounds.value;\n }\n set bounds(bounds) {\n this._bounds.next(bounds);\n }\n /** Opacity of the overlay. */\n set opacity(opacity) {\n this._opacity.next(opacity);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._opacity = new BehaviorSubject(1);\n this._url = new BehaviorSubject('');\n this._bounds = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /** Whether the overlay is clickable */\n this.clickable = false;\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay#GroundOverlay.click\n */\n this.mapClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.dblclick\n */\n this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n // The ground overlay setup is slightly different from the other Google Maps objects in that\n // we have to recreate the `GroundOverlay` object whenever the bounds change, because\n // Google Maps doesn't provide an API to update the bounds of an existing overlay.\n this._bounds.pipe(takeUntil(this._destroyed)).subscribe(bounds => {\n if (this.groundOverlay) {\n this.groundOverlay.setMap(null);\n this.groundOverlay = undefined;\n }\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n if (bounds) {\n this._ngZone.runOutsideAngular(() => {\n this.groundOverlay = new google.maps.GroundOverlay(this._url.getValue(), bounds, {\n clickable: this.clickable,\n opacity: this._opacity.value,\n });\n });\n this._assertInitialized();\n this.groundOverlay.setMap(this._map.googleMap);\n this._eventManager.setTarget(this.groundOverlay);\n }\n });\n this._watchForOpacityChanges();\n this._watchForUrlChanges();\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n if (this.groundOverlay) {\n this.groundOverlay.setMap(null);\n }\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.groundOverlay.getBounds();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.getOpacity\n */\n getOpacity() {\n this._assertInitialized();\n return this.groundOverlay.getOpacity();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/image-overlay\n * #GroundOverlay.getUrl\n */\n getUrl() {\n this._assertInitialized();\n return this.groundOverlay.getUrl();\n }\n _watchForOpacityChanges() {\n this._opacity.pipe(takeUntil(this._destroyed)).subscribe(opacity => {\n if (opacity != null) {\n this._assertInitialized();\n this.groundOverlay.setOpacity(opacity);\n }\n });\n }\n _watchForUrlChanges() {\n this._url.pipe(takeUntil(this._destroyed)).subscribe(url => {\n this._assertInitialized();\n const overlay = this.groundOverlay;\n overlay.set('url', url);\n // Google Maps only redraws the overlay if we re-set the map.\n overlay.setMap(null);\n overlay.setMap(this._map.googleMap);\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.groundOverlay) {\n throw Error('Cannot interact with a Google Map GroundOverlay before it has been initialized. ' +\n 'Please wait for the GroundOverlay to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapGroundOverlay, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapGroundOverlay, selector: \"map-ground-overlay\", inputs: { url: \"url\", bounds: \"bounds\", clickable: \"clickable\", opacity: \"opacity\" }, outputs: { mapClick: \"mapClick\", mapDblclick: \"mapDblclick\" }, exportAs: [\"mapGroundOverlay\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapGroundOverlay, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-ground-overlay',\n exportAs: 'mapGroundOverlay',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { url: [{\n type: Input\n }], bounds: [{\n type: Input\n }], clickable: [{\n type: Input\n }], opacity: [{\n type: Input\n }], mapClick: [{\n type: Output\n }], mapDblclick: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps info window via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/info-window\n */\nclass MapInfoWindow {\n set options(options) {\n this._options.next(options || {});\n }\n set position(position) {\n this._position.next(position);\n }\n constructor(_googleMap, _elementRef, _ngZone) {\n this._googleMap = _googleMap;\n this._elementRef = _elementRef;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._position = new BehaviorSubject(undefined);\n this._destroy = new Subject();\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.closeclick\n */\n this.closeclick = this._eventManager.getLazyEmitter('closeclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.content_changed\n */\n this.contentChanged = this._eventManager.getLazyEmitter('content_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.domready\n */\n this.domready = this._eventManager.getLazyEmitter('domready');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.position_changed\n */\n this.positionChanged = this._eventManager.getLazyEmitter('position_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.zindex_changed\n */\n this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');\n }\n ngOnInit() {\n if (this._googleMap._isBrowser) {\n const combinedOptionsChanges = this._combineOptions();\n combinedOptionsChanges.pipe(take(1)).subscribe(options => {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.infoWindow = new google.maps.InfoWindow(options);\n });\n this._eventManager.setTarget(this.infoWindow);\n });\n this._watchForOptionsChanges();\n this._watchForPositionChanges();\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroy.next();\n this._destroy.complete();\n // If no info window has been created on the server, we do not try closing it.\n // On the server, an info window cannot be created and this would cause errors.\n if (this.infoWindow) {\n this.close();\n }\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.close\n */\n close() {\n this._assertInitialized();\n this.infoWindow.close();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.getContent\n */\n getContent() {\n this._assertInitialized();\n return this.infoWindow.getContent() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window\n * #InfoWindow.getPosition\n */\n getPosition() {\n this._assertInitialized();\n return this.infoWindow.getPosition() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.getZIndex\n */\n getZIndex() {\n this._assertInitialized();\n return this.infoWindow.getZIndex();\n }\n /**\n * Opens the MapInfoWindow using the provided anchor. If the anchor is not set,\n * then the position property of the options input is used instead.\n */\n open(anchor, shouldFocus) {\n this._assertInitialized();\n const anchorObject = anchor ? anchor.getAnchor() : undefined;\n // Prevent the info window from initializing when trying to reopen on the same anchor.\n // Note that when the window is opened for the first time, the anchor will always be\n // undefined. If that's the case, we have to allow it to open in order to handle the\n // case where the window doesn't have an anchor, but is placed at a particular position.\n if (this.infoWindow.get('anchor') !== anchorObject || !anchorObject) {\n this._elementRef.nativeElement.style.display = '';\n // The config is cast to `any`, because the internal typings are out of date.\n this.infoWindow.open({\n map: this._googleMap.googleMap,\n anchor: anchorObject,\n shouldFocus,\n });\n }\n }\n _combineOptions() {\n return combineLatest([this._options, this._position]).pipe(map(([options, position]) => {\n const combinedOptions = {\n ...options,\n position: position || options.position,\n content: this._elementRef.nativeElement,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroy)).subscribe(options => {\n this._assertInitialized();\n this.infoWindow.setOptions(options);\n });\n }\n _watchForPositionChanges() {\n this._position.pipe(takeUntil(this._destroy)).subscribe(position => {\n if (position) {\n this._assertInitialized();\n this.infoWindow.setPosition(position);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._googleMap.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.infoWindow) {\n throw Error('Cannot interact with a Google Map Info Window before it has been ' +\n 'initialized. Please wait for the Info Window to load before trying to interact with ' +\n 'it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapInfoWindow, deps: [{ token: GoogleMap }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapInfoWindow, selector: \"map-info-window\", inputs: { options: \"options\", position: \"position\" }, outputs: { closeclick: \"closeclick\", contentChanged: \"contentChanged\", domready: \"domready\", positionChanged: \"positionChanged\", zindexChanged: \"zindexChanged\" }, host: { styleAttribute: \"display: none\" }, exportAs: [\"mapInfoWindow\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapInfoWindow, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-info-window',\n exportAs: 'mapInfoWindow',\n host: { 'style': 'display: none' },\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { options: [{\n type: Input\n }], position: [{\n type: Input\n }], closeclick: [{\n type: Output\n }], contentChanged: [{\n type: Output\n }], domready: [{\n type: Output\n }], positionChanged: [{\n type: Output\n }], zindexChanged: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps KML Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer\n */\nclass MapKmlLayer {\n set options(options) {\n this._options.next(options || {});\n }\n set url(url) {\n this._url.next(url);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._url = new BehaviorSubject('');\n this._destroyed = new Subject();\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.click\n */\n this.kmlClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/kml\n * #KmlLayer.defaultviewport_changed\n */\n this.defaultviewportChanged = this._eventManager.getLazyEmitter('defaultviewport_changed');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.status_changed\n */\n this.statusChanged = this._eventManager.getLazyEmitter('status_changed');\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => (this.kmlLayer = new google.maps.KmlLayer(options)));\n this._assertInitialized();\n this.kmlLayer.setMap(this._map.googleMap);\n this._eventManager.setTarget(this.kmlLayer);\n });\n this._watchForOptionsChanges();\n this._watchForUrlChanges();\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n if (this.kmlLayer) {\n this.kmlLayer.setMap(null);\n }\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getDefaultViewport\n */\n getDefaultViewport() {\n this._assertInitialized();\n return this.kmlLayer.getDefaultViewport();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getMetadata\n */\n getMetadata() {\n this._assertInitialized();\n return this.kmlLayer.getMetadata();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getStatus\n */\n getStatus() {\n this._assertInitialized();\n return this.kmlLayer.getStatus();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getUrl\n */\n getUrl() {\n this._assertInitialized();\n return this.kmlLayer.getUrl();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getZIndex\n */\n getZIndex() {\n this._assertInitialized();\n return this.kmlLayer.getZIndex();\n }\n _combineOptions() {\n return combineLatest([this._options, this._url]).pipe(map(([options, url]) => {\n const combinedOptions = {\n ...options,\n url: url || options.url,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n if (this.kmlLayer) {\n this._assertInitialized();\n this.kmlLayer.setOptions(options);\n }\n });\n }\n _watchForUrlChanges() {\n this._url.pipe(takeUntil(this._destroyed)).subscribe(url => {\n if (url && this.kmlLayer) {\n this._assertInitialized();\n this.kmlLayer.setUrl(url);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.kmlLayer) {\n throw Error('Cannot interact with a Google Map KmlLayer before it has been ' +\n 'initialized. Please wait for the KmlLayer to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapKmlLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapKmlLayer, selector: \"map-kml-layer\", inputs: { options: \"options\", url: \"url\" }, outputs: { kmlClick: \"kmlClick\", defaultviewportChanged: \"defaultviewportChanged\", statusChanged: \"statusChanged\" }, exportAs: [\"mapKmlLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapKmlLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-kml-layer',\n exportAs: 'mapKmlLayer',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { options: [{\n type: Input\n }], url: [{\n type: Input\n }], kmlClick: [{\n type: Output\n }], defaultviewportChanged: [{\n type: Output\n }], statusChanged: [{\n type: Output\n }] } });\n\n/// \n/**\n * Default options for the Google Maps marker component. Displays a marker\n * at the Googleplex.\n */\nconst DEFAULT_MARKER_OPTIONS = {\n position: { lat: 37.421995, lng: -122.084092 },\n};\n/**\n * Angular component that renders a Google Maps marker via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/marker\n */\nclass MapMarker {\n /**\n * Title of the marker.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.title\n */\n set title(title) {\n this._title = title;\n }\n /**\n * Position of the marker. See:\n * developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.position\n */\n set position(position) {\n this._position = position;\n }\n /**\n * Label for the marker.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.label\n */\n set label(label) {\n this._label = label;\n }\n /**\n * Whether the marker is clickable. See:\n * developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.clickable\n */\n set clickable(clickable) {\n this._clickable = clickable;\n }\n /**\n * Options used to configure the marker.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions\n */\n set options(options) {\n this._options = options;\n }\n /**\n * Icon to be used for the marker.\n * See: https://developers.google.com/maps/documentation/javascript/reference/marker#Icon\n */\n set icon(icon) {\n this._icon = icon;\n }\n /**\n * Whether the marker is visible.\n * See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.visible\n */\n set visible(value) {\n this._visible = value;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.animation_changed\n */\n this.animationChanged = this._eventManager.getLazyEmitter('animation_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.click\n */\n this.mapClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.clickable_changed\n */\n this.clickableChanged = this._eventManager.getLazyEmitter('clickable_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.cursor_changed\n */\n this.cursorChanged = this._eventManager.getLazyEmitter('cursor_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.dblclick\n */\n this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.drag\n */\n this.mapDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.dragend\n */\n this.mapDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.draggable_changed\n */\n this.draggableChanged = this._eventManager.getLazyEmitter('draggable_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.dragstart\n */\n this.mapDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.flat_changed\n */\n this.flatChanged = this._eventManager.getLazyEmitter('flat_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.icon_changed\n */\n this.iconChanged = this._eventManager.getLazyEmitter('icon_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mousedown\n */\n this.mapMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mouseout\n */\n this.mapMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mouseover\n */\n this.mapMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.mouseup\n */\n this.mapMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.position_changed\n */\n this.positionChanged = this._eventManager.getLazyEmitter('position_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.rightclick\n */\n this.mapRightclick = this._eventManager.getLazyEmitter('rightclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.shape_changed\n */\n this.shapeChanged = this._eventManager.getLazyEmitter('shape_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.title_changed\n */\n this.titleChanged = this._eventManager.getLazyEmitter('title_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.visible_changed\n */\n this.visibleChanged = this._eventManager.getLazyEmitter('visible_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.zindex_changed\n */\n this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');\n }\n ngOnInit() {\n if (this._googleMap._isBrowser) {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.marker = new google.maps.Marker(this._combineOptions());\n });\n this._assertInitialized();\n this.marker.setMap(this._googleMap.googleMap);\n this._eventManager.setTarget(this.marker);\n }\n }\n ngOnChanges(changes) {\n const { marker, _title, _position, _label, _clickable, _icon, _visible } = this;\n if (marker) {\n if (changes['options']) {\n marker.setOptions(this._combineOptions());\n }\n if (changes['title'] && _title !== undefined) {\n marker.setTitle(_title);\n }\n if (changes['position'] && _position) {\n marker.setPosition(_position);\n }\n if (changes['label'] && _label !== undefined) {\n marker.setLabel(_label);\n }\n if (changes['clickable'] && _clickable !== undefined) {\n marker.setClickable(_clickable);\n }\n if (changes['icon'] && _icon) {\n marker.setIcon(_icon);\n }\n if (changes['visible'] && _visible !== undefined) {\n marker.setVisible(_visible);\n }\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n if (this.marker) {\n this.marker.setMap(null);\n }\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getAnimation\n */\n getAnimation() {\n this._assertInitialized();\n return this.marker.getAnimation() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getClickable\n */\n getClickable() {\n this._assertInitialized();\n return this.marker.getClickable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getCursor\n */\n getCursor() {\n this._assertInitialized();\n return this.marker.getCursor() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return !!this.marker.getDraggable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getIcon\n */\n getIcon() {\n this._assertInitialized();\n return this.marker.getIcon() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getLabel\n */\n getLabel() {\n this._assertInitialized();\n return this.marker.getLabel() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getOpacity\n */\n getOpacity() {\n this._assertInitialized();\n return this.marker.getOpacity() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getPosition\n */\n getPosition() {\n this._assertInitialized();\n return this.marker.getPosition() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getShape\n */\n getShape() {\n this._assertInitialized();\n return this.marker.getShape() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getTitle\n */\n getTitle() {\n this._assertInitialized();\n return this.marker.getTitle() || null;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.marker.getVisible();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/marker#Marker.getZIndex\n */\n getZIndex() {\n this._assertInitialized();\n return this.marker.getZIndex() || null;\n }\n /** Gets the anchor point that can be used to attach other Google Maps objects. */\n getAnchor() {\n this._assertInitialized();\n return this.marker;\n }\n /** Creates a combined options object using the passed-in options and the individual inputs. */\n _combineOptions() {\n const options = this._options || DEFAULT_MARKER_OPTIONS;\n return {\n ...options,\n title: this._title || options.title,\n position: this._position || options.position,\n label: this._label || options.label,\n clickable: this._clickable ?? options.clickable,\n map: this._googleMap.googleMap,\n icon: this._icon || options.icon,\n visible: this._visible ?? options.visible,\n };\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._googleMap.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.marker) {\n throw Error('Cannot interact with a Google Map Marker before it has been ' +\n 'initialized. Please wait for the Marker to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapMarker, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapMarker, selector: \"map-marker\", inputs: { title: \"title\", position: \"position\", label: \"label\", clickable: \"clickable\", options: \"options\", icon: \"icon\", visible: \"visible\" }, outputs: { animationChanged: \"animationChanged\", mapClick: \"mapClick\", clickableChanged: \"clickableChanged\", cursorChanged: \"cursorChanged\", mapDblclick: \"mapDblclick\", mapDrag: \"mapDrag\", mapDragend: \"mapDragend\", draggableChanged: \"draggableChanged\", mapDragstart: \"mapDragstart\", flatChanged: \"flatChanged\", iconChanged: \"iconChanged\", mapMousedown: \"mapMousedown\", mapMouseout: \"mapMouseout\", mapMouseover: \"mapMouseover\", mapMouseup: \"mapMouseup\", positionChanged: \"positionChanged\", mapRightclick: \"mapRightclick\", shapeChanged: \"shapeChanged\", titleChanged: \"titleChanged\", visibleChanged: \"visibleChanged\", zindexChanged: \"zindexChanged\" }, exportAs: [\"mapMarker\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapMarker, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-marker',\n exportAs: 'mapMarker',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { title: [{\n type: Input\n }], position: [{\n type: Input\n }], label: [{\n type: Input\n }], clickable: [{\n type: Input\n }], options: [{\n type: Input\n }], icon: [{\n type: Input\n }], visible: [{\n type: Input\n }], animationChanged: [{\n type: Output\n }], mapClick: [{\n type: Output\n }], clickableChanged: [{\n type: Output\n }], cursorChanged: [{\n type: Output\n }], mapDblclick: [{\n type: Output\n }], mapDrag: [{\n type: Output\n }], mapDragend: [{\n type: Output\n }], draggableChanged: [{\n type: Output\n }], mapDragstart: [{\n type: Output\n }], flatChanged: [{\n type: Output\n }], iconChanged: [{\n type: Output\n }], mapMousedown: [{\n type: Output\n }], mapMouseout: [{\n type: Output\n }], mapMouseover: [{\n type: Output\n }], mapMouseup: [{\n type: Output\n }], positionChanged: [{\n type: Output\n }], mapRightclick: [{\n type: Output\n }], shapeChanged: [{\n type: Output\n }], titleChanged: [{\n type: Output\n }], visibleChanged: [{\n type: Output\n }], zindexChanged: [{\n type: Output\n }] } });\n\n/// \n/** Default options for a clusterer. */\nconst DEFAULT_CLUSTERER_OPTIONS = {};\n/**\n * Angular component for implementing a Google Maps Marker Clusterer.\n *\n * See https://developers.google.com/maps/documentation/javascript/marker-clustering\n */\nclass MapMarkerClusterer {\n set averageCenter(averageCenter) {\n this._averageCenter = averageCenter;\n }\n set batchSizeIE(batchSizeIE) {\n this._batchSizeIE = batchSizeIE;\n }\n set calculator(calculator) {\n this._calculator = calculator;\n }\n set clusterClass(clusterClass) {\n this._clusterClass = clusterClass;\n }\n set enableRetinaIcons(enableRetinaIcons) {\n this._enableRetinaIcons = enableRetinaIcons;\n }\n set gridSize(gridSize) {\n this._gridSize = gridSize;\n }\n set ignoreHidden(ignoreHidden) {\n this._ignoreHidden = ignoreHidden;\n }\n set imageExtension(imageExtension) {\n this._imageExtension = imageExtension;\n }\n set imagePath(imagePath) {\n this._imagePath = imagePath;\n }\n set imageSizes(imageSizes) {\n this._imageSizes = imageSizes;\n }\n set maxZoom(maxZoom) {\n this._maxZoom = maxZoom;\n }\n set minimumClusterSize(minimumClusterSize) {\n this._minimumClusterSize = minimumClusterSize;\n }\n set styles(styles) {\n this._styles = styles;\n }\n set title(title) {\n this._title = title;\n }\n set zIndex(zIndex) {\n this._zIndex = zIndex;\n }\n set zoomOnClick(zoomOnClick) {\n this._zoomOnClick = zoomOnClick;\n }\n set options(options) {\n this._options = options;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n this._currentMarkers = new Set();\n this._eventManager = new MapEventManager(inject(NgZone));\n this._destroy = new Subject();\n this.ariaLabelFn = () => '';\n /**\n * See\n * googlemaps.github.io/v3-utility-library/modules/\n * _google_markerclustererplus.html#clusteringbegin\n */\n this.clusteringbegin = this._eventManager.getLazyEmitter('clusteringbegin');\n /**\n * See\n * googlemaps.github.io/v3-utility-library/modules/_google_markerclustererplus.html#clusteringend\n */\n this.clusteringend = this._eventManager.getLazyEmitter('clusteringend');\n /** Emits when a cluster has been clicked. */\n this.clusterClick = this._eventManager.getLazyEmitter('click');\n this._canInitialize = this._googleMap._isBrowser;\n }\n ngOnInit() {\n if (this._canInitialize) {\n if (typeof MarkerClusterer !== 'function' &&\n (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('MarkerClusterer class not found, cannot construct a marker cluster. ' +\n 'Please install the MarkerClustererPlus library: ' +\n 'https://github.com/googlemaps/js-markerclustererplus');\n }\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.markerClusterer = new MarkerClusterer(this._googleMap.googleMap, [], this._combineOptions());\n });\n this._assertInitialized();\n this._eventManager.setTarget(this.markerClusterer);\n }\n }\n ngAfterContentInit() {\n if (this._canInitialize) {\n this._watchForMarkerChanges();\n }\n }\n ngOnChanges(changes) {\n const { markerClusterer: clusterer, ariaLabelFn, _averageCenter, _batchSizeIE, _calculator, _styles, _clusterClass, _enableRetinaIcons, _gridSize, _ignoreHidden, _imageExtension, _imagePath, _imageSizes, _maxZoom, _minimumClusterSize, _title, _zIndex, _zoomOnClick, } = this;\n if (clusterer) {\n if (changes['options']) {\n clusterer.setOptions(this._combineOptions());\n }\n if (changes['ariaLabelFn']) {\n clusterer.ariaLabelFn = ariaLabelFn;\n }\n if (changes['averageCenter'] && _averageCenter !== undefined) {\n clusterer.setAverageCenter(_averageCenter);\n }\n if (changes['batchSizeIE'] && _batchSizeIE !== undefined) {\n clusterer.setBatchSizeIE(_batchSizeIE);\n }\n if (changes['calculator'] && !!_calculator) {\n clusterer.setCalculator(_calculator);\n }\n if (changes['clusterClass'] && _clusterClass !== undefined) {\n clusterer.setClusterClass(_clusterClass);\n }\n if (changes['enableRetinaIcons'] && _enableRetinaIcons !== undefined) {\n clusterer.setEnableRetinaIcons(_enableRetinaIcons);\n }\n if (changes['gridSize'] && _gridSize !== undefined) {\n clusterer.setGridSize(_gridSize);\n }\n if (changes['ignoreHidden'] && _ignoreHidden !== undefined) {\n clusterer.setIgnoreHidden(_ignoreHidden);\n }\n if (changes['imageExtension'] && _imageExtension !== undefined) {\n clusterer.setImageExtension(_imageExtension);\n }\n if (changes['imagePath'] && _imagePath !== undefined) {\n clusterer.setImagePath(_imagePath);\n }\n if (changes['imageSizes'] && _imageSizes) {\n clusterer.setImageSizes(_imageSizes);\n }\n if (changes['maxZoom'] && _maxZoom !== undefined) {\n clusterer.setMaxZoom(_maxZoom);\n }\n if (changes['minimumClusterSize'] && _minimumClusterSize !== undefined) {\n clusterer.setMinimumClusterSize(_minimumClusterSize);\n }\n if (changes['styles'] && _styles) {\n clusterer.setStyles(_styles);\n }\n if (changes['title'] && _title !== undefined) {\n clusterer.setTitle(_title);\n }\n if (changes['zIndex'] && _zIndex !== undefined) {\n clusterer.setZIndex(_zIndex);\n }\n if (changes['zoomOnClick'] && _zoomOnClick !== undefined) {\n clusterer.setZoomOnClick(_zoomOnClick);\n }\n }\n }\n ngOnDestroy() {\n this._destroy.next();\n this._destroy.complete();\n this._eventManager.destroy();\n if (this.markerClusterer) {\n this.markerClusterer.setMap(null);\n }\n }\n fitMapToMarkers(padding) {\n this._assertInitialized();\n this.markerClusterer.fitMapToMarkers(padding);\n }\n getAverageCenter() {\n this._assertInitialized();\n return this.markerClusterer.getAverageCenter();\n }\n getBatchSizeIE() {\n this._assertInitialized();\n return this.markerClusterer.getBatchSizeIE();\n }\n getCalculator() {\n this._assertInitialized();\n return this.markerClusterer.getCalculator();\n }\n getClusterClass() {\n this._assertInitialized();\n return this.markerClusterer.getClusterClass();\n }\n getClusters() {\n this._assertInitialized();\n return this.markerClusterer.getClusters();\n }\n getEnableRetinaIcons() {\n this._assertInitialized();\n return this.markerClusterer.getEnableRetinaIcons();\n }\n getGridSize() {\n this._assertInitialized();\n return this.markerClusterer.getGridSize();\n }\n getIgnoreHidden() {\n this._assertInitialized();\n return this.markerClusterer.getIgnoreHidden();\n }\n getImageExtension() {\n this._assertInitialized();\n return this.markerClusterer.getImageExtension();\n }\n getImagePath() {\n this._assertInitialized();\n return this.markerClusterer.getImagePath();\n }\n getImageSizes() {\n this._assertInitialized();\n return this.markerClusterer.getImageSizes();\n }\n getMaxZoom() {\n this._assertInitialized();\n return this.markerClusterer.getMaxZoom();\n }\n getMinimumClusterSize() {\n this._assertInitialized();\n return this.markerClusterer.getMinimumClusterSize();\n }\n getStyles() {\n this._assertInitialized();\n return this.markerClusterer.getStyles();\n }\n getTitle() {\n this._assertInitialized();\n return this.markerClusterer.getTitle();\n }\n getTotalClusters() {\n this._assertInitialized();\n return this.markerClusterer.getTotalClusters();\n }\n getTotalMarkers() {\n this._assertInitialized();\n return this.markerClusterer.getTotalMarkers();\n }\n getZIndex() {\n this._assertInitialized();\n return this.markerClusterer.getZIndex();\n }\n getZoomOnClick() {\n this._assertInitialized();\n return this.markerClusterer.getZoomOnClick();\n }\n _combineOptions() {\n const options = this._options || DEFAULT_CLUSTERER_OPTIONS;\n return {\n ...options,\n ariaLabelFn: this.ariaLabelFn ?? options.ariaLabelFn,\n averageCenter: this._averageCenter ?? options.averageCenter,\n batchSize: this.batchSize ?? options.batchSize,\n batchSizeIE: this._batchSizeIE ?? options.batchSizeIE,\n calculator: this._calculator ?? options.calculator,\n clusterClass: this._clusterClass ?? options.clusterClass,\n enableRetinaIcons: this._enableRetinaIcons ?? options.enableRetinaIcons,\n gridSize: this._gridSize ?? options.gridSize,\n ignoreHidden: this._ignoreHidden ?? options.ignoreHidden,\n imageExtension: this._imageExtension ?? options.imageExtension,\n imagePath: this._imagePath ?? options.imagePath,\n imageSizes: this._imageSizes ?? options.imageSizes,\n maxZoom: this._maxZoom ?? options.maxZoom,\n minimumClusterSize: this._minimumClusterSize ?? options.minimumClusterSize,\n styles: this._styles ?? options.styles,\n title: this._title ?? options.title,\n zIndex: this._zIndex ?? options.zIndex,\n zoomOnClick: this._zoomOnClick ?? options.zoomOnClick,\n };\n }\n _watchForMarkerChanges() {\n this._assertInitialized();\n const initialMarkers = [];\n for (const marker of this._getInternalMarkers(this._markers.toArray())) {\n this._currentMarkers.add(marker);\n initialMarkers.push(marker);\n }\n this.markerClusterer.addMarkers(initialMarkers);\n this._markers.changes\n .pipe(takeUntil(this._destroy))\n .subscribe((markerComponents) => {\n this._assertInitialized();\n const newMarkers = new Set(this._getInternalMarkers(markerComponents));\n const markersToAdd = [];\n const markersToRemove = [];\n for (const marker of Array.from(newMarkers)) {\n if (!this._currentMarkers.has(marker)) {\n this._currentMarkers.add(marker);\n markersToAdd.push(marker);\n }\n }\n for (const marker of Array.from(this._currentMarkers)) {\n if (!newMarkers.has(marker)) {\n markersToRemove.push(marker);\n }\n }\n this.markerClusterer.addMarkers(markersToAdd, true);\n this.markerClusterer.removeMarkers(markersToRemove, true);\n this.markerClusterer.repaint();\n for (const marker of markersToRemove) {\n this._currentMarkers.delete(marker);\n }\n });\n }\n _getInternalMarkers(markers) {\n return markers\n .filter(markerComponent => !!markerComponent.marker)\n .map(markerComponent => markerComponent.marker);\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._googleMap.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.markerClusterer) {\n throw Error('Cannot interact with a MarkerClusterer before it has been initialized. ' +\n 'Please wait for the MarkerClusterer to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapMarkerClusterer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapMarkerClusterer, selector: \"map-marker-clusterer\", inputs: { ariaLabelFn: \"ariaLabelFn\", averageCenter: \"averageCenter\", batchSize: \"batchSize\", batchSizeIE: \"batchSizeIE\", calculator: \"calculator\", clusterClass: \"clusterClass\", enableRetinaIcons: \"enableRetinaIcons\", gridSize: \"gridSize\", ignoreHidden: \"ignoreHidden\", imageExtension: \"imageExtension\", imagePath: \"imagePath\", imageSizes: \"imageSizes\", maxZoom: \"maxZoom\", minimumClusterSize: \"minimumClusterSize\", styles: \"styles\", title: \"title\", zIndex: \"zIndex\", zoomOnClick: \"zoomOnClick\", options: \"options\" }, outputs: { clusteringbegin: \"clusteringbegin\", clusteringend: \"clusteringend\", clusterClick: \"clusterClick\" }, queries: [{ propertyName: \"_markers\", predicate: MapMarker, descendants: true }], exportAs: [\"mapMarkerClusterer\"], usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapMarkerClusterer, decorators: [{\n type: Component,\n args: [{\n selector: 'map-marker-clusterer',\n exportAs: 'mapMarkerClusterer',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '',\n encapsulation: ViewEncapsulation.None,\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { ariaLabelFn: [{\n type: Input\n }], averageCenter: [{\n type: Input\n }], batchSize: [{\n type: Input\n }], batchSizeIE: [{\n type: Input\n }], calculator: [{\n type: Input\n }], clusterClass: [{\n type: Input\n }], enableRetinaIcons: [{\n type: Input\n }], gridSize: [{\n type: Input\n }], ignoreHidden: [{\n type: Input\n }], imageExtension: [{\n type: Input\n }], imagePath: [{\n type: Input\n }], imageSizes: [{\n type: Input\n }], maxZoom: [{\n type: Input\n }], minimumClusterSize: [{\n type: Input\n }], styles: [{\n type: Input\n }], title: [{\n type: Input\n }], zIndex: [{\n type: Input\n }], zoomOnClick: [{\n type: Input\n }], options: [{\n type: Input\n }], clusteringbegin: [{\n type: Output\n }], clusteringend: [{\n type: Output\n }], clusterClick: [{\n type: Output\n }], _markers: [{\n type: ContentChildren,\n args: [MapMarker, { descendants: true }]\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Polygon via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon\n */\nclass MapPolygon {\n set options(options) {\n this._options.next(options || {});\n }\n set paths(paths) {\n this._paths.next(paths);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._paths = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.click\n */\n this.polygonClick = this._eventManager.getLazyEmitter('click');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.dblclick\n */\n this.polygonDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.drag\n */\n this.polygonDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.dragend\n */\n this.polygonDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.dragstart\n */\n this.polygonDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mousedown\n */\n this.polygonMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mousemove\n */\n this.polygonMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mouseout\n */\n this.polygonMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mouseover\n */\n this.polygonMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.mouseup\n */\n this.polygonMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.rightclick\n */\n this.polygonRightclick = this._eventManager.getLazyEmitter('rightclick');\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.polygon = new google.maps.Polygon(options);\n });\n this._assertInitialized();\n this.polygon.setMap(this._map.googleMap);\n this._eventManager.setTarget(this.polygon);\n });\n this._watchForOptionsChanges();\n this._watchForPathChanges();\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n if (this.polygon) {\n this.polygon.setMap(null);\n }\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.polygon.getDraggable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.polygon.getEditable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getPath\n */\n getPath() {\n this._assertInitialized();\n return this.polygon.getPath();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getPaths\n */\n getPaths() {\n this._assertInitialized();\n return this.polygon.getPaths();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.polygon.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._paths]).pipe(map(([options, paths]) => {\n const combinedOptions = {\n ...options,\n paths: paths || options.paths,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.polygon.setOptions(options);\n });\n }\n _watchForPathChanges() {\n this._paths.pipe(takeUntil(this._destroyed)).subscribe(paths => {\n if (paths) {\n this._assertInitialized();\n this.polygon.setPaths(paths);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.polygon) {\n throw Error('Cannot interact with a Google Map Polygon before it has been ' +\n 'initialized. Please wait for the Polygon to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapPolygon, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapPolygon, selector: \"map-polygon\", inputs: { options: \"options\", paths: \"paths\" }, outputs: { polygonClick: \"polygonClick\", polygonDblclick: \"polygonDblclick\", polygonDrag: \"polygonDrag\", polygonDragend: \"polygonDragend\", polygonDragstart: \"polygonDragstart\", polygonMousedown: \"polygonMousedown\", polygonMousemove: \"polygonMousemove\", polygonMouseout: \"polygonMouseout\", polygonMouseover: \"polygonMouseover\", polygonMouseup: \"polygonMouseup\", polygonRightclick: \"polygonRightclick\" }, exportAs: [\"mapPolygon\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapPolygon, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-polygon',\n exportAs: 'mapPolygon',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { options: [{\n type: Input\n }], paths: [{\n type: Input\n }], polygonClick: [{\n type: Output\n }], polygonDblclick: [{\n type: Output\n }], polygonDrag: [{\n type: Output\n }], polygonDragend: [{\n type: Output\n }], polygonDragstart: [{\n type: Output\n }], polygonMousedown: [{\n type: Output\n }], polygonMousemove: [{\n type: Output\n }], polygonMouseout: [{\n type: Output\n }], polygonMouseover: [{\n type: Output\n }], polygonMouseup: [{\n type: Output\n }], polygonRightclick: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Polyline via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline\n */\nclass MapPolyline {\n set options(options) {\n this._options.next(options || {});\n }\n set path(path) {\n this._path.next(path);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._path = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.click\n */\n this.polylineClick = this._eventManager.getLazyEmitter('click');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.dblclick\n */\n this.polylineDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.drag\n */\n this.polylineDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.dragend\n */\n this.polylineDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.dragstart\n */\n this.polylineDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mousedown\n */\n this.polylineMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mousemove\n */\n this.polylineMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mouseout\n */\n this.polylineMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mouseover\n */\n this.polylineMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.mouseup\n */\n this.polylineMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.rightclick\n */\n this.polylineRightclick = this._eventManager.getLazyEmitter('rightclick');\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => (this.polyline = new google.maps.Polyline(options)));\n this._assertInitialized();\n this.polyline.setMap(this._map.googleMap);\n this._eventManager.setTarget(this.polyline);\n });\n this._watchForOptionsChanges();\n this._watchForPathChanges();\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n if (this.polyline) {\n this.polyline.setMap(null);\n }\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.polyline.getDraggable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.polyline.getEditable();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getPath\n */\n getPath() {\n this._assertInitialized();\n return this.polyline.getPath();\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.polyline.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._path]).pipe(map(([options, path]) => {\n const combinedOptions = {\n ...options,\n path: path || options.path,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.polyline.setOptions(options);\n });\n }\n _watchForPathChanges() {\n this._path.pipe(takeUntil(this._destroyed)).subscribe(path => {\n if (path) {\n this._assertInitialized();\n this.polyline.setPath(path);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.polyline) {\n throw Error('Cannot interact with a Google Map Polyline before it has been ' +\n 'initialized. Please wait for the Polyline to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapPolyline, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapPolyline, selector: \"map-polyline\", inputs: { options: \"options\", path: \"path\" }, outputs: { polylineClick: \"polylineClick\", polylineDblclick: \"polylineDblclick\", polylineDrag: \"polylineDrag\", polylineDragend: \"polylineDragend\", polylineDragstart: \"polylineDragstart\", polylineMousedown: \"polylineMousedown\", polylineMousemove: \"polylineMousemove\", polylineMouseout: \"polylineMouseout\", polylineMouseover: \"polylineMouseover\", polylineMouseup: \"polylineMouseup\", polylineRightclick: \"polylineRightclick\" }, exportAs: [\"mapPolyline\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapPolyline, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-polyline',\n exportAs: 'mapPolyline',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { options: [{\n type: Input\n }], path: [{\n type: Input\n }], polylineClick: [{\n type: Output\n }], polylineDblclick: [{\n type: Output\n }], polylineDrag: [{\n type: Output\n }], polylineDragend: [{\n type: Output\n }], polylineDragstart: [{\n type: Output\n }], polylineMousedown: [{\n type: Output\n }], polylineMousemove: [{\n type: Output\n }], polylineMouseout: [{\n type: Output\n }], polylineMouseover: [{\n type: Output\n }], polylineMouseup: [{\n type: Output\n }], polylineRightclick: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Rectangle via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle\n */\nclass MapRectangle {\n set options(options) {\n this._options.next(options || {});\n }\n set bounds(bounds) {\n this._bounds.next(bounds);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._eventManager = new MapEventManager(inject(NgZone));\n this._options = new BehaviorSubject({});\n this._bounds = new BehaviorSubject(undefined);\n this._destroyed = new Subject();\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.boundsChanged\n */ this.boundsChanged = this._eventManager.getLazyEmitter('bounds_changed');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.click\n */\n this.rectangleClick = this._eventManager.getLazyEmitter('click');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.dblclick\n */\n this.rectangleDblclick = this._eventManager.getLazyEmitter('dblclick');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.drag\n */\n this.rectangleDrag = this._eventManager.getLazyEmitter('drag');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.dragend\n */\n this.rectangleDragend = this._eventManager.getLazyEmitter('dragend');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.dragstart\n */\n this.rectangleDragstart = this._eventManager.getLazyEmitter('dragstart');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mousedown\n */\n this.rectangleMousedown = this._eventManager.getLazyEmitter('mousedown');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mousemove\n */\n this.rectangleMousemove = this._eventManager.getLazyEmitter('mousemove');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mouseout\n */\n this.rectangleMouseout = this._eventManager.getLazyEmitter('mouseout');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mouseover\n */\n this.rectangleMouseover = this._eventManager.getLazyEmitter('mouseover');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.mouseup\n */\n this.rectangleMouseup = this._eventManager.getLazyEmitter('mouseup');\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.rightclick\n */\n this.rectangleRightclick = this._eventManager.getLazyEmitter('rightclick');\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.rectangle = new google.maps.Rectangle(options);\n });\n this._assertInitialized();\n this.rectangle.setMap(this._map.googleMap);\n this._eventManager.setTarget(this.rectangle);\n });\n this._watchForOptionsChanges();\n this._watchForBoundsChanges();\n }\n }\n ngOnDestroy() {\n this._eventManager.destroy();\n this._destroyed.next();\n this._destroyed.complete();\n if (this.rectangle) {\n this.rectangle.setMap(null);\n }\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getBounds\n */\n getBounds() {\n this._assertInitialized();\n return this.rectangle.getBounds();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getDraggable\n */\n getDraggable() {\n this._assertInitialized();\n return this.rectangle.getDraggable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getEditable\n */\n getEditable() {\n this._assertInitialized();\n return this.rectangle.getEditable();\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getVisible\n */\n getVisible() {\n this._assertInitialized();\n return this.rectangle.getVisible();\n }\n _combineOptions() {\n return combineLatest([this._options, this._bounds]).pipe(map(([options, bounds]) => {\n const combinedOptions = {\n ...options,\n bounds: bounds || options.bounds,\n };\n return combinedOptions;\n }));\n }\n _watchForOptionsChanges() {\n this._options.pipe(takeUntil(this._destroyed)).subscribe(options => {\n this._assertInitialized();\n this.rectangle.setOptions(options);\n });\n }\n _watchForBoundsChanges() {\n this._bounds.pipe(takeUntil(this._destroyed)).subscribe(bounds => {\n if (bounds) {\n this._assertInitialized();\n this.rectangle.setBounds(bounds);\n }\n });\n }\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.rectangle) {\n throw Error('Cannot interact with a Google Map Rectangle before it has been initialized. ' +\n 'Please wait for the Rectangle to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapRectangle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapRectangle, selector: \"map-rectangle\", inputs: { options: \"options\", bounds: \"bounds\" }, outputs: { boundsChanged: \"boundsChanged\", rectangleClick: \"rectangleClick\", rectangleDblclick: \"rectangleDblclick\", rectangleDrag: \"rectangleDrag\", rectangleDragend: \"rectangleDragend\", rectangleDragstart: \"rectangleDragstart\", rectangleMousedown: \"rectangleMousedown\", rectangleMousemove: \"rectangleMousemove\", rectangleMouseout: \"rectangleMouseout\", rectangleMouseover: \"rectangleMouseover\", rectangleMouseup: \"rectangleMouseup\", rectangleRightclick: \"rectangleRightclick\" }, exportAs: [\"mapRectangle\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapRectangle, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-rectangle',\n exportAs: 'mapRectangle',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { options: [{\n type: Input\n }], bounds: [{\n type: Input\n }], boundsChanged: [{\n type: Output\n }], rectangleClick: [{\n type: Output\n }], rectangleDblclick: [{\n type: Output\n }], rectangleDrag: [{\n type: Output\n }], rectangleDragend: [{\n type: Output\n }], rectangleDragstart: [{\n type: Output\n }], rectangleMousedown: [{\n type: Output\n }], rectangleMousemove: [{\n type: Output\n }], rectangleMouseout: [{\n type: Output\n }], rectangleMouseover: [{\n type: Output\n }], rectangleMouseup: [{\n type: Output\n }], rectangleRightclick: [{\n type: Output\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Traffic Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/map#TrafficLayer\n */\nclass MapTrafficLayer {\n /**\n * Whether the traffic layer refreshes with updated information automatically.\n */\n set autoRefresh(autoRefresh) {\n this._autoRefresh.next(autoRefresh);\n }\n constructor(_map, _ngZone) {\n this._map = _map;\n this._ngZone = _ngZone;\n this._autoRefresh = new BehaviorSubject(true);\n this._destroyed = new Subject();\n }\n ngOnInit() {\n if (this._map._isBrowser) {\n this._combineOptions()\n .pipe(take(1))\n .subscribe(options => {\n // Create the object outside the zone so its events don't trigger change detection.\n this._ngZone.runOutsideAngular(() => {\n this.trafficLayer = new google.maps.TrafficLayer(options);\n });\n this._assertInitialized();\n this.trafficLayer.setMap(this._map.googleMap);\n });\n this._watchForAutoRefreshChanges();\n }\n }\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n if (this.trafficLayer) {\n this.trafficLayer.setMap(null);\n }\n }\n _combineOptions() {\n return this._autoRefresh.pipe(map(autoRefresh => {\n const combinedOptions = { autoRefresh };\n return combinedOptions;\n }));\n }\n _watchForAutoRefreshChanges() {\n this._combineOptions()\n .pipe(takeUntil(this._destroyed))\n .subscribe(options => {\n this._assertInitialized();\n this.trafficLayer.setOptions(options);\n });\n }\n _assertInitialized() {\n if (!this._map.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.trafficLayer) {\n throw Error('Cannot interact with a Google Map Traffic Layer before it has been initialized. ' +\n 'Please wait for the Traffic Layer to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapTrafficLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapTrafficLayer, selector: \"map-traffic-layer\", inputs: { autoRefresh: \"autoRefresh\" }, exportAs: [\"mapTrafficLayer\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapTrafficLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-traffic-layer',\n exportAs: 'mapTrafficLayer',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { autoRefresh: [{\n type: Input\n }] } });\n\n/// \n/**\n * Angular component that renders a Google Maps Transit Layer via the Google Maps JavaScript API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/map#TransitLayer\n */\nclass MapTransitLayer extends MapBaseLayer {\n _initializeObject() {\n this.transitLayer = new google.maps.TransitLayer();\n }\n _setMap() {\n this._assertLayerInitialized();\n this.transitLayer.setMap(this._map.googleMap);\n }\n _unsetMap() {\n if (this.transitLayer) {\n this.transitLayer.setMap(null);\n }\n }\n _assertLayerInitialized() {\n if (!this.transitLayer) {\n throw Error('Cannot interact with a Google Map Transit Layer before it has been initialized. ' +\n 'Please wait for the Transit Layer to load before trying to interact with it.');\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapTransitLayer, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapTransitLayer, selector: \"map-transit-layer\", exportAs: [\"mapTransitLayer\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapTransitLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-transit-layer',\n exportAs: 'mapTransitLayer',\n }]\n }] });\n\n/// \n/**\n * Angular directive that renders a Google Maps heatmap via the Google Maps JavaScript API.\n *\n * See: https://developers.google.com/maps/documentation/javascript/reference/visualization\n */\nclass MapHeatmapLayer {\n /**\n * Data shown on the heatmap.\n * See: https://developers.google.com/maps/documentation/javascript/reference/visualization\n */\n set data(data) {\n this._data = data;\n }\n /**\n * Options used to configure the heatmap. See:\n * developers.google.com/maps/documentation/javascript/reference/visualization#HeatmapLayerOptions\n */\n set options(options) {\n this._options = options;\n }\n constructor(_googleMap, _ngZone) {\n this._googleMap = _googleMap;\n this._ngZone = _ngZone;\n }\n ngOnInit() {\n if (this._googleMap._isBrowser) {\n if (!window.google?.maps?.visualization && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Namespace `google.maps.visualization` not found, cannot construct heatmap. ' +\n 'Please install the Google Maps JavaScript API with the \"visualization\" library: ' +\n 'https://developers.google.com/maps/documentation/javascript/visualization');\n }\n // Create the object outside the zone so its events don't trigger change detection.\n // We'll bring it back in inside the `MapEventManager` only for the events that the\n // user has subscribed to.\n this._ngZone.runOutsideAngular(() => {\n this.heatmap = new google.maps.visualization.HeatmapLayer(this._combineOptions());\n });\n this._assertInitialized();\n this.heatmap.setMap(this._googleMap.googleMap);\n }\n }\n ngOnChanges(changes) {\n const { _data, heatmap } = this;\n if (heatmap) {\n if (changes['options']) {\n heatmap.setOptions(this._combineOptions());\n }\n if (changes['data'] && _data !== undefined) {\n heatmap.setData(this._normalizeData(_data));\n }\n }\n }\n ngOnDestroy() {\n if (this.heatmap) {\n this.heatmap.setMap(null);\n }\n }\n /**\n * Gets the data that is currently shown on the heatmap.\n * See: developers.google.com/maps/documentation/javascript/reference/visualization#HeatmapLayer\n */\n getData() {\n this._assertInitialized();\n return this.heatmap.getData();\n }\n /** Creates a combined options object using the passed-in options and the individual inputs. */\n _combineOptions() {\n const options = this._options || {};\n return {\n ...options,\n data: this._normalizeData(this._data || options.data || []),\n map: this._googleMap.googleMap,\n };\n }\n /**\n * Most Google Maps APIs support both `LatLng` objects and `LatLngLiteral`. The latter is more\n * convenient to write out, because the Google Maps API doesn't have to have been loaded in order\n * to construct them. The `HeatmapLayer` appears to be an exception that only allows a `LatLng`\n * object, or it throws a runtime error. Since it's more convenient and we expect that Angular\n * users will load the API asynchronously, we allow them to pass in a `LatLngLiteral` and we\n * convert it to a `LatLng` object before passing it off to Google Maps.\n */\n _normalizeData(data) {\n const result = [];\n data.forEach(item => {\n result.push(isLatLngLiteral(item) ? new google.maps.LatLng(item.lat, item.lng) : item);\n });\n return result;\n }\n /** Asserts that the heatmap object has been initialized. */\n _assertInitialized() {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._googleMap.googleMap) {\n throw Error('Cannot access Google Map information before the API has been initialized. ' +\n 'Please wait for the API to load before trying to interact with it.');\n }\n if (!this.heatmap) {\n throw Error('Cannot interact with a Google Map HeatmapLayer before it has been ' +\n 'initialized. Please wait for the heatmap to load before trying to interact with it.');\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapHeatmapLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"16.1.1\", type: MapHeatmapLayer, selector: \"map-heatmap-layer\", inputs: { data: \"data\", options: \"options\" }, exportAs: [\"mapHeatmapLayer\"], usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapHeatmapLayer, decorators: [{\n type: Directive,\n args: [{\n selector: 'map-heatmap-layer',\n exportAs: 'mapHeatmapLayer',\n }]\n }], ctorParameters: function () { return [{ type: GoogleMap }, { type: i0.NgZone }]; }, propDecorators: { data: [{\n type: Input\n }], options: [{\n type: Input\n }] } });\n/** Asserts that an object is a `LatLngLiteral`. */\nfunction isLatLngLiteral(value) {\n return value && typeof value.lat === 'number' && typeof value.lng === 'number';\n}\n\nconst COMPONENTS = [\n GoogleMap,\n MapBaseLayer,\n MapBicyclingLayer,\n MapCircle,\n MapDirectionsRenderer,\n MapGroundOverlay,\n MapInfoWindow,\n MapKmlLayer,\n MapMarker,\n MapMarkerClusterer,\n MapPolygon,\n MapPolyline,\n MapRectangle,\n MapTrafficLayer,\n MapTransitLayer,\n MapHeatmapLayer,\n];\nclass GoogleMapsModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: GoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"16.1.1\", ngImport: i0, type: GoogleMapsModule, declarations: [GoogleMap,\n MapBaseLayer,\n MapBicyclingLayer,\n MapCircle,\n MapDirectionsRenderer,\n MapGroundOverlay,\n MapInfoWindow,\n MapKmlLayer,\n MapMarker,\n MapMarkerClusterer,\n MapPolygon,\n MapPolyline,\n MapRectangle,\n MapTrafficLayer,\n MapTransitLayer,\n MapHeatmapLayer], exports: [GoogleMap,\n MapBaseLayer,\n MapBicyclingLayer,\n MapCircle,\n MapDirectionsRenderer,\n MapGroundOverlay,\n MapInfoWindow,\n MapKmlLayer,\n MapMarker,\n MapMarkerClusterer,\n MapPolygon,\n MapPolyline,\n MapRectangle,\n MapTrafficLayer,\n MapTransitLayer,\n MapHeatmapLayer] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: GoogleMapsModule }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: GoogleMapsModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: COMPONENTS,\n exports: COMPONENTS,\n }]\n }] });\n\n/// \n/**\n * Angular service that wraps the Google Maps DirectionsService from the Google Maps JavaScript\n * API.\n *\n * See developers.google.com/maps/documentation/javascript/reference/directions#DirectionsService\n */\nclass MapDirectionsService {\n constructor(_ngZone) {\n this._ngZone = _ngZone;\n }\n /**\n * See\n * developers.google.com/maps/documentation/javascript/reference/directions\n * #DirectionsService.route\n */\n route(request) {\n return new Observable(observer => {\n // Initialize the `DirectionsService` lazily since the Google Maps API may\n // not have been loaded when the provider is instantiated.\n if (!this._directionsService) {\n this._directionsService = new google.maps.DirectionsService();\n }\n this._directionsService.route(request, (result, status) => {\n this._ngZone.run(() => {\n observer.next({ result: result || undefined, status });\n observer.complete();\n });\n });\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapDirectionsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapDirectionsService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapDirectionsService, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });\n\n/// \n/**\n * Angular service that wraps the Google Maps Geocoder from the Google Maps JavaScript API.\n * See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder\n */\nclass MapGeocoder {\n constructor(_ngZone) {\n this._ngZone = _ngZone;\n }\n /**\n * See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder.geocode\n */\n geocode(request) {\n return new Observable(observer => {\n // Initialize the `Geocoder` lazily since the Google Maps API may\n // not have been loaded when the provider is instantiated.\n if (!this._geocoder) {\n this._geocoder = new google.maps.Geocoder();\n }\n this._geocoder.geocode(request, (results, status) => {\n this._ngZone.run(() => {\n observer.next({ results: results || [], status });\n observer.complete();\n });\n });\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapGeocoder, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapGeocoder, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"16.1.1\", ngImport: i0, type: MapGeocoder, decorators: [{\n type: Injectable,\n args: [{ providedIn: 'root' }]\n }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { GoogleMap, GoogleMapsModule, MapBaseLayer, MapBicyclingLayer, MapCircle, MapDirectionsRenderer, MapDirectionsService, MapEventManager, MapGeocoder, MapGroundOverlay, MapHeatmapLayer, MapInfoWindow, MapKmlLayer, MapMarker, MapMarkerClusterer, MapPolygon, MapPolyline, MapRectangle, MapTrafficLayer, MapTransitLayer };\n","import * as i0 from '@angular/core';\nimport { Directive, ContentChildren, Component, ChangeDetectionStrategy, ContentChild, NgModule } from '@angular/core';\nimport { ComplexBase, setValue, ArrayBase, ComponentBase, Template, ComponentMixins } from '@syncfusion/ej2-angular-base';\nimport { __decorate } from 'tslib';\nimport { Dialog, Tooltip } from '@syncfusion/ej2-popups';\nexport * from '@syncfusion/ej2-popups';\nimport { CommonModule } from '@angular/common';\n\nlet input = ['buttonModel', 'isFlat', 'type'];\nlet outputs$2 = ['click'];\n/**\n * 'e-button' directive represent a button of angular dialog\n * It must be contained in a Dialog component(`ej-dialog`).\n * ```html\n * \n * \n * \n * \n * \n * \n * ```\n */\nclass DialogButtonDirective extends ComplexBase {\n constructor(viewContainerRef) {\n super();\n this.viewContainerRef = viewContainerRef;\n setValue('currentInstance', this, this.viewContainerRef);\n this.registerEvents(outputs$2);\n this.directivePropList = input;\n }\n}\nDialogButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogButtonDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });\nDialogButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"12.0.0\", version: \"13.0.3\", type: DialogButtonDirective, selector: \"e-buttons>e-dialogbutton\", inputs: { buttonModel: \"buttonModel\", isFlat: \"isFlat\", type: \"type\" }, outputs: { click: \"click\" }, usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogButtonDirective, decorators: [{\n type: Directive,\n args: [{\n selector: 'e-buttons>e-dialogbutton',\n inputs: input,\n outputs: outputs$2,\n queries: {}\n }]\n }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });\n/**\n * DialogButton Array Directive\n * @private\n */\nclass ButtonsDirective extends ArrayBase {\n constructor() {\n super('buttons');\n }\n}\nButtonsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: ButtonsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });\nButtonsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"12.0.0\", version: \"13.0.3\", type: ButtonsDirective, selector: \"ejs-dialog>e-buttons\", queries: [{ propertyName: \"children\", predicate: DialogButtonDirective }], usesInheritance: true, ngImport: i0 });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: ButtonsDirective, decorators: [{\n type: Directive,\n args: [{\n selector: 'ejs-dialog>e-buttons',\n queries: {\n children: new ContentChildren(DialogButtonDirective)\n },\n }]\n }], ctorParameters: function () { return []; } });\n\nconst inputs$1 = ['allowDragging', 'animationSettings', 'buttons', 'closeOnEscape', 'content', 'cssClass', 'enableHtmlSanitizer', 'enablePersistence', 'enableResize', 'enableRtl', 'footerTemplate', 'header', 'height', 'isModal', 'locale', 'minHeight', 'position', 'resizeHandles', 'showCloseIcon', 'target', 'visible', 'width', 'zIndex'];\nconst outputs$1 = ['beforeClose', 'beforeOpen', 'beforeSanitizeHtml', 'close', 'created', 'destroyed', 'drag', 'dragStart', 'dragStop', 'open', 'overlayClick', 'resizeStart', 'resizeStop', 'resizing', 'visibleChange'];\nconst twoWays$1 = ['visible'];\n/**\n * Represents the Angular Dialog Component\n * ```html\n * \n * ```\n */\nlet DialogComponent = class DialogComponent extends Dialog {\n constructor(ngEle, srenderer, viewContainerRef, injector) {\n super();\n this.ngEle = ngEle;\n this.srenderer = srenderer;\n this.viewContainerRef = viewContainerRef;\n this.injector = injector;\n this.tags = ['buttons'];\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n this.registerEvents(outputs$1);\n this.addTwoWay.call(this, twoWays$1);\n setValue('currentInstance', this, this.viewContainerRef);\n this.containerContext = new ComponentBase();\n }\n ngOnInit() {\n this.containerContext.ngOnInit(this);\n }\n ngAfterViewInit() {\n this.containerContext.ngAfterViewInit(this);\n }\n ngOnDestroy() {\n this.containerContext.ngOnDestroy(this);\n }\n ngAfterContentChecked() {\n this.tagObjects[0].instance = this.childButtons;\n this.containerContext.ngAfterContentChecked(this);\n }\n};\nDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });\nDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.0.3\", type: DialogComponent, selector: \"ejs-dialog\", inputs: { allowDragging: \"allowDragging\", animationSettings: \"animationSettings\", buttons: \"buttons\", closeOnEscape: \"closeOnEscape\", content: \"content\", cssClass: \"cssClass\", enableHtmlSanitizer: \"enableHtmlSanitizer\", enablePersistence: \"enablePersistence\", enableResize: \"enableResize\", enableRtl: \"enableRtl\", footerTemplate: \"footerTemplate\", header: \"header\", height: \"height\", isModal: \"isModal\", locale: \"locale\", minHeight: \"minHeight\", position: \"position\", resizeHandles: \"resizeHandles\", showCloseIcon: \"showCloseIcon\", target: \"target\", visible: \"visible\", width: \"width\", zIndex: \"zIndex\" }, outputs: { beforeClose: \"beforeClose\", beforeOpen: \"beforeOpen\", beforeSanitizeHtml: \"beforeSanitizeHtml\", close: \"close\", created: \"created\", destroyed: \"destroyed\", drag: \"drag\", dragStart: \"dragStart\", dragStop: \"dragStop\", open: \"open\", overlayClick: \"overlayClick\", resizeStart: \"resizeStart\", resizeStop: \"resizeStop\", resizing: \"resizing\", visibleChange: \"visibleChange\" }, queries: [{ propertyName: \"footerTemplate\", first: true, predicate: [\"footerTemplate\"], descendants: true }, { propertyName: \"header\", first: true, predicate: [\"header\"], descendants: true }, { propertyName: \"content\", first: true, predicate: [\"content\"], descendants: true }, { propertyName: \"childButtons\", first: true, predicate: ButtonsDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });\n__decorate([\n Template()\n], DialogComponent.prototype, \"footerTemplate\", void 0);\n__decorate([\n Template()\n], DialogComponent.prototype, \"header\", void 0);\n__decorate([\n Template()\n], DialogComponent.prototype, \"content\", void 0);\nDialogComponent = __decorate([\n ComponentMixins([ComponentBase])\n], DialogComponent);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'ejs-dialog',\n inputs: inputs$1,\n outputs: outputs$1,\n template: ``,\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {\n childButtons: new ContentChild(ButtonsDirective)\n }\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { footerTemplate: [{\n type: ContentChild,\n args: ['footerTemplate']\n }], header: [{\n type: ContentChild,\n args: ['header']\n }], content: [{\n type: ContentChild,\n args: ['content']\n }] } });\n\n/**\n * NgModule definition for the Dialog component.\n */\nclass DialogModule {\n}\nDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogModule, declarations: [DialogComponent,\n DialogButtonDirective,\n ButtonsDirective], imports: [CommonModule], exports: [DialogComponent,\n DialogButtonDirective,\n ButtonsDirective] });\nDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogModule, imports: [[CommonModule]] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [\n DialogComponent,\n DialogButtonDirective,\n ButtonsDirective\n ],\n exports: [\n DialogComponent,\n DialogButtonDirective,\n ButtonsDirective\n ]\n }]\n }] });\n\n/**\n * NgModule definition for the Dialog component with providers.\n */\nclass DialogAllModule {\n}\nDialogAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nDialogAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogAllModule, imports: [CommonModule, DialogModule], exports: [DialogModule] });\nDialogAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogAllModule, providers: [], imports: [[CommonModule, DialogModule], DialogModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: DialogAllModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, DialogModule],\n exports: [\n DialogModule\n ],\n providers: []\n }]\n }] });\n\nconst inputs = ['animation', 'closeDelay', 'container', 'content', 'cssClass', 'enableHtmlParse', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'height', 'htmlAttributes', 'isSticky', 'locale', 'mouseTrail', 'offsetX', 'offsetY', 'openDelay', 'opensOn', 'position', 'showTipPointer', 'target', 'tipPointerPosition', 'width', 'windowCollision'];\nconst outputs = ['afterClose', 'afterOpen', 'beforeClose', 'beforeCollision', 'beforeOpen', 'beforeRender', 'created', 'destroyed'];\nconst twoWays = [''];\n/**\n * Represents the Angular Tooltip component that displays a piece of information about the target element on mouse hover.\n * ```html\n * Show Tooltip\n * ```\n */\nlet TooltipComponent = class TooltipComponent extends Tooltip {\n constructor(ngEle, srenderer, viewContainerRef, injector) {\n super();\n this.ngEle = ngEle;\n this.srenderer = srenderer;\n this.viewContainerRef = viewContainerRef;\n this.injector = injector;\n this.element = this.ngEle.nativeElement;\n this.injectedModules = this.injectedModules || [];\n this.registerEvents(outputs);\n this.addTwoWay.call(this, twoWays);\n setValue('currentInstance', this, this.viewContainerRef);\n this.containerContext = new ComponentBase();\n }\n ngOnInit() {\n this.containerContext.ngOnInit(this);\n }\n ngAfterViewInit() {\n this.containerContext.ngAfterViewInit(this);\n }\n ngOnDestroy() {\n this.containerContext.ngOnDestroy(this);\n }\n ngAfterContentChecked() {\n this.containerContext.ngAfterContentChecked(this);\n }\n};\nTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });\nTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.0.3\", type: TooltipComponent, selector: \"ejs-tooltip\", inputs: { animation: \"animation\", closeDelay: \"closeDelay\", container: \"container\", content: \"content\", cssClass: \"cssClass\", enableHtmlParse: \"enableHtmlParse\", enableHtmlSanitizer: \"enableHtmlSanitizer\", enablePersistence: \"enablePersistence\", enableRtl: \"enableRtl\", height: \"height\", htmlAttributes: \"htmlAttributes\", isSticky: \"isSticky\", locale: \"locale\", mouseTrail: \"mouseTrail\", offsetX: \"offsetX\", offsetY: \"offsetY\", openDelay: \"openDelay\", opensOn: \"opensOn\", position: \"position\", showTipPointer: \"showTipPointer\", target: \"target\", tipPointerPosition: \"tipPointerPosition\", width: \"width\", windowCollision: \"windowCollision\" }, outputs: { afterClose: \"afterClose\", afterOpen: \"afterOpen\", beforeClose: \"beforeClose\", beforeCollision: \"beforeCollision\", beforeOpen: \"beforeOpen\", beforeRender: \"beforeRender\", created: \"created\", destroyed: \"destroyed\" }, queries: [{ propertyName: \"content\", first: true, predicate: [\"content\"], descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });\n__decorate([\n Template()\n], TooltipComponent.prototype, \"content\", void 0);\nTooltipComponent = __decorate([\n ComponentMixins([ComponentBase])\n], TooltipComponent);\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'ejs-tooltip',\n inputs: inputs,\n outputs: outputs,\n template: ``,\n changeDetection: ChangeDetectionStrategy.OnPush,\n queries: {}\n }]\n }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { content: [{\n type: ContentChild,\n args: ['content']\n }] } });\n\n/**\n * NgModule definition for the Tooltip component.\n */\nclass TooltipModule {\n}\nTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipModule, declarations: [TooltipComponent], imports: [CommonModule], exports: [TooltipComponent] });\nTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipModule, imports: [[CommonModule]] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule],\n declarations: [\n TooltipComponent\n ],\n exports: [\n TooltipComponent\n ]\n }]\n }] });\n\n/**\n * NgModule definition for the Tooltip component with providers.\n */\nclass TooltipAllModule {\n}\nTooltipAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nTooltipAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipAllModule, imports: [CommonModule, TooltipModule], exports: [TooltipModule] });\nTooltipAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipAllModule, providers: [], imports: [[CommonModule, TooltipModule], TooltipModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.0.3\", ngImport: i0, type: TooltipAllModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, TooltipModule],\n exports: [\n TooltipModule\n ],\n providers: []\n }]\n }] });\n\n// Mapping root file for package generation\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ButtonsDirective, DialogAllModule, DialogButtonDirective, DialogComponent, DialogModule, TooltipAllModule, TooltipComponent, TooltipModule };\n","import * as i0 from '@angular/core';\nimport { Pipe, EventEmitter, Component, Inject, Input, Output, NgModule } from '@angular/core';\nimport * as i3 from '@angular/forms';\nimport { FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport * as i2 from '@angular/common';\nimport { DOCUMENT, CommonModule } from '@angular/common';\n\nclass KeyboardUtil {\r\n static ifTab(event) {\r\n return this.ifKey(event, 'Tab');\r\n }\r\n static ifDelete(event) {\r\n return this.ifKey(event, 'Delete;Del');\r\n }\r\n static ifBackspace(event) {\r\n return this.ifKey(event, 'Backspace');\r\n }\r\n static ifRightArrow(event) {\r\n return this.ifKey(event, 'ArrowRight;Right');\r\n }\r\n static ifLeftArrow(event) {\r\n return this.ifKey(event, 'ArrowLeft;Left');\r\n }\r\n static ifSpacebar(event) {\r\n return this.ifKey(event, 'Spacebar; '); //don't remove the space after ; as this will check for space key\r\n }\r\n static ifKey(event, keys) {\r\n let keysToCheck = keys.split(';');\r\n return keysToCheck.some(k => k === event.key);\r\n }\r\n}\n\nclass KeysPipe {\r\n transform(value) {\r\n return Object.keys(value);\r\n }\r\n}\r\n/** @nocollapse */ KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });\r\n/** @nocollapse */ KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: KeysPipe, name: \"keys\" });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: KeysPipe, decorators: [{\r\n type: Pipe,\r\n args: [{\r\n name: 'keys'\r\n }]\r\n }] });\n\nclass NgOtpInputComponent {\r\n constructor(keysPipe, document) {\r\n this.keysPipe = keysPipe;\r\n this.document = document;\r\n this.config = { length: 4 };\r\n // tslint:disable-next-line: no-output-on-prefix\r\n this.onInputChange = new EventEmitter();\r\n this.inputControls = new Array(this.config.length);\r\n this.componentKey = Math.random()\r\n .toString(36)\r\n .substring(2) + new Date().getTime().toString(36);\r\n }\r\n get inputType() {\r\n return this.config?.isPasswordInput\r\n ? 'password'\r\n : this.config?.allowNumbersOnly\r\n ? 'tel'\r\n : 'text';\r\n }\r\n ngOnInit() {\r\n this.otpForm = new FormGroup({});\r\n for (let index = 0; index < this.config.length; index++) {\r\n this.otpForm.addControl(this.getControlName(index), new FormControl());\r\n }\r\n this.otpForm.valueChanges.subscribe((v) => {\r\n this.keysPipe.transform(this.otpForm.controls).forEach((k) => {\r\n var val = this.otpForm.controls[k].value;\r\n if (val && val.length > 1) {\r\n if (val.length >= this.config.length) {\r\n this.setValue(val);\r\n }\r\n else {\r\n this.rebuildValue();\r\n }\r\n }\r\n });\r\n });\r\n }\r\n ngAfterViewInit() {\r\n if (!this.config.disableAutoFocus) {\r\n const containerItem = this.document.getElementById(`c_${this.componentKey}`);\r\n if (containerItem) {\r\n const ele = containerItem.getElementsByClassName('otp-input')[0];\r\n if (ele && ele.focus) {\r\n ele.focus();\r\n }\r\n }\r\n }\r\n }\r\n getControlName(idx) {\r\n return `ctrl_${idx}`;\r\n }\r\n onKeyDown($event, inputIdx) {\r\n const prevInputId = this.getBoxId(inputIdx - 1);\r\n const currentInputId = this.getBoxId(inputIdx);\r\n if (KeyboardUtil.ifSpacebar($event)) {\r\n $event.preventDefault();\r\n return false;\r\n }\r\n if (KeyboardUtil.ifBackspace($event)) {\r\n if (!$event.target.value) {\r\n this.clearInput(prevInputId, inputIdx - 1);\r\n this.setSelected(prevInputId);\r\n }\r\n else {\r\n this.clearInput(currentInputId, inputIdx);\r\n }\r\n this.rebuildValue();\r\n return;\r\n }\r\n }\r\n onInput($event) {\r\n let newVal = this.currentVal ? `${this.currentVal}${$event.target.value}` : $event.target.value;\r\n if (this.config.allowNumbersOnly && !this.validateNumber(newVal)) {\r\n $event.target.value = '';\r\n $event.stopPropagation();\r\n $event.preventDefault();\r\n return;\r\n }\r\n }\r\n onKeyUp($event, inputIdx) {\r\n if (KeyboardUtil.ifTab($event)) {\r\n inputIdx -= 1;\r\n }\r\n const nextInputId = this.getBoxId(inputIdx + 1);\r\n const prevInputId = this.getBoxId(inputIdx - 1);\r\n const currentInputId = this.getBoxId(inputIdx);\r\n if (KeyboardUtil.ifRightArrow($event)) {\r\n $event.preventDefault();\r\n this.setSelected(nextInputId);\r\n return;\r\n }\r\n if (KeyboardUtil.ifLeftArrow($event)) {\r\n $event.preventDefault();\r\n this.setSelected(prevInputId);\r\n return;\r\n }\r\n if (KeyboardUtil.ifDelete($event)) {\r\n if (!$event.target.value) {\r\n this.clearInput(prevInputId, inputIdx - 1);\r\n this.setSelected(prevInputId);\r\n }\r\n else {\r\n this.clearInput(currentInputId, inputIdx);\r\n }\r\n this.rebuildValue();\r\n return;\r\n }\r\n if (!$event.target.value) {\r\n return;\r\n }\r\n if (this.ifValidKeyCode($event)) {\r\n this.setSelected(nextInputId);\r\n }\r\n this.rebuildValue();\r\n }\r\n validateNumber(val) {\r\n return val && /^[0-9]+$/.test(val);\r\n }\r\n getBoxId(idx) {\r\n return `otp_${idx}_${this.componentKey}`;\r\n }\r\n clearInput(eleId, inputIdx) {\r\n let ctrlName = this.getControlName(inputIdx);\r\n this.otpForm.controls[ctrlName]?.setValue(null);\r\n const ele = this.document.getElementById(eleId);\r\n if (ele && ele instanceof HTMLInputElement) {\r\n ele.value = null;\r\n }\r\n }\r\n setSelected(eleId) {\r\n this.focusTo(eleId);\r\n const ele = this.document.getElementById(eleId);\r\n if (ele && ele.setSelectionRange) {\r\n setTimeout(() => {\r\n ele.setSelectionRange(0, 1);\r\n }, 0);\r\n }\r\n }\r\n ifValidKeyCode(event) {\r\n const inp = event.key;\r\n const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);\r\n return (isMobile ||\r\n /[a-zA-Z0-9-_]/.test(inp));\r\n }\r\n focusTo(eleId) {\r\n const ele = this.document.getElementById(eleId);\r\n if (ele) {\r\n ele.focus();\r\n }\r\n }\r\n // method to set component value\r\n setValue(value) {\r\n if (this.config.allowNumbersOnly && isNaN(value)) {\r\n return;\r\n }\r\n this.otpForm.reset();\r\n if (!value) {\r\n this.rebuildValue();\r\n return;\r\n }\r\n value = value.toString().replace(/\\s/g, ''); // remove whitespace\r\n Array.from(value).forEach((c, idx) => {\r\n if (this.otpForm.get(this.getControlName(idx))) {\r\n this.otpForm.get(this.getControlName(idx)).setValue(c);\r\n }\r\n });\r\n if (!this.config.disableAutoFocus) {\r\n const containerItem = this.document.getElementById(`c_${this.componentKey}`);\r\n var indexOfElementToFocus = value.length < this.config.length ? value.length : (this.config.length - 1);\r\n let ele = containerItem.getElementsByClassName('otp-input')[indexOfElementToFocus];\r\n if (ele && ele.focus) {\r\n ele.focus();\r\n }\r\n }\r\n this.rebuildValue();\r\n }\r\n rebuildValue() {\r\n let val = '';\r\n this.keysPipe.transform(this.otpForm.controls).forEach(k => {\r\n if (this.otpForm.controls[k].value) {\r\n let ctrlVal = this.otpForm.controls[k].value;\r\n let isLengthExceed = ctrlVal.length > 1;\r\n let isCaseTransformEnabled = !this.config.allowNumbersOnly && this.config.letterCase && (this.config.letterCase.toLocaleLowerCase() == 'upper' || this.config.letterCase.toLocaleLowerCase() == 'lower');\r\n ctrlVal = ctrlVal[0];\r\n let transformedVal = isCaseTransformEnabled ? this.config.letterCase.toLocaleLowerCase() == 'upper' ? ctrlVal.toUpperCase() : ctrlVal.toLowerCase() : ctrlVal;\r\n if (isCaseTransformEnabled && transformedVal == ctrlVal) {\r\n isCaseTransformEnabled = false;\r\n }\r\n else {\r\n ctrlVal = transformedVal;\r\n }\r\n val += ctrlVal;\r\n if (isLengthExceed || isCaseTransformEnabled) {\r\n this.otpForm.controls[k].setValue(ctrlVal);\r\n }\r\n }\r\n });\r\n if (this.formCtrl?.setValue) {\r\n this.formCtrl.setValue(val);\r\n }\r\n this.onInputChange.emit(val);\r\n this.currentVal = val;\r\n }\r\n handlePaste(e) {\r\n // Get pasted data via clipboard API\r\n let clipboardData = e.clipboardData || window['clipboardData'];\r\n if (clipboardData) {\r\n var pastedData = clipboardData.getData('Text');\r\n }\r\n // Stop data actually being pasted into div\r\n e.stopPropagation();\r\n e.preventDefault();\r\n if (!pastedData || (this.config.allowNumbersOnly && !this.validateNumber(pastedData))) {\r\n return;\r\n }\r\n this.setValue(pastedData);\r\n }\r\n}\r\n/** @nocollapse */ NgOtpInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: NgOtpInputComponent, deps: [{ token: KeysPipe }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });\r\n/** @nocollapse */ NgOtpInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"12.0.0\", version: \"13.3.12\", type: NgOtpInputComponent, selector: \"ng-otp-input\", inputs: { config: \"config\", formCtrl: \"formCtrl\" }, outputs: { onInputChange: \"onInputChange\" }, ngImport: i0, template: \"
    \\r\\n \\r\\n
    \", styles: [\".otp-input{width:50px;height:50px;border-radius:4px;border:solid 1px #c5c5c5;text-align:center;font-size:32px}.ng-otp-input-wrapper .otp-input:not(:last-child){margin-right:8px}@media screen and (max-width: 767px){.otp-input{width:40px;font-size:24px;height:40px}}@media screen and (max-width: 420px){.otp-input{width:30px;font-size:18px;height:30px}}\\n\"], directives: [{ type: i2.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { type: i2.NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { type: i2.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { type: i3.DefaultValueAccessor, selector: \"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]\" }, { type: i3.PatternValidator, selector: \"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]\", inputs: [\"pattern\"] }, { type: i3.NgControlStatus, selector: \"[formControlName],[ngModel],[formControl]\" }, { type: i3.FormControlDirective, selector: \"[formControl]\", inputs: [\"formControl\", \"disabled\", \"ngModel\"], outputs: [\"ngModelChange\"], exportAs: [\"ngForm\"] }], pipes: { \"keys\": KeysPipe } });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: NgOtpInputComponent, decorators: [{\r\n type: Component,\r\n args: [{ selector: 'ng-otp-input', template: \"
    \\r\\n \\r\\n
    \", styles: [\".otp-input{width:50px;height:50px;border-radius:4px;border:solid 1px #c5c5c5;text-align:center;font-size:32px}.ng-otp-input-wrapper .otp-input:not(:last-child){margin-right:8px}@media screen and (max-width: 767px){.otp-input{width:40px;font-size:24px;height:40px}}@media screen and (max-width: 420px){.otp-input{width:30px;font-size:18px;height:30px}}\\n\"] }]\r\n }], ctorParameters: function () { return [{ type: KeysPipe }, { type: Document, decorators: [{\r\n type: Inject,\r\n args: [DOCUMENT]\r\n }] }]; }, propDecorators: { config: [{\r\n type: Input\r\n }], onInputChange: [{\r\n type: Output\r\n }], formCtrl: [{\r\n type: Input\r\n }] } });\n\nclass NgOtpInputModule {\r\n}\r\n/** @nocollapse */ NgOtpInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: NgOtpInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\r\n/** @nocollapse */ NgOtpInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: NgOtpInputModule, declarations: [NgOtpInputComponent, KeysPipe], imports: [CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule], exports: [NgOtpInputComponent] });\r\n/** @nocollapse */ NgOtpInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: NgOtpInputModule, providers: [KeysPipe], imports: [[\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule\r\n ]] });\r\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.3.12\", ngImport: i0, type: NgOtpInputModule, decorators: [{\r\n type: NgModule,\r\n args: [{\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule\r\n ],\r\n declarations: [NgOtpInputComponent, KeysPipe],\r\n exports: [NgOtpInputComponent],\r\n providers: [KeysPipe]\r\n }]\r\n }] });\n\nclass Config {\r\n}\n\n/*\r\n * Public API Surface of ng-otp-input\r\n */\n\n/**\r\n * Generated bundle index. Do not edit.\r\n */\n\nexport { NgOtpInputComponent, Config as NgOtpInputConfig, NgOtpInputModule };\n"],"names":["moment","CustomValidators","patternValidator","regex","error","control","value","valid","test","passwordMatchValidator","password","get","confirmPassword","setErrors","NoPassswordMatch","minimumAge","age","fg","result","date","year","month","day","startOf","isValid","now","yearsDiff","diff","ResetPasswordModel","AccountModel","UserContactDetailModel","UserDetailModel","PreferencesModel","ChildModel","constructor","account","preferences","userDetail","userContactDetail","RegistrationModel","createSelector","authFeature","state","auth","isLoggedInSelector","isAuthLoggedIn","loginFailSelector","loginSuccessSelector","requestPhoneSelector","clientSelector","TeamSlider","TestimonialSlider","select","i0","ɵɵelementStart","ɵɵelement","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","service_r1","image","ɵɵsanitizeUrl","ɵɵtextInterpolate","title","description","ɵɵelementContainerStart","ɵɵtemplate","AboutUsComponent_ng_container_21_ng_template_1_Template","ɵɵelementContainerEnd","AboutUsComponent","store","mainAboutBanner","themeLogo","services","TeamSliderConfig","TestimonialSliderConfig","testimonial","name","designation","team","pipe","subscribe","data","clientData","clientLogo","bannersToFilter","theme","Images","typeToFilter","getBannersByTypeWithNames","Banner","Path","addService","ngOnInit","servicePath","service","push","banners","type","filteredByType","filter","banner","Type","toLowerCase","limitedBanners","slice","map","Name","rest","BannerName","_","ɵɵdirectiveInject","i1","Store","_2","selectors","decls","vars","consts","template","AboutUsComponent_Template","rf","ctx","AboutUsComponent_ng_container_21_Template","ɵɵnamespaceSVG","ɵɵnamespaceHTML","getUserSelector","Select","Subscription","AuthState","AccountDetailsComponent","selectedMenuItem","isLoggedIn","openDashboard","balance","rewardsBalance","firstName","lastName","accountNumber","subscription","add","isLoggedIn$","userData","userAccountNumber","axBalance","userPhoto","ToggleDashboard","changeContent","menuItem","AccountDetailsComponent_Template","ɵɵlistener","AccountDetailsComponent_Template_div_click_6_listener","AccountDetailsComponent_Template_div_click_10_listener","ɵɵclassProp","ɵɵtextInterpolate2","__decorate","PLATFORM_ID","product_r3","images","src","incCat_r8","categoryName","incProd_r12","productName","CartComponent_div_5_tr_18_div_7_p_1_Template","CartComponent_div_5_tr_18_div_7_div_2_Template","items","length","CartComponent_div_5_tr_18_div_3_Template","CartComponent_div_5_tr_18_div_7_Template","CartComponent_div_5_tr_18_Template_button_click_13_listener","restoredCtx","ɵɵrestoreView","_r14","i_r4","index","ctx_r13","ɵɵnextContext","ɵɵresetView","incrementQuantity","CartComponent_div_5_tr_18_Template_button_click_17_listener","ctx_r15","decrementQuantity","CartComponent_div_5_tr_18_Template_i_click_25_listener","$implicit","ctx_r16","removeItem","CartComponent_div_5_tr_18_Template_button_click_35_listener","ctx_r17","CartComponent_div_5_tr_18_Template_button_click_39_listener","ctx_r18","CartComponent_div_5_tr_18_Template_div_click_42_listener","ctx_r19","ɵɵtextInterpolate1","salesincludes","quantity","price","ɵɵpipeBind3","ɵɵpipeBind2","ctx_r2","productService","Currency","currency","calculateItemTotal","CartComponent_div_5_tr_18_Template","ctx_r1","products","ɵɵpipeBind1","getTotal","CartComponent","platformId","router","location","adjustmentAllowed","contactUsEmail","cartItems","response","toLocaleLowerCase","indexOf","itemTotal","product","updateQuantity","event","inputElement","target","newQuantity","parseInt","updateItemQty","qty","updateItem","updateCartQuantity","cartTotalAmount","removeCartItem","goBack","back","onCheckOut","navigate","catch","console","log","ProductService","i2","Router","i3","i4","Location","CartComponent_Template","CartComponent_div_4_Template","CartComponent_div_5_Template","CartComponent_Template_a_click_8_listener","CartComponent_Template_a_click_11_listener","FormControl","Validators","timer","WebOrderModel","AuthActions","StoreSelect","VendorState","Swal","config","User_UpdateTransactions","GetVendorDeliveryAction","CheckoutComponent_div_8_div_9_div_1_Template","CheckoutComponent_div_8_div_9_div_2_Template","ctx_r7","l","userName","errors","required","email","CheckoutComponent_div_8_div_14_div_1_Template","ctx_r8","CheckoutComponent_div_8_div_9_Template","CheckoutComponent_div_8_div_14_Template","CheckoutComponent_div_8_Template_a_click_17_listener","$event","_r13","ctx_r12","login","CheckoutComponent_div_8_Template_a_click_20_listener","ctx_r14","showGuestCheckoutForm","ctx_r0","loginForm","invalid","submitted","CheckoutComponent_div_9_div_9_div_1_Template","f","CheckoutComponent_div_9_div_14_div_1_Template","CheckoutComponent_div_9_div_19_div_1_Template","CheckoutComponent_div_9_div_19_div_2_Template","emailAddress","CheckoutComponent_div_9_div_26_div_1_Template","CheckoutComponent_div_9_div_26_div_2_Template","CheckoutComponent_div_9_div_26_div_3_Template","CheckoutComponent_div_9_div_26_div_4_Template","CheckoutComponent_div_9_div_26_div_5_Template","CheckoutComponent_div_9_div_26_div_6_Template","minlength","hasNumber","hasCapitalCase","hasSmallCase","hasSpecialCharacters","CheckoutComponent_div_9_div_9_Template","CheckoutComponent_div_9_div_14_Template","CheckoutComponent_div_9_div_19_Template","CheckoutComponent_div_9_Template_span_click_25_listener","_r32","ctx_r31","revealPassword","CheckoutComponent_div_9_div_26_Template","CheckoutComponent_div_9_Template_span_click_31_listener","ctx_r33","CheckoutComponent_div_9_div_32_Template","CheckoutComponent_div_9_Template_a_click_34_listener","ctx_r34","register","registrationForm","passwordVisible","mismatch","incProd_r48","CheckoutComponent_div_10_div_3_ul_6_li_3_div_1_div_2_Template","incCat_r45","CheckoutComponent_div_10_div_3_ul_6_li_3_div_1_Template","tmp_0_0","undefined","CheckoutComponent_div_10_div_3_ul_6_li_3_Template","product_r42","CheckoutComponent_div_10_div_3_ul_6_Template","toFixed","CheckoutComponent_div_10_div_19_Template_app_delivery_slot_deliverySlot_1_listener","_r52","ctx_r51","onDelivery","CheckoutComponent_div_10_div_20_div_17_div_7_div_1_Template","ctx_r54","addressFormData","CheckoutComponent_div_10_div_20_div_17_div_12_div_1_Template","ctx_r55","CheckoutComponent_div_10_div_20_div_17_div_17_div_1_Template","ctx_r56","CheckoutComponent_div_10_div_20_div_17_div_22_div_1_Template","ctx_r57","CheckoutComponent_div_10_div_20_div_17_div_27_div_1_Template","ctx_r58","CheckoutComponent_div_10_div_20_div_17_div_32_div_1_Template","ctx_r59","CheckoutComponent_div_10_div_20_div_17_Template_form_change_1_listener","_r67","ctx_r66","onFormChange","CheckoutComponent_div_10_div_20_div_17_Template_input_ngModelChange_6_listener","ctx_r68","address","telephone","CheckoutComponent_div_10_div_20_div_17_div_7_Template","CheckoutComponent_div_10_div_20_div_17_Template_input_ngModelChange_11_listener","ctx_r69","streetName","CheckoutComponent_div_10_div_20_div_17_div_12_Template","CheckoutComponent_div_10_div_20_div_17_Template_input_ngModelChange_16_listener","ctx_r70","suburb","CheckoutComponent_div_10_div_20_div_17_div_17_Template","CheckoutComponent_div_10_div_20_div_17_Template_input_ngModelChange_21_listener","ctx_r71","city","CheckoutComponent_div_10_div_20_div_17_div_22_Template","CheckoutComponent_div_10_div_20_div_17_Template_input_ngModelChange_26_listener","ctx_r72","province","CheckoutComponent_div_10_div_20_div_17_div_27_Template","CheckoutComponent_div_10_div_20_div_17_Template_input_ngModelChange_31_listener","ctx_r73","postalCode","CheckoutComponent_div_10_div_20_div_17_div_32_Template","ctx_r53","ɵɵpureFunction1","_c5","dirty","touched","CheckoutComponent_div_10_div_20_Template_ul_change_6_listener","_r75","ctx_r74","onAddressServiceTypeChange","CheckoutComponent_div_10_div_20_Template_input_ngModelChange_9_listener","ctx_r76","fulfillmentData","CheckoutComponent_div_10_div_20_Template_input_ngModelChange_14_listener","ctx_r77","CheckoutComponent_div_10_div_20_div_17_Template","ctx_r37","addressServiceDelivery","CheckoutComponent_div_10_div_21_Template_ul_change_6_listener","_r79","ctx_r78","onRoomServiceTypeChange","CheckoutComponent_div_10_div_21_Template_input_ngModelChange_9_listener","ctx_r80","CheckoutComponent_div_10_div_21_Template_input_ngModelChange_14_listener","ctx_r81","ctx_r38","CheckoutComponent_div_10_div_22_Template_input_ngModelChange_3_listener","_r83","ctx_r82","notes","ctx_r39","CheckoutComponent_div_10_div_23_Template_input_ngModelChange_3_listener","_r85","ctx_r84","ctx_r40","CheckoutComponent_div_10_div_25_li_7_Template_input_ngModelChange_2_listener","_r93","ctx_r92","paymentMethodData","ctx_r89","CheckoutComponent_div_10_div_25_li_8_Template_input_ngModelChange_2_listener","_r95","ctx_r94","ctx_r90","CheckoutComponent_div_10_div_25_div_9_a_1_Template_a_click_0_listener","_r98","ctx_r97","onPlaceOrder","CheckoutComponent_div_10_div_25_div_9_a_1_Template","ctx_r91","CheckoutComponent_div_10_div_25_label_1_Template","CheckoutComponent_div_10_div_25_label_2_Template","CheckoutComponent_div_10_div_25_label_3_Template","CheckoutComponent_div_10_div_25_li_7_Template","CheckoutComponent_div_10_div_25_li_8_Template","CheckoutComponent_div_10_div_25_div_9_Template","ctx_r41","isGuestRegistration","isGuestLoggedIn","allowCCPayment","CheckoutComponent_div_10_div_3_Template","CheckoutComponent_div_10_div_19_Template","CheckoutComponent_div_10_div_20_Template","CheckoutComponent_div_10_div_21_Template","CheckoutComponent_div_10_div_22_Template","CheckoutComponent_div_10_div_23_Template","CheckoutComponent_div_10_div_25_Template","isDeliverySlotServiceVendor","isAddressServiceVendor","isRoomServiceVendor","isTableServiceVendor","roomServiceDelivery","deliveryReady","CheckoutComponent","authService","storeService","clientService","dataService","navServices","toastr","ngsxStore","spinner","fb","sanitizer","shippingFirstName","shippingLastName","shippingCompanyName","shippingAddress","shippingCountry","shippingState","shippingCity","shippingPostalCode","shippingPhone","billingFirstName","billingLastName","billingCompanyName","billingAddress","billingCountry","billingState","billingCity","billingPostalCode","billingPhone","shipMethodRate","isProcessingPayment","isVendorLanding","activeTab","tableInquiry","progress","updateTimer","progressMessage","topupFee","topupComplete","dialogVisibility","method","purchaseFee","orderNumber","bidvest","hasError","vendorCollectionPoint","absaImage","emailVerified","submitting","firstTime","vendorId","deliveryInfo","streetNumber","country","group","telephoneNumber","streetAddress","vendors","startPage","vendor","merchant","ccPurchaseEnabled","vendorData","orderCompletion","hasTimeSlotDelivery","hasTableDelivery","forEach","fire","icon","text","confirmButtonColor","updateMenuItems","createLoginForm","createRegistrationForm","toUpperCase","that","loggedInState$","then","isConfirmed","clientName","clientStoreData","getTableData","dispatch","ngOnDestroy","unSubscribe","unsubscribe","controls","remember","compose","minLength","validator","paswordMatchValidator","bind","loginUser","clientId","resultUrl","preventDefault","pleaseWait","regData","ClientId","URL","window","href","split","Email","FirstName","LastName","Password","ConfirmPassword","EmailVerified","Terms","next","close","setTimeout","autoLogon","errorResponse","setValue","processCashlessOrder","total","productTotal","order","orderDate","Date","orderTotal","instructions","JSON","stringify","userId","webOrderItemModel","productId","id","totalAmount","basePrice","productType","attributes","itemDetail","x","y","show","placeWebOrder","vendorOrderResponse","vendorResponse","includes","errorMessage","orderSummary","productSummary","paymentMethod","navigationExtras","clearCart","hide","addBillingData","formData","localStorage","setItem","addShipMethodData","productAddedToCart","trim","processCCardOrder","isPayGateGateway","topupType","isIveriGateway","isPeachGateway","processCardOrder","message","duration","imageUrl","showConfirmButton","allowOutsideClick","topupNotifyURL","TRIOSAPI","sessionId","cartSessionId","placeWebCardOrder","paygateModal","openModal","merchantAccount","orderId","paygateFail","paygateSuccess","iveriModal","apiportal","accountOwnerId","fromEmail","iveriFail","Description","iveriSuccess","peachModal","depositId","entityId","requestId","peachReady","resultData","peachFail","peachSuccess","Result","lastStoreOrder","OrderResponse","emptyCart","scroll","top","left","behavior","onCreditCardCheckout","isGuest","postToPaygate","checksum","postPaygate","PAY_REQUEST_ID","CHECKSUM","path","parameters","form","$","attr","each","key","field","toString","append","remove","e","submit","updateTimerSubscription","closeTimer","_closeTimer","_subscription","error_description","ex","generatePassword","chars","passwordLength","i","randomNumber","Math","floor","random","substring","onContinueShopping","AuthService","StoreService","ClientService","DataService","NavService","ToastrService","i5","i6","i7","NgxSpinnerService","i8","i9","FormBuilder","i10","i11","DomSanitizer","viewQuery","CheckoutComponent_Query","CheckoutComponent_div_8_Template","CheckoutComponent_div_9_Template","CheckoutComponent_div_10_Template","CheckoutComponent_div_11_Template","selectedVendor","EventEmitter","region_r5","DeliverySlotComponent_div_0_div_9_Template_select_change_3_listener","_r7","ctx_r6","onRegionChange","DeliverySlotComponent_div_0_div_9_option_4_Template","regions","DeliverySlotComponent_div_0_div_10_button_4_Template_button_click_0_listener","_r11","timeSlot_r9","ctx_r10","onTimeSlotSelect","ɵɵpureFunction2","_c0","selectedTimeSlot","slotName","DeliverySlotComponent_div_0_div_10_button_4_Template","timeSlots","DeliverySlotComponent_div_0_Template_input_ngModelChange_8_listener","selectedDate","DeliverySlotComponent_div_0_Template_input_change_8_listener","onDateChange","DeliverySlotComponent_div_0_div_9_Template","DeliverySlotComponent_div_0_div_10_Template","DeliverySlotComponent_div_0_div_12_Template","minDate","maxDate","selectedRegion","addressForm","showAddressFields","DeliverySlotComponent","_changeDetectorRef","format","timeSlotData","deliverySlot","appartment","street","town","pattern","statusChanges","s","val","onFormComplete","delivery$","endDate","sort","emit","deliveryRegion","tempSlots","deliverySlots","deliveryId","deliverySlotId","deliverySlotName","deliverySlotStartTime","slotTime","isAfter","dateNow","a","isSameOrAfter","startDate","b","isBefore","dateString","timeSlot","detectChanges","slotId","ChangeDetectorRef","outputs","DeliverySlotComponent_Template","DeliverySlotComponent_div_0_Template","selectedVendorDelivery","ProductSlider","ticket_r1","MyTicketsComponent_ng_container_7_ng_template_1_Template","MyTicketsComponent","voucherService","tickets","ProductSliderConfig","voucherSubject","concat","loadForm","getUserTickets","VoucherService","MyTicketsComponent_Template","MyTicketsComponent_ng_container_7_Template","product_r2","ɵɵpropertyInterpolate","manualUrl","OrderResultComponent","datePipe","orderPlaced","manualURL","receivedData","getCurrentNavigation","extras","today","Array","isArray","transform","formatReceivedDate","formattedDate","DatePipe","OrderResultComponent_Template","OrderResultComponent_div_24_Template","OrderResultComponent_div_57_Template","vendorName","WishlistComponent_tr_20_Template_a_click_18_listener","_r4","product_r1","ctx_r3","WishlistComponent_tr_20_Template_a_click_31_listener","ctx_r5","WishlistComponent_tr_20_Template_a_click_33_listener","addToCart","replace","ɵɵpureFunction0","_c1","WishlistComponent","wishlistItems","WishlistComponent_Template","WishlistComponent_tr_20_Template","_c2","_c3","DOCUMENT","ClaimAccountComponent_div_15_div_1_Template","ClaimAccountComponent_div_15_div_2_Template","ClaimAccountComponent","document","claimAccountForm","createClaimAccountForm","ClaimAccountComponent_Template","ClaimAccountComponent_div_15_Template","CompassAccountComponent_div_15_div_1_Template","CompassAccountComponent_div_20_div_1_Template","CompassAccountComponent_div_25_div_1_Template","associationNumber","CompassAccountComponent_div_30_div_1_Template","CompassAccountComponent_div_30_div_2_Template","CompassAccountComponent_div_36_div_1_Template","CompassAccountComponent_div_36_div_2_Template","CompassAccountComponent_div_36_div_3_Template","CompassAccountComponent_div_36_div_4_Template","CompassAccountComponent_div_36_div_5_Template","ctx_r4","CompassAccountComponent_div_58_div_1_Template","phoneNumber","CompassAccountComponent","compassAccountForm","createCompassAccountForm","dateOfBirth","gender","timeZone","CompassAccountComponent_Template","CompassAccountComponent_div_15_Template","CompassAccountComponent_div_20_Template","CompassAccountComponent_div_25_Template","CompassAccountComponent_div_30_Template","CompassAccountComponent_div_36_Template","CompassAccountComponent_div_41_Template","CompassAccountComponent_div_58_Template","CompassAccountComponent_Template_button_click_66_listener","_r19","ɵɵreference","toggle","UserActions","SkipStep","PhoneRequestComponent_div_9_div_1_Template","phf","PhoneRequestComponent_div_10_Template_input_keyup_8_listener","_r6","potpChange","PhoneRequestComponent_div_10_Template_input_keyup_9_listener","PhoneRequestComponent_div_10_Template_input_keyup_10_listener","PhoneRequestComponent_div_10_Template_input_keyup_11_listener","ctx_r9","PhoneRequestComponent_div_10_Template_input_keyup_12_listener","PhoneRequestComponent_div_10_Template_input_keyup_13_listener","ctx_r11","otpActive","PhoneRequestComponent","userService","showPhoneOTP","token","pinRetry","pin","showOTP","otpvalue","phoneForm","createPhoneForm","authorizePhoneNumber","authorizeNotifications","user$","submitPhone","updatePhone","sendPhoneOTP","setUserPhoneFromOTP","otpNumber","loginSuccess","setLoginState","getUser","getPhoneOTP","el","getElementById","focus","preventScroll","skipPhone","otpChange","UserService","PhoneRequestComponent_Template","PhoneRequestComponent_div_9_Template","PhoneRequestComponent_div_10_Template","PhoneRequestComponent_Template_button_click_12_listener","PhoneRequestComponent_i_13_Template","PhoneRequestComponent_Template_button_click_17_listener","PhoneRequestComponent_i_18_Template","user","UpdateRegAction","SchoolRegisterChildComponent_div_2_div_7_div_1_Template","admissionNumber","SchoolRegisterChildComponent_div_2_div_7_Template","SchoolRegisterChildComponent_div_2_Template_button_click_10_listener","_r5","lookupChild","SchoolRegisterChildComponent_div_2_Template_button_click_13_listener","skip","linkChildForm","SchoolRegisterChildComponent_div_3_Template_button_click_24_listener","_r8","linkChild","SchoolRegisterChildComponent_div_3_Template_button_click_27_listener","linkChildFoundForm","SchoolRegisterChildComponent","onSkip","createLinkChildForm","createLinkChildFoundForm","toISOString","pleaseWaitModal","_asyncToGenerator","cancelModal","ff","lastAdmissionNumber","lookupChildAccount","foundChild","err","ModelState","ErrorMessage","childModel","relationship","linkChildAccount","SchoolRegisterChildComponent_Template","SchoolRegisterChildComponent_div_2_Template","SchoolRegisterChildComponent_div_3_Template","UserModel","SchoolRegistrationComponent_div_8_div_1_Template","SchoolRegistrationComponent_div_14_div_1_Template","SchoolRegistrationComponent_div_33_div_1_Template","numberOfChildren","SchoolRegistrationComponent","_store","contactDetailForm","createContactDetailForm","min","lowBalanceEmail","lowBalanceAmount","currencySymbol","pushNotification","textNotification","emailNotification","lbaNotification","offersNotification","orderNotification","depositNotification","alertNotification","referalProgram","update","number","userSendDetail","childAccounts","countryCode","submitRegistration","iPhone","navigator","userAgent","SchoolRegistrationComponent_Template","SchoolRegistrationComponent_div_8_Template","SchoolRegistrationComponent_div_14_Template","SchoolRegistrationComponent_div_33_Template","SchoolRegistrationComponent_Template_button_click_34_listener","EventAccountComponent_div_15_div_1_Template","EventAccountComponent_div_20_div_1_Template","EventAccountComponent_div_25_div_1_Template","EventAccountComponent_div_25_div_2_Template","EventAccountComponent_div_30_div_1_Template","EventAccountComponent_div_36_div_1_Template","EventAccountComponent_div_36_div_2_Template","EventAccountComponent_div_36_div_3_Template","EventAccountComponent_div_36_div_4_Template","EventAccountComponent_div_36_div_5_Template","EventAccountComponent","eventAccountForm","createEventAccountForm","EventAccountComponent_Template","EventAccountComponent_div_15_Template","EventAccountComponent_div_20_Template","EventAccountComponent_div_25_Template","EventAccountComponent_div_30_Template","EventAccountComponent_div_36_Template","EventAccountComponent_div_41_Template","EventAccountComponent_Template_button_click_49_listener","_r17","ForgotPasswordComponent","ForgotPasswordComponent_Template","LoginComponent_div_4_app_school_registration_2_Template","registrationType","LoginComponent_div_5_Template_app_school_register_child_onSkip_2_listener","onSkipChild","LoginComponent_div_7_div_5_button_12_Template_button_click_0_listener","LoginComponent_div_7_div_5_div_2_Template","LoginComponent_div_7_div_5_Template_span_click_8_listener","LoginComponent_div_7_div_5_Template_a_click_10_listener","ctx_r20","onForgotPassword","LoginComponent_div_7_div_5_button_12_Template","LoginComponent_div_7_div_5_Template_button_click_13_listener","ctx_r21","loginWithGoogle","claimAccountMode","LoginComponent_div_7_div_6_div_6_div_1_Template","ctx_r22","LoginComponent_div_7_div_6_div_7_Template_ng_otp_input_onInputChange_7_listener","_r28","ctx_r27","onOtpChange","LoginComponent_div_7_div_6_div_8_Template_button_click_1_listener","LoginComponent_div_7_div_6_div_8_i_2_Template","LoginComponent_div_7_div_6_div_8_Template_button_click_6_listener","LoginComponent_div_7_div_6_div_8_i_7_Template","ctx_r24","LoginComponent_div_7_div_6_div_6_Template","LoginComponent_div_7_div_6_div_7_Template","LoginComponent_div_7_div_6_div_8_Template","LoginComponent_div_7_div_7_div_7_div_1_Template","ctx_r35","cf","claimUserName","LoginComponent_div_7_div_7_div_8_Template_ng_otp_input_onInputChange_7_listener","_r42","LoginComponent_div_7_div_7_div_9_Template_button_click_1_listener","_r45","ctx_r44","claimLogin","LoginComponent_div_7_div_7_div_9_i_2_Template","LoginComponent_div_7_div_7_div_10_Template_button_click_1_listener","_r48","ctx_r47","forgotPassword","LoginComponent_div_7_div_7_div_10_i_2_Template","LoginComponent_div_7_div_7_div_1_Template","LoginComponent_div_7_div_7_div_7_Template","LoginComponent_div_7_div_7_div_8_Template","LoginComponent_div_7_div_7_div_9_Template","LoginComponent_div_7_div_7_div_10_Template","claimLoginForm","LoginComponent_div_7_div_8_div_18_Template_a_click_6_listener","_r61","ctx_r60","acceptTerms","LoginComponent_div_7_div_8_div_18_div_9_Template","pf","terms","LoginComponent_div_7_div_8_div_20_Template_button_click_1_listener","_r64","ctx_r63","submitPassword","LoginComponent_div_7_div_8_div_20_i_2_Template","LoginComponent_div_7_div_8_div_21_Template_button_click_1_listener","submitResetPassword","LoginComponent_div_7_div_8_div_21_i_2_Template","LoginComponent_div_7_div_8_Template_input_keypress_5_listener","_r69","omit_special_char","LoginComponent_div_7_div_8_Template_span_click_6_listener","LoginComponent_div_7_div_8_div_7_Template","LoginComponent_div_7_div_8_div_8_Template","LoginComponent_div_7_div_8_div_9_Template","LoginComponent_div_7_div_8_div_10_Template","LoginComponent_div_7_div_8_div_11_Template","LoginComponent_div_7_div_8_Template_span_click_16_listener","LoginComponent_div_7_div_8_div_17_Template","LoginComponent_div_7_div_8_div_18_Template","LoginComponent_div_7_div_8_div_19_Template","LoginComponent_div_7_div_8_div_20_Template","LoginComponent_div_7_div_8_div_21_Template","resetPasswordForm","newpassword","confirmpassword","LoginComponent_div_7_div_9_Template_button_click_8_listener","_r73","onRegister","LoginComponent_div_7_div_5_Template","LoginComponent_div_7_div_6_Template","LoginComponent_div_7_div_7_Template","LoginComponent_div_7_div_8_Template","LoginComponent_div_7_div_9_Template","LoginComponent","showEconomy","economyLogoUtl","economyLogo","isWalletLanding","isPrivateStore","claimUserId","otpSubmitted","otpSubmitting","otpEmailAddress","otpPhone","otpUsePhone","registrationState","useFederatedLogin","changePasswordUser","createClaimLoginForm","claimAccount","socialLogin","registrationState$","Message","authData","emailotp","currentVal","createClaimPasswordForm","checkEmailClaim","hasBeenClaimed","p","partialPhone","hasMobilePhone","createResetPasswordForm","getPasswordOTP","termsModal","termsResult","checked","vf","otpForm","offers","defUser","defPassword","passwordResetData","code","resetPasswordOTP","closeModal","resetPasswordData","setEmailClaim","k","charCode","warning","doGoogleLogin","info","profile","LoginComponent_Query","LoginComponent_div_4_Template","LoginComponent_div_5_Template","LoginComponent_div_6_Template","LoginComponent_div_7_Template","UserState","SetUserPhoneStep1Action","AccountRegistered","environment","RegisterComponent_div_15_div_1_Template","RegisterComponent_div_20_div_1_Template","RegisterComponent_div_25_div_1_Template","RegisterComponent_div_25_div_2_Template","RegisterComponent_div_30_div_1_Template","RegisterComponent_div_38_div_1_Template","RegisterComponent_div_38_div_2_Template","RegisterComponent_div_38_div_3_Template","RegisterComponent_div_38_div_4_Template","RegisterComponent_div_38_div_5_Template","RegisterComponent_div_38_div_6_Template","RegisterComponent_div_46_div_5_div_1_Template","accountFee","RegisterComponent_div_46_div_6_div_6_div_1_Template","ctx_r23","accountFeeControl","RegisterComponent_div_46_div_6_div_6_Template","RegisterComponent_div_46_div_5_Template","RegisterComponent_div_46_div_6_Template","RegisterComponent_button_47_Template_button_click_0_listener","_r26","ctx_r25","RegisterComponent","ngxStore","hidePassword","hideConfirmPassword","phoneState","debug","basicAccount","setValidators","requiredTrue","clearValidators","updateValueAndValidity","verifyPhoneNumber","phoneno","startsWith","getFormValidationErrors","NumberOfChildren","Object","keys","controlErrors","keyError","togglePasswordVisibility","toggleConfirmPasswordVisibility","RegisterComponent_Query","RegisterComponent_div_15_Template","RegisterComponent_div_20_Template","RegisterComponent_div_25_Template","RegisterComponent_div_30_Template","RegisterComponent_Template_span_click_37_listener","RegisterComponent_div_38_Template","RegisterComponent_Template_span_click_44_listener","RegisterComponent_div_45_Template","RegisterComponent_div_46_Template","RegisterComponent_button_47_Template","SchoolAccountComponent_div_15_div_1_Template","parentFirstName","SchoolAccountComponent_div_21_div_1_Template","parentLastName","SchoolAccountComponent_div_27_div_1_Template","SchoolAccountComponent_div_27_div_2_Template","SchoolAccountComponent_div_33_div_1_Template","SchoolAccountComponent_div_40_div_1_Template","SchoolAccountComponent_div_40_div_2_Template","SchoolAccountComponent_div_40_div_3_Template","SchoolAccountComponent_div_40_div_4_Template","SchoolAccountComponent_div_40_div_5_Template","SchoolAccountComponent","schoolAccountForm","childrenNumber","SchoolAccountComponent_Template","SchoolAccountComponent_div_15_Template","SchoolAccountComponent_div_21_Template","SchoolAccountComponent_div_27_Template","SchoolAccountComponent_div_33_Template","SchoolAccountComponent_div_40_Template","SchoolAccountComponent_div_46_Template","SchoolAccountComponent_Template_button_click_59_listener","HomeSlider","CheckForTasksAction","slider_r2","EventsLandingComponent_3_ng_template_0_Template","grid","event_r5","VendorCategory","route","VendorAdvertDetails","image1","image2","image3","MainLandingSlider","EventsLandingComponent","_sanitizer","eventService","newStore","viewScroller","mainFooterLogo","footerLogo","vendorList","backgroundImage","bannerImages","timeStamp","getTime","selectedVendorProducts","featuredProducts","productCollections","mainLandingImage","sliderBanners","actionBanners","tabs","typesOfProducts","events","eventList","HasEvents","layoutView","pageNo","paginate","HomeSliderConfig","dt","companyName","footerDescription","whatsAppContact","hasEvents","getPublicEvents","body","classList","getPrivateEvents","getEvents","tempEvents","foundEvent","find","px","eventId","eventType","_this","eventImages","eventImage","imagePath","ticket","availability","ticketImages","ticketImage","productImages","cardImage","start","currentDate","ticketProduct","sellingPrice","amount","place","shortDescription","inventory","brand","eventDetail","eventName","eventDate","eventTime","eventLocation","locationName","locationLatitude","locationLongitude","eventDescription","eventStoreConfig","eventStartDate","eventEndDate","startTime","endTime","some","getEventsAll","cleanUpDescription","cleanedDescription","_this2","getCollectionProducts","collection","item","sortByFilter","relativeTo","queryParams","sortBy","queryParamsHandling","skipLocationChange","finally","scrollToAnchor","setPage","page","updateGridLayout","updateLayoutView","ActivatedRoute","EventService","ViewportScroller","EventsLandingComponent_Template","EventsLandingComponent_3_Template","EventsLandingComponent_Template_app_grid_setGrid_17_listener","EventsLandingComponent_Template_app_grid_setLayout_17_listener","EventsLandingComponent_Template_app_grid_sortedBy_17_listener","EventsLandingComponent_div_19_Template","EventsLandingComponent_Template_app_pagination_events_setPage_20_listener","ɵɵclassMap","RouterModule","AuthGuard","MainLandingComponent","VendorComponent","EventsItemDetailComponent","ItemDetailComponent","ItemDetailIPComponent","routes","component","canActivate","HomeRoutingModule","_3","forChild","imports","exports","CommonModule","ActionItemsComponent","SharedModule","VendorCollectionComponent","SliderComponent","PipesModule","RelatedProductComponent","StockInventoryComponent","SupportComponent","NgxSpinnerModule","NgOtpInputModule","GoogleMapsModule","DialogModule","AllxsModule","FormsModule","ReactiveFormsModule","HttpClientJsonpModule","HttpClientModule","NgbModule","ProductItemComponent","ProductTimeSlotComponent","HomeModule","declarations","NgForOf","NgIf","ɵNgNoValidate","DefaultValueAccessor","NgControlStatus","NgControlStatusGroup","NgModel","NgForm","NgbNavContent","NgbNav","NgbNavItem","NgbNavItemRole","NgbNavLink","NgbNavLinkBase","NgbNavOutlet","CarouselComponent","CarouselSlideDirective","LazyLoadImageDirective","MainHeaderComponent","MainFooterComponent","BreadcrumbComponent","CategoriesComponent","SocialComponent","SizeModalComponent","i12","ItemBoxVerticalSliderComponent","CurrencyPipe","i13","DiscountPipe","i14","CurencyPipe","slider_r3","MainLandingComponent_3_ng_template_0_Template","product_r11","MainLandingComponent_section_24_li_6_ng_template_1_ng_container_1_Template","MainLandingComponent_section_24_li_6_ng_template_1_Template","collection_r8","MainLandingComponent_section_24_Template_ul_activeIdChange_4_listener","active","MainLandingComponent_section_24_li_6_Template","logos","featuredProductList","featuredProduct","MainLandingComponent_Template","MainLandingComponent_3_Template","MainLandingComponent_div_23_Template","MainLandingComponent_section_24_Template","SupportComponent_Template","ProductCategorySlider","sliders","product_r8","VendorComponent_div_13_ng_container_2_ng_template_1_Template","VendorComponent_div_13_ng_container_2_Template","vendorFeaturedProducts","event_r12","VendorComponent_div_14_ng_container_2_ng_template_1_Template","VendorComponent_div_14_ng_container_2_Template","VendorComponent_ng_container_25_ng_template_1_Template_a_click_1_listener","category_r15","filterCategory","VendorComponent_ng_container_25_ng_template_1_Template_a_click_5_listener","filterBy","VendorComponent_ng_container_25_ng_template_1_Template","product_r23","vendorCategories","VendorSliderDetails","subTitle","VendorBannerDetails","save","collections","vendorThemeLogo","productCatalogue","vendorProducts","filteredBannersWithType","advertBanners","parallexImage","CategorySliderConfig","selectedVendor$","vendorImages","featuredImage","vendorSliderDetails","createProduct","vendorType","category","categoryId","vendorProduct","vendorCategory","existingCategory","params","filteredCatalogue","filterProductCatalogue","getPager","startIndex","endIndex","isActive","findCategoryIdByName","foundCategory","filterByCategory","VendorComponent_Template","VendorComponent_section_1_Template","VendorComponent_h2_3_Template","VendorComponent_h2_4_Template","VendorComponent_div_13_Template","VendorComponent_div_14_Template","VendorComponent_ng_container_25_Template","VendorComponent_div_35_Template","VendorComponent_Template_app_pagination_setPage_36_listener","PreOrderState","ɵɵpropertyInterpolate1","i_r6","banner_r5","ActionItemsComponent_div_0_div_1_Template","ActionItemsComponent_div_1_div_12_Template_a_click_1_listener","_r12","onPayCollect","itemsInCart","ActionItemsComponent_div_1_div_13_div_12_Template","_c4","ActionItemsComponent_div_1_div_12_Template","ActionItemsComponent_div_1_div_13_Template","ActionItemsComponent_div_1_div_14_Template","ActionItemsComponent_div_1_div_15_Template","preOrders","_c6","_c7","itemDetailDisplay","myAngularxQrCode","countDown","timeLeft","mode","accountOTPDialogWidth","accountOTPDialogVisible","hideOTPDialog","accountOTPDialog","buttons","buttonModel","content","generateForm","selectedOrder$","preOrder","selectedPreOrderCart$","preorderMenuModels","getCounts","count","days","forUser","cart","totalItemCount","iframeForm","bypassSecurityTrustHtml","otpDialogClose","cancelPay","showPay","QRCode","myPay","security","getTempToken","countdownTimer","countdownSubscription","source","pad","num","size","minutes","ActionItemsComponent_Query","ActionItemsComponent_div_0_Template","ActionItemsComponent_div_1_Template","ActionItemsComponent_div_2_Template","display","selectPreOrder","selectPreOrderCart","selectPreOrderMenuOrder","CategorySlider","ProductDetailsMainSlider","ProductDetailsThumbSlider","GoogleMap","MapInfoWindow","image_r8","alt","EventsItemDetailComponent_ng_container_9_ng_template_1_Template","EventsItemDetailComponent_google_map_47_map_marker_4_Template_map_marker_mapClick_0_listener","marker_r14","_r15","openInfo","position","label","options","EventsItemDetailComponent_google_map_47_map_marker_4_Template","zoom","center","infoContent","markers","EventsItemDetailComponent_div_50_Template_button_click_18_listener","addToWishlist","formatDate","ɵɵsanitizeHtml","CalendarRange","httpClient","counter","activeSlide","mobileSidebar","dateRange","calendarRangeList","soldOut","ProductDetailsMainSliderConfig","ProductDetailsThumbConfig","markerOptions","draggable","mapOk","selectedTickets","stylez","featureType","elementType","stylers","saturation","mapTypeId","zoomControl","scrollwheel","disableDoubleClickZoom","maxZoom","minZoom","lat","lng","markerHome","eventDates","getUniqueAndSortedDates","calendarRange","initGoogleMaps","uniqueDatesSet","Set","uniqueAndSortedDates","from","onTicketSelected","setTicketTotal","ticketTotal","move","moveMap","markerElem","markerinfo","groupByBrand","groupedMap","Map","allObjects","has","set","generateDateRange","end","setDate","getDate","formatDateTimeRange","formattedStartDate","formattedEndDate","formatTimeRange","Color","variants","uniqColor","color","Size","uniqSize","selectSize","selectedSize","increment","decrement","_ref","status","_x","apply","arguments","buyNow","toggleMobileSidebar","HttpClient","EventsItemDetailComponent_Query","EventsItemDetailComponent_ng_container_9_Template","EventsItemDetailComponent_Template_app_event_item_box_vertical_slider_ticketSelected_35_listener","EventsItemDetailComponent_Template_app_event_item_box_vertical_slider_ticketTotals_35_listener","EventsItemDetailComponent_Template_a_click_43_listener","EventsItemDetailComponent_google_map_47_Template","EventsItemDetailComponent_div_50_Template","EventsItemDetailComponent_div_51_Template","EventsItemDetailComponent_div_52_Template","EventsItemDetailComponent_Template_ul_activeIdChange_56_listener","EventsItemDetailComponent_ng_template_61_Template","onAddToCart","onRemoveFromCart","inputs","ProductItemComponent_Template","ProductItemComponent_h5_2_Template","ProductItemComponent_Template_button_click_10_listener","ProductItemComponent_Template_button_click_14_listener","isInventoryControlled","quantityOnHand","ProductTimeSlotComponent_li_3_Template_div_click_1_listener","item_r2","onSelectDateSlot","selectedDateSlot","ProductTimeSlotComponent_li_6_Template_div_click_1_listener","item_r5","onSelectTimeSlot","held","sold","available","selected","lock","onTimeSlotSelected","timeslots","_timeSlots","dateSlots","systemSelectedTimeSlot","selectedtimeslot","ProductTimeSlotComponent_Template","ProductTimeSlotComponent_li_3_Template","ProductTimeSlotComponent_li_6_Template","GetProductInventoryAction","HoldInventoryAction","ReleaseInventoryAction","ProductState","image_r11","ItemDetailIPComponent_ng_container_28_ng_template_1_Template","i_r12","ItemDetailIPComponent_div_29_ng_container_3_ng_template_1_Template_img_click_1_listener","_r20","i_r17","_r0","to","image_r16","ItemDetailIPComponent_div_29_ng_container_3_ng_template_1_Template","ItemDetailIPComponent_div_29_ng_container_3_Template","ItemDetailIPComponent_div_36_Template_button_click_6_listener","_r24","decrementPrice","ItemDetailIPComponent_div_36_Template_input_ngModelChange_8_listener","productPrice","ItemDetailIPComponent_div_36_Template_button_click_10_listener","ctx_r26","incrementPrice","ItemDetailIPComponent_div_39_app_product_item_1_Template_app_product_item_onAddToCart_0_listener","_r30","ctx_r29","ItemDetailIPComponent_div_39_app_product_item_1_Template_app_product_item_onRemoveFromCart_0_listener","product_r28","ItemDetailIPComponent_div_39_app_product_item_1_Template","ItemDetailIPComponent_div_39_Template_a_click_3_listener","_r33","ctx_r32","variantProducts","meetsRequirements","ItemDetailIPComponent_div_44_div_1_div_4_input_2_Template_input_change_0_listener","_r43","includedItem_r37","onRadioChange","categoryName_r35","selectedRadios","ItemDetailIPComponent_div_44_div_1_div_4_input_3_Template_input_change_0_listener","ctx_r46","onCheckboxChange","ItemDetailIPComponent_div_44_div_1_div_4_input_2_Template","ItemDetailIPComponent_div_44_div_1_div_4_input_3_Template","ItemDetailIPComponent_div_44_div_1_div_4_span_6_Template","categoryOptionCount","valueVisible","ItemDetailIPComponent_div_44_div_1_div_4_Template","getProductItemsForCategory","ItemDetailIPComponent_div_44_div_1_Template","getUniqueCategoryNames","_vendorService","simpleProduct","moreProducts","productList","includedItems","selectedIncludes","requiredSelected","selectedCheckboxValues","selectedCategoryCounts","allCategories","receivedProduct","receivedCategories","categories","categoryItems","originalPrice","productInventory$","productData","pr","isDuplicateRadioSelection","includedItem","selectedRadioId","uniqueNames","productIncludesUpdated","ignoreCategory","categoryExists","selectedItem","isDuplicateInCategory","addSelectedInclude","selectedInclude","updatePrice","validateCategorySelections","maxCount","Infinity","currentCount","removePriceAndSelectedInclude","isNaN","removePrice","indexToRemove","findIndex","splice","max","categoriesWithRadio","allCategoriesSelected","every","hasOwnProperty","clear","success","productIndex","selectedProduct","calculateTotal","releaseTimeSlotInventory","VendorService","ItemDetailIPComponent_Template","ItemDetailIPComponent_Template_div_click_9_listener","ItemDetailIPComponent_Template_span_click_22_listener","ItemDetailIPComponent_ng_container_28_Template","ItemDetailIPComponent_div_29_Template","ItemDetailIPComponent_h3_34_Template","ItemDetailIPComponent_div_36_Template","ItemDetailIPComponent_Template_app_product_timeslots_onTimeSlotSelected_38_listener","ItemDetailIPComponent_div_39_Template","ItemDetailIPComponent_div_44_Template","ItemDetailIPComponent_Template_button_click_51_listener","ItemDetailIPComponent_Template_ul_activeIdChange_58_listener","ItemDetailIPComponent_ng_template_63_Template","ItemDetailIPComponent_ng_template_67_Template","userDefinedPrice","stock","selectedProductInventory","CartItemModel","WebOrderItemDetailModel","Dictionary","image_r12","ItemDetailComponent_ng_container_28_ng_template_1_Template","i_r13","ItemDetailComponent_div_29_ng_container_3_ng_template_1_Template_img_click_1_listener","_r21","i_r18","image_r17","ItemDetailComponent_div_29_ng_container_3_ng_template_1_Template","ItemDetailComponent_div_29_ng_container_3_Template","ItemDetailComponent_div_36_Template_button_click_6_listener","_r25","ItemDetailComponent_div_36_Template_input_ngModelChange_8_listener","ItemDetailComponent_div_36_Template_button_click_10_listener","ItemDetailComponent_div_38_h5_2_Template","ItemDetailComponent_div_38_Template_button_click_8_listener","ItemDetailComponent_div_38_Template_button_click_12_listener","ItemDetailComponent_div_38_Template_a_click_15_listener","ItemDetailComponent_div_43_div_1_div_4_input_2_Template_input_change_0_listener","includedItem_r36","categoryName_r34","ItemDetailComponent_div_43_div_1_div_4_input_3_Template_input_change_0_listener","_r47","ctx_r45","ItemDetailComponent_div_43_div_1_div_4_input_2_Template","ItemDetailComponent_div_43_div_1_div_4_input_3_Template","ItemDetailComponent_div_43_div_1_div_4_span_6_Template","ItemDetailComponent_div_43_div_1_div_4_Template","ItemDetailComponent_div_43_div_1_Template","ItemDetailComponent_div_44_div_4_Template_button_click_3_listener","_r54","ItemDetailComponent_div_44_div_4_Template_button_click_7_listener","ctx_r52","ItemDetailComponent_div_44_h5_2_Template","ItemDetailComponent_div_44_h6_3_Template","ItemDetailComponent_div_44_div_4_Template","ItemDetailComponent_div_44_Template_a_click_6_listener","_r57","extrasPrice","optionsPrice","includedItemOptions","itemCategory","option","option1","productBasePrice","valueType","test1","values","salesCatInc","salesitem","includedQuantity","includeType","ItemDetailComponent_Template","ItemDetailComponent_Template_div_click_9_listener","ItemDetailComponent_Template_span_click_22_listener","ItemDetailComponent_ng_container_28_Template","ItemDetailComponent_div_29_Template","ItemDetailComponent_h3_34_Template","ItemDetailComponent_div_36_Template","ItemDetailComponent_div_38_Template","ItemDetailComponent_div_43_Template","ItemDetailComponent_div_44_Template","ItemDetailComponent_Template_button_click_51_listener","ItemDetailComponent_Template_ul_activeIdChange_58_listener","ItemDetailComponent_ng_template_63_Template","ItemDetailComponent_ng_template_67_Template","IncludesModel","getProducts","RelatedProductComponent_Template","RelatedProductComponent_div_7_Template","slider_r1","SliderComponent_ng_container_1_ng_template_1_Template","class","textClass","buttonText","buttonClass","SliderComponent_Template","SliderComponent_ng_container_1_Template","StockInventoryComponent_Template","StockInventoryComponent_div_0_Template","CollectionSlider","SelectVendorAction","VendorCollectionComponent_ng_container_1_ng_template_1_Template_a_click_7_listener","vendor_r1","exploreVendor","VendorCollectionComponent_ng_container_1_ng_template_1_Template","CollectionSliderConfig","vendorCollection","VendorCollectionComponent_Template","VendorCollectionComponent_ng_container_1_Template","init","_keys","_values","containsKey","getValue","isNullOrUndefined","clearTemplate","registerEvents","refRegex","ComplexBase","hasChanges","propCollection","dataSource","tags","tagObjects","prototype","registeredTemplate","_i","_a","tag","objInstance","instance","templateProperties","tempProp","elementRef","nativeElement","_b","templateProperties_1","tempName","propName","propList","directivePropList","dirPropName","isInitChanges","ngOnChanges","changes","changedVal","currentValue","isUpdated","templateNames","getProperties","tagObject","isChanged","property","tempProps","props","d","propVal","ngAfterContentChecked","templateProperties_2","ngAfterViewChecked","ngAfterViewInit","ArrayBase","propertyName","list","ngAfterContentInit","children","child","dirIndex","onlyProp","isSourceChanged","childrenDataSource","hasNewChildren","RegExp","isUndefined","createElement","SVG_REG","ComponentBase","isProtectedOnChange","isFormInit","saveChanges","newValue","oldValue","oldProperties","changedProperties","finalUpdate","changeTime","dataBind","clearUpdate","clearTimeout","isTempRef","tempOnThis","ngBoundedEvents","isAngular","complexTemplate","ngAttr","getAngularAttr","element","tagName","prop","ele","srenderer","innerHTML","className","styles","setAttribute","attrs","complexTemplates","compProp","viewContainerRef","complexTemplates_1","setProperties","ngAr","tempAfterViewThis","regExp","ngEle","outerHTML","style","visibility","ngtempRef","getModuleName","appendToComponent","appendTo","tempOnDestroyThis","contains","destroy","_c","propKey","propValue","parent","parentObj","tempAfterContentThis","propObj","complexDirProps","compDirPropList","h","obj","complexPropName","_loop_1","childObj","innerchildObj","updateChildTag_1","innerchild","innerLevelTag","j","innerTag","innerchildTag","curIndex","curChild","properties","_d","complexTemplates_2","twoWaySetter","newVal","oldVal","addTwoWay","_loop_2","this_1","defineProperty","propList_1","addEventListener","handler","eventObj","removeEventListener","trigger","eventArgs","prevDetection","localEventObj","charAt","call","preventChange","isPreventChange","isObject","FormBase","propagateChange","propagateTouch","localChange","objCheck","angularValue","duplicateValue","duplicateAngularValue","optionalValue","registerOnChange","registerFunction","registerOnTouched","tempFormAfterViewThis","ngOnFocus","ngOnBlur","setDisabledState","disabled","enabled","writeValue","skipFromEvent","blur","isFormBase","setTemplateEngine","getTemplateEngine","stringCompiler","compile","templateEle","helper","CSPTemplate","contRef_1","_viewContainerRef","pName_1","context","conRef","viewRef","createEmbeddedView","viewCollection","rootNodes","Template","defaultValue","propertyDescriptor","setter","getter","enumerable","configurable","applyMixins","derivedClass","baseClass","getOwnPropertyNames","ComponentMixins","direct","ngEventsEmitter","eventList_1","event_1","regTemplates","regProperties","tabTemp","m","rt","destroyed","_view","pNode","renderer","parentNode","appendChild","_e","nameSpace","object","fromObj","Animation","ChildProperty","Collection","Complex","Component","Event","EventHandler","KeyboardEvents","NotifyPropertyChanges","Observer","Property","SanitizeHtmlHelper","addClass","closest","deleteObject","detach","extend","formatUnit","getInstance","getUniqueID","isBlazor","isRippleEnabled","removeClass","rippleEffect","selectAll","wrapperInitialize","WRAPPER","role","input","ejInstance","len","nodeName","nodeValue","getTextNode","node","childnode","childNodes","nodeType","ejInst","wrapper","insertBefore","removeAttribute","preRender","proxy","moduleName","getAttribute","createCheckBox","enableRipple","cssClass","enableRtl","rippleSpan","isCenterRipple","frameSpan","labelSpan","disableHtmlEncode","textContent","rippleMouseHandler","createEvent","initEvent","dispatchEvent","setHiddenInput","wrap","__extends","extendStatics","setPrototypeOf","__proto__","__","create","decorators","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","IconPosition","buttonObserver","cssClassName","RTL","BUTTON","PRIMARY","ICONBTN","Button","_super","render","initialize","removeRippleEffect","selector","renderComplete","isPrimary","tempContent","enableHtmlSanitizer","sanitize","setIconCss","controlStatus","wireEvents","iconCss","span","iconPosition","isToggle","btnClickHandler","unWireEvents","querySelector","getPersistData","addOnPersist","Inject","onPropertyChanged","newProp","oldProp","isServerRendered","click","focusIn","__extends$1","__decorate$1","CHECK","DISABLED","FRAME","INDETERMINATE","LABEL","RIPPLE","RIPPLECHECK","RIPPLEINDETERMINATE","containerAttr","CheckBox","isFocused","isMouseClick","clickTriggered","validCheck","changeState","isInitialize","getWrapper","getElementsByClassName","indeterminate","clickHandler","isVue","focusOutHandler","changeEventArgs","updateVueArrayModel","stopPropagation","focusHandler","parentElement","initialCheckedValue","setDisabled","initWrapper","for","labelPosition","setText","keyUpHandler","labelMouseDownHandler","labelMouseUpHandler","rippleElem","querySelectorAll","removeChild","labelWrap","getElementsByTagName","updateHtmlAttributeToWrapper","changeHandler","formResetHandler","formElem","htmlAttributes","__extends$2","__decorate$2","LABEL$1","RIPPLE$1","RTL$1","WRAPPER$1","ATTRIBUTES","RadioButton","RadioButton_1","updateChange","radioGrp","getRadioGroup","radioWrap","getLabel","getSelectedValue","nextElementSibling","updateHtmlAttribute","labelMouseLeaveHandler","formElement","formControlName","textLabel","rippleLabel","__extends$3","__decorate$3","DISABLED$1","RIPPLE$2","RIPPLE_CHECK","RTL$2","WRAPPER$2","ACTIVE","ATTRIBUTES$1","Switch","isDrag","isWireEvents","bar","handle","evt","initialSwitchCheckedValue","onLabel","offLabel","setLabel","switchInner","rippleHandler","currentTarget","which","rippleTouchHandler","onText","offText","switchFocusHandler","switchMouseUp","delegateMouseUpHandler","delegateKeyUpHandler","__extends$4","__decorate$4","classNames","chipSet","chip","avatar","delete","deleteIcon","multiSelection","singleSelection","chipWrapper","iconWrapper","focused","rtl","ChipList","multiSelectedChip","chipType","chips","innerText","setAttributes","createChip","setRtl","selectedChips","wireEvent","rippleFunction","chipCreation","tabIndex","selection","chipListArray","attributeArray","fieldsData","getFieldValues","attributesValue","chipArray","elementCreation","avatarIconCss","avatarText","leadingIconCss","css","join","htmlAttr","chipEnabled","fields","trailingIconCss","leadingIconUrl","trailingIconUrl","chipAvatarElement","chipIconElement","chipTextElement","enableDelete","chipdeleteElement","chipIconsElement","chipData","chipElement","HTMLElement","chipsData","fieldData","selectionType","onSelect","callFromProperty","chipNodes","chipValue","chipElements","dataset","selectionHandler","chipElements_1","chipCollection_1","deleteHandler","getSelectedChips","selectedItems","texts","Indexes","elements","unWireEvent","keyHandler","keyCode","focusInHandler","focusedElement","del","chipDataArgs","cancel","observedArgs","clickEventHandler","chipData_1","deleteElement","deletedItemArgs","selectedItemArgs","clickedItemArgs","activeElement","updateSelectedChips","chipListEle","chipCollIndex","chipCollValue","selectedEle","deletedChipData","removeMultipleAttributes","attributes$$1","refresh","Chip","__extends$5","__decorate$5","FABHIDDEN","FIXEDFAB","FABVERTDIST","FABHORZDIST","FABTOP","FABBOTTOM","FABRIGHT","FABLEFT","FABMIDDLE","FABCENTER","FabPosition","Fab","initializeFab","checkTarget","setPosition","setVisibility","resizeHandler","isFixed","targetEle","visible","setVerticalPosition","setHorizontalPosition","yoffset","innerHeight","clientHeight","offsetHeight","setProperty","xoffset","innerWidth","clientWidth","offsetWidth","isRight","clearPosition","removeProperty","clearHorizontalPosition","refreshPosition","__extends$6","__decorate$6","topPosition","bottomPosition","leftPosition","rightPosition","SDHIDDEN","FIXEDSD","SPEEDDIAL","RTLCLASS","HOVERSD","RADIALSD","LINEARSD","TEMPLATESD","SDTEMPLATECONTAINER","SDOVERLAY","SDPOPUP","SDUL","SDLI","SDACTIVELI","SDLIICON","SDLITEXT","SDLITEXTONLY","DISABLED$2","SDVERTICALBOTTOM","SDVERTICALRIGHT","SDHORIZONTALTOP","SDHORIZONTALLEFT","SDHORIZONTALRIGHT","SDOVERFLOW","SDVERTOVERFLOW","SDHORZOVERFLOW","SDTOP","SDBOTTOM","SDRIGHT","SDLEFT","SDMIDDLE","SDCENTER","SDTOPLEFT","SDBOTTOMRIGHT","SDTOPRIGHT","SDBOTTOMLEFT","SDVERTDIST","SDHORZDIST","SDRADICALANGLE","SDRADICALOFFSET","SDRADICALMINHEIGHT","SDRADICALMINWIDTH","SDOVERFLOWLIMIT","SpeedDialMode","LinearDirection","RadialDirection","SpeedDialAnimationEffect","SpeedDialAnimationSettings","RadialSettings","SpeedDialItem","SpeedDial","isMenuOpen","isClock","isVertical","isControl","focusedIndex","keyConfigs","space","enter","home","moveDown","moveLeft","moveRight","moveUp","esc","validateDirection","fab","enablePersistence","openIconCss","popupTemplate","createPopup","bodyClickHandler","opensOnHover","wireFabHover","wireFabClick","wirePopupEvents","popupEle","keyboardModule","keyAction","keyActionHandler","popupKeyboardModule","popupKeyActionHandler","popupClick","popupMouseLeaveHandle","fabClick","mouseOverHandle","mouseLeaveHandle","insertAdjacentElement","setPopupContent","modal","createOverlay","setPositionProps","overlayEle","hidePopupEle","showPopupEle","createUl","createItems","appendTemplate","renderReactTemplates","templateContainer","templateFunction","getTemplateString","isStringTemplate","stringContent","tempEle","updatePopupTemplate","clearItems","firstElementChild","updatePositionProperties","popupUlEle","ul","li","itemTemplate","iconSpan","textSpan","triggerItemClick","args","setRTL","setLinearHorizontalPosition","relatedTarget","action","focusLastElement","focusFirstElement","focusLeftRightElement","focusLinearElement","focusUpDownElement","setFocus","isLeftUp","isReversed","focusPrevElement","focusNextElement","isLeft","isradialTop","isUp","isradialRight","removeFocus","preEle","setRadialPosition","setLinearPosition","setMaxSize","direction","actualLinDirection","offsetTop","offsetLeft","bottom","right","limit","vertDist","isTop","setRight","setLeft","horzDist","setRadialCorner","range","getActualRange","offset","availableAngle","abs","endAngle","startAngle","gaps","perAngle","angle","radialSettings","isClockwise","checkAngleRange","switchVal","check0","checkAngle","isStart","clearOverflow","animation","effect","closeAnimation_1","timingFunction","eleArray_1","timeOutInterval_1","animateElement_1","delay","begin","startHide","endHide","animate","index_1","toggleOverlay","openAnimation_1","eleArray_2","timeOutInterval_2","animateElement_2","startShow","endShow","index_2","closeIconCss","removeOverlayEle","updatePopupItems","handleResize","liList","unwireEvents","unwireFabHover","unwireFabClick","unwirePopupEvents","fabProplist","fabModel","Browser","Draggable","L10n","Touch","prepend","setStyleAttribute","elementRect","popupRect","parentDocument","fixedParent","calculateRelativeBasedPosition","anchor","fixedElement","anchorPos","tempAnchor","offsetParent","scrollLeft","scrollTop","calculatePosition","currentElement","positionX","positionY","targetValues","ownerDocument","pos","updatePosition","setPosx","setPosy","posX","posY","getBoundingClientRect","getElementHCenter","getElementTop","getElementRight","getElementVCenter","getElementLeft","getElementBottom","getBodyScrollTop","documentElement","getBodyScrollLeft","height","popupWidth","width","parentDocument$1","targetContainer","fit","viewPortElement","axis","X","Y","elemData","zoomingFactor","parentWithZoomStyle","parseFloat","getComputedStyle","containerWidth","getTargetContainerWidth","getViewPortWidth","containerLeft","ContainerLeft","containerRight","ContainerRight","overLeft","overRight","containerHeight","getTargetContainerHeight","getViewPortHeight","containerTop","ContainerTop","containerBottom","ContainerBottom","overTop","overBottom","isCollide","elemOffset","yAxis","topCollideCheck","xAxis","leftCollideCheck","topSide","rightSide","leftSide","bottomSide","flip","offsetX","offsetY","tEdge","TL","TR","BL","BR","eEdge","oldVisibility","updateElementData","leftFlip","topFlip","setPopup","scaleX","scaleY","transformStyle","matrix","DOMMatrix","edge","eStatus","getBodyScrollLeft$1","deepCheck","collideSide","getBodyScrollTop$1","getTargetContainerLeft","getTargetContainerTop","windowWidth","documentReact","PositionData","CLASSNAMES","ROOT","OPEN","CLOSE","Popup","zIndex","setEnableRtl","setContent","actionOnScroll","wireScrollEvents","unwireScrollEvents","resolveCollision","checkCollision","relateTo","isDevice","orientationOnChange","getRelateToElement","getScrollableParent","parent_1","scrollRefresh","parent_2","relateToElement","targetVisible","isElementOnViewport","targetInvisibleStatus","scrollElement","scrollParents","parent_3","isElementVisible","rect","checkGetBoundingClientRect","parent_4","win","windowView","scrollY","scrollX","outerWidth","outerHeight","off","elementView","reposition","relateToElem","collision","checkFixedParent","parentDisplay","getAnchorPosition","eleRect","anchorEle","anchorRect","targetType","callFlip","param","callFit","viewPortRect","horz","vert","animationOptions","relativeElement","fmDialogContainer","isIos","zIndexElement","getZindexPartial","showAnimation","isDestroyed","hideAnimation","parentStyle","overflow","eleStyle","overflowRegex","overflowY","overflowX","parentZindex","defaultView","getPropertyValue","childrenZindex","isEqualNode","siblingsZindex","finalValue","currentZindexValue","getMaxZindex","maxZindex","i_1","elementClass","RESIZE_HANDLER","FOCUSED_HANDLER","DIALOG_RESIZABLE","RESTRICT_LEFT","RESIZE_WITHIN_VIEWPORT","dialogBorderResize","targetElement","selectedHandler","originalWidth","originalHeight","originalX","originalY","originalMouseX","originalMouseY","minHeight","maxHeight","minWidth","maxWidth","containerElement","resizeStart","resize","resizeEnd","resizeWestWidth","previousWidth","setWidth","createResize","resizeBegin","resizing","resizeComplete","getDOMElement","boundary","directions","setBorderResizeElm","calculateValues","borderBottom","domElement","resizers","onMouseDown","onTouchStart","borderResizers","getEventType","pageX","pageY","onMouseMove","onMouseUp","touchMoveEvent","touchEndEvent","dialogResizeElement","coordinates","touches","changedTouches","resizeTowards","resizeSouth","resizeNorth","resizeWest","resizeEast","getClientRectValues","documentHeight","calculateValue","currentpageY","targetRectValues","containerRectValues","calculatedHeight","borderValue","topWithoutborder","targetTop","calculatedTop","boundaryRectValues","currentHeight","top_1","documentWidth","rectValues","calculatedWidth","left_1","setMinHeight","minimumHeight","setMaxWidth","setMaxHeight","removeResize","handlers","ButtonProps","AnimationSettings","DLG_HEADER_CONTENT","DLG_HEADER","DLG_FOOTER_CONTENT","MODAL_DLG","DLG_CONTENT","DLG_CLOSE_ICON","DLG_OVERLAY","DLG_TARGET","DLG_CONTAINER","SCROLL_DISABLED","DLG_PRIMARY_BUTTON","ICON","POPUP_ROOT","DEVICE","FULLSCREEN","DLG_CLOSE_ICON_BTN","DLG_HIDE","DLG_SHOW","DLG_UTIL_DEFAULT_TITLE","DLG_UTIL_ROOT","DLG_UTIL_ALERT","DLG_UTIL_CONFIRM","DLG_RESIZABLE","DLG_RESTRICT_LEFT_VALUE","DLG_RESTRICT_WIDTH_VALUE","DLG_REF_ELEMENT","DLG_USER_ACTION_CLOSED","DLG_CLOSE_ICON_CLOSED","DLG_ESCAPE_CLOSED","DLG_OVERLAYCLICK_CLOSED","DLG_DRAG","Dialog","needsID","initRender","enableResize","setResize","animationSettings","getMinHeight","initializeValue","dlgClosedBy","headerContent","allowMaxHeight","preventVisibility","clonedEle","cloneNode","closeIconClickEventHandler","dlgOverlayClickEventHandler","preventFocus","overlayClickEventArgs","focusContent","localeText","l10n","locale","checkPositionData","prevOnChange","updatePersistData","dragObj","isNumberValue","isNumber","getEle","computedHeaderHeight","computedFooterHeight","footerEle","headerHeight","footerHeight","onResizeStart","dialogObj","onResizing","onResizeComplete","isBlazorServerRender","computedHeight","computedWidth","resizeHandles","directionValue","isModal","wireWindowResizeEvent","unWireWindowResizeEvent","getFocusElement","keyDown","buttonObj","btnObj","ftrTemplateContent","contentEle","shiftKey","focusableElements","isTagName","isContentEdit","hasAttribute","closeOnEscape","query","ctrlKey","primaryButtonEle","buttonIndex_1","firstPrimary","setCSSClass","initialRender","setzIndex","calculatezIndex","setTargetContent","header","setHeader","renderCloseIcon","footerTemplate","setFooterTemplate","setButton","allowDragging","setAllowDragging","setIsModal","dlgContainer","dlgOverlay","parentEle","refElement","popupObj","open","container","resetResizeIcon","openEventArgs","unBindEvent","closeArgs","activeEle","storeActiveElement","positionChange","setEnableRTL","setOverlayZindex","dialogConHeight","resizeIcon","zIndexValue","setPopupPosition","handleContent","clone","isDragScroll","abort","dragStart","dragEventArgs","bindEvents","dragElement","dragStop","drag","dragArea","buttonContent","buttonType","btn","footerBtn","buttonClickHandler","isFlat","innerContentElement","setTemplate","isIE","toElement","templateFn","templateProps","templateValue","sanitizeHelper","fromElements","isString","dialogItem","beforeSanitize","beforeEvent","serializeValue","isContent","createDocumentFragment","headerEle","createHeaderContent","showCloseIcon","closeIcon","closeIconBtnObj","closeIconTitle","setLocale","getConstant","oldCSSClass","getValidFocusNode","u","disableElement","getAutoFocusNode","validNode","t","elementMatch","matches","webkitMatchesSelector","msGetRegionContent","Element","bindEvent","updateSanitizeContent","insertAdjacentHTML","updateIsModal","buttonCount","setTarget","firstChild","setPopupZindex","currentzIndex","windowResizeHandler","classArray","isReact","getDimension","dialogWidth","dialogHeight","isFullScreen","fullScreen","eventArgs_1","beforeOpenArgs","openAnimation","dialogOpen","isInteracted","closedBy","beforeCloseArgs","closeAnimation","scrollingElement","getButtons","DialogUtility","alert","dialogElement","alertDialogObj","okButtonModel","createDialog","alertOptions","confirm","confirmDialogObj","okCancelButtonModel","confirmOptions","dialogObject","formOptions","setAlertButtonModel","setConfirmButtonModel","isDraggable","alertButtonModel","okButton","formButtonModel","cancelButtonModel","cancelButton","buttonPropModel","buttonProps","TOUCHEND_HIDE_DELAY","TAPHOLD_THRESHOLD","SHOW_POINTER_TIP_GAP","HIDE_POINTER_TIP_GAP","MOUSE_TRAIL_GAP","POINTER_ADJUST","ROOT$1","DEVICE$1","ICON$1","TOOLTIP_WRAP","CONTENT","ARROW_TIP","ARROW_TIP_OUTER","ARROW_TIP_INNER","TIP_BOTTOM","TIP_TOP","TIP_LEFT","TIP_RIGHT","POPUP_ROOT$1","POPUP_OPEN","POPUP_CLOSE","POPUP_LIB","HIDE_POPUP","POPUP_CONTAINER","Animation$1","Animation$$1","Tooltip","mouseMoveEvent","mouseMoveTarget","isBodyContainer","formatPosition","tooltipPositionY","tooltipPositionX","renderArrow","setTipClass","tip","tipClass","tooltipEle","renderPopup","elePos","mouseTrail","getTooltipPosition","openPopupHandler","closePopupHandler","getScalingFactor","xScalingFactor","round","yScalingFactor","isFinite","scalingFactors","offsetPos","calculateTooltipOffset","collisionPosition","calculateElementPosition","collisionLeft","collisionTop","collisionFlipFit","windowResize","findTarget","needTemplateReposition","tooltipEventArgs","opensOn","tipWidth","tipHeight","tooltipEleWidth","tooltipEleHeight","arrowEle","tipAdjust","tipHeightAdjust","tipWidthAdjust","tooltipEleRect","arrowEleRect","showTipPointer","updateTipPosition","selEle","removeList","adjustArrow","leftValue","topValue","tooltipWidth","tooltipHeight","arrowInnerELe","tipPosExclude","tipPointerPosition","renderContent","tooltipContent","tempFunction","tempArr","enableHtmlParse","nodeList","isSticky","tipClose","touchStartEvent","onStickyClose","addDataTooltipId","removeDataTooltipId","tapHoldHandler","autoCloseTimer","targetHover","originalEvent","touchEndHandler","targetClick","hideTooltip","closeDelay","targetList","ctrlId","targetList_1","target_1","restoreElement","showTooltip","mouseMoveBeforeOpen","mouseMoveBeforeRemove","showTimer","hideTimer","openDelay","observeCallback","beforeRenderArgs","beforeRenderCallback","isHidden","tooltipBeforeRender","tooltipAfterRender","stop","appendContainer","ctrlObj","beforeOpenCallback","wireMouseEvents","tooltip","horizontal","vertical","affectedPos","checkCollideTarget","pageXOffset","pageYOffset","newpos","collidedPosition","elePosVertical","elePosHorizontal","getOffSetPosition","elePosition","eleOffset","windowCollision","arrowleft","positionString","newPos","offsetType","isTooltipOpen","tooltipHide","popupHide","unwireMouseEvents","tooltipHover","tooltipMouseOut","onMouseOut","enteredElement","checkForTooltipElement","tooltipElementMouseOut","eventPageX","eventPageY","colpos","targetsList","touchEnd","scrollHandler","triggerList","getTriggerList","triggerList_1","wireFocusEvents","touchModule","tapHoldThreshold","tapHold","targetList_2","triggerList_2","unwireFocusEvents","targetList_3","triggerList_3","currentTarget_1","globalTimeOut","DEFT_MAT_WIDTH","DEFT_MAT3_WIDTH","DEFT_FAB_WIDTH","DEFT_FLUENT_WIDTH","DEFT_BOOT_WIDTH","DEFT_BOOT4_WIDTH","DEFT_BOOT5_WIDTH","CLS_SHOWSPIN","CLS_HIDESPIN","CLS_MATERIALSPIN","CLS_MATERIAL3SPIN","CLS_FABRICSPIN","CLS_FLUENTSPIN","CLS_TAILWINDSPIN","CLS_BOOTSPIN","CLS_BOOT4SPIN","CLS_BOOT5SPIN","CLS_HIGHCONTRASTSPIN","CLS_SPINWRAP","CLS_SPININWRAP","CLS_SPINCIRCLE","CLS_SPINARC","CLS_SPINLABEL","CLS_SPINTEMPLATE","spinTemplate","spinCSSClass","Spinner","createSpinner","showSpinner","hideSpinner","setArgs","setSpinner","internalCreateElement","radius","makeElement","create_spinner_container","replaceContent","getTheme","calculateRadius","setTheme","createLabel","inner_wrap","labelEle","createMaterialSpinner","uniqueID","random_generator","timeOut","create_material_element","mat_calculate_attributes","createMaterial3Spinner","createBootstrap4Spinner","createBootstrap5Spinner","startMatAnimate","globalObject","timeOutVar","globalVariables","spinnerInfo","globalInfo","animateMaterial","createFabricSpinner","create_fabric_element","fb_calculate_attributes","createFluentSinner","createTailwindSpinner","createHighContrastSpinner","innerContainer","svg","createBootstrapSpinner","create_bootstrap_element","boot_calculate_attributes","svgBoot","createElementNS","viewBoxValue","trans","defaultRadius","bootCircle","rad","startArc","defineArcPoints","circleEle","generateSeries","series","formSeries","animateBootstrap","rotation","circle","boot_animate","isAnimate","inner","defaultSize","previousId","combine","innerCon","themeClass","svgFabric","fabricCirclePath","fabricCircleArc","cls","svgMaterial","matCirclePath","spinnerContainer","spinnerInnerContainer","createCircle","easeAnimation","easing","change","diameter","getSize","strokeSize","getStrokeSize","rotate","mat_animation","currentTime","updatePath","getDashOffset","transformOrigin","drawArc","PI","parsed","current","timestamp","timecount","innerConainer","trgClass","centerX","centerY","endArc","defineCircle","defineArc","radians","cos","sin","showHideSpinner","isHide","spinnerWrap","spinWrapCollection","spinCheck","svgEle","ensureTemplate","makeEle","replaceTheme","svgElement","svgClassList","inject","NgZone","ChangeDetectionStrategy","ViewEncapsulation","Input","Output","Directive","ContentChildren","NgModule","Injectable","isPlatformBrowser","BehaviorSubject","Observable","Subject","combineLatest","switchMap","take","takeUntil","MapEventManager","_clearListeners","listener","_listeners","_ngZone","_pending","_targetStream","getLazyEmitter","observable","observer","addListener","run","complete","subscriber","DEFAULT_OPTIONS","DEFAULT_HEIGHT","DEFAULT_WIDTH","_center","_zoom","_options","_elementRef","_eventManager","mapInitialized","authFailure","boundsChanged","centerChanged","mapClick","mapDblclick","mapDrag","mapDragend","mapDragstart","headingChanged","idle","maptypeidChanged","mapMousemove","mapMouseout","mapMouseover","projectionChanged","mapRightclick","tilesloaded","tiltChanged","zoomChanged","_isBrowser","googleMapsWindow","google","ngDevMode","Error","_existingAuthFailureCallback","gm_authFailure","_setSize","googleMap","setOptions","_combineOptions","setCenter","setZoom","setMapTypeId","_mapEl","runOutsideAngular","maps","fitBounds","bounds","padding","_assertInitialized","panBy","panTo","latLng","panToBounds","latLngBounds","getBounds","getCenter","getClickableIcons","getHeading","getMapTypeId","getProjection","getStreetView","getTilt","getZoom","mapTypes","overlayMapTypes","coerceCssPixelValue","ɵfac","GoogleMap_Factory","ElementRef","ɵcmp","ɵɵdefineComponent","exportAs","features","ɵɵNgOnChangesFeature","ngContentSelectors","GoogleMap_Template","ɵɵprojectionDef","ɵɵprojection","encapsulation","changeDetection","ɵsetClassMetadata","OnPush","None","cssUnitsPattern","MapBaseLayer","_map","_initializeObject","_setMap","_unsetMap","MapBaseLayer_Factory","ɵdir","ɵɵdefineDirective","MapBicyclingLayer","bicyclingLayer","BicyclingLayer","_assertLayerInitialized","setMap","ɵMapBicyclingLayer_BaseFactory","MapBicyclingLayer_Factory","ɵɵgetInheritedFactory","ɵɵInheritDefinitionFeature","MapCircle","_radius","_destroyed","circleClick","circleDblclick","circleDrag","circleDragend","circleDragstart","circleMousedown","circleMousemove","circleMouseout","circleMouseover","circleMouseup","radiusChanged","circleRightclick","Circle","_watchForOptionsChanges","_watchForCenterChanges","_watchForRadiusChanges","getDraggable","getEditable","getRadius","getVisible","combinedOptions","setRadius","MapCircle_Factory","MapDirectionsRenderer","_directions","_googleMap","directionsChanged","directionsRenderer","DirectionsRenderer","setDirections","getDirections","getPanel","getRouteIndex","MapDirectionsRenderer_Factory","MapGroundOverlay","url","_url","_bounds","opacity","_opacity","clickable","groundOverlay","GroundOverlay","_watchForOpacityChanges","_watchForUrlChanges","getOpacity","getUrl","setOpacity","overlay","MapGroundOverlay_Factory","_position","_destroy","closeclick","contentChanged","domready","positionChanged","zindexChanged","combinedOptionsChanges","infoWindow","InfoWindow","_watchForPositionChanges","getContent","getPosition","getZIndex","shouldFocus","anchorObject","getAnchor","MapInfoWindow_Factory","hostAttrs","host","MapKmlLayer","kmlClick","defaultviewportChanged","statusChanged","kmlLayer","KmlLayer","getDefaultViewport","getMetadata","getStatus","setUrl","MapKmlLayer_Factory","DEFAULT_MARKER_OPTIONS","MapMarker","_title","_label","_clickable","_icon","_visible","animationChanged","clickableChanged","cursorChanged","draggableChanged","flatChanged","iconChanged","mapMousedown","mapMouseup","shapeChanged","titleChanged","visibleChanged","marker","Marker","setTitle","setClickable","setIcon","setVisible","getAnimation","getClickable","getCursor","getIcon","getShape","getTitle","MapMarker_Factory","DEFAULT_CLUSTERER_OPTIONS","MapMarkerClusterer","averageCenter","_averageCenter","batchSizeIE","_batchSizeIE","calculator","_calculator","clusterClass","_clusterClass","enableRetinaIcons","_enableRetinaIcons","gridSize","_gridSize","ignoreHidden","_ignoreHidden","imageExtension","_imageExtension","_imagePath","imageSizes","_imageSizes","_maxZoom","minimumClusterSize","_minimumClusterSize","_styles","_zIndex","zoomOnClick","_zoomOnClick","_currentMarkers","ariaLabelFn","clusteringbegin","clusteringend","clusterClick","_canInitialize","MarkerClusterer","markerClusterer","_watchForMarkerChanges","clusterer","setAverageCenter","setBatchSizeIE","setCalculator","setClusterClass","setEnableRetinaIcons","setGridSize","setIgnoreHidden","setImageExtension","setImagePath","setImageSizes","setMaxZoom","setMinimumClusterSize","setStyles","setZIndex","setZoomOnClick","fitMapToMarkers","getAverageCenter","getBatchSizeIE","getCalculator","getClusterClass","getClusters","getEnableRetinaIcons","getGridSize","getIgnoreHidden","getImageExtension","getImagePath","getImageSizes","getMaxZoom","getMinimumClusterSize","getStyles","getTotalClusters","getTotalMarkers","getZoomOnClick","batchSize","initialMarkers","_getInternalMarkers","_markers","toArray","addMarkers","markerComponents","newMarkers","markersToAdd","markersToRemove","removeMarkers","repaint","markerComponent","MapMarkerClusterer_Factory","contentQueries","MapMarkerClusterer_ContentQueries","ɵɵcontentQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","MapMarkerClusterer_Template","descendants","MapPolygon","paths","_paths","polygonClick","polygonDblclick","polygonDrag","polygonDragend","polygonDragstart","polygonMousedown","polygonMousemove","polygonMouseout","polygonMouseover","polygonMouseup","polygonRightclick","polygon","Polygon","_watchForPathChanges","getPath","getPaths","setPaths","MapPolygon_Factory","MapPolyline","_path","polylineClick","polylineDblclick","polylineDrag","polylineDragend","polylineDragstart","polylineMousedown","polylineMousemove","polylineMouseout","polylineMouseover","polylineMouseup","polylineRightclick","polyline","Polyline","setPath","MapPolyline_Factory","MapRectangle","rectangleClick","rectangleDblclick","rectangleDrag","rectangleDragend","rectangleDragstart","rectangleMousedown","rectangleMousemove","rectangleMouseout","rectangleMouseover","rectangleMouseup","rectangleRightclick","rectangle","Rectangle","_watchForBoundsChanges","setBounds","MapRectangle_Factory","MapTrafficLayer","autoRefresh","_autoRefresh","trafficLayer","TrafficLayer","_watchForAutoRefreshChanges","MapTrafficLayer_Factory","MapTransitLayer","transitLayer","TransitLayer","ɵMapTransitLayer_BaseFactory","MapTransitLayer_Factory","MapHeatmapLayer","_data","visualization","heatmap","HeatmapLayer","setData","_normalizeData","getData","isLatLngLiteral","LatLng","MapHeatmapLayer_Factory","COMPONENTS","GoogleMapsModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","MapDirectionsService","request","_directionsService","DirectionsService","MapDirectionsService_Factory","ɵɵinject","ɵprov","ɵɵdefineInjectable","factory","providedIn","MapGeocoder","geocode","_geocoder","Geocoder","results","MapGeocoder_Factory","ContentChild","outputs$2","DialogButtonDirective","DialogButtonDirective_Factory","ViewContainerRef","queries","ButtonsDirective","ButtonsDirective_Factory","ButtonsDirective_ContentQueries","inputs$1","outputs$1","twoWays$1","DialogComponent","injector","injectedModules","containerContext","childButtons","DialogComponent_Factory","Renderer2","Injector","DialogComponent_ContentQueries","first","beforeClose","beforeOpen","beforeSanitizeHtml","created","overlayClick","resizeStop","visibleChange","DialogComponent_Template","DialogModule_Factory","DialogAllModule","DialogAllModule_Factory","providers","twoWays","TooltipComponent","TooltipComponent_Factory","TooltipComponent_ContentQueries","afterClose","afterOpen","beforeCollision","beforeRender","TooltipComponent_Template","TooltipModule","TooltipModule_Factory","TooltipAllModule","TooltipAllModule_Factory","Pipe","FormGroup","NgOtpInputComponent_div_0_input_1_Template","ɵɵgetCurrentView","NgOtpInputComponent_div_0_input_1_Template_input_paste_0_listener","handlePaste","NgOtpInputComponent_div_0_input_1_Template_input_keyup_0_listener","i_r3","onKeyUp","NgOtpInputComponent_div_0_input_1_Template_input_input_0_listener","onInput","NgOtpInputComponent_div_0_input_1_Template_input_keydown_0_listener","onKeyDown","ɵɵclassMapInterpolate1","inputClass","allowNumbersOnly","inputType","placeholder","inputStyles","getBoxId","NgOtpInputComponent_div_0_Template","ɵɵpipe","containerClass","componentKey","containerStyles","KeyboardUtil","ifTab","ifKey","ifDelete","ifBackspace","ifRightArrow","ifLeftArrow","ifSpacebar","keysToCheck","KeysPipe","KeysPipe_Factory","ɵpipe","ɵɵdefinePipe","pure","NgOtpInputComponent","keysPipe","onInputChange","inputControls","isPasswordInput","addControl","getControlName","valueChanges","v","rebuildValue","disableAutoFocus","containerItem","idx","inputIdx","prevInputId","currentInputId","clearInput","setSelected","validateNumber","nextInputId","ifValidKeyCode","eleId","ctrlName","HTMLInputElement","focusTo","setSelectionRange","inp","isMobile","reset","indexOfElementToFocus","ctrlVal","isLengthExceed","isCaseTransformEnabled","letterCase","transformedVal","formCtrl","clipboardData","pastedData","NgOtpInputComponent_Factory","NgOtpInputComponent_Template","dependencies","NgStyle","PatternValidator","FormControlDirective","Document","NgOtpInputModule_Factory","Config","NgOtpInputConfig"],"sourceRoot":"webpack:///","x_google_ignoreList":[73,74,75,76,77,78,79,80,81,82,83,84]}