@hmcts/ccd-case-ui-toolkit 6.14.2-clear-validation-errors → 6.14.2-go-to-page

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.
@@ -10616,7 +10616,6 @@
10616
10616
  else {
10617
10617
  this.caseEdit.cancelled.emit();
10618
10618
  }
10619
- this.caseEditDataService.clearFormValidationErrors();
10620
10619
  };
10621
10620
  CaseEditPageComponent.prototype.submitting = function () {
10622
10621
  return this.isSubmitting;
@@ -27712,46 +27711,46 @@
27712
27711
 
27713
27712
  function PaginationComponent_ul_3_li_1_a_1_Template(rf, ctx) {
27714
27713
  if (rf & 1) {
27715
- var _r8_1 = i0__namespace.ɵɵgetCurrentView();
27716
- i0__namespace.ɵɵelementStart(0, "a", 12);
27717
- i0__namespace.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_1_a_1_Template_a_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r8_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.previous(); })("click", function PaginationComponent_ul_3_li_1_a_1_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r8_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.previous(); });
27714
+ var _r9_1 = i0__namespace.ɵɵgetCurrentView();
27715
+ i0__namespace.ɵɵelementStart(0, "a", 15);
27716
+ i0__namespace.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_1_a_1_Template_a_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.previous(); })("click", function PaginationComponent_ul_3_li_1_a_1_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.previous(); });
27718
27717
  i0__namespace.ɵɵtext(1);
27719
- i0__namespace.ɵɵelementStart(2, "span", 13);
27718
+ i0__namespace.ɵɵelementStart(2, "span", 16);
27720
27719
  i0__namespace.ɵɵtext(3);
27721
27720
  i0__namespace.ɵɵelementEnd();
27722
27721
  i0__namespace.ɵɵelementEnd();
27723
27722
  }
27724
27723
  if (rf & 2) {
27725
- var ctx_r5 = i0__namespace.ɵɵnextContext(3);
27726
- i0__namespace.ɵɵattribute("aria-label", ctx_r5.previousLabel + " " + ctx_r5.screenReaderPageLabel);
27724
+ var ctx_r6 = i0__namespace.ɵɵnextContext(3);
27725
+ i0__namespace.ɵɵattribute("aria-label", ctx_r6.previousLabel + " " + ctx_r6.screenReaderPageLabel);
27727
27726
  i0__namespace.ɵɵadvance(1);
27728
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r5.previousLabel, " ");
27727
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r6.previousLabel, " ");
27729
27728
  i0__namespace.ɵɵadvance(2);
27730
- i0__namespace.ɵɵtextInterpolate(ctx_r5.screenReaderPageLabel);
27729
+ i0__namespace.ɵɵtextInterpolate(ctx_r6.screenReaderPageLabel);
27731
27730
  }
27732
27731
  }
27733
27732
  function PaginationComponent_ul_3_li_1_span_2_Template(rf, ctx) {
27734
27733
  if (rf & 1) {
27735
27734
  i0__namespace.ɵɵelementStart(0, "span");
27736
27735
  i0__namespace.ɵɵtext(1);
27737
- i0__namespace.ɵɵelementStart(2, "span", 13);
27736
+ i0__namespace.ɵɵelementStart(2, "span", 16);
27738
27737
  i0__namespace.ɵɵtext(3);
27739
27738
  i0__namespace.ɵɵelementEnd();
27740
27739
  i0__namespace.ɵɵelementEnd();
27741
27740
  }
27742
27741
  if (rf & 2) {
27743
- var ctx_r6 = i0__namespace.ɵɵnextContext(3);
27742
+ var ctx_r7 = i0__namespace.ɵɵnextContext(3);
27744
27743
  i0__namespace.ɵɵadvance(1);
27745
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r6.previousLabel, " ");
27744
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r7.previousLabel, " ");
27746
27745
  i0__namespace.ɵɵadvance(2);
27747
- i0__namespace.ɵɵtextInterpolate(ctx_r6.screenReaderPageLabel);
27746
+ i0__namespace.ɵɵtextInterpolate(ctx_r7.screenReaderPageLabel);
27748
27747
  }
27749
27748
  }
