@hmcts/ccd-case-ui-toolkit 5.0.25-angular11-upgrade → 5.0.25-case-file-view-error-message-display

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 (67) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +637 -143
  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/app.config.js +1 -1
  6. package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +1 -1
  7. package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +1 -1
  8. package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +35 -18
  9. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +102 -0
  10. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +292 -0
  11. package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +2 -0
  12. package/esm2015/lib/shared/components/palette/case-file-view/index.js +3 -0
  13. package/esm2015/lib/shared/components/palette/index.js +2 -1
  14. package/esm2015/lib/shared/components/palette/palette.module.js +24 -9
  15. package/esm2015/lib/shared/components/palette/palette.service.js +18 -1
  16. package/esm2015/lib/shared/domain/case-file-view/case-file-view-category.model.js +3 -0
  17. package/esm2015/lib/shared/domain/case-file-view/case-file-view-document.model.js +3 -0
  18. package/esm2015/lib/shared/domain/case-file-view/categories-and-documents.model.js +7 -0
  19. package/esm2015/lib/shared/domain/case-file-view/document-tree-node.model.js +2 -0
  20. package/esm2015/lib/shared/domain/case-file-view/index.js +5 -0
  21. package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
  22. package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +2 -2
  23. package/esm2015/lib/shared/pipes/complex/cdd-page-fields.pipe.js +3 -3
  24. package/esm2015/lib/shared/services/case-file-view/case-file-view.service.js +46 -0
  25. package/esm2015/lib/shared/services/case-file-view/index.js +2 -0
  26. package/esm2015/lib/shared/services/index.js +2 -1
  27. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +585 -120
  28. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  29. package/lib/app.config.d.ts +4 -0
  30. package/lib/app.config.d.ts.map +1 -1
  31. package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +7 -0
  32. package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
  33. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +22 -0
  34. package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -0
  35. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +25 -0
  36. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -0
  37. package/lib/shared/components/palette/case-file-view/components/index.d.ts +2 -0
  38. package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -0
  39. package/lib/shared/components/palette/case-file-view/index.d.ts +3 -0
  40. package/lib/shared/components/palette/case-file-view/index.d.ts.map +1 -0
  41. package/lib/shared/components/palette/index.d.ts +1 -0
  42. package/lib/shared/components/palette/index.d.ts.map +1 -1
  43. package/lib/shared/components/palette/palette.module.d.ts +24 -21
  44. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  45. package/lib/shared/components/palette/palette.service.d.ts +2 -0
  46. package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
  47. package/lib/shared/domain/case-file-view/case-file-view-category.model.d.ts +9 -0
  48. package/lib/shared/domain/case-file-view/case-file-view-category.model.d.ts.map +1 -0
  49. package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts +8 -0
  50. package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts.map +1 -0
  51. package/lib/shared/domain/case-file-view/categories-and-documents.model.d.ts +12 -0
  52. package/lib/shared/domain/case-file-view/categories-and-documents.model.d.ts.map +1 -0
  53. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts +7 -0
  54. package/lib/shared/domain/case-file-view/document-tree-node.model.d.ts.map +1 -0
  55. package/lib/shared/domain/case-file-view/index.d.ts +5 -0
  56. package/lib/shared/domain/case-file-view/index.d.ts.map +1 -0
  57. package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
  58. package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
  59. package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
  60. package/lib/shared/pipes/complex/cdd-page-fields.pipe.d.ts.map +1 -1
  61. package/lib/shared/services/case-file-view/case-file-view.service.d.ts +21 -0
  62. package/lib/shared/services/case-file-view/case-file-view.service.d.ts.map +1 -0
  63. package/lib/shared/services/case-file-view/index.d.ts +2 -0
  64. package/lib/shared/services/case-file-view/index.d.ts.map +1 -0
  65. package/lib/shared/services/index.d.ts +1 -0
  66. package/lib/shared/services/index.d.ts.map +1 -1
  67. package/package.json +1 -1
@@ -7,10 +7,10 @@ import { RouterModule, NavigationStart, NavigationEnd } from '@angular/router';
7
7
  import * as i1$3 from '@angular/forms';
8
8
  import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormArray, FormGroup, FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
9
9
  import polling from 'rx-polling';
10
- import { throwError, Subject, EMPTY, Observable, BehaviorSubject, of, timer } from 'rxjs';
10
+ import { throwError, Subject, EMPTY, Observable, BehaviorSubject, of, timer, fromEvent } from 'rxjs';
11
11
  import * as i1$2 from '@angular/common/http';
12
12
  import { HttpErrorResponse, HttpHeaders, HttpParams } from '@angular/common/http';
13
- import { catchError, map, publish, refCount, debounceTime, distinctUntilChanged, finalize, tap, delay, publishReplay, take, first, filter, switchMap } from 'rxjs/operators';
13
+ import { catchError, map, publish, refCount, debounceTime, distinctUntilChanged, finalize, tap, delay, publishReplay, take, first, switchMap, takeUntil, filter } from 'rxjs/operators';
14
14
  import { Type, Expose, plainToClassFromExist, plainToClass } from 'class-transformer';
15
15
  import * as _ from 'underscore';
16
16
  import * as moment from 'moment';
@@ -19,7 +19,9 @@ import { isUndefined } from 'util';
19
19
  import { StateMachine } from '@edium/fsm';
20
20
  import * as i1$4 from 'ngx-md';
21
21
  import { NgxMdModule } from 'ngx-md';
22
- import * as i1$5 from '@angular/material/dialog';
22
+ import * as i1$5 from '@angular/cdk/tree';
23
+ import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
24
+ import * as i1$6 from '@angular/material/dialog';
23
25
  import { MatDialogConfig } from '@angular/material/dialog';
24
26
  import * as i2 from '@nicky-lenaers/ngx-scroll-to';
25
27
  import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
@@ -39,7 +41,7 @@ import { PaymentLibModule } from '@hmcts/ccpay-web-component';
39
41
  import * as i6$2 from '@angular/cdk/portal';
40
42
  import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
41
43
  import { MatInputModule } from '@angular/material/input';
42
- import * as i1$6 from 'ngx-pagination';
44
+ import * as i1$7 from 'ngx-pagination';
43
45
  import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
44
46
  import * as i10 from '@angular/material/tabs';
45
47
  import { MatTabsModule } from '@angular/material/tabs';
@@ -5651,6 +5653,45 @@ CaseFieldService.ɵprov = i0.ɵɵdefineInjectable({ token: CaseFieldService, fac
5651
5653
  type: Injectable
5652
5654
  }], null, null); })();
5653
5655
 
