@ts-core/angular 15.0.60 → 17.0.10

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 (239) hide show
  1. package/asset/AssetBackgroundDirective.d.ts +1 -1
  2. package/cookie/CookieService.d.ts +1 -3
  3. package/directive/AspectRatioResizeDirective.d.ts +1 -1
  4. package/directive/AutoScrollBottomDirective.d.ts +1 -1
  5. package/directive/ClickToCopyDirective.d.ts +1 -1
  6. package/directive/FocusDirective.d.ts +1 -1
  7. package/directive/HTMLContentTitleDirective.d.ts +1 -1
  8. package/directive/HTMLTitleDirective.d.ts +1 -1
  9. package/directive/InfiniteScrollDirective.d.ts +1 -1
  10. package/directive/ResizeDirective.d.ts +1 -1
  11. package/directive/ScrollCheckDirective.d.ts +1 -1
  12. package/directive/ScrollDirective.d.ts +1 -1
  13. package/esm2022/VIModule.mjs +190 -0
  14. package/esm2022/application/ApplicationBaseComponent.mjs +96 -0
  15. package/esm2022/application/ApplicationComponent.mjs +64 -0
  16. package/esm2022/application/MessageBaseComponent.mjs +60 -0
  17. package/esm2022/asset/AssetBackgroundDirective.mjs +152 -0
  18. package/{esm2020 → esm2022}/asset/AssetBackgroundPipe.mjs +4 -4
  19. package/{esm2020 → esm2022}/asset/AssetFilePipe.mjs +4 -4
  20. package/{esm2020 → esm2022}/asset/AssetIconPipe.mjs +4 -4
  21. package/{esm2020 → esm2022}/asset/AssetImagePipe.mjs +4 -4
  22. package/{esm2020 → esm2022}/asset/AssetModule.mjs +5 -5
  23. package/{esm2020 → esm2022}/asset/AssetSoundPipe.mjs +4 -4
  24. package/{esm2020 → esm2022}/asset/AssetVideoPipe.mjs +4 -4
  25. package/{esm2020 → esm2022}/cookie/CookieModule.mjs +5 -5
  26. package/{esm2020 → esm2022}/cookie/CookieOptions.mjs +7 -1
  27. package/esm2022/cookie/CookieService.mjs +71 -0
  28. package/esm2022/directive/AspectRatioResizeDirective.mjs +134 -0
  29. package/esm2022/directive/AutoScrollBottomDirective.mjs +122 -0
  30. package/esm2022/directive/ClickToCopyDirective.mjs +53 -0
  31. package/esm2022/directive/ClickToSelectDirective.mjs +55 -0
  32. package/esm2022/directive/FocusDirective.mjs +60 -0
  33. package/esm2022/directive/HTMLContentTitleDirective.mjs +74 -0
  34. package/esm2022/directive/HTMLTitleDirective.mjs +73 -0
  35. package/esm2022/directive/InfiniteScrollDirective.mjs +71 -0
  36. package/{esm2020 → esm2022}/directive/IsBrowserDirective.mjs +5 -5
  37. package/{esm2020 → esm2022}/directive/IsServerDirective.mjs +5 -5
  38. package/esm2022/directive/ResizeDirective.mjs +80 -0
  39. package/esm2022/directive/ScrollCheckDirective.mjs +104 -0
  40. package/esm2022/directive/ScrollDirective.mjs +120 -0
  41. package/esm2022/directive/SelectOnFocusDirective.mjs +48 -0
  42. package/esm2022/directive/StructureDirective.mjs +80 -0
  43. package/esm2022/language/LanguageDirective.mjs +102 -0
  44. package/esm2022/language/LanguageHasDirective.mjs +87 -0
  45. package/{esm2020 → esm2022}/language/LanguageModule.mjs +5 -5
  46. package/esm2022/language/LanguagePipe.mjs +88 -0
  47. package/esm2022/language/LanguagePipeHas.mjs +64 -0
  48. package/esm2022/language/LanguagePipeHasPure.mjs +41 -0
  49. package/esm2022/language/LanguagePipePure.mjs +40 -0
  50. package/esm2022/language/LanguageRequireResolver.mjs +37 -0
  51. package/{esm2020 → esm2022}/language/LanguageResolver.mjs +5 -5
  52. package/esm2022/list/ListItem.mjs +148 -0
  53. package/esm2022/list/ListItems.mjs +107 -0
  54. package/esm2022/list/select/RouterSelectListItems.mjs +60 -0
  55. package/esm2022/list/select/SelectListItem.mjs +67 -0
  56. package/esm2022/list/select/SelectListItems.mjs +130 -0
  57. package/esm2022/login/LoginBaseService.mjs +191 -0
  58. package/esm2022/login/LoginGuard.mjs +41 -0
  59. package/esm2022/login/LoginIfCanGuard.mjs +55 -0
  60. package/esm2022/login/LoginNotGuard.mjs +41 -0
  61. package/esm2022/login/LoginRequireResolver.mjs +40 -0
  62. package/{esm2020 → esm2022}/login/LoginResolver.mjs +6 -6
  63. package/esm2022/login/LoginTokenStorage.mjs +18 -0
  64. package/esm2022/manager/FocusManager.mjs +54 -0
  65. package/esm2022/manager/ResizeManager.mjs +90 -0
  66. package/esm2022/menu/MenuItem.mjs +20 -0
  67. package/esm2022/menu/MenuItemBase.mjs +56 -0
  68. package/esm2022/menu/MenuItems.mjs +111 -0
  69. package/esm2022/menu/NavigationMenuItem.mjs +20 -0
  70. package/esm2022/module/LazyModuleLoader.mjs +97 -0
  71. package/esm2022/notification/INotification.mjs +16 -0
  72. package/esm2022/notification/INotificationContent.mjs +141 -0
  73. package/esm2022/notification/NotificationConfig.mjs +27 -0
  74. package/{esm2020 → esm2022}/pipe/CamelCasePipe.mjs +4 -4
  75. package/esm2022/pipe/FinancePipe.mjs +53 -0
  76. package/esm2022/pipe/MomentDateAdaptivePipe.mjs +51 -0
  77. package/{esm2020 → esm2022}/pipe/MomentDateFromNowPipe.mjs +4 -4
  78. package/esm2022/pipe/MomentDatePipe.mjs +71 -0
  79. package/esm2022/pipe/MomentTimePipe.mjs +35 -0
  80. package/esm2022/pipe/NgModelErrorPipe.mjs +43 -0
  81. package/esm2022/pipe/PrettifyPipe.mjs +38 -0
  82. package/esm2022/pipe/SanitizePipe.mjs +48 -0
  83. package/{esm2020 → esm2022}/pipe/StartCasePipe.mjs +4 -4
  84. package/esm2022/pipe/TimePipe.mjs +38 -0
  85. package/{esm2020 → esm2022}/pipe/TruncatePipe.mjs +4 -4
  86. package/esm2022/public-api.mjs +138 -0
  87. package/esm2022/question/QuestionManager.mjs +107 -0
  88. package/esm2022/service/PipeBaseService.mjs +140 -0
  89. package/esm2022/service/PlatformService.mjs +45 -0
  90. package/esm2022/service/RouterBaseService.mjs +236 -0
  91. package/esm2022/storage/DateValueStorage.mjs +46 -0
  92. package/esm2022/storage/LocalStorageService.mjs +58 -0
  93. package/esm2022/storage/ValueStorage.mjs +75 -0
  94. package/{esm2020 → esm2022}/theme/ThemeAssetBackgroundDirective.mjs +5 -5
  95. package/esm2022/theme/ThemeAssetDirective.mjs +251 -0
  96. package/{esm2020 → esm2022}/theme/ThemeAssetIconDirective.mjs +5 -5
  97. package/{esm2020 → esm2022}/theme/ThemeAssetImageDirective.mjs +5 -5
  98. package/{esm2020 → esm2022}/theme/ThemeModule.mjs +15 -15
  99. package/esm2022/theme/ThemeStyleDirective.mjs +125 -0
  100. package/esm2022/theme/ThemeStyleHoverDirective.mjs +107 -0
  101. package/esm2022/theme/ThemeToggleDirective.mjs +63 -0
  102. package/esm2022/transport/TransportLazy.mjs +93 -0
  103. package/esm2022/transport/TransportLazyModule.mjs +30 -0
  104. package/esm2022/transport/TransportLazyModuleLoadedEvent.mjs +18 -0
  105. package/esm2022/user/IUser.mjs +9 -0
  106. package/esm2022/user/UserBaseService.mjs +124 -0
  107. package/esm2022/util/ViewUtil.mjs +589 -0
  108. package/esm2022/window/IWindow.mjs +31 -0
  109. package/esm2022/window/IWindowContent.mjs +142 -0
  110. package/esm2022/window/WindowBase.mjs +177 -0
  111. package/esm2022/window/WindowClosedError.mjs +19 -0
  112. package/esm2022/window/WindowConfig.mjs +218 -0
  113. package/{fesm2020 → fesm2022}/ts-core-angular.mjs +1118 -958
  114. package/fesm2022/ts-core-angular.mjs.map +1 -0
  115. package/language/LanguageDirective.d.ts +1 -1
  116. package/language/LanguageHasDirective.d.ts +1 -1
  117. package/module/LazyModuleLoader.d.ts +1 -1
  118. package/notification/INotificationContent.d.ts +1 -1
  119. package/notification/NotificationConfig.d.ts +1 -1
  120. package/notification/NotificationService.d.ts +1 -1
  121. package/package.json +19 -26
  122. package/pipe/MomentDatePipe.d.ts +1 -1
  123. package/public-api.d.ts +0 -2
  124. package/theme/ThemeAssetBackgroundDirective.d.ts +1 -1
  125. package/theme/ThemeAssetDirective.d.ts +1 -1
  126. package/theme/ThemeAssetIconDirective.d.ts +1 -1
  127. package/theme/ThemeAssetImageDirective.d.ts +1 -1
  128. package/theme/ThemeStyleDirective.d.ts +1 -1
  129. package/theme/ThemeStyleHoverDirective.d.ts +1 -1
  130. package/user/IUser.d.ts +1 -1
  131. package/util/ViewUtil.d.ts +1 -1
  132. package/window/IWindowContent.d.ts +2 -2
  133. package/window/WindowConfig.d.ts +1 -1
  134. package/window/WindowService.d.ts +1 -1
  135. package/esm2020/VIModule.mjs +0 -187
  136. package/esm2020/application/ApplicationBaseComponent.mjs +0 -88
  137. package/esm2020/application/ApplicationComponent.mjs +0 -58
  138. package/esm2020/application/MessageBaseComponent.mjs +0 -52
  139. package/esm2020/asset/AssetBackgroundDirective.mjs +0 -150
  140. package/esm2020/cookie/CookieService.mjs +0 -79
  141. package/esm2020/directive/AspectRatioResizeDirective.mjs +0 -131
  142. package/esm2020/directive/AutoScrollBottomDirective.mjs +0 -122
  143. package/esm2020/directive/ClickToCopyDirective.mjs +0 -49
  144. package/esm2020/directive/ClickToSelectDirective.mjs +0 -49
  145. package/esm2020/directive/FocusDirective.mjs +0 -54
  146. package/esm2020/directive/HTMLContentTitleDirective.mjs +0 -67
  147. package/esm2020/directive/HTMLTitleDirective.mjs +0 -66
  148. package/esm2020/directive/InfiniteScrollDirective.mjs +0 -74
  149. package/esm2020/directive/ResizeDirective.mjs +0 -79
  150. package/esm2020/directive/ScrollCheckDirective.mjs +0 -102
  151. package/esm2020/directive/ScrollDirective.mjs +0 -118
  152. package/esm2020/directive/SelectOnFocusDirective.mjs +0 -47
  153. package/esm2020/directive/StructureDirective.mjs +0 -71
  154. package/esm2020/form/FormElementAsync.mjs +0 -27
  155. package/esm2020/form/FormElementSync.mjs +0 -69
  156. package/esm2020/form/ValueAccessor.mjs +0 -62
  157. package/esm2020/form/validate.mjs +0 -59
  158. package/esm2020/language/LanguageDirective.mjs +0 -92
  159. package/esm2020/language/LanguageHasDirective.mjs +0 -80
  160. package/esm2020/language/LanguagePipe.mjs +0 -78
  161. package/esm2020/language/LanguagePipeHas.mjs +0 -56
  162. package/esm2020/language/LanguagePipeHasPure.mjs +0 -40
  163. package/esm2020/language/LanguagePipePure.mjs +0 -39
  164. package/esm2020/language/LanguageRequireResolver.mjs +0 -36
  165. package/esm2020/list/ListItem.mjs +0 -134
  166. package/esm2020/list/ListItems.mjs +0 -97
  167. package/esm2020/list/select/RouterSelectListItems.mjs +0 -53
  168. package/esm2020/list/select/SelectListItem.mjs +0 -59
  169. package/esm2020/list/select/SelectListItems.mjs +0 -121
  170. package/esm2020/login/LoginBaseService.mjs +0 -184
  171. package/esm2020/login/LoginGuard.mjs +0 -40
  172. package/esm2020/login/LoginIfCanGuard.mjs +0 -54
  173. package/esm2020/login/LoginNotGuard.mjs +0 -40
  174. package/esm2020/login/LoginRequireResolver.mjs +0 -39
  175. package/esm2020/login/LoginTokenStorage.mjs +0 -18
  176. package/esm2020/manager/FocusManager.mjs +0 -46
  177. package/esm2020/manager/ResizeManager.mjs +0 -81
  178. package/esm2020/menu/MenuItem.mjs +0 -13
  179. package/esm2020/menu/MenuItemBase.mjs +0 -46
  180. package/esm2020/menu/MenuItems.mjs +0 -102
  181. package/esm2020/menu/NavigationMenuItem.mjs +0 -14
  182. package/esm2020/module/LazyModuleLoader.mjs +0 -89
  183. package/esm2020/notification/INotification.mjs +0 -7
  184. package/esm2020/notification/INotificationContent.mjs +0 -132
  185. package/esm2020/notification/NotificationConfig.mjs +0 -16
  186. package/esm2020/pipe/FinancePipe.mjs +0 -53
  187. package/esm2020/pipe/MomentDateAdaptivePipe.mjs +0 -51
  188. package/esm2020/pipe/MomentDatePipe.mjs +0 -71
  189. package/esm2020/pipe/MomentTimePipe.mjs +0 -35
  190. package/esm2020/pipe/NgModelErrorPipe.mjs +0 -42
  191. package/esm2020/pipe/PrettifyPipe.mjs +0 -38
  192. package/esm2020/pipe/SanitizePipe.mjs +0 -47
  193. package/esm2020/pipe/TimePipe.mjs +0 -38
  194. package/esm2020/public-api.mjs +0 -141
  195. package/esm2020/question/QuestionManager.mjs +0 -93
  196. package/esm2020/service/PipeBaseService.mjs +0 -132
  197. package/esm2020/service/PlatformService.mjs +0 -38
  198. package/esm2020/service/RouterBaseService.mjs +0 -224
  199. package/esm2020/storage/DateValueStorage.mjs +0 -49
  200. package/esm2020/storage/LocalStorageService.mjs +0 -57
  201. package/esm2020/storage/ValueStorage.mjs +0 -67
  202. package/esm2020/theme/ThemeAssetDirective.mjs +0 -240
  203. package/esm2020/theme/ThemeStyleDirective.mjs +0 -115
  204. package/esm2020/theme/ThemeStyleHoverDirective.mjs +0 -107
  205. package/esm2020/theme/ThemeToggleDirective.mjs +0 -62
  206. package/esm2020/transport/TransportLazy.mjs +0 -92
  207. package/esm2020/transport/TransportLazyModule.mjs +0 -28
  208. package/esm2020/transport/TransportLazyModuleLoadedEvent.mjs +0 -18
  209. package/esm2020/user/IUser.mjs +0 -3
  210. package/esm2020/user/UserBaseService.mjs +0 -116
  211. package/esm2020/util/ViewUtil.mjs +0 -589
  212. package/esm2020/window/IWindow.mjs +0 -33
  213. package/esm2020/window/IWindowContent.mjs +0 -135
  214. package/esm2020/window/WindowBase.mjs +0 -177
  215. package/esm2020/window/WindowClosedError.mjs +0 -19
  216. package/esm2020/window/WindowConfig.mjs +0 -197
  217. package/fesm2015/ts-core-angular.mjs +0 -7015
  218. package/fesm2015/ts-core-angular.mjs.map +0 -1
  219. package/fesm2020/ts-core-angular.mjs.map +0 -1
  220. package/form/FormElementAsync.d.ts +0 -13
  221. package/form/FormElementSync.d.ts +0 -22
  222. package/form/ValueAccessor.d.ts +0 -16
  223. package/form/validate.d.ts +0 -9
  224. /package/{esm2020 → esm2022}/ApplicationInjector.mjs +0 -0
  225. /package/{esm2020 → esm2022}/bottomSheet/BottomSheetService.mjs +0 -0
  226. /package/{esm2020 → esm2022}/list/IListItem.mjs +0 -0
  227. /package/{esm2020 → esm2022}/list/select/ISelectListItem.mjs +0 -0
  228. /package/{esm2020 → esm2022}/notification/INotificationConfig.mjs +0 -0
  229. /package/{esm2020 → esm2022}/notification/NotificationService.mjs +0 -0
  230. /package/{esm2020 → esm2022}/notification/NotificationServiceEvent.mjs +0 -0
  231. /package/{esm2020 → esm2022}/question/IQuestion.mjs +0 -0
  232. /package/{esm2020 → esm2022}/service/route/CanDeactivateGuard.mjs +0 -0
  233. /package/{esm2020 → esm2022}/service/route/IRouterDeactivatable.mjs +0 -0
  234. /package/{esm2020 → esm2022}/storage/BooleanValueStorage.mjs +0 -0
  235. /package/{esm2020 → esm2022}/storage/IValueStorage.mjs +0 -0
  236. /package/{esm2020 → esm2022}/ts-core-angular.mjs +0 -0
  237. /package/{esm2020 → esm2022}/window/IWindowConfig.mjs +0 -0
  238. /package/{esm2020 → esm2022}/window/WindowService.mjs +0 -0
  239. /package/{esm2020 → esm2022}/window/WindowServiceEvent.mjs +0 -0
@@ -4,18 +4,27 @@ import { DestroyableContainer, PromiseHandler, LoadableEvent, ExtendedError, Des
4
4
  import * as _ from 'lodash';
5
5
  import * as i1 from '@ts-core/frontend';
6
6
  import { Assets, AssetUrlProvider, NativeWindowService, LanguageService, ThemeService, ThemeAssetService, LoadingService, ICookieOptions, DefaultLogger } from '@ts-core/frontend';
7
- import { takeUntil, BehaviorSubject, distinctUntilChanged, debounceTime, fromEvent, of, map, filter, Subject } from 'rxjs';
7
+ import { takeUntil, BehaviorSubject, distinctUntilChanged, debounceTime, fromEvent, filter, map, Subject } from 'rxjs';
8
8
  import moment from 'moment';
9
9
  import numeral from 'numeral';
10
10
  import { CommonModule, isPlatformServer, isPlatformBrowser, DatePipe, DOCUMENT } from '@angular/common';
11
11
  import * as Cookie from 'ngx-cookie';
12
+ import { CookieWriterService } from 'ngx-cookie';
12
13
  import * as interact from 'interactjs';
13
- import { Validators } from '@angular/forms';
14
14
  import * as i1$1 from '@angular/router';
15
15
  import { NavigationStart, NavigationEnd, NavigationCancel, NavigationError } from '@angular/router';
16
16
  import * as i1$2 from '@angular/platform-browser';
17
17
 
18
18
  class ApplicationBaseComponent extends DestroyableContainer {
19
+ // --------------------------------------------------------------------------
20
+ //
21
+ // Properties
22
+ //
23
+ // --------------------------------------------------------------------------
24
+ timeout;
25
+ isReadyAlreadyCalled;
26
+ viewReadyDelay = NaN;
27
+ viewReadyPromise;
19
28
  // --------------------------------------------------------------------------
20
29
  //
21
30
  // Constructor
@@ -23,21 +32,20 @@ class ApplicationBaseComponent extends DestroyableContainer {
23
32
  // --------------------------------------------------------------------------
24
33
  constructor() {
25
34
  super();
26
- this.viewReadyDelay = NaN;
27
- // --------------------------------------------------------------------------
28
- //
29
- // Private Methods
30
- //
31
- // --------------------------------------------------------------------------
32
- this.makeViewReady = () => {
33
- this.viewReadyPromise.resolve();
34
- this.viewReadyHandler();
35
- this.checkReady();
36
- };
37
35
  this.viewReadyPromise = PromiseHandler.create();
38
36
  }
39
37
  // --------------------------------------------------------------------------
40
38
  //
39
+ // Private Methods
40
+ //
41
+ // --------------------------------------------------------------------------
42
+ makeViewReady = () => {
43
+ this.viewReadyPromise.resolve();
44
+ this.viewReadyHandler();
45
+ this.checkReady();
46
+ };
47
+ // --------------------------------------------------------------------------
48
+ //
41
49
  // Protected Methods
42
50
  //
43
51
  // --------------------------------------------------------------------------
@@ -90,15 +98,21 @@ class ApplicationBaseComponent extends DestroyableContainer {
90
98
  get viewReady() {
91
99
  return !_.isNil(this.viewReadyPromise) ? this.viewReadyPromise.promise : null;
92
100
  }
101
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ApplicationBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
102
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: ApplicationBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
93
103
  }
94
- ApplicationBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApplicationBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
95
- ApplicationBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ApplicationBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApplicationBaseComponent, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ApplicationBaseComponent, decorators: [{
97
105
  type: Component,
98
106
  args: [{ template: '' }]
99
- }], ctorParameters: function () { return []; } });
107
+ }], ctorParameters: () => [] });
100
108
 
