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

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,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
+ }