@magic-xpa/angular 4.1100.0-dev4110.26 → 4.1100.0-dev4110.260

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 (169) hide show
  1. package/{esm2020 → esm2022}/index.mjs +59 -59
  2. package/{esm2020 → esm2022}/magic-xpa-angular.mjs +1 -1
  3. package/esm2022/src/controls.metadata.model.mjs +183 -0
  4. package/{esm2020 → esm2022}/src/interfaces/sub-form-definition.iterface.mjs +1 -1
  5. package/{esm2020 → esm2022}/src/magic.core.module.mjs +159 -160
  6. package/{esm2020 → esm2022}/src/services/ISubformMagicService.mjs +1 -1
  7. package/esm2022/src/services/OverlayWindowService.mjs +244 -0
  8. package/esm2022/src/services/StylesMapManager.mjs +28 -0
  9. package/esm2022/src/services/accessor.magic.service.mjs +358 -0
  10. package/esm2022/src/services/commands-collector.magic.service.mjs +47 -0
  11. package/esm2022/src/services/component-list.magic.service.mjs +45 -0
  12. package/{esm2020 → esm2022}/src/services/confirmation.components.magic.provider.mjs +21 -21
  13. package/esm2022/src/services/engine.magic.service.mjs +80 -0
  14. package/{esm2020 → esm2022}/src/services/exit.magic.service.mjs +13 -13
  15. package/esm2022/src/services/magic-color.service.mjs +101 -0
  16. package/{esm2020 → esm2022}/src/services/magic.lazy.loader.service.mjs +16 -16
  17. package/{esm2020 → esm2022}/src/services/magic.providers.mjs +24 -24
  18. package/esm2022/src/services/magic.services.mjs +36 -0
  19. package/esm2022/src/services/mg-date-adapter.mjs +108 -0
  20. package/{esm2020 → esm2022}/src/services/overlay.conainer.magic.provider.mjs +14 -14
  21. package/esm2022/src/services/router-commands.magic.service.mjs +31 -0
  22. package/esm2022/src/services/subform.magic.service.mjs +194 -0
  23. package/esm2022/src/services/table.magic.service.mjs +81 -0
  24. package/esm2022/src/services/task.magics.service.mjs +637 -0
  25. package/esm2022/src/services/title.magic.service.mjs +19 -0
  26. package/esm2022/src/ui/GuiInteractiveExecutor.mjs +109 -0
  27. package/esm2022/src/ui/components/base-magic-alert.component.mjs +24 -0
  28. package/esm2022/src/ui/components/base-magic-confirm.component.mjs +24 -0
  29. package/esm2022/src/ui/components/magic-alert.component.mjs +36 -0
  30. package/esm2022/src/ui/components/magic-confirmation-box.component.mjs +42 -0
  31. package/esm2022/src/ui/directives/NonMagicControlDirective.mjs +58 -0
  32. package/esm2022/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +29 -0
  33. package/esm2022/src/ui/directives/magic/checkbox.magic.directive.mjs +29 -0
  34. package/esm2022/src/ui/directives/magic/combobox.magic.directive.mjs +37 -0
  35. package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +27 -0
  36. package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +85 -0
  37. package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +32 -0
  38. package/esm2022/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +28 -0
  39. package/{esm2020 → esm2022}/src/ui/directives/magic/nocontrol.magic.directive.mjs +193 -193
  40. package/esm2022/src/ui/directives/magic/row.magic.directive.mjs +62 -0
  41. package/esm2022/src/ui/directives/magic-focus.directive.mjs +20 -0
  42. package/esm2022/src/ui/directives/magic.directive.mjs +232 -0
  43. package/esm2022/src/ui/directives/magicViewContainerRef.directive.mjs +20 -0
  44. package/esm2022/src/ui/directives/mgformat.magic.directive.mjs +579 -0
  45. package/esm2022/src/ui/directives/range-validator.magic.directive.mjs +60 -0
  46. package/{esm2020 → esm2022}/src/ui/magic-confirmationBox.mjs +41 -41
  47. package/{esm2020 → esm2022}/src/ui/magic-modal/base-magic-overlay-container.mjs +22 -22
  48. package/esm2022/src/ui/magic-modal/magic-modal-form.mjs +6 -0
  49. package/{esm2020 → esm2022}/src/ui/magic-modal/magic-modal-interface.mjs +1 -1
  50. package/esm2022/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +124 -0
  51. package/esm2022/src/ui/magic-modal/magic-overlay-container.mjs +162 -0
  52. package/esm2022/src/ui/magic-root.component.mjs +236 -0
  53. package/esm2022/src/ui/mgerror.magic.component.mjs +125 -0
  54. package/esm2022/src/ui/pipes/date.magic.pipe.mjs +106 -0
  55. package/esm2022/src/ui/pipes/time.magic.pipe.mjs +52 -0
  56. package/esm2022/src/ui/pipes/time24.magic.pipe.mjs +35 -0
  57. package/esm2022/src/ui/router-container.magic.component.mjs +115 -0
  58. package/{esm2020 → esm2022}/src/ui/subform.magic.component.mjs +50 -46
  59. package/esm2022/src/ui/task-base.magic.component.mjs +91 -0
  60. package/{esm2020 → esm2022}/src/ui/utils.mjs +53 -53
  61. package/{fesm2020 → fesm2022}/magic-xpa-angular.mjs +4830 -4444
  62. package/fesm2022/magic-xpa-angular.mjs.map +1 -0
  63. package/index.d.ts +58 -58
  64. package/package.json +10 -16
  65. package/src/controls.metadata.model.d.ts +62 -62
  66. package/src/interfaces/sub-form-definition.iterface.d.ts +12 -12
  67. package/src/magic.core.module.d.ts +41 -41
  68. package/src/services/ISubformMagicService.d.ts +4 -4
  69. package/src/services/OverlayWindowService.d.ts +30 -25
  70. package/src/services/StylesMapManager.d.ts +5 -5
  71. package/src/services/accessor.magic.service.d.ts +69 -69
  72. package/src/services/commands-collector.magic.service.d.ts +15 -15
  73. package/src/services/component-list.magic.service.d.ts +23 -23
  74. package/src/services/confirmation.components.magic.provider.d.ts +8 -8
  75. package/src/services/engine.magic.service.d.ts +27 -27
  76. package/src/services/exit.magic.service.d.ts +6 -6
  77. package/src/services/magic-color.service.d.ts +19 -19
  78. package/src/services/magic.lazy.loader.service.d.ts +6 -6
  79. package/src/services/magic.providers.d.ts +107 -107
  80. package/src/services/magic.services.d.ts +16 -16
  81. package/src/services/mg-date-adapter.d.ts +38 -40
  82. package/src/services/overlay.conainer.magic.provider.d.ts +7 -7
  83. package/src/services/router-commands.magic.service.d.ts +17 -17
  84. package/src/services/subform.magic.service.d.ts +43 -43
  85. package/src/services/table.magic.service.d.ts +30 -30
  86. package/src/services/task.magics.service.d.ts +100 -100
  87. package/src/services/title.magic.service.d.ts +9 -9
  88. package/src/ui/GuiInteractiveExecutor.d.ts +22 -21
  89. package/src/ui/components/base-magic-alert.component.d.ts +10 -10
  90. package/src/ui/components/base-magic-confirm.component.d.ts +10 -10
  91. package/src/ui/components/magic-alert.component.d.ts +6 -6
  92. package/src/ui/components/magic-confirmation-box.component.d.ts +6 -6
  93. package/src/ui/directives/NonMagicControlDirective.d.ts +26 -26
  94. package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +9 -9
  95. package/src/ui/directives/magic/checkbox.magic.directive.d.ts +9 -9
  96. package/src/ui/directives/magic/combobox.magic.directive.d.ts +10 -10
  97. package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +7 -7
  98. package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +23 -17
  99. package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +7 -7
  100. package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +9 -9
  101. package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +18 -18
  102. package/src/ui/directives/magic/row.magic.directive.d.ts +17 -17
  103. package/src/ui/directives/magic-focus.directive.d.ts +9 -9
  104. package/src/ui/directives/magic.directive.d.ts +45 -44
  105. package/src/ui/directives/magicViewContainerRef.directive.d.ts +8 -8
  106. package/src/ui/directives/mgformat.magic.directive.d.ts +38 -31
  107. package/src/ui/directives/range-validator.magic.directive.d.ts +17 -17
  108. package/src/ui/magic-confirmationBox.d.ts +6 -6
  109. package/src/ui/magic-modal/base-magic-overlay-container.d.ts +5 -5
  110. package/src/ui/magic-modal/magic-modal-form.d.ts +5 -5
  111. package/src/ui/magic-modal/magic-modal-interface.d.ts +10 -10
  112. package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +30 -31
  113. package/src/ui/magic-modal/magic-overlay-container.d.ts +24 -25
  114. package/src/ui/magic-root.component.d.ts +43 -40
  115. package/src/ui/mgerror.magic.component.d.ts +20 -20
  116. package/src/ui/pipes/date.magic.pipe.d.ts +17 -17
  117. package/src/ui/pipes/time.magic.pipe.d.ts +11 -11
  118. package/src/ui/pipes/time24.magic.pipe.d.ts +10 -10
  119. package/src/ui/router-container.magic.component.d.ts +29 -30
  120. package/src/ui/subform.magic.component.d.ts +16 -16
  121. package/src/ui/task-base.magic.component.d.ts +34 -34
  122. package/src/ui/utils.d.ts +9 -9
  123. package/esm2020/src/controls.metadata.model.mjs +0 -180
  124. package/esm2020/src/services/OverlayWindowService.mjs +0 -208
  125. package/esm2020/src/services/StylesMapManager.mjs +0 -28
  126. package/esm2020/src/services/accessor.magic.service.mjs +0 -356
  127. package/esm2020/src/services/commands-collector.magic.service.mjs +0 -46
  128. package/esm2020/src/services/component-list.magic.service.mjs +0 -46
  129. package/esm2020/src/services/engine.magic.service.mjs +0 -82
  130. package/esm2020/src/services/magic-color.service.mjs +0 -99
  131. package/esm2020/src/services/magic.services.mjs +0 -31
  132. package/esm2020/src/services/mg-date-adapter.mjs +0 -109
  133. package/esm2020/src/services/router-commands.magic.service.mjs +0 -28
  134. package/esm2020/src/services/subform.magic.service.mjs +0 -184
  135. package/esm2020/src/services/table.magic.service.mjs +0 -77
  136. package/esm2020/src/services/task.magics.service.mjs +0 -624
  137. package/esm2020/src/services/title.magic.service.mjs +0 -18
  138. package/esm2020/src/ui/GuiInteractiveExecutor.mjs +0 -98
  139. package/esm2020/src/ui/components/base-magic-alert.component.mjs +0 -23
  140. package/esm2020/src/ui/components/base-magic-confirm.component.mjs +0 -23
  141. package/esm2020/src/ui/components/magic-alert.component.mjs +0 -35
  142. package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +0 -41
  143. package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +0 -49
  144. package/esm2020/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +0 -28
  145. package/esm2020/src/ui/directives/magic/checkbox.magic.directive.mjs +0 -28
  146. package/esm2020/src/ui/directives/magic/combobox.magic.directive.mjs +0 -36
  147. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +0 -27
  148. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +0 -52
  149. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +0 -32
  150. package/esm2020/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +0 -27
  151. package/esm2020/src/ui/directives/magic/row.magic.directive.mjs +0 -58
  152. package/esm2020/src/ui/directives/magic-focus.directive.mjs +0 -19
  153. package/esm2020/src/ui/directives/magic.directive.mjs +0 -215
  154. package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +0 -19
  155. package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +0 -408
  156. package/esm2020/src/ui/directives/range-validator.magic.directive.mjs +0 -58
  157. package/esm2020/src/ui/magic-modal/magic-modal-form.mjs +0 -8
  158. package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +0 -121
  159. package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +0 -159
  160. package/esm2020/src/ui/magic-root.component.mjs +0 -203
  161. package/esm2020/src/ui/mgerror.magic.component.mjs +0 -119
  162. package/esm2020/src/ui/pipes/date.magic.pipe.mjs +0 -105
  163. package/esm2020/src/ui/pipes/time.magic.pipe.mjs +0 -51
  164. package/esm2020/src/ui/pipes/time24.magic.pipe.mjs +0 -34
  165. package/esm2020/src/ui/router-container.magic.component.mjs +0 -108
  166. package/esm2020/src/ui/task-base.magic.component.mjs +0 -86
  167. package/fesm2015/magic-xpa-angular.mjs +0 -4832
  168. package/fesm2015/magic-xpa-angular.mjs.map +0 -1
  169. package/fesm2020/magic-xpa-angular.mjs.map +0 -1
