@hmcts/ccd-case-ui-toolkit 7.3.95-exui-5063-1 → 7.3.95-exui-5153-rc2

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.
@@ -63,8 +63,8 @@ import * as i10 from '@angular/material/legacy-tabs';
63
63
  import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
64
64
  import { compressToUTF16, decompressFromUTF16 } from 'lz-string';
65
65
 
66
- const _c0$1a = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
67
- const _c1$w = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
66
+ const _c0$19 = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
67
+ const _c1$v = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
68
68
  function FooterComponent_div_2_Template(rf, ctx) { if (rf & 1) {
69
69
  i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
70
70
  i0.ɵɵprojection(2);
@@ -140,8 +140,8 @@ class FooterComponent {
140
140
  phone;
141
141
  workhours;
142
142
  static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
143
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$w, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
144
- i0.ɵɵprojectionDef(_c0$1a);
143
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, standalone: false, ngContentSelectors: _c1$v, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
144
+ i0.ɵɵprojectionDef(_c0$19);
145
145
  i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
146
146
  i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 20, 15, "div", 2)(3, FooterComponent_div_3_Template, 20, 16, "div", 2);
147
147
  i0.ɵɵelementEnd()();
@@ -168,8 +168,8 @@ class FooterComponent {
168
168
  }] }); })();
169
169
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/components/footer/footer.component.ts", lineNumber: 9 }); })();
170
170
 
171
- const _c0$19 = [[["", "headerNavigation", ""]]];
172
- const _c1$v = ["[headerNavigation]"];
171
+ const _c0$18 = [[["", "headerNavigation", ""]]];
172
+ const _c1$u = ["[headerNavigation]"];
173
173
  function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
174
174
  i0.ɵɵelementStart(0, "div")(1, "a", 12);
175
175
  i0.ɵɵelement(2, "img", 13);
@@ -210,8 +210,8 @@ class HeaderBarComponent {
210
210
  this.signOutRequest.emit();
211
211
  }
212
212
  static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
213
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$v, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
214
- i0.ɵɵprojectionDef(_c0$19);
213
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, standalone: false, ngContentSelectors: _c1$u, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["type", "button", "id", "sign-out", 1, "govuk-js-link", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
214
+ i0.ɵɵprojectionDef(_c0$18);
215
215
  i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
216
216
  i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
217
217
  i0.ɵɵelementEnd();
@@ -261,13 +261,13 @@ class HeaderBarComponent {
261
261
  }] }); })();
262
262
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HeaderBarComponent, { className: "HeaderBarComponent", filePath: "lib/components/header/header-bar/header-bar.component.ts", lineNumber: 9 }); })();
263
263
 
264
- const _c0$18 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
265
- const _c1$u = ["[leftNavLinks]", "[rightNavLinks]"];
264
+ const _c0$17 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
265
+ const _c1$t = ["[leftNavLinks]", "[rightNavLinks]"];
266
266
  class NavigationComponent {
267
267
  isSolicitor;
268
268
  static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
269
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$u, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
270
- i0.ɵɵprojectionDef(_c0$18);
269
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, standalone: false, ngContentSelectors: _c1$t, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
270
+ i0.ɵɵprojectionDef(_c0$17);
271
271
  i0.ɵɵelementStart(0, "div")(1, "nav", 0);
272
272
  i0.ɵɵprojection(2);
273
273
  i0.ɵɵprojection(3, 1);
@@ -385,12 +385,12 @@ class HeadersModule {
385
385
  }], null, null); })();
386
386
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeadersModule, { declarations: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent], imports: [CommonModule, RouterModule, i1.RpxTranslationModule], exports: [PhaseComponent, HeaderBarComponent, NavigationComponent, NavigationItemComponent] }); })();
387
387
 
388
- const _c0$17 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
389
- const _c1$t = ["[topBody]", "[leftBody]", "[rightBody]"];
388
+ const _c0$16 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
389
+ const _c1$s = ["[topBody]", "[leftBody]", "[rightBody]"];
390
390
  class BodyComponent {
391
391
  static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
392
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$t, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
393
- i0.ɵɵprojectionDef(_c0$17);
392
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], standalone: false, ngContentSelectors: _c1$s, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
393
+ i0.ɵɵprojectionDef(_c0$16);
394
394
  i0.ɵɵelementStart(0, "div", 0);
395
395
  i0.ɵɵprojection(1);
396
396
  i0.ɵɵprojection(2, 1);
@@ -404,7 +404,7 @@ class BodyComponent {
404
404
  }], null, null); })();
405
405
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BodyComponent, { className: "BodyComponent", filePath: "lib/components/body/body.component.ts", lineNumber: 10 }); })();
406
406
 
407
- const _c0$16 = a0 => ({ "govuk-input--error": a0 });
407
+ const _c0$15 = a0 => ({ "govuk-input--error": a0 });
408
408
  function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
409
409
  const _r5 = i0.ɵɵgetCurrentView();
410
410
  i0.ɵɵelementStart(0, "div", 15)(1, "span", 8);
@@ -421,7 +421,7 @@ function DateInputComponent_div_19_Template(rf, ctx) { if (rf & 1) {
421
421
  i0.ɵɵadvance();
422
422
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Hour"));
423
423
  i0.ɵɵadvance(2);
424
- i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$16, ctx_r6.isInvalid));
424
+ i0.ɵɵproperty("id", ctx_r6.hourId())("name", ctx_r6.hourId())("value", ctx_r6.displayHour)("ngClass", i0.ɵɵpureFunction1(9, _c0$15, ctx_r6.isInvalid));
425
425
  i0.ɵɵattribute("aria-labelledby", "hour-label-" + ctx_r6.hourId());
426
426
  } }
427
427
  function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
@@ -440,7 +440,7 @@ function DateInputComponent_div_20_Template(rf, ctx) { if (rf & 1) {
440
440
  i0.ɵɵadvance();
441
441
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Minute"));
442
442
  i0.ɵɵadvance(2);
443
- i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$16, ctx_r6.isInvalid));
443
+ i0.ɵɵproperty("id", ctx_r6.minuteId())("name", ctx_r6.minuteId())("value", ctx_r6.displayMinute)("ngClass", i0.ɵɵpureFunction1(9, _c0$15, ctx_r6.isInvalid));
444
444
  i0.ɵɵattribute("aria-labelledby", "minute-label-" + ctx_r6.minuteId());
445
445
  } }
446
446
  function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
@@ -459,7 +459,7 @@ function DateInputComponent_div_21_Template(rf, ctx) { if (rf & 1) {
459
459
  i0.ɵɵadvance();
460
460
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 7, "Second"));
461
461
  i0.ɵɵadvance(2);
462
- i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$16, ctx_r6.isInvalid));
462
+ i0.ɵɵproperty("id", ctx_r6.secondId())("name", ctx_r6.secondId())("value", ctx_r6.displaySecond)("ngClass", i0.ɵɵpureFunction1(9, _c0$15, ctx_r6.isInvalid));
463
463
  i0.ɵɵattribute("aria-labelledby", "second-label-" + ctx_r6.secondId());
464
464
  } }
465
465
  class DateInputComponent {
@@ -695,21 +695,21 @@ class DateInputComponent {
695
695
  i0.ɵɵadvance();
696
696
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 24, "Day"));
697
697
  i0.ɵɵadvance(2);
698
- i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$16, ctx.isInvalid));
698
+ i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(30, _c0$15, ctx.isInvalid));
699
699
  i0.ɵɵattribute("aria-labelledby", "day-label-" + ctx.dayId());
700
700
  i0.ɵɵadvance(3);
701
701
  i0.ɵɵattribute("id", "month-label-" + ctx.monthId());
702
702
  i0.ɵɵadvance();
703
703
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 26, "Month"));
704
704
  i0.ɵɵadvance(2);
705
- i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$16, ctx.isInvalid));
705
+ i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(32, _c0$15, ctx.isInvalid));
706
706
  i0.ɵɵattribute("aria-labelledby", "month-label-" + ctx.monthId());
707
707
  i0.ɵɵadvance(3);
708
708
  i0.ɵɵattribute("id", "year-label-" + ctx.yearId());
709
709
  i0.ɵɵadvance();
710
710
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 28, "Year"));
711
711
  i0.ɵɵadvance(2);
712
- i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$16, ctx.isInvalid));
712
+ i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(34, _c0$15, ctx.isInvalid));
713
713
  i0.ɵɵattribute("aria-labelledby", "year-label-" + ctx.yearId());
714
714
  i0.ɵɵadvance(2);
715
715
  i0.ɵɵproperty("ngIf", ctx.isDateTime);
@@ -746,7 +746,7 @@ class DateInputComponent {
746
746
  }] }); })();
747
747
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateInputComponent, { className: "DateInputComponent", filePath: "lib/components/form/date-input/date-input.component.ts", lineNumber: 21 }); })();
748
748
 
749
- const _c0$15 = ["*"];
749
+ const _c0$14 = ["*"];
750
750
  function AlertComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
751
751
  i0.ɵɵelementContainerStart(0);
752
752
  i0.ɵɵnamespaceSVG();
@@ -796,7 +796,7 @@ class AlertComponent {
796
796
  showIcon = true;
797
797
  alertMessageType = AlertMessageType;
798
798
  static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
799
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$15, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
799
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, standalone: false, ngContentSelectors: _c0$14, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
800
800
  i0.ɵɵprojectionDef();
801
801
  i0.ɵɵelementStart(0, "div", 0);
802
802
  i0.ɵɵelementContainerStart(1, 1);
@@ -1010,20 +1010,20 @@ class NotificationBannerComponent {
1010
1010
  }] }); })();
1011
1011
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationBannerComponent, { className: "NotificationBannerComponent", filePath: "lib/components/banners/notification-banner/notification-banner.component.ts", lineNumber: 11 }); })();
1012
1012
 
1013
- const _c0$14 = ["*"];
1014
- const _c1$s = a0 => ({ "js-hidden": a0 });
1013
+ const _c0$13 = ["*"];
1014
+ const _c1$r = a0 => ({ "js-hidden": a0 });
1015
1015
  class TabComponent {
1016
1016
  id;
1017
1017
  title;
1018
1018
  selected;
1019
1019
  static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
1020
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$14, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1020
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, standalone: false, ngContentSelectors: _c0$13, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
1021
1021
  i0.ɵɵprojectionDef();
1022
1022
  i0.ɵɵelementStart(0, "div", 0);
1023
1023
  i0.ɵɵprojection(1);
1024
1024
  i0.ɵɵelementEnd();
1025
1025
  } if (rf & 2) {
1026
- i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$s, !ctx.selected));
1026
+ i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c1$r, !ctx.selected));
1027
1027
  i0.ɵɵattribute("aria-hidden", !ctx.selected);
1028
1028
  } }, dependencies: [i5.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media(max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media(min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0px;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
1029
1029
  }
@@ -1039,8 +1039,8 @@ class TabComponent {
1039
1039
  }] }); })();
1040
1040
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tabs/tab.component.ts", lineNumber: 11 }); })();
1041
1041
 
1042
- const _c0$13 = ["tab"];
1043
- const _c1$r = ["*"];
1042
+ const _c0$12 = ["tab"];
1043
+ const _c1$q = ["*"];
1044
1044
  const _c2$5 = () => ["."];
1045
1045
  const _c3$1 = a0 => ({ "tabs-toggle-selected": a0 });
1046
1046
  function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
@@ -1086,11 +1086,11 @@ class TabsComponent {
1086
1086
  let _t;
1087
1087
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
1088
1088
  } }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
1089
- i0.ɵɵviewQuery(_c0$13, 5);
1089
+ i0.ɵɵviewQuery(_c0$12, 5);
1090
1090
  } if (rf & 2) {
1091
1091
  let _t;
1092
1092
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
1093
- } }, standalone: false, ngContentSelectors: _c1$r, decls: 5, vars: 1, consts: [["tab", ""], [1, "tabs"], ["role", "list", 1, "tabs-list"], ["class", "tabs-list-item", 4, "ngFor", "ngForOf"], [1, "tabs-content"], [1, "tabs-list-item"], ["role", "tab", "tabindex", "0", 1, "tabs-toggle", 3, "click", "routerLink", "fragment", "ngClass"]], template: function TabsComponent_Template(rf, ctx) { if (rf & 1) {
1093
+ } }, standalone: false, ngContentSelectors: _c1$q, decls: 5, vars: 1, consts: [["tab", ""], [1, "tabs"], ["role", "list", 1, "tabs-list"], ["class", "tabs-list-item", 4, "ngFor", "ngForOf"], [1, "tabs-content"], [1, "tabs-list-item"], ["role", "tab", "tabindex", "0", 1, "tabs-toggle", 3, "click", "routerLink", "fragment", "ngClass"]], template: function TabsComponent_Template(rf, ctx) { if (rf & 1) {
1094
1094
  i0.ɵɵprojectionDef();
1095
1095
  i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
1096
1096
  i0.ɵɵtemplate(2, TabsComponent_li_2_Template, 5, 11, "li", 3);
@@ -1145,7 +1145,7 @@ class TabsModule {
1145
1145
  RouterModule, i1.RpxTranslationModule], exports: [TabsComponent,
1146
1146
  TabComponent] }); })();
1147
1147
 
1148
- const _c0$12 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1148
+ const _c0$11 = (a0, a1) => ({ caseLocked: a0, someoneViewing: a1 });
1149
1149
  class ActivityBannerComponent {
1150
1150
  bannerType;
1151
1151
  description;
@@ -1164,7 +1164,7 @@ class ActivityBannerComponent {
1164
1164
  i0.ɵɵpipe(6, "rpxTranslate");
1165
1165
  i0.ɵɵelementEnd()();
1166
1166
  } if (rf & 2) {
1167
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$12, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1167
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(10, _c0$11, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
1168
1168
  i0.ɵɵadvance(2);
1169
1169
  i0.ɵɵproperty("alt", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(3, 6, ctx.description)))("src", i0.ɵɵinterpolate(ctx.imageLink), i0.ɵɵsanitizeUrl);
1170
1170
  i0.ɵɵadvance(3);
@@ -4173,84 +4173,6 @@ var SortOrder$1;
4173
4173
  SortOrder[SortOrder["UNSORTED"] = 2] = "UNSORTED";
4174
4174
  })(SortOrder$1 || (SortOrder$1 = {}));
4175
4175
 
4176
- const STAFF_CACHE_ROLE_CATEGORIES = new Set([
4177
- 'ADMIN',
4178
- 'CTSC',
4179
- 'LEGAL_OPERATIONS'
4180
- ]);
4181
- const SUPPORTED_ROLE_CATEGORIES = new Set([
4182
- ...STAFF_CACHE_ROLE_CATEGORIES,
4183
- 'JUDICIAL',
4184
- ]);
4185
- // Aliases allow the definition to use the shorter, hyphenated form within #ARGUMENT(...)
4186
- const ROLE_CATEGORY_ALIASES = {
4187
- LEGAL_OPS: 'LEGAL_OPERATIONS'
4188
- };
4189
- const ARGUMENT_REGEX = /#ARGUMENT\(([^)]*)\)/;
4190
- const CATEGORY_PREFIX = 'CATEGORY-';
4191
- const REGION_PREFIX = 'REGION-';
4192
- /**
4193
- * Parses the `display_context_parameter` of a StaffUser field to determine the filters to apply
4194
- * when searching reference data.
4195
- *
4196
- * Expected format: `#ARGUMENT(CATEGORY-LEGAL-OPS,CATEGORY-ADMIN,REGION-1235)`
4197
- */
4198
- function parseStaffUserSearchConfiguration(displayContextParameter) {
4199
- if (!displayContextParameter) {
4200
- return invalidConfiguration();
4201
- }
4202
- const match = ARGUMENT_REGEX.exec(displayContextParameter);
4203
- if (!match?.[1]) {
4204
- return invalidConfiguration();
4205
- }
4206
- const tokens = match[1].split(',').map(token => token.trim());
4207
- if (tokens.some(token => !token)) {
4208
- return invalidConfiguration();
4209
- }
4210
- const roleCategories = [];
4211
- for (const token of tokens) {
4212
- if (token.startsWith(CATEGORY_PREFIX)) {
4213
- const category = normaliseRoleCategory(token.substring(CATEGORY_PREFIX.length));
4214
- if (!isStaffUserRoleCategory(category)) {
4215
- return invalidConfiguration();
4216
- }
4217
- if (!roleCategories.includes(category)) {
4218
- roleCategories.push(category);
4219
- }
4220
- }
4221
- else if (token.startsWith(REGION_PREFIX)) {
4222
- // Region filtering is not supported in this version; REGION- tokens are silently ignored
4223
- }
4224
- else {
4225
- return invalidConfiguration();
4226
- }
4227
- }
4228
- if (!roleCategories.length) {
4229
- return invalidConfiguration();
4230
- }
4231
- return {
4232
- valid: true,
4233
- configuration: {
4234
- roleCategories,
4235
- staffRoleCategories: roleCategories.filter(isStaffCacheRoleCategory),
4236
- includesJudicial: roleCategories.includes('JUDICIAL')
4237
- }
4238
- };
4239
- }
4240
- function normaliseRoleCategory(category) {
4241
- const normalised = category.replaceAll('-', '_');
4242
- return ROLE_CATEGORY_ALIASES[normalised] || normalised;
4243
- }
4244
- function isStaffUserRoleCategory(category) {
4245
- return SUPPORTED_ROLE_CATEGORIES.has(category);
4246
- }
4247
- function isStaffCacheRoleCategory(category) {
4248
- return STAFF_CACHE_ROLE_CATEGORIES.has(category);
4249
- }
4250
- function invalidConfiguration() {
4251
- return { valid: false, error: 'INVALID_ROLE_CATEGORIES' };
4252
- }
4253
-
4254
4176
  class WorkbasketInputModel {
4255
4177
  label;
4256
4178
  order;
@@ -6252,13 +6174,14 @@ class Constants {
6252
6174
  }], null, null); })();
6253
6175
 
6254
6176
  class FormValidatorsService {
6255
- static CUSTOM_VALIDATED_FIELD_TYPES = ['Date', 'MoneyGBP', 'Label'];
6256
- static CUSTOM_VALIDATED_COMPLEX_TYPE_IDS = ['JudicialUser', 'StaffUser'];
6177
+ static CUSTOM_VALIDATED_TYPES = [
6178
+ 'Date', 'MoneyGBP', 'Label', 'JudicialUser'
6179
+ ];
6257
6180
  static DEFAULT_INPUT_TEXT = 'text';
6258
6181
  static DEFAULT_INPUT_TEXTAREA = 'textAreas';
6259
6182
  static addValidators(caseField, control) {
6260
6183
  if (caseField.display_context === Constants.MANDATORY &&
6261
- !FormValidatorsService.isCustomValidatedType(caseField)) {
6184
+ FormValidatorsService.CUSTOM_VALIDATED_TYPES.indexOf(caseField.field_type.type) === -1) {
6262
6185
  const validators = [Validators.required];
6263
6186
  if (caseField.field_type.type === 'Text') {
6264
6187
  validators.push(this.markDownPatternValidator());
@@ -6299,11 +6222,6 @@ class FormValidatorsService {
6299
6222
  };
6300
6223
  return validator;
6301
6224
  }
6302
- static isCustomValidatedType(caseField) {
6303
- return FormValidatorsService.CUSTOM_VALIDATED_FIELD_TYPES.includes(caseField.field_type.type)
6304
- || (caseField.field_type.type === 'Complex'
6305
- && FormValidatorsService.CUSTOM_VALIDATED_COMPLEX_TYPE_IDS.includes(caseField.field_type.id));
6306
- }
6307
6225
  static markDownPatternValidator() {
6308
6226
  // Matches: [text](url), ![alt](url), <img ...>, <a ...>...</a>
6309
6227
  const inlineMarkdownPattern = /(?:!?\[[^\]]{0,500}\]\([^)]{0,500}\)|<(?:img\b[^>]{0,500}>|a\b[^>]{0,500}>[\s\S]*?<\/a>))/i;
@@ -8466,14 +8384,9 @@ class CaseFlagRefdataService {
8466
8384
  */
8467
8385
  getHmctsServiceDetailsByCaseType(caseTypeId) {
8468
8386
  let url = this.appConfig.getLocationRefApiUrl();
8469
- // HARDCODED OVERRIDE FOR QA PURPOSES - REMOVE BEFORE MERGING/DEPLOYMENT
8470
- const caseTypeIdOverride = 'PRLAPPS';
8471
8387
  if (url) {
8472
8388
  url += '/orgServices';
8473
- if (caseTypeIdOverride) {
8474
- url += `?ccdCaseType=${caseTypeIdOverride}`;
8475
- }
8476
- else if (caseTypeId) {
8389
+ if (caseTypeId) {
8477
8390
  url += `?ccdCaseType=${caseTypeId}`;
8478
8391
  }
8479
8392
  return this.http.get(url, { observe: 'body' });
@@ -8934,17 +8847,11 @@ class JurisdictionService {
8934
8847
  return this._selectedJurisdictionBS;
8935
8848
  }
8936
8849
  searchJudicialUsers(searchTerm, serviceId) {
8937
- return this.httpService.post('api/prd/judicial/getJudicialUsersSearch', {
8938
- searchString: searchTerm,
8939
- serviceCode: serviceId
8940
- });
8850
+ return this.httpService.post('api/prd/judicial/getJudicialUsersSearch', { searchString: searchTerm, serviceCode: serviceId });
8941
8851
  }
8942
8852
  searchJudicialUsersByPersonalCodes(personalCodes) {
8943
8853
  return this.httpService.post('api/prd/judicial/searchJudicialUserByPersonalCodes', { personal_code: personalCodes });
8944
8854
  }
8945
- getJudicialUserByIdamId(idamId) {
8946
- return this.httpService.post('api/prd/judicial/searchJudicialUserByIdamId', { sidam_ids: [idamId] }).pipe(map((users) => (users && users.length > 0 ? users[0] : null)));
8947
- }
8948
8855
  static ɵfac = function JurisdictionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || JurisdictionService)(i0.ɵɵinject(HttpService)); };
8949
8856
  static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: JurisdictionService, factory: JurisdictionService.ɵfac });
8950
8857
  }
@@ -10123,31 +10030,13 @@ class CaseworkerService {
10123
10030
  }
10124
10031
  getUserByIdamId(idamId) {
10125
10032
  const url = `${this.appConfig.getWorkAllocationApiUrl()}/caseworker/getUserByIdamId`;
10126
- const body = { idamId };
10127
10033
  return this.http
10128
- .post(url, body)
10034
+ .post(url, idamId)
10129
10035
  .pipe(catchError(error => {
10130
10036
  this.errorService.setError(error);
10131
10037
  return throwError(error);
10132
10038
  }));
10133
10039
  }
10134
- searchStaffUsers(services, searchTerm, roleCategories) {
10135
- const url = `${this.appConfig.getWorkAllocationApiUrl()}/caseworker/getUsersByServiceName`;
10136
- const normalisedSearchTerm = searchTerm.toLowerCase();
10137
- return this.http
10138
- .post(url, { services, term: searchTerm })
10139
- .pipe(map((caseworkers) => caseworkers
10140
- .filter(caseworker => roleCategories.some(roleCategory => caseworker.roleCategories.includes(roleCategory)))
10141
- .map(caseworker => ({
10142
- idamId: caseworker.idamId,
10143
- displayName: `${caseworker.firstName} ${caseworker.lastName}`.trim(),
10144
- ...(caseworker.email ? { emailId: caseworker.email } : {})
10145
- }))
10146
- .filter(staffUser => staffUser.displayName.toLowerCase().includes(normalisedSearchTerm))), catchError(error => {
10147
- this.errorService.setError(error);
10148
- return throwError(error);
10149
- }));
10150
- }
10151
10040
  static ɵfac = function CaseworkerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseworkerService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(HttpErrorService)); };
