@hmcts/rpx-xui-common-lib 1.7.13-task-name-filter → 1.7.14-welsh-release-part1
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-rpx-xui-common-lib.umd.js +44 -284
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +25 -27
- package/esm2015/lib/components/accessibility/accessibility.component.js +2 -2
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +2 -22
- package/esm2015/lib/exui-common-lib.module.js +4 -4
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +2 -5
- package/esm2015/lib/models/filter.model.js +1 -5
- package/esm5/hmcts-rpx-xui-common-lib.js +25 -27
- package/esm5/lib/components/accessibility/accessibility.component.js +2 -2
- package/esm5/lib/components/generic-filter/generic-filter.component.js +2 -27
- package/esm5/lib/exui-common-lib.module.js +4 -4
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +2 -5
- package/esm5/lib/models/filter.model.js +1 -5
- package/fesm2015/hmcts-rpx-xui-common-lib.js +8 -229
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +8 -252
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.d.ts +24 -26
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/generic-filter/generic-filter.component.d.ts +0 -1
- package/lib/exui-common-lib.module.d.ts +1 -2
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +0 -1
- package/lib/models/filter.model.d.ts +1 -3
- package/package.json +1 -1
- package/esm2015/lib/components/find-task-name/find-task-name.component.js +0 -228
- package/esm2015/lib/models/task-name.model.js +0 -16
- package/esm2015/lib/services/task-name/task-name.service.js +0 -65
- package/esm5/lib/components/find-task-name/find-task-name.component.js +0 -243
- package/esm5/lib/models/task-name.model.js +0 -16
- package/esm5/lib/services/task-name/task-name.service.js +0 -70
- package/lib/components/find-task-name/find-task-name.component.d.ts +0 -41
- package/lib/models/task-name.model.d.ts +0 -4
- package/lib/services/task-name/task-name.service.d.ts +0 -13
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/material'), require('@angular/material/autocomplete'), require('ngx-pagination'), require('@angular/common/http'), require('@angular/forms'), require('launchdarkly-js-client-sdk'), require('@angular/common'), require('@angular/platform-browser'), require('@ng-idle/core'), require('@ng-idle/keepalive'), require('@angular/router'), require('@angular/core'), require('rxjs'), require('rxjs/operators')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@hmcts/rpx-xui-common-lib', ['exports', '@angular/material', '@angular/material/autocomplete', 'ngx-pagination', '@angular/common/http', '@angular/forms', 'launchdarkly-js-client-sdk', '@angular/common', '@angular/platform-browser', '@ng-idle/core', '@ng-idle/keepalive', '@angular/router', '@angular/core', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
-
(factory((global.hmcts = global.hmcts || {}, global.hmcts['rpx-xui-common-lib'] = {}),global.ng.material,global.ng.material.autocomplete,global.ngxPagination,global.ng.common.http,global.ng.forms,global.LDClient,global.ng.common,global.ng.platformBrowser,global.i1$1,global.i2$1,global.ng.router,global.ng.core,global.rxjs,global.rxjs.operators));
|
|
5
|
-
}(this, (function (exports,material,autocomplete,ngxPagination,i1,forms,LDClient,i4,i2,i1$1,i2$1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/material'), require('@angular/material/autocomplete'), require('ngx-pagination'), require('rpx-xui-translation'), require('@angular/common/http'), require('@angular/forms'), require('launchdarkly-js-client-sdk'), require('@angular/common'), require('@angular/platform-browser'), require('@ng-idle/core'), require('@ng-idle/keepalive'), require('@angular/router'), require('@angular/core'), require('rxjs'), require('rxjs/operators')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@hmcts/rpx-xui-common-lib', ['exports', '@angular/material', '@angular/material/autocomplete', 'ngx-pagination', 'rpx-xui-translation', '@angular/common/http', '@angular/forms', 'launchdarkly-js-client-sdk', '@angular/common', '@angular/platform-browser', '@ng-idle/core', '@ng-idle/keepalive', '@angular/router', '@angular/core', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
+
(factory((global.hmcts = global.hmcts || {}, global.hmcts['rpx-xui-common-lib'] = {}),global.ng.material,global.ng.material.autocomplete,global.ngxPagination,global.rpxXuiTranslation,global.ng.common.http,global.ng.forms,global.LDClient,global.ng.common,global.ng.platformBrowser,global.i1$1,global.i2$1,global.ng.router,global.ng.core,global.rxjs,global.rxjs.operators));
|
|
5
|
+
}(this, (function (exports,material,autocomplete,ngxPagination,rpxXuiTranslation,i1,forms,LDClient,i4,i2,i1$1,i2$1,i1$2,i0,rxjs,operators) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @fileoverview added by tsickle
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
AccessibilityComponent.decorators = [
|
|
16
16
|
{ type: i0.Component, args: [{
|
|
17
17
|
selector: 'xuilib-accessibility',
|
|
18
|
-
template: "<h1 class=\"govuk-heading-xl\" id=\"Accessibility-statement-for-Expert-UI\">Accessibility statement for Expert UI</h1>\n\n<ul class=\"govuk-list\">\n <li><a href=\"accessibility#immigration\">Immigration and Asylum</a></li>\n <li><a href=\"accessibility#family\">Family Public Law </a></li>\n</ul>\n\n<p class=\"govuk-body\">This website is run by HM Courts & Tribunals Service. We want as many people as possible to be\n able to use this website. For example, you should be able to:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>change colours, contrast levels and fonts</li>\n <li>zoom in up to 300% without the text spilling off the screen</li>\n <li>navigate most of the website using just a keyboard</li>\n <li>navigate most of the website using speech recognition software</li>\n <li>listen to most of the website using a screen reader (including the most recent versions of JAWS, NVDA and\n VoiceOver)\n </li>\n</ul>\n\n<p class=\"govuk-body\">We\u2019ve also made the website text as simple as possible to understand.</p>\n\n<p class=\"govuk-body\"><a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https://mcmw.abilitynet.org.uk/\">AbilityNet</a>\n has advice on making your device easier to use if you have a disability.</p>\n\n<h2 class=\"govuk-heading-l\" id=\"How-accessible-this-website-is\">How accessible this website is</h2>\n\n<p class=\"govuk-body\">We know some parts of the website are not fully accessible:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>some pages are difficult to navigate using just a keyboard</li>\n <li>some pages can\u2019t be listened to in full using a screen reader</li>\n <li>some pages have problems with colour contrasts between text and background</li>\n <li>some PDFs may not be fully accessible to a screen reader</li>\n</ul>\n\n<h2 class=\"govuk-heading-l\" id=\"What-to-do-if-you-cannot-access-parts-of-this-website\">Feedback and contact\n information</h2>\n\n<p class=\"govuk-body\">If you need information on this website in a different format like accessible PDF, large print,\n easy read, audio recording or braille, you can:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>email: <a href=\"mailto:HMCTSforms@justice.gov.uk\"> HMCTSforms@justice.gov.uk</a></li>\n <li>call: +44 (0) 300 123 1711</li>\n <li>contact your service representative</li>\n</ul>\n\n<p class=\"govuk-body\">We\u2019ll consider your request and get back to you in 10 working days.</p>\n\n<h2 class=\"govuk-heading-l\" id=\"Reporting-accessibility-problems-with-this-website\">Reporting accessibility problems\n with this website</h2>\n\n<p class=\"govuk-body\">We\u2019re always looking to improve the accessibility of this website. If you find any problems not\n listed on this page or think we\u2019re not meeting accessibility requirements, contact:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>email: <a href=\"mailto:customer.service@justice.gov.uk\"> customer.service@justice.gov.uk</a></li>\n <li>telephone: +44 (0) 300 123 1711</li>\n</ul>\n\n<h2 class=\"govuk-heading-l\" id=\"Enforcement-procedure \">Enforcement procedure</h2>\n\n<p class=\"govuk-body\">The Equality and Human Rights Commission (EHRC) is responsible for enforcing the Public Sector\n Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 (the \u2018accessibility\n regulations\u2019). </p>\n\n<p class=\"govuk-body\">If you\u2019re not happy with how we respond to your complaint, <a rel=\"noopener noreferrer\"\n target=\"_blank\"\n href=\"https://www.equalityadvisoryservice.com/\">contact\n the Equality Advisory and Support Service (EASS).</a></p>\n\n<h1 class=\"govuk-heading-l\" id=\"Contacting-us-by-phone-or-visiting-us-in-person\">Contacting us by phone or visiting us\n in person</h1>\n\n<p class=\"govuk-body\">We provide a text relay service for people who are D/deaf, hearing impaired or have a speech\n impediment.</p>\n\n<p class=\"govuk-body\">Our offices and tribunal venues have audio induction loops, or if you contact us before your visit\n we can arrange a British Sign Language (BSL) interpreter. You can also request step-free access or a foreign language\n interpreter.</p>\n\n<p class=\"govuk-body\">If you have a question about accessibility in our Tribunal venues, you can contact the First-tier\n Tribunal enquiry line: +44 (0) 300 123 1711. You can <a target=\"_blank\"\n href=\"https://courttribunalfinder.service.gov.uk/search/\">find\n the contact details for court and tribunal venues</a>. </p>\n\n<p class=\"govuk-body\">You can also contact your service representative for more information.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"Technical-information-about-this-website\u2019s-accessibility\">Technical information about\n this website\u2019s accessibility</h1>\n\n<p class=\"govuk-body\">HMCTS is committed to making its website accessible, in accordance with the Public Sector Bodies\n (Websites and Mobile Applications) (No.2) Accessibility Regulations 2018.</p>\n\n<p class=\"govuk-body\">This website is partially compliant with the <a rel=\"noopener noreferrer\" target=\"_blank\"\n href=\"https://www.w3.org/TR/WCAG21/\">Web Content\n Accessibility Guidelines version 2.1</a>, due to the non-compliances listed below.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"Non-accessible-content\">Non-accessible content </h1>\n\n<p class=\"govuk-body\">The content listed below is non-compliant for the following reasons.</p>\n\n<h2 class=\"govuk-heading-l\" id=\"Non-compliance-with-the-accessibility-regulations\">Non-compliance with the accessibility\n regulations</h2>\n\n<p class=\"govuk-body\">Some pages cannot be navigated completely using just a keyboard, so some people won\u2019t be able to\n tab through the pages. This fails WCAG 2.1 success criterion 2.1 (keyboard accessible).</p>\n\n<p class=\"govuk-body\">Some pages can\u2019t be listened to in full using a screen reader, so some people won\u2019t be able to\n access the information. This fails WCAG 2.1 success criterion 1.2.5 (audio description \u2013 prerecorded).</p>\n\n<p class=\"govuk-body\">Some of the contrast ratios don\u2019t meet the current accessibility requirements. This fails WCAG 2.1\n success criterion 1.4.3 (contrast \u2013 minimum).</p>\n\n<h3 class=\"govuk-heading-m\" id=\"immigration\">Immigration and Asylum</h3>\n\n<p class=\"govuk-body\">Some of the images on the service include text and are not accessible for some low vision users.\n We have identified a solution for this issue that we will implement as soon as possible.</p>\n\n<h3 class=\"govuk-heading-m\" id=\"family\">Family Public Law </h3>\n\n<ol class=\"govuk-list govuk-list--alpha\">\n <li>The navigation system used in family public law cannot be rendered well by screen readers, so features can\u2019t be\n listened to in full\n </li>\n <li>Some essential functions within the family public law digital service cannot be accessed properly using screen\n readers\n </li>\n <li>Some complex forms within the service will not be rendered correctly or cannot be listened to by screen readers\n </li>\n</ol>\n\n<h2 class=\"govuk-heading-m\" id=\"Disproportionate burden \">Disproportionate burden </h2>\n\n<p class=\"govuk-body\">For Manage organisation, Register organisation, Approve organisations and Manage cases, we found\n the following issues that are currently being triaged to find out if there is a disproportionate burden:</p>\n\n<ol class=\"govuk-list govuk-list--alpha\">\n <li>Screen readers can\u2019t switch between headers, read content in tabs and buttons</li>\n <li>Screen readers can\u2019t tab between radio buttons, read links or content</li>\n <li>Colour contrast ratios uneven between page background and content</li>\n <li>Some labels, fields, error messages and other content can\u2019t be clearly identified by screen readers and voice\n activation software\n </li>\n <li>Some page headings and titles don\u2019t follow a logical structure for screen readers</li>\n <li>The navigation of some pages isn\u2019t clear</li>\n <li>Some headings, links and button labels aren\u2019t clearly descriptive</li>\n</ol>\n\n<h2 class=\"govuk-heading-m\" id=\"Content-that\u2019s-not-within-the-scope-of-the-accessibility-regulations\">Content that\u2019s not\n within the scope of the accessibility regulations </h2>\n\n<p class=\"govuk-body\">PDFs, documents and attachments to email notifications published before 23 September 2018 may not\n meet accessibility standards. For example, they may not be structured so they\u2019re accessible to a screen reader.</p>\n\n<p class=\"govuk-body\">Any new PDFs or Word documents we publish will meet accessibility standards.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"what-to-improve-accessibility\">What we\u2019re doing to improve accessibility</h1>\n\n<p class=\"govuk-body\">We\u2019re committed to ensuring our services are accessible to all our users and that they comply with\n level AA of the Web Content Accessibility Guidelines \u2013 WCAG 2.1.</p>\n\n<p class=\"govuk-body\">We\u2019re actively working to improve the identified issues and make them AA-compliant by 23 September\n 2020. We\u2019re also continuing to improve all other AAA-level accessibility issues as we iterate the service.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"preparation-of-this-accessibility-statement\">Preparation of this accessibility\n statement</h1>\n\n<p class=\"govuk-body\">This statement was prepared on 16 September 2019. It was last reviewed on 16 September 2020.</p>\n\n<p class=\"govuk-body\">This website was last tested on 19 May 2020. The test was carried out by the <a target=\"_blank\"\n href=\"https://digitalaccessibilitycentre.org/\">Digital\n Accessibility Centre (DAC)</a>.</p>\n",
|
|
18
|
+
template: "<h1 class=\"govuk-heading-xl\" id=\"Accessibility-statement-for-Expert-UI\">Accessibility statement for Expert UI</h1>\n\n<ul class=\"govuk-list\">\n <li><a href=\"accessibility#immigration\">Immigration and Asylum</a></li>\n <li><a href=\"accessibility#family\">Family Public Law </a></li>\n</ul>\n\n<p class=\"govuk-body\">This website is run by HM Courts & Tribunals Service. We want as many people as possible to be\n able to use this website. For example, you should be able to:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>change colours, contrast levels and fonts</li>\n <li>zoom in up to 300% without the text spilling off the screen</li>\n <li>navigate most of the website using just a keyboard</li>\n <li>navigate most of the website using speech recognition software</li>\n <li>listen to most of the website using a screen reader (including the most recent versions of JAWS, NVDA and\n VoiceOver)\n </li>\n</ul>\n\n<p class=\"govuk-body\">We\u2019ve also made the website text as simple as possible to understand.</p>\n\n<p class=\"govuk-body\"><a rel=\"noopener noreferrer\" target=\"_blank\" href=\"https://mcmw.abilitynet.org.uk/\">AbilityNet</a>\n has advice on making your device easier to use if you have a disability.</p>\n\n<h2 class=\"govuk-heading-l\" id=\"How-accessible-this-website-is\">How accessible this website is</h2>\n\n<p class=\"govuk-body\">We know some parts of the website are not fully accessible:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>some pages are difficult to navigate using just a keyboard</li>\n <li>some pages can\u2019t be listened to in full using a screen reader</li>\n <li>some pages have problems with colour contrasts between text and background</li>\n <li>some PDFs may not be fully accessible to a screen reader</li>\n</ul>\n\n<h2 class=\"govuk-heading-l\" id=\"What-to-do-if-you-cannot-access-parts-of-this-website\">Feedback and contact\n information</h2>\n\n<p class=\"govuk-body\">If you need information on this website in a different format like accessible PDF, large print,\n easy read, audio recording or braille, you can:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>email: <a href=\"mailto:HMCTSforms@justice.gov.uk\"> HMCTSforms@justice.gov.uk</a></li>\n <li>call: +44 (0) 300 123 1711</li>\n <li>contact your service representative</li>\n</ul>\n\n<p class=\"govuk-body\">We\u2019ll consider your request and get back to you in 10 working days.</p>\n\n<h2 class=\"govuk-heading-l\" id=\"Reporting-accessibility-problems-with-this-website\">Reporting accessibility problems\n with this website</h2>\n\n<p class=\"govuk-body\">We\u2019re always looking to improve the accessibility of this website. If you find any problems not\n listed on this page or think we\u2019re not meeting accessibility requirements, contact:</p>\n\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>email: <a href=\"mailto:customer.service@justice.gov.uk\"> customer.service@justice.gov.uk</a></li>\n <li>telephone: +44 (0) 300 123 1711</li>\n</ul>\n\n<h2 class=\"govuk-heading-l\" id=\"Enforcement-procedure \">Enforcement procedure</h2>\n\n<p class=\"govuk-body\">The Equality and Human Rights Commission (EHRC) is responsible for enforcing the Public Sector\n Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 (the \u2018accessibility\n regulations\u2019). </p>\n\n<p class=\"govuk-body\">If you\u2019re not happy with how we respond to your complaint, <a rel=\"noopener noreferrer\"\n target=\"_blank\"\n href=\"https://www.equalityadvisoryservice.com/\">contact\n the Equality Advisory and Support Service (EASS).</a></p>\n\n<h1 class=\"govuk-heading-l\" id=\"Contacting-us-by-phone-or-visiting-us-in-person\">Contacting us by phone or visiting us\n in person</h1>\n\n<p class=\"govuk-body\">We provide a text relay service for people who are D/deaf, hearing impaired or have a speech\n impediment.</p>\n\n<p class=\"govuk-body\">Our offices and tribunal venues have audio induction loops, or if you contact us before your visit\n we can arrange a British Sign Language (BSL) interpreter. You can also request step-free access or a foreign language\n interpreter.</p>\n\n<p class=\"govuk-body\">If you have a question about accessibility in our Tribunal venues, you can contact the First-tier\n Tribunal enquiry line: +44 (0) 300 123 1711. You can <a target=\"_blank\"\n href=\"https://courttribunalfinder.service.gov.uk/search/\">find\n the contact details for court and tribunal venues</a>. </p>\n\n<p class=\"govuk-body\">You can also contact your service representative for more information.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"Technical-information-about-this-website\u2019s-accessibility\">Technical information about\n this website\u2019s accessibility</h1>\n\n<p class=\"govuk-body\">HMCTS is committed to making its website accessible, in accordance with the Public Sector Bodies\n (Websites and Mobile Applications) (No.2) Accessibility Regulations 2018.</p>\n\n<p class=\"govuk-body\">This website is partially compliant with the <a rel=\"noopener noreferrer\" target=\"_blank\"\n href=\"https://www.w3.org/TR/WCAG21/\">Web Content\n Accessibility Guidelines version 2.1</a>, due to the non-compliances listed below.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"Non-accessible-content\">Non-accessible content </h1>\n\n<p class=\"govuk-body\">The content listed below is non-compliant for the following reasons.</p>\n\n<h2 class=\"govuk-heading-l\" id=\"Non-compliance-with-the-accessibility-regulations\">Non-compliance with the accessibility\n regulations</h2>\n\n<p class=\"govuk-body\">Some pages cannot be navigated completely using just a keyboard, so some people won\u2019t be able to\n tab through the pages. This fails WCAG 2.1 success criterion 2.1 (keyboard accessible).</p>\n\n<p class=\"govuk-body\">Some pages can\u2019t be listened to in full using a screen reader, so some people won\u2019t be able to\n access the information. This fails WCAG 2.1 success criterion 1.2.5 (audio description \u2013 prerecorded).</p>\n\n<p class=\"govuk-body\">Some of the contrast ratios don\u2019t meet the current accessibility requirements. This fails WCAG 2.1\n success criterion 1.4.3 (contrast \u2013 minimum).</p>\n\n<h3 class=\"govuk-heading-m\" id=\"immigration\">Immigration and Asylum</h3>\n\n<p class=\"govuk-body\">Some of the images on the service include text and are not accessible for some low vision users.\n We have identified a solution for this issue that we will implement as soon as possible.</p>\n\n<h3 class=\"govuk-heading-m\" id=\"family\">Family Public Law </h3>\n\n<ol class=\"govuk-list govuk-list--alpha\">\n <li>The navigation system used in family public law cannot be rendered well by screen readers, so features can\u2019t be\n listened to in full\n </li>\n <li>Some essential functions within the family public law digital service cannot be accessed properly using screen\n readers\n </li>\n <li>Some complex forms within the service will not be rendered correctly or cannot be listened to by screen readers\n </li>\n</ol>\n\n<h2 class=\"govuk-heading-m\" id=\"Disproportionate burden \">Disproportionate burden </h2>\n\n<p class=\"govuk-body\">For Manage organisation, Register organisation, Approve organisations and Manage cases, we found\n the following issues that are currently being triaged to find out if there is a disproportionate burden:</p>\n\n<ol class=\"govuk-list govuk-list--alpha\">\n <li>Screen readers can\u2019t switch between headers, read content in tabs and buttons</li>\n <li>Screen readers can\u2019t tab between radio buttons, read links or content</li>\n <li>Colour contrast ratios uneven between page background and content</li>\n <li>Some labels, fields, error messages and other content can\u2019t be clearly identified by screen readers and voice\n activation software\n </li>\n <li>Some page headings and titles don\u2019t follow a logical structure for screen readers</li>\n <li>The navigation of some pages isn\u2019t clear</li>\n <li>Some headings, links and button labels aren\u2019t clearly descriptive</li>\n</ol>\n\n<h2 class=\"govuk-heading-m\" id=\"Content-that\u2019s-not-within-the-scope-of-the-accessibility-regulations\">Content that\u2019s not\n within the scope of the accessibility regulations </h2>\n\n<p class=\"govuk-body\">PDFs, documents and attachments to email notifications published before 23 September 2018 may not\n meet accessibility standards. For example, they may not be structured so they\u2019re accessible to a screen reader.</p>\n\n<p class=\"govuk-body\">Any new PDFs or Word documents we publish will meet accessibility standards.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"what-to-improve-accessibility\">What we\u2019re doing to improve accessibility</h1>\n\n<p class=\"govuk-body\">We\u2019re committed to ensuring our services are accessible to all our users and that they comply with\n level AA of the Web Content Accessibility Guidelines \u2013 WCAG 2.1.</p>\n\n<p class=\"govuk-body\">We\u2019re actively working to improve the identified issues and make them AA-compliant by 23 September\n 2020. We\u2019re also continuing to improve all other AAA-level accessibility issues as we iterate the service.</p>\n\n<h1 class=\"govuk-heading-l\" id=\"preparation-of-this-accessibility-statement\">Preparation of this accessibility\n statement</h1>\n\n<p class=\"govuk-body\">This statement was prepared on 16 September 2019. It was last reviewed on 16 September 2020.</p>\n\n<p class=\"govuk-body\">This website was last tested on 19 May 2020. The test was carried out by the <a target=\"_blank\"\n href=\"https://digitalaccessibilitycentre.org/\">Digital\n Accessibility Centre (DAC)</a>.</p>\n\n<h3 class=\"govuk-heading-m\">Family Private Law:</h3>\n\n<p class=\"govuk-body\">This service has not yet been tested for accessibility issues. In the future, we will conduct an\n accessibility audit in order to find out if there are any accessibility issues. The accessibility statement will be\n updated with any relevant changes that we find.</p>\n\n<p class=\"govuk-body\">If there are any issues with accessing information or using this website please contact:</p>\n\n<ol class=\"govuk-list govuk-list--bullet\">\n <li>Nicola Whitcher - 02380 384324</li>\n <li>Hannah Townley - 02380 384313</li>\n</ol>",
|
|
19
19
|
styles: [".govuk-list--alpha{padding-left:20px;list-style-type:lower-alpha}"]
|
|
20
20
|
}] }
|
|
21
21
|
];
|
|
@@ -1186,31 +1186,6 @@
|
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
1188
|
};
|
|
1189
|
-
/**
|
|
1190
|
-
* @param {?} values
|
|
1191
|
-
* @param {?} field
|
|
1192
|
-
* @return {?}
|
|
1193
|
-
*/
|
|
1194
|
-
GenericFilterComponent.prototype.updateTaskNameControls = /**
|
|
1195
|
-
* @param {?} values
|
|
1196
|
-
* @param {?} field
|
|
1197
|
-
* @return {?}
|
|
1198
|
-
*/
|
|
1199
|
-
function (values, field) {
|
|
1200
|
-
// let keys;
|
|
1201
|
-
// if (!values) {
|
|
1202
|
-
// keys = Object.keys(this.form.get(field.name).value);
|
|
1203
|
-
// } else {
|
|
1204
|
-
// keys = Object.keys(values);
|
|
1205
|
-
// }
|
|
1206
|
-
// for (const key of keys) {
|
|
1207
|
-
// if (this.form.get(field.name) && this.form.get(field.name).get(key)) {
|
|
1208
|
-
// const value = values && values[key] ? values[key] : null;
|
|
1209
|
-
// this.form.get(field.name).get(key).patchValue(value);
|
|
1210
|
-
// }
|
|
1211
|
-
// }
|
|
1212
|
-
this.form.get(field.name).patchValue(values);
|
|
1213
|
-
};
|
|
1214
1189
|
/**
|
|
1215
1190
|
* @param {?} event
|
|
1216
1191
|
* @param {?} form
|
|
@@ -1670,7 +1645,7 @@
|
|
|
1670
1645
|
GenericFilterComponent.decorators = [
|
|
1671
1646
|
{ type: i0.Component, args: [{
|
|
1672
1647
|
selector: 'xuilib-generic-filter',
|
|
1673
|
-
template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n <div class=\"contain-classes\" *ngFor=\"let field of config.fields\">\n <hr *ngIf=\"field.lineBreakBefore\" class=\"govuk-section-break govuk-section-break--visible elevated-break\">\n <div class=\"govuk-form-group xui-generic-filter\"\n [hidden]=\"hidden(field, form)\"\n [id]=\"field.name\"\n [ngClass]=\"{'form-group-error': submitted && (form.get(field.name).errors?.minLength || form.get(field.name).errors?.maxLength)}\">\n <h3 *ngIf=\"field.title\" class=\"govuk-heading-s\">{{field.title}}</h3>\n <p class=\"govuk-body\" *ngIf=\"field.subTitle\">{{field.subTitle}}</p>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMinSelectedError && submitted && form.get(field.name).errors?.minLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.minSelectedError}}\n </span>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.maxSelectedError}}\n </span>\n <div class=\"govuk-body\" [ngSwitch]=\"field.type\">\n <ng-container *ngSwitchCase=\"'select'\">\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n <option class=\"govuk-radios__item\" *ngFor=\"let item of field.options\" [value]=\"item.key\">{{item.label}}</option>\n </select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox-large'\">\n <div class=\"govuk-checkboxes\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'radio'\">\n <div class=\"govuk-radios\">\n <div *ngFor=\"let item of field.options\" class=\"govuk-radios__item\">\n <input type=\"radio\"\n [formControlName]=\"field.name\"\n [id]=\"'radio_' + item.key\"\n [attr.disabled]=\"disabled(field, form)\"\n [checked]=\"item.key === form.get(field.name).value\"\n class=\"govuk-radios__input\"\n [value]=\"item.key\"\n (change)=\"fieldChanged(field, form)\"\n />\n <label [for]=\"'radio_' + item.key\" class=\"govuk-label govuk-radios__label\">{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-person'\">\n <xuilib-find-person subTitle=\"\" (personSelected)=\"updatePersonControls($event, field)\"\n (personFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findPersonGroup]=\"form\"\n [selectedPerson]=\"form.get(field.name)?.value?.email\"\n [userIncluded]=\"false\"\n ></xuilib-find-person>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-location'\">\n <xuilib-find-location (locationFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle\"\n [enableAddLocationButton]=\"field.enableAddLocationButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [selectedLocations]=\"form.get(field.name)?.value\"\n [submitted]=\"submitted\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [field]=\"field\"\n ></xuilib-find-location>\n </ng-container>\n
|
|
1648
|
+
template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n <div class=\"contain-classes\" *ngFor=\"let field of config.fields\">\n <hr *ngIf=\"field.lineBreakBefore\" class=\"govuk-section-break govuk-section-break--visible elevated-break\">\n <div class=\"govuk-form-group xui-generic-filter\"\n [hidden]=\"hidden(field, form)\"\n [id]=\"field.name\"\n [ngClass]=\"{'form-group-error': submitted && (form.get(field.name).errors?.minLength || form.get(field.name).errors?.maxLength)}\">\n <h3 *ngIf=\"field.title\" class=\"govuk-heading-s\">{{field.title}}</h3>\n <p class=\"govuk-body\" *ngIf=\"field.subTitle\">{{field.subTitle}}</p>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMinSelectedError && submitted && form.get(field.name).errors?.minLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.minSelectedError}}\n </span>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.maxSelectedError}}\n </span>\n <div class=\"govuk-body\" [ngSwitch]=\"field.type\">\n <ng-container *ngSwitchCase=\"'select'\">\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n <option class=\"govuk-radios__item\" *ngFor=\"let item of field.options\" [value]=\"item.key\">{{item.label}}</option>\n </select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox-large'\">\n <div class=\"govuk-checkboxes\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'radio'\">\n <div class=\"govuk-radios\">\n <div *ngFor=\"let item of field.options\" class=\"govuk-radios__item\">\n <input type=\"radio\"\n [formControlName]=\"field.name\"\n [id]=\"'radio_' + item.key\"\n [attr.disabled]=\"disabled(field, form)\"\n [checked]=\"item.key === form.get(field.name).value\"\n class=\"govuk-radios__input\"\n [value]=\"item.key\"\n (change)=\"fieldChanged(field, form)\"\n />\n <label [for]=\"'radio_' + item.key\" class=\"govuk-label govuk-radios__label\">{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-person'\">\n <xuilib-find-person subTitle=\"\" (personSelected)=\"updatePersonControls($event, field)\"\n (personFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findPersonGroup]=\"form\"\n [selectedPerson]=\"form.get(field.name)?.value?.email\"\n [userIncluded]=\"false\"\n ></xuilib-find-person>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-location'\">\n <xuilib-find-location (locationFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle\"\n [enableAddLocationButton]=\"field.enableAddLocationButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [selectedLocations]=\"form.get(field.name)?.value\"\n [submitted]=\"submitted\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [field]=\"field\"\n ></xuilib-find-location>\n </ng-container>\n </div>\n </div>\n </div>\n <hr class=\"govuk-section-break govuk-section-break--m govuk-section-break--visible\"/>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <button\n class=\"govuk-button govuk-!-margin-right-1 govuk-!-margin-bottom-0\"\n type=\"submit\"\n id=\"applyFilter\"\n [disabled]=\"config.enableDisabledButton && form.invalid\"\n >{{config.applyButtonText || 'Apply'}}</button>\n <button *ngIf=\"config.showCancelFilterButton\"\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\"\n type=\"button\"\n id=\"cancelFilter\"\n (click)=\"cancelFilter()\">{{ config.cancelButtonText || 'Cancel'}}</button>\n </div>\n </div>\n</form>\n",
|
|
1674
1649
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1675
1650
|
encapsulation: i0.ViewEncapsulation.None,
|
|
1676
1651
|
styles: [".contain-classes .elevated-break{position:relative;top:-10px}.contain-classes .xui-generic-filter .select-all{margin-bottom:10px}.contain-classes .xui-generic-filter .govuk-checkboxes{display:flex;flex-wrap:wrap}.contain-classes .xui-generic-filter .govuk-checkboxes>div{flex-grow:1;flex-shrink:0}"]
|
|
@@ -5156,218 +5131,6 @@
|
|
|
5156
5131
|
return FindPersonComponent;
|
|
5157
5132
|
}());
|
|
5158
5133
|
|
|
5159
|
-
/**
|
|
5160
|
-
* @fileoverview added by tsickle
|
|
5161
|
-
* Generated from: lib/services/task-name/task-name.service.ts
|
|
5162
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5163
|
-
*/
|
|
5164
|
-
var TaskNameService = /** @class */ (function () {
|
|
5165
|
-
function TaskNameService(http, sessionStorageService) {
|
|
5166
|
-
this.http = http;
|
|
5167
|
-
this.sessionStorageService = sessionStorageService;
|
|
5168
|
-
}
|
|
5169
|
-
/**
|
|
5170
|
-
* @return Observable<any[]>: Array of taskName in Observable
|
|
5171
|
-
*/
|
|
5172
|
-
/**
|
|
5173
|
-
* @return {?} Observable<any[]>: Array of taskName in Observable
|
|
5174
|
-
*/
|
|
5175
|
-
TaskNameService.prototype.getTaskName = /**
|
|
5176
|
-
* @return {?} Observable<any[]>: Array of taskName in Observable
|
|
5177
|
-
*/
|
|
5178
|
-
function () {
|
|
5179
|
-
var _this = this;
|
|
5180
|
-
if (this.sessionStorageService.getItem(TaskNameService.taskNamesKey)) {
|
|
5181
|
-
/** @type {?} */
|
|
5182
|
-
var taskNames = JSON.parse(this.sessionStorageService.getItem(TaskNameService.taskNamesKey));
|
|
5183
|
-
return rxjs.of(( /** @type {?} */(taskNames)));
|
|
5184
|
-
}
|
|
5185
|
-
return this.http.get("/workallocation2/taskNames").pipe(operators.tap(( /**
|
|
5186
|
-
* @param {?} taskNames
|
|
5187
|
-
* @return {?}
|
|
5188
|
-
*/function (taskNames) { return _this.sessionStorageService.setItem(TaskNameService.taskNamesKey, JSON.stringify(taskNames)); })));
|
|
5189
|
-
};
|
|
5190
|
-
TaskNameService.taskNamesKey = 'taskNames';
|
|
5191
|
-
TaskNameService.decorators = [
|
|
5192
|
-
{ type: i0.Injectable, args: [{
|
|
5193
|
-
providedIn: 'root'
|
|
5194
|
-
},] }
|
|
5195
|
-
];
|
|
5196
|
-
/** @nocollapse */
|
|
5197
|
-
TaskNameService.ctorParameters = function () {
|
|
5198
|
-
return [
|
|
5199
|
-
{ type: i1.HttpClient },
|
|
5200
|
-
{ type: SessionStorageService }
|
|
5201
|
-
];
|
|
5202
|
-
};
|
|
5203
|
-
/** @nocollapse */ TaskNameService.ngInjectableDef = i0.defineInjectable({ factory: function TaskNameService_Factory() { return new TaskNameService(i0.inject(i1.HttpClient), i0.inject(SessionStorageService)); }, token: TaskNameService, providedIn: "root" });
|
|
5204
|
-
return TaskNameService;
|
|
5205
|
-
}());
|
|
5206
|
-
|
|
5207
|
-
/**
|
|
5208
|
-
* @fileoverview added by tsickle
|
|
5209
|
-
* Generated from: lib/components/find-task-name/find-task-name.component.ts
|
|
5210
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5211
|
-
*/
|
|
5212
|
-
var FindTaskNameComponent = /** @class */ (function () {
|
|
5213
|
-
function FindTaskNameComponent(cd, taskService) {
|
|
5214
|
-
this.cd = cd;
|
|
5215
|
-
this.taskService = taskService;
|
|
5216
|
-
this.taskNameSelected = new i0.EventEmitter();
|
|
5217
|
-
this.taskNameFieldChanged = new i0.EventEmitter();
|
|
5218
|
-
this.boldTitle = 'Find the task name';
|
|
5219
|
-
this.subTitle = 'Type the name of the task name and select them.';
|
|
5220
|
-
this.domain = PersonRole.ALL;
|
|
5221
|
-
this.findTaskNameGroup = new forms.FormGroup({});
|
|
5222
|
-
this.submitted = true;
|
|
5223
|
-
this.userIncluded = false;
|
|
5224
|
-
this.placeholderContent = '';
|
|
5225
|
-
this.isNoResultsShown = true;
|
|
5226
|
-
this.showUpdatedColor = false;
|
|
5227
|
-
this.selectedTaskNames = [];
|
|
5228
|
-
this.errorMessage = 'You must select a name';
|
|
5229
|
-
this.idValue = '';
|
|
5230
|
-
this.services = ['IA'];
|
|
5231
|
-
this.disabled = null;
|
|
5232
|
-
this.showAutocomplete = false;
|
|
5233
|
-
this.filteredOptions = [];
|
|
5234
|
-
this.minSearchCharacters = 1;
|
|
5235
|
-
this.searchTerm = '';
|
|
5236
|
-
}
|
|
5237
|
-
/**
|
|
5238
|
-
* @return {?}
|
|
5239
|
-
*/
|
|
5240
|
-
FindTaskNameComponent.prototype.ngOnDestroy = /**
|
|
5241
|
-
* @return {?}
|
|
5242
|
-
*/
|
|
5243
|
-
function () {
|
|
5244
|
-
if (this.sub) {
|
|
5245
|
-
this.sub.unsubscribe();
|
|
5246
|
-
}
|
|
5247
|
-
};
|
|
5248
|
-
/**
|
|
5249
|
-
* @return {?}
|
|
5250
|
-
*/
|
|
5251
|
-
FindTaskNameComponent.prototype.ngOnChanges = /**
|
|
5252
|
-
* @return {?}
|
|
5253
|
-
*/
|
|
5254
|
-
function () {
|
|
5255
|
-
var _this = this;
|
|
5256
|
-
this.findTaskNameControl = new forms.FormControl(this.selectedTaskName);
|
|
5257
|
-
this.findTaskNameGroup.addControl('findTaskNameControl', this.findTaskNameControl);
|
|
5258
|
-
this.sub = this.findTaskNameControl.valueChanges
|
|
5259
|
-
.pipe(operators.tap(( /**
|
|
5260
|
-
* @return {?}
|
|
5261
|
-
*/function () { return _this.showAutocomplete = false; })), operators.tap(( /**
|
|
5262
|
-
* @return {?}
|
|
5263
|
-
*/function () { return _this.filteredOptions = []; })), operators.tap(( /**
|
|
5264
|
-
* @param {?} term
|
|
5265
|
-
* @return {?}
|
|
5266
|
-
*/function (term) { return _this.searchTerm = term; })), operators.debounceTime(300), operators.tap(( /**
|
|
5267
|
-
* @param {?} searchTerm
|
|
5268
|
-
* @return {?}
|
|
5269
|
-
*/function (searchTerm) {
|
|
5270
|
-
if (!searchTerm) {
|
|
5271
|
-
_this.taskNameSelected.emit('');
|
|
5272
|
-
}
|
|
5273
|
-
return searchTerm;
|
|
5274
|
-
})),
|
|
5275
|
-
// tap((searchTerm) => typeof searchTerm === 'string' ? this.taskNameSelected.emit('null') : void 0),
|
|
5276
|
-
operators.filter(( /**
|
|
5277
|
-
* @param {?} searchTerm
|
|
5278
|
-
* @return {?}
|
|
5279
|
-
*/function (searchTerm) { return searchTerm && searchTerm.length >= _this.minSearchCharacters; })), operators.mergeMap(( /**
|
|
5280
|
-
* @return {?}
|
|
5281
|
-
*/function () { return _this.getTaskName(); }))).subscribe(( /**
|
|
5282
|
-
* @param {?} taskNameModel
|
|
5283
|
-
* @return {?}
|
|
5284
|
-
*/function (taskNameModel) {
|
|
5285
|
-
_this.filteredOptions = taskNameModel.map(( /**
|
|
5286
|
-
* @param {?} task
|
|
5287
|
-
* @return {?}
|
|
5288
|
-
*/function (task) { return task.taskName; }));
|
|
5289
|
-
if (_this.searchTerm) {
|
|
5290
|
-
_this.filteredOptions = _this.filteredOptions.filter(( /**
|
|
5291
|
-
* @param {?} taskName
|
|
5292
|
-
* @return {?}
|
|
5293
|
-
*/function (taskName) { return taskName.toLocaleLowerCase().includes(_this.searchTerm.toLocaleLowerCase()); })).map(( /**
|
|
5294
|
-
* @param {?} taskName
|
|
5295
|
-
* @return {?}
|
|
5296
|
-
*/function (taskName) { return taskName; }));
|
|
5297
|
-
}
|
|
5298
|
-
_this.cd.detectChanges();
|
|
5299
|
-
}));
|
|
5300
|
-
};
|
|
5301
|
-
/**
|
|
5302
|
-
* @return {?}
|
|
5303
|
-
*/
|
|
5304
|
-
FindTaskNameComponent.prototype.getTaskName = /**
|
|
5305
|
-
* @return {?}
|
|
5306
|
-
*/
|
|
5307
|
-
function () {
|
|
5308
|
-
return this.taskService.getTaskName();
|
|
5309
|
-
};
|
|
5310
|
-
/**
|
|
5311
|
-
* @param {?} selectedTaskName
|
|
5312
|
-
* @return {?}
|
|
5313
|
-
*/
|
|
5314
|
-
FindTaskNameComponent.prototype.onSelectionChange = /**
|
|
5315
|
-
* @param {?} selectedTaskName
|
|
5316
|
-
* @return {?}
|
|
5317
|
-
*/
|
|
5318
|
-
function (selectedTaskName) {
|
|
5319
|
-
if (selectedTaskName) {
|
|
5320
|
-
this.taskNameSelected.emit(selectedTaskName);
|
|
5321
|
-
this.findTaskNameControl.setValue(selectedTaskName);
|
|
5322
|
-
}
|
|
5323
|
-
};
|
|
5324
|
-
/**
|
|
5325
|
-
* @return {?}
|
|
5326
|
-
*/
|
|
5327
|
-
FindTaskNameComponent.prototype.onInput = /**
|
|
5328
|
-
* @return {?}
|
|
5329
|
-
*/
|
|
5330
|
-
function () {
|
|
5331
|
-
this.taskNameFieldChanged.emit();
|
|
5332
|
-
};
|
|
5333
|
-
FindTaskNameComponent.decorators = [
|
|
5334
|
-
{ type: i0.Component, args: [{
|
|
5335
|
-
selector: 'xuilib-find-task-name',
|
|
5336
|
-
template: "<h1 class=\"govuk-heading-l\" *ngIf=\"title && title.length\">\n <span class=\"govuk-caption-l\">{{title}}</span>\n {{boldTitle}}\n</h1>\n<div class=\"govuk-form-group\" [formGroup]=\"findTaskNameGroup\"\n [ngClass]=\"{'form-group-error': findTaskNameGroup.get('findTaskNameControl')?.invalid && submitted}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"sub-title-hint\">\n <div id=\"sub-title-hint\" class=\"govuk-hint\" *ngIf=\"subTitle && subTitle.length\">\n {{subTitle}}\n </div>\n <span id=\"validation-error\" class=\"govuk-error-message\" *ngIf=\"findTaskNameGroup && findTaskNameGroup.errors\">\n <span class=\"govuk-visually-hidden\">Error:</span>{{findTaskNameGroup.errors.error ? findTaskNameGroup.errors.error : errorMessage}}\n </span>\n <input id=\"inputSelectTaskName{{idValue}}\" type=\"text\" aria-label=\"select a task name\"\n formControlName=\"findTaskNameControl\"\n [matAutocomplete]=\"auto\"\n class=\"govuk-input govuk-!-width-one-third\"\n [placeholder]=\"placeholderContent\"\n [attr.disabled]=\"disabled\"\n (input)=\"onInput()\">\n <mat-autocomplete autoActiveFirstOption #auto=\"matAutocomplete\" (optionSelected)=\"onSelectionChange($event.option.value)\">\n <mat-option *ngFor=\"let option of filteredOptions\"\n [value]=\"option\"\n [ngClass]=\"{'hide-autocomplete': !showAutocomplete, 'select-option': showUpdatedColor}\">\n {{ option }}\n </mat-option>\n <mat-option [ngClass]=\"{'select-option': showUpdatedColor}\" *ngIf=\"isNoResultsShown && !filteredOptions.length && showAutocomplete\">No results found</mat-option>\n </mat-autocomplete>\n </fieldset>\n</div>\n",
|
|
5337
|
-
styles: [""]
|
|
5338
|
-
}] }
|
|
5339
|
-
];
|
|
5340
|
-
/** @nocollapse */
|
|
5341
|
-
FindTaskNameComponent.ctorParameters = function () {
|
|
5342
|
-
return [
|
|
5343
|
-
{ type: i0.ChangeDetectorRef },
|
|
5344
|
-
{ type: TaskNameService }
|
|
5345
|
-
];
|
|
5346
|
-
};
|
|
5347
|
-
FindTaskNameComponent.propDecorators = {
|
|
5348
|
-
taskNameSelected: [{ type: i0.Output }],
|
|
5349
|
-
taskNameFieldChanged: [{ type: i0.Output }],
|
|
5350
|
-
title: [{ type: i0.Input }],
|
|
5351
|
-
boldTitle: [{ type: i0.Input }],
|
|
5352
|
-
subTitle: [{ type: i0.Input }],
|
|
5353
|
-
domain: [{ type: i0.Input }],
|
|
5354
|
-
findTaskNameGroup: [{ type: i0.Input }],
|
|
5355
|
-
selectedTaskName: [{ type: i0.Input }],
|
|
5356
|
-
submitted: [{ type: i0.Input }],
|
|
5357
|
-
userIncluded: [{ type: i0.Input }],
|
|
5358
|
-
assignedUser: [{ type: i0.Input }],
|
|
5359
|
-
placeholderContent: [{ type: i0.Input }],
|
|
5360
|
-
isNoResultsShown: [{ type: i0.Input }],
|
|
5361
|
-
showUpdatedColor: [{ type: i0.Input }],
|
|
5362
|
-
selectedTaskNames: [{ type: i0.Input }],
|
|
5363
|
-
errorMessage: [{ type: i0.Input }],
|
|
5364
|
-
idValue: [{ type: i0.Input }],
|
|
5365
|
-
services: [{ type: i0.Input }],
|
|
5366
|
-
disabled: [{ type: i0.Input }]
|
|
5367
|
-
};
|
|
5368
|
-
return FindTaskNameComponent;
|
|
5369
|
-
}());
|
|
5370
|
-
|
|
5371
5134
|
/**
|
|
5372
5135
|
* @fileoverview added by tsickle
|
|
5373
5136
|
* Generated from: lib/components/search-judicials/search-judicials.component.ts
|
|
@@ -6824,8 +6587,7 @@
|
|
|
6824
6587
|
HmctsSubNavigationComponent.decorators = [
|
|
6825
6588
|
{ type: i0.Component, args: [{
|
|
6826
6589
|
selector: 'xuilib-hmcts-sub-navigation',
|
|
6827
|
-
template: "<nav class=\"hmcts-sub-navigation\" attr.aria-label=\"{{label}}\" role=\"navigation\" *ngIf=\"items\">\n <ul class=\"hmcts-sub-navigation__list\">\n <li class=\"hmcts-sub-navigation__item\" *ngFor=\"let item of items\">\n <a data-selector=\"sub-nav-link\" class=\"hmcts-sub-navigation__link\" [routerLink]=\"item.href\"\n [attr.aria-current]=\"item.active ? 'page' : null\">\n {{item.text}}\n
|
|
6828
|
-
styles: [".xui-alert-link__number{font-family:nta,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:.875rem;line-height:1.78571;border-radius:50%;background-color:#1d70b8;color:#fff;font-weight:700;width:25px;height:25px;margin-left:5px;text-align:center;display:inline-block;text-decoration:none}"]
|
|
6590
|
+
template: "<nav class=\"hmcts-sub-navigation\" attr.aria-label=\"{{label}}\" role=\"navigation\" *ngIf=\"items\">\n <ul class=\"hmcts-sub-navigation__list\">\n <li class=\"hmcts-sub-navigation__item\" *ngFor=\"let item of items\">\n <a data-selector=\"sub-nav-link\" class=\"hmcts-sub-navigation__link\" [routerLink]=\"item.href\"\n [attr.aria-current]=\"item.active ? 'page' : null\">\n {{item.text}}\n </a>\n </li>\n </ul>\n</nav>\n"
|
|
6829
6591
|
}] }
|
|
6830
6592
|
];
|
|
6831
6593
|
HmctsSubNavigationComponent.propDecorators = {
|
|
@@ -6918,7 +6680,6 @@
|
|
|
6918
6680
|
FindPersonComponent,
|
|
6919
6681
|
SearchJudicialsComponent,
|
|
6920
6682
|
FindLocationComponent,
|
|
6921
|
-
FindTaskNameComponent,
|
|
6922
6683
|
SearchLocationComponent,
|
|
6923
6684
|
SearchVenueComponent,
|
|
6924
6685
|
PaginationComponent
|
|
@@ -6959,11 +6720,12 @@
|
|
|
6959
6720
|
i4.CommonModule,
|
|
6960
6721
|
forms.FormsModule,
|
|
6961
6722
|
forms.ReactiveFormsModule,
|
|
6962
|
-
|
|
6723
|
+
i1$2.RouterModule.forChild([]),
|
|
6963
6724
|
autocomplete.MatAutocompleteModule,
|
|
6964
6725
|
material.MatTabsModule,
|
|
6965
6726
|
material.MatInputModule,
|
|
6966
|
-
ngxPagination.NgxPaginationModule
|
|
6727
|
+
ngxPagination.NgxPaginationModule,
|
|
6728
|
+
rpxXuiTranslation.RpxTranslationModule.forChild()
|
|
6967
6729
|
],
|
|
6968
6730
|
providers: [
|
|
6969
6731
|
{ provide: windowToken, useFactory: ɵ0 }
|
|
@@ -7186,10 +6948,10 @@
|
|
|
7186
6948
|
FeatureToggleGuard.ctorParameters = function () {
|
|
7187
6949
|
return [
|
|
7188
6950
|
{ type: FeatureToggleService },
|
|
7189
|
-
{ type:
|
|
6951
|
+
{ type: i1$2.Router }
|
|
7190
6952
|
];
|
|
7191
6953
|
};
|
|
7192
|
-
/** @nocollapse */ FeatureToggleGuard.ngInjectableDef = i0.defineInjectable({ factory: function FeatureToggleGuard_Factory() { return new FeatureToggleGuard(i0.inject(FeatureToggleService), i0.inject(
|
|
6954
|
+
/** @nocollapse */ FeatureToggleGuard.ngInjectableDef = i0.defineInjectable({ factory: function FeatureToggleGuard_Factory() { return new FeatureToggleGuard(i0.inject(FeatureToggleService), i0.inject(i1$2.Router)); }, token: FeatureToggleGuard, providedIn: "root" });
|
|
7193
6955
|
return FeatureToggleGuard;
|
|
7194
6956
|
}());
|
|
7195
6957
|
|
|
@@ -7395,7 +7157,7 @@
|
|
|
7395
7157
|
* @param {?} event
|
|
7396
7158
|
* @return {?}
|
|
7397
7159
|
*/function (event) {
|
|
7398
|
-
if (event instanceof
|
|
7160
|
+
if (event instanceof i1$2.NavigationEnd) {
|
|
7399
7161
|
(( /** @type {?} */(_this.window))).gtag('config', _this.googleAnalyticsKey, {
|
|
7400
7162
|
page_path: event.urlAfterRedirects,
|
|
7401
7163
|
page_title: _this.title.getTitle(),
|
|
@@ -7425,13 +7187,13 @@
|
|
|
7425
7187
|
/** @nocollapse */
|
|
7426
7188
|
GoogleAnalyticsService.ctorParameters = function () {
|
|
7427
7189
|
return [
|
|
7428
|
-
{ type:
|
|
7190
|
+
{ type: i1$2.Router },
|
|
7429
7191
|
{ type: i2.Title },
|
|
7430
7192
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [windowToken,] }] },
|
|
7431
7193
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [i4.DOCUMENT,] }] }
|
|
7432
7194
|
];
|
|
7433
7195
|
};
|
|
7434
|
-
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = i0.defineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(i0.inject(
|
|
7196
|
+
/** @nocollapse */ GoogleAnalyticsService.ngInjectableDef = i0.defineInjectable({ factory: function GoogleAnalyticsService_Factory() { return new GoogleAnalyticsService(i0.inject(i1$2.Router), i0.inject(i2.Title), i0.inject(windowToken), i0.inject(i4.DOCUMENT)); }, token: GoogleAnalyticsService, providedIn: "root" });
|
|
7435
7197
|
return GoogleAnalyticsService;
|
|
7436
7198
|
}());
|
|
7437
7199
|
|
|
@@ -7490,7 +7252,7 @@
|
|
|
7490
7252
|
* @param {?} event
|
|
7491
7253
|
* @return {?}
|
|
7492
7254
|
*/function (event) {
|
|
7493
|
-
if (event instanceof
|
|
7255
|
+
if (event instanceof i1$2.NavigationEnd) {
|
|
7494
7256
|
(( /** @type {?} */(_this.window))).dataLayer.push({
|
|
7495
7257
|
event: 'pageview',
|
|
7496
7258
|
page: {
|
|
@@ -7526,13 +7288,13 @@
|
|
|
7526
7288
|
/** @nocollapse */
|
|
7527
7289
|
GoogleTagManagerService.ctorParameters = function () {
|
|
7528
7290
|
return [
|
|
7529
|
-
{ type:
|
|
7291
|
+
{ type: i1$2.Router },
|
|
7530
7292
|
{ type: i2.Title },
|
|
7531
7293
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [windowToken,] }] },
|
|
7532
7294
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [i4.DOCUMENT,] }] }
|
|
7533
7295
|
];
|
|
7534
7296
|
};
|
|
7535
|
-
/** @nocollapse */ GoogleTagManagerService.ngInjectableDef = i0.defineInjectable({ factory: function GoogleTagManagerService_Factory() { return new GoogleTagManagerService(i0.inject(
|
|
7297
|
+
/** @nocollapse */ GoogleTagManagerService.ngInjectableDef = i0.defineInjectable({ factory: function GoogleTagManagerService_Factory() { return new GoogleTagManagerService(i0.inject(i1$2.Router), i0.inject(i2.Title), i0.inject(windowToken), i0.inject(i4.DOCUMENT)); }, token: GoogleTagManagerService, providedIn: "root" });
|
|
7536
7298
|
return GoogleTagManagerService;
|
|
7537
7299
|
}());
|
|
7538
7300
|
|
|
@@ -7858,10 +7620,10 @@
|
|
|
7858
7620
|
RoleGuard.ctorParameters = function () {
|
|
7859
7621
|
return [
|
|
7860
7622
|
{ type: RoleService },
|
|
7861
|
-
{ type:
|
|
7623
|
+
{ type: i1$2.Router }
|
|
7862
7624
|
];
|
|
7863
7625
|
};
|
|
7864
|
-
/** @nocollapse */ RoleGuard.ngInjectableDef = i0.defineInjectable({ factory: function RoleGuard_Factory() { return new RoleGuard(i0.inject(RoleService), i0.inject(
|
|
7626
|
+
/** @nocollapse */ RoleGuard.ngInjectableDef = i0.defineInjectable({ factory: function RoleGuard_Factory() { return new RoleGuard(i0.inject(RoleService), i0.inject(i1$2.Router)); }, token: RoleGuard, providedIn: "root" });
|
|
7865
7627
|
return RoleGuard;
|
|
7866
7628
|
}());
|
|
7867
7629
|
|
|
@@ -8044,16 +7806,15 @@
|
|
|
8044
7806
|
exports.ɵa = ExuiPageWrapperComponent;
|
|
8045
7807
|
exports.ɵbl = FindLocationComponent;
|
|
8046
7808
|
exports.ɵbh = FindPersonComponent;
|
|
8047
|
-
exports.ɵbo = FindTaskNameComponent;
|
|
8048
7809
|
exports.ɵbd = GenericFilterComponent;
|
|
8049
7810
|
exports.ɵk = HmctsSessionDialogComponent;
|
|
8050
7811
|
exports.ɵo = InviteUserFormComponent;
|
|
8051
7812
|
exports.ɵn = InviteUserPermissionComponent;
|
|
8052
7813
|
exports.ɵbc = LoadingSpinnerComponent;
|
|
8053
|
-
exports.ɵ
|
|
7814
|
+
exports.ɵbp = PaginationComponent;
|
|
8054
7815
|
exports.ɵbk = SearchJudicialsComponent;
|
|
8055
7816
|
exports.ɵbm = SearchLocationComponent;
|
|
8056
|
-
exports.ɵ
|
|
7817
|
+
exports.ɵbo = SearchVenueComponent;
|
|
8057
7818
|
exports.ɵv = SelectedCaseConfirmComponent;
|
|
8058
7819
|
exports.ɵt = SelectedCaseListComponent;
|
|
8059
7820
|
exports.ɵu = SelectedCaseComponent;
|
|
@@ -8072,28 +7833,28 @@
|
|
|
8072
7833
|
exports.ɵg = FeatureToggleDirective;
|
|
8073
7834
|
exports.ɵi = LetContext;
|
|
8074
7835
|
exports.ɵj = LetDirective;
|
|
8075
|
-
exports.ɵ
|
|
8076
|
-
exports.ɵ
|
|
8077
|
-
exports.ɵ
|
|
8078
|
-
exports.ɵ
|
|
8079
|
-
exports.ɵ
|
|
8080
|
-
exports.ɵ
|
|
8081
|
-
exports.ɵ
|
|
8082
|
-
exports.ɵ
|
|
8083
|
-
exports.ɵ
|
|
8084
|
-
exports.ɵ
|
|
8085
|
-
exports.ɵ
|
|
8086
|
-
exports.ɵ
|
|
8087
|
-
exports.ɵ
|
|
8088
|
-
exports.ɵ
|
|
8089
|
-
exports.ɵ
|
|
8090
|
-
exports.ɵ
|
|
8091
|
-
exports.ɵ
|
|
8092
|
-
exports.ɵ
|
|
8093
|
-
exports.ɵ
|
|
8094
|
-
exports.ɵ
|
|
8095
|
-
exports.ɵ
|
|
8096
|
-
exports.ɵ
|
|
7836
|
+
exports.ɵbz = GovUkCheckboxComponent;
|
|
7837
|
+
exports.ɵcf = GovUkCheckboxesComponent;
|
|
7838
|
+
exports.ɵce = GovUkDateComponent;
|
|
7839
|
+
exports.ɵcc = GovUkErrorMessageComponent;
|
|
7840
|
+
exports.ɵcd = GovUkFieldsetComponent;
|
|
7841
|
+
exports.ɵck = GovUkFileUploadComponent;
|
|
7842
|
+
exports.ɵca = GovUkFormGroupWrapperComponent;
|
|
7843
|
+
exports.ɵby = GovUkInputComponent;
|
|
7844
|
+
exports.ɵcb = GovUkLabelComponent;
|
|
7845
|
+
exports.ɵcg = GovUkRadioComponent;
|
|
7846
|
+
exports.ɵch = GovUkRadiosComponent;
|
|
7847
|
+
exports.ɵci = GovUkSelectComponent;
|
|
7848
|
+
exports.ɵbx = GovukTableComponent;
|
|
7849
|
+
exports.ɵcj = GovUkTextareaComponent;
|
|
7850
|
+
exports.ɵbw = HmctsBannerComponent;
|
|
7851
|
+
exports.ɵbu = HmctsErrorSummaryComponent;
|
|
7852
|
+
exports.ɵbq = HmctsIdentityBarComponent;
|
|
7853
|
+
exports.ɵbv = HmctsMainWrapperComponent;
|
|
7854
|
+
exports.ɵbr = HmctsPaginationComponent;
|
|
7855
|
+
exports.ɵbt = HmctsPrimaryNavigationComponent;
|
|
7856
|
+
exports.ɵbs = HmctsSubNavigationComponent;
|
|
7857
|
+
exports.ɵcl = RemoveHostDirective;
|
|
8097
7858
|
exports.ɵr = CaseSharingStateService;
|
|
8098
7859
|
exports.ɵbg = CookieService;
|
|
8099
7860
|
exports.ɵh = FeatureToggleService;
|
|
@@ -8101,7 +7862,6 @@
|
|
|
8101
7862
|
exports.ɵbi = FindAPersonService;
|
|
8102
7863
|
exports.ɵbn = LocationService;
|
|
8103
7864
|
exports.ɵbj = SessionStorageService;
|
|
8104
|
-
exports.ɵbp = TaskNameService;
|
|
8105
7865
|
|
|
8106
7866
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8107
7867
|
|