@@ -1,40 +1,38 @@
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
+ import { NativeDateAdapter } from '@angular/material/core';
2
+ import { TaskMagicService } from "./task.magics.service";
3
+ import * as i0 from "@angular/core";
4
+ export declare const MG_FORMATS: {
5
+ parse: {
6
+ dateInput: {
7
+ month: string;
8
+ year: string;
9
+ day: string;
10
+ };
11
+ };
12
+ display: {
13
+ dateInput: string;
14
+ monthYearLabel: {
15
+ year: string;
16
+ month: string;
17
+ };
18
+ dateA11yLabel: {
19
+ year: string;
20
+ month: string;
21
+ day: string;
22
+ };
23
+ monthYearA11yLabel: {
24
+ year: string;
25
+ month: string;
26
+ };
27
+ };
28
+ };
29
+ export declare class MgDateAdapter extends NativeDateAdapter {
30
+ protected task: TaskMagicService;
31
+ localeId: string;
32
+ mgdtfmt: string;
33
+ constructor(task: TaskMagicService, localeId: string);
34
+ parse(value: any): Date | null;
35
+ format(date: Date, displayFormat: Object): string;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<MgDateAdapter, never>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<MgDateAdapter>;
38
+ }
@@ -1,7 +1,7 @@
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
+ 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 +1,17 @@
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
+ 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 +1,43 @@
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
+ 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 +1,30 @@
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
+ 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 +1,100 @@
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
+ 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 +1,9 @@
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
+ 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,21 +1,22 @@
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 OnSetTitle;
17
- private OnRefreshPage;
18
- private OnGetTopIndex;
19
- private OnGetIsRowEditing;
20
- private OnGetLastRoute;
21
- }
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 +1,10 @@
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
+ 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": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, { "onClose": "onClose"; }, never, never, false, never>;
10
+ }
@@ -1,10 +1,10 @@
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
+ 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-confirm", never, { "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, { "onClose": "onClose"; }, never, never, false, never>;
10
+ }
@@ -1,6 +1,6 @@
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
+ 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 +1,6 @@
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
+ 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
+ }