@magic-xpa/angular 4.801.0-dev481.285 → 4.801.0-dev481.290
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/index.mjs +2 -1
- package/esm2020/src/services/accessor.magic.service.mjs +10 -4
- package/esm2020/src/services/magic-color.service.mjs +59 -0
- package/fesm2015/magic-xpa-angular.mjs +71 -10
- package/fesm2015/magic-xpa-angular.mjs.map +1 -1
- package/fesm2020/magic-xpa-angular.mjs +69 -10
- package/fesm2020/magic-xpa-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +3 -3
- package/src/services/accessor.magic.service.d.ts +4 -1
- package/src/services/magic-color.service.d.ts +14 -0
package/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from "./src/services/confirmation.components.magic.provider";
|
|
|
8
8
|
export * from "./src/services/engine.magic.service";
|
|
9
9
|
export * from "./src/services/exit.magic.service";
|
|
10
10
|
export * from "./src/services/ISubformMagicService";
|
|
11
|
+
export * from "./src/services/magic-color.service";
|
|
11
12
|
export * from "./src/services/magic.lazy.loader.service";
|
|
12
13
|
export * from "./src/services/magic.providers";
|
|
13
14
|
export * from "./src/services/magic.services";
|
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.290",
|
|
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.290",
|
|
7
|
+
"@magic-xpa/angular-material-core": "4.801.0-dev481.290",
|
|
8
8
|
"ng-dynamic-component": "^10.1.0",
|
|
9
9
|
"rxjs": "^6.5.2",
|
|
10
10
|
"tslib": "^2.3.0"
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { TaskMagicService } from './task.magics.service';
|
|
2
2
|
import { HtmlProperties } from '@magic-xpa/gui';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { MagicColorService } from './magic-color.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AccessorMagicService {
|
|
6
7
|
protected task: TaskMagicService;
|
|
8
|
+
protected magicColor: MagicColorService;
|
|
7
9
|
Logger: any;
|
|
8
|
-
constructor(task: TaskMagicService);
|
|
10
|
+
constructor(task: TaskMagicService, magicColor: MagicColorService);
|
|
9
11
|
checkIsReadOnly(controlId: string): boolean;
|
|
10
12
|
getText(controlId: string, rowId?: string): string;
|
|
11
13
|
getTabpageText(controlId: string, layer: number): string;
|
|
@@ -57,6 +59,7 @@ export declare class AccessorMagicService {
|
|
|
57
59
|
SetCookie(name: string, value: any, expires?: Date, path?: any, domain?: any, secure?: any, sameSite?: any): void;
|
|
58
60
|
GetCookie(name: string): any;
|
|
59
61
|
DeleteCookie(name: string): any;
|
|
62
|
+
getColor(colorNumber: number, colorType: any): any;
|
|
60
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccessorMagicService, never>;
|
|
61
64
|
static ɵprov: i0.ɵɵInjectableDeclaration<AccessorMagicService>;
|
|
62
65
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const MAGIC_FG_COLOR: number;
|
|
4
|
+
export declare const MAGIC_BG_COLOR: number;
|
|
5
|
+
export declare class MagicColorService {
|
|
6
|
+
private http;
|
|
7
|
+
protected colorFilePath: string;
|
|
8
|
+
private colorsData;
|
|
9
|
+
constructor(http: HttpClient);
|
|
10
|
+
private hexToRgba;
|
|
11
|
+
getColor(colorIndex: number, colorType: number): any;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagicColorService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MagicColorService>;
|
|
14
|
+
}
|