@hmcts/ccd-case-ui-toolkit 5.0.50-sscs-sit-release → 5.0.50-update-flag-screen-v4

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.
Files changed (34) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +207 -140
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +4 -4
  6. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +4 -4
  7. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +4 -3
  8. package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +25 -26
  9. package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +106 -64
  10. package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +2 -1
  11. package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +4 -3
  12. package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +16 -0
  13. package/esm2015/lib/shared/pipes/generic/index.js +2 -0
  14. package/esm2015/lib/shared/pipes/index.js +2 -1
  15. package/esm2015/lib/shared/pipes/pipes.module.js +9 -5
  16. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +202 -142
  17. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  18. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
  19. package/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.d.ts.map +1 -1
  20. package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +7 -5
  21. package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts.map +1 -1
  22. package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts +2 -1
  23. package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts.map +1 -1
  24. package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts +3 -2
  25. package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts.map +1 -1
  26. package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts +8 -0
  27. package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +1 -0
  28. package/lib/shared/pipes/generic/index.d.ts +2 -0
  29. package/lib/shared/pipes/generic/index.d.ts.map +1 -0
  30. package/lib/shared/pipes/index.d.ts +1 -0
  31. package/lib/shared/pipes/index.d.ts.map +1 -1
  32. package/lib/shared/pipes/pipes.module.d.ts +3 -2
  33. package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -119,14 +119,14 @@
119
119
  }
120
120
  }
121
121
  var _c0$_ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
122
- var _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
122
+ var _c1$q = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
123
123
  var FooterComponent = /** @class */ (function () {
124
124
  function FooterComponent() {
125
125
  }
126
126
  return FooterComponent;
127
127
  }());
128
128
  FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
129
- FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, 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) {
129
+ FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$q, 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) {
130
130
  if (rf & 1) {
131
131
  i0__namespace.ɵɵprojectionDef(_c0$_);
132
132
  i0__namespace.ɵɵelementStart(0, "footer", 0);
@@ -208,7 +208,7 @@
208
208
  }
209
209
  }
210
210
  var _c0$Z = [[["", "headerNavigation", ""]]];
211
- var _c1$q = ["[headerNavigation]"];
211
+ var _c1$p = ["[headerNavigation]"];
212
212
  var HeaderBarComponent = /** @class */ (function () {
213
213
  function HeaderBarComponent() {
214
214
  this.signOutRequest = new i0.EventEmitter();
@@ -219,7 +219,7 @@
219
219
  return HeaderBarComponent;
220
220
  }());
221
221
  HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
222
- HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, decls: 15, vars: 8, 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"], ["id", "sign-out", "href", "javascript:void(0)", 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) {
222
+ HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$p, decls: 15, vars: 8, 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"], ["id", "sign-out", "href", "javascript:void(0)", 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) {
223
223
  if (rf & 1) {
224
224
  i0__namespace.ɵɵprojectionDef(_c0$Z);
225
225
  i0__namespace.ɵɵelementStart(0, "header", 0);
@@ -283,14 +283,14 @@
283
283
  })();
284
284
 
285
285
  var _c0$Y = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
286
- var _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
286
+ var _c1$o = ["[leftNavLinks]", "[rightNavLinks]"];
287
287
  var NavigationComponent = /** @class */ (function () {
288
288
  function NavigationComponent() {
289
289
  }
290
290
  return NavigationComponent;
291
291
  }());
292
292
  NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
293
- NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
293
+ NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$o, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
294
294
  if (rf & 1) {
295
295
  i0__namespace.ɵɵprojectionDef(_c0$Y);
296
296
  i0__namespace.ɵɵelementStart(0, "div");
@@ -438,14 +438,14 @@
438
438
  })();
439
439
 
440
440
  var _c0$X = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
441
- var _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
441
+ var _c1$n = ["[topBody]", "[leftBody]", "[rightBody]"];
442
442
  var BodyComponent = /** @class */ (function () {
443
443
  function BodyComponent() {
444
444
  }
445
445
  return BodyComponent;
446
446
  }());
447
447
  BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
448
- BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
448
+ BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$n, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
449
449
  if (rf & 1) {
450
450
  i0__namespace.ɵɵprojectionDef(_c0$X);
451
451
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1472,14 +1472,14 @@
1472
1472
  })();
1473
1473
 
1474
1474
  var _c0$U = function (a0) { return { "js-hidden": a0 }; };
1475
- var _c1$n = ["*"];
1475
+ var _c1$m = ["*"];
1476
1476
  var TabComponent = /** @class */ (function () {
1477
1477
  function TabComponent() {
1478
1478
  }
1479
1479
  return TabComponent;
1480
1480
  }());
1481
1481
  TabComponent.ɵfac = function TabComponent_Factory(t) { return new (t || TabComponent)(); };
1482
- TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$n, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
1482
+ TabComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c1$m, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) {
1483
1483
  if (rf & 1) {
1484
1484
  i0__namespace.ɵɵprojectionDef();
1485
1485
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -1511,7 +1511,7 @@
1511
1511
  })();
1512
1512
 
1513
1513
  var _c0$T = ["tab"];
1514
- var _c1$m = function () { return ["."]; };
1514
+ var _c1$l = function () { return ["."]; };
1515
1515
  var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
1516
1516
  function TabsComponent_li_2_Template(rf, ctx) {
1517
1517
  if (rf & 1) {
@@ -1526,7 +1526,7 @@
1526
1526
  if (rf & 2) {
1527
1527
  var panel_r1 = ctx.$implicit;
1528
1528
  i0__namespace.ɵɵadvance(1);
1529
- i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$m))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1529
+ i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction0(6, _c1$l))("fragment", panel_r1.id)("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$3, panel_r1.selected));
1530
1530
  i0__namespace.ɵɵattribute("aria-controls", panel_r1.id)("aria-selected", panel_r1.selected);
1531
1531
  i0__namespace.ɵɵadvance(2);
1532
1532
  i0__namespace.ɵɵtextInterpolate(panel_r1.title);
@@ -2552,6 +2552,7 @@
2552
2552
  CaseFlagStatus["ACTIVE"] = "Active";
2553
2553
  CaseFlagStatus["INACTIVE"] = "Inactive";
2554
2554
  CaseFlagStatus["REQUESTED"] = "Requested";
2555
+ CaseFlagStatus["NOT_APPROVED"] = "Not Approved";
2555
2556
  })(exports.CaseFlagStatus || (exports.CaseFlagStatus = {}));
2556
2557
 
2557
2558
  var DashPipe = /** @class */ (function () {
@@ -11400,6 +11401,25 @@
11400
11401
  }], null, null);
11401
11402
  })();
11402
11403
 
