@smartbit4all/ng-client 2.0.11 → 2.0.12

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 { Injector } from '@angular/core';
1
+ import { ChangeDetectorRef, Injector } from '@angular/core';
2
2
  import { SmartForm, SmartformComponent } from '@smartbit4all/form';
3
3
  import { GridOptions, SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
4
4
  import { SmarttreeGenericService } from '../smart-tree/projects';
@@ -41,9 +41,11 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction
41
41
  set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
42
42
  widgets: WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
43
43
  formWidgets: WidgetMap<SmartformComponent | undefined>;
44
+ protected changeDetector?: ChangeDetectorRef;
44
45
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
45
46
  _ngOnInit(): void;
46
47
  _ngOnDestroy(): void;
48
+ _ngAfterViewInit(): void;
47
49
  initComponentByModel(): void;
48
50
  initData(): void;
49
51
  initActions(): void;
@@ -1,11 +1,12 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
3
  import { SmartComponentApiClient } from './smart-component-api-client';
4
4
  import * as i0 from "@angular/core";
5
- export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
5
+ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
6
6
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
7
  ngOnInit(): void;
8
8
  ngOnDestroy(): void;
9
+ ngAfterViewInit(): void;
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
10
11
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
11
12
  }
@@ -1,11 +1,12 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
3
  import { SmartComponentApiClient } from './smart-component-api-client';
4
4
  import * as i0 from "@angular/core";
5
- export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
5
+ export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
6
6
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
7
  ngOnInit(): void;
8
8
  ngOnDestroy(): void;
9
+ ngAfterViewInit(): void;
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
10
11
  static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
11
12
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0",
7
7
  "@openapitools/openapi-generator-cli": "^2.5.1",
8
8
  "@smartbit4all/dialog": "^1.0.5",
9
- "@smartbit4all/form": "^1.7.13",
10
- "@smartbit4all/icon": "^1.0.1",
9
+ "@smartbit4all/form": "^1.7.15",
10
+ "@smartbit4all/icon": "^1.0.2",
11
11
  "rxjs": "^7.5.7",
12
12
  "copyfiles": "^2.4.1"
13
13
  },
Binary file