@rxap/oauth 12.1.0 → 13.0.0-next.2

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.
Files changed (107) hide show
  1. package/_theming.scss +1 -1
  2. package/esm2020/index.mjs +17 -0
  3. package/esm2020/lib/container/container.component.mjs +38 -0
  4. package/esm2020/lib/container/container.component.module.mjs +22 -0
  5. package/esm2020/lib/get-o-auth-profile.method.mjs +40 -0
  6. package/esm2020/lib/loading/loading.component.mjs +12 -0
  7. package/esm2020/lib/loading/loading.component.module.mjs +26 -0
  8. package/esm2020/lib/o-auth-extract.guard.mjs +55 -0
  9. package/esm2020/lib/o-auth-redirect.guard.mjs +31 -0
  10. package/esm2020/lib/o-auth-routing.module.mjs +25 -0
  11. package/esm2020/lib/o-auth.method.mjs +111 -0
  12. package/esm2020/lib/o-auth.module.mjs +27 -0
  13. package/esm2020/lib/o-auth.service.mjs +303 -0
  14. package/esm2020/lib/profile.resolve.mjs +37 -0
  15. package/esm2020/lib/routes.mjs +26 -0
  16. package/esm2020/lib/sign-in-with-redirect/sign-in-with-redirect.component.mjs +47 -0
  17. package/esm2020/lib/sign-in-with-redirect/sign-in-with-redirect.component.module.mjs +38 -0
  18. package/esm2020/lib/tokens.mjs +17 -0
  19. package/esm2020/rxap-oauth.mjs +5 -0
  20. package/esm2020/single-sign-on/lib/continue/continue.component.mjs +70 -0
  21. package/esm2020/single-sign-on/lib/continue/continue.component.module.mjs +42 -0
  22. package/esm2020/single-sign-on/lib/error/error.component.mjs +44 -0
  23. package/esm2020/single-sign-on/lib/error/error.component.module.mjs +30 -0
  24. package/esm2020/single-sign-on/lib/o-auth-single-sign-on-routing.module.mjs +50 -0
  25. package/esm2020/single-sign-on/lib/o-auth-single-sign-on.guard.mjs +69 -0
  26. package/esm2020/single-sign-on/lib/o-auth-single-sign-on.service.mjs +77 -0
  27. package/esm2020/single-sign-on/lib/routes.mjs +33 -0
  28. package/esm2020/single-sign-on/lib/tokens.mjs +10 -0
  29. package/esm2020/single-sign-on/public_api.mjs +10 -0
  30. package/esm2020/single-sign-on/rxap-oauth-single-sign-on.mjs +5 -0
  31. package/fesm2015/rxap-oauth-single-sign-on.mjs +408 -0
  32. package/fesm2015/rxap-oauth-single-sign-on.mjs.map +1 -0
  33. package/fesm2015/{rxap-oauth.js → rxap-oauth.mjs} +137 -171
  34. package/fesm2015/rxap-oauth.mjs.map +1 -0
  35. package/fesm2020/rxap-oauth-single-sign-on.mjs +392 -0
  36. package/fesm2020/rxap-oauth-single-sign-on.mjs.map +1 -0
  37. package/fesm2020/rxap-oauth.mjs +801 -0
  38. package/fesm2020/rxap-oauth.mjs.map +1 -0
  39. package/lib/o-auth.method.d.ts +0 -2
  40. package/lib/o-auth.service.d.ts +2 -7
  41. package/package.json +43 -31
  42. package/single-sign-on/package.json +5 -5
  43. package/bundles/rxap-oauth-single-sign-on.umd.js +0 -811
  44. package/bundles/rxap-oauth-single-sign-on.umd.js.map +0 -1
  45. package/bundles/rxap-oauth.umd.js +0 -1373
  46. package/bundles/rxap-oauth.umd.js.map +0 -1
  47. package/esm2015/index.js +0 -17
  48. package/esm2015/index.js.map +0 -1
  49. package/esm2015/lib/container/container.component.js +0 -45
  50. package/esm2015/lib/container/container.component.js.map +0 -1
  51. package/esm2015/lib/container/container.component.module.js +0 -22
  52. package/esm2015/lib/container/container.component.module.js.map +0 -1
  53. package/esm2015/lib/get-o-auth-profile.method.js +0 -41
  54. package/esm2015/lib/get-o-auth-profile.method.js.map +0 -1
  55. package/esm2015/lib/loading/loading.component.js +0 -18
  56. package/esm2015/lib/loading/loading.component.js.map +0 -1
  57. package/esm2015/lib/loading/loading.component.module.js +0 -26
  58. package/esm2015/lib/loading/loading.component.module.js.map +0 -1
  59. package/esm2015/lib/o-auth-extract.guard.js +0 -55
  60. package/esm2015/lib/o-auth-extract.guard.js.map +0 -1
  61. package/esm2015/lib/o-auth-redirect.guard.js +0 -34
  62. package/esm2015/lib/o-auth-redirect.guard.js.map +0 -1
  63. package/esm2015/lib/o-auth-routing.module.js +0 -25
  64. package/esm2015/lib/o-auth-routing.module.js.map +0 -1
  65. package/esm2015/lib/o-auth.method.js +0 -120
  66. package/esm2015/lib/o-auth.method.js.map +0 -1
  67. package/esm2015/lib/o-auth.module.js +0 -28
  68. package/esm2015/lib/o-auth.module.js.map +0 -1
  69. package/esm2015/lib/o-auth.service.js +0 -336
  70. package/esm2015/lib/o-auth.service.js.map +0 -1
  71. package/esm2015/lib/profile.resolve.js +0 -40
  72. package/esm2015/lib/profile.resolve.js.map +0 -1
  73. package/esm2015/lib/routes.js +0 -26
  74. package/esm2015/lib/routes.js.map +0 -1
  75. package/esm2015/lib/sign-in-with-redirect/sign-in-with-redirect.component.js +0 -54
  76. package/esm2015/lib/sign-in-with-redirect/sign-in-with-redirect.component.js.map +0 -1
  77. package/esm2015/lib/sign-in-with-redirect/sign-in-with-redirect.component.module.js +0 -38
  78. package/esm2015/lib/sign-in-with-redirect/sign-in-with-redirect.component.module.js.map +0 -1
  79. package/esm2015/lib/tokens.js +0 -17
  80. package/esm2015/lib/tokens.js.map +0 -1
  81. package/esm2015/rxap-oauth.js +0 -5
  82. package/esm2015/rxap-oauth.js.map +0 -1
  83. package/esm2015/single-sign-on/lib/continue/continue.component.js +0 -77
  84. package/esm2015/single-sign-on/lib/continue/continue.component.js.map +0 -1
  85. package/esm2015/single-sign-on/lib/continue/continue.component.module.js +0 -42
  86. package/esm2015/single-sign-on/lib/continue/continue.component.module.js.map +0 -1
  87. package/esm2015/single-sign-on/lib/error/error.component.js +0 -51
  88. package/esm2015/single-sign-on/lib/error/error.component.js.map +0 -1
  89. package/esm2015/single-sign-on/lib/error/error.component.module.js +0 -30
  90. package/esm2015/single-sign-on/lib/error/error.component.module.js.map +0 -1
  91. package/esm2015/single-sign-on/lib/o-auth-single-sign-on-routing.module.js +0 -50
  92. package/esm2015/single-sign-on/lib/o-auth-single-sign-on-routing.module.js.map +0 -1
  93. package/esm2015/single-sign-on/lib/o-auth-single-sign-on.guard.js +0 -72
  94. package/esm2015/single-sign-on/lib/o-auth-single-sign-on.guard.js.map +0 -1
  95. package/esm2015/single-sign-on/lib/o-auth-single-sign-on.service.js +0 -85
  96. package/esm2015/single-sign-on/lib/o-auth-single-sign-on.service.js.map +0 -1
  97. package/esm2015/single-sign-on/lib/routes.js +0 -33
  98. package/esm2015/single-sign-on/lib/routes.js.map +0 -1
  99. package/esm2015/single-sign-on/lib/tokens.js +0 -10
  100. package/esm2015/single-sign-on/lib/tokens.js.map +0 -1
  101. package/esm2015/single-sign-on/public_api.js +0 -10
  102. package/esm2015/single-sign-on/public_api.js.map +0 -1
  103. package/esm2015/single-sign-on/rxap-oauth-single-sign-on.js +0 -5
  104. package/esm2015/single-sign-on/rxap-oauth-single-sign-on.js.map +0 -1
  105. package/fesm2015/rxap-oauth-single-sign-on.js +0 -416
  106. package/fesm2015/rxap-oauth-single-sign-on.js.map +0 -1
  107. package/fesm2015/rxap-oauth.js.map +0 -1