27750
27749
  function PaginationComponent_ul_3_li_1_Template(rf, ctx) {
27751
27750
  if (rf & 1) {
27752
- i0__namespace.ɵɵelementStart(0, "li", 9);
27753
- i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_a_1_Template, 4, 3, "a", 10);
27754
- i0__namespace.ɵɵtemplate(2, PaginationComponent_ul_3_li_1_span_2_Template, 4, 2, "span", 11);
27751
+ i0__namespace.ɵɵelementStart(0, "li", 12);
27752
+ i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_a_1_Template, 4, 3, "a", 13);
27753
+ i0__namespace.ɵɵtemplate(2, PaginationComponent_ul_3_li_1_span_2_Template, 4, 2, "span", 14);
27755
27754
  i0__namespace.ɵɵelementEnd();
27756
27755
  }
27757
27756
  if (rf & 2) {
@@ -27766,10 +27765,10 @@
27766
27765
  }
27767
27766
  function PaginationComponent_ul_3_li_4_a_1_Template(rf, ctx) {
27768
27767
  if (rf & 1) {
27769
- var _r15_1 = i0__namespace.ɵɵgetCurrentView();
27770
- i0__namespace.ɵɵelementStart(0, "a", 12);
27771
- i0__namespace.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_4_a_1_Template_a_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r15_1); var page_r10 = i0__namespace.ɵɵnextContext().$implicit; i0__namespace.ɵɵnextContext(2); var _r0 = i0__namespace.ɵɵreference(1); return _r0.setCurrent(page_r10.value); })("click", function PaginationComponent_ul_3_li_4_a_1_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r15_1); var page_r10 = i0__namespace.ɵɵnextContext().$implicit; i0__namespace.ɵɵnextContext(2); var _r0 = i0__namespace.ɵɵreference(1); return _r0.setCurrent(page_r10.value); });
27772
- i0__namespace.ɵɵelementStart(1, "span", 13);
27768
+ var _r16_1 = i0__namespace.ɵɵgetCurrentView();
27769
+ i0__namespace.ɵɵelementStart(0, "a", 15);
27770
+ i0__namespace.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_4_a_1_Template_a_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r16_1); var page_r11 = i0__namespace.ɵɵnextContext().$implicit; i0__namespace.ɵɵnextContext(2); var _r0 = i0__namespace.ɵɵreference(1); return _r0.setCurrent(page_r11.value); })("click", function PaginationComponent_ul_3_li_4_a_1_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r16_1); var page_r11 = i0__namespace.ɵɵnextContext().$implicit; i0__namespace.ɵɵnextContext(2); var _r0 = i0__namespace.ɵɵreference(1); return _r0.setCurrent(page_r11.value); });
27771
+ i0__namespace.ɵɵelementStart(1, "span", 16);
27773
27772
  i0__namespace.ɵɵtext(2);
27774
27773
  i0__namespace.ɵɵelementEnd();
27775
27774
  i0__namespace.ɵɵelementStart(3, "span");
@@ -27779,18 +27778,18 @@
27779
27778
  i0__namespace.ɵɵelementEnd();
27780
27779
  }
27781
27780
  if (rf & 2) {
27782
- var page_r10 = i0__namespace.ɵɵnextContext().$implicit;
27783
- var ctx_r11 = i0__namespace.ɵɵnextContext(2);
27781
+ var page_r11 = i0__namespace.ɵɵnextContext().$implicit;
27782
+ var ctx_r12 = i0__namespace.ɵɵnextContext(2);
27784
27783
  i0__namespace.ɵɵadvance(2);
27785
- i0__namespace.ɵɵtextInterpolate1("", ctx_r11.screenReaderPageLabel, " ");
27784
+ i0__namespace.ɵɵtextInterpolate1("", ctx_r12.screenReaderPageLabel, " ");
27786
27785
  i0__namespace.ɵɵadvance(2);
27787
- i0__namespace.ɵɵtextInterpolate(page_r10.label === "..." ? page_r10.label : i0__namespace.ɵɵpipeBind2(5, 2, page_r10.label, ""));
27786
+ i0__namespace.ɵɵtextInterpolate(page_r11.label === "..." ? page_r11.label : i0__namespace.ɵɵpipeBind2(5, 2, page_r11.label, ""));
27788
27787
  }
27789
27788
  }
