@smartbit4all/ng-client 3.1.48 → 3.1.50

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,34 +1,43 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
+ import { OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { ComponentType, SmartComponentLayoutDefinition } from './api';
3
3
  import { SmartForm, SmartformComponent, SmartformLayoutDefinitionService } from '../smart-form/projects';
4
4
  import { SmartGrid, SmartGridComponent } from '../smart-grid/projects';
5
5
  import { SmartFilter, SmartFilterComponent } from '../smart-filter/projects';
6
6
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
7
  import { ExpandableSection } from '../smart-expandable-section/projects';
8
+ import { Subject } from 'rxjs';
8
9
  import * as i0 from "@angular/core";
9
- export declare class SmartComponentLayoutComponent implements OnInit, OnChanges {
10
+ export declare class SmartComponentLayoutComponent implements OnInit, OnDestroy, OnChanges {
10
11
  private layoutService;
12
+ protected _destroy$: Subject<void>;
11
13
  smartComponentLayout?: SmartComponentLayoutDefinition;
12
14
  uuid?: string;
13
- formChild?: SmartformComponent;
15
+ smartFormList: QueryList<SmartformComponent>;
16
+ smartFormComponent?: SmartformComponent;
14
17
  smartForm?: SmartForm;
15
- gridChild?: SmartGridComponent;
18
+ smartGridList: QueryList<SmartGridComponent>;
19
+ smartGridComponent?: SmartGridComponent;
16
20
  smartGrid?: SmartGrid;
17
- filterChild?: SmartFilterComponent;
21
+ smartFilterList: QueryList<SmartFilterComponent>;
22
+ smartFilterComponent?: SmartFilterComponent;
18
23
  smartFilter?: SmartFilter;
19
24
  parent?: any;
20
25
  treeService?: SmarttreeGenericService;
21
26
  expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
22
27
  constructor(layoutService: SmartformLayoutDefinitionService);
23
28
  ngOnInit(): void;
29
+ ngOnDestroy(): void;
24
30
  ngOnChanges(changes: SimpleChanges): void;
25
31
  private setUp;
26
32
  type(): typeof ComponentType;
27
33
  constructExpandableSection(): void;
28
34
  constructForm(): void;
35
+ bindForm(): void;
29
36
  makeid(length: number): string;
30
37
  constructGrid(): void;
38
+ bindGrid(): void;
31
39
  constructFilter(): void;
40
+ bindFilter(): void;
32
41
  constructTree(): void;
33
42
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutComponent, never>;
34
43
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; }, {}, never, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.1.48",
3
+ "version": "3.1.50",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file