@biit-solutions/wizardry-theme 1.21.34 → 1.21.35
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/charts/meta-view-chart/meta-view-chart.component.d.ts +5 -2
- package/charts/meta-view-chart/meta-view-chart.module.d.ts +2 -1
- package/esm2020/button/biit-action-button/biit-action-button.component.mjs +2 -2
- package/esm2020/button/biit-button/biit-button.component.mjs +2 -2
- package/esm2020/charts/meta-view-chart/meta-view-chart.component.mjs +10 -4
- package/esm2020/charts/meta-view-chart/meta-view-chart.module.mjs +8 -4
- package/esm2020/login/biit-login/biit-login.component.mjs +7 -4
- package/esm2020/navigation/biit-nav-menu/biit-nav-menu.component.mjs +3 -3
- package/fesm2015/biit-solutions-wizardry-theme-button.mjs +4 -4
- package/fesm2015/biit-solutions-wizardry-theme-button.mjs.map +1 -1
- package/fesm2015/biit-solutions-wizardry-theme-charts.mjs +13 -5
- package/fesm2015/biit-solutions-wizardry-theme-charts.mjs.map +1 -1
- package/fesm2015/biit-solutions-wizardry-theme-login.mjs +6 -3
- package/fesm2015/biit-solutions-wizardry-theme-login.mjs.map +1 -1
- package/fesm2015/biit-solutions-wizardry-theme-navigation.mjs +2 -2
- package/fesm2015/biit-solutions-wizardry-theme-navigation.mjs.map +1 -1
- package/fesm2020/biit-solutions-wizardry-theme-button.mjs +4 -4
- package/fesm2020/biit-solutions-wizardry-theme-button.mjs.map +1 -1
- package/fesm2020/biit-solutions-wizardry-theme-charts.mjs +13 -5
- package/fesm2020/biit-solutions-wizardry-theme-charts.mjs.map +1 -1
- package/fesm2020/biit-solutions-wizardry-theme-login.mjs +6 -3
- package/fesm2020/biit-solutions-wizardry-theme-login.mjs.map +1 -1
- package/fesm2020/biit-solutions-wizardry-theme-navigation.mjs +2 -2
- package/fesm2020/biit-solutions-wizardry-theme-navigation.mjs.map +1 -1
- package/login/biit-login/biit-login.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ class BiitLoginComponent {
|
|
|
44
44
|
constructor(translocoService) {
|
|
45
45
|
this.translocoService = translocoService;
|
|
46
46
|
this.allowSignUp = false;
|
|
47
|
+
this.allowResetPassword = true;
|
|
47
48
|
this.signUpGeneratedPassword = false;
|
|
48
49
|
this.signUpGeneratedUsername = true;
|
|
49
50
|
this.notification = false;
|
|
@@ -214,7 +215,7 @@ class BiitLoginComponent {
|
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
217
|
BiitLoginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginComponent, deps: [{ token: i1.TranslocoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
217
|
-
BiitLoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitLoginComponent, selector: "biit-login", inputs: { login: "login", allowSignUp: "allowSignUp", signUpGeneratedPassword: "signUpGeneratedPassword", signUpGeneratedUsername: "signUpGeneratedUsername", teams: "teams", biitLoginServiceSupport: "biitLoginServiceSupport", notification: "notification", displayLogin: "displayLogin", signupIfCookies: "signupIfCookies" }, outputs: { onLogin: "onLogin", onNotRemember: "onNotRemember", onResetPassword: "onResetPassword", onSignUp: "onSignUp" }, providers: [{
|
|
218
|
+
BiitLoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitLoginComponent, selector: "biit-login", inputs: { login: "login", allowSignUp: "allowSignUp", allowResetPassword: "allowResetPassword", signUpGeneratedPassword: "signUpGeneratedPassword", signUpGeneratedUsername: "signUpGeneratedUsername", teams: "teams", biitLoginServiceSupport: "biitLoginServiceSupport", notification: "notification", displayLogin: "displayLogin", signupIfCookies: "signupIfCookies" }, outputs: { onLogin: "onLogin", onNotRemember: "onNotRemember", onResetPassword: "onResetPassword", onSignUp: "onSignUp" }, providers: [{
|
|
218
219
|
provide: TRANSLOCO_SCOPE,
|
|
219
220
|
useValue: { scope: 'wizardry-theme/login', alias: "login" },
|
|
220
221
|
multi: true
|
|
@@ -222,7 +223,7 @@ BiitLoginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
222
223
|
provide: TRANSLOCO_SCOPE,
|
|
223
224
|
useValue: { scope: 'wizardry-theme/login-welcome', alias: "login-welcome" },
|
|
224
225
|
multi: true
|
|
225
|
-
}], ngImport: i0, template: "<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n", styles: [".login-container{display:flex;font-size:inherit;column-gap:4.2rem}.login-container.allow-signup{padding:.5rem}.login-column{width:12.8em;display:inline-flex;flex-direction:column}.login-column-expanded{width:20em;display:inline-flex;flex-direction:column}.login-key-icon{position:absolute;margin-top:1em;rotate:90deg;height:12.8em;width:12.8em}.login-keyring{width:1.1em;background:#F20D5E;height:2.85em}.login-icon-square{display:inline-flex;border:solid .175em #262626;width:12.8em;height:12.8em;box-sizing:border-box;flex-direction:column;align-items:center}.login-input{margin-top:1.05em;margin-bottom:1.05em}.margin-vertical-14{margin:.7em 0}.margin-top-18{margin-top:.9em}.centered{display:inline-flex;justify-content:center}.smaller-text{font-size:.9em}.title{font-size:1.5em;font-weight:700}.subtitle{font-size:1em;font-weight:700}.body{font-size:.85em}.buttons{display:flex;align-items:center;gap:2.5em}.tab-buttons{position:absolute;right:0;top:0;width:50%;height:calc(2rem + 3px);display:flex}.tab-buttons div{display:flex;flex-grow:1;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;background:transparent;color:gray}.tab-buttons div:hover{border-bottom:3px solid #808080}.tab-buttons div.selected{background:transparent;color:#262626;border-bottom:3px solid #262626}@media (max-width: 600px){::ng-deep .popup-canvas{min-width:auto!important}::ng-deep .popup-canvas .login-container{flex-direction:column-reverse;gap:1.5rem}::ng-deep .popup-canvas .login-column-expanded{min-width:12.8em}.buttons{gap:1.5em;flex-wrap:wrap}.tab-buttons{width:100%}}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.BiitPopupComponent, selector: "biit-popup", inputs: ["title", "mouseEvent"], outputs: ["onClosed"] }, { kind: "directive", type: i3.BiitPopupNoHeaderDirective, selector: "[no-header]" }, { kind: "directive", type: i3.BiitPopupClosableDirective, selector: "[closable]" }, { kind: "component", type: i4.BiitIconComponent, selector: "biit-icon", inputs: ["name", "svgStyle", "pathStyle"] }, { kind: "component", type: i5.BiitInputTextComponent, selector: "biit-input-text", inputs: ["placeholder", "error", "description", "info", "type", "icon", "fieldName", "disabled", "required", "readonly", "min", "max", "minLength", "maxLength", "regEx"], outputs: ["onActionPerformed"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.BiitToggleComponent, selector: "biit-toggle", inputs: ["disabled"] }, { kind: "component", type: i7.BiitButtonComponent, selector: "button[biit-button]" }, { kind: "directive", type: i7.BiitButtonPrimaryDirective, selector: "[primary]" }, { kind: "directive", type: i7.BiitButtonTertiaryDirective, selector: "[tertiary]" }, { kind: "directive", type: i1.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: i5.BiitDropdownComponent, selector: "biit-dropdown", inputs: ["title", "label", "value", "descriptionLabel", "description", "data", "primitive", "compact", "disabled", "required", "sort-asc", "sort-desc", "icon"] }] });
|
|
226
|
+
}], ngImport: i0, template: "<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary *ngIf=\"allowResetPassword\"\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n", styles: [".login-container{display:flex;font-size:inherit;column-gap:4.2rem}.login-container.allow-signup{padding:.5rem}.login-column{width:12.8em;display:inline-flex;flex-direction:column}.login-column-expanded{width:20em;display:inline-flex;flex-direction:column}.login-key-icon{position:absolute;margin-top:1em;rotate:90deg;height:12.8em;width:12.8em}.login-keyring{width:1.1em;background:#F20D5E;height:2.85em}.login-icon-square{display:inline-flex;border:solid .175em #262626;width:12.8em;height:12.8em;box-sizing:border-box;flex-direction:column;align-items:center}.login-input{margin-top:1.05em;margin-bottom:1.05em}.margin-vertical-14{margin:.7em 0}.margin-top-18{margin-top:.9em}.centered{display:inline-flex;justify-content:center}.smaller-text{font-size:.9em}.title{font-size:1.5em;font-weight:700}.subtitle{font-size:1em;font-weight:700}.body{font-size:.85em}.buttons{display:flex;align-items:center;gap:2.5em}.tab-buttons{position:absolute;right:0;top:0;width:50%;height:calc(2rem + 3px);display:flex}.tab-buttons div{display:flex;flex-grow:1;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;background:transparent;color:gray}.tab-buttons div:hover{border-bottom:3px solid #808080}.tab-buttons div.selected{background:transparent;color:#262626;border-bottom:3px solid #262626}@media (max-width: 600px){::ng-deep .popup-canvas{min-width:auto!important}::ng-deep .popup-canvas .login-container{flex-direction:column-reverse;gap:1.5rem}::ng-deep .popup-canvas .login-column-expanded{min-width:12.8em}.buttons{gap:1.5em;flex-wrap:wrap}.tab-buttons{width:100%}}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.BiitPopupComponent, selector: "biit-popup", inputs: ["title", "mouseEvent"], outputs: ["onClosed"] }, { kind: "directive", type: i3.BiitPopupNoHeaderDirective, selector: "[no-header]" }, { kind: "directive", type: i3.BiitPopupClosableDirective, selector: "[closable]" }, { kind: "component", type: i4.BiitIconComponent, selector: "biit-icon", inputs: ["name", "svgStyle", "pathStyle"] }, { kind: "component", type: i5.BiitInputTextComponent, selector: "biit-input-text", inputs: ["placeholder", "error", "description", "info", "type", "icon", "fieldName", "disabled", "required", "readonly", "min", "max", "minLength", "maxLength", "regEx"], outputs: ["onActionPerformed"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.BiitToggleComponent, selector: "biit-toggle", inputs: ["disabled"] }, { kind: "component", type: i7.BiitButtonComponent, selector: "button[biit-button]" }, { kind: "directive", type: i7.BiitButtonPrimaryDirective, selector: "[primary]" }, { kind: "directive", type: i7.BiitButtonTertiaryDirective, selector: "[tertiary]" }, { kind: "directive", type: i1.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: i5.BiitDropdownComponent, selector: "biit-dropdown", inputs: ["title", "label", "value", "descriptionLabel", "description", "data", "primitive", "compact", "disabled", "required", "sort-asc", "sort-desc", "icon"] }] });
|
|
226
227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitLoginComponent, decorators: [{
|
|
227
228
|
type: Component,
|
|
228
229
|
args: [{ selector: 'biit-login', providers: [{
|
|
@@ -233,11 +234,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
233
234
|
provide: TRANSLOCO_SCOPE,
|
|
234
235
|
useValue: { scope: 'wizardry-theme/login-welcome', alias: "login-welcome" },
|
|
235
236
|
multi: true
|
|
236
|
-
}], template: "<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n", styles: [".login-container{display:flex;font-size:inherit;column-gap:4.2rem}.login-container.allow-signup{padding:.5rem}.login-column{width:12.8em;display:inline-flex;flex-direction:column}.login-column-expanded{width:20em;display:inline-flex;flex-direction:column}.login-key-icon{position:absolute;margin-top:1em;rotate:90deg;height:12.8em;width:12.8em}.login-keyring{width:1.1em;background:#F20D5E;height:2.85em}.login-icon-square{display:inline-flex;border:solid .175em #262626;width:12.8em;height:12.8em;box-sizing:border-box;flex-direction:column;align-items:center}.login-input{margin-top:1.05em;margin-bottom:1.05em}.margin-vertical-14{margin:.7em 0}.margin-top-18{margin-top:.9em}.centered{display:inline-flex;justify-content:center}.smaller-text{font-size:.9em}.title{font-size:1.5em;font-weight:700}.subtitle{font-size:1em;font-weight:700}.body{font-size:.85em}.buttons{display:flex;align-items:center;gap:2.5em}.tab-buttons{position:absolute;right:0;top:0;width:50%;height:calc(2rem + 3px);display:flex}.tab-buttons div{display:flex;flex-grow:1;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;background:transparent;color:gray}.tab-buttons div:hover{border-bottom:3px solid #808080}.tab-buttons div.selected{background:transparent;color:#262626;border-bottom:3px solid #262626}@media (max-width: 600px){::ng-deep .popup-canvas{min-width:auto!important}::ng-deep .popup-canvas .login-container{flex-direction:column-reverse;gap:1.5rem}::ng-deep .popup-canvas .login-column-expanded{min-width:12.8em}.buttons{gap:1.5em;flex-wrap:wrap}.tab-buttons{width:100%}}\n"] }]
|
|
237
|
+
}], template: "<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary *ngIf=\"allowResetPassword\"\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n", styles: [".login-container{display:flex;font-size:inherit;column-gap:4.2rem}.login-container.allow-signup{padding:.5rem}.login-column{width:12.8em;display:inline-flex;flex-direction:column}.login-column-expanded{width:20em;display:inline-flex;flex-direction:column}.login-key-icon{position:absolute;margin-top:1em;rotate:90deg;height:12.8em;width:12.8em}.login-keyring{width:1.1em;background:#F20D5E;height:2.85em}.login-icon-square{display:inline-flex;border:solid .175em #262626;width:12.8em;height:12.8em;box-sizing:border-box;flex-direction:column;align-items:center}.login-input{margin-top:1.05em;margin-bottom:1.05em}.margin-vertical-14{margin:.7em 0}.margin-top-18{margin-top:.9em}.centered{display:inline-flex;justify-content:center}.smaller-text{font-size:.9em}.title{font-size:1.5em;font-weight:700}.subtitle{font-size:1em;font-weight:700}.body{font-size:.85em}.buttons{display:flex;align-items:center;gap:2.5em}.tab-buttons{position:absolute;right:0;top:0;width:50%;height:calc(2rem + 3px);display:flex}.tab-buttons div{display:flex;flex-grow:1;flex-shrink:0;align-items:center;justify-content:center;cursor:pointer;background:transparent;color:gray}.tab-buttons div:hover{border-bottom:3px solid #808080}.tab-buttons div.selected{background:transparent;color:#262626;border-bottom:3px solid #262626}@media (max-width: 600px){::ng-deep .popup-canvas{min-width:auto!important}::ng-deep .popup-canvas .login-container{flex-direction:column-reverse;gap:1.5rem}::ng-deep .popup-canvas .login-column-expanded{min-width:12.8em}.buttons{gap:1.5em;flex-wrap:wrap}.tab-buttons{width:100%}}\n"] }]
|
|
237
238
|
}], ctorParameters: function () { return [{ type: i1.TranslocoService }]; }, propDecorators: { login: [{
|
|
238
239
|
type: Input
|
|
239
240
|
}], allowSignUp: [{
|
|
240
241
|
type: Input
|
|
242
|
+
}], allowResetPassword: [{
|
|
243
|
+
type: Input
|
|
241
244
|
}], signUpGeneratedPassword: [{
|
|
242
245
|
type: Input
|
|
243
246
|
}], signUpGeneratedUsername: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biit-solutions-wizardry-theme-login.mjs","sources":["../../../projects/wizardry-theme/login/src/biit-login/models/LoginErrors.ts","../../../projects/wizardry-theme/login/src/biit-login/models/sign-up-request.ts","../../../projects/wizardry-theme/login/src/biit-login/biit-login.component.ts","../../../projects/wizardry-theme/login/src/biit-login/biit-login.component.html","../../../projects/wizardry-theme/login/src/biit-login/biit-login.module.ts","../../../projects/wizardry-theme/login/src/public-api.ts","../../../projects/wizardry-theme/login/src/biit-solutions-wizardry-theme-login.ts"],"sourcesContent":["export enum LoginErrors {\n USERNAME = \"USERNAME\",\n PASSWORD = \"PASSWORD\",\n EMAIL = \"EMAIL\",\n NAME = \"NAME\",\n TEAM = \"TEAM\",\n LASTNAME = \"LASTNAME\"\n}\n","export class SignUpRequest {\n name: string;\n lastname: string;\n username: string;\n email: string;\n password: string;\n team: string;\n organization: string;\n constructor() {\n this.name = '';\n this.lastname = '';\n this.username = '';\n this.email = '';\n this.password = '';\n this.team = null;\n }\n}\n","import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';\nimport {Type} from '@biit-solutions/wizardry-theme/inputs';\nimport {BiitLogin} from \"@biit-solutions/wizardry-theme/models\";\nimport {LoginErrors} from \"./models/LoginErrors\";\nimport {TRANSLOCO_SCOPE, TranslocoService} from \"@ngneat/transloco\";\nimport {SignUpRequest} from \"./models/sign-up-request\";\nimport {HttpErrorResponse} from \"@angular/common/http\";\nimport {BiitLoginServiceSupport} from \"./models/biit-login-service-support\";\nimport {debounceTime, Subject} from \"rxjs\";\n\n@Component({\n selector: 'biit-login',\n templateUrl: './biit-login.component.html',\n styleUrls: ['./biit-login.component.scss'],\n providers: [{\n provide: TRANSLOCO_SCOPE,\n useValue: {scope: 'wizardry-theme/login', alias: \"login\"},\n multi: true\n }, {\n provide: TRANSLOCO_SCOPE,\n useValue: {scope: 'wizardry-theme/login-welcome', alias: \"login-welcome\"},\n multi: true\n }]\n})\nexport class BiitLoginComponent implements OnInit {\n\n @Input() login: BiitLogin;\n @Input() allowSignUp = false;\n @Input() signUpGeneratedPassword = false;\n @Input() signUpGeneratedUsername = true;\n @Input() teams: { key: any, label: string }[];\n @Input() biitLoginServiceSupport: BiitLoginServiceSupport;\n @Input() notification: boolean = false;\n @Input() displayLogin: boolean = false;\n @Input() signupIfCookies: boolean = true;\n\n @Output() onLogin: EventEmitter<BiitLogin>;\n @Output() onNotRemember: EventEmitter<void>;\n @Output() onResetPassword: EventEmitter<string>;\n @Output() onSignUp: EventEmitter<SignUpRequest>;\n\n protected readonly keyId: string;\n protected readonly Type = Type;\n protected readonly LoginError = LoginErrors;\n\n protected signUpView = false;\n protected signUpData: SignUpRequest = new SignUpRequest();\n protected resetView = false;\n protected resetEmail = \"\";\n protected dumbTeam: { key: any, label: string };\n\n protected loginErrors: Map<LoginErrors, string>;\n protected readonly LoginErrors = LoginErrors;\n protected readonly PWD_MIN_LENGTH = 12\n protected readonly PWD_MAX_LENGTH = 25\n\n protected usernameSearch: Subject<string> = new Subject();\n protected showNotification: boolean = true;\n\n constructor(public translocoService: TranslocoService) {\n if (!this.login) {\n this.login = new BiitLogin();\n }\n this.usernameSearch.pipe(debounceTime(1000)).subscribe(() => this.checkUsernameExists());\n this.onLogin = new EventEmitter<BiitLogin>();\n this.onNotRemember = new EventEmitter<void>();\n this.onResetPassword = new EventEmitter<string>();\n this.onSignUp = new EventEmitter<SignUpRequest>();\n this.loginErrors = new Map<LoginErrors, string>();\n const generatedId: number = Math.floor(Math.random() * (20 - 1 + 1) + 1);\n this.keyId = `${generatedId < 10 ? '0' : ''}${generatedId}`\n }\n\n ngOnInit() {\n if (this.allowSignUp && !this.displayLogin) {\n if (this.signupIfCookies) {\n const cookiesAccepted: string | null = localStorage.getItem(\"cookies-consent\");\n if (!cookiesAccepted) {\n this.signUpView = true;\n }\n } else {\n this.signUpView = true;\n }\n }\n if (this.teams && this.teams.length) {\n this.dumbTeam = this.teams[0];\n this.signUpData.team = this.dumbTeam.key;\n }\n }\n\n protected performLogin(): void {\n if (this.validateLogin()) {\n //Trim username\n if (this.login && this.login.username) {\n this.login.username = this.login.username.trim();\n }\n this.onLogin.emit(this.login)\n }\n }\n\n private validateLogin(): boolean {\n this.loginErrors.clear();\n if (!this.login.username || !this.login.username.length) {\n this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));\n }\n if (!this.login.password || !this.login.password.length) {\n this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));\n }\n return !this.loginErrors.size;\n }\n\n protected performResetPassword(): void {\n if (this.validateResetPassword()) {\n this.onResetPassword.emit(this.resetEmail);\n this.restartView();\n }\n }\n\n private validateResetPassword(): boolean {\n this.loginErrors.clear();\n if (!this.resetEmail.length) {\n this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));\n }\n return !this.loginErrors.get(LoginErrors.EMAIL);\n }\n\n restartView() {\n this.loginErrors.clear();\n\n this.resetView = false;\n this.resetEmail = \"\";\n\n this.signUpView = false;\n this.signUpData = new SignUpRequest();\n }\n\n protected performSignUp(): void {\n this.signUpData.team = this.dumbTeam?.key;\n if (this.validateSignUp()) {\n if (this.signUpGeneratedPassword) {\n this.signUpData.password = this.generatePassword();\n }\n if (this.dumbTeam) {\n this.signUpData.team = this.dumbTeam.key;\n }\n this.onSignUp.emit(this.signUpData);\n }\n }\n\n private validateSignUp(): boolean {\n this.loginErrors.clear();\n // if (!this.signUpData.name || !this.signUpData.name.length) {\n // this.loginErrors.set(LoginErrors.NAME, this.translocoService.translate('login.name-empty'));\n // }\n // if (!this.signUpData.lastname || !this.signUpData.lastname.length) {\n // this.loginErrors.set(LoginErrors.LASTNAME, this.translocoService.translate('login.lastname-empty'));\n // }\n if (!this.signUpData.email || !this.signUpData.email.length) {\n this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));\n console.error(\"Email is mandatory\");\n }\n if (!this.signUpGeneratedPassword && (!this.signUpData.password || !this.signUpData.password.length)) {\n this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));\n console.error(\"Password is mandatory\");\n }\n if (!this.signUpGeneratedUsername && (!this.signUpData.username || !this.signUpData.username.length)) {\n this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));\n console.error(\"Username is mandatory\");\n }\n if ((this.teams && this.teams.length) && (!this.signUpData.team || !this.signUpData.team.length)) {\n this.loginErrors.set(LoginErrors.TEAM, this.translocoService.translate('login.team-mandatory'));\n console.error(\"Team is mandatory\");\n }\n return !this.loginErrors.size;\n }\n\n public generatePassword(): string {\n const pattern: RegExp = /[A-Za-z\\d@$!%*?&]/;\n const randomSize: number = Math.floor(Math.random() * (this.PWD_MAX_LENGTH - this.PWD_MIN_LENGTH + 1))\n + this.PWD_MIN_LENGTH;\n let password: string = '';\n while (password.length < randomSize) {\n const result: string = String.fromCharCode(this.randomChar());\n if (pattern.test(result)) {\n password += result;\n }\n }\n return password;\n }\n\n private randomChar(): number {\n if (window.crypto && window.crypto.getRandomValues) {\n const buffer: Uint8Array = new Uint8Array(1);\n window.crypto.getRandomValues(buffer);\n return buffer[0];\n } else {\n return Math.floor(Math.random() * 256);\n }\n }\n\n\n protected checkUsernameExists(): void {\n if (this.signUpData.username && this.signUpData.username.length) {\n this.biitLoginServiceSupport.checkUserName(this.signUpData.username).then((exists: boolean) => {\n if (exists) {\n this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));\n } else {\n this.loginErrors.delete(this.LoginError.USERNAME);\n }\n }).catch((error: HttpErrorResponse) => {\n if (error instanceof HttpErrorResponse) {\n switch (error.status) {\n case 409:\n case 400:\n this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));\n break;\n default:\n throw error;\n }\n }\n });\n }\n }\n}\n","<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BiitLoginComponent } from './biit-login.component';\nimport {BiitPopupModule} from \"@biit-solutions/wizardry-theme/popup\";\nimport {BiitIconModule} from \"@biit-solutions/wizardry-theme/icon\";\nimport {BiitDropdownModule, BiitInputTextModule, BiitToggleModule} from \"@biit-solutions/wizardry-theme/inputs\";\nimport {FormsModule} from \"@angular/forms\";\nimport {BiitButtonModule} from \"@biit-solutions/wizardry-theme/button\";\nimport {TranslocoRootModule} from \"@biit-solutions/wizardry-theme/i18n\";\n\n\n@NgModule({\n declarations: [\n BiitLoginComponent\n ],\n imports: [\n CommonModule,\n BiitPopupModule,\n BiitIconModule,\n BiitInputTextModule,\n FormsModule,\n BiitToggleModule,\n BiitButtonModule,\n TranslocoRootModule,\n BiitDropdownModule\n ], exports: [\n BiitLoginComponent\n ]\n})\nexport class BiitLoginModule { }\n","/*\n * Public API Surface of wizardry-theme/login\n */\n\nexport * from './biit-login/biit-login.component';\nexport * from './biit-login/biit-login.module';\nexport * from './biit-login/models/sign-up-request';\nexport * from './biit-login/models/biit-login-service-support';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAY,WAOX,CAAA;AAPD,CAAA,UAAY,WAAW,EAAA;AACrB,IAAA,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IA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CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAbxB,YAAY;QACZ,eAAe;QACf,cAAc;QACd,mBAAmB;QACnB,WAAW;QACX,gBAAgB;QAChB,gBAAgB;QAChB,mBAAmB;QACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA;4FAKT,eAAe,EAAA,UAAA,EAAA,CAAA;kBAlB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,mBAAmB;wBACnB,WAAW;wBACX,gBAAgB;wBAChB,gBAAgB;wBAChB,mBAAmB;wBACnB,kBAAkB;AACnB,qBAAA,EAAE,OAAO,EAAE;wBACV,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"biit-solutions-wizardry-theme-login.mjs","sources":["../../../projects/wizardry-theme/login/src/biit-login/models/LoginErrors.ts","../../../projects/wizardry-theme/login/src/biit-login/models/sign-up-request.ts","../../../projects/wizardry-theme/login/src/biit-login/biit-login.component.ts","../../../projects/wizardry-theme/login/src/biit-login/biit-login.component.html","../../../projects/wizardry-theme/login/src/biit-login/biit-login.module.ts","../../../projects/wizardry-theme/login/src/public-api.ts","../../../projects/wizardry-theme/login/src/biit-solutions-wizardry-theme-login.ts"],"sourcesContent":["export enum LoginErrors {\n USERNAME = \"USERNAME\",\n PASSWORD = \"PASSWORD\",\n EMAIL = \"EMAIL\",\n NAME = \"NAME\",\n TEAM = \"TEAM\",\n LASTNAME = \"LASTNAME\"\n}\n","export class SignUpRequest {\n name: string;\n lastname: string;\n username: string;\n email: string;\n password: string;\n team: string;\n organization: string;\n constructor() {\n this.name = '';\n this.lastname = '';\n this.username = '';\n this.email = '';\n this.password = '';\n this.team = null;\n }\n}\n","import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';\nimport {Type} from '@biit-solutions/wizardry-theme/inputs';\nimport {BiitLogin} from \"@biit-solutions/wizardry-theme/models\";\nimport {LoginErrors} from \"./models/LoginErrors\";\nimport {TRANSLOCO_SCOPE, TranslocoService} from \"@ngneat/transloco\";\nimport {SignUpRequest} from \"./models/sign-up-request\";\nimport {HttpErrorResponse} from \"@angular/common/http\";\nimport {BiitLoginServiceSupport} from \"./models/biit-login-service-support\";\nimport {debounceTime, Subject} from \"rxjs\";\n\n@Component({\n selector: 'biit-login',\n templateUrl: './biit-login.component.html',\n styleUrls: ['./biit-login.component.scss'],\n providers: [{\n provide: TRANSLOCO_SCOPE,\n useValue: {scope: 'wizardry-theme/login', alias: \"login\"},\n multi: true\n }, {\n provide: TRANSLOCO_SCOPE,\n useValue: {scope: 'wizardry-theme/login-welcome', alias: \"login-welcome\"},\n multi: true\n }]\n})\nexport class BiitLoginComponent implements OnInit {\n\n @Input() login: BiitLogin;\n @Input() allowSignUp = false;\n @Input() allowResetPassword = true;\n @Input() signUpGeneratedPassword = false;\n @Input() signUpGeneratedUsername = true;\n @Input() teams: { key: any, label: string }[];\n @Input() biitLoginServiceSupport: BiitLoginServiceSupport;\n @Input() notification: boolean = false;\n @Input() displayLogin: boolean = false;\n @Input() signupIfCookies: boolean = true;\n\n @Output() onLogin: EventEmitter<BiitLogin>;\n @Output() onNotRemember: EventEmitter<void>;\n @Output() onResetPassword: EventEmitter<string>;\n @Output() onSignUp: EventEmitter<SignUpRequest>;\n\n protected readonly keyId: string;\n protected readonly Type = Type;\n protected readonly LoginError = LoginErrors;\n\n protected signUpView = false;\n protected signUpData: SignUpRequest = new SignUpRequest();\n protected resetView = false;\n protected resetEmail = \"\";\n protected dumbTeam: { key: any, label: string };\n\n protected loginErrors: Map<LoginErrors, string>;\n protected readonly LoginErrors = LoginErrors;\n protected readonly PWD_MIN_LENGTH = 12\n protected readonly PWD_MAX_LENGTH = 25\n\n protected usernameSearch: Subject<string> = new Subject();\n protected showNotification: boolean = true;\n\n constructor(public translocoService: TranslocoService) {\n if (!this.login) {\n this.login = new BiitLogin();\n }\n this.usernameSearch.pipe(debounceTime(1000)).subscribe(() => this.checkUsernameExists());\n this.onLogin = new EventEmitter<BiitLogin>();\n this.onNotRemember = new EventEmitter<void>();\n this.onResetPassword = new EventEmitter<string>();\n this.onSignUp = new EventEmitter<SignUpRequest>();\n this.loginErrors = new Map<LoginErrors, string>();\n const generatedId: number = Math.floor(Math.random() * (20 - 1 + 1) + 1);\n this.keyId = `${generatedId < 10 ? '0' : ''}${generatedId}`\n }\n\n ngOnInit() {\n if (this.allowSignUp && !this.displayLogin) {\n if (this.signupIfCookies) {\n const cookiesAccepted: string | null = localStorage.getItem(\"cookies-consent\");\n if (!cookiesAccepted) {\n this.signUpView = true;\n }\n } else {\n this.signUpView = true;\n }\n }\n if (this.teams && this.teams.length) {\n this.dumbTeam = this.teams[0];\n this.signUpData.team = this.dumbTeam.key;\n }\n }\n\n protected performLogin(): void {\n if (this.validateLogin()) {\n //Trim username\n if (this.login && this.login.username) {\n this.login.username = this.login.username.trim();\n }\n this.onLogin.emit(this.login)\n }\n }\n\n private validateLogin(): boolean {\n this.loginErrors.clear();\n if (!this.login.username || !this.login.username.length) {\n this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));\n }\n if (!this.login.password || !this.login.password.length) {\n this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));\n }\n return !this.loginErrors.size;\n }\n\n protected performResetPassword(): void {\n if (this.validateResetPassword()) {\n this.onResetPassword.emit(this.resetEmail);\n this.restartView();\n }\n }\n\n private validateResetPassword(): boolean {\n this.loginErrors.clear();\n if (!this.resetEmail.length) {\n this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));\n }\n return !this.loginErrors.get(LoginErrors.EMAIL);\n }\n\n restartView() {\n this.loginErrors.clear();\n\n this.resetView = false;\n this.resetEmail = \"\";\n\n this.signUpView = false;\n this.signUpData = new SignUpRequest();\n }\n\n protected performSignUp(): void {\n this.signUpData.team = this.dumbTeam?.key;\n if (this.validateSignUp()) {\n if (this.signUpGeneratedPassword) {\n this.signUpData.password = this.generatePassword();\n }\n if (this.dumbTeam) {\n this.signUpData.team = this.dumbTeam.key;\n }\n this.onSignUp.emit(this.signUpData);\n }\n }\n\n private validateSignUp(): boolean {\n this.loginErrors.clear();\n // if (!this.signUpData.name || !this.signUpData.name.length) {\n // this.loginErrors.set(LoginErrors.NAME, this.translocoService.translate('login.name-empty'));\n // }\n // if (!this.signUpData.lastname || !this.signUpData.lastname.length) {\n // this.loginErrors.set(LoginErrors.LASTNAME, this.translocoService.translate('login.lastname-empty'));\n // }\n if (!this.signUpData.email || !this.signUpData.email.length) {\n this.loginErrors.set(LoginErrors.EMAIL, this.translocoService.translate('login.email-empty'));\n console.error(\"Email is mandatory\");\n }\n if (!this.signUpGeneratedPassword && (!this.signUpData.password || !this.signUpData.password.length)) {\n this.loginErrors.set(LoginErrors.PASSWORD, this.translocoService.translate('login.password-empty'));\n console.error(\"Password is mandatory\");\n }\n if (!this.signUpGeneratedUsername && (!this.signUpData.username || !this.signUpData.username.length)) {\n this.loginErrors.set(LoginErrors.USERNAME, this.translocoService.translate('login.username-empty'));\n console.error(\"Username is mandatory\");\n }\n if ((this.teams && this.teams.length) && (!this.signUpData.team || !this.signUpData.team.length)) {\n this.loginErrors.set(LoginErrors.TEAM, this.translocoService.translate('login.team-mandatory'));\n console.error(\"Team is mandatory\");\n }\n return !this.loginErrors.size;\n }\n\n public generatePassword(): string {\n const pattern: RegExp = /[A-Za-z\\d@$!%*?&]/;\n const randomSize: number = Math.floor(Math.random() * (this.PWD_MAX_LENGTH - this.PWD_MIN_LENGTH + 1))\n + this.PWD_MIN_LENGTH;\n let password: string = '';\n while (password.length < randomSize) {\n const result: string = String.fromCharCode(this.randomChar());\n if (pattern.test(result)) {\n password += result;\n }\n }\n return password;\n }\n\n private randomChar(): number {\n if (window.crypto && window.crypto.getRandomValues) {\n const buffer: Uint8Array = new Uint8Array(1);\n window.crypto.getRandomValues(buffer);\n return buffer[0];\n } else {\n return Math.floor(Math.random() * 256);\n }\n }\n\n\n protected checkUsernameExists(): void {\n if (this.signUpData.username && this.signUpData.username.length) {\n this.biitLoginServiceSupport.checkUserName(this.signUpData.username).then((exists: boolean) => {\n if (exists) {\n this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));\n } else {\n this.loginErrors.delete(this.LoginError.USERNAME);\n }\n }).catch((error: HttpErrorResponse) => {\n if (error instanceof HttpErrorResponse) {\n switch (error.status) {\n case 409:\n case 400:\n this.loginErrors.set(this.LoginError.USERNAME, this.translocoService.translate('login.username-exists'));\n break;\n default:\n throw error;\n }\n }\n });\n }\n }\n}\n","<biit-popup no-header *transloco=\"let t\">\n <div id=\"login-tabs\"\n *ngIf=\"allowSignUp && !resetView\"\n class=\"tab-buttons\"\n >\n <div id=\"tab-login\"\n [class.selected]=\"!signUpView\"\n (click)=\"signUpView = false\"\n >\n {{ t('login.log_in') }}\n </div>\n <div id=\"tab-signup\"\n [class.selected]=\"signUpView\"\n (click)=\"signUpView = true\"\n >\n {{ t('login.sign_up') }}\n </div>\n </div>\n <div class=\"login-container\" [class.allow-signup]=\"allowSignUp\">\n <div class=\"login-column\">\n <div class=\"login-icon-square\">\n <div class=\"login-keyring\"></div>\n <biit-icon [name]=\"$any('key_' + keyId)\" class=\"login-key-icon\"></biit-icon>\n </div>\n </div>\n <ng-container *ngTemplateOutlet=\"resetView ? resetForm : signUpView ? signUpForm : loginForm\"></ng-container>\n </div>\n</biit-popup>\n\n<ng-template #loginForm>\n <div id=\"login-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"login-username\" [(ngModel)]=\"login.username\" fieldName=\"username\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"login-password\" [(ngModel)]=\"login.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <biit-toggle\n class=\"margin-vertical-14\"\n [(ngModel)]=\"login.remember\">\n {{ t('login.remember') }}\n </biit-toggle>\n <div class=\"margin-top-18 centered\">\n <button id=\"login-button\" biit-button primary\n (click)=\"performLogin()\"\n >\n {{ t('login.take_me_in') }}\n </button>\n </div>\n <div class=\"margin-top-18 centered\">\n <button biit-button tertiary *ngIf=\"allowResetPassword\"\n (click)=\"resetView = true\"\n class=\"smaller-text\"\n >\n {{ t('login.forgot') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #resetForm>\n <div class=\"login-column-expanded\" *transloco=\"let t\">\n <span class=\"title\">\n {{ t('login.reset_password_title') }}\n </span>\n <span class=\"subtitle\"\n style=\"margin-top: 1em;\">\n {{ t('login.reset_password_subtitle') }}\n </span>\n <span class=\"body\"\n style=\"margin-top: 0.5em\">\n {{ t('login.reset_password_body') }}\n </span>\n <biit-input-text [(ngModel)]=\"resetEmail\" fieldName=\"email\" [type]=\"Type.EMAIL\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\"\n (keyup.enter)=\"performResetPassword()\" style=\"margin-top: 2em; margin-bottom: 2.5em\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <div class=\"buttons\">\n <button biit-button (click)=\"performResetPassword()\">\n {{ t('login.reset') }}\n </button>\n <button biit-button tertiary (click)=\"restartView()\" class=\"smaller-text\">\n {{ t('login.i_remember') }}\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #signUpForm>\n <div id=\"signup-column\" class=\"login-column\" *transloco=\"let t\">\n <biit-input-text id=\"signup-username\" [(ngModel)]=\"signUpData.username\" fieldName=\"username\"\n *ngIf=\"!signUpGeneratedUsername\"\n [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.USERNAME)\"\n (keyup.enter)=\"performLogin()\"\n (ngModelChange)=\"usernameSearch.next($event)\"\n placeholder=\"{{t('login.username')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-name\" [(ngModel)]=\"signUpData.name\" fieldName=\"name\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.NAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.name')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-lastname\" [(ngModel)]=\"signUpData.lastname\" fieldName=\"lastname\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.LASTNAME)\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.lastname')}}\" class=\"login-input\"></biit-input-text>\n <biit-input-text id=\"signup-email\" [(ngModel)]=\"signUpData.email\" fieldName=\"email\" [type]=\"Type.TEXT\"\n [error]=\"this.loginErrors.get(LoginError.EMAIL)\" [required]=\"true\"\n (keyup.enter)=\"performLogin()\"\n placeholder=\"{{t('login.email')}}\" class=\"login-input\"></biit-input-text>\n <biit-dropdown\n *ngIf=\"teams && teams.length\"\n [(ngModel)]=\"dumbTeam\"\n [required]=\"true\"\n [data]=\"teams\"\n value=\"key\"\n label=\"label\"\n title=\"{{t('login.team')}}\" class=\"login-input\"/>\n <biit-input-text id=\"signup-password\" [(ngModel)]=\"signUpData.password\" fieldName=\"password\"\n [error]=\"this.loginErrors.get(LoginError.PASSWORD)\"\n (keyup.enter)=\"performLogin()\" *ngIf=\"!signUpGeneratedPassword\"\n placeholder=\"{{t('login.password')}}\" [type]=\"Type.PASSWORD\" class=\"login-input\"></biit-input-text>\n <div class=\"margin-top-18 centered\">\n <button id=\"signup-button\" biit-button primary\n (click)=\"performSignUp()\"\n >\n {{ t('login.sign_me_up') }}\n </button>\n </div>\n </div>\n <div *transloco=\"let t\">\n <biit-popup *ngIf=\"notification && showNotification\" id=\"warning-popup\"\n [title]=\"t('login-welcome.warning_window.tittle')\"\n closable\n (onClosed)=\"showNotification = false\">\n <div [innerHTML]=\"t('login-welcome.warning_window.content')\"></div>\n </biit-popup>\n </div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BiitLoginComponent } from './biit-login.component';\nimport {BiitPopupModule} from \"@biit-solutions/wizardry-theme/popup\";\nimport {BiitIconModule} from \"@biit-solutions/wizardry-theme/icon\";\nimport {BiitDropdownModule, BiitInputTextModule, BiitToggleModule} from \"@biit-solutions/wizardry-theme/inputs\";\nimport {FormsModule} from \"@angular/forms\";\nimport {BiitButtonModule} from \"@biit-solutions/wizardry-theme/button\";\nimport {TranslocoRootModule} from \"@biit-solutions/wizardry-theme/i18n\";\n\n\n@NgModule({\n declarations: [\n BiitLoginComponent\n ],\n imports: [\n CommonModule,\n BiitPopupModule,\n BiitIconModule,\n BiitInputTextModule,\n FormsModule,\n BiitToggleModule,\n BiitButtonModule,\n TranslocoRootModule,\n BiitDropdownModule\n ], exports: [\n BiitLoginComponent\n ]\n})\nexport class BiitLoginModule { }\n","/*\n * Public API Surface of wizardry-theme/login\n */\n\nexport * from './biit-login/biit-login.component';\nexport * from './biit-login/biit-login.module';\nexport * from './biit-login/models/sign-up-request';\nexport * from './biit-login/models/biit-login-service-support';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAY,WAOX,CAAA;AAPD,CAAA,UAAY,WAAW,EAAA;AACrB,IAAA,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,WAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,WAAA,CAAA,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AAA;AAGT,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAbxB,YAAY;QACZ,eAAe;QACf,cAAc;QACd,mBAAmB;QACnB,WAAW;QACX,gBAAgB;QAChB,gBAAgB;QAChB,mBAAmB;QACnB,kBAAkB,CAAA,EAAA,CAAA,CAAA;4FAKT,eAAe,EAAA,UAAA,EAAA,CAAA;kBAlB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,mBAAmB;wBACnB,WAAW;wBACX,gBAAgB;wBAChB,gBAAgB;wBAChB,mBAAmB;wBACnB,kBAAkB;AACnB,qBAAA,EAAE,OAAO,EAAE;wBACV,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -219,10 +219,10 @@ class BiitNavMenuComponent {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
BiitNavMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitNavMenuComponent, deps: [{ token: i1$1.Router }, { token: i2$1.ContextMenuService }], target: i0.ɵɵFactoryTarget.Component });
|
|
222
|
-
BiitNavMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitNavMenuComponent, selector: "biit-nav-menu", inputs: { routes: "routes" }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["navbarMenu"], descendants: true }, { propertyName: "navbarRef", first: true, predicate: ["navbarMenu"], descendants: true, read: ElementRef }, { propertyName: "menuCanvas", first: true, predicate: ["menuCanvas"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nav-wrapper\">\n <button class=\"nav-arrow left\"\n *ngIf=\"showLeft\"\n (click)=\"scrollLeft()\"\n aria-label=\"Scroll left\">\n \u2039\n </button>\n\n <div #menuCanvas class=\"navbar-menu-canvas scroll-x\">\n <div class=\"item\" #navItem\n *ngFor=\"let route of routes\"\n [attr.id]=\"'nav-item-' + route.path\"\n [routerLink]=\"route.children ? null : [route.path]\"\n [routerLinkActive]=\"['active']\"\n [class.active]=\"router.url.includes('/'+route.path)\"\n [class.hover]=\"route == hovered && contextMenuService.hasOpenMenu()\"\n [class.disabled]=\"route.data?.['disabled']\"\n [style.display]=\"route.data?.['hidden'] ? 'none' : 'inline-flex'\"\n (click)=\"route.children ? onContextMenu(route, navItem) : null\">\n {{ route.title }}\n <context-menu #navbarMenu menuClass=\"custom-style\">\n <ng-template contextMenuItem\n *ngFor=\"let item of contextMenuItems\"\n [disabled]=\"item.disabled\"\n [visible]=\"item.visible\"\n (execute)=\"router.navigate([item.parent, item.path])\">\n <div [attr.id]=\"'nav-subitem-' + item.path\"\n [class.active]=\"router.url.includes('/' + item.parent + '/' + item.path)\">\n {{ item.title }}\n </div>\n </ng-template>\n </context-menu>\n </div>\n </div>\n\n <button class=\"nav-arrow right\"\n *ngIf=\"showRight\"\n (click)=\"scrollRight()\n\"\n aria-label=\"Scroll right\">\n \u203A\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.navbar-menu-canvas{height:2.5rem;display:flex;background:white;overflow-x:auto}.navbar-menu-canvas .item{display:inline-flex;align-items:center;justify-content:center;padding:0 1rem;-webkit-user-select:none;user-select:none;cursor:pointer}.navbar-menu-canvas .item:active,.navbar-menu-canvas .item.active,.navbar-menu-canvas .item.open{background:#EDEDED}.navbar-menu-canvas .item:hover,.navbar-menu-canvas .item.hover{background:#D9D9D9}.disabled{color:#ededed;pointer-events:none}.nav-wrapper{position:relative;display:flex;align-items:stretch}.navbar-menu-canvas.scroll-x{overflow-x:auto;overflow-y:hidden;display:flex;gap:.5rem;scrollbar-width:none}.navbar-menu-canvas.scroll-x::-webkit-scrollbar{display:none}.item{flex:0 0 auto}.nav-arrow{position:absolute;top:0;bottom:0;width:32px;padding:0;border:none;background:linear-gradient(to right,rgba(255,255,255,.9),rgba(255,255,255,0)) center/100% 100%;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;z-index:5;color:#333;backdrop-filter:blur(2px)}.nav-arrow.left{left:0;background:linear-gradient(to right,rgba(255,255,255,.9),transparent)}.nav-arrow.right{right:0;background:linear-gradient(to left,rgba(255,255,255,.9),transparent)}.nav-arrow:hover{color:#000}.custom-style{--ngx-contextmenu-focusable-border-bottom: 1px dotted #70757e;--ngx-contextmenu-border-radius: 4px;--ngx-contextmenu-border: 1px solid rgba(0, 0, 0, .18);--ngx-contextmenu-margin: 2px 0 0;--ngx-contextmenu-min-width: 160px;--ngx-contextmenu-padding: 5px 0;--ngx-contextmenu-max-height: 100vh;--ngx-contextmenu-item-arrow-left: \"\\25c0\";--ngx-contextmenu-item-arrow-right: \"\\25b6\";--ngx-contextmenu-item-separator-color: #8a909a;--ngx-contextmenu-item-separator-padding: 10px;--ngx-contextmenu-item-separator-width: 96%;--ngx-contextmenu-item-padding: 6px 20px;--ngx-contextmenu-item-text-hover-color: #5a6473}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i2$1.ContextMenuComponent, selector: "context-menu", inputs: ["menuClass", "disabled", "dir"], outputs: ["open", "close"] }, { kind: "directive", type: i2$1.ContextMenuItemDirective, selector: "[contextMenuItem]", inputs: ["subMenu", "divider", "disabled", "passive", "visible"], outputs: ["execute"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
222
|
+
BiitNavMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BiitNavMenuComponent, selector: "biit-nav-menu", inputs: { routes: "routes" }, viewQueries: [{ propertyName: "contextMenu", first: true, predicate: ["navbarMenu"], descendants: true }, { propertyName: "navbarRef", first: true, predicate: ["navbarMenu"], descendants: true, read: ElementRef }, { propertyName: "menuCanvas", first: true, predicate: ["menuCanvas"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nav-wrapper\">\n <button class=\"nav-arrow left\" id=\"nav-menu-left\"\n *ngIf=\"showLeft\"\n (click)=\"scrollLeft()\"\n aria-label=\"Scroll left\">\n \u2039\n </button>\n\n <div #menuCanvas class=\"navbar-menu-canvas scroll-x\" id=\"nav-menu\">\n <div class=\"item\" #navItem\n *ngFor=\"let route of routes\"\n [attr.id]=\"'nav-item-' + route.path\"\n [routerLink]=\"route.children ? null : [route.path]\"\n [routerLinkActive]=\"['active']\"\n [class.active]=\"router.url.includes('/'+route.path)\"\n [class.hover]=\"route == hovered && contextMenuService.hasOpenMenu()\"\n [class.disabled]=\"route.data?.['disabled']\"\n [style.display]=\"route.data?.['hidden'] ? 'none' : 'inline-flex'\"\n (click)=\"route.children ? onContextMenu(route, navItem) : null\">\n {{ route.title }}\n <context-menu #navbarMenu menuClass=\"custom-style\">\n <ng-template contextMenuItem\n *ngFor=\"let item of contextMenuItems\"\n [disabled]=\"item.disabled\"\n [visible]=\"item.visible\"\n (execute)=\"router.navigate([item.parent, item.path])\">\n <div [attr.id]=\"'nav-subitem-' + item.path\"\n [class.active]=\"router.url.includes('/' + item.parent + '/' + item.path)\">\n {{ item.title }}\n </div>\n </ng-template>\n </context-menu>\n </div>\n </div>\n\n <button class=\"nav-arrow right\" id=\"nav-menu-right\"\n *ngIf=\"showRight\"\n (click)=\"scrollRight()\n\"\n aria-label=\"Scroll right\">\n \u203A\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.navbar-menu-canvas{height:2.5rem;display:flex;background:white;overflow-x:auto}.navbar-menu-canvas .item{display:inline-flex;align-items:center;justify-content:center;padding:0 1rem;-webkit-user-select:none;user-select:none;cursor:pointer}.navbar-menu-canvas .item:active,.navbar-menu-canvas .item.active,.navbar-menu-canvas .item.open{background:#EDEDED}.navbar-menu-canvas .item:hover,.navbar-menu-canvas .item.hover{background:#D9D9D9}.disabled{color:#ededed;pointer-events:none}.nav-wrapper{position:relative;display:flex;align-items:stretch}.navbar-menu-canvas.scroll-x{overflow-x:auto;overflow-y:hidden;display:flex;gap:.5rem;scrollbar-width:none}.navbar-menu-canvas.scroll-x::-webkit-scrollbar{display:none}.item{flex:0 0 auto}.nav-arrow{position:absolute;top:0;bottom:0;width:32px;padding:0;border:none;background:linear-gradient(to right,rgba(255,255,255,.9),rgba(255,255,255,0)) center/100% 100%;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;z-index:5;color:#333;backdrop-filter:blur(2px)}.nav-arrow.left{left:0;background:linear-gradient(to right,rgba(255,255,255,.9),transparent)}.nav-arrow.right{right:0;background:linear-gradient(to left,rgba(255,255,255,.9),transparent)}.nav-arrow:hover{color:#000}.custom-style{--ngx-contextmenu-focusable-border-bottom: 1px dotted #70757e;--ngx-contextmenu-border-radius: 4px;--ngx-contextmenu-border: 1px solid rgba(0, 0, 0, .18);--ngx-contextmenu-margin: 2px 0 0;--ngx-contextmenu-min-width: 160px;--ngx-contextmenu-padding: 5px 0;--ngx-contextmenu-max-height: 100vh;--ngx-contextmenu-item-arrow-left: \"\\25c0\";--ngx-contextmenu-item-arrow-right: \"\\25b6\";--ngx-contextmenu-item-separator-color: #8a909a;--ngx-contextmenu-item-separator-padding: 10px;--ngx-contextmenu-item-separator-width: 96%;--ngx-contextmenu-item-padding: 6px 20px;--ngx-contextmenu-item-text-hover-color: #5a6473}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i2$1.ContextMenuComponent, selector: "context-menu", inputs: ["menuClass", "disabled", "dir"], outputs: ["open", "close"] }, { kind: "directive", type: i2$1.ContextMenuItemDirective, selector: "[contextMenuItem]", inputs: ["subMenu", "divider", "disabled", "passive", "visible"], outputs: ["execute"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
223
223
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BiitNavMenuComponent, decorators: [{
|
|
224
224
|
type: Component,
|
|
225
|
-
args: [{ selector: 'biit-nav-menu', encapsulation: ViewEncapsulation.None, template: "<div class=\"nav-wrapper\">\n <button class=\"nav-arrow left\"\n *ngIf=\"showLeft\"\n (click)=\"scrollLeft()\"\n aria-label=\"Scroll left\">\n \u2039\n </button>\n\n <div #menuCanvas class=\"navbar-menu-canvas scroll-x\">\n <div class=\"item\" #navItem\n *ngFor=\"let route of routes\"\n [attr.id]=\"'nav-item-' + route.path\"\n [routerLink]=\"route.children ? null : [route.path]\"\n [routerLinkActive]=\"['active']\"\n [class.active]=\"router.url.includes('/'+route.path)\"\n [class.hover]=\"route == hovered && contextMenuService.hasOpenMenu()\"\n [class.disabled]=\"route.data?.['disabled']\"\n [style.display]=\"route.data?.['hidden'] ? 'none' : 'inline-flex'\"\n (click)=\"route.children ? onContextMenu(route, navItem) : null\">\n {{ route.title }}\n <context-menu #navbarMenu menuClass=\"custom-style\">\n <ng-template contextMenuItem\n *ngFor=\"let item of contextMenuItems\"\n [disabled]=\"item.disabled\"\n [visible]=\"item.visible\"\n (execute)=\"router.navigate([item.parent, item.path])\">\n <div [attr.id]=\"'nav-subitem-' + item.path\"\n [class.active]=\"router.url.includes('/' + item.parent + '/' + item.path)\">\n {{ item.title }}\n </div>\n </ng-template>\n </context-menu>\n </div>\n </div>\n\n <button class=\"nav-arrow right\"\n *ngIf=\"showRight\"\n (click)=\"scrollRight()\n\"\n aria-label=\"Scroll right\">\n \u203A\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.navbar-menu-canvas{height:2.5rem;display:flex;background:white;overflow-x:auto}.navbar-menu-canvas .item{display:inline-flex;align-items:center;justify-content:center;padding:0 1rem;-webkit-user-select:none;user-select:none;cursor:pointer}.navbar-menu-canvas .item:active,.navbar-menu-canvas .item.active,.navbar-menu-canvas .item.open{background:#EDEDED}.navbar-menu-canvas .item:hover,.navbar-menu-canvas .item.hover{background:#D9D9D9}.disabled{color:#ededed;pointer-events:none}.nav-wrapper{position:relative;display:flex;align-items:stretch}.navbar-menu-canvas.scroll-x{overflow-x:auto;overflow-y:hidden;display:flex;gap:.5rem;scrollbar-width:none}.navbar-menu-canvas.scroll-x::-webkit-scrollbar{display:none}.item{flex:0 0 auto}.nav-arrow{position:absolute;top:0;bottom:0;width:32px;padding:0;border:none;background:linear-gradient(to right,rgba(255,255,255,.9),rgba(255,255,255,0)) center/100% 100%;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;z-index:5;color:#333;backdrop-filter:blur(2px)}.nav-arrow.left{left:0;background:linear-gradient(to right,rgba(255,255,255,.9),transparent)}.nav-arrow.right{right:0;background:linear-gradient(to left,rgba(255,255,255,.9),transparent)}.nav-arrow:hover{color:#000}.custom-style{--ngx-contextmenu-focusable-border-bottom: 1px dotted #70757e;--ngx-contextmenu-border-radius: 4px;--ngx-contextmenu-border: 1px solid rgba(0, 0, 0, .18);--ngx-contextmenu-margin: 2px 0 0;--ngx-contextmenu-min-width: 160px;--ngx-contextmenu-padding: 5px 0;--ngx-contextmenu-max-height: 100vh;--ngx-contextmenu-item-arrow-left: \"\\25c0\";--ngx-contextmenu-item-arrow-right: \"\\25b6\";--ngx-contextmenu-item-separator-color: #8a909a;--ngx-contextmenu-item-separator-padding: 10px;--ngx-contextmenu-item-separator-width: 96%;--ngx-contextmenu-item-padding: 6px 20px;--ngx-contextmenu-item-text-hover-color: #5a6473}\n"] }]
|
|
225
|
+
args: [{ selector: 'biit-nav-menu', encapsulation: ViewEncapsulation.None, template: "<div class=\"nav-wrapper\">\n <button class=\"nav-arrow left\" id=\"nav-menu-left\"\n *ngIf=\"showLeft\"\n (click)=\"scrollLeft()\"\n aria-label=\"Scroll left\">\n \u2039\n </button>\n\n <div #menuCanvas class=\"navbar-menu-canvas scroll-x\" id=\"nav-menu\">\n <div class=\"item\" #navItem\n *ngFor=\"let route of routes\"\n [attr.id]=\"'nav-item-' + route.path\"\n [routerLink]=\"route.children ? null : [route.path]\"\n [routerLinkActive]=\"['active']\"\n [class.active]=\"router.url.includes('/'+route.path)\"\n [class.hover]=\"route == hovered && contextMenuService.hasOpenMenu()\"\n [class.disabled]=\"route.data?.['disabled']\"\n [style.display]=\"route.data?.['hidden'] ? 'none' : 'inline-flex'\"\n (click)=\"route.children ? onContextMenu(route, navItem) : null\">\n {{ route.title }}\n <context-menu #navbarMenu menuClass=\"custom-style\">\n <ng-template contextMenuItem\n *ngFor=\"let item of contextMenuItems\"\n [disabled]=\"item.disabled\"\n [visible]=\"item.visible\"\n (execute)=\"router.navigate([item.parent, item.path])\">\n <div [attr.id]=\"'nav-subitem-' + item.path\"\n [class.active]=\"router.url.includes('/' + item.parent + '/' + item.path)\">\n {{ item.title }}\n </div>\n </ng-template>\n </context-menu>\n </div>\n </div>\n\n <button class=\"nav-arrow right\" id=\"nav-menu-right\"\n *ngIf=\"showRight\"\n (click)=\"scrollRight()\n\"\n aria-label=\"Scroll right\">\n \u203A\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.navbar-menu-canvas{height:2.5rem;display:flex;background:white;overflow-x:auto}.navbar-menu-canvas .item{display:inline-flex;align-items:center;justify-content:center;padding:0 1rem;-webkit-user-select:none;user-select:none;cursor:pointer}.navbar-menu-canvas .item:active,.navbar-menu-canvas .item.active,.navbar-menu-canvas .item.open{background:#EDEDED}.navbar-menu-canvas .item:hover,.navbar-menu-canvas .item.hover{background:#D9D9D9}.disabled{color:#ededed;pointer-events:none}.nav-wrapper{position:relative;display:flex;align-items:stretch}.navbar-menu-canvas.scroll-x{overflow-x:auto;overflow-y:hidden;display:flex;gap:.5rem;scrollbar-width:none}.navbar-menu-canvas.scroll-x::-webkit-scrollbar{display:none}.item{flex:0 0 auto}.nav-arrow{position:absolute;top:0;bottom:0;width:32px;padding:0;border:none;background:linear-gradient(to right,rgba(255,255,255,.9),rgba(255,255,255,0)) center/100% 100%;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;z-index:5;color:#333;backdrop-filter:blur(2px)}.nav-arrow.left{left:0;background:linear-gradient(to right,rgba(255,255,255,.9),transparent)}.nav-arrow.right{right:0;background:linear-gradient(to left,rgba(255,255,255,.9),transparent)}.nav-arrow:hover{color:#000}.custom-style{--ngx-contextmenu-focusable-border-bottom: 1px dotted #70757e;--ngx-contextmenu-border-radius: 4px;--ngx-contextmenu-border: 1px solid rgba(0, 0, 0, .18);--ngx-contextmenu-margin: 2px 0 0;--ngx-contextmenu-min-width: 160px;--ngx-contextmenu-padding: 5px 0;--ngx-contextmenu-max-height: 100vh;--ngx-contextmenu-item-arrow-left: \"\\25c0\";--ngx-contextmenu-item-arrow-right: \"\\25b6\";--ngx-contextmenu-item-separator-color: #8a909a;--ngx-contextmenu-item-separator-padding: 10px;--ngx-contextmenu-item-separator-width: 96%;--ngx-contextmenu-item-padding: 6px 20px;--ngx-contextmenu-item-text-hover-color: #5a6473}\n"] }]
|
|
226
226
|
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: i2$1.ContextMenuService }]; }, propDecorators: { routes: [{
|
|
227
227
|
type: Input
|
|
228
228
|
}], contextMenu: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biit-solutions-wizardry-theme-navigation.mjs","sources":["../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab.component.ts","../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab-group.component.ts","../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab-group.component.html","../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab-group.module.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-user/biit-nav-user.component.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-user/biit-nav-user.component.html","../../../projects/wizardry-theme/navigation/src/biit-nav-user/biit-nav-user.module.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-menu/biit-nav-menu.component.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-menu/biit-nav-menu.component.html","../../../projects/wizardry-theme/navigation/src/biit-nav-menu/biit-nav-menu.module.ts","../../../projects/wizardry-theme/navigation/src/biit-vertical-menu/biit-vertical-menu.component.ts","../../../projects/wizardry-theme/navigation/src/biit-vertical-menu/biit-vertical-menu.component.html","../../../projects/wizardry-theme/navigation/src/biit-vertical-menu/biit-vertical-menu.module.ts","../../../projects/wizardry-theme/navigation/src/public-api.ts","../../../projects/wizardry-theme/navigation/src/biit-solutions-wizardry-theme-navigation.ts"],"sourcesContent":["import {Component, Input} from '@angular/core';\n\n@Component({\n selector: 'biit-tab',\n template: '<div [hidden]=\"!active\" [class.inner-content]=\"active\"><ng-content></ng-content></div>',\n styleUrls: ['biit-tab.component.scss']\n})\n\nexport class BiitTabComponent {\n @Input() name: string;\n @Input() active = false;\n @Input() error = false;\n}\n","import {\n AfterViewInit,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter, Input,\n Output,\n QueryList,\n ViewChild\n} from '@angular/core';\nimport {BiitTabComponent} from './biit-tab.component';\nimport {BiitProgressBarType} from \"@biit-solutions/wizardry-theme/info\";\n\n@Component({\n selector: 'biit-tab-group',\n templateUrl: 'biit-tab-group.component.html',\n styleUrls: ['biit-tab-group.component.scss']\n})\n\nexport class BiitTabGroupComponent implements AfterViewInit {\n @ContentChildren(BiitTabComponent) tabs: QueryList<BiitTabComponent>\n @ViewChild('tabHeader') header: ElementRef;\n @Input() loading: boolean = false;\n @Output() onTabClick: EventEmitter<BiitTabComponent> = new EventEmitter<BiitTabComponent>();\n protected compactMode = false;\n\n ngAfterViewInit() {\n let activeTabs = this.tabs.filter(tab => tab.active);\n if(!activeTabs.length) {\n this.activateTab(this.tabs.first);\n }\n this.checkHeaders();\n }\n\n activateTab(tab: BiitTabComponent){\n this.tabs.toArray().forEach(item => item.active = false);\n tab.active = true;\n this.onTabClick.emit(tab);\n }\n\n getActiveTab(): BiitTabComponent {\n return this.tabs.find(item => item.active);\n }\n\n checkHeaders(): void {\n this.header.nativeElement.querySelectorAll('.tab-selector').forEach(i => {\n if (i.firstChild.offsetHeight > parseFloat(getComputedStyle(document.documentElement).fontSize) * 1.2) {\n this.compactMode = true;\n return;\n }\n });\n }\n\n protected readonly BiitProgressBarType = BiitProgressBarType;\n}\n","<div class=\"tab-group\" id=\"tabs\">\n <div class=\"tab-header\" #tabHeader>\n <div *ngFor=\"let tab of tabs\"\n [attr.id]=\"'tab-' + tab.name\"\n (click)=\"activateTab(tab)\"\n [class.active]=\"tab.active\"\n [class.error]=\"tab.error\"\n [class.compact-mode]=\"compactMode\"\n class=\"tab-selector\"\n [tooltip]=\"compactMode && !tab.active ? tab.name : null\"\n >\n <a>{{ tab.name }}</a>\n </div>\n </div>\n <biit-progress-bar *ngIf=\"loading\"\n [type]=\"BiitProgressBarType.INDETERMINATE\"\n ></biit-progress-bar>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {BiitTabGroupComponent} from './biit-tab-group.component';\nimport {BiitTabComponent} from './biit-tab.component';\nimport {BiitProgressBarModule, BiitTooltipModule} from \"@biit-solutions/wizardry-theme/info\";\n\n\n\n@NgModule({\n declarations: [\n BiitTabGroupComponent,\n BiitTabComponent\n ],\n imports: [\n CommonModule,\n BiitTooltipModule,\n BiitProgressBarModule\n ],\n exports: [\n BiitTabGroupComponent,\n BiitTabComponent\n ]\n})\nexport class BiitTabGroupModule { }\n","import {Component, Input, OnInit} from '@angular/core';\n\n@Component({\n selector: 'biit-nav-user',\n templateUrl: 'biit-nav-user.component.html',\n styleUrls: ['biit-nav-user.component.scss']\n})\n\nexport class BiitNavUserComponent implements OnInit {\n @Input() title: string = '';\n @Input() subtitle: string = '';\n @Input('left-align') leftAlign: boolean;\n\n ngOnInit() {\n this.leftAlign = this.leftAlign !== undefined;\n }\n}\n","<div class=\"navbar-user-canvas\" [class.left-align]=\"leftAlign\" id=\"user-area\">\n <div class=\"content\">\n <div class=\"titles\" id=\"user-name\">\n <a *ngIf=\"subtitle?.length\" class=\"subtitle\">{{subtitle}}</a>\n <a>{{title?.length ? (title.length > 16 && title.split(\" \").length > 1 ? title.split(\" \")[0].substring(0, 1) + '. ' + title.split(\" \")[1] : title) : ''}}</a>\n </div>\n <div class=\"avatar\" id=\"user-avatar\">\n <a>{{title?.length ? title.substring(0,1) + title.split(\" \")[1]?.substring(0,1) : ''}}</a>\n </div>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {BiitNavUserComponent} from './biit-nav-user.component';\n\n@NgModule({\n declarations: [\n BiitNavUserComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BiitNavUserComponent\n ]\n})\nexport class BiitNavUserModule { }\n","import {AfterViewInit, Component, ViewEncapsulation, ElementRef, Input, ViewChild} from '@angular/core';\nimport {Route, Router} from '@angular/router';\nimport {ContextMenuComponent, ContextMenuService} from \"@perfectmemory/ngx-contextmenu\";\nimport { fromEvent } from 'rxjs';\nimport { auditTime } from 'rxjs/operators';\n\n@Component({\n selector: 'biit-nav-menu',\n templateUrl: 'biit-nav-menu.component.html',\n styleUrls: ['biit-nav-menu.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class BiitNavMenuComponent {\n @Input() routes: Route[] = [];\n protected hovered: Route;\n protected submenuHover = false;\n protected submenuItemHover;\n protected timeout;\n\n protected readonly clearTimeout = clearTimeout;\n\n @ViewChild('navbarMenu') contextMenu: ContextMenuComponent<Route>;\n @ViewChild('navbarMenu', {read: ElementRef}) navbarRef: ElementRef;\n @ViewChild('menuCanvas', { static: true }) menuCanvas!: ElementRef<HTMLDivElement>;\n\n contextMenuItems = [];\n hasOverflow = false;\n showLeft = false;\n showRight = false;\n\n constructor(protected router: Router,\n protected contextMenuService: ContextMenuService<Route>) {\n }\n\n ngAfterViewInit(): void {\n this.updateArrows();\n fromEvent(this.menuCanvas.nativeElement, 'scroll')\n .pipe(auditTime(50))\n .subscribe(() => this.updateArrows());\n\n const ro = new ResizeObserver(() => this.updateArrows());\n ro.observe(this.menuCanvas.nativeElement);\n }\n\n private updateArrows(): void {\n const el = this.menuCanvas.nativeElement;\n this.hasOverflow = el.scrollWidth > el.clientWidth;\n this.showLeft = this.hasOverflow && el.scrollLeft > 0;\n this.showRight = this.hasOverflow && (el.scrollLeft + el.clientWidth < el.scrollWidth);\n }\n\n scrollLeft(): void {\n this.menuCanvas.nativeElement.scrollBy({ left: -200, behavior: 'smooth' });\n }\n\n scrollRight(): void {\n this.menuCanvas.nativeElement.scrollBy({ left: 200, behavior: 'smooth' });\n }\n\n onContextMenu(route: Route, navItem: HTMLDivElement) {\n this.hovered = route;\n this.contextMenuItems = route.children?.map(item => {\n return {\n title: item.title,\n disabled: item.data?.['disabled'],\n visible: !item.data?.['hidden'],\n path: item.path,\n parent: route.path\n }\n })\n this.timeout = setTimeout(() => {\n this.openMenu(navItem);\n }, 50);\n }\n\n protected openMenu(navItem: HTMLDivElement): void {\n const rect: DOMRect = navItem.getBoundingClientRect();\n let x: number = rect.left + window.scrollX;\n let y: number = rect.bottom + window.scrollY;\n\n // Optional: avoid clipping on the right edge\n const maxX: number = window.scrollX + window.innerWidth - 10;\n if (x > maxX) {\n x = maxX;\n }\n\n this.contextMenuService.show(this.contextMenu, { x, y });\n }\n\n log(event) {\n console.debug(\"DEVELOPMENT LOG: \", event)\n }\n}\n","<div class=\"nav-wrapper\">\n <button class=\"nav-arrow left\"\n *ngIf=\"showLeft\"\n (click)=\"scrollLeft()\"\n aria-label=\"Scroll left\">\n ‹\n </button>\n\n <div #menuCanvas class=\"navbar-menu-canvas scroll-x\">\n <div class=\"item\" #navItem\n *ngFor=\"let route of routes\"\n [attr.id]=\"'nav-item-' + route.path\"\n [routerLink]=\"route.children ? null : [route.path]\"\n [routerLinkActive]=\"['active']\"\n [class.active]=\"router.url.includes('/'+route.path)\"\n [class.hover]=\"route == hovered && contextMenuService.hasOpenMenu()\"\n [class.disabled]=\"route.data?.['disabled']\"\n [style.display]=\"route.data?.['hidden'] ? 'none' : 'inline-flex'\"\n (click)=\"route.children ? onContextMenu(route, navItem) : null\">\n {{ route.title }}\n <context-menu #navbarMenu menuClass=\"custom-style\">\n <ng-template contextMenuItem\n *ngFor=\"let item of contextMenuItems\"\n [disabled]=\"item.disabled\"\n [visible]=\"item.visible\"\n (execute)=\"router.navigate([item.parent, item.path])\">\n <div [attr.id]=\"'nav-subitem-' + item.path\"\n [class.active]=\"router.url.includes('/' + item.parent + '/' + item.path)\">\n {{ item.title }}\n </div>\n </ng-template>\n </context-menu>\n </div>\n </div>\n\n <button class=\"nav-arrow right\"\n *ngIf=\"showRight\"\n (click)=\"scrollRight()\n\"\n aria-label=\"Scroll right\">\n ›\n </button>\n</div>\n","import { NgModule } from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {BiitNavMenuComponent} from './biit-nav-menu.component';\nimport {RouterModule} from '@angular/router';\nimport {ContextMenuModule} from \"@perfectmemory/ngx-contextmenu\";\n\n@NgModule({\n declarations: [\n BiitNavMenuComponent\n ],\n imports: [\n CommonModule,\n RouterModule,\n ContextMenuModule\n ],\n exports: [\n BiitNavMenuComponent\n ]\n})\nexport class BiitNavMenuModule { }\n","import { Component } from '@angular/core';\nimport {ConnectedPosition} from \"@angular/cdk/overlay\";\n\n@Component({\n selector: 'biit-vertical-menu',\n templateUrl: './biit-vertical-menu.component.html',\n styleUrls: ['./biit-vertical-menu.component.scss']\n})\nexport class BiitVerticalMenuComponent {\n open = false;\n\n positions: ConnectedPosition[] = [\n { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top', offsetY: 4 },\n { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top', offsetY: 4 }\n ];\n\n toggleMenu(): void {\n this.open = !this.open;\n }\n\n close(): void {\n this.open = false;\n }\n\n onSelect(key: string): void {\n // emitir evento o lógica\n this.close();\n }\n}\n","<div class=\"vertical-container\">\n <button\n biit-icon\n icon=\"project_add\"\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n class=\"icon-btn\"\n type=\"button\"\n (click)=\"toggleMenu()\">\n </button>\n\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"open\"\n [cdkConnectedOverlayPositions]=\"positions\"\n (overlayOutsideClick)=\"close()\"\n (detach)=\"close()\">\n <div class=\"floating-menu\" role=\"menu\">\n <ng-content></ng-content>\n </div>\n </ng-template>\n\n\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {BiitVerticalMenuComponent} from \"./biit-vertical-menu.component\";\nimport {ContextMenuModule} from \"@perfectmemory/ngx-contextmenu\";\nimport {BiitIconModule} from \"@biit-solutions/wizardry-theme/icon\";\nimport {OverlayModule} from \"@angular/cdk/overlay\";\nimport {BiitIconButtonModule} from \"@biit-solutions/wizardry-theme/button\";\n\n\n\n@NgModule({\n declarations: [BiitVerticalMenuComponent],\n imports: [\n CommonModule,\n ContextMenuModule,\n BiitIconModule,\n OverlayModule,\n BiitIconButtonModule\n ],\n exports: [BiitVerticalMenuComponent]\n})\nexport class BiitVerticalMenuModule { }\n","/*\n * Public API Surface of wizardry-theme/login\n */\n\nexport * from './biit-tab-group/biit-tab-group.component';\nexport * from './biit-tab-group/biit-tab-group.module';\nexport * from './biit-tab-group/biit-tab.component';\nexport * from './biit-nav-user/biit-nav-user.component';\nexport * from './biit-nav-user/biit-nav-user.module';\nexport * from './biit-nav-menu/biit-nav-menu.component';\nexport * from './biit-nav-menu/biit-nav-menu.module';\nexport * from './biit-vertical-menu/biit-vertical-menu.component';\nexport * from './biit-vertical-menu/biit-vertical-menu.module';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;MAQa,gBAAgB,CAAA;AAN7B,IAAA,WAAA,GAAA;QAQW,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;QACf,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;AACxB,KAAA;;8GAJY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,4GAJjB,wFAAwF,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,oDAAA,CAAA,EAAA,CAAA,CAAA;4FAIvF,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,SAAS;AACE,YAAA,IAAA,EAAA,CAA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AXlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,yBAAyB,CAAC;AACzC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,cAAc;wBACd,aAAa;wBACb,oBAAoB;AACrB,qBAAA;oBACD,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACrC,iBAAA,CAAA;;;ACpBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"biit-solutions-wizardry-theme-navigation.mjs","sources":["../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab.component.ts","../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab-group.component.ts","../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab-group.component.html","../../../projects/wizardry-theme/navigation/src/biit-tab-group/biit-tab-group.module.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-user/biit-nav-user.component.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-user/biit-nav-user.component.html","../../../projects/wizardry-theme/navigation/src/biit-nav-user/biit-nav-user.module.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-menu/biit-nav-menu.component.ts","../../../projects/wizardry-theme/navigation/src/biit-nav-menu/biit-nav-menu.component.html","../../../projects/wizardry-theme/navigation/src/biit-nav-menu/biit-nav-menu.module.ts","../../../projects/wizardry-theme/navigation/src/biit-vertical-menu/biit-vertical-menu.component.ts","../../../projects/wizardry-theme/navigation/src/biit-vertical-menu/biit-vertical-menu.component.html","../../../projects/wizardry-theme/navigation/src/biit-vertical-menu/biit-vertical-menu.module.ts","../../../projects/wizardry-theme/navigation/src/public-api.ts","../../../projects/wizardry-theme/navigation/src/biit-solutions-wizardry-theme-navigation.ts"],"sourcesContent":["import {Component, Input} from '@angular/core';\n\n@Component({\n selector: 'biit-tab',\n template: '<div [hidden]=\"!active\" [class.inner-content]=\"active\"><ng-content></ng-content></div>',\n styleUrls: ['biit-tab.component.scss']\n})\n\nexport class BiitTabComponent {\n @Input() name: string;\n @Input() active = false;\n @Input() error = false;\n}\n","import {\n AfterViewInit,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter, Input,\n Output,\n QueryList,\n ViewChild\n} from '@angular/core';\nimport {BiitTabComponent} from './biit-tab.component';\nimport {BiitProgressBarType} from \"@biit-solutions/wizardry-theme/info\";\n\n@Component({\n selector: 'biit-tab-group',\n templateUrl: 'biit-tab-group.component.html',\n styleUrls: ['biit-tab-group.component.scss']\n})\n\nexport class BiitTabGroupComponent implements AfterViewInit {\n @ContentChildren(BiitTabComponent) tabs: QueryList<BiitTabComponent>\n @ViewChild('tabHeader') header: ElementRef;\n @Input() loading: boolean = false;\n @Output() onTabClick: EventEmitter<BiitTabComponent> = new EventEmitter<BiitTabComponent>();\n protected compactMode = false;\n\n ngAfterViewInit() {\n let activeTabs = this.tabs.filter(tab => tab.active);\n if(!activeTabs.length) {\n this.activateTab(this.tabs.first);\n }\n this.checkHeaders();\n }\n\n activateTab(tab: BiitTabComponent){\n this.tabs.toArray().forEach(item => item.active = false);\n tab.active = true;\n this.onTabClick.emit(tab);\n }\n\n getActiveTab(): BiitTabComponent {\n return this.tabs.find(item => item.active);\n }\n\n checkHeaders(): void {\n this.header.nativeElement.querySelectorAll('.tab-selector').forEach(i => {\n if (i.firstChild.offsetHeight > parseFloat(getComputedStyle(document.documentElement).fontSize) * 1.2) {\n this.compactMode = true;\n return;\n }\n });\n }\n\n protected readonly BiitProgressBarType = BiitProgressBarType;\n}\n","<div class=\"tab-group\" id=\"tabs\">\n <div class=\"tab-header\" #tabHeader>\n <div *ngFor=\"let tab of tabs\"\n [attr.id]=\"'tab-' + tab.name\"\n (click)=\"activateTab(tab)\"\n [class.active]=\"tab.active\"\n [class.error]=\"tab.error\"\n [class.compact-mode]=\"compactMode\"\n class=\"tab-selector\"\n [tooltip]=\"compactMode && !tab.active ? tab.name : null\"\n >\n <a>{{ tab.name }}</a>\n </div>\n </div>\n <biit-progress-bar *ngIf=\"loading\"\n [type]=\"BiitProgressBarType.INDETERMINATE\"\n ></biit-progress-bar>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {BiitTabGroupComponent} from './biit-tab-group.component';\nimport {BiitTabComponent} from './biit-tab.component';\nimport {BiitProgressBarModule, BiitTooltipModule} from \"@biit-solutions/wizardry-theme/info\";\n\n\n\n@NgModule({\n declarations: [\n BiitTabGroupComponent,\n BiitTabComponent\n ],\n imports: [\n CommonModule,\n BiitTooltipModule,\n BiitProgressBarModule\n ],\n exports: [\n BiitTabGroupComponent,\n BiitTabComponent\n ]\n})\nexport class BiitTabGroupModule { }\n","import {Component, Input, OnInit} from '@angular/core';\n\n@Component({\n selector: 'biit-nav-user',\n templateUrl: 'biit-nav-user.component.html',\n styleUrls: ['biit-nav-user.component.scss']\n})\n\nexport class BiitNavUserComponent implements OnInit {\n @Input() title: string = '';\n @Input() subtitle: string = '';\n @Input('left-align') leftAlign: boolean;\n\n ngOnInit() {\n this.leftAlign = this.leftAlign !== undefined;\n }\n}\n","<div class=\"navbar-user-canvas\" [class.left-align]=\"leftAlign\" id=\"user-area\">\n <div class=\"content\">\n <div class=\"titles\" id=\"user-name\">\n <a *ngIf=\"subtitle?.length\" class=\"subtitle\">{{subtitle}}</a>\n <a>{{title?.length ? (title.length > 16 && title.split(\" \").length > 1 ? title.split(\" \")[0].substring(0, 1) + '. ' + title.split(\" \")[1] : title) : ''}}</a>\n </div>\n <div class=\"avatar\" id=\"user-avatar\">\n <a>{{title?.length ? title.substring(0,1) + title.split(\" \")[1]?.substring(0,1) : ''}}</a>\n </div>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {BiitNavUserComponent} from './biit-nav-user.component';\n\n@NgModule({\n declarations: [\n BiitNavUserComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BiitNavUserComponent\n ]\n})\nexport class BiitNavUserModule { }\n","import {AfterViewInit, Component, ViewEncapsulation, ElementRef, Input, ViewChild} from '@angular/core';\nimport {Route, Router} from '@angular/router';\nimport {ContextMenuComponent, ContextMenuService} from \"@perfectmemory/ngx-contextmenu\";\nimport { fromEvent } from 'rxjs';\nimport { auditTime } from 'rxjs/operators';\n\n@Component({\n selector: 'biit-nav-menu',\n templateUrl: 'biit-nav-menu.component.html',\n styleUrls: ['biit-nav-menu.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\n\nexport class BiitNavMenuComponent {\n @Input() routes: Route[] = [];\n protected hovered: Route;\n protected submenuHover = false;\n protected submenuItemHover;\n protected timeout;\n\n protected readonly clearTimeout = clearTimeout;\n\n @ViewChild('navbarMenu') contextMenu: ContextMenuComponent<Route>;\n @ViewChild('navbarMenu', {read: ElementRef}) navbarRef: ElementRef;\n @ViewChild('menuCanvas', { static: true }) menuCanvas!: ElementRef<HTMLDivElement>;\n\n contextMenuItems = [];\n hasOverflow = false;\n showLeft = false;\n showRight = false;\n\n constructor(protected router: Router,\n protected contextMenuService: ContextMenuService<Route>) {\n }\n\n ngAfterViewInit(): void {\n this.updateArrows();\n fromEvent(this.menuCanvas.nativeElement, 'scroll')\n .pipe(auditTime(50))\n .subscribe(() => this.updateArrows());\n\n const ro = new ResizeObserver(() => this.updateArrows());\n ro.observe(this.menuCanvas.nativeElement);\n }\n\n private updateArrows(): void {\n const el = this.menuCanvas.nativeElement;\n this.hasOverflow = el.scrollWidth > el.clientWidth;\n this.showLeft = this.hasOverflow && el.scrollLeft > 0;\n this.showRight = this.hasOverflow && (el.scrollLeft + el.clientWidth < el.scrollWidth);\n }\n\n scrollLeft(): void {\n this.menuCanvas.nativeElement.scrollBy({ left: -200, behavior: 'smooth' });\n }\n\n scrollRight(): void {\n this.menuCanvas.nativeElement.scrollBy({ left: 200, behavior: 'smooth' });\n }\n\n onContextMenu(route: Route, navItem: HTMLDivElement) {\n this.hovered = route;\n this.contextMenuItems = route.children?.map(item => {\n return {\n title: item.title,\n disabled: item.data?.['disabled'],\n visible: !item.data?.['hidden'],\n path: item.path,\n parent: route.path\n }\n })\n this.timeout = setTimeout(() => {\n this.openMenu(navItem);\n }, 50);\n }\n\n protected openMenu(navItem: HTMLDivElement): void {\n const rect: DOMRect = navItem.getBoundingClientRect();\n let x: number = rect.left + window.scrollX;\n let y: number = rect.bottom + window.scrollY;\n\n // Optional: avoid clipping on the right edge\n const maxX: number = window.scrollX + window.innerWidth - 10;\n if (x > maxX) {\n x = maxX;\n }\n\n this.contextMenuService.show(this.contextMenu, { x, y });\n }\n\n log(event) {\n console.debug(\"DEVELOPMENT LOG: \", event)\n }\n}\n","<div class=\"nav-wrapper\">\n <button class=\"nav-arrow left\" id=\"nav-menu-left\"\n *ngIf=\"showLeft\"\n (click)=\"scrollLeft()\"\n aria-label=\"Scroll left\">\n ‹\n </button>\n\n <div #menuCanvas class=\"navbar-menu-canvas scroll-x\" id=\"nav-menu\">\n <div class=\"item\" #navItem\n *ngFor=\"let route of routes\"\n [attr.id]=\"'nav-item-' + route.path\"\n [routerLink]=\"route.children ? null : [route.path]\"\n [routerLinkActive]=\"['active']\"\n [class.active]=\"router.url.includes('/'+route.path)\"\n [class.hover]=\"route == hovered && contextMenuService.hasOpenMenu()\"\n [class.disabled]=\"route.data?.['disabled']\"\n [style.display]=\"route.data?.['hidden'] ? 'none' : 'inline-flex'\"\n (click)=\"route.children ? onContextMenu(route, navItem) : null\">\n {{ route.title }}\n <context-menu #navbarMenu menuClass=\"custom-style\">\n <ng-template contextMenuItem\n *ngFor=\"let item of contextMenuItems\"\n [disabled]=\"item.disabled\"\n [visible]=\"item.visible\"\n (execute)=\"router.navigate([item.parent, item.path])\">\n <div [attr.id]=\"'nav-subitem-' + item.path\"\n [class.active]=\"router.url.includes('/' + item.parent + '/' + item.path)\">\n {{ item.title }}\n </div>\n </ng-template>\n </context-menu>\n </div>\n </div>\n\n <button class=\"nav-arrow right\" id=\"nav-menu-right\"\n *ngIf=\"showRight\"\n (click)=\"scrollRight()\n\"\n aria-label=\"Scroll right\">\n ›\n </button>\n</div>\n","import { NgModule } from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {BiitNavMenuComponent} from './biit-nav-menu.component';\nimport {RouterModule} from '@angular/router';\nimport {ContextMenuModule} from \"@perfectmemory/ngx-contextmenu\";\n\n@NgModule({\n declarations: [\n BiitNavMenuComponent\n ],\n imports: [\n CommonModule,\n RouterModule,\n ContextMenuModule\n ],\n exports: [\n BiitNavMenuComponent\n ]\n})\nexport class BiitNavMenuModule { }\n","import { Component } from '@angular/core';\nimport {ConnectedPosition} from \"@angular/cdk/overlay\";\n\n@Component({\n selector: 'biit-vertical-menu',\n templateUrl: './biit-vertical-menu.component.html',\n styleUrls: ['./biit-vertical-menu.component.scss']\n})\nexport class BiitVerticalMenuComponent {\n open = false;\n\n positions: ConnectedPosition[] = [\n { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top', offsetY: 4 },\n { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top', offsetY: 4 }\n ];\n\n toggleMenu(): void {\n this.open = !this.open;\n }\n\n close(): void {\n this.open = false;\n }\n\n onSelect(key: string): void {\n // emitir evento o lógica\n this.close();\n }\n}\n","<div class=\"vertical-container\">\n <button\n biit-icon\n icon=\"project_add\"\n cdkOverlayOrigin\n #trigger=\"cdkOverlayOrigin\"\n class=\"icon-btn\"\n type=\"button\"\n (click)=\"toggleMenu()\">\n </button>\n\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"open\"\n [cdkConnectedOverlayPositions]=\"positions\"\n (overlayOutsideClick)=\"close()\"\n (detach)=\"close()\">\n <div class=\"floating-menu\" role=\"menu\">\n <ng-content></ng-content>\n </div>\n </ng-template>\n\n\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {BiitVerticalMenuComponent} from \"./biit-vertical-menu.component\";\nimport {ContextMenuModule} from \"@perfectmemory/ngx-contextmenu\";\nimport {BiitIconModule} from \"@biit-solutions/wizardry-theme/icon\";\nimport {OverlayModule} from \"@angular/cdk/overlay\";\nimport {BiitIconButtonModule} from \"@biit-solutions/wizardry-theme/button\";\n\n\n\n@NgModule({\n declarations: [BiitVerticalMenuComponent],\n imports: [\n CommonModule,\n ContextMenuModule,\n BiitIconModule,\n OverlayModule,\n BiitIconButtonModule\n ],\n exports: [BiitVerticalMenuComponent]\n})\nexport class BiitVerticalMenuModule { }\n","/*\n * Public API Surface of wizardry-theme/login\n */\n\nexport * from './biit-tab-group/biit-tab-group.component';\nexport * from './biit-tab-group/biit-tab-group.module';\nexport * from './biit-tab-group/biit-tab.component';\nexport * from './biit-nav-user/biit-nav-user.component';\nexport * from './biit-nav-user/biit-nav-user.module';\nexport * from './biit-nav-menu/biit-nav-menu.component';\nexport * from './biit-nav-menu/biit-nav-menu.module';\nexport * from './biit-vertical-menu/biit-vertical-menu.component';\nexport * from './biit-vertical-menu/biit-vertical-menu.module';\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;MAQa,gBAAgB,CAAA;AAN7B,IAAA,WAAA,GAAA;QAQW,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;QACf,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;AACxB,KAAA;;8GAJY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,4GAJjB,wFAAwF,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,oDAAA,CAAA,EAAA,CAAA,CAAA;4FAIvF,gBAAgB,EAAA,UAAA,EAAA,CAA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;4FAIX,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAXlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,yBAAyB,CAAC;AACzC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,cAAc;wBACd,aAAa;wBACb,oBAAoB;AACrB,qBAAA;oBACD,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACrC,iBAAA,CAAA;;;ACpBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -11,6 +11,7 @@ export declare class BiitLoginComponent implements OnInit {
|
|
|
11
11
|
translocoService: TranslocoService;
|
|
12
12
|
login: BiitLogin;
|
|
13
13
|
allowSignUp: boolean;
|
|
14
|
+
allowResetPassword: boolean;
|
|
14
15
|
signUpGeneratedPassword: boolean;
|
|
15
16
|
signUpGeneratedUsername: boolean;
|
|
16
17
|
teams: {
|
|
@@ -55,5 +56,5 @@ export declare class BiitLoginComponent implements OnInit {
|
|
|
55
56
|
private randomChar;
|
|
56
57
|
protected checkUsernameExists(): void;
|
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<BiitLoginComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BiitLoginComponent, "biit-login", never, { "login": "login"; "allowSignUp": "allowSignUp"; "signUpGeneratedPassword": "signUpGeneratedPassword"; "signUpGeneratedUsername": "signUpGeneratedUsername"; "teams": "teams"; "biitLoginServiceSupport": "biitLoginServiceSupport"; "notification": "notification"; "displayLogin": "displayLogin"; "signupIfCookies": "signupIfCookies"; }, { "onLogin": "onLogin"; "onNotRemember": "onNotRemember"; "onResetPassword": "onResetPassword"; "onSignUp": "onSignUp"; }, never, never, false, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BiitLoginComponent, "biit-login", never, { "login": "login"; "allowSignUp": "allowSignUp"; "allowResetPassword": "allowResetPassword"; "signUpGeneratedPassword": "signUpGeneratedPassword"; "signUpGeneratedUsername": "signUpGeneratedUsername"; "teams": "teams"; "biitLoginServiceSupport": "biitLoginServiceSupport"; "notification": "notification"; "displayLogin": "displayLogin"; "signupIfCookies": "signupIfCookies"; }, { "onLogin": "onLogin"; "onNotRemember": "onNotRemember"; "onResetPassword": "onResetPassword"; "onSignUp": "onSignUp"; }, never, never, false, never>;
|
|
59
60
|
}
|