11404
+ var EnumDisplayDescriptionPipe = /** @class */ (function () {
11405
+ function EnumDisplayDescriptionPipe() {
11406
+ }
11407
+ EnumDisplayDescriptionPipe.prototype.transform = function (value) {
11408
+ return Object.values(value);
11409
+ };
11410
+ return EnumDisplayDescriptionPipe;
11411
+ }());
11412
+ EnumDisplayDescriptionPipe.ɵfac = function EnumDisplayDescriptionPipe_Factory(t) { return new (t || EnumDisplayDescriptionPipe)(); };
11413
+ EnumDisplayDescriptionPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "enumDisplayDescription", type: EnumDisplayDescriptionPipe, pure: true });
11414
+ (function () {
11415
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EnumDisplayDescriptionPipe, [{
11416
+ type: i0.Pipe,
11417
+ args: [{
11418
+ name: 'enumDisplayDescription'
11419
+ }]
11420
+ }], null, null);
11421
+ })();
11422
+
11403
11423
  var LinkedCasesService = /** @class */ (function () {
11404
11424
  function LinkedCasesService(jurisdictionService, searchService) {
11405
11425
  var _this = this;
@@ -11598,7 +11618,8 @@
11598
11618
  ReadFieldsFilterPipe,
11599
11619
  CcdTabFieldsPipe,
11600
11620
  CcdPageFieldsPipe,
11601
- LinkCasesReasonValuePipe
11621
+ LinkCasesReasonValuePipe,
11622
+ EnumDisplayDescriptionPipe
11602
11623
  ];
11603
11624
  var PipesModule = /** @class */ (function () {
11604
11625
  function PipesModule() {
@@ -11619,7 +11640,8 @@
11619
11640
  ReadFieldsFilterPipe,
11620
11641
  CcdTabFieldsPipe,
11621
11642
  CcdPageFieldsPipe,
11622
- LinkCasesReasonValuePipe], imports: [i1.CommonModule], exports: [CaseReferencePipe,
11643
+ LinkCasesReasonValuePipe,
11644
+ EnumDisplayDescriptionPipe], imports: [i1.CommonModule], exports: [CaseReferencePipe,
11623
11645
  SortSearchResultPipe,
11624
11646
  CcdCaseTitlePipe,
11625
11647
  CcdCollectionTableCaseFieldsFilterPipe,
@@ -11627,7 +11649,8 @@
11627
11649
  ReadFieldsFilterPipe,
11628
11650
  CcdTabFieldsPipe,
11629
11651
  CcdPageFieldsPipe,
11630
- LinkCasesReasonValuePipe] });
11652
+ LinkCasesReasonValuePipe,
11653
+ EnumDisplayDescriptionPipe] });
11631
11654
  })();
11632
11655
  (function () {
11633
11656
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PipesModule, [{
@@ -11695,7 +11718,7 @@
11695
11718
  i0__namespace.ɵɵelementEnd();
11696
11719
  }
11697
11720
  }
11698
- var _c1$l = function (a0) { return { "form-group-error": a0 }; };
11721
+ var _c1$k = function (a0) { return { "form-group-error": a0 }; };
11699
11722
  var _c2$2 = function (a0) { return { "govuk-input--error": a0 }; };
11700
11723
  function WriteAddressFieldComponent_div_1_div_4_Template(rf, ctx) {
11701
11724
  if (rf & 1) {
@@ -11716,7 +11739,7 @@
11716
11739
  }
11717
11740
  if (rf & 2) {
11718
11741
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
11719
- i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$l, ctx_r2.missingPostcode));
11742
+ i0__namespace.ɵɵproperty("id", ctx_r2.createElementId("postcodeLookup"))("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$k, ctx_r2.missingPostcode));
11720
11743
  i0__namespace.ɵɵadvance(1);
11721
11744
  i0__namespace.ɵɵproperty("for", ctx_r2.createElementId("postcodeInput"));
11722
11745
  i0__namespace.ɵɵadvance(3);
@@ -12003,7 +12026,7 @@
12003
12026
  if (rf & 2) {
12004
12027
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
12005
12028
  i0__namespace.ɵɵadvance(1);
12006
- i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
12029
+ i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
12007
12030
  }
12008
12031
  }
12009
12032
  function CaseFileViewFieldComponent_div_1_Template(rf, ctx) {
@@ -12021,7 +12044,7 @@
12021
12044
  i0__namespace.ɵɵelementEnd();
12022
12045
  i0__namespace.ɵɵelement(6, "div", 9);
12023
12046
  i0__namespace.ɵɵelementStart(7, "div", 10);
12024
- i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
12047
+ i0__namespace.ɵɵtemplate(8, CaseFileViewFieldComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
12025
12048
  i0__namespace.ɵɵelementEnd();
12026
12049
  i0__namespace.ɵɵelementEnd();
12027
12050
  i0__namespace.ɵɵelementEnd();
@@ -12102,7 +12125,7 @@
12102
12125
  }());
12103
12126
  CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
12104
12127
  CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(LoadingService)); };
12105
- CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
12128
+ CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
12106
12129
  if (rf & 1) {
12107
12130
  i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
12108
12131
  i0__namespace.ɵɵtemplate(1, CaseFileViewFieldComponent_div_1_Template, 9, 3, "div", 1);
@@ -12145,7 +12168,7 @@
12145
12168
  if (rf & 2) {
12146
12169
  var ctx_r2 = i0__namespace.ɵɵnextContext(2);
12147
12170
  i0__namespace.ɵɵadvance(1);
12148
- i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
12171
+ i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true);
12149
12172
  }
12150
12173
  }
12151
12174
  function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) {
@@ -12163,7 +12186,7 @@
12163
12186
  i0__namespace.ɵɵelementEnd();
12164
12187
  i0__namespace.ɵɵelement(6, "div", 9);
12165
12188
  i0__namespace.ɵɵelementStart(7, "div", 10);
12166
- i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
12189
+ i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 6, "ng-container", 1);
12167
12190
  i0__namespace.ɵɵelementEnd();
12168
12191
  i0__namespace.ɵɵelementEnd();
12169
12192
  i0__namespace.ɵɵelementEnd();
@@ -12186,7 +12209,7 @@
12186
12209
  return CaseFileViewFieldReadComponent;
12187
12210
  }(CaseFileViewFieldComponent));
12188
12211
  CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