5656
+ class CaseFileViewService {
5657
+ constructor(http, appConfig) {
5658
+ this.http = http;
5659
+ this.appConfig = appConfig;
5660
+ }
5661
+ /**
5662
+ * Retrieves the categories and documents for a case.
5663
+ *
5664
+ * @param caseRef 16-digit Case Reference number of the case
5665
+ * @returns An `Observable` of the `CategoriesAndDocuments` for the case
5666
+ */
5667
+ getCategoriesAndDocuments(caseRef) {
5668
+ let url = this.appConfig.getCategoriesAndDocumentsUrl();
5669
+ if (url) {
5670
+ url += `/${caseRef}`;
5671
+ return this.http.get(url, { observe: 'body' });
5672
+ }
5673
+ return of(null);
5674
+ }
5675
+ updateDocumentCategory(caseRef, caseVersion, attributePath, categoryId) {
5676
+ let url = this.appConfig.getDocumentDataUrl();
5677
+ if (url) {
5678
+ url += `/${caseRef}`;
5679
+ const body = {
5680
+ case_version: caseVersion,
5681
+ attribute_path: attributePath,
5682
+ category_id: categoryId
5683
+ };
5684
+ return this.http.put(url, body, { observe: 'body' });
5685
+ }
5686
+ return of(null);
5687
+ }
5688
+ }
5689
+ CaseFileViewService.ɵfac = function CaseFileViewService_Factory(t) { return new (t || CaseFileViewService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
5690
+ CaseFileViewService.ɵprov = i0.ɵɵdefineInjectable({ token: CaseFileViewService, factory: CaseFileViewService.ɵfac });
5691
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewService, [{
5692
+ type: Injectable
5693
+ }], function () { return [{ type: HttpService }, { type: AbstractAppConfig }]; }, null); })();
5694
+
5654
5695
  class DocumentManagementService {
5655
5696
  constructor(http, appConfig) {
5656
5697
  this.http = http;
@@ -8009,6 +8050,385 @@ WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFi
8009
8050
  type: Input
8010
8051
  }] }); })();
8011
8052
 