27790
27789
  function PaginationComponent_ul_3_li_4_ng_container_2_Template(rf, ctx) {
27791
27790
  if (rf & 1) {
27792
27791
  i0__namespace.ɵɵelementContainerStart(0);
27793
- i0__namespace.ɵɵelementStart(1, "span", 13);
27792
+ i0__namespace.ɵɵelementStart(1, "span", 16);
27794
27793
  i0__namespace.ɵɵtext(2);
27795
27794
  i0__namespace.ɵɵelementEnd();
27796
27795
  i0__namespace.ɵɵelementStart(3, "span");
@@ -27800,74 +27799,74 @@
27800
27799
  i0__namespace.ɵɵelementContainerEnd();
27801
27800
  }
27802
27801
  if (rf & 2) {
27803
- var page_r10 = i0__namespace.ɵɵnextContext().$implicit;
27804
- var ctx_r12 = i0__namespace.ɵɵnextContext(2);
27802
+ var page_r11 = i0__namespace.ɵɵnextContext().$implicit;
27803
+ var ctx_r13 = i0__namespace.ɵɵnextContext(2);
27805
27804
  i0__namespace.ɵɵadvance(2);
27806
- i0__namespace.ɵɵtextInterpolate1("", ctx_r12.screenReaderCurrentLabel, " ");
27805
+ i0__namespace.ɵɵtextInterpolate1("", ctx_r13.screenReaderCurrentLabel, " ");
27807
27806
  i0__namespace.ɵɵadvance(2);
27808
- i0__namespace.ɵɵtextInterpolate(page_r10.label === "..." ? page_r10.label : i0__namespace.ɵɵpipeBind2(5, 2, page_r10.label, ""));
27807
+ i0__namespace.ɵɵtextInterpolate(page_r11.label === "..." ? page_r11.label : i0__namespace.ɵɵpipeBind2(5, 2, page_r11.label, ""));
27809
27808
  }
27810
27809
  }
27811
27810
  function PaginationComponent_ul_3_li_4_Template(rf, ctx) {
27812
27811
  if (rf & 1) {
27813
27812
  i0__namespace.ɵɵelementStart(0, "li");
27814
- i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_4_a_1_Template, 6, 5, "a", 10);
27815
- i0__namespace.ɵɵtemplate(2, PaginationComponent_ul_3_li_4_ng_container_2_Template, 6, 5, "ng-container", 11);
27813
+ i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_4_a_1_Template, 6, 5, "a", 13);
27814
+ i0__namespace.ɵɵtemplate(2, PaginationComponent_ul_3_li_4_ng_container_2_Template, 6, 5, "ng-container", 14);
27816
27815
  i0__namespace.ɵɵelementEnd();
27817
27816
  }
27818
27817
  if (rf & 2) {
27819
- var page_r10 = ctx.$implicit;
27818
+ var page_r11 = ctx.$implicit;
27820
27819
  i0__namespace.ɵɵnextContext(2);
27821
27820
  var _r0 = i0__namespace.ɵɵreference(1);
27822
- i0__namespace.ɵɵclassProp("current", _r0.getCurrent() === page_r10.value)("ellipsis", page_r10.label === "...");
27821
+ i0__namespace.ɵɵclassProp("current", _r0.getCurrent() === page_r11.value)("ellipsis", page_r11.label === "...");
27823
27822
  i0__namespace.ɵɵadvance(1);
27824
- i0__namespace.ɵɵproperty("ngIf", _r0.getCurrent() !== page_r10.value);
27823
+ i0__namespace.ɵɵproperty("ngIf", _r0.getCurrent() !== page_r11.value);
27825
27824
  i0__namespace.ɵɵadvance(1);
27826
- i0__namespace.ɵɵproperty("ngIf", _r0.getCurrent() === page_r10.value);
27825
+ i0__namespace.ɵɵproperty("ngIf", _r0.getCurrent() === page_r11.value);
27827
27826
  }
27828
27827
  }