12189
- CaseFileViewFieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) {
12212
+ CaseFileViewFieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) {
12190
12213
  if (rf & 1) {
12191
12214
  i0__namespace.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
12192
12215
  i0__namespace.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
@@ -12295,8 +12318,9 @@
12295
12318
 
12296
12319
  exports.UpdateFlagStep = void 0;
12297
12320
  (function (UpdateFlagStep) {
12298
- UpdateFlagStep["HINT_TEXT"] = "Explain why you are updating this flag. Do not include any sensitive information such as personal details.";
12299
- UpdateFlagStep["CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
12321
+ UpdateFlagStep["COMMENT_HINT_TEXT"] = "Update the comments describing the user's support needs or flag description. Do not include any sensitive information such as personal details.";
12322
+ UpdateFlagStep["COMMENT_CHARACTER_LIMIT_INFO"] = "You can enter up to 200 characters";
12323
+ UpdateFlagStep["STATUS_HINT_TEXT"] = "Describe reason for status change, if choosing 'not approved' provide name for person approving decision";
12300
12324
  })(exports.UpdateFlagStep || (exports.UpdateFlagStep = {}));
12301
12325
 
12302
12326
  function ReadCaseFlagFieldComponent_ng_container_1_Template(rf, ctx) {
@@ -13215,7 +13239,7 @@
13215
13239
  i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$O, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
13216
13240
  }
13217
13241
  }
13218
- var _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
13242
+ var _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
13219
13243
  function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) {
13220
13244
  if (rf & 1) {
13221
13245
  i0__namespace.ɵɵelementStart(0, "tr");
@@ -13229,7 +13253,7 @@
13229
13253
  var i_r5 = ctx.index;
13230
13254
  var ctx_r3 = i0__namespace.ɵɵnextContext(3);
13231
13255
  i0__namespace.ɵɵadvance(2);
13232
- i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction5(4, _c1$k, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
13256
+ i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction5(4, _c1$j, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
13233
13257
  }
13234
13258
  }
13235
13259
  function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) {
@@ -14398,7 +14422,7 @@
14398
14422
  i0__namespace.ɵɵproperty("caseField", ctx_r2.caseField);
14399
14423
  }
14400
14424
  }
14401
- var _c1$j = function (a0) { return { "form-group-error bottom-30": a0 }; };
14425
+ var _c1$i = function (a0) { return { "form-group-error bottom-30": a0 }; };
14402
14426
  var WriteDocumentFieldComponent = /** @class */ (function (_super) {
14403
14427
  __extends(WriteDocumentFieldComponent, _super);
14404
14428
  function WriteDocumentFieldComponent(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService) {
@@ -14700,7 +14724,7 @@
14700
14724
  i0__namespace.ɵɵelementEnd();
14701
14725
  }
14702
14726
  if (rf & 2) {
14703
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$j, !ctx.valid));
14727
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(15, _c1$i, !ctx.valid));
14704
14728
  i0__namespace.ɵɵadvance(1);
14705
14729
  i0__namespace.ɵɵproperty("for", ctx.id());
14706
14730
  i0__namespace.ɵɵadvance(1);
@@ -15080,7 +15104,7 @@
15080
15104
  i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
15081
15105
  }
15082
15106
  }
15083
- var _c1$i = function (a0) { return { "form-group-error": a0 }; };
15107
+ var _c1$h = function (a0) { return { "form-group-error": a0 }; };
15084
15108
  var WriteDynamicRadioListFieldComponent = /** @class */ (function (_super) {
15085
15109
  __extends(WriteDynamicRadioListFieldComponent, _super);
15086
15110
  function WriteDynamicRadioListFieldComponent() {
@@ -15128,7 +15152,7 @@
15128
15152
  i0__namespace.ɵɵelementEnd();
15129
15153
  }
15130
15154
  if (rf & 2) {
15131
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$i, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
15155
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c1$h, !ctx.dynamicRadioListControl.valid && ctx.dynamicRadioListControl.dirty))("id", ctx.id());
15132
15156
  i0__namespace.ɵɵadvance(3);
15133
15157
  i0__namespace.ɵɵproperty("for", ctx.id());
15134
15158
  i0__namespace.ɵɵadvance(1);
@@ -15236,7 +15260,7 @@
15236
15260
  }
15237
15261
  }
15238
15262
  var _c0$J = function (a0) { return { "form-group-error": a0 }; };
15239
- var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
15263
+ var _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
15240
15264
  var WriteEmailFieldComponent = /** @class */ (function (_super) {
15241
15265
  __extends(WriteEmailFieldComponent, _super);
15242
15266
  function WriteEmailFieldComponent() {
@@ -15270,7 +15294,7 @@
15270
15294
  i0__namespace.ɵɵadvance(1);
15271
15295
  i0__namespace.ɵɵproperty("ngIf", ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched));
15272
15296
  i0__namespace.ɵɵadvance(1);
15273
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$h, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
15297
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$g, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
15274
15298
  }
15275
15299
  }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
15276
15300
  var ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
@@ -15581,7 +15605,7 @@
15581
15605
  i0__namespace.ɵɵtextInterpolate(radioButton_r4.label);
15582
15606
  }
15583
15607
  }
15584
- var _c1$g = function (a0) { return { "form-group-error": a0 }; };
15608
+ var _c1$f = function (a0) { return { "form-group-error": a0 }; };
15585
15609
  var WriteFixedRadioListFieldComponent = /** @class */ (function (_super) {
15586
15610
  __extends(WriteFixedRadioListFieldComponent, _super);
15587
15611
  function WriteFixedRadioListFieldComponent() {
@@ -15612,7 +15636,7 @@
15612
15636
  i0__namespace.ɵɵelementEnd();
15613
15637
  }
15614
15638
  if (rf & 2) {
15615
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$g, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
15639
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$f, !ctx.fixedRadioListControl.valid && (ctx.fixedRadioListControl.dirty || ctx.fixedRadioListControl.touched)))("id", ctx.id());
15616
15640
  i0__namespace.ɵɵadvance(3);
15617
15641
  i0__namespace.ɵɵproperty("for", ctx.id());
15618
15642
  i0__namespace.ɵɵadvance(1);
@@ -16435,7 +16459,7 @@
16435
16459
  }
16436
16460
  }
16437
16461
  var _c0$D = function (a0) { return { "form-group-error": a0 }; };
16438
- var _c1$f = function (a0) { return { "govuk-input--error": a0 }; };
16462
+ var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
16439
16463
  var WriteNumberFieldComponent = /** @class */ (function (_super) {
16440
16464
  __extends(WriteNumberFieldComponent, _super);
16441
16465
  function WriteNumberFieldComponent() {
@@ -16469,7 +16493,7 @@
16469
16493
  i0__namespace.ɵɵadvance(1);
16470
16494
  i0__namespace.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
16471
16495
  i0__namespace.ɵɵadvance(1);
16472
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$f, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
16496
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
16473
16497
  }
16474
16498
  }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.NumberValueAccessor, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
16475
16499
  var ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
@@ -17249,7 +17273,7 @@
17249
17273
  }
17250
17274
  }
17251
17275
  var _c0$B = function (a0) { return { "form-group-error": a0 }; };
17252
- var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
17276
+ var _c1$d = function (a0) { return { "govuk-input--error": a0 }; };
17253
17277
  var WritePhoneUKFieldComponent = /** @class */ (function (_super) {
17254
17278
  __extends(WritePhoneUKFieldComponent, _super);
17255
17279
  function WritePhoneUKFieldComponent() {
@@ -17283,7 +17307,7 @@
17283
17307
  i0__namespace.ɵɵadvance(1);
17284
17308
  i0__namespace.ɵɵproperty("ngIf", ctx.phoneUkControl.errors && (ctx.phoneUkControl.dirty || ctx.phoneUkControl.touched));
17285
17309
  i0__namespace.ɵɵadvance(1);
17286
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$e, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
17310
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
17287
17311
  }
17288
17312
  }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
17289
17313
  var ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
@@ -17366,7 +17390,7 @@
17366
17390
  }
17367
17391
  }
17368
17392
  var _c0$A = function (a0) { return { "form-group-error": a0 }; };
17369
- var _c1$d = function (a0) { return { "govuk-textarea--error": a0 }; };
17393
+ var _c1$c = function (a0) { return { "govuk-textarea--error": a0 }; };
17370
17394
  var WriteTextAreaFieldComponent = /** @class */ (function (_super) {
17371
17395
  __extends(WriteTextAreaFieldComponent, _super);
17372
17396
  function WriteTextAreaFieldComponent(browserService) {
@@ -17411,7 +17435,7 @@
17411
17435
  i0__namespace.ɵɵadvance(1);
17412
17436
  i0__namespace.ɵɵproperty("ngIf", ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched));
17413
17437
  i0__namespace.ɵɵadvance(1);
17414
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$d, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
17438
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
17415
17439
  }
17416
17440
  }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