8053
+ function CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template(rf, ctx) { if (rf & 1) {
8054
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
8055
+ i0.ɵɵelementStart(1, "div", 8);
8056
+ i0.ɵɵelement(2, "button", 9);
8057
+ i0.ɵɵelementStart(3, "span", 10);
8058
+ i0.ɵɵtext(4);
8059
+ i0.ɵɵelementEnd();
8060
+ i0.ɵɵelementEnd();
8061
+ i0.ɵɵelementEnd();
8062
+ } if (rf & 2) {
8063
+ const node_r2 = ctx.$implicit;
8064
+ i0.ɵɵadvance(4);
8065
+ i0.ɵɵtextInterpolate(node_r2.name);
8066
+ } }
8067
+ function CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template(rf, ctx) { if (rf & 1) {
8068
+ i0.ɵɵelementStart(0, "cdk-nested-tree-node", 7);
8069
+ i0.ɵɵelementStart(1, "div", 8);
8070
+ i0.ɵɵelementStart(2, "button", 11);
8071
+ i0.ɵɵelementStart(3, "span", 12);
8072
+ i0.ɵɵtext(4);
8073
+ i0.ɵɵelementEnd();
8074
+ i0.ɵɵelementEnd();
8075
+ i0.ɵɵelementStart(5, "span", 13);
8076
+ i0.ɵɵtext(6);
8077
+ i0.ɵɵelementEnd();
8078
+ i0.ɵɵelementEnd();
8079
+ i0.ɵɵelementStart(7, "div");
8080
+ i0.ɵɵelementContainer(8, 14);
8081
+ i0.ɵɵelementEnd();
8082
+ i0.ɵɵelementEnd();
8083
+ } if (rf & 2) {
8084
+ const node_r3 = ctx.$implicit;
8085
+ const ctx_r1 = i0.ɵɵnextContext();
8086
+ i0.ɵɵadvance(2);
8087
+ i0.ɵɵattribute("aria-label", "toggle " + node_r3.name);
8088
+ i0.ɵɵadvance(2);
8089
+ i0.ɵɵtextInterpolate(node_r3.count);
8090
+ i0.ɵɵadvance(2);
8091
+ i0.ɵɵtextInterpolate(node_r3.name);
8092
+ i0.ɵɵadvance(1);
8093
+ i0.ɵɵclassProp("document-tree-invisible", !ctx_r1.nestedTreeControl.isExpanded(node_r3));
8094
+ } }
8095
+ class CaseFileViewFolderComponent {
8096
+ constructor() {
8097
+ this.categories = [];
8098
+ this.getChildren = (node) => of(node.children);
8099
+ this.nestedChildren = (_, nodeData) => nodeData.children;
8100
+ this.nestedTreeControl = new NestedTreeControl(this.getChildren);
8101
+ }
8102
+ ngOnInit() {
8103
+ this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments.subscribe(categoriesAndDocuments => {
8104
+ // Using the mock data for now as we have to display the documents as well for demo purpose
8105
+ const categories = this.loadCategories(); // categoriesAndDocuments.categories;
8106
+ // Generate document tree data from categories
8107
+ const treeData = this.generateTreeData(categories);
8108
+ // Append uncategorised documents
8109
+ if (categoriesAndDocuments.uncategorised_documents && categoriesAndDocuments.uncategorised_documents.length > 0) {
8110
+ const uncategorisedDocuments = this.getUncategorisedDocuments(categoriesAndDocuments.uncategorised_documents);
8111
+ treeData.push(uncategorisedDocuments);
8112
+ }
8113
+ // Initialise cdk tree with generated data
8114
+ this.nestedDataSource = treeData;
8115
+ });
8116
+ }
8117
+ generateTreeData(categories) {
8118
+ return categories.reduce((tree, node) => [
8119
+ ...tree,
8120
+ ...[
8121
+ {
8122
+ name: node.category_name,
8123
+ children: [...this.generateTreeData(node.sub_categories), ...this.getDocuments(node.documents)]
8124
+ },
8125
+ ],
8126
+ ], []);
8127
+ }
8128
+ getDocuments(documents) {
8129
+ const documentsToReturn = [];
8130
+ documents.forEach(document => {
8131
+ documentsToReturn.push({ name: document.document_filename });
8132
+ });
8133
+ return documentsToReturn;
8134
+ }
8135
+ getUncategorisedDocuments(uncategorisedDocuments) {
8136
+ const documents = [];
8137
+ uncategorisedDocuments.forEach(document => {
8138
+ documents.push({ name: document.document_filename });
8139
+ });
8140
+ return { name: CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE, children: documents };
8141
+ }
8142
+ ngOnDestroy() {
8143
+ if (this.categoriesAndDocumentsSubscription) {
8144
+ this.categoriesAndDocumentsSubscription.unsubscribe();
8145
+ }
8146
+ }
8147
+ loadCategories() {
8148
+ return [
8149
+ {
8150
+ category_id: 'Beers',
8151
+ category_name: 'Beers',
8152
+ category_order: 1,
8153
+ documents: [
8154
+ {
8155
+ document_url: '/test',
8156
+ document_filename: 'Beers encyclopedia',
8157
+ document_binary_url: '/test/binary',
8158
+ attribute_path: '',
8159
+ upload_timestamp: ''
8160
+ }
8161
+ ],
8162
+ sub_categories: [
8163
+ {
8164
+ category_id: 'BeersBitters',
8165
+ category_name: 'Bitters',
8166
+ category_order: 1,
8167
+ documents: [],
8168
+ sub_categories: []
8169
+ },
8170
+ {
8171
+ category_id: 'BeersAmerican',
8172
+ category_name: 'American',
8173
+ category_order: 2,
8174
+ documents: [],
8175
+ sub_categories: []
8176
+ },
8177
+ {
8178
+ category_id: 'BeersAsian',
8179
+ category_name: 'Asian',
8180
+ category_order: 3,
8181
+ documents: [],
8182
+ sub_categories: []
8183
+ }
8184
+ ]
8185
+ },
8186
+ {
8187
+ category_id: 'Wines',
8188
+ category_name: 'Wines',
8189
+ category_order: 2,
8190
+ documents: [],
8191
+ sub_categories: [
8192
+ {
8193
+ category_id: 'WinesFrench',
8194
+ category_name: 'French',
8195
+ category_order: 1,
8196
+ documents: [],
8197
+ sub_categories: []
8198
+ },
8199
+ {
8200
+ category_id: 'WinesItalian',
8201
+ category_name: 'Italian',
8202
+ category_order: 2,
8203
+ documents: [],
8204
+ sub_categories: []
8205
+ }
8206
+ ]
8207
+ },
8208
+ {
8209
+ category_id: 'Spirits',
8210
+ category_name: 'Spirits',
8211
+ category_order: 3,
8212
+ documents: [],
8213
+ sub_categories: [
8214
+ {
8215
+ category_id: 'SpiritsWhisky',
8216
+ category_name: 'Scotch whisky',
8217
+ category_order: 1,
8218
+ documents: [],
8219
+ sub_categories: [
8220
+ {
8221
+ category_id: 'WhiskyHighland',
8222
+ category_name: 'Highland',
8223
+ category_order: 1,
8224
+ documents: [],
8225
+ sub_categories: [
8226
+ {
8227
+ category_id: 'WhiskyHighland1',
8228
+ category_name: 'Highland 1',
8229
+ category_order: 1,
8230
+ documents: [],
8231
+ sub_categories: []
8232
+ }
8233
+ ]
8234
+ },
8235
+ {
8236
+ category_id: 'WhiskyLowland',
8237
+ category_name: 'Lowland',
8238
+ category_order: 2,
8239
+ documents: [],
8240
+ sub_categories: [
8241
+ {
8242
+ category_id: 'WhiskyLowland1',
8243
+ category_name: 'Lowland 1',
8244
+ category_order: 1,
8245
+ documents: [
8246
+ {
8247
+ document_url: '/test',
8248
+ document_filename: 'Details about Whisky Lowland 1',
8249
+ document_binary_url: '/test/binary',
8250
+ attribute_path: '',
8251
+ upload_timestamp: ''
8252
+ }
8253
+ ],
8254
+ sub_categories: []
8255
+ },
8256
+ {
8257
+ category_id: 'WhiskyLowland2',
8258
+ category_name: 'Lowland 2',
8259
+ category_order: 2,
8260
+ documents: [],
8261
+ sub_categories: []
8262
+ }
8263
+ ]
8264
+ },
8265
+ {
8266
+ category_id: 'WhiskyIslay',
8267
+ category_name: 'Islay',
8268
+ category_order: 3,
8269
+ documents: [
8270
+ {
8271
+ document_url: '/test',
8272
+ document_filename: 'Details about Whisky Islay',
8273
+ document_binary_url: '/test/binary',
8274
+ attribute_path: '',
8275
+ upload_timestamp: ''
8276
+ },
8277
+ {
8278
+ document_url: '/test',
8279
+ document_filename: 'More information about Whisky Islay',
8280
+ document_binary_url: '/test/binary',
8281
+ attribute_path: '',
8282
+ upload_timestamp: ''
8283
+ }
8284
+ ],
8285
+ sub_categories: []
8286
+ },
8287
+ {
8288
+ category_id: 'WhiskySpeyside',
8289
+ category_name: 'Speyside',
8290
+ category_order: 4,
8291
+ documents: [],
8292
+ sub_categories: []
8293
+ },
8294
+ {
8295
+ category_id: 'WhiskyCampbeltown',
8296
+ category_name: 'Campbeltown',
8297
+ category_order: 5,
8298
+ documents: [],
8299
+ sub_categories: []
8300
+ }
8301
+ ]
8302
+ }
8303
+ ]
8304
+ }
8305
+ ];
8306
+ }
8307
+ }
8308
+ CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
8309
+ CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
8310
+ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
8311
+ i0.ɵɵelementStart(0, "div", 0);
8312
+ i0.ɵɵelement(1, "div", 1);
8313
+ i0.ɵɵelementStart(2, "div", 2);
8314
+ i0.ɵɵtext(3, "Documents");
8315
+ i0.ɵɵelementEnd();
8316
+ i0.ɵɵelementEnd();
8317
+ i0.ɵɵelementStart(4, "div", 3);
8318
+ i0.ɵɵelementStart(5, "cdk-tree", 4);
8319
+ i0.ɵɵtemplate(6, CaseFileViewFolderComponent_cdk_nested_tree_node_6_Template, 5, 1, "cdk-nested-tree-node", 5);
8320
+ i0.ɵɵtemplate(7, CaseFileViewFolderComponent_cdk_nested_tree_node_7_Template, 9, 5, "cdk-nested-tree-node", 6);
8321
+ i0.ɵɵelementEnd();
8322
+ i0.ɵɵelementEnd();
8323
+ } if (rf & 2) {
8324
+ i0.ɵɵadvance(5);
8325
+ i0.ɵɵproperty("dataSource", ctx.nestedDataSource)("treeControl", ctx.nestedTreeControl);
8326
+ i0.ɵɵadvance(2);
8327
+ i0.ɵɵproperty("cdkTreeNodeDefWhen", ctx.nestedChildren);
8328
+ } }, directives: [i1$5.CdkTree, i1$5.CdkTreeNodeDef, i1$5.CdkNestedTreeNode, i1$5.CdkTreeNodeToggle, i1$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}"] });
8329
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
8330
+ type: Component,
8331
+ args: [{
8332
+ selector: 'ccd-case-file-view-folder',
8333
+ styleUrls: ['./case-file-view-folder.component.scss'],
8334
+ templateUrl: './case-file-view-folder.component.html'
8335
+ }]
8336
+ }], function () { return []; }, { categoriesAndDocuments: [{
8337
+ type: Input
8338
+ }] }); })();
8339
+
8340
+ function CaseFileViewFieldComponent_div_0_Template(rf, ctx) { if (rf & 1) {
8341
+ i0.ɵɵelementStart(0, "div", 2);
8342
+ i0.ɵɵelementStart(1, "h1", 3);
8343
+ i0.ɵɵtext(2, "Sorry, there is a problem with the service");
8344
+ i0.ɵɵelementEnd();
8345
+ i0.ɵɵelementStart(3, "p", 4);
8346
+ i0.ɵɵtext(4, "Try again later.");
8347
+ i0.ɵɵelementEnd();
8348
+ i0.ɵɵelementEnd();
8349
+ } }
8350
+ function CaseFileViewFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
8351
+ i0.ɵɵelementStart(0, "div");
8352
+ i0.ɵɵelementStart(1, "h2", 5);
8353
+ i0.ɵɵtext(2, "Case file");
8354
+ i0.ɵɵelementEnd();
8355
+ i0.ɵɵelementStart(3, "div", 6);
8356
+ i0.ɵɵelementStart(4, "div", 7);
8357
+ i0.ɵɵelement(5, "ccd-case-file-view-folder", 8);
8358
+ i0.ɵɵelementEnd();
8359
+ i0.ɵɵelement(6, "div", 9);
8360
+ i0.ɵɵelementStart(7, "div", 10);
8361
+ i0.ɵɵtext(8, " Media viewer ");
8362
+ i0.ɵɵelementEnd();
8363
+ i0.ɵɵelementEnd();
8364
+ i0.ɵɵelementEnd();
8365
+ } if (rf & 2) {
8366
+ const ctx_r1 = i0.ɵɵnextContext();
8367
+ i0.ɵɵadvance(5);
8368
+ i0.ɵɵproperty("categoriesAndDocuments", ctx_r1.categoriesAndDocuments$);
8369
+ } }
8370
+ class CaseFileViewFieldComponent {
8371
+ constructor(elementRef, route, caseFileViewService) {
8372
+ this.elementRef = elementRef;
8373
+ this.route = route;
8374
+ this.caseFileViewService = caseFileViewService;
8375
+ this.getCategoriesAndDocumentsError = false;
8376
+ }
8377
+ ngOnInit() {
8378
+ const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
8379
+ this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
8380
+ this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments$.subscribe({
8381
+ next: _ => { },
8382
+ error: _ => this.getCategoriesAndDocumentsError = true
8383
+ });
8384
+ }
8385
+ ngAfterViewInit() {
8386
+ const slider = this.elementRef.nativeElement.querySelector('.slider');
8387
+ const documentTreeContainer = this.elementRef.nativeElement.querySelector('.document-tree-container');
8388
+ const mousedown$ = fromEvent(slider, 'mousedown');
8389
+ const mousemove$ = fromEvent(document, 'mousemove');
8390
+ const mouseup$ = fromEvent(document, 'mouseup');
8391
+ const drag$ = mousedown$.pipe(switchMap((start) => {
8392
+ const x = start.clientX;
8393
+ const documentTreeContainerWidth = documentTreeContainer.getBoundingClientRect().width;
8394
+ return mousemove$.pipe(map(move => {
8395
+ move.preventDefault();
8396
+ return {
8397
+ dx: move.clientX - x,
8398
+ documentTreeContainerWidth
8399
+ };
8400
+ }), takeUntil(mouseup$));
8401
+ }));
8402
+ drag$.subscribe(pos => {
8403
+ const calculatedWidth = ((pos.documentTreeContainerWidth + pos.dx) * 100) / slider.parentElement.getBoundingClientRect().width;
8404
+ documentTreeContainer.setAttribute('style', `width: ${calculatedWidth}%`);
8405
+ });
8406
+ }
8407
+ ngOnDestroy() {
8408
+ if (this.categoriesAndDocumentsSubscription) {
8409
+ this.categoriesAndDocumentsSubscription.unsubscribe();
8410
+ }
8411
+ }
8412
+ }
8413
+ CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
8414
+ CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService)); };
8415
+ CaseFileViewFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [3, "categoriesAndDocuments"], [1, "slider"], [1, "media-viewer-container"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
8416
+ i0.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
8417
+ i0.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 1, "div", 1);
8418
+ } if (rf & 2) {
8419
+ i0.ɵɵproperty("ngIf", ctx.getCategoriesAndDocumentsError);
8420
+ i0.ɵɵadvance(1);
8421
+ i0.ɵɵproperty("ngIf", !ctx.getCategoriesAndDocumentsError);
8422
+ } }, directives: [i1.NgIf, CaseFileViewFolderComponent], styles: ["#case-file-view[_ngcontent-%COMP%]{display:flex;border:2px solid #c9c9c9}#case-file-view[_ngcontent-%COMP%] .document-tree-container[_ngcontent-%COMP%]{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{width:.2%;background-color:#6b6b6b}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:focus, #case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:hover{cursor:col-resize}#case-file-view[_ngcontent-%COMP%] .media-viewer-container[_ngcontent-%COMP%]{flex:1 1 0%}"] });
8423
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
8424
+ type: Component,
8425
+ args: [{
8426
+ selector: 'ccd-case-file-view-field',
8427
+ templateUrl: './case-file-view-field.component.html',
8428
+ styleUrls: ['./case-file-view-field.component.scss']
8429
+ }]
8430
+ }], function () { return [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }]; }, null); })();
8431
+
8012
8432
  var PaletteContext;
