@hmcts/ccd-case-ui-toolkit 6.16.0-query-details-ui-changes → 6.16.0-query-management-read-view-changes-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.
@@ -17747,6 +17747,12 @@ var RaiseQueryErrorMessage;
17747
17747
  RaiseQueryErrorMessage["RESPOND_QUERY_BODY"] = "Add a response before continue";
17748
17748
  })(RaiseQueryErrorMessage || (RaiseQueryErrorMessage = {}));
17749
17749
 
17750
+ var QueryItemResponseStatus;
17751
+ (function (QueryItemResponseStatus) {
17752
+ QueryItemResponseStatus["NEW"] = "New";
17753
+ QueryItemResponseStatus["RESPONDED"] = "Responded";
17754
+ })(QueryItemResponseStatus || (QueryItemResponseStatus = {}));
17755
+
17750
17756
  var RespondToQueryErrorMessages;
17751
17757
  (function (RespondToQueryErrorMessages) {
17752
17758
  RespondToQueryErrorMessages["FULL_NAME"] = "Enter a full name";
@@ -17758,12 +17764,6 @@ var QualifyingQuestionsErrorMessage;
17758
17764
  QualifyingQuestionsErrorMessage["SELECT_AN_OPTION"] = "Select an option";
17759
17765
  })(QualifyingQuestionsErrorMessage || (QualifyingQuestionsErrorMessage = {}));
17760
17766
 
17761
- var QueryItemResponseStatus;
17762
- (function (QueryItemResponseStatus) {
17763
- QueryItemResponseStatus["NEW"] = "New";
17764
- QueryItemResponseStatus["RESPONDED"] = "Responded";
17765
- })(QueryItemResponseStatus || (QueryItemResponseStatus = {}));
17766
-
17767
17767
  function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_7_Template(rf, ctx) { if (rf & 1) {
17768
17768
  i0.ɵɵelementContainerStart(0);
17769
17769
  i0.ɵɵelementStart(1, "p", 7);
@@ -18239,8 +18239,8 @@ QueryCheckYourAnswersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryCheck
18239
18239
  type: Output
18240
18240
  }] }); })();
18241
18241
 
