@magic-xpa/angular 4.1100.0-dev4110.99 → 4.1100.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/README.md +5 -5
- package/{esm2020 → esm2022}/index.mjs +59 -59
- package/{esm2020 → esm2022}/magic-xpa-angular.mjs +1 -1
- package/esm2022/src/controls.metadata.model.mjs +183 -0
- package/{esm2020 → esm2022}/src/interfaces/sub-form-definition.iterface.mjs +1 -1
- package/{esm2020 → esm2022}/src/magic.core.module.mjs +159 -160
- package/{esm2020 → esm2022}/src/services/ISubformMagicService.mjs +1 -1
- package/esm2022/src/services/OverlayWindowService.mjs +244 -0
- package/esm2022/src/services/StylesMapManager.mjs +28 -0
- package/esm2022/src/services/accessor.magic.service.mjs +358 -0
- package/esm2022/src/services/commands-collector.magic.service.mjs +47 -0
- package/esm2022/src/services/component-list.magic.service.mjs +45 -0
- package/{esm2020 → esm2022}/src/services/confirmation.components.magic.provider.mjs +21 -21
- package/esm2022/src/services/engine.magic.service.mjs +80 -0
- package/{esm2020 → esm2022}/src/services/exit.magic.service.mjs +13 -13
- package/esm2022/src/services/magic-color.service.mjs +101 -0
- package/{esm2020 → esm2022}/src/services/magic.lazy.loader.service.mjs +16 -16
- package/{esm2020 → esm2022}/src/services/magic.providers.mjs +24 -24
- package/esm2022/src/services/magic.services.mjs +36 -0
- package/esm2022/src/services/mg-date-adapter.mjs +108 -0
- package/{esm2020 → esm2022}/src/services/overlay.conainer.magic.provider.mjs +14 -14
- package/esm2022/src/services/router-commands.magic.service.mjs +31 -0
- package/esm2022/src/services/subform.magic.service.mjs +194 -0
- package/esm2022/src/services/table.magic.service.mjs +81 -0
- package/esm2022/src/services/task.magics.service.mjs +648 -0
- package/esm2022/src/services/title.magic.service.mjs +19 -0
- package/esm2022/src/ui/GuiInteractiveExecutor.mjs +114 -0
- package/esm2022/src/ui/components/base-magic-alert.component.mjs +24 -0
- package/esm2022/src/ui/components/base-magic-confirm.component.mjs +24 -0
- package/esm2022/src/ui/components/magic-alert.component.mjs +36 -0
- package/esm2022/src/ui/components/magic-confirmation-box.component.mjs +42 -0
- package/esm2022/src/ui/directives/NonMagicControlDirective.mjs +58 -0
- package/esm2022/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +29 -0
- package/esm2022/src/ui/directives/magic/checkbox.magic.directive.mjs +100 -0
- package/esm2022/src/ui/directives/magic/combobox.magic.directive.mjs +37 -0
- package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +27 -0
- package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +85 -0
- package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +32 -0
- package/esm2022/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +28 -0
- package/{esm2020 → esm2022}/src/ui/directives/magic/nocontrol.magic.directive.mjs +193 -193
- package/esm2022/src/ui/directives/magic/row.magic.directive.mjs +62 -0
- package/esm2022/src/ui/directives/magic-focus.directive.mjs +20 -0
- package/esm2022/src/ui/directives/magic.directive.mjs +232 -0
- package/esm2022/src/ui/directives/magicViewContainerRef.directive.mjs +20 -0
- package/esm2022/src/ui/directives/mgformat.magic.directive.mjs +579 -0
- package/esm2022/src/ui/directives/range-validator.magic.directive.mjs +60 -0
- package/{esm2020 → esm2022}/src/ui/magic-confirmationBox.mjs +41 -41
- package/{esm2020 → esm2022}/src/ui/magic-modal/base-magic-overlay-container.mjs +22 -22
- package/esm2022/src/ui/magic-modal/magic-modal-form.mjs +6 -0
- package/{esm2020 → esm2022}/src/ui/magic-modal/magic-modal-interface.mjs +1 -1
- package/esm2022/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +124 -0
- package/esm2022/src/ui/magic-modal/magic-overlay-container.mjs +162 -0
- package/esm2022/src/ui/magic-root.component.mjs +236 -0
- package/esm2022/src/ui/mgerror.magic.component.mjs +125 -0
- package/esm2022/src/ui/pipes/date.magic.pipe.mjs +106 -0
- package/esm2022/src/ui/pipes/time.magic.pipe.mjs +52 -0
- package/esm2022/src/ui/pipes/time24.magic.pipe.mjs +35 -0
- package/esm2022/src/ui/router-container.magic.component.mjs +115 -0
- package/{esm2020 → esm2022}/src/ui/subform.magic.component.mjs +50 -46
- package/esm2022/src/ui/task-base.magic.component.mjs +91 -0
- package/{esm2020 → esm2022}/src/ui/utils.mjs +53 -53
- package/{fesm2020 → fesm2022}/magic-xpa-angular.mjs +4930 -4495
- package/fesm2022/magic-xpa-angular.mjs.map +1 -0
- package/index.d.ts +58 -58
- package/package.json +10 -16
- package/src/controls.metadata.model.d.ts +62 -62
- package/src/interfaces/sub-form-definition.iterface.d.ts +12 -12
- package/src/magic.core.module.d.ts +41 -41
- package/src/services/ISubformMagicService.d.ts +4 -4
- package/src/services/OverlayWindowService.d.ts +30 -31
- package/src/services/StylesMapManager.d.ts +5 -5
- package/src/services/accessor.magic.service.d.ts +69 -69
- package/src/services/commands-collector.magic.service.d.ts +15 -15
- package/src/services/component-list.magic.service.d.ts +23 -23
- package/src/services/confirmation.components.magic.provider.d.ts +8 -8
- package/src/services/engine.magic.service.d.ts +27 -27
- package/src/services/exit.magic.service.d.ts +6 -6
- package/src/services/magic-color.service.d.ts +19 -19
- package/src/services/magic.lazy.loader.service.d.ts +6 -6
- package/src/services/magic.providers.d.ts +107 -107
- package/src/services/magic.services.d.ts +16 -16
- package/src/services/mg-date-adapter.d.ts +38 -40
- package/src/services/overlay.conainer.magic.provider.d.ts +7 -7
- package/src/services/router-commands.magic.service.d.ts +17 -17
- package/src/services/subform.magic.service.d.ts +43 -43
- package/src/services/table.magic.service.d.ts +30 -30
- package/src/services/task.magics.service.d.ts +100 -100
- package/src/services/title.magic.service.d.ts +9 -9
- package/src/ui/GuiInteractiveExecutor.d.ts +22 -22
- package/src/ui/components/base-magic-alert.component.d.ts +10 -10
- package/src/ui/components/base-magic-confirm.component.d.ts +10 -10
- package/src/ui/components/magic-alert.component.d.ts +6 -6
- package/src/ui/components/magic-confirmation-box.component.d.ts +6 -6
- package/src/ui/directives/NonMagicControlDirective.d.ts +26 -26
- package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +9 -9
- package/src/ui/directives/magic/checkbox.magic.directive.d.ts +22 -9
- package/src/ui/directives/magic/combobox.magic.directive.d.ts +10 -10
- package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +7 -7
- package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +23 -17
- package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +7 -7
- package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +9 -9
- package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +18 -18
- package/src/ui/directives/magic/row.magic.directive.d.ts +17 -17
- package/src/ui/directives/magic-focus.directive.d.ts +9 -9
- package/src/ui/directives/magic.directive.d.ts +45 -44
- package/src/ui/directives/magicViewContainerRef.directive.d.ts +8 -8
- package/src/ui/directives/mgformat.magic.directive.d.ts +38 -31
- package/src/ui/directives/range-validator.magic.directive.d.ts +17 -17
- package/src/ui/magic-confirmationBox.d.ts +6 -6
- package/src/ui/magic-modal/base-magic-overlay-container.d.ts +5 -5
- package/src/ui/magic-modal/magic-modal-form.d.ts +5 -5
- package/src/ui/magic-modal/magic-modal-interface.d.ts +10 -10
- package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +30 -31
- package/src/ui/magic-modal/magic-overlay-container.d.ts +24 -25
- package/src/ui/magic-root.component.d.ts +43 -40
- package/src/ui/mgerror.magic.component.d.ts +20 -20
- package/src/ui/pipes/date.magic.pipe.d.ts +17 -17
- package/src/ui/pipes/time.magic.pipe.d.ts +11 -11
- package/src/ui/pipes/time24.magic.pipe.d.ts +10 -10
- package/src/ui/router-container.magic.component.d.ts +29 -30
- package/src/ui/subform.magic.component.d.ts +16 -16
- package/src/ui/task-base.magic.component.d.ts +34 -34
- package/src/ui/utils.d.ts +9 -9
- package/esm2020/src/controls.metadata.model.mjs +0 -180
- package/esm2020/src/services/OverlayWindowService.mjs +0 -236
- package/esm2020/src/services/StylesMapManager.mjs +0 -28
- package/esm2020/src/services/accessor.magic.service.mjs +0 -356
- package/esm2020/src/services/commands-collector.magic.service.mjs +0 -46
- package/esm2020/src/services/component-list.magic.service.mjs +0 -46
- package/esm2020/src/services/engine.magic.service.mjs +0 -82
- package/esm2020/src/services/magic-color.service.mjs +0 -99
- package/esm2020/src/services/magic.services.mjs +0 -31
- package/esm2020/src/services/mg-date-adapter.mjs +0 -109
- package/esm2020/src/services/router-commands.magic.service.mjs +0 -28
- package/esm2020/src/services/subform.magic.service.mjs +0 -184
- package/esm2020/src/services/table.magic.service.mjs +0 -77
- package/esm2020/src/services/task.magics.service.mjs +0 -624
- package/esm2020/src/services/title.magic.service.mjs +0 -18
- package/esm2020/src/ui/GuiInteractiveExecutor.mjs +0 -105
- package/esm2020/src/ui/components/base-magic-alert.component.mjs +0 -23
- package/esm2020/src/ui/components/base-magic-confirm.component.mjs +0 -23
- package/esm2020/src/ui/components/magic-alert.component.mjs +0 -35
- package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +0 -41
- package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +0 -49
- package/esm2020/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +0 -28
- package/esm2020/src/ui/directives/magic/checkbox.magic.directive.mjs +0 -28
- package/esm2020/src/ui/directives/magic/combobox.magic.directive.mjs +0 -36
- package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +0 -27
- package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +0 -52
- package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +0 -32
- package/esm2020/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +0 -27
- package/esm2020/src/ui/directives/magic/row.magic.directive.mjs +0 -58
- package/esm2020/src/ui/directives/magic-focus.directive.mjs +0 -19
- package/esm2020/src/ui/directives/magic.directive.mjs +0 -215
- package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +0 -19
- package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +0 -408
- package/esm2020/src/ui/directives/range-validator.magic.directive.mjs +0 -58
- package/esm2020/src/ui/magic-modal/magic-modal-form.mjs +0 -8
- package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +0 -121
- package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +0 -159
- package/esm2020/src/ui/magic-root.component.mjs +0 -203
- package/esm2020/src/ui/mgerror.magic.component.mjs +0 -119
- package/esm2020/src/ui/pipes/date.magic.pipe.mjs +0 -105
- package/esm2020/src/ui/pipes/time.magic.pipe.mjs +0 -51
- package/esm2020/src/ui/pipes/time24.magic.pipe.mjs +0 -34
- package/esm2020/src/ui/router-container.magic.component.mjs +0 -108
- package/esm2020/src/ui/task-base.magic.component.mjs +0 -86
- package/fesm2015/magic-xpa-angular.mjs +0 -4865
- package/fesm2015/magic-xpa-angular.mjs.map +0 -1
- package/fesm2020/magic-xpa-angular.mjs.map +0 -1
@@ -1,31 +1,30 @@
|
|
1
|
-
import { ViewContainerRef,
|
2
|
-
import { ComponentListMagicService } from "../../services/component-list.magic.service";
|
3
|
-
import { IMagicViewContainerRef } from "../../..";
|
4
|
-
import { MagicLazyLoaderService } from '../../services/magic.lazy.loader.service';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class MagicOverlayContainerWrapper implements IMagicViewContainerRef {
|
7
|
-
private componentListMagicService;
|
8
|
-
private magicLazyModuleLoader;
|
9
|
-
private injector;
|
10
|
-
private
|
11
|
-
private
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
private
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
static
|
30
|
-
|
31
|
-
}
|
1
|
+
import { ViewContainerRef, ElementRef, Injector, ChangeDetectorRef, Compiler } from '@angular/core';
|
2
|
+
import { ComponentListMagicService } from "../../services/component-list.magic.service";
|
3
|
+
import { IMagicViewContainerRef } from "../../..";
|
4
|
+
import { MagicLazyLoaderService } from '../../services/magic.lazy.loader.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class MagicOverlayContainerWrapper implements IMagicViewContainerRef {
|
7
|
+
private componentListMagicService;
|
8
|
+
private magicLazyModuleLoader;
|
9
|
+
private injector;
|
10
|
+
private changeDetectorRef;
|
11
|
+
private compiler;
|
12
|
+
Component: any;
|
13
|
+
Parameters: any;
|
14
|
+
private OverlayTypeParam;
|
15
|
+
private onClose;
|
16
|
+
overlayContentViewContainerRef: ViewContainerRef;
|
17
|
+
overlayContainerWrapperElementRef: ElementRef;
|
18
|
+
static allowedBaseComps: Map<number, {
|
19
|
+
comp: any;
|
20
|
+
error: string;
|
21
|
+
}>;
|
22
|
+
constructor(componentListMagicService: ComponentListMagicService, magicLazyModuleLoader: MagicLazyLoaderService, injector: Injector, changeDetectorRef: ChangeDetectorRef, compiler: Compiler);
|
23
|
+
ngOnInit(): void;
|
24
|
+
private loadComponent;
|
25
|
+
setViewContainerRef(vcRef: ViewContainerRef): void;
|
26
|
+
GetRootElement(): HTMLElement;
|
27
|
+
DetectChanges(): void;
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainerWrapper, never>;
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainerWrapper, "app-magic-overlay-container-wrapper", never, { "Component": { "alias": "Component"; "required": false; }; "Parameters": { "alias": "Parameters"; "required": false; }; "OverlayTypeParam": { "alias": "OverlayTypeParam"; "required": false; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
30
|
+
}
|
@@ -1,25 +1,24 @@
|
|
1
|
-
import {
|
2
|
-
import { BaseMagicOverlayContainer } from './base-magic-overlay-container';
|
3
|
-
import { IMagicViewContainerRef } from '../../..';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class MagicOverlayContainer extends BaseMagicOverlayContainer implements OnInit, IMagicViewContainerRef {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
static
|
24
|
-
|
25
|
-
}
|
1
|
+
import { ElementRef, EventEmitter, OnInit, ViewContainerRef } from '@angular/core';
|
2
|
+
import { BaseMagicOverlayContainer } from './base-magic-overlay-container';
|
3
|
+
import { IMagicViewContainerRef } from '../../..';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class MagicOverlayContainer extends BaseMagicOverlayContainer implements OnInit, IMagicViewContainerRef {
|
6
|
+
modalbodyViewContainerRef: ViewContainerRef;
|
7
|
+
headerElementRef: ElementRef;
|
8
|
+
foregroundElementRef: ElementRef;
|
9
|
+
ModalComp: any;
|
10
|
+
ModalCompParameters: any;
|
11
|
+
onClose: EventEmitter<void>;
|
12
|
+
private componentRef;
|
13
|
+
constructor();
|
14
|
+
ngOnInit(): void;
|
15
|
+
setViewContainerRef(vcRef: ViewContainerRef): void;
|
16
|
+
getText(): any;
|
17
|
+
getStyle(): {};
|
18
|
+
getClientAreaStyles(): {};
|
19
|
+
getShowTitleBar(): any;
|
20
|
+
OnClose(): void;
|
21
|
+
OnBackgroundClick(): void;
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainer, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainer, "app-magic-overlay-container", never, { "ModalComp": { "alias": "ModalComp"; "required": false; }; "ModalCompParameters": { "alias": "ModalCompParameters"; "required": false; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
24
|
+
}
|
@@ -1,40 +1,43 @@
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
-
import { GuiCommand } from '@magic-xpa/gui';
|
3
|
-
import { Title } from '@angular/platform-browser';
|
4
|
-
import { EngineMagicService } from '../services/engine.magic.service';
|
5
|
-
import { ComponentListMagicService } from '../services/component-list.magic.service';
|
6
|
-
import { ExitMagicService } from '../services/exit.magic.service';
|
7
|
-
import { OverlayWindowService } from '../services/OverlayWindowService';
|
8
|
-
import { IMagicViewContainerRef } from '../..';
|
9
|
-
import { CommandsCollectorMagicService } from '../services/commands-collector.magic.service';
|
10
|
-
import { HttpClient } from '@angular/common/http';
|
11
|
-
import
|
12
|
-
|
13
|
-
|
14
|
-
protected
|
15
|
-
protected
|
16
|
-
|
17
|
-
private
|
18
|
-
private
|
19
|
-
private
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
+
import { GuiCommand } from '@magic-xpa/gui';
|
3
|
+
import { Title } from '@angular/platform-browser';
|
4
|
+
import { EngineMagicService } from '../services/engine.magic.service';
|
5
|
+
import { ComponentListMagicService } from '../services/component-list.magic.service';
|
6
|
+
import { ExitMagicService } from '../services/exit.magic.service';
|
7
|
+
import { OverlayWindowService } from '../services/OverlayWindowService';
|
8
|
+
import { IMagicViewContainerRef } from '../..';
|
9
|
+
import { CommandsCollectorMagicService } from '../services/commands-collector.magic.service';
|
10
|
+
import { HttpClient } from '@angular/common/http';
|
11
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
12
|
+
import * as i0 from "@angular/core";
|
13
|
+
export declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerRef {
|
14
|
+
protected engineMagicService: EngineMagicService;
|
15
|
+
protected componentList: ComponentListMagicService;
|
16
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
17
|
+
private titleService;
|
18
|
+
private overlayWindowService;
|
19
|
+
private httpClient;
|
20
|
+
private pendingCommandsCollector;
|
21
|
+
private route;
|
22
|
+
private router;
|
23
|
+
exitMagicService: ExitMagicService;
|
24
|
+
RootComponent: Component;
|
25
|
+
RootComponentParameters: any;
|
26
|
+
overlayWindowsContainerViewRef: ViewContainerRef;
|
27
|
+
rootMagicElementRef: ElementRef;
|
28
|
+
SpinnerTemplate: TemplateRef<any>;
|
29
|
+
showSpinner: boolean;
|
30
|
+
magicEngineTerminated: boolean;
|
31
|
+
constructor(engineMagicService: EngineMagicService, componentList: ComponentListMagicService, changeDetectorRef: ChangeDetectorRef, titleService: Title, overlayWindowService: OverlayWindowService, httpClient: HttpClient, pendingCommandsCollector: CommandsCollectorMagicService, route: ActivatedRoute, router: Router, exitMagicService: ExitMagicService);
|
32
|
+
onBeforeUnload(event: any): string;
|
33
|
+
onUnload(event: any): void;
|
34
|
+
ngAfterViewInit(): void;
|
35
|
+
setViewContainerRef(vcRef: ViewContainerRef): void;
|
36
|
+
initialize(): void;
|
37
|
+
setTitle(): void;
|
38
|
+
private setComponent;
|
39
|
+
registerUICommands(): void;
|
40
|
+
executeCommand(command: GuiCommand): void;
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicShellComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicShellComponent, "magic-root", never, { "SpinnerTemplate": { "alias": "SpinnerTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
43
|
+
}
|
@@ -1,20 +1,20 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
2
|
-
import { AccessorMagicService } from "../services/accessor.magic.service";
|
3
|
-
import { TaskMagicService } from "../services/task.magics.service";
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class ErrorMagicComponent {
|
6
|
-
protected _task: TaskMagicService;
|
7
|
-
mgService: AccessorMagicService;
|
8
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
9
|
-
id: string;
|
10
|
-
rowId: string;
|
11
|
-
set magic(val: any);
|
12
|
-
set rowId1(val: any);
|
13
|
-
defaultDisplay: boolean;
|
14
|
-
set CustomContent(innerComponent: ElementRef);
|
15
|
-
constructor(_task: TaskMagicService, mgService: AccessorMagicService, changeDetectorRef: ChangeDetectorRef);
|
16
|
-
isEmpty(element: HTMLElement): boolean;
|
17
|
-
HasErrors(id: string): boolean;
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMagicComponent, never>;
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMagicComponent, "mgError", never, { "magic": "magic"; "rowId1": "rowId"; }, {}, never, ["*"], false, never>;
|
20
|
-
}
|
1
|
+
import { ChangeDetectorRef, ElementRef } from "@angular/core";
|
2
|
+
import { AccessorMagicService } from "../services/accessor.magic.service";
|
3
|
+
import { TaskMagicService } from "../services/task.magics.service";
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class ErrorMagicComponent {
|
6
|
+
protected _task: TaskMagicService;
|
7
|
+
mgService: AccessorMagicService;
|
8
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
9
|
+
id: string;
|
10
|
+
rowId: string;
|
11
|
+
set magic(val: any);
|
12
|
+
set rowId1(val: any);
|
13
|
+
defaultDisplay: boolean;
|
14
|
+
set CustomContent(innerComponent: ElementRef);
|
15
|
+
constructor(_task: TaskMagicService, mgService: AccessorMagicService, changeDetectorRef: ChangeDetectorRef);
|
16
|
+
isEmpty(element: HTMLElement): boolean;
|
17
|
+
HasErrors(id: string): boolean;
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMagicComponent, never>;
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMagicComponent, "mgError", never, { "magic": { "alias": "magic"; "required": false; }; "rowId1": { "alias": "rowId"; "required": false; }; }, {}, never, ["*"], false, never>;
|
20
|
+
}
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
2
|
-
import { DatePipe } from '@angular/common';
|
3
|
-
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class Constants {
|
6
|
-
static readonly DATE_FMT = "dd/MMM/yyyy";
|
7
|
-
}
|
8
|
-
export declare class DateMagicPipe extends DatePipe implements PipeTransform {
|
9
|
-
protected _task: TaskMagicService;
|
10
|
-
constructor(_task: TaskMagicService);
|
11
|
-
transform(value: any, controlId: string): any;
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateMagicPipe, never>;
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DateMagicPipe, "magicDate", false>;
|
14
|
-
}
|
15
|
-
export declare class MgDateFormatter {
|
16
|
-
ConvertMgDateFormatToAngular(mgDateMask: string): string;
|
17
|
-
}
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import { DatePipe } from '@angular/common';
|
3
|
+
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class Constants {
|
6
|
+
static readonly DATE_FMT = "dd/MMM/yyyy";
|
7
|
+
}
|
8
|
+
export declare class DateMagicPipe extends DatePipe implements PipeTransform {
|
9
|
+
protected _task: TaskMagicService;
|
10
|
+
constructor(_task: TaskMagicService);
|
11
|
+
transform(value: any, controlId: string): any;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateMagicPipe, never>;
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DateMagicPipe, "magicDate", false>;
|
14
|
+
}
|
15
|
+
export declare class MgDateFormatter {
|
16
|
+
ConvertMgDateFormatToAngular(mgDateMask: string): string;
|
17
|
+
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
2
|
-
import { DatePipe } from '@angular/common';
|
3
|
-
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class TimeMagicPipe extends DatePipe implements PipeTransform {
|
6
|
-
protected _task: TaskMagicService;
|
7
|
-
constructor(_task: TaskMagicService);
|
8
|
-
transform(value: any, controlId: string): any;
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TimeMagicPipe, never>;
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TimeMagicPipe, "magicTime", false>;
|
11
|
-
}
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import { DatePipe } from '@angular/common';
|
3
|
+
import { TaskMagicService } from '../../services/task.magics.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class TimeMagicPipe extends DatePipe implements PipeTransform {
|
6
|
+
protected _task: TaskMagicService;
|
7
|
+
constructor(_task: TaskMagicService);
|
8
|
+
transform(value: any, controlId: string): any;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeMagicPipe, never>;
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TimeMagicPipe, "magicTime", false>;
|
11
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
2
|
-
import { TaskMagicService } from "../../services/task.magics.service";
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class Time24MagicPipe implements PipeTransform {
|
5
|
-
protected _task: TaskMagicService;
|
6
|
-
constructor(_task: TaskMagicService);
|
7
|
-
transform(value: any, controlId: string): any;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Time24MagicPipe, never>;
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<Time24MagicPipe, "magicTime24", false>;
|
10
|
-
}
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import { TaskMagicService } from "../../services/task.magics.service";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class Time24MagicPipe implements PipeTransform {
|
5
|
+
protected _task: TaskMagicService;
|
6
|
+
constructor(_task: TaskMagicService);
|
7
|
+
transform(value: any, controlId: string): any;
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Time24MagicPipe, never>;
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<Time24MagicPipe, "magicTime24", false>;
|
10
|
+
}
|
@@ -1,30 +1,29 @@
|
|
1
|
-
import {
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
3
|
-
import { EngineMagicService } from '../services/engine.magic.service';
|
4
|
-
import { ComponentListMagicService } from '../services/component-list.magic.service';
|
5
|
-
import { CommandsCollectorMagicService } from '../services/commands-collector.magic.service';
|
6
|
-
import { RouterCommandsMagicService } from '../services/router-commands.magic.service';
|
7
|
-
import { TaskMagicService } from '../services/task.magics.service';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
export declare class RouterContainerMagicComponent implements OnInit {
|
10
|
-
private activatedRoute;
|
11
|
-
protected router: Router;
|
12
|
-
protected magic: EngineMagicService;
|
13
|
-
private containerTaskService;
|
14
|
-
private
|
15
|
-
private
|
16
|
-
|
17
|
-
protected
|
18
|
-
|
19
|
-
private
|
20
|
-
private
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
static
|
29
|
-
|
30
|
-
}
|
1
|
+
import { OnInit, ViewContainerRef } from '@angular/core';
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
3
|
+
import { EngineMagicService } from '../services/engine.magic.service';
|
4
|
+
import { ComponentListMagicService } from '../services/component-list.magic.service';
|
5
|
+
import { CommandsCollectorMagicService } from '../services/commands-collector.magic.service';
|
6
|
+
import { RouterCommandsMagicService } from '../services/router-commands.magic.service';
|
7
|
+
import { TaskMagicService } from '../services/task.magics.service';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
export declare class RouterContainerMagicComponent implements OnInit {
|
10
|
+
private activatedRoute;
|
11
|
+
protected router: Router;
|
12
|
+
protected magic: EngineMagicService;
|
13
|
+
private containerTaskService;
|
14
|
+
private viewContainerRef;
|
15
|
+
private componentList;
|
16
|
+
protected pendingCommandsCollector: CommandsCollectorMagicService;
|
17
|
+
protected routerCommandsMagicService: RouterCommandsMagicService;
|
18
|
+
private componentRef;
|
19
|
+
private parentMgSubformService;
|
20
|
+
private static lastRoute;
|
21
|
+
static get LastRoute(): string;
|
22
|
+
constructor(activatedRoute: ActivatedRoute, router: Router, magic: EngineMagicService, containerTaskService: TaskMagicService, viewContainerRef: ViewContainerRef, componentList: ComponentListMagicService, pendingCommandsCollector: CommandsCollectorMagicService, routerCommandsMagicService: RouterCommandsMagicService);
|
23
|
+
ngOnInit(): void;
|
24
|
+
private insertRouteEvent;
|
25
|
+
initializeComponent(): void;
|
26
|
+
ngOnDestroy(): void;
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouterContainerMagicComponent, never>;
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RouterContainerMagicComponent, "magic-route-outlet", never, {}, {}, never, never, false, never>;
|
29
|
+
}
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { Component, ViewContainerRef } from "@angular/core";
|
2
|
-
import { TaskBaseMagicComponent } from "./task-base.magic.component";
|
3
|
-
import { SubformMagicService } from "../services/subform.magic.service";
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export declare class SubformMagicComponent {
|
6
|
-
private vcRef;
|
7
|
-
protected mgSub: SubformMagicService;
|
8
|
-
id: string;
|
9
|
-
set magic(val: any);
|
10
|
-
component: TaskBaseMagicComponent;
|
11
|
-
constructor(vcRef: ViewContainerRef, mgSub: SubformMagicService);
|
12
|
-
get Component(): Component;
|
13
|
-
get Parameters(): any;
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubformMagicComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubformMagicComponent, "magic-subform", never, { "magic": "magic"; }, {}, never, never, false, never>;
|
16
|
-
}
|
1
|
+
import { Component, ViewContainerRef } from "@angular/core";
|
2
|
+
import { TaskBaseMagicComponent } from "./task-base.magic.component";
|
3
|
+
import { SubformMagicService } from "../services/subform.magic.service";
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class SubformMagicComponent {
|
6
|
+
private vcRef;
|
7
|
+
protected mgSub: SubformMagicService;
|
8
|
+
id: string;
|
9
|
+
set magic(val: any);
|
10
|
+
component: TaskBaseMagicComponent;
|
11
|
+
constructor(vcRef: ViewContainerRef, mgSub: SubformMagicService);
|
12
|
+
get Component(): Component;
|
13
|
+
get Parameters(): any;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubformMagicComponent, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubformMagicComponent, "magic-subform", never, { "magic": { "alias": "magic"; "required": false; }; }, {}, never, never, false, never>;
|
16
|
+
}
|
@@ -1,34 +1,34 @@
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
-
import { FormGroup } from '@angular/forms';
|
3
|
-
import { MagicProperties } from "@magic-xpa/utils";
|
4
|
-
import { TaskMagicService } from "../services/task.magics.service";
|
5
|
-
import { SubformMagicService } from "../services/subform.magic.service";
|
6
|
-
import { TableMagicService } from "../services/table.magic.service";
|
7
|
-
import { MagicServices } from "../services/magic.services";
|
8
|
-
import { AccessorMagicService } from "../services/accessor.magic.service";
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
export declare class TaskBaseMagicComponent implements OnInit, OnDestroy, AfterViewInit {
|
11
|
-
protected ref: ChangeDetectorRef;
|
12
|
-
magicServices: MagicServices;
|
13
|
-
taskIdParam: string;
|
14
|
-
taskDescription: string;
|
15
|
-
magicProperties: typeof MagicProperties;
|
16
|
-
constructor(ref: ChangeDetectorRef, magicServices: MagicServices);
|
17
|
-
get task(): TaskMagicService;
|
18
|
-
get mgSub(): SubformMagicService;
|
19
|
-
get tableService(): TableMagicService;
|
20
|
-
get mg(): AccessorMagicService;
|
21
|
-
get taskId(): string;
|
22
|
-
get screenFormGroup(): FormGroup;
|
23
|
-
ngOnInit(): void;
|
24
|
-
createFormControlsAccessor(formGroup: FormGroup): void;
|
25
|
-
setInputDateFormat(): void;
|
26
|
-
PropertyChanged(propertyName: string, rowId: number, value: any): void;
|
27
|
-
RecordsCountChanged(recordsCount: number): void;
|
28
|
-
mgOnLoad(): void;
|
29
|
-
ngAfterViewInit(): void;
|
30
|
-
ngAfterContentChecked(): void;
|
31
|
-
ngOnDestroy(): void;
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskBaseMagicComponent, never>;
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskBaseMagicComponent, "task-magic", never, { "taskIdParam": "taskIdParam"; "taskDescription": "taskDescription"; }, {}, never, never, false, never>;
|
34
|
-
}
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
2
|
+
import { FormGroup } from '@angular/forms';
|
3
|
+
import { MagicProperties } from "@magic-xpa/utils";
|
4
|
+
import { TaskMagicService } from "../services/task.magics.service";
|
5
|
+
import { SubformMagicService } from "../services/subform.magic.service";
|
6
|
+
import { TableMagicService } from "../services/table.magic.service";
|
7
|
+
import { MagicServices } from "../services/magic.services";
|
8
|
+
import { AccessorMagicService } from "../services/accessor.magic.service";
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
export declare class TaskBaseMagicComponent implements OnInit, OnDestroy, AfterViewInit {
|
11
|
+
protected ref: ChangeDetectorRef;
|
12
|
+
magicServices: MagicServices;
|
13
|
+
taskIdParam: string;
|
14
|
+
taskDescription: string;
|
15
|
+
magicProperties: typeof MagicProperties;
|
16
|
+
constructor(ref: ChangeDetectorRef, magicServices: MagicServices);
|
17
|
+
get task(): TaskMagicService;
|
18
|
+
get mgSub(): SubformMagicService;
|
19
|
+
get tableService(): TableMagicService;
|
20
|
+
get mg(): AccessorMagicService;
|
21
|
+
get taskId(): string;
|
22
|
+
get screenFormGroup(): FormGroup;
|
23
|
+
ngOnInit(): void;
|
24
|
+
createFormControlsAccessor(formGroup: FormGroup): void;
|
25
|
+
setInputDateFormat(): void;
|
26
|
+
PropertyChanged(propertyName: string, rowId: number, value: any): void;
|
27
|
+
RecordsCountChanged(recordsCount: number): void;
|
28
|
+
mgOnLoad(): void;
|
29
|
+
ngAfterViewInit(): void;
|
30
|
+
ngAfterContentChecked(): void;
|
31
|
+
ngOnDestroy(): void;
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskBaseMagicComponent, never>;
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskBaseMagicComponent, "task-magic", never, { "taskIdParam": { "alias": "taskIdParam"; "required": false; }; "taskDescription": { "alias": "taskDescription"; "required": false; }; }, {}, never, never, false, never>;
|
34
|
+
}
|
package/src/ui/utils.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
export declare class utils {
|
2
|
-
static getDistance(control: Element, x: number, y: number): number;
|
3
|
-
static getDimentions(el: any): {
|
4
|
-
x: number;
|
5
|
-
y: number;
|
6
|
-
width: any;
|
7
|
-
height: any;
|
8
|
-
};
|
9
|
-
}
|
1
|
+
export declare class utils {
|
2
|
+
static getDistance(control: Element, x: number, y: number): number;
|
3
|
+
static getDimentions(el: any): {
|
4
|
+
x: number;
|
5
|
+
y: number;
|
6
|
+
width: any;
|
7
|
+
height: any;
|
8
|
+
};
|
9
|
+
}
|