@hmcts/ccd-case-ui-toolkit 5.0.45-case-file-view-styling-fixes → 5.0.45-fix-case-acccess-table

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.
@@ -15620,13 +15620,13 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
15620
15620
  type: Input
15621
15621
  }] }); })();
15622
15622
 
15623
- function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
15623
+ function CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
15624
15624
  i0.ɵɵelementContainer(0);
15625
15625
  } }
15626
15626
  const _c0$u = function (a0) { return { cat: a0, level: 1 }; };
15627
- function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
15627
+ function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
15628
15628
  i0.ɵɵelementContainerStart(0);
15629
- i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
15629
+ i0.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
15630
15630
  i0.ɵɵelementContainerEnd();
15631
15631
  } if (rf & 2) {
15632
15632
  const cat_r3 = ctx.$implicit;
@@ -15661,7 +15661,7 @@ function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
15661
15661
  i0.ɵɵelement(3, "img", 12);
15662
15662
  i0.ɵɵtext(4);
15663
15663
  i0.ɵɵelementEnd();
15664
- i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 3);
15664
+ i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 2);
15665
15665
  i0.ɵɵelementEnd();
15666
15666
  } if (rf & 2) {
15667
15667
  const cat_r5 = ctx.cat;
@@ -15732,43 +15732,42 @@ class CaseFileViewFolderSelectorComponent {
15732
15732
  }
15733
15733
  }
15734
15734
  CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
15735
- CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "close", 3, "click"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
15736
- i0.ɵɵelementStart(0, "div", 0);
15737
- i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
15735
+ CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [1, "close", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
15736
+ i0.ɵɵelementStart(0, "h2", 0);
15737
+ i0.ɵɵtext(1, "Move File");
15738
15738
  i0.ɵɵelementEnd();
15739
- i0.ɵɵelementStart(1, "h2", 1);
15740
- i0.ɵɵtext(2, "Move File");
15739
+ i0.ɵɵelementStart(2, "p");
15740
+ i0.ɵɵtext(3);
15741
15741
  i0.ɵɵelementEnd();
15742
- i0.ɵɵelementStart(3, "p");
15743
- i0.ɵɵtext(4);
15742
+ i0.ɵɵelementStart(4, "div", 1);
15743
+ i0.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_container_5_Template, 2, 4, "ng-container", 2);
15744
15744
  i0.ɵɵelementEnd();
15745
- i0.ɵɵelementStart(5, "div", 2);
15746
- i0.ɵɵtemplate(6, CaseFileViewFolderSelectorComponent_ng_container_6_Template, 2, 4, "ng-container", 3);
15745
+ i0.ɵɵelementStart(6, "div", 3);
15746
+ i0.ɵɵelementStart(7, "button", 4);
15747
+ i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
15748
+ i0.ɵɵtext(8, "Save");
15747
15749
  i0.ɵɵelementEnd();
15748
- i0.ɵɵelementStart(7, "div", 4);
15749
- i0.ɵɵelementStart(8, "button", 5);
15750
- i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_8_listener() { return ctx.save(); });
15751
- i0.ɵɵtext(9, "Save");
15750
+ i0.ɵɵelementStart(9, "a", 5);
15751
+ i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_9_listener() { return ctx.cancel(); });
15752
+ i0.ɵɵtext(10, "Cancel");
15752
15753
  i0.ɵɵelementEnd();
15753
- i0.ɵɵelementStart(10, "a", 6);
15754
- i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { return ctx.cancel(); });
15755
- i0.ɵɵtext(11, "Cancel");
15756
15754
  i0.ɵɵelementEnd();
15755
+ i0.ɵɵelementStart(11, "div", 6);
15756
+ i0.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
15757
15757
  i0.ɵɵelementEnd();
15758
15758
  i0.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
15759
15759
  } if (rf & 2) {
15760
- i0.ɵɵadvance(4);
15760
+ i0.ɵɵadvance(3);
15761
15761
  i0.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
15762
15762
  i0.ɵɵadvance(2);
15763
15763
  i0.ɵɵproperty("ngForOf", ctx.currentCategories);
15764
- } }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
15764
+ } }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{position:relative;display:block}.folders[_ngcontent-%COMP%]{margin-bottom:20px}.folder[_ngcontent-%COMP%]{display:none;border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin:0 0 -1px}.folders[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:checked ~ .folder[_ngcontent-%COMP%]{display:block}.iconImg[_ngcontent-%COMP%]{position:relative;display:inline-block;height:28px}.folder[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%]{margin-left:20px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{top:3px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{top:13px}p[_ngcontent-%COMP%]{font-weight:700}button[_ngcontent-%COMP%]{margin-right:20px}.close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel[_ngcontent-%COMP%], .close[_ngcontent-%COMP%]{cursor:pointer}"] });
15765
15765
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
15766
15766
  type: Component,
15767
15767
  args: [{
15768
15768
  selector: 'xui-case-file-view-folder-selector',
15769
15769
  templateUrl: './case-file-view-folder-selector.component.html',
15770
- styleUrls: ['./case-file-view-folder-selector.component.scss'],
15771
- encapsulation: ViewEncapsulation.None
15770
+ styleUrls: ['./case-file-view-folder-selector.component.scss']
15772
15771
  }]
15773
15772
  }], function () { return [{ type: i1$3.MatDialogRef }, { type: undefined, decorators: [{
15774
15773
  type: Inject,
@@ -16329,6 +16328,7 @@ class CaseFileViewFolderComponent {
16329
16328
  }
16330
16329
  openMoveDialog(node) {
16331
16330
  const dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
16331
+ width: '570px',
16332
16332
  data: { categories: this.categories, document: node }
16333
16333
  });
16334
16334
  dialogRef.afterClosed().subscribe(newCatId => {
@@ -26133,7 +26133,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_1_ng_
26133
26133
  function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template(rf, ctx) { if (rf & 1) {
26134
26134
  i0.ɵɵelementStart(0, "tr");
26135
26135
  i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template, 3, 1, "th", 33);
26136
- i0.ɵɵelementStart(2, "th", 34);
26136
+ i0.ɵɵelementStart(2, "td", 34);
26137
26137
  i0.ɵɵelementStart(3, "span", 35);
26138
26138
  i0.ɵɵelement(4, "ccd-field-read", 36);
26139
26139
  i0.ɵɵelementEnd();