turbogui-angular 7.0.0 → 8.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.
Files changed (150) hide show
  1. package/esm2020/main/controller/browser.service.mjs +48 -0
  2. package/esm2020/main/controller/dialog.service.mjs +324 -0
  3. package/esm2020/main/controller/globalerror.service.mjs +68 -0
  4. package/esm2020/main/controller/http.service.mjs +70 -0
  5. package/esm2020/main/controller/localization.service.mjs +22 -0
  6. package/esm2020/main/controller/notification.service.mjs +56 -0
  7. package/esm2020/main/controller/user.service.mjs +124 -0
  8. package/esm2020/main/controller/views.service.mjs +113 -0
  9. package/esm2020/main/model/modules/turbogui-angular.module.mjs +142 -0
  10. package/esm2020/main/view/animations/fade.animation.mjs +35 -0
  11. package/esm2020/main/view/components/busy-state-base/busy-state-base.component.mjs +38 -0
  12. package/esm2020/main/view/components/button-base/button-base.component.mjs +180 -0
  13. package/esm2020/main/view/components/button-container/button-container.component.mjs +34 -0
  14. package/esm2020/main/view/components/button-image/button-image.component.mjs +47 -0
  15. package/esm2020/main/view/components/dialog-error/dialog-error.component.mjs +41 -0
  16. package/esm2020/main/view/components/dialog-multiple-option/dialog-multiple-option.component.mjs +38 -0
  17. package/esm2020/main/view/components/dialog-single-option/dialog-single-option.component.mjs +41 -0
  18. package/esm2020/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.mjs +112 -0
  19. package/esm2020/main/view/components/dialog-two-option/dialog-two-option.component.mjs +42 -0
  20. package/{esm2015/main/view/components/views-container/views-container.component.js → esm2020/main/view/components/views-container/views-container.component.mjs} +15 -13
  21. package/esm2020/main/view/directives/AutoFocusOnDisplayDirective.mjs +39 -0
  22. package/esm2020/main/view/directives/AutoSelectTextOnFocusDirective.mjs +39 -0
  23. package/esm2020/main/view/directives/ElementCreatedDirective.mjs +42 -0
  24. package/esm2020/main/view/directives/ElementDestroyedDirective.mjs +42 -0
  25. package/{esm2015/public_api.js → esm2020/public_api.mjs} +1 -1
  26. package/esm2020/turbogui-angular.mjs +5 -0
  27. package/fesm2015/turbogui-angular.mjs +1953 -0
  28. package/fesm2015/turbogui-angular.mjs.map +1 -0
  29. package/{fesm2015/turbogui-angular.js → fesm2020/turbogui-angular.mjs} +368 -298
  30. package/fesm2020/turbogui-angular.mjs.map +1 -0
  31. package/main/controller/browser.service.d.ts +3 -8
  32. package/main/controller/browser.service.d.ts.map +1 -1
  33. package/main/controller/dialog.service.d.ts +3 -8
  34. package/main/controller/dialog.service.d.ts.map +1 -1
  35. package/main/controller/globalerror.service.d.ts +3 -0
  36. package/main/controller/globalerror.service.d.ts.map +1 -1
  37. package/main/controller/http.service.d.ts +3 -8
  38. package/main/controller/http.service.d.ts.map +1 -1
  39. package/main/controller/localization.service.d.ts +3 -8
  40. package/main/controller/localization.service.d.ts.map +1 -1
  41. package/main/controller/notification.service.d.ts +3 -8
  42. package/main/controller/notification.service.d.ts.map +1 -1
  43. package/main/controller/user.service.d.ts +3 -8
  44. package/main/controller/user.service.d.ts.map +1 -1
  45. package/main/controller/views.service.d.ts +3 -0
  46. package/main/controller/views.service.d.ts.map +1 -1
  47. package/main/model/modules/turbogui-angular.module.d.ts +23 -8
  48. package/main/model/modules/turbogui-angular.module.d.ts.map +1 -1
  49. package/main/view/animations/fade.animation.d.ts +3 -8
  50. package/main/view/animations/fade.animation.d.ts.map +1 -1
  51. package/main/view/components/busy-state-base/busy-state-base.component.d.ts +3 -8
  52. package/main/view/components/busy-state-base/busy-state-base.component.d.ts.map +1 -1
  53. package/main/view/components/button-base/button-base.component.d.ts +3 -0
  54. package/main/view/components/button-base/button-base.component.d.ts.map +1 -1
  55. package/main/view/components/button-container/button-container.component.d.ts +3 -8
  56. package/main/view/components/button-container/button-container.component.d.ts.map +1 -1
  57. package/main/view/components/button-image/button-image.component.d.ts +3 -0
  58. package/main/view/components/button-image/button-image.component.d.ts.map +1 -1
  59. package/main/view/components/dialog-error/dialog-error.component.d.ts +3 -8
  60. package/main/view/components/dialog-error/dialog-error.component.d.ts.map +1 -1
  61. package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.d.ts +3 -8
  62. package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.d.ts.map +1 -1
  63. package/main/view/components/dialog-single-option/dialog-single-option.component.d.ts +3 -8
  64. package/main/view/components/dialog-single-option/dialog-single-option.component.d.ts.map +1 -1
  65. package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.d.ts +3 -8
  66. package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.d.ts.map +1 -1
  67. package/main/view/components/dialog-two-option/dialog-two-option.component.d.ts +3 -8
  68. package/main/view/components/dialog-two-option/dialog-two-option.component.d.ts.map +1 -1
  69. package/main/view/components/views-container/views-container.component.d.ts +3 -0
  70. package/main/view/components/views-container/views-container.component.d.ts.map +1 -1
  71. package/main/view/directives/AutoFocusOnDisplayDirective.d.ts +3 -0
  72. package/main/view/directives/AutoFocusOnDisplayDirective.d.ts.map +1 -1
  73. package/main/view/directives/AutoSelectTextOnFocusDirective.d.ts +3 -0
  74. package/main/view/directives/AutoSelectTextOnFocusDirective.d.ts.map +1 -1
  75. package/main/view/directives/ElementCreatedDirective.d.ts +3 -0
  76. package/main/view/directives/ElementCreatedDirective.d.ts.map +1 -1
  77. package/main/view/directives/ElementDestroyedDirective.d.ts +3 -0
  78. package/main/view/directives/ElementDestroyedDirective.d.ts.map +1 -1
  79. package/package.json +24 -12
  80. package/turbogui-angular.d.ts +1 -2
  81. package/turbogui-angular.d.ts.map +1 -1
  82. package/bundles/turbogui-angular.umd.js +0 -2431
  83. package/bundles/turbogui-angular.umd.js.map +0 -1
  84. package/esm2015/main/controller/browser.service.js +0 -48
  85. package/esm2015/main/controller/dialog.service.js +0 -329
  86. package/esm2015/main/controller/globalerror.service.js +0 -65
  87. package/esm2015/main/controller/http.service.js +0 -70
  88. package/esm2015/main/controller/localization.service.js +0 -19
  89. package/esm2015/main/controller/notification.service.js +0 -53
  90. package/esm2015/main/controller/user.service.js +0 -125
  91. package/esm2015/main/controller/views.service.js +0 -113
  92. package/esm2015/main/model/modules/turbogui-angular.module.js +0 -93
  93. package/esm2015/main/view/animations/fade.animation.js +0 -32
  94. package/esm2015/main/view/components/busy-state-base/busy-state-base.component.js +0 -39
  95. package/esm2015/main/view/components/button-base/button-base.component.js +0 -149
  96. package/esm2015/main/view/components/button-container/button-container.component.js +0 -35
  97. package/esm2015/main/view/components/button-image/button-image.component.js +0 -46
  98. package/esm2015/main/view/components/dialog-error/dialog-error.component.js +0 -39
  99. package/esm2015/main/view/components/dialog-multiple-option/dialog-multiple-option.component.js +0 -36
  100. package/esm2015/main/view/components/dialog-single-option/dialog-single-option.component.js +0 -39
  101. package/esm2015/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.js +0 -108
  102. package/esm2015/main/view/components/dialog-two-option/dialog-two-option.component.js +0 -40
  103. package/esm2015/main/view/directives/AutoFocusOnDisplayDirective.js +0 -40
  104. package/esm2015/main/view/directives/AutoSelectTextOnFocusDirective.js +0 -39
  105. package/esm2015/main/view/directives/ElementCreatedDirective.js +0 -38
  106. package/esm2015/main/view/directives/ElementDestroyedDirective.js +0 -38
  107. package/esm2015/turbogui-angular.js +0 -7
  108. package/fesm2015/turbogui-angular.js.map +0 -1
  109. package/main/controller/browser.service.ngfactory.d.ts.map +0 -1
  110. package/main/controller/dialog.service.ngfactory.d.ts.map +0 -1
  111. package/main/controller/globalerror.service.ngfactory.d.ts.map +0 -1
  112. package/main/controller/http.service.ngfactory.d.ts.map +0 -1
  113. package/main/controller/localization.service.ngfactory.d.ts.map +0 -1
  114. package/main/controller/notification.service.ngfactory.d.ts.map +0 -1
  115. package/main/controller/user.service.ngfactory.d.ts.map +0 -1
  116. package/main/controller/views.service.ngfactory.d.ts.map +0 -1
  117. package/main/model/modules/turbogui-angular.module.ngfactory.d.ts.map +0 -1
  118. package/main/view/animations/fade.animation.ngfactory.d.ts.map +0 -1
  119. package/main/view/components/busy-state-base/busy-state-base.component.ngfactory.d.ts.map +0 -1
  120. package/main/view/components/busy-state-base/busy-state-base.component.scss.shim.ngstyle.d.ts.map +0 -1
  121. package/main/view/components/button-container/button-container.component.ngfactory.d.ts.map +0 -1
  122. package/main/view/components/button-container/button-container.component.scss.shim.ngstyle.d.ts.map +0 -1
  123. package/main/view/components/button-image/button-image.component.ngfactory.d.ts.map +0 -1
  124. package/main/view/components/button-image/button-image.component.scss.shim.ngstyle.d.ts.map +0 -1
  125. package/main/view/components/dialog-error/dialog-error.component.ngfactory.d.ts.map +0 -1
  126. package/main/view/components/dialog-error/dialog-error.component.scss.shim.ngstyle.d.ts.map +0 -1
  127. package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.ngfactory.d.ts.map +0 -1
  128. package/main/view/components/dialog-multiple-option/dialog-multiple-option.component.scss.shim.ngstyle.d.ts.map +0 -1
  129. package/main/view/components/dialog-single-option/dialog-single-option.component.ngfactory.d.ts.map +0 -1
  130. package/main/view/components/dialog-single-option/dialog-single-option.component.scss.shim.ngstyle.d.ts.map +0 -1
  131. package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.ngfactory.d.ts.map +0 -1
  132. package/main/view/components/dialog-single-selection-list/dialog-single-selection-list.component.scss.shim.ngstyle.d.ts.map +0 -1
  133. package/main/view/components/dialog-two-option/dialog-two-option.component.ngfactory.d.ts.map +0 -1
  134. package/main/view/components/dialog-two-option/dialog-two-option.component.scss.shim.ngstyle.d.ts.map +0 -1
  135. package/main/view/components/views-container/views-container.component.ngfactory.d.ts.map +0 -1
  136. package/main/view/components/views-container/views-container.component.scss.shim.ngstyle.d.ts.map +0 -1
  137. package/main/view/directives/AutoFocusOnDisplayDirective.ngfactory.d.ts.map +0 -1
  138. package/main/view/directives/AutoSelectTextOnFocusDirective.ngfactory.d.ts.map +0 -1
  139. package/main/view/directives/ElementCreatedDirective.ngfactory.d.ts.map +0 -1
  140. package/main/view/directives/ElementDestroyedDirective.ngfactory.d.ts.map +0 -1
  141. package/turbogui-angular.metadata.json +0 -1
  142. /package/{esm2015/main/controller/httpservice/HTTPServiceGetRequest.js → esm2020/main/controller/httpservice/HTTPServiceGetRequest.mjs} +0 -0
  143. /package/{esm2015/main/controller/httpservice/HTTPServicePostRequest.js → esm2020/main/controller/httpservice/HTTPServicePostRequest.mjs} +0 -0
  144. /package/{esm2015/main/managers/DelayedMethodCallManager.js → esm2020/main/managers/DelayedMethodCallManager.mjs} +0 -0
  145. /package/{esm2015/main/model/classes/GUINotification.js → esm2020/main/model/classes/GUINotification.mjs} +0 -0
  146. /package/{esm2015/main/model/classes/View.js → esm2020/main/model/classes/View.mjs} +0 -0
  147. /package/{esm2015/main/model/classes/ViewModel.js → esm2020/main/model/classes/ViewModel.mjs} +0 -0
  148. /package/{esm2015/main/model/classes/ViewService.js → esm2020/main/model/classes/ViewService.mjs} +0 -0
  149. /package/{esm2015/main/view/components/dialog-base/dialog-base.component.js → esm2020/main/view/components/dialog-base/dialog-base.component.mjs} +0 -0
  150. /package/{esm2015/main/view/components/dialog-options-base/dialog-options-base.component.js → esm2020/main/view/components/dialog-options-base/dialog-options-base.component.mjs} +0 -0