17417
17441
  (function () {
@@ -17494,7 +17518,7 @@
17494
17518
  }
17495
17519
  }
17496
17520
  var _c0$z = function (a0) { return { "form-group-error": a0 }; };
17497
- var _c1$c = function (a0) { return { "govuk-input--error": a0 }; };
17521
+ var _c1$b = function (a0) { return { "govuk-input--error": a0 }; };
17498
17522
  var WriteTextFieldComponent = /** @class */ (function (_super) {
17499
17523
  __extends(WriteTextFieldComponent, _super);
17500
17524
  function WriteTextFieldComponent() {
@@ -17533,7 +17557,7 @@
17533
17557
  i0__namespace.ɵɵadvance(1);
17534
17558
  i0__namespace.ɵɵproperty("ngIf", (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched));
17535
17559
  i0__namespace.ɵɵadvance(1);
17536
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$c, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
17560
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$b, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
17537
17561
  }
17538
17562
  }, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
17539
17563
  var ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteTextFieldComponent);
@@ -17754,7 +17778,7 @@
17754
17778
  i0__namespace.ɵɵtextInterpolate(value_r4);
17755
17779
  }
17756
17780
  }
17757
- var _c1$b = function (a0) { return { "form-group-error": a0 }; };
17781
+ var _c1$a = function (a0) { return { "form-group-error": a0 }; };
17758
17782
  var WriteYesNoFieldComponent = /** @class */ (function (_super) {
17759
17783
  __extends(WriteYesNoFieldComponent, _super);
17760
17784
  function WriteYesNoFieldComponent(yesNoService) {
@@ -17785,7 +17809,7 @@
17785
17809
  i0__namespace.ɵɵelementEnd();
17786
17810
  }
17787
17811
  if (rf & 2) {
17788
- i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$b, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
17812
+ i0__namespace.ɵɵproperty("id", ctx.id())("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$a, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
17789
17813
  i0__namespace.ɵɵadvance(3);
17790
17814
  i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
17791
17815
  i0__namespace.ɵɵadvance(1);
@@ -18180,16 +18204,16 @@
18180
18204
  }] });
18181
18205
  })();
18182
18206
 
18183
- function CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template(rf, ctx) {
18207
+ function CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template(rf, ctx) {
18184
18208
  if (rf & 1) {
18185
18209
  i0__namespace.ɵɵelementContainer(0);
18186
18210
  }
18187
18211
  }
18188
18212
  var _c0$u = function (a0) { return { cat: a0, level: 1 }; };
18189
- function CaseFileViewFolderSelectorComponent_ng_container_6_Template(rf, ctx) {
18213
+ function CaseFileViewFolderSelectorComponent_ng_container_5_Template(rf, ctx) {
18190
18214
  if (rf & 1) {
18191
18215
  i0__namespace.ɵɵelementContainerStart(0);
18192
- i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 8);
18216
+ i0__namespace.ɵɵtemplate(1, CaseFileViewFolderSelectorComponent_ng_container_5_ng_container_1_Template, 1, 0, "ng-container", 8);
18193
18217
  i0__namespace.ɵɵelementContainerEnd();
18194
18218
  }
18195
18219
  if (rf & 2) {
@@ -18205,7 +18229,7 @@
18205
18229
  i0__namespace.ɵɵelementContainer(0);
18206
18230
  }
18207
18231
  }
18208
- var _c1$a = function (a0, a1) { return { cat: a0, level: a1 }; };
18232
+ var _c1$9 = function (a0, a1) { return { cat: a0, level: a1 }; };
18209
18233
  function CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template(rf, ctx) {
18210
18234
  if (rf & 1) {
18211
18235
  i0__namespace.ɵɵelementContainerStart(0);
@@ -18218,7 +18242,7 @@
18218
18242
  i0__namespace.ɵɵnextContext();
18219
18243
  var _r1 = i0__namespace.ɵɵreference(13);
18220
18244
  i0__namespace.ɵɵadvance(1);
18221
- i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$a, subcat_r8, level_r6 + 1));
18245
+ i0__namespace.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction2(2, _c1$9, subcat_r8, level_r6 + 1));
18222
18246
  }
18223
18247
  }
18224
18248
  function CaseFileViewFolderSelectorComponent_ng_template_12_Template(rf, ctx) {
@@ -18232,7 +18256,7 @@
18232
18256
  i0__namespace.ɵɵelement(3, "img", 12);
18233
18257
  i0__namespace.ɵɵtext(4);
18234
18258
  i0__namespace.ɵɵelementEnd();
18235
- i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 3);
18259
+ i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_template_12_ng_container_5_Template, 2, 5, "ng-container", 2);
18236
18260
  i0__namespace.ɵɵelementEnd();
18237
18261
  }
18238
18262
  if (rf & 2) {
@@ -18328,47 +18352,46 @@
18328
18352
  return CaseFileViewFolderSelectorComponent;
18329
18353
  }());
18330
18354
  CaseFileViewFolderSelectorComponent.ɵfac = function CaseFileViewFolderSelectorComponent_Factory(t) { return new (t || CaseFileViewFolderSelectorComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialogRef), i0__namespace.ɵɵdirectiveInject(i1$3.MAT_DIALOG_DATA)); };
18331
- CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "close", 3, "click"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) {
18355
+ CaseFileViewFolderSelectorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [[1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [1, "close", 3, "click"], ["folder", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "id", "click"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) {
18332
18356
  if (rf & 1) {
18333
- i0__namespace.ɵɵelementStart(0, "div", 0);
18334
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_0_listener() { return ctx.cancel(); });
18357
+ i0__namespace.ɵɵelementStart(0, "h2", 0);
18358
+ i0__namespace.ɵɵtext(1, "Move File");
18335
18359
  i0__namespace.ɵɵelementEnd();
18336
- i0__namespace.ɵɵelementStart(1, "h2", 1);
18337
- i0__namespace.ɵɵtext(2, "Move File");
18360
+ i0__namespace.ɵɵelementStart(2, "p");
18361
+ i0__namespace.ɵɵtext(3);
18338
18362
  i0__namespace.ɵɵelementEnd();
18339
- i0__namespace.ɵɵelementStart(3, "p");
18340
- i0__namespace.ɵɵtext(4);
18363
+ i0__namespace.ɵɵelementStart(4, "div", 1);
18364
+ i0__namespace.ɵɵtemplate(5, CaseFileViewFolderSelectorComponent_ng_container_5_Template, 2, 4, "ng-container", 2);
18341
18365
  i0__namespace.ɵɵelementEnd();
18342
- i0__namespace.ɵɵelementStart(5, "div", 2);
18343
- i0__namespace.ɵɵtemplate(6, CaseFileViewFolderSelectorComponent_ng_container_6_Template, 2, 4, "ng-container", 3);
18366
+ i0__namespace.ɵɵelementStart(6, "div", 3);
18367
+ i0__namespace.ɵɵelementStart(7, "button", 4);
18368
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_7_listener() { return ctx.save(); });
18369
+ i0__namespace.ɵɵtext(8, "Save");
18344
18370
  i0__namespace.ɵɵelementEnd();
18345
- i0__namespace.ɵɵelementStart(7, "div", 4);
18346
- i0__namespace.ɵɵelementStart(8, "button", 5);
18347
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_button_click_8_listener() { return ctx.save(); });
18348
- i0__namespace.ɵɵtext(9, "Save");
18371
+ i0__namespace.ɵɵelementStart(9, "a", 5);
18372
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_9_listener() { return ctx.cancel(); });
18373
+ i0__namespace.ɵɵtext(10, "Cancel");
18349
18374
  i0__namespace.ɵɵelementEnd();
18350
- i0__namespace.ɵɵelementStart(10, "a", 6);
18351
- i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_a_click_10_listener() { return ctx.cancel(); });
18352
- i0__namespace.ɵɵtext(11, "Cancel");
18353
18375
  i0__namespace.ɵɵelementEnd();
