@hmcts/ccd-case-ui-toolkit 5.0.24-case-file-view-folder-document-icons-v3 → 5.0.24-case-file-view-document-search

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 (18) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +321 -237
  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 +2 -2
  6. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +77 -194
  7. package/esm2015/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.js +178 -0
  8. package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +2 -2
  9. package/esm2015/lib/shared/domain/case-file-view/document-tree-node.model.js +6 -2
  10. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +293 -218
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  12. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +8 -1
  13. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  14. package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts +3 -0
  15. package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts.map +1 -0
  16. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts +4 -0
  17. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts.map +1 -1
  18. package/package.json +1 -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('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('rxjs/Subject'), require('util'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@hmcts/ccpay-web-component'), require('@edium/fsm'), 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', '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', 'rxjs/Subject', 'util', '@angular/material/autocomplete', '@angular/material/core', '@hmcts/ccpay-web-component', '@edium/fsm', '@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["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.rxjs.Subject, global.util, global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global["@edium/fsm"], 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, i1$4, i1$5, i1$6, i2, i4, momentAdapter, i5, i6, Subject, util, i5$1, i6$1, i3, fsm, 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, i1$4, i2, i1$5, i2$1, i4, momentAdapter, i5, i6, Subject, util, i5$1, i6$1, i3, fsm, 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,9 +33,9 @@
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 i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
37
- var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
38
36
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
37
+ var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
38
+ var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
39
39
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
40
40
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
41
41
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
@@ -43,7 +43,7 @@
43
43
  var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
44
44
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
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) {
@@ -7185,7 +7185,7 @@
7185
7185
  return IsCompoundPipe;
7186
7186
  }());
7187
7187
  IsCompoundPipe.COMPOUND_TYPES = [
7188
- 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
7188
+ 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay', 'ComponentLauncher'
7189
7189
  ];
7190
7190
  IsCompoundPipe.EXCLUDE = [
7191
7191
  'CaseLink', 'JudicialUser'
@@ -7828,12 +7828,218 @@
7828
7828
  }], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }]; }, null);
7829
7829
  })();
7830
7830
 