@@ -5,8 +5,6 @@ import { HttpClient, HttpHeaders } from '@angular/common/http';
5
5
  import { __awaiter } from 'tslib';
6
6
  import * as i1$1 from '@angular/router';
7
7
  import { Router, RouterModule } from '@angular/router';
8
- import { ReplaySubject } from 'rxjs';
9
- import { AuthenticationEventType } from '@rxap/authentication';
10
8
  import { trigger, transition, style, animate, state } from '@angular/animations';
11
9
  import * as i1$2 from '@angular/material/progress-bar';
12
10
  import { MatProgressBarModule } from '@angular/material/progress-bar';
@@ -41,20 +39,22 @@ class GetOAuthProfileMethod {
41
39
  .toPromise();
42
40
  }
43
41
  }
44
- GetOAuthProfileMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GetOAuthProfileMethod, deps: [{ token: HttpClient }, { token: PROFILE_AUTH_ENDPOINT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
45
- GetOAuthProfileMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GetOAuthProfileMethod, providedIn: 'root' });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GetOAuthProfileMethod, decorators: [{
42
+ GetOAuthProfileMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: GetOAuthProfileMethod, deps: [{ token: HttpClient }, { token: PROFILE_AUTH_ENDPOINT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
43
+ GetOAuthProfileMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: GetOAuthProfileMethod, providedIn: 'root' });
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: GetOAuthProfileMethod, decorators: [{
47
45
  type: Injectable,
48
46
  args: [{ providedIn: 'root' }]
49
- }], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
50
- type: Inject,
51
- args: [HttpClient]
52
- }] }, { type: undefined, decorators: [{
53
- type: Optional
54
- }, {
55
- type: Inject,
56
- args: [PROFILE_AUTH_ENDPOINT]
57
- }] }]; } });
47
+ }], ctorParameters: function () {
48
+ return [{ type: i1.HttpClient, decorators: [{
49
+ type: Inject,
50
+ args: [HttpClient]
51
+ }] }, { type: undefined, decorators: [{
52
+ type: Optional
53
+ }, {
54
+ type: Inject,
55
+ args: [PROFILE_AUTH_ENDPOINT]
56
+ }] }];
57
+ } });
58
58
 
