@magic-xpa/angular 4.801.0-dev481.243 → 4.801.0-dev481.249

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 (127) 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/{esm2015/src/controls.metadata.model.js → esm2020/src/controls.metadata.model.mjs} +0 -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/{esm2015/src/services/StylesMapManager.js → esm2020/src/services/StylesMapManager.mjs} +0 -0
  9. package/{esm2015/src/services/accessor.magic.service.js → esm2020/src/services/accessor.magic.service.mjs} +2 -2
  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/{esm2015/src/services/subform.magic.service.js → esm2020/src/services/subform.magic.service.mjs} +14 -10
  22. package/{esm2015/src/services/table.magic.service.js → esm2020/src/services/table.magic.service.mjs} +2 -2
  23. package/{esm2015/src/services/task.magics.service.js → esm2020/src/services/task.magics.service.mjs} +2 -2
  24. package/{esm2015/src/services/title.magic.service.js → esm2020/src/services/title.magic.service.mjs} +2 -2
  25. package/{esm2015/src/ui/GuiInteractiveExecutor.js → esm2020/src/ui/GuiInteractiveExecutor.mjs} +0 -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/{esm2015/src/ui/directives/magicViewContainerRef.directive.js → esm2020/src/ui/directives/magicViewContainerRef.directive.mjs} +3 -3
  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/{esm2015/src/ui/pipes/date.magic.pipe.js → esm2020/src/ui/pipes/date.magic.pipe.mjs} +3 -3
  54. package/{esm2015/src/ui/pipes/time.magic.pipe.js → esm2020/src/ui/pipes/time.magic.pipe.mjs} +3 -3
  55. package/{esm2015/src/ui/router-container.magic.component.js → esm2020/src/ui/router-container.magic.component.mjs} +2 -2
  56. package/{esm2015/src/ui/subform.magic.component.js → esm2020/src/ui/subform.magic.component.mjs} +3 -3
  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} +433 -412
  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/magic.core.module.js +0 -173
  116. package/esm2015/src/services/OverlayWindowService.js +0 -205
  117. package/esm2015/src/services/component-list.magic.service.js +0 -36
  118. package/esm2015/src/services/engine.magic.service.js +0 -82
  119. package/esm2015/src/services/router-commands.magic.service.js +0 -25
  120. package/esm2015/src/ui/components/magic-alert.component.js +0 -72
  121. package/esm2015/src/ui/components/magic-confirmation-box.component.js +0 -83
  122. package/esm2015/src/ui/directives/magic.directive.js +0 -207
  123. package/esm2015/src/ui/magic-modal/magic-overlay-container-wrapper.js +0 -131
  124. package/esm2015/src/ui/magic-modal/magic-overlay-container.js +0 -169
  125. package/esm2015/src/ui/magic-root.component.js +0 -237
  126. package/esm2015/src/ui/mgerror.magic.component.js +0 -120
  127. package/fesm2015/magic-xpa-angular.js.map +0 -1
@@ -1,20 +1,24 @@
1
1
  import { isNullOrUndefined, NString, List, isUndefined, StringBuilder, RefParam } from '@magic-xpa/mscorelib';
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';
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 { Title } from '@angular/platform-browser';
14
- import { fromEvent } from 'rxjs/internal/observable/fromEvent';
15
- 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';
16
20
  import { NativeDateAdapter, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
17
- import { Platform } from '@angular/cdk/platform';
21
+ import * as i1$2 from '@angular/cdk/platform';
18
22
 
19
23
  class ControlMetadata {
20
24
  constructor() {
@@ -195,6 +199,32 @@ var HtmlClasses;
195
199
  HtmlClasses["HintColor"] = "hintcolor";
196
200
  })(HtmlClasses || (HtmlClasses = {}));
197
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
+
198
228
  class EngineMagicService {
199
229
  constructor() {
200
230
  this.magicBridge = MagicBridge;
@@ -227,10 +257,8 @@ class EngineMagicService {
227
257
  });
228
258
  this.magicBridge.Initialize(httpClient);
229
259
  }
230
- terminateMagic() {
231
- return __awaiter(this, void 0, void 0, function* () {
232
- yield this.magicBridge.TerminateMagic();
233
- });
260
+ async terminateMagic() {
261
+ await this.magicBridge.TerminateMagic();
234
262
  }
235
263
  insertEvent(guiEvent) {
236
264
  if (!this.isStub)
@@ -267,9 +295,12 @@ class EngineMagicService {
267
295
  }
268
296
  }
269
297
  EngineMagicService.ɵfac = function EngineMagicService_Factory(t) { return new (t || EngineMagicService)(); };
270
- EngineMagicService.ɵprov = ɵɵdefineInjectable({ token: EngineMagicService, factory: EngineMagicService.ɵfac });
271
- (function () { ɵsetClassMetadata(EngineMagicService, [{
272
- 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
+ }]
273
304
  }], null, null); })();
274
305
 
275
306
  class ComponentListMagicService {
@@ -306,33 +337,15 @@ class ComponentListMagicService {
306
337
  getLazyLoadModuleData(name) {
307
338
  return (this.lazyLoadModulesMap != null && this.lazyLoadModulesMap.hasOwnProperty(name)) ? this.lazyLoadModulesMap[name] : null;
308
339
  }
309
- }
310
-
311
- class StylesMapManager {
312
- static magicValueGetStyle(styleName, magicValue) {
313
- let style = "";
314
- if (!isNullOrUndefined(magicValue)) {
315
- let value = StylesMapManager.StylesMap.get(styleName);
316
- if (value.constructor === Map) {
317
- style = value.get(magicValue);
318
- }
319
- else if (value.constructor === String) {
320
- style = NString.Format(value.toString(), magicValue);
321
- }
322
- }
323
- return style;
324
- }
325
340
  }
326
- StylesMapManager.StylesMap = new Map([
327
- [MagicProperties.LineDivider, new Map([[true, "solid"], [false, "hidden"]])],
328
- [MagicProperties.ImageFile, "url('\{0}\')"],
329
- [MagicProperties.Wallpaper, "url('\{0}\')"]
330
- ]);
331
- StylesMapManager.MagicPropertyToHtmlAttributeMap = new Map([
332
- [MagicProperties.LineDivider, "border-bottom-style"],
333
- [MagicProperties.ImageFile, "background-image"],
334
- [MagicProperties.Wallpaper, "background-image"]
335
- ]);
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); })();
336
349
 
337
350
  class CommandsCollectorMagicService {
338
351
  constructor(magic) {
@@ -365,10 +378,13 @@ class CommandsCollectorMagicService {
365
378
  return commands;
366
379
  }
367
380
  }
368
- CommandsCollectorMagicService.ɵfac = function CommandsCollectorMagicService_Factory(t) { return new (t || CommandsCollectorMagicService)(ɵɵinject(EngineMagicService)); };
369
- CommandsCollectorMagicService.ɵprov = ɵɵdefineInjectable({ token: CommandsCollectorMagicService, factory: CommandsCollectorMagicService.ɵfac });
370
- (function () { ɵsetClassMetadata(CommandsCollectorMagicService, [{
371
- 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
+ }]
372
388
  }], function () { return [{ type: EngineMagicService }]; }, null); })();
373
389
 
374
390
  class RouteCommand {
@@ -388,13 +404,30 @@ class RouterCommandsMagicService {
388
404
  }
389
405
  }
390
406
  RouterCommandsMagicService.ɵfac = function RouterCommandsMagicService_Factory(t) { return new (t || RouterCommandsMagicService)(); };
391
- RouterCommandsMagicService.ɵprov = ɵɵdefineInjectable({ token: RouterCommandsMagicService, factory: RouterCommandsMagicService.ɵfac });
392
- (function () { ɵsetClassMetadata(RouterCommandsMagicService, [{
393
- 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
+ }]
394
427
  }], null, null); })();
