@fundamental-ngx/cdk 0.63.2-rc.4 → 0.63.2-rc.6

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.
@@ -12,11 +12,11 @@ import { NgModule } from '@angular/core';
12
12
  * Use direct imports of components and directives.
13
13
  */
14
14
  class FundamentalNgxCdkModule {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, exports: [FormsModule, DataSourceModule, UtilsModule] }); }
17
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, imports: [FormsModule, DataSourceModule, UtilsModule] }); }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FundamentalNgxCdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: FundamentalNgxCdkModule, exports: [FormsModule, DataSourceModule, UtilsModule] }); }
17
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FundamentalNgxCdkModule, imports: [FormsModule, DataSourceModule, UtilsModule] }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FundamentalNgxCdkModule, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FundamentalNgxCdkModule, decorators: [{
20
20
  type: NgModule,
21
21
  args: [{
22
22
  imports: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/cdk",
3
- "version": "0.63.2-rc.4",
3
+ "version": "0.63.2-rc.6",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "description": "Fundamental Library for Angular - CDK",
6
6
  "license": "Apache-2.0",
@@ -13,12 +13,12 @@
13
13
  "node": ">= 10"
14
14
  },
15
15
  "peerDependencies": {
16
- "@angular/cdk": "^21.0.0",
17
- "@angular/common": "^21.0.0",
18
- "@angular/core": "^21.0.0",
19
- "@angular/forms": "^21.0.0",
20
- "@angular/platform-browser": "^21.0.0",
21
- "@angular/router": "^21.0.0",
16
+ "@angular/cdk": "^22.0.0",
17
+ "@angular/common": "^22.0.0",
18
+ "@angular/core": "^22.0.0",
19
+ "@angular/forms": "^22.0.0",
20
+ "@angular/platform-browser": "^22.0.0",
21
+ "@angular/router": "^22.0.0",
22
22
  "rxjs": "^7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -57,5 +57,6 @@
57
57
  "default": "./fesm2022/fundamental-ngx-cdk-utils.mjs"
58
58
  }
59
59
  },
60
- "sideEffects": false
60
+ "sideEffects": false,
61
+ "type": "module"
61
62
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, DestroyRef, InjectionToken, Injector, AfterViewInit, OnDestroy, EventEmitter, AfterContentInit, Renderer2, QueryList, OnInit, AfterContentChecked, OnChanges, TemplateRef, ViewContainerRef, SimpleChanges, ModuleWithProviders, Provider, ChangeDetectorRef, EmbeddedViewRef, ComponentRef, ValueProvider, InputSignal, OutputEmitterRef, Type, ComponentFactoryResolver, ApplicationRef, Compiler, NgModuleFactory, FactorySansProvider, PipeTransform, WritableSignal, StaticProvider } from '@angular/core';
2
+ import { ElementRef, DestroyRef, InjectionToken, Injector, AfterViewInit, OnDestroy, EventEmitter, AfterContentInit, Renderer2, QueryList, OnInit, AfterContentChecked, OnChanges, TemplateRef, ViewContainerRef, SimpleChanges, ModuleWithProviders, Provider, ChangeDetectorRef, EmbeddedViewRef, ComponentRef, ValueProvider, InputSignal, OutputEmitterRef, Type, NgModuleFactory, FactorySansProvider, PipeTransform, WritableSignal, StaticProvider } from '@angular/core';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Observable, Subject, ReplaySubject, BehaviorSubject } from 'rxjs';
5
5
  import { FocusableOption, InteractivityChecker, FocusKeyManager } from '@angular/cdk/a11y';
@@ -2215,12 +2215,10 @@ declare class DynamicComponentInjector implements Injector {
2215
2215
  * Service used to dynamically generate components like dialogs/alerts/notifications
2216
2216
  */
2217
2217
  declare class DynamicComponentService {
2218
- private readonly _componentFactoryResolver;
2219
2218
  private readonly _applicationRef;
2220
2219
  private readonly _injector;
2220
+ /** @deprecated Will be removed when {@link createDynamicModule} is removed. */
2221
2221
  private readonly _compiler;
2222
- /** @hidden */
2223
- constructor(_componentFactoryResolver: ComponentFactoryResolver, _applicationRef: ApplicationRef, _injector: Injector, _compiler: Compiler);
2224
2222
  /**
2225
2223
  * Function that creates dynamic component and injects services to allow communication between component and outside
2226
2224
  * @param content Type of the component content
@@ -2228,17 +2226,15 @@ declare class DynamicComponentService {
2228
2226
  * @param config Configuration that will be passed to the component.
2229
2227
  * @param inject enables to provide preconfigured component injector and dependencies
2230
2228
  */
2231
- createDynamicComponent<T>(content: TemplateRef<any> | Type<any> | string | Record<string, any>, componentType: Type<T>, config: DynamicComponentConfig, inject?: {
2229
+ createDynamicComponent<T>(content: TemplateRef<any> | Type<any> | string | Record<string, any>, componentType: Type<T>, config: DynamicComponentConfig, { injector, services }?: {
2232
2230
  injector?: Injector;
2233
2231
  services?: any[];
2234
2232
  }): ComponentRef<T>;
2235
2233
  /**
2236
- * Function that creates dynamic component and injects services to allow communication between component and outside
2237
- * @param content Type of the component content
2238
- * @param moduleType Type of module that should be compiled.
2239
- * @param componentType Type of component that should be rendered.
2240
- * @param containerRef The container that the dynamic component is appended to.
2241
- * @param injector enables to provide preconfigured component injector
2234
+ * @deprecated `NgModule`-based lazy loading is no longer supported. Use standalone components with
2235
+ * dynamic `import()` and `ViewContainerRef.createComponent()` instead. This method will be removed
2236
+ * in a future release; it has no internal callers and its `NgModuleFactory` / `Compiler` dependencies
2237
+ * are themselves deprecated since Angular 14.
2242
2238
  */
2243
2239
  createDynamicModule<M, C>(content: TemplateRef<any> | Type<any> | string | Record<string, any>, moduleType: Type<M> | NgModuleFactory<M>, componentType: Type<C>, containerRef: ViewContainerRef, injector?: Injector): Promise<ComponentRef<C>>;
2244
2240
  /** Function that destroys dynamic component */