@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.
- package/igx-ts/projects/_base/files/src/app/app.config.ts +5 -5
- package/igx-ts/projects/_base/files/src/app/app.routes.ts +2 -2
- package/igx-ts/projects/_base/files/src/app/error-routing/error/uncaught-error.component.ts +1 -0
- package/igx-ts/projects/empty/files/src/app/app.routes.ts +2 -2
- package/igx-ts/projects/side-nav/files/src/app/app.config.ts +18 -12
- package/igx-ts/projects/side-nav-auth/files/src/app/app.config.ts +20 -14
- package/package.json +2 -2
|
@@ -7,11 +7,11 @@ import { routes } from './app.routes';
|
|
|
7
7
|
|
|
8
8
|
export const appConfig: ApplicationConfig = {
|
|
9
9
|
providers: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
8
|
-
|
|
7
|
+
{ path: 'error', component: UncaughtErrorComponent },
|
|
8
|
+
{ path: '**', component: PageNotFoundComponent } // must always be last
|
|
9
9
|
];
|
|
@@ -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
|
-
|
|
7
|
-
|
|
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 {
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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 {
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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.
|
|
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.
|
|
15
|
+
"@igniteui/cli-core": "~13.1.4",
|
|
16
16
|
"typescript": "~4.7.2"
|
|
17
17
|
}
|
|
18
18
|
}
|