101
109
  class ApplicationComponent extends ApplicationBaseComponent {
110
+ // --------------------------------------------------------------------------
111
+ //
112
+ // Properties
113
+ //
114
+ // --------------------------------------------------------------------------
115
+ isLanguageLoaded;
102
116
  // --------------------------------------------------------------------------
103
117
  //
104
118
  // Private Methods
@@ -151,6 +165,15 @@ class ApplicationComponent extends ApplicationBaseComponent {
151
165
  }
152
166
 
153
167
  class MessageBaseComponent extends DestroyableContainer {
168
+ route;
169
+ language;
170
+ // --------------------------------------------------------------------------
171
+ //
172
+ // Properties
173
+ //
174
+ // --------------------------------------------------------------------------
175
+ text;
176
+ refreshText = 'Refresh';
154
177
  // --------------------------------------------------------------------------
155
178
  //
156
179
  // Constructor
@@ -160,7 +183,6 @@ class MessageBaseComponent extends DestroyableContainer {
160
183
  super();
161
184
  this.route = route;
162
185
  this.language = language;
163
- this.refreshText = 'Refresh';
164
186
  // this.login.isAutoLogin = true
165
187
  this.text = this.getText();
166
188
  if (this.language.isLoaded) {
@@ -208,6 +230,13 @@ const APPLICATION_INJECTOR = (value) => {
208
230
  };
209
231
 
210
232
  class ViewUtil {
233
+ // --------------------------------------------------------------------------
234
+ //
235
+ // Constants
236
+ //
237
+ // --------------------------------------------------------------------------
238
+ static _renderer = null;
239
+ static _document = null;
211
240
  static get renderer() {
212
241
  if (_.isNil(ViewUtil._renderer)) {
213
242
  throw new ExtendedError(`ViewUtil is not initialized: renderer in nil`);
@@ -785,15 +814,20 @@ class ViewUtil {
785
814
  ViewUtil.removeChild(object.parentNode, object);
786
815
  }
787
816
  }
788
- // --------------------------------------------------------------------------
789
- //
790
- // Constants
791
- //
792
- // --------------------------------------------------------------------------
793
- ViewUtil._renderer = null;
794
- ViewUtil._document = null;
795
817
 
796
818
  class AssetBackgroundDirective extends Destroyable {
819
+ element;
820
+ // --------------------------------------------------------------------------
821
+ //
822
+ // Properties
823
+ //
824
+ // --------------------------------------------------------------------------
825
+ _isUrl = false;
826
+ _isIcon = false;
827
+ _isImage = false;
828
+ _repeat = 'repeat';
829
+ _extension = 'png';
830
+ _background;
797
831
  // --------------------------------------------------------------------------
798
832
  //
799
833
  // Constructor
@@ -802,16 +836,6 @@ class AssetBackgroundDirective extends Destroyable {
802
836
  constructor(element) {
803
837
  super();
804
838
  this.element = element;
805
- // --------------------------------------------------------------------------
806
- //
807
- // Properties
808
- //
809
- // --------------------------------------------------------------------------
810
- this._isUrl = false;
811
- this._isIcon = false;
812
- this._isImage = false;
813
- this._repeat = 'repeat';
814
- this._extension = 'png';
815
839
  }
816
840
  // --------------------------------------------------------------------------
817
841
  //
@@ -914,15 +938,15 @@ class AssetBackgroundDirective extends Destroyable {
914
938
  get background() {
915
939
  return this._background;
916
940
  }
941
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetBackgroundDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
942
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: AssetBackgroundDirective, selector: "[vi-asset-background]", inputs: { isIcon: "isIcon", isImage: "isImage", isUrl: "isUrl", repeat: "repeat", extension: "extension", background: ["vi-asset-background", "background"] }, usesInheritance: true, ngImport: i0 });
917
943
  }
918
- AssetBackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetBackgroundDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
919
- AssetBackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AssetBackgroundDirective, selector: "[vi-asset-background]", inputs: { isIcon: "isIcon", isImage: "isImage", isUrl: "isUrl", repeat: "repeat", extension: "extension", background: ["vi-asset-background", "background"] }, usesInheritance: true, ngImport: i0 });
920
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetBackgroundDirective, decorators: [{
944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetBackgroundDirective, decorators: [{
921
945
  type: Directive,
922
946
  args: [{
923
947
  selector: '[vi-asset-background]'
924
948
  }]
925
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { isIcon: [{
949
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { isIcon: [{
926
950
  type: Input
927
951
  }], isImage: [{
928
952
  type: Input
@@ -946,10 +970,10 @@ class AssetBackgroundPipe {
946
970
  transform(name, extension = 'png') {
947
971
  return Assets.getBackground(name, extension);
948
972
  }
973
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetBackgroundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
974
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: AssetBackgroundPipe, name: "viAssetBackground" });
949
975
  }
950
- AssetBackgroundPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetBackgroundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
951
- AssetBackgroundPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AssetBackgroundPipe, name: "viAssetBackground" });
952
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetBackgroundPipe, decorators: [{
976
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetBackgroundPipe, decorators: [{
953
977
  type: Pipe,
954
978
  args: [{
955
979
  name: 'viAssetBackground'
@@ -965,10 +989,10 @@ class AssetIconPipe {
965
989
  transform(name, extension = 'png') {
966
990
  return Assets.getIcon(name, extension);
967
991
  }
992
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
993
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: AssetIconPipe, name: "viAssetIcon" });
968
994
  }
969
- AssetIconPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetIconPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
970
- AssetIconPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AssetIconPipe, name: "viAssetIcon" });
971
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetIconPipe, decorators: [{
995
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetIconPipe, decorators: [{
972
996
  type: Pipe,
973
997
  args: [{
974
998
  name: 'viAssetIcon'
@@ -984,10 +1008,10 @@ class AssetFilePipe {
984
1008
  transform(name, extension) {
985
1009
  return Assets.getFile(name, extension);
986
1010
  }
1011
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetFilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1012
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: AssetFilePipe, name: "viAssetFile" });
987
1013
  }
988
- AssetFilePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
989
- AssetFilePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AssetFilePipe, name: "viAssetFile" });
990
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetFilePipe, decorators: [{
1014
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetFilePipe, decorators: [{
991
1015
  type: Pipe,
992
1016
  args: [{
993
1017
  name: 'viAssetFile'
@@ -1003,10 +1027,10 @@ class AssetVideoPipe {
1003
1027
  transform(name, extension = 'mp4') {
1004
1028
  return Assets.getVideo(name, extension);
1005
1029
  }
1030
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetVideoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1031
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: AssetVideoPipe, name: "viAssetVideo" });
1006
1032
  }
1007
- AssetVideoPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetVideoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1008
- AssetVideoPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AssetVideoPipe, name: "viAssetVideo" });
1009
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetVideoPipe, decorators: [{
1033
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetVideoPipe, decorators: [{
1010
1034
  type: Pipe,
1011
1035
  args: [{
1012
1036
  name: 'viAssetVideo'
@@ -1022,10 +1046,10 @@ class AssetSoundPipe {
1022
1046
  transform(name, extension = 'mp3') {
1023
1047
  return Assets.getSound(name, extension);
1024
1048
  }
1049
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetSoundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1050
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: AssetSoundPipe, name: "viAssetSound" });
1025
1051
  }
1026
- AssetSoundPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetSoundPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1027
- AssetSoundPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AssetSoundPipe, name: "viAssetSound" });
1028
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetSoundPipe, decorators: [{
1052
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetSoundPipe, decorators: [{
1029
1053
  type: Pipe,
1030
1054
  args: [{
1031
1055
  name: 'viAssetSound'
@@ -1041,10 +1065,10 @@ class AssetImagePipe {
1041
1065
  transform(name, extension = 'png') {
1042
1066
  return Assets.getImage(name, extension);
1043
1067
  }
1068
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetImagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1069
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: AssetImagePipe, name: "viAssetImage" });
1044
1070
  }
1045
- AssetImagePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetImagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1046
- AssetImagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AssetImagePipe, name: "viAssetImage" });
1047
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetImagePipe, decorators: [{
1071
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetImagePipe, decorators: [{
1048
1072
  type: Pipe,
1049
1073
  args: [{
1050
1074
  name: 'viAssetImage'
@@ -1053,11 +1077,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1053
1077
 
1054
1078
  let declarations$3 = [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective];
1055
1079
  class AssetModule {
1080
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1081
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: AssetModule, declarations: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective], imports: [CommonModule], exports: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective] });
1082
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetModule, imports: [CommonModule] });
1056
1083
  }
1057
- AssetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1058
- AssetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AssetModule, declarations: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective], imports: [CommonModule], exports: [AssetImagePipe, AssetIconPipe, AssetFilePipe, AssetSoundPipe, AssetVideoPipe, AssetBackgroundPipe, AssetBackgroundDirective] });
1059
- AssetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetModule, imports: [CommonModule] });
1060
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AssetModule, decorators: [{
1084
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AssetModule, decorators: [{
1061
1085
  type: NgModule,
1062
1086
  args: [{
1063
1087
  imports: [CommonModule],
@@ -1072,17 +1096,16 @@ class CookieService extends Cookie.CookieService {
1072
1096
  // Constructor
1073
1097
  //
1074
1098
  // --------------------------------------------------------------------------
1075
- constructor(options, platform, item) {
1076
- super({ options });
1077
- this._document = !_.isNil(item) ? item : document;
1099
+ constructor(options, platform, document) {
1100
+ super(document, { options }, new CookieWriterService(document));
1078
1101
  let cookieString = '';
1079
1102
  Object.defineProperty(this, 'cookieString', {
1080
1103
  get: () => {
1081
- return platform.isPlatformBrowser ? this.document.cookie : cookieString;
1104
+ return platform.isPlatformBrowser ? document.cookie : cookieString;
1082
1105
  },
1083
1106
  set: (value) => {
1084
1107
  if (platform.isPlatformBrowser) {
1085
- this.document.cookie = value;
1108
+ document.cookie = value;
1086
1109
  }
1087
1110
  else {
1088
1111
  cookieString = value;
@@ -1133,17 +1156,16 @@ class CookieService extends Cookie.CookieService {
1133
1156
  this.remove(key);
1134
1157
  }
1135
1158
  }
1159
+ }
1160
+
1161
+ class PlatformService extends DestroyableContainer {
1136
1162
  // --------------------------------------------------------------------------
1137
1163
  //
1138
- // Private Properties
1164
+ // Constants
1139
1165
  //
1140
1166
  // --------------------------------------------------------------------------
1141
- get document() {
1142
- return this._document;
1143
- }
1144
- }
1145
-
1146
- class PlatformService extends DestroyableContainer {
1167
+ _isPlatformServer;
1168
+ _isPlatformBrowser;
1147
1169
  // --------------------------------------------------------------------------
1148
1170
  //
1149
1171
  // Constructor
@@ -1165,16 +1187,16 @@ class PlatformService extends DestroyableContainer {
1165
1187
  get isPlatformBrowser() {
1166
1188
  return this._isPlatformBrowser;
1167
1189
  }
1190
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PlatformService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1191
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PlatformService, providedIn: 'root' });
1168
1192
  }
1169
- PlatformService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlatformService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1170
- PlatformService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlatformService, providedIn: 'root' });
1171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlatformService, decorators: [{
1193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PlatformService, decorators: [{
1172
1194
  type: Injectable,
1173
1195
  args: [{ providedIn: 'root' }]
1174
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1196
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
1175
1197
  type: Inject,
1176
1198
  args: [PLATFORM_ID]
1177
- }] }]; } });
1199
+ }] }] });
1178
1200
 
1179
1201
  class CookieModule {
1180
1202
  // --------------------------------------------------------------------------
@@ -1198,11 +1220,11 @@ class CookieModule {
1198
1220
  ]
1199
1221
  };
1200
1222
  }
1223
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: CookieModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1224
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: CookieModule });
1225
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: CookieModule });
1201
1226
  }
1202
- CookieModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CookieModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1203
- CookieModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CookieModule });
1204
- CookieModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CookieModule });
1205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CookieModule, decorators: [{
1227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: CookieModule, decorators: [{
1206
1228
  type: NgModule
1207
1229
  }] });
1208
1230
  function cookieServiceFactory(nativeWindow, platform, options) {
@@ -1218,9 +1240,35 @@ function cookieServiceFactory(nativeWindow, platform, options) {
1218
1240
  const COOKIE_OPTIONS = new InjectionToken(`COOKIE_OPTIONS`);
1219
1241
 
1220
1242
  class CookieOptions {
1243
+ path;
1244
+ domain;
1245
+ expires;
1246
+ secure;
1247
+ httpOnly;
1248
+ storeUnencoded;
1221
1249
  }
1222
1250
 
1223
1251
  class ResizeManager {
1252
+ // --------------------------------------------------------------------------
1253
+ //
1254
+ // Static Methods
1255
+ //
1256
+ // --------------------------------------------------------------------------
1257
+ static isSizeValid(item) {
1258
+ if (_.isNil(item) || item.width <= 0 || item.height <= 0) {
1259
+ return false;
1260
+ }
1261
+ return true;
1262
+ }
1263
+ // --------------------------------------------------------------------------
1264
+ //
1265
+ // Properties
1266
+ //
1267
+ // --------------------------------------------------------------------------
1268
+ size;
1269
+ sensor;
1270
+ subject;
1271
+ element;
1224
1272
  // protected sensor: ResizeSensor;
1225
1273
  // --------------------------------------------------------------------------
1226
1274
  //
@@ -1228,26 +1276,6 @@ class ResizeManager {
1228
1276
  //
1229
1277
  // --------------------------------------------------------------------------
1230
1278
  constructor(element) {
1231
- // --------------------------------------------------------------------------
1232
- //
1233
- // Event Handlers
1234
- //
1235
- // --------------------------------------------------------------------------
1236
- this.handlerItem = (item) => {
1237
- if (!ResizeManager.isSizeValid(item)) {
1238
- return;
1239
- }
1240
- if (!_.isNil(this.size) && item.width === this.size.width && item.height === this.size.height) {
1241
- return;
1242
- }
1243
- this.size = item;
1244
- this.subject.next(item);
1245
- };
1246
- this.handler2 = (items) => {
1247
- if (!_.isEmpty(items)) {
1248
- this.handlerItem(items[0].contentRect);
1249
- }
1250
- };
1251
1279
  this.element = ViewUtil.parseElement(element);
1252
1280
  this.subject = new BehaviorSubject({ width: ViewUtil.getWidth(this.element), height: ViewUtil.getHeight(this.element) });
1253
1281
  // Could be undefined in ssr
@@ -1259,15 +1287,24 @@ class ResizeManager {
1259
1287
  }
1260
1288
  // --------------------------------------------------------------------------
1261
1289
  //
1262
- // Static Methods
1290
+ // Event Handlers
1263
1291
  //
1264
1292
  // --------------------------------------------------------------------------
1265
- static isSizeValid(item) {
1266
- if (_.isNil(item) || item.width <= 0 || item.height <= 0) {
1267
- return false;
1293
+ handlerItem = (item) => {
1294
+ if (!ResizeManager.isSizeValid(item)) {
1295
+ return;
1268
1296
  }
1269
- return true;
1270
- }
1297
+ if (!_.isNil(this.size) && item.width === this.size.width && item.height === this.size.height) {
1298
+ return;
1299
+ }
1300
+ this.size = item;
1301
+ this.subject.next(item);
1302
+ };
1303
+ handler2 = (items) => {
1304
+ if (!_.isEmpty(items)) {
1305
+ this.handlerItem(items[0].contentRect);
1306
+ }
1307
+ };
1271
1308
  // --------------------------------------------------------------------------
1272
1309
  //
1273
1310
  // Public Properties
@@ -1299,6 +1336,21 @@ class ResizeManager {
1299
1336
  }
1300
1337
 
1301
1338
  class AspectRatioResizeDirective extends DestroyableContainer {
1339
+ // --------------------------------------------------------------------------
1340
+ //
1341
+ // Static Properties
1342
+ //
1343
+ // --------------------------------------------------------------------------
1344
+ static UPDATE_DELAY = 100;
1345
+ // --------------------------------------------------------------------------
1346
+ //
1347
+ // Properties
1348
+ //
1349
+ // --------------------------------------------------------------------------
1350
+ _ratio = NaN;
1351
+ _direction;
1352
+ sensor;
1353
+ element;
1302
1354
  // --------------------------------------------------------------------------
1303
1355
  //
1304
1356
  // Constructor
@@ -1306,31 +1358,25 @@ class AspectRatioResizeDirective extends DestroyableContainer {
1306
1358
  // --------------------------------------------------------------------------
1307
1359
  constructor(element) {
1308
1360
  super();
1309
- // --------------------------------------------------------------------------
1310
- //
1311
- // Properties
1312
- //
1313
- // --------------------------------------------------------------------------
1314
- this._ratio = NaN;
1315
- // --------------------------------------------------------------------------
1316
- //
1317
- // Private Methods
1318
- //
1319
- // --------------------------------------------------------------------------
1320
- this.commitResizeProperties = () => {
1321
- switch (this.direction) {
1322
- case Direction.HORIZONTAL:
1323
- this.width = this.height / this.ratio;
1324
- break;
1325
- case Direction.VERTICAL:
1326
- this.height = this.width * this.ratio;
1327
- break;
1328
- }
1329
- };
1330
1361
  this.element = ViewUtil.parseElement(element.nativeElement);
1331
1362
  }
1332
1363
  // --------------------------------------------------------------------------
1333
1364
  //
1365
+ // Private Methods
1366
+ //
1367
+ // --------------------------------------------------------------------------
1368
+ commitResizeProperties = () => {
1369
+ switch (this.direction) {
1370
+ case Direction.HORIZONTAL:
1371
+ this.width = this.height / this.ratio;
1372
+ break;
1373
+ case Direction.VERTICAL:
1374
+ this.height = this.width * this.ratio;
1375
+ break;
1376
+ }
1377
+ };
1378
+ // --------------------------------------------------------------------------
1379
+ //
1334
1380
  // Public Methods
1335
1381
  //
1336
1382
  // --------------------------------------------------------------------------
@@ -1396,21 +1442,15 @@ class AspectRatioResizeDirective extends DestroyableContainer {
1396
1442
  get ratio() {
1397
1443
  return this._ratio;
1398
1444
  }
1445
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AspectRatioResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1446
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: AspectRatioResizeDirective, selector: "[vi-aspect-ratio]", inputs: { direction: ["vi-aspect-ratio", "direction"], ratio: "ratio" }, usesInheritance: true, ngImport: i0 });
1399
1447
  }
1400
- // --------------------------------------------------------------------------
1401
- //
1402
- // Static Properties
1403
- //
1404
- // --------------------------------------------------------------------------
1405
- AspectRatioResizeDirective.UPDATE_DELAY = 100;
1406
- AspectRatioResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AspectRatioResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1407
- AspectRatioResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AspectRatioResizeDirective, selector: "[vi-aspect-ratio]", inputs: { direction: ["vi-aspect-ratio", "direction"], ratio: "ratio" }, usesInheritance: true, ngImport: i0 });
1408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AspectRatioResizeDirective, decorators: [{
1448
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AspectRatioResizeDirective, decorators: [{
1409
1449
  type: Directive,
1410
1450
  args: [{
1411
1451
  selector: '[vi-aspect-ratio]'
1412
1452
  }]
1413
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { direction: [{
1453
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { direction: [{
1414
1454
  type: Input,
1415
1455
  args: ['vi-aspect-ratio']
1416
1456
  }], ratio: [{
@@ -1423,6 +1463,22 @@ var Direction;
1423
1463
  })(Direction || (Direction = {}));
1424
1464
 
1425
1465
  class ScrollDirective extends Destroyable {
1466
+ // --------------------------------------------------------------------------
1467
+ //
1468
+ // Static Properties
1469
+ //
1470
+ // --------------------------------------------------------------------------
1471
+ static INITIALIZATION_DELAY = 1;
1472
+ // --------------------------------------------------------------------------
1473
+ //
1474
+ // Properties
1475
+ //
1476
+ // --------------------------------------------------------------------------
1477
+ scrolled = new EventEmitter();
1478
+ timer;
1479
+ element;
1480
+ isInitialized = false;
1481
+ _scrollValue = 0;
1426
1482
  // --------------------------------------------------------------------------
1427
1483
  //
1428
1484
  // Constructor
@@ -1430,15 +1486,6 @@ class ScrollDirective extends Destroyable {
1430
1486
  // --------------------------------------------------------------------------
1431
1487
  constructor(element) {
1432
1488
  super();
1433
- // --------------------------------------------------------------------------
1434
- //
1435
- // Properties
1436
- //
1437
- // --------------------------------------------------------------------------
1438
- this.scrolled = new EventEmitter();
1439
- this.isInitialized = false;
1440
- this._scrollValue = 0;
1441
- this.initializeHandler = () => this.initialize();
1442
1489
  this.element = ViewUtil.parseElement(element);
1443
1490
  this.timer = setTimeout(this.initializeHandler, ScrollDirective.INITIALIZATION_DELAY);
1444
1491
  }
@@ -1471,6 +1518,7 @@ class ScrollDirective extends Destroyable {
1471
1518
  this._scrollValue = this.scrollTop;
1472
1519
  this.scrolled.next(this._scrollValue);
1473
1520
  }
1521
+ initializeHandler = () => this.initialize();
1474
1522
  // --------------------------------------------------------------------------
1475
1523
  //
1476
1524
  // Private Properties
@@ -1512,21 +1560,15 @@ class ScrollDirective extends Destroyable {
1512
1560
  get scrollValue() {
1513
1561
  return this._scrollValue;
1514
1562
  }
1563
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1564
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ScrollDirective, selector: "[vi-scroll]", inputs: { scrollValue: "scrollValue" }, outputs: { scrolled: "scrolled" }, host: { listeners: { "scroll": "scrollHandler()" } }, usesInheritance: true, ngImport: i0 });
1515
1565
  }
1516
- // --------------------------------------------------------------------------
1517
- //
1518
- // Static Properties
1519
- //
1520
- // --------------------------------------------------------------------------
1521
- ScrollDirective.INITIALIZATION_DELAY = 1;
1522
- ScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1523
- ScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ScrollDirective, selector: "[vi-scroll]", inputs: { scrollValue: "scrollValue" }, outputs: { scrolled: "scrolled" }, host: { listeners: { "scroll": "scrollHandler()" } }, usesInheritance: true, ngImport: i0 });
1524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollDirective, decorators: [{
1566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScrollDirective, decorators: [{
1525
1567
  type: Directive,
1526
1568
  args: [{
1527
1569
  selector: '[vi-scroll]'
1528
1570
  }]
1529
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { scrolled: [{
1571
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { scrolled: [{
1530
1572
  type: Output
1531
1573
  }], scrollHandler: [{
1532
1574
  type: HostListener,
@@ -1536,17 +1578,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1536
1578
  }] } });
1537
1579
 
1538
1580
  class InfiniteScrollDirective extends ScrollDirective {
1539
- constructor() {
1540
- super(...arguments);
1541
- // --------------------------------------------------------------------------
1542
- //
1543
- // Properties
1544
- //
1545
- // --------------------------------------------------------------------------
1546
- this.top = new EventEmitter();
1547
- this.bottom = new EventEmitter();
1548
- this.elementHeight = 50;
1549
- }
1581
+ // --------------------------------------------------------------------------
1582
+ //
1583
+ // Properties
1584
+ //
1585
+ // --------------------------------------------------------------------------
1586
+ top = new EventEmitter();
1587
+ bottom = new EventEmitter();
1588
+ elementHeight = 50;
1550
1589
  // --------------------------------------------------------------------------
1551
1590
  //
1552
1591
  // Event Handlers
@@ -1590,10 +1629,10 @@ class InfiniteScrollDirective extends ScrollDirective {
1590
1629
  get scrollHeight() {
1591
1630
  return this.element.scrollHeight;
1592
1631
  }
1632
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: InfiniteScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1633
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: InfiniteScrollDirective, selector: "[vi-infinite-scroll]", inputs: { elementHeight: "elementHeight" }, outputs: { top: "top", bottom: "bottom" }, usesInheritance: true, ngImport: i0 });
1593
1634
  }
1594
- InfiniteScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InfiniteScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1595
- InfiniteScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: InfiniteScrollDirective, selector: "[vi-infinite-scroll]", inputs: { elementHeight: "elementHeight" }, outputs: { top: "top", bottom: "bottom" }, usesInheritance: true, ngImport: i0 });
1596
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InfiniteScrollDirective, decorators: [{
1635
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: InfiniteScrollDirective, decorators: [{
1597
1636
  type: Directive,
1598
1637
  args: [{
1599
1638
  selector: '[vi-infinite-scroll]'
@@ -1607,33 +1646,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1607
1646
  }] } });
1608
1647
 
1609
1648
  class AutoScrollBottomDirective extends InfiniteScrollDirective {
1610
- constructor() {
1611
- super(...arguments);
1612
- // --------------------------------------------------------------------------
1613
- //
1614
- // Properties
1615
- //
1616
- // --------------------------------------------------------------------------
1617
- this.behavior = 'auto';
1618
- this.triggerChanged = new EventEmitter();
1619
- this.triggerDelta = 0;
1620
- this.isScrollLocked = false;
1621
- this.isNeedScroll = true;
1622
- this.isNeedRemainScroll = false;
1623
- this.checkTrigger = () => {
1624
- this.isScrollLocked = false;
1625
- if (this.isNeedScroll) {
1626
- this.scrollBottom();
1627
- }
1628
- else if (this.isNeedRemainScroll) {
1629
- this.scrollRemain();
1630
- }
1631
- else if (this.triggerDelta > 0) {
1632
- this.triggerChanged.emit(this.triggerDelta);
1633
- this.triggerDelta = 0;
1634
- }
1635
- };
1636
- }
1649
+ // --------------------------------------------------------------------------
1650
+ //
1651
+ // Properties
1652
+ //
1653
+ // --------------------------------------------------------------------------
1654
+ behavior = 'auto';
1655
+ triggerChanged = new EventEmitter();
1656
+ _trigger;
1657
+ triggerTimer;
1658
+ triggerDelta = 0;
1659
+ isScrollLocked = false;
1660
+ lastScrollHeight;
1661
+ isNeedScroll = true;
1662
+ isNeedRemainScroll = false;
1637
1663
  // --------------------------------------------------------------------------
1638
1664
  //
1639
1665
  // Protected Methods
@@ -1645,6 +1671,19 @@ class AutoScrollBottomDirective extends InfiniteScrollDirective {
1645
1671
  }
1646
1672
  super.initialize();
1647
1673
  }
1674
+ checkTrigger = () => {
1675
+ this.isScrollLocked = false;
1676
+ if (this.isNeedScroll) {
1677
+ this.scrollBottom();
1678
+ }
1679
+ else if (this.isNeedRemainScroll) {
1680
+ this.scrollRemain();
1681
+ }
1682
+ else if (this.triggerDelta > 0) {
1683
+ this.triggerChanged.emit(this.triggerDelta);
1684
+ this.triggerDelta = 0;
1685
+ }
1686
+ };
1648
1687
  scrollRemain() {
1649
1688
  this.isNeedRemainScroll = false;
1650
1689
  this.scrollTo(this.scrollHeight - this.lastScrollHeight);
@@ -1707,10 +1746,10 @@ class AutoScrollBottomDirective extends InfiniteScrollDirective {
1707
1746
  this.isScrollLocked = true;
1708
1747
  this.scrollCheck();
1709
1748
  }
1749
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AutoScrollBottomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1750
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: AutoScrollBottomDirective, selector: "[vi-auto-scroll-bottom]", inputs: { behavior: "behavior", trigger: ["vi-auto-scroll-bottom", "trigger"] }, outputs: { triggerChanged: "triggerChanged" }, usesInheritance: true, ngImport: i0 });
1710
1751
  }
1711
- AutoScrollBottomDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoScrollBottomDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1712
- AutoScrollBottomDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: AutoScrollBottomDirective, selector: "[vi-auto-scroll-bottom]", inputs: { behavior: "behavior", trigger: ["vi-auto-scroll-bottom", "trigger"] }, outputs: { triggerChanged: "triggerChanged" }, usesInheritance: true, ngImport: i0 });
1713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AutoScrollBottomDirective, decorators: [{
1752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: AutoScrollBottomDirective, decorators: [{
1714
1753
  type: Directive,
1715
1754
  args: [{
1716
1755
  selector: '[vi-auto-scroll-bottom]'
@@ -1725,10 +1764,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1725
1764
  }] } });
1726
1765
 
1727
1766
  class ClickToCopyDirective extends Destroyable {
1728
- constructor() {
1729
- super(...arguments);
1730
- this.selectionRemove = () => ViewUtil.selectContent(null);
1731
- }
1767
+ // --------------------------------------------------------------------------
1768
+ //
1769
+ // Properties
1770
+ //
1771
+ // --------------------------------------------------------------------------
1772
+ element;
1773
+ selectionClearTimer;
1732
1774
  // --------------------------------------------------------------------------
1733
1775
  //
1734
1776
  // Event Handlers
@@ -1739,6 +1781,7 @@ class ClickToCopyDirective extends Destroyable {
1739
1781
  clearTimeout(this.selectionClearTimer);
1740
1782
  this.selectionClearTimer = setTimeout(this.selectionRemove, DateUtil.MILLISECONDS_SECOND / 2);
1741
1783
  }
1784
+ selectionRemove = () => ViewUtil.selectContent(null);
1742
1785
  // --------------------------------------------------------------------------
1743
1786
  //
1744
1787
  // Public Methods
@@ -1752,10 +1795,10 @@ class ClickToCopyDirective extends Destroyable {
1752
1795
  this.element = null;
1753
1796
  clearTimeout(this.selectionClearTimer);
1754
1797
  }
1798
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ClickToCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1799
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ClickToCopyDirective, selector: "[vi-click-to-copy]", inputs: { element: ["vi-click-to-copy", "element"] }, host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
1755
1800
  }
1756
- ClickToCopyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ClickToCopyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1757
- ClickToCopyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ClickToCopyDirective, selector: "[vi-click-to-copy]", inputs: { element: ["vi-click-to-copy", "element"] }, host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
1758
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ClickToCopyDirective, decorators: [{
1801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ClickToCopyDirective, decorators: [{
1759
1802
  type: Directive,
1760
1803
  args: [{
1761
1804
  selector: '[vi-click-to-copy]'
@@ -1769,6 +1812,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1769
1812
  }] } });
1770
1813
 
1771
1814
  class ClickToSelectDirective extends Destroyable {
1815
+ // --------------------------------------------------------------------------
1816
+ //
1817
+ // Properties
1818
+ //
1819
+ // --------------------------------------------------------------------------
1820
+ element;
1772
1821
  // --------------------------------------------------------------------------
1773
1822
  //
1774
1823
  // Constructor
@@ -1800,20 +1849,28 @@ class ClickToSelectDirective extends Destroyable {
1800
1849
  super.destroy();
1801
1850
  this.element = null;
1802
1851
  }
1852
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ClickToSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1853
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ClickToSelectDirective, selector: "[vi-click-to-select]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
1803
1854
  }
1804
- ClickToSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ClickToSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1805
- ClickToSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ClickToSelectDirective, selector: "[vi-click-to-select]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
1806
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ClickToSelectDirective, decorators: [{
1855
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ClickToSelectDirective, decorators: [{
1807
1856
  type: Directive,
1808
1857
  args: [{
1809
1858
  selector: '[vi-click-to-select]'
1810
1859
  }]
1811
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { clickHandler: [{
1860
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { clickHandler: [{
1812
1861
  type: HostListener,
1813
1862
  args: ['click', ['$event']]
1814
1863
  }] } });
1815
1864
 
1816
1865
  class FocusManager extends Destroyable {
1866
+ // --------------------------------------------------------------------------
1867
+ //
1868
+ // Properties
1869
+ //
1870
+ // --------------------------------------------------------------------------
1871
+ timer;
1872
+ delay;
1873
+ element;
1817
1874
  // --------------------------------------------------------------------------
1818
1875
  //
1819
1876
  // Constructor
@@ -1821,21 +1878,21 @@ class FocusManager extends Destroyable {
1821
1878
  // --------------------------------------------------------------------------
1822
1879
  constructor(element, delay = 100) {
1823
1880
  super();
1824
- // --------------------------------------------------------------------------
1825
- //
1826
- // Private Methods
1827
- //
1828
- // --------------------------------------------------------------------------
1829
- this.focusElement = () => {
1830
- if (!_.isNil(this.element)) {
1831
- ViewUtil.focusInput(this.element);
1832
- }
1833
- };
1834
1881
  this.delay = delay;
1835
1882
  this.element = ViewUtil.parseElement(element);
1836
1883
  }
1837
1884
  // --------------------------------------------------------------------------
1838
1885
  //
1886
+ // Private Methods
1887
+ //
1888
+ // --------------------------------------------------------------------------
1889
+ focusElement = () => {
1890
+ if (!_.isNil(this.element)) {
1891
+ ViewUtil.focusInput(this.element);
1892
+ }
1893
+ };
1894
+ // --------------------------------------------------------------------------
1895
+ //
1839
1896
  // Public Methods
1840
1897
  //
1841
1898
  // --------------------------------------------------------------------------
@@ -1857,6 +1914,12 @@ class FocusManager extends Destroyable {
1857
1914
  }
1858
1915
 
1859
1916
  class FocusDirective extends Destroyable {
1917
+ // --------------------------------------------------------------------------
1918
+ //
1919
+ // Properties
1920
+ //
1921
+ // --------------------------------------------------------------------------
1922
+ manager;
1860
1923
  // --------------------------------------------------------------------------
1861
1924
  //
1862
1925
  // Constructor
@@ -1864,16 +1927,16 @@ class FocusDirective extends Destroyable {
1864
1927
  // --------------------------------------------------------------------------
1865
1928
  constructor(element) {
1866
1929
  super();
1867
- // --------------------------------------------------------------------------
1868
- //
1869
- // Private Methods
1870
- //
1871
- // --------------------------------------------------------------------------
1872
- this.focus = () => this.manager.focus();
1873
1930
  this.manager = new FocusManager(element);
1874
1931
  }
1875
1932
  // --------------------------------------------------------------------------
1876
1933
  //
1934
+ // Private Methods
1935
+ //
1936
+ // --------------------------------------------------------------------------
1937
+ focus = () => this.manager.focus();
1938
+ // --------------------------------------------------------------------------
1939
+ //
1877
1940
  // Public Methods
1878
1941
  //
1879
1942
  // --------------------------------------------------------------------------
@@ -1893,20 +1956,21 @@ class FocusDirective extends Destroyable {
1893
1956
  set trigger(value) {
1894
1957
  this.focus();
1895
1958
  }
1959
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1960
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FocusDirective, selector: "[vi-focus]", inputs: { trigger: ["vi-focus", "trigger"] }, usesInheritance: true, ngImport: i0 });
1896
1961
  }
1897
- FocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1898
- FocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusDirective, selector: "[vi-focus]", inputs: { trigger: ["vi-focus", "trigger"] }, usesInheritance: true, ngImport: i0 });
1899
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusDirective, decorators: [{
1962
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FocusDirective, decorators: [{
1900
1963
  type: Directive,
1901
1964
  args: [{
1902
1965
  selector: '[vi-focus]'
1903
1966
  }]
1904
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { trigger: [{
1967
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { trigger: [{
1905
1968
  type: Input,
1906
1969
  args: ['vi-focus']
1907
1970
  }] } });
1908
1971
 
1909
1972
  class SelectOnFocusDirective extends Destroyable {
1973
+ element;
1910
1974
  // --------------------------------------------------------------------------
1911
1975
  //
1912
1976
  // Constructor
@@ -1936,20 +2000,31 @@ class SelectOnFocusDirective extends Destroyable {
1936
2000
  super.destroy();
1937
2001
  this.element = null;
1938
2002
  }
2003
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SelectOnFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2004
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: SelectOnFocusDirective, selector: "[vi-select-on-focus]", host: { listeners: { "focus": "focusHandler()" } }, usesInheritance: true, ngImport: i0 });
1939
2005
  }
1940
- SelectOnFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectOnFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1941
- SelectOnFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SelectOnFocusDirective, selector: "[vi-select-on-focus]", host: { listeners: { "focus": "focusHandler()" } }, usesInheritance: true, ngImport: i0 });
1942
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectOnFocusDirective, decorators: [{
2006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SelectOnFocusDirective, decorators: [{
1943
2007
  type: Directive,
1944
2008
  args: [{
1945
2009
  selector: '[vi-select-on-focus]'
1946
2010
  }]
1947
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { focusHandler: [{
2011
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { focusHandler: [{
1948
2012
  type: HostListener,
1949
2013
  args: ['focus']
1950
2014
  }] } });
1951
2015
 
1952
2016
  class ResizeDirective extends Destroyable {
2017
+ // --------------------------------------------------------------------------
2018
+ //
2019
+ // Properties
2020
+ //
2021
+ // --------------------------------------------------------------------------
2022
+ resized = new EventEmitter();
2023
+ isTop = false;
2024
+ isLeft = false;
2025
+ isRight = false;
2026
+ isBottom = false;
2027
+ interactable;
1953
2028
  // --------------------------------------------------------------------------
1954
2029
  //
1955
2030
  // Constructor
@@ -1957,26 +2032,6 @@ class ResizeDirective extends Destroyable {
1957
2032
  // --------------------------------------------------------------------------
1958
2033
  constructor(element) {
1959
2034
  super();
1960
- // --------------------------------------------------------------------------
1961
- //
1962
- // Properties
1963
- //
1964
- // --------------------------------------------------------------------------
1965
- this.resized = new EventEmitter();
1966
- this.isTop = false;
1967
- this.isLeft = false;
1968
- this.isRight = false;
1969
- this.isBottom = false;
1970
- // --------------------------------------------------------------------------
1971
- //
1972
- // Event Handlers
1973
- //
1974
- // --------------------------------------------------------------------------
1975
- this.resizeHandler = (event) => {
1976
- if (event.dx !== 0 || event.dy !== 0) {
1977
- this.resized.emit(event);
1978
- }
1979
- };
1980
2035
  this.interactable = interact.default(ViewUtil.parseElement(element));
1981
2036
  // this.interactable.styleCursor(false);
1982
2037
  let param = {};
@@ -1989,6 +2044,16 @@ class ResizeDirective extends Destroyable {
1989
2044
  }
1990
2045
  // --------------------------------------------------------------------------
1991
2046
  //
2047
+ // Event Handlers
2048
+ //
2049
+ // --------------------------------------------------------------------------
2050
+ resizeHandler = (event) => {
2051
+ if (event.dx !== 0 || event.dy !== 0) {
2052
+ this.resized.emit(event);
2053
+ }
2054
+ };
2055
+ // --------------------------------------------------------------------------
2056
+ //
1992
2057
  // Public Methods
1993
2058
  //
1994
2059
  // --------------------------------------------------------------------------
@@ -2002,15 +2067,15 @@ class ResizeDirective extends Destroyable {
2002
2067
  this.interactable = null;
2003
2068
  }
2004
2069
  }
2070
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2071
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ResizeDirective, selector: "[vi-resize]", inputs: { isTop: "isTop", isLeft: "isLeft", isRight: "isRight", isBottom: "isBottom" }, outputs: { resized: "resized" }, usesInheritance: true, ngImport: i0 });
2005
2072
  }
2006
- ResizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2007
- ResizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ResizeDirective, selector: "[vi-resize]", inputs: { isTop: "isTop", isLeft: "isLeft", isRight: "isRight", isBottom: "isBottom" }, outputs: { resized: "resized" }, usesInheritance: true, ngImport: i0 });
2008
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ResizeDirective, decorators: [{
2073
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ResizeDirective, decorators: [{
2009
2074
  type: Directive,
2010
2075
  args: [{
2011
2076
  selector: '[vi-resize]'
2012
2077
  }]
2013
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { resized: [{
2078
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { resized: [{
2014
2079
  type: Output
2015
2080
  }], isTop: [{
2016
2081
  type: Input
@@ -2023,6 +2088,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2023
2088
  }] } });
2024
2089
 
2025
2090
  class StructureDirective extends DestroyableContainer {
2091
+ template;
2092
+ container;
2093
+ //--------------------------------------------------------------------------
2094
+ //
2095
+ // Properties
2096
+ //
2097
+ //--------------------------------------------------------------------------
2098
+ view;
2099
+ _isNeedAdd;
2026
2100
  // --------------------------------------------------------------------------
2027
2101
  //
2028
2102
  // Constructor
@@ -2092,6 +2166,19 @@ class StructureDirective extends DestroyableContainer {
2092
2166
  }
2093
2167
 
2094
2168
  class ScrollCheckDirective extends DestroyableContainer {
2169
+ //--------------------------------------------------------------------------
2170
+ //
2171
+ // Properties
2172
+ //
2173
+ //--------------------------------------------------------------------------
2174
+ top = new EventEmitter();
2175
+ bottom = new EventEmitter();
2176
+ limitExceed = new EventEmitter();
2177
+ _scrollLimit;
2178
+ element;
2179
+ isExceedLimit = false;
2180
+ delay = DateUtil.MILLISECONDS_SECOND / 10;
2181
+ offset = 50;
2095
2182
  //--------------------------------------------------------------------------
2096
2183
  //
2097
2184
  // Constructor
@@ -2099,40 +2186,29 @@ class ScrollCheckDirective extends DestroyableContainer {
2099
2186
  //--------------------------------------------------------------------------
2100
2187
  constructor(element) {
2101
2188
  super();
2102
- //--------------------------------------------------------------------------
2103
- //
2104
- // Properties
2105
- //
2106
- //--------------------------------------------------------------------------
2107
- this.top = new EventEmitter();
2108
- this.bottom = new EventEmitter();
2109
- this.limitExceed = new EventEmitter();
2110
- this.isExceedLimit = false;
2111
- this.delay = DateUtil.MILLISECONDS_SECOND / 10;
2112
- this.offset = 50;
2113
- //--------------------------------------------------------------------------
2114
- //
2115
- // Protected Methods
2116
- //
2117
- //--------------------------------------------------------------------------
2118
- this.check = () => {
2119
- let value = this.scrollValue >= this.scrollLimit;
2120
- if (value !== this.isExceedLimit) {
2121
- this.isExceedLimit = value;
2122
- this.limitExceed.emit(value);
2123
- }
2124
- let offset = !_.isNaN(this.offset) ? this.offset : 0;
2125
- value = this.scrollValue + this.clientHeight + offset >= this.scrollHeight;
2126
- this.bottom.next(value);
2127
- value = this.scrollValue <= offset;
2128
- this.top.next(value);
2129
- };
2130
2189
  this.delay = DateUtil.MILLISECONDS_SECOND / 10;
2131
2190
  this.element = element.nativeElement;
2132
2191
  fromEvent(this.element, 'scroll').pipe(debounceTime(this.delay), takeUntil(this.destroyed)).subscribe(this.check);
2133
2192
  }
2134
2193
  //--------------------------------------------------------------------------
2135
2194
  //
2195
+ // Protected Methods
2196
+ //
2197
+ //--------------------------------------------------------------------------
2198
+ check = () => {
2199
+ let value = this.scrollValue >= this.scrollLimit;
2200
+ if (value !== this.isExceedLimit) {
2201
+ this.isExceedLimit = value;
2202
+ this.limitExceed.emit(value);
2203
+ }
2204
+ let offset = !_.isNaN(this.offset) ? this.offset : 0;
2205
+ value = this.scrollValue + this.clientHeight + offset >= this.scrollHeight;
2206
+ this.bottom.next(value);
2207
+ value = this.scrollValue <= offset;
2208
+ this.top.next(value);
2209
+ };
2210
+ //--------------------------------------------------------------------------
2211
+ //
2136
2212
  // Private Properties
2137
2213
  //
2138
2214
  //--------------------------------------------------------------------------
@@ -2165,15 +2241,15 @@ class ScrollCheckDirective extends DestroyableContainer {
2165
2241
  get scrollLimit() {
2166
2242
  return this._scrollLimit;
2167
2243
  }
2244
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScrollCheckDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2245
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ScrollCheckDirective, selector: "[vi-scroll-check]", inputs: { delay: "delay", offset: "offset", scrollLimit: ["vi-scroll-check", "scrollLimit"] }, outputs: { top: "top", bottom: "bottom", limitExceed: "limitExceed" }, usesInheritance: true, ngImport: i0 });
2168
2246
  }
2169
- ScrollCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollCheckDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2170
- ScrollCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ScrollCheckDirective, selector: "[vi-scroll-check]", inputs: { delay: "delay", offset: "offset", scrollLimit: ["vi-scroll-check", "scrollLimit"] }, outputs: { top: "top", bottom: "bottom", limitExceed: "limitExceed" }, usesInheritance: true, ngImport: i0 });
2171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollCheckDirective, decorators: [{
2247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ScrollCheckDirective, decorators: [{
2172
2248
  type: Directive,
2173
2249
  args: [{
2174
2250
  selector: '[vi-scroll-check]'
2175
2251
  }]
2176
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { top: [{
2252
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { top: [{
2177
2253
  type: Output
2178
2254
  }], bottom: [{
2179
2255
  type: Output
@@ -2189,6 +2265,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2189
2265
  }] } });
2190
2266
 
2191
2267
  class LanguagePipe extends DestroyableContainer {
2268
+ detection;
2269
+ language;
2270
+ // --------------------------------------------------------------------------
2271
+ //
2272
+ // Static Methods
2273
+ //
2274
+ // --------------------------------------------------------------------------
2275
+ static removeTags(item) {
2276
+ if (_.isEmpty(item)) {
2277
+ return item;
2278
+ }
2279
+ item = item.replace(/<br\s*[\/]?>/g, '\n');
2280
+ item = item.replace(/<[^>]*>/g, '');
2281
+ return item;
2282
+ }
2283
+ // --------------------------------------------------------------------------
2284
+ //
2285
+ // Properties
2286
+ //
2287
+ // --------------------------------------------------------------------------
2288
+ lastKey;
2289
+ lastParams;
2290
+ lastValue;
2192
2291
  // --------------------------------------------------------------------------
2193
2292
  //
2194
2293
  // Constructor
@@ -2198,30 +2297,17 @@ class LanguagePipe extends DestroyableContainer {
2198
2297
  super();
2199
2298
  this.detection = detection;
2200
2299
  this.language = language;
2201
- // --------------------------------------------------------------------------
2202
- //
2203
- // Private Methods
2204
- //
2205
- // --------------------------------------------------------------------------
2206
- this.lastValueUpdate = () => {
2207
- this.lastValue = this.language.translate(this.lastKey, this.lastParams);
2208
- this.detection.markForCheck();
2209
- };
2210
2300
  language.completed.pipe(takeUntil(this.destroyed)).subscribe(this.lastValueUpdate);
2211
2301
  }
2212
2302
  // --------------------------------------------------------------------------
2213
2303
  //
2214
- // Static Methods
2304
+ // Private Methods
2215
2305
  //
2216
2306
  // --------------------------------------------------------------------------
2217
- static removeTags(item) {
2218
- if (_.isEmpty(item)) {
2219
- return item;
2220
- }
2221
- item = item.replace(/<br\s*[\/]?>/g, '\n');
2222
- item = item.replace(/<[^>]*>/g, '');
2223
- return item;
2224
- }
2307
+ lastValueUpdate = () => {
2308
+ this.lastValue = this.language.translate(this.lastKey, this.lastParams);
2309
+ this.detection.markForCheck();
2310
+ };
2225
2311
  // --------------------------------------------------------------------------
2226
2312
  //
2227
2313
  // Public Methods
@@ -2249,18 +2335,25 @@ class LanguagePipe extends DestroyableContainer {
2249
2335
  this.lastParams = null;
2250
2336
  this.lastValue = null;
2251
2337
  }
2338
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2339
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipe, name: "viTranslate", pure: false });
2252
2340
  }
2253
- LanguagePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2254
- LanguagePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipe, name: "viTranslate", pure: false });
2255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipe, decorators: [{
2341
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipe, decorators: [{
2256
2342
  type: Pipe,
2257
2343
  args: [{
2258
2344
  name: 'viTranslate',
2259
2345
  pure: false
2260
2346
  }]
2261
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.LanguageService }]; } });
2347
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.LanguageService }] });
2262
2348
 
2263
2349
  class HTMLTitleDirective extends Destroyable {
2350
+ element;
2351
+ // --------------------------------------------------------------------------
2352
+ //
2353
+ // Properties
2354
+ //
2355
+ // --------------------------------------------------------------------------
2356
+ _value;
2264
2357
  // --------------------------------------------------------------------------
2265
2358
  //
2266
2359
  // Constructor
@@ -2307,20 +2400,27 @@ class HTMLTitleDirective extends Destroyable {
2307
2400
  get value() {
2308
2401
  return this._value;
2309
2402
  }
2403
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2404
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: HTMLTitleDirective, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
2310
2405
  }
2311
- HTMLTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2312
- HTMLTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HTMLTitleDirective, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
2313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HTMLTitleDirective, decorators: [{
2406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HTMLTitleDirective, decorators: [{
2314
2407
  type: Directive,
2315
2408
  args: [{
2316
2409
  selector: '[vi-html-title]'
2317
2410
  }]
2318
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
2411
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { value: [{
2319
2412
  type: Input,
2320
2413
  args: ['vi-html-title']
2321
2414
  }] } });
2322
2415
 
2323
2416
  class HTMLContentTitleDirective extends Destroyable {
2417
+ element;
2418
+ // --------------------------------------------------------------------------
2419
+ //
2420
+ // Properties
2421
+ //
2422
+ // --------------------------------------------------------------------------
2423
+ _value;
2324
2424
  // --------------------------------------------------------------------------
2325
2425
  //
2326
2426
  // Constructor
@@ -2368,15 +2468,15 @@ class HTMLContentTitleDirective extends Destroyable {
2368
2468
  get value() {
2369
2469
  return this._value;
2370
2470
  }
2471
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HTMLContentTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2472
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: HTMLContentTitleDirective, selector: "[vi-html-content-title]", inputs: { value: ["vi-html-content-title", "value"] }, usesInheritance: true, ngImport: i0 });
2371
2473
  }
2372
- HTMLContentTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HTMLContentTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2373
- HTMLContentTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HTMLContentTitleDirective, selector: "[vi-html-content-title]", inputs: { value: ["vi-html-content-title", "value"] }, usesInheritance: true, ngImport: i0 });
2374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HTMLContentTitleDirective, decorators: [{
2474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: HTMLContentTitleDirective, decorators: [{
2375
2475
  type: Directive,
2376
2476
  args: [{
2377
2477
  selector: '[vi-html-content-title]'
2378
2478
  }]
2379
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
2479
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { value: [{
2380
2480
  type: Input,
2381
2481
  args: ['vi-html-content-title']
2382
2482
  }] } });
@@ -2391,15 +2491,15 @@ class IsBrowserDirective extends StructureDirective {
2391
2491
  super(templateRef, container);
2392
2492
  this.isNeedAdd = platform.isPlatformBrowser;
2393
2493
  }
2494
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IsBrowserDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
2495
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: IsBrowserDirective, selector: "[viIsBrowser]", usesInheritance: true, ngImport: i0 });
2394
2496
  }
2395
- IsBrowserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IsBrowserDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
2396
- IsBrowserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: IsBrowserDirective, selector: "[viIsBrowser]", usesInheritance: true, ngImport: i0 });
2397
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IsBrowserDirective, decorators: [{
2497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IsBrowserDirective, decorators: [{
2398
2498
  type: Directive,
2399
2499
  args: [{
2400
2500
  selector: '[viIsBrowser]'
2401
2501
  }]
2402
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: PlatformService }]; } });
2502
+ }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: PlatformService }] });
2403
2503
 
2404
2504
  class IsServerDirective extends StructureDirective {
2405
2505
  // --------------------------------------------------------------------------
@@ -2411,223 +2511,18 @@ class IsServerDirective extends StructureDirective {
2411
2511
  super(templateRef, container);
2412
2512
  this.isNeedAdd = platform.isPlatformServer;
2413
2513
  }
2514
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IsServerDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
2515
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: IsServerDirective, selector: "[viIsServer]", usesInheritance: true, ngImport: i0 });
2414
2516
  }
2415
- IsServerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IsServerDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: PlatformService }], target: i0.ɵɵFactoryTarget.Directive });
2416
- IsServerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: IsServerDirective, selector: "[viIsServer]", usesInheritance: true, ngImport: i0 });
2417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IsServerDirective, decorators: [{
2517
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IsServerDirective, decorators: [{
2418
2518
  type: Directive,
2419
2519
  args: [{
2420
2520
  selector: '[viIsServer]'
2421
2521
  }]
2422
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: PlatformService }]; } });
2423
-
2424
- let normalizeValidator = (validator) => {
2425
- let func = validator.validate.bind(validator);
2426
- if (typeof func === 'function') {
2427
- return (control) => func(control);
2428
- }
2429
- else {
2430
- return validator;
2431
- }
2432
- };
2433
- let composeValidators = (validators) => {
2434
- if (_.isEmpty(validators)) {
2435
- return null;
2436
- }
2437
- return Validators.compose(validators.map(normalizeValidator));
2438
- };
2439
- let validate = (validators, asyncValidators) => {
2440
- return (control) => {
2441
- let synchronousValid = () => composeValidators(validators)(control);
2442
- if (asyncValidators) {
2443
- let asyncValidator = composeValidators(asyncValidators);
2444
- return asyncValidator(control).map(v => {
2445
- let secondary = synchronousValid();
2446
- if (secondary || v) {
2447
- return Object.assign({}, secondary, v);
2448
- }
2449
- });
2450
- }
2451
- if (validators) {
2452
- return of(synchronousValid());
2453
- }
2454
- return of(null);
2455
- };
2456
- };
2457
- const message = (validator, key) => {
2458
- if (!key) {
2459
- return 'Validation failed: ' + validator.toString();
2460
- }
2461
- switch (key) {
2462
- case 'required':
2463
- return 'Please enter a value';
2464
- case 'pattern':
2465
- return 'Value does not match required pattern';
2466
- case 'minlength':
2467
- return 'Value must be N characters';
2468
- case 'maxlength':
2469
- return 'Value must be a maximum of N characters';
2470
- }
2471
- let value = validator[key];
2472
- switch (typeof value) {
2473
- case 'string':
2474
- return value;
2475
- default:
2476
- return 'Validation failed: ' + key;
2477
- }
2478
- };
2479
-
2480
- class ValueAccessor extends Destroyable {
2481
- // --------------------------------------------------------------------------
2482
- //
2483
- // Constuctor
2484
- //
2485
- // --------------------------------------------------------------------------
2486
- constructor() {
2487
- super();
2488
- this.changed = [];
2489
- this.touched = [];
2490
- }
2491
- // --------------------------------------------------------------------------
2492
- //
2493
- // Protected Methods
2494
- //
2495
- // --------------------------------------------------------------------------
2496
- valueChanged() {
2497
- this.changed.forEach(f => f(this.innerValue));
2498
- }
2499
- // --------------------------------------------------------------------------
2500
- //
2501
- // Public Methods
2502
- //
2503
- // --------------------------------------------------------------------------
2504
- touch() {
2505
- this.touched.forEach(f => f());
2506
- }
2507
- writeValue(value) {
2508
- this.value = value;
2509
- }
2510
- registerOnChange(fn) {
2511
- this.changed.push(fn);
2512
- }
2513
- registerOnTouched(fn) {
2514
- this.touched.push(fn);
2515
- }
2516
- destroy() {
2517
- if (this.isDestroyed) {
2518
- return;
2519
- }
2520
- super.destroy();
2521
- this.changed = null;
2522
- this.touched = null;
2523
- }
2524
- // --------------------------------------------------------------------------
2525
- //
2526
- // Public Properties
2527
- //
2528
- // --------------------------------------------------------------------------
2529
- get value() {
2530
- return this.innerValue;
2531
- }
2532
- set value(value) {
2533
- if (value == this.innerValue) {
2534
- return;
2535
- }
2536
- this.innerValue = value;
2537
- this.valueChanged();
2538
- }
2539
- }
2540
-
2541
- class FormElementAsync extends ValueAccessor {
2542
- // --------------------------------------------------------------------------
2543
- //
2544
- // Constructor
2545
- //
2546
- // --------------------------------------------------------------------------
2547
- constructor(validators, asyncValidators) {
2548
- super();
2549
- this.validators = validators;
2550
- this.asyncValidators = asyncValidators;
2551
- }
2552
- validate() {
2553
- return validate(this.validators, this.asyncValidators)(this.model.control);
2554
- }
2555
- get invalid() {
2556
- return this.validate().pipe(map(v => {
2557
- return Object.keys(v || {}).length > 0;
2558
- }));
2559
- }
2560
- get failures() {
2561
- return this.validate().pipe(map(v => Object.keys(v).map(k => message(v, k))));
2562
- }
2563
- }
2564
-
2565
- class FormElementSync extends ValueAccessor {
2566
- // --------------------------------------------------------------------------
2567
- //
2568
- // Constructor
2569
- //
2570
- // --------------------------------------------------------------------------
2571
- constructor(validators) {
2572
- super();
2573
- this.validators = validators;
2574
- this.validate = () => {
2575
- if (!this.validators || this.validators.length === 0) {
2576
- this._validationError = null;
2577
- return null;
2578
- }
2579
- let failure = null;
2580
- for (let item of this.validators) {
2581
- failure = typeof item === 'function' ? item(this.model.control) : item.validate(this.model.control);
2582
- if (failure) {
2583
- break;
2584
- }
2585
- }
2586
- this._validationError = failure ? message(failure, Object.keys(failure)[0]) : null;
2587
- return failure;
2588
- };
2589
- this.isErrorState = (control, form) => {
2590
- return this.invalid;
2591
- };
2592
- }
2593
- // --------------------------------------------------------------------------
2594
- //
2595
- // Protected Methods
2596
- //
2597
- // --------------------------------------------------------------------------
2598
- valueChanged() {
2599
- super.valueChanged();
2600
- setTimeout(this.validate);
2601
- }
2602
- get valid() {
2603
- return !this.invalid;
2604
- }
2605
- get invalid() {
2606
- return this._validationError != null;
2607
- }
2608
- get validationError() {
2609
- return this._validationError;
2610
- }
2611
- // --------------------------------------------------------------------------
2612
- //
2613
- // Public Methods
2614
- //
2615
- // --------------------------------------------------------------------------
2616
- ngAfterContentInit() {
2617
- this.validate();
2618
- }
2619
- ngOnDestroy() {
2620
- clearTimeout(this.timer);
2621
- this.timer = null;
2622
- }
2623
- }
2624
- FormElementSync.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormElementSync, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Directive });
2625
- FormElementSync.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormElementSync, usesInheritance: true, ngImport: i0 });
2626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormElementSync, decorators: [{
2627
- type: Directive
2628
- }], ctorParameters: function () { return [{ type: Array }]; } });
2522
+ }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: PlatformService }] });
2629
2523
 
