@hmcts/ccd-case-ui-toolkit 5.0.25-case-file-view-all-document-count → 5.0.25-case-file-view-document-tree-functionalities-v2

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 (28) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +220 -383
  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/case-viewer/case-full-access-view/case-full-access-view.component.js +15 -19
  6. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +4 -4
  7. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +117 -244
  8. package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +2 -2
  9. package/esm2015/lib/shared/components/search-result/search-result.component.js +43 -43
  10. package/esm2015/lib/shared/domain/case-file-view/document-tree-node.model.js +6 -0
  11. package/esm2015/lib/shared/domain/case-file-view/index.js +2 -2
  12. package/esm2015/public-api.js +1 -3
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +199 -354
  14. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  15. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +1 -1
  16. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
  17. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +9 -2
  18. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  19. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts +11 -0
  20. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts.map +1 -0
  21. package/lib/shared/domain/case-file-view/index.d.ts +1 -1
  22. package/lib/shared/domain/case-file-view/index.d.ts.map +1 -1
  23. package/package.json +1 -1
  24. package/public-api.d.ts +0 -2
  25. package/public-api.d.ts.map +1 -1
  26. package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +0 -28
  27. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +0 -7
  28. package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +0 -1
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('underscore'), require('moment'), require('util'), require('@edium/fsm'), require('ngx-md'), require('@angular/cdk/tree'), require('@angular/material/dialog'), require('@nicky-lenaers/ngx-scroll-to'), require('@angular-material-components/datetime-picker'), require('@angular-material-components/moment-adapter'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@hmcts/ccpay-web-component'), require('@angular/cdk/portal'), require('@angular/material/input'), require('ngx-pagination'), require('@angular/material/tabs')) :
3
3
  typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'underscore', 'moment', 'util', '@edium/fsm', 'ngx-md', '@angular/cdk/tree', '@angular/material/dialog', '@nicky-lenaers/ngx-scroll-to', '@angular-material-components/datetime-picker', '@angular-material-components/moment-adapter', '@angular/material/datepicker', '@angular/material/form-field', '@angular/material/autocomplete', '@angular/material/core', '@hmcts/ccpay-web-component', '@angular/cdk/portal', '@angular/material/input', 'ngx-pagination', '@angular/material/tabs'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.underscore, global.moment, global.util, global["@edium/fsm"], global["ngx-md"], global.ng.cdk.tree, global.ng.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.ng.cdk.portal, global.ng.material.input, global["ngx-pagination"], global.ng.material.tabs));
5
- })(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i1$5, i1$6, i2, i4, momentAdapter, i5, i6, i5$1, i6$1, i3, i6$2, input, i1$7, i10) { 'use strict';
5
+ })(this, (function (exports, i0, i1, i1$1, i1$2, polling, rxjs, i1$3, operators, classTransformer, _, moment, util, fsm, i1$4, i3, i1$5, i2, i4, momentAdapter, i5, i6, i5$1, i6$1, i3$1, i6$2, input, i1$6, i10) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -33,17 +33,17 @@
33
33
  var ___namespace = /*#__PURE__*/_interopNamespace(_);
34
34
  var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
35
35
  var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
36
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
36
37
  var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
37
- var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
38
38
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
39
39
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
40
40
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
41
41
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
42
42
  var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
43
43
  var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
44
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
44
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
45
45
  var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
46
- var i1__namespace$7 = /*#__PURE__*/_interopNamespace(i1$7);
46
+ var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
47
47
  var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
48
48
 
49
49
  function FooterComponent_div_2_Template(rf, ctx) {
@@ -8858,7 +8858,7 @@
8858
8858
  return IsCompoundPipe;
8859
8859
  }());
8860
8860
  IsCompoundPipe.COMPOUND_TYPES = [
8861
- 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
8861
+ 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay', 'ComponentLauncher'
8862
8862
  ];
8863
8863
  IsCompoundPipe.EXCLUDE = [
8864
8864
  'CaseLink', 'JudicialUser'
@@ -9480,88 +9480,85 @@
9480
9480
  return CategoriesAndDocuments;
9481
9481
  }());
9482
9482
 
9483
- var DocumentTreeNode = /** @class */ (function () {
9484
- function DocumentTreeNode() {
9485
- }
9486
- Object.defineProperty(DocumentTreeNode.prototype, "childDocumentCount", {
9487
- get: function () {
9488
- var countChildren = function (childNodes) {
9489
- var count = 0;
9490
- if (childNodes === null || childNodes === void 0 ? void 0 : childNodes.length) {
9491
- var documents = childNodes.filter(function (item) { return item.type === 'document'; });
9492
- count += documents.length;
9493
- childNodes.forEach(function (children) {
9494
- count += countChildren(children.children);
9495
- });
9496
- }
9497
- return count;
9498
- };
9499
- return countChildren(this.children);
9500
- },
9501
- enumerable: false,
9502
- configurable: true
9503
- });
9504
- return DocumentTreeNode;
9505
- }());
9506
- __decorate([
9507
- classTransformer.Type(function () { return DocumentTreeNode; }),
9508
- __metadata("design:type", Array)
9509
- ], DocumentTreeNode.prototype, "children", void 0);
9510
- __decorate([
9511
- classTransformer.Expose(),
9512
- __metadata("design:type", Object),
9513
- __metadata("design:paramtypes", [])
9514
- ], DocumentTreeNode.prototype, "childDocumentCount", null);
9483
+ var DocumentTreeNodeType;
9484
+ (function (DocumentTreeNodeType) {
9485
+ DocumentTreeNodeType["FOLDER"] = "folder";
9486
+ DocumentTreeNodeType["DOCUMENT"] = "document";
9487
+ })(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
9515
9488
 
9516
- function CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template(rf, ctx) {
9489
+ function CaseFileViewFolderComponent_div_5_div_1_Template(rf, ctx) {
9517
9490
  if (rf & 1) {
9518
- i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
9519
- i0__namespace.ɵɵelementStart(1, "div", 8);
9520
- i0__namespace.ɵɵelementStart(2, "button", 9);
9521
- i0__namespace.ɵɵelement(3, "img", 10);
9491
+ i0__namespace.ɵɵelementStart(0, "div");
9492
+ i0__namespace.ɵɵtext(1, " No results found ");
9522
9493
  i0__namespace.ɵɵelementEnd();
9523
- i0__namespace.ɵɵelementStart(4, "span", 11);
9494
+ }
9495
+ }
9496
+ function CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_3_Template(rf, ctx) {
9497
+ if (rf & 1) {
9498
+ i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 10);
9499
+ i0__namespace.ɵɵelementStart(1, "div", 11);
9500
+ i0__namespace.ɵɵelementStart(2, "button", 12);
9501
+ i0__namespace.ɵɵelement(3, "img", 13);
9502
+ i0__namespace.ɵɵelementStart(4, "div", 14);
9524
9503
  i0__namespace.ɵɵtext(5);
9525
9504
  i0__namespace.ɵɵelementEnd();
9526
9505
  i0__namespace.ɵɵelementEnd();
9527
9506
  i0__namespace.ɵɵelementEnd();
9507
+ i0__namespace.ɵɵelementEnd();
9528
9508
  }
9529
9509
  if (rf & 2) {
9530
- var node_r2 = ctx.$implicit;
9510
+ var node_r4 = ctx.$implicit;
9531
9511
  i0__namespace.ɵɵadvance(5);
9532
- i0__namespace.ɵɵtextInterpolate(node_r2.name);
9512
+ i0__namespace.ɵɵtextInterpolate(node_r4.name);
9533
9513
  }
9534
9514
  }
9535
- function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) {
9515
+ function CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_4_Template(rf, ctx) {
9536
9516
  if (rf & 1) {
9537
- i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
9538
- i0__namespace.ɵɵelementStart(1, "div", 12);
9539
- i0__namespace.ɵɵelementStart(2, "button", 13);
9540
- i0__namespace.ɵɵelement(3, "img", 14);
9541
- i0__namespace.ɵɵelementStart(4, "span", 15);
9517
+ i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 10);
9518
+ i0__namespace.ɵɵelementStart(1, "div", 11);
9519
+ i0__namespace.ɵɵelementStart(2, "button", 15);
9520
+ i0__namespace.ɵɵelement(3, "img", 16);
9521
+ i0__namespace.ɵɵelementStart(4, "div", 17);
9542
9522
  i0__namespace.ɵɵtext(5);
9543
9523
  i0__namespace.ɵɵelementEnd();
9544
9524
  i0__namespace.ɵɵelementEnd();
9545
- i0__namespace.ɵɵelementStart(6, "span", 16);
9546
- i0__namespace.ɵɵtext(7);
9547
- i0__namespace.ɵɵelementEnd();
9548
9525
  i0__namespace.ɵɵelementEnd();
9549
- i0__namespace.ɵɵelementStart(8, "div");
9550
- i0__namespace.ɵɵelementContainer(9, 17);
9526
+ i0__namespace.ɵɵelementStart(6, "div");
9527
+ i0__namespace.ɵɵelementContainer(7, 18);
9551
9528
  i0__namespace.ɵɵelementEnd();
9552
9529
  i0__namespace.ɵɵelementEnd();
9553
9530
  }
9554
9531
  if (rf & 2) {
9555
- var node_r3 = ctx.$implicit;
9556
- var ctx_r1 = i0__namespace.ɵɵnextContext();
9532
+ var node_r5 = ctx.$implicit;
9533
+ var ctx_r3 = i0__namespace.ɵɵnextContext(2);
9557
9534
  i0__namespace.ɵɵadvance(2);
9558
- i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r3.name);
9559
- i0__namespace.ɵɵadvance(3);
9560
- i0__namespace.ɵɵtextInterpolate(node_r3.childDocumentCount);
9535
+ i0__namespace.ɵɵattribute("aria-label", "toggle " + node_r5.name);
9536
+ i0__namespace.ɵɵadvance(1);
9537
+ i0__namespace.ɵɵproperty("src", ctx_r3.nestedTreeControl.isExpanded(node_r5) ? "/assets/images/folder-open.png" : "/assets/images/folder.png", i0__namespace.ɵɵsanitizeUrl);
9561
9538
  i0__namespace.ɵɵadvance(2);
9562
- i0__namespace.ɵɵtextInterpolate(node_r3.name);
9539
+ i0__namespace.ɵɵtextInterpolate(node_r5.name);
9563
9540
  i0__namespace.ɵɵadvance(1);
9564
- i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r3));
9541
+ i0__namespace.ɵɵclassProp("document-tree-invisible", !ctx_r3.nestedTreeControl.isExpanded(node_r5));
9542
+ }
9543
+ }
9544
+ function CaseFileViewFolderComponent_div_5_Template(rf, ctx) {
9545
+ if (rf & 1) {
9546
+ i0__namespace.ɵɵelementStart(0, "div", 5);
9547
+ i0__namespace.ɵɵtemplate(1, CaseFileViewFolderComponent_div_5_div_1_Template, 2, 0, "div", 6);
9548
+ i0__namespace.ɵɵelementStart(2, "cdk-tree", 7);
9549
+ i0__namespace.ɵɵtemplate(3, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_3_Template, 6, 1, "cdk-nested-tree-node", 8);
9550
+ i0__namespace.ɵɵtemplate(4, CaseFileViewFolderComponent_div_5_cdk_nested_tree_node_4_Template, 8, 5, "cdk-nested-tree-node", 9);
9551
+ i0__namespace.ɵɵelementEnd();
9552
+ i0__namespace.ɵɵelementEnd();
9553
+ }
9554
+ if (rf & 2) {
9555
+ var ctx_r0 = i0__namespace.ɵɵnextContext();
9556
+ i0__namespace.ɵɵadvance(1);
9557
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r0.nestedDataSource || ctx_r0.nestedDataSource.length === 0);
9558
+ i0__namespace.ɵɵadvance(1);
9559
+ i0__namespace.ɵɵproperty("dataSource", ctx_r0.nestedDataSource)("treeControl", ctx_r0.nestedTreeControl);
9560
+ i0__namespace.ɵɵadvance(2);
9561
+ i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx_r0.nestedChildren);
9565
9562
  }
