@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-CYA-v2 → 6.16.0-query-management-raise-query-function

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.
Files changed (32) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +315 -375
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/shared/components/palette/palette.module.js +8 -9
  6. package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +1 -27
  7. package/esm2015/lib/shared/components/palette/query-management/components/index.js +3 -3
  8. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +125 -0
  9. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +30 -20
  10. package/esm2015/lib/shared/components/palette/query-management/index.js +2 -2
  11. package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +3 -18
  12. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +262 -320
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  14. package/lib/shared/components/palette/palette.module.d.ts +3 -3
  15. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  16. package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +0 -2
  17. package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -1
  18. package/lib/shared/components/palette/query-management/components/index.d.ts +2 -2
  19. package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
  20. package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +20 -0
  21. package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +1 -0
  22. package/lib/shared/components/palette/query-management/index.d.ts +1 -1
  23. package/lib/shared/components/palette/query-management/index.d.ts.map +1 -1
  24. package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts +1 -5
  25. package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts.map +1 -1
  26. package/package.json +1 -1
  27. package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +0 -153
  28. package/esm2015/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.js +0 -2
  29. package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +0 -16
  30. package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +0 -1
  31. package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts +0 -5
  32. package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts.map +0 -1
@@ -17611,31 +17611,64 @@ const partyMessagesMockData = [
17611
17611
  ]
17612
17612
  }
17613
17613
  ];
17614
- const caseFieldMockData = Object.assign(new CaseField(), {
17615
- id: '',
17616
- label: '',
17617
- hint_text: '',
17618
- field_type: Object.assign(new FieldType(), {
17619
- id: 'QueryDocuments',
17620
- type: 'QueryDocuments',
17621
- min: null,
17622
- max: null,
17623
- regular_expression: null,
17624
- fixed_list_items: [],
17625
- complex_fields: [],
17626
- collection_field_type: Object.assign(new FieldType(), {
17627
- id: 'Document',
17628
- type: 'Document',
17629
- min: null,
17630
- max: null,
17631
- regular_expression: null,
17632
- fixed_list_items: [],
17633
- complex_fields: [],
17634
- collection_field_type: null
17635
- })
17636
- }),
17637
- display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)'
17638
- });
17614
+
17615
+ class QueryListItem {
17616
+ constructor() {
17617
+ this.children = [];
17618
+ }
17619
+ get lastSubmittedMessage() {
17620
+ const getLastSubmittedMessage = (item) => {
17621
+ let lastSubmittedMessage = item;
17622
+ if (item.children && item.children.length > 0) {
17623
+ for (const child of item.children) {
17624
+ const childLastSubmittedMessage = getLastSubmittedMessage(child);
17625
+ if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
17626
+ lastSubmittedMessage = childLastSubmittedMessage;
17627
+ }
17628
+ }
17629
+ }
17630
+ return lastSubmittedMessage;
17631
+ };
17632
+ return getLastSubmittedMessage(this);
17633
+ }
17634
+ get lastSubmittedBy() {
17635
+ return this.lastSubmittedMessage.name;
17636
+ }
17637
+ get lastSubmittedDate() {
17638
+ return new Date(this.lastSubmittedMessage.createdOn);
17639
+ }
17640
+ get lastResponseBy() {
17641
+ var _a;
17642
+ return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
17643
+ }
17644
+ get lastResponseDate() {
17645
+ var _a;
17646
+ return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
17647
+ }
17648
+ }
17649
+
17650
+ class QueryListData {
17651
+ constructor(partyMessagesGroup) {
17652
+ this.partyName = partyMessagesGroup.partyName;
17653
+ this.roleOnCase = partyMessagesGroup.roleOnCase;
17654
+ // get the parent messages (messages without parentId) and add the children to them
17655
+ const parentMessages = partyMessagesGroup.partyMessages.filter((message) => !message.parentId);
17656
+ this.partyMessages = parentMessages.map((message) => this.buildQueryListItem(message, partyMessagesGroup.partyMessages));
17657
+ }
17658
+ buildQueryListItem(message, allMessages) {
17659
+ const queryListItem = new QueryListItem();
17660
+ Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
17661
+ .filter((childMessage) => childMessage.parentId === message.id)
17662
+ .map((childMessage) => this.buildQueryListItem(childMessage, allMessages)) }));
17663
+ return queryListItem;
17664
+ }
17665
+ }
17666
+
17667
+ var QueryListResponseStatus;
17668
+ (function (QueryListResponseStatus) {
17669
+ QueryListResponseStatus["NEW"] = "New";
17670
+ QueryListResponseStatus["RESPONDED"] = "Responded";
17671
+ })(QueryListResponseStatus || (QueryListResponseStatus = {}));
17639
17672
 
17640
17673
  class MarkdownComponent {
17641
17674
  constructor() { }
@@ -17733,228 +17766,75 @@ QueryCaseDetailsHeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCase
17733
17766
  }]
