@trudb/tru-common-lib 0.0.206 → 0.0.209

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,12 +1,12 @@
1
1
  export declare class TruPropertyConfigBase {
2
2
  constructor();
3
- IsNullable: boolean;
4
- CanDisplay: boolean;
5
- CanEdit: boolean;
6
- GlobalCache: boolean;
7
- UniqueConstraint: boolean;
8
- TypeName: string | undefined;
9
- FormatterName: string | undefined;
10
- Choices: any;
11
- Validation: string | undefined;
3
+ isNullable: boolean;
4
+ canDisplay: boolean;
5
+ canEdit: boolean;
6
+ globalCache: boolean;
7
+ uniqueConstraint: boolean;
8
+ typeName: string | undefined;
9
+ formatterName: string | undefined;
10
+ choices: any;
11
+ validation: string | undefined;
12
12
  }
@@ -1,9 +1,11 @@
1
1
  import { TruWindowEventHandler } from './tru-window-event-handler';
2
2
  import { TruWindowEventArgs } from './tru-window-event-args';
3
+ import { TruContextFilters } from "../../../services/tru-context-filters";
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class TruDesktopManager {
5
- private truWindowEventHandler;
6
- constructor(truWindowEventHandler: TruWindowEventHandler);
6
+ private contextFilters;
7
+ private windowEventHandler;
8
+ constructor(contextFilters: TruContextFilters, windowEventHandler: TruWindowEventHandler);
7
9
  getWindowEvent: (tableName: string, tablePluralName: string, tablePluralLabel: string, componentName: string, data: any) => TruWindowEventArgs;
8
10
  /**
9
11
  * Opens a window for a directive.
@@ -1,3 +1,4 @@
1
+ import { TruContextFilter } from '../../../classes/tru-context-filter';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class TruDesktopService {
3
4
  /**
@@ -82,10 +83,10 @@ export declare class WindowConfig {
82
83
  width: string;
83
84
  views: ViewConfig[];
84
85
  zIndex: number;
85
- context: any | undefined;
86
86
  isReadOnly: boolean;
87
87
  unsubscribes: Array<any>;
88
88
  wasReadOnly: boolean;
89
+ contextFilters: Array<TruContextFilter>;
89
90
  destroy: () => void;
90
91
  }
91
92
  /**
@@ -1,3 +1,4 @@
1
+ import { TruContextFilter } from '../../../classes/tru-context-filter';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class TruWindowEventArgs {
3
4
  title: string;
@@ -10,6 +11,7 @@ export declare class TruWindowEventArgs {
10
11
  height: string;
11
12
  width: string;
12
13
  views: Array<object>;
14
+ contextFilters: Array<TruContextFilter>;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TruWindowEventArgs, never>;
14
16
  static ɵprov: i0.ɵɵInjectableDeclaration<TruWindowEventArgs>;
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.0.206",
3
+ "version": "0.0.209",
4
4
  "type": "module",
5
5
  "peerDependencies": {},
6
6
  "dependencies": {