@@ -1,15 +1,21 @@
1
- import { Injectable, Component, HostBinding, RendererFactory2, Injector, ApplicationRef, ComponentFactoryResolver, Inject, Input, ViewChild, ViewContainerRef, Directive, HostListener, EventEmitter, Output, ElementRef, NgZone, Renderer2, NgModule } from '@angular/core';
2
- import { MatDialog, MatDialogRef, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component, HostBinding, Inject, ViewContainerRef, Input, ViewChild, Directive, HostListener, EventEmitter, Output, NgModule } from '@angular/core';
3
+ import * as i1$1 from '@angular/material/dialog';
4
+ import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
5
+ import * as i6 from '@angular/material/input';
3
6
  import { MatInputModule } from '@angular/material/input';
4
- import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
7
+ import * as i1 from '@angular/material/snack-bar';
8
+ import { MatSnackBarModule } from '@angular/material/snack-bar';
9
+ import * as i2 from '@angular/material/button';
5
10
  import { MatButtonModule } from '@angular/material/button';
11
+ import * as i3$1 from '@angular/material/form-field';
6
12
  import { MatFormFieldModule } from '@angular/material/form-field';
7
13
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
8
14
  import { trigger, transition, style, animate } from '@angular/animations';
9
15
  import { ArrayUtils, NumericUtils, LocalizationManager, HTTPManager, StringUtils, HTTPManagerPostRequest, ConversionUtils, BrowserManager, HTTPManagerGetRequest } from 'turbocommons-ts';
10
16
  import { ComponentPortal, DomPortalOutlet } from '@angular/cdk/portal';
17
+ import * as i3 from '@angular/common';
11
18
  import { Subject } from 'rxjs';
12
- import { Location } from '@angular/common';
13
19
 
