@trudb/tru-common-lib 0.2.556 → 0.3.0

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.
Files changed (191) hide show
  1. package/fesm2022/trudb-tru-common-lib.mjs +1140 -783
  2. package/fesm2022/trudb-tru-common-lib.mjs.map +1 -1
  3. package/package.json +3 -3
  4. package/types/trudb-tru-common-lib.d.ts +3404 -0
  5. package/index.d.ts +0 -5
  6. package/lib/assets/tru-icon-module.d.ts +0 -11
  7. package/lib/assets/tru-search-icon-module.d.ts +0 -11
  8. package/lib/base-classes/tru-component-config-base.d.ts +0 -3
  9. package/lib/base-classes/tru-control-component-config-base.d.ts +0 -21
  10. package/lib/base-classes/tru-edit-control-base.d.ts +0 -10
  11. package/lib/base-classes/tru-edit-control-config-base.d.ts +0 -26
  12. package/lib/base-classes/tru-edit-parent-control-config-base.d.ts +0 -9
  13. package/lib/base-classes/tru-edit-pkey-control-config-base.d.ts +0 -11
  14. package/lib/base-classes/tru-entity-base.d.ts +0 -16
  15. package/lib/base-classes/tru-list-control-config-base.d.ts +0 -25
  16. package/lib/base-classes/tru-property-config-base.d.ts +0 -17
  17. package/lib/base-classes/tru-search-config-base.d.ts +0 -9
  18. package/lib/base-classes/tru-search-control-base.d.ts +0 -21
  19. package/lib/base-classes/tru-search-control-config-base.d.ts +0 -13
  20. package/lib/base-classes/tru-search-control-parent-base.d.ts +0 -16
  21. package/lib/base-classes/tru-search-control-range-base.d.ts +0 -25
  22. package/lib/base-classes/tru-table-config-base.d.ts +0 -13
  23. package/lib/base-views/detail/tru-detail-view-base.d.ts +0 -62
  24. package/lib/base-views/search/services/tru-search-view-control-event-handler.d.ts +0 -16
  25. package/lib/base-views/search/services/tru-search-view-event-handler.d.ts +0 -14
  26. package/lib/base-views/search/tru-search-view-base.d.ts +0 -38
  27. package/lib/base-views/search-result/tru-search-result-view-base.d.ts +0 -29
  28. package/lib/base-views/tru-view-base.d.ts +0 -37
  29. package/lib/classes/tru-choice.d.ts +0 -8
  30. package/lib/classes/tru-context-filter-choice.d.ts +0 -6
  31. package/lib/classes/tru-context-filter.d.ts +0 -10
  32. package/lib/classes/tru-country.d.ts +0 -7
  33. package/lib/classes/tru-data-change-parser.d.ts +0 -40
  34. package/lib/classes/tru-data-change.d.ts +0 -4
  35. package/lib/classes/tru-formula-eval.d.ts +0 -31
  36. package/lib/classes/tru-merge-data-set.d.ts +0 -11
  37. package/lib/classes/tru-merge-data.d.ts +0 -9
  38. package/lib/classes/tru-name-value.d.ts +0 -9
  39. package/lib/classes/tru-navigation-properties-config.d.ts +0 -5
  40. package/lib/classes/tru-navigation-property-config.d.ts +0 -5
  41. package/lib/classes/tru-predicate.d.ts +0 -8
  42. package/lib/classes/tru-property-config-cloud-file.d.ts +0 -4
  43. package/lib/classes/tru-property-config-date.d.ts +0 -6
  44. package/lib/classes/tru-property-config-decimal.d.ts +0 -8
  45. package/lib/classes/tru-property-config-file.d.ts +0 -5
  46. package/lib/classes/tru-property-config-foreign-key.d.ts +0 -9
  47. package/lib/classes/tru-property-config-integer.d.ts +0 -6
  48. package/lib/classes/tru-property-config-password.d.ts +0 -5
  49. package/lib/classes/tru-property-config-percentage.d.ts +0 -6
  50. package/lib/classes/tru-property-config-scientific.d.ts +0 -6
  51. package/lib/classes/tru-property-config-text-choices.d.ts +0 -5
  52. package/lib/classes/tru-property-config-text.d.ts +0 -7
  53. package/lib/classes/tru-property-config-usa-address.d.ts +0 -5
  54. package/lib/classes/tru-property-config-zip-code.d.ts +0 -5
  55. package/lib/classes/tru-query-predicate-manager.d.ts +0 -26
  56. package/lib/classes/tru-server-error.d.ts +0 -14
  57. package/lib/classes/tru-validator-factory.d.ts +0 -19
  58. package/lib/classes/tru-view-menu-config.d.ts +0 -8
  59. package/lib/components/about-dialog/tru-about-dialog.d.ts +0 -17
  60. package/lib/components/app-settings-dialog/tru-app-settings-dialog.d.ts +0 -16
  61. package/lib/components/app-settings-dialog/windows/classes/tru-window-open-on-start-setting.d.ts +0 -7
  62. package/lib/components/app-settings-dialog/windows/on-starup/tru-app-window-open-on-startup-setting.d.ts +0 -16
  63. package/lib/components/app-settings-dialog/windows/tru-app-window-settings.d.ts +0 -6
  64. package/lib/components/card-column/classes/tru-card-column-config.d.ts +0 -34
  65. package/lib/components/card-column/classes/tru-card-column-data.d.ts +0 -4
  66. package/lib/components/card-column/classes/tru-card-column-search-results-config-base.d.ts +0 -13
  67. package/lib/components/card-column/tru-card-column.d.ts +0 -85
  68. package/lib/components/card-column/tru-card.d.ts +0 -13
  69. package/lib/components/clone-view/tru-clone-view.d.ts +0 -76
  70. package/lib/components/confirm-dialog/tru-confirm-dialog.d.ts +0 -28
  71. package/lib/components/data-grid/classes/tru-data-grid-cell-renderer.d.ts +0 -10
  72. package/lib/components/data-grid/classes/tru-data-grid-config.d.ts +0 -25
  73. package/lib/components/data-grid/classes/tru-data-grid-pkey-cell-renderer.d.ts +0 -35
  74. package/lib/components/data-grid/enums/tru-data-grid-types.d.ts +0 -5
  75. package/lib/components/data-grid/headers/tru-data-grid-header-filter.d.ts +0 -35
  76. package/lib/components/data-grid/headers/tru-data-grid-header.d.ts +0 -25
  77. package/lib/components/data-grid/headers/tru-data-grid-ref-header.d.ts +0 -24
  78. package/lib/components/data-grid/overlays/tru-data-grid-loading-overlay/tru-data-grid-loading-overlay.d.ts +0 -13
  79. package/lib/components/data-grid/overlays/tru-data-grid-no-rows-overlay/tru-data-grid-no-rows-overlay.d.ts +0 -13
  80. package/lib/components/data-grid/services/tru-data-grid-clipboard.d.ts +0 -45
  81. package/lib/components/data-grid/services/tru-data-grid-util.d.ts +0 -16
  82. package/lib/components/data-grid/tru-data-grid.d.ts +0 -125
  83. package/lib/components/desktop/classes/tru-desktop-title.d.ts +0 -4
  84. package/lib/components/desktop/classes/tru-desktop-view-config.d.ts +0 -26
  85. package/lib/components/desktop/directives/resizable/tru-desktop-resizable.d.ts +0 -32
  86. package/lib/components/desktop/directives/window-state-monitor/tru-desktop-window-state-monitor.d.ts +0 -24
  87. package/lib/components/desktop/menubar/tru-desktop-menubar.d.ts +0 -15
  88. package/lib/components/desktop/services/tru-desktop-event-handler.d.ts +0 -11
  89. package/lib/components/desktop/services/tru-desktop-manager.d.ts +0 -37
  90. package/lib/components/desktop/services/tru-desktop-service.d.ts +0 -101
  91. package/lib/components/desktop/services/tru-desktop-view-event-notifier.d.ts +0 -10
  92. package/lib/components/desktop/services/tru-window-action-event-handler.d.ts +0 -12
  93. package/lib/components/desktop/services/tru-window-close-event-args.d.ts +0 -9
  94. package/lib/components/desktop/services/tru-window-event-args.d.ts +0 -24
  95. package/lib/components/desktop/services/tru-window-event-handler.d.ts +0 -23
  96. package/lib/components/desktop/services/tru-window-manager.d.ts +0 -14
  97. package/lib/components/desktop/statusbar/tru-desktop-statusbar.d.ts +0 -10
  98. package/lib/components/desktop/taskbar/tru-desktop-taskbar.d.ts +0 -15
  99. package/lib/components/desktop/tru-desktop.d.ts +0 -330
  100. package/lib/components/desktop/view/tru-desktop-view.d.ts +0 -17
  101. package/lib/components/desktop/viewport/tru-desktop-viewport.d.ts +0 -48
  102. package/lib/components/desktop/window/tru-desktop-window.d.ts +0 -196
  103. package/lib/components/error-dialog/classes/tru-error-dialog-config.d.ts +0 -6
  104. package/lib/components/error-dialog/services/tru-error-interceptor.d.ts +0 -11
  105. package/lib/components/error-dialog/tru-error-dialog.d.ts +0 -16
  106. package/lib/components/export-dialog/tru-export-dialog.d.ts +0 -26
  107. package/lib/components/grid-validation-dialog/tru-grid-validation-dialog-config.d.ts +0 -24
  108. package/lib/components/grid-validation-dialog/tru-grid-validation-dialog.d.ts +0 -24
  109. package/lib/components/iframe-view/classes/tru-iframe-view-config.d.ts +0 -10
  110. package/lib/components/iframe-view/tru-iframe-view.d.ts +0 -33
  111. package/lib/components/layout/column/tru-column.d.ts +0 -6
  112. package/lib/components/layout/form/tru-form.d.ts +0 -10
  113. package/lib/components/layout/group-box/tru-group-box.d.ts +0 -6
  114. package/lib/components/layout/row/tru-row.d.ts +0 -6
  115. package/lib/components/layout/tab/services/tru-tab-group-event-notifier.d.ts +0 -10
  116. package/lib/components/layout/tab/tab/tru-tab.d.ts +0 -13
  117. package/lib/components/layout/tab/tab-group/tru-tab-group.d.ts +0 -14
  118. package/lib/components/login/classes/tru-auth-config.d.ts +0 -16
  119. package/lib/components/login/classes/tru-auth-jwt-strategy.d.ts +0 -15
  120. package/lib/components/login/classes/tru-auth-login-request.d.ts +0 -4
  121. package/lib/components/login/classes/tru-auth-session-strategy.d.ts +0 -13
  122. package/lib/components/login/classes/tru-auth-strategy-provider.d.ts +0 -10
  123. package/lib/components/login/classes/tru-auth-token.d.ts +0 -6
  124. package/lib/components/login/classes/tru-auth-windows-strategy.d.ts +0 -9
  125. package/lib/components/login/services/tru-auth-cache.d.ts +0 -11
  126. package/lib/components/login/services/tru-auth-interceptor.d.ts +0 -16
  127. package/lib/components/login/services/tru-auth.d.ts +0 -33
  128. package/lib/components/login/services/tru-server-touch-interceptor.d.ts +0 -14
  129. package/lib/components/login/services/tru-server-touch-tracker.d.ts +0 -31
  130. package/lib/components/login/services/tru-session-expiry-monitor.d.ts +0 -37
  131. package/lib/components/login/services/tru-session-keepalive.d.ts +0 -44
  132. package/lib/components/login/services/tru-user-activity-tracker.d.ts +0 -14
  133. package/lib/components/login/tru-login-module.d.ts +0 -11
  134. package/lib/components/login/tru-login.d.ts +0 -29
  135. package/lib/components/password-dialog/classes/tru-password-change-request.d.ts +0 -6
  136. package/lib/components/password-dialog/tru-password-dialog.d.ts +0 -39
  137. package/lib/components/toolbar/app-customization/tru-toolbar-app-customization.d.ts +0 -26
  138. package/lib/components/toolbar/button/tru-toolbar-button.d.ts +0 -16
  139. package/lib/components/toolbar/classes/tru-toolbar-dropdown-option.d.ts +0 -4
  140. package/lib/components/toolbar/context-filter/tru-toolbar-context-filter.d.ts +0 -13
  141. package/lib/components/toolbar/dropdown/tru-toolbar-dropdown.d.ts +0 -39
  142. package/lib/components/toolbar/menu/menu-button/tru-toolbar-menu-button.d.ts +0 -7
  143. package/lib/components/toolbar/menu/menu-item/tru-toolbar-menu-item.d.ts +0 -17
  144. package/lib/components/toolbar/menu/tru-toolbar-menu.d.ts +0 -11
  145. package/lib/components/toolbar/separator/tru-toolbar-separator.d.ts +0 -6
  146. package/lib/components/toolbar/text/tru-toolbar-text.d.ts +0 -12
  147. package/lib/components/toolbar/textbox/tru-toolbar-textbox.d.ts +0 -14
  148. package/lib/components/toolbar/tru-toolbar.d.ts +0 -9
  149. package/lib/components/toolbar/user-profile/tru-toolbar-user-profile.d.ts +0 -17
  150. package/lib/components/validation-dialog/tru-validation-dialog-config.d.ts +0 -27
  151. package/lib/components/validation-dialog/tru-validation-dialog-context.d.ts +0 -5
  152. package/lib/components/validation-dialog/tru-validation-dialog.d.ts +0 -24
  153. package/lib/directives/breeze-validator/tru-breeze-validator.d.ts +0 -31
  154. package/lib/directives/rendered/tru-rendered.d.ts +0 -8
  155. package/lib/directives/search-panel-position-manager/tru-search-panel-position-manager.d.ts +0 -40
  156. package/lib/directives/select-panel/tru-mat-select-panel.d.ts +0 -17
  157. package/lib/extensions.d.ts +0 -7
  158. package/lib/interfaces/tru-ancestor.d.ts +0 -7
  159. package/lib/interfaces/tru-value.d.ts +0 -6
  160. package/lib/material.module.d.ts +0 -50
  161. package/lib/pipes/open-on-start.d.ts +0 -7
  162. package/lib/services/tru-action-invoke.d.ts +0 -78
  163. package/lib/services/tru-app-environment.d.ts +0 -77
  164. package/lib/services/tru-breeze-context-factory.d.ts +0 -32
  165. package/lib/services/tru-breeze-metadata-provider.d.ts +0 -9
  166. package/lib/services/tru-cloud-file-manager.d.ts +0 -21
  167. package/lib/services/tru-component-lookup.d.ts +0 -10
  168. package/lib/services/tru-connection-hub.d.ts +0 -24
  169. package/lib/services/tru-context-filters.d.ts +0 -12
  170. package/lib/services/tru-countries.d.ts +0 -10
  171. package/lib/services/tru-data-context.d.ts +0 -66
  172. package/lib/services/tru-entity-accessor.d.ts +0 -83
  173. package/lib/services/tru-entity-metadata-registry.d.ts +0 -22
  174. package/lib/services/tru-error-manager.d.ts +0 -27
  175. package/lib/services/tru-formatter.d.ts +0 -46
  176. package/lib/services/tru-global-data-context.d.ts +0 -10
  177. package/lib/services/tru-model-navigation-properties-lookup.d.ts +0 -10
  178. package/lib/services/tru-model-property-lookup.d.ts +0 -10
  179. package/lib/services/tru-model-table-lookup.d.ts +0 -11
  180. package/lib/services/tru-model-type-lookup.d.ts +0 -10
  181. package/lib/services/tru-predicate-map.d.ts +0 -6
  182. package/lib/services/tru-report-manager.d.ts +0 -22
  183. package/lib/services/tru-search-result-view-manager.d.ts +0 -10
  184. package/lib/services/tru-sort.d.ts +0 -57
  185. package/lib/services/tru-text-manager.d.ts +0 -83
  186. package/lib/services/tru-ui-notification.d.ts +0 -42
  187. package/lib/services/tru-user-preference-manager.d.ts +0 -39
  188. package/lib/services/tru-user.d.ts +0 -29
  189. package/lib/services/tru-util.d.ts +0 -32
  190. package/lib/tru-common-module.d.ts +0 -6
  191. package/public-api.d.ts +0 -141
