@magic-xpa/angular 4.800.0 → 4.801.0-dev000.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/esm2020/index.mjs +57 -0
  2. package/{esm2015/magic-xpa-angular.js → esm2020/magic-xpa-angular.mjs} +0 -0
  3. package/esm2020/src/controls.metadata.model.mjs +180 -0
  4. package/{esm2015/src/interfaces/sub-form-definition.iterface.js → esm2020/src/interfaces/sub-form-definition.iterface.mjs} +1 -0
  5. package/esm2020/src/magic.core.module.mjs +157 -0
  6. package/{esm2015/src/services/ISubformMagicService.js → esm2020/src/services/ISubformMagicService.mjs} +1 -0
  7. package/esm2020/src/services/OverlayWindowService.mjs +208 -0
  8. package/esm2020/src/services/StylesMapManager.mjs +28 -0
  9. package/esm2020/src/services/accessor.magic.service.mjs +302 -0
  10. package/{esm2015/src/services/commands-collector.magic.service.js → esm2020/src/services/commands-collector.magic.service.mjs} +7 -4
  11. package/esm2020/src/services/component-list.magic.service.mjs +46 -0
  12. package/{esm2015/src/services/confirmation.components.magic.provider.js → esm2020/src/services/confirmation.components.magic.provider.mjs} +2 -2
  13. package/esm2020/src/services/engine.magic.service.mjs +82 -0
  14. package/{esm2015/src/services/exit.magic.service.js → esm2020/src/services/exit.magic.service.mjs} +2 -2
  15. package/esm2020/src/services/magic.lazy.loader.service.mjs +16 -0
  16. package/{esm2015/src/services/magic.providers.js → esm2020/src/services/magic.providers.mjs} +0 -0
  17. package/{esm2015/src/services/magic.services.js → esm2020/src/services/magic.services.mjs} +2 -2
  18. package/{esm2015/src/services/mg-date-adapter.js → esm2020/src/services/mg-date-adapter.mjs} +2 -2
  19. package/{esm2015/src/services/overlay.conainer.magic.provider.js → esm2020/src/services/overlay.conainer.magic.provider.mjs} +2 -2
  20. package/esm2020/src/services/router-commands.magic.service.mjs +28 -0
  21. package/esm2020/src/services/subform.magic.service.mjs +185 -0
  22. package/{esm2015/src/services/table.magic.service.js → esm2020/src/services/table.magic.service.mjs} +2 -2
  23. package/esm2020/src/services/task.magics.service.mjs +611 -0
  24. package/{esm2015/src/services/title.magic.service.js → esm2020/src/services/title.magic.service.mjs} +2 -2
  25. package/esm2020/src/ui/GuiInteractiveExecutor.mjs +98 -0
  26. package/{esm2015/src/ui/components/base-magic-alert.component.js → esm2020/src/ui/components/base-magic-alert.component.mjs} +2 -2
  27. package/{esm2015/src/ui/components/base-magic-confirm.component.js → esm2020/src/ui/components/base-magic-confirm.component.mjs} +2 -2
  28. package/esm2020/src/ui/components/magic-alert.component.mjs +71 -0
  29. package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +82 -0
  30. package/{esm2015/src/ui/directives/NonMagicControlDirective.js → esm2020/src/ui/directives/NonMagicControlDirective.mjs} +2 -2
  31. package/{esm2015/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.js → esm2020/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs} +2 -2
  32. package/{esm2015/src/ui/directives/magic/checkbox.magic.directive.js → esm2020/src/ui/directives/magic/checkbox.magic.directive.mjs} +2 -2
  33. package/{esm2015/src/ui/directives/magic/combobox.magic.directive.js → esm2020/src/ui/directives/magic/combobox.magic.directive.mjs} +2 -2
  34. package/{esm2015/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.js → esm2020/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs} +3 -4
  35. package/{esm2015/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.js → esm2020/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs} +2 -2
  36. package/{esm2015/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.js → esm2020/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs} +3 -4
  37. package/{esm2015/src/ui/directives/magic/input.noformcontrol.magic.directive.js → esm2020/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs} +2 -2
  38. package/{esm2015/src/ui/directives/magic/nocontrol.magic.directive.js → esm2020/src/ui/directives/magic/nocontrol.magic.directive.mjs} +2 -2
  39. package/{esm2015/src/ui/directives/magic/row.magic.directive.js → esm2020/src/ui/directives/magic/row.magic.directive.mjs} +2 -2
  40. package/{esm2015/src/ui/directives/magic-focus.directive.js → esm2020/src/ui/directives/magic-focus.directive.mjs} +2 -2
  41. package/esm2020/src/ui/directives/magic.directive.mjs +207 -0
  42. package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +20 -0
  43. package/{esm2015/src/ui/directives/mgformat.magic.directive.js → esm2020/src/ui/directives/mgformat.magic.directive.mjs} +2 -2
  44. package/{esm2015/src/ui/directives/range-validator.magic.directive.js → esm2020/src/ui/directives/range-validator.magic.directive.mjs} +2 -2
  45. package/{esm2015/src/ui/magic-confirmationBox.js → esm2020/src/ui/magic-confirmationBox.mjs} +0 -0
  46. package/{esm2015/src/ui/magic-modal/base-magic-overlay-container.js → esm2020/src/ui/magic-modal/base-magic-overlay-container.mjs} +0 -0
  47. package/{esm2015/src/ui/magic-modal/magic-modal-form.js → esm2020/src/ui/magic-modal/magic-modal-form.mjs} +0 -0
  48. package/{esm2015/src/ui/magic-modal/magic-modal-interface.js → esm2020/src/ui/magic-modal/magic-modal-interface.mjs} +1 -0
  49. package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +135 -0
  50. package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +165 -0
  51. package/esm2020/src/ui/magic-root.component.mjs +237 -0
  52. package/esm2020/src/ui/mgerror.magic.component.mjs +120 -0
  53. package/esm2020/src/ui/pipes/date.magic.pipe.mjs +105 -0
  54. package/{esm2015/src/ui/pipes/time.magic.pipe.js → esm2020/src/ui/pipes/time.magic.pipe.mjs} +3 -3
  55. package/esm2020/src/ui/router-container.magic.component.mjs +109 -0
  56. package/esm2020/src/ui/subform.magic.component.mjs +52 -0
  57. package/{esm2015/src/ui/task-base.magic.component.js → esm2020/src/ui/task-base.magic.component.mjs} +2 -2
  58. package/{esm2015/src/ui/utils.js → esm2020/src/ui/utils.mjs} +0 -0
  59. package/fesm2015/magic-xpa-angular.mjs +4578 -0
  60. package/fesm2015/magic-xpa-angular.mjs.map +1 -0
  61. package/{fesm2015/magic-xpa-angular.js → fesm2020/magic-xpa-angular.mjs} +435 -415
  62. package/fesm2020/magic-xpa-angular.mjs.map +1 -0
  63. package/index.d.ts +1 -0
  64. package/package.json +28 -15
  65. package/src/magic.core.module.d.ts +3 -8
  66. package/src/services/OverlayWindowService.d.ts +2 -2
  67. package/src/services/accessor.magic.service.d.ts +2 -2
  68. package/src/services/commands-collector.magic.service.d.ts +2 -2
  69. package/src/services/component-list.magic.service.d.ts +3 -0
  70. package/src/services/confirmation.components.magic.provider.d.ts +2 -2
  71. package/src/services/engine.magic.service.d.ts +2 -2
  72. package/src/services/exit.magic.service.d.ts +2 -2
  73. package/src/services/magic.lazy.loader.service.d.ts +6 -0
  74. package/src/services/magic.services.d.ts +2 -2
  75. package/src/services/mg-date-adapter.d.ts +2 -2
  76. package/src/services/overlay.conainer.magic.provider.d.ts +2 -2
  77. package/src/services/router-commands.magic.service.d.ts +2 -2
  78. package/src/services/subform.magic.service.d.ts +6 -4
  79. package/src/services/table.magic.service.d.ts +2 -2
  80. package/src/services/task.magics.service.d.ts +2 -2
  81. package/src/services/title.magic.service.d.ts +2 -2
  82. package/src/ui/components/base-magic-alert.component.d.ts +2 -2
  83. package/src/ui/components/base-magic-confirm.component.d.ts +2 -2
  84. package/src/ui/components/magic-alert.component.d.ts +2 -2
  85. package/src/ui/components/magic-confirmation-box.component.d.ts +2 -2
  86. package/src/ui/directives/NonMagicControlDirective.d.ts +2 -2
  87. package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +2 -2
  88. package/src/ui/directives/magic/checkbox.magic.directive.d.ts +2 -2
  89. package/src/ui/directives/magic/combobox.magic.directive.d.ts +2 -2
  90. package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +2 -2
  91. package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +2 -2
  92. package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +2 -2
  93. package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +2 -2
  94. package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +2 -2
  95. package/src/ui/directives/magic/row.magic.directive.d.ts +2 -2
  96. package/src/ui/directives/magic-focus.directive.d.ts +2 -2
  97. package/src/ui/directives/magic.directive.d.ts +2 -2
  98. package/src/ui/directives/magicViewContainerRef.directive.d.ts +2 -2
  99. package/src/ui/directives/mgformat.magic.directive.d.ts +2 -2
  100. package/src/ui/directives/range-validator.magic.directive.d.ts +2 -2
  101. package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +7 -5
  102. package/src/ui/magic-modal/magic-overlay-container.d.ts +2 -2
  103. package/src/ui/magic-root.component.d.ts +2 -2
  104. package/src/ui/mgerror.magic.component.d.ts +2 -2
  105. package/src/ui/pipes/date.magic.pipe.d.ts +2 -2
  106. package/src/ui/pipes/time.magic.pipe.d.ts +2 -2
  107. package/src/ui/router-container.magic.component.d.ts +2 -2
  108. package/src/ui/subform.magic.component.d.ts +2 -2
  109. package/src/ui/task-base.magic.component.d.ts +2 -2
  110. package/bundles/magic-xpa-angular.umd.js +0 -5028
  111. package/bundles/magic-xpa-angular.umd.js.map +0 -1
  112. package/bundles/magic-xpa-angular.umd.min.js +0 -16
  113. package/bundles/magic-xpa-angular.umd.min.js.map +0 -1
  114. package/esm2015/index.js +0 -56
  115. package/esm2015/src/controls.metadata.model.js +0 -180
  116. package/esm2015/src/magic.core.module.js +0 -173
  117. package/esm2015/src/services/OverlayWindowService.js +0 -205
  118. package/esm2015/src/services/StylesMapManager.js +0 -29
  119. package/esm2015/src/services/accessor.magic.service.js +0 -302
  120. package/esm2015/src/services/component-list.magic.service.js +0 -36
  121. package/esm2015/src/services/engine.magic.service.js +0 -82
  122. package/esm2015/src/services/router-commands.magic.service.js +0 -25
  123. package/esm2015/src/services/subform.magic.service.js +0 -182
  124. package/esm2015/src/services/task.magics.service.js +0 -611
  125. package/esm2015/src/ui/GuiInteractiveExecutor.js +0 -98
  126. package/esm2015/src/ui/components/magic-alert.component.js +0 -72
  127. package/esm2015/src/ui/components/magic-confirmation-box.component.js +0 -83
  128. package/esm2015/src/ui/directives/magic.directive.js +0 -207
  129. package/esm2015/src/ui/directives/magicViewContainerRef.directive.js +0 -20
  130. package/esm2015/src/ui/magic-modal/magic-overlay-container-wrapper.js +0 -131
  131. package/esm2015/src/ui/magic-modal/magic-overlay-container.js +0 -169
  132. package/esm2015/src/ui/magic-root.component.js +0 -237
  133. package/esm2015/src/ui/mgerror.magic.component.js +0 -120
  134. package/esm2015/src/ui/pipes/date.magic.pipe.js +0 -106
  135. package/esm2015/src/ui/router-container.magic.component.js +0 -109
  136. package/esm2015/src/ui/subform.magic.component.js +0 -52
  137. package/fesm2015/magic-xpa-angular.js.map +0 -1
@@ -1,21 +1,24 @@
1
- import { isNullOrUndefined, isUndefined } from 'util';
2
- import { ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵinject, NgModuleFactoryLoader, Injector, ɵɵdirectiveInject, ComponentFactoryResolver, ViewContainerRef, ɵɵdefineComponent, Component, Input, Output, ɵɵdefineDirective, Directive, ɵɵgetCurrentView, ɵɵelementStart, ɵɵlistener, ɵɵrestoreView, ɵɵnextContext, ɵɵtext, ɵɵelementEnd, ɵɵadvance, ɵɵtextInterpolate1, EventEmitter, ɵɵviewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ɵɵInheritDefinitionFeature, ɵɵtemplate, ɵɵelement, ɵɵproperty, ViewChild, ElementRef, ChangeDetectorRef, ɵɵstaticViewQuery, ɵɵgetInheritedFactory, ɵɵProvidersFeature, HostListener, Renderer2, Optional, ɵɵdefinePipe, Pipe, ɵɵprojection, ɵɵprojectionDef, ɵɵelementContainer, ɵɵreference, ɵɵresolveWindow, ɵɵtemplateRefExtractor, forwardRef, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule } from '@angular/core';
3
- import { NgIf, NgStyle, DatePipe, NgTemplateOutlet, CommonModule, formatDate } from '@angular/common';
4
- import { ActivatedRoute, Router, RouterModule } from '@angular/router';
1
+ import { isNullOrUndefined, NString, List, isUndefined, StringBuilder, RefParam } from '@magic-xpa/mscorelib';
2
+ import * as i0 from '@angular/core';
3
+ import { Injectable, Component, Input, Output, Directive, EventEmitter, ViewChild, HostListener, Optional, Pipe, forwardRef, NgModule } from '@angular/core';
4
+ import * as i1 from '@angular/common';
5
+ import { DatePipe, CommonModule, formatDate } from '@angular/common';
6
+ import * as i2 from '@angular/router';
7
+ import { RouterModule } from '@angular/router';
5
8
  import { FormGroup, FormControl, Validators, NG_VALIDATORS, NG_VALUE_ACCESSOR, CheckboxControlValueAccessor, DefaultValueAccessor, FormsModule, ReactiveFormsModule } from '@angular/forms';
6
- import { DynamicComponent, DynamicIoDirective, DynamicModule } from 'ng-dynamic-component';
7
- import { __awaiter, __decorate, __metadata } from 'tslib';
8
- import { Subject } from 'rxjs';
9
- import { MagicBridge, getGuiEventObj, CookieService } from '@magic-xpa/engine';
9
+ import * as i3 from 'ng-dynamic-component';
10
+ import { DynamicModule } from 'ng-dynamic-component';
10
11
  import { InteractiveCommandType, OverlayType, Styles, HtmlProperties, GuiConstants, CommandType, PIC, GuiEnvironment, Modifiers } from '@magic-xpa/gui';
12
+ import { MagicBridge, getGuiEventObj, CookieService } from '@magic-xpa/engine';
11
13
  import { MagicProperties, Logger, StrUtil, StorageAttribute, BindingLevel, StorageAttributeType, PICInterface } from '@magic-xpa/utils';
12
14
  import { filter, map, debounceTime } from 'rxjs/operators';