14
20
  /**
15
21
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -37,9 +43,11 @@ class FadeAnimationClass {
37
43
  ]);
38
44
  }
39
45
  }
40
- FadeAnimationClass.decorators = [
41
- { type: Injectable }
42
- ];
46
+ FadeAnimationClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FadeAnimationClass, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
47
+ FadeAnimationClass.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FadeAnimationClass });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FadeAnimationClass, decorators: [{
49
+ type: Injectable
50
+ }] });
43
51
 
44
52
  /**
45
53
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -66,17 +74,15 @@ class BusyStateBaseComponent {
66
74
  this.busyStateBaseFade = true;
67
75
  }
68
76
  }
69
- BusyStateBaseComponent.decorators = [
70
- { type: Component, args: [{
71
- selector: 'tg-busy-state-base',
72
- template: "<div class=\"darkBg\">\r\n\r\n</div>\r\n\r\n<svg width=\"38\" height=\"38\" viewBox=\"0 0 38 38\" xmlns=\"http://www.w3.org/2000/svg\" stroke=\"#fff\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <g transform=\"translate(1 1)\" stroke-width=\"1\">\r\n <circle stroke-opacity=\".2\" cx=\"18\" cy=\"18\" r=\"18\"/>\r\n <path d=\"M36 18c0-9.94-8.06-18-18-18\">\r\n <animateTransform\r\n attributeName=\"transform\"\r\n type=\"rotate\"\r\n from=\"0 18 18\"\r\n to=\"360 18 18\"\r\n dur=\"1s\"\r\n repeatCount=\"indefinite\"/>\r\n </path>\r\n </g>\r\n </g>\r\n</svg>\r\n",
73
- animations: [FadeAnimationClass.getTrigger('busyStateBaseFade', '1s ease', '400ms ease')],
74
- styles: [":host{position:fixed;top:0px;left:0px;right:0px;bottom:0px;display:flex;justify-content:center;align-items:center;z-index:999999999}.darkBg{position:absolute;cursor:progress;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#00000096;animation-name:bgfadein;animation-duration:30s;animation-timing-function:ease}svg{z-index:5000;width:40%;height:40%;max-width:130px;max-height:130px;animation-name:loadingfadein;animation-duration:3s;animation-timing-function:ease-in}@keyframes loadingfadein{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes bgfadein{0%{opacity:0}4%{opacity:0}14%{opacity:.2}35%{opacity:.5}to{opacity:1}}\n"]
75
- },] }
76
- ];
77
- BusyStateBaseComponent.propDecorators = {
78
- busyStateBaseFade: [{ type: HostBinding, args: ['@busyStateBaseFade',] }]
79
- };
77
+ BusyStateBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BusyStateBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
78
+ BusyStateBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: BusyStateBaseComponent, selector: "tg-busy-state-base", host: { properties: { "@busyStateBaseFade": "this.busyStateBaseFade" } }, ngImport: i0, template: "<div class=\"darkBg\">\r\n\r\n</div>\r\n\r\n<svg width=\"38\" height=\"38\" viewBox=\"0 0 38 38\" xmlns=\"http://www.w3.org/2000/svg\" stroke=\"#fff\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <g transform=\"translate(1 1)\" stroke-width=\"1\">\r\n <circle stroke-opacity=\".2\" cx=\"18\" cy=\"18\" r=\"18\"/>\r\n <path d=\"M36 18c0-9.94-8.06-18-18-18\">\r\n <animateTransform\r\n attributeName=\"transform\"\r\n type=\"rotate\"\r\n from=\"0 18 18\"\r\n to=\"360 18 18\"\r\n dur=\"1s\"\r\n repeatCount=\"indefinite\"/>\r\n </path>\r\n </g>\r\n </g>\r\n</svg>\r\n", styles: [":host{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:999999999}.darkBg{position:absolute;cursor:progress;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#00000096;animation-name:bgfadein;animation-duration:30s;animation-timing-function:ease}svg{z-index:5000;width:40%;height:40%;max-width:130px;max-height:130px;animation-name:loadingfadein;animation-duration:3s;animation-timing-function:ease-in}@keyframes loadingfadein{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes bgfadein{0%{opacity:0}4%{opacity:0}14%{opacity:.2}35%{opacity:.5}to{opacity:1}}\n"], animations: [FadeAnimationClass.getTrigger('busyStateBaseFade', '1s ease', '400ms ease')] });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BusyStateBaseComponent, decorators: [{
80
+ type: Component,
81
+ args: [{ selector: 'tg-busy-state-base', animations: [FadeAnimationClass.getTrigger('busyStateBaseFade', '1s ease', '400ms ease')], template: "<div class=\"darkBg\">\r\n\r\n</div>\r\n\r\n<svg width=\"38\" height=\"38\" viewBox=\"0 0 38 38\" xmlns=\"http://www.w3.org/2000/svg\" stroke=\"#fff\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <g transform=\"translate(1 1)\" stroke-width=\"1\">\r\n <circle stroke-opacity=\".2\" cx=\"18\" cy=\"18\" r=\"18\"/>\r\n <path d=\"M36 18c0-9.94-8.06-18-18-18\">\r\n <animateTransform\r\n attributeName=\"transform\"\r\n type=\"rotate\"\r\n from=\"0 18 18\"\r\n to=\"360 18 18\"\r\n dur=\"1s\"\r\n repeatCount=\"indefinite\"/>\r\n </path>\r\n </g>\r\n </g>\r\n</svg>\r\n", styles: [":host{position:fixed;inset:0;display:flex;justify-content:center;align-items:center;z-index:999999999}.darkBg{position:absolute;cursor:progress;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#00000096;animation-name:bgfadein;animation-duration:30s;animation-timing-function:ease}svg{z-index:5000;width:40%;height:40%;max-width:130px;max-height:130px;animation-name:loadingfadein;animation-duration:3s;animation-timing-function:ease-in}@keyframes loadingfadein{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes bgfadein{0%{opacity:0}4%{opacity:0}14%{opacity:.2}35%{opacity:.5}to{opacity:1}}\n"] }]
82
+ }], propDecorators: { busyStateBaseFade: [{
83
+ type: HostBinding,
84
+ args: ['@busyStateBaseFade']
85
+ }] } });
80
86
 
81
87
  /**
82
88
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -389,17 +395,11 @@ class DialogService {
389
395
  }
390
396
  }
391
397
  }
392
- DialogService.decorators = [
393
- { type: Injectable }
394
- ];
395
- DialogService.ctorParameters = () => [
396
- { type: RendererFactory2 },
397
- { type: MatSnackBar },
398
- { type: MatDialog },
399
- { type: Injector },
400
- { type: ApplicationRef },
401
- { type: ComponentFactoryResolver }
402
- ];
398
+ DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogService, deps: [{ token: i0.RendererFactory2 }, { token: i1.MatSnackBar }, { token: i1$1.MatDialog }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
399
+ DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogService });
400
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogService, decorators: [{
401
+ type: Injectable
402
+ }], ctorParameters: function () { return [{ type: i0.RendererFactory2 }, { type: i1.MatSnackBar }, { type: i1$1.MatDialog }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }]; } });
403
403
 
404
404
  /**
405
405
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -414,9 +414,11 @@ DialogService.ctorParameters = () => [
414
414
  */
415
415
  class LocalizationService extends LocalizationManager {
416
416
  }
417
- LocalizationService.decorators = [
418
- { type: Injectable }
419
- ];
417
+ LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalizationService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
418
+ LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalizationService });
419
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalizationService, decorators: [{
420
+ type: Injectable
421
+ }] });
420
422
 
421
423
  /**
422
424
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -470,17 +472,15 @@ class DialogErrorComponent extends DialogOptionsBaseComponent {
470
472
  }
471
473
  }
472
474
  }
473
- DialogErrorComponent.decorators = [
474
- { type: Component, args: [{
475
- selector: 'tg-dialog-error',
476
- template: "<div class=\"titleAndIconContainer\">\r\n <h3>\r\n {{data.texts[0]}}\r\n </h3>\r\n \r\n <!-- error icon -->\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\">\r\n <path d=\"M0 0h24v24H0z\" fill=\"none\"/>\r\n <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z\" fill=\"#ff0000\" />\r\n </svg>\r\n \r\n</div>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"warn\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n</button>",
477
- styles: [":host{position:relative;min-height:300px}.titleAndIconContainer{display:flex;flex-direction:row;align-items:center}h3{margin-top:0;margin-bottom:25px;width:82%}svg{width:18%;height:auto}p{margin-bottom:52px}button{float:right;width:50%;min-width:50px}\n"]
478
- },] }
479
- ];
480
- DialogErrorComponent.ctorParameters = () => [
481
- { type: MatDialogRef },
482
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
483
- ];
475
+ DialogErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogErrorComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
476
+ DialogErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DialogErrorComponent, selector: "tg-dialog-error", usesInheritance: true, ngImport: i0, template: "<div class=\"titleAndIconContainer\">\r\n <h3>\r\n {{data.texts[0]}}\r\n </h3>\r\n \r\n <!-- error icon -->\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\">\r\n <path d=\"M0 0h24v24H0z\" fill=\"none\"/>\r\n <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z\" fill=\"#ff0000\" />\r\n </svg>\r\n \r\n</div>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"warn\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n</button>", styles: [":host{position:relative;min-height:300px}.titleAndIconContainer{display:flex;flex-direction:row;align-items:center}h3{margin-top:0;margin-bottom:25px;width:82%}svg{width:18%;height:auto}p{margin-bottom:52px}button{float:right;width:50%;min-width:50px}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogErrorComponent, decorators: [{
478
+ type: Component,
479
+ args: [{ selector: 'tg-dialog-error', template: "<div class=\"titleAndIconContainer\">\r\n <h3>\r\n {{data.texts[0]}}\r\n </h3>\r\n \r\n <!-- error icon -->\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\">\r\n <path d=\"M0 0h24v24H0z\" fill=\"none\"/>\r\n <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z\" fill=\"#ff0000\" />\r\n </svg>\r\n \r\n</div>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"warn\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n</button>", styles: [":host{position:relative;min-height:300px}.titleAndIconContainer{display:flex;flex-direction:row;align-items:center}h3{margin-top:0;margin-bottom:25px;width:82%}svg{width:18%;height:auto}p{margin-bottom:52px}button{float:right;width:50%;min-width:50px}\n"] }]
480
+ }], ctorParameters: function () { return [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
481
+ type: Inject,
482
+ args: [MAT_DIALOG_DATA]
483
+ }] }]; } });
484
484
 
485
485
  /**
486
486
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -541,12 +541,11 @@ HTTPService.NO_MODAL_BUSY_STATE = 'NO_MODAL_BUSY_STATE';
541
541
  * errors by ourselves or if we want to hide the error dialog for a specific request.
542
542
  */
543
543
  HTTPService.DISABLE_ERROR_HANDLING = 'DISABLE_ERROR_HANDLING';