18242
- function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) { if (rf & 1) {
18243
- i0.ɵɵelementStart(0, "tr", 3);
18242
+ function QueryDetailsTableComponent_ng_container_0_tr_36_Template(rf, ctx) { if (rf & 1) {
18243
+ i0.ɵɵelementStart(0, "tr", 8);
18244
18244
  i0.ɵɵelementStart(1, "th", 4);
18245
18245
  i0.ɵɵtext(2);
18246
18246
  i0.ɵɵpipe(3, "rpxTranslate");
@@ -18257,8 +18257,8 @@ function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) { if
18257
18257
  i0.ɵɵadvance(3);
18258
18258
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
18259
18259
  } }
18260
- function QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_41_Template(rf, ctx) { if (rf & 1) {
18261
- i0.ɵɵelement(0, "ccd-query-attachments-read", 8);
18260
+ function QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template(rf, ctx) { if (rf & 1) {
18261
+ i0.ɵɵelement(0, "ccd-query-attachments-read", 9);
18262
18262
  } if (rf & 2) {
18263
18263
  const ctx_r2 = i0.ɵɵnextContext(2);
18264
18264
  i0.ɵɵproperty("attachments", ctx_r2.queryItem.attachments);
@@ -18275,16 +18275,16 @@ function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf &
18275
18275
  i0.ɵɵelementEnd();
18276
18276
  i0.ɵɵelementStart(8, "td", 5);
18277
18277
  i0.ɵɵtext(9);
18278
- i0.ɵɵpipe(10, "date");
18279
18278
  i0.ɵɵelementEnd();
18280
18279
  i0.ɵɵelementEnd();
18281
- i0.ɵɵelementStart(11, "tr", 3);
18282
- i0.ɵɵelementStart(12, "th", 4);
18283
- i0.ɵɵtext(13);
18284
- i0.ɵɵpipe(14, "rpxTranslate");
18280
+ i0.ɵɵelementStart(10, "tr", 3);
18281
+ i0.ɵɵelementStart(11, "th", 4);
18282
+ i0.ɵɵtext(12);
18283
+ i0.ɵɵpipe(13, "rpxTranslate");
18285
18284
  i0.ɵɵelementEnd();
18286
- i0.ɵɵelementStart(15, "td", 5);
18287
- i0.ɵɵtext(16);
18285
+ i0.ɵɵelementStart(14, "td", 5);
18286
+ i0.ɵɵtext(15);
18287
+ i0.ɵɵpipe(16, "date");
18288
18288
  i0.ɵɵelementEnd();
18289
18289
  i0.ɵɵelementEnd();
18290
18290
  i0.ɵɵelementStart(17, "tr", 3);
@@ -18312,16 +18312,17 @@ function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf &
18312
18312
  i0.ɵɵelementEnd();
18313
18313
  i0.ɵɵelementStart(33, "td", 5);
18314
18314
  i0.ɵɵtext(34);
18315
+ i0.ɵɵpipe(35, "rpxTranslate");
18315
18316
  i0.ɵɵelementEnd();
18316
18317
  i0.ɵɵelementEnd();
18317
- i0.ɵɵtemplate(35, QueryDetailsTableComponent_ng_container_0_tr_35_Template, 7, 7, "tr", 6);
18318
- i0.ɵɵelementStart(36, "tr", 3);
18319
- i0.ɵɵelementStart(37, "th", 4);
18320
- i0.ɵɵtext(38);
18321
- i0.ɵɵpipe(39, "rpxTranslate");
18318
+ i0.ɵɵtemplate(36, QueryDetailsTableComponent_ng_container_0_tr_36_Template, 7, 7, "tr", 6);
18319
+ i0.ɵɵelementStart(37, "tr", 3);
18320
+ i0.ɵɵelementStart(38, "th", 4);
18321
+ i0.ɵɵtext(39);
18322
+ i0.ɵɵpipe(40, "rpxTranslate");
18322
18323
  i0.ɵɵelementEnd();
18323
- i0.ɵɵelementStart(40, "td", 5);
18324
- i0.ɵɵtemplate(41, QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_41_Template, 1, 1, "ccd-query-attachments-read", 7);
18324
+ i0.ɵɵelementStart(41, "td", 5);
18325
+ i0.ɵɵtemplate(42, QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template, 1, 1, "ccd-query-attachments-read", 7);
18325
18326
  i0.ɵɵelementEnd();
18326
18327
  i0.ɵɵelementEnd();
18327
18328
  i0.ɵɵelementEnd();
@@ -18330,42 +18331,46 @@ function QueryDetailsTableComponent_ng_container_0_Template(rf, ctx) { if (rf &
18330
18331
  } if (rf & 2) {
18331
18332
  const ctx_r0 = i0.ɵɵnextContext();
18332
18333
  i0.ɵɵadvance(1);
18333
- i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 14, "Details of the query"));
18334
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 18, "Details of the query"));
18334
18335
  i0.ɵɵadvance(5);
18335
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 16, "Submission date"));
18336
- i0.ɵɵadvance(3);
18337
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 18, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
18338
- i0.ɵɵadvance(4);
18339
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 21, "Submitted by"));
18336
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 20, "Last submitted by"));
18340
18337
  i0.ɵɵadvance(3);
18341
18338
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
18342
18339
  i0.ɵɵadvance(3);
18343
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 23, "Query subject"));
18340
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 22, "Submission date"));
18341
+ i0.ɵɵadvance(3);
18342
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(16, 24, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
18343
+ i0.ɵɵadvance(4);
18344
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 27, "Query subject"));
18344
18345
  i0.ɵɵadvance(3);
18345
18346
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
18346
18347
  i0.ɵɵadvance(3);
18347
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 25, "Query detail"));
18348
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 29, "Query body"));
18348
18349
  i0.ɵɵadvance(3);
18349
18350
  i0.ɵɵtextInterpolate(ctx_r0.queryItem.body);
18350
- i0.ɵɵadvance(3);
18351
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 27, "Is the query hearing related?"));
18352
- i0.ɵɵadvance(3);
18353
- i0.ɵɵtextInterpolate(ctx_r0.queryItem.isHearingRelated ? "Yes" : "No");
18351
+ i0.ɵɵadvance(2);
18352
+ i0.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.queryItem.isHearingRelated);
18354
18353
  i0.ɵɵadvance(1);