9566
9563
  }
9567
9564
  var CaseFileViewFolderComponent = /** @class */ (function () {
@@ -9569,268 +9566,112 @@
9569
9566
  this.categories = [];
9570
9567
  this.getChildren = function (node) { return rxjs.of(node.children); };
9571
9568
  this.nestedChildren = function (_, nodeData) { return nodeData.children; };
9572
- this.nestedTreeControl = new i1$5.NestedTreeControl(this.getChildren);
9569
+ this.nestedTreeControl = new i3.NestedTreeControl(this.getChildren);
9573
9570
  }
9574
- Object.defineProperty(CaseFileViewFolderComponent.prototype, "documentCount", {
9575
- get: function () {
9576
- var _a;
9577
- if ((_a = this.nestedDataSource) === null || _a === void 0 ? void 0 : _a.length) {
9578
- return this.nestedDataSource.reduce(function (acc, item) {
9579
- return acc + item.childDocumentCount;
9580
- }, 0);
9581
- }
9582
- else {
9583
- return 0;
9584
- }
9585
- },
9586
- enumerable: false,
9587
- configurable: true
9588
- });
9589
9571
  CaseFileViewFolderComponent.prototype.ngOnInit = function () {
9590
9572
  var _this = this;
9573
+ this.documentFilterFormGroup = new i1$2.FormGroup({});
9574
+ this.documentSearchFormControl = new i1$2.FormControl('');
9575
+ this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
9576
+ // Listen to search input and initiate filter documents if at least three characters entered
9577
+ this.documentFilterSubscription = this.documentSearchFormControl.valueChanges.pipe(operators.tap(function (searchTerm) { return _this.searchTermLength = searchTerm.length; }), operators.switchMap(function (searchTerm) { return _this.filter(searchTerm.toLowerCase()).pipe(); })).subscribe(function (documentTreeData) {
9578
+ _this.nestedDataSource = documentTreeData;
9579
+ _this.nestedTreeControl.dataNodes = documentTreeData;
9580
+ _this.searchTermLength >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS
9581
+ ? _this.nestedTreeControl.expandAll()
9582
+ : _this.nestedTreeControl.collapseAll();
9583
+ });
9584
+ // Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
9591
9585
  this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
9592
- // Using the mock data for now as we have to display the documents as well for demo purpose
9593
- var categories = _this.loadCategories(); // categoriesAndDocuments.categories;
9586
+ var categories = categoriesAndDocuments.categories;
9594
9587
  // Generate document tree data from categories
9595
- var treeData = _this.generateTreeData(categories);
9588
+ _this.documentTreeData = _this.generateTreeData(categories);
9596
9589
  // Append uncategorised documents
9597
9590
  if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
9598
9591
  var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
9599
- treeData.push(uncategorisedDocuments);
9592
+ _this.documentTreeData.push(uncategorisedDocuments);
9600
9593
  }
9601
9594
  // Initialise cdk tree with generated data
9602
- _this.nestedDataSource = treeData;
9595
+ _this.nestedDataSource = _this.documentTreeData;
9596
+ _this.nestedTreeControl.dataNodes = _this.documentTreeData;
9603
9597
  });
9604
9598
  };
9605
9599
  CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
9606
9600
  var _this = this;
9607
- return categories.reduce(function (tree, node) {
9608
- var newDocumentTreeNode = new DocumentTreeNode();
9609
- newDocumentTreeNode.name = node.category_name;
9610
- newDocumentTreeNode.type = 'category';
9611
- newDocumentTreeNode.children = __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents));
9612
- return __spread(tree, [
9613
- newDocumentTreeNode,
9614
- ]);
9615
- }, []);
9601
+ return categories.reduce(function (tree, node) { return __spread(tree, [
9602
+ {
9603
+ name: node.category_name,
9604
+ type: DocumentTreeNodeType.FOLDER,
9605
+ children: __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents))
9606
+ },
9607
+ ]); }, []);
9616
9608
  };
9617
9609
  CaseFileViewFolderComponent.prototype.getDocuments = function (documents) {
9618
9610
  var documentsToReturn = [];
9619
9611
  documents.forEach(function (document) {
9620
- var documentTreeNode = new DocumentTreeNode();
9621
- documentTreeNode.name = document.document_filename;
9622
- documentTreeNode.type = 'document';
9623
- documentsToReturn.push(documentTreeNode);
9612
+ documentsToReturn.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
9624
9613
  });
9625
9614
  return documentsToReturn;
9626
9615
  };