@@ -1,15 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TruDesktopTaskbar implements OnInit {
4
- windows: any;
5
- desktopCtrl: any;
6
- options: null;
7
- desktopShown: boolean;
8
- constructor();
9
- ngOnInit(): void;
10
- updateWindowState: (wdw: any) => void;
11
- hideShowAll: () => void;
12
- close: (e: any, wdw: any) => void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktopTaskbar, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktopTaskbar, "tru-desktop-taskbar", never, { "windows": { "alias": "windows"; "required": false; }; "desktopCtrl": { "alias": "desktopCtrl"; "required": false; }; }, {}, never, never, true, never>;
15
- }
@@ -1,330 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { TruTextManager } from '../../services/tru-text-manager';
3
- import { TruUtil } from '../../services/tru-util';
4
- import { TruDesktopEventHandler } from './services/tru-desktop-event-handler';
5
- import { TruDesktopService, WindowConfig } from './services/tru-desktop-service';
6
- import { TruWindowCloseEventArgs } from './services/tru-window-close-event-args';
7
- import * as i0 from "@angular/core";
8
- export declare class TruDesktop implements OnInit {
9
- private desktopService;
10
- private textManager;
11
- private truDesktopEventHandler;
12
- private util;
13
- options: any;
14
- private viewportComponent;
15
- constructor(desktopService: TruDesktopService, textManager: TruTextManager, truDesktopEventHandler: TruDesktopEventHandler, util: TruUtil);
16
- minimizeAll: boolean;
17
- desktop: any;
18
- minWindowCascadePosition: number;
19
- maxWindowCascadePosition: number;
20
- lastWindowCascadePosition: {
21
- top: number;
22
- left: number;
23
- };
24
- shiftPressed: boolean;
25
- altPressed: boolean;
26
- xPressed: boolean;
27
- logoUrl: null;
28
- /**
29
- * @tru.doc function
30
- * @name truDesktopComponent.getDesktop
31
- * @module tru.desktop
32
- *
33
- * @description
34
- * Return an object of desktop.
35
- *
36
- * @returns {object} desktop.
37
- */
38
- getDesktop: () => any;
39
- /**
40
- * @tru.doc function
41
- * @name truDesktopComponent.getOptions
42
- * @module tru.desktop
43
- *
44
- * @description
45
- * Return an object of desktop options.
46
- *
47
- * @returns {object} options.
48
- */
49
- getOptions: () => any;
50
- /**
51
- * @tru.doc function
52
- * @name truDesktopComponent.getWindows
53
- * @module tru.desktop
54
- *
55
- * @description
56
- * Return an array of windows.
57
- *
58
- * @returns {array} windows.
59
- */
60
- getWindows: () => any[];
61
- /**
62
- * @tru.doc function
63
- * @name truDesktopComponent.getNextMaxZIndex
64
- * @module tru.desktop
65
- *
66
- * @description
67
- * Iterates through all window objects in the windows array to find the max z-index
68
- * and increases the value found by 1.
69
- *
70
- * @returns {int}
71
- */
72
- getNextMaxZIndex: () => number;
73
- /**
74
- * @tru.doc function
75
- * @name truDesktopComponent.clearActive
76
- * @module tru.desktop
77
- *
78
- * @description
79
- * Iterates through all window objects in the windows
80
- * and sets the active property to false.
81
- *
82
- */
83
- clearActive: () => void;
84
- /**
85
- * @tru.doc function
86
- * @name truDesktopComponent.getActiveWindow
87
- * @module tru.desktop
88
- *
89
- * @description
90
- * Gets the active window.
91
- *
92
- * @returns {object} view object.
93
- */
94
- getActiveWindow: () => any;
95
- /**
96
- * @tru.doc function
97
- * @name truDesktopComponent.getActiveView
98
- * @module tru.desktop
99
- *
100
- * @description
101
- * Gets the active view.
102
- *
103
- * @returns {object} view object.
104
- */
105
- getActiveView: (wdw: any) => null;
106
- /**
107
- * @tru.doc function
108
- * @name truDesktopComponent.allWindowsAreMinimized
109
- * @module tru.desktop
110
- *
111
- * @description
112
- * Iterates through windows to determine if all are minimized.
113
- *
114
- */
115
- allWindowsAreMinimized: () => boolean;
116
- /**
117
- * @tru.doc function
118
- * @name truDesktopComponent.hideShowAll
119
- * @module tru.desktop
120
- *
121
- * @description
122
- * Hides/shows all windows
123
- *
124
- */
125
- hideShowAll: () => boolean;
126
- /**
127
- * @tru.doc function
128
- * @name truDesktopComponent.findWindowViewDirective
129
- * @module tru.desktop
130
- *
131
- * @description
132
- * Looks for previously open window with a view directive
133
- *
134
- */
135
- findWindowViewDirective: (windowViewDirective: any) => any;
136
- /**
137
- * @tru.doc function
138
- * @name truDesktopComponent.openWindow
139
- * @module tru.desktop
140
- *
141
- * @description
142
- * Displays a new window. All window properties defined by the application developer will be
143
- * overlaid here before displaying the window
144
- *
145
- */
146
- openWindow: (windowConfigOverlays: any, singleInstance: any) => WindowConfig;
147
- /**
148
- * @tru.doc function
149
- * @name truDesktopComponent.configureWindow
150
- * @module tru.desktop
151
- *
152
- * @description
153
- * Creates a new window instance.
154
- *
155
- */
156
- configureWindow: (windowConfigOverlays: any) => any;
157
- /**
158
- * @tru.doc function
159
- * @name truDesktopComponent.configureViews
160
- * @module tru.desktop
161
- *
162
- * @description
163
- * Creates one or more view instances
164
- *
165
- */
166
- configureViews: (windowConfigOverlays: any, configuredWindow: any) => Array<any>;
167
- /**
168
- * @tru.doc function
169
- * @name truDesktopComponent.closeWindow
170
- * @module tru.desktop
171
- *
172
- * @description
173
- * Remove a window {object} from the windows array.
174
- *
175
- * @returns {boolean} returns true if window was closed, false if not closed.
176
- */
177
- closeWindow: (wdw: any, windowCloseEventArgs?: TruWindowCloseEventArgs | null) => boolean;
178
- /**
179
- * @tru.doc function
180
- * @name truDesktopComponent.activateForemostWindow
181
- * @module tru.desktop
182
- *
183
- * @description
184
- * Set the foremost window to an active state
185
- *
186
- */
187
- activateForemostWindow: () => void;
188
- /**
189
- * @tru.doc function
190
- * @name truDesktopComponent.activateNextWindow
191
- * @module tru.desktop
192
- *
193
- * @description
194
- * Set the next window to an active state
195
- *
196
- */
197
- activateNextWindow: (activeWindowLocation: any) => void;
198
- /**
199
- * @tru.doc function
200
- * @name truDesktopComponent.activatePreviousWindow
201
- * @module tru.desktop
202
- *
203
- * @description
204
- * Set the previous window to an active state
205
- *
206
- */
207
- activatePreviousWindow: (activeWindowLocation: any) => void;
208
- /**
209
- * @tru.doc function
210
- * @name truDesktopComponent.minimize
211
- * @module tru.desktop
212
- *
213
- * @description
214
- * Visually removes window from the viewport.
215
- *
216
- */
217
- minimize: (window: any) => void;
218
- /**
219
- * @tru.doc function
220
- * @name truDesktopComponent.maximize
221
- * @module tru.desktop
222
- *
223
- * @description
224
- * Positions window such that it fills the whole viewport.
225
- *
226
- */
227
- maximize: (window: any) => void;
228
- /**
229
- * @tru.doc function
230
- * @name truDesktopComponent.maximizeLeft
231
- * @module tru.desktop
232
- *
233
- * @description
234
- * Positions window such that it fills the left portion viewport.
235
- *
236
- */
237
- maximizeLeft: (window: any) => void;
238
- /**
239
- * @tru.doc function
240
- * @name truDesktopComponent.maximizeRight
241
- * @module tru.desktop
242
- *
243
- * @description
244
- * Positions window such that it fills the right portion viewport.
245
- *
246
- */
247
- maximizeRight: (window: any) => void;
248
- /**
249
- * @tru.doc function
250
- * @name truDesktopComponent.recover
251
- * @module tru.desktop
252
- *
253
- * @description
254
- * Brings window back into view when it has escaped the viewport.
255
- *
256
- */
257
- recover: (window: any) => void;
258
- /**
259
- * @tru.doc function
260
- * @name truDesktopComponent.restore
261
- * @module tru.desktop
262
- *
263
- * @description
264
- *
265
- */
266
- restore: (wdw: any) => void;
267
- /**
268
- * @tru.doc function
269
- * @name truDesktopComponent.bringToFront
270
- * @module tru.desktop
271
- *
272
- * @description
273
- *
274
- */
275
- updateWindowState: (wdw: any) => void;
276
- /**
277
- * @tru.doc function
278
- * @name truDesktopComponent.restoreSavedPosition
279
- * @module tru.desktop
280
- *
281
- * @description
282
- * Set the windows last know position to the current position.
283
- *
284
- */
285
- restoreSavedPosition: (wdw: any) => void;
286
- /**
287
- * @tru.doc function
288
- * @name truDesktopComponent.savePosition
289
- * @module tru.desktop
290
- *
291
- * @description
292
- * Save the windows last know position.
293
- *
294
- */
295
- savePosition: (wdw: any) => void;
296
- /**
297
- * @tru.doc function
298
- * @name truDesktopComponent.closeWindow
299
- * @module tru.desktop
300
- *
301
- * @description
302
- * Moves a window to the next cascade position.
303
- *
304
- */
305
- cascadeWindow: (window: any) => void;
306
- /**
307
- * @tru.doc event
308
- * @module tru.desktop
309
- *
310
- * @description
311
- *
312
- */
313
- onKeyDown: (event: any) => void;
314
- onKeyUp: (event: any) => void;
315
- /**
316
- * @tru.doc function
317
- * @name truDesktopComponent.handleSelectAttempt
318
- * @module tru.desktop
319
- *
320
- * @description
321
- * Prevents the user from highlight desktop elements.
322
- *
323
- */
324
- handleSelectAttempt: (e: any) => boolean;
325
- windows: Array<any>;
326
- ngOnInit(): void;
327
- ngOnDestroy(): void;
328
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktop, never>;
329
- static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktop, "tru-desktop", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
330
- }
@@ -1,17 +0,0 @@
1
- import { ComponentFactoryResolver, Injector, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import { TruComponentLookup } from '../../../services/tru-component-lookup';
3
- import { TruDesktopViewConfig } from '../classes/tru-desktop-view-config';
4
- import * as i0 from "@angular/core";
5
- export declare class TruDesktopView implements OnInit {
6
- private injector;
7
- private viewContainerRef;
8
- private componentFactoryResolver;
9
- private componentLookup;
10
- view: TruDesktopViewConfig;
11
- active: boolean;
12
- constructor(injector: Injector, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, componentLookup: TruComponentLookup);
13
- ngOnInit(): void;
14
- ngOnChanges(changes: SimpleChanges): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktopView, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktopView, "tru-desktop-view", never, { "view": { "alias": "view"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, true, never>;
17
- }
@@ -1,48 +0,0 @@
1
- import { ElementRef, OnInit, QueryList } from '@angular/core';
2
- import { TruDesktopWindow } from '../window/tru-desktop-window';
3
- import * as i0 from "@angular/core";
4
- export declare class TruDesktopViewport implements OnInit {
5
- private elementRef;
6
- windows: any;
7
- desktopCtrl: any;
8
- windowComponents: QueryList<TruDesktopWindow>;
9
- options: any;
10
- constructor(elementRef: ElementRef);
11
- getViewportDimensions: () => any;
12
- mouseMove: (event: any) => void;
13
- mouseUp: (event: any) => void;
14
- dimensions: any;
15
- showFillOutline: boolean;
16
- showLeftOutline: boolean;
17
- showRightOutline: boolean;
18
- displayViewportDimensions: boolean;
19
- logoUrl: undefined;
20
- viewportMouseDown: (event: any) => void;
21
- /**
22
- * @tru.doc $watch function
23
- * @name truDesktopViewportComponent.visibilityWatch
24
- * @module tru.desktop.viewport
25
- * @function
26
- *
27
- * @description
28
- * Monitors for visibility changes. This method is responsible for updating the viewport
29
- * dimensions in situations where the viewport is initially hidden.
30
- *
31
- */
32
- /**
33
- * @tru.doc window.resize
34
- * @name truDesktopViewportComponent.resize
35
- * @module tru.desktop.viewport
36
- * @function
37
- *
38
- * @description
39
- * This method is responsible for updating the viewport dimensions when the
40
- * browser window has been re-sized.
41
- *
42
- */
43
- onResize(event: any): void;
44
- ngOnInit(): void;
45
- ngOnDestroy(): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktopViewport, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktopViewport, "tru-desktop-viewport", never, { "windows": { "alias": "windows"; "required": false; }; "desktopCtrl": { "alias": "desktopCtrl"; "required": false; }; }, {}, never, never, true, never>;
48
- }
@@ -1,196 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
- import { TruDataContext } from '../../../services/tru-data-context';
3
- import { TruTextManager } from '../../../services/tru-text-manager';
4
- import { TruUiNotification } from '../../../services/tru-ui-notification';
5
- import { TruUtil } from '../../../services/tru-util';
6
- import { TruWindowCloseEventArgs } from '../services/tru-window-close-event-args';
7
- import { TruWindowEventHandler } from '../services/tru-window-event-handler';
8
- import * as i0 from "@angular/core";
9
- export declare class TruDesktopWindow implements OnInit, AfterViewInit {
10
- private dataContext;
11
- private uiNotification;
12
- private textManager;
13
- private windowEventHandler;
14
- private elementRef;
15
- private util;
16
- private cd;
17
- window: any;
18
- viewportCtrl: any;
19
- desktopCtrl: any;
20
- get saveRevertSuppressed(): boolean;
21
- constructor(dataContext: TruDataContext, uiNotification: TruUiNotification, textManager: TruTextManager, windowEventHandler: TruWindowEventHandler, elementRef: ElementRef, util: TruUtil, cd: ChangeDetectorRef);
22
- x: number;
23
- y: number;
24
- lastX: number;
25
- lastY: number;
26
- startX: number;
27
- startY: number;
28
- titleBar: HTMLElement | null;
29
- canCloseFn: undefined;
30
- canNavigateFn: () => boolean;
31
- cancelEditingOnNavigation: boolean;
32
- viewportDimensions: any;
33
- showNavigation: boolean;
34
- hasChanges: boolean;
35
- private subs;
36
- private onHasChangedToken;
37
- mouseMove: (event: MouseEvent) => void;
38
- mouseUp: (event: MouseEvent) => void;
39
- /**
40
- * @tru.doc function
41
- * @name truDesktopWindowComponent.updateNavigationState
42
- * @module tru.desktop.window
43
- *
44
- * @description
45
- * Updates window navigation buttons based location of the active view in the views array.
46
- *
47
- */
48
- updateNavigationState: () => void;
49
- /**
50
- * @tru.doc function
51
- * @name truDesktopWindowComponent.isWindowInViewport
52
- * @module tru.desktop.window
53
- *
54
- * @description
55
- * Determines if the window is within the viewport boundaries.
56
- *
57
- */
58
- isWindowInViewport: () => void;
59
- /**
60
- * @tru.doc function
61
- * @name truDesktopWindowComponent.getWindow
62
- * @module tru.desktop.window
63
- *
64
- * @description
65
- * Gets the window object.
66
- *
67
- * @returns {object} window object.
68
- */
69
- getWindow: () => any;
70
- /**
71
- * @tru.doc function
72
- * @name truDesktopWindowComponent.setWindowTitle
73
- * @module tru.desktop.window
74
- *
75
- * @description
76
- * Sets the window title.
77
- *
78
- * @param {string} value to display in the window title bar.
79
- */
80
- setWindowTitle: (value: string) => void;
81
- getWindowTitle: () => any;
82
- isActive: () => boolean;
83
- /**
84
- * @tru.doc function
85
- * @name truDesktopWindowComponent.goToPreviousView
86
- * @module tru.desktop.window
87
- *
88
- * @description
89
- * Public method for navigating to the previous view.
90
- *
91
- */
92
- goToPreviousView: () => void;
93
- /**
94
- * @tru.doc function
95
- * @name truDesktopWindowComponent.viewIsEditing
96
- * @module tru.desktop.window
97
- *
98
- * @description
99
- * Checks whether view is editing.
100
- *
101
- * @returns {boolean}.
102
- */
103
- viewIsEditing: () => boolean;
104
- /**
105
- * @tru.doc function
106
- * @name truDesktopWindowComponent.canNavigate
107
- * @module tru.desktop.window
108
- *
109
- * @description
110
- * Checks whether navigation can occur..
111
- *
112
- * @returns {boolean}.
113
- */
114
- canNavigate: () => boolean;
115
- /**
116
- * @tru.doc function
117
- * @name truDesktopWindowComponent.removeForwardViews
118
- * @module tru.desktop.window
119
- *
120
- * @description
121
- * Removes all view(s) forward of the active view.
122
- *
123
- */
124
- removeForwardViews: () => void;
125
- /**
126
- * @tru.doc function
127
- * @name truDesktopWindowComponent.addView
128
- * @module tru.desktop.window
129
- *
130
- * @description
131
- * Removes all inactive view(s) following the active view and inserts a new view.
132
- *
133
- */
134
- addView: (viewConfig: any) => void;
135
- /**
136
- * @tru.doc function
137
- * @name truDesktopWindowComponent.getGlobals
138
- * @module tru.desktop.window
139
- *
140
- * @description
141
- * returns the global values.
142
- *
143
- */
144
- getGlobals: () => any;
145
- /**
146
- * @tru.doc function
147
- * @name truDesktopWindowComponent.firstView
148
- * @module tru.desktop.window
149
- *
150
- * @description
151
- *
152
- */
153
- firstView: () => void;
154
- /**
155
- * @tru.doc function
156
- * @name truDesktopWindowComponent.firstView
157
- * @module tru.desktop.window
158
- *
159
- * @description
160
- *
161
- */
162
- lastView: () => void;
163
- resizeEventHandler: () => void;
164
- /**
165
- * @tru.doc event
166
- * @module tru.desktop.window
167
- *
168
- * @description
169
- *
170
- */
171
- onWindowKeydown: (event: KeyboardEvent) => void;
172
- /**
173
- * @tru.doc watch
174
- * @module tru.desktop.window
175
- *
176
- * @description
177
- * Monitors the window's minimized state
178
- *
179
- */
180
- disablePrevious: boolean;
181
- disableNext: boolean;
182
- activate: () => void;
183
- minimize: () => void;
184
- maximize: () => void;
185
- close: (windowCloseEventArgs?: TruWindowCloseEventArgs | null) => void;
186
- windowTitleMouseDown: (event: MouseEvent) => void;
187
- previousView: () => void;
188
- nextView: () => void;
189
- save: () => void;
190
- revert: () => void;
191
- ngOnInit(): void;
192
- ngAfterViewInit(): void;
193
- ngOnDestroy(): void;
194
- static ɵfac: i0.ɵɵFactoryDeclaration<TruDesktopWindow, never>;
195
- static ɵcmp: i0.ɵɵComponentDeclaration<TruDesktopWindow, "tru-desktop-window", never, { "window": { "alias": "window"; "required": false; }; "viewportCtrl": { "alias": "viewportCtrl"; "required": false; }; "desktopCtrl": { "alias": "desktopCtrl"; "required": false; }; }, {}, never, never, true, never>;
196
- }
@@ -1,6 +0,0 @@
1
- export declare class TruErrorDialogConfig {
2
- title: string;
3
- message: string;
4
- stackTrace: string;
5
- constructor(title: string, message: string, stackTrace: string);
6
- }
@@ -1,11 +0,0 @@
1
- import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from "@angular/common/http";
2
- import { Observable } from "rxjs";
3
- import { TruErrorManager } from "../../../services/tru-error-manager";
4
- import * as i0 from "@angular/core";
5
- export declare class TruErrorInterceptor implements HttpInterceptor {
6
- private errorManager;
7
- constructor(errorManager: TruErrorManager);
8
- intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TruErrorInterceptor, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<TruErrorInterceptor>;
11
- }
@@ -1,16 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import * as i0 from "@angular/core";
4
- export declare class TruErrorDialog implements OnInit {
5
- dialogRef: MatDialogRef<TruErrorDialog>;
6
- data: TruErrorDialog;
7
- title: string;
8
- message: string;
9
- stackTrace: string;
10
- constructor(dialogRef: MatDialogRef<TruErrorDialog>, data: TruErrorDialog);
11
- readonly panelOpenState: import("@angular/core").WritableSignal<boolean>;
12
- ngOnInit(): void;
13
- onDismiss(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TruErrorDialog, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TruErrorDialog, "tru-error-dialog", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,26 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
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, true, never>;
22
- }
23
- export declare class TruExportDialogConfig {
24
- title: string;
25
- constructor(title: string);
26
- }
@@ -1,24 +0,0 @@
1
- import { TruEditControlConfigBase } from "../../base-classes/tru-edit-control-config-base";
2
- import { TruEntityBase } from "../../base-classes/tru-entity-base";
3
- import { TruListControlConfigBase } from "../../base-classes/tru-list-control-config-base";
4
- import { TruMergeDataSet } from "../../classes/tru-merge-data-set";
5
- export declare class TruGridValidationDialogConfig {
6
- private _entity;
7
- private _propertyConfig;
8
- private _isSubProperty;
9
- private _ignore;
10
- private _propertyName;
11
- private _errorMsg;
12
- private _mergeData;
13
- get entity(): TruEntityBase;
14
- get propertyConfig(): TruEditControlConfigBase<any> | TruListControlConfigBase<any>;
15
- get isSubProperty(): boolean;
16
- get ignore(): boolean;
17
- get propertyName(): string | null;
18
- set propertyName(value: string);
19
- get errorMsg(): string | null;
20
- set errorMsg(value: string);
21
- get mergeData(): TruMergeDataSet | null;
22
- set mergeData(value: TruMergeDataSet | null);
23
- constructor(entity: TruEntityBase, propertyConfig: TruEditControlConfigBase<any> | TruListControlConfigBase<any>, isSubProperty?: boolean, ignore?: boolean);
24
- }