@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-CYA-continue → 6.16.0-query-management-document-uploader-v4

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 (35) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +168 -369
  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 -6
  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 +2 -3
  8. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +9 -15
  9. package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +2 -2
  10. package/esm2015/lib/shared/components/palette/query-management/index.js +2 -2
  11. package/esm2015/lib/shared/components/palette/query-management/utils/query-management.utils.js +1 -11
  12. package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +3 -18
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +124 -314
  14. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  15. package/lib/shared/components/palette/palette.module.d.ts +30 -31
  16. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  17. package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +0 -2
  18. package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -1
  19. package/lib/shared/components/palette/query-management/components/index.d.ts +1 -2
  20. package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
  21. package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts +4 -5
  22. package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -1
  23. package/lib/shared/components/palette/query-management/index.d.ts +1 -1
  24. package/lib/shared/components/palette/query-management/index.d.ts.map +1 -1
  25. package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts +0 -5
  26. package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts.map +1 -1
  27. package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts +1 -5
  28. package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +0 -137
  31. package/esm2015/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.js +0 -2
  32. package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +0 -16
  33. package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +0 -1
  34. package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts +0 -5
  35. 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,231 +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
17771
  }
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
- }
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;
17785
- }
17786
- }
17787
-
17788
- var QueryListResponseStatus;
17789
- (function (QueryListResponseStatus) {
17790
- QueryListResponseStatus["NEW"] = "New";
17791
- QueryListResponseStatus["RESPONDED"] = "Responded";
17792
- })(QueryListResponseStatus || (QueryListResponseStatus = {}));
17793
-
17794
- class QueryManagementUtils {
17795
- static extractCaseQueriesFromCaseField() {
17796
- }
17797
- static documentToCollectionFormDocument(document) {
17798
- return {
17799
- id: null,
17800
- value: {
17801
- document_filename: document.originalDocumentName,
17802
- document_url: document._links.self.href,
17803
- document_binary_url: document._links.binary.href
17804
- }
17805
- };
17772
+ ngOnInit() {
17806
17773
  }
17807
17774
  }
17808
- QueryManagementUtils.ɵfac = function QueryManagementUtils_Factory(t) { return new (t || QueryManagementUtils)(); };
17809
- QueryManagementUtilsprov = i0.ɵɵdefineInjectable({ token: QueryManagementUtils, factory: QueryManagementUtils.ɵfac });
17810
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryManagementUtils, [{
17811
- type: Injectable
17812
- }], null, null); })();
17775
+ QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
17776
+ QueryCreateComponentcmp = 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); })();
17813
17784
 
17814
- function QueryCheckYourAnswersComponent_ccd_read_collection_field_31_Template(rf, ctx) { if (rf & 1) {
17815
- i0.ɵɵelement(0, "ccd-read-collection-field", 14);
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();
17816
17802
  } if (rf & 2) {
17817
17803
  const ctx_r0 = i0.ɵɵnextContext();
17818
- 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);
17819
17810
  } }