27829
27828
  function PaginationComponent_ul_3_li_5_a_1_Template(rf, ctx) {
27830
27829
  if (rf & 1) {
27831
- var _r23_1 = i0__namespace.ɵɵgetCurrentView();
27832
- i0__namespace.ɵɵelementStart(0, "a", 12);
27833
- i0__namespace.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_5_a_1_Template_a_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r23_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.next(); })("click", function PaginationComponent_ul_3_li_5_a_1_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r23_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.next(); });
27830
+ var _r24_1 = i0__namespace.ɵɵgetCurrentView();
27831
+ i0__namespace.ɵɵelementStart(0, "a", 15);
27832
+ i0__namespace.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_5_a_1_Template_a_keyup_enter_0_listener() { i0__namespace.ɵɵrestoreView(_r24_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.next(); })("click", function PaginationComponent_ul_3_li_5_a_1_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r24_1); i0__namespace.ɵɵnextContext(3); var _r0 = i0__namespace.ɵɵreference(1); return _r0.next(); });
27834
27833
  i0__namespace.ɵɵtext(1);
27835
- i0__namespace.ɵɵelementStart(2, "span", 13);
27834
+ i0__namespace.ɵɵelementStart(2, "span", 16);
27836
27835
  i0__namespace.ɵɵtext(3);
27837
27836
  i0__namespace.ɵɵelementEnd();
27838
27837
  i0__namespace.ɵɵelementEnd();
27839
27838
  }
27840
27839
  if (rf & 2) {
27841
- var ctx_r20 = i0__namespace.ɵɵnextContext(3);
27842
- i0__namespace.ɵɵattribute("aria-label", ctx_r20.nextLabel + " " + ctx_r20.screenReaderPageLabel);
27840
+ var ctx_r21 = i0__namespace.ɵɵnextContext(3);
27841
+ i0__namespace.ɵɵattribute("aria-label", ctx_r21.nextLabel + " " + ctx_r21.screenReaderPageLabel);
27843
27842
  i0__namespace.ɵɵadvance(1);
27844
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r20.nextLabel, " ");
27843
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r21.nextLabel, " ");
27845
27844
  i0__namespace.ɵɵadvance(2);
27846
- i0__namespace.ɵɵtextInterpolate(ctx_r20.screenReaderPageLabel);
27845
+ i0__namespace.ɵɵtextInterpolate(ctx_r21.screenReaderPageLabel);
27847
27846
  }
27848
27847
  }
27849
27848
  function PaginationComponent_ul_3_li_5_span_2_Template(rf, ctx) {
27850
27849
  if (rf & 1) {
27851
27850
  i0__namespace.ɵɵelementStart(0, "span");
27852
27851
  i0__namespace.ɵɵtext(1);
27853
- i0__namespace.ɵɵelementStart(2, "span", 13);
27852
+ i0__namespace.ɵɵelementStart(2, "span", 16);
27854
27853
  i0__namespace.ɵɵtext(3);
27855
27854
  i0__namespace.ɵɵelementEnd();
27856
27855
  i0__namespace.ɵɵelementEnd();
27857
27856
  }
27858
27857
  if (rf & 2) {
27859
- var ctx_r21 = i0__namespace.ɵɵnextContext(3);
27858
+ var ctx_r22 = i0__namespace.ɵɵnextContext(3);
27860
27859
  i0__namespace.ɵɵadvance(1);
27861
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r21.nextLabel, " ");
27860
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r22.nextLabel, " ");
27862
27861
  i0__namespace.ɵɵadvance(2);
27863
- i0__namespace.ɵɵtextInterpolate(ctx_r21.screenReaderPageLabel);
27862
+ i0__namespace.ɵɵtextInterpolate(ctx_r22.screenReaderPageLabel);
27864
27863
  }
27865
27864
  }
27866
27865
  function PaginationComponent_ul_3_li_5_Template(rf, ctx) {
27867
27866
  if (rf & 1) {
27868
- i0__namespace.ɵɵelementStart(0, "li", 14);
27869
- i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_5_a_1_Template, 4, 3, "a", 10);
27870
- i0__namespace.ɵɵtemplate(2, PaginationComponent_ul_3_li_5_span_2_Template, 4, 2, "span", 11);
27867
+ i0__namespace.ɵɵelementStart(0, "li", 17);
27868
+ i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_5_a_1_Template, 4, 3, "a", 13);
27869
+ i0__namespace.ɵɵtemplate(2, PaginationComponent_ul_3_li_5_span_2_Template, 4, 2, "span", 14);
27871
27870
  i0__namespace.ɵɵelementEnd();
27872
27871
  }
27873
27872
  if (rf & 2) {
@@ -27882,13 +27881,13 @@
27882
27881
  }