18376
+ i0__namespace.ɵɵelementStart(11, "div", 6);
18377
+ i0__namespace.ɵɵlistener("click", function CaseFileViewFolderSelectorComponent_Template_div_click_11_listener() { return ctx.cancel(); });
18354
18378
  i0__namespace.ɵɵelementEnd();
18355
18379
  i0__namespace.ɵɵtemplate(12, CaseFileViewFolderSelectorComponent_ng_template_12_Template, 6, 5, "ng-template", null, 7, i0__namespace.ɵɵtemplateRefExtractor);
18356
18380
  }
18357
18381
  if (rf & 2) {
18358
- i0__namespace.ɵɵadvance(4);
18382
+ i0__namespace.ɵɵadvance(3);
18359
18383
  i0__namespace.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
18360
18384
  i0__namespace.ɵɵadvance(2);
18361
18385
  i0__namespace.ɵɵproperty("ngForOf", ctx.currentCategories);
18362
18386
  }
18363
- }, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
18387
+ }, directives: [i1__namespace.NgForOf, i1__namespace.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{position:relative;display:block}.folders[_ngcontent-%COMP%]{margin-bottom:20px}.folder[_ngcontent-%COMP%]{display:none;border-bottom:1px solid #ccc;border-top:1px solid #ccc;margin:0 0 -1px}.folders[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:checked ~ .folder[_ngcontent-%COMP%]{display:block}.iconImg[_ngcontent-%COMP%]{position:relative;display:inline-block;height:28px}.folder[_ngcontent-%COMP%] > .folder[_ngcontent-%COMP%]{margin-left:20px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{top:3px}.folder[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{top:13px}p[_ngcontent-%COMP%]{font-weight:700}button[_ngcontent-%COMP%]{margin-right:20px}.close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel[_ngcontent-%COMP%], .close[_ngcontent-%COMP%]{cursor:pointer}"] });
18364
18388
  (function () {
18365
18389
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
18366
18390
  type: i0.Component,
18367
18391
  args: [{
18368
18392
  selector: 'xui-case-file-view-folder-selector',
18369
18393
  templateUrl: './case-file-view-folder-selector.component.html',
18370
- styleUrls: ['./case-file-view-folder-selector.component.scss'],
18371
- encapsulation: i0.ViewEncapsulation.None
18394
+ styleUrls: ['./case-file-view-folder-selector.component.scss']
18372
18395
  }]
18373
18396
  }], function () {
18374
18397
  return [{ type: i1__namespace$3.MatDialogRef }, { type: undefined, decorators: [{
@@ -18440,7 +18463,7 @@
18440
18463
  }
18441
18464
  }
18442
18465
  var _c0$t = [[["", "trigger", ""]]];
18443
- var _c1$9 = ["[trigger]"];
18466
+ var _c1$8 = ["[trigger]"];
18444
18467
  var CaseFileViewOverlayMenuComponent = /** @class */ (function () {
18445
18468
  function CaseFileViewOverlayMenuComponent() {
18446
18469
  this.title = '';
@@ -18455,7 +18478,7 @@
18455
18478
  return CaseFileViewOverlayMenuComponent;
18456
18479
  }());
18457
18480
  CaseFileViewOverlayMenuComponent.ɵfac = function CaseFileViewOverlayMenuComponent_Factory(t) { return new (t || CaseFileViewOverlayMenuComponent)(); };
18458
- CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$9, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
18481
+ CaseFileViewOverlayMenuComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$8, decls: 5, vars: 4, consts: [["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass", "backdropClick"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) {
18459
18482
  if (rf & 1) {
18460
18483
  i0__namespace.ɵɵprojectionDef(_c0$t);
18461
18484
  i0__namespace.ɵɵelementStart(0, "div");
@@ -18920,7 +18943,7 @@
18920
18943
  return Object.assign(documentTreeNode, node);
18921
18944
  }
18922
18945
  var filteredData = this.documentTreeData;
18923
- if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 0) {
18946
+ if (searchTerm && searchTerm.length >= CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS && this.documentFilterFormGroup.controls[CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME].value.length > 2) {
18924
18947
  filteredData = this.documentTreeData.map(copy).filter(function filterTreeData(node) {
18925
18948
  if (node.name && node.name.toLowerCase().includes(searchTerm) && node.type === DocumentTreeNodeType.DOCUMENT) {
18926
18949
  return true;
@@ -19002,6 +19025,7 @@
19002
19025
  CaseFileViewFolderComponent.prototype.openMoveDialog = function (node) {
19003
19026
  var _this = this;
19004
19027
  var dialogRef = this.dialog.open(CaseFileViewFolderSelectorComponent, {
19028
+ width: '570px',
19005
19029
  data: { categories: this.categories, document: node }
19006
19030
  });
19007
19031
  dialogRef.afterClosed().subscribe(function (newCatId) {
@@ -19027,7 +19051,7 @@
19027
19051
  }());
19028
19052
  CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised documents';
19029
19053
  CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
19030
- CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
19054
+ CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 3;
19031
19055
  CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0__namespace.ɵɵdirectiveInject(WindowService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog)); };
19032
19056
  CaseFileViewFolderComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "allowMoving", "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) {
19033
19057
  if (rf & 1) {
@@ -19305,7 +19329,7 @@
19305
19329
  }
19306
19330
  }
19307
19331
  var _c0$s = function (a0) { return { "form-group-error": a0 }; };
19308
- var _c1$8 = function (a0) { return { "govuk-input--error": a0 }; };
19332
+ var _c1$7 = function (a0) { return { "govuk-input--error": a0 }; };
19309
19333
  function SelectFlagTypeComponent_div_9_Template(rf, ctx) {
19310
19334
  if (rf & 1) {
19311
19335
  i0__namespace.ɵɵelementStart(0, "div", 15);
@@ -19325,7 +19349,7 @@
19325
19349
  i0__namespace.ɵɵadvance(3);
19326
19350
  i0__namespace.ɵɵproperty("ngIf", ctx_r2.flagTypeErrorMessage.length > 0);
19327
19351
  i0__namespace.ɵɵadvance(1);
19328
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$8, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
19352
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c1$7, ctx_r2.flagTypeErrorMessage.length > 0))("name", ctx_r2.descriptionControlName)("formControlName", ctx_r2.descriptionControlName);
19329
19353
  }
19330
19354
  }
19331
19355
  function SelectFlagTypeComponent_div_10_Template(rf, ctx) {
@@ -20426,10 +20450,10 @@
20426
20450
  }] });
20427
20451
  })();
20428
20452
 
20429
- function UpdateFlagComponent_div_8_Template(rf, ctx) {
20453
+ function UpdateFlagComponent_div_12_Template(rf, ctx) {
20430
20454
  if (rf & 1) {
20431
- i0__namespace.ɵɵelementStart(0, "div", 16);
20432
- i0__namespace.ɵɵelementStart(1, "span", 17);
20455
+ i0__namespace.ɵɵelementStart(0, "div", 24);
20456
+ i0__namespace.ɵɵelementStart(1, "span", 25);
20433
20457
  i0__namespace.ɵɵtext(2, "Error:");
20434
20458
  i0__namespace.ɵɵelementEnd();
20435
20459
  i0__namespace.ɵɵtext(3);
@@ -20441,10 +20465,10 @@
20441
20465
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.updateFlagNotEnteredErrorMessage, " ");
20442
20466
  }
20443
20467
  }
20444
- function UpdateFlagComponent_div_9_Template(rf, ctx) {
20468
+ function UpdateFlagComponent_div_13_Template(rf, ctx) {
20445
20469
  if (rf & 1) {
20446
- i0__namespace.ɵɵelementStart(0, "div", 18);
20447
- i0__namespace.ɵɵelementStart(1, "span", 17);
20470
+ i0__namespace.ɵɵelementStart(0, "div", 26);
20471
+ i0__namespace.ɵɵelementStart(1, "span", 25);
20448
20472
  i0__namespace.ɵɵtext(2, "Error:");
20449
20473
  i0__namespace.ɵɵelementEnd();
20450
20474
  i0__namespace.ɵɵtext(3);
@@ -20456,17 +20480,28 @@
20456
20480
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
20457
20481
  }
20458
20482
  }
20459
- function UpdateFlagComponent_button_22_Template(rf, ctx) {
20483
+ function UpdateFlagComponent_div_24_Template(rf, ctx) {
20460
20484
  if (rf & 1) {
20461
- var _r4_1 = i0__namespace.ɵɵgetCurrentView();
20462
- i0__namespace.ɵɵelementStart(0, "button", 19);
20463
- i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_button_22_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r3 = i0__namespace.ɵɵnextContext(); return ctx_r3.onChangeStatus(); });
20464
- i0__namespace.ɵɵtext(1, " Make inactive ");
20485
+ i0__namespace.ɵɵelementStart(0, "div", 27);
20486
+ i0__namespace.ɵɵelement(1, "input", 28);
20487
+ i0__namespace.ɵɵpipe(2, "lowercase");
20488
+ i0__namespace.ɵɵelementStart(3, "label", 29);
20489
+ i0__namespace.ɵɵtext(4);
20490
+ i0__namespace.ɵɵelementEnd();
20465
20491
  i0__namespace.ɵɵelementEnd();
20466
20492
  }
20493
+ if (rf & 2) {
20494
+ var status_r3 = ctx.$implicit;
20495
+ var ctx_r2 = i0__namespace.ɵɵnextContext();
20496
+ i0__namespace.ɵɵadvance(1);
20497
+ i0__namespace.ɵɵproperty("name", ctx_r2.FLAG_STATUS_CONTROL_NAME)("value", i0__namespace.ɵɵpipeBind1(2, 4, status_r3));
20498
+ i0__namespace.ɵɵadvance(2);
20499
+ i0__namespace.ɵɵproperty("for", ctx_r2.FLAG_STATUS_CONTROL_NAME);
20500
+ i0__namespace.ɵɵadvance(1);
20501
+ i0__namespace.ɵɵtextInterpolate1(" ", status_r3, " ");
20502
+ }
20467
20503
  }
20468
20504
  var _c0$n = function (a0) { return { "form-group-error": a0 }; };
20469
- var _c1$7 = function (a0) { return { "govuk-tag--grey": a0 }; };
20470
20505
  var UpdateFlagComponent = /** @class */ (function () {
20471
20506
  function UpdateFlagComponent() {
20472
20507
  this.caseFlagStateEmitter = new i0.EventEmitter();
@@ -20474,22 +20509,25 @@
20474
20509
  this.errorMessages = [];
20475
20510
  this.updateFlagNotEnteredErrorMessage = null;
20476
20511
  this.updateFlagCharLimitErrorMessage = null;
20477
- this.updateFlagControlName = 'flagComments';
20512
+ this.updateFlagStepEnum = exports.UpdateFlagStep;
20513
+ this.caseFlagStatuses = exports.CaseFlagStatus;
20514
+ this.FLAG_COMMENTS_CONTROL_NAME = 'flagComment';
20515
+ this.FLAG_STATUS_CONTROL_NAME = 'flagStatus';
20516
+ this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME = 'flagStatusReasonChange';
20517
+ this.FLAG_WELSH_TRANSLATION_CONTROL_NAME = 'flagWelshTranslation';
20478
20518
  this.commentsMaxCharLimit = 200;
20479
20519
  }
20480
20520
  UpdateFlagComponent.prototype.ngOnInit = function () {
20481
- this.updateFlagHint = exports.UpdateFlagStep.HINT_TEXT;
20482
- this.updateFlagCharLimitInfo = exports.UpdateFlagStep.CHARACTER_LIMIT_INFO;
20483
- this.formGroup.addControl(this.updateFlagControlName, new i2.FormControl(''));
20484
20521
  if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
20485
20522
  var flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
20523
+ this.formGroup.addControl(this.FLAG_STATUS_CONTROL_NAME, new i2.FormControl(flagDetail.status));
20524
+ this.formGroup.addControl(this.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME, new i2.FormControl(''));
20525
+ this.formGroup.addControl(this.FLAG_WELSH_TRANSLATION_CONTROL_NAME, new i2.FormControl(false));
20486
20526
  // Populate flag comments text area with existing comments
20487
- this.formGroup.get(this.updateFlagControlName).setValue(flagDetail.flagComment);
20527
+ this.formGroup.addControl(this.FLAG_COMMENTS_CONTROL_NAME, new i2.FormControl(flagDetail.flagComment));
20488
20528
  if (flagDetail.name) {
20489
20529
  this.updateFlagTitle =
20490
- exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue
20491
- ? ", " + flagDetail.subTypeValue + "\""
20492
- : '"');
20530
+ exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \u2018" + flagDetail.name + (flagDetail.subTypeValue ? ", " + flagDetail.subTypeValue + "\u2019" : '’');
20493
20531
  }
20494
20532
  }
20495
20533
  };
@@ -20498,7 +20536,7 @@
20498
20536
  this.validateTextEntry();
20499
20537
  // If validation has passed, update the flag details with the comments entered
20500
20538
  if (this.errorMessages.length === 0) {
20501
- this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.updateFlagControlName).value });
20539
+ this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { flagComment: this.formGroup.get(this.FLAG_COMMENTS_CONTROL_NAME).value });
20502
20540
  }
