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.
Files changed (74) hide show
  1. package/esm2022/main/controller/browser.service.mjs +48 -48
  2. package/esm2022/main/controller/dialog.service.mjs +327 -324
  3. package/esm2022/main/controller/globalerror.service.mjs +68 -68
  4. package/esm2022/main/controller/http.service.mjs +70 -70
  5. package/esm2022/main/controller/httpservice/HTTPServiceGetRequest.mjs +14 -14
  6. package/esm2022/main/controller/httpservice/HTTPServicePostRequest.mjs +14 -14
  7. package/esm2022/main/controller/localization.service.mjs +22 -22
  8. package/esm2022/main/controller/notification.service.mjs +56 -56
  9. package/esm2022/main/controller/user.service.mjs +124 -124
  10. package/esm2022/main/controller/views.service.mjs +113 -113
  11. package/esm2022/main/managers/DelayedMethodCallManager.mjs +69 -69
  12. package/esm2022/main/model/classes/GUINotification.mjs +31 -31
  13. package/esm2022/main/model/classes/View.mjs +33 -33
  14. package/esm2022/main/model/classes/ViewModel.mjs +13 -13
  15. package/esm2022/main/model/classes/ViewService.mjs +27 -27
  16. package/esm2022/main/model/modules/turbogui-angular.module.mjs +140 -140
  17. package/esm2022/main/view/animations/fade.animation.mjs +35 -35
  18. package/esm2022/main/view/components/busy-state-base/busy-state-base.component.mjs +38 -38
  19. package/esm2022/main/view/components/button-base/button-base.component.mjs +180 -180
  20. package/esm2022/main/view/components/button-container/button-container.component.mjs +34 -34
  21. package/esm2022/main/view/components/button-image/button-image.component.mjs +47 -47
  22. package/esm2022/main/view/components/dialog-base/dialog-base.component.mjs +13 -13
  23. package/esm2022/main/view/components/dialog-error/dialog-error.component.mjs +41 -41
  24. package/esm2022/main/view/components/dialog-multiple-option/dialog-multiple-option.component.mjs +38 -38
  25. package/esm2022/main/view/components/dialog-options-base/dialog-options-base.component.mjs +14 -14
  26. package/esm2022/main/view/components/dialog-single-option/dialog-single-option.component.mjs +41 -41
  27. package/esm2022/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.mjs +112 -112
  28. package/esm2022/main/view/components/dialog-two-option/dialog-two-option.component.mjs +42 -42
  29. package/esm2022/main/view/components/views-container/views-container.component.mjs +70 -70
  30. package/esm2022/main/view/directives/AutoFocusOnDisplayDirective.mjs +39 -39
  31. package/esm2022/main/view/directives/AutoSelectTextOnFocusDirective.mjs +39 -39
  32. package/esm2022/main/view/directives/ElementCreatedDirective.mjs +42 -42
  33. package/esm2022/main/view/directives/ElementDestroyedDirective.mjs +42 -42
  34. package/esm2022/public_api.mjs +43 -43
  35. package/esm2022/turbogui-angular.mjs +4 -4
  36. package/fesm2022/turbogui-angular.mjs +1865 -1862
  37. package/fesm2022/turbogui-angular.mjs.map +1 -1
  38. package/index.d.ts +5 -5
  39. package/main/controller/browser.service.d.ts +29 -29
  40. package/main/controller/dialog.service.d.ts +186 -184
  41. package/main/controller/dialog.service.d.ts.map +1 -1
  42. package/main/controller/globalerror.service.d.ts +54 -54
  43. package/main/controller/http.service.d.ts +37 -37
  44. package/main/controller/httpservice/HTTPServiceGetRequest.d.ts +14 -14
  45. package/main/controller/httpservice/HTTPServicePostRequest.d.ts +14 -14
  46. package/main/controller/localization.service.d.ts +9 -9
  47. package/main/controller/notification.service.d.ts +36 -36
  48. package/main/controller/user.service.d.ts +57 -57
  49. package/main/controller/views.service.d.ts +71 -71
  50. package/main/managers/DelayedMethodCallManager.d.ts +51 -51
  51. package/main/model/classes/GUINotification.d.ts +27 -27
  52. package/main/model/classes/View.d.ts +39 -39
  53. package/main/model/classes/ViewModel.d.ts +13 -13
  54. package/main/model/classes/ViewService.d.ts +26 -26
  55. package/main/model/modules/turbogui-angular.module.d.ts +28 -28
  56. package/main/view/animations/fade.animation.d.ts +16 -16
  57. package/main/view/components/busy-state-base/busy-state-base.component.d.ts +18 -18
  58. package/main/view/components/button-base/button-base.component.d.ts +94 -94
  59. package/main/view/components/button-container/button-container.component.d.ts +13 -13
  60. package/main/view/components/button-image/button-image.component.d.ts +31 -31
  61. package/main/view/components/dialog-base/dialog-base.component.d.ts +13 -13
  62. package/main/view/components/dialog-error/dialog-error.component.d.ts +13 -13
  63. package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.d.ts +13 -13
  64. package/main/view/components/dialog-options-base/dialog-options-base.component.d.ts +14 -14
  65. package/main/view/components/dialog-single-option/dialog-single-option.component.d.ts +13 -13
  66. package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.d.ts +62 -62
  67. package/main/view/components/dialog-two-option/dialog-two-option.component.d.ts +14 -14
  68. package/main/view/components/views-container/views-container.component.d.ts +45 -45
  69. package/main/view/directives/AutoFocusOnDisplayDirective.d.ts +20 -20
  70. package/main/view/directives/AutoSelectTextOnFocusDirective.d.ts +19 -19
  71. package/main/view/directives/ElementCreatedDirective.d.ts +23 -23
  72. package/main/view/directives/ElementDestroyedDirective.d.ts +23 -23
  73. package/package.json +6 -6
  74. package/public_api.d.ts +40 -40