544
- HTTPService.decorators = [
545
- { type: Injectable }
546
- ];
547
- HTTPService.ctorParameters = () => [
548
- { type: DialogService }
549
- ];
544
+ HTTPService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: HTTPService, deps: [{ token: DialogService }], target: i0.ɵɵFactoryTarget.Injectable });
545
+ HTTPService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: HTTPService });
546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: HTTPService, decorators: [{
547
+ type: Injectable
548
+ }], ctorParameters: function () { return [{ type: DialogService }]; } });
550
549
 
551
550
  /**
552
551
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -595,9 +594,11 @@ class NotificationService {
595
594
  return subscription.unsubscribe();
596
595
  }
597
596
  }
598
- NotificationService.decorators = [
599
- { type: Injectable }
600
- ];
597
+ NotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
598
+ NotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NotificationService });
599
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NotificationService, decorators: [{
600
+ type: Injectable
601
+ }] });
601
602
 
602
603
  /**
603
604
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -725,13 +726,11 @@ class UserService {
725
726
  }
726
727
  }
727
728
  }
728
- UserService.decorators = [
729
- { type: Injectable }
730
- ];
731
- UserService.ctorParameters = () => [
732
- { type: HTTPService },
733
- { type: LocalizationService }
734
- ];
729
+ UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UserService, deps: [{ token: HTTPService }, { token: LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
730
+ UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UserService });
731
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UserService, decorators: [{
732
+ type: Injectable
733
+ }], ctorParameters: function () { return [{ type: HTTPService }, { type: LocalizationService }]; } });
735
734
 
736
735
  /**
737
736
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -838,12 +837,11 @@ class ViewsService {
838
837
  }
839
838
  }
840
839
  }
841
- ViewsService.decorators = [
842
- { type: Injectable }
843
- ];
844
- ViewsService.ctorParameters = () => [
845
- { type: ComponentFactoryResolver }
846
- ];
840
+ ViewsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ViewsService, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Injectable });
841
+ ViewsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ViewsService });
842
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ViewsService, decorators: [{
843
+ type: Injectable
844
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; } });
847
845
 
848
846
  /**
849
847
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -898,18 +896,19 @@ class ViewsContainerComponent {
898
896
  }
899
897
  }
900
898
  }
901
- ViewsContainerComponent.decorators = [
902
- { type: Component, args: [{
903
- selector: 'tg-views-container',
904
- template: "<!--\r\n This is a dummy template component that will be used as the anchor point where the views will be loaded\r\n-->\r\n<ng-template #viewContainerRef></ng-template>",
905
- styles: [""]
906
- },] }
907
- ];
908
- ViewsContainerComponent.propDecorators = {
909
- initialView: [{ type: Input }],
910
- viewsService: [{ type: Input }],
911
- viewContainerRef: [{ type: ViewChild, args: ['viewContainerRef', { read: ViewContainerRef, static: true },] }]
912
- };
899
+ ViewsContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ViewsContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
900
+ ViewsContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: ViewsContainerComponent, selector: "tg-views-container", inputs: { initialView: "initialView", viewsService: "viewsService" }, viewQueries: [{ propertyName: "viewContainerRef", first: true, predicate: ["viewContainerRef"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: "<!--\r\n This is a dummy template component that will be used as the anchor point where the views will be loaded\r\n-->\r\n<ng-template #viewContainerRef></ng-template>", styles: [""] });
901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ViewsContainerComponent, decorators: [{
902
+ type: Component,
903
+ args: [{ selector: 'tg-views-container', template: "<!--\r\n This is a dummy template component that will be used as the anchor point where the views will be loaded\r\n-->\r\n<ng-template #viewContainerRef></ng-template>", styles: [""] }]
904
+ }], propDecorators: { initialView: [{
905
+ type: Input
906
+ }], viewsService: [{
907
+ type: Input
908
+ }], viewContainerRef: [{
909
+ type: ViewChild,
910
+ args: ['viewContainerRef', { read: ViewContainerRef, static: true }]
911
+ }] } });
913
912
 
914
913
  /**
915
914
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1036,28 +1035,58 @@ class ButtonBaseComponent {
1036
1035
  }
1037
1036
  }
1038
1037
  }
1039
- ButtonBaseComponent.decorators = [
1040
- { type: Directive }
1041
- ];
1042
- ButtonBaseComponent.propDecorators = {
1043
- currentOpacity: [{ type: HostBinding, args: ['style.opacity',] }],
1044
- currentScale: [{ type: HostBinding, args: ['style.transform',] }],
1045
- pointerEvents: [{ type: HostBinding, args: ['style.pointer-events',] }],
1046
- releaseOnMouseUp: [{ type: Input }],
1047
- vibrateOnClick: [{ type: Input }],
1048
- defaultOpacity: [{ type: Input }],
1049
- defaultScale: [{ type: Input }],
1050
- hoverOpacity: [{ type: Input }],
1051
- hoverScale: [{ type: Input }],
1052
- clickOpacity: [{ type: Input }],
1053
- clickScale: [{ type: Input }],
1054
- disabledOpacity: [{ type: Input }],
1055
- enabled: [{ type: Input }],
1056
- onMouseOver: [{ type: HostListener, args: ['mouseover',] }],
1057
- onMouseOut: [{ type: HostListener, args: ['mouseout',] }, { type: HostListener, args: ['pointerout',] }, { type: HostListener, args: ['pointerleave',] }],
1058
- onMouseDown: [{ type: HostListener, args: ['pointerdown',] }],
1059
- onMouseUp: [{ type: HostListener, args: ['pointerup',] }]
1060
- };
1038
+ ButtonBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1039
+ ButtonBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ButtonBaseComponent, inputs: { releaseOnMouseUp: "releaseOnMouseUp", vibrateOnClick: "vibrateOnClick", defaultOpacity: "defaultOpacity", defaultScale: "defaultScale", hoverOpacity: "hoverOpacity", hoverScale: "hoverScale", clickOpacity: "clickOpacity", clickScale: "clickScale", disabledOpacity: "disabledOpacity", enabled: "enabled" }, host: { listeners: { "mouseover": "onMouseOver()", "mouseout": "onMouseOut()", "pointerout": "onMouseOut()", "pointerleave": "onMouseOut()", "pointerdown": "onMouseDown()", "pointerup": "onMouseUp()" }, properties: { "style.opacity": "this.currentOpacity", "style.transform": "this.currentScale", "style.pointer-events": "this.pointerEvents" } }, ngImport: i0 });
1040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonBaseComponent, decorators: [{
1041
+ type: Directive
1042
+ }], propDecorators: { currentOpacity: [{
1043
+ type: HostBinding,
1044
+ args: ['style.opacity']
1045
+ }], currentScale: [{
1046
+ type: HostBinding,
1047
+ args: ['style.transform']
1048
+ }], pointerEvents: [{
1049
+ type: HostBinding,
1050
+ args: ['style.pointer-events']
1051
+ }], releaseOnMouseUp: [{
1052
+ type: Input
1053
+ }], vibrateOnClick: [{
1054
+ type: Input
1055
+ }], defaultOpacity: [{
1056
+ type: Input
1057
+ }], defaultScale: [{
1058
+ type: Input
1059
+ }], hoverOpacity: [{
1060
+ type: Input
1061
+ }], hoverScale: [{
1062
+ type: Input
1063
+ }], clickOpacity: [{
1064
+ type: Input
1065
+ }], clickScale: [{
1066
+ type: Input
1067
+ }], disabledOpacity: [{
1068
+ type: Input
1069
+ }], enabled: [{
1070
+ type: Input
1071
+ }], onMouseOver: [{
1072
+ type: HostListener,
1073
+ args: ['mouseover']
1074
+ }], onMouseOut: [{
1075
+ type: HostListener,
1076
+ args: ['mouseout']
1077
+ }, {
1078
+ type: HostListener,
1079
+ args: ['pointerout']
1080
+ }, {
1081
+ type: HostListener,
1082
+ args: ['pointerleave']
1083
+ }], onMouseDown: [{
1084
+ type: HostListener,
1085
+ args: ['pointerdown']
1086
+ }], onMouseUp: [{
1087
+ type: HostListener,
1088
+ args: ['pointerup']
1089
+ }] } });
1061
1090
 
1062
1091
  /**
1063
1092
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1088,19 +1117,19 @@ class ButtonImageComponent extends ButtonBaseComponent {
1088
1117
  this.percentSize = 100;
1089
1118
  }
1090
1119
  }
1091
- ButtonImageComponent.decorators = [
1092
- { type: Component, args: [{
1093
- selector: 'tg-button-image',
1094
- template: "<img src=\"{{src}}\"\r\n [style.width]=\"percentSize + '%'\"\r\n [style.height]=\"percentSize + '%'\" />",
1095
- animations: [FadeAnimationClass.getTrigger('buttonFade', '300ms ease', '300ms ease')],
1096
- styles: [":host{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .3s ease,transform .2s cubic-bezier(.04,.62,.58,1);display:flex;justify-content:center;align-items:center}img{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}\n"]
1097
- },] }
1098
- ];
1099
- ButtonImageComponent.propDecorators = {
1100
- buttonFade: [{ type: HostBinding, args: ['@buttonFade',] }],
1101
- src: [{ type: Input }],
1102
- percentSize: [{ type: Input }]
1103
- };
1120
+ ButtonImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonImageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1121
+ ButtonImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: ButtonImageComponent, selector: "tg-button-image", inputs: { src: "src", percentSize: "percentSize" }, host: { properties: { "@buttonFade": "this.buttonFade" } }, usesInheritance: true, ngImport: i0, template: "<img src=\"{{src}}\"\r\n [style.width]=\"percentSize + '%'\"\r\n [style.height]=\"percentSize + '%'\" />", styles: [":host{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .3s ease,transform .2s cubic-bezier(.04,.62,.58,1);display:flex;justify-content:center;align-items:center}img{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}\n"], animations: [FadeAnimationClass.getTrigger('buttonFade', '300ms ease', '300ms ease')] });
1122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonImageComponent, decorators: [{
1123
+ type: Component,
1124
+ args: [{ selector: 'tg-button-image', animations: [FadeAnimationClass.getTrigger('buttonFade', '300ms ease', '300ms ease')], template: "<img src=\"{{src}}\"\r\n [style.width]=\"percentSize + '%'\"\r\n [style.height]=\"percentSize + '%'\" />", styles: [":host{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .3s ease,transform .2s cubic-bezier(.04,.62,.58,1);display:flex;justify-content:center;align-items:center}img{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}\n"] }]
1125
+ }], propDecorators: { buttonFade: [{
1126
+ type: HostBinding,
1127
+ args: ['@buttonFade']
1128
+ }], src: [{
1129
+ type: Input
1130
+ }], percentSize: [{
1131
+ type: Input
1132
+ }] } });
1104
1133
 
1105
1134
  /**
1106
1135
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1122,17 +1151,15 @@ class ButtonContainerComponent extends ButtonBaseComponent {
1122
1151
  this.buttonFade = true;
1123
1152
  }
1124
1153
  }
1125
- ButtonContainerComponent.decorators = [
1126
- { type: Component, args: [{
1127
- selector: 'tg-button-container',
1128
- template: "<ng-content></ng-content>",
1129
- animations: [FadeAnimationClass.getTrigger('buttonFade', '300ms ease', '300ms ease')],
1130
- styles: [":host{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .3s ease,transform .2s cubic-bezier(.04,.62,.58,1);display:flex;justify-content:center;align-items:center}\n"]
1131
- },] }
1132
- ];
1133
- ButtonContainerComponent.propDecorators = {
1134
- buttonFade: [{ type: HostBinding, args: ['@buttonFade',] }]
1135
- };
1154
+ ButtonContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1155
+ ButtonContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: ButtonContainerComponent, selector: "tg-button-container", host: { properties: { "@buttonFade": "this.buttonFade" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .3s ease,transform .2s cubic-bezier(.04,.62,.58,1);display:flex;justify-content:center;align-items:center}\n"], animations: [FadeAnimationClass.getTrigger('buttonFade', '300ms ease', '300ms ease')] });
1156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ButtonContainerComponent, decorators: [{
1157
+ type: Component,
1158
+ args: [{ selector: 'tg-button-container', animations: [FadeAnimationClass.getTrigger('buttonFade', '300ms ease', '300ms ease')], template: "<ng-content></ng-content>", styles: [":host{-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:opacity .3s ease,transform .2s cubic-bezier(.04,.62,.58,1);display:flex;justify-content:center;align-items:center}\n"] }]
1159
+ }], propDecorators: { buttonFade: [{
1160
+ type: HostBinding,
1161
+ args: ['@buttonFade']
1162
+ }] } });
1136
1163
 
1137
1164
  /**
1138
1165
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1158,17 +1185,15 @@ class DialogSingleOptionComponent extends DialogOptionsBaseComponent {
1158
1185
  }
1159
1186
  }
1160
1187
  }
1161
- DialogSingleOptionComponent.decorators = [
1162
- { type: Component, args: [{
1163
- selector: 'tg-dialog-single-option',
1164
- template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n</button>",
1165
- styles: [":host{min-height:300px}h3{margin-bottom:25px}p{margin-bottom:52px}button{float:right}\n"]
1166
- },] }
1167
- ];
1168
- DialogSingleOptionComponent.ctorParameters = () => [
1169
- { type: MatDialogRef },
1170
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
1171
- ];
1188
+ DialogSingleOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogSingleOptionComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
1189
+ DialogSingleOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DialogSingleOptionComponent, selector: "tg-dialog-single-option", usesInheritance: true, ngImport: i0, template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n</button>", styles: [":host{min-height:300px}h3{margin-bottom:25px}p{margin-bottom:52px}button{float:right}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogSingleOptionComponent, decorators: [{
1191
+ type: Component,
1192
+ args: [{ selector: 'tg-dialog-single-option', template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n</button>", styles: [":host{min-height:300px}h3{margin-bottom:25px}p{margin-bottom:52px}button{float:right}\n"] }]
1193
+ }], ctorParameters: function () { return [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
1194
+ type: Inject,
1195
+ args: [MAT_DIALOG_DATA]
1196
+ }] }]; } });
1172
1197
 
1173
1198
  /**
1174
1199
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1195,17 +1220,15 @@ class DialogTwoOptionComponent extends DialogOptionsBaseComponent {
1195
1220
  }
1196
1221
  }
1197
1222
  }
1198
- DialogTwoOptionComponent.decorators = [
1199
- { type: Component, args: [{
1200
- selector: 'tg-dialog-two-option',
1201
- template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<div class=\"buttonsContainer\">\r\n\r\n <button mat-raised-button color=\"primary\" class=\"primaryButton\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n </button>\r\n \r\n <button mat-button\r\n (click)=\"dialogRef.close(1)\">\r\n \r\n {{data.options[1]}}\r\n \r\n </button>\r\n \r\n</div>\r\n",
1202
- styles: [":host{min-height:300px}h3{margin-bottom:25px}p{margin-bottom:52px}.buttonsContainer{width:100%;max-width:530px;display:flex;flex-direction:row-reverse;float:right}button{width:50%;padding:0}.primaryButton{margin-left:2%}\n"]
1203
- },] }
1204
- ];
1205
- DialogTwoOptionComponent.ctorParameters = () => [
1206
- { type: MatDialogRef },
1207
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
1208
- ];
1223
+ DialogTwoOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogTwoOptionComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
1224
+ DialogTwoOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DialogTwoOptionComponent, selector: "tg-dialog-two-option", usesInheritance: true, ngImport: i0, template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<div class=\"buttonsContainer\">\r\n\r\n <button mat-raised-button color=\"primary\" class=\"primaryButton\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n </button>\r\n \r\n <button mat-button\r\n (click)=\"dialogRef.close(1)\">\r\n \r\n {{data.options[1]}}\r\n \r\n </button>\r\n \r\n</div>\r\n", styles: [":host{min-height:300px}h3{margin-bottom:25px}p{margin-bottom:52px}.buttonsContainer{width:100%;max-width:530px;display:flex;flex-direction:row-reverse;float:right}button{width:50%;padding:0}.primaryButton{margin-left:2%}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogTwoOptionComponent, decorators: [{
1226
+ type: Component,
1227
+ args: [{ selector: 'tg-dialog-two-option', template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<div class=\"buttonsContainer\">\r\n\r\n <button mat-raised-button color=\"primary\" class=\"primaryButton\"\r\n (click)=\"dialogRef.close(0)\">\r\n \r\n {{data.options[0]}}\r\n \r\n </button>\r\n \r\n <button mat-button\r\n (click)=\"dialogRef.close(1)\">\r\n \r\n {{data.options[1]}}\r\n \r\n </button>\r\n \r\n</div>\r\n", styles: [":host{min-height:300px}h3{margin-bottom:25px}p{margin-bottom:52px}.buttonsContainer{width:100%;max-width:530px;display:flex;flex-direction:row-reverse;float:right}button{width:50%;padding:0}.primaryButton{margin-left:2%}\n"] }]
1228
+ }], ctorParameters: function () { return [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
1229
+ type: Inject,
1230
+ args: [MAT_DIALOG_DATA]
1231
+ }] }]; } });
1209
1232
 
1210
1233
  /**
1211
1234
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1245,12 +1268,48 @@ class BrowserService extends BrowserManager {
1245
1268
  return this.location.subscribe(onNext);
1246
1269
  }
1247
1270
  }
1248
- BrowserService.decorators = [
1249
- { type: Injectable }
1250
- ];
1251
- BrowserService.ctorParameters = () => [
1252
- { type: Location }
1253
- ];
1271
+ BrowserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BrowserService, deps: [{ token: i3.Location }], target: i0.ɵɵFactoryTarget.Injectable });
1272
+ BrowserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BrowserService });
1273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BrowserService, decorators: [{
1274
+ type: Injectable
1275
+ }], ctorParameters: function () { return [{ type: i3.Location }]; } });
1276
+
1277
+ /**
1278
+ * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
1279
+ *
1280
+ * Website : -> http://www.turbogui.org
1281
+ * License : -> Licensed under the Apache License, Version 2.0. You may not use this file except in compliance with the License.
1282
+ * License Url : -> http://www.apache.org/licenses/LICENSE-2.0
1283
+ * CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
1284
+ */
1285
+ /** This directive is used to perform an autofocus on an element every time it is displayed */
1286
+ /**
1287
+ * This directive is used to perform an autofocus on an element every time it is displayed
1288
+ * If we set the autoFocusOnDisplay tag to the html element, it will be automatically focused after it is shown.
1289
+ */
1290
+ class AutoFocusOnDisplayDirective {
1291
+ constructor(el, zone, renderer) {
1292
+ this.el = el;
1293
+ this.zone = zone;
1294
+ this.renderer = renderer;
1295
+ if (!el.nativeElement['focus']) {
1296
+ throw new Error('Element does not accept focus');
1297
+ }
1298
+ }
1299
+ ngAfterContentInit() {
1300
+ this.zone.runOutsideAngular(() => setTimeout(() => {
1301
+ this.renderer.selectRootElement(this.el.nativeElement).focus();
1302
+ }, 0));
1303
+ }
1304
+ }
1305
+ AutoFocusOnDisplayDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AutoFocusOnDisplayDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1306
+ AutoFocusOnDisplayDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: AutoFocusOnDisplayDirective, selector: "[autoFocusOnDisplay]", ngImport: i0 });
1307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AutoFocusOnDisplayDirective, decorators: [{
1308
+ type: Directive,
1309
+ args: [{
1310
+ selector: '[autoFocusOnDisplay]'
1311
+ }]
1312
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }]; } });
1254
1313
 
