@magic-xpa/angular 4.1300.0-dev4130.265 → 4.1300.0-dev4130.268
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.
- package/fesm2022/magic-xpa-angular.mjs +442 -527
- package/fesm2022/magic-xpa-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/types/magic-xpa-angular.d.ts +600 -547
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StorageAttribute, MagicProperties } from '@magic-xpa/utils';
|
|
2
|
-
import { HtmlProperties, CustomValidator, GuiCommand, GuiInteractive,
|
|
2
|
+
import { HtmlProperties, CustomValidator, GuiCommand, GuiInteractive, OverlayType, PIC, Styles } from '@magic-xpa/gui';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { NgModuleRef, ViewContainerRef, OnInit,
|
|
4
|
+
import { NgModuleRef, ViewContainerRef, OnInit, Type, InjectionToken, EventEmitter, OnDestroy, AfterViewInit, ChangeDetectorRef, ElementRef, Renderer2, TemplateRef, PipeTransform } from '@angular/core';
|
|
5
5
|
import * as i31 from '@angular/forms';
|
|
6
6
|
import { FormGroup, AbstractControl, ValidatorFn, FormControl, CheckboxControlValueAccessor, DefaultValueAccessor, ControlValueAccessor, Validator } from '@angular/forms';
|
|
7
7
|
import { Subject, Subscription, Observable } from 'rxjs';
|
|
@@ -107,6 +107,7 @@ declare class EngineMagicService {
|
|
|
107
107
|
isLoggedIn: boolean;
|
|
108
108
|
refreshDom: Subject<GuiCommand>;
|
|
109
109
|
interactiveCommands: Subject<GuiInteractive>;
|
|
110
|
+
private readonly magicChangeDetection;
|
|
110
111
|
startMagicEngine(httpClient: HttpClient, args: Map<string, string>): void;
|
|
111
112
|
terminateMagic(): Promise<void>;
|
|
112
113
|
insertEvent(guiEvent: IGuiEvent): void;
|
|
@@ -179,11 +180,11 @@ declare class ComponentListMagicService {
|
|
|
179
180
|
* @ignore
|
|
180
181
|
*/
|
|
181
182
|
declare class CommandsCollectorMagicService {
|
|
182
|
-
protected magic: EngineMagicService;
|
|
183
183
|
private count;
|
|
184
184
|
private commands;
|
|
185
185
|
private subscription;
|
|
186
|
-
|
|
186
|
+
protected magic: EngineMagicService;
|
|
187
|
+
constructor();
|
|
187
188
|
startCollecting(): void;
|
|
188
189
|
stopCollecting(): void;
|
|
189
190
|
GetCommands(taskId: string): GuiCommand[];
|
|
@@ -238,6 +239,11 @@ declare class RouterCommandsMagicService {
|
|
|
238
239
|
* Mock component, implements routing by connecting the requested URL with the appropriate Magic task
|
|
239
240
|
*/
|
|
240
241
|
declare class RouterContainerMagicComponent implements OnInit {
|
|
242
|
+
private componentRef;
|
|
243
|
+
private parentMgSubformService;
|
|
244
|
+
private static lastRoute;
|
|
245
|
+
private routePath;
|
|
246
|
+
static get LastRoute(): string;
|
|
241
247
|
private activatedRoute;
|
|
242
248
|
protected router: Router;
|
|
243
249
|
protected magic: EngineMagicService;
|
|
@@ -246,11 +252,6 @@ declare class RouterContainerMagicComponent implements OnInit {
|
|
|
246
252
|
private componentList;
|
|
247
253
|
protected pendingCommandsCollector: CommandsCollectorMagicService;
|
|
248
254
|
protected routerCommandsMagicService: RouterCommandsMagicService;
|
|
249
|
-
private componentRef;
|
|
250
|
-
private parentMgSubformService;
|
|
251
|
-
private static lastRoute;
|
|
252
|
-
private routePath;
|
|
253
|
-
static get LastRoute(): string;
|
|
254
255
|
/**
|
|
255
256
|
*
|
|
256
257
|
* @param changeDetectorRef
|
|
@@ -261,7 +262,7 @@ declare class RouterContainerMagicComponent implements OnInit {
|
|
|
261
262
|
* @param componentList
|
|
262
263
|
* @param pendingCommandsCollector
|
|
263
264
|
*/
|
|
264
|
-
constructor(
|
|
265
|
+
constructor();
|
|
265
266
|
/**
|
|
266
267
|
* Initialization
|
|
267
268
|
*/
|
|
@@ -277,16 +278,17 @@ declare class RouterContainerMagicComponent implements OnInit {
|
|
|
277
278
|
static ɵcmp: i0.ɵɵComponentDeclaration<RouterContainerMagicComponent, "magic-route-outlet", never, {}, {}, never, never, false, never>;
|
|
278
279
|
}
|
|
279
280
|
|
|
280
|
-
declare class MagicLazyLoaderService {
|
|
281
|
-
Load(path: string): Promise<any>;
|
|
282
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicLazyLoaderService, never>;
|
|
283
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MagicLazyLoaderService>;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
281
|
/**
|
|
287
282
|
* Service for managing subforms and routing
|
|
288
283
|
*/
|
|
289
284
|
declare class SubformMagicService implements ISubformMagicService {
|
|
285
|
+
subformsDict: {};
|
|
286
|
+
routesDict: {
|
|
287
|
+
[x: string]: string;
|
|
288
|
+
};
|
|
289
|
+
currentRouteDefinition: RouteDefinition;
|
|
290
|
+
static currentCallerMgSubformServiceRef: any;
|
|
291
|
+
static routerContainers: Array<RouterContainerMagicComponent>;
|
|
290
292
|
private task;
|
|
291
293
|
protected activatedRoute: ActivatedRoute;
|
|
292
294
|
protected componentList: ComponentListMagicService;
|
|
@@ -296,14 +298,7 @@ declare class SubformMagicService implements ISubformMagicService {
|
|
|
296
298
|
private componentListMagicService;
|
|
297
299
|
private loader;
|
|
298
300
|
private injector;
|
|
299
|
-
|
|
300
|
-
routesDict: {
|
|
301
|
-
[x: string]: string;
|
|
302
|
-
};
|
|
303
|
-
currentRouteDefinition: RouteDefinition;
|
|
304
|
-
static currentCallerMgSubformServiceRef: any;
|
|
305
|
-
static routerContainers: Array<RouterContainerMagicComponent>;
|
|
306
|
-
constructor(task: TaskMagicService, activatedRoute: ActivatedRoute, componentList: ComponentListMagicService, pendingCommandsCollector: CommandsCollectorMagicService, router: Router, routerCommandsMagicService: RouterCommandsMagicService, componentListMagicService: ComponentListMagicService, loader: MagicLazyLoaderService, injector: Injector);
|
|
301
|
+
constructor();
|
|
307
302
|
/**
|
|
308
303
|
* Finds and returns the component according to the subform name
|
|
309
304
|
* @param subformName
|
|
@@ -347,11 +342,7 @@ declare class SubformMagicService implements ISubformMagicService {
|
|
|
347
342
|
*/
|
|
348
343
|
declare class TitleMagicService {
|
|
349
344
|
protected titleService: Title;
|
|
350
|
-
|
|
351
|
-
*
|
|
352
|
-
* @param titleService Angular's title-changing class
|
|
353
|
-
*/
|
|
354
|
-
constructor(titleService: Title);
|
|
345
|
+
constructor();
|
|
355
346
|
/**
|
|
356
347
|
* Set the new title of the window
|
|
357
348
|
* @param newTitle New title of the window
|
|
@@ -365,12 +356,13 @@ declare let COLOR_FILE_NAME: InjectionToken<string>;
|
|
|
365
356
|
declare const MAGIC_FG_COLOR: number;
|
|
366
357
|
declare const MAGIC_BG_COLOR: number;
|
|
367
358
|
declare class MagicColorService {
|
|
368
|
-
private http;
|
|
369
359
|
colorFileName: string;
|
|
370
360
|
getColorFilePath(): string;
|
|
371
361
|
private colorsData;
|
|
372
362
|
private fileNotFound;
|
|
373
|
-
|
|
363
|
+
private http;
|
|
364
|
+
colorFile1: string;
|
|
365
|
+
constructor();
|
|
374
366
|
private getColorData;
|
|
375
367
|
private hexToRgba;
|
|
376
368
|
/**
|
|
@@ -388,15 +380,15 @@ declare class MagicColorService {
|
|
|
388
380
|
* Provides the UI with values calculated by the Magic WebClient
|
|
389
381
|
*/
|
|
390
382
|
declare class AccessorMagicService {
|
|
391
|
-
protected task: TaskMagicService;
|
|
392
|
-
protected magicColor: MagicColorService;
|
|
393
383
|
Logger: any;
|
|
394
384
|
readonly hhmm: MaskitoOptions;
|
|
395
385
|
readonly hhmmss: MaskitoOptions;
|
|
386
|
+
protected task: TaskMagicService;
|
|
387
|
+
protected magicColor: MagicColorService;
|
|
396
388
|
/**
|
|
397
389
|
* @ignore
|
|
398
390
|
*/
|
|
399
|
-
constructor(
|
|
391
|
+
constructor();
|
|
400
392
|
UploadFileToServer(fileContent: any, serverFileName: string): any;
|
|
401
393
|
DownloadFileFromServer(serverFileName: string): Promise<ArrayBuffer>;
|
|
402
394
|
/**
|
|
@@ -691,414 +683,163 @@ declare class AccessorMagicService {
|
|
|
691
683
|
}
|
|
692
684
|
|
|
693
685
|
/**
|
|
694
|
-
*
|
|
686
|
+
* Main service to connect the UI with the Magic WebCLient
|
|
695
687
|
*/
|
|
696
|
-
|
|
688
|
+
declare class TaskMagicService {
|
|
697
689
|
/**
|
|
698
|
-
*
|
|
690
|
+
* Service to provide table-related functionalities
|
|
699
691
|
*/
|
|
700
|
-
|
|
692
|
+
tableService: any;
|
|
701
693
|
/**
|
|
702
|
-
*
|
|
694
|
+
* Collection of data for all controls
|
|
703
695
|
*/
|
|
704
|
-
|
|
696
|
+
Records: any;
|
|
705
697
|
/**
|
|
706
|
-
*
|
|
698
|
+
* FormGroup collection for line mode
|
|
707
699
|
*/
|
|
708
|
-
|
|
700
|
+
formGroups: Array<FormGroup>;
|
|
709
701
|
/**
|
|
710
|
-
*
|
|
702
|
+
* FormGroup for all controls in screen mode
|
|
711
703
|
*/
|
|
712
|
-
|
|
704
|
+
ScreenModeControls: FormGroup;
|
|
713
705
|
/**
|
|
714
|
-
*
|
|
706
|
+
* @ignore
|
|
715
707
|
*/
|
|
716
|
-
|
|
708
|
+
refreshDom: Subject<GuiCommand>;
|
|
717
709
|
/**
|
|
718
|
-
*
|
|
710
|
+
* @ignore
|
|
719
711
|
*/
|
|
720
|
-
|
|
712
|
+
subscribeRefreshDom: Subscription;
|
|
721
713
|
/**
|
|
722
|
-
*
|
|
714
|
+
* @ignore
|
|
723
715
|
*/
|
|
724
|
-
|
|
716
|
+
detectChanges: Subject<any>;
|
|
725
717
|
/**
|
|
726
|
-
*
|
|
718
|
+
* @ignore
|
|
727
719
|
*/
|
|
728
|
-
|
|
720
|
+
subscribeInteractiveCommands: Subscription;
|
|
729
721
|
/**
|
|
730
|
-
*
|
|
722
|
+
* @ignore
|
|
731
723
|
*/
|
|
732
|
-
|
|
724
|
+
interactiveCommands: Subject<GuiInteractive>;
|
|
733
725
|
/**
|
|
734
|
-
*
|
|
726
|
+
* @ignore
|
|
727
|
+
* This event is emitted when the selected row in a table changes.
|
|
735
728
|
*/
|
|
736
|
-
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
declare abstract class BaseMagicOverlayContainer {
|
|
729
|
+
OnSelectedRowChanged: EventEmitter<string>;
|
|
740
730
|
/**
|
|
741
|
-
*
|
|
731
|
+
* @ignore
|
|
742
732
|
*/
|
|
743
|
-
|
|
733
|
+
customPropertiesSubject: Subject<any>;
|
|
744
734
|
/**
|
|
745
|
-
*
|
|
735
|
+
* @ignore
|
|
746
736
|
*/
|
|
747
|
-
|
|
737
|
+
recordsCountChangeSubject: Subject<any>;
|
|
738
|
+
mgLoadSubject: Subject<any>;
|
|
748
739
|
/**
|
|
749
|
-
*
|
|
740
|
+
* @ignore
|
|
750
741
|
*/
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* Creates a modal window for Magic modal window components
|
|
756
|
-
*/
|
|
757
|
-
declare class MagicOverlayContainer extends BaseMagicOverlayContainer implements OnInit, AfterViewInit, IMagicViewContainerRef {
|
|
742
|
+
template: {
|
|
743
|
+
[id: string]: string;
|
|
744
|
+
};
|
|
758
745
|
/**
|
|
759
|
-
*
|
|
746
|
+
* Service to provide subform-related functionalities
|
|
760
747
|
*/
|
|
761
|
-
|
|
748
|
+
mgSubformService: SubformMagicService;
|
|
762
749
|
/**
|
|
763
|
-
*
|
|
750
|
+
* Service to provide the title-change functionality
|
|
764
751
|
*/
|
|
765
|
-
|
|
752
|
+
mgTitleService: TitleMagicService;
|
|
766
753
|
/**
|
|
767
|
-
*
|
|
754
|
+
* Service which enables getting/setting values from/to the Magic WebClient engine
|
|
768
755
|
*/
|
|
769
|
-
|
|
756
|
+
mgAccessorService: AccessorMagicService;
|
|
757
|
+
mgInputDateFormat: any;
|
|
770
758
|
/**
|
|
771
|
-
*
|
|
759
|
+
* @ignore
|
|
772
760
|
*/
|
|
773
|
-
|
|
761
|
+
oldPageSize: number;
|
|
762
|
+
protected magic: EngineMagicService;
|
|
763
|
+
private overlayWindowService;
|
|
764
|
+
constructor();
|
|
774
765
|
/**
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
766
|
+
* returns true if used is logged in
|
|
767
|
+
* @returns
|
|
768
|
+
*/
|
|
769
|
+
getIsLoggenIn(): boolean;
|
|
779
770
|
/**
|
|
780
|
-
*
|
|
771
|
+
* Id of task to which this service refers
|
|
781
772
|
*/
|
|
782
|
-
|
|
783
|
-
private resizing;
|
|
784
|
-
private resizeDirection;
|
|
785
|
-
private originalWidth;
|
|
786
|
-
private originalHeight;
|
|
787
|
-
private originalMouseX;
|
|
788
|
-
private originalMouseY;
|
|
789
|
-
private isCenteredToWindow;
|
|
790
|
-
private static readonly minAllowedWidth;
|
|
791
|
-
private static readonly minAllowedHeight;
|
|
792
|
-
private _isRtl;
|
|
773
|
+
_taskId: string;
|
|
793
774
|
/**
|
|
794
|
-
*
|
|
775
|
+
* returns the task Id
|
|
776
|
+
* @returns
|
|
795
777
|
*/
|
|
796
|
-
|
|
778
|
+
get taskId(): string;
|
|
797
779
|
/**
|
|
798
|
-
*
|
|
780
|
+
* Sets the task Id
|
|
781
|
+
* @param value the task id to set
|
|
799
782
|
*/
|
|
800
|
-
|
|
801
|
-
ngAfterViewInit(): void;
|
|
802
|
-
setViewContainerRef(vcRef: ViewContainerRef): void;
|
|
783
|
+
set taskId(value: string);
|
|
803
784
|
/**
|
|
804
|
-
* Returns the
|
|
785
|
+
* Returns the task's data in Screen mode
|
|
805
786
|
* @returns
|
|
806
787
|
*/
|
|
807
|
-
|
|
788
|
+
get ScreenControlsData(): any;
|
|
808
789
|
/**
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
790
|
+
* @ignore
|
|
791
|
+
*/
|
|
792
|
+
settemplate(value: any): void;
|
|
812
793
|
/**
|
|
813
|
-
*
|
|
814
|
-
* @returns
|
|
794
|
+
* Builds the FormControl for each and every control
|
|
815
795
|
*/
|
|
816
|
-
|
|
796
|
+
buildScreenModeControls(): void;
|
|
817
797
|
/**
|
|
818
|
-
*
|
|
798
|
+
* Is the control a table control
|
|
799
|
+
* @param id Id of the control
|
|
819
800
|
* @returns
|
|
820
801
|
*/
|
|
821
|
-
|
|
802
|
+
isTableControl(id: string): boolean;
|
|
803
|
+
getMgInputDateFormat(): string;
|
|
822
804
|
/**
|
|
823
|
-
*
|
|
805
|
+
* Returns the FormControl of a control
|
|
806
|
+
* @param guiRowid Id of the requested row
|
|
807
|
+
* @param id Id of the control
|
|
824
808
|
* @returns
|
|
825
809
|
*/
|
|
826
|
-
|
|
810
|
+
getFormControl(guiRowid: string, id: string): AbstractControl;
|
|
827
811
|
/**
|
|
828
|
-
*
|
|
812
|
+
* handle the change of text for input control inside table
|
|
813
|
+
* @param guiRowId Id of the row for which the FormControls are built
|
|
814
|
+
* set the new value of the formcontrol
|
|
829
815
|
*/
|
|
830
|
-
|
|
816
|
+
setInputTextValue(controlId: string, guiRowid: string, val: any): void;
|
|
831
817
|
/**
|
|
832
|
-
*
|
|
818
|
+
* Build the FormControls for a table row
|
|
819
|
+
* @param guiRowId Id of the row for which the FormControls are built
|
|
833
820
|
*/
|
|
834
|
-
|
|
821
|
+
buildTableRowControls(guiRowId: number): void;
|
|
835
822
|
/**
|
|
836
|
-
*
|
|
837
|
-
* @
|
|
823
|
+
*
|
|
824
|
+
* @ignore
|
|
838
825
|
*/
|
|
839
|
-
|
|
826
|
+
updateRecordsBeforeCurrentView(value: number): void;
|
|
840
827
|
/**
|
|
841
|
-
*
|
|
842
|
-
* @returns {boolean} True if the overlay is movable, false otherwise.
|
|
828
|
+
* @ignore
|
|
843
829
|
*/
|
|
844
|
-
|
|
830
|
+
setIncludesFirst(value: boolean): void;
|
|
845
831
|
/**
|
|
846
|
-
*
|
|
847
|
-
* Stores the initial state (dimensions, mouse position) and sets flags.
|
|
848
|
-
* @param {MouseEvent} event - The mousedown event triggering the resize.
|
|
849
|
-
* @param {'right' | 'bottom' | 'corner'} direction - Indicates which resize handle was activated.
|
|
832
|
+
* @ignore
|
|
850
833
|
*/
|
|
851
|
-
|
|
834
|
+
setIncludesLast(value: boolean): void;
|
|
852
835
|
/**
|
|
853
|
-
*
|
|
854
|
-
* This listener is active globally on the window during a resize operation via @HostListener.
|
|
855
|
-
* Calculates and applies the new dimensions to the element based on mouse movement.
|
|
856
|
-
* @param {MouseEvent} event - The mousemove event passed by the HostListener.
|
|
836
|
+
* @ignore
|
|
857
837
|
*/
|
|
858
|
-
|
|
838
|
+
markRowAsCreated(guiRowId: number): void;
|
|
859
839
|
/**
|
|
860
|
-
*
|
|
861
|
-
* Resets the resizing state flags. Triggered globally via @HostListener.
|
|
840
|
+
* @ignore
|
|
862
841
|
*/
|
|
863
|
-
|
|
864
|
-
getOverlayProps(): MagicModalInterface;
|
|
865
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainer, never>;
|
|
866
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainer, "app-magic-overlay-container", never, { "ModalComp": { "alias": "ModalComp"; "required": false; }; "ModalCompParameters": { "alias": "ModalCompParameters"; "required": false; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
declare class OverlayContainerMagicProvider {
|
|
870
|
-
getComponent(): typeof MagicOverlayContainer;
|
|
871
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainerMagicProvider, never>;
|
|
872
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainerMagicProvider>;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* Service managing alert and confirmation windows
|
|
877
|
-
* This is Magic's default provider
|
|
878
|
-
*/
|
|
879
|
-
declare class ConfirmationComponentsMagicProvider {
|
|
880
|
-
/**
|
|
881
|
-
* Return true when use default javascript alert and confirmation or return false to provide custom components
|
|
882
|
-
* @returns true is we want to use default javascript alert and confirmation
|
|
883
|
-
*/
|
|
884
|
-
showDefaultConfirmations(): boolean;
|
|
885
|
-
/**
|
|
886
|
-
* Returns component that will replace javascript alert. The component will be used only if showDefaultConfirmations = false
|
|
887
|
-
* @returns component that will replace javascript Alert
|
|
888
|
-
*/
|
|
889
|
-
getAlertComponent(): any;
|
|
890
|
-
/**
|
|
891
|
-
* Returns component that will replace javascript confirmation box. The component will be used only if showDefaultConfirmations = false
|
|
892
|
-
* @returns component that will replace javascript confirmation box
|
|
893
|
-
*/
|
|
894
|
-
getConfirmtionComponent(): any;
|
|
895
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponentsMagicProvider, never>;
|
|
896
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationComponentsMagicProvider>;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Service managing overlay windows
|
|
901
|
-
*/
|
|
902
|
-
declare class OverlayWindowService {
|
|
903
|
-
protected componentList: ComponentListMagicService;
|
|
904
|
-
protected engineMagicService: EngineMagicService;
|
|
905
|
-
private magicLazyModuleLoader;
|
|
906
|
-
private injector;
|
|
907
|
-
private overlayContainerMagicProvider;
|
|
908
|
-
private confirmationComponentsMagicProvider;
|
|
909
|
-
constructor(componentList: ComponentListMagicService, engineMagicService: EngineMagicService, magicLazyModuleLoader: MagicLazyLoaderService, injector: Injector, overlayContainerMagicProvider: OverlayContainerMagicProvider, confirmationComponentsMagicProvider: ConfirmationComponentsMagicProvider);
|
|
910
|
-
private overlayWindowsContainerViewRef;
|
|
911
|
-
private overlayWindowFocusManager;
|
|
912
|
-
private changeDetectorRef;
|
|
913
|
-
init(overlayWindowsContainerViewRef: ViewContainerRef, rootMagicElement: Element, changeDetectorRef: ChangeDetectorRef): void;
|
|
914
|
-
loadAndOpenModule(formName: string, taskId: string, taskDescription: string): void;
|
|
915
|
-
open(formName: string, taskId: string, taskDescription: string): void;
|
|
916
|
-
close(commandStr: string): void;
|
|
917
|
-
/**
|
|
918
|
-
* Open Confirmation box
|
|
919
|
-
* @param title title of the box
|
|
920
|
-
* @param msg message
|
|
921
|
-
* @param style Magic style
|
|
922
|
-
*/
|
|
923
|
-
openConfirmationBox(title: string, msg: string, style: Styles): void;
|
|
924
|
-
/**
|
|
925
|
-
* This method is called on close of the confirmation
|
|
926
|
-
* @param style Magic style
|
|
927
|
-
* @param result
|
|
928
|
-
*/
|
|
929
|
-
finishConfirmation(style: Styles, result: boolean): void;
|
|
930
|
-
/**
|
|
931
|
-
* creates a modal component. Can be used for overlay, message box or confirmation box
|
|
932
|
-
* @param parameters component's parameters
|
|
933
|
-
* @param component components to create
|
|
934
|
-
*/
|
|
935
|
-
private createModalComponent;
|
|
936
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayWindowService, never>;
|
|
937
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayWindowService>;
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Main service to connect the UI with the Magic WebCLient
|
|
942
|
-
*/
|
|
943
|
-
declare class TaskMagicService {
|
|
944
|
-
protected magic: EngineMagicService;
|
|
945
|
-
private overlayWindowService;
|
|
946
|
-
/**
|
|
947
|
-
* Service to provide table-related functionalities
|
|
948
|
-
*/
|
|
949
|
-
tableService: any;
|
|
950
|
-
/**
|
|
951
|
-
* Collection of data for all controls
|
|
952
|
-
*/
|
|
953
|
-
Records: any;
|
|
954
|
-
/**
|
|
955
|
-
* FormGroup collection for line mode
|
|
956
|
-
*/
|
|
957
|
-
formGroups: Array<FormGroup>;
|
|
958
|
-
/**
|
|
959
|
-
* FormGroup for all controls in screen mode
|
|
960
|
-
*/
|
|
961
|
-
ScreenModeControls: FormGroup;
|
|
962
|
-
/**
|
|
963
|
-
* @ignore
|
|
964
|
-
*/
|
|
965
|
-
refreshDom: Subject<GuiCommand>;
|
|
966
|
-
/**
|
|
967
|
-
* @ignore
|
|
968
|
-
*/
|
|
969
|
-
subscribeRefreshDom: Subscription;
|
|
970
|
-
/**
|
|
971
|
-
* @ignore
|
|
972
|
-
*/
|
|
973
|
-
detectChanges: Subject<any>;
|
|
974
|
-
/**
|
|
975
|
-
* @ignore
|
|
976
|
-
*/
|
|
977
|
-
subscribeInteractiveCommands: Subscription;
|
|
978
|
-
/**
|
|
979
|
-
* @ignore
|
|
980
|
-
*/
|
|
981
|
-
interactiveCommands: Subject<GuiInteractive>;
|
|
982
|
-
/**
|
|
983
|
-
* @ignore
|
|
984
|
-
* This event is emitted when the selected row in a table changes.
|
|
985
|
-
*/
|
|
986
|
-
OnSelectedRowChanged: EventEmitter<string>;
|
|
987
|
-
/**
|
|
988
|
-
* @ignore
|
|
989
|
-
*/
|
|
990
|
-
customPropertiesSubject: Subject<any>;
|
|
991
|
-
/**
|
|
992
|
-
* @ignore
|
|
993
|
-
*/
|
|
994
|
-
recordsCountChangeSubject: Subject<any>;
|
|
995
|
-
mgLoadSubject: Subject<any>;
|
|
996
|
-
/**
|
|
997
|
-
* @ignore
|
|
998
|
-
*/
|
|
999
|
-
template: {
|
|
1000
|
-
[id: string]: string;
|
|
1001
|
-
};
|
|
1002
|
-
/**
|
|
1003
|
-
* Service to provide subform-related functionalities
|
|
1004
|
-
*/
|
|
1005
|
-
mgSubformService: SubformMagicService;
|
|
1006
|
-
/**
|
|
1007
|
-
* Service to provide the title-change functionality
|
|
1008
|
-
*/
|
|
1009
|
-
mgTitleService: TitleMagicService;
|
|
1010
|
-
/**
|
|
1011
|
-
* Service which enables getting/setting values from/to the Magic WebClient engine
|
|
1012
|
-
*/
|
|
1013
|
-
mgAccessorService: AccessorMagicService;
|
|
1014
|
-
mgInputDateFormat: any;
|
|
1015
|
-
/**
|
|
1016
|
-
* @ignore
|
|
1017
|
-
*/
|
|
1018
|
-
oldPageSize: number;
|
|
1019
|
-
/**
|
|
1020
|
-
*
|
|
1021
|
-
* @param magic
|
|
1022
|
-
*/
|
|
1023
|
-
constructor(magic: EngineMagicService, overlayWindowService: OverlayWindowService);
|
|
1024
|
-
/**
|
|
1025
|
-
* returns true if used is logged in
|
|
1026
|
-
* @returns
|
|
1027
|
-
*/
|
|
1028
|
-
getIsLoggenIn(): boolean;
|
|
1029
|
-
/**
|
|
1030
|
-
* Id of task to which this service refers
|
|
1031
|
-
*/
|
|
1032
|
-
_taskId: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* returns the task Id
|
|
1035
|
-
* @returns
|
|
1036
|
-
*/
|
|
1037
|
-
get taskId(): string;
|
|
1038
|
-
/**
|
|
1039
|
-
* Sets the task Id
|
|
1040
|
-
* @param value the task id to set
|
|
1041
|
-
*/
|
|
1042
|
-
set taskId(value: string);
|
|
1043
|
-
/**
|
|
1044
|
-
* Returns the task's data in Screen mode
|
|
1045
|
-
* @returns
|
|
1046
|
-
*/
|
|
1047
|
-
get ScreenControlsData(): any;
|
|
1048
|
-
/**
|
|
1049
|
-
* @ignore
|
|
1050
|
-
*/
|
|
1051
|
-
settemplate(value: any): void;
|
|
1052
|
-
/**
|
|
1053
|
-
* Builds the FormControl for each and every control
|
|
1054
|
-
*/
|
|
1055
|
-
buildScreenModeControls(): void;
|
|
1056
|
-
/**
|
|
1057
|
-
* Is the control a table control
|
|
1058
|
-
* @param id Id of the control
|
|
1059
|
-
* @returns
|
|
1060
|
-
*/
|
|
1061
|
-
isTableControl(id: string): boolean;
|
|
1062
|
-
getMgInputDateFormat(): string;
|
|
1063
|
-
/**
|
|
1064
|
-
* Returns the FormControl of a control
|
|
1065
|
-
* @param guiRowid Id of the requested row
|
|
1066
|
-
* @param id Id of the control
|
|
1067
|
-
* @returns
|
|
1068
|
-
*/
|
|
1069
|
-
getFormControl(guiRowid: string, id: string): AbstractControl;
|
|
1070
|
-
/**
|
|
1071
|
-
* handle the change of text for input control inside table
|
|
1072
|
-
* @param guiRowId Id of the row for which the FormControls are built
|
|
1073
|
-
* set the new value of the formcontrol
|
|
1074
|
-
*/
|
|
1075
|
-
setInputTextValue(controlId: string, guiRowid: string, val: any): void;
|
|
1076
|
-
/**
|
|
1077
|
-
* Build the FormControls for a table row
|
|
1078
|
-
* @param guiRowId Id of the row for which the FormControls are built
|
|
1079
|
-
*/
|
|
1080
|
-
buildTableRowControls(guiRowId: number): void;
|
|
1081
|
-
/**
|
|
1082
|
-
*
|
|
1083
|
-
* @ignore
|
|
1084
|
-
*/
|
|
1085
|
-
updateRecordsBeforeCurrentView(value: number): void;
|
|
1086
|
-
/**
|
|
1087
|
-
* @ignore
|
|
1088
|
-
*/
|
|
1089
|
-
setIncludesFirst(value: boolean): void;
|
|
1090
|
-
/**
|
|
1091
|
-
* @ignore
|
|
1092
|
-
*/
|
|
1093
|
-
setIncludesLast(value: boolean): void;
|
|
1094
|
-
/**
|
|
1095
|
-
* @ignore
|
|
1096
|
-
*/
|
|
1097
|
-
markRowAsCreated(guiRowId: number): void;
|
|
1098
|
-
/**
|
|
1099
|
-
* @ignore
|
|
1100
|
-
*/
|
|
1101
|
-
markRowAsNotCreated(guiRowId: number): void;
|
|
842
|
+
markRowAsNotCreated(guiRowId: number): void;
|
|
1102
843
|
/**
|
|
1103
844
|
* @ignore
|
|
1104
845
|
*/
|
|
@@ -1336,16 +1077,11 @@ declare class TaskMagicService {
|
|
|
1336
1077
|
* Implements various table-related functionalities
|
|
1337
1078
|
*/
|
|
1338
1079
|
declare class TableMagicService {
|
|
1339
|
-
protected componentList: ComponentListMagicService;
|
|
1340
|
-
protected task: TaskMagicService;
|
|
1341
1080
|
selectedItem: any;
|
|
1342
1081
|
private chunkSize;
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
* @param task Magic task service
|
|
1347
|
-
*/
|
|
1348
|
-
constructor(componentList: ComponentListMagicService, task: TaskMagicService);
|
|
1082
|
+
protected componentList: ComponentListMagicService;
|
|
1083
|
+
protected task: TaskMagicService;
|
|
1084
|
+
constructor();
|
|
1349
1085
|
shouldOpenFieldTextEditor: boolean;
|
|
1350
1086
|
/**
|
|
1351
1087
|
* Refreshes the DataSource
|
|
@@ -1428,7 +1164,7 @@ declare class MagicServices {
|
|
|
1428
1164
|
/**
|
|
1429
1165
|
* @ignore
|
|
1430
1166
|
*/
|
|
1431
|
-
constructor(
|
|
1167
|
+
constructor();
|
|
1432
1168
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicServices, never>;
|
|
1433
1169
|
static ɵprov: i0.ɵɵInjectableDeclaration<MagicServices>;
|
|
1434
1170
|
}
|
|
@@ -1437,8 +1173,6 @@ declare class MagicServices {
|
|
|
1437
1173
|
* Base component representing a Magic task
|
|
1438
1174
|
*/
|
|
1439
1175
|
declare class TaskBaseMagicComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
1440
|
-
protected ref: ChangeDetectorRef;
|
|
1441
|
-
magicServices: MagicServices;
|
|
1442
1176
|
/**
|
|
1443
1177
|
* Id of task, used for initializing the task service
|
|
1444
1178
|
*/
|
|
@@ -1451,12 +1185,24 @@ declare class TaskBaseMagicComponent implements OnInit, OnDestroy, AfterViewInit
|
|
|
1451
1185
|
* @ignore
|
|
1452
1186
|
*/
|
|
1453
1187
|
magicProperties: typeof MagicProperties;
|
|
1188
|
+
/**
|
|
1189
|
+
* @ignore
|
|
1190
|
+
* Injected as fields rather than constructor parameters, so that the constructor
|
|
1191
|
+
* signature of this base class - which every generated component inherits - is unchanged.
|
|
1192
|
+
*/
|
|
1193
|
+
private readonly magicChangeDetection;
|
|
1194
|
+
/**
|
|
1195
|
+
* @ignore
|
|
1196
|
+
*/
|
|
1197
|
+
private readonly destroyRef;
|
|
1198
|
+
protected ref: ChangeDetectorRef;
|
|
1199
|
+
magicServices: MagicServices;
|
|
1454
1200
|
/**
|
|
1455
1201
|
*
|
|
1456
1202
|
* @param ref changes-detector object
|
|
1457
1203
|
* @param magicServices Access point for all Magic services
|
|
1458
1204
|
*/
|
|
1459
|
-
constructor(
|
|
1205
|
+
constructor();
|
|
1460
1206
|
/**
|
|
1461
1207
|
* Returns the Magic task service
|
|
1462
1208
|
* @returns
|
|
@@ -1541,8 +1287,6 @@ declare class TaskBaseMagicComponent implements OnInit, OnDestroy, AfterViewInit
|
|
|
1541
1287
|
* @ignore
|
|
1542
1288
|
*/
|
|
1543
1289
|
declare class RowMagicDirective implements OnInit, OnDestroy {
|
|
1544
|
-
protected _task: TaskMagicService;
|
|
1545
|
-
protected element: ElementRef;
|
|
1546
1290
|
rowId: string;
|
|
1547
1291
|
/**
|
|
1548
1292
|
* The HTML element connected to this directive
|
|
@@ -1552,7 +1296,9 @@ declare class RowMagicDirective implements OnInit, OnDestroy {
|
|
|
1552
1296
|
* @ignore
|
|
1553
1297
|
*/
|
|
1554
1298
|
private rowChangedSubscriber;
|
|
1555
|
-
|
|
1299
|
+
protected _task: TaskMagicService;
|
|
1300
|
+
protected element: ElementRef;
|
|
1301
|
+
constructor();
|
|
1556
1302
|
/**
|
|
1557
1303
|
* Initializes this object
|
|
1558
1304
|
*/
|
|
@@ -1571,12 +1317,6 @@ declare class RowMagicDirective implements OnInit, OnDestroy {
|
|
|
1571
1317
|
* Connects HTML elements to the Magic Web Client engine
|
|
1572
1318
|
*/
|
|
1573
1319
|
declare class MagicDirective implements OnInit, OnDestroy {
|
|
1574
|
-
protected _task: TaskMagicService;
|
|
1575
|
-
protected element: ElementRef;
|
|
1576
|
-
protected renderer: Renderer2;
|
|
1577
|
-
protected vcRef: ViewContainerRef;
|
|
1578
|
-
platform: Platform;
|
|
1579
|
-
protected magicRow: RowMagicDirective;
|
|
1580
1320
|
set magic(val: any);
|
|
1581
1321
|
/**
|
|
1582
1322
|
* This flag is used when we only want to register to events, but do not want to execute commands sent from server
|
|
@@ -1631,12 +1371,18 @@ declare class MagicDirective implements OnInit, OnDestroy {
|
|
|
1631
1371
|
* @param platform
|
|
1632
1372
|
* @param magicRow
|
|
1633
1373
|
*/
|
|
1634
|
-
constructor(
|
|
1374
|
+
constructor();
|
|
1635
1375
|
/**
|
|
1636
1376
|
* Get the task service
|
|
1637
1377
|
* @returns
|
|
1638
1378
|
*/
|
|
1639
1379
|
get task(): TaskMagicService;
|
|
1380
|
+
protected _task: TaskMagicService;
|
|
1381
|
+
protected element: ElementRef;
|
|
1382
|
+
protected renderer: Renderer2;
|
|
1383
|
+
protected vcRef: ViewContainerRef;
|
|
1384
|
+
platform: Platform;
|
|
1385
|
+
protected magicRow: RowMagicDirective;
|
|
1640
1386
|
/**
|
|
1641
1387
|
* Register to the events this element may need to handle
|
|
1642
1388
|
*/
|
|
@@ -1683,7 +1429,7 @@ declare class MagicDirective implements OnInit, OnDestroy {
|
|
|
1683
1429
|
* Cleanup
|
|
1684
1430
|
*/
|
|
1685
1431
|
ngOnDestroy(): void;
|
|
1686
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicDirective,
|
|
1432
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicDirective, never>;
|
|
1687
1433
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDirective, "[magic]", never, { "magic": { "alias": "magic"; "required": false; }; "eventsOnly": { "alias": "eventsOnly"; "required": false; }; "pollTime": { "alias": "pollTime"; "required": false; }; "rowId": { "alias": "rowId"; "required": false; }; }, {}, never, never, false, never>;
|
|
1688
1434
|
}
|
|
1689
1435
|
|
|
@@ -1691,16 +1437,13 @@ declare class MagicDirective implements OnInit, OnDestroy {
|
|
|
1691
1437
|
* Directive for checkboxes, to handle the 'change' event
|
|
1692
1438
|
*/
|
|
1693
1439
|
declare class CheckboxMagicDirective {
|
|
1440
|
+
threeState: i0.InputSignal<boolean>;
|
|
1441
|
+
private subscribeRefreshDom;
|
|
1442
|
+
private isIndeterminate;
|
|
1694
1443
|
protected magicDirective: MagicDirective;
|
|
1695
1444
|
private el;
|
|
1696
1445
|
protected task: TaskMagicService;
|
|
1697
|
-
|
|
1698
|
-
private subscribeRefreshDom;
|
|
1699
|
-
private isIndeterminate;
|
|
1700
|
-
/**
|
|
1701
|
-
* @ignore
|
|
1702
|
-
*/
|
|
1703
|
-
constructor(magicDirective: MagicDirective, el: ElementRef, task: TaskMagicService);
|
|
1446
|
+
constructor();
|
|
1704
1447
|
/**
|
|
1705
1448
|
* Handles the Checkbox 'change' event - pass it to the Magic engine
|
|
1706
1449
|
*/
|
|
@@ -1714,7 +1457,7 @@ declare class CheckboxMagicDirective {
|
|
|
1714
1457
|
*/
|
|
1715
1458
|
ngOnDestroy(): void;
|
|
1716
1459
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxMagicDirective, never>;
|
|
1717
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxMagicDirective, " input[type=checkbox][magic]:not([noFormControl])", never, { "threeState": { "alias": "threeState"; "required": false; }; }, {}, never, never, false, never>;
|
|
1460
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxMagicDirective, " input[type=checkbox][magic]:not([noFormControl])", never, { "threeState": { "alias": "threeState"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
1718
1461
|
}
|
|
1719
1462
|
|
|
1720
1463
|
/**
|
|
@@ -1722,7 +1465,7 @@ declare class CheckboxMagicDirective {
|
|
|
1722
1465
|
*/
|
|
1723
1466
|
declare class CheckboxNoFormControlMagicDirective {
|
|
1724
1467
|
protected magicDirective: MagicDirective;
|
|
1725
|
-
constructor(
|
|
1468
|
+
constructor();
|
|
1726
1469
|
/**
|
|
1727
1470
|
* Handle the 'Checkbox' change event - pass it to the Magic engine
|
|
1728
1471
|
*/
|
|
@@ -1736,87 +1479,269 @@ declare class CheckboxNoFormControlMagicDirective {
|
|
|
1736
1479
|
*/
|
|
1737
1480
|
declare class InputNoFormControlMagicDirective {
|
|
1738
1481
|
protected magicDirective: MagicDirective;
|
|
1739
|
-
constructor(
|
|
1482
|
+
constructor();
|
|
1483
|
+
/**
|
|
1484
|
+
* Handles the 'change' event - pass it to the Magic engine
|
|
1485
|
+
*/
|
|
1486
|
+
onChange($event: any): void;
|
|
1487
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputNoFormControlMagicDirective, never>;
|
|
1488
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InputNoFormControlMagicDirective, "input[magic]:([noFormControl]):not([type=checkbox]), textarea[magic]:([noFormControl]):not([type=checkbox])", never, {}, {}, never, never, false, never>;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Directive for comboboxes, to handle the 'change' event
|
|
1493
|
+
*/
|
|
1494
|
+
declare class ComboboxMagicDirective {
|
|
1495
|
+
protected magicDirective: MagicDirective;
|
|
1496
|
+
constructor();
|
|
1497
|
+
/**
|
|
1498
|
+
* Handles the Combobox 'change' event - pass it to the Magic engine
|
|
1499
|
+
*/
|
|
1500
|
+
onChange($event: any): void;
|
|
1501
|
+
/**
|
|
1502
|
+
* To refresh Combobox selection as per selected property.
|
|
1503
|
+
*/
|
|
1504
|
+
onComboboxItemsListChanged(): void;
|
|
1505
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComboboxMagicDirective, never>;
|
|
1506
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComboboxMagicDirective, "select[magic]:not([multiple])", never, {}, {}, never, never, false, never>;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* @ignore
|
|
1511
|
+
*/
|
|
1512
|
+
declare const CHECKBOX_VALUE_ACCESSOR: any;
|
|
1513
|
+
/**
|
|
1514
|
+
* Value accessor for Checkbox without a FormControl
|
|
1515
|
+
*/
|
|
1516
|
+
declare class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
|
|
1517
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicCheckboxControlValueAccessor, never>;
|
|
1518
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicCheckboxControlValueAccessor, " input[type=checkbox][magic]:not([formControlName]):not([no-form-control]), input[type=checkbox][magic]:not([formControl]), input[type=checkbox][magic]:not([ngModel]) ", never, {}, {}, never, never, false, never>;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* @ignore
|
|
1523
|
+
*/
|
|
1524
|
+
declare const MAGIC_DEFAULT_VALUE_ACCESSOR: any;
|
|
1525
|
+
/**
|
|
1526
|
+
* @ignore
|
|
1527
|
+
*/
|
|
1528
|
+
declare class MagicDefaultValueAccessor extends DefaultValueAccessor {
|
|
1529
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicDefaultValueAccessor, never>;
|
|
1530
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDefaultValueAccessor, " input[magic]:not([type=checkbox]):not([formControlName]):not([no-form-control]), textarea[magic]:not([formControlName]):not([noFormControl]):not([no-form-control]) ", ["magic"], {}, {}, never, never, false, never>;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
declare const DATE_VALUE_ACCESSOR: any;
|
|
1534
|
+
/**
|
|
1535
|
+
* The accessor for writing a value and listening to changes on a date input element
|
|
1536
|
+
*
|
|
1537
|
+
* ### Example
|
|
1538
|
+
* `<input type="date" name="birthday" ngModel dateInput>`
|
|
1539
|
+
* OR
|
|
1540
|
+
* `<input type="date" formControlName="birthday" dateInput>`
|
|
1541
|
+
*/
|
|
1542
|
+
declare class DateValueAccessor implements ControlValueAccessor {
|
|
1543
|
+
onChange: (_: any) => void;
|
|
1544
|
+
onTouched: () => void;
|
|
1545
|
+
onBlurEvent(event: any): void;
|
|
1546
|
+
private renderer;
|
|
1547
|
+
private elementRef;
|
|
1548
|
+
protected magicDir: MagicDirective;
|
|
1549
|
+
protected _task: TaskMagicService;
|
|
1550
|
+
constructor();
|
|
1551
|
+
/** Format year, if user enters 2 digits instead of 4 digits as per the century given in Magic.ini file */
|
|
1552
|
+
formatDateWithCentury(userInput: string, century: number, control: AbstractControl): void;
|
|
1553
|
+
/** Writes a new value to the element (model -> view) */
|
|
1554
|
+
writeValue(value: Date): void;
|
|
1555
|
+
/** Registers a callback function, called when value changes (view -> model) */
|
|
1556
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
1557
|
+
/** Registers a callback function, called when the control is blurred */
|
|
1558
|
+
registerOnTouched(fn: () => void): void;
|
|
1559
|
+
/** Enables or disables the element when the control status changes */
|
|
1560
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1561
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor, never>;
|
|
1562
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "[dateInput]", never, {}, {}, never, never, false, never>;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Describes the behavior of a modal window
|
|
1567
|
+
*/
|
|
1568
|
+
interface MagicModalInterface {
|
|
1569
|
+
/**
|
|
1570
|
+
* Returns the X coordinate of the modal window
|
|
1571
|
+
*/
|
|
1572
|
+
X(): any;
|
|
1573
|
+
/**
|
|
1574
|
+
* Returns the Y coordinate of the modal window
|
|
1575
|
+
*/
|
|
1576
|
+
Y(): any;
|
|
1577
|
+
/**
|
|
1578
|
+
* Returns the width of modal window
|
|
1579
|
+
*/
|
|
1580
|
+
Width(): string;
|
|
1581
|
+
/**
|
|
1582
|
+
* Returns the height of modal window
|
|
1583
|
+
*/
|
|
1584
|
+
Height(): string;
|
|
1585
|
+
/**
|
|
1586
|
+
* Is the modal window centered relatively to the main window
|
|
1587
|
+
*/
|
|
1588
|
+
IsCenteredToWindow(): any;
|
|
1589
|
+
/**
|
|
1590
|
+
* Returns the name of the form - title of the modal window
|
|
1591
|
+
*/
|
|
1592
|
+
FormName(): any;
|
|
1593
|
+
/**
|
|
1594
|
+
* Should the title bar be displayed
|
|
1595
|
+
*/
|
|
1596
|
+
ShowTitleBar(): any;
|
|
1597
|
+
/**
|
|
1598
|
+
* Should the modal window close when the user clicks on the background
|
|
1599
|
+
*/
|
|
1600
|
+
ShouldCloseOnBackgroundClick(): any;
|
|
1601
|
+
/**
|
|
1602
|
+
* Is overlay window resizable
|
|
1603
|
+
*/
|
|
1604
|
+
IsResizable(): any;
|
|
1605
|
+
/**
|
|
1606
|
+
* Is overlay window movable
|
|
1607
|
+
*/
|
|
1608
|
+
IsMovable(): any;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* Abstract base for Magic overlay container components.
|
|
1613
|
+
* Concrete classes must implement these members using Angular signal APIs (input/output).
|
|
1614
|
+
* The class is kept as an abstract class (not an interface) so that instanceof checks
|
|
1615
|
+
* in MagicOverlayContainerWrapper continue to work at runtime.
|
|
1616
|
+
*/
|
|
1617
|
+
declare abstract class BaseMagicOverlayContainer {
|
|
1618
|
+
/**
|
|
1619
|
+
* The component class to render inside the overlay
|
|
1620
|
+
*/
|
|
1621
|
+
abstract ModalComp: any;
|
|
1622
|
+
/**
|
|
1623
|
+
* Parameters to pass to the rendered component
|
|
1624
|
+
*/
|
|
1625
|
+
abstract ModalCompParameters: any;
|
|
1626
|
+
/**
|
|
1627
|
+
* Output event emitted when the overlay is closed
|
|
1628
|
+
*/
|
|
1629
|
+
abstract onClose: any;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* Creates a modal window for Magic modal window components
|
|
1634
|
+
*/
|
|
1635
|
+
declare class MagicOverlayContainer extends BaseMagicOverlayContainer implements OnInit, AfterViewInit, IMagicViewContainerRef {
|
|
1636
|
+
/**
|
|
1637
|
+
* HTML to be displayed in the modal window
|
|
1638
|
+
*/
|
|
1639
|
+
modalbodyViewContainerRef: ViewContainerRef;
|
|
1640
|
+
/**
|
|
1641
|
+
* Header of the modal window
|
|
1642
|
+
*/
|
|
1643
|
+
headerElementRef: ElementRef;
|
|
1644
|
+
/**
|
|
1645
|
+
* Foreground of the modal window
|
|
1646
|
+
*/
|
|
1647
|
+
foregroundElementRef: ElementRef;
|
|
1648
|
+
/**
|
|
1649
|
+
*
|
|
1650
|
+
*/
|
|
1651
|
+
ModalComp: any;
|
|
1652
|
+
/**
|
|
1653
|
+
*
|
|
1654
|
+
*/
|
|
1655
|
+
ModalCompParameters: any;
|
|
1656
|
+
onClose: EventEmitter<void>;
|
|
1657
|
+
/**
|
|
1658
|
+
*
|
|
1659
|
+
*/
|
|
1660
|
+
private componentRef;
|
|
1661
|
+
private resizing;
|
|
1662
|
+
private resizeDirection;
|
|
1663
|
+
private originalWidth;
|
|
1664
|
+
private originalHeight;
|
|
1665
|
+
private originalMouseX;
|
|
1666
|
+
private originalMouseY;
|
|
1667
|
+
private isCenteredToWindow;
|
|
1668
|
+
private static readonly minAllowedWidth;
|
|
1669
|
+
private static readonly minAllowedHeight;
|
|
1670
|
+
private _isRtl;
|
|
1671
|
+
/**
|
|
1672
|
+
*
|
|
1673
|
+
*/
|
|
1674
|
+
constructor();
|
|
1675
|
+
/**
|
|
1676
|
+
*
|
|
1677
|
+
*/
|
|
1678
|
+
ngOnInit(): void;
|
|
1679
|
+
ngAfterViewInit(): void;
|
|
1680
|
+
setViewContainerRef(vcRef: ViewContainerRef): void;
|
|
1681
|
+
/**
|
|
1682
|
+
* Returns the form name
|
|
1683
|
+
* @returns
|
|
1684
|
+
*/
|
|
1685
|
+
getText(): any;
|
|
1686
|
+
/**
|
|
1687
|
+
* Returns boolean to indicate whether the text direction is right-to-left (RTL)
|
|
1688
|
+
*/
|
|
1689
|
+
get isRtl(): boolean;
|
|
1690
|
+
/**
|
|
1691
|
+
* Returns CSS styles for the window
|
|
1692
|
+
* @returns
|
|
1693
|
+
*/
|
|
1694
|
+
getStyle(): {};
|
|
1695
|
+
/**
|
|
1696
|
+
* Returns the CSS styles for the client area
|
|
1697
|
+
* @returns
|
|
1698
|
+
*/
|
|
1699
|
+
getClientAreaStyles(): {};
|
|
1700
|
+
/**
|
|
1701
|
+
* Should the title bar be displayed
|
|
1702
|
+
* @returns
|
|
1703
|
+
*/
|
|
1704
|
+
getShowTitleBar(): any;
|
|
1705
|
+
/**
|
|
1706
|
+
*
|
|
1707
|
+
*/
|
|
1708
|
+
OnClose(): void;
|
|
1709
|
+
/**
|
|
1710
|
+
* Handles click in the background window
|
|
1711
|
+
*/
|
|
1712
|
+
OnBackgroundClick(): void;
|
|
1713
|
+
/**
|
|
1714
|
+
* Checks if the overlay component allows to be resized.
|
|
1715
|
+
* @returns {boolean} True if the overlay is resizable, false otherwise.
|
|
1716
|
+
*/
|
|
1717
|
+
IsResizable(): any;
|
|
1718
|
+
/**
|
|
1719
|
+
* Checks if the overlay component allows to be moved (dragged).
|
|
1720
|
+
* @returns {boolean} True if the overlay is movable, false otherwise.
|
|
1721
|
+
*/
|
|
1722
|
+
IsMovable(): any;
|
|
1740
1723
|
/**
|
|
1741
|
-
*
|
|
1724
|
+
* Initiates the resize process when a mousedown event occurs on a resize handle.
|
|
1725
|
+
* Stores the initial state (dimensions, mouse position) and sets flags.
|
|
1726
|
+
* @param {MouseEvent} event - The mousedown event triggering the resize.
|
|
1727
|
+
* @param {'right' | 'bottom' | 'corner'} direction - Indicates which resize handle was activated.
|
|
1742
1728
|
*/
|
|
1743
|
-
|
|
1744
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputNoFormControlMagicDirective, never>;
|
|
1745
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<InputNoFormControlMagicDirective, "input[magic]:([noFormControl]):not([type=checkbox]), textarea[magic]:([noFormControl]):not([type=checkbox])", never, {}, {}, never, never, false, never>;
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
/**
|
|
1749
|
-
* Directive for comboboxes, to handle the 'change' event
|
|
1750
|
-
*/
|
|
1751
|
-
declare class ComboboxMagicDirective {
|
|
1752
|
-
protected magicDirective: MagicDirective;
|
|
1753
|
-
constructor(magicDirective: MagicDirective);
|
|
1729
|
+
onResizeStart(event: MouseEvent, direction: 'right' | 'left' | 'bottom' | 'corner'): void;
|
|
1754
1730
|
/**
|
|
1755
|
-
* Handles the
|
|
1731
|
+
* Handles the resizing logic as the mouse moves across the window.
|
|
1732
|
+
* This listener is active globally on the window during a resize operation via @HostListener.
|
|
1733
|
+
* Calculates and applies the new dimensions to the element based on mouse movement.
|
|
1734
|
+
* @param {MouseEvent} event - The mousemove event passed by the HostListener.
|
|
1756
1735
|
*/
|
|
1757
|
-
|
|
1736
|
+
onResize(event: MouseEvent): void;
|
|
1758
1737
|
/**
|
|
1759
|
-
*
|
|
1738
|
+
* Finalizes the resize operation when the mouse button is released anywhere on the window.
|
|
1739
|
+
* Resets the resizing state flags. Triggered globally via @HostListener.
|
|
1760
1740
|
*/
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
static
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
/**
|
|
1767
|
-
* @ignore
|
|
1768
|
-
*/
|
|
1769
|
-
declare const CHECKBOX_VALUE_ACCESSOR: any;
|
|
1770
|
-
/**
|
|
1771
|
-
* Value accessor for Checkbox without a FormControl
|
|
1772
|
-
*/
|
|
1773
|
-
declare class MagicCheckboxControlValueAccessor extends CheckboxControlValueAccessor {
|
|
1774
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicCheckboxControlValueAccessor, never>;
|
|
1775
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicCheckboxControlValueAccessor, " input[type=checkbox][magic]:not([formControlName]):not([no-form-control]), input[type=checkbox][magic]:not([formControl]), input[type=checkbox][magic]:not([ngModel]) ", never, {}, {}, never, never, false, never>;
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* @ignore
|
|
1780
|
-
*/
|
|
1781
|
-
declare const MAGIC_DEFAULT_VALUE_ACCESSOR: any;
|
|
1782
|
-
/**
|
|
1783
|
-
* @ignore
|
|
1784
|
-
*/
|
|
1785
|
-
declare class MagicDefaultValueAccessor extends DefaultValueAccessor {
|
|
1786
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicDefaultValueAccessor, never>;
|
|
1787
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicDefaultValueAccessor, " input[magic]:not([type=checkbox]):not([formControlName]):not([no-form-control]), textarea[magic]:not([formControlName]):not([noFormControl]):not([no-form-control]) ", ["magic"], {}, {}, never, never, false, never>;
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
|
-
declare const DATE_VALUE_ACCESSOR: any;
|
|
1791
|
-
/**
|
|
1792
|
-
* The accessor for writing a value and listening to changes on a date input element
|
|
1793
|
-
*
|
|
1794
|
-
* ### Example
|
|
1795
|
-
* `<input type="date" name="birthday" ngModel dateInput>`
|
|
1796
|
-
* OR
|
|
1797
|
-
* `<input type="date" formControlName="birthday" dateInput>`
|
|
1798
|
-
*/
|
|
1799
|
-
declare class DateValueAccessor implements ControlValueAccessor {
|
|
1800
|
-
private renderer;
|
|
1801
|
-
private elementRef;
|
|
1802
|
-
protected magicDir: MagicDirective;
|
|
1803
|
-
protected _task: TaskMagicService;
|
|
1804
|
-
onChange: (_: any) => void;
|
|
1805
|
-
onTouched: () => void;
|
|
1806
|
-
onBlurEvent(event: any): void;
|
|
1807
|
-
constructor(renderer: Renderer2, elementRef: ElementRef, magicDir: MagicDirective, _task: TaskMagicService);
|
|
1808
|
-
/** Format year, if user enters 2 digits instead of 4 digits as per the century given in Magic.ini file */
|
|
1809
|
-
formatDateWithCentury(userInput: string, century: number, control: AbstractControl): void;
|
|
1810
|
-
/** Writes a new value to the element (model -> view) */
|
|
1811
|
-
writeValue(value: Date): void;
|
|
1812
|
-
/** Registers a callback function, called when value changes (view -> model) */
|
|
1813
|
-
registerOnChange(fn: (_: any) => void): void;
|
|
1814
|
-
/** Registers a callback function, called when the control is blurred */
|
|
1815
|
-
registerOnTouched(fn: () => void): void;
|
|
1816
|
-
/** Enables or disables the element when the control status changes */
|
|
1817
|
-
setDisabledState(isDisabled: boolean): void;
|
|
1818
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessor, never>;
|
|
1819
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessor, "[dateInput]", never, {}, {}, never, never, false, never>;
|
|
1741
|
+
onResizeEnd(): void;
|
|
1742
|
+
getOverlayProps(): MagicModalInterface;
|
|
1743
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainer, never>;
|
|
1744
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainer, "app-magic-overlay-container", never, { "ModalComp": { "alias": "ModalComp"; "required": false; }; "ModalCompParameters": { "alias": "ModalCompParameters"; "required": false; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
|
1820
1745
|
}
|
|
1821
1746
|
|
|
1822
1747
|
/**
|
|
@@ -1826,22 +1751,22 @@ declare class BaseMagicAlertComponent {
|
|
|
1826
1751
|
/**
|
|
1827
1752
|
* title of the component
|
|
1828
1753
|
*/
|
|
1829
|
-
title: string
|
|
1754
|
+
title: i0.InputSignal<string>;
|
|
1830
1755
|
/**
|
|
1831
1756
|
* message of the component
|
|
1832
1757
|
*/
|
|
1833
|
-
message: string
|
|
1758
|
+
message: i0.InputSignal<string>;
|
|
1834
1759
|
/**
|
|
1835
1760
|
* onClose Event - to be raised when the component is closed
|
|
1836
1761
|
|
|
1837
1762
|
*/
|
|
1838
|
-
onClose:
|
|
1763
|
+
onClose: i0.OutputEmitterRef<void>;
|
|
1839
1764
|
/**
|
|
1840
1765
|
* close magic alert
|
|
1841
1766
|
*/
|
|
1842
1767
|
OnClose(): void;
|
|
1843
1768
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseMagicAlertComponent, never>;
|
|
1844
|
-
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>;
|
|
1769
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicAlertComponent, "mg-base-alert", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
|
1845
1770
|
}
|
|
1846
1771
|
|
|
1847
1772
|
/***
|
|
@@ -1859,16 +1784,16 @@ declare class BaseMagicConfirmComponent {
|
|
|
1859
1784
|
/**
|
|
1860
1785
|
* title of the component
|
|
1861
1786
|
*/
|
|
1862
|
-
title: string
|
|
1787
|
+
title: i0.InputSignal<string>;
|
|
1863
1788
|
/**
|
|
1864
1789
|
* message of the component
|
|
1865
1790
|
*/
|
|
1866
|
-
message: string
|
|
1791
|
+
message: i0.InputSignal<string>;
|
|
1867
1792
|
/**
|
|
1868
1793
|
* onClose Event - to be raised when the component is closed
|
|
1869
1794
|
* should pass true when OK is pressed and false when cancel is pressed
|
|
1870
1795
|
*/
|
|
1871
|
-
onClose:
|
|
1796
|
+
onClose: i0.OutputEmitterRef<boolean>;
|
|
1872
1797
|
/**
|
|
1873
1798
|
* raises close Event
|
|
1874
1799
|
* @param result true when OK is pressed and false when cancel is pressed
|
|
@@ -1876,7 +1801,7 @@ declare class BaseMagicConfirmComponent {
|
|
|
1876
1801
|
*/
|
|
1877
1802
|
OnClose(result: any): void;
|
|
1878
1803
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseMagicConfirmComponent, never>;
|
|
1879
|
-
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>;
|
|
1804
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseMagicConfirmComponent, "mg-base-confirm", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
|
1880
1805
|
}
|
|
1881
1806
|
|
|
1882
1807
|
/***
|
|
@@ -1888,25 +1813,21 @@ declare class MagicConfirmationBoxComponent extends BaseMagicConfirmComponent {
|
|
|
1888
1813
|
}
|
|
1889
1814
|
|
|
1890
1815
|
declare class MagicOverlayContainerWrapper implements IMagicViewContainerRef {
|
|
1891
|
-
private componentListMagicService;
|
|
1892
|
-
private magicLazyModuleLoader;
|
|
1893
|
-
private injector;
|
|
1894
|
-
private changeDetectorRef;
|
|
1895
1816
|
/**
|
|
1896
1817
|
*
|
|
1897
1818
|
*/
|
|
1898
|
-
Component: any
|
|
1819
|
+
Component: i0.InputSignal<any>;
|
|
1899
1820
|
/**
|
|
1900
1821
|
*
|
|
1901
1822
|
*/
|
|
1902
|
-
Parameters: any
|
|
1903
|
-
|
|
1904
|
-
|
|
1823
|
+
Parameters: i0.InputSignal<any>;
|
|
1824
|
+
OverlayTypeParam: i0.InputSignal<OverlayType>;
|
|
1825
|
+
onClose: i0.OutputEmitterRef<void>;
|
|
1905
1826
|
/**
|
|
1906
1827
|
* HTML to be displayed in the modal window
|
|
1907
1828
|
*/
|
|
1908
1829
|
overlayContentViewContainerRef: ViewContainerRef;
|
|
1909
|
-
overlayContainerWrapperElementRef: ElementRef
|
|
1830
|
+
overlayContainerWrapperElementRef: i0.Signal<ElementRef<any>>;
|
|
1910
1831
|
/**
|
|
1911
1832
|
* @ignore
|
|
1912
1833
|
* contais data of allowed base components to use
|
|
@@ -1915,11 +1836,11 @@ declare class MagicOverlayContainerWrapper implements IMagicViewContainerRef {
|
|
|
1915
1836
|
comp: any;
|
|
1916
1837
|
error: string;
|
|
1917
1838
|
}>;
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
constructor(
|
|
1839
|
+
private componentListMagicService;
|
|
1840
|
+
private magicLazyModuleLoader;
|
|
1841
|
+
private injector;
|
|
1842
|
+
private changeDetectorRef;
|
|
1843
|
+
constructor();
|
|
1923
1844
|
/**
|
|
1924
1845
|
*
|
|
1925
1846
|
*/
|
|
@@ -1929,7 +1850,7 @@ declare class MagicOverlayContainerWrapper implements IMagicViewContainerRef {
|
|
|
1929
1850
|
GetRootElement(): HTMLElement;
|
|
1930
1851
|
DetectChanges(): void;
|
|
1931
1852
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainerWrapper, never>;
|
|
1932
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainerWrapper, "app-magic-overlay-container-wrapper", never, { "Component": { "alias": "Component"; "required": false; }; "Parameters": { "alias": "Parameters"; "required": false; }; "OverlayTypeParam": { "alias": "OverlayTypeParam"; "required": false; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
|
1853
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicOverlayContainerWrapper, "app-magic-overlay-container-wrapper", never, { "Component": { "alias": "Component"; "required": false; "isSignal": true; }; "Parameters": { "alias": "Parameters"; "required": false; "isSignal": true; }; "OverlayTypeParam": { "alias": "OverlayTypeParam"; "required": false; "isSignal": true; }; }, { "onClose": "onClose"; }, never, never, false, never>;
|
|
1933
1854
|
}
|
|
1934
1855
|
|
|
1935
1856
|
/**
|
|
@@ -1948,16 +1869,6 @@ declare class ExitMagicService {
|
|
|
1948
1869
|
* Root Magic component
|
|
1949
1870
|
*/
|
|
1950
1871
|
declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerRef {
|
|
1951
|
-
protected engineMagicService: EngineMagicService;
|
|
1952
|
-
protected componentList: ComponentListMagicService;
|
|
1953
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
1954
|
-
private titleService;
|
|
1955
|
-
private overlayWindowService;
|
|
1956
|
-
private httpClient;
|
|
1957
|
-
private pendingCommandsCollector;
|
|
1958
|
-
private route;
|
|
1959
|
-
private router;
|
|
1960
|
-
exitMagicService: ExitMagicService;
|
|
1961
1872
|
/**
|
|
1962
1873
|
* Root component to be displayed in the window
|
|
1963
1874
|
*/
|
|
@@ -1967,10 +1878,20 @@ declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerR
|
|
|
1967
1878
|
*/
|
|
1968
1879
|
RootComponentParameters: any;
|
|
1969
1880
|
overlayWindowsContainerViewRef: ViewContainerRef;
|
|
1970
|
-
rootMagicElementRef: ElementRef
|
|
1971
|
-
SpinnerTemplate: TemplateRef<any
|
|
1881
|
+
rootMagicElementRef: i0.Signal<ElementRef<any>>;
|
|
1882
|
+
SpinnerTemplate: i0.InputSignal<TemplateRef<any>>;
|
|
1972
1883
|
showSpinner: boolean;
|
|
1973
1884
|
magicEngineTerminated: boolean;
|
|
1885
|
+
protected engineMagicService: EngineMagicService;
|
|
1886
|
+
protected componentList: ComponentListMagicService;
|
|
1887
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
1888
|
+
private titleService;
|
|
1889
|
+
private overlayWindowService;
|
|
1890
|
+
private httpClient;
|
|
1891
|
+
private pendingCommandsCollector;
|
|
1892
|
+
private route;
|
|
1893
|
+
private router;
|
|
1894
|
+
exitMagicService: ExitMagicService;
|
|
1974
1895
|
/**
|
|
1975
1896
|
*
|
|
1976
1897
|
* @param magic Magic's service
|
|
@@ -1980,7 +1901,7 @@ declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerR
|
|
|
1980
1901
|
* @param httpClient The native httpClient instance
|
|
1981
1902
|
* @param exitMagicService Magic exit service
|
|
1982
1903
|
*/
|
|
1983
|
-
constructor(
|
|
1904
|
+
constructor();
|
|
1984
1905
|
/**
|
|
1985
1906
|
* Before-unload event listener
|
|
1986
1907
|
* @param event
|
|
@@ -2014,16 +1935,14 @@ declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerR
|
|
|
2014
1935
|
* @param command
|
|
2015
1936
|
*/
|
|
2016
1937
|
executeCommand(command: GuiCommand): void;
|
|
2017
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MagicShellComponent,
|
|
2018
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MagicShellComponent, "magic-root", never, { "SpinnerTemplate": { "alias": "SpinnerTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
1938
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicShellComponent, never>;
|
|
1939
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagicShellComponent, "magic-root", never, { "SpinnerTemplate": { "alias": "SpinnerTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
2019
1940
|
}
|
|
2020
1941
|
|
|
2021
1942
|
/**
|
|
2022
1943
|
* Represents a Magic subform
|
|
2023
1944
|
*/
|
|
2024
1945
|
declare class SubformMagicComponent {
|
|
2025
|
-
private vcRef;
|
|
2026
|
-
protected mgSub: SubformMagicService;
|
|
2027
1946
|
/**
|
|
2028
1947
|
* @ignore
|
|
2029
1948
|
*/
|
|
@@ -2039,7 +1958,9 @@ declare class SubformMagicComponent {
|
|
|
2039
1958
|
/**
|
|
2040
1959
|
* @ignore
|
|
2041
1960
|
*/
|
|
2042
|
-
constructor(
|
|
1961
|
+
constructor();
|
|
1962
|
+
private vcRef;
|
|
1963
|
+
protected mgSub: SubformMagicService;
|
|
2043
1964
|
/**
|
|
2044
1965
|
* @ignore
|
|
2045
1966
|
*/
|
|
@@ -2056,9 +1977,6 @@ declare class SubformMagicComponent {
|
|
|
2056
1977
|
* Represents a Magic subform
|
|
2057
1978
|
*/
|
|
2058
1979
|
declare class ErrorMagicComponent {
|
|
2059
|
-
protected _task: TaskMagicService;
|
|
2060
|
-
mgService: AccessorMagicService;
|
|
2061
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
2062
1980
|
/**
|
|
2063
1981
|
* @ignore
|
|
2064
1982
|
*/
|
|
@@ -2070,11 +1988,11 @@ declare class ErrorMagicComponent {
|
|
|
2070
1988
|
set magic(val: any);
|
|
2071
1989
|
set rowId1(val: any);
|
|
2072
1990
|
defaultDisplay: boolean;
|
|
2073
|
-
|
|
1991
|
+
private customContentRef;
|
|
2074
1992
|
/**
|
|
2075
1993
|
* @ignore
|
|
2076
1994
|
*/
|
|
2077
|
-
constructor(
|
|
1995
|
+
constructor();
|
|
2078
1996
|
/**
|
|
2079
1997
|
* returns true if the html element has no children
|
|
2080
1998
|
* @param element
|
|
@@ -2084,6 +2002,9 @@ declare class ErrorMagicComponent {
|
|
|
2084
2002
|
* @ignore
|
|
2085
2003
|
*/
|
|
2086
2004
|
HasErrors(id: string): boolean;
|
|
2005
|
+
protected _task: TaskMagicService;
|
|
2006
|
+
mgService: AccessorMagicService;
|
|
2007
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
2087
2008
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMagicComponent, never>;
|
|
2088
2009
|
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorMagicComponent, "mgError", never, { "magic": { "alias": "magic"; "required": false; }; "rowId1": { "alias": "rowId"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2089
2010
|
}
|
|
@@ -2093,13 +2014,19 @@ declare class ErrorMagicComponent {
|
|
|
2093
2014
|
*/
|
|
2094
2015
|
declare class NoControlMagicDirective extends MagicDirective {
|
|
2095
2016
|
set magic(val: any);
|
|
2096
|
-
constructor(
|
|
2017
|
+
constructor();
|
|
2018
|
+
_task: TaskMagicService;
|
|
2019
|
+
element: ElementRef;
|
|
2020
|
+
renderer: Renderer2;
|
|
2021
|
+
vcRef: ViewContainerRef;
|
|
2022
|
+
platform: Platform;
|
|
2023
|
+
magicRow: RowMagicDirective;
|
|
2097
2024
|
regEvents(): void;
|
|
2098
2025
|
isTabControl(): boolean;
|
|
2099
2026
|
isRadio(): boolean;
|
|
2100
2027
|
handleCommand(command: GuiCommand): void;
|
|
2101
2028
|
handleSetProperty(command: GuiCommand): void;
|
|
2102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoControlMagicDirective,
|
|
2029
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoControlMagicDirective, never>;
|
|
2103
2030
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NoControlMagicDirective, "[magicnc]", never, { "magic": { "alias": "magicnc"; "required": false; }; }, {}, never, never, false, never>;
|
|
2104
2031
|
}
|
|
2105
2032
|
|
|
@@ -2107,13 +2034,13 @@ declare class NoControlMagicDirective extends MagicDirective {
|
|
|
2107
2034
|
* Perform Magic validation on input controls which hold alphanumeric strings
|
|
2108
2035
|
*/
|
|
2109
2036
|
declare class MgformatMagicDirective {
|
|
2037
|
+
datePasteFlag: boolean;
|
|
2110
2038
|
protected magicDir: MagicDirective;
|
|
2111
2039
|
protected _task: TaskMagicService;
|
|
2112
|
-
datePasteFlag: boolean;
|
|
2113
2040
|
/**
|
|
2114
2041
|
* @ignore
|
|
2115
2042
|
*/
|
|
2116
|
-
constructor(
|
|
2043
|
+
constructor();
|
|
2117
2044
|
ngAfterViewInit(): void;
|
|
2118
2045
|
/**
|
|
2119
2046
|
* @ignore
|
|
@@ -2190,7 +2117,7 @@ declare class Constants {
|
|
|
2190
2117
|
*/
|
|
2191
2118
|
declare class DateMagicPipe extends DatePipe implements PipeTransform {
|
|
2192
2119
|
protected _task: TaskMagicService;
|
|
2193
|
-
constructor(
|
|
2120
|
+
constructor();
|
|
2194
2121
|
transform(value: any, controlId: string): any;
|
|
2195
2122
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateMagicPipe, never>;
|
|
2196
2123
|
static ɵpipe: i0.ɵɵPipeDeclaration<DateMagicPipe, "magicDate", false>;
|
|
@@ -2204,7 +2131,7 @@ declare class MgDateFormatter {
|
|
|
2204
2131
|
*/
|
|
2205
2132
|
declare class TimeMagicPipe extends DatePipe implements PipeTransform {
|
|
2206
2133
|
protected _task: TaskMagicService;
|
|
2207
|
-
constructor(
|
|
2134
|
+
constructor();
|
|
2208
2135
|
transform(value: any, controlId: string): any;
|
|
2209
2136
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeMagicPipe, never>;
|
|
2210
2137
|
static ɵpipe: i0.ɵɵPipeDeclaration<TimeMagicPipe, "magicTime", false>;
|
|
@@ -2221,7 +2148,7 @@ declare class RangeValidatorMagicDirective implements Validator {
|
|
|
2221
2148
|
* @param _task The task service
|
|
2222
2149
|
* @param vcRef
|
|
2223
2150
|
*/
|
|
2224
|
-
constructor(
|
|
2151
|
+
constructor();
|
|
2225
2152
|
/**
|
|
2226
2153
|
* Validation method
|
|
2227
2154
|
* @param c FormControl to validate
|
|
@@ -2244,10 +2171,6 @@ declare class RangeValidatorMagicDirective implements Validator {
|
|
|
2244
2171
|
* Responsible for connecting HTML elements to the Magic WebClient engine showing it is not Magic Control but a Dummy control which is used to notify only receeive focus event for now
|
|
2245
2172
|
*/
|
|
2246
2173
|
declare class NonMagicControlDirective implements OnInit {
|
|
2247
|
-
protected _task: TaskMagicService;
|
|
2248
|
-
protected element: ElementRef;
|
|
2249
|
-
protected renderer: Renderer2;
|
|
2250
|
-
protected vcRef: ViewContainerRef;
|
|
2251
2174
|
set magic(val: any);
|
|
2252
2175
|
/**
|
|
2253
2176
|
* The HTML element connected to this directive
|
|
@@ -2281,7 +2204,11 @@ declare class NonMagicControlDirective implements OnInit {
|
|
|
2281
2204
|
* @param renderer Renderer for the element
|
|
2282
2205
|
* @param vcRef
|
|
2283
2206
|
*/
|
|
2284
|
-
constructor(
|
|
2207
|
+
constructor();
|
|
2208
|
+
protected _task: TaskMagicService;
|
|
2209
|
+
protected element: ElementRef;
|
|
2210
|
+
protected renderer: Renderer2;
|
|
2211
|
+
protected vcRef: ViewContainerRef;
|
|
2285
2212
|
/**
|
|
2286
2213
|
* Get the task service
|
|
2287
2214
|
* @returns
|
|
@@ -2308,7 +2235,7 @@ declare class NonMagicControlDirective implements OnInit {
|
|
|
2308
2235
|
*/
|
|
2309
2236
|
declare class MagicFocusDirective {
|
|
2310
2237
|
private hostElement;
|
|
2311
|
-
constructor(
|
|
2238
|
+
constructor();
|
|
2312
2239
|
ngAfterViewInit(): void;
|
|
2313
2240
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicFocusDirective, never>;
|
|
2314
2241
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicFocusDirective, "[magicFocus]", never, {}, {}, never, never, false, never>;
|
|
@@ -2319,14 +2246,14 @@ declare class MagicFocusDirective {
|
|
|
2319
2246
|
*/
|
|
2320
2247
|
declare class MagicViewContainerRef {
|
|
2321
2248
|
private vcRef;
|
|
2322
|
-
constructor(
|
|
2249
|
+
constructor();
|
|
2323
2250
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicViewContainerRef, never>;
|
|
2324
2251
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicViewContainerRef, "[magicViewContainerRef]", never, {}, {}, never, never, false, never>;
|
|
2325
2252
|
}
|
|
2326
2253
|
|
|
2327
2254
|
declare class Time24MagicPipe implements PipeTransform {
|
|
2328
2255
|
protected _task: TaskMagicService;
|
|
2329
|
-
constructor(
|
|
2256
|
+
constructor();
|
|
2330
2257
|
transform(value: any, controlId: string): any;
|
|
2331
2258
|
static ɵfac: i0.ɵɵFactoryDeclaration<Time24MagicPipe, never>;
|
|
2332
2259
|
static ɵpipe: i0.ɵɵPipeDeclaration<Time24MagicPipe, "magicTime24", false>;
|
|
@@ -2341,6 +2268,85 @@ declare class MagicModule {
|
|
|
2341
2268
|
static ɵinj: i0.ɵɵInjectorDeclaration<MagicModule>;
|
|
2342
2269
|
}
|
|
2343
2270
|
|
|
2271
|
+
/**
|
|
2272
|
+
* Service managing alert and confirmation windows
|
|
2273
|
+
* This is Magic's default provider
|
|
2274
|
+
*/
|
|
2275
|
+
declare class ConfirmationComponentsMagicProvider {
|
|
2276
|
+
/**
|
|
2277
|
+
* Return true when use default javascript alert and confirmation or return false to provide custom components
|
|
2278
|
+
* @returns true is we want to use default javascript alert and confirmation
|
|
2279
|
+
*/
|
|
2280
|
+
showDefaultConfirmations(): boolean;
|
|
2281
|
+
/**
|
|
2282
|
+
* Returns component that will replace javascript alert. The component will be used only if showDefaultConfirmations = false
|
|
2283
|
+
* @returns component that will replace javascript Alert
|
|
2284
|
+
*/
|
|
2285
|
+
getAlertComponent(): any;
|
|
2286
|
+
/**
|
|
2287
|
+
* Returns component that will replace javascript confirmation box. The component will be used only if showDefaultConfirmations = false
|
|
2288
|
+
* @returns component that will replace javascript confirmation box
|
|
2289
|
+
*/
|
|
2290
|
+
getConfirmtionComponent(): any;
|
|
2291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponentsMagicProvider, never>;
|
|
2292
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationComponentsMagicProvider>;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* Notifies Angular that Magic state changed outside of its knowledge.
|
|
2297
|
+
*
|
|
2298
|
+
* The WebClient runs zoneless, so Angular no longer re-renders the application
|
|
2299
|
+
* after every asynchronous task. Change detection is triggered only by Angular's
|
|
2300
|
+
* own APIs - a template event binding, a signal write, `markForCheck()` and so on.
|
|
2301
|
+
*
|
|
2302
|
+
* Magic drives the UI from sources Angular cannot observe: DOM listeners registered
|
|
2303
|
+
* through `Renderer2`, the engine's event loop, and socket callbacks. Every such
|
|
2304
|
+
* source calls {@link notify}, and the Magic components refresh themselves in response.
|
|
2305
|
+
*
|
|
2306
|
+
* Application code can use this service for the same purpose. Call {@link notify}
|
|
2307
|
+
* after changing component state from a callback Angular does not control - a
|
|
2308
|
+
* `setTimeout`, a `Promise`, a `fetch` response or a third-party widget event:
|
|
2309
|
+
*
|
|
2310
|
+
* ```ts
|
|
2311
|
+
* export class MyForm extends TaskBaseMagicComponent {
|
|
2312
|
+
* private readonly magicChangeDetection = inject(MagicChangeDetectionService);
|
|
2313
|
+
*
|
|
2314
|
+
* override mgOnLoad(): void {
|
|
2315
|
+
* setTimeout(() => {
|
|
2316
|
+
* this.statusText = 'Ready';
|
|
2317
|
+
* this.magicChangeDetection.notify();
|
|
2318
|
+
* }, 1000);
|
|
2319
|
+
* }
|
|
2320
|
+
* }
|
|
2321
|
+
* ```
|
|
2322
|
+
*
|
|
2323
|
+
* Notifications are coalesced by Angular's scheduler, so calling {@link notify}
|
|
2324
|
+
* several times in a row still results in a single refresh.
|
|
2325
|
+
*/
|
|
2326
|
+
declare class MagicChangeDetectionService {
|
|
2327
|
+
/**
|
|
2328
|
+
* @ignore
|
|
2329
|
+
*/
|
|
2330
|
+
private readonly changedSubject;
|
|
2331
|
+
/**
|
|
2332
|
+
* Emits whenever Magic state changed and the views should be refreshed.
|
|
2333
|
+
* Subscribers are expected to mark their view for check.
|
|
2334
|
+
*/
|
|
2335
|
+
readonly changed: Observable<void>;
|
|
2336
|
+
/**
|
|
2337
|
+
* Notify Angular that state which the templates depend on has changed.
|
|
2338
|
+
*/
|
|
2339
|
+
notify(): void;
|
|
2340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicChangeDetectionService, never>;
|
|
2341
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MagicChangeDetectionService>;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
declare class MagicLazyLoaderService {
|
|
2345
|
+
Load(path: string): Promise<any>;
|
|
2346
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicLazyLoaderService, never>;
|
|
2347
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MagicLazyLoaderService>;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2344
2350
|
declare const MG_FORMATS: {
|
|
2345
2351
|
parse: {
|
|
2346
2352
|
dateInput: {
|
|
@@ -2367,10 +2373,10 @@ declare const MG_FORMATS: {
|
|
|
2367
2373
|
};
|
|
2368
2374
|
};
|
|
2369
2375
|
declare class MgDateAdapter extends NativeDateAdapter {
|
|
2376
|
+
mgdtfmt: string;
|
|
2370
2377
|
protected task: TaskMagicService;
|
|
2371
2378
|
localeId: string;
|
|
2372
|
-
|
|
2373
|
-
constructor(task: TaskMagicService, localeId: string);
|
|
2379
|
+
constructor();
|
|
2374
2380
|
parse(value: any): Date | null;
|
|
2375
2381
|
format(date: Date, displayFormat: Object): string;
|
|
2376
2382
|
static ɵfac: i0.ɵɵFactoryDeclaration<MgDateAdapter, never>;
|
|
@@ -2413,7 +2419,7 @@ declare const matDateProviders: ({
|
|
|
2413
2419
|
/**
|
|
2414
2420
|
* Magic service providers
|
|
2415
2421
|
*/
|
|
2416
|
-
declare const basicMagicProviders: (typeof
|
|
2422
|
+
declare const basicMagicProviders: (typeof TaskMagicService | typeof SubformMagicService | typeof TitleMagicService | typeof AccessorMagicService | typeof MagicServices | ({
|
|
2417
2423
|
provide: typeof DateAdapter;
|
|
2418
2424
|
useClass: typeof MgDateAdapter;
|
|
2419
2425
|
useValue?: undefined;
|
|
@@ -2446,7 +2452,7 @@ declare const basicMagicProviders: (typeof SubformMagicService | typeof TitleMag
|
|
|
2446
2452
|
};
|
|
2447
2453
|
useClass?: undefined;
|
|
2448
2454
|
})[])[];
|
|
2449
|
-
declare const magicProviders: (typeof
|
|
2455
|
+
declare const magicProviders: (typeof TaskMagicService | typeof SubformMagicService | typeof TitleMagicService | typeof AccessorMagicService | typeof TableMagicService | typeof MagicServices | ({
|
|
2450
2456
|
provide: typeof DateAdapter;
|
|
2451
2457
|
useClass: typeof MgDateAdapter;
|
|
2452
2458
|
useValue?: undefined;
|
|
@@ -2480,6 +2486,53 @@ declare const magicProviders: (typeof SubformMagicService | typeof TitleMagicSer
|
|
|
2480
2486
|
useClass?: undefined;
|
|
2481
2487
|
})[])[];
|
|
2482
2488
|
|
|
2489
|
+
declare class OverlayContainerMagicProvider {
|
|
2490
|
+
getComponent(): typeof MagicOverlayContainer;
|
|
2491
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainerMagicProvider, never>;
|
|
2492
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainerMagicProvider>;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* Service managing overlay windows
|
|
2497
|
+
*/
|
|
2498
|
+
declare class OverlayWindowService {
|
|
2499
|
+
protected componentList: ComponentListMagicService;
|
|
2500
|
+
protected engineMagicService: EngineMagicService;
|
|
2501
|
+
private magicLazyModuleLoader;
|
|
2502
|
+
private injector;
|
|
2503
|
+
private overlayContainerMagicProvider;
|
|
2504
|
+
private confirmationComponentsMagicProvider;
|
|
2505
|
+
constructor();
|
|
2506
|
+
private overlayWindowsContainerViewRef;
|
|
2507
|
+
private overlayWindowFocusManager;
|
|
2508
|
+
private changeDetectorRef;
|
|
2509
|
+
init(overlayWindowsContainerViewRef: ViewContainerRef, rootMagicElement: Element, changeDetectorRef: ChangeDetectorRef): void;
|
|
2510
|
+
loadAndOpenModule(formName: string, taskId: string, taskDescription: string): void;
|
|
2511
|
+
open(formName: string, taskId: string, taskDescription: string): void;
|
|
2512
|
+
close(commandStr: string): void;
|
|
2513
|
+
/**
|
|
2514
|
+
* Open Confirmation box
|
|
2515
|
+
* @param title title of the box
|
|
2516
|
+
* @param msg message
|
|
2517
|
+
* @param style Magic style
|
|
2518
|
+
*/
|
|
2519
|
+
openConfirmationBox(title: string, msg: string, style: Styles): void;
|
|
2520
|
+
/**
|
|
2521
|
+
* This method is called on close of the confirmation
|
|
2522
|
+
* @param style Magic style
|
|
2523
|
+
* @param result
|
|
2524
|
+
*/
|
|
2525
|
+
finishConfirmation(style: Styles, result: boolean): void;
|
|
2526
|
+
/**
|
|
2527
|
+
* creates a modal component. Can be used for overlay, message box or confirmation box
|
|
2528
|
+
* @param parameters component's parameters
|
|
2529
|
+
* @param component components to create
|
|
2530
|
+
*/
|
|
2531
|
+
private createModalComponent;
|
|
2532
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayWindowService, never>;
|
|
2533
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayWindowService>;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2483
2536
|
/**
|
|
2484
2537
|
* @ignore
|
|
2485
2538
|
*/
|
|
@@ -2626,5 +2679,5 @@ declare class MagicModalProperties implements MagicModalInterface {
|
|
|
2626
2679
|
IsMovable(): boolean;
|
|
2627
2680
|
}
|
|
2628
2681
|
|
|
2629
|
-
export { AccessorMagicService, BaseMagicAlertComponent, BaseMagicConfirmComponent, BaseMagicOverlayContainer, CHECKBOX_VALUE_ACCESSOR, COLOR_FILE_NAME, CheckboxMagicDirective, CheckboxNoFormControlMagicDirective, ComboboxMagicDirective, CommandsCollectorMagicService, ComponentListMagicService, ConfirmationComponentsMagicProvider, Constants, ControlMetadata, ControlsMetadata, DATE_VALUE_ACCESSOR, DateMagicPipe, DateValueAccessor, EngineMagicService, ErrorMagicComponent, ExitMagicService, GuiInteractiveExecutor, HtmlClasses, InputNoFormControlMagicDirective, MAGIC_BG_COLOR, MAGIC_DEFAULT_VALUE_ACCESSOR, MAGIC_FG_COLOR, MG_FORMATS, MagicAlertComponent, MagicCheckboxControlValueAccessor, MagicColorService, MagicConfirmationBoxComponent, MagicDefaultValueAccessor, MagicDirective, MagicFocusDirective, MagicLazyLoaderService, MagicModalProperties, MagicModule, MagicOverlayContainer, MagicOverlayContainerWrapper, MagicServices, MagicShellComponent, MagicViewContainerRef, MgDateAdapter, MgDateFormatter, MgformatMagicDirective, ModalFormDefinition, NoControlMagicDirective, NonMagicControlDirective, OverlayContainerMagicProvider, OverlayWindowService, RangeValidatorMagicDirective, Records, RouteCommand, RouterCommandsMagicService, RouterContainerMagicComponent, RowMagicDirective, StylesMapManager, SubformMagicComponent, SubformMagicService, SubscriberService, TableMagicService, TaskBaseMagicComponent, TaskMagicService, Time24MagicPipe, TimeMagicPipe, TitleMagicService, basicMagicProviders, confirmationBox, magicProviders, matDateProviders, utils };
|
|
2682
|
+
export { AccessorMagicService, BaseMagicAlertComponent, BaseMagicConfirmComponent, BaseMagicOverlayContainer, CHECKBOX_VALUE_ACCESSOR, COLOR_FILE_NAME, CheckboxMagicDirective, CheckboxNoFormControlMagicDirective, ComboboxMagicDirective, CommandsCollectorMagicService, ComponentListMagicService, ConfirmationComponentsMagicProvider, Constants, ControlMetadata, ControlsMetadata, DATE_VALUE_ACCESSOR, DateMagicPipe, DateValueAccessor, EngineMagicService, ErrorMagicComponent, ExitMagicService, GuiInteractiveExecutor, HtmlClasses, InputNoFormControlMagicDirective, MAGIC_BG_COLOR, MAGIC_DEFAULT_VALUE_ACCESSOR, MAGIC_FG_COLOR, MG_FORMATS, MagicAlertComponent, MagicChangeDetectionService, MagicCheckboxControlValueAccessor, MagicColorService, MagicConfirmationBoxComponent, MagicDefaultValueAccessor, MagicDirective, MagicFocusDirective, MagicLazyLoaderService, MagicModalProperties, MagicModule, MagicOverlayContainer, MagicOverlayContainerWrapper, MagicServices, MagicShellComponent, MagicViewContainerRef, MgDateAdapter, MgDateFormatter, MgformatMagicDirective, ModalFormDefinition, NoControlMagicDirective, NonMagicControlDirective, OverlayContainerMagicProvider, OverlayWindowService, RangeValidatorMagicDirective, Records, RouteCommand, RouterCommandsMagicService, RouterContainerMagicComponent, RowMagicDirective, StylesMapManager, SubformMagicComponent, SubformMagicService, SubscriberService, TableMagicService, TaskBaseMagicComponent, TaskMagicService, Time24MagicPipe, TimeMagicPipe, TitleMagicService, basicMagicProviders, confirmationBox, magicProviders, matDateProviders, utils };
|
|
2630
2683
|
export type { ComponentData, IMagicViewContainerRef, ISubformMagicService, MagicModalInterface, ModuleData, RouteDefinition, SubformDefinition };
|