7831
- function CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template(rf, ctx) {
7831
+ var CaseFileViewCategory = /** @class */ (function () {
7832
+ function CaseFileViewCategory() {
7833
+ }
7834
+ return CaseFileViewCategory;
7835
+ }());
7836
+
7837
+ var CaseFileViewDocument = /** @class */ (function () {
7838
+ function CaseFileViewDocument() {
7839
+ }
7840
+ return CaseFileViewDocument;
7841
+ }());
7842
+
7843
+ /**
7844
+ * DTO to provide typing of the response from the CCD Data Store API for Categories and Documents data.
7845
+ * @see {@link https://tools.hmcts.net/confluence/x/0KSDX#CaseFileViewDocumentDataendpointLLD-SuccessResponsePayload} for full details
7846
+ */
7847
+ var CategoriesAndDocuments = /** @class */ (function () {
7848
+ function CategoriesAndDocuments() {
7849
+ }
7850
+ return CategoriesAndDocuments;
7851
+ }());
7852
+
7853
+ var DocumentTreeNodeType;
7854
+ (function (DocumentTreeNodeType) {
7855
+ DocumentTreeNodeType["FOLDER"] = "folder";
7856
+ DocumentTreeNodeType["DOCUMENT"] = "document";
7857
+ })(DocumentTreeNodeType || (DocumentTreeNodeType = {}));
7858
+
7859
+ var categoriesAndDocuments = {
7860
+ case_version: 1,
7861
+ categories: [
7862
+ {
7863
+ category_id: 'Beers',
7864
+ category_name: 'Beers',
7865
+ category_order: 1,
7866
+ documents: [
7867
+ {
7868
+ document_url: '/test',
7869
+ document_filename: 'Beers encyclopedia',
7870
+ document_binary_url: '/test/binary',
7871
+ attribute_path: '',
7872
+ upload_timestamp: ''
7873
+ }
7874
+ ],
7875
+ sub_categories: [
7876
+ {
7877
+ category_id: 'BeersBitters',
7878
+ category_name: 'Bitters',
7879
+ category_order: 1,
7880
+ documents: [],
7881
+ sub_categories: []
7882
+ },
7883
+ {
7884
+ category_id: 'BeersAmerican',
7885
+ category_name: 'American',
7886
+ category_order: 2,
7887
+ documents: [],
7888
+ sub_categories: []
7889
+ },
7890
+ {
7891
+ category_id: 'BeersAsian',
7892
+ category_name: 'Asian',
7893
+ category_order: 3,
7894
+ documents: [],
7895
+ sub_categories: []
7896
+ }
7897
+ ]
7898
+ },
7899
+ {
7900
+ category_id: 'Wines',
7901
+ category_name: 'Wines',
7902
+ category_order: 2,
7903
+ documents: [],
7904
+ sub_categories: [
7905
+ {
7906
+ category_id: 'WinesFrench',
7907
+ category_name: 'French',
7908
+ category_order: 1,
7909
+ documents: [],
7910
+ sub_categories: []
7911
+ },
7912
+ {
7913
+ category_id: 'WinesItalian',
7914
+ category_name: 'Italian',
7915
+ category_order: 2,
7916
+ documents: [],
7917
+ sub_categories: []
7918
+ }
7919
+ ]
7920
+ },
7921
+ {
7922
+ category_id: 'Spirits',
7923
+ category_name: 'Spirits',
7924
+ category_order: 3,
7925
+ documents: [],
7926
+ sub_categories: [
7927
+ {
7928
+ category_id: 'SpiritsWhisky',
7929
+ category_name: 'Scotch whisky',
7930
+ category_order: 1,
7931
+ documents: [],
7932
+ sub_categories: [
7933
+ {
7934
+ category_id: 'WhiskyHighland',
7935
+ category_name: 'Highland',
7936
+ category_order: 1,
7937
+ documents: [],
7938
+ sub_categories: [
7939
+ {
7940
+ category_id: 'WhiskyHighland1',
7941
+ category_name: 'Highland 1',
7942
+ category_order: 1,
7943
+ documents: [],
7944
+ sub_categories: []
7945
+ }
7946
+ ]
7947
+ },
7948
+ {
7949
+ category_id: 'WhiskyLowland',
7950
+ category_name: 'Lowland',
7951
+ category_order: 2,
7952
+ documents: [],
7953
+ sub_categories: [
7954
+ {
7955
+ category_id: 'WhiskyLowland1',
7956
+ category_name: 'Lowland 1',
7957
+ category_order: 1,
7958
+ documents: [
7959
+ {
7960
+ document_url: '/test',
7961
+ document_filename: 'Details about Whisky Lowland 1',
7962
+ document_binary_url: '/test/binary',
7963
+ attribute_path: '',
7964
+ upload_timestamp: ''
7965
+ }
7966
+ ],
7967
+ sub_categories: []
7968
+ },
7969
+ {
7970
+ category_id: 'WhiskyLowland2',
7971
+ category_name: 'Lowland 2',
7972
+ category_order: 2,
7973
+ documents: [],
7974
+ sub_categories: []
7975
+ }
7976
+ ]
7977
+ },
7978
+ {
7979
+ category_id: 'WhiskyIslay',
7980
+ category_name: 'Islay',
7981
+ category_order: 3,
7982
+ documents: [
7983
+ {
7984
+ document_url: '/test',
7985
+ document_filename: 'Details about Whisky Islay',
7986
+ document_binary_url: '/test/binary',
7987
+ attribute_path: '',
7988
+ upload_timestamp: ''
7989
+ },
7990
+ {
7991
+ document_url: '/test',
7992
+ document_filename: 'More information about Whisky Islay',
7993
+ document_binary_url: '/test/binary',
7994
+ attribute_path: '',
7995
+ upload_timestamp: ''
7996
+ }
7997
+ ],
7998
+ sub_categories: []
7999
+ },
8000
+ {
8001
+ category_id: 'WhiskySpeyside',
8002
+ category_name: 'Speyside',
8003
+ category_order: 4,
8004
+ documents: [],
8005
+ sub_categories: []
8006
+ },
8007
+ {
8008
+ category_id: 'WhiskyCampbeltown',
8009
+ category_name: 'Campbeltown',
8010
+ category_order: 5,
8011
+ documents: [],
8012
+ sub_categories: []
8013
+ }
8014
+ ]
8015
+ }
8016
+ ]
8017
+ }
8018
+ ],
8019
+ uncategorised_documents: [
8020
+ {
8021
+ document_url: '/uncategorised-document-1',
8022
+ document_filename: 'Uncategorised document 1',
8023
+ document_binary_url: '/test/binary',
8024
+ attribute_path: '',
8025
+ upload_timestamp: ''
8026
+ },
8027
+ {
8028
+ document_url: '/uncategorised-document-2',
8029
+ document_filename: 'Uncategorised document 2',
8030
+ document_binary_url: '/test/binary',
8031
+ attribute_path: '',
8032
+ upload_timestamp: ''
8033
+ }
8034
+ ]
8035
+ };
8036
+
8037
+ function CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template(rf, ctx) {
7832
8038
  if (rf & 1) {
7833
- i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
7834
- i0__namespace.ɵɵelementStart(1, "div", 8);
7835
- i0__namespace.ɵɵelement(2, "button", 9);
7836
- i0__namespace.ɵɵelementStart(3, "span", 10);
8039
+ i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 9);
8040
+ i0__namespace.ɵɵelementStart(1, "div", 10);
8041
+ i0__namespace.ɵɵelement(2, "button", 11);
8042
+ i0__namespace.ɵɵelementStart(3, "span", 12);
7837
8043
  i0__namespace.ɵɵtext(4);
7838
8044
  i0__namespace.ɵɵelementEnd();
7839
8045
  i0__namespace.ɵɵelementEnd();
@@ -7845,21 +8051,21 @@
7845
8051
  i0__namespace.ɵɵtextInterpolate(node_r2.name);
7846
8052
  }
7847
8053
  }
