mirror of https://github.com/abpframework/abp.git
30 changed files with 1454 additions and 54 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,27 @@ |
|||
/** |
|||
* @fileoverview added by tsickle |
|||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc |
|||
*/ |
|||
import { Component } from '@angular/core'; |
|||
export class ManageProfileComponent { |
|||
constructor() { |
|||
this.selectedTab = 0; |
|||
} |
|||
/** |
|||
* @return {?} |
|||
*/ |
|||
ngOnInit() { } |
|||
} |
|||
ManageProfileComponent.decorators = [ |
|||
{ type: Component, args: [{ |
|||
selector: 'abp-manage-profile', |
|||
template: "<div class=\"row entry-row\">\n <div class=\"col-auto\"></div>\n <div id=\"breadcrumb\" class=\"col-md-auto pl-md-0\"></div>\n <div class=\"col\"></div>\n</div>\n\n<div id=\"ManageProfileWrapper\">\n <div class=\"row\">\n <div class=\"col-3\">\n <ul class=\"nav flex-column nav-pills\" id=\"nav-tab\" role=\"tablist\">\n <li class=\"nav-item pointer\" (click)=\"selectedTab = 0\">\n <a class=\"nav-link\" [ngClass]=\"{ active: selectedTab === 0 }\" role=\"tab\">{{\n 'AbpUi::ChangePassword' | abpLocalization\n }}</a>\n </li>\n <li class=\"nav-item pointer\" (click)=\"selectedTab = 1\">\n <a class=\"nav-link\" [ngClass]=\"{ active: selectedTab === 1 }\" role=\"tab\">{{\n 'AbpAccount::PersonalSettings' | abpLocalization\n }}</a>\n </li>\n </ul>\n </div>\n <div class=\"col-9\">\n <div class=\"tab-content\" *ngIf=\"selectedTab === 0\">\n <div class=\"tab-pane fade show active\" role=\"tabpanel\">\n <abp-change-password-form></abp-change-password-form>\n </div>\n </div>\n <div class=\"tab-content\" *ngIf=\"selectedTab === 1\">\n <div class=\"tab-pane fade show active\" role=\"tabpanel\">\n <abp-personal-settings-form></abp-personal-settings-form>\n </div>\n </div>\n </div>\n </div>\n</div>\n" |
|||
}] } |
|||
]; |
|||
/** @nocollapse */ |
|||
ManageProfileComponent.ctorParameters = () => []; |
|||
if (false) { |
|||
/** @type {?} */ |
|||
ManageProfileComponent.prototype.selectedTab; |
|||
} |
|||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvbWFuYWdlLXByb2ZpbGUvbWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBTWxELE1BQU0sT0FBTyxzQkFBc0I7SUFHakM7UUFGQSxnQkFBVyxHQUFHLENBQUMsQ0FBQztJQUVELENBQUM7Ozs7SUFFaEIsUUFBUSxLQUFVLENBQUM7OztZQVRwQixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLG9CQUFvQjtnQkFDOUIsKzJDQUE4QzthQUMvQzs7Ozs7O0lBRUMsNkNBQWdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYWJwLW1hbmFnZS1wcm9maWxlJyxcbiAgdGVtcGxhdGVVcmw6ICcuL21hbmFnZS1wcm9maWxlLmNvbXBvbmVudC5odG1sJyxcbn0pXG5leHBvcnQgY2xhc3MgTWFuYWdlUHJvZmlsZUNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIHNlbGVjdGVkVGFiID0gMDtcblxuICBjb25zdHJ1Y3RvcigpIHt9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7fVxufVxuIl19
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,32 @@ |
|||
/** |
|||
* @fileoverview added by tsickle |
|||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc |
|||
*/ |
|||
import { Component } from '@angular/core'; |
|||
var ManageProfileComponent = /** @class */ (function () { |
|||
function ManageProfileComponent() { |
|||
this.selectedTab = 0; |
|||
} |
|||
/** |
|||
* @return {?} |
|||
*/ |
|||
ManageProfileComponent.prototype.ngOnInit = /** |
|||
* @return {?} |
|||
*/ |
|||
function () { }; |
|||
ManageProfileComponent.decorators = [ |
|||
{ type: Component, args: [{ |
|||
selector: 'abp-manage-profile', |
|||
template: "<div class=\"row entry-row\">\n <div class=\"col-auto\"></div>\n <div id=\"breadcrumb\" class=\"col-md-auto pl-md-0\"></div>\n <div class=\"col\"></div>\n</div>\n\n<div id=\"ManageProfileWrapper\">\n <div class=\"row\">\n <div class=\"col-3\">\n <ul class=\"nav flex-column nav-pills\" id=\"nav-tab\" role=\"tablist\">\n <li class=\"nav-item pointer\" (click)=\"selectedTab = 0\">\n <a class=\"nav-link\" [ngClass]=\"{ active: selectedTab === 0 }\" role=\"tab\">{{\n 'AbpUi::ChangePassword' | abpLocalization\n }}</a>\n </li>\n <li class=\"nav-item pointer\" (click)=\"selectedTab = 1\">\n <a class=\"nav-link\" [ngClass]=\"{ active: selectedTab === 1 }\" role=\"tab\">{{\n 'AbpAccount::PersonalSettings' | abpLocalization\n }}</a>\n </li>\n </ul>\n </div>\n <div class=\"col-9\">\n <div class=\"tab-content\" *ngIf=\"selectedTab === 0\">\n <div class=\"tab-pane fade show active\" role=\"tabpanel\">\n <abp-change-password-form></abp-change-password-form>\n </div>\n </div>\n <div class=\"tab-content\" *ngIf=\"selectedTab === 1\">\n <div class=\"tab-pane fade show active\" role=\"tabpanel\">\n <abp-personal-settings-form></abp-personal-settings-form>\n </div>\n </div>\n </div>\n </div>\n</div>\n" |
|||
}] } |
|||
]; |
|||
/** @nocollapse */ |
|||
ManageProfileComponent.ctorParameters = function () { return []; }; |
|||
return ManageProfileComponent; |
|||
}()); |
|||
export { ManageProfileComponent }; |
|||
if (false) { |
|||
/** @type {?} */ |
|||
ManageProfileComponent.prototype.selectedTab; |
|||
} |
|||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFicC9uZy5hY2NvdW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvbWFuYWdlLXByb2ZpbGUvbWFuYWdlLXByb2ZpbGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBRWxEO0lBT0U7UUFGQSxnQkFBVyxHQUFHLENBQUMsQ0FBQztJQUVELENBQUM7Ozs7SUFFaEIseUNBQVE7OztJQUFSLGNBQWtCLENBQUM7O2dCQVRwQixTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLG9CQUFvQjtvQkFDOUIsKzJDQUE4QztpQkFDL0M7Ozs7SUFPRCw2QkFBQztDQUFBLEFBVkQsSUFVQztTQU5ZLHNCQUFzQjs7O0lBQ2pDLDZDQUFnQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2FicC1tYW5hZ2UtcHJvZmlsZScsXG4gIHRlbXBsYXRlVXJsOiAnLi9tYW5hZ2UtcHJvZmlsZS5jb21wb25lbnQuaHRtbCcsXG59KVxuZXhwb3J0IGNsYXNzIE1hbmFnZVByb2ZpbGVDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuICBzZWxlY3RlZFRhYiA9IDA7XG5cbiAgY29uc3RydWN0b3IoKSB7fVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge31cbn1cbiJdfQ==
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@ |
|||
import { ToasterService } from '@abp/ng.theme.shared'; |
|||
import { OnInit } from '@angular/core'; |
|||
import { FormBuilder, FormGroup } from '@angular/forms'; |
|||
import { Validation } from '@ngx-validate/core'; |
|||
import { Store } from '@ngxs/store'; |
|||
export declare class ChangePasswordComponent implements OnInit { |
|||
private fb; |
|||
private store; |
|||
private toasterService; |
|||
form: FormGroup; |
|||
mapErrorsFn: Validation.MapErrorsFn; |
|||
constructor(fb: FormBuilder, store: Store, toasterService: ToasterService); |
|||
ngOnInit(): void; |
|||
onSubmit(): void; |
|||
} |
|||
@ -1,2 +1,5 @@ |
|||
export * from './change-password/change-password.component'; |
|||
export * from './login/login.component'; |
|||
export * from './manage-profile/manage-profile.component'; |
|||
export * from './register/register.component'; |
|||
export * from './personal-settings/personal-settings.component'; |
|||
|
|||
@ -0,0 +1,6 @@ |
|||
import { OnInit } from '@angular/core'; |
|||
export declare class ManageProfileComponent implements OnInit { |
|||
selectedTab: number; |
|||
constructor(); |
|||
ngOnInit(): void; |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
import { Profile } from '@abp/ng.core'; |
|||
import { OnInit } from '@angular/core'; |
|||
import { FormBuilder, FormGroup } from '@angular/forms'; |
|||
import { Store } from '@ngxs/store'; |
|||
import { Observable } from 'rxjs'; |
|||
import { ToasterService } from '@abp/ng.theme.shared'; |
|||
export declare class PersonalSettingsComponent implements OnInit { |
|||
private fb; |
|||
private store; |
|||
private toasterService; |
|||
profile$: Observable<Profile.Response>; |
|||
form: FormGroup; |
|||
constructor(fb: FormBuilder, store: Store, toasterService: ToasterService); |
|||
buildForm(): void; |
|||
submit(): void; |
|||
ngOnInit(): void; |
|||
} |
|||
Loading…
Reference in new issue