1255
1314
  /**
1256
1315
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1342,18 +1401,15 @@ class DialogSingleSelectionListComponent extends DialogOptionsBaseComponent {
1342
1401
  }
1343
1402
  }
1344
1403
  }
1345
- DialogSingleSelectionListComponent.decorators = [
1346
- { type: Component, args: [{
1347
- selector: 'tg-dialog-single-selection-list',
1348
- template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1 &amp;&amp; !stringUtils.isEmpty(data.texts[1])\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<mat-form-field *ngIf=\"data.texts.length > 2 &amp;&amp; !stringUtils.isEmpty(data.texts[2])\"\r\n class=\"searchItemInputContainer\">\r\n \r\n <input matInput autoFocusOnDisplay\r\n placeholder=\"{{data.texts[2]}}\"\r\n (input)=\"onSearchChange($event.target)\">\r\n \r\n</mat-form-field>\r\n\r\n<div class=\"listItemsContainer\"\r\n [style.max-height]=\"getListItemsContainerMaxheight()\">\r\n\r\n <div class=\"listItemContainer\"\r\n [style.background-color]=\"selectedItemIndex === i ? '#90d1ffad' : (i % 2 === 0 ? 'initial' : '#00000009')\"\r\n *ngFor=\"let item of filteredOptions; let i = index; trackBy: trackByFn\"\r\n (click)=\"data.texts.length < 4 ? dialogRef.close(i) : selectedItemIndex = i\">\r\n \r\n <p *ngIf=\"item !== ''\">\r\n {{item}}\r\n </p>\r\n \r\n </div>\r\n\r\n</div>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n [disabled]=\"selectedItemIndex < 0\"\r\n (click)=\"dialogRef.close(selectedItemIndex)\"\r\n *ngIf=\"data.texts.length > 3\">\r\n\r\n {{data.texts[3]}}\r\n \r\n</button>",
1349
- styles: [":host{min-height:300px}h3{margin-top:0;margin-bottom:10px}p{margin-top:0;margin-bottom:5px}.searchItemInputContainer{width:100%;margin-top:0;margin-bottom:0}.listItemsContainer{overflow-y:auto;border:1px solid #00000033;border-radius:4px;margin-bottom:5px}.listItemContainer p{line-height:36px;width:calc(100% - 12px);margin:0 0 0 6px}button{float:right}\n"]
1350
- },] }
1351
- ];
1352
- DialogSingleSelectionListComponent.ctorParameters = () => [
1353
- { type: MatDialogRef },
1354
- { type: BrowserService },
1355
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
1356
- ];
1404
+ DialogSingleSelectionListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogSingleSelectionListComponent, deps: [{ token: i1$1.MatDialogRef }, { token: BrowserService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
1405
+ DialogSingleSelectionListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DialogSingleSelectionListComponent, selector: "tg-dialog-single-selection-list", usesInheritance: true, ngImport: i0, template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1 &amp;&amp; !stringUtils.isEmpty(data.texts[1])\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<mat-form-field *ngIf=\"data.texts.length > 2 &amp;&amp; !stringUtils.isEmpty(data.texts[2])\"\r\n class=\"searchItemInputContainer\">\r\n \r\n <input matInput autoFocusOnDisplay\r\n placeholder=\"{{data.texts[2]}}\"\r\n (input)=\"onSearchChange($event.target)\">\r\n \r\n</mat-form-field>\r\n\r\n<div class=\"listItemsContainer\"\r\n [style.max-height]=\"getListItemsContainerMaxheight()\">\r\n\r\n <div class=\"listItemContainer\"\r\n [style.background-color]=\"selectedItemIndex === i ? '#90d1ffad' : (i % 2 === 0 ? 'initial' : '#00000009')\"\r\n *ngFor=\"let item of filteredOptions; let i = index; trackBy: trackByFn\"\r\n (click)=\"data.texts.length < 4 ? dialogRef.close(i) : selectedItemIndex = i\">\r\n \r\n <p *ngIf=\"item !== ''\">\r\n {{item}}\r\n </p>\r\n \r\n </div>\r\n\r\n</div>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n [disabled]=\"selectedItemIndex < 0\"\r\n (click)=\"dialogRef.close(selectedItemIndex)\"\r\n *ngIf=\"data.texts.length > 3\">\r\n\r\n {{data.texts[3]}}\r\n \r\n</button>", styles: [":host{min-height:300px}h3{margin-top:0;margin-bottom:10px}p{margin-top:0;margin-bottom:5px}.searchItemInputContainer{width:100%;margin-top:0;margin-bottom:0}.listItemsContainer{overflow-y:auto;border:1px solid #00000033;border-radius:4px;margin-bottom:5px}.listItemContainer p{line-height:36px;width:calc(100% - 12px);margin:0 0 0 6px}button{float:right}\n"], components: [{ type: i3$1.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { type: AutoFocusOnDisplayDirective, selector: "[autoFocusOnDisplay]" }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogSingleSelectionListComponent, decorators: [{
1407
+ type: Component,
1408
+ args: [{ selector: 'tg-dialog-single-selection-list', template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1 &amp;&amp; !stringUtils.isEmpty(data.texts[1])\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<mat-form-field *ngIf=\"data.texts.length > 2 &amp;&amp; !stringUtils.isEmpty(data.texts[2])\"\r\n class=\"searchItemInputContainer\">\r\n \r\n <input matInput autoFocusOnDisplay\r\n placeholder=\"{{data.texts[2]}}\"\r\n (input)=\"onSearchChange($event.target)\">\r\n \r\n</mat-form-field>\r\n\r\n<div class=\"listItemsContainer\"\r\n [style.max-height]=\"getListItemsContainerMaxheight()\">\r\n\r\n <div class=\"listItemContainer\"\r\n [style.background-color]=\"selectedItemIndex === i ? '#90d1ffad' : (i % 2 === 0 ? 'initial' : '#00000009')\"\r\n *ngFor=\"let item of filteredOptions; let i = index; trackBy: trackByFn\"\r\n (click)=\"data.texts.length < 4 ? dialogRef.close(i) : selectedItemIndex = i\">\r\n \r\n <p *ngIf=\"item !== ''\">\r\n {{item}}\r\n </p>\r\n \r\n </div>\r\n\r\n</div>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n [disabled]=\"selectedItemIndex < 0\"\r\n (click)=\"dialogRef.close(selectedItemIndex)\"\r\n *ngIf=\"data.texts.length > 3\">\r\n\r\n {{data.texts[3]}}\r\n \r\n</button>", styles: [":host{min-height:300px}h3{margin-top:0;margin-bottom:10px}p{margin-top:0;margin-bottom:5px}.searchItemInputContainer{width:100%;margin-top:0;margin-bottom:0}.listItemsContainer{overflow-y:auto;border:1px solid #00000033;border-radius:4px;margin-bottom:5px}.listItemContainer p{line-height:36px;width:calc(100% - 12px);margin:0 0 0 6px}button{float:right}\n"] }]
1409
+ }], ctorParameters: function () { return [{ type: i1$1.MatDialogRef }, { type: BrowserService }, { type: undefined, decorators: [{
1410
+ type: Inject,
1411
+ args: [MAT_DIALOG_DATA]
1412
+ }] }]; } });
1357
1413
 
1358
1414
  /**
1359
1415
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1376,17 +1432,15 @@ class DialogMultipleOptionComponent extends DialogOptionsBaseComponent {
1376
1432
  }
1377
1433
  }
1378
1434
  }
1379
- DialogMultipleOptionComponent.decorators = [
1380
- { type: Component, args: [{
1381
- selector: 'tg-dialog-multiple-option',
1382
- template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n *ngFor=\"let option of data.options; let i = index\"\r\n (click)=\"dialogRef.close(i)\">\r\n \r\n {{option}}\r\n \r\n</button>",
1383
- styles: [":host{display:flex;flex-direction:column;min-height:193px}h3{margin-bottom:45px}button{margin-bottom:25px}\n"]
1384
- },] }
1385
- ];
1386
- DialogMultipleOptionComponent.ctorParameters = () => [
1387
- { type: MatDialogRef },
1388
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
1389
- ];
1435
+ DialogMultipleOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogMultipleOptionComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
1436
+ DialogMultipleOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DialogMultipleOptionComponent, selector: "tg-dialog-multiple-option", usesInheritance: true, ngImport: i0, template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n *ngFor=\"let option of data.options; let i = index\"\r\n (click)=\"dialogRef.close(i)\">\r\n \r\n {{option}}\r\n \r\n</button>", styles: [":host{display:flex;flex-direction:column;min-height:193px}h3{margin-bottom:45px}button{margin-bottom:25px}\n"], components: [{ type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
1437
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DialogMultipleOptionComponent, decorators: [{
1438
+ type: Component,
1439
+ args: [{ selector: 'tg-dialog-multiple-option', template: "<h3>\r\n {{data.texts[0]}}\r\n</h3>\r\n\r\n<p *ngIf=\"data.texts.length > 1\">\r\n {{data.texts[1]}}\r\n</p>\r\n\r\n<button mat-raised-button color=\"primary\"\r\n *ngFor=\"let option of data.options; let i = index\"\r\n (click)=\"dialogRef.close(i)\">\r\n \r\n {{option}}\r\n \r\n</button>", styles: [":host{display:flex;flex-direction:column;min-height:193px}h3{margin-bottom:45px}button{margin-bottom:25px}\n"] }]
1440
+ }], ctorParameters: function () { return [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
1441
+ type: Inject,
1442
+ args: [MAT_DIALOG_DATA]
1443
+ }] }]; } });
1390
1444
 
1391
1445
  /**
1392
1446
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1416,14 +1470,17 @@ class ElementCreatedDirective {
1416
1470
  this.elementCreated.next(this);
1417
1471
  }
1418
1472
  }
1419
- ElementCreatedDirective.decorators = [
1420
- { type: Directive, args: [{
1421
- selector: '[elementCreated]'
1422
- },] }
1423
- ];
1424
- ElementCreatedDirective.propDecorators = {
1425
- elementCreated: [{ type: Output, args: ['elementCreated',] }]
1426
- };
1473
+ ElementCreatedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ElementCreatedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1474
+ ElementCreatedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ElementCreatedDirective, selector: "[elementCreated]", outputs: { elementCreated: "elementCreated" }, ngImport: i0 });
1475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ElementCreatedDirective, decorators: [{
1476
+ type: Directive,
1477
+ args: [{
1478
+ selector: '[elementCreated]'
1479
+ }]
1480
+ }], propDecorators: { elementCreated: [{
1481
+ type: Output,
1482
+ args: ['elementCreated']
1483
+ }] } });
1427
1484
 
1428
1485
  /**
1429
1486
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1453,53 +1510,17 @@ class ElementDestroyedDirective {
1453
1510
  this.elementDestroyed.next(this);
1454
1511
  }
1455
1512
  }
1456
- ElementDestroyedDirective.decorators = [
1457
- { type: Directive, args: [{
1458
- selector: '[elementDestroyed]'
1459
- },] }
1460
- ];
1461
- ElementDestroyedDirective.propDecorators = {
1462
- elementDestroyed: [{ type: Output, args: ['elementDestroyed',] }]
1463
- };
1464
-
1465
- /**
1466
- * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
1467
- *
1468
- * Website : -> http://www.turbogui.org
1469
- * License : -> Licensed under the Apache License, Version 2.0. You may not use this file except in compliance with the License.
1470
- * License Url : -> http://www.apache.org/licenses/LICENSE-2.0
1471
- * CopyRight : -> Copyright 2018 Edertone Advanded Solutions. https://www.edertone.com
1472
- */
1473
- /** This directive is used to perform an autofocus on an element every time it is displayed */
1474
- /**
1475
- * This directive is used to perform an autofocus on an element every time it is displayed
1476
- * If we set the autoFocusOnDisplay tag to the html element, it will be automatically focused after it is shown.
1477
- */
1478
- class AutoFocusOnDisplayDirective {
1479
- constructor(el, zone, renderer) {
1480
- this.el = el;
1481
- this.zone = zone;
1482
- this.renderer = renderer;
1483
- if (!el.nativeElement['focus']) {
1484
- throw new Error('Element does not accept focus');
1485
- }
1486
- }
1487
- ngAfterContentInit() {
1488
- this.zone.runOutsideAngular(() => setTimeout(() => {
1489
- this.renderer.selectRootElement(this.el.nativeElement).focus();
1490
- }, 0));
1491
- }
1492
- }
1493
- AutoFocusOnDisplayDirective.decorators = [
1494
- { type: Directive, args: [{
1495
- selector: '[autoFocusOnDisplay]'
1496
- },] }
1497
- ];
1498
- AutoFocusOnDisplayDirective.ctorParameters = () => [
1499
- { type: ElementRef },
1500
- { type: NgZone },
1501
- { type: Renderer2 }
1502
- ];
1513
+ ElementDestroyedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ElementDestroyedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1514
+ ElementDestroyedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ElementDestroyedDirective, selector: "[elementDestroyed]", outputs: { elementDestroyed: "elementDestroyed" }, ngImport: i0 });
1515
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ElementDestroyedDirective, decorators: [{
1516
+ type: Directive,
1517
+ args: [{
1518
+ selector: '[elementDestroyed]'
1519
+ }]
1520
+ }], propDecorators: { elementDestroyed: [{
1521
+ type: Output,
1522
+ args: ['elementDestroyed']
1523
+ }] } });
1503
1524
 
