UNPKG

3.11 kBJSONView Raw
1[{"__symbolic":"module","version":4,"metadata":{"ProfileEditComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"profile-edit","template":"<div fxFlex=\"450px\"> <form [formGroup]=\"formGroup\" (ngSubmit)=\"editProfile()\" fxLayout=\"column\"> <mat-card> <mat-card-content> <mat-form-field fxFlexFill> <input type=\"text\" matInput placeholder=\"پست الکترونیکی\" formControlName=\"Email\"> </mat-form-field> <mat-form-field> <mat-select placeholder=\"Roles\" formControlName=\"Roles\" multiple> <mat-select-trigger> {{formGroup.controls.Roles.value ? formGroup.controls.Roles.value[0] : ''}} <span *ngIf=\"formGroup.controls.Roles.value?.length > 1\"> (+{{formGroup.controls.Roles.value.length - 1}} others) </span> </mat-select-trigger> <mat-option *ngFor=\"let item of roles\" [value]=\"item\">{{item}}</mat-option> </mat-select> </mat-form-field> <mat-form-field> <mat-select placeholder=\"Groups\" formControlName=\"Groups\" multiple> <mat-select-trigger> {{formGroup.controls.Groups.value ? formGroup.controls.Groups.value[0] : ''}} <span *ngIf=\"formGroup.controls.Groups.value?.length > 1\"> (+{{formGroup.controls.Groups.value.length - 1}} others) </span> </mat-select-trigger> <mat-option *ngFor=\"let item of groups\" [value]=\"item\">{{item}}</mat-option> </mat-select> </mat-form-field> </mat-card-content> <mat-card-actions fxLayoutAlign=\"center center\"> <button fxFlex=\"nogrow\" type=\"submit\" mat-raised-button color=\"primary\">ویرایش</button> <button fxFlex=\"nogrow\" type=\"button\" routerLink=\"/user/panel/profile\" mat-raised-button>بازگشت</button> </mat-card-actions> </mat-card> </form> </div>"}]}],"members":{"submited":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":5}}]}],"formGroup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":5}}]}],"roles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":5}}]}],"groups":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@soushians/infra","name":"UtilityService","line":17,"character":40}]}],"ngOnInit":[{"__symbolic":"method"}],"editProfile":[{"__symbolic":"method"}]}}}}]
\No newline at end of file