@valtimo/task 4.15.2-next-main.14 → 4.15.3-next-main.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/valtimo-task.umd.js +807 -807
- package/esm2015/lib/assign-user-to-task/assign-user-to-task.component.js +120 -120
- package/esm2015/lib/task-detail-modal/task-detail-modal.component.js +117 -117
- package/esm2015/lib/task-list/task-list.component.js +154 -154
- package/esm2015/lib/task-routing.module.js +43 -43
- package/esm2015/lib/task.module.js +65 -65
- package/esm2015/lib/task.service.js +59 -59
- package/esm2015/public_api.js +22 -22
- package/esm2015/valtimo-task.js +6 -6
- package/fesm2015/valtimo-task.js +519 -519
- package/lib/assign-user-to-task/assign-user-to-task.component.d.ts +26 -26
- package/lib/task-detail-modal/task-detail-modal.component.d.ts +30 -30
- package/lib/task-list/task-list.component.d.ts +32 -32
- package/lib/task-routing.module.d.ts +2 -2
- package/lib/task.module.d.ts +2 -2
- package/lib/task.service.d.ts +16 -16
- package/package.json +1 -1
- package/public_api.d.ts +4 -4
- package/valtimo-task.d.ts +6 -6
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { DropdownItem, User } from '@valtimo/contract';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { TaskService } from '../task.service';
|
|
5
|
-
export declare class AssignUserToTaskComponent implements OnInit, OnChanges {
|
|
6
|
-
private taskService;
|
|
7
|
-
taskId: string;
|
|
8
|
-
assigneeEmail: string;
|
|
9
|
-
assignmentOfTaskChanged: EventEmitter<any>;
|
|
10
|
-
candidateUsersForTask$: BehaviorSubject<User[]>;
|
|
11
|
-
disabled$: BehaviorSubject<boolean>;
|
|
12
|
-
assignedEmailOnServer$: BehaviorSubject<string>;
|
|
13
|
-
userEmailToAssign: string;
|
|
14
|
-
assignedUserFullName$: BehaviorSubject<string>;
|
|
15
|
-
constructor(taskService: TaskService);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
-
assignTask(userEmail: string): void;
|
|
19
|
-
unassignTask(): void;
|
|
20
|
-
getAssignedUserName(users: User[], userEmail: string): string;
|
|
21
|
-
mapUsersForDropdown(users: User[]): DropdownItem[];
|
|
22
|
-
private clear;
|
|
23
|
-
private emitChange;
|
|
24
|
-
private enable;
|
|
25
|
-
private disable;
|
|
26
|
-
}
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { DropdownItem, User } from '@valtimo/contract';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { TaskService } from '../task.service';
|
|
5
|
+
export declare class AssignUserToTaskComponent implements OnInit, OnChanges {
|
|
6
|
+
private taskService;
|
|
7
|
+
taskId: string;
|
|
8
|
+
assigneeEmail: string;
|
|
9
|
+
assignmentOfTaskChanged: EventEmitter<any>;
|
|
10
|
+
candidateUsersForTask$: BehaviorSubject<User[]>;
|
|
11
|
+
disabled$: BehaviorSubject<boolean>;
|
|
12
|
+
assignedEmailOnServer$: BehaviorSubject<string>;
|
|
13
|
+
userEmailToAssign: string;
|
|
14
|
+
assignedUserFullName$: BehaviorSubject<string>;
|
|
15
|
+
constructor(taskService: TaskService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
|
+
assignTask(userEmail: string): void;
|
|
19
|
+
unassignTask(): void;
|
|
20
|
+
getAssignedUserName(users: User[], userEmail: string): string;
|
|
21
|
+
mapUsersForDropdown(users: User[]): DropdownItem[];
|
|
22
|
+
private clear;
|
|
23
|
+
private emitChange;
|
|
24
|
+
private enable;
|
|
25
|
+
private disable;
|
|
26
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { FormioComponent, ModalComponent } from '@valtimo/components';
|
|
4
|
-
import { FormioSubmission, Task } from '@valtimo/contract';
|
|
5
|
-
import { FormLinkService } from '@valtimo/form-link';
|
|
6
|
-
import { FormioForm } from 'angular-formio';
|
|
7
|
-
import { NGXLogger } from 'ngx-logger';
|
|
8
|
-
import { ToastrService } from 'ngx-toastr';
|
|
9
|
-
import { ValtimoFormioOptions } from '@valtimo/contract';
|
|
10
|
-
export declare class TaskDetailModalComponent {
|
|
11
|
-
private toastr;
|
|
12
|
-
private formLinkService;
|
|
13
|
-
private router;
|
|
14
|
-
private logger;
|
|
15
|
-
task: Task | null;
|
|
16
|
-
formDefinition: FormioForm;
|
|
17
|
-
page: any;
|
|
18
|
-
formioOptions: ValtimoFormioOptions;
|
|
19
|
-
form: FormioComponent;
|
|
20
|
-
modal: ModalComponent;
|
|
21
|
-
formSubmit: EventEmitter<any>;
|
|
22
|
-
assignmentOfTaskChanged: EventEmitter<any>;
|
|
23
|
-
private formAssociation;
|
|
24
|
-
errorMessage: String;
|
|
25
|
-
constructor(toastr: ToastrService, formLinkService: FormLinkService, router: Router, logger: NGXLogger);
|
|
26
|
-
resetFormDefinition(): void;
|
|
27
|
-
openTaskDetails(task: Task): void;
|
|
28
|
-
gotoFormLinkScreen(): void;
|
|
29
|
-
onSubmit(submission: FormioSubmission): void;
|
|
30
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { FormioComponent, ModalComponent } from '@valtimo/components';
|
|
4
|
+
import { FormioSubmission, Task } from '@valtimo/contract';
|
|
5
|
+
import { FormLinkService } from '@valtimo/form-link';
|
|
6
|
+
import { FormioForm } from 'angular-formio';
|
|
7
|
+
import { NGXLogger } from 'ngx-logger';
|
|
8
|
+
import { ToastrService } from 'ngx-toastr';
|
|
9
|
+
import { ValtimoFormioOptions } from '@valtimo/contract';
|
|
10
|
+
export declare class TaskDetailModalComponent {
|
|
11
|
+
private toastr;
|
|
12
|
+
private formLinkService;
|
|
13
|
+
private router;
|
|
14
|
+
private logger;
|
|
15
|
+
task: Task | null;
|
|
16
|
+
formDefinition: FormioForm;
|
|
17
|
+
page: any;
|
|
18
|
+
formioOptions: ValtimoFormioOptions;
|
|
19
|
+
form: FormioComponent;
|
|
20
|
+
modal: ModalComponent;
|
|
21
|
+
formSubmit: EventEmitter<any>;
|
|
22
|
+
assignmentOfTaskChanged: EventEmitter<any>;
|
|
23
|
+
private formAssociation;
|
|
24
|
+
errorMessage: String;
|
|
25
|
+
constructor(toastr: ToastrService, formLinkService: FormLinkService, router: Router, logger: NGXLogger);
|
|
26
|
+
resetFormDefinition(): void;
|
|
27
|
+
openTaskDetails(task: Task): void;
|
|
28
|
+
gotoFormLinkScreen(): void;
|
|
29
|
+
onSubmit(submission: FormioSubmission): void;
|
|
30
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { TaskService } from '../task.service';
|
|
4
|
-
import { TaskList } from '@valtimo/contract';
|
|
5
|
-
import { NGXLogger } from 'ngx-logger';
|
|
6
|
-
import { TaskDetailModalComponent } from '../task-detail-modal/task-detail-modal.component';
|
|
7
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
8
|
-
export declare class TaskListComponent implements OnDestroy {
|
|
9
|
-
private taskService;
|
|
10
|
-
private router;
|
|
11
|
-
private logger;
|
|
12
|
-
private translateService;
|
|
13
|
-
taskDetail: TaskDetailModalComponent;
|
|
14
|
-
tasks: {
|
|
15
|
-
mine: TaskList;
|
|
16
|
-
open: TaskList;
|
|
17
|
-
all: TaskList;
|
|
18
|
-
};
|
|
19
|
-
currentTaskType: string;
|
|
20
|
-
listTitle: string | null;
|
|
21
|
-
listDescription: string | null;
|
|
22
|
-
private translationSubscription;
|
|
23
|
-
paginationClicked(page: number, type: string): void;
|
|
24
|
-
constructor(taskService: TaskService, router: Router, logger: NGXLogger, translateService: TranslateService);
|
|
25
|
-
paginationSet(): void;
|
|
26
|
-
private clearPagination;
|
|
27
|
-
tabChange(tab: any): void;
|
|
28
|
-
showTask(task: any): void;
|
|
29
|
-
getTasks(type: string): void;
|
|
30
|
-
rowOpenTaskClick(task: any): boolean;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
}
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { TaskService } from '../task.service';
|
|
4
|
+
import { TaskList } from '@valtimo/contract';
|
|
5
|
+
import { NGXLogger } from 'ngx-logger';
|
|
6
|
+
import { TaskDetailModalComponent } from '../task-detail-modal/task-detail-modal.component';
|
|
7
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
8
|
+
export declare class TaskListComponent implements OnDestroy {
|
|
9
|
+
private taskService;
|
|
10
|
+
private router;
|
|
11
|
+
private logger;
|
|
12
|
+
private translateService;
|
|
13
|
+
taskDetail: TaskDetailModalComponent;
|
|
14
|
+
tasks: {
|
|
15
|
+
mine: TaskList;
|
|
16
|
+
open: TaskList;
|
|
17
|
+
all: TaskList;
|
|
18
|
+
};
|
|
19
|
+
currentTaskType: string;
|
|
20
|
+
listTitle: string | null;
|
|
21
|
+
listDescription: string | null;
|
|
22
|
+
private translationSubscription;
|
|
23
|
+
paginationClicked(page: number, type: string): void;
|
|
24
|
+
constructor(taskService: TaskService, router: Router, logger: NGXLogger, translateService: TranslateService);
|
|
25
|
+
paginationSet(): void;
|
|
26
|
+
private clearPagination;
|
|
27
|
+
tabChange(tab: any): void;
|
|
28
|
+
showTask(task: any): void;
|
|
29
|
+
getTasks(type: string): void;
|
|
30
|
+
rowOpenTaskClick(task: any): boolean;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class TaskRoutingModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class TaskRoutingModule {
|
|
2
|
+
}
|
package/lib/task.module.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class TaskModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class TaskModule {
|
|
2
|
+
}
|
package/lib/task.service.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { AssigneeRequest, Task, User } from '@valtimo/contract';
|
|
4
|
-
import { ConfigService } from '@valtimo/config';
|
|
5
|
-
export declare class TaskService {
|
|
6
|
-
private http;
|
|
7
|
-
private valtimoEndpointUri;
|
|
8
|
-
constructor(http: HttpClient, configService: ConfigService);
|
|
9
|
-
queryTasks(params?: any): Observable<any>;
|
|
10
|
-
getTasks(): Observable<Task[]>;
|
|
11
|
-
getTask(id: string): Observable<any>;
|
|
12
|
-
getCandidateUsers(id: string): Observable<User[]>;
|
|
13
|
-
assignTask(id: string, assigneeRequest: AssigneeRequest): Observable<any>;
|
|
14
|
-
unassignTask(id: string): Observable<any>;
|
|
15
|
-
completeTask(id: string, variables: Map<string, any>): Observable<any>;
|
|
16
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AssigneeRequest, Task, User } from '@valtimo/contract';
|
|
4
|
+
import { ConfigService } from '@valtimo/config';
|
|
5
|
+
export declare class TaskService {
|
|
6
|
+
private http;
|
|
7
|
+
private valtimoEndpointUri;
|
|
8
|
+
constructor(http: HttpClient, configService: ConfigService);
|
|
9
|
+
queryTasks(params?: any): Observable<any>;
|
|
10
|
+
getTasks(): Observable<Task[]>;
|
|
11
|
+
getTask(id: string): Observable<any>;
|
|
12
|
+
getCandidateUsers(id: string): Observable<User[]>;
|
|
13
|
+
assignTask(id: string, assigneeRequest: AssigneeRequest): Observable<any>;
|
|
14
|
+
unassignTask(id: string): Observable<any>;
|
|
15
|
+
completeTask(id: string, variables: Map<string, any>): Observable<any>;
|
|
16
|
+
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './lib/task.service';
|
|
2
|
-
export * from './lib/task.module';
|
|
3
|
-
export * from './lib/task-detail-modal/task-detail-modal.component';
|
|
4
|
-
export * from './lib/task-list/task-list.component';
|
|
1
|
+
export * from './lib/task.service';
|
|
2
|
+
export * from './lib/task.module';
|
|
3
|
+
export * from './lib/task-detail-modal/task-detail-modal.component';
|
|
4
|
+
export * from './lib/task-list/task-list.component';
|
package/valtimo-task.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
export { AssignUserToTaskComponent as ɵa } from './lib/assign-user-to-task/assign-user-to-task.component';
|
|
6
|
-
export { TaskRoutingModule as ɵb } from './lib/task-routing.module';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
export { AssignUserToTaskComponent as ɵa } from './lib/assign-user-to-task/assign-user-to-task.component';
|
|
6
|
+
export { TaskRoutingModule as ɵb } from './lib/task-routing.module';
|