8013
8433
  (function (PaletteContext) {
8014
8434
  PaletteContext["DEFAULT"] = "DEFAULT";
@@ -8332,7 +8752,7 @@ class RemoveDialogComponent {
8332
8752
  this.matDialogRef.close(this.result);
8333
8753
  }
8334
8754
  }
8335
- RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
8755
+ RemoveDialogComponent.ɵfac = function RemoveDialogComponent_Factory(t) { return new (t || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
8336
8756
  RemoveDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
8337
8757
  i0.ɵɵelementStart(0, "div");
8338
8758
  i0.ɵɵelementStart(1, "div", 0);
@@ -8370,7 +8790,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
8370
8790
  templateUrl: './remove-dialog.component.html',
8371
8791
  styleUrls: ['../action-dialog.component.scss']
8372
8792
  }]
8373
- }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
8793
+ }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
8374
8794
 
8375
8795
  const _c0$D = ["collectionItem"];
8376
8796
  function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) { if (rf & 1) {
@@ -8744,7 +9164,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
8744
9164
  return notSimple.indexOf(caseField.field_type.collection_field_type.type) < 0;
8745
9165
  }
8746
9166
  }
8747
- WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
9167
+ WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
8748
9168
  WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
8749
9169
  i0.ɵɵviewQuery(_c0$D, 1);
8750
9170
  } if (rf & 2) {
@@ -8786,7 +9206,7 @@ WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollec
8786
9206
  templateUrl: './write-collection-field.html',
8787
9207
  styleUrls: ['./collection-field.scss']
8788
9208
  }]