2630
2524
  class LanguagePipePure extends DestroyableContainer {
2525
+ language;
2631
2526
  // --------------------------------------------------------------------------
2632
2527
  //
2633
2528
  // Constructor
@@ -2652,17 +2547,18 @@ class LanguagePipePure extends DestroyableContainer {
2652
2547
  super.destroy();
2653
2548
  this.language = null;
2654
2549
  }
2550
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipePure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2551
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipePure, name: "viTranslatePure" });
2655
2552
  }
2656
- LanguagePipePure.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipePure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2657
- LanguagePipePure.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipePure, name: "viTranslatePure" });
2658
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipePure, decorators: [{
2553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipePure, decorators: [{
2659
2554
  type: Pipe,
2660
2555
  args: [{
2661
2556
  name: 'viTranslatePure'
2662
2557
  }]
2663
- }], ctorParameters: function () { return [{ type: i1.LanguageService }]; } });
2558
+ }], ctorParameters: () => [{ type: i1.LanguageService }] });
2664
2559
 
2665
2560
  class LanguageRequireResolver {
2561
+ language;
2666
2562
  // --------------------------------------------------------------------------
2667
2563
  //
2668
2564
  // Constructor
@@ -2705,15 +2601,25 @@ class LanguageResolver extends LanguageRequireResolver {
2705
2601
  constructor(language) {
2706
2602
  super(language);
2707
2603
  }
2604
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageResolver, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
2605
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageResolver, providedIn: 'root' });
2708
2606
  }
