@magic-xpa/angular 4.1100.0-dev4110.105 → 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,23 +0,0 @@
1
- import { NgModuleRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export interface ComponentData {
4
- component: any;
5
- moduleRef: NgModuleRef<any>;
6
- }
7
- export interface ModuleData {
8
- moduleName: string;
9
- modulePath: string;
10
- }
11
- export declare class ComponentListMagicService {
12
- components: Map<string, ComponentData>;
13
- dialogs: Map<string, any>;
14
- lazyLoadModulesMap: any;
15
- getData(name: string, mustHaveData: boolean): ComponentData;
16
- getComponent(name: string, mustHaveData?: boolean): any;
17
- addComponents(componentList: any, modulRef?: NgModuleRef<any>): void;
18
- getModuleRef(name: string): NgModuleRef<any>;
19
- getLazyLoadModuleData(name: string): ModuleData;
20
- title: string;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<ComponentListMagicService, never>;
22
- static ɵprov: i0.ɵɵInjectableDeclaration<ComponentListMagicService>;
23
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ConfirmationComponentsMagicProvider {
3
- showDefaultConfirmations(): boolean;
4
- getAlertComponent(): any;
5
- getConfirmtionComponent(): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponentsMagicProvider, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationComponentsMagicProvider>;
8
- }
@@ -1,27 +0,0 @@
1
- import { Subject } from "rxjs";
2
- import { IGuiEvent, MagicBridge } from "@magic-xpa/engine";
3
- import { GuiCommand, GuiInteractive } from "@magic-xpa/gui";
4
- import { HttpClient } from "@angular/common/http";
5
- import * as i0 from "@angular/core";
6
- export declare class EngineMagicService {
7
- magicBridge: typeof MagicBridge;
8
- isStub: boolean;
9
- isLoggedIn: boolean;
10
- refreshDom: Subject<GuiCommand>;
11
- interactiveCommands: Subject<GuiInteractive>;
12
- startMagicEngine(httpClient: HttpClient): void;
13
- terminateMagic(): Promise<void>;
14
- insertEvent(guiEvent: IGuiEvent): void;
15
- GetRangedValue(taskId: string, controlName: string, value: string): string;
16
- GetControlPictureMask(taskId: string, controlName: string): any;
17
- GetFormattedValue(taskId: string, controlName: string, value: any, rowId?: string): any;
18
- ValidateControlValue(taskId: string, controlName: string, value: any): string;
19
- GetFldRanges(taskId: string, controlName: string): string;
20
- saveData(data: string): void;
21
- getIsLoggedIn(): boolean;
22
- setIsLoggedIn(setIsLoggedIn: boolean): void;
23
- TransCacheExists(): boolean;
24
- TerminateContextUsingFetchAPI(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<EngineMagicService, never>;
26
- static ɵprov: i0.ɵɵInjectableDeclaration<EngineMagicService>;
27
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ExitMagicService {
3
- exitMagic(): void;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ExitMagicService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<ExitMagicService>;
6
- }
@@ -1,19 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { HttpClient } from '@angular/common/http';
3
- import * as i0 from "@angular/core";
4
- export declare let COLOR_FILE_NAME: InjectionToken<string>;
5
- export declare const MAGIC_FG_COLOR: number;
6
- export declare const MAGIC_BG_COLOR: number;
7
- export declare class MagicColorService {
8
- private http;
9
- colorFileName: string;
10
- getColorFilePath(): string;
11
- private colorsData;
12
- private fileNotFound;
13
- constructor(http: HttpClient, colorFile1?: string);
14
- private getColorData;
15
- private hexToRgba;
16
- getColor(colorIndex: number, colorType: number): any;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicColorService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<MagicColorService>;
19
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MagicLazyLoaderService {
3
- Load(path: string): Promise<any>;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicLazyLoaderService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<MagicLazyLoaderService>;
6
- }
@@ -1,107 +0,0 @@
1
- import { MagicServices } from "./magic.services";
2
- import { TaskMagicService } from "./task.magics.service";
3
- import { SubformMagicService } from "./subform.magic.service";
4
- import { TableMagicService } from "./table.magic.service";
5
- import { TitleMagicService } from "./title.magic.service";
6
- import { AccessorMagicService } from "./accessor.magic.service";
7
- import { MgDateAdapter } from "./mg-date-adapter";
8
- import { DateAdapter } from '@angular/material/core';
9
- export declare const matDateProviders: ({
10
- provide: typeof DateAdapter;
11
- useClass: typeof MgDateAdapter;
12
- useValue?: undefined;
13
- } | {
14
- provide: import("@angular/core").InjectionToken<import("@angular/material/core").MatDateFormats>;
15
- useValue: {
16
- parse: {
17
- dateInput: {
18
- month: string;
19
- year: string;
20
- day: string;
21
- };
22
- };
23
- display: {
24
- dateInput: string;
25
- monthYearLabel: {
26
- year: string;
27
- month: string;
28
- };
29
- dateA11yLabel: {
30
- year: string;
31
- month: string;
32
- day: string;
33
- };
34
- monthYearA11yLabel: {
35
- year: string;
36
- month: string;
37
- };
38
- };
39
- };
40
- useClass?: undefined;
41
- })[];
42
- export declare const basicMagicProviders: (typeof SubformMagicService | typeof TitleMagicService | typeof AccessorMagicService | typeof TaskMagicService | typeof MagicServices | ({
43
- provide: typeof DateAdapter;
44
- useClass: typeof MgDateAdapter;
45
- useValue?: undefined;
46
- } | {
47
- provide: import("@angular/core").InjectionToken<import("@angular/material/core").MatDateFormats>;
48
- useValue: {
49
- parse: {
50
- dateInput: {
51
- month: string;
52
- year: string;
53
- day: string;
54
- };
55
- };
56
- display: {
57
- dateInput: string;
58
- monthYearLabel: {
59
- year: string;
60
- month: string;
61
- };
62
- dateA11yLabel: {
63
- year: string;
64
- month: string;
65
- day: string;
66
- };
67
- monthYearA11yLabel: {
68
- year: string;
69
- month: string;
70
- };
71
- };
72
- };
73
- useClass?: undefined;
74
- })[])[];
75
- export declare const magicProviders: (typeof SubformMagicService | typeof TitleMagicService | typeof AccessorMagicService | typeof TaskMagicService | typeof TableMagicService | typeof MagicServices | ({
76
- provide: typeof DateAdapter;
77
- useClass: typeof MgDateAdapter;
78
- useValue?: undefined;
79
- } | {
80
- provide: import("@angular/core").InjectionToken<import("@angular/material/core").MatDateFormats>;
81
- useValue: {
82
- parse: {
83
- dateInput: {
84
- month: string;
85
- year: string;
86
- day: string;
87
- };
88
- };
89
- display: {
90
- dateInput: string;
91
- monthYearLabel: {
92
- year: string;
93
- month: string;
94
- };
95
- dateA11yLabel: {
96
- year: string;
97
- month: string;
98
- day: string;
99
- };
100
- monthYearA11yLabel: {
101
- year: string;
102
- month: string;
103
- };
104
- };
105
- };
106
- useClass?: undefined;
107
- })[])[];
@@ -1,16 +0,0 @@
1
- import { SubformMagicService } from "./subform.magic.service";
2
- import { TableMagicService } from "./table.magic.service";
3
- import { TaskMagicService } from "./task.magics.service";
4
- import { TitleMagicService } from "./title.magic.service";
5
- import { AccessorMagicService } from "./accessor.magic.service";
6
- import * as i0 from "@angular/core";
7
- export declare class MagicServices {
8
- task: TaskMagicService;
9
- subformService: SubformMagicService;
10
- tableService: TableMagicService;
11
- titleService: TitleMagicService;
12
- mgAccessorService: AccessorMagicService;
13
- constructor(task: TaskMagicService, subformService: SubformMagicService, tableService: TableMagicService, titleService: TitleMagicService, mgAccessorService: AccessorMagicService);
14
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicServices, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<MagicServices>;
16
- }
@@ -1,40 +0,0 @@
1
- import { NativeDateAdapter } from '@angular/material/core';
2
- import { Platform } from '@angular/cdk/platform';
3
- import { TaskMagicService } from "./task.magics.service";
4
- import * as i0 from "@angular/core";
5
- export declare const MG_FORMATS: {
6
- parse: {
7
- dateInput: {
8
- month: string;
9
- year: string;
10
- day: string;
11
- };
12
- };
13
- display: {
14
- dateInput: string;
15
- monthYearLabel: {
16
- year: string;
17
- month: string;
18
- };
19
- dateA11yLabel: {
20
- year: string;
21
- month: string;
22
- day: string;
23
- };
24
- monthYearA11yLabel: {
25
- year: string;
26
- month: string;
27
- };
28
- };
29
- };
30
- export declare class MgDateAdapter extends NativeDateAdapter {
31
- platform: Platform;
32
- protected task: TaskMagicService;
33
- localeId: string;
34
- mgdtfmt: string;
35
- constructor(platform: Platform, task: TaskMagicService, localeId: string);
36
- parse(value: any): Date | null;
37
- format(date: Date, displayFormat: Object): string;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<MgDateAdapter, never>;
39
- static ɵprov: i0.ɵɵInjectableDeclaration<MgDateAdapter>;
40
- }
@@ -1,7 +0,0 @@
1
- import { MagicOverlayContainer } from "../ui/magic-modal/magic-overlay-container";
2
- import * as i0 from "@angular/core";
3
- export declare class OverlayContainerMagicProvider {
4
- getComponent(): typeof MagicOverlayContainer;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainerMagicProvider, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainerMagicProvider>;
7
- }
@@ -1,17 +0,0 @@
1
- import { List } from '@magic-xpa/mscorelib';
2
- import { ISubformMagicService } from './ISubformMagicService';
3
- import * as i0 from "@angular/core";
4
- export declare class RouteCommand {
5
- callerMgSubformServiceRef: ISubformMagicService;
6
- routerOutletName: string;
7
- formName: string;
8
- parameters: any;
9
- routeParams: List<any>;
10
- }
11
- export declare class RouterCommandsMagicService {
12
- private pendingRouteCommands;
13
- AddRouteCommand(routeCommand: RouteCommand): void;
14
- ExecuteNextCommand(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterCommandsMagicService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<RouterCommandsMagicService>;
17
- }
@@ -1,43 +0,0 @@
1
- import { Compiler, Component, Injector } from '@angular/core';
2
- import { TaskMagicService } from './task.magics.service';
3
- import { List } from '@magic-xpa/mscorelib';
4
- import { ComponentListMagicService } from './component-list.magic.service';
5
- import { ActivatedRoute, Router } from '@angular/router';
6
- import { CommandsCollectorMagicService } from './commands-collector.magic.service';
7
- import { RouteDefinition } from '../interfaces/sub-form-definition.iterface';
8
- import { RouteCommand, RouterCommandsMagicService } from '../services/router-commands.magic.service';
9
- import { ISubformMagicService } from './ISubformMagicService';
10
- import { RouterContainerMagicComponent } from '../ui/router-container.magic.component';
11
- import { MagicLazyLoaderService } from './magic.lazy.loader.service';
12
- import * as i0 from "@angular/core";
13
- export declare class SubformMagicService implements ISubformMagicService {
14
- private task;
15
- protected activatedRoute: ActivatedRoute;
16
- protected componentList: ComponentListMagicService;
17
- protected pendingCommandsCollector: CommandsCollectorMagicService;
18
- protected router: Router;
19
- protected routerCommandsMagicService: RouterCommandsMagicService;
20
- private componentListMagicService;
21
- private loader;
22
- private injector;
23
- private compiler;
24
- subformsDict: {};
25
- routesDict: {
26
- [x: string]: string;
27
- };
28
- currentRouteDefinition: RouteDefinition;
29
- static currentCallerMgSubformServiceRef: any;
30
- static routerContainers: Array<RouterContainerMagicComponent>;
31
- constructor(task: TaskMagicService, activatedRoute: ActivatedRoute, componentList: ComponentListMagicService, pendingCommandsCollector: CommandsCollectorMagicService, router: Router, routerCommandsMagicService: RouterCommandsMagicService, componentListMagicService: ComponentListMagicService, loader: MagicLazyLoaderService, injector: Injector, compiler: Compiler);
32
- mgGetComp(subformName: string): Component;
33
- mgGetParameters(subformName: string): any;
34
- deleteSubformComp(subformControlName: string, formName: string): void;
35
- addSubformComp(subformControlName: string, formName: string, taskId: string, taskDescription: any, routerPath: string, params: List<any>, inDefaultOutlet: boolean): void;
36
- ExecuteRouteCommand(routeCommand: RouteCommand): void;
37
- private PerformRouterNavigate;
38
- init(): void;
39
- refreshView(): void;
40
- static getRelativeRoute(sendActivatedRoute: ActivatedRoute): ActivatedRoute;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<SubformMagicService, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<SubformMagicService>;
43
- }
@@ -1,30 +0,0 @@
1
- import { TaskMagicService } from "./task.magics.service";
2
- import { ComponentListMagicService } from "./component-list.magic.service";
3
- import * as i0 from "@angular/core";
4
- export declare class TableMagicService {
5
- protected componentList: ComponentListMagicService;
6
- protected task: TaskMagicService;
7
- selectedItem: any;
8
- private chunkSize;
9
- constructor(componentList: ComponentListMagicService, task: TaskMagicService);
10
- shouldOpenFieldTextEditor: boolean;
11
- refreshDataSource(): void;
12
- getPageSize(): number;
13
- setChunkSize(size: number): void;
14
- getMaxRowsInTable(): number;
15
- selectRow(rowId: string): void;
16
- getSelectedRow(): any;
17
- selectedRow(): any;
18
- selectPage(pageId: number): void;
19
- OpenDialogForControl(element: HTMLElement): boolean;
20
- getDialog(): any;
21
- onScrollDown(): void;
22
- sortData(e: any): void;
23
- mgOnPaginateChange(e: any, changeSelectedRow?: boolean): void;
24
- mgOptionChanged(e: any): void;
25
- updateTableSize(size: number): void;
26
- setTableTopIndex(value: number): void;
27
- getTableTopIndex(): number;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<TableMagicService, never>;
29
- static ɵprov: i0.ɵɵInjectableDeclaration<TableMagicService>;
30
- }
@@ -1,100 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AbstractControl, FormControl, FormGroup, ValidatorFn } from '@angular/forms';
3
- import { Subject, Subscription } from 'rxjs';
4
- import { EngineMagicService } from './engine.magic.service';
5
- import { GuiCommand, GuiInteractive, HtmlProperties } from '@magic-xpa/gui';
6
- import { IGuiEvent } from '@magic-xpa/engine';
7
- import { SubformMagicService } from './subform.magic.service';
8
- import { TitleMagicService } from './title.magic.service';
9
- import { AccessorMagicService } from './accessor.magic.service';
10
- import { OverlayWindowService } from './OverlayWindowService';
11
- import * as i0 from "@angular/core";
12
- export declare class TaskMagicService {
13
- protected magic: EngineMagicService;
14
- private overlayWindowService;
15
- tableService: any;
16
- Records: any;
17
- formGroups: Array<FormGroup>;
18
- ScreenModeControls: FormGroup;
19
- refreshDom: Subject<GuiCommand>;
20
- subscribeRefreshDom: Subscription;
21
- detectChanges: Subject<any>;
22
- subscribeInteractiveCommands: Subscription;
23
- interactiveCommands: Subject<GuiInteractive>;
24
- OnSelectedRowChanged: EventEmitter<string>;
25
- customPropertiesSubject: Subject<any>;
26
- recordsCountChangeSubject: Subject<any>;
27
- mgLoadSubject: Subject<any>;
28
- template: {
29
- [id: string]: string;
30
- };
31
- mgSubformService: SubformMagicService;
32
- mgTitleService: TitleMagicService;
33
- mgAccessorService: AccessorMagicService;
34
- mgInputDateFormat: any;
35
- oldPageSize: number;
36
- constructor(magic: EngineMagicService, overlayWindowService: OverlayWindowService);
37
- getIsLoggenIn(): boolean;
38
- _taskId: string;
39
- get taskId(): string;
40
- set taskId(value: string);
41
- get ScreenControlsData(): any;
42
- settemplate(value: any): void;
43
- buildScreenModeControls(): void;
44
- isTableControl(id: string): boolean;
45
- getMgInputDateFormat(): string;
46
- getFormControl(guiRowid: string, id: string): AbstractControl;
47
- setInputTextValue(controlId: string, guiRowid: string, val: any): void;
48
- buildTableRowControls(guiRowId: number): void;
49
- updateRecordsBeforeCurrentView(value: number): void;
50
- setIncludesFirst(value: boolean): void;
51
- setIncludesLast(value: boolean): void;
52
- markRowAsCreated(guiRowId: number): void;
53
- markRowAsNotCreated(guiRowId: number): void;
54
- startRowEditing(guiRowId: number): void;
55
- stopRowEditing(guiRowId: number): void;
56
- isRowInRowEditing(guiRowId: string): boolean;
57
- setIsEmptyDataView(isEmpty: boolean): void;
58
- initTask(taskId: any, taskDescription: any): void;
59
- refreshView(): void;
60
- insertEvent(guiEvent: IGuiEvent): void;
61
- GetControlPictureMask(controlName: string): any;
62
- ValidateControlValue(controlName: string, value: any): string;
63
- GetRangedValue(controlName: string, value: string): string;
64
- GetFldRanges(controlName: string): string;
65
- getProperty(controlId: string, prop: HtmlProperties, guiRowId?: string): any;
66
- getPropertyStub(ControlsProperties: any, controlId: any, prop: any): any;
67
- getStyleStub(ControlsProperties: any, controlId: any, styleName: string): any;
68
- getClasses(controlId: string, guiRowId?: string): string;
69
- getStyle(controlId: string, styleName: string, guiRowId?: string): string;
70
- getValue(controlId: string, guiRowId?: string): any;
71
- getFormattedValue(controlName: string, val: any, rowId?: string): string;
72
- setValue(controlId: string, guiRowId: string, value: any): void;
73
- protected executeInteractiveCommand(guiInteractiveCommand: GuiInteractive): void;
74
- handleSetProperty(command: GuiCommand, isTableChild: boolean): void;
75
- executeCommand(command: GuiCommand): void;
76
- customValidator(rowid: string, id: string): ValidatorFn;
77
- ConvertValToNative(controlId: string, rowId: number, val: any): any;
78
- ConvertValFromNative(controlId: string, rowId: number, val: any): any;
79
- resize(pageSize: number, topGuiRowId: number): void;
80
- onScrollDown(): void;
81
- setTitle(newTitle: string): void;
82
- getGuiRowId(dvRowId: number, isTableControl: boolean): number;
83
- getDvRowId(guiRowId: number): number;
84
- dispose(): void;
85
- onComboboxSelectionChanged(event: Event, idx: string, line: number): void;
86
- onListBoxSelectionChanged(event: Event, idx: string): void;
87
- onCheckChanged(event: Event, idx: string, rowId: number): void;
88
- mgOnTabSelectionChanged(idx: string, layer: number): void;
89
- mgOnRadioSelectionChanged(idx: string): void;
90
- close(): void;
91
- IsStub(): boolean;
92
- jsonData: string;
93
- saveData(data: string): void;
94
- createData(): void;
95
- loadStubData(stubData: any): void;
96
- loadData(): void;
97
- setStubValue(guiRowId: number, fc: FormControl, name: string): void;
98
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskMagicService, never>;
99
- static ɵprov: i0.ɵɵInjectableDeclaration<TaskMagicService>;
100
- }
@@ -1,9 +0,0 @@
1
- import { Title } from "@angular/platform-browser";
2
- import * as i0 from "@angular/core";
3
- export declare class TitleMagicService {
4
- protected titleService: Title;
5
- constructor(titleService: Title);
6
- setTitle(newTitle: string): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TitleMagicService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<TitleMagicService>;
9
- }
@@ -1,22 +0,0 @@
1
- import { GuiInteractive } from '@magic-xpa/gui';
2
- import { TaskBaseMagicComponent } from './task-base.magic.component';
3
- import { TaskMagicService } from '../services/task.magics.service';
4
- import { OverlayWindowService } from '../services/OverlayWindowService';
5
- export declare class GuiInteractiveExecutor {
6
- command: GuiInteractive;
7
- component: TaskBaseMagicComponent;
8
- task: TaskMagicService;
9
- overlayService: OverlayWindowService;
10
- Run(): void;
11
- static executeInteractiveCommand(task: TaskMagicService, guiIntactiveCommand: GuiInteractive, overlayService: OverlayWindowService): void;
12
- private onValue;
13
- private onGetRowsInPage;
14
- private onGetMaxRowsInPaginatedTable;
15
- private OnMessageBox;
16
- private OnOpenForm;
17
- private OnSetTitle;
18
- private OnRefreshPage;
19
- private OnGetTopIndex;
20
- private OnGetIsRowEditing;
21
- private OnGetLastRoute;
22
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class BaseMagicAlertComponent {
4
- title: string;
5
- message: string;
6
- onClose: EventEmitter<void>;
7
- OnClose(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseMagicAlertComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicAlertComponent, "mg-base-alert", never, { "title": "title"; "message": "message"; }, { "onClose": "onClose"; }, never, never, false, never>;
10
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class BaseMagicConfirmComponent {
4
- title: string;
5
- message: string;
6
- onClose: EventEmitter<boolean>;
7
- OnClose(result: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseMagicConfirmComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicConfirmComponent, "mg-base-alert", never, { "title": "title"; "message": "message"; }, { "onClose": "onClose"; }, never, never, false, never>;
10
- }
@@ -1,6 +0,0 @@
1
- import { BaseMagicAlertComponent } from './base-magic-alert.component';
2
- import * as i0 from "@angular/core";
3
- export declare class MagicAlertComponent extends BaseMagicAlertComponent {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicAlertComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<MagicAlertComponent, "sample-magic-alert-component", never, {}, {}, never, never, false, never>;
6
- }
@@ -1,6 +0,0 @@
1
- import { BaseMagicConfirmComponent } from './base-magic-confirm.component';
2
- import * as i0 from "@angular/core";
3
- export declare class MagicConfirmationBoxComponent extends BaseMagicConfirmComponent {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicConfirmationBoxComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<MagicConfirmationBoxComponent, "sample-magic-confirmation-box", never, {}, {}, never, never, false, never>;
6
- }
@@ -1,26 +0,0 @@
1
- import { ElementRef, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
2
- import { TaskBaseMagicComponent } from '../task-base.magic.component';
3
- import { TaskMagicService } from '../../services/task.magics.service';
4
- import { Subscription } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare class NonMagicControlDirective implements OnInit {
7
- protected _task: TaskMagicService;
8
- protected element: ElementRef;
9
- protected renderer: Renderer2;
10
- protected vcRef: ViewContainerRef;
11
- set magic(val: any);
12
- protected htmlElement: HTMLElement;
13
- component: TaskBaseMagicComponent;
14
- private eventHandlers;
15
- id: string;
16
- protected selector: string;
17
- subscribeRefreshDom: Subscription;
18
- eventsOnlyVal: boolean;
19
- constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef);
20
- get task(): TaskMagicService;
21
- protected regEvents(): void;
22
- private OnFocus;
23
- ngOnInit(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<NonMagicControlDirective, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<NonMagicControlDirective, "[NonMagicControl]", never, { "magic": "NonMagicControl"; }, {}, never, never, false, never>;
26
- }
@@ -1,9 +0,0 @@
1
- import { MagicDirective } from "../magic.directive";
2
- import * as i0 from "@angular/core";
3
- export declare class CheckboxNoFormControlMagicDirective {
4
- protected magicDirective: MagicDirective;
5
- constructor(magicDirective: MagicDirective);
6
- onChange($event: any): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxNoFormControlMagicDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxNoFormControlMagicDirective, " input[type=checkbox][magic]:([noFormControl]) ", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { MagicDirective } from '../magic.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class CheckboxMagicDirective {
4
- protected magicDirective: MagicDirective;
5
- constructor(magicDirective: MagicDirective);
6
- onChange($event: any): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxMagicDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxMagicDirective, " input[type=checkbox][magic]:not([noFormControl])", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,10 +0,0 @@
1
- import { MagicDirective } from '../magic.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class ComboboxMagicDirective {
4
- protected magicDirective: MagicDirective;
5
- constructor(magicDirective: MagicDirective);
6
- onChange($event: any): void;
7
- onComboboxItemsListChanged(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxMagicDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxMagicDirective, "select[magic]:not([multiple])", never, {}, {}, never, never, false, never>;
10
- }
@@ -1,7 +0,0 @@
1
- import { CheckboxControlValueAccessor } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare const CHECKBOX_VALUE_ACCESSOR: any;
4
- export declare class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicCheckboxControlValueAccessor, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<MagicCheckboxControlValueAccessor, " input[type=checkbox][magic]:not([formControlName]):not([no-form-control]), input[type=checkbox][magic]:not([formControl]), input[type=checkbox][magic]:not([ngModel]) ", never, {}, {}, never, never, false, never>;
7
- }
@@ -1,17 +0,0 @@
1
- import { ElementRef, Renderer2 } from "@angular/core";
2
- import { ControlValueAccessor } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- export declare const DATE_VALUE_ACCESSOR: any;
5
- export declare class DateValueAccessor implements ControlValueAccessor {
6
- private renderer;
7
- private elementRef;
8
- onChange: (_: any) => void;
9
- onTouched: () => void;
10
- constructor(renderer: Renderer2, elementRef: ElementRef);
11
- writeValue(value: Date): void;
12
- registerOnChange(fn: (_: any) => void): void;
13
- registerOnTouched(fn: () => void): void;
14
- setDisabledState(isDisabled: boolean): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "[dateInput]", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,7 +0,0 @@
1
- import { DefaultValueAccessor } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare const MAGIC_DEFAULT_VALUE_ACCESSOR: any;
4
- export declare class MagicDefaultValueAccessor extends DefaultValueAccessor {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MagicDefaultValueAccessor, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDefaultValueAccessor, " input[magic]:not([type=checkbox]):not([formControlName]):not([no-form-control]), textarea[magic]:not([formControlName]):not([noFormControl]):not([no-form-control]) ", ["magic"], {}, {}, never, never, false, never>;
7
- }
@@ -1,9 +0,0 @@
1
- import { MagicDirective } from '../magic.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class InputNoFormControlMagicDirective {
4
- protected magicDirective: MagicDirective;
5
- constructor(magicDirective: MagicDirective);
6
- onChange($event: any): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<InputNoFormControlMagicDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<InputNoFormControlMagicDirective, "input[magic]:([noFormControl]):not([type=checkbox]), textarea[magic]:([noFormControl]):not([type=checkbox])", never, {}, {}, never, never, false, never>;
9
- }