8789
- }], function () { return [{ type: i1$5.MatDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
9209
+ }], function () { return [{ type: i1$6.MatDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
8790
9210
  type: Input
8791
9211
  }], formGroup: [{
8792
9212
  type: Input
@@ -9962,7 +10382,7 @@ class DocumentDialogComponent {
9962
10382
  this.matDialogRef.close(this.result);
9963
10383
  }
9964
10384
  }
9965
- DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
10385
+ DocumentDialogComponent.ɵfac = function DocumentDialogComponent_Factory(t) { return new (t || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
9966
10386
  DocumentDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
9967
10387
  i0.ɵɵelementStart(0, "div");
9968
10388
  i0.ɵɵelementStart(1, "div", 0);
@@ -10000,7 +10420,7 @@ DocumentDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DocumentDialogCom
10000
10420
  templateUrl: './document-dialog.component.html',
10001
10421
  styleUrls: ['../action-dialog.component.scss']
10002
10422
  }]
10003
- }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
10423
+ }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
10004
10424
 
10005
10425
  function initDialog() {
10006
10426
  const dialogConfig = new MatDialogConfig();
@@ -10307,7 +10727,7 @@ WriteDocumentFieldComponent.DOCUMENT_HASH = 'document_hash';
10307
10727
  WriteDocumentFieldComponent.UPLOAD_ERROR_FILE_REQUIRED = 'File required';
10308
10728
  WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facility is not available at the moment';
10309
10729
  WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
10310
- WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
10730
+ WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
10311
10731
  WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
10312
10732
  i0.ɵɵviewQuery(_c0$z, 1);
10313
10733
  } if (rf & 2) {
@@ -10372,7 +10792,7 @@ WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocument
10372
10792
  selector: 'ccd-write-document-field',
10373
10793
  templateUrl: './write-document-field.html'
10374
10794
  }]
10375
- }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$5.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
10795
+ }], function () { return [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$6.MatDialog }, { type: FileUploadStateService }]; }, { fileInput: [{
10376
10796
  type: ViewChild,
10377
10797
  args: ['fileInput', { static: false }]
10378
10798
  }], clickout: [{
@@ -13724,6 +14144,11 @@ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldC
13724
14144
  }], function () { return [{ type: YesNoService }]; }, null); })();
13725
14145
 
13726
14146
  class PaletteService {
14147
+ constructor() {
14148
+ this.componentLauncherRegistry = {
14149
+ CaseFileView: CaseFileViewFieldComponent
14150
+ };
14151
+ }
13727
14152
  getFieldComponentClass(caseField, write) {
13728
14153
  switch (caseField.field_type.type) {
13729
14154
  case 'Text':
@@ -13782,10 +14207,21 @@ class PaletteService {
13782
14207
  return CaseHistoryViewerFieldComponent;
13783
14208
  case 'WaysToPay':
13784
14209
  return WaysToPayFieldComponent;
14210
+ case 'ComponentLauncher':
14211
+ return this.getComponentLauncherComponent(caseField);
13785
14212
  default:
13786
14213
  return UnsupportedFieldComponent;
13787
14214
  }
13788
14215
  }
14216
+ getComponentLauncherComponent(caseField) {
14217
+ // Extract the value passed for #ARGUMENT(...) in the CaseField display_context_parameter and return the matching
14218
+ // component from the componentLauncherRegistry
14219
+ const argumentValue = caseField.display_context_parameter.match(/#ARGUMENT\((.*?)\)/)[1];
14220
+ if (argumentValue && this.componentLauncherRegistry.hasOwnProperty(argumentValue)) {
14221
+ return this.componentLauncherRegistry[argumentValue];
14222
+ }
14223
+ return UnsupportedFieldComponent;
14224
+ }
13789
14225
  }
13790
14226
  PaletteService.ɵfac = function PaletteService_Factory(t) { return new (t || PaletteService)(); };
13791
14227
  PaletteService.ɵprov = i0.ɵɵdefineInjectable({ token: PaletteService, factory: PaletteService.ɵfac });
@@ -14046,7 +14482,7 @@ class SaveOrDiscardDialogComponent {
14046
14482
  this.matDialogRef.close(this.result);
14047
14483
  }
14048
14484
  }
14049
- SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
14485
+ SaveOrDiscardDialogComponent.ɵfac = function SaveOrDiscardDialogComponent_Factory(t) { return new (t || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
14050
14486
  SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
14051
14487
  i0.ɵɵelementStart(0, "div");
14052
14488
  i0.ɵɵelementStart(1, "div", 0);
@@ -14084,7 +14520,7 @@ SaveOrDiscardDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SaveOrDiscar
14084
14520
  templateUrl: './save-or-discard-dialog.component.html',
14085
14521
  styleUrls: ['../action-dialog.component.scss']
14086
14522
  }]
14087
- }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
14523
+ }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
14088
14524
 
14089
14525
  var CaseEditPageText;
14090
14526
  (function (CaseEditPageText) {
@@ -14851,7 +15287,7 @@ class CaseEditPageComponent {
14851
15287
  return caseEventData;
14852
15288
  }
14853
15289
  }
14854
- CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService)); };
15290
+ CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService)); };
14855
15291
  CaseEditPageComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
14856
15292
  i0.ɵɵtemplate(0, CaseEditPageComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
14857
15293
  i0.ɵɵtemplate(1, CaseEditPageComponent_ng_container_1_Template, 3, 2, "ng-container", 0);
@@ -14893,7 +15329,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
14893
15329
  templateUrl: 'case-edit-page.html',
14894
15330
  styleUrls: ['./case-edit-page.scss']
14895
15331
  }]
14896
- }], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$5.MatDialog }, { type: CaseFieldService }]; }, null); })();
15332
+ }], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$6.MatDialog }, { type: CaseFieldService }]; }, null); })();
14897
15333
 
14898
15334
  class Confirmation {
14899
15335
  constructor(caseId, status, header, body) {
@@ -15831,79 +16267,6 @@ FormModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
15831
16267
  }]
15832
16268
  }], null, null); })();
15833
16269
 