59
59
  function IsOAuthMethodWithRefreshTokenParameters(parameters) {
60
60
  // eslint-disable-next-line no-prototype-builtins
@@ -125,15 +125,10 @@ class OAuthMethod {
125
125
  default:
126
126
  throw new Error('Not supported grant type');
127
127
  }
128
- let headers = new HttpHeaders();
129
- headers = headers.append('Content-type', 'application/x-www-form-urlencoded; charset=utf-8');
130
- if (parameters.secret && parameters.clientId) {
131
- params.append('client_id', parameters.clientId);
132
- params.append('client_secret', parameters.secret);
133
- }
134
- else {
135
- headers = headers.append('Authorization', `Basic ${parameters.secret}`);
136
- }
128
+ const headers = new HttpHeaders({
129
+ 'Content-type': 'application/x-www-form-urlencoded; charset=utf-8',
130
+ Authorization: `Basic ${parameters.secret}`,
131
+ });
137
132
  const response = yield this.http
138
133
  .post(parameters.authEndpoint, params.toString(), {
139
134
  headers,
@@ -161,15 +156,17 @@ class OAuthMethod {
161
156
  throw new Error('Could not guess the grant type');
162
157
  }
163
158
  }
164
- OAuthMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthMethod, deps: [{ token: HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
165
- OAuthMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthMethod, providedIn: 'root' });
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthMethod, decorators: [{
159
+ OAuthMethod.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthMethod, deps: [{ token: HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
160
+ OAuthMethod.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthMethod, providedIn: 'root' });
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthMethod, decorators: [{
167
162
  type: Injectable,
168
163
  args: [{ providedIn: 'root' }]
169
- }], ctorParameters: function () { return [{ type: i1.HttpClient, decorators: [{
170
- type: Inject,
171
- args: [HttpClient]
172
- }] }]; } });
164
+ }], ctorParameters: function () {
165
+ return [{ type: i1.HttpClient, decorators: [{
166
+ type: Inject,
167
+ args: [HttpClient]
168
+ }] }];
169
+ } });
173
170
 