20503
20541
  // Return case flag field state, error messages, and selected flag detail to the parent. The selected flag must be
20504
20542
  // re-emitted because the parent component repopulates this on handling this EventEmitter
@@ -20508,22 +20546,17 @@
20508
20546
  selectedFlag: this.selectedFlag
20509
20547
  });
20510
20548
  };
20511
- UpdateFlagComponent.prototype.onChangeStatus = function () {
20512
- this.selectedFlag.flagDetailDisplay.flagDetail = Object.assign(Object.assign({}, this.selectedFlag.flagDetailDisplay.flagDetail), { status: this.selectedFlag.flagDetailDisplay.flagDetail.status === exports.CaseFlagStatus.ACTIVE
20513
- ? exports.CaseFlagStatus.INACTIVE
20514
- : this.selectedFlag.flagDetailDisplay.flagDetail.status });
20515
- };
20516
20549
  UpdateFlagComponent.prototype.validateTextEntry = function () {
20517
20550
  this.updateFlagNotEnteredErrorMessage = null;
20518
20551
  this.updateFlagCharLimitErrorMessage = null;
20519
20552
  this.errorMessages = [];
20520
- var comment = this.formGroup.get(this.updateFlagControlName).value;
20553
+ var comment = this.formGroup.get(this.FLAG_COMMENTS_CONTROL_NAME).value;
20521
20554
  if (!comment) {
20522
20555
  this.updateFlagNotEnteredErrorMessage = exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED;
20523
20556
  this.errorMessages.push({
20524
20557
  title: '',
20525
20558
  description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_NOT_ENTERED,
20526
- fieldId: this.updateFlagControlName
20559
+ fieldId: this.FLAG_COMMENTS_CONTROL_NAME
20527
20560
  });
20528
20561
  }
20529
20562
  if (comment && comment.length > this.commentsMaxCharLimit) {
@@ -20531,14 +20564,14 @@
20531
20564
  this.errorMessages.push({
20532
20565
  title: '',
20533
20566
  description: exports.UpdateFlagErrorMessage.FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED,
20534
- fieldId: this.updateFlagControlName
20567
+ fieldId: this.FLAG_COMMENTS_CONTROL_NAME
20535
20568
  });
20536
20569
  }
20537
20570
  };