17734
17767
  }], function () { return [{ type: i1$1.ActivatedRoute }]; }, null); })();
17735
17768
 
17736
- class QueryListItem {
17769
+ class QueryCreateComponent {
17737
17770
  constructor() {
17738
- this.children = [];
17739
- }
17740
- get lastSubmittedMessage() {
17741
- const getLastSubmittedMessage = (item) => {
17742
- let lastSubmittedMessage = item;
17743
- if (item.children && item.children.length > 0) {
17744
- for (const child of item.children) {
17745
- const childLastSubmittedMessage = getLastSubmittedMessage(child);
17746
- if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
17747
- lastSubmittedMessage = childLastSubmittedMessage;
17748
- }
17749
- }
17750
- }
17751
- return lastSubmittedMessage;
17752
- };
17753
- return getLastSubmittedMessage(this);
17754
- }
17755
- get lastSubmittedBy() {
17756
- return this.lastSubmittedMessage.name;
17757
- }
17758
- get lastSubmittedDate() {
17759
- return new Date(this.lastSubmittedMessage.createdOn);
17760
- }
17761
- get lastResponseBy() {
17762
- var _a;
17763
- return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
17764
- }
17765
- get lastResponseDate() {
17766
- var _a;
17767
- return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
17768
- }
17769
- }
17770
-
17771
- class QueryListData {
17772
- constructor(partyMessagesGroup) {
17773
- this.partyName = partyMessagesGroup.partyName;
17774
- this.roleOnCase = partyMessagesGroup.roleOnCase;
17775
- // get the parent messages (messages without parentId) and add the children to them
17776
- const parentMessages = partyMessagesGroup.partyMessages.filter((message) => !message.parentId);
17777
- this.partyMessages = parentMessages.map((message) => this.buildQueryListItem(message, partyMessagesGroup.partyMessages));
17778
17771
  }
17779
- buildQueryListItem(message, allMessages) {
17780
- const queryListItem = new QueryListItem();
17781
- Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
17782
- .filter((childMessage) => childMessage.parentId === message.id)
17783
- .map((childMessage) => this.buildQueryListItem(childMessage, allMessages)) }));
17784
- return queryListItem;
17772
+ ngOnInit() {
17785
17773
  }
17786
17774
  }
17775
+ QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
17776
+ QueryCreateComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
17777
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCreateComponent, [{
17778
+ type: Component,
17779
+ args: [{
17780
+ selector: 'ccd-query-create',
17781
+ templateUrl: './query-create.component.html',
17782
+ }]
17783
+ }], function () { return []; }, null); })();
17787
17784
 
17788
- var QueryListResponseStatus;
17789
- (function (QueryListResponseStatus) {
17790
- QueryListResponseStatus["NEW"] = "New";
17791
- QueryListResponseStatus["RESPONDED"] = "Responded";
17792
- })(QueryListResponseStatus || (QueryListResponseStatus = {}));
17793
-
17794
- function QueryCheckYourAnswersComponent_ccd_read_collection_field_31_Template(rf, ctx) { if (rf & 1) {
17795
- i0.ɵɵelement(0, "ccd-read-collection-field", 13);
17785
+ function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
17786
+ const _r2 = i0.ɵɵgetCurrentView();
17787
+ i0.ɵɵelementContainerStart(0);
17788
+ i0.ɵɵelementStart(1, "p");
17789
+ i0.ɵɵelement(2, "br");
17790
+ i0.ɵɵelementStart(3, "a", 1);
17791
+ i0.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.onBack(); });
17792
+ i0.ɵɵtext(4);
17793
+ i0.ɵɵpipe(5, "rpxTranslate");
17794
+ i0.ɵɵelementEnd();
17795
+ i0.ɵɵelementEnd();
17796
+ i0.ɵɵelementStart(6, "div", 2);
17797
+ i0.ɵɵtext(7);
17798
+ i0.ɵɵpipe(8, "rpxTranslate");
17799
+ i0.ɵɵelementEnd();
17800
+ i0.ɵɵelement(9, "ccd-query-details-table", 3);
17801
+ i0.ɵɵelementContainerEnd();
17796
17802
  } if (rf & 2) {
17797
17803
  const ctx_r0 = i0.ɵɵnextContext();
17798
- i0.ɵɵproperty("caseField", ctx_r0.caseField);
17804
+ i0.ɵɵadvance(4);
17805
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "Back to queries"));
17806
+ i0.ɵɵadvance(3);
17807
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 5, "Query details"));
17808
+ i0.ɵɵadvance(2);
17809
+ i0.ɵɵproperty("queryItem", ctx_r0.query);
17799
17810
  } }
