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;;;;;ACAb,MAAO5B,oBAAoB;wBAApBA,oBAAoB;;mBAApBA,qBAAoB;AAAA;;QAApBA,qBAAoB;EAAAoB,SAAA;EAAAC,KAAA;EAAAC,IAAA;EAAAE,QAAA,WAAA61B,8BAAA31B,EAAA,EAAAC,GAAA;IAAA,IAAAD,EAAA;MCLjCE,uDADA,oBAA+B,oBACA;;;;;;;;;;;;;;;;;;;ACD/B;AACA;AACA;AAEO,MAAM01B,WAAW,GAAG;EACzBC,UAAU,EAAE;CACb;AAED;;;;;;AAMA;;;;;;;;;;;;;;;;;;;;;ACd+C;AAGF;AACY;AAEnD,SAAUE,UAAUA,CAAA;EACxB,OAAOC,QAAQ,CAACC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAACC,IAAI;AACtD;AAEA,MAAMC,SAAS,GAAG,CAChB;EAAEr0B,OAAO,EAAE,UAAU;EAAEs0B,UAAU,EAAEL,UAAU;EAAEM,IAAI,EAAE;AAAE,CAAE,CAC1D;AAED,IAAIT,kEAAW,CAACC,UAAU,EAAE;EAC1BC,6DAAc,EAAE;;AAGlBQ,sEAAA,CAAuBH,SAAS,CAAC,CAACK,eAAe,CAAC50B,sDAAS,CAAC,CACzD60B,KAAK,CAACryB,GAAG,IAAIgH,OAAO,CAACC,GAAG,CAACjH,GAAG,CAAC,CAAC","sources":["./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/auth-callback/auth-callback.component.ts","./src/app/auth-callback/auth-callback.component.html","./src/app/init.component.ts","./src/app/school-context/edit-products/edit-products.component.ts","./src/app/school-context/edit-products/edit-products.component.html","./src/app/school-context/nav-menu/school-nav-menu.component.ts","./src/app/school-context/nav-menu/school-nav-menu.component.html","./src/app/school-context/orders/orders.component.ts","./src/app/school-context/orders/orders.component.html","./src/app/school-context/products/products.component.ts","./src/app/school-context/products/products.component.html","./src/app/school-context/school-context.component.ts","./src/app/school-context/school-context.component.html","./src/app/school-context/users/users.component.ts","./src/app/school-context/users/users.component.html","./src/app/shared/authentication/auth-interceptor.ts","./src/app/shared/authentication/auth.guard.ts","./src/app/shared/authentication/auth.service.ts","./src/app/shared/components/footer/footer.component.ts","./src/app/shared/components/footer/footer.component.html","./src/app/shared/components/header/header.component.ts","./src/app/shared/components/header/header.component.html","./src/app/shared/components/oldregistration/oldregistration.component.ts","./src/app/shared/components/oldregistration/oldregistration.component.html","./src/app/shared/components/sidebar-oldregistration/sidebar-oldregistration.component.ts","./src/app/shared/components/sidebar-oldregistration/sidebar-oldregistration.component.html","./src/app/shared/components/sidebar/sidebar.component.ts","./src/app/shared/components/sidebar/sidebar.component.html","./src/app/shared/components/snackbar/mat-snackbar.component.ts","./src/app/shared/dialogs/assign-to-new-teacher-dialog/assign-to-new-teacher-dialog.component.ts","./src/app/shared/dialogs/assign-to-new-teacher-dialog/assign-to-new-teacher-dialog.component.html","./src/app/shared/dialogs/create-school-class-dialog/create-school-class-dialog.component.ts","./src/app/shared/dialogs/create-school-class-dialog/create-school-class-dialog.component.html","./src/app/shared/dialogs/handle-assigned-license-dialog/handle-assigned-license-dialog.component.ts","./src/app/shared/dialogs/handle-assigned-license-dialog/handle-assigned-license-dialog.component.html","./src/app/shared/dialogs/handle-products-license-dialog/handle-products-license-dialog.component.ts","./src/app/shared/dialogs/handle-products-license-dialog/handle-products-license-dialog.component.html","./src/app/shared/dialogs/handle-unassigned-license-dialog/handle-unassigned-license-dialog.component.ts","./src/app/shared/dialogs/handle-unassigned-license-dialog/handle-unassigned-license-dialog.component.html","./src/app/shared/dialogs/message-dialog/message-dialog.component.ts","./src/app/shared/dialogs/message-dialog/message-dialog.component.html","./src/app/shared/dialogs/order-license-dialog/order-license-dialog.component.ts","./src/app/shared/dialogs/order-license-dialog/order-license-dialog.component.html","./src/app/shared/dialogs/remove-user-from-school/remove-user-from-school.component.ts","./src/app/shared/dialogs/remove-user-from-school/remove-user-from-school.component.html","./src/app/shared/services/api.service.ts","./src/app/shared/services/config.service.ts","./src/app/shared/services/license.service.ts","./src/app/shared/services/localstorage.service.ts","./src/app/shared/services/order.service.ts","./src/app/shared/services/product.service.ts","./src/app/shared/services/role.service.ts","./src/app/shared/services/school.service.ts","./src/app/shared/services/schoolclass.service.ts","./src/app/shared/services/teacher.service.ts","./src/app/shared/services/user.service.ts","./src/app/shared/shared.module.ts","./src/app/user-context/error/error.component.ts","./src/app/user-context/error/error.component.html","./src/app/user-context/help/help.component.ts","./src/app/user-context/help/help.component.html","./src/app/user-context/nav-menu/user-nav-menu.component.ts","./src/app/user-context/nav-menu/user-nav-menu.component.html","./src/app/user-context/onboarding/onboarding.component.ts","./src/app/user-context/onboarding/onboarding.component.html","./src/app/user-context/profile/profile.component.ts","./src/app/user-context/profile/profile.component.html","./src/app/user-context/session-expired/session-expired.component.ts","./src/app/user-context/session-expired/session-expired.component.html","./src/app/user-context/user-context.component.ts","./src/app/user-context/user-context.component.html","./src/environments/environment.ts","./src/main.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { Route, RouterModule } from '@angular/router';\r\nimport { AuthCallbackComponent } from './auth-callback/auth-callback.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AuthGuard } from './shared/authentication/auth.guard';\r\nimport { SchoolContextComponent } from './school-context/school-context.component';\r\nimport { ProductsComponent } from './school-context/products/products.component';\r\nimport { EditProductsComponent } from './school-context/edit-products/edit-products.component';\r\nimport { OrdersComponent } from './school-context/orders/orders.component';\r\nimport { UsersComponent } from './school-context/users/users.component';\r\nimport { OnboardingComponent } from './user-context/onboarding/onboarding.component';\r\nimport { HelpComponent } from './user-context/help/help.component';\r\nimport { ErrorComponent } from './user-context/error/error.component';\r\nimport { UserContextComponent } from './user-context/user-context.component';\r\nimport { InitComponent } from './init.component';\r\nimport { SessionExpiredComponent } from './user-context/session-expired/session-expired.component';\r\nimport { ProfileComponent } from './user-context/profile/profile.component';\r\nimport { OldRegistrationComponent } from './shared/components/oldregistration/oldregistration.component';\r\n\r\nconst routes: Route[] = [\r\n { path: \"auth-callback\", component: AuthCallbackComponent },\r\n {\r\n path: \"\",\r\n component: UserContextComponent,\r\n canActivate: [AuthGuard],\r\n children: [\r\n { path: \"\", redirectTo: \"init\", pathMatch: \"full\" },\r\n { path: \"init\", component: InitComponent, canActivate: [AuthGuard] },\r\n {\r\n path: \"onboarding\",\r\n component: OnboardingComponent,\r\n canActivate: [AuthGuard],\r\n },\r\n { path: \"help\", component: HelpComponent, canActivate: [AuthGuard] },\r\n { path: \"error\", component: ErrorComponent },\r\n { path: \"session-expired\", component: SessionExpiredComponent },\r\n { path: \"profile\", component: ProfileComponent },\r\n ],\r\n },\r\n {\r\n path: \"schools/:schoolId\",\r\n component: SchoolContextComponent,\r\n canActivate: [AuthGuard],\r\n children: [\r\n { path: \"\", redirectTo: \"products\", pathMatch: \"full\" },\r\n {\r\n path: \"products\",\r\n component: ProductsComponent,\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: \"products/edit\",\r\n component: EditProductsComponent,\r\n canActivate: [AuthGuard],\r\n },\r\n { path: \"orders\", component: OrdersComponent, canActivate: [AuthGuard] },\r\n { path: \"users\", component: UsersComponent, canActivate: [AuthGuard] },\r\n ],\r\n },\r\n {\r\n path: \"Customer/RegisterLicense/Licenses\",\r\n component: OldRegistrationComponent,\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule.forRoot(routes)\r\n ],\r\n exports: [\r\n RouterModule\r\n ]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.css']\r\n})\r\nexport class AppComponent implements OnInit {\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n}\r\n","\r\n
\r\n \r\n
\r\n\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { AppComponent } from './app.component';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { SharedModule } from './shared/shared.module';\r\nimport { AuthCallbackComponent } from './auth-callback/auth-callback.component';\r\nimport { MatDialogModule, MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';\r\nimport { MatSnackBarModule } from '@angular/material/snack-bar';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { NgxMatSelectSearchModule } from 'ngx-mat-select-search';\r\nimport { SchoolNavMenuComponent } from './school-context/nav-menu/school-nav-menu.component';\r\nimport { ProductsComponent } from './school-context/products/products.component';\r\nimport { HelpComponent } from './user-context/help/help.component';\r\nimport { ProfileComponent } from './user-context/profile/profile.component';\r\nimport { OnboardingComponent } from './user-context/onboarding/onboarding.component';\r\nimport { ErrorComponent } from './user-context/error/error.component';\r\nimport { EditProductsComponent } from './school-context/edit-products/edit-products.component';\r\nimport { OrdersComponent } from './school-context/orders/orders.component';\r\nimport { UsersComponent } from './school-context/users/users.component';\r\nimport { SchoolClassService } from './shared/services/schoolclass.service';\r\nimport { OrderService } from './shared/services/order.service';\r\nimport { SchoolService } from './shared/services/school.service';\r\nimport { LicenseService } from './shared/services/license.service';\r\nimport { TeacherService } from './shared/services/teacher.service';\r\nimport { ProductService } from './shared/services/product.service';\r\nimport { SchoolContextComponent } from './school-context/school-context.component';\r\nimport { UserContextComponent } from './user-context/user-context.component';\r\nimport { UserNavMenuComponent } from './user-context/nav-menu/user-nav-menu.component';\r\nimport { InitComponent } from './init.component';\r\nimport { AuthInterceptor } from './shared/authentication/auth-interceptor';\r\nimport { SessionExpiredComponent } from './user-context/session-expired/session-expired.component';\r\nimport { OldRegistrationComponent } from './shared/components/oldregistration/oldregistration.component';\r\nimport { AppRoutingModule } from \"./app-routing.module\";\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n SchoolNavMenuComponent,\r\n UserNavMenuComponent,\r\n ProductsComponent,\r\n HelpComponent,\r\n ProfileComponent,\r\n AuthCallbackComponent,\r\n OnboardingComponent,\r\n ErrorComponent,\r\n EditProductsComponent,\r\n HelpComponent,\r\n OrdersComponent,\r\n UsersComponent,\r\n SchoolContextComponent,\r\n UserContextComponent,\r\n InitComponent,\r\n SessionExpiredComponent,\r\n OldRegistrationComponent,\r\n ],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: \"ng-cli-universal\" }),\r\n AppRoutingModule,\r\n HttpClientModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n SharedModule,\r\n MatDialogModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatSnackBarModule,\r\n NgxMatSelectSearchModule,\r\n ReactiveFormsModule,\r\n // ToastrModule.forRoot({\r\n // timeOut: 5000,\r\n // positionClass: 'toast-bottom-right',\r\n // preventDuplicates: true,\r\n // newestOnTop: true,\r\n // enableHtml:true\r\n // }),\r\n ],\r\n providers: [\r\n SchoolClassService,\r\n OrderService,\r\n SchoolService,\r\n LicenseService,\r\n TeacherService,\r\n ProductService,\r\n { provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: { hasBackdrop: true } },\r\n { provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true },\r\n ],\r\n bootstrap: [AppComponent],\r\n})\r\nexport class AppModule {}\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService } from '../shared/authentication/auth.service';\r\n\r\n@Component({\r\n selector: 'app-auth-callback',\r\n templateUrl: './auth-callback.component.html',\r\n styleUrls: ['./auth-callback.component.css']\r\n})\r\nexport class AuthCallbackComponent implements OnInit {\r\n\r\n constructor(private authService: AuthService, private router: Router) { }\r\n\r\n async ngOnInit() {\r\n try {\r\n await this.authService.completeAuthentication();\r\n var postLoginRedirect = sessionStorage.getItem(\"__plru\");\r\n if (postLoginRedirect) {\r\n sessionStorage.removeItem(\"__plru\");\r\n }\r\n else {\r\n postLoginRedirect = \"/\"\r\n }\r\n\r\n this.router.navigateByUrl(postLoginRedirect);\r\n }\r\n catch (err) {\r\n //console.log(\"error\", err);\r\n await this.authService.signout();\r\n }\r\n }\r\n}\r\n","
\r\n

Loggar in dig ...

\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { LocalStorageService } from './shared/services/localstorage.service';\r\nimport { OrderService } from './shared/services/order.service';\r\nimport { SchoolClassService } from './shared/services/schoolclass.service';\r\nimport { UserService } from './shared/services/user.service';\r\n\r\n@Component({\r\n templateUrl: './init.component.html',\r\n styleUrls: ['./init.component.css']\r\n})\r\nexport class InitComponent implements OnInit {\r\n constructor(\r\n private userService: UserService,\r\n private localStorageService: LocalStorageService,\r\n private router: Router,\r\n private schoolClassService: SchoolClassService,\r\n private orderService: OrderService) { }\r\n\r\n ngOnInit() {\r\n this.userService.getCurrentUser().subscribe(user => {\r\n if (user.schools.length == 0) {\r\n this.router.navigate([\"onboarding\"]);\r\n } else {\r\n var latestSchoolId = this.localStorageService.getLatestSchoolId();\r\n if (latestSchoolId == undefined || !user.schools.some(_ => _.id == latestSchoolId)) {\r\n latestSchoolId = user.schools[0].id;\r\n }\r\n this.schoolClassService.repairSchoolClassSchoolConnection(latestSchoolId).subscribe(response => {\r\n this.orderService.repairOrderSchoolConnection(latestSchoolId).subscribe(response => {\r\n this.router.navigate([\"/schools\", latestSchoolId]);\r\n });\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { UnassignedProductLicenseSummary, SchoolClass as SchoolClass } from '../../shared/models/shared.models';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { EditUnassignedLicenseDialog } from '../../shared/dialogs/handle-unassigned-license-dialog/handle-unassigned-license-dialog.component';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { LicenseService } from '../../shared/services/license.service';\r\nimport { SchoolClassService } from '../../shared/services/schoolclass.service';\r\nimport { DatePipe } from '@angular/common';\r\nimport { MatSnackbarComponent } from '../../shared/components/snackbar/mat-snackbar.component';\r\nimport { HandleAssignedLicenseDialogComponent } from 'src/app/shared/dialogs/handle-assigned-license-dialog/handle-assigned-license-dialog.component';\r\nimport { ProductService } from 'src/app/shared/services/product.service';\r\nimport { UserService } from '../../shared/services/user.service';\r\n\r\n@Component({\r\n selector: 'app-edit-products',\r\n templateUrl: './edit-products.component.html',\r\n styleUrls: ['./edit-products.component.css']\r\n})\r\nexport class EditProductsComponent implements OnInit {\r\n\r\n public schoolId: number;\r\n public activeLicenses: EditLicense[] = [];\r\n public inActiveLicenses: EditLicense[] = [];\r\n public schoolClasses: SchoolClass[] = [];\r\n public unassignedLicenses: UnassignedProductLicenseSummary[] = [];\r\n public isAdmin: boolean = false;\r\n public isPurchaser: boolean = false;\r\n\r\n constructor(\r\n public dialog: MatDialog,\r\n public datepipe: DatePipe,\r\n private licenseService: LicenseService,\r\n private productService: ProductService,\r\n private schoolClassService: SchoolClassService,\r\n private snackbar: MatSnackbarComponent,\r\n private route: ActivatedRoute,\r\n private userService: UserService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.parent.params.subscribe(params => {\r\n this.schoolId = Number(params.schoolId);\r\n this.loadData();\r\n });\r\n\r\n this.userService.getCurrentUser().subscribe(user => {\r\n let schools = user.schools;\r\n\r\n var currentSchool = schools.find(s => s.id == this.schoolId);\r\n\r\n if (currentSchool != undefined) {\r\n this.isAdmin = currentSchool.roles.some(_ => _ === \"SchoolUnitAdmin\");\r\n this.isPurchaser = currentSchool.roles.some(_ => _ === \"Purchaser\");\r\n }\r\n });\r\n }\r\n\r\n connectLicenseChangeClass(license: EditLicense) {\r\n if (license.newSchoolClassId === null || license.newSchoolClassId === undefined || license.newSchoolClassId === 0) {\r\n this.releaseLicenseFromClass(license);\r\n return;\r\n }\r\n this.connectLicense(license);\r\n }\r\n\r\n async connectLicense(license: EditLicense) {\r\n this.productService.getLicenses(license.newSchoolClassId).subscribe(\r\n (data) => {\r\n let licenseData = data.find(\r\n (x) => x.productLicenseId === license.productId\r\n );\r\n if (licenseData && licenseData.endDate < new Date()) {\r\n this.licenseService\r\n .releaseLicenseFromClass(licenseData.licenseId)\r\n .subscribe((data) => {\r\n this.tryConnectLicense(license);\r\n });\r\n } else {\r\n this.tryConnectLicense(license);\r\n }\r\n },\r\n (err) => {\r\n console.log(err);\r\n }\r\n );\r\n \r\n }\r\n\r\n async tryConnectLicense(license: EditLicense) {\r\n this.licenseService\r\n .connectLicense(license.licenseId, license.newSchoolClassId)\r\n .subscribe(\r\n () => {\r\n this.loadData();\r\n },\r\n (err) => {\r\n // 409 == there is already a license connected to this class\r\n if (err.status == 409) {\r\n const dialogRef = this.dialog.open(\r\n HandleAssignedLicenseDialogComponent,\r\n {\r\n panelClass: \"dialog\",\r\n data: {\r\n schoolClassId: license.newSchoolClassId,\r\n productLicenseId: license.productId,\r\n },\r\n }\r\n );\r\n\r\n dialogRef.afterClosed().subscribe((result) => {\r\n if (result) {\r\n this.connectLicense(license)\r\n }\r\n this.loadData();\r\n });\r\n }\r\n }\r\n );\r\n }\r\n\r\n\r\n\r\n releaseLicenseFromClass(license: EditLicense) {\r\n this.licenseService.releaseLicenseFromClass(license.licenseId).subscribe(() => {\r\n this.loadData();\r\n });\r\n }\r\n\r\n releaseLicenseFromTeacher(license: EditLicense) {\r\n this.licenseService.releaseLicenseFromTeacher(license.licenseId).subscribe(() => {\r\n this.loadData();\r\n });\r\n }\r\n\r\n getSchoolClassName(schoolClassId: number) {\r\n const schoolClass = this.schoolClasses.find(c => c.id === schoolClassId);\r\n if (schoolClass) {\r\n return schoolClass.name;\r\n }\r\n else { return '' }\r\n }\r\n\r\n getGiltighetstid(license: EditLicense) {\r\n return license.startDate ?\r\n this.datepipe.transform(license.startDate, \"yyyy-MM-dd\") + ' - ' + this.datepipe.transform(license.endDate, \"yyyy-MM-dd\")\r\n : \"- - -\";\r\n }\r\n\r\n public selectClass(license: EditLicense, value: number) {\r\n license.newSchoolClassId = +value;\r\n license.changed = true;\r\n }\r\n\r\n public assignLicense(license: EditLicense) {\r\n const dialogRef = this.dialog.open(EditUnassignedLicenseDialog, {\r\n panelClass: 'dialog',\r\n data: {\r\n productId: license.productId,\r\n schoolId: this.schoolId\r\n }\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(result => {\r\n this.loadData();\r\n })\r\n }\r\n\r\n private getUnassignedLicenses() {\r\n this.licenseService.getUnassaignedLicenses(this.schoolId).subscribe(data => {\r\n this.unassignedLicenses = data;\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n private getActiveProducts() {\r\n this.licenseService.getActiveLicenses(this.schoolId).subscribe(data => {\r\n this.activeLicenses = data;\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n private getInActiveProducts() {\r\n this.licenseService.getInactiveLicenses(this.schoolId).subscribe(data => {\r\n this.inActiveLicenses = data;\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n private getSchoolClasses() {\r\n this.schoolClassService.getSchoolClasses(this.schoolId).subscribe(data => {\r\n this.schoolClasses = data;\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n private loadData() {\r\n this.getSchoolClasses();\r\n this.getActiveProducts();\r\n this.getInActiveProducts();\r\n this.getUnassignedLicenses();\r\n }\r\n}\r\n\r\nexport interface EditLicense {\r\n licenseId: number;\r\n productName: string;\r\n productId: number;\r\n startDate?: Date;\r\n endDate?: Date;\r\n schoolClassId: number;\r\n newSchoolClassId: number;\r\n changed: boolean;\r\n}\r\n\r\n","\r\n
\r\n

Mina licenser

\r\n

Aktiverade licenser

\r\n
\r\n
Licens
\r\n
Klass
\r\n
\r\n
Giltighetstid
\r\n
\r\n
\r\n
Inga licenser
\r\n
\r\n
\r\n
{{license.productName}}
\r\n
\r\n\r\n \r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n {{getGiltighetstid(license)}}\r\n
\r\n
\r\n

Ej aktiverade licenser

\r\n

\r\n För att aktivera en licens, välj klass och klicka på spara. Licensen gäller 12 månader från aktiveringsdatum.\r\n

\r\n
\r\n
Licens
\r\n
Klass
\r\n
\r\n
Giltighetstid
\r\n
\r\n
\r\n
Inga licenser
\r\n
\r\n
\r\n
{{license.productName}}
\r\n
\r\n \r\n \r\n
\r\n
\r\n
{{getGiltighetstid(license)}}
\r\n
\r\n

Skolans lediga licenser

\r\n

\r\n Skolans beställda licenser som ännu ej är tilldelade en användare. Här kan du tilldela dig själv licenser.\r\n
För att tilldela en annan lärare en licens gör du det under fliken Order.
\r\n

\r\n
\r\n
Licens
\r\n
Antal
\r\n
\r\n
\r\n
\r\n
Inga licenser
\r\n
\r\n
\r\n
{{license.productName}}
\r\n
{{license.quantity}}
\r\n
\r\n\r\n
\r\n
\r\n\r\n","import { Component, OnInit, HostListener } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { AuthService } from '../../shared/authentication/auth.service';\r\nimport { AssignToNewTeacherDialog } from '../../shared/dialogs/assign-to-new-teacher-dialog/assign-to-new-teacher-dialog.component';\r\nimport { UserSchool } from '../../shared/models/shared.models';\r\nimport { ConfigService } from '../../shared/services/config.service';\r\nimport { LocalStorageService } from '../../shared/services/localstorage.service';\r\nimport { UserService } from '../../shared/services/user.service';\r\nimport { MatDialog } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'school-nav-menu',\r\n templateUrl: './school-nav-menu.component.html',\r\n styleUrls: ['./school-nav-menu.component.css']\r\n})\r\nexport class SchoolNavMenuComponent implements OnInit {\r\n\r\n isExpanded = false;\r\n isOpen = false;\r\n isOpenSchool = false;\r\n displayName: string;\r\n schoolId: number;\r\n\r\n public schools: UserSchool[];\r\n public currentSchoolName: string;\r\n public isAdmin: boolean = false;\r\n public isPurchaser: boolean = false;\r\n public isMajemaAdmin: boolean = false;\r\n public adminSiteUrl: string;\r\n\r\n constructor(\r\n private authService: AuthService,\r\n private userService: UserService,\r\n private localStorageService: LocalStorageService,\r\n private configService: ConfigService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n public dialogRef: MatDialog) { }\r\n\r\n ngOnInit() {\r\n this.isMajemaAdmin = this.authService.checkIfUserIsMajemaAdmin;\r\n this.adminSiteUrl = this.configService.authSettings.adminSiteUrl;\r\n\r\n this.route.params.subscribe(params => {\r\n this.schoolId = Number(params.schoolId);\r\n this.userService.getCurrentUser().subscribe(user => {\r\n this.displayName = user.displayName;\r\n this.schools = user.schools;\r\n\r\n var currentSchool = this.schools.find(s => s.id == this.schoolId);\r\n\r\n if (currentSchool != undefined) {\r\n this.isAdmin = currentSchool.roles.some(_ => _ === \"SchoolUnitAdmin\");\r\n this.isPurchaser = currentSchool.roles.some(_ => _ === \"Purchaser\");\r\n this.currentSchoolName = currentSchool.name;\r\n }\r\n });\r\n })\r\n }\r\n\r\n public setCurrentSchool(schoolId: number) {\r\n if (schoolId != this.schoolId) {\r\n this.localStorageService.setLatestSchoolId(schoolId);\r\n this.router.navigate([\"/schools\", schoolId]);\r\n }\r\n this.toggleSchoolDropdown();\r\n }\r\n\r\n logOut() {\r\n this.authService.signout();\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n toggleDropdown() {\r\n this.isOpen = !this.isOpen;\r\n }\r\n\r\n toggleSchoolDropdown() {\r\n this.isOpenSchool = !this.isOpenSchool;\r\n }\r\n\r\n openAdminSite() {\r\n window.open(this.adminSiteUrl, \"_admin\");\r\n }\r\n\r\n openAddNewUser() {\r\n const dialogRef = this.dialogRef.open(AssignToNewTeacherDialog, {\r\n panelClass: \"dialog\",\r\n data: {\r\n schoolId: this.schoolId\r\n }\r\n });\r\n }\r\n\r\n @HostListener('document:click', ['$event']) onDocumentClick(event) {\r\n this.isOpen = false;\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { OrderLicenseDialog } from 'src/app/shared/dialogs/order-license-dialog/order-license-dialog.component';\r\nimport { OrderRow, ProductLicenseSummary, School } from 'src/app/shared/models/shared.models';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { OrderService } from '../../shared/services/order.service';\r\nimport { LicenseService } from '../../shared/services/license.service';\r\nimport { SchoolService } from '../../shared/services/school.service';\r\n\r\n@Component({\r\n selector: 'app-orders',\r\n templateUrl: './orders.component.html',\r\n styleUrls: ['./orders.component.css']\r\n})\r\nexport class OrdersComponent implements OnInit {\r\n\r\n public schoolId: number;\r\n public orderRows: OrderRow[];\r\n public licenseSummaries: ProductLicenseSummary[];\r\n public school: School;\r\n\r\n constructor(\r\n private orderService: OrderService,\r\n private licenseService: LicenseService,\r\n private schoolService: SchoolService,\r\n public dialog: MatDialog,\r\n private route: ActivatedRoute\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.parent.params.subscribe(params => {\r\n if (this.schoolId == undefined) {\r\n this.schoolId = Number(params.schoolId);\r\n this.loadOrderRows();\r\n this.loadLicenses();\r\n this.loadSchool();\r\n } \r\n });\r\n }\r\n\r\n private loadSchool() {\r\n this.schoolService.getSchool(this.schoolId).subscribe(data => {\r\n this.school = data;\r\n }), err => {\r\n console.log(err);\r\n };\r\n }\r\n\r\n private loadOrderRows() {\r\n this.orderService.getOrderRows(this.schoolId).subscribe(data => {\r\n this.orderRows = data;\r\n }), err => {\r\n console.log(err);\r\n };\r\n }\r\n\r\n private loadLicenses() {\r\n this.licenseService.getProductLicensesSummary(this.schoolId).subscribe(data => {\r\n this.licenseSummaries = data;\r\n }), err => {\r\n console.log(err);\r\n };\r\n }\r\n\r\n manageLicensesForOrderrow(orderRowId: number) {\r\n const dialogRef = this.dialog.open(OrderLicenseDialog, {\r\n panelClass: \"dialog-big\",\r\n data: {\r\n orderRowId: orderRowId,\r\n schoolId: this.schoolId,\r\n },\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n this.loadOrderRows();\r\n this.loadLicenses();\r\n })\r\n }\r\n\r\n manageLicensesForProduct(productId: number) {\r\n const dialogRef = this.dialog.open(OrderLicenseDialog, {\r\n panelClass: \"dialog-big\",\r\n data: {\r\n productId: productId,\r\n schoolId: this.schoolId,\r\n },\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n this.loadOrderRows();\r\n this.loadLicenses();\r\n })\r\n }\r\n}\r\n","\r\n
\r\n\r\n
\r\n

Skola: {{school.name}} ({{school.schoolUnitCode}})

\r\n
\r\n
\r\n

Här kan du se vilka lärare som är kopplade till en licens samt tilldela en licens till en lärare på din skola.
Du kan också koppla ifrån läromedel samt bjuda in nya användare.

\r\n
\r\n
\r\n

Licenser

\r\n
\r\n
Licens
\r\n
Utdelade
\r\n
Ej utdelade
\r\n
Ej Aktiverade
\r\n
Licenshantering
\r\n
\r\n
\r\n
{{license.productName}}
\r\n \r\n
{{license.totalQuantity - license.assignedQuantity}}
\r\n
{{license.totalQuantity - license.activatedQuantity}}
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n

Order

\r\n
\r\n
OrderNr
\r\n
Beställare
\r\n
Licens
\r\n
Antal
\r\n
Levererad
\r\n
\r\n\r\n
\r\n
{{orderRow.orderNumber}}
\r\n
{{orderRow.purchaser}}
\r\n
{{orderRow.productName}}
\r\n
\r\n {{orderRow.quantity}}\r\n
{{orderRow.quantity}}
\r\n
\r\n
\r\n
{{orderRow.delivered | date: 'yyyy-MM-dd'}}
\r\n
{{orderRow.expectedDelivery | date: 'yyyy-MM-dd'}} (förväntad leverans)
\r\n
okänt leveransdatum
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n","import { Component, OnInit, HostListener } from '@angular/core';\r\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { SchoolClass } from '../../shared/models/shared.models';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { MessageDialog } from '../../shared/dialogs/message-dialog/message-dialog.component';\r\nimport { CreateSchoolClassDialog } from '../../shared/dialogs/create-school-class-dialog/create-school-class-dialog.component';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { License, ProductService } from '../../shared/services/product.service';\r\nimport { SchoolClassService } from '../../shared/services/schoolclass.service';\r\nimport { ApiService } from '../../shared/services/api.service';\r\nimport { MatSnackbarComponent } from '../../shared/components/snackbar/mat-snackbar.component';\r\n\r\n@Component({\r\n selector: 'app-products',\r\n templateUrl: './products.component.html',\r\n styleUrls: ['./products.component.css']\r\n})\r\nexport class ProductsComponent implements OnInit {\r\n\r\n public schoolId: number;\r\n public schoolClassesArray: SchoolClass[];\r\n public selectedSchoolClass: SchoolClass;\r\n public isEditingSelectedSchoolClass = false;\r\n public addNewSchoolClassForm: FormGroup;\r\n public newSchoolClass: SchoolClass;\r\n public activeTabSchoolClass: SchoolClass;\r\n public licenses: License[];\r\n public showNoSchoolClassesInfo: boolean = false;\r\n public showNoLicensesInfo: boolean = false;\r\n public apiUrl: string = \"\";\r\n private time: number = 0;\r\n\r\n public selectedSchoolClassForm = new FormGroup({\r\n selectedSchoolClassName: new FormControl('', Validators.minLength(1))\r\n });\r\n\r\n constructor(\r\n private schoolClassservice: SchoolClassService,\r\n private productService: ProductService,\r\n private snackbar: MatSnackbarComponent,\r\n public dialog: MatDialog,\r\n private route: ActivatedRoute,\r\n private apiService: ApiService,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.time = (new Date()).getTime();\r\n\r\n this.route.parent.params.subscribe(params => {\r\n this.schoolId = Number(params.schoolId);\r\n this.apiUrl = this.apiService.getApiUrl();\r\n this.loadSchoolClasses(this.schoolId);\r\n this.resetNewSchoolClassForm();\r\n });\r\n }\r\n\r\n private loadSchoolClasses(schoolId: number, schoolClassId?: number) {\r\n this.schoolClassservice.getSchoolClasses(schoolId).subscribe(data => {\r\n this.schoolClassesArray = data;\r\n this.schoolClassesArray.sort((a, b) => (a.name > b.name ? 1 : -1));\r\n if (this.schoolClassesArray.length > 0) {\r\n schoolClassId = schoolClassId ? schoolClassId : this.schoolClassesArray[0].id;\r\n this.selectSchoolClass(schoolClassId);\r\n } else {\r\n this.showNoLicensesInfo = false;\r\n this.licenses = null;\r\n }\r\n this.showNoSchoolClassesInfo = this.schoolClassesArray.length == 0;\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n selectSchoolClass(schoolClassId: number) {\r\n let tempSchoolClass = this.schoolClassesArray.find(c => c.id === schoolClassId);\r\n if (!tempSchoolClass) {\r\n return;\r\n }\r\n this.selectedSchoolClass = tempSchoolClass;\r\n this.getLicenses(schoolClassId);\r\n this.selectedSchoolClassForm.patchValue({\r\n selectedSchoolClassName: this.selectedSchoolClass.name,\r\n });\r\n this.selectedSchoolClassForm.markAsPristine();\r\n }\r\n\r\n getLicenses(schoolClassId: number) {\r\n this.productService.getLicenses(schoolClassId)\r\n .subscribe(data => {\r\n this.licenses = data;\r\n this.selectedSchoolClass.licenses = data;\r\n this.selectedSchoolClass.licenses = this.sortLicenses();\r\n this.showNoLicensesInfo = this.licenses.length == 0;\r\n })\r\n }\r\n\r\n sortLicenses(){\r\n return this.selectedSchoolClass.licenses.sort((a, b) => {\r\n const today = new Date();\r\n const aEndDate = new Date(a.endDate);\r\n const bEndDate = new Date(b.endDate);\r\n\r\n if (aEndDate < today && bEndDate >= today) {\r\n return 1;\r\n } else if (bEndDate < today && aEndDate >= today) {\r\n return -1;\r\n } else {\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n updateSelectedSchoolClass() {\r\n this.selectedSchoolClass.name = this.selectedSchoolClassForm.get('selectedSchoolClassName').value;\r\n this.schoolClassservice.updateSchoolClass(this.selectedSchoolClass).subscribe(response => {\r\n this.loadSchoolClasses(this.schoolId, this.selectedSchoolClass.id);\r\n this.isEditingSelectedSchoolClass = false;\r\n });\r\n }\r\n\r\n cancelEditSchoolClass() {\r\n this.selectedSchoolClassForm.patchValue({\r\n selectedSchoolClassName: this.selectedSchoolClass.name\r\n });\r\n this.selectedSchoolClassForm.markAsPristine();\r\n }\r\n\r\n showCreateSchoolClassDialog() {\r\n const dialogRef = this.dialog.open(CreateSchoolClassDialog, {\r\n panelClass: \"dialog\",\r\n data: {\r\n schoolId: this.schoolId,\r\n },\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n if (result != undefined) {\r\n this.loadSchoolClasses(this.schoolId, result);\r\n }\r\n });\r\n }\r\n\r\n getSalt() {\r\n return this.time;\r\n }\r\n\r\n removeSchoolClass(schoolclassid: number) {\r\n const dialogRef = this.dialog.open(MessageDialog, {\r\n panelClass: \"dialog-small\",\r\n data: {\r\n header: \"Borttag av klass\",\r\n text: \"Alla kopplade licenser kommer kopplas loss från vald klass!
Licenserna kommer ligga kvar under 'Hantera licenser - Aktiverade licenser', då utan koppling till någon klass.\",\r\n },\r\n });\r\n dialogRef.afterClosed().subscribe(dialogresult => {\r\n if (dialogresult == true) {\r\n this.schoolClassservice.removeSchoolClass(schoolclassid).subscribe(response => {\r\n this.loadSchoolClasses(this.schoolId, null);\r\n this.isEditingSelectedSchoolClass = false;\r\n }, err => {\r\n //this.toastr.error(err.error.title + \"
\" + err.message, 'Error!');\r\n this.snackbar.error(err.error.title + \"
\" + err.message, 'Ok');\r\n });\r\n }\r\n });\r\n }\r\n\r\n resetNewSchoolClassForm() {\r\n this.addNewSchoolClassForm = new FormGroup({\r\n newSchoolClassName: new FormControl('', [\r\n Validators.minLength(1),\r\n Validators.required\r\n ])\r\n });\r\n this.newSchoolClass = null;\r\n }\r\n\r\n getDaysLeft(endDate: Date) {\r\n const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds\r\n const expirationDate = new Date(endDate);\r\n const today = new Date();\r\n return Math.round(((expirationDate.getTime() - today.getTime()) / oneDay));\r\n }\r\n\r\n isProudctExpired(endDate: Date) {\r\n const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds\r\n const expirationDate = new Date(endDate);\r\n const today = new Date();\r\n return Math.round(((expirationDate.getTime() - today.getTime()) / oneDay)) <= 0;\r\n }\r\n\r\n editSelectedScoolClass() {\r\n this.isEditingSelectedSchoolClass = !this.isEditingSelectedSchoolClass;\r\n }\r\n\r\n showEditSchoolClassName(schoolClassId: number) {\r\n return this.isEditingSelectedSchoolClass && schoolClassId === this.selectedSchoolClass.id;\r\n }\r\n\r\n @HostListener('document:keyup', ['$event'])\r\n handleKeyboardEvent(event: KeyboardEvent) {\r\n if (event.key.trim().toLowerCase() !== 'enter') {\r\n return;\r\n }\r\n\r\n if (this.editSelectedScoolClass) {\r\n this.updateSelectedSchoolClass()\r\n }\r\n }\r\n}\r\n\r\nexport interface NewSchoolClass {\r\n name: string;\r\n schoolId: number;\r\n userId: string;\r\n}\r\n\r\nexport interface SchoolYear {\r\n name: string;\r\n value: number;\r\n}\r\n","
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{showEditSchoolClassName(schoolClass.id) ? \"\" : schoolClass.name}}\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Du har ingen klass. För att namnge och skapa din första klass, klicka på knappen Skapa klass ovan.\r\n
\r\n
\r\n Klassen har inga läromedel. Gå till Hantera licenser för att tilldela en licens till klassen.\r\n
\r\n \r\n

Giltig: {{getDaysLeft(license.endDate)}} dagar kvar

\r\n\r\n \r\n \r\n

Läs mer och förnya ditt abonnemang här

\r\n Lärarwebb\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n templateUrl: './school-context.component.html',\r\n styleUrls: ['./school-context.component.css']\r\n})\r\nexport class SchoolContextComponent implements OnInit {\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n // Nothing here...\r\n }\r\n}\r\n","\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Role, School, SchoolUser } from '../../shared/models/shared.models';\r\nimport { AssignToNewTeacherDialog } from '../../shared/dialogs/assign-to-new-teacher-dialog/assign-to-new-teacher-dialog.component';\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { UserService } from '../../shared/services/user.service';\r\nimport { RoleService } from '../../shared/services/role.service';\r\nimport { SchoolService } from '../../shared/services/school.service';\r\nimport { RemoveUserFromSchoolDialog } from '../../shared/dialogs/remove-user-from-school/remove-user-from-school.component';\r\nimport { MatSnackbarComponent } from '../../shared/components/snackbar/mat-snackbar.component';\r\n\r\n@Component({\r\n selector: 'app-users',\r\n templateUrl: './users.component.html',\r\n styleUrls: ['./users.component.scss']\r\n})\r\nexport class UsersComponent implements OnInit {\r\n\r\n public schoolId: number;\r\n public users: SchoolUser[];\r\n public school: School;\r\n public isDirty: boolean = false;\r\n\r\n constructor(\r\n private userService: UserService,\r\n private snackbar: MatSnackbarComponent,\r\n private roleService: RoleService,\r\n private schoolService: SchoolService,\r\n public dialog: MatDialog,\r\n private route: ActivatedRoute\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.parent.params.subscribe(params => {\r\n this.schoolId = Number(params.schoolId);\r\n this.loadSchool();\r\n this.loadUsers();\r\n });\r\n }\r\n\r\n private loadUsers() {\r\n this.userService.getUsersBySchoolId(this.schoolId).subscribe(data => {\r\n this.users = data;\r\n }), err => {\r\n console.log(err);\r\n };\r\n }\r\n\r\n private loadSchool() {\r\n this.schoolService.getSchool(this.schoolId).subscribe(data => {\r\n this.school = data;\r\n }),\r\n err => {\r\n console.log(err);\r\n };\r\n }\r\n\r\n public JoinRoles(roles: Role[]) {\r\n var translatedRoles = [];\r\n roles.forEach(function (role) {\r\n if (role.name == \"Teacher\") {\r\n translatedRoles.push(\"Lärare\");\r\n } else if (role.name == \"Purchaser\") {\r\n translatedRoles.push(\"Beställare\");\r\n } else if (role.name == \"SchoolUnitAdmin\") {\r\n translatedRoles.push(\"Administratör\");\r\n } else {\r\n translatedRoles.push(role);\r\n }\r\n });\r\n return translatedRoles.map(r => r).join(\", \");\r\n }\r\n\r\n public ValidateCheckboxRules(evt: Event, user: SchoolUser) {\r\n this.setDirty();\r\n //if only one checkbox is checked, we will not uncheck the last one. \r\n if (this.users.filter(u => u.isAdmin == true).length == 1 && user.isAdmin) {\r\n evt.preventDefault();\r\n user.isAdmin = true;\r\n // this.toastr.warning(\"Det måste finnas minst en administratör på din skola\", 'Varning!');\r\n this.snackbar.warning(\r\n \"Det måste finnas minst en administratör på din skola\",\r\n \"Ok\"\r\n );\r\n }\r\n }\r\n\r\n public SaveAdminRole() {\r\n this.users.forEach(async (user) => {\r\n if (user.isAdmin) {\r\n user = this.AddAdminRole(user);\r\n }\r\n else {\r\n user = this.RemoveAdminRole(user);\r\n }\r\n });;\r\n\r\n this.roleService.saveAdminRole(this.schoolId, this.users)\r\n .subscribe((data: SchoolUser[]) => {\r\n this.users = data;\r\n },\r\n error => { \r\n // this.toastr.error(\"Det uppstod ett fel vid spara administratörer.

\" + error.message + \"\", 'Fel vid spara!');\r\n this.snackbar.error(\"Det uppstod ett fel vid spara administratörer.

\" + error.message + \"\", 'Ok');\r\n })\r\n }\r\n\r\n public addNewTeacher() {\r\n const dialogRef = this.dialog.open(AssignToNewTeacherDialog, {\r\n panelClass: \"dialog\",\r\n data: {\r\n schoolId: this.schoolId\r\n }\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(result => {\r\n this.loadUsers();\r\n })\r\n }\r\n\r\n public RemoveUser(user: SchoolUser) {\r\n const dialogRef = this.dialog.open(RemoveUserFromSchoolDialog, {\r\n panelClass: \"dialog\",\r\n data: {\r\n user: user,\r\n schoolId: this.schoolId\r\n }\r\n });\r\n\r\n dialogRef.afterClosed().subscribe(result => {\r\n this.loadUsers();\r\n })\r\n }\r\n\r\n\r\n private setDirty() {\r\n this.isDirty = true;\r\n }\r\n\r\n private AddAdminRole(user: SchoolUser) {\r\n var missadminrole = user.roles.find(r => r.name == \"SchoolUnitAdmin\") == undefined;\r\n if (missadminrole) {\r\n const admrole: Role = { id: \"0\", name: \"SchoolUnitAdmin\" };\r\n user.roles.push(admrole);\r\n }\r\n return user;\r\n }\r\n\r\n private RemoveAdminRole(user: SchoolUser) {\r\n var roleindex = user.roles.findIndex(r => r.name == \"SchoolUnitAdmin\");\r\n if (roleindex != -1) {\r\n user.roles.splice(roleindex, 1);\r\n }\r\n return user;\r\n }\r\n}\r\n","\r\n
\r\n\r\n
\r\n

Skola: {{school.name}} ({{school.schoolUnitCode}})

\r\n
\r\n
\r\n

Användare

\r\n
\r\n
Namn
\r\n
E-post
\r\n
Roller
\r\n
Administratör
\r\n
\r\n
\r\n
\r\n
{{user.name}}
\r\n
{{user.email}}
\r\n
{{JoinRoles(user.roles)}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor, HttpErrorResponse } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { tap } from 'rxjs/operators';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable()\r\nexport class AuthInterceptor implements HttpInterceptor {\r\n\r\n constructor(private router: Router) { }\r\n\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n\r\n return next.handle(request).pipe(tap(() => { }, (err: any) => {\r\n if (err instanceof HttpErrorResponse) {\r\n if (err.status === 0) {\r\n var url = \"/error\";\r\n this.router.navigateByUrl(url);\r\n }\r\n if (err.status === 401) {\r\n var url = \"/session-expired\";\r\n this.router.navigateByUrl(url);\r\n }\r\n return;\r\n }\r\n }));\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\nimport { Location } from '@angular/common';\r\nimport { AuthService, AuthStatus } from './auth.service';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AuthGuard {\r\n\r\n constructor(private authService: AuthService, private location: Location) { }\r\n\r\n async canActivate(): Promise {\r\n var authStatus = await this.authService.getAuthStatus();\r\n if (authStatus == AuthStatus.Authenticated) {\r\n if (!this.authService.hasAuthorityToAccess) {\r\n this.authService.signout();\r\n }\r\n else {\r\n return true;\r\n }\r\n } else {\r\n sessionStorage.setItem(\"__plru\", this.location.path());\r\n this.authService.login();\r\n }\r\n }\r\n\r\n \r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { UserManager, User, Profile } from 'oidc-client';\r\nimport { ConfigService } from '../services/config.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthService {\r\n\r\n private userManager: UserManager;\r\n private user: User | null;\r\n\r\n constructor(private configService: ConfigService) {\r\n\r\n const authSettings = this.configService.authSettings;\r\n\r\n this.userManager = new UserManager({\r\n authority: authSettings.authority,\r\n client_id: authSettings.clientId,\r\n response_type: 'code',\r\n scope: authSettings.scope,\r\n redirect_uri: authSettings.redirectUri,\r\n post_logout_redirect_uri: authSettings.postLogoutRedirectUri,\r\n clockSkew: authSettings.clockSkew\r\n });\r\n\r\n this.userManager.getUser().then(user => {\r\n this.user = user;\r\n });\r\n }\r\n\r\n login() {\r\n return this.userManager.signinRedirect();\r\n }\r\n\r\n async signout() {\r\n await this.userManager.signoutRedirect();\r\n }\r\n\r\n async completeAuthentication() {\r\n this.user = await this.userManager.signinRedirectCallback();\r\n }\r\n\r\n async getAuthStatus(): Promise {\r\n if (this.user == null) {\r\n var user = await this.userManager.getUser();\r\n this.user = user;\r\n }\r\n return (this.user != null && !this.user.expired) ? AuthStatus.Authenticated : AuthStatus.NotAuthenticated\r\n }\r\n\r\n get userId(): string {\r\n return this.user != null ? this.user.profile.sub : \"\"\r\n }\r\n\r\n get userProfile(): UserProfile {\r\n return this.user !== null ? this.user.profile as UserProfile : null;\r\n }\r\n\r\n async GetCurrentUser(): Promise {\r\n return await this.userManager.getUser();\r\n }\r\n\r\n get checkIfUserIsMajemaAdmin(): boolean {\r\n return this.checkIfUserIsHasRole(\"MajemaAdmin\");\r\n }\r\n\r\n get checkIfUserIsTeacher(): boolean {\r\n return this.checkIfUserIsHasRole(\"Teacher\");\r\n }\r\n\r\n get hasAuthorityToAccess(): boolean {\r\n return (this.checkIfUserIsTeacher || this.checkIfUserIsMajemaAdmin);\r\n }\r\n\r\n private checkIfUserIsHasRole(role: string): boolean {\r\n let roles = this.userProfile.role;\r\n if (Array.isArray(roles) && roles.some(_ => _ === role)) {\r\n return true;\r\n } else {\r\n return roles === role\r\n }\r\n }\r\n}\r\n\r\nexport interface CustomProfileClaims {\r\n customerNumber: string;\r\n customerName: string;\r\n role: string | string[];\r\n}\r\n\r\nexport type UserProfile = Profile & CustomProfileClaims;\r\n\r\nexport enum AuthStatus {\r\n Authenticating,\r\n Authenticated,\r\n NotAuthenticated\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'footer',\r\n templateUrl: './footer.component.html',\r\n styleUrls: ['./footer.component.css']\r\n})\r\nexport class FooterComponent {\r\n \r\n constructor() { }\r\n}\r\n","
\r\n \r\n
\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'top-border',\r\n templateUrl: './header.component.html',\r\n styleUrls: ['./header.component.css']\r\n})\r\nexport class HeaderComponent {\r\n \r\n constructor() { }\r\n}\r\n","
\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'oldregistration-page',\r\n templateUrl: './oldregistration.component.html',\r\n styleUrls: ['./oldregistration.component.css']\r\n})\r\nexport class OldRegistrationComponent {\r\n \r\n constructor() { }\r\n}\r\n","\r\n
\r\n

Ursäkta oss - den här länken fungerar tyvärr inte längre.

\r\n

\r\n \r\n Vi har genomfört en förändring i vår orderregistrering så er order finns nu endast att tillgå genom vår portal. Vänligen logga in med ditt användarnamn och lösenord här https://digitalt.majema.se.\r\n \r\n

\r\n

\r\n \r\n Har du bekymmer kontakta oss gärna på kundtjänst. 08-7166795 eller via mejl kundtjanst@majema.se\r\n \r\n

\r\n
\r\n\r\n\r\n","import { Component} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'sidebar-oldregistration',\r\n templateUrl: './sidebar-oldregistration.component.html',\r\n styleUrls: ['./sidebar-oldregistration.component.css']\r\n})\r\n\r\nexport class SidebarOldRegistrationComponent {\r\n constructor() { }\r\n\r\n}\r\n","\r\n","import { Component, Input, OnInit, SimpleChanges } from '@angular/core';\r\nimport { SchoolClass, SchoolUser, UserSchool } from '../../models/shared.models';\r\nimport { ProductService } from '../../services/product.service';\r\nimport { SchoolService } from '../../services/school.service';\r\nimport { SchoolClassService } from '../../services/schoolclass.service';\r\nimport { UserService } from '../../services/user.service';\r\n\r\n@Component({\r\n selector: 'sidebar',\r\n templateUrl: './sidebar.component.html',\r\n styleUrls: ['./sidebar.component.css']\r\n})\r\n\r\nexport class SidebarComponent implements OnInit {\r\n @Input() showStudentLogin = false;\r\n @Input() showAdministrators = false;\r\n @Input() showSchools = false;\r\n @Input() schoolClass: SchoolClass;\r\n @Input() schoolId: number;\r\n\r\n public studentLoginExists: boolean = false;\r\n public schools: UserSchool[];\r\n public showschools: boolean = false;\r\n public hasLicenseDemandStudentUser: boolean = false\r\n\r\n constructor(private userService: UserService,\r\n private productService: ProductService,\r\n private schoolService: SchoolService,\r\n private schoolClassService: SchoolClassService) { }\r\n\r\n administrators: SchoolUser[];\r\n\r\n ngOnInit() {\r\n if (this.showAdministrators) {\r\n this.loadAdministrators();\r\n }\r\n if (this.showStudentLogin) {\r\n this.loadStudentLogin();\r\n }\r\n if (this.showSchools) {\r\n this.loadSchools();\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (this.showStudentLogin) {\r\n this.loadStudentLogin();\r\n }\r\n if (this.showAdministrators) {\r\n this.loadAdministrators();\r\n }\r\n }\r\n\r\n loadSchools() {\r\n this.schoolService.listCurrentUserSchools().subscribe(schools => {\r\n this.schools = schools;\r\n }), err => {\r\n console.log(err);\r\n }\r\n }\r\n\r\n async GenerateNewClassLogin() {\r\n this.schoolClassService.generateNewSchoolClassLogin(this.schoolClass.id).subscribe(() => {\r\n window.location.reload();\r\n }),\r\n err => {\r\n console.log(\"Något gick fel vid hämtningen av ny klassinloggning\", err);\r\n }\r\n }\r\n\r\n private loadStudentLogin() {\r\n if (this.schoolClass) {\r\n this.studentLoginExists = this.schoolClass.studentUser != undefined;\r\n }\r\n else {\r\n this.studentLoginExists = false;\r\n }\r\n }\r\n\r\n private loadAdministrators() {\r\n this.userService.getSchoolAdministrators(this.schoolId).subscribe(data => {\r\n this.administrators = data;\r\n }), err => {\r\n console.log(err);\r\n }\r\n }\r\n\r\n public checkIfStudentUserIsRequired() {\r\n let answer: boolean = false;\r\n if (this.schoolClass) {\r\n if (this.schoolClass.licenses) {\r\n if (this.schoolClass.licenses.length > 0) {\r\n answer = this.schoolClass.licenses.some(l => l.hasStudentWeb);\r\n }\r\n }\r\n }\r\n return answer;\r\n }\r\n}\r\n","\r\n","import { Component } from \"@angular/core\";\r\nimport { MatSnackBar } from \"@angular/material/snack-bar\";\r\n\r\n@Component({\r\n selector: \"app-mat-snackbar\",\r\n templateUrl: \"./mat-snackbar.component.html\",\r\n styleUrls: [\"./mat-snackbar.component.css\"],\r\n})\r\nexport class MatSnackbarComponent {\r\n constructor(public snackBar: MatSnackBar) {}\r\n\r\n openSnackBar(message: string, action: string, className: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: \"bottom\",\r\n horizontalPosition: \"end\",\r\n panelClass: [\"snackbar-container\", className],\r\n });\r\n }\r\n\r\n warning(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: \"bottom\",\r\n horizontalPosition: \"end\",\r\n panelClass: [\"snackbar-container\", \"warning\"],\r\n });\r\n }\r\n\r\n error(message: string, action: string) {\r\n this.snackBar.open(message, action, {\r\n duration: 5000,\r\n verticalPosition: \"bottom\",\r\n horizontalPosition: \"end\",\r\n panelClass: [\"snackbar-container\", \"error\"],\r\n });\r\n }\r\n}\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { AbstractControl, FormControl, FormGroup, Validators } from '@angular/forms';\r\nimport { MAT_DIALOG_DATA, MatDialogRef, } from '@angular/material/dialog';\r\nimport { LicenseService } from '../../services/license.service';\r\nimport { TeacherService } from '../../services/teacher.service';\r\n\r\n@Component({\r\n selector: 'app-assign-to-new-teacher-dialog',\r\n templateUrl: './assign-to-new-teacher-dialog.component.html',\r\n styleUrls: ['./assign-to-new-teacher-dialog.component.css']\r\n})\r\nexport class AssignToNewTeacherDialog implements OnInit {\r\n inviteTeacherSuccess: boolean;\r\n connectLicenseSuccess: boolean;\r\n\r\n public licenseId: number;\r\n public matchingemail: boolean = true\r\n\r\n private schoolId: number;\r\n\r\n public inviteNewTeacherForm = new FormGroup({\r\n firstName: new FormControl('', [Validators.minLength(1), Validators.required]),\r\n lastName: new FormControl('', [Validators.minLength(1), Validators.required]),\r\n email: new FormControl('', [Validators.minLength(1), Validators.required, Validators.email]),\r\n confirmemail: new FormControl('', [Validators.minLength(1), Validators.required, Validators.email])\r\n });\r\n \r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: AssignToNewTeacherDialogData,\r\n private teacherService: TeacherService,\r\n private licenseService: LicenseService) {\r\n this.licenseId = data.licenseId;\r\n this.schoolId = data.schoolId;\r\n var emailControl = this.inviteNewTeacherForm.get('email');\r\n var confirmEmailControl = this.inviteNewTeacherForm.get('confirmemail');\r\n var compareValidator = this.createCompareValidator(emailControl, confirmEmailControl);\r\n this.inviteNewTeacherForm.setValidators(compareValidator);\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n onClose() {\r\n this.dialogRef.close();\r\n }\r\n\r\n createCompareValidator(controlOne: AbstractControl, controlTwo: AbstractControl) {\r\n return () => {\r\n if (controlOne.value !== controlTwo.value) {\r\n this.matchingemail = false;\r\n return { match_error: 'Value does not match' };\r\n }\r\n this.matchingemail = true;\r\n return null;\r\n };\r\n }\r\n\r\n inviteNewTeacher() {\r\n var firstName = this.inviteNewTeacherForm.get('firstName').value;\r\n var lastName = this.inviteNewTeacherForm.get('lastName').value;\r\n var email = this.inviteNewTeacherForm.get('email').value;\r\n\r\n this.teacherService.inviteTeacher(firstName, lastName, email, this.schoolId).subscribe(inviteData => {\r\n this.inviteTeacherSuccess = true;\r\n if (this.licenseId) {\r\n this.licenseService.connectLicenseToTeacher(this.licenseId, inviteData.userId).subscribe(data => {\r\n this.connectLicenseSuccess = true;\r\n }, error => {\r\n this.connectLicenseSuccess = false;\r\n });\r\n }\r\n }, err => {\r\n this.inviteTeacherSuccess = false;\r\n console.log(err);\r\n });\r\n }\r\n}\r\n\r\nexport interface AssignToNewTeacherDialogData {\r\n licenseId: number;\r\n schoolId: number;\r\n}\r\n","

Skriv in E-postadressen till läraren du vill bjuda in.

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
epost adresser matchar inte
\r\n
Inbjudan till lärare klar
\r\n
Inbjudan till lärare misslyckades
\r\n
Tilldelning av licens klar
\r\n
Tilldelning av licens misslyckades
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport {\r\n FormControl,\r\n FormGroup,\r\n Validators,\r\n} from \"@angular/forms\";\r\nimport { MAT_DIALOG_DATA, MatDialogRef, } from '@angular/material/dialog';\r\nimport { NewSchoolClass } from '../../../school-context/products/products.component';\r\nimport { AuthService } from '../../authentication/auth.service';\r\nimport { SchoolClassService } from '../../services/schoolclass.service';\r\n\r\n\r\n@Component({\r\n selector: 'create-school-class-dialog',\r\n templateUrl: './create-school-class-dialog.component.html',\r\n styleUrls: ['./create-school-class-dialog.component.css'],\r\n})\r\nexport class CreateSchoolClassDialog implements OnInit {\r\n\r\n private schoolId: number;\r\n\r\n public createSchoolClassForm = new FormGroup({\r\n name: new FormControl('', [Validators.minLength(1), Validators.required]),\r\n });\r\n\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: CreateSchoolClassDialogData,\r\n private schoolClassService: SchoolClassService,\r\n private authService: AuthService) {\r\n this.schoolId = data.schoolId;\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n createSchoolClass() {\r\n const newSchoolClass: NewSchoolClass = {\r\n name: this.createSchoolClassForm.get('name').value,\r\n schoolId: this.schoolId,\r\n userId: this.authService.userId\r\n };\r\n this.schoolClassService.createSchoolClass(newSchoolClass).subscribe(response => {\r\n this.dialogRef.close(response.schoolClassId);\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n}\r\n\r\nexport interface CreateSchoolClassDialogData {\r\n schoolId: number;\r\n}\r\n","

Skapa ny klass

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Inject, OnInit } from \"@angular/core\";\r\nimport { LicenseService } from \"../../services/license.service\";\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from \"@angular/material/dialog\";\r\nimport { DatePipe } from \"@angular/common\";\r\nimport { ProductService } from \"../../services/product.service\";\r\n\r\n@Component({\r\n templateUrl: \"./handle-assigned-license-dialog.component.html\",\r\n styleUrls: [\"./handle-assigned-license-dialog.component.css\"],\r\n})\r\nexport class HandleAssignedLicenseDialogComponent implements OnInit {\r\n public productLicenseId: number;\r\n public schoolClassId: number;\r\n releaseLicenseId: number;\r\n\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: HandleAssignedLicenseDialogComponent,\r\n private licenseService: LicenseService,\r\n private productService: ProductService,\r\n public datepipe: DatePipe\r\n ) {\r\n this.productLicenseId = data.productLicenseId;\r\n this.schoolClassId = data.schoolClassId;\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.productService.getLicenses(this.schoolClassId).subscribe(\r\n (data) => {\r\n let license = data.find(\r\n (x) => x.productLicenseId == this.productLicenseId\r\n );\r\n if (license != null && license != undefined) {\r\n this.releaseLicenseId = license.licenseId;\r\n }\r\n },\r\n\r\n (err) => {\r\n console.log(err);\r\n }\r\n );\r\n \r\n }\r\n\r\n onYesClick(): void {\r\n this.licenseService\r\n .releaseLicenseFromTeacher(this.releaseLicenseId)\r\n .subscribe(\r\n () => {\r\n this.dialogRef.close(true);\r\n },\r\n (err) => {\r\n console.log(err);\r\n }\r\n );\r\n }\r\n\r\n onClose() {\r\n this.dialogRef.close(false);\r\n }\r\n}","
\r\n

Det finns en license som är redan kopplad till den här produkten. Vill du ersätta licensen?

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { OrderLicense, SchoolUser, User } from '../../models/shared.models'\r\nimport { DatePipe } from '@angular/common';\r\nimport { LicenseService } from '../../services/license.service';\r\nimport { TeacherService } from '../../services/teacher.service';\r\nimport { LocalStorageService } from '../../services/localstorage.service';\r\n\r\n\r\n@Component({\r\n templateUrl: './handle-products-license-dialog.component.html',\r\n styleUrls: ['./handle-products-license-dialog.component.css']\r\n})\r\nexport class EditProductsLicenseDialog implements OnInit {\r\n public orderRowId: number;\r\n public productId: number;\r\n public schoolId: number;\r\n public userId: string;\r\n public licenses: OrderLicense[];\r\n public teachers: SchoolUser[];\r\n public header: Header;\r\n private action: string;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: EditProductsLicenseDialogData,\r\n private licenseService: LicenseService,\r\n private teacherService: TeacherService,\r\n public datepipe: DatePipe,\r\n private localstorage: LocalStorageService) {\r\n this.productId = data.productId;\r\n this.userId = data.userId;\r\n this.schoolId = data.schoolId\r\n this.action = data.action\r\n }\r\n\r\n ngOnInit() {\r\n this.loadLicenses();\r\n this.loadTeachers()\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onClose() {\r\n this.dialogRef.close();\r\n }\r\n\r\n private loadTeachers() {\r\n this.teacherService.getTeachersForSchoolID(this.schoolId).subscribe(data => {\r\n this.teachers = data;\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n private loadLicenses() {\r\n if (this.productId && this.userId) {\r\n this.licenseService.geUserProductLicenses(this.productId, this.userId, this.schoolId).subscribe(data => {\r\n this.licenses = data;\r\n this.updateHeader();\r\n }, err => {\r\n console.log(err);\r\n });\r\n return;\r\n }\r\n\r\n if (this.productId) {\r\n this.licenseService.getProductLicenses(this.productId, this.schoolId).subscribe(data => {\r\n this.licenses = data;\r\n this.updateHeader();\r\n }, err => {\r\n console.log(err);\r\n });\r\n return;\r\n }\r\n }\r\n\r\n private updateHeader() {\r\n let orderNumbers = this.licenses.map(l => l.orderId);\r\n orderNumbers = orderNumbers.filter(function (v, i) { return orderNumbers.indexOf(v) === i; })\r\n let products = this.licenses.map(l => l.productName);\r\n products = products.filter(function (v, i) { return products.indexOf(v) === i; })\r\n\r\n this.header = new Header();\r\n this.header.orderrnumbers = orderNumbers.toString()\r\n this.header.productName = products.toString()\r\n }\r\n\r\n public disconnect(license: OrderLicense) {\r\n this.licenseService.releaseLicenseFromTeacher(license.licenseId).subscribe(data => {\r\n this.loadLicenses();\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n public connect(license: OrderLicense) {\r\n if (this.action == \"move\") {\r\n this.licenseService.moveLicenseToTeacher(license.licenseId, license.teacherId).subscribe(data => {\r\n this.loadLicenses();\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n else {\r\n this.licenseService.connectLicenseToTeacher(license.licenseId, license.teacherId).subscribe(data => {\r\n this.loadLicenses();\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n }\r\n\r\n public getTeacherEmail(teacherId: string): string {\r\n const teacher = this.getTeacher(teacherId);\r\n if (teacher) {\r\n return teacher.email;\r\n }\r\n\r\n return 'Ej tilldelad';\r\n }\r\n\r\n private getTeacher(teacherId: string): SchoolUser {\r\n if (!this.teachers) {\r\n return null;\r\n }\r\n return this.teachers.find(t => teacherId && t.id === teacherId);\r\n }\r\n\r\n public selectTeacher(license: OrderLicense, teacherId: string) {\r\n license.teacherId = teacherId;\r\n }\r\n}\r\n\r\nexport interface EditProductsLicenseDialogData {\r\n productId: number;\r\n userId: string;\r\n schoolId: number;\r\n action: string;\r\n}\r\n\r\nexport class Header {\r\n orderrnumbers: string;\r\n productName: string;\r\n}\r\n","
\r\n
\r\n

\r\n Ordernummer: {{header.orderrnumbers}}
\r\n Licens: {{header.productName}}\r\n

\r\n
\r\n
\r\n
E-post
\r\n
Namn
\r\n
Aktiverad
\r\n
Tilldelad
\r\n
Licenshantering
\r\n
\r\n\r\n
\r\n \r\n
\r\n {{getTeacherEmail(license.teacherId)}}\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n {{license.startDate | date: 'yyyy-MM-dd'}}\r\n ---\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.assignDate | date: 'yyyy-MM-dd'}}\r\n ---\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { DatePipe } from '@angular/common';\r\nimport { LicenseService } from '../../services/license.service';\r\nimport { EditLicense } from '../../../school-context/edit-products/edit-products.component';\r\n\r\n@Component({\r\n templateUrl: './handle-unassigned-license-dialog.component.html',\r\n styleUrls: ['./handle-unassigned-license-dialog.component.css']\r\n})\r\nexport class EditUnassignedLicenseDialog implements OnInit {\r\n public productId: number;\r\n public schoolId: number;\r\n public licenses: EditLicense[];\r\n public header: UnassignedHeader;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: EditUnassignedLicenseDialogData,\r\n private licenseService: LicenseService,\r\n public datepipe: DatePipe) {\r\n this.productId = data.productId;\r\n this.schoolId = data.schoolId;\r\n }\r\n\r\n ngOnInit() {\r\n this.getLiceses();\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onClose() {\r\n this.dialogRef.close();\r\n }\r\n\r\n private getLiceses() {\r\n if (this.productId) {\r\n this.licenseService.getUnassaignedProductLicenses(this.productId, this.schoolId).subscribe(data => {\r\n this.licenses = data;\r\n }, err => {\r\n console.log(err);\r\n });\r\n return;\r\n }\r\n }\r\n\r\n public assignLicense(license: EditLicense) {\r\n this.licenseService.connectLicenseToCurrentUser(license.licenseId).subscribe(data => {\r\n this.getLiceses();\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n}\r\n\r\nexport interface EditUnassignedLicenseDialogData {\r\n productId: number;\r\n userId: string;\r\n schoolId: number;\r\n}\r\n\r\nexport class UnassignedHeader {\r\n orderrnumbers: string;\r\n productName: string;\r\n}\r\n","
\r\n
\r\n
Licens
\r\n
Aktiv till
\r\n
Licenshantering
\r\n
\r\n\r\n
\r\n \r\n
{{license.productName}}
\r\n\r\n \r\n
\r\n \r\n {{license.endDate | date: 'yyyy-MM-dd'}}\r\n Ej aktiverad\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Inject } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\n\r\n@Component({\r\n selector: 'app-message-dialog',\r\n templateUrl: './message-dialog.component.html',\r\n styleUrls: ['./message-dialog.component.css']\r\n})\r\nexport class MessageDialog {\r\n\r\n constructor(\r\n public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: MessageDialogData) {\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n}\r\n\r\nexport interface MessageDialogData {\r\n header: string;\r\n text: string;\r\n}\r\n","
\r\n

{{data.header}}

\r\n
\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef, MatDialog } from '@angular/material/dialog';\r\nimport { OrderLicense, SchoolUser, User } from '../../models/shared.models'\r\nimport { DatePipe } from '@angular/common';\r\nimport { AssignToNewTeacherDialog } from '../assign-to-new-teacher-dialog/assign-to-new-teacher-dialog.component';\r\nimport { LicenseService } from '../../services/license.service';\r\nimport { TeacherService } from '../../services/teacher.service';\r\n\r\n@Component({\r\n templateUrl: './order-license-dialog.component.html',\r\n styleUrls: ['./order-license-dialog.component.css']\r\n})\r\nexport class OrderLicenseDialog implements OnInit {\r\n public orderRowId: number;\r\n public productId: number\r\n public schoolId: number;\r\n public userId: string;\r\n public licenses: OrderLicense[];\r\n public teachers: SchoolUser[];\r\n public header: Header;\r\n\r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: OrderLicenseDialogData,\r\n public dialog: MatDialog,\r\n private licenseService: LicenseService,\r\n private teacherService: TeacherService,\r\n public datepipe: DatePipe,) {\r\n this.orderRowId = data.orderRowId;\r\n this.productId = data.productId;\r\n this.schoolId = data.schoolId;\r\n }\r\n\r\n ngOnInit() {\r\n this.loadLicenses();\r\n this.loadTeachers();\r\n }\r\n\r\n onNoClick(): void {\r\n this.dialogRef.close();\r\n }\r\n\r\n onClose() {\r\n this.dialogRef.close();\r\n }\r\n\r\n private loadTeachers() {\r\n this.teacherService.getTeachersForSchoolID(this.schoolId).subscribe(data => {\r\n this.teachers = data;\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n private loadLicenses() {\r\n if (this.orderRowId) {\r\n this.licenseService.getOrderRowLicenses(this.orderRowId).subscribe(data => {\r\n this.licenses = data;\r\n this.updateHeader();\r\n }, err => {\r\n console.log(err);\r\n });\r\n return;\r\n }\r\n\r\n if (this.productId) {\r\n this.licenseService.getProductLicenses(this.productId, this.schoolId).subscribe(data => {\r\n this.licenses = data;\r\n this.updateHeader();\r\n }, err => {\r\n console.log(err);\r\n });\r\n return;\r\n }\r\n }\r\n\r\n private updateHeader() {\r\n let orderNumbers = this.licenses.map(l => l.orderNumber);\r\n orderNumbers = orderNumbers.filter(function (v, i) { return orderNumbers.indexOf(v) === i; })\r\n let products = this.licenses.map(l => l.productName);\r\n products = products.filter(function (v, i) { return products.indexOf(v) === i; })\r\n\r\n this.header = new Header();\r\n this.header.orderrnumbers = orderNumbers.toString()\r\n this.header.productName = products.toString()\r\n }\r\n\r\n public disconnect(license: OrderLicense) {\r\n this.licenseService.releaseLicenseFromTeacher(license.licenseId).subscribe(data => {\r\n this.loadLicenses();\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n public connect(license: OrderLicense) {\r\n this.licenseService.connectLicenseToTeacher(license.licenseId, license.teacherId).subscribe(data => {\r\n this.loadLicenses();\r\n }, err => {\r\n console.log(err);\r\n });\r\n }\r\n\r\n public getTeacherEmail(teacherId: string): string {\r\n const teacher = this.getTeacher(teacherId);\r\n if (teacher) {\r\n return teacher.email;\r\n }\r\n\r\n return 'Ej tilldelad';\r\n }\r\n\r\n private getTeacher(teacherId: string): SchoolUser {\r\n if (!this.teachers) {\r\n return null;\r\n }\r\n return this.teachers.find(t => teacherId && t.id === teacherId);\r\n }\r\n\r\n public selectTeacher(license: OrderLicense, event) {\r\n license.teacherId = event.target.value;\r\n }\r\n\r\n public assignToNewTeacher(licenseId: number) {\r\n const dialogRef = this.dialog.open(AssignToNewTeacherDialog, {\r\n panelClass: \"dialog\",\r\n data: {\r\n licenseId: licenseId,\r\n schoolId: this.schoolId,\r\n },\r\n });\r\n dialogRef.afterClosed().subscribe(result => {\r\n this.loadLicenses();\r\n this.loadTeachers();\r\n })\r\n }\r\n}\r\n\r\nexport interface OrderLicenseDialogData {\r\n orderRowId: number;\r\n productId: number;\r\n schoolId: number;\r\n}\r\n\r\nexport class Header {\r\n orderrnumbers: string;\r\n productName: string;\r\n}\r\n","
\r\n
\r\n

\r\n Ordernummer: {{header.orderrnumbers}}
\r\n Licens: {{header.productName}}\r\n

\r\n
\r\n
\r\n
E-post
\r\n
Namn
\r\n
Aktiverad
\r\n
Tilldelad
\r\n
Licenshantering
\r\n
\r\n\r\n
\r\n \r\n
\r\n {{getTeacherEmail(license.teacherId)}}\r\n
\r\n\r\n \r\n
\r\n \r\n ---\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n {{license.startDate | date: 'yyyy-MM-dd'}}\r\n ---\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.assignDate | date: 'yyyy-MM-dd'}}\r\n ---\r\n
\r\n\r\n \r\n
\r\n \r\n Utgången
{{license.endDate | date: 'yyyy-MM-dd'}}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, Inject } from '@angular/core';\r\nimport { MAT_DIALOG_DATA, MatDialogRef, } from '@angular/material/dialog';\r\nimport { SchoolUser } from '../../models/shared.models';\r\nimport { TeacherService } from '../../services/teacher.service';\r\n\r\n@Component({\r\n selector: 'app-remove-user-from-school',\r\n templateUrl: './remove-user-from-school.component.html',\r\n styleUrls: ['./remove-user-from-school.component.css']\r\n})\r\nexport class RemoveUserFromSchoolDialog {\r\n\r\n public user: SchoolUser;\r\n private schoolId: number;\r\n public removeTeacherSuccess: boolean;\r\n\r\n \r\n constructor(public dialogRef: MatDialogRef,\r\n @Inject(MAT_DIALOG_DATA) public data: RemoveUserFromSchoolDialogData,\r\n private teacherService: TeacherService) {\r\n this.user = data.user;\r\n this.schoolId = data.schoolId;\r\n }\r\n\r\n removeUser() {\r\n this.teacherService.removeUserFromSchool(this.user.id, this.schoolId).subscribe(data => {\r\n this.removeTeacherSuccess = true;\r\n if (!data) {\r\n this.removeTeacherSuccess = false;\r\n }\r\n }, err => {\r\n this.removeTeacherSuccess = false;\r\n console.log(err);\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dialogRef.close();\r\n }\r\n}\r\n\r\nexport interface RemoveUserFromSchoolDialogData {\r\n user: SchoolUser;\r\n schoolId: number;\r\n}\r\n","

Borttag av användare från skola

\r\n
\r\n
\r\n Användare {{user.name}} kommer att tas bort från skolan. Aktiva licenser kommer att kopplas loss från användaren och ligga kvar på skolan, åtkomliga för andra användare att använda.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Användare är borttagen och licenser är tillgängliga för användning av andra lärare
\r\n
Användaren gick inte att ta bort.
\r\n
\r\n
\r\n","import { HttpClient, HttpParams, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { catchError, take, switchMap } from 'rxjs/operators';\r\nimport { User } from 'oidc-client';\r\nimport { from, Observable } from 'rxjs';\r\nimport { Router } from '@angular/router';\r\nimport { AuthService } from '../authentication/auth.service';\r\nimport { ConfigService } from './config.service';\r\nimport { MatDialog } from '@angular/material/dialog';\r\n\r\nexport interface HttpJsonOptions {\r\n body?: any;\r\n headers?: HttpHeaders | {\r\n [header: string]: string | string[];\r\n };\r\n observe?: 'body';\r\n params?: HttpParams | {\r\n [param: string]: string | string[];\r\n };\r\n reportProgress?: boolean;\r\n responseType?: 'json';\r\n withCredentials?: boolean;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ApiService {\r\n constructor(\r\n private http: HttpClient,\r\n private authService: AuthService,\r\n private router: Router,\r\n private configService: ConfigService,\r\n private dialog: MatDialog,) { }\r\n\r\n public getApiUrl() {\r\n return this.configService.ApiURI;\r\n }\r\n\r\n public get(relativeUrl: string, options?: HttpJsonOptions): Observable {\r\n return this.callApi('GET', relativeUrl, options);\r\n }\r\n\r\n public post(relativeUrl: string, data: any = null): Observable { \r\n return this.callApi('POST', relativeUrl, null, data);\r\n }\r\n\r\n public patch(relativeUrl: string, data: any = null): Observable { \r\n return this.callApi('PATCH', relativeUrl, null, data);\r\n }\r\n\r\n\r\n public put(relativeUrl: string, data: any = null): Observable { \r\n return this.callApi('PUT', relativeUrl, null, data);\r\n }\r\n\r\n public delete(relativeUrl: string): Observable {\r\n return this.callApi('DELETE', relativeUrl);\r\n }\r\n\r\n public callApi(method: string, relativeUrl: string, options?: HttpJsonOptions, data: any = null): Observable {\r\n return from(this.authService.GetCurrentUser())\r\n .pipe(\r\n switchMap(user => {\r\n return this.callApiForUser(user, method, relativeUrl, options, data);\r\n })\r\n )\r\n .pipe(take(1));\r\n }\r\n\r\n public callApiForUser(user: User, method: string, relativeUrl: string, options?: HttpJsonOptions, data: any = null): Observable {\r\n const token = this.getToken(user);\r\n var allOptions = { ...options, ...{} };\r\n allOptions.headers = {\r\n ...allOptions.headers, ...{\r\n Authorization: token,\r\n ContentType: 'application/json',\r\n responseType: 'json',\r\n }\r\n };\r\n\r\n if (data) {\r\n allOptions.body = data;\r\n }\r\n\r\n return this.http.request(method, this.fullUri(relativeUrl), allOptions).pipe(\r\n catchError(err => {\r\n if (err.error.ErrorId) {\r\n var url = \"/error?errorId=\" + err.error.ErrorId;\r\n this.router.navigateByUrl(url);\r\n }\r\n throw err;\r\n })\r\n );\r\n }\r\n\r\n private fullUri(relativeUrl: string): string {\r\n relativeUrl = relativeUrl.startsWith('/') ? relativeUrl : `/${relativeUrl}`;\r\n return `${this.configService.ApiURI}${relativeUrl}`;\r\n }\r\n\r\n private getToken(user: User) {\r\n if (user == undefined) {\r\n return \"\";\r\n }\r\n\r\n return `${user.token_type} ${user.access_token}`;\r\n }\r\n}\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\n\r\nexport interface PlatformAuthConfig {\r\n authority: string;\r\n clientId: string;\r\n scope: string;\r\n redirectUri: string;\r\n silentRedirectUri: string;\r\n postLogoutRedirectUri: string;\r\n userIdleTimeInSeconds: string;\r\n countDownUntilLogoutInSeconds: string;\r\n adminSiteUrl: string;\r\n clockSkew: number;\r\n};\r\n\r\ninterface PlatformConfig {\r\n apiBaseUri: string;\r\n authAuthority: string;\r\n authClientId: string;\r\n authScope: string;\r\n authRedirectUri: string;\r\n authSilentRedirectUri: string;\r\n authPostLogoutRedirectUri: string;\r\n userIdleTimeInSeconds: string;\r\n countDownUntilLogoutInSeconds: string;\r\n adminSiteUrl: string;\r\n clockSkew: number;\r\n};\r\n\r\ndeclare var platform: { config: PlatformConfig }\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ConfigService {\r\n\r\n constructor() { }\r\n\r\n get authURI() {\r\n return 'https://localhost:5001';\r\n }\r\n\r\n get ApiURI() {\r\n const config = platform.config;\r\n return config.apiBaseUri;\r\n }\r\n\r\n get authSettings(): PlatformAuthConfig {\r\n const config = platform.config;\r\n\r\n return {\r\n authority: config.authAuthority,\r\n clientId: config.authClientId,\r\n scope: config.authScope,\r\n redirectUri: config.authRedirectUri,\r\n silentRedirectUri: config.authSilentRedirectUri,\r\n postLogoutRedirectUri: config.authPostLogoutRedirectUri,\r\n userIdleTimeInSeconds: config.userIdleTimeInSeconds,\r\n countDownUntilLogoutInSeconds: config.countDownUntilLogoutInSeconds,\r\n adminSiteUrl: config.adminSiteUrl,\r\n clockSkew: (config.clockSkew * 60)\r\n } as PlatformAuthConfig;\r\n }\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { OrderLicense, ProductLicenseSummary, UnassignedProductLicenseSummary } from '../../shared/models/shared.models';\r\nimport { AuthService } from 'src/app/shared/authentication/auth.service';\r\nimport { ApiService } from './api.service';\r\nimport { EditLicense } from '../../school-context/edit-products/edit-products.component';\r\n\r\n@Injectable()\r\nexport class LicenseService {\r\n\r\n private licensesApiUrl = \"/licenses\";\r\n constructor(public apiService: ApiService,\r\n private authService: AuthService) { }\r\n\r\n getUnassaignedLicenses(schoolId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('schoolid', schoolId.toString());\r\n\r\n return this.apiService.get(this.licensesApiUrl + '/unassignedsummary', {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n getUnassaignedProductLicenses(productid: number, schoolId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('schoolId', schoolId.toString());\r\n params = params.append('productId', productid.toString());\r\n\r\n return this.apiService.get(this.licensesApiUrl + '/unassigned', {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n getActiveLicenses(schoolId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('schoolid', schoolId.toString());\r\n params = params.append('userId', this.authService.userId);\r\n params = params.append('active', 'true');\r\n\r\n return this.apiService.get(this.licensesApiUrl, {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n getInactiveLicenses(schoolId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('schoolid', schoolId.toString());\r\n params = params.append('userId', this.authService.userId);\r\n params = params.append('active', 'false');\r\n\r\n return this.apiService.get(this.licensesApiUrl, {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n getOrderRowLicenses(orderRowId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('orderRowId', orderRowId.toString());\r\n return this.apiService.get(this.licensesApiUrl + '/order', {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n })\r\n }\r\n\r\n getProductLicenses(productId: number, schoolid: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('productId', productId.toString());\r\n params = params.append('schoolid', schoolid.toString());\r\n return this.apiService.get(this.licensesApiUrl + '/product', {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n })\r\n }\r\n\r\n geUserProductLicenses(productId: number, userId: string, schoolid: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('productId', productId.toString());\r\n params = params.append('userId', userId);\r\n params = params.append('schoolid', schoolid.toString());\r\n\r\n return this.apiService.get(this.licensesApiUrl + '/product', {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n })\r\n }\r\n\r\n getProductLicensesSummary(schoolId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('schoolid', schoolId.toString());\r\n return this.apiService.get(this.licensesApiUrl + '/summary', {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n connectLicense(licenseId: number, schoolClassId: number): Observable {\r\n return this.apiService.patch(\"licenses/\" + licenseId + \"/school-class/\" + schoolClassId);\r\n }\r\n\r\n connectLicenseToTeacher(licenseId: number, teacherId: string): Observable {\r\n return this.apiService.patch(\"/licenses/\" + licenseId + \"/teacher/\" + teacherId);\r\n }\r\n\r\n moveLicenseToTeacher(licenseId: number, teacherId: string): Observable {\r\n return this.apiService.patch(\"/licenses/move/\" + licenseId + \"/teacher/\" + teacherId);\r\n }\r\n\r\n connectLicenseToCurrentUser(licenseId: number): Observable {\r\n var teacherId = this.authService.userId;\r\n return this.apiService.patch(\"/licenses/\" + licenseId + \"/teacher/\" + teacherId);\r\n }\r\n\r\n releaseLicenseFromClass(licenseId: number): Observable {\r\n return this.apiService.delete(\"/licenses/\" + licenseId + \"/schoolclass\");\r\n }\r\n\r\n releaseLicenseFromTeacher(licenseId: number): Observable {\r\n return this.apiService.delete(\"/licenses/\" + licenseId + \"/teacher\");\r\n }\r\n}\r\n\r\nexport interface ConnectLicenseTeacher {\r\n licenseId: number;\r\n teacherId: string;\r\n}\r\n\r\nexport interface ConnectLicenseCurrentUser {\r\n licenseId: number;\r\n}\r\n\r\nexport interface ConnectLicenseSchoolClass {\r\n licenseId: number;\r\n schoolClassId: number;\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LocalStorageService {\r\n\r\n constructor() { }\r\n\r\n setLatestSchoolId(schoolId: number) {\r\n localStorage.setItem(\"currentschoolid\", schoolId.toString());\r\n }\r\n\r\n getLatestSchoolId(): number {\r\n var latestSchoolId = localStorage.getItem(\"currentschoolid\");\r\n return Number(latestSchoolId);\r\n }\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { OrderRow } from 'src/app/shared/models/shared.models';\r\nimport { ApiService } from './api.service';\r\n\r\n@Injectable()\r\nexport class OrderService {\r\n private readonly orderApiUrl = '/orders';\r\n\r\n constructor(public apiService: ApiService) { }\r\n\r\n getOrderRows(schoolId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('schoolid', schoolId.toString());\r\n return this.apiService.get(this.orderApiUrl, {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n repairOrderSchoolConnection(schoolId: number): Observable {\r\n return this.apiService.post(`${this.orderApiUrl}/updateorderconnection/${schoolId}`);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { ApiService } from './api.service';\r\n\r\n@Injectable()\r\nexport class ProductService {\r\n private readonly licenseApiUrl = '/licenses/';\r\n\r\n\r\n constructor(\r\n public apiService: ApiService\r\n ) { }\r\n\r\n getLicenses(schoolClassId: number): Observable {\r\n return this.apiService.get(this.licenseApiUrl + schoolClassId, {\r\n responseType: 'json',\r\n observe: 'body'\r\n });\r\n }\r\n}\r\n\r\nexport interface License {\r\n licenseId: number;\r\n productLicenseId: number;\r\n endDate: Date;\r\n url: string;\r\n licenseKey: string;\r\n hasStudentWeb: boolean;\r\n requiresStudentUser: boolean;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Role, SchoolUser } from 'src/app/shared/models/shared.models';\r\nimport { AuthService } from 'src/app/shared/authentication/auth.service';\r\nimport { ApiService } from './api.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RoleService {\r\n\r\n constructor(public apiService: ApiService,\r\n private authService: AuthService) { }\r\n\r\n saveAdminRole(scholId: number, users: SchoolUser[]): Observable {\r\n var data = {\r\n users: users\r\n }; \r\n return this.apiService.patch(\"schools/\" + scholId + \"/administrators\", data);\r\n }\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { School, UserSchool } from '../../shared/models/shared.models';\r\nimport { AuthService } from 'src/app/shared/authentication/auth.service';\r\nimport { ApiService } from './api.service';\r\n\r\n@Injectable()\r\nexport class SchoolService {\r\n private readonly schoolApiUrl = '/schools/';\r\n\r\n constructor(\r\n public apiService: ApiService,\r\n private authService: AuthService\r\n ) { }\r\n\r\n getSchool(schoolId: number): Observable {\r\n let params = new HttpParams();\r\n return this.apiService.get(this.schoolApiUrl + schoolId, {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n listCurrentUserSchools(): Observable {\r\n let params = new HttpParams();\r\n var userId = this.authService.userId;\r\n return this.apiService.get(\"users/\" + userId + \"/schools\", {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n getSearchSchools(searchstring: string): Observable {\r\n let params = new HttpParams();\r\n params = params.append('searchstring', searchstring);\r\n return this.apiService.get(this.schoolApiUrl + \"search\", {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n addPrivateSchool(): Observable {\r\n var userId = this.authService.userId;\r\n return this.apiService.post(\"/users/\" + userId + \"/schools\", {\r\n responseType: 'json',\r\n observe: 'body'\r\n });\r\n }\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { SchoolClass, SchoolClassLogin } from 'src/app/shared/models/shared.models';\r\nimport { NewSchoolClass } from '../../school-context/products/products.component';\r\nimport { ApiService } from './api.service';\r\n\r\n@Injectable()\r\nexport class SchoolClassService {\r\n\r\n private readonly schoolClassApiUrl = '/schoolclasses';\r\n\r\n constructor(public apiService: ApiService) { }\r\n\r\n getSchoolClasses(schoolId: number): Observable {\r\n let params = new HttpParams();\r\n params = params.append('schoolid', schoolId.toString());\r\n\r\n return this.apiService.get(this.schoolClassApiUrl, {\r\n responseType: 'json',\r\n observe: 'body',\r\n params: params\r\n });\r\n }\r\n\r\n generateNewSchoolClassLogin(schoolClassId: number): Observable {\r\n return this.apiService.get(`${this.schoolClassApiUrl}/${schoolClassId}/newschoolclasslogin`, {\r\n responseType: 'json',\r\n observe: 'body'\r\n });\r\n }\r\n\r\n updateSchoolClass(selectedSchoolClass: SchoolClass): Observable {\r\n var url = this.schoolClassApiUrl + \"/\" + selectedSchoolClass.id;\r\n return this.apiService.patch(url, selectedSchoolClass)\r\n }\r\n\r\n createSchoolClass(newSchoolClass: NewSchoolClass): Observable {\r\n return this.apiService.post(this.schoolClassApiUrl, newSchoolClass)\r\n }\r\n\r\n removeSchoolClass(schoolClassid: number): Observable {\r\n return this.apiService.delete(this.schoolClassApiUrl + \"/\" + schoolClassid)\r\n }\r\n\r\n repairSchoolClassSchoolConnection(schoolId: number): Observable {\r\n return this.apiService.post(this.schoolClassApiUrl + \"/updateschoolclassconnection/\" + schoolId);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AuthService } from 'src/app/shared/authentication/auth.service';\r\nimport { SchoolUser } from '../../shared/models/shared.models';\r\nimport { ApiService } from './api.service';\r\n\r\n@Injectable()\r\nexport class TeacherService {\r\n constructor(public apiService: ApiService, private authService: AuthService) { }\r\n\r\n getTeachersForSchoolID(schoolId: number): Observable {\r\n var url = \"schools/\" + schoolId + \"/teachers\";\r\n return this.apiService.get(url, {\r\n responseType: 'json',\r\n observe: 'body'\r\n });\r\n }\r\n\r\n inviteTeacher(firstName: string, lastName: string, email: string, schoolId: number): Observable {\r\n const data: InviteTeacher = {\r\n firstName: firstName,\r\n lastName: lastName,\r\n email: email,\r\n schoolId: schoolId\r\n };\r\n var url = \"schools/\" + schoolId + \"/teachers\";\r\n return this.apiService.post(url, data)\r\n }\r\n\r\n removeUserFromSchool(userId: string, schoolId: number): Observable {\r\n const data: RemoveUserFromSchool = {\r\n userId: userId,\r\n schoolId:schoolId\r\n }\r\n\r\n var url = \"schools/\" + schoolId + \"/disconnectuser/\";\r\n return this.apiService.patch(url, data)\r\n }\r\n\r\n}\r\n\r\nexport interface RemoveUserFromSchool {\r\n userId:string;\r\n schoolId: number;\r\n}\r\n\r\nexport interface InviteTeacher {\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n schoolId: number;\r\n}\r\n\r\nexport interface ApplicationUser {\r\n userId: string;\r\n firstName: string;\r\n lastName: string;\r\n name: string;\r\n email: string;\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { SchoolUser, User } from 'src/app/shared/models/shared.models';\r\nimport { AuthService } from 'src/app/shared/authentication/auth.service';\r\nimport { ApiService } from './api.service';\r\n\r\n@Injectable({\r\n providedIn: \"root\",\r\n})\r\nexport class UserService {\r\n private readonly usersApiUrl = \"/users\";\r\n\r\n constructor(\r\n public apiService: ApiService,\r\n private authService: AuthService\r\n ) {}\r\n\r\n getSchoolAdministrators(schoolId: number): Observable {\r\n return this.apiService.get(\r\n \"schools/\" + schoolId + \"/administrators\",\r\n {\r\n responseType: \"json\",\r\n observe: \"body\",\r\n }\r\n );\r\n }\r\n\r\n getUsersBySchoolId(schoolId: number): Observable {\r\n return this.apiService.get(\r\n \"schools/\" + schoolId + \"/teachers\",\r\n {\r\n responseType: \"json\",\r\n observe: \"body\",\r\n }\r\n );\r\n }\r\n\r\n getCurrentUser(): Observable {\r\n var userId = this.authService.userId;\r\n return this.apiService.get(\"users/\" + userId, {\r\n responseType: \"json\",\r\n observe: \"body\",\r\n });\r\n }\r\n\r\n addSchoolToCurrentUser(schoolid: number): Observable {\r\n var userId = this.authService.userId;\r\n return this.apiService.put(\"/users/\" + userId + \"/schools/\" + schoolid);\r\n }\r\n\r\n updateUser(userId: string, firstName: string, lastName: string, email: string ): Observable {\r\n const data: UpdateUser = {\r\n firstName: firstName,\r\n lastName: lastName,\r\n email: email\r\n };\r\n var url = \"/users/\" + userId + \"/update-user\";\r\n return this.apiService.put(url, data);\r\n }\r\n\r\n sendResetPasswordEmail(email: string): Observable {\r\n var userId = this.authService.userId;\r\n return this.apiService.patch(\"/users/\" + userId + \"/\" + email + \"/reset-password-link\");\r\n }\r\n}\r\n\r\nexport interface UpdateUser {\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n}\r\n","// import { MatTableModule } from '@angular/material/table/';\r\nimport { OrderLicenseDialog } from './dialogs/order-license-dialog/order-license-dialog.component';\r\nimport { EditProductsLicenseDialog } from './dialogs/handle-products-license-dialog/handle-products-license-dialog.component';\r\nimport { MatTabsModule } from '@angular/material/tabs';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatGridListModule } from '@angular/material/grid-list';\r\nimport { HeaderComponent } from './components/header/header.component';\r\nimport { FooterComponent } from './components/footer/footer.component';\r\nimport { SidebarComponent } from './components/sidebar/sidebar.component';\r\nimport { AssignToNewTeacherDialog } from './dialogs/assign-to-new-teacher-dialog/assign-to-new-teacher-dialog.component';\r\nimport { EditUnassignedLicenseDialog } from './dialogs/handle-unassigned-license-dialog/handle-unassigned-license-dialog.component';\r\nimport { MessageDialog } from './dialogs/message-dialog/message-dialog.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { CreateSchoolClassDialog } from './dialogs/create-school-class-dialog/create-school-class-dialog.component';\r\nimport { SidebarOldRegistrationComponent } from './components/sidebar-oldregistration/sidebar-oldregistration.component';\r\nimport { RemoveUserFromSchoolDialog } from './dialogs/remove-user-from-school/remove-user-from-school.component';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { NgModule } from '@angular/core';\r\nimport { MatSnackbarComponent } from './components/snackbar/mat-snackbar.component';\r\n\r\nconst MATERIALMODULES = [\r\n MatSelectModule,\r\n ReactiveFormsModule,\r\n // MatTableModule,\r\n MatDialogModule,\r\n MatTabsModule,\r\n MatCardModule,\r\n MatGridListModule,\r\n];\r\n\r\nconst DIALOGS = [\r\n MessageDialog,\r\n RemoveUserFromSchoolDialog\r\n]\r\n\r\n@NgModule({\r\n declarations: [\r\n ...DIALOGS,\r\n OrderLicenseDialog,\r\n EditProductsLicenseDialog,\r\n HeaderComponent,\r\n FooterComponent,\r\n SidebarComponent,\r\n SidebarOldRegistrationComponent,\r\n AssignToNewTeacherDialog,\r\n EditUnassignedLicenseDialog,\r\n CreateSchoolClassDialog,\r\n MatSnackbarComponent,\r\n ],\r\n imports: [CommonModule, RouterModule, ...MATERIALMODULES],\r\n providers: [...DIALOGS, DatePipe, MatSnackbarComponent],\r\n exports: [\r\n ...DIALOGS,\r\n ...MATERIALMODULES,\r\n HeaderComponent,\r\n FooterComponent,\r\n SidebarComponent,\r\n SidebarOldRegistrationComponent,\r\n MatSnackbarComponent,\r\n ],\r\n})\r\nexport class SharedModule {}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { SecurityContext } from '@angular/core';\r\n\r\n@Component({\r\n templateUrl: './error.component.html',\r\n styleUrls: ['./error.component.css']\r\n})\r\nexport class ErrorComponent implements OnInit {\r\n constructor(private route: ActivatedRoute, private sanitizer: DomSanitizer) {\r\n // Nothing here...\r\n }\r\n\r\n errorId: string;\r\n\r\n ngOnInit() {\r\n this.route.queryParams.subscribe(params => {\r\n this.errorId = this.sanitizer.sanitize(SecurityContext.HTML, params.errorId);\r\n }\r\n );\r\n }\r\n}\r\n","\r\n
\r\n

Någonting har gått fel

\r\n

\r\n Du kan försöka att gå till Mina läromedel igen.\r\n

\r\n

\r\n Om felet kvarstår, kontakta supporten och ange {{errorId}} som felkod.\r\n

\r\n

\r\n Vi utför uppdateringar på våra applikationer.
Vi ber om överseende ifall applikationerna inte fungerar som de ska och arbetar på att lösa problemen.\r\n

\r\n

\r\n support@majema.se\r\n
\r\n tel +46 8 716 67 95\r\n

\r\n
\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n templateUrl: './help.component.html',\r\n styleUrls: ['./help.component.css']\r\n})\r\nexport class HelpComponent { }\r\n","\r\n
\r\n

Så här kommer du igång

\r\n

Innan du börjar använda Majemas digitala läromedel behöver du först registrera och aktivera din licens.

\r\n
    \r\n
  1. När beställningen av det digitala läromedlet är slutfört skickas ett bekräftelsemejl till den mejladress som uppgavs vid köpet – var uppmärksam på att det ofta är din skoladministratörs mejladress. I mejlet finns en länk för aktivering av kontot. Om du själv är beställaren och du redan har ett konto sedan tidigare kan du logga in och administrera de nya licenserna direkt.

  2. \r\n
  3. Logga in på https://digitalt.majema.se

  4. \r\n
  5. När du är inloggad börjar du med att gå in på fliken Hantera licenser. Vi har på förhand skapat en klass som heter \"Min klass\" (det går bra att byta namn på klassen).

  6. \r\n
  7. Leta upp din licens under rubriken \"Skolans lediga licenser\". Välj din licens och klicka på tilldela.

  8. \r\n
  9. Nu ligger licensen under rubriken \"Ej aktiverade licenser\". Aktivera licensen genom att välja klass och klicka på knappen Spara. Nu ser du din lärarwebb under fliken \"Min klass\".

  10. \r\n
\r\n

Om den licens du har beställt även har en elevwebb så aktiveras den samtidigt. Inloggningsuppgifter ser du på högra sidan under elevinloggning. De finns även i din lärarwebb.

\r\n

Här hittar du instruktionsfilm och uppstartsfilmer:

\r\n \r\n \r\n

Tips innan du börjar undervisa:

\r\n

Kom igång med ditt nya digitala läromedel genom att titta på våra uppstartsfilmer på Majema Play. Där får du en kort genomgång av det innehåll och funktioner som finns.

\r\n\r\n

Vanliga frågor och svar

\r\n\r\n

Jag/skolan har köpt en licens men ser den inte när jag har loggat in i mitt konto?

\r\n

Titta under fliken Hantera licenser. Under rubriken ”Skolans lediga licenser” finns kanske din licens. Om den inte finns där kontaktar du Majemas kundtjänst.

\r\n\r\n

Jag har blivit inbjuden som lärare till min skola men ej fått en aktiveringslänk.

\r\n

Mejlet kan ha fastnat i ditt skräpfilter, börja med att titta där efter mejl från support@majema.se Det kan också vara så att din mejladress är felstavad. Kontakta Majemas kundtjänst så hjälper vi dig.

\r\n\r\n

Jag kan inte logga in med de inloggningsuppgifter jag har.

\r\n
    \r\n
  1. Kontrollera först så att användarnamn och lösenord skrivs in korrekt (Skriv gärna lösenordet i stället för att klistra in).

  2. \r\n
  3. Klicka på glömt lösenord

  4. \r\n
  5. Kontakta Majemas kundtjänst om du inte får du inte något mejl med länk för återställning av lösenord.

  6. \r\n
\r\n\r\n

Jag har glömt mitt lösenord till mitt användarkonto.

\r\n

Du kan begära ett nytt lösenord genom att klicka på länken \"Glömt lösenord\" på inloggningssidan https://digitalt.majema.se

\r\n\r\n

Behöver du mer hjälp?

\r\n

Du kan alltid kontakta oss på: kundtjanst@majema.se eller via telefon på 08-716 67 95

\r\n\r\n

Roller och behörigheter

\r\n

När ni använder Majemas webbar har ni möjlighet att tilldela följande roller:

\r\n

Lärare – Kan använda skolans licenser och flytta licenser mellan lärare.

\r\n

Beställare – Kan se skolans order och flytta licenser mellan lärare.

\r\n

Administratör – Kan se skolans order, bjuda nya användare och flytta licenser mellan lärare.

\r\n\r\n

Systemkrav

\r\n

Majemas digitala läromedel fungerar på datorer, surfplattor och interaktiva skrivtavlor. Våra digitala läromedel bygger på HTML5 samt JavaScript. Detta innebär att äldre versioner av webbläsare inte alltid stöds fullt ut. Vi rekommenderar att främst använda en uppdaterad version av webbläsaren Chrome för att bäst uppleva våra digitala läromedel.

\r\n

För bästa användarupplevelse bör du se till att de här fyra punkterna är uppfyllda:

\r\n
    \r\n
  • Kontrollera att din webbläsare är inställt på 100 % zoom. Det är viktigt för att innehållet ska se rätt ut på skärmen.

  • \r\n
  • Uppdatera din webbläsare.

  • \r\n
  • Rensa cacheminnet. Välj: inställningar, sekretess och säkerhet, rensa webbinformation (om det inte räcker med att rensa cachen så kan du öppna ett nytt inkognitofönster i Chrome och logga in därifrån).

  • \r\n
  • Om du använder en surfplatta – uppdatera ditt operativsystem. Detta görs under inställningar.

  • \r\n
\r\n

Vi stödjer följande operativsystem och webbläsare:

\r\n
    \r\n
  • Windows 10, 11: Chrome 80+, Firefox 73+ och Edge Chromium 88+

  • \r\n
  • Chrome OS 13020: Chrome 80+

  • \r\n
  • macOS 10.15: Chrome 80+ och Safari 13+

  • \r\n
  • iOS 16 iPAD: Safari 13+

  • \r\n
  • iOS 11 iPhone: Safari och Chrome 13+ (endast för vissa applikationer)

  • \r\n
  • Android 11: Chrome 11+ och Native 11+

  • \r\n
\r\n
\r\n\r\n","import { Component, OnInit, HostListener } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { AuthService } from '../../shared/authentication/auth.service';\r\nimport { ConfigService } from '../../shared/services/config.service';\r\nimport { UserService } from '../../shared/services/user.service';\r\n\r\n@Component({\r\n selector: 'user-nav-menu',\r\n templateUrl: './user-nav-menu.component.html',\r\n styleUrls: ['./user-nav-menu.component.css']\r\n})\r\nexport class UserNavMenuComponent implements OnInit {\r\n\r\n isExpanded = false;\r\n isOpen = false;\r\n isOpenSchool = false;\r\n displayName: string;\r\n\r\n public adminSiteUrl: string;\r\n public isMajemaAdmin: boolean;\r\n\r\n constructor(\r\n private authService: AuthService,\r\n private userService: UserService,\r\n private configService: ConfigService,\r\n private route: ActivatedRoute) { }\r\n\r\n ngOnInit() {\r\n this.isMajemaAdmin = this.authService.checkIfUserIsMajemaAdmin;\r\n this.adminSiteUrl = this.configService.authSettings.adminSiteUrl;\r\n\r\n this.route.params.subscribe(params => {\r\n this.userService.getCurrentUser().subscribe(user => {\r\n this.displayName = user.displayName;\r\n });\r\n })\r\n }\r\n\r\n logOut() {\r\n this.authService.signout();\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n toggleDropdown() {\r\n this.isOpen = !this.isOpen;\r\n }\r\n\r\n openAdminSite() {\r\n window.open(this.adminSiteUrl, \"_admin\");\r\n }\r\n\r\n @HostListener('document:click', ['$event']) onDocumentClick(event) {\r\n this.isOpen = false;\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Component, ViewChild, OnDestroy } from '@angular/core';\r\nimport { FormControl } from '@angular/forms';\r\nimport { MatSelect } from '@angular/material/select';\r\nimport { Router } from '@angular/router';\r\nimport { ReplaySubject, Subject } from 'rxjs';\r\nimport { take, takeUntil } from 'rxjs/operators';\r\nimport { School } from '../../shared/models/shared.models';\r\nimport { SchoolService } from '../../shared/services/school.service';\r\nimport { UserService } from '../../shared/services/user.service';\r\n\r\n@Component({\r\n templateUrl: './onboarding.component.html',\r\n styleUrls: ['./onboarding.component.css']\r\n})\r\nexport class OnboardingComponent implements OnDestroy {\r\n\r\n private schools: School[] = [];\r\n public schoolCtrl: FormControl = new FormControl();\r\n\r\n /** control for the MatSelect filter keyword */\r\n public schoolFilterCtrl: FormControl = new FormControl();\r\n /** list of schools filtered by search keyword */\r\n public filteredSchools: ReplaySubject = new ReplaySubject(1);\r\n /** Subject that emits when the component has been destroyed. */\r\n protected _onDestroy = new Subject();\r\n\r\n public hidden: boolean = true;\r\n public isPrivate: boolean = false;\r\n\r\n @ViewChild('singleSelect', { static: true }) singleSelect: MatSelect;\r\n\r\n constructor(private schoolService: SchoolService,\r\n private userService: UserService,\r\n private router: Router) {\r\n this.userService.getCurrentUser().subscribe(user => {\r\n if (user.schools.length > 0) {\r\n this.router.navigate(['/']);\r\n } else {\r\n this.hidden = false;\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n // listen for search field value changes\r\n this.schoolFilterCtrl.valueChanges.pipe(takeUntil(this._onDestroy)).subscribe(() => {\r\n this.filterSchools();\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.setInitialValue();\r\n }\r\n\r\n ngOnDestroy() {\r\n this._onDestroy.next();\r\n this._onDestroy.complete();\r\n }\r\n\r\n protected filterSchools() {\r\n if (!this.schools) {\r\n return;\r\n }\r\n // get the search keyword\r\n let search = this.schoolFilterCtrl.value;\r\n if (!search || search.length < 3) {\r\n this.filteredSchools.next(this.schools.slice());\r\n return;\r\n } else {\r\n search = search.toLowerCase();\r\n }\r\n this.searchSchool(search);\r\n }\r\n\r\n /*\r\n ** Sets the initial value after the filteredSchools are loaded initially\r\n */\r\n protected setInitialValue() {\r\n this.filteredSchools.pipe(take(1), takeUntil(this._onDestroy)).subscribe(() => {\r\n // setting the compareWith property to a comparison function\r\n // triggers initializing the selection according to the initial value of\r\n // the form control (i.e. _initializeSelection())\r\n // this needs to be done after the filteredSchools are loaded initially\r\n // and after the mat-option elements are available\r\n if (this.singleSelect) {\r\n this.singleSelect.compareWith = (a: School, b: School) => a && b && a.id === b.id;\r\n }\r\n });\r\n }\r\n\r\n private searchSchool(searchstring: string) {\r\n this.schoolService.getSearchSchools(searchstring).subscribe(data => {\r\n this.schools = data;\r\n this.filteredSchools.next(data);\r\n }), err => {\r\n console.log(err);\r\n };\r\n }\r\n\r\n public addSchoolToUser() {\r\n if (this.isPrivate) {\r\n this.schoolService.addPrivateSchool().subscribe(schoolId => {\r\n this.addSchoolToCurrentUser(schoolId);\r\n });\r\n } else {\r\n var schoolid = this.schoolCtrl.value.id;\r\n this.addSchoolToCurrentUser(schoolid);\r\n }\r\n }\r\n\r\n private addSchoolToCurrentUser(schoolid: number) {\r\n this.userService.addSchoolToCurrentUser(schoolid).subscribe(data => {\r\n this.router.navigate([\"/\"]);\r\n }), err => {\r\n console.log(err);\r\n };\r\n }\r\n\r\n public isPrivateChecked(event) {\r\n this.isPrivate = !this.isPrivate;\r\n }\r\n}\r\n\r\n","\r\n
\r\n
\r\n
\r\n Vi behöver veta vilken skola du tillhör. Sök upp och välj din skola, klicka sedan på spara.\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{school.name}}
\r\n {{school.deliveryAddress}} {{school.deliveryCity}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Tillhör du inte någon skola, välj:\r\n Jag är en privatperson, klicka sen på spara.\r\n
\r\n
\r\n Jag är privatperson:  \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Om du inte redan är kopplad till en skola kommer första gången du loggar in bli ombedd att välja vilken skola du arbetar på.
\r\n Skriv din skolas namn (ange minst 3 tecken) och välj din skola i listan, klicka på spara.

\r\n Finns inte din skola i listan?
\r\n Kontakta Majemas kundtjänst så lägger vi till den. Melja till kundtjanst@majema.se eller ring oss på 08-7166795
\r\n Om du använder våra digitala läromedel utan att tillhöra en skola väljer du i stället alternativet
\r\n Jag är en privatperson och klickar på spara.\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { User } from 'src/app/shared/models/shared.models';\r\nimport { UserService } from 'src/app/shared/services/user.service';\r\n\r\n@Component({\r\n templateUrl: \"./profile.component.html\",\r\n styleUrls: [\"./profile.component.css\"],\r\n})\r\nexport class ProfileComponent implements OnInit {\r\n user: User;\r\n userId: string;\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n resetMessage: string;\r\n errorMessages: any = {};\r\n\r\n constructor(private userService: UserService) {}\r\n\r\n ngOnInit(): void {\r\n this.userService.getCurrentUser().subscribe((user) => {\r\n this.user = user;\r\n this.userId = user.id;\r\n this.firstName = user.firstName;\r\n this.email = user.email;\r\n this.lastName = user.lastName;\r\n });\r\n }\r\n\r\n isDirty(): boolean {\r\n if (this.user == null) {\r\n return false;\r\n }\r\n return (\r\n this.firstName !== this.user.firstName ||\r\n this.lastName !== this.user.lastName ||\r\n this.email !== this.user.email\r\n );\r\n }\r\n\r\n getEmail(): string {\r\n if (this.user == null) {\r\n return \"\";\r\n }\r\n return this.user.email;\r\n }\r\n\r\n save(): void {\r\n this.userService\r\n .updateUser(this.userId, this.firstName, this.lastName, this.email)\r\n .subscribe(\r\n (data) => {\r\n window.location.reload();\r\n },\r\n (error) => {\r\n this.errorMessages = error.error;\r\n }\r\n );\r\n }\r\n sendReset(): void {\r\n // The email has to exist on the user\r\n this.userService.sendResetPasswordEmail(this.user.email).subscribe(\r\n (data) => {\r\n this.resetMessage =\r\n \"Vi har nu skickat ett e-post till dig med information om hur du återställer ditt lösenord.\";\r\n },\r\n (error) => {\r\n this.resetMessage = error.error;\r\n }\r\n );\r\n }\r\n}\r\n","\r\n
\r\n

Min sida

\r\n

Användaruppgifter

\r\n

\r\n
Förnamn
\r\n \r\n
\r\n {{ errorMessages.FirstName.join(', ') }}\r\n
\r\n
Efternamn
\r\n \r\n
\r\n {{errorMessages.LastName.join(', ')}}\r\n
\r\n
E-post / användarnamn
\r\n \r\n
\r\n {{errorMessages.Email.join(', ')}}\r\n
\r\n \r\n
\r\n","import { Component } from '@angular/core';\r\nimport { AuthService } from '../../shared/authentication/auth.service';\r\n\r\n@Component({\r\n templateUrl: './session-expired.component.html',\r\n styleUrls: ['./session-expired.component.css']\r\n})\r\nexport class SessionExpiredComponent {\r\n constructor(private authService: AuthService) { }\r\n signIn() {\r\n this.authService.login();\r\n }\r\n}\r\n","\r\n
\r\n

Din session är slut

\r\n

Du måste logga in igen för att fortsätta

\r\n \r\n
\r\n\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n templateUrl: './user-context.component.html',\r\n styleUrls: ['./user-context.component.css']\r\n})\r\nexport class UserContextComponent { }\r\n","\r\n\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * In development mode, to ignore zone related error stack frames such as\r\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\r\n * import the following file, but please comment it out in production mode\r\n * because it will have performance impact when throw error\r\n */\r\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic(providers).bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n\r\nexport { renderModule } from \"@angular/platform-server\";"],"names":["RouterModule","AuthCallbackComponent","CommonModule","AuthGuard","SchoolContextComponent","ProductsComponent","EditProductsComponent","OrdersComponent","UsersComponent","OnboardingComponent","HelpComponent","ErrorComponent","UserContextComponent","InitComponent","SessionExpiredComponent","ProfileComponent","OldRegistrationComponent","routes","path","component","canActivate","children","redirectTo","pathMatch","AppRoutingModule","forRoot","imports","i1","exports","AppComponent","constructor","ngOnInit","selectors","decls","vars","consts","template","AppComponent_Template","rf","ctx","i0","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","BrowserModule","FormsModule","ReactiveFormsModule","HttpClientModule","HTTP_INTERCEPTORS","BrowserAnimationsModule","SharedModule","MatDialogModule","MAT_DIALOG_DEFAULT_OPTIONS","MatSnackBarModule","MatSelectModule","MatFormFieldModule","NgxMatSelectSearchModule","SchoolNavMenuComponent","SchoolClassService","OrderService","SchoolService","LicenseService","TeacherService","ProductService","UserNavMenuComponent","AuthInterceptor","AppModule","bootstrap","provide","useValue","hasBackdrop","useClass","multi","withServerTransition","appId","declarations","i2","NgClass","NgForOf","NgIf","i3","RouterLink","RouterLinkActive","i4","ɵNgNoValidate","DefaultValueAccessor","NgControlStatus","NgControlStatusGroup","FormGroupDirective","FormControlName","i5","MatCard","MatCardContent","MatCardImage","i6","SidebarComponent","authService","router","_this","_asyncToGenerator","completeAuthentication","postLoginRedirect","sessionStorage","getItem","removeItem","navigateByUrl","err","signout","ɵɵdirectiveInject","AuthService","Router","AuthCallbackComponent_Template","ɵɵtext","userService","localStorageService","schoolClassService","orderService","getCurrentUser","subscribe","user","schools","length","navigate","latestSchoolId","getLatestSchoolId","undefined","some","_","id","repairSchoolClassSchoolConnection","response","repairOrderSchoolConnection","UserService","LocalStorageService","InitComponent_Template","styles","EditUnassignedLicenseDialog","HandleAssignedLicenseDialogComponent","ɵɵpropertyInterpolate","schoolClass_r4","ɵɵadvance","ɵɵtextInterpolate1","name","ɵɵelementContainerStart","ɵɵtemplate","EditProductsComponent_div_18_ng_container_7_option_1_Template","EditProductsComponent_div_18_ng_container_7_option_2_Template","ɵɵproperty","license_r2","schoolClassId","ɵɵlistener","EditProductsComponent_div_18_Template_select_change_4_listener","$event","ɵɵrestoreView","_r1","$implicit","ctx_r2","ɵɵnextContext","ɵɵresetView","selectClass","target","value","EditProductsComponent_div_18_ng_container_7_Template","EditProductsComponent_div_18_Template_button_click_8_listener","connectLicenseChangeClass","EditProductsComponent_div_18_Template_button_click_11_listener","releaseLicenseFromTeacher","productName","schoolClasses","changed","newSchoolClassId","getGiltighetstid","schoolClass_r7","EditProductsComponent_div_35_Template_select_change_4_listener","license_r6","_r5","EditProductsComponent_div_35_option_7_Template","EditProductsComponent_div_35_Template_button_click_8_listener","connectLicense","EditProductsComponent_div_35_Template_button_click_11_listener","EditProductsComponent_div_49_Template_button_click_6_listener","license_r9","_r8","assignLicense","ɵɵtextInterpolate","quantity","dialog","datepipe","licenseService","productService","snackbar","route","activeLicenses","inActiveLicenses","unassignedLicenses","isAdmin","isPurchaser","parent","params","schoolId","Number","loadData","currentSchool","find","s","roles","license","releaseLicenseFromClass","getLicenses","data","licenseData","x","productLicenseId","productId","endDate","Date","licenseId","tryConnectLicense","console","log","_this2","status","dialogRef","open","panelClass","afterClosed","result","getSchoolClassName","schoolClass","c","startDate","transform","getUnassignedLicenses","getUnassaignedLicenses","getActiveProducts","getActiveLicenses","getInActiveProducts","getInactiveLicenses","getSchoolClasses","MatDialog","DatePipe","MatSnackbarComponent","i7","ActivatedRoute","i8","EditProductsComponent_Template","EditProductsComponent_div_17_Template","EditProductsComponent_div_18_Template","EditProductsComponent_div_34_Template","EditProductsComponent_div_35_Template","EditProductsComponent_ng_container_40_Template","EditProductsComponent_div_48_Template","EditProductsComponent_div_49_Template","AssignToNewTeacherDialog","ɵɵpureFunction0","_c1","SchoolNavMenuComponent_button_15_Template_button_click_0_listener","ctx_r1","openAdminSite","SchoolNavMenuComponent_div_24_a_1_Template_a_click_0_listener","school_r4","_r3","setCurrentSchool","SchoolNavMenuComponent_div_24_a_1_Template","SchoolNavMenuComponent_div_33_Template_a_click_3_listener","logOut","_c4","configService","isExpanded","isOpen","isOpenSchool","isMajemaAdmin","checkIfUserIsMajemaAdmin","adminSiteUrl","authSettings","displayName","currentSchoolName","setLatestSchoolId","toggleSchoolDropdown","collapse","toggle","toggleDropdown","window","openAddNewUser","onDocumentClick","event","ConfigService","hostBindings","SchoolNavMenuComponent_HostBindings","SchoolNavMenuComponent_click_HostBindingHandler","ɵɵresolveDocument","SchoolNavMenuComponent_li_12_Template","SchoolNavMenuComponent_li_13_Template","SchoolNavMenuComponent_button_15_Template","SchoolNavMenuComponent_Template_button_click_16_listener","SchoolNavMenuComponent_Template_a_click_21_listener","stopPropagation","SchoolNavMenuComponent_div_24_Template","SchoolNavMenuComponent_Template_a_click_30_listener","SchoolNavMenuComponent_div_33_Template","ɵɵpureFunction1","_c0","_c2","_c3","OrderLicenseDialog","OrdersComponent_div_1_div_25_Template_a_click_4_listener","manageLicensesForProduct","OrdersComponent_div_1_div_25_Template_button_click_11_listener","ɵɵtextInterpolate2","assignedQuantity","totalQuantity","activatedQuantity","OrdersComponent_div_1_div_40_a_8_Template_a_click_0_listener","_r4","orderRow_r5","manageLicensesForOrderrow","ɵɵpipeBind2","delivered","expectedDelivery","OrdersComponent_div_1_div_40_a_8_Template","OrdersComponent_div_1_div_40_div_9_Template","OrdersComponent_div_1_div_40_div_11_Template","OrdersComponent_div_1_div_40_div_12_Template","OrdersComponent_div_1_div_40_div_13_Template","orderNumber","purchaser","OrdersComponent_div_1_div_25_Template","OrdersComponent_div_1_div_40_Template","school","schoolUnitCode","licenseSummaries","orderRows","schoolService","loadOrderRows","loadLicenses","loadSchool","getSchool","getOrderRows","getProductLicensesSummary","orderRowId","OrdersComponent_Template","OrdersComponent_div_1_Template","FormControl","FormGroup","Validators","MessageDialog","CreateSchoolClassDialog","ProductsComponent_ng_container_4_form_3_Template_input_blur_1_listener","updateSelectedSchoolClass","ProductsComponent_ng_container_4_form_3_Template_button_click_2_listener","schoolClass_r2","removeSchoolClass","selectedSchoolClassForm","ProductsComponent_ng_container_4_Template_div_click_1_listener","selectSchoolClass","ProductsComponent_ng_container_4_form_3_Template","selectedSchoolClass","showEditSchoolClassName","ɵɵpropertyInterpolate3","license_r5","url","licenseKey","getSalt","ɵɵsanitizeUrl","ProductsComponent_mat_card_17_p_7_Template","ProductsComponent_mat_card_17_a_8_Template","getDaysLeft","ɵɵpropertyInterpolate2","apiUrl","isProudctExpired","schoolClassservice","apiService","isEditingSelectedSchoolClass","showNoSchoolClassesInfo","showNoLicensesInfo","time","selectedSchoolClassName","minLength","getTime","getApiUrl","loadSchoolClasses","resetNewSchoolClassForm","schoolClassesArray","sort","a","b","licenses","tempSchoolClass","patchValue","markAsPristine","sortLicenses","today","aEndDate","bEndDate","get","updateSchoolClass","cancelEditSchoolClass","showCreateSchoolClassDialog","schoolclassid","header","text","dialogresult","error","title","message","addNewSchoolClassForm","newSchoolClassName","required","newSchoolClass","oneDay","expirationDate","Math","round","editSelectedScoolClass","handleKeyboardEvent","key","trim","toLowerCase","ApiService","ProductsComponent_HostBindings","ProductsComponent_keyup_HostBindingHandler","ProductsComponent_ng_container_4_Template","ProductsComponent_Template_button_click_6_listener","ProductsComponent_Template_button_click_9_listener","ProductsComponent_div_12_Template","ProductsComponent_div_15_Template","ProductsComponent_div_16_Template","ProductsComponent_mat_card_17_Template","SchoolContextComponent_Template","RemoveUserFromSchoolDialog","ɵɵtwoWayListener","UsersComponent_div_1_div_19_Template_input_ngModelChange_8_listener","user_r3","_r2","ɵɵtwoWayBindingSet","UsersComponent_div_1_div_19_Template_input_click_8_listener","ctx_r3","ValidateCheckboxRules","UsersComponent_div_1_div_19_Template_button_click_10_listener","RemoveUser","email","JoinRoles","ɵɵtwoWayProperty","UsersComponent_div_1_div_19_Template","UsersComponent_div_1_Template_button_click_23_listener","SaveAdminRole","UsersComponent_div_1_Template_button_click_29_listener","addNewTeacher","users","isDirty","roleService","loadUsers","getUsersBySchoolId","translatedRoles","forEach","role","push","map","r","join","evt","setDirty","filter","u","preventDefault","warning","_ref","AddAdminRole","RemoveAdminRole","_x","apply","arguments","saveAdminRole","missadminrole","admrole","roleindex","findIndex","splice","RoleService","UsersComponent_Template","UsersComponent_div_1_Template","HttpErrorResponse","tap","intercept","request","next","handle","pipe","ɵɵinject","factory","ɵfac","AuthStatus","location","authStatus","getAuthStatus","Authenticated","hasAuthorityToAccess","setItem","login","Location","providedIn","UserManager","userManager","authority","client_id","clientId","response_type","scope","redirect_uri","redirectUri","post_logout_redirect_uri","postLogoutRedirectUri","clockSkew","getUser","then","signinRedirect","signoutRedirect","signinRedirectCallback","_this3","expired","NotAuthenticated","userId","profile","sub","userProfile","GetCurrentUser","_this4","checkIfUserIsHasRole","checkIfUserIsTeacher","Array","isArray","FooterComponent","FooterComponent_Template","HeaderComponent","HeaderComponent_Template","OldRegistrationComponent_Template","SidebarOldRegistrationComponent","SidebarOldRegistrationComponent_Template","ctx_r0","studentUser","userName","swedishColor","SidebarComponent_ng_container_1_ng_container_1_span_6_Template","SidebarComponent_ng_container_1_ng_container_1_span_10_Template","SidebarComponent_ng_container_1_ng_container_2_Template_button_click_4_listener","GenerateNewClassLogin","SidebarComponent_ng_container_1_ng_container_1_Template","SidebarComponent_ng_container_1_ng_container_2_Template","studentLoginExists","administrator_r3","ɵɵpropertyInterpolate1","SidebarComponent_ng_container_2_div_3_Template","SidebarComponent_ng_container_2_div_4_Template","administrators","SidebarComponent_ng_container_12_li_8_Template","showStudentLogin","showAdministrators","showSchools","showschools","hasLicenseDemandStudentUser","loadAdministrators","loadStudentLogin","loadSchools","ngOnChanges","changes","listCurrentUserSchools","generateNewSchoolClassLogin","reload","getSchoolAdministrators","checkIfStudentUserIsRequired","answer","l","hasStudentWeb","inputs","features","ɵɵNgOnChangesFeature","SidebarComponent_Template","SidebarComponent_ng_container_1_Template","SidebarComponent_ng_container_2_Template","SidebarComponent_ng_container_12_Template","snackBar","openSnackBar","action","className","duration","verticalPosition","horizontalPosition","MatSnackBar","MatSnackbarComponent_Template","MAT_DIALOG_DATA","teacherService","matchingemail","inviteNewTeacherForm","firstName","lastName","confirmemail","emailControl","confirmEmailControl","compareValidator","createCompareValidator","setValidators","onClose","close","controlOne","controlTwo","match_error","inviteNewTeacher","inviteTeacher","inviteData","inviteTeacherSuccess","connectLicenseToTeacher","connectLicenseSuccess","MatDialogRef","AssignToNewTeacherDialog_Template","AssignToNewTeacherDialog_Template_button_click_10_listener","AssignToNewTeacherDialog_div_14_Template","AssignToNewTeacherDialog_div_15_Template","AssignToNewTeacherDialog_div_16_Template","AssignToNewTeacherDialog_div_17_Template","AssignToNewTeacherDialog_div_18_Template","AssignToNewTeacherDialog_Template_button_click_23_listener","invalid","createSchoolClassForm","createSchoolClass","CreateSchoolClassDialog_Template","CreateSchoolClassDialog_Template_button_click_7_listener","releaseLicenseId","onYesClick","HandleAssignedLicenseDialogComponent_Template","HandleAssignedLicenseDialogComponent_Template_button_click_6_listener","HandleAssignedLicenseDialogComponent_Template_button_click_9_listener","orderrnumbers","teacher_r4","EditProductsLicenseDialog_div_27_ng_container_7_option_1_Template","EditProductsLicenseDialog_div_27_ng_container_7_option_2_Template","license_r3","teacherId","ɵɵelementContainer","assignDate","EditProductsLicenseDialog_div_27_ng_template_22_Template_button_click_0_listener","connect","EditProductsLicenseDialog_div_27_ng_template_24_Template_button_click_0_listener","_r6","disconnect","EditProductsLicenseDialog_div_27_Template_select_change_4_listener","selectTeacher","EditProductsLicenseDialog_div_27_ng_container_7_Template","EditProductsLicenseDialog_div_27_ng_container_9_Template","EditProductsLicenseDialog_div_27_ng_template_10_Template","ɵɵtemplateRefExtractor","EditProductsLicenseDialog_div_27_ng_template_12_Template","EditProductsLicenseDialog_div_27_ng_container_15_Template","EditProductsLicenseDialog_div_27_ng_template_16_Template","EditProductsLicenseDialog_div_27_ng_template_18_Template","EditProductsLicenseDialog_div_27_ng_container_21_Template","EditProductsLicenseDialog_div_27_ng_template_22_Template","EditProductsLicenseDialog_div_27_ng_template_24_Template","getTeacherEmail","teachers","active_r7","inActive_r8","assignDate_r9","noDate_r10","assignButton_r11","releaseButton_r12","EditProductsLicenseDialog","localstorage","loadTeachers","onNoClick","getTeachersForSchoolID","geUserProductLicenses","updateHeader","getProductLicenses","orderNumbers","orderId","v","i","indexOf","products","Header","toString","moveLicenseToTeacher","teacher","getTeacher","t","EditProductsLicenseDialog_Template","EditProductsLicenseDialog_span_5_Template","EditProductsLicenseDialog_span_9_Template","EditProductsLicenseDialog_div_27_Template","EditProductsLicenseDialog_Template_button_click_32_listener","EditUnassignedLicenseDialog_div_11_ng_container_4_Template","EditUnassignedLicenseDialog_div_11_ng_template_5_Template","EditUnassignedLicenseDialog_div_11_ng_template_7_Template","EditUnassignedLicenseDialog_div_11_Template_button_click_10_listener","endDate_r4","noDate_r5","getLiceses","getUnassaignedProductLicenses","connectLicenseToCurrentUser","EditUnassignedLicenseDialog_Template","EditUnassignedLicenseDialog_div_11_Template","EditUnassignedLicenseDialog_Template_button_click_16_listener","UnassignedHeader","MessageDialog_Template","MessageDialog_Template_button_click_6_listener","ɵɵsanitizeHtml","OrderLicenseDialog_div_27_ng_template_5_ng_container_0_Template","assigned_r3","notAssigned_r4","teacher_r5","OrderLicenseDialog_div_27_ng_template_7_ng_container_3_option_1_Template","OrderLicenseDialog_div_27_ng_template_7_ng_container_3_option_2_Template","OrderLicenseDialog_div_27_ng_template_7_ng_container_3_Template","teacher_r7","OrderLicenseDialog_div_27_ng_template_9_Template_select_change_0_listener","OrderLicenseDialog_div_27_ng_template_9_option_3_Template","OrderLicenseDialog_div_27_ng_template_9_Template_button_click_4_listener","assignToNewTeacher","OrderLicenseDialog_div_27_ng_template_25_ng_container_0_Template","releaseButton_r9","assignButton_r8","OrderLicenseDialog_div_27_ng_template_27_Template_button_click_0_listener","_r10","OrderLicenseDialog_div_27_ng_template_29_Template_button_click_0_listener","_r11","OrderLicenseDialog_div_27_ng_container_4_Template","OrderLicenseDialog_div_27_ng_template_5_Template","OrderLicenseDialog_div_27_ng_template_7_Template","OrderLicenseDialog_div_27_ng_template_9_Template","OrderLicenseDialog_div_27_ng_container_12_Template","OrderLicenseDialog_div_27_ng_template_13_Template","OrderLicenseDialog_div_27_ng_template_15_Template","OrderLicenseDialog_div_27_ng_container_18_Template","OrderLicenseDialog_div_27_ng_template_19_Template","OrderLicenseDialog_div_27_ng_template_21_Template","OrderLicenseDialog_div_27_ng_container_24_Template","OrderLicenseDialog_div_27_ng_template_25_Template","OrderLicenseDialog_div_27_ng_template_27_Template","OrderLicenseDialog_div_27_ng_template_29_Template","isExpired","chooseTeacher_r12","active_r13","inActive_r14","assignDate_r15","noDate_r16","licenseActionButtons_r17","getOrderRowLicenses","OrderLicenseDialog_Template","OrderLicenseDialog_span_5_Template","OrderLicenseDialog_span_9_Template","OrderLicenseDialog_div_27_Template","OrderLicenseDialog_Template_button_click_32_listener","removeUser","removeUserFromSchool","removeTeacherSuccess","cancel","RemoveUserFromSchoolDialog_Template","RemoveUserFromSchoolDialog_Template_button_click_12_listener","RemoveUserFromSchoolDialog_Template_button_click_15_listener","RemoveUserFromSchoolDialog_div_20_Template","RemoveUserFromSchoolDialog_div_21_Template","catchError","take","switchMap","from","http","ApiURI","relativeUrl","options","callApi","post","patch","put","delete","method","callApiForUser","token","getToken","allOptions","headers","Authorization","ContentType","responseType","body","fullUri","ErrorId","startsWith","token_type","access_token","HttpClient","authURI","config","platform","apiBaseUri","authAuthority","authClientId","authScope","authRedirectUri","silentRedirectUri","authSilentRedirectUri","authPostLogoutRedirectUri","userIdleTimeInSeconds","countDownUntilLogoutInSeconds","HttpParams","licensesApiUrl","append","observe","productid","schoolid","localStorage","orderApiUrl","licenseApiUrl","scholId","schoolApiUrl","getSearchSchools","searchstring","addPrivateSchool","schoolClassApiUrl","schoolClassid","usersApiUrl","addSchoolToCurrentUser","updateUser","sendResetPasswordEmail","MatTabsModule","MatCardModule","MatGridListModule","MATERIALMODULES","DIALOGS","SecurityContext","sanitizer","queryParams","errorId","sanitize","HTML","DomSanitizer","ErrorComponent_Template","HelpComponent_Template","UserNavMenuComponent_li_11_Template_a_click_1_listener","UserNavMenuComponent_div_20_Template_a_click_3_listener","UserNavMenuComponent_HostBindings","UserNavMenuComponent_click_HostBindingHandler","UserNavMenuComponent_li_11_Template","UserNavMenuComponent_Template_a_click_17_listener","UserNavMenuComponent_div_20_Template","ReplaySubject","Subject","takeUntil","school_r2","deliveryAddress","deliveryCity","OnboardingComponent_div_1_div_3_mat_option_6_Template","schoolCtrl","schoolFilterCtrl","ɵɵpipeBind1","filteredSchools","OnboardingComponent_div_1_div_2_Template","OnboardingComponent_div_1_div_3_Template","OnboardingComponent_div_1_Template_input_click_10_listener","isPrivateChecked","OnboardingComponent_div_1_Template_button_click_14_listener","addSchoolToUser","isPrivate","_onDestroy","hidden","valueChanges","filterSchools","ngAfterViewInit","setInitialValue","ngOnDestroy","complete","search","slice","searchSchool","singleSelect","compareWith","viewQuery","OnboardingComponent_Query","OnboardingComponent_div_1_Template","errorMessages","FirstName","LastName","Email","getEmail","save","sendReset","resetMessage","ProfileComponent_Template","ProfileComponent_Template_input_ngModelChange_11_listener","ProfileComponent_div_12_Template","ProfileComponent_Template_input_ngModelChange_16_listener","ProfileComponent_div_17_Template","ProfileComponent_Template_input_ngModelChange_21_listener","ProfileComponent_div_22_Template","ProfileComponent_Template_button_click_23_listener","signIn","SessionExpiredComponent_Template","SessionExpiredComponent_Template_button_click_7_listener","UserContextComponent_Template","environment","production","enableProdMode","getBaseUrl","document","getElementsByTagName","href","providers","useFactory","deps","__NgCli_bootstrap_1","platformBrowser","bootstrapModule","catch","renderModule"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}