@hmcts/ccd-case-ui-toolkit 7.4.28-accessibility-issue → 7.4.28-accessibility-issue.1
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,25 +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",
|
|
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.ɵɵ
|
|
36405
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 5, "selected organisation field table"));
|
|
36406
|
+
i0.ɵɵadvance(6);
|
|
36404
36407
|
i0.ɵɵtextInterpolate("Name:");
|
|
36405
36408
|
i0.ɵɵadvance(3);
|
|
36406
36409
|
i0.ɵɵtextInterpolate(selectedOrg_r1.name);
|
|
@@ -36428,7 +36431,7 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
36428
36431
|
}
|
|
36429
36432
|
}
|
|
36430
36433
|
static ɵfac = function ReadOrganisationFieldTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadOrganisationFieldTableComponent)(i0.ɵɵdirectiveInject(OrganisationService), i0.ɵɵdirectiveInject(OrganisationConverter)); };
|
|
36431
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 9, consts: [[1, "complex-panel"], [1, "complex-field-table"], [1, "complex-field-title"], [1, "complex-panel-title"], [1, "text-16"], ["class", "complex-field-table",
|
|
36434
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 9, consts: [[1, "complex-panel"], [1, "complex-field-table"], [1, "complex-field-title"], [1, "complex-panel-title"], [1, "text-16"], ["class", "complex-field-table", 4, "ngIf"], [1, "complex-panel-compound-field"], [2, "display", "none"], [1, "label-width-medium"], [3, "content"]], template: function ReadOrganisationFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36432
36435
|
i0.ɵɵelementStart(0, "div", 0)(1, "table", 1);
|
|
36433
36436
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36434
36437
|
i0.ɵɵelementStart(3, "tbody")(4, "tr")(5, "th", 2)(6, "dl", 3)(7, "dt")(8, "span", 4);
|
|
@@ -36436,7 +36439,7 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
36436
36439
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
36437
36440
|
i0.ɵɵelementEnd()()()();
|
|
36438
36441
|
i0.ɵɵelementStart(11, "td");
|
|
36439
|
-
i0.ɵɵtemplate(12, ReadOrganisationFieldTableComponent_table_12_Template,
|
|
36442
|
+
i0.ɵɵtemplate(12, ReadOrganisationFieldTableComponent_table_12_Template, 17, 7, "table", 5);
|
|
36440
36443
|
i0.ɵɵpipe(13, "async");
|
|
36441
36444
|
i0.ɵɵelementEnd()()()()();
|
|
36442
36445
|
} if (rf & 2) {
|
|
@@ -36450,7 +36453,7 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
36450
36453
|
}
|
|
36451
36454
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrganisationFieldTableComponent, [{
|
|
36452
36455
|
type: Component,
|
|
36453
|
-
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 aria-label=\"selected organisation field table\">\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"] }]
|
|
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"] }]
|
|
36454
36457
|
}], () => [{ type: OrganisationService }, { type: OrganisationConverter }], { caseFields: [{
|
|
36455
36458
|
type: Input
|
|
36456
36459
|
}] }); })();
|