@trudb/tru-common-lib 0.0.177 → 0.0.181
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/esm2020/lib/components/confirm-dialog/tru-confirm-dialog-module.mjs +19 -0
- package/esm2020/lib/components/confirm-dialog/tru-confirm-dialog.mjs +36 -0
- package/esm2020/lib/components/desktop/directives/resizable/tru-desktop-resizable-module.mjs +19 -0
- package/esm2020/lib/components/desktop/directives/resizable/tru-desktop-resizable.mjs +109 -0
- package/esm2020/lib/components/desktop/menubar/tru-desktop-menubar-module.mjs +44 -0
- package/esm2020/lib/components/desktop/menubar/tru-desktop-menubar.mjs +29 -0
- package/esm2020/lib/components/desktop/services/tru-desktop-service.mjs +136 -0
- package/esm2020/lib/components/desktop/statusbar/tru-desktop-statusbar-module.mjs +19 -0
- package/esm2020/lib/components/desktop/statusbar/tru-desktop-statusbar.mjs +18 -0
- package/esm2020/lib/components/desktop/taskbar/tru-desktop-taskbar-module.mjs +21 -0
- package/esm2020/lib/components/desktop/taskbar/tru-desktop-taskbar.mjs +40 -0
- package/esm2020/lib/components/desktop/tru-desktop-module.mjs +72 -0
- package/esm2020/lib/components/desktop/tru-desktop.mjs +703 -0
- package/esm2020/lib/components/desktop/view/tru-desktop-view-module.mjs +19 -0
- package/esm2020/lib/components/desktop/view/tru-desktop-view.mjs +25 -0
- package/esm2020/lib/components/desktop/viewport/tru-desktop-viewport-module.mjs +20 -0
- package/esm2020/lib/components/desktop/viewport/tru-desktop-viewport.mjs +109 -0
- package/esm2020/lib/components/desktop/window/tru-desktop-window-module.mjs +58 -0
- package/esm2020/lib/components/desktop/window/tru-desktop-window.mjs +449 -0
- package/esm2020/lib/components/export-dialog/tru-export-dialog-module.mjs +20 -0
- package/esm2020/lib/components/export-dialog/tru-export-dialog.mjs +57 -0
- package/esm2020/lib/components/toolbar/button/tru-toolbar-button-module.mjs +32 -0
- package/esm2020/lib/components/toolbar/button/tru-toolbar-button.mjs +35 -0
- package/esm2020/lib/components/toolbar/context-filter/tru-toolbar-context-filter-module.mjs +40 -0
- package/esm2020/lib/components/toolbar/context-filter/tru-toolbar-context-filter.mjs +24 -0
- package/esm2020/lib/components/toolbar/dropdown/tru-toolbar-dropdown-module.mjs +32 -0
- package/esm2020/lib/components/toolbar/dropdown/tru-toolbar-dropdown.mjs +42 -0
- package/esm2020/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button-module.mjs +19 -0
- package/esm2020/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.mjs +16 -0
- package/esm2020/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item-module.mjs +19 -0
- package/esm2020/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.mjs +26 -0
- package/esm2020/lib/components/toolbar/menu/tru-toolbar-menu-module.mjs +32 -0
- package/esm2020/lib/components/toolbar/menu/tru-toolbar-menu.mjs +33 -0
- package/esm2020/lib/components/toolbar/separator/tru-toolbar-separator-module.mjs +19 -0
- package/esm2020/lib/components/toolbar/separator/tru-toolbar-separator.mjs +12 -0
- package/esm2020/lib/components/toolbar/text/tru-toolbar-text-module.mjs +32 -0
- package/esm2020/lib/components/toolbar/text/tru-toolbar-text.mjs +28 -0
- package/esm2020/lib/components/toolbar/tru-toolbar-module.mjs +66 -0
- package/esm2020/lib/components/toolbar/tru-toolbar.mjs +21 -0
- package/esm2020/lib/material.module.mjs +192 -0
- package/esm2020/lib/services/tru-app-environment.mjs +75 -0
- package/esm2020/lib/services/tru-breeze-context-factory.mjs +71 -0
- package/esm2020/lib/services/tru-data-context.mjs +207 -0
- package/esm2020/lib/services/tru-entity-accessor.mjs +188 -0
- package/esm2020/lib/services/tru-predicate-map.mjs +11 -0
- package/esm2020/lib/services/tru-search-group-event-handler.mjs +1 -1
- package/esm2020/lib/services/tru-text-manager.mjs +134 -0
- package/esm2020/lib/services/tru-ui-notification.mjs +90 -0
- package/esm2020/lib/services/tru-user.mjs +54 -0
- package/esm2020/lib/tru-common-module.mjs +1 -1
- package/esm2020/public-api.mjs +33 -2
- package/fesm2015/trudb-tru-common-lib.mjs +3203 -65
- package/fesm2015/trudb-tru-common-lib.mjs.map +1 -1
- package/fesm2020/trudb-tru-common-lib.mjs +3197 -65
- package/fesm2020/trudb-tru-common-lib.mjs.map +1 -1
- package/lib/components/confirm-dialog/tru-confirm-dialog-module.d.ts +9 -0
- package/lib/components/confirm-dialog/tru-confirm-dialog.d.ts +20 -0
- package/lib/components/desktop/directives/resizable/tru-desktop-resizable-module.d.ts +9 -0
- package/lib/components/desktop/directives/resizable/tru-desktop-resizable.d.ts +32 -0
- package/lib/components/desktop/menubar/tru-desktop-menubar-module.d.ts +14 -0
- package/lib/components/desktop/menubar/tru-desktop-menubar.d.ts +12 -0
- package/lib/components/desktop/services/tru-desktop-service.d.ts +110 -0
- package/lib/components/desktop/statusbar/tru-desktop-statusbar-module.d.ts +9 -0
- package/lib/components/desktop/statusbar/tru-desktop-statusbar.d.ts +10 -0
- package/lib/components/desktop/taskbar/tru-desktop-taskbar-module.d.ts +11 -0
- package/lib/components/desktop/taskbar/tru-desktop-taskbar.d.ts +15 -0
- package/lib/components/desktop/tru-desktop-module.d.ts +20 -0
- package/lib/components/desktop/tru-desktop.d.ts +334 -0
- package/lib/components/desktop/view/tru-desktop-view-module.d.ts +9 -0
- package/lib/components/desktop/view/tru-desktop-view.d.ts +13 -0
- package/lib/components/desktop/viewport/tru-desktop-viewport-module.d.ts +10 -0
- package/lib/components/desktop/viewport/tru-desktop-viewport.d.ts +46 -0
- package/lib/components/desktop/window/tru-desktop-window-module.d.ts +17 -0
- package/lib/components/desktop/window/tru-desktop-window.d.ts +184 -0
- package/lib/components/export-dialog/tru-export-dialog-module.d.ts +10 -0
- package/lib/components/export-dialog/tru-export-dialog.d.ts +26 -0
- package/lib/components/toolbar/button/tru-toolbar-button-module.d.ts +11 -0
- package/lib/components/toolbar/button/tru-toolbar-button.d.ts +14 -0
- package/lib/components/toolbar/context-filter/tru-toolbar-context-filter-module.d.ts +13 -0
- package/lib/components/toolbar/context-filter/tru-toolbar-context-filter.d.ts +11 -0
- package/lib/components/toolbar/dropdown/tru-toolbar-dropdown-module.d.ts +11 -0
- package/lib/components/toolbar/dropdown/tru-toolbar-dropdown.d.ts +18 -0
- package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button-module.d.ts +9 -0
- package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.d.ts +7 -0
- package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item-module.d.ts +9 -0
- package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.d.ts +8 -0
- package/lib/components/toolbar/menu/tru-toolbar-menu-module.d.ts +11 -0
- package/lib/components/toolbar/menu/tru-toolbar-menu.d.ts +10 -0
- package/lib/components/toolbar/separator/tru-toolbar-separator-module.d.ts +9 -0
- package/lib/components/toolbar/separator/tru-toolbar-separator.d.ts +6 -0
- package/lib/components/toolbar/text/tru-toolbar-text-module.d.ts +11 -0
- package/lib/components/toolbar/text/tru-toolbar-text.d.ts +12 -0
- package/lib/components/toolbar/tru-toolbar-module.d.ts +15 -0
- package/lib/components/toolbar/tru-toolbar.d.ts +13 -0
- package/lib/material.module.d.ts +50 -0
- package/lib/services/tru-app-environment.d.ts +48 -0
- package/lib/services/tru-breeze-context-factory.d.ts +30 -0
- package/lib/services/tru-data-context.d.ts +32 -0
- package/lib/services/tru-entity-accessor.d.ts +41 -0
- package/lib/services/tru-predicate-map.d.ts +6 -0
- package/lib/services/tru-text-manager.d.ts +68 -0
- package/lib/services/tru-ui-notification.d.ts +35 -0
- package/lib/services/tru-user.d.ts +21 -0
- package/package.json +1 -1
- package/public-api.d.ts +29 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruDesktopViewport implements OnInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
windows: any;
|
|
6
|
+
desktopCtrl: any;
|
|
7
|
+
options: any;
|
|
8
|
+
constructor(elementRef: ElementRef);
|
|
9
|
+
getViewportDimensions: () => any;
|
|
10
|
+
mouseMove: (event: any) => void;
|
|
11
|
+
mouseUp: (event: any) => void;
|
|
12
|
+
dimensions: any;
|
|
13
|
+
showFillOutline: boolean;
|
|
14
|
+
showLeftOutline: boolean;
|
|
15
|
+
showRightOutline: boolean;
|
|
16
|
+
displayViewportDimensions: boolean;
|
|
17
|
+
logoUrl: undefined;
|
|
18
|
+
viewportMouseDown: (event: any) => void;
|
|
19
|
+
/**
|
|
20
|
+
* @tru.doc $watch function
|
|
21
|
+
* @name truDesktopViewportComponent.visibilityWatch
|
|
22
|
+
* @module tru.desktop.viewport
|
|
23
|
+
* @function
|
|
24
|
+
*
|
|
25
|
+
* @description
|
|
26
|
+
* Monitors for visibility changes. This method is responsible for updating the viewport
|
|
27
|
+
* dimensions in situations where the viewport is initially hidden.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* @tru.doc window.resize
|
|
32
|
+
* @name truDesktopViewportComponent.resize
|
|
33
|
+
* @module tru.desktop.viewport
|
|
34
|
+
* @function
|
|
35
|
+
*
|
|
36
|
+
* @description
|
|
37
|
+
* This method is responsible for updating the viewport dimensions when the
|
|
38
|
+
* browser window has been re-sized.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
onResize(event: any): void;
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnDestroy(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktopViewport, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktopViewport, "tru-desktop-viewport", never, { "windows": "windows"; "desktopCtrl": "desktopCtrl"; }, {}, never, never, false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-desktop-window";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "../directives/resizable/tru-desktop-resizable-module";
|
|
8
|
+
import * as i7 from "../view/tru-desktop-view-module";
|
|
9
|
+
import * as i8 from "../statusbar/tru-desktop-statusbar-module";
|
|
10
|
+
import * as i9 from "../../toolbar/tru-toolbar-module";
|
|
11
|
+
import * as i10 from "../../toolbar/button/tru-toolbar-button-module";
|
|
12
|
+
import * as i11 from "../../toolbar/separator/tru-toolbar-separator-module";
|
|
13
|
+
export declare class TruDesktopWindowModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktopWindowModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruDesktopWindowModule, [typeof i1.TruDesktopWindow], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.TruDesktopResizableModule, typeof i7.TruDesktopViewModule, typeof i8.TruDesktopStatusbarModule, typeof i9.TruToolbarModule, typeof i10.TruToolbarButtonModule, typeof i11.TruToolbarSeparatorModule], [typeof i1.TruDesktopWindow]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruDesktopWindowModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { TruDataContext } from '../../../services/tru-data-context';
|
|
3
|
+
import { TruWindowEventHandler } from '../../../services/tru-window-event-handler';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TruDesktopWindow implements OnInit, AfterViewInit {
|
|
6
|
+
private dataContext;
|
|
7
|
+
private truWindowEventHandler;
|
|
8
|
+
private elementRef;
|
|
9
|
+
private cd;
|
|
10
|
+
window: any;
|
|
11
|
+
viewportCtrl: any;
|
|
12
|
+
desktopCtrl: any;
|
|
13
|
+
constructor(dataContext: TruDataContext, truWindowEventHandler: TruWindowEventHandler, elementRef: ElementRef, cd: ChangeDetectorRef);
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
lastX: number;
|
|
17
|
+
lastY: number;
|
|
18
|
+
startX: number;
|
|
19
|
+
startY: number;
|
|
20
|
+
titleBar: HTMLElement | null;
|
|
21
|
+
canCloseFn: undefined;
|
|
22
|
+
canNavigateFn: () => boolean;
|
|
23
|
+
cancelEditingOnNavigation: boolean;
|
|
24
|
+
viewportDimensions: any;
|
|
25
|
+
hasChanges: () => number;
|
|
26
|
+
mouseMove: (event: MouseEvent) => void;
|
|
27
|
+
mouseUp: (event: MouseEvent) => void;
|
|
28
|
+
/**
|
|
29
|
+
* @tru.doc function
|
|
30
|
+
* @name truDesktopWindowComponent.updateNavigationState
|
|
31
|
+
* @module tru.desktop.window
|
|
32
|
+
*
|
|
33
|
+
* @description
|
|
34
|
+
* Updates window navigation buttons based location of the active view in the views array.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
updateNavigationState: () => void;
|
|
38
|
+
/**
|
|
39
|
+
* @tru.doc function
|
|
40
|
+
* @name truDesktopWindowComponent.isWindowInViewport
|
|
41
|
+
* @module tru.desktop.window
|
|
42
|
+
*
|
|
43
|
+
* @description
|
|
44
|
+
* Determines if the window is within the viewport boundaries.
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
isWindowInViewport: () => void;
|
|
48
|
+
/**
|
|
49
|
+
* @tru.doc function
|
|
50
|
+
* @name truDesktopWindowComponent.getWindow
|
|
51
|
+
* @module tru.desktop.window
|
|
52
|
+
*
|
|
53
|
+
* @description
|
|
54
|
+
* Gets the window object.
|
|
55
|
+
*
|
|
56
|
+
* @returns {object} window object.
|
|
57
|
+
*/
|
|
58
|
+
getWindow: () => any;
|
|
59
|
+
/**
|
|
60
|
+
* @tru.doc function
|
|
61
|
+
* @name truDesktopWindowComponent.setWindowTitle
|
|
62
|
+
* @module tru.desktop.window
|
|
63
|
+
*
|
|
64
|
+
* @description
|
|
65
|
+
* Sets the window title.
|
|
66
|
+
*
|
|
67
|
+
* @param {string} value to display in the window title bar.
|
|
68
|
+
*/
|
|
69
|
+
setWindowTitle: (value: string) => void;
|
|
70
|
+
getWindowTitle: () => any;
|
|
71
|
+
/**
|
|
72
|
+
* @tru.doc function
|
|
73
|
+
* @name truDesktopWindowComponent.goToPreviousView
|
|
74
|
+
* @module tru.desktop.window
|
|
75
|
+
*
|
|
76
|
+
* @description
|
|
77
|
+
* Public method for navigating to the previous view.
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
goToPreviousView: () => void;
|
|
81
|
+
/**
|
|
82
|
+
* @tru.doc function
|
|
83
|
+
* @name truDesktopWindowComponent.viewIsEditing
|
|
84
|
+
* @module tru.desktop.window
|
|
85
|
+
*
|
|
86
|
+
* @description
|
|
87
|
+
* Checks whether view is editing.
|
|
88
|
+
*
|
|
89
|
+
* @returns {boolean}.
|
|
90
|
+
*/
|
|
91
|
+
viewIsEditing: () => boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @tru.doc function
|
|
94
|
+
* @name truDesktopWindowComponent.canNavigate
|
|
95
|
+
* @module tru.desktop.window
|
|
96
|
+
*
|
|
97
|
+
* @description
|
|
98
|
+
* Checks whether navigation can occur..
|
|
99
|
+
*
|
|
100
|
+
* @returns {boolean}.
|
|
101
|
+
*/
|
|
102
|
+
canNavigate: () => boolean;
|
|
103
|
+
/**
|
|
104
|
+
* @tru.doc function
|
|
105
|
+
* @name truDesktopWindowComponent.removeForwardViews
|
|
106
|
+
* @module tru.desktop.window
|
|
107
|
+
*
|
|
108
|
+
* @description
|
|
109
|
+
* Removes all view(s) forward of the active view.
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
removeForwardViews: () => void;
|
|
113
|
+
/**
|
|
114
|
+
* @tru.doc function
|
|
115
|
+
* @name truDesktopWindowComponent.addView
|
|
116
|
+
* @module tru.desktop.window
|
|
117
|
+
*
|
|
118
|
+
* @description
|
|
119
|
+
* Removes all inactive view(s) following the active view and inserts a new view.
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
addView: (viewConfigOverlay: any) => void;
|
|
123
|
+
/**
|
|
124
|
+
* @tru.doc function
|
|
125
|
+
* @name truDesktopWindowComponent.getGlobals
|
|
126
|
+
* @module tru.desktop.window
|
|
127
|
+
*
|
|
128
|
+
* @description
|
|
129
|
+
* returns the global values.
|
|
130
|
+
*
|
|
131
|
+
*/
|
|
132
|
+
getGlobals: () => any;
|
|
133
|
+
/**
|
|
134
|
+
* @tru.doc function
|
|
135
|
+
* @name truDesktopWindowComponent.firstView
|
|
136
|
+
* @module tru.desktop.window
|
|
137
|
+
*
|
|
138
|
+
* @description
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
firstView: () => void;
|
|
142
|
+
/**
|
|
143
|
+
* @tru.doc function
|
|
144
|
+
* @name truDesktopWindowComponent.firstView
|
|
145
|
+
* @module tru.desktop.window
|
|
146
|
+
*
|
|
147
|
+
* @description
|
|
148
|
+
*
|
|
149
|
+
*/
|
|
150
|
+
lastView: () => void;
|
|
151
|
+
resizeEventHandler: () => void;
|
|
152
|
+
/**
|
|
153
|
+
* @tru.doc event
|
|
154
|
+
* @module tru.desktop.window
|
|
155
|
+
*
|
|
156
|
+
* @description
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
onKeydown(event: MouseEvent): void;
|
|
160
|
+
/**
|
|
161
|
+
* @tru.doc watch
|
|
162
|
+
* @module tru.desktop.window
|
|
163
|
+
*
|
|
164
|
+
* @description
|
|
165
|
+
* Monitors the window's minimized state
|
|
166
|
+
*
|
|
167
|
+
*/
|
|
168
|
+
disablePrevious: boolean;
|
|
169
|
+
disableNext: boolean;
|
|
170
|
+
activate: () => void;
|
|
171
|
+
minimize: () => void;
|
|
172
|
+
maximize: () => void;
|
|
173
|
+
close: () => void;
|
|
174
|
+
windowTitleMouseDown: (event: MouseEvent) => void;
|
|
175
|
+
previousView: () => void;
|
|
176
|
+
nextView: () => void;
|
|
177
|
+
save: () => void;
|
|
178
|
+
revert: () => void;
|
|
179
|
+
ngOnInit(): void;
|
|
180
|
+
ngAfterViewInit(): void;
|
|
181
|
+
ngOnDestroy(): void;
|
|
182
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktopWindow, never>;
|
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktopWindow, "tru-desktop-window", never, { "window": "window"; "viewportCtrl": "viewportCtrl"; "desktopCtrl": "desktopCtrl"; }, {}, never, never, false, never>;
|
|
184
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-export-dialog";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/checkbox";
|
|
6
|
+
export declare class TruExportDialogModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruExportDialogModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruExportDialogModule, [typeof i1.TruExportDialog], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatCheckboxModule], [typeof i1.TruExportDialog]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruExportDialogModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TruExportDialog implements OnInit {
|
|
5
|
+
dialogRef: MatDialogRef<TruExportDialog>;
|
|
6
|
+
data: TruExportDialog;
|
|
7
|
+
title: string;
|
|
8
|
+
constructor(dialogRef: MatDialogRef<TruExportDialog>, data: TruExportDialog);
|
|
9
|
+
options: {
|
|
10
|
+
useGrid: boolean;
|
|
11
|
+
useNames: boolean;
|
|
12
|
+
useEmptyTags: boolean;
|
|
13
|
+
async: boolean;
|
|
14
|
+
};
|
|
15
|
+
onFormatForImportChecked: () => void;
|
|
16
|
+
onConfirm(): void;
|
|
17
|
+
onDismiss(): void;
|
|
18
|
+
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruExportDialog, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruExportDialog, "tru-export-dialog", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
23
|
+
export declare class TruExportDialogConfig {
|
|
24
|
+
title: string;
|
|
25
|
+
constructor(title: string);
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-button";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
export declare class TruToolbarButtonModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarButtonModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarButtonModule, [typeof i1.TruToolbarButton], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatButtonModule, typeof i5.MatIconModule], [typeof i1.TruToolbarButton]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarButtonModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruToolbarButton implements OnInit {
|
|
4
|
+
config: [] | null;
|
|
5
|
+
icon: string;
|
|
6
|
+
text: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
tooltip: string | null;
|
|
9
|
+
onClick: EventEmitter<any>;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarButton, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarButton, "tru-toolbar-button", never, { "config": "config"; "icon": "icon"; "text": "text"; "disabled": "disabled"; "tooltip": "tooltip"; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-context-filter";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/select";
|
|
6
|
+
import * as i5 from "@angular/material/core";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
import * as i7 from "@angular/material/icon";
|
|
9
|
+
export declare class TruToolbarContextFilterModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarContextFilterModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarContextFilterModule, [typeof i1.TruToolbarContextFilter], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatSelectModule, typeof i5.MatOptionModule, typeof i6.MatInputModule, typeof i7.MatIconModule], [typeof i1.TruToolbarContextFilter]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarContextFilterModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruToolbarContextFilter implements OnInit {
|
|
4
|
+
config: [] | null;
|
|
5
|
+
filters: Array<any>;
|
|
6
|
+
selected: any;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarContextFilter, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarContextFilter, "tru-toolbar-context-filter", never, { "config": "config"; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-dropdown";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/select";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
export declare class TruToolbarDropdownModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarDropdownModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarDropdownModule, [typeof i1.TruToolbarDropdown], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatSelectModule, typeof i5.MatIconModule], [typeof i1.TruToolbarDropdown]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarDropdownModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MatSelectChange } from '@angular/material/select';
|
|
3
|
+
import { ITruToolbarDropdownOption } from '../tru-toolbar';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TruToolbarDropdown implements OnInit, AfterViewInit {
|
|
6
|
+
config: [] | null;
|
|
7
|
+
options: Array<ITruToolbarDropdownOption>;
|
|
8
|
+
selectedOption: ITruToolbarDropdownOption;
|
|
9
|
+
selectedOptionChange: EventEmitter<ITruToolbarDropdownOption>;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
selectionChange: EventEmitter<ITruToolbarDropdownOption | null>;
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
onSelectionChange: (event: MatSelectChange) => void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarDropdown, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarDropdown, "tru-toolbar-dropdown", never, { "config": "config"; "options": "options"; "selectedOption": "selectedOption"; "disabled": "disabled"; }, { "selectedOptionChange": "selectedOptionChange"; "selectionChange": "selectionChange"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-menu-button";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class TruToolbarMenuButtonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarMenuButtonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarMenuButtonModule, [typeof i1.TruToolbarMenuButton], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.TruToolbarMenuButton]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarMenuButtonModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruToolbarMenuButton {
|
|
3
|
+
config: any;
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarMenuButton, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarMenuButton, "tru-toolbar-menu-button", never, { "config": "config"; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-menu-item";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class TruToolbarMenuItemModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarMenuItemModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarMenuItemModule, [typeof i1.TruToolbarMenuItem], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.TruToolbarMenuItem]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarMenuItemModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruToolbarMenuItem {
|
|
3
|
+
config: any;
|
|
4
|
+
constructor();
|
|
5
|
+
onClick: (event: Event) => void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarMenuItem, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarMenuItem, "tru-toolbar-menu-item", never, { "config": "config"; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-menu";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "./menu-item/tru-toolbar-menu-item-module";
|
|
6
|
+
import * as i5 from "./menu-button/tru-toolbar-menu-button-module";
|
|
7
|
+
export declare class TruToolbarMenuModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarMenuModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarMenuModule, [typeof i1.TruToolbarMenu], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TruToolbarMenuItemModule, typeof i5.TruToolbarMenuButtonModule], [typeof i1.TruToolbarMenu]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarMenuModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruToolbarMenu {
|
|
3
|
+
config: any;
|
|
4
|
+
constructor();
|
|
5
|
+
onDocumentClick: (event: Event) => void;
|
|
6
|
+
ngAfterViewInit(): void;
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarMenu, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarMenu, "tru-toolbar-menu", never, { "config": "config"; }, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-separator";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class TruToolbarSeparatorModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarSeparatorModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarSeparatorModule, [typeof i1.TruToolbarSeparator], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.TruToolbarSeparator]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarSeparatorModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TruToolbarSeparator {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarSeparator, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarSeparator, "tru-toolbar-separator", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar-text";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/button";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
export declare class TruToolbarTextModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarTextModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarTextModule, [typeof i1.TruToolbarText], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatButtonModule, typeof i5.MatIconModule], [typeof i1.TruToolbarText]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarTextModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruToolbarText implements OnInit {
|
|
4
|
+
config: [] | null;
|
|
5
|
+
icon: string;
|
|
6
|
+
text: string | null;
|
|
7
|
+
tooltip: string | null;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarText, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarText, "tru-toolbar-text", never, { "config": "config"; "icon": "icon"; "text": "text"; "tooltip": "tooltip"; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tru-toolbar";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "./menu/tru-toolbar-menu-module";
|
|
6
|
+
import * as i5 from "./button/tru-toolbar-button-module";
|
|
7
|
+
import * as i6 from "./dropdown/tru-toolbar-dropdown-module";
|
|
8
|
+
import * as i7 from "./separator/tru-toolbar-separator-module";
|
|
9
|
+
import * as i8 from "./context-filter/tru-toolbar-context-filter-module";
|
|
10
|
+
import * as i9 from "./text/tru-toolbar-text-module";
|
|
11
|
+
export declare class TruToolbarModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TruToolbarModule, [typeof i1.TruToolbar], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TruToolbarMenuModule, typeof i5.TruToolbarButtonModule, typeof i6.TruToolbarDropdownModule, typeof i7.TruToolbarSeparatorModule, typeof i8.TruToolbarContextFilterModule, typeof i9.TruToolbarTextModule], [typeof i1.TruToolbar, typeof i4.TruToolbarMenuModule, typeof i5.TruToolbarButtonModule, typeof i6.TruToolbarDropdownModule, typeof i7.TruToolbarSeparatorModule, typeof i8.TruToolbarContextFilterModule, typeof i9.TruToolbarTextModule]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TruToolbarModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ITruToolbarDropdownOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
}
|
|
7
|
+
export declare class TruToolbar implements OnInit {
|
|
8
|
+
config: [] | null;
|
|
9
|
+
constructor();
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbar, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbar, "tru-toolbar", never, { "config": "config"; }, {}, never, ["*"], false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/a11y";
|
|
3
|
+
import * as i2 from "@angular/cdk/accordion";
|
|
4
|
+
import * as i3 from "@angular/cdk/clipboard";
|
|
5
|
+
import * as i4 from "@angular/cdk/stepper";
|
|
6
|
+
import * as i5 from "@angular/cdk/table";
|
|
7
|
+
import * as i6 from "@angular/cdk/tree";
|
|
8
|
+
import * as i7 from "@angular/cdk/drag-drop";
|
|
9
|
+
import * as i8 from "@angular/material/autocomplete";
|
|
10
|
+
import * as i9 from "@angular/material/badge";
|
|
11
|
+
import * as i10 from "@angular/material/bottom-sheet";
|
|
12
|
+
import * as i11 from "@angular/material/button";
|
|
13
|
+
import * as i12 from "@angular/material/button-toggle";
|
|
14
|
+
import * as i13 from "@angular/material/card";
|
|
15
|
+
import * as i14 from "@angular/material/checkbox";
|
|
16
|
+
import * as i15 from "@angular/material/chips";
|
|
17
|
+
import * as i16 from "@angular/material/stepper";
|
|
18
|
+
import * as i17 from "@angular/material/datepicker";
|
|
19
|
+
import * as i18 from "@angular/material/dialog";
|
|
20
|
+
import * as i19 from "@angular/material/divider";
|
|
21
|
+
import * as i20 from "@angular/material/expansion";
|
|
22
|
+
import * as i21 from "@angular/material/grid-list";
|
|
23
|
+
import * as i22 from "@angular/material/icon";
|
|
24
|
+
import * as i23 from "@angular/material/input";
|
|
25
|
+
import * as i24 from "@angular/material/list";
|
|
26
|
+
import * as i25 from "@angular/material/menu";
|
|
27
|
+
import * as i26 from "@angular/material/core";
|
|
28
|
+
import * as i27 from "@angular/material/paginator";
|
|
29
|
+
import * as i28 from "@angular/material/progress-bar";
|
|
30
|
+
import * as i29 from "@angular/material/progress-spinner";
|
|
31
|
+
import * as i30 from "@angular/material/radio";
|
|
32
|
+
import * as i31 from "@angular/material/select";
|
|
33
|
+
import * as i32 from "@angular/material/sidenav";
|
|
34
|
+
import * as i33 from "@angular/material/slider";
|
|
35
|
+
import * as i34 from "@angular/material/slide-toggle";
|
|
36
|
+
import * as i35 from "@angular/material/snack-bar";
|
|
37
|
+
import * as i36 from "@angular/material/sort";
|
|
38
|
+
import * as i37 from "@angular/material/table";
|
|
39
|
+
import * as i38 from "@angular/material/tabs";
|
|
40
|
+
import * as i39 from "@angular/material/toolbar";
|
|
41
|
+
import * as i40 from "@angular/material/tooltip";
|
|
42
|
+
import * as i41 from "@angular/material/tree";
|
|
43
|
+
import * as i42 from "@angular/cdk/overlay";
|
|
44
|
+
import * as i43 from "@angular/cdk/portal";
|
|
45
|
+
import * as i44 from "@angular/cdk/scrolling";
|
|
46
|
+
export declare class MaterialModule {
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, never, [typeof i1.A11yModule, typeof i2.CdkAccordionModule, typeof i3.ClipboardModule, typeof i4.CdkStepperModule, typeof i5.CdkTableModule, typeof i6.CdkTreeModule, typeof i7.DragDropModule, typeof i8.MatAutocompleteModule, typeof i9.MatBadgeModule, typeof i10.MatBottomSheetModule, typeof i11.MatButtonModule, typeof i12.MatButtonToggleModule, typeof i13.MatCardModule, typeof i14.MatCheckboxModule, typeof i15.MatChipsModule, typeof i16.MatStepperModule, typeof i17.MatDatepickerModule, typeof i18.MatDialogModule, typeof i19.MatDividerModule, typeof i20.MatExpansionModule, typeof i21.MatGridListModule, typeof i22.MatIconModule, typeof i23.MatInputModule, typeof i24.MatListModule, typeof i25.MatMenuModule, typeof i26.MatNativeDateModule, typeof i27.MatPaginatorModule, typeof i28.MatProgressBarModule, typeof i29.MatProgressSpinnerModule, typeof i30.MatRadioModule, typeof i26.MatRippleModule, typeof i31.MatSelectModule, typeof i32.MatSidenavModule, typeof i33.MatSliderModule, typeof i34.MatSlideToggleModule, typeof i35.MatSnackBarModule, typeof i36.MatSortModule, typeof i37.MatTableModule, typeof i38.MatTabsModule, typeof i39.MatToolbarModule, typeof i40.MatTooltipModule, typeof i41.MatTreeModule, typeof i42.OverlayModule, typeof i43.PortalModule, typeof i44.ScrollingModule]>;
|
|
49
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Entity } from "breeze-client";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface ActionEventCompleted {
|
|
5
|
+
successful: boolean;
|
|
6
|
+
entities?: Array<Entity>;
|
|
7
|
+
}
|
|
8
|
+
export declare class TruAppEnvironment {
|
|
9
|
+
private _activeUserRef;
|
|
10
|
+
private _isSaving;
|
|
11
|
+
private _saveComplete;
|
|
12
|
+
private _revertComplete;
|
|
13
|
+
private _deleteComplete;
|
|
14
|
+
private _maxRecordCount;
|
|
15
|
+
readonly msgModifierKeyLabel: string;
|
|
16
|
+
readonly msgConfirmExitWithChangesPending: string;
|
|
17
|
+
readonly msgDeleteSuccessful: string;
|
|
18
|
+
readonly msgSaveSuccessful: string;
|
|
19
|
+
readonly msgNoChangesToSave: string;
|
|
20
|
+
readonly msgSaveInProgress: string;
|
|
21
|
+
readonly msgInvalidData: string;
|
|
22
|
+
readonly msgDirtyPreventsReadOnly: string;
|
|
23
|
+
readonly msgDirtyPreventsNavigate: string;
|
|
24
|
+
readonly msgDirtyPreventsClose: string;
|
|
25
|
+
readonly msgDirtyPreventsDeleteExistingRecord: string;
|
|
26
|
+
readonly msgNoDeleteAccess: string;
|
|
27
|
+
readonly msgCannotDeleteNewAndExistingRecords: string;
|
|
28
|
+
readonly msgDeleteReferencingRecordsFirst: string;
|
|
29
|
+
readonly msgNoRecordsSelected: string;
|
|
30
|
+
onSavingChanged$: Observable<boolean>;
|
|
31
|
+
onSaveComplete$: Observable<ActionEventCompleted | null>;
|
|
32
|
+
onRevertComplete$: Observable<ActionEventCompleted | null>;
|
|
33
|
+
onDeleteComplete$: Observable<ActionEventCompleted | null>;
|
|
34
|
+
constructor();
|
|
35
|
+
get activeUserRef(): number;
|
|
36
|
+
set activeUserRef(ref: number);
|
|
37
|
+
get isSaving(): boolean;
|
|
38
|
+
set isSaving(isSaving: boolean);
|
|
39
|
+
get maxRecordCount(): number;
|
|
40
|
+
set maxRecordCount(maxRecordCount: number);
|
|
41
|
+
get isMac(): boolean;
|
|
42
|
+
saveComplete: (event: ActionEventCompleted) => void;
|
|
43
|
+
revertComplete: (event: ActionEventCompleted) => void;
|
|
44
|
+
deleteComplete: (event: ActionEventCompleted) => void;
|
|
45
|
+
formatDeleteConfirmationMessage: (tableName: string, tablePluralLabel: string, count: number | null) => string;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruAppEnvironment, never>;
|
|
47
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruAppEnvironment>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EntityManager, EntityQuery, MetadataStore } from 'breeze-client';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruBreezeContextFactory {
|
|
4
|
+
/**
|
|
5
|
+
* Maximum number of records to return from a query.
|
|
6
|
+
* @return {number}
|
|
7
|
+
*/
|
|
8
|
+
private servicePath;
|
|
9
|
+
private metadataStore;
|
|
10
|
+
constructor();
|
|
11
|
+
/**
|
|
12
|
+
* Note: hasServerMetadata is false to prevent the automatic query of the metadata from the server.
|
|
13
|
+
*/
|
|
14
|
+
private breezeDataService;
|
|
15
|
+
setUpMetadata: (metadata: any) => MetadataStore;
|
|
16
|
+
/**
|
|
17
|
+
* Returns a new data context object.
|
|
18
|
+
* @return {object} - Breeze Manager
|
|
19
|
+
*/
|
|
20
|
+
createContext: (tableName?: string | null) => TruBreezeContext;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruBreezeContextFactory, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TruBreezeContextFactory>;
|
|
23
|
+
}
|
|
24
|
+
export declare class TruBreezeContext {
|
|
25
|
+
private manager;
|
|
26
|
+
private _entityManager;
|
|
27
|
+
constructor(manager: EntityManager);
|
|
28
|
+
get createQuery(): (x: any) => EntityQuery;
|
|
29
|
+
get entityManager(): EntityManager;
|
|
30
|
+
}
|