@igniteui/angular-templates 21.0.1485-beta.2 → 21.0.1485

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.
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, ErrorHandler, Provider, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, ErrorHandler, EnvironmentProviders, Provider, importProvidersFrom, provideZoneChangeDetection } 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';
@@ -10,7 +10,8 @@ import { environment } from '../environments/environment';
10
10
  // provide the HAMMER_GESTURE_CONFIG token
11
11
  // to override the default settings of the HammerModule
12
12
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
13
- const providers: Provider = [
13
+ const providers: (EnvironmentProviders | Provider)[] = [
14
+ provideZoneChangeDetection({ eventCoalescing: true }),
14
15
  provideRouter(routes),
15
16
  importProvidersFrom(BrowserModule, HammerModule),
16
17
  provideAnimations()
@@ -1,9 +1,10 @@
1
- import { ApplicationConfig, Provider } from '@angular/core';
1
+ import { ApplicationConfig, EnvironmentProviders, Provider, provideZoneChangeDetection } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
 
4
4
  import { routes } from './app.routes';
5
5
 
6
- const providers: Provider = [
6
+ const providers: (EnvironmentProviders | Provider)[] = [
7
+ provideZoneChangeDetection({ eventCoalescing: true }),
7
8
  provideRouter(routes)
8
9
  ];
9
10
 
@@ -1,9 +1,10 @@
1
- import { ApplicationConfig, Provider } from '@angular/core';
1
+ import { ApplicationConfig, EnvironmentProviders, Provider, provideZoneChangeDetection } from '@angular/core';
2
2
  import { provideRouter } from '@angular/router';
3
3
 
4
4
  import { routes } from './app.routes';
5
5
 
6
- const providers: Provider = [
6
+ const providers: (EnvironmentProviders | Provider)[] = [
7
+ provideZoneChangeDetection({ eventCoalescing: true }),
7
8
  provideRouter(routes)
8
9
  ];
9
10
 
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, Provider, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, EnvironmentProviders, Provider, importProvidersFrom, provideZoneChangeDetection } 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';
@@ -14,7 +14,8 @@ import { routes } from './app.routes';
14
14
  // provide the HAMMER_GESTURE_CONFIG token
15
15
  // to override the default settings of the HammerModule
16
16
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
17
- const providers: Provider = [
17
+ const providers: (EnvironmentProviders | Provider)[] = [
18
+ provideZoneChangeDetection({ eventCoalescing: true }),
18
19
  provideRouter(routes),
19
20
  importProvidersFrom(
20
21
  BrowserModule,
@@ -1,4 +1,4 @@
1
- import { ApplicationConfig, Provider, importProvidersFrom } from '@angular/core';
1
+ import { ApplicationConfig, EnvironmentProviders, Provider, importProvidersFrom, provideZoneChangeDetection } 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';
@@ -15,7 +15,8 @@ import { routes } from './app.routes';
15
15
  // provide the HAMMER_GESTURE_CONFIG token
16
16
  // to override the default settings of the HammerModule
17
17
  // { provide: HAMMER_GESTURE_CONFIG, useClass: MyHammerConfig }
18
- const providers: Provider = [
18
+ const providers: (EnvironmentProviders | Provider)[] = [
19
+ provideZoneChangeDetection({ eventCoalescing: true }),
19
20
  provideRouter(routes),
20
21
  importProvidersFrom(
21
22
  BrowserModule,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniteui/angular-templates",
3
- "version": "21.0.1485-beta.2",
3
+ "version": "21.0.1485",
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.8.5-beta.2",
15
+ "@igniteui/cli-core": "~14.8.5",
16
16
  "typescript": "~5.5.4"
17
17
  }
18
18
  }