17800
- class QueryCheckYourAnswersComponent {
17811
+ class QueryDetailsComponent {
17801
17812
  constructor() {
17802
17813
  this.backClicked = new EventEmitter();
17803
17814
  }
17804
- ngOnInit() {
17805
- // Mock object
17806
- caseFieldMockData.value = [
17807
- {
17808
- id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
17809
- value: {
17810
- document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f',
17811
- document_filename: 'Screenshot 2023-06-01 at 16.07.06.png',
17812
- document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f/binary'
17813
- }
17814
- },
17815
- {
17816
- id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
17817
- value: {
17818
- document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506',
17819
- document_filename: 'dummy.pdf',
17820
- document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary'
17821
- }
17822
- }
17823
- ];
17824
- this.caseField = caseFieldMockData;
17825
- }
17826
- goBack() {
17815
+ onBack() {
17827
17816
  this.backClicked.emit(true);
17828
17817
  }
17829
17818
  }
17830
- QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
17831
- QueryCheckYourAnswersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem" }, outputs: { backClicked: "backClicked" }, decls: 44, vars: 27, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [1, "govuk-heading-l"], [1, "govuk-!-margin-bottom-4"], [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"], [1, "govuk-link", 3, "click"], [3, "caseField", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [3, "caseField"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
17832
- i0.ɵɵelementStart(0, "div", 0);
17833
- i0.ɵɵelementStart(1, "div", 1);
17834
- i0.ɵɵelementStart(2, "h1", 2);
17835
- i0.ɵɵtext(3);
17836
- i0.ɵɵpipe(4, "rpxTranslate");
17837
- i0.ɵɵelementEnd();
17838
- i0.ɵɵelementStart(5, "div", 3);
17839
- i0.ɵɵelement(6, "ccd-query-case-details-header");
17840
- i0.ɵɵelementEnd();
17841
- i0.ɵɵelementStart(7, "dl", 4);
17842
- i0.ɵɵelementStart(8, "div", 5);
17843
- i0.ɵɵelementStart(9, "dt", 6);
17844
- i0.ɵɵtext(10);
17845
- i0.ɵɵpipe(11, "rpxTranslate");
17846
- i0.ɵɵelementEnd();
17847
- i0.ɵɵelementStart(12, "dd", 7);
17848
- i0.ɵɵtext(13);
17849
- i0.ɵɵelementEnd();
17850
- i0.ɵɵelementEnd();
17851
- i0.ɵɵelementEnd();
17852
- i0.ɵɵelementStart(14, "dl", 4);
17853
- i0.ɵɵelementStart(15, "div", 5);
17854
- i0.ɵɵelementStart(16, "dt", 6);
17855
- i0.ɵɵtext(17);
17856
- i0.ɵɵpipe(18, "rpxTranslate");
17857
- i0.ɵɵelementEnd();
17858
- i0.ɵɵelementStart(19, "dd", 7);
17859
- i0.ɵɵtext(20);
17860
- i0.ɵɵelementEnd();
17861
- i0.ɵɵelementStart(21, "dd", 8);
17862
- i0.ɵɵelementStart(22, "a", 9);
17863
- i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_22_listener() { return ctx.goBack(); });
17864
- i0.ɵɵtext(23);
17865
- i0.ɵɵpipe(24, "rpxTranslate");
17866
- i0.ɵɵelementEnd();
17867
- i0.ɵɵelementEnd();
17868
- i0.ɵɵelementEnd();
17869
- i0.ɵɵelementEnd();
17870
- i0.ɵɵelementStart(25, "dl", 4);
17871
- i0.ɵɵelementStart(26, "div", 5);
17872
- i0.ɵɵelementStart(27, "dt", 6);
17873
- i0.ɵɵtext(28);
17874
- i0.ɵɵpipe(29, "rpxTranslate");
17875
- i0.ɵɵelementEnd();
17876
- i0.ɵɵelementStart(30, "dd", 7);
17877
- i0.ɵɵtemplate(31, QueryCheckYourAnswersComponent_ccd_read_collection_field_31_Template, 1, 1, "ccd-read-collection-field", 10);
17878
- i0.ɵɵelementEnd();
17879
- i0.ɵɵelementStart(32, "dd", 8);
17880
- i0.ɵɵelementStart(33, "a", 9);
17881
- i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_33_listener() { return ctx.goBack(); });
17882
- i0.ɵɵtext(34);
17883
- i0.ɵɵpipe(35, "rpxTranslate");
17884
- i0.ɵɵelementEnd();
17885
- i0.ɵɵelementEnd();
17886
- i0.ɵɵelementEnd();
17887
- i0.ɵɵelementEnd();
17888
- i0.ɵɵelement(36, "br");
17889
- i0.ɵɵelementStart(37, "div");
17890
- i0.ɵɵelementStart(38, "button", 11);
17891
- i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_38_listener() { return ctx.goBack(); });
17892
- i0.ɵɵtext(39);
17893
- i0.ɵɵpipe(40, "rpxTranslate");
17894
- i0.ɵɵelementEnd();
17895
- i0.ɵɵelementStart(41, "button", 12);
17896
- i0.ɵɵtext(42);
17897
- i0.ɵɵpipe(43, "rpxTranslate");
17898
- i0.ɵɵelementEnd();
17899
- i0.ɵɵelementEnd();
17900
- i0.ɵɵelementEnd();
17901
- i0.ɵɵelementEnd();
17819
+ QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
17820
+ QueryDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
17821
+ i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
17902
17822
  } if (rf & 2) {
17903
- i0.ɵɵadvance(3);
17904
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "Review query response details"));
17905
- i0.ɵɵadvance(7);
17906
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 13, "Submitted query"), " ");
17907
- i0.ɵɵadvance(3);
17908
- i0.ɵɵtextInterpolate1(" ", ctx.queryItem.subject, " ");
17909
- i0.ɵɵadvance(4);
17910
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 15, "Response message"), " ");
17911
- i0.ɵɵadvance(3);
17912
- i0.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["body"].value, " ");
17913
- i0.ɵɵadvance(3);
17914
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(24, 17, "Change"), " ");
17915
- i0.ɵɵadvance(5);
17916
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 19, "Document attached"), " ");
17917
- i0.ɵɵadvance(3);
17918
- i0.ɵɵproperty("ngIf", ctx.caseField);
17919
- i0.ɵɵadvance(3);
17920
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 21, "Change"), " ");
17921
- i0.ɵɵadvance(5);
17922
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(40, 23, "Previous"), " ");
17923
- i0.ɵɵadvance(3);
17924
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(43, 25, "Submit"), " ");
17925
- } }, styles: [".collection-field-table tr>td{border-bottom:none}"], encapsulation: 2 });
17926
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
17823
+ i0.ɵɵproperty("ngIf", ctx.query);
17824
+ } }, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
17825
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
17927
17826
  type: Component,