7848
- function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) {
8054
+ function CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template(rf, ctx) {
7849
8055
  if (rf & 1) {
7850
- i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
7851
- i0__namespace.ɵɵelementStart(1, "div", 8);
7852
- i0__namespace.ɵɵelementStart(2, "button", 11);
7853
- i0__namespace.ɵɵelementStart(3, "span", 12);
8056
+ i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 9);
8057
+ i0__namespace.ɵɵelementStart(1, "div", 10);
8058
+ i0__namespace.ɵɵelementStart(2, "button", 13);
8059
+ i0__namespace.ɵɵelementStart(3, "span", 14);
7854
8060
  i0__namespace.ɵɵtext(4);
7855
8061
  i0__namespace.ɵɵelementEnd();
7856
8062
  i0__namespace.ɵɵelementEnd();
7857
- i0__namespace.ɵɵelementStart(5, "span", 13);
8063
+ i0__namespace.ɵɵelementStart(5, "span", 15);
7858
8064
  i0__namespace.ɵɵtext(6);
7859
8065
  i0__namespace.ɵɵelementEnd();
7860
8066
  i0__namespace.ɵɵelementEnd();
7861
8067
  i0__namespace.ɵɵelementStart(7, "div");
7862
- i0__namespace.ɵɵelementContainer(8, 14);
8068
+ i0__namespace.ɵɵelementContainer(8, 16);
7863
8069
  i0__namespace.ɵɵelementEnd();
7864
8070
  i0__namespace.ɵɵelementEnd();
7865
8071
  }
@@ -7881,22 +8087,30 @@
7881
8087
  this.categories = [];
7882
8088
  this.getChildren = function (node) { return rxjs.of(node.children); };
7883
8089
  this.nestedChildren = function (_, nodeData) { return nodeData.children; };
7884
- this.nestedTreeControl = new i1$5.NestedTreeControl(this.getChildren);
8090
+ this.nestedTreeControl = new i2.NestedTreeControl(this.getChildren);
7885
8091
  }
7886
8092
  CaseFileViewFolderComponent.prototype.ngOnInit = function () {
7887
8093
  var _this = this;
7888
- this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocuments) {
8094
+ this.documentFilterFormGroup = new i1$2.FormGroup({});
8095
+ this.documentSearchFormControl = new i1$2.FormControl('');
8096
+ this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
8097
+ // Listen to search input and initiate filter documents if at least three characters entered
8098
+ this.documentFilterSubscription = this.documentSearchFormControl.valueChanges.pipe(operators.switchMap(function (searchTerm) { return _this.filter(searchTerm.toLowerCase(), _this.documentTreeData); })).subscribe(function (documentTreeData) {
8099
+ _this.nestedDataSource = documentTreeData;
8100
+ });
8101
+ // Subscribe to the input categories and documents, and generate tree data and initialise cdk tree
8102
+ this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(function (categoriesAndDocumentsResult) {
7889
8103
  // Using the mock data for now as we have to display the documents as well for demo purpose
7890
- var categories = _this.loadCategories(); // categoriesAndDocuments.categories;
8104
+ var categories = categoriesAndDocuments.categories; // categoriesAndDocuments.categories;
7891
8105
  // Generate document tree data from categories
7892
- var treeData = _this.generateTreeData(categories);
8106
+ _this.documentTreeData = _this.generateTreeData(categories);
7893
8107
  // Append uncategorised documents
7894
- if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
7895
- var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
7896
- treeData.push(uncategorisedDocuments);
8108
+ if (categoriesAndDocumentsResult.uncategorised_documents && categoriesAndDocumentsResult.uncategorised_documents.length > 0) {
8109
+ var uncategorisedDocuments = _this.getUncategorisedDocuments(categoriesAndDocumentsResult.uncategorised_documents);
8110
+ _this.documentTreeData.push(uncategorisedDocuments);
7897
8111
  }
7898
8112
  // Initialise cdk tree with generated data
7899
- _this.nestedDataSource = treeData;
8113
+ _this.nestedDataSource = _this.documentTreeData;
7900
8114
  });
7901
8115
  };
7902
8116
  CaseFileViewFolderComponent.prototype.generateTreeData = function (categories) {
@@ -7904,6 +8118,7 @@
7904
8118
  return categories.reduce(function (tree, node) { return __spread(tree, [
7905
8119
  {
7906
8120
  name: node.category_name,
8121
+ type: DocumentTreeNodeType.FOLDER,
7907
8122
  children: __spread(_this.generateTreeData(node.sub_categories), _this.getDocuments(node.documents))
7908
8123
  },
7909
8124
  ]); }, []);
@@ -7911,208 +8126,77 @@
7911
8126
  CaseFileViewFolderComponent.prototype.getDocuments = function (documents) {
7912
8127
  var documentsToReturn = [];
7913
8128
  documents.forEach(function (document) {
7914
- documentsToReturn.push({ name: document.document_filename });
8129
+ documentsToReturn.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
7915
8130
  });
7916
8131
  return documentsToReturn;
7917
8132
  };
7918
8133
  CaseFileViewFolderComponent.prototype.getUncategorisedDocuments = function (uncategorisedDocuments) {
7919
8134
  var documents = [];
7920
8135
  uncategorisedDocuments.forEach(function (document) {
7921
- documents.push({ name: document.document_filename });
8136
+ documents.push({ name: document.document_filename, type: DocumentTreeNodeType.DOCUMENT });
7922
8137
  });
7923
- return { name: CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE, children: documents };
8138
+ return { name: CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE, type: DocumentTreeNodeType.FOLDER, children: documents };
8139
+ };
8140
+ CaseFileViewFolderComponent.prototype.filter = function (searchTerm, documentTreeData) {
8141
+ // Make a copy of the data so we do not mutate the original
8142
+ function copy(node) {
8143
+ return Object.assign({}, node);
8144
+ }
8145
+ var filteredData = documentTreeData;
8146
+ if (searchTerm && searchTerm.length > 2 && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
8147
+ filteredData = documentTreeData.map(copy).filter(function filterTreeData(node) {
8148
+ if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
8149
+ return true;
8150
+ }
8151
+ // Call recursively if node has children
8152
+ if (node.children) {
8153
+ return (node.children = node.children.map(copy).filter(filterTreeData)).length;
8154
+ }
8155
+ });
8156
+ }
8157
+ return rxjs.of(filteredData);
7924
8158
  };
