@trudb/tru-common-lib 0.1.710 → 0.1.712
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/base-views/detail/tru-detail-view-base.mjs +11 -10
- package/esm2022/lib/base-views/search-result/tru-search-result-view-base.mjs +4 -4
- package/fesm2022/trudb-tru-common-lib.mjs +13 -12
- package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/base-views/detail/tru-detail-view-base.d.ts +8 -5
- package/lib/base-views/search-result/tru-search-result-view-base.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
1
|
import { Subscription } from 'rxjs';
|
|
3
2
|
import { TruDesktopViewConfig } from '../../components/desktop/classes/tru-desktop-view-config';
|
|
4
3
|
import { TruWindowEventHandler } from '../../components/desktop/services/tru-window-event-handler';
|
|
@@ -18,10 +17,14 @@ export declare class TruDetailViewBase {
|
|
|
18
17
|
protected windowEventHandler: TruWindowEventHandler;
|
|
19
18
|
protected desktopViewEventNotifier: TruDesktopViewEventNotifier;
|
|
20
19
|
protected util: TruUtil;
|
|
21
|
-
private cdRef;
|
|
22
20
|
view: TruDesktopViewConfig;
|
|
23
21
|
private childUpdateFn;
|
|
24
|
-
tableName:
|
|
22
|
+
protected tableName: string;
|
|
23
|
+
protected tablePluralName: string;
|
|
24
|
+
protected tablePluralLabel: string;
|
|
25
|
+
protected parentTableName: string;
|
|
26
|
+
protected parentTablePluralName: string;
|
|
27
|
+
protected parentTablePluralLabel: string;
|
|
25
28
|
entities: Array<any>;
|
|
26
29
|
entity: any;
|
|
27
30
|
entityType: any;
|
|
@@ -31,7 +34,7 @@ export declare class TruDetailViewBase {
|
|
|
31
34
|
navigationIndex: number;
|
|
32
35
|
recordsBeforeRevert: number;
|
|
33
36
|
subs: Array<Subscription>;
|
|
34
|
-
constructor(dataContext: TruDataContext, appEnvironment: TruAppEnvironment, textManager: TruTextManager, desktopManager: TruDesktopManager, windowEventHandler: TruWindowEventHandler, desktopViewEventNotifier: TruDesktopViewEventNotifier, util: TruUtil
|
|
37
|
+
constructor(dataContext: TruDataContext, appEnvironment: TruAppEnvironment, textManager: TruTextManager, desktopManager: TruDesktopManager, windowEventHandler: TruWindowEventHandler, desktopViewEventNotifier: TruDesktopViewEventNotifier, util: TruUtil);
|
|
35
38
|
private calculateNextIndex;
|
|
36
39
|
onAddEntity: (newEntity: any) => void;
|
|
37
40
|
onCloneEntity: () => void;
|
|
@@ -45,6 +48,6 @@ export declare class TruDetailViewBase {
|
|
|
45
48
|
subscribe(): void;
|
|
46
49
|
setNavigationIndex(index: number): void;
|
|
47
50
|
setEntityDisplayValues(tableName: string): void;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TruDetailViewBase,
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruDetailViewBase, never>;
|
|
49
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<TruDetailViewBase, "tru-detail-view-base", never, { "view": { "alias": "view"; "required": false; }; }, {}, never, never, false, never>;
|
|
50
53
|
}
|
|
@@ -8,9 +8,9 @@ export declare class TruSearchResultViewBase {
|
|
|
8
8
|
protected tableName: string;
|
|
9
9
|
protected tablePluralName: string;
|
|
10
10
|
protected tablePluralLabel: string;
|
|
11
|
-
protected parentTableName: string;
|
|
12
|
-
protected parentTablePluralName: string;
|
|
13
|
-
protected parentTablePluralLabel: string;
|
|
11
|
+
protected parentTableName: string | undefined;
|
|
12
|
+
protected parentTablePluralName: string | undefined;
|
|
13
|
+
protected parentTablePluralLabel: string | undefined;
|
|
14
14
|
protected hasDetailView: boolean;
|
|
15
15
|
searchPanelConfig: {
|
|
16
16
|
side: string;
|