174
171
  function DefaultRedirectSignInFactory() {
175
172
  return ['/', 'authentication', 'login'];
@@ -190,13 +187,12 @@ const RXAP_O_AUTH_REDIRECT_URL = new InjectionToken('rxap/o-auth/redirect-url',
190
187
  const OAUTH_SECRET = new InjectionToken('OAUTH_SECRET');
191
188
  const OAUTH_AUTH_ENDPOINT = new InjectionToken('OAUTH_AUTH_ENDPOINT');
192
189
  const OAUTH_SSO_URL = new InjectionToken('OAUTH_SSO_URL');
193
- const OAUTH_CLIENT_ID = new InjectionToken('OAUTH_CLIENT_ID');
194
190
  const ACCESS_TOKEN_LOCAL_STORAGE_KEY = 'access_token';
195
191
  const REFRESH_TOKEN_LOCAL_STORAGE_KEY = 'refresh_token';
196
192
  const EXPIRES_AT_LOCAL_STORAGE_KEY = 'expires_at';
197
193
  const REMEMBER_LOCAL_STORAGE_KEY = 'remember';
198
194
  class OAuthService {
199
- constructor(oAuthMethod, getOAuthProfileMethod, router, profileEndpoint = null, authEndpoint = null, secret = null, ssoUrl = null, redirectSignOut = null, redirectUrl = null, clientId = null) {
195
+ constructor(oAuthMethod, getOAuthProfileMethod, router, profileEndpoint = null, authEndpoint = null, secret = null, ssoUrl = null, redirectSignOut = null, redirectUrl = null) {
200
196
  this.oAuthMethod = oAuthMethod;
201
197
  this.getOAuthProfileMethod = getOAuthProfileMethod;
202
198
  this.router = router;
@@ -206,8 +202,6 @@ class OAuthService {
206
202
  this.ssoUrl = ssoUrl;
207
203
  this.redirectSignOut = redirectSignOut;
208
204
  this.redirectUrl = redirectUrl;
209
- this.clientId = clientId;
210
- this.events$ = new ReplaySubject();
211
205
  this._isAuthenticated = null;
212
206
  }
213
207
  get expiresAt() {
@@ -330,7 +324,6 @@ class OAuthService {
330
324
  });
331
325
  }
332
326
  signInWithEmailAndPassword(email, password, remember) {
333
- var _a;
334
327
  return __awaiter(this, void 0, void 0, function* () {
335
328
  if (!this.secret) {
336
329
  throw new Error('The oauth secret is not defined');
@@ -343,10 +336,6 @@ class OAuthService {
343
336
  password: password,
344
337
  authEndpoint: this.authEndpoint,
345
338
  secret: this.secret,
346
- clientId: (_a = this.clientId) !== null && _a !== void 0 ? _a : undefined
347
- }).catch(e => {
348
- this.events$.next({ type: AuthenticationEventType.OnAuthError });
349
- throw e;
350
339
  });
351
340
  this.authenticated(response, remember);
352
341
  return response;
@@ -362,7 +351,7 @@ class OAuthService {
362
351
  try {
363
352
  profile = yield this.getOAuthProfileMethod.call({
364
353
  accessToken: this.accessToken,
365
- profileEndpoint: this.profileEndpoint,
354
+ profileEndpoint: this.profileEndpoint
366
355
  });
367
356
  }
368
357
  catch (e) {
@@ -391,7 +380,6 @@ class OAuthService {
391
380
  }
392
381
  location.replace(`${this.ssoUrl}?redirect=${btoa(this.redirectUrl)}&secret=${this.secret}&action=signOut`);
393
382
  }
394
- this.events$.next({ type: AuthenticationEventType.OnLogout });
395
383
  });
396
384
  }
397
385
  authenticated(response, remember) {
@@ -420,7 +408,6 @@ class OAuthService {
420
408
  this.removeItem(EXPIRES_AT_LOCAL_STORAGE_KEY);
421
409
  }
422
410
  this._isAuthenticated = true;
423
- this.events$.next({ type: AuthenticationEventType.OnAuthSuccess });
424
411
  }
425
412
  getKey(key) {
426
413
  return [this.secret, key].join('__');
@@ -441,7 +428,6 @@ class OAuthService {
441
428
  this.removeItem(EXPIRES_AT_LOCAL_STORAGE_KEY);
442
429
  }
443
430
  signInWithRefreshToken(refreshToken) {
444
- var _a;
445
431
  return __awaiter(this, void 0, void 0, function* () {
446
432
  if (!this.secret) {
447
433
  throw new Error('The oauth secret is not defined');
@@ -453,63 +439,59 @@ class OAuthService {
453
439
  refreshToken,
454
440
  authEndpoint: this.authEndpoint,
455
441
  secret: this.secret,
456
- clientId: (_a = this.clientId) !== null && _a !== void 0 ? _a : undefined,
457
442
  });
458
443
  this.authenticated(response);
459
444
  return response;
460
445
  });
461
446
  }
462
447
  }
463
- OAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthService, deps: [{ token: OAuthMethod }, { token: GetOAuthProfileMethod }, { token: Router }, { token: PROFILE_AUTH_ENDPOINT, optional: true }, { token: OAUTH_AUTH_ENDPOINT, optional: true }, { token: OAUTH_SECRET, optional: true }, { token: OAUTH_SSO_URL, optional: true }, { token: RXAP_O_AUTH_REDIRECT_SIGN_OUT, optional: true }, { token: RXAP_O_AUTH_REDIRECT_URL, optional: true }, { token: OAUTH_CLIENT_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
464
- OAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthService, providedIn: 'root' });
465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthService, decorators: [{
448
+ OAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthService, deps: [{ token: OAuthMethod }, { token: GetOAuthProfileMethod }, { token: Router }, { token: PROFILE_AUTH_ENDPOINT, optional: true }, { token: OAUTH_AUTH_ENDPOINT, optional: true }, { token: OAUTH_SECRET, optional: true }, { token: OAUTH_SSO_URL, optional: true }, { token: RXAP_O_AUTH_REDIRECT_SIGN_OUT, optional: true }, { token: RXAP_O_AUTH_REDIRECT_URL, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
449
+ OAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthService, providedIn: 'root' });
450
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthService, decorators: [{
466
451
  type: Injectable,
467
452
  args: [{ providedIn: 'root' }]
468
- }], ctorParameters: function () { return [{ type: OAuthMethod, decorators: [{
469
- type: Inject,
470
- args: [OAuthMethod]
471
- }] }, { type: GetOAuthProfileMethod, decorators: [{
472
- type: Inject,
473
- args: [GetOAuthProfileMethod]
474
- }] }, { type: i1$1.Router, decorators: [{
475
- type: Inject,
476
- args: [Router]
477
- }] }, { type: undefined, decorators: [{
478
- type: Optional
479
- }, {
480
- type: Inject,
481
- args: [PROFILE_AUTH_ENDPOINT]
482
- }] }, { type: undefined, decorators: [{
483
- type: Optional
484
- }, {
485
- type: Inject,
486
- args: [OAUTH_AUTH_ENDPOINT]
487
- }] }, { type: undefined, decorators: [{
488
- type: Optional
489
- }, {
490
- type: Inject,
491
- args: [OAUTH_SECRET]
492
- }] }, { type: undefined, decorators: [{
493
- type: Optional
494
- }, {
495
- type: Inject,
496
- args: [OAUTH_SSO_URL]
497
- }] }, { type: undefined, decorators: [{
498
- type: Optional
499
- }, {
500
- type: Inject,
501
- args: [RXAP_O_AUTH_REDIRECT_SIGN_OUT]
502
- }] }, { type: undefined, decorators: [{
503
- type: Optional
504
- }, {
505
- type: Inject,
506
- args: [RXAP_O_AUTH_REDIRECT_URL]
507
- }] }, { type: undefined, decorators: [{
508
- type: Optional
509
- }, {
510
- type: Inject,
511
- args: [OAUTH_CLIENT_ID]
512
- }] }]; } });
453
+ }], ctorParameters: function () {
454
+ return [{ type: OAuthMethod, decorators: [{
455
+ type: Inject,
456
+ args: [OAuthMethod]
457
+ }] }, { type: GetOAuthProfileMethod, decorators: [{
458
+ type: Inject,
459
+ args: [GetOAuthProfileMethod]
460
+ }] }, { type: i1$1.Router, decorators: [{
461
+ type: Inject,
462
+ args: [Router]
463
+ }] }, { type: undefined, decorators: [{
464
+ type: Optional
465
+ }, {
466
+ type: Inject,
467
+ args: [PROFILE_AUTH_ENDPOINT]
468
+ }] }, { type: undefined, decorators: [{
469
+ type: Optional
470
+ }, {
471
+ type: Inject,
472
+ args: [OAUTH_AUTH_ENDPOINT]
473
+ }] }, { type: undefined, decorators: [{
474
+ type: Optional
475
+ }, {
476
+ type: Inject,
477
+ args: [OAUTH_SECRET]
478
+ }] }, { type: undefined, decorators: [{
479
+ type: Optional
480
+ }, {
481
+ type: Inject,
482
+ args: [OAUTH_SSO_URL]
483
+ }] }, { type: undefined, decorators: [{
484
+ type: Optional
485
+ }, {
486
+ type: Inject,
487
+ args: [RXAP_O_AUTH_REDIRECT_SIGN_OUT]
488
+ }] }, { type: undefined, decorators: [{
489
+ type: Optional
490
+ }, {
491
+ type: Inject,
492
+ args: [RXAP_O_AUTH_REDIRECT_URL]
493
+ }] }];
494
+ } });
513
495
 
514
496
  class OAuthExtractGuard {
515
497
  constructor(router, oAuthService) {
@@ -553,9 +535,9 @@ class OAuthExtractGuard {
553
535
  return this.router.createUrlTree([...route.url.map(url => url.path), 'redirect']);
554
536
  }
555
537
  }
556
- OAuthExtractGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthExtractGuard, deps: [{ token: i1$1.Router }, { token: OAuthService }], target: i0.ɵɵFactoryTarget.Injectable });
557
- OAuthExtractGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthExtractGuard, providedIn: 'root' });
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthExtractGuard, decorators: [{
538
+ OAuthExtractGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthExtractGuard, deps: [{ token: i1$1.Router }, { token: OAuthService }], target: i0.ɵɵFactoryTarget.Injectable });
539
+ OAuthExtractGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthExtractGuard, providedIn: 'root' });
540
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthExtractGuard, decorators: [{
559
541
  type: Injectable,
560
542
  args: [{ providedIn: 'root' }]
561
543
  }], ctorParameters: function () { return [{ type: i1$1.Router }, { type: OAuthService }]; } });