10152
10041
  static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseworkerService, factory: CaseworkerService.ɵfac });
10153
10042
  }
@@ -10440,7 +10329,9 @@ class PageValidationService {
10440
10329
  .filter((caseField) => !this.caseFieldService.isReadOnly(caseField))
10441
10330
  .filter((caseField) => !this.isHidden(caseField, editForm))
10442
10331
  .forEach((caseField) => {
10443
- const theControl = editForm.controls.data.get(this.getValidationControlName(caseField));
10332
+ const theControl = FieldsUtils.isCaseFieldOfType(caseField, ['JudicialUser'])
10333
+ ? editForm.controls.data.get(`${caseField.id}_judicialUserControl`)
10334
+ : editForm.controls.data.get(caseField.id);
10444
10335
  if (!(this.checkDocumentField(caseField, theControl) && this.checkOptionalField(caseField, theControl))) {
10445
10336
  failingCaseFields.push(caseField);
10446
10337
  }
@@ -10470,15 +10361,6 @@ class PageValidationService {
10470
10361
  checkMandatoryField(caseField, theControl) {
10471
10362
  return this.caseFieldService.isMandatory(caseField) && theControl === null;
10472
10363
  }
10473
- getValidationControlName(caseField) {
10474
- if (FieldsUtils.isCaseFieldOfType(caseField, ['JudicialUser'])) {
10475
- return `${caseField.id}_judicialUserControl`;
10476
- }
10477
- if (FieldsUtils.isCaseFieldOfType(caseField, ['StaffUser'])) {
10478
- return `${caseField.id}_staffUserControl`;
10479
- }
10480
- return caseField.id;
10481
- }
10482
10364
  static ɵfac = function PageValidationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageValidationService)(i0.ɵɵinject(CaseFieldService)); };
10483
10365
  static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PageValidationService, factory: PageValidationService.ɵfac });
10484
10366
  }
@@ -12750,7 +12632,9 @@ class CaseEditPageComponent {
12750
12632
  .forEach(casefield => {
12751
12633
  let errorPresent = true;
12752
12634
  validErrorFieldFound = true;
12753
- const fieldElement = group.get(this.getAutocompleteUserControlName(casefield));
12635
+ const fieldElement = FieldsUtils.isCaseFieldOfType(casefield, ['JudicialUser'])
12636
+ ? group.get(`${casefield.id}_judicialUserControl`)
12637
+ : group.get(casefield.id);
12754
12638
  if (fieldElement) {
12755
12639
  const label = this.getInterpolatedFieldLabel(casefield);
12756
12640
  let id = casefield.id;
@@ -12772,9 +12656,9 @@ class CaseEditPageComponent {
12772
12656
  this.caseEditDataService.addFormValidationError({ id, message: `%FIELDLABEL% is required`, label });
12773
12657
  }
12774
12658
  fieldElement.markAsDirty();
12775
- // For autocomplete user field types, an error needs to be set on the component so that an error message
12659
+ // For the JudicialUser field type, an error needs to be set on the component so that an error message
12776
12660
  // can be displayed at field level
12777
- if (this.isAutocompleteUserField(casefield)) {
12661
+ if (FieldsUtils.isCaseFieldOfType(casefield, ['JudicialUser'])) {
12778
12662
  fieldElement['component'].errors = { required: true };
12779
12663
  }
12780
12664
  }
@@ -12949,10 +12833,10 @@ class CaseEditPageComponent {
12949
12833
  this.handleError(error);
12950
12834
  });
12951
12835
  CaseEditPageComponent.scrollToTop();
12952
- // Remove autocomplete user FormControls because these are not
12836
+ // Remove all JudicialUser FormControls with the ID suffix "_judicialUserControl" because these are not
12953
12837
  // intended to be present in the Case Event data (they are added only for value selection and validation
12954
12838
  // purposes)
12955
- this.removeAllAutocompleteUserFormControls(this.currentPage, this.editForm);
12839
+ this.removeAllJudicialUserFormControls(this.currentPage, this.editForm);
12956
12840
  }
12957
12841
  this.focusService.focus();
12958
12842
  }
@@ -13254,25 +13138,13 @@ class CaseEditPageComponent {
13254
13138
  submit: this.caseEdit.submit,
13255
13139
  });
13256
13140
  }
13257
- removeAllAutocompleteUserFormControls(page, editForm) {
13141
+ removeAllJudicialUserFormControls(page, editForm) {
13258
13142
  page.case_fields.forEach(caseField => {
13259
- if (this.isAutocompleteUserField(caseField)) {
13260
- editForm.controls['data'].removeControl(this.getAutocompleteUserControlName(caseField));
13143
+ if (FieldsUtils.isCaseFieldOfType(caseField, ['JudicialUser'])) {
13144
+ editForm.controls['data'].removeControl(`${caseField.id}_judicialUserControl`);
13261
13145
  }
13262
13146
  });
13263
13147
  }
13264
- isAutocompleteUserField(caseField) {
13265
- return FieldsUtils.isCaseFieldOfType(caseField, ['JudicialUser', 'StaffUser']);
13266
- }
13267
- getAutocompleteUserControlName(caseField) {
13268
- if (FieldsUtils.isCaseFieldOfType(caseField, ['JudicialUser'])) {
13269
- return `${caseField.id}_judicialUserControl`;
13270
- }
13271
- if (FieldsUtils.isCaseFieldOfType(caseField, ['StaffUser'])) {
13272
- return `${caseField.id}_staffUserControl`;
13273
- }
13274
- return caseField.id;
13275
- }
13276
13148
  static ɵfac = function CaseEditPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(FocusService)); };
13277
13149
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], viewQuery: function CaseEditPageComponent_Query(rf, ctx) { if (rf & 1) {
13278
13150
  i0.ɵɵviewQuery(CaseEditFormComponent, 5);
@@ -13594,7 +13466,7 @@ class CaseEventCompletionComponent {
13594
13466
  }] }); })();
13595
13467
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionComponent, { className: "CaseEventCompletionComponent", filePath: "lib/shared/components/case-editor/case-event-completion/case-event-completion.component.ts", lineNumber: 21 }); })();
13596
13468
 
13597
- const _c0$11 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13469
+ const _c0$10 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13598
13470
  class CaseEventCompletionTaskCancelledComponent {
13599
13471
  context;
13600
13472
  notifyEventCompletionCancelled = new EventEmitter();
@@ -13663,7 +13535,7 @@ class CaseEventCompletionTaskCancelledComponent {
13663
13535
  i0.ɵɵadvance(4);
13664
13536
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 21, "Continue"), " ");
13665
13537
  i0.ɵɵadvance(2);
13666
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$11, ctx.jurisdiction, ctx.caseType, ctx.caseId));
13538
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(25, _c0$10, ctx.jurisdiction, ctx.caseType, ctx.caseId));
13667
13539
  i0.ɵɵadvance();
13668
13540
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 23, "Cancel"), " ");
13669
13541
  } }, dependencies: [i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
@@ -13678,7 +13550,7 @@ class CaseEventCompletionTaskCancelledComponent {
13678
13550
  }] }); })();
13679
13551
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEventCompletionTaskCancelledComponent, { className: "CaseEventCompletionTaskCancelledComponent", filePath: "lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.ts", lineNumber: 10 }); })();
13680
13552
 
13681
- const _c0$10 = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13553
+ const _c0$$ = (a0, a1, a2) => ["/", "cases", "case-details", a0, a1, a2, "tasks"];
13682
13554
  function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
13683
13555
  const _r1 = i0.ɵɵgetCurrentView();
13684
13556
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
@@ -13731,7 +13603,7 @@ function CaseEventCompletionTaskReassignedComponent_div_0_Template(rf, ctx) { if
13731
13603
  i0.ɵɵadvance(4);
13732
13604
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(27, 22, "Continue"), " ");
13733
13605
  i0.ɵɵadvance(2);
13734
- i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$10, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
13606
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction3(26, _c0$$, ctx_r1.jurisdiction, ctx_r1.caseType, ctx_r1.caseId));
13735
13607
  i0.ɵɵadvance();
13736
13608
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(30, 24, "Cancel"), " ");
13737
13609
  } }
@@ -14134,8 +14006,8 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
14134
14006
  }] }); })();
14135
14007
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteComplexFieldComponent, { className: "WriteComplexFieldComponent", filePath: "lib/shared/components/palette/complex/write-complex-field.component.ts", lineNumber: 22 }); })();
14136
14008
 
14137
- const _c0$$ = ["writeComplexFieldComponent"];
14138
- const _c1$q = a0 => ({ "form-group-error": a0 });
14009
+ const _c0$_ = ["writeComplexFieldComponent"];
14010
+ const _c1$p = a0 => ({ "form-group-error": a0 });
14139
14011
  const _c2$4 = a0 => ({ "govuk-input--error": a0 });
14140
14012
  function WriteAddressFieldComponent_div_1_div_4_span_5_Template(rf, ctx) { if (rf & 1) {
14141
14013
  i0.ɵɵelementStart(0, "span", 14);
@@ -14162,7 +14034,7 @@ function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1)
14162
14034
  i0.ɵɵelementEnd()();
14163
14035
  } if (rf & 2) {
14164
14036
  const ctx_r1 = i0.ɵɵnextContext(2);
14165
- i0.ɵɵproperty("id", ctx_r1.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$q, ctx_r1.missingPostcode));
14037
+ i0.ɵɵproperty("id", ctx_r1.createElementId("postcodeLookup"))("ngClass", i0.ɵɵpureFunction1(14, _c1$p, ctx_r1.missingPostcode));
14166
14038
  i0.ɵɵadvance();
14167
14039
  i0.ɵɵproperty("for", ctx_r1.createElementId("postcodeInput"));
14168
14040
  i0.ɵɵadvance(2);
@@ -14230,7 +14102,7 @@ function WriteAddressFieldComponent_div_1_div_5_Template(rf, ctx) { if (rf & 1)
14230
14102
  i0.ɵɵelementEnd()();
14231
14103
  } if (rf & 2) {
14232
14104
  const ctx_r1 = i0.ɵɵnextContext(2);
14233
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$q, ctx_r1.noAddressSelected));
14105
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c1$p, ctx_r1.noAddressSelected));
14234
14106
  i0.ɵɵadvance();
14235
14107
  i0.ɵɵproperty("for", ctx_r1.createElementId("addressList"));
14236
14108
  i0.ɵɵadvance(2);
@@ -14401,7 +14273,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
14401
14273
  }
14402
14274
  static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
14403
14275
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
14404
- i0.ɵɵviewQuery(_c0$$, 5);
14276
+ i0.ɵɵviewQuery(_c0$_, 5);
14405
14277
  i0.ɵɵviewQuery(FocusElementDirective, 5);
14406
14278
  } if (rf & 2) {
14407
14279
  let _t;
@@ -14464,7 +14336,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
14464
14336
  type: Input
14465
14337
  }] }); })();
14466
14338
 
14467
- const _c0$_ = ["journeyChild"];
14339
+ const _c0$Z = ["journeyChild"];
14468
14340
  class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14469
14341
  multipageComponentStateService;
14470
14342
  journeyStartPageNumber = 0;
@@ -14539,7 +14411,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14539
14411
  ;
14540
14412
  static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
14541
14413
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
14542
- i0.ɵɵviewQuery(_c0$_, 5);
14414
+ i0.ɵɵviewQuery(_c0$Z, 5);
14543
14415
  } if (rf & 2) {
14544
14416
  let _t;
14545
14417
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -14554,7 +14426,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
14554
14426
  args: ['journeyChild']
14555
14427
  }] }); })();
14556
14428
 
14557
- const _c0$Z = ["journeyChild"];
14429
+ const _c0$Y = ["journeyChild"];
14558
14430
  class AbstractJourneyComponent {
14559
14431
  multipageComponentStateService;
14560
14432
  journeyStartPageNumber = 0;
@@ -14616,7 +14488,7 @@ class AbstractJourneyComponent {
14616
14488
  onPageChange() { }
14617
14489
  static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
14618
14490
  static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
14619
- i0.ɵɵviewQuery(_c0$Z, 5);
14491
+ i0.ɵɵviewQuery(_c0$Y, 5);
14620
14492
  } if (rf & 2) {
14621
14493
  let _t;
14622
14494
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.childJourney = _t.first);
@@ -16098,8 +15970,8 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
16098
15970
  }], null, null); })();
16099
15971
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadCaseLinkFieldComponent, { className: "ReadCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/read-case-link-field.component.ts", lineNumber: 9 }); })();
16100
15972
 
16101
- const _c0$Y = ["writeComplexFieldComponent"];
16102
- const _c1$p = a0 => ({ "form-group-error": a0 });
15973
+ const _c0$X = ["writeComplexFieldComponent"];
15974
+ const _c1$o = a0 => ({ "form-group-error": a0 });
16103
15975
  function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
16104
15976
  i0.ɵɵelementStart(0, "span", 6);
16105
15977
  i0.ɵɵtext(1);
@@ -16179,7 +16051,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
16179
16051
  }
16180
16052
  static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
16181
16053
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
16182
- i0.ɵɵviewQuery(_c0$Y, 5);
16054
+ i0.ɵɵviewQuery(_c0$X, 5);
16183
16055
  } if (rf & 2) {
16184
16056
  let _t;
16185
16057
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
@@ -16191,7 +16063,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
16191
16063
  i0.ɵɵelement(5, "input", 5);
16192
16064
  i0.ɵɵelementEnd();
16193
16065
  } if (rf & 2) {
16194
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$p, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
16066
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1$o, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
16195
16067
  i0.ɵɵadvance();
16196
16068
  i0.ɵɵproperty("for", ctx.id());
16197
16069
  i0.ɵɵadvance();
@@ -16213,8 +16085,8 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
16213
16085
  }] }); })();
16214
16086
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteCaseLinkFieldComponent, { className: "WriteCaseLinkFieldComponent", filePath: "lib/shared/components/palette/case-link/write-case-link-field.component.ts", lineNumber: 12 }); })();
16215
16087
 
16216
- const _c0$X = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
16217
- const _c1$o = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
16088
+ const _c0$W = (a0, a1, a2, a3, a4, a5, a6) => ({ id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5, parent: a6 });
16089
+ const _c1$n = (a0, a1, a2, a3, a4, a5) => ({ id: a0, label: a1, field_type: a2, value: a3, hidden: a4, parent: a5 });
16218
16090
  function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
16219
16091
  i0.ɵɵelementStart(0, "tbody")(1, "tr");
16220
16092
  i0.ɵɵelement(2, "th", 4);
@@ -16224,7 +16096,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
16224
16096
  } if (rf & 2) {
16225
16097
  const ctx_r0 = i0.ɵɵnextContext(2);
16226
16098
  i0.ɵɵadvance(4);
16227
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$X, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
16099
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction7(4, _c0$W, ctx_r0.caseField.label, ctx_r0.caseField.label, ctx_r0.caseField.field_type.collection_field_type, ctx_r0.caseField.display_context_parameter, ctx_r0.caseField.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup);
16228
16100
  } }
16229
16101
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
16230
16102
  i0.ɵɵelementStart(0, "tr")(1, "td");
@@ -16235,7 +16107,7 @@ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { i
16235
16107
  const i_r3 = ctx.index;
16236
16108
  const ctx_r0 = i0.ɵɵnextContext(3);
16237
16109
  i0.ɵɵadvance(2);
16238
- i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(5, _c1$o, i_r3 + "", ctx_r0.caseField.label + " " + (i_r3 + 1), ctx_r0.caseField.field_type.collection_field_type, item_r2.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.buildIdPrefix(i_r3));
16110
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(5, _c1$n, i_r3 + "", ctx_r0.caseField.label + " " + (i_r3 + 1), ctx_r0.caseField.field_type.collection_field_type, item_r2.value, ctx_r0.caseField.hidden, ctx_r0.caseField))("context", ctx_r0.context)("caseFields", ctx_r0.caseFields)("topLevelFormGroup", ctx_r0.topLevelFormGroup)("idPrefix", ctx_r0.buildIdPrefix(i_r3));
16239
16111
  } }
16240
16112
  function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
16241
16113
  i0.ɵɵelementStart(0, "tbody");
@@ -16346,7 +16218,7 @@ class RemoveDialogComponent {
16346
16218
  }], () => [{ type: i1$3.MatLegacyDialogRef }], null); })();
16347
16219
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RemoveDialogComponent, { className: "RemoveDialogComponent", filePath: "lib/shared/components/dialogs/remove-dialog/remove-dialog.component.ts", lineNumber: 10 }); })();
16348
16220
 
16349
- const _c0$W = ["collectionItem"];
16221
+ const _c0$V = ["collectionItem"];
16350
16222
  function WriteCollectionFieldComponent_h2_2_Template(rf, ctx) { if (rf & 1) {
16351
16223
  i0.ɵɵelementStart(0, "h2", 7);
16352
16224
  i0.ɵɵtext(1);
@@ -16767,7 +16639,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
16767
16639
  }
16768
16640
  static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
16769
16641
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
16770
- i0.ɵɵviewQuery(_c0$W, 5);
16642
+ i0.ɵɵviewQuery(_c0$V, 5);
16771
16643
  } if (rf & 2) {
16772
16644
  let _t;
16773
16645
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
@@ -17086,8 +16958,8 @@ class FileUploadStateService {
17086
16958
  type: Injectable
17087
16959
  }], null, null); })();
17088
16960
 
17089
- const _c0$V = ["fileInput"];
17090
- const _c1$n = a0 => ({ "form-group-error bottom-30": a0 });
16961
+ const _c0$U = ["fileInput"];
16962
+ const _c1$m = a0 => ({ "form-group-error bottom-30": a0 });
17091
16963
  function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
17092
16964
  i0.ɵɵelementStart(0, "span", 12);
17093
16965
  i0.ɵɵelement(1, "markdown", 13);
@@ -17465,7 +17337,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
17465
17337
  }
17466
17338
  static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService)); };
17467
17339
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
17468
- i0.ɵɵviewQuery(_c0$V, 5);
17340
+ i0.ɵɵviewQuery(_c0$U, 5);
17469
17341
  } if (rf & 2) {
17470
17342
  let _t;
17471
17343
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
@@ -17496,7 +17368,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
17496
17368
  i0.ɵɵpipe(19, "rpxTranslate");
17497
17369
  i0.ɵɵelementEnd()();
17498
17370
  } if (rf & 2) {
17499
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$n, !ctx.valid));
17371
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(22, _c1$m, !ctx.valid));
17500
17372
  i0.ɵɵadvance();
17501
17373
  i0.ɵɵproperty("for", ctx.id());
17502
17374
  i0.ɵɵadvance();
@@ -17580,7 +17452,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
17580
17452
  }], null, null); })();