2709
- LanguageResolver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageResolver, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Injectable });
2710
- LanguageResolver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageResolver, providedIn: 'root' });
2711
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageResolver, decorators: [{
2607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageResolver, decorators: [{
2712
2608
  type: Injectable,
2713
2609
  args: [{ providedIn: 'root' }]
2714
- }], ctorParameters: function () { return [{ type: i1.LanguageService }]; } });
2610
+ }], ctorParameters: () => [{ type: i1.LanguageService }] });
2715
2611
 
2716
2612
  class LanguageDirective extends Destroyable {
2613
+ element;
2614
+ language;
2615
+ // --------------------------------------------------------------------------
2616
+ //
2617
+ // Properties
2618
+ //
2619
+ // --------------------------------------------------------------------------
2620
+ isNeedTitle;
2621
+ _key;
2622
+ _params;
2717
2623
  // --------------------------------------------------------------------------
2718
2624
  //
2719
2625
  // Constructor
@@ -2781,15 +2687,15 @@ class LanguageDirective extends Destroyable {
2781
2687
  get params() {
2782
2688
  return this._params;
2783
2689
  }
2690
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageDirective, deps: [{ token: i0.ElementRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
2691
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: LanguageDirective, selector: "[vi-translate]", inputs: { isNeedTitle: "isNeedTitle", key: ["vi-translate", "key"], params: "params" }, usesInheritance: true, ngImport: i0 });
2784
2692
  }
2785
- LanguageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageDirective, deps: [{ token: i0.ElementRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
2786
- LanguageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LanguageDirective, selector: "[vi-translate]", inputs: { isNeedTitle: "isNeedTitle", key: ["vi-translate", "key"], params: "params" }, usesInheritance: true, ngImport: i0 });
2787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageDirective, decorators: [{
2693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageDirective, decorators: [{
2788
2694
  type: Directive,
2789
2695
  args: [{
2790
2696
  selector: '[vi-translate]'
2791
2697
  }]
2792
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LanguageService }]; }, propDecorators: { isNeedTitle: [{
2698
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.LanguageService }], propDecorators: { isNeedTitle: [{
2793
2699
  type: Input
2794
2700
  }], key: [{
2795
2701
  type: Input,
@@ -2799,6 +2705,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2799
2705
  }] } });
2800
2706
 
2801
2707
  class LanguagePipeHas extends DestroyableContainer {
2708
+ language;
2709
+ // --------------------------------------------------------------------------
2710
+ //
2711
+ // Properties
2712
+ //
2713
+ // --------------------------------------------------------------------------
2714
+ key;
2715
+ _value;
2802
2716
  // --------------------------------------------------------------------------
2803
2717
  //
2804
2718
  // Constructor
@@ -2807,18 +2721,18 @@ class LanguagePipeHas extends DestroyableContainer {
2807
2721
  constructor(language) {
2808
2722
  super();
2809
2723
  this.language = language;
2810
- // --------------------------------------------------------------------------
2811
- //
2812
- // Private Methods
2813
- //
2814
- // --------------------------------------------------------------------------
2815
- this.valueUpdate = () => {
2816
- this._value = this.language.isHasTranslation(this.key);
2817
- };
2818
2724
  language.completed.pipe(takeUntil(this.destroyed)).subscribe(this.valueUpdate);
2819
2725
  }
2820
2726
  // --------------------------------------------------------------------------
2821
2727
  //
2728
+ // Private Methods
2729
+ //
2730
+ // --------------------------------------------------------------------------
2731
+ valueUpdate = () => {
2732
+ this._value = this.language.isHasTranslation(this.key);
2733
+ };
2734
+ // --------------------------------------------------------------------------
2735
+ //
2822
2736
  // Public Methods
2823
2737
  //
2824
2738
  // --------------------------------------------------------------------------
@@ -2837,18 +2751,19 @@ class LanguagePipeHas extends DestroyableContainer {
2837
2751
  this.language = null;
2838
2752
  this.key = null;
2839
2753
  }
2754
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipeHas, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2755
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipeHas, name: "viTranslateHas", pure: false });
2840
2756
  }
