@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-update-mock-data → 6.16.0-query-management-complete-task
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/hmcts-ccd-case-ui-toolkit.umd.js +92 -4
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +53 -5
- package/esm2015/lib/shared/components/palette/query-management/services/query-managment.service.js +51 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +85 -4
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +16 -2
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/services/query-managment.service.d.ts +25 -0
- package/lib/shared/components/palette/query-management/services/query-managment.service.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,14 +1,28 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { SessionStorageService } from '../../../../../../shared/services';
|
|
5
|
+
import { CaseNotifier } from '../../../../case-editor/services';
|
|
3
6
|
import { QueryCreateContext, QueryListItem } from '../../models';
|
|
7
|
+
import { QueryManagmentService } from '../../services/query-managment.service';
|
|
4
8
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class QueryCheckYourAnswersComponent {
|
|
9
|
+
export declare class QueryCheckYourAnswersComponent implements OnInit {
|
|
10
|
+
private readonly activatedRoute;
|
|
11
|
+
private readonly caseNotifier;
|
|
12
|
+
private readonly queryManagementService;
|
|
13
|
+
private readonly sessionStorageService;
|
|
6
14
|
formGroup: FormGroup;
|
|
7
15
|
queryItem: QueryListItem;
|
|
8
16
|
queryCreateContext: QueryCreateContext;
|
|
9
17
|
backClicked: EventEmitter<boolean>;
|
|
10
18
|
queryCreateContextEnum: typeof QueryCreateContext;
|
|
19
|
+
private caseId;
|
|
20
|
+
private queryId;
|
|
21
|
+
constructor(activatedRoute: ActivatedRoute, caseNotifier: CaseNotifier, queryManagementService: QueryManagmentService, sessionStorageService: SessionStorageService);
|
|
22
|
+
ngOnInit(): void;
|
|
11
23
|
goBack(): void;
|
|
24
|
+
submit(): void;
|
|
25
|
+
searchAndCompleteTask(): void;
|
|
12
26
|
static ɵfac: i0.ɵɵFactoryDef<QueryCheckYourAnswersComponent, never>;
|
|
13
27
|
static ɵcmp: i0.ɵɵComponentDefWithMeta<QueryCheckYourAnswersComponent, "ccd-query-check-your-answers", never, { "formGroup": "formGroup"; "queryItem": "queryItem"; "queryCreateContext": "queryCreateContext"; }, { "backClicked": "backClicked"; }, never, never>;
|
|
14
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-check-your-answers.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,
|
|
1
|
+
{"version":3,"file":"query-check-your-answers.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;;AAE/E,qBAKa,8BAA+B,YAAW,MAAM;IAUzD,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IACvC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IAZxB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,aAAa,CAAC;IACzB,kBAAkB,EAAE,kBAAkB,CAAC;IACtC,WAAW,wBAA+B;IACpD,sBAAsB,4BAAsB;IACnD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;gBAGL,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,YAAY,EAC1B,sBAAsB,EAAE,qBAAqB,EAC7C,qBAAqB,EAAE,qBAAqB;IAGxD,QAAQ,IAAI,IAAI;IAOhB,MAAM,IAAI,IAAI;IAId,MAAM,IAAI,IAAI;IAId,qBAAqB,IAAI,IAAI;iCA/BzB,8BAA8B;2CAA9B,8BAA8B;CAuD1C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { AbstractAppConfig } from '../../../../../app.config';
|
|
3
|
+
import { TaskSearchParameter } from '../../../../domain';
|
|
4
|
+
import { AlertService, HttpErrorService, HttpService } from '../../../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class QueryManagmentService {
|
|
7
|
+
private readonly http;
|
|
8
|
+
private readonly appConfig;
|
|
9
|
+
private readonly errorService;
|
|
10
|
+
private readonly alertService;
|
|
11
|
+
constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService, alertService: AlertService);
|
|
12
|
+
/**
|
|
13
|
+
* Call the API to complete a task.
|
|
14
|
+
* @param taskId specifies which task should be completed.
|
|
15
|
+
*/
|
|
16
|
+
completeTask(taskId: string): Observable<any>;
|
|
17
|
+
/**
|
|
18
|
+
* Call the API to get tasks matching the search criteria.
|
|
19
|
+
* @param searchRequest The search parameters that specify which tasks to match.
|
|
20
|
+
*/
|
|
21
|
+
searchTasks(searchRequest: TaskSearchParameter): Observable<object>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDef<QueryManagmentService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDef<QueryManagmentService>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=query-managment.service.d.ts.map
|
package/lib/shared/components/palette/query-management/services/query-managment.service.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-managment.service.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/services/query-managment.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAc,MAAM,MAAM,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;;AAEnF,qBAGa,qBAAqB;IAEpB,OAAO,CAAC,QAAQ,CAAC,IAAI;IAC/B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAHF,IAAI,EAAE,WAAW,EAC3B,SAAS,EAAE,iBAAiB,EAC5B,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,YAAY;IAE7C;;;OAGG;IACK,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC;IAYrD;;;OAGG;IACK,WAAW,CAAC,aAAa,EAAE,mBAAmB,GAAG,UAAU,CAAC,MAAM,CAAC;iCA3BhE,qBAAqB;qCAArB,qBAAqB;CAuCjC"}
|