17581
17453
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicListFieldComponent, { className: "ReadDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.ts", lineNumber: 9 }); })();
17582
17454
 
17583
- const _c0$U = a0 => ({ "form-group-error": a0 });
17455
+ const _c0$T = a0 => ({ "form-group-error": a0 });
17584
17456
  function WriteDynamicListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
17585
17457
  i0.ɵɵelementStart(0, "span", 8);
17586
17458
  i0.ɵɵtext(1);
@@ -17668,7 +17540,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
17668
17540
  i0.ɵɵtemplate(10, WriteDynamicListFieldComponent_option_10_Template, 3, 4, "option", 7);
17669
17541
  i0.ɵɵelementEnd()();
17670
17542
  } if (rf & 2) {
17671
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$U, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
17543
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$T, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
17672
17544
  i0.ɵɵadvance();
17673
17545
  i0.ɵɵproperty("for", ctx.id());
17674
17546
  i0.ɵɵadvance();
@@ -17849,7 +17721,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
17849
17721
  }], null, null); })();
17850
17722
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicMultiSelectListFieldComponent, { className: "ReadDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.ts", lineNumber: 10 }); })();
17851
17723
 
17852
- const _c0$T = a0 => ({ "error": a0 });
17724
+ const _c0$S = a0 => ({ "error": a0 });
17853
17725
  function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
17854
17726
  i0.ɵɵelementStart(0, "span", 5);
17855
17727
  i0.ɵɵtext(1);
@@ -17969,7 +17841,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
17969
17841
  i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 6, 12, "ng-container", 4);
17970
17842
  i0.ɵɵelementEnd()();
17971
17843
  } if (rf & 2) {
17972
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$T, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
17844
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$S, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
17973
17845
  i0.ɵɵadvance(3);
17974
17846
  i0.ɵɵproperty("ngIf", ctx.caseField.label);
17975
17847
  i0.ɵɵadvance();
@@ -18049,8 +17921,8 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
18049
17921
  }], null, null); })();
18050
17922
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadDynamicRadioListFieldComponent, { className: "ReadDynamicRadioListFieldComponent", filePath: "lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.ts", lineNumber: 9 }); })();
18051
17923
 
18052
- const _c0$S = a0 => ({ "form-group-error": a0 });
18053
- const _c1$m = a0 => ({ selected: a0 });
17924
+ const _c0$R = a0 => ({ "form-group-error": a0 });
17925
+ const _c1$l = a0 => ({ selected: a0 });
18054
17926
  function WriteDynamicRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18055
17927
  i0.ɵɵelementStart(0, "span", 7);
18056
17928
  i0.ɵɵtext(1);
@@ -18100,7 +17972,7 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
18100
17972
  } if (rf & 2) {
18101
17973
  const radioButton_r2 = ctx.$implicit;
18102
17974
  const ctx_r0 = i0.ɵɵnextContext();
18103
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$m, ctx_r0.dynamicRadioListControl.value === radioButton_r2.code));
17975
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$l, ctx_r0.dynamicRadioListControl.value === radioButton_r2.code));
18104
17976
  i0.ɵɵadvance();
18105
17977
  i0.ɵɵproperty("id", ctx_r0.createElementId(radioButton_r2.code))("name", ctx_r0.id())("formControl", ctx_r0.dynamicRadioListControl)("value", radioButton_r2.code);
18106
17978
  i0.ɵɵadvance();
@@ -18144,7 +18016,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
18144
18016
  i0.ɵɵelementContainerEnd();
18145
18017
  i0.ɵɵelementEnd()();
18146
18018
  } if (rf & 2) {
18147
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$S, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
18019
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$R, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
18148
18020
  i0.ɵɵadvance(3);
18149
18021
  i0.ɵɵproperty("for", ctx.id());
18150
18022
  i0.ɵɵadvance();
@@ -18198,8 +18070,8 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
18198
18070
  }], null, null); })();
18199
18071
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadEmailFieldComponent, { className: "ReadEmailFieldComponent", filePath: "lib/shared/components/palette/email/read-email-field.component.ts", lineNumber: 11 }); })();
18200
18072
 
18201
- const _c0$R = a0 => ({ "form-group-error": a0 });
18202
- const _c1$l = a0 => ({ "govuk-input--error": a0 });
18073
+ const _c0$Q = a0 => ({ "form-group-error": a0 });
18074
+ const _c1$k = a0 => ({ "govuk-input--error": a0 });
18203
18075
  function WriteEmailFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18204
18076
  i0.ɵɵelementStart(0, "span", 6);
18205
18077
  i0.ɵɵtext(1);
@@ -18244,7 +18116,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
18244
18116
  i0.ɵɵelement(5, "input", 5);
18245
18117
  i0.ɵɵelementEnd();
18246
18118
  } if (rf & 2) {
18247
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$R, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
18119
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$Q, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
18248
18120
  i0.ɵɵadvance();
18249
18121
  i0.ɵɵproperty("for", ctx.id());
18250
18122
  i0.ɵɵadvance();
@@ -18254,7 +18126,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
18254
18126
  i0.ɵɵadvance();
18255
18127
  i0.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
18256
18128
  i0.ɵɵadvance();
18257
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$l, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
18129
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1$k, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
18258
18130
  } }, dependencies: [i5.NgClass, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.FormControlDirective, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], encapsulation: 2 });
18259
18131
  }
18260
18132
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteEmailFieldComponent, [{
@@ -18286,7 +18158,7 @@ class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
18286
18158
  }], null, null); })();
18287
18159
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedListFieldComponent, { className: "ReadFixedListFieldComponent", filePath: "lib/shared/components/palette/fixed-list/read-fixed-list-field.component.ts", lineNumber: 9 }); })();
18288
18160
 
18289
- const _c0$Q = a0 => ({ "form-group-error": a0 });
18161
+ const _c0$P = a0 => ({ "form-group-error": a0 });
18290
18162
  function WriteFixedListFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18291
18163
  i0.ɵɵelementStart(0, "span", 8);
18292
18164
  i0.ɵɵtext(1);
@@ -18361,7 +18233,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
18361
18233
  i0.ɵɵtemplate(8, WriteFixedListFieldComponent_option_8_Template, 3, 4, "option", 7);
18362
18234
  i0.ɵɵelementEnd()();
18363
18235
  } if (rf & 2) {
18364
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$Q, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
18236
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$P, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
18365
18237
  i0.ɵɵadvance();
18366
18238
  i0.ɵɵproperty("for", ctx.id());
18367
18239
  i0.ɵɵadvance();
@@ -18424,8 +18296,8 @@ class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
18424
18296
  }], null, null); })();
18425
18297
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadFixedRadioListFieldComponent, { className: "ReadFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.ts", lineNumber: 9 }); })();
18426
18298
 
18427
- const _c0$P = a0 => ({ "form-group-error": a0 });
18428
- const _c1$k = a0 => ({ selected: a0 });
18299
+ const _c0$O = a0 => ({ "form-group-error": a0 });
18300
+ const _c1$j = a0 => ({ selected: a0 });
18429
18301
  function WriteFixedRadioListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18430
18302
  i0.ɵɵelementStart(0, "span", 6);
18431
18303
  i0.ɵɵtext(1);
@@ -18466,7 +18338,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
18466
18338
  } if (rf & 2) {
18467
18339
  const radioButton_r2 = ctx.$implicit;
18468
18340
  const ctx_r0 = i0.ɵɵnextContext();
18469
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$k, ctx_r0.fixedRadioListControl.value === radioButton_r2.code));
18341
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c1$j, ctx_r0.fixedRadioListControl.value === radioButton_r2.code));
18470
18342
  i0.ɵɵadvance();
18471
18343
  i0.ɵɵproperty("id", ctx_r0.id() + "-" + radioButton_r2.code)("name", ctx_r0.id())("formControl", ctx_r0.fixedRadioListControl)("value", radioButton_r2.code);
18472
18344
  i0.ɵɵadvance();
@@ -18492,7 +18364,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
18492
18364
  i0.ɵɵelementContainerEnd();
18493
18365
  i0.ɵɵelementEnd()();
18494
18366
  } if (rf & 2) {
18495
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$P, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
18367
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$O, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
18496
18368
  i0.ɵɵadvance(3);
18497
18369
  i0.ɵɵproperty("for", ctx.id());
18498
18370
  i0.ɵɵadvance();
@@ -18568,8 +18440,8 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
18568
18440
  }], () => [{ type: JurisdictionService }], null); })();
18569
18441
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadJudicialUserFieldComponent, { className: "ReadJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/read-judicial-user-field.component.ts", lineNumber: 12 }); })();
18570
18442
 
18571
- const _c0$O = a0 => ({ "form-group-error": a0 });
18572
- const _c1$j = a0 => ({ "hide-autocomplete": a0 });
18443
+ const _c0$N = a0 => ({ "form-group-error": a0 });
18444
+ const _c1$i = a0 => ({ "hide-autocomplete": a0 });
18573
18445
  function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18574
18446
  i0.ɵɵelementStart(0, "span", 10);
18575
18447
  i0.ɵɵtext(1);
@@ -18608,7 +18480,7 @@ function WriteJudicialUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf
18608
18480
  } if (rf & 2) {
18609
18481
  const judicialUser_r4 = ctx.$implicit;
18610
18482
  const ctx_r1 = i0.ɵɵnextContext();
18611
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$j, !ctx_r1.showAutocomplete))("value", judicialUser_r4);
18483
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$i, !ctx_r1.showAutocomplete))("value", judicialUser_r4);
18612
18484
  i0.ɵɵadvance();
18613
18485
  i0.ɵɵtextInterpolate2(" ", (judicialUser_r4 == null ? null : judicialUser_r4.fullName) ? judicialUser_r4.fullName : "", "", (judicialUser_r4 == null ? null : judicialUser_r4.emailId) ? " (" + judicialUser_r4.emailId + ")" : "", " ");
18614
18486
  } }
@@ -18788,7 +18660,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
18788
18660
  i0.ɵɵelementEnd()();
18789
18661
  } if (rf & 2) {
18790
18662
  const autoComplete_r5 = i0.ɵɵreference(7);
18791
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$O, !!ctx.judicialUserControl && ctx.errors));
18663
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$N, !!ctx.judicialUserControl && ctx.errors));
18792
18664
  i0.ɵɵadvance();
18793
18665
  i0.ɵɵproperty("for", ctx.id());
18794
18666
  i0.ɵɵadvance();
@@ -18815,327 +18687,6 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
18815
18687
  }], () => [{ type: JurisdictionService }, { type: SessionStorageService }, { type: CaseFlagRefdataService }, { type: IsCompoundPipe }, { type: FormValidatorsService }, { type: CaseNotifier }], null); })();
18816
18688
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteJudicialUserFieldComponent, { className: "WriteJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/write-judicial-user-field.component.ts", lineNumber: 18 }); })();
18817
18689
 
