coer-elements 2.0.34 → 2.0.36
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/components/lib/coer-button/coer-button.component.d.ts +1 -1
- package/components/lib/coer-sidenav/coer-menu-option/coer-menu-option.component.d.ts +3 -3
- package/components/lib/coer-sidenav/coer-sidenav.component.d.ts +4 -0
- package/components/lib/coer-sidenav/coer-tree-accordion/coer-tree-accordion.component.d.ts +2 -2
- package/fesm2022/coer-elements-components.mjs +32 -14
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +70 -73
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +27 -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 +29 -23
- package/styles/coer-elements.css +1 -1
- package/styles/scroll-bars.scss +5 -0
- package/tools/lib/html-elements.tools.d.ts +4 -0
package/package.json
CHANGED
@@ -1,37 +1,42 @@
|
|
1
|
-
import {
|
1
|
+
import { AfterViewInit, EffectRef, OnDestroy, WritableSignal } from '@angular/core';
|
2
2
|
import { IFile, ILogIn, IMenu, IOption, IMenuToolbar, IUserLogin } from 'coer-elements/interfaces';
|
3
3
|
import { CoerButton, CoerModal, CoerSidenav, CoerTextBox } from 'coer-elements/components';
|
4
4
|
import { CoerAlert } from 'coer-elements/tools';
|
5
5
|
import { LoginPage } from './login/login.component';
|
6
6
|
import { JWTService } from 'coer-elements/services';
|
7
7
|
import * as i0 from "@angular/core";
|
8
|
-
export declare class COERSystem implements
|
8
|
+
export declare class COERSystem implements AfterViewInit, OnDestroy {
|
9
9
|
protected readonly _alert: CoerAlert;
|
10
10
|
protected readonly _jwtService: JWTService;
|
11
|
-
protected _appName: string;
|
12
|
-
protected _staticLogin: boolean;
|
13
|
-
protected _sidenav: import("@angular/core").Signal<CoerSidenav>;
|
14
|
-
protected _loginPage: import("@angular/core").Signal<LoginPage>;
|
15
|
-
protected _modalProfile: import("@angular/core").Signal<CoerModal>;
|
16
|
-
protected _modalPassword: import("@angular/core").Signal<CoerModal>;
|
17
|
-
protected _inputPassword: import("@angular/core").Signal<CoerTextBox>;
|
18
|
-
protected _inputPasswordConfirm: import("@angular/core").Signal<CoerTextBox>;
|
19
|
-
protected _resetButton: import("@angular/core").Signal<CoerButton>;
|
11
|
+
protected readonly _appName: string;
|
12
|
+
protected readonly _staticLogin: boolean;
|
13
|
+
protected readonly _sidenav: import("@angular/core").Signal<CoerSidenav>;
|
14
|
+
protected readonly _loginPage: import("@angular/core").Signal<LoginPage>;
|
15
|
+
protected readonly _modalProfile: import("@angular/core").Signal<CoerModal>;
|
16
|
+
protected readonly _modalPassword: import("@angular/core").Signal<CoerModal>;
|
17
|
+
protected readonly _inputPassword: import("@angular/core").Signal<CoerTextBox>;
|
18
|
+
protected readonly _inputPasswordConfirm: import("@angular/core").Signal<CoerTextBox>;
|
19
|
+
protected readonly _resetButton: import("@angular/core").Signal<CoerButton>;
|
20
|
+
protected IsNotNull: (value: any) => boolean;
|
21
|
+
protected IsNotOnlyWhiteSpace: (value: any) => boolean;
|
22
|
+
protected readonly _effectNavigation: EffectRef;
|
23
|
+
protected readonly _effectUser: EffectRef;
|
24
|
+
protected readonly _effectUserRoles: EffectRef;
|
25
|
+
protected readonly _isLoading: WritableSignal<boolean>;
|
26
|
+
protected readonly _userRoles: WritableSignal<IOption[]>;
|
27
|
+
protected readonly _user: WritableSignal<IUserLogin | null>;
|
28
|
+
protected readonly _userImageStatic: WritableSignal<string>;
|
20
29
|
protected _startJWT$: any;
|
21
30
|
protected _watchJWT$: any;
|
22
|
-
protected _isLoading: WritableSignal<boolean>;
|
23
31
|
protected _mainRole: IOption | null;
|
24
32
|
protected _nickname: string;
|
25
33
|
protected _password: string;
|
26
34
|
protected _passwordConfirm: string;
|
27
|
-
protected _userRoles: WritableSignal<IOption[]>;
|
28
|
-
protected _user: WritableSignal<IUserLogin | null>;
|
29
|
-
protected _userImageStatic: string;
|
30
35
|
userImage: import("@angular/core").InputSignal<string | null>;
|
31
36
|
toolbarMenu: import("@angular/core").InputSignal<IMenuToolbar[]>;
|
32
|
-
|
33
|
-
|
34
|
-
|
37
|
+
navigation: import("@angular/core").InputSignal<IMenu[]>;
|
38
|
+
user: import("@angular/core").InputSignal<IUserLogin | null>;
|
39
|
+
userRoles: import("@angular/core").InputSignal<string[]>;
|
35
40
|
onLogin: import("@angular/core").OutputEmitterRef<ILogIn>;
|
36
41
|
onClickMenuOption: import("@angular/core").OutputEmitterRef<IMenuToolbar>;
|
37
42
|
onResetPassword: import("@angular/core").OutputEmitterRef<string>;
|
@@ -40,13 +45,12 @@ export declare class COERSystem implements AfterContentInit, OnDestroy {
|
|
40
45
|
onUploadUserImage: import("@angular/core").OutputEmitterRef<IFile>;
|
41
46
|
onDeleteUserImage: import("@angular/core").OutputEmitterRef<void>;
|
42
47
|
onUpdateJWT: import("@angular/core").OutputEmitterRef<void>;
|
43
|
-
|
44
|
-
|
45
|
-
ngAfterContentInit(): Promise<void>;
|
48
|
+
constructor();
|
49
|
+
ngAfterViewInit(): void;
|
46
50
|
ngOnDestroy(): void;
|
47
51
|
protected get _enableButtonLogin(): boolean;
|
48
52
|
protected get _profileTitle(): string;
|
49
|
-
protected
|
53
|
+
protected _userImage: import("@angular/core").Signal<string>;
|
50
54
|
protected _toolbarMenu: import("@angular/core").Signal<IMenuToolbar[]>;
|
51
55
|
/** */
|
52
56
|
protected __SelectedOption(menu: IMenuToolbar): Promise<void>;
|
@@ -84,6 +88,8 @@ export declare class COERSystem implements AfterContentInit, OnDestroy {
|
|
84
88
|
StopJWT(): void;
|
85
89
|
/** */
|
86
90
|
UseStaticLogin(): IUserLogin;
|
91
|
+
/** */
|
92
|
+
SetActiveLink(): void;
|
87
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<COERSystem, never>;
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "userImage": { "alias": "userImage"; "required": false; "isSignal": true; }; "toolbarMenu": { "alias": "toolbarMenu"; "required": false; "isSignal": true; }; "
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "userImage": { "alias": "userImage"; "required": false; "isSignal": true; }; "toolbarMenu": { "alias": "toolbarMenu"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; "isSignal": true; }; "userRoles": { "alias": "userRoles"; "required": false; "isSignal": true; }; }, { "onLogin": "onLogin"; "onClickMenuOption": "onClickMenuOption"; "onResetPassword": "onResetPassword"; "onRecoveryPassword": "onRecoveryPassword"; "onUpdateProfile": "onUpdateProfile"; "onUploadUserImage": "onUploadUserImage"; "onDeleteUserImage": "onDeleteUserImage"; "onUpdateJWT": "onUpdateJWT"; }, never, ["*"], false, never>;
|
89
95
|
}
|