1504
1525
  /**
1505
1526
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1526,18 +1547,17 @@ class AutoSelectTextOnFocusDirective {
1526
1547
  this.renderer.selectRootElement(this.el.nativeElement).select();
1527
1548
  }
1528
1549
  }
1529
- AutoSelectTextOnFocusDirective.decorators = [
1530
- { type: Directive, args: [{
1531
- selector: '[autoSelectTextOnFocus]'
1532
- },] }
1533
- ];
1534
- AutoSelectTextOnFocusDirective.ctorParameters = () => [
1535
- { type: ElementRef },
1536
- { type: Renderer2 }
1537
- ];
1538
- AutoSelectTextOnFocusDirective.propDecorators = {
1539
- onFocus: [{ type: HostListener, args: ['focus', ['$event'],] }]
1540
- };
1550
+ AutoSelectTextOnFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AutoSelectTextOnFocusDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
1551
+ AutoSelectTextOnFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: AutoSelectTextOnFocusDirective, selector: "[autoSelectTextOnFocus]", host: { listeners: { "focus": "onFocus($event)" } }, ngImport: i0 });
1552
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AutoSelectTextOnFocusDirective, decorators: [{
1553
+ type: Directive,
1554
+ args: [{
1555
+ selector: '[autoSelectTextOnFocus]'
1556
+ }]
1557
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { onFocus: [{
1558
+ type: HostListener,
1559
+ args: ['focus', ['$event']]
1560
+ }] } });
1541
1561
 
1542
1562
  /**
1543
1563
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1552,58 +1572,106 @@ AutoSelectTextOnFocusDirective.propDecorators = {
1552
1572
  */