17820
- class QueryCheckYourAnswersComponent {
17811
+ class QueryDetailsComponent {
17821
17812
  constructor() {
17822
17813
  this.backClicked = new EventEmitter();
17823
17814
  }
17824
- ngOnInit() {
17825
- this.caseField = caseFieldMockData;
17826
- this.caseField.value = this.formGroup.get('attachments').value
17827
- .map(QueryManagementUtils.documentToCollectionFormDocument);
17828
- }
17829
- goBack() {
17815
+ onBack() {
17830
17816
  this.backClicked.emit(true);
17831
17817
  }
17832
17818
  }
17833
- QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
17834
- 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"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [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) {
17835
- i0.ɵɵelementStart(0, "div", 0);
17836
- i0.ɵɵelementStart(1, "div", 1);
17837
- i0.ɵɵelementStart(2, "h1", 2);
17838
- i0.ɵɵtext(3);
17839
- i0.ɵɵpipe(4, "rpxTranslate");
17840
- i0.ɵɵelementEnd();
17841
- i0.ɵɵelementStart(5, "div", 3);
17842
- i0.ɵɵelement(6, "ccd-query-case-details-header");
17843
- i0.ɵɵelementEnd();
17844
- i0.ɵɵelementStart(7, "dl", 4);
17845
- i0.ɵɵelementStart(8, "div", 5);
17846
- i0.ɵɵelementStart(9, "dt", 6);
17847
- i0.ɵɵtext(10);
17848
- i0.ɵɵpipe(11, "rpxTranslate");
17849
- i0.ɵɵelementEnd();
17850
- i0.ɵɵelementStart(12, "dd", 7);
17851
- i0.ɵɵtext(13);
17852
- i0.ɵɵelementEnd();
17853
- i0.ɵɵelementEnd();
17854
- i0.ɵɵelementEnd();
17855
- i0.ɵɵelementStart(14, "dl", 4);
17856
- i0.ɵɵelementStart(15, "div", 5);
17857
- i0.ɵɵelementStart(16, "dt", 6);
17858
- i0.ɵɵtext(17);
17859
- i0.ɵɵpipe(18, "rpxTranslate");
17860
- i0.ɵɵelementEnd();
17861
- i0.ɵɵelementStart(19, "dd", 7);
17862
- i0.ɵɵtext(20);
17863
- i0.ɵɵelementEnd();
17864
- i0.ɵɵelementStart(21, "dd", 8);
17865
- i0.ɵɵelementStart(22, "a", 9);
17866
- i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_22_listener() { return ctx.goBack(); });
17867
- i0.ɵɵtext(23);
17868
- i0.ɵɵpipe(24, "rpxTranslate");
17869
- i0.ɵɵelementEnd();
17870
- i0.ɵɵelementEnd();
17871
- i0.ɵɵelementEnd();
17872
- i0.ɵɵelementEnd();
17873
- i0.ɵɵelementStart(25, "dl", 4);
17874
- i0.ɵɵelementStart(26, "div", 5);
17875
- i0.ɵɵelementStart(27, "dt", 6);
17876
- i0.ɵɵtext(28);
17877
- i0.ɵɵpipe(29, "rpxTranslate");
17878
- i0.ɵɵelementEnd();
17879
- i0.ɵɵelementStart(30, "dd", 10);
17880
- i0.ɵɵtemplate(31, QueryCheckYourAnswersComponent_ccd_read_collection_field_31_Template, 1, 1, "ccd-read-collection-field", 11);
17881
- i0.ɵɵelementEnd();
17882
- i0.ɵɵelementStart(32, "dd", 8);
17883
- i0.ɵɵelementStart(33, "a", 9);
17884
- i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_33_listener() { return ctx.goBack(); });
17885
- i0.ɵɵtext(34);
17886
- i0.ɵɵpipe(35, "rpxTranslate");
17887
- i0.ɵɵelementEnd();
17888
- i0.ɵɵelementEnd();
17889
- i0.ɵɵelementEnd();
17890
- i0.ɵɵelementEnd();
17891
- i0.ɵɵelement(36, "br");
17892
- i0.ɵɵelementStart(37, "div");
17893
- i0.ɵɵelementStart(38, "button", 12);
17894
- i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_38_listener() { return ctx.goBack(); });
17895
- i0.ɵɵtext(39);
17896
- i0.ɵɵpipe(40, "rpxTranslate");
17897
- i0.ɵɵelementEnd();
17898
- i0.ɵɵelementStart(41, "button", 13);
17899
- i0.ɵɵtext(42);
17900
- i0.ɵɵpipe(43, "rpxTranslate");
17901
- i0.ɵɵelementEnd();
17902
- i0.ɵɵelementEnd();
17903
- i0.ɵɵelementEnd();
17904
- 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);
17905
17822
  } if (rf & 2) {
17906
- i0.ɵɵadvance(3);
17907
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 11, "Review query response details"));
17908
- i0.ɵɵadvance(7);
17909
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 13, "Submitted query"), " ");
17910
- i0.ɵɵadvance(3);
17911
- i0.ɵɵtextInterpolate1(" ", ctx.queryItem.subject, " ");
17912
- i0.ɵɵadvance(4);
17913
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 15, "Response message"), " ");
17914
- i0.ɵɵadvance(3);
17915
- i0.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["body"].value, " ");
17916
- i0.ɵɵadvance(3);
17917
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(24, 17, "Change"), " ");
17918
- i0.ɵɵadvance(5);
17919
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(29, 19, "Document attached"), " ");
17920
- i0.ɵɵadvance(3);
17921
- i0.ɵɵproperty("ngIf", ctx.caseField);
17922
- i0.ɵɵadvance(3);
17923
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 21, "Change"), " ");
17924
- i0.ɵɵadvance(5);
17925
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(40, 23, "Previous"), " ");
17926
- i0.ɵɵadvance(3);
17927
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(43, 25, "Submit"), " ");
17928
- } }, styles: ["ccd-query-check-your-answers .collection-field-table tr>td{border-bottom:none;padding-bottom:0}ccd-query-check-your-answers .govuk-summary-list__value--documentAttached{vertical-align:middle}"], encapsulation: 2 });
17929
- (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, [{
17930
17826
  type: Component,
17931
17827
  args: [{
17932
- selector: 'ccd-query-check-your-answers',
17933
- templateUrl: './query-check-your-answers.component.html',
17934
- styleUrls: ['./query-check-your-answers.component.scss'],
17935
- encapsulation: ViewEncapsulation.None
17828
+ selector: 'ccd-query-details',
17829
+ templateUrl: './query-details.component.html',
17830
+ styleUrls: ['./query-details.component.scss']
17936
17831
  }]
17937
- }], null, { formGroup: [{
17938
- type: Input
17939
- }], queryItem: [{
17832
+ }], null, { query: [{
17940
17833
  type: Input
17941
17834
  }], backClicked: [{
17942
17835
  type: Output
17943
17836
  }] }); })();