13
- import { NString, List, StringBuilder, RefParam } from '@magic-xpa/mscorelib';
14
- import { Title } from '@angular/platform-browser';
15
- import { fromEvent } from 'rxjs/internal/observable/fromEvent';
16
- import { HttpClient, HttpClientModule } from '@angular/common/http';
15
+ import { Subject, fromEvent } from 'rxjs';
16
+ import { __decorate, __metadata } from 'tslib';
17
+ import * as i1$1 from '@angular/platform-browser';
18
+ import * as i5 from '@angular/common/http';
19
+ import { HttpClientModule } from '@angular/common/http';
17
20
  import { NativeDateAdapter, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
18
- import { Platform } from '@angular/cdk/platform';
21
+ import * as i1$2 from '@angular/cdk/platform';
19
22
 
20
23
  class ControlMetadata {
21
24
  constructor() {
@@ -196,6 +199,32 @@ var HtmlClasses;
196
199
  HtmlClasses["HintColor"] = "hintcolor";
197
200
  })(HtmlClasses || (HtmlClasses = {}));
198
201
 
202
+ class StylesMapManager {
203
+ static magicValueGetStyle(styleName, magicValue) {
204
+ let style = "";
205
+ if (!isNullOrUndefined(magicValue)) {
206
+ let value = StylesMapManager.StylesMap.get(styleName);
207
+ if (value.constructor === Map) {
208
+ style = value.get(magicValue);
209
+ }
210
+ else if (value.constructor === String) {
211
+ style = NString.Format(value.toString(), magicValue);
212
+ }
213
+ }
214
+ return style;
215
+ }
216
+ }
217
+ StylesMapManager.StylesMap = new Map([
218
+ [MagicProperties.LineDivider, new Map([[true, "solid"], [false, "hidden"]])],
219
+ [MagicProperties.ImageFile, "url('\{0}\')"],
220
+ [MagicProperties.Wallpaper, "url('\{0}\')"]
221
+ ]);
222
+ StylesMapManager.MagicPropertyToHtmlAttributeMap = new Map([
223
+ [MagicProperties.LineDivider, "border-bottom-style"],
224
+ [MagicProperties.ImageFile, "background-image"],
225
+ [MagicProperties.Wallpaper, "background-image"]
226
+ ]);
227
+
199
228
  class EngineMagicService {
200
229
  constructor() {
201
230
  this.magicBridge = MagicBridge;
@@ -228,10 +257,8 @@ class EngineMagicService {
228
257
  });
229
258
  this.magicBridge.Initialize(httpClient);
230
259
  }
231
- terminateMagic() {
232
- return __awaiter(this, void 0, void 0, function* () {
233
- yield this.magicBridge.TerminateMagic();
234
- });
260
+ async terminateMagic() {
261
+ await this.magicBridge.TerminateMagic();
235
262
  }
236
263
  insertEvent(guiEvent) {
237
264
  if (!this.isStub)
@@ -268,9 +295,12 @@ class EngineMagicService {
268
295
  }
269
296
  }
270
297
  EngineMagicService.ɵfac = function EngineMagicService_Factory(t) { return new (t || EngineMagicService)(); };
271
- EngineMagicService.ɵprov = ɵɵdefineInjectable({ token: EngineMagicService, factory: EngineMagicService.ɵfac });
272
- (function () { ɵsetClassMetadata(EngineMagicService, [{
273
- type: Injectable
298
+ EngineMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: EngineMagicService, factory: EngineMagicService.ɵfac, providedIn: 'root' });
299
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EngineMagicService, [{
300
+ type: Injectable,
301
+ args: [{
302
+ providedIn: 'root'
303
+ }]
274
304
  }], null, null); })();
275
305
 
276
306
  class ComponentListMagicService {
@@ -307,33 +337,15 @@ class ComponentListMagicService {
307
337
  getLazyLoadModuleData(name) {
308
338
  return (this.lazyLoadModulesMap != null && this.lazyLoadModulesMap.hasOwnProperty(name)) ? this.lazyLoadModulesMap[name] : null;
309
339
  }
310
- }
311
-
312
- class StylesMapManager {
313
- static magicValueGetStyle(styleName, magicValue) {
314
- let style = "";
315
- if (!isNullOrUndefined(magicValue)) {
316
- let value = StylesMapManager.StylesMap.get(styleName);
317
- if (value.constructor === Map) {
318
- style = value.get(magicValue);
319
- }
320
- else if (value.constructor === String) {
321
- style = NString.Format(value.toString(), magicValue);
322
- }
323
- }
324
- return style;
325
- }
326
340
  }
327
- StylesMapManager.StylesMap = new Map([
328
- [MagicProperties.LineDivider, new Map([[true, "solid"], [false, "hidden"]])],
329
- [MagicProperties.ImageFile, "url('\{0}\')"],
330
- [MagicProperties.Wallpaper, "url('\{0}\')"]
331
- ]);
332
- StylesMapManager.MagicPropertyToHtmlAttributeMap = new Map([
333
- [MagicProperties.LineDivider, "border-bottom-style"],
334
- [MagicProperties.ImageFile, "background-image"],
335
- [MagicProperties.Wallpaper, "background-image"]
336
- ]);
341
+ ComponentListMagicService.ɵfac = function ComponentListMagicService_Factory(t) { return new (t || ComponentListMagicService)(); };
342
+ ComponentListMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: ComponentListMagicService, factory: ComponentListMagicService.ɵfac, providedIn: 'root' });
343
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentListMagicService, [{
344
+ type: Injectable,
345
+ args: [{
346
+ providedIn: 'root'
347
+ }]
348
+ }], null, null); })();
337
349
 
338
350
  class CommandsCollectorMagicService {
339
351
  constructor(magic) {
@@ -366,10 +378,13 @@ class CommandsCollectorMagicService {
366
378
  return commands;
367
379
  }
368
380
  }
369
- CommandsCollectorMagicService.ɵfac = function CommandsCollectorMagicService_Factory(t) { return new (t || CommandsCollectorMagicService)(ɵɵinject(EngineMagicService)); };
370
- CommandsCollectorMagicService.ɵprov = ɵɵdefineInjectable({ token: CommandsCollectorMagicService, factory: CommandsCollectorMagicService.ɵfac });
371
- (function () { ɵsetClassMetadata(CommandsCollectorMagicService, [{
372
- type: Injectable
381
+ CommandsCollectorMagicService.ɵfac = function CommandsCollectorMagicService_Factory(t) { return new (t || CommandsCollectorMagicService)(i0.ɵɵinject(EngineMagicService)); };
382
+ CommandsCollectorMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: CommandsCollectorMagicService, factory: CommandsCollectorMagicService.ɵfac, providedIn: 'root' });
383
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CommandsCollectorMagicService, [{
384
+ type: Injectable,
385
+ args: [{
386
+ providedIn: 'root'
387
+ }]
373
388
  }], function () { return [{ type: EngineMagicService }]; }, null); })();
374
389
 
375
390
  class RouteCommand {
@@ -389,13 +404,30 @@ class RouterCommandsMagicService {
389
404
  }
390
405
  }
391
406
  RouterCommandsMagicService.ɵfac = function RouterCommandsMagicService_Factory(t) { return new (t || RouterCommandsMagicService)(); };
392
- RouterCommandsMagicService.ɵprov = ɵɵdefineInjectable({ token: RouterCommandsMagicService, factory: RouterCommandsMagicService.ɵfac });
393
- (function () { ɵsetClassMetadata(RouterCommandsMagicService, [{
394
- type: Injectable
407
+ RouterCommandsMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: RouterCommandsMagicService, factory: RouterCommandsMagicService.ɵfac, providedIn: 'root' });
408
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RouterCommandsMagicService, [{
409
+ type: Injectable,
410
+ args: [{
411
+ providedIn: 'root'
412
+ }]
413
+ }], null, null); })();
414
+
415
+ class MagicLazyLoaderService {
416
+ Load(path) {
417
+ return Promise.reject('error in loading module :' + path);
418
+ }
419
+ }
420
+ MagicLazyLoaderService.ɵfac = function MagicLazyLoaderService_Factory(t) { return new (t || MagicLazyLoaderService)(); };
421
+ MagicLazyLoaderService.ɵprov = i0.ɵɵdefineInjectable({ token: MagicLazyLoaderService, factory: MagicLazyLoaderService.ɵfac, providedIn: 'root' });
422
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicLazyLoaderService, [{
423
+ type: Injectable,
424
+ args: [{
425
+ providedIn: 'root'
426
+ }]
395
427
  }], null, null); })();
396
428
 
397
429
  class SubformMagicService {
398
- constructor(task, activatedRoute, componentList, pendingCommandsCollector, router, routerCommandsMagicService, componentListMagicService, loader, injector) {
430
+ constructor(task, activatedRoute, componentList, pendingCommandsCollector, router, routerCommandsMagicService, componentListMagicService, loader, injector, compiler) {
399
431
  this.task = task;
400
432
  this.activatedRoute = activatedRoute;
401
433
  this.componentList = componentList;
@@ -405,6 +437,7 @@ class SubformMagicService {
405
437
  this.componentListMagicService = componentListMagicService;
406
438
  this.loader = loader;
407
439
  this.injector = injector;
440
+ this.compiler = compiler;
408
441
  this.subformsDict = {};
409
442
  this.routesDict = {};
410
443
  this.currentRouteDefinition = null;
@@ -446,10 +479,11 @@ class SubformMagicService {
446
479
  if (moduleRef == null) {
447
480
  let lazyLoadModule = this.componentListMagicService.getLazyLoadModuleData(formName);
448
481
  if (lazyLoadModule != null) {
449
- this.loader
450
- .load(lazyLoadModule.modulePath + "#" + lazyLoadModule.moduleName)
451
- .then((moduleFactory) => {
452
- moduleRef = moduleFactory.create(this.injector);
482
+ let moduleName = lazyLoadModule.moduleName.replace("Magic", "");
483
+ moduleName = moduleName.replace("Module", "");
484
+ this.loader.Load(moduleName).then(m => {
485
+ const compiled = this.compiler.compileModuleAndAllComponentsSync(m[lazyLoadModule.moduleName]);
486
+ moduleRef = compiled.ngModuleFactory.create(this.injector);
453
487
  this.subformsDict[subformControlName] = {
454
488
  formName,
455
489
  parameters: { taskIdParam: taskId, taskDescription: taskDescription }
@@ -556,11 +590,11 @@ class SubformMagicService {
556
590
  }
557
591
  SubformMagicService.currentCallerMgSubformServiceRef = null;
558
592
  SubformMagicService.routerContainers = new Array();
559
- SubformMagicService.ɵfac = function SubformMagicService_Factory(t) { return new (t || SubformMagicService)(ɵɵinject(TaskMagicService), ɵɵinject(ActivatedRoute), ɵɵinject(ComponentListMagicService), ɵɵinject(CommandsCollectorMagicService), ɵɵinject(Router), ɵɵinject(RouterCommandsMagicService), ɵɵinject(ComponentListMagicService), ɵɵinject(NgModuleFactoryLoader), ɵɵinject(Injector)); };
560
- SubformMagicService.ɵprov = ɵɵdefineInjectable({ token: SubformMagicService, factory: SubformMagicService.ɵfac });
561
- (function () { ɵsetClassMetadata(SubformMagicService, [{
593
+ SubformMagicService.ɵfac = function SubformMagicService_Factory(t) { return new (t || SubformMagicService)(i0.ɵɵinject(TaskMagicService), i0.ɵɵinject(i2.ActivatedRoute), i0.ɵɵinject(ComponentListMagicService), i0.ɵɵinject(CommandsCollectorMagicService), i0.ɵɵinject(i2.Router), i0.ɵɵinject(RouterCommandsMagicService), i0.ɵɵinject(ComponentListMagicService), i0.ɵɵinject(MagicLazyLoaderService), i0.ɵɵinject(i0.Injector), i0.ɵɵinject(i0.Compiler)); };
594
+ SubformMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: SubformMagicService, factory: SubformMagicService.ɵfac });
595
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubformMagicService, [{
562
596
  type: Injectable
563
- }], function () { return [{ type: TaskMagicService }, { type: ActivatedRoute }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: Router }, { type: RouterCommandsMagicService }, { type: ComponentListMagicService }, { type: NgModuleFactoryLoader }, { type: Injector }]; }, null); })();
597
+ }], function () { return [{ type: TaskMagicService }, { type: i2.ActivatedRoute }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: i2.Router }, { type: RouterCommandsMagicService }, { type: ComponentListMagicService }, { type: MagicLazyLoaderService }, { type: i0.Injector }, { type: i0.Compiler }]; }, null); })();
564
598
 
565
599
  class RouterContainerMagicComponent {
566
600
  constructor(activatedRoute, router, magic, containerTaskService, componentFactoryResolver, viewContainerRef, componentList, pendingCommandsCollector, routerCommandsMagicService) {
@@ -604,7 +638,7 @@ class RouterContainerMagicComponent {
604
638
  guiEvent.RouterPath = tokens[0];
605
639
  guiEvent.RouterParams = new List();
606
640
  for (let i = 1; i < tokens.length; i++) {
607
- guiEvent.RouterParams.push(this.activatedRoute.snapshot.params[tokens[i]]);
641
+ guiEvent.RouterParams.push(currentActiveRoute.snapshot.params[tokens[i]]);
608
642
  }
609
643
  }
610
644
  this.containerTaskService.insertEvent(guiEvent);
@@ -642,16 +676,16 @@ class RouterContainerMagicComponent {
642
676
  }
643
677
  }
644
678
  RouterContainerMagicComponent.lastRoute = "/";
645
- RouterContainerMagicComponent.ɵfac = function RouterContainerMagicComponent_Factory(t) { return new (t || RouterContainerMagicComponent)(ɵɵdirectiveInject(ActivatedRoute), ɵɵdirectiveInject(Router), ɵɵdirectiveInject(EngineMagicService), ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ComponentFactoryResolver), ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(ComponentListMagicService), ɵɵdirectiveInject(CommandsCollectorMagicService), ɵɵdirectiveInject(RouterCommandsMagicService)); };
646
- RouterContainerMagicComponent.ɵcmp = ɵɵdefineComponent({ type: RouterContainerMagicComponent, selectors: [["magic-route-outlet"]], decls: 0, vars: 0, template: function RouterContainerMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
647
- (function () { ɵsetClassMetadata(RouterContainerMagicComponent, [{
679
+ RouterContainerMagicComponent.ɵfac = function RouterContainerMagicComponent_Factory(t) { return new (t || RouterContainerMagicComponent)(i0.ɵɵdirectiveInject(i2.ActivatedRoute), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(EngineMagicService), i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(ComponentListMagicService), i0.ɵɵdirectiveInject(CommandsCollectorMagicService), i0.ɵɵdirectiveInject(RouterCommandsMagicService)); };
680
+ RouterContainerMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RouterContainerMagicComponent, selectors: [["magic-route-outlet"]], decls: 0, vars: 0, template: function RouterContainerMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
681
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RouterContainerMagicComponent, [{
648
682
  type: Component,
649
683
  args: [{
650
684
  selector: 'magic-route-outlet',
651
685
  template: `
652
686
  `
653
687
  }]
654
- }], function () { return [{ type: ActivatedRoute }, { type: Router }, { type: EngineMagicService }, { type: TaskMagicService }, { type: ComponentFactoryResolver }, { type: ViewContainerRef }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: RouterCommandsMagicService }]; }, null); })();
688
+ }], function () { return [{ type: i2.ActivatedRoute }, { type: i2.Router }, { type: EngineMagicService }, { type: TaskMagicService }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: RouterCommandsMagicService }]; }, null); })();
655
689
 
656
690
  class GuiInteractiveExecutor {
657
691
  Run() {
@@ -771,41 +805,41 @@ class MagicViewContainerRef {
771
805
  constructor(vcRef, resolver) {
772
806
  this.vcRef = vcRef;
773
807
  this.resolver = resolver;
774
- let comp = (this.vcRef._hostView).find(v => v != null && !isNullOrUndefined(v.setViewContainerRef));
808
+ let comp = (this.vcRef._hostLView).find(v => v != null && !isNullOrUndefined(v.setViewContainerRef));
775
809
  comp.setViewContainerRef(vcRef);
776
810
  }
777
811
  }
778
- MagicViewContainerRef.ɵfac = function MagicViewContainerRef_Factory(t) { return new (t || MagicViewContainerRef)(ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(ComponentFactoryResolver)); };
779
- MagicViewContainerRef.ɵdir = ɵɵdefineDirective({ type: MagicViewContainerRef, selectors: [["", "magicViewContainerRef", ""]] });
780
- (function () { ɵsetClassMetadata(MagicViewContainerRef, [{
812
+ MagicViewContainerRef.ɵfac = function MagicViewContainerRef_Factory(t) { return new (t || MagicViewContainerRef)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
813
+ MagicViewContainerRef.ɵdir = i0.ɵɵdefineDirective({ type: MagicViewContainerRef, selectors: [["", "magicViewContainerRef", ""]] });
814
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicViewContainerRef, [{
781
815
  type: Directive,
782
816
  args: [{
783
817
  selector: '[magicViewContainerRef]',
784
818
  }]
785
- }], function () { return [{ type: ViewContainerRef }, { type: ComponentFactoryResolver }]; }, null); })();
819
+ }], function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, null); })();
786
820
 
787
- const _c0 = ["modalheader"];
788
- const _c1 = ["modalForeground"];
821
+ const _c0$3 = ["modalheader"];
822
+ const _c1$1 = ["modalForeground"];
789
823
  function MagicOverlayContainer_button_2_Template(rf, ctx) { if (rf & 1) {
790
- const _r5 = ɵɵgetCurrentView();
791
- ɵɵelementStart(0, "button", 8);
792
- ɵɵlistener("click", function MagicOverlayContainer_button_2_Template_button_click_0_listener() { ɵɵrestoreView(_r5); const ctx_r4 = ɵɵnextContext(); return ctx_r4.OnClose(); });
793
- ɵɵtext(1, "X");
794
- ɵɵelementEnd();
824
+ const _r5 = i0.ɵɵgetCurrentView();
825
+ i0.ɵɵelementStart(0, "button", 8);
826
+ i0.ɵɵlistener("click", function MagicOverlayContainer_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.OnClose(); });
827
+ i0.ɵɵtext(1, "X");
828
+ i0.ɵɵelementEnd();
795
829
  } }
796
830
  function MagicOverlayContainer_div_5_Template(rf, ctx) { if (rf & 1) {
797
- const _r8 = ɵɵgetCurrentView();
798
- ɵɵelementStart(0, "div", 9, 10);
799
- ɵɵtext(2);
800
- ɵɵelementStart(3, "button", 11);
801
- ɵɵlistener("click", function MagicOverlayContainer_div_5_Template_button_click_3_listener() { ɵɵrestoreView(_r8); const ctx_r7 = ɵɵnextContext(); return ctx_r7.OnClose(); });
802
- ɵɵtext(4, "X");
803
- ɵɵelementEnd();
804
- ɵɵelementEnd();
831
+ const _r8 = i0.ɵɵgetCurrentView();
832
+ i0.ɵɵelementStart(0, "div", 9, 10);
833
+ i0.ɵɵtext(2);
834
+ i0.ɵɵelementStart(3, "button", 11);
835
+ i0.ɵɵlistener("click", function MagicOverlayContainer_div_5_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.OnClose(); });
836
+ i0.ɵɵtext(4, "X");
837
+ i0.ɵɵelementEnd();
838
+ i0.ɵɵelementEnd();
805
839
  } if (rf & 2) {
806
- const ctx_r2 = ɵɵnextContext();
807
- ɵɵadvance(2);
808
- ɵɵtextInterpolate1(" ", ctx_r2.getText(), " ");
840
+ const ctx_r2 = i0.ɵɵnextContext();
841
+ i0.ɵɵadvance(2);
842
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.getText(), " ");
809
843
  } }