1553
1573
  class TurboGuiAngularModule {
1554
1574
  }
1555
- TurboGuiAngularModule.decorators = [
1556
- { type: NgModule, args: [{
1557
- imports: [
1558
- MatDialogModule,
1559
- MatSnackBarModule,
1560
- MatInputModule,
1561
- MatButtonModule,
1562
- MatFormFieldModule,
1563
- BrowserAnimationsModule
1564
- ],
1565
- declarations: [
1566
- BusyStateBaseComponent,
1567
- DialogErrorComponent,
1568
- DialogSingleOptionComponent,
1569
- DialogTwoOptionComponent,
1570
- DialogMultipleOptionComponent,
1571
- DialogSingleSelectionListComponent,
1572
- ViewsContainerComponent,
1573
- ButtonImageComponent,
1574
- ButtonContainerComponent,
1575
- ElementCreatedDirective,
1576
- ElementDestroyedDirective,
1577
- AutoFocusOnDisplayDirective,
1578
- AutoSelectTextOnFocusDirective
1579
- ],
1580
- // Globally available singleton services are added here
1581
- providers: [
1582
- DialogService,
1583
- LocalizationService,
1584
- HTTPService,
1585
- NotificationService,
1586
- UserService,
1587
- ViewsService,
1588
- BrowserService
1589
- ],
1590
- exports: [
1591
- BusyStateBaseComponent,
1592
- ViewsContainerComponent,
1593
- ButtonImageComponent,
1594
- ButtonContainerComponent,
1595
- DialogErrorComponent,
1596
- DialogSingleOptionComponent,
1597
- DialogTwoOptionComponent,
1598
- DialogMultipleOptionComponent,
1599
- DialogSingleSelectionListComponent,
1600
- ElementCreatedDirective,
1601
- ElementDestroyedDirective,
1602
- AutoFocusOnDisplayDirective,
1603
- AutoSelectTextOnFocusDirective
1604
- ]
1605
- },] }
1606
- ];
1575
+ TurboGuiAngularModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TurboGuiAngularModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1576
+ TurboGuiAngularModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TurboGuiAngularModule, declarations: [BusyStateBaseComponent,
1577
+ DialogErrorComponent,
1578
+ DialogSingleOptionComponent,
1579
+ DialogTwoOptionComponent,
1580
+ DialogMultipleOptionComponent,
1581
+ DialogSingleSelectionListComponent,
1582
+ ViewsContainerComponent,
1583
+ ButtonImageComponent,
1584
+ ButtonContainerComponent,
1585
+ ElementCreatedDirective,
1586
+ ElementDestroyedDirective,
1587
+ AutoFocusOnDisplayDirective,
1588
+ AutoSelectTextOnFocusDirective], imports: [MatDialogModule,
1589
+ MatSnackBarModule,
1590
+ MatInputModule,
1591
+ MatButtonModule,
1592
+ MatFormFieldModule,
1593
+ BrowserAnimationsModule], exports: [BusyStateBaseComponent,
1594
+ ViewsContainerComponent,
1595
+ ButtonImageComponent,
1596
+ ButtonContainerComponent,
1597
+ DialogErrorComponent,
1598
+ DialogSingleOptionComponent,
1599
+ DialogTwoOptionComponent,
1600
+ DialogMultipleOptionComponent,
1601
+ DialogSingleSelectionListComponent,
1602
+ ElementCreatedDirective,
1603
+ ElementDestroyedDirective,
1604
+ AutoFocusOnDisplayDirective,
1605
+ AutoSelectTextOnFocusDirective] });
1606
+ TurboGuiAngularModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TurboGuiAngularModule, providers: [
1607
+ DialogService,
1608
+ LocalizationService,
1609
+ HTTPService,
1610
+ NotificationService,
1611
+ UserService,
1612
+ ViewsService,
1613
+ BrowserService
1614
+ ], imports: [[
1615
+ MatDialogModule,
1616
+ MatSnackBarModule,
1617
+ MatInputModule,
1618
+ MatButtonModule,
1619
+ MatFormFieldModule,
1620
+ BrowserAnimationsModule
1621
+ ]] });
1622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TurboGuiAngularModule, decorators: [{
1623
+ type: NgModule,
1624
+ args: [{
1625
+ imports: [
1626
+ MatDialogModule,
1627
+ MatSnackBarModule,
1628
+ MatInputModule,
1629
+ MatButtonModule,
1630
+ MatFormFieldModule,
1631
+ BrowserAnimationsModule
1632
+ ],
1633
+ declarations: [
1634
+ BusyStateBaseComponent,
1635
+ DialogErrorComponent,
1636
+ DialogSingleOptionComponent,
1637
+ DialogTwoOptionComponent,
1638
+ DialogMultipleOptionComponent,
1639
+ DialogSingleSelectionListComponent,
1640
+ ViewsContainerComponent,
1641
+ ButtonImageComponent,
1642
+ ButtonContainerComponent,
1643
+ ElementCreatedDirective,
1644
+ ElementDestroyedDirective,
1645
+ AutoFocusOnDisplayDirective,
1646
+ AutoSelectTextOnFocusDirective
1647
+ ],
1648
+ // Globally available singleton services are added here
1649
+ providers: [
1650
+ DialogService,
1651
+ LocalizationService,
1652
+ HTTPService,
1653
+ NotificationService,
1654
+ UserService,
1655
+ ViewsService,
1656
+ BrowserService
1657
+ ],
1658
+ exports: [
1659
+ BusyStateBaseComponent,
1660
+ ViewsContainerComponent,
1661
+ ButtonImageComponent,
1662
+ ButtonContainerComponent,
1663
+ DialogErrorComponent,
1664
+ DialogSingleOptionComponent,
1665
+ DialogTwoOptionComponent,
1666
+ DialogMultipleOptionComponent,
1667
+ DialogSingleSelectionListComponent,
1668
+ ElementCreatedDirective,
1669
+ ElementDestroyedDirective,
1670
+ AutoFocusOnDisplayDirective,
1671
+ AutoSelectTextOnFocusDirective
1672
+ ]
1673
+ }]
1674
+ }] });
1607
1675
 
