coer-elements 0.0.79 → 0.0.81
Sign up to get free protection for your applications and to get access to all the features.
- package/components/lib/coer-datebox/coer-datebox.component.d.ts +1 -1
- package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +1 -1
- package/components/lib/coer-sidenav/coer-toolbar/coer-toolbar.component.d.ts +1 -2
- package/components/lib/coer-textarea/coer-textarea.component.d.ts +1 -1
- package/components/lib/coer-textbox/coer-textbox.component.d.ts +1 -1
- package/fesm2022/coer-elements-components.mjs +3 -20
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +5 -4
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +13 -2
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/pages/lib/coer-system/coer-system.component.d.ts +2 -1
- package/tools/lib/user.class.d.ts +3 -1
package/package.json
CHANGED
@@ -6,11 +6,12 @@ export declare class COERSystem {
|
|
6
6
|
protected title: string;
|
7
7
|
appName: import("@angular/core").InputSignal<string>;
|
8
8
|
user: import("@angular/core").InputSignal<any>;
|
9
|
+
image: import("@angular/core").InputSignal<string | null>;
|
9
10
|
set navigation(value: IMenu[]);
|
10
11
|
onLogin: import("@angular/core").OutputEmitterRef<ILogin>;
|
11
12
|
protected IsNotNull: <T>(value: T | null | undefined) => boolean;
|
12
13
|
/** */
|
13
14
|
protected Login(login: ILogin): void;
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<COERSystem, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; }; }, { "onLogin": "onLogin"; }, never, ["*"], false, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; }; }, { "onLogin": "onLogin"; }, never, ["*"], false, never>;
|
16
17
|
}
|
@@ -1,10 +1,12 @@
|
|
1
1
|
export declare class User {
|
2
2
|
private static readonly storage;
|
3
3
|
/** */
|
4
|
-
static Set<T>(user: T, jwt: string): void;
|
4
|
+
static Set<T>(user: T, role: string, jwt: string): void;
|
5
5
|
/** */
|
6
6
|
static Get<T>(): T | null;
|
7
7
|
/** */
|
8
|
+
static GetRole(): string | null;
|
9
|
+
/** */
|
8
10
|
static GetJWT(): string | null;
|
9
11
|
/** */
|
10
12
|
static LogIn(): boolean;
|