9627
9616
  CaseFileViewFolderComponent.prototype.getUncategorisedDocuments = function (uncategorisedDocuments) {
9628
9617
  var documents = [];
9629
9618
  uncategorisedDocuments.forEach(function (document) {
9630
- var documentTreeNode = new DocumentTreeNode();
9631
- documentTreeNode.name = document.document_filename;
9632
- documentTreeNode.type = 'document';
9633
- documents.push(documentTreeNode);
9619
+ documents.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
9634
9620
  });
9635
- var uncategorisedNode = new DocumentTreeNode();
9636
- uncategorisedNode.name = CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE;
9637
- uncategorisedNode.type = 'category';
9638
- uncategorisedNode.children = documents;
9639
- return uncategorisedNode;
9621
+ return { name: CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE, type: DocumentTreeNodeType.FOLDER, children: documents };
9622
+ };
9623
+ CaseFileViewFolderComponent.prototype.filter = function (searchTerm) {
9624
+ // Make a copy of the data so we do not mutate the original
9625
+ function copy(node) {
9626
+ return Object.assign({}, node);
9627
+ }
9628
+ var filteredData = this.documentTreeData;
9629
+ if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
9630
+ filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
9631
+ if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
9632
+ return true;
9633
+ }
9634
+ // Call recursively if node has children
9635
+ if (node.children) {
9636
+ return (node.children = node.children.map(copy).filter(filterTreeData)).length;
9637
+ }
9638
+ });
9639
+ }
9640
+ return rxjs.of(filteredData);
9640
9641
  };
9641
9642
  CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
9642
9643
  if (this.categoriesAndDocumentsSubscription) {
9643
9644
  this.categoriesAndDocumentsSubscription.unsubscribe();
9644
9645
  }
9645
- };
9646
- CaseFileViewFolderComponent.prototype.loadCategories = function () {
9647
- return [
9648
- {
9649
- category_id: 'Beers',
9650
- category_name: 'Beers',
9651
- category_order: 1,
9652
- documents: [
9653
- {
9654
- document_url: '/test',
9655
- document_filename: 'Beers encyclopedia',
9656
- document_binary_url: '/test/binary',
9657
- attribute_path: '',
9658
- upload_timestamp: ''
9659
- }
9660
- ],
9661
- sub_categories: [
9662
- {
9663
- category_id: 'BeersBitters',
9664
- category_name: 'Bitters',
9665
- category_order: 1,
9666
- documents: [],
9667
- sub_categories: []
9668
- },
9669
- {
9670
- category_id: 'BeersAmerican',
9671
- category_name: 'American',
9672
- category_order: 2,
9673
- documents: [],
9674
- sub_categories: []
9675
- },
9676
- {
9677
- category_id: 'BeersAsian',
9678
- category_name: 'Asian',
9679
- category_order: 3,
9680
- documents: [],
9681
- sub_categories: []
9682
- }
9683
- ]
9684
- },
9685
- {
9686
- category_id: 'Wines',
9687
- category_name: 'Wines',
9688
- category_order: 2,
9689
- documents: [],
9690
- sub_categories: [
9691
- {
9692
- category_id: 'WinesFrench',
9693
- category_name: 'French',
9694
- category_order: 1,
9695
- documents: [],
9696
- sub_categories: []
9697
- },
9698
- {
9699
- category_id: 'WinesItalian',
9700
- category_name: 'Italian',
9701
- category_order: 2,
9702
- documents: [],
9703
- sub_categories: []
9704
- }
9705
- ]
9706
- },
9707
- {
9708
- category_id: 'Spirits',
9709
- category_name: 'Spirits',
9710
- category_order: 3,
9711
- documents: [],
9712
- sub_categories: [
9713
- {
9714
- category_id: 'SpiritsWhisky',
9715
- category_name: 'Scotch whisky',
9716
- category_order: 1,
9717
- documents: [],
9718
- sub_categories: [
9719
- {
9720
- category_id: 'WhiskyHighland',
9721
- category_name: 'Highland',
9722
- category_order: 1,
9723
- documents: [],
9724
- sub_categories: [
9725
- {
9726
- category_id: 'WhiskyHighland1',
9727
- category_name: 'Highland 1',
9728
- category_order: 1,
9729
- documents: [],
9730
- sub_categories: []
9731
- }
9732
- ]
9733
- },
9734
- {
9735
- category_id: 'WhiskyLowland',
9736
- category_name: 'Lowland',
9737
- category_order: 2,
9738
- documents: [],
9739
- sub_categories: [
9740
- {
9741
- category_id: 'WhiskyLowland1',
9742
- category_name: 'Lowland 1',
9743
- category_order: 1,
9744
- documents: [
9745
- {
9746
- document_url: '/test',
9747
- document_filename: 'Details about Whisky Lowland 1',
9748
- document_binary_url: '/test/binary',
9749
- attribute_path: '',
9750
- upload_timestamp: ''
9751
- }
9752
- ],
9753
- sub_categories: []
9754
- },
9755
- {
9756
- category_id: 'WhiskyLowland2',
9757
- category_name: 'Lowland 2',
9758
- category_order: 2,
9759
- documents: [],
9760
- sub_categories: []
9761
- }
9762
- ]
9763
- },
9764
- {
9765
- category_id: 'WhiskyIslay',
9766
- category_name: 'Islay',
9767
- category_order: 3,
9768
- documents: [
9769
- {
9770
- document_url: '/test',
9771
- document_filename: 'Details about Whisky Islay',
9772
- document_binary_url: '/test/binary',
9773
- attribute_path: '',
9774
- upload_timestamp: ''
9775
- },
9776
- {
9777
- document_url: '/test',
9778
- document_filename: 'More information about Whisky Islay',
9779
- document_binary_url: '/test/binary',
9780
- attribute_path: '',
9781
- upload_timestamp: ''
9782
- }
9783
- ],
9784
- sub_categories: []
9785
- },
9786
- {
9787
- category_id: 'WhiskySpeyside',
9788
- category_name: 'Speyside',
9789
- category_order: 4,
9790
- documents: [],
9791
- sub_categories: []
9792
- },
9793
- {
9794
- category_id: 'WhiskyCampbeltown',
9795
- category_name: 'Campbeltown',
9796
- category_order: 5,
9797
- documents: [],
9798
- sub_categories: []
9799
- }
9800
- ]
9801
- }
9802
- ]
9803
- }
9804
- ];
9646
+ if (this.documentFilterSubscription) {
9647
+ this.documentFilterSubscription.unsubscribe();
9648
+ }
9805
9649
  };
9806
9650
  return CaseFileViewFolderComponent;
9807
9651
  }());
