@magic-xpa/angular 4.1100.0-dev4110.104 → 4.1100.0-dev4110.106

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.
Files changed (123) hide show
  1. package/esm2020/index.mjs +2 -59
  2. package/fesm2015/magic-xpa-angular.mjs +0 -4863
  3. package/fesm2015/magic-xpa-angular.mjs.map +1 -1
  4. package/fesm2020/magic-xpa-angular.mjs +0 -4681
  5. package/fesm2020/magic-xpa-angular.mjs.map +1 -1
  6. package/index.d.ts +1 -58
  7. package/package.json +3 -3
  8. package/esm2020/src/controls.metadata.model.mjs +0 -180
  9. package/esm2020/src/interfaces/sub-form-definition.iterface.mjs +0 -2
  10. package/esm2020/src/magic.core.module.mjs +0 -160
  11. package/esm2020/src/services/ISubformMagicService.mjs +0 -2
  12. package/esm2020/src/services/OverlayWindowService.mjs +0 -236
  13. package/esm2020/src/services/StylesMapManager.mjs +0 -28
  14. package/esm2020/src/services/accessor.magic.service.mjs +0 -356
  15. package/esm2020/src/services/commands-collector.magic.service.mjs +0 -46
  16. package/esm2020/src/services/component-list.magic.service.mjs +0 -46
  17. package/esm2020/src/services/confirmation.components.magic.provider.mjs +0 -21
  18. package/esm2020/src/services/engine.magic.service.mjs +0 -82
  19. package/esm2020/src/services/exit.magic.service.mjs +0 -13
  20. package/esm2020/src/services/magic-color.service.mjs +0 -99
  21. package/esm2020/src/services/magic.lazy.loader.service.mjs +0 -16
  22. package/esm2020/src/services/magic.providers.mjs +0 -25
  23. package/esm2020/src/services/magic.services.mjs +0 -31
  24. package/esm2020/src/services/mg-date-adapter.mjs +0 -109
  25. package/esm2020/src/services/overlay.conainer.magic.provider.mjs +0 -14
  26. package/esm2020/src/services/router-commands.magic.service.mjs +0 -28
  27. package/esm2020/src/services/subform.magic.service.mjs +0 -184
  28. package/esm2020/src/services/table.magic.service.mjs +0 -77
  29. package/esm2020/src/services/task.magics.service.mjs +0 -624
  30. package/esm2020/src/services/title.magic.service.mjs +0 -18
  31. package/esm2020/src/ui/GuiInteractiveExecutor.mjs +0 -105
  32. package/esm2020/src/ui/components/base-magic-alert.component.mjs +0 -23
  33. package/esm2020/src/ui/components/base-magic-confirm.component.mjs +0 -23
  34. package/esm2020/src/ui/components/magic-alert.component.mjs +0 -35
  35. package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +0 -41
  36. package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +0 -49
  37. package/esm2020/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +0 -28
  38. package/esm2020/src/ui/directives/magic/checkbox.magic.directive.mjs +0 -28
  39. package/esm2020/src/ui/directives/magic/combobox.magic.directive.mjs +0 -36
  40. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +0 -27
  41. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +0 -52
  42. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +0 -32
  43. package/esm2020/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +0 -27
  44. package/esm2020/src/ui/directives/magic/nocontrol.magic.directive.mjs +0 -193
  45. package/esm2020/src/ui/directives/magic/row.magic.directive.mjs +0 -58
  46. package/esm2020/src/ui/directives/magic-focus.directive.mjs +0 -19
  47. package/esm2020/src/ui/directives/magic.directive.mjs +0 -215
  48. package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +0 -19
  49. package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +0 -408
  50. package/esm2020/src/ui/directives/range-validator.magic.directive.mjs +0 -58
  51. package/esm2020/src/ui/magic-confirmationBox.mjs +0 -42
  52. package/esm2020/src/ui/magic-modal/base-magic-overlay-container.mjs +0 -22
  53. package/esm2020/src/ui/magic-modal/magic-modal-form.mjs +0 -8
  54. package/esm2020/src/ui/magic-modal/magic-modal-interface.mjs +0 -2
  55. package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +0 -121
  56. package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +0 -159
  57. package/esm2020/src/ui/magic-root.component.mjs +0 -203
  58. package/esm2020/src/ui/mgerror.magic.component.mjs +0 -119
  59. package/esm2020/src/ui/pipes/date.magic.pipe.mjs +0 -105
  60. package/esm2020/src/ui/pipes/time.magic.pipe.mjs +0 -51
  61. package/esm2020/src/ui/pipes/time24.magic.pipe.mjs +0 -34
  62. package/esm2020/src/ui/router-container.magic.component.mjs +0 -108
  63. package/esm2020/src/ui/subform.magic.component.mjs +0 -52
  64. package/esm2020/src/ui/task-base.magic.component.mjs +0 -86
  65. package/esm2020/src/ui/utils.mjs +0 -54
  66. package/src/controls.metadata.model.d.ts +0 -62
  67. package/src/interfaces/sub-form-definition.iterface.d.ts +0 -12
  68. package/src/magic.core.module.d.ts +0 -41
  69. package/src/services/ISubformMagicService.d.ts +0 -4
  70. package/src/services/OverlayWindowService.d.ts +0 -31
  71. package/src/services/StylesMapManager.d.ts +0 -5
  72. package/src/services/accessor.magic.service.d.ts +0 -69
  73. package/src/services/commands-collector.magic.service.d.ts +0 -15
  74. package/src/services/component-list.magic.service.d.ts +0 -23
  75. package/src/services/confirmation.components.magic.provider.d.ts +0 -8
  76. package/src/services/engine.magic.service.d.ts +0 -27
  77. package/src/services/exit.magic.service.d.ts +0 -6
  78. package/src/services/magic-color.service.d.ts +0 -19
  79. package/src/services/magic.lazy.loader.service.d.ts +0 -6
  80. package/src/services/magic.providers.d.ts +0 -107
  81. package/src/services/magic.services.d.ts +0 -16
  82. package/src/services/mg-date-adapter.d.ts +0 -40
  83. package/src/services/overlay.conainer.magic.provider.d.ts +0 -7
  84. package/src/services/router-commands.magic.service.d.ts +0 -17
  85. package/src/services/subform.magic.service.d.ts +0 -43
  86. package/src/services/table.magic.service.d.ts +0 -30
  87. package/src/services/task.magics.service.d.ts +0 -100
  88. package/src/services/title.magic.service.d.ts +0 -9
  89. package/src/ui/GuiInteractiveExecutor.d.ts +0 -22
  90. package/src/ui/components/base-magic-alert.component.d.ts +0 -10
  91. package/src/ui/components/base-magic-confirm.component.d.ts +0 -10
  92. package/src/ui/components/magic-alert.component.d.ts +0 -6
  93. package/src/ui/components/magic-confirmation-box.component.d.ts +0 -6
  94. package/src/ui/directives/NonMagicControlDirective.d.ts +0 -26
  95. package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +0 -9
  96. package/src/ui/directives/magic/checkbox.magic.directive.d.ts +0 -9
  97. package/src/ui/directives/magic/combobox.magic.directive.d.ts +0 -10
  98. package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +0 -7
  99. package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +0 -17
  100. package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +0 -7
  101. package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +0 -9
  102. package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +0 -18
  103. package/src/ui/directives/magic/row.magic.directive.d.ts +0 -17
  104. package/src/ui/directives/magic-focus.directive.d.ts +0 -9
  105. package/src/ui/directives/magic.directive.d.ts +0 -44
  106. package/src/ui/directives/magicViewContainerRef.directive.d.ts +0 -8
  107. package/src/ui/directives/mgformat.magic.directive.d.ts +0 -31
  108. package/src/ui/directives/range-validator.magic.directive.d.ts +0 -17
  109. package/src/ui/magic-confirmationBox.d.ts +0 -6
  110. package/src/ui/magic-modal/base-magic-overlay-container.d.ts +0 -5
  111. package/src/ui/magic-modal/magic-modal-form.d.ts +0 -5
  112. package/src/ui/magic-modal/magic-modal-interface.d.ts +0 -10
  113. package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +0 -31
  114. package/src/ui/magic-modal/magic-overlay-container.d.ts +0 -25
  115. package/src/ui/magic-root.component.d.ts +0 -40
  116. package/src/ui/mgerror.magic.component.d.ts +0 -20
  117. package/src/ui/pipes/date.magic.pipe.d.ts +0 -17
  118. package/src/ui/pipes/time.magic.pipe.d.ts +0 -11
  119. package/src/ui/pipes/time24.magic.pipe.d.ts +0 -10
  120. package/src/ui/router-container.magic.component.d.ts +0 -30
  121. package/src/ui/subform.magic.component.d.ts +0 -16
  122. package/src/ui/task-base.magic.component.d.ts +0 -34
  123. package/src/ui/utils.d.ts +0 -9
