@hmcts/ccd-case-ui-toolkit 7.0.50 → 7.0.51-aria-accessibility-fix
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/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +3 -1
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +38 -32
- package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +3 -3
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +13 -11
- package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +25 -18
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +64 -59
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +142 -120
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/package.json +1 -1
package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs
CHANGED
|
@@ -64,7 +64,7 @@ export class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
64
64
|
return prefix;
|
|
65
65
|
}
|
|
66
66
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(t) { return (ɵReadCollectionFieldComponent_BaseFactory || (ɵReadCollectionFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent)))(t || ReadCollectionFieldComponent); }; })();
|
|
67
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "aria-describedby", "collection table", 4, "ngIf"], ["aria-describedby", "collection table", 1, "collection-field-table"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["id", "hiddenHeader", 2, "display", "none"], [3, "caseField", "context", "topLevelFormGroup"], [4, "ngFor", "ngForOf"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
67
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "id", "collection", "aria-describedby", "collection table", 4, "ngIf"], ["id", "collection", "aria-describedby", "collection table", 1, "collection-field-table"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["id", "hiddenHeader", 2, "display", "none"], [3, "caseField", "context", "topLevelFormGroup"], [4, "ngFor", "ngForOf"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
68
68
|
i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
|
|
69
69
|
} if (rf & 2) {
|
|
70
70
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
@@ -72,7 +72,7 @@ export class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
72
72
|
}
|
|
73
73
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCollectionFieldComponent, [{
|
|
74
74
|
type: Component,
|
|
75
|
-
args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\" aria-describedby=\"collection table\">\n <ng-container [ngSwitch]=\"isDisplayContextParameterAvailable\">\n <tbody *ngSwitchCase=\"true\">\n <tr>\n <th id=\"hiddenHeader\" style=\"display: none;\"></th>\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: caseField.label,\n label: caseField.label,\n field_type: caseField.field_type.collection_field_type,\n display_context_parameter: caseField.display_context_parameter,\n value: caseField.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n <tbody *ngSwitchCase=\"false\">\n <tr *ngFor=\"let item of caseField.value; let i = index\">\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: i,\n label: caseField.label + ' ' + (i + 1),\n field_type: caseField.field_type.collection_field_type,\n value: item.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\"\n [idPrefix]=\"buildIdPrefix(i)\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n </ng-container>\n</table>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
75
|
+
args: [{ selector: 'ccd-read-collection-field', template: "<table *ngIf=\"caseField.value && caseField.value.length \" class=\"collection-field-table\" id=\"collection\" aria-describedby=\"collection table\">\n <ng-container [ngSwitch]=\"isDisplayContextParameterAvailable\">\n <tbody *ngSwitchCase=\"true\">\n <tr>\n <th id=\"hiddenHeader\" style=\"display: none;\"></th>\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: caseField.label,\n label: caseField.label,\n field_type: caseField.field_type.collection_field_type,\n display_context_parameter: caseField.display_context_parameter,\n value: caseField.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n <tbody *ngSwitchCase=\"false\">\n <tr *ngFor=\"let item of caseField.value; let i = index\">\n <td>\n <ccd-field-read\n [caseField]=\"{\n id: i,\n label: caseField.label + ' ' + (i + 1),\n field_type: caseField.field_type.collection_field_type,\n value: item.value,\n hidden: caseField.hidden\n }\"\n [context]=\"context\"\n [topLevelFormGroup]=\"topLevelFormGroup\"\n [idPrefix]=\"buildIdPrefix(i)\">\n </ccd-field-read>\n </td>\n </tr>\n </tbody>\n </ng-container>\n</table>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
76
76
|
}], null, null); })();
|
|
77
77
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCollectionFieldComponent, { className: "ReadCollectionFieldComponent", filePath: "lib/shared/components/palette/collection/read-collection-field.component.ts", lineNumber: 10 }); })();
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1jb2xsZWN0aW9uLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2NvbGxlY3Rpb24vcmVhZC1jb2xsZWN0aW9uLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2NvbGxlY3Rpb24vcmVhZC1jb2xsZWN0aW9uLWZpZWxkLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQzs7Ozs7SUNDckYsQUFEQSw2QkFBNEIsU0FDeEI7SUFDRix3QkFBa0Q7SUFDbEQsMEJBQUk7SUFDRixvQ0FXaUI7SUFHckIsQUFEQSxBQURFLGlCQUFLLEVBQ0YsRUFDRzs7O0lBYkYsZUFPRTtJQUVGLEFBREEsQUFSQSxzUEFPRSwyQkFDaUIsK0NBQ29COzs7SUFPM0MsQUFERiwwQkFBd0QsU0FDbEQ7SUFDRixvQ0FXaUI7SUFF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F09XCJidWlsZElkUHJlZml4KGkpXCI+XG4gICAgICAgIDwvY2NkLWZpZWxkLXJlYWQ+XG4gICAgICA8L3RkPlxuICAgIDwvdHI+XG4gICAgPC90Ym9keT5cbiAgPC9uZy1jb250YWluZXI+XG48L3RhYmxlPlxuIl19
|
package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
const _c0 = (a0, a1, a2) => [a0, false, undefined, true, a1, undefined, a2];
|
|
5
5
|
function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
6
6
|
i0.ɵɵelementContainerStart(0);
|
|
7
|
-
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span",
|
|
8
|
-
i0.ɵɵelement(4, "ccd-field-read",
|
|
7
|
+
i0.ɵɵelementStart(1, "tr", 7)(2, "td", 8)(3, "span", 9);
|
|
8
|
+
i0.ɵɵelement(4, "ccd-field-read", 10);
|
|
9
9
|
i0.ɵɵelementEnd()()();
|
|
10
10
|
i0.ɵɵelementContainerEnd();
|
|
11
11
|
} if (rf & 2) {
|
|
@@ -17,12 +17,14 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template(r
|
|
|
17
17
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseField", field_r1)("context", ctx_r1.context);
|
|
18
18
|
} }
|
|
19
19
|
function ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
i0.ɵɵelementStart(0, "tr",
|
|
20
|
+
i0.ɵɵelementStart(0, "tr", 11)(1, "th", 12)(2, "span", 9);
|
|
21
21
|
i0.ɵɵtext(3);
|
|
22
22
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
23
|
-
i0.ɵɵelementEnd()
|
|
24
|
-
i0.ɵɵ
|
|
25
|
-
i0.ɵɵ
|
|
23
|
+
i0.ɵɵelementEnd();
|
|
24
|
+
i0.ɵɵtext(5, "\u200B");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(6, "td")(7, "span", 9);
|
|
27
|
+
i0.ɵɵelement(8, "ccd-field-read", 10);
|
|
26
28
|
i0.ɵɵelementEnd()()();
|
|
27
29
|
} if (rf & 2) {
|
|
28
30
|
const field_r1 = i0.ɵɵnextContext().$implicit;
|
|
@@ -30,14 +32,14 @@ function ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template(rf
|
|
|
30
32
|
i0.ɵɵproperty("hidden", field_r1.hidden);
|
|
31
33
|
i0.ɵɵadvance(3);
|
|
32
34
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 5, field_r1.label));
|
|
33
|
-
i0.ɵɵadvance(
|
|
35
|
+
i0.ɵɵadvance(5);
|
|
34
36
|
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.topLevelFormGroup)("caseField", field_r1)("context", ctx_r1.context);
|
|
35
37
|
} }
|
|
36
38
|
function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
37
39
|
i0.ɵɵelementContainerStart(0);
|
|
38
40
|
i0.ɵɵtemplate(1, ReadComplexFieldTableComponent_ng_container_9_ng_container_1_Template, 5, 4, "ng-container", 6);
|
|
39
41
|
i0.ɵɵpipe(2, "ccdIsCompound");
|
|
40
|
-
i0.ɵɵtemplate(3, ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template,
|
|
42
|
+
i0.ɵɵtemplate(3, ReadComplexFieldTableComponent_ng_container_9_ng_template_3_Template, 9, 7, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
41
43
|
i0.ɵɵelementContainerEnd();
|
|
42
44
|
} if (rf & 2) {
|
|
43
45
|
const field_r1 = ctx.$implicit;
|
|
@@ -48,7 +50,7 @@ function ReadComplexFieldTableComponent_ng_container_9_Template(rf, ctx) { if (r
|
|
|
48
50
|
export class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
49
51
|
caseFields = [];
|
|
50
52
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(t) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(t || ReadComplexFieldTableComponent); }; })();
|
|
51
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex
|
|
53
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 16, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], ["id", "complex-table", 1, "text-16"], ["id", "complex", "aria-describedby", "complex-table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52
54
|
i0.ɵɵelementStart(0, "div", 1)(1, "dl", 2)(2, "dt")(3, "span", 3);
|
|
53
55
|
i0.ɵɵtext(4);
|
|
54
56
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -68,9 +70,9 @@ export class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
68
70
|
}
|
|
69
71
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldTableComponent, [{
|
|
70
72
|
type: Component,
|
|
71
|
-
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex
|
|
73
|
+
args: [{ selector: 'ccd-read-complex-field-table', template: "<div class=\"complex-panel\">\n <dl class=\"complex-panel-title\"><dt><span id=\"complex-table\" class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt><dd></dd></dl>\n <table id=\"complex\" class=\"complex-panel-table\" aria-describedby=\"complex-table\">\n <tbody>\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup: undefined :idPrefix\">\n <ng-container *ngIf=\"(field | ccdIsCompound); else SimpleRow\">\n <tr class=\"complex-panel-compound-field\" [hidden]=\"field.hidden\">\n <td colspan=\"2\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-container>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-simple-field\" [hidden]=\"field.hidden\">\n <th id=\"complex-panel-simple-field-label\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span>​</th>\n <td>\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"topLevelFormGroup\"\n [caseField]=\"field\" [context]=\"context\"></ccd-field-read>\n </span>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}\n"] }]
|
|
72
74
|
}], null, { caseFields: [{
|
|
73
75
|
type: Input
|
|
74
76
|
}] }); })();
|
|
75
77
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldTableComponent, { className: "ReadComplexFieldTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-table.component.ts", lineNumber: 10 }); })();
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
78
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1jb21wbGV4LWZpZWxkLXRhYmxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2NvbXBsZXgvcmVhZC1jb21wbGV4LWZpZWxkLXRhYmxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2NvbXBsZXgvcmVhZC1jb21wbGV4LWZpZWxkLXRhYmxlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUF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vbXBsZXgtcGFuZWwtc2ltcGxlLWZpZWxkXCIgW2hpZGRlbl09XCJmaWVsZC5oaWRkZW5cIj5cbiAgICAgICAgICAgIDx0aCBpZD1cImNvbXBsZXgtcGFuZWwtc2ltcGxlLWZpZWxkLWxhYmVsXCI+PHNwYW4gY2xhc3M9XCJ0ZXh0LTE2XCI+e3tmaWVsZC5sYWJlbCB8IHJweFRyYW5zbGF0ZX19PC9zcGFuPiZaZXJvV2lkdGhTcGFjZTs8L3RoPlxuICAgICAgICAgICAgPHRkPlxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwidGV4dC0xNlwiPlxuICAgICAgICAgICAgICAgICAgPGNjZC1maWVsZC1yZWFkIFt0b3BMZXZlbEZvcm1Hcm91cF09XCJ0b3BMZXZlbEZvcm1Hcm91cFwiXG4gICAgICAgICAgICAgICAgICAgIFtjYXNlRmllbGRdPVwiZmllbGRcIiBbY29udGV4dF09XCJjb250ZXh0XCI+PC9jY2QtZmllbGQtcmVhZD5cbiAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICA8L3RkPlxuICAgICAgICAgIDwvdHI+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8L3Rib2R5PlxuICA8L3RhYmxlPlxuPC9kaXY+XG4iXX0=
|
|
@@ -4,43 +4,50 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "rpx-xui-translation";
|
|
6
6
|
import * as i3 from "../fixed-list/fixed-list.pipe";
|
|
7
|
-
function
|
|
8
|
-
i0.ɵɵelementStart(0, "tr");
|
|
9
|
-
i0.ɵɵ
|
|
10
|
-
i0.ɵɵ
|
|
11
|
-
i0.ɵɵ
|
|
12
|
-
i0.ɵɵ
|
|
13
|
-
i0.ɵɵpipe(6, "
|
|
7
|
+
function ReadMultiSelectListFieldComponent_table_2_tr_3_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelementStart(0, "tr")(1, "th", 4);
|
|
9
|
+
i0.ɵɵtext(2, "\u200B");
|
|
10
|
+
i0.ɵɵelementEnd();
|
|
11
|
+
i0.ɵɵelementStart(3, "td")(4, "span", 5);
|
|
12
|
+
i0.ɵɵtext(5);
|
|
13
|
+
i0.ɵɵpipe(6, "ccdFixedList");
|
|
14
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
14
15
|
i0.ɵɵelementEnd()()();
|
|
15
16
|
} if (rf & 2) {
|
|
16
17
|
const value_r1 = ctx.$implicit;
|
|
17
18
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
18
|
-
i0.ɵɵadvance(
|
|
19
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
19
|
+
i0.ɵɵadvance(5);
|
|
20
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 4, i0.ɵɵpipeBind2(6, 1, value_r1, ctx_r1.caseField.field_type.fixed_list_items)));
|
|
20
21
|
} }
|
|
21
|
-
function
|
|
22
|
-
i0.ɵɵelementStart(0, "table",
|
|
22
|
+
function ReadMultiSelectListFieldComponent_table_2_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "table", 2);
|
|
23
24
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
24
25
|
i0.ɵɵelementStart(2, "tbody");
|
|
25
|
-
i0.ɵɵtemplate(3,
|
|
26
|
+
i0.ɵɵtemplate(3, ReadMultiSelectListFieldComponent_table_2_tr_3_Template, 8, 6, "tr", 3);
|
|
26
27
|
i0.ɵɵelementEnd()();
|
|
27
28
|
} if (rf & 2) {
|
|
28
29
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
29
|
-
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "multi
|
|
30
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "multi-select-list"));
|
|
30
31
|
i0.ɵɵadvance(3);
|
|
31
32
|
i0.ɵɵproperty("ngForOf", ctx_r1.caseField.value);
|
|
32
33
|
} }
|
|
33
34
|
export class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
34
35
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadMultiSelectListFieldComponent_BaseFactory; return function ReadMultiSelectListFieldComponent_Factory(t) { return (ɵReadMultiSelectListFieldComponent_BaseFactory || (ɵReadMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadMultiSelectListFieldComponent)))(t || ReadMultiSelectListFieldComponent); }; })();
|
|
35
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMultiSelectListFieldComponent, selectors: [["ccd-read-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
36
|
-
i0.ɵɵ
|
|
36
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMultiSelectListFieldComponent, selectors: [["ccd-read-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["id", "multi-select-list", 1, "hide-table-caption"], ["class", "multi-select-list-field-table", 4, "ngIf"], [1, "multi-select-list-field-table"], [4, "ngFor", "ngForOf"], [2, "display", "none"], [1, "text-16"]], template: function ReadMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
38
|
+
i0.ɵɵtext(1);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵtemplate(2, ReadMultiSelectListFieldComponent_table_2_Template, 4, 4, "table", 1);
|
|
37
41
|
} if (rf & 2) {
|
|
42
|
+
i0.ɵɵadvance();
|
|
43
|
+
i0.ɵɵtextInterpolate(ctx.caseField.value[0]);
|
|
44
|
+
i0.ɵɵadvance();
|
|
38
45
|
i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
|
|
39
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RpxTranslatePipe, i3.FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}"] });
|
|
46
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i2.RpxTranslatePipe, i3.FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}.hide-table-caption[_ngcontent-%COMP%]{position:absolute;visibility:hidden}"] });
|
|
40
47
|
}
|
|
41
48
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadMultiSelectListFieldComponent, [{
|
|
42
49
|
type: Component,
|
|
43
|
-
args: [{ selector: 'ccd-read-multi-select-list-field', template: "<table *ngIf=\"caseField.value && caseField.value.length\" class=\"multi-select-list-field-table\"\n [attr.aria-describedby]=\"'multi
|
|
50
|
+
args: [{ selector: 'ccd-read-multi-select-list-field', template: "<div class=\"hide-table-caption\" id=\"multi-select-list\">{{caseField.value[0]}}</div>\n<table *ngIf=\"caseField.value && caseField.value.length\" class=\"multi-select-list-field-table\"\n [attr.aria-describedby]=\"'multi-select-list' | rpxTranslate\">\n <tbody>\n <tr *ngFor=\"let value of caseField.value\">\n <th style=\"display: none;\">​</th>\n <td><span class=\"text-16\">{{ value | ccdFixedList:caseField.field_type.fixed_list_items | rpxTranslate}}</span></td>\n </tr>\n </tbody>\n</table>\n", styles: [".multi-select-list-field-table tr>td{padding:5px 0}.multi-select-list-field-table tr:last-child>td{border-bottom:none}.multi-select-list-field-table td.collection-actions{width:1px;white-space:nowrap}.hide-table-caption{position:absolute;visibility:hidden}\n"] }]
|
|
44
51
|
}], null, null); })();
|
|
45
52
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadMultiSelectListFieldComponent, { className: "ReadMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.ts", lineNumber: 9 }); })();
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1tdWx0aS1zZWxlY3QtbGlzdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9tdWx0aS1zZWxlY3QtbGlzdC9yZWFkLW11bHRpLXNlbGVjdC1saXN0LWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL211bHRpLXNlbGVjdC1saXN0L3JlYWQtbXVsdGktc2VsZWN0LWxpc3QtZmllbGQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDOzs7Ozs7SUNJbkYsQUFERiwwQkFB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