17928
17827
  args: [{
17929
- selector: 'ccd-query-check-your-answers',
17930
- templateUrl: './query-check-your-answers.component.html',
17931
- styleUrls: ['./query-check-your-answers.component.scss'],
17932
- encapsulation: ViewEncapsulation.None
17828
+ selector: 'ccd-query-details',
17829
+ templateUrl: './query-details.component.html',
17830
+ styleUrls: ['./query-details.component.scss']
17933
17831
  }]
17934
- }], null, { formGroup: [{
17935
- type: Input
17936
- }], queryItem: [{
17832
+ }], null, { query: [{
17937
17833
  type: Input
17938
17834
  }], backClicked: [{
17939
17835
  type: Output
17940
17836
  }] }); })();
17941
17837
 
17942
- class QueryCreateComponent {
17943
- constructor() {
17944
- }
17945
- ngOnInit() {
17946
- }
17947
- }
17948
- QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
17949
- QueryCreateComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
17950
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCreateComponent, [{
17951
- type: Component,
17952
- args: [{
17953
- selector: 'ccd-query-create',
17954
- templateUrl: './query-create.component.html',
17955
- }]
17956
- }], function () { return []; }, null); })();
17957
-
17958
17838
  function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) { if (rf & 1) {
17959
17839
  i0.ɵɵelementStart(0, "tr", 3);
17960
17840
  i0.ɵɵelementStart(1, "th", 4);
@@ -18100,59 +17980,6 @@ QueryDetailsTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsTa
18100
17980
  type: Input
18101
17981
  }] }); })();
18102
17982
 
18103
- function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
18104
- const _r2 = i0.ɵɵgetCurrentView();
18105
- i0.ɵɵelementContainerStart(0);
18106
- i0.ɵɵelementStart(1, "p");
18107
- i0.ɵɵelement(2, "br");
18108
- i0.ɵɵelementStart(3, "a", 1);
18109
- i0.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.onBack(); });
18110
- i0.ɵɵtext(4);
18111
- i0.ɵɵpipe(5, "rpxTranslate");
18112
- i0.ɵɵelementEnd();
18113
- i0.ɵɵelementEnd();
18114
- i0.ɵɵelementStart(6, "div", 2);
18115
- i0.ɵɵtext(7);
18116
- i0.ɵɵpipe(8, "rpxTranslate");
18117
- i0.ɵɵelementEnd();
18118
- i0.ɵɵelement(9, "ccd-query-details-table", 3);
18119
- i0.ɵɵelementContainerEnd();
18120
- } if (rf & 2) {
18121
- const ctx_r0 = i0.ɵɵnextContext();
18122
- i0.ɵɵadvance(4);
18123
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "Back to queries"));
18124
- i0.ɵɵadvance(3);
18125
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 5, "Query details"));
18126
- i0.ɵɵadvance(2);
18127
- i0.ɵɵproperty("queryItem", ctx_r0.query);
18128
- } }
18129
- class QueryDetailsComponent {
18130
- constructor() {
18131
- this.backClicked = new EventEmitter();
18132
- }
18133
- onBack() {
18134
- this.backClicked.emit(true);
18135
- }
18136
- }
18137
- QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
18138
- QueryDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
18139
- i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
18140
- } if (rf & 2) {
18141
- i0.ɵɵproperty("ngIf", ctx.query);
18142
- } }, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
18143
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
18144
- type: Component,
18145
- args: [{
18146
- selector: 'ccd-query-details',
18147
- templateUrl: './query-details.component.html',
18148
- styleUrls: ['./query-details.component.scss']
18149
- }]
18150
- }], null, { query: [{
18151
- type: Input
18152
- }], backClicked: [{
18153
- type: Output
18154
- }] }); })();
18155
-
18156
17983
  var SortOrder;