395
428
 
396
429
  class SubformMagicService {
397
- constructor(task, activatedRoute, componentList, pendingCommandsCollector, router, routerCommandsMagicService, componentListMagicService, loader, injector) {
430
+ constructor(task, activatedRoute, componentList, pendingCommandsCollector, router, routerCommandsMagicService, componentListMagicService, loader, injector, compiler) {
398
431
  this.task = task;
399
432
  this.activatedRoute = activatedRoute;
400
433
  this.componentList = componentList;
@@ -404,6 +437,7 @@ class SubformMagicService {
404
437
  this.componentListMagicService = componentListMagicService;
405
438
  this.loader = loader;
406
439
  this.injector = injector;
440
+ this.compiler = compiler;
407
441
  this.subformsDict = {};
408
442
  this.routesDict = {};
409
443
  this.currentRouteDefinition = null;
@@ -445,10 +479,11 @@ class SubformMagicService {
445
479
  if (moduleRef == null) {
446
480
  let lazyLoadModule = this.componentListMagicService.getLazyLoadModuleData(formName);
447
481
  if (lazyLoadModule != null) {
448
- this.loader
449
- .load(lazyLoadModule.modulePath + "#" + lazyLoadModule.moduleName)
450
- .then((moduleFactory) => {
451
- 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);
452
487
  this.subformsDict[subformControlName] = {
453
488
  formName,
454
489
  parameters: { taskIdParam: taskId, taskDescription: taskDescription }
@@ -555,11 +590,11 @@ class SubformMagicService {
555
590
  }
556
591
  SubformMagicService.currentCallerMgSubformServiceRef = null;
557
592
  SubformMagicService.routerContainers = new Array();
558
- 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)); };
559
- SubformMagicService.ɵprov = ɵɵdefineInjectable({ token: SubformMagicService, factory: SubformMagicService.ɵfac });
560
- (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, [{
561
596
  type: Injectable
562
- }], 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); })();
563
598
 
564
599
  class RouterContainerMagicComponent {
565
600
  constructor(activatedRoute, router, magic, containerTaskService, componentFactoryResolver, viewContainerRef, componentList, pendingCommandsCollector, routerCommandsMagicService) {
@@ -641,16 +676,16 @@ class RouterContainerMagicComponent {
641
676
  }
642
677
  }
643
678
  RouterContainerMagicComponent.lastRoute = "/";
644
- 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)); };
645
- RouterContainerMagicComponent.ɵcmp = ɵɵdefineComponent({ type: RouterContainerMagicComponent, selectors: [["magic-route-outlet"]], decls: 0, vars: 0, template: function RouterContainerMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
646
- (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, [{
647
682
  type: Component,
648
683
  args: [{
649
684
  selector: 'magic-route-outlet',
650
685
  template: `
651
686
  `
652
687
  }]
653
- }], 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); })();
654
689
 
655
690
  class GuiInteractiveExecutor {
656
691
  Run() {
@@ -770,41 +805,41 @@ class MagicViewContainerRef {
770
805
  constructor(vcRef, resolver) {
771
806
  this.vcRef = vcRef;
772
807
  this.resolver = resolver;
773
- 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));
774
809
  comp.setViewContainerRef(vcRef);
775
810
  }
776
811
  }
777
- MagicViewContainerRef.ɵfac = function MagicViewContainerRef_Factory(t) { return new (t || MagicViewContainerRef)(ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(ComponentFactoryResolver)); };
778
- MagicViewContainerRef.ɵdir = ɵɵdefineDirective({ type: MagicViewContainerRef, selectors: [["", "magicViewContainerRef", ""]] });
779
- (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, [{
780
815
  type: Directive,
781
816
  args: [{
782
817
  selector: '[magicViewContainerRef]',
783
818
  }]
784
- }], function () { return [{ type: ViewContainerRef }, { type: ComponentFactoryResolver }]; }, null); })();
819
+ }], function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, null); })();
785
820
 
786
- const _c0 = ["modalheader"];
787
- const _c1 = ["modalForeground"];
821
+ const _c0$3 = ["modalheader"];
822
+ const _c1$1 = ["modalForeground"];
788
823
  function MagicOverlayContainer_button_2_Template(rf, ctx) { if (rf & 1) {
789
- const _r5 = ɵɵgetCurrentView();
790
- ɵɵelementStart(0, "button", 8);
791
- ɵɵlistener("click", function MagicOverlayContainer_button_2_Template_button_click_0_listener() { ɵɵrestoreView(_r5); const ctx_r4 = ɵɵnextContext(); return ctx_r4.OnClose(); });
792
- ɵɵtext(1, "X");
793
- ɵɵ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();
794
829
  } }
795
830
  function MagicOverlayContainer_div_5_Template(rf, ctx) { if (rf & 1) {
796
- const _r8 = ɵɵgetCurrentView();
797
- ɵɵelementStart(0, "div", 9, 10);
798
- ɵɵtext(2);
799
- ɵɵelementStart(3, "button", 11);
800
- ɵɵlistener("click", function MagicOverlayContainer_div_5_Template_button_click_3_listener() { ɵɵrestoreView(_r8); const ctx_r7 = ɵɵnextContext(); return ctx_r7.OnClose(); });
801
- ɵɵtext(4, "X");
802
- ɵɵelementEnd();
803
- ɵɵ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();
804
839
  } if (rf & 2) {
805
- const ctx_r2 = ɵɵnextContext();
806
- ɵɵadvance(2);
807
- ɵɵtextInterpolate1(" ", ctx_r2.getText(), " ");
840
+ const ctx_r2 = i0.ɵɵnextContext();
841
+ i0.ɵɵadvance(2);
842
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.getText(), " ");
808
843
  } }
