@igniteui/angular-templates 17.1.1313 → 17.1.1314

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,11 +7,11 @@ import { routes } from './app.routes';
7
7
 
8
8
  export const appConfig: ApplicationConfig = {
9
9
  providers: [
10
- provideRouter(routes, withComponentInputBinding()),
11
- importProvidersFrom(BrowserModule, HammerModule),
12
- provideAnimations(),
13
- // provide the HAMMER_GESTURE_CONFIG token
14
- // to override the default settings of the HammerModule
10
+ provideRouter(routes, withComponentInputBinding()),
11
+ importProvidersFrom(BrowserModule, HammerModule),
12
+ provideAnimations()
13
+ // provide the HAMMER_GESTURE_CONFIG token
14
+ // to override the default settings of the HammerModule
15
15
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
16
16
  ]
17
17
  };
@@ -4,6 +4,6 @@ import { PageNotFoundComponent } from './error-routing/not-found/not-found.compo
4
4
  import { UncaughtErrorComponent } from './error-routing/error/uncaught-error.component';
5
5
 
6
6
  export const routes: Routes = [
7
- { path: 'error', component: UncaughtErrorComponent },
8
- { path: '**', component: PageNotFoundComponent } // must always be last
7
+ { path: 'error', component: UncaughtErrorComponent },
8
+ { path: '**', component: PageNotFoundComponent } // must always be last
9
9
  ];
@@ -1,6 +1,7 @@
1
1
  import { Component } from '@angular/core';
2
2
 
3
3
  @Component({
4
+ standalone: true,
4
5
  template: '<h2>Error 500: Internal Server Error</h2>',
5
6
  })
6
7
  export class UncaughtErrorComponent { }
@@ -3,6 +3,6 @@ import { Routes } from '@angular/router';
3
3
  import { HomeComponent } from './home/home.component';
4
4
 
5
5
  export const routes: Routes = [
6
- { path: '', redirectTo: '/home', pathMatch: 'full'},
7
- { path: 'home', component: HomeComponent, data: { text: 'Home' }}
6
+ { path: '', redirectTo: '/home', pathMatch: 'full' },
7
+ { path: 'home', component: HomeComponent, data: { text: 'Home' } }
8
8
  ];
@@ -2,23 +2,29 @@ import { ApplicationConfig, importProvidersFrom } from '@angular/core';
2
2
  import { provideRouter, withComponentInputBinding } from '@angular/router';
3
3
  import { BrowserModule, HammerModule } from '@angular/platform-browser';
4
4
  import { provideAnimations } from '@angular/platform-browser/animations';
5
- import { IgxNavigationDrawerModule, IgxNavbarModule, IgxLayoutModule, IgxRippleModule } from 'igniteui-angular';
5
+ import {
6
+ IgxNavigationDrawerModule,
7
+ IgxNavbarModule,
8
+ IgxLayoutModule,
9
+ IgxRippleModule,
10
+ } from 'igniteui-angular';
6
11
 
7
12
  import { routes } from './app.routes';
8
13
 
9
14
  export const appConfig: ApplicationConfig = {
10
15
  providers: [
11
- provideRouter(routes, withComponentInputBinding()),
12
- importProvidersFrom(
13
- BrowserModule,
14
- HammerModule,
15
- IgxLayoutModule,
16
- IgxNavbarModule,
17
- IgxNavigationDrawerModule,
18
- IgxRippleModule),
19
- provideAnimations(),
20
- // provide the HAMMER_GESTURE_CONFIG token
21
- // to override the default settings of the HammerModule
16
+ provideRouter(routes, withComponentInputBinding()),
17
+ importProvidersFrom(
18
+ BrowserModule,
19
+ HammerModule,
20
+ IgxLayoutModule,
21
+ IgxNavbarModule,
22
+ IgxNavigationDrawerModule,
23
+ IgxRippleModule
24
+ ),
25
+ provideAnimations()
26
+ // provide the HAMMER_GESTURE_CONFIG token
27
+ // to override the default settings of the HammerModule
22
28
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
23
29
  ]
24
30
  };
@@ -2,26 +2,32 @@ import { ApplicationConfig, importProvidersFrom } from '@angular/core';
2
2
  import { provideRouter, withComponentInputBinding } from '@angular/router';
3
3
  import { BrowserModule, HammerModule } from '@angular/platform-browser';
4
4
  import { provideAnimations } from '@angular/platform-browser/animations';
5
- import { IgxNavigationDrawerModule, IgxNavbarModule, IgxLayoutModule, IgxRippleModule } from 'igniteui-angular';
5
+ import {
6
+ IgxNavigationDrawerModule,
7
+ IgxNavbarModule,
8
+ IgxLayoutModule,
9
+ IgxRippleModule,
10
+ } from 'igniteui-angular';
6
11
 
7
12
  import { AuthenticationModule, ExternalAuthService } from './authentication';
8
13
  import { routes } from './app.routes';
9
14
 
10
15
  export const appConfig: ApplicationConfig = {
11
16
  providers: [
12
- provideRouter(routes, withComponentInputBinding()),
13
- importProvidersFrom(
14
- BrowserModule,
15
- HammerModule,
16
- IgxLayoutModule,
17
- IgxNavbarModule,
18
- IgxNavigationDrawerModule,
19
- IgxRippleModule,
20
- AuthenticationModule),
21
- provideAnimations(),
22
- ExternalAuthService
23
- // provide the HAMMER_GESTURE_CONFIG token
24
- // to override the default settings of the HammerModule
17
+ provideRouter(routes, withComponentInputBinding()),
18
+ importProvidersFrom(
19
+ BrowserModule,
20
+ HammerModule,
21
+ IgxLayoutModule,
22
+ IgxNavbarModule,
23
+ IgxNavigationDrawerModule,
24
+ IgxRippleModule,
25
+ AuthenticationModule
26
+ ),
27
+ provideAnimations(),
28
+ ExternalAuthService
29
+ // provide the HAMMER_GESTURE_CONFIG token
30
+ // to override the default settings of the HammerModule
25
31
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
26
32
  ]
27
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "17.1.1313",
3
+ "version": "17.1.1314",
4
4
  "description": "Templates for Ignite UI for Angular projects and components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "author": "Infragistics",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@igniteui/cli-core": "~13.1.3",
15
+ "@igniteui/cli-core": "~13.1.4",
16
16
  "typescript": "~4.7.2"
17
17
  }
18
18
  }