@@ -579,15 +561,17 @@ class OAuthRedirectGuard {
579
561
  return this.canActivate(childRoute, state);
580
562
  }
581
563
  }
582
- OAuthRedirectGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthRedirectGuard, deps: [{ token: OAuthService }], target: i0.ɵɵFactoryTarget.Injectable });
583
- OAuthRedirectGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthRedirectGuard, providedIn: 'root' });
584
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthRedirectGuard, decorators: [{
564
+ OAuthRedirectGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthRedirectGuard, deps: [{ token: OAuthService }], target: i0.ɵɵFactoryTarget.Injectable });
565
+ OAuthRedirectGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthRedirectGuard, providedIn: 'root' });
566
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthRedirectGuard, decorators: [{
585
567
  type: Injectable,
586
568
  args: [{ providedIn: 'root' }]
587
- }], ctorParameters: function () { return [{ type: OAuthService, decorators: [{
588
- type: Inject,
589
- args: [OAuthService]
590
- }] }]; } });
569
+ }], ctorParameters: function () {
570
+ return [{ type: OAuthService, decorators: [{
571
+ type: Inject,
572
+ args: [OAuthService]
573
+ }] }];
574
+ } });
591
575
 
592
576
  class OAuthModule {
593
577
  static forRoot(options = {}) {
@@ -607,10 +591,10 @@ class OAuthModule {
607
591
  };
608
592
  }
609
593
  }
610
- OAuthModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
611
- OAuthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthModule });
612
- OAuthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthModule });
613
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthModule, decorators: [{
594
+ OAuthModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
595
+ OAuthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthModule });
596
+ OAuthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthModule });
597
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthModule, decorators: [{
614
598
  type: NgModule
615
599
  }] });
616
600
 
@@ -619,8 +603,8 @@ class ContainerComponent {
619
603
  return outlet.isActivated ? outlet.activatedRoute : 'true';
620
604
  }
621
605
  }