7925
8159
  CaseFileViewFolderComponent.prototype.ngOnDestroy = function () {
7926
8160
  if (this.categoriesAndDocumentsSubscription) {
7927
8161
  this.categoriesAndDocumentsSubscription.unsubscribe();
7928
8162
  }
7929
- };
7930
- CaseFileViewFolderComponent.prototype.loadCategories = function () {
7931
- return [
7932
- {
7933
- category_id: 'Beers',
7934
- category_name: 'Beers',
7935
- category_order: 1,
7936
- documents: [
7937
- {
7938
- document_url: '/test',
7939
- document_filename: 'Beers encyclopedia',
7940
- document_binary_url: '/test/binary',
7941
- attribute_path: '',
7942
- upload_timestamp: ''
7943
- }
7944
- ],
7945
- sub_categories: [
7946
- {
7947
- category_id: 'BeersBitters',
7948
- category_name: 'Bitters',
7949
- category_order: 1,
7950
- documents: [],
7951
- sub_categories: []
7952
- },
7953
- {
7954
- category_id: 'BeersAmerican',
7955
- category_name: 'American',
7956
- category_order: 2,
7957
- documents: [],
7958
- sub_categories: []
7959
- },
7960
- {
7961
- category_id: 'BeersAsian',
7962
- category_name: 'Asian',
7963
- category_order: 3,
7964
- documents: [],
7965
- sub_categories: []
7966
- }
7967
- ]
7968
- },
7969
- {
7970
- category_id: 'Wines',
7971
- category_name: 'Wines',
7972
- category_order: 2,
7973
- documents: [],
7974
- sub_categories: [
7975
- {
7976
- category_id: 'WinesFrench',
7977
- category_name: 'French',
7978
- category_order: 1,
7979
- documents: [],
7980
- sub_categories: []
7981
- },
7982
- {
7983
- category_id: 'WinesItalian',
7984
- category_name: 'Italian',
7985
- category_order: 2,
7986
- documents: [],
7987
- sub_categories: []
7988
- }
7989
- ]
7990
- },
7991
- {
7992
- category_id: 'Spirits',
7993
- category_name: 'Spirits',
7994
- category_order: 3,
7995
- documents: [],
7996
- sub_categories: [
7997
- {
7998
- category_id: 'SpiritsWhisky',
7999
- category_name: 'Scotch whisky',
8000
- category_order: 1,
8001
- documents: [],
8002
- sub_categories: [
8003
- {
8004
- category_id: 'WhiskyHighland',
8005
- category_name: 'Highland',
8006
- category_order: 1,
8007
- documents: [],
8008
- sub_categories: [
8009
- {
8010
- category_id: 'WhiskyHighland1',
8011
- category_name: 'Highland 1',
8012
- category_order: 1,
8013
- documents: [],
8014
- sub_categories: []
8015
- }
8016
- ]
8017
- },
8018
- {
8019
- category_id: 'WhiskyLowland',
8020
- category_name: 'Lowland',
8021
- category_order: 2,
8022
- documents: [],
8023
- sub_categories: [
8024
- {
8025
- category_id: 'WhiskyLowland1',
8026
- category_name: 'Lowland 1',
8027
- category_order: 1,
8028
- documents: [
8029
- {
8030
- document_url: '/test',
8031
- document_filename: 'Details about Whisky Lowland 1',
8032
- document_binary_url: '/test/binary',
8033
- attribute_path: '',
8034
- upload_timestamp: ''
8035
- }
8036
- ],
8037
- sub_categories: []
8038
- },
8039
- {
8040
- category_id: 'WhiskyLowland2',
8041
- category_name: 'Lowland 2',
8042
- category_order: 2,
8043
- documents: [],
8044
- sub_categories: []
8045
- }
8046
- ]
8047
- },
8048
- {
8049
- category_id: 'WhiskyIslay',
8050
- category_name: 'Islay',
8051
- category_order: 3,
8052
- documents: [
8053
- {
8054
- document_url: '/test',
8055
- document_filename: 'Details about Whisky Islay',
8056
- document_binary_url: '/test/binary',
8057
- attribute_path: '',
8058
- upload_timestamp: ''
8059
- },
8060
- {
8061
- document_url: '/test',
8062
- document_filename: 'More information about Whisky Islay',
8063
- document_binary_url: '/test/binary',
8064
- attribute_path: '',
8065
- upload_timestamp: ''
8066
- }
8067
- ],
8068
- sub_categories: []
8069
- },
8070
- {
8071
- category_id: 'WhiskySpeyside',
8072
- category_name: 'Speyside',
8073
- category_order: 4,
8074
- documents: [],
8075
- sub_categories: []
8076
- },
8077
- {
8078
- category_id: 'WhiskyCampbeltown',
8079
- category_name: 'Campbeltown',
8080
- category_order: 5,
8081
- documents: [],
8082
- sub_categories: []
8083
- }
8084
- ]
8085
- }
8086
- ]
8087
- }
8088
- ];
8163
+ if (this.documentFilterSubscription) {
8164
+ this.documentFilterSubscription.unsubscribe();
8165
+ }
8089
8166
  };