18818
- function ReadStaffUserFieldComponent_ccd_loading_spinner_0_Template(rf, ctx) { if (rf & 1) {
18819
- i0.ɵɵelement(0, "ccd-loading-spinner");
18820
- } }
18821
- class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
18822
- caseworkerService;
18823
- jurisdictionService;
18824
- displayName;
18825
- showSpinner = false;
18826
- sub;
18827
- constructor(caseworkerService, jurisdictionService) {
18828
- super();
18829
- this.caseworkerService = caseworkerService;
18830
- this.jurisdictionService = jurisdictionService;
18831
- }
18832
- ngOnInit() {
18833
- const idamId = this.caseField?.value?.idamId;
18834
- if (idamId) {
18835
- this.showSpinner = true;
18836
- this.sub = this.caseworkerService.getUserByIdamId(idamId).pipe(catchError(() => of(null)), switchMap(caseworker => {
18837
- if (caseworker) {
18838
- return of(`${caseworker.firstName} ${caseworker.lastName}`.trim());
18839
- }
18840
- return this.jurisdictionService.getJudicialUserByIdamId(idamId).pipe(map(judicialUser => judicialUser ? (judicialUser.fullName || judicialUser.knownAs || '') : ''));
18841
- })).subscribe((displayName) => {
18842
- this.displayName = displayName;
18843
- this.showSpinner = false;
18844
- }, () => this.showSpinner = false);
18845
- }
18846
- }
18847
- ngOnDestroy() {
18848
- if (this.sub) {
18849
- this.sub.unsubscribe();
18850
- }
18851
- }
18852
- static ɵfac = function ReadStaffUserFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadStaffUserFieldComponent)(i0.ɵɵdirectiveInject(CaseworkerService), i0.ɵɵdirectiveInject(JurisdictionService)); };
18853
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadStaffUserFieldComponent, selectors: [["ccd-read-staff-user-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"]], template: function ReadStaffUserFieldComponent_Template(rf, ctx) { if (rf & 1) {
18854
- i0.ɵɵtemplate(0, ReadStaffUserFieldComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
18855
- i0.ɵɵelementStart(1, "span");
18856
- i0.ɵɵtext(2);
18857
- i0.ɵɵelementEnd();
18858
- } if (rf & 2) {
18859
- i0.ɵɵproperty("ngIf", ctx.showSpinner);
18860
- i0.ɵɵadvance(2);
18861
- i0.ɵɵtextInterpolate(ctx.displayName);
18862
- } }, dependencies: [i5.NgIf], encapsulation: 2 });
18863
- }
18864
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadStaffUserFieldComponent, [{
18865
- type: Component,
18866
- args: [{ selector: 'ccd-read-staff-user-field', standalone: false, template: "<ccd-loading-spinner *ngIf=\"showSpinner\"></ccd-loading-spinner>\n<span>{{ displayName }}</span>\n" }]
18867
- }], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
18868
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadStaffUserFieldComponent, { className: "ReadStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/read-staff-user-field.component.ts", lineNumber: 13 }); })();
18869
-
18870
- const _c0$N = a0 => ({ "form-group-error": a0 });
18871
- const _c1$i = a0 => ({ "hide-autocomplete": a0 });
18872
- function WriteStaffUserFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
18873
- i0.ɵɵelementStart(0, "span", 10);
18874
- i0.ɵɵtext(1);
18875
- i0.ɵɵelementEnd();
18876
- } if (rf & 2) {
18877
- const ctx_r1 = i0.ɵɵnextContext();
18878
- i0.ɵɵadvance();
18879
- i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.label, " ");
18880
- } }
18881
- function WriteStaffUserFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
18882
- i0.ɵɵelementStart(0, "span", 11);
18883
- i0.ɵɵtext(1);
18884
- i0.ɵɵelementEnd();
18885
- } if (rf & 2) {
18886
- const ctx_r1 = i0.ɵɵnextContext();
18887
- i0.ɵɵadvance();
18888
- i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
18889
- } }
18890
- function WriteStaffUserFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
18891
- i0.ɵɵelementStart(0, "span", 12);
18892
- i0.ɵɵtext(1);
18893
- i0.ɵɵelementEnd();
18894
- } if (rf & 2) {
18895
- const ctx_r1 = i0.ɵɵnextContext();
18896
- i0.ɵɵadvance();
18897
- i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.label, " is required ");
18898
- } }
18899
- function WriteStaffUserFieldComponent_mat_option_8_Template(rf, ctx) { if (rf & 1) {
18900
- const _r3 = i0.ɵɵgetCurrentView();
18901
- i0.ɵɵelementStart(0, "mat-option", 13);
18902
- i0.ɵɵlistener("onSelectionChange", function WriteStaffUserFieldComponent_mat_option_8_Template_mat_option_onSelectionChange_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onSelectionChange($event)); });
18903
- i0.ɵɵtext(1);
18904
- i0.ɵɵelementEnd();
18905
- } if (rf & 2) {
18906
- const staffUser_r4 = ctx.$implicit;
18907
- const ctx_r1 = i0.ɵɵnextContext();
18908
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$i, !ctx_r1.showAutocomplete))("value", staffUser_r4);
18909
- i0.ɵɵadvance();
18910
- i0.ɵɵtextInterpolate2(" ", (staffUser_r4 == null ? null : staffUser_r4.displayName) ? staffUser_r4.displayName : "", "", (staffUser_r4 == null ? null : staffUser_r4.emailId) ? " (" + staffUser_r4.emailId + ")" : "", " ");
18911
- } }
18912
- function WriteStaffUserFieldComponent_mat_option_10_Template(rf, ctx) { if (rf & 1) {
18913
- i0.ɵɵelementStart(0, "mat-option", 14);
18914
- i0.ɵɵtext(1, " No results found ");
18915
- i0.ɵɵelementEnd();
18916
- } }
18917
- function WriteStaffUserFieldComponent_mat_option_11_Template(rf, ctx) { if (rf & 1) {
18918
- i0.ɵɵelementStart(0, "mat-option", 14);
18919
- i0.ɵɵtext(1, " Invalid search term ");
18920
- i0.ɵɵelementEnd();
18921
- } }
18922
- class WriteStaffUserFieldComponent extends WriteComplexFieldComponent {
18923
- jurisdictionService;
18924
- caseFlagRefdataService;
18925
- caseworkerService;
18926
- compoundPipe;
18927
- validatorsService;
18928
- caseNotifier;
18929
- minSearchCharacters = 2;
18930
- staffUserControl;
18931
- jurisdiction;
18932
- caseType;
18933
- filteredStaffUsers$;
18934
- showAutocomplete = false;
18935
- noResults = false;
18936
- invalidSearchTerm = false;
18937
- searchTerm = '';
18938
- errors;
18939
- staffUserSelected = false;
18940
- jurisdictionSubscription;
18941
- notifierSubscription;
18942
- constructor(jurisdictionService, caseFlagRefdataService, caseworkerService, compoundPipe, validatorsService, caseNotifier) {
18943
- super(compoundPipe, validatorsService);
18944
- this.jurisdictionService = jurisdictionService;
18945
- this.caseFlagRefdataService = caseFlagRefdataService;
18946
- this.caseworkerService = caseworkerService;
18947
- this.compoundPipe = compoundPipe;
18948
- this.validatorsService = validatorsService;
18949
- this.caseNotifier = caseNotifier;
18950
- this.jurisdictionSubscription = this.jurisdictionService.getSelectedJurisdiction()?.subscribe(jurisdiction => {
18951
- if (jurisdiction?.currentCaseType) {
18952
- this.jurisdiction = jurisdiction.id ?? this.jurisdiction;
18953
- this.caseType = jurisdiction.currentCaseType.id ?? this.caseType;
18954
- }
18955
- });
18956
- this.notifierSubscription = this.caseNotifier.caseView.subscribe(caseDetails => {
18957
- if (caseDetails) {
18958
- this.jurisdiction = caseDetails.case_type?.jurisdiction?.id ?? this.jurisdiction;
18959
- this.caseType = caseDetails.case_type?.id ?? this.caseType;
18960
- }
18961
- });
18962
- }
18963
- ngOnInit() {
18964
- super.ngOnInit();
18965
- this.staffUserControl = new FormControl(this.caseField.value);
18966
- this.formGroup.setControl(`${this.caseField.id}_staffUserControl`, this.staffUserControl);
18967
- FieldsUtils.addCaseFieldAndComponentReferences(this.staffUserControl, this.caseField, this);
18968
- this.setupValidation();
18969
- if (this.caseField.value?.idamId) {
18970
- this.loadStaffUser(this.caseField.value.idamId);
18971
- }
18972
- this.filteredStaffUsers$ = this.staffUserControl.valueChanges.pipe(tap(() => this.showAutocomplete = false), filter(input => typeof input === 'string'), debounceTime(300), map(input => input), tap(searchTerm => {
18973
- this.searchTerm = searchTerm;
18974
- this.invalidSearchTerm = false;
18975
- }), filter((searchTerm) => searchTerm && searchTerm.length > this.minSearchCharacters), switchMap((searchTerm) => this.filterStaffUsers(searchTerm).pipe(tap(staffUsers => {
18976
- this.showAutocomplete = true;
18977
- this.noResults = !this.invalidSearchTerm && staffUsers.length === 0;
18978
- }))));
18979
- }
18980
- loadStaffUser(idamId) {
18981
- if (idamId) {
18982
- this.caseworkerService.getUserByIdamId(idamId).pipe(take(1), catchError(() => of(null)), switchMap(caseworker => {
18983
- if (caseworker) {
18984
- const staffUser = {
18985
- idamId: caseworker.idamId,
18986
- displayName: `${caseworker.firstName} ${caseworker.lastName}`.trim(),
18987
- ...(caseworker.email ? { emailId: caseworker.email } : {})
18988
- };
18989
- this.staffUserControl.setValue(staffUser, { emitEvent: false });
18990
- this.staffUserSelected = true;
18991
- return of(null);
18992
- }
18993
- return this.jurisdictionService.getJudicialUserByIdamId(idamId);
18994
- })).subscribe(judicialUser => {
18995
- if (judicialUser) {
18996
- const staffUser = {
18997
- idamId: judicialUser.idamId,
18998
- displayName: judicialUser.fullName || judicialUser.knownAs || '',
18999
- ...(judicialUser.emailId ? { emailId: judicialUser.emailId } : {})
19000
- };
19001
- this.staffUserControl.setValue(staffUser, { emitEvent: false });
19002
- this.staffUserSelected = true;
19003
- }
19004
- });
19005
- }
19006
- }
19007
- filterStaffUsers(searchTerm) {
19008
- const configuration = parseStaffUserSearchConfiguration(this.getDisplayContextParameter());
19009
- if (!configuration.valid) {
19010
- this.invalidSearchTerm = true;
19011
- return of([]);
19012
- }
19013
- return this.resolveServiceDetails().pipe(switchMap(serviceDetails => {
19014
- const searches = [];
19015
- // HARDCODED OVERRIDE FOR QA PURPOSES - REMOVE BEFORE MERGING/DEPLOYMENT
19016
- configuration.configuration.includesJudicial = true;
19017
- configuration.configuration.roleCategories.push('JUDICIAL');
19018
- if (configuration.configuration.staffRoleCategories.length) {
19019
- searches.push(this.caseworkerService.searchStaffUsers([serviceDetails.ccd_service_name], searchTerm, configuration.configuration.staffRoleCategories));
19020
- }
19021
- if (configuration.configuration.includesJudicial) {
19022
- searches.push(this.jurisdictionService.searchJudicialUsers(searchTerm, serviceDetails.service_code).pipe(map(judicialUsers => judicialUsers.map(judicialUser => ({
19023
- idamId: judicialUser.idamId,
19024
- displayName: judicialUser.fullName || '',
19025
- ...(judicialUser.emailId ? { emailId: judicialUser.emailId } : {})
19026
- })))));
19027
- }
19028
- return forkJoin(searches).pipe(map(results => this.removeDuplicateUsers(results)));
19029
- }), catchError(() => {
19030
- this.invalidSearchTerm = true;
19031
- return of([]);
19032
- }));
19033
- }
19034
- resolveServiceCode() {
19035
- return this.resolveServiceDetails().pipe(map(serviceDetails => serviceDetails.service_code));
19036
- }
19037
- resolveServiceDetails() {
19038
- const caseType = this.getBaseCaseType();
19039
- return this.caseFlagRefdataService.getHmctsServiceDetailsByCaseType(caseType).pipe(catchError(() => this.caseFlagRefdataService.getHmctsServiceDetailsByServiceName(this.jurisdiction)), map(serviceDetails => serviceDetails[0]));
19040
- }
19041
- setupValidation() {
19042
- this.complexGroup.get('idamId')?.clearValidators();
19043
- if (this.caseField.display_context === Constants.MANDATORY) {
19044
- this.staffUserControl.setValidators(Validators.required);
19045
- }
19046
- }
19047
- displayStaffUser(staffUser) {
19048
- return staffUser?.displayName;
19049
- }
19050
- onSelectionChange(event) {
19051
- this.caseField.value = {
19052
- idamId: event.source.value.idamId
19053
- };
19054
- this.complexGroup.get('idamId')?.setValue(this.caseField.value.idamId);
19055
- this.staffUserSelected = true;
19056
- }
19057
- onBlur(event) {
19058
- if (event.relatedTarget?.role !== 'option' && !this.staffUserSelected) {
19059
- this.staffUserControl.setValue(null);
19060
- }
19061
- if (!this.staffUserControl.value) {
19062
- this.caseField.value = null;
19063
- this.complexGroup.get('idamId')?.setValue(null);
19064
- }
19065
- }
19066
- ngOnDestroy() {
19067
- this.jurisdictionSubscription?.unsubscribe();
19068
- this.notifierSubscription?.unsubscribe();
19069
- }
19070
- getBaseCaseType() {
19071
- const caseType = this.caseType || this.jurisdictionService.getSelectedJurisdiction()?.getValue()?.currentCaseType?.id;
19072
- return caseType?.split('-')[0];
19073
- }
19074
- /**
19075
- * The search filters are configured through the field's display_context_parameter, for example
19076
- * `#ARGUMENT(CATEGORY-LEGAL-OPS,CATEGORY-ADMIN,REGION-1235)`.
19077
- *
19078
- * When this component is rendered for a field nested within a complex type or collection, the
19079
- * CaseField instance handed to the component can be the child definition, which does not always
19080
- * carry the parameter. Fall back to the matching field in the page's context fields.
19081
- */
19082
- getDisplayContextParameter() {
19083
- return this.caseField?.display_context_parameter
19084
- || this.caseFields?.find(caseField => caseField.id === this.caseField?.field_type?.id)?.display_context_parameter;
19085
- }
19086
- removeDuplicateUsers(results) {
19087
- const usersByIdamId = new Map();
19088
- results.forEach(users => users.forEach(user => {
19089
- if (!usersByIdamId.has(user.idamId)) {
19090
- usersByIdamId.set(user.idamId, user);
19091
- }
19092
- }));
19093
- return Array.from(usersByIdamId.values());
19094
- }
19095
- static ɵfac = function WriteStaffUserFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteStaffUserFieldComponent)(i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(CaseFlagRefdataService), i0.ɵɵdirectiveInject(CaseworkerService), i0.ɵɵdirectiveInject(IsCompoundPipe), i0.ɵɵdirectiveInject(FormValidatorsService), i0.ɵɵdirectiveInject(CaseNotifier)); };
19096
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteStaffUserFieldComponent, selectors: [["ccd-write-staff-user-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 17, consts: [["autoComplete", "matAutocomplete"], [1, "form-group", 3, "formGroup", "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "bottom-30", 3, "blur", "id", "formControl", "matAutocomplete"], ["autoActiveFirstOption", "", 3, "displayWith"], ["class", "select-option", 3, "ngClass", "value", "onSelectionChange", 4, "ngFor", "ngForOf"], ["class", "select-option", "disabled", "", 4, "ngIf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "select-option", 3, "onSelectionChange", "ngClass", "value"], ["disabled", "", 1, "select-option"]], template: function WriteStaffUserFieldComponent_Template(rf, ctx) { if (rf & 1) {
19097
- const _r1 = i0.ɵɵgetCurrentView();
19098
- i0.ɵɵelementStart(0, "div", 1)(1, "label", 2);
19099
- i0.ɵɵtemplate(2, WriteStaffUserFieldComponent_span_2_Template, 2, 1, "span", 3);
19100
- i0.ɵɵelementEnd();
19101
- i0.ɵɵtemplate(3, WriteStaffUserFieldComponent_span_3_Template, 2, 1, "span", 4)(4, WriteStaffUserFieldComponent_span_4_Template, 2, 1, "span", 5);
19102
- i0.ɵɵelementStart(5, "input", 6);
19103
- i0.ɵɵlistener("blur", function WriteStaffUserFieldComponent_Template_input_blur_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onBlur($event)); });
19104
- i0.ɵɵelementEnd();
19105
- i0.ɵɵelementStart(6, "mat-autocomplete", 7, 0);
19106
- i0.ɵɵtemplate(8, WriteStaffUserFieldComponent_mat_option_8_Template, 2, 6, "mat-option", 8);
19107
- i0.ɵɵpipe(9, "async");
19108
- i0.ɵɵtemplate(10, WriteStaffUserFieldComponent_mat_option_10_Template, 2, 0, "mat-option", 9)(11, WriteStaffUserFieldComponent_mat_option_11_Template, 2, 0, "mat-option", 9);
19109
- i0.ɵɵelementEnd()();
19110
- } if (rf & 2) {
19111
- const autoComplete_r5 = i0.ɵɵreference(7);
19112
- i0.ɵɵproperty("formGroup", ctx.formGroup)("ngClass", i0.ɵɵpureFunction1(15, _c0$N, !!ctx.staffUserControl && ctx.errors));
19113
- i0.ɵɵadvance();
19114
- i0.ɵɵproperty("for", ctx.id());
19115
- i0.ɵɵadvance();
19116
- i0.ɵɵproperty("ngIf", ctx.caseField.label);
19117
- i0.ɵɵadvance();
19118
- i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
19119
- i0.ɵɵadvance();
19120
- i0.ɵɵproperty("ngIf", ctx.errors);
19121
- i0.ɵɵadvance();
19122
- i0.ɵɵproperty("id", ctx.id())("formControl", ctx.staffUserControl)("matAutocomplete", autoComplete_r5);
19123
- i0.ɵɵadvance();
19124
- i0.ɵɵproperty("displayWith", ctx.displayStaffUser);
19125
- i0.ɵɵadvance(2);
19126
- i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(9, 13, ctx.filteredStaffUsers$));
19127
- i0.ɵɵadvance(2);
19128
- i0.ɵɵproperty("ngIf", ctx.noResults && ctx.searchTerm && ctx.searchTerm.length > ctx.minSearchCharacters && ctx.showAutocomplete);
19129
- i0.ɵɵadvance();
19130
- i0.ɵɵproperty("ngIf", ctx.invalidSearchTerm);
19131
- } }, dependencies: [i5.NgClass, i5.NgForOf, i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormControlDirective, i4.FormGroupDirective, i6.MatLegacyAutocomplete, i6.MatLegacyAutocompleteTrigger, i7.MatLegacyOption, i5.AsyncPipe], encapsulation: 2 });
19132
- }
19133
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteStaffUserFieldComponent, [{
19134
- type: Component,
19135
- args: [{ selector: 'ccd-write-staff-user-field', standalone: false, template: "<div class=\"form-group\" [formGroup]=\"formGroup\" [ngClass]=\"{'form-group-error': !!staffUserControl && errors}\">\n <label [for]=\"id()\">\n <span *ngIf=\"caseField.label\" class=\"form-label\">\n {{ caseField.label }}\n </span>\n </label>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">\n {{ caseField.hint_text }}\n </span>\n <span class=\"error-message\" *ngIf=\"errors\">\n {{ caseField.label }} is required\n </span>\n <input class=\"form-control bottom-30\" [id]=\"id()\" \n [formControl]=\"staffUserControl\" [matAutocomplete]=\"autoComplete\" (blur)=\"onBlur($event)\">\n <mat-autocomplete autoActiveFirstOption #autoComplete=\"matAutocomplete\" [displayWith]=\"displayStaffUser\">\n <mat-option *ngFor=\"let staffUser of filteredStaffUsers$ | async\" \n class=\"select-option\" [ngClass]=\"{'hide-autocomplete': !showAutocomplete}\"\n [value]=\"staffUser\" (onSelectionChange)=\"onSelectionChange($event)\">\n {{staffUser?.displayName ? staffUser.displayName : ''}}{{staffUser?.emailId ? ' (' + staffUser.emailId + ')' : ''}}\n </mat-option>\n <mat-option *ngIf=\"noResults && searchTerm && searchTerm.length > minSearchCharacters && showAutocomplete\" class=\"select-option\" disabled>\n No results found\n </mat-option>\n <mat-option *ngIf=\"invalidSearchTerm\" class=\"select-option\" disabled>\n Invalid search term\n </mat-option>\n </mat-autocomplete>\n</div>\n" }]
19136
- }], () => [{ type: JurisdictionService }, { type: CaseFlagRefdataService }, { type: CaseworkerService }, { type: IsCompoundPipe }, { type: FormValidatorsService }, { type: CaseNotifier }], null); })();
19137
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteStaffUserFieldComponent, { className: "WriteStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/write-staff-user-field.component.ts", lineNumber: 19 }); })();
19138
-
19139
18690
  function LabelFieldComponent_ccd_markdown_2_Template(rf, ctx) { if (rf & 1) {
19140
18691
  i0.ɵɵelement(0, "ccd-markdown", 2);
19141
18692
  i0.ɵɵpipe(1, "rpxTranslate");
@@ -26407,11 +25958,11 @@ class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
26407
25958
  i0.ɵɵelement(0, "div", 0);
26408
25959
  } if (rf & 2) {
26409
25960
  i0.ɵɵproperty("innerHTML", ctx.sanitisedValue(), i0.ɵɵsanitizeHtml);
26410
- } }, styles: ["@charset \"UTF-8\";.ccd-rich-text-area-read{overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area-read strong,.ccd-rich-text-area-read strong *,.ccd-rich-text-area-read b,.ccd-rich-text-area-read b *{font-weight:700}.ccd-rich-text-area-read strong u,.ccd-rich-text-area-read u strong,.ccd-rich-text-area-read b u,.ccd-rich-text-area-read u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area-read p,.ccd-rich-text-area-read ul,.ccd-rich-text-area-read ol{margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area-read p:empty:before{content:\"\\a0\"}.ccd-rich-text-area-read ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area-read ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area-read ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area-read ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area-read ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area-read li{display:list-item;margin-bottom:5px}.ccd-rich-text-area-read li>p{margin:0}.ccd-rich-text-area-read li>ul,.ccd-rich-text-area-read li>ol{margin-top:5px}.ccd-rich-text-area-read h1{font-size:20px;font-weight:700}.ccd-rich-text-area-read .ccd-rich-text-indent-1{margin-left:40px}.ccd-rich-text-area-read .ccd-rich-text-indent-2{margin-left:80px}.ccd-rich-text-area-read .ccd-rich-text-indent-3{margin-left:120px}.ccd-rich-text-area-read .ccd-rich-text-indent-4{margin-left:160px}.ccd-rich-text-area-read .ccd-rich-text-indent-5{margin-left:200px}.ccd-rich-text-area-read .ccd-rich-text-indent-6{margin-left:240px}\n"], encapsulation: 2 });
25961
+ } }, styles: ["@charset \"UTF-8\";.ccd-rich-text-area-read{font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area-read strong,.ccd-rich-text-area-read strong *,.ccd-rich-text-area-read b,.ccd-rich-text-area-read b *{font-weight:700}.ccd-rich-text-area-read strong u,.ccd-rich-text-area-read u strong,.ccd-rich-text-area-read b u,.ccd-rich-text-area-read u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area-read p,.ccd-rich-text-area-read ul,.ccd-rich-text-area-read ol,.ccd-rich-text-area-read li{font-size:14px;margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area-read p:empty:before{content:\"\\a0\"}.ccd-rich-text-area-read ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area-read ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area-read ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area-read ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area-read ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area-read li{display:list-item;margin-bottom:5px}.ccd-rich-text-area-read li>p{margin:0}.ccd-rich-text-area-read li>ul,.ccd-rich-text-area-read li>ol{margin-top:5px}.ccd-rich-text-area-read h1{font-size:20px;font-weight:700}.ccd-rich-text-area-read h2{font-size:18px;font-weight:700}.ccd-rich-text-area-read h3{font-size:16px;font-weight:700}.ccd-rich-text-area-read .ccd-rich-text-indent-1{margin-left:40px}.ccd-rich-text-area-read .ccd-rich-text-indent-2{margin-left:80px}.ccd-rich-text-area-read .ccd-rich-text-indent-3{margin-left:120px}.ccd-rich-text-area-read .ccd-rich-text-indent-4{margin-left:160px}.ccd-rich-text-area-read .ccd-rich-text-indent-5{margin-left:200px}.ccd-rich-text-area-read .ccd-rich-text-indent-6{margin-left:240px}\n"], encapsulation: 2 });
26411
25962
  }
26412
25963
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadRichTextAreaFieldComponent, [{
26413
25964
  type: Component,
26414
- args: [{ selector: 'ccd-read-rich-text-area-field', template: `<div class="ccd-rich-text-area-read" [innerHTML]="sanitisedValue()"></div>`, encapsulation: ViewEncapsulation.None, standalone: false, styles: ["@charset \"UTF-8\";.ccd-rich-text-area-read{overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area-read strong,.ccd-rich-text-area-read strong *,.ccd-rich-text-area-read b,.ccd-rich-text-area-read b *{font-weight:700}.ccd-rich-text-area-read strong u,.ccd-rich-text-area-read u strong,.ccd-rich-text-area-read b u,.ccd-rich-text-area-read u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area-read p,.ccd-rich-text-area-read ul,.ccd-rich-text-area-read ol{margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area-read p:empty:before{content:\"\\a0\"}.ccd-rich-text-area-read ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area-read ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area-read ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area-read ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area-read ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area-read li{display:list-item;margin-bottom:5px}.ccd-rich-text-area-read li>p{margin:0}.ccd-rich-text-area-read li>ul,.ccd-rich-text-area-read li>ol{margin-top:5px}.ccd-rich-text-area-read h1{font-size:20px;font-weight:700}.ccd-rich-text-area-read .ccd-rich-text-indent-1{margin-left:40px}.ccd-rich-text-area-read .ccd-rich-text-indent-2{margin-left:80px}.ccd-rich-text-area-read .ccd-rich-text-indent-3{margin-left:120px}.ccd-rich-text-area-read .ccd-rich-text-indent-4{margin-left:160px}.ccd-rich-text-area-read .ccd-rich-text-indent-5{margin-left:200px}.ccd-rich-text-area-read .ccd-rich-text-indent-6{margin-left:240px}\n"] }]
25965
+ args: [{ selector: 'ccd-read-rich-text-area-field', template: `<div class="ccd-rich-text-area-read" [innerHTML]="sanitisedValue()"></div>`, encapsulation: ViewEncapsulation.None, standalone: false, styles: ["@charset \"UTF-8\";.ccd-rich-text-area-read{font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area-read strong,.ccd-rich-text-area-read strong *,.ccd-rich-text-area-read b,.ccd-rich-text-area-read b *{font-weight:700}.ccd-rich-text-area-read strong u,.ccd-rich-text-area-read u strong,.ccd-rich-text-area-read b u,.ccd-rich-text-area-read u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area-read p,.ccd-rich-text-area-read ul,.ccd-rich-text-area-read ol,.ccd-rich-text-area-read li{font-size:14px;margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area-read p:empty:before{content:\"\\a0\"}.ccd-rich-text-area-read ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area-read ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area-read ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area-read ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area-read ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area-read li{display:list-item;margin-bottom:5px}.ccd-rich-text-area-read li>p{margin:0}.ccd-rich-text-area-read li>ul,.ccd-rich-text-area-read li>ol{margin-top:5px}.ccd-rich-text-area-read h1{font-size:20px;font-weight:700}.ccd-rich-text-area-read h2{font-size:18px;font-weight:700}.ccd-rich-text-area-read h3{font-size:16px;font-weight:700}.ccd-rich-text-area-read .ccd-rich-text-indent-1{margin-left:40px}.ccd-rich-text-area-read .ccd-rich-text-indent-2{margin-left:80px}.ccd-rich-text-area-read .ccd-rich-text-indent-3{margin-left:120px}.ccd-rich-text-area-read .ccd-rich-text-indent-4{margin-left:160px}.ccd-rich-text-area-read .ccd-rich-text-indent-5{margin-left:200px}.ccd-rich-text-area-read .ccd-rich-text-indent-6{margin-left:240px}\n"] }]
26415
25966
  }], () => [{ type: i1$5.DomSanitizer }], null); })();
26416
25967
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadRichTextAreaFieldComponent, { className: "ReadRichTextAreaFieldComponent", filePath: "lib/shared/components/palette/rich-text-area/read-rich-text-area-field.component.ts", lineNumber: 13 }); })();
26417
25968
 
@@ -26420,7 +25971,7 @@ const _c1$e = a0 => ({ "form-group-error": a0 });
26420
25971
  const _c2$3 = a0 => ({ "ccd-rich-text-area__editor--error": a0 });
26421
25972
  const _c3 = a0 => ({ "ccd-rich-text-area__toolbar-button--active": a0 });
26422
25973
  function WriteRichTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
26423
- i0.ɵɵelementStart(0, "span", 41);
25974
+ i0.ɵɵelementStart(0, "span", 48);
26424
25975
  i0.ɵɵtext(1);
26425
25976
  i0.ɵɵpipe(2, "ccdFieldLabel");
26426
25977
  i0.ɵɵelementEnd();
@@ -26430,7 +25981,7 @@ function WriteRichTextAreaFieldComponent_span_2_Template(rf, ctx) { if (rf & 1)
26430
25981
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField));
26431
25982
  } }
26432
25983
  function WriteRichTextAreaFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
26433
- i0.ɵɵelementStart(0, "span", 42);
25984
+ i0.ɵɵelementStart(0, "span", 49);
26434
25985
  i0.ɵɵtext(1);
26435
25986
  i0.ɵɵpipe(2, "rpxTranslate");
26436
25987
  i0.ɵɵelementEnd();
@@ -26440,8 +25991,8 @@ function WriteRichTextAreaFieldComponent_span_3_Template(rf, ctx) { if (rf & 1)
26440
25991
  i0.ɵɵadvance();
26441
25992
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r1.caseField.hint_text));
26442
25993
  } }
26443
- function WriteRichTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
26444
- i0.ɵɵelementStart(0, "span", 43);
25994
+ function WriteRichTextAreaFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
25995
+ i0.ɵɵelementStart(0, "span", 50);
26445
25996
  i0.ɵɵtext(1);
26446
25997
  i0.ɵɵpipe(2, "ccdFirstError");
26447
25998
  i0.ɵɵelementEnd();
@@ -26451,8 +26002,31 @@ function WriteRichTextAreaFieldComponent_span_4_Template(rf, ctx) { if (rf & 1)
26451
26002
  i0.ɵɵadvance();
26452
26003
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 2, ctx_r1.richTextAreaControl.errors, ctx_r1.caseField.label), " ");
26453
26004
  } }
