@magic-xpa/angular 4.1000.0 → 4.1100.0-dev000.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/README.md +5 -5
  2. package/{esm2020 → esm2022}/index.mjs +59 -59
  3. package/{esm2020 → esm2022}/magic-xpa-angular.mjs +1 -1
  4. package/esm2022/src/controls.metadata.model.mjs +183 -0
  5. package/{esm2020 → esm2022}/src/interfaces/sub-form-definition.iterface.mjs +1 -1
  6. package/{esm2020 → esm2022}/src/magic.core.module.mjs +159 -160
  7. package/{esm2020 → esm2022}/src/services/ISubformMagicService.mjs +1 -1
  8. package/esm2022/src/services/OverlayWindowService.mjs +244 -0
  9. package/esm2022/src/services/StylesMapManager.mjs +28 -0
  10. package/esm2022/src/services/accessor.magic.service.mjs +358 -0
  11. package/esm2022/src/services/commands-collector.magic.service.mjs +47 -0
  12. package/esm2022/src/services/component-list.magic.service.mjs +45 -0
  13. package/{esm2020 → esm2022}/src/services/confirmation.components.magic.provider.mjs +21 -21
  14. package/esm2022/src/services/engine.magic.service.mjs +80 -0
  15. package/{esm2020 → esm2022}/src/services/exit.magic.service.mjs +13 -13
  16. package/esm2022/src/services/magic-color.service.mjs +101 -0
  17. package/{esm2020 → esm2022}/src/services/magic.lazy.loader.service.mjs +16 -16
  18. package/{esm2020 → esm2022}/src/services/magic.providers.mjs +24 -24
  19. package/esm2022/src/services/magic.services.mjs +36 -0
  20. package/esm2022/src/services/mg-date-adapter.mjs +108 -0
  21. package/{esm2020 → esm2022}/src/services/overlay.conainer.magic.provider.mjs +14 -14
  22. package/esm2022/src/services/router-commands.magic.service.mjs +31 -0
  23. package/esm2022/src/services/subform.magic.service.mjs +194 -0
  24. package/esm2022/src/services/table.magic.service.mjs +81 -0
  25. package/esm2022/src/services/task.magics.service.mjs +648 -0
  26. package/esm2022/src/services/title.magic.service.mjs +19 -0
  27. package/esm2022/src/ui/GuiInteractiveExecutor.mjs +114 -0
  28. package/esm2022/src/ui/components/base-magic-alert.component.mjs +24 -0
  29. package/esm2022/src/ui/components/base-magic-confirm.component.mjs +24 -0
  30. package/esm2022/src/ui/components/magic-alert.component.mjs +36 -0
  31. package/esm2022/src/ui/components/magic-confirmation-box.component.mjs +42 -0
  32. package/esm2022/src/ui/directives/NonMagicControlDirective.mjs +58 -0
  33. package/esm2022/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +29 -0
  34. package/esm2022/src/ui/directives/magic/checkbox.magic.directive.mjs +100 -0
  35. package/esm2022/src/ui/directives/magic/combobox.magic.directive.mjs +37 -0
  36. package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +27 -0
  37. package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +85 -0
  38. package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +32 -0
  39. package/esm2022/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +28 -0
  40. package/esm2022/src/ui/directives/magic/nocontrol.magic.directive.mjs +193 -0
  41. package/esm2022/src/ui/directives/magic/row.magic.directive.mjs +62 -0
  42. package/esm2022/src/ui/directives/magic-focus.directive.mjs +20 -0
  43. package/esm2022/src/ui/directives/magic.directive.mjs +232 -0
  44. package/esm2022/src/ui/directives/magicViewContainerRef.directive.mjs +20 -0
  45. package/esm2022/src/ui/directives/mgformat.magic.directive.mjs +579 -0
  46. package/esm2022/src/ui/directives/range-validator.magic.directive.mjs +60 -0
  47. package/{esm2020 → esm2022}/src/ui/magic-confirmationBox.mjs +41 -41
  48. package/{esm2020 → esm2022}/src/ui/magic-modal/base-magic-overlay-container.mjs +22 -22
  49. package/esm2022/src/ui/magic-modal/magic-modal-form.mjs +6 -0
  50. package/{esm2020 → esm2022}/src/ui/magic-modal/magic-modal-interface.mjs +1 -1
  51. package/esm2022/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +124 -0
  52. package/esm2022/src/ui/magic-modal/magic-overlay-container.mjs +162 -0
  53. package/esm2022/src/ui/magic-root.component.mjs +236 -0
  54. package/esm2022/src/ui/mgerror.magic.component.mjs +125 -0
  55. package/esm2022/src/ui/pipes/date.magic.pipe.mjs +106 -0
  56. package/esm2022/src/ui/pipes/time.magic.pipe.mjs +52 -0
  57. package/esm2022/src/ui/pipes/time24.magic.pipe.mjs +35 -0
  58. package/esm2022/src/ui/router-container.magic.component.mjs +115 -0
  59. package/{esm2020 → esm2022}/src/ui/subform.magic.component.mjs +50 -46
  60. package/esm2022/src/ui/task-base.magic.component.mjs +91 -0
  61. package/{esm2020 → esm2022}/src/ui/utils.mjs +53 -53
  62. package/{fesm2020 → fesm2022}/magic-xpa-angular.mjs +4931 -4460
  63. package/fesm2022/magic-xpa-angular.mjs.map +1 -0
  64. package/index.d.ts +58 -58
  65. package/package.json +10 -16
  66. package/src/controls.metadata.model.d.ts +62 -62
  67. package/src/interfaces/sub-form-definition.iterface.d.ts +12 -12
  68. package/src/magic.core.module.d.ts +41 -41
  69. package/src/services/ISubformMagicService.d.ts +4 -4
  70. package/src/services/OverlayWindowService.d.ts +30 -25
  71. package/src/services/StylesMapManager.d.ts +5 -5
  72. package/src/services/accessor.magic.service.d.ts +69 -69
  73. package/src/services/commands-collector.magic.service.d.ts +15 -15
  74. package/src/services/component-list.magic.service.d.ts +23 -23
  75. package/src/services/confirmation.components.magic.provider.d.ts +8 -8
  76. package/src/services/engine.magic.service.d.ts +27 -27
  77. package/src/services/exit.magic.service.d.ts +6 -6
  78. package/src/services/magic-color.service.d.ts +19 -19
  79. package/src/services/magic.lazy.loader.service.d.ts +6 -6
  80. package/src/services/magic.providers.d.ts +107 -107
  81. package/src/services/magic.services.d.ts +16 -16
  82. package/src/services/mg-date-adapter.d.ts +38 -40
  83. package/src/services/overlay.conainer.magic.provider.d.ts +7 -7
  84. package/src/services/router-commands.magic.service.d.ts +17 -17
  85. package/src/services/subform.magic.service.d.ts +43 -43
  86. package/src/services/table.magic.service.d.ts +30 -30
  87. package/src/services/task.magics.service.d.ts +100 -100
  88. package/src/services/title.magic.service.d.ts +9 -9
  89. package/src/ui/GuiInteractiveExecutor.d.ts +22 -21
  90. package/src/ui/components/base-magic-alert.component.d.ts +10 -10
  91. package/src/ui/components/base-magic-confirm.component.d.ts +10 -10
  92. package/src/ui/components/magic-alert.component.d.ts +6 -6
  93. package/src/ui/components/magic-confirmation-box.component.d.ts +6 -6
  94. package/src/ui/directives/NonMagicControlDirective.d.ts +26 -26
  95. package/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.d.ts +9 -9
  96. package/src/ui/directives/magic/checkbox.magic.directive.d.ts +22 -9
  97. package/src/ui/directives/magic/combobox.magic.directive.d.ts +10 -10
  98. package/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.d.ts +7 -7
  99. package/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.d.ts +23 -17
  100. package/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.d.ts +7 -7
  101. package/src/ui/directives/magic/input.noformcontrol.magic.directive.d.ts +9 -9
  102. package/src/ui/directives/magic/nocontrol.magic.directive.d.ts +18 -17
  103. package/src/ui/directives/magic/row.magic.directive.d.ts +17 -17
  104. package/src/ui/directives/magic-focus.directive.d.ts +9 -9
  105. package/src/ui/directives/magic.directive.d.ts +45 -42
  106. package/src/ui/directives/magicViewContainerRef.directive.d.ts +8 -8
  107. package/src/ui/directives/mgformat.magic.directive.d.ts +38 -31
  108. package/src/ui/directives/range-validator.magic.directive.d.ts +17 -17
  109. package/src/ui/magic-confirmationBox.d.ts +6 -6
  110. package/src/ui/magic-modal/base-magic-overlay-container.d.ts +5 -5
  111. package/src/ui/magic-modal/magic-modal-form.d.ts +5 -5
  112. package/src/ui/magic-modal/magic-modal-interface.d.ts +10 -10
  113. package/src/ui/magic-modal/magic-overlay-container-wrapper.d.ts +30 -31
  114. package/src/ui/magic-modal/magic-overlay-container.d.ts +24 -25
  115. package/src/ui/magic-root.component.d.ts +43 -40
  116. package/src/ui/mgerror.magic.component.d.ts +20 -20
  117. package/src/ui/pipes/date.magic.pipe.d.ts +17 -17
  118. package/src/ui/pipes/time.magic.pipe.d.ts +11 -11
  119. package/src/ui/pipes/time24.magic.pipe.d.ts +10 -10
  120. package/src/ui/router-container.magic.component.d.ts +29 -30
  121. package/src/ui/subform.magic.component.d.ts +16 -16
  122. package/src/ui/task-base.magic.component.d.ts +34 -34
  123. package/src/ui/utils.d.ts +9 -9
  124. package/esm2020/src/controls.metadata.model.mjs +0 -180
  125. package/esm2020/src/services/OverlayWindowService.mjs +0 -208
  126. package/esm2020/src/services/StylesMapManager.mjs +0 -28
  127. package/esm2020/src/services/accessor.magic.service.mjs +0 -356
  128. package/esm2020/src/services/commands-collector.magic.service.mjs +0 -46
  129. package/esm2020/src/services/component-list.magic.service.mjs +0 -46
  130. package/esm2020/src/services/engine.magic.service.mjs +0 -82
  131. package/esm2020/src/services/magic-color.service.mjs +0 -99
  132. package/esm2020/src/services/magic.services.mjs +0 -31
  133. package/esm2020/src/services/mg-date-adapter.mjs +0 -109
  134. package/esm2020/src/services/router-commands.magic.service.mjs +0 -28
  135. package/esm2020/src/services/subform.magic.service.mjs +0 -184
  136. package/esm2020/src/services/table.magic.service.mjs +0 -77
  137. package/esm2020/src/services/task.magics.service.mjs +0 -624
  138. package/esm2020/src/services/title.magic.service.mjs +0 -18
  139. package/esm2020/src/ui/GuiInteractiveExecutor.mjs +0 -98
  140. package/esm2020/src/ui/components/base-magic-alert.component.mjs +0 -23
  141. package/esm2020/src/ui/components/base-magic-confirm.component.mjs +0 -23
  142. package/esm2020/src/ui/components/magic-alert.component.mjs +0 -35
  143. package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +0 -41
  144. package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +0 -49
  145. package/esm2020/src/ui/directives/magic/checkbox-noformcontrol.magic.directive.mjs +0 -28
  146. package/esm2020/src/ui/directives/magic/checkbox.magic.directive.mjs +0 -28
  147. package/esm2020/src/ui/directives/magic/combobox.magic.directive.mjs +0 -36
  148. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/checkbox.cva.directive.mjs +0 -27
  149. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +0 -52
  150. package/esm2020/src/ui/directives/magic/form-controls/control-value-accessors/default.cva.directive.mjs +0 -32
  151. package/esm2020/src/ui/directives/magic/input.noformcontrol.magic.directive.mjs +0 -27
  152. package/esm2020/src/ui/directives/magic/nocontrol.magic.directive.mjs +0 -191
  153. package/esm2020/src/ui/directives/magic/row.magic.directive.mjs +0 -58
  154. package/esm2020/src/ui/directives/magic-focus.directive.mjs +0 -19
  155. package/esm2020/src/ui/directives/magic.directive.mjs +0 -210
  156. package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +0 -19
  157. package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +0 -408
  158. package/esm2020/src/ui/directives/range-validator.magic.directive.mjs +0 -58
  159. package/esm2020/src/ui/magic-modal/magic-modal-form.mjs +0 -8
  160. package/esm2020/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +0 -121
  161. package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +0 -159
  162. package/esm2020/src/ui/magic-root.component.mjs +0 -203
  163. package/esm2020/src/ui/mgerror.magic.component.mjs +0 -119
  164. package/esm2020/src/ui/pipes/date.magic.pipe.mjs +0 -105
  165. package/esm2020/src/ui/pipes/time.magic.pipe.mjs +0 -51
  166. package/esm2020/src/ui/pipes/time24.magic.pipe.mjs +0 -34
  167. package/esm2020/src/ui/router-container.magic.component.mjs +0 -108
  168. package/esm2020/src/ui/task-base.magic.component.mjs +0 -86
  169. package/fesm2015/magic-xpa-angular.mjs +0 -4829
  170. package/fesm2015/magic-xpa-angular.mjs.map +0 -1
  171. package/fesm2020/magic-xpa-angular.mjs.map +0 -1