@@ -1,32 +1,32 @@
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 { ButtonBaseComponent } from '../../../view/components/button-base/button-base.component';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * This component is a basic button that uses an image as its visual appearance
14
- */
15
- export declare class ButtonImageComponent extends ButtonBaseComponent implements OnInit {
16
- /**
17
- * 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
18
- */
19
- buttonFade: boolean;
20
- /**
21
- * Defines the path to the image that is shown by this button
22
- */
23
- src: string;
24
- /**
25
- * Defines the percentual size of the image based on the button size. 100 means the image will fill the whole button,
26
- * 50 only half, etc..
27
- */
28
- percentSize: number;
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, false, never>;
31
- }
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 { ButtonBaseComponent } from '../../../view/components/button-base/button-base.component';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * This component is a basic button that uses an image as its visual appearance
14
+ */
15
+ export declare class ButtonImageComponent extends ButtonBaseComponent implements OnInit {
16
+ /**
17
+ * 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
18
+ */
19
+ buttonFade: boolean;
20
+ /**
21
+ * Defines the path to the image that is shown by this button
22
+ */
23
+ src: string;
24
+ /**
25
+ * Defines the percentual size of the image based on the button size. 100 means the image will fill the whole button,
26
+ * 50 only half, etc..
27
+ */
28
+ percentSize: number;
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, false, never>;
31
+ }
32
32
  //# sourceMappingURL=button-image.component.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