809
844
  class MagicOverlayContainer extends BaseMagicOverlayContainer {
810
845
  constructor(injector, componentFactoryResolver) {
@@ -878,42 +913,40 @@ class MagicOverlayContainer extends BaseMagicOverlayContainer {
878
913
  this.OnClose();
879
914
  }
880
915
  }
881
- MagicOverlayContainer.ɵfac = function MagicOverlayContainer_Factory(t) { return new (t || MagicOverlayContainer)(ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(ComponentFactoryResolver)); };
882
- MagicOverlayContainer.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayContainer, selectors: [["app-magic-overlay-container"]], viewQuery: function MagicOverlayContainer_Query(rf, ctx) { if (rf & 1) {
883
- ɵɵviewQuery(_c0, true);
884
- ɵɵ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);
885
920
  } if (rf & 2) {
886
- var _t;
887
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.headerElementRef = _t.first);
888
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.foregroundElementRef = _t.first);
889
- } }, 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) {
890
- ɵɵelementStart(0, "div");
891
- ɵɵelementStart(1, "div", 0);
892
- ɵɵlistener("click", function MagicOverlayContainer_Template_div_click_1_listener() { return ctx.OnBackgroundClick(); });
893
- ɵɵtemplate(2, MagicOverlayContainer_button_2_Template, 2, 0, "button", 1);
894
- ɵɵelementEnd();
895
- ɵɵelementStart(3, "div", 2, 3);
896
- ɵɵtemplate(5, MagicOverlayContainer_div_5_Template, 5, 1, "div", 4);
897
- ɵɵelementStart(6, "div", 5);
898
- ɵɵelement(7, "div", 6, 7);
899
- ɵɵelementEnd();
900
- ɵɵelementEnd();
901
- ɵɵ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();
902
937
  } if (rf & 2) {
903
- ɵɵadvance(2);
904
- ɵɵproperty("ngIf", !ctx.getShowTitleBar());
905
- ɵɵadvance(1);
906
- ɵɵproperty("ngStyle", ctx.getStyle());
907
- ɵɵadvance(2);
908
- ɵɵproperty("ngIf", ctx.getShowTitleBar());
909
- ɵɵadvance(1);
910
- ɵɵproperty("ngStyle", ctx.getClientAreaStyles());
911
- } }, 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}"] });
912
- (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, [{
913
948
  type: Component,
914
- args: [{
915
- selector: 'app-magic-overlay-container',
916
- template: `
949
+ args: [{ selector: 'app-magic-overlay-container', template: `
917
950
  <div>
918
951
  <div class="modal-background" (click)="OnBackgroundClick()">
919
952
  <button (click)="OnClose()" tabindex="-1" style="float:right; border: none; background-color: transparent; outline: none; color: white" *ngIf="!getShowTitleBar()">X</button>
@@ -929,10 +962,8 @@ MagicOverlayContainer.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayContainer,
929
962
  </div>
930
963
  </div>
931
964
  </div>
932
- `,
933
- styleUrls: ['./magic-overlay-container.css']
934
- }]
935
- }], 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: [{
936
967
  type: ViewChild,
937
968
  args: ['modalheader', { static: false }]
938
969
  }], foregroundElementRef: [{
@@ -952,8 +983,8 @@ class OverlayContainerMagicProvider {
952
983
  }
953
984
  }
954
985
  OverlayContainerMagicProvider.ɵfac = function OverlayContainerMagicProvider_Factory(t) { return new (t || OverlayContainerMagicProvider)(); };
955
- OverlayContainerMagicProvider.ɵprov = ɵɵdefineInjectable({ token: OverlayContainerMagicProvider, factory: OverlayContainerMagicProvider.ɵfac });
956
- (function () { ɵsetClassMetadata(OverlayContainerMagicProvider, [{
986
+ OverlayContainerMagicProvider.ɵprov = i0.ɵɵdefineInjectable({ token: OverlayContainerMagicProvider, factory: OverlayContainerMagicProvider.ɵfac });
987
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayContainerMagicProvider, [{
957
988
  type: Injectable
958
989
  }], null, null); })();
959
990
 
@@ -966,8 +997,8 @@ class BaseMagicConfirmComponent {
966
997
  }
967
998
  }
968
999
  BaseMagicConfirmComponent.ɵfac = function BaseMagicConfirmComponent_Factory(t) { return new (t || BaseMagicConfirmComponent)(); };
969
- 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: [""] });
970
- (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, [{
971
1002
  type: Component,
972
1003
  args: [{
973
1004
  selector: 'mg-base-alert',
@@ -991,8 +1022,8 @@ class BaseMagicAlertComponent {
991
1022
  }
992
1023
  }
993
1024
  BaseMagicAlertComponent.ɵfac = function BaseMagicAlertComponent_Factory(t) { return new (t || BaseMagicAlertComponent)(); };
994
- 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: [""] });
995
- (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, [{
996
1027
  type: Component,
997
1028
  args: [{
998
1029
  selector: 'mg-base-alert',
@@ -1015,23 +1046,24 @@ class MagicFocusDirective {
1015
1046
  this.hostElement.nativeElement.focus();
1016
1047
  }
1017
1048
  }
1018
- MagicFocusDirective.ɵfac = function MagicFocusDirective_Factory(t) { return new (t || MagicFocusDirective)(ɵɵdirectiveInject(ElementRef)); };
1019
- MagicFocusDirective.ɵdir = ɵɵdefineDirective({ type: MagicFocusDirective, selectors: [["", "magicFocus", ""]] });
1020
- (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, [{
1021
1052
  type: Directive,
1022
1053
  args: [{
1023
1054
  selector: '[magicFocus]'
1024
1055
  }]
1025
- }], function () { return [{ type: ElementRef }]; }, null); })();
1056
+ }], function () { return [{ type: i0.ElementRef }]; }, null); })();
1026
1057
 
1027
- const _c0$1 = ["overlayContainerWrapper"];
1058
+ const _c0$2 = ["overlayContainerWrapper"];
1028
1059
  class MagicOverlayContainerWrapper {
1029
- constructor(componentListMagicService, loader, injector, componentFactoryResolver, changeDetectorRef) {
1060
+ constructor(componentListMagicService, magicLazyModuleLoader, injector, componentFactoryResolver, changeDetectorRef, compiler) {
1030
1061
  this.componentListMagicService = componentListMagicService;
1031
- this.loader = loader;
1062
+ this.magicLazyModuleLoader = magicLazyModuleLoader;
1032
1063
  this.injector = injector;
1033
1064
  this.componentFactoryResolver = componentFactoryResolver;
1034
1065
  this.changeDetectorRef = changeDetectorRef;
1066
+ this.compiler = compiler;
1035
1067
  this.Component = null;
1036
1068
  this.Parameters = {};
1037
1069
  this.onClose = new EventEmitter();
@@ -1041,10 +1073,11 @@ class MagicOverlayContainerWrapper {
1041
1073
  if (moduleRef == null) {
1042
1074
  let lazyLoadModule = this.componentListMagicService.getLazyLoadModuleData(this.Parameters.MagicFormName);
1043
1075
  if (lazyLoadModule != null) {
1044
- this.loader
1045
- .load(lazyLoadModule.modulePath + "#" + lazyLoadModule.moduleName)
1046
- .then((moduleFactory) => {
1047
- 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);
1048
1081
  this.loadComponent(moduleRef);
1049
1082
  });
1050
1083
  }
@@ -1090,22 +1123,22 @@ MagicOverlayContainerWrapper.allowedBaseComps = new Map([
1090
1123
  [OverlayType.Alert, { comp: BaseMagicAlertComponent, error: 'BaseMagicAlertComponent. Alert ' }],
1091
1124
  [OverlayType.ConfirmationBox, { comp: BaseMagicConfirmComponent, error: 'BaseMagicConfirmComponent. Confirmation ' }]
1092
1125
  ]);
1093
- MagicOverlayContainerWrapper.ɵfac = function MagicOverlayContainerWrapper_Factory(t) { return new (t || MagicOverlayContainerWrapper)(ɵɵdirectiveInject(ComponentListMagicService), ɵɵdirectiveInject(NgModuleFactoryLoader), ɵɵdirectiveInject(Injector), ɵɵdirectiveInject(ComponentFactoryResolver), ɵɵdirectiveInject(ChangeDetectorRef)); };
1094
- MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayContainerWrapper, selectors: [["app-magic-overlay-container-wrapper"]], viewQuery: function MagicOverlayContainerWrapper_Query(rf, ctx) { if (rf & 1) {
1095
- ɵɵ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);
1096
1129
  } if (rf & 2) {
1097
- var _t;
1098
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.overlayContainerWrapperElementRef = _t.first);
1130
+ let _t;
1131
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayContainerWrapperElementRef = _t.first);
1099
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) {
1100
- ɵɵelementStart(0, "div");
1101
- ɵɵelement(1, "div", 0);
1102
- ɵɵelementStart(2, "div", 1, 2);
1103
- ɵɵelement(4, "div", 3, 4);
1104
- ɵɵelementEnd();
1105
- ɵɵelement(6, "div", 5);
1106
- ɵɵelementEnd();
1107
- } }, 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 }"] });
1108
- (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, [{
1109
1142
  type: Component,
1110
1143
  args: [{
1111
1144
  selector: 'app-magic-overlay-container-wrapper',
@@ -1131,7 +1164,7 @@ MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayCon
1131
1164
  }
1132
1165
  `]
1133
1166
  }]
1134
- }], 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: [{
1135
1168
  type: Input
1136
1169
  }], Parameters: [{
1137
1170
  type: Input
@@ -1146,30 +1179,29 @@ MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayCon
1146
1179
 
1147
1180
  class MagicAlertComponent extends BaseMagicAlertComponent {
1148
1181
  }
1149
- MagicAlertComponent.ɵfac = function MagicAlertComponent_Factory(t) { return ɵMagicAlertComponent_BaseFactory(t || MagicAlertComponent); };
1150
- 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) {
1151
- ɵɵelementStart(0, "div");
1152
- ɵɵelementStart(1, "div", 0);
1153
- ɵɵelementStart(2, "h2");
1154
- ɵɵtext(3);
1155
- ɵɵelementEnd();
1156
- ɵɵelementStart(4, "p");
1157
- ɵɵtext(5);
1158
- ɵɵelementEnd();
1159
- ɵɵelementStart(6, "button", 1);
1160
- ɵɵlistener("click", function MagicAlertComponent_Template_button_click_6_listener() { return ctx.OnClose(); });
1161
- ɵɵtext(7, "OK");
1162
- ɵɵelementEnd();
1163
- ɵɵelementEnd();
1164
- ɵɵ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();
1165
1198
  } if (rf & 2) {
1166
- ɵɵadvance(3);
1167
- ɵɵtextInterpolate1(" ", ctx.title, "");
1168
- ɵɵadvance(2);
1169
- ɵɵtextInterpolate1("", ctx.message, " ");
1170
- } }, 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 }"] });
1171
- const ɵMagicAlertComponent_BaseFactory = ɵɵgetInheritedFactory(MagicAlertComponent);
1172
- (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, [{
1173
1205
  type: Component,
1174
1206
  args: [{
1175
1207
  selector: 'sample-magic-alert-component',
@@ -1215,34 +1247,33 @@ const ɵMagicAlertComponent_BaseFactory = ɵɵgetInheritedFactory(MagicAlertComp
1215
1247
 
1216
1248
  class MagicConfirmationBoxComponent extends BaseMagicConfirmComponent {
1217
1249
  }
1218
- MagicConfirmationBoxComponent.ɵfac = function MagicConfirmationBoxComponent_Factory(t) { return ɵMagicConfirmationBoxComponent_BaseFactory(t || MagicConfirmationBoxComponent); };
1219
- 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) {
1220
- ɵɵelementStart(0, "div");
1221
- ɵɵelementStart(1, "div", 0);
1222
- ɵɵelementStart(2, "h2");
1223
- ɵɵtext(3);
1224
- ɵɵelementEnd();
1225
- ɵɵtext(4);
1226
- ɵɵelement(5, "br");
1227
- ɵɵelement(6, "br");
1228
- ɵɵelementStart(7, "button", 1);
1229
- ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_7_listener() { return ctx.OnClose(true); });
1230
- ɵɵtext(8, "OK");
1231
- ɵɵelementEnd();
1232
- ɵɵelementStart(9, "button", 2);
1233
- ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_9_listener() { return ctx.OnClose(false); });
1234
- ɵɵtext(10, "Cancel");
1235
- ɵɵelementEnd();
1236
- ɵɵelementEnd();
1237
- ɵɵ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();
1238
1270
  } if (rf & 2) {
1239
- ɵɵadvance(3);
1240
- ɵɵtextInterpolate1(" ", ctx.title, "");
1241
- ɵɵadvance(1);
1242
- ɵɵtextInterpolate1(" ", ctx.message, " ");
1243
- } }, 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 }"] });
1244
- const ɵMagicConfirmationBoxComponent_BaseFactory = ɵɵgetInheritedFactory(MagicConfirmationBoxComponent);
1245
- (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, [{
1246
1277
  type: Component,
1247
1278
  args: [{
1248
1279
  selector: 'sample-magic-confirmation-box',
@@ -1305,8 +1336,8 @@ class ConfirmationComponentsMagicProvider {
1305
1336
  }
1306
1337
  }
1307
1338
  ConfirmationComponentsMagicProvider.ɵfac = function ConfirmationComponentsMagicProvider_Factory(t) { return new (t || ConfirmationComponentsMagicProvider)(); };
1308
- ConfirmationComponentsMagicProvider.ɵprov = ɵɵdefineInjectable({ token: ConfirmationComponentsMagicProvider, factory: ConfirmationComponentsMagicProvider.ɵfac });
1309
- (function () { ɵsetClassMetadata(ConfirmationComponentsMagicProvider, [{
1339
+ ConfirmationComponentsMagicProvider.ɵprov = i0.ɵɵdefineInjectable({ token: ConfirmationComponentsMagicProvider, factory: ConfirmationComponentsMagicProvider.ɵfac });
1340
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationComponentsMagicProvider, [{
1310
1341
  type: Injectable
1311
1342
  }], null, null); })();
1312
1343
 
@@ -1419,11 +1450,14 @@ class OverlayWindowService {
1419
1450
  return componentRef;
1420
1451
  }
1421
1452
  }
1422
- OverlayWindowService.ɵfac = function OverlayWindowService_Factory(t) { return new (t || OverlayWindowService)(ɵɵinject(ComponentFactoryResolver), ɵɵinject(ComponentListMagicService), ɵɵinject(EngineMagicService), ɵɵinject(OverlayContainerMagicProvider), ɵɵinject(ConfirmationComponentsMagicProvider)); };
1423
- OverlayWindowService.ɵprov = ɵɵdefineInjectable({ token: OverlayWindowService, factory: OverlayWindowService.ɵfac });
1424
- (function () { ɵsetClassMetadata(OverlayWindowService, [{
1425
- type: Injectable
1426
- }], 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); })();
1427
1461
  class OverlayWindowFocusManager {
1428
1462
  constructor(rootMagicElement) {
1429
1463
  this.rootMagicElement = null;
@@ -2130,9 +2164,9 @@ class TaskMagicService {
2130
2164
  }
2131
2165
  }
2132
2166
  }
2133
- TaskMagicService.ɵfac = function TaskMagicService_Factory(t) { return new (t || TaskMagicService)(ɵɵinject(EngineMagicService), ɵɵinject(OverlayWindowService)); };
2134
- TaskMagicService.ɵprov = ɵɵdefineInjectable({ token: TaskMagicService, factory: TaskMagicService.ɵfac });
2135
- (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, [{
2136
2170
  type: Injectable
2137
2171
  }], function () { return [{ type: EngineMagicService }, { type: OverlayWindowService }]; }, null); })();
2138
2172
 
@@ -2198,9 +2232,9 @@ class TableMagicService {
2198
2232
  return topIndex;
2199
2233
  }
2200
2234
  }
2201
- TableMagicService.ɵfac = function TableMagicService_Factory(t) { return new (t || TableMagicService)(ɵɵinject(ComponentListMagicService), ɵɵinject(TaskMagicService)); };
2202
- TableMagicService.ɵprov = ɵɵdefineInjectable({ token: TableMagicService, factory: TableMagicService.ɵfac });
2203
- (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, [{
2204
2238
  type: Injectable
2205
2239
  }], function () { return [{ type: ComponentListMagicService }, { type: TaskMagicService }]; }, null); })();
2206
2240
 
@@ -2212,11 +2246,11 @@ class TitleMagicService {
2212
2246
  this.titleService.setTitle(newTitle);
2213
2247
  }
2214
2248
  }