9808
9652
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
9653
+ CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
9654
+ CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
9809
9655
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
9810
- CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 4, consts: [[1, "document-filter-container"], [1, "document-filter"], [1, "documents-title"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node-name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
9656
+ CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 6, vars: 2, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "documents-title"], ["class", "document-tree", 4, "ngIf"], [1, "document-tree"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", 1, "node-button"], ["alt", "document image", "src", "/assets/images/document.png", 1, "icon"], [1, "node-name", "node-name-document"], ["mat-icon-button", "", "cdkTreeNodeToggle", "", 1, "node-button"], ["alt", "folder image", 1, "icon", 3, "src"], [1, "node-name", "node-name-folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
9811
9657
  if (rf & 1) {
9812
9658
  i0__namespace.ɵɵelementStart(0, "div", 0);
9813
- i0__namespace.ɵɵelement(1, "div", 1);
9814
- i0__namespace.ɵɵelementStart(2, "div", 2);
9815
- i0__namespace.ɵɵtext(3);
9816
- i0__namespace.ɵɵelementEnd();
9659
+ i0__namespace.ɵɵelementStart(1, "div", 1);
9660
+ i0__namespace.ɵɵelement(2, "input", 2);
9817
9661
  i0__namespace.ɵɵelementEnd();
9818
- i0__namespace.ɵɵelementStart(4, "div", 3);
9819
- i0__namespace.ɵɵelementStart(5, "cdk-tree", 4);
9820
- i0__namespace.ɵɵtemplate(6, CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template, 6, 1, "cdk-nested-tree-node", 5);
9821
- i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 10, 5, "cdk-nested-tree-node", 6);
9662
+ i0__namespace.ɵɵelementStart(3, "div", 3);
9663
+ i0__namespace.ɵɵtext(4, "Documents");
9822
9664
  i0__namespace.ɵɵelementEnd();
9823
9665
  i0__namespace.ɵɵelementEnd();
9666
+ i0__namespace.ɵɵtemplate(5, CaseFileViewFolderComponent_div_5_Template, 5, 4, "div", 4);
9824
9667
  }
9825
9668
  if (rf & 2) {
9826
- i0__namespace.ɵɵadvance(3);
9827
- i0__namespace.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
9828
- i0__namespace.ɵɵadvance(2);
9829
- i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
9830
- i0__namespace.ɵɵadvance(2);
9831
- i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
9669
+ i0__namespace.ɵɵadvance(1);
9670
+ i0__namespace.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
9671
+ i0__namespace.ɵɵadvance(4);
9672
+ i0__namespace.ɵɵproperty("ngIf", ctx.documentTreeData);
9832
9673
  }
9833
- }, directives: [i1__namespace$5.CdkTree, i1__namespace$5.CdkTreeNodeDef, i1__namespace$5.CdkNestedTreeNode, i1__namespace$5.CdkTreeNodeToggle, i1__namespace$5.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{height:60px;border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{margin:4px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree-container[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.node[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 0}.node__icon[_ngcontent-%COMP%]{position:relative;background:none;border:0}.node__iconImg[_ngcontent-%COMP%]{height:24px}.node__count[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff}.node__name[_ngcontent-%COMP%]{margin-left:6px}"] });
9674
+ }, directives: [i1__namespace$3.NgControlStatusGroup, i1__namespace$3.FormGroupDirective, i1__namespace$3.DefaultValueAccessor, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlName, i1__namespace.NgIf, i3__namespace.CdkTree, i3__namespace.CdkTreeNodeDef, i3__namespace.CdkNestedTreeNode, i3__namespace.CdkTreeNodeToggle, i3__namespace.CdkTreeNodeOutlet], styles: [".document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9;padding-bottom:4px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{height:70%;padding:8px 8px 0;margin-bottom:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree[_ngcontent-%COMP%]{margin:4px;overflow-x:hidden;overflow-y:scroll;height:400px}.document-tree[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .document-tree[_ngcontent-%COMP%] .document-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.document-tree[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{display:block}.document-tree[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%] .document-tree-node[_ngcontent-%COMP%]{padding-left:40px}.document-tree[_ngcontent-%COMP%] .node[_ngcontent-%COMP%]{display:flex;padding:4px;white-space:nowrap}.document-tree[_ngcontent-%COMP%] .node[_ngcontent-%COMP%] .node-button[_ngcontent-%COMP%]{display:flex;background-color:#faf8f8;border:none;width:100%}.document-tree[_ngcontent-%COMP%] .node-button[_ngcontent-%COMP%]:hover{cursor:pointer}.document-tree[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:36px;height:36px;background-size:100%;border:0;background-color:#faf8f8}.document-tree[_ngcontent-%COMP%] .node-name[_ngcontent-%COMP%]{margin-left:10px}.document-tree[_ngcontent-%COMP%] .node-name-document[_ngcontent-%COMP%], .document-tree[_ngcontent-%COMP%] .node-name-folder[_ngcontent-%COMP%]{margin-top:8px;font-size:16px}.document-tree[_ngcontent-%COMP%] .document-count[_ngcontent-%COMP%]{color:#fff}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5em}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}"] });
9834
9675
  (function () {
9835
9676
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
9836
9677
  type: i0.Component,
@@ -9906,7 +9747,7 @@
9906
9747
  args: [{
9907
9748
  selector: 'ccd-case-file-view-field',
9908
9749
  templateUrl: './case-file-view-field.component.html',
9909
- styleUrls: ['./case-file-view-field.component.scss'],
9750
+ styleUrls: ['./case-file-view-field.component.scss']
9910
9751
  }]
9911
9752
  }], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null);
9912
9753
  })();
@@ -10273,7 +10114,7 @@
10273
10114
  };
10274
10115
  return RemoveDialogComponent;
10275
10116
  }());
10276
- RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
10117
+ RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
10277
10118
  RemoveDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Remove", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function RemoveDialogComponent_Template(rf, ctx) {
10278
10119
  if (rf & 1) {
10279
10120
  i0__namespace.ɵɵelementStart(0, "div");
@@ -10314,7 +10155,7 @@
10314
10155
  templateUrl: './remove-dialog.component.html',
10315
10156
  styleUrls: ['../action-dialog.component.scss']
10316
10157
  }]
10317
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
10158
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
10318
10159
  })();
10319
10160
 
10320
10161
  var _c0$D = ["collectionItem"];
@@ -10693,7 +10534,7 @@
10693
10534
  };
10694
10535
  WriteCollectionFieldComponent.prototype.openModal = function (i) {
10695
10536
  var _this = this;
10696
- var dialogConfig = new i1$6.MatDialogConfig();
10537
+ var dialogConfig = new i1$5.MatDialogConfig();
10697
10538
  dialogConfig.disableClose = true;
10698
10539
  dialogConfig.autoFocus = true;
10699
10540
  dialogConfig.ariaLabel = 'Label';
@@ -10727,7 +10568,7 @@
10727
10568
  };
10728
10569
  return WriteCollectionFieldComponent;
10729
10570
  }(AbstractFieldWriteComponent));
10730
- WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
10571
+ WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
10731
10572
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
10732
10573
  if (rf & 1) {
10733
10574
  i0__namespace.ɵɵviewQuery(_c0$D, 1);
@@ -10776,7 +10617,7 @@
10776
10617
  templateUrl: './write-collection-field.html',
10777
10618
  styleUrls: ['./collection-field.scss']
10778
10619
  }]
10779
- }], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
10620
+ }], function () { return [{ type: i1__namespace$5.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
10780
10621
  type: i0.Input
10781
10622
  }], formGroup: [{
10782
10623
  type: i0.Input
@@ -12167,7 +12008,7 @@
12167
12008
  };
12168
12009
  return DocumentDialogComponent;
12169
12010
  }());
12170
- DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
12011
+ DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
12171
12012
  DocumentDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DocumentDialogComponent, selectors: [["ccd-document-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Replace", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DocumentDialogComponent_Template(rf, ctx) {
12172
12013
  if (rf & 1) {
12173
12014
  i0__namespace.ɵɵelementStart(0, "div");
@@ -12208,11 +12049,11 @@
12208
12049
  templateUrl: './document-dialog.component.html',
12209
12050
  styleUrls: ['../action-dialog.component.scss']
12210
12051
  }]
12211
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
12052
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
12212
12053
  })();
12213
12054
 
12214
12055
  function initDialog() {
12215
- var dialogConfig = new i1$6.MatDialogConfig();
12056
+ var dialogConfig = new i1$5.MatDialogConfig();
12216
12057
  dialogConfig.disableClose = true;
12217
12058
  dialogConfig.autoFocus = true;
12218
12059
  dialogConfig.ariaLabel = 'Label';
@@ -12536,7 +12377,7 @@
12536
12377
  WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
12537
12378
  WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
12538
12379
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
12539
- WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
12380
+ WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
12540
12381
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
12541
12382
  if (rf & 1) {
12542
12383
  i0__namespace.ɵɵviewQuery(_c0$z, 1);
@@ -12610,7 +12451,7 @@
12610
12451
  selector: 'ccd-write-document-field',
12611
12452
  templateUrl: './write-document-field.html'
12612
12453
  }]
12613
- }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$6.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
12454
+ }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$5.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
12614
12455
  type: i0.ViewChild,
12615
12456
  args: ['fileInput', { static: false }]