27883
27882
  function PaginationComponent_ul_3_Template(rf, ctx) {
27884
27883
  if (rf & 1) {
27885
- i0__namespace.ɵɵelementStart(0, "ul", 4);
27886
- i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_Template, 3, 4, "li", 5);
27887
- i0__namespace.ɵɵelementStart(2, "li", 6);
27884
+ i0__namespace.ɵɵelementStart(0, "ul", 7);
27885
+ i0__namespace.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_Template, 3, 4, "li", 8);
27886
+ i0__namespace.ɵɵelementStart(2, "li", 9);
27888
27887
  i0__namespace.ɵɵtext(3);
27889
27888
  i0__namespace.ɵɵelementEnd();
27890
- i0__namespace.ɵɵtemplate(4, PaginationComponent_ul_3_li_4_Template, 3, 6, "li", 7);
27891
- i0__namespace.ɵɵtemplate(5, PaginationComponent_ul_3_li_5_Template, 3, 4, "li", 8);
27889
+ i0__namespace.ɵɵtemplate(4, PaginationComponent_ul_3_li_4_Template, 3, 6, "li", 10);
27890
+ i0__namespace.ɵɵtemplate(5, PaginationComponent_ul_3_li_5_Template, 3, 4, "li", 11);
27892
27891
  i0__namespace.ɵɵelementEnd();
27893
27892
  }
27894
27893
  if (rf & 2) {
@@ -27953,16 +27952,42 @@
27953
27952
  enumerable: false,
27954
27953
  configurable: true
27955
27954
  });
27955
+ PaginationComponent.prototype.goToPage = function ($event, p) {
27956
+ var pageNumber = Number($event.target.value);
27957
+ if ($event.target.value !== '' && pageNumber !== p.getCurrent()) {
27958
+ if (pageNumber > 0) {
27959
+ p.setCurrent(pageNumber);
27960
+ }
27961
+ else if (pageNumber < 0) {
27962
+ $event.target.value = (Math.abs(pageNumber)).toString();
27963
+ if (Math.abs(pageNumber) !== p.getCurrent()) {
27964
+ p.setCurrent(Math.abs(pageNumber));
27965
+ }
27966
+ }
27967
+ else {
27968
+ $event.target.value = '';
27969
+ }
27970
+ }
27971
+ };
27956
27972
  return PaginationComponent;
27957
27973
  }());
27958
27974
  PaginationComponent.ɵfac = function PaginationComponent_Factory(t) { return new (t || PaginationComponent)(); };