18354
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 31, "Is the query hearing related?"), " ");
18355
+ i0.ɵɵadvance(2);
18356
+ i0.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.queryItem.isHearingRelated);
18357
+ i0.ɵɵadvance(1);
18358
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(35, 33, "Is the query hearing related?", null, ctx_r0.queryItem.isHearingRelated ? "Yes" : "No"), "");
18359
+ i0.ɵɵadvance(2);
18355
18360
  i0.ɵɵproperty("ngIf", ctx_r0.queryItem.isHearingRelated);
18356
18361
  i0.ɵɵadvance(3);
18357
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(39, 29, "Attachments"));
18362
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(40, 37, "Attachments"));
18358
18363
  i0.ɵɵadvance(3);
18359
18364
  i0.ɵɵproperty("ngIf", ctx_r0.queryItem.attachments);
18360
18365
  } }
18361
18366
  class QueryDetailsTableComponent {
18362
18367
  }
18363
18368
  QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
18364
- QueryDetailsTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) { if (rf & 1) {
18365
- i0.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 42, 31, "ng-container", 0);
18369
+ QueryDetailsTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) { if (rf & 1) {
18370
+ i0.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 43, 39, "ng-container", 0);
18366
18371
  } if (rf & 2) {
18367
18372
  i0.ɵɵproperty("ngIf", ctx.queryItem);
18368
- } }, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
18373
+ } }, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}.query-details-table[_ngcontent-%COMP%] .collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{border-bottom:none}.query-details-table[_ngcontent-%COMP%] .govuk-table__cell--no-border[_ngcontent-%COMP%], .query-details-table[_ngcontent-%COMP%] .govuk-table__header--no-border[_ngcontent-%COMP%]{border-bottom:0}"] });
18369
18374
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsTableComponent, [{
18370
18375
  type: Component,
18371
18376
  args: [{
@@ -18602,28 +18607,30 @@ var SortOrder;
18602
18607
  })(SortOrder || (SortOrder = {}));
18603
18608
 
18604
18609
  function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) { if (rf & 1) {
18605
- const _r5 = i0.ɵɵgetCurrentView();
18610
+ const _r6 = i0.ɵɵgetCurrentView();
18606
18611
  i0.ɵɵelementStart(0, "th", 8);
18607
- i0.ɵɵtext(1);
18608
- i0.ɵɵpipe(2, "rpxTranslate");
18609
- i0.ɵɵelementStart(3, "a", 9);
18610
- i0.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r5); const col_r3 = ctx.$implicit; const ctx_r4 = i0.ɵɵnextContext(2); return ctx_r4.sortTable(col_r3); });
18612
+ i0.ɵɵelementStart(1, "button", 9);
18613
+ i0.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const col_r3 = ctx.$implicit; const ctx_r5 = i0.ɵɵnextContext(2); return ctx_r5.sortTable(col_r3); });
18614
+ i0.ɵɵtext(2);
18615
+ i0.ɵɵpipe(3, "rpxTranslate");
18611
18616
  i0.ɵɵelementEnd();
18612
18617
  i0.ɵɵelementEnd();
18613
18618
  } if (rf & 2) {
18614
18619
  const col_r3 = ctx.$implicit;
18620
+ const i_r4 = ctx.index;
18615
18621
  const ctx_r1 = i0.ɵɵnextContext(2);
18622
+ i0.ɵɵattribute("aria-sort", ctx_r1.getAriaSortHeaderValue(col_r3));
18616
18623
  i0.ɵɵadvance(1);
18617
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, col_r3.displayName), " ");
18618
- i0.ɵɵadvance(2);
18619
- i0.ɵɵproperty("innerHTML", ctx_r1.sortWidget(col_r3), i0.ɵɵsanitizeHtml);
18624
+ i0.ɵɵattribute("data-index", i_r4);
18625
+ i0.ɵɵadvance(1);
18626
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, col_r3.displayName), " ");
18620
18627
  } }
18621
18628
  function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1) {
18622
- const _r8 = i0.ɵɵgetCurrentView();
18629
+ const _r9 = i0.ɵɵgetCurrentView();
18623
18630
  i0.ɵɵelementStart(0, "tr", 4);
18624
18631
  i0.ɵɵelementStart(1, "td", 10);
18625
18632
  i0.ɵɵelementStart(2, "a", 11);
18626
- i0.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0.ɵɵrestoreView(_r8); const message_r6 = ctx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.showDetails(message_r6); });
18633
+ i0.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0.ɵɵrestoreView(_r9); const message_r7 = ctx.$implicit; const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.showDetails(message_r7); });
18627
18634
  i0.ɵɵtext(3);