15834
- class IsReadOnlyPipe {
15835
- constructor(caseFieldService) {
15836
- this.caseFieldService = caseFieldService;
15837
- }
15838
- transform(field) {
15839
- return this.caseFieldService.isReadOnly(field);
15840
- }
15841
- }
15842
- IsReadOnlyPipe.ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0.ɵɵdirectiveInject(CaseFieldService)); };
15843
- IsReadOnlyPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
15844
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyPipe, [{
15845
- type: Pipe,
15846
- args: [{
15847
- name: 'ccdIsReadOnly'
15848
- }]
15849
- }], function () { return [{ type: CaseFieldService }]; }, null); })();
15850
-
15851
- class PaletteUtilsModule {
15852
- }
15853
- PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
15854
- PaletteUtilsModule.ɵmod = i0.ɵɵdefineNgModule({ type: PaletteUtilsModule });
15855
- PaletteUtilsModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
15856
- IsCompoundPipe
15857
- ], imports: [[
15858
- CommonModule
15859
- ]] });
15860
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
15861
- FieldLabelPipe,
15862
- FirstErrorPipe,
15863
- IsCompoundPipe,
15864
- IsMandatoryPipe,
15865
- IsReadOnlyPipe,
15866
- IsReadOnlyAndNotCollectionPipe,
15867
- DashPipe], imports: [CommonModule], exports: [DatePipe,
15868
- FieldLabelPipe,
15869
- FirstErrorPipe,
15870
- IsCompoundPipe,
15871
- IsMandatoryPipe,
15872
- IsReadOnlyPipe,
15873
- IsReadOnlyAndNotCollectionPipe,
15874
- DashPipe] }); })();
15875
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteUtilsModule, [{
15876
- type: NgModule,
15877
- args: [{
15878
- imports: [
15879
- CommonModule
15880
- ],
15881
- declarations: [
15882
- DatePipe,
15883
- FieldLabelPipe,
15884
- FirstErrorPipe,
15885
- IsCompoundPipe,
15886
- IsMandatoryPipe,
15887
- IsReadOnlyPipe,
15888
- IsReadOnlyAndNotCollectionPipe,
15889
- DashPipe
15890
- ],
15891
- exports: [
15892
- DatePipe,
15893
- FieldLabelPipe,
15894
- FirstErrorPipe,
15895
- IsCompoundPipe,
15896
- IsMandatoryPipe,
15897
- IsReadOnlyPipe,
15898
- IsReadOnlyAndNotCollectionPipe,
15899
- DashPipe
15900
- ],
15901
- providers: [
15902
- IsCompoundPipe
15903
- ]
15904
- }]
15905
- }], null, null); })();
15906
-
15907
16270
  class CcdCollectionTableCaseFieldsFilterPipe {
15908
16271
  transform(objs, caseField, value) {
15909
16272
  const fields = objs.map((obj) => (Object.assign(Object.assign({}, obj.value.caseField), { type: obj.value.type.type ? obj.value.type.type : obj.value.type })));
@@ -16090,7 +16453,7 @@ ReadFieldsFilterPipe.EMPTY_VALUES = [
16090
16453
  '',
16091
16454
  {}
16092
16455
  ];
16093
- ReadFieldsFilterPipe.ALWAYS_NULL_FIELDS = ['CasePaymentHistoryViewer', 'WaysToPay'];
16456
+ ReadFieldsFilterPipe.ALWAYS_NULL_FIELDS = ['CasePaymentHistoryViewer', 'WaysToPay', 'ComponentLauncher'];
16094
16457
  ReadFieldsFilterPipe.NESTED_TYPES = {
16095
16458
  Complex: ReadFieldsFilterPipe.isValidComplex,
16096
16459
  Collection: ReadFieldsFilterPipe.isValidCollection
@@ -16133,8 +16496,8 @@ CcdTabFieldsPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdTabFields", type: CcdTab
16133
16496
 
16134
16497
  class CcdPageFieldsPipe {
16135
16498
  transform(page, dataFormGroup) {
16136
- const complex_fields = Object.keys(dataFormGroup.controls).map(key => {
16137
- const control = dataFormGroup.controls[key];
16499
+ const complex_fields = Object.keys(dataFormGroup.controls['data'].controls).map(key => {
16500
+ const control = dataFormGroup.controls['data'].get(key);
16138
16501
  return control['caseField'];
16139
16502
  }).filter(field => {
16140
16503
  return !!page.case_fields.find(pcf => pcf.id === field.id);
@@ -16322,6 +16685,79 @@ class Fee {
16322
16685
  class OrderSummary {
16323
16686
  }
16324
16687
 
16688
+ class IsReadOnlyPipe {
16689
+ constructor(caseFieldService) {
16690
+ this.caseFieldService = caseFieldService;
16691
+ }
16692
+ transform(field) {
16693
+ return this.caseFieldService.isReadOnly(field);
16694
+ }
16695
+ }
16696
+ IsReadOnlyPipe.ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0.ɵɵdirectiveInject(CaseFieldService)); };
16697
+ IsReadOnlyPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
16698
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyPipe, [{
16699
+ type: Pipe,
16700
+ args: [{
16701
+ name: 'ccdIsReadOnly'
16702
+ }]
16703
+ }], function () { return [{ type: CaseFieldService }]; }, null); })();
16704
+
16705
+ class PaletteUtilsModule {
16706
+ }
16707
+ PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
16708
+ PaletteUtilsModule.ɵmod = i0.ɵɵdefineNgModule({ type: PaletteUtilsModule });
16709
+ PaletteUtilsModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
16710
+ IsCompoundPipe
16711
+ ], imports: [[
16712
+ CommonModule
16713
+ ]] });
16714
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
16715
+ FieldLabelPipe,
16716
+ FirstErrorPipe,
16717
+ IsCompoundPipe,
16718
+ IsMandatoryPipe,
16719
+ IsReadOnlyPipe,
16720
+ IsReadOnlyAndNotCollectionPipe,
16721
+ DashPipe], imports: [CommonModule], exports: [DatePipe,
16722
+ FieldLabelPipe,
16723
+ FirstErrorPipe,
16724
+ IsCompoundPipe,
16725
+ IsMandatoryPipe,
16726
+ IsReadOnlyPipe,
16727
+ IsReadOnlyAndNotCollectionPipe,
16728
+ DashPipe] }); })();
16729
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteUtilsModule, [{
16730
+ type: NgModule,
16731
+ args: [{
16732
+ imports: [
16733
+ CommonModule
16734
+ ],
16735
+ declarations: [
16736
+ DatePipe,
16737
+ FieldLabelPipe,
16738
+ FirstErrorPipe,
16739
+ IsCompoundPipe,
16740
+ IsMandatoryPipe,
16741
+ IsReadOnlyPipe,
16742
+ IsReadOnlyAndNotCollectionPipe,
16743
+ DashPipe
16744
+ ],
16745
+ exports: [
16746
+ DatePipe,
16747
+ FieldLabelPipe,
16748
+ FirstErrorPipe,
16749
+ IsCompoundPipe,
16750
+ IsMandatoryPipe,
16751
+ IsReadOnlyPipe,
16752
+ IsReadOnlyAndNotCollectionPipe,
16753
+ DashPipe
16754
+ ],
16755
+ providers: [
16756
+ IsCompoundPipe
16757
+ ]
16758
+ }]
16759
+ }], null, null); })();
16760
+
16325
16761
  const PALETTE_COMPONENTS = [
16326
16762
  UnsupportedFieldComponent,
16327
16763
  DatetimePickerComponent,
@@ -16391,7 +16827,10 @@ const PALETTE_COMPONENTS = [
16391
16827
  WriteFixedListFieldComponent,
16392
16828
  WriteFixedRadioListFieldComponent,
16393
16829
  WriteCaseLinkFieldComponent,
16394
- WriteCollectionFieldComponent
16830
+ WriteCollectionFieldComponent,
16831
+ // ComponentLauncher web components
16832
+ CaseFileViewFieldComponent,
16833
+ CaseFileViewFolderComponent
16395
16834
  ];
16396
16835
  class PaletteModule {
16397
16836
  }
@@ -16428,6 +16867,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
16428
16867
  MatInputModule,
16429
16868
  MatDatepickerModule,
16430
16869
  MatAutocompleteModule,
16870
+ CdkTreeModule,
16431
16871
  PaymentLibModule,
16432
16872
  ScrollToModule.forRoot()
16433
16873
  ], NgxMatDatetimePickerModule,