17944
17837
 
17945
- class QueryCreateComponent {
17946
- constructor() {
17947
- }
17948
- ngOnInit() {
17949
- }
17950
- }
17951
- QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
17952
- QueryCreateComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
17953
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCreateComponent, [{
17954
- type: Component,
17955
- args: [{
17956
- selector: 'ccd-query-create',
17957
- templateUrl: './query-create.component.html',
17958
- }]
17959
- }], function () { return []; }, null); })();
17960
-
17961
17838
  function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) { if (rf & 1) {
17962
17839
  i0.ɵɵelementStart(0, "tr", 3);
17963
17840
  i0.ɵɵelementStart(1, "th", 4);
@@ -18103,59 +17980,6 @@ QueryDetailsTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsTa
18103
17980
  type: Input
18104
17981
  }] }); })();
18105
17982
 
18106
- function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
18107
- const _r2 = i0.ɵɵgetCurrentView();
18108
- i0.ɵɵelementContainerStart(0);
18109
- i0.ɵɵelementStart(1, "p");
18110
- i0.ɵɵelement(2, "br");
18111
- i0.ɵɵelementStart(3, "a", 1);
18112
- 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(); });
18113
- i0.ɵɵtext(4);
18114
- i0.ɵɵpipe(5, "rpxTranslate");
18115
- i0.ɵɵelementEnd();
18116
- i0.ɵɵelementEnd();
18117
- i0.ɵɵelementStart(6, "div", 2);
18118
- i0.ɵɵtext(7);
18119
- i0.ɵɵpipe(8, "rpxTranslate");
18120
- i0.ɵɵelementEnd();
18121
- i0.ɵɵelement(9, "ccd-query-details-table", 3);
18122
- i0.ɵɵelementContainerEnd();
18123
- } if (rf & 2) {
18124
- const ctx_r0 = i0.ɵɵnextContext();
18125
- i0.ɵɵadvance(4);
18126
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 3, "Back to queries"));
18127
- i0.ɵɵadvance(3);
18128
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 5, "Query details"));
18129
- i0.ɵɵadvance(2);
18130
- i0.ɵɵproperty("queryItem", ctx_r0.query);
18131
- } }
18132
- class QueryDetailsComponent {
18133
- constructor() {
18134
- this.backClicked = new EventEmitter();
18135
- }
18136
- onBack() {
18137
- this.backClicked.emit(true);
18138
- }
18139
- }
18140
- QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
18141
- 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) {
18142
- i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
18143
- } if (rf & 2) {
18144
- i0.ɵɵproperty("ngIf", ctx.query);
18145
- } }, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
18146
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
18147
- type: Component,
18148
- args: [{
18149
- selector: 'ccd-query-details',
18150
- templateUrl: './query-details.component.html',
18151
- styleUrls: ['./query-details.component.scss']
18152
- }]
18153
- }], null, { query: [{
18154
- type: Input
18155
- }], backClicked: [{
18156
- type: Output
18157
- }] }); })();
18158
-
18159
17983
  var SortOrder;
