@smartbit4all/ng-client 3.1.86 → 3.1.88

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,9 +1,11 @@
1
1
  import { Injector, QueryList } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
- import { GridOptions, SmartForm, SmartFormInvalidFields, SmartGrid, SmartGridComponent, SmartformComponent } from '../../projects';
4
3
  import { SmarttreeGenericService } from '../smart-tree/projects';
5
4
  import { ComponentModel, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction2 } from '../view-context/projects';
6
5
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
6
+ import { GridOptions, SmartGrid, SmartGridComponent } from '../smart-grid/projects';
7
+ import { SmartForm, SmartFormInvalidFields, SmartformComponent } from '../smart-form/projects';
8
+ import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
7
9
  export declare abstract class SmartComponentApiClient<T> implements UseUiAction2 {
8
10
  protected inject: Injector;
9
11
  protected auth: SmartAuthenticationServiceInterface;
@@ -36,11 +38,16 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
36
38
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
37
39
  _ngOnInit(): void;
38
40
  _ngOnDestroy(): void;
39
- protected abstract getAllFormComponents(): QueryList<SmartformComponent> | undefined;
40
- protected abstract getAllGridComponents(): QueryList<SmartGridComponent> | undefined;
41
- protected abstract getAllTreeComponents(): QueryList<SmarttreeGenericService> | undefined;
41
+ _ngAfterViewInit(): void;
42
+ protected abstract getSmartFormsQL(): QueryList<SmartformComponent> | undefined;
43
+ protected abstract getSmartGridsQL(): QueryList<SmartGridComponent> | undefined;
44
+ protected abstract getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
45
+ protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
42
46
  protected getWidgets(): WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
43
47
  initComponentByModel(): void;
48
+ protected getAllSmartFormComponents(): SmartformComponent[];
49
+ protected getAllSmartGridComponents(): SmartGridComponent[];
50
+ protected getAllSmartTreeComponents(): SmarttreeGenericService[];
44
51
  initData(): void;
45
52
  initActions(): void;
46
53
  run(): void;
@@ -1,20 +1,24 @@
1
- import { Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { AfterViewInit, Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
2
2
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
3
  import { SmartComponentApiClient } from './smart-component-api-client';
4
4
  import { SmartformComponent } from '../smart-form/projects';
5
5
  import { SmartGridComponent } from '../smart-grid/projects';
6
6
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
+ import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
7
8
  import * as i0 from "@angular/core";
8
- export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
9
- formComponents: QueryList<SmartformComponent>;
10
- gridComponents: QueryList<SmartGridComponent>;
11
- treeComponents: QueryList<SmarttreeGenericService>;
9
+ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
10
+ smartFormsQL: QueryList<SmartformComponent>;
11
+ smartGridsQL: QueryList<SmartGridComponent>;
12
+ smartTreesQL: QueryList<SmarttreeGenericService>;
13
+ smartComponentLayoutsQL: QueryList<SmartComponentLayoutComponent>;
12
14
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
13
15
  ngOnInit(): void;
14
16
  ngOnDestroy(): void;
15
- getAllFormComponents(): QueryList<SmartformComponent> | undefined;
16
- getAllGridComponents(): QueryList<SmartGridComponent> | undefined;
17
- getAllTreeComponents(): QueryList<SmarttreeGenericService> | undefined;
17
+ ngAfterViewInit(): void;
18
+ getSmartFormsQL(): QueryList<SmartformComponent> | undefined;
19
+ getSmartGridsQL(): QueryList<SmartGridComponent> | undefined;
20
+ getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
21
+ getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
18
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
19
23
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
20
24
  }
@@ -1,20 +1,24 @@
1
- import { Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { AfterViewInit, Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
2
2
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
3
  import { SmartComponentApiClient } from './smart-component-api-client';
4
4
  import { SmartformComponent } from '../smart-form/projects';
5
5
  import { SmartGridComponent } from '../smart-grid/projects';
6
6
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
+ import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
7
8
  import * as i0 from "@angular/core";
8
- export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
9
- formComponents: QueryList<SmartformComponent>;
10
- gridComponents: QueryList<SmartGridComponent>;
11
- treeComponents: QueryList<SmarttreeGenericService>;
9
+ export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
10
+ smartFormsQL: QueryList<SmartformComponent>;
11
+ smartGridsQL: QueryList<SmartGridComponent>;
12
+ smartTreesQL: QueryList<SmarttreeGenericService>;
13
+ smartComponentLayoutsQL: QueryList<SmartComponentLayoutComponent>;
12
14
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
13
15
  ngOnInit(): void;
14
16
  ngOnDestroy(): void;
15
- getAllFormComponents(): QueryList<SmartformComponent> | undefined;
16
- getAllGridComponents(): QueryList<SmartGridComponent> | undefined;
17
- getAllTreeComponents(): QueryList<SmarttreeGenericService> | undefined;
17
+ ngAfterViewInit(): void;
18
+ getSmartFormsQL(): QueryList<SmartformComponent> | undefined;
19
+ getSmartGridsQL(): QueryList<SmartGridComponent> | undefined;
20
+ getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
21
+ getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
18
22
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
19
23
  static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
20
24
  }
@@ -1,4 +1,11 @@
1
+ import { SmartformComponent } from '../smart-form/projects';
2
+ import { SmartGridComponent } from '../smart-grid/projects';
3
+ import { SmarttreeGenericService } from '../smart-tree/projects';
1
4
  import { SmartComponentLayoutDefinition } from './api';
5
+ import { SmartComponentLayoutComponent } from './smart-component-layout.component';
2
6
  export declare class SmartComponentLayoutUtility {
3
7
  static setParent(layout: SmartComponentLayoutDefinition, parent: any): void;
8
+ static getForms(comp: SmartComponentLayoutComponent): SmartformComponent[];
9
+ static getGrids(comp: SmartComponentLayoutComponent): SmartGridComponent[];
10
+ static getTrees(comp: SmartComponentLayoutComponent): SmarttreeGenericService[];
4
11
  }
@@ -24,6 +24,7 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
24
24
  parent?: any;
25
25
  treeService?: SmarttreeGenericService;
26
26
  expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
27
+ components: QueryList<SmartComponentLayoutComponent>;
27
28
  constructor(layoutService: SmartformLayoutDefinitionService);
28
29
  ngAfterViewInit(): void;
29
30
  ngOnDestroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.1.86",
3
+ "version": "3.1.88",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file