@hmcts/ccd-case-ui-toolkit 5.0.24-case-file-view-document-count-v2 → 5.0.24-case-file-view-document-count-v3

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.
@@ -9054,7 +9054,7 @@
9054
9054
  }());
9055
9055
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
9056
9056
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(); };
9057
- CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 3, consts: [[1, "document-filter-container"], [1, "document-filter"], [1, "documents-title"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", 1, "node__iconImg"], [1, "node-name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
9057
+ CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 8, vars: 3, consts: [[1, "document-filter-container"], [1, "document-filter"], [1, "documents-title"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["class", "document-tree-node", 4, "cdkTreeNodeDef"], ["class", "document-tree-node", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-node"], [1, "node"], ["mat-icon-button", "", "disabled", "", 1, "node__icon"], ["src", "/assets/images/document.png", "alt", "Document icon", 1, "node__iconImg"], [1, "node-name", "node-name-document"], ["cdkTreeNodeToggle", "", 1, "node"], ["mat-icon-button", "", 1, "node__icon"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "node__iconImg"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
9058
9058
  if (rf & 1) {
9059
9059
  i0__namespace.ɵɵelementStart(0, "div", 0);
9060
9060
  i0__namespace.ɵɵelement(1, "div", 1);
@@ -23351,8 +23351,8 @@
23351
23351
  }
23352
23352
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) {
23353
23353
  if (rf & 1) {
23354
- i0__namespace.ɵɵelementStart(0, "th", 34);
23355
- i0__namespace.ɵɵelementStart(1, "div", 35);
23354
+ i0__namespace.ɵɵelementStart(0, "th", 35);
23355
+ i0__namespace.ɵɵelementStart(1, "div", 36);
23356
23356
  i0__namespace.ɵɵtext(2);
23357
23357
  i0__namespace.ɵɵelementEnd();
23358
23358
  i0__namespace.ɵɵelementEnd();
@@ -23367,9 +23367,9 @@
23367
23367
  if (rf & 1) {
23368
23368
  i0__namespace.ɵɵelementStart(0, "tr");
23369
23369
  i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 31);
23370
- i0__namespace.ɵɵelementStart(2, "th");
23371
- i0__namespace.ɵɵelementStart(3, "span", 32);
23372
- i0__namespace.ɵɵelement(4, "ccd-field-read", 33);
23370
+ i0__namespace.ɵɵelementStart(2, "th", 32);
23371
+ i0__namespace.ɵɵelementStart(3, "span", 33);
23372
+ i0__namespace.ɵɵelement(4, "ccd-field-read", 34);
23373
23373
  i0__namespace.ɵɵelementEnd();
23374
23374
  i0__namespace.ɵɵelementEnd();
23375
23375
  i0__namespace.ɵɵelementEnd();
@@ -23379,16 +23379,18 @@
23379
23379
  var ctx_r22 = i0__namespace.ɵɵnextContext(4);
23380
23380
  i0__namespace.ɵɵadvance(1);
23381
23381
  i0__namespace.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
23382
- i0__namespace.ɵɵadvance(3);
23382
+ i0__namespace.ɵɵadvance(1);
23383
+ i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
23384
+ i0__namespace.ɵɵadvance(2);
23383
23385
  i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
23384
23386
  }
23385
23387
  }
23386
23388
  function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) {
23387
23389
  if (rf & 1) {
23388
- i0__namespace.ɵɵelementStart(0, "tr", 36);
23390
+ i0__namespace.ɵɵelementStart(0, "tr", 37);
23389
23391
  i0__namespace.ɵɵelementStart(1, "th");
23390
- i0__namespace.ɵɵelementStart(2, "span", 32);
23391
- i0__namespace.ɵɵelement(3, "ccd-field-read", 33);
23392
+ i0__namespace.ɵɵelementStart(2, "span", 33);
23393
+ i0__namespace.ɵɵelement(3, "ccd-field-read", 34);
23392
23394
  i0__namespace.ɵɵelementEnd();
23393
23395
  i0__namespace.ɵɵelementEnd();
23394
23396
  i0__namespace.ɵɵelementEnd();
@@ -23406,7 +23408,7 @@
23406
23408
  i0__namespace.ɵɵelementStart(1, "div", 27);
23407
23409
  i0__namespace.ɵɵelementContainerStart(2, 28);
23408
23410
  i0__namespace.ɵɵpipe(3, "ccdIsCompound");
23409
- i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 5, "tr", 29);
23411
+ i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 6, "tr", 29);
23410
23412
  i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 4, "tr", 30);
23411
23413
  i0__namespace.ɵɵelementContainerEnd();
23412
23414
  i0__namespace.ɵɵelementEnd();
@@ -23765,7 +23767,7 @@
23765
23767
  var _t = void 0;
23766
23768
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
23767
23769
  }
23768
- }, 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) {
23770
+ }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 12, vars: 11, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], ["animationDuration", "0ms", 3, "disableRipple", "selectedTabChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], ["aria-describedby", "case viewer table"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], [3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) {
23769
23771
  if (rf & 1) {
23770
23772
  i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
23771
23773
  i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
@@ -27212,12 +27214,12 @@
27212
27214
  i0__namespace.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
27213
27215
  }
27214
27216
  }