27959
- PaginationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["ccd-pagination"]], inputs: { visibilityLabel: "visibilityLabel", id: "id", maxSize: "maxSize", previousLabel: "previousLabel", nextLabel: "nextLabel", screenReaderPaginationLabel: "screenReaderPaginationLabel", screenReaderPageLabel: "screenReaderPageLabel", screenReaderCurrentLabel: "screenReaderCurrentLabel", directionLinks: "directionLinks", autoHide: "autoHide", responsive: "responsive" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, decls: 4, vars: 3, consts: [[3, "id", "maxSize", "pageChange", "pageBoundsCorrection"], ["p", "paginationApi"], ["role", "navigation", "aria-label", "Pagination"], ["class", "ngx-pagination", "role", "navigation", 3, "responsive", 4, "ngIf"], ["role", "navigation", 1, "ngx-pagination"], ["class", "pagination-previous", 3, "disabled", 4, "ngIf"], [1, "small-screen"], [3, "current", "ellipsis", 4, "ngFor", "ngForOf"], ["class", "pagination-next", 3, "disabled", 4, "ngIf"], [1, "pagination-previous"], ["tabindex", "0", 3, "keyup.enter", "click", 4, "ngIf"], [4, "ngIf"], ["tabindex", "0", 3, "keyup.enter", "click"], [1, "show-for-sr"], [1, "pagination-next"]], template: function PaginationComponent_Template(rf, ctx) {
27975
+ PaginationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["ccd-pagination"]], inputs: { visibilityLabel: "visibilityLabel", id: "id", maxSize: "maxSize", previousLabel: "previousLabel", nextLabel: "nextLabel", screenReaderPaginationLabel: "screenReaderPaginationLabel", screenReaderPageLabel: "screenReaderPageLabel", screenReaderCurrentLabel: "screenReaderCurrentLabel", directionLinks: "directionLinks", autoHide: "autoHide", responsive: "responsive" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, decls: 9, vars: 3, consts: [[3, "id", "maxSize", "pageChange", "pageBoundsCorrection"], ["p", "paginationApi"], ["role", "navigation", "aria-label", "Pagination", 1, "ngx-pagination-wrapper"], ["class", "ngx-pagination", "role", "navigation", 3, "responsive", 4, "ngIf"], [1, "ngx-go-to-page"], ["type", "number", "maxlength", "5", "min", "1", 1, "govuk-input", 3, "keyup.enter", "blur", "focus"], ["goToPageInput", ""], ["role", "navigation", 1, "ngx-pagination"], ["class", "pagination-previous", 3, "disabled", 4, "ngIf"], [1, "small-screen"], [3, "current", "ellipsis", 4, "ngFor", "ngForOf"], ["class", "pagination-next", 3, "disabled", 4, "ngIf"], [1, "pagination-previous"], ["tabindex", "0", 3, "keyup.enter", "click", 4, "ngIf"], [4, "ngIf"], ["tabindex", "0", 3, "keyup.enter", "click"], [1, "show-for-sr"], [1, "pagination-next"]], template: function PaginationComponent_Template(rf, ctx) {
27960
27976
  if (rf & 1) {
27977
+ var _r26_1 = i0__namespace.ɵɵgetCurrentView();
27961
27978
  i0__namespace.ɵɵelementStart(0, "pagination-template", 0, 1);
27962
27979
  i0__namespace.ɵɵlistener("pageChange", function PaginationComponent_Template_pagination_template_pageChange_0_listener($event) { return ctx.pageChange.emit($event); })("pageBoundsCorrection", function PaginationComponent_Template_pagination_template_pageBoundsCorrection_0_listener($event) { return ctx.pageBoundsCorrection.emit($event); });
27963
27980
  i0__namespace.ɵɵelementStart(2, "nav", 2);
27964
27981
  i0__namespace.ɵɵtemplate(3, PaginationComponent_ul_3_Template, 6, 8, "ul", 3);
27965
27982
  i0__namespace.ɵɵelementEnd();
27983
+ i0__namespace.ɵɵelementStart(4, "div", 4);
27984
+ i0__namespace.ɵɵelementStart(5, "span");
27985
+ i0__namespace.ɵɵtext(6, "Go to page");
27986
+ i0__namespace.ɵɵelementEnd();
27987
+ i0__namespace.ɵɵelementStart(7, "input", 5, 6);
27988
+ i0__namespace.ɵɵlistener("keyup.enter", function PaginationComponent_Template_input_keyup_enter_7_listener($event) { i0__namespace.ɵɵrestoreView(_r26_1); var _r0 = i0__namespace.ɵɵreference(1); ctx.goToPage($event, _r0); return $event.target.blur(); })("blur", function PaginationComponent_Template_input_blur_7_listener($event) { i0__namespace.ɵɵrestoreView(_r26_1); var _r0 = i0__namespace.ɵɵreference(1); return ctx.goToPage($event, _r0); })("focus", function PaginationComponent_Template_input_focus_7_listener() { i0__namespace.ɵɵrestoreView(_r26_1); var _r2 = i0__namespace.ɵɵreference(8); return _r2.select(); });
27989
+ i0__namespace.ɵɵelementEnd();
27990
+ i0__namespace.ɵɵelementEnd();
27966
27991
  i0__namespace.ɵɵelementEnd();
27967
27992
  }
27968
27993
  if (rf & 2) {
@@ -27971,7 +27996,7 @@
27971
27996
  i0__namespace.ɵɵadvance(3);
27972
27997
  i0__namespace.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
27973
27998
  }
27974
- }, directives: [i1__namespace$6.PaginationControlsDirective, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i1__namespace.DecimalPipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
27999
+ }, directives: [i1__namespace$6.PaginationControlsDirective, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i1__namespace.DecimalPipe], styles: [".ngx-go-to-page[_ngcontent-%COMP%], .ngx-pagination-wrapper[_ngcontent-%COMP%]{display:inline-block}.ngx-go-to-page[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 10px 0 50px}.ngx-go-to-page[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:50px}.ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
27975
28000
  (function () {
27976
28001
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationComponent, [{
27977
28002
  type: i0.Component,