- * This is the base class for all the dialog components that can be loaded by the dialog service class
11
- */
12
- export declare abstract class DialogBaseComponent {
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
+ * This is the base class for all the dialog components that can be loaded by the dialog service class
11
+ */
12
+ export declare abstract class DialogBaseComponent {
13
+ }
14
14
  //# sourceMappingURL=dialog-base.component.d.ts.map
@@ -1,14 +1,14 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * A dialog component with a single option button, to be used for error notifications
6
- */
7
- export declare class DialogErrorComponent extends DialogOptionsBaseComponent {
8
- dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
9
- data: any;
10
- constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogErrorComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogErrorComponent, "tg-dialog-error", never, {}, {}, never, never, false, never>;
13
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A dialog component with a single option button, to be used for error notifications
6
+ */
7
+ export declare class DialogErrorComponent extends DialogOptionsBaseComponent {
8
+ dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
9
+ data: any;
10
+ constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogErrorComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogErrorComponent, "tg-dialog-error", never, {}, {}, never, never, false, never>;
13
+ }
14
14
  //# sourceMappingURL=dialog-error.component.d.ts.map
@@ -1,14 +1,14 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * A dialog component that is designed to show more than one option buttons (usually more than two), to be used with dialog service
6
- */
7
- export declare class DialogMultipleOptionComponent extends DialogOptionsBaseComponent {
8
- dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
9
- data: any;
10
- constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogMultipleOptionComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogMultipleOptionComponent, "tg-dialog-multiple-option", never, {}, {}, never, never, false, never>;
13
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A dialog component that is designed to show more than one option buttons (usually more than two), to be used with dialog service
6
+ */
7
+ export declare class DialogMultipleOptionComponent extends DialogOptionsBaseComponent {
8
+ dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
9
+ data: any;
10
+ constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogMultipleOptionComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogMultipleOptionComponent, "tg-dialog-multiple-option", never, {}, {}, never, never, false, never>;
13
+ }
14
14
  //# sourceMappingURL=dialog-multiple-option.component.d.ts.map
@@ -1,15 +1,15 @@
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 { DialogBaseComponent } from '../dialog-base/dialog-base.component';
10
- /**
11
- * This is the base class for all the dialog components that show one or more options for the user to select
12
- */
13
- export declare abstract class DialogOptionsBaseComponent extends DialogBaseComponent {
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
+ import { DialogBaseComponent } from '../dialog-base/dialog-base.component';
10
+ /**
11
+ * This is the base class for all the dialog components that show one or more options for the user to select
12
+ */
13
+ export declare abstract class DialogOptionsBaseComponent extends DialogBaseComponent {
14
+ }
15
15
  //# sourceMappingURL=dialog-options-base.component.d.ts.map
@@ -1,14 +1,14 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * A dialog component with a single option button, to be used with dialog service
6
- */
7
- export declare class DialogSingleOptionComponent extends DialogOptionsBaseComponent {
8
- dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
9
- data: any;
10
- constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogSingleOptionComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogSingleOptionComponent, "tg-dialog-single-option", never, {}, {}, never, never, false, never>;
13
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A dialog component with a single option button, to be used with dialog service
6
+ */
7
+ export declare class DialogSingleOptionComponent extends DialogOptionsBaseComponent {
8
+ dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
9
+ data: any;
10
+ constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogSingleOptionComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogSingleOptionComponent, "tg-dialog-single-option", never, {}, {}, never, never, false, never>;
13
+ }
14
14
  //# sourceMappingURL=dialog-single-option.component.d.ts.map
@@ -1,63 +1,63 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
- import { BrowserService } from '../../../controller/browser.service';
4
- import { StringUtils } from 'turbocommons-ts';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * A dialog component which allows us to select one single item from a list. The elements on that list are displayed on a table
8
- * which may show a scroll if necessary when there are many elements on the list.
9
- *
10
- * It also allows us to filter inside the list with a custom text that we can type into a search input, which is optional.
11
- *
12
- * texts parameter must contain the title, the description (optional), the filter input title (optional), and the submit button caption.
13
- * If that caption is not provided, the selection will be automatically performed once user clicks on an element on the list. Otherwise,
14
- * the element will be selected on the list and the selection will be performed once the user clicks on the submit button.
15
- *
16
- * options parameter must contain the list of elements that will be displayed to the user
17
- */
18
- export declare class DialogSingleSelectionListComponent extends DialogOptionsBaseComponent {
19
- dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
20
- browserService: BrowserService;
21
- data: any;
22
- /**
23
- * Declare a reference to the string utils class so it can be used on the html part
24
- */
25
- stringUtils: typeof StringUtils;
26
- /**
27
- * Contains the list of elements that will be directly shown to the user at the component list.
28
- * It may be filtered or not depending on this component setup and the user input
29
- */
30
- filteredOptions: string[];
31
- /**
32
- * Contains the original list of elements that are provided to be listed on this component before
33
- * being possibly filtered. It is only used as a backup, not shown to the user
34
- */
35
- private originalOptions;
36
- /**
37
- * The same list as the originally provided but processed for a better text search.
38
- * It will be used to perform the search, but not shown to the user.
39
- */
40
- private originalOptionsFullTextSearch;
41
- /**
42
- * Stores the index for the element that's been selected by the user
43
- */
44
- selectedItemIndex: number;
45
- constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, browserService: BrowserService, data: any);
46
- /**
47
- * Method to calculate the max possible height that the list items container is allowed to have
48
- */
49
- getListItemsContainerMaxheight(): string;
50
- /**
51
- * When the user types a value on the input element to filter the list, this method will perform
52
- * that filtering and refresh the list
53
- */
54
- onSearchChange(input: HTMLInputElement): void;
55
- /**
56
- * This method is used to greatly improve ngFor performance with arrays of primitive values. It tells the refresh
57
- * function to work by index instead of by value. The change in performance when refreshing the list is massive.
58
- */
59
- trackByFn: (index: number, _value: string) => number;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogSingleSelectionListComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogSingleSelectionListComponent, "tg-dialog-single-selection-list", never, {}, {}, never, never, false, never>;
62
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
+ import { BrowserService } from '../../../controller/browser.service';
4
+ import { StringUtils } from 'turbocommons-ts';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * A dialog component which allows us to select one single item from a list. The elements on that list are displayed on a table
8
+ * which may show a scroll if necessary when there are many elements on the list.
9
+ *
10
+ * It also allows us to filter inside the list with a custom text that we can type into a search input, which is optional.
11
+ *
12
+ * texts parameter must contain the title, the description (optional), the filter input title (optional), and the submit button caption.
13
+ * If that caption is not provided, the selection will be automatically performed once user clicks on an element on the list. Otherwise,
14
+ * the element will be selected on the list and the selection will be performed once the user clicks on the submit button.
15
+ *
16
+ * options parameter must contain the list of elements that will be displayed to the user
17
+ */
18
+ export declare class DialogSingleSelectionListComponent extends DialogOptionsBaseComponent {
19
+ dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
20
+ browserService: BrowserService;
21
+ data: any;
22
+ /**
23
+ * Declare a reference to the string utils class so it can be used on the html part
24
+ */
25
+ stringUtils: typeof StringUtils;
26
+ /**
27
+ * Contains the list of elements that will be directly shown to the user at the component list.
28
+ * It may be filtered or not depending on this component setup and the user input
29
+ */
30
+ filteredOptions: string[];
31
+ /**
32
+ * Contains the original list of elements that are provided to be listed on this component before
33
+ * being possibly filtered. It is only used as a backup, not shown to the user
34
+ */
35
+ private originalOptions;
36
+ /**
37
+ * The same list as the originally provided but processed for a better text search.
38
+ * It will be used to perform the search, but not shown to the user.
39
+ */
40
+ private originalOptionsFullTextSearch;
41
+ /**
42
+ * Stores the index for the element that's been selected by the user
43
+ */
44
+ selectedItemIndex: number;
45
+ constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, browserService: BrowserService, data: any);
46
+ /**
47
+ * Method to calculate the max possible height that the list items container is allowed to have
48
+ */
49
+ getListItemsContainerMaxheight(): string;
50
+ /**
51
+ * When the user types a value on the input element to filter the list, this method will perform
52
+ * that filtering and refresh the list
53
+ */
54
+ onSearchChange(input: HTMLInputElement): void;
55
+ /**
56
+ * This method is used to greatly improve ngFor performance with arrays of primitive values. It tells the refresh
57
+ * function to work by index instead of by value. The change in performance when refreshing the list is massive.
58
+ */
59
+ trackByFn: (index: number, _value: string) => number;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogSingleSelectionListComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogSingleSelectionListComponent, "tg-dialog-single-selection-list", never, {}, {}, never, never, false, never>;
62
+ }
63
63
  //# sourceMappingURL=dialog-single-selection-list.component.d.ts.map
@@ -1,15 +1,15 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * A dialog component with two option buttons, to be used with dialog service.
6
- * The first of the options is considered to be the primary one and will therefore have more visual accent
7
- */
8
- export declare class DialogTwoOptionComponent extends DialogOptionsBaseComponent {
9
- dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
10
- data: any;
11
- constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogTwoOptionComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogTwoOptionComponent, "tg-dialog-two-option", never, {}, {}, never, never, false, never>;
14
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { DialogOptionsBaseComponent } from '../dialog-options-base/dialog-options-base.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A dialog component with two option buttons, to be used with dialog service.
6
+ * The first of the options is considered to be the primary one and will therefore have more visual accent
7
+ */
8
+ export declare class DialogTwoOptionComponent extends DialogOptionsBaseComponent {
9
+ dialogRef: MatDialogRef<DialogOptionsBaseComponent>;
10
+ data: any;
11
+ constructor(dialogRef: MatDialogRef<DialogOptionsBaseComponent>, data: any);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogTwoOptionComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogTwoOptionComponent, "tg-dialog-two-option", never, {}, {}, never, never, false, never>;
14
+ }
15
15
  //# sourceMappingURL=dialog-two-option.component.d.ts.map
@@ -1,46 +1,46 @@
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 { ViewContainerRef, OnInit, Type, OnDestroy } from '@angular/core';
10
- import { ViewsService } from '../../../controller/views.service';
11
- import { View } from '../../../model/classes/View';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * Component that is used as a container for application views.
15
- * We must create only one views container in our application and pass to it a reference to our main
16
- * viewsService instance. For example:
17
- *
18
- * <tg-views-container [viewsService]="viewsService" [initialView]="HomeViewComponent"></tg-views-container>
19
- */
20
- export declare class ViewsContainerComponent implements OnInit, OnDestroy {
21
- /**
22
- * If we want to load a view by default when this component is loaded for the first time, we can
23
- * set here the respective class view and it will be automatically added.
24
- */
25
- initialView: Type<View> | null;
26
- /**
27
- * A reference to the views service that is used to operate with this views container.
28
- * This must be specified when this component is added to the application
29
- */
30
- viewsService: ViewsService | null;
31
- /**
32
- * A reference to the ng-template inside this component that is used as the anchor point to load views
33
- */
34
- viewContainerRef: ViewContainerRef;
35
- /**
36
- * Check that the service reference has been correctly passed
37
- */
38
- ngOnInit(): void;
39
- /**
40
- * Clear the current view from the service when this component is deleted
41
- */
42
- ngOnDestroy(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewsContainerComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewsContainerComponent, "tg-views-container", never, { "initialView": { "alias": "initialView"; "required": false; }; "viewsService": { "alias": "viewsService"; "required": false; }; }, {}, never, never, false, never>;
45
- }
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 { ViewContainerRef, OnInit, Type, OnDestroy } from '@angular/core';
10
+ import { ViewsService } from '../../../controller/views.service';
11
+ import { View } from '../../../model/classes/View';
12
+ import * as i0 from "@angular/core";
13
+ /**
14
+ * Component that is used as a container for application views.
15
+ * We must create only one views container in our application and pass to it a reference to our main
16
+ * viewsService instance. For example:
17
+ *
18
+ * <tg-views-container [viewsService]="viewsService" [initialView]="HomeViewComponent"></tg-views-container>
19
+ */
20
+ export declare class ViewsContainerComponent implements OnInit, OnDestroy {
21
+ /**
22
+ * If we want to load a view by default when this component is loaded for the first time, we can
23
+ * set here the respective class view and it will be automatically added.
24
+ */
25
+ initialView: Type<View> | null;
26
+ /**
27
+ * A reference to the views service that is used to operate with this views container.
28
+ * This must be specified when this component is added to the application
29
+ */
30
+ viewsService: ViewsService | null;
31
+ /**
32
+ * A reference to the ng-template inside this component that is used as the anchor point to load views
33
+ */
34
+ viewContainerRef: ViewContainerRef;
35
+ /**
36
+ * Check that the service reference has been correctly passed
37
+ */
38
+ ngOnInit(): void;
39
+ /**
40
+ * Clear the current view from the service when this component is deleted
41
+ */
42
+ ngOnDestroy(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewsContainerComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<ViewsContainerComponent, "tg-views-container", never, { "initialView": { "alias": "initialView"; "required": false; }; "viewsService": { "alias": "viewsService"; "required": false; }; }, {}, never, never, false, never>;
45
+ }
46
46
  //# sourceMappingURL=views-container.component.d.ts.map
@@ -1,21 +1,21 @@
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, NgZone, Renderer2, AfterContentInit } from '@angular/core';
10
- import * as i0 from "@angular/core";
11
- /** This directive is used to perform an autofocus on an element every time it is displayed */
12
- export declare class AutoFocusOnDisplayDirective implements AfterContentInit {
13
- private el;
14
- private zone;
15
- private renderer;
16
- constructor(el: ElementRef, zone: NgZone, renderer: Renderer2);
17
- ngAfterContentInit(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusOnDisplayDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<AutoFocusOnDisplayDirective, "[autoFocusOnDisplay]", never, {}, {}, never, never, false, never>;
20
- }
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, NgZone, Renderer2, AfterContentInit } from '@angular/core';
10
+ import * as i0 from "@angular/core";
11
+ /** This directive is used to perform an autofocus on an element every time it is displayed */
12
+ export declare class AutoFocusOnDisplayDirective implements AfterContentInit {
13
+ private el;
14
+ private zone;
15
+ private renderer;
16
+ constructor(el: ElementRef, zone: NgZone, renderer: Renderer2);
17
+ ngAfterContentInit(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusOnDisplayDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoFocusOnDisplayDirective, "[autoFocusOnDisplay]", never, {}, {}, never, never, false, never>;
20
+ }
21
21
  //# sourceMappingURL=AutoFocusOnDisplayDirective.d.ts.map
@@ -1,20 +1,20 @@
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, Renderer2 } from '@angular/core';
10
- import * as i0 from "@angular/core";
11
- /** This directive is used to perform an automatic select all text on an element every time it is focused */
12
- export declare class AutoSelectTextOnFocusDirective {
13
- private el;
14
- private renderer;
15
- constructor(el: ElementRef, renderer: Renderer2);
16
- onFocus(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AutoSelectTextOnFocusDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<AutoSelectTextOnFocusDirective, "[autoSelectTextOnFocus]", never, {}, {}, never, never, false, never>;
19
- }
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, Renderer2 } from '@angular/core';
10
+ import * as i0 from "@angular/core";
11
+ /** This directive is used to perform an automatic select all text on an element every time it is focused */
12
+ export declare class AutoSelectTextOnFocusDirective {
13
+ private el;
14
+ private renderer;
15
+ constructor(el: ElementRef, renderer: Renderer2);
16
+ onFocus(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoSelectTextOnFocusDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoSelectTextOnFocusDirective, "[autoSelectTextOnFocus]", never, {}, {}, never, never, false, never>;
19
+ }
20
20
  //# sourceMappingURL=AutoSelectTextOnFocusDirective.d.ts.map
@@ -1,24 +1,24 @@
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 { EventEmitter, OnInit } from '@angular/core';
10
- import * as i0 from "@angular/core";
11
- /** This directive is used to listen for onInit events on raw html elements */
12
- export declare class ElementCreatedDirective implements OnInit {
13
- /**
14
- * Event that will be dispatched once element is created
15
- */
16
- elementCreated: EventEmitter<ElementCreatedDirective>;
17
- /**
18
- * Listen for the on init event
19
- */
20
- ngOnInit(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<ElementCreatedDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<ElementCreatedDirective, "[elementCreated]", never, {}, { "elementCreated": "elementCreated"; }, never, never, false, never>;
23
- }
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 { EventEmitter, OnInit } from '@angular/core';
10
+ import * as i0 from "@angular/core";
11
+ /** This directive is used to listen for onInit events on raw html elements */
12
+ export declare class ElementCreatedDirective implements OnInit {
13
+ /**
14
+ * Event that will be dispatched once element is created
15
+ */
16
+ elementCreated: EventEmitter<ElementCreatedDirective>;
17
+ /**
18
+ * Listen for the on init event
19
+ */
20
+ ngOnInit(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ElementCreatedDirective, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ElementCreatedDirective, "[elementCreated]", never, {}, { "elementCreated": "elementCreated"; }, never, never, false, never>;
23
+ }
24
24
  //# sourceMappingURL=ElementCreatedDirective.d.ts.map