coer-elements 1.1.9 → 1.1.11
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/fesm2022/coer-elements-services.mjs +2 -2
- package/fesm2022/coer-elements-services.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +170 -330
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/fesm2022/coer-elements.mjs +4 -23
- package/fesm2022/coer-elements.mjs.map +1 -1
- package/index.d.ts +1 -2
- package/package.json +5 -5
- package/services/lib/jwt.service.d.ts +2 -2
@@ -1,34 +1,22 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { NgModule } from '@angular/core';
|
3
|
-
import * as i6 from '@auth0/angular-jwt';
|
4
|
-
import { JwtModule } from '@auth0/angular-jwt';
|
5
3
|
import 'coer-elements/extensions';
|
6
|
-
import {
|
4
|
+
import { CoerAlert } from 'coer-elements/tools';
|
7
5
|
import * as components from 'coer-elements/components';
|
8
6
|
import * as pages from 'coer-elements/pages';
|
9
7
|
import * as directives from 'coer-elements/directives';
|
10
8
|
import * as pipes from 'coer-elements/pipes';
|
11
9
|
import * as services from 'coer-elements/services';
|
12
10
|
|
13
|
-
function TOKEN() {
|
14
|
-
return User.Get()?.jwt || '';
|
15
|
-
}
|
16
11
|
class CoerElementsModule {
|
17
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: CoerElementsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
18
|
-
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, services.ServicesModule, CoerAlert
|
13
|
+
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, services.ServicesModule, CoerAlert], exports: [CoerAlert, pages.COERSystem, pages.CoerMenuPage, pages.HomePage, pages.LoadingPage, 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.CoerDropdown, components.CoerSidenav, components.CoerSwitch, components.CoerTextarea, components.CoerTab, components.CoerTextBox, components.CoerToolbar, directives.CoerRefDirective, directives.LifeCycleDirective, pipes.HtmlPipe, pipes.NoImagePipe, pipes.NumericFormatPipe] }); }
|
19
14
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: CoerElementsModule, imports: [components.ComponentsModule,
|
20
15
|
pages.PagesModule,
|
21
16
|
directives.DirectivesModule,
|
22
17
|
pipes.PipesModule,
|
23
18
|
services.ServicesModule,
|
24
|
-
CoerAlert
|
25
|
-
JwtModule.forRoot({
|
26
|
-
config: {
|
27
|
-
tokenGetter: TOKEN,
|
28
|
-
allowedDomains: [],
|
29
|
-
disallowedRoutes: [],
|
30
|
-
}
|
31
|
-
})] }); }
|
19
|
+
CoerAlert] }); }
|
32
20
|
}
|
33
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: CoerElementsModule, decorators: [{
|
34
22
|
type: NgModule,
|
@@ -39,14 +27,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
|
|
39
27
|
directives.DirectivesModule,
|
40
28
|
pipes.PipesModule,
|
41
29
|
services.ServicesModule,
|
42
|
-
CoerAlert
|
43
|
-
JwtModule.forRoot({
|
44
|
-
config: {
|
45
|
-
tokenGetter: TOKEN,
|
46
|
-
allowedDomains: [],
|
47
|
-
disallowedRoutes: [],
|
48
|
-
}
|
49
|
-
})
|
30
|
+
CoerAlert
|
50
31
|
],
|
51
32
|
exports: [
|
52
33
|
CoerAlert,
|
@@ -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
|
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 { } \r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './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CAAC,kBAAkB;AAC7B,wBAAA,KAAK,CAAC,QAAQ;AACd,wBAAA,KAAK,CAAC,WAAW;AACjB,wBAAA,KAAK,CAAC;AACT;AACJ,iBAAA;;;ACpDD;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
@@ -6,9 +6,8 @@ import * as i3 from "coer-elements/directives";
|
|
6
6
|
import * as i4 from "coer-elements/pipes";
|
7
7
|
import * as i5 from "coer-elements/services";
|
8
8
|
import * as i6 from "coer-elements/tools";
|
9
|
-
import * as i7 from "@auth0/angular-jwt";
|
10
9
|
export declare class CoerElementsModule {
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoerElementsModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoerElementsModule, never, [typeof i1.ComponentsModule, typeof i2.PagesModule, typeof i3.DirectivesModule, typeof i4.PipesModule, typeof i5.ServicesModule, typeof i6.CoerAlert
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoerElementsModule, never, [typeof i1.ComponentsModule, typeof i2.PagesModule, typeof i3.DirectivesModule, typeof i4.PipesModule, typeof i5.ServicesModule, typeof i6.CoerAlert], [typeof i6.CoerAlert, typeof i2.COERSystem, typeof i2.CoerMenuPage, typeof i2.HomePage, typeof i2.LoadingPage, 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.CoerDropdown, 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]>;
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoerElementsModule>;
|
14
13
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "coer-elements",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.11",
|
4
4
|
"author": "Christian Omar Escamilla Rodríguez",
|
5
5
|
"keywords": [
|
6
6
|
"COER",
|
@@ -47,14 +47,14 @@
|
|
47
47
|
"types": "./directives/index.d.ts",
|
48
48
|
"default": "./fesm2022/coer-elements-directives.mjs"
|
49
49
|
},
|
50
|
-
"./guards": {
|
51
|
-
"types": "./guards/index.d.ts",
|
52
|
-
"default": "./fesm2022/coer-elements-guards.mjs"
|
53
|
-
},
|
54
50
|
"./extensions": {
|
55
51
|
"types": "./extensions/index.d.ts",
|
56
52
|
"default": "./fesm2022/coer-elements-extensions.mjs"
|
57
53
|
},
|
54
|
+
"./guards": {
|
55
|
+
"types": "./guards/index.d.ts",
|
56
|
+
"default": "./fesm2022/coer-elements-guards.mjs"
|
57
|
+
},
|
58
58
|
"./interceptors": {
|
59
59
|
"types": "./interceptors/index.d.ts",
|
60
60
|
"default": "./fesm2022/coer-elements-interceptors.mjs"
|
@@ -4,9 +4,9 @@ export declare class JWTService {
|
|
4
4
|
/** */
|
5
5
|
get jwt(): string;
|
6
6
|
/** */
|
7
|
-
get
|
7
|
+
get expirationDate(): string | null;
|
8
8
|
/** */
|
9
|
-
get
|
9
|
+
get isExpired(): boolean;
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<JWTService, never>;
|
11
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<JWTService>;
|
12
12
|
}
|