18157
17984
  (function (SortOrder) {
18158
17985
  SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
@@ -18329,6 +18156,127 @@ QueryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryListComponent, se
18329
18156
  type: Output
18330
18157
  }] }); })();
18331
18158
 
18159
+ class QueryWriteDateInputComponent {
18160
+ constructor() {
18161
+ this.disabled = false;
18162
+ }
18163
+ writeValue(date) {
18164
+ if (date instanceof Date && !isNaN(date.getTime())) {
18165
+ this.day = date.getDate();
18166
+ this.month = date.getMonth() + 1; // Months are zero-based
18167
+ this.year = date.getFullYear();
18168
+ }
18169
+ else {
18170
+ this.day = null;
18171
+ this.month = null;
18172
+ this.year = null;
18173
+ }
18174
+ }
18175
+ registerOnChange(fn) {
18176
+ this.onChange = fn;
18177
+ }
18178
+ registerOnTouched(fn) {
18179
+ this.onTouched = fn;
18180
+ }
18181
+ setDisabledState(isDisabled) {
18182
+ this.disabled = isDisabled;
18183
+ }
18184
+ updateDate() {
18185
+ const updatedValue = this.onChange && this.isValidDateInput() ?
18186
+ new Date(this.year, this.month - 1, this.day)
18187
+ : null;
18188
+ this.onChange(updatedValue);
18189
+ this.onTouched();
18190
+ }
18191
+ isValidDateInput() {
18192
+ const isValidDay = this.day >= 1 && this.day <= 31;
18193
+ const isValidMonth = this.month >= 1 && this.month <= 12;
18194
+ const isValidYear = this.year >= 0;
18195
+ return isValidDay && isValidMonth && isValidYear;
18196
+ }
18197
+ }
18198
+ QueryWriteDateInputComponent.ɵfac = function QueryWriteDateInputComponent_Factory(t) { return new (t || QueryWriteDateInputComponent)(); };
18199
+ QueryWriteDateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteDateInputComponent, selectors: [["ccd-query-write-date-input"]], inputs: { formControlName: "formControlName" }, features: [i0.ɵɵProvidersFeature([
18200
+ {
18201
+ provide: NG_VALUE_ACCESSOR,
18202
+ useExisting: forwardRef(() => QueryWriteDateInputComponent),
18203
+ multi: true
18204
+ },
18205
+ {
18206
+ provide: NG_VALIDATORS,
18207
+ useExisting: forwardRef(() => QueryWriteDateInputComponent),
18208
+ multi: true
18209
+ }
18210
+ ])], decls: 16, vars: 15, consts: [[1, "govuk-date-input", 3, "id"], [1, "govuk-date-input__item"], [1, "govuk-form-group"], [1, "govuk-label", "govuk-date-input__label", 3, "for"], ["type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-2", 3, "id", "name", "ngModel", "disabled", "ngModelChange", "input"], ["id", "formControlName + '-year'", "type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-4", 3, "name", "ngModel", "disabled", "ngModelChange", "input"]], template: function QueryWriteDateInputComponent_Template(rf, ctx) { if (rf & 1) {
18211
+ i0.ɵɵelementStart(0, "div", 0);
18212
+ i0.ɵɵelementStart(1, "div", 1);
18213
+ i0.ɵɵelementStart(2, "div", 2);
18214
+ i0.ɵɵelementStart(3, "label", 3);
18215
+ i0.ɵɵtext(4, " Day ");
18216
+ i0.ɵɵelementEnd();
18217
+ i0.ɵɵelementStart(5, "input", 4);
18218
+ i0.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_5_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_5_listener() { return ctx.updateDate(); });
18219
+ i0.ɵɵelementEnd();
18220
+ i0.ɵɵelementEnd();
18221
+ i0.ɵɵelementEnd();
18222
+ i0.ɵɵelementStart(6, "div", 1);
18223
+ i0.ɵɵelementStart(7, "div", 2);
18224
+ i0.ɵɵelementStart(8, "label", 3);
18225
+ i0.ɵɵtext(9, " Month ");
18226
+ i0.ɵɵelementEnd();
18227
+ i0.ɵɵelementStart(10, "input", 4);
18228
+ i0.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_10_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_10_listener() { return ctx.updateDate(); });
18229
+ i0.ɵɵelementEnd();
18230
+ i0.ɵɵelementEnd();
18231
+ i0.ɵɵelementEnd();
18232
+ i0.ɵɵelementStart(11, "div", 1);
18233
+ i0.ɵɵelementStart(12, "div", 2);
18234
+ i0.ɵɵelementStart(13, "label", 3);
18235
+ i0.ɵɵtext(14, " Year ");
18236
+ i0.ɵɵelementEnd();
18237
+ i0.ɵɵelementStart(15, "input", 5);
18238
+ i0.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_15_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_15_listener() { return ctx.updateDate(); });
18239
+ i0.ɵɵelementEnd();
18240
+ i0.ɵɵelementEnd();
18241
+ i0.ɵɵelementEnd();
18242
+ i0.ɵɵelementEnd();
18243
+ } if (rf & 2) {
18244
+ i0.ɵɵproperty("id", ctx.formControlName);
18245
+ i0.ɵɵadvance(3);
18246
+ i0.ɵɵproperty("for", ctx.formControlName + "-day");
18247
+ i0.ɵɵadvance(2);
18248
+ i0.ɵɵproperty("id", ctx.formControlName + "-day")("name", ctx.formControlName + "-day")("ngModel", ctx.day)("disabled", ctx.disabled);
18249
+ i0.ɵɵadvance(3);
18250
+ i0.ɵɵproperty("for", ctx.formControlName + "-month");
18251
+ i0.ɵɵadvance(2);
18252
+ i0.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
18253
+ i0.ɵɵadvance(3);
18254
+ i0.ɵɵproperty("for", ctx.formControlName + "-year");
18255
+ i0.ɵɵadvance(2);
18256
+ i0.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
18257
+ } }, directives: [i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel], encapsulation: 2 });
18258
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
18259
+ type: Component,
18260
+ args: [{
18261
+ selector: 'ccd-query-write-date-input',
18262
+ templateUrl: './query-write-date-input.component.html',
18263
+ providers: [
18264
+ {
18265
+ provide: NG_VALUE_ACCESSOR,
18266
+ useExisting: forwardRef(() => QueryWriteDateInputComponent),
18267
+ multi: true
18268
+ },
18269
+ {
18270
+ provide: NG_VALIDATORS,
18271
+ useExisting: forwardRef(() => QueryWriteDateInputComponent),
18272
+ multi: true
18273
+ }
18274
+ ]
18275
+ }]
18276
+ }], null, { formControlName: [{
18277
+ type: Input
18278
+ }] }); })();
18279
+
18332
18280
  class QueryWriteAddDocumentsComponent {
18333
18281
  constructor() {
18334
18282
  this.documentFormGroup = new FormGroup({});
@@ -18391,8 +18339,8 @@ QueryWriteAddDocumentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWrit
18391
18339
  }] }); })();
