@rxap/authentication 12.1.5 → 13.0.0-next.1
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/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} +52 -48
- package/fesm2015/rxap-authentication.mjs.map +1 -0
- package/{fesm2015/rxap-authentication-components.js → fesm2020/rxap-authentication-components.mjs} +82 -111
- 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 -25
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rxap-authentication.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","../../../../libs/authentication/src/lib/authentication.service.ts","../../../../libs/authentication/src/lib/tokens.ts","../../../../libs/authentication/src/lib/authentication.guard.ts","../../../../libs/authentication/src/lib/register.service.ts","../../../../libs/authentication/src/lib/user.service.ts","../../../../libs/authentication/src/lib/authentication-routing.service.ts","../../../../libs/authentication/src/lib/sign-out.directive.ts","../../../../libs/authentication/src/rxap-authentication.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from) {\r\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\r\n to[j] = from[i];\r\n return to;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import {\n Injectable,\n Inject,\n Optional\n} from '@angular/core';\nimport {\n BehaviorSubject,\n Observable\n} from 'rxjs';\nimport { Router } from '@angular/router';\nimport { tap } from 'rxjs/operators';\nimport { RXAP_AUTHENTICATION_DEACTIVATED } from './tokens';\n\nexport const RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY = 'rxap__authenticated';\n\nexport interface IAuthenticationService {\n isAuthenticated$: Observable<boolean | null>;\n\n requestPasswordReset(email: string): Promise<boolean>;\n\n sendPasswordReset(password: string, token: string): Promise<boolean>;\n\n signInWithEmailAndPassword(email: string, password: string, remember: boolean): Promise<boolean>;\n\n signOut(): Promise<void>;\n\n}\n\nexport function TimeoutPromise<T>(callback: (resolve: (value: T) => void, reject: (error: any) => void) => void, ms: number): Promise<T> {\n return new Promise<T>((resolve, reject) => {\n\n setTimeout(() => {\n callback(resolve, reject);\n }, ms);\n\n });\n}\n\nexport function TimeoutResolve<T>(value: T, ms: number): Promise<T> {\n return new Promise(resolve => {\n\n setTimeout(() => {\n resolve(value);\n }, ms);\n\n });\n}\n\n@Injectable({ providedIn: 'root' })\n/* ignore coverage */\nexport class RxapAuthenticationService implements IAuthenticationService {\n\n public isAuthenticated$ = new BehaviorSubject<boolean | null>(null);\n\n constructor() {\n console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');\n this.isAuthenticated().then(isAuthenticated => this.isAuthenticated$.next(isAuthenticated));\n }\n\n public requestPasswordReset(email: string): Promise<boolean> {\n console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');\n return TimeoutResolve(email !== 'fail@fail', 2500);\n }\n\n public sendPasswordReset(password: string, token: string): Promise<boolean> {\n console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');\n return TimeoutResolve(password !== 'fail', 2500);\n }\n\n public async signInWithEmailAndPassword(email: string, password: string, remember: boolean): Promise<boolean> {\n console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');\n return TimeoutPromise((resolve, reject) => {\n\n const login = password !== 'fail';\n this.isAuthenticated$.next(login);\n if (login) {\n if (remember) {\n localStorage.setItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY, 'true');\n }\n resolve(login);\n } else {\n localStorage.removeItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY);\n reject(new Error('Login credentials are invalid'));\n }\n\n }, 2500);\n\n }\n\n public async signOut(): Promise<void> {\n console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');\n this.isAuthenticated$.next(false);\n localStorage.removeItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY);\n }\n\n public signInWithProvider(provider: string): Promise<boolean> {\n console.warn('The default RxapAuthenticationService implementation should only be used in a development environment!');\n return Promise.resolve(false);\n }\n\n public isAuthenticated(): Promise<boolean> {\n return TimeoutPromise((resolve) => {\n resolve(localStorage.getItem(RXAP_AUTHENTICATION_LOCAL_STORAGE_KEY) === 'true');\n }, 2500);\n }\n\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const RXAP_AUTHENTICATION_DEACTIVATED = new InjectionToken<boolean>('rxap/authentication/deactivated');\n","import {\n Injectable,\n Inject,\n Optional\n} from '@angular/core';\nimport {\n CanActivate,\n CanActivateChild,\n ActivatedRouteSnapshot,\n RouterStateSnapshot,\n UrlTree,\n Router\n} from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { RxapAuthenticationService } from './authentication.service';\nimport {\n map,\n first,\n take\n} from 'rxjs/operators';\nimport { RXAP_AUTHENTICATION_DEACTIVATED } from './tokens';\n\n@Injectable({ providedIn: 'root' })\nexport class RxapAuthenticationGuard implements CanActivate, CanActivateChild {\n\n public lastUrl: string | null = null;\n\n constructor(\n @Inject(RxapAuthenticationService)\n public authentication: RxapAuthenticationService,\n @Inject(Router)\n public router: Router,\n @Optional()\n @Inject(RXAP_AUTHENTICATION_DEACTIVATED)\n private readonly deactivated: boolean | null = null\n ) {}\n\n public canActivate(\n route: ActivatedRouteSnapshot,\n state: RouterStateSnapshot\n ): Promise<UrlTree | boolean> {\n console.debug('[RxapAuthenticationGuard] can activate', state.url);\n return this.checkAuthStatus(route, state);\n }\n\n public canActivateChild(\n childRoute: ActivatedRouteSnapshot,\n state: RouterStateSnapshot\n ): Promise<UrlTree | boolean> {\n console.debug('[RxapAuthenticationGuard] can activate child', state.url);\n return this.checkAuthStatus(childRoute, state);\n }\n\n private async checkAuthStatus(\n route: ActivatedRouteSnapshot,\n state: RouterStateSnapshot\n ): Promise<UrlTree | boolean> {\n\n if (this.deactivated) {\n return true;\n }\n\n const authenticated = await this.authentication.isAuthenticated();\n\n if (authenticated === null) {\n if (!this.lastUrl || (state.url !== '/' && !state.url.match(/authentication\\/login/))) {\n this.lastUrl = state.url;\n }\n return this.router.createUrlTree([ '/', 'authentication', 'loading' ]);\n }\n if (authenticated) {\n if (this.lastUrl && (state.url/*?*/ === '/' || state.url.match(/authentication\\/login/))) {\n const lastUrl = this.lastUrl;\n this.lastUrl = null;\n return this.createUrlTreeToLastUrl(lastUrl);\n } else {\n if (state.url.match(/authentication/)) {\n if (state.url.match(/authentication\\/reset-password/)) {\n return true;\n }\n return this.router.createUrlTree([ '/' ]);\n } else {\n this.lastUrl = null;\n return true;\n }\n }\n } else {\n if (!state.url.match(/^\\/?authentication/)) {\n this.lastUrl = state.url;\n }\n if (state.url.match(/^\\/?authentication/)) {\n if (this.lastUrl && this.lastUrl.match(/^\\/?authentication/)) {\n const lastUrl = this.lastUrl;\n this.lastUrl = null;\n return this.createUrlTreeToLastUrl(lastUrl);\n }\n return true;\n } else {\n return this.router.createUrlTree([ '/', 'authentication', 'login' ]);\n }\n }\n\n }\n\n private createUrlTreeToLastUrl(lastUrl: string): UrlTree {\n\n const urlMatch = lastUrl.match(/^([^?#]+)(\\?([^#]+))?(#(.+))?$/);\n\n if (urlMatch) {\n\n let queryParams: Record<string, string> = {};\n\n if (urlMatch[3]) {\n const queryParamsString = urlMatch[ 3 ];\n queryParams = queryParamsString.split('&').map(param => {\n const split = param.split('=');\n return { [ split[ 0 ] ]: split[ 1 ] };\n }).reduce((params, param) => ({ ...params, ...param }), {});\n }\n\n let fragment: string | undefined = undefined;\n\n if (urlMatch[5]) {\n fragment = urlMatch[5];\n }\n\n return this.router.createUrlTree([urlMatch[1]], {\n queryParams,\n fragment,\n });\n\n }\n\n return this.router.createUrlTree([lastUrl]);\n\n }\n\n}\n","import { Injectable } from '@angular/core';\n\n@Injectable({ providedIn: 'root' })\n/* ignore coverage */\nexport class RegisterService {\n\n constructor() {\n console.warn('The default RegisterService implementation should only be used in a development environment!');\n }\n\n public register(email: string, password: string): Promise<boolean> {\n return Promise.resolve(true);\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject } from 'rxjs';\n\nexport interface UserProfile {\n username: string;\n firstname?: string;\n lastname?: string;\n name?: string;\n email: string;\n photoURL?: string;\n avatarUrl?: string;\n}\n\n@Injectable({ providedIn: 'root' })\n/* ignore coverage */\nexport class UserService<User extends UserProfile = UserProfile> {\n\n public user$ = new BehaviorSubject<User | null>(null);\n\n}\n","import {\n Injectable,\n Inject,\n Optional\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { RxapAuthenticationService } from './authentication.service';\nimport { RXAP_AUTHENTICATION_DEACTIVATED } from './tokens';\nimport { tap } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AuthenticationRoutingService {\n\n constructor(\n @Inject(Router)\n private readonly router: Router,\n @Inject(RxapAuthenticationService)\n private readonly authenticationService: RxapAuthenticationService,\n @Optional()\n @Inject(RXAP_AUTHENTICATION_DEACTIVATED)\n private readonly deactivated: boolean | null = null\n ) {\n if (!deactivated) {\n console.warn('Authentication is enabled');\n this.authenticationService.isAuthenticated$.pipe(\n tap(isAuthenticated => {\n if (isAuthenticated) {\n return this.router.navigate([ '/' ]);\n } else {\n return this.router.navigate([ '/', 'authentication', 'login' ]);\n }\n })\n ).subscribe();\n }\n }\n\n}\n","import {\n Directive,\n NgModule,\n HostListener,\n EventEmitter,\n Output\n} from '@angular/core';\nimport { RxapAuthenticationService } from './authentication.service';\n\n@Directive({\n selector: '[rxapSignOut]'\n})\nexport class SignOutDirective {\n\n @Output()\n public successful = new EventEmitter<void>();\n\n @Output()\n public failure = new EventEmitter<Error>();\n\n constructor(private readonly auth: RxapAuthenticationService) { }\n\n @HostListener('click')\n public async onClick() {\n try {\n await this.auth.signOut();\n this.successful.emit();\n } catch (e) {\n this.failure.emit(e);\n }\n }\n\n}\n\n@NgModule({\n declarations: [ SignOutDirective ],\n exports: [ SignOutDirective ]\n})\nexport class SignOutDirectiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["BehaviorSubject","Injectable","InjectionToken","Router","Inject","Optional","tap","EventEmitter","Directive","Output","HostListener","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CA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AAG,IAAIA,eAAY,EAAS,CAAC;SAEsB;QAGpD,kCAAO,GAAP;;;;;;;4BAET,qBAAM,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,EAAA;;4BAAzB,SAAyB,CAAC;4BAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;;;;4BAEvB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAC,CAAC,CAAC;;;;;aAExB;SAAA;;;uIAlBU,gBAAgB;gHAAhB,gBAAgB;qHAAhB,gBAAgB;sBAH5BC,YAAS;uBAAC;wBACT,QAAQ,EAAE,eAAe;qBAC1B;iHAIQ,UAAU;0BADhBC,SAAM;oBAIA,OAAO;0BADbA,SAAM;oBAMM,OAAO;0BADnBC,eAAY;2BAAC,OAAO;;;QAgBvB;;;;6IAAa,sBAAsB;8IAAtB,sBAAsB,iBA1BtB,gBAAgB,aAAhB,gBAAgB;8IA0BhB,sBAAsB;qHAAtB,sBAAsB;sBAJlCC,WAAQ;uBAAC;wBACR,YAAY,EAAE,CAAE,gBAAgB,CAAE;wBAClC,OAAO,EAAO,CAAE,gBAAgB,CAAE;qBACnC;;;ICrCD;;;;;;;;;;;;;;;;;;;;;;"}
|
package/esm2015/components/lib/authentication-container/authentication-container.component.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { style, trigger, transition, animate } from '@angular/animations';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/router";
|
|
5
|
-
export class AuthenticationContainerComponent {
|
|
6
|
-
prepareRoute(outlet) {
|
|
7
|
-
return outlet.isActivated ? outlet.activatedRoute : 'true';
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
AuthenticationContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AuthenticationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
-
AuthenticationContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: AuthenticationContainerComponent, selector: "rxap-authentication-container", host: { classAttribute: "rxap-authentication-container" }, ngImport: i0, template: "<div class=\"container\" [@routeAnimations]=\"prepareRoute(outlet)\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n <ng-content></ng-content>\n\n</div>\n", styles: [".container{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;overflow-x:hidden}.container .split{position:absolute;top:0;left:0;right:0;bottom:65vh;z-index:-10}"], directives: [{ type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }], animations: [
|
|
12
|
-
trigger('routeAnimations', [
|
|
13
|
-
transition(':enter', [
|
|
14
|
-
style({ opacity: 0 }),
|
|
15
|
-
animate('512ms', style({ opacity: 1 }))
|
|
16
|
-
]),
|
|
17
|
-
transition(':leave', [
|
|
18
|
-
style({ opacity: 1 }),
|
|
19
|
-
animate('512ms', style({ opacity: 0 }))
|
|
20
|
-
])
|
|
21
|
-
])
|
|
22
|
-
] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AuthenticationContainerComponent, decorators: [{
|
|
24
|
-
type: Component,
|
|
25
|
-
args: [{
|
|
26
|
-
selector: 'rxap-authentication-container',
|
|
27
|
-
templateUrl: './authentication-container.component.html',
|
|
28
|
-
styleUrls: ['./authentication-container.component.scss'],
|
|
29
|
-
host: { class: 'rxap-authentication-container' },
|
|
30
|
-
animations: [
|
|
31
|
-
trigger('routeAnimations', [
|
|
32
|
-
transition(':enter', [
|
|
33
|
-
style({ opacity: 0 }),
|
|
34
|
-
animate('512ms', style({ opacity: 1 }))
|
|
35
|
-
]),
|
|
36
|
-
transition(':leave', [
|
|
37
|
-
style({ opacity: 1 }),
|
|
38
|
-
animate('512ms', style({ opacity: 0 }))
|
|
39
|
-
])
|
|
40
|
-
])
|
|
41
|
-
]
|
|
42
|
-
}]
|
|
43
|
-
}] });
|
|
44
|
-
//# sourceMappingURL=authentication-container.component.js.map
|
package/esm2015/components/lib/authentication-container/authentication-container.component.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-container.component.js","sourceRoot":"","sources":["../../../../../../../libs/authentication/components/src/lib/authentication-container/authentication-container.component.ts","../../../../../../../libs/authentication/components/src/lib/authentication-container/authentication-container.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EACL,KAAK,EACL,OAAO,EACP,UAAU,EACV,OAAO,EACR,MAAM,qBAAqB,CAAC;;;AA0B7B,MAAM,OAAO,gCAAgC;IAEpC,YAAY,CAAC,MAAoB;QACtC,OAAO,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC;IAC7D,CAAC;;6HAJU,gCAAgC;iHAAhC,gCAAgC,gICjC7C,0NAQA,yVDMe;QACX,OAAO,CAAC,iBAAiB,EAAE;YACzB,UAAU,CACR,QAAQ,EACR;gBACE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;gBACrB,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;aACxC,CACF;YACD,UAAU,CACR,QAAQ,EACR;gBACE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;gBACrB,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;aACxC,CACF;SACF,CAAC;KACH;2FAEU,gCAAgC;kBAxB5C,SAAS;mBAAC;oBACT,QAAQ,EAAK,+BAA+B;oBAC5C,WAAW,EAAE,2CAA2C;oBACxD,SAAS,EAAI,CAAE,2CAA2C,CAAE;oBAC5D,IAAI,EAAS,EAAE,KAAK,EAAE,+BAA+B,EAAE;oBACvD,UAAU,EAAG;wBACX,OAAO,CAAC,iBAAiB,EAAE;4BACzB,UAAU,CACR,QAAQ,EACR;gCACE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;gCACrB,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;6BACxC,CACF;4BACD,UAAU,CACR,QAAQ,EACR;gCACE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;gCACrB,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;6BACxC,CACF;yBACF,CAAC;qBACH;iBACF","sourcesContent":["import { Component } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\nimport {\n style,\n trigger,\n transition,\n animate\n} from '@angular/animations';\n\n@Component({\n selector: 'rxap-authentication-container',\n templateUrl: './authentication-container.component.html',\n styleUrls: [ './authentication-container.component.scss' ],\n host: { class: 'rxap-authentication-container' },\n animations: [\n trigger('routeAnimations', [\n transition(\n ':enter',\n [\n style({ opacity: 0 }),\n animate('512ms', style({ opacity: 1 }))\n ]\n ),\n transition(\n ':leave',\n [\n style({ opacity: 1 }),\n animate('512ms', style({ opacity: 0 }))\n ]\n )\n ])\n ]\n})\nexport class AuthenticationContainerComponent {\n\n public prepareRoute(outlet: RouterOutlet) {\n return outlet.isActivated ? outlet.activatedRoute : 'true';\n }\n\n}\n","<div class=\"container\" [@routeAnimations]=\"prepareRoute(outlet)\">\n\n <div class=\"split mat-elevation-z3\"></div>\n\n <router-outlet #outlet=\"outlet\"></router-outlet>\n <ng-content></ng-content>\n\n</div>\n"]}
|
package/esm2015/components/lib/authentication-container/authentication-container.component.module.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { AuthenticationContainerComponent } from './authentication-container.component';
|
|
3
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
4
|
-
import { RouterModule } from '@angular/router';
|
|
5
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class AuthenticationContainerComponentModule {
|
|
8
|
-
}
|
|
9
|
-
AuthenticationContainerComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AuthenticationContainerComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
AuthenticationContainerComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AuthenticationContainerComponentModule, declarations: [AuthenticationContainerComponent], imports: [FlexLayoutModule,
|
|
11
|
-
MatToolbarModule,
|
|
12
|
-
RouterModule], exports: [AuthenticationContainerComponent] });
|
|
13
|
-
AuthenticationContainerComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AuthenticationContainerComponentModule, imports: [[
|
|
14
|
-
FlexLayoutModule,
|
|
15
|
-
MatToolbarModule,
|
|
16
|
-
RouterModule
|
|
17
|
-
]] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: AuthenticationContainerComponentModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
declarations: [AuthenticationContainerComponent],
|
|
22
|
-
exports: [AuthenticationContainerComponent],
|
|
23
|
-
imports: [
|
|
24
|
-
FlexLayoutModule,
|
|
25
|
-
MatToolbarModule,
|
|
26
|
-
RouterModule
|
|
27
|
-
]
|
|
28
|
-
}]
|
|
29
|
-
}] });
|
|
30
|
-
//# sourceMappingURL=authentication-container.component.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authentication-container.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/authentication/components/src/lib/authentication-container/authentication-container.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;;AAW7D,MAAM,OAAO,sCAAsC;;mIAAtC,sCAAsC;oIAAtC,sCAAsC,iBARjC,gCAAgC,aAG9C,gBAAgB;QAChB,gBAAgB;QAChB,YAAY,aAJE,gCAAgC;oIAOrC,sCAAsC,YANnC;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;SACb;2FAEU,sCAAsC;kBATlD,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,gCAAgC,CAAE;oBAClD,OAAO,EAAO,CAAE,gCAAgC,CAAE;oBAClD,OAAO,EAAO;wBACZ,gBAAgB;wBAChB,gBAAgB;wBAChB,YAAY;qBACb;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { AuthenticationContainerComponent } from './authentication-container.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { RouterModule } from '@angular/router';\nimport { MatToolbarModule } from '@angular/material/toolbar';\n\n@NgModule({\n declarations: [ AuthenticationContainerComponent ],\n exports: [ AuthenticationContainerComponent ],\n imports: [\n FlexLayoutModule,\n MatToolbarModule,\n RouterModule\n ]\n})\nexport class AuthenticationContainerComponentModule {}\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { LoginComponentModule } from './login/login.component.module';
|
|
3
|
-
import { AuthenticationContainerComponentModule } from './authentication-container/authentication-container.component.module';
|
|
4
|
-
import { ResetPasswordComponentModule } from './reset-password/reset-password.component.module';
|
|
5
|
-
import { LoadingComponentModule } from './loading/loading.component.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class RxapAuthenticationModule {
|
|
8
|
-
}
|
|
9
|
-
RxapAuthenticationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapAuthenticationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
RxapAuthenticationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapAuthenticationModule, exports: [LoginComponentModule,
|
|
11
|
-
AuthenticationContainerComponentModule,
|
|
12
|
-
ResetPasswordComponentModule,
|
|
13
|
-
LoadingComponentModule] });
|
|
14
|
-
RxapAuthenticationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapAuthenticationModule, imports: [LoginComponentModule,
|
|
15
|
-
AuthenticationContainerComponentModule,
|
|
16
|
-
ResetPasswordComponentModule,
|
|
17
|
-
LoadingComponentModule] });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: RxapAuthenticationModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
exports: [
|
|
22
|
-
LoginComponentModule,
|
|
23
|
-
AuthenticationContainerComponentModule,
|
|
24
|
-
ResetPasswordComponentModule,
|
|
25
|
-
LoadingComponentModule
|
|
26
|
-
]
|
|
27
|
-
}]
|
|
28
|
-
}] });
|
|
29
|
-
//# sourceMappingURL=authentication.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.module.js","sourceRoot":"","sources":["../../../../../../libs/authentication/components/src/lib/authentication.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,sEAAsE,CAAC;AAC9H,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;;AAU5E,MAAM,OAAO,wBAAwB;;qHAAxB,wBAAwB;sHAAxB,wBAAwB,YANjC,oBAAoB;QACpB,sCAAsC;QACtC,4BAA4B;QAC5B,sBAAsB;sHAGb,wBAAwB,YANjC,oBAAoB;QACpB,sCAAsC;QACtC,4BAA4B;QAC5B,sBAAsB;2FAGb,wBAAwB;kBARpC,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,oBAAoB;wBACpB,sCAAsC;wBACtC,4BAA4B;wBAC5B,sBAAsB;qBACvB;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { LoginComponentModule } from './login/login.component.module';\nimport { AuthenticationContainerComponentModule } from './authentication-container/authentication-container.component.module';\nimport { ResetPasswordComponentModule } from './reset-password/reset-password.component.module';\nimport { LoadingComponentModule } from './loading/loading.component.module';\n\n@NgModule({\n exports: [\n LoginComponentModule,\n AuthenticationContainerComponentModule,\n ResetPasswordComponentModule,\n LoadingComponentModule\n ]\n})\nexport class RxapAuthenticationModule {}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// the fade-in/fade-out animation.
|
|
2
|
-
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
3
|
-
export const fadeAnimation = trigger('fadeAnimation', [
|
|
4
|
-
// the "in" style determines the "resting" state of the element when it is visible.
|
|
5
|
-
state('in', style({ opacity: 1 })),
|
|
6
|
-
// fade in when created. this could also be written as transition('void => *')
|
|
7
|
-
transition(':enter', [
|
|
8
|
-
style({ opacity: 0 }),
|
|
9
|
-
animate(300)
|
|
10
|
-
]),
|
|
11
|
-
// fade out when destroyed. this could also be written as transition('void => *')
|
|
12
|
-
transition(':leave', animate(300, style({ opacity: 0 })))
|
|
13
|
-
]);
|
|
14
|
-
//# sourceMappingURL=fade-animation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fade-animation.js","sourceRoot":"","sources":["../../../../../../libs/authentication/components/src/lib/fade-animation.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,EACL,OAAO,EACP,KAAK,EACL,KAAK,EACL,UAAU,EACV,OAAO,EACR,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,eAAe,EAAE;IAEpD,mFAAmF;IACnF,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;IAElC,8EAA8E;IAC9E,UAAU,CAAC,QAAQ,EAAE;QACnB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;QACrB,OAAO,CAAC,GAAG,CAAC;KACb,CAAC;IAEF,iFAAiF;IACjF,UAAU,CACR,QAAQ,EACR,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CACpC;CACF,CAAC,CAAC","sourcesContent":["// the fade-in/fade-out animation.\nimport {\n trigger,\n state,\n style,\n transition,\n animate\n} from '@angular/animations';\n\nexport const fadeAnimation = trigger('fadeAnimation', [\n\n // the \"in\" style determines the \"resting\" state of the element when it is visible.\n state('in', style({ opacity: 1 })),\n\n // fade in when created. this could also be written as transition('void => *')\n transition(':enter', [\n style({ opacity: 0 }),\n animate(300)\n ]),\n\n // fade out when destroyed. this could also be written as transition('void => *')\n transition(\n ':leave',\n animate(300, style({ opacity: 0 }))\n )\n]);\n"]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Inject, } from '@angular/core';
|
|
2
|
-
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
3
|
-
import { filter, tap } from 'rxjs/operators';
|
|
4
|
-
import { Router } from '@angular/router';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/material/progress-bar";
|
|
7
|
-
import * as i2 from "@rxap/authentication";
|
|
8
|
-
import * as i3 from "@angular/router";
|
|
9
|
-
export class LoadingComponent {
|
|
10
|
-
constructor(authentication, router) {
|
|
11
|
-
this.authentication = authentication;
|
|
12
|
-
this.router = router;
|
|
13
|
-
}
|
|
14
|
-
ngOnInit() {
|
|
15
|
-
// TODO : remove the concept of isAuthenticated$
|
|
16
|
-
if (this.authentication.isAuthenticated$) {
|
|
17
|
-
this.subscription = this.authentication.isAuthenticated$
|
|
18
|
-
.pipe(filter((isAuthenticated) => isAuthenticated !== null), tap(() => this.router.navigate(['/', 'authentication', 'login'])))
|
|
19
|
-
.subscribe();
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
ngOnDestroy() {
|
|
23
|
-
var _a;
|
|
24
|
-
(_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoadingComponent, deps: [{ token: RxapAuthenticationService }, { token: Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: LoadingComponent, selector: "rxap-auth-loading", host: { classAttribute: "rxap-auth-loading" }, ngImport: i0, template: "<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n", styles: [".loading-bar{position:absolute;bottom:65vh;left:0;right:0;top:auto}"], components: [{ type: i1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{
|
|
32
|
-
selector: 'rxap-auth-loading',
|
|
33
|
-
templateUrl: './loading.component.html',
|
|
34
|
-
styleUrls: ['./loading.component.scss'],
|
|
35
|
-
host: { class: 'rxap-auth-loading' },
|
|
36
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
37
|
-
}]
|
|
38
|
-
}], ctorParameters: function () { return [{ type: i2.RxapAuthenticationService, decorators: [{
|
|
39
|
-
type: Inject,
|
|
40
|
-
args: [RxapAuthenticationService]
|
|
41
|
-
}] }, { type: i3.Router, decorators: [{
|
|
42
|
-
type: Inject,
|
|
43
|
-
args: [Router]
|
|
44
|
-
}] }]; } });
|
|
45
|
-
//# sourceMappingURL=loading.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loading.component.js","sourceRoot":"","sources":["../../../../../../../libs/authentication/components/src/lib/loading/loading.component.ts","../../../../../../../libs/authentication/components/src/lib/loading/loading.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EAGvB,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;;;;;AASzC,MAAM,OAAO,gBAAgB;IAG3B,YAEkB,cAAyC,EAEzC,MAAc;QAFd,mBAAc,GAAd,cAAc,CAA2B;QAEzC,WAAM,GAAN,MAAM,CAAQ;IAC7B,CAAC;IAEG,QAAQ;QACb,gDAAgD;QAChD,IAAI,IAAI,CAAC,cAAc,CAAC,gBAAgB,EAAE;YACxC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,gBAAgB;iBACrD,IAAI,CACH,MAAM,CAAC,CAAC,eAAe,EAAE,EAAE,CAAC,eAAe,KAAK,IAAI,CAAC,EACrD,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAC,CAClE;iBACA,SAAS,EAAE,CAAC;SAChB;IACH,CAAC;IAEM,WAAW;;QAChB,MAAA,IAAI,CAAC,YAAY,0CAAE,WAAW,EAAE,CAAC;IACnC,CAAC;;6GAxBU,gBAAgB,kBAIjB,yBAAyB,aAEzB,MAAM;iGANL,gBAAgB,wGCnB7B,sFACA;2FDkBa,gBAAgB;kBAP5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,WAAW,EAAE,0BAA0B;oBACvC,SAAS,EAAE,CAAC,0BAA0B,CAAC;oBACvC,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;oBACpC,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;;0BAKI,MAAM;2BAAC,yBAAyB;;0BAEhC,MAAM;2BAAC,MAAM","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n OnInit,\n OnDestroy,\n Inject,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { RxapAuthenticationService } from '@rxap/authentication';\nimport { filter, tap } from 'rxjs/operators';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'rxap-auth-loading',\n templateUrl: './loading.component.html',\n styleUrls: ['./loading.component.scss'],\n host: { class: 'rxap-auth-loading' },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LoadingComponent implements OnInit, OnDestroy {\n public subscription?: Subscription;\n\n constructor(\n @Inject(RxapAuthenticationService)\n public readonly authentication: RxapAuthenticationService,\n @Inject(Router)\n public readonly router: Router\n ) {}\n\n public ngOnInit(): void {\n // TODO : remove the concept of isAuthenticated$\n if (this.authentication.isAuthenticated$) {\n this.subscription = this.authentication.isAuthenticated$\n .pipe(\n filter((isAuthenticated) => isAuthenticated !== null),\n tap(() => this.router.navigate(['/', 'authentication', 'login']))\n )\n .subscribe();\n }\n }\n\n public ngOnDestroy(): void {\n this.subscription?.unsubscribe();\n }\n}\n","<mat-progress-bar class=\"loading-bar\" mode=\"indeterminate\"></mat-progress-bar>\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { LoadingComponent } from './loading.component';
|
|
3
|
-
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class LoadingComponentModule {
|
|
6
|
-
}
|
|
7
|
-
LoadingComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoadingComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
LoadingComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoadingComponentModule, declarations: [LoadingComponent], imports: [MatProgressBarModule], exports: [LoadingComponent] });
|
|
9
|
-
LoadingComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoadingComponentModule, imports: [[
|
|
10
|
-
MatProgressBarModule
|
|
11
|
-
]] });
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoadingComponentModule, decorators: [{
|
|
13
|
-
type: NgModule,
|
|
14
|
-
args: [{
|
|
15
|
-
declarations: [
|
|
16
|
-
LoadingComponent
|
|
17
|
-
],
|
|
18
|
-
imports: [
|
|
19
|
-
MatProgressBarModule
|
|
20
|
-
],
|
|
21
|
-
exports: [
|
|
22
|
-
LoadingComponent
|
|
23
|
-
]
|
|
24
|
-
}]
|
|
25
|
-
}] });
|
|
26
|
-
//# sourceMappingURL=loading.component.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loading.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/authentication/components/src/lib/loading/loading.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;;AActE,MAAM,OAAO,sBAAsB;;mHAAtB,sBAAsB;oHAAtB,sBAAsB,iBAT/B,gBAAgB,aAGhB,oBAAoB,aAGpB,gBAAgB;oHAGP,sBAAsB,YAPnB;YACZ,oBAAoB;SACrB;2FAKU,sBAAsB;kBAXlC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,gBAAgB;qBACjB;oBACD,OAAO,EAAO;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAO;wBACZ,gBAAgB;qBACjB;iBACF","sourcesContent":["import { NgModule } from '@angular/core';\nimport { LoadingComponent } from './loading.component';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\n\n\n@NgModule({\n declarations: [\n LoadingComponent\n ],\n imports: [\n MatProgressBarModule\n ],\n exports: [\n LoadingComponent\n ]\n})\nexport class LoadingComponentModule {}\n"]}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';
|
|
3
|
-
import { LoginFormProviders } from './login.form';
|
|
4
|
-
import { ErrorStateMatcher, ShowOnDirtyErrorStateMatcher } from '@angular/material/core';
|
|
5
|
-
import { fadeAnimation } from '../fade-animation';
|
|
6
|
-
import { RxapAuthenticationService } from '@rxap/authentication';
|
|
7
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
8
|
-
import { ToggleSubject } from '@rxap/utilities/rxjs';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@angular/material/icon";
|
|
11
|
-
import * as i2 from "@angular/material/form-field";
|
|
12
|
-
import * as i3 from "@angular/material/button";
|
|
13
|
-
import * as i4 from "@angular/material/checkbox";
|
|
14
|
-
import * as i5 from "@angular/material/progress-spinner";
|
|
15
|
-
import * as i6 from "@angular/material/progress-bar";
|
|
16
|
-
import * as i7 from "@angular/forms";
|
|
17
|
-
import * as i8 from "@rxap/forms";
|
|
18
|
-
import * as i9 from "@angular/flex-layout/flex";
|
|
19
|
-
import * as i10 from "@angular/material/input";
|
|
20
|
-
import * as i11 from "@angular/common";
|
|
21
|
-
import * as i12 from "@angular/material/tooltip";
|
|
22
|
-
import * as i13 from "@rxap/authentication";
|
|
23
|
-
import * as i14 from "@angular/material/snack-bar";
|
|
24
|
-
export class LoginComponent {
|
|
25
|
-
constructor(authentication, snackBar) {
|
|
26
|
-
this.authentication = authentication;
|
|
27
|
-
this.snackBar = snackBar;
|
|
28
|
-
this.requestingPasswordReset$ = new ToggleSubject();
|
|
29
|
-
}
|
|
30
|
-
requestPasswordReset(email) {
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
this.requestingPasswordReset$.enable();
|
|
33
|
-
try {
|
|
34
|
-
const result = yield this.authentication.requestPasswordReset(email);
|
|
35
|
-
if (!result) {
|
|
36
|
-
this.snackBar.open('The password reset request result is falsy', undefined, {
|
|
37
|
-
duration: 5000,
|
|
38
|
-
panelClass: 'error'
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
this.snackBar.open('The password reset request was successful', undefined, {
|
|
43
|
-
duration: 3000
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
catch (e) {
|
|
48
|
-
this.snackBar.open(e.message, undefined, {
|
|
49
|
-
duration: 3000,
|
|
50
|
-
panelClass: 'error'
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
finally {
|
|
54
|
-
this.requestingPasswordReset$.disable();
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
LoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoginComponent, deps: [{ token: RxapAuthenticationService }, { token: MatSnackBar }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
-
LoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.1", type: LoginComponent, selector: "rxap-login", providers: [
|
|
61
|
-
LoginFormProviders,
|
|
62
|
-
{
|
|
63
|
-
provide: ErrorStateMatcher,
|
|
64
|
-
useClass: ShowOnDirtyErrorStateMatcher
|
|
65
|
-
}
|
|
66
|
-
], ngImport: i0, template: "<form rxapForm class=\"inner mat-elevation-z5\" fxLayout=\"column\" fxLayoutAlign=\"center center\" #form=\"rxapForm\" fxLayoutGap=\"32px\" [@fadeAnimation]=\"'in'\"\n novalidate>\n\n <div class=\"header\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFlex=\"nogrow\">\n\n <mat-icon fxFlex=\"nogrow\" color=\"primary\" class=\"avatar-icon\">account_circle</mat-icon>\n\n </div>\n\n <div class=\"content\" fxLayout=\"column\" fxLayoutGap=\"32px\">\n\n <div fxLayout=\"column\">\n\n <mat-form-field class=\"email-input\">\n <mat-icon matPrefix inline>email</mat-icon>\n <mat-label i18n=\"user login email input label|The user email input label\">Email</mat-label>\n <input matInput\n i18n-placeholder\n placeholder=\"Enter your email address\"\n type=\"email\"\n fxFlex=\"nogrow\"\n formControlName=\"email\">\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'required'\" i18n=\"user login email input error required\">\n Email is <strong>required</strong>\n </mat-error>\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'email'\" i18n=\"user login email input error format\">\n Please enter a valid email address\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"password-input\">\n <mat-icon matPrefix inline>vpn_key</mat-icon>\n <mat-label i18n=\"user login password input label|The user password input label\">Password</mat-label>\n <input matInput\n type=\"password\"\n i18n-placeholder\n placeholder=\"Enter your password\"\n fxFlex=\"nogrow\"\n #passwordInput\n formControlName=\"password\">\n <mat-error *rxapFormControlError=\"let error from 'password'; if: 'required'\" i18n=\"user login password input error required\">\n Password is <strong>required</strong>\n </mat-error>\n <button tabIndex=\"-1\" matSuffix *ngIf=\"passwordInput.type === 'password'\" mat-icon-button type=\"button\" (click)=\"passwordInput.type = 'test'\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button tabIndex=\"-1\" matSuffix *ngIf=\"passwordInput.type === 'text'\" mat-icon-button type=\"button\" (click)=\"passwordInput.type = 'password'\">\n <mat-icon>visibility_off</mat-icon>\n </button>\n </mat-form-field>\n\n </div>\n\n <div class=\"sub-controls\" fxLayout=\"row wrap\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"16px\">\n\n <mat-checkbox class=\"remember-input\" fxFlex=\"nogrow\" formControlName=\"remember\">Remember me</mat-checkbox>\n\n <div fxFlex=\"nogrow\"\n matTooltip=\"Please enter a valid email address\"\n matTooltipPosition=\"above\"\n [matTooltipDisabled]=\"form.control.controls.email.valid\">\n <button color=\"accent\"\n type=\"button\"\n mat-button\n i18n\n (click)=\"requestPasswordReset(form.value.email)\"\n [disabled]=\"!form.value.email || form.control.controls.email.hasError('email')\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"space-between center\">\n <mat-progress-spinner *ngIf=\"requestingPasswordReset$ | async\" mode=\"indeterminate\" [diameter]=\"15\"></mat-progress-spinner>\n <span fxFlex=\"nogrow\">Password forgotten</span>\n </span>\n </button>\n </div>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button mat-raised-button color=\"primary\" type=\"submit\" rxapFormControlMarkDirty>Login</button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <mat-error>{{ error.message }}</mat-error>\n </div>\n\n <mat-progress-bar *rxapFormSubmitting mode=\"indeterminate\" class=\"loading-bar\"></mat-progress-bar>\n\n</form>\n", styles: [".inner{padding:48px;position:relative;margin:16px 0}.inner .header .avatar-icon{width:100px;height:100px;font-size:100px}.inner .content{width:304px;max-width:calc(100vw - 96px - 16px)}.inner .content .email-input,.inner .content .password-input{width:100%}.inner .content .email-input .prefix-icon,.inner .content .password-input .prefix-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center}.inner .content .email-input ::ng-deep .mat-form-field-prefix,.inner .content .password-input ::ng-deep .mat-form-field-prefix{align-self:flex-end;margin:4px}.inner .content [type=submit]{width:128px;text-transform:uppercase}.inner .sub-controls>*{margin-bottom:8px}.inner .loading-bar{position:absolute;bottom:0;left:0;right:0;top:auto}"], components: [{ type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { 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"] }, { type: i4.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "id", "labelPosition", "name", "required", "checked", "disabled", "indeterminate", "aria-describedby", "value"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i5.MatProgressSpinner, selector: "mat-progress-spinner", inputs: ["color", "mode", "diameter", "strokeWidth", "value"], exportAs: ["matProgressSpinner"] }, { type: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "mode", "value", "bufferValue"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.FormDirective, selector: "form:not([formGroup]):not([ngForm]),rxap-form,form[rxapForm]", inputs: ["initial", "rxapForm", "submitMethod"], outputs: ["ngSubmit", "rxapSubmit", "invalidSubmit"], exportAs: ["rxapForm"] }, { type: i9.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: i9.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: i9.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: i9.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"] }, { type: i2.MatPrefix, selector: "[matPrefix]" }, { type: i2.MatLabel, selector: "mat-label" }, { type: i10.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i7.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i8.FormControlErrorDirective, selector: "[rxapFormControlError]", inputs: ["rxapFormControlErrorFrom", "rxapFormControlErrorIf"] }, { type: i2.MatError, selector: "mat-error", inputs: ["id"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatSuffix, selector: "[matSuffix]" }, { type: i12.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i8.FormControlMarkDirtyDirective, selector: "[rxapFormControlMarkDirty]" }, { type: i8.FormSubmitFailedDirective, selector: "[rxapFormSubmitFailed]" }, { type: i8.FormSubmittingDirective, selector: "[rxapFormSubmitting]" }], pipes: { "async": i11.AsyncPipe }, animations: [
|
|
67
|
-
fadeAnimation
|
|
68
|
-
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoginComponent, decorators: [{
|
|
70
|
-
type: Component,
|
|
71
|
-
args: [{
|
|
72
|
-
selector: 'rxap-login',
|
|
73
|
-
templateUrl: './login.component.html',
|
|
74
|
-
styleUrls: ['./login.component.scss'],
|
|
75
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
76
|
-
providers: [
|
|
77
|
-
LoginFormProviders,
|
|
78
|
-
{
|
|
79
|
-
provide: ErrorStateMatcher,
|
|
80
|
-
useClass: ShowOnDirtyErrorStateMatcher
|
|
81
|
-
}
|
|
82
|
-
],
|
|
83
|
-
animations: [
|
|
84
|
-
fadeAnimation
|
|
85
|
-
]
|
|
86
|
-
}]
|
|
87
|
-
}], ctorParameters: function () { return [{ type: i13.RxapAuthenticationService, decorators: [{
|
|
88
|
-
type: Inject,
|
|
89
|
-
args: [RxapAuthenticationService]
|
|
90
|
-
}] }, { type: i14.MatSnackBar, decorators: [{
|
|
91
|
-
type: Inject,
|
|
92
|
-
args: [MatSnackBar]
|
|
93
|
-
}] }]; } });
|
|
94
|
-
//# sourceMappingURL=login.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login.component.js","sourceRoot":"","sources":["../../../../../../../libs/authentication/components/src/lib/login/login.component.ts","../../../../../../../libs/authentication/components/src/lib/login/login.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EACL,iBAAiB,EACjB,4BAA4B,EAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;AAkBrD,MAAM,OAAO,cAAc;IAIzB,YAEmB,cAAyC,EAEzC,QAAqB;QAFrB,mBAAc,GAAd,cAAc,CAA2B;QAEzC,aAAQ,GAAR,QAAQ,CAAa;QANxB,6BAAwB,GAAG,IAAI,aAAa,EAAE,CAAC;IAO5D,CAAC;IAES,oBAAoB,CAAC,KAAa;;YAC7C,IAAI,CAAC,wBAAwB,CAAC,MAAM,EAAE,CAAC;YACvC,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;gBAErE,IAAI,CAAC,MAAM,EAAE;oBACX,IAAI,CAAC,QAAQ,CAAC,IAAI,CAChB,4CAA4C,EAC5C,SAAS,EACT;wBACE,QAAQ,EAAI,IAAI;wBAChB,UAAU,EAAE,OAAO;qBACpB,CACF,CAAC;iBACH;qBAAM;oBACL,IAAI,CAAC,QAAQ,CAAC,IAAI,CAChB,2CAA2C,EAC3C,SAAS,EACT;wBACE,QAAQ,EAAE,IAAI;qBACf,CACF,CAAC;iBACH;aAEF;YAAC,OAAO,CAAC,EAAE;gBACV,IAAI,CAAC,QAAQ,CAAC,IAAI,CAChB,CAAC,CAAC,OAAO,EACT,SAAS,EACT;oBACE,QAAQ,EAAI,IAAI;oBAChB,UAAU,EAAE,OAAO;iBACpB,CACF,CAAC;aACH;oBAAS;gBACR,IAAI,CAAC,wBAAwB,CAAC,OAAO,EAAE,CAAC;aACzC;QAEH,CAAC;KAAA;;2GAhDU,cAAc,kBAKf,yBAAyB,aAEzB,WAAW;+FAPV,cAAc,qCAXR;QACf,kBAAkB;QAClB;YACE,OAAO,EAAG,iBAAiB;YAC3B,QAAQ,EAAE,4BAA4B;SACvC;KACF,0BC1BH,kkIA6FA,ssMDlEmB;QACf,aAAa;KACd;2FAEU,cAAc;kBAhB1B,SAAS;mBAAC;oBACT,QAAQ,EAAS,YAAY;oBAC7B,WAAW,EAAM,wBAAwB;oBACzC,SAAS,EAAQ,CAAE,wBAAwB,CAAE;oBAC7C,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,SAAS,EAAQ;wBACf,kBAAkB;wBAClB;4BACE,OAAO,EAAG,iBAAiB;4BAC3B,QAAQ,EAAE,4BAA4B;yBACvC;qBACF;oBACD,UAAU,EAAO;wBACf,aAAa;qBACd;iBACF;;0BAMI,MAAM;2BAAC,yBAAyB;;0BAEhC,MAAM;2BAAC,WAAW","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { LoginFormProviders } from './login.form';\nimport {\n ErrorStateMatcher,\n ShowOnDirtyErrorStateMatcher\n} from '@angular/material/core';\nimport { fadeAnimation } from '../fade-animation';\nimport { RxapAuthenticationService } from '@rxap/authentication';\nimport { MatSnackBar } from '@angular/material/snack-bar';\nimport { ToggleSubject } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'rxap-login',\n templateUrl: './login.component.html',\n styleUrls: [ './login.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n LoginFormProviders,\n {\n provide: ErrorStateMatcher,\n useClass: ShowOnDirtyErrorStateMatcher\n }\n ],\n animations: [\n fadeAnimation\n ]\n})\nexport class LoginComponent {\n\n public readonly requestingPasswordReset$ = new ToggleSubject();\n\n constructor(\n @Inject(RxapAuthenticationService)\n private readonly authentication: RxapAuthenticationService,\n @Inject(MatSnackBar)\n private readonly snackBar: MatSnackBar\n ) {}\n\n public async requestPasswordReset(email: string) {\n this.requestingPasswordReset$.enable();\n try {\n const result = await this.authentication.requestPasswordReset(email);\n\n if (!result) {\n this.snackBar.open(\n 'The password reset request result is falsy',\n undefined,\n {\n duration: 5000,\n panelClass: 'error'\n }\n );\n } else {\n this.snackBar.open(\n 'The password reset request was successful',\n undefined,\n {\n duration: 3000\n }\n );\n }\n\n } catch (e) {\n this.snackBar.open(\n e.message,\n undefined,\n {\n duration: 3000,\n panelClass: 'error'\n }\n );\n } finally {\n this.requestingPasswordReset$.disable();\n }\n\n }\n}\n","<form rxapForm class=\"inner mat-elevation-z5\" fxLayout=\"column\" fxLayoutAlign=\"center center\" #form=\"rxapForm\" fxLayoutGap=\"32px\" [@fadeAnimation]=\"'in'\"\n novalidate>\n\n <div class=\"header\" fxLayout=\"column\" fxLayoutAlign=\"center center\" fxFlex=\"nogrow\">\n\n <mat-icon fxFlex=\"nogrow\" color=\"primary\" class=\"avatar-icon\">account_circle</mat-icon>\n\n </div>\n\n <div class=\"content\" fxLayout=\"column\" fxLayoutGap=\"32px\">\n\n <div fxLayout=\"column\">\n\n <mat-form-field class=\"email-input\">\n <mat-icon matPrefix inline>email</mat-icon>\n <mat-label i18n=\"user login email input label|The user email input label\">Email</mat-label>\n <input matInput\n i18n-placeholder\n placeholder=\"Enter your email address\"\n type=\"email\"\n fxFlex=\"nogrow\"\n formControlName=\"email\">\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'required'\" i18n=\"user login email input error required\">\n Email is <strong>required</strong>\n </mat-error>\n <mat-error *rxapFormControlError=\"let error from 'email'; if: 'email'\" i18n=\"user login email input error format\">\n Please enter a valid email address\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"password-input\">\n <mat-icon matPrefix inline>vpn_key</mat-icon>\n <mat-label i18n=\"user login password input label|The user password input label\">Password</mat-label>\n <input matInput\n type=\"password\"\n i18n-placeholder\n placeholder=\"Enter your password\"\n fxFlex=\"nogrow\"\n #passwordInput\n formControlName=\"password\">\n <mat-error *rxapFormControlError=\"let error from 'password'; if: 'required'\" i18n=\"user login password input error required\">\n Password is <strong>required</strong>\n </mat-error>\n <button tabIndex=\"-1\" matSuffix *ngIf=\"passwordInput.type === 'password'\" mat-icon-button type=\"button\" (click)=\"passwordInput.type = 'test'\">\n <mat-icon>visibility</mat-icon>\n </button>\n <button tabIndex=\"-1\" matSuffix *ngIf=\"passwordInput.type === 'text'\" mat-icon-button type=\"button\" (click)=\"passwordInput.type = 'password'\">\n <mat-icon>visibility_off</mat-icon>\n </button>\n </mat-form-field>\n\n </div>\n\n <div class=\"sub-controls\" fxLayout=\"row wrap\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"16px\">\n\n <mat-checkbox class=\"remember-input\" fxFlex=\"nogrow\" formControlName=\"remember\">Remember me</mat-checkbox>\n\n <div fxFlex=\"nogrow\"\n matTooltip=\"Please enter a valid email address\"\n matTooltipPosition=\"above\"\n [matTooltipDisabled]=\"form.control.controls.email.valid\">\n <button color=\"accent\"\n type=\"button\"\n mat-button\n i18n\n (click)=\"requestPasswordReset(form.value.email)\"\n [disabled]=\"!form.value.email || form.control.controls.email.hasError('email')\">\n <span fxLayout=\"row\" fxLayoutGap=\"8px\" fxLayoutAlign=\"space-between center\">\n <mat-progress-spinner *ngIf=\"requestingPasswordReset$ | async\" mode=\"indeterminate\" [diameter]=\"15\"></mat-progress-spinner>\n <span fxFlex=\"nogrow\">Password forgotten</span>\n </span>\n </button>\n </div>\n\n </div>\n\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n\n <div fxFlex=\"nogrow\">\n <button mat-raised-button color=\"primary\" type=\"submit\" rxapFormControlMarkDirty>Login</button>\n </div>\n\n </div>\n\n </div>\n\n <div *rxapFormSubmitFailed=\"let error\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <mat-error>{{ error.message }}</mat-error>\n </div>\n\n <mat-progress-bar *rxapFormSubmitting mode=\"indeterminate\" class=\"loading-bar\"></mat-progress-bar>\n\n</form>\n"]}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { LoginComponent } from './login.component';
|
|
4
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
5
|
-
import { MatCardModule } from '@angular/material/card';
|
|
6
|
-
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
7
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
8
|
-
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
|
9
|
-
import { MatInputModule } from '@angular/material/input';
|
|
10
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
11
|
-
import { RxapFormsModule } from '@rxap/forms';
|
|
12
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
13
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
14
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
15
|
-
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
export class LoginComponentModule {
|
|
18
|
-
}
|
|
19
|
-
LoginComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoginComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
-
LoginComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoginComponentModule, declarations: [LoginComponent], imports: [CommonModule,
|
|
21
|
-
FlexLayoutModule,
|
|
22
|
-
MatButtonModule,
|
|
23
|
-
MatCardModule,
|
|
24
|
-
MatSnackBarModule,
|
|
25
|
-
MatProgressSpinnerModule,
|
|
26
|
-
MatInputModule,
|
|
27
|
-
ReactiveFormsModule,
|
|
28
|
-
RxapFormsModule,
|
|
29
|
-
MatCheckboxModule,
|
|
30
|
-
MatIconModule,
|
|
31
|
-
MatTooltipModule,
|
|
32
|
-
MatProgressBarModule], exports: [LoginComponent] });
|
|
33
|
-
LoginComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoginComponentModule, imports: [[
|
|
34
|
-
CommonModule,
|
|
35
|
-
FlexLayoutModule,
|
|
36
|
-
MatButtonModule,
|
|
37
|
-
MatCardModule,
|
|
38
|
-
MatSnackBarModule,
|
|
39
|
-
MatProgressSpinnerModule,
|
|
40
|
-
MatInputModule,
|
|
41
|
-
ReactiveFormsModule,
|
|
42
|
-
RxapFormsModule,
|
|
43
|
-
MatCheckboxModule,
|
|
44
|
-
MatIconModule,
|
|
45
|
-
MatTooltipModule,
|
|
46
|
-
MatProgressBarModule
|
|
47
|
-
]] });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.1", ngImport: i0, type: LoginComponentModule, decorators: [{
|
|
49
|
-
type: NgModule,
|
|
50
|
-
args: [{
|
|
51
|
-
declarations: [LoginComponent],
|
|
52
|
-
imports: [
|
|
53
|
-
CommonModule,
|
|
54
|
-
FlexLayoutModule,
|
|
55
|
-
MatButtonModule,
|
|
56
|
-
MatCardModule,
|
|
57
|
-
MatSnackBarModule,
|
|
58
|
-
MatProgressSpinnerModule,
|
|
59
|
-
MatInputModule,
|
|
60
|
-
ReactiveFormsModule,
|
|
61
|
-
RxapFormsModule,
|
|
62
|
-
MatCheckboxModule,
|
|
63
|
-
MatIconModule,
|
|
64
|
-
MatTooltipModule,
|
|
65
|
-
MatProgressBarModule
|
|
66
|
-
],
|
|
67
|
-
exports: [LoginComponent]
|
|
68
|
-
}]
|
|
69
|
-
}] });
|
|
70
|
-
//# sourceMappingURL=login.component.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/authentication/components/src/lib/login/login.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;;AAsBtE,MAAM,OAAO,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAlBf,cAAc,aAE5B,YAAY;QACZ,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,iBAAiB;QACjB,wBAAwB;QACxB,cAAc;QACd,mBAAmB;QACnB,eAAe;QACf,iBAAiB;QACjB,aAAa;QACb,gBAAgB;QAChB,oBAAoB,aAEN,cAAc;kHAEnB,oBAAoB,YAjBjB;YACZ,YAAY;YACZ,gBAAgB;YAChB,eAAe;YACf,aAAa;YACb,iBAAiB;YACjB,wBAAwB;YACxB,cAAc;YACd,mBAAmB;YACnB,eAAe;YACf,iBAAiB;YACjB,aAAa;YACb,gBAAgB;YAChB,oBAAoB;SACrB;2FAGU,oBAAoB;kBAnBhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAE,cAAc,CAAE;oBAChC,OAAO,EAAO;wBACZ,YAAY;wBACZ,gBAAgB;wBAChB,eAAe;wBACf,aAAa;wBACb,iBAAiB;wBACjB,wBAAwB;wBACxB,cAAc;wBACd,mBAAmB;wBACnB,eAAe;wBACf,iBAAiB;wBACjB,aAAa;wBACb,gBAAgB;wBAChB,oBAAoB;qBACrB;oBACD,OAAO,EAAO,CAAE,cAAc,CAAE;iBACjC","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { LoginComponent } from './login.component';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { MatCardModule } from '@angular/material/card';\nimport { MatProgressSpinnerModule } from '@angular/material/progress-spinner';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\nimport { MatInputModule } from '@angular/material/input';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { RxapFormsModule } from '@rxap/forms';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\n\n\n@NgModule({\n declarations: [ LoginComponent ],\n imports: [\n CommonModule,\n FlexLayoutModule,\n MatButtonModule,\n MatCardModule,\n MatSnackBarModule,\n MatProgressSpinnerModule,\n MatInputModule,\n ReactiveFormsModule,\n RxapFormsModule,\n MatCheckboxModule,\n MatIconModule,\n MatTooltipModule,\n MatProgressBarModule\n ],\n exports: [ LoginComponent ]\n})\nexport class LoginComponentModule {}\n"]}
|