12616
12457
  }], clickout: [{
@@ -16014,7 +15855,7 @@
16014
15855
  if (rf & 2) {
16015
15856
  i0__namespace.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("VIEW", "case-transactions")("REFUNDS_API_ROOT", ctx.getRefundsUrl())("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("LOGGEDINUSERROLES", ctx.getUserRoles());
16016
15857
  }
16017
- }, directives: [i3__namespace.PaymentLibComponent], encapsulation: 2 });
15858
+ }, directives: [i3__namespace$1.PaymentLibComponent], encapsulation: 2 });
16018
15859
  (function () {
16019
15860
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
16020
15861
  type: i0.Component,
@@ -16441,7 +16282,7 @@
16441
16282
  if (rf & 2) {
16442
16283
  i0__namespace.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
16443
16284
  }
16444
- }, directives: [i1__namespace.NgIf, i3__namespace.PaymentLibComponent], encapsulation: 2 });
16285
+ }, directives: [i1__namespace.NgIf, i3__namespace$1.PaymentLibComponent], encapsulation: 2 });
16445
16286
  (function () {
16446
16287
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WaysToPayFieldComponent, [{
16447
16288
  type: i0.Component,
@@ -17034,7 +16875,7 @@
17034
16875
  };
17035
16876
  return SaveOrDiscardDialogComponent;
17036
16877
  }());
17037
- SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
16878
+ SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
17038
16879
  SaveOrDiscardDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Save", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Discard", 1, "button", "button-secondary", 3, "click"]], template: function SaveOrDiscardDialogComponent_Template(rf, ctx) {
17039
16880
  if (rf & 1) {
17040
16881
  i0__namespace.ɵɵelementStart(0, "div");
@@ -17075,7 +16916,7 @@
17075
16916
  templateUrl: './save-or-discard-dialog.component.html',
17076
16917
  styleUrls: ['../action-dialog.component.scss']
17077
16918
  }]
17078
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
16919
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
17079
16920
  })();
17080
16921
 
17081
16922
  var CaseEditPageText;
@@ -17946,7 +17787,7 @@
17946
17787
  };
17947
17788
  return CaseEditPageComponent;
17948
17789
  }());
17949
- CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
17790
+ CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditComponent), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FormValueService), i0__namespace.ɵɵdirectiveInject(FormErrorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(PageValidationService), i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(CaseFieldService)); };
17950
17791
  CaseEditPageComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 13, vars: 12, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "error-summary", "role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], ["role", "status", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading-3", 1, "heading-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"]], template: function CaseEditPageComponent_Template(rf, ctx) {
17951
17792
  if (rf & 1) {
17952
17793
  i0__namespace.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
@@ -17992,7 +17833,7 @@
17992
17833
  templateUrl: 'case-edit-page.html',
17993
17834
  styleUrls: ['./case-edit-page.scss']
17994
17835
  }]
17995
- }], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$6.MatDialog }, { type: CaseFieldService }]; }, null);
17836
+ }], function () { return [{ type: CaseEditComponent }, { type: i1__namespace$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0__namespace.ChangeDetectorRef }, { type: PageValidationService }, { type: i1__namespace$5.MatDialog }, { type: CaseFieldService }]; }, null);
17996
17837
  })();
17997
17838
 
17998
17839
  var Confirmation = /** @class */ (function () {
@@ -19751,8 +19592,8 @@
19751
19592
  input.MatInputModule,
19752
19593
  i5.MatDatepickerModule,
19753
19594
  i5$1.MatAutocompleteModule,
19754
- i1$5.CdkTreeModule,
19755
- i3.PaymentLibModule,
19595
+ i3.CdkTreeModule,
19596
+ i3$1.PaymentLibModule,
19756
19597
  i2.ScrollToModule.forRoot()
19757
19598
  ], i4.NgxMatDatetimePickerModule,
19758
19599
  i4.NgxMatNativeDateModule,
@@ -19857,8 +19698,8 @@
19857
19698
  input.MatInputModule,
19858
19699
  i5.MatDatepickerModule,
19859
19700
  i5$1.MatAutocompleteModule,
19860
- i1$5.CdkTreeModule,
19861
- i3.PaymentLibModule, i2__namespace.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
19701
+ i3.CdkTreeModule,
19702
+ i3$1.PaymentLibModule, i2__namespace.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
19862
19703
  i4.NgxMatNativeDateModule,
19863
19704
  i4.NgxMatTimepickerModule,
19864
19705
  TabsModule,
@@ -19962,8 +19803,8 @@
19962
19803
  input.MatInputModule,
19963
19804
  i5.MatDatepickerModule,
19964
19805
  i5$1.MatAutocompleteModule,
19965
- i1$5.CdkTreeModule,
19966
- i3.PaymentLibModule,
19806
+ i3.CdkTreeModule,
19807
+ i3$1.PaymentLibModule,
19967
19808
  i2.ScrollToModule.forRoot()
19968
19809
  ],
19969
19810
  declarations: __spread([
@@ -20847,7 +20688,7 @@
20847
20688
  i0__namespace.ɵɵadvance(3);
20848
20689
  i0__namespace.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
20849
20690
  }
20850
- }, directives: [i1__namespace$7.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}}"] });
20691
+ }, 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}}"] });
20851
20692
  (function () {
20852
20693
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationComponent, [{
20853
20694
  type: i0.Component,
@@ -21254,7 +21095,7 @@
21254
21095
  i0__namespace.ɵɵadvance(2);
21255
21096
  i0__namespace.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
21256
21097
  }
21257
- }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i1__namespace.NgSwitchDefault, PaginationComponent], pipes: [i1__namespace$7.PaginatePipe, i1__namespace.CurrencyPipe], styles: [""] });
21098
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i1__namespace.NgSwitchDefault, PaginationComponent], pipes: [i1__namespace$6.PaginatePipe, i1__namespace.CurrencyPipe], styles: [""] });
21258
21099
  (function () {
21259
21100
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseListComponent, [{
21260
21101
  type: i0.Component,
@@ -21314,12 +21155,12 @@
21314
21155
  PaginationModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaginationModule });
21315
21156
  PaginationModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
21316
21157
  i1.CommonModule,
21317
- i1$7.NgxPaginationModule
21158
+ i1$6.NgxPaginationModule
21318
21159
  ]] });
21319
21160
  (function () {
21320
21161
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaginationModule, { declarations: [PaginationComponent], imports: [i1.CommonModule,
21321
- i1$7.NgxPaginationModule], exports: [PaginationComponent,
21322
- i1$7.PaginatePipe] });
21162
+ i1$6.NgxPaginationModule], exports: [PaginationComponent,
21163
+ i1$6.PaginatePipe] });
21323
21164
  })();
21324
21165
  (function () {
21325
21166
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationModule, [{
@@ -21327,14 +21168,14 @@
21327
21168
  args: [{
21328
21169
  imports: [
21329
21170
  i1.CommonModule,
21330
- i1$7.NgxPaginationModule
21171
+ i1$6.NgxPaginationModule
21331
21172
  ],
21332
21173
  declarations: [
21333
21174
  PaginationComponent
21334
21175
  ],
21335
21176
  exports: [
21336
21177
  PaginationComponent,
21337
- i1$7.PaginatePipe
21178
+ i1$6.PaginatePipe
21338
21179
  ],
21339
21180
  }]
21340
21181
  }], null, null);
@@ -21353,14 +21194,14 @@
21353
21194
  i1.CommonModule,
21354
21195
  i1$2.FormsModule,
21355
21196
  i1$1.RouterModule,
21356
- i1$7.NgxPaginationModule,
21197
+ i1$6.NgxPaginationModule,
21357
21198
  PaginationModule
21358
21199
  ]] });
21359
21200
  (function () {
21360
21201
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseListModule, { declarations: [CaseListComponent], imports: [i1.CommonModule,
21361
21202
  i1$2.FormsModule,
21362
21203
  i1$1.RouterModule,
21363
- i1$7.NgxPaginationModule,
21204
+ i1$6.NgxPaginationModule,
21364
21205
  PaginationModule], exports: [CaseListComponent] });
21365
21206
  })();
21366
21207
  (function () {
@@ -21371,7 +21212,7 @@
21371
21212
  i1.CommonModule,
21372
21213
  i1$2.FormsModule,
21373
21214
  i1$1.RouterModule,
21374
- i1$7.NgxPaginationModule,
21215
+ i1$6.NgxPaginationModule,
21375
21216
  PaginationModule
21376
21217
  ],
21377
21218
  declarations: [CaseListComponent],
@@ -23141,7 +22982,7 @@
23141
22982
  };
