@trudb/tru-common-lib 0.1.228 → 0.1.231
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.
- package/esm2022/lib/components/card-column/classes/tru-card-column-config.mjs +2 -0
- package/esm2022/lib/components/card-column/classes/tru-card-column-data.mjs +3 -0
- package/esm2022/lib/components/card-column/tru-card-column.mjs +16 -17
- package/esm2022/lib/services/tru-report-manager.mjs +10 -7
- package/fesm2022/trudb-tru-common-lib.mjs +22 -20
- package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/components/card-column/classes/tru-card-column-config.d.ts +28 -0
- package/lib/components/card-column/classes/tru-card-column-data.d.ts +4 -0
- package/lib/components/card-column/tru-card-column.d.ts +3 -2
- package/lib/services/tru-report-manager.d.ts +4 -2
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TruReportConfig } from "../../../classes/tru-report-config";
|
|
2
|
+
import { TruEntityBase } from "../../../base-classes/tru-entity-base";
|
|
3
|
+
import { TruCardColumnData } from "./tru-card-column-data";
|
|
4
|
+
import { EntityQuery } from "breeze-client";
|
|
5
|
+
export interface ITruCardColumnConfig {
|
|
6
|
+
parentTableName: string;
|
|
7
|
+
key: string;
|
|
8
|
+
parentQuery: any;
|
|
9
|
+
lockProperty: string;
|
|
10
|
+
entityPluralName: string;
|
|
11
|
+
entityName: string;
|
|
12
|
+
columnSort: any;
|
|
13
|
+
color: string;
|
|
14
|
+
unassignedVisible: any;
|
|
15
|
+
unassignedName: string;
|
|
16
|
+
unassignedLocked: any;
|
|
17
|
+
unassignedColor: string;
|
|
18
|
+
unassignedDraggable: boolean;
|
|
19
|
+
unassignedDroppable: boolean;
|
|
20
|
+
inactiveVisible: boolean;
|
|
21
|
+
inactiveDraggable: boolean;
|
|
22
|
+
inactiveDroppable: boolean;
|
|
23
|
+
resultConfig: any;
|
|
24
|
+
reportConfig: TruReportConfig;
|
|
25
|
+
cardSort: (cards: Array<any>) => any;
|
|
26
|
+
data: (entity: TruEntityBase) => TruCardColumnData;
|
|
27
|
+
query: (breezeQuery: EntityQuery, propertyName: string) => any;
|
|
28
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { TruDataContext } from '../../services/tru-data-context';
|
|
2
2
|
import { TruModelTypeLookup } from '../../services/tru-model-type-lookup';
|
|
3
|
+
import { ITruCardColumnConfig } from './classes/tru-card-column-config';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TruCardColumn {
|
|
5
6
|
private dataContext;
|
|
6
7
|
private modelTypeLookup;
|
|
7
|
-
config:
|
|
8
|
+
config: ITruCardColumnConfig;
|
|
8
9
|
portal: HTMLDivElement;
|
|
9
10
|
private parentTableName;
|
|
10
11
|
private key;
|
|
@@ -13,7 +14,6 @@ export declare class TruCardColumn {
|
|
|
13
14
|
private entityPluralName;
|
|
14
15
|
private entityName;
|
|
15
16
|
private columnSort;
|
|
16
|
-
private cardSort;
|
|
17
17
|
private color;
|
|
18
18
|
private unassignedVisible;
|
|
19
19
|
private unassignedName;
|
|
@@ -31,6 +31,7 @@ export declare class TruCardColumn {
|
|
|
31
31
|
private columnFilterRefs;
|
|
32
32
|
private cardFilterStr;
|
|
33
33
|
private uniqueId;
|
|
34
|
+
private busyMessage;
|
|
34
35
|
columns: any;
|
|
35
36
|
lockedColumns: any;
|
|
36
37
|
constructor(dataContext: TruDataContext, modelTypeLookup: TruModelTypeLookup);
|
|
@@ -3,17 +3,19 @@ import { TruDataContext } from './tru-data-context';
|
|
|
3
3
|
import { TruModelTypeLookup } from './tru-model-type-lookup';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { TruAppEnvironment } from './tru-app-environment';
|
|
6
|
+
import { TruActionInvoke } from './tru-action-invoke';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TruReportManager {
|
|
8
9
|
private dataContext;
|
|
9
10
|
private modelTypeLookup;
|
|
10
11
|
private appEnvironment;
|
|
12
|
+
private actionInvoke;
|
|
11
13
|
private user;
|
|
12
|
-
constructor(dataContext: TruDataContext, modelTypeLookup: TruModelTypeLookup, appEnvironment: TruAppEnvironment, user: TruUser);
|
|
14
|
+
constructor(dataContext: TruDataContext, modelTypeLookup: TruModelTypeLookup, appEnvironment: TruAppEnvironment, actionInvoke: TruActionInvoke, user: TruUser);
|
|
13
15
|
private setupMenuImpl;
|
|
14
16
|
get(url: string, method: string, callback: (o: any) => any, params?: null): XMLHttpRequest;
|
|
15
17
|
private setupMenu;
|
|
16
|
-
queryReports: (tableName: string, menu: any, getActionRefs: string, enabled: () => {}) => Observable<any>;
|
|
18
|
+
queryReports: (tableName: string, menu: any, getActionRefs: () => string, enabled: () => {}) => Observable<any>;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TruReportManager, never>;
|
|
18
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<TruReportManager>;
|
|
19
21
|
}
|