@@ -1,69 +1,69 @@
1
- import { TaskMagicService } from './task.magics.service';
2
- import { HtmlProperties } from '@magic-xpa/gui';
3
- import { FormGroup } from '@angular/forms';
4
- import { MagicColorService } from './magic-color.service';
5
- import { MaskitoOptions } from "@maskito/core";
6
- import * as i0 from "@angular/core";
7
- export declare class AccessorMagicService {
8
- protected task: TaskMagicService;
9
- protected magicColor: MagicColorService;
10
- Logger: any;
11
- readonly hhmm: MaskitoOptions;
12
- readonly hhmmss: MaskitoOptions;
13
- constructor(task: TaskMagicService, magicColor: MagicColorService);
14
- checkIsReadOnly(controlId: string): boolean;
15
- getText(controlId: string, rowId?: string): string;
16
- getTabpageText(controlId: string, layer: number): string;
17
- getImage(controlId: string, rowId?: string): string;
18
- isImageExists(controlId: string, rowId?: string): boolean;
19
- getClasses(controlId: string, rowId?: string): string;
20
- getStyle(controlId: string, styleName: string, rowId?: string): string;
21
- getVisible(controlId: string, rowId?: string): string;
22
- getAlphaMask(controlId: string, rowId?: string): string;
23
- getNumericPicture(picture: string): any;
24
- getMustInput(controlId: string, rowId?: string): string;
25
- isDisabled(controlId: string, rowId?: string): any;
26
- getProperty(controlId: string, prop: HtmlProperties, rowId?: string): any;
27
- getTitle(controlId: string, rowId?: string): string;
28
- getZoomButtonTitle(controlId: string, rowId?: string): string;
29
- getSelectedValue(controlId: string, rowId?: string): string;
30
- getPlaceholder(controlId: string, rowId?: string): string;
31
- getType(controlId: string, rowId?: string): string;
32
- getTabIndex(controlId: string, rowId?: string): number;
33
- getValue(controlId: string, rowId?: string): any;
34
- getFormattedValue(controlId: string, rowId?: string): string;
35
- getPicture(controlId: string, rowId?: string): string;
36
- getCustomProperty(controlId: string, propertyNameOrRowID?: string, rowId?: string): any;
37
- getCustomProperty_1(controlId: string, propertyName: string, rowId?: string): any;
38
- getItemListValues(id: string, rowId?: string): Array<{
39
- index: number;
40
- displayValue: string;
41
- }>;
42
- getFilteredList(controlId: string, rowId?: string): Array<{
43
- index: number;
44
- displayValue: string;
45
- }>;
46
- getDisplayValue(id: any, rowId?: any): string;
47
- isOptionSelected(index: any, controlId: any): boolean;
48
- isTabPageSelected(controlId: string, layer: number): boolean;
49
- isTabPageLayerSelected(controlId: string, layer: number): boolean;
50
- getTabSelectedIndex(controlId: string): any;
51
- ifRowCreated(row: any): boolean;
52
- getFormGroupByRow(id: string): FormGroup;
53
- isRowSelected(controlId: any, rowId?: any): boolean;
54
- isRowInRowEditing(row?: any): boolean;
55
- isCurrentInRowEditing(): boolean;
56
- guiTopIndex(): number;
57
- getErrMsg(id: string, rowId: string): string;
58
- setValueToControl(controlName: string, value: any, refreshDisplay?: boolean): void;
59
- isDataviewEmpty(): boolean;
60
- simulateClick(controlName: string, rowId?: number): void;
61
- isLoggedIn(): boolean;
62
- GetFormRecords(): any;
63
- SetCookie(name: string, value: any, expires?: Date, path?: any, domain?: any, secure?: any, sameSite?: any): void;
64
- GetCookie(name: string): any;
65
- DeleteCookie(name: string): any;
66
- getColor(colorNumber: number, colorType: any): any;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<AccessorMagicService, never>;
68
- static ɵprov: i0.ɵɵInjectableDeclaration<AccessorMagicService>;
69
- }
1
+ import { TaskMagicService } from './task.magics.service';
2
+ import { HtmlProperties } from '@magic-xpa/gui';
3
+ import { FormGroup } from '@angular/forms';
4
+ import { MagicColorService } from './magic-color.service';
5
+ import { MaskitoOptions } from "@maskito/core";
6
+ import * as i0 from "@angular/core";
7
+ export declare class AccessorMagicService {
8
+ protected task: TaskMagicService;
9
+ protected magicColor: MagicColorService;
10
+ Logger: any;
11
+ readonly hhmm: MaskitoOptions;
12
+ readonly hhmmss: MaskitoOptions;
13
+ constructor(task: TaskMagicService, magicColor: MagicColorService);
14
+ checkIsReadOnly(controlId: string): boolean;
15
+ getText(controlId: string, rowId?: string): string;
16
+ getTabpageText(controlId: string, layer: number): string;
17
+ getImage(controlId: string, rowId?: string): string;
18
+ isImageExists(controlId: string, rowId?: string): boolean;
19
+ getClasses(controlId: string, rowId?: string): string;
20
+ getStyle(controlId: string, styleName: string, rowId?: string): string;
21
+ getVisible(controlId: string, rowId?: string): string;
22
+ getAlphaMask(controlId: string, rowId?: string): string;
23
+ getNumericPicture(picture: string): any;
24
+ getMustInput(controlId: string, rowId?: string): string;
25
+ isDisabled(controlId: string, rowId?: string): any;
26
+ getProperty(controlId: string, prop: HtmlProperties, rowId?: string): any;
27
+ getTitle(controlId: string, rowId?: string): string;
28
+ getZoomButtonTitle(controlId: string, rowId?: string): string;
29
+ getSelectedValue(controlId: string, rowId?: string): string;
30
+ getPlaceholder(controlId: string, rowId?: string): string;
31
+ getType(controlId: string, rowId?: string): string;
32
+ getTabIndex(controlId: string, rowId?: string): number;
33
+ getValue(controlId: string, rowId?: string): any;
34
+ getFormattedValue(controlId: string, rowId?: string): string;
35
+ getPicture(controlId: string, rowId?: string): string;
36
+ getCustomProperty(controlId: string, propertyNameOrRowID?: string, rowId?: string): any;
37
+ getCustomProperty_1(controlId: string, propertyName: string, rowId?: string): any;
38
+ getItemListValues(id: string, rowId?: string): Array<{
39
+ index: number;
40
+ displayValue: string;
41
+ }>;
42
+ getFilteredList(controlId: string, rowId?: string): Array<{
43
+ index: number;
44
+ displayValue: string;
45
+ }>;
46
+ getDisplayValue(id: any, rowId?: any): string;
47
+ isOptionSelected(index: any, controlId: any): boolean;
48
+ isTabPageSelected(controlId: string, layer: number): boolean;
49
+ isTabPageLayerSelected(controlId: string, layer: number): boolean;
50
+ getTabSelectedIndex(controlId: string): any;
51
+ ifRowCreated(row: any): boolean;
52
+ getFormGroupByRow(id: string): FormGroup;
53
+ isRowSelected(controlId: any, rowId?: any): boolean;
54
+ isRowInRowEditing(row?: any): boolean;
55
+ isCurrentInRowEditing(): boolean;
56
+ guiTopIndex(): number;
57
+ getErrMsg(id: string, rowId: string): string;
58
+ setValueToControl(controlName: string, value: any, refreshDisplay?: boolean): void;
59
+ isDataviewEmpty(): boolean;
60
+ simulateClick(controlName: string, rowId?: number): void;
61
+ isLoggedIn(): boolean;
62
+ GetFormRecords(): any;
63
+ SetCookie(name: string, value: any, expires?: Date, path?: any, domain?: any, secure?: any, sameSite?: any): void;
64
+ GetCookie(name: string): any;
65
+ DeleteCookie(name: string): any;
66
+ getColor(colorNumber: number, colorType: any): any;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccessorMagicService, never>;
68
+ static ɵprov: i0.ɵɵInjectableDeclaration<AccessorMagicService>;
69
+ }
@@ -1,15 +1,15 @@
1
- import { EngineMagicService } from './engine.magic.service';
2
- import { GuiCommand } from '@magic-xpa/gui';
3
- import * as i0 from "@angular/core";
4
- export declare class CommandsCollectorMagicService {
5
- protected magic: EngineMagicService;
6
- private count;
7
- private commands;
8
- private subscription;
9
- constructor(magic: EngineMagicService);
10
- startCollecting(): void;
11
- stopCollecting(): void;
12
- GetCommands(taskId: string): GuiCommand[];
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CommandsCollectorMagicService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<CommandsCollectorMagicService>;
15
- }
1
+ import { EngineMagicService } from './engine.magic.service';
2
+ import { GuiCommand } from '@magic-xpa/gui';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CommandsCollectorMagicService {
5
+ protected magic: EngineMagicService;
6
+ private count;
7
+ private commands;
8
+ private subscription;
9
+ constructor(magic: EngineMagicService);
10
+ startCollecting(): void;
11
+ stopCollecting(): void;
12
+ GetCommands(taskId: string): GuiCommand[];
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommandsCollectorMagicService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommandsCollectorMagicService>;
15
+ }
@@ -1,23 +1,23 @@
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
+ 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 +1,8 @@
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
+ 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 +1,27 @@
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
+ 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, args: Map<string, string>): 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 +1,6 @@
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
+ 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 +1,19 @@
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
+ 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 +1,6 @@
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
+ 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 +1,107 @@
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
+ 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 +1,16 @@
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
+ 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
+ }