2215
- TitleMagicService.ɵfac = function TitleMagicService_Factory(t) { return new (t || TitleMagicService)(ɵɵinject(Title)); };
2216
- TitleMagicService.ɵprov = ɵɵdefineInjectable({ token: TitleMagicService, factory: TitleMagicService.ɵfac });
2217
- (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, [{
2218
2252
  type: Injectable
2219
- }], function () { return [{ type: Title }]; }, null); })();
2253
+ }], function () { return [{ type: i1$1.Title }]; }, null); })();
2220
2254
 
2221
2255
  class AccessorMagicService {
2222
2256
  constructor(task) {
@@ -2506,9 +2540,9 @@ class AccessorMagicService {
2506
2540
  return CookieService.deleteCookie(name);
2507
2541
  }
2508
2542
  }
2509
- AccessorMagicService.ɵfac = function AccessorMagicService_Factory(t) { return new (t || AccessorMagicService)(ɵɵinject(TaskMagicService)); };
2510
- AccessorMagicService.ɵprov = ɵɵdefineInjectable({ token: AccessorMagicService, factory: AccessorMagicService.ɵfac });
2511
- (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, [{
2512
2546
  type: Injectable
2513
2547
  }], function () { return [{ type: TaskMagicService }]; }, null); })();
2514
2548
 
