coer-elements 0.0.114 → 0.0.116
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-filebox/coer-filebox.component.d.ts +1 -0
- package/components/lib/coer-modal/coer-modal.component.d.ts +1 -1
- package/components/lib/coer-sidenav/coer-toolbar/coer-toolbar.component.d.ts +0 -1
- package/fesm2022/coer-elements-components.mjs +17 -23
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +97 -10
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +6 -1
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/pages/lib/coer-system/coer-system.component.d.ts +24 -4
- package/tools/lib/service.class.d.ts +1 -0
package/package.json
CHANGED
@@ -1,30 +1,44 @@
|
|
1
1
|
import { WritableSignal } from '@angular/core';
|
2
|
-
import { ILogIn, IMenu, IToolbarMenu } from 'coer-elements/interfaces';
|
2
|
+
import { IFile, ILogIn, IMenu, IToolbarMenu } from 'coer-elements/interfaces';
|
3
3
|
import { CoerButton, CoerModal, CoerSidenav, CoerTextBox } from 'coer-elements/components';
|
4
|
+
import { CoerAlert } from 'coer-elements/tools';
|
4
5
|
import { LoginPage } from './login/login.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class COERSystem {
|
8
|
+
protected readonly alert: CoerAlert;
|
7
9
|
protected sidenav: import("@angular/core").Signal<CoerSidenav>;
|
8
10
|
protected loginPage: import("@angular/core").Signal<LoginPage>;
|
11
|
+
protected modalProfile: import("@angular/core").Signal<CoerModal>;
|
9
12
|
protected modalPassword: import("@angular/core").Signal<CoerModal>;
|
10
13
|
protected inputPassword: import("@angular/core").Signal<CoerTextBox>;
|
11
14
|
protected inputPasswordConfirm: import("@angular/core").Signal<CoerTextBox>;
|
12
15
|
protected resetButton: import("@angular/core").Signal<CoerButton>;
|
13
16
|
protected readonly title: string;
|
14
17
|
protected _isLoading: WritableSignal<boolean>;
|
18
|
+
protected mainRole: any;
|
19
|
+
protected nickname: string;
|
15
20
|
protected password: string;
|
16
21
|
protected passwordConfirm: string;
|
22
|
+
protected _userRoles: WritableSignal<any[]>;
|
23
|
+
protected _user: WritableSignal<any>;
|
17
24
|
appName: import("@angular/core").InputSignal<string>;
|
18
|
-
|
19
|
-
image: import("@angular/core").InputSignal<string | null>;
|
25
|
+
userImage: import("@angular/core").InputSignal<string | null>;
|
20
26
|
toolbarMenu: import("@angular/core").InputSignal<IToolbarMenu[]>;
|
27
|
+
set user(value: any);
|
28
|
+
set userRoles(value: any[]);
|
21
29
|
set navigation(value: IMenu[]);
|
22
30
|
onLogin: import("@angular/core").OutputEmitterRef<ILogIn>;
|
23
31
|
onRecovery: import("@angular/core").OutputEmitterRef<string>;
|
24
32
|
onClickOption: import("@angular/core").OutputEmitterRef<IToolbarMenu>;
|
25
33
|
onResetPassword: import("@angular/core").OutputEmitterRef<string>;
|
34
|
+
onUpdateProfile: import("@angular/core").OutputEmitterRef<any>;
|
35
|
+
onUploadUserImage: import("@angular/core").OutputEmitterRef<IFile>;
|
36
|
+
onDeleteUserImage: import("@angular/core").OutputEmitterRef<void>;
|
26
37
|
protected IsNotNull: <T>(value: T | null | undefined) => boolean;
|
38
|
+
protected IsNotOnlyWhiteSpace: <T>(value: T | null | undefined) => boolean;
|
27
39
|
protected get enableButton(): boolean;
|
40
|
+
protected _toolbarMenu: import("@angular/core").Signal<IToolbarMenu[]>;
|
41
|
+
protected userName: import("@angular/core").Signal<string>;
|
28
42
|
/** */
|
29
43
|
protected SelectedOption(menu: IToolbarMenu): Promise<void>;
|
30
44
|
/** */
|
@@ -39,6 +53,12 @@ export declare class COERSystem {
|
|
39
53
|
CloseModal(): void;
|
40
54
|
/** */
|
41
55
|
Show(view: 'login' | 'recovery'): Promise<void>;
|
56
|
+
/** */
|
57
|
+
UpdateProfile(): Promise<void>;
|
58
|
+
/** */
|
59
|
+
UploadImage(images: IFile[]): void;
|
60
|
+
/** */
|
61
|
+
DeleteUserImage(): Promise<void>;
|
42
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<COERSystem, never>;
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "userImage": { "alias": "userImage"; "required": false; "isSignal": true; }; "toolbarMenu": { "alias": "toolbarMenu"; "required": false; "isSignal": true; }; "user": { "alias": "user"; "required": false; }; "userRoles": { "alias": "userRoles"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; }, { "onLogin": "onLogin"; "onRecovery": "onRecovery"; "onClickOption": "onClickOption"; "onResetPassword": "onResetPassword"; "onUpdateProfile": "onUpdateProfile"; "onUploadUserImage": "onUploadUserImage"; "onDeleteUserImage": "onDeleteUserImage"; }, never, ["*"], false, never>;
|
44
64
|
}
|