@@ -1,18 +0,0 @@
1
- import { ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
2
- import { GuiCommand } from "@magic-xpa/gui";
3
- import { MagicDirective } from "../magic.directive";
4
- import { TaskMagicService } from "../../../services/task.magics.service";
5
- import { RowMagicDirective } from "./row.magic.directive";
6
- import { Platform } from "@angular/cdk/platform";
7
- import * as i0 from "@angular/core";
8
- export declare class NoControlMagicDirective extends MagicDirective {
9
- set magic(val: any);
10
- constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef, platform: Platform, magicRow: RowMagicDirective);
11
- regEvents(): void;
12
- isTabControl(): boolean;
13
- isRadio(): boolean;
14
- handleCommand(command: GuiCommand): void;
15
- handleSetProperty(command: GuiCommand): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<NoControlMagicDirective, [null, null, null, null, null, { optional: true; }]>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<NoControlMagicDirective, "[magicnc]", never, { "magic": "magicnc"; }, {}, never, never, false, never>;
18
- }
@@ -1,17 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit } from "@angular/core";
2
- import { TaskMagicService } from "../../../services/task.magics.service";
3
- import * as i0 from "@angular/core";
4
- export declare class RowMagicDirective implements OnInit, OnDestroy {
5
- protected _task: TaskMagicService;
6
- protected element: ElementRef;
7
- rowId: string;
8
- protected htmlElement: HTMLElement;
9
- private rowChangedSubscriber;
10
- constructor(_task: TaskMagicService, element: ElementRef);
11
- ngOnInit(): void;
12
- private isInView;
13
- ngOnDestroy(): void;
14
- onClick($event: any): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<RowMagicDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<RowMagicDirective, "[magicRow]", never, { "rowId": "magicRow"; }, {}, never, never, false, never>;
17
- }
@@ -1,9 +0,0 @@
1
- import { ElementRef } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class MagicFocusDirective {
4
- private hostElement;
5
- constructor(hostElement: ElementRef);
6
- ngAfterViewInit(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicFocusDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<MagicFocusDirective, "[magicFocus]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,44 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit, Renderer2, ViewContainerRef } from "@angular/core";
2
- import { GuiCommand, GuiInteractive } from "@magic-xpa/gui";
3
- import { TaskBaseMagicComponent } from "../task-base.magic.component";
4
- import { TaskMagicService } from "../../services/task.magics.service";
5
- import { RowMagicDirective } from "./magic/row.magic.directive";
6
- import { Subscription } from "rxjs";
7
- import { Platform } from "@angular/cdk/platform";
8
- import * as i0 from "@angular/core";
9
- export declare class MagicDirective implements OnInit, OnDestroy {
10
- protected _task: TaskMagicService;
11
- protected element: ElementRef;
12
- protected renderer: Renderer2;
13
- protected vcRef: ViewContainerRef;
14
- platform: Platform;
15
- protected magicRow: RowMagicDirective;
16
- set magic(val: any);
17
- set eventsOnly(val: any);
18
- rowId: string;
19
- protected htmlElement: HTMLElement;
20
- component: TaskBaseMagicComponent;
21
- private eventHandlers;
22
- id: string;
23
- protected selector: string;
24
- subscribeRefreshDom: Subscription;
25
- private focusUnlistener;
26
- eventsOnlyVal: boolean;
27
- static opened: boolean;
28
- static noOfAutoCompleteBoxesOpened: number;
29
- subscribeInteractiveCommands: Subscription;
30
- constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef, platform: Platform, magicRow: RowMagicDirective);
31
- get task(): TaskMagicService;
32
- protected regEvents(): void;
33
- private OnFocus;
34
- IsSameElement(command: any): boolean;
35
- private IsSameComponent;
36
- private regUpdatesUI;
37
- ngOnInit(): void;
38
- handleCommand(command: GuiCommand): void;
39
- handleInteractiveCommands(command: GuiInteractive): void;
40
- handleSetProperty(command: GuiCommand): void;
41
- ngOnDestroy(): void;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicDirective, [null, null, null, null, null, { optional: true; }]>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDirective, "[magic]", never, { "magic": "magic"; "eventsOnly": "eventsOnly"; "rowId": "rowId"; }, {}, never, never, false, never>;
44
- }
@@ -1,8 +0,0 @@
1
- import { ViewContainerRef } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class MagicViewContainerRef {
4
- private vcRef;
5
- constructor(vcRef: ViewContainerRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicViewContainerRef, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<MagicViewContainerRef, "[magicViewContainerRef]", never, {}, {}, never, never, false, never>;
8
- }
@@ -1,31 +0,0 @@
1
- import { TaskMagicService } from '../../services/task.magics.service';
2
- import { RefParam } from '@magic-xpa/mscorelib';
3
- import { StorageAttribute } from '@magic-xpa/utils';
4
- import { MagicDirective } from './magic.directive';
5
- import { AbstractControl } from '@angular/forms';
6
- import { PIC } from '@magic-xpa/gui';
7
- import * as i0 from "@angular/core";
8
- export declare class MgformatMagicDirective {
9
- protected magicDir: MagicDirective;
10
- protected _task: TaskMagicService;
11
- datePasteFlag: boolean;
12
- constructor(magicDir: MagicDirective, _task: TaskMagicService);
13
- ngAfterViewInit(): void;
14
- onFocusEvent($event: any): void;
15
- onPaste(event: ClipboardEvent): void;
16
- onInputEvent(event: any): void;
17
- dateMasking(event: any): void;
18
- onChangeEvent($event: any): void;
19
- calculatePattern(): void;
20
- formatDate(pic: PIC): void;
21
- formatAlphaUnicode(control: AbstractControl): void;
22
- formatBoolean(control: AbstractControl): void;
23
- generatePattern(attribute: StorageAttribute, pic: PIC): string;
24
- generatePatternForNumber(pic: PIC): string;
25
- isPatternGenerationNeeded(attr: StorageAttribute, pic: PIC): boolean;
26
- generatePatternForAlpha(pic: PIC): string;
27
- getDirectiveCount(mask: string, idx: number, pattern: string, changeInPattern: RefParam<boolean>): number;
28
- IsPatternMatches(mask: string, pattern: string): boolean;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<MgformatMagicDirective, never>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<MgformatMagicDirective, "[mgFormat]", never, {}, {}, never, never, false, never>;
31
- }
@@ -1,17 +0,0 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { FormControl, Validator } from '@angular/forms';
3
- import { TaskMagicService } from '../../services/task.magics.service';
4
- import * as i0 from "@angular/core";
5
- export declare class RangeValidatorMagicDirective implements Validator {
6
- protected _task: TaskMagicService;
7
- protected vcRef: ViewContainerRef;
8
- constructor(_task: TaskMagicService, vcRef: ViewContainerRef);
9
- validate(c: FormControl): {
10
- rangevalidator: {
11
- errorMsg: string;
12
- };
13
- };
14
- getControlName(c: FormControl): string | null;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<RangeValidatorMagicDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<RangeValidatorMagicDirective, "[rangevalidator] ", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,6 +0,0 @@
1
- import { Styles } from "@magic-xpa/gui";
2
- export declare class confirmationBox {
3
- static isConfirmBox(style: Styles): Boolean;
4
- static convertToExcpectedResultBox(style: Styles, okWasPressed: Boolean): Styles;
5
- static showConfirmationBox(title: string, message: string, style: Styles): boolean;
6
- }
@@ -1,5 +0,0 @@
1
- export declare abstract class BaseMagicOverlayContainer {
2
- abstract ModalComp: any;
3
- abstract ModalCompParameters: any;
4
- abstract onClose: any;
5
- }
@@ -1,5 +0,0 @@
1
- export declare class ModalFormDefinition {
2
- taskId: string;
3
- comp: any;
4
- parameters: any;
5
- }
@@ -1,10 +0,0 @@
1
- export interface MagicModalInterface {
2
- X(): any;
3
- Y(): any;
4
- Width(): string;
5
- Height(): string;
6
- IsCenteredToWindow(): any;
7
- FormName(): any;
8
- ShowTitleBar(): any;
9
- ShouldCloseOnBackgroundClick(): any;
10
- }
@@ -1,31 +0,0 @@
1
- import { ViewContainerRef, ComponentFactoryResolver, 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 componentFactoryResolver;
11
- private changeDetectorRef;
12
- private compiler;
13
- Component: any;
14
- Parameters: any;
15
- private OverlayTypeParam;
16
- private onClose;
17
- overlayContentViewContainerRef: ViewContainerRef;
18
- overlayContainerWrapperElementRef: ElementRef;
19
- static allowedBaseComps: Map<number, {
20
- comp: any;
21
- error: string;
22
- }>;
23
- constructor(componentListMagicService: ComponentListMagicService, magicLazyModuleLoader: MagicLazyLoaderService, injector: Injector, componentFactoryResolver: ComponentFactoryResolver, changeDetectorRef: ChangeDetectorRef, compiler: Compiler);
24
- ngOnInit(): void;
25
- private loadComponent;
26
- setViewContainerRef(vcRef: ViewContainerRef): void;
27
- GetRootElement(): HTMLElement;
28
- DetectChanges(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainerWrapper, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainerWrapper, "app-magic-overlay-container-wrapper", never, { "Component": "Component"; "Parameters": "Parameters"; "OverlayTypeParam": "OverlayTypeParam"; }, { "onClose": "onClose"; }, never, never, false, never>;
31
- }
@@ -1,25 +0,0 @@
1
- import { ComponentFactoryResolver, 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
- private componentFactoryResolver;
7
- modalbodyViewContainerRef: ViewContainerRef;
8
- headerElementRef: ElementRef;
9
- foregroundElementRef: ElementRef;
10
- ModalComp: any;
11
- ModalCompParameters: any;
12
- onClose: EventEmitter<void>;
13
- private componentRef;
14
- constructor(componentFactoryResolver: ComponentFactoryResolver);
15
- ngOnInit(): void;
16
- setViewContainerRef(vcRef: ViewContainerRef): void;
17
- getText(): any;
18
- getStyle(): {};
19
- getClientAreaStyles(): {};
20
- getShowTitleBar(): any;
21
- OnClose(): void;
22
- OnBackgroundClick(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainer, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainer, "app-magic-overlay-container", never, { "ModalComp": "ModalComp"; "ModalCompParameters": "ModalCompParameters"; }, { "onClose": "onClose"; }, never, never, false, never>;
25
- }
@@ -1,40 +0,0 @@
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 * as i0 from "@angular/core";
12
- export declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerRef {
13
- protected engineMagicService: EngineMagicService;
14
- protected componentList: ComponentListMagicService;
15
- protected changeDetectorRef: ChangeDetectorRef;
16
- private titleService;
17
- private overlayWindowService;
18
- private httpClient;
19
- private pendingCommandsCollector;
20
- exitMagicService: ExitMagicService;
21
- RootComponent: Component;
22
- RootComponentParameters: any;
23
- overlayWindowsContainerViewRef: ViewContainerRef;
24
- rootMagicElementRef: ElementRef;
25
- SpinnerTemplate: TemplateRef<any>;
26
- showSpinner: boolean;
27
- magicEngineTerminated: boolean;
28
- constructor(engineMagicService: EngineMagicService, componentList: ComponentListMagicService, changeDetectorRef: ChangeDetectorRef, titleService: Title, overlayWindowService: OverlayWindowService, httpClient: HttpClient, pendingCommandsCollector: CommandsCollectorMagicService, exitMagicService: ExitMagicService);
29
- onBeforeUnload(event: any): string;
30
- onUnload(event: any): void;
31
- ngAfterViewInit(): void;
32
- setViewContainerRef(vcRef: ViewContainerRef): void;
33
- initialize(): void;
34
- setTitle(): void;
35
- private setComponent;
36
- registerUICommands(): void;
37
- executeCommand(command: GuiCommand): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicShellComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<MagicShellComponent, "magic-root", never, { "SpinnerTemplate": "SpinnerTemplate"; }, {}, never, never, false, never>;
40
- }
@@ -1,20 +0,0 @@
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,17 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- import { ComponentFactoryResolver, 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 componentFactoryResolver;
15
- private viewContainerRef;
16
- private componentList;
17
- protected pendingCommandsCollector: CommandsCollectorMagicService;
18
- protected routerCommandsMagicService: RouterCommandsMagicService;
19
- private componentRef;
20
- private parentMgSubformService;
21
- private static lastRoute;
22
- static get LastRoute(): string;
23
- constructor(activatedRoute: ActivatedRoute, router: Router, magic: EngineMagicService, containerTaskService: TaskMagicService, componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, componentList: ComponentListMagicService, pendingCommandsCollector: CommandsCollectorMagicService, routerCommandsMagicService: RouterCommandsMagicService);
24
- ngOnInit(): void;
25
- private insertRouteEvent;
26
- initializeComponent(): void;
27
- ngOnDestroy(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterContainerMagicComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<RouterContainerMagicComponent, "magic-route-outlet", never, {}, {}, never, never, false, never>;
30
- }
@@ -1,16 +0,0 @@
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,34 +0,0 @@
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
- }
package/src/ui/utils.d.ts DELETED
@@ -1,9 +0,0 @@
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
- }