18160
17984
  (function (SortOrder) {
18161
17985
  SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
@@ -18336,14 +18160,12 @@ class QueryWriteAddDocumentsComponent {
18336
18160
  constructor() {
18337
18161
  this.documentFormGroup = new FormGroup({});
18338
18162
  this.documentCollectionUpdate = new EventEmitter();
18339
- }
18340
- ngOnInit() {
18341
- var _a;
18342
18163
  // This field is mocked to allow the document component to be used in isolation
18343
18164
  this.mockDocumentCaseField = Object.assign(new CaseField(), {
18344
18165
  id: QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME,
18345
- label: 'Add document (optional)',
18166
+ label: 'Add document',
18346
18167
  hint_text: 'Attach a document to this message',
18168
+ display_context: 'OPTIONAL',
18347
18169
  display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)',
18348
18170
  field_type: Object.assign(new FieldType(), {
18349
18171
  id: 'queryDocuments',
@@ -18365,12 +18187,11 @@ class QueryWriteAddDocumentsComponent {
18365
18187
  })
18366
18188
  }),
18367
18189
  });
18368
- this.mockDocumentCaseField.value = (_a = this.formGroup.get('attachments')) === null || _a === void 0 ? void 0 : _a.value.map(QueryManagementUtils.documentToCollectionFormDocument);
18369
18190
  }
18370
18191
  ngAfterViewInit() {
18371
- const documentFormControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
18372
- if (documentFormControl) {
18373
- this.documentFormControlSubscription = documentFormControl.valueChanges
18192
+ const formControl = this.documentFormGroup.get(QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME);
18193
+ if (formControl) {
18194
+ this.documentFormControlSubscription = formControl.valueChanges
18374
18195
  .pipe(map(documents => (documents.filter((document) => { var _a; return !!((_a = document === null || document === void 0 ? void 0 : document.value) === null || _a === void 0 ? void 0 : _a.document_url); }))), map(documents => documents.map(document => document === null || document === void 0 ? void 0 : document.value)), tap(documents => this.documentCollectionUpdate.emit(documents)))
18375
18196
  .subscribe();
18376
18197
  }
@@ -18382,7 +18203,7 @@ class QueryWriteAddDocumentsComponent {
18382
18203
  }
18383
18204
  QueryWriteAddDocumentsComponent.DOCUMENTS_FORM_CONTROL_NAME = 'documentCollection';
18384
18205
  QueryWriteAddDocumentsComponent.ɵfac = function QueryWriteAddDocumentsComponent_Factory(t) { return new (t || QueryWriteAddDocumentsComponent)(); };
18385
- QueryWriteAddDocumentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) { if (rf & 1) {
18206
+ QueryWriteAddDocumentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) { if (rf & 1) {
18386
18207
  i0.ɵɵelement(0, "ccd-write-collection-field", 0);
18387
18208
  } if (rf & 2) {
18388
18209
  i0.ɵɵproperty("formGroup", ctx.documentFormGroup)("caseField", ctx.mockDocumentCaseField);
@@ -18393,9 +18214,7 @@ QueryWriteAddDocumentsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWrit
18393
18214
  selector: 'ccd-query-write-add-documents',
18394
18215
  templateUrl: './query-write-add-documents.component.html'
18395
18216
  }]
18396
- }], null, { formGroup: [{
18397
- type: Input
18398
- }], documentCollectionUpdate: [{
18217
+ }], function () { return []; }, { documentCollectionUpdate: [{
18399
18218
  type: Output
18400
18219
  }] }); })();
18401
18220
 
@@ -18442,7 +18261,7 @@ function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) { if (rf & 1) {
18442
18261
  i0.ɵɵadvance(2);
18443
18262
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
18444
18263
  i0.ɵɵadvance(2);
18445
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
18264
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
18446
18265
  } }
18447
18266
  class QueryWriteRaiseQueryComponent {
18448
18267
  }
@@ -18714,6 +18533,16 @@ QueryWriteRespondToQueryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryWr
18714
18533
  type: Input
18715
18534
  }] }); })();
18716
18535
 
