Revize 1b7df50a
Přidáno uživatelem Hung Hoang před téměř 6 roky(ů)
webapp/src/app/dashboard/dashboard.module.ts | ||
---|---|---|
1 | 1 |
import {NgModule} from '@angular/core'; |
2 |
import {CommonModule} from '@angular/common'; |
|
3 | 2 |
import {EmployerDashboardModule} from './employer-dashboard/employer-dashboard.module'; |
4 | 3 |
import {DashboardComponent} from './dashboard.component'; |
5 | 4 |
|
webapp/src/app/edit-vacation-dialog/edit-vacation-dialog.component.ts | ||
---|---|---|
1 |
import {Component, Inject, Output} from '@angular/core'; |
|
2 |
import { MAT_DIALOG_DATA, MatDialogRef, MatSnackBar } from '@angular/material'; |
|
3 |
import { FormControl } from '@angular/forms'; |
|
1 |
import {Component, Inject} from '@angular/core'; |
|
2 |
import {MAT_DIALOG_DATA, MatDialogRef, MatSnackBar} from '@angular/material'; |
|
4 | 3 |
import {Calendar} from '../models/calendar.model'; |
5 | 4 |
|
6 | 5 |
@Component({ |
webapp/src/app/header/header.component.ts | ||
---|---|---|
1 |
import { Component, Input } from '@angular/core'; |
|
2 |
import { MatDialog } from '@angular/material'; |
|
3 |
import { ProfileSettingsComponent } from '../profile-settings/profile-settings.component'; |
|
1 |
import {Component} from '@angular/core'; |
|
2 |
import {MatDialog} from '@angular/material'; |
|
4 | 3 |
import {LocalizationService} from '../localization/localization.service'; |
5 | 4 |
import {UserService} from '../services/api/user.service'; |
6 | 5 |
import {UserProfile} from '../models/user.model'; |
webapp/src/app/models/calendar.model.ts | ||
---|---|---|
1 |
import {Time} from '@angular/common'; |
|
2 | 1 |
import {RequestStatus, VacationType} from '../enums/common.enum'; |
3 | 2 |
|
4 | 3 |
export interface Calendar { |
webapp/src/app/services/util/date-tools.service.ts | ||
---|---|---|
1 | 1 |
import {Injectable} from '@angular/core'; |
2 |
import {Time} from "@angular/common"; |
|
3 | 2 |
|
4 | 3 |
@Injectable({ |
5 | 4 |
providedIn: 'root' |
webapp/src/app/services/util/menu.service.ts | ||
---|---|---|
3 | 3 |
import {UserProfile} from '../../models/user.model'; |
4 | 4 |
import {MenuItem} from '../../models/menu-item.model'; |
5 | 5 |
import {UserType} from '../../enums/common.enum'; |
6 |
import {Observable, of} from 'rxjs'; |
|
7 |
|
|
8 |
const MENU_ITEMS: MenuItem[] = [ |
|
9 |
{name: 'Zaměstnanci', routePath: 'employees'}, |
|
10 |
{name: 'Dashboard', routePath: 'dashboard'}, |
|
11 |
]; |
|
6 |
import {Observable} from 'rxjs'; |
|
12 | 7 |
|
13 | 8 |
@Injectable({ |
14 | 9 |
providedIn: 'root' |
Také k dispozici: Unified diff
Removed unused imports