@rxap/authentication 12.1.4-next.0 → 13.0.0-next.0
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/_theming.scss +1 -1
- package/components/README.md +3 -0
- package/components/lib/login/login.component.d.ts +1 -1
- package/components/package.json +5 -5
- package/esm2020/components/lib/authentication-container/authentication-container.component.mjs +38 -0
- package/esm2020/components/lib/authentication-container/authentication-container.component.module.mjs +30 -0
- package/esm2020/components/lib/authentication.module.mjs +29 -0
- package/esm2020/components/lib/fade-animation.mjs +14 -0
- package/esm2020/components/lib/loading/loading.component.mjs +38 -0
- package/esm2020/components/lib/loading/loading.component.module.mjs +26 -0
- package/esm2020/components/lib/login/login.component.mjs +84 -0
- package/esm2020/components/lib/login/login.component.module.mjs +70 -0
- package/esm2020/components/lib/login/login.form.mjs +115 -0
- package/esm2020/components/lib/reset-password/reset-password.component.mjs +39 -0
- package/esm2020/components/lib/reset-password/reset-password.component.module.mjs +66 -0
- package/esm2020/components/lib/reset-password/reset-password.form.mjs +115 -0
- package/esm2020/components/lib/routes.mjs +32 -0
- package/esm2020/components/public_api.mjs +13 -0
- package/esm2020/components/rxap-authentication-components.mjs +5 -0
- package/esm2020/index.mjs +8 -0
- package/esm2020/lib/authentication-routing.service.mjs +46 -0
- package/esm2020/lib/authentication.guard.mjs +110 -0
- package/esm2020/lib/authentication.service.mjs +72 -0
- package/esm2020/lib/register.service.mjs +18 -0
- package/esm2020/lib/sign-out.directive.mjs +48 -0
- package/esm2020/lib/tokens.mjs +3 -0
- package/esm2020/lib/user.service.mjs +16 -0
- package/esm2020/rxap-authentication.mjs +5 -0
- package/fesm2015/rxap-authentication-components.mjs +629 -0
- package/fesm2015/rxap-authentication-components.mjs.map +1 -0
- package/fesm2015/{rxap-authentication.js → rxap-authentication.mjs} +51 -47
- package/fesm2015/rxap-authentication.mjs.map +1 -0
- package/{fesm2015/rxap-authentication-components.js → fesm2020/rxap-authentication-components.mjs} +83 -112
- package/fesm2020/rxap-authentication-components.mjs.map +1 -0
- package/fesm2020/rxap-authentication.mjs +298 -0
- package/fesm2020/rxap-authentication.mjs.map +1 -0
- package/package.json +49 -24
- package/src/schematics/ng-add/index.js +1 -1
- package/src/schematics/ng-add/index.js.map +1 -1
- package/bundles/rxap-authentication-components.umd.js +0 -1030
- package/bundles/rxap-authentication-components.umd.js.map +0 -1
- package/bundles/rxap-authentication.umd.js +0 -697
- package/bundles/rxap-authentication.umd.js.map +0 -1
- package/esm2015/components/lib/authentication-container/authentication-container.component.js +0 -44
- package/esm2015/components/lib/authentication-container/authentication-container.component.js.map +0 -1
- package/esm2015/components/lib/authentication-container/authentication-container.component.module.js +0 -30
- package/esm2015/components/lib/authentication-container/authentication-container.component.module.js.map +0 -1
- package/esm2015/components/lib/authentication.module.js +0 -29
- package/esm2015/components/lib/authentication.module.js.map +0 -1
- package/esm2015/components/lib/fade-animation.js +0 -14
- package/esm2015/components/lib/fade-animation.js.map +0 -1
- package/esm2015/components/lib/loading/loading.component.js +0 -45
- package/esm2015/components/lib/loading/loading.component.js.map +0 -1
- package/esm2015/components/lib/loading/loading.component.module.js +0 -26
- package/esm2015/components/lib/loading/loading.component.module.js.map +0 -1
- package/esm2015/components/lib/login/login.component.js +0 -94
- package/esm2015/components/lib/login/login.component.js.map +0 -1
- package/esm2015/components/lib/login/login.component.module.js +0 -70
- package/esm2015/components/lib/login/login.component.module.js.map +0 -1
- package/esm2015/components/lib/login/login.form.js +0 -115
- package/esm2015/components/lib/login/login.form.js.map +0 -1
- package/esm2015/components/lib/reset-password/reset-password.component.js +0 -46
- package/esm2015/components/lib/reset-password/reset-password.component.js.map +0 -1
- package/esm2015/components/lib/reset-password/reset-password.component.module.js +0 -66
- package/esm2015/components/lib/reset-password/reset-password.component.module.js.map +0 -1
- package/esm2015/components/lib/reset-password/reset-password.form.js +0 -115
- package/esm2015/components/lib/reset-password/reset-password.form.js.map +0 -1
- package/esm2015/components/lib/routes.js +0 -32
- package/esm2015/components/lib/routes.js.map +0 -1
- package/esm2015/components/public_api.js +0 -13
- package/esm2015/components/public_api.js.map +0 -1
- package/esm2015/components/rxap-authentication-components.js +0 -5
- package/esm2015/components/rxap-authentication-components.js.map +0 -1
- package/esm2015/index.js +0 -8
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/authentication-routing.service.js +0 -46
- package/esm2015/lib/authentication-routing.service.js.map +0 -1
- package/esm2015/lib/authentication.guard.js +0 -113
- package/esm2015/lib/authentication.guard.js.map +0 -1
- package/esm2015/lib/authentication.service.js +0 -77
- package/esm2015/lib/authentication.service.js.map +0 -1
- package/esm2015/lib/register.service.js +0 -18
- package/esm2015/lib/register.service.js.map +0 -1
- package/esm2015/lib/sign-out.directive.js +0 -51
- package/esm2015/lib/sign-out.directive.js.map +0 -1
- package/esm2015/lib/tokens.js +0 -3
- package/esm2015/lib/tokens.js.map +0 -1
- package/esm2015/lib/user.service.js +0 -16
- package/esm2015/lib/user.service.js.map +0 -1
- package/esm2015/rxap-authentication.js +0 -5
- package/esm2015/rxap-authentication.js.map +0 -1
- package/fesm2015/rxap-authentication-components.js.map +0 -1
- package/fesm2015/rxap-authentication.js.map +0 -1
|
@@ -1,697 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('rxjs'), require('rxjs/operators')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@rxap/authentication', ['exports', '@angular/core', '@angular/router', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.rxap = global.rxap || {}, global.rxap.authentication = {}), global.ng.core, global.ng.router, global.rxjs, global.rxjs.operators));
|
|
5
|
-
}(this, (function (exports, i0, i2, rxjs, operators) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return e[k];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n['default'] = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
29
|
-
|
|
30
|
-
/*! *****************************************************************************
|
|
31
|
-
Copyright (c) Microsoft Corporation.
|
|
32
|
-
|
|
33
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
34
|
-
purpose with or without fee is hereby granted.
|
|
35
|
-
|
|
36
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
37
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
38
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
39
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
40
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
41
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
42
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
43
|
-
***************************************************************************** */
|
|
44
|
-
/* global Reflect, Promise */
|
|
45
|
-
var extendStatics = function (d, b) {
|
|
46
|
-
extendStatics = Object.setPrototypeOf ||
|
|
47
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
48
|
-
function (d, b) { for (var p in b)
|
|
49
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
50
|
-
d[p] = b[p]; };
|
|
51
|
-
return extendStatics(d, b);
|
|
52
|
-
};
|
|
53
|
-
function __extends(d, b) {
|
|
54
|
-
if (typeof b !== "function" && b !== null)
|
|
55
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
56
|
-
extendStatics(d, b);
|
|
57
|
-
function __() { this.constructor = d; }
|
|
58
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
59
|
-
}
|
|
60
|
-
var __assign = function () {
|
|
61
|
-
__assign = Object.assign || function __assign(t) {
|
|
62
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
63
|
-
s = arguments[i];
|
|
64
|
-
for (var p in s)
|
|
65
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
66
|
-
t[p] = s[p];
|
|
67
|
-
}
|
|
68
|
-
return t;
|
|
69
|
-
};
|
|
70
|
-
return __assign.apply(this, arguments);
|
|
71
|
-
};
|
|
72
|
-
function __rest(s, e) {
|
|
73
|
-
var t = {};
|
|
74
|
-
for (var p in s)
|
|
75
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
76
|
-
t[p] = s[p];
|
|
77
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
78
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
79
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
80
|
-
t[p[i]] = s[p[i]];
|
|
81
|
-
}
|
|
82
|
-
return t;
|
|
83
|
-
}
|
|
84
|
-
function __decorate(decorators, target, key, desc) {
|
|
85
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
86
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
87
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
88
|
-
else
|
|
89
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
90
|
-
if (d = decorators[i])
|
|
91
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
92
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
93
|
-
}
|
|
94
|
-
function __param(paramIndex, decorator) {
|
|
95
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
96
|
-
}
|
|
97
|
-
function __metadata(metadataKey, metadataValue) {
|
|
98
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
99
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
100
|
-
}
|
|
101
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
102
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
103
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
104
|
-
function fulfilled(value) { try {
|
|
105
|
-
step(generator.next(value));
|
|
106
|
-
}
|
|
107
|
-
catch (e) {
|
|
108
|
-
reject(e);
|
|
109
|
-
} }
|
|
110
|
-
function rejected(value) { try {
|
|
111
|
-
step(generator["throw"](value));
|
|
112
|
-
}
|
|
113
|
-
catch (e) {
|
|
114
|
-
reject(e);
|
|
115
|
-
} }
|
|
116
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
117
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
function __generator(thisArg, body) {
|
|
121
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
122
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
123
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
124
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
125
|
-
function step(op) {
|
|
126
|
-
if (f)
|
|
127
|
-
throw new TypeError("Generator is already executing.");
|
|
128
|
-
while (_)
|
|
129
|
-
try {
|
|
130
|
-
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)
|
|
131
|
-
return t;
|
|
132
|
-
if (y = 0, t)
|
|
133
|
-
op = [op[0] & 2, t.value];
|
|
134
|
-
switch (op[0]) {
|
|
135
|
-
case 0:
|
|
136
|
-
case 1:
|
|
137
|
-
t = op;
|
|
138
|
-
break;
|
|
139
|
-
case 4:
|
|
140
|
-
_.label++;
|
|
141
|
-
return { value: op[1], done: false };
|
|
142
|
-
case 5:
|
|
143
|
-
_.label++;
|
|
144
|
-
y = op[1];
|
|
145
|
-
op = [0];
|
|
146
|
-
continue;
|
|
147
|
-
case 7:
|
|
148
|
-
op = _.ops.pop();
|
|
149
|
-
_.trys.pop();
|
|
150
|
-
continue;
|
|
151
|
-
default:
|
|
152
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
153
|
-
_ = 0;
|
|
154
|
-
continue;
|
|
155
|
-
}
|
|
156
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
157
|
-
_.label = op[1];
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
161
|
-
_.label = t[1];
|
|
162
|
-
t = op;
|
|
163
|
-
break;
|
|
164
|
-
}
|
|
165
|
-
if (t && _.label < t[2]) {
|
|
166
|
-
_.label = t[2];
|
|
167
|
-
_.ops.push(op);
|
|
168
|
-
break;
|
|
169
|
-
}
|
|
170
|
-
if (t[2])
|
|
171
|
-
_.ops.pop();
|
|
172
|
-
_.trys.pop();
|
|
173
|
-
continue;
|
|
174
|
-
}
|
|
175
|
-
op = body.call(thisArg, _);
|
|
176
|
-
}
|
|
177
|
-
catch (e) {
|
|
178
|
-
op = [6, e];
|
|
179
|
-
y = 0;
|
|
180
|
-
}
|
|
181
|
-
finally {
|
|
182
|
-
f = t = 0;
|
|
183
|
-
}
|
|
184
|
-
if (op[0] & 5)
|
|
185
|
-
throw op[1];
|
|
186
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
190
|
-
if (k2 === undefined)
|
|
191
|
-
k2 = k;
|
|
192
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
193
|
-
}) : (function (o, m, k, k2) {
|
|
194
|
-
if (k2 === undefined)
|
|
195
|
-
k2 = k;
|
|
196
|
-
o[k2] = m[k];
|
|
197
|
-
});
|
|
198
|
-
function __exportStar(m, o) {
|
|
199
|
-
for (var p in m)
|
|
200
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
201
|
-
__createBinding(o, m, p);
|
|
202
|
-
}
|
|
203
|
-
function __values(o) {
|
|
204
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
205
|
-
if (m)
|
|
206
|
-
return m.call(o);
|
|
207
|
-
if (o && typeof o.length === "number")
|
|
208
|
-
return {
|
|
209
|
-
next: function () {
|
|
210
|
-
if (o && i >= o.length)
|
|
211
|
-
o = void 0;
|
|
212
|
-
return { value: o && o[i++], done: !o };
|
|
213
|
-
}
|
|
214
|
-
};
|
|
215
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
216
|
-
}
|
|
217
|
-
function __read(o, n) {
|
|
218
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
219
|
-
if (!m)
|
|
220
|
-
return o;
|
|
221
|
-
var i = m.call(o), r, ar = [], e;
|
|
222
|
-
try {
|
|
223
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
224
|
-
ar.push(r.value);
|
|
225
|
-
}
|
|
226
|
-
catch (error) {
|
|
227
|
-
e = { error: error };
|
|
228
|
-
}
|
|
229
|
-
finally {
|
|
230
|
-
try {
|
|
231
|
-
if (r && !r.done && (m = i["return"]))
|
|
232
|
-
m.call(i);
|
|
233
|
-
}
|
|
234
|
-
finally {
|
|
235
|
-
if (e)
|
|
236
|
-
throw e.error;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
return ar;
|
|
240
|
-
}
|
|
241
|
-
/** @deprecated */
|
|
242
|
-
function __spread() {
|
|
243
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
244
|
-
ar = ar.concat(__read(arguments[i]));
|
|
245
|
-
return ar;
|
|
246
|
-
}
|
|
247
|
-
/** @deprecated */
|
|
248
|
-
function __spreadArrays() {
|
|
249
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
250
|
-
s += arguments[i].length;
|
|
251
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
252
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
253
|
-
r[k] = a[j];
|
|
254
|
-
return r;
|
|
255
|
-
}
|
|
256
|
-
function __spreadArray(to, from) {
|
|
257
|
-
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
258
|
-
to[j] = from[i];
|
|
259
|
-
return to;
|
|
260
|
-
}
|
|
261
|
-
function __await(v) {
|
|
262
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
263
|
-
}
|
|
264
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
265
|
-
if (!Symbol.asyncIterator)
|
|
266
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
267
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
268
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
269
|
-
function verb(n) { if (g[n])
|
|
270
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
271
|
-
function resume(n, v) { try {
|
|
272
|
-
step(g[n](v));
|
|
273
|
-
}
|
|
274
|
-
catch (e) {
|
|
275
|
-
settle(q[0][3], e);
|
|
276
|
-
} }
|
|
277
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
278
|
-
function fulfill(value) { resume("next", value); }
|
|
279
|
-
function reject(value) { resume("throw", value); }
|
|
280
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
281
|
-
resume(q[0][0], q[0][1]); }
|
|
282
|
-
}
|
|
283
|
-
function __asyncDelegator(o) {
|
|
284
|
-
var i, p;
|
|
285
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
286
|
-
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; }
|
|
287
|
-
}
|
|
288
|
-
function __asyncValues(o) {
|
|
289
|
-
if (!Symbol.asyncIterator)
|
|
290
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
291
|
-
var m = o[Symbol.asyncIterator], i;
|
|
292
|
-
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);
|
|
293
|
-
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); }); }; }
|
|
294
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
295
|
-
}
|
|
296
|
-
function __makeTemplateObject(cooked, raw) {
|
|
297
|
-
if (Object.defineProperty) {
|
|
298
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
299
|
-
}
|
|
300
|
-
else {
|
|
301
|
-
cooked.raw = raw;
|
|
302
|
-
}
|
|
303
|
-
return cooked;
|
|
304
|
-
}
|
|
305
|
-
;
|
|
306
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
307
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
308
|
-
}) : function (o, v) {
|
|
309
|
-
o["default"] = v;
|
|
310
|
-
};
|
|
311
|
-
function __importStar(mod) {
|
|
312
|
-
if (mod && mod.__esModule)
|
|
313
|
-
return mod;
|
|
314
|
-
var result = {};
|
|
315
|
-
if (mod != null)
|
|
316
|
-
for (var k in mod)
|
|
317
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
318
|
-
__createBinding(result, mod, k);
|
|
319
|
-
__setModuleDefault(result, mod);
|
|
320
|
-
return result;
|
|
321
|
-
}
|
|
322
|
-
function __importDefault(mod) {
|
|
323
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
324
|
-
}
|
|
325
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
326
|
-
if (kind === "a" && !f)
|
|
327
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
328
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
329
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
330
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
331
|
-
}
|
|
332
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
333
|
-
if (kind === "m")
|
|
334
|
-
throw new TypeError("Private method is not writable");
|
|
335
|
-
if (kind === "a" && !f)
|
|
336
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
337
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
338
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
339
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
var RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY = 'rxap__authenticated';
|
|
343
|
-
function TimeoutPromise(callback, ms) {
|
|
344
|
-
return new Promise(function (resolve, reject) {
|
|
345
|
-
setTimeout(function () {
|
|
346
|
-
callback(resolve, reject);
|
|
347
|
-
}, ms);
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
function TimeoutResolve(value, ms) {
|
|
351
|
-
return new Promise(function (resolve) {
|
|
352
|
-
setTimeout(function () {
|
|
353
|
-
resolve(value);
|
|
354
|
-
}, ms);
|
|
355
|
-
});
|
|
356
|
-
}
|
|
357
|
-
/* ignore coverage */
|
|
358
|
-
var RxapAuthenticationService = /** @class */ (function () {
|
|
359
|
-
function RxapAuthenticationService() {
|
|
360
|
-
var _this = this;
|
|
361
|
-
this.isAuthenticated$ = new rxjs.BehaviorSubject(null);
|
|
362
|
-
console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');
|
|
363
|
-
this.isAuthenticated().then(function (isAuthenticated) { return _this.isAuthenticated$.next(isAuthenticated); });
|
|
364
|
-
}
|
|
365
|
-
RxapAuthenticationService.prototype.requestPasswordReset = function (email) {
|
|
366
|
-
console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');
|
|
367
|
-
return TimeoutResolve(email !== 'fail@fail', 2500);
|
|
368
|
-
};
|
|
369
|
-
RxapAuthenticationService.prototype.sendPasswordReset = function (password, token) {
|
|
370
|
-
console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');
|
|
371
|
-
return TimeoutResolve(password !== 'fail', 2500);
|
|
372
|
-
};
|
|
373
|
-
RxapAuthenticationService.prototype.signInWithEmailAndPassword = function (email, password, remember) {
|
|
374
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
375
|
-
var _this = this;
|
|
376
|
-
return __generator(this, function (_a) {
|
|
377
|
-
console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');
|
|
378
|
-
return [2 /*return*/, TimeoutPromise(function (resolve, reject) {
|
|
379
|
-
var login = password !== 'fail';
|
|
380
|
-
_this.isAuthenticated$.next(login);
|
|
381
|
-
if (login) {
|
|
382
|
-
if (remember) {
|
|
383
|
-
localStorage.setItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY, 'true');
|
|
384
|
-
}
|
|
385
|
-
resolve(login);
|
|
386
|
-
}
|
|
387
|
-
else {
|
|
388
|
-
localStorage.removeItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY);
|
|
389
|
-
reject(new Error('Login credentials are invalid'));
|
|
390
|
-
}
|
|
391
|
-
}, 2500)];
|
|
392
|
-
});
|
|
393
|
-
});
|
|
394
|
-
};
|
|
395
|
-
RxapAuthenticationService.prototype.signOut = function () {
|
|
396
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
397
|
-
return __generator(this, function (_a) {
|
|
398
|
-
console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');
|
|
399
|
-
this.isAuthenticated$.next(false);
|
|
400
|
-
localStorage.removeItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY);
|
|
401
|
-
return [2 /*return*/];
|
|
402
|
-
});
|
|
403
|
-
});
|
|
404
|
-
};
|
|
405
|
-
RxapAuthenticationService.prototype.signInWithProvider = function (provider) {
|
|
406
|
-
console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');
|
|
407
|
-
return Promise.resolve(false);
|
|
408
|
-
};
|
|
409
|
-
RxapAuthenticationService.prototype.isAuthenticated = function () {
|
|
410
|
-
return TimeoutPromise(function (resolve) {
|
|
411
|
-
resolve(localStorage.getItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY) === 'true');
|
|
412
|
-
}, 2500);
|
|
413
|
-
};
|
|
414
|
-
return RxapAuthenticationService;
|
|
415
|
-
}());
|
|
416
|
-
RxapAuthenticationService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RxapAuthenticationService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
417
|
-
RxapAuthenticationService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RxapAuthenticationService, providedIn: 'root' });
|
|
418
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RxapAuthenticationService, decorators: [{
|
|
419
|
-
type: i0.Injectable,
|
|
420
|
-
args: [{ providedIn: 'root' }]
|
|
421
|
-
}], ctorParameters: function () { return []; } });
|
|
422
|
-
|
|
423
|
-
var RXAP_AUTHENTICATION_DEACTIVATED = new i0.InjectionToken('rxap/authentication/deactivated');
|
|
424
|
-
|
|
425
|
-
var RxapAuthenticationGuard = /** @class */ (function () {
|
|
426
|
-
function RxapAuthenticationGuard(authentication, router, deactivated) {
|
|
427
|
-
if (deactivated === void 0) { deactivated = null; }
|
|
428
|
-
this.authentication = authentication;
|
|
429
|
-
this.router = router;
|
|
430
|
-
this.deactivated = deactivated;
|
|
431
|
-
this.lastUrl = null;
|
|
432
|
-
}
|
|
433
|
-
RxapAuthenticationGuard.prototype.canActivate = function (route, state) {
|
|
434
|
-
console.debug('[RxapAuthenticationGuard] can activate', state.url);
|
|
435
|
-
return this.checkAuthStatus(route, state);
|
|
436
|
-
};
|
|
437
|
-
RxapAuthenticationGuard.prototype.canActivateChild = function (childRoute, state) {
|
|
438
|
-
console.debug('[RxapAuthenticationGuard] can activate child', state.url);
|
|
439
|
-
return this.checkAuthStatus(childRoute, state);
|
|
440
|
-
};
|
|
441
|
-
RxapAuthenticationGuard.prototype.checkAuthStatus = function (route, state) {
|
|
442
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
443
|
-
var authenticated, lastUrl, lastUrl;
|
|
444
|
-
return __generator(this, function (_a) {
|
|
445
|
-
switch (_a.label) {
|
|
446
|
-
case 0:
|
|
447
|
-
if (this.deactivated) {
|
|
448
|
-
return [2 /*return*/, true];
|
|
449
|
-
}
|
|
450
|
-
return [4 /*yield*/, this.authentication.isAuthenticated()];
|
|
451
|
-
case 1:
|
|
452
|
-
authenticated = _a.sent();
|
|
453
|
-
if (authenticated === null) {
|
|
454
|
-
if (!this.lastUrl || (state.url !== '/' && !state.url.match(/authentication\/login/))) {
|
|
455
|
-
this.lastUrl = state.url;
|
|
456
|
-
}
|
|
457
|
-
return [2 /*return*/, this.router.createUrlTree(['/', 'authentication', 'loading'])];
|
|
458
|
-
}
|
|
459
|
-
if (authenticated) {
|
|
460
|
-
if (this.lastUrl && (state.url /*?*/ === '/' || state.url.match(/authentication\/login/))) {
|
|
461
|
-
lastUrl = this.lastUrl;
|
|
462
|
-
this.lastUrl = null;
|
|
463
|
-
return [2 /*return*/, this.createUrlTreeToLastUrl(lastUrl)];
|
|
464
|
-
}
|
|
465
|
-
else {
|
|
466
|
-
if (state.url.match(/authentication/)) {
|
|
467
|
-
if (state.url.match(/authentication\/reset-password/)) {
|
|
468
|
-
return [2 /*return*/, true];
|
|
469
|
-
}
|
|
470
|
-
return [2 /*return*/, this.router.createUrlTree(['/'])];
|
|
471
|
-
}
|
|
472
|
-
else {
|
|
473
|
-
this.lastUrl = null;
|
|
474
|
-
return [2 /*return*/, true];
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
else {
|
|
479
|
-
if (!state.url.match(/^\/?authentication/)) {
|
|
480
|
-
this.lastUrl = state.url;
|
|
481
|
-
}
|
|
482
|
-
if (state.url.match(/^\/?authentication/)) {
|
|
483
|
-
if (this.lastUrl && this.lastUrl.match(/^\/?authentication/)) {
|
|
484
|
-
lastUrl = this.lastUrl;
|
|
485
|
-
this.lastUrl = null;
|
|
486
|
-
return [2 /*return*/, this.createUrlTreeToLastUrl(lastUrl)];
|
|
487
|
-
}
|
|
488
|
-
return [2 /*return*/, true];
|
|
489
|
-
}
|
|
490
|
-
else {
|
|
491
|
-
return [2 /*return*/, this.router.createUrlTree(['/', 'authentication', 'login'])];
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
return [2 /*return*/];
|
|
495
|
-
}
|
|
496
|
-
});
|
|
497
|
-
});
|
|
498
|
-
};
|
|
499
|
-
RxapAuthenticationGuard.prototype.createUrlTreeToLastUrl = function (lastUrl) {
|
|
500
|
-
var urlMatch = lastUrl.match(/^([^?#]+)(\?([^#]+))?(#(.+))?$/);
|
|
501
|
-
if (urlMatch) {
|
|
502
|
-
var queryParams = {};
|
|
503
|
-
if (urlMatch[3]) {
|
|
504
|
-
var queryParamsString = urlMatch[3];
|
|
505
|
-
queryParams = queryParamsString.split('&').map(function (param) {
|
|
506
|
-
var _a;
|
|
507
|
-
var split = param.split('=');
|
|
508
|
-
return _a = {}, _a[split[0]] = split[1], _a;
|
|
509
|
-
}).reduce(function (params, param) { return (Object.assign(Object.assign({}, params), param)); }, {});
|
|
510
|
-
}
|
|
511
|
-
var fragment = undefined;
|
|
512
|
-
if (urlMatch[5]) {
|
|
513
|
-
fragment = urlMatch[5];
|
|
514
|
-
}
|
|
515
|
-
return this.router.createUrlTree([urlMatch[1]], {
|
|
516
|
-
queryParams: queryParams,
|
|
517
|
-
fragment: fragment,
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
return this.router.createUrlTree([lastUrl]);
|
|
521
|
-
};
|
|
522
|
-
return RxapAuthenticationGuard;
|
|
523
|
-
}());
|
|
524
|
-
RxapAuthenticationGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RxapAuthenticationGuard, deps: [{ token: RxapAuthenticationService }, { token: i2.Router }, { token: RXAP_AUTHENTICATION_DEACTIVATED, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
525
|
-
RxapAuthenticationGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RxapAuthenticationGuard, providedIn: 'root' });
|
|
526
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RxapAuthenticationGuard, decorators: [{
|
|
527
|
-
type: i0.Injectable,
|
|
528
|
-
args: [{ providedIn: 'root' }]
|
|
529
|
-
}], ctorParameters: function () {
|
|
530
|
-
return [{ type: RxapAuthenticationService, decorators: [{
|
|
531
|
-
type: i0.Inject,
|
|
532
|
-
args: [RxapAuthenticationService]
|
|
533
|
-
}] }, { type: i2__namespace.Router, decorators: [{
|
|
534
|
-
type: i0.Inject,
|
|
535
|
-
args: [i2.Router]
|
|
536
|
-
}] }, { type: undefined, decorators: [{
|
|
537
|
-
type: i0.Optional
|
|
538
|
-
}, {
|
|
539
|
-
type: i0.Inject,
|
|
540
|
-
args: [RXAP_AUTHENTICATION_DEACTIVATED]
|
|
541
|
-
}] }];
|
|
542
|
-
} });
|
|
543
|
-
|
|
544
|
-
/* ignore coverage */
|
|
545
|
-
var RegisterService = /** @class */ (function () {
|
|
546
|
-
function RegisterService() {
|
|
547
|
-
console.warn('The default RegisterService implementation should only be used in a development environment!');
|
|
548
|
-
}
|
|
549
|
-
RegisterService.prototype.register = function (email, password) {
|
|
550
|
-
return Promise.resolve(true);
|
|
551
|
-
};
|
|
552
|
-
return RegisterService;
|
|
553
|
-
}());
|
|
554
|
-
RegisterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RegisterService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
555
|
-
RegisterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RegisterService, providedIn: 'root' });
|
|
556
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: RegisterService, decorators: [{
|
|
557
|
-
type: i0.Injectable,
|
|
558
|
-
args: [{ providedIn: 'root' }]
|
|
559
|
-
}], ctorParameters: function () { return []; } });
|
|
560
|
-
|
|
561
|
-
/* ignore coverage */
|
|
562
|
-
var UserService = /** @class */ (function () {
|
|
563
|
-
function UserService() {
|
|
564
|
-
this.user$ = new rxjs.BehaviorSubject(null);
|
|
565
|
-
}
|
|
566
|
-
return UserService;
|
|
567
|
-
}());
|
|
568
|
-
UserService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: UserService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
569
|
-
UserService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: UserService, providedIn: 'root' });
|
|
570
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: UserService, decorators: [{
|
|
571
|
-
type: i0.Injectable,
|
|
572
|
-
args: [{ providedIn: 'root' }]
|
|
573
|
-
}] });
|
|
574
|
-
|
|
575
|
-
var AuthenticationRoutingService = /** @class */ (function () {
|
|
576
|
-
function AuthenticationRoutingService(router, authenticationService, deactivated) {
|
|
577
|
-
var _this = this;
|
|
578
|
-
if (deactivated === void 0) { deactivated = null; }
|
|
579
|
-
this.router = router;
|
|
580
|
-
this.authenticationService = authenticationService;
|
|
581
|
-
this.deactivated = deactivated;
|
|
582
|
-
if (!deactivated) {
|
|
583
|
-
console.warn('Authentication is enabled');
|
|
584
|
-
this.authenticationService.isAuthenticated$.pipe(operators.tap(function (isAuthenticated) {
|
|
585
|
-
if (isAuthenticated) {
|
|
586
|
-
return _this.router.navigate(['/']);
|
|
587
|
-
}
|
|
588
|
-
else {
|
|
589
|
-
return _this.router.navigate(['/', 'authentication', 'login']);
|
|
590
|
-
}
|
|
591
|
-
})).subscribe();
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
return AuthenticationRoutingService;
|
|
595
|
-
}());
|
|
596
|
-
AuthenticationRoutingService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: AuthenticationRoutingService, deps: [{ token: i2.Router }, { token: RxapAuthenticationService }, { token: RXAP_AUTHENTICATION_DEACTIVATED, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
597
|
-
AuthenticationRoutingService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: AuthenticationRoutingService, providedIn: 'root' });
|
|
598
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: AuthenticationRoutingService, decorators: [{
|
|
599
|
-
type: i0.Injectable,
|
|
600
|
-
args: [{
|
|
601
|
-
providedIn: 'root'
|
|
602
|
-
}]
|
|
603
|
-
}], ctorParameters: function () {
|
|
604
|
-
return [{ type: i2__namespace.Router, decorators: [{
|
|
605
|
-
type: i0.Inject,
|
|
606
|
-
args: [i2.Router]
|
|
607
|
-
}] }, { type: RxapAuthenticationService, decorators: [{
|
|
608
|
-
type: i0.Inject,
|
|
609
|
-
args: [RxapAuthenticationService]
|
|
610
|
-
}] }, { type: undefined, decorators: [{
|
|
611
|
-
type: i0.Optional
|
|
612
|
-
}, {
|
|
613
|
-
type: i0.Inject,
|
|
614
|
-
args: [RXAP_AUTHENTICATION_DEACTIVATED]
|
|
615
|
-
}] }];
|
|
616
|
-
} });
|
|
617
|
-
|
|
618
|
-
var SignOutDirective = /** @class */ (function () {
|
|
619
|
-
function SignOutDirective(auth) {
|
|
620
|
-
this.auth = auth;
|
|
621
|
-
this.successful = new i0.EventEmitter();
|
|
622
|
-
this.failure = new i0.EventEmitter();
|
|
623
|
-
}
|
|
624
|
-
SignOutDirective.prototype.onClick = function () {
|
|
625
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
626
|
-
var e_1;
|
|
627
|
-
return __generator(this, function (_a) {
|
|
628
|
-
switch (_a.label) {
|
|
629
|
-
case 0:
|
|
630
|
-
_a.trys.push([0, 2, , 3]);
|
|
631
|
-
return [4 /*yield*/, this.auth.signOut()];
|
|
632
|
-
case 1:
|
|
633
|
-
_a.sent();
|
|
634
|
-
this.successful.emit();
|
|
635
|
-
return [3 /*break*/, 3];
|
|
636
|
-
case 2:
|
|
637
|
-
e_1 = _a.sent();
|
|
638
|
-
this.failure.emit(e_1);
|
|
639
|
-
return [3 /*break*/, 3];
|
|
640
|
-
case 3: return [2 /*return*/];
|
|
641
|
-
}
|
|
642
|
-
});
|
|
643
|
-
});
|
|
644
|
-
};
|
|
645
|
-
return SignOutDirective;
|
|
646
|
-
}());
|
|
647
|
-
SignOutDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: SignOutDirective, deps: [{ token: RxapAuthenticationService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
648
|
-
SignOutDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.0.1", type: SignOutDirective, selector: "[rxapSignOut]", outputs: { successful: "successful", failure: "failure" }, host: { listeners: { "click": "onClick()" } }, ngImport: i0__namespace });
|
|
649
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: SignOutDirective, decorators: [{
|
|
650
|
-
type: i0.Directive,
|
|
651
|
-
args: [{
|
|
652
|
-
selector: '[rxapSignOut]'
|
|
653
|
-
}]
|
|
654
|
-
}], ctorParameters: function () { return [{ type: RxapAuthenticationService }]; }, propDecorators: { successful: [{
|
|
655
|
-
type: i0.Output
|
|
656
|
-
}], failure: [{
|
|
657
|
-
type: i0.Output
|
|
658
|
-
}], onClick: [{
|
|
659
|
-
type: i0.HostListener,
|
|
660
|
-
args: ['click']
|
|
661
|
-
}] } });
|
|
662
|
-
var SignOutDirectiveModule = /** @class */ (function () {
|
|
663
|
-
function SignOutDirectiveModule() {
|
|
664
|
-
}
|
|
665
|
-
return SignOutDirectiveModule;
|
|
666
|
-
}());
|
|
667
|
-
SignOutDirectiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: SignOutDirectiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
668
|
-
SignOutDirectiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: SignOutDirectiveModule, declarations: [SignOutDirective], exports: [SignOutDirective] });
|
|
669
|
-
SignOutDirectiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: SignOutDirectiveModule });
|
|
670
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0__namespace, type: SignOutDirectiveModule, decorators: [{
|
|
671
|
-
type: i0.NgModule,
|
|
672
|
-
args: [{
|
|
673
|
-
declarations: [SignOutDirective],
|
|
674
|
-
exports: [SignOutDirective]
|
|
675
|
-
}]
|
|
676
|
-
}] });
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* Generated bundle index. Do not edit.
|
|
680
|
-
*/
|
|
681
|
-
|
|
682
|
-
exports.AuthenticationRoutingService = AuthenticationRoutingService;
|
|
683
|
-
exports.RXAP_AUTHENTICATION_DEACTIVATED = RXAP_AUTHENTICATION_DEACTIVATED;
|
|
684
|
-
exports.RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY = RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY;
|
|
685
|
-
exports.RegisterService = RegisterService;
|
|
686
|
-
exports.RxapAuthenticationGuard = RxapAuthenticationGuard;
|
|
687
|
-
exports.RxapAuthenticationService = RxapAuthenticationService;
|
|
688
|
-
exports.SignOutDirective = SignOutDirective;
|
|
689
|
-
exports.SignOutDirectiveModule = SignOutDirectiveModule;
|
|
690
|
-
exports.TimeoutPromise = TimeoutPromise;
|
|
691
|
-
exports.TimeoutResolve = TimeoutResolve;
|
|
692
|
-
exports.UserService = UserService;
|
|
693
|
-
|
|
694
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
695
|
-
|
|
696
|
-
})));
|
|
697
|
-
//# sourceMappingURL=rxap-authentication.umd.js.map
|