@hmcts/ccd-case-ui-toolkit 7.2.26-multiple-followup → 7.2.26-welsh-translation-qm
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/shared/components/palette/palette.module.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +29 -15
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +3 -6
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +8 -55
- package/esm2022/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +1 -1
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +2 -13
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +24 -77
- package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +4 -12
- 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/utils.mjs +1 -1
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +183 -163
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/app.config.d.ts +0 -2
- package/lib/app.config.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/query-check-your-answers/query-check-your-answers.component.d.ts +1 -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/components/query-details/query-details.component.d.ts +3 -15
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/case-queries-collection.model.d.ts +0 -1
- package/lib/shared/components/palette/query-management/models/case-queries-collection.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts +0 -1
- 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/read-query-management-field.component.d.ts +3 -15
- package/lib/shared/components/palette/query-management/read-query-management-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts +1 -1
- package/lib/shared/components/palette/query-management/utils/query-management.utils.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/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1326,7 +1326,6 @@ class CaseEditorConfig {
|
|
|
1326
1326
|
icp_enabled;
|
|
1327
1327
|
icp_jurisdictions;
|
|
1328
1328
|
events_to_hide;
|
|
1329
|
-
enable_service_specific_multi_followups;
|
|
1330
1329
|
}
|
|
1331
1330
|
|
|
1332
1331
|
class HttpError {
|
|
@@ -6762,6 +6761,124 @@ class FocusElementModule {
|
|
|
6762
6761
|
}], null, null); })();
|
|
6763
6762
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FocusElementModule, { declarations: [FocusElementDirective], exports: [FocusElementDirective] }); })();
|
|
6764
6763
|
|
|
6764
|
+
/**
|
|
6765
|
+
* @directive TranslatedMarkdownDirective
|
|
6766
|
+
*
|
|
6767
|
+
* @description
|
|
6768
|
+
* Structural directive that emits language-appropriate markdown content based on the user's UI language.
|
|
6769
|
+
* It is designed for service-supplied content that optionally includes a Welsh (`markdown_cy`) version.
|
|
6770
|
+
*
|
|
6771
|
+
* The directive:
|
|
6772
|
+
* - Emits `markdown_cy` if the UI language is Welsh and the field exists
|
|
6773
|
+
* - Emits `markdown` otherwise (no translation is applied within the directive)
|
|
6774
|
+
* - Leaves it up to the consuming template to apply fallback translation (e.g. via `rpxTranslate`)
|
|
6775
|
+
*
|
|
6776
|
+
* This allows cleaner templates and better separation of content choice vs. translation logic.
|
|
6777
|
+
*
|
|
6778
|
+
* @usage
|
|
6779
|
+
* ```html
|
|
6780
|
+
* <div *ngFor="let qq of qualifyingQuestions">
|
|
6781
|
+
* <ng-container *translatedMarkdown="qq; let content">
|
|
6782
|
+
* <markdown [data]="qq ? content : (qq.markdown | rpxTranslate)"></markdown>
|
|
6783
|
+
* </ng-container>
|
|
6784
|
+
* </div>
|
|
6785
|
+
* ```
|
|
6786
|
+
*
|
|
6787
|
+
* @input dataItem - An object expected to contain:
|
|
6788
|
+
* - `markdown` (string): the default English content
|
|
6789
|
+
* - `markdown_cy` (string | optional): the Welsh version of the content
|
|
6790
|
+
* - Any additional metadata used in context
|
|
6791
|
+
*
|
|
6792
|
+
* @example
|
|
6793
|
+
* // --- LaunchDarkly JSON format ---
|
|
6794
|
+
* {
|
|
6795
|
+
* "UNSPEC_CLAIM": [
|
|
6796
|
+
* {
|
|
6797
|
+
* "name": "Raise a query",
|
|
6798
|
+
* "url": "http://...",
|
|
6799
|
+
* "markdown": "### Raise a query\nUse this to raise a new query.",
|
|
6800
|
+
* "markdown_cy": "### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd."
|
|
6801
|
+
* }
|
|
6802
|
+
* ]
|
|
6803
|
+
* }
|
|
6804
|
+
*
|
|
6805
|
+
* // --- Input object in component after processing ---
|
|
6806
|
+
* const dataItem = {
|
|
6807
|
+
* name: 'Raise a query',
|
|
6808
|
+
* url: 'http://...',
|
|
6809
|
+
* markdown: '### Raise a query\nUse this to raise a new query.',
|
|
6810
|
+
* markdown_cy: '### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd.'
|
|
6811
|
+
* };
|
|
6812
|
+
*
|
|
6813
|
+
* // --- Template usage ---
|
|
6814
|
+
* <ng-container *translatedMarkdown="dataItem; let content">
|
|
6815
|
+
* <markdown [data]="dataItem ? content : (dataItem.markdown | rpxTranslate)"></markdown>
|
|
6816
|
+
* </ng-container>
|
|
6817
|
+
*/
|
|
6818
|
+
/**
|
|
6819
|
+
* @directive TranslatedMarkdownDirective
|
|
6820
|
+
*
|
|
6821
|
+
* Renders Welsh markdown (`markdown_cy`) if the UI language is Welsh,
|
|
6822
|
+
* otherwise uses English (`markdown`). Reactively updates when the language changes.
|
|
6823
|
+
*/
|
|
6824
|
+
class TranslatedMarkdownDirective {
|
|
6825
|
+
viewContainer;
|
|
6826
|
+
templateRef;
|
|
6827
|
+
translationService;
|
|
6828
|
+
dataItem;
|
|
6829
|
+
subscription;
|
|
6830
|
+
constructor(viewContainer, templateRef, translationService) {
|
|
6831
|
+
this.viewContainer = viewContainer;
|
|
6832
|
+
this.templateRef = templateRef;
|
|
6833
|
+
this.translationService = translationService;
|
|
6834
|
+
}
|
|
6835
|
+
ngOnInit() {
|
|
6836
|
+
this.subscription = this.translationService.language$.subscribe((lang) => {
|
|
6837
|
+
const isWelsh = lang === 'cy';
|
|
6838
|
+
const content = isWelsh && this.dataItem?.markdown_cy
|
|
6839
|
+
? this.dataItem.markdown_cy
|
|
6840
|
+
: this.dataItem?.markdown ?? '';
|
|
6841
|
+
this.viewContainer.clear();
|
|
6842
|
+
this.viewContainer.createEmbeddedView(this.templateRef, {
|
|
6843
|
+
$implicit: content,
|
|
6844
|
+
translatedMarkdown: this.dataItem
|
|
6845
|
+
});
|
|
6846
|
+
});
|
|
6847
|
+
}
|
|
6848
|
+
ngOnDestroy() {
|
|
6849
|
+
this.subscription?.unsubscribe();
|
|
6850
|
+
}
|
|
6851
|
+
static ɵfac = function TranslatedMarkdownDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TranslatedMarkdownDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i1.RpxTranslationService)); };
|
|
6852
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TranslatedMarkdownDirective, selectors: [["", "translatedMarkdown", ""]], inputs: { dataItem: [0, "translatedMarkdown", "dataItem"] } });
|
|
6853
|
+
}
|
|
6854
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatedMarkdownDirective, [{
|
|
6855
|
+
type: Directive,
|
|
6856
|
+
args: [{
|
|
6857
|
+
selector: '[translatedMarkdown]'
|
|
6858
|
+
}]
|
|
6859
|
+
}], () => [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i1.RpxTranslationService }], { dataItem: [{
|
|
6860
|
+
type: Input,
|
|
6861
|
+
args: ['translatedMarkdown']
|
|
6862
|
+
}] }); })();
|
|
6863
|
+
|
|
6864
|
+
class TranslatedMarkdownModule {
|
|
6865
|
+
static ɵfac = function TranslatedMarkdownModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TranslatedMarkdownModule)(); };
|
|
6866
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TranslatedMarkdownModule });
|
|
6867
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
6868
|
+
}
|
|
6869
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatedMarkdownModule, [{
|
|
6870
|
+
type: NgModule,
|
|
6871
|
+
args: [{
|
|
6872
|
+
declarations: [
|
|
6873
|
+
TranslatedMarkdownDirective
|
|
6874
|
+
],
|
|
6875
|
+
exports: [
|
|
6876
|
+
TranslatedMarkdownDirective
|
|
6877
|
+
]
|
|
6878
|
+
}]
|
|
6879
|
+
}], null, null); })();
|
|
6880
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TranslatedMarkdownModule, { declarations: [TranslatedMarkdownDirective], exports: [TranslatedMarkdownDirective] }); })();
|
|
6881
|
+
|
|
6765
6882
|
var AddressType;
|
|
6766
6883
|
(function (AddressType) {
|
|
6767
6884
|
AddressType["DPA"] = "DPA";
|
|
@@ -20552,36 +20669,49 @@ const caseMessagesMockData = [
|
|
|
20552
20669
|
}
|
|
20553
20670
|
];
|
|
20554
20671
|
|
|
20672
|
+
function QualifyingQuestionDetailComponent_ng_container_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
20673
|
+
i0.ɵɵelementContainerStart(0);
|
|
20674
|
+
i0.ɵɵelementStart(1, "div", 3);
|
|
20675
|
+
i0.ɵɵtext(2);
|
|
20676
|
+
i0.ɵɵelement(3, "ccd-markdown", 4);
|
|
20677
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
20678
|
+
i0.ɵɵelementEnd();
|
|
20679
|
+
i0.ɵɵelementContainerEnd();
|
|
20680
|
+
} if (rf & 2) {
|
|
20681
|
+
const content_r1 = ctx.$implicit;
|
|
20682
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
20683
|
+
i0.ɵɵadvance(2);
|
|
20684
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.qualifyingQuestion.markdown, " ");
|
|
20685
|
+
i0.ɵɵadvance();
|
|
20686
|
+
i0.ɵɵproperty("content", ctx_r1.qualifyingQuestion ? content_r1 : i0.ɵɵpipeBind1(4, 2, ctx_r1.qualifyingQuestion.markdown));
|
|
20687
|
+
} }
|
|
20555
20688
|
function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
20556
20689
|
i0.ɵɵelementContainerStart(0);
|
|
20557
20690
|
i0.ɵɵelementStart(1, "h1", 1);
|
|
20558
20691
|
i0.ɵɵtext(2);
|
|
20559
20692
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
20560
20693
|
i0.ɵɵelementEnd();
|
|
20561
|
-
i0.ɵɵ
|
|
20562
|
-
i0.ɵɵelement(5, "ccd-markdown", 3);
|
|
20563
|
-
i0.ɵɵpipe(6, "rpxTranslate");
|
|
20564
|
-
i0.ɵɵelementEnd();
|
|
20694
|
+
i0.ɵɵtemplate(4, QualifyingQuestionDetailComponent_ng_container_0_ng_container_4_Template, 5, 4, "ng-container", 2);
|
|
20565
20695
|
i0.ɵɵelementContainerEnd();
|
|
20566
20696
|
} if (rf & 2) {
|
|
20567
|
-
const
|
|
20697
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
20568
20698
|
i0.ɵɵadvance(2);
|
|
20569
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2,
|
|
20570
|
-
i0.ɵɵadvance(
|
|
20571
|
-
i0.ɵɵproperty("
|
|
20699
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r1.qualifyingQuestion.name), " - ");
|
|
20700
|
+
i0.ɵɵadvance(2);
|
|
20701
|
+
i0.ɵɵproperty("translatedMarkdown", ctx_r1.qualifyingQuestion);
|
|
20572
20702
|
} }
|
|
20573
20703
|
class QualifyingQuestionDetailComponent {
|
|
20574
20704
|
qualifyingQuestion;
|
|
20575
20705
|
static ɵfac = function QualifyingQuestionDetailComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionDetailComponent)(); };
|
|
20576
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-heading-l"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20577
|
-
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template,
|
|
20706
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-heading-l"], [4, "translatedMarkdown"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20707
|
+
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 5, 4, "ng-container", 0);
|
|
20578
20708
|
} if (rf & 2) {
|
|
20579
20709
|
i0.ɵɵproperty("ngIf", ctx.qualifyingQuestion == null ? null : ctx.qualifyingQuestion.markdown);
|
|
20580
|
-
} }, dependencies: [i5.NgIf, MarkdownComponent, i1.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
20710
|
+
} }, dependencies: [i5.NgIf, TranslatedMarkdownDirective, MarkdownComponent, i1.RpxTranslatePipe], styles: [".qm-qualifying-question[_ngcontent-%COMP%] .markdown[_ngcontent-%COMP%]{font-size:19px}"] });
|
|
20581
20711
|
}
|
|
20582
20712
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionDetailComponent, [{
|
|
20583
20713
|
type: Component,
|
|
20584
|
-
args: [{ selector: 'ccd-qualifying-question-detail', template: "<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <div class=\"qm-qualifying-question\">\n <ccd-markdown\n [content]=\"qualifyingQuestion.markdown | rpxTranslate\">\n </ccd-markdown>\n </div>\n</ng-container>\n", styles: [".qm-qualifying-question .markdown{font-size:19px}\n"] }]
|
|
20714
|
+
args: [{ selector: 'ccd-qualifying-question-detail', template: "<!-- <ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }}\n </h1>\n <div class=\"qm-qualifying-question\">\n <ccd-markdown\n [content]=\"qualifyingQuestion.markdown | rpxTranslate\">\n </ccd-markdown>\n </div>\n</ng-container> -->\n\n<ng-container *ngIf=\"qualifyingQuestion?.markdown\">\n <h1 class=\"govuk-heading-l\">\n {{ qualifyingQuestion.name | rpxTranslate }} -\n </h1>\n <!-- <ng-container *translatedMarkdown=\"qq; let content\">\n {{ qq.markdown }}\n <div class=\"qm-qualifying-question\">\n <ccd-markdown\n [content]=\"qq ? content : (qq.markdown | rpxTranslate)\">\n </ccd-markdown>\n </div>\n </ng-container> -->\n\n <ng-container *translatedMarkdown=\"qualifyingQuestion; let content;\">\n <div class=\"qm-qualifying-question\">\n {{ qualifyingQuestion.markdown }}\n <ccd-markdown [content]=\"qualifyingQuestion ? content : (qualifyingQuestion.markdown | rpxTranslate)\"></ccd-markdown>\n </div>\n </ng-container>\n </ng-container>", styles: [".qm-qualifying-question .markdown{font-size:19px}\n"] }]
|
|
20585
20715
|
}], null, { qualifyingQuestion: [{
|
|
20586
20716
|
type: Input
|
|
20587
20717
|
}] }); })();
|
|
@@ -20905,7 +21035,6 @@ class QueryListItem {
|
|
|
20905
21035
|
createdBy;
|
|
20906
21036
|
parentId;
|
|
20907
21037
|
isClosed;
|
|
20908
|
-
messageType;
|
|
20909
21038
|
children = [];
|
|
20910
21039
|
messageIndexInParent = null;
|
|
20911
21040
|
get lastSubmittedMessage() {
|
|
@@ -20963,20 +21092,11 @@ class QueryListItem {
|
|
|
20963
21092
|
if (item.isClosed === 'Yes') {
|
|
20964
21093
|
return true;
|
|
20965
21094
|
}
|
|
20966
|
-
return item.children?.some(
|
|
21095
|
+
return item.children?.some(child => isThreadClosed(child)) || false;
|
|
20967
21096
|
};
|
|
20968
21097
|
if (isThreadClosed(this)) {
|
|
20969
21098
|
return QueryItemResponseStatus.CLOSED;
|
|
20970
21099
|
}
|
|
20971
|
-
const lastMessageType = this.children?.length
|
|
20972
|
-
? this.children[this.children.length - 1]?.messageType
|
|
20973
|
-
: undefined;
|
|
20974
|
-
if (lastMessageType && lastMessageType === QueryCreateContext.RESPOND) {
|
|
20975
|
-
return QueryItemResponseStatus.RESPONDED;
|
|
20976
|
-
}
|
|
20977
|
-
else if (lastMessageType && lastMessageType === QueryCreateContext.FOLLOWUP) {
|
|
20978
|
-
return QueryItemResponseStatus.AWAITING;
|
|
20979
|
-
}
|
|
20980
21100
|
if (this.messageIndexInParent !== null) {
|
|
20981
21101
|
return this.messageIndexInParent % 2 === 0
|
|
20982
21102
|
? QueryItemResponseStatus.RESPONDED
|
|
@@ -21065,22 +21185,16 @@ class QueryManagementUtils {
|
|
|
21065
21185
|
isHearingRelated,
|
|
21066
21186
|
hearingDate,
|
|
21067
21187
|
createdOn: new Date(),
|
|
21068
|
-
createdBy: currentUserId
|
|
21069
|
-
messageType: QueryCreateContext.FOLLOWUP // Default to value new queries will be FOLLOWUP
|
|
21188
|
+
createdBy: currentUserId
|
|
21070
21189
|
};
|
|
21071
21190
|
}
|
|
21072
|
-
static getRespondOrFollowupQueryData(formGroup, queryItem, currentUserDetails
|
|
21191
|
+
static getRespondOrFollowupQueryData(formGroup, queryItem, currentUserDetails) {
|
|
21073
21192
|
const currentUserId = currentUserDetails?.uid || currentUserDetails?.id;
|
|
21074
21193
|
const currentUserName = currentUserDetails?.name || `${currentUserDetails?.forename} ${currentUserDetails?.surname}`;
|
|
21075
21194
|
const body = formGroup.get('body').value;
|
|
21076
21195
|
const attachments = formGroup.get('attachments').value;
|
|
21077
21196
|
const formDocument = attachments.map((document) => this.documentToCollectionFormDocument(document));
|
|
21078
21197
|
const isClosed = formGroup.get('closeQuery').value ? 'Yes' : 'No';
|
|
21079
|
-
const messageType = messageTypeParam === QueryCreateContext.RESPOND
|
|
21080
|
-
? QueryCreateContext.RESPOND
|
|
21081
|
-
: messageTypeParam === QueryCreateContext.FOLLOWUP
|
|
21082
|
-
? QueryCreateContext.FOLLOWUP
|
|
21083
|
-
: undefined;
|
|
21084
21198
|
return {
|
|
21085
21199
|
id: v4(),
|
|
21086
21200
|
subject: queryItem.subject,
|
|
@@ -21092,8 +21206,7 @@ class QueryManagementUtils {
|
|
|
21092
21206
|
createdOn: new Date(),
|
|
21093
21207
|
createdBy: currentUserId,
|
|
21094
21208
|
parentId: queryItem.id,
|
|
21095
|
-
isClosed
|
|
21096
|
-
messageType
|
|
21209
|
+
isClosed
|
|
21097
21210
|
};
|
|
21098
21211
|
}
|
|
21099
21212
|
static isObject(elem) {
|
|
@@ -21452,7 +21565,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21452
21565
|
queryItem;
|
|
21453
21566
|
queryCreateContext;
|
|
21454
21567
|
eventData = null;
|
|
21455
|
-
multipleFollowUpFeature;
|
|
21456
21568
|
backClicked = new EventEmitter();
|
|
21457
21569
|
querySubmitted = new EventEmitter();
|
|
21458
21570
|
callbackConfirmationMessage = new EventEmitter();
|
|
@@ -21625,7 +21737,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21625
21737
|
const currentUserDetails = JSON.parse(this.sessionStorageService.getItem(USER_DETAILS));
|
|
21626
21738
|
const caseMessage = this.queryCreateContext === QueryCreateContext.NEW_QUERY
|
|
21627
21739
|
? QueryManagementUtils.getNewQueryData(this.formGroup, currentUserDetails)
|
|
21628
|
-
: QueryManagementUtils.getRespondOrFollowupQueryData(this.formGroup, this.queryItem, currentUserDetails
|
|
21740
|
+
: QueryManagementUtils.getRespondOrFollowupQueryData(this.formGroup, this.queryItem, currentUserDetails);
|
|
21629
21741
|
const messageId = this.route.snapshot.params.dataid; // Get the message ID from route params (if present)
|
|
21630
21742
|
const isNewQuery = this.queryCreateContext === QueryCreateContext.NEW_QUERY; // Check if this is a new query
|
|
21631
21743
|
// Check if the field ID has been set dynamically
|
|
@@ -21785,7 +21897,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21785
21897
|
return !!(error?.callbackErrors?.length);
|
|
21786
21898
|
}
|
|
21787
21899
|
static ɵfac = function QueryCheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
21788
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData"
|
|
21900
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", callbackConfirmationMessage: "callbackConfirmationMessage" }, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsSubject"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", "type", "submit", 1, "govuk-button", 3, "click"], [3, "eventCompletionParams"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0)", 1, "validation-error", 3, "id"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "event_error-summary-heading", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21789
21901
|
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template, 36, 25, "div", 2);
|
|
21790
21902
|
} if (rf & 2) {
|
|
21791
21903
|
i0.ɵɵproperty("ngIf", ctx.readyToSubmit);
|
|
@@ -21802,8 +21914,6 @@ class QueryCheckYourAnswersComponent {
|
|
|
21802
21914
|
type: Input
|
|
21803
21915
|
}], eventData: [{
|
|
21804
21916
|
type: Input
|
|
21805
|
-
}], multipleFollowUpFeature: [{
|
|
21806
|
-
type: Input
|
|
21807
21917
|
}], backClicked: [{
|
|
21808
21918
|
type: Output
|
|
21809
21919
|
}], querySubmitted: [{
|
|
@@ -22023,12 +22133,10 @@ function QueryDetailsComponent_ng_container_0_ng_container_44_ng_container_1_Tem
|
|
|
22023
22133
|
i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_44_ng_container_1_ng_container_1_Template, 23, 19, "ng-container", 15)(2, QueryDetailsComponent_ng_container_0_ng_container_44_ng_container_1_ng_template_2_Template, 27, 22, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
22024
22134
|
i0.ɵɵelementContainerEnd();
|
|
22025
22135
|
} if (rf & 2) {
|
|
22026
|
-
const child_r3 = ctx.$implicit;
|
|
22027
22136
|
const i_r4 = ctx.index;
|
|
22028
22137
|
const followUpMessage_r5 = i0.ɵɵreference(3);
|
|
22029
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
22030
22138
|
i0.ɵɵadvance();
|
|
22031
|
-
i0.ɵɵproperty("ngIf", i_r4 % 2 === 0
|
|
22139
|
+
i0.ɵɵproperty("ngIf", i_r4 % 2 === 0)("ngIfElse", followUpMessage_r5);
|
|
22032
22140
|
} }
|
|
22033
22141
|
function QueryDetailsComponent_ng_container_0_ng_container_44_Template(rf, ctx) { if (rf & 1) {
|
|
22034
22142
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22132,8 +22240,6 @@ class QueryDetailsComponent {
|
|
|
22132
22240
|
sessionStorageService;
|
|
22133
22241
|
route;
|
|
22134
22242
|
router;
|
|
22135
|
-
abstractConfig;
|
|
22136
|
-
caseNotifier;
|
|
22137
22243
|
query;
|
|
22138
22244
|
caseId;
|
|
22139
22245
|
queryResponseStatus;
|
|
@@ -22143,18 +22249,10 @@ class QueryDetailsComponent {
|
|
|
22143
22249
|
static QUERY_ITEM_RESPOND = '3';
|
|
22144
22250
|
static QUERY_ITEM_FOLLOW_UP = '4';
|
|
22145
22251
|
queryItemId;
|
|
22146
|
-
|
|
22147
|
-
respondToQuery = QueryCreateContext.RESPOND;
|
|
22148
|
-
enableServiceSpecificMultiFollowups;
|
|
22149
|
-
currentJurisdictionId;
|
|
22150
|
-
isMultipleFollowUpEnabled = false;
|
|
22151
|
-
caseSubscription;
|
|
22152
|
-
constructor(sessionStorageService, route, router, abstractConfig, caseNotifier) {
|
|
22252
|
+
constructor(sessionStorageService, route, router) {
|
|
22153
22253
|
this.sessionStorageService = sessionStorageService;
|
|
22154
22254
|
this.route = route;
|
|
22155
22255
|
this.router = router;
|
|
22156
|
-
this.abstractConfig = abstractConfig;
|
|
22157
|
-
this.caseNotifier = caseNotifier;
|
|
22158
22256
|
}
|
|
22159
22257
|
onBack() {
|
|
22160
22258
|
this.backClicked.emit(true);
|
|
@@ -22162,23 +22260,10 @@ class QueryDetailsComponent {
|
|
|
22162
22260
|
isInternalUser() {
|
|
22163
22261
|
return isInternalUser(this.sessionStorageService);
|
|
22164
22262
|
}
|
|
22165
|
-
ngOnInit() {
|
|
22166
|
-
this.enableServiceSpecificMultiFollowups = this.abstractConfig.getEnableServiceSpecificMultiFollowups() || [];
|
|
22167
|
-
this.caseSubscription = this.caseNotifier.caseView.subscribe((caseView) => {
|
|
22168
|
-
if (caseView?.case_type?.jurisdiction?.id) {
|
|
22169
|
-
this.currentJurisdictionId = caseView.case_type.jurisdiction.id;
|
|
22170
|
-
this.isMultipleFollowUpEnabled = this.enableServiceSpecificMultiFollowups.includes(this.currentJurisdictionId);
|
|
22171
|
-
this.hasRespondedToQuery();
|
|
22172
|
-
}
|
|
22173
|
-
});
|
|
22174
|
-
}
|
|
22175
22263
|
ngOnChanges() {
|
|
22176
22264
|
this.toggleLinkVisibility();
|
|
22177
22265
|
this.hasRespondedToQuery();
|
|
22178
22266
|
}
|
|
22179
|
-
ngOnDestroy() {
|
|
22180
|
-
this.caseSubscription?.unsubscribe();
|
|
22181
|
-
}
|
|
22182
22267
|
toggleLinkVisibility() {
|
|
22183
22268
|
this.queryItemId = this.route.snapshot.params.qid;
|
|
22184
22269
|
if (this.queryItemId === QueryDetailsComponent.QUERY_ITEM_RESPOND || this.queryItemId === QueryDetailsComponent.QUERY_ITEM_FOLLOW_UP) {
|
|
@@ -22191,24 +22276,6 @@ class QueryDetailsComponent {
|
|
|
22191
22276
|
this.hasResponded.emit(true);
|
|
22192
22277
|
return true;
|
|
22193
22278
|
}
|
|
22194
|
-
const lastChild = this.query?.children?.[this.query.children.length - 1];
|
|
22195
|
-
const lastMessageType = this.query?.children?.length
|
|
22196
|
-
? this.query.children[this.query.children.length - 1]?.messageType
|
|
22197
|
-
: this.query?.messageType;
|
|
22198
|
-
const isFollowUp = lastMessageType === this.followUpQuery;
|
|
22199
|
-
const isRespond = lastChild?.messageType === this.respondToQuery;
|
|
22200
|
-
if (this.queryResponseStatus === QueryItemResponseStatus.CLOSED) {
|
|
22201
|
-
this.hasResponded.emit(true);
|
|
22202
|
-
return true;
|
|
22203
|
-
}
|
|
22204
|
-
if (isFollowUp && this.isMultipleFollowUpEnabled) {
|
|
22205
|
-
this.hasResponded.emit(false);
|
|
22206
|
-
return false;
|
|
22207
|
-
}
|
|
22208
|
-
if (isRespond) {
|
|
22209
|
-
this.hasResponded.emit(false);
|
|
22210
|
-
return false;
|
|
22211
|
-
}
|
|
22212
22279
|
if (this.isInternalUser()) {
|
|
22213
22280
|
if (isAwaiting) {
|
|
22214
22281
|
this.hasResponded.emit(false);
|
|
@@ -22224,7 +22291,7 @@ class QueryDetailsComponent {
|
|
|
22224
22291
|
this.hasResponded.emit(false);
|
|
22225
22292
|
return false;
|
|
22226
22293
|
}
|
|
22227
|
-
static ɵfac = function QueryDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryDetailsComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router)
|
|
22294
|
+
static ɵfac = function QueryDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryDetailsComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router)); };
|
|
22228
22295
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId", queryResponseStatus: "queryResponseStatus" }, outputs: { backClicked: "backClicked", hasResponded: "hasResponded" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["followUpMessage", ""], [4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], ["class", "govuk-table__row", 4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments", 4, "ngIf"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22229
22296
|
i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 45, 41, "ng-container", 1);
|
|
22230
22297
|
} if (rf & 2) {
|
|
@@ -22233,8 +22300,8 @@ class QueryDetailsComponent {
|
|
|
22233
22300
|
}
|
|
22234
22301
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
22235
22302
|
type: Component,
|
|
22236
|
-
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <p *ngIf=\"showItem\">\n <br />\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query subject' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.subject }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query body' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.body }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\" [class.govuk-table__header--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </th>\n <td class=\"govuk-table__cell\" [class.govuk-table__cell--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : (query.isHearingRelated) }}</td>\n </tr>\n <tr class=\"govuk-table__row govuk-table__row--isHearingRelated\" *ngIf=\"query.isHearingRelated === 'Yes'\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'What is the date of the hearing?' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.hearingDate | date: 'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"query.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"query.attachments\"\n [attachments]=\"query.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <ng-container *ngIf=\"query.children?.length > 0\">\n <ng-container *ngFor=\"let child of query.children; let i = index;\">\n <ng-container *ngIf=\"
|
|
22237
|
-
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }
|
|
22303
|
+
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <p *ngIf=\"showItem\">\n <br />\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query subject' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.subject }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query body' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.body }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\" [class.govuk-table__header--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </th>\n <td class=\"govuk-table__cell\" [class.govuk-table__cell--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : (query.isHearingRelated) }}</td>\n </tr>\n <tr class=\"govuk-table__row govuk-table__row--isHearingRelated\" *ngIf=\"query.isHearingRelated === 'Yes'\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'What is the date of the hearing?' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.hearingDate | date: 'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"query.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"query.attachments\"\n [attachments]=\"query.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <ng-container *ngIf=\"query.children?.length > 0\">\n <ng-container *ngFor=\"let child of query.children; let i = index;\">\n <ng-container *ngIf=\"i % 2 === 0; else followUpMessage\">\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Response of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Response' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last response date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n\n <tr *ngIf=\"isInternalUser()\" class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Caseworker name' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Response detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n\n <ng-template #followUpMessage>\n <!-- <div class=\"query_details_caption\">{{ 'Follow-up' | rpxTranslate }}</div> -->\n <table class=\"govuk-table query-details-table\"\n [attr.aria-describedby]=\"'Follow-up of the response' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Follow up query' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm'}}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-template>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".query-details-table .govuk-table__header{width:330px}\n"] }]
|
|
22304
|
+
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
22238
22305
|
type: Input
|
|
22239
22306
|
}], caseId: [{
|
|
22240
22307
|
type: Input
|
|
@@ -22245,7 +22312,7 @@ class QueryDetailsComponent {
|
|
|
22245
22312
|
}], hasResponded: [{
|
|
22246
22313
|
type: Output
|
|
22247
22314
|
}] }); })();
|
|
22248
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryDetailsComponent, { className: "QueryDetailsComponent", filePath: "lib/shared/components/palette/query-management/components/query-details/query-details.component.ts", lineNumber:
|
|
22315
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryDetailsComponent, { className: "QueryDetailsComponent", filePath: "lib/shared/components/palette/query-management/components/query-details/query-details.component.ts", lineNumber: 14 }); })();
|
|
22249
22316
|
|
|
22250
22317
|
class QueryEventCompletionComponent {
|
|
22251
22318
|
eventCompletionParams;
|
|
@@ -23244,7 +23311,7 @@ class CloseQueryComponent {
|
|
|
23244
23311
|
const _c0$B = (a0, a1) => ["/query-management", "query", a0, "4", a1];
|
|
23245
23312
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
23246
23313
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23247
|
-
i0.ɵɵelementStart(0, "div",
|
|
23314
|
+
i0.ɵɵelementStart(0, "div", 5)(1, "ccd-query-list", 6);
|
|
23248
23315
|
i0.ɵɵlistener("selectedQuery", function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template_ccd_query_list_selectedQuery_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.setQuery($event)); });
|
|
23249
23316
|
i0.ɵɵelementEnd()();
|
|
23250
23317
|
} if (rf & 2) {
|
|
@@ -23254,7 +23321,7 @@ function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_T
|
|
|
23254
23321
|
} }
|
|
23255
23322
|
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
23256
23323
|
i0.ɵɵelementContainerStart(0);
|
|
23257
|
-
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template, 2, 1, "div",
|
|
23324
|
+
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template, 2, 1, "div", 4);
|
|
23258
23325
|
i0.ɵɵelementContainerEnd();
|
|
23259
23326
|
} if (rf & 2) {
|
|
23260
23327
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
@@ -23263,7 +23330,7 @@ function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_Templat
|
|
|
23263
23330
|
} }
|
|
23264
23331
|
function ReadQueryManagementFieldComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
23265
23332
|
i0.ɵɵelementContainerStart(0);
|
|
23266
|
-
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_Template, 2, 1, "ng-container",
|
|
23333
|
+
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_Template, 2, 1, "ng-container", 3);
|
|
23267
23334
|
i0.ɵɵelementContainerEnd();
|
|
23268
23335
|
} if (rf & 2) {
|
|
23269
23336
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -23272,7 +23339,7 @@ function ReadQueryManagementFieldComponent_ng_container_0_Template(rf, ctx) { if
|
|
|
23272
23339
|
} }
|
|
23273
23340
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
23274
23341
|
i0.ɵɵelementContainerStart(0);
|
|
23275
|
-
i0.ɵɵelementStart(1, "button",
|
|
23342
|
+
i0.ɵɵelementStart(1, "button", 9);
|
|
23276
23343
|
i0.ɵɵtext(2);
|
|
23277
23344
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
23278
23345
|
i0.ɵɵelementEnd();
|
|
@@ -23284,22 +23351,8 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_conta
|
|
|
23284
23351
|
i0.ɵɵadvance();
|
|
23285
23352
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
23286
23353
|
} }
|
|
23287
|
-
function
|
|
23288
|
-
i0.ɵɵ
|
|
23289
|
-
i0.ɵɵelementStart(1, "button", 10);
|
|
23290
|
-
i0.ɵɵtext(2);
|
|
23291
|
-
i0.ɵɵpipe(3, "rpxTranslate");
|
|
23292
|
-
i0.ɵɵelementEnd();
|
|
23293
|
-
i0.ɵɵelementContainerEnd();
|
|
23294
|
-
} if (rf & 2) {
|
|
23295
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
|
23296
|
-
i0.ɵɵadvance();
|
|
23297
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction2(4, _c0$B, ctx_r1.caseId, ctx_r1.query.id));
|
|
23298
|
-
i0.ɵɵadvance();
|
|
23299
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
23300
|
-
} }
|
|
23301
|
-
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_template_2_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
23302
|
-
i0.ɵɵelementStart(0, "div")(1, "p", 11);
|
|
23354
|
+
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
23355
|
+
i0.ɵɵelementStart(0, "div")(1, "p", 10);
|
|
23303
23356
|
i0.ɵɵtext(2);
|
|
23304
23357
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
23305
23358
|
i0.ɵɵelementEnd();
|
|
@@ -23313,32 +23366,25 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
23313
23366
|
i0.ɵɵadvance(3);
|
|
23314
23367
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and respond. Do not submit the same query more than once."));
|
|
23315
23368
|
} }
|
|
23316
|
-
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
23317
|
-
i0.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_template_2_ng_container_0_Template, 4, 7, "ng-container", 3)(1, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_template_2_ng_template_1_Template, 7, 6, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
23318
|
-
} if (rf & 2) {
|
|
23319
|
-
const queryIsInReview_r5 = i0.ɵɵreference(2);
|
|
23320
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
23321
|
-
i0.ɵɵproperty("ngIf", (ctx_r1.query == null ? null : ctx_r1.query.children == null ? null : ctx_r1.query.children.length) > 0 && (ctx_r1.query == null ? null : ctx_r1.query.children == null ? null : ctx_r1.query.children.length) % 2 === 1)("ngIfElse", queryIsInReview_r5);
|
|
23322
|
-
} }
|
|
23323
23369
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
23324
23370
|
i0.ɵɵelementContainerStart(0);
|
|
23325
|
-
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_container_1_Template, 4, 7, "ng-container",
|
|
23371
|
+
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_container_1_Template, 4, 7, "ng-container", 2)(2, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_template_2_Template, 7, 6, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
23326
23372
|
i0.ɵɵelementContainerEnd();
|
|
23327
23373
|
} if (rf & 2) {
|
|
23328
|
-
const
|
|
23374
|
+
const queryIsInReview_r5 = i0.ɵɵreference(3);
|
|
23329
23375
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
23330
23376
|
i0.ɵɵadvance();
|
|
23331
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
|
23377
|
+
i0.ɵɵproperty("ngIf", (ctx_r1.query == null ? null : ctx_r1.query.children == null ? null : ctx_r1.query.children.length) > 0 && (ctx_r1.query == null ? null : ctx_r1.query.children == null ? null : ctx_r1.query.children.length) % 2 === 1)("ngIfElse", queryIsInReview_r5);
|
|
23332
23378
|
} }
|
|
23333
23379
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
23334
23380
|
i0.ɵɵelementContainerStart(0);
|
|
23335
|
-
i0.ɵɵelementStart(1, "div",
|
|
23381
|
+
i0.ɵɵelementStart(1, "div", 11)(2, "span", 12);
|
|
23336
23382
|
i0.ɵɵtext(3, "!");
|
|
23337
23383
|
i0.ɵɵelementEnd();
|
|
23338
|
-
i0.ɵɵelementStart(4, "strong",
|
|
23384
|
+
i0.ɵɵelementStart(4, "strong", 13)(5, "span", 14);
|
|
23339
23385
|
i0.ɵɵtext(6, "Warning");
|
|
23340
23386
|
i0.ɵɵelementEnd();
|
|
23341
|
-
i0.ɵɵelementStart(7, "p",
|
|
23387
|
+
i0.ɵɵelementStart(7, "p", 15);
|
|
23342
23388
|
i0.ɵɵtext(8);
|
|
23343
23389
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
23344
23390
|
i0.ɵɵelementEnd()()();
|
|
@@ -23349,10 +23395,10 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template
|
|
|
23349
23395
|
} }
|
|
23350
23396
|
function ReadQueryManagementFieldComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
23351
23397
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
23352
|
-
i0.ɵɵelementStart(0, "ccd-query-details",
|
|
23398
|
+
i0.ɵɵelementStart(0, "ccd-query-details", 7);
|
|
23353
23399
|
i0.ɵɵlistener("backClicked", function ReadQueryManagementFieldComponent_ng_template_1_Template_ccd_query_details_backClicked_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.showQueryList = true); });
|
|
23354
23400
|
i0.ɵɵelementEnd();
|
|
23355
|
-
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template, 4, 2, "ng-container",
|
|
23401
|
+
i0.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template, 4, 2, "ng-container", 8)(2, ReadQueryManagementFieldComponent_ng_template_1_ng_container_2_Template, 10, 3, "ng-container", 8);
|
|
23356
23402
|
} if (rf & 2) {
|
|
23357
23403
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
23358
23404
|
i0.ɵɵproperty("query", ctx_r1.query)("caseId", ctx_r1.caseId);
|
|
@@ -23365,36 +23411,19 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23365
23411
|
route;
|
|
23366
23412
|
sessionStorageService;
|
|
23367
23413
|
caseNotifier;
|
|
23368
|
-
abstractConfig;
|
|
23369
23414
|
caseQueriesCollections;
|
|
23370
23415
|
query;
|
|
23371
23416
|
showQueryList = true;
|
|
23372
23417
|
caseId;
|
|
23373
|
-
messageType;
|
|
23374
|
-
followUpQuery = QueryCreateContext.FOLLOWUP;
|
|
23375
|
-
respondToQuery = QueryCreateContext.RESPOND;
|
|
23376
23418
|
isQueryClosed = false;
|
|
23377
|
-
|
|
23378
|
-
isMultipleFollowUpEnabled = false;
|
|
23379
|
-
currentJurisdictionId;
|
|
23380
|
-
enableServiceSpecificMultiFollowups = [];
|
|
23381
|
-
caseSubscription;
|
|
23382
|
-
constructor(route, sessionStorageService, caseNotifier, abstractConfig) {
|
|
23419
|
+
constructor(route, sessionStorageService, caseNotifier) {
|
|
23383
23420
|
super();
|
|
23384
23421
|
this.route = route;
|
|
23385
23422
|
this.sessionStorageService = sessionStorageService;
|
|
23386
23423
|
this.caseNotifier = caseNotifier;
|
|
23387
|
-
this.abstractConfig = abstractConfig;
|
|
23388
23424
|
}
|
|
23389
23425
|
ngOnInit() {
|
|
23390
23426
|
this.caseId = this.route.snapshot.params.cid;
|
|
23391
|
-
this.enableServiceSpecificMultiFollowups = this.abstractConfig.getEnableServiceSpecificMultiFollowups() || [];
|
|
23392
|
-
this.caseSubscription = this.caseNotifier.caseView.subscribe((caseDetails) => {
|
|
23393
|
-
if (caseDetails?.case_type?.jurisdiction?.id) {
|
|
23394
|
-
this.currentJurisdictionId = caseDetails.case_type.jurisdiction.id;
|
|
23395
|
-
this.isMultipleFollowUpEnabled = this.enableServiceSpecificMultiFollowups.includes(this.currentJurisdictionId);
|
|
23396
|
-
}
|
|
23397
|
-
});
|
|
23398
23427
|
if (this.context === PaletteContext.DEFAULT) {
|
|
23399
23428
|
// EUI-8303 Using mock data until CCD is ready with the API and data contract
|
|
23400
23429
|
// this.caseQueriesCollections = caseMessagesMockData;
|
|
@@ -23420,13 +23449,9 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23420
23449
|
// QueryManagementUtils.extractCaseQueriesFromCaseField();
|
|
23421
23450
|
}
|
|
23422
23451
|
}
|
|
23423
|
-
ngOnDestroy() {
|
|
23424
|
-
this.caseSubscription?.unsubscribe();
|
|
23425
|
-
}
|
|
23426
23452
|
setQuery(query) {
|
|
23427
23453
|
this.showQueryList = false;
|
|
23428
23454
|
this.query = query;
|
|
23429
|
-
this.messageType = this.getMessageType(query);
|
|
23430
23455
|
this.isQueryClosed = this.query?.children?.some((queryItem) => queryItem?.isClosed === 'Yes');
|
|
23431
23456
|
}
|
|
23432
23457
|
backToQueryListPage() {
|
|
@@ -23436,27 +23461,19 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23436
23461
|
isInternalUser() {
|
|
23437
23462
|
return isInternalUser(this.sessionStorageService);
|
|
23438
23463
|
}
|
|
23439
|
-
|
|
23440
|
-
|
|
23441
|
-
|
|
23442
|
-
}
|
|
23443
|
-
return query.children?.length
|
|
23444
|
-
? query.children[query.children.length - 1]?.messageType
|
|
23445
|
-
: query?.messageType;
|
|
23446
|
-
}
|
|
23447
|
-
static ɵfac = function ReadQueryManagementFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadQueryManagementFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
23448
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["singleQueryDetails", ""], ["sequentialQuery", ""], ["queryIsInReview", ""], [4, "ngIf", "ngIfElse"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "selectedQuery", "caseQueriesCollection"], [3, "backClicked", "query", "caseId"], [4, "ngIf"], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "qm-service-message", "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23449
|
-
i0.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 3)(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 3, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
23464
|
+
static ɵfac = function ReadQueryManagementFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadQueryManagementFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
23465
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["singleQueryDetails", ""], ["queryIsInReview", ""], [4, "ngIf", "ngIfElse"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "selectedQuery", "caseQueriesCollection"], [3, "backClicked", "query", "caseId"], [4, "ngIf"], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "qm-service-message", "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23466
|
+
i0.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 2)(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 3, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
23450
23467
|
} if (rf & 2) {
|
|
23451
|
-
const
|
|
23452
|
-
i0.ɵɵproperty("ngIf", ctx.showQueryList)("ngIfElse",
|
|
23468
|
+
const singleQueryDetails_r6 = i0.ɵɵreference(2);
|
|
23469
|
+
i0.ɵɵproperty("ngIf", ctx.showQueryList)("ngIfElse", singleQueryDetails_r6);
|
|
23453
23470
|
} }, encapsulation: 2 });
|
|
23454
23471
|
}
|
|
23455
23472
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
23456
23473
|
type: Component,
|
|
23457
|
-
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser() && !isQueryClosed\">\n <ng-container *ngIf=\"
|
|
23458
|
-
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }
|
|
23459
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber:
|
|
23474
|
+
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser() && !isQueryClosed\">\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and respond. Do not submit the same query more than once.' | rpxTranslate }}</p>\n </div>\n </ng-template>\n </ng-container>\n <ng-container *ngIf=\"!isInternalUser() && isQueryClosed\">\n <div class=\"govuk-warning-text\">\n <span aria-hidden=\"true\" class=\"govuk-warning-text__icon\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">Warning</span>\n <p class=\"qm-service-message govuk-!-font-weight-bold\">{{ 'This query has been closed by court staff.' | rpxTranslate }}</p>\n </strong>\n </div>\n </ng-container>\n</ng-template>\n" }]
|
|
23475
|
+
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }], null); })();
|
|
23476
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 15 }); })();
|
|
23460
23477
|
|
|
23461
23478
|
class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
23462
23479
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadTextAreaFieldComponent_BaseFactory; return function ReadTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵReadTextAreaFieldComponent_BaseFactory || (ɵReadTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadTextAreaFieldComponent)))(__ngFactoryType__ || ReadTextAreaFieldComponent); }; })();
|
|
@@ -30736,6 +30753,7 @@ class PaletteModule {
|
|
|
30736
30753
|
FormModule,
|
|
30737
30754
|
TabsModule,
|
|
30738
30755
|
LabelSubstitutorModule,
|
|
30756
|
+
TranslatedMarkdownModule,
|
|
30739
30757
|
MarkdownModule.forChild(),
|
|
30740
30758
|
NgxMatDatetimePickerModule,
|
|
30741
30759
|
NgxMatTimepickerModule,
|
|
@@ -30781,6 +30799,7 @@ class PaletteModule {
|
|
|
30781
30799
|
FormModule,
|
|
30782
30800
|
TabsModule,
|
|
30783
30801
|
LabelSubstitutorModule,
|
|
30802
|
+
TranslatedMarkdownModule,
|
|
30784
30803
|
MarkdownModule.forChild(),
|
|
30785
30804
|
NgxMatDatetimePickerModule,
|
|
30786
30805
|
NgxMatTimepickerModule,
|
|
@@ -30989,7 +31008,8 @@ class PaletteModule {
|
|
|
30989
31008
|
BodyModule,
|
|
30990
31009
|
FormModule,
|
|
30991
31010
|
TabsModule,
|
|
30992
|
-
LabelSubstitutorModule,
|
|
31011
|
+
LabelSubstitutorModule,
|
|
31012
|
+
TranslatedMarkdownModule, i2$1.MarkdownModule, NgxMatDatetimePickerModule,
|
|
30993
31013
|
NgxMatTimepickerModule,
|
|
30994
31014
|
NgxMatNativeDateModule,
|
|
30995
31015
|
MatLegacyFormFieldModule,
|
|
@@ -40244,5 +40264,5 @@ class TestRouteSnapshotBuilder {
|
|
|
40244
40264
|
* Generated bundle index. Do not edit.
|
|
40245
40265
|
*/
|
|
40246
40266
|
|
|
40247
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
40267
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
40248
40268
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|