26454
- function WriteRichTextAreaFieldComponent_option_41_Template(rf, ctx) { if (rf & 1) {
26455
- i0.ɵɵelementStart(0, "option", 44);
26005
+ function WriteRichTextAreaFieldComponent_div_35_Template(rf, ctx) { if (rf & 1) {
26006
+ const _r3 = i0.ɵɵgetCurrentView();
26007
+ i0.ɵɵelementStart(0, "div", 51)(1, "label", 52);
26008
+ i0.ɵɵtext(2, "Heading level");
26009
+ i0.ɵɵelementEnd();
26010
+ i0.ɵɵelementStart(3, "select", 53);
26011
+ i0.ɵɵlistener("change", function WriteRichTextAreaFieldComponent_div_35_Template_select_change_3_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onHeadingLevelChange($event)); });
26012
+ i0.ɵɵelementStart(4, "option", 54);
26013
+ i0.ɵɵtext(5, "Heading 1");
26014
+ i0.ɵɵelementEnd();
26015
+ i0.ɵɵelementStart(6, "option", 55);
26016
+ i0.ɵɵtext(7, "Heading 2");
26017
+ i0.ɵɵelementEnd();
26018
+ i0.ɵɵelementStart(8, "option", 56);
26019
+ i0.ɵɵtext(9, "Heading 3");
26020
+ i0.ɵɵelementEnd()()();
26021
+ } if (rf & 2) {
26022
+ const ctx_r1 = i0.ɵɵnextContext();
26023
+ i0.ɵɵadvance();
26024
+ i0.ɵɵproperty("for", ctx_r1.headingLevelId());
26025
+ i0.ɵɵadvance(2);
26026
+ i0.ɵɵproperty("id", ctx_r1.headingLevelId())("value", ctx_r1.selectedHeadingLevel);
26027
+ } }
26028
+ function WriteRichTextAreaFieldComponent_option_48_Template(rf, ctx) { if (rf & 1) {
26029
+ i0.ɵɵelementStart(0, "option", 57);
26456
26030
  i0.ɵɵtext(1, "No list");
26457
26031
  i0.ɵɵelementEnd();
26458
26032
  } }
@@ -26476,6 +26050,7 @@ function orderedListTypeForStyle(style) {
26476
26050
  }
26477
26051
  const WORD_COLUMN_SPACING = 12;
26478
26052
  const MAX_INDENT = 6;
26053
+ const DEFAULT_HEADING_LEVEL = 3;
26479
26054
  const CSS_LENGTH_UNITS = ['rem', 'px', 'pt', 'in', 'cm', 'mm', 'em'];
26480
26055
  const BLOCK_NODE_NAMES = new Set([
26481
26056
  'address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset', 'figcaption', 'figure', 'footer', 'form',
@@ -26483,6 +26058,13 @@ const BLOCK_NODE_NAMES = new Set([
26483
26058
  ]);
26484
26059
  const richTextNodes = {
26485
26060
  ...nodes,
26061
+ heading: {
26062
+ ...nodes.heading,
26063
+ attrs: {
26064
+ ...nodes.heading.attrs,
26065
+ level: { default: DEFAULT_HEADING_LEVEL }
26066
+ }
26067
+ },
26486
26068
  list_item: {
26487
26069
  ...nodes.list_item,
26488
26070
  content: '(paragraph | heading) block*'
@@ -26537,10 +26119,12 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
26537
26119
  editor;
26538
26120
  richTextAreaControl;
26539
26121
  activeToolbarCommands = {};
26122
+ selectedHeadingLevel = DEFAULT_HEADING_LEVEL;
26540
26123
  editorUpdateSubscription;
26541
26124
  isNormalisingValue = false;
26542
26125
  paragraphCommandApplied = false;
26543
26126
  statusChangesSubscription;
26127
+ toolbarPointerInteraction = false;
26544
26128
  valueChangesSubscription;
26545
26129
  ngOnInit() {
26546
26130
  this.editor = new Editor({
@@ -26604,9 +26188,15 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
26604
26188
  errorId() {
26605
26189
  return `${this.id()}_error`;
26606
26190
  }
26191
+ keyboardInstructionsId() {
26192
+ return `${this.id()}_keyboard_instructions`;
26193
+ }
26607
26194
  listStyleId() {
26608
26195
  return `${this.id()}_list_style`;
26609
26196
  }
26197
+ headingLevelId() {
26198
+ return `${this.id()}_heading_level`;
26199
+ }
26610
26200
  toolbarLabel() {
26611
26201
  return `${this.caseField.label || this.caseField.id} formatting options`;
26612
26202
  }
@@ -26617,10 +26207,70 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
26617
26207
  this.richTextAreaControl.markAsTouched();
26618
26208
  this.syncAccessibilityLater();
26619
26209
  }
26210
+ onEditorClick() {
26211
+ this.syncAccessibilityLater();
26212
+ }
26620
26213
  onToolbarButtonMouseDown(event) {
26214
+ this.toolbarPointerInteraction = true;
26215
+ this.setToolbarTabStop(event.currentTarget);
26621
26216
  event.preventDefault();
26622
26217
  }
26218
+ onToolbarFocusIn(event) {
26219
+ const control = event.target;
26220
+ if (control?.matches('button, select')) {
26221
+ this.setToolbarTabStop(control);
26222
+ }
26223
+ }
26224
+ onToolbarKeyDown(event) {
26225
+ if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) {
26226
+ return;
26227
+ }
26228
+ const control = event.target;
26229
+ if (!control?.matches('button, select')) {
26230
+ return;
26231
+ }
26232
+ const isSelect = control.tagName === 'SELECT';
26233
+ const isPrevious = event.key === 'ArrowLeft';
26234
+ const isNext = event.key === 'ArrowRight';
26235
+ const isFirst = event.key === 'Home' && !isSelect;
26236
+ const isLast = event.key === 'End' && !isSelect;
26237
+ if (!isPrevious && !isNext && !isFirst && !isLast) {
26238
+ return;
26239
+ }
26240
+ const controls = this.toolbarControls();
26241
+ const currentIndex = controls.indexOf(control);
26242
+ if (currentIndex === -1 || controls.length === 0) {
26243
+ return;
26244
+ }
26245
+ event.preventDefault();
26246
+ event.stopPropagation();
26247
+ let nextIndex;
26248
+ if (isFirst) {
26249
+ nextIndex = 0;
26250
+ }
26251
+ else if (isLast) {
26252
+ nextIndex = controls.length - 1;
26253
+ }
26254
+ else {
26255
+ const direction = isPrevious ? -1 : 1;
26256
+ nextIndex = (currentIndex + direction + controls.length) % controls.length;
26257
+ }
26258
+ const nextControl = controls[nextIndex];
26259
+ this.setToolbarTabStop(nextControl);
26260
+ nextControl.focus();
26261
+ }
26623
26262
  handleEditorKeyDown(event) {
26263
+ if (event.key === 'Escape') {
26264
+ event.preventDefault();
26265
+ event.stopPropagation();
26266
+ const controls = this.toolbarControls();
26267
+ const toolbarControl = controls.find((control) => control.tabIndex === 0) || controls[0];
26268
+ if (toolbarControl) {
26269
+ this.setToolbarTabStop(toolbarControl);
26270
+ toolbarControl.focus();
26271
+ }
26272
+ return true;
26273
+ }
26624
26274
  const isUnmodifiedEnter = event.key === 'Enter' &&
26625
26275
  !event.shiftKey &&
26626
26276
  !event.altKey &&
@@ -26631,10 +26281,24 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
26631
26281
  event.stopPropagation();
26632
26282
  return true;
26633
26283
  }
26634
- if (event.key !== 'Tab' || !this.isNodeActive('list_item')) {
26284
+ if (event.key !== 'Tab') {
26635
26285
  return false;
26636
26286
  }
26637
- this.executeToolbarCommand(event, event.shiftKey ? 'outdent' : 'indent');
26287
+ if (event.altKey || event.ctrlKey || event.metaKey) {
26288
+ return false;
26289
+ }
26290
+ if (!this.isNodeActive('list_item')) {
26291
+ return false;
26292
+ }
26293
+ const indentChanged = this.changeIndent(!event.shiftKey);
26294
+ if (!indentChanged) {
26295
+ return false;
26296
+ }
26297
+ event.preventDefault();
26298
+ event.stopPropagation();
26299
+ this.richTextAreaControl.markAsDirty();
26300
+ this.updateToolbarState();
26301
+ this.syncAccessibilityLater();
26638
26302
  return true;
26639
26303
  }
26640
26304
  splitListContinuationParagraph() {
@@ -26709,13 +26373,33 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
26709
26373
  break;
26710
26374
  }
26711
26375
  this.richTextAreaControl.markAsDirty();
26712
- this.editor.view.focus();
26376
+ const eventTarget = event.currentTarget;
26377
+ const keepToolbarFocus = eventTarget?.matches('button, select') && !this.toolbarPointerInteraction;
26378
+ if (keepToolbarFocus) {
26379
+ this.setToolbarTabStop(eventTarget);
26380
+ eventTarget.focus();
26381
+ }
26382
+ else {
26383
+ this.editor.view.focus();
26384
+ }
26385
+ this.toolbarPointerInteraction = false;
26713
26386
  this.updateToolbarState();
26714
26387
  this.syncAccessibilityLater();
26715
26388
  }
26716
26389
  isToolbarCommandActive(command) {
26717
26390
  return !!this.activeToolbarCommands[command];
26718
26391
  }
26392
+ onHeadingLevelChange(event) {
26393
+ const level = Number(event.target.value);
26394
+ if (level !== 1 && level !== 2 && level !== 3) {
26395
+ return;
26396
+ }
26397
+ this.selectedHeadingLevel = level;
26398
+ this.applyHeadingLevel(level);
26399
+ this.richTextAreaControl.markAsDirty();
26400
+ this.updateToolbarState();
26401
+ this.syncAccessibilityLater();
26402
+ }
26719
26403
  currentListStyle() {
26720
26404
  const activeList = this.activeListNode();
26721
26405
  if (activeList?.type.name === 'ordered_list') {
@@ -26749,7 +26433,6 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
26749
26433
  }
26750
26434
  this.applyListStyleSelection(listStyle);
26751
26435
  this.richTextAreaControl.markAsDirty();
26752
- this.editor.view.focus();
26753
26436
  this.updateToolbarState();
26754
26437
  this.syncAccessibilityLater();
26755
26438
  }
@@ -27262,6 +26945,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
27262
26945
  if (this.caseField.hint_text) {
27263
26946
  ids.push(this.hintId());
27264
26947
  }
26948
+ ids.push(this.keyboardInstructionsId());
27265
26949
  if (this.isInvalid()) {
27266
26950
  ids.push(this.errorId());
27267
26951
  }
@@ -27283,7 +26967,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
27283
26967
  Italic: 'italic',
27284
26968
  Underline: 'underline',
27285
26969
  Paragraph: 'paragraph',
27286
- 'Heading level 1': 'heading',
26970
+ Heading: 'heading',
27287
26971
  'Bullet List': 'bullet_list',
27288
26972
  'Numbered List': 'ordered_list'
27289
26973
  };
@@ -27300,6 +26984,21 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
27300
26984
  button.setAttribute('aria-pressed', `${isActive}`);
27301
26985
  }
27302
26986
  });
26987
+ const controls = this.toolbarControls();
26988
+ if (controls.length && !controls.some((control) => control.tabIndex === 0)) {
26989
+ this.setToolbarTabStop(controls[0]);
26990
+ }
26991
+ }
26992
+ toolbarControls() {
26993
+ if (!this.editorHost) {
26994
+ return [];
26995
+ }
26996
+ return Array.prototype.slice.call(this.editorHost.nativeElement.querySelectorAll('.ccd-rich-text-area__toolbar button:not([disabled]), .ccd-rich-text-area__toolbar select:not([disabled])'));
26997
+ }
26998
+ setToolbarTabStop(activeControl) {
26999
+ this.toolbarControls().forEach((control) => {
27000
+ control.tabIndex = control === activeControl ? 0 : -1;
27001
+ });
27303
27002
  }