8090
8167
  return CaseFileViewFolderComponent;
8091
8168
  }());
8092
8169
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
8170
+ CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
8171
+ CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 2;
8093
8172
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
8094
- CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 3, 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, "icon", "icon-document"], [1, "node-name", "node-name-document"], ["mat-icon-button", "", "cdkTreeNodeToggle", "", 1, "icon", "icon-folder"], [1, "document-count"], [1, "node-name", "node-name-folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
8173
+ CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 10, vars: 4, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["for", "document-search", 1, "form-label"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", 1, "form-control", "document-search"], [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, "icon", "icon-document"], [1, "node-name", "node-name-document"], ["mat-icon-button", "", "cdkTreeNodeToggle", "", 1, "icon", "icon-folder"], [1, "document-count"], [1, "node-name", "node-name-folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
8095
8174
  if (rf & 1) {
8096
8175
  i0__namespace.ɵɵelementStart(0, "div", 0);
8097
- i0__namespace.ɵɵelement(1, "div", 1);
8098
- i0__namespace.ɵɵelementStart(2, "div", 2);
8099
- i0__namespace.ɵɵtext(3, "Documents");
8176
+ i0__namespace.ɵɵelementStart(1, "div", 1);
8177
+ i0__namespace.ɵɵelement(2, "label", 2);
8178
+ i0__namespace.ɵɵelement(3, "input", 3);
8100
8179
  i0__namespace.ɵɵelementEnd();
8180
+ i0__namespace.ɵɵelementStart(4, "div", 4);
8181
+ i0__namespace.ɵɵtext(5, "Documents");
8101
8182
  i0__namespace.ɵɵelementEnd();
8102
- i0__namespace.ɵɵelementStart(4, "div", 3);
8103
- i0__namespace.ɵɵelementStart(5, "cdk-tree", 4);
8104
- i0__namespace.ɵɵtemplate(6, CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template, 5, 1, "cdk-nested-tree-node", 5);
8105
- i0__namespace.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 9, 5, "cdk-nested-tree-node", 6);
8183
+ i0__namespace.ɵɵelementEnd();
8184
+ i0__namespace.ɵɵelementStart(6, "div", 5);
8185
+ i0__namespace.ɵɵelementStart(7, "cdk-tree", 6);
8186
+ i0__namespace.ɵɵtemplate(8, CaseFileViewFolderComponent_cdk_nested_tree_node_8_Template, 5, 1, "cdk-nested-tree-node", 7);
8187
+ i0__namespace.ɵɵtemplate(9, CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template, 9, 5, "cdk-nested-tree-node", 8);
8106
8188
  i0__namespace.ɵɵelementEnd();
8107
8189
  i0__namespace.ɵɵelementEnd();
8108
8190
  }
8109
8191
  if (rf & 2) {
8110
- i0__namespace.ɵɵadvance(5);
8192
+ i0__namespace.ɵɵadvance(1);
8193
+ i0__namespace.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
8194
+ i0__namespace.ɵɵadvance(6);
8111
8195
  i0__namespace.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
8112
8196
  i0__namespace.ɵɵadvance(2);
8113
8197
  i0__namespace.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
8114
8198
  }
8115
- }, 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}.document-tree-container[_ngcontent-%COMP%] .node[_ngcontent-%COMP%]{display:flex;padding:4px}.document-tree-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:36px;height:36px;background-size:100%;border:0;background-color:#fff}.document-tree-container[_ngcontent-%COMP%] .icon-folder[_ngcontent-%COMP%]{background-image:url(/assets/images/folder.png)}.document-tree-container[_ngcontent-%COMP%] .icon-document[_ngcontent-%COMP%]{background-image:url(/assets/images/document.png)}.document-tree-container[_ngcontent-%COMP%] .node-name[_ngcontent-%COMP%]{margin-left:6px}.document-tree-container[_ngcontent-%COMP%] .node-name-document[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .node-name-folder[_ngcontent-%COMP%]{margin-top:4px}.document-tree-container[_ngcontent-%COMP%] .document-count[_ngcontent-%COMP%]{color:#fff}"] });
8199
+ }, directives: [i1__namespace$3.NgControlStatusGroup, i1__namespace$3.FormGroupDirective, i1__namespace$3.DefaultValueAccessor, i1__namespace$3.NgControlStatus, i1__namespace$3.FormControlName, i2__namespace.CdkTree, i2__namespace.CdkTreeNodeDef, i2__namespace.CdkNestedTreeNode, i2__namespace.CdkTreeNodeToggle, i2__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 0 0 8px;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 98% #fff;padding-right:30px;min-width:30%;max-width:340px}.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}.document-tree-container[_ngcontent-%COMP%] .node[_ngcontent-%COMP%]{display:flex;padding:4px}.document-tree-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:36px;height:36px;background-size:100%;border:0;background-color:#faf8f8}.document-tree-container[_ngcontent-%COMP%] .icon-folder[_ngcontent-%COMP%]{background-image:url(/assets/images/folder.png)}.document-tree-container[_ngcontent-%COMP%] .icon-document[_ngcontent-%COMP%]{background-image:url(/assets/images/document.png)}.document-tree-container[_ngcontent-%COMP%] .node-name[_ngcontent-%COMP%]{margin-left:6px}.document-tree-container[_ngcontent-%COMP%] .node-name-document[_ngcontent-%COMP%], .document-tree-container[_ngcontent-%COMP%] .node-name-folder[_ngcontent-%COMP%]{margin-top:4px}.document-tree-container[_ngcontent-%COMP%] .document-count[_ngcontent-%COMP%]{color:#fff}"] });
8116
8200
  (function () {
8117
8201
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
8118
8202
  type: i0.Component,
@@ -8555,7 +8639,7 @@
8555
8639
  };
8556
8640
  return RemoveDialogComponent;
8557
8641
  }());
