coer-elements 0.0.78 → 0.0.80
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-sidenav/coer-toolbar/coer-toolbar.component.d.ts +4 -2
- package/fesm2022/coer-elements-components.mjs +27 -21
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-interfaces.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +105 -9
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +67 -13
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/fesm2022/coer-elements.mjs +5 -4
- package/fesm2022/coer-elements.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/interfaces/lib/login.interface.d.ts +4 -0
- package/interfaces/public-api.d.ts +1 -0
- package/package.json +1 -1
- package/pages/lib/coer-system/coer-system.component.d.ts +17 -0
- package/pages/lib/coer-system/login/login.component.d.ts +16 -0
- package/pages/lib/pages.module.d.ts +10 -6
- package/pages/public-api.d.ts +1 -0
- package/tools/lib/user.class.d.ts +13 -0
- package/tools/public-api.d.ts +1 -0
|
@@ -8,7 +8,7 @@ import * as pipes from 'coer-elements/pipes';
|
|
|
8
8
|
|
|
9
9
|
class CoerElementsModule {
|
|
10
10
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: CoerElementsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: CoerElementsModule, imports: [components.ComponentsModule, pages.PagesModule, directives.DirectivesModule, pipes.PipesModule, CoerAlert], exports: [CoerAlert, components.CoerAccordion, components.CoerButton, components.CoerCheckbox, components.CoerDateBox, components.CoerFilebox, components.CoerForm, components.CoerGrid, components.CoerList, components.CoerModal, components.CoerNumberBox, components.CoerPageTitle, components.CoerSelectbox, components.CoerSidenav, components.CoerSwitch, components.CoerTextarea, components.CoerTab, components.CoerTextBox, components.CoerToolbar,
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: CoerElementsModule, imports: [components.ComponentsModule, pages.PagesModule, directives.DirectivesModule, pipes.PipesModule, CoerAlert], exports: [CoerAlert, pages.COERSystem, pages.CoerMenuPage, pages.HomePage, components.CoerAccordion, components.CoerButton, components.CoerCheckbox, components.CoerDateBox, components.CoerFilebox, components.CoerForm, components.CoerGrid, components.CoerList, components.CoerModal, components.CoerNumberBox, components.CoerPageTitle, components.CoerSelectbox, components.CoerSidenav, components.CoerSwitch, components.CoerTextarea, components.CoerTab, components.CoerTextBox, components.CoerToolbar, directives.CoerRefDirective, directives.LifeCycleDirective, pipes.HtmlPipe, pipes.NoImagePipe, pipes.NumericFormatPipe] }); }
|
|
12
12
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: CoerElementsModule, imports: [components.ComponentsModule,
|
|
13
13
|
pages.PagesModule,
|
|
14
14
|
directives.DirectivesModule,
|
|
@@ -23,10 +23,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
|
|
|
23
23
|
pages.PagesModule,
|
|
24
24
|
directives.DirectivesModule,
|
|
25
25
|
pipes.PipesModule,
|
|
26
|
-
CoerAlert
|
|
26
|
+
CoerAlert,
|
|
27
27
|
],
|
|
28
28
|
exports: [
|
|
29
29
|
CoerAlert,
|
|
30
|
+
pages.COERSystem,
|
|
31
|
+
pages.CoerMenuPage,
|
|
32
|
+
pages.HomePage,
|
|
30
33
|
components.CoerAccordion,
|
|
31
34
|
components.CoerButton,
|
|
32
35
|
components.CoerCheckbox,
|
|
@@ -45,8 +48,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
|
|
|
45
48
|
components.CoerTab,
|
|
46
49
|
components.CoerTextBox,
|
|
47
50
|
components.CoerToolbar,
|
|
48
|
-
pages.CoerMenuPage,
|
|
49
|
-
pages.HomePage,
|
|
50
51
|
directives.CoerRefDirective,
|
|
51
52
|
directives.LifeCycleDirective,
|
|
52
53
|
pipes.HtmlPipe,
|
|
@@ -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'
|
|
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\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\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 CoerAlert,\r\n ],\r\n exports: [ \r\n CoerAlert,\r\n pages.COERSystem,\r\n pages.CoerMenuPage,\r\n pages.HomePage, \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.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 { }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ANGED
|
@@ -6,6 +6,6 @@ import * as i4 from "coer-elements/pipes";
|
|
|
6
6
|
import * as i5 from "coer-elements/tools";
|
|
7
7
|
export declare class CoerElementsModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoerElementsModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoerElementsModule, never, [typeof i1.ComponentsModule, typeof i2.PagesModule, typeof i3.DirectivesModule, typeof i4.PipesModule, typeof i5.CoerAlert], [typeof i5.CoerAlert, typeof i1.CoerAccordion, typeof i1.CoerButton, typeof i1.CoerCheckbox, typeof i1.CoerDateBox, typeof i1.CoerFilebox, typeof i1.CoerForm, typeof i1.CoerGrid, typeof i1.CoerList, typeof i1.CoerModal, typeof i1.CoerNumberBox, typeof i1.CoerPageTitle, typeof i1.CoerSelectbox, typeof i1.CoerSidenav, typeof i1.CoerSwitch, typeof i1.CoerTextarea, typeof i1.CoerTab, typeof i1.CoerTextBox, typeof i1.CoerToolbar, typeof
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoerElementsModule, never, [typeof i1.ComponentsModule, typeof i2.PagesModule, typeof i3.DirectivesModule, typeof i4.PipesModule, typeof i5.CoerAlert], [typeof i5.CoerAlert, typeof i2.COERSystem, typeof i2.CoerMenuPage, typeof i2.HomePage, typeof i1.CoerAccordion, typeof i1.CoerButton, typeof i1.CoerCheckbox, typeof i1.CoerDateBox, typeof i1.CoerFilebox, typeof i1.CoerForm, typeof i1.CoerGrid, typeof i1.CoerList, typeof i1.CoerModal, typeof i1.CoerNumberBox, typeof i1.CoerPageTitle, typeof i1.CoerSelectbox, typeof i1.CoerSidenav, typeof i1.CoerSwitch, typeof i1.CoerTextarea, typeof i1.CoerTab, typeof i1.CoerTextBox, typeof i1.CoerToolbar, typeof i3.CoerRefDirective, typeof i3.LifeCycleDirective, typeof i4.HtmlPipe, typeof i4.NoImagePipe, typeof i4.NumericFormatPipe]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoerElementsModule>;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ILogin, IMenu } from 'coer-elements/interfaces';
|
|
2
|
+
import { CoerSidenav } from 'coer-elements/components';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class COERSystem {
|
|
5
|
+
protected sidenav: import("@angular/core").Signal<CoerSidenav>;
|
|
6
|
+
protected title: string;
|
|
7
|
+
appName: import("@angular/core").InputSignal<string>;
|
|
8
|
+
user: import("@angular/core").InputSignal<any>;
|
|
9
|
+
image: import("@angular/core").InputSignal<string | null>;
|
|
10
|
+
set navigation(value: IMenu[]);
|
|
11
|
+
onLogin: import("@angular/core").OutputEmitterRef<ILogin>;
|
|
12
|
+
protected IsNotNull: <T>(value: T | null | undefined) => boolean;
|
|
13
|
+
/** */
|
|
14
|
+
protected Login(login: ILogin): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<COERSystem, 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>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import { ILogin } from 'coer-elements/interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LoginPage {
|
|
5
|
+
protected isLoading: WritableSignal<boolean>;
|
|
6
|
+
title: import("@angular/core").InputSignal<string>;
|
|
7
|
+
protected user: string;
|
|
8
|
+
protected password: string;
|
|
9
|
+
onLogin: import("@angular/core").OutputEmitterRef<ILogin>;
|
|
10
|
+
protected IsNotOnlyWhiteSpace: <T>(value: T | null | undefined) => boolean;
|
|
11
|
+
protected get enableButton(): boolean;
|
|
12
|
+
/** */
|
|
13
|
+
protected Login(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginPage, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginPage, "login-page", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "onLogin": "onLogin"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./coer-
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
2
|
+
import * as i1 from "./coer-system/coer-system.component";
|
|
3
|
+
import * as i2 from "./coer-system/login/login.component";
|
|
4
|
+
import * as i3 from "./coer-menu/coer-menu.component";
|
|
5
|
+
import * as i4 from "./home/home.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/router";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
9
|
+
import * as i8 from "coer-elements/components";
|
|
10
|
+
import * as i9 from "coer-elements/tools";
|
|
7
11
|
export declare const ROUTES: any;
|
|
8
12
|
export declare class PagesModule {
|
|
9
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PagesModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PagesModule, [typeof i1.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PagesModule, [typeof i1.COERSystem, typeof i2.LoginPage, typeof i3.CoerMenuPage, typeof i4.HomePage], [typeof i5.CommonModule, typeof i6.RouterModule, typeof i7.FormsModule, typeof i8.ComponentsModule, typeof i9.CoerAlert], [typeof i1.COERSystem, typeof i3.CoerMenuPage, typeof i4.HomePage]>;
|
|
11
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<PagesModule>;
|
|
12
16
|
}
|
package/pages/public-api.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class User {
|
|
2
|
+
private static readonly storage;
|
|
3
|
+
/** */
|
|
4
|
+
static Set<T>(user: T, jwt: string): void;
|
|
5
|
+
/** */
|
|
6
|
+
static Get<T>(): T | null;
|
|
7
|
+
/** */
|
|
8
|
+
static GetJWT(): string | null;
|
|
9
|
+
/** */
|
|
10
|
+
static LogIn(): boolean;
|
|
11
|
+
/** */
|
|
12
|
+
static LogOut(): void;
|
|
13
|
+
}
|
package/tools/public-api.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './lib/colors.class';
|
|
|
5
5
|
export * from './lib/control-value.class';
|
|
6
6
|
export * from './lib/date-time.class';
|
|
7
7
|
export * from './lib/files.class';
|
|
8
|
+
export * from './lib/user.class';
|
|
8
9
|
export * from './lib/filters.class';
|
|
9
10
|
export * from './lib/menu.class';
|
|
10
11
|
export * from './lib/page.class';
|