@hmcts/ccd-case-ui-toolkit 7.2.23-multiple-followup → 7.2.23-srt-rc1
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/esm2022/lib/app.config.mjs +1 -2
- package/esm2022/lib/components/form/date-input/date-input.component.mjs +56 -19
- package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +3 -3
- package/esm2022/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +24 -3
- package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +6 -2
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/case-header/case-header.component.mjs +5 -5
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +9 -4
- package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +16 -3
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +20 -13
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +13 -9
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +4 -2
- package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +9 -5
- package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +3 -3
- package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +6 -6
- package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +13 -10
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +8 -8
- package/esm2022/lib/shared/components/palette/date/read-date-field.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +41 -10
- package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +7 -7
- package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +21 -25
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +21 -25
- package/esm2022/lib/shared/components/palette/palette.module.mjs +12 -3
- package/esm2022/lib/shared/components/palette/query-management/components/close-query/close-query.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +26 -15
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +50 -180
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +22 -18
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +59 -6
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +44 -11
- package/esm2022/lib/shared/components/palette/query-management/constants/query-management.constants.mjs +7 -0
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +32 -14
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/query-management/services/index.mjs +2 -1
- package/esm2022/lib/shared/components/palette/query-management/services/query-management.service.mjs +179 -0
- package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +5 -5
- package/esm2022/lib/shared/components/palette/utils/field-label.pipe.mjs +11 -3
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +1 -1
- package/esm2022/lib/shared/directives/index.mjs +2 -1
- package/esm2022/lib/shared/directives/welsh-translated-markdown/index.mjs +3 -0
- package/esm2022/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.mjs +104 -0
- package/esm2022/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.mjs +21 -0
- package/esm2022/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +2 -3
- package/esm2022/lib/shared/services/draft/draft.service.mjs +2 -2
- package/esm2022/lib/shared/services/form/field-type-sanitiser.mjs +38 -3
- package/esm2022/lib/shared/services/form/form-value.service.mjs +24 -1
- package/esm2022/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +7 -8
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +1310 -820
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/app.config.d.ts +0 -1
- package/lib/app.config.d.ts.map +1 -1
- package/lib/components/form/date-input/date-input.component.d.ts +4 -0
- package/lib/components/form/date-input/date-input.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.d.ts +1 -0
- package/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +1 -0
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts +2 -0
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts.map +1 -1
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +2 -2
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -1
- package/lib/shared/components/event-start/services/event-start-state-machine.service.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/read-collection-field.component.d.ts +3 -1
- package/lib/shared/components/palette/collection/read-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/date/read-date-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts +2 -0
- package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +18 -17
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +2 -0
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +15 -13
- 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/components/query-confirmation/query-confirmation.component.d.ts +2 -0
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +24 -3
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +12 -3
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/constants/query-management.constants.d.ts +7 -0
- package/lib/shared/components/palette/query-management/constants/query-management.constants.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/services/index.d.ts +1 -0
- package/lib/shared/components/palette/query-management/services/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/services/query-management.service.d.ts +21 -0
- package/lib/shared/components/palette/query-management/services/query-management.service.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/field-label.pipe.d.ts +1 -0
- package/lib/shared/components/palette/utils/field-label.pipe.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts.map +1 -1
- package/lib/shared/directives/index.d.ts +1 -0
- package/lib/shared/directives/index.d.ts.map +1 -1
- package/lib/shared/directives/welsh-translated-markdown/index.d.ts +3 -0
- package/lib/shared/directives/welsh-translated-markdown/index.d.ts.map +1 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts +76 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts.map +1 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts +8 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts.map +1 -0
- package/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.d.ts.map +1 -1
- package/lib/shared/services/form/field-type-sanitiser.d.ts +5 -0
- package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
- package/lib/shared/services/form/form-value.service.d.ts +1 -0
- package/lib/shared/services/form/form-value.service.d.ts.map +1 -1
- package/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,13 +3,14 @@ import { FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { CaseEventTrigger, CaseView, ErrorMessage } from '../../../../../../../lib/shared/domain';
|
|
6
|
-
import { SessionStorageService } from '../../../../../services';
|
|
7
6
|
import { EventCompletionParams } from '../../../../case-editor/domain/event-completion-params.model';
|
|
8
7
|
import { CaseNotifier, CasesService, WorkAllocationService } from '../../../../case-editor/services';
|
|
9
|
-
import { CaseQueriesCollection, QueryCreateContext, QueryListItem } from '../../models';
|
|
8
|
+
import { CaseQueriesCollection, QmCaseQueriesCollection, QueryCreateContext, QueryListItem } from '../../models';
|
|
10
9
|
import { FormDocument } from '../../../../../../../lib/shared/domain/document';
|
|
11
10
|
import { QualifyingQuestionService } from '../../services/qualifying-question.service';
|
|
12
11
|
import { Task } from '../../../../../domain/work-allocation/Task';
|
|
12
|
+
import { QueryManagementService } from '../../services/query-management.service';
|
|
13
|
+
import { AlertService, ErrorNotifierService } from '../../../../../services';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare class QueryCheckYourAnswersComponent implements OnInit, OnDestroy {
|
|
15
16
|
private readonly route;
|
|
@@ -17,21 +18,28 @@ export declare class QueryCheckYourAnswersComponent implements OnInit, OnDestroy
|
|
|
17
18
|
private readonly casesService;
|
|
18
19
|
private readonly caseNotifier;
|
|
19
20
|
private readonly workAllocationService;
|
|
20
|
-
private readonly sessionStorageService;
|
|
21
21
|
private readonly qualifyingQuestionService;
|
|
22
|
+
private queryManagementService;
|
|
23
|
+
private readonly errorNotifierService;
|
|
24
|
+
private readonly alertService;
|
|
22
25
|
private readonly RAISE_A_QUERY_EVENT_TRIGGER_ID;
|
|
23
26
|
private readonly RESPOND_TO_QUERY_EVENT_TRIGGER_ID;
|
|
24
27
|
private readonly CASE_QUERIES_COLLECTION_ID;
|
|
28
|
+
static readonly TRIGGER_TEXT_CONTINUE = "Ignore Warning and Continue";
|
|
29
|
+
static readonly TRIGGER_TEXT_START = "Continue";
|
|
25
30
|
readonly FIELD_TYPE_COMPLEX = "Complex";
|
|
26
31
|
readonly DISPLAY_CONTEXT_READONLY = "READONLY";
|
|
27
32
|
readonly QM_SELECT_FIRST_COLLECTION = "selectFirstCollection";
|
|
28
33
|
readonly QM_COLLECTION_PROMPT = "promptQmCollection";
|
|
29
34
|
readonly CIVIL_JURISDICTION = "CIVIL";
|
|
35
|
+
triggerTextStart: string;
|
|
36
|
+
triggerTextIgnoreWarnings: string;
|
|
30
37
|
formGroup: FormGroup;
|
|
31
38
|
queryItem: QueryListItem;
|
|
32
39
|
queryCreateContext: QueryCreateContext;
|
|
33
40
|
eventData: CaseEventTrigger | null;
|
|
34
41
|
multipleFollowUpFeature: boolean;
|
|
42
|
+
qmCaseQueriesCollectionData: QmCaseQueriesCollection;
|
|
35
43
|
backClicked: EventEmitter<boolean>;
|
|
36
44
|
querySubmitted: EventEmitter<boolean>;
|
|
37
45
|
callbackConfirmationMessage: EventEmitter<{
|
|
@@ -52,9 +60,10 @@ export declare class QueryCheckYourAnswersComponent implements OnInit, OnDestroy
|
|
|
52
60
|
filteredTasks: Task[];
|
|
53
61
|
readyToSubmit: boolean;
|
|
54
62
|
isSubmitting: boolean;
|
|
63
|
+
messageId: string;
|
|
55
64
|
callbackErrorsSubject: Subject<any>;
|
|
56
65
|
error: any;
|
|
57
|
-
constructor(route: ActivatedRoute, router: Router, casesService: CasesService, caseNotifier: CaseNotifier, workAllocationService: WorkAllocationService,
|
|
66
|
+
constructor(route: ActivatedRoute, router: Router, casesService: CasesService, caseNotifier: CaseNotifier, workAllocationService: WorkAllocationService, qualifyingQuestionService: QualifyingQuestionService, queryManagementService: QueryManagementService, errorNotifierService: ErrorNotifierService, alertService: AlertService);
|
|
58
67
|
ngOnInit(): void;
|
|
59
68
|
ngOnDestroy(): void;
|
|
60
69
|
goBack(): void;
|
|
@@ -62,17 +71,10 @@ export declare class QueryCheckYourAnswersComponent implements OnInit, OnDestroy
|
|
|
62
71
|
private createEvent;
|
|
63
72
|
private finaliseSubmission;
|
|
64
73
|
private handleError;
|
|
65
|
-
private generateCaseQueriesCollectionData;
|
|
66
|
-
setCaseQueriesCollectionData(): void;
|
|
67
|
-
private extractCaseQueryId;
|
|
68
|
-
private setMessageFieldId;
|
|
69
|
-
private isNewQueryContext;
|
|
70
|
-
private handleMultipleCollections;
|
|
71
|
-
private getCaseQueriesCollectionFieldOrderFromWizardPages;
|
|
72
|
-
private getCollectionSelectionMethod;
|
|
73
74
|
private getDocumentAttachments;
|
|
74
75
|
isServiceErrorFound(error: any): boolean;
|
|
76
|
+
setCaseQueriesCollectionData(): void;
|
|
75
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryCheckYourAnswersComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueryCheckYourAnswersComponent, "ccd-query-check-your-answers", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "queryItem": { "alias": "queryItem"; "required": false; }; "queryCreateContext": { "alias": "queryCreateContext"; "required": false; }; "eventData": { "alias": "eventData"; "required": false; }; "multipleFollowUpFeature": { "alias": "multipleFollowUpFeature"; "required": false; }; }, { "backClicked": "backClicked"; "querySubmitted": "querySubmitted"; "callbackConfirmationMessage": "callbackConfirmationMessage"; }, never, never, false, never>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueryCheckYourAnswersComponent, "ccd-query-check-your-answers", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "queryItem": { "alias": "queryItem"; "required": false; }; "queryCreateContext": { "alias": "queryCreateContext"; "required": false; }; "eventData": { "alias": "eventData"; "required": false; }; "multipleFollowUpFeature": { "alias": "multipleFollowUpFeature"; "required": false; }; "qmCaseQueriesCollectionData": { "alias": "qmCaseQueriesCollectionData"; "required": false; }; }, { "backClicked": "backClicked"; "querySubmitted": "querySubmitted"; "callbackConfirmationMessage": "callbackConfirmationMessage"; }, never, never, false, never>;
|
|
77
79
|
}
|
|
78
80
|
//# sourceMappingURL=query-check-your-answers.component.d.ts.map
|
|
@@ -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,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAc,OAAO,EAAgB,MAAM,MAAM,CAAC;AAEzD,OAAO,EACL,gBAAgB,
|
|
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,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAc,OAAO,EAAgB,MAAM,MAAM,CAAC;AAEzD,OAAO,EACL,gBAAgB,EAChB,QAAQ,EAER,YAAY,EAEb,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8DAA8D,CAAC;AACrG,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACrG,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEjH,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAE,IAAI,EAAE,MAAM,4CAA4C,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EACL,YAAY,EACZ,oBAAoB,EACrB,MAAM,yBAAyB,CAAC;;AAEjC,qBA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B,CAAe;IAEvC,sBAAsB,4BAAsB;IAC5C,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,YAAY,EAAE,CAAC;IAE5B,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,aAAa,EAAE,IAAI,EAAE,CAAM;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,OAAO,CAAS;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,EAAE,OAAO,CAAC,GAAG,CAAC,CAAiB;IAEpD,KAAK,EAAE,GAAG,CAAC;gBAGC,KAAK,EAAE,cAAc,EACrB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,qBAAqB,EAAE,qBAAqB,EAC5C,yBAAyB,EAAE,yBAAyB,EAC7D,sBAAsB,EAAE,sBAAsB,EACrC,oBAAoB,EAAE,oBAAoB,EAC1C,YAAY,EAAE,YAAY;IAGtC,QAAQ,IAAI,IAAI;IA+DhB,WAAW,IAAI,IAAI;IAMnB,MAAM,IAAI,IAAI;IAId,MAAM,IAAI,IAAI;IAqDrB,OAAO,CAAC,WAAW;IAanB,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,WAAW;IAkBnB,OAAO,CAAC,sBAAsB;IAQvB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO;IAIxC,4BAA4B,IAAI,IAAI;yCA5OhC,8BAA8B;2CAA9B,8BAA8B;CAwP1C"}
|
|
@@ -9,6 +9,8 @@ export declare class QueryConfirmationComponent implements OnInit {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
};
|
|
11
11
|
caseId: string;
|
|
12
|
+
jurisdiction: string;
|
|
13
|
+
caseType: string;
|
|
12
14
|
queryCreateContextEnum: typeof QueryCreateContext;
|
|
13
15
|
constructor(route: ActivatedRoute);
|
|
14
16
|
ngOnInit(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-confirmation.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;;AAE5E,qBAIa,0BAA2B,YAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"query-confirmation.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;;AAE5E,qBAIa,0BAA2B,YAAW,MAAM;IAS3C,OAAO,CAAC,QAAQ,CAAC,KAAK;IARlB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,+BAA+B,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAM;IAEzE,MAAM,SAAM;IACZ,YAAY,SAAM;IAClB,QAAQ,SAAM;IACd,sBAAsB,4BAAsB;gBAEtB,KAAK,EAAE,cAAc;IAG3C,QAAQ,IAAI,IAAI;yCAZZ,0BAA0B;2CAA1B,0BAA0B;CAiBtC"}
|
|
@@ -1,16 +1,37 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
1
2
|
import { FormGroup } from '@angular/forms';
|
|
2
3
|
import { RaiseQueryErrorMessage } from '../../../enums';
|
|
4
|
+
import { CaseEventData, CaseEventTrigger, CaseView } from '../../../../../../../../lib/shared/domain';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { QmCaseQueriesCollection, QueryCreateContext, QueryListItem } from '../../../models';
|
|
7
|
+
import { EventCompletionParams } from '../../../../../case-editor/domain/event-completion-params.model';
|
|
8
|
+
import { QueryManagementService } from '../../../services';
|
|
9
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
10
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class QueryWriteRaiseQueryComponent {
|
|
11
|
+
export declare class QueryWriteRaiseQueryComponent implements OnChanges {
|
|
12
|
+
private queryManagementService;
|
|
13
|
+
private readonly route;
|
|
5
14
|
formGroup: FormGroup;
|
|
6
15
|
submitted: boolean;
|
|
7
|
-
caseDetails:
|
|
16
|
+
caseDetails: CaseView;
|
|
8
17
|
showForm: boolean;
|
|
9
18
|
serviceMessage: string | null;
|
|
19
|
+
queryCreateContext: QueryCreateContext;
|
|
20
|
+
eventData: CaseEventTrigger | null;
|
|
21
|
+
queryItem: QueryListItem;
|
|
22
|
+
validate: (caseEventData: CaseEventData, pageId: string) => Observable<object>;
|
|
23
|
+
triggerSubmission: boolean;
|
|
24
|
+
queryDataCreated: EventEmitter<QmCaseQueriesCollection>;
|
|
10
25
|
raiseQueryErrorMessage: typeof RaiseQueryErrorMessage;
|
|
26
|
+
eventCompletionParams: EventCompletionParams;
|
|
27
|
+
messageId: string;
|
|
28
|
+
constructor(queryManagementService: QueryManagementService, route: ActivatedRoute);
|
|
29
|
+
ngOnChanges(): void;
|
|
11
30
|
onSubjectInput(): void;
|
|
12
31
|
getSubjectErrorMessage(): string;
|
|
32
|
+
setCaseQueriesCollectionData(): boolean;
|
|
33
|
+
private generateCaseQueriesCollectionData;
|
|
13
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryWriteRaiseQueryComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueryWriteRaiseQueryComponent, "ccd-query-write-raise-query", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "caseDetails": { "alias": "caseDetails"; "required": false; }; "showForm": { "alias": "showForm"; "required": false; }; "serviceMessage": { "alias": "serviceMessage"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueryWriteRaiseQueryComponent, "ccd-query-write-raise-query", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "caseDetails": { "alias": "caseDetails"; "required": false; }; "showForm": { "alias": "showForm"; "required": false; }; "serviceMessage": { "alias": "serviceMessage"; "required": false; }; "queryCreateContext": { "alias": "queryCreateContext"; "required": false; }; "eventData": { "alias": "eventData"; "required": false; }; "queryItem": { "alias": "queryItem"; "required": false; }; "validate": { "alias": "validate"; "required": false; }; "triggerSubmission": { "alias": "triggerSubmission"; "required": false; }; }, { "queryDataCreated": "queryDataCreated"; }, never, never, false, never>;
|
|
15
36
|
}
|
|
16
37
|
//# sourceMappingURL=query-write-raise-query.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-write-raise-query.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-write-raise-query.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAU,MAAM,eAAe,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,QAAQ,EACT,MAAM,2CAA2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core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { CaseEventTrigger } from '../../../../../../../../lib/shared/domain';
|
|
4
5
|
import { CaseNotifier } from '../../../../../case-editor/services';
|
|
5
6
|
import { RaiseQueryErrorMessage } from '../../../enums';
|
|
6
|
-
import { CaseQueriesCollection, QueryCreateContext, QueryListItem } from '../../../models';
|
|
7
|
+
import { CaseQueriesCollection, QmCaseQueriesCollection, QueryCreateContext, QueryListItem } from '../../../models';
|
|
8
|
+
import { QueryManagementService } from '../../../services';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class QueryWriteRespondToQueryComponent implements OnInit, OnChanges {
|
|
9
11
|
private readonly caseNotifier;
|
|
10
12
|
private readonly route;
|
|
13
|
+
private queryManagementService;
|
|
11
14
|
queryItem: QueryListItem;
|
|
12
15
|
formGroup: FormGroup;
|
|
13
16
|
queryCreateContext: QueryCreateContext;
|
|
14
17
|
submitted: boolean;
|
|
15
18
|
caseQueriesCollections: CaseQueriesCollection[];
|
|
16
19
|
showForm: any;
|
|
20
|
+
triggerSubmission: boolean;
|
|
21
|
+
eventData: CaseEventTrigger | null;
|
|
22
|
+
queryDataCreated: EventEmitter<QmCaseQueriesCollection>;
|
|
17
23
|
hasRespondedToQueryTask: EventEmitter<boolean>;
|
|
18
24
|
readonly queryCreateContextEnum: typeof QueryCreateContext;
|
|
19
25
|
readonly raiseQueryErrorMessages: typeof RaiseQueryErrorMessage;
|
|
@@ -23,13 +29,16 @@ export declare class QueryWriteRespondToQueryComponent implements OnInit, OnChan
|
|
|
23
29
|
queryResponseStatus: string;
|
|
24
30
|
queryListData: QueryListItem | undefined;
|
|
25
31
|
hasRespondedToQuery: boolean;
|
|
32
|
+
messageId: string;
|
|
26
33
|
private static readonly QUERY_ITEM_RESPOND;
|
|
27
34
|
private static readonly QUERY_ITEM_FOLLOWUP;
|
|
28
|
-
constructor(caseNotifier: CaseNotifier, route: ActivatedRoute);
|
|
35
|
+
constructor(caseNotifier: CaseNotifier, route: ActivatedRoute, queryManagementService: QueryManagementService);
|
|
29
36
|
ngOnInit(): void;
|
|
30
37
|
ngOnChanges(): void;
|
|
31
38
|
hasResponded(value: boolean): void;
|
|
39
|
+
setCaseQueriesCollectionData(): boolean;
|
|
40
|
+
private generateCaseQueriesCollectionData;
|
|
32
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryWriteRespondToQueryComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QueryWriteRespondToQueryComponent, "ccd-query-write-respond-to-query", never, { "queryItem": { "alias": "queryItem"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "queryCreateContext": { "alias": "queryCreateContext"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "caseQueriesCollections": { "alias": "caseQueriesCollections"; "required": false; }; "showForm": { "alias": "showForm"; "required": false; }; }, { "hasRespondedToQueryTask": "hasRespondedToQueryTask"; }, never, never, false, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueryWriteRespondToQueryComponent, "ccd-query-write-respond-to-query", never, { "queryItem": { "alias": "queryItem"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "queryCreateContext": { "alias": "queryCreateContext"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "caseQueriesCollections": { "alias": "caseQueriesCollections"; "required": false; }; "showForm": { "alias": "showForm"; "required": false; }; "triggerSubmission": { "alias": "triggerSubmission"; "required": false; }; "eventData": { "alias": "eventData"; "required": false; }; }, { "queryDataCreated": "queryDataCreated"; "hasRespondedToQueryTask": "hasRespondedToQueryTask"; }, never, never, false, never>;
|
|
34
43
|
}
|
|
35
44
|
//# sourceMappingURL=query-write-respond-to-query.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-write-respond-to-query.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAiB,aAAa,EAAE,MAAM,iBAAiB,CAAC;;
|
|
1
|
+
{"version":3,"file":"query-write-respond-to-query.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EACL,gBAAgB,EACjB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,kBAAkB,EAAiB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACnI,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;;AAC3D,qBAMa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IA2B7D,OAAO,CAAC,QAAQ,CAAC,YAAY;IACvC,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,sBAAsB;IA5BhB,SAAS,EAAE,aAAa,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,SAAS,UAAS;IAClB,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAChD,QAAQ,MAAC;IACT,iBAAiB,EAAE,OAAO,CAAC;IAC3B,SAAS,EAAE,gBAAgB,GAAG,IAAI,CAAQ;IAEzC,gBAAgB,wCAAgD;IAChE,uBAAuB,EAAE,YAAY,CAAC,OAAO,CAAC,CAAsB;IAErF,SAAgB,sBAAsB,4BAAsB;IAC5D,SAAgB,uBAAuB,gCAA0B;IAC1D,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,MAAC;IACZ,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IAEzC,mBAAmB,EAAE,OAAO,CAAS;IACrC,SAAS,EAAE,MAAM,CAAC;IAEzB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAO;IACjD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAAO;gBAErB,YAAY,EAAE,YAAY,EACpC,KAAK,EAAE,cAAc,EAC9B,sBAAsB,EAAE,sBAAsB;IAEjD,QAAQ,IAAI,IAAI;IAahB,WAAW,IAAI,IAAI;IAiDnB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAKlC,4BAA4B,IAAI,OAAO;IAgB9C,OAAO,CAAC,iCAAiC;yCAlH9B,iCAAiC;2CAAjC,iCAAiC;CA0H7C"}
|
package/lib/shared/components/palette/query-management/constants/query-management.constants.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const CASE_QUERIES_COLLECTION_ID = "CaseQueriesCollection";
|
|
2
|
+
export declare const FIELD_TYPE_COMPLEX = "Complex";
|
|
3
|
+
export declare const DISPLAY_CONTEXT_READONLY = "READONLY";
|
|
4
|
+
export declare const QM_SELECT_FIRST_COLLECTION = "selectFirstCollection";
|
|
5
|
+
export declare const QM_COLLECTION_PROMPT = "promptQmCollection";
|
|
6
|
+
export declare const CIVIL_JURISDICTION = "CIVIL";
|
|
7
|
+
//# sourceMappingURL=query-management.constants.d.ts.map
|
package/lib/shared/components/palette/query-management/constants/query-management.constants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-management.constants.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/constants/query-management.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAClE,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAC5C,eAAO,MAAM,wBAAwB,aAAa,CAAC;AACnD,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAClE,eAAO,MAAM,oBAAoB,uBAAuB,CAAC;AACzD,eAAO,MAAM,kBAAkB,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-list-item.model.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAExF,qBAAa,aAAc,YAAW,WAAW;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAM;IAC1C,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,aAAa,EAAE,CAAM;IAE/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEnD,IAAW,oBAAoB,IAAI,aAAa,CAe/C;IAED,IAAW,eAAe,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"query-list-item.model.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAExF,qBAAa,aAAc,YAAW,WAAW;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,oBAAoB,EAAE,CAAM;IAC1C,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,aAAa,EAAE,CAAM;IAE/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEnD,IAAW,oBAAoB,IAAI,aAAa,CAe/C;IAED,IAAW,eAAe,IAAI,MAAM,CAOnC;IAED,IAAW,iBAAiB,IAAI,IAAI,CA4CnC;IAED,IAAW,cAAc,IAAI,MAAM,CAElC;IAED,IAAW,gBAAgB,IAAI,IAAI,GAAG,IAAI,CAuBzC;IAED,IAAW,cAAc,IAAI,uBAAuB,CAqCnD;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { CaseEventTrigger, CaseView } from '../../../../../../lib/shared/domain';
|
|
3
|
+
import { QmCaseQueriesCollection, QueryCreateContext, QueryListItem, CaseQueriesCollection } from '../models';
|
|
4
|
+
import { SessionStorageService } from '../../../../services';
|
|
5
|
+
import { FormGroup } from '@angular/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class QueryManagementService {
|
|
8
|
+
private readonly router;
|
|
9
|
+
private readonly sessionStorageService;
|
|
10
|
+
caseQueriesCollections: CaseQueriesCollection[];
|
|
11
|
+
fieldId: string;
|
|
12
|
+
constructor(router: Router, sessionStorageService: SessionStorageService);
|
|
13
|
+
generateCaseQueriesCollectionData(formGroup: FormGroup, queryCreateContext: QueryCreateContext, queryItem: QueryListItem, messageId?: string): QmCaseQueriesCollection;
|
|
14
|
+
setCaseQueriesCollectionData(eventData: CaseEventTrigger, queryCreateContext: QueryCreateContext, caseDetails: CaseView, messageId?: string): void;
|
|
15
|
+
private resolveFieldId;
|
|
16
|
+
private getCaseQueriesCollectionFieldOrderFromWizardPages;
|
|
17
|
+
private getCollectionSelectionMethod;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryManagementService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryManagementService>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=query-management.service.d.ts.map
|
package/lib/shared/components/palette/query-management/services/query-management.service.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-management.service.d.ts","sourceRoot":"","sources":["../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/query-management/services/query-management.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAa,gBAAgB,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC9G,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAW7D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;;AAE3C,qBAEa,sBAAsB;IAK/B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IALjC,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAChD,OAAO,EAAE,MAAM,CAAC;gBAGJ,MAAM,EAAE,MAAM,EACd,qBAAqB,EAAE,qBAAqB;IAGxD,iCAAiC,CACtC,SAAS,EAAE,SAAS,EACpB,kBAAkB,EAAE,kBAAkB,EACtC,SAAS,EAAE,aAAa,EACxB,SAAS,CAAC,EAAE,MAAM,GACjB,uBAAuB;IAoFnB,4BAA4B,CACjC,SAAS,EAAE,gBAAgB,EAC3B,kBAAkB,EAAE,kBAAkB,EACtC,WAAW,EAAE,QAAQ,EACrB,SAAS,CAAC,EAAE,MAAM,GACjB,IAAI;IAqBP,OAAO,CAAC,cAAc;IAyDtB,OAAO,CAAC,iDAAiD;IA0BzD,OAAO,CAAC,4BAA4B;yCA/MzB,sBAAsB;6CAAtB,sBAAsB;CAkNlC"}
|
|
@@ -6,6 +6,7 @@ export declare class FieldLabelPipe implements PipeTransform {
|
|
|
6
6
|
private readonly rpxTranslationPipe;
|
|
7
7
|
constructor(rpxTranslationPipe: RpxTranslatePipe);
|
|
8
8
|
transform(field: CaseField): string;
|
|
9
|
+
private getTranslatedLabel;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldLabelPipe, never>;
|
|
10
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<FieldLabelPipe, "ccdFieldLabel", false>;
|
|
11
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-label.pipe.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/utils/field-label.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;;AAExE,qBAIa,cAAe,YAAW,aAAa;IAGhD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"field-label.pipe.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/utils/field-label.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;;AAExE,qBAIa,cAAe,YAAW,aAAa;IAGhD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,gBAAgB;IAIhD,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM;IAU1C,OAAO,CAAC,kBAAkB;yCAjBf,cAAc;uCAAd,cAAc;CAwB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-result.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/search-result/search-result.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,aAAa,EAAE,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EACL,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"search-result.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/search-result/search-result.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,aAAa,EAAE,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EACL,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAClB,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,sBAAsB,EACnG,oBAAoB,EAAE,8BAA8B,EAAE,SAAS,EAAE,cAAc,EAChF,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,qCAAqC,EAAE,qBAAqB,EAAe,MAAM,gBAAgB,CAAC;;AAE5I,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AAoB,GAAG,SAAS;IAM7E,UAAU,IAAI,GAAG;IAIjB,SAAS,IAAI,OAAO;IAIpB,UAAU,CAAC,MAAM,EAAE,sBAAsB,GAAG,8BAA8B;IAI1E,IAAI,CAAC,MAAM,EAAE,sBAAsB;IAuBnC,UAAU,CAAC,MAAM,EAAE,sBAAsB;IAazC,eAAe,IAAI,OAAO;IAI1B,6BAA6B,CAAC,GAAG,KAAA,EAAE,MAAM,KAAA,GAAG,GAAG;IAgB/C,gBAAgB,CAAC,GAAG,KAAA,EAAE,MAAM,KAAA,GAAG,GAAG;IAIlC,eAAe,CAAC,MAAM,EAAE,sBAAsB,GAAG,OAAO;IAQxD,cAAc,IAAI,MAAM;IAKxB,aAAa,IAAI,MAAM;IAKvB,eAAe,IAAI,MAAM;IAMzB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM;IASjD,OAAO,CAAC,0BAA0B;IAIlC,OAAO,CAAC,cAAc;IAIf,QAAQ,CAAC,MAAM,EAAE,MAAM;IAMvB,OAAO,CAAC,MAAM,EAAE,aAAa,EAAE,CAAC,EAAE,oBAAoB,GAAG,IAAI;IASpE,IAAI,IAAI,IAAI;yCA/aD,qBAAqB;2CAArB,qBAAqB;CAgbjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/welsh-translated-markdown/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC"}
|
package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { RpxTranslationService } from 'rpx-xui-translation';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @directive TranslatedMarkdownDirective
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* Structural directive that emits language-appropriate markdown content based on the user's UI language.
|
|
9
|
+
* It is designed for service-supplied content that optionally includes a Welsh (`markdown_cy`) version.
|
|
10
|
+
*
|
|
11
|
+
* The directive:
|
|
12
|
+
* - Emits `markdown_cy` if the UI language is Welsh and the field exists
|
|
13
|
+
* - Emits `markdown` otherwise (no translation is applied within the directive)
|
|
14
|
+
* - Leaves it up to the consuming template to apply fallback translation (e.g. via `rpxTranslate`)
|
|
15
|
+
*
|
|
16
|
+
* This allows cleaner templates and better separation of content choice vs. translation logic.
|
|
17
|
+
*
|
|
18
|
+
* @usage
|
|
19
|
+
* ```html
|
|
20
|
+
* <div *ngFor="let qq of qualifyingQuestions">
|
|
21
|
+
* <ng-container *translatedMarkdown="qq; let content">
|
|
22
|
+
* <markdown [data]="qq ? content : (qq.markdown | rpxTranslate)"></markdown>
|
|
23
|
+
* </ng-container>
|
|
24
|
+
* </div>
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @input dataItem - An object expected to contain:
|
|
28
|
+
* - `markdown` (string): the default English content
|
|
29
|
+
* - `markdown_cy` (string | optional): the Welsh version of the content
|
|
30
|
+
* - Any additional metadata used in context
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* // --- LaunchDarkly JSON format ---
|
|
34
|
+
* {
|
|
35
|
+
* "UNSPEC_CLAIM": [
|
|
36
|
+
* {
|
|
37
|
+
* "name": "Raise a query",
|
|
38
|
+
* "url": "http://...",
|
|
39
|
+
* "markdown": "### Raise a query\nUse this to raise a new query.",
|
|
40
|
+
* "markdown_cy": "### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd."
|
|
41
|
+
* }
|
|
42
|
+
* ]
|
|
43
|
+
* }
|
|
44
|
+
*
|
|
45
|
+
* // --- Input object in component after processing ---
|
|
46
|
+
* const dataItem = {
|
|
47
|
+
* name: 'Raise a query',
|
|
48
|
+
* url: 'http://...',
|
|
49
|
+
* markdown: '### Raise a query\nUse this to raise a new query.',
|
|
50
|
+
* markdown_cy: '### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd.'
|
|
51
|
+
* };
|
|
52
|
+
*
|
|
53
|
+
* // --- Template usage ---
|
|
54
|
+
* <ng-container *translatedMarkdown="dataItem; let content">
|
|
55
|
+
* <markdown [data]="dataItem ? content : (dataItem.markdown | rpxTranslate)"></markdown>
|
|
56
|
+
* </ng-container>
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* @directive TranslatedMarkdownDirective
|
|
60
|
+
*
|
|
61
|
+
* Renders Welsh markdown (`markdown_cy`) if the UI language is Welsh,
|
|
62
|
+
* otherwise uses English (`markdown`). Reactively updates when the language changes.
|
|
63
|
+
*/
|
|
64
|
+
export declare class TranslatedMarkdownDirective implements OnInit, OnDestroy {
|
|
65
|
+
private viewContainer;
|
|
66
|
+
private templateRef;
|
|
67
|
+
private translationService;
|
|
68
|
+
dataItem: any;
|
|
69
|
+
private subscription;
|
|
70
|
+
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, translationService: RpxTranslationService);
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatedMarkdownDirective, never>;
|
|
74
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslatedMarkdownDirective, "[translatedMarkdown]", never, { "dataItem": { "alias": "translatedMarkdown"; "required": false; }; }, {}, never, never, false, never>;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=welsh-translated-markdown.directive.d.ts.map
|
package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"welsh-translated-markdown.directive.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,MAAM,EACN,WAAW,EACX,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;;AAG5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH;;;;;GAKG;AACH,qBAGa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IAMjE,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,kBAAkB;IAPC,QAAQ,EAAE,GAAG,CAAC;IAE3C,OAAO,CAAC,YAAY,CAAe;gBAGzB,aAAa,EAAE,gBAAgB,EAC/B,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,EAC7B,kBAAkB,EAAE,qBAAqB;IAGnD,QAAQ,IAAI,IAAI;IAgBhB,WAAW,IAAI,IAAI;yCA3BR,2BAA2B;2CAA3B,2BAA2B;CA8BvC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./welsh-translated-markdown.directive";
|
|
3
|
+
export declare class TranslatedMarkdownModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatedMarkdownModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TranslatedMarkdownModule, [typeof i1.TranslatedMarkdownDirective], never, [typeof i1.TranslatedMarkdownDirective]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TranslatedMarkdownModule>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=welsh-translated-markdown.module.d.ts.map
|
package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"welsh-translated-markdown.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.ts"],"names":[],"mappings":";;AAGA,qBAQa,wBAAwB;yCAAxB,wBAAwB;0CAAxB,wBAAwB;0CAAxB,wBAAwB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sort-search-result.pipe.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"sort-search-result.pipe.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;;AAEhF,qBAGa,oBAAqB,YAAW,aAAa;IAEjD,SAAS,CAAC,aAAa,EAAE,oBAAoB,EAAE,EAAE,cAAc,EAAE,cAAc;yCAF3E,oBAAoB;uCAApB,oBAAoB;CAehC"}
|
|
@@ -8,6 +8,7 @@ export declare class FieldTypeSanitiser {
|
|
|
8
8
|
static readonly FIELD_TYPE_DYNAMIC_RADIO_LIST: FieldTypeEnum;
|
|
9
9
|
static readonly FIELD_TYPE_DYNAMIC_MULTISELECT_LIST: FieldTypeEnum;
|
|
10
10
|
static readonly DYNAMIC_LIST_TYPE: FieldTypeEnum[];
|
|
11
|
+
static readonly DATE_FORMAT: RegExp;
|
|
11
12
|
/**
|
|
12
13
|
* This method finds dynamiclists in a form and replaces their string
|
|
13
14
|
* values, with a JSON object, as below:
|
|
@@ -23,6 +24,10 @@ export declare class FieldTypeSanitiser {
|
|
|
23
24
|
* @param data The data in the form.
|
|
24
25
|
*/
|
|
25
26
|
sanitiseLists(caseFields: CaseField[], data: any): void;
|
|
27
|
+
synchronizeCasefieldWithData(caseField: CaseField, data: any): void;
|
|
28
|
+
updateFieldValues(caseFieldValue: any, dataValue: any): void;
|
|
29
|
+
updateObjectValue(formattedObject: any, dataObject: any): void;
|
|
30
|
+
updatePrimitiveValue(caseFieldValue: any, key: string, dataValue: any): void;
|
|
26
31
|
ensureDynamicMultiSelectListPopulated(caseFields: CaseField[]): CaseField[];
|
|
27
32
|
private checkNestedDynamicList;
|
|
28
33
|
private isDynamicList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-type-sanitiser.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/field-type-sanitiser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;;
|
|
1
|
+
{"version":3,"file":"field-type-sanitiser.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/field-type-sanitiser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;;AAG9E,qBACa,kBAAkB;IAC7B,gBAAuB,kBAAkB,EAAE,aAAa,CAAa;IACrE,gBAAuB,qBAAqB,EAAE,aAAa,CAAgB;IAC3E,gBAAuB,uBAAuB,EAAE,aAAa,CAAiB;IAC9E,gBAAuB,6BAA6B,EAAE,aAAa,CAAsB;IACzF,gBAAuB,mCAAmC,EAAE,aAAa,CAA4B;IACrG,gBAAuB,iBAAiB,EAAE,aAAa,EAAE,CAAiE;IAC1H,gBAAuB,WAAW,SAAkD;IACpF;;;;;;;;;;;;;OAaG;IACI,aAAa,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG;IAgChD,4BAA4B,CAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,GAAG,IAAI;IAUnE,iBAAiB,CAAC,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,IAAI;IAY5D,iBAAiB,CAAC,eAAe,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,IAAI;IAO9D,oBAAoB,CAAC,cAAc,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,GAAG,IAAI;IAM5E,qCAAqC,CAAC,UAAU,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE;IAsBlF,OAAO,CAAC,sBAAsB;IAa9B,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,+BAA+B;IAavC,OAAO,CAAC,gCAAgC;IAcxC,OAAO,CAAC,YAAY;yCA3JT,kBAAkB;6CAAlB,kBAAkB;CAsK9B"}
|
|
@@ -129,6 +129,7 @@ export declare class FormValueService {
|
|
|
129
129
|
private sanitiseArray;
|
|
130
130
|
private sanitiseValue;
|
|
131
131
|
clearNonCaseFields(data: object, caseFields: CaseField[]): void;
|
|
132
|
+
checkValuesSetInCollection(caseField: any, data: any): any;
|
|
132
133
|
removeNullLabels(data: object, caseFields: CaseField[]): void;
|
|
133
134
|
removeEmptyDocuments(data: object, caseFields: CaseField[]): void;
|
|
134
135
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-value.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/form-value.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;;AAE5D,qBACa,gBAAgB;IA8Lf,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IA7L/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmGG;WACW,aAAa,CAAC,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAiBpD;;;OAGG;WACW,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAqBtD,OAAO,CAAC,MAAM,CAAC,UAAU;IAIzB,OAAO,CAAC,MAAM,CAAC,UAAU;IAIzB,OAAO,CAAC,MAAM,CAAC,OAAO;IAQtB,OAAO,CAAC,MAAM,CAAC,WAAW;IAkB1B;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;gBAOJ,kBAAkB,EAAE,kBAAkB;IAG5D,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAIlC,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAShD,uBAAuB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG;IAUpE,oBAAoB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG;IAIxE,OAAO,CAAC,cAAc;IA6BtB,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,aAAa;
|
|
1
|
+
{"version":3,"file":"form-value.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/form-value.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;;AAE5D,qBACa,gBAAgB;IA8Lf,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IA7L/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmGG;WACW,aAAa,CAAC,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAiBpD;;;OAGG;WACW,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAqBtD,OAAO,CAAC,MAAM,CAAC,UAAU;IAIzB,OAAO,CAAC,MAAM,CAAC,UAAU;IAIzB,OAAO,CAAC,MAAM,CAAC,OAAO;IAQtB,OAAO,CAAC,MAAM,CAAC,WAAW;IAkB1B;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;gBAOJ,kBAAkB,EAAE,kBAAkB;IAG5D,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAIlC,qBAAqB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAShD,uBAAuB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG;IAUpE,oBAAoB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG;IAIxE,OAAO,CAAC,cAAc;IA6BtB,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,aAAa;IAqBd,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;IAQxD,0BAA0B,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAG,GAAG;IAuB1D,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;IAwCtD,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE;IAwCjE;;;;;;;;OAQG;IACI,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,UAAU,UAAQ,EAAE,YAAY,UAAQ,EAC5G,gBAAgB,UAAQ,EAAE,qBAAqB,QAAK,GAAG,IAAI;IAmEtD,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS;IAUjE;;;;;;OAMG;IACI,uCAAuC,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,IAAI;IAW3F;;;;;;;;OAQG;IACI,sBAAsB,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,IAAI;IASlG;;;;;;;;;;OAUG;IACI,qCAAqC,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,IAAI;IA6BzF;;;;;OAKG;IACI,wCAAwC,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,IAAI;yCAzjBjF,gBAAgB;6CAAhB,gBAAgB;CAmkB5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-result-view-item-comparator-factory.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-result-view-item-comparator-factory.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAEhG,OAAO,EAAE,8BAA8B,EAAE,MAAM,mEAAmE,CAAC;;AAEnH,qBACa,qCAAqC;IACzC,oCAAoC,CAAC,MAAM,EAAE,sBAAsB,GAAG,8BAA8B;IA4B3G,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,mBAAmB;yCArDhB,qCAAqC;6CAArC,qCAAqC;CAgEjD"}
|