18392
18340
 
18393
18341
  function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) { if (rf & 1) {
18394
- i0.ɵɵelementStart(0, "p", 27);
18395
- i0.ɵɵelementStart(1, "span", 28);
18342
+ i0.ɵɵelementStart(0, "p", 28);
18343
+ i0.ɵɵelementStart(1, "span", 29);
18396
18344
  i0.ɵɵtext(2);
18397
18345
  i0.ɵɵpipe(3, "rpxTranslate");
18398
18346
  i0.ɵɵelementEnd();
@@ -18406,8 +18354,8 @@ function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) { if (rf & 1) {
18406
18354
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
18407
18355
  } }
18408
18356
  function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) { if (rf & 1) {
18409
- i0.ɵɵelementStart(0, "p", 29);
18410
- i0.ɵɵelementStart(1, "span", 28);
18357
+ i0.ɵɵelementStart(0, "p", 30);
18358
+ i0.ɵɵelementStart(1, "span", 29);
18411
18359
  i0.ɵɵtext(2);
18412
18360
  i0.ɵɵpipe(3, "rpxTranslate");
18413
18361
  i0.ɵɵelementEnd();
@@ -18421,8 +18369,8 @@ function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) { if (rf & 1) {
18421
18369
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
18422
18370
  } }
18423
18371
  function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) { if (rf & 1) {
18424
- i0.ɵɵelementStart(0, "p", 30);
18425
- i0.ɵɵelementStart(1, "span", 28);
18372
+ i0.ɵɵelementStart(0, "p", 31);
18373
+ i0.ɵɵelementStart(1, "span", 29);
18426
18374
  i0.ɵɵtext(2);
18427
18375
  i0.ɵɵpipe(3, "rpxTranslate");
18428
18376
  i0.ɵɵelementEnd();
@@ -18433,12 +18381,19 @@ function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) { if (rf & 1) {
18433
18381
  i0.ɵɵadvance(2);
18434
18382
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
18435
18383
  i0.ɵɵadvance(2);
18436
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
18384
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
18385
+ } }
18386
+ function QueryWriteRaiseQueryComponent_ng_container_62_Template(rf, ctx) { if (rf & 1) {
18387
+ i0.ɵɵelementContainerStart(0);
18388
+ i0.ɵɵelementStart(1, "fieldset", 32);
18389
+ i0.ɵɵelement(2, "ccd-query-write-date-input", 33);
18390
+ i0.ɵɵelementEnd();
18391
+ i0.ɵɵelementContainerEnd();
18437
18392
  } }
18438
18393
  class QueryWriteRaiseQueryComponent {
18439
18394
  }
18440
18395
  QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
18441
- QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 60, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "query-raise-isHearingRelated-yes", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "query-raise-isHearingRelated-no", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
18396
+ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 63, vars: 61, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"], ["role", "group", 1, "govuk-fieldset"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
18442
18397
  i0.ɵɵelementStart(0, "div");
18443
18398
  i0.ɵɵelementStart(1, "div", 0);
18444
18399
  i0.ɵɵelementStart(2, "div", 1);
@@ -18526,6 +18481,7 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18526
18481
  i0.ɵɵelementEnd();
18527
18482
  i0.ɵɵelementEnd();
18528
18483
  i0.ɵɵelementEnd();
18484
+ i0.ɵɵtemplate(62, QueryWriteRaiseQueryComponent_ng_container_62_Template, 3, 0, "ng-container", 27);
18529
18485
  i0.ɵɵelementEnd();
18530
18486
  i0.ɵɵelementEnd();
18531
18487
  i0.ɵɵelementEnd();
@@ -18542,17 +18498,17 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18542
18498
  let tmp_18_0 = null;
18543
18499
  let tmp_19_0 = null;
18544
18500
  i0.ɵɵadvance(3);
18545
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 34, "Raise a query"));
18501
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 35, "Raise a query"));
18546
18502
  i0.ɵɵadvance(3);
