@magic-xpa/angular 4.1300.0-dev4130.210 → 4.1300.0-dev4130.212

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,10 +1,10 @@
1
1
  {
2
2
  "name": "@magic-xpa/angular",
3
- "version": "4.1300.0-dev4130.210",
3
+ "version": "4.1300.0-dev4130.212",
4
4
  "license": "SEE LICENSE IN EULA.pdf",
5
5
  "dependencies": {
6
- "@magic-xpa/engine": "4.1300.0-dev4130.210",
7
- "@magic-xpa/angular-material-core": "4.1300.0-dev4130.210",
6
+ "@magic-xpa/engine": "4.1300.0-dev4130.212",
7
+ "@magic-xpa/angular-material-core": "4.1300.0-dev4130.212",
8
8
  "ng-dynamic-component": "~10.8.2",
9
9
  "@maskito/angular": "^1.4.0",
10
10
  "@maskito/core": "^1.4.0",
@@ -691,6 +691,52 @@ declare class AccessorMagicService {
691
691
  static ɵprov: i0.ɵɵInjectableDeclaration<AccessorMagicService>;
692
692
  }
693
693
 
694
+ /**
695
+ * Describes the behavior of a modal window
696
+ */
697
+ interface MagicModalInterface {
698
+ /**
699
+ * Returns the X coordinate of the modal window
700
+ */
701
+ X(): any;
702
+ /**
703
+ * Returns the Y coordinate of the modal window
704
+ */
705
+ Y(): any;
706
+ /**
707
+ * Returns the width of modal window
708
+ */
709
+ Width(): string;
710
+ /**
711
+ * Returns the height of modal window
712
+ */
713
+ Height(): string;
714
+ /**
715
+ * Is the modal window centered relatively to the main window
716
+ */
717
+ IsCenteredToWindow(): any;
718
+ /**
719
+ * Returns the name of the form - title of the modal window
720
+ */
721
+ FormName(): any;
722
+ /**
723
+ * Should the title bar be displayed
724
+ */
725
+ ShowTitleBar(): any;
726
+ /**
727
+ * Should the modal window close when the user clicks on the background
728
+ */
729
+ ShouldCloseOnBackgroundClick(): any;
730
+ /**
731
+ * Is overlay window resizable
732
+ */
733
+ IsResizable(): any;
734
+ /**
735
+ * Is overlay window movable
736
+ */
737
+ IsMovable(): any;
738
+ }
739
+
694
740
  declare abstract class BaseMagicOverlayContainer {
695
741
  /**
696
742
  *
@@ -816,6 +862,7 @@ declare class MagicOverlayContainer extends BaseMagicOverlayContainer implements
816
862
  * Resets the resizing state flags. Triggered globally via @HostListener.
817
863
  */
818
864
  onResizeEnd(): void;
865
+ getOverlayProps(): MagicModalInterface;
819
866
  static ɵfac: i0.ɵɵFactoryDeclaration<MagicOverlayContainer, never>;
820
867
  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>;
821
868
  }
@@ -2558,51 +2605,29 @@ declare class ModalFormDefinition {
2558
2605
  parameters: any;
2559
2606
  }
2560
2607
 
2561
- /**
2562
- * Describes the behavior of a modal window
2563
- */
2564
- interface MagicModalInterface {
2565
- /**
2566
- * Returns the X coordinate of the modal window
2567
- */
2568
- X(): any;
2569
- /**
2570
- * Returns the Y coordinate of the modal window
2571
- */
2572
- Y(): any;
2573
- /**
2574
- * Returns the width of modal window
2575
- */
2608
+ declare class MagicModalProperties implements MagicModalInterface {
2609
+ private static formName;
2610
+ private static showTitleBar;
2611
+ private static x;
2612
+ private static y;
2613
+ private static width;
2614
+ private static height;
2615
+ private static isCenteredToWindow;
2616
+ private static shouldCloseOnBackgroundClick;
2617
+ private static isResizable;
2618
+ private static isMovable;
2619
+ constructor(formName: string, showTitleBar: boolean, x: number, y: number, width: string, height: string, isCenteredToWindow: boolean, shouldCloseOnBackgroundClick: boolean, isResizable: boolean, isMovable: boolean);
2620
+ X(): number;
2621
+ Y(): number;
2576
2622
  Width(): string;
2577
- /**
2578
- * Returns the height of modal window
2579
- */
2580
2623
  Height(): string;
2581
- /**
2582
- * Is the modal window centered relatively to the main window
2583
- */
2584
- IsCenteredToWindow(): any;
2585
- /**
2586
- * Returns the name of the form - title of the modal window
2587
- */
2588
- FormName(): any;
2589
- /**
2590
- * Should the title bar be displayed
2591
- */
2592
- ShowTitleBar(): any;
2593
- /**
2594
- * Should the modal window close when the user clicks on the background
2595
- */
2596
- ShouldCloseOnBackgroundClick(): any;
2597
- /**
2598
- * Is overlay window resizable
2599
- */
2600
- IsResizable(): any;
2601
- /**
2602
- * Is overlay window movable
2603
- */
2604
- IsMovable(): any;
2624
+ IsCenteredToWindow(): boolean;
2625
+ FormName(): string;
2626
+ ShowTitleBar(): boolean;
2627
+ ShouldCloseOnBackgroundClick(): boolean;
2628
+ IsResizable(): boolean;
2629
+ IsMovable(): boolean;
2605
2630
  }
2606
2631
 
2607
- 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, 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 };
2632
+ 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 };
2608
2633
  export type { ComponentData, IMagicViewContainerRef, ISubformMagicService, MagicModalInterface, ModuleData, RouteDefinition, SubformDefinition };