18628
18635
  i0.ɵɵelementEnd();
18629
18636
  i0.ɵɵelementEnd();
@@ -18644,17 +18651,17 @@ function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1)
18644
18651
  i0.ɵɵelementEnd();
18645
18652
  i0.ɵɵelementEnd();
18646
18653
  } if (rf & 2) {
18647
- const message_r6 = ctx.$implicit;
18654
+ const message_r7 = ctx.$implicit;
18648
18655
  i0.ɵɵadvance(3);
18649
- i0.ɵɵtextInterpolate(message_r6.subject);
18656
+ i0.ɵɵtextInterpolate(message_r7.subject);
18650
18657
  i0.ɵɵadvance(2);
18651
- i0.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
18658
+ i0.ɵɵtextInterpolate(message_r7.lastSubmittedBy);
18652
18659
  i0.ɵɵadvance(2);
18653
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY"));
18660
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 5, message_r7.lastSubmittedDate, "dd MMM YYYY"));
18654
18661
  i0.ɵɵadvance(3);
18655
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY"));
18662
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(11, 8, message_r7.lastResponseDate, "dd MMM YYYY"));
18656
18663
  i0.ɵɵadvance(3);
18657
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r6.responseStatus));
18664
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r7.responseStatus));
18658
18665
  } }
18659
18666
  function QueryListComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
18660
18667
  i0.ɵɵelementContainerStart(0);
@@ -18666,7 +18673,7 @@ function QueryListComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
18666
18673
  i0.ɵɵelementEnd();
18667
18674
  i0.ɵɵelementStart(5, "thead", 3);
18668
18675
  i0.ɵɵelementStart(6, "tr", 4);
18669
- i0.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 4, "th", 5);
18676
+ i0.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 5, "th", 5);
18670
18677
  i0.ɵɵelementEnd();
18671
18678
  i0.ɵɵelementEnd();
18672
18679
  i0.ɵɵelementStart(8, "tbody", 6);
@@ -18687,7 +18694,7 @@ class QueryListComponent {
18687
18694
  constructor() {
18688
18695
  this.selectedQuery = new EventEmitter();
18689
18696
  this.displayedColumns = [
18690
- { name: 'subject', displayName: 'Queries', sortOrder: SortOrder.UNSORTED },
18697
+ { name: 'subject', displayName: 'Query subject', sortOrder: SortOrder.UNSORTED },
18691
18698
  { name: 'lastSubmittedBy', displayName: 'Last submitted by', sortOrder: SortOrder.UNSORTED },
18692
18699
  { name: 'lastSubmittedDate', displayName: 'Last submission date', sortOrder: SortOrder.UNSORTED },
18693
18700
  { name: 'lastResponseDate', displayName: 'Last response date', sortOrder: SortOrder.UNSORTED },
@@ -18714,13 +18721,16 @@ class QueryListComponent {
18714
18721
  }
18715
18722
  }
18716
18723
  }
18717
- sortWidget(col) {
18724
+ getAriaSortHeaderValue(col) {
18718
18725
  switch (col.sortOrder) {
18719
18726
  case SortOrder.ASCENDING: {
18720
- return '▲';
18727
+ return 'ascending';
18728
+ }
18729
+ case SortOrder.DESCENDING: {
18730
+ return 'descending';
18721
18731
  }
18722
18732
  default: {
18723
- return '▼';
18733
+ return 'none';
18724
18734
  }
18725
18735
  }
18726
18736
  }
@@ -18753,11 +18763,11 @@ class QueryListComponent {
18753
18763
  }
18754
18764
  }
18755
18765
  QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
18756
- QueryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], [1, "govuk-table__header"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) { if (rf & 1) {
18766
+ QueryListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) { if (rf & 1) {
18757
18767
  i0.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
18758
18768
  } if (rf & 2) {
18759
18769
  i0.ɵɵproperty("ngIf", ctx.queryListData);
18760
- } }, directives: [i5.NgIf, i5.NgForOf], pipes: [i1.RpxTranslatePipe, i5.DatePipe], styles: [".query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#000}"] });
18770
+ } }, directives: [i5.NgIf, i5.NgForOf], pipes: [i1.RpxTranslatePipe, i5.DatePipe], styles: ["@charset \"UTF-8\";.query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
18761
18771
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
18762
18772
  type: Component,
18763
18773
  args: [{