@hmcts/ccd-case-ui-toolkit 5.0.44-case-flags-integration-fixes → 5.0.45-case-file-view-styling-fixes

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.
@@ -18178,16 +18178,16 @@
18178
18178
  }] });
18179
18179
  })();
18180
18180
 
18181
- function CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template(rf, ctx) {
18181
+ function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) {
18182
18182
  if (rf & 1) {
18183
18183
  i0__namespace.ɵɵelementContainer(0);
18184
18184
  }
18185
18185
  }
18186
18186
  var _c0$u = function (a0) { return { cat: a0, level: 1 }; };
18187
- function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) {
18187
+ function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
18188
18188
  if (rf & 1) {
18189
18189
  i0__namespace.ɵɵelementContainerStart(0);
18190
- i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
18190
+ i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
18191
18191
  i0__namespace.ɵɵelementContainerEnd();
18192
18192
  }
18193
18193
  if (rf & 2) {
@@ -18230,7 +18230,7 @@
18230
18230
  i0__namespace.ɵɵelement(3, "img", 12);
18231
18231
  i0__namespace.ɵɵtext(4);
18232
18232
  i0__namespace.ɵɵelementEnd();
18233
- i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 2);
18233
+ i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 3);
18234
18234
  i0__namespace.ɵɵelementEnd();
18235
18235
  }
18236
18236
  if (rf & 2) {
@@ -18326,46 +18326,47 @@
18326
18326
  return CaseFileViewFolderSelectorComponent;
18327
18327
  }());
18328
18328
  CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialogRef), i0__namespace.ɵɵdirectiveInject(i1$3.MAT_DIALOG_DATA)); };
18329
- CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵ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) {
18329
+ CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵ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) {
18330
18330
  if (rf & 1) {
18331
- i0__namespace.ɵɵelementStart(0, "h2", 0);
18332
- i0__namespace.ɵɵtext(1, "Move File");
18331
+ i0__namespace.ɵɵelementStart(0, "div", 0);
18332
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
18333
18333
  i0__namespace.ɵɵelementEnd();
18334
- i0__namespace.ɵɵelementStart(2, "p");
18335
- i0__namespace.ɵɵtext(3);
18334
+ i0__namespace.ɵɵelementStart(1, "h2", 1);
18335
+ i0__namespace.ɵɵtext(2, "Move File");
18336
18336
  i0__namespace.ɵɵelementEnd();
18337
- i0__namespace.ɵɵelementStart(4, "div", 1);
18338
- i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_container_5_Template, 2, 4, "ng-container", 2);
18337
+ i0__namespace.ɵɵelementStart(3, "p");
18338
+ i0__namespace.ɵɵtext(4);
18339
18339
  i0__namespace.ɵɵelementEnd();
18340
- i0__namespace.ɵɵelementStart(6, "div", 3);
18341
- i0__namespace.ɵɵelementStart(7, "button", 4);
18342
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
18343
- i0__namespace.ɵɵtext(8, "Save");
18340
+ i0__namespace.ɵɵelementStart(5, "div", 2);
18341
+ i0__namespace.ɵɵtemplate(6, CaseFileViewFolderSelectorComponent_ng_container_6_Template, 2, 4, "ng-container", 3);
18344
18342
  i0__namespace.ɵɵelementEnd();
18345
- i0__namespace.ɵɵelementStart(9, "a", 5);
18346
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_9_listener() { return ctx.cancel(); });
18347
- i0__namespace.ɵɵtext(10, "Cancel");
18343
+ i0__namespace.ɵɵelementStart(7, "div", 4);
18344
+ i0__namespace.ɵɵelementStart(8, "button", 5);
18345
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_8_listener() { return ctx.save(); });
18346
+ i0__namespace.ɵɵtext(9, "Save");
18348
18347
  i0__namespace.ɵɵelementEnd();
18348
+ i0__namespace.ɵɵelementStart(10, "a", 6);
18349
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { return ctx.cancel(); });
18350
+ i0__namespace.ɵɵtext(11, "Cancel");
18349
18351
  i0__namespace.ɵɵelementEnd();
18350
- i0__namespace.ɵɵelementStart(11, "div", 6);
18351
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
18352
18352
  i0__namespace.ɵɵelementEnd();
18353
18353
  i0__namespace.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0__namespace.ɵɵtemplateRefExtractor);
18354
18354
  }
18355
18355
  if (rf & 2) {
18356
- i0__namespace.ɵɵadvance(3);
18356
+ i0__namespace.ɵɵadvance(4);
18357
18357
  i0__namespace.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
18358
18358
  i0__namespace.ɵɵadvance(2);
18359
18359
  i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
18360
18360
  }
18361
- }, directives: [i1__namespace.NgForOf, i1__namespace.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}"] });
18361
+ }, directives: [i1__namespace.NgForOf, i1__namespace.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 });
18362
18362
  (function () {
18363
18363
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
18364
18364
  type: i0.Component,
18365
18365
  args: [{
18366
18366
  selector: 'xui-case-file-view-folder-selector',
18367
18367
  templateUrl: './case-file-view-folder-selector.component.html',
18368
- styleUrls: ['./case-file-view-folder-selector.component.scss']
18368
+ styleUrls: ['./case-file-view-folder-selector.component.scss'],
18369
+ encapsulation: i0.ViewEncapsulation.None
18369
18370
  }]
18370
18371
  }], function () {
18371
18372
  return [{ type: i1__namespace$3.MatDialogRef }, { type: undefined, decorators: [{
@@ -18999,7 +19000,6 @@
18999
19000
  CaseFileViewFolderComponent.prototype.openMoveDialog = function (node) {
19000
19001
  var _this = this;
19001
19002
  var dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
19002
- width: '570px',
19003
19003
  data: { categories: this.categories, document: node }
19004
19004
  });
19005
19005
  dialogRef.afterClosed().subscribe(function (newCatId) {