@magic-xpa/angular 4.1300.0-dev4130.228 → 4.1300.0-dev4130.233

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/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@magic-xpa/angular",
3
- "version": "4.1300.0-dev4130.228",
3
+ "version": "4.1300.0-dev4130.233",
4
4
  "license": "SEE LICENSE IN EULA.pdf",
5
5
  "dependencies": {
6
- "@magic-xpa/engine": "4.1300.0-dev4130.228",
7
- "@magic-xpa/angular-material-core": "4.1300.0-dev4130.228",
8
- "ng-dynamic-component": "~10.8.2",
9
- "@maskito/angular": "^1.4.0",
10
- "@maskito/core": "^1.4.0",
11
- "@maskito/kit": "^1.4.0",
6
+ "@magic-xpa/engine": "4.1300.0-dev4130.233",
7
+ "@magic-xpa/angular-material-core": "4.1300.0-dev4130.233",
8
+ "ng-dynamic-component": "^11.0.0",
9
+ "@maskito/angular": "^5.3.1",
10
+ "@maskito/core": "^5.3.1",
11
+ "@maskito/kit": "^5.3.1",
12
12
  "socket.io": "^4.8.3",
13
13
  "socket.io-client": "^4.8.3",
14
14
  "tslib": "^2.3.0"
15
15
  },
16
16
  "peerDependencies": {
17
- "@angular/core": "^21.1.4",
18
- "@angular/common": "^21.1.4",
19
- "@angular/forms": "^21.1.4",
17
+ "@angular/core": "^22.1.1",
18
+ "@angular/common": "^22.1.1",
19
+ "@angular/forms": "^22.1.1",
20
20
  "rxjs": "^7.8.1"
21
21
  },
22
22
  "schematics": "./schematics/collection.json",
@@ -32,6 +32,7 @@
32
32
  }
33
33
  },
34
34
  "sideEffects": false,
35
+ "type": "module",
35
36
  "scripts": {
36
37
  "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
37
38
  }
@@ -1,7 +1,7 @@
1
1
  import { StorageAttribute, MagicProperties } from '@magic-xpa/utils';
2
2
  import { HtmlProperties, CustomValidator, GuiCommand, GuiInteractive, Styles, PIC } from '@magic-xpa/gui';
3
3
  import * as i0 from '@angular/core';
