turbogui-angular 13.0.2 → 15.0.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.
- package/esm2022/main/controller/browser.service.mjs +6 -3
- package/esm2022/main/controller/dialog.service.mjs +63 -21
- package/esm2022/main/controller/globalerror.service.mjs +10 -5
- package/esm2022/main/controller/http.service.mjs +7 -4
- package/esm2022/main/controller/localization.service.mjs +6 -3
- package/esm2022/main/controller/notification.service.mjs +10 -5
- package/esm2022/main/controller/user.service.mjs +9 -4
- package/esm2022/main/controller/views.service.mjs +9 -22
- package/esm2022/main/model/classes/SingletoneStrictClass.mjs +24 -0
- package/esm2022/main/model/classes/View.mjs +8 -18
- package/esm2022/main/model/classes/ViewService.mjs +3 -16
- package/esm2022/main/model/modules/turbogui-angular.module.mjs +6 -111
- package/esm2022/main/view/components/busy-state-base/busy-state-base.component.mjs +3 -3
- package/esm2022/main/view/components/button-container/button-container.component.mjs +3 -3
- package/esm2022/main/view/components/button-image/button-image.component.mjs +3 -3
- package/esm2022/main/view/components/dialog-base/dialog-base.component.mjs +32 -5
- package/esm2022/main/view/components/dialog-date-selection/dialog-date-selection.component.mjs +12 -7
- package/esm2022/main/view/components/dialog-error/dialog-error.component.mjs +16 -9
- package/esm2022/main/view/components/dialog-multiple-option/dialog-multiple-option.component.mjs +13 -9
- package/esm2022/main/view/components/dialog-single-option/dialog-single-option.component.mjs +13 -9
- package/esm2022/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.mjs +17 -12
- package/esm2022/main/view/components/dialog-two-option/dialog-two-option.component.mjs +13 -9
- package/esm2022/main/view/components/views-container/views-container.component.mjs +3 -3
- package/esm2022/public_api.mjs +2 -2
- package/fesm2022/turbogui-angular.mjs +1324 -1332
- package/fesm2022/turbogui-angular.mjs.map +1 -1
- package/main/controller/browser.service.d.ts.map +1 -1
- package/main/controller/dialog.service.d.ts +28 -8
- package/main/controller/dialog.service.d.ts.map +1 -1
- package/main/controller/globalerror.service.d.ts +3 -1
- package/main/controller/globalerror.service.d.ts.map +1 -1
- package/main/controller/http.service.d.ts.map +1 -1
- package/main/controller/localization.service.d.ts.map +1 -1
- package/main/controller/notification.service.d.ts +3 -1
- package/main/controller/notification.service.d.ts.map +1 -1
- package/main/controller/user.service.d.ts +2 -1
- package/main/controller/user.service.d.ts.map +1 -1
- package/main/controller/views.service.d.ts +2 -13
- package/main/controller/views.service.d.ts.map +1 -1
- package/main/model/classes/{ViewModel.d.ts → SingletoneStrictClass.d.ts} +8 -3
- package/main/model/classes/SingletoneStrictClass.d.ts.map +1 -0
- package/main/model/classes/View.d.ts +6 -24
- package/main/model/classes/View.d.ts.map +1 -1
- package/main/model/classes/ViewService.d.ts +6 -13
- package/main/model/classes/ViewService.d.ts.map +1 -1
- package/main/model/modules/turbogui-angular.module.d.ts +5 -23
- package/main/model/modules/turbogui-angular.module.d.ts.map +1 -1
- package/main/view/components/busy-state-base/busy-state-base.component.d.ts +1 -1
- package/main/view/components/busy-state-base/busy-state-base.component.d.ts.map +1 -1
- package/main/view/components/button-container/button-container.component.d.ts +1 -1
- package/main/view/components/button-container/button-container.component.d.ts.map +1 -1
- package/main/view/components/button-image/button-image.component.d.ts +1 -1
- package/main/view/components/button-image/button-image.component.d.ts.map +1 -1
- package/main/view/components/dialog-base/dialog-base.component.d.ts +11 -4
- package/main/view/components/dialog-base/dialog-base.component.d.ts.map +1 -1
- package/main/view/components/dialog-date-selection/dialog-date-selection.component.d.ts +13 -2
- package/main/view/components/dialog-date-selection/dialog-date-selection.component.d.ts.map +1 -1
- package/main/view/components/dialog-error/dialog-error.component.d.ts +13 -2
- package/main/view/components/dialog-error/dialog-error.component.d.ts.map +1 -1
- package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.d.ts +13 -2
- package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.d.ts.map +1 -1
- package/main/view/components/dialog-single-option/dialog-single-option.component.d.ts +13 -2
- package/main/view/components/dialog-single-option/dialog-single-option.component.d.ts.map +1 -1
- package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.d.ts +13 -2
- package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.d.ts.map +1 -1
- package/main/view/components/dialog-two-option/dialog-two-option.component.d.ts +13 -2
- package/main/view/components/dialog-two-option/dialog-two-option.component.d.ts.map +1 -1
- package/main/view/components/views-container/views-container.component.d.ts +1 -1
- package/main/view/components/views-container/views-container.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
- package/public_api.d.ts.map +1 -1
- package/esm2022/main/model/classes/ViewModel.mjs +0 -14
- package/main/model/classes/ViewModel.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/browser.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAG1D;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"browser.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/browser.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;;AAG1D;;GAEG;AACH,qBAGa,cAAe,SAAQ,cAAc;IAGlC,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,QAAQ;IAM/C;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS;IAM/C;;;;;;OAMG;IACH,oBAAoB,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI;yCA9BlD,cAAc;6CAAd,cAAc;CAkC1B"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { Type, ComponentFactoryResolver, Injector, ApplicationRef, RendererFactory2 } from '@angular/core';
|
|
1
|
+
import { Type, ComponentFactoryResolver, Injector, ApplicationRef, RendererFactory2, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { MatSnackBar, MatSnackBarConfig } from '@angular/material/snack-bar';
|
|
4
4
|
import { BusyStateBaseComponent } from '../view/components/busy-state-base/busy-state-base.component';
|
|
5
5
|
import { DialogBaseComponent } from '../view/components/dialog-base/dialog-base.component';
|
|
6
|
+
import { SingletoneStrictClass } from '../model/classes/SingletoneStrictClass';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Manages the application modal and non modal floating elements
|
|
9
10
|
*/
|
|
10
|
-
export declare class DialogService {
|
|
11
|
+
export declare class DialogService extends SingletoneStrictClass {
|
|
11
12
|
private readonly matSnackBar;
|
|
12
13
|
private readonly matDialog;
|
|
13
14
|
private readonly injector;
|
|
@@ -150,6 +151,7 @@ export declare class DialogService {
|
|
|
150
151
|
*
|
|
151
152
|
* @param dialogComponentClass A class for a component that extends DialogBaseComponent, which will be the dialog that is shown to the user.
|
|
152
153
|
* @param properties An object containing the different visual and textual options that this dialog allows:
|
|
154
|
+
* - id: The html unique identifier that the dialog will have once created. If not specified, no id will be explicitly set
|
|
153
155
|
* - width: Specify the css value for the default dialog width. As the dialog is responsive, the value will be automatically
|
|
154
156
|
* reduced if the available screen is not enough, and will reach the desired value otherwise. We can set any css unit like pixels,
|
|
155
157
|
* %, vh, vw, or any other. For example: '400px', '50%', etc.
|
|
@@ -162,11 +164,14 @@ export declare class DialogService {
|
|
|
162
164
|
* - texts: A list with strings containing the dialog texts, sorted by importance. When dialog has a title, this should
|
|
163
165
|
* be placed first, subtitle second and so (Each dialog may accept different number of texts).
|
|
164
166
|
* - options: A list of strings that will be used as button captions for each one of the accepted dialog options
|
|
167
|
+
* - viewContainerRef: This is important if we want to propagate providers from a parent component to this dialog. We must specify
|
|
168
|
+
* this reference to make sure the same services injected on the parent are available too at the child dialog
|
|
165
169
|
*
|
|
166
170
|
* @param callback A function that will be called after the dialog is closed and will receive a selection object with the numeric index and value for
|
|
167
171
|
* the option that's been selected by the user. if no option was selected, index will be -1 and value null
|
|
168
172
|
*/
|
|
169
173
|
addDialog(dialogComponentClass: Type<DialogBaseComponent>, properties: {
|
|
174
|
+
id?: string;
|
|
170
175
|
width?: string;
|
|
171
176
|
maxWidth?: string;
|
|
172
177
|
height?: string;
|
|
@@ -174,20 +179,16 @@ export declare class DialogService {
|
|
|
174
179
|
modal?: boolean;
|
|
175
180
|
texts?: string[];
|
|
176
181
|
options?: string[];
|
|
182
|
+
viewContainerRef?: ViewContainerRef;
|
|
177
183
|
}, callback?: null | ((selection: {
|
|
178
184
|
index: number;
|
|
179
185
|
value?: any;
|
|
180
186
|
}) => void)): void;
|
|
181
|
-
/**
|
|
182
|
-
* Force the removal of all the dialogs that are currently visible.
|
|
183
|
-
*
|
|
184
|
-
* If no dialogs are currently visible, this method will do nothing
|
|
185
|
-
*/
|
|
186
|
-
removeAllDialogs(): void;
|
|
187
187
|
/**
|
|
188
188
|
* Show a dialog with a calendar to let the user pick a date.
|
|
189
189
|
*
|
|
190
190
|
* @param properties An object containing the different visual and textual options that this dialog allows:
|
|
191
|
+
* - id: The html unique identifier that the dialog will have once created. If not specified, no id will be explicitly set
|
|
191
192
|
* - width: Specify the css value for the default dialog width. As the dialog is responsive, the value will be automatically
|
|
192
193
|
* reduced if the available screen is not enough, and will reach the desired value otherwise. We can set any css unit like pixels,
|
|
193
194
|
* %, vh, vw, or any other. For example: '400px', '50%', etc.
|
|
@@ -198,16 +199,35 @@ export declare class DialogService {
|
|
|
198
199
|
* - modal: True (default) if selecting an option is mandatory to close the dialog, false if the dialog can be closed
|
|
199
200
|
* by the user clicking outside it
|
|
200
201
|
* - title: An optional dialog title
|
|
202
|
+
* - viewContainerRef: This is important to propagate providers from a parent component to this dialog. We must specify
|
|
203
|
+
* this reference to make sure the same services injected on the parent are available too at the child dialog
|
|
201
204
|
* @param callback A function to be called after the dialog is closed. It will receive a Date() object selected by the user or null if no selection happened
|
|
202
205
|
*/
|
|
203
206
|
addDateSelectionDialog(properties: {
|
|
207
|
+
id?: string;
|
|
204
208
|
width?: string;
|
|
205
209
|
maxWidth?: string;
|
|
206
210
|
height?: string;
|
|
207
211
|
maxHeight?: string;
|
|
208
212
|
modal?: boolean;
|
|
209
213
|
title?: string;
|
|
214
|
+
viewContainerRef: ViewContainerRef;
|
|
210
215
|
}, callback: ((selectedDate: null | Date) => void)): void;
|
|
216
|
+
/**
|
|
217
|
+
* Force the removal of all the dialogs that are currently visible.
|
|
218
|
+
*
|
|
219
|
+
* If no dialogs are currently visible, this method will do nothing
|
|
220
|
+
*/
|
|
221
|
+
removeAllDialogs(): void;
|
|
222
|
+
/**
|
|
223
|
+
* TODO - translate from TS version
|
|
224
|
+
*/
|
|
225
|
+
/**
|
|
226
|
+
* TODO - translate from TS version
|
|
227
|
+
*/
|
|
228
|
+
/**
|
|
229
|
+
* TODO - translate from TS version
|
|
230
|
+
*/
|
|
211
231
|
/**
|
|
212
232
|
* Block all the user interactions with the application (keyboard, touch, mouse, ...)
|
|
213
233
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/dialog.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,IAAI,EAAc,wBAAwB,EAAE,QAAQ,EAAE,cAAc,EAAa,gBAAgB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"dialog.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/dialog.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
|
|
8
8
|
*/
|
|
9
9
|
import { ErrorHandler } from '@angular/core';
|
|
10
|
+
import { SingletoneStrictClass } from '../model/classes/SingletoneStrictClass';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* Captures all the application exceptions and performs any required action.
|
|
@@ -24,7 +25,7 @@ import * as i0 from "@angular/core";
|
|
|
24
25
|
* or implement your custom ones, you must extend this class and set your new one as the error
|
|
25
26
|
* handler provider.
|
|
26
27
|
*/
|
|
27
|
-
export declare class GlobalErrorService implements ErrorHandler {
|
|
28
|
+
export declare class GlobalErrorService extends SingletoneStrictClass implements ErrorHandler {
|
|
28
29
|
/**
|
|
29
30
|
* Enables or disables the error notification to user via an alert box
|
|
30
31
|
* Extend this class and override this value on your custom error handle to change it
|
|
@@ -41,6 +42,7 @@ export declare class GlobalErrorService implements ErrorHandler {
|
|
|
41
42
|
* Extend this class and override this value on your custom error handle to change it
|
|
42
43
|
*/
|
|
43
44
|
private readonly errorAlertMessage;
|
|
45
|
+
constructor();
|
|
44
46
|
/**
|
|
45
47
|
* Show an alert with the received error detail and also log it to the js console.
|
|
46
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalerror.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/globalerror.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAc,YAAY,EAAE,MAAM,eAAe,CAAC;;
|
|
1
|
+
{"version":3,"file":"globalerror.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/globalerror.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAc,YAAY,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;;AAG/E;;;;;;;;;;;;;;;GAeG;AACH,qBAGa,kBAAmB,SAAQ,qBAAsB,YAAW,YAAY;IAGjF;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAQ;IAG7C;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAQ;IAGhD;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAgC;;IAQlE;;;;;;OAMG;IACH,WAAW,CAAC,KAAK,EAAE,GAAG;yCArCb,kBAAkB;6CAAlB,kBAAkB;CAmD9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/http.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAe,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAIjD;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"http.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/http.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAe,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;;AAIjD;;GAEG;AACH,qBAGa,WAAY,SAAQ,WAAW;IAiBrB,aAAa,EAAE,aAAa;IAd/C;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,mBAAmB,yBAAyB;IAG5D;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,sBAAsB,4BAA4B;gBAG/C,aAAa,EAAE,aAAa;IAM/C;;;;;;;OAOG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAC,MAAM,EAAE,GAAC,sBAAsB,GAAC,sBAAsB,EAAE,EACzE,gBAAgB,GAAE,CAAC,CAAC,OAAO,EAAE;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,QAAQ,EAAC,GAAG,CAAC;QAAC,OAAO,EAAC,OAAO,CAAC;QAAC,QAAQ,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAA;KAAC,EAAE,EAAE,QAAQ,EAAC,OAAO,KAAK,IAAI,CAAC,GAAG,IAAW,EAClJ,gBAAgB,GAAE,IAAI,GAAG,CAAC,CAAC,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,IAAI,CAAQ,EACvF,OAAO,GAAE,CAAC,OAAO,WAAW,CAAC,mBAAmB,GAAC,OAAO,WAAW,CAAC,sBAAsB,CAAC,EAAO;yCAlCjG,WAAW;6CAAX,WAAW;CA8EvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localization.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/localization.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;;AAGtD;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"localization.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/localization.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;;AAGtD;;GAEG;AACH,qBAGa,mBAAoB,SAAQ,mBAAmB;yCAA/C,mBAAmB;6CAAnB,mBAAmB;CAE/B"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { Subscription } from 'rxjs';
|
|
2
2
|
import { GUINotification } from '../model/classes/GUINotification';
|
|
3
|
+
import { SingletoneStrictClass } from '../model/classes/SingletoneStrictClass';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* This is the main application event bus.
|
|
6
7
|
* All global events that happen on the application are broadcasted by this service, and
|
|
7
8
|
* can be listened by any application element who previously subscribed
|
|
8
9
|
*/
|
|
9
|
-
export declare class NotificationService {
|
|
10
|
+
export declare class NotificationService extends SingletoneStrictClass {
|
|
10
11
|
/**
|
|
11
12
|
* The Observable instance that handles subscriptions and notifications
|
|
12
13
|
*/
|
|
13
14
|
private readonly _notifications;
|
|
15
|
+
constructor();
|
|
14
16
|
/**
|
|
15
17
|
* used by other services or components to subscribe to all notifications that are generated by this service
|
|
16
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/notification.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAW,YAAY,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;;
|
|
1
|
+
{"version":3,"file":"notification.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/notification.service.ts"],"names":[],"mappings":"AAUA,OAAO,EAAW,YAAY,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;;AAG/E;;;;GAIG;AACH,qBAGa,mBAAoB,SAAQ,qBAAqB;IAG1D;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAkC;;IASjE;;;;;;OAMG;IACH,SAAS,CAAC,mBAAmB,EAAE,CAAC,YAAY,EAAE,eAAe,KAAK,GAAG;IAMrE;;;;OAIG;IACH,IAAI,CAAC,YAAY,EAAE,eAAe;IAMlC;;;;OAIG;IACH,WAAW,CAAC,YAAY,EAAE,YAAY;yCA5C7B,mBAAmB;6CAAnB,mBAAmB;CAgD/B"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { HTTPService } from '../controller/http.service';
|
|
2
2
|
import { LocalizationService } from '../controller/localization.service';
|
|
3
|
+
import { SingletoneStrictClass } from '../model/classes/SingletoneStrictClass';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* Manages the users model and commands
|
|
6
7
|
*/
|
|
7
|
-
export declare class UserService {
|
|
8
|
+
export declare class UserService extends SingletoneStrictClass {
|
|
8
9
|
httpService: HTTPService;
|
|
9
10
|
ls: LocalizationService;
|
|
10
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/user.service.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;;
|
|
1
|
+
{"version":3,"file":"user.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/user.service.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;;AAE/E;;GAEG;AACH,qBAGa,WAAY,SAAQ,qBAAqB;IAiC/B,WAAW,EAAE,WAAW;IACxB,EAAE,EAAE,mBAAmB;IA/B1C;;OAEG;IACH,eAAe,SAAiB;IAGhC;;OAEG;IACH,QAAQ,SAAM;IAGd;;OAEG;IACH,QAAQ,SAAM;IAGd;;OAEG;IACH,OAAO,CAAC,SAAS,CAAS;IAG1B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAM;gBAGD,WAAW,EAAE,WAAW,EACxB,EAAE,EAAE,mBAAmB;IAM1C;;OAEG;IACH,IAAI,mBAAmB,IAAI,OAAO,CAGjC;IAGD;;OAEG;IACH,IAAI,QAAQ,IAAI,OAAO,CAGtB;IAGD;;OAEG;IACH,IAAI,KAAK,WAGR;IAGD;;;;;OAKG;IACH,KAAK,CAAC,eAAe,GAAE,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAQ,EAAE,iBAAiB,GAAE,IAAI,GAAG,CAAC,MAAM,IAAI,CAAQ;IA2C7G;;OAEG;IACH,MAAM,CAAC,gBAAgB,GAAE,IAAI,GAAG,CAAC,MAAM,IAAI,CAAQ;IAsBnD,OAAO,CAAC,kBAAkB;yCA7IjB,WAAW;6CAAX,WAAW;CAyJvB"}
|
|
@@ -8,21 +8,17 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { Type, ViewContainerRef, ComponentFactoryResolver } from '@angular/core';
|
|
10
10
|
import { View } from '../model/classes/View';
|
|
11
|
-
import {
|
|
11
|
+
import { SingletoneStrictClass } from '../model/classes/SingletoneStrictClass';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
14
|
* Manages adding, removing and manipulating the application views
|
|
15
15
|
*/
|
|
16
|
-
export declare class ViewsService {
|
|
16
|
+
export declare class ViewsService extends SingletoneStrictClass {
|
|
17
17
|
private readonly componentFactoryResolver;
|
|
18
18
|
/**
|
|
19
19
|
* See getter method for docs
|
|
20
20
|
*/
|
|
21
21
|
private _loadedViewClass;
|
|
22
|
-
/**
|
|
23
|
-
* An instance of the model that is assigned to the currently loaded view
|
|
24
|
-
*/
|
|
25
|
-
private _loadedViewModel;
|
|
26
22
|
/**
|
|
27
23
|
* See setter method for docs
|
|
28
24
|
*/
|
|
@@ -50,13 +46,6 @@ export declare class ViewsService {
|
|
|
50
46
|
* @return The instance of the newly added and created view.
|
|
51
47
|
*/
|
|
52
48
|
pushView(view: Type<View>): import("@angular/core").ComponentRef<View> | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Get the model that is instantiated for the currently active view. (A view model only lives while its view is active)
|
|
55
|
-
* If no view model is assigned to the current view or no view is loaded, an exception will be thrown.
|
|
56
|
-
*
|
|
57
|
-
* @return The current view model instance, which must be casted to the appropiate ViewModel extended class
|
|
58
|
-
*/
|
|
59
|
-
get model(): ViewModel;
|
|
60
49
|
/**
|
|
61
50
|
* Delete the currently loaded view from the views container, and leave it empty.
|
|
62
51
|
* If no view is currently loaded, this method will do nothing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/views.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAc,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"views.service.d.ts","sourceRoot":"","sources":["../../../../projects/turbogui-angular/src/main/controller/views.service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,IAAI,EAAE,gBAAgB,EAAc,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;;AAG/E;;GAEG;AACH,qBAGa,YAAa,SAAQ,qBAAqB;IAevC,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IAZrD;;OAEG;IACH,OAAO,CAAC,gBAAgB,CAA2B;IAGnD;;OAEG;IACH,OAAO,CAAC,iBAAiB,CAAiC;gBAG7B,wBAAwB,EAAE,wBAAwB;IAM/E;;OAEG;IACH,IAAI,YAAY,YAGf;IAGD;;;;;OAKG;IACH,IAAI,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,GAAG,IAAI,EAQhD;IAGD;;;;;;;;;OASG;IACH,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IA4BzB;;;OAGG;IACH,OAAO;IAaP;;OAEG;IACH,OAAO,CAAC,yBAAyB;yCAzGxB,YAAY;6CAAZ,YAAY;CAgHxB"}
|
|
@@ -6,9 +6,14 @@
|
|
|
6
6
|
* License Url : -> http://www.apache.org/licenses/LICENSE-2.0
|
|
7
7
|
* CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
|
|
8
8
|
*/
|
|
9
|
+
import { Type } from "@angular/core";
|
|
9
10
|
/**
|
|
10
|
-
* Defines
|
|
11
|
+
* Defines a base class that can be used to create singleton services which cannot be instantiated more than one time
|
|
12
|
+
* during the whole application lifetime.
|
|
13
|
+
*
|
|
14
|
+
* To use it, simply extend this class and pass the parent class type to this constructor via super()
|
|
11
15
|
*/
|
|
12
|
-
export declare
|
|
16
|
+
export declare class SingletoneStrictClass {
|
|
17
|
+
constructor(classType: Type<any>);
|
|
13
18
|
}
|
|
14
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=SingletoneStrictClass.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SingletoneStrictClass.d.ts","sourceRoot":"","sources":["../../../../../projects/turbogui-angular/src/main/model/classes/SingletoneStrictClass.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,IAAI,EAAU,MAAM,eAAe,CAAC;AAG7C;;;;;GAKG;AACH,qBAAa,qBAAqB;gBAErB,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC;CAShC"}
|
|
@@ -6,35 +6,17 @@
|
|
|
6
6
|
* License Url : -> http://www.apache.org/licenses/LICENSE-2.0
|
|
7
7
|
* CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { ViewContainerRef } from "@angular/core";
|
|
10
|
+
import { ViewService } from "./ViewService";
|
|
11
11
|
/**
|
|
12
12
|
* Defines an application view.
|
|
13
|
-
* Our View components must extend this class so they can be manipulated via ViewsService
|
|
13
|
+
* Our View components must extend this class so they can be manipulated via ViewsService and be correctly linked to a view service.
|
|
14
14
|
*/
|
|
15
15
|
export declare abstract class View {
|
|
16
16
|
/**
|
|
17
|
-
* This
|
|
18
|
-
*
|
|
19
|
-
* We must declare this method in our view class to return the value of the currently active model, which is normally
|
|
20
|
-
* retrieved via --> return this.viewsService.model as OurViewClassModel; <-- Where OurViewClassModel is the type of the model class.
|
|
21
|
-
* If we are not using a mode with our class, we can set this method to simply return null.
|
|
17
|
+
* This constructor is specifically designed to force the view to set the viewContainerRef which will be automatically assigned
|
|
18
|
+
* to the respective view service. If the view has no service, we can set it to null.
|
|
22
19
|
*/
|
|
23
|
-
|
|
24
|
-
private _modelClass;
|
|
25
|
-
/**
|
|
26
|
-
* In order for the views service to know which model class must be created when setting a new active view,
|
|
27
|
-
* each view must specify the class for the view model at the overriden constructor super() call.
|
|
28
|
-
* All view models must also extend ViewModel. If we do not plan to attach a model to a view, we can pass a null value to
|
|
29
|
-
* the constructor super() call.
|
|
30
|
-
*
|
|
31
|
-
* A new model instance will be automatically created each time the view is added to the views container, and
|
|
32
|
-
* destroyed when the view is removed. So the view model will only live while the view is active on the views service.
|
|
33
|
-
*/
|
|
34
|
-
constructor(modelClass: null | Type<ViewModel>);
|
|
35
|
-
/**
|
|
36
|
-
* Obtain the class type for the model that is linked to this view, or null if the view model is not yet instantiated.
|
|
37
|
-
*/
|
|
38
|
-
get modelClass(): Type<ViewModel> | null;
|
|
20
|
+
constructor(viewContainerRef: ViewContainerRef, viewService: ViewService | null);
|
|
39
21
|
}
|
|
40
22
|
//# sourceMappingURL=View.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../projects/turbogui-angular/src/main/model/classes/View.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../projects/turbogui-angular/src/main/model/classes/View.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C;;;GAGG;AACH,8BAAsB,IAAI;IAGzB;;;OAGG;gBACS,gBAAgB,EAAE,gBAAgB,EAAE,WAAW,EAAC,WAAW,GAAC,IAAI;CAO5E"}
|
|
@@ -6,22 +6,15 @@
|
|
|
6
6
|
* License Url : -> http://www.apache.org/licenses/LICENSE-2.0
|
|
7
7
|
* CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
10
|
-
import { ViewsService } from '../../controller/views.service';
|
|
9
|
+
import { ViewContainerRef } from "@angular/core";
|
|
11
10
|
/**
|
|
12
|
-
* Defines
|
|
13
|
-
*
|
|
14
|
-
* into consideration that the view model will only be instantiated when the view is active.
|
|
11
|
+
* Defines a service that is attached to an application view.
|
|
12
|
+
* All our service components that are linked to a view must extend this class so they can be correctly initialized at the view constructor.
|
|
15
13
|
*/
|
|
16
|
-
export declare abstract class ViewService
|
|
17
|
-
readonly viewsService: ViewsService;
|
|
14
|
+
export declare abstract class ViewService {
|
|
18
15
|
/**
|
|
19
|
-
*
|
|
16
|
+
* A reference to the view container ref which is necessary to propagate the view providers and services to related dialogs
|
|
20
17
|
*/
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* A reference to the currently active view model
|
|
24
|
-
*/
|
|
25
|
-
get model(): T;
|
|
18
|
+
viewContainerRef: ViewContainerRef;
|
|
26
19
|
}
|
|
27
20
|
//# sourceMappingURL=ViewService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewService.d.ts","sourceRoot":"","sources":["../../../../../projects/turbogui-angular/src/main/model/classes/ViewService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ViewService.d.ts","sourceRoot":"","sources":["../../../../../projects/turbogui-angular/src/main/model/classes/ViewService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGjD;;;GAGG;AACH,8BAAsB,WAAW;IAGhC;;OAEG;IACA,gBAAgB,EAAE,gBAAgB,CAAC;CACtC"}
|
|
@@ -1,32 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../view/
|
|
3
|
-
import * as i2 from "../../view/
|
|
4
|
-
import * as i3 from "../../view/
|
|
5
|
-
import * as i4 from "../../view/
|
|
6
|
-
import * as i5 from "../../view/components/dialog-two-option/dialog-two-option.component";
|
|
7
|
-
import * as i6 from "../../view/components/dialog-multiple-option/dialog-multiple-option.component";
|
|
8
|
-
import * as i7 from "../../view/components/dialog-single-selection-list/dialog-single-selection-list.component";
|
|
9
|
-
import * as i8 from "../../view/components/views-container/views-container.component";
|
|
10
|
-
import * as i9 from "../../view/components/button-image/button-image.component";
|
|
11
|
-
import * as i10 from "../../view/components/button-container/button-container.component";
|
|
12
|
-
import * as i11 from "../../view/directives/ElementCreatedDirective";
|
|
13
|
-
import * as i12 from "../../view/directives/ElementDestroyedDirective";
|
|
14
|
-
import * as i13 from "../../view/directives/AutoFocusOnDisplayDirective";
|
|
15
|
-
import * as i14 from "../../view/directives/AutoSelectTextOnFocusDirective";
|
|
16
|
-
import * as i15 from "@angular/material/dialog";
|
|
17
|
-
import * as i16 from "@angular/material/snack-bar";
|
|
18
|
-
import * as i17 from "@angular/material/input";
|
|
19
|
-
import * as i18 from "@angular/material/button";
|
|
20
|
-
import * as i19 from "@angular/material/form-field";
|
|
21
|
-
import * as i20 from "@angular/material/datepicker";
|
|
22
|
-
import * as i21 from "@angular/material/core";
|
|
23
|
-
import * as i22 from "@angular/platform-browser/animations";
|
|
2
|
+
import * as i1 from "../../view/directives/ElementCreatedDirective";
|
|
3
|
+
import * as i2 from "../../view/directives/ElementDestroyedDirective";
|
|
4
|
+
import * as i3 from "../../view/directives/AutoFocusOnDisplayDirective";
|
|
5
|
+
import * as i4 from "../../view/directives/AutoSelectTextOnFocusDirective";
|
|
24
6
|
/**
|
|
25
7
|
* This file contains the root module that contains all the library declarations and exports.
|
|
26
8
|
*/
|
|
27
9
|
export declare class TurboGuiAngularModule {
|
|
28
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TurboGuiAngularModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TurboGuiAngularModule, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TurboGuiAngularModule, [typeof i1.ElementCreatedDirective, typeof i2.ElementDestroyedDirective, typeof i3.AutoFocusOnDisplayDirective, typeof i4.AutoSelectTextOnFocusDirective], never, [typeof i1.ElementCreatedDirective, typeof i2.ElementDestroyedDirective, typeof i3.AutoFocusOnDisplayDirective, typeof i4.AutoSelectTextOnFocusDirective]>;
|
|
30
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<TurboGuiAngularModule>;
|
|
31
13
|
}
|
|
32
14
|
//# sourceMappingURL=turbogui-angular.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"turbogui-angular.module.d.ts","sourceRoot":"","sources":["../../../../../projects/turbogui-angular/src/main/model/modules/turbogui-angular.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"turbogui-angular.module.d.ts","sourceRoot":"","sources":["../../../../../projects/turbogui-angular/src/main/model/modules/turbogui-angular.module.ts"],"names":[],"mappings":";;;;;AAgBA;;GAEG;AACH,qBAuBa,qBAAqB;yCAArB,qBAAqB;0CAArB,qBAAqB;0CAArB,qBAAqB;CAAI"}
|
|
@@ -14,6 +14,6 @@ export declare class BusyStateBaseComponent {
|
|
|
14
14
|
*/
|
|
15
15
|
busyStateBaseFade: boolean;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<BusyStateBaseComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BusyStateBaseComponent, "tg-busy-state-base", never, {}, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BusyStateBaseComponent, "tg-busy-state-base", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=busy-state-base.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"busy-state-base.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/busy-state-base/busy-state-base.component.ts"],"names":[],"mappings":";AAaA;;;;;;;;GAQG;AACH,
|
|
1
|
+
{"version":3,"file":"busy-state-base.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/busy-state-base/busy-state-base.component.ts"],"names":[],"mappings":";AAaA;;;;;;;;GAQG;AACH,qBAWa,sBAAsB;IAG/B;;OAEG;IACgC,iBAAiB,UAAQ;yCANnD,sBAAsB;2CAAtB,sBAAsB;CAOlC"}
|
|
@@ -9,6 +9,6 @@ export declare class ButtonContainerComponent extends ButtonBaseComponent {
|
|
|
9
9
|
*/
|
|
10
10
|
buttonFade: boolean;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonContainerComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonContainerComponent, "tg-button-container", never, {}, {}, never, ["*"],
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonContainerComponent, "tg-button-container", never, {}, {}, never, ["*"], true, never>;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=button-container.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-container.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/button-container/button-container.component.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;;AAGjG;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"button-container.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/button-container/button-container.component.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;;AAGjG;;GAEG;AACH,qBAWa,wBAAyB,SAAQ,mBAAmB;IAG7D;;OAEG;IACyB,UAAU,UAAQ;yCANrC,wBAAwB;2CAAxB,wBAAwB;CAOpC"}
|
|
@@ -27,6 +27,6 @@ export declare class ButtonImageComponent extends ButtonBaseComponent implements
|
|
|
27
27
|
*/
|
|
28
28
|
percentSize: number;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonImageComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonImageComponent, "tg-button-image", never, { "src": { "alias": "src"; "required": false; }; "percentSize": { "alias": "percentSize"; "required": false; }; }, {}, never, never,
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonImageComponent, "tg-button-image", never, { "src": { "alias": "src"; "required": false; }; "percentSize": { "alias": "percentSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
32
32
|
//# sourceMappingURL=button-image.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-image.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/button-image/button-image.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAiC,MAAM,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;;AAGjG;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"button-image.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/button-image/button-image.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAiC,MAAM,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;;AAGjG;;GAEG;AACH,qBAWa,oBAAqB,SAAQ,mBAAoB,YAAW,MAAM;IAG3E;;OAEG;IACyB,UAAU,UAAQ;IAG9C;;OAEG;IACM,GAAG,SAAM;IAGlB;;;OAGG;IACM,WAAW,SAAO;yCAnBlB,oBAAoB;2CAApB,oBAAoB;CAoBhC"}
|
|
@@ -6,23 +6,30 @@
|
|
|
6
6
|
* License Url : -> http://www.apache.org/licenses/LICENSE-2.0
|
|
7
7
|
* CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
|
|
8
8
|
*/
|
|
9
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
9
10
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
10
12
|
/**
|
|
11
13
|
* This is the base class for all the dialog components that can be loaded by the dialog service class
|
|
12
14
|
*/
|
|
13
|
-
export declare abstract class DialogBaseComponent {
|
|
15
|
+
export declare abstract class DialogBaseComponent implements AfterViewInit {
|
|
16
|
+
elementRef: ElementRef;
|
|
17
|
+
dialogRef: MatDialogRef<DialogBaseComponent>;
|
|
18
|
+
static readonly DIALOG_CLASS_NAME: string;
|
|
19
|
+
constructor(elementRef: ElementRef, dialogRef: MatDialogRef<DialogBaseComponent>);
|
|
20
|
+
ngAfterViewInit(): void;
|
|
14
21
|
/**
|
|
15
22
|
* Method to be called by the dialogs that extend this base component when they want to close themselves.
|
|
16
23
|
* It will perform the close of that dialog and also send an object to the addDialog() callback with the index and value
|
|
17
24
|
* that the user may have selected.
|
|
18
25
|
*
|
|
19
|
-
* @param dialogRef The reference to the dialogRef object that is available at the extended dialog component. It is
|
|
20
|
-
* required to perform the closing operation
|
|
21
26
|
* @param index The numeric index of the user option selection. It will be specific for each dialog and it's different available options
|
|
22
27
|
* @param value Any value that may be provided to the callback regarding the user selected option.
|
|
23
28
|
*
|
|
24
29
|
* @return void
|
|
25
30
|
*/
|
|
26
|
-
closeDialog(
|
|
31
|
+
closeDialog(index: number, value?: any): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogBaseComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogBaseComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
27
34
|
}
|
|
28
35
|
//# sourceMappingURL=dialog-base.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-base.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/dialog-base/dialog-base.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC
|
|
1
|
+
{"version":3,"file":"dialog-base.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/dialog-base/dialog-base.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,aAAa,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;;AAGxD;;GAEG;AACH,8BACsB,mBAAoB,YAAW,aAAa;IAe9C,UAAU,EAAE,UAAU;IAC/B,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC;IAJnD,MAAM,CAAC,QAAQ,CAAC,iBAAiB,EAAC,MAAM,CAAM;gBAG9B,UAAU,EAAE,UAAU,EAC/B,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC;IAKnD,eAAe;IAUf;;;;;;;;;OASG;IACH,WAAW,CAAC,KAAK,EAAC,MAAM,EAAE,KAAK,GAAC,GAAU;yCAzCxB,mBAAmB;2CAAnB,mBAAmB;CA6CxC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TurboGUI is A library that helps with the most common and generic UI elements and functionalities
|
|
3
|
+
*
|
|
4
|
+
* Website : -> http://www.turbogui.org
|
|
5
|
+
* License : -> Licensed under the Apache License, Version 2.0. You may not use this file except in compliance with the License.
|
|
6
|
+
* License Url : -> http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
* CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
|
|
8
|
+
*/
|
|
9
|
+
import { ElementRef } from '@angular/core';
|
|
1
10
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
11
|
import { DialogBaseComponent } from '../dialog-base/dialog-base.component';
|
|
3
12
|
import * as i0 from "@angular/core";
|
|
@@ -5,11 +14,13 @@ import * as i0 from "@angular/core";
|
|
|
5
14
|
* A dialog component with a calendar that allows us to select a single date value
|
|
6
15
|
*/
|
|
7
16
|
export declare class DialogDateSelectionComponent extends DialogBaseComponent {
|
|
17
|
+
elementRef: ElementRef;
|
|
8
18
|
dialogRef: MatDialogRef<DialogBaseComponent>;
|
|
9
19
|
data: any;
|
|
20
|
+
static readonly DIALOG_CLASS_NAME = "DialogDateSelectionComponent";
|
|
10
21
|
selectedDate: Date;
|
|
11
|
-
constructor(dialogRef: MatDialogRef<DialogBaseComponent>, data: any);
|
|
22
|
+
constructor(elementRef: ElementRef, dialogRef: MatDialogRef<DialogBaseComponent>, data: any);
|
|
12
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogDateSelectionComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogDateSelectionComponent, "tg-dialog-date-selection", never, {}, {}, never, never,
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogDateSelectionComponent, "tg-dialog-date-selection", never, {}, {}, never, never, true, never>;
|
|
14
25
|
}
|
|
15
26
|
//# sourceMappingURL=dialog-date-selection.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-date-selection.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/dialog-date-selection/dialog-date-selection.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dialog-date-selection.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/dialog-date-selection/dialog-date-selection.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAa,UAAU,EAAU,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAmB,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;;AAM3E;;GAEG;AACH,qBAUa,4BAA6B,SAAQ,mBAAmB;IAS9C,UAAU,EAAE,UAAU;IAAS,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC;IAClD,IAAI,EAAE,GAAG;IAPrD,MAAM,CAAC,QAAQ,CAAC,iBAAiB,kCAAkC;IAGnE,YAAY,EAAC,IAAI,CAAC;gBAGC,UAAU,EAAE,UAAU,EAAS,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC,EAClD,IAAI,EAAE,GAAG;yCAV5C,4BAA4B;2CAA5B,4BAA4B;CAcxC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TurboGUI is A library that helps with the most common and generic UI elements and functionalities
|
|
3
|
+
*
|
|
4
|
+
* Website : -> http://www.turbogui.org
|
|
5
|
+
* License : -> Licensed under the Apache License, Version 2.0. You may not use this file except in compliance with the License.
|
|
6
|
+
* License Url : -> http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
* CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
|
|
8
|
+
*/
|
|
9
|
+
import { ElementRef } from '@angular/core';
|
|
1
10
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
11
|
import { DialogBaseComponent } from '../dialog-base/dialog-base.component';
|
|
3
12
|
import * as i0 from "@angular/core";
|
|
@@ -5,10 +14,12 @@ import * as i0 from "@angular/core";
|
|
|
5
14
|
* A dialog component with a single option button, to be used for error notifications
|
|
6
15
|
*/
|
|
7
16
|
export declare class DialogErrorComponent extends DialogBaseComponent {
|
|
17
|
+
elementRef: ElementRef;
|
|
8
18
|
dialogRef: MatDialogRef<DialogBaseComponent>;
|
|
9
19
|
data: any;
|
|
10
|
-
|
|
20
|
+
static readonly DIALOG_CLASS_NAME = "DialogErrorComponent";
|
|
21
|
+
constructor(elementRef: ElementRef, dialogRef: MatDialogRef<DialogBaseComponent>, data: any);
|
|
11
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogErrorComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogErrorComponent, "tg-dialog-error", never, {}, {}, never, never,
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogErrorComponent, "tg-dialog-error", never, {}, {}, never, never, true, never>;
|
|
13
24
|
}
|
|
14
25
|
//# sourceMappingURL=dialog-error.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-error.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/dialog-error/dialog-error.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dialog-error.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/turbogui-angular/src/main/view/components/dialog-error/dialog-error.component.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAa,UAAU,EAAU,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAmB,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;;AAK3E;;GAEG;AACH,qBAQa,oBAAqB,SAAQ,mBAAmB;IAMtC,UAAU,EAAE,UAAU;IAAS,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC;IAAkC,IAAI,EAAE,GAAG;IAHzI,MAAM,CAAC,QAAQ,CAAC,iBAAiB,0BAA0B;gBAGxC,UAAU,EAAE,UAAU,EAAS,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC,EAAkC,IAAI,EAAE,GAAG;yCANhI,oBAAoB;2CAApB,oBAAoB;CAyBhC"}
|