8558
- RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
8642
+ RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
8559
8643
  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) {
8560
8644
  if (rf & 1) {
8561
8645
  i0__namespace.ɵɵelementStart(0, "div");
@@ -8596,7 +8680,7 @@
8596
8680
  templateUrl: './remove-dialog.component.html',
8597
8681
  styleUrls: ['../action-dialog.component.scss']
8598
8682
  }]
8599
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
8683
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
8600
8684
  })();
8601
8685
 
8602
8686
  var Jurisdiction = /** @class */ (function () {
@@ -9028,7 +9112,7 @@
9028
9112
  };
9029
9113
  WriteCollectionFieldComponent.prototype.openModal = function (i) {
9030
9114
  var _this = this;
9031
- var dialogConfig = new i1$6.MatDialogConfig();
9115
+ var dialogConfig = new i1$5.MatDialogConfig();
9032
9116
  dialogConfig.disableClose = true;
9033
9117
  dialogConfig.autoFocus = true;
9034
9118
  dialogConfig.ariaLabel = 'Label';
@@ -9062,7 +9146,7 @@
9062
9146
  };
9063
9147
  return WriteCollectionFieldComponent;
9064
9148
  }(AbstractFieldWriteComponent));
9065
- 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)); };
9149
+ WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
9066
9150
  WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
9067
9151
  if (rf & 1) {
9068
9152
  i0__namespace.ɵɵviewQuery(_c0$D, 1);
@@ -9111,7 +9195,7 @@
9111
9195
  templateUrl: './write-collection-field.html',
9112
9196
  styleUrls: ['./collection-field.scss']
9113
9197
  }]
9114
- }], function () { return [{ type: i1__namespace$6.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
9198
+ }], function () { return [{ type: i1__namespace$5.MatDialog }, { type: i2__namespace$1.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
9115
9199
  type: i0.Input
9116
9200
  }], formGroup: [{
9117
9201
  type: i0.Input
@@ -10729,7 +10813,7 @@
10729
10813
  };
10730
10814
  return DocumentDialogComponent;
10731
10815
  }());
10732
- DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
10816
+ DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
10733
10817
  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) {
10734
10818
  if (rf & 1) {
10735
10819
  i0__namespace.ɵɵelementStart(0, "div");
@@ -10770,11 +10854,11 @@
10770
10854
  templateUrl: './document-dialog.component.html',
10771
10855
  styleUrls: ['../action-dialog.component.scss']
10772
10856
  }]
10773
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
10857
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
10774
10858
  })();
10775
10859
 
10776
10860
  function initDialog() {
10777
- var dialogConfig = new i1$6.MatDialogConfig();
10861
+ var dialogConfig = new i1$5.MatDialogConfig();
10778
10862
  dialogConfig.disableClose = true;
10779
10863
  dialogConfig.autoFocus = true;
10780
10864
  dialogConfig.ariaLabel = 'Label';
@@ -11341,7 +11425,7 @@
11341
11425
  WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
11342
11426
  WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
11343
11427
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
11344
- 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)); };
11428
+ 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)); };
11345
11429
  WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
11346
11430
  if (rf & 1) {
11347
11431
  i0__namespace.ɵɵviewQuery(_c0$z, 1);
@@ -11415,7 +11499,7 @@
11415
11499
  selector: 'ccd-write-document-field',
11416
11500
  templateUrl: './write-document-field.html'
11417
11501
  }]
11418
- }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$6.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
11502
+ }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1__namespace$5.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
11419
11503
  type: i0.ViewChild,
11420
11504
  args: ['fileInput', { static: false }]
11421
11505
  }], clickout: [{
@@ -16494,7 +16578,7 @@
16494
16578
  };
16495
16579
  return SaveOrDiscardDialogComponent;
16496
16580
  }());