622
- ContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
623
- ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContainerComponent, selector: "rxap-container", host: { classAttribute: "rxap-container" }, ngImport: i0, template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"container\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n\n</div>\n", styles: [".container{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center}.container .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10}"], directives: [{ type: i1$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }], animations: [
606
+ ContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
607
+ ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ContainerComponent, selector: "rxap-container", host: { classAttribute: "rxap-container" }, ngImport: i0, template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"container\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n\n</div>\n", styles: [".container{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center}.container .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10}\n"], directives: [{ type: i1$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], animations: [
624
608
  trigger('routeAnimations', [
625
609
  transition(':enter', [
626
610
  style({ opacity: 0 }),
@@ -632,15 +616,9 @@ ContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
632
616
  ])
633
617
  ])
634
618
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
635
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContainerComponent, decorators: [{
619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContainerComponent, decorators: [{
636
620
  type: Component,
637
- args: [{
638
- selector: 'rxap-container',
639
- templateUrl: './container.component.html',
640
- styleUrls: ['./container.component.scss'],
641
- changeDetection: ChangeDetectionStrategy.OnPush,
642
- host: { class: 'rxap-container' },
643
- animations: [
621
+ args: [{ selector: 'rxap-container', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-container' }, animations: [
644
622
  trigger('routeAnimations', [
645
623
  transition(':enter', [
646
624
  style({ opacity: 0 }),
@@ -651,23 +629,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
651
629
  animate('512ms', style({ opacity: 0 }))
652
630
  ])
653
631
  ])
654
- ]
655
- }]
632
+ ], template: "<div [@routeAnimations]=\"prepareRoute(outlet)\" class=\"container\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n\n</div>\n", styles: [".container{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center}.container .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10}\n"] }]
656
633
  }] });
657
634
 
658
635
  class LoadingComponent {
659
636
  }
660
- LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
661
- LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LoadingComponent, selector: "rxap-loading", host: { classAttribute: "rxap-loading" }, ngImport: i0, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [""], components: [{ type: i1$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
662
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingComponent, decorators: [{
637
+ LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
638
+ LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: LoadingComponent, selector: "rxap-loading", host: { classAttribute: "rxap-loading" }, ngImport: i0, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [""], components: [{ type: i1$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingComponent, decorators: [{
663
640
  type: Component,
664
- args: [{
665
- selector: 'rxap-loading',
666
- templateUrl: './loading.component.html',
667
- styleUrls: ['./loading.component.scss'],
668
- changeDetection: ChangeDetectionStrategy.OnPush,
669
- host: { class: 'rxap-loading' }
670
- }]
641
+ args: [{ selector: 'rxap-loading', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-loading' }, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [""] }]
671
642
  }] });
672
643
 
673
644
  class SignInWithRedirectComponent {
@@ -678,8 +649,8 @@ class SignInWithRedirectComponent {
678
649
  this.authService.signInWithRedirect();
679
650
  }
680
651
  }
681
- SignInWithRedirectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignInWithRedirectComponent, deps: [{ token: OAuthService }], target: i0.ɵɵFactoryTarget.Component });
682
- SignInWithRedirectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SignInWithRedirectComponent, selector: "rxap-sign-in-with-redirect", host: { classAttribute: "rxap-sign-in-with-redirect" }, ngImport: i0, template: "<div [@fadeAnimation]=\"'in'\" class=\"inner mat-elevation-z5\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxLayoutGap=\"32px\">\n\n <div class=\"header\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n\n <mat-icon class=\"avatar-icon\" color=\"primary\" fxFlex=\"nogrow\">account_circle</mat-icon>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button (click)=\"signIn()\" color=\"primary\" fxFlex=\"nogrow\" mat-raised-button>\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon fxFlex=\"nogrow\">login</mat-icon>\n <span fxFlex=\"nogrow\">Sign In</span>\n </span>\n </button>\n </div>\n\n </div>\n\n</div>\n\n", styles: [".inner{padding:64px;position:relative}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}"], components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], animations: [
652
+ SignInWithRedirectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SignInWithRedirectComponent, deps: [{ token: OAuthService }], target: i0.ɵɵFactoryTarget.Component });
653
+ SignInWithRedirectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SignInWithRedirectComponent, selector: "rxap-sign-in-with-redirect", host: { classAttribute: "rxap-sign-in-with-redirect" }, ngImport: i0, template: "<div [@fadeAnimation]=\"'in'\" class=\"inner mat-elevation-z5\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxLayoutGap=\"32px\">\n\n <div class=\"header\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n\n <mat-icon class=\"avatar-icon\" color=\"primary\" fxFlex=\"nogrow\">account_circle</mat-icon>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button (click)=\"signIn()\" color=\"primary\" fxFlex=\"nogrow\" mat-raised-button>\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon fxFlex=\"nogrow\">login</mat-icon>\n <span fxFlex=\"nogrow\">Sign In</span>\n </span>\n </button>\n </div>\n\n </div>\n\n</div>\n\n", styles: [".inner{padding:64px;position:relative}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}\n"], components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }], animations: [
683
654
  trigger('fadeAnimation', [
684
655
  // the "in" style determines the "resting" state of the element when it is visible.
685
656
  state('in', style({ opacity: 1 })),
@@ -692,15 +663,9 @@ SignInWithRedirectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
692
663
  transition(':leave', animate(300, style({ opacity: 0 })))
693
664
  ])
694
665
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignInWithRedirectComponent, decorators: [{
666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SignInWithRedirectComponent, decorators: [{
696
667
  type: Component,
697
- args: [{
698
- selector: 'rxap-sign-in-with-redirect',
699
- templateUrl: './sign-in-with-redirect.component.html',
700
- styleUrls: ['./sign-in-with-redirect.component.scss'],
701
- changeDetection: ChangeDetectionStrategy.OnPush,
702
- host: { class: 'rxap-sign-in-with-redirect' },
703
- animations: [
668
+ args: [{ selector: 'rxap-sign-in-with-redirect', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sign-in-with-redirect' }, animations: [
704
669
  trigger('fadeAnimation', [
705
670
  // the "in" style determines the "resting" state of the element when it is visible.
706
671
  state('in', style({ opacity: 1 })),
@@ -712,8 +677,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
712
677
  // fade out when destroyed. this could also be written as transition('void => *')
713
678
  transition(':leave', animate(300, style({ opacity: 0 })))
714
679
  ])
715
- ]
716
- }]
680
+ ], template: "<div [@fadeAnimation]=\"'in'\" class=\"inner mat-elevation-z5\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxLayoutGap=\"32px\">\n\n <div class=\"header\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"center center\">\n\n <mat-icon class=\"avatar-icon\" color=\"primary\" fxFlex=\"nogrow\">account_circle</mat-icon>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button (click)=\"signIn()\" color=\"primary\" fxFlex=\"nogrow\" mat-raised-button>\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon fxFlex=\"nogrow\">login</mat-icon>\n <span fxFlex=\"nogrow\">Sign In</span>\n </span>\n </button>\n </div>\n\n </div>\n\n</div>\n\n", styles: [".inner{padding:64px;position:relative}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}\n"] }]
717
681
  }], ctorParameters: function () { return [{ type: OAuthService }]; } });
718
682
 
719
683
  const RXAP_O_AUTH_ROUTES = [
@@ -754,30 +718,32 @@ class ProfileResolve {
754
718
  });
755
719
  }
756
720
  }