@@ -16508,7 +16948,10 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
16508
16948
  WriteFixedListFieldComponent,
16509
16949
  WriteFixedRadioListFieldComponent,
16510
16950
  WriteCaseLinkFieldComponent,
16511
- WriteCollectionFieldComponent], imports: [CommonModule,
16951
+ WriteCollectionFieldComponent,
16952
+ // ComponentLauncher web components
16953
+ CaseFileViewFieldComponent,
16954
+ CaseFileViewFolderComponent], imports: [CommonModule,
16512
16955
  RouterModule,
16513
16956
  FormsModule,
16514
16957
  ReactiveFormsModule,
@@ -16529,6 +16972,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
16529
16972
  MatInputModule,
16530
16973
  MatDatepickerModule,
16531
16974
  MatAutocompleteModule,
16975
+ CdkTreeModule,
16532
16976
  PaymentLibModule, i2.ScrollToModule], exports: [NgxMatDatetimePickerModule,
16533
16977
  NgxMatNativeDateModule,
16534
16978
  NgxMatTimepickerModule,
@@ -16602,7 +17046,10 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
16602
17046
  WriteFixedListFieldComponent,
16603
17047
  WriteFixedRadioListFieldComponent,
16604
17048
  WriteCaseLinkFieldComponent,
16605
- WriteCollectionFieldComponent] }); })();
17049
+ WriteCollectionFieldComponent,
17050
+ // ComponentLauncher web components
17051
+ CaseFileViewFieldComponent,
17052
+ CaseFileViewFolderComponent] }); })();
16606
17053
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
16607
17054
  type: NgModule,
16608
17055
  args: [{
@@ -16628,6 +17075,7 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
16628
17075
  MatInputModule,
16629
17076
  MatDatepickerModule,
16630
17077
  MatAutocompleteModule,
17078
+ CdkTreeModule,
16631
17079
  PaymentLibModule,
16632
17080
  ScrollToModule.forRoot()
16633
17081
  ],
@@ -17412,7 +17860,7 @@ PaginationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PaginationComponent,
17412
17860
  i0.ɵɵproperty("id", ctx.id)("maxSize", ctx.maxSize);
17413
17861
  i0.ɵɵadvance(3);
17414
17862
  i0.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
17415
- } }, directives: [i1$6.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.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}}"] });
17863
+ } }, directives: [i1$7.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.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}}"] });
17416
17864
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
17417
17865
  type: Component,
17418
17866
  args: [{
@@ -17762,7 +18210,7 @@ CaseListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseListComponent, sele
17762
18210
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(9, 8, ctx.cases, i0.ɵɵpureFunction3(11, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
17763
18211
  i0.ɵɵadvance(2);
17764
18212
  i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
17765
- } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$6.PaginatePipe, i1.CurrencyPipe], styles: [""] });
18213
+ } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, PaginationComponent], pipes: [i1$7.PaginatePipe, i1.CurrencyPipe], styles: [""] });
17766
18214
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
17767
18215
  type: Component,
17768
18216
  args: [{
@@ -19451,7 +19899,7 @@ class DeleteOrCancelDialogComponent {
19451
19899
  this.matDialogRef.close(this.result);
19452
19900
  }
19453
19901
  }
19454
- DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef)); };
19902
+ DeleteOrCancelDialogComponent.ɵfac = function DeleteOrCancelDialogComponent_Factory(t) { return new (t || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$6.MatDialogRef)); };
19455
19903
  DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵ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) { if (rf & 1) {
19456
19904
  i0.ɵɵelementStart(0, "div");
19457
19905
  i0.ɵɵelementStart(1, "div", 0);
@@ -19489,7 +19937,7 @@ DeleteOrCancelDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DeleteOrCan
19489
19937
  templateUrl: './delete-or-cancel-dialog.component.html',
19490
19938
  styleUrls: ['../action-dialog.component.scss']
19491
19939
  }]
19492
- }], function () { return [{ type: i1$5.MatDialogRef }]; }, null); })();
19940
+ }], function () { return [{ type: i1$6.MatDialogRef }]; }, null); })();
19493
19941
 
19494
19942
  function EventTriggerComponent_form_0_option_5_Template(rf, ctx) { if (rf & 1) {
19495
19943
  i0.ɵɵelementStart(0, "option", 8);
@@ -19671,29 +20119,36 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template(rf, ctx)
19671
20119
  const tab_r16 = ctx.$implicit;
19672
20120
  i0.ɵɵproperty("id", tab_r16.id)("label", tab_r16.label);
19673
20121
  } }
19674
- function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template(rf, ctx) { if (rf & 1) {
19675
- i0.ɵɵelementStart(0, "tr");
19676
- i0.ɵɵelementStart(1, "th");
19677
- i0.ɵɵelementStart(2, "div", 31);
19678
- i0.ɵɵtext(3);
20122
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
20123
+ i0.ɵɵelementStart(0, "th", 34);
20124
+ i0.ɵɵelementStart(1, "div", 35);
20125
+ i0.ɵɵtext(2);
19679
20126
  i0.ɵɵelementEnd();
19680
20127
  i0.ɵɵelementEnd();
19681
- i0.ɵɵelementStart(4, "td");
19682
- i0.ɵɵelementStart(5, "span", 32);
19683
- i0.ɵɵelement(6, "ccd-field-read", 33);
20128
+ } if (rf & 2) {
20129
+ const field_r21 = i0.ɵɵnextContext(2).$implicit;
20130
+ i0.ɵɵadvance(2);
20131
+ i0.ɵɵtextInterpolate(field_r21.label);
20132
+ } }
20133
+ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template(rf, ctx) { if (rf & 1) {
20134
+ i0.ɵɵelementStart(0, "tr");
20135
+ i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 31);
20136
+ i0.ɵɵelementStart(2, "th");
20137
+ i0.ɵɵelementStart(3, "span", 32);
20138
+ i0.ɵɵelement(4, "ccd-field-read", 33);
19684
20139
  i0.ɵɵelementEnd();
19685
20140
  i0.ɵɵelementEnd();
19686
20141
  i0.ɵɵelementEnd();
19687
20142
  } if (rf & 2) {
19688
20143
  const field_r21 = i0.ɵɵnextContext().$implicit;
19689
20144
  const ctx_r22 = i0.ɵɵnextContext(4);
19690
- i0.ɵɵadvance(3);
19691
- i0.ɵɵtextInterpolate(field_r21.label);
20145
+ i0.ɵɵadvance(1);
20146
+ i0.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
19692
20147
  i0.ɵɵadvance(3);
19693
20148
  i0.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
19694
20149
  } }