16497
- SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
16581
+ SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
16498
16582
  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) {
16499
16583
  if (rf & 1) {
16500
16584
  i0__namespace.ɵɵelementStart(0, "div");
@@ -16535,7 +16619,7 @@
16535
16619
  templateUrl: './save-or-discard-dialog.component.html',
16536
16620
  styleUrls: ['../action-dialog.component.scss']
16537
16621
  }]
16538
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
16622
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
16539
16623
  })();
16540
16624
 
16541
16625
  var CaseEditPageText;
@@ -17455,7 +17539,7 @@
17455
17539
  };
17456
17540
  return CaseEditPageComponent;
17457
17541
  }());
17458
- 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)); };
17542
+ 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)); };
17459
17543
  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) {
17460
17544
  if (rf & 1) {
17461
17545
  i0__namespace.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
@@ -17501,7 +17585,7 @@
17501
17585
  templateUrl: 'case-edit-page.html',
17502
17586
  styleUrls: ['./case-edit-page.scss']
17503
17587
  }]
17504
- }], 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);
17588
+ }], 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);
17505
17589
  })();
17506
17590
 
17507
17591
  var Confirmation = /** @class */ (function () {
@@ -19633,9 +19717,9 @@
19633
19717
  input.MatInputModule,
19634
19718
  i5.MatDatepickerModule,
19635
19719
  i5$1.MatAutocompleteModule,
19636
- i1$5.CdkTreeModule,
19720
+ i2.CdkTreeModule,
19637
19721
  i3.PaymentLibModule,
19638
- i2.ScrollToModule.forRoot()
19722
+ i2$1.ScrollToModule.forRoot()
19639
19723
  ], i4.NgxMatDatetimePickerModule,
19640
19724
  i4.NgxMatNativeDateModule,
19641
19725
  i4.NgxMatTimepickerModule,
@@ -19739,8 +19823,8 @@
19739
19823
  input.MatInputModule,
19740
19824
  i5.MatDatepickerModule,
19741
19825
  i5$1.MatAutocompleteModule,
19742
- i1$5.CdkTreeModule,
19743
- i3.PaymentLibModule, i2__namespace.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
19826
+ i2.CdkTreeModule,
19827
+ i3.PaymentLibModule, i2__namespace$1.ScrollToModule], exports: [i4.NgxMatDatetimePickerModule,
19744
19828
  i4.NgxMatNativeDateModule,
19745
19829
  i4.NgxMatTimepickerModule,
19746
19830
  TabsModule,
@@ -19844,9 +19928,9 @@
19844
19928
  input.MatInputModule,
19845
19929
  i5.MatDatepickerModule,
19846
19930
  i5$1.MatAutocompleteModule,
19847
- i1$5.CdkTreeModule,
19931
+ i2.CdkTreeModule,
19848
19932
  i3.PaymentLibModule,
19849
- i2.ScrollToModule.forRoot()
19933
+ i2$1.ScrollToModule.forRoot()
19850
19934
  ],
19851
19935
  declarations: __spread([
19852
19936
  FixedListPipe,
@@ -20727,7 +20811,7 @@
20727
20811
  i0__namespace.ɵɵadvance(3);
20728
20812
  i0__namespace.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
20729
20813
  }
20730
- }, 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}}"] });
20814
+ }, 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}}"] });
20731
20815
  (function () {
20732
20816
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationComponent, [{
20733
20817
  type: i0.Component,
@@ -21134,7 +21218,7 @@
21134
21218
  i0__namespace.ɵɵadvance(2);
21135
21219
  i0__namespace.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
21136
21220
  }
21137
- }, 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: [""] });
21221
+ }, 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: [""] });
21138
21222
  (function () {
21139
21223
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseListComponent, [{
21140
21224
  type: i0.Component,
@@ -21194,12 +21278,12 @@
21194
21278
  PaginationModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: PaginationModule });
21195
21279
  PaginationModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
21196
21280
  i1.CommonModule,
21197
- i1$7.NgxPaginationModule
21281
+ i1$6.NgxPaginationModule
21198
21282
  ]] });
21199
21283
  (function () {
21200
21284
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(PaginationModule, { declarations: [PaginationComponent], imports: [i1.CommonModule,
21201
- i1$7.NgxPaginationModule], exports: [PaginationComponent,
21202
- i1$7.PaginatePipe] });
21285
+ i1$6.NgxPaginationModule], exports: [PaginationComponent,
21286
+ i1$6.PaginatePipe] });
21203
21287
  })();
21204
21288
  (function () {
21205
21289
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaginationModule, [{
@@ -21207,14 +21291,14 @@
21207
21291
  args: [{
21208
21292
  imports: [
21209
21293
  i1.CommonModule,
21210
- i1$7.NgxPaginationModule
21294
+ i1$6.NgxPaginationModule
21211
21295
  ],
21212
21296
  declarations: [
21213
21297
  PaginationComponent
21214
21298
  ],
21215
21299
  exports: [
21216
21300
  PaginationComponent,
21217
- i1$7.PaginatePipe
21301
+ i1$6.PaginatePipe
21218
21302
  ],
21219
21303
  }]
21220
21304
  }], null, null);
@@ -21233,14 +21317,14 @@
21233
21317
  i1.CommonModule,
21234
21318
  i1$2.FormsModule,
21235
21319
  i1$1.RouterModule,
21236
- i1$7.NgxPaginationModule,
21320
+ i1$6.NgxPaginationModule,
21237
21321
  PaginationModule
21238
21322
  ]] });