2841
- LanguagePipeHas.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipeHas, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2842
- LanguagePipeHas.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipeHas, name: "viTranslateHas", pure: false });
2843
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipeHas, decorators: [{
2757
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipeHas, decorators: [{
2844
2758
  type: Pipe,
2845
2759
  args: [{
2846
2760
  name: 'viTranslateHas',
2847
2761
  pure: false
2848
2762
  }]
2849
- }], ctorParameters: function () { return [{ type: i1.LanguageService }]; } });
2763
+ }], ctorParameters: () => [{ type: i1.LanguageService }] });
2850
2764
 
2851
2765
  class LanguagePipeHasPure extends DestroyableContainer {
2766
+ language;
2852
2767
  // --------------------------------------------------------------------------
2853
2768
  //
2854
2769
  // Constructor
@@ -2873,18 +2788,26 @@ class LanguagePipeHasPure extends DestroyableContainer {
2873
2788
  super.destroy();
2874
2789
  this.language = null;
2875
2790
  }
2791
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipeHasPure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2792
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipeHasPure, name: "viTranslateHasPure" });
2876
2793
  }
2877
- LanguagePipeHasPure.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipeHasPure, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
2878
- LanguagePipeHasPure.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipeHasPure, name: "viTranslateHasPure" });
2879
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguagePipeHasPure, decorators: [{
2794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguagePipeHasPure, decorators: [{
2880
2795
  type: Pipe,
2881
2796
  args: [{
2882
2797
  name: 'viTranslateHasPure',
2883
2798
  pure: true
2884
2799
  }]
2885
- }], ctorParameters: function () { return [{ type: i1.LanguageService }]; } });
2800
+ }], ctorParameters: () => [{ type: i1.LanguageService }] });
2886
2801
 
2887
2802
  class LanguageHasDirective extends StructureDirective {
2803
+ language;
2804
+ // --------------------------------------------------------------------------
2805
+ //
2806
+ // Properties
2807
+ //
2808
+ // --------------------------------------------------------------------------
2809
+ _viTranslateHas;
2810
+ _isOnlyIfNotEmpty = true;
2888
2811
  // --------------------------------------------------------------------------
2889
2812
  //
2890
2813
  // Constructor
@@ -2893,7 +2816,6 @@ class LanguageHasDirective extends StructureDirective {
2893
2816
  constructor(template, container, language) {
2894
2817
  super(template, container);
2895
2818
  this.language = language;
2896
- this._isOnlyIfNotEmpty = true;
2897
2819
  language.completed.pipe(takeUntil(this.destroyed)).subscribe(() => this.check());
2898
2820
  }
2899
2821
  // --------------------------------------------------------------------------
@@ -2942,15 +2864,15 @@ class LanguageHasDirective extends StructureDirective {
2942
2864
  get viTranslateHasIsOnlyIfNotEmpty() {
2943
2865
  return this._isOnlyIfNotEmpty;
2944
2866
  }
2867
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageHasDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
2868
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: LanguageHasDirective, selector: "[viTranslateHas]", inputs: { viTranslateHas: "viTranslateHas", viTranslateHasIsOnlyIfNotEmpty: "viTranslateHasIsOnlyIfNotEmpty" }, usesInheritance: true, ngImport: i0 });
2945
2869
  }
2946
- LanguageHasDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageHasDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Directive });
2947
- LanguageHasDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LanguageHasDirective, selector: "[viTranslateHas]", inputs: { viTranslateHas: "viTranslateHas", viTranslateHasIsOnlyIfNotEmpty: "viTranslateHasIsOnlyIfNotEmpty" }, usesInheritance: true, ngImport: i0 });
2948
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageHasDirective, decorators: [{
2870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageHasDirective, decorators: [{
2949
2871
  type: Directive,
2950
2872
  args: [{
2951
2873
  selector: '[viTranslateHas]'
2952
2874
  }]
2953
- }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1.LanguageService }]; }, propDecorators: { viTranslateHas: [{
2875
+ }], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1.LanguageService }], propDecorators: { viTranslateHas: [{
2954
2876
  type: Input,
2955
2877
  args: ['viTranslateHas']
2956
2878
  }], viTranslateHasIsOnlyIfNotEmpty: [{
@@ -2986,11 +2908,11 @@ class LanguageModule {
2986
2908
  ]
2987
2909
  };
2988
2910
  }
2911
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2912
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: LanguageModule, declarations: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageHasDirective, LanguageDirective], imports: [CookieModule], exports: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageHasDirective, LanguageDirective] });
2913
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageModule, imports: [CookieModule] });
2989
2914
  }
2990
- LanguageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2991
- LanguageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LanguageModule, declarations: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageHasDirective, LanguageDirective], imports: [CookieModule], exports: [LanguagePipe, LanguagePipePure, LanguagePipeHas, LanguagePipeHasPure, LanguageHasDirective, LanguageDirective] });
2992
- LanguageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageModule, imports: [CookieModule] });
2993
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LanguageModule, decorators: [{
2915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LanguageModule, decorators: [{
2994
2916
  type: NgModule,
2995
2917
  args: [{
2996
2918
  imports: [CookieModule],
@@ -3007,6 +2929,14 @@ function languageServiceFactory(cookie, options) {
3007
2929
  const LANGUAGE_OPTIONS = new InjectionToken(`LANGUAGE_OPTIONS`);
3008
2930
 
3009
2931
  class LoginBaseService extends Loadable {
2932
+ // --------------------------------------------------------------------------
2933
+ //
2934
+ // Properties
2935
+ //
2936
+ // --------------------------------------------------------------------------
2937
+ _sid;
2938
+ _loginData;
2939
+ _isLoggedIn = false;
3010
2940
  // --------------------------------------------------------------------------
3011
2941
  //
3012
2942
  // Constructor
@@ -3014,7 +2944,6 @@ class LoginBaseService extends Loadable {
3014
2944
  // --------------------------------------------------------------------------
3015
2945
  constructor() {
3016
2946
  super();
3017
- this._isLoggedIn = false;
3018
2947
  }
3019
2948
  // --------------------------------------------------------------------------
3020
2949
  //
@@ -3185,6 +3114,7 @@ var LoginBaseServiceEvent;
3185
3114
  })(LoginBaseServiceEvent || (LoginBaseServiceEvent = {}));
3186
3115
 
3187
3116
  class LoginRequireResolver {
3117
+ login;
3188
3118
  // --------------------------------------------------------------------------
3189
3119
  //
3190
3120
  // Constructor
@@ -3222,6 +3152,13 @@ class LoginRequireResolver {
3222
3152
  }
3223
3153
 
3224
3154
  class LoginGuard extends LoginRequireResolver {
3155
+ router;
3156
+ // --------------------------------------------------------------------------
3157
+ //
3158
+ // Properties
3159
+ //
3160
+ // --------------------------------------------------------------------------
3161
+ static redirectUrl = '/login';
3225
3162
  // --------------------------------------------------------------------------
3226
3163
  //
3227
3164
  // Constructor
@@ -3239,24 +3176,25 @@ class LoginGuard extends LoginRequireResolver {
3239
3176
  canActivate(route, state) {
3240
3177
  return this.isLoggedIn() ? true : this.router.parseUrl(LoginGuard.redirectUrl);
3241
3178
  }
3179
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3180
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginGuard, providedIn: 'root' });
3242
3181
  }
3243
- // --------------------------------------------------------------------------
3244
- //
3245
- // Properties
3246
- //
3247
- // --------------------------------------------------------------------------
3248
- LoginGuard.redirectUrl = '/login';
3249
- LoginGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3250
- LoginGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginGuard, providedIn: 'root' });
3251
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginGuard, decorators: [{
3182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginGuard, decorators: [{
3252
3183
  type: Injectable,
3253
3184
  args: [{ providedIn: 'root' }]
3254
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3185
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
3255
3186
  type: Inject,
3256
3187
  args: [LoginBaseService]
3257
- }] }, { type: i1$1.Router }]; } });
3188
+ }] }, { type: i1$1.Router }] });
3258
3189
 
3259
3190
  class LoginNotGuard extends LoginRequireResolver {
3191
+ router;
3192
+ // --------------------------------------------------------------------------
3193
+ //
3194
+ // Properties
3195
+ //
3196
+ // --------------------------------------------------------------------------
3197
+ static redirectUrl = '/';
3260
3198
  // --------------------------------------------------------------------------
3261
3199
  //
3262
3200
  // Constructor
@@ -3274,24 +3212,19 @@ class LoginNotGuard extends LoginRequireResolver {
3274
3212
  canActivate(route, state) {
3275
3213
  return !this.isLoggedIn() ? true : this.router.parseUrl(LoginNotGuard.redirectUrl);
3276
3214
  }
3215
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3216
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
3277
3217
  }
3278
- // --------------------------------------------------------------------------
3279
- //
3280
- // Properties
3281
- //
3282
- // --------------------------------------------------------------------------
3283
- LoginNotGuard.redirectUrl = '/';
3284
- LoginNotGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3285
- LoginNotGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
3286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginNotGuard, decorators: [{
3218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginNotGuard, decorators: [{
3287
3219
  type: Injectable,
3288
3220
  args: [{ providedIn: 'root' }]
3289
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3221
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
3290
3222
  type: Inject,
3291
3223
  args: [LoginBaseService]
3292
- }] }, { type: i1$1.Router }]; } });
3224
+ }] }, { type: i1$1.Router }] });
3293
3225
 
3294
3226
  class LoginIfCanGuard extends LoginGuard {
3227
+ router;
3295
3228
  // --------------------------------------------------------------------------
3296
3229
  //
3297
3230
  // Constructor
@@ -3328,16 +3261,16 @@ class LoginIfCanGuard extends LoginGuard {
3328
3261
  }
3329
3262
  return super.canActivate(route, state);
3330
3263
  }
3264
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3265
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
3331
3266
  }
3332
- LoginIfCanGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginBaseService }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
3333
- LoginIfCanGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
3334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginIfCanGuard, decorators: [{
3267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginIfCanGuard, decorators: [{
3335
3268
  type: Injectable,
3336
3269
  args: [{ providedIn: 'root' }]
3337
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3270
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
3338
3271
  type: Inject,
3339
3272
  args: [LoginBaseService]
3340
- }] }, { type: i1$1.Router }]; } });
3273
+ }] }, { type: i1$1.Router }] });
3341
3274
 
3342
3275
  class LoginResolver extends LoginRequireResolver {
3343
3276
  // --------------------------------------------------------------------------
@@ -3348,18 +3281,26 @@ class LoginResolver extends LoginRequireResolver {
3348
3281
  constructor(login) {
3349
3282
  super(login);
3350
3283
  }
3284
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginResolver, deps: [{ token: LoginBaseService }], target: i0.ɵɵFactoryTarget.Injectable });
3285
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginResolver, providedIn: 'root' });
3351
3286
  }
3352
- LoginResolver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginResolver, deps: [{ token: LoginBaseService }], target: i0.ɵɵFactoryTarget.Injectable });
3353
- LoginResolver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginResolver, providedIn: 'root' });
3354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoginResolver, decorators: [{
3287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LoginResolver, decorators: [{
3355
3288
  type: Injectable,
3356
3289
  args: [{ providedIn: 'root' }]
3357
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3290
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
3358
3291
  type: Inject,
3359
3292
  args: [LoginBaseService]
3360
- }] }]; } });
3293
+ }] }] });
3361
3294
 
3362
3295
  class ValueStorage extends DestroyableContainer {
3296
+ storage;
3297
+ cookies;
3298
+ //--------------------------------------------------------------------------
3299
+ //
3300
+ // Properties
3301
+ //
3302
+ //--------------------------------------------------------------------------
3303
+ _name;
3363
3304
  //--------------------------------------------------------------------------
3364
3305
  //
3365
3306
  // Constructor
@@ -3425,6 +3366,12 @@ class ValueStorage extends DestroyableContainer {
3425
3366
  }
3426
3367
 
3427
3368
  class LoginTokenStorage extends ValueStorage {
3369
+ //--------------------------------------------------------------------------
3370
+ //
3371
+ // Properties
3372
+ //
3373
+ //--------------------------------------------------------------------------
3374
+ static TOKEN_KEY = 'sid';
3428
3375
  //--------------------------------------------------------------------------
3429
3376
  //
3430
3377
  // Constructor
@@ -3434,14 +3381,19 @@ class LoginTokenStorage extends ValueStorage {
3434
3381
  super(LoginTokenStorage.TOKEN_KEY, localStorage, cookies);
3435
3382
  }
3436
3383
  }
3437
- //--------------------------------------------------------------------------
3438
- //
3439
- // Properties
3440
- //
3441
- //--------------------------------------------------------------------------
3442
- LoginTokenStorage.TOKEN_KEY = 'sid';
3443
3384
 
3444
3385
  class MenuItemBase {
3386
+ nameId;
3387
+ sortIndex;
3388
+ iconId;
3389
+ // --------------------------------------------------------------------------
3390
+ //
3391
+ // Properties
3392
+ //
3393
+ // --------------------------------------------------------------------------
3394
+ _name;
3395
+ _isEnabled = true;
3396
+ checkEnabled;
3445
3397
  // --------------------------------------------------------------------------
3446
3398
  //
3447
3399
  // Constructor
@@ -3451,7 +3403,6 @@ class MenuItemBase {
3451
3403
  this.nameId = nameId;
3452
3404
  this.sortIndex = sortIndex;
3453
3405
  this.iconId = iconId;
3454
- this._isEnabled = true;
3455
3406
  }
3456
3407
  // --------------------------------------------------------------------------
3457
3408
  //
@@ -3488,6 +3439,13 @@ class MenuItemBase {
3488
3439
  }
3489
3440
 
3490
3441
  class MenuItem extends MenuItemBase {
3442
+ // --------------------------------------------------------------------------
3443
+ //
3444
+ // Properties
3445
+ //
3446
+ // --------------------------------------------------------------------------
3447
+ flag;
3448
+ select;
3491
3449
  // --------------------------------------------------------------------------
3492
3450
  //
3493
3451
  // Constructor
@@ -3500,6 +3458,15 @@ class MenuItem extends MenuItemBase {
3500
3458
  }
3501
3459
 
3502
3460
  class MenuItems extends DestroyableContainer {
3461
+ language;
3462
+ // --------------------------------------------------------------------------
3463
+ //
3464
+ // Properties
3465
+ //
3466
+ // --------------------------------------------------------------------------
3467
+ _items;
3468
+ _enabledItems;
3469
+ filterFunction;
3503
3470
  // --------------------------------------------------------------------------
3504
3471
  //
3505
3472
  // Constructor
@@ -3599,6 +3566,13 @@ class MenuItems extends DestroyableContainer {
3599
3566
  }
3600
3567
 
3601
3568
  class NavigationMenuItem extends MenuItem {
3569
+ // --------------------------------------------------------------------------
3570
+ //
3571
+ // Properties
3572
+ //
3573
+ // --------------------------------------------------------------------------
3574
+ url;
3575
+ isActive = false;
3602
3576
  // --------------------------------------------------------------------------
3603
3577
  //
3604
3578
  // Constructor
@@ -3606,19 +3580,32 @@ class NavigationMenuItem extends MenuItem {
3606
3580
  // --------------------------------------------------------------------------
3607
3581
  constructor(nameId, sortIndex, iconId, url) {
3608
3582
  super(nameId, sortIndex, null, iconId);
3609
- this.isActive = false;
3610
3583
  this.url = url;
3611
3584
  }
3612
3585
  }
3613
3586
 
3614
3587
  class ListItem {
3588
+ // --------------------------------------------------------------------------
3589
+ //
3590
+ // Properties
3591
+ //
3592
+ // --------------------------------------------------------------------------
3593
+ _uid;
3594
+ _data;
3595
+ _label;
3596
+ _iconId;
3597
+ _className;
3598
+ _sortIndex;
3599
+ _isEnabled = true;
3600
+ _translationId;
3601
+ action;
3602
+ checkEnabled;
3615
3603
  // --------------------------------------------------------------------------
3616
3604
  //
3617
3605
  // Constructor
3618
3606
  //
3619
3607
  // --------------------------------------------------------------------------
3620
3608
  constructor(translationId, sortIndex = NaN, data, iconId) {
3621
- this._isEnabled = true;
3622
3609
  this.data = data;
3623
3610
  this.iconId = iconId;
3624
3611
  this.sortIndex = sortIndex;
@@ -3745,6 +3732,16 @@ class ListItem {
3745
3732
  }
3746
3733
 
3747
3734
  class ListItems extends FilterableMapCollection {
3735
+ language;
3736
+ // --------------------------------------------------------------------------
3737
+ //
3738
+ // Properties
3739
+ //
3740
+ // --------------------------------------------------------------------------
3741
+ lastRefreshParams;
3742
+ languageSubscription;
3743
+ _isAllEnabled;
3744
+ _isLeastOneEnabled;
3748
3745
  // --------------------------------------------------------------------------
3749
3746
  //
3750
3747
  // Constructor
@@ -3753,30 +3750,30 @@ class ListItems extends FilterableMapCollection {
3753
3750
  constructor(language, isAutoTranslate = true) {
3754
3751
  super('uid');
3755
3752
  this.language = language;
3756
- // --------------------------------------------------------------------------
3757
- //
3758
- // Private Methods
3759
- //
3760
- // --------------------------------------------------------------------------
3761
- this.translate = (item) => {
3762
- item.label = this.language.translate(item.translationId);
3763
- };
3764
- this.translateItems = () => {
3765
- this.collection.forEach(this.translate);
3766
- };
3767
- this.translateIfNeed = (item) => {
3768
- if (_.isNil(item.label) && !_.isNil(item.translationId)) {
3769
- this.translate(item);
3770
- }
3771
- };
3772
- this.translateItemsIfNeed = () => {
3773
- this.collection.forEach(this.translateIfNeed);
3774
- };
3775
3753
  this.lastRefreshParams = new Array();
3776
3754
  if (isAutoTranslate) {
3777
3755
  this.languageSubscription = language.completed.subscribe(this.translateItems);
3778
3756
  }
3779
3757
  }
3758
+ // --------------------------------------------------------------------------
3759
+ //
3760
+ // Private Methods
3761
+ //
3762
+ // --------------------------------------------------------------------------
3763
+ translate = (item) => {
3764
+ item.label = this.language.translate(item.translationId);
3765
+ };
3766
+ translateItems = () => {
3767
+ this.collection.forEach(this.translate);
3768
+ };
3769
+ translateIfNeed = (item) => {
3770
+ if (_.isNil(item.label) && !_.isNil(item.translationId)) {
3771
+ this.translate(item);
3772
+ }
3773
+ };
3774
+ translateItemsIfNeed = () => {
3775
+ this.collection.forEach(this.translateIfNeed);
3776
+ };
3780
3777
  sort() {
3781
3778
  ArrayUtil.sort(this.collection);
3782
3779
  }
@@ -3839,6 +3836,14 @@ class ListItems extends FilterableMapCollection {
3839
3836
  }
3840
3837
 
3841
3838
  class SelectListItem extends ListItem {
3839
+ // --------------------------------------------------------------------------
3840
+ //
3841
+ // Properties
3842
+ //
3843
+ // --------------------------------------------------------------------------
3844
+ _isSelected;
3845
+ _selectedClassName;
3846
+ checkSelected;
3842
3847
  // --------------------------------------------------------------------------
3843
3848
  //
3844
3849
  // Constructor
@@ -3896,6 +3901,15 @@ class SelectListItem extends ListItem {
3896
3901
  }
3897
3902
 
3898
3903
  class SelectListItems extends ListItems {
3904
+ // --------------------------------------------------------------------------
3905
+ //
3906
+ // Properties
3907
+ //
3908
+ // --------------------------------------------------------------------------
3909
+ _selectedItem;
3910
+ _selectedData;
3911
+ _selectedIndex;
3912
+ _changed;
3899
3913
  // --------------------------------------------------------------------------
3900
3914
  //
3901
3915
  // Constructor
@@ -4014,6 +4028,13 @@ class SelectListItems extends ListItems {
4014
4028
  }
4015
4029
 
4016
4030
  class RouterSelectListItems extends SelectListItems {
4031
+ router;
4032
+ //--------------------------------------------------------------------------
4033
+ //
4034
+ // Public Properties
4035
+ //
4036
+ //--------------------------------------------------------------------------
4037
+ isDisabled;
4017
4038
  //--------------------------------------------------------------------------
4018
4039
  //
4019
4040
  // Constructor
@@ -4066,10 +4087,10 @@ class RouterSelectListItems extends SelectListItems {
4066
4087
  class PrettifyPipe {
4067
4088
  // --------------------------------------------------------------------------
4068
4089
  //
4069
- // Constructor
4090
+ // Static Properties
4070
4091
  //
4071
4092
  // --------------------------------------------------------------------------
4072
- constructor() { }
4093
+ static EMPTY_SYMBOL = '-';
4073
4094
  // --------------------------------------------------------------------------
4074
4095
  //
4075
4096
  // Public Methods
@@ -4082,21 +4103,21 @@ class PrettifyPipe {
4082
4103
  }
4083
4104
  return !isNil ? value : PrettifyPipe.EMPTY_SYMBOL;
4084
4105
  }
4106
+ // --------------------------------------------------------------------------
4107
+ //
4108
+ // Constructor
4109
+ //
4110
+ // --------------------------------------------------------------------------
4111
+ constructor() { }
4112
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PrettifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4113
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: PrettifyPipe, name: "viPrettify" });
4085
4114
  }
4086
- // --------------------------------------------------------------------------
4087
- //
4088
- // Static Properties
4089
- //
4090
- // --------------------------------------------------------------------------
4091
- PrettifyPipe.EMPTY_SYMBOL = '-';
4092
- PrettifyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PrettifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4093
- PrettifyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PrettifyPipe, name: "viPrettify" });
4094
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PrettifyPipe, decorators: [{
4115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PrettifyPipe, decorators: [{
4095
4116
  type: Pipe,
4096
4117
  args: [{
4097
4118
  name: 'viPrettify'
4098
4119
  }]
4099
- }], ctorParameters: function () { return []; } });
4120
+ }], ctorParameters: () => [] });
4100
4121
 
4101
4122
  class CamelCasePipe {
4102
4123
  // --------------------------------------------------------------------------
@@ -4107,10 +4128,10 @@ class CamelCasePipe {
4107
4128
  transform(value) {
4108
4129
  return !_.isNil(value) ? _.camelCase(value) : PrettifyPipe.EMPTY_SYMBOL;
4109
4130
  }
4131
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: CamelCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4132
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: CamelCasePipe, name: "viCamelCase" });
4110
4133
  }
4111
- CamelCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CamelCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4112
- CamelCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CamelCasePipe, name: "viCamelCase" });
4113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CamelCasePipe, decorators: [{
4134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: CamelCasePipe, decorators: [{
4114
4135
  type: Pipe,
4115
4136
  args: [{
4116
4137
  name: 'viCamelCase'
@@ -4118,6 +4139,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4118
4139
  }] });
4119
4140
 
4120
4141
  class FinancePipe {
4142
+ // --------------------------------------------------------------------------
4143
+ //
4144
+ // Static Properties
4145
+ //
4146
+ // --------------------------------------------------------------------------
4147
+ static DEFAULT_FORMAT = '0,0';
4121
4148
  // --------------------------------------------------------------------------
4122
4149
  //
4123
4150
  // Static Methods
@@ -4150,16 +4177,10 @@ class FinancePipe {
4150
4177
  }
4151
4178
  return FinancePipe.format(value, format);
4152
4179
  }
4180
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FinancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4181
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: FinancePipe, name: "viFinance" });
4153
4182
  }
