auth-monitorias-uniandes 0.1.2-beta.6 → 0.1.2-beta.60
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/lib/{build/app.component.d.ts → app.component.d.ts} +4 -1
- package/lib/{build/app.component.js → app.component.js} +10 -2
- package/lib/app.component.js.map +1 -0
- package/lib/{build/app.component.metadata.json → app.component.metadata.json} +1 -1
- package/lib/{build/app.module.js → app.module.js} +14 -10
- package/lib/app.module.js.map +1 -0
- package/lib/app.module.metadata.json +1 -0
- package/lib/auth-monitorias/auth-monitorias.module.d.ts +5 -0
- package/lib/{build/auth-monitorias → auth-monitorias}/auth-monitorias.module.js +17 -3
- package/lib/auth-monitorias/auth-monitorias.module.js.map +1 -0
- package/lib/auth-monitorias/auth-monitorias.module.metadata.json +1 -0
- package/lib/auth-monitorias/common/SearchPersonParams.model.d.ts +11 -0
- package/lib/auth-monitorias/common/SearchPersonParams.model.js +9 -0
- package/lib/auth-monitorias/common/SearchPersonParams.model.js.map +1 -0
- package/lib/auth-monitorias/common/SearchPersonParams.model.metadata.json +1 -0
- package/lib/auth-monitorias/common/constants.js.map +1 -0
- package/lib/auth-monitorias/common/currentUser.model.js.map +1 -0
- package/lib/auth-monitorias/common/enviromentOptions.d.ts +7 -0
- package/lib/auth-monitorias/common/enviromentOptions.js +9 -0
- package/lib/auth-monitorias/common/enviromentOptions.js.map +1 -0
- package/lib/auth-monitorias/common/enviromentOptions.metadata.json +1 -0
- package/lib/auth-monitorias/common/login.model.js.map +1 -0
- package/lib/auth-monitorias/common/mock.js.map +1 -0
- package/lib/auth-monitorias/common/person.model.d.ts +13 -0
- package/lib/auth-monitorias/common/person.model.js +9 -0
- package/lib/auth-monitorias/common/person.model.js.map +1 -0
- package/lib/auth-monitorias/common/person.model.metadata.json +1 -0
- package/lib/auth-monitorias/common/roles-type.enum.js.map +1 -0
- package/lib/auth-monitorias/common/safe.pipe.js.map +1 -0
- package/lib/auth-monitorias/directives/hide-for-roles.directive.js.map +1 -0
- package/lib/auth-monitorias/directives/read-only-for-roles.directive.js.map +1 -0
- package/lib/auth-monitorias/directives/show-for-roles.directive.js.map +1 -0
- package/lib/{build/auth-monitorias → auth-monitorias}/index.d.ts +1 -1
- package/lib/{build/auth-monitorias → auth-monitorias}/index.js +1 -1
- package/lib/auth-monitorias/index.js.map +1 -0
- package/lib/{build/auth-monitorias → auth-monitorias}/index.metadata.json +1 -1
- package/lib/auth-monitorias/interceptors/auth.interceptor.d.ts +8 -0
- package/lib/auth-monitorias/interceptors/auth.interceptor.js +26 -0
- package/lib/auth-monitorias/interceptors/auth.interceptor.js.map +1 -0
- package/lib/auth-monitorias/interceptors/auth.interceptor.metadata.json +1 -0
- package/lib/{build/auth-monitorias → auth-monitorias}/services/auth-guard.service.js +3 -1
- package/lib/auth-monitorias/services/auth-guard.service.js.map +1 -0
- package/lib/auth-monitorias/services/auth-guard.service.metadata.json +1 -0
- package/lib/auth-monitorias/services/auth-locator.service.d.ts +13 -0
- package/lib/auth-monitorias/services/auth-locator.service.js +60 -0
- package/lib/auth-monitorias/services/auth-locator.service.js.map +1 -0
- package/lib/auth-monitorias/services/auth-locator.service.metadata.json +1 -0
- package/lib/auth-monitorias/services/auth-resolver.service.js.map +1 -0
- package/lib/{build/auth-monitorias → auth-monitorias}/services/auth.service.d.ts +30 -2
- package/lib/{build/auth-monitorias → auth-monitorias}/services/auth.service.js +103 -8
- package/lib/auth-monitorias/services/auth.service.js.map +1 -0
- package/lib/auth-monitorias/services/auth.service.metadata.json +1 -0
- package/lib/constants.d.ts +2 -0
- package/lib/{build/constants.js → constants.js} +1 -0
- package/lib/constants.js.map +1 -0
- package/lib/{build/constants.metadata.json → constants.metadata.json} +1 -1
- package/lib/encryption/encryption.module.d.ts +2 -0
- package/lib/encryption/encryption.module.js +18 -0
- package/lib/encryption/encryption.module.js.map +1 -0
- package/lib/encryption/encryption.module.metadata.json +1 -0
- package/lib/encryption/index.d.ts +3 -0
- package/lib/encryption/index.js +9 -0
- package/lib/encryption/index.js.map +1 -0
- package/lib/encryption/index.metadata.json +1 -0
- package/lib/encryption/interceptors/encryption.interceptor.d.ts +12 -0
- package/lib/encryption/interceptors/encryption.interceptor.js +109 -0
- package/lib/encryption/interceptors/encryption.interceptor.js.map +1 -0
- package/lib/encryption/interceptors/encryption.interceptor.metadata.json +1 -0
- package/lib/encryption/rsa-public-key.d.ts +2 -0
- package/lib/encryption/rsa-public-key.js +5 -0
- package/lib/encryption/rsa-public-key.js.map +1 -0
- package/lib/encryption/rsa-public-key.metadata.json +1 -0
- package/lib/encryption/services/encryption.service.d.ts +13 -0
- package/lib/encryption/services/encryption.service.js +211 -0
- package/lib/encryption/services/encryption.service.js.map +1 -0
- package/lib/encryption/services/encryption.service.metadata.json +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/{build/index.js → index.js} +2 -0
- package/lib/index.js.map +1 -0
- package/lib/index.metadata.json +1 -0
- package/lib/session-models-monitorias/index.d.ts +4 -0
- package/lib/session-models-monitorias/index.js +10 -0
- package/lib/session-models-monitorias/index.js.map +1 -0
- package/lib/session-models-monitorias/index.metadata.json +1 -0
- package/lib/session-models-monitorias/models/dependency.model.d.ts +10 -0
- package/lib/session-models-monitorias/models/dependency.model.js +9 -0
- package/lib/session-models-monitorias/models/dependency.model.js.map +1 -0
- package/lib/session-models-monitorias/models/dependency.model.metadata.json +1 -0
- package/lib/session-models-monitorias/models/program.model.d.ts +10 -0
- package/lib/session-models-monitorias/models/program.model.js +10 -0
- package/lib/session-models-monitorias/models/program.model.js.map +1 -0
- package/lib/session-models-monitorias/models/program.model.metadata.json +1 -0
- package/lib/session-models-monitorias/services/session-program-monitoria.service.d.ts +46 -0
- package/lib/session-models-monitorias/services/session-program-monitoria.service.js +161 -0
- package/lib/session-models-monitorias/services/session-program-monitoria.service.js.map +1 -0
- package/lib/session-models-monitorias/services/session-program-monitoria.service.metadata.json +1 -0
- package/lib/session-models-monitorias/session-models-monitorias.module.d.ts +2 -0
- package/lib/session-models-monitorias/session-models-monitorias.module.js +22 -0
- package/lib/session-models-monitorias/session-models-monitorias.module.js.map +1 -0
- package/lib/session-models-monitorias/session-models-monitorias.module.metadata.json +1 -0
- package/package.json +5 -5
- package/lib/build/app.component.js.map +0 -1
- package/lib/build/app.module.js.map +0 -1
- package/lib/build/app.module.metadata.json +0 -1
- package/lib/build/auth-monitorias/auth-monitorias.module.d.ts +0 -2
- package/lib/build/auth-monitorias/auth-monitorias.module.js.map +0 -1
- package/lib/build/auth-monitorias/auth-monitorias.module.metadata.json +0 -1
- package/lib/build/auth-monitorias/common/constants.js.map +0 -1
- package/lib/build/auth-monitorias/common/currentUser.model.js.map +0 -1
- package/lib/build/auth-monitorias/common/login.model.js.map +0 -1
- package/lib/build/auth-monitorias/common/mock.js.map +0 -1
- package/lib/build/auth-monitorias/common/roles-type.enum.js.map +0 -1
- package/lib/build/auth-monitorias/common/safe.pipe.js.map +0 -1
- package/lib/build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.d.ts +0 -22
- package/lib/build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.js +0 -66
- package/lib/build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.js.map +0 -1
- package/lib/build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.metadata.json +0 -1
- package/lib/build/auth-monitorias/components/idlelogout/idlelogout.module.d.ts +0 -2
- package/lib/build/auth-monitorias/components/idlelogout/idlelogout.module.js +0 -23
- package/lib/build/auth-monitorias/components/idlelogout/idlelogout.module.js.map +0 -1
- package/lib/build/auth-monitorias/components/idlelogout/idlelogout.module.metadata.json +0 -1
- package/lib/build/auth-monitorias/components/idlelogout/index.d.ts +0 -2
- package/lib/build/auth-monitorias/components/idlelogout/index.js +0 -8
- package/lib/build/auth-monitorias/components/idlelogout/index.js.map +0 -1
- package/lib/build/auth-monitorias/components/idlelogout/index.metadata.json +0 -1
- package/lib/build/auth-monitorias/directives/hide-for-roles.directive.js.map +0 -1
- package/lib/build/auth-monitorias/directives/read-only-for-roles.directive.js.map +0 -1
- package/lib/build/auth-monitorias/directives/show-for-roles.directive.js.map +0 -1
- package/lib/build/auth-monitorias/index.js.map +0 -1
- package/lib/build/auth-monitorias/services/auth-guard.service.js.map +0 -1
- package/lib/build/auth-monitorias/services/auth-guard.service.metadata.json +0 -1
- package/lib/build/auth-monitorias/services/auth-locator.service.d.ts +0 -7
- package/lib/build/auth-monitorias/services/auth-locator.service.js +0 -41
- package/lib/build/auth-monitorias/services/auth-locator.service.js.map +0 -1
- package/lib/build/auth-monitorias/services/auth-locator.service.metadata.json +0 -1
- package/lib/build/auth-monitorias/services/auth-resolver.service.js.map +0 -1
- package/lib/build/auth-monitorias/services/auth.service.js.map +0 -1
- package/lib/build/auth-monitorias/services/auth.service.metadata.json +0 -1
- package/lib/build/constants.d.ts +0 -1
- package/lib/build/constants.js.map +0 -1
- package/lib/build/index.d.ts +0 -1
- package/lib/build/index.js.map +0 -1
- package/lib/build/index.metadata.json +0 -1
- package/lib/node_modules/angular-user-idle/user-idle.config.d.ts +0 -14
- package/lib/node_modules/angular-user-idle/user-idle.config.js +0 -9
- package/lib/node_modules/angular-user-idle/user-idle.config.js.map +0 -1
- package/lib/node_modules/angular-user-idle/user-idle.config.metadata.json +0 -1
- package/lib/node_modules/angular-user-idle/user-idle.module.d.ts +0 -8
- package/lib/node_modules/angular-user-idle/user-idle.module.js +0 -28
- package/lib/node_modules/angular-user-idle/user-idle.module.js.map +0 -1
- package/lib/node_modules/angular-user-idle/user-idle.module.metadata.json +0 -1
- package/lib/node_modules/angular-user-idle/user-idle.service.d.ts +0 -72
- package/lib/node_modules/angular-user-idle/user-idle.service.js +0 -185
- package/lib/node_modules/angular-user-idle/user-idle.service.js.map +0 -1
- package/lib/node_modules/angular-user-idle/user-idle.service.metadata.json +0 -1
- /package/lib/{build/app.module.d.ts → app.module.d.ts} +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/constants.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/constants.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/constants.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/currentUser.model.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/currentUser.model.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/currentUser.model.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/login.model.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/login.model.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/login.model.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/mock.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/mock.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/mock.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/roles-type.enum.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/roles-type.enum.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/roles-type.enum.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/safe.pipe.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/safe.pipe.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/common/safe.pipe.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/hide-for-roles.directive.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/hide-for-roles.directive.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/hide-for-roles.directive.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/read-only-for-roles.directive.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/read-only-for-roles.directive.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/read-only-for-roles.directive.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/show-for-roles.directive.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/show-for-roles.directive.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/directives/show-for-roles.directive.metadata.json +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/services/auth-guard.service.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/services/auth-resolver.service.d.ts +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/services/auth-resolver.service.js +0 -0
- /package/lib/{build/auth-monitorias → auth-monitorias}/services/auth-resolver.service.metadata.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encryption.service.js","sourceRoot":"","sources":["../../../build/encryption/services/encryption.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sCAA2C;;;;IAOvC,iDAAiD;;IACnC,6CAAiB;;IAA/B;;;gBACI,sBAAO,MAAM,CAAC,MAAM,CAAC,WAAW,CAC5B,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,EAChC,IAAI,EACJ,CAAC,SAAS,EAAE,SAAS,CAAC,CACzB,EAAC;;;KACL;IAED,6EAA6E;;IACrE,4CAAgB;;IAAxB;QACI,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,EAAE,CAAC,CAAe,CAAC;KACnE;IAED,iEAAiE;;IACnD,kDAAsB;;IAApC,UAAqC,MAAiB,EAAE,EAAc,EAAE,KAAmC;;;;gBACjG,MAAM,GAAG,MAAM,CAAC,MAAa,CAAC;gBAC9B,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;gBAC5B,aAAa,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAA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|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"EncryptionService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"generateAesGcmKey":[{"__symbolic":"method"}],"generateAesGcmIv":[{"__symbolic":"method"}],"encryptValueWithAesGcm":[{"__symbolic":"method"}],"exportAesKeyToRaw":[{"__symbolic":"method"}],"pemPublicKeyToArrayBuffer":[{"__symbolic":"method"}],"importRsaOaepPublicKey":[{"__symbolic":"method"}],"encryptAesKeyWithRsaOaep":[{"__symbolic":"method"}],"encodeBase64Url":[{"__symbolic":"method"}],"buildEncryptedToken":[{"__symbolic":"method"}],"safeExecute":[{"__symbolic":"method"}],"encryptValue":[{"__symbolic":"method"}]}}}}]
|
package/lib/index.d.ts
ADDED
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../build/index.ts"],"names":[],"mappings":";;;;;AAAA,uCAAiC;AACjC,iDAA2C;AAC3C,kCAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./auth-monitorias"},{"from":"./session-models-monitorias"},{"from":"./encryption"}]}]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
function __export(m) {
|
|
3
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
4
|
+
}
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
__export(require("./session-models-monitorias.module"));
|
|
7
|
+
__export(require("./models/dependency.model"));
|
|
8
|
+
__export(require("./models/program.model"));
|
|
9
|
+
__export(require("./services/session-program-monitoria.service"));
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../build/session-models-monitorias/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAAkD;AAClD,+CAAyC;AACzC,4CAAsC;AACtC,kEAA4D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./session-models-monitorias.module"},{"from":"./models/dependency.model"},{"from":"./models/program.model"},{"from":"./services/session-program-monitoria.service"}]}]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var DependencyModel = /** @class */ (function () {
|
|
4
|
+
function DependencyModel() {
|
|
5
|
+
}
|
|
6
|
+
return DependencyModel;
|
|
7
|
+
}());
|
|
8
|
+
exports.DependencyModel = DependencyModel;
|
|
9
|
+
//# sourceMappingURL=dependency.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependency.model.js","sourceRoot":"","sources":["../../../build/session-models-monitorias/models/dependency.model.ts"],"names":[],"mappings":";;AAAA,IAAA;IAUI;KAAiB;0BAVrB;IAYC,CAAA;AAZY,0CAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"DependencyModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}]}}}}]
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var ProgramModel = /** @class */ (function () {
|
|
4
|
+
//TODO
|
|
5
|
+
function ProgramModel() {
|
|
6
|
+
}
|
|
7
|
+
return ProgramModel;
|
|
8
|
+
}());
|
|
9
|
+
exports.ProgramModel = ProgramModel;
|
|
10
|
+
//# sourceMappingURL=program.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"program.model.js","sourceRoot":"","sources":["../../../build/session-models-monitorias/models/program.model.ts"],"names":[],"mappings":";;AAEA,IAAA;IAQI,MAAM;IACN;KAAiB;uBAXrB;IAaC,CAAA;AAXY,oCAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"ProgramModel":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}]}}}}]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs/Observable';
|
|
3
|
+
import 'rxjs/add/operator/map';
|
|
4
|
+
import 'rxjs/add/operator/catch';
|
|
5
|
+
import { ProgramModel } from '../models/program.model';
|
|
6
|
+
export declare class SessionProgramMonitoriaService {
|
|
7
|
+
private http;
|
|
8
|
+
private onProgramChanges;
|
|
9
|
+
private currentProgramChanges;
|
|
10
|
+
constructor(http: HttpClient);
|
|
11
|
+
/**
|
|
12
|
+
* Add storage event listener
|
|
13
|
+
*/
|
|
14
|
+
private start();
|
|
15
|
+
/**
|
|
16
|
+
* Remove storage listener and observer current program
|
|
17
|
+
*/
|
|
18
|
+
private stop();
|
|
19
|
+
/**
|
|
20
|
+
* Destroy observer and storage event
|
|
21
|
+
*/
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Get current Program by session from monitorias
|
|
25
|
+
*/
|
|
26
|
+
getCurrentProgram(): Observable<ProgramModel>;
|
|
27
|
+
/**
|
|
28
|
+
* Save current program in LS - Save it only if new program change!
|
|
29
|
+
* @param currentProgram
|
|
30
|
+
*/
|
|
31
|
+
saveCurrentProgram(currentProgram: ProgramModel): void;
|
|
32
|
+
/**
|
|
33
|
+
* Delete current program in LS
|
|
34
|
+
*/
|
|
35
|
+
deleteCurrentProgram(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Emits storage changes by Subject
|
|
38
|
+
* @param event
|
|
39
|
+
*/
|
|
40
|
+
private storageEventListener(event);
|
|
41
|
+
/**
|
|
42
|
+
* Handler error
|
|
43
|
+
* @param error
|
|
44
|
+
*/
|
|
45
|
+
private handleError(error);
|
|
46
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var core_1 = require("@angular/core");
|
|
4
|
+
var http_1 = require("@angular/common/http");
|
|
5
|
+
var BehaviorSubject_1 = require("rxjs/BehaviorSubject");
|
|
6
|
+
require("rxjs/add/operator/map");
|
|
7
|
+
require("rxjs/add/operator/catch");
|
|
8
|
+
var ErrorObservable_1 = require("rxjs/observable/ErrorObservable");
|
|
9
|
+
var constants_1 = require("../../constants");
|
|
10
|
+
var SessionProgramMonitoriaService = /** @class */ (function () {
|
|
11
|
+
function SessionProgramMonitoriaService(http) {
|
|
12
|
+
this.http = http;
|
|
13
|
+
this.start();
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Add storage event listener
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Add storage event listener
|
|
20
|
+
*/
|
|
21
|
+
SessionProgramMonitoriaService.prototype.start = /**
|
|
22
|
+
* Add storage event listener
|
|
23
|
+
*/
|
|
24
|
+
function () {
|
|
25
|
+
var programLS = JSON.parse(localStorage.getItem(constants_1.LOCALSTORAGEPROGRAM));
|
|
26
|
+
window.addEventListener("storage", this.storageEventListener.bind(this));
|
|
27
|
+
this.onProgramChanges = new BehaviorSubject_1.BehaviorSubject(programLS);
|
|
28
|
+
this.currentProgramChanges = this.onProgramChanges.asObservable();
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Remove storage listener and observer current program
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Remove storage listener and observer current program
|
|
35
|
+
*/
|
|
36
|
+
SessionProgramMonitoriaService.prototype.stop = /**
|
|
37
|
+
* Remove storage listener and observer current program
|
|
38
|
+
*/
|
|
39
|
+
function () {
|
|
40
|
+
window.removeEventListener("storage", this.storageEventListener.bind(this));
|
|
41
|
+
this.onProgramChanges.unsubscribe();
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Destroy observer and storage event
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* Destroy observer and storage event
|
|
48
|
+
*/
|
|
49
|
+
SessionProgramMonitoriaService.prototype.ngOnDestroy = /**
|
|
50
|
+
* Destroy observer and storage event
|
|
51
|
+
*/
|
|
52
|
+
function () {
|
|
53
|
+
this.stop();
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Get current Program by session from monitorias
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Get current Program by session from monitorias
|
|
60
|
+
*/
|
|
61
|
+
SessionProgramMonitoriaService.prototype.getCurrentProgram = /**
|
|
62
|
+
* Get current Program by session from monitorias
|
|
63
|
+
*/
|
|
64
|
+
function () {
|
|
65
|
+
return this.currentProgramChanges.catch(this.handleError);
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Save current program in LS - Save it only if new program change!
|
|
69
|
+
* @param currentProgram
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* Save current program in LS - Save it only if new program change!
|
|
73
|
+
* @param currentProgram
|
|
74
|
+
*/
|
|
75
|
+
SessionProgramMonitoriaService.prototype.saveCurrentProgram = /**
|
|
76
|
+
* Save current program in LS - Save it only if new program change!
|
|
77
|
+
* @param currentProgram
|
|
78
|
+
*/
|
|
79
|
+
function (currentProgram) {
|
|
80
|
+
var programLS = JSON.parse(localStorage.getItem(constants_1.LOCALSTORAGEPROGRAM));
|
|
81
|
+
if (programLS) {
|
|
82
|
+
if (JSON.stringify(programLS) != JSON.stringify(currentProgram)) {
|
|
83
|
+
localStorage.setItem(constants_1.LOCALSTORAGEPROGRAM, JSON.stringify(currentProgram));
|
|
84
|
+
this.onProgramChanges.next(currentProgram);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
localStorage.setItem(constants_1.LOCALSTORAGEPROGRAM, JSON.stringify(currentProgram));
|
|
89
|
+
this.onProgramChanges.next(currentProgram);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Delete current program in LS
|
|
94
|
+
*/
|
|
95
|
+
/**
|
|
96
|
+
* Delete current program in LS
|
|
97
|
+
*/
|
|
98
|
+
SessionProgramMonitoriaService.prototype.deleteCurrentProgram = /**
|
|
99
|
+
* Delete current program in LS
|
|
100
|
+
*/
|
|
101
|
+
function () {
|
|
102
|
+
localStorage.removeItem(constants_1.LOCALSTORAGEPROGRAM);
|
|
103
|
+
this.onProgramChanges.next(null);
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Emits storage changes by Subject
|
|
107
|
+
* @param event
|
|
108
|
+
*/
|
|
109
|
+
/**
|
|
110
|
+
* Emits storage changes by Subject
|
|
111
|
+
* @param event
|
|
112
|
+
*/
|
|
113
|
+
SessionProgramMonitoriaService.prototype.storageEventListener = /**
|
|
114
|
+
* Emits storage changes by Subject
|
|
115
|
+
* @param event
|
|
116
|
+
*/
|
|
117
|
+
function (event) {
|
|
118
|
+
if (event.storageArea.getItem('currentProgram') == localStorage.getItem(constants_1.LOCALSTORAGEPROGRAM)) {
|
|
119
|
+
var newCurrentProgram = void 0;
|
|
120
|
+
try {
|
|
121
|
+
newCurrentProgram = JSON.parse(event.newValue);
|
|
122
|
+
}
|
|
123
|
+
catch (e) {
|
|
124
|
+
newCurrentProgram = event.newValue;
|
|
125
|
+
}
|
|
126
|
+
this.onProgramChanges.next(newCurrentProgram);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Handler error
|
|
131
|
+
* @param error
|
|
132
|
+
*/
|
|
133
|
+
/**
|
|
134
|
+
* Handler error
|
|
135
|
+
* @param error
|
|
136
|
+
*/
|
|
137
|
+
SessionProgramMonitoriaService.prototype.handleError = /**
|
|
138
|
+
* Handler error
|
|
139
|
+
* @param error
|
|
140
|
+
*/
|
|
141
|
+
function (error) {
|
|
142
|
+
if (error.error instanceof ErrorEvent) {
|
|
143
|
+
console.error('An error occurred:', error.error.message);
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
console.error("Backend returned code " + error.status);
|
|
147
|
+
}
|
|
148
|
+
return new ErrorObservable_1.ErrorObservable(error);
|
|
149
|
+
};
|
|
150
|
+
;
|
|
151
|
+
SessionProgramMonitoriaService.decorators = [
|
|
152
|
+
{ type: core_1.Injectable },
|
|
153
|
+
];
|
|
154
|
+
/** @nocollapse */
|
|
155
|
+
SessionProgramMonitoriaService.ctorParameters = function () { return [
|
|
156
|
+
{ type: http_1.HttpClient, },
|
|
157
|
+
]; };
|
|
158
|
+
return SessionProgramMonitoriaService;
|
|
159
|
+
}());
|
|
160
|
+
exports.SessionProgramMonitoriaService = SessionProgramMonitoriaService;
|
|
161
|
+
//# sourceMappingURL=session-program-monitoria.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-program-monitoria.service.js","sourceRoot":"","sources":["../../../build/session-models-monitorias/services/session-program-monitoria.service.ts"],"names":[],"mappings":";;AAAA,sCAA2C;AAC3C,6CAAqE;AAErE,wDAAuD;AACvD,iCAA+B;AAC/B,mCAAgC;AAChC,mEAAkE;AAClE,6CAAsD;;IAWpD,wCAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;QAClC,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;IAED;;OAEG;;;;IACK,8CAAK;;;IAAb;QACE,IAAI,SAAS,GAAiB,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,+BAAmB,CAAC,CAAC,CAAC;QACpF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACzE,IAAI,CAAC,gBAAgB,GAAG,IAAI,iCAAe,CAAe,SAAS,CAAC,CAAC;QACrE,IAAI,CAAC,qBAAqB,GAAG,IAAI,CA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IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAClC;IAGD;;;OAGG;;;;;IACK,6DAAoB;;;;IAA5B,UAA6B,KAAmB;QAC9C,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,YAAY,CAAC,OAAO,CAAC,+BAAmB,CAAC,CAAC,CAAC,CAAC;YAC7F,IAAI,iBAAiB,SAAA,CAAC;YACtB,IAAI,CAAC;gBAAC,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;aAAE;YACvD,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;gBAAC,iBAAiB,GAAG,KAAK,CAAC,QAAQ,CAAC;aAAE;YACjD,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SAC/C;KACF;IAED;;;OAGG;;;;;IACK,oDAAW;;;;IAAnB,UAAoB,KAAwB;QAC1C,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,YAAY,UAAU,CAAC,CAAC,CAAC;YACtC,OAAO,CAAC,KAAK,CAAC,oBAAoB,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;SAC1D;QAAC,IAAI,CAAC,CAAC;YACN,OAAO,CAAC,KAAK,CAAC,2BAAyB,KAAK,CAAC,MAAQ,CAAC,CAAC;SACxD;QACD,MAAM,CAAC,IAAI,iCAAe,CAAC,KAAK,CAAC,CAAC;KACnC;IAAA,CAAC;;gBA7FH,iBAAU;;;;gBAXF,iBAAU;;yCADnB;;AAaa,wEAA8B"}
|
package/lib/session-models-monitorias/services/session-program-monitoria.service.metadata.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"SessionProgramMonitoriaService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":18,"character":28}]}],"start":[{"__symbolic":"method"}],"stop":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getCurrentProgram":[{"__symbolic":"method"}],"saveCurrentProgram":[{"__symbolic":"method"}],"deleteCurrentProgram":[{"__symbolic":"method"}],"storageEventListener":[{"__symbolic":"method"}],"handleError":[{"__symbolic":"method"}]}}}}]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var core_1 = require("@angular/core");
|
|
4
|
+
var common_1 = require("@angular/common");
|
|
5
|
+
var session_program_monitoria_service_1 = require("./services/session-program-monitoria.service");
|
|
6
|
+
var SessionModelsMonitoriasModule = /** @class */ (function () {
|
|
7
|
+
function SessionModelsMonitoriasModule() {
|
|
8
|
+
}
|
|
9
|
+
SessionModelsMonitoriasModule.decorators = [
|
|
10
|
+
{ type: core_1.NgModule, args: [{
|
|
11
|
+
imports: [
|
|
12
|
+
common_1.CommonModule
|
|
13
|
+
],
|
|
14
|
+
declarations: [],
|
|
15
|
+
providers: [session_program_monitoria_service_1.SessionProgramMonitoriaService],
|
|
16
|
+
exports: [],
|
|
17
|
+
},] },
|
|
18
|
+
];
|
|
19
|
+
return SessionModelsMonitoriasModule;
|
|
20
|
+
}());
|
|
21
|
+
exports.SessionModelsMonitoriasModule = SessionModelsMonitoriasModule;
|
|
22
|
+
//# sourceMappingURL=session-models-monitorias.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-models-monitorias.module.js","sourceRoot":"","sources":["../../build/session-models-monitorias/session-models-monitorias.module.ts"],"names":[],"mappings":";;AAAA,sCAAyC;AACzC,0CAA+C;AAC/C,kGAA8F;;;;;gBAE7F,eAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,qBAAY;qBACb;oBACD,YAAY,EAAE,EAAE;oBAChB,SAAS,EAAE,CAAC,kEAA8B,CAAC;oBAC3C,OAAO,EAAE,EAAE;iBACZ;;wCAXD;;AAYa,sEAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"SessionModelsMonitoriasModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[],"providers":[{"__symbolic":"reference","module":"./services/session-program-monitoria.service","name":"SessionProgramMonitoriaService","line":9,"character":14}],"exports":[]}]}]}}}]
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "auth-monitorias-uniandes",
|
|
3
|
-
"version": "0.1.2-beta.
|
|
3
|
+
"version": "0.1.2-beta.60",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Jhonatan A, Edgar S"
|
|
7
7
|
],
|
|
8
8
|
"scripts": {
|
|
9
9
|
"ng": "ng",
|
|
10
|
-
"start": "ng serve",
|
|
10
|
+
"start": "ng serve --prod --proxy-config proxy.conf.json",
|
|
11
11
|
"build": "ng build --prod",
|
|
12
12
|
"test": "ng test",
|
|
13
13
|
"lint": "ng lint",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@angular/platform-browser": "^5.2.11",
|
|
33
33
|
"@angular/platform-browser-dynamic": "^5.2.11",
|
|
34
34
|
"@angular/router": "^5.2.11",
|
|
35
|
-
"angular-user-idle": "1.1.0",
|
|
36
35
|
"bootstrap": "^4.0.0",
|
|
37
36
|
"core-js": "^2.4.1",
|
|
38
37
|
"natives": "^1.1.6",
|
|
39
38
|
"ngx-bootstrap": "^2.0.2",
|
|
40
39
|
"rxjs": "^5.5.6",
|
|
41
|
-
"zone.js": "^0.8.19"
|
|
40
|
+
"zone.js": "^0.8.19",
|
|
41
|
+
"crypto-js": "^3.2.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@angular/cli": "1.6.5",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@types/jasminewd2": "~2.0.2",
|
|
50
50
|
"@types/node": "~6.0.60",
|
|
51
51
|
"codelyzer": "^4.0.1",
|
|
52
|
-
"gulp": "
|
|
52
|
+
"gulp": "4.0.2",
|
|
53
53
|
"gulp-inline-ng2-template": "^4.1.0",
|
|
54
54
|
"jasmine-core": "~2.8.0",
|
|
55
55
|
"jasmine-spec-reporter": "~4.2.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.component.js","sourceRoot":"","sources":["../../build/app.component.ts"],"names":[],"mappings":";;AAAA,sCAA2D;AAC3D,wCAAwD;AACxD,wEAAsE;;IAcpE,sBAAoB,WAAwB;QAA5C,iBAOC;QAPmB,gBAAW,GAAX,WAAW,CAAa;qBALpC,iBAAiB;2BAeX,IAAI,iBAAS,CAAE;YAC3B,IAAI,EAAE,IAAI,mBAAW,EAAE;SACxB,CAAC;QAXA,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAC,GAAG,EAAC,UAAU,EAAC,GAAG,EAAC,UAAU,EAAC,CAAC,CAAC,SAAS,CAAC,UAAA,SAAS;YAC3E,OAAO,CAAC,GAAG,CAAC,WAAS,SAAS,CAAC,QAAU,CAAC,CAAC;YAC3C,KAAI,CAAC,WAAW,GAAG,SAAS,CAAC;YAC7B,KAAI,CAAC,YAAY,GAAG,KAAI,CAAC,WAAW,CAAC,KAAK,CAAC;YAC3C,KAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAI,CAAC,WAAW,CAAC,CAAC;SAC1D,CAAC,CAAC;KACF;;gBAlBF,gBAAS,SAAC;oBACT,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,y+DAAy+D;oBACn/D,MAAM,EAAE,CAAC,QAAQ,CAAC;iBACnB;;;;gBAPQ,0BAAW;;uBAFpB;;AAUa,oCAAY"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../../build/app.module.ts"],"names":[],"mappings":";;AAAA,8DAA0D;AAC1D,sCAAyC;AACzC,iDAA+C;AAC/C,6CAAyD;AACzD,qDAAyD;AACzD,wCAAkE;AAClE,+CAA4C;AAC5C,uDAAmD;AACnD,+FAA6F;AAC7F,mHAAgH;;;;;gBAG/G,eAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,4BAAY;wBACZ,2CAAmB;qBACpB;oBACD,OAAO,EAAE;wBACP,gCAAa;wBACb,uBAAgB;wBAChB,mBAAW;wBACX,2BAAmB;wBACnB,sCAAoB;wBACpB,oCAAgB;wBAChB,2BAAW,CAAC,OAAO,EAAE;wBACrB,kCAAc,CAAC,OAAO,CAAC,EAAC,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAC,CAAC;qBAC1D;oBACD,OAAO,EAAC,CAAC,2CAAmB,CAAC;oBAC7B,SAAS,EAAE,CAAC,4BAAY,CAAC;iBAC1B;;oBA7BD;;AA8Ba,8BAAS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"AppModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./app.component","name":"AppComponent","line":14,"character":4},{"__symbolic":"reference","module":"./auth-monitorias/components/idlelogout/idle-logout/idle-logout.component","name":"IdleLogoutComponent","line":15,"character":4}],"imports":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"BrowserModule","line":18,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":19,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":20,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":21,"character":4},{"__symbolic":"reference","module":"./auth-monitorias","name":"AuthMonitoriasModule","line":22,"character":4},{"__symbolic":"reference","module":"./auth-monitorias/components/idlelogout/idlelogout.module","name":"IdlelogoutModule","line":23,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"ngx-bootstrap","name":"ModalModule","line":24,"character":4},"member":"forRoot"}},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"angular-user-idle","name":"UserIdleModule","line":25,"character":4},"member":"forRoot"},"arguments":[{"idle":2,"timeout":10,"ping":120}]}],"exports":[{"__symbolic":"reference","module":"./auth-monitorias/components/idlelogout/idle-logout/idle-logout.component","name":"IdleLogoutComponent","line":27,"character":11}],"bootstrap":[{"__symbolic":"reference","module":"./app.component","name":"AppComponent","line":28,"character":14}]}]}]}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-monitorias.module.js","sourceRoot":"","sources":["../../../build/auth-monitorias/auth-monitorias.module.ts"],"names":[],"mappings":";;AAAA,sCAAyC;AACzC,0CAA+C;AAC/C,kFAA6E;AAC7E,wDAAsD;AACtD,kFAA8E;AAC9E,4FAAuF;AACvF,wEAAqE;AACrE,oEAAiE;AACjE,0EAAuE;AACvE,gDAA8C;AAC9C,mGAA+F;;;;;gBAE9F,eAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,qBAAY;qBACb;oBACD,YAAY,EAAE;wBACZ,gDAAqB;wBACrB,yDAAyB;wBACzB,gDAAqB;wBACrB,oBAAQ;wBACR,2CAAmB;qBACpB;oBACD,SAAS,EAAE,CAAC,0BAAW,EAAE,yCAAkB,EAAE,qCAAgB,EAAE,2CAAmB,CAAC;oBACnF,OAAO,EAAE,CAAC,gDAAqB,EAAC,yDAAyB,EAAE,gDAAqB,EAAE,oBAAQ,EAAE,2CAAmB,CAAC;iBACjH;;+BAzBD;;AA0Ba,oDAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"AuthMonitoriasModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4}],"declarations":[{"__symbolic":"reference","module":"./directives/show-for-roles.directive","name":"ShowForRolesDirective","line":17,"character":4},{"__symbolic":"reference","module":"./directives/read-only-for-roles.directive","name":"ReadOnlyForRolesDirective","line":18,"character":4},{"__symbolic":"reference","module":"./directives/hide-for-roles.directive","name":"HideForRolesDirective","line":19,"character":4},{"__symbolic":"reference","module":"./common/safe.pipe","name":"SafePipe","line":20,"character":4},{"__symbolic":"reference","module":"./components/idlelogout/idle-logout/idle-logout.component","name":"IdleLogoutComponent","line":21,"character":4}],"providers":[{"__symbolic":"reference","module":"./services/auth.service","name":"AuthService","line":23,"character":14},{"__symbolic":"reference","module":"./services/auth-locator.service","name":"AuthLocatorService","line":23,"character":27},{"__symbolic":"reference","module":"./services/auth-guard.service","name":"AuthGuardService","line":23,"character":47},{"__symbolic":"reference","module":"./services/auth-resolver.service","name":"AuthResolverService","line":23,"character":65}],"exports":[{"__symbolic":"reference","module":"./directives/show-for-roles.directive","name":"ShowForRolesDirective","line":24,"character":12},{"__symbolic":"reference","module":"./directives/read-only-for-roles.directive","name":"ReadOnlyForRolesDirective","line":24,"character":34},{"__symbolic":"reference","module":"./directives/hide-for-roles.directive","name":"HideForRolesDirective","line":24,"character":61},{"__symbolic":"reference","module":"./common/safe.pipe","name":"SafePipe","line":24,"character":84},{"__symbolic":"reference","module":"./components/idlelogout/idle-logout/idle-logout.component","name":"IdleLogoutComponent","line":24,"character":94}]}]}]}}}]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../build/auth-monitorias/common/constants.ts"],"names":[],"mappings":";;AAAa,QAAA,QAAQ,GAAW,iEAAiE;AACpF,QAAA,QAAQ,GAAW,gDAAgD;AACnE,QAAA,cAAc,GAAW,aAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"currentUser.model.js","sourceRoot":"","sources":["../../../../build/auth-monitorias/common/currentUser.model.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login.model.js","sourceRoot":"","sources":["../../../../build/auth-monitorias/common/login.model.ts"],"names":[],"mappings":";;AAAA,IAAA;IAII;KAAe;qBAJnB;IAKC,CAAA;AALY,gCAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mock.js","sourceRoot":"","sources":["../../../../build/auth-monitorias/common/mock.ts"],"names":[],"mappings":";;AAEa,QAAA,YAAY,GAAQ;IAC7B,QAAQ,EAAG,cAAc;IACzB,KAAK,EAAE,CAAC,WAAW,EAAE,oBAAoB,CAAC;CAC7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roles-type.enum.js","sourceRoot":"","sources":["../../../../build/auth-monitorias/common/roles-type.enum.ts"],"names":[],"mappings":";;AAEA,IAAY,SAOX;AAPD,WAAY,SAAS;IAEjB,2DAAa,CAAA;IAChB,mDAAS,CAAA;IACT,uDAAW,CAAA;IACX,+CAAO,CAAA;IACP,2EAAqB,CAAA;GANV,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"safe.pipe.js","sourceRoot":"","sources":["../../../../build/auth-monitorias/common/safe.pipe.ts"],"names":[],"mappings":";;AAAA,8DAA0E;AAC1E,sCAAoD;;IAKlD,kBAAoB,SAAuB;QAAvB,cAAS,GAAT,SAAS,CAAc;KAAK;IAChD,4BAAS,GAAT,UAAU,GAAG;QACX,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC;KAC3D;;gBALF,WAAI,SAAC,EAAE,IAAI,EAAE,MAAM,EAAE;;;;gBAJb,+BAAY;;mBAArB;;AAKa,4BAAQ"}
|
package/lib/build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { BsModalService, BsModalRef } from 'ngx-bootstrap/modal';
|
|
3
|
-
import { UserIdleService } from 'angular-user-idle';
|
|
4
|
-
import { Subscription } from "rxjs";
|
|
5
|
-
import { AuthService } from '../../../services/auth.service';
|
|
6
|
-
export declare class IdleLogoutComponent {
|
|
7
|
-
auth: AuthService;
|
|
8
|
-
private modalService;
|
|
9
|
-
private userIdle;
|
|
10
|
-
title: string;
|
|
11
|
-
modalRef: BsModalRef;
|
|
12
|
-
template: TemplateRef<any>;
|
|
13
|
-
privatesubscription: Subscription;
|
|
14
|
-
constructor(auth: AuthService, modalService: BsModalService, userIdle: UserIdleService);
|
|
15
|
-
openModal(template: TemplateRef<any>): void;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
stop(): void;
|
|
18
|
-
stopWatching(): void;
|
|
19
|
-
startWatching(): void;
|
|
20
|
-
restart(): void;
|
|
21
|
-
closeSession(): void;
|
|
22
|
-
}
|
package/lib/build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.js
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var core_1 = require("@angular/core");
|
|
4
|
-
var modal_1 = require("ngx-bootstrap/modal");
|
|
5
|
-
var angular_user_idle_1 = require("angular-user-idle");
|
|
6
|
-
var auth_service_1 = require("../../../services/auth.service");
|
|
7
|
-
var IdleLogoutComponent = /** @class */ (function () {
|
|
8
|
-
function IdleLogoutComponent(auth, modalService, userIdle) {
|
|
9
|
-
this.auth = auth;
|
|
10
|
-
this.modalService = modalService;
|
|
11
|
-
this.userIdle = userIdle;
|
|
12
|
-
this.title = 'Idle-Logout';
|
|
13
|
-
}
|
|
14
|
-
IdleLogoutComponent.prototype.openModal = function (template) {
|
|
15
|
-
this.modalRef = this.modalService.show(template);
|
|
16
|
-
};
|
|
17
|
-
IdleLogoutComponent.prototype.ngOnInit = function () {
|
|
18
|
-
var _this = this;
|
|
19
|
-
this.userIdle.startWatching();
|
|
20
|
-
this.userIdle.onTimerStart().subscribe(function (count) {
|
|
21
|
-
console.log(count);
|
|
22
|
-
var eventList = ["click", "mouseover", "keydown", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "scroll", "keyup"];
|
|
23
|
-
eventList.forEach(function (obj) {
|
|
24
|
-
document.body.addEventListener(obj, function () { return _this.userIdle.resetTimer(); });
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
this.userIdle.onTimeout().subscribe(function () {
|
|
28
|
-
_this.openModal(_this.template);
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
IdleLogoutComponent.prototype.stop = function () {
|
|
32
|
-
this.userIdle.stopTimer();
|
|
33
|
-
};
|
|
34
|
-
IdleLogoutComponent.prototype.stopWatching = function () {
|
|
35
|
-
this.userIdle.stopWatching();
|
|
36
|
-
};
|
|
37
|
-
IdleLogoutComponent.prototype.startWatching = function () {
|
|
38
|
-
this.userIdle.startWatching();
|
|
39
|
-
};
|
|
40
|
-
IdleLogoutComponent.prototype.restart = function () {
|
|
41
|
-
this.userIdle.resetTimer();
|
|
42
|
-
};
|
|
43
|
-
IdleLogoutComponent.prototype.closeSession = function () {
|
|
44
|
-
this.auth.doLogout();
|
|
45
|
-
this.stopWatching();
|
|
46
|
-
};
|
|
47
|
-
IdleLogoutComponent.decorators = [
|
|
48
|
-
{ type: core_1.Component, args: [{
|
|
49
|
-
selector: 'idle-logout',
|
|
50
|
-
template: "\n <!--The content below is only a placeholder and can be replaced.-->\n <ng-template #template>\n <div class=\"modal-header\">\n <h4 class=\"modal-title pull-left\">IDLE Logout</h4>\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide(); closeSession()\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n Session 'bout to be closed.\n </div>\n </ng-template>\n ",
|
|
51
|
-
styles: ["\n\n "]
|
|
52
|
-
},] },
|
|
53
|
-
];
|
|
54
|
-
/** @nocollapse */
|
|
55
|
-
IdleLogoutComponent.ctorParameters = function () { return [
|
|
56
|
-
{ type: auth_service_1.AuthService, },
|
|
57
|
-
{ type: modal_1.BsModalService, },
|
|
58
|
-
{ type: angular_user_idle_1.UserIdleService, },
|
|
59
|
-
]; };
|
|
60
|
-
IdleLogoutComponent.propDecorators = {
|
|
61
|
-
"template": [{ type: core_1.ViewChild, args: ["template",] },],
|
|
62
|
-
};
|
|
63
|
-
return IdleLogoutComponent;
|
|
64
|
-
}());
|
|
65
|
-
exports.IdleLogoutComponent = IdleLogoutComponent;
|
|
66
|
-
//# sourceMappingURL=idle-logout.component.js.map
|
package/lib/build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"idle-logout.component.js","sourceRoot":"","sources":["../../../../../../build/auth-monitorias/components/idlelogout/idle-logout/idle-logout.component.ts"],"names":[],"mappings":";;AAAA,sCAAmF;AACnF,6CAAiE;AACjE,uDAAoD;AAIpD,+DAA6D;;IAc3D,6BAAmB,IAAiB,EAAU,YAA4B,EAAU,QAAyB;QAA1F,SAAI,GAAJ,IAAI,CAAa;QAAU,iBAAY,GAAZ,YAAY,CAAgB;QAAU,aAAQ,GAAR,QAAQ,CAAiB;qBANrG,aAAa;KAQpB;IAED,uCAAS,GAAT,UAAU,QAA0B;QAClC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAClD;IAED,sCAAQ,GAAR;QAAA,iBAYC;QAXC,IA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;gBALX,sBAAc;gBACd,mCAAe;;;6BAcrB,gBAAS,SAAC,UAAU;;8BAhBvB;;AAaa,kDAAmB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"IdleLogoutComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":8,"character":1},"arguments":[{"selector":"idle-logout","template":"\n <!--The content below is only a placeholder and can be replaced.-->\n <ng-template #template>\n <div class=\"modal-header\">\n <h4 class=\"modal-title pull-left\">IDLE Logout</h4>\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"modalRef.hide(); closeSession()\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n Session 'bout to be closed.\n </div>\n </ng-template>\n ","styles":["\n\n "]}]}],"members":{"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":16,"character":3},"arguments":["template"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../../../services/auth.service","name":"AuthService","line":20,"character":27},{"__symbolic":"reference","module":"ngx-bootstrap/modal","name":"BsModalService","line":20,"character":62},{"__symbolic":"reference","module":"angular-user-idle","name":"UserIdleService","line":20,"character":96}]}],"openModal":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"stop":[{"__symbolic":"method"}],"stopWatching":[{"__symbolic":"method"}],"startWatching":[{"__symbolic":"method"}],"restart":[{"__symbolic":"method"}],"closeSession":[{"__symbolic":"method"}]}}}}]
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var core_1 = require("@angular/core");
|
|
4
|
-
var common_1 = require("@angular/common");
|
|
5
|
-
var idle_logout_component_1 = require("./idle-logout/idle-logout.component");
|
|
6
|
-
var IdlelogoutModule = /** @class */ (function () {
|
|
7
|
-
function IdlelogoutModule() {
|
|
8
|
-
}
|
|
9
|
-
IdlelogoutModule.decorators = [
|
|
10
|
-
{ type: core_1.NgModule, args: [{
|
|
11
|
-
imports: [
|
|
12
|
-
common_1.CommonModule
|
|
13
|
-
],
|
|
14
|
-
declarations: [
|
|
15
|
-
idle_logout_component_1.IdleLogoutComponent
|
|
16
|
-
],
|
|
17
|
-
exports: [idle_logout_component_1.IdleLogoutComponent]
|
|
18
|
-
},] },
|
|
19
|
-
];
|
|
20
|
-
return IdlelogoutModule;
|
|
21
|
-
}());
|
|
22
|
-
exports.IdlelogoutModule = IdlelogoutModule;
|
|
23
|
-
//# sourceMappingURL=idlelogout.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"idlelogout.module.js","sourceRoot":"","sources":["../../../../../build/auth-monitorias/components/idlelogout/idlelogout.module.ts"],"names":[],"mappings":";;AAAA,sCAAyC;AACzC,0CAA+C;AAC/C,6EAA0E;;;;;gBAEzE,eAAQ,SAAC;oBACR,OAAO,EAAE;wBACP,qBAAY;qBACb;oBACD,YAAY,EAAE;wBACZ,2CAAmB;qBACpB;oBACD,OAAO,EAAE,CAAC,2CAAmB,CAAC;iBAC/B;;2BAZD;;AAaa,4CAAgB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"IdlelogoutModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[{"__symbolic":"reference","module":"./idle-logout/idle-logout.component","name":"IdleLogoutComponent","line":9,"character":4}],"exports":[{"__symbolic":"reference","module":"./idle-logout/idle-logout.component","name":"IdleLogoutComponent","line":11,"character":12}]}]}]}}}]
|