@magic-xpa/angular 4.801.0-dev481.293 → 4.801.0-dev481.300
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/esm2020/src/services/accessor.magic.service.mjs +1 -1
- package/esm2020/src/services/magic-color.service.mjs +36 -12
- package/esm2020/src/services/mg-date-adapter.mjs +3 -4
- package/esm2020/src/services/subform.magic.service.mjs +6 -7
- package/esm2020/src/ui/components/magic-alert.component.mjs +3 -7
- package/esm2020/src/ui/components/magic-confirmation-box.component.mjs +4 -9
- package/esm2020/src/ui/directives/NonMagicControlDirective.mjs +5 -6
- package/esm2020/src/ui/directives/magic/nocontrol.magic.directive.mjs +1 -2
- package/esm2020/src/ui/directives/magicViewContainerRef.directive.mjs +5 -6
- package/esm2020/src/ui/directives/mgformat.magic.directive.mjs +20 -22
- package/esm2020/src/ui/magic-confirmationBox.mjs +1 -2
- package/esm2020/src/ui/magic-modal/magic-overlay-container.mjs +15 -21
- package/esm2020/src/ui/mgerror.magic.component.mjs +2 -3
- package/esm2020/src/ui/router-container.magic.component.mjs +1 -2
- package/esm2020/src/ui/task-base.magic.component.mjs +2 -2
- package/esm2020/src/ui/utils.mjs +1 -9
- package/fesm2015/magic-xpa-angular.mjs +82 -89
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +80 -89
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/src/services/accessor.magic.service.d.ts +1 -1
- package/src/services/magic-color.service.d.ts +6 -2
- package/src/ui/directives/NonMagicControlDirective.d.ts +4 -5
- package/src/ui/directives/magicViewContainerRef.directive.d.ts +2 -3
- package/src/ui/directives/mgformat.magic.directive.d.ts +6 -6
- package/src/ui/magic-modal/magic-overlay-container.d.ts +2 -3
- package/src/ui/utils.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic-xpa/angular",
|
|
3
|
-
"version": "4.801.0-dev481.
|
|
3
|
+
"version": "4.801.0-dev481.300",
|
|
4
4
|
"license": "SEE LICENSE IN EULA.pdf",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@magic-xpa/engine": "4.801.0-dev481.
|
|
7
|
-
"@magic-xpa/angular-material-core": "4.801.0-dev481.
|
|
6
|
+
"@magic-xpa/engine": "4.801.0-dev481.300",
|
|
7
|
+
"@magic-xpa/angular-material-core": "4.801.0-dev481.300",
|
|
8
8
|
"ng-dynamic-component": "^10.1.0",
|
|
9
9
|
"rxjs": "^6.5.2",
|
|
10
10
|
"tslib": "^2.3.0"
|
|
@@ -26,7 +26,7 @@ export declare class AccessorMagicService {
|
|
|
26
26
|
getPlaceholder(controlId: string, rowId?: string): string;
|
|
27
27
|
getType(controlId: string, rowId?: string): string;
|
|
28
28
|
getTabIndex(controlId: string, rowId?: string): number;
|
|
29
|
-
getValue(controlId: string, rowId?: string):
|
|
29
|
+
getValue(controlId: string, rowId?: string): any;
|
|
30
30
|
getFormattedValue(controlId: string, rowId?: string): string;
|
|
31
31
|
getPicture(controlId: string, rowId?: string): string;
|
|
32
32
|
getCustomProperty(controlId: string, propertyNameOrRowID?: string, rowId?: string): any;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
1
2
|
import { HttpClient } from '@angular/common/http';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare let COLOR_FILE_NAME: InjectionToken<string>;
|
|
3
5
|
export declare const MAGIC_FG_COLOR: number;
|
|
4
6
|
export declare const MAGIC_BG_COLOR: number;
|
|
5
7
|
export declare class MagicColorService {
|
|
6
8
|
private http;
|
|
7
|
-
|
|
9
|
+
colorFileName: string;
|
|
10
|
+
getColorFilePath(): string;
|
|
8
11
|
private colorsData;
|
|
9
|
-
constructor(http: HttpClient);
|
|
12
|
+
constructor(http: HttpClient, colorFile1?: string);
|
|
13
|
+
private getColorData;
|
|
10
14
|
private hexToRgba;
|
|
11
15
|
getColor(colorIndex: number, colorType: number): any;
|
|
12
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicColorService, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementRef, OnInit, Renderer2, ViewContainerRef } from
|
|
2
|
-
import { TaskBaseMagicComponent } from
|
|
3
|
-
import { TaskMagicService } from
|
|
4
|
-
import { Subscription } from
|
|
1
|
+
import { ElementRef, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { TaskBaseMagicComponent } from '../task-base.magic.component';
|
|
3
|
+
import { TaskMagicService } from '../../services/task.magics.service';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NonMagicControlDirective implements OnInit {
|
|
7
7
|
protected _task: TaskMagicService;
|
|
@@ -15,7 +15,6 @@ export declare class NonMagicControlDirective implements OnInit {
|
|
|
15
15
|
id: string;
|
|
16
16
|
protected selector: string;
|
|
17
17
|
subscribeRefreshDom: Subscription;
|
|
18
|
-
private focusUnlistener;
|
|
19
18
|
eventsOnlyVal: boolean;
|
|
20
19
|
constructor(_task: TaskMagicService, element: ElementRef, renderer: Renderer2, vcRef: ViewContainerRef);
|
|
21
20
|
get task(): TaskMagicService;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ViewContainerRef } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MagicViewContainerRef {
|
|
4
4
|
private vcRef;
|
|
5
|
-
|
|
6
|
-
constructor(vcRef: ViewContainerRef, resolver: ComponentFactoryResolver);
|
|
5
|
+
constructor(vcRef: ViewContainerRef);
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MagicViewContainerRef, never>;
|
|
8
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MagicViewContainerRef, "[magicViewContainerRef]", never, {}, {}, never>;
|
|
9
8
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TaskMagicService } from
|
|
2
|
-
import { RefParam } from
|
|
3
|
-
import { StorageAttribute } from
|
|
4
|
-
import { MagicDirective } from
|
|
5
|
-
import { AbstractControl } from
|
|
6
|
-
import { PIC } from
|
|
1
|
+
import { TaskMagicService } from '../../services/task.magics.service';
|
|
2
|
+
import { RefParam } from '@magic-xpa/mscorelib';
|
|
3
|
+
import { StorageAttribute } from '@magic-xpa/utils';
|
|
4
|
+
import { MagicDirective } from './magic.directive';
|
|
5
|
+
import { AbstractControl } from '@angular/forms';
|
|
6
|
+
import { PIC } from '@magic-xpa/gui';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class MgformatMagicDirective {
|
|
9
9
|
protected magicDir: MagicDirective;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, ElementRef, EventEmitter,
|
|
1
|
+
import { ComponentFactoryResolver, ElementRef, EventEmitter, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { BaseMagicOverlayContainer } from './base-magic-overlay-container';
|
|
3
3
|
import { IMagicViewContainerRef } from '../../..';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class MagicOverlayContainer extends BaseMagicOverlayContainer implements OnInit, IMagicViewContainerRef {
|
|
6
|
-
private injector;
|
|
7
6
|
private componentFactoryResolver;
|
|
8
7
|
modalbodyViewContainerRef: ViewContainerRef;
|
|
9
8
|
headerElementRef: ElementRef;
|
|
@@ -12,7 +11,7 @@ export declare class MagicOverlayContainer extends BaseMagicOverlayContainer imp
|
|
|
12
11
|
ModalCompParameters: any;
|
|
13
12
|
onClose: EventEmitter<void>;
|
|
14
13
|
private componentRef;
|
|
15
|
-
constructor(
|
|
14
|
+
constructor(componentFactoryResolver: ComponentFactoryResolver);
|
|
16
15
|
ngOnInit(): void;
|
|
17
16
|
setViewContainerRef(vcRef: ViewContainerRef): void;
|
|
18
17
|
getText(): any;
|