turbogui-angular 11.0.2 → 12.1.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 +48 -48
- package/esm2022/main/controller/dialog.service.mjs +327 -324
- package/esm2022/main/controller/globalerror.service.mjs +68 -68
- package/esm2022/main/controller/http.service.mjs +70 -70
- package/esm2022/main/controller/httpservice/HTTPServiceGetRequest.mjs +14 -14
- package/esm2022/main/controller/httpservice/HTTPServicePostRequest.mjs +14 -14
- package/esm2022/main/controller/localization.service.mjs +22 -22
- package/esm2022/main/controller/notification.service.mjs +56 -56
- package/esm2022/main/controller/user.service.mjs +124 -124
- package/esm2022/main/controller/views.service.mjs +113 -113
- package/esm2022/main/managers/DelayedMethodCallManager.mjs +69 -69
- package/esm2022/main/model/classes/GUINotification.mjs +31 -31
- package/esm2022/main/model/classes/View.mjs +33 -33
- package/esm2022/main/model/classes/ViewModel.mjs +13 -13
- package/esm2022/main/model/classes/ViewService.mjs +27 -27
- package/esm2022/main/model/modules/turbogui-angular.module.mjs +140 -140
- package/esm2022/main/view/animations/fade.animation.mjs +35 -35
- package/esm2022/main/view/components/busy-state-base/busy-state-base.component.mjs +38 -38
- package/esm2022/main/view/components/button-base/button-base.component.mjs +180 -180
- package/esm2022/main/view/components/button-container/button-container.component.mjs +34 -34
- package/esm2022/main/view/components/button-image/button-image.component.mjs +47 -47
- package/esm2022/main/view/components/dialog-base/dialog-base.component.mjs +13 -13
- package/esm2022/main/view/components/dialog-error/dialog-error.component.mjs +41 -41
- package/esm2022/main/view/components/dialog-multiple-option/dialog-multiple-option.component.mjs +38 -38
- package/esm2022/main/view/components/dialog-options-base/dialog-options-base.component.mjs +14 -14
- package/esm2022/main/view/components/dialog-single-option/dialog-single-option.component.mjs +41 -41
- package/esm2022/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.mjs +112 -112
- package/esm2022/main/view/components/dialog-two-option/dialog-two-option.component.mjs +42 -42
- package/esm2022/main/view/components/views-container/views-container.component.mjs +70 -70
- package/esm2022/main/view/directives/AutoFocusOnDisplayDirective.mjs +39 -39
- package/esm2022/main/view/directives/AutoSelectTextOnFocusDirective.mjs +39 -39
- package/esm2022/main/view/directives/ElementCreatedDirective.mjs +42 -42
- package/esm2022/main/view/directives/ElementDestroyedDirective.mjs +42 -42
- package/esm2022/public_api.mjs +43 -43
- package/esm2022/turbogui-angular.mjs +4 -4
- package/fesm2022/turbogui-angular.mjs +1865 -1862
- package/fesm2022/turbogui-angular.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/main/controller/browser.service.d.ts +29 -29
- package/main/controller/dialog.service.d.ts +186 -184
- package/main/controller/dialog.service.d.ts.map +1 -1
- package/main/controller/globalerror.service.d.ts +54 -54
- package/main/controller/http.service.d.ts +37 -37
- package/main/controller/httpservice/HTTPServiceGetRequest.d.ts +14 -14
- package/main/controller/httpservice/HTTPServicePostRequest.d.ts +14 -14
- package/main/controller/localization.service.d.ts +9 -9
- package/main/controller/notification.service.d.ts +36 -36
- package/main/controller/user.service.d.ts +57 -57
- package/main/controller/views.service.d.ts +71 -71
- package/main/managers/DelayedMethodCallManager.d.ts +51 -51
- package/main/model/classes/GUINotification.d.ts +27 -27
- package/main/model/classes/View.d.ts +39 -39
- package/main/model/classes/ViewModel.d.ts +13 -13
- package/main/model/classes/ViewService.d.ts +26 -26
- package/main/model/modules/turbogui-angular.module.d.ts +28 -28
- package/main/view/animations/fade.animation.d.ts +16 -16
- package/main/view/components/busy-state-base/busy-state-base.component.d.ts +18 -18
- package/main/view/components/button-base/button-base.component.d.ts +94 -94
- package/main/view/components/button-container/button-container.component.d.ts +13 -13
- package/main/view/components/button-image/button-image.component.d.ts +31 -31
- package/main/view/components/dialog-base/dialog-base.component.d.ts +13 -13
- package/main/view/components/dialog-error/dialog-error.component.d.ts +13 -13
- package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.d.ts +13 -13
- package/main/view/components/dialog-options-base/dialog-options-base.component.d.ts +14 -14
- package/main/view/components/dialog-single-option/dialog-single-option.component.d.ts +13 -13
- package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.d.ts +62 -62
- package/main/view/components/dialog-two-option/dialog-two-option.component.d.ts +14 -14
- package/main/view/components/views-container/views-container.component.d.ts +45 -45
- package/main/view/directives/AutoFocusOnDisplayDirective.d.ts +20 -20
- package/main/view/directives/AutoSelectTextOnFocusDirective.d.ts +19 -19
- package/main/view/directives/ElementCreatedDirective.d.ts +23 -23
- package/main/view/directives/ElementDestroyedDirective.d.ts +23 -23
- package/package.json +6 -6
- package/public_api.d.ts +40 -40
|
@@ -1,28 +1,28 @@
|
|
|
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
|
-
/**
|
|
10
|
-
* Defines the data that is contained inside a GUI notification
|
|
11
|
-
*/
|
|
12
|
-
export declare class GUINotification {
|
|
13
|
-
constructor(name: string, type?: string, data?: any);
|
|
14
|
-
/**
|
|
15
|
-
* The name for this notification
|
|
16
|
-
*/
|
|
17
|
-
name: string;
|
|
18
|
-
/**
|
|
19
|
-
* An optional type to categorize this notification in case the name is not enough
|
|
20
|
-
* to uniquely identify it
|
|
21
|
-
*/
|
|
22
|
-
type: string;
|
|
23
|
-
/**
|
|
24
|
-
* Additional data to send with the notification
|
|
25
|
-
*/
|
|
26
|
-
data: any;
|
|
27
|
-
}
|
|
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
|
+
/**
|
|
10
|
+
* Defines the data that is contained inside a GUI notification
|
|
11
|
+
*/
|
|
12
|
+
export declare class GUINotification {
|
|
13
|
+
constructor(name: string, type?: string, data?: any);
|
|
14
|
+
/**
|
|
15
|
+
* The name for this notification
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* An optional type to categorize this notification in case the name is not enough
|
|
20
|
+
* to uniquely identify it
|
|
21
|
+
*/
|
|
22
|
+
type: string;
|
|
23
|
+
/**
|
|
24
|
+
* Additional data to send with the notification
|
|
25
|
+
*/
|
|
26
|
+
data: any;
|
|
27
|
+
}
|
|
28
28
|
//# sourceMappingURL=GUINotification.d.ts.map
|
|
@@ -1,40 +1,40 @@
|
|
|
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 { Type } from '@angular/core';
|
|
10
|
-
import { ViewModel } from '../../model/classes/ViewModel';
|
|
11
|
-
/**
|
|
12
|
-
* Defines an application view.
|
|
13
|
-
* Our View components must extend this class so they can be manipulated via ViewsService
|
|
14
|
-
*/
|
|
15
|
-
export declare abstract class View {
|
|
16
|
-
/**
|
|
17
|
-
* This method is used to obtain the model instance that is related to this view.
|
|
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.
|
|
22
|
-
*/
|
|
23
|
-
abstract get model(): any;
|
|
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;
|
|
39
|
-
}
|
|
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 { Type } from '@angular/core';
|
|
10
|
+
import { ViewModel } from '../../model/classes/ViewModel';
|
|
11
|
+
/**
|
|
12
|
+
* Defines an application view.
|
|
13
|
+
* Our View components must extend this class so they can be manipulated via ViewsService
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class View {
|
|
16
|
+
/**
|
|
17
|
+
* This method is used to obtain the model instance that is related to this view.
|
|
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.
|
|
22
|
+
*/
|
|
23
|
+
abstract get model(): any;
|
|
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;
|
|
39
|
+
}
|
|
40
40
|
//# sourceMappingURL=View.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
/**
|
|
10
|
-
* Defines the model base class for an application view
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class ViewModel {
|
|
13
|
-
}
|
|
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
|
+
/**
|
|
10
|
+
* Defines the model base class for an application view
|
|
11
|
+
*/
|
|
12
|
+
export declare abstract class ViewModel {
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=ViewModel.d.ts.map
|
|
@@ -1,27 +1,27 @@
|
|
|
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 { ViewModel } from '../../model/classes/ViewModel';
|
|
10
|
-
import { ViewsService } from '../../controller/views.service';
|
|
11
|
-
/**
|
|
12
|
-
* Defines the service base class for a view service class. All services that are used by views must extend this.
|
|
13
|
-
* We must create the view services as an @Injectable() angular class which will be globally available at any time, but we must take
|
|
14
|
-
* into consideration that the view model will only be instantiated when the view is active.
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class ViewService<T extends ViewModel> {
|
|
17
|
-
readonly viewsService: ViewsService;
|
|
18
|
-
/**
|
|
19
|
-
* Class requires a views service instance
|
|
20
|
-
*/
|
|
21
|
-
constructor(viewsService: ViewsService);
|
|
22
|
-
/**
|
|
23
|
-
* A reference to the currently active view model
|
|
24
|
-
*/
|
|
25
|
-
get model(): T;
|
|
26
|
-
}
|
|
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 { ViewModel } from '../../model/classes/ViewModel';
|
|
10
|
+
import { ViewsService } from '../../controller/views.service';
|
|
11
|
+
/**
|
|
12
|
+
* Defines the service base class for a view service class. All services that are used by views must extend this.
|
|
13
|
+
* We must create the view services as an @Injectable() angular class which will be globally available at any time, but we must take
|
|
14
|
+
* into consideration that the view model will only be instantiated when the view is active.
|
|
15
|
+
*/
|
|
16
|
+
export declare abstract class ViewService<T extends ViewModel> {
|
|
17
|
+
readonly viewsService: ViewsService;
|
|
18
|
+
/**
|
|
19
|
+
* Class requires a views service instance
|
|
20
|
+
*/
|
|
21
|
+
constructor(viewsService: ViewsService);
|
|
22
|
+
/**
|
|
23
|
+
* A reference to the currently active view model
|
|
24
|
+
*/
|
|
25
|
+
get model(): T;
|
|
26
|
+
}
|
|
27
27
|
//# sourceMappingURL=ViewService.d.ts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../../view/components/busy-state-base/busy-state-base.component";
|
|
3
|
-
import * as i2 from "../../view/components/dialog-error/dialog-error.component";
|
|
4
|
-
import * as i3 from "../../view/components/dialog-single-option/dialog-single-option.component";
|
|
5
|
-
import * as i4 from "../../view/components/dialog-two-option/dialog-two-option.component";
|
|
6
|
-
import * as i5 from "../../view/components/dialog-multiple-option/dialog-multiple-option.component";
|
|
7
|
-
import * as i6 from "../../view/components/dialog-single-selection-list/dialog-single-selection-list.component";
|
|
8
|
-
import * as i7 from "../../view/components/views-container/views-container.component";
|
|
9
|
-
import * as i8 from "../../view/components/button-image/button-image.component";
|
|
10
|
-
import * as i9 from "../../view/components/button-container/button-container.component";
|
|
11
|
-
import * as i10 from "../../view/directives/ElementCreatedDirective";
|
|
12
|
-
import * as i11 from "../../view/directives/ElementDestroyedDirective";
|
|
13
|
-
import * as i12 from "../../view/directives/AutoFocusOnDisplayDirective";
|
|
14
|
-
import * as i13 from "../../view/directives/AutoSelectTextOnFocusDirective";
|
|
15
|
-
import * as i14 from "@angular/material/dialog";
|
|
16
|
-
import * as i15 from "@angular/material/snack-bar";
|
|
17
|
-
import * as i16 from "@angular/material/input";
|
|
18
|
-
import * as i17 from "@angular/material/button";
|
|
19
|
-
import * as i18 from "@angular/material/form-field";
|
|
20
|
-
import * as i19 from "@angular/platform-browser/animations";
|
|
21
|
-
/**
|
|
22
|
-
* This file contains the root module that contains all the library declarations and exports.
|
|
23
|
-
*/
|
|
24
|
-
export declare class TurboGuiAngularModule {
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TurboGuiAngularModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TurboGuiAngularModule, [typeof i1.BusyStateBaseComponent, typeof i2.DialogErrorComponent, typeof i3.DialogSingleOptionComponent, typeof i4.DialogTwoOptionComponent, typeof i5.DialogMultipleOptionComponent, typeof i6.DialogSingleSelectionListComponent, typeof i7.ViewsContainerComponent, typeof i8.ButtonImageComponent, typeof i9.ButtonContainerComponent, typeof i10.ElementCreatedDirective, typeof i11.ElementDestroyedDirective, typeof i12.AutoFocusOnDisplayDirective, typeof i13.AutoSelectTextOnFocusDirective], [typeof i14.MatDialogModule, typeof i15.MatSnackBarModule, typeof i16.MatInputModule, typeof i17.MatButtonModule, typeof i18.MatFormFieldModule, typeof i19.BrowserAnimationsModule], [typeof i1.BusyStateBaseComponent, typeof i7.ViewsContainerComponent, typeof i8.ButtonImageComponent, typeof i9.ButtonContainerComponent, typeof i2.DialogErrorComponent, typeof i3.DialogSingleOptionComponent, typeof i4.DialogTwoOptionComponent, typeof i5.DialogMultipleOptionComponent, typeof i6.DialogSingleSelectionListComponent, typeof i10.ElementCreatedDirective, typeof i11.ElementDestroyedDirective, typeof i12.AutoFocusOnDisplayDirective, typeof i13.AutoSelectTextOnFocusDirective]>;
|
|
27
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TurboGuiAngularModule>;
|
|
28
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../../view/components/busy-state-base/busy-state-base.component";
|
|
3
|
+
import * as i2 from "../../view/components/dialog-error/dialog-error.component";
|
|
4
|
+
import * as i3 from "../../view/components/dialog-single-option/dialog-single-option.component";
|
|
5
|
+
import * as i4 from "../../view/components/dialog-two-option/dialog-two-option.component";
|
|
6
|
+
import * as i5 from "../../view/components/dialog-multiple-option/dialog-multiple-option.component";
|
|
7
|
+
import * as i6 from "../../view/components/dialog-single-selection-list/dialog-single-selection-list.component";
|
|
8
|
+
import * as i7 from "../../view/components/views-container/views-container.component";
|
|
9
|
+
import * as i8 from "../../view/components/button-image/button-image.component";
|
|
10
|
+
import * as i9 from "../../view/components/button-container/button-container.component";
|
|
11
|
+
import * as i10 from "../../view/directives/ElementCreatedDirective";
|
|
12
|
+
import * as i11 from "../../view/directives/ElementDestroyedDirective";
|
|
13
|
+
import * as i12 from "../../view/directives/AutoFocusOnDisplayDirective";
|
|
14
|
+
import * as i13 from "../../view/directives/AutoSelectTextOnFocusDirective";
|
|
15
|
+
import * as i14 from "@angular/material/dialog";
|
|
16
|
+
import * as i15 from "@angular/material/snack-bar";
|
|
17
|
+
import * as i16 from "@angular/material/input";
|
|
18
|
+
import * as i17 from "@angular/material/button";
|
|
19
|
+
import * as i18 from "@angular/material/form-field";
|
|
20
|
+
import * as i19 from "@angular/platform-browser/animations";
|
|
21
|
+
/**
|
|
22
|
+
* This file contains the root module that contains all the library declarations and exports.
|
|
23
|
+
*/
|
|
24
|
+
export declare class TurboGuiAngularModule {
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TurboGuiAngularModule, never>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TurboGuiAngularModule, [typeof i1.BusyStateBaseComponent, typeof i2.DialogErrorComponent, typeof i3.DialogSingleOptionComponent, typeof i4.DialogTwoOptionComponent, typeof i5.DialogMultipleOptionComponent, typeof i6.DialogSingleSelectionListComponent, typeof i7.ViewsContainerComponent, typeof i8.ButtonImageComponent, typeof i9.ButtonContainerComponent, typeof i10.ElementCreatedDirective, typeof i11.ElementDestroyedDirective, typeof i12.AutoFocusOnDisplayDirective, typeof i13.AutoSelectTextOnFocusDirective], [typeof i14.MatDialogModule, typeof i15.MatSnackBarModule, typeof i16.MatInputModule, typeof i17.MatButtonModule, typeof i18.MatFormFieldModule, typeof i19.BrowserAnimationsModule], [typeof i1.BusyStateBaseComponent, typeof i7.ViewsContainerComponent, typeof i8.ButtonImageComponent, typeof i9.ButtonContainerComponent, typeof i2.DialogErrorComponent, typeof i3.DialogSingleOptionComponent, typeof i4.DialogTwoOptionComponent, typeof i5.DialogMultipleOptionComponent, typeof i6.DialogSingleSelectionListComponent, typeof i10.ElementCreatedDirective, typeof i11.ElementDestroyedDirective, typeof i12.AutoFocusOnDisplayDirective, typeof i13.AutoSelectTextOnFocusDirective]>;
|
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TurboGuiAngularModule>;
|
|
28
|
+
}
|
|
29
29
|
//# sourceMappingURL=turbogui-angular.module.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Fade animations
|
|
4
|
-
*/
|
|
5
|
-
export declare class FadeAnimationClass {
|
|
6
|
-
/**
|
|
7
|
-
* Get a custom trigger to create fade animations when components are added or removed from the application
|
|
8
|
-
*
|
|
9
|
-
* @param triggerName The name for the trigger we want to create
|
|
10
|
-
* @param enter The time and easing that we want to use for the enter state
|
|
11
|
-
* @param leave The time and easing that we want to use for the leave state
|
|
12
|
-
*/
|
|
13
|
-
static getTrigger(triggerName: string, enter?: string, leave?: string): import("@angular/animations").AnimationTriggerMetadata;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FadeAnimationClass, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FadeAnimationClass>;
|
|
16
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Fade animations
|
|
4
|
+
*/
|
|
5
|
+
export declare class FadeAnimationClass {
|
|
6
|
+
/**
|
|
7
|
+
* Get a custom trigger to create fade animations when components are added or removed from the application
|
|
8
|
+
*
|
|
9
|
+
* @param triggerName The name for the trigger we want to create
|
|
10
|
+
* @param enter The time and easing that we want to use for the enter state
|
|
11
|
+
* @param leave The time and easing that we want to use for the leave state
|
|
12
|
+
*/
|
|
13
|
+
static getTrigger(triggerName: string, enter?: string, leave?: string): import("@angular/animations").AnimationTriggerMetadata;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FadeAnimationClass, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FadeAnimationClass>;
|
|
16
|
+
}
|
|
17
17
|
//# sourceMappingURL=fade.animation.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* This component is used by turboGUI angular library to show the busy state to the user.
|
|
4
|
-
* It is used to block all the user input and progressively shows a busy cursor to notify that the application
|
|
5
|
-
* is waiting for something.
|
|
6
|
-
*
|
|
7
|
-
* We can (should) override this component with our own one to adapt its visual appearance to our application.
|
|
8
|
-
* We can then set dialogService.busyStateComponentClass to our component class at the application start to to
|
|
9
|
-
* override the default one.
|
|
10
|
-
*/
|
|
11
|
-
export declare class BusyStateBaseComponent {
|
|
12
|
-
/**
|
|
13
|
-
* This is used to attach the fade animation directly to this component so it fades in and out when created and removed from the app
|
|
14
|
-
*/
|
|
15
|
-
busyStateBaseFade: boolean;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BusyStateBaseComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BusyStateBaseComponent, "tg-busy-state-base", never, {}, {}, never, never, false, never>;
|
|
18
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* This component is used by turboGUI angular library to show the busy state to the user.
|
|
4
|
+
* It is used to block all the user input and progressively shows a busy cursor to notify that the application
|
|
5
|
+
* is waiting for something.
|
|
6
|
+
*
|
|
7
|
+
* We can (should) override this component with our own one to adapt its visual appearance to our application.
|
|
8
|
+
* We can then set dialogService.busyStateComponentClass to our component class at the application start to to
|
|
9
|
+
* override the default one.
|
|
10
|
+
*/
|
|
11
|
+
export declare class BusyStateBaseComponent {
|
|
12
|
+
/**
|
|
13
|
+
* This is used to attach the fade animation directly to this component so it fades in and out when created and removed from the app
|
|
14
|
+
*/
|
|
15
|
+
busyStateBaseFade: boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BusyStateBaseComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BusyStateBaseComponent, "tg-busy-state-base", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
19
19
|
//# sourceMappingURL=busy-state-base.component.d.ts.map
|
|
@@ -1,95 +1,95 @@
|
|
|
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 { OnInit } from '@angular/core';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* This is the base class for all button components
|
|
13
|
-
*/
|
|
14
|
-
export declare abstract class ButtonBaseComponent implements OnInit {
|
|
15
|
-
/**
|
|
16
|
-
* Defines the actual opacity that is binded on the html part
|
|
17
|
-
*/
|
|
18
|
-
currentOpacity: number;
|
|
19
|
-
/**
|
|
20
|
-
* Defines the actual scale that is binded on the html part
|
|
21
|
-
*/
|
|
22
|
-
currentScale: string;
|
|
23
|
-
/**
|
|
24
|
-
* Defines if the button can be clicked or not
|
|
25
|
-
*/
|
|
26
|
-
pointerEvents: string;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies if the button animations must rollback when the user releases the mouse or pointer after pressing it
|
|
29
|
-
*/
|
|
30
|
-
releaseOnMouseUp: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the amount of milliseconds that the button will vibrate when it gets clicked (only on compatible devices and browsers)
|
|
33
|
-
* Set it to 0 to disable click vibration
|
|
34
|
-
*/
|
|
35
|
-
vibrateOnClick: number;
|
|
36
|
-
/**
|
|
37
|
-
* Defines the button opacity when it is not clicked
|
|
38
|
-
*/
|
|
39
|
-
defaultOpacity: number;
|
|
40
|
-
/**
|
|
41
|
-
* Defines the image scale when it is not clicked
|
|
42
|
-
*/
|
|
43
|
-
defaultScale: number;
|
|
44
|
-
/**
|
|
45
|
-
* Defines the button opacity when it is hovered
|
|
46
|
-
*/
|
|
47
|
-
hoverOpacity: number;
|
|
48
|
-
/**
|
|
49
|
-
* Defines the image scale when it is hovered
|
|
50
|
-
*/
|
|
51
|
-
hoverScale: number;
|
|
52
|
-
/**
|
|
53
|
-
* Defines the button opacity when it is clicked
|
|
54
|
-
*/
|
|
55
|
-
clickOpacity: number;
|
|
56
|
-
/**
|
|
57
|
-
* Defines the image scale when it is clicked
|
|
58
|
-
*/
|
|
59
|
-
clickScale: number;
|
|
60
|
-
/**
|
|
61
|
-
* Defines the button opacity when it is disabled
|
|
62
|
-
*/
|
|
63
|
-
disabledOpacity: number;
|
|
64
|
-
/**
|
|
65
|
-
* Stores the value that tells if the button is enabled or disabled
|
|
66
|
-
*/
|
|
67
|
-
private _enabled;
|
|
68
|
-
/**
|
|
69
|
-
* Specifies if the button is enabled or disabled
|
|
70
|
-
*/
|
|
71
|
-
set enabled(v: boolean);
|
|
72
|
-
/**
|
|
73
|
-
* Set button default values
|
|
74
|
-
*/
|
|
75
|
-
ngOnInit(): void;
|
|
76
|
-
/**
|
|
77
|
-
* Listens for the mouse over the button component
|
|
78
|
-
*/
|
|
79
|
-
onMouseOver(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Listens for the mouse out of the button component
|
|
82
|
-
*/
|
|
83
|
-
onMouseOut(): void;
|
|
84
|
-
/**
|
|
85
|
-
* Listens for the mouse down on the button component
|
|
86
|
-
*/
|
|
87
|
-
onMouseDown(): void;
|
|
88
|
-
/**
|
|
89
|
-
* Listens for the mouse up of the button component
|
|
90
|
-
*/
|
|
91
|
-
onMouseUp(): void;
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBaseComponent, never>;
|
|
93
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonBaseComponent, never, never, { "releaseOnMouseUp": { "alias": "releaseOnMouseUp"; "required": false; }; "vibrateOnClick": { "alias": "vibrateOnClick"; "required": false; }; "defaultOpacity": { "alias": "defaultOpacity"; "required": false; }; "defaultScale": { "alias": "defaultScale"; "required": false; }; "hoverOpacity": { "alias": "hoverOpacity"; "required": false; }; "hoverScale": { "alias": "hoverScale"; "required": false; }; "clickOpacity": { "alias": "clickOpacity"; "required": false; }; "clickScale": { "alias": "clickScale"; "required": false; }; "disabledOpacity": { "alias": "disabledOpacity"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
94
|
-
}
|
|
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 { OnInit } from '@angular/core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* This is the base class for all button components
|
|
13
|
+
*/
|
|
14
|
+
export declare abstract class ButtonBaseComponent implements OnInit {
|
|
15
|
+
/**
|
|
16
|
+
* Defines the actual opacity that is binded on the html part
|
|
17
|
+
*/
|
|
18
|
+
currentOpacity: number;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the actual scale that is binded on the html part
|
|
21
|
+
*/
|
|
22
|
+
currentScale: string;
|
|
23
|
+
/**
|
|
24
|
+
* Defines if the button can be clicked or not
|
|
25
|
+
*/
|
|
26
|
+
pointerEvents: string;
|
|
27
|
+
/**
|
|
28
|
+
* Specifies if the button animations must rollback when the user releases the mouse or pointer after pressing it
|
|
29
|
+
*/
|
|
30
|
+
releaseOnMouseUp: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the amount of milliseconds that the button will vibrate when it gets clicked (only on compatible devices and browsers)
|
|
33
|
+
* Set it to 0 to disable click vibration
|
|
34
|
+
*/
|
|
35
|
+
vibrateOnClick: number;
|
|
36
|
+
/**
|
|
37
|
+
* Defines the button opacity when it is not clicked
|
|
38
|
+
*/
|
|
39
|
+
defaultOpacity: number;
|
|
40
|
+
/**
|
|
41
|
+
* Defines the image scale when it is not clicked
|
|
42
|
+
*/
|
|
43
|
+
defaultScale: number;
|
|
44
|
+
/**
|
|
45
|
+
* Defines the button opacity when it is hovered
|
|
46
|
+
*/
|
|
47
|
+
hoverOpacity: number;
|
|
48
|
+
/**
|
|
49
|
+
* Defines the image scale when it is hovered
|
|
50
|
+
*/
|
|
51
|
+
hoverScale: number;
|
|
52
|
+
/**
|
|
53
|
+
* Defines the button opacity when it is clicked
|
|
54
|
+
*/
|
|
55
|
+
clickOpacity: number;
|
|
56
|
+
/**
|
|
57
|
+
* Defines the image scale when it is clicked
|
|
58
|
+
*/
|
|
59
|
+
clickScale: number;
|
|
60
|
+
/**
|
|
61
|
+
* Defines the button opacity when it is disabled
|
|
62
|
+
*/
|
|
63
|
+
disabledOpacity: number;
|
|
64
|
+
/**
|
|
65
|
+
* Stores the value that tells if the button is enabled or disabled
|
|
66
|
+
*/
|
|
67
|
+
private _enabled;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies if the button is enabled or disabled
|
|
70
|
+
*/
|
|
71
|
+
set enabled(v: boolean);
|
|
72
|
+
/**
|
|
73
|
+
* Set button default values
|
|
74
|
+
*/
|
|
75
|
+
ngOnInit(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Listens for the mouse over the button component
|
|
78
|
+
*/
|
|
79
|
+
onMouseOver(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Listens for the mouse out of the button component
|
|
82
|
+
*/
|
|
83
|
+
onMouseOut(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Listens for the mouse down on the button component
|
|
86
|
+
*/
|
|
87
|
+
onMouseDown(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Listens for the mouse up of the button component
|
|
90
|
+
*/
|
|
91
|
+
onMouseUp(): void;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBaseComponent, never>;
|
|
93
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonBaseComponent, never, never, { "releaseOnMouseUp": { "alias": "releaseOnMouseUp"; "required": false; }; "vibrateOnClick": { "alias": "vibrateOnClick"; "required": false; }; "defaultOpacity": { "alias": "defaultOpacity"; "required": false; }; "defaultScale": { "alias": "defaultScale"; "required": false; }; "hoverOpacity": { "alias": "hoverOpacity"; "required": false; }; "hoverScale": { "alias": "hoverScale"; "required": false; }; "clickOpacity": { "alias": "clickOpacity"; "required": false; }; "clickScale": { "alias": "clickScale"; "required": false; }; "disabledOpacity": { "alias": "disabledOpacity"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
94
|
+
}
|
|
95
95
|
//# sourceMappingURL=button-base.component.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ButtonBaseComponent } from '../../../view/components/button-base/button-base.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* This component is a basic button without visual appearance, that is used as a container to load any content.
|
|
5
|
-
*/
|
|
6
|
-
export declare class ButtonContainerComponent extends ButtonBaseComponent {
|
|
7
|
-
/**
|
|
8
|
-
* This is used to attach the fade animation directly to this component so it fades in and out when created and removed from the app
|
|
9
|
-
*/
|
|
10
|
-
buttonFade: boolean;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonContainerComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonContainerComponent, "tg-button-container", never, {}, {}, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
1
|
+
import { ButtonBaseComponent } from '../../../view/components/button-base/button-base.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* This component is a basic button without visual appearance, that is used as a container to load any content.
|
|
5
|
+
*/
|
|
6
|
+
export declare class ButtonContainerComponent extends ButtonBaseComponent {
|
|
7
|
+
/**
|
|
8
|
+
* This is used to attach the fade animation directly to this component so it fades in and out when created and removed from the app
|
|
9
|
+
*/
|
|
10
|
+
buttonFade: boolean;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonContainerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonContainerComponent, "tg-button-container", never, {}, {}, never, ["*"], false, never>;
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=button-container.component.d.ts.map
|