4
- import { NgModuleRef, ViewContainerRef, OnInit, Injector, Compiler, Component, InjectionToken, AfterViewInit, ElementRef, EventEmitter, ChangeDetectorRef, OnDestroy, Renderer2, TemplateRef, PipeTransform } from '@angular/core';
4
+ import { NgModuleRef, ViewContainerRef, OnInit, Injector, Type, InjectionToken, AfterViewInit, ElementRef, EventEmitter, ChangeDetectorRef, OnDestroy, 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';
@@ -16,8 +16,8 @@ import { Platform } from '@angular/cdk/platform';
16
16
  import * as i30 from '@angular/common';
17
17
  import { DatePipe } from '@angular/common';
18
18
  import * as i33 from 'ng-dynamic-component';
19
- import * as i34 from '@angular/cdk/drag-drop';
20
- import * as i35 from '@maskito/angular';
19
+ import * as i34 from '@maskito/angular';
20
+ import * as i35 from '@angular/cdk/drag-drop';
21
21
  import * as _angular_material_core from '@angular/material/core';
22
22
  import { NativeDateAdapter, DateAdapter } from '@angular/material/core';
23
23
 
@@ -296,7 +296,6 @@ declare class SubformMagicService implements ISubformMagicService {
296
296
  private componentListMagicService;
297
297
  private loader;
298
298
  private injector;
299
- private compiler;
300
299
  subformsDict: {};
301
300
  routesDict: {
302
301
  [x: string]: string;
@@ -304,13 +303,13 @@ declare class SubformMagicService implements ISubformMagicService {
304
303
  currentRouteDefinition: RouteDefinition;
305
304
  static currentCallerMgSubformServiceRef: any;
306
305
  static routerContainers: Array<RouterContainerMagicComponent>;
307
- constructor(task: TaskMagicService, activatedRoute: ActivatedRoute, componentList: ComponentListMagicService, pendingCommandsCollector: CommandsCollectorMagicService, router: Router, routerCommandsMagicService: RouterCommandsMagicService, componentListMagicService: ComponentListMagicService, loader: MagicLazyLoaderService, injector: Injector, compiler: Compiler);
306
+ constructor(task: TaskMagicService, activatedRoute: ActivatedRoute, componentList: ComponentListMagicService, pendingCommandsCollector: CommandsCollectorMagicService, router: Router, routerCommandsMagicService: RouterCommandsMagicService, componentListMagicService: ComponentListMagicService, loader: MagicLazyLoaderService, injector: Injector);
308
307
  /**
309
308
  * Finds and returns the component according to the subform name
310
309
  * @param subformName
311
310
  * @returns
312
311
  */
313
- mgGetComp(subformName: string): Component;
312
+ mgGetComp(subformName: string): Type<any>;
314
313
  /**
315
314
  * Returns the parameters of the subform
316
315
  * @param subformName
@@ -905,10 +904,9 @@ declare class OverlayWindowService {
905
904
  protected engineMagicService: EngineMagicService;
906
905
  private magicLazyModuleLoader;
907
906
  private injector;
908
- private compiler;
909
907
  private overlayContainerMagicProvider;
910
908
  private confirmationComponentsMagicProvider;
911
- constructor(componentList: ComponentListMagicService, engineMagicService: EngineMagicService, magicLazyModuleLoader: MagicLazyLoaderService, injector: Injector, compiler: Compiler, overlayContainerMagicProvider: OverlayContainerMagicProvider, confirmationComponentsMagicProvider: ConfirmationComponentsMagicProvider);
909
+ constructor(componentList: ComponentListMagicService, engineMagicService: EngineMagicService, magicLazyModuleLoader: MagicLazyLoaderService, injector: Injector, overlayContainerMagicProvider: OverlayContainerMagicProvider, confirmationComponentsMagicProvider: ConfirmationComponentsMagicProvider);
912
910
  private overlayWindowsContainerViewRef;
913
911
  private overlayWindowFocusManager;
914
912
  private changeDetectorRef;
@@ -1894,7 +1892,6 @@ declare class MagicOverlayContainerWrapper implements IMagicViewContainerRef {
1894
1892
  private magicLazyModuleLoader;
1895
1893
  private injector;
1896
1894
  private changeDetectorRef;
1897
- private compiler;
1898
1895
  /**
1899
1896
  *
1900
1897
  */
@@ -1922,7 +1919,7 @@ declare class MagicOverlayContainerWrapper implements IMagicViewContainerRef {
1922
1919
  *
1923
1920
  * @param componentFactoryResolver
1924
1921
  */
1925
- constructor(componentListMagicService: ComponentListMagicService, magicLazyModuleLoader: MagicLazyLoaderService, injector: Injector, changeDetectorRef: ChangeDetectorRef, compiler: Compiler);
1922
+ constructor(componentListMagicService: ComponentListMagicService, magicLazyModuleLoader: MagicLazyLoaderService, injector: Injector, changeDetectorRef: ChangeDetectorRef);
1926
1923
  /**
1927
1924
  *
1928
1925
  */
@@ -1964,7 +1961,7 @@ declare class MagicShellComponent implements AfterViewInit, IMagicViewContainerR
1964
1961
  /**
1965
1962
  * Root component to be displayed in the window
1966
1963
  */
1967
- RootComponent: Component;
1964
+ RootComponent: Type<any>;
1968
1965
  /**
1969
1966
  * parameters for the Root Component
1970
1967
  */
@@ -2046,7 +2043,7 @@ declare class SubformMagicComponent {
2046
2043
  /**
2047
2044
  * @ignore
2048
2045
  */
2049
- get Component(): Component;
2046
+ get Component(): Type<any>;
2050
2047
  /**
2051
2048
  * @ignore
2052
2049
  */
@@ -2340,7 +2337,7 @@ declare class Time24MagicPipe implements PipeTransform {
2340
2337
  */
2341
2338
  declare class MagicModule {
2342
2339
  static ɵfac: i0.ɵɵFactoryDeclaration<MagicModule, never>;
2343
- static ɵmod: i0.ɵɵNgModuleDeclaration<MagicModule, [typeof MagicDirective, typeof CheckboxMagicDirective, typeof CheckboxNoFormControlMagicDirective, typeof InputNoFormControlMagicDirective, typeof ComboboxMagicDirective, typeof RowMagicDirective, typeof MagicCheckboxControlValueAccessor, typeof MagicDefaultValueAccessor, typeof DateValueAccessor, typeof TaskBaseMagicComponent, typeof MagicOverlayContainer, typeof MagicAlertComponent, typeof MagicConfirmationBoxComponent, typeof BaseMagicAlertComponent, typeof BaseMagicConfirmComponent, typeof MagicOverlayContainerWrapper, typeof RouterContainerMagicComponent, typeof MagicShellComponent, typeof SubformMagicComponent, typeof ErrorMagicComponent, typeof NoControlMagicDirective, typeof MgformatMagicDirective, typeof DateMagicPipe, typeof TimeMagicPipe, typeof RangeValidatorMagicDirective, typeof NonMagicControlDirective, typeof MagicFocusDirective, typeof MagicViewContainerRef, typeof Time24MagicPipe], [typeof i30.CommonModule, typeof i31.FormsModule, typeof i31.ReactiveFormsModule, typeof i32.RouterModule, typeof i33.DynamicModule, typeof i34.CdkDragHandle, typeof i34.CdkDrag, typeof i34.DragDropModule], [typeof MagicDirective, typeof CheckboxMagicDirective, typeof CheckboxNoFormControlMagicDirective, typeof InputNoFormControlMagicDirective, typeof ComboboxMagicDirective, typeof RowMagicDirective, typeof MagicCheckboxControlValueAccessor, typeof MagicDefaultValueAccessor, typeof DateValueAccessor, typeof TaskBaseMagicComponent, typeof MagicOverlayContainer, typeof MagicAlertComponent, typeof MagicConfirmationBoxComponent, typeof BaseMagicAlertComponent, typeof BaseMagicConfirmComponent, typeof MagicOverlayContainerWrapper, typeof RouterContainerMagicComponent, typeof MagicShellComponent, typeof SubformMagicComponent, typeof ErrorMagicComponent, typeof NoControlMagicDirective, typeof MgformatMagicDirective, typeof DateMagicPipe, typeof TimeMagicPipe, typeof RangeValidatorMagicDirective, typeof NonMagicControlDirective, typeof MagicFocusDirective, typeof MagicViewContainerRef, typeof Time24MagicPipe, typeof i35.MaskitoModule]>;
2340
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MagicModule, [typeof MagicDirective, typeof CheckboxMagicDirective, typeof CheckboxNoFormControlMagicDirective, typeof InputNoFormControlMagicDirective, typeof ComboboxMagicDirective, typeof RowMagicDirective, typeof MagicCheckboxControlValueAccessor, typeof MagicDefaultValueAccessor, typeof DateValueAccessor, typeof TaskBaseMagicComponent, typeof MagicOverlayContainer, typeof MagicAlertComponent, typeof MagicConfirmationBoxComponent, typeof BaseMagicAlertComponent, typeof BaseMagicConfirmComponent, typeof MagicOverlayContainerWrapper, typeof RouterContainerMagicComponent, typeof MagicShellComponent, typeof SubformMagicComponent, typeof ErrorMagicComponent, typeof NoControlMagicDirective, typeof MgformatMagicDirective, typeof DateMagicPipe, typeof TimeMagicPipe, typeof RangeValidatorMagicDirective, typeof NonMagicControlDirective, typeof MagicFocusDirective, typeof MagicViewContainerRef, typeof Time24MagicPipe], [typeof i30.CommonModule, typeof i31.FormsModule, typeof i31.ReactiveFormsModule, typeof i32.RouterModule, typeof i33.DynamicModule, typeof i34.MaskitoDirective, typeof i35.CdkDragHandle, typeof i35.CdkDrag, typeof i35.DragDropModule], [typeof MagicDirective, typeof CheckboxMagicDirective, typeof CheckboxNoFormControlMagicDirective, typeof InputNoFormControlMagicDirective, typeof ComboboxMagicDirective, typeof RowMagicDirective, typeof MagicCheckboxControlValueAccessor, typeof MagicDefaultValueAccessor, typeof DateValueAccessor, typeof TaskBaseMagicComponent, typeof MagicOverlayContainer, typeof MagicAlertComponent, typeof MagicConfirmationBoxComponent, typeof BaseMagicAlertComponent, typeof BaseMagicConfirmComponent, typeof MagicOverlayContainerWrapper, typeof RouterContainerMagicComponent, typeof MagicShellComponent, typeof SubformMagicComponent, typeof ErrorMagicComponent, typeof NoControlMagicDirective, typeof MgformatMagicDirective, typeof DateMagicPipe, typeof TimeMagicPipe, typeof RangeValidatorMagicDirective, typeof NonMagicControlDirective, typeof MagicFocusDirective, typeof MagicViewContainerRef, typeof Time24MagicPipe, typeof i34.MaskitoDirective]>;
2344
2341
  static ɵinj: i0.ɵɵInjectorDeclaration<MagicModule>;
2345
2342
  }
2346
2343