27304
27003
  getEditableElement() {
27305
27004
  if (!this.editorHost) {
@@ -27376,7 +27075,9 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
27376
27075
  if (headingLevel) {
27377
27076
  element.dataset.wordHeadingLevel = headingLevel.toString();
27378
27077
  }
27379
- if (hasBoldStyle) {
27078
+ // A Word heading style is rendered bold by the corresponding h1-h3
27079
+ // element. Only retain a strong mark for independently bold text.
27080
+ if (hasBoldStyle && !headingLevel) {
27380
27081
  this.wrapBoldInlineContents(documentElement, element);
27381
27082
  }
27382
27083
  });
@@ -27489,30 +27190,21 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
27489
27190
  normaliseWordSemanticBlocks(documentElement) {
27490
27191
  const blocks = Array.prototype.slice.call(documentElement.body.querySelectorAll('p, h1, h2, h3, h4, h5, h6'));
27491
27192
  blocks.forEach((block) => {
27492
- const namedHeadingLevel = this.namedWordHeadingLevel(block);
27493
27193
  const existingHeadingLevel = /^h([1-6])$/i.exec(block.tagName)?.[1];
27494
27194
  if (existingHeadingLevel) {
27495
- const heading = existingHeadingLevel === '1'
27496
- ? block
27497
- : this.replaceElementTag(documentElement, block, 'h1');
27498
- if (namedHeadingLevel) {
27499
- this.removeRedundantHeadingBold(heading);
27195
+ const supportedHeadingLevel = Math.min(Number(existingHeadingLevel), 3);
27196
+ const headingTag = `h${supportedHeadingLevel}`;
27197
+ if (block.tagName.toLowerCase() !== headingTag) {
27198
+ this.replaceElementTag(documentElement, block, headingTag);
27500
27199
  }
27501
27200
  return;
27502
27201
  }
27503
27202
  const headingLevel = this.wordHeadingLevel(block);
27504
27203
  if (headingLevel) {
27505
- const heading = this.replaceElementTag(documentElement, block, 'h1');
27506
- if (namedHeadingLevel) {
27507
- this.removeRedundantHeadingBold(heading);
27508
- }
27204
+ this.replaceElementTag(documentElement, block, `h${Math.min(headingLevel, 3)}`);
27509
27205
  }
27510
27206
  });
27511
27207
  }
27512
- removeRedundantHeadingBold(heading) {
27513
- const boldElements = Array.prototype.slice.call(heading.querySelectorAll('strong, b'));
27514
- boldElements.reverse().forEach((element) => this.unwrapElement(element));
27515
- }
27516
27208
  wordHeadingLevel(element) {
27517
27209
  const namedHeadingLevel = this.namedWordHeadingLevel(element);
27518
27210
  if (namedHeadingLevel) {
@@ -27643,7 +27335,10 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
27643
27335
  if (!style || this.isWordLayoutContainer(htmlElement)) {
27644
27336
  return;
27645
27337
  }
27646
- if (this.hasBoldStyle(style)) {
27338
+ // Heading elements provide their own bold presentation. Do not turn that
27339
+ // semantic heading weight into an independently selected Bold mark.
27340
+ const isHeading = /^h[1-3]$/i.test(htmlElement.tagName);
27341
+ if (this.hasBoldStyle(style) && !isHeading) {
27647
27342
  this.wrapBoldInlineContents(documentElement, htmlElement);
27648
27343
  }
27649
27344
  if (this.hasItalicStyle(style)) {
@@ -28211,12 +27906,16 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
28211
27906
  return;
28212
27907
  }
28213
27908
  const activeListType = this.activeListNode()?.type.name;
27909
+ const activeHeadingLevel = this.activeHeadingLevel();
27910
+ if (activeHeadingLevel === 1 || activeHeadingLevel === 2 || activeHeadingLevel === 3) {
27911
+ this.selectedHeadingLevel = activeHeadingLevel;
27912
+ }
28214
27913
  this.activeToolbarCommands = {
28215
27914
  bold: this.isMarkActive('strong'),
28216
27915
  italic: this.isMarkActive('em'),
28217
27916
  underline: this.isMarkActive('u'),
28218
27917
  paragraph: this.paragraphCommandApplied && this.isPlainParagraphActive(),
28219
- heading: this.isHeadingOneActive(),
27918
+ heading: activeHeadingLevel !== null,
28220
27919
  ordered_list: activeListType === 'ordered_list',
28221
27920
  bullet_list: activeListType === 'bullet_list'
28222
27921
  };
@@ -28514,23 +28213,21 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
28514
28213
  const listItemType = state.schema.nodes.list_item;
28515
28214
  if (listItemType && this.isNodeActive('list_item')) {
28516
28215
  if (!increase && this.changeListIndent(false, state, dispatch)) {
28517
- return;
28216
+ return true;
28518
28217
  }
28519
28218
  const listCommand = increase ? sinkListItem(listItemType) : liftListItem(listItemType);
28520
28219
  if (listCommand(state, dispatch)) {
28521
28220
  this.applyOrderedListStyleForCurrentDepth();
28522
- return;
28221
+ return true;
28523
28222
  }
28524
28223
  if (increase && this.changeListIndent(true, state, dispatch)) {
28525
- return;
28224
+ return true;
28526
28225
  }
28527
28226
  }
28528
28227
  if (increase) {
28529
- this.editor.commands.indent().exec();
28530
- }
28531
- else {
28532
- this.editor.commands.outdent().exec();
28228
+ return this.editor.commands.indent().exec();
28533
28229
  }
28230
+ return this.editor.commands.outdent().exec();
28534
28231
  }
28535
28232
  applyOrderedListStyleForCurrentDepth() {
28536
28233
  const { state, dispatch } = this.editor.view;
@@ -28590,7 +28287,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
28590
28287
  this.paragraphCommandApplied = true;
28591
28288
  }
28592
28289
  toggleHeading() {
28593
- if (this.isHeadingOneActive()) {
28290
+ if (this.activeHeadingLevel() !== null) {
28594
28291
  const paragraphType = this.editor.view.state.schema.nodes.paragraph;
28595
28292
  if (paragraphType) {
28596
28293
  setBlockType(paragraphType)(this.editor.view.state, this.editor.view.dispatch);
@@ -28598,34 +28295,38 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
28598
28295
  this.paragraphCommandApplied = false;
28599
28296
  return;
28600
28297
  }
28298
+ this.applyHeadingLevel(this.selectedHeadingLevel);
28299
+ this.paragraphCommandApplied = false;
28300
+ }
28301
+ applyHeadingLevel(level) {
28601
28302
  const headingType = this.editor.view.state.schema.nodes.heading;
28602
28303
  if (headingType) {
28603
- setBlockType(headingType, { level: 1 })(this.editor.view.state, this.editor.view.dispatch);
28304
+ setBlockType(headingType, { level })(this.editor.view.state, this.editor.view.dispatch);
28604
28305
  }
28605
28306
  this.paragraphCommandApplied = false;
28606
28307
  }
28607
- isHeadingOneActive() {
28308
+ activeHeadingLevel() {
28608
28309
  const state = this.editor.view.state;
28609
28310
  const headingType = state.schema.nodes.heading;
28610
28311
  if (!headingType) {
28611
- return false;
28312
+ return null;
28612
28313
  }
28613
28314
  const { $from, from, to } = state.selection;
28614
28315
  for (let depth = $from.depth; depth > 0; depth--) {
28615
28316
  const node = $from.node(depth);
28616
- if (node.type === headingType && node.attrs.level === 1) {
28617
- return true;
28317
+ if (node.type === headingType) {
28318
+ return Number(node.attrs.level);
28618
28319
  }
28619
28320
  }
28620
- let isActive = false;
28321
+ let activeLevel = null;
28621
28322
  state.doc.nodesBetween(from, to, (node) => {
28622
- if (node.type === headingType && node.attrs.level === 1) {
28623
- isActive = true;
28323
+ if (node.type === headingType) {
28324
+ activeLevel = Number(node.attrs.level);
28624
28325
  return false;
28625
28326
  }
28626
28327
  return true;
28627
28328
  });
28628
- return isActive;
28329
+ return activeLevel;
28629
28330
  }
28630
28331
  isPlainParagraphActive() {
28631
28332
  return this.isNodeActive('paragraph') &&
@@ -28700,110 +28401,118 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
28700
28401
  } if (rf & 2) {
28701
28402
  let _t;
28702
28403
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editorHost = _t.first);
28703
- } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 57, vars: 45, consts: [["editorHost", ""], [1, "form-group", "ccd-rich-text-area", 3, "ngClass"], [3, "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 3, "id", 4, "ngIf"], ["class", "error-message", 3, "id", 4, "ngIf"], [1, "ccd-rich-text-area__editor", 3, "click", "keydown", "keyup", "paste", "ngClass"], ["role", "toolbar", 1, "ccd-rich-text-area__toolbar"], ["type", "button", "aria-label", "Undo", "title", "Undo", "aria-keyshortcuts", "Control+Z", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["viewBox", "0 0 24 24", "aria-hidden", "true", "focusable", "false", 1, "ccd-rich-text-area__toolbar-icon"], ["d", "M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"], ["type", "button", "aria-label", "Redo", "title", "Redo", "aria-keyshortcuts", "Control+Y", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["d", "M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"], ["aria-hidden", "true", 1, "ccd-rich-text-area__toolbar-separator"], ["type", "button", "aria-label", "Bold", "title", "Bold", "aria-keyshortcuts", "Control+B", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--bold", 3, "mousedown", "click", "ngClass"], ["d", "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5S13.83 9.5 13 9.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"], ["type", "button", "aria-label", "Italic", "title", "Italic", "aria-keyshortcuts", "Control+I", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--italic", 3, "mousedown", "click", "ngClass"], ["d", "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"], ["type", "button", "aria-label", "Underline", "title", "Underline", "aria-keyshortcuts", "Control+U", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--underline", 3, "mousedown", "click", "ngClass"], ["d", "M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"], ["type", "button", "aria-label", "Paragraph", "title", "Paragraph", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--paragraph", 3, "mousedown", "click", "ngClass"], ["aria-hidden", "true", 1, "ccd-rich-text-area__toolbar-icon", "ccd-rich-text-area__toolbar-icon--paragraph"], ["type", "button", "aria-label", "Heading level 1", "title", "Heading level 1", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--heading", 3, "mousedown", "click", "ngClass"], ["aria-hidden", "true", 1, "ccd-rich-text-area__toolbar-icon", "ccd-rich-text-area__toolbar-icon--heading"], ["type", "button", "aria-label", "Bullet List", "title", "Bullet List", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click", "ngClass"], ["d", "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6C3.17 4.5 2.5 5.17 2.5 6S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM7 13h14v-2H7v2zm0 6h14v-2H7v2zM7 5v2h14V5H7z"], ["type", "button", "aria-label", "Numbered List", "title", "Numbered List", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click", "ngClass"], ["d", "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1V14h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"], [1, "ccd-rich-text-area__list-style"], [1, "ccd-rich-text-area__list-style-label", 3, "for"], [1, "ccd-rich-text-area__list-style-select", 3, "change", "id", "value"], ["value", "", 4, "ngIf"], ["value", "ordered_list"], ["value", "ordered_alpha"], ["value", "ordered_roman"], ["type", "button", "aria-label", "Decrease Indent", "title", "Decrease Indent", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["d", "M11 17h10v-2H11v2zm-8-5 4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"], ["type", "button", "aria-label", "Increase Indent", "title", "Increase Indent", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["d", "M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"], [1, "NgxEditor__Wrapper"], ["outputFormat", "html", 3, "focusIn", "focusOut", "editor", "formControl"], [1, "form-label"], [1, "form-hint", 3, "id"], [1, "error-message", 3, "id"], ["value", ""]], template: function WriteRichTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
28404
+ } }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 65, vars: 47, consts: [["editorHost", ""], [1, "form-group", "ccd-rich-text-area", 3, "ngClass"], [3, "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 3, "id", 4, "ngIf"], [1, "ccd-rich-text-area__keyboard-instructions", 3, "id"], ["class", "error-message", 3, "id", 4, "ngIf"], [1, "ccd-rich-text-area__editor", 3, "click", "keydown", "keyup", "paste", "ngClass"], ["role", "toolbar", "aria-orientation", "horizontal", 1, "ccd-rich-text-area__toolbar", 3, "focusin", "keydown"], ["role", "group", "aria-label", "History", 1, "ccd-rich-text-area__toolbar-group"], ["type", "button", "tabindex", "0", "aria-label", "Undo", "title", "Undo", "aria-keyshortcuts", "Control+Z", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["viewBox", "0 0 24 24", "aria-hidden", "true", "focusable", "false", 1, "ccd-rich-text-area__toolbar-icon"], ["d", "M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"], ["type", "button", "tabindex", "-1", "aria-label", "Redo", "title", "Redo", "aria-keyshortcuts", "Control+Y", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["d", "M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"], ["aria-hidden", "true", 1, "ccd-rich-text-area__toolbar-separator"], ["role", "group", "aria-label", "Text formatting", 1, "ccd-rich-text-area__toolbar-group"], ["type", "button", "tabindex", "-1", "aria-label", "Bold", "title", "Bold", "aria-keyshortcuts", "Control+B", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--bold", 3, "mousedown", "click", "ngClass"], ["d", "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5S13.83 9.5 13 9.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"], ["type", "button", "tabindex", "-1", "aria-label", "Italic", "title", "Italic", "aria-keyshortcuts", "Control+I", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--italic", 3, "mousedown", "click", "ngClass"], ["d", "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"], ["type", "button", "tabindex", "-1", "aria-label", "Underline", "title", "Underline", "aria-keyshortcuts", "Control+U", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--underline", 3, "mousedown", "click", "ngClass"], ["d", "M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"], ["role", "group", "aria-label", "Paragraph and heading formatting", 1, "ccd-rich-text-area__toolbar-group"], ["type", "button", "tabindex", "-1", "aria-label", "Paragraph", "title", "Paragraph", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--paragraph", 3, "mousedown", "click", "ngClass"], ["aria-hidden", "true", 1, "ccd-rich-text-area__toolbar-icon", "ccd-rich-text-area__toolbar-icon--paragraph"], ["type", "button", "tabindex", "-1", "aria-label", "Heading", "title", "Heading", 1, "ccd-rich-text-area__toolbar-button", "ccd-rich-text-area__toolbar-button--heading", 3, "mousedown", "click", "ngClass"], ["aria-hidden", "true", 1, "ccd-rich-text-area__toolbar-icon", "ccd-rich-text-area__toolbar-icon--heading"], ["class", "ccd-rich-text-area__heading-level", 4, "ngIf"], ["role", "group", "aria-label", "List formatting", 1, "ccd-rich-text-area__toolbar-group", "ccd-rich-text-area__toolbar-group--list"], ["type", "button", "tabindex", "-1", "aria-label", "Bullet List", "title", "Bullet List", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click", "ngClass"], ["d", "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6C3.17 4.5 2.5 5.17 2.5 6S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM7 13h14v-2H7v2zm0 6h14v-2H7v2zM7 5v2h14V5H7z"], ["type", "button", "tabindex", "-1", "aria-label", "Numbered List", "title", "Numbered List", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click", "ngClass"], ["d", "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1V14h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"], [1, "ccd-rich-text-area__list-style"], [1, "ccd-rich-text-area__list-style-label", 3, "for"], ["tabindex", "-1", 1, "ccd-rich-text-area__list-style-select", 3, "change", "id", "value"], ["value", "", 4, "ngIf"], ["value", "ordered_list"], ["value", "ordered_alpha"], ["value", "ordered_roman"], ["role", "group", "aria-label", "Indentation", 1, "ccd-rich-text-area__toolbar-group"], ["type", "button", "tabindex", "-1", "aria-label", "Decrease Indent", "title", "Decrease Indent", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["d", "M11 17h10v-2H11v2zm-8-5 4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"], ["type", "button", "tabindex", "-1", "aria-label", "Increase Indent", "title", "Increase Indent", 1, "ccd-rich-text-area__toolbar-button", 3, "mousedown", "click"], ["d", "M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z"], [1, "NgxEditor__Wrapper"], ["outputFormat", "html", 3, "focusIn", "focusOut", "editor", "formControl"], [1, "form-label"], [1, "form-hint", 3, "id"], [1, "error-message", 3, "id"], [1, "ccd-rich-text-area__heading-level"], [1, "ccd-rich-text-area__heading-level-label", 3, "for"], ["tabindex", "-1", 1, "ccd-rich-text-area__heading-level-select", 3, "change", "id", "value"], ["value", "1"], ["value", "2"], ["value", "3"], ["value", ""]], template: function WriteRichTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
28704
28405
  const _r1 = i0.ɵɵgetCurrentView();
28705
28406
  i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
28706
28407
  i0.ɵɵtemplate(2, WriteRichTextAreaFieldComponent_span_2_Template, 3, 3, "span", 3);
28707
28408
  i0.ɵɵelementEnd();
28708
- i0.ɵɵtemplate(3, WriteRichTextAreaFieldComponent_span_3_Template, 3, 4, "span", 4)(4, WriteRichTextAreaFieldComponent_span_4_Template, 3, 5, "span", 5);
28709
- i0.ɵɵelementStart(5, "div", 6, 0);
28710
- i0.ɵɵlistener("click", function WriteRichTextAreaFieldComponent_Template_div_click_5_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.syncAccessibilityLater()); })("keydown", function WriteRichTextAreaFieldComponent_Template_div_keydown_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEditorKeyDown($event)); })("keyup", function WriteRichTextAreaFieldComponent_Template_div_keyup_5_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.syncAccessibilityLater()); })("paste", function WriteRichTextAreaFieldComponent_Template_div_paste_5_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onPaste($event)); });
28711
- i0.ɵɵelementStart(7, "div", 7)(8, "button", 8);
28712
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_8_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_8_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "undo")); });
28409
+ i0.ɵɵtemplate(3, WriteRichTextAreaFieldComponent_span_3_Template, 3, 4, "span", 4);
28410
+ i0.ɵɵelementStart(4, "span", 5);
28411
+ i0.ɵɵtext(5, " Press Escape to move from the editor to the formatting toolbar. ");
28412
+ i0.ɵɵelementEnd();
28413
+ i0.ɵɵtemplate(6, WriteRichTextAreaFieldComponent_span_6_Template, 3, 5, "span", 6);
28414
+ i0.ɵɵelementStart(7, "div", 7, 0);
28415
+ i0.ɵɵlistener("click", function WriteRichTextAreaFieldComponent_Template_div_click_7_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEditorClick()); })("keydown", function WriteRichTextAreaFieldComponent_Template_div_keydown_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEditorKeyDown($event)); })("keyup", function WriteRichTextAreaFieldComponent_Template_div_keyup_7_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.syncAccessibilityLater()); })("paste", function WriteRichTextAreaFieldComponent_Template_div_paste_7_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onPaste($event)); });
28416
+ i0.ɵɵelementStart(9, "div", 8);
28417
+ i0.ɵɵlistener("focusin", function WriteRichTextAreaFieldComponent_Template_div_focusin_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarFocusIn($event)); })("keydown", function WriteRichTextAreaFieldComponent_Template_div_keydown_9_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarKeyDown($event)); });
28418
+ i0.ɵɵelementStart(10, "div", 9)(11, "button", 10);
28419
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "undo")); });
28713
28420
  i0.ɵɵnamespaceSVG();
28714
- i0.ɵɵelementStart(9, "svg", 9);
28715
- i0.ɵɵelement(10, "path", 10);
28421
+ i0.ɵɵelementStart(12, "svg", 11);
28422
+ i0.ɵɵelement(13, "path", 12);
28716
28423
  i0.ɵɵelementEnd()();
28717
28424
  i0.ɵɵnamespaceHTML();
28718
- i0.ɵɵelementStart(11, "button", 11);
28719
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_11_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "redo")); });
28425
+ i0.ɵɵelementStart(14, "button", 13);
28426
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_14_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_14_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "redo")); });
28720
28427
  i0.ɵɵnamespaceSVG();
28721
- i0.ɵɵelementStart(12, "svg", 9);
28722
- i0.ɵɵelement(13, "path", 12);
28723
- i0.ɵɵelementEnd()();
28428
+ i0.ɵɵelementStart(15, "svg", 11);
28429
+ i0.ɵɵelement(16, "path", 14);
28430
+ i0.ɵɵelementEnd()()();
28724
28431
  i0.ɵɵnamespaceHTML();
28725
- i0.ɵɵelement(14, "span", 13);
28726
- i0.ɵɵelementStart(15, "button", 14);
28727
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_15_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_15_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "bold")); });
28432
+ i0.ɵɵelement(17, "span", 15);
28433
+ i0.ɵɵelementStart(18, "div", 16)(19, "button", 17);
28434
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_19_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_19_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "bold")); });
28728
28435
  i0.ɵɵnamespaceSVG();
28729
- i0.ɵɵelementStart(16, "svg", 9);
28730
- i0.ɵɵelement(17, "path", 15);
28436
+ i0.ɵɵelementStart(20, "svg", 11);
28437
+ i0.ɵɵelement(21, "path", 18);
28731
28438
  i0.ɵɵelementEnd()();
28732
28439
  i0.ɵɵnamespaceHTML();
28733
- i0.ɵɵelementStart(18, "button", 16);
28734
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_18_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_18_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "italic")); });
28440
+ i0.ɵɵelementStart(22, "button", 19);
28441
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_22_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_22_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "italic")); });
28735
28442
  i0.ɵɵnamespaceSVG();
28736
- i0.ɵɵelementStart(19, "svg", 9);
28737
- i0.ɵɵelement(20, "path", 17);
28443
+ i0.ɵɵelementStart(23, "svg", 11);
28444
+ i0.ɵɵelement(24, "path", 20);
28738
28445
  i0.ɵɵelementEnd()();
28739
28446
  i0.ɵɵnamespaceHTML();
28740
- i0.ɵɵelementStart(21, "button", 18);
28741
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_21_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_21_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "underline")); });
28447
+ i0.ɵɵelementStart(25, "button", 21);
28448
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "underline")); });
28742
28449
  i0.ɵɵnamespaceSVG();
28743
- i0.ɵɵelementStart(22, "svg", 9);
28744
- i0.ɵɵelement(23, "path", 19);
28745
- i0.ɵɵelementEnd()();
28450
+ i0.ɵɵelementStart(26, "svg", 11);
28451
+ i0.ɵɵelement(27, "path", 22);
28452
+ i0.ɵɵelementEnd()()();
28746
28453
  i0.ɵɵnamespaceHTML();
28747
- i0.ɵɵelementStart(24, "button", 20);
28748
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_24_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_24_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "paragraph")); });
28749
- i0.ɵɵelementStart(25, "span", 21);
28750
- i0.ɵɵtext(26, "P");
28454
+ i0.ɵɵelementStart(28, "div", 23)(29, "button", 24);
28455
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_29_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_29_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "paragraph")); });
28456
+ i0.ɵɵelementStart(30, "span", 25);
28457
+ i0.ɵɵtext(31, "P");
28751
28458
  i0.ɵɵelementEnd()();
28752
- i0.ɵɵelementStart(27, "button", 22);
28753
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_27_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_27_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "heading")); });
28754
- i0.ɵɵelementStart(28, "span", 23);
28755
- i0.ɵɵtext(29, "H");
28459
+ i0.ɵɵelementStart(32, "button", 26);
28460
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_32_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_32_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "heading")); });
28461
+ i0.ɵɵelementStart(33, "span", 27);
28462
+ i0.ɵɵtext(34, "H");
28756
28463
  i0.ɵɵelementEnd()();
28757
- i0.ɵɵelement(30, "span", 13);
28758
- i0.ɵɵelementStart(31, "button", 24);
28759
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_31_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_31_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "bullet_list")); });
28464
+ i0.ɵɵtemplate(35, WriteRichTextAreaFieldComponent_div_35_Template, 10, 3, "div", 28);
28465
+ i0.ɵɵelementEnd();
28466
+ i0.ɵɵelement(36, "span", 15);
28467
+ i0.ɵɵelementStart(37, "div", 29)(38, "button", 30);
28468
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_38_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_38_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "bullet_list")); });
28760
28469
  i0.ɵɵnamespaceSVG();
28761
- i0.ɵɵelementStart(32, "svg", 9);
28762
- i0.ɵɵelement(33, "path", 25);
28470
+ i0.ɵɵelementStart(39, "svg", 11);
28471
+ i0.ɵɵelement(40, "path", 31);
28763
28472
  i0.ɵɵelementEnd()();
28764
28473
  i0.ɵɵnamespaceHTML();
28765
- i0.ɵɵelementStart(34, "button", 26);
28766
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_34_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_34_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "ordered_list")); });
28474
+ i0.ɵɵelementStart(41, "button", 32);
28475
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_41_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_41_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "ordered_list")); });
28767
28476
  i0.ɵɵnamespaceSVG();
28768
- i0.ɵɵelementStart(35, "svg", 9);
28769
- i0.ɵɵelement(36, "path", 27);
28477
+ i0.ɵɵelementStart(42, "svg", 11);
28478
+ i0.ɵɵelement(43, "path", 33);
28770
28479
  i0.ɵɵelementEnd()();
28771
28480
  i0.ɵɵnamespaceHTML();
28772
- i0.ɵɵelementStart(37, "div", 28)(38, "label", 29);
28773
- i0.ɵɵtext(39, "List style");
28481
+ i0.ɵɵelementStart(44, "div", 34)(45, "label", 35);
28482
+ i0.ɵɵtext(46, "List style");
28774
28483
  i0.ɵɵelementEnd();
28775
- i0.ɵɵelementStart(40, "select", 30);
28776
- i0.ɵɵlistener("change", function WriteRichTextAreaFieldComponent_Template_select_change_40_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListStyleChange($event)); });
28777
- i0.ɵɵtemplate(41, WriteRichTextAreaFieldComponent_option_41_Template, 2, 0, "option", 31);
28778
- i0.ɵɵelementStart(42, "option", 32);
28779
- i0.ɵɵtext(43, "Numbers (1, 2, 3)");
28484
+ i0.ɵɵelementStart(47, "select", 36);
28485
+ i0.ɵɵlistener("change", function WriteRichTextAreaFieldComponent_Template_select_change_47_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListStyleChange($event)); });
28486
+ i0.ɵɵtemplate(48, WriteRichTextAreaFieldComponent_option_48_Template, 2, 0, "option", 37);
28487
+ i0.ɵɵelementStart(49, "option", 38);
28488
+ i0.ɵɵtext(50, "Numbers (1, 2, 3)");
28780
28489
  i0.ɵɵelementEnd();
28781
- i0.ɵɵelementStart(44, "option", 33);
28782
- i0.ɵɵtext(45, "Letters (a, b, c)");
28490
+ i0.ɵɵelementStart(51, "option", 39);
28491
+ i0.ɵɵtext(52, "Letters (a, b, c)");
28783
28492
  i0.ɵɵelementEnd();
28784
- i0.ɵɵelementStart(46, "option", 34);
28785
- i0.ɵɵtext(47, "Roman numerals (i), (ii), (iii)");
28786
- i0.ɵɵelementEnd()()();
28787
- i0.ɵɵelement(48, "span", 13);
28788
- i0.ɵɵelementStart(49, "button", 35);
28789
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_49_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_49_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "outdent")); });
28493
+ i0.ɵɵelementStart(53, "option", 40);
28494
+ i0.ɵɵtext(54, "Roman numerals (i), (ii), (iii)");
28495
+ i0.ɵɵelementEnd()()()();
28496
+ i0.ɵɵelement(55, "span", 15);
28497
+ i0.ɵɵelementStart(56, "div", 41)(57, "button", 42);
28498
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_57_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_57_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "outdent")); });
28790
28499
  i0.ɵɵnamespaceSVG();
28791
- i0.ɵɵelementStart(50, "svg", 9);
28792
- i0.ɵɵelement(51, "path", 36);
28500
+ i0.ɵɵelementStart(58, "svg", 11);
28501
+ i0.ɵɵelement(59, "path", 43);
28793
28502
  i0.ɵɵelementEnd()();
28794
28503
  i0.ɵɵnamespaceHTML();
28795
- i0.ɵɵelementStart(52, "button", 37);
28796
- i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_52_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_52_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "indent")); });
28504
+ i0.ɵɵelementStart(60, "button", 44);
28505
+ i0.ɵɵlistener("mousedown", function WriteRichTextAreaFieldComponent_Template_button_mousedown_60_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onToolbarButtonMouseDown($event)); })("click", function WriteRichTextAreaFieldComponent_Template_button_click_60_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.executeToolbarCommand($event, "indent")); });
28797
28506
  i0.ɵɵnamespaceSVG();
28798
- i0.ɵɵelementStart(53, "svg", 9);
28799
- i0.ɵɵelement(54, "path", 38);
28800
- i0.ɵɵelementEnd()()();
28507
+ i0.ɵɵelementStart(61, "svg", 11);
28508
+ i0.ɵɵelement(62, "path", 45);
28509
+ i0.ɵɵelementEnd()()()();
28801
28510
  i0.ɵɵnamespaceHTML();
28802
- i0.ɵɵelementStart(55, "div", 39)(56, "ngx-editor", 40);
28803
- i0.ɵɵlistener("focusIn", function WriteRichTextAreaFieldComponent_Template_ngx_editor_focusIn_56_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.syncAccessibilityLater()); })("focusOut", function WriteRichTextAreaFieldComponent_Template_ngx_editor_focusOut_56_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEditorFocusOut()); });
28511
+ i0.ɵɵelementStart(63, "div", 46)(64, "ngx-editor", 47);
28512
+ i0.ɵɵlistener("focusIn", function WriteRichTextAreaFieldComponent_Template_ngx_editor_focusIn_64_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.syncAccessibilityLater()); })("focusOut", function WriteRichTextAreaFieldComponent_Template_ngx_editor_focusOut_64_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEditorFocusOut()); });
28804
28513
  i0.ɵɵelementEnd()()()();
28805
28514
  } if (rf & 2) {
28806
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(27, _c1$e, !ctx.richTextAreaControl.valid && ctx.richTextAreaControl.dirty));
28515
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c1$e, !ctx.richTextAreaControl.valid && ctx.richTextAreaControl.dirty));
28807
28516
  i0.ɵɵadvance();
28808
28517
  i0.ɵɵproperty("id", ctx.labelId());
28809
28518
  i0.ɵɵadvance();
@@ -28811,31 +28520,35 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
28811
28520
  i0.ɵɵadvance();
28812
28521
  i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
28813
28522
  i0.ɵɵadvance();
28523
+ i0.ɵɵproperty("id", ctx.keyboardInstructionsId());
28524
+ i0.ɵɵadvance(2);
28814
28525
  i0.ɵɵproperty("ngIf", ctx.isInvalid());