19695
20150
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) { if (rf & 1) {
19696
- i0.ɵɵelementStart(0, "tr", 34);
20151
+ i0.ɵɵelementStart(0, "tr", 36);
19697
20152
  i0.ɵɵelementStart(1, "th");
19698
20153
  i0.ɵɵelementStart(2, "span", 32);
19699
20154
  i0.ɵɵelement(3, "ccd-field-read", 33);
@@ -19711,7 +20166,7 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_
19711
20166
  i0.ɵɵelementStart(1, "div", 27);
19712
20167
  i0.ɵɵelementContainerStart(2, 28);
19713
20168
  i0.ɵɵpipe(3, "ccdIsCompound");
19714
- i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 7, 5, "tr", 29);
20169
+ i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 5, "tr", 29);
19715
20170
  i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 4, "tr", 30);
19716
20171
  i0.ɵɵelementContainerEnd();
19717
20172
  i0.ɵɵelementEnd();
@@ -19755,17 +20210,17 @@ function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template(rf, ctx)
19755
20210
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
19756
20211
  i0.ɵɵelement(0, "mat-tab", 24);
19757
20212
  } if (rf & 2) {
19758
- const tab_r27 = ctx.$implicit;
19759
- i0.ɵɵproperty("id", tab_r27.id)("label", tab_r27.label);
20213
+ const tab_r29 = ctx.$implicit;
20214
+ i0.ɵɵproperty("id", tab_r29.id)("label", tab_r29.label);
19760
20215
  } }
19761
20216
  function CaseFullAccessViewComponent_ng_container_11_router_outlet_6_Template(rf, ctx) { if (rf & 1) {
19762
20217
  i0.ɵɵelement(0, "router-outlet");
19763
20218
  } }
19764
20219
  function CaseFullAccessViewComponent_ng_container_11_Template(rf, ctx) { if (rf & 1) {
19765
- const _r29 = i0.ɵɵgetCurrentView();
20220
+ const _r31 = i0.ɵɵgetCurrentView();
19766
20221
  i0.ɵɵelementContainerStart(0);
19767
20222
  i0.ɵɵelementStart(1, "mat-tab-group", 21, 22);
19768
- i0.ɵɵlistener("selectedTabChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedTabChange_1_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r28 = i0.ɵɵnextContext(); return ctx_r28.tabChanged($event); });
20223
+ i0.ɵɵlistener("selectedTabChange", function CaseFullAccessViewComponent_ng_container_11_Template_mat_tab_group_selectedTabChange_1_listener($event) { i0.ɵɵrestoreView(_r31); const ctx_r30 = i0.ɵɵnextContext(); return ctx_r30.tabChanged($event); });
19769
20224
  i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_11_mat_tab_3_Template, 1, 2, "mat-tab", 23);
19770
20225
  i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_Template, 2, 2, "mat-tab", 23);
19771
20226
  i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_5_Template, 1, 2, "mat-tab", 23);
@@ -19976,6 +20431,16 @@ class CaseFullAccessViewComponent {
19976
20431
  });
19977
20432
  }
19978
20433
  }
20434
+ /**
20435
+ * Indicates that a CaseField is to be displayed without a label, as is expected for all ComponentLauncher-type
20436
+ * fields.
20437
+ * @param caseField The `CaseField` instance to check
20438
+ * @returns `true` if it should not have a label; `false` otherwise
20439
+ */
20440
+ isFieldToHaveNoLabel(caseField) {
20441
+ return caseField.field_type.type === 'ComponentLauncher'
20442
+ && caseField.display_context_parameter === '#ARGUMENT(CaseFileView)';
20443
+ }
19979
20444
  init() {
19980
20445
  // Clone and sort tabs array
19981
20446
  this.sortedTabs = this.orderService.sort(this.caseDetails.tabs);
@@ -20030,13 +20495,13 @@ CaseFullAccessViewComponent.TRIGGER_TEXT_START = 'Go';
20030
20495
  CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
20031
20496
  CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
20032
20497
  CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
20033
- CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i1.Location), i0.ɵɵdirectiveInject(SessionStorageService)); };
20498
+ CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$6.MatDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i1.Location), i0.ɵɵdirectiveInject(SessionStorageService)); };
20034
20499
  CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
20035
20500
  i0.ɵɵviewQuery(_c0$a, 1);
20036
20501
  } if (rf & 2) {
20037
20502
  let _t;
20038
20503
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
20039
- } }, 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"], [1, "case-viewer-label", "text-16"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
20504
+ } }, 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) { if (rf & 1) {
20040
20505
  i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
20041
20506
  i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
20042
20507
  i0.ɵɵelementStart(2, "ccd-callback-errors", 1);
@@ -20079,7 +20544,7 @@ CaseFullAccessViewComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFullAcces
20079
20544
  templateUrl: './case-full-access-view.component.html',
20080
20545
  styleUrls: ['./case-full-access-view.component.scss']
20081
20546
  }]
20082
- }], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$5.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
20547
+ }], function () { return [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$6.MatDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i1.Location }, { type: SessionStorageService }]; }, { hasPrint: [{
20083
20548
  type: Input
20084
20549
  }], hasEventSelector: [{
20085
20550
  type: Input
@@ -23887,7 +24352,7 @@ SearchResultComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchResultCompone
23887
24352
  i0.ɵɵproperty("ngIf", ctx.hasResults());
23888
24353
  i0.ɵɵadvance(1);
23889
24354
  i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
23890
- } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1.DecimalPipe, i1$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}"] });
24355
+ } }, directives: [i1.NgIf, i1.NgForOf, i1$1.RouterLinkWithHref, FieldReadComponent, LabelSubstitutorDirective, ActivityComponent, PaginationComponent], pipes: [i1.DecimalPipe, i1$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}"] });
23891
24356
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
23892
24357
  type: Component,
23893
24358
  args: [{
@@ -24226,5 +24691,5 @@ class TestRouteSnapshotBuilder {
24226
24691
  * Generated bundle index. Do not edit.
24227
24692
  */
24228
24693
 
24229
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, MULTIPLE_TASKS_FOUND, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
24694
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewService, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, MULTIPLE_TASKS_FOUND, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
24230
24695
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map