@@ -2525,9 +2559,9 @@ class MagicServices {
2525
2559
  task.mgAccessorService = mgAccessorService;
2526
2560
  }
2527
2561
  }
2528
- MagicServices.ɵfac = function MagicServices_Factory(t) { return new (t || MagicServices)(ɵɵinject(TaskMagicService), ɵɵinject(SubformMagicService), ɵɵinject(TableMagicService), ɵɵinject(TitleMagicService), ɵɵinject(AccessorMagicService)); };
2529
- MagicServices.ɵprov = ɵɵdefineInjectable({ token: MagicServices, factory: MagicServices.ɵfac });
2530
- (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, [{
2531
2565
  type: Injectable
2532
2566
  }], function () { return [{ type: TaskMagicService }, { type: SubformMagicService }, { type: TableMagicService }, { type: TitleMagicService }, { type: AccessorMagicService }]; }, null); })();
2533
2567
 
@@ -2588,16 +2622,16 @@ class TaskBaseMagicComponent {
2588
2622
  this.task.dispose();
2589
2623
  }
2590
2624
  }
2591
- TaskBaseMagicComponent.ɵfac = function TaskBaseMagicComponent_Factory(t) { return new (t || TaskBaseMagicComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(MagicServices)); };
2592
- 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 });
2593
- (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, [{
2594
2628
  type: Component,
2595
2629
  args: [{
2596
2630
  selector: 'task-magic',
2597
2631
  providers: [TaskMagicService, SubformMagicService, TableMagicService],
2598
2632
  template: ''
2599
2633
  }]
2600
- }], function () { return [{ type: ChangeDetectorRef }, { type: MagicServices }]; }, { taskIdParam: [{
2634
+ }], function () { return [{ type: i0.ChangeDetectorRef }, { type: MagicServices }]; }, { taskIdParam: [{
2601
2635
  type: Input
2602
2636
  }], taskDescription: [{
2603
2637
  type: Input
@@ -2637,16 +2671,16 @@ class RowMagicDirective {
2637
2671
  }
2638
2672
  }
2639
2673
  }
2640
- RowMagicDirective.ɵfac = function RowMagicDirective_Factory(t) { return new (t || RowMagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef)); };
2641
- RowMagicDirective.ɵdir = ɵɵdefineDirective({ type: RowMagicDirective, selectors: [["", "magicRow", ""]], hostBindings: function RowMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
2642
- ɵɵ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); });
2643
2677
  } }, inputs: { rowId: ["magicRow", "rowId"] } });