28815
28526
  i0.ɵɵadvance();
28816
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(29, _c2$3, ctx.isInvalid()));
28527
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(31, _c2$3, ctx.isInvalid()));
28817
28528
  i0.ɵɵadvance(2);
28818
28529
  i0.ɵɵattribute("aria-label", ctx.toolbarLabel());
28819
- i0.ɵɵadvance(8);
28820
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(31, _c3, ctx.isToolbarCommandActive("bold")));
28530
+ i0.ɵɵadvance(10);
28531
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(33, _c3, ctx.isToolbarCommandActive("bold")));
28821
28532
  i0.ɵɵattribute("aria-pressed", ctx.isToolbarCommandActive("bold"));
28822
28533
  i0.ɵɵadvance(3);
28823
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(33, _c3, ctx.isToolbarCommandActive("italic")));
28534
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(35, _c3, ctx.isToolbarCommandActive("italic")));
28824
28535
  i0.ɵɵattribute("aria-pressed", ctx.isToolbarCommandActive("italic"));
28825
28536
  i0.ɵɵadvance(3);
28826
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(35, _c3, ctx.isToolbarCommandActive("underline")));
28537
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(37, _c3, ctx.isToolbarCommandActive("underline")));
28827
28538
  i0.ɵɵattribute("aria-pressed", ctx.isToolbarCommandActive("underline"));
28828
- i0.ɵɵadvance(3);
28829
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(37, _c3, ctx.isToolbarCommandActive("paragraph")));
28539
+ i0.ɵɵadvance(4);
28540
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(39, _c3, ctx.isToolbarCommandActive("paragraph")));
28830
28541
  i0.ɵɵattribute("aria-pressed", ctx.isToolbarCommandActive("paragraph"));
28831
28542
  i0.ɵɵadvance(3);
28832
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(39, _c3, ctx.isToolbarCommandActive("heading")));
28543
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(41, _c3, ctx.isToolbarCommandActive("heading")));
28833
28544
  i0.ɵɵattribute("aria-pressed", ctx.isToolbarCommandActive("heading"));
28834
- i0.ɵɵadvance(4);
28835
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(41, _c3, ctx.isToolbarCommandActive("bullet_list")));
28545
+ i0.ɵɵadvance(3);
28546
+ i0.ɵɵproperty("ngIf", ctx.isToolbarCommandActive("heading"));
28547
+ i0.ɵɵadvance(3);
28548
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c3, ctx.isToolbarCommandActive("bullet_list")));
28836
28549
  i0.ɵɵattribute("aria-pressed", ctx.isToolbarCommandActive("bullet_list"));
28837
28550
  i0.ɵɵadvance(3);
28838
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(43, _c3, ctx.isOrderedListActive()));
28551
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(45, _c3, ctx.isOrderedListActive()));
28839
28552
  i0.ɵɵattribute("aria-pressed", ctx.isOrderedListActive());
28840
28553
  i0.ɵɵadvance(4);
28841
28554
  i0.ɵɵproperty("for", ctx.listStyleId());
@@ -28843,18 +28556,18 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
28843
28556
  i0.ɵɵproperty("id", ctx.listStyleId())("value", ctx.currentListSelectValue());
28844
28557
  i0.ɵɵadvance();
28845
28558
  i0.ɵɵproperty("ngIf", !ctx.isOrderedListActive());
28846
- i0.ɵɵadvance(15);
28559
+ i0.ɵɵadvance(16);
28847
28560
  i0.ɵɵproperty("editor", ctx.editor)("formControl", ctx.richTextAreaControl);
28848
- } }, dependencies: [i5.NgClass, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.NgControlStatus, i4.FormControlDirective, i3$1.NgxEditorComponent, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], styles: [".ccd-rich-text-area{margin-bottom:30px}.ccd-rich-text-area__editor{max-width:100%}.ccd-rich-text-area__toolbar{align-items:center;background:#fff;border:1px solid #d8dde0;border-radius:6px;display:flex;flex-wrap:wrap;gap:2px;margin-bottom:10px;padding:6px 8px;width:fit-content}.ccd-rich-text-area .NgxEditor__Wrapper{border:1px solid #000;border-radius:0;box-sizing:border-box;height:255px;max-width:100%;min-height:255px;min-width:200px;overflow:hidden;resize:both;width:100%}.ccd-rich-text-area .NgxEditor__Wrapper:focus-within{outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button{background:#fff;align-items:center;border:0;border-radius:2px;color:#0b0c0c;display:inline-flex;font-family:inherit;font-size:18px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:4px;width:28px}.ccd-rich-text-area__toolbar-button:hover{background:#f3f2f1}.ccd-rich-text-area__toolbar-button:focus{background:#fd0;box-shadow:0 0 0 2px #0b0c0c;outline:2px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button--active,.ccd-rich-text-area__toolbar-button--active:hover{background:#1d70b8;color:#fff}.ccd-rich-text-area__toolbar-button--italic{font-style:italic}.ccd-rich-text-area__toolbar-button--underline{text-decoration:underline}.ccd-rich-text-area__toolbar-separator{border-left:1px solid #b1b4b6;height:24px;margin:0 5px 0 3px}.ccd-rich-text-area__list-style{align-items:center;display:inline-flex;gap:8px;margin:0 4px}.ccd-rich-text-area__list-style-label{font-weight:700;white-space:nowrap}.ccd-rich-text-area__list-style-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;min-width:190px;padding:2px 28px 2px 8px}.ccd-rich-text-area__list-style-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-icon{display:block;fill:currentColor;height:20px;width:20px}.ccd-rich-text-area__toolbar-icon--paragraph{display:inline-flex;font-size:18px;line-height:1;width:auto}.ccd-rich-text-area__toolbar-icon--heading{display:inline-flex;font-size:18px;font-weight:700;line-height:1;width:auto}.ccd-rich-text-area .ProseMirror h1{font-size:20px;font-weight:700}.ccd-rich-text-area .NgxEditor__Wrapper .NgxEditor{border:0;border-radius:0;height:100%;min-height:0;overflow:hidden;width:100%}.ccd-rich-text-area__editor--error .NgxEditor__Wrapper{border-color:#d4351c}.ccd-rich-text-area .NgxEditor__Content{box-sizing:border-box;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px}.ccd-rich-text-area .ProseMirror{min-height:231px;outline:0;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area .ProseMirror [data-indent=\"1\"]{margin-left:40px}.ccd-rich-text-area .ProseMirror [data-indent=\"2\"]{margin-left:80px}.ccd-rich-text-area .ProseMirror [data-indent=\"3\"]{margin-left:120px}.ccd-rich-text-area .ProseMirror [data-indent=\"4\"]{margin-left:160px}.ccd-rich-text-area .ProseMirror [data-indent=\"5\"]{margin-left:200px}.ccd-rich-text-area .ProseMirror [data-indent=\"6\"]{margin-left:240px}.ccd-rich-text-area .ProseMirror strong,.ccd-rich-text-area .ProseMirror strong *,.ccd-rich-text-area .ProseMirror b,.ccd-rich-text-area .ProseMirror b *{font-weight:700}.ccd-rich-text-area .ProseMirror strong u,.ccd-rich-text-area .ProseMirror u strong,.ccd-rich-text-area .ProseMirror b u,.ccd-rich-text-area .ProseMirror u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area .ProseMirror:focus{box-shadow:none;outline:0}.ccd-rich-text-area .ProseMirror p,.ccd-rich-text-area .ProseMirror ul,.ccd-rich-text-area .ProseMirror ol{margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area .ProseMirror p{margin-bottom:5px}.ccd-rich-text-area .ProseMirror ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"1\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"1\"]{margin-left:40px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"2\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"2\"]{margin-left:80px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"3\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"3\"]{margin-left:120px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"4\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"4\"]{margin-left:160px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"5\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"5\"]{margin-left:200px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"6\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"6\"]{margin-left:240px;padding-left:25px}.ccd-rich-text-area .ProseMirror ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area .ProseMirror ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area .ProseMirror ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area .ProseMirror li{display:list-item;margin-bottom:5px}.ccd-rich-text-area .ProseMirror li>p{margin:0}.ccd-rich-text-area .ProseMirror li>ul,.ccd-rich-text-area .ProseMirror li>ol{margin-top:5px}\n"], encapsulation: 2 });
28561
+ } }, dependencies: [i5.NgClass, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.NgControlStatus, i4.FormControlDirective, i3$1.NgxEditorComponent, FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe], styles: [".ccd-rich-text-area{margin-bottom:30px}.ccd-rich-text-area__editor{max-width:100%}.ccd-rich-text-area__keyboard-instructions{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__toolbar{align-items:center;background:#fff;border:1px solid #d8dde0;border-radius:6px;box-sizing:border-box;display:flex;flex-wrap:wrap;column-gap:2px;margin-bottom:10px;max-width:100%;padding:6px 8px;row-gap:6px;width:fit-content}.ccd-rich-text-area__toolbar-group{align-items:center;display:inline-flex;flex:0 0 auto;gap:2px}.ccd-rich-text-area__toolbar-group--list{max-width:100%}.ccd-rich-text-area .NgxEditor__Wrapper{border:1px solid #000;border-radius:0;box-sizing:border-box;height:255px;max-width:100%;min-height:255px;min-width:200px;overflow:hidden;resize:both;width:100%}.ccd-rich-text-area .NgxEditor__Wrapper:focus-within{outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button{background:#fff;align-items:center;border:0;border-radius:2px;color:#0b0c0c;display:inline-flex;font-family:inherit;font-size:18px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:4px;width:28px}.ccd-rich-text-area__toolbar-button:hover{background:#f3f2f1}.ccd-rich-text-area__toolbar-button:focus{background:#fd0;box-shadow:0 0 0 2px #0b0c0c;outline:2px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button--active,.ccd-rich-text-area__toolbar-button--active:hover{background:#1d70b8;color:#fff}.ccd-rich-text-area__toolbar-button--italic{font-style:italic}.ccd-rich-text-area__toolbar-button--underline{text-decoration:underline}.ccd-rich-text-area__toolbar-separator{border-left:1px solid #b1b4b6;height:24px;margin:0 5px 0 3px}.ccd-rich-text-area__heading-level{display:inline-flex;margin-right:3px}.ccd-rich-text-area__heading-level-label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__heading-level-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;min-width:108px;padding:2px 24px 2px 6px;width:150px}.ccd-rich-text-area__heading-level-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__list-style{align-items:center;display:inline-flex;gap:8px;margin:0 4px;min-width:0}.ccd-rich-text-area__list-style-label{font-weight:700;white-space:nowrap}.ccd-rich-text-area__list-style-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;max-width:100%;min-width:0;padding:2px 28px 2px 8px;width:260px}.ccd-rich-text-area__list-style-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}@media(max-width:480px){.ccd-rich-text-area__toolbar-group--list{flex-wrap:wrap}.ccd-rich-text-area__list-style{flex:1 1 100%;margin-left:0}.ccd-rich-text-area__list-style-select{flex:1 1 auto;width:auto}}.ccd-rich-text-area__toolbar-icon{display:block;fill:currentColor;height:20px;width:20px}.ccd-rich-text-area__toolbar-icon--paragraph{display:inline-flex;font-size:18px;line-height:1;width:auto}.ccd-rich-text-area__toolbar-icon--heading{display:inline-flex;font-size:18px;font-weight:700;line-height:1;width:auto}.ccd-rich-text-area .ProseMirror h1{font-size:20px;font-weight:700}.ccd-rich-text-area .ProseMirror h2{font-size:18px;font-weight:700}.ccd-rich-text-area .ProseMirror h3{font-size:16px;font-weight:700}.ccd-rich-text-area .NgxEditor__Wrapper .NgxEditor{border:0;border-radius:0;height:100%;min-height:0;overflow:hidden;width:100%}.ccd-rich-text-area__editor--error .NgxEditor__Wrapper{border-color:#d4351c}.ccd-rich-text-area .NgxEditor__Content{box-sizing:border-box;font-size:14px;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px}.ccd-rich-text-area .ProseMirror{font-size:14px;min-height:231px;outline:0;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area .ProseMirror [data-indent=\"1\"]{margin-left:40px}.ccd-rich-text-area .ProseMirror [data-indent=\"2\"]{margin-left:80px}.ccd-rich-text-area .ProseMirror [data-indent=\"3\"]{margin-left:120px}.ccd-rich-text-area .ProseMirror [data-indent=\"4\"]{margin-left:160px}.ccd-rich-text-area .ProseMirror [data-indent=\"5\"]{margin-left:200px}.ccd-rich-text-area .ProseMirror [data-indent=\"6\"]{margin-left:240px}.ccd-rich-text-area .ProseMirror strong,.ccd-rich-text-area .ProseMirror strong *,.ccd-rich-text-area .ProseMirror b,.ccd-rich-text-area .ProseMirror b *{font-weight:700}.ccd-rich-text-area .ProseMirror strong u,.ccd-rich-text-area .ProseMirror u strong,.ccd-rich-text-area .ProseMirror b u,.ccd-rich-text-area .ProseMirror u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area .ProseMirror:focus{box-shadow:none;outline:0}.ccd-rich-text-area .ProseMirror p,.ccd-rich-text-area .ProseMirror ul,.ccd-rich-text-area .ProseMirror ol,.ccd-rich-text-area .ProseMirror li{font-size:14px;margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area .ProseMirror p{margin-bottom:5px}.ccd-rich-text-area .ProseMirror ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"1\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"1\"]{margin-left:40px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"2\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"2\"]{margin-left:80px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"3\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"3\"]{margin-left:120px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"4\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"4\"]{margin-left:160px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"5\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"5\"]{margin-left:200px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"6\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"6\"]{margin-left:240px;padding-left:25px}.ccd-rich-text-area .ProseMirror ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area .ProseMirror ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area .ProseMirror ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area .ProseMirror li{display:list-item;margin-bottom:5px}.ccd-rich-text-area .ProseMirror li>p{margin:0}.ccd-rich-text-area .ProseMirror li>ul,.ccd-rich-text-area .ProseMirror li>ol{margin-top:5px}\n"], encapsulation: 2 });
28849
28562
  }