4154
- // --------------------------------------------------------------------------
4155
- //
4156
- // Static Properties
4157
- //
4158
- // --------------------------------------------------------------------------
4159
- FinancePipe.DEFAULT_FORMAT = '0,0';
4160
- FinancePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FinancePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4161
- FinancePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FinancePipe, name: "viFinance" });
4162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FinancePipe, decorators: [{
4183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FinancePipe, decorators: [{
4163
4184
  type: Pipe,
4164
4185
  args: [{
4165
4186
  name: 'viFinance'
@@ -4167,6 +4188,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4167
4188
  }] });
4168
4189
 
4169
4190
  class MomentDatePipe {
4191
+ // --------------------------------------------------------------------------
4192
+ //
4193
+ // Constants
4194
+ //
4195
+ // --------------------------------------------------------------------------
4196
+ static DEFAULT_FORMAT = 'LLL';
4170
4197
  // --------------------------------------------------------------------------
4171
4198
  //
4172
4199
  // Static Methods
@@ -4216,16 +4243,10 @@ class MomentDatePipe {
4216
4243
  let moment = MomentDatePipe.parseMoment(value);
4217
4244
  return moment.format(format || MomentDatePipe.DEFAULT_FORMAT);
4218
4245
  }
4246
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4247
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: MomentDatePipe, name: "viMomentDate" });
4219
4248
  }
4220
- // --------------------------------------------------------------------------
4221
- //
4222
- // Constants
4223
- //
4224
- // --------------------------------------------------------------------------
4225
- MomentDatePipe.DEFAULT_FORMAT = 'LLL';
4226
- MomentDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4227
- MomentDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MomentDatePipe, name: "viMomentDate" });
4228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentDatePipe, decorators: [{
4249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentDatePipe, decorators: [{
4229
4250
  type: Pipe,
4230
4251
  args: [{
4231
4252
  name: 'viMomentDate'
@@ -4233,6 +4254,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4233
4254
  }] });
4234
4255
 
4235
4256
  class MomentDateAdaptivePipe {
4257
+ // --------------------------------------------------------------------------
4258
+ //
4259
+ // Constants
4260
+ //
4261
+ // --------------------------------------------------------------------------
4262
+ static HOUR_FORMAT = 'HH:ss';
4263
+ static DAY_FORMAT = 'DD MMM HH:ss';
4264
+ static MONTH_FORMAT = 'DD MMM HH:ss';
4265
+ static YEAR_FORMAT = 'LLL';
4236
4266
  // --------------------------------------------------------------------------
4237
4267
  //
4238
4268
  // Public Methods
@@ -4259,19 +4289,10 @@ class MomentDateAdaptivePipe {
4259
4289
  }
4260
4290
  return item.format(format);
4261
4291
  }
4292
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentDateAdaptivePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4293
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: MomentDateAdaptivePipe, name: "viMomentAdaptiveDate" });
4262
4294
  }
4263
- // --------------------------------------------------------------------------
4264
- //
4265
- // Constants
4266
- //
4267
- // --------------------------------------------------------------------------
4268
- MomentDateAdaptivePipe.HOUR_FORMAT = 'HH:ss';
4269
- MomentDateAdaptivePipe.DAY_FORMAT = 'DD MMM HH:ss';
4270
- MomentDateAdaptivePipe.MONTH_FORMAT = 'DD MMM HH:ss';
4271
- MomentDateAdaptivePipe.YEAR_FORMAT = 'LLL';
4272
- MomentDateAdaptivePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentDateAdaptivePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4273
- MomentDateAdaptivePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MomentDateAdaptivePipe, name: "viMomentAdaptiveDate" });
4274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentDateAdaptivePipe, decorators: [{
4295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentDateAdaptivePipe, decorators: [{
4275
4296
  type: Pipe,
4276
4297
  args: [{
4277
4298
  name: 'viMomentAdaptiveDate'
@@ -4287,10 +4308,10 @@ class MomentDateFromNowPipe {
4287
4308
  transform(value, format) {
4288
4309
  return MomentDatePipe.fromNow(value, format);
4289
4310
  }
4311
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentDateFromNowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4312
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: MomentDateFromNowPipe, name: "viMomentDateFromNow" });
4290
4313
  }
4291
- MomentDateFromNowPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentDateFromNowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4292
- MomentDateFromNowPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MomentDateFromNowPipe, name: "viMomentDateFromNow" });
4293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentDateFromNowPipe, decorators: [{
4314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentDateFromNowPipe, decorators: [{
4294
4315
  type: Pipe,
4295
4316
  args: [{
4296
4317
  name: 'viMomentDateFromNow'
@@ -4298,6 +4319,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4298
4319
  }] });
4299
4320
 
4300
4321
  class MomentTimePipe {
4322
+ // --------------------------------------------------------------------------
4323
+ //
4324
+ // Constants
4325
+ //
4326
+ // --------------------------------------------------------------------------
4327
+ static DEFAULT_FORMAT = 'hh:mm:ss';
4301
4328
  // --------------------------------------------------------------------------
4302
4329
  //
4303
4330
  // Public Methods
@@ -4312,16 +4339,10 @@ class MomentTimePipe {
4312
4339
  .add(timeMilliseconds, 'milliseconds')
4313
4340
  .format(format || MomentTimePipe.DEFAULT_FORMAT);
4314
4341
  }
4342
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4343
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: MomentTimePipe, name: "viMomentTime" });
4315
4344
  }
4316
- // --------------------------------------------------------------------------
4317
- //
4318
- // Constants
4319
- //
4320
- // --------------------------------------------------------------------------
4321
- MomentTimePipe.DEFAULT_FORMAT = 'hh:mm:ss';
4322
- MomentTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4323
- MomentTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MomentTimePipe, name: "viMomentTime" });
4324
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MomentTimePipe, decorators: [{
4345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: MomentTimePipe, decorators: [{
4325
4346
  type: Pipe,
4326
4347
  args: [{
4327
4348
  name: 'viMomentTime'
@@ -4329,14 +4350,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4329
4350
  }] });
4330
4351
 
4331
4352
  class NgModelErrorPipe {
4332
- // --------------------------------------------------------------------------
4333
- //
4334
- // Constructor
4335
- //
4336
- // --------------------------------------------------------------------------
4337
- constructor(language) {
4338
- this.language = language;
4339
- }
4353
+ language;
4340
4354
  // --------------------------------------------------------------------------
4341
4355
  //
4342
4356
  // Public Methods
@@ -4356,17 +4370,26 @@ class NgModelErrorPipe {
4356
4370
  translateError(key, value) {
4357
4371
  return this.language.translate('error.form.' + key, value);
4358
4372
  }
4373
+ // --------------------------------------------------------------------------
4374
+ //
4375
+ // Constructor
4376
+ //
4377
+ // --------------------------------------------------------------------------
4378
+ constructor(language) {
4379
+ this.language = language;
4380
+ }
4381
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: NgModelErrorPipe, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
4382
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: NgModelErrorPipe, name: "viNgModelError" });
4359
4383
  }
4360
- NgModelErrorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NgModelErrorPipe, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Pipe });
4361
- NgModelErrorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NgModelErrorPipe, name: "viNgModelError" });
4362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NgModelErrorPipe, decorators: [{
4384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: NgModelErrorPipe, decorators: [{
4363
4385
  type: Pipe,
4364
4386
  args: [{
4365
4387
  name: 'viNgModelError'
4366
4388
  }]
4367
- }], ctorParameters: function () { return [{ type: i1.LanguageService }]; } });
4389
+ }], ctorParameters: () => [{ type: i1.LanguageService }] });
4368
4390
 
4369
4391
  class SanitizePipe {
4392
+ sanitizer;
4370
4393
  // --------------------------------------------------------------------------
4371
4394
  //
4372
4395
  // Constructor
@@ -4399,15 +4422,15 @@ class SanitizePipe {
4399
4422
  throw new Error('Invalid safe type specified: ' + type);
4400
4423
  }
4401
4424
  }
4425
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SanitizePipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
4426
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: SanitizePipe, name: "viSanitize" });
4402
4427
  }
4403
- SanitizePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SanitizePipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
4404
- SanitizePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SanitizePipe, name: "viSanitize" });
4405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SanitizePipe, decorators: [{
4428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SanitizePipe, decorators: [{
4406
4429
  type: Pipe,
4407
4430
  args: [{
4408
4431
  name: 'viSanitize'
4409
4432
  }]
4410
- }], ctorParameters: function () { return [{ type: i1$2.DomSanitizer }]; } });
4433
+ }], ctorParameters: () => [{ type: i1$2.DomSanitizer }] });
4411
4434
 
4412
4435
  class StartCasePipe {
4413
4436
  // --------------------------------------------------------------------------
@@ -4418,10 +4441,10 @@ class StartCasePipe {
4418
4441
  transform(value) {
4419
4442
  return !_.isEmpty(value) ? value.charAt(0).toUpperCase() + value.slice(1) : PrettifyPipe.EMPTY_SYMBOL;
4420
4443
  }
4444
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: StartCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4445
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: StartCasePipe, name: "viStartCase" });
4421
4446
  }
4422
- StartCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StartCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4423
- StartCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: StartCasePipe, name: "viStartCase" });
4424
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StartCasePipe, decorators: [{
4447
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: StartCasePipe, decorators: [{
4425
4448
  type: Pipe,
4426
4449
  args: [{
4427
4450
  name: 'viStartCase'
@@ -4437,10 +4460,10 @@ class TruncatePipe {
4437
4460
  transform(value, maxLength) {
4438
4461
  return !_.isEmpty(value) ? _.truncate(value, { length: maxLength }) : PrettifyPipe.EMPTY_SYMBOL;
4439
4462
  }
4463
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4464
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TruncatePipe, name: "viTruncate" });
4440
4465
  }
4441
- TruncatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4442
- TruncatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TruncatePipe, name: "viTruncate" });
4443
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TruncatePipe, decorators: [{
4466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TruncatePipe, decorators: [{
4444
4467
  type: Pipe,
4445
4468
  args: [{
4446
4469
  name: 'viTruncate'
@@ -4448,6 +4471,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4448
4471
  }] });
4449
4472
 
4450
4473
  class TimePipe {
4474
+ // --------------------------------------------------------------------------
4475
+ //
4476
+ // Static Properties
4477
+ //
4478
+ // --------------------------------------------------------------------------
4479
+ static DEFAULT_FORMAT = '00:00:00';
4451
4480
  // --------------------------------------------------------------------------
4452
4481
  //
4453
4482
  // Public Methods
@@ -4463,16 +4492,10 @@ class TimePipe {
4463
4492
  }
4464
4493
  return FinancePipe.format(milliseconds / DateUtil.MILLISECONDS_SECOND, format);
4465
4494
  }
4495
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4496
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TimePipe, name: "viTime" });
4466
4497
  }
4467
- // --------------------------------------------------------------------------
4468
- //
4469
- // Static Properties
4470
- //
4471
- // --------------------------------------------------------------------------
4472
- TimePipe.DEFAULT_FORMAT = '00:00:00';
4473
- TimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4474
- TimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimePipe, name: "viTime" });
4475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePipe, decorators: [{
4498
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TimePipe, decorators: [{
4476
4499
  type: Pipe,
4477
4500
  args: [{
4478
4501
  name: 'viTime'
@@ -4494,6 +4517,21 @@ var QuestionEvent;
4494
4517
  })(QuestionEvent || (QuestionEvent = {}));
4495
4518
 
4496
4519
  class QuestionManager extends Destroyable {
4520
+ // --------------------------------------------------------------------------
4521
+ //
4522
+ // Properties
4523
+ //
4524
+ // --------------------------------------------------------------------------
4525
+ text;
4526
+ mode;
4527
+ options;
4528
+ notText;
4529
+ yesText;
4530
+ closeText;
4531
+ checkText;
4532
+ _isChecked = false;
4533
+ _closePromise;
4534
+ _yesNotPromise;
4497
4535
  // --------------------------------------------------------------------------
4498
4536
  //
4499
4537
  // Constructor
@@ -4501,7 +4539,6 @@ class QuestionManager extends Destroyable {
4501
4539
  // --------------------------------------------------------------------------
4502
4540
  constructor(options) {
4503
4541
  super();
4504
- this._isChecked = false;
4505
4542
  this._closePromise = PromiseHandler.create();
4506
4543
  this._yesNotPromise = PromiseHandler.create();
4507
4544
  this.yesText = 'Yes';
@@ -4583,6 +4620,30 @@ class QuestionManager extends Destroyable {
4583
4620
  }
4584
4621
 
4585
4622
  class PipeBaseService extends DestroyableContainer {
4623
+ language;
4624
+ sanitizer;
4625
+ // --------------------------------------------------------------------------
4626
+ //
4627
+ // Constants
4628
+ //
4629
+ // --------------------------------------------------------------------------
4630
+ static DATE = null;
4631
+ static TIME = null;
4632
+ static FINANCE = null;
4633
+ static PRETTIFY = null;
4634
+ static TRUNCATE = null;
4635
+ static SANITIZE = null;
4636
+ static CAMEL_CASE = null;
4637
+ static MOMENT_TIME = null;
4638
+ static MOMENT_DATE = null;
4639
+ static MOMENT_DATE_FROM_NOW = null;
4640
+ static MOMENT_ADAPTIVE_DATE = null;
4641
+ // --------------------------------------------------------------------------
4642
+ //
4643
+ // Properties
4644
+ //
4645
+ // --------------------------------------------------------------------------
4646
+ _locale;
4586
4647
  // --------------------------------------------------------------------------
4587
4648
  //
4588
4649
  // Constructor
@@ -4684,24 +4745,21 @@ class PipeBaseService extends DestroyableContainer {
4684
4745
  return this._locale;
4685
4746
  }
4686
4747
  }
4687
- // --------------------------------------------------------------------------
4688
- //
4689
- // Constants
4690
- //
4691
- // --------------------------------------------------------------------------
4692
- PipeBaseService.DATE = null;
4693
- PipeBaseService.TIME = null;
4694
- PipeBaseService.FINANCE = null;
4695
- PipeBaseService.PRETTIFY = null;
4696
- PipeBaseService.TRUNCATE = null;
4697
- PipeBaseService.SANITIZE = null;
4698
- PipeBaseService.CAMEL_CASE = null;
4699
- PipeBaseService.MOMENT_TIME = null;
4700
- PipeBaseService.MOMENT_DATE = null;
4701
- PipeBaseService.MOMENT_DATE_FROM_NOW = null;
4702
- PipeBaseService.MOMENT_ADAPTIVE_DATE = null;
4703
4748
 
4704
4749
  class RouterBaseService extends Loadable {
4750
+ _router;
4751
+ _route;
4752
+ window;
4753
+ // --------------------------------------------------------------------------
4754
+ //
4755
+ // Properties
4756
+ //
4757
+ // --------------------------------------------------------------------------
4758
+ params;
4759
+ extrasToApply;
4760
+ isNeedUpdateExtras = false;
4761
+ _lastUrl;
4762
+ _previousUrl;
4705
4763
  // --------------------------------------------------------------------------
4706
4764
  //
4707
4765
  // Constructor
@@ -4712,7 +4770,6 @@ class RouterBaseService extends Loadable {
4712
4770
  this._router = _router;
4713
4771
  this._route = _route;
4714
4772
  this.window = window;
4715
- this.isNeedUpdateExtras = false;
4716
4773
  this.params = new Map();
4717
4774
  this.observer = new Subject();
4718
4775
  this._lastUrl = this.url;
@@ -4931,6 +4988,16 @@ class CanDeactivateGuard {
4931
4988
  }
4932
4989
 
4933
4990
  class ThemeStyleDirective extends Destroyable {
4991
+ theme;
4992
+ // --------------------------------------------------------------------------
4993
+ //
4994
+ // Properties
4995
+ //
4996
+ // --------------------------------------------------------------------------
4997
+ _key;
4998
+ _flags;
4999
+ _styleName;
5000
+ element;
4934
5001
  // --------------------------------------------------------------------------
4935
5002
  //
4936
5003
  // Constructor
@@ -5021,15 +5088,15 @@ class ThemeStyleDirective extends Destroyable {
5021
5088
  this.stylePropertiesCheck();
5022
5089
  }
5023
5090
  }
5091
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
5092
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ThemeStyleDirective, selector: "[vi-theme-style]", inputs: { flags: "flags", styleName: "styleName", key: ["vi-theme-style", "key"] }, usesInheritance: true, ngImport: i0 });
5024
5093
  }
5025
- ThemeStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
5026
- ThemeStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ThemeStyleDirective, selector: "[vi-theme-style]", inputs: { flags: "flags", styleName: "styleName", key: ["vi-theme-style", "key"] }, usesInheritance: true, ngImport: i0 });
5027
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeStyleDirective, decorators: [{
5094
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeStyleDirective, decorators: [{
5028
5095
  type: Directive,
5029
5096
  args: [{
5030
5097
  selector: '[vi-theme-style]'
5031
5098
  }]
5032
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ThemeService }]; }, propDecorators: { flags: [{
5099
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }], propDecorators: { flags: [{
5033
5100
  type: Input
5034
5101
  }], styleName: [{
5035
5102
  type: Input
@@ -5039,6 +5106,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5039
5106
  }] } });
5040
5107
 
5041
5108
  class ThemeStyleHoverDirective extends ThemeStyleDirective {
5109
+ // --------------------------------------------------------------------------
5110
+ //
5111
+ // Properties
5112
+ //
5113
+ // --------------------------------------------------------------------------
5114
+ _isHover = false;
5042
5115
  // --------------------------------------------------------------------------
5043
5116
  //
5044
5117
  // Constructor
@@ -5046,23 +5119,6 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
5046
5119
  // --------------------------------------------------------------------------
5047
5120
  constructor(element, theme) {
5048
5121
  super(element, theme);
5049
- // --------------------------------------------------------------------------
5050
- //
5051
- // Properties
5052
- //
5053
- // --------------------------------------------------------------------------
5054
- this._isHover = false;
5055
- // --------------------------------------------------------------------------
5056
- //
5057
- // Event Handlers
5058
- //
5059
- // --------------------------------------------------------------------------
5060
- this.mouseEnter = (event) => {
5061
- this.isHover = true;
5062
- };
5063
- this.mouseLeave = (event) => {
5064
- this.isHover = false;
5065
- };
5066
5122
  this.flags = RendererStyleFlags2.Important;
5067
5123
  this.element.addEventListener('mouseenter', this.mouseEnter, false);
5068
5124
  this.element.addEventListener('mouseleave', this.mouseLeave, false);
@@ -5080,6 +5136,17 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
5080
5136
  }
5081
5137
  // --------------------------------------------------------------------------
5082
5138
  //
5139
+ // Event Handlers
5140
+ //
5141
+ // --------------------------------------------------------------------------
5142
+ mouseEnter = (event) => {
5143
+ this.isHover = true;
5144
+ };
5145
+ mouseLeave = (event) => {
5146
+ this.isHover = false;
5147
+ };
5148
+ // --------------------------------------------------------------------------
5149
+ //
5083
5150
  // Public Methods
5084
5151
  //
5085
5152
  // --------------------------------------------------------------------------
@@ -5124,15 +5191,15 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
5124
5191
  set flags(value) {
5125
5192
  super.flags = value;
5126
5193
  }
5194
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
5195
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ThemeStyleHoverDirective, selector: "[vi-theme-style-hover]", inputs: { key: ["vi-theme-style-hover", "key"], styleName: "styleName", flags: "flags" }, usesInheritance: true, ngImport: i0 });
5127
5196
  }
5128
- ThemeStyleHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
5129
- ThemeStyleHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ThemeStyleHoverDirective, selector: "[vi-theme-style-hover]", inputs: { key: ["vi-theme-style-hover", "key"], styleName: "styleName", flags: "flags" }, usesInheritance: true, ngImport: i0 });
5130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
5197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
5131
5198
  type: Directive,