20538
20571
  return UpdateFlagComponent;
20539
20572
  }());
20540
20573
  UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
20541
- UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 26, vars: 18, consts: [[1, "form-group", 3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], [1, "govuk-label", "govuk-label--l", 3, "for"], ["id", "update-flag-hint", 1, "govuk-hint"], ["id", "update-flag-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "update-flag-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "update-flag-hint update-flag-char-limit-info update-flag-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "update-flag-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-grid-row"], [1, "govuk-grid-column-one-half"], [1, "govuk-tag", 3, "ngClass"], ["class", "button button-secondary", "type", "button", 3, "click", 4, "ngIf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], ["id", "update-flag-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "update-flag-char-limit-error", 1, "govuk-error-message"], ["type", "button", 1, "button", "button-secondary", 3, "click"]], template: function UpdateFlagComponent_Template(rf, ctx) {
20574
+ UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 40, vars: 26, consts: [[1, "form-group", 3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper", "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--l"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 3, "for"], ["id", "update-flag-hint", 1, "govuk-hint"], ["id", "update-flag-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "update-flag-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "update-flag-hint update-flag-char-limit-info update-flag-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "update-flag-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--s", "govuk-!-margin-bottom-2"], ["data-module", "govuk-radios", 1, "govuk-radios", 3, "id"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["id", "update-flag-status-hint", 1, "govuk-hint"], ["rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["data-module", "govuk-checkboxes", 1, "govuk-checkboxes"], [1, "govuk-checkboxes__item"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], ["id", "update-flag-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "update-flag-char-limit-error", 1, "govuk-error-message"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"]], template: function UpdateFlagComponent_Template(rf, ctx) {
20542
20575
  if (rf & 1) {
20543
20576
  i0__namespace.ɵɵelementStart(0, "div", 0);
20544
20577
  i0__namespace.ɵɵelementStart(1, "div", 1);
@@ -20549,37 +20582,60 @@
20549
20582
  i0__namespace.ɵɵelementEnd();
20550
20583
  i0__namespace.ɵɵelementEnd();
20551
20584
  i0__namespace.ɵɵelementStart(6, "div", 5);
20552
- i0__namespace.ɵɵtext(7);
20585
+ i0__namespace.ɵɵelementStart(7, "div");
20586
+ i0__namespace.ɵɵelementStart(8, "label", 6);
20587
+ i0__namespace.ɵɵtext(9);
20553
20588
  i0__namespace.ɵɵelementEnd();
20554
- i0__namespace.ɵɵtemplate(8, UpdateFlagComponent_div_8_Template, 4, 1, "div", 6);
20555
- i0__namespace.ɵɵtemplate(9, UpdateFlagComponent_div_9_Template, 4, 1, "div", 7);
20556
- i0__namespace.ɵɵelementStart(10, "textarea", 8);
20557
- i0__namespace.ɵɵtext(11, " ");
20558
20589
  i0__namespace.ɵɵelementEnd();
20559
- i0__namespace.ɵɵelementStart(12, "div", 9);
20560
- i0__namespace.ɵɵtext(13);
20590
+ i0__namespace.ɵɵelementStart(10, "div", 7);
20591
+ i0__namespace.ɵɵtext(11);
20561
20592
  i0__namespace.ɵɵelementEnd();
20593
+ i0__namespace.ɵɵtemplate(12, UpdateFlagComponent_div_12_Template, 4, 1, "div", 8);
20594
+ i0__namespace.ɵɵtemplate(13, UpdateFlagComponent_div_13_Template, 4, 1, "div", 9);
20595
+ i0__namespace.ɵɵelementStart(14, "textarea", 10);
20596
+ i0__namespace.ɵɵtext(15, " ");
20562
20597
  i0__namespace.ɵɵelementEnd();
20598
+ i0__namespace.ɵɵelementStart(16, "div", 11);
20599
+ i0__namespace.ɵɵtext(17);
20563
20600
  i0__namespace.ɵɵelementEnd();
20564
- i0__namespace.ɵɵelementStart(14, "div", 10);
20565
- i0__namespace.ɵɵelementStart(15, "div", 11);
20566
- i0__namespace.ɵɵelementStart(16, "p");
20567
- i0__namespace.ɵɵtext(17, "Flag status: ");
20568
- i0__namespace.ɵɵelementStart(18, "span");
20569
- i0__namespace.ɵɵelementStart(19, "strong", 12);
20570
- i0__namespace.ɵɵtext(20);
20601
+ i0__namespace.ɵɵelementEnd();
20602
+ i0__namespace.ɵɵelementStart(18, "div", 12);
20603
+ i0__namespace.ɵɵelementStart(19, "div");
20604
+ i0__namespace.ɵɵelementStart(20, "label", 13);
20605
+ i0__namespace.ɵɵtext(21);
20571
20606
  i0__namespace.ɵɵelementEnd();
20572
20607
  i0__namespace.ɵɵelementEnd();
20608
+ i0__namespace.ɵɵelementStart(22, "div", 5);
20609
+ i0__namespace.ɵɵelementStart(23, "div", 14);
20610
+ i0__namespace.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
20611
+ i0__namespace.ɵɵpipe(25, "enumDisplayDescription");
20573
20612
  i0__namespace.ɵɵelementEnd();
20574
20613
  i0__namespace.ɵɵelementEnd();
20575
- i0__namespace.ɵɵelementStart(21, "div", 11);
20576
- i0__namespace.ɵɵtemplate(22, UpdateFlagComponent_button_22_Template, 2, 0, "button", 13);
20614
+ i0__namespace.ɵɵelementStart(26, "div");
20615
+ i0__namespace.ɵɵelementStart(27, "div", 16);
20616
+ i0__namespace.ɵɵtext(28);
20617
+ i0__namespace.ɵɵelementEnd();
20618
+ i0__namespace.ɵɵelementStart(29, "textarea", 17);
20619
+ i0__namespace.ɵɵtext(30, " ");
20620
+ i0__namespace.ɵɵelementEnd();
20621
+ i0__namespace.ɵɵelementEnd();
20622
+ i0__namespace.ɵɵelementEnd();
20623
+ i0__namespace.ɵɵelementStart(31, "div");
20624
+ i0__namespace.ɵɵelementStart(32, "div", 18);
20625
+ i0__namespace.ɵɵelementStart(33, "div", 19);
20626
+ i0__namespace.ɵɵelement(34, "input", 20);
20627
+ i0__namespace.ɵɵelementStart(35, "label", 21);
20628
+ i0__namespace.ɵɵtext(36, " I need to add a Welsh translation ");
20577
20629
  i0__namespace.ɵɵelementEnd();
20578
20630
  i0__namespace.ɵɵelementEnd();
20579
- i0__namespace.ɵɵelementStart(23, "div", 14);
20580
- i0__namespace.ɵɵelementStart(24, "button", 15);
20581
- i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_24_listener() { return ctx.onNext(); });
20582
- i0__namespace.ɵɵtext(25, "Next");
20631
+ i0__namespace.ɵɵelementEnd();
20632
+ i0__namespace.ɵɵelementEnd();
20633
+ i0__namespace.ɵɵelementEnd();
20634
+ i0__namespace.ɵɵelementEnd();
20635
+ i0__namespace.ɵɵelementStart(37, "div", 22);
20636
+ i0__namespace.ɵɵelementStart(38, "button", 23);
20637
+ i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_38_listener() { return ctx.onNext(); });
20638
+ i0__namespace.ɵɵtext(39, "Next");
20583
20639
  i0__namespace.ɵɵelementEnd();
20584
20640
  i0__namespace.ɵɵelementEnd();
20585
20641
  i0__namespace.ɵɵelementEnd();
@@ -20587,29 +20643,39 @@
20587
20643
  if (rf & 2) {
20588
20644
  i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
20589
20645
  i0__namespace.ɵɵadvance(2);
20590
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(14, _c0$n, ctx.errorMessages.length > 0));
20591
- i0__namespace.ɵɵadvance(2);
20592
- i0__namespace.ɵɵproperty("for", ctx.updateFlagControlName);
20593
- i0__namespace.ɵɵadvance(1);
20646
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(24, _c0$n, ctx.errorMessages.length > 0));
20647
+ i0__namespace.ɵɵadvance(3);
20594
20648
  i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " ");
20649
+ i0__namespace.ɵɵadvance(3);
20650
+ i0__namespace.ɵɵproperty("for", ctx.FLAG_COMMENTS_CONTROL_NAME);
20651
+ i0__namespace.ɵɵadvance(1);
20652
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " comments ");
20595
20653
  i0__namespace.ɵɵadvance(2);
20596
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagHint, " ");
20654
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.COMMENT_HINT_TEXT, " ");
20597
20655
  i0__namespace.ɵɵadvance(1);
