@smartbit4all/ng-client 1.1.42 → 1.1.43

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.
@@ -9,7 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type ComponentWidgetType = 'grid';
12
+ export declare type ComponentWidgetType = 'grid' | 'filter' | 'tree';
13
13
  export declare const ComponentWidgetType: {
14
- Grid: "grid";
14
+ Grid: ComponentWidgetType;
15
+ Filter: ComponentWidgetType;
16
+ Tree: ComponentWidgetType;
15
17
  };
@@ -13,6 +13,8 @@ import { ComponentWidgetType } from './componentWidgetType';
13
13
  export interface SmartComponentWidgetDefinition {
14
14
  type: ComponentWidgetType;
15
15
  gridIdentifier?: string;
16
+ treeIdentifier?: string;
17
+ filterExpressionFieldList?: any;
18
+ filterType?: any;
16
19
  }
17
- export declare namespace SmartComponentWidgetDefinition {
18
- }
20
+ export declare namespace SmartComponentWidgetDefinition { }
@@ -3,9 +3,9 @@ import { SmartForm, SmartformComponent } from '@smartbit4all/form';
3
3
  import { GridOptions, SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
4
4
  import { SmarttreeGenericService } from '@smartbit4all/tree';
5
5
  import { Subject } from 'rxjs';
6
- import { ComponentModel, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction } from '../view-context/projects';
7
- import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
6
+ import { ComponentModel, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction } from '../view-context/projects';
8
7
  import { SmartComponentLayoutDefinition } from './api';
8
+ import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
9
9
  export declare abstract class SmartComponentApiClient<T> implements UseUiAction {
10
10
  protected inject: Injector;
11
11
  protected auth: SmartAuthenticationServiceInterface;
@@ -36,6 +36,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction
36
36
  protected viewContext: SmartViewContextService;
37
37
  protected uiActionService: UiActionService;
38
38
  protected uiActionDescriptorService: UiActionDescriptorService;
39
+ protected translate?: SmartTranslateService;
39
40
  private _smartTreeService?;
40
41
  get smartTreeService(): SmarttreeGenericService | undefined;
41
42
  set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
@@ -3,6 +3,7 @@ import { SmartForm, SmartformComponent, SmartformLayoutDefinitionService } from
3
3
  import { SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
4
4
  import { ComponentType, SmartComponentLayoutDefinition } from '../api';
5
5
  import { ExpandableSection } from '@smartbit4all/expandable-section';
6
+ import { SmarttreeGenericService } from '@smartbit4all/tree';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class SmartComponentLayoutComponent implements OnInit, OnChanges {
8
9
  private layoutService;
@@ -12,6 +13,8 @@ export declare class SmartComponentLayoutComponent implements OnInit, OnChanges
12
13
  smartForm?: SmartForm;
13
14
  gridChild?: SmartGridComponent;
14
15
  smartGrid?: SmartGrid;
16
+ parent?: any;
17
+ treeService?: SmarttreeGenericService;
15
18
  expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
16
19
  constructor(layoutService: SmartformLayoutDefinitionService);
17
20
  ngOnInit(): void;
@@ -22,6 +25,8 @@ export declare class SmartComponentLayoutComponent implements OnInit, OnChanges
22
25
  constructForm(): void;
23
26
  makeid(length: number): string;
24
27
  constructGrid(): void;
28
+ constructFilter(): void;
29
+ constructTree(): void;
25
30
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutComponent, never>;
26
31
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; }, {}, never, never>;
27
32
  }
@@ -8,8 +8,9 @@ import * as i6 from "./view-context/smart-view-context.module";
8
8
  import * as i7 from "@smartbit4all/form";
9
9
  import * as i8 from "@smartbit4all/grid";
10
10
  import * as i9 from "@smartbit4all/expandable-section";
11
+ import * as i10 from "@smartbit4all/tree";
11
12
  export declare class SmartNgClientModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent], [typeof i3.BrowserModule, typeof i4.MatCommonModule, typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i7.SmartformModule, typeof i8.SmartGridModule, typeof i9.SmartExpandableSectionModule], [typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent], [typeof i3.BrowserModule, typeof i4.MatCommonModule, typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i7.SmartformModule, typeof i8.SmartGridModule, typeof i9.SmartExpandableSectionModule, typeof i10.SmarttreeModule], [typeof i5.SmartSessionModule, typeof i6.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i2.SmartComponentLayoutComponent]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "1.1.42",
3
+ "version": "1.1.43",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^13.2.0",
Binary file