5132
5199
  args: [{
5133
5200
  selector: '[vi-theme-style-hover]'
5134
5201
  }]
5135
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ThemeService }]; }, propDecorators: { key: [{
5202
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }], propDecorators: { key: [{
5136
5203
  type: Input,
5137
5204
  args: ['vi-theme-style-hover']
5138
5205
  }], styleName: [{
@@ -5142,6 +5209,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5142
5209
  }] } });
5143
5210
 
5144
5211
  class ThemeAssetDirective extends Destroyable {
5212
+ theme;
5213
+ themeAsset;
5214
+ // --------------------------------------------------------------------------
5215
+ //
5216
+ // Properties
5217
+ //
5218
+ // --------------------------------------------------------------------------
5219
+ _name;
5220
+ _source;
5221
+ _extension = 'png';
5222
+ _isFile = false;
5223
+ _isImage = false;
5224
+ _isVideo = false;
5225
+ _isSound = false;
5226
+ _isBackground = false;
5227
+ _isIgnoreTheme = true;
5228
+ element;
5229
+ isTriedThemeDefault;
5145
5230
  // --------------------------------------------------------------------------
5146
5231
  //
5147
5232
  // Constructor
@@ -5151,13 +5236,6 @@ class ThemeAssetDirective extends Destroyable {
5151
5236
  super();
5152
5237
  this.theme = theme;
5153
5238
  this.themeAsset = themeAsset;
5154
- this._extension = 'png';
5155
- this._isFile = false;
5156
- this._isImage = false;
5157
- this._isVideo = false;
5158
- this._isSound = false;
5159
- this._isBackground = false;
5160
- this._isIgnoreTheme = true;
5161
5239
  this.element = ViewUtil.parseElement(element.nativeElement);
5162
5240
  this.theme.changed.pipe(takeUntil(this.destroyed)).subscribe(() => {
5163
5241
  this.isTriedThemeDefault = false;
@@ -5348,12 +5426,12 @@ class ThemeAssetDirective extends Destroyable {
5348
5426
  this.setSourceProperties();
5349
5427
  }
5350
5428
  }
5429
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5430
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ThemeAssetDirective, inputs: { isSound: "isSound", isVideo: "isVideo", isFile: "isFile", isImage: "isImage", isBackground: "isBackground", isIgnoreTheme: "isIgnoreTheme", name: "name", extension: "extension" }, host: { listeners: { "error": "errorLoadingHandler($event)" } }, usesInheritance: true, ngImport: i0 });
5351
5431
  }
5352
- ThemeAssetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5353
- ThemeAssetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ThemeAssetDirective, inputs: { isSound: "isSound", isVideo: "isVideo", isFile: "isFile", isImage: "isImage", isBackground: "isBackground", isIgnoreTheme: "isIgnoreTheme", name: "name", extension: "extension" }, host: { listeners: { "error": "errorLoadingHandler($event)" } }, usesInheritance: true, ngImport: i0 });
5354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetDirective, decorators: [{
5432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetDirective, decorators: [{
5355
5433
  type: Directive
5356
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }]; }, propDecorators: { errorLoadingHandler: [{
5434
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { errorLoadingHandler: [{
5357
5435
  type: HostListener,
5358
5436
  args: ['error', ['$event']]
5359
5437
  }], isSound: [{
@@ -5407,15 +5485,15 @@ class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
5407
5485
  get name() {
5408
5486
  return super.name;
5409
5487
  }
5488
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5489
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ThemeAssetBackgroundDirective, selector: "[vi-theme-background]", inputs: { name: ["vi-theme-background", "name"] }, usesInheritance: true, ngImport: i0 });
5410
5490
  }
5411
- ThemeAssetBackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5412
- ThemeAssetBackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ThemeAssetBackgroundDirective, selector: "[vi-theme-background]", inputs: { name: ["vi-theme-background", "name"] }, usesInheritance: true, ngImport: i0 });
5413
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
5491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
5414
5492
  type: Directive,
5415
5493
  args: [{
5416
5494
  selector: '[vi-theme-background]'
5417
5495
  }]
5418
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }]; }, propDecorators: { name: [{
5496
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { name: [{
5419
5497
  type: Input,
5420
5498
  args: ['vi-theme-background']
5421
5499
  }] } });
@@ -5452,15 +5530,15 @@ class ThemeAssetImageDirective extends ThemeAssetDirective {
5452
5530
  get name() {
5453
5531
  return super.name;
5454
5532
  }
5533
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5534
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ThemeAssetImageDirective, selector: "[vi-theme-image]", inputs: { name: ["vi-theme-image", "name"] }, usesInheritance: true, ngImport: i0 });
5455
5535
  }
5456
- ThemeAssetImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5457
- ThemeAssetImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ThemeAssetImageDirective, selector: "[vi-theme-image]", inputs: { name: ["vi-theme-image", "name"] }, usesInheritance: true, ngImport: i0 });
5458
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
5536
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
5459
5537
  type: Directive,
5460
5538
  args: [{
5461
5539
  selector: '[vi-theme-image]'
5462
5540
  }]
5463
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }]; }, propDecorators: { name: [{
5541
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { name: [{
5464
5542
  type: Input,
5465
5543
  args: ['vi-theme-image']
5466
5544
  }] } });
@@ -5496,20 +5574,21 @@ class ThemeAssetIconDirective extends ThemeAssetDirective {
5496
5574
  get name() {
5497
5575
  return super.name;
5498
5576
  }
5577
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetIconDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5578
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ThemeAssetIconDirective, selector: "[vi-theme-icon]", inputs: { name: ["vi-theme-icon", "name"] }, usesInheritance: true, ngImport: i0 });
5499
5579
  }
5500
- ThemeAssetIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetIconDirective, deps: [{ token: i0.ElementRef }, { token: i1.ThemeService }, { token: i1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
5501
- ThemeAssetIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ThemeAssetIconDirective, selector: "[vi-theme-icon]", inputs: { name: ["vi-theme-icon", "name"] }, usesInheritance: true, ngImport: i0 });
5502
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeAssetIconDirective, decorators: [{
5580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeAssetIconDirective, decorators: [{
5503
5581
  type: Directive,
5504
5582
  args: [{
5505
5583
  selector: '[vi-theme-icon]'
5506
5584
  }]
5507
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }]; }, propDecorators: { name: [{
5585
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ThemeService }, { type: i1.ThemeAssetService }], propDecorators: { name: [{
5508
5586
  type: Input,
5509
5587
  args: ['vi-theme-icon']
5510
5588
  }] } });
5511
5589
 
5512
5590
  class ThemeToggleDirective extends Destroyable {
5591
+ theme;
5513
5592
  // --------------------------------------------------------------------------
5514
5593
  //
5515
5594
  // Constructor
@@ -5554,15 +5633,15 @@ class ThemeToggleDirective extends Destroyable {
5554
5633
  super.destroy();
5555
5634
  this.theme = null;
5556
5635
  }
5636
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
5637
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: ThemeToggleDirective, selector: "[vi-theme-toggle]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
5557
5638
  }
5558
- ThemeToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
5559
- ThemeToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ThemeToggleDirective, selector: "[vi-theme-toggle]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
5560
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeToggleDirective, decorators: [{
5639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeToggleDirective, decorators: [{
5561
5640
  type: Directive,
5562
5641
  args: [{
5563
5642
  selector: '[vi-theme-toggle]'
5564
5643
  }]
5565
- }], ctorParameters: function () { return [{ type: i1.ThemeService }]; }, propDecorators: { clickHandler: [{
5644
+ }], ctorParameters: () => [{ type: i1.ThemeService }], propDecorators: { clickHandler: [{
5566
5645
  type: HostListener,
5567
5646
  args: ['click', ['$event']]
5568
5647
  }] } });
@@ -5602,21 +5681,21 @@ class ThemeModule {
5602
5681
  ]
5603
5682
  };
5604
5683
  }
5684
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5685
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: ThemeModule, declarations: [ThemeToggleDirective,
5686
+ ThemeAssetImageDirective,
5687
+ ThemeAssetIconDirective,
5688
+ ThemeAssetBackgroundDirective,
5689
+ ThemeStyleDirective,
5690
+ ThemeStyleHoverDirective], imports: [CookieModule], exports: [ThemeToggleDirective,
5691
+ ThemeAssetImageDirective,
5692
+ ThemeAssetIconDirective,
5693
+ ThemeAssetBackgroundDirective,
5694
+ ThemeStyleDirective,
5695
+ ThemeStyleHoverDirective] });
5696
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeModule, imports: [CookieModule] });
5605
5697
  }
