@hmcts/ccd-case-ui-toolkit 7.4.28 → 7.4.29-accessibility-issue
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.
|
@@ -36382,26 +36382,28 @@ class ReadOrganisationFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
36382
36382
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldRawComponent, { className: "ReadOrganisationFieldRawComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field-raw.component.ts", lineNumber: 16 }); })();
|
|
36383
36383
|
|
|
36384
36384
|
function ReadOrganisationFieldTableComponent_table_12_Template(rf, ctx) { if (rf & 1) {
|
|
36385
|
-
i0.ɵɵelementStart(0, "table", 1)
|
|
36386
|
-
i0.ɵɵ
|
|
36387
|
-
i0.ɵɵelementStart(
|
|
36388
|
-
i0.ɵɵ
|
|
36385
|
+
i0.ɵɵelementStart(0, "table", 1);
|
|
36386
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
36387
|
+
i0.ɵɵelementStart(2, "tr", 6);
|
|
36388
|
+
i0.ɵɵelement(3, "th", 7);
|
|
36389
|
+
i0.ɵɵelementStart(4, "td", 8)(5, "span", 4);
|
|
36390
|
+
i0.ɵɵtext(6);
|
|
36389
36391
|
i0.ɵɵelementEnd()();
|
|
36390
|
-
i0.ɵɵelementStart(
|
|
36391
|
-
i0.ɵɵtext(
|
|
36392
|
+
i0.ɵɵelementStart(7, "td")(8, "span", 4);
|
|
36393
|
+
i0.ɵɵtext(9);
|
|
36392
36394
|
i0.ɵɵelementEnd()()();
|
|
36393
|
-
i0.ɵɵelementStart(
|
|
36394
|
-
i0.ɵɵelement(
|
|
36395
|
-
i0.ɵɵelementStart(
|
|
36396
|
-
i0.ɵɵtext(
|
|
36395
|
+
i0.ɵɵelementStart(10, "tr", 6);
|
|
36396
|
+
i0.ɵɵelement(11, "th", 7);
|
|
36397
|
+
i0.ɵɵelementStart(12, "td", 8)(13, "span", 4);
|
|
36398
|
+
i0.ɵɵtext(14);
|
|
36397
36399
|
i0.ɵɵelementEnd()();
|
|
36398
|
-
i0.ɵɵelementStart(
|
|
36399
|
-
i0.ɵɵelement(
|
|
36400
|
+
i0.ɵɵelementStart(15, "td");
|
|
36401
|
+
i0.ɵɵelement(16, "ccd-markdown", 9);
|
|
36400
36402
|
i0.ɵɵelementEnd()()();
|
|
36401
36403
|
} if (rf & 2) {
|
|
36402
36404
|
const selectedOrg_r1 = ctx.ngIf;
|
|
36403
|
-
i0.ɵɵattribute("aria-
|
|
36404
|
-
i0.ɵɵadvance(
|
|
36405
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 5, "selected organisation field table"));
|
|
36406
|
+
i0.ɵɵadvance(6);
|
|
36405
36407
|
i0.ɵɵtextInterpolate("Name:");
|
|
36406
36408
|
i0.ɵɵadvance(3);
|
|
36407
36409
|
i0.ɵɵtextInterpolate(selectedOrg_r1.name);
|
|
@@ -36437,12 +36439,12 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
36437
36439
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
36438
36440
|
i0.ɵɵelementEnd()()()();
|
|
36439
36441
|
i0.ɵɵelementStart(11, "td");
|
|
36440
|
-
i0.ɵɵtemplate(12, ReadOrganisationFieldTableComponent_table_12_Template,
|
|
36442
|
+
i0.ɵɵtemplate(12, ReadOrganisationFieldTableComponent_table_12_Template, 17, 7, "table", 5);
|
|
36441
36443
|
i0.ɵɵpipe(13, "async");
|
|
36442
36444
|
i0.ɵɵelementEnd()()()()();
|
|
36443
36445
|
} if (rf & 2) {
|
|
36444
36446
|
i0.ɵɵadvance();
|
|
36445
|
-
i0.ɵɵattribute("aria-
|
|
36447
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "complex organisation field table"));
|
|
36446
36448
|
i0.ɵɵadvance(8);
|
|
36447
36449
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 5, ctx.caseField.label));
|
|
36448
36450
|
i0.ɵɵadvance(3);
|
|
@@ -36451,7 +36453,7 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
36451
36453
|
}
|
|
36452
36454
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrganisationFieldTableComponent, [{
|
|
36453
36455
|
type: Component,
|
|
36454
|
-
args: [{ selector: 'ccd-read-organisation-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <table class=\"complex-field-table\" [attr.aria-
|
|
36456
|
+
args: [{ selector: 'ccd-read-organisation-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <table class=\"complex-field-table\" [attr.aria-label]=\"'complex organisation field table' | rpxTranslate\">\n <tbody>\n <tr>\n <th class=\"complex-field-title\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n </dl>\n </th>\n <td>\n <table class=\"complex-field-table\" *ngIf=\"(selectedOrg$ | async) as selectedOrg\"\n [attr.aria-label]=\"'selected organisation field table' | rpxTranslate\">\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Name:'}}</span></td>\n <td><span class=\"text-16\">{{selectedOrg.name}}</span></td>\n </tr>\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Address:'}}</span></td>\n <td>\n <ccd-markdown [content]=\"selectedOrg.address\"></ccd-markdown>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.hmcts-banner{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner .warning-message{font-weight:700}.govuk-hint{font-size:1.1rem}.name-header{font-weight:700;margin-top:10px;font-size:18px}.td-address{width:90%;padding-top:2px}.td-select{width:10%}.warning-panel{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel .warning-message{padding-left:15px}.complex-field-table>tbody>tr>th{border:none}.complex-field-table>tbody>tr:last-child>th,.complex-field-table>tbody>tr:last-child>td{border-bottom:none}.complex-field-title{width:300px}.label-width-small{width:100px}.label-width-medium{width:150px}.scroll-container{height:600px;overflow-y:scroll}.no-result-message{margin-top:15px}\n"] }]
|
|
36455
36457
|
}], () => [{ type: OrganisationService }, { type: OrganisationConverter }], { caseFields: [{
|
|
36456
36458
|
type: Input
|
|
36457
36459
|
}] }); })();
|