@dbg-riskit/angular-login 10.1.2 → 9999.9999.9999
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/bundles/dbg-riskit-angular-login.umd.js +87 -59
- package/bundles/dbg-riskit-angular-login.umd.js.map +1 -1
- package/dbg-riskit-angular-login.metadata.json +1 -1
- package/docs/README.md +10 -5
- package/esm2015/dbg-riskit-angular-login.js +1 -1
- package/esm2015/lib/login.component.js +8 -28
- package/esm2015/lib/login.menu.component.js +27 -12
- package/esm2015/lib/login.module.js +13 -4
- package/esm2015/public_api.js +1 -1
- package/fesm2015/dbg-riskit-angular-login.js +45 -41
- package/fesm2015/dbg-riskit-angular-login.js.map +1 -1
- package/lib/login.component.d.ts +1 -1
- package/lib/login.menu.component.d.ts +5 -1
- package/package.json +11 -10
- package/bundles/dbg-riskit-angular-login.umd.min.js +0 -16
- package/bundles/dbg-riskit-angular-login.umd.min.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/router'), require('@dbg-riskit/angular-auth'), require('@dbg-riskit/angular-view'), require('@dbg-riskit/angular-common'), require('rxjs/operators')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@dbg-riskit/angular-login', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/router', '@dbg-riskit/angular-auth', '@dbg-riskit/angular-view', '@dbg-riskit/angular-common', 'rxjs/operators'], factory) :
|
|
4
|
-
(global = global || self, factory((global['dbg-riskit'] = global['dbg-riskit'] || {}, global['dbg-riskit']['angular-login'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.router, global['dbg-riskit']['angular-auth'], global['dbg-riskit']['angular-view'], global['dbg-riskit']['angular-common'], global.rxjs.operators));
|
|
5
|
-
}(this, (function (exports, common, core, forms, router, angularAuth, angularView, angularCommon, operators) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/forms'), require('@angular/router'), require('@dbg-riskit/angular-auth'), require('@dbg-riskit/angular-view'), require('@dbg-riskit/angular-common'), require('@dbg-riskit/angular-error'), require('rxjs/operators')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@dbg-riskit/angular-login', ['exports', '@angular/common', '@angular/core', '@angular/forms', '@angular/router', '@dbg-riskit/angular-auth', '@dbg-riskit/angular-view', '@dbg-riskit/angular-common', '@dbg-riskit/angular-error', 'rxjs/operators'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['dbg-riskit'] = global['dbg-riskit'] || {}, global['dbg-riskit']['angular-login'] = {}), global.ng.common, global.ng.core, global.ng.forms, global.ng.router, global['dbg-riskit']['angular-auth'], global['dbg-riskit']['angular-view'], global['dbg-riskit']['angular-common'], global['dbg-riskit']['angular-error'], global.rxjs.operators));
|
|
5
|
+
}(this, (function (exports, common, core, forms, router, angularAuth, angularView, angularCommon, angularError, operators) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -23,11 +23,13 @@
|
|
|
23
23
|
extendStatics = Object.setPrototypeOf ||
|
|
24
24
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
25
25
|
function (d, b) { for (var p in b)
|
|
26
|
-
if (
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
27
27
|
d[p] = b[p]; };
|
|
28
28
|
return extendStatics(d, b);
|
|
29
29
|
};
|
|
30
30
|
function __extends(d, b) {
|
|
31
|
+
if (typeof b !== "function" && b !== null)
|
|
32
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
31
33
|
extendStatics(d, b);
|
|
32
34
|
function __() { this.constructor = d; }
|
|
33
35
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -170,10 +172,10 @@
|
|
|
170
172
|
k2 = k;
|
|
171
173
|
o[k2] = m[k];
|
|
172
174
|
});
|
|
173
|
-
function __exportStar(m,
|
|
175
|
+
function __exportStar(m, o) {
|
|
174
176
|
for (var p in m)
|
|
175
|
-
if (p !== "default" && !
|
|
176
|
-
__createBinding(
|
|
177
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
178
|
+
__createBinding(o, m, p);
|
|
177
179
|
}
|
|
178
180
|
function __values(o) {
|
|
179
181
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
@@ -213,11 +215,13 @@
|
|
|
213
215
|
}
|
|
214
216
|
return ar;
|
|
215
217
|
}
|
|
218
|
+
/** @deprecated */
|
|
216
219
|
function __spread() {
|
|
217
220
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
218
221
|
ar = ar.concat(__read(arguments[i]));
|
|
219
222
|
return ar;
|
|
220
223
|
}
|
|
224
|
+
/** @deprecated */
|
|
221
225
|
function __spreadArrays() {
|
|
222
226
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
223
227
|
s += arguments[i].length;
|
|
@@ -226,7 +230,17 @@
|
|
|
226
230
|
r[k] = a[j];
|
|
227
231
|
return r;
|
|
228
232
|
}
|
|
229
|
-
|
|
233
|
+
function __spreadArray(to, from, pack) {
|
|
234
|
+
if (pack || arguments.length === 2)
|
|
235
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
236
|
+
if (ar || !(i in from)) {
|
|
237
|
+
if (!ar)
|
|
238
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
239
|
+
ar[i] = from[i];
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
return to.concat(ar || from);
|
|
243
|
+
}
|
|
230
244
|
function __await(v) {
|
|
231
245
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
232
246
|
}
|
|
@@ -283,7 +297,7 @@
|
|
|
283
297
|
var result = {};
|
|
284
298
|
if (mod != null)
|
|
285
299
|
for (var k in mod)
|
|
286
|
-
if (Object.hasOwnProperty.call(mod, k))
|
|
300
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
287
301
|
__createBinding(result, mod, k);
|
|
288
302
|
__setModuleDefault(result, mod);
|
|
289
303
|
return result;
|
|
@@ -291,18 +305,21 @@
|
|
|
291
305
|
function __importDefault(mod) {
|
|
292
306
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
293
307
|
}
|
|
294
|
-
function __classPrivateFieldGet(receiver,
|
|
295
|
-
if (!
|
|
296
|
-
throw new TypeError("
|
|
297
|
-
|
|
298
|
-
|
|
308
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
309
|
+
if (kind === "a" && !f)
|
|
310
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
311
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
312
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
313
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
299
314
|
}
|
|
300
|
-
function __classPrivateFieldSet(receiver,
|
|
301
|
-
if (
|
|
302
|
-
throw new TypeError("
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
315
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
316
|
+
if (kind === "m")
|
|
317
|
+
throw new TypeError("Private method is not writable");
|
|
318
|
+
if (kind === "a" && !f)
|
|
319
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
320
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
321
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
322
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
306
323
|
}
|
|
307
324
|
|
|
308
325
|
var LoginComponent = /** @class */ (function (_super) {
|
|
@@ -318,33 +335,15 @@
|
|
|
318
335
|
*/
|
|
319
336
|
_this.loggingIn = false;
|
|
320
337
|
// Update component state on login status change
|
|
321
|
-
_this.authProvider.loggedInStream
|
|
322
|
-
.pipe(operators.takeUntil(_this.destroyed))
|
|
323
|
-
.subscribe(function () { return _this.changeDetectorRef.markForCheck(); });
|
|
338
|
+
_this.authProvider.loggedInStream.pipe(operators.takeUntil(_this.destroyed)).subscribe(function () { return _this.changeDetectorRef.markForCheck(); });
|
|
324
339
|
return _this;
|
|
325
340
|
}
|
|
326
341
|
LoginComponent.prototype.ngAfterViewInit = function () {
|
|
327
342
|
var _this = this;
|
|
328
|
-
this.authRoutingFlowService.loginViaService()
|
|
329
|
-
.pipe(operators.takeUntil(this.destroyed))
|
|
330
|
-
.subscribe(function () {
|
|
343
|
+
this.authRoutingFlowService.loginViaService().pipe(operators.takeUntil(this.destroyed)).subscribe(function () {
|
|
331
344
|
_this.changeDetectorRef.markForCheck();
|
|
332
345
|
}, function (err) {
|
|
333
|
-
|
|
334
|
-
if (err.status == null
|
|
335
|
-
|| err.errorType == null
|
|
336
|
-
|| err.message == null) {
|
|
337
|
-
err = err.message || err.toString();
|
|
338
|
-
errorMessage = {
|
|
339
|
-
message: err,
|
|
340
|
-
status: 0,
|
|
341
|
-
errorType: angularCommon.ErrorType.ERROR
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
else {
|
|
345
|
-
errorMessage = err;
|
|
346
|
-
}
|
|
347
|
-
_this.errorMessage = errorMessage.message;
|
|
346
|
+
_this.errorMessage = angularError.toErrorMessage(err).message;
|
|
348
347
|
_this.changeDetectorRef.markForCheck();
|
|
349
348
|
});
|
|
350
349
|
};
|
|
@@ -372,9 +371,7 @@
|
|
|
372
371
|
LoginComponent.prototype.login = function () {
|
|
373
372
|
var _this = this;
|
|
374
373
|
this.loggingIn = true;
|
|
375
|
-
this.authRoutingFlowService.login(this.username, this.password)
|
|
376
|
-
.pipe(operators.first())
|
|
377
|
-
.subscribe(function (res) {
|
|
374
|
+
this.authRoutingFlowService.login(this.username, this.password).pipe(operators.first()).subscribe(function (res) {
|
|
378
375
|
if (!res) {
|
|
379
376
|
_this.errorMessage = 'Authentication failed. Server did not generate a token.';
|
|
380
377
|
}
|
|
@@ -397,14 +394,13 @@
|
|
|
397
394
|
}(angularView.BaseComponent));
|
|
398
395
|
LoginComponent.decorators = [
|
|
399
396
|
{ type: core.Component, args: [{
|
|
400
|
-
moduleId: module.id,
|
|
401
397
|
template: "<risk-flex>\n <risk-flex-spacer></risk-flex-spacer>\n\n <div *ngIf=\"isDirectFlow\">\n <ng-template #loggedOut>\n <risk-error *ngIf=\"errorMessage\" [message]=\"errorMessage\"></risk-error>\n\n <form (ngSubmit)=\"login()\" role=\"form\">\n <mat-card>\n <mat-card-title-group>\n <mat-card-title>Please Sign In</mat-card-title>\n </mat-card-title-group>\n <mat-card-content>\n <mat-form-field class=\"risk-full-width\">\n <input matInput\n type=\"text\"\n placeholder=\"Username\"\n name=\"username\"\n [(ngModel)]=\"username\"\n autofocus>\n </mat-form-field>\n <mat-form-field class=\"risk-full-width\">\n <input matInput\n type=\"password\"\n placeholder=\"Password\"\n name=\"password\"\n [(ngModel)]=\"password\">\n </mat-form-field>\n </mat-card-content>\n <mat-card-actions>\n <button *ngIf=\"!loggingIn\"\n mat-raised-button\n color=\"primary\"\n type=\"submit\">\n Sign in\n </button>\n <img [src]=\"logo\" alt=\"Company logo\">\n <mat-spinner *ngIf=\"loggingIn\" [diameter]=\"36\"></mat-spinner>\n </mat-card-actions>\n </mat-card>\n </form>\n </ng-template>\n\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut\">\n <ng-template [ngIf]=\"userProfile | async\" let-user=\"ngIf\">\n <risk-good *ngIf=\"user?.name\"\n [message]=\"'Successfully logged in as ' + user.name + '.'\"></risk-good>\n <risk-good *ngIf=\"!user && !user.name\"\n [message]=\"'Successfully logged in!'\"></risk-good>\n </ng-template>\n </ng-template>\n </div>\n\n <div *ngIf=\"!isDirectFlow\">\n <ng-template [ngIf]=\"!errorMessage\">\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <mat-spinner></mat-spinner>\n <div></div>\n </div>\n <h3>Contacting authentication server...</h3>\n </ng-template>\n <ng-template [ngIf]=\"errorMessage\">\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <mat-icon class=\"risk-login-form-error\" color=\"warn\">error_outline</mat-icon>\n <div></div>\n </div>\n <h3>Failed to authenticate user: {{errorMessage}}</h3>\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <button mat-button\n (click)=\"login()\"\n color=\"primary\"\n type=\"button\">\n <mat-icon>autorenew</mat-icon>\n Retry\n </button>\n <div></div>\n </div>\n </ng-template>\n </div>\n\n <risk-flex-spacer></risk-flex-spacer>\n</risk-flex>\n",
|
|
402
398
|
host: {
|
|
403
399
|
'[class.risk-login-form]': 'true'
|
|
404
400
|
},
|
|
405
401
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
406
402
|
preserveWhitespaces: false,
|
|
407
|
-
styles: [":host{display:block;
|
|
403
|
+
styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}", ".risk-flex>div{width:400px;max-width:97vw;max-height:70vh;margin-top:40px}.mat-card-title-group{margin:0}.mat-card-title-group .mat-card-title{font-weight:500}.mat-card-actions{margin:0;margin-bottom:-8px!important;padding:0}.mat-card-actions img{float:right;margin:3px 0;height:30px}.risk-login-form-flex-wrapper{display:-webkit-flex;display:flex}.risk-login-form-flex-wrapper>div{-webkit-flex:1;flex:1}.risk-login-form-error{font-size:100px;height:100px;width:100px}h3{text-align:center}input:-webkit-autofill{-webkit-box-shadow:inset 0 0 0 1000px #fff}"]
|
|
408
404
|
},] }
|
|
409
405
|
];
|
|
410
406
|
LoginComponent.ctorParameters = function () { return [
|
|
@@ -414,6 +410,33 @@
|
|
|
414
410
|
{ type: String, decorators: [{ type: core.Inject, args: [angularCommon.SECONDARY_LOGO,] }] }
|
|
415
411
|
]; };
|
|
416
412
|
|
|
413
|
+
var LoginMenuComponentTitle = /** @class */ (function () {
|
|
414
|
+
function LoginMenuComponentTitle() {
|
|
415
|
+
}
|
|
416
|
+
return LoginMenuComponentTitle;
|
|
417
|
+
}());
|
|
418
|
+
LoginMenuComponentTitle.decorators = [
|
|
419
|
+
{ type: core.Directive, args: [{
|
|
420
|
+
selector: 'risk-login-menu-title-horizontal, '
|
|
421
|
+
+ 'risk-login-menu-title-vertical',
|
|
422
|
+
host: {
|
|
423
|
+
'[class.risk-login-menu-title]': 'true'
|
|
424
|
+
}
|
|
425
|
+
},] }
|
|
426
|
+
];
|
|
427
|
+
var LoginMenuItems = /** @class */ (function () {
|
|
428
|
+
function LoginMenuItems() {
|
|
429
|
+
}
|
|
430
|
+
return LoginMenuItems;
|
|
431
|
+
}());
|
|
432
|
+
LoginMenuItems.decorators = [
|
|
433
|
+
{ type: core.Directive, args: [{
|
|
434
|
+
selector: 'risk-login-menu-before-items-horizontal,'
|
|
435
|
+
+ ' risk-login-menu-before-items-vertical,'
|
|
436
|
+
+ 'risk-login-menu-after-items-horizontal,'
|
|
437
|
+
+ 'risk-login-menu-after-items-vertical'
|
|
438
|
+
},] }
|
|
439
|
+
];
|
|
417
440
|
var LoginMenuComponent = /** @class */ (function (_super) {
|
|
418
441
|
__extends(LoginMenuComponent, _super);
|
|
419
442
|
function LoginMenuComponent(authProvider, authRoutingFlowService, changeDetectorRef) {
|
|
@@ -423,9 +446,7 @@
|
|
|
423
446
|
_this.changeDetectorRef = changeDetectorRef;
|
|
424
447
|
_this.orientation = 'row';
|
|
425
448
|
// Update menu state on login status change
|
|
426
|
-
_this.authProvider.loggedInStream
|
|
427
|
-
.pipe(operators.takeUntil(_this.destroyed))
|
|
428
|
-
.subscribe(function () { return _this.changeDetectorRef.markForCheck(); });
|
|
449
|
+
_this.authProvider.loggedInStream.pipe(operators.takeUntil(_this.destroyed)).subscribe(function () { return _this.changeDetectorRef.markForCheck(); });
|
|
429
450
|
return _this;
|
|
430
451
|
}
|
|
431
452
|
Object.defineProperty(LoginMenuComponent.prototype, "isRow", {
|
|
@@ -453,24 +474,20 @@
|
|
|
453
474
|
configurable: true
|
|
454
475
|
});
|
|
455
476
|
LoginMenuComponent.prototype.logout = function () {
|
|
456
|
-
this.authRoutingFlowService
|
|
457
|
-
.logout()
|
|
458
|
-
.pipe(operators.first())
|
|
459
|
-
.subscribe();
|
|
477
|
+
this.authRoutingFlowService.logout().pipe(operators.first()).subscribe();
|
|
460
478
|
};
|
|
461
479
|
return LoginMenuComponent;
|
|
462
480
|
}(angularView.BaseComponent));
|
|
463
481
|
LoginMenuComponent.decorators = [
|
|
464
482
|
{ type: core.Component, args: [{
|
|
465
|
-
moduleId: module.id,
|
|
466
483
|
selector: 'risk-login-menu',
|
|
467
|
-
template: "<ng-template [ngIf]=\"orientation === 'row'\">\n <mat-menu #loginMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut\">\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>exit_to_app</mat-icon>\n Logout\n </button>\n </ng-template>\n <ng-template #loggedOut>\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>launch</mat-icon>\n Login\n </button>\n </ng-template>\n </mat-menu>\n
|
|
484
|
+
template: "<ng-template [ngIf]=\"orientation === 'row'\">\n <mat-menu #loginMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <ng-content select=\"risk-login-menu-before-items-horizontal\"></ng-content>\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut\">\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>exit_to_app</mat-icon>\n Logout\n </button>\n </ng-template>\n <ng-template #loggedOut>\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>launch</mat-icon>\n Login\n </button>\n </ng-template>\n <ng-content select=\"risk-login-menu-after-items-horizontal\"></ng-content>\n </mat-menu>\n <button mat-button\n #menu=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"loginMenu\"\n [class.risk-menu-open]=\"menu.menuOpen\"\n (onMenuClose)=\"menuClosed()\"\n type=\"button\">\n <ng-content select=\"risk-login-menu-title-horizontal\"></ng-content>\n <mat-icon>person</mat-icon>\n </button>\n</ng-template>\n\n<ng-template [ngIf]=\"orientation === 'column'\">\n <ng-content select=\"risk-login-menu-title-vertical\"></ng-content>\n <ng-content select=\"risk-login-menu-before-items-vertical\"></ng-content>\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut2\">\n <a mat-button\n (click)=\"logout()\">\n <mat-icon>exit_to_app</mat-icon>\n Logout\n </a>\n </ng-template>\n <ng-template #loggedOut2>\n <a mat-button\n (click)=\"logout()\">\n <mat-icon>launch</mat-icon>\n Login\n </a>\n </ng-template>\n <ng-content select=\"risk-login-menu-after-items-vertical\"></ng-content>\n</ng-template>\n",
|
|
468
485
|
host: {
|
|
469
486
|
'[class.risk-login-menu]': 'true'
|
|
470
487
|
},
|
|
471
488
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
472
489
|
preserveWhitespaces: false,
|
|
473
|
-
styles: [":host{display:block;
|
|
490
|
+
styles: [":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}", ":host{display:-webkit-flex!important;display:flex!important}:host.risk-login-menu-flex-row{-webkit-flex-direction:row;flex-direction:row}:host.risk-login-menu-flex-column{-webkit-flex-direction:column;flex-direction:column}:host .risk-login-menu-title{font-weight:700;margin:0 5px}"]
|
|
474
491
|
},] }
|
|
475
492
|
];
|
|
476
493
|
LoginMenuComponent.ctorParameters = function () { return [
|
|
@@ -498,8 +515,17 @@
|
|
|
498
515
|
angularAuth.AuthModule,
|
|
499
516
|
angularView.CommonViewModule
|
|
500
517
|
],
|
|
501
|
-
declarations: [
|
|
502
|
-
|
|
518
|
+
declarations: [
|
|
519
|
+
LoginMenuComponent,
|
|
520
|
+
LoginComponent,
|
|
521
|
+
LoginMenuComponentTitle,
|
|
522
|
+
LoginMenuItems
|
|
523
|
+
],
|
|
524
|
+
exports: [
|
|
525
|
+
LoginMenuComponent,
|
|
526
|
+
LoginMenuComponentTitle,
|
|
527
|
+
LoginMenuItems
|
|
528
|
+
]
|
|
503
529
|
},] }
|
|
504
530
|
];
|
|
505
531
|
|
|
@@ -509,6 +535,8 @@
|
|
|
509
535
|
|
|
510
536
|
exports.LoginComponent = LoginComponent;
|
|
511
537
|
exports.LoginMenuComponent = LoginMenuComponent;
|
|
538
|
+
exports.LoginMenuComponentTitle = LoginMenuComponentTitle;
|
|
539
|
+
exports.LoginMenuItems = LoginMenuItems;
|
|
512
540
|
exports.LoginModule = LoginModule;
|
|
513
541
|
|
|
514
542
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dbg-riskit-angular-login.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","../../../../projects/dbg-riskit/angular-login/src/lib/login.component.ts","../../../../projects/dbg-riskit/angular-login/src/lib/login.menu.component.ts","../../../../projects/dbg-riskit/angular-login/src/lib/login.module.ts","../../../../projects/dbg-riskit/angular-login/src/dbg-riskit-angular-login.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject} from '@angular/core';\n\nimport {AuthRoutingFlowService} from '@dbg-riskit/angular-auth';\nimport {\n AUTH_PROVIDER,\n AuthProvider,\n ErrorMessage,\n ErrorType,\n SECONDARY_LOGO,\n UserInfo\n} from '@dbg-riskit/angular-common';\nimport {BaseComponent} from '@dbg-riskit/angular-view';\n\nimport {Observable} from 'rxjs';\nimport {first, takeUntil} from 'rxjs/operators';\n\n@Component({\n moduleId : module.id,\n templateUrl : 'login.component.html',\n styleUrls : [\n '../../../component.scss',\n 'login.component.scss'\n ],\n host : {\n '[class.risk-login-form]': 'true'\n },\n changeDetection : ChangeDetectionStrategy.OnPush,\n preserveWhitespaces: false\n})\nexport class LoginComponent extends BaseComponent implements AfterViewInit {\n\n /**\n * Error message to be displayed.\n */\n public errorMessage?: string;\n\n /**\n * User name binding.\n */\n public username?: string;\n\n /**\n * Password binding.\n */\n public password?: string;\n\n /**\n * Control for \"login button-to-spinner\".\n */\n public loggingIn: boolean = false;\n\n public constructor(@Inject(AUTH_PROVIDER) private readonly authProvider: AuthProvider,\n private readonly changeDetectorRef: ChangeDetectorRef,\n private readonly authRoutingFlowService: AuthRoutingFlowService,\n @Inject(SECONDARY_LOGO) private readonly secondaryLogo: string) {\n super();\n // Update component state on login status change\n this.authProvider.loggedInStream\n .pipe(takeUntil(this.destroyed))\n .subscribe(\n () => this.changeDetectorRef.markForCheck());\n }\n\n public ngAfterViewInit(): void {\n this.authRoutingFlowService.loginViaService()\n .pipe(takeUntil(this.destroyed))\n .subscribe(\n () => {\n this.changeDetectorRef.markForCheck();\n },\n (err: any) => {\n let errorMessage: ErrorMessage;\n if ((err as ErrorMessage).status == null\n || (err as ErrorMessage).errorType == null\n || (err as ErrorMessage).message == null) {\n err = err.message || err.toString();\n errorMessage = {\n message : err,\n status : 0,\n errorType: ErrorType.ERROR\n };\n } else {\n errorMessage = err;\n }\n this.errorMessage = errorMessage.message;\n this.changeDetectorRef.markForCheck();\n });\n }\n\n public get isDirectFlow(): boolean {\n return this.authRoutingFlowService.directFlow;\n }\n\n public get authStatus(): Observable<boolean> {\n return this.authProvider.loggedIn;\n }\n\n public get userProfile(): Observable<UserInfo | undefined> {\n return this.authProvider.userProfile;\n }\n\n public login(): void {\n this.loggingIn = true;\n this.authRoutingFlowService.login(this.username, this.password)\n .pipe(first())\n .subscribe(\n (res: boolean) => {\n if (!res) {\n this.errorMessage = 'Authentication failed. Server did not generate a token.';\n }\n this.loggingIn = false;\n this.changeDetectorRef.markForCheck();\n },\n () => {\n this.loggingIn = false;\n this.errorMessage = 'Authentication failed. Is the username and password correct?';\n this.changeDetectorRef.markForCheck();\n });\n }\n\n public get logo(): string {\n return this.secondaryLogo;\n }\n}\n","import {ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Inject, Input} from '@angular/core';\n\nimport {AuthRoutingFlowService} from '@dbg-riskit/angular-auth';\nimport {AUTH_PROVIDER, AuthProvider} from '@dbg-riskit/angular-common';\nimport {BaseComponent} from '@dbg-riskit/angular-view';\n\nimport {Observable} from 'rxjs';\nimport {first, takeUntil} from 'rxjs/operators';\n\n@Component({\n moduleId : module.id,\n selector : 'risk-login-menu',\n templateUrl : 'login.menu.component.html',\n styleUrls : [\n '../../../component.scss',\n 'login.menu.component.scss'\n ],\n host : {\n '[class.risk-login-menu]': 'true'\n },\n changeDetection : ChangeDetectionStrategy.OnPush,\n preserveWhitespaces: false\n})\nexport class LoginMenuComponent extends BaseComponent {\n\n @Input()\n public orientation: 'row' | 'column' = 'row';\n\n @HostBinding('class.risk-login-menu-flex-row')\n public get isRow(): boolean {\n return this.orientation === 'row';\n }\n\n @HostBinding('class.risk-login-menu-flex-column')\n public get isColumn(): boolean {\n return this.orientation === 'column';\n }\n\n public constructor(@Inject(AUTH_PROVIDER) private readonly authProvider: AuthProvider,\n private readonly authRoutingFlowService: AuthRoutingFlowService,\n private readonly changeDetectorRef: ChangeDetectorRef) {\n super();\n\n // Update menu state on login status change\n this.authProvider.loggedInStream\n .pipe(takeUntil(this.destroyed))\n .subscribe(\n () => this.changeDetectorRef.markForCheck());\n }\n\n public menuClosed(): void {\n this.changeDetectorRef.markForCheck();\n }\n\n public get authStatus(): Observable<boolean> {\n return this.authProvider.loggedIn;\n }\n\n public logout(): void {\n this.authRoutingFlowService\n .logout()\n .pipe(first())\n .subscribe();\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {RouterModule} from '@angular/router';\nimport {AuthModule} from '@dbg-riskit/angular-auth';\nimport {CommonViewModule} from '@dbg-riskit/angular-view';\nimport {LoginComponent} from './login.component';\nimport {LoginMenuComponent} from './login.menu.component';\n\n@NgModule({\n imports : [\n CommonModule,\n FormsModule,\n RouterModule,\n AuthModule,\n CommonViewModule\n ],\n declarations: [LoginMenuComponent, LoginComponent],\n exports : [LoginMenuComponent]\n})\nexport class LoginModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["takeUntil","ErrorType","first","BaseComponent","Component","ChangeDetectionStrategy","Inject","AUTH_PROVIDER","ChangeDetectorRef","AuthRoutingFlowService","SECONDARY_LOGO","Input","HostBinding","NgModule","CommonModule","FormsModule","RouterModule","AuthModule","CommonViewModule"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;oBAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;aAEc,SAAS,CAAC,CAAC,EAAE,CAAC;QAC1B,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACpB,SAAS,EAAE,KAAK,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;QACvC,CAAC,CAAC,SAAS,GAAG,CAAC,KAAK,IA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AAC;SACzC;QAED,sBAAW,0CAAU;iBAArB;gBACI,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;aACrC;;;WAAA;QAEM,mCAAM,GAAN;YACH,IAAI,CAAC,sBAAsB;iBACtB,MAAM,EAAE;iBACR,IAAI,CAACE,eAAK,EAAE,CAAC;iBACb,SAAS,EAAE,CAAC;SACpB;;KAxCL,CAAwCC,yBAAa;;gBAdpDC,cAAS,SAAC;oBACP,QAAQ,EAAa,MAAM,CAAC,EAAE;oBAC9B,QAAQ,EAAa,iBAAiB;oBACtC,y/CAAgD;oBAKhD,IAAI,EAAiB;wBACjB,yBAAyB,EAAE,MAAM;qBACpC;oBACD,eAAe,EAAMC,4BAAuB,CAAC,MAAM;oBACnD,mBAAmB,EAAE,KAAK;;iBAC7B;;;gDAgBuBC,WAAM,SAACC,2BAAa;gBApCpCE,kCAAsB;gBAFGD,sBAAiB;;;8BAyB7CG,UAAK;wBAGLC,gBAAW,SAAC,gCAAgC;2BAK5CA,gBAAW,SAAC,mCAAmC;;;;QCbpD;;;;;gBAXCC,aAAQ,SAAC;oBACN,OAAO,EAAO;wBACVC,mBAAY;wBACZC,iBAAW;wBACXC,mBAAY;wBACZC,sBAAU;wBACVC,4BAAgB;qBACnB;oBACD,YAAY,EAAE,CAAC,kBAAkB,EAAE,cAAc,CAAC;oBAClD,OAAO,EAAO,CAAC,kBAAkB,CAAC;iBACrC;;;ICnBD;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"dbg-riskit-angular-login.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","../../../../pkg/dbg-riskit/angular-login/src/lib/login.component.ts","../../../../pkg/dbg-riskit/angular-login/src/lib/login.menu.component.ts","../../../../pkg/dbg-riskit/angular-login/src/lib/login.module.ts","../../../../pkg/dbg-riskit/angular-login/src/dbg-riskit-angular-login.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject} from '@angular/core';\n\nimport {AuthRoutingFlowService} from '@dbg-riskit/angular-auth';\nimport {AUTH_PROVIDER, SECONDARY_LOGO} from '@dbg-riskit/angular-common';\nimport {ErrorTypes, toErrorMessage} from '@dbg-riskit/angular-error';\nimport {BaseComponent} from '@dbg-riskit/angular-view';\nimport {AuthProvider, UserInfo} from '@dbg-riskit/common';\n\nimport {Observable} from 'rxjs';\nimport {first, takeUntil} from 'rxjs/operators';\n\n@Component({\n templateUrl : 'login.component.html',\n styleUrls : [\n '../../../component.scss',\n 'login.component.scss'\n ],\n host : {\n '[class.risk-login-form]': 'true'\n },\n changeDetection : ChangeDetectionStrategy.OnPush,\n preserveWhitespaces: false\n})\nexport class LoginComponent extends BaseComponent implements AfterViewInit {\n\n /**\n * Error message to be displayed.\n */\n public errorMessage?: string;\n\n /**\n * User name binding.\n */\n public username?: string;\n\n /**\n * Password binding.\n */\n public password?: string;\n\n /**\n * Control for \"login button-to-spinner\".\n */\n public loggingIn: boolean = false;\n\n public constructor(@Inject(AUTH_PROVIDER) private readonly authProvider: AuthProvider,\n private readonly changeDetectorRef: ChangeDetectorRef,\n private readonly authRoutingFlowService: AuthRoutingFlowService,\n @Inject(SECONDARY_LOGO) private readonly secondaryLogo: string) {\n super();\n // Update component state on login status change\n this.authProvider.loggedInStream.pipe(\n takeUntil(this.destroyed)\n ).subscribe(() => this.changeDetectorRef.markForCheck());\n }\n\n public ngAfterViewInit(): void {\n this.authRoutingFlowService.loginViaService().pipe(\n takeUntil(this.destroyed)\n ).subscribe(\n () => {\n this.changeDetectorRef.markForCheck();\n },\n (err: ErrorTypes) => {\n this.errorMessage = toErrorMessage(err).message;\n this.changeDetectorRef.markForCheck();\n }\n );\n }\n\n public get isDirectFlow(): boolean {\n return this.authRoutingFlowService.directFlow;\n }\n\n public get authStatus(): Observable<boolean> {\n return this.authProvider.loggedIn;\n }\n\n public get userProfile(): Observable<UserInfo | undefined> {\n return this.authProvider.userProfile;\n }\n\n public login(): void {\n this.loggingIn = true;\n this.authRoutingFlowService.login(this.username, this.password).pipe(\n first()\n ).subscribe(\n (res: boolean) => {\n if (!res) {\n this.errorMessage = 'Authentication failed. Server did not generate a token.';\n }\n this.loggingIn = false;\n this.changeDetectorRef.markForCheck();\n },\n () => {\n this.loggingIn = false;\n this.errorMessage = 'Authentication failed. Is the username and password correct?';\n this.changeDetectorRef.markForCheck();\n }\n );\n }\n\n public get logo(): string {\n return this.secondaryLogo;\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Directive,\n HostBinding,\n Inject,\n Input\n} from '@angular/core';\n\nimport {AuthRoutingFlowService} from '@dbg-riskit/angular-auth';\nimport {AUTH_PROVIDER} from '@dbg-riskit/angular-common';\nimport {BaseComponent} from '@dbg-riskit/angular-view';\nimport {AuthProvider} from '@dbg-riskit/common';\n\nimport {Observable} from 'rxjs';\nimport {first, takeUntil} from 'rxjs/operators';\n\n@Directive({\n selector: 'risk-login-menu-title-horizontal, '\n + 'risk-login-menu-title-vertical',\n host : {\n '[class.risk-login-menu-title]': 'true'\n }\n})\nexport class LoginMenuComponentTitle {\n}\n\n@Directive({\n selector: 'risk-login-menu-before-items-horizontal,'\n + ' risk-login-menu-before-items-vertical,'\n + 'risk-login-menu-after-items-horizontal,'\n + 'risk-login-menu-after-items-vertical'\n})\nexport class LoginMenuItems {\n}\n\n@Component({\n selector : 'risk-login-menu',\n templateUrl : 'login.menu.component.html',\n styleUrls : [\n '../../../component.scss',\n 'login.menu.component.scss'\n ],\n host : {\n '[class.risk-login-menu]': 'true'\n },\n changeDetection : ChangeDetectionStrategy.OnPush,\n preserveWhitespaces: false\n})\nexport class LoginMenuComponent extends BaseComponent {\n\n @Input()\n public orientation: 'row' | 'column' = 'row';\n\n @HostBinding('class.risk-login-menu-flex-row')\n public get isRow(): boolean {\n return this.orientation === 'row';\n }\n\n @HostBinding('class.risk-login-menu-flex-column')\n public get isColumn(): boolean {\n return this.orientation === 'column';\n }\n\n public constructor(@Inject(AUTH_PROVIDER) private readonly authProvider: AuthProvider,\n private readonly authRoutingFlowService: AuthRoutingFlowService,\n private readonly changeDetectorRef: ChangeDetectorRef) {\n super();\n\n // Update menu state on login status change\n this.authProvider.loggedInStream.pipe(\n takeUntil(this.destroyed)\n ).subscribe(() => this.changeDetectorRef.markForCheck());\n }\n\n public menuClosed(): void {\n this.changeDetectorRef.markForCheck();\n }\n\n public get authStatus(): Observable<boolean> {\n return this.authProvider.loggedIn;\n }\n\n public logout(): void {\n this.authRoutingFlowService.logout().pipe(\n first()\n ).subscribe();\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {RouterModule} from '@angular/router';\nimport {AuthModule} from '@dbg-riskit/angular-auth';\nimport {CommonViewModule} from '@dbg-riskit/angular-view';\nimport {LoginComponent} from './login.component';\nimport {LoginMenuComponent, LoginMenuComponentTitle, LoginMenuItems} from './login.menu.component';\n\n@NgModule({\n imports : [\n CommonModule,\n FormsModule,\n RouterModule,\n AuthModule,\n CommonViewModule\n ],\n declarations: [\n LoginMenuComponent,\n LoginComponent,\n LoginMenuComponentTitle,\n LoginMenuItems\n ],\n exports : [\n LoginMenuComponent,\n LoginMenuComponentTitle,\n LoginMenuItems\n ]\n})\nexport class LoginModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["takeUntil","toErrorMessage","first","BaseComponent","Component","ChangeDetectionStrategy","Inject","AUTH_PROVIDER","ChangeDetectorRef","AuthRoutingFlowService","SECONDARY_LOGO","Directive","Input","HostBinding","NgModule","CommonModule","FormsModule","RouterModule","AuthModule","CommonViewModule"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;oBAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtG,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;aAEc,SAAS,CAAC,CAAC,EAAE,CAAC;QAC1B,IAAI,OAAO,CAAC,KAAK,UAAU,IAAI,CAAC,KAAK,IAAI;YACrC,MAAM,IAAI,SAAS,CAAC,sBAAsB,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,+BAA+B,CAAC,CAAC;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;iBADnB;gBAEI,OAAO,IAAI,CAAC,WAAW,KAAK,QAAQ,CAAC;aACxC;;;WAAA;QAaM,uCAAU,GAAV;YACH,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;SACzC;QAED,sBAAW,0CAAU;iBAArB;gBACI,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;aACrC;;;WAAA;QAEM,mCAAM,GAAN;YACH,IAAI,CAAC,sBAAsB,CAAC,MAAM,EAAE,CAAC,IAAI,CACrCE,eAAK,EAAE,CACV,CAAC,SAAS,EAAE,CAAC;SACjB;;KAtCL,CAAwCC,yBAAa;;gBAbpDC,cAAS,SAAC;oBACP,QAAQ,EAAa,iBAAiB;oBACtC,s9DAAgD;oBAKhD,IAAI,EAAiB;wBACjB,yBAAyB,EAAE,MAAM;qBACpC;oBACD,eAAe,EAAMC,4BAAuB,CAAC,MAAM;oBACnD,mBAAmB,EAAE,KAAK;;iBAC7B;;;gDAgBuBC,WAAM,SAACC,2BAAa;gBAvDpCE,kCAAsB;gBAR1BD,sBAAiB;;;8BAkDhBI,UAAK;wBAGLC,gBAAW,SAAC,gCAAgC;2BAK5CA,gBAAW,SAAC,mCAAmC;;;;QC/BpD;;;;;gBApBCC,aAAQ,SAAC;oBACN,OAAO,EAAO;wBACVC,mBAAY;wBACZC,iBAAW;wBACXC,mBAAY;wBACZC,sBAAU;wBACVC,4BAAgB;qBACnB;oBACD,YAAY,EAAE;wBACV,kBAAkB;wBAClB,cAAc;wBACd,uBAAuB;wBACvB,cAAc;qBACjB;oBACD,OAAO,EAAO;wBACV,kBAAkB;wBAClB,uBAAuB;wBACvB,cAAc;qBACjB;iBACJ;;;IC5BD;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"LoginModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":12,"character":8},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":8},{"__symbolic":"reference","module":"@dbg-riskit/angular-auth","name":"AuthModule","line":14,"character":8},{"__symbolic":"reference","module":"@dbg-riskit/angular-view","name":"CommonViewModule","line":15,"character":8}],"declarations":[{"__symbolic":"reference","name":"LoginMenuComponent"},{"__symbolic":"reference","name":"LoginComponent"}],"exports":[{"__symbolic":"reference","name":"LoginMenuComponent"}]}]}],"members":{}},"LoginComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@dbg-riskit/angular-view","name":"BaseComponent","line":29,"character":36},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"host":{"[class.risk-login-form]":"true","$quoted$":["[class.risk-login-form]"]},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":26,"character":25},"member":"OnPush"},"preserveWhitespaces":false,"template":"<risk-flex>\n <risk-flex-spacer></risk-flex-spacer>\n\n <div *ngIf=\"isDirectFlow\">\n <ng-template #loggedOut>\n <risk-error *ngIf=\"errorMessage\" [message]=\"errorMessage\"></risk-error>\n\n <form (ngSubmit)=\"login()\" role=\"form\">\n <mat-card>\n <mat-card-title-group>\n <mat-card-title>Please Sign In</mat-card-title>\n </mat-card-title-group>\n <mat-card-content>\n <mat-form-field class=\"risk-full-width\">\n <input matInput\n type=\"text\"\n placeholder=\"Username\"\n name=\"username\"\n [(ngModel)]=\"username\"\n autofocus>\n </mat-form-field>\n <mat-form-field class=\"risk-full-width\">\n <input matInput\n type=\"password\"\n placeholder=\"Password\"\n name=\"password\"\n [(ngModel)]=\"password\">\n </mat-form-field>\n </mat-card-content>\n <mat-card-actions>\n <button *ngIf=\"!loggingIn\"\n mat-raised-button\n color=\"primary\"\n type=\"submit\">\n Sign in\n </button>\n <img [src]=\"logo\" alt=\"Company logo\">\n <mat-spinner *ngIf=\"loggingIn\" [diameter]=\"36\"></mat-spinner>\n </mat-card-actions>\n </mat-card>\n </form>\n </ng-template>\n\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut\">\n <ng-template [ngIf]=\"userProfile | async\" let-user=\"ngIf\">\n <risk-good *ngIf=\"user?.name\"\n [message]=\"'Successfully logged in as ' + user.name + '.'\"></risk-good>\n <risk-good *ngIf=\"!user && !user.name\"\n [message]=\"'Successfully logged in!'\"></risk-good>\n </ng-template>\n </ng-template>\n </div>\n\n <div *ngIf=\"!isDirectFlow\">\n <ng-template [ngIf]=\"!errorMessage\">\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <mat-spinner></mat-spinner>\n <div></div>\n </div>\n <h3>Contacting authentication server...</h3>\n </ng-template>\n <ng-template [ngIf]=\"errorMessage\">\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <mat-icon class=\"risk-login-form-error\" color=\"warn\">error_outline</mat-icon>\n <div></div>\n </div>\n <h3>Failed to authenticate user: {{errorMessage}}</h3>\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <button mat-button\n (click)=\"login()\"\n color=\"primary\"\n type=\"button\">\n <mat-icon>autorenew</mat-icon>\n Retry\n </button>\n <div></div>\n </div>\n </ng-template>\n </div>\n\n <risk-flex-spacer></risk-flex-spacer>\n</risk-flex>\n","styles":[":host{display:block;margin:0;padding:0}:host>*{vertical-align:bottom}",".risk-flex>div{margin-top:40px;max-height:70vh;max-width:97vw;width:400px}.mat-card-title-group{margin:0}.mat-card-title-group .mat-card-title{font-weight:500}.mat-card-actions{margin:0;margin-bottom:-8px!important;padding:0}.mat-card-actions img{float:right;height:30px;margin:3px 0}.risk-login-form-flex-wrapper{display:-webkit-flex;display:-ms-flexbox;display:flex}.risk-login-form-flex-wrapper>div{-ms-flex:1;-webkit-flex:1;flex:1}.risk-login-form-error{font-size:100px;height:100px;width:100px}h3{text-align:center}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":51,"character":24},"arguments":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"AUTH_PROVIDER","line":51,"character":31}]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":54,"character":24},"arguments":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"SECONDARY_LOGO","line":54,"character":31}]}]],"parameters":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"AuthProvider","line":51,"character":77},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":52,"character":59},{"__symbolic":"reference","module":"@dbg-riskit/angular-auth","name":"AuthRoutingFlowService","line":53,"character":64},{"__symbolic":"reference","name":"string"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"login":[{"__symbolic":"method"}]}},"LoginMenuComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@dbg-riskit/angular-view","name":"BaseComponent","line":23,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"risk-login-menu","host":{"[class.risk-login-menu]":"true","$quoted$":["[class.risk-login-menu]"]},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":20,"character":25},"member":"OnPush"},"preserveWhitespaces":false,"template":"<ng-template [ngIf]=\"orientation === 'row'\">\n <mat-menu #loginMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut\">\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>exit_to_app</mat-icon>\n Logout\n </button>\n </ng-template>\n <ng-template #loggedOut>\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>launch</mat-icon>\n Login\n </button>\n </ng-template>\n </mat-menu>\n\n <button mat-icon-button\n #menu=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"loginMenu\"\n [class.risk-menu-open]=\"menu.menuOpen\"\n (onMenuClose)=\"menuClosed()\"\n type=\"button\">\n <mat-icon>person</mat-icon>\n </button>\n</ng-template>\n\n<ng-template [ngIf]=\"orientation === 'column'\">\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut2\">\n <a mat-button\n (click)=\"logout()\">\n <mat-icon>exit_to_app</mat-icon>\n Logout\n </a>\n </ng-template>\n <ng-template #loggedOut2>\n <a mat-button\n (click)=\"logout()\">\n <mat-icon>launch</mat-icon>\n Login\n </a>\n </ng-template>\n</ng-template>","styles":[":host{display:block;margin:0;padding:0}:host>*{vertical-align:bottom}",":host{display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important}:host.risk-login-menu-flex-row{-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}:host.risk-login-menu-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}"]}]}],"members":{"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":5}}]}],"isRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":28,"character":5},"arguments":["class.risk-login-menu-flex-row"]}]}],"isColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":33,"character":5},"arguments":["class.risk-login-menu-flex-column"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":38,"character":24},"arguments":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"AUTH_PROVIDER","line":38,"character":31}]}],null,null],"parameters":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"AuthProvider","line":38,"character":77},{"__symbolic":"reference","module":"@dbg-riskit/angular-auth","name":"AuthRoutingFlowService","line":39,"character":64},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":40,"character":59}]}],"menuClosed":[{"__symbolic":"method"}],"logout":[{"__symbolic":"method"}]}}},"origins":{"LoginModule":"./lib/login.module","LoginComponent":"./lib/login.component","LoginMenuComponent":"./lib/login.menu.component"},"importAs":"@dbg-riskit/angular-login"}
|
|
1
|
+
{"__symbolic":"module","version":4,"metadata":{"LoginModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":12,"character":8},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":8},{"__symbolic":"reference","module":"@dbg-riskit/angular-auth","name":"AuthModule","line":14,"character":8},{"__symbolic":"reference","module":"@dbg-riskit/angular-view","name":"CommonViewModule","line":15,"character":8}],"declarations":[{"__symbolic":"reference","name":"LoginMenuComponent"},{"__symbolic":"reference","name":"LoginComponent"},{"__symbolic":"reference","name":"LoginMenuComponentTitle"},{"__symbolic":"reference","name":"LoginMenuItems"}],"exports":[{"__symbolic":"reference","name":"LoginMenuComponent"},{"__symbolic":"reference","name":"LoginMenuComponentTitle"},{"__symbolic":"reference","name":"LoginMenuItems"}]}]}],"members":{}},"LoginComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@dbg-riskit/angular-view","name":"BaseComponent","line":23,"character":36},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"host":{"[class.risk-login-form]":"true","$quoted$":["[class.risk-login-form]"]},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":20,"character":25},"member":"OnPush"},"preserveWhitespaces":false,"template":"<risk-flex>\n <risk-flex-spacer></risk-flex-spacer>\n\n <div *ngIf=\"isDirectFlow\">\n <ng-template #loggedOut>\n <risk-error *ngIf=\"errorMessage\" [message]=\"errorMessage\"></risk-error>\n\n <form (ngSubmit)=\"login()\" role=\"form\">\n <mat-card>\n <mat-card-title-group>\n <mat-card-title>Please Sign In</mat-card-title>\n </mat-card-title-group>\n <mat-card-content>\n <mat-form-field class=\"risk-full-width\">\n <input matInput\n type=\"text\"\n placeholder=\"Username\"\n name=\"username\"\n [(ngModel)]=\"username\"\n autofocus>\n </mat-form-field>\n <mat-form-field class=\"risk-full-width\">\n <input matInput\n type=\"password\"\n placeholder=\"Password\"\n name=\"password\"\n [(ngModel)]=\"password\">\n </mat-form-field>\n </mat-card-content>\n <mat-card-actions>\n <button *ngIf=\"!loggingIn\"\n mat-raised-button\n color=\"primary\"\n type=\"submit\">\n Sign in\n </button>\n <img [src]=\"logo\" alt=\"Company logo\">\n <mat-spinner *ngIf=\"loggingIn\" [diameter]=\"36\"></mat-spinner>\n </mat-card-actions>\n </mat-card>\n </form>\n </ng-template>\n\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut\">\n <ng-template [ngIf]=\"userProfile | async\" let-user=\"ngIf\">\n <risk-good *ngIf=\"user?.name\"\n [message]=\"'Successfully logged in as ' + user.name + '.'\"></risk-good>\n <risk-good *ngIf=\"!user && !user.name\"\n [message]=\"'Successfully logged in!'\"></risk-good>\n </ng-template>\n </ng-template>\n </div>\n\n <div *ngIf=\"!isDirectFlow\">\n <ng-template [ngIf]=\"!errorMessage\">\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <mat-spinner></mat-spinner>\n <div></div>\n </div>\n <h3>Contacting authentication server...</h3>\n </ng-template>\n <ng-template [ngIf]=\"errorMessage\">\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <mat-icon class=\"risk-login-form-error\" color=\"warn\">error_outline</mat-icon>\n <div></div>\n </div>\n <h3>Failed to authenticate user: {{errorMessage}}</h3>\n <div class=\"risk-login-form-flex-wrapper\">\n <div></div>\n <button mat-button\n (click)=\"login()\"\n color=\"primary\"\n type=\"button\">\n <mat-icon>autorenew</mat-icon>\n Retry\n </button>\n <div></div>\n </div>\n </ng-template>\n </div>\n\n <risk-flex-spacer></risk-flex-spacer>\n</risk-flex>\n","styles":[":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}",".risk-flex>div{width:400px;max-width:97vw;max-height:70vh;margin-top:40px}.mat-card-title-group{margin:0}.mat-card-title-group .mat-card-title{font-weight:500}.mat-card-actions{margin:0;margin-bottom:-8px!important;padding:0}.mat-card-actions img{float:right;margin:3px 0;height:30px}.risk-login-form-flex-wrapper{display:-webkit-flex;display:flex}.risk-login-form-flex-wrapper>div{-webkit-flex:1;flex:1}.risk-login-form-error{font-size:100px;height:100px;width:100px}h3{text-align:center}input:-webkit-autofill{-webkit-box-shadow:inset 0 0 0 1000px #fff}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":45,"character":24},"arguments":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"AUTH_PROVIDER","line":45,"character":31}]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":48,"character":24},"arguments":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"SECONDARY_LOGO","line":48,"character":31}]}]],"parameters":[{"__symbolic":"reference","module":"@dbg-riskit/common","name":"AuthProvider","line":45,"character":77},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":46,"character":59},{"__symbolic":"reference","module":"@dbg-riskit/angular-auth","name":"AuthRoutingFlowService","line":47,"character":64},{"__symbolic":"reference","name":"string"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"login":[{"__symbolic":"method"}]}},"LoginMenuComponentTitle":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1},"arguments":[{"selector":"risk-login-menu-title-horizontal, risk-login-menu-title-vertical","host":{"[class.risk-login-menu-title]":"true","$quoted$":["[class.risk-login-menu-title]"]}}]}],"members":{}},"LoginMenuItems":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":28,"character":1},"arguments":[{"selector":"risk-login-menu-before-items-horizontal, risk-login-menu-before-items-vertical,risk-login-menu-after-items-horizontal,risk-login-menu-after-items-vertical"}]}],"members":{}},"LoginMenuComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@dbg-riskit/angular-view","name":"BaseComponent","line":50,"character":40},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":37,"character":1},"arguments":[{"selector":"risk-login-menu","host":{"[class.risk-login-menu]":"true","$quoted$":["[class.risk-login-menu]"]},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":47,"character":25},"member":"OnPush"},"preserveWhitespaces":false,"template":"<ng-template [ngIf]=\"orientation === 'row'\">\n <mat-menu #loginMenu=\"matMenu\"\n [overlapTrigger]=\"false\">\n <ng-content select=\"risk-login-menu-before-items-horizontal\"></ng-content>\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut\">\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>exit_to_app</mat-icon>\n Logout\n </button>\n </ng-template>\n <ng-template #loggedOut>\n <button mat-menu-item\n (click)=\"logout()\"\n type=\"button\">\n <mat-icon>launch</mat-icon>\n Login\n </button>\n </ng-template>\n <ng-content select=\"risk-login-menu-after-items-horizontal\"></ng-content>\n </mat-menu>\n <button mat-button\n #menu=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"loginMenu\"\n [class.risk-menu-open]=\"menu.menuOpen\"\n (onMenuClose)=\"menuClosed()\"\n type=\"button\">\n <ng-content select=\"risk-login-menu-title-horizontal\"></ng-content>\n <mat-icon>person</mat-icon>\n </button>\n</ng-template>\n\n<ng-template [ngIf]=\"orientation === 'column'\">\n <ng-content select=\"risk-login-menu-title-vertical\"></ng-content>\n <ng-content select=\"risk-login-menu-before-items-vertical\"></ng-content>\n <ng-template [ngIf]=\"authStatus | async\" [ngIfElse]=\"loggedOut2\">\n <a mat-button\n (click)=\"logout()\">\n <mat-icon>exit_to_app</mat-icon>\n Logout\n </a>\n </ng-template>\n <ng-template #loggedOut2>\n <a mat-button\n (click)=\"logout()\">\n <mat-icon>launch</mat-icon>\n Login\n </a>\n </ng-template>\n <ng-content select=\"risk-login-menu-after-items-vertical\"></ng-content>\n</ng-template>\n","styles":[":host{display:block;padding:0;margin:0}:host>*{vertical-align:bottom}",":host{display:-webkit-flex!important;display:flex!important}:host.risk-login-menu-flex-row{-webkit-flex-direction:row;flex-direction:row}:host.risk-login-menu-flex-column{-webkit-flex-direction:column;flex-direction:column}:host .risk-login-menu-title{font-weight:700;margin:0 5px}"]}]}],"members":{"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":5}}]}],"isRow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":55,"character":5},"arguments":["class.risk-login-menu-flex-row"]}]}],"isColumn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":60,"character":5},"arguments":["class.risk-login-menu-flex-column"]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":65,"character":24},"arguments":[{"__symbolic":"reference","module":"@dbg-riskit/angular-common","name":"AUTH_PROVIDER","line":65,"character":31}]}],null,null],"parameters":[{"__symbolic":"reference","module":"@dbg-riskit/common","name":"AuthProvider","line":65,"character":77},{"__symbolic":"reference","module":"@dbg-riskit/angular-auth","name":"AuthRoutingFlowService","line":66,"character":64},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":67,"character":59}]}],"menuClosed":[{"__symbolic":"method"}],"logout":[{"__symbolic":"method"}]}}},"origins":{"LoginModule":"./lib/login.module","LoginComponent":"./lib/login.component","LoginMenuComponentTitle":"./lib/login.menu.component","LoginMenuItems":"./lib/login.menu.component","LoginMenuComponent":"./lib/login.menu.component"},"importAs":"@dbg-riskit/angular-login"}
|
package/docs/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.deutsche-boerse.de/pages/dev/DAVe-Reports/dev_risk-angular-common/)
|
|
4
4
|
[](https://github.deutsche-boerse.de/pages/dev/DAVe-Reports/dev_risk-angular-common/)
|
|
5
5
|
|
|
6
|
-
# risk-angular-common (Angular
|
|
6
|
+
# risk-angular-common (Angular 12 and @angular/material based library for RiskIT applications)
|
|
7
7
|
|
|
8
8
|
Used by:
|
|
9
9
|
- [dev/DAVe-UI](https://github.deutsche-boerse.de/dev/DAVe-UI)
|
|
@@ -24,23 +24,28 @@ Used by:
|
|
|
24
24
|
## Packages
|
|
25
25
|
|
|
26
26
|
To use in your application add the following packages into your app:
|
|
27
|
-
```
|
|
27
|
+
```
|
|
28
|
+
@dbg-riskit/common - Common code and types
|
|
28
29
|
@dbg-riskit/angular-auth - JWT based auth module
|
|
29
|
-
@dbg-riskit/angular-
|
|
30
|
-
@dbg-riskit/angular-common - Common code
|
|
30
|
+
@dbg-riskit/angular-common - Angular specific common code
|
|
31
31
|
@dbg-riskit/angular-datatable - Data table module
|
|
32
|
-
@dbg-riskit/angular-dbg-layout - Layout that contains all fonts and logotypes (not available
|
|
32
|
+
@dbg-riskit/angular-dbg-layout - Layout that contains all DBG fonts and logotypes (not available
|
|
33
|
+
in public NPM registry)
|
|
34
|
+
@dbg-riskit/angular-eurex-layout - Layout that contains all Eurex fonts and logotypes (not available
|
|
33
35
|
in public NPM registry)
|
|
34
36
|
@dbg-riskit/angular-dummy-layout - Layout without fonts and logotypes
|
|
35
37
|
@dbg-riskit/angular-error - Errors handling
|
|
36
38
|
@dbg-riskit/angular-file - Components for file upload/download
|
|
37
39
|
@dbg-riskit/angular-http - HTTP service implementation
|
|
40
|
+
@dbg-riskit/angular-graphql - GraphQL service implementation
|
|
38
41
|
@dbg-riskit/angular-logging - Logging service
|
|
39
42
|
@dbg-riskit/angular-login - Login components
|
|
40
43
|
@dbg-riskit/angular-polyfill - Module that includes all polyfills required to run Angular with
|
|
41
44
|
this library
|
|
42
45
|
@dbg-riskit/angular-testing - Testing utilities
|
|
43
46
|
@dbg-riskit/angular-view - Common view components
|
|
47
|
+
@dbg-riskit/graphql - Common GraphQL types
|
|
48
|
+
@dbg-riskit/graphql-codegen-plugin - GraphQL codegen generator plugin
|
|
44
49
|
```
|
|
45
50
|
|
|
46
51
|
## Usage
|