20598
20656
  i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagNotEnteredErrorMessage);
20599
20657
  i0__namespace.ɵɵadvance(1);
20600
20658
  i0__namespace.ɵɵproperty("ngIf", ctx.updateFlagCharLimitErrorMessage);
20601
20659
  i0__namespace.ɵɵadvance(1);
20602
- i0__namespace.ɵɵproperty("id", ctx.updateFlagControlName)("name", ctx.updateFlagControlName)("formControlName", ctx.updateFlagControlName);
20660
+ i0__namespace.ɵɵproperty("id", ctx.FLAG_COMMENTS_CONTROL_NAME)("name", ctx.FLAG_COMMENTS_CONTROL_NAME)("formControlName", ctx.FLAG_COMMENTS_CONTROL_NAME);
20603
20661
  i0__namespace.ɵɵadvance(3);
20604
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagCharLimitInfo, " ");
20605
- i0__namespace.ɵɵadvance(6);
20606
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(16, _c1$7, ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Inactive"));
20607
- i0__namespace.ɵɵadvance(1);
20608
- i0__namespace.ɵɵtextInterpolate1(" ", ctx.selectedFlag.flagDetailDisplay.flagDetail.status, " ");
20662
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.COMMENT_CHARACTER_LIMIT_INFO, " ");
20663
+ i0__namespace.ɵɵadvance(4);
20664
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " status ");
20609
20665
  i0__namespace.ɵɵadvance(2);
20610
- i0__namespace.ɵɵproperty("ngIf", ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
20666
+ i0__namespace.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
20667
+ i0__namespace.ɵɵadvance(1);
20668
+ i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
20669
+ i0__namespace.ɵɵadvance(4);
20670
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
20671
+ i0__namespace.ɵɵadvance(1);
20672
+ i0__namespace.ɵɵproperty("id", ctx.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME)("name", ctx.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME)("formControlName", ctx.FLAG_STATUS_CHANGE_REASON_CONTROL_NAME);
20673
+ i0__namespace.ɵɵadvance(5);
20674
+ i0__namespace.ɵɵproperty("id", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME)("name", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
20675
+ i0__namespace.ɵɵadvance(1);
20676
+ i0__namespace.ɵɵproperty("for", ctx.FLAG_WELSH_TRANSLATION_CONTROL_NAME);
20611
20677
  }
20612
- }, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName], encapsulation: 2 });
20678
+ }, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName, i1__namespace.NgForOf], pipes: [EnumDisplayDescriptionPipe, i1__namespace.LowerCasePipe], encapsulation: 2 });
20613
20679
  (function () {
20614
20680
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UpdateFlagComponent, [{
20615
20681
  type: i0.Component,
@@ -35332,6 +35398,7 @@
35332
35398
  exports.DynamicRadioListPipe = DynamicRadioListPipe;
35333
35399
  exports.ESQueryType = ESQueryType;
35334
35400
  exports.Embedded = Embedded;
35401
+ exports.EnumDisplayDescriptionPipe = EnumDisplayDescriptionPipe;
35335
35402
  exports.ErrorMessageComponent = ErrorMessageComponent;
35336
35403
  exports.ErrorNotifierService = ErrorNotifierService;
35337
35404
  exports.EventCaseField = EventCaseField;