1608
1676
  /**
1609
1677
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1665,9 +1733,11 @@ class GlobalErrorService {
1665
1733
  throw error;
1666
1734
  }
1667
1735
  }
1668
- GlobalErrorService.decorators = [
1669
- { type: Injectable }
1670
- ];
1736
+ GlobalErrorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1737
+ GlobalErrorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalErrorService });
1738
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalErrorService, decorators: [{
1739
+ type: Injectable
1740
+ }] });
1671
1741
 
1672
1742
  /**
1673
1743
  * TurboGUI is A library that helps with the most common and generic UI elements and functionalities
@@ -1869,5 +1939,5 @@ class DelayedMethodCallManager {
1869
1939
  * Generated bundle index. Do not edit.
1870
1940
  */
1871
1941
 
1872
- export { AutoFocusOnDisplayDirective, AutoSelectTextOnFocusDirective, BrowserService, BusyStateBaseComponent, ButtonContainerComponent, ButtonImageComponent, DelayedMethodCallManager, DialogErrorComponent, DialogMultipleOptionComponent, DialogOptionsBaseComponent, DialogService, DialogSingleOptionComponent, DialogSingleSelectionListComponent, DialogTwoOptionComponent, ElementCreatedDirective, ElementDestroyedDirective, FadeAnimationClass, GUINotification, GlobalErrorService, HTTPService, HTTPServiceGetRequest, HTTPServicePostRequest, LocalizationService, NotificationService, TurboGuiAngularModule, UserService, View, ViewModel, ViewService, ViewsContainerComponent, ViewsService, DialogBaseComponent as ɵa, ButtonBaseComponent as ɵb };
1873
- //# sourceMappingURL=turbogui-angular.js.map
1942
+ export { AutoFocusOnDisplayDirective, AutoSelectTextOnFocusDirective, BrowserService, BusyStateBaseComponent, ButtonContainerComponent, ButtonImageComponent, DelayedMethodCallManager, DialogErrorComponent, DialogMultipleOptionComponent, DialogOptionsBaseComponent, DialogService, DialogSingleOptionComponent, DialogSingleSelectionListComponent, DialogTwoOptionComponent, ElementCreatedDirective, ElementDestroyedDirective, FadeAnimationClass, GUINotification, GlobalErrorService, HTTPService, HTTPServiceGetRequest, HTTPServicePostRequest, LocalizationService, NotificationService, TurboGuiAngularModule, UserService, View, ViewModel, ViewService, ViewsContainerComponent, ViewsService };
1943
+ //# sourceMappingURL=turbogui-angular.mjs.map