@igniteui/angular-templates 18.0.1400-alpha.4 → 18.0.1400-beta.0

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,13 +7,13 @@ import { routes } from './app.routes';
7
7
  import { GlobalErrorHandlerService } from './error-routing/error/global-error-handler.service';
8
8
  import { environment } from '../environments/environment';
9
9
 
10
- const providers: Provider[] = [
10
+ // provide the HAMMER_GESTURE_CONFIG token
11
+ // to override the default settings of the HammerModule
12
+ // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
13
+ const providers: Provider = [
11
14
  provideRouter(routes),
12
15
  importProvidersFrom(BrowserModule, HammerModule),
13
16
  provideAnimations()
14
- // provide the HAMMER_GESTURE_CONFIG token
15
- // to override the default settings of the HammerModule
16
- // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
17
17
  ];
18
18
 
19
19
  if (environment.production) {
@@ -1,8 +1,10 @@
1
- import { ApplicationConfig } from '@angular/core';
1
+ import { ApplicationConfig, Provider } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
 
4
4
  import { routes } from './app.routes';
5
5
 
6
- export const appConfig: ApplicationConfig = {
7
- providers: [provideRouter(routes)]
8
- };
6
+ const providers: Provider = [
7
+ provideRouter(routes)
8
+ ];
9
+
10
+ export const appConfig: ApplicationConfig = { providers };
@@ -1,8 +1,10 @@
1
- import { ApplicationConfig } from '@angular/core';
1
+ import { ApplicationConfig, Provider } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
 
4
4
  import { routes } from './app.routes';
5
5
 
6
- export const appConfig: ApplicationConfig = {
7
- providers: [provideRouter(routes)]
8
- };
6
+ const providers: Provider = [
7
+ provideRouter(routes)
8
+ ];
9
+
10
+ export const appConfig: ApplicationConfig = { providers };
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, Provider, importProvidersFrom } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
  import { BrowserModule, HammerModule } from '@angular/platform-browser';
4
4
  import { provideAnimations } from '@angular/platform-browser/animations';
@@ -11,20 +11,20 @@ import {
11
11
 
12
12
  import { routes } from './app.routes';
13
13
 
14
- export const appConfig: ApplicationConfig = {
15
- providers: [
16
- provideRouter(routes),
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
28
- // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
29
- ]
30
- };
14
+ // provide the HAMMER_GESTURE_CONFIG token
15
+ // to override the default settings of the HammerModule
16
+ // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
17
+ const providers: Provider = [
18
+ provideRouter(routes),
19
+ importProvidersFrom(
20
+ BrowserModule,
21
+ HammerModule,
22
+ IgxLayoutModule,
23
+ IgxNavbarModule,
24
+ IgxNavigationDrawerModule,
25
+ IgxRippleModule
26
+ ),
27
+ provideAnimations()
28
+ ];
29
+
30
+ export const appConfig: ApplicationConfig = { providers };
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, Provider, importProvidersFrom } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
  import { BrowserModule, HammerModule } from '@angular/platform-browser';
4
4
  import { provideAnimations } from '@angular/platform-browser/animations';
@@ -12,22 +12,22 @@ import {
12
12
  import { AuthenticationModule, ExternalAuthService } from './authentication';
13
13
  import { routes } from './app.routes';
14
14
 
15
- export const appConfig: ApplicationConfig = {
16
- providers: [
17
- provideRouter(routes),
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
31
- // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
32
- ]
33
- };
15
+ // provide the HAMMER_GESTURE_CONFIG token
16
+ // to override the default settings of the HammerModule
17
+ // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
18
+ const providers: Provider = [
19
+ provideRouter(routes),
20
+ importProvidersFrom(
21
+ BrowserModule,
22
+ HammerModule,
23
+ IgxLayoutModule,
24
+ IgxNavbarModule,
25
+ IgxNavigationDrawerModule,
26
+ IgxRippleModule,
27
+ AuthenticationModule
28
+ ),
29
+ provideAnimations(),
30
+ ExternalAuthService
31
+ ];
32
+
33
+ export const appConfig: ApplicationConfig = { providers };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "18.0.1400-alpha.4",
3
+ "version": "18.0.1400-beta.0",
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": "~14.0.0-alpha.4",
15
+ "@igniteui/cli-core": "~14.0.0-beta.0",
16
16
  "typescript": "~5.4.3"
17
17
  }
18
18
  }