23142
22983
  return DeleteOrCancelDialogComponent;
23143
22984
  }());
23144
- DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
22985
+ DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
23145
22986
  DeleteOrCancelDialogComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DeleteOrCancelDialogComponent, selectors: [["ccd-delete-or-cancel-dialog"]], decls: 15, vars: 0, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Delete", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DeleteOrCancelDialogComponent_Template(rf, ctx) {
23146
22987
  if (rf & 1) {
23147
22988
  i0__namespace.ɵɵelementStart(0, "div");
@@ -23182,7 +23023,7 @@
23182
23023
  templateUrl: './delete-or-cancel-dialog.component.html',
23183
23024
  styleUrls: ['../action-dialog.component.scss']
23184
23025
  }]
23185
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
23026
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
23186
23027
  })();
23187
23028
 
23188
23029
  function EventTriggerComponent_form_0_option_5_Template(rf, ctx) {
@@ -23400,8 +23241,8 @@
23400
23241
  }
23401
23242
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) {
23402
23243
  if (rf & 1) {
23403
- i0__namespace.ɵɵelementStart(0, "th", 35);
23404
- i0__namespace.ɵɵelementStart(1, "div", 36);
23244
+ i0__namespace.ɵɵelementStart(0, "th", 34);
23245
+ i0__namespace.ɵɵelementStart(1, "div", 35);
23405
23246
  i0__namespace.ɵɵtext(2);
23406
23247
  i0__namespace.ɵɵelementEnd();
23407
23248
  i0__namespace.ɵɵelementEnd();
@@ -23416,9 +23257,9 @@
23416
23257
  if (rf & 1) {
23417
23258
  i0__namespace.ɵɵelementStart(0, "tr");
23418
23259
  i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 31);
23419
- i0__namespace.ɵɵelementStart(2, "th", 32);
23420
- i0__namespace.ɵɵelementStart(3, "span", 33);
23421
- i0__namespace.ɵɵelement(4, "ccd-field-read", 34);
23260
+ i0__namespace.ɵɵelementStart(2, "td");
23261
+ i0__namespace.ɵɵelementStart(3, "span", 32);
23262
+ i0__namespace.ɵɵelement(4, "ccd-field-read", 33);
23422
23263
  i0__namespace.ɵɵelementEnd();
23423
23264
  i0__namespace.ɵɵelementEnd();
23424
23265
  i0__namespace.ɵɵelementEnd();
@@ -23428,18 +23269,16 @@
23428
23269
  var ctx_r22 = i0__namespace.ɵɵnextContext(4);
23429
23270
  i0__namespace.ɵɵadvance(1);
23430
23271
  i0__namespace.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
23431
- i0__namespace.ɵɵadvance(1);
23432
- i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
23433
- i0__namespace.ɵɵadvance(2);
23272
+ i0__namespace.ɵɵadvance(3);
23434
23273
  i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
23435
23274
  }
23436
23275
  }
23437
23276
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) {
23438
23277
  if (rf & 1) {
23439
- i0__namespace.ɵɵelementStart(0, "tr", 37);
23440
- i0__namespace.ɵɵelementStart(1, "th", 32);
23441
- i0__namespace.ɵɵelementStart(2, "span", 33);
23442
- i0__namespace.ɵɵelement(3, "ccd-field-read", 34);
23278
+ i0__namespace.ɵɵelementStart(0, "tr", 36);
23279
+ i0__namespace.ɵɵelementStart(1, "th");
23280
+ i0__namespace.ɵɵelementStart(2, "span", 32);
23281
+ i0__namespace.ɵɵelement(3, "ccd-field-read", 33);
23443
23282
  i0__namespace.ɵɵelementEnd();
23444
23283
  i0__namespace.ɵɵelementEnd();
23445
23284
  i0__namespace.ɵɵelementEnd();
@@ -23447,9 +23286,7 @@
23447
23286
  if (rf & 2) {
23448
23287
  var field_r21 = i0__namespace.ɵɵnextContext().$implicit;
23449
23288
  var ctx_r23 = i0__namespace.ɵɵnextContext(4);
23450
- i0__namespace.ɵɵadvance(1);
23451
- i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
23452
- i0__namespace.ɵɵadvance(2);
23289
+ i0__namespace.ɵɵadvance(3);
23453
23290
  i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r23.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r23.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r23.markdownUseHrefAsRouterLink);
23454
23291
  }
23455
23292
  }
@@ -23459,8 +23296,8 @@
23459
23296
  i0__namespace.ɵɵelementStart(1, "div", 27);
23460
23297
  i0__namespace.ɵɵelementContainerStart(2, 28);
23461
23298
  i0__namespace.ɵɵpipe(3, "ccdIsCompound");
23462
- i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 6, "tr", 29);
23463
- i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 5, "tr", 30);
23299
+ i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 5, "tr", 29);
23300
+ i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 4, "tr", 30);
23464
23301
  i0__namespace.ɵɵelementContainerEnd();
23465
23302
  i0__namespace.ɵɵelementEnd();
23466
23303
  i0__namespace.ɵɵelementContainerEnd();
@@ -23811,7 +23648,7 @@
23811
23648
  CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
23812
23649
  CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
23813
23650
  CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
23814
- CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(NavigationNotifierService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(ActivityPollingService), i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialog), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(DraftService), i0__namespace.ɵɵdirectiveInject(ErrorNotifierService), i0__namespace.ɵɵdirectiveInject(ConvertHrefToRouterService), i0__namespace.ɵɵdirectiveInject(i1__namespace.Location), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
23651
+ CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(NavigationNotifierService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(ActivityPollingService), i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(DraftService), i0__namespace.ɵɵdirectiveInject(ErrorNotifierService), i0__namespace.ɵɵdirectiveInject(ConvertHrefToRouterService), i0__namespace.ɵɵdirectiveInject(i1__namespace.Location), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
23815
23652
  CaseFullAccessViewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) {
23816
23653
  if (rf & 1) {
23817
23654
  i0__namespace.ɵɵviewQuery(_c0$a, 1);
@@ -23820,7 +23657,7 @@
23820
23657
  var _t = void 0;
23821
23658
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
23822
23659
  }
23823
- }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 12, vars: 11, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], ["animationDuration", "0ms", 3, "disableRipple", "selectedTabChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], [3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) {
23660
+ }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 12, vars: 11, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], ["animationDuration", "0ms", 3, "disableRipple", "selectedTabChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) {
23824
23661
  if (rf & 1) {
23825
23662
  i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
23826
23663
  i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
@@ -23867,7 +23704,7 @@
23867
23704
  templateUrl: './case-full-access-view.component.html',
23868
23705
  styleUrls: ['./case-full-access-view.component.scss']
23869
23706
  }]
