@magic-xpa/angular 4.901.0-dev491.323 → 4.901.0-dev491.324
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/README.md +5 -5
- package/esm2020/src/services/OverlayWindowService.mjs +9 -37
- package/esm2020/src/services/magic-color.service.mjs +1 -1
- package/esm2020/src/services/subform.magic.service.mjs +1 -1
- package/esm2020/src/services/table.magic.service.mjs +1 -1
- package/esm2020/src/services/task.magics.service.mjs +2 -2
- package/esm2020/src/ui/GuiInteractiveExecutor.mjs +1 -8
- package/esm2020/src/ui/components/base-magic-alert.component.mjs +1 -1
- package/esm2020/src/ui/components/base-magic-confirm.component.mjs +1 -1
- package/esm2020/src/ui/components/magic-alert.component.mjs +36 -36
- package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +43 -43
- package/esm2020/src/ui/directives/magic/nocontrol.magic.directive.mjs +6 -8
- package/esm2020/src/ui/directives/magic-focus.directive.mjs +1 -1
- package/esm2020/src/ui/directives/magic.directive.mjs +5 -10
- package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +1 -1
- package/esm2020/src/ui/magic-root.component.mjs +2 -2
- package/fesm2015/magic-xpa-angular.mjs +93 -129
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +93 -129
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/src/services/OverlayWindowService.d.ts +3 -9
- package/src/ui/GuiInteractiveExecutor.d.ts +0 -1
- package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +2 -3
- package/src/ui/directives/magic.directive.d.ts +2 -4
@@ -17,8 +17,8 @@ import { __awaiter, __decorate, __metadata } from 'tslib';
|
|
17
17
|
import * as i1$1 from '@angular/platform-browser';
|
18
18
|
import * as i1$2 from '@angular/common/http';
|
19
19
|
import { HttpClientModule } from '@angular/common/http';
|
20
|
-
import * as i2$1 from '@angular/cdk/platform';
|
21
20
|
import { NativeDateAdapter, MAT_DATE_LOCALE, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
|
21
|
+
import * as i1$3 from '@angular/cdk/platform';
|
22
22
|
|
23
23
|
class ControlMetadata {
|
24
24
|
constructor() {
|
@@ -732,9 +732,6 @@ class GuiInteractiveExecutor {
|
|
732
732
|
case InteractiveCommandType.GET_LAST_ROUTE:
|
733
733
|
this.OnGetLastRoute();
|
734
734
|
break;
|
735
|
-
case InteractiveCommandType.OPEN_FORM:
|
736
|
-
this.OnOpenForm();
|
737
|
-
break;
|
738
735
|
}
|
739
736
|
}
|
740
737
|
catch (ex) {
|
@@ -771,10 +768,6 @@ class GuiInteractiveExecutor {
|
|
771
768
|
OnMessageBox() {
|
772
769
|
this.overlayService.openConfirmationBox(this.command._mgValue.title, this.command._mgValue.str, this.command._mgValue.style);
|
773
770
|
}
|
774
|
-
OnOpenForm() {
|
775
|
-
if (this.command._boolVal)
|
776
|
-
this.overlayService.loadAndOpenModule(this.command.controlName, this.command._mgValue.str, this.command._mgValue.path);
|
777
|
-
}
|
778
771
|
OnSetTitle() {
|
779
772
|
this.task.setTitle(this.command._mgValue.title);
|
780
773
|
}
|
@@ -1290,42 +1283,42 @@ MagicAlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicAlertComponent,
|
|
1290
1283
|
type: Component,
|
1291
1284
|
args: [{
|
1292
1285
|
selector: 'sample-magic-alert-component',
|
1293
|
-
template: `<div>
|
1294
|
-
<div class="mg-message-background">
|
1295
|
-
<h2> {{title}}</h2>
|
1296
|
-
<p>{{message}} </p>
|
1297
|
-
|
1298
|
-
<button (click)="OnClose()">OK</button>
|
1299
|
-
</div>
|
1286
|
+
template: `<div>
|
1287
|
+
<div class="mg-message-background">
|
1288
|
+
<h2> {{title}}</h2>
|
1289
|
+
<p>{{message}} </p>
|
1290
|
+
|
1291
|
+
<button (click)="OnClose()">OK</button>
|
1292
|
+
</div>
|
1300
1293
|
</div>`,
|
1301
|
-
styles: [`
|
1302
|
-
.mg-message-background {
|
1303
|
-
background-color: #F5F5F5;
|
1304
|
-
text-align: center;
|
1305
|
-
width: 40%;
|
1306
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
1307
|
-
padding: 17px;
|
1308
|
-
border-radius: 5px;
|
1309
|
-
text-align: center;
|
1310
|
-
margin-top: 10% ;
|
1311
|
-
margin-left: auto;
|
1312
|
-
margin-right: auto;
|
1313
|
-
border: 1px solid gray;
|
1314
|
-
}
|
1315
|
-
|
1316
|
-
button {
|
1317
|
-
background-color: #8CD4F5;
|
1318
|
-
color: white;
|
1319
|
-
border: none;
|
1320
|
-
box-shadow: none;
|
1321
|
-
font-size: 17px;
|
1322
|
-
font-weight: 500;
|
1323
|
-
-webkit-border-radius: 4px;
|
1324
|
-
border-radius: 5px;
|
1325
|
-
padding: 10px 32px;
|
1326
|
-
margin: 26px 5px 0 5px;
|
1327
|
-
cursor: pointer;
|
1328
|
-
}
|
1294
|
+
styles: [`
|
1295
|
+
.mg-message-background {
|
1296
|
+
background-color: #F5F5F5;
|
1297
|
+
text-align: center;
|
1298
|
+
width: 40%;
|
1299
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
1300
|
+
padding: 17px;
|
1301
|
+
border-radius: 5px;
|
1302
|
+
text-align: center;
|
1303
|
+
margin-top: 10% ;
|
1304
|
+
margin-left: auto;
|
1305
|
+
margin-right: auto;
|
1306
|
+
border: 1px solid gray;
|
1307
|
+
}
|
1308
|
+
|
1309
|
+
button {
|
1310
|
+
background-color: #8CD4F5;
|
1311
|
+
color: white;
|
1312
|
+
border: none;
|
1313
|
+
box-shadow: none;
|
1314
|
+
font-size: 17px;
|
1315
|
+
font-weight: 500;
|
1316
|
+
-webkit-border-radius: 4px;
|
1317
|
+
border-radius: 5px;
|
1318
|
+
padding: 10px 32px;
|
1319
|
+
margin: 26px 5px 0 5px;
|
1320
|
+
cursor: pointer;
|
1321
|
+
}
|
1329
1322
|
`]
|
1330
1323
|
}]
|
1331
1324
|
}], null, null);
|
@@ -1362,49 +1355,49 @@ MagicConfirmationBoxComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicConfir
|
|
1362
1355
|
type: Component,
|
1363
1356
|
args: [{
|
1364
1357
|
selector: 'sample-magic-confirmation-box',
|
1365
|
-
template: `<div>
|
1366
|
-
<div class="mg-message-background">
|
1367
|
-
<h2> {{title}}</h2>
|
1368
|
-
{{message}}
|
1369
|
-
<br>
|
1370
|
-
<br>
|
1371
|
-
|
1372
|
-
<button (click)="OnClose(true)">OK</button>
|
1373
|
-
<button class="cancel" (click)="OnClose(false)">Cancel</button>
|
1374
|
-
</div>
|
1358
|
+
template: `<div>
|
1359
|
+
<div class="mg-message-background">
|
1360
|
+
<h2> {{title}}</h2>
|
1361
|
+
{{message}}
|
1362
|
+
<br>
|
1363
|
+
<br>
|
1364
|
+
|
1365
|
+
<button (click)="OnClose(true)">OK</button>
|
1366
|
+
<button class="cancel" (click)="OnClose(false)">Cancel</button>
|
1367
|
+
</div>
|
1375
1368
|
</div>`,
|
1376
|
-
styles: [`
|
1377
|
-
.mg-message-background {
|
1378
|
-
background-color: #F5F5F5;
|
1379
|
-
text-align: center;
|
1380
|
-
width: 40%;
|
1381
|
-
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
1382
|
-
padding: 17px;
|
1383
|
-
border-radius: 5px;
|
1384
|
-
text-align: center;
|
1385
|
-
margin-top: 10% ;
|
1386
|
-
margin-left: auto;
|
1387
|
-
margin-right: auto;
|
1388
|
-
border: 1px solid gray;
|
1389
|
-
}
|
1390
|
-
|
1391
|
-
button {
|
1392
|
-
background-color: #8CD4F5;
|
1393
|
-
color: white;
|
1394
|
-
border: none;
|
1395
|
-
box-shadow: none;
|
1396
|
-
font-size: 17px;
|
1397
|
-
font-weight: 500;
|
1398
|
-
-webkit-border-radius: 4px;
|
1399
|
-
border-radius: 5px;
|
1400
|
-
padding: 10px 32px;
|
1401
|
-
margin: 26px 5px 0 5px;
|
1402
|
-
cursor: pointer;
|
1403
|
-
}
|
1404
|
-
|
1405
|
-
button.cancel {
|
1406
|
-
background-color: #C1C1C1;
|
1407
|
-
}
|
1369
|
+
styles: [`
|
1370
|
+
.mg-message-background {
|
1371
|
+
background-color: #F5F5F5;
|
1372
|
+
text-align: center;
|
1373
|
+
width: 40%;
|
1374
|
+
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
1375
|
+
padding: 17px;
|
1376
|
+
border-radius: 5px;
|
1377
|
+
text-align: center;
|
1378
|
+
margin-top: 10% ;
|
1379
|
+
margin-left: auto;
|
1380
|
+
margin-right: auto;
|
1381
|
+
border: 1px solid gray;
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
button {
|
1385
|
+
background-color: #8CD4F5;
|
1386
|
+
color: white;
|
1387
|
+
border: none;
|
1388
|
+
box-shadow: none;
|
1389
|
+
font-size: 17px;
|
1390
|
+
font-weight: 500;
|
1391
|
+
-webkit-border-radius: 4px;
|
1392
|
+
border-radius: 5px;
|
1393
|
+
padding: 10px 32px;
|
1394
|
+
margin: 26px 5px 0 5px;
|
1395
|
+
cursor: pointer;
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
button.cancel {
|
1399
|
+
background-color: #C1C1C1;
|
1400
|
+
}
|
1408
1401
|
`]
|
1409
1402
|
}]
|
1410
1403
|
}], null, null);
|
@@ -1430,42 +1423,17 @@ ConfirmationComponentsMagicProvider.ɵprov = i0.ɵɵdefineInjectable({ token: Co
|
|
1430
1423
|
})();
|
1431
1424
|
|
1432
1425
|
class OverlayWindowService {
|
1433
|
-
constructor(componentFactoryResolver, componentList, engineMagicService,
|
1426
|
+
constructor(componentFactoryResolver, componentList, engineMagicService, overlayContainerMagicProvider, confirmationComponentsMagicProvider) {
|
1434
1427
|
this.componentFactoryResolver = componentFactoryResolver;
|
1435
1428
|
this.componentList = componentList;
|
1436
1429
|
this.engineMagicService = engineMagicService;
|
1437
|
-
this.magicLazyModuleLoader = magicLazyModuleLoader;
|
1438
|
-
this.injector = injector;
|
1439
|
-
this.compiler = compiler;
|
1440
1430
|
this.overlayContainerMagicProvider = overlayContainerMagicProvider;
|
1441
1431
|
this.confirmationComponentsMagicProvider = confirmationComponentsMagicProvider;
|
1442
1432
|
this.overlayWindowFocusManager = null;
|
1443
|
-
this.changeDetectorRef = null;
|
1444
1433
|
}
|
1445
|
-
init(overlayWindowsContainerViewRef, rootMagicElement
|
1434
|
+
init(overlayWindowsContainerViewRef, rootMagicElement) {
|
1446
1435
|
this.overlayWindowsContainerViewRef = overlayWindowsContainerViewRef;
|
1447
1436
|
this.overlayWindowFocusManager = new OverlayWindowFocusManager(rootMagicElement);
|
1448
|
-
this.changeDetectorRef = changeDetectorRef;
|
1449
|
-
}
|
1450
|
-
loadAndOpenModule(formName, taskId, taskDescription) {
|
1451
|
-
let moduleRef = this.componentList.getModuleRef(formName);
|
1452
|
-
if (moduleRef == null) {
|
1453
|
-
let lazyLoadModule = this.componentList.getLazyLoadModuleData(formName);
|
1454
|
-
if (lazyLoadModule != null) {
|
1455
|
-
let moduleName = lazyLoadModule.moduleName.replace("Magic", "");
|
1456
|
-
moduleName = moduleName.replace("Module", "");
|
1457
|
-
this.magicLazyModuleLoader.Load(moduleName).then(m => {
|
1458
|
-
const compiled = this.compiler.compileModuleAndAllComponentsSync(m[lazyLoadModule.moduleName]);
|
1459
|
-
moduleRef = compiled.ngModuleFactory.create(this.injector);
|
1460
|
-
this.open(formName, taskId, taskDescription);
|
1461
|
-
this.finishConfirmation(Styles.MSGBOX_BUTTON_OK, true);
|
1462
|
-
});
|
1463
|
-
}
|
1464
|
-
}
|
1465
|
-
else {
|
1466
|
-
this.open(formName, taskId, taskDescription);
|
1467
|
-
this.finishConfirmation(Styles.MSGBOX_BUTTON_OK, true);
|
1468
|
-
}
|
1469
1437
|
}
|
1470
1438
|
open(formName, taskId, taskDescription) {
|
1471
1439
|
let comp = this.componentList.lazyLoadModulesMap != null && this.componentList.lazyLoadModulesMap.hasOwnProperty(formName) ? null : this.componentList.getComponent(formName);
|
@@ -1476,7 +1444,6 @@ class OverlayWindowService {
|
|
1476
1444
|
guiEvent.TaskID = taskId;
|
1477
1445
|
this.engineMagicService.insertEvent(guiEvent);
|
1478
1446
|
});
|
1479
|
-
this.changeDetectorRef.detectChanges();
|
1480
1447
|
}
|
1481
1448
|
close(commandStr) {
|
1482
1449
|
this.overlayWindowsContainerViewRef.remove();
|
@@ -1522,7 +1489,7 @@ class OverlayWindowService {
|
|
1522
1489
|
return componentRef;
|
1523
1490
|
}
|
1524
1491
|
}
|
1525
|
-
OverlayWindowService.ɵfac = function OverlayWindowService_Factory(t) { return new (t || OverlayWindowService)(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(ComponentListMagicService), i0.ɵɵinject(EngineMagicService), i0.ɵɵinject(
|
1492
|
+
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)); };
|
1526
1493
|
OverlayWindowService.ɵprov = i0.ɵɵdefineInjectable({ token: OverlayWindowService, factory: OverlayWindowService.ɵfac, providedIn: 'root' });
|
1527
1494
|
(function () {
|
1528
1495
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OverlayWindowService, [{
|
@@ -1530,7 +1497,7 @@ OverlayWindowService.ɵprov = i0.ɵɵdefineInjectable({ token: OverlayWindowServ
|
|
1530
1497
|
args: [{
|
1531
1498
|
providedIn: 'root'
|
1532
1499
|
}]
|
1533
|
-
}], function () { return [{ type: i0.ComponentFactoryResolver }, { type: ComponentListMagicService }, { type: EngineMagicService }, { type:
|
1500
|
+
}], function () { return [{ type: i0.ComponentFactoryResolver }, { type: ComponentListMagicService }, { type: EngineMagicService }, { type: OverlayContainerMagicProvider }, { type: ConfirmationComponentsMagicProvider }]; }, null);
|
1534
1501
|
})();
|
1535
1502
|
class OverlayWindowFocusManager {
|
1536
1503
|
constructor(rootMagicElement) {
|
@@ -2057,7 +2024,7 @@ class TaskMagicService {
|
|
2057
2024
|
if (isUndefined(val))
|
2058
2025
|
return val;
|
2059
2026
|
else
|
2060
|
-
return (val != null) ?
|
2027
|
+
return (val != null) ? +val : null;
|
2061
2028
|
default:
|
2062
2029
|
return val;
|
2063
2030
|
}
|
@@ -2908,12 +2875,11 @@ RowMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: RowMagicDirective, sele
|
|
2908
2875
|
})();
|
2909
2876
|
|
2910
2877
|
class MagicDirective {
|
2911
|
-
constructor(_task, element, renderer, vcRef,
|
2878
|
+
constructor(_task, element, renderer, vcRef, magicRow) {
|
2912
2879
|
this._task = _task;
|
2913
2880
|
this.element = element;
|
2914
2881
|
this.renderer = renderer;
|
2915
2882
|
this.vcRef = vcRef;
|
2916
|
-
this.platform = platform;
|
2917
2883
|
this.magicRow = magicRow;
|
2918
2884
|
this.eventHandlers = {};
|
2919
2885
|
this.eventsOnlyVal = false;
|
@@ -2945,8 +2911,6 @@ class MagicDirective {
|
|
2945
2911
|
let fromButton = false;
|
2946
2912
|
if (this.htmlElement instanceof HTMLButtonElement)
|
2947
2913
|
fromButton = true;
|
2948
|
-
if (fromButton && (this.platform.IOS || this.platform.SAFARI))
|
2949
|
-
this.task.insertEvent(getGuiEventObj("focus", this.id, +this.rowId));
|
2950
2914
|
this.task.insertEvent(getGuiEventObj(event, this.id, +this.rowId, fromButton));
|
2951
2915
|
if (MagicDirective.noOfAutoCompleteBoxesOpened < 1)
|
2952
2916
|
e.cancelBubble = true;
|
@@ -3088,7 +3052,7 @@ class MagicDirective {
|
|
3088
3052
|
}
|
3089
3053
|
MagicDirective.opened = false;
|
3090
3054
|
MagicDirective.noOfAutoCompleteBoxesOpened = 0;
|
3091
|
-
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(
|
3055
|
+
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)); };
|
3092
3056
|
MagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", rowId: "rowId" } });
|
3093
3057
|
(function () {
|
3094
3058
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicDirective, [{
|
@@ -3097,7 +3061,7 @@ MagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: MagicDirective, selectors:
|
|
3097
3061
|
selector: "[magic]"
|
3098
3062
|
}]
|
3099
3063
|
}], function () {
|
3100
|
-
return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type:
|
3064
|
+
return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
3101
3065
|
type: Optional
|
3102
3066
|
}] }];
|
3103
3067
|
}, { magic: [{
|
@@ -3112,8 +3076,8 @@ MagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: MagicDirective, selectors:
|
|
3112
3076
|
})();
|
3113
3077
|
|
3114
3078
|
class NoControlMagicDirective extends MagicDirective {
|
3115
|
-
constructor(_task, element, renderer, vcRef,
|
3116
|
-
super(_task, element, renderer, vcRef,
|
3079
|
+
constructor(_task, element, renderer, vcRef, magicRow) {
|
3080
|
+
super(_task, element, renderer, vcRef, magicRow);
|
3117
3081
|
}
|
3118
3082
|
set magic(val) { this.id = val; this.selector = 'magicnc'; }
|
3119
3083
|
;
|
@@ -3277,7 +3241,7 @@ class NoControlMagicDirective extends MagicDirective {
|
|
3277
3241
|
}
|
3278
3242
|
}
|
3279
3243
|
}
|
3280
|
-
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(
|
3244
|
+
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)); };
|
3281
3245
|
NoControlMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: NoControlMagicDirective, selectors: [["", "magicnc", ""]], inputs: { magic: ["magicnc", "magic"] }, features: [i0.ɵɵInheritDefinitionFeature] });
|
3282
3246
|
(function () {
|
3283
3247
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NoControlMagicDirective, [{
|
@@ -3286,7 +3250,7 @@ NoControlMagicDirective.ɵdir = i0.ɵɵdefineDirective({ type: NoControlMagicDir
|
|
3286
3250
|
selector: '[magicnc]'
|
3287
3251
|
}]
|
3288
3252
|
}], function () {
|
3289
|
-
return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type:
|
3253
|
+
return [{ type: TaskMagicService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: RowMagicDirective, decorators: [{
|
3290
3254
|
type: Optional
|
3291
3255
|
}] }];
|
3292
3256
|
}, { magic: [{
|
@@ -4035,7 +3999,7 @@ class MagicShellComponent {
|
|
4035
3999
|
this.engineMagicService.TerminateContextUsingFetchAPI();
|
4036
4000
|
}
|
4037
4001
|
ngAfterViewInit() {
|
4038
|
-
this.overlayWindowService.init(this.overlayWindowsContainerViewRef, this.rootMagicElementRef.nativeElement
|
4002
|
+
this.overlayWindowService.init(this.overlayWindowsContainerViewRef, this.rootMagicElementRef.nativeElement);
|
4039
4003
|
this.engineMagicService.startMagicEngine(this.httpClient);
|
4040
4004
|
}
|
4041
4005
|
setViewContainerRef(vcRef) {
|
@@ -4643,13 +4607,13 @@ class MgDateAdapter extends NativeDateAdapter {
|
|
4643
4607
|
}
|
4644
4608
|
}
|
4645
4609
|
}
|
4646
|
-
MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(i0.ɵɵinject(
|
4610
|
+
MgDateAdapter.ɵfac = function MgDateAdapter_Factory(t) { return new (t || MgDateAdapter)(i0.ɵɵinject(i1$3.Platform), i0.ɵɵinject(TaskMagicService), i0.ɵɵinject(MAT_DATE_LOCALE)); };
|
4647
4611
|
MgDateAdapter.ɵprov = i0.ɵɵdefineInjectable({ token: MgDateAdapter, factory: MgDateAdapter.ɵfac });
|
4648
4612
|
(function () {
|
4649
4613
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MgDateAdapter, [{
|
4650
4614
|
type: Injectable
|
4651
4615
|
}], function () {
|
4652
|
-
return [{ type:
|
4616
|
+
return [{ type: i1$3.Platform }, { type: TaskMagicService }, { type: undefined, decorators: [{
|
4653
4617
|
type: Inject,
|
4654
4618
|
args: [MAT_DATE_LOCALE]
|
4655
4619
|
}] }];
|