18547
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 36, "Enter query details"));
18503
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 37, "Enter query details"));
18548
18504
  i0.ɵɵadvance(6);
18549
18505
  i0.ɵɵproperty("formGroup", ctx.formGroup);
18550
18506
  i0.ɵɵadvance(2);
18551
18507
  i0.ɵɵclassProp("govuk-form-group--error", (tmp_3_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_3_0.errors == null ? null : tmp_3_0.errors.length);
18552
18508
  i0.ɵɵadvance(3);
18553
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 38, "Full name"), " ");
18509
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 39, "Full name"), " ");
18554
18510
  i0.ɵɵadvance(3);
18555
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
18511
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 41, "Your full name must be included here"), " ");
18556
18512
  i0.ɵɵadvance(2);
18557
18513
  i0.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
18558
18514
  i0.ɵɵadvance(1);
@@ -18561,9 +18517,9 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18561
18517
  i0.ɵɵadvance(1);
18562
18518
  i0.ɵɵclassProp("govuk-form-group--error", (tmp_9_0 = ctx.formGroup.get("subject")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
18563
18519
  i0.ɵɵadvance(3);
18564
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 42, "Query subject"), " ");
18520
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 43, "Query subject"), " ");
18565
18521
  i0.ɵɵadvance(3);
18566
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
18522
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 45, "The subject should be a summary of your query"), " ");
18567
18523
  i0.ɵɵadvance(2);
18568
18524
  i0.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
18569
18525
  i0.ɵɵadvance(1);
@@ -18572,24 +18528,26 @@ QueryWriteRaiseQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteR
18572
18528
  i0.ɵɵadvance(1);
18573
18529
  i0.ɵɵclassProp("govuk-form-group--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
18574
18530
  i0.ɵɵadvance(3);
18575
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(38, 46, "Query body"), " ");
18531
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(38, 47, "Query body"), " ");
18576
18532
  i0.ɵɵadvance(3);
18577
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 48, "Include as many details as possible so case workers can respond to your query"), " ");
18533
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 49, "Include as many details as possible so case workers can respond to your query"), " ");
18578
18534
  i0.ɵɵadvance(2);
18579
18535
  i0.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
18580
18536
  i0.ɵɵadvance(1);
18581
18537
  i0.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
18582
18538
  i0.ɵɵproperty("formControlName", "body");
18583
18539
  i0.ɵɵadvance(6);
18584
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
18540
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(50, 51, "Is the query hearing related?"), " ");
18585
18541
  i0.ɵɵadvance(4);
18586
18542
  i0.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
18587
18543
  i0.ɵɵadvance(2);
18588
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
18544
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(56, 53, "Is the query hearing related?", null, "Yes"), " ");
18589
18545
  i0.ɵɵadvance(3);
18590
18546
  i0.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
18591
18547
  i0.ɵɵadvance(2);
18592
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
18548
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(61, 57, "Is the query hearing related?", null, "No"), " ");
18549
+ i0.ɵɵadvance(2);
18550
+ i0.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
18593
18551
  } }, encapsulation: 2 });