810
844
  class MagicOverlayContainer extends BaseMagicOverlayContainer {
811
845
  constructor(injector, componentFactoryResolver) {
@@ -879,42 +913,40 @@ class MagicOverlayContainer extends BaseMagicOverlayContainer {
879
913
  this.OnClose();
880
914
  }
881
915
  }
882
- MagicOverlayContainer.ɵfac = function MagicOverlayContainer_Factory(t) { return new (t || MagicOverlayContainer)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(ComponentFactoryResolver)); };
883
- MagicOverlayContainer.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayContainer, selectors: [["app-magic-overlay-container"]], viewQuery: function MagicOverlayContainer_Query(rf, ctx) { if (rf & 1) {
884
- ɵɵviewQuery(_c0, true);
885
- ɵɵviewQuery(_c1, true);
916
+ MagicOverlayContainer.ɵfac = function MagicOverlayContainer_Factory(t) { return new (t || MagicOverlayContainer)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
917
+ MagicOverlayContainer.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContainer, selectors: [["app-magic-overlay-container"]], viewQuery: function MagicOverlayContainer_Query(rf, ctx) { if (rf & 1) {
918
+ i0.ɵɵviewQuery(_c0$3, 5);
919
+ i0.ɵɵviewQuery(_c1$1, 5);
886
920
  } if (rf & 2) {
887
- var _t;
888
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.headerElementRef = _t.first);
889
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.foregroundElementRef = _t.first);
890
- } }, inputs: { ModalComp: "ModalComp", ModalCompParameters: "ModalCompParameters" }, outputs: { onClose: "onClose" }, features: [ɵɵInheritDefinitionFeature], decls: 9, vars: 4, consts: [[1, "modal-background", 3, "click"], ["tabindex", "-1", "style", "float:right; border: none; background-color: transparent; outline: none; color: white", 3, "click", 4, "ngIf"], [1, "modal-foreground", 3, "ngStyle"], ["modalForeground", ""], ["class", "modal-header", 4, "ngIf"], [3, "ngStyle"], ["magicViewContainerRef", ""], ["modalbody", ""], ["tabindex", "-1", 2, "float", "right", "border", "none", "background-color", "transparent", "outline", "none", "color", "white", 3, "click"], [1, "modal-header"], ["modalheader", ""], ["tabindex", "-1", 2, "float", "right", 3, "click"]], template: function MagicOverlayContainer_Template(rf, ctx) { if (rf & 1) {
891
- ɵɵelementStart(0, "div");
892
- ɵɵelementStart(1, "div", 0);
893
- ɵɵlistener("click", function MagicOverlayContainer_Template_div_click_1_listener() { return ctx.OnBackgroundClick(); });
894
- ɵɵtemplate(2, MagicOverlayContainer_button_2_Template, 2, 0, "button", 1);
895
- ɵɵelementEnd();
896
- ɵɵelementStart(3, "div", 2, 3);
897
- ɵɵtemplate(5, MagicOverlayContainer_div_5_Template, 5, 1, "div", 4);
898
- ɵɵelementStart(6, "div", 5);
899
- ɵɵelement(7, "div", 6, 7);
900
- ɵɵelementEnd();
901
- ɵɵelementEnd();
902
- ɵɵelementEnd();
921
+ let _t;
922
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerElementRef = _t.first);
923
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.foregroundElementRef = _t.first);
924
+ } }, inputs: { ModalComp: "ModalComp", ModalCompParameters: "ModalCompParameters" }, outputs: { onClose: "onClose" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 4, consts: [[1, "modal-background", 3, "click"], ["tabindex", "-1", "style", "float:right; border: none; background-color: transparent; outline: none; color: white", 3, "click", 4, "ngIf"], [1, "modal-foreground", 3, "ngStyle"], ["modalForeground", ""], ["class", "modal-header", 4, "ngIf"], [3, "ngStyle"], ["magicViewContainerRef", ""], ["modalbody", ""], ["tabindex", "-1", 2, "float", "right", "border", "none", "background-color", "transparent", "outline", "none", "color", "white", 3, "click"], [1, "modal-header"], ["modalheader", ""], ["tabindex", "-1", 2, "float", "right", 3, "click"]], template: function MagicOverlayContainer_Template(rf, ctx) { if (rf & 1) {
925
+ i0.ɵɵelementStart(0, "div");
926
+ i0.ɵɵelementStart(1, "div", 0);
927
+ i0.ɵɵlistener("click", function MagicOverlayContainer_Template_div_click_1_listener() { return ctx.OnBackgroundClick(); });
928
+ i0.ɵɵtemplate(2, MagicOverlayContainer_button_2_Template, 2, 0, "button", 1);
929
+ i0.ɵɵelementEnd();
930
+ i0.ɵɵelementStart(3, "div", 2, 3);
931
+ i0.ɵɵtemplate(5, MagicOverlayContainer_div_5_Template, 5, 1, "div", 4);
932
+ i0.ɵɵelementStart(6, "div", 5);
933
+ i0.ɵɵelement(7, "div", 6, 7);
934
+ i0.ɵɵelementEnd();
935
+ i0.ɵɵelementEnd();
936
+ i0.ɵɵelementEnd();
903
937
  } if (rf & 2) {
904
- ɵɵadvance(2);
905
- ɵɵproperty("ngIf", !ctx.getShowTitleBar());
906
- ɵɵadvance(1);
907
- ɵɵproperty("ngStyle", ctx.getStyle());
908
- ɵɵadvance(2);
909
- ɵɵproperty("ngIf", ctx.getShowTitleBar());
910
- ɵɵadvance(1);
911
- ɵɵproperty("ngStyle", ctx.getClientAreaStyles());
912
- } }, directives: [NgIf, NgStyle, MagicViewContainerRef], styles: [".modal-foreground[_ngcontent-%COMP%]{background-color:#fff}.modal-background[_ngcontent-%COMP%], .modal-foreground[_ngcontent-%COMP%]{bottom:0;left:0;position:fixed;right:0;top:0}.modal-background[_ngcontent-%COMP%]{background-color:#000;opacity:.75}.modal-header[_ngcontent-%COMP%]{background-color:beige;border-bottom:2px solid red}"] });
913
- (function () { ɵsetClassMetadata(MagicOverlayContainer, [{
938
+ i0.ɵɵadvance(2);
939
+ i0.ɵɵproperty("ngIf", !ctx.getShowTitleBar());
940
+ i0.ɵɵadvance(1);
941
+ i0.ɵɵproperty("ngStyle", ctx.getStyle());
942
+ i0.ɵɵadvance(2);
943
+ i0.ɵɵproperty("ngIf", ctx.getShowTitleBar());
944
+ i0.ɵɵadvance(1);
945
+ i0.ɵɵproperty("ngStyle", ctx.getClientAreaStyles());
946
+ } }, directives: [i1.NgIf, i1.NgStyle, MagicViewContainerRef], styles: [".modal-foreground[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#fff}.modal-background[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.75}.modal-header[_ngcontent-%COMP%]{background-color:beige;border-bottom:2px solid red}"] });
947
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicOverlayContainer, [{
914
948
  type: Component,
915
- args: [{
916
- selector: 'app-magic-overlay-container',
917
- template: `
949
+ args: [{ selector: 'app-magic-overlay-container', template: `
918
950
  <div>
919
951
  <div class="modal-background" (click)="OnBackgroundClick()">
920
952
  <button (click)="OnClose()" tabindex="-1" style="float:right; border: none; background-color: transparent; outline: none; color: white" *ngIf="!getShowTitleBar()">X</button>
@@ -930,10 +962,8 @@ MagicOverlayContainer.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayContainer,
930
962
  </div>
931
963
  </div>
932
964
  </div>
933
- `,
934
- styleUrls: ['./magic-overlay-container.css']
935
- }]
936
- }], function () { return [{ type: Injector }, { type: ComponentFactoryResolver }]; }, { headerElementRef: [{
965
+ `, styles: [".modal-foreground{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#fff}.modal-background{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;opacity:.75}.modal-header{background-color:beige;border-bottom:2px solid red}\n"] }]
966
+ }], function () { return [{ type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, { headerElementRef: [{
937
967
  type: ViewChild,
938
968
  args: ['modalheader', { static: false }]
939
969
  }], foregroundElementRef: [{
@@ -953,8 +983,8 @@ class OverlayContainerMagicProvider {
953
983
  }
954
984
  }
955
985
  OverlayContainerMagicProvider.ɵfac = function OverlayContainerMagicProvider_Factory(t) { return new (t || OverlayContainerMagicProvider)(); };
956
- OverlayContainerMagicProvider.ɵprov = ɵɵdefineInjectable({ token: OverlayContainerMagicProvider, factory: OverlayContainerMagicProvider.ɵfac });
957
- (function () { ɵsetClassMetadata(OverlayContainerMagicProvider, [{
986
+ OverlayContainerMagicProvider.ɵprov = i0.ɵɵdefineInjectable({ token: OverlayContainerMagicProvider, factory: OverlayContainerMagicProvider.ɵfac });
987
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayContainerMagicProvider, [{
958
988
  type: Injectable
959
989
  }], null, null); })();
960
990
 
@@ -967,8 +997,8 @@ class BaseMagicConfirmComponent {
967
997
  }
968
998
  }
969
999
  BaseMagicConfirmComponent.ɵfac = function BaseMagicConfirmComponent_Factory(t) { return new (t || BaseMagicConfirmComponent)(); };
970
- BaseMagicConfirmComponent.ɵcmp = ɵɵdefineComponent({ type: BaseMagicConfirmComponent, selectors: [["mg-base-alert"]], inputs: { title: "title", message: "message" }, outputs: { onClose: "onClose" }, decls: 0, vars: 0, template: function BaseMagicConfirmComponent_Template(rf, ctx) { }, styles: [""] });
971
- (function () { ɵsetClassMetadata(BaseMagicConfirmComponent, [{
1000
+ BaseMagicConfirmComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BaseMagicConfirmComponent, selectors: [["mg-base-alert"]], inputs: { title: "title", message: "message" }, outputs: { onClose: "onClose" }, decls: 0, vars: 0, template: function BaseMagicConfirmComponent_Template(rf, ctx) { }, styles: [""] });
1001
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseMagicConfirmComponent, [{
972
1002
  type: Component,
973
1003
  args: [{
974
1004
  selector: 'mg-base-alert',
@@ -992,8 +1022,8 @@ class BaseMagicAlertComponent {
992
1022
  }
993
1023
  }
994
1024
  BaseMagicAlertComponent.ɵfac = function BaseMagicAlertComponent_Factory(t) { return new (t || BaseMagicAlertComponent)(); };
995
- BaseMagicAlertComponent.ɵcmp = ɵɵdefineComponent({ type: BaseMagicAlertComponent, selectors: [["mg-base-alert"]], inputs: { title: "title", message: "message" }, outputs: { onClose: "onClose" }, decls: 0, vars: 0, template: function BaseMagicAlertComponent_Template(rf, ctx) { }, styles: [""] });
996
- (function () { ɵsetClassMetadata(BaseMagicAlertComponent, [{
1025
+ BaseMagicAlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BaseMagicAlertComponent, selectors: [["mg-base-alert"]], inputs: { title: "title", message: "message" }, outputs: { onClose: "onClose" }, decls: 0, vars: 0, template: function BaseMagicAlertComponent_Template(rf, ctx) { }, styles: [""] });
1026
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseMagicAlertComponent, [{
997
1027
  type: Component,
998
1028
  args: [{
999
1029
  selector: 'mg-base-alert',
@@ -1016,23 +1046,24 @@ class MagicFocusDirective {
1016
1046
  this.hostElement.nativeElement.focus();
1017
1047
  }
1018
1048
  }
1019
- MagicFocusDirective.ɵfac = function MagicFocusDirective_Factory(t) { return new (t || MagicFocusDirective)(ɵɵdirectiveInject(ElementRef)); };
1020
- MagicFocusDirective.ɵdir = ɵɵdefineDirective({ type: MagicFocusDirective, selectors: [["", "magicFocus", ""]] });
1021
- (function () { ɵsetClassMetadata(MagicFocusDirective, [{
1049
+ MagicFocusDirective.ɵfac = function MagicFocusDirective_Factory(t) { return new (t || MagicFocusDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
1050
+ MagicFocusDirective.ɵdir = i0.ɵɵdefineDirective({ type: MagicFocusDirective, selectors: [["", "magicFocus", ""]] });
1051
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicFocusDirective, [{
1022
1052
  type: Directive,
1023
1053
  args: [{
1024
1054
  selector: '[magicFocus]'
1025
1055
  }]
1026
- }], function () { return [{ type: ElementRef }]; }, null); })();
1056
+ }], function () { return [{ type: i0.ElementRef }]; }, null); })();
1027
1057
 
1028
- const _c0$1 = ["overlayContainerWrapper"];
1058
+ const _c0$2 = ["overlayContainerWrapper"];
1029
1059
  class MagicOverlayContainerWrapper {
1030
- constructor(componentListMagicService, loader, injector, componentFactoryResolver, changeDetectorRef) {
1060
+ constructor(componentListMagicService, magicLazyModuleLoader, injector, componentFactoryResolver, changeDetectorRef, compiler) {
1031
1061
  this.componentListMagicService = componentListMagicService;
1032
- this.loader = loader;
1062
+ this.magicLazyModuleLoader = magicLazyModuleLoader;
1033
1063
  this.injector = injector;
1034
1064
  this.componentFactoryResolver = componentFactoryResolver;
1035
1065
  this.changeDetectorRef = changeDetectorRef;
1066
+ this.compiler = compiler;
1036
1067
  this.Component = null;
1037
1068
  this.Parameters = {};
1038
1069
  this.onClose = new EventEmitter();
@@ -1042,10 +1073,11 @@ class MagicOverlayContainerWrapper {
1042
1073
  if (moduleRef == null) {
1043
1074
  let lazyLoadModule = this.componentListMagicService.getLazyLoadModuleData(this.Parameters.MagicFormName);
1044
1075
  if (lazyLoadModule != null) {
1045
- this.loader
1046
- .load(lazyLoadModule.modulePath + "#" + lazyLoadModule.moduleName)
1047
- .then((moduleFactory) => {
1048
- moduleRef = moduleFactory.create(this.injector);
1076
+ let moduleName = lazyLoadModule.moduleName.replace("Magic", "");
1077
+ moduleName = moduleName.replace("Module", "");
1078
+ this.magicLazyModuleLoader.Load(moduleName).then(m => {
1079
+ const compiled = this.compiler.compileModuleAndAllComponentsSync(m[lazyLoadModule.moduleName]);
1080
+ moduleRef = compiled.ngModuleFactory.create(this.injector);
1049
1081
  this.loadComponent(moduleRef);
1050
1082
  });
1051
1083
  }
@@ -1091,22 +1123,22 @@ MagicOverlayContainerWrapper.allowedBaseComps = new Map([
1091
1123
  [OverlayType.Alert, { comp: BaseMagicAlertComponent, error: 'BaseMagicAlertComponent. Alert ' }],
1092
1124
  [OverlayType.ConfirmationBox, { comp: BaseMagicConfirmComponent, error: 'BaseMagicConfirmComponent. Confirmation ' }]
1093
1125
  ]);
1094
- MagicOverlayContainerWrapper.ɵfac = function MagicOverlayContainerWrapper_Factory(t) { return new (t || MagicOverlayContainerWrapper)(ɵɵdirectiveInject(ComponentListMagicService), ɵɵdirectiveInject(NgModuleFactoryLoader), ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(ComponentFactoryResolver), ɵɵdirectiveInject(ChangeDetectorRef)); };
1095
- MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayContainerWrapper, selectors: [["app-magic-overlay-container-wrapper"]], viewQuery: function MagicOverlayContainerWrapper_Query(rf, ctx) { if (rf & 1) {
1096
- ɵɵstaticViewQuery(_c0$1, true);
1126
+ MagicOverlayContainerWrapper.ɵfac = function MagicOverlayContainerWrapper_Factory(t) { return new (t || MagicOverlayContainerWrapper)(i0.ɵɵdirectiveInject(ComponentListMagicService), i0.ɵɵdirectiveInject(MagicLazyLoaderService), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.Compiler)); };
1127
+ MagicOverlayContainerWrapper.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContainerWrapper, selectors: [["app-magic-overlay-container-wrapper"]], viewQuery: function MagicOverlayContainerWrapper_Query(rf, ctx) { if (rf & 1) {
1128
+ i0.ɵɵviewQuery(_c0$2, 7);
1097
1129
  } if (rf & 2) {
1098
- var _t;
1099
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.overlayContainerWrapperElementRef = _t.first);
1130
+ let _t;
1131
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayContainerWrapperElementRef = _t.first);
1100
1132
  } }, inputs: { Component: "Component", Parameters: "Parameters", OverlayTypeParam: "OverlayTypeParam" }, outputs: { onClose: "onClose" }, decls: 7, vars: 0, consts: [["tabIndex", "0", "magicFocus", "", 1, "overlay-container-wrapper-background", 2, "width", "0px", "height", "0px"], [1, "overlay-container-wrapper-background"], ["overlayContainerWrapper", ""], ["magicViewContainerRef", ""], ["overlayContent", ""], ["tabIndex", "0", 1, "overlay-container-wrapper-background", 2, "width", "0px", "height", "0px"]], template: function MagicOverlayContainerWrapper_Template(rf, ctx) { if (rf & 1) {
1101
- ɵɵelementStart(0, "div");
1102
- ɵɵelement(1, "div", 0);
1103
- ɵɵelementStart(2, "div", 1, 2);
1104
- ɵɵelement(4, "div", 3, 4);
1105
- ɵɵelementEnd();
1106
- ɵɵelement(6, "div", 5);
1107
- ɵɵelementEnd();
1108
- } }, directives: [MagicFocusDirective, MagicViewContainerRef], styles: [".overlay-container-wrapper-background[_ngcontent-%COMP%] {\n \n position: fixed;\n top: 0;\n z-index: 999;\n right: 0;\n bottom: 0;\n left: 0;\n }"] });
1109
- (function () { ɵsetClassMetadata(MagicOverlayContainerWrapper, [{
1133
+ i0.ɵɵelementStart(0, "div");
1134
+ i0.ɵɵelement(1, "div", 0);
1135
+ i0.ɵɵelementStart(2, "div", 1, 2);
1136
+ i0.ɵɵelement(4, "div", 3, 4);
1137
+ i0.ɵɵelementEnd();
1138
+ i0.ɵɵelement(6, "div", 5);
1139
+ i0.ɵɵelementEnd();
1140
+ } }, directives: [MagicFocusDirective, MagicViewContainerRef], styles: [".overlay-container-wrapper-background[_ngcontent-%COMP%]{position:fixed;top:0;z-index:999;right:0;bottom:0;left:0}"] });
1141
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicOverlayContainerWrapper, [{
1110
1142
  type: Component,
1111
1143
  args: [{
1112
1144
  selector: 'app-magic-overlay-container-wrapper',
@@ -1132,7 +1164,7 @@ MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayCon
1132
1164
  }
1133
1165
  `]
1134
1166
  }]
1135
- }], function () { return [{ type: ComponentListMagicService }, { type: NgModuleFactoryLoader }, { type: Injector }, { type: ComponentFactoryResolver }, { type: ChangeDetectorRef }]; }, { Component: [{
1167
+ }], function () { return [{ type: ComponentListMagicService }, { type: MagicLazyLoaderService }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i0.Compiler }]; }, { Component: [{
1136
1168
  type: Input
1137
1169
  }], Parameters: [{
1138
1170
  type: Input
@@ -1147,30 +1179,29 @@ MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayCon
1147
1179
 
1148
1180
  class MagicAlertComponent extends BaseMagicAlertComponent {
1149
1181
  }
1150
- MagicAlertComponent.ɵfac = function MagicAlertComponent_Factory(t) { return ɵMagicAlertComponent_BaseFactory(t || MagicAlertComponent); };
1151
- MagicAlertComponent.ɵcmp = ɵɵdefineComponent({ type: MagicAlertComponent, selectors: [["sample-magic-alert-component"]], features: [ɵɵInheritDefinitionFeature], decls: 8, vars: 2, consts: [[1, "mg-message-background"], [3, "click"]], template: function MagicAlertComponent_Template(rf, ctx) { if (rf & 1) {
1152
- ɵɵelementStart(0, "div");
1153
- ɵɵelementStart(1, "div", 0);
1154
- ɵɵelementStart(2, "h2");
1155
- ɵɵtext(3);
1156
- ɵɵelementEnd();
1157
- ɵɵelementStart(4, "p");
1158
- ɵɵtext(5);
1159
- ɵɵelementEnd();
1160
- ɵɵelementStart(6, "button", 1);
1161
- ɵɵlistener("click", function MagicAlertComponent_Template_button_click_6_listener() { return ctx.OnClose(); });
1162
- ɵɵtext(7, "OK");
1163
- ɵɵelementEnd();
1164
- ɵɵelementEnd();
1165
- ɵɵelementEnd();
1182
+ MagicAlertComponent.ɵfac = function () { let ɵMagicAlertComponent_BaseFactory; return function MagicAlertComponent_Factory(t) { return (ɵMagicAlertComponent_BaseFactory || (ɵMagicAlertComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MagicAlertComponent)))(t || MagicAlertComponent); }; }();
1183
+ MagicAlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicAlertComponent, selectors: [["sample-magic-alert-component"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 2, consts: [[1, "mg-message-background"], [3, "click"]], template: function MagicAlertComponent_Template(rf, ctx) { if (rf & 1) {
1184
+ i0.ɵɵelementStart(0, "div");
1185
+ i0.ɵɵelementStart(1, "div", 0);
1186
+ i0.ɵɵelementStart(2, "h2");
1187
+ i0.ɵɵtext(3);
1188
+ i0.ɵɵelementEnd();
1189
+ i0.ɵɵelementStart(4, "p");
1190
+ i0.ɵɵtext(5);
1191
+ i0.ɵɵelementEnd();
1192
+ i0.ɵɵelementStart(6, "button", 1);
1193
+ i0.ɵɵlistener("click", function MagicAlertComponent_Template_button_click_6_listener() { return ctx.OnClose(); });
1194
+ i0.ɵɵtext(7, "OK");
1195
+ i0.ɵɵelementEnd();
1196
+ i0.ɵɵelementEnd();
1197
+ i0.ɵɵelementEnd();
1166
1198
  } if (rf & 2) {
1167
- ɵɵadvance(3);
1168
- ɵɵtextInterpolate1(" ", ctx.title, "");
1169
- ɵɵadvance(2);
1170
- ɵɵtextInterpolate1("", ctx.message, " ");
1171
- } }, styles: [".mg-message-background[_ngcontent-%COMP%] {\n background-color: #F5F5F5;\n text-align: center;\n width: 40%;\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n padding: 17px;\n border-radius: 5px;\n text-align: center;\n margin-top: 10% ;\n margin-left: auto;\n margin-right: auto;\n border: 1px solid gray;\n }\n\n button[_ngcontent-%COMP%] {\n background-color: #8CD4F5;\n color: white;\n border: none;\n box-shadow: none;\n font-size: 17px;\n font-weight: 500;\n -webkit-border-radius: 4px;\n border-radius: 5px;\n padding: 10px 32px;\n margin: 26px 5px 0 5px;\n cursor: pointer;\n }"] });
1172
- const ɵMagicAlertComponent_BaseFactory = ɵɵgetInheritedFactory(MagicAlertComponent);
1173
- (function () { ɵsetClassMetadata(MagicAlertComponent, [{
1199
+ i0.ɵɵadvance(3);
1200
+ i0.ɵɵtextInterpolate1(" ", ctx.title, "");
1201
+ i0.ɵɵadvance(2);
1202
+ i0.ɵɵtextInterpolate1("", ctx.message, " ");
1203
+ } }, styles: [".mg-message-background[_ngcontent-%COMP%]{background-color:#f5f5f5;width:40%;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;padding:17px;border-radius:5px;text-align:center;margin-top:10%;margin-left:auto;margin-right:auto;border:1px solid gray}button[_ngcontent-%COMP%]{background-color:#8cd4f5;color:#fff;border:none;box-shadow:none;font-size:17px;font-weight:500;border-radius:5px;padding:10px 32px;margin:26px 5px 0;cursor:pointer}"] });
1204
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicAlertComponent, [{
1174
1205
  type: Component,
1175
1206
  args: [{
1176
1207
  selector: 'sample-magic-alert-component',
@@ -1216,34 +1247,33 @@ const ɵMagicAlertComponent_BaseFactory = ɵɵgetInheritedFactory(MagicAlertComp
1216
1247
 
1217
1248
  class MagicConfirmationBoxComponent extends BaseMagicConfirmComponent {
1218
1249
  }
1219
- MagicConfirmationBoxComponent.ɵfac = function MagicConfirmationBoxComponent_Factory(t) { return ɵMagicConfirmationBoxComponent_BaseFactory(t || MagicConfirmationBoxComponent); };
1220
- MagicConfirmationBoxComponent.ɵcmp = ɵɵdefineComponent({ type: MagicConfirmationBoxComponent, selectors: [["sample-magic-confirmation-box"]], features: [ɵɵInheritDefinitionFeature], decls: 11, vars: 2, consts: [[1, "mg-message-background"], [3, "click"], [1, "cancel", 3, "click"]], template: function MagicConfirmationBoxComponent_Template(rf, ctx) { if (rf & 1) {
1221
- ɵɵelementStart(0, "div");
1222
- ɵɵelementStart(1, "div", 0);
1223
- ɵɵelementStart(2, "h2");
1224
- ɵɵtext(3);
1225
- ɵɵelementEnd();
1226
- ɵɵtext(4);
1227
- ɵɵelement(5, "br");
1228
- ɵɵelement(6, "br");
1229
- ɵɵelementStart(7, "button", 1);
1230
- ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_7_listener() { return ctx.OnClose(true); });
1231
- ɵɵtext(8, "OK");
1232
- ɵɵelementEnd();
1233
- ɵɵelementStart(9, "button", 2);
1234
- ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_9_listener() { return ctx.OnClose(false); });
1235
- ɵɵtext(10, "Cancel");
1236
- ɵɵelementEnd();
1237
- ɵɵelementEnd();
1238
- ɵɵelementEnd();
1250
+ MagicConfirmationBoxComponent.ɵfac = function () { let ɵMagicConfirmationBoxComponent_BaseFactory; return function MagicConfirmationBoxComponent_Factory(t) { return (ɵMagicConfirmationBoxComponent_BaseFactory || (ɵMagicConfirmationBoxComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MagicConfirmationBoxComponent)))(t || MagicConfirmationBoxComponent); }; }();
1251
+ MagicConfirmationBoxComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicConfirmationBoxComponent, selectors: [["sample-magic-confirmation-box"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 2, consts: [[1, "mg-message-background"], [3, "click"], [1, "cancel", 3, "click"]], template: function MagicConfirmationBoxComponent_Template(rf, ctx) { if (rf & 1) {
1252
+ i0.ɵɵelementStart(0, "div");
1253
+ i0.ɵɵelementStart(1, "div", 0);
1254
+ i0.ɵɵelementStart(2, "h2");
1255
+ i0.ɵɵtext(3);
1256
+ i0.ɵɵelementEnd();
1257
+ i0.ɵɵtext(4);
1258
+ i0.ɵɵelement(5, "br");
1259
+ i0.ɵɵelement(6, "br");
1260
+ i0.ɵɵelementStart(7, "button", 1);
1261
+ i0.ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_7_listener() { return ctx.OnClose(true); });
1262
+ i0.ɵɵtext(8, "OK");
1263
+ i0.ɵɵelementEnd();
1264
+ i0.ɵɵelementStart(9, "button", 2);
1265
+ i0.ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_9_listener() { return ctx.OnClose(false); });
1266
+ i0.ɵɵtext(10, "Cancel");
1267
+ i0.ɵɵelementEnd();
1268
+ i0.ɵɵelementEnd();
1269
+ i0.ɵɵelementEnd();
1239
1270
  } if (rf & 2) {
1240
- ɵɵadvance(3);
1241
- ɵɵtextInterpolate1(" ", ctx.title, "");
1242
- ɵɵadvance(1);
1243
- ɵɵtextInterpolate1(" ", ctx.message, " ");
1244
- } }, styles: [".mg-message-background[_ngcontent-%COMP%] {\n background-color: #F5F5F5;\n text-align: center;\n width: 40%;\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n padding: 17px;\n border-radius: 5px;\n text-align: center;\n margin-top: 10% ;\n margin-left: auto;\n margin-right: auto;\n border: 1px solid gray;\n }\n\n button[_ngcontent-%COMP%] {\n background-color: #8CD4F5;\n color: white;\n border: none;\n box-shadow: none;\n font-size: 17px;\n font-weight: 500;\n -webkit-border-radius: 4px;\n border-radius: 5px;\n padding: 10px 32px;\n margin: 26px 5px 0 5px;\n cursor: pointer;\n }\n \n button.cancel[_ngcontent-%COMP%] {\n background-color: #C1C1C1;\n }"] });
1245
- const ɵMagicConfirmationBoxComponent_BaseFactory = ɵɵgetInheritedFactory(MagicConfirmationBoxComponent);
1246
- (function () { ɵsetClassMetadata(MagicConfirmationBoxComponent, [{
1271
+ i0.ɵɵadvance(3);
1272
+ i0.ɵɵtextInterpolate1(" ", ctx.title, "");
1273
+ i0.ɵɵadvance(1);
1274
+ i0.ɵɵtextInterpolate1(" ", ctx.message, " ");
1275
+ } }, styles: [".mg-message-background[_ngcontent-%COMP%]{background-color:#f5f5f5;width:40%;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;padding:17px;border-radius:5px;text-align:center;margin-top:10%;margin-left:auto;margin-right:auto;border:1px solid gray}button[_ngcontent-%COMP%]{background-color:#8cd4f5;color:#fff;border:none;box-shadow:none;font-size:17px;font-weight:500;border-radius:5px;padding:10px 32px;margin:26px 5px 0;cursor:pointer}button.cancel[_ngcontent-%COMP%]{background-color:#c1c1c1}"] });
1276
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicConfirmationBoxComponent, [{
1247
1277
  type: Component,
1248
1278
  args: [{
1249
1279
  selector: 'sample-magic-confirmation-box',
@@ -1306,8 +1336,8 @@ class ConfirmationComponentsMagicProvider {
1306
1336
  }
1307
1337
  }
1308
1338
  ConfirmationComponentsMagicProvider.ɵfac = function ConfirmationComponentsMagicProvider_Factory(t) { return new (t || ConfirmationComponentsMagicProvider)(); };
1309
- ConfirmationComponentsMagicProvider.ɵprov = ɵɵdefineInjectable({ token: ConfirmationComponentsMagicProvider, factory: ConfirmationComponentsMagicProvider.ɵfac });
1310
- (function () { ɵsetClassMetadata(ConfirmationComponentsMagicProvider, [{
1339
+ ConfirmationComponentsMagicProvider.ɵprov = i0.ɵɵdefineInjectable({ token: ConfirmationComponentsMagicProvider, factory: ConfirmationComponentsMagicProvider.ɵfac });
1340
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationComponentsMagicProvider, [{
1311
1341
  type: Injectable
1312
1342
  }], null, null); })();
1313
1343
 
@@ -1420,11 +1450,14 @@ class OverlayWindowService {
1420
1450
  return componentRef;
1421
1451
  }
1422
1452
  }
1423
- OverlayWindowService.ɵfac = function OverlayWindowService_Factory(t) { return new (t || OverlayWindowService)(ɵɵinject(ComponentFactoryResolver), ɵɵinject(ComponentListMagicService), ɵɵinject(EngineMagicService), ɵɵinject(OverlayContainerMagicProvider), ɵɵinject(ConfirmationComponentsMagicProvider)); };
1424
- OverlayWindowService.ɵprov = ɵɵdefineInjectable({ token: OverlayWindowService, factory: OverlayWindowService.ɵfac });
1425
- (function () { ɵsetClassMetadata(OverlayWindowService, [{
1426
- type: Injectable
1427
- }], function () { return [{ type: ComponentFactoryResolver }, { type: ComponentListMagicService }, { type: EngineMagicService }, { type: OverlayContainerMagicProvider }, { type: ConfirmationComponentsMagicProvider }]; }, null); })();
1453
+ OverlayWindowService.ɵfac = function OverlayWindowService_Factory(t) { return new (t || OverlayWindowService)(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(ComponentListMagicService), i0.ɵɵinject(EngineMagicService), i0.ɵɵinject(OverlayContainerMagicProvider), i0.ɵɵinject(ConfirmationComponentsMagicProvider)); };
1454
+ OverlayWindowService.ɵprov = i0.ɵɵdefineInjectable({ token: OverlayWindowService, factory: OverlayWindowService.ɵfac, providedIn: 'root' });
1455
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayWindowService, [{
1456
+ type: Injectable,
1457
+ args: [{
1458
+ providedIn: 'root'
1459
+ }]
1460
+ }], function () { return [{ type: i0.ComponentFactoryResolver }, { type: ComponentListMagicService }, { type: EngineMagicService }, { type: OverlayContainerMagicProvider }, { type: ConfirmationComponentsMagicProvider }]; }, null); })();
1428
1461
  class OverlayWindowFocusManager {
1429
1462
  constructor(rootMagicElement) {
1430
1463
  this.rootMagicElement = null;
@@ -2131,9 +2164,9 @@ class TaskMagicService {
2131
2164
  }
2132
2165
  }
2133
2166
  }
2134
- TaskMagicService.ɵfac = function TaskMagicService_Factory(t) { return new (t || TaskMagicService)(ɵɵinject(EngineMagicService), ɵɵinject(OverlayWindowService)); };
2135
- TaskMagicService.ɵprov = ɵɵdefineInjectable({ token: TaskMagicService, factory: TaskMagicService.ɵfac });
2136
- (function () { ɵsetClassMetadata(TaskMagicService, [{
2167
+ TaskMagicService.ɵfac = function TaskMagicService_Factory(t) { return new (t || TaskMagicService)(i0.ɵɵinject(EngineMagicService), i0.ɵɵinject(OverlayWindowService)); };
2168
+ TaskMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: TaskMagicService, factory: TaskMagicService.ɵfac });
2169
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskMagicService, [{
2137
2170
  type: Injectable
2138
2171
  }], function () { return [{ type: EngineMagicService }, { type: OverlayWindowService }]; }, null); })();
2139
2172
 
@@ -2199,9 +2232,9 @@ class TableMagicService {
2199
2232
  return topIndex;
2200
2233
  }
2201
2234
  }
2202
- TableMagicService.ɵfac = function TableMagicService_Factory(t) { return new (t || TableMagicService)(ɵɵinject(ComponentListMagicService), ɵɵinject(TaskMagicService)); };
2203
- TableMagicService.ɵprov = ɵɵdefineInjectable({ token: TableMagicService, factory: TableMagicService.ɵfac });
2204
- (function () { ɵsetClassMetadata(TableMagicService, [{
2235
+ TableMagicService.ɵfac = function TableMagicService_Factory(t) { return new (t || TableMagicService)(i0.ɵɵinject(ComponentListMagicService), i0.ɵɵinject(TaskMagicService)); };
2236
+ TableMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: TableMagicService, factory: TableMagicService.ɵfac });
2237
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableMagicService, [{
2205
2238
  type: Injectable
2206
2239
  }], function () { return [{ type: ComponentListMagicService }, { type: TaskMagicService }]; }, null); })();
2207
2240
 
@@ -2213,11 +2246,11 @@ class TitleMagicService {
2213
2246
  this.titleService.setTitle(newTitle);
2214
2247
  }
2215
2248
  }
2216
- TitleMagicService.ɵfac = function TitleMagicService_Factory(t) { return new (t || TitleMagicService)(ɵɵinject(Title)); };
2217
- TitleMagicService.ɵprov = ɵɵdefineInjectable({ token: TitleMagicService, factory: TitleMagicService.ɵfac });
2218
- (function () { ɵsetClassMetadata(TitleMagicService, [{
2249
+ TitleMagicService.ɵfac = function TitleMagicService_Factory(t) { return new (t || TitleMagicService)(i0.ɵɵinject(i1$1.Title)); };
2250
+ TitleMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: TitleMagicService, factory: TitleMagicService.ɵfac });
2251
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TitleMagicService, [{
2219
2252
  type: Injectable
2220
- }], function () { return [{ type: Title }]; }, null); })();
2253
+ }], function () { return [{ type: i1$1.Title }]; }, null); })();
2221
2254
 
2222
2255
  class AccessorMagicService {
2223
2256
  constructor(task) {
@@ -2507,9 +2540,9 @@ class AccessorMagicService {
2507
2540
  return CookieService.deleteCookie(name);
2508
2541
  }
2509
2542
  }
2510
- AccessorMagicService.ɵfac = function AccessorMagicService_Factory(t) { return new (t || AccessorMagicService)(ɵɵinject(TaskMagicService)); };
2511
- AccessorMagicService.ɵprov = ɵɵdefineInjectable({ token: AccessorMagicService, factory: AccessorMagicService.ɵfac });
2512
- (function () { ɵsetClassMetadata(AccessorMagicService, [{
2543
+ AccessorMagicService.ɵfac = function AccessorMagicService_Factory(t) { return new (t || AccessorMagicService)(i0.ɵɵinject(TaskMagicService)); };
2544
+ AccessorMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: AccessorMagicService, factory: AccessorMagicService.ɵfac });
2545
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccessorMagicService, [{
2513
2546
  type: Injectable
2514
2547
  }], function () { return [{ type: TaskMagicService }]; }, null); })();
2515
2548
 
@@ -2526,9 +2559,9 @@ class MagicServices {
2526
2559
  task.mgAccessorService = mgAccessorService;
2527
2560
  }
2528
2561
  }
2529
- MagicServices.ɵfac = function MagicServices_Factory(t) { return new (t || MagicServices)(ɵɵinject(TaskMagicService), ɵɵinject(SubformMagicService), ɵɵinject(TableMagicService), ɵɵinject(TitleMagicService), ɵɵinject(AccessorMagicService)); };
2530
- MagicServices.ɵprov = ɵɵdefineInjectable({ token: MagicServices, factory: MagicServices.ɵfac });
2531
- (function () { ɵsetClassMetadata(MagicServices, [{
2562
+ MagicServices.ɵfac = function MagicServices_Factory(t) { return new (t || MagicServices)(i0.ɵɵinject(TaskMagicService), i0.ɵɵinject(SubformMagicService), i0.ɵɵinject(TableMagicService), i0.ɵɵinject(TitleMagicService), i0.ɵɵinject(AccessorMagicService)); };
2563
+ MagicServices.ɵprov = i0.ɵɵdefineInjectable({ token: MagicServices, factory: MagicServices.ɵfac });
2564
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicServices, [{
2532
2565
  type: Injectable
2533
2566
  }], function () { return [{ type: TaskMagicService }, { type: SubformMagicService }, { type: TableMagicService }, { type: TitleMagicService }, { type: AccessorMagicService }]; }, null); })();
2534
2567
 
@@ -2589,16 +2622,16 @@ class TaskBaseMagicComponent {
2589
2622
  this.task.dispose();
2590
2623
  }
2591
2624
  }
2592
- TaskBaseMagicComponent.ɵfac = function TaskBaseMagicComponent_Factory(t) { return new (t || TaskBaseMagicComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(MagicServices)); };
2593
- TaskBaseMagicComponent.ɵcmp = ɵɵdefineComponent({ type: TaskBaseMagicComponent, selectors: [["task-magic"]], inputs: { taskIdParam: "taskIdParam", taskDescription: "taskDescription" }, features: [ɵɵProvidersFeature([TaskMagicService, SubformMagicService, TableMagicService])], decls: 0, vars: 0, template: function TaskBaseMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
2594
- (function () { ɵsetClassMetadata(TaskBaseMagicComponent, [{
2625
+ TaskBaseMagicComponent.ɵfac = function TaskBaseMagicComponent_Factory(t) { return new (t || TaskBaseMagicComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(MagicServices)); };
2626
+ TaskBaseMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TaskBaseMagicComponent, selectors: [["task-magic"]], inputs: { taskIdParam: "taskIdParam", taskDescription: "taskDescription" }, features: [i0.ɵɵProvidersFeature([TaskMagicService, SubformMagicService, TableMagicService])], decls: 0, vars: 0, template: function TaskBaseMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
2627
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskBaseMagicComponent, [{
2595
2628
  type: Component,
2596
2629
  args: [{
2597
2630
  selector: 'task-magic',
2598
2631
  providers: [TaskMagicService, SubformMagicService, TableMagicService],
2599
2632
  template: ''
2600
2633
  }]
2601
- }], function () { return [{ type: ChangeDetectorRef }, { type: MagicServices }]; }, { taskIdParam: [{
2634
+ }], function () { return [{ type: i0.ChangeDetectorRef }, { type: MagicServices }]; }, { taskIdParam: [{
2602
2635
  type: Input
2603
2636
  }], taskDescription: [{
2604
2637
  type: Input
@@ -2638,16 +2671,16 @@ class RowMagicDirective {
2638
2671
  }
2639
2672
  }
2640
2673
  }
2641
- RowMagicDirective.ɵfac = function RowMagicDirective_Factory(t) { return new (t || RowMagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef)); };
2642
- RowMagicDirective.ɵdir = ɵɵdefineDirective({ type: RowMagicDirective, selectors: [["", "magicRow", ""]], hostBindings: function RowMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
2643
- ɵɵlistener("click", function RowMagicDirective_click_HostBindingHandler($event) { return ctx.onClick($event); });
2674
+ RowMagicDirective.ɵfac = function RowMagicDirective_Factory(t) { return new (t || RowMagicDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ElementRef)); };
2675
+ RowMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: RowMagicDirective, selectors: [["", "magicRow", ""]], hostBindings: function RowMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
2676
+ i0.ɵɵlistener("click", function RowMagicDirective_click_HostBindingHandler($event) { return ctx.onClick($event); });
2644
2677
  } }, inputs: { rowId: ["magicRow", "rowId"] } });
2645
- (function () { ɵsetClassMetadata(RowMagicDirective, [{
2678
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RowMagicDirective, [{
2646
2679
  type: Directive,
2647
2680
  args: [{
2648
2681
  selector: '[magicRow]'
2649
2682
  }]
2650
- }], function () { return [{ type: TaskMagicService }, { type: ElementRef }]; }, { rowId: [{
2683
+ }], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }]; }, { rowId: [{
2651
2684
  type: Input,
2652
2685
  args: ['magicRow']
2653
2686
  }], onClick: [{
@@ -2798,7 +2831,7 @@ class MagicDirective {
2798
2831
  case InteractiveCommandType.CALL_JS:
2799
2832
  let methodName = command._str;
2800
2833
  let args = command.arguments;
2801
- let magicComponent = (this.vcRef._hostView).find(v => v instanceof TaskBaseMagicComponent);
2834
+ let magicComponent = (this.vcRef._hostLView).find(v => v instanceof TaskBaseMagicComponent);
2802
2835
  let resultString = '';
2803
2836
  try {
2804
2837
  if (!isNullOrUndefined(magicComponent[methodName])) {
@@ -2830,14 +2863,14 @@ class MagicDirective {
2830
2863
  }
2831
2864
  MagicDirective.opened = false;
2832
2865
  MagicDirective.noOfAutoCompleteBoxesOpened = 0;
2833
- MagicDirective.ɵfac = function MagicDirective_Factory(t) { return new (t || MagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(RowMagicDirective, 8)); };
2834
- MagicDirective.ɵdir = ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", rowId: "rowId" } });
2835
- (function () { ɵsetClassMetadata(MagicDirective, [{
2866
+ MagicDirective.ɵfac = function MagicDirective_Factory(t) { return new (t || MagicDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(RowMagicDirective, 8)); };
2867
+ MagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", rowId: "rowId" } });
2868
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicDirective, [{
2836
2869
  type: Directive,
2837
2870
  args: [{
2838
2871
  selector: '[magic]'
2839
2872
  }]
2840
- }], function () { return [{ type: TaskMagicService }, { type: ElementRef }, { type: Renderer2 }, { type: ViewContainerRef }, { type: RowMagicDirective, decorators: [{
2873
+ }], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
2841
2874
  type: Optional
2842
2875
  }] }]; }, { magic: [{
2843
2876
  type: Input,
@@ -3016,14 +3049,14 @@ class NoControlMagicDirective extends MagicDirective {
3016
3049
  }
3017
3050
  }
3018
3051
  }
3019
- NoControlMagicDirective.ɵfac = function NoControlMagicDirective_Factory(t) { return new (t || NoControlMagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(RowMagicDirective, 8)); };
3020
- NoControlMagicDirective.ɵdir = ɵɵdefineDirective({ type: NoControlMagicDirective, selectors: [["", "magicnc", ""]], inputs: { magic: ["magicnc", "magic"] }, features: [ɵɵInheritDefinitionFeature] });
3021
- (function () { ɵsetClassMetadata(NoControlMagicDirective, [{
3052
+ NoControlMagicDirective.ɵfac = function NoControlMagicDirective_Factory(t) { return new (t || NoControlMagicDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(RowMagicDirective, 8)); };
3053
+ NoControlMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: NoControlMagicDirective, selectors: [["", "magicnc", ""]], inputs: { magic: ["magicnc", "magic"] }, features: [i0.ɵɵInheritDefinitionFeature] });
3054
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoControlMagicDirective, [{
3022
3055
  type: Directive,
3023
3056
  args: [{
3024
3057
  selector: '[magicnc]'
3025
3058
  }]
3026
- }], function () { return [{ type: TaskMagicService }, { type: ElementRef }, { type: Renderer2 }, { type: ViewContainerRef }, { type: RowMagicDirective, decorators: [{
3059
+ }], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
3027
3060
  type: Optional
3028
3061
  }] }]; }, { magic: [{
3029
3062
  type: Input,
@@ -3057,9 +3090,9 @@ class DateMagicPipe extends DatePipe {
3057
3090
  return value;
3058
3091
  }
3059
3092
  }
3060
- DateMagicPipe.ɵfac = function DateMagicPipe_Factory(t) { return new (t || DateMagicPipe)(ɵɵdirectiveInject(TaskMagicService)); };
3061
- DateMagicPipe.ɵpipe = ɵɵdefinePipe({ name: "magicDate", type: DateMagicPipe, pure: true });
3062
- (function () { ɵsetClassMetadata(DateMagicPipe, [{
3093
+ DateMagicPipe.ɵfac = function DateMagicPipe_Factory(t) { return new (t || DateMagicPipe)(i0.ɵɵdirectiveInject(TaskMagicService, 16)); };
3094
+ DateMagicPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "magicDate", type: DateMagicPipe, pure: true });
3095
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateMagicPipe, [{
3063
3096
  type: Pipe,
3064
3097
  args: [{
3065
3098
  name: 'magicDate'
@@ -3327,11 +3360,11 @@ class MgformatMagicDirective {
3327
3360
  return false;
3328
3361
  }
3329
3362
  }
3330
- MgformatMagicDirective.ɵfac = function MgformatMagicDirective_Factory(t) { return new (t || MgformatMagicDirective)(ɵɵdirectiveInject(MagicDirective), ɵɵdirectiveInject(TaskMagicService)); };
3331
- MgformatMagicDirective.ɵdir = ɵɵdefineDirective({ type: MgformatMagicDirective, selectors: [["", "mgFormat", ""]], hostBindings: function MgformatMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3332
- ɵɵlistener("focus", function MgformatMagicDirective_focus_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("change", function MgformatMagicDirective_change_HostBindingHandler($event) { return ctx.onChangeEvent($event); });
3363
+ MgformatMagicDirective.ɵfac = function MgformatMagicDirective_Factory(t) { return new (t || MgformatMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective), i0.ɵɵdirectiveInject(TaskMagicService)); };
3364
+ MgformatMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: MgformatMagicDirective, selectors: [["", "mgFormat", ""]], hostBindings: function MgformatMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3365
+ i0.ɵɵlistener("focus", function MgformatMagicDirective_focus_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("change", function MgformatMagicDirective_change_HostBindingHandler($event) { return ctx.onChangeEvent($event); });
3333
3366
  } } });
3334
- (function () { ɵsetClassMetadata(MgformatMagicDirective, [{
3367
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MgformatMagicDirective, [{
3335
3368
  type: Directive,
3336
3369
  args: [{
3337
3370
  selector: '[mgFormat]'
@@ -3379,9 +3412,9 @@ class TimeMagicPipe extends DatePipe {
3379
3412
  return value;
3380
3413
  }
3381
3414
  }
3382
- TimeMagicPipe.ɵfac = function TimeMagicPipe_Factory(t) { return new (t || TimeMagicPipe)(ɵɵdirectiveInject(TaskMagicService)); };
3383
- TimeMagicPipe.ɵpipe = ɵɵdefinePipe({ name: "magicTime", type: TimeMagicPipe, pure: true });
3384
- (function () { ɵsetClassMetadata(TimeMagicPipe, [{
3415
+ TimeMagicPipe.ɵfac = function TimeMagicPipe_Factory(t) { return new (t || TimeMagicPipe)(i0.ɵɵdirectiveInject(TaskMagicService, 16)); };
3416
+ TimeMagicPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "magicTime", type: TimeMagicPipe, pure: true });
3417
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimeMagicPipe, [{
3385
3418
  type: Pipe,
3386
3419
  args: [{
3387
3420
  name: 'magicTime'
@@ -3419,15 +3452,15 @@ class RangeValidatorMagicDirective {
3419
3452
  return Object.keys(formGroup).find(name => c === formGroup[name]) || null;
3420
3453
  }
3421
3454
  }
3422
- RangeValidatorMagicDirective.ɵfac = function RangeValidatorMagicDirective_Factory(t) { return new (t || RangeValidatorMagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ViewContainerRef)); };
3423
- RangeValidatorMagicDirective.ɵdir = ɵɵdefineDirective({ type: RangeValidatorMagicDirective, selectors: [["", "rangevalidator", ""]], features: [ɵɵProvidersFeature([
3455
+ RangeValidatorMagicDirective.ɵfac = function RangeValidatorMagicDirective_Factory(t) { return new (t || RangeValidatorMagicDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
3456
+ RangeValidatorMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: RangeValidatorMagicDirective, selectors: [["", "rangevalidator", ""]], features: [i0.ɵɵProvidersFeature([
3424
3457
  {
3425
3458
  provide: NG_VALIDATORS,
3426
3459
  useExisting: RangeValidatorMagicDirective,
3427
3460
  multi: true,
3428
3461
  }
3429
3462
  ])] });
3430
- (function () { ɵsetClassMetadata(RangeValidatorMagicDirective, [{
3463
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RangeValidatorMagicDirective, [{
3431
3464
  type: Directive,
3432
3465
  args: [{
3433
3466
  selector: '[rangevalidator] ',
@@ -3439,20 +3472,20 @@ RangeValidatorMagicDirective.ɵdir = ɵɵdefineDirective({ type: RangeValidatorM
3439
3472
  }
3440
3473
  ]
3441
3474
  }]
3442
- }], function () { return [{ type: TaskMagicService }, { type: ViewContainerRef }]; }, null); })();
3475
+ }], function () { return [{ type: TaskMagicService }, { type: i0.ViewContainerRef }]; }, null); })();
3443
3476
 
3444
3477
  function SubformMagicComponent_ndc_dynamic_0_Template(rf, ctx) { if (rf & 1) {
3445
- ɵɵelement(0, "ndc-dynamic", 1);
3478
+ i0.ɵɵelement(0, "ndc-dynamic", 1);
3446
3479
  } if (rf & 2) {
3447
- const ctx_r0 = ɵɵnextContext();
3448
- ɵɵproperty("ndcDynamicComponent", ctx_r0.Component)("ndcDynamicInputs", ctx_r0.Parameters);
3480
+ const ctx_r0 = i0.ɵɵnextContext();
3481
+ i0.ɵɵproperty("ndcDynamicComponent", ctx_r0.Component)("ndcDynamicInputs", ctx_r0.Parameters);
3449
3482
  } }
3450
3483
  class SubformMagicComponent {
3451
3484
  constructor(vcRef, mgSub) {
3452
3485
  this.vcRef = vcRef;
3453
3486
  this.mgSub = mgSub;
3454
3487
  this.component = null;
3455
- this.component = (this.vcRef._hostView).find(v => !isNullOrUndefined(v));
3488
+ this.component = (this.vcRef._hostLView).find(v => !isNullOrUndefined(v));
3456
3489
  }
3457
3490
  set magic(val) { this.id = val; }
3458
3491
  ;
@@ -3463,13 +3496,13 @@ class SubformMagicComponent {
3463
3496
  return this.mgSub.mgGetParameters(this.id);
3464
3497
  }
3465
3498
  }
3466
- SubformMagicComponent.ɵfac = function SubformMagicComponent_Factory(t) { return new (t || SubformMagicComponent)(ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(SubformMagicService)); };
3467
- SubformMagicComponent.ɵcmp = ɵɵdefineComponent({ type: SubformMagicComponent, selectors: [["magic-subform"]], inputs: { magic: "magic" }, decls: 1, vars: 1, consts: [[3, "ndcDynamicComponent", "ndcDynamicInputs", 4, "ngIf"], [3, "ndcDynamicComponent", "ndcDynamicInputs"]], template: function SubformMagicComponent_Template(rf, ctx) { if (rf & 1) {
3468
- ɵɵtemplate(0, SubformMagicComponent_ndc_dynamic_0_Template, 1, 2, "ndc-dynamic", 0);
3499
+ SubformMagicComponent.ɵfac = function SubformMagicComponent_Factory(t) { return new (t || SubformMagicComponent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(SubformMagicService)); };
3500
+ SubformMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SubformMagicComponent, selectors: [["magic-subform"]], inputs: { magic: "magic" }, decls: 1, vars: 1, consts: [[3, "ndcDynamicComponent", "ndcDynamicInputs", 4, "ngIf"], [3, "ndcDynamicComponent", "ndcDynamicInputs"]], template: function SubformMagicComponent_Template(rf, ctx) { if (rf & 1) {
3501
+ i0.ɵɵtemplate(0, SubformMagicComponent_ndc_dynamic_0_Template, 1, 2, "ndc-dynamic", 0);
3469
3502
  } if (rf & 2) {
3470
- ɵɵproperty("ngIf", ctx.Component);
3471
- } }, directives: [NgIf, DynamicComponent, DynamicIoDirective], encapsulation: 2 });
3472
- (function () { ɵsetClassMetadata(SubformMagicComponent, [{
3503
+ i0.ɵɵproperty("ngIf", ctx.Component);
3504
+ } }, directives: [i1.NgIf, i3.DynamicComponent, i3.DynamicIoDirective], encapsulation: 2 });
3505
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubformMagicComponent, [{
3473
3506
  type: Component,
3474
3507
  args: [{
3475
3508
  selector: 'magic-subform',
@@ -3481,34 +3514,34 @@ SubformMagicComponent.ɵcmp = ɵɵdefineComponent({ type: SubformMagicComponent,
3481
3514
  </ndc-dynamic>
3482
3515
  `
3483
3516
  }]
3484
- }], function () { return [{ type: ViewContainerRef }, { type: SubformMagicService }]; }, { magic: [{
3517
+ }], function () { return [{ type: i0.ViewContainerRef }, { type: SubformMagicService }]; }, { magic: [{
3485
3518
  type: Input,
3486
3519
  args: ['magic']
3487
3520
  }] }); })();
3488
3521
 
3489
- const _c0$2 = ["customContent"];
3522
+ const _c0$1 = ["customContent"];
3490
3523
  function ErrorMagicComponent_div_0_span_4_Template(rf, ctx) { if (rf & 1) {
3491
- ɵɵelementStart(0, "span");
3492
- ɵɵtext(1);
3493
- ɵɵelementEnd();
3524
+ i0.ɵɵelementStart(0, "span");
3525
+ i0.ɵɵtext(1);
3526
+ i0.ɵɵelementEnd();
3494
3527
  } if (rf & 2) {
3495
- const ctx_r2 = ɵɵnextContext(2);
3496
- ɵɵadvance(1);
3497
- ɵɵtextInterpolate1(" ", ctx_r2.mgService.getErrMsg(ctx_r2.id, ctx_r2.rowId), " ");
3528
+ const ctx_r2 = i0.ɵɵnextContext(2);
3529
+ i0.ɵɵadvance(1);
3530
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.mgService.getErrMsg(ctx_r2.id, ctx_r2.rowId), " ");
3498
3531
  } }
3499
3532
  function ErrorMagicComponent_div_0_Template(rf, ctx) { if (rf & 1) {
3500
- ɵɵelementStart(0, "div");
3501
- ɵɵelementStart(1, "div", null, 1);
3502
- ɵɵprojection(3);
3503
- ɵɵelementEnd();
3504
- ɵɵtemplate(4, ErrorMagicComponent_div_0_span_4_Template, 2, 1, "span", 0);
3505
- ɵɵelementEnd();
3533
+ i0.ɵɵelementStart(0, "div");
3534
+ i0.ɵɵelementStart(1, "div", null, 1);
3535
+ i0.ɵɵprojection(3);
3536
+ i0.ɵɵelementEnd();
3537
+ i0.ɵɵtemplate(4, ErrorMagicComponent_div_0_span_4_Template, 2, 1, "span", 0);
3538
+ i0.ɵɵelementEnd();
3506
3539
  } if (rf & 2) {
3507
- const ctx_r0 = ɵɵnextContext();
3508
- ɵɵadvance(4);
3509
- ɵɵproperty("ngIf", ctx_r0.defaultDisplay);
3540
+ const ctx_r0 = i0.ɵɵnextContext();
3541
+ i0.ɵɵadvance(4);
3542
+ i0.ɵɵproperty("ngIf", ctx_r0.defaultDisplay);
3510
3543
  } }
3511
- const _c1$1 = ["*"];
3544
+ const _c1 = ["*"];
3512
3545
  class ErrorMagicComponent {
3513
3546
  constructor(_task, mgService, changeDetectorRef) {
3514
3547
  this._task = _task;
@@ -3561,19 +3594,19 @@ class ErrorMagicComponent {
3561
3594
  return false;
3562
3595
  }
3563
3596
  }
3564
- ErrorMagicComponent.ɵfac = function ErrorMagicComponent_Factory(t) { return new (t || ErrorMagicComponent)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(AccessorMagicService), ɵɵdirectiveInject(ChangeDetectorRef)); };
3565
- ErrorMagicComponent.ɵcmp = ɵɵdefineComponent({ type: ErrorMagicComponent, selectors: [["mgError"]], viewQuery: function ErrorMagicComponent_Query(rf, ctx) { if (rf & 1) {
3566
- ɵɵviewQuery(_c0$2, true);
3597
+ ErrorMagicComponent.ɵfac = function ErrorMagicComponent_Factory(t) { return new (t || ErrorMagicComponent)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(AccessorMagicService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
3598
+ ErrorMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ErrorMagicComponent, selectors: [["mgError"]], viewQuery: function ErrorMagicComponent_Query(rf, ctx) { if (rf & 1) {
3599
+ i0.ɵɵviewQuery(_c0$1, 5);
3567
3600
  } if (rf & 2) {
3568
- var _t;
3569
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.CustomContent = _t.first);
3570
- } }, inputs: { magic: "magic", rowId1: ["rowId", "rowId1"] }, ngContentSelectors: _c1$1, decls: 1, vars: 1, consts: [[4, "ngIf"], ["customContent", ""]], template: function ErrorMagicComponent_Template(rf, ctx) { if (rf & 1) {
3571
- ɵɵprojectionDef();
3572
- ɵɵtemplate(0, ErrorMagicComponent_div_0_Template, 5, 1, "div", 0);
3601
+ let _t;
3602
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.CustomContent = _t.first);
3603
+ } }, inputs: { magic: "magic", rowId1: ["rowId", "rowId1"] }, ngContentSelectors: _c1, decls: 1, vars: 1, consts: [[4, "ngIf"], ["customContent", ""]], template: function ErrorMagicComponent_Template(rf, ctx) { if (rf & 1) {
3604
+ i0.ɵɵprojectionDef();
3605
+ i0.ɵɵtemplate(0, ErrorMagicComponent_div_0_Template, 5, 1, "div", 0);
3573
3606
  } if (rf & 2) {
3574
- ɵɵproperty("ngIf", ctx.HasErrors(ctx.id));
3575
- } }, directives: [NgIf], encapsulation: 2 });
3576
- (function () { ɵsetClassMetadata(ErrorMagicComponent, [{
3607
+ i0.ɵɵproperty("ngIf", ctx.HasErrors(ctx.id));
3608
+ } }, directives: [i1.NgIf], encapsulation: 2 });
3609
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorMagicComponent, [{
3577
3610
  type: Component,
3578
3611
  args: [{
3579
3612
  selector: 'mgError',
@@ -3587,7 +3620,7 @@ ErrorMagicComponent.ɵcmp = ɵɵdefineComponent({ type: ErrorMagicComponent, sel
3587
3620
  </div>
3588
3621
  `
3589
3622
  }]
3590
- }], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type: ChangeDetectorRef }]; }, { magic: [{
3623
+ }], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type: i0.ChangeDetectorRef }]; }, { magic: [{
3591
3624
  type: Input,
3592
3625
  args: ['magic']
3593
3626
  }], rowId1: [{
@@ -3606,11 +3639,11 @@ class CheckboxMagicDirective {
3606
3639
  this.magicDirective.task.onCheckChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
3607
3640
  }
3608
3641
  }
3609
- CheckboxMagicDirective.ɵfac = function CheckboxMagicDirective_Factory(t) { return new (t || CheckboxMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3610
- CheckboxMagicDirective.ɵdir = ɵɵdefineDirective({ type: CheckboxMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", 3, "noFormControl", ""]], hostBindings: function CheckboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3611
- ɵɵlistener("change", function CheckboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3642
+ CheckboxMagicDirective.ɵfac = function CheckboxMagicDirective_Factory(t) { return new (t || CheckboxMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
3643
+ CheckboxMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: CheckboxMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", 3, "noFormControl", ""]], hostBindings: function CheckboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3644
+ i0.ɵɵlistener("change", function CheckboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3612
3645
  } } });
3613
- (function () { ɵsetClassMetadata(CheckboxMagicDirective, [{
3646
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxMagicDirective, [{
3614
3647
  type: Directive,
3615
3648
  args: [{
3616
3649
  selector: `
@@ -3630,11 +3663,11 @@ class ComboboxMagicDirective {
3630
3663
  this.magicDirective.task.onComboboxSelectionChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
3631
3664
  }
3632
3665
  }
3633
- ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3634
- ComboboxMagicDirective.ɵdir = ɵɵdefineDirective({ type: ComboboxMagicDirective, selectors: [["select", "magic", "", 3, "multiple", ""]], hostBindings: function ComboboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3635
- ɵɵlistener("change", function ComboboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3666
+ ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
3667
+ ComboboxMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: ComboboxMagicDirective, selectors: [["select", "magic", "", 3, "multiple", ""]], hostBindings: function ComboboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3668
+ i0.ɵɵlistener("change", function ComboboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3636
3669
  } } });
3637
- (function () { ɵsetClassMetadata(ComboboxMagicDirective, [{
3670
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComboboxMagicDirective, [{
3638
3671
  type: Directive,
3639
3672
  args: [{
3640
3673
  selector: `select[magic]:not([multiple])`,
@@ -3650,30 +3683,30 @@ class ExitMagicService {
3650
3683
  }
3651
3684
  }
3652
3685
  ExitMagicService.ɵfac = function ExitMagicService_Factory(t) { return new (t || ExitMagicService)(); };
3653
- ExitMagicService.ɵprov = ɵɵdefineInjectable({ token: ExitMagicService, factory: ExitMagicService.ɵfac });
3654
- (function () { ɵsetClassMetadata(ExitMagicService, [{
3686
+ ExitMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: ExitMagicService, factory: ExitMagicService.ɵfac });
3687
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExitMagicService, [{
3655
3688
  type: Injectable
3656
3689
  }], null, null); })();
3657
3690
 
3658
- const _c0$3 = ["magicRoot"];
3691
+ const _c0 = ["magicRoot"];
3659
3692
  function MagicShellComponent_ndc_dynamic_2_Template(rf, ctx) { if (rf & 1) {
3660
- ɵɵelement(0, "ndc-dynamic", 6);
3693
+ i0.ɵɵelement(0, "ndc-dynamic", 6);
3661
3694
  } if (rf & 2) {
3662
- const ctx_r1 = ɵɵnextContext();
3663
- ɵɵproperty("ndcDynamicComponent", ctx_r1.RootComponent)("ndcDynamicInputs", ctx_r1.RootComponentParameters);
3695
+ const ctx_r1 = i0.ɵɵnextContext();
3696
+ i0.ɵɵproperty("ndcDynamicComponent", ctx_r1.RootComponent)("ndcDynamicInputs", ctx_r1.RootComponentParameters);
3664
3697
  } }
3665
3698
  function MagicShellComponent_div_5_Template(rf, ctx) { if (rf & 1) {
3666
- ɵɵelementStart(0, "div", 7);
3667
- ɵɵelementContainer(1, 8);
3668
- ɵɵelementEnd();
3699
+ i0.ɵɵelementStart(0, "div", 7);
3700
+ i0.ɵɵelementContainer(1, 8);
3701
+ i0.ɵɵelementEnd();
3669
3702
  } if (rf & 2) {
3670
- const ctx_r3 = ɵɵnextContext();
3671
- const _r4 = ɵɵreference(7);
3672
- ɵɵadvance(1);
3673
- ɵɵproperty("ngTemplateOutlet", ctx_r3.SpinnerTemplate ? ctx_r3.SpinnerTemplate : _r4);
3703
+ const ctx_r3 = i0.ɵɵnextContext();
3704
+ const _r4 = i0.ɵɵreference(7);
3705
+ i0.ɵɵadvance(1);
3706
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.SpinnerTemplate ? ctx_r3.SpinnerTemplate : _r4);
3674
3707
  } }
3675
3708
  function MagicShellComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
3676
- ɵɵelement(0, "div", 9);
3709
+ i0.ɵɵelement(0, "div", 9);
3677
3710
  } }
3678
3711
  class MagicShellComponent {
3679
3712
  constructor(engineMagicService, componentList, changeDetectorRef, titleService, overlayWindowService, httpClient, pendingCommandsCollector, exitMagicService) {
@@ -3778,28 +3811,28 @@ class MagicShellComponent {
3778
3811
  }
3779
3812
  }
3780
3813
  }
3781
- MagicShellComponent.ɵfac = function MagicShellComponent_Factory(t) { return new (t || MagicShellComponent)(ɵɵdirectiveInject(EngineMagicService), ɵɵdirectiveInject(ComponentListMagicService), ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(Title), ɵɵdirectiveInject(OverlayWindowService), ɵɵdirectiveInject(HttpClient), ɵɵdirectiveInject(CommandsCollectorMagicService), ɵɵdirectiveInject(ExitMagicService, 8)); };
3782
- MagicShellComponent.ɵcmp = ɵɵdefineComponent({ type: MagicShellComponent, selectors: [["magic-root"]], viewQuery: function MagicShellComponent_Query(rf, ctx) { if (rf & 1) {
3783
- ɵɵstaticViewQuery(_c0$3, true);
3814
+ MagicShellComponent.ɵfac = function MagicShellComponent_Factory(t) { return new (t || MagicShellComponent)(i0.ɵɵdirectiveInject(EngineMagicService), i0.ɵɵdirectiveInject(ComponentListMagicService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$1.Title), i0.ɵɵdirectiveInject(OverlayWindowService), i0.ɵɵdirectiveInject(i5.HttpClient), i0.ɵɵdirectiveInject(CommandsCollectorMagicService), i0.ɵɵdirectiveInject(ExitMagicService, 8)); };
3815
+ MagicShellComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicShellComponent, selectors: [["magic-root"]], viewQuery: function MagicShellComponent_Query(rf, ctx) { if (rf & 1) {
3816
+ i0.ɵɵviewQuery(_c0, 7);
3784
3817
  } if (rf & 2) {
3785
- var _t;
3786
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.rootMagicElementRef = _t.first);
3818
+ let _t;
3819
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rootMagicElementRef = _t.first);
3787
3820
  } }, hostBindings: function MagicShellComponent_HostBindings(rf, ctx) { if (rf & 1) {
3788
- ɵɵlistener("beforeunload", function MagicShellComponent_beforeunload_HostBindingHandler($event) { return ctx.onBeforeUnload($event); }, false, ɵɵresolveWindow)("unload", function MagicShellComponent_unload_HostBindingHandler($event) { return ctx.onUnload($event); }, false, ɵɵresolveWindow);
3789
- } }, inputs: { SpinnerTemplate: "SpinnerTemplate" }, features: [ɵɵProvidersFeature([])], decls: 8, vars: 2, consts: [["magicRoot", ""], [3, "ndcDynamicComponent", "ndcDynamicInputs", 4, "ngIf"], ["magicViewContainerRef", ""], ["overlayWindowsContainer", ""], ["class", "spinner-background", 4, "ngIf"], ["defaultSpinner", ""], [3, "ndcDynamicComponent", "ndcDynamicInputs"], [1, "spinner-background"], [3, "ngTemplateOutlet"], [1, "mgSpinnerClass"]], template: function MagicShellComponent_Template(rf, ctx) { if (rf & 1) {
3790
- ɵɵelementStart(0, "div", null, 0);
3791
- ɵɵtemplate(2, MagicShellComponent_ndc_dynamic_2_Template, 1, 2, "ndc-dynamic", 1);
3792
- ɵɵelement(3, "div", 2, 3);
3793
- ɵɵelementEnd();
3794
- ɵɵtemplate(5, MagicShellComponent_div_5_Template, 2, 1, "div", 4);
3795
- ɵɵtemplate(6, MagicShellComponent_ng_template_6_Template, 1, 0, "ng-template", null, 5, ɵɵtemplateRefExtractor);
3821
+ i0.ɵɵlistener("beforeunload", function MagicShellComponent_beforeunload_HostBindingHandler($event) { return ctx.onBeforeUnload($event); }, false, i0.ɵɵresolveWindow)("unload", function MagicShellComponent_unload_HostBindingHandler($event) { return ctx.onUnload($event); }, false, i0.ɵɵresolveWindow);
3822
+ } }, inputs: { SpinnerTemplate: "SpinnerTemplate" }, features: [i0.ɵɵProvidersFeature([])], decls: 8, vars: 2, consts: [["magicRoot", ""], [3, "ndcDynamicComponent", "ndcDynamicInputs", 4, "ngIf"], ["magicViewContainerRef", ""], ["overlayWindowsContainer", ""], ["class", "spinner-background", 4, "ngIf"], ["defaultSpinner", ""], [3, "ndcDynamicComponent", "ndcDynamicInputs"], [1, "spinner-background"], [3, "ngTemplateOutlet"], [1, "mgSpinnerClass"]], template: function MagicShellComponent_Template(rf, ctx) { if (rf & 1) {
3823
+ i0.ɵɵelementStart(0, "div", null, 0);
3824
+ i0.ɵɵtemplate(2, MagicShellComponent_ndc_dynamic_2_Template, 1, 2, "ndc-dynamic", 1);
3825
+ i0.ɵɵelement(3, "div", 2, 3);
3826
+ i0.ɵɵelementEnd();
3827
+ i0.ɵɵtemplate(5, MagicShellComponent_div_5_Template, 2, 1, "div", 4);
3828
+ i0.ɵɵtemplate(6, MagicShellComponent_ng_template_6_Template, 1, 0, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
3796
3829
  } if (rf & 2) {
3797
- ɵɵadvance(2);
3798
- ɵɵproperty("ngIf", ctx.RootComponent !== null);
3799
- ɵɵadvance(3);
3800
- ɵɵproperty("ngIf", ctx.showSpinner);
3801
- } }, directives: [NgIf, MagicViewContainerRef, DynamicComponent, DynamicIoDirective, NgTemplateOutlet], styles: [".mgSpinnerClass[_ngcontent-%COMP%] {\n border: 10px solid #cccccc; \n border-top: 10px solid black; \n border-radius: 50%;\n position: fixed;\n margin: auto;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100px;\n height: 100px;\n animation: spin 2s linear infinite;\n }\n .spinner-background[_ngcontent-%COMP%] {\n \n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n left: 0;\n opacity: 0.5;\n }\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }"] });
3802
- (function () { ɵsetClassMetadata(MagicShellComponent, [{
3830
+ i0.ɵɵadvance(2);
3831
+ i0.ɵɵproperty("ngIf", ctx.RootComponent !== null);
3832
+ i0.ɵɵadvance(3);
3833
+ i0.ɵɵproperty("ngIf", ctx.showSpinner);
3834
+ } }, directives: [i1.NgIf, i3.DynamicComponent, i3.DynamicIoDirective, MagicViewContainerRef, i1.NgTemplateOutlet], styles: [".mgSpinnerClass[_ngcontent-%COMP%]{border:10px solid #cccccc;border-top:10px solid black;border-radius:50%;position:fixed;margin:auto;top:0;right:0;bottom:0;left:0;width:100px;height:100px;animation:spin 2s linear infinite}.spinner-background[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;z-index:1000;left:0;opacity:.5}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"] });
3835
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicShellComponent, [{
3803
3836
  type: Component,
3804
3837
  args: [{
3805
3838
  selector: 'magic-root',
@@ -3855,7 +3888,7 @@ MagicShellComponent.ɵcmp = ɵɵdefineComponent({ type: MagicShellComponent, sel
3855
3888
  }
3856
3889
  `]
3857
3890
  }]
3858
- }], function () { return [{ type: EngineMagicService }, { type: ComponentListMagicService }, { type: ChangeDetectorRef }, { type: Title }, { type: OverlayWindowService }, { type: HttpClient }, { type: CommandsCollectorMagicService }, { type: ExitMagicService, decorators: [{
3891
+ }], function () { return [{ type: EngineMagicService }, { type: ComponentListMagicService }, { type: i0.ChangeDetectorRef }, { type: i1$1.Title }, { type: OverlayWindowService }, { type: i5.HttpClient }, { type: CommandsCollectorMagicService }, { type: ExitMagicService, decorators: [{
3859
3892
  type: Optional
3860
3893
  }] }]; }, { rootMagicElementRef: [{
3861
3894
  type: ViewChild,
@@ -3877,12 +3910,11 @@ const CHECKBOX_VALUE_ACCESSOR = {
3877
3910
  };
3878
3911
  class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
3879
3912
  }
3880
- MagicCheckboxControlValueAccessor.ɵfac = function MagicCheckboxControlValueAccessor_Factory(t) { return ɵMagicCheckboxControlValueAccessor_BaseFactory(t || MagicCheckboxControlValueAccessor); };
3881
- MagicCheckboxControlValueAccessor.ɵdir = ɵɵdefineDirective({ type: MagicCheckboxControlValueAccessor, selectors: [["input", "type", "checkbox", "magic", "", 3, "formControlName", "", 3, "no-form-control", ""], ["input", "type", "checkbox", "magic", "", 3, "formControl", ""], ["input", "type", "checkbox", "magic", "", 3, "ngModel", ""]], hostBindings: function MagicCheckboxControlValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
3882
- ɵɵlistener("change", function MagicCheckboxControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.checked); })("blur", function MagicCheckboxControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
3883
- } }, features: [ɵɵProvidersFeature([CHECKBOX_VALUE_ACCESSOR]), ɵɵInheritDefinitionFeature] });
3884
- const ɵMagicCheckboxControlValueAccessor_BaseFactory = ɵɵgetInheritedFactory(MagicCheckboxControlValueAccessor);
3885
- (function () { ɵsetClassMetadata(MagicCheckboxControlValueAccessor, [{
3913
+ MagicCheckboxControlValueAccessor.ɵfac = function () { let ɵMagicCheckboxControlValueAccessor_BaseFactory; return function MagicCheckboxControlValueAccessor_Factory(t) { return (ɵMagicCheckboxControlValueAccessor_BaseFactory || (ɵMagicCheckboxControlValueAccessor_BaseFactory = i0.ɵɵgetInheritedFactory(MagicCheckboxControlValueAccessor)))(t || MagicCheckboxControlValueAccessor); }; }();
3914
+ MagicCheckboxControlValueAccessor.ɵdir = i0.ɵɵdefineDirective({ type: MagicCheckboxControlValueAccessor, selectors: [["input", "type", "checkbox", "magic", "", 3, "formControlName", "", 3, "no-form-control", ""], ["input", "type", "checkbox", "magic", "", 3, "formControl", ""], ["input", "type", "checkbox", "magic", "", 3, "ngModel", ""]], hostBindings: function MagicCheckboxControlValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
3915
+ i0.ɵɵlistener("change", function MagicCheckboxControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.checked); })("blur", function MagicCheckboxControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
3916
+ } }, features: [i0.ɵɵProvidersFeature([CHECKBOX_VALUE_ACCESSOR]), i0.ɵɵInheritDefinitionFeature] });
3917
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicCheckboxControlValueAccessor, [{
3886
3918
  type: Directive,
3887
3919
  args: [{
3888
3920
  selector: `
@@ -3902,12 +3934,11 @@ const MAGIC_DEFAULT_VALUE_ACCESSOR = {
3902
3934
  };
3903
3935
  class MagicDefaultValueAccessor extends DefaultValueAccessor {
3904
3936
  }
3905
- MagicDefaultValueAccessor.ɵfac = function MagicDefaultValueAccessor_Factory(t) { return ɵMagicDefaultValueAccessor_BaseFactory(t || MagicDefaultValueAccessor); };
3906
- MagicDefaultValueAccessor.ɵdir = ɵɵdefineDirective({ type: MagicDefaultValueAccessor, selectors: [["input", "magic", "", 3, "type", "checkbox", 3, "formControlName", "", 3, "no-form-control", ""], ["textarea", "magic", "", 3, "formControlName", "", 3, "noFormControl", "", 3, "no-form-control", ""]], hostBindings: function MagicDefaultValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
3907
- ɵɵlistener("input", function MagicDefaultValueAccessor_input_HostBindingHandler($event) { return ctx._handleInput($event.target.value); })("blur", function MagicDefaultValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); })("compositionstart", function MagicDefaultValueAccessor_compositionstart_HostBindingHandler() { return ctx._compositionStart(); })("compositionend", function MagicDefaultValueAccessor_compositionend_HostBindingHandler($event) { return ctx._compositionEnd($event.target.value); });
3908
- } }, exportAs: ["magic"], features: [ɵɵProvidersFeature([MAGIC_DEFAULT_VALUE_ACCESSOR]), ɵɵInheritDefinitionFeature] });
3909
- const ɵMagicDefaultValueAccessor_BaseFactory = ɵɵgetInheritedFactory(MagicDefaultValueAccessor);
3910
- (function () { ɵsetClassMetadata(MagicDefaultValueAccessor, [{
3937
+ MagicDefaultValueAccessor.ɵfac = function () { let ɵMagicDefaultValueAccessor_BaseFactory; return function MagicDefaultValueAccessor_Factory(t) { return (ɵMagicDefaultValueAccessor_BaseFactory || (ɵMagicDefaultValueAccessor_BaseFactory = i0.ɵɵgetInheritedFactory(MagicDefaultValueAccessor)))(t || MagicDefaultValueAccessor); }; }();
3938
+ MagicDefaultValueAccessor.ɵdir = i0.ɵɵdefineDirective({ type: MagicDefaultValueAccessor, selectors: [["input", "magic", "", 3, "type", "checkbox", 3, "formControlName", "", 3, "no-form-control", ""], ["textarea", "magic", "", 3, "formControlName", "", 3, "noFormControl", "", 3, "no-form-control", ""]], hostBindings: function MagicDefaultValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
3939
+ i0.ɵɵlistener("input", function MagicDefaultValueAccessor_input_HostBindingHandler($event) { return ctx._handleInput($event.target.value); })("blur", function MagicDefaultValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); })("compositionstart", function MagicDefaultValueAccessor_compositionstart_HostBindingHandler() { return ctx._compositionStart(); })("compositionend", function MagicDefaultValueAccessor_compositionend_HostBindingHandler($event) { return ctx._compositionEnd($event.target.value); });
3940
+ } }, exportAs: ["magic"], features: [i0.ɵɵProvidersFeature([MAGIC_DEFAULT_VALUE_ACCESSOR]), i0.ɵɵInheritDefinitionFeature] });
3941
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicDefaultValueAccessor, [{
3911
3942
  type: Directive,
3912
3943
  args: [{
3913
3944
  selector: `
@@ -3933,11 +3964,11 @@ class CheckboxNoFormControlMagicDirective {
3933
3964
  this.magicDirective.task.onCheckChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
3934
3965
  }
3935
3966
  }
3936
- CheckboxNoFormControlMagicDirective.ɵfac = function CheckboxNoFormControlMagicDirective_Factory(t) { return new (t || CheckboxNoFormControlMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3937
- CheckboxNoFormControlMagicDirective.ɵdir = ɵɵdefineDirective({ type: CheckboxNoFormControlMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", "noFormControl", ""]], hostBindings: function CheckboxNoFormControlMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3938
- ɵɵlistener("change", function CheckboxNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3967
+ CheckboxNoFormControlMagicDirective.ɵfac = function CheckboxNoFormControlMagicDirective_Factory(t) { return new (t || CheckboxNoFormControlMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
3968
+ CheckboxNoFormControlMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: CheckboxNoFormControlMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", "noFormControl", ""]], hostBindings: function CheckboxNoFormControlMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3969
+ i0.ɵɵlistener("change", function CheckboxNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3939
3970
  } } });
3940
- (function () { ɵsetClassMetadata(CheckboxNoFormControlMagicDirective, [{
3971
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxNoFormControlMagicDirective, [{
3941
3972
  type: Directive,
3942
3973
  args: [{
3943
3974
  selector: `
@@ -3957,11 +3988,11 @@ class InputNoFormControlMagicDirective {
3957
3988
  this.magicDirective.task.setInputTextValue(this.magicDirective.id, this.magicDirective.rowId, event.srcElement.value);
3958
3989
  }
3959
3990
  }
3960
- InputNoFormControlMagicDirective.ɵfac = function InputNoFormControlMagicDirective_Factory(t) { return new (t || InputNoFormControlMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3961
- InputNoFormControlMagicDirective.ɵdir = ɵɵdefineDirective({ type: InputNoFormControlMagicDirective, selectors: [["input", "magic", "", "noFormControl", "", 3, "type", "checkbox"], ["textarea", "magic", "", "noFormControl", "", 3, "type", "checkbox"]], hostBindings: function InputNoFormControlMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3962
- ɵɵlistener("change", function InputNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3991
+ InputNoFormControlMagicDirective.ɵfac = function InputNoFormControlMagicDirective_Factory(t) { return new (t || InputNoFormControlMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
3992
+ InputNoFormControlMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: InputNoFormControlMagicDirective, selectors: [["input", "magic", "", "noFormControl", "", 3, "type", "checkbox"], ["textarea", "magic", "", "noFormControl", "", 3, "type", "checkbox"]], hostBindings: function InputNoFormControlMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3993
+ i0.ɵɵlistener("change", function InputNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
3963
3994
  } } });
3964
- (function () { ɵsetClassMetadata(InputNoFormControlMagicDirective, [{
3995
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNoFormControlMagicDirective, [{
3965
3996
  type: Directive,
3966
3997
  args: [{
3967
3998
  selector: `input[magic]:([noFormControl]):not([type=checkbox]),
@@ -4003,17 +4034,17 @@ class DateValueAccessor {
4003
4034
  this.renderer.setProperty(this.elementRef.nativeElement, "disabled", isDisabled);
4004
4035
  }
4005
4036
  }
4006
- DateValueAccessor.ɵfac = function DateValueAccessor_Factory(t) { return new (t || DateValueAccessor)(ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ElementRef)); };
4007
- DateValueAccessor.ɵdir = ɵɵdefineDirective({ type: DateValueAccessor, selectors: [["", "dateInput", ""]], hostBindings: function DateValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
4008
- ɵɵlistener("input", function DateValueAccessor_input_HostBindingHandler($event) { return ctx.onChange($event.target.valueAsDate); })("blur", function DateValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
4009
- } }, features: [ɵɵProvidersFeature([DATE_VALUE_ACCESSOR])] });
4010
- (function () { ɵsetClassMetadata(DateValueAccessor, [{
4037
+ DateValueAccessor.ɵfac = function DateValueAccessor_Factory(t) { return new (t || DateValueAccessor)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
4038
+ DateValueAccessor.ɵdir = i0.ɵɵdefineDirective({ type: DateValueAccessor, selectors: [["", "dateInput", ""]], hostBindings: function DateValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
4039
+ i0.ɵɵlistener("input", function DateValueAccessor_input_HostBindingHandler($event) { return ctx.onChange($event.target.valueAsDate); })("blur", function DateValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
4040
+ } }, features: [i0.ɵɵProvidersFeature([DATE_VALUE_ACCESSOR])] });
4041
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateValueAccessor, [{
4011
4042
  type: Directive,
4012
4043
  args: [{
4013
4044
  selector: "[dateInput]",
4014
4045
  providers: [DATE_VALUE_ACCESSOR]
4015
4046
  }]
4016
- }], function () { return [{ type: Renderer2 }, { type: ElementRef }]; }, { onChange: [{
4047
+ }], function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { onChange: [{
4017
4048
  type: HostListener,
4018
4049
  args: ["input", ["$event.target.valueAsDate"]]
4019
4050
  }], onTouched: [{
@@ -4053,14 +4084,14 @@ class NonMagicControlDirective {
4053
4084
  this.regEvents();
4054
4085
  }
4055
4086
  }
4056
- NonMagicControlDirective.ɵfac = function NonMagicControlDirective_Factory(t) { return new (t || NonMagicControlDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ViewContainerRef)); };
4057
- NonMagicControlDirective.ɵdir = ɵɵdefineDirective({ type: NonMagicControlDirective, selectors: [["", "NonMagicControl", ""]], inputs: { magic: ["NonMagicControl", "magic"] } });
4058
- (function () { ɵsetClassMetadata(NonMagicControlDirective, [{
4087
+ NonMagicControlDirective.ɵfac = function NonMagicControlDirective_Factory(t) { return new (t || NonMagicControlDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
4088
+ NonMagicControlDirective.ɵdir = i0.ɵɵdefineDirective({ type: NonMagicControlDirective, selectors: [["", "NonMagicControl", ""]], inputs: { magic: ["NonMagicControl", "magic"] } });
4089
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NonMagicControlDirective, [{
4059
4090
  type: Directive,
4060
4091
  args: [{
4061
4092
  selector: '[NonMagicControl]'
4062
4093
  }]
4063
- }], function () { return [{ type: TaskMagicService }, { type: ElementRef }, { type: Renderer2 }, { type: ViewContainerRef }]; }, { magic: [{
4094
+ }], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }]; }, { magic: [{
4064
4095
  type: Input,
4065
4096
  args: ['NonMagicControl']
4066
4097
  }] }); })();
@@ -4096,21 +4127,10 @@ const decs = [
4096
4127
  MagicViewContainerRef
4097
4128
  ];
4098
4129
  class MagicModule {
4099
- static forRoot() {
4100
- return {
4101
- ngModule: MagicModule,
4102
- providers: [
4103
- EngineMagicService,
4104
- ComponentListMagicService,
4105
- CommandsCollectorMagicService,
4106
- RouterCommandsMagicService,
4107
- OverlayWindowService,
4108
- ]
4109
- };
4110
- }
4111
4130
  }
4112
- MagicModule.ɵmod = ɵɵdefineNgModule({ type: MagicModule });
4113
- MagicModule.ɵinj = ɵɵdefineInjector({ factory: function MagicModule_Factory(t) { return new (t || MagicModule)(); }, providers: [ConfirmationComponentsMagicProvider, OverlayContainerMagicProvider], imports: [[
4131
+ MagicModule.ɵfac = function MagicModule_Factory(t) { return new (t || MagicModule)(); };
4132
+ MagicModule.ɵmod = i0.ɵɵdefineNgModule({ type: MagicModule });
4133
+ MagicModule.ɵinj = i0.ɵɵdefineInjector({ providers: [ConfirmationComponentsMagicProvider, OverlayContainerMagicProvider], imports: [[
4114
4134
  CommonModule,
4115
4135
  FormsModule,
4116
4136
  ReactiveFormsModule,
@@ -4118,7 +4138,24 @@ MagicModule.ɵinj = ɵɵdefineInjector({ factory: function MagicModule_Factory(t
4118
4138
  DynamicModule,
4119
4139
  HttpClientModule
4120
4140
  ]] });
4121
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(MagicModule, { declarations: [MagicDirective,
4141
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicModule, [{
4142
+ type: NgModule,
4143
+ args: [{
4144
+ declarations: [...decs],
4145
+ exports: [...decs],
4146
+ entryComponents: [],
4147
+ imports: [
4148
+ CommonModule,
4149
+ FormsModule,
4150
+ ReactiveFormsModule,
4151
+ RouterModule,
4152
+ DynamicModule,
4153
+ HttpClientModule
4154
+ ],
4155
+ providers: [ConfirmationComponentsMagicProvider, OverlayContainerMagicProvider]
4156
+ }]
4157
+ }], null, null); })();
4158
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MagicModule, { declarations: [MagicDirective,
4122
4159
  CheckboxMagicDirective,
4123
4160
  CheckboxNoFormControlMagicDirective,
4124
4161
  InputNoFormControlMagicDirective,
@@ -4177,24 +4214,7 @@ MagicModule.ɵinj = ɵɵdefineInjector({ factory: function MagicModule_Factory(t
4177
4214
  RangeValidatorMagicDirective,
4178
4215
  NonMagicControlDirective,
4179
4216
  MagicFocusDirective,
4180
- MagicViewContainerRef] }); })();
4181
- (function () { ɵsetClassMetadata(MagicModule, [{
4182
- type: NgModule,
4183
- args: [{
4184
- declarations: [...decs],
4185
- exports: [...decs],
4186
- entryComponents: [],
4187
- imports: [
4188
- CommonModule,
4189
- FormsModule,
4190
- ReactiveFormsModule,
4191
- RouterModule,
4192
- DynamicModule,
4193
- HttpClientModule
4194
- ],
4195
- providers: [ConfirmationComponentsMagicProvider, OverlayContainerMagicProvider]
4196
- }]
4197
- }], null, null); })();
4217
+ MagicViewContainerRef] }); })();
4198
4218
 
4199
4219
  const MG_FORMATS = {
4200
4220
  parse: { dateInput: { month: 'short', year: 'numeric', day: 'numeric' } },
@@ -4287,11 +4307,11 @@ class MgDateAdapter extends NativeDateAdapter {
4287
4307
  }
4288
4308
  }
4289
4309
  }
4290
- MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(ɵɵinject(Platform), ɵɵinject(TaskMagicService)); };
4291
- MgDateAdapter.ɵprov = ɵɵdefineInjectable({ token: MgDateAdapter, factory: MgDateAdapter.ɵfac });
4292
- (function () { ɵsetClassMetadata(MgDateAdapter, [{
4310
+ MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(i0.ɵɵinject(i1$2.Platform), i0.ɵɵinject(TaskMagicService)); };
4311
+ MgDateAdapter.ɵprov = i0.ɵɵdefineInjectable({ token: MgDateAdapter, factory: MgDateAdapter.ɵfac });
4312
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MgDateAdapter, [{
4293
4313
  type: Injectable
4294
- }], function () { return [{ type: Platform }, { type: TaskMagicService }]; }, null); })();
4314
+ }], function () { return [{ type: i1$2.Platform }, { type: TaskMagicService }]; }, null); })();
4295
4315
 
4296
4316
  const matDateProviders = [
4297
4317
  { provide: DateAdapter, useClass: MgDateAdapter },
@@ -4380,5 +4400,5 @@ class ModalFormDefinition {
4380
4400
  }
4381
4401
  }
4382
4402
 
4383
- export { AccessorMagicService, BaseMagicAlertComponent, BaseMagicConfirmComponent, BaseMagicOverlayContainer, CHECKBOX_VALUE_ACCESSOR, CheckboxMagicDirective, CheckboxNoFormControlMagicDirective, ComboboxMagicDirective, CommandsCollectorMagicService, ComponentListMagicService, ConfirmationComponentsMagicProvider, Constants, ControlMetadata, ControlsMetadata, DATE_VALUE_ACCESSOR, DateMagicPipe, DateValueAccessor, EngineMagicService, ErrorMagicComponent, ExitMagicService, GuiInteractiveExecutor, HtmlClasses, InputNoFormControlMagicDirective, MAGIC_DEFAULT_VALUE_ACCESSOR, MG_FORMATS, MagicAlertComponent, MagicCheckboxControlValueAccessor, MagicConfirmationBoxComponent, MagicDefaultValueAccessor, MagicDirective, MagicFocusDirective, MagicModule, MagicOverlayContainer, MagicOverlayContainerWrapper, MagicServices, MagicShellComponent, MagicViewContainerRef, MgDateAdapter, MgDateFormatter, MgformatMagicDirective, ModalFormDefinition, NoControlMagicDirective, NonMagicControlDirective, OverlayContainerMagicProvider, OverlayWindowService, RangeValidatorMagicDirective, Records, RouteCommand, RouterCommandsMagicService, RouterContainerMagicComponent, RowMagicDirective, StylesMapManager, SubformMagicComponent, SubformMagicService, TableMagicService, TaskBaseMagicComponent, TaskMagicService, TimeMagicPipe, TitleMagicService, basicMagicProviders, confirmationBox, magicProviders, matDateProviders, utils };
4384
- //# sourceMappingURL=magic-xpa-angular.js.map
4403
+ export { AccessorMagicService, BaseMagicAlertComponent, BaseMagicConfirmComponent, BaseMagicOverlayContainer, CHECKBOX_VALUE_ACCESSOR, CheckboxMagicDirective, CheckboxNoFormControlMagicDirective, ComboboxMagicDirective, CommandsCollectorMagicService, ComponentListMagicService, ConfirmationComponentsMagicProvider, Constants, ControlMetadata, ControlsMetadata, DATE_VALUE_ACCESSOR, DateMagicPipe, DateValueAccessor, EngineMagicService, ErrorMagicComponent, ExitMagicService, GuiInteractiveExecutor, HtmlClasses, InputNoFormControlMagicDirective, MAGIC_DEFAULT_VALUE_ACCESSOR, MG_FORMATS, MagicAlertComponent, MagicCheckboxControlValueAccessor, MagicConfirmationBoxComponent, MagicDefaultValueAccessor, MagicDirective, MagicFocusDirective, MagicLazyLoaderService, MagicModule, MagicOverlayContainer, MagicOverlayContainerWrapper, MagicServices, MagicShellComponent, MagicViewContainerRef, MgDateAdapter, MgDateFormatter, MgformatMagicDirective, ModalFormDefinition, NoControlMagicDirective, NonMagicControlDirective, OverlayContainerMagicProvider, OverlayWindowService, RangeValidatorMagicDirective, Records, RouteCommand, RouterCommandsMagicService, RouterContainerMagicComponent, RowMagicDirective, StylesMapManager, SubformMagicComponent, SubformMagicService, TableMagicService, TaskBaseMagicComponent, TaskMagicService, TimeMagicPipe, TitleMagicService, basicMagicProviders, confirmationBox, magicProviders, matDateProviders, utils };
4404
+ //# sourceMappingURL=magic-xpa-angular.mjs.map