@smartbit4all/ng-client 3.3.28 → 3.3.30

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,7 +1,7 @@
1
1
  import { ElementRef, Injector, QueryList, Renderer2 } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { SmarttreeGenericService } from '../smart-tree/projects';
4
- import { ComponentModel, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction2 } from '../view-context/projects';
4
+ import { ComponentModel, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UiActionToolbarComponent, UseUiAction2 } from '../view-context/projects';
5
5
  import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
6
6
  import { GridOptions, SmartGrid, SmartGridComponent } from '../smart-grid/projects';
7
7
  import { SmartForm, SmartFormInvalidFields, SmartformComponent } from '../smart-form/projects';
@@ -48,6 +48,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
48
48
  protected abstract getSmartGridsQL(): QueryList<SmartGridComponent> | undefined;
49
49
  protected abstract getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
50
50
  protected abstract getSmartFilterServicesQL(): QueryList<SmartFilterEditorService> | undefined;
51
+ protected abstract getSmartUiActionToolbarsQL(): QueryList<UiActionToolbarComponent> | undefined;
51
52
  protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
52
53
  protected getWidgets(): WidgetMap<SmartGridComponent | SmarttreeGenericService | SmartFilterEditorService | undefined>;
53
54
  initComponentByModel(): void;
@@ -56,6 +57,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
56
57
  protected getAllSmartGridComponents(): SmartGridComponent[];
57
58
  protected getAllSmartTreeComponents(): SmarttreeGenericService[];
58
59
  protected getAllSmartFilterEditorServices(): SmartFilterEditorService[];
60
+ protected getAllSmartUiActionToolbars(): UiActionToolbarComponent[];
59
61
  initData(): void;
60
62
  initActions(): void;
61
63
  run(): void;
@@ -6,6 +6,7 @@ import { SmartGridComponent } from '../smart-grid/projects';
6
6
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
7
  import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
8
8
  import { SmartFilterEditorService } from '../smart-filter-editor/project';
9
+ import { UiActionToolbarComponent } from '../view-context/projects';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
11
12
  smartFormsQL: QueryList<SmartformComponent>;
@@ -13,6 +14,7 @@ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<
13
14
  smartTreesQL: QueryList<SmarttreeGenericService>;
14
15
  smartComponentLayoutsQL: QueryList<SmartComponentLayoutComponent>;
15
16
  smartFilterEditorServicesQL: QueryList<SmartFilterEditorService>;
17
+ smartUiActionToolbarsQL: QueryList<UiActionToolbarComponent>;
16
18
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName?: string, _componentName?: string, element?: ElementRef, renderer?: Renderer2);
17
19
  ngOnInit(): void;
18
20
  ngOnDestroy(): void;
@@ -22,6 +24,7 @@ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<
22
24
  getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
23
25
  getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
24
26
  getSmartFilterServicesQL(): QueryList<SmartFilterEditorService> | undefined;
27
+ getSmartUiActionToolbarsQL(): QueryList<UiActionToolbarComponent> | undefined;
25
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
26
29
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
27
30
  }
@@ -5,12 +5,16 @@ import { SmartformComponent } from '../smart-form/projects';
5
5
  import { SmartGridComponent } from '../smart-grid/projects';
6
6
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
7
  import { SmartComponentLayoutComponent } from '../smart-component-layout/projects';
8
+ import { SmartFilterEditorService } from '../smart-filter-editor/project';
9
+ import { UiActionToolbarComponent } from '../view-context/projects';
8
10
  import * as i0 from "@angular/core";
9
11
  export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy, AfterViewInit {
10
12
  smartFormsQL: QueryList<SmartformComponent>;
11
13
  smartGridsQL: QueryList<SmartGridComponent>;
12
14
  smartTreesQL: QueryList<SmarttreeGenericService>;
13
15
  smartComponentLayoutsQL: QueryList<SmartComponentLayoutComponent>;
16
+ smartFilterEditorServicesQL: QueryList<SmartFilterEditorService>;
17
+ smartUiActionToolbarsQL: QueryList<UiActionToolbarComponent>;
14
18
  constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
15
19
  ngOnInit(): void;
16
20
  ngOnDestroy(): void;
@@ -19,6 +23,8 @@ export declare abstract class SmartService<T> extends SmartComponentApiClient<T>
19
23
  getSmartGridsQL(): QueryList<SmartGridComponent> | undefined;
20
24
  getSmartTreesQL(): QueryList<SmarttreeGenericService> | undefined;
21
25
  getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
26
+ getSmartFilterServicesQL(): QueryList<SmartFilterEditorService> | undefined;
27
+ getSmartUiActionToolbarsQL(): QueryList<UiActionToolbarComponent> | undefined;
22
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
23
29
  static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
24
30
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CloseResult } from './closeResult';
13
+ import { View } from './view';
13
14
  /**
14
15
  * All information regarding opening a view (and possible it\'s parents).
15
16
  */
@@ -19,4 +20,10 @@ export interface OpenPendingData {
19
20
  results: {
20
21
  [key: string]: CloseResult;
21
22
  };
23
+ /**
24
+ * This map holds the \'used\' closed children which should be restored on reject.
25
+ */
26
+ closedChildren: {
27
+ [key: string]: View;
28
+ };
22
29
  }
@@ -37,4 +37,8 @@ export interface UiAction {
37
37
  * The sub action are set if and only if this action is a sub menu. The sub actions can be null.
38
38
  */
39
39
  subActions?: Array<UiAction>;
40
+ /**
41
+ * The id of toolbar which this UiAction should be placed on.
42
+ */
43
+ toolbar?: string;
40
44
  }
@@ -10,8 +10,9 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
10
10
  private inject;
11
11
  private _destroy$;
12
12
  pressedButtonActive: boolean;
13
- uiActionModels: UiActionModel[];
13
+ uiActionModels?: UiActionModel[];
14
14
  uiActionDescriptorService?: UiActionDescriptorService;
15
+ id?: string;
15
16
  uiActionModelsWithDescriptions?: UiActionModel[];
16
17
  private manager;
17
18
  private languageChangedSubscription?;
@@ -30,5 +31,5 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
30
31
  getTooltipDelay(delay?: number): number;
31
32
  getTooltipHideDelay(delay?: number): number;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<UiActionToolbarComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<UiActionToolbarComponent, "smart-ui-action-toolbar", never, { "uiActionModels": "uiActionModels"; "uiActionDescriptorService": "uiActionDescriptorService"; }, {}, never, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiActionToolbarComponent, "smart-ui-action-toolbar", never, { "uiActionModels": "uiActionModels"; "uiActionDescriptorService": "uiActionDescriptorService"; "id": "id"; }, {}, never, never>;
34
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.3.28",
3
+ "version": "3.3.30",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file