@trudb/tru-common-lib 0.1.435 → 0.1.438
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/search/tru-search-view-base.mjs +8 -4
- package/esm2022/lib/components/data-grid/tru-data-grid.mjs +6 -6
- package/esm2022/lib/components/desktop/services/tru-desktop-manager.mjs +6 -1
- package/esm2022/lib/components/desktop/services/tru-window-event-handler.mjs +4 -1
- package/fesm2022/trudb-tru-common-lib.mjs +126 -114
- package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/base-views/search/tru-search-view-base.d.ts +1 -1
- package/lib/components/data-grid/tru-data-grid.d.ts +8 -8
- package/lib/components/desktop/services/tru-desktop-manager.d.ts +2 -0
- package/lib/components/desktop/services/tru-window-event-handler.d.ts +1 -0
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ export declare class TruSearchViewBase {
|
|
|
28
28
|
pinned: boolean;
|
|
29
29
|
};
|
|
30
30
|
constructor(desktopManager: TruDesktopManager, windowEventHandler: TruWindowEventHandler);
|
|
31
|
-
setWindowTitle(): void;
|
|
31
|
+
setWindowTitle(title?: string | undefined): void;
|
|
32
32
|
releaseWindowTitle(): void;
|
|
33
33
|
onPkeyCellDoubleClicked: (gridConfig: any) => void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TruSearchViewBase, never>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, ApplicationRef, OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ColDef } from 'ag-grid-community';
|
|
3
3
|
import { TruSearchViewEventHandler } from '../../base-views/search/services/tru-search-view-event-handler';
|
|
4
|
+
import { TruAppEnvironment } from '../../services/tru-app-environment';
|
|
5
|
+
import { TruConnectionHub } from '../../services/tru-connection-hub';
|
|
4
6
|
import { TruDataContext } from '../../services/tru-data-context';
|
|
7
|
+
import { TruSearchResultViewManager } from '../../services/tru-search-result-view-manager';
|
|
5
8
|
import { TruUiNotification } from '../../services/tru-ui-notification';
|
|
9
|
+
import { TruUtil } from '../../services/tru-util';
|
|
10
|
+
import { TruTabGroupEventNotifier } from '../layout/tab/services/tru-tab-group-event-notifier';
|
|
11
|
+
import { ITruToolbarDropdownOption } from '../toolbar/classes/tru-toolbar-dropdown-option';
|
|
6
12
|
import { ITruDataGridConfig } from './classes/tru-data-grid-config';
|
|
7
13
|
import { TruDataGridTypes } from './enums/tru-data-grid-types';
|
|
8
|
-
import { ITruToolbarDropdownOption } from '../toolbar/classes/tru-toolbar-dropdown-option';
|
|
9
|
-
import { TruSearchResultViewManager } from '../../services/tru-search-result-view-manager';
|
|
10
|
-
import { TruConnectionHub } from '../../services/tru-connection-hub';
|
|
11
|
-
import { ColDef } from 'ag-grid-community';
|
|
12
|
-
import { TruTabGroupEventNotifier } from '../layout/tab/services/tru-tab-group-event-notifier';
|
|
13
|
-
import { TruUtil } from '../../services/tru-util';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class TruDataGrid implements OnInit, OnChanges, AfterViewInit {
|
|
16
16
|
private dataContext;
|
|
@@ -18,6 +18,8 @@ export declare class TruDesktopManager {
|
|
|
18
18
|
*/
|
|
19
19
|
addWindow: (tableName: string, tablePluralName: string, tablePluralLabel: string, componentName: string, entities?: Array<TruEntityBase>, openAsDetaiView?: boolean, showNavigation?: boolean, showIfExists?: boolean) => void;
|
|
20
20
|
addWindowForQueryResult: (tableName: string, tablePluralName: string, tablePluralLabel: string, componentName: string, entities?: Array<TruEntityBase>, openAsDetaiView?: boolean, showNavigation?: boolean, showIfExists?: boolean) => void;
|
|
21
|
+
addCustomWindow: (componentName: string, data?: object | null) => void;
|
|
22
|
+
addCustomView: (componentName: string) => void;
|
|
21
23
|
windowTitlesByBaseText: any;
|
|
22
24
|
/**
|
|
23
25
|
* Returns a unique string for the base name of a window. At first, returns the input.
|
|
@@ -9,6 +9,7 @@ export declare class TruWindowEventHandler {
|
|
|
9
9
|
private removeForwadViews$;
|
|
10
10
|
onOpen(): Subject<TruWindowEventArgs>;
|
|
11
11
|
open(windowEvent: TruWindowEventArgs): void;
|
|
12
|
+
openCustom(windowEvent: TruWindowEventArgs): void;
|
|
12
13
|
onAddView(): Subject<TruDesktopViewConfig>;
|
|
13
14
|
addView(windowAddViewEvent: TruDesktopViewConfig): void;
|
|
14
15
|
onRemoveForwardViews(): Subject<null>;
|