@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,8 +1,34 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('util'), require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('ng-dynamic-component'), require('rxjs'), require('@magic-xpa/engine'), require('@magic-xpa/gui'), require('@magic-xpa/utils'), require('rxjs/operators'), require('@magic-xpa/mscorelib'), require('@angular/platform-browser'), require('rxjs/internal/observable/fromEvent'), require('@angular/common/http'), require('@angular/material/core'), require('@angular/cdk/platform')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@magic-xpa/angular', ['exports', 'util', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'ng-dynamic-component', 'rxjs', '@magic-xpa/engine', '@magic-xpa/gui', '@magic-xpa/utils', 'rxjs/operators', '@magic-xpa/mscorelib', '@angular/platform-browser', 'rxjs/internal/observable/fromEvent', '@angular/common/http', '@angular/material/core', '@angular/cdk/platform'], factory) :
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports, util, i0, i1, i2, forms, i3, rxjs, engine, gui, utils$1, operators, mscorelib, i1$1, fromEvent, i5, core, i1$2) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["magic-xpa"] = global["magic-xpa"] || {}, global["magic-xpa"].angular = {}), global.util, global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global.i3, global.rxjs, global.engine, global.gui, global.utils$1, global.rxjs.operators, global.mscorelib, global.ng.platformBrowser, global.rxjs["internal/observable/fromEvent"], global.ng.common.http, global.ng.material.core, global.ng.cdk.platform));
|
|
5
|
+
})(this, (function (exports, util, i0, i1, i2, forms, i3, rxjs, engine, gui, utils$1, operators, mscorelib, i1$1, fromEvent, i5, core, i1$2) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
29
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
30
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
31
|
+
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
6
32
|
|
|
7
33
|
/*! *****************************************************************************
|
|
8
34
|
Copyright (c) Microsoft Corporation.
|
|
@@ -496,6 +522,7 @@
|
|
|
496
522
|
};
|
|
497
523
|
return Records;
|
|
498
524
|
}());
|
|
525
|
+
exports.HtmlClasses = void 0;
|
|
499
526
|
(function (HtmlClasses) {
|
|
500
527
|
HtmlClasses["Color"] = "color";
|
|
501
528
|
HtmlClasses["font"] = "font";
|
|
@@ -595,9 +622,9 @@
|
|
|
595
622
|
return EngineMagicService;
|
|
596
623
|
}());
|
|
597
624
|
EngineMagicService.ɵfac = function EngineMagicService_Factory(t) { return new (t || EngineMagicService)(); };
|
|
598
|
-
EngineMagicService.ɵprov =
|
|
625
|
+
EngineMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: EngineMagicService, factory: EngineMagicService.ɵfac });
|
|
599
626
|
(function () {
|
|
600
|
-
|
|
627
|
+
i0__namespace.ɵsetClassMetadata(EngineMagicService, [{
|
|
601
628
|
type: i0.Injectable
|
|
602
629
|
}], null, null);
|
|
603
630
|
})();
|
|
@@ -703,10 +730,10 @@
|
|
|
703
730
|
};
|
|
704
731
|
return CommandsCollectorMagicService;
|
|
705
732
|
}());
|
|
706
|
-
CommandsCollectorMagicService.ɵfac = function CommandsCollectorMagicService_Factory(t) { return new (t || CommandsCollectorMagicService)(
|
|
707
|
-
CommandsCollectorMagicService.ɵprov =
|
|
733
|
+
CommandsCollectorMagicService.ɵfac = function CommandsCollectorMagicService_Factory(t) { return new (t || CommandsCollectorMagicService)(i0__namespace.ɵɵinject(EngineMagicService)); };
|
|
734
|
+
CommandsCollectorMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: CommandsCollectorMagicService, factory: CommandsCollectorMagicService.ɵfac });
|
|
708
735
|
(function () {
|
|
709
|
-
|
|
736
|
+
i0__namespace.ɵsetClassMetadata(CommandsCollectorMagicService, [{
|
|
710
737
|
type: i0.Injectable
|
|
711
738
|
}], function () { return [{ type: EngineMagicService }]; }, null);
|
|
712
739
|
})();
|
|
@@ -732,9 +759,9 @@
|
|
|
732
759
|
return RouterCommandsMagicService;
|
|
733
760
|
}());
|
|
734
761
|
RouterCommandsMagicService.ɵfac = function RouterCommandsMagicService_Factory(t) { return new (t || RouterCommandsMagicService)(); };
|
|
735
|
-
RouterCommandsMagicService.ɵprov =
|
|
762
|
+
RouterCommandsMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: RouterCommandsMagicService, factory: RouterCommandsMagicService.ɵfac });
|
|
736
763
|
(function () {
|
|
737
|
-
|
|
764
|
+
i0__namespace.ɵsetClassMetadata(RouterCommandsMagicService, [{
|
|
738
765
|
type: i0.Injectable
|
|
739
766
|
}], null, null);
|
|
740
767
|
})();
|
|
@@ -906,12 +933,12 @@
|
|
|
906
933
|
}());
|
|
907
934
|
SubformMagicService.currentCallerMgSubformServiceRef = null;
|
|
908
935
|
SubformMagicService.routerContainers = new Array();
|
|
909
|
-
SubformMagicService.ɵfac = function SubformMagicService_Factory(t) { return new (t || SubformMagicService)(
|
|
910
|
-
SubformMagicService.ɵprov =
|
|
936
|
+
SubformMagicService.ɵfac = function SubformMagicService_Factory(t) { return new (t || SubformMagicService)(i0__namespace.ɵɵinject(TaskMagicService), i0__namespace.ɵɵinject(i2__namespace.ActivatedRoute), i0__namespace.ɵɵinject(ComponentListMagicService), i0__namespace.ɵɵinject(CommandsCollectorMagicService), i0__namespace.ɵɵinject(i2__namespace.Router), i0__namespace.ɵɵinject(RouterCommandsMagicService), i0__namespace.ɵɵinject(ComponentListMagicService), i0__namespace.ɵɵinject(i0__namespace.NgModuleFactoryLoader), i0__namespace.ɵɵinject(i0__namespace.Injector)); };
|
|
937
|
+
SubformMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: SubformMagicService, factory: SubformMagicService.ɵfac });
|
|
911
938
|
(function () {
|
|
912
|
-
|
|
939
|
+
i0__namespace.ɵsetClassMetadata(SubformMagicService, [{
|
|
913
940
|
type: i0.Injectable
|
|
914
|
-
}], function () { return [{ type: TaskMagicService }, { type:
|
|
941
|
+
}], function () { return [{ type: TaskMagicService }, { type: i2__namespace.ActivatedRoute }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: i2__namespace.Router }, { type: RouterCommandsMagicService }, { type: ComponentListMagicService }, { type: i0__namespace.NgModuleFactoryLoader }, { type: i0__namespace.Injector }]; }, null);
|
|
915
942
|
})();
|
|
916
943
|
|
|
917
944
|
var RouterContainerMagicComponent = /** @class */ (function () {
|
|
@@ -1000,16 +1027,16 @@
|
|
|
1000
1027
|
return RouterContainerMagicComponent;
|
|
1001
1028
|
}());
|
|
1002
1029
|
RouterContainerMagicComponent.lastRoute = "/";
|
|
1003
|
-
RouterContainerMagicComponent.ɵfac = function RouterContainerMagicComponent_Factory(t) { return new (t || RouterContainerMagicComponent)(
|
|
1004
|
-
RouterContainerMagicComponent.ɵcmp =
|
|
1030
|
+
RouterContainerMagicComponent.ɵfac = function RouterContainerMagicComponent_Factory(t) { return new (t || RouterContainerMagicComponent)(i0__namespace.ɵɵdirectiveInject(i2__namespace.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i2__namespace.Router), i0__namespace.ɵɵdirectiveInject(EngineMagicService), i0__namespace.ɵɵdirectiveInject(TaskMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(ComponentListMagicService), i0__namespace.ɵɵdirectiveInject(CommandsCollectorMagicService), i0__namespace.ɵɵdirectiveInject(RouterCommandsMagicService)); };
|
|
1031
|
+
RouterContainerMagicComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RouterContainerMagicComponent, selectors: [["magic-route-outlet"]], decls: 0, vars: 0, template: function RouterContainerMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
1005
1032
|
(function () {
|
|
1006
|
-
|
|
1033
|
+
i0__namespace.ɵsetClassMetadata(RouterContainerMagicComponent, [{
|
|
1007
1034
|
type: i0.Component,
|
|
1008
1035
|
args: [{
|
|
1009
1036
|
selector: 'magic-route-outlet',
|
|
1010
1037
|
template: "\n "
|
|
1011
1038
|
}]
|
|
1012
|
-
}], function () { return [{ type:
|
|
1039
|
+
}], function () { return [{ type: i2__namespace.ActivatedRoute }, { type: i2__namespace.Router }, { type: EngineMagicService }, { type: TaskMagicService }, { type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ViewContainerRef }, { type: ComponentListMagicService }, { type: CommandsCollectorMagicService }, { type: RouterCommandsMagicService }]; }, null);
|
|
1013
1040
|
})();
|
|
1014
1041
|
|
|
1015
1042
|
var GuiInteractiveExecutor = /** @class */ (function () {
|
|
@@ -1142,9 +1169,9 @@
|
|
|
1142
1169
|
return BaseMagicConfirmComponent;
|
|
1143
1170
|
}());
|
|
1144
1171
|
BaseMagicConfirmComponent.ɵfac = function BaseMagicConfirmComponent_Factory(t) { return new (t || BaseMagicConfirmComponent)(); };
|
|
1145
|
-
BaseMagicConfirmComponent.ɵcmp =
|
|
1172
|
+
BaseMagicConfirmComponent.ɵcmp = i0__namespace.ɵɵ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: [""] });
|
|
1146
1173
|
(function () {
|
|
1147
|
-
|
|
1174
|
+
i0__namespace.ɵsetClassMetadata(BaseMagicConfirmComponent, [{
|
|
1148
1175
|
type: i0.Component,
|
|
1149
1176
|
args: [{
|
|
1150
1177
|
selector: 'mg-base-alert',
|
|
@@ -1170,9 +1197,9 @@
|
|
|
1170
1197
|
return BaseMagicAlertComponent;
|
|
1171
1198
|
}());
|
|
1172
1199
|
BaseMagicAlertComponent.ɵfac = function BaseMagicAlertComponent_Factory(t) { return new (t || BaseMagicAlertComponent)(); };
|
|
1173
|
-
BaseMagicAlertComponent.ɵcmp =
|
|
1200
|
+
BaseMagicAlertComponent.ɵcmp = i0__namespace.ɵɵ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: [""] });
|
|
1174
1201
|
(function () {
|
|
1175
|
-
|
|
1202
|
+
i0__namespace.ɵsetClassMetadata(BaseMagicAlertComponent, [{
|
|
1176
1203
|
type: i0.Component,
|
|
1177
1204
|
args: [{
|
|
1178
1205
|
selector: 'mg-base-alert',
|
|
@@ -1197,15 +1224,15 @@
|
|
|
1197
1224
|
};
|
|
1198
1225
|
return MagicFocusDirective;
|
|
1199
1226
|
}());
|
|
1200
|
-
MagicFocusDirective.ɵfac = function MagicFocusDirective_Factory(t) { return new (t || MagicFocusDirective)(
|
|
1201
|
-
MagicFocusDirective.ɵdir =
|
|
1227
|
+
MagicFocusDirective.ɵfac = function MagicFocusDirective_Factory(t) { return new (t || MagicFocusDirective)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); };
|
|
1228
|
+
MagicFocusDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: MagicFocusDirective, selectors: [["", "magicFocus", ""]] });
|
|
1202
1229
|
(function () {
|
|
1203
|
-
|
|
1230
|
+
i0__namespace.ɵsetClassMetadata(MagicFocusDirective, [{
|
|
1204
1231
|
type: i0.Directive,
|
|
1205
1232
|
args: [{
|
|
1206
1233
|
selector: '[magicFocus]'
|
|
1207
1234
|
}]
|
|
1208
|
-
}], function () { return [{ type:
|
|
1235
|
+
}], function () { return [{ type: i0__namespace.ElementRef }]; }, null);
|
|
1209
1236
|
})();
|
|
1210
1237
|
|
|
1211
1238
|
var MagicViewContainerRef = /** @class */ (function () {
|
|
@@ -1217,18 +1244,18 @@
|
|
|
1217
1244
|
}
|
|
1218
1245
|
return MagicViewContainerRef;
|
|
1219
1246
|
}());
|
|
1220
|
-
MagicViewContainerRef.ɵfac = function MagicViewContainerRef_Factory(t) { return new (t || MagicViewContainerRef)(
|
|
1221
|
-
MagicViewContainerRef.ɵdir =
|
|
1247
|
+
MagicViewContainerRef.ɵfac = function MagicViewContainerRef_Factory(t) { return new (t || MagicViewContainerRef)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver)); };
|
|
1248
|
+
MagicViewContainerRef.ɵdir = i0__namespace.ɵɵdefineDirective({ type: MagicViewContainerRef, selectors: [["", "magicViewContainerRef", ""]] });
|
|
1222
1249
|
(function () {
|
|
1223
|
-
|
|
1250
|
+
i0__namespace.ɵsetClassMetadata(MagicViewContainerRef, [{
|
|
1224
1251
|
type: i0.Directive,
|
|
1225
1252
|
args: [{
|
|
1226
1253
|
selector: '[magicViewContainerRef]',
|
|
1227
1254
|
}]
|
|
1228
|
-
}], function () { return [{ type:
|
|
1255
|
+
}], function () { return [{ type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ComponentFactoryResolver }]; }, null);
|
|
1229
1256
|
})();
|
|
1230
1257
|
|
|
1231
|
-
var _c0 = ["overlayContainerWrapper"];
|
|
1258
|
+
var _c0$3 = ["overlayContainerWrapper"];
|
|
1232
1259
|
var MagicOverlayContainerWrapper = /** @class */ (function () {
|
|
1233
1260
|
function MagicOverlayContainerWrapper(componentListMagicService, loader, injector, componentFactoryResolver, changeDetectorRef) {
|
|
1234
1261
|
this.componentListMagicService = componentListMagicService;
|
|
@@ -1297,35 +1324,35 @@
|
|
|
1297
1324
|
[gui.OverlayType.Alert, { comp: BaseMagicAlertComponent, error: 'BaseMagicAlertComponent. Alert ' }],
|
|
1298
1325
|
[gui.OverlayType.ConfirmationBox, { comp: BaseMagicConfirmComponent, error: 'BaseMagicConfirmComponent. Confirmation ' }]
|
|
1299
1326
|
]);
|
|
1300
|
-
MagicOverlayContainerWrapper.ɵfac = function MagicOverlayContainerWrapper_Factory(t) { return new (t || MagicOverlayContainerWrapper)(
|
|
1301
|
-
MagicOverlayContainerWrapper.ɵcmp =
|
|
1327
|
+
MagicOverlayContainerWrapper.ɵfac = function MagicOverlayContainerWrapper_Factory(t) { return new (t || MagicOverlayContainerWrapper)(i0__namespace.ɵɵdirectiveInject(ComponentListMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.NgModuleFactoryLoader), i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
1328
|
+
MagicOverlayContainerWrapper.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MagicOverlayContainerWrapper, selectors: [["app-magic-overlay-container-wrapper"]], viewQuery: function MagicOverlayContainerWrapper_Query(rf, ctx) {
|
|
1302
1329
|
if (rf & 1) {
|
|
1303
|
-
|
|
1330
|
+
i0__namespace.ɵɵstaticViewQuery(_c0$3, true);
|
|
1304
1331
|
}
|
|
1305
1332
|
if (rf & 2) {
|
|
1306
1333
|
var _t;
|
|
1307
|
-
|
|
1334
|
+
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.overlayContainerWrapperElementRef = _t.first);
|
|
1308
1335
|
}
|
|
1309
1336
|
}, 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) {
|
|
1310
1337
|
if (rf & 1) {
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1338
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
1339
|
+
i0__namespace.ɵɵelement(1, "div", 0);
|
|
1340
|
+
i0__namespace.ɵɵelementStart(2, "div", 1, 2);
|
|
1341
|
+
i0__namespace.ɵɵelement(4, "div", 3, 4);
|
|
1342
|
+
i0__namespace.ɵɵelementEnd();
|
|
1343
|
+
i0__namespace.ɵɵelement(6, "div", 5);
|
|
1344
|
+
i0__namespace.ɵɵelementEnd();
|
|
1318
1345
|
}
|
|
1319
1346
|
}, 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 }"] });
|
|
1320
1347
|
(function () {
|
|
1321
|
-
|
|
1348
|
+
i0__namespace.ɵsetClassMetadata(MagicOverlayContainerWrapper, [{
|
|
1322
1349
|
type: i0.Component,
|
|
1323
1350
|
args: [{
|
|
1324
1351
|
selector: 'app-magic-overlay-container-wrapper',
|
|
1325
1352
|
template: "\n <div>\n <div class=\"overlay-container-wrapper-background\" tabIndex=\"0\" style=\"width: 0px; height: 0px;\" magicFocus></div>\n <div class=\"overlay-container-wrapper-background\" #overlayContainerWrapper>\n <div #overlayContent magicViewContainerRef>\n </div>\n </div>\n <div class=\"overlay-container-wrapper-background\" tabIndex=\"0\" style=\"width: 0px; height: 0px;\" ></div>\n </div>\n ",
|
|
1326
1353
|
styles: ["\n .overlay-container-wrapper-background {\n /* modal background fixed across whole screen */\n position: fixed;\n top: 0;\n z-index: 999;\n right: 0;\n bottom: 0;\n left: 0;\n }\n "]
|
|
1327
1354
|
}]
|
|
1328
|
-
}], function () { return [{ type: ComponentListMagicService }, { type:
|
|
1355
|
+
}], function () { return [{ type: ComponentListMagicService }, { type: i0__namespace.NgModuleFactoryLoader }, { type: i0__namespace.Injector }, { type: i0__namespace.ComponentFactoryResolver }, { type: i0__namespace.ChangeDetectorRef }]; }, { Component: [{
|
|
1329
1356
|
type: i0.Input
|
|
1330
1357
|
}], Parameters: [{
|
|
1331
1358
|
type: i0.Input
|
|
@@ -1384,32 +1411,32 @@
|
|
|
1384
1411
|
return confirmationBox;
|
|
1385
1412
|
}());
|
|
1386
1413
|
|
|
1387
|
-
var _c0$
|
|
1388
|
-
var _c1 = ["modalForeground"];
|
|
1414
|
+
var _c0$2 = ["modalheader"];
|
|
1415
|
+
var _c1$1 = ["modalForeground"];
|
|
1389
1416
|
function MagicOverlayContainer_button_2_Template(rf, ctx) {
|
|
1390
1417
|
if (rf & 1) {
|
|
1391
|
-
var _r5_1 =
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1418
|
+
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
1419
|
+
i0__namespace.ɵɵelementStart(0, "button", 8);
|
|
1420
|
+
i0__namespace.ɵɵlistener("click", function MagicOverlayContainer_button_2_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r4 = i0__namespace.ɵɵnextContext(); return ctx_r4.OnClose(); });
|
|
1421
|
+
i0__namespace.ɵɵtext(1, "X");
|
|
1422
|
+
i0__namespace.ɵɵelementEnd();
|
|
1396
1423
|
}
|
|
1397
1424
|
}
|
|
1398
1425
|
function MagicOverlayContainer_div_5_Template(rf, ctx) {
|
|
1399
1426
|
if (rf & 1) {
|
|
1400
|
-
var _r8_1 =
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1427
|
+
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
1428
|
+
i0__namespace.ɵɵelementStart(0, "div", 9, 10);
|
|
1429
|
+
i0__namespace.ɵɵtext(2);
|
|
1430
|
+
i0__namespace.ɵɵelementStart(3, "button", 11);
|
|
1431
|
+
i0__namespace.ɵɵlistener("click", function MagicOverlayContainer_div_5_Template_button_click_3_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.OnClose(); });
|
|
1432
|
+
i0__namespace.ɵɵtext(4, "X");
|
|
1433
|
+
i0__namespace.ɵɵelementEnd();
|
|
1434
|
+
i0__namespace.ɵɵelementEnd();
|
|
1408
1435
|
}
|
|
1409
1436
|
if (rf & 2) {
|
|
1410
|
-
var ctx_r2 =
|
|
1411
|
-
|
|
1412
|
-
|
|
1437
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
1438
|
+
i0__namespace.ɵɵadvance(2);
|
|
1439
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r2.getText(), " ");
|
|
1413
1440
|
}
|
|
1414
1441
|
}
|
|
1415
1442
|
var MagicOverlayContainer = /** @class */ (function (_super) {
|
|
@@ -1487,52 +1514,52 @@
|
|
|
1487
1514
|
};
|
|
1488
1515
|
return MagicOverlayContainer;
|
|
1489
1516
|
}(exports.BaseMagicOverlayContainer));
|
|
1490
|
-
MagicOverlayContainer.ɵfac = function MagicOverlayContainer_Factory(t) { return new (t || MagicOverlayContainer)(
|
|
1491
|
-
MagicOverlayContainer.ɵcmp =
|
|
1517
|
+
MagicOverlayContainer.ɵfac = function MagicOverlayContainer_Factory(t) { return new (t || MagicOverlayContainer)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(i0__namespace.ComponentFactoryResolver)); };
|
|
1518
|
+
MagicOverlayContainer.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MagicOverlayContainer, selectors: [["app-magic-overlay-container"]], viewQuery: function MagicOverlayContainer_Query(rf, ctx) {
|
|
1492
1519
|
if (rf & 1) {
|
|
1493
|
-
|
|
1494
|
-
|
|
1520
|
+
i0__namespace.ɵɵviewQuery(_c0$2, true);
|
|
1521
|
+
i0__namespace.ɵɵviewQuery(_c1$1, true);
|
|
1495
1522
|
}
|
|
1496
1523
|
if (rf & 2) {
|
|
1497
1524
|
var _t;
|
|
1498
|
-
|
|
1499
|
-
|
|
1525
|
+
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.headerElementRef = _t.first);
|
|
1526
|
+
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.foregroundElementRef = _t.first);
|
|
1500
1527
|
}
|
|
1501
|
-
}, inputs: { ModalComp: "ModalComp", ModalCompParameters: "ModalCompParameters" }, outputs: { onClose: "onClose" }, features: [
|
|
1528
|
+
}, inputs: { ModalComp: "ModalComp", ModalCompParameters: "ModalCompParameters" }, outputs: { onClose: "onClose" }, features: [i0__namespace.ɵɵ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) {
|
|
1502
1529
|
if (rf & 1) {
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1530
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
1531
|
+
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
1532
|
+
i0__namespace.ɵɵlistener("click", function MagicOverlayContainer_Template_div_click_1_listener() { return ctx.OnBackgroundClick(); });
|
|
1533
|
+
i0__namespace.ɵɵtemplate(2, MagicOverlayContainer_button_2_Template, 2, 0, "button", 1);
|
|
1534
|
+
i0__namespace.ɵɵelementEnd();
|
|
1535
|
+
i0__namespace.ɵɵelementStart(3, "div", 2, 3);
|
|
1536
|
+
i0__namespace.ɵɵtemplate(5, MagicOverlayContainer_div_5_Template, 5, 1, "div", 4);
|
|
1537
|
+
i0__namespace.ɵɵelementStart(6, "div", 5);
|
|
1538
|
+
i0__namespace.ɵɵelement(7, "div", 6, 7);
|
|
1539
|
+
i0__namespace.ɵɵelementEnd();
|
|
1540
|
+
i0__namespace.ɵɵelementEnd();
|
|
1541
|
+
i0__namespace.ɵɵelementEnd();
|
|
1515
1542
|
}
|
|
1516
1543
|
if (rf & 2) {
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
}
|
|
1526
|
-
}, directives: [
|
|
1544
|
+
i0__namespace.ɵɵadvance(2);
|
|
1545
|
+
i0__namespace.ɵɵproperty("ngIf", !ctx.getShowTitleBar());
|
|
1546
|
+
i0__namespace.ɵɵadvance(1);
|
|
1547
|
+
i0__namespace.ɵɵproperty("ngStyle", ctx.getStyle());
|
|
1548
|
+
i0__namespace.ɵɵadvance(2);
|
|
1549
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.getShowTitleBar());
|
|
1550
|
+
i0__namespace.ɵɵadvance(1);
|
|
1551
|
+
i0__namespace.ɵɵproperty("ngStyle", ctx.getClientAreaStyles());
|
|
1552
|
+
}
|
|
1553
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.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}"] });
|
|
1527
1554
|
(function () {
|
|
1528
|
-
|
|
1555
|
+
i0__namespace.ɵsetClassMetadata(MagicOverlayContainer, [{
|
|
1529
1556
|
type: i0.Component,
|
|
1530
1557
|
args: [{
|
|
1531
1558
|
selector: 'app-magic-overlay-container',
|
|
1532
1559
|
template: "\n <div>\n <div class=\"modal-background\" (click)=\"OnBackgroundClick()\">\n <button (click)=\"OnClose()\" tabindex=\"-1\" style=\"float:right; border: none; background-color: transparent; outline: none; color: white\" *ngIf=\"!getShowTitleBar()\">X</button>\n </div>\n <div #modalForeground class=\"modal-foreground\" [ngStyle]=\"getStyle()\">\n <div #modalheader class=\"modal-header\" *ngIf=\"getShowTitleBar()\">\n {{getText()}}\n <button (click)=\"OnClose()\" style=\"float:right\" tabindex=\"-1\">X</button>\n </div>\n <div [ngStyle]=\"getClientAreaStyles()\">\n <div #modalbody magicViewContainerRef>\n </div>\n </div>\n </div>\n </div>\n ",
|
|
1533
1560
|
styleUrls: ['./magic-overlay-container.css']
|
|
1534
1561
|
}]
|
|
1535
|
-
}], function () { return [{ type:
|
|
1562
|
+
}], function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ComponentFactoryResolver }]; }, { headerElementRef: [{
|
|
1536
1563
|
type: i0.ViewChild,
|
|
1537
1564
|
args: ['modalheader', { static: false }]
|
|
1538
1565
|
}], foregroundElementRef: [{
|
|
@@ -1556,9 +1583,9 @@
|
|
|
1556
1583
|
return OverlayContainerMagicProvider;
|
|
1557
1584
|
}());
|
|
1558
1585
|
OverlayContainerMagicProvider.ɵfac = function OverlayContainerMagicProvider_Factory(t) { return new (t || OverlayContainerMagicProvider)(); };
|
|
1559
|
-
OverlayContainerMagicProvider.ɵprov =
|
|
1586
|
+
OverlayContainerMagicProvider.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: OverlayContainerMagicProvider, factory: OverlayContainerMagicProvider.ɵfac });
|
|
1560
1587
|
(function () {
|
|
1561
|
-
|
|
1588
|
+
i0__namespace.ɵsetClassMetadata(OverlayContainerMagicProvider, [{
|
|
1562
1589
|
type: i0.Injectable
|
|
1563
1590
|
}], null, null);
|
|
1564
1591
|
})();
|
|
@@ -1571,33 +1598,33 @@
|
|
|
1571
1598
|
return MagicAlertComponent;
|
|
1572
1599
|
}(BaseMagicAlertComponent));
|
|
1573
1600
|
MagicAlertComponent.ɵfac = function MagicAlertComponent_Factory(t) { return ɵMagicAlertComponent_BaseFactory(t || MagicAlertComponent); };
|
|
1574
|
-
MagicAlertComponent.ɵcmp =
|
|
1601
|
+
MagicAlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MagicAlertComponent, selectors: [["sample-magic-alert-component"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 8, vars: 2, consts: [[1, "mg-message-background"], [3, "click"]], template: function MagicAlertComponent_Template(rf, ctx) {
|
|
1575
1602
|
if (rf & 1) {
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1603
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
1604
|
+
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
1605
|
+
i0__namespace.ɵɵelementStart(2, "h2");
|
|
1606
|
+
i0__namespace.ɵɵtext(3);
|
|
1607
|
+
i0__namespace.ɵɵelementEnd();
|
|
1608
|
+
i0__namespace.ɵɵelementStart(4, "p");
|
|
1609
|
+
i0__namespace.ɵɵtext(5);
|
|
1610
|
+
i0__namespace.ɵɵelementEnd();
|
|
1611
|
+
i0__namespace.ɵɵelementStart(6, "button", 1);
|
|
1612
|
+
i0__namespace.ɵɵlistener("click", function MagicAlertComponent_Template_button_click_6_listener() { return ctx.OnClose(); });
|
|
1613
|
+
i0__namespace.ɵɵtext(7, "OK");
|
|
1614
|
+
i0__namespace.ɵɵelementEnd();
|
|
1615
|
+
i0__namespace.ɵɵelementEnd();
|
|
1616
|
+
i0__namespace.ɵɵelementEnd();
|
|
1590
1617
|
}
|
|
1591
1618
|
if (rf & 2) {
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1619
|
+
i0__namespace.ɵɵadvance(3);
|
|
1620
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.title, "");
|
|
1621
|
+
i0__namespace.ɵɵadvance(2);
|
|
1622
|
+
i0__namespace.ɵɵtextInterpolate1("", ctx.message, " ");
|
|
1596
1623
|
}
|
|
1597
1624
|
}, 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 }"] });
|
|
1598
|
-
var ɵMagicAlertComponent_BaseFactory =
|
|
1625
|
+
var ɵMagicAlertComponent_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(MagicAlertComponent);
|
|
1599
1626
|
(function () {
|
|
1600
|
-
|
|
1627
|
+
i0__namespace.ɵsetClassMetadata(MagicAlertComponent, [{
|
|
1601
1628
|
type: i0.Component,
|
|
1602
1629
|
args: [{
|
|
1603
1630
|
selector: 'sample-magic-alert-component',
|
|
@@ -1615,37 +1642,37 @@
|
|
|
1615
1642
|
return MagicConfirmationBoxComponent;
|
|
1616
1643
|
}(BaseMagicConfirmComponent));
|
|
1617
1644
|
MagicConfirmationBoxComponent.ɵfac = function MagicConfirmationBoxComponent_Factory(t) { return ɵMagicConfirmationBoxComponent_BaseFactory(t || MagicConfirmationBoxComponent); };
|
|
1618
|
-
MagicConfirmationBoxComponent.ɵcmp =
|
|
1645
|
+
MagicConfirmationBoxComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MagicConfirmationBoxComponent, selectors: [["sample-magic-confirmation-box"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 11, vars: 2, consts: [[1, "mg-message-background"], [3, "click"], [1, "cancel", 3, "click"]], template: function MagicConfirmationBoxComponent_Template(rf, ctx) {
|
|
1619
1646
|
if (rf & 1) {
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1647
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
1648
|
+
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
1649
|
+
i0__namespace.ɵɵelementStart(2, "h2");
|
|
1650
|
+
i0__namespace.ɵɵtext(3);
|
|
1651
|
+
i0__namespace.ɵɵelementEnd();
|
|
1652
|
+
i0__namespace.ɵɵtext(4);
|
|
1653
|
+
i0__namespace.ɵɵelement(5, "br");
|
|
1654
|
+
i0__namespace.ɵɵelement(6, "br");
|
|
1655
|
+
i0__namespace.ɵɵelementStart(7, "button", 1);
|
|
1656
|
+
i0__namespace.ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_7_listener() { return ctx.OnClose(true); });
|
|
1657
|
+
i0__namespace.ɵɵtext(8, "OK");
|
|
1658
|
+
i0__namespace.ɵɵelementEnd();
|
|
1659
|
+
i0__namespace.ɵɵelementStart(9, "button", 2);
|
|
1660
|
+
i0__namespace.ɵɵlistener("click", function MagicConfirmationBoxComponent_Template_button_click_9_listener() { return ctx.OnClose(false); });
|
|
1661
|
+
i0__namespace.ɵɵtext(10, "Cancel");
|
|
1662
|
+
i0__namespace.ɵɵelementEnd();
|
|
1663
|
+
i0__namespace.ɵɵelementEnd();
|
|
1664
|
+
i0__namespace.ɵɵelementEnd();
|
|
1638
1665
|
}
|
|
1639
1666
|
if (rf & 2) {
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1667
|
+
i0__namespace.ɵɵadvance(3);
|
|
1668
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.title, "");
|
|
1669
|
+
i0__namespace.ɵɵadvance(1);
|
|
1670
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.message, " ");
|
|
1644
1671
|
}
|
|
1645
1672
|
}, 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 }"] });
|
|
1646
|
-
var ɵMagicConfirmationBoxComponent_BaseFactory =
|
|
1673
|
+
var ɵMagicConfirmationBoxComponent_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(MagicConfirmationBoxComponent);
|
|
1647
1674
|
(function () {
|
|
1648
|
-
|
|
1675
|
+
i0__namespace.ɵsetClassMetadata(MagicConfirmationBoxComponent, [{
|
|
1649
1676
|
type: i0.Component,
|
|
1650
1677
|
args: [{
|
|
1651
1678
|
selector: 'sample-magic-confirmation-box',
|
|
@@ -1670,9 +1697,9 @@
|
|
|
1670
1697
|
return ConfirmationComponentsMagicProvider;
|
|
1671
1698
|
}());
|
|
1672
1699
|
ConfirmationComponentsMagicProvider.ɵfac = function ConfirmationComponentsMagicProvider_Factory(t) { return new (t || ConfirmationComponentsMagicProvider)(); };
|
|
1673
|
-
ConfirmationComponentsMagicProvider.ɵprov =
|
|
1700
|
+
ConfirmationComponentsMagicProvider.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: ConfirmationComponentsMagicProvider, factory: ConfirmationComponentsMagicProvider.ɵfac });
|
|
1674
1701
|
(function () {
|
|
1675
|
-
|
|
1702
|
+
i0__namespace.ɵsetClassMetadata(ConfirmationComponentsMagicProvider, [{
|
|
1676
1703
|
type: i0.Injectable
|
|
1677
1704
|
}], null, null);
|
|
1678
1705
|
})();
|
|
@@ -1747,12 +1774,12 @@
|
|
|
1747
1774
|
};
|
|
1748
1775
|
return OverlayWindowService;
|
|
1749
1776
|
}());
|
|
1750
|
-
OverlayWindowService.ɵfac = function OverlayWindowService_Factory(t) { return new (t || OverlayWindowService)(
|
|
1751
|
-
OverlayWindowService.ɵprov =
|
|
1777
|
+
OverlayWindowService.ɵfac = function OverlayWindowService_Factory(t) { return new (t || OverlayWindowService)(i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(ComponentListMagicService), i0__namespace.ɵɵinject(EngineMagicService), i0__namespace.ɵɵinject(OverlayContainerMagicProvider), i0__namespace.ɵɵinject(ConfirmationComponentsMagicProvider)); };
|
|
1778
|
+
OverlayWindowService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: OverlayWindowService, factory: OverlayWindowService.ɵfac });
|
|
1752
1779
|
(function () {
|
|
1753
|
-
|
|
1780
|
+
i0__namespace.ɵsetClassMetadata(OverlayWindowService, [{
|
|
1754
1781
|
type: i0.Injectable
|
|
1755
|
-
}], function () { return [{ type:
|
|
1782
|
+
}], function () { return [{ type: i0__namespace.ComponentFactoryResolver }, { type: ComponentListMagicService }, { type: EngineMagicService }, { type: OverlayContainerMagicProvider }, { type: ConfirmationComponentsMagicProvider }]; }, null);
|
|
1756
1783
|
})();
|
|
1757
1784
|
var OverlayWindowFocusManager = /** @class */ (function () {
|
|
1758
1785
|
function OverlayWindowFocusManager(rootMagicElement) {
|
|
@@ -2492,10 +2519,10 @@
|
|
|
2492
2519
|
};
|
|
2493
2520
|
return TaskMagicService;
|
|
2494
2521
|
}());
|
|
2495
|
-
TaskMagicService.ɵfac = function TaskMagicService_Factory(t) { return new (t || TaskMagicService)(
|
|
2496
|
-
TaskMagicService.ɵprov =
|
|
2522
|
+
TaskMagicService.ɵfac = function TaskMagicService_Factory(t) { return new (t || TaskMagicService)(i0__namespace.ɵɵinject(EngineMagicService), i0__namespace.ɵɵinject(OverlayWindowService)); };
|
|
2523
|
+
TaskMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: TaskMagicService, factory: TaskMagicService.ɵfac });
|
|
2497
2524
|
(function () {
|
|
2498
|
-
|
|
2525
|
+
i0__namespace.ɵsetClassMetadata(TaskMagicService, [{
|
|
2499
2526
|
type: i0.Injectable
|
|
2500
2527
|
}], function () { return [{ type: EngineMagicService }, { type: OverlayWindowService }]; }, null);
|
|
2501
2528
|
})();
|
|
@@ -2563,10 +2590,10 @@
|
|
|
2563
2590
|
};
|
|
2564
2591
|
return TableMagicService;
|
|
2565
2592
|
}());
|
|
2566
|
-
TableMagicService.ɵfac = function TableMagicService_Factory(t) { return new (t || TableMagicService)(
|
|
2567
|
-
TableMagicService.ɵprov =
|
|
2593
|
+
TableMagicService.ɵfac = function TableMagicService_Factory(t) { return new (t || TableMagicService)(i0__namespace.ɵɵinject(ComponentListMagicService), i0__namespace.ɵɵinject(TaskMagicService)); };
|
|
2594
|
+
TableMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: TableMagicService, factory: TableMagicService.ɵfac });
|
|
2568
2595
|
(function () {
|
|
2569
|
-
|
|
2596
|
+
i0__namespace.ɵsetClassMetadata(TableMagicService, [{
|
|
2570
2597
|
type: i0.Injectable
|
|
2571
2598
|
}], function () { return [{ type: ComponentListMagicService }, { type: TaskMagicService }]; }, null);
|
|
2572
2599
|
})();
|
|
@@ -2580,12 +2607,12 @@
|
|
|
2580
2607
|
};
|
|
2581
2608
|
return TitleMagicService;
|
|
2582
2609
|
}());
|
|
2583
|
-
TitleMagicService.ɵfac = function TitleMagicService_Factory(t) { return new (t || TitleMagicService)(
|
|
2584
|
-
TitleMagicService.ɵprov =
|
|
2610
|
+
TitleMagicService.ɵfac = function TitleMagicService_Factory(t) { return new (t || TitleMagicService)(i0__namespace.ɵɵinject(i1__namespace$1.Title)); };
|
|
2611
|
+
TitleMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: TitleMagicService, factory: TitleMagicService.ɵfac });
|
|
2585
2612
|
(function () {
|
|
2586
|
-
|
|
2613
|
+
i0__namespace.ɵsetClassMetadata(TitleMagicService, [{
|
|
2587
2614
|
type: i0.Injectable
|
|
2588
|
-
}], function () { return [{ type:
|
|
2615
|
+
}], function () { return [{ type: i1__namespace$1.Title }]; }, null);
|
|
2589
2616
|
})();
|
|
2590
2617
|
|
|
2591
2618
|
var AccessorMagicService = /** @class */ (function () {
|
|
@@ -2900,10 +2927,10 @@
|
|
|
2900
2927
|
};
|
|
2901
2928
|
return AccessorMagicService;
|
|
2902
2929
|
}());
|
|
2903
|
-
AccessorMagicService.ɵfac = function AccessorMagicService_Factory(t) { return new (t || AccessorMagicService)(
|
|
2904
|
-
AccessorMagicService.ɵprov =
|
|
2930
|
+
AccessorMagicService.ɵfac = function AccessorMagicService_Factory(t) { return new (t || AccessorMagicService)(i0__namespace.ɵɵinject(TaskMagicService)); };
|
|
2931
|
+
AccessorMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: AccessorMagicService, factory: AccessorMagicService.ɵfac });
|
|
2905
2932
|
(function () {
|
|
2906
|
-
|
|
2933
|
+
i0__namespace.ɵsetClassMetadata(AccessorMagicService, [{
|
|
2907
2934
|
type: i0.Injectable
|
|
2908
2935
|
}], function () { return [{ type: TaskMagicService }]; }, null);
|
|
2909
2936
|
})();
|
|
@@ -2922,10 +2949,10 @@
|
|
|
2922
2949
|
}
|
|
2923
2950
|
return MagicServices;
|
|
2924
2951
|
}());
|
|
2925
|
-
MagicServices.ɵfac = function MagicServices_Factory(t) { return new (t || MagicServices)(
|
|
2926
|
-
MagicServices.ɵprov =
|
|
2952
|
+
MagicServices.ɵfac = function MagicServices_Factory(t) { return new (t || MagicServices)(i0__namespace.ɵɵinject(TaskMagicService), i0__namespace.ɵɵinject(SubformMagicService), i0__namespace.ɵɵinject(TableMagicService), i0__namespace.ɵɵinject(TitleMagicService), i0__namespace.ɵɵinject(AccessorMagicService)); };
|
|
2953
|
+
MagicServices.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: MagicServices, factory: MagicServices.ɵfac });
|
|
2927
2954
|
(function () {
|
|
2928
|
-
|
|
2955
|
+
i0__namespace.ɵsetClassMetadata(MagicServices, [{
|
|
2929
2956
|
type: i0.Injectable
|
|
2930
2957
|
}], function () { return [{ type: TaskMagicService }, { type: SubformMagicService }, { type: TableMagicService }, { type: TitleMagicService }, { type: AccessorMagicService }]; }, null);
|
|
2931
2958
|
})();
|
|
@@ -3013,17 +3040,17 @@
|
|
|
3013
3040
|
};
|
|
3014
3041
|
return TaskBaseMagicComponent;
|
|
3015
3042
|
}());
|
|
3016
|
-
TaskBaseMagicComponent.ɵfac = function TaskBaseMagicComponent_Factory(t) { return new (t || TaskBaseMagicComponent)(
|
|
3017
|
-
TaskBaseMagicComponent.ɵcmp =
|
|
3043
|
+
TaskBaseMagicComponent.ɵfac = function TaskBaseMagicComponent_Factory(t) { return new (t || TaskBaseMagicComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(MagicServices)); };
|
|
3044
|
+
TaskBaseMagicComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TaskBaseMagicComponent, selectors: [["task-magic"]], inputs: { taskIdParam: "taskIdParam", taskDescription: "taskDescription" }, features: [i0__namespace.ɵɵProvidersFeature([TaskMagicService, SubformMagicService, TableMagicService])], decls: 0, vars: 0, template: function TaskBaseMagicComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
3018
3045
|
(function () {
|
|
3019
|
-
|
|
3046
|
+
i0__namespace.ɵsetClassMetadata(TaskBaseMagicComponent, [{
|
|
3020
3047
|
type: i0.Component,
|
|
3021
3048
|
args: [{
|
|
3022
3049
|
selector: 'task-magic',
|
|
3023
3050
|
providers: [TaskMagicService, SubformMagicService, TableMagicService],
|
|
3024
3051
|
template: ''
|
|
3025
3052
|
}]
|
|
3026
|
-
}], function () { return [{ type:
|
|
3053
|
+
}], function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: MagicServices }]; }, { taskIdParam: [{
|
|
3027
3054
|
type: i0.Input
|
|
3028
3055
|
}], taskDescription: [{
|
|
3029
3056
|
type: i0.Input
|
|
@@ -3066,19 +3093,19 @@
|
|
|
3066
3093
|
};
|
|
3067
3094
|
return RowMagicDirective;
|
|
3068
3095
|
}());
|
|
3069
|
-
RowMagicDirective.ɵfac = function RowMagicDirective_Factory(t) { return new (t || RowMagicDirective)(
|
|
3070
|
-
RowMagicDirective.ɵdir =
|
|
3096
|
+
RowMagicDirective.ɵfac = function RowMagicDirective_Factory(t) { return new (t || RowMagicDirective)(i0__namespace.ɵɵdirectiveInject(TaskMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); };
|
|
3097
|
+
RowMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: RowMagicDirective, selectors: [["", "magicRow", ""]], hostBindings: function RowMagicDirective_HostBindings(rf, ctx) {
|
|
3071
3098
|
if (rf & 1) {
|
|
3072
|
-
|
|
3099
|
+
i0__namespace.ɵɵlistener("click", function RowMagicDirective_click_HostBindingHandler($event) { return ctx.onClick($event); });
|
|
3073
3100
|
}
|
|
3074
3101
|
}, inputs: { rowId: ["magicRow", "rowId"] } });
|
|
3075
3102
|
(function () {
|
|
3076
|
-
|
|
3103
|
+
i0__namespace.ɵsetClassMetadata(RowMagicDirective, [{
|
|
3077
3104
|
type: i0.Directive,
|
|
3078
3105
|
args: [{
|
|
3079
3106
|
selector: '[magicRow]'
|
|
3080
3107
|
}]
|
|
3081
|
-
}], function () { return [{ type: TaskMagicService }, { type:
|
|
3108
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0__namespace.ElementRef }]; }, { rowId: [{
|
|
3082
3109
|
type: i0.Input,
|
|
3083
3110
|
args: ['magicRow']
|
|
3084
3111
|
}], onClick: [{
|
|
@@ -3277,16 +3304,16 @@
|
|
|
3277
3304
|
}());
|
|
3278
3305
|
MagicDirective.opened = false;
|
|
3279
3306
|
MagicDirective.noOfAutoCompleteBoxesOpened = 0;
|
|
3280
|
-
MagicDirective.ɵfac = function MagicDirective_Factory(t) { return new (t || MagicDirective)(
|
|
3281
|
-
MagicDirective.ɵdir =
|
|
3307
|
+
MagicDirective.ɵfac = function MagicDirective_Factory(t) { return new (t || MagicDirective)(i0__namespace.ɵɵdirectiveInject(TaskMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Renderer2), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(RowMagicDirective, 8)); };
|
|
3308
|
+
MagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", rowId: "rowId" } });
|
|
3282
3309
|
(function () {
|
|
3283
|
-
|
|
3310
|
+
i0__namespace.ɵsetClassMetadata(MagicDirective, [{
|
|
3284
3311
|
type: i0.Directive,
|
|
3285
3312
|
args: [{
|
|
3286
3313
|
selector: '[magic]'
|
|
3287
3314
|
}]
|
|
3288
3315
|
}], function () {
|
|
3289
|
-
return [{ type: TaskMagicService }, { type:
|
|
3316
|
+
return [{ type: TaskMagicService }, { type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }, { type: i0__namespace.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
|
3290
3317
|
type: i0.Optional
|
|
3291
3318
|
}] }];
|
|
3292
3319
|
}, { magic: [{
|
|
@@ -3485,16 +3512,16 @@
|
|
|
3485
3512
|
};
|
|
3486
3513
|
return NoControlMagicDirective;
|
|
3487
3514
|
}(MagicDirective));
|
|
3488
|
-
NoControlMagicDirective.ɵfac = function NoControlMagicDirective_Factory(t) { return new (t || NoControlMagicDirective)(
|
|
3489
|
-
NoControlMagicDirective.ɵdir =
|
|
3515
|
+
NoControlMagicDirective.ɵfac = function NoControlMagicDirective_Factory(t) { return new (t || NoControlMagicDirective)(i0__namespace.ɵɵdirectiveInject(TaskMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Renderer2), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(RowMagicDirective, 8)); };
|
|
3516
|
+
NoControlMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: NoControlMagicDirective, selectors: [["", "magicnc", ""]], inputs: { magic: ["magicnc", "magic"] }, features: [i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
3490
3517
|
(function () {
|
|
3491
|
-
|
|
3518
|
+
i0__namespace.ɵsetClassMetadata(NoControlMagicDirective, [{
|
|
3492
3519
|
type: i0.Directive,
|
|
3493
3520
|
args: [{
|
|
3494
3521
|
selector: '[magicnc]'
|
|
3495
3522
|
}]
|
|
3496
3523
|
}], function () {
|
|
3497
|
-
return [{ type: TaskMagicService }, { type:
|
|
3524
|
+
return [{ type: TaskMagicService }, { type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }, { type: i0__namespace.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
|
3498
3525
|
type: i0.Optional
|
|
3499
3526
|
}] }];
|
|
3500
3527
|
}, { magic: [{
|
|
@@ -3536,10 +3563,10 @@
|
|
|
3536
3563
|
};
|
|
3537
3564
|
return DateMagicPipe;
|
|
3538
3565
|
}(i1.DatePipe));
|
|
3539
|
-
DateMagicPipe.ɵfac = function DateMagicPipe_Factory(t) { return new (t || DateMagicPipe)(
|
|
3540
|
-
DateMagicPipe.ɵpipe =
|
|
3566
|
+
DateMagicPipe.ɵfac = function DateMagicPipe_Factory(t) { return new (t || DateMagicPipe)(i0__namespace.ɵɵdirectiveInject(TaskMagicService)); };
|
|
3567
|
+
DateMagicPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "magicDate", type: DateMagicPipe, pure: true });
|
|
3541
3568
|
(function () {
|
|
3542
|
-
|
|
3569
|
+
i0__namespace.ɵsetClassMetadata(DateMagicPipe, [{
|
|
3543
3570
|
type: i0.Pipe,
|
|
3544
3571
|
args: [{
|
|
3545
3572
|
name: 'magicDate'
|
|
@@ -3812,14 +3839,14 @@
|
|
|
3812
3839
|
};
|
|
3813
3840
|
return MgformatMagicDirective;
|
|
3814
3841
|
}());
|
|
3815
|
-
MgformatMagicDirective.ɵfac = function MgformatMagicDirective_Factory(t) { return new (t || MgformatMagicDirective)(
|
|
3816
|
-
MgformatMagicDirective.ɵdir =
|
|
3842
|
+
MgformatMagicDirective.ɵfac = function MgformatMagicDirective_Factory(t) { return new (t || MgformatMagicDirective)(i0__namespace.ɵɵdirectiveInject(MagicDirective), i0__namespace.ɵɵdirectiveInject(TaskMagicService)); };
|
|
3843
|
+
MgformatMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: MgformatMagicDirective, selectors: [["", "mgFormat", ""]], hostBindings: function MgformatMagicDirective_HostBindings(rf, ctx) {
|
|
3817
3844
|
if (rf & 1) {
|
|
3818
|
-
|
|
3845
|
+
i0__namespace.ɵɵlistener("focus", function MgformatMagicDirective_focus_HostBindingHandler($event) { return ctx.onFocusEvent($event); })("change", function MgformatMagicDirective_change_HostBindingHandler($event) { return ctx.onChangeEvent($event); });
|
|
3819
3846
|
}
|
|
3820
3847
|
} });
|
|
3821
3848
|
(function () {
|
|
3822
|
-
|
|
3849
|
+
i0__namespace.ɵsetClassMetadata(MgformatMagicDirective, [{
|
|
3823
3850
|
type: i0.Directive,
|
|
3824
3851
|
args: [{
|
|
3825
3852
|
selector: '[mgFormat]'
|
|
@@ -3871,10 +3898,10 @@
|
|
|
3871
3898
|
};
|
|
3872
3899
|
return TimeMagicPipe;
|
|
3873
3900
|
}(i1.DatePipe));
|
|
3874
|
-
TimeMagicPipe.ɵfac = function TimeMagicPipe_Factory(t) { return new (t || TimeMagicPipe)(
|
|
3875
|
-
TimeMagicPipe.ɵpipe =
|
|
3901
|
+
TimeMagicPipe.ɵfac = function TimeMagicPipe_Factory(t) { return new (t || TimeMagicPipe)(i0__namespace.ɵɵdirectiveInject(TaskMagicService)); };
|
|
3902
|
+
TimeMagicPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "magicTime", type: TimeMagicPipe, pure: true });
|
|
3876
3903
|
(function () {
|
|
3877
|
-
|
|
3904
|
+
i0__namespace.ɵsetClassMetadata(TimeMagicPipe, [{
|
|
3878
3905
|
type: i0.Pipe,
|
|
3879
3906
|
args: [{
|
|
3880
3907
|
name: 'magicTime'
|
|
@@ -3914,8 +3941,8 @@
|
|
|
3914
3941
|
};
|
|
3915
3942
|
return RangeValidatorMagicDirective;
|
|
3916
3943
|
}());
|
|
3917
|
-
RangeValidatorMagicDirective.ɵfac = function RangeValidatorMagicDirective_Factory(t) { return new (t || RangeValidatorMagicDirective)(
|
|
3918
|
-
RangeValidatorMagicDirective.ɵdir =
|
|
3944
|
+
RangeValidatorMagicDirective.ɵfac = function RangeValidatorMagicDirective_Factory(t) { return new (t || RangeValidatorMagicDirective)(i0__namespace.ɵɵdirectiveInject(TaskMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef)); };
|
|
3945
|
+
RangeValidatorMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: RangeValidatorMagicDirective, selectors: [["", "rangevalidator", ""]], features: [i0__namespace.ɵɵProvidersFeature([
|
|
3919
3946
|
{
|
|
3920
3947
|
provide: forms.NG_VALIDATORS,
|
|
3921
3948
|
useExisting: RangeValidatorMagicDirective,
|
|
@@ -3923,7 +3950,7 @@
|
|
|
3923
3950
|
}
|
|
3924
3951
|
])] });
|
|
3925
3952
|
(function () {
|
|
3926
|
-
|
|
3953
|
+
i0__namespace.ɵsetClassMetadata(RangeValidatorMagicDirective, [{
|
|
3927
3954
|
type: i0.Directive,
|
|
3928
3955
|
args: [{
|
|
3929
3956
|
selector: '[rangevalidator] ',
|
|
@@ -3935,16 +3962,16 @@
|
|
|
3935
3962
|
}
|
|
3936
3963
|
]
|
|
3937
3964
|
}]
|
|
3938
|
-
}], function () { return [{ type: TaskMagicService }, { type:
|
|
3965
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0__namespace.ViewContainerRef }]; }, null);
|
|
3939
3966
|
})();
|
|
3940
3967
|
|
|
3941
3968
|
function SubformMagicComponent_ndc_dynamic_0_Template(rf, ctx) {
|
|
3942
3969
|
if (rf & 1) {
|
|
3943
|
-
|
|
3970
|
+
i0__namespace.ɵɵelement(0, "ndc-dynamic", 1);
|
|
3944
3971
|
}
|
|
3945
3972
|
if (rf & 2) {
|
|
3946
|
-
var ctx_r0 =
|
|
3947
|
-
|
|
3973
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
3974
|
+
i0__namespace.ɵɵproperty("ndcDynamicComponent", ctx_r0.Component)("ndcDynamicInputs", ctx_r0.Parameters);
|
|
3948
3975
|
}
|
|
3949
3976
|
}
|
|
3950
3977
|
var SubformMagicComponent = /** @class */ (function () {
|
|
@@ -3976,57 +4003,57 @@
|
|
|
3976
4003
|
});
|
|
3977
4004
|
return SubformMagicComponent;
|
|
3978
4005
|
}());
|
|
3979
|
-
SubformMagicComponent.ɵfac = function SubformMagicComponent_Factory(t) { return new (t || SubformMagicComponent)(
|
|
3980
|
-
SubformMagicComponent.ɵcmp =
|
|
4006
|
+
SubformMagicComponent.ɵfac = function SubformMagicComponent_Factory(t) { return new (t || SubformMagicComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef), i0__namespace.ɵɵdirectiveInject(SubformMagicService)); };
|
|
4007
|
+
SubformMagicComponent.ɵcmp = i0__namespace.ɵɵ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) {
|
|
3981
4008
|
if (rf & 1) {
|
|
3982
|
-
|
|
4009
|
+
i0__namespace.ɵɵtemplate(0, SubformMagicComponent_ndc_dynamic_0_Template, 1, 2, "ndc-dynamic", 0);
|
|
3983
4010
|
}
|
|
3984
4011
|
if (rf & 2) {
|
|
3985
|
-
|
|
4012
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.Component);
|
|
3986
4013
|
}
|
|
3987
|
-
}, directives: [
|
|
4014
|
+
}, directives: [i1__namespace.NgIf, i3__namespace.DynamicComponent, i3__namespace.DynamicIoDirective], encapsulation: 2 });
|
|
3988
4015
|
(function () {
|
|
3989
|
-
|
|
4016
|
+
i0__namespace.ɵsetClassMetadata(SubformMagicComponent, [{
|
|
3990
4017
|
type: i0.Component,
|
|
3991
4018
|
args: [{
|
|
3992
4019
|
selector: 'magic-subform',
|
|
3993
4020
|
template: "\n <ndc-dynamic\n *ngIf=\"Component\" \n [ndcDynamicComponent]=\"Component\" \n [ndcDynamicInputs]=\"Parameters\">\n </ndc-dynamic>\n"
|
|
3994
4021
|
}]
|
|
3995
|
-
}], function () { return [{ type:
|
|
4022
|
+
}], function () { return [{ type: i0__namespace.ViewContainerRef }, { type: SubformMagicService }]; }, { magic: [{
|
|
3996
4023
|
type: i0.Input,
|
|
3997
4024
|
args: ['magic']
|
|
3998
4025
|
}] });
|
|
3999
4026
|
})();
|
|
4000
4027
|
|
|
4001
|
-
var _c0$
|
|
4028
|
+
var _c0$1 = ["customContent"];
|
|
4002
4029
|
function ErrorMagicComponent_div_0_span_4_Template(rf, ctx) {
|
|
4003
4030
|
if (rf & 1) {
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4031
|
+
i0__namespace.ɵɵelementStart(0, "span");
|
|
4032
|
+
i0__namespace.ɵɵtext(1);
|
|
4033
|
+
i0__namespace.ɵɵelementEnd();
|
|
4007
4034
|
}
|
|
4008
4035
|
if (rf & 2) {
|
|
4009
|
-
var ctx_r2 =
|
|
4010
|
-
|
|
4011
|
-
|
|
4036
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
4037
|
+
i0__namespace.ɵɵadvance(1);
|
|
4038
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r2.mgService.getErrMsg(ctx_r2.id, ctx_r2.rowId), " ");
|
|
4012
4039
|
}
|
|
4013
4040
|
}
|
|
4014
4041
|
function ErrorMagicComponent_div_0_Template(rf, ctx) {
|
|
4015
4042
|
if (rf & 1) {
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4043
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
4044
|
+
i0__namespace.ɵɵelementStart(1, "div", null, 1);
|
|
4045
|
+
i0__namespace.ɵɵprojection(3);
|
|
4046
|
+
i0__namespace.ɵɵelementEnd();
|
|
4047
|
+
i0__namespace.ɵɵtemplate(4, ErrorMagicComponent_div_0_span_4_Template, 2, 1, "span", 0);
|
|
4048
|
+
i0__namespace.ɵɵelementEnd();
|
|
4022
4049
|
}
|
|
4023
4050
|
if (rf & 2) {
|
|
4024
|
-
var ctx_r0 =
|
|
4025
|
-
|
|
4026
|
-
|
|
4051
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
4052
|
+
i0__namespace.ɵɵadvance(4);
|
|
4053
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.defaultDisplay);
|
|
4027
4054
|
}
|
|
4028
4055
|
}
|
|
4029
|
-
var _c1
|
|
4056
|
+
var _c1 = ["*"];
|
|
4030
4057
|
var ErrorMagicComponent = /** @class */ (function () {
|
|
4031
4058
|
function ErrorMagicComponent(_task, mgService, changeDetectorRef) {
|
|
4032
4059
|
this._task = _task;
|
|
@@ -4103,32 +4130,32 @@
|
|
|
4103
4130
|
};
|
|
4104
4131
|
return ErrorMagicComponent;
|
|
4105
4132
|
}());
|
|
4106
|
-
ErrorMagicComponent.ɵfac = function ErrorMagicComponent_Factory(t) { return new (t || ErrorMagicComponent)(
|
|
4107
|
-
ErrorMagicComponent.ɵcmp =
|
|
4133
|
+
ErrorMagicComponent.ɵfac = function ErrorMagicComponent_Factory(t) { return new (t || ErrorMagicComponent)(i0__namespace.ɵɵdirectiveInject(TaskMagicService), i0__namespace.ɵɵdirectiveInject(AccessorMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
|
|
4134
|
+
ErrorMagicComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ErrorMagicComponent, selectors: [["mgError"]], viewQuery: function ErrorMagicComponent_Query(rf, ctx) {
|
|
4108
4135
|
if (rf & 1) {
|
|
4109
|
-
|
|
4136
|
+
i0__namespace.ɵɵviewQuery(_c0$1, true);
|
|
4110
4137
|
}
|
|
4111
4138
|
if (rf & 2) {
|
|
4112
4139
|
var _t;
|
|
4113
|
-
|
|
4140
|
+
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.CustomContent = _t.first);
|
|
4114
4141
|
}
|
|
4115
|
-
}, inputs: { magic: "magic", rowId1: ["rowId", "rowId1"] }, ngContentSelectors: _c1
|
|
4142
|
+
}, inputs: { magic: "magic", rowId1: ["rowId", "rowId1"] }, ngContentSelectors: _c1, decls: 1, vars: 1, consts: [[4, "ngIf"], ["customContent", ""]], template: function ErrorMagicComponent_Template(rf, ctx) {
|
|
4116
4143
|
if (rf & 1) {
|
|
4117
|
-
|
|
4118
|
-
|
|
4144
|
+
i0__namespace.ɵɵprojectionDef();
|
|
4145
|
+
i0__namespace.ɵɵtemplate(0, ErrorMagicComponent_div_0_Template, 5, 1, "div", 0);
|
|
4119
4146
|
}
|
|
4120
4147
|
if (rf & 2) {
|
|
4121
|
-
|
|
4148
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.HasErrors(ctx.id));
|
|
4122
4149
|
}
|
|
4123
|
-
}, directives: [
|
|
4150
|
+
}, directives: [i1__namespace.NgIf], encapsulation: 2 });
|
|
4124
4151
|
(function () {
|
|
4125
|
-
|
|
4152
|
+
i0__namespace.ɵsetClassMetadata(ErrorMagicComponent, [{
|
|
4126
4153
|
type: i0.Component,
|
|
4127
4154
|
args: [{
|
|
4128
4155
|
selector: 'mgError',
|
|
4129
4156
|
template: "<div *ngIf=\"HasErrors(id)\">\n <div #customContent>\n <ng-content></ng-content>\n </div>\n <span *ngIf=\"defaultDisplay\">\n {{mgService.getErrMsg(id, rowId)}} \n </span>\n </div>\n"
|
|
4130
4157
|
}]
|
|
4131
|
-
}], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type:
|
|
4158
|
+
}], function () { return [{ type: TaskMagicService }, { type: AccessorMagicService }, { type: i0__namespace.ChangeDetectorRef }]; }, { magic: [{
|
|
4132
4159
|
type: i0.Input,
|
|
4133
4160
|
args: ['magic']
|
|
4134
4161
|
}], rowId1: [{
|
|
@@ -4149,14 +4176,14 @@
|
|
|
4149
4176
|
};
|
|
4150
4177
|
return CheckboxMagicDirective;
|
|
4151
4178
|
}());
|
|
4152
|
-
CheckboxMagicDirective.ɵfac = function CheckboxMagicDirective_Factory(t) { return new (t || CheckboxMagicDirective)(
|
|
4153
|
-
CheckboxMagicDirective.ɵdir =
|
|
4179
|
+
CheckboxMagicDirective.ɵfac = function CheckboxMagicDirective_Factory(t) { return new (t || CheckboxMagicDirective)(i0__namespace.ɵɵdirectiveInject(MagicDirective)); };
|
|
4180
|
+
CheckboxMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: CheckboxMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", 3, "noFormControl", ""]], hostBindings: function CheckboxMagicDirective_HostBindings(rf, ctx) {
|
|
4154
4181
|
if (rf & 1) {
|
|
4155
|
-
|
|
4182
|
+
i0__namespace.ɵɵlistener("change", function CheckboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
4156
4183
|
}
|
|
4157
4184
|
} });
|
|
4158
4185
|
(function () {
|
|
4159
|
-
|
|
4186
|
+
i0__namespace.ɵsetClassMetadata(CheckboxMagicDirective, [{
|
|
4160
4187
|
type: i0.Directive,
|
|
4161
4188
|
args: [{
|
|
4162
4189
|
selector: "\n input[type=checkbox][magic]:not([noFormControl])\n",
|
|
@@ -4176,14 +4203,14 @@
|
|
|
4176
4203
|
};
|
|
4177
4204
|
return ComboboxMagicDirective;
|
|
4178
4205
|
}());
|
|
4179
|
-
ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(
|
|
4180
|
-
ComboboxMagicDirective.ɵdir =
|
|
4206
|
+
ComboboxMagicDirective.ɵfac = function ComboboxMagicDirective_Factory(t) { return new (t || ComboboxMagicDirective)(i0__namespace.ɵɵdirectiveInject(MagicDirective)); };
|
|
4207
|
+
ComboboxMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: ComboboxMagicDirective, selectors: [["select", "magic", "", 3, "multiple", ""]], hostBindings: function ComboboxMagicDirective_HostBindings(rf, ctx) {
|
|
4181
4208
|
if (rf & 1) {
|
|
4182
|
-
|
|
4209
|
+
i0__namespace.ɵɵlistener("change", function ComboboxMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
4183
4210
|
}
|
|
4184
4211
|
} });
|
|
4185
4212
|
(function () {
|
|
4186
|
-
|
|
4213
|
+
i0__namespace.ɵsetClassMetadata(ComboboxMagicDirective, [{
|
|
4187
4214
|
type: i0.Directive,
|
|
4188
4215
|
args: [{
|
|
4189
4216
|
selector: "select[magic]:not([multiple])",
|
|
@@ -4203,39 +4230,39 @@
|
|
|
4203
4230
|
return ExitMagicService;
|
|
4204
4231
|
}());
|
|
4205
4232
|
ExitMagicService.ɵfac = function ExitMagicService_Factory(t) { return new (t || ExitMagicService)(); };
|
|
4206
|
-
ExitMagicService.ɵprov =
|
|
4233
|
+
ExitMagicService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: ExitMagicService, factory: ExitMagicService.ɵfac });
|
|
4207
4234
|
(function () {
|
|
4208
|
-
|
|
4235
|
+
i0__namespace.ɵsetClassMetadata(ExitMagicService, [{
|
|
4209
4236
|
type: i0.Injectable
|
|
4210
4237
|
}], null, null);
|
|
4211
4238
|
})();
|
|
4212
4239
|
|
|
4213
|
-
var _c0
|
|
4240
|
+
var _c0 = ["magicRoot"];
|
|
4214
4241
|
function MagicShellComponent_ndc_dynamic_2_Template(rf, ctx) {
|
|
4215
4242
|
if (rf & 1) {
|
|
4216
|
-
|
|
4243
|
+
i0__namespace.ɵɵelement(0, "ndc-dynamic", 6);
|
|
4217
4244
|
}
|
|
4218
4245
|
if (rf & 2) {
|
|
4219
|
-
var ctx_r1 =
|
|
4220
|
-
|
|
4246
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
4247
|
+
i0__namespace.ɵɵproperty("ndcDynamicComponent", ctx_r1.RootComponent)("ndcDynamicInputs", ctx_r1.RootComponentParameters);
|
|
4221
4248
|
}
|
|
4222
4249
|
}
|
|
4223
4250
|
function MagicShellComponent_div_5_Template(rf, ctx) {
|
|
4224
4251
|
if (rf & 1) {
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4252
|
+
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
4253
|
+
i0__namespace.ɵɵelementContainer(1, 8);
|
|
4254
|
+
i0__namespace.ɵɵelementEnd();
|
|
4228
4255
|
}
|
|
4229
4256
|
if (rf & 2) {
|
|
4230
|
-
var ctx_r3 =
|
|
4231
|
-
var _r4 =
|
|
4232
|
-
|
|
4233
|
-
|
|
4257
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
4258
|
+
var _r4 = i0__namespace.ɵɵreference(7);
|
|
4259
|
+
i0__namespace.ɵɵadvance(1);
|
|
4260
|
+
i0__namespace.ɵɵproperty("ngTemplateOutlet", ctx_r3.SpinnerTemplate ? ctx_r3.SpinnerTemplate : _r4);
|
|
4234
4261
|
}
|
|
4235
4262
|
}
|
|
4236
4263
|
function MagicShellComponent_ng_template_6_Template(rf, ctx) {
|
|
4237
4264
|
if (rf & 1) {
|
|
4238
|
-
|
|
4265
|
+
i0__namespace.ɵɵelement(0, "div", 9);
|
|
4239
4266
|
}
|
|
4240
4267
|
}
|
|
4241
4268
|
var MagicShellComponent = /** @class */ (function () {
|
|
@@ -4343,37 +4370,37 @@
|
|
|
4343
4370
|
};
|
|
4344
4371
|
return MagicShellComponent;
|
|
4345
4372
|
}());
|
|
4346
|
-
MagicShellComponent.ɵfac = function MagicShellComponent_Factory(t) { return new (t || MagicShellComponent)(
|
|
4347
|
-
MagicShellComponent.ɵcmp =
|
|
4373
|
+
MagicShellComponent.ɵfac = function MagicShellComponent_Factory(t) { return new (t || MagicShellComponent)(i0__namespace.ɵɵdirectiveInject(EngineMagicService), i0__namespace.ɵɵdirectiveInject(ComponentListMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Title), i0__namespace.ɵɵdirectiveInject(OverlayWindowService), i0__namespace.ɵɵdirectiveInject(i5__namespace.HttpClient), i0__namespace.ɵɵdirectiveInject(CommandsCollectorMagicService), i0__namespace.ɵɵdirectiveInject(ExitMagicService, 8)); };
|
|
4374
|
+
MagicShellComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MagicShellComponent, selectors: [["magic-root"]], viewQuery: function MagicShellComponent_Query(rf, ctx) {
|
|
4348
4375
|
if (rf & 1) {
|
|
4349
|
-
|
|
4376
|
+
i0__namespace.ɵɵstaticViewQuery(_c0, true);
|
|
4350
4377
|
}
|
|
4351
4378
|
if (rf & 2) {
|
|
4352
4379
|
var _t;
|
|
4353
|
-
|
|
4380
|
+
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.rootMagicElementRef = _t.first);
|
|
4354
4381
|
}
|
|
4355
4382
|
}, hostBindings: function MagicShellComponent_HostBindings(rf, ctx) {
|
|
4356
4383
|
if (rf & 1) {
|
|
4357
|
-
|
|
4384
|
+
i0__namespace.ɵɵlistener("beforeunload", function MagicShellComponent_beforeunload_HostBindingHandler($event) { return ctx.onBeforeUnload($event); }, false, i0__namespace.ɵɵresolveWindow)("unload", function MagicShellComponent_unload_HostBindingHandler($event) { return ctx.onUnload($event); }, false, i0__namespace.ɵɵresolveWindow);
|
|
4358
4385
|
}
|
|
4359
|
-
}, inputs: { SpinnerTemplate: "SpinnerTemplate" }, features: [
|
|
4386
|
+
}, inputs: { SpinnerTemplate: "SpinnerTemplate" }, features: [i0__namespace.ɵɵ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) {
|
|
4360
4387
|
if (rf & 1) {
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4388
|
+
i0__namespace.ɵɵelementStart(0, "div", null, 0);
|
|
4389
|
+
i0__namespace.ɵɵtemplate(2, MagicShellComponent_ndc_dynamic_2_Template, 1, 2, "ndc-dynamic", 1);
|
|
4390
|
+
i0__namespace.ɵɵelement(3, "div", 2, 3);
|
|
4391
|
+
i0__namespace.ɵɵelementEnd();
|
|
4392
|
+
i0__namespace.ɵɵtemplate(5, MagicShellComponent_div_5_Template, 2, 1, "div", 4);
|
|
4393
|
+
i0__namespace.ɵɵtemplate(6, MagicShellComponent_ng_template_6_Template, 1, 0, "ng-template", null, 5, i0__namespace.ɵɵtemplateRefExtractor);
|
|
4367
4394
|
}
|
|
4368
4395
|
if (rf & 2) {
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4396
|
+
i0__namespace.ɵɵadvance(2);
|
|
4397
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.RootComponent !== null);
|
|
4398
|
+
i0__namespace.ɵɵadvance(3);
|
|
4399
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.showSpinner);
|
|
4373
4400
|
}
|
|
4374
|
-
}, directives: [
|
|
4401
|
+
}, directives: [i1__namespace.NgIf, MagicViewContainerRef, i3__namespace.DynamicComponent, i3__namespace.DynamicIoDirective, i1__namespace.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 }"] });
|
|
4375
4402
|
(function () {
|
|
4376
|
-
|
|
4403
|
+
i0__namespace.ɵsetClassMetadata(MagicShellComponent, [{
|
|
4377
4404
|
type: i0.Component,
|
|
4378
4405
|
args: [{
|
|
4379
4406
|
selector: 'magic-root',
|
|
@@ -4382,7 +4409,7 @@
|
|
|
4382
4409
|
styles: ["\n .mgSpinnerClass {\n border: 10px solid #cccccc; /* Light grey */\n border-top: 10px solid black; /* Blue */\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 {\n /* background fixed across whole screen */\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 }\n "]
|
|
4383
4410
|
}]
|
|
4384
4411
|
}], function () {
|
|
4385
|
-
return [{ type: EngineMagicService }, { type: ComponentListMagicService }, { type:
|
|
4412
|
+
return [{ type: EngineMagicService }, { type: ComponentListMagicService }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.Title }, { type: OverlayWindowService }, { type: i5__namespace.HttpClient }, { type: CommandsCollectorMagicService }, { type: ExitMagicService, decorators: [{
|
|
4386
4413
|
type: i0.Optional
|
|
4387
4414
|
}] }];
|
|
4388
4415
|
}, { rootMagicElementRef: [{
|
|
@@ -4412,14 +4439,14 @@
|
|
|
4412
4439
|
return MagicCheckboxControlValueAccessor;
|
|
4413
4440
|
}(forms.CheckboxControlValueAccessor));
|
|
4414
4441
|
MagicCheckboxControlValueAccessor.ɵfac = function MagicCheckboxControlValueAccessor_Factory(t) { return ɵMagicCheckboxControlValueAccessor_BaseFactory(t || MagicCheckboxControlValueAccessor); };
|
|
4415
|
-
MagicCheckboxControlValueAccessor.ɵdir =
|
|
4442
|
+
MagicCheckboxControlValueAccessor.ɵdir = i0__namespace.ɵɵ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) {
|
|
4416
4443
|
if (rf & 1) {
|
|
4417
|
-
|
|
4444
|
+
i0__namespace.ɵɵlistener("change", function MagicCheckboxControlValueAccessor_change_HostBindingHandler($event) { return ctx.onChange($event.target.checked); })("blur", function MagicCheckboxControlValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
|
|
4418
4445
|
}
|
|
4419
|
-
}, features: [
|
|
4420
|
-
var ɵMagicCheckboxControlValueAccessor_BaseFactory =
|
|
4446
|
+
}, features: [i0__namespace.ɵɵProvidersFeature([CHECKBOX_VALUE_ACCESSOR]), i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
4447
|
+
var ɵMagicCheckboxControlValueAccessor_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(MagicCheckboxControlValueAccessor);
|
|
4421
4448
|
(function () {
|
|
4422
|
-
|
|
4449
|
+
i0__namespace.ɵsetClassMetadata(MagicCheckboxControlValueAccessor, [{
|
|
4423
4450
|
type: i0.Directive,
|
|
4424
4451
|
args: [{
|
|
4425
4452
|
selector: "\n input[type=checkbox][magic]:not([formControlName]):not([no-form-control]),\n input[type=checkbox][magic]:not([formControl]),\n input[type=checkbox][magic]:not([ngModel])\n ",
|
|
@@ -4442,14 +4469,14 @@
|
|
|
4442
4469
|
return MagicDefaultValueAccessor;
|
|
4443
4470
|
}(forms.DefaultValueAccessor));
|
|
4444
4471
|
MagicDefaultValueAccessor.ɵfac = function MagicDefaultValueAccessor_Factory(t) { return ɵMagicDefaultValueAccessor_BaseFactory(t || MagicDefaultValueAccessor); };
|
|
4445
|
-
MagicDefaultValueAccessor.ɵdir =
|
|
4472
|
+
MagicDefaultValueAccessor.ɵdir = i0__namespace.ɵɵ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) {
|
|
4446
4473
|
if (rf & 1) {
|
|
4447
|
-
|
|
4474
|
+
i0__namespace.ɵɵ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); });
|
|
4448
4475
|
}
|
|
4449
|
-
}, exportAs: ["magic"], features: [
|
|
4450
|
-
var ɵMagicDefaultValueAccessor_BaseFactory =
|
|
4476
|
+
}, exportAs: ["magic"], features: [i0__namespace.ɵɵProvidersFeature([MAGIC_DEFAULT_VALUE_ACCESSOR]), i0__namespace.ɵɵInheritDefinitionFeature] });
|
|
4477
|
+
var ɵMagicDefaultValueAccessor_BaseFactory = i0__namespace.ɵɵgetInheritedFactory(MagicDefaultValueAccessor);
|
|
4451
4478
|
(function () {
|
|
4452
|
-
|
|
4479
|
+
i0__namespace.ɵsetClassMetadata(MagicDefaultValueAccessor, [{
|
|
4453
4480
|
type: i0.Directive,
|
|
4454
4481
|
args: [{
|
|
4455
4482
|
selector: "\n input[magic]:not([type=checkbox]):not([formControlName]):not([no-form-control]),\n textarea[magic]:not([formControlName]):not([noFormControl]):not([no-form-control])\n ",
|
|
@@ -4474,14 +4501,14 @@
|
|
|
4474
4501
|
};
|
|
4475
4502
|
return CheckboxNoFormControlMagicDirective;
|
|
4476
4503
|
}());
|
|
4477
|
-
CheckboxNoFormControlMagicDirective.ɵfac = function CheckboxNoFormControlMagicDirective_Factory(t) { return new (t || CheckboxNoFormControlMagicDirective)(
|
|
4478
|
-
CheckboxNoFormControlMagicDirective.ɵdir =
|
|
4504
|
+
CheckboxNoFormControlMagicDirective.ɵfac = function CheckboxNoFormControlMagicDirective_Factory(t) { return new (t || CheckboxNoFormControlMagicDirective)(i0__namespace.ɵɵdirectiveInject(MagicDirective)); };
|
|
4505
|
+
CheckboxNoFormControlMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: CheckboxNoFormControlMagicDirective, selectors: [["input", "type", "checkbox", "magic", "", "noFormControl", ""]], hostBindings: function CheckboxNoFormControlMagicDirective_HostBindings(rf, ctx) {
|
|
4479
4506
|
if (rf & 1) {
|
|
4480
|
-
|
|
4507
|
+
i0__namespace.ɵɵlistener("change", function CheckboxNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
4481
4508
|
}
|
|
4482
4509
|
} });
|
|
4483
4510
|
(function () {
|
|
4484
|
-
|
|
4511
|
+
i0__namespace.ɵsetClassMetadata(CheckboxNoFormControlMagicDirective, [{
|
|
4485
4512
|
type: i0.Directive,
|
|
4486
4513
|
args: [{
|
|
4487
4514
|
selector: "\n input[type=checkbox][magic]:([noFormControl]) \n ",
|
|
@@ -4501,14 +4528,14 @@
|
|
|
4501
4528
|
};
|
|
4502
4529
|
return InputNoFormControlMagicDirective;
|
|
4503
4530
|
}());
|
|
4504
|
-
InputNoFormControlMagicDirective.ɵfac = function InputNoFormControlMagicDirective_Factory(t) { return new (t || InputNoFormControlMagicDirective)(
|
|
4505
|
-
InputNoFormControlMagicDirective.ɵdir =
|
|
4531
|
+
InputNoFormControlMagicDirective.ɵfac = function InputNoFormControlMagicDirective_Factory(t) { return new (t || InputNoFormControlMagicDirective)(i0__namespace.ɵɵdirectiveInject(MagicDirective)); };
|
|
4532
|
+
InputNoFormControlMagicDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: InputNoFormControlMagicDirective, selectors: [["input", "magic", "", "noFormControl", "", 3, "type", "checkbox"], ["textarea", "magic", "", "noFormControl", "", 3, "type", "checkbox"]], hostBindings: function InputNoFormControlMagicDirective_HostBindings(rf, ctx) {
|
|
4506
4533
|
if (rf & 1) {
|
|
4507
|
-
|
|
4534
|
+
i0__namespace.ɵɵlistener("change", function InputNoFormControlMagicDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
|
4508
4535
|
}
|
|
4509
4536
|
} });
|
|
4510
4537
|
(function () {
|
|
4511
|
-
|
|
4538
|
+
i0__namespace.ɵsetClassMetadata(InputNoFormControlMagicDirective, [{
|
|
4512
4539
|
type: i0.Directive,
|
|
4513
4540
|
args: [{
|
|
4514
4541
|
selector: "input[magic]:([noFormControl]):not([type=checkbox]),\n textarea[magic]:([noFormControl]):not([type=checkbox])"
|
|
@@ -4551,20 +4578,20 @@
|
|
|
4551
4578
|
};
|
|
4552
4579
|
return DateValueAccessor;
|
|
4553
4580
|
}());
|
|
4554
|
-
DateValueAccessor.ɵfac = function DateValueAccessor_Factory(t) { return new (t || DateValueAccessor)(
|
|
4555
|
-
DateValueAccessor.ɵdir =
|
|
4581
|
+
DateValueAccessor.ɵfac = function DateValueAccessor_Factory(t) { return new (t || DateValueAccessor)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Renderer2), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); };
|
|
4582
|
+
DateValueAccessor.ɵdir = i0__namespace.ɵɵdefineDirective({ type: DateValueAccessor, selectors: [["", "dateInput", ""]], hostBindings: function DateValueAccessor_HostBindings(rf, ctx) {
|
|
4556
4583
|
if (rf & 1) {
|
|
4557
|
-
|
|
4584
|
+
i0__namespace.ɵɵlistener("input", function DateValueAccessor_input_HostBindingHandler($event) { return ctx.onChange($event.target.valueAsDate); })("blur", function DateValueAccessor_blur_HostBindingHandler() { return ctx.onTouched(); });
|
|
4558
4585
|
}
|
|
4559
|
-
}, features: [
|
|
4586
|
+
}, features: [i0__namespace.ɵɵProvidersFeature([DATE_VALUE_ACCESSOR])] });
|
|
4560
4587
|
(function () {
|
|
4561
|
-
|
|
4588
|
+
i0__namespace.ɵsetClassMetadata(DateValueAccessor, [{
|
|
4562
4589
|
type: i0.Directive,
|
|
4563
4590
|
args: [{
|
|
4564
4591
|
selector: "[dateInput]",
|
|
4565
4592
|
providers: [DATE_VALUE_ACCESSOR]
|
|
4566
4593
|
}]
|
|
4567
|
-
}], function () { return [{ type:
|
|
4594
|
+
}], function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, { onChange: [{
|
|
4568
4595
|
type: i0.HostListener,
|
|
4569
4596
|
args: ["input", ["$event.target.valueAsDate"]]
|
|
4570
4597
|
}], onTouched: [{
|
|
@@ -4615,15 +4642,15 @@
|
|
|
4615
4642
|
};
|
|
4616
4643
|
return NonMagicControlDirective;
|
|
4617
4644
|
}());
|
|
4618
|
-
NonMagicControlDirective.ɵfac = function NonMagicControlDirective_Factory(t) { return new (t || NonMagicControlDirective)(
|
|
4619
|
-
NonMagicControlDirective.ɵdir =
|
|
4645
|
+
NonMagicControlDirective.ɵfac = function NonMagicControlDirective_Factory(t) { return new (t || NonMagicControlDirective)(i0__namespace.ɵɵdirectiveInject(TaskMagicService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.Renderer2), i0__namespace.ɵɵdirectiveInject(i0__namespace.ViewContainerRef)); };
|
|
4646
|
+
NonMagicControlDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: NonMagicControlDirective, selectors: [["", "NonMagicControl", ""]], inputs: { magic: ["NonMagicControl", "magic"] } });
|
|
4620
4647
|
(function () {
|
|
4621
|
-
|
|
4648
|
+
i0__namespace.ɵsetClassMetadata(NonMagicControlDirective, [{
|
|
4622
4649
|
type: i0.Directive,
|
|
4623
4650
|
args: [{
|
|
4624
4651
|
selector: '[NonMagicControl]'
|
|
4625
4652
|
}]
|
|
4626
|
-
}], function () { return [{ type: TaskMagicService }, { type:
|
|
4653
|
+
}], function () { return [{ type: TaskMagicService }, { type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }, { type: i0__namespace.ViewContainerRef }]; }, { magic: [{
|
|
4627
4654
|
type: i0.Input,
|
|
4628
4655
|
args: ['NonMagicControl']
|
|
4629
4656
|
}] });
|
|
@@ -4676,8 +4703,8 @@
|
|
|
4676
4703
|
};
|
|
4677
4704
|
return MagicModule;
|
|
4678
4705
|
}());
|
|
4679
|
-
MagicModule.ɵmod =
|
|
4680
|
-
MagicModule.ɵinj =
|
|
4706
|
+
MagicModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: MagicModule });
|
|
4707
|
+
MagicModule.ɵinj = i0__namespace.ɵɵdefineInjector({ factory: function MagicModule_Factory(t) { return new (t || MagicModule)(); }, providers: [ConfirmationComponentsMagicProvider, OverlayContainerMagicProvider], imports: [[
|
|
4681
4708
|
i1.CommonModule,
|
|
4682
4709
|
forms.FormsModule,
|
|
4683
4710
|
forms.ReactiveFormsModule,
|
|
@@ -4686,7 +4713,7 @@
|
|
|
4686
4713
|
i5.HttpClientModule
|
|
4687
4714
|
]] });
|
|
4688
4715
|
(function () {
|
|
4689
|
-
(typeof ngJitMode === "undefined" || ngJitMode) &&
|
|
4716
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(MagicModule, { declarations: [MagicDirective,
|
|
4690
4717
|
CheckboxMagicDirective,
|
|
4691
4718
|
CheckboxNoFormControlMagicDirective,
|
|
4692
4719
|
InputNoFormControlMagicDirective,
|
|
@@ -4748,7 +4775,7 @@
|
|
|
4748
4775
|
MagicViewContainerRef] });
|
|
4749
4776
|
})();
|
|
4750
4777
|
(function () {
|
|
4751
|
-
|
|
4778
|
+
i0__namespace.ɵsetClassMetadata(MagicModule, [{
|
|
4752
4779
|
type: i0.NgModule,
|
|
4753
4780
|
args: [{
|
|
4754
4781
|
declarations: __spread(decs),
|
|
@@ -4861,12 +4888,12 @@
|
|
|
4861
4888
|
};
|
|
4862
4889
|
return MgDateAdapter;
|
|
4863
4890
|
}(core.NativeDateAdapter));
|
|
4864
|
-
MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(
|
|
4865
|
-
MgDateAdapter.ɵprov =
|
|
4891
|
+
MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(i0__namespace.ɵɵinject(i1__namespace$2.Platform), i0__namespace.ɵɵinject(TaskMagicService)); };
|
|
4892
|
+
MgDateAdapter.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: MgDateAdapter, factory: MgDateAdapter.ɵfac });
|
|
4866
4893
|
(function () {
|
|
4867
|
-
|
|
4894
|
+
i0__namespace.ɵsetClassMetadata(MgDateAdapter, [{
|
|
4868
4895
|
type: i0.Injectable
|
|
4869
|
-
}], function () { return [{ type:
|
|
4896
|
+
}], function () { return [{ type: i1__namespace$2.Platform }, { type: TaskMagicService }]; }, null);
|
|
4870
4897
|
})();
|
|
4871
4898
|
|
|
4872
4899
|
var matDateProviders = [
|
|
@@ -5024,5 +5051,5 @@
|
|
|
5024
5051
|
|
|
5025
5052
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5026
5053
|
|
|
5027
|
-
}))
|
|
5054
|
+
}));
|
|
5028
5055
|
//# sourceMappingURL=magic-xpa-angular.umd.js.map
|