23870
- }], function () { return [{ type: i0__namespace.NgZone }, { type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1__namespace$6.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1__namespace.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
23707
+ }], function () { return [{ type: i0__namespace.NgZone }, { type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1__namespace$5.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1__namespace.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
23871
23708
  type: i0.Input
23872
23709
  }], hasEventSelector: [{
23873
23710
  type: i0.Input
@@ -27271,8 +27108,8 @@
27271
27108
  function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) {
27272
27109
  if (rf & 1) {
27273
27110
  var _r19_1 = i0__namespace.ɵɵgetCurrentView();
27274
- i0__namespace.ɵɵelementStart(0, "div", 27);
27275
- i0__namespace.ɵɵelementStart(1, "a", 28);
27111
+ i0__namespace.ɵɵelementStart(0, "div", 28);
27112
+ i0__namespace.ɵɵelementStart(1, "a", 29);
27276
27113
  i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_6_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
27277
27114
  i0__namespace.ɵɵelementEnd();
27278
27115
  i0__namespace.ɵɵelementEnd();
@@ -27289,13 +27126,13 @@
27289
27126
  var _r22_1 = i0__namespace.ɵɵgetCurrentView();
27290
27127
  i0__namespace.ɵɵelementStart(0, "th");
27291
27128
  i0__namespace.ɵɵelementStart(1, "table", 24);
27292
- i0__namespace.ɵɵelementStart(2, "tr");
27293
- i0__namespace.ɵɵelementStart(3, "th");
27294
- i0__namespace.ɵɵelementStart(4, "div", 25);
27129
+ i0__namespace.ɵɵelementStart(2, "tr", 7);
27130
+ i0__namespace.ɵɵelementStart(3, "th", 25);
27131
+ i0__namespace.ɵɵelementStart(4, "div", 26);
27295
27132
  i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
27296
27133
  i0__namespace.ɵɵtext(5);
27297
27134
  i0__namespace.ɵɵelementEnd();
27298
- i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
27135
+ i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 27);
27299
27136
  i0__namespace.ɵɵelementEnd();
27300
27137
  i0__namespace.ɵɵelementEnd();
27301
27138
  i0__namespace.ɵɵelementEnd();
@@ -27305,7 +27142,7 @@
27305
27142
  var col_r15 = ctx.$implicit;
27306
27143
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
27307
27144
  i0__namespace.ɵɵadvance(1);
27308
- i0__namespace.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
27145
+ i0__namespace.ɵɵattributeInterpolate2("aria-label", "Sort by ", col_r15.label, " ", ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending", "");
27309
27146
  i0__namespace.ɵɵadvance(4);
27310
27147
  i0__namespace.ɵɵtextInterpolate(col_r15.label);
27311
27148
  i0__namespace.ɵɵadvance(1);
@@ -27314,7 +27151,7 @@
27314
27151
  }
27315
27152
  function SearchResultComponent_table_0_th_11_Template(rf, ctx) {
27316
27153
  if (rf & 1) {
27317
- i0__namespace.ɵɵelement(0, "th", 29);
27154
+ i0__namespace.ɵɵelement(0, "th", 30);
27318
27155
  }
27319
27156
  }
27320
27157
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template(rf, ctx) {
@@ -27322,10 +27159,10 @@
27322
27159
  var _r30_1 = i0__namespace.ɵɵgetCurrentView();
27323
27160
  i0__namespace.ɵɵelementStart(0, "td", 20);
27324
27161
  i0__namespace.ɵɵelementStart(1, "div", 21);
27325
- i0__namespace.ɵɵelementStart(2, "input", 31);
27162
+ i0__namespace.ɵɵelementStart(2, "input", 32);
27326
27163
  i0__namespace.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template_input_change_2_listener() { i0__namespace.ɵɵrestoreView(_r30_1); var result_r24 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r28 = i0__namespace.ɵɵnextContext(3); return ctx_r28.changeSelection(result_r24); });
27327
27164
  i0__namespace.ɵɵelementEnd();
27328
- i0__namespace.ɵɵelement(3, "label", 32);
27165
+ i0__namespace.ɵɵelement(3, "label", 33);
27329
27166
  i0__namespace.ɵɵelementEnd();
27330
27167
  i0__namespace.ɵɵelementEnd();
27331
27168
  }
@@ -27343,7 +27180,7 @@
27343
27180
  var _c0 = function () { return ["value"]; };
27344
27181
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) {
27345
27182
  if (rf & 1) {
27346
- i0__namespace.ɵɵelement(0, "ccd-field-read", 41);
27183
+ i0__namespace.ɵɵelement(0, "ccd-field-read", 42);
27347
27184
  }
27348
27185
  if (rf & 2) {
27349
27186
  var col_r32 = i0__namespace.ɵɵnextContext(3).$implicit;
@@ -27364,9 +27201,9 @@
27364
27201
  }
27365
27202
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) {
27366
27203
  if (rf & 1) {
27367
- i0__namespace.ɵɵelementContainerStart(0, 38);
27368
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
27369
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0__namespace.ɵɵtemplateRefExtractor);
27204
+ i0__namespace.ɵɵelementContainerStart(0, 39);
27205
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 40);
27206
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 41, i0__namespace.ɵɵtemplateRefExtractor);
27370
27207
  i0__namespace.ɵɵelementContainerEnd();
27371
27208
  }
27372
27209
  if (rf & 2) {
@@ -27380,9 +27217,9 @@
27380
27217
  }
27381
27218
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template(rf, ctx) {
27382
27219
  if (rf & 1) {
27383
- i0__namespace.ɵɵelementStart(0, "a", 36);
27220
+ i0__namespace.ɵɵelementStart(0, "a", 37);
27384
27221
  i0__namespace.ɵɵpipe(1, "ccdCaseReference");
27385
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
27222
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
27386
27223
  i0__namespace.ɵɵelementEnd();
27387
27224
  }
27388
27225
  if (rf & 2) {
@@ -27396,8 +27233,8 @@
27396
27233
  }
27397
27234
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template(rf, ctx) {
27398
27235
  if (rf & 1) {
27399
- i0__namespace.ɵɵelementStart(0, "div", 38);
27400
- i0__namespace.ɵɵelement(1, "ccd-field-read", 41);
27236
+ i0__namespace.ɵɵelementStart(0, "div", 39);
27237
+ i0__namespace.ɵɵelement(1, "ccd-field-read", 42);
27401
27238
  i0__namespace.ɵɵelementEnd();
27402
27239
  }
27403
27240
  if (rf & 2) {
@@ -27411,9 +27248,9 @@
27411
27248
  }
27412
27249
  function SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template(rf, ctx) {
27413
27250
  if (rf & 1) {
27414
- i0__namespace.ɵɵelementStart(0, "td", 33);
27415
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
27416
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
27251
+ i0__namespace.ɵɵelementStart(0, "td", 34);
27252
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
27253
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
27417
27254
  i0__namespace.ɵɵelementEnd();
27418
27255
  }
27419
27256
  if (rf & 2) {
@@ -27428,7 +27265,7 @@
27428
27265
  if (rf & 1) {
27429
27266
  i0__namespace.ɵɵelementStart(0, "td");
27430
27267
  i0__namespace.ɵɵelementStart(1, "div");
27431
- i0__namespace.ɵɵelement(2, "ccd-activity", 42);
27268
+ i0__namespace.ɵɵelement(2, "ccd-activity", 43);
27432
27269
  i0__namespace.ɵɵelementEnd();
27433
27270
  i0__namespace.ɵɵelementEnd();
27434
27271
  }
@@ -27445,7 +27282,7 @@
27445
27282
  if (rf & 1) {
27446
27283
  i0__namespace.ɵɵelementStart(0, "tr");
27447
27284
  i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_13_tr_1_td_1_Template, 4, 5, "td", 8);
27448
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td", 30);
27285
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_13_tr_1_td_2_Template, 3, 2, "td", 31);
27449
27286
  i0__namespace.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_13_tr_1_td_3_Template, 3, 4, "td", 0);
27450
27287
  i0__namespace.ɵɵelementEnd();
27451
27288
  }
@@ -27478,10 +27315,10 @@
27478
27315
  var _r56_1 = i0__namespace.ɵɵgetCurrentView();
27479
27316
  i0__namespace.ɵɵelementStart(0, "td", 20);
27480
27317
  i0__namespace.ɵɵelementStart(1, "div", 21);
27481
- i0__namespace.ɵɵelementStart(2, "input", 43);
27318
+ i0__namespace.ɵɵelementStart(2, "input", 44);
27482
27319
  i0__namespace.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0__namespace.ɵɵrestoreView(_r56_1); var result_r50 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r54 = i0__namespace.ɵɵnextContext(3); return ctx_r54.changeSelection(result_r50); })("keyup", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_keyup_2_listener($event) { i0__namespace.ɵɵrestoreView(_r56_1); var result_r50 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r57 = i0__namespace.ɵɵnextContext(3); return ctx_r57.onKeyUp($event, result_r50); });
27483
27320
  i0__namespace.ɵɵelementEnd();
27484
- i0__namespace.ɵɵelement(3, "label", 32);
27321
+ i0__namespace.ɵɵelement(3, "label", 33);
27485
27322
  i0__namespace.ɵɵelementEnd();
27486
27323
  i0__namespace.ɵɵelementEnd();
27487
27324
  }
@@ -27498,7 +27335,7 @@
27498
27335
  }