18594
18552
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryWriteRaiseQueryComponent, [{
18595
18553
  type: Component,
@@ -18808,22 +18766,7 @@ function WriteQueryManagementFieldComponent_ng_template_2_Template(rf, ctx) { if
18808
18766
  class WriteQueryManagementFieldComponent extends AbstractFieldReadComponent {
18809
18767
  constructor() {
18810
18768
  super();
18811
- this.responseFormGroup = new FormGroup({
18812
- response: new FormControl('', [Validators.required]),
18813
- documents: new FormControl([])
18814
- });
18815
- this.errorMessages = [];
18816
- this.submitted = false;
18817
- }
18818
- submitForm() {
18819
- this.submitted = true;
18820
- this.errorMessages = [];
18821
- window.scrollTo(0, 0);
18822
- if (!this.responseFormGroup.valid) {
18823
- if (this.responseFormGroup.controls.response.hasError('required')) {
18824
- this.errorMessages.push({ controlName: 'response', message: 'Add a response before continue' });
18825
- }
18826
- }
18769
+ this.formGroup = new FormGroup({});
18827
18770
  }
18828
18771
  }
18829
18772
  WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
@@ -25679,8 +25622,8 @@ const PALETTE_COMPONENTS = [
25679
25622
  QueryWriteRespondToQueryComponent,
25680
25623
  QueryWriteRaiseQueryComponent,
25681
25624
  QueryCaseDetailsHeaderComponent,
25682
- QueryCheckYourAnswersComponent,
25683
25625
  QueryWriteAddDocumentsComponent,
25626
+ QueryWriteDateInputComponent
25684
25627
  ];
25685
25628
  class PaletteModule {
25686
25629
  }
@@ -25862,8 +25805,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
25862
25805
  QueryWriteRespondToQueryComponent,
25863
25806
  QueryWriteRaiseQueryComponent,
25864
25807
  QueryCaseDetailsHeaderComponent,
25865
- QueryCheckYourAnswersComponent,
25866
- QueryWriteAddDocumentsComponent], imports: [CommonModule,
25808
+ QueryWriteAddDocumentsComponent,
25809
+ QueryWriteDateInputComponent], imports: [CommonModule,
25867
25810
  RouterModule,
25868
25811
  FormsModule,
25869
25812
  ReactiveFormsModule,
@@ -26010,8 +25953,8 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
26010
25953
  QueryWriteRespondToQueryComponent,
26011
25954
  QueryWriteRaiseQueryComponent,
26012
25955
  QueryCaseDetailsHeaderComponent,
26013
- QueryCheckYourAnswersComponent,
26014
- QueryWriteAddDocumentsComponent] }); })();
25956
+ QueryWriteAddDocumentsComponent,
25957
+ QueryWriteDateInputComponent] }); })();
26015
25958
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
26016
25959
  type: NgModule,
26017
25960
  args: [{
@@ -26155,8 +26098,7 @@ i0.ɵɵsetComponentScope(WriteQueryManagementFieldComponent, [i5.NgIf, QueryWrit
26155
26098
  i0.ɵɵsetComponentScope(QueryDetailsComponent, [i5.NgIf, QueryDetailsTableComponent], [i1.RpxTranslatePipe]);
26156
26099
  i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
26157
26100
  QueryDetailsTableComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i1.RpxTranslatePipe]);
26158
- i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i1.RpxTranslatePipe]);
26159
- i0.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [QueryCaseDetailsHeaderComponent, i5.NgIf, ReadCollectionFieldComponent], [i1.RpxTranslatePipe]);
26101
+ i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName, i3.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1.RpxTranslatePipe]);
26160
26102
  i0.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3.NgControlStatusGroup, i3.FormGroupDirective], []);
26161
26103
 
26162
26104
  class Confirmation {
@@ -35511,5 +35453,5 @@ class TestRouteSnapshotBuilder {
35511
35453
  * Generated bundle index. Do not edit.
35512
35454
  */
35513
35455
 
35514
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, 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, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagDisplayContextParameter, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, 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, 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, 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, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryCreateComponent, QueryDetailsComponent, QueryDetailsTableComponent, QueryListComponent, QueryListData, QueryListItem, QueryListResponseStatus, QueryWriteAddDocumentsComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, 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, RouterHelperService, 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, WriteQueryManagementFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseFieldMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, partyMessagesMockData, textFieldType, viewerRouting };
35456
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, 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, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagDisplayContextParameter, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, 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, 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, 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, QueryCaseDetailsHeaderComponent, QueryCreateComponent, QueryDetailsComponent, QueryDetailsTableComponent, QueryListComponent, QueryListData, QueryListItem, QueryListResponseStatus, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, 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, RouterHelperService, 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, WriteQueryManagementFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, partyMessagesMockData, textFieldType, viewerRouting };
35515
35457
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map