21239
21323
  (function () {
21240
21324
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseListModule, { declarations: [CaseListComponent], imports: [i1.CommonModule,
21241
21325
  i1$2.FormsModule,
21242
21326
  i1$1.RouterModule,
21243
- i1$7.NgxPaginationModule,
21327
+ i1$6.NgxPaginationModule,
21244
21328
  PaginationModule], exports: [CaseListComponent] });
21245
21329
  })();
21246
21330
  (function () {
@@ -21251,7 +21335,7 @@
21251
21335
  i1.CommonModule,
21252
21336
  i1$2.FormsModule,
21253
21337
  i1$1.RouterModule,
21254
- i1$7.NgxPaginationModule,
21338
+ i1$6.NgxPaginationModule,
21255
21339
  PaginationModule
21256
21340
  ],
21257
21341
  declarations: [CaseListComponent],
@@ -23021,7 +23105,7 @@
23021
23105
  };
23022
23106
  return DeleteOrCancelDialogComponent;
23023
23107
  }());
23024
- DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$6.MatDialogRef)); };
23108
+ DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$5.MatDialogRef)); };
23025
23109
  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) {
23026
23110
  if (rf & 1) {
23027
23111
  i0__namespace.ɵɵelementStart(0, "div");
@@ -23062,7 +23146,7 @@
23062
23146
  templateUrl: './delete-or-cancel-dialog.component.html',
23063
23147
  styleUrls: ['../action-dialog.component.scss']
23064
23148
  }]
23065
- }], function () { return [{ type: i1__namespace$6.MatDialogRef }]; }, null);
23149
+ }], function () { return [{ type: i1__namespace$5.MatDialogRef }]; }, null);
23066
23150
  })();
23067
23151
 
23068
23152
  function EventTriggerComponent_form_0_option_5_Template(rf, ctx) {
@@ -23296,7 +23380,7 @@
23296
23380
  if (rf & 1) {
23297
23381
  i0__namespace.ɵɵelementStart(0, "tr");
23298
23382
  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);
23299
- i0__namespace.ɵɵelementStart(2, "th");
23383
+ i0__namespace.ɵɵelementStart(2, "td");
23300
23384
  i0__namespace.ɵɵelementStart(3, "span", 32);
23301
23385
  i0__namespace.ɵɵelement(4, "ccd-field-read", 33);
23302
23386
  i0__namespace.ɵɵelementEnd();
@@ -23685,7 +23769,7 @@
23685
23769
  CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
23686
23770
  CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
23687
23771
  CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
23688
- 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)); };
23772
+ 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)); };
23689
23773
  CaseFullAccessViewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) {
23690
23774
  if (rf & 1) {
23691
23775
  i0__namespace.ɵɵviewQuery(_c0$a, 1);
@@ -23741,7 +23825,7 @@
23741
23825
  templateUrl: './case-full-access-view.component.html',
23742
23826
  styleUrls: ['./case-full-access-view.component.scss']
23743
23827
  }]
23744
- }], 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 }]; }, { hasPrint: [{
23828
+ }], 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 }]; }, { hasPrint: [{
23745
23829
  type: i0.Input
23746
23830
  }], hasEventSelector: [{
23747
23831
  type: i0.Input
@@ -27932,7 +28016,7 @@
27932
28016
  i0__namespace.ɵɵadvance(1);
27933
28017
  i0__namespace.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
27934
28018
  }
27935
- }, 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}"] });
28019
+ }, 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}"] });
27936
28020
  (function () {
27937
28021
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchResultComponent, [{
27938
28022
  type: i0.Component,
@@ -27990,7 +28074,7 @@
27990
28074
  BrowserService
27991
28075
  ], imports: [[
27992
28076
  i1.CommonModule,
27993
- i1$7.NgxPaginationModule,
28077
+ i1$6.NgxPaginationModule,
27994
28078
  i1$1.RouterModule,
27995
28079
  i1$2.FormsModule,
27996
28080
  i1$2.ReactiveFormsModule,
@@ -28002,7 +28086,7 @@
28002
28086
  ]] });
28003
28087
  (function () {
28004
28088
  (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(SearchResultModule, { declarations: [SearchResultComponent], imports: [i1.CommonModule,
28005
- i1$7.NgxPaginationModule,
28089
+ i1$6.NgxPaginationModule,
28006
28090
  i1$1.RouterModule,
28007
28091
  i1$2.FormsModule,
28008
28092
  i1$2.ReactiveFormsModule,
@@ -28018,7 +28102,7 @@
28018
28102
  args: [{
28019
28103
  imports: [
28020
28104
  i1.CommonModule,
28021
- i1$7.NgxPaginationModule,
28105
+ i1$6.NgxPaginationModule,
28022
28106
  i1$1.RouterModule,
28023
28107
  i1$2.FormsModule,
28024
28108
  i1$2.ReactiveFormsModule,