2644
- (function () { ɵsetClassMetadata(RowMagicDirective, [{
2678
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RowMagicDirective, [{
2645
2679
  type: Directive,
2646
2680
  args: [{
2647
2681
  selector: '[magicRow]'
2648
2682
  }]
2649
- }], function () { return [{ type: TaskMagicService }, { type: ElementRef }]; }, { rowId: [{
2683
+ }], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }]; }, { rowId: [{
2650
2684
  type: Input,
2651
2685
  args: ['magicRow']
2652
2686
  }], onClick: [{
@@ -2797,7 +2831,7 @@ class MagicDirective {
2797
2831
  case InteractiveCommandType.CALL_JS:
2798
2832
  let methodName = command._str;
2799
2833
  let args = command.arguments;
2800
- let magicComponent = (this.vcRef._hostView).find(v => v instanceof TaskBaseMagicComponent);
2834
+ let magicComponent = (this.vcRef._hostLView).find(v => v instanceof TaskBaseMagicComponent);
2801
2835
  let resultString = '';
2802
2836
  try {
2803
2837
  if (!isNullOrUndefined(magicComponent[methodName])) {
@@ -2829,14 +2863,14 @@ class MagicDirective {
2829
2863
  }
2830
2864
  MagicDirective.opened = false;
2831
2865
  MagicDirective.noOfAutoCompleteBoxesOpened = 0;
2832
- MagicDirective.ɵfac = function MagicDirective_Factory(t) { return new (t || MagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(RowMagicDirective, 8)); };
2833
- MagicDirective.ɵdir = ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", rowId: "rowId" } });
2834
- (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, [{
2835
2869
  type: Directive,
2836
2870
  args: [{
2837
2871
  selector: '[magic]'
2838
2872
  }]
2839
- }], 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: [{
2840
2874
  type: Optional
2841
2875
  }] }]; }, { magic: [{
2842
2876
  type: Input,
@@ -3015,14 +3049,14 @@ class NoControlMagicDirective extends MagicDirective {
3015
3049
  }
3016
3050
  }
3017
3051
  }
3018
- NoControlMagicDirective.ɵfac = function NoControlMagicDirective_Factory(t) { return new (t || NoControlMagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(RowMagicDirective, 8)); };
3019
- NoControlMagicDirective.ɵdir = ɵɵdefineDirective({ type: NoControlMagicDirective, selectors: [["", "magicnc", ""]], inputs: { magic: ["magicnc", "magic"] }, features: [ɵɵInheritDefinitionFeature] });
3020
- (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, [{
3021
3055
  type: Directive,
3022
3056
  args: [{
3023
3057
  selector: '[magicnc]'
3024
3058
  }]
3025
- }], 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: [{
3026
3060
  type: Optional
3027
3061
  }] }]; }, { magic: [{
3028
3062
  type: Input,
@@ -3056,9 +3090,9 @@ class DateMagicPipe extends DatePipe {
3056
3090
  return value;
3057
3091
  }
3058
3092
  }
3059
- DateMagicPipe.ɵfac = function DateMagicPipe_Factory(t) { return new (t || DateMagicPipe)(ɵɵdirectiveInject(TaskMagicService)); };
3060
- DateMagicPipe.ɵpipe = ɵɵdefinePipe({ name: "magicDate", type: DateMagicPipe, pure: true });
3061
- (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, [{
3062
3096
  type: Pipe,
3063
3097
  args: [{
3064
3098
  name: 'magicDate'
@@ -3326,11 +3360,11 @@ class MgformatMagicDirective {
3326
3360
  return false;
3327
3361
  }
3328
3362
  }
3329
- MgformatMagicDirective.ɵfac = function MgformatMagicDirective_Factory(t) { return new (t || MgformatMagicDirective)(ɵɵdirectiveInject(MagicDirective), ɵɵdirectiveInject(TaskMagicService)); };
3330
- MgformatMagicDirective.ɵdir = ɵɵdefineDirective({ type: MgformatMagicDirective, selectors: [["", "mgFormat", ""]], hostBindings: function MgformatMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3331
- ɵɵ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); });
3332
3366
  } } });
3333
- (function () { ɵsetClassMetadata(MgformatMagicDirective, [{
3367
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MgformatMagicDirective, [{
3334
3368
  type: Directive,
3335
3369
  args: [{
3336
3370
  selector: '[mgFormat]'
@@ -3378,9 +3412,9 @@ class TimeMagicPipe extends DatePipe {
3378
3412
  return value;
3379
3413
  }
3380
3414
  }
3381
- TimeMagicPipe.ɵfac = function TimeMagicPipe_Factory(t) { return new (t || TimeMagicPipe)(ɵɵdirectiveInject(TaskMagicService)); };
3382
- TimeMagicPipe.ɵpipe = ɵɵdefinePipe({ name: "magicTime", type: TimeMagicPipe, pure: true });
3383
- (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, [{
3384
3418
  type: Pipe,
3385
3419
  args: [{
3386
3420
  name: 'magicTime'
@@ -3418,15 +3452,15 @@ class RangeValidatorMagicDirective {
3418
3452
  return Object.keys(formGroup).find(name => c === formGroup[name]) || null;
3419
3453
  }
3420
3454
  }
3421
- RangeValidatorMagicDirective.ɵfac = function RangeValidatorMagicDirective_Factory(t) { return new (t || RangeValidatorMagicDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ViewContainerRef)); };
3422
- 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([
3423
3457
  {
3424
3458
  provide: NG_VALIDATORS,
3425
3459
  useExisting: RangeValidatorMagicDirective,
3426
3460
  multi: true,
3427
3461
  }
3428
3462
  ])] });
3429
- (function () { ɵsetClassMetadata(RangeValidatorMagicDirective, [{
3463
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RangeValidatorMagicDirective, [{
3430
3464
  type: Directive,
3431
3465
  args: [{
3432
3466
  selector: '[rangevalidator] ',
@@ -3438,20 +3472,20 @@ RangeValidatorMagicDirective.ɵdir = ɵɵdefineDirective({ type: RangeValidatorM
3438
3472
  }
3439
3473
  ]
3440
3474
  }]
3441
- }], function () { return [{ type: TaskMagicService }, { type: ViewContainerRef }]; }, null); })();
3475
+ }], function () { return [{ type: TaskMagicService }, { type: i0.ViewContainerRef }]; }, null); })();
3442
3476
 
3443
3477
  function SubformMagicComponent_ndc_dynamic_0_Template(rf, ctx) { if (rf & 1) {
3444
- ɵɵelement(0, "ndc-dynamic", 1);
3478
+ i0.ɵɵelement(0, "ndc-dynamic", 1);
3445
3479
  } if (rf & 2) {
3446
- const ctx_r0 = ɵɵnextContext();
3447
- ɵɵ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);
3448
3482
  } }
3449
3483
  class SubformMagicComponent {
3450
3484
  constructor(vcRef, mgSub) {
3451
3485
  this.vcRef = vcRef;
3452
3486
  this.mgSub = mgSub;
3453
3487
  this.component = null;
3454
- this.component = (this.vcRef._hostView).find(v => !isNullOrUndefined(v));
3488
+ this.component = (this.vcRef._hostLView).find(v => !isNullOrUndefined(v));
3455
3489
  }
3456
3490
  set magic(val) { this.id = val; }
3457
3491
  ;
@@ -3462,13 +3496,13 @@ class SubformMagicComponent {
3462
3496
  return this.mgSub.mgGetParameters(this.id);
3463
3497
  }
3464
3498
  }
3465
- SubformMagicComponent.ɵfac = function SubformMagicComponent_Factory(t) { return new (t || SubformMagicComponent)(ɵɵdirectiveInject(ViewContainerRef), ɵɵdirectiveInject(SubformMagicService)); };
3466
- 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) {
3467
- ɵɵ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);
3468
3502
  } if (rf & 2) {
3469
- ɵɵproperty("ngIf", ctx.Component);
3470
- } }, directives: [NgIf, DynamicComponent, DynamicIoDirective], encapsulation: 2 });
3471
- (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, [{
3472
3506
  type: Component,
3473
3507
  args: [{
3474
3508
  selector: 'magic-subform',
@@ -3480,34 +3514,34 @@ SubformMagicComponent.ɵcmp = ɵɵdefineComponent({ type: SubformMagicComponent,
3480
3514
  </ndc-dynamic>
3481
3515
  `
3482
3516
  }]
3483
- }], function () { return [{ type: ViewContainerRef }, { type: SubformMagicService }]; }, { magic: [{
3517
+ }], function () { return [{ type: i0.ViewContainerRef }, { type: SubformMagicService }]; }, { magic: [{
3484
3518
  type: Input,
3485
3519
  args: ['magic']
3486
3520
  }] }); })();
3487
3521
 
3488
- const _c0$2 = ["customContent"];
3522
+ const _c0$1 = ["customContent"];
3489
3523
  function ErrorMagicComponent_div_0_span_4_Template(rf, ctx) { if (rf & 1) {
3490
- ɵɵelementStart(0, "span");
3491
- ɵɵtext(1);
3492
- ɵɵelementEnd();
3524
+ i0.ɵɵelementStart(0, "span");
3525
+ i0.ɵɵtext(1);
3526
+ i0.ɵɵelementEnd();
3493
3527
  } if (rf & 2) {
3494
- const ctx_r2 = ɵɵnextContext(2);
3495
- ɵɵadvance(1);
3496
- ɵɵ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), " ");
3497
3531
  } }
3498
3532
  function ErrorMagicComponent_div_0_Template(rf, ctx) { if (rf & 1) {
3499
- ɵɵelementStart(0, "div");
3500
- ɵɵelementStart(1, "div", null, 1);
3501
- ɵɵprojection(3);
3502
- ɵɵelementEnd();
3503
- ɵɵtemplate(4, ErrorMagicComponent_div_0_span_4_Template, 2, 1, "span", 0);
3504
- ɵɵ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();
3505
3539
  } if (rf & 2) {
3506
- const ctx_r0 = ɵɵnextContext();
3507
- ɵɵadvance(4);
3508
- ɵɵproperty("ngIf", ctx_r0.defaultDisplay);
3540
+ const ctx_r0 = i0.ɵɵnextContext();
3541
+ i0.ɵɵadvance(4);
3542
+ i0.ɵɵproperty("ngIf", ctx_r0.defaultDisplay);
3509
3543
  } }
3510
- const _c1$1 = ["*"];
3544
+ const _c1 = ["*"];
3511
3545
  class ErrorMagicComponent {
3512
3546
  constructor(_task, mgService, changeDetectorRef) {
3513
3547
  this._task = _task;
@@ -3560,19 +3594,19 @@ class ErrorMagicComponent {
3560
3594
  return false;
3561
3595
  }
3562
3596
  }
3563
- ErrorMagicComponent.ɵfac = function ErrorMagicComponent_Factory(t) { return new (t || ErrorMagicComponent)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(AccessorMagicService), ɵɵdirectiveInject(ChangeDetectorRef)); };
3564
- ErrorMagicComponent.ɵcmp = ɵɵdefineComponent({ type: ErrorMagicComponent, selectors: [["mgError"]], viewQuery: function ErrorMagicComponent_Query(rf, ctx) { if (rf & 1) {
3565
- ɵɵ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);
3566
3600
  } if (rf & 2) {
3567
- var _t;
3568
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.CustomContent = _t.first);
3569
- } }, 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) {
3570
- ɵɵprojectionDef();
3571
- ɵɵ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);
3572
3606
  } if (rf & 2) {
3573
- ɵɵproperty("ngIf", ctx.HasErrors(ctx.id));
3574
- } }, directives: [NgIf], encapsulation: 2 });
3575
- (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, [{
3576
3610
  type: Component,
3577
3611
  args: [{
3578
3612
  selector: 'mgError',
@@ -3586,7 +3620,7 @@ ErrorMagicComponent.ɵcmp = ɵɵdefineComponent({ type: ErrorMagicComponent, sel
3586
3620
  </div>
3587
3621
  `
3588
3622
  }]
3589
- }], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type: ChangeDetectorRef }]; }, { magic: [{
3623
+ }], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type: i0.ChangeDetectorRef }]; }, { magic: [{
3590
3624
  type: Input,
3591
3625
  args: ['magic']
3592
3626
  }], rowId1: [{
@@ -3605,11 +3639,11 @@ class CheckboxMagicDirective {
3605
3639
  this.magicDirective.task.onCheckChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
3606
3640
  }
3607
3641
  }
3608
- CheckboxMagicDirective.ɵfac = function CheckboxMagicDirective_Factory(t) { return new (t || CheckboxMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3609
- CheckboxMagicDirective.ɵdir = ɵɵdefineDirective({ type: CheckboxMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", 3, "noFormControl", ""]], hostBindings: function CheckboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3610
- ɵɵ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); });
3611
3645
  } } });
3612
- (function () { ɵsetClassMetadata(CheckboxMagicDirective, [{
3646
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxMagicDirective, [{
3613
3647
  type: Directive,
3614
3648
  args: [{
3615
3649
  selector: `
@@ -3629,11 +3663,11 @@ class ComboboxMagicDirective {
3629
3663
  this.magicDirective.task.onComboboxSelectionChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
3630
3664
  }
3631
3665
  }
3632
- ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3633
- ComboboxMagicDirective.ɵdir = ɵɵdefineDirective({ type: ComboboxMagicDirective, selectors: [["select", "magic", "", 3, "multiple", ""]], hostBindings: function ComboboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3634
- ɵɵ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); });
3635
3669
  } } });
3636
- (function () { ɵsetClassMetadata(ComboboxMagicDirective, [{
3670
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComboboxMagicDirective, [{
3637
3671
  type: Directive,
3638
3672
  args: [{
3639
3673
  selector: `select[magic]:not([multiple])`,
@@ -3649,30 +3683,30 @@ class ExitMagicService {
3649
3683
  }
3650
3684
  }
3651
3685
  ExitMagicService.ɵfac = function ExitMagicService_Factory(t) { return new (t || ExitMagicService)(); };
3652
- ExitMagicService.ɵprov = ɵɵdefineInjectable({ token: ExitMagicService, factory: ExitMagicService.ɵfac });
3653
- (function () { ɵsetClassMetadata(ExitMagicService, [{
3686
+ ExitMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: ExitMagicService, factory: ExitMagicService.ɵfac });
3687
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExitMagicService, [{
3654
3688
  type: Injectable
3655
3689
  }], null, null); })();
3656
3690
 
3657
- const _c0$3 = ["magicRoot"];
3691
+ const _c0 = ["magicRoot"];
3658
3692
  function MagicShellComponent_ndc_dynamic_2_Template(rf, ctx) { if (rf & 1) {
3659
- ɵɵelement(0, "ndc-dynamic", 6);
3693
+ i0.ɵɵelement(0, "ndc-dynamic", 6);
3660
3694
  } if (rf & 2) {
3661
- const ctx_r1 = ɵɵnextContext();
3662
- ɵɵ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);
3663
3697
  } }
3664
3698
  function MagicShellComponent_div_5_Template(rf, ctx) { if (rf & 1) {
3665
- ɵɵelementStart(0, "div", 7);
3666
- ɵɵelementContainer(1, 8);
3667
- ɵɵelementEnd();
3699
+ i0.ɵɵelementStart(0, "div", 7);
3700
+ i0.ɵɵelementContainer(1, 8);
3701
+ i0.ɵɵelementEnd();
3668
3702
  } if (rf & 2) {
3669
- const ctx_r3 = ɵɵnextContext();
3670
- const _r4 = ɵɵreference(7);
3671
- ɵɵadvance(1);
3672
- ɵɵ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);
3673
3707
  } }
3674
3708
  function MagicShellComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
3675
- ɵɵelement(0, "div", 9);
3709
+ i0.ɵɵelement(0, "div", 9);
3676
3710
  } }
3677
3711
  class MagicShellComponent {
3678
3712
  constructor(engineMagicService, componentList, changeDetectorRef, titleService, overlayWindowService, httpClient, pendingCommandsCollector, exitMagicService) {
@@ -3777,28 +3811,28 @@ class MagicShellComponent {
3777
3811
  }
3778
3812
  }
3779
3813
  }
3780
- 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)); };
3781
- MagicShellComponent.ɵcmp = ɵɵdefineComponent({ type: MagicShellComponent, selectors: [["magic-root"]], viewQuery: function MagicShellComponent_Query(rf, ctx) { if (rf & 1) {
3782
- ɵɵ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);
3783
3817
  } if (rf & 2) {
3784
- var _t;
3785
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.rootMagicElementRef = _t.first);
3818
+ let _t;
3819
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rootMagicElementRef = _t.first);
3786
3820
  } }, hostBindings: function MagicShellComponent_HostBindings(rf, ctx) { if (rf & 1) {
3787
- ɵɵ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);
3788
- } }, 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) {
3789
- ɵɵelementStart(0, "div", null, 0);
3790
- ɵɵtemplate(2, MagicShellComponent_ndc_dynamic_2_Template, 1, 2, "ndc-dynamic", 1);
3791
- ɵɵelement(3, "div", 2, 3);
3792
- ɵɵelementEnd();
3793
- ɵɵtemplate(5, MagicShellComponent_div_5_Template, 2, 1, "div", 4);
3794
- ɵɵ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);
3795
3829
  } if (rf & 2) {
3796
- ɵɵadvance(2);
3797
- ɵɵproperty("ngIf", ctx.RootComponent !== null);
3798
- ɵɵadvance(3);
3799
- ɵɵproperty("ngIf", ctx.showSpinner);
3800
- } }, 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 }"] });
3801
- (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, [{
3802
3836
  type: Component,
3803
3837
  args: [{
3804
3838
  selector: 'magic-root',
@@ -3854,7 +3888,7 @@ MagicShellComponent.ɵcmp = ɵɵdefineComponent({ type: MagicShellComponent, sel
3854
3888
  }
3855
3889
  `]
3856
3890
  }]
3857
- }], 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: [{
3858
3892
  type: Optional
3859
3893
  }] }]; }, { rootMagicElementRef: [{
3860
3894
  type: ViewChild,
@@ -3876,12 +3910,11 @@ const CHECKBOX_VALUE_ACCESSOR = {
3876
3910
  };
3877
3911
  class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
3878
3912
  }
3879
- MagicCheckboxControlValueAccessor.ɵfac = function MagicCheckboxControlValueAccessor_Factory(t) { return ɵMagicCheckboxControlValueAccessor_BaseFactory(t || MagicCheckboxControlValueAccessor); };
3880
- 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) {
3881
- ɵɵlistener("change", function MagicCheckboxControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.checked); })("blur", function MagicCheckboxControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
3882
- } }, features: [ɵɵProvidersFeature([CHECKBOX_VALUE_ACCESSOR]), ɵɵInheritDefinitionFeature] });
3883
- const ɵMagicCheckboxControlValueAccessor_BaseFactory = ɵɵgetInheritedFactory(MagicCheckboxControlValueAccessor);
3884
- (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, [{
3885
3918
  type: Directive,
3886
3919
  args: [{
3887
3920
  selector: `
@@ -3901,12 +3934,11 @@ const MAGIC_DEFAULT_VALUE_ACCESSOR = {
3901
3934
  };
3902
3935
  class MagicDefaultValueAccessor extends DefaultValueAccessor {
3903
3936
  }
3904
- MagicDefaultValueAccessor.ɵfac = function MagicDefaultValueAccessor_Factory(t) { return ɵMagicDefaultValueAccessor_BaseFactory(t || MagicDefaultValueAccessor); };
3905
- 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) {
3906
- ɵɵ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); });
3907
- } }, exportAs: ["magic"], features: [ɵɵProvidersFeature([MAGIC_DEFAULT_VALUE_ACCESSOR]), ɵɵInheritDefinitionFeature] });
3908
- const ɵMagicDefaultValueAccessor_BaseFactory = ɵɵgetInheritedFactory(MagicDefaultValueAccessor);
3909
- (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, [{
3910
3942
  type: Directive,
3911
3943
  args: [{
3912
3944
  selector: `
@@ -3932,11 +3964,11 @@ class CheckboxNoFormControlMagicDirective {
3932
3964
  this.magicDirective.task.onCheckChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
3933
3965
  }
3934
3966
  }
3935
- CheckboxNoFormControlMagicDirective.ɵfac = function CheckboxNoFormControlMagicDirective_Factory(t) { return new (t || CheckboxNoFormControlMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3936
- CheckboxNoFormControlMagicDirective.ɵdir = ɵɵdefineDirective({ type: CheckboxNoFormControlMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", "noFormControl", ""]], hostBindings: function CheckboxNoFormControlMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
3937
- ɵɵ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); });
3938
3970
  } } });
3939
- (function () { ɵsetClassMetadata(CheckboxNoFormControlMagicDirective, [{
3971
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxNoFormControlMagicDirective, [{
3940
3972
  type: Directive,
3941
3973
  args: [{
3942
3974
  selector: `
@@ -3956,11 +3988,11 @@ class InputNoFormControlMagicDirective {
3956
3988
  this.magicDirective.task.setInputTextValue(this.magicDirective.id, this.magicDirective.rowId, event.srcElement.value);
3957
3989
  }
3958
3990
  }
3959
- InputNoFormControlMagicDirective.ɵfac = function InputNoFormControlMagicDirective_Factory(t) { return new (t || InputNoFormControlMagicDirective)(ɵɵdirectiveInject(MagicDirective)); };
3960
- 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) {
3961
- ɵɵ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); });
3962
3994
  } } });
3963
- (function () { ɵsetClassMetadata(InputNoFormControlMagicDirective, [{
3995
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputNoFormControlMagicDirective, [{
3964
3996
  type: Directive,
3965
3997
  args: [{
3966
3998
  selector: `input[magic]:([noFormControl]):not([type=checkbox]),
@@ -4002,17 +4034,17 @@ class DateValueAccessor {
4002
4034
  this.renderer.setProperty(this.elementRef.nativeElement, "disabled", isDisabled);
4003
4035
  }
4004
4036
  }
4005
- DateValueAccessor.ɵfac = function DateValueAccessor_Factory(t) { return new (t || DateValueAccessor)(ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ElementRef)); };
4006
- DateValueAccessor.ɵdir = ɵɵdefineDirective({ type: DateValueAccessor, selectors: [["", "dateInput", ""]], hostBindings: function DateValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
4007
- ɵɵlistener("input", function DateValueAccessor_input_HostBindingHandler($event) { return ctx.onChange($event.target.valueAsDate); })("blur", function DateValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
4008
- } }, features: [ɵɵProvidersFeature([DATE_VALUE_ACCESSOR])] });
4009
- (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, [{
4010
4042
  type: Directive,
4011
4043
  args: [{
4012
4044
  selector: "[dateInput]",
4013
4045
  providers: [DATE_VALUE_ACCESSOR]
4014
4046
  }]
4015
- }], function () { return [{ type: Renderer2 }, { type: ElementRef }]; }, { onChange: [{
4047
+ }], function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { onChange: [{
4016
4048
  type: HostListener,
4017
4049
  args: ["input", ["$event.target.valueAsDate"]]
4018
4050
  }], onTouched: [{
@@ -4052,14 +4084,14 @@ class NonMagicControlDirective {
4052
4084
  this.regEvents();
4053
4085
  }
4054
4086
  }
4055
- NonMagicControlDirective.ɵfac = function NonMagicControlDirective_Factory(t) { return new (t || NonMagicControlDirective)(ɵɵdirectiveInject(TaskMagicService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(ViewContainerRef)); };
4056
- NonMagicControlDirective.ɵdir = ɵɵdefineDirective({ type: NonMagicControlDirective, selectors: [["", "NonMagicControl", ""]], inputs: { magic: ["NonMagicControl", "magic"] } });
4057
- (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, [{
4058
4090
  type: Directive,
4059
4091
  args: [{
4060
4092
  selector: '[NonMagicControl]'
4061
4093
  }]
4062
- }], 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: [{
4063
4095
  type: Input,
4064
4096
  args: ['NonMagicControl']
4065
4097
  }] }); })();
@@ -4095,21 +4127,10 @@ const decs = [
4095
4127
  MagicViewContainerRef
4096
4128
  ];
4097
4129
  class MagicModule {
4098
- static forRoot() {
4099
- return {
4100
- ngModule: MagicModule,
4101
- providers: [
4102
- EngineMagicService,
4103
- ComponentListMagicService,
4104
- CommandsCollectorMagicService,
4105
- RouterCommandsMagicService,
4106
- OverlayWindowService,
4107
- ]
4108
- };
4109
- }
4110
4130
  }
4111
- MagicModule.ɵmod = ɵɵdefineNgModule({ type: MagicModule });
4112
- 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: [[
4113
4134
  CommonModule,
4114
4135
  FormsModule,
4115
4136
  ReactiveFormsModule,
@@ -4117,7 +4138,24 @@ MagicModule.ɵinj = ɵɵdefineInjector({ factory: function MagicModule_Factory(t
4117
4138
  DynamicModule,
4118
4139
  HttpClientModule
4119
4140
  ]] });
4120
- (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,
4121
4159
  CheckboxMagicDirective,
4122
4160
  CheckboxNoFormControlMagicDirective,
4123
4161
  InputNoFormControlMagicDirective,
@@ -4176,24 +4214,7 @@ MagicModule.ɵinj = ɵɵdefineInjector({ factory: function MagicModule_Factory(t
4176
4214
  RangeValidatorMagicDirective,
4177
4215
  NonMagicControlDirective,
4178
4216
  MagicFocusDirective,
4179
- MagicViewContainerRef] }); })();
4180
- (function () { ɵsetClassMetadata(MagicModule, [{
4181
- type: NgModule,
4182
- args: [{
4183
- declarations: [...decs],
4184
- exports: [...decs],
4185
- entryComponents: [],
4186
- imports: [
4187
- CommonModule,
4188
- FormsModule,
4189
- ReactiveFormsModule,
4190
- RouterModule,
4191
- DynamicModule,
4192
- HttpClientModule
4193
- ],
4194
- providers: [ConfirmationComponentsMagicProvider, OverlayContainerMagicProvider]
4195
- }]
4196
- }], null, null); })();
4217
+ MagicViewContainerRef] }); })();
4197
4218
 
4198
4219
  const MG_FORMATS = {
4199
4220
  parse: { dateInput: { month: 'short', year: 'numeric', day: 'numeric' } },
@@ -4286,11 +4307,11 @@ class MgDateAdapter extends NativeDateAdapter {
4286
4307
  }
4287
4308
  }
4288
4309
  }
4289
- MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(ɵɵinject(Platform), ɵɵinject(TaskMagicService)); };
4290
- MgDateAdapter.ɵprov = ɵɵdefineInjectable({ token: MgDateAdapter, factory: MgDateAdapter.ɵfac });
4291
- (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, [{
4292
4313
  type: Injectable
4293
- }], function () { return [{ type: Platform }, { type: TaskMagicService }]; }, null); })();
4314
+ }], function () { return [{ type: i1$2.Platform }, { type: TaskMagicService }]; }, null); })();
4294
4315
 
4295
4316
  const matDateProviders = [
4296
4317
  { provide: DateAdapter, useClass: MgDateAdapter },
@@ -4379,5 +4400,5 @@ class ModalFormDefinition {
4379
4400
  }
4380
4401
  }
4381
4402
 
4382
- 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 };
4383
- //# 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