@magic-xpa/angular 4.800.0 → 4.800.2
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.
- package/bundles/magic-xpa-angular.umd.js +336 -309
- package/bundles/magic-xpa-angular.umd.js.map +1 -1
- package/bundles/magic-xpa-angular.umd.min.js +1 -15
- package/bundles/magic-xpa-angular.umd.min.js.map +1 -1
- package/fesm2015/magic-xpa-angular.js +317 -312
- package/fesm2015/magic-xpa-angular.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { isNullOrUndefined, isUndefined } from 'util';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
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
|
|
9
|
+
import * as i3 from 'ng-dynamic-component';
|
|
10
|
+
import { DynamicModule } from 'ng-dynamic-component';
|
|
7
11
|
import { __awaiter, __decorate, __metadata } from 'tslib';
|
|
8
12
|
import { Subject } from 'rxjs';
|
|
9
13
|
import { MagicBridge, getGuiEventObj, CookieService } from '@magic-xpa/engine';
|
|
@@ -11,11 +15,12 @@ import { InteractiveCommandType, OverlayType, Styles, HtmlProperties, GuiConstan
|
|
|
11
15
|
import { MagicProperties, Logger, StrUtil, StorageAttribute, BindingLevel, StorageAttributeType, PICInterface } from '@magic-xpa/utils';
|
|
12
16
|
import { filter, map, debounceTime } from 'rxjs/operators';
|
|
13
17
|
import { NString, List, StringBuilder, RefParam } from '@magic-xpa/mscorelib';
|
|
14
|
-
import
|
|
18
|
+
import * as i1$1 from '@angular/platform-browser';
|
|
15
19
|
import { fromEvent } from 'rxjs/internal/observable/fromEvent';
|
|
16
|
-
import
|
|
20
|
+
import * as i5 from '@angular/common/http';
|
|
21
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
17
22
|
import { NativeDateAdapter, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
|
|
18
|
-
import
|
|
23
|
+
import * as i1$2 from '@angular/cdk/platform';
|
|
19
24
|
|
|
20
25
|
class ControlMetadata {
|
|
21
26
|
constructor() {
|
|
@@ -268,8 +273,8 @@ class EngineMagicService {
|
|
|
268
273
|
}
|
|
269
274
|
}
|
|
270
275
|
EngineMagicService.ɵfac = function EngineMagicService_Factory(t) { return new (t || EngineMagicService)(); };
|
|
271
|
-
EngineMagicService.ɵprov =
|
|
272
|
-
(function () {
|
|
276
|
+
EngineMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: EngineMagicService, factory: EngineMagicService.ɵfac });
|
|
277
|
+
(function () { i0.ɵsetClassMetadata(EngineMagicService, [{
|
|
273
278
|
type: Injectable
|
|
274
279
|
}], null, null); })();
|
|
275
280
|
|
|
@@ -366,9 +371,9 @@ class CommandsCollectorMagicService {
|
|
|
366
371
|
return commands;
|
|
367
372
|
}
|
|
368
373
|
}
|
|
369
|
-
CommandsCollectorMagicService.ɵfac = function CommandsCollectorMagicService_Factory(t) { return new (t || CommandsCollectorMagicService)(
|
|
370
|
-
CommandsCollectorMagicService.ɵprov =
|
|
371
|
-
(function () {
|
|
374
|
+
CommandsCollectorMagicService.ɵfac = function CommandsCollectorMagicService_Factory(t) { return new (t || CommandsCollectorMagicService)(i0.ɵɵinject(EngineMagicService)); };
|
|
375
|
+
CommandsCollectorMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: CommandsCollectorMagicService, factory: CommandsCollectorMagicService.ɵfac });
|
|
376
|
+
(function () { i0.ɵsetClassMetadata(CommandsCollectorMagicService, [{
|
|
372
377
|
type: Injectable
|
|
373
378
|
}], function () { return [{ type: EngineMagicService }]; }, null); })();
|
|
374
379
|
|
|
@@ -389,8 +394,8 @@ class RouterCommandsMagicService {
|
|
|
389
394
|
}
|
|
390
395
|
}
|
|
391
396
|
RouterCommandsMagicService.ɵfac = function RouterCommandsMagicService_Factory(t) { return new (t || RouterCommandsMagicService)(); };
|
|
392
|
-
RouterCommandsMagicService.ɵprov =
|
|
393
|
-
(function () {
|
|
397
|
+
RouterCommandsMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: RouterCommandsMagicService, factory: RouterCommandsMagicService.ɵfac });
|
|
398
|
+
(function () { i0.ɵsetClassMetadata(RouterCommandsMagicService, [{
|
|
394
399
|
type: Injectable
|
|
395
400
|
}], null, null); })();
|
|
396
401
|
|
|
@@ -556,11 +561,11 @@ class SubformMagicService {
|
|
|
556
561
|
}
|
|
557
562
|
SubformMagicService.currentCallerMgSubformServiceRef = null;
|
|
558
563
|
SubformMagicService.routerContainers = new Array();
|
|
559
|
-
SubformMagicService.ɵfac = function SubformMagicService_Factory(t) { return new (t || SubformMagicService)(
|
|
560
|
-
SubformMagicService.ɵprov =
|
|
561
|
-
(function () {
|
|
564
|
+
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(i0.NgModuleFactoryLoader), i0.ɵɵinject(i0.Injector)); };
|
|
565
|
+
SubformMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: SubformMagicService, factory: SubformMagicService.ɵfac });
|
|
566
|
+
(function () { i0.ɵsetClassMetadata(SubformMagicService, [{
|
|
562
567
|
type: Injectable
|
|
563
|
-
}], function () { return [{ type: TaskMagicService }, { type: ActivatedRoute }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: Router }, { type: RouterCommandsMagicService }, { type: ComponentListMagicService }, { type: NgModuleFactoryLoader }, { type: Injector }]; }, null); })();
|
|
568
|
+
}], function () { return [{ type: TaskMagicService }, { type: i2.ActivatedRoute }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: i2.Router }, { type: RouterCommandsMagicService }, { type: ComponentListMagicService }, { type: i0.NgModuleFactoryLoader }, { type: i0.Injector }]; }, null); })();
|
|
564
569
|
|
|
565
570
|
class RouterContainerMagicComponent {
|
|
566
571
|
constructor(activatedRoute, router, magic, containerTaskService, componentFactoryResolver, viewContainerRef, componentList, pendingCommandsCollector, routerCommandsMagicService) {
|
|
@@ -642,16 +647,16 @@ class RouterContainerMagicComponent {
|
|
|
642
647
|
}
|
|
643
648
|
}
|
|
644
649
|
RouterContainerMagicComponent.lastRoute = "/";
|
|
645
|
-
RouterContainerMagicComponent.ɵfac = function RouterContainerMagicComponent_Factory(t) { return new (t || RouterContainerMagicComponent)(
|
|
646
|
-
RouterContainerMagicComponent.ɵcmp =
|
|
647
|
-
(function () {
|
|
650
|
+
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)); };
|
|
651
|
+
RouterContainerMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RouterContainerMagicComponent, selectors: [["magic-route-outlet"]], decls: 0, vars: 0, template: function RouterContainerMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
652
|
+
(function () { i0.ɵsetClassMetadata(RouterContainerMagicComponent, [{
|
|
648
653
|
type: Component,
|
|
649
654
|
args: [{
|
|
650
655
|
selector: 'magic-route-outlet',
|
|
651
656
|
template: `
|
|
652
657
|
`
|
|
653
658
|
}]
|
|
654
|
-
}], function () { return [{ type: ActivatedRoute }, { type: Router }, { type: EngineMagicService }, { type: TaskMagicService }, { type: ComponentFactoryResolver }, { type: ViewContainerRef }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: RouterCommandsMagicService }]; }, null); })();
|
|
659
|
+
}], function () { return [{ type: i2.ActivatedRoute }, { type: i2.Router }, { type: EngineMagicService }, { type: TaskMagicService }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: RouterCommandsMagicService }]; }, null); })();
|
|
655
660
|
|
|
656
661
|
class GuiInteractiveExecutor {
|
|
657
662
|
Run() {
|
|
@@ -775,37 +780,37 @@ class MagicViewContainerRef {
|
|
|
775
780
|
comp.setViewContainerRef(vcRef);
|
|
776
781
|
}
|
|
777
782
|
}
|
|
778
|
-
MagicViewContainerRef.ɵfac = function MagicViewContainerRef_Factory(t) { return new (t || MagicViewContainerRef)(
|
|
779
|
-
MagicViewContainerRef.ɵdir =
|
|
780
|
-
(function () {
|
|
783
|
+
MagicViewContainerRef.ɵfac = function MagicViewContainerRef_Factory(t) { return new (t || MagicViewContainerRef)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
|
|
784
|
+
MagicViewContainerRef.ɵdir = i0.ɵɵdefineDirective({ type: MagicViewContainerRef, selectors: [["", "magicViewContainerRef", ""]] });
|
|
785
|
+
(function () { i0.ɵsetClassMetadata(MagicViewContainerRef, [{
|
|
781
786
|
type: Directive,
|
|
782
787
|
args: [{
|
|
783
788
|
selector: '[magicViewContainerRef]',
|
|
784
789
|
}]
|
|
785
|
-
}], function () { return [{ type: ViewContainerRef }, { type: ComponentFactoryResolver }]; }, null); })();
|
|
790
|
+
}], function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, null); })();
|
|
786
791
|
|
|
787
|
-
const _c0 = ["modalheader"];
|
|
788
|
-
const _c1 = ["modalForeground"];
|
|
792
|
+
const _c0$3 = ["modalheader"];
|
|
793
|
+
const _c1$1 = ["modalForeground"];
|
|
789
794
|
function MagicOverlayContainer_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
790
|
-
const _r5 =
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
796
|
+
i0.ɵɵelementStart(0, "button", 8);
|
|
797
|
+
i0.ɵɵlistener("click", function MagicOverlayContainer_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.OnClose(); });
|
|
798
|
+
i0.ɵɵtext(1, "X");
|
|
799
|
+
i0.ɵɵelementEnd();
|
|
795
800
|
} }
|
|
796
801
|
function MagicOverlayContainer_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
797
|
-
const _r8 =
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
802
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
803
|
+
i0.ɵɵelementStart(0, "div", 9, 10);
|
|
804
|
+
i0.ɵɵtext(2);
|
|
805
|
+
i0.ɵɵelementStart(3, "button", 11);
|
|
806
|
+
i0.ɵɵlistener("click", function MagicOverlayContainer_div_5_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.OnClose(); });
|
|
807
|
+
i0.ɵɵtext(4, "X");
|
|
808
|
+
i0.ɵɵelementEnd();
|
|
809
|
+
i0.ɵɵelementEnd();
|
|
805
810
|
} if (rf & 2) {
|
|
806
|
-
const ctx_r2 =
|
|
807
|
-
|
|
808
|
-
|
|
811
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
812
|
+
i0.ɵɵadvance(2);
|
|
813
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.getText(), " ");
|
|
809
814
|
} }
|
|
810
815
|
class MagicOverlayContainer extends BaseMagicOverlayContainer {
|
|
811
816
|
constructor(injector, componentFactoryResolver) {
|
|
@@ -879,38 +884,38 @@ class MagicOverlayContainer extends BaseMagicOverlayContainer {
|
|
|
879
884
|
this.OnClose();
|
|
880
885
|
}
|
|
881
886
|
}
|
|
882
|
-
MagicOverlayContainer.ɵfac = function MagicOverlayContainer_Factory(t) { return new (t || MagicOverlayContainer)(
|
|
883
|
-
MagicOverlayContainer.ɵcmp =
|
|
884
|
-
|
|
885
|
-
|
|
887
|
+
MagicOverlayContainer.ɵfac = function MagicOverlayContainer_Factory(t) { return new (t || MagicOverlayContainer)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
|
|
888
|
+
MagicOverlayContainer.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContainer, selectors: [["app-magic-overlay-container"]], viewQuery: function MagicOverlayContainer_Query(rf, ctx) { if (rf & 1) {
|
|
889
|
+
i0.ɵɵviewQuery(_c0$3, true);
|
|
890
|
+
i0.ɵɵviewQuery(_c1$1, true);
|
|
886
891
|
} if (rf & 2) {
|
|
887
892
|
var _t;
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
} }, inputs: { ModalComp: "ModalComp", ModalCompParameters: "ModalCompParameters" }, outputs: { onClose: "onClose" }, features: [
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
893
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerElementRef = _t.first);
|
|
894
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.foregroundElementRef = _t.first);
|
|
895
|
+
} }, 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) {
|
|
896
|
+
i0.ɵɵelementStart(0, "div");
|
|
897
|
+
i0.ɵɵelementStart(1, "div", 0);
|
|
898
|
+
i0.ɵɵlistener("click", function MagicOverlayContainer_Template_div_click_1_listener() { return ctx.OnBackgroundClick(); });
|
|
899
|
+
i0.ɵɵtemplate(2, MagicOverlayContainer_button_2_Template, 2, 0, "button", 1);
|
|
900
|
+
i0.ɵɵelementEnd();
|
|
901
|
+
i0.ɵɵelementStart(3, "div", 2, 3);
|
|
902
|
+
i0.ɵɵtemplate(5, MagicOverlayContainer_div_5_Template, 5, 1, "div", 4);
|
|
903
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
904
|
+
i0.ɵɵelement(7, "div", 6, 7);
|
|
905
|
+
i0.ɵɵelementEnd();
|
|
906
|
+
i0.ɵɵelementEnd();
|
|
907
|
+
i0.ɵɵelementEnd();
|
|
903
908
|
} if (rf & 2) {
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
} }, directives: [NgIf, NgStyle, MagicViewContainerRef], styles: [".modal-foreground[_ngcontent-%COMP%]{background-color:#fff}.modal-background[_ngcontent-%COMP%], .modal-foreground[_ngcontent-%COMP%]{bottom:0;left:0;position:fixed;right:0;top:0}.modal-background[_ngcontent-%COMP%]{background-color:#000;opacity:.75}.modal-header[_ngcontent-%COMP%]{background-color:beige;border-bottom:2px solid red}"] });
|
|
913
|
-
(function () {
|
|
909
|
+
i0.ɵɵadvance(2);
|
|
910
|
+
i0.ɵɵproperty("ngIf", !ctx.getShowTitleBar());
|
|
911
|
+
i0.ɵɵadvance(1);
|
|
912
|
+
i0.ɵɵproperty("ngStyle", ctx.getStyle());
|
|
913
|
+
i0.ɵɵadvance(2);
|
|
914
|
+
i0.ɵɵproperty("ngIf", ctx.getShowTitleBar());
|
|
915
|
+
i0.ɵɵadvance(1);
|
|
916
|
+
i0.ɵɵproperty("ngStyle", ctx.getClientAreaStyles());
|
|
917
|
+
} }, directives: [i1.NgIf, i1.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}"] });
|
|
918
|
+
(function () { i0.ɵsetClassMetadata(MagicOverlayContainer, [{
|
|
914
919
|
type: Component,
|
|
915
920
|
args: [{
|
|
916
921
|
selector: 'app-magic-overlay-container',
|
|
@@ -933,7 +938,7 @@ MagicOverlayContainer.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayContainer,
|
|
|
933
938
|
`,
|
|
934
939
|
styleUrls: ['./magic-overlay-container.css']
|
|
935
940
|
}]
|
|
936
|
-
}], function () { return [{ type: Injector }, { type: ComponentFactoryResolver }]; }, { headerElementRef: [{
|
|
941
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, { headerElementRef: [{
|
|
937
942
|
type: ViewChild,
|
|
938
943
|
args: ['modalheader', { static: false }]
|
|
939
944
|
}], foregroundElementRef: [{
|
|
@@ -953,8 +958,8 @@ class OverlayContainerMagicProvider {
|
|
|
953
958
|
}
|
|
954
959
|
}
|
|
955
960
|
OverlayContainerMagicProvider.ɵfac = function OverlayContainerMagicProvider_Factory(t) { return new (t || OverlayContainerMagicProvider)(); };
|
|
956
|
-
OverlayContainerMagicProvider.ɵprov =
|
|
957
|
-
(function () {
|
|
961
|
+
OverlayContainerMagicProvider.ɵprov = i0.ɵɵdefineInjectable({ token: OverlayContainerMagicProvider, factory: OverlayContainerMagicProvider.ɵfac });
|
|
962
|
+
(function () { i0.ɵsetClassMetadata(OverlayContainerMagicProvider, [{
|
|
958
963
|
type: Injectable
|
|
959
964
|
}], null, null); })();
|
|
960
965
|
|
|
@@ -967,8 +972,8 @@ class BaseMagicConfirmComponent {
|
|
|
967
972
|
}
|
|
968
973
|
}
|
|
969
974
|
BaseMagicConfirmComponent.ɵfac = function BaseMagicConfirmComponent_Factory(t) { return new (t || BaseMagicConfirmComponent)(); };
|
|
970
|
-
BaseMagicConfirmComponent.ɵcmp =
|
|
971
|
-
(function () {
|
|
975
|
+
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: [""] });
|
|
976
|
+
(function () { i0.ɵsetClassMetadata(BaseMagicConfirmComponent, [{
|
|
972
977
|
type: Component,
|
|
973
978
|
args: [{
|
|
974
979
|
selector: 'mg-base-alert',
|
|
@@ -992,8 +997,8 @@ class BaseMagicAlertComponent {
|
|
|
992
997
|
}
|
|
993
998
|
}
|
|
994
999
|
BaseMagicAlertComponent.ɵfac = function BaseMagicAlertComponent_Factory(t) { return new (t || BaseMagicAlertComponent)(); };
|
|
995
|
-
BaseMagicAlertComponent.ɵcmp =
|
|
996
|
-
(function () {
|
|
1000
|
+
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: [""] });
|
|
1001
|
+
(function () { i0.ɵsetClassMetadata(BaseMagicAlertComponent, [{
|
|
997
1002
|
type: Component,
|
|
998
1003
|
args: [{
|
|
999
1004
|
selector: 'mg-base-alert',
|
|
@@ -1016,16 +1021,16 @@ class MagicFocusDirective {
|
|
|
1016
1021
|
this.hostElement.nativeElement.focus();
|
|
1017
1022
|
}
|
|
1018
1023
|
}
|
|
1019
|
-
MagicFocusDirective.ɵfac = function MagicFocusDirective_Factory(t) { return new (t || MagicFocusDirective)(
|
|
1020
|
-
MagicFocusDirective.ɵdir =
|
|
1021
|
-
(function () {
|
|
1024
|
+
MagicFocusDirective.ɵfac = function MagicFocusDirective_Factory(t) { return new (t || MagicFocusDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
1025
|
+
MagicFocusDirective.ɵdir = i0.ɵɵdefineDirective({ type: MagicFocusDirective, selectors: [["", "magicFocus", ""]] });
|
|
1026
|
+
(function () { i0.ɵsetClassMetadata(MagicFocusDirective, [{
|
|
1022
1027
|
type: Directive,
|
|
1023
1028
|
args: [{
|
|
1024
1029
|
selector: '[magicFocus]'
|
|
1025
1030
|
}]
|
|
1026
|
-
}], function () { return [{ type: ElementRef }]; }, null); })();
|
|
1031
|
+
}], function () { return [{ type: i0.ElementRef }]; }, null); })();
|
|
1027
1032
|
|
|
1028
|
-
const _c0$
|
|
1033
|
+
const _c0$2 = ["overlayContainerWrapper"];
|
|
1029
1034
|
class MagicOverlayContainerWrapper {
|
|
1030
1035
|
constructor(componentListMagicService, loader, injector, componentFactoryResolver, changeDetectorRef) {
|
|
1031
1036
|
this.componentListMagicService = componentListMagicService;
|
|
@@ -1091,22 +1096,22 @@ MagicOverlayContainerWrapper.allowedBaseComps = new Map([
|
|
|
1091
1096
|
[OverlayType.Alert, { comp: BaseMagicAlertComponent, error: 'BaseMagicAlertComponent. Alert ' }],
|
|
1092
1097
|
[OverlayType.ConfirmationBox, { comp: BaseMagicConfirmComponent, error: 'BaseMagicConfirmComponent. Confirmation ' }]
|
|
1093
1098
|
]);
|
|
1094
|
-
MagicOverlayContainerWrapper.ɵfac = function MagicOverlayContainerWrapper_Factory(t) { return new (t || MagicOverlayContainerWrapper)(
|
|
1095
|
-
MagicOverlayContainerWrapper.ɵcmp =
|
|
1096
|
-
|
|
1099
|
+
MagicOverlayContainerWrapper.ɵfac = function MagicOverlayContainerWrapper_Factory(t) { return new (t || MagicOverlayContainerWrapper)(i0.ɵɵdirectiveInject(ComponentListMagicService), i0.ɵɵdirectiveInject(i0.NgModuleFactoryLoader), i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
1100
|
+
MagicOverlayContainerWrapper.ɵcmp = i0.ɵɵdefineComponent({ type: MagicOverlayContainerWrapper, selectors: [["app-magic-overlay-container-wrapper"]], viewQuery: function MagicOverlayContainerWrapper_Query(rf, ctx) { if (rf & 1) {
|
|
1101
|
+
i0.ɵɵstaticViewQuery(_c0$2, true);
|
|
1097
1102
|
} if (rf & 2) {
|
|
1098
1103
|
var _t;
|
|
1099
|
-
|
|
1104
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayContainerWrapperElementRef = _t.first);
|
|
1100
1105
|
} }, inputs: { Component: "Component", Parameters: "Parameters", OverlayTypeParam: "OverlayTypeParam" }, outputs: { onClose: "onClose" }, decls: 7, vars: 0, consts: [["tabIndex", "0", "magicFocus", "", 1, "overlay-container-wrapper-background", 2, "width", "0px", "height", "0px"], [1, "overlay-container-wrapper-background"], ["overlayContainerWrapper", ""], ["magicViewContainerRef", ""], ["overlayContent", ""], ["tabIndex", "0", 1, "overlay-container-wrapper-background", 2, "width", "0px", "height", "0px"]], template: function MagicOverlayContainerWrapper_Template(rf, ctx) { if (rf & 1) {
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1106
|
+
i0.ɵɵelementStart(0, "div");
|
|
1107
|
+
i0.ɵɵelement(1, "div", 0);
|
|
1108
|
+
i0.ɵɵelementStart(2, "div", 1, 2);
|
|
1109
|
+
i0.ɵɵelement(4, "div", 3, 4);
|
|
1110
|
+
i0.ɵɵelementEnd();
|
|
1111
|
+
i0.ɵɵelement(6, "div", 5);
|
|
1112
|
+
i0.ɵɵelementEnd();
|
|
1108
1113
|
} }, directives: [MagicFocusDirective, MagicViewContainerRef], styles: [".overlay-container-wrapper-background[_ngcontent-%COMP%] {\n \n position: fixed;\n top: 0;\n z-index: 999;\n right: 0;\n bottom: 0;\n left: 0;\n }"] });
|
|
1109
|
-
(function () {
|
|
1114
|
+
(function () { i0.ɵsetClassMetadata(MagicOverlayContainerWrapper, [{
|
|
1110
1115
|
type: Component,
|
|
1111
1116
|
args: [{
|
|
1112
1117
|
selector: 'app-magic-overlay-container-wrapper',
|
|
@@ -1132,7 +1137,7 @@ MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayCon
|
|
|
1132
1137
|
}
|
|
1133
1138
|
`]
|
|
1134
1139
|
}]
|
|
1135
|
-
}], function () { return [{ type: ComponentListMagicService }, { type: NgModuleFactoryLoader }, { type: Injector }, { type: ComponentFactoryResolver }, { type: ChangeDetectorRef }]; }, { Component: [{
|
|
1140
|
+
}], function () { return [{ type: ComponentListMagicService }, { type: i0.NgModuleFactoryLoader }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }]; }, { Component: [{
|
|
1136
1141
|
type: Input
|
|
1137
1142
|
}], Parameters: [{
|
|
1138
1143
|
type: Input
|
|
@@ -1148,29 +1153,29 @@ MagicOverlayContainerWrapper.ɵcmp = ɵɵdefineComponent({ type: MagicOverlayCon
|
|
|
1148
1153
|
class MagicAlertComponent extends BaseMagicAlertComponent {
|
|
1149
1154
|
}
|
|
1150
1155
|
MagicAlertComponent.ɵfac = function MagicAlertComponent_Factory(t) { return ɵMagicAlertComponent_BaseFactory(t || MagicAlertComponent); };
|
|
1151
|
-
MagicAlertComponent.ɵcmp =
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1156
|
+
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) {
|
|
1157
|
+
i0.ɵɵelementStart(0, "div");
|
|
1158
|
+
i0.ɵɵelementStart(1, "div", 0);
|
|
1159
|
+
i0.ɵɵelementStart(2, "h2");
|
|
1160
|
+
i0.ɵɵtext(3);
|
|
1161
|
+
i0.ɵɵelementEnd();
|
|
1162
|
+
i0.ɵɵelementStart(4, "p");
|
|
1163
|
+
i0.ɵɵtext(5);
|
|
1164
|
+
i0.ɵɵelementEnd();
|
|
1165
|
+
i0.ɵɵelementStart(6, "button", 1);
|
|
1166
|
+
i0.ɵɵlistener("click", function MagicAlertComponent_Template_button_click_6_listener() { return ctx.OnClose(); });
|
|
1167
|
+
i0.ɵɵtext(7, "OK");
|
|
1168
|
+
i0.ɵɵelementEnd();
|
|
1169
|
+
i0.ɵɵelementEnd();
|
|
1170
|
+
i0.ɵɵelementEnd();
|
|
1166
1171
|
} if (rf & 2) {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1172
|
+
i0.ɵɵadvance(3);
|
|
1173
|
+
i0.ɵɵtextInterpolate1(" ", ctx.title, "");
|
|
1174
|
+
i0.ɵɵadvance(2);
|
|
1175
|
+
i0.ɵɵtextInterpolate1("", ctx.message, " ");
|
|
1171
1176
|
} }, styles: [".mg-message-background[_ngcontent-%COMP%] {\n background-color: #F5F5F5;\n text-align: center;\n width: 40%;\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n padding: 17px;\n border-radius: 5px;\n text-align: center;\n margin-top: 10% ;\n margin-left: auto;\n margin-right: auto;\n border: 1px solid gray;\n }\n\n button[_ngcontent-%COMP%] {\n background-color: #8CD4F5;\n color: white;\n border: none;\n box-shadow: none;\n font-size: 17px;\n font-weight: 500;\n -webkit-border-radius: 4px;\n border-radius: 5px;\n padding: 10px 32px;\n margin: 26px 5px 0 5px;\n cursor: pointer;\n }"] });
|
|
1172
|
-
const ɵMagicAlertComponent_BaseFactory =
|
|
1173
|
-
(function () {
|
|
1177
|
+
const ɵMagicAlertComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MagicAlertComponent);
|
|
1178
|
+
(function () { i0.ɵsetClassMetadata(MagicAlertComponent, [{
|
|
1174
1179
|
type: Component,
|
|
1175
1180
|
args: [{
|
|
1176
1181
|
selector: 'sample-magic-alert-component',
|
|
@@ -1217,33 +1222,33 @@ const ɵMagicAlertComponent_BaseFactory = ɵɵgetInheritedFactory(MagicAlertComp
|
|
|
1217
1222
|
class MagicConfirmationBoxComponent extends BaseMagicConfirmComponent {
|
|
1218
1223
|
}
|
|
1219
1224
|
MagicConfirmationBoxComponent.ɵfac = function MagicConfirmationBoxComponent_Factory(t) { return ɵMagicConfirmationBoxComponent_BaseFactory(t || MagicConfirmationBoxComponent); };
|
|
1220
|
-
MagicConfirmationBoxComponent.ɵcmp =
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1225
|
+
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) {
|
|
1226
|
+
i0.ɵɵelementStart(0, "div");
|
|
1227
|
+
i0.ɵɵelementStart(1, "div", 0);
|
|
1228
|
+
i0.ɵɵelementStart(2, "h2");
|
|
1229
|
+
i0.ɵɵtext(3);
|
|
1230
|
+
i0.ɵɵelementEnd();
|
|
1231
|
+
i0.ɵɵtext(4);
|
|
1232
|
+
i0.ɵɵelement(5, "br");
|
|
1233
|
+
i0.ɵɵelement(6, "br");
|
|
1234
|
+
i0.ɵɵelementStart(7, "button", 1);
|
|
1235
|
+
i0.ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_7_listener() { return ctx.OnClose(true); });
|
|
1236
|
+
i0.ɵɵtext(8, "OK");
|
|
1237
|
+
i0.ɵɵelementEnd();
|
|
1238
|
+
i0.ɵɵelementStart(9, "button", 2);
|
|
1239
|
+
i0.ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_9_listener() { return ctx.OnClose(false); });
|
|
1240
|
+
i0.ɵɵtext(10, "Cancel");
|
|
1241
|
+
i0.ɵɵelementEnd();
|
|
1242
|
+
i0.ɵɵelementEnd();
|
|
1243
|
+
i0.ɵɵelementEnd();
|
|
1239
1244
|
} if (rf & 2) {
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1245
|
+
i0.ɵɵadvance(3);
|
|
1246
|
+
i0.ɵɵtextInterpolate1(" ", ctx.title, "");
|
|
1247
|
+
i0.ɵɵadvance(1);
|
|
1248
|
+
i0.ɵɵtextInterpolate1(" ", ctx.message, " ");
|
|
1244
1249
|
} }, styles: [".mg-message-background[_ngcontent-%COMP%] {\n background-color: #F5F5F5;\n text-align: center;\n width: 40%;\n font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n padding: 17px;\n border-radius: 5px;\n text-align: center;\n margin-top: 10% ;\n margin-left: auto;\n margin-right: auto;\n border: 1px solid gray;\n }\n\n button[_ngcontent-%COMP%] {\n background-color: #8CD4F5;\n color: white;\n border: none;\n box-shadow: none;\n font-size: 17px;\n font-weight: 500;\n -webkit-border-radius: 4px;\n border-radius: 5px;\n padding: 10px 32px;\n margin: 26px 5px 0 5px;\n cursor: pointer;\n }\n \n button.cancel[_ngcontent-%COMP%] {\n background-color: #C1C1C1;\n }"] });
|
|
1245
|
-
const ɵMagicConfirmationBoxComponent_BaseFactory =
|
|
1246
|
-
(function () {
|
|
1250
|
+
const ɵMagicConfirmationBoxComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MagicConfirmationBoxComponent);
|
|
1251
|
+
(function () { i0.ɵsetClassMetadata(MagicConfirmationBoxComponent, [{
|
|
1247
1252
|
type: Component,
|
|
1248
1253
|
args: [{
|
|
1249
1254
|
selector: 'sample-magic-confirmation-box',
|
|
@@ -1306,8 +1311,8 @@ class ConfirmationComponentsMagicProvider {
|
|
|
1306
1311
|
}
|
|
1307
1312
|
}
|
|
1308
1313
|
ConfirmationComponentsMagicProvider.ɵfac = function ConfirmationComponentsMagicProvider_Factory(t) { return new (t || ConfirmationComponentsMagicProvider)(); };
|
|
1309
|
-
ConfirmationComponentsMagicProvider.ɵprov =
|
|
1310
|
-
(function () {
|
|
1314
|
+
ConfirmationComponentsMagicProvider.ɵprov = i0.ɵɵdefineInjectable({ token: ConfirmationComponentsMagicProvider, factory: ConfirmationComponentsMagicProvider.ɵfac });
|
|
1315
|
+
(function () { i0.ɵsetClassMetadata(ConfirmationComponentsMagicProvider, [{
|
|
1311
1316
|
type: Injectable
|
|
1312
1317
|
}], null, null); })();
|
|
1313
1318
|
|
|
@@ -1420,11 +1425,11 @@ class OverlayWindowService {
|
|
|
1420
1425
|
return componentRef;
|
|
1421
1426
|
}
|
|
1422
1427
|
}
|
|
1423
|
-
OverlayWindowService.ɵfac = function OverlayWindowService_Factory(t) { return new (t || OverlayWindowService)(
|
|
1424
|
-
OverlayWindowService.ɵprov =
|
|
1425
|
-
(function () {
|
|
1428
|
+
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)); };
|
|
1429
|
+
OverlayWindowService.ɵprov = i0.ɵɵdefineInjectable({ token: OverlayWindowService, factory: OverlayWindowService.ɵfac });
|
|
1430
|
+
(function () { i0.ɵsetClassMetadata(OverlayWindowService, [{
|
|
1426
1431
|
type: Injectable
|
|
1427
|
-
}], function () { return [{ type: ComponentFactoryResolver }, { type: ComponentListMagicService }, { type: EngineMagicService }, { type: OverlayContainerMagicProvider }, { type: ConfirmationComponentsMagicProvider }]; }, null); })();
|
|
1432
|
+
}], function () { return [{ type: i0.ComponentFactoryResolver }, { type: ComponentListMagicService }, { type: EngineMagicService }, { type: OverlayContainerMagicProvider }, { type: ConfirmationComponentsMagicProvider }]; }, null); })();
|
|
1428
1433
|
class OverlayWindowFocusManager {
|
|
1429
1434
|
constructor(rootMagicElement) {
|
|
1430
1435
|
this.rootMagicElement = null;
|
|
@@ -2131,9 +2136,9 @@ class TaskMagicService {
|
|
|
2131
2136
|
}
|
|
2132
2137
|
}
|
|
2133
2138
|
}
|
|
2134
|
-
TaskMagicService.ɵfac = function TaskMagicService_Factory(t) { return new (t || TaskMagicService)(
|
|
2135
|
-
TaskMagicService.ɵprov =
|
|
2136
|
-
(function () {
|
|
2139
|
+
TaskMagicService.ɵfac = function TaskMagicService_Factory(t) { return new (t || TaskMagicService)(i0.ɵɵinject(EngineMagicService), i0.ɵɵinject(OverlayWindowService)); };
|
|
2140
|
+
TaskMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: TaskMagicService, factory: TaskMagicService.ɵfac });
|
|
2141
|
+
(function () { i0.ɵsetClassMetadata(TaskMagicService, [{
|
|
2137
2142
|
type: Injectable
|
|
2138
2143
|
}], function () { return [{ type: EngineMagicService }, { type: OverlayWindowService }]; }, null); })();
|
|
2139
2144
|
|
|
@@ -2199,9 +2204,9 @@ class TableMagicService {
|
|
|
2199
2204
|
return topIndex;
|
|
2200
2205
|
}
|
|
2201
2206
|
}
|
|
2202
|
-
TableMagicService.ɵfac = function TableMagicService_Factory(t) { return new (t || TableMagicService)(
|
|
2203
|
-
TableMagicService.ɵprov =
|
|
2204
|
-
(function () {
|
|
2207
|
+
TableMagicService.ɵfac = function TableMagicService_Factory(t) { return new (t || TableMagicService)(i0.ɵɵinject(ComponentListMagicService), i0.ɵɵinject(TaskMagicService)); };
|
|
2208
|
+
TableMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: TableMagicService, factory: TableMagicService.ɵfac });
|
|
2209
|
+
(function () { i0.ɵsetClassMetadata(TableMagicService, [{
|
|
2205
2210
|
type: Injectable
|
|
2206
2211
|
}], function () { return [{ type: ComponentListMagicService }, { type: TaskMagicService }]; }, null); })();
|
|
2207
2212
|
|
|
@@ -2213,11 +2218,11 @@ class TitleMagicService {
|
|
|
2213
2218
|
this.titleService.setTitle(newTitle);
|
|
2214
2219
|
}
|
|
2215
2220
|
}
|
|
2216
|
-
TitleMagicService.ɵfac = function TitleMagicService_Factory(t) { return new (t || TitleMagicService)(
|
|
2217
|
-
TitleMagicService.ɵprov =
|
|
2218
|
-
(function () {
|
|
2221
|
+
TitleMagicService.ɵfac = function TitleMagicService_Factory(t) { return new (t || TitleMagicService)(i0.ɵɵinject(i1$1.Title)); };
|
|
2222
|
+
TitleMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: TitleMagicService, factory: TitleMagicService.ɵfac });
|
|
2223
|
+
(function () { i0.ɵsetClassMetadata(TitleMagicService, [{
|
|
2219
2224
|
type: Injectable
|
|
2220
|
-
}], function () { return [{ type: Title }]; }, null); })();
|
|
2225
|
+
}], function () { return [{ type: i1$1.Title }]; }, null); })();
|
|
2221
2226
|
|
|
2222
2227
|
class AccessorMagicService {
|
|
2223
2228
|
constructor(task) {
|
|
@@ -2507,9 +2512,9 @@ class AccessorMagicService {
|
|
|
2507
2512
|
return CookieService.deleteCookie(name);
|
|
2508
2513
|
}
|
|
2509
2514
|
}
|
|
2510
|
-
AccessorMagicService.ɵfac = function AccessorMagicService_Factory(t) { return new (t || AccessorMagicService)(
|
|
2511
|
-
AccessorMagicService.ɵprov =
|
|
2512
|
-
(function () {
|
|
2515
|
+
AccessorMagicService.ɵfac = function AccessorMagicService_Factory(t) { return new (t || AccessorMagicService)(i0.ɵɵinject(TaskMagicService)); };
|
|
2516
|
+
AccessorMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: AccessorMagicService, factory: AccessorMagicService.ɵfac });
|
|
2517
|
+
(function () { i0.ɵsetClassMetadata(AccessorMagicService, [{
|
|
2513
2518
|
type: Injectable
|
|
2514
2519
|
}], function () { return [{ type: TaskMagicService }]; }, null); })();
|
|
2515
2520
|
|
|
@@ -2526,9 +2531,9 @@ class MagicServices {
|
|
|
2526
2531
|
task.mgAccessorService = mgAccessorService;
|
|
2527
2532
|
}
|
|
2528
2533
|
}
|
|
2529
|
-
MagicServices.ɵfac = function MagicServices_Factory(t) { return new (t || MagicServices)(
|
|
2530
|
-
MagicServices.ɵprov =
|
|
2531
|
-
(function () {
|
|
2534
|
+
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)); };
|
|
2535
|
+
MagicServices.ɵprov = i0.ɵɵdefineInjectable({ token: MagicServices, factory: MagicServices.ɵfac });
|
|
2536
|
+
(function () { i0.ɵsetClassMetadata(MagicServices, [{
|
|
2532
2537
|
type: Injectable
|
|
2533
2538
|
}], function () { return [{ type: TaskMagicService }, { type: SubformMagicService }, { type: TableMagicService }, { type: TitleMagicService }, { type: AccessorMagicService }]; }, null); })();
|
|
2534
2539
|
|
|
@@ -2589,16 +2594,16 @@ class TaskBaseMagicComponent {
|
|
|
2589
2594
|
this.task.dispose();
|
|
2590
2595
|
}
|
|
2591
2596
|
}
|
|
2592
|
-
TaskBaseMagicComponent.ɵfac = function TaskBaseMagicComponent_Factory(t) { return new (t || TaskBaseMagicComponent)(
|
|
2593
|
-
TaskBaseMagicComponent.ɵcmp =
|
|
2594
|
-
(function () {
|
|
2597
|
+
TaskBaseMagicComponent.ɵfac = function TaskBaseMagicComponent_Factory(t) { return new (t || TaskBaseMagicComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(MagicServices)); };
|
|
2598
|
+
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 });
|
|
2599
|
+
(function () { i0.ɵsetClassMetadata(TaskBaseMagicComponent, [{
|
|
2595
2600
|
type: Component,
|
|
2596
2601
|
args: [{
|
|
2597
2602
|
selector: 'task-magic',
|
|
2598
2603
|
providers: [TaskMagicService, SubformMagicService, TableMagicService],
|
|
2599
2604
|
template: ''
|
|
2600
2605
|
}]
|
|
2601
|
-
}], function () { return [{ type: ChangeDetectorRef }, { type: MagicServices }]; }, { taskIdParam: [{
|
|
2606
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: MagicServices }]; }, { taskIdParam: [{
|
|
2602
2607
|
type: Input
|
|
2603
2608
|
}], taskDescription: [{
|
|
2604
2609
|
type: Input
|
|
@@ -2638,16 +2643,16 @@ class RowMagicDirective {
|
|
|
2638
2643
|
}
|
|
2639
2644
|
}
|
|
2640
2645
|
}
|
|
2641
|
-
RowMagicDirective.ɵfac = function RowMagicDirective_Factory(t) { return new (t || RowMagicDirective)(
|
|
2642
|
-
RowMagicDirective.ɵdir =
|
|
2643
|
-
|
|
2646
|
+
RowMagicDirective.ɵfac = function RowMagicDirective_Factory(t) { return new (t || RowMagicDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
2647
|
+
RowMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: RowMagicDirective, selectors: [["", "magicRow", ""]], hostBindings: function RowMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
2648
|
+
i0.ɵɵlistener("click", function RowMagicDirective_click_HostBindingHandler($event) { return ctx.onClick($event); });
|
|
2644
2649
|
} }, inputs: { rowId: ["magicRow", "rowId"] } });
|
|
2645
|
-
(function () {
|
|
2650
|
+
(function () { i0.ɵsetClassMetadata(RowMagicDirective, [{
|
|
2646
2651
|
type: Directive,
|
|
2647
2652
|
args: [{
|
|
2648
2653
|
selector: '[magicRow]'
|
|
2649
2654
|
}]
|
|
2650
|
-
}], function () { return [{ type: TaskMagicService }, { type: ElementRef }]; }, { rowId: [{
|
|
2655
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }]; }, { rowId: [{
|
|
2651
2656
|
type: Input,
|
|
2652
2657
|
args: ['magicRow']
|
|
2653
2658
|
}], onClick: [{
|
|
@@ -2830,14 +2835,14 @@ class MagicDirective {
|
|
|
2830
2835
|
}
|
|
2831
2836
|
MagicDirective.opened = false;
|
|
2832
2837
|
MagicDirective.noOfAutoCompleteBoxesOpened = 0;
|
|
2833
|
-
MagicDirective.ɵfac = function MagicDirective_Factory(t) { return new (t || MagicDirective)(
|
|
2834
|
-
MagicDirective.ɵdir =
|
|
2835
|
-
(function () {
|
|
2838
|
+
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)); };
|
|
2839
|
+
MagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", rowId: "rowId" } });
|
|
2840
|
+
(function () { i0.ɵsetClassMetadata(MagicDirective, [{
|
|
2836
2841
|
type: Directive,
|
|
2837
2842
|
args: [{
|
|
2838
2843
|
selector: '[magic]'
|
|
2839
2844
|
}]
|
|
2840
|
-
}], function () { return [{ type: TaskMagicService }, { type: ElementRef }, { type: Renderer2 }, { type: ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
|
2845
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
|
2841
2846
|
type: Optional
|
|
2842
2847
|
}] }]; }, { magic: [{
|
|
2843
2848
|
type: Input,
|
|
@@ -3016,14 +3021,14 @@ class NoControlMagicDirective extends MagicDirective {
|
|
|
3016
3021
|
}
|
|
3017
3022
|
}
|
|
3018
3023
|
}
|
|
3019
|
-
NoControlMagicDirective.ɵfac = function NoControlMagicDirective_Factory(t) { return new (t || NoControlMagicDirective)(
|
|
3020
|
-
NoControlMagicDirective.ɵdir =
|
|
3021
|
-
(function () {
|
|
3024
|
+
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)); };
|
|
3025
|
+
NoControlMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: NoControlMagicDirective, selectors: [["", "magicnc", ""]], inputs: { magic: ["magicnc", "magic"] }, features: [i0.ɵɵInheritDefinitionFeature] });
|
|
3026
|
+
(function () { i0.ɵsetClassMetadata(NoControlMagicDirective, [{
|
|
3022
3027
|
type: Directive,
|
|
3023
3028
|
args: [{
|
|
3024
3029
|
selector: '[magicnc]'
|
|
3025
3030
|
}]
|
|
3026
|
-
}], function () { return [{ type: TaskMagicService }, { type: ElementRef }, { type: Renderer2 }, { type: ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
|
3031
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
|
3027
3032
|
type: Optional
|
|
3028
3033
|
}] }]; }, { magic: [{
|
|
3029
3034
|
type: Input,
|
|
@@ -3057,9 +3062,9 @@ class DateMagicPipe extends DatePipe {
|
|
|
3057
3062
|
return value;
|
|
3058
3063
|
}
|
|
3059
3064
|
}
|
|
3060
|
-
DateMagicPipe.ɵfac = function DateMagicPipe_Factory(t) { return new (t || DateMagicPipe)(
|
|
3061
|
-
DateMagicPipe.ɵpipe =
|
|
3062
|
-
(function () {
|
|
3065
|
+
DateMagicPipe.ɵfac = function DateMagicPipe_Factory(t) { return new (t || DateMagicPipe)(i0.ɵɵdirectiveInject(TaskMagicService)); };
|
|
3066
|
+
DateMagicPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "magicDate", type: DateMagicPipe, pure: true });
|
|
3067
|
+
(function () { i0.ɵsetClassMetadata(DateMagicPipe, [{
|
|
3063
3068
|
type: Pipe,
|
|
3064
3069
|
args: [{
|
|
3065
3070
|
name: 'magicDate'
|
|
@@ -3327,11 +3332,11 @@ class MgformatMagicDirective {
|
|
|
3327
3332
|
return false;
|
|
3328
3333
|
}
|
|
3329
3334
|
}
|
|
3330
|
-
MgformatMagicDirective.ɵfac = function MgformatMagicDirective_Factory(t) { return new (t || MgformatMagicDirective)(
|
|
3331
|
-
MgformatMagicDirective.ɵdir =
|
|
3332
|
-
|
|
3335
|
+
MgformatMagicDirective.ɵfac = function MgformatMagicDirective_Factory(t) { return new (t || MgformatMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective), i0.ɵɵdirectiveInject(TaskMagicService)); };
|
|
3336
|
+
MgformatMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: MgformatMagicDirective, selectors: [["", "mgFormat", ""]], hostBindings: function MgformatMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3337
|
+
i0.ɵɵlistener("focus", function MgformatMagicDirective_focus_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("change", function MgformatMagicDirective_change_HostBindingHandler($event) { return ctx.onChangeEvent($event); });
|
|
3333
3338
|
} } });
|
|
3334
|
-
(function () {
|
|
3339
|
+
(function () { i0.ɵsetClassMetadata(MgformatMagicDirective, [{
|
|
3335
3340
|
type: Directive,
|
|
3336
3341
|
args: [{
|
|
3337
3342
|
selector: '[mgFormat]'
|
|
@@ -3379,9 +3384,9 @@ class TimeMagicPipe extends DatePipe {
|
|
|
3379
3384
|
return value;
|
|
3380
3385
|
}
|
|
3381
3386
|
}
|
|
3382
|
-
TimeMagicPipe.ɵfac = function TimeMagicPipe_Factory(t) { return new (t || TimeMagicPipe)(
|
|
3383
|
-
TimeMagicPipe.ɵpipe =
|
|
3384
|
-
(function () {
|
|
3387
|
+
TimeMagicPipe.ɵfac = function TimeMagicPipe_Factory(t) { return new (t || TimeMagicPipe)(i0.ɵɵdirectiveInject(TaskMagicService)); };
|
|
3388
|
+
TimeMagicPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "magicTime", type: TimeMagicPipe, pure: true });
|
|
3389
|
+
(function () { i0.ɵsetClassMetadata(TimeMagicPipe, [{
|
|
3385
3390
|
type: Pipe,
|
|
3386
3391
|
args: [{
|
|
3387
3392
|
name: 'magicTime'
|
|
@@ -3419,15 +3424,15 @@ class RangeValidatorMagicDirective {
|
|
|
3419
3424
|
return Object.keys(formGroup).find(name => c === formGroup[name]) || null;
|
|
3420
3425
|
}
|
|
3421
3426
|
}
|
|
3422
|
-
RangeValidatorMagicDirective.ɵfac = function RangeValidatorMagicDirective_Factory(t) { return new (t || RangeValidatorMagicDirective)(
|
|
3423
|
-
RangeValidatorMagicDirective.ɵdir =
|
|
3427
|
+
RangeValidatorMagicDirective.ɵfac = function RangeValidatorMagicDirective_Factory(t) { return new (t || RangeValidatorMagicDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
3428
|
+
RangeValidatorMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: RangeValidatorMagicDirective, selectors: [["", "rangevalidator", ""]], features: [i0.ɵɵProvidersFeature([
|
|
3424
3429
|
{
|
|
3425
3430
|
provide: NG_VALIDATORS,
|
|
3426
3431
|
useExisting: RangeValidatorMagicDirective,
|
|
3427
3432
|
multi: true,
|
|
3428
3433
|
}
|
|
3429
3434
|
])] });
|
|
3430
|
-
(function () {
|
|
3435
|
+
(function () { i0.ɵsetClassMetadata(RangeValidatorMagicDirective, [{
|
|
3431
3436
|
type: Directive,
|
|
3432
3437
|
args: [{
|
|
3433
3438
|
selector: '[rangevalidator] ',
|
|
@@ -3439,13 +3444,13 @@ RangeValidatorMagicDirective.ɵdir = ɵɵdefineDirective({ type: RangeValidatorM
|
|
|
3439
3444
|
}
|
|
3440
3445
|
]
|
|
3441
3446
|
}]
|
|
3442
|
-
}], function () { return [{ type: TaskMagicService }, { type: ViewContainerRef }]; }, null); })();
|
|
3447
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0.ViewContainerRef }]; }, null); })();
|
|
3443
3448
|
|
|
3444
3449
|
function SubformMagicComponent_ndc_dynamic_0_Template(rf, ctx) { if (rf & 1) {
|
|
3445
|
-
|
|
3450
|
+
i0.ɵɵelement(0, "ndc-dynamic", 1);
|
|
3446
3451
|
} if (rf & 2) {
|
|
3447
|
-
const ctx_r0 =
|
|
3448
|
-
|
|
3452
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3453
|
+
i0.ɵɵproperty("ndcDynamicComponent", ctx_r0.Component)("ndcDynamicInputs", ctx_r0.Parameters);
|
|
3449
3454
|
} }
|
|
3450
3455
|
class SubformMagicComponent {
|
|
3451
3456
|
constructor(vcRef, mgSub) {
|
|
@@ -3463,13 +3468,13 @@ class SubformMagicComponent {
|
|
|
3463
3468
|
return this.mgSub.mgGetParameters(this.id);
|
|
3464
3469
|
}
|
|
3465
3470
|
}
|
|
3466
|
-
SubformMagicComponent.ɵfac = function SubformMagicComponent_Factory(t) { return new (t || SubformMagicComponent)(
|
|
3467
|
-
SubformMagicComponent.ɵcmp =
|
|
3468
|
-
|
|
3471
|
+
SubformMagicComponent.ɵfac = function SubformMagicComponent_Factory(t) { return new (t || SubformMagicComponent)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(SubformMagicService)); };
|
|
3472
|
+
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) {
|
|
3473
|
+
i0.ɵɵtemplate(0, SubformMagicComponent_ndc_dynamic_0_Template, 1, 2, "ndc-dynamic", 0);
|
|
3469
3474
|
} if (rf & 2) {
|
|
3470
|
-
|
|
3471
|
-
} }, directives: [NgIf, DynamicComponent, DynamicIoDirective], encapsulation: 2 });
|
|
3472
|
-
(function () {
|
|
3475
|
+
i0.ɵɵproperty("ngIf", ctx.Component);
|
|
3476
|
+
} }, directives: [i1.NgIf, i3.DynamicComponent, i3.DynamicIoDirective], encapsulation: 2 });
|
|
3477
|
+
(function () { i0.ɵsetClassMetadata(SubformMagicComponent, [{
|
|
3473
3478
|
type: Component,
|
|
3474
3479
|
args: [{
|
|
3475
3480
|
selector: 'magic-subform',
|
|
@@ -3481,34 +3486,34 @@ SubformMagicComponent.ɵcmp = ɵɵdefineComponent({ type: SubformMagicComponent,
|
|
|
3481
3486
|
</ndc-dynamic>
|
|
3482
3487
|
`
|
|
3483
3488
|
}]
|
|
3484
|
-
}], function () { return [{ type: ViewContainerRef }, { type: SubformMagicService }]; }, { magic: [{
|
|
3489
|
+
}], function () { return [{ type: i0.ViewContainerRef }, { type: SubformMagicService }]; }, { magic: [{
|
|
3485
3490
|
type: Input,
|
|
3486
3491
|
args: ['magic']
|
|
3487
3492
|
}] }); })();
|
|
3488
3493
|
|
|
3489
|
-
const _c0$
|
|
3494
|
+
const _c0$1 = ["customContent"];
|
|
3490
3495
|
function ErrorMagicComponent_div_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3496
|
+
i0.ɵɵelementStart(0, "span");
|
|
3497
|
+
i0.ɵɵtext(1);
|
|
3498
|
+
i0.ɵɵelementEnd();
|
|
3494
3499
|
} if (rf & 2) {
|
|
3495
|
-
const ctx_r2 =
|
|
3496
|
-
|
|
3497
|
-
|
|
3500
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
3501
|
+
i0.ɵɵadvance(1);
|
|
3502
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.mgService.getErrMsg(ctx_r2.id, ctx_r2.rowId), " ");
|
|
3498
3503
|
} }
|
|
3499
3504
|
function ErrorMagicComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3505
|
+
i0.ɵɵelementStart(0, "div");
|
|
3506
|
+
i0.ɵɵelementStart(1, "div", null, 1);
|
|
3507
|
+
i0.ɵɵprojection(3);
|
|
3508
|
+
i0.ɵɵelementEnd();
|
|
3509
|
+
i0.ɵɵtemplate(4, ErrorMagicComponent_div_0_span_4_Template, 2, 1, "span", 0);
|
|
3510
|
+
i0.ɵɵelementEnd();
|
|
3506
3511
|
} if (rf & 2) {
|
|
3507
|
-
const ctx_r0 =
|
|
3508
|
-
|
|
3509
|
-
|
|
3512
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3513
|
+
i0.ɵɵadvance(4);
|
|
3514
|
+
i0.ɵɵproperty("ngIf", ctx_r0.defaultDisplay);
|
|
3510
3515
|
} }
|
|
3511
|
-
const _c1
|
|
3516
|
+
const _c1 = ["*"];
|
|
3512
3517
|
class ErrorMagicComponent {
|
|
3513
3518
|
constructor(_task, mgService, changeDetectorRef) {
|
|
3514
3519
|
this._task = _task;
|
|
@@ -3561,19 +3566,19 @@ class ErrorMagicComponent {
|
|
|
3561
3566
|
return false;
|
|
3562
3567
|
}
|
|
3563
3568
|
}
|
|
3564
|
-
ErrorMagicComponent.ɵfac = function ErrorMagicComponent_Factory(t) { return new (t || ErrorMagicComponent)(
|
|
3565
|
-
ErrorMagicComponent.ɵcmp =
|
|
3566
|
-
|
|
3569
|
+
ErrorMagicComponent.ɵfac = function ErrorMagicComponent_Factory(t) { return new (t || ErrorMagicComponent)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(AccessorMagicService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
3570
|
+
ErrorMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ErrorMagicComponent, selectors: [["mgError"]], viewQuery: function ErrorMagicComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3571
|
+
i0.ɵɵviewQuery(_c0$1, true);
|
|
3567
3572
|
} if (rf & 2) {
|
|
3568
3573
|
var _t;
|
|
3569
|
-
|
|
3570
|
-
} }, inputs: { magic: "magic", rowId1: ["rowId", "rowId1"] }, ngContentSelectors: _c1
|
|
3571
|
-
|
|
3572
|
-
|
|
3574
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.CustomContent = _t.first);
|
|
3575
|
+
} }, 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) {
|
|
3576
|
+
i0.ɵɵprojectionDef();
|
|
3577
|
+
i0.ɵɵtemplate(0, ErrorMagicComponent_div_0_Template, 5, 1, "div", 0);
|
|
3573
3578
|
} if (rf & 2) {
|
|
3574
|
-
|
|
3575
|
-
} }, directives: [NgIf], encapsulation: 2 });
|
|
3576
|
-
(function () {
|
|
3579
|
+
i0.ɵɵproperty("ngIf", ctx.HasErrors(ctx.id));
|
|
3580
|
+
} }, directives: [i1.NgIf], encapsulation: 2 });
|
|
3581
|
+
(function () { i0.ɵsetClassMetadata(ErrorMagicComponent, [{
|
|
3577
3582
|
type: Component,
|
|
3578
3583
|
args: [{
|
|
3579
3584
|
selector: 'mgError',
|
|
@@ -3587,7 +3592,7 @@ ErrorMagicComponent.ɵcmp = ɵɵdefineComponent({ type: ErrorMagicComponent, sel
|
|
|
3587
3592
|
</div>
|
|
3588
3593
|
`
|
|
3589
3594
|
}]
|
|
3590
|
-
}], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type: ChangeDetectorRef }]; }, { magic: [{
|
|
3595
|
+
}], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type: i0.ChangeDetectorRef }]; }, { magic: [{
|
|
3591
3596
|
type: Input,
|
|
3592
3597
|
args: ['magic']
|
|
3593
3598
|
}], rowId1: [{
|
|
@@ -3606,11 +3611,11 @@ class CheckboxMagicDirective {
|
|
|
3606
3611
|
this.magicDirective.task.onCheckChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
|
|
3607
3612
|
}
|
|
3608
3613
|
}
|
|
3609
|
-
CheckboxMagicDirective.ɵfac = function CheckboxMagicDirective_Factory(t) { return new (t || CheckboxMagicDirective)(
|
|
3610
|
-
CheckboxMagicDirective.ɵdir =
|
|
3611
|
-
|
|
3614
|
+
CheckboxMagicDirective.ɵfac = function CheckboxMagicDirective_Factory(t) { return new (t || CheckboxMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
|
|
3615
|
+
CheckboxMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: CheckboxMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", 3, "noFormControl", ""]], hostBindings: function CheckboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3616
|
+
i0.ɵɵlistener("change", function CheckboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
3612
3617
|
} } });
|
|
3613
|
-
(function () {
|
|
3618
|
+
(function () { i0.ɵsetClassMetadata(CheckboxMagicDirective, [{
|
|
3614
3619
|
type: Directive,
|
|
3615
3620
|
args: [{
|
|
3616
3621
|
selector: `
|
|
@@ -3630,11 +3635,11 @@ class ComboboxMagicDirective {
|
|
|
3630
3635
|
this.magicDirective.task.onComboboxSelectionChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
|
|
3631
3636
|
}
|
|
3632
3637
|
}
|
|
3633
|
-
ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(
|
|
3634
|
-
ComboboxMagicDirective.ɵdir =
|
|
3635
|
-
|
|
3638
|
+
ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
|
|
3639
|
+
ComboboxMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: ComboboxMagicDirective, selectors: [["select", "magic", "", 3, "multiple", ""]], hostBindings: function ComboboxMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3640
|
+
i0.ɵɵlistener("change", function ComboboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
3636
3641
|
} } });
|
|
3637
|
-
(function () {
|
|
3642
|
+
(function () { i0.ɵsetClassMetadata(ComboboxMagicDirective, [{
|
|
3638
3643
|
type: Directive,
|
|
3639
3644
|
args: [{
|
|
3640
3645
|
selector: `select[magic]:not([multiple])`,
|
|
@@ -3650,30 +3655,30 @@ class ExitMagicService {
|
|
|
3650
3655
|
}
|
|
3651
3656
|
}
|
|
3652
3657
|
ExitMagicService.ɵfac = function ExitMagicService_Factory(t) { return new (t || ExitMagicService)(); };
|
|
3653
|
-
ExitMagicService.ɵprov =
|
|
3654
|
-
(function () {
|
|
3658
|
+
ExitMagicService.ɵprov = i0.ɵɵdefineInjectable({ token: ExitMagicService, factory: ExitMagicService.ɵfac });
|
|
3659
|
+
(function () { i0.ɵsetClassMetadata(ExitMagicService, [{
|
|
3655
3660
|
type: Injectable
|
|
3656
3661
|
}], null, null); })();
|
|
3657
3662
|
|
|
3658
|
-
const _c0
|
|
3663
|
+
const _c0 = ["magicRoot"];
|
|
3659
3664
|
function MagicShellComponent_ndc_dynamic_2_Template(rf, ctx) { if (rf & 1) {
|
|
3660
|
-
|
|
3665
|
+
i0.ɵɵelement(0, "ndc-dynamic", 6);
|
|
3661
3666
|
} if (rf & 2) {
|
|
3662
|
-
const ctx_r1 =
|
|
3663
|
-
|
|
3667
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
3668
|
+
i0.ɵɵproperty("ndcDynamicComponent", ctx_r1.RootComponent)("ndcDynamicInputs", ctx_r1.RootComponentParameters);
|
|
3664
3669
|
} }
|
|
3665
3670
|
function MagicShellComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3671
|
+
i0.ɵɵelementStart(0, "div", 7);
|
|
3672
|
+
i0.ɵɵelementContainer(1, 8);
|
|
3673
|
+
i0.ɵɵelementEnd();
|
|
3669
3674
|
} if (rf & 2) {
|
|
3670
|
-
const ctx_r3 =
|
|
3671
|
-
const _r4 =
|
|
3672
|
-
|
|
3673
|
-
|
|
3675
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
3676
|
+
const _r4 = i0.ɵɵreference(7);
|
|
3677
|
+
i0.ɵɵadvance(1);
|
|
3678
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.SpinnerTemplate ? ctx_r3.SpinnerTemplate : _r4);
|
|
3674
3679
|
} }
|
|
3675
3680
|
function MagicShellComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
3676
|
-
|
|
3681
|
+
i0.ɵɵelement(0, "div", 9);
|
|
3677
3682
|
} }
|
|
3678
3683
|
class MagicShellComponent {
|
|
3679
3684
|
constructor(engineMagicService, componentList, changeDetectorRef, titleService, overlayWindowService, httpClient, pendingCommandsCollector, exitMagicService) {
|
|
@@ -3778,28 +3783,28 @@ class MagicShellComponent {
|
|
|
3778
3783
|
}
|
|
3779
3784
|
}
|
|
3780
3785
|
}
|
|
3781
|
-
MagicShellComponent.ɵfac = function MagicShellComponent_Factory(t) { return new (t || MagicShellComponent)(
|
|
3782
|
-
MagicShellComponent.ɵcmp =
|
|
3783
|
-
|
|
3786
|
+
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)); };
|
|
3787
|
+
MagicShellComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicShellComponent, selectors: [["magic-root"]], viewQuery: function MagicShellComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3788
|
+
i0.ɵɵstaticViewQuery(_c0, true);
|
|
3784
3789
|
} if (rf & 2) {
|
|
3785
3790
|
var _t;
|
|
3786
|
-
|
|
3791
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rootMagicElementRef = _t.first);
|
|
3787
3792
|
} }, hostBindings: function MagicShellComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3788
|
-
|
|
3789
|
-
} }, inputs: { SpinnerTemplate: "SpinnerTemplate" }, features: [
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3793
|
+
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);
|
|
3794
|
+
} }, 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) {
|
|
3795
|
+
i0.ɵɵelementStart(0, "div", null, 0);
|
|
3796
|
+
i0.ɵɵtemplate(2, MagicShellComponent_ndc_dynamic_2_Template, 1, 2, "ndc-dynamic", 1);
|
|
3797
|
+
i0.ɵɵelement(3, "div", 2, 3);
|
|
3798
|
+
i0.ɵɵelementEnd();
|
|
3799
|
+
i0.ɵɵtemplate(5, MagicShellComponent_div_5_Template, 2, 1, "div", 4);
|
|
3800
|
+
i0.ɵɵtemplate(6, MagicShellComponent_ng_template_6_Template, 1, 0, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
|
3796
3801
|
} if (rf & 2) {
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
} }, directives: [NgIf, MagicViewContainerRef, DynamicComponent, DynamicIoDirective, NgTemplateOutlet], styles: [".mgSpinnerClass[_ngcontent-%COMP%] {\n border: 10px solid #cccccc; \n border-top: 10px solid black; \n border-radius: 50%;\n position: fixed;\n margin: auto;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100px;\n height: 100px;\n animation: spin 2s linear infinite;\n }\n .spinner-background[_ngcontent-%COMP%] {\n \n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n left: 0;\n opacity: 0.5;\n }\n @keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }"] });
|
|
3802
|
-
(function () {
|
|
3802
|
+
i0.ɵɵadvance(2);
|
|
3803
|
+
i0.ɵɵproperty("ngIf", ctx.RootComponent !== null);
|
|
3804
|
+
i0.ɵɵadvance(3);
|
|
3805
|
+
i0.ɵɵproperty("ngIf", ctx.showSpinner);
|
|
3806
|
+
} }, directives: [i1.NgIf, MagicViewContainerRef, i3.DynamicComponent, i3.DynamicIoDirective, i1.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 }"] });
|
|
3807
|
+
(function () { i0.ɵsetClassMetadata(MagicShellComponent, [{
|
|
3803
3808
|
type: Component,
|
|
3804
3809
|
args: [{
|
|
3805
3810
|
selector: 'magic-root',
|
|
@@ -3855,7 +3860,7 @@ MagicShellComponent.ɵcmp = ɵɵdefineComponent({ type: MagicShellComponent, sel
|
|
|
3855
3860
|
}
|
|
3856
3861
|
`]
|
|
3857
3862
|
}]
|
|
3858
|
-
}], function () { return [{ type: EngineMagicService }, { type: ComponentListMagicService }, { type: ChangeDetectorRef }, { type: Title }, { type: OverlayWindowService }, { type: HttpClient }, { type: CommandsCollectorMagicService }, { type: ExitMagicService, decorators: [{
|
|
3863
|
+
}], function () { return [{ type: EngineMagicService }, { type: ComponentListMagicService }, { type: i0.ChangeDetectorRef }, { type: i1$1.Title }, { type: OverlayWindowService }, { type: i5.HttpClient }, { type: CommandsCollectorMagicService }, { type: ExitMagicService, decorators: [{
|
|
3859
3864
|
type: Optional
|
|
3860
3865
|
}] }]; }, { rootMagicElementRef: [{
|
|
3861
3866
|
type: ViewChild,
|
|
@@ -3878,11 +3883,11 @@ const CHECKBOX_VALUE_ACCESSOR = {
|
|
|
3878
3883
|
class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
|
|
3879
3884
|
}
|
|
3880
3885
|
MagicCheckboxControlValueAccessor.ɵfac = function MagicCheckboxControlValueAccessor_Factory(t) { return ɵMagicCheckboxControlValueAccessor_BaseFactory(t || MagicCheckboxControlValueAccessor); };
|
|
3881
|
-
MagicCheckboxControlValueAccessor.ɵdir =
|
|
3882
|
-
|
|
3883
|
-
} }, features: [
|
|
3884
|
-
const ɵMagicCheckboxControlValueAccessor_BaseFactory =
|
|
3885
|
-
(function () {
|
|
3886
|
+
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) {
|
|
3887
|
+
i0.ɵɵlistener("change", function MagicCheckboxControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.checked); })("blur", function MagicCheckboxControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
|
|
3888
|
+
} }, features: [i0.ɵɵProvidersFeature([CHECKBOX_VALUE_ACCESSOR]), i0.ɵɵInheritDefinitionFeature] });
|
|
3889
|
+
const ɵMagicCheckboxControlValueAccessor_BaseFactory = i0.ɵɵgetInheritedFactory(MagicCheckboxControlValueAccessor);
|
|
3890
|
+
(function () { i0.ɵsetClassMetadata(MagicCheckboxControlValueAccessor, [{
|
|
3886
3891
|
type: Directive,
|
|
3887
3892
|
args: [{
|
|
3888
3893
|
selector: `
|
|
@@ -3903,11 +3908,11 @@ const MAGIC_DEFAULT_VALUE_ACCESSOR = {
|
|
|
3903
3908
|
class MagicDefaultValueAccessor extends DefaultValueAccessor {
|
|
3904
3909
|
}
|
|
3905
3910
|
MagicDefaultValueAccessor.ɵfac = function MagicDefaultValueAccessor_Factory(t) { return ɵMagicDefaultValueAccessor_BaseFactory(t || MagicDefaultValueAccessor); };
|
|
3906
|
-
MagicDefaultValueAccessor.ɵdir =
|
|
3907
|
-
|
|
3908
|
-
} }, exportAs: ["magic"], features: [
|
|
3909
|
-
const ɵMagicDefaultValueAccessor_BaseFactory =
|
|
3910
|
-
(function () {
|
|
3911
|
+
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) {
|
|
3912
|
+
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); });
|
|
3913
|
+
} }, exportAs: ["magic"], features: [i0.ɵɵProvidersFeature([MAGIC_DEFAULT_VALUE_ACCESSOR]), i0.ɵɵInheritDefinitionFeature] });
|
|
3914
|
+
const ɵMagicDefaultValueAccessor_BaseFactory = i0.ɵɵgetInheritedFactory(MagicDefaultValueAccessor);
|
|
3915
|
+
(function () { i0.ɵsetClassMetadata(MagicDefaultValueAccessor, [{
|
|
3911
3916
|
type: Directive,
|
|
3912
3917
|
args: [{
|
|
3913
3918
|
selector: `
|
|
@@ -3933,11 +3938,11 @@ class CheckboxNoFormControlMagicDirective {
|
|
|
3933
3938
|
this.magicDirective.task.onCheckChanged($event, this.magicDirective.id, +this.magicDirective.rowId);
|
|
3934
3939
|
}
|
|
3935
3940
|
}
|
|
3936
|
-
CheckboxNoFormControlMagicDirective.ɵfac = function CheckboxNoFormControlMagicDirective_Factory(t) { return new (t || CheckboxNoFormControlMagicDirective)(
|
|
3937
|
-
CheckboxNoFormControlMagicDirective.ɵdir =
|
|
3938
|
-
|
|
3941
|
+
CheckboxNoFormControlMagicDirective.ɵfac = function CheckboxNoFormControlMagicDirective_Factory(t) { return new (t || CheckboxNoFormControlMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
|
|
3942
|
+
CheckboxNoFormControlMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: CheckboxNoFormControlMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", "noFormControl", ""]], hostBindings: function CheckboxNoFormControlMagicDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3943
|
+
i0.ɵɵlistener("change", function CheckboxNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
3939
3944
|
} } });
|
|
3940
|
-
(function () {
|
|
3945
|
+
(function () { i0.ɵsetClassMetadata(CheckboxNoFormControlMagicDirective, [{
|
|
3941
3946
|
type: Directive,
|
|
3942
3947
|
args: [{
|
|
3943
3948
|
selector: `
|
|
@@ -3957,11 +3962,11 @@ class InputNoFormControlMagicDirective {
|
|
|
3957
3962
|
this.magicDirective.task.setInputTextValue(this.magicDirective.id, this.magicDirective.rowId, event.srcElement.value);
|
|
3958
3963
|
}
|
|
3959
3964
|
}
|
|
3960
|
-
InputNoFormControlMagicDirective.ɵfac = function InputNoFormControlMagicDirective_Factory(t) { return new (t || InputNoFormControlMagicDirective)(
|
|
3961
|
-
InputNoFormControlMagicDirective.ɵdir =
|
|
3962
|
-
|
|
3965
|
+
InputNoFormControlMagicDirective.ɵfac = function InputNoFormControlMagicDirective_Factory(t) { return new (t || InputNoFormControlMagicDirective)(i0.ɵɵdirectiveInject(MagicDirective)); };
|
|
3966
|
+
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) {
|
|
3967
|
+
i0.ɵɵlistener("change", function InputNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
3963
3968
|
} } });
|
|
3964
|
-
(function () {
|
|
3969
|
+
(function () { i0.ɵsetClassMetadata(InputNoFormControlMagicDirective, [{
|
|
3965
3970
|
type: Directive,
|
|
3966
3971
|
args: [{
|
|
3967
3972
|
selector: `input[magic]:([noFormControl]):not([type=checkbox]),
|
|
@@ -4003,17 +4008,17 @@ class DateValueAccessor {
|
|
|
4003
4008
|
this.renderer.setProperty(this.elementRef.nativeElement, "disabled", isDisabled);
|
|
4004
4009
|
}
|
|
4005
4010
|
}
|
|
4006
|
-
DateValueAccessor.ɵfac = function DateValueAccessor_Factory(t) { return new (t || DateValueAccessor)(
|
|
4007
|
-
DateValueAccessor.ɵdir =
|
|
4008
|
-
|
|
4009
|
-
} }, features: [
|
|
4010
|
-
(function () {
|
|
4011
|
+
DateValueAccessor.ɵfac = function DateValueAccessor_Factory(t) { return new (t || DateValueAccessor)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
4012
|
+
DateValueAccessor.ɵdir = i0.ɵɵdefineDirective({ type: DateValueAccessor, selectors: [["", "dateInput", ""]], hostBindings: function DateValueAccessor_HostBindings(rf, ctx) { if (rf & 1) {
|
|
4013
|
+
i0.ɵɵlistener("input", function DateValueAccessor_input_HostBindingHandler($event) { return ctx.onChange($event.target.valueAsDate); })("blur", function DateValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
|
|
4014
|
+
} }, features: [i0.ɵɵProvidersFeature([DATE_VALUE_ACCESSOR])] });
|
|
4015
|
+
(function () { i0.ɵsetClassMetadata(DateValueAccessor, [{
|
|
4011
4016
|
type: Directive,
|
|
4012
4017
|
args: [{
|
|
4013
4018
|
selector: "[dateInput]",
|
|
4014
4019
|
providers: [DATE_VALUE_ACCESSOR]
|
|
4015
4020
|
}]
|
|
4016
|
-
}], function () { return [{ type: Renderer2 }, { type: ElementRef }]; }, { onChange: [{
|
|
4021
|
+
}], function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, { onChange: [{
|
|
4017
4022
|
type: HostListener,
|
|
4018
4023
|
args: ["input", ["$event.target.valueAsDate"]]
|
|
4019
4024
|
}], onTouched: [{
|
|
@@ -4053,14 +4058,14 @@ class NonMagicControlDirective {
|
|
|
4053
4058
|
this.regEvents();
|
|
4054
4059
|
}
|
|
4055
4060
|
}
|
|
4056
|
-
NonMagicControlDirective.ɵfac = function NonMagicControlDirective_Factory(t) { return new (t || NonMagicControlDirective)(
|
|
4057
|
-
NonMagicControlDirective.ɵdir =
|
|
4058
|
-
(function () {
|
|
4061
|
+
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)); };
|
|
4062
|
+
NonMagicControlDirective.ɵdir = i0.ɵɵdefineDirective({ type: NonMagicControlDirective, selectors: [["", "NonMagicControl", ""]], inputs: { magic: ["NonMagicControl", "magic"] } });
|
|
4063
|
+
(function () { i0.ɵsetClassMetadata(NonMagicControlDirective, [{
|
|
4059
4064
|
type: Directive,
|
|
4060
4065
|
args: [{
|
|
4061
4066
|
selector: '[NonMagicControl]'
|
|
4062
4067
|
}]
|
|
4063
|
-
}], function () { return [{ type: TaskMagicService }, { type: ElementRef }, { type: Renderer2 }, { type: ViewContainerRef }]; }, { magic: [{
|
|
4068
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }]; }, { magic: [{
|
|
4064
4069
|
type: Input,
|
|
4065
4070
|
args: ['NonMagicControl']
|
|
4066
4071
|
}] }); })();
|
|
@@ -4109,8 +4114,8 @@ class MagicModule {
|
|
|
4109
4114
|
};
|
|
4110
4115
|
}
|
|
4111
4116
|
}
|
|
4112
|
-
MagicModule.ɵmod =
|
|
4113
|
-
MagicModule.ɵinj =
|
|
4117
|
+
MagicModule.ɵmod = i0.ɵɵdefineNgModule({ type: MagicModule });
|
|
4118
|
+
MagicModule.ɵinj = i0.ɵɵdefineInjector({ factory: function MagicModule_Factory(t) { return new (t || MagicModule)(); }, providers: [ConfirmationComponentsMagicProvider, OverlayContainerMagicProvider], imports: [[
|
|
4114
4119
|
CommonModule,
|
|
4115
4120
|
FormsModule,
|
|
4116
4121
|
ReactiveFormsModule,
|
|
@@ -4118,7 +4123,7 @@ MagicModule.ɵinj = ɵɵdefineInjector({ factory: function MagicModule_Factory(t
|
|
|
4118
4123
|
DynamicModule,
|
|
4119
4124
|
HttpClientModule
|
|
4120
4125
|
]] });
|
|
4121
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) &&
|
|
4126
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MagicModule, { declarations: [MagicDirective,
|
|
4122
4127
|
CheckboxMagicDirective,
|
|
4123
4128
|
CheckboxNoFormControlMagicDirective,
|
|
4124
4129
|
InputNoFormControlMagicDirective,
|
|
@@ -4178,7 +4183,7 @@ MagicModule.ɵinj = ɵɵdefineInjector({ factory: function MagicModule_Factory(t
|
|
|
4178
4183
|
NonMagicControlDirective,
|
|
4179
4184
|
MagicFocusDirective,
|
|
4180
4185
|
MagicViewContainerRef] }); })();
|
|
4181
|
-
(function () {
|
|
4186
|
+
(function () { i0.ɵsetClassMetadata(MagicModule, [{
|
|
4182
4187
|
type: NgModule,
|
|
4183
4188
|
args: [{
|
|
4184
4189
|
declarations: [...decs],
|
|
@@ -4287,11 +4292,11 @@ class MgDateAdapter extends NativeDateAdapter {
|
|
|
4287
4292
|
}
|
|
4288
4293
|
}
|
|
4289
4294
|
}
|
|
4290
|
-
MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(
|
|
4291
|
-
MgDateAdapter.ɵprov =
|
|
4292
|
-
(function () {
|
|
4295
|
+
MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(i0.ɵɵinject(i1$2.Platform), i0.ɵɵinject(TaskMagicService)); };
|
|
4296
|
+
MgDateAdapter.ɵprov = i0.ɵɵdefineInjectable({ token: MgDateAdapter, factory: MgDateAdapter.ɵfac });
|
|
4297
|
+
(function () { i0.ɵsetClassMetadata(MgDateAdapter, [{
|
|
4293
4298
|
type: Injectable
|
|
4294
|
-
}], function () { return [{ type: Platform }, { type: TaskMagicService }]; }, null); })();
|
|
4299
|
+
}], function () { return [{ type: i1$2.Platform }, { type: TaskMagicService }]; }, null); })();
|
|
4295
4300
|
|
|
4296
4301
|
const matDateProviders = [
|
|
4297
4302
|
{ provide: DateAdapter, useClass: MgDateAdapter },
|