@magic-xpa/angular 4.1000.0-dev4100.99 → 4.1000.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/index.mjs +2 -1
- package/esm2020/src/magic.core.module.mjs +16 -13
- package/esm2020/src/services/accessor.magic.service.mjs +28 -3
- package/esm2020/src/services/magic-color.service.mjs +4 -4
- package/esm2020/src/services/subform.magic.service.mjs +1 -1
- package/esm2020/src/services/table.magic.service.mjs +5 -2
- package/esm2020/src/services/task.magics.service.mjs +14 -4
- package/esm2020/src/ui/components/base-magic-alert.component.mjs +3 -7
- package/esm2020/src/ui/components/base-magic-confirm.component.mjs +3 -7
- package/esm2020/src/ui/components/magic-alert.component.mjs +3 -35
- package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +3 -39
- package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +6 -6
- package/esm2020/src/ui/directives/magic/combobox.magic.directive.mjs +11 -1
- package/esm2020/src/ui/directives/magic/nocontrol.magic.directive.mjs +3 -3
- package/esm2020/src/ui/directives/magic.directive.mjs +11 -11
- package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +168 -3
- package/esm2020/src/ui/magic-modal/base-magic-overlay-container.mjs +1 -1
- package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +4 -18
- package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +4 -4
- package/esm2020/src/ui/magic-root.component.mjs +4 -38
- package/esm2020/src/ui/mgerror.magic.component.mjs +9 -9
- package/esm2020/src/ui/pipes/time24.magic.pipe.mjs +34 -0
- package/esm2020/src/ui/router-container.magic.component.mjs +4 -4
- package/esm2020/src/ui/subform.magic.component.mjs +4 -4
- package/esm2020/src/ui/task-base.magic.component.mjs +8 -2
- package/fesm2015/magic-xpa-angular.mjs +323 -197
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +321 -197
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +11 -8
- package/src/magic.core.module.d.ts +8 -6
- package/src/services/accessor.magic.service.d.ts +3 -0
- package/src/services/table.magic.service.d.ts +2 -0
- package/src/services/task.magics.service.d.ts +1 -0
- package/src/ui/components/base-magic-alert.component.d.ts +1 -1
- package/src/ui/components/base-magic-confirm.component.d.ts +1 -1
- package/src/ui/components/magic-alert.component.d.ts +1 -1
- package/src/ui/components/magic-confirmation-box.component.d.ts +1 -1
- package/src/ui/directives/NonMagicControlDirective.d.ts +1 -1
- package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/checkbox.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/combobox.magic.directive.d.ts +2 -1
- package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +1 -1
- package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +1 -1
- package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +1 -1
- package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic/row.magic.directive.d.ts +1 -1
- package/src/ui/directives/magic-focus.directive.d.ts +1 -1
- package/src/ui/directives/magic.directive.d.ts +2 -2
- package/src/ui/directives/magicViewContainerRef.directive.d.ts +1 -1
- package/src/ui/directives/mgformat.magic.directive.d.ts +5 -2
- package/src/ui/directives/range-validator.magic.directive.d.ts +1 -1
- package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +1 -1
- package/src/ui/magic-modal/magic-overlay-container.d.ts +1 -1
- package/src/ui/magic-root.component.d.ts +1 -1
- package/src/ui/mgerror.magic.component.d.ts +1 -1
- package/src/ui/pipes/date.magic.pipe.d.ts +1 -1
- package/src/ui/pipes/time.magic.pipe.d.ts +1 -1
- package/src/ui/pipes/time24.magic.pipe.d.ts +10 -0
- package/src/ui/router-container.magic.component.d.ts +1 -1
- package/src/ui/subform.magic.component.d.ts +1 -1
- package/src/ui/task-base.magic.component.d.ts +2 -1
- package/magic-xpa-angular.d.ts +0 -2
@@ -163,13 +163,10 @@ MagicShellComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicShellComponent,
|
|
163
163
|
i0.ɵɵproperty("ngIf", ctx.RootComponent !== null);
|
164
164
|
i0.ɵɵadvance(3);
|
165
165
|
i0.ɵɵproperty("ngIf", ctx.showSpinner);
|
166
|
-
} },
|
166
|
+
} }, dependencies: [i8.NgIf, i8.NgTemplateOutlet, i9.DynamicComponent, i9.DynamicIoDirective, i10.MagicViewContainerRef], styles: [".mgSpinnerClass[_ngcontent-%COMP%]{border:10px solid #cccccc;border-top:10px solid black;border-radius:50%;position:fixed;margin:auto;inset:0;width:100px;height:100px;animation:_ngcontent-%COMP%_spin 2s linear infinite}.spinner-background[_ngcontent-%COMP%]{position:fixed;z-index:1000;inset:0;opacity:.5}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"] });
|
167
167
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicShellComponent, [{
|
168
168
|
type: Component,
|
169
|
-
args: [{
|
170
|
-
selector: 'magic-root',
|
171
|
-
providers: [],
|
172
|
-
template: `
|
169
|
+
args: [{ selector: 'magic-root', providers: [], template: `
|
173
170
|
<div #magicRoot>
|
174
171
|
<ndc-dynamic
|
175
172
|
*ngIf = "RootComponent !== null"
|
@@ -188,38 +185,7 @@ MagicShellComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicShellComponent,
|
|
188
185
|
<ng-template #defaultSpinner>
|
189
186
|
<div class="mgSpinnerClass"></div>
|
190
187
|
</ng-template>
|
191
|
-
`,
|
192
|
-
styles: [`
|
193
|
-
.mgSpinnerClass {
|
194
|
-
border: 10px solid #cccccc; /* Light grey */
|
195
|
-
border-top: 10px solid black; /* Blue */
|
196
|
-
border-radius: 50%;
|
197
|
-
position: fixed;
|
198
|
-
margin: auto;
|
199
|
-
top: 0;
|
200
|
-
right: 0;
|
201
|
-
bottom: 0;
|
202
|
-
left: 0;
|
203
|
-
width: 100px;
|
204
|
-
height: 100px;
|
205
|
-
animation: spin 2s linear infinite;
|
206
|
-
}
|
207
|
-
.spinner-background {
|
208
|
-
/* background fixed across whole screen */
|
209
|
-
position: fixed;
|
210
|
-
top: 0;
|
211
|
-
right: 0;
|
212
|
-
bottom: 0;
|
213
|
-
z-index: 1000;
|
214
|
-
left: 0;
|
215
|
-
opacity: 0.5;
|
216
|
-
}
|
217
|
-
@keyframes spin {
|
218
|
-
0% { transform: rotate(0deg); }
|
219
|
-
100% { transform: rotate(360deg); }
|
220
|
-
}
|
221
|
-
`]
|
222
|
-
}]
|
188
|
+
`, styles: [".mgSpinnerClass{border:10px solid #cccccc;border-top:10px solid black;border-radius:50%;position:fixed;margin:auto;inset:0;width:100px;height:100px;animation:spin 2s linear infinite}.spinner-background{position:fixed;z-index:1000;inset:0;opacity:.5}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
223
189
|
}], function () { return [{ type: i1.EngineMagicService }, { type: i2.ComponentListMagicService }, { type: i0.ChangeDetectorRef }, { type: i3.Title }, { type: i4.OverlayWindowService }, { type: i5.HttpClient }, { type: i6.CommandsCollectorMagicService }, { type: i7.ExitMagicService, decorators: [{
|
224
190
|
type: Optional
|
225
191
|
}] }]; }, { rootMagicElementRef: [{
|
@@ -234,4 +200,4 @@ MagicShellComponent.ɵcmp = i0.ɵɵdefineComponent({ type: MagicShellComponent,
|
|
234
200
|
type: HostListener,
|
235
201
|
args: ['window:unload', ['$event']]
|
236
202
|
}] }); })();
|
237
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFnaWMtcm9vdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8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ZWxvYWQoKTtcclxuICAgICAgICBicmVhaztcclxuXHJcbiAgICAgIGNhc2UgQ29tbWFuZFR5cGUuU0hPV19TUElOTkVSOlxyXG4gICAgICAgIGlmICh0aGlzLnNob3dTcGlubmVyICE9IGNvbW1hbmQuQm9vbDEpIHtcclxuICAgICAgICAgIHRoaXMuc2hvd1NwaW5uZXIgPSBjb21tYW5kLkJvb2wxO1xyXG4gICAgICAgICAgdGhpcy5jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgY2FzZSBDb21tYW5kVHlwZS5FWElUX01BR0lDOlxyXG4gICAgICAgIGlmICh0aGlzLmV4aXRNYWdpY1NlcnZpY2UpXHJcbiAgICAgICAgICB0aGlzLmV4aXRNYWdpY1NlcnZpY2UuZXhpdE1hZ2ljKCk7XHJcbiAgICAgICAgYnJlYWs7XHJcblxyXG4gICAgICBjYXNlIENvbW1hbmRUeXBlLlNIT1dfSFRNTF9FUlJPUjpcclxuICAgICAgICB3aW5kb3cuZG9jdW1lbnQud3JpdGUoY29tbWFuZC5zdHIpO1xyXG4gICAgICAgIGJyZWFrO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -29,13 +29,6 @@ function ErrorMagicComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
29
29
|
} }
|
30
30
|
const _c1 = ["*"];
|
31
31
|
export class ErrorMagicComponent {
|
32
|
-
constructor(_task, mgService, changeDetectorRef) {
|
33
|
-
this._task = _task;
|
34
|
-
this.mgService = mgService;
|
35
|
-
this.changeDetectorRef = changeDetectorRef;
|
36
|
-
this.defaultDisplay = true;
|
37
|
-
this.rowId = "0";
|
38
|
-
}
|
39
32
|
set magic(val) {
|
40
33
|
this.id = val;
|
41
34
|
}
|
@@ -49,6 +42,13 @@ export class ErrorMagicComponent {
|
|
49
42
|
this.changeDetectorRef.detectChanges();
|
50
43
|
}
|
51
44
|
;
|
45
|
+
constructor(_task, mgService, changeDetectorRef) {
|
46
|
+
this._task = _task;
|
47
|
+
this.mgService = mgService;
|
48
|
+
this.changeDetectorRef = changeDetectorRef;
|
49
|
+
this.defaultDisplay = true;
|
50
|
+
this.rowId = "0";
|
51
|
+
}
|
52
52
|
isEmpty(element) {
|
53
53
|
const nodes = element.childNodes;
|
54
54
|
for (let i = 0; i < nodes.length; i++) {
|
@@ -91,7 +91,7 @@ ErrorMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ErrorMagicComponent,
|
|
91
91
|
i0.ɵɵtemplate(0, ErrorMagicComponent_div_0_Template, 5, 1, "div", 0);
|
92
92
|
} if (rf & 2) {
|
93
93
|
i0.ɵɵproperty("ngIf", ctx.HasErrors(ctx.id));
|
94
|
-
} },
|
94
|
+
} }, dependencies: [i3.NgIf], encapsulation: 2 });
|
95
95
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorMagicComponent, [{
|
96
96
|
type: Component,
|
97
97
|
args: [{
|
@@ -116,4 +116,4 @@ ErrorMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ErrorMagicComponent,
|
|
116
116
|
type: ViewChild,
|
117
117
|
args: ['customContent', { static: false }]
|
118
118
|
}] }); })();
|
119
|
-
//# sourceMappingURL=data:application/json;base64,
|
119
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWdlcnJvci5tYWdpYy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyL3NyYy91aS9tZ2Vycm9yLm1hZ2ljLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQUUsU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R0ZXJuJykgfHwgY29udHJvbC5oYXNFcnJvcigncmVxdWlyZWQnKSB8fFxyXG4gICAgICAgICAgY29udHJvbC5oYXNFcnJvcigncmFuZ2V2YWxpZGF0b3InKSB8fCBjb250cm9sLmhhc0Vycm9yKCdtYXhsZW5ndGgnKSB8fCBjb250cm9sLmhhc0Vycm9yKCdtYXgnKSkpXHJcbiAgICAgICAgICByZXR1cm4gdHJ1ZTtcclxuICAgICAgICBpZiAoY29udHJvbC50b3VjaGVkICYmIGNvbnRyb2wuaGFzRXJyb3IoJ3JlcXVpcmVkJykpXHJcbiAgICAgICAgICByZXR1cm4gdHJ1ZTtcclxuXHJcbiAgICAgICAgaWYodGhpcy5fdGFzay5SZWNvcmRzLmxpc3RbdGhpcy5yb3dJZF0gJiYgdGhpcy5fdGFzay5SZWNvcmRzLmxpc3RbdGhpcy5yb3dJZF0uZ2V0Q29udHJvbE1ldGFkYXRhKGlkKSl7XHJcbiAgICAgICAgICBsZXQgY29udHJvbE1ldGFkYXRhID0gdGhpcy5fdGFzay5SZWNvcmRzLmxpc3RbdGhpcy5yb3dJZF0uZ2V0Q29udHJvbE1ldGFkYXRhKGlkKTtcclxuICAgICAgICAgIGZvciAobGV0IGN1c3RvbVZhbGlkYXRvciBvZiBjb250cm9sTWV0YWRhdGEuY3VzdG9tVmFsaWRhdG9ycy5rZXlzKCkpIHtcclxuICAgICAgICAgICAgaWYgKGNvbnRyb2wuaGFzRXJyb3IoY3VzdG9tVmFsaWRhdG9yKSlcclxuICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICAgIHJldHVybiBmYWxzZTtcclxuICB9XHJcbn1cclxuXHJcbiJdfQ==
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { Pipe } from '@angular/core';
|
2
|
+
import { TaskMagicService } from "../../services/task.magics.service";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "../../services/task.magics.service";
|
5
|
+
export class Time24MagicPipe {
|
6
|
+
constructor(_task) {
|
7
|
+
this._task = _task;
|
8
|
+
}
|
9
|
+
transform(value, controlId) {
|
10
|
+
let mask = this._task.GetControlPictureMask(controlId).getMask();
|
11
|
+
if (typeof value !== "undefined" && mask !== null) {
|
12
|
+
const date = new Date(value);
|
13
|
+
const hours = date.getHours().toString().padStart(2, '0');
|
14
|
+
const minutes = date.getMinutes().toString().padStart(2, '0');
|
15
|
+
const seconds = date.getSeconds().toString().padStart(2, '0');
|
16
|
+
if (mask.length == 5) {
|
17
|
+
return `${hours}:${minutes}`;
|
18
|
+
}
|
19
|
+
else if (mask.length > 5) {
|
20
|
+
return `${hours}:${minutes}:${seconds}`;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
return value;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
Time24MagicPipe.ɵfac = function Time24MagicPipe_Factory(t) { return new (t || Time24MagicPipe)(i0.ɵɵdirectiveInject(i1.TaskMagicService, 16)); };
|
27
|
+
Time24MagicPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "magicTime24", type: Time24MagicPipe, pure: true });
|
28
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Time24MagicPipe, [{
|
29
|
+
type: Pipe,
|
30
|
+
args: [{
|
31
|
+
name: 'magicTime24'
|
32
|
+
}]
|
33
|
+
}], function () { return [{ type: i1.TaskMagicService }]; }, null); })();
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZTI0Lm1hZ2ljLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyL3NyYy91aS9waXBlcy90aW1lMjQubWFnaWMucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBS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IGNvbnN0IG1pbnV0ZXMgPSBkYXRlLmdldE1pbnV0ZXMoKS50b1N0cmluZygpLnBhZFN0YXJ0KDIsICcwJyk7XHJcbiAgICAgIGNvbnN0IHNlY29uZHMgPSBkYXRlLmdldFNlY29uZHMoKS50b1N0cmluZygpLnBhZFN0YXJ0KDIsICcwJyk7XHJcblxyXG4gICAgICBpZihtYXNrLmxlbmd0aCA9PSA1KXtcclxuICAgICAgICByZXR1cm4gYCR7aG91cnN9OiR7bWludXRlc31gO1xyXG4gICAgICB9ZWxzZSBpZihtYXNrLmxlbmd0aCA+IDUpe1xyXG4gICAgICAgIHJldHVybiBgJHtob3Vyc306JHttaW51dGVzfToke3NlY29uZHN9YDtcclxuICAgICAgfVxyXG4gICAgfVxyXG4gICAgcmV0dXJuIHZhbHVlO1xyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -17,6 +17,9 @@ import * as i4 from "../services/component-list.magic.service";
|
|
17
17
|
import * as i5 from "../services/commands-collector.magic.service";
|
18
18
|
import * as i6 from "../services/router-commands.magic.service";
|
19
19
|
export class RouterContainerMagicComponent {
|
20
|
+
static get LastRoute() {
|
21
|
+
return RouterContainerMagicComponent.lastRoute;
|
22
|
+
}
|
20
23
|
constructor(activatedRoute, router, magic, containerTaskService, componentFactoryResolver, viewContainerRef, componentList, pendingCommandsCollector, routerCommandsMagicService) {
|
21
24
|
this.activatedRoute = activatedRoute;
|
22
25
|
this.router = router;
|
@@ -30,9 +33,6 @@ export class RouterContainerMagicComponent {
|
|
30
33
|
this.componentRef = null;
|
31
34
|
this.parentMgSubformService = null;
|
32
35
|
}
|
33
|
-
static get LastRoute() {
|
34
|
-
return RouterContainerMagicComponent.lastRoute;
|
35
|
-
}
|
36
36
|
ngOnInit() {
|
37
37
|
let subformMagicService = SubformMagicService.currentCallerMgSubformServiceRef;
|
38
38
|
let currentActiveRoute = SubformMagicService.getRelativeRoute(this.activatedRoute);
|
@@ -105,4 +105,4 @@ RouterContainerMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RouterConta
|
|
105
105
|
`
|
106
106
|
}]
|
107
107
|
}], function () { return [{ type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.EngineMagicService }, { type: i3.TaskMagicService }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i4.ComponentListMagicService }, { type: i5.CommandsCollectorMagicService }, { type: i6.RouterCommandsMagicService }]; }, null); })();
|
108
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLWNvbnRhaW5lci5tYWdpYy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyL3NyYy91aS9yb3V0ZXItY29udGFpbmVyLm1hZ2ljLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLHdCQUF3QixFQUFVLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzlGLE9BQU8sRUFBQyxjQUFjLEVBQUUsTUFBTSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFFdkQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDdEUsT0FBTyxFQUFFLGNBQWMsRUFBYSxNQUFNLG1CQUFtQixDQUFDO0FBQzlELE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUM1QyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDM0MsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sMENBQTBDLENBQUM7QUFDckYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDeEUsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sOENBQThD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3V0aW5nOiBDYWxsIGNsb3NlKCkgb25seSBpZiB0aGUgdGFzayBpcyBub3QgYWxyZWFkeSBjbG9zZWQuXHJcbiAgICAvLyBUYXNrIGNhbiBiZSBjbG9zZWQgd2hlbiBhIHJvdXRlciBpcyBvdmVybGF5ZWQgYnkgYW5vdGhlciB0YXNrIHZpYSBjYWxsIG9wZXJhdGlvbi5cclxuICAgIGlmICh0aGlzLmNvbXBvbmVudFJlZiAhPSBudWxsKVxyXG4gICAge1xyXG4gICAgICAoPFRhc2tCYXNlTWFnaWNDb21wb25lbnQ+dGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2UpLnRhc2suY2xvc2UoKTtcclxuXHJcbiAgICAgIGxldCBjdXJyZW50QWN0aXZlUm91dGUgPSBTdWJmb3JtTWFnaWNTZXJ2aWNlLmdldFJlbGF0aXZlUm91dGUodGhpcy5hY3RpdmF0ZWRSb3V0ZSk7XHJcbiAgICAgIHRoaXMucGFyZW50TWdTdWJmb3JtU2VydmljZS5yb3V0ZXNEaWN0W2N1cnJlbnRBY3RpdmVSb3V0ZS5vdXRsZXRdID0gXCJcIjtcclxuXHJcbiAgICAgIFJvdXRlckNvbnRhaW5lck1hZ2ljQ29tcG9uZW50Lmxhc3RSb3V0ZSA9IHRoaXMucm91dGVyLnVybDtcclxuICAgIH1cclxuICB9XHJcblxyXG59XHJcbiJdfQ==
|
@@ -12,14 +12,14 @@ function SubformMagicComponent_ndc_dynamic_0_Template(rf, ctx) { if (rf & 1) {
|
|
12
12
|
i0.ɵɵproperty("ndcDynamicComponent", ctx_r0.Component)("ndcDynamicInputs", ctx_r0.Parameters);
|
13
13
|
} }
|
14
14
|
export class SubformMagicComponent {
|
15
|
+
set magic(val) { this.id = val; }
|
16
|
+
;
|
15
17
|
constructor(vcRef, mgSub) {
|
16
18
|
this.vcRef = vcRef;
|
17
19
|
this.mgSub = mgSub;
|
18
20
|
this.component = null;
|
19
21
|
this.component = (this.vcRef._hostLView).find(v => !isNullOrUndefined(v));
|
20
22
|
}
|
21
|
-
set magic(val) { this.id = val; }
|
22
|
-
;
|
23
23
|
get Component() {
|
24
24
|
return this.mgSub.mgGetComp(this.id);
|
25
25
|
}
|
@@ -32,7 +32,7 @@ SubformMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SubformMagicCompone
|
|
32
32
|
i0.ɵɵtemplate(0, SubformMagicComponent_ndc_dynamic_0_Template, 1, 2, "ndc-dynamic", 0);
|
33
33
|
} if (rf & 2) {
|
34
34
|
i0.ɵɵproperty("ngIf", ctx.Component);
|
35
|
-
} },
|
35
|
+
} }, dependencies: [i2.NgIf, i3.DynamicComponent, i3.DynamicIoDirective], encapsulation: 2 });
|
36
36
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubformMagicComponent, [{
|
37
37
|
type: Component,
|
38
38
|
args: [{
|
@@ -49,4 +49,4 @@ SubformMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SubformMagicCompone
|
|
49
49
|
type: Input,
|
50
50
|
args: ['magic']
|
51
51
|
}] }); })();
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ViZm9ybS5tYWdpYy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyL3NyYy91aS9zdWJmb3JtLm1hZ2ljLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBRSxnQkFBZ0IsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUVqRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0I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NvbXBvbmVudCA9IG51bGw7XHJcblxyXG4gIC8qKlxyXG4gICAqIEBpZ25vcmVcclxuICAgKi9cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHZjUmVmOiBWaWV3Q29udGFpbmVyUmVmLCBwcm90ZWN0ZWQgbWdTdWI6IFN1YmZvcm1NYWdpY1NlcnZpY2UpIHtcclxuICAgIC8vIEZvciBhbmd1bGFyIDEzIC0gZmluZCB0aGUgY29tcG9uZW50IGZyb20gX2hvc3RMVmlld1xyXG4gICAgdGhpcy5jb21wb25lbnQgPSAgICgoPGFueT50aGlzLnZjUmVmKS5faG9zdExWaWV3KS5maW5kKHYgPT4gIWlzTnVsbE9yVW5kZWZpbmVkKCh2IGFzIFRhc2tCYXNlTWFnaWNDb21wb25lbnQpKSk7XHJcbiAgfVxyXG5cclxuICAvKipcclxuICAgKiBAaWdub3JlXHJcbiAgICovXHJcbiAgZ2V0IENvbXBvbmVudCgpOiBDb21wb25lbnQge1xyXG4gICAgcmV0dXJuIHRoaXMubWdTdWIubWdHZXRDb21wKHRoaXMuaWQpO1xyXG4gIH1cclxuXHJcbiAgLyoqXHJcbiAgICogQGlnbm9yZVxyXG4gICAqL1xyXG4gIGdldCBQYXJhbWV0ZXJzKCk6IGFueSB7XHJcbiAgICByZXR1cm4gdGhpcy5tZ1N1Yi5tZ0dldFBhcmFtZXRlcnModGhpcy5pZCk7XHJcbiAgfVxyXG59XHJcblxyXG4iXX0=
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ChangeDetectorRef, Component, Input } from '@angular/core';
|
2
2
|
import { MagicProperties } from "@magic-xpa/utils";
|
3
|
+
import { isNullOrUndefined } from "@magic-xpa/mscorelib";
|
3
4
|
import { TaskMagicService } from "../services/task.magics.service";
|
4
5
|
import { SubformMagicService } from "../services/subform.magic.service";
|
5
6
|
import { TableMagicService } from "../services/table.magic.service";
|
@@ -43,6 +44,9 @@ export class TaskBaseMagicComponent {
|
|
43
44
|
this.task.recordsCountChangeSubject.pipe().subscribe(value => {
|
44
45
|
this.RecordsCountChanged(value);
|
45
46
|
});
|
47
|
+
this.task.mgLoadSubject.pipe().subscribe(value => {
|
48
|
+
this.mgOnLoad();
|
49
|
+
});
|
46
50
|
}
|
47
51
|
createFormControlsAccessor(formGroup) { }
|
48
52
|
setInputDateFormat() { }
|
@@ -50,11 +54,13 @@ export class TaskBaseMagicComponent {
|
|
50
54
|
}
|
51
55
|
RecordsCountChanged(recordsCount) {
|
52
56
|
}
|
57
|
+
mgOnLoad() {
|
58
|
+
}
|
53
59
|
ngAfterViewInit() {
|
54
60
|
this.mgSub.init();
|
55
61
|
}
|
56
62
|
ngAfterContentChecked() {
|
57
|
-
if (this.task.oldPageSize != this.tableService.getPageSize()) {
|
63
|
+
if (!isNullOrUndefined(this.tableService.getPageSize()) && this.task.oldPageSize != this.tableService.getPageSize()) {
|
58
64
|
this.task.resize(this.tableService.getPageSize(), 0);
|
59
65
|
this.task.oldPageSize = this.tableService.getPageSize();
|
60
66
|
}
|
@@ -77,4 +83,4 @@ TaskBaseMagicComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TaskBaseMagicCompo
|
|
77
83
|
}], taskDescription: [{
|
78
84
|
type: Input
|
79
85
|
}] }); })();
|
80
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1iYXNlLm1hZ2ljLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXIvc3JjL3VpL3Rhc2stYmFzZS5tYWdpYy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixpQkFBaUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFvQixNQUFNLGVBQWUsQ0FBQztBQUVwRyxPQUFPLEVBQUUsZUFBZSxFQUFDLE1BQU0sa0JBQWtCLENB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