27215
- function SearchResultComponent_table_0_th_10_div_5_Template(rf, ctx) {
27217
+ function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) {
27216
27218
  if (rf & 1) {
27217
27219
  var _r19_1 = i0__namespace.ɵɵgetCurrentView();
27218
27220
  i0__namespace.ɵɵelementStart(0, "div", 27);
27219
27221
  i0__namespace.ɵɵelementStart(1, "a", 28);
27220
- i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_5_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
27222
+ i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_div_6_Template_a_click_1_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var col_r15 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r17 = i0__namespace.ɵɵnextContext(2); return ctx_r17.sort(col_r15); });
27221
27223
  i0__namespace.ɵɵelementEnd();
27222
27224
  i0__namespace.ɵɵelementEnd();
27223
27225
  }
@@ -27234,11 +27236,13 @@
27234
27236
  i0__namespace.ɵɵelementStart(0, "th");
27235
27237
  i0__namespace.ɵɵelementStart(1, "table", 24);
27236
27238
  i0__namespace.ɵɵelementStart(2, "tr");
27237
- i0__namespace.ɵɵelementStart(3, "div", 25);
27238
- i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_3_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
27239
- i0__namespace.ɵɵtext(4);
27239
+ i0__namespace.ɵɵelementStart(3, "th");
27240
+ i0__namespace.ɵɵelementStart(4, "div", 25);
27241
+ i0__namespace.ɵɵlistener("click", function SearchResultComponent_table_0_th_10_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r22_1); var col_r15 = ctx.$implicit; var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ctx_r21.sort(col_r15); });
27242
+ i0__namespace.ɵɵtext(5);
27243
+ i0__namespace.ɵɵelementEnd();
27244
+ i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
27240
27245
  i0__namespace.ɵɵelementEnd();
27241
- i0__namespace.ɵɵtemplate(5, SearchResultComponent_table_0_th_10_div_5_Template, 2, 1, "div", 26);
27242
27246
  i0__namespace.ɵɵelementEnd();
27243
27247
  i0__namespace.ɵɵelementEnd();
27244
27248
  i0__namespace.ɵɵelementEnd();
@@ -27247,8 +27251,8 @@
27247
27251
  var col_r15 = ctx.$implicit;
27248
27252
  var ctx_r7 = i0__namespace.ɵɵnextContext(2);
27249
27253
  i0__namespace.ɵɵadvance(1);
27250
- i0__namespace.ɵɵattributeInterpolate2("aria-label", "Sort by ", col_r15.label, " ", ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending", "");
27251
- i0__namespace.ɵɵadvance(3);
27254
+ i0__namespace.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
27255
+ i0__namespace.ɵɵadvance(4);
27252
27256
  i0__namespace.ɵɵtextInterpolate(col_r15.label);
27253
27257
  i0__namespace.ɵɵadvance(1);
27254
27258
  i0__namespace.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
@@ -27584,7 +27588,7 @@
27584
27588
  i0__namespace.ɵɵelementStart(7, "thead");
27585
27589
  i0__namespace.ɵɵelementStart(8, "tr", 7);
27586
27590
  i0__namespace.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
27587
- i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 6, 4, "th", 9);
27591
+ i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
27588
27592
  i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
27589
27593
  i0__namespace.ɵɵelementEnd();
27590
27594
  i0__namespace.ɵɵelementEnd();