@hmcts/ccd-case-ui-toolkit 5.0.24-case-file-sort-documents → 5.0.24-case-file-sort-documents-v2
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 +36 -30
- 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 +19 -15
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +8 -8
- package/esm2015/lib/shared/components/palette/case-file-view/components/index.js +1 -3
- package/esm2015/lib/shared/components/search-result/search-result.component.js +12 -10
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +36 -30
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/index.d.ts +0 -2
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9015,19 +9015,19 @@
|
|
|
9015
9015
|
function CaseFileViewFolderComponent_cdk_nested_tree_node_9_Template(rf, ctx) {
|
|
9016
9016
|
if (rf & 1) {
|
|
9017
9017
|
i0__namespace.ɵɵelementStart(0, "cdk-nested-tree-node", 8);
|
|
9018
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
9019
|
-
i0__namespace.ɵɵelementStart(2, "button",
|
|
9020
|
-
i0__namespace.ɵɵelement(3, "img",
|
|
9021
|
-
i0__namespace.ɵɵelementStart(4, "span",
|
|
9018
|
+
i0__namespace.ɵɵelementStart(1, "div", 13);
|
|
9019
|
+
i0__namespace.ɵɵelementStart(2, "button", 14);
|
|
9020
|
+
i0__namespace.ɵɵelement(3, "img", 15);
|
|
9021
|
+
i0__namespace.ɵɵelementStart(4, "span", 16);
|
|
9022
9022
|
i0__namespace.ɵɵtext(5);
|
|
9023
9023
|
i0__namespace.ɵɵelementEnd();
|
|
9024
9024
|
i0__namespace.ɵɵelementEnd();
|
|
9025
|
-
i0__namespace.ɵɵelementStart(6, "span",
|
|
9025
|
+
i0__namespace.ɵɵelementStart(6, "span", 17);
|
|
9026
9026
|
i0__namespace.ɵɵtext(7);
|
|
9027
9027
|
i0__namespace.ɵɵelementEnd();
|
|
9028
9028
|
i0__namespace.ɵɵelementEnd();
|
|
9029
9029
|
i0__namespace.ɵɵelementStart(8, "div");
|
|
9030
|
-
i0__namespace.ɵɵelementContainer(9,
|
|
9030
|
+
i0__namespace.ɵɵelementContainer(9, 18);
|
|
9031
9031
|
i0__namespace.ɵɵelementEnd();
|
|
9032
9032
|
i0__namespace.ɵɵelementEnd();
|
|
9033
9033
|
}
|
|
@@ -9333,7 +9333,7 @@
|
|
|
9333
9333
|
var _t = void 0;
|
|
9334
9334
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tree = _t.first);
|
|
9335
9335
|
}
|
|
9336
|
-
}, inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 10, vars: 3, consts: [[1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["tree", ""], ["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"], ["
|
|
9336
|
+
}, inputs: { categoriesAndDocuments: "categoriesAndDocuments" }, decls: 10, vars: 3, consts: [[1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], [1, "document-tree-container"], [3, "dataSource", "treeControl"], ["tree", ""], ["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) {
|
|
9337
9337
|
if (rf & 1) {
|
|
9338
9338
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
9339
9339
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -23648,8 +23648,8 @@
|
|
|
23648
23648
|
}
|
|
23649
23649
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_th_1_Template(rf, ctx) {
|
|
23650
23650
|
if (rf & 1) {
|
|
23651
|
-
i0__namespace.ɵɵelementStart(0, "th",
|
|
23652
|
-
i0__namespace.ɵɵelementStart(1, "div",
|
|
23651
|
+
i0__namespace.ɵɵelementStart(0, "th", 35);
|
|
23652
|
+
i0__namespace.ɵɵelementStart(1, "div", 36);
|
|
23653
23653
|
i0__namespace.ɵɵtext(2);
|
|
23654
23654
|
i0__namespace.ɵɵelementEnd();
|
|
23655
23655
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23664,9 +23664,9 @@
|
|
|
23664
23664
|
if (rf & 1) {
|
|
23665
23665
|
i0__namespace.ɵɵelementStart(0, "tr");
|
|
23666
23666
|
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);
|
|
23667
|
-
i0__namespace.ɵɵelementStart(2, "th");
|
|
23668
|
-
i0__namespace.ɵɵelementStart(3, "span",
|
|
23669
|
-
i0__namespace.ɵɵelement(4, "ccd-field-read",
|
|
23667
|
+
i0__namespace.ɵɵelementStart(2, "th", 32);
|
|
23668
|
+
i0__namespace.ɵɵelementStart(3, "span", 33);
|
|
23669
|
+
i0__namespace.ɵɵelement(4, "ccd-field-read", 34);
|
|
23670
23670
|
i0__namespace.ɵɵelementEnd();
|
|
23671
23671
|
i0__namespace.ɵɵelementEnd();
|
|
23672
23672
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23676,16 +23676,18 @@
|
|
|
23676
23676
|
var ctx_r22 = i0__namespace.ɵɵnextContext(4);
|
|
23677
23677
|
i0__namespace.ɵɵadvance(1);
|
|
23678
23678
|
i0__namespace.ɵɵproperty("ngIf", !ctx_r22.isFieldToHaveNoLabel(field_r21));
|
|
23679
|
-
i0__namespace.ɵɵadvance(
|
|
23679
|
+
i0__namespace.ɵɵadvance(1);
|
|
23680
|
+
i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
23681
|
+
i0__namespace.ɵɵadvance(2);
|
|
23680
23682
|
i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r22.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r22.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r22.markdownUseHrefAsRouterLink);
|
|
23681
23683
|
}
|
|
23682
23684
|
}
|
|
23683
23685
|
function CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template(rf, ctx) {
|
|
23684
23686
|
if (rf & 1) {
|
|
23685
|
-
i0__namespace.ɵɵelementStart(0, "tr",
|
|
23686
|
-
i0__namespace.ɵɵelementStart(1, "th");
|
|
23687
|
-
i0__namespace.ɵɵelementStart(2, "span",
|
|
23688
|
-
i0__namespace.ɵɵelement(3, "ccd-field-read",
|
|
23687
|
+
i0__namespace.ɵɵelementStart(0, "tr", 37);
|
|
23688
|
+
i0__namespace.ɵɵelementStart(1, "th", 32);
|
|
23689
|
+
i0__namespace.ɵɵelementStart(2, "span", 33);
|
|
23690
|
+
i0__namespace.ɵɵelement(3, "ccd-field-read", 34);
|
|
23689
23691
|
i0__namespace.ɵɵelementEnd();
|
|
23690
23692
|
i0__namespace.ɵɵelementEnd();
|
|
23691
23693
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -23693,7 +23695,9 @@
|
|
|
23693
23695
|
if (rf & 2) {
|
|
23694
23696
|
var field_r21 = i0__namespace.ɵɵnextContext().$implicit;
|
|
23695
23697
|
var ctx_r23 = i0__namespace.ɵɵnextContext(4);
|
|
23696
|
-
i0__namespace.ɵɵadvance(
|
|
23698
|
+
i0__namespace.ɵɵadvance(1);
|
|
23699
|
+
i0__namespace.ɵɵproperty("id", "case-viewer-field-read--" + field_r21.id);
|
|
23700
|
+
i0__namespace.ɵɵadvance(2);
|
|
23697
23701
|
i0__namespace.ɵɵproperty("topLevelFormGroup", ctx_r23.formGroup.controls["data"])("caseField", field_r21)("caseReference", ctx_r23.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r23.markdownUseHrefAsRouterLink);
|
|
23698
23702
|
}
|
|
23699
23703
|
}
|
|
@@ -23703,8 +23707,8 @@
|
|
|
23703
23707
|
i0__namespace.ɵɵelementStart(1, "div", 27);
|
|
23704
23708
|
i0__namespace.ɵɵelementContainerStart(2, 28);
|
|
23705
23709
|
i0__namespace.ɵɵpipe(3, "ccdIsCompound");
|
|
23706
|
-
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5,
|
|
23707
|
-
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4,
|
|
23710
|
+
i0__namespace.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_4_Template, 5, 6, "tr", 29);
|
|
23711
|
+
i0__namespace.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_11_mat_tab_4_ng_template_1_ng_container_2_tr_5_Template, 4, 5, "tr", 30);
|
|
23708
23712
|
i0__namespace.ɵɵelementContainerEnd();
|
|
23709
23713
|
i0__namespace.ɵɵelementEnd();
|
|
23710
23714
|
i0__namespace.ɵɵelementContainerEnd();
|
|
@@ -24062,7 +24066,7 @@
|
|
|
24062
24066
|
var _t = void 0;
|
|
24063
24067
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
24064
24068
|
}
|
|
24065
|
-
}, 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) {
|
|
24069
|
+
}, 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) {
|
|
24066
24070
|
if (rf & 1) {
|
|
24067
24071
|
i0__namespace.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 10, 0, "div", 0);
|
|
24068
24072
|
i0__namespace.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 6, 2, "div", 0);
|
|
@@ -27509,12 +27513,12 @@
|
|
|
27509
27513
|
i0__namespace.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
|
|
27510
27514
|
}
|
|
27511
27515
|
}
|
|
27512
|
-
function
|
|
27516
|
+
function SearchResultComponent_table_0_th_10_div_6_Template(rf, ctx) {
|
|
27513
27517
|
if (rf & 1) {
|
|
27514
27518
|
var _r19_1 = i0__namespace.ɵɵgetCurrentView();
|
|
27515
27519
|
i0__namespace.ɵɵelementStart(0, "div", 27);
|
|
27516
27520
|
i0__namespace.ɵɵelementStart(1, "a", 28);
|
|
27517
|
-
i0__namespace.ɵɵlistener("click", function
|
|
27521
|
+
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); });
|
|
27518
27522
|
i0__namespace.ɵɵelementEnd();
|
|
27519
27523
|
i0__namespace.ɵɵelementEnd();
|
|
27520
27524
|
}
|
|
@@ -27531,11 +27535,13 @@
|
|
|
27531
27535
|
i0__namespace.ɵɵelementStart(0, "th");
|
|
27532
27536
|
i0__namespace.ɵɵelementStart(1, "table", 24);
|
|
27533
27537
|
i0__namespace.ɵɵelementStart(2, "tr");
|
|
27534
|
-
i0__namespace.ɵɵelementStart(3, "
|
|
27535
|
-
i0__namespace.ɵɵ
|
|
27536
|
-
i0__namespace.ɵɵ
|
|
27538
|
+
i0__namespace.ɵɵelementStart(3, "th");
|
|
27539
|
+
i0__namespace.ɵɵelementStart(4, "div", 25);
|
|
27540
|
+
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); });
|
|
27541
|
+
i0__namespace.ɵɵtext(5);
|
|
27542
|
+
i0__namespace.ɵɵelementEnd();
|
|
27543
|
+
i0__namespace.ɵɵtemplate(6, SearchResultComponent_table_0_th_10_div_6_Template, 2, 1, "div", 26);
|
|
27537
27544
|
i0__namespace.ɵɵelementEnd();
|
|
27538
|
-
i0__namespace.ɵɵtemplate(5, SearchResultComponent_table_0_th_10_div_5_Template, 2, 1, "div", 26);
|
|
27539
27545
|
i0__namespace.ɵɵelementEnd();
|
|
27540
27546
|
i0__namespace.ɵɵelementEnd();
|
|
27541
27547
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -27544,8 +27550,8 @@
|
|
|
27544
27550
|
var col_r15 = ctx.$implicit;
|
|
27545
27551
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
27546
27552
|
i0__namespace.ɵɵadvance(1);
|
|
27547
|
-
i0__namespace.ɵɵ
|
|
27548
|
-
i0__namespace.ɵɵadvance(
|
|
27553
|
+
i0__namespace.ɵɵattribute("aria-label", "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending");
|
|
27554
|
+
i0__namespace.ɵɵadvance(4);
|
|
27549
27555
|
i0__namespace.ɵɵtextInterpolate(col_r15.label);
|
|
27550
27556
|
i0__namespace.ɵɵadvance(1);
|
|
27551
27557
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
|
|
@@ -27881,7 +27887,7 @@
|
|
|
27881
27887
|
i0__namespace.ɵɵelementStart(7, "thead");
|
|
27882
27888
|
i0__namespace.ɵɵelementStart(8, "tr", 7);
|
|
27883
27889
|
i0__namespace.ɵɵtemplate(9, SearchResultComponent_table_0_th_9_Template, 4, 2, "th", 8);
|
|
27884
|
-
i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template,
|
|
27890
|
+
i0__namespace.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 7, 3, "th", 9);
|
|
27885
27891
|
i0__namespace.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 1, 0, "th", 10);
|
|
27886
27892
|
i0__namespace.ɵɵelementEnd();
|
|
27887
27893
|
i0__namespace.ɵɵelementEnd();
|