mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-06 17:48:50 +01:00
1 line
222 KiB
JavaScript
1 line
222 KiB
JavaScript
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{"6OPl":function(n,e,t){"use strict";t.r(e);var l=t("CcnG"),o=(t("TtU4"),function(){return function(n){this.themeService=n,this.themeService.changeTheme("ngx-landing")}}()),i=t("jvbL"),a=function(){function n(n,e){var t=this;this.themeService=n,this.breakpointService=e,this.alive=!0,this.breakpoints=this.breakpointService.getBreakpointsMap(),this.themeService.onMediaQueryChange().pipe(Object(i.a)(function(){return t.alive})).subscribe(function(n){t.breakpoint=n[1]})}return n.prototype.ngOnDestroy=function(){this.alive=!1},n}(),r=function(){return function(){}}(),s=function(){return function(){}}(),g=t("mrSG"),u=function(){function n(n,e){var t=this;this.themeService=n,this.breakpointService=e,this.alive=!0,this.themes=["Light","Cosmic","Corporate"],this.sliderIndex=1,this.initialSwiperConfig={direction:"horizontal",spaceBetween:200,slidesPerView:"auto",centeredSlides:!0,keyboard:!0,navigation:!0,effect:"coverflow",grabCursor:!0,coverflowEffect:{rotate:0,stretch:0,depth:500,modifier:1,slideShadows:!1},pagination:{el:".swiper-pagination",clickable:!0,hideOnClick:!1,renderBullet:function(n,e){return'\n <span class="'+e+'">\n <span>\n '+t.themes[n]+"\n </span>\n </span>"}}},this.swiperConfig=g.__assign({},this.initialSwiperConfig),this.breakpoints=this.breakpointService.getBreakpointsMap(),this.themeService.onMediaQueryChange().pipe(Object(i.a)(function(){return t.alive})).subscribe(function(n){t.breakpoint=n[1],t.changeSwiperConfig()})}return n.prototype.changeSwiperConfig=function(){this.swiperConfig=this.isMobile?g.__assign({},this.swiperConfig,{preloadImages:!1,lazy:!0}):this.initialSwiperConfig},Object.defineProperty(n.prototype,"isMobile",{get:function(){return this.breakpoint.width<=this.breakpoints.sm},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.alive=!1},n}(),c=t("CheL"),m=function(){function n(n,e,t){var l=this;this.themeService=n,this.breakpointService=e,this.reviewsService=t,this.alive=!0,this.desktopSwiperConfig={slidesPerView:3,keyboard:!0,navigation:!0},this.tabletSwiperConfig=g.__assign({},this.desktopSwiperConfig,{slidesPerView:2}),this.mobileSwiperConfig={slidesPerView:"auto",centeredSlides:!0,keyboard:!1,navigation:!1},this.swiperConfig={direction:"horizontal",spaceBetween:24,mousewheel:!1,lazy:!0,loop:!0,autoplay:!0,pagination:{el:".swiper-pagination",clickable:!0,hideOnClick:!1}},this.breakpoints=this.breakpointService.getBreakpointsMap(),this.themeService.onMediaQueryChange().pipe(Object(i.a)(function(){return l.alive})).subscribe(function(n){l.changeSwiperConfig(n[1].width)}),this.reviewsService.getReviews().pipe(Object(i.a)(function(){return l.alive})).subscribe(function(n){return l.reviews=n})}return n.prototype.changeSwiperConfig=function(n){if(this.isMobile(n))this.swiperConfig=g.__assign({},this.swiperConfig,this.mobileSwiperConfig);else{var e=this.isTablet(n)?this.tabletSwiperConfig:this.desktopSwiperConfig;this.swiperConfig=g.__assign({},this.swiperConfig,e)}},n.prototype.isMobile=function(n){return n<=this.breakpoints.is},n.prototype.isTablet=function(n){return n<=this.breakpoints.sm},n.prototype.ngOnDestroy=function(){this.alive=!1},n}(),d=function(){return function(){}}(),b=function(){function n(){this.isAgree=!1,this.invalid=!1}return n.prototype.submitForm=function(){this.emailInput.nativeElement.value?(this.contactForm.nativeElement.submit(),this.invalid=!1,this.emailInput.nativeElement.value=""):this.invalid=!0},Object.defineProperty(n.prototype,"disabledControl",{get:function(){return this.isAgree?null:"disabled"},enumerable:!0,configurable:!0}),n}(),h=function(){return function(){}}(),p=t("eEG2"),f=function(){return function(n){this.descriptionsService=n,this.descriptions=this.descriptionsService.getDescriptions()}}(),_=t("VnD/"),x=t("vubp"),C=t("t9fZ"),P=t("vPEh"),O=function(){function n(n,e,t,l,o){this.descriptionService=n,this.bundlesService=e,this.activatedRoute=t,this.el=l,this.window=o,this.descriptions=this.descriptionService.getBundleDescripti
|