Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { NgJhipsterModule } from 'ng-jhipster';
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
import { CookieModule } from 'ngx-cookie';
@NgModule({
imports: [
NgbModule.forRoot(),
NgJhipsterModule.forRoot({
// set below to true to make alerts look like toast
alertAsToast: false,
i18nEnabled: true,
defaultI18nLang: 'en'
}),
InfiniteScrollModule,
CookieModule.forRoot()
],
exports: [FormsModule, CommonModule, NgbModule, NgJhipsterModule, InfiniteScrollModule]
})
export class DojoSharedLibsModule {}
LayoutRoutingModule,
NavbarComponent,
FooterComponent,
ProfileService,
PageRibbonComponent,
ActiveMenuDirective,
ErrorComponent
} from './layouts';
import { APP_RESOLVER_PROVIDERS } from './app.resolver';
import * as moment from 'moment';
import { NgJhipsterModule } from 'ng-jhipster';
import { ErrorHandlerInterceptor } from './blocks/interceptor/errorhandler.interceptor';
@NgModule({
imports: [
NgJhipsterModule.forRoot({
// set below to true to make alerts look like toast
alertAsToast: false,
alertTimeout: 5000,
i18nEnabled: true,
defaultI18nLang: 'en'
}),
CookieModule.forRoot(),
BrowserModule,
LayoutRoutingModule,
NgxWebstorageModule.forRoot({ prefix: 'jhi', separator: '-' }),
ArcadeanalyticsCoreModule,
ArcadeanalyticsSharedModule.forRoot(),
ArcadeanalyticsHomeModule,
ArcadeanalyticsAdminModule,
ArcadeanalyticsAccountModule,
ArcadeanalyticsEntityModule,
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { NgJhipsterModule } from 'ng-jhipster';
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
import { CookieModule } from 'ngx-cookie';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
@NgModule({
imports: [
NgbModule.forRoot(),
NgJhipsterModule.forRoot({
// set below to true to make alerts look like toast
alertAsToast: false
}),
InfiniteScrollModule,
CookieModule.forRoot(),
FontAwesomeModule
],
exports: [FormsModule, CommonModule, NgbModule, NgJhipsterModule, InfiniteScrollModule, FontAwesomeModule]
})
export class JhonlineSharedLibsModule {}
import { NgbDateMomentAdapter } from 'app/shared/util/datepicker-adapter';
import { AuthInterceptor } from 'app/blocks/interceptor/auth.interceptor';
import { AuthExpiredInterceptor } from 'app/blocks/interceptor/auth-expired.interceptor';
import { ErrorHandlerInterceptor } from 'app/blocks/interceptor/errorhandler.interceptor';
import { NotificationInterceptor } from 'app/blocks/interceptor/notification.interceptor';
import { fontAwesomeIcons } from './icons/font-awesome-icons';
import { GroupByPipe } from 'app/shared/pipe/group-by.pipe';
@NgModule({
imports: [
HttpClientModule,
CookieModule.forRoot(),
NgxWebstorageModule.forRoot({ prefix: 'jhi', separator: '-' }),
NgJhipsterModule.forRoot({
// set below to true to make alerts look like toast
alertAsToast: false,
alertTimeout: 5000
})
],
providers: [
Title,
{
provide: LOCALE_ID,
useValue: 'en'
},
{ provide: NgbDateAdapter, useClass: NgbDateMomentAdapter },
DatePipe,
{
provide: HTTP_INTERCEPTORS,
useClass: AuthInterceptor,
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { NgJhipsterModule } from 'ng-jhipster';
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
import { CookieModule } from 'ngx-cookie';
@NgModule({
imports: [
NgbModule.forRoot(),
NgJhipsterModule.forRoot({
// set below to true to make alerts look like toast
alertAsToast: false,
i18nEnabled: true,
defaultI18nLang: 'fr'
}),
InfiniteScrollModule,
CookieModule.forRoot()
],
exports: [
FormsModule,
CommonModule,
NgbModule,
NgJhipsterModule,
InfiniteScrollModule
]
})