@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.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +25 -25
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +2 -2
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +2 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +25 -26
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +25 -25
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -15620,13 +15620,13 @@ const ɵFieldReadLabelComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedF
|
|
|
15620
15620
|
type: Input
|
|
15621
15621
|
}] }); })();
|
|
15622
15622
|
|
|
15623
|
-
function
|
|
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
|
|
15627
|
+
function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
15628
15628
|
i0.ɵɵelementContainerStart(0);
|
|
15629
|
-
i0.ɵɵtemplate(1,
|
|
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",
|
|
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, "
|
|
15736
|
-
i0.ɵɵelementStart(0, "
|
|
15737
|
-
i0.ɵɵ
|
|
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(
|
|
15740
|
-
i0.ɵɵtext(
|
|
15739
|
+
i0.ɵɵelementStart(2, "p");
|
|
15740
|
+
i0.ɵɵtext(3);
|
|
15741
15741
|
i0.ɵɵelementEnd();
|
|
15742
|
-
i0.ɵɵelementStart(
|
|
15743
|
-
i0.ɵɵ
|
|
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(
|
|
15746
|
-
i0.ɵɵ
|
|
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(
|
|
15749
|
-
i0.ɵɵ
|
|
15750
|
-
i0.ɵɵ
|
|
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(
|
|
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: ["
|
|
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, "
|
|
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();
|