coer-elements 0.0.79 → 0.0.81

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,6 +1,6 @@
1
1
  {
2
2
  "name": "coer-elements",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "author": "Christian Omar Escamilla Rodríguez",
5
5
  "keywords": [
6
6
  "COER",
@@ -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;