18536
+ class QueryManagementUtils {
18537
+ static extractCaseQueriesFromCaseField() {
18538
+ }
18539
+ }
18540
+ QueryManagementUtils.ɵfac = function QueryManagementUtils_Factory(t) { return new (t || QueryManagementUtils)(); };
18541
+ QueryManagementUtils.ɵprov = i0.ɵɵdefineInjectable({ token: QueryManagementUtils, factory: QueryManagementUtils.ɵfac });
18542
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryManagementUtils, [{
18543
+ type: Injectable
18544
+ }], null, null); })();
18545
+
18717
18546
  function ReadQueryManagementFieldComponent_ng_container_1_div_1_Template(rf, ctx) { if (rf & 1) {
18718
18547
  const _r5 = i0.ɵɵgetCurrentView();
18719
18548
  i0.ɵɵelementStart(0, "div", 3);
@@ -18807,22 +18636,7 @@ function WriteQueryManagementFieldComponent_ng_template_2_Template(rf, ctx) { if
18807
18636
  class WriteQueryManagementFieldComponent extends AbstractFieldReadComponent {
18808
18637
  constructor() {
18809
18638
  super();
18810
- this.responseFormGroup = new FormGroup({
18811
- response: new FormControl('', [Validators.required]),
18812
- documents: new FormControl([])
18813
- });
18814
- this.errorMessages = [];
18815
- this.submitted = false;
18816
- }
18817
- submitForm() {
18818
- this.submitted = true;
18819
- this.errorMessages = [];
18820
- window.scrollTo(0, 0);
18821
- if (!this.responseFormGroup.valid) {
18822
- if (this.responseFormGroup.controls.response.hasError('required')) {
18823
- this.errorMessages.push({ controlName: 'response', message: 'Add a response before continue' });
18824
- }
18825
- }
18639
+ this.formGroup = new FormGroup({});
18826
18640
  }
18827
18641
  }
18828
18642
  WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
@@ -25678,7 +25492,6 @@ const PALETTE_COMPONENTS = [
25678
25492
  QueryWriteRespondToQueryComponent,
25679
25493
  QueryWriteRaiseQueryComponent,
25680
25494
  QueryCaseDetailsHeaderComponent,
25681
- QueryCheckYourAnswersComponent,
25682
25495
  QueryWriteAddDocumentsComponent,
25683
25496
  ];
25684
25497
  class PaletteModule {
@@ -25861,7 +25674,6 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
25861
25674
  QueryWriteRespondToQueryComponent,
25862
25675
  QueryWriteRaiseQueryComponent,
25863
25676
  QueryCaseDetailsHeaderComponent,
25864
- QueryCheckYourAnswersComponent,
25865
25677
  QueryWriteAddDocumentsComponent], imports: [CommonModule,
25866
25678
  RouterModule,
25867
25679
  FormsModule,
@@ -26009,7 +25821,6 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
26009
25821
  QueryWriteRespondToQueryComponent,
26010
25822
  QueryWriteRaiseQueryComponent,
26011
25823
  QueryCaseDetailsHeaderComponent,
26012
- QueryCheckYourAnswersComponent,
26013
25824
  QueryWriteAddDocumentsComponent] }); })();
26014
25825
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
26015
25826
  type: NgModule,
@@ -26155,7 +25966,6 @@ i0.ɵɵsetComponentScope(QueryDetailsComponent, [i5.NgIf, QueryDetailsTableCompo
26155
25966
  i0.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
26156
25967
  QueryDetailsTableComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i1.RpxTranslatePipe]);
26157
25968
  i0.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3.NgControlStatusGroup, i3.FormGroupDirective, i5.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlName], [i1.RpxTranslatePipe]);
26158
- i0.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [QueryCaseDetailsHeaderComponent, i5.NgIf, ReadCollectionFieldComponent], [i1.RpxTranslatePipe]);
26159
25969
  i0.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3.NgControlStatusGroup, i3.FormGroupDirective], []);
26160
25970
 
26161
25971
  class Confirmation {
@@ -35510,5 +35320,5 @@ class TestRouteSnapshotBuilder {
35510
35320
  * Generated bundle index. Do not edit.
35511
35321
  */
35512
35322
 
35513
- 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 };
35323
+ 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, 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 };
35514
35324
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map