coer-elements 2.0.5 → 2.0.6
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 +7 -7
- package/components/lib/coer-checkbox/coer-checkbox.component.d.ts +1 -1
- package/components/lib/coer-datebox/coer-datebox.component.d.ts +8 -7
- package/components/lib/coer-dropdown/coer-dropdown.component.d.ts +12 -12
- package/components/lib/coer-filebox/coer-filebox.component.d.ts +7 -7
- package/components/lib/coer-form/coer-form.component.d.ts +1 -1
- package/components/lib/coer-grid/coer-grid.component.d.ts +9 -9
- package/components/lib/coer-grid/coer-grid.extension.d.ts +19 -15
- package/components/lib/coer-list/coer-list.component.d.ts +9 -9
- package/components/lib/coer-modal/coer-modal.component.d.ts +1 -1
- package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +1 -1
- package/components/lib/coer-secretbox/coer-secretbox.component.d.ts +1 -1
- package/components/lib/coer-sidenav/coer-toolbar/coer-toolbar.component.d.ts +8 -7
- package/components/lib/coer-switch/coer-switch.component.d.ts +1 -1
- 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 +190 -190
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-guards.mjs +6 -6
- package/fesm2022/coer-elements-guards.mjs.map +1 -1
- package/fesm2022/coer-elements-interceptors.mjs +1 -1
- package/fesm2022/coer-elements-interceptors.mjs.map +1 -1
- package/fesm2022/coer-elements-interfaces.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +213 -174
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-services.mjs +1 -1
- package/fesm2022/coer-elements-services.mjs.map +1 -1
- package/fesm2022/coer-elements-signals.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +13 -1
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/fesm2022/coer-elements.mjs.map +1 -1
- package/interfaces/lib/coer-grid/grid-button-by-row.interface.d.ts +3 -0
- package/interfaces/lib/coer-grid/grid-header-button.interface.d.ts +1 -0
- package/interfaces/lib/coer-grid/grid-header-export-button.interface.d.ts +1 -0
- package/interfaces/lib/coer-grid/grid-header-import-button.interface.d.ts +1 -0
- package/interfaces/lib/coer-menu/menu-toolbar.interface.d.ts +6 -0
- package/interfaces/lib/login/user-login-response.interface.d.ts +12 -0
- package/interfaces/lib/login/user-login.interface.d.ts +10 -0
- package/interfaces/public-api.d.ts +4 -4
- package/package.json +5 -5
- package/pages/lib/coer-system/coer-system.component.d.ts +53 -34
- package/pages/lib/coer-system/login/login.component.d.ts +15 -15
- package/styles/coer-elements.css +2 -2
- package/tools/lib/user.class.d.ts +3 -2
- package/interfaces/lib/image.interface.d.ts +0 -11
- package/interfaces/lib/login-response.interface.d.ts +0 -10
- package/interfaces/lib/toolbar-menu.interface.d.ts +0 -5
- /package/interfaces/lib/{login.interface.d.ts → login/login.interface.d.ts} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"coer-elements.mjs","sources":["../../../projects/coer-elements/index.ts","../../../projects/coer-elements/coer-elements.ts"],"sourcesContent":["import { NgModule } from '@angular/core'; \r\nimport 'coer-elements/extensions';\r\n\r\n//Components \r\nimport { CoerAlert } from 'coer-elements/tools';\r\nimport * as components from 'coer-elements/components';\r\nimport * as pages from 'coer-elements/pages';\r\nimport * as directives from 'coer-elements/directives';\r\nimport * as pipes from 'coer-elements/pipes'; \r\nimport * as services from 'coer-elements/services';\r\n\r\n\r\n@NgModule({ \r\n imports: [ \r\n components.ComponentsModule, \r\n pages.PagesModule,\r\n directives.DirectivesModule,\r\n pipes.PipesModule, \r\n services.ServicesModule,\r\n CoerAlert \r\n ],\r\n exports: [ \r\n CoerAlert,\r\n pages.COERSystem,\r\n pages.CoerMenuPage,\r\n pages.HomePage, \r\n pages.LoadingPage,\r\n components.CoerAccordion,\r\n components.CoerButton,\r\n components.CoerCheckbox,\r\n components.CoerDateBox,\r\n components.CoerFilebox,\r\n components.CoerForm,\r\n components.CoerGrid,\r\n components.CoerList, \r\n components.CoerModal,\r\n components.CoerNumberBox,\r\n components.CoerPageTitle,\r\n components.CoerSelectbox,\r\n components.CoerDropdown,\r\n components.CoerSidenav,\r\n components.CoerSwitch,\r\n components.CoerTextarea,\r\n components.CoerTab,\r\n components.CoerTextBox,\r\n components.CoerToolbar, \r\n directives.CoerRefDirective,\r\n directives.LifeCycleDirective,\r\n pipes.HtmlPipe,\r\n pipes.NoImagePipe,\r\n pipes.NumericFormatPipe \r\n ]\r\n})\r\nexport class CoerElementsModule { }
|
1
|
+
{"version":3,"file":"coer-elements.mjs","sources":["../../../projects/coer-elements/index.ts","../../../projects/coer-elements/coer-elements.ts"],"sourcesContent":["import { NgModule } from '@angular/core'; \r\nimport 'coer-elements/extensions';\r\n\r\n//Components \r\nimport { CoerAlert } from 'coer-elements/tools';\r\nimport * as components from 'coer-elements/components';\r\nimport * as pages from 'coer-elements/pages';\r\nimport * as directives from 'coer-elements/directives';\r\nimport * as pipes from 'coer-elements/pipes'; \r\nimport * as services from 'coer-elements/services';\r\n\r\n\r\n@NgModule({ \r\n imports: [ \r\n components.ComponentsModule, \r\n pages.PagesModule,\r\n directives.DirectivesModule,\r\n pipes.PipesModule, \r\n services.ServicesModule,\r\n CoerAlert \r\n ],\r\n exports: [ \r\n CoerAlert,\r\n pages.COERSystem,\r\n pages.CoerMenuPage,\r\n pages.HomePage, \r\n pages.LoadingPage,\r\n components.CoerAccordion,\r\n components.CoerButton,\r\n components.CoerCheckbox,\r\n components.CoerDateBox,\r\n components.CoerFilebox,\r\n components.CoerForm,\r\n components.CoerGrid,\r\n components.CoerList, \r\n components.CoerModal,\r\n components.CoerNumberBox,\r\n components.CoerPageTitle,\r\n components.CoerSelectbox,\r\n components.CoerDropdown,\r\n components.CoerSidenav,\r\n components.CoerSwitch,\r\n components.CoerTextarea,\r\n components.CoerTab,\r\n components.CoerTextBox,\r\n components.CoerToolbar, \r\n directives.CoerRefDirective,\r\n directives.LifeCycleDirective,\r\n pipes.HtmlPipe,\r\n pipes.NoImagePipe,\r\n pipes.NumericFormatPipe \r\n ]\r\n})\r\nexport class CoerElementsModule { } ","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4","i5"],"mappings":"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"}
|
@@ -3,4 +3,7 @@ export interface IGridButtonByRow<T> {
|
|
3
3
|
showEditButton?: boolean | ((item: IGridItem<T>) => boolean);
|
4
4
|
showDeleteButton?: boolean | ((item: IGridItem<T>) => boolean);
|
5
5
|
showGoButton?: boolean | ((item: IGridItem<T>) => boolean);
|
6
|
+
editButtonColor?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'navigation';
|
7
|
+
deleteButtonColor?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'navigation';
|
8
|
+
goButtonColor?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'navigation';
|
6
9
|
}
|
@@ -23,7 +23,11 @@ export * from './lib/coer-grid/grid-sort.interface';
|
|
23
23
|
export * from './lib/coer-menu/menu-access.interface';
|
24
24
|
export * from './lib/coer-menu/menu-option-selected.interface';
|
25
25
|
export * from './lib/coer-menu/menu-selected.interface';
|
26
|
+
export * from './lib/coer-menu/menu-toolbar.interface';
|
26
27
|
export * from './lib/coer-menu/menu.interface';
|
28
|
+
export * from './lib/login/login.interface';
|
29
|
+
export * from './lib/login/user-login-response.interface';
|
30
|
+
export * from './lib/login/user-login.interface';
|
27
31
|
export * from './lib/page-title/breadcrumb.interface';
|
28
32
|
export * from './lib/page-title/go-back.interface';
|
29
33
|
export * from './lib/page-title/information.interface';
|
@@ -34,9 +38,5 @@ export * from './lib/app-source.interface';
|
|
34
38
|
export * from './lib/box-button.interface';
|
35
39
|
export * from './lib/bulk-load.interface';
|
36
40
|
export * from './lib/coer-ref.interface';
|
37
|
-
export * from './lib/image.interface';
|
38
|
-
export * from './lib/login-response.interface';
|
39
|
-
export * from './lib/login.interface';
|
40
41
|
export * from './lib/option.interface';
|
41
42
|
export * from './lib/screen-size.interface';
|
42
|
-
export * from './lib/toolbar-menu.interface';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "coer-elements",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.6",
|
4
4
|
"author": "Christian Omar Escamilla Rodríguez",
|
5
5
|
"keywords": [
|
6
6
|
"Components",
|
@@ -65,14 +65,14 @@
|
|
65
65
|
"types": "./directives/index.d.ts",
|
66
66
|
"default": "./fesm2022/coer-elements-directives.mjs"
|
67
67
|
},
|
68
|
-
"./guards": {
|
69
|
-
"types": "./guards/index.d.ts",
|
70
|
-
"default": "./fesm2022/coer-elements-guards.mjs"
|
71
|
-
},
|
72
68
|
"./extensions": {
|
73
69
|
"types": "./extensions/index.d.ts",
|
74
70
|
"default": "./fesm2022/coer-elements-extensions.mjs"
|
75
71
|
},
|
72
|
+
"./guards": {
|
73
|
+
"types": "./guards/index.d.ts",
|
74
|
+
"default": "./fesm2022/coer-elements-guards.mjs"
|
75
|
+
},
|
76
76
|
"./interceptors": {
|
77
77
|
"types": "./interceptors/index.d.ts",
|
78
78
|
"default": "./fesm2022/coer-elements-interceptors.mjs"
|
@@ -1,46 +1,55 @@
|
|
1
|
-
import { AfterContentInit, WritableSignal } from '@angular/core';
|
2
|
-
import { IFile, ILogIn, IMenu,
|
1
|
+
import { AfterContentInit, OnDestroy, WritableSignal } from '@angular/core';
|
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
|
+
import { JWTService } from 'coer-elements/services';
|
6
7
|
import * as i0 from "@angular/core";
|
7
|
-
export declare class COERSystem implements AfterContentInit {
|
8
|
-
protected readonly
|
9
|
-
protected
|
10
|
-
protected
|
11
|
-
protected
|
12
|
-
protected
|
13
|
-
protected
|
14
|
-
protected
|
15
|
-
protected
|
16
|
-
protected
|
8
|
+
export declare class COERSystem implements AfterContentInit, OnDestroy {
|
9
|
+
protected readonly _alert: CoerAlert;
|
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>;
|
20
|
+
protected _startJWT$: any;
|
21
|
+
protected _watchJWT$: any;
|
17
22
|
protected _isLoading: WritableSignal<boolean>;
|
18
|
-
protected
|
19
|
-
protected
|
20
|
-
protected
|
21
|
-
protected
|
22
|
-
protected _userRoles: WritableSignal<
|
23
|
-
protected _user: WritableSignal<
|
23
|
+
protected _mainRole: IOption | null;
|
24
|
+
protected _nickname: string;
|
25
|
+
protected _password: string;
|
26
|
+
protected _passwordConfirm: string;
|
27
|
+
protected _userRoles: WritableSignal<IOption[]>;
|
28
|
+
protected _user: WritableSignal<IUserLogin | null>;
|
29
|
+
protected _userImageStatic: string;
|
24
30
|
userImage: import("@angular/core").InputSignal<string | null>;
|
25
|
-
toolbarMenu: import("@angular/core").InputSignal<
|
26
|
-
set user(value:
|
27
|
-
set userRoles(value:
|
31
|
+
toolbarMenu: import("@angular/core").InputSignal<IMenuToolbar[]>;
|
32
|
+
set user(value: IUserLogin | null);
|
33
|
+
set userRoles(value: string[]);
|
28
34
|
set navigation(value: IMenu[]);
|
29
35
|
onLogin: import("@angular/core").OutputEmitterRef<ILogIn>;
|
30
|
-
|
31
|
-
onClickOption: import("@angular/core").OutputEmitterRef<IToolbarMenu>;
|
36
|
+
onClickMenuOption: import("@angular/core").OutputEmitterRef<IMenuToolbar>;
|
32
37
|
onResetPassword: import("@angular/core").OutputEmitterRef<string>;
|
33
|
-
|
38
|
+
onRecoveryPassword: import("@angular/core").OutputEmitterRef<string>;
|
39
|
+
onUpdateProfile: import("@angular/core").OutputEmitterRef<IUserLogin>;
|
34
40
|
onUploadUserImage: import("@angular/core").OutputEmitterRef<IFile>;
|
35
41
|
onDeleteUserImage: import("@angular/core").OutputEmitterRef<void>;
|
42
|
+
onUpdateJWT: import("@angular/core").OutputEmitterRef<void>;
|
36
43
|
protected IsNotNull: (value: any) => boolean;
|
37
44
|
protected IsNotOnlyWhiteSpace: (value: any) => boolean;
|
38
45
|
ngAfterContentInit(): Promise<void>;
|
39
|
-
|
40
|
-
protected
|
41
|
-
protected
|
46
|
+
ngOnDestroy(): void;
|
47
|
+
protected get _enableButtonLogin(): boolean;
|
48
|
+
protected get _profileTitle(): string;
|
49
|
+
protected get _userImage(): string;
|
50
|
+
protected _toolbarMenu: import("@angular/core").Signal<IMenuToolbar[]>;
|
42
51
|
/** */
|
43
|
-
protected
|
52
|
+
protected __SelectedOption(menu: IMenuToolbar): Promise<void>;
|
44
53
|
/** */
|
45
54
|
SetUser(user: string): void;
|
46
55
|
/** */
|
@@ -48,23 +57,33 @@ export declare class COERSystem implements AfterContentInit {
|
|
48
57
|
/** */
|
49
58
|
FocusPassword(): void;
|
50
59
|
/** */
|
51
|
-
protected
|
60
|
+
protected __Focus(): void;
|
52
61
|
/** */
|
53
|
-
protected
|
62
|
+
protected __ResetPassword(): void;
|
54
63
|
/** */
|
55
64
|
CloseModal(): void;
|
56
65
|
/** */
|
57
|
-
Show(view: '
|
66
|
+
Show(view: 'LOGIN' | 'RECOVERY'): void;
|
58
67
|
/** */
|
59
68
|
UpdateProfile(): void;
|
60
69
|
/** */
|
61
|
-
|
70
|
+
protected __UploadImage(images: IFile[]): void;
|
62
71
|
/** */
|
63
|
-
|
72
|
+
protected __DeleteUserImage(): void;
|
64
73
|
/** */
|
65
74
|
OpenSideNav(): void;
|
66
75
|
/** */
|
67
76
|
CloseSideNav(): void;
|
77
|
+
/** */
|
78
|
+
StartJWT(validateEvery?: number, diferenceToUpdate?: number): void;
|
79
|
+
/** */
|
80
|
+
protected _WatchJWT(): void;
|
81
|
+
/** */
|
82
|
+
UpdateJWT(jwt: string): void;
|
83
|
+
/** */
|
84
|
+
StopJWT(): void;
|
85
|
+
/** */
|
86
|
+
UseStaticLogin(): IUserLogin;
|
68
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<COERSystem, never>;
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "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"; "
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<COERSystem, "coer-system", never, { "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"; "onClickMenuOption": "onClickMenuOption"; "onResetPassword": "onResetPassword"; "onRecoveryPassword": "onRecoveryPassword"; "onUpdateProfile": "onUpdateProfile"; "onUploadUserImage": "onUploadUserImage"; "onDeleteUserImage": "onDeleteUserImage"; "onUpdateJWT": "onUpdateJWT"; }, never, ["*"], false, never>;
|
70
89
|
}
|
@@ -3,26 +3,26 @@ import { CoerTextBox } from 'coer-elements/components';
|
|
3
3
|
import { ILogIn } from 'coer-elements/interfaces';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class LoginPage {
|
6
|
-
protected
|
7
|
-
protected
|
8
|
-
protected
|
9
|
-
protected
|
10
|
-
|
11
|
-
protected
|
12
|
-
protected
|
13
|
-
protected
|
14
|
-
protected
|
6
|
+
protected _appName: string;
|
7
|
+
protected _inputUser: import("@angular/core").Signal<CoerTextBox>;
|
8
|
+
protected _inputPassword: import("@angular/core").Signal<CoerTextBox>;
|
9
|
+
protected _inputRecovery: import("@angular/core").Signal<CoerTextBox>;
|
10
|
+
protected _isLoading: WritableSignal<boolean>;
|
11
|
+
protected _user: string;
|
12
|
+
protected _password: string;
|
13
|
+
protected _remember: boolean;
|
14
|
+
protected _show: 'LOGIN' | 'RECOVERY';
|
15
15
|
onLogin: import("@angular/core").OutputEmitterRef<ILogIn>;
|
16
16
|
onRecovery: import("@angular/core").OutputEmitterRef<string>;
|
17
17
|
protected IsNotOnlyWhiteSpace: (value: any) => boolean;
|
18
|
-
protected get
|
19
|
-
protected get
|
18
|
+
protected get _enableButton(): boolean;
|
19
|
+
protected get _enableRecoveryButton(): boolean;
|
20
20
|
/** */
|
21
|
-
protected
|
21
|
+
protected __Login(): void;
|
22
22
|
/** */
|
23
|
-
protected
|
23
|
+
protected __Recovery(): void;
|
24
24
|
/** */
|
25
|
-
Show(view: '
|
25
|
+
Show(view: 'LOGIN' | 'RECOVERY'): Promise<void>;
|
26
26
|
/** */
|
27
27
|
FocusUser(): void;
|
28
28
|
/** */
|
@@ -30,5 +30,5 @@ export declare class LoginPage {
|
|
30
30
|
/** */
|
31
31
|
SetUser(user: string): void;
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginPage, never>;
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoginPage, "login-page", never, {
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginPage, "login-page", never, {}, { "onLogin": "onLogin"; "onRecovery": "onRecovery"; }, never, never, false, never>;
|
34
34
|
}
|
package/styles/coer-elements.css
CHANGED
@@ -480,7 +480,7 @@ div.coer-button button.danger-filled {
|
|
480
480
|
color: var(--smoke) !important;
|
481
481
|
}
|
482
482
|
div.coer-button button.navigation-filled {
|
483
|
-
background-color: var(--
|
483
|
+
background-color: var(--navigation-inner) !important;
|
484
484
|
color: var(--smoke) !important;
|
485
485
|
}
|
486
486
|
div.coer-button button.dark-filled {
|
@@ -515,7 +515,7 @@ div.coer-button button.danger-outline {
|
|
515
515
|
div.coer-button button.navigation-outline {
|
516
516
|
background-color: var(--white) !important;
|
517
517
|
border: 1px solid var(--navigation-inner) !important;
|
518
|
-
color: var(
|
518
|
+
color: var(--navigation-inner) !important;
|
519
519
|
}
|
520
520
|
div.coer-button button.dark-outline {
|
521
521
|
background-color: var(--white) !important;
|
@@ -1,9 +1,10 @@
|
|
1
|
+
import { IUserLoginResponse } from "coer-elements/interfaces";
|
1
2
|
export declare class User {
|
2
3
|
private static readonly storage;
|
3
4
|
/** */
|
4
|
-
static Set
|
5
|
+
static Set(user: IUserLoginResponse): void;
|
5
6
|
/** */
|
6
|
-
static Get
|
7
|
+
static Get(): IUserLoginResponse | null;
|
7
8
|
/** */
|
8
9
|
static LogIn(): boolean;
|
9
10
|
/** */
|
File without changes
|