5606
- ThemeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5607
- ThemeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ThemeModule, declarations: [ThemeToggleDirective,
5608
- ThemeAssetImageDirective,
5609
- ThemeAssetIconDirective,
5610
- ThemeAssetBackgroundDirective,
5611
- ThemeStyleDirective,
5612
- ThemeStyleHoverDirective], imports: [CookieModule], exports: [ThemeToggleDirective,
5613
- ThemeAssetImageDirective,
5614
- ThemeAssetIconDirective,
5615
- ThemeAssetBackgroundDirective,
5616
- ThemeStyleDirective,
5617
- ThemeStyleHoverDirective] });
5618
- ThemeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeModule, imports: [CookieModule] });
5619
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ThemeModule, decorators: [{
5698
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ThemeModule, decorators: [{
5620
5699
  type: NgModule,
5621
5700
  args: [{
5622
5701
  imports: [CookieModule],
@@ -5636,9 +5715,23 @@ function themeAssetServiceFactory(theme) {
5636
5715
  const THEME_OPTIONS = new InjectionToken(`THEME_OPTIONS`);
5637
5716
 
5638
5717
  class IUser {
5718
+ // --------------------------------------------------------------------------
5719
+ //
5720
+ // Constants
5721
+ //
5722
+ // --------------------------------------------------------------------------
5723
+ id;
5639
5724
  }
5640
5725
 
5641
5726
  class UserBaseService extends DestroyableContainer {
5727
+ login;
5728
+ // --------------------------------------------------------------------------
5729
+ //
5730
+ // Properties
5731
+ //
5732
+ // --------------------------------------------------------------------------
5733
+ _user;
5734
+ observer;
5642
5735
  // --------------------------------------------------------------------------
5643
5736
  //
5644
5737
  // Constructor
@@ -5750,22 +5843,20 @@ var UserBaseServiceEvent;
5750
5843
  })(UserBaseServiceEvent || (UserBaseServiceEvent = {}));
5751
5844
 
5752
5845
  class IWindow extends Destroyable {
5753
- constructor() {
5754
- // --------------------------------------------------------------------------
5755
- //
5756
- // Public Methods
5757
- //
5758
- // --------------------------------------------------------------------------
5759
- super(...arguments);
5760
- // --------------------------------------------------------------------------
5761
- //
5762
- // Public Properties
5763
- //
5764
- // --------------------------------------------------------------------------
5765
- this.isOnTop = false;
5766
- this.isDisabled = false;
5767
- this.isMinimized = false;
5768
- }
5846
+ // --------------------------------------------------------------------------
5847
+ //
5848
+ // Public Properties
5849
+ //
5850
+ // --------------------------------------------------------------------------
5851
+ isOnTop = false;
5852
+ isDisabled = false;
5853
+ isMinimized = false;
5854
+ events;
5855
+ container;
5856
+ wrapper;
5857
+ backdrop;
5858
+ config;
5859
+ content;
5769
5860
  }
5770
5861
  var WindowEvent;
5771
5862
  (function (WindowEvent) {
@@ -5789,24 +5880,6 @@ var WindowAlign;
5789
5880
  })(WindowAlign || (WindowAlign = {}));
5790
5881
 
5791
5882
  class WindowBase extends DestroyableContainer {
5792
- // --------------------------------------------------------------------------
5793
- //
5794
- // Constructor
5795
- //
5796
- // --------------------------------------------------------------------------
5797
- constructor() {
5798
- super();
5799
- // --------------------------------------------------------------------------
5800
- //
5801
- // Properties
5802
- //
5803
- // --------------------------------------------------------------------------
5804
- this._x = NaN;
5805
- this._width = NaN;
5806
- this._y = NaN;
5807
- this._height = NaN;
5808
- this.updatePosition = () => this.setPosition();
5809
- }
5810
5883
  // --------------------------------------------------------------------------
5811
5884
  //
5812
5885
  // Static Methods
@@ -5832,6 +5905,23 @@ class WindowBase extends DestroyableContainer {
5832
5905
  value = Math.min(value, config.elementMaxHeight);
5833
5906
  return value;
5834
5907
  }
5908
+ // --------------------------------------------------------------------------
5909
+ //
5910
+ // Properties
5911
+ //
5912
+ // --------------------------------------------------------------------------
5913
+ _x = NaN;
5914
+ _width = NaN;
5915
+ _y = NaN;
5916
+ _height = NaN;
5917
+ // --------------------------------------------------------------------------
5918
+ //
5919
+ // Constructor
5920
+ //
5921
+ // --------------------------------------------------------------------------
5922
+ constructor() {
5923
+ super();
5924
+ }
5835
5925
  setProperties() {
5836
5926
  let config = this.getConfig();
5837
5927
  if (!_.isNaN(config.defaultWidth)) {
@@ -5882,6 +5972,7 @@ class WindowBase extends DestroyableContainer {
5882
5972
  }
5883
5973
  commitSizeProperties() { }
5884
5974
  commitPositionProperties() { }
5975
+ updatePosition = () => this.setPosition();
5885
5976
  // --------------------------------------------------------------------------
5886
5977
  //
5887
5978
  // Public Methods
@@ -5962,38 +6053,59 @@ class WindowBase extends DestroyableContainer {
5962
6053
  }
5963
6054
 
5964
6055
  class WindowConfig {
6056
+ // --------------------------------------------------------------------------
6057
+ //
6058
+ // Properties
6059
+ //
6060
+ // --------------------------------------------------------------------------
6061
+ id;
6062
+ isModal = false;
6063
+ isExpandable = false;
6064
+ isResizeable = false;
6065
+ isMinimizable = false;
6066
+ isDisableClose = false;
6067
+ isContentDragable = true;
6068
+ x = NaN;
6069
+ y = NaN;
6070
+ data;
6071
+ propertiesId;
6072
+ width;
6073
+ minWidth;
6074
+ maxWidth;
6075
+ defaultWidth = NaN;
6076
+ defaultMinWidth = NaN;
6077
+ defaultMaxWidth = NaN;
6078
+ height;
6079
+ minHeight;
6080
+ maxHeight;
6081
+ defaultHeight = NaN;
6082
+ defaultMinHeight = NaN;
6083
+ defaultMaxHeight = NaN;
6084
+ paddingTop = NaN;
6085
+ paddingLeft = NaN;
6086
+ paddingRight = NaN;
6087
+ paddingBottom = NaN;
6088
+ autoFocus;
6089
+ restoreFocus;
6090
+ delayFocusTrap;
6091
+ verticalAlign;
6092
+ horizontalAlign;
6093
+ _elementMaxX = NaN;
6094
+ _elementMinX = NaN;
6095
+ _elementMaxY = NaN;
6096
+ _elementMinY = NaN;
6097
+ _elementWidth;
6098
+ _elementMinWidth = NaN;
6099
+ _elementMaxWidth = NaN;
6100
+ _elementHeight;
6101
+ _elementMinHeight = NaN;
6102
+ _elementMaxHeight = NaN;
5965
6103
  // --------------------------------------------------------------------------
5966
6104
  //
5967
6105
  // Constructor
5968
6106
  //
5969
6107
  // --------------------------------------------------------------------------
5970
6108
  constructor(isModal = false, isResizeable = false, width = NaN, height = NaN) {
5971
- this.isModal = false;
5972
- this.isExpandable = false;
5973
- this.isResizeable = false;
5974
- this.isMinimizable = false;
5975
- this.isDisableClose = false;
5976
- this.isContentDragable = true;
5977
- this.x = NaN;
5978
- this.y = NaN;
5979
- this.defaultWidth = NaN;
5980
- this.defaultMinWidth = NaN;
5981
- this.defaultMaxWidth = NaN;
5982
- this.defaultHeight = NaN;
5983
- this.defaultMinHeight = NaN;
5984
- this.defaultMaxHeight = NaN;
5985
- this.paddingTop = NaN;
5986
- this.paddingLeft = NaN;
5987
- this.paddingRight = NaN;
5988
- this.paddingBottom = NaN;
5989
- this._elementMaxX = NaN;
5990
- this._elementMinX = NaN;
5991
- this._elementMaxY = NaN;
5992
- this._elementMinY = NaN;
5993
- this._elementMinWidth = NaN;
5994
- this._elementMaxWidth = NaN;
5995
- this._elementMinHeight = NaN;
5996
- this._elementMaxHeight = NaN;
5997
6109
  this.isModal = isModal;
5998
6110
  this.isResizeable = isResizeable;
5999
6111
  if (!_.isNaN(width)) {
@@ -6168,6 +6280,13 @@ var WindowServiceEvent;
6168
6280
  })(WindowServiceEvent || (WindowServiceEvent = {}));
6169
6281
 
6170
6282
  class IWindowContent extends DestroyableContainer {
6283
+ container;
6284
+ // --------------------------------------------------------------------------
6285
+ //
6286
+ // Properties=
6287
+ //
6288
+ // --------------------------------------------------------------------------
6289
+ _window;
6171
6290
  // --------------------------------------------------------------------------
6172
6291
  //
6173
6292
  // Constructor
@@ -6279,18 +6398,18 @@ class IWindowContent extends DestroyableContainer {
6279
6398
  this.commitWindowProperties();
6280
6399
  }
6281
6400
  }
6401
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IWindowContent, deps: [{ token: WINDOW_CONTENT_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
6402
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: IWindowContent, selector: "ng-component", inputs: { isDisabled: "isDisabled", window: "window" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
6282
6403
  }
6283
- IWindowContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IWindowContent, deps: [{ token: WINDOW_CONTENT_CONTAINER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
6284
- IWindowContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IWindowContent, selector: "ng-component", inputs: { isDisabled: "isDisabled", window: "window" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
6285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IWindowContent, decorators: [{
6404
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: IWindowContent, decorators: [{
6286
6405
  type: Component,
6287
6406
  args: [{ template: '' }]
6288
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
6407
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
6289
6408
  type: Optional
6290
6409
  }, {
6291
6410
  type: Inject,
6292
6411
  args: [WINDOW_CONTENT_CONTAINER]
6293
- }] }]; }, propDecorators: { isDisabled: [{
6412
+ }] }], propDecorators: { isDisabled: [{
6294
6413
  type: Input
6295
6414
  }], window: [{
6296
6415
  type: Input
@@ -6298,6 +6417,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6298
6417
  const WINDOW_CONTENT_CONTAINER = new InjectionToken('WINDOW_CONTENT_CONTAINER');
6299
6418
 
6300
6419
  class WindowClosedError extends ExtendedError {
6420
+ // --------------------------------------------------------------------------
6421
+ //
6422
+ // Static Methods
6423
+ //
6424
+ // --------------------------------------------------------------------------
6425
+ static CODE = ExtendedError.DEFAULT_ERROR_CODE;
6426
+ static MESSAGE = 'WINDOW_CLOSED';
6301
6427
  // --------------------------------------------------------------------------
6302
6428
  //
6303
6429
  // Constructor
@@ -6307,15 +6433,17 @@ class WindowClosedError extends ExtendedError {
6307
6433
  super(message, code);
6308
6434
  }
6309
6435
  }
6310
- // --------------------------------------------------------------------------
6311
- //
6312
- // Static Methods
6313
- //
6314
- // --------------------------------------------------------------------------
6315
- WindowClosedError.CODE = ExtendedError.DEFAULT_ERROR_CODE;
6316
- WindowClosedError.MESSAGE = 'WINDOW_CLOSED';
6317
6436
 
6318
6437
  class INotification {
6438
+ // --------------------------------------------------------------------------
6439
+ //
6440
+ // Interface Methods
6441
+ //
6442
+ // --------------------------------------------------------------------------
6443
+ events;
6444
+ container;
6445
+ config;
6446
+ content;
6319
6447
  }
6320
6448
  var NotificationEvent;
6321
6449
  (function (NotificationEvent) {
@@ -6323,6 +6451,15 @@ var NotificationEvent;
6323
6451
  })(NotificationEvent || (NotificationEvent = {}));
6324
6452
 
6325
6453
  class INotificationContent extends DestroyableContainer {
6454
+ container;
6455
+ // --------------------------------------------------------------------------
6456
+ //
6457
+ // Properties
6458
+ //
6459
+ // --------------------------------------------------------------------------
6460
+ timer;
6461
+ _config;
6462
+ _notification;
6326
6463
  // --------------------------------------------------------------------------
6327
6464
  //
6328
6465
  // Constructor
@@ -6331,7 +6468,6 @@ class INotificationContent extends DestroyableContainer {
6331
6468
  constructor(container) {
6332
6469
  super();
6333
6470
  this.container = container;
6334
- this.timerHandler = () => this.handleCloseClick();
6335
6471
  }
6336
6472
  // --------------------------------------------------------------------------
6337
6473
  //
@@ -6353,6 +6489,7 @@ class INotificationContent extends DestroyableContainer {
6353
6489
  this.timer = null;
6354
6490
  }
6355
6491
  }
6492
+ timerHandler = () => this.handleCloseClick();
6356
6493
  // --------------------------------------------------------------------------
6357
6494
  //
6358
6495
  // Public Methods
@@ -6439,17 +6576,28 @@ class INotificationContent extends DestroyableContainer {
6439
6576
  get config() {
6440
6577
  return this._config;
6441
6578
  }
6579
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: INotificationContent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
6580
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.8", type: INotificationContent, selector: "ng-component", inputs: { config: "config" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
6442
6581
  }
6443
- INotificationContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: INotificationContent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
6444
- INotificationContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: INotificationContent, selector: "ng-component", inputs: { config: "config" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
6445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: INotificationContent, decorators: [{
6582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: INotificationContent, decorators: [{
6446
6583
  type: Component,
6447
6584
  args: [{ template: '' }]
6448
- }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { config: [{
6585
+ }], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { config: [{
6449
6586
  type: Input
6450
6587
  }] } });
6451
6588
 
6452
6589
  class NotificationConfig extends WindowConfig {
6590
+ // --------------------------------------------------------------------------
6591
+ //
6592
+ // Properties
6593
+ //
6594
+ // --------------------------------------------------------------------------
6595
+ icon;
6596
+ sound;
6597
+ iconId;
6598
+ picture;
6599
+ closeDuration;
6600
+ isRemoveAfterClose;
6453
6601
  // --------------------------------------------------------------------------
6454
6602
  //
6455
6603
  // Constructor
@@ -6479,6 +6627,7 @@ class BottomSheetService extends Destroyable {
6479
6627
  }
6480
6628
 
6481
6629
  class LocalStorageService extends DestroyableContainer {
6630
+ nativeWindow;
6482
6631
  //--------------------------------------------------------------------------
6483
6632
  //
6484
6633
  // Constructor
@@ -6534,15 +6683,12 @@ class LocalStorageService extends DestroyableContainer {
6534
6683
  }
6535
6684
 
6536
6685
  class DateValueStorage extends ValueStorage {
6537
- constructor() {
6538
- //--------------------------------------------------------------------------
6539
- //
6540
- // Public Methods
6541
- //
6542
- //--------------------------------------------------------------------------
6543
- super(...arguments);
6544
- this.defaultExpirationDelta = 0;
6545
- }
6686
+ //--------------------------------------------------------------------------
6687
+ //
6688
+ // Public Methods
6689
+ //
6690
+ //--------------------------------------------------------------------------
6691
+ defaultExpirationDelta = 0;
6546
6692
  //--------------------------------------------------------------------------
6547
6693
  //
6548
6694
  // Protected Methods
@@ -6594,6 +6740,14 @@ class BooleanValueStorage extends ValueStorage {
6594
6740
  }
6595
6741
 
6596
6742
  class LazyModuleLoader extends Loadable {
6743
+ compiler;
6744
+ injector;
6745
+ //--------------------------------------------------------------------------
6746
+ //
6747
+ // Properties
6748
+ //
6749
+ //--------------------------------------------------------------------------
6750
+ _modules;
6597
6751
  //--------------------------------------------------------------------------
6598
6752
  //
6599
6753
  // Constructor
@@ -6667,15 +6821,21 @@ class LazyModuleLoader extends Loadable {
6667
6821
  get modules() {
6668
6822
  return this._modules;
6669
6823
  }
6824
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LazyModuleLoader, deps: [{ token: i0.Compiler }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
6825
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LazyModuleLoader, providedIn: 'root' });
6670
6826
  }
6671
- LazyModuleLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LazyModuleLoader, deps: [{ token: i0.Compiler }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
6672
- LazyModuleLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LazyModuleLoader, providedIn: 'root' });
6673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LazyModuleLoader, decorators: [{
6827
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: LazyModuleLoader, decorators: [{
6674
6828
  type: Injectable,
6675
6829
  args: [{ providedIn: 'root' }]
6676
- }], ctorParameters: function () { return [{ type: i0.Compiler }, { type: i0.Injector }]; } });
6830
+ }], ctorParameters: () => [{ type: i0.Compiler }, { type: i0.Injector }] });
6677
6831
 
6678
6832
  class TransportLazyModuleLoadedEvent extends TransportEvent {
6833
+ // --------------------------------------------------------------------------
6834
+ //
6835
+ // Public Static Properties
6836
+ //
6837
+ // --------------------------------------------------------------------------
6838
+ static NAME = 'TransportLazyModuleLoadedEvent';
6679
6839
  // --------------------------------------------------------------------------
6680
6840
  //
6681
6841
  // Constructor
@@ -6685,14 +6845,9 @@ class TransportLazyModuleLoadedEvent extends TransportEvent {
6685
6845
  super(TransportLazyModuleLoadedEvent.NAME, request);
6686
6846
  }
6687
6847
  }
6688
- // --------------------------------------------------------------------------
6689
- //
6690
- // Public Static Properties
6691
- //
6692
- // --------------------------------------------------------------------------
6693
- TransportLazyModuleLoadedEvent.NAME = 'TransportLazyModuleLoadedEvent';
6694
6848
 
6695
6849
  class TransportLazy extends TransportLocal {
6850
+ loader;
6696
6851
  // --------------------------------------------------------------------------
6697
6852
  //
6698
6853
  // Constructor
@@ -6782,6 +6937,8 @@ class TransportLazy extends TransportLocal {
6782
6937
  }
6783
6938
 
6784
6939
  class TransportLazyModule {
6940
+ reference;
6941
+ transport;
6785
6942
  //--------------------------------------------------------------------------
6786
6943
  //
6787
6944
  // Constructor
@@ -6868,61 +7025,61 @@ class VIModule {
6868
7025
  ]
6869
7026
  };
6870
7027
  }
7028
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: VIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7029
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: VIModule, declarations: [TimePipe,
7030
+ FinancePipe,
7031
+ SanitizePipe,
7032
+ TruncatePipe,
7033
+ PrettifyPipe,
7034
+ CamelCasePipe,
7035
+ StartCasePipe,
7036
+ NgModelErrorPipe,
7037
+ IsServerDirective,
7038
+ IsBrowserDirective,
7039
+ MomentDatePipe,
7040
+ MomentTimePipe,
7041
+ MomentDateFromNowPipe,
7042
+ MomentDateAdaptivePipe,
7043
+ FocusDirective,
7044
+ ResizeDirective,
7045
+ ScrollDirective,
7046
+ ScrollCheckDirective,
7047
+ ClickToCopyDirective,
7048
+ SelectOnFocusDirective,
7049
+ ClickToSelectDirective,
7050
+ InfiniteScrollDirective,
7051
+ HTMLTitleDirective,
7052
+ HTMLContentTitleDirective,
7053
+ AutoScrollBottomDirective,
7054
+ AspectRatioResizeDirective], imports: [CookieModule, ThemeModule, LanguageModule, AssetModule], exports: [CookieModule, ThemeModule, LanguageModule, AssetModule, TimePipe,
7055
+ FinancePipe,
7056
+ SanitizePipe,
7057
+ TruncatePipe,
7058
+ PrettifyPipe,
7059
+ CamelCasePipe,
7060
+ StartCasePipe,
7061
+ NgModelErrorPipe,
7062
+ IsServerDirective,
7063
+ IsBrowserDirective,
7064
+ MomentDatePipe,
7065
+ MomentTimePipe,
7066
+ MomentDateFromNowPipe,
7067
+ MomentDateAdaptivePipe,
7068
+ FocusDirective,
7069
+ ResizeDirective,
7070
+ ScrollDirective,
7071
+ ScrollCheckDirective,
7072
+ ClickToCopyDirective,
7073
+ SelectOnFocusDirective,
7074
+ ClickToSelectDirective,
7075
+ InfiniteScrollDirective,
7076
+ HTMLTitleDirective,
7077
+ HTMLContentTitleDirective,
7078
+ AutoScrollBottomDirective,
7079
+ AspectRatioResizeDirective] });
7080
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: VIModule, imports: [imports, CookieModule, ThemeModule, LanguageModule, AssetModule] });
6871
7081
  }
6872
- VIModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VIModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6873
- VIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: VIModule, declarations: [TimePipe,
6874
- FinancePipe,
6875
- SanitizePipe,
6876
- TruncatePipe,
6877
- PrettifyPipe,
6878
- CamelCasePipe,
6879
- StartCasePipe,
6880
- NgModelErrorPipe,
6881
- IsServerDirective,
6882
- IsBrowserDirective,
6883
- MomentDatePipe,
6884
- MomentTimePipe,
6885
- MomentDateFromNowPipe,
6886
- MomentDateAdaptivePipe,
6887
- FocusDirective,
6888
- ResizeDirective,
6889
- ScrollDirective,
6890
- ScrollCheckDirective,
6891
- ClickToCopyDirective,
6892
- SelectOnFocusDirective,
6893
- ClickToSelectDirective,
6894
- InfiniteScrollDirective,
6895
- HTMLTitleDirective,
6896
- HTMLContentTitleDirective,
6897
- AutoScrollBottomDirective,
6898
- AspectRatioResizeDirective], imports: [CookieModule, ThemeModule, LanguageModule, AssetModule], exports: [CookieModule, ThemeModule, LanguageModule, AssetModule, TimePipe,
6899
- FinancePipe,
6900
- SanitizePipe,
6901
- TruncatePipe,
6902
- PrettifyPipe,
6903
- CamelCasePipe,
6904
- StartCasePipe,
6905
- NgModelErrorPipe,
6906
- IsServerDirective,
6907
- IsBrowserDirective,
6908
- MomentDatePipe,
6909
- MomentTimePipe,
6910
- MomentDateFromNowPipe,
6911
- MomentDateAdaptivePipe,
6912
- FocusDirective,
6913
- ResizeDirective,
6914
- ScrollDirective,
6915
- ScrollCheckDirective,
6916
- ClickToCopyDirective,
6917
- SelectOnFocusDirective,
6918
- ClickToSelectDirective,
6919
- InfiniteScrollDirective,
6920
- HTMLTitleDirective,
6921
- HTMLContentTitleDirective,
6922
- AutoScrollBottomDirective,
6923
- AspectRatioResizeDirective] });
6924
- VIModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VIModule, imports: [imports, CookieModule, ThemeModule, LanguageModule, AssetModule] });
6925
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VIModule, decorators: [{
7082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: VIModule, decorators: [{
6926
7083
  type: NgModule,
6927
7084
  args: [{
6928
7085
  imports,
@@ -6931,6 +7088,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6931
7088
  }]
6932
7089
  }] });
6933
7090
  class IVIOptions extends ICookieOptions {
7091
+ loggerLevel;
7092
+ themeOptions;
7093
+ languageOptions;
6934
7094
  }
6935
7095
  function initializerFactory(nativeWindow, rendererFactory2) {
6936
7096
  ViewUtil.renderer = rendererFactory2.createRenderer(null, null);
@@ -6957,5 +7117,5 @@ const VI_ANGULAR_OPTIONS = new InjectionToken(`VI_ANGULAR_OPTIONS`);
6957
7117
  * Generated bundle index. Do not edit.
6958
7118
  */
6959
7119
 
6960
- export { APPLICATION_INJECTOR, ApplicationBaseComponent, ApplicationComponent, AspectRatioResizeDirective, AssetBackgroundDirective, AssetBackgroundPipe, AssetFilePipe, AssetIconPipe, AssetImagePipe, AssetModule, AssetSoundPipe, AssetVideoPipe, AutoScrollBottomDirective, BooleanValueStorage, BottomSheetService, COOKIE_OPTIONS, CamelCasePipe, CanDeactivateGuard, ClickToCopyDirective, ClickToSelectDirective, CookieModule, CookieOptions, CookieService, DateValueStorage, Direction, FinancePipe, FocusDirective, FocusManager, FormElementAsync, FormElementSync, HTMLContentTitleDirective, HTMLTitleDirective, INotification, INotificationContent, IUser, IVIOptions, IWindow, IWindowContent, InfiniteScrollDirective, IsBrowserDirective, IsServerDirective, LANGUAGE_OPTIONS, LanguageDirective, LanguageHasDirective, LanguageModule, LanguagePipe, LanguagePipeHas, LanguagePipeHasPure, LanguagePipePure, LanguageRequireResolver, LanguageResolver, LazyModuleLoader, ListItem, ListItems, LocalStorageService, LoginBaseService, LoginBaseServiceEvent, LoginGuard, LoginIfCanGuard, LoginNotGuard, LoginRequireResolver, LoginResolver, LoginTokenStorage, MenuItem, MenuItemBase, MenuItems, MessageBaseComponent, MomentDateAdaptivePipe, MomentDateFromNowPipe, MomentDatePipe, MomentTimePipe, NavigationMenuItem, NgModelErrorPipe, NotificationConfig, NotificationEvent, NotificationService, NotificationServiceEvent, PipeBaseService, PlatformService, PrettifyPipe, QuestionEvent, QuestionManager, QuestionMode, ResizeDirective, ResizeManager, RouterBaseService, RouterSelectListItems, SanitizePipe, ScrollCheckDirective, ScrollDirective, SelectListItem, SelectListItems, SelectOnFocusDirective, StartCasePipe, StructureDirective, THEME_OPTIONS, ThemeAssetBackgroundDirective, ThemeAssetDirective, ThemeAssetIconDirective, ThemeAssetImageDirective, ThemeModule, ThemeStyleDirective, ThemeStyleHoverDirective, ThemeToggleDirective, TimePipe, TransportLazy, TransportLazyModule, TransportLazyModuleLoadedEvent, TruncatePipe, UserBaseService, UserBaseServiceEvent, VIModule, VI_ANGULAR_OPTIONS, ValueStorage, ViewUtil, WINDOW_CONTENT_CONTAINER, WindowAlign, WindowBase, WindowClosedError, WindowConfig, WindowEvent, WindowService, WindowServiceEvent, cookieServiceFactory, initializerFactory, languageServiceFactory, localStorageServiceFactory, loggerServiceFactory, loginTokenStorageServiceFactory, nativeWindowServiceFactory, themeAssetServiceFactory, themeServiceFactory };
7120
+ export { APPLICATION_INJECTOR, ApplicationBaseComponent, ApplicationComponent, AspectRatioResizeDirective, AssetBackgroundDirective, AssetBackgroundPipe, AssetFilePipe, AssetIconPipe, AssetImagePipe, AssetModule, AssetSoundPipe, AssetVideoPipe, AutoScrollBottomDirective, BooleanValueStorage, BottomSheetService, COOKIE_OPTIONS, CamelCasePipe, CanDeactivateGuard, ClickToCopyDirective, ClickToSelectDirective, CookieModule, CookieOptions, CookieService, DateValueStorage, Direction, FinancePipe, FocusDirective, FocusManager, HTMLContentTitleDirective, HTMLTitleDirective, INotification, INotificationContent, IUser, IVIOptions, IWindow, IWindowContent, InfiniteScrollDirective, IsBrowserDirective, IsServerDirective, LANGUAGE_OPTIONS, LanguageDirective, LanguageHasDirective, LanguageModule, LanguagePipe, LanguagePipeHas, LanguagePipeHasPure, LanguagePipePure, LanguageRequireResolver, LanguageResolver, LazyModuleLoader, ListItem, ListItems, LocalStorageService, LoginBaseService, LoginBaseServiceEvent, LoginGuard, LoginIfCanGuard, LoginNotGuard, LoginRequireResolver, LoginResolver, LoginTokenStorage, MenuItem, MenuItemBase, MenuItems, MessageBaseComponent, MomentDateAdaptivePipe, MomentDateFromNowPipe, MomentDatePipe, MomentTimePipe, NavigationMenuItem, NgModelErrorPipe, NotificationConfig, NotificationEvent, NotificationService, NotificationServiceEvent, PipeBaseService, PlatformService, PrettifyPipe, QuestionEvent, QuestionManager, QuestionMode, ResizeDirective, ResizeManager, RouterBaseService, RouterSelectListItems, SanitizePipe, ScrollCheckDirective, ScrollDirective, SelectListItem, SelectListItems, SelectOnFocusDirective, StartCasePipe, StructureDirective, THEME_OPTIONS, ThemeAssetBackgroundDirective, ThemeAssetDirective, ThemeAssetIconDirective, ThemeAssetImageDirective, ThemeModule, ThemeStyleDirective, ThemeStyleHoverDirective, ThemeToggleDirective, TimePipe, TransportLazy, TransportLazyModule, TransportLazyModuleLoadedEvent, TruncatePipe, UserBaseService, UserBaseServiceEvent, VIModule, VI_ANGULAR_OPTIONS, ValueStorage, ViewUtil, WINDOW_CONTENT_CONTAINER, WindowAlign, WindowBase, WindowClosedError, WindowConfig, WindowEvent, WindowService, WindowServiceEvent, cookieServiceFactory, initializerFactory, languageServiceFactory, localStorageServiceFactory, loggerServiceFactory, loginTokenStorageServiceFactory, nativeWindowServiceFactory, themeAssetServiceFactory, themeServiceFactory };
6961
7121
  //# sourceMappingURL=ts-core-angular.mjs.map