27499
27336
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) {
27500
27337
  if (rf & 1) {
27501
- i0__namespace.ɵɵelement(0, "ccd-field-read", 41);
27338
+ i0__namespace.ɵɵelement(0, "ccd-field-read", 42);
27502
27339
  }
27503
27340
  if (rf & 2) {
27504
27341
  var col_r60 = i0__namespace.ɵɵnextContext(3).$implicit;
@@ -27519,9 +27356,9 @@
27519
27356
  }
27520
27357
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) {
27521
27358
  if (rf & 1) {
27522
- i0__namespace.ɵɵelementContainerStart(0, 38);
27523
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
27524
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0__namespace.ɵɵtemplateRefExtractor);
27359
+ i0__namespace.ɵɵelementContainerStart(0, 39);
27360
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 40);
27361
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 41, i0__namespace.ɵɵtemplateRefExtractor);
27525
27362
  i0__namespace.ɵɵelementContainerEnd();
27526
27363
  }
27527
27364
  if (rf & 2) {
@@ -27535,9 +27372,9 @@
27535
27372
  }
27536
27373
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) {
27537
27374
  if (rf & 1) {
27538
- i0__namespace.ɵɵelementStart(0, "a", 36);
27375
+ i0__namespace.ɵɵelementStart(0, "a", 37);
27539
27376
  i0__namespace.ɵɵpipe(1, "ccdCaseReference");
27540
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
27377
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 38);
27541
27378
  i0__namespace.ɵɵelementEnd();
27542
27379
  }
27543
27380
  if (rf & 2) {
@@ -27551,8 +27388,8 @@
27551
27388
  }
27552
27389
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) {
27553
27390
  if (rf & 1) {
27554
- i0__namespace.ɵɵelementStart(0, "div", 38);
27555
- i0__namespace.ɵɵelement(1, "ccd-field-read", 41);
27391
+ i0__namespace.ɵɵelementStart(0, "div", 39);
27392
+ i0__namespace.ɵɵelement(1, "ccd-field-read", 42);
27556
27393
  i0__namespace.ɵɵelementEnd();
27557
27394
  }
27558
27395
  if (rf & 2) {
@@ -27566,9 +27403,9 @@
27566
27403
  }
27567
27404
  function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) {
27568
27405
  if (rf & 1) {
27569
- i0__namespace.ɵɵelementStart(0, "td", 33);
27570
- i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
27571
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
27406
+ i0__namespace.ɵɵelementStart(0, "td", 34);
27407
+ i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 35);
27408
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 36);
27572
27409
  i0__namespace.ɵɵelementEnd();
27573
27410
  }
27574
27411
  if (rf & 2) {
@@ -27583,7 +27420,7 @@
27583
27420
  if (rf & 1) {
27584
27421
  i0__namespace.ɵɵelementStart(0, "td");
27585
27422
  i0__namespace.ɵɵelementStart(1, "div");
27586
- i0__namespace.ɵɵelement(2, "ccd-activity", 42);
27423
+ i0__namespace.ɵɵelement(2, "ccd-activity", 43);
27587
27424
  i0__namespace.ɵɵelementEnd();
27588
27425
  i0__namespace.ɵɵelementEnd();
27589
27426
  }
@@ -27600,7 +27437,7 @@
27600
27437
  if (rf & 1) {
27601
27438
  i0__namespace.ɵɵelementStart(0, "tr");
27602
27439
  i0__namespace.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 8);
27603
- i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 30);
27440
+ i0__namespace.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 31);
27604
27441
  i0__namespace.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
27605
27442
  i0__namespace.ɵɵelementEnd();
27606
27443
  }
@@ -27642,7 +27479,7 @@
27642
27479
  i0__namespace.ɵɵelementStart(7, "thead");
27643
27480
  i0__namespace.ɵɵelementStart(8, "tr", 7);
27644
27481
  i0__namespace.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
27645
- i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
27482
+ i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 4, "th", 9);
27646
27483
  i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
27647
27484
  i0__namespace.ɵɵelementEnd();
27648
27485
  i0__namespace.ɵɵelementEnd();
@@ -27677,7 +27514,7 @@
27677
27514
  function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) {
27678
27515
  if (rf & 1) {
27679
27516
  var _r78_1 = i0__namespace.ɵɵgetCurrentView();
27680
- i0__namespace.ɵɵelementStart(0, "ccd-pagination", 44);
27517
+ i0__namespace.ɵɵelementStart(0, "ccd-pagination", 45);
27681
27518
  i0__namespace.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r78_1); var ctx_r77 = i0__namespace.ɵɵnextContext(); return ctx_r77.goToPage($event); });
27682
27519
  i0__namespace.ɵɵelementEnd();
27683
27520
  }
@@ -27688,7 +27525,7 @@
27688
27525
  }
27689
27526
  function SearchResultComponent_div_2_Template(rf, ctx) {
27690
27527
  if (rf & 1) {
27691
- i0__namespace.ɵɵelementStart(0, "div", 45);
27528
+ i0__namespace.ɵɵelementStart(0, "div", 46);
27692
27529
  i0__namespace.ɵɵtext(1, " No cases found. Try using different filters.\n");
27693
27530
  i0__namespace.ɵɵelementEnd();
27694
27531
  }
@@ -28050,7 +27887,7 @@
28050
27887
  SearchResultComponent.PARAM_CASE_TYPE = 'case-type';
28051
27888
  SearchResultComponent.PARAM_CASE_STATE = 'case-state';
28052
27889
  SearchResultComponent.ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0__namespace.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(ActivityService), i0__namespace.ɵɵdirectiveInject(CaseReferencePipe), i0__namespace.ɵɵdirectiveInject(exports.PlaceholderService), i0__namespace.ɵɵdirectiveInject(BrowserService), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
28053
- SearchResultComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "aria-label", "No cases found. Try using different filters.", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", "attr.aria-label", "Reset selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], ["attr.aria-label", "Reset selection", 1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "search-result-column-header"], [1, "search-result-column-label", 3, "click"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [2, "width", "110px"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["case_reference", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange"], ["aria-label", "No cases found. Try using different filters.", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) {
27890
+ SearchResultComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", "aria-label", "No cases found. Try using different filters.", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", "attr.aria-label", "Reset selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], ["attr.aria-label", "Reset selection", 1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["aria-describedby", "search results", 1, "search-result-column-header"], ["scope", "col"], [1, "search-result-column-label", 3, "click"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [2, "width", "110px"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["case_reference", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange"], ["aria-label", "No cases found. Try using different filters.", 1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) {
28054
27891
  if (rf & 1) {
28055
27892
  i0__namespace.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 15, 9, "table", 0);
28056
27893
  i0__namespace.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
@@ -28063,7 +27900,7 @@
28063
27900
  i0__namespace.ɵɵadvance(1);
28064
27901
  i0__namespace.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
28065
27902
  }
28066
- }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$7.PaginatePipe, CaseReferencePipe, SortSearchResultPipe], styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
27903
+ }, directives: [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1__namespace.DecimalPipe, i1__namespace$6.PaginatePipe, CaseReferencePipe, SortSearchResultPipe], styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
28067
27904
  (function () {
28068
27905
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchResultComponent, [{
28069
27906
  type: i0.Component,
@@ -28121,7 +27958,7 @@
28121
27958
  BrowserService
28122
27959
  ], imports: [[
28123
27960
  i1.CommonModule,
28124
- i1$7.NgxPaginationModule,
27961
+ i1$6.NgxPaginationModule,
28125
27962
  i1$1.RouterModule,
28126
27963
  i1$2.FormsModule,
28127
27964
  i1$2.ReactiveFormsModule,
@@ -28133,7 +27970,7 @@
28133
27970
  ]] });
28134
27971
  (function () {
28135
27972
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(SearchResultModule, { declarations: [SearchResultComponent], imports: [i1.CommonModule,
28136
- i1$7.NgxPaginationModule,
27973
+ i1$6.NgxPaginationModule,
28137
27974
  i1$1.RouterModule,
28138
27975
  i1$2.FormsModule,
28139
27976
  i1$2.ReactiveFormsModule,
@@ -28149,7 +27986,7 @@
28149
27986
  args: [{
28150
27987
  imports: [
28151
27988
  i1.CommonModule,
28152
- i1$7.NgxPaginationModule,
27989
+ i1$6.NgxPaginationModule,
28153
27990
  i1$1.RouterModule,
28154
27991
  i1$2.FormsModule,
28155
27992
  i1$2.ReactiveFormsModule,