757
- ProfileResolve.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProfileResolve, deps: [{ token: OAuthService }, { token: Router }, { token: RXAP_O_AUTH_REDIRECT_SIGN_IN }], target: i0.ɵɵFactoryTarget.Injectable });
758
- ProfileResolve.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProfileResolve, providedIn: 'root' });
759
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ProfileResolve, decorators: [{
721
+ ProfileResolve.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ProfileResolve, deps: [{ token: OAuthService }, { token: Router }, { token: RXAP_O_AUTH_REDIRECT_SIGN_IN }], target: i0.ɵɵFactoryTarget.Injectable });
722
+ ProfileResolve.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ProfileResolve, providedIn: 'root' });
723
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ProfileResolve, decorators: [{
760
724
  type: Injectable,
761
725
  args: [{ providedIn: 'root' }]
762
- }], ctorParameters: function () { return [{ type: OAuthService, decorators: [{
763
- type: Inject,
764
- args: [OAuthService]
765
- }] }, { type: i1$1.Router, decorators: [{
766
- type: Inject,
767
- args: [Router]
768
- }] }, { type: undefined, decorators: [{
769
- type: Inject,
770
- args: [RXAP_O_AUTH_REDIRECT_SIGN_IN]
771
- }] }]; } });
726
+ }], ctorParameters: function () {
727
+ return [{ type: OAuthService, decorators: [{
728
+ type: Inject,
729
+ args: [OAuthService]
730
+ }] }, { type: i1$1.Router, decorators: [{
731
+ type: Inject,
732
+ args: [Router]
733
+ }] }, { type: undefined, decorators: [{
734
+ type: Inject,
735
+ args: [RXAP_O_AUTH_REDIRECT_SIGN_IN]
736
+ }] }];
737
+ } });
772
738
 
773
739
  class ContainerComponentModule {
774
740
  }
775
- ContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
776
- ContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContainerComponentModule, declarations: [ContainerComponent], imports: [RouterModule], exports: [ContainerComponent] });
777
- ContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContainerComponentModule, imports: [[
741
+ ContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
742
+ ContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContainerComponentModule, declarations: [ContainerComponent], imports: [RouterModule], exports: [ContainerComponent] });
743
+ ContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContainerComponentModule, imports: [[
778
744
  RouterModule
779
745
  ]] });
780
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContainerComponentModule, decorators: [{
746
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ContainerComponentModule, decorators: [{
781
747
  type: NgModule,
782
748
  args: [{
783
749
  declarations: [ContainerComponent],
@@ -790,12 +756,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
790
756
 
791
757
  class LoadingComponentModule {
792
758
  }
793
- LoadingComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
794
- LoadingComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingComponentModule, declarations: [LoadingComponent], imports: [MatProgressBarModule], exports: [LoadingComponent] });
795
- LoadingComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingComponentModule, imports: [[
759
+ LoadingComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
760
+ LoadingComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingComponentModule, declarations: [LoadingComponent], imports: [MatProgressBarModule], exports: [LoadingComponent] });
761
+ LoadingComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingComponentModule, imports: [[
796
762
  MatProgressBarModule
797
763
  ]] });
798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingComponentModule, decorators: [{
764
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LoadingComponentModule, decorators: [{
799
765
  type: NgModule,
800
766
  args: [{
801
767
  declarations: [
@@ -812,20 +778,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
812
778
 
813
779
  class SignInWithRedirectComponentModule {
814
780
  }
815
- SignInWithRedirectComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignInWithRedirectComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
816
- SignInWithRedirectComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignInWithRedirectComponentModule, declarations: [SignInWithRedirectComponent], imports: [MatCardModule,
781
+ SignInWithRedirectComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SignInWithRedirectComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
782
+ SignInWithRedirectComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SignInWithRedirectComponentModule, declarations: [SignInWithRedirectComponent], imports: [MatCardModule,
817
783
  MatButtonModule,
818
784
  FlexLayoutModule,
819
785
  MatIconModule,
820
786
  CommonModule], exports: [SignInWithRedirectComponent] });
821
- SignInWithRedirectComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignInWithRedirectComponentModule, imports: [[
787
+ SignInWithRedirectComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SignInWithRedirectComponentModule, imports: [[
822
788
  MatCardModule,
823
789
  MatButtonModule,
824
790
  FlexLayoutModule,
825
791
  MatIconModule,
826
792
  CommonModule
827
793
  ]] });
828
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SignInWithRedirectComponentModule, decorators: [{
794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SignInWithRedirectComponentModule, decorators: [{
829
795
  type: NgModule,
830
796
  args: [{
831
797
  declarations: [SignInWithRedirectComponent],
@@ -842,14 +808,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
842
808
 
843
809
  class OAuthRoutingModule {
844
810
  }
845
- OAuthRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
846
- OAuthRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthRoutingModule, exports: [ContainerComponentModule,
811
+ OAuthRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
812
+ OAuthRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthRoutingModule, exports: [ContainerComponentModule,
847
813
  LoadingComponentModule,
848
814
  SignInWithRedirectComponentModule] });
849
- OAuthRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthRoutingModule, imports: [ContainerComponentModule,
815
+ OAuthRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthRoutingModule, imports: [ContainerComponentModule,
850
816
  LoadingComponentModule,
851
817
  SignInWithRedirectComponentModule] });
852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OAuthRoutingModule, decorators: [{
818
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: OAuthRoutingModule, decorators: [{
853
819
  type: NgModule,
854
820
  args: [{
855
821
  exports: [
@@ -864,5 +830,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
864
830
  * Generated bundle index. Do not edit.
865
831
  */
866
832
 
867
- export { ACCESS_TOKEN_LOCAL_STORAGE_KEY, AssertOAuthMethodParameters, AssertOAuthMethodWithRefreshTokenParameters, AssertOAuthMethodWithUsernamePasswordParameters, ContainerComponent, ContainerComponentModule, DefaultRedirectSignInFactory, DefaultRedirectUrl, EXPIRES_AT_LOCAL_STORAGE_KEY, GetOAuthProfileMethod, IsOAuthMethodWithRefreshTokenParameters, IsOAuthMethodWithUsernamePasswordParameters, LoadingComponent, LoadingComponentModule, OAUTH_AUTH_ENDPOINT, OAUTH_CLIENT_ID, OAUTH_SECRET, OAUTH_SSO_URL, OAuthExtractGuard, OAuthMethod, OAuthModule, OAuthRedirectGuard, OAuthRoutingModule, OAuthService, PROFILE_AUTH_ENDPOINT, ProfileResolve, REFRESH_TOKEN_LOCAL_STORAGE_KEY, REMEMBER_LOCAL_STORAGE_KEY, RXAP_O_AUTH_REDIRECT_SIGN_IN, RXAP_O_AUTH_REDIRECT_SIGN_OUT, RXAP_O_AUTH_REDIRECT_URL, RXAP_O_AUTH_ROUTES, SignInWithRedirectComponent, SignInWithRedirectComponentModule };
868
- //# sourceMappingURL=rxap-oauth.js.map
833
+ export { ACCESS_TOKEN_LOCAL_STORAGE_KEY, AssertOAuthMethodParameters, AssertOAuthMethodWithRefreshTokenParameters, AssertOAuthMethodWithUsernamePasswordParameters, ContainerComponent, ContainerComponentModule, DefaultRedirectSignInFactory, DefaultRedirectUrl, EXPIRES_AT_LOCAL_STORAGE_KEY, GetOAuthProfileMethod, IsOAuthMethodWithRefreshTokenParameters, IsOAuthMethodWithUsernamePasswordParameters, LoadingComponent, LoadingComponentModule, OAUTH_AUTH_ENDPOINT, OAUTH_SECRET, OAUTH_SSO_URL, OAuthExtractGuard, OAuthMethod, OAuthModule, OAuthRedirectGuard, OAuthRoutingModule, OAuthService, PROFILE_AUTH_ENDPOINT, ProfileResolve, REFRESH_TOKEN_LOCAL_STORAGE_KEY, REMEMBER_LOCAL_STORAGE_KEY, RXAP_O_AUTH_REDIRECT_SIGN_IN, RXAP_O_AUTH_REDIRECT_SIGN_OUT, RXAP_O_AUTH_REDIRECT_URL, RXAP_O_AUTH_ROUTES, SignInWithRedirectComponent, SignInWithRedirectComponentModule };
834
+ //# sourceMappingURL=rxap-oauth.mjs.map