28850
28563
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteRichTextAreaFieldComponent, [{
28851
28564
  type: Component,
28852
- args: [{ selector: 'ccd-write-rich-text-area-field', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"form-group ccd-rich-text-area\" [ngClass]=\"{'form-group-error': !richTextAreaControl.valid && richTextAreaControl.dirty}\">\n <div [id]=\"labelId()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </div>\n <span [id]=\"hintId()\" class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span [id]=\"errorId()\" class=\"error-message\" *ngIf=\"isInvalid()\">\n {{richTextAreaControl.errors | ccdFirstError:caseField.label}}\n </span>\n\n <div\n #editorHost\n class=\"ccd-rich-text-area__editor\"\n [ngClass]=\"{'ccd-rich-text-area__editor--error': isInvalid()}\"\n (click)=\"syncAccessibilityLater()\"\n (keydown)=\"onEditorKeyDown($event)\"\n (keyup)=\"syncAccessibilityLater()\"\n (paste)=\"onPaste($event)\">\n <div\n class=\"ccd-rich-text-area__toolbar\"\n role=\"toolbar\"\n [attr.aria-label]=\"toolbarLabel()\">\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n aria-label=\"Undo\"\n title=\"Undo\"\n aria-keyshortcuts=\"Control+Z\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'undo')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n aria-label=\"Redo\"\n title=\"Redo\"\n aria-keyshortcuts=\"Control+Y\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'redo')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z\"></path>\n </svg>\n </button>\n <span class=\"ccd-rich-text-area__toolbar-separator\" aria-hidden=\"true\"></span>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--bold\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('bold')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('bold')\"\n aria-label=\"Bold\"\n title=\"Bold\"\n aria-keyshortcuts=\"Control+B\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'bold')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5S13.83 9.5 13 9.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--italic\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('italic')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('italic')\"\n aria-label=\"Italic\"\n title=\"Italic\"\n aria-keyshortcuts=\"Control+I\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'italic')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--underline\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('underline')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('underline')\"\n aria-label=\"Underline\"\n title=\"Underline\"\n aria-keyshortcuts=\"Control+U\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'underline')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--paragraph\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('paragraph')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('paragraph')\"\n aria-label=\"Paragraph\"\n title=\"Paragraph\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'paragraph')\">\n <span class=\"ccd-rich-text-area__toolbar-icon ccd-rich-text-area__toolbar-icon--paragraph\" aria-hidden=\"true\">P</span>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--heading\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('heading')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('heading')\"\n aria-label=\"Heading level 1\"\n title=\"Heading level 1\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'heading')\">\n <span class=\"ccd-rich-text-area__toolbar-icon ccd-rich-text-area__toolbar-icon--heading\" aria-hidden=\"true\">H</span>\n </button>\n <span class=\"ccd-rich-text-area__toolbar-separator\" aria-hidden=\"true\"></span>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('bullet_list')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('bullet_list')\"\n aria-label=\"Bullet List\"\n title=\"Bullet List\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'bullet_list')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6C3.17 4.5 2.5 5.17 2.5 6S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM7 13h14v-2H7v2zm0 6h14v-2H7v2zM7 5v2h14V5H7z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isOrderedListActive()}\"\n [attr.aria-pressed]=\"isOrderedListActive()\"\n aria-label=\"Numbered List\"\n title=\"Numbered List\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'ordered_list')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1V14h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z\"></path>\n </svg>\n </button>\n <div class=\"ccd-rich-text-area__list-style\">\n <label class=\"ccd-rich-text-area__list-style-label\" [for]=\"listStyleId()\">List style</label>\n <select\n class=\"ccd-rich-text-area__list-style-select\"\n [id]=\"listStyleId()\"\n [value]=\"currentListSelectValue()\"\n (change)=\"onListStyleChange($event)\">\n <option *ngIf=\"!isOrderedListActive()\" value=\"\">No list</option>\n <option value=\"ordered_list\">Numbers (1, 2, 3)</option>\n <option value=\"ordered_alpha\">Letters (a, b, c)</option>\n <option value=\"ordered_roman\">Roman numerals (i), (ii), (iii)</option>\n </select>\n </div>\n <span class=\"ccd-rich-text-area__toolbar-separator\" aria-hidden=\"true\"></span>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n aria-label=\"Decrease Indent\"\n title=\"Decrease Indent\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'outdent')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M11 17h10v-2H11v2zm-8-5 4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n aria-label=\"Increase Indent\"\n title=\"Increase Indent\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'indent')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z\"></path>\n </svg>\n </button>\n </div>\n\n <div class=\"NgxEditor__Wrapper\">\n <ngx-editor\n [editor]=\"editor\"\n [formControl]=\"richTextAreaControl\"\n outputFormat=\"html\"\n (focusIn)=\"syncAccessibilityLater()\"\n (focusOut)=\"onEditorFocusOut()\">\n </ngx-editor>\n </div>\n </div>\n</div>\n", styles: [".ccd-rich-text-area{margin-bottom:30px}.ccd-rich-text-area__editor{max-width:100%}.ccd-rich-text-area__toolbar{align-items:center;background:#fff;border:1px solid #d8dde0;border-radius:6px;display:flex;flex-wrap:wrap;gap:2px;margin-bottom:10px;padding:6px 8px;width:fit-content}.ccd-rich-text-area .NgxEditor__Wrapper{border:1px solid #000;border-radius:0;box-sizing:border-box;height:255px;max-width:100%;min-height:255px;min-width:200px;overflow:hidden;resize:both;width:100%}.ccd-rich-text-area .NgxEditor__Wrapper:focus-within{outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button{background:#fff;align-items:center;border:0;border-radius:2px;color:#0b0c0c;display:inline-flex;font-family:inherit;font-size:18px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:4px;width:28px}.ccd-rich-text-area__toolbar-button:hover{background:#f3f2f1}.ccd-rich-text-area__toolbar-button:focus{background:#fd0;box-shadow:0 0 0 2px #0b0c0c;outline:2px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button--active,.ccd-rich-text-area__toolbar-button--active:hover{background:#1d70b8;color:#fff}.ccd-rich-text-area__toolbar-button--italic{font-style:italic}.ccd-rich-text-area__toolbar-button--underline{text-decoration:underline}.ccd-rich-text-area__toolbar-separator{border-left:1px solid #b1b4b6;height:24px;margin:0 5px 0 3px}.ccd-rich-text-area__list-style{align-items:center;display:inline-flex;gap:8px;margin:0 4px}.ccd-rich-text-area__list-style-label{font-weight:700;white-space:nowrap}.ccd-rich-text-area__list-style-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;min-width:190px;padding:2px 28px 2px 8px}.ccd-rich-text-area__list-style-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-icon{display:block;fill:currentColor;height:20px;width:20px}.ccd-rich-text-area__toolbar-icon--paragraph{display:inline-flex;font-size:18px;line-height:1;width:auto}.ccd-rich-text-area__toolbar-icon--heading{display:inline-flex;font-size:18px;font-weight:700;line-height:1;width:auto}.ccd-rich-text-area .ProseMirror h1{font-size:20px;font-weight:700}.ccd-rich-text-area .NgxEditor__Wrapper .NgxEditor{border:0;border-radius:0;height:100%;min-height:0;overflow:hidden;width:100%}.ccd-rich-text-area__editor--error .NgxEditor__Wrapper{border-color:#d4351c}.ccd-rich-text-area .NgxEditor__Content{box-sizing:border-box;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px}.ccd-rich-text-area .ProseMirror{min-height:231px;outline:0;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area .ProseMirror [data-indent=\"1\"]{margin-left:40px}.ccd-rich-text-area .ProseMirror [data-indent=\"2\"]{margin-left:80px}.ccd-rich-text-area .ProseMirror [data-indent=\"3\"]{margin-left:120px}.ccd-rich-text-area .ProseMirror [data-indent=\"4\"]{margin-left:160px}.ccd-rich-text-area .ProseMirror [data-indent=\"5\"]{margin-left:200px}.ccd-rich-text-area .ProseMirror [data-indent=\"6\"]{margin-left:240px}.ccd-rich-text-area .ProseMirror strong,.ccd-rich-text-area .ProseMirror strong *,.ccd-rich-text-area .ProseMirror b,.ccd-rich-text-area .ProseMirror b *{font-weight:700}.ccd-rich-text-area .ProseMirror strong u,.ccd-rich-text-area .ProseMirror u strong,.ccd-rich-text-area .ProseMirror b u,.ccd-rich-text-area .ProseMirror u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area .ProseMirror:focus{box-shadow:none;outline:0}.ccd-rich-text-area .ProseMirror p,.ccd-rich-text-area .ProseMirror ul,.ccd-rich-text-area .ProseMirror ol{margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area .ProseMirror p{margin-bottom:5px}.ccd-rich-text-area .ProseMirror ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"1\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"1\"]{margin-left:40px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"2\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"2\"]{margin-left:80px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"3\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"3\"]{margin-left:120px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"4\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"4\"]{margin-left:160px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"5\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"5\"]{margin-left:200px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"6\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"6\"]{margin-left:240px;padding-left:25px}.ccd-rich-text-area .ProseMirror ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area .ProseMirror ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area .ProseMirror ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area .ProseMirror li{display:list-item;margin-bottom:5px}.ccd-rich-text-area .ProseMirror li>p{margin:0}.ccd-rich-text-area .ProseMirror li>ul,.ccd-rich-text-area .ProseMirror li>ol{margin-top:5px}\n"] }]
28565
+ args: [{ selector: 'ccd-write-rich-text-area-field', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"form-group ccd-rich-text-area\" [ngClass]=\"{'form-group-error': !richTextAreaControl.valid && richTextAreaControl.dirty}\">\n <div [id]=\"labelId()\">\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{caseField | ccdFieldLabel}}</span>\n </div>\n <span [id]=\"hintId()\" class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span [id]=\"keyboardInstructionsId()\" class=\"ccd-rich-text-area__keyboard-instructions\">\n Press Escape to move from the editor to the formatting toolbar.\n </span>\n <span [id]=\"errorId()\" class=\"error-message\" *ngIf=\"isInvalid()\">\n {{richTextAreaControl.errors | ccdFirstError:caseField.label}}\n </span>\n\n <div\n #editorHost\n class=\"ccd-rich-text-area__editor\"\n [ngClass]=\"{'ccd-rich-text-area__editor--error': isInvalid()}\"\n (click)=\"onEditorClick()\"\n (keydown)=\"onEditorKeyDown($event)\"\n (keyup)=\"syncAccessibilityLater()\"\n (paste)=\"onPaste($event)\">\n <div\n class=\"ccd-rich-text-area__toolbar\"\n role=\"toolbar\"\n aria-orientation=\"horizontal\"\n [attr.aria-label]=\"toolbarLabel()\"\n (focusin)=\"onToolbarFocusIn($event)\"\n (keydown)=\"onToolbarKeyDown($event)\">\n <div class=\"ccd-rich-text-area__toolbar-group\" role=\"group\" aria-label=\"History\">\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n tabindex=\"0\"\n aria-label=\"Undo\"\n title=\"Undo\"\n aria-keyshortcuts=\"Control+Z\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'undo')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n tabindex=\"-1\"\n aria-label=\"Redo\"\n title=\"Redo\"\n aria-keyshortcuts=\"Control+Y\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'redo')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z\"></path>\n </svg>\n </button>\n </div>\n <span class=\"ccd-rich-text-area__toolbar-separator\" aria-hidden=\"true\"></span>\n <div class=\"ccd-rich-text-area__toolbar-group\" role=\"group\" aria-label=\"Text formatting\">\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--bold\"\n tabindex=\"-1\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('bold')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('bold')\"\n aria-label=\"Bold\"\n title=\"Bold\"\n aria-keyshortcuts=\"Control+B\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'bold')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5S13.83 9.5 13 9.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--italic\"\n tabindex=\"-1\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('italic')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('italic')\"\n aria-label=\"Italic\"\n title=\"Italic\"\n aria-keyshortcuts=\"Control+I\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'italic')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--underline\"\n tabindex=\"-1\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('underline')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('underline')\"\n aria-label=\"Underline\"\n title=\"Underline\"\n aria-keyshortcuts=\"Control+U\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'underline')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z\"></path>\n </svg>\n </button>\n </div>\n <div class=\"ccd-rich-text-area__toolbar-group\" role=\"group\" aria-label=\"Paragraph and heading formatting\">\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--paragraph\"\n tabindex=\"-1\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('paragraph')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('paragraph')\"\n aria-label=\"Paragraph\"\n title=\"Paragraph\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'paragraph')\">\n <span class=\"ccd-rich-text-area__toolbar-icon ccd-rich-text-area__toolbar-icon--paragraph\" aria-hidden=\"true\">P</span>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button ccd-rich-text-area__toolbar-button--heading\"\n tabindex=\"-1\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('heading')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('heading')\"\n aria-label=\"Heading\"\n title=\"Heading\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'heading')\">\n <span class=\"ccd-rich-text-area__toolbar-icon ccd-rich-text-area__toolbar-icon--heading\" aria-hidden=\"true\">H</span>\n </button>\n <div\n *ngIf=\"isToolbarCommandActive('heading')\"\n class=\"ccd-rich-text-area__heading-level\">\n <label class=\"ccd-rich-text-area__heading-level-label\" [for]=\"headingLevelId()\">Heading level</label>\n <select\n class=\"ccd-rich-text-area__heading-level-select\"\n tabindex=\"-1\"\n [id]=\"headingLevelId()\"\n [value]=\"selectedHeadingLevel\"\n (change)=\"onHeadingLevelChange($event)\">\n <option value=\"1\">Heading 1</option>\n <option value=\"2\">Heading 2</option>\n <option value=\"3\">Heading 3</option>\n </select>\n </div>\n </div>\n <span class=\"ccd-rich-text-area__toolbar-separator\" aria-hidden=\"true\"></span>\n <div\n class=\"ccd-rich-text-area__toolbar-group ccd-rich-text-area__toolbar-group--list\"\n role=\"group\"\n aria-label=\"List formatting\">\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n tabindex=\"-1\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isToolbarCommandActive('bullet_list')}\"\n [attr.aria-pressed]=\"isToolbarCommandActive('bullet_list')\"\n aria-label=\"Bullet List\"\n title=\"Bullet List\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'bullet_list')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6C3.17 4.5 2.5 5.17 2.5 6S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM7 13h14v-2H7v2zm0 6h14v-2H7v2zM7 5v2h14V5H7z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n tabindex=\"-1\"\n [ngClass]=\"{'ccd-rich-text-area__toolbar-button--active': isOrderedListActive()}\"\n [attr.aria-pressed]=\"isOrderedListActive()\"\n aria-label=\"Numbered List\"\n title=\"Numbered List\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'ordered_list')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1V14h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z\"></path>\n </svg>\n </button>\n <div class=\"ccd-rich-text-area__list-style\">\n <label class=\"ccd-rich-text-area__list-style-label\" [for]=\"listStyleId()\">List style</label>\n <select\n class=\"ccd-rich-text-area__list-style-select\"\n tabindex=\"-1\"\n [id]=\"listStyleId()\"\n [value]=\"currentListSelectValue()\"\n (change)=\"onListStyleChange($event)\">\n <option *ngIf=\"!isOrderedListActive()\" value=\"\">No list</option>\n <option value=\"ordered_list\">Numbers (1, 2, 3)</option>\n <option value=\"ordered_alpha\">Letters (a, b, c)</option>\n <option value=\"ordered_roman\">Roman numerals (i), (ii), (iii)</option>\n </select>\n </div>\n </div>\n <span class=\"ccd-rich-text-area__toolbar-separator\" aria-hidden=\"true\"></span>\n <div class=\"ccd-rich-text-area__toolbar-group\" role=\"group\" aria-label=\"Indentation\">\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n tabindex=\"-1\"\n aria-label=\"Decrease Indent\"\n title=\"Decrease Indent\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'outdent')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M11 17h10v-2H11v2zm-8-5 4 4V8l-4 4zm0 9h18v-2H3v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z\"></path>\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"ccd-rich-text-area__toolbar-button\"\n tabindex=\"-1\"\n aria-label=\"Increase Indent\"\n title=\"Increase Indent\"\n (mousedown)=\"onToolbarButtonMouseDown($event)\"\n (click)=\"executeToolbarCommand($event, 'indent')\">\n <svg class=\"ccd-rich-text-area__toolbar-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\n <path d=\"M3 21h18v-2H3v2zM3 8v8l4-4-4-4zm8 9h10v-2H11v2zM3 3v2h18V3H3zm8 6h10V7H11v2zm0 4h10v-2H11v2z\"></path>\n </svg>\n </button>\n </div>\n </div>\n\n <div class=\"NgxEditor__Wrapper\">\n <ngx-editor\n [editor]=\"editor\"\n [formControl]=\"richTextAreaControl\"\n outputFormat=\"html\"\n (focusIn)=\"syncAccessibilityLater()\"\n (focusOut)=\"onEditorFocusOut()\">\n </ngx-editor>\n </div>\n </div>\n</div>\n", styles: [".ccd-rich-text-area{margin-bottom:30px}.ccd-rich-text-area__editor{max-width:100%}.ccd-rich-text-area__keyboard-instructions{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__toolbar{align-items:center;background:#fff;border:1px solid #d8dde0;border-radius:6px;box-sizing:border-box;display:flex;flex-wrap:wrap;column-gap:2px;margin-bottom:10px;max-width:100%;padding:6px 8px;row-gap:6px;width:fit-content}.ccd-rich-text-area__toolbar-group{align-items:center;display:inline-flex;flex:0 0 auto;gap:2px}.ccd-rich-text-area__toolbar-group--list{max-width:100%}.ccd-rich-text-area .NgxEditor__Wrapper{border:1px solid #000;border-radius:0;box-sizing:border-box;height:255px;max-width:100%;min-height:255px;min-width:200px;overflow:hidden;resize:both;width:100%}.ccd-rich-text-area .NgxEditor__Wrapper:focus-within{outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button{background:#fff;align-items:center;border:0;border-radius:2px;color:#0b0c0c;display:inline-flex;font-family:inherit;font-size:18px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:4px;width:28px}.ccd-rich-text-area__toolbar-button:hover{background:#f3f2f1}.ccd-rich-text-area__toolbar-button:focus{background:#fd0;box-shadow:0 0 0 2px #0b0c0c;outline:2px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__toolbar-button--active,.ccd-rich-text-area__toolbar-button--active:hover{background:#1d70b8;color:#fff}.ccd-rich-text-area__toolbar-button--italic{font-style:italic}.ccd-rich-text-area__toolbar-button--underline{text-decoration:underline}.ccd-rich-text-area__toolbar-separator{border-left:1px solid #b1b4b6;height:24px;margin:0 5px 0 3px}.ccd-rich-text-area__heading-level{display:inline-flex;margin-right:3px}.ccd-rich-text-area__heading-level-label{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ccd-rich-text-area__heading-level-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;min-width:108px;padding:2px 24px 2px 6px;width:150px}.ccd-rich-text-area__heading-level-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}.ccd-rich-text-area__list-style{align-items:center;display:inline-flex;gap:8px;margin:0 4px;min-width:0}.ccd-rich-text-area__list-style-label{font-weight:700;white-space:nowrap}.ccd-rich-text-area__list-style-select{background-color:#fff;border:1px solid #0b0c0c;border-radius:0;color:#0b0c0c;font-family:inherit;font-size:16px;height:32px;max-width:100%;min-width:0;padding:2px 28px 2px 8px;width:260px}.ccd-rich-text-area__list-style-select:focus{box-shadow:0 0 0 2px #0b0c0c;outline:3px solid #ffdd00;outline-offset:0}@media(max-width:480px){.ccd-rich-text-area__toolbar-group--list{flex-wrap:wrap}.ccd-rich-text-area__list-style{flex:1 1 100%;margin-left:0}.ccd-rich-text-area__list-style-select{flex:1 1 auto;width:auto}}.ccd-rich-text-area__toolbar-icon{display:block;fill:currentColor;height:20px;width:20px}.ccd-rich-text-area__toolbar-icon--paragraph{display:inline-flex;font-size:18px;line-height:1;width:auto}.ccd-rich-text-area__toolbar-icon--heading{display:inline-flex;font-size:18px;font-weight:700;line-height:1;width:auto}.ccd-rich-text-area .ProseMirror h1{font-size:20px;font-weight:700}.ccd-rich-text-area .ProseMirror h2{font-size:18px;font-weight:700}.ccd-rich-text-area .ProseMirror h3{font-size:16px;font-weight:700}.ccd-rich-text-area .NgxEditor__Wrapper .NgxEditor{border:0;border-radius:0;height:100%;min-height:0;overflow:hidden;width:100%}.ccd-rich-text-area__editor--error .NgxEditor__Wrapper{border-color:#d4351c}.ccd-rich-text-area .NgxEditor__Content{box-sizing:border-box;font-size:14px;height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px 14px}.ccd-rich-text-area .ProseMirror{font-size:14px;min-height:231px;outline:0;overflow-wrap:anywhere;white-space:pre-wrap;word-break:normal}.ccd-rich-text-area .ProseMirror [data-indent=\"1\"]{margin-left:40px}.ccd-rich-text-area .ProseMirror [data-indent=\"2\"]{margin-left:80px}.ccd-rich-text-area .ProseMirror [data-indent=\"3\"]{margin-left:120px}.ccd-rich-text-area .ProseMirror [data-indent=\"4\"]{margin-left:160px}.ccd-rich-text-area .ProseMirror [data-indent=\"5\"]{margin-left:200px}.ccd-rich-text-area .ProseMirror [data-indent=\"6\"]{margin-left:240px}.ccd-rich-text-area .ProseMirror strong,.ccd-rich-text-area .ProseMirror strong *,.ccd-rich-text-area .ProseMirror b,.ccd-rich-text-area .ProseMirror b *{font-weight:700}.ccd-rich-text-area .ProseMirror strong u,.ccd-rich-text-area .ProseMirror u strong,.ccd-rich-text-area .ProseMirror b u,.ccd-rich-text-area .ProseMirror u b{font-weight:700!important;text-decoration:underline}.ccd-rich-text-area .ProseMirror:focus{box-shadow:none;outline:0}.ccd-rich-text-area .ProseMirror p,.ccd-rich-text-area .ProseMirror ul,.ccd-rich-text-area .ProseMirror ol,.ccd-rich-text-area .ProseMirror li{font-size:14px;margin-top:0;overflow-wrap:anywhere;word-break:normal}.ccd-rich-text-area .ProseMirror p{margin-bottom:5px}.ccd-rich-text-area .ProseMirror ul{list-style:disc outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ol{list-style:decimal outside;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"1\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"1\"]{margin-left:40px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"2\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"2\"]{margin-left:80px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"3\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"3\"]{margin-left:120px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"4\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"4\"]{margin-left:160px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"5\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"5\"]{margin-left:200px;padding-left:25px}.ccd-rich-text-area .ProseMirror ul[data-indent=\"6\"],.ccd-rich-text-area .ProseMirror ol[data-indent=\"6\"]{margin-left:240px;padding-left:25px}.ccd-rich-text-area .ProseMirror ol[type=a]{list-style-type:lower-alpha}.ccd-rich-text-area .ProseMirror ol[type=i]{list-style-type:lower-roman}.ccd-rich-text-area .ProseMirror ol[type=i]>li::marker{content:\"(\" counter(list-item,lower-roman) \") \"}.ccd-rich-text-area .ProseMirror li{display:list-item;margin-bottom:5px}.ccd-rich-text-area .ProseMirror li>p{margin:0}.ccd-rich-text-area .ProseMirror li>ul,.ccd-rich-text-area .ProseMirror li>ol{margin-top:5px}\n"] }]
28853
28566
  }], null, { editorHost: [{
28854
28567
  type: ViewChild,
28855
28568
  args: ['editorHost']
28856
28569
  }] }); })();
28857
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteRichTextAreaFieldComponent, { className: "WriteRichTextAreaFieldComponent", filePath: "lib/shared/components/palette/rich-text-area/write-rich-text-area-field.component.ts", lineNumber: 128 }); })();
28570
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteRichTextAreaFieldComponent, { className: "WriteRichTextAreaFieldComponent", filePath: "lib/shared/components/palette/rich-text-area/write-rich-text-area-field.component.ts", lineNumber: 137 }); })();
28858
28571
 
28859
28572
  class ReadTextFieldComponent extends AbstractFieldReadComponent {
28860
28573
  static ɵfac = /*@__PURE__*/ (() => { let ɵReadTextFieldComponent_BaseFactory; return function ReadTextFieldComponent_Factory(__ngFactoryType__) { return (ɵReadTextFieldComponent_BaseFactory || (ɵReadTextFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadTextFieldComponent)))(__ngFactoryType__ || ReadTextFieldComponent); }; })();
@@ -29317,8 +29030,6 @@ class PaletteService {
29317
29030
  return write ? WriteOrganisationFieldComponent : ReadOrganisationFieldComponent;
29318
29031
  case 'JudicialUser':
29319
29032
  return write ? WriteJudicialUserFieldComponent : ReadJudicialUserFieldComponent;
29320
- case 'StaffUser':
29321
- return write ? WriteStaffUserFieldComponent : ReadStaffUserFieldComponent;
29322
29033
  default:
29323
29034
  return write ? WriteComplexFieldComponent : ReadComplexFieldComponent;
29324
29035
  }
@@ -36168,7 +35879,6 @@ const PALETTE_COMPONENTS = [
36168
35879
  ReadDocumentFieldComponent,
36169
35880
  // new
36170
35881
  ReadJudicialUserFieldComponent,
36171
- ReadStaffUserFieldComponent,
36172
35882
  ReadYesNoFieldComponent,
36173
35883
  ReadOrganisationFieldComponent,
36174
35884
  ReadOrganisationFieldTableComponent,
@@ -36190,7 +35900,6 @@ const PALETTE_COMPONENTS = [
36190
35900
  ReadLinkedCasesFieldComponent,
36191
35901
  // Write
36192
35902
  WriteJudicialUserFieldComponent,
36193
- WriteStaffUserFieldComponent,
36194
35903
  WriteAddressFieldComponent,
36195
35904
  WriteComplexFieldComponent,
36196
35905
  WriteOrganisationComplexFieldComponent,
@@ -36476,7 +36185,6 @@ class PaletteModule {
36476
36185
  ReadDocumentFieldComponent,
36477
36186
  // new
36478
36187
  ReadJudicialUserFieldComponent,
36479
- ReadStaffUserFieldComponent,
36480
36188
  ReadYesNoFieldComponent,
36481
36189
  ReadOrganisationFieldComponent,
36482
36190
  ReadOrganisationFieldTableComponent,
@@ -36498,7 +36206,6 @@ class PaletteModule {
36498
36206
  ReadLinkedCasesFieldComponent,
36499
36207
  // Write
36500
36208
  WriteJudicialUserFieldComponent,
36501
- WriteStaffUserFieldComponent,
36502
36209
  WriteAddressFieldComponent,
36503
36210
  WriteComplexFieldComponent,
36504
36211
  WriteOrganisationComplexFieldComponent,
@@ -36640,7 +36347,6 @@ class PaletteModule {
36640
36347
  ReadDocumentFieldComponent,
36641
36348
  // new
36642
36349
  ReadJudicialUserFieldComponent,
36643
- ReadStaffUserFieldComponent,
36644
36350
  ReadYesNoFieldComponent,
36645
36351
  ReadOrganisationFieldComponent,
36646
36352
  ReadOrganisationFieldTableComponent,
@@ -36662,7 +36368,6 @@ class PaletteModule {
36662
36368
  ReadLinkedCasesFieldComponent,
36663
36369
  // Write
36664
36370
  WriteJudicialUserFieldComponent,
36665
- WriteStaffUserFieldComponent,
36666
36371
  WriteAddressFieldComponent,
36667
36372
  WriteComplexFieldComponent,
36668
36373
  WriteOrganisationComplexFieldComponent,
@@ -46029,5 +45734,5 @@ class TestRouteSnapshotBuilder {
46029
45734
  * Generated bundle index. Do not edit.
46030
45735
  */
46031
45736
 
46032
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadStaffUserFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteStaffUserFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, parseStaffUserSearchConfiguration, safeJsonParse, textFieldType, viewerRouting };
45737
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadRichTextAreaFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteRichTextAreaFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, safeJsonParse, textFieldType, viewerRouting };
46033
45738
  //# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map