@hmcts/ccd-case-ui-toolkit 6.14.4-ccpay-5.2.3 → 6.14.4-ccpay-5.2.3b

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 (26) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +49 -11
  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/app.config.js +1 -1
  6. package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +2 -1
  7. package/esm2015/lib/shared/components/palette/base-field/payment-field.component.js +4 -1
  8. package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.js +21 -7
  9. package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.js +20 -7
  10. package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +12 -1
  11. package/esm2015/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.js +3 -3
  12. package/esm2015/lib/shared/components/palette/waystopay/waystopay-field.component.js +4 -4
  13. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +49 -11
  14. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  15. package/lib/app.config.d.ts +2 -0
  16. package/lib/app.config.d.ts.map +1 -1
  17. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
  18. package/lib/shared/components/palette/base-field/payment-field.component.d.ts +1 -0
  19. package/lib/shared/components/palette/base-field/payment-field.component.d.ts.map +1 -1
  20. package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts +7 -2
  21. package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts.map +1 -1
  22. package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +4 -1
  23. package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts.map +1 -1
  24. package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +4 -2
  25. package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
  26. package/package.json +1 -1
@@ -10519,6 +10519,7 @@
10519
10519
  id: id_1,
10520
10520
  message: "Please select Next to complete the " + action + " of the " + (action === 'update' ? 'selected ' : '') + "case flag"
10521
10521
  });
10522
+ _this.caseEditDataService.setFormValidationErrors(_this.validationErrors);
10522
10523
  }
10523
10524
  else {
10524
10525
  _this.validationErrors.push({ id: id_1, message: "Select or fill the required " + casefield.label + " field" });
@@ -11995,6 +11996,13 @@
11995
11996
  });
11996
11997
  }
11997
11998
  }
11999
+ this.caseValidationErrorsSubscription$ = this.caseEditDataService.caseFormValidationErrors$.subscribe({
12000
+ next: function (validationErrors) {
12001
+ if (validationErrors.length) {
12002
+ _this.errorMessages = [];
12003
+ }
12004
+ }
12005
+ });
11998
12006
  };
11999
12007
  WriteCaseFlagFieldComponent.prototype.setDisplayContextParameterUpdate = function (caseFields) {
12000
12008
  var _this = this;
@@ -12226,6 +12234,10 @@
12226
12234
  this.formGroup.updateValueAndValidity();
12227
12235
  this.caseEditDataService.setTriggerSubmitEvent(true);
12228
12236
  };
12237
+ WriteCaseFlagFieldComponent.prototype.ngOnDestroy = function () {
12238
+ var _a;
12239
+ (_a = this.caseValidationErrorsSubscription$) === null || _a === void 0 ? void 0 : _a.unsubscribe();
12240
+ };
12229
12241
  return WriteCaseFlagFieldComponent;
12230
12242
  }(AbstractFieldWriteComponent));
12231
12243
  WriteCaseFlagFieldComponent.ɵfac = function WriteCaseFlagFieldComponent_Factory(t) { return new (t || WriteCaseFlagFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseEditDataService)); };
@@ -19135,6 +19147,9 @@
19135
19147
  PaymentField.prototype.getRefundsUrl = function () {
19136
19148
  return this.appConfig.getRefundsUrl();
19137
19149
  };
19150
+ PaymentField.prototype.getNotificationUrl = function () {
19151
+ return this.appConfig.getNotificationUrl();
19152
+ };
19138
19153
  PaymentField.prototype.getUserRoles = function () {
19139
19154
  var userDetails = JSON.parse(this.sessionStorage.getItem('userDetails') || null);
19140
19155
  if (!userDetails || !userDetails.hasOwnProperty('roles')) {
@@ -19160,12 +19175,12 @@
19160
19175
  return CasePaymentHistoryViewerFieldComponent;
19161
19176
  }(PaymentField));
19162
19177
  CasePaymentHistoryViewerFieldComponent.ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(t) { return new (t || CasePaymentHistoryViewerFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
19163
- CasePaymentHistoryViewerFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 15, consts: [[3, "API_ROOT", "CCD_CASE_NUMBER", "BULKSCAN_API_ROOT", "SELECTED_OPTION", "ISBSENABLE", "LOGGEDINUSEREMAIL", "LOGGEDINUSERROLES", "REFUNDS_API_ROOT", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "ISPAYMENTSTATUSENABLED"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) {
19178
+ CasePaymentHistoryViewerFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 16, consts: [[3, "API_ROOT", "CCD_CASE_NUMBER", "BULKSCAN_API_ROOT", "SELECTED_OPTION", "ISBSENABLE", "LOGGEDINUSEREMAIL", "LOGGEDINUSERROLES", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "ISPAYMENTSTATUSENABLED"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) {
19164
19179
  if (rf & 1) {
19165
19180
  i0__namespace.ɵɵelement(0, "ccpay-payment-lib", 0);
19166
19181
  }
19167
19182
  if (rf & 2) {
19168
- i0__namespace.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("ISPAYMENTSTATUSENABLED", "Enable");
19183
+ i0__namespace.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx.getNotificationUrl())("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("ISPAYMENTSTATUSENABLED", "Enable");
19169
19184
  }
19170
19185
  }, directives: [i3__namespace.PaymentLibComponent], encapsulation: 2 });
19171
19186
  (function () {
@@ -19798,7 +19813,7 @@
19798
19813
  }
19799
19814
  if (rf & 2) {
19800
19815
  var ctx_r0 = i0__namespace.ɵɵnextContext();
19801
- i0__namespace.ɵɵproperty("API_ROOT", ctx_r0.getBaseURL())("BULKSCAN_API_ROOT", ctx_r0.getPayBulkScanBaseURL())("REFUNDS_API_ROOT", ctx_r0.getRefundsUrl())("CCD_CASE_NUMBER", ctx_r0.caseReference)("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", true)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx_r0.caseReference)("DCN_NUMBER", null)("SELECTED_OPTION", "CCDorException")("LOGGEDINUSERROLES", ctx_r0.getUserRoles())("CARDPAYMENTRETURNURL", ctx_r0.getCardPaymentReturnUrl())("ISPAYMENTSTATUSENABLED", "Enable");
19816
+ i0__namespace.ɵɵproperty("API_ROOT", ctx_r0.getBaseURL())("BULKSCAN_API_ROOT", ctx_r0.getPayBulkScanBaseURL())("REFUNDS_API_ROOT", ctx_r0.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx_r0.getNotificationUrl())("CCD_CASE_NUMBER", ctx_r0.caseReference)("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", true)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx_r0.caseReference)("DCN_NUMBER", null)("SELECTED_OPTION", "CCDorException")("LOGGEDINUSERROLES", ctx_r0.getUserRoles())("CARDPAYMENTRETURNURL", ctx_r0.getCardPaymentReturnUrl())("ISPAYMENTSTATUSENABLED", "Enable");
19802
19817
  }
19803
19818
  }
19804
19819
  var WaysToPayFieldComponent = /** @class */ (function (_super) {
@@ -19812,9 +19827,9 @@
19812
19827
  return WaysToPayFieldComponent;
19813
19828
  }(PaymentField));
19814
19829
  WaysToPayFieldComponent.ɵfac = function WaysToPayFieldComponent_Factory(t) { return new (t || WaysToPayFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
19815
- WaysToPayFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED"]], template: function WaysToPayFieldComponent_Template(rf, ctx) {
19830
+ WaysToPayFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED"]], template: function WaysToPayFieldComponent_Template(rf, ctx) {
19816
19831
  if (rf & 1) {
19817
- i0__namespace.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 14, "ccpay-payment-lib", 0);
19832
+ i0__namespace.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 15, "ccpay-payment-lib", 0);
19818
19833
  }
19819
19834
  if (rf & 2) {
19820
19835
  i0__namespace.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
@@ -21568,8 +21583,9 @@
21568
21583
  }
21569
21584
  }
21570
21585
  var SelectFlagTypeComponent = /** @class */ (function () {
21571
- function SelectFlagTypeComponent(caseFlagRefdataService) {
21586
+ function SelectFlagTypeComponent(caseFlagRefdataService, caseEditDataService) {
21572
21587
  this.caseFlagRefdataService = caseFlagRefdataService;
21588
+ this.caseEditDataService = caseEditDataService;
21573
21589
  this.caseFlagStateEmitter = new i0.EventEmitter();
21574
21590
  this.flagCommentsOptionalEmitter = new i0.EventEmitter();
21575
21591
  this.flagTypeNotSelectedErrorMessage = '';
@@ -21624,11 +21640,21 @@
21624
21640
  error: function (error) { return _this.onRefdataError(error); }
21625
21641
  });
21626
21642
  }
21643
+ this.caseValidationErrorsSubscription$ = this.caseEditDataService.caseFormValidationErrors$.subscribe({
21644
+ next: function (validationErrors) {
21645
+ if (validationErrors.length) {
21646
+ _this.errorMessages = [];
21647
+ _this.flagTypeNotSelectedErrorMessage = '';
21648
+ _this.flagTypeErrorMessage = '';
21649
+ }
21650
+ }
21651
+ });
21627
21652
  };
21628
21653
  SelectFlagTypeComponent.prototype.ngOnDestroy = function () {
21629
21654
  if (this.flagRefdata$) {
21630
21655
  this.flagRefdata$.unsubscribe();
21631
21656
  }
21657
+ this.caseValidationErrorsSubscription$.unsubscribe();
21632
21658
  };
21633
21659
  SelectFlagTypeComponent.prototype.onFlagTypeChanged = function (flagType) {
21634
21660
  this.selectedFlagType = flagType;
@@ -21694,7 +21720,7 @@
21694
21720
  };
21695
21721
  return SelectFlagTypeComponent;
21696
21722
  }());
21697
- SelectFlagTypeComponent.ɵfac = function SelectFlagTypeComponent_Factory(t) { return new (t || SelectFlagTypeComponent)(i0__namespace.ɵɵdirectiveInject(CaseFlagRefdataService)); };
21723
+ SelectFlagTypeComponent.ɵfac = function SelectFlagTypeComponent_Factory(t) { return new (t || SelectFlagTypeComponent)(i0__namespace.ɵɵdirectiveInject(CaseFlagRefdataService), i0__namespace.ɵɵdirectiveInject(CaseEditDataService)); };
21698
21724
  SelectFlagTypeComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SelectFlagTypeComponent, selectors: [["ccd-select-flag-type"]], inputs: { formGroup: "formGroup", jurisdiction: "jurisdiction", caseTypeId: "caseTypeId", hmctsServiceId: "hmctsServiceId" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter", flagCommentsOptionalEmitter: "flagCommentsOptionalEmitter" }, decls: 11, vars: 9, consts: [[1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "flag-type-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], ["id", "flag-type-heading", 1, "govuk-fieldset__heading"], ["id", "flag-type-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["class", "govuk-radios__conditional", "id", "conditional-flagType", 4, "ngIf"], ["class", "govuk-button-group", 4, "ngIf"], ["id", "flag-type-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName", "change"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["id", "conditional-flagType", 1, "govuk-radios__conditional"], ["for", "other-flag-type-description", 1, "govuk-label"], ["id", "flag-type-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-flag-type-description", "type", "text", 1, "govuk-input", "govuk-!-width-one-half", 3, "ngClass", "name", "formControlName"], ["id", "flag-type-error-message", 1, "govuk-error-message"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"]], template: function SelectFlagTypeComponent_Template(rf, ctx) {
21699
21725
  if (rf & 1) {
21700
21726
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -21739,7 +21765,7 @@
21739
21765
  templateUrl: './select-flag-type.component.html',
21740
21766
  styleUrls: ['./select-flag-type.component.scss']
21741
21767
  }]
21742
- }], function () { return [{ type: CaseFlagRefdataService }]; }, { formGroup: [{
21768
+ }], function () { return [{ type: CaseFlagRefdataService }, { type: CaseEditDataService }]; }, { formGroup: [{
21743
21769
  type: i0.Input
21744
21770
  }], jurisdiction: [{
21745
21771
  type: i0.Input
@@ -22162,7 +22188,8 @@
22162
22188
  }
22163
22189
  var _c0$o = function (a0) { return { "form-group-error": a0 }; };
22164
22190
  var SelectFlagLocationComponent = /** @class */ (function () {
22165
- function SelectFlagLocationComponent() {
22191
+ function SelectFlagLocationComponent(caseEditDataService) {
22192
+ this.caseEditDataService = caseEditDataService;
22166
22193
  this.caseFlagStateEmitter = new i0.EventEmitter();
22167
22194
  this.errorMessages = [];
22168
22195
  this.flagLocationNotSelectedErrorMessage = null;
@@ -22190,6 +22217,14 @@
22190
22217
  // flags in future)
22191
22218
  this.onCaseFlagsConfigError();
22192
22219
  }
22220
+ this.caseValidationErrorsSubscription$ = this.caseEditDataService.caseFormValidationErrors$.subscribe({
22221
+ next: function (validationErrors) {
22222
+ if (validationErrors.length) {
22223
+ _this.errorMessages = [];
22224
+ _this.flagLocationNotSelectedErrorMessage = null;
22225
+ }
22226
+ }
22227
+ });
22193
22228
  };
22194
22229
  SelectFlagLocationComponent.prototype.onNext = function () {
22195
22230
  // Validate flag location selection
@@ -22224,9 +22259,12 @@
22224
22259
  // Return case flag field state and error messages to the parent
22225
22260
  this.caseFlagStateEmitter.emit({ currentCaseFlagFieldState: exports.CaseFlagFieldState.FLAG_TYPE, errorMessages: this.errorMessages });
22226
22261
  };
22262
+ SelectFlagLocationComponent.prototype.ngOnDestroy = function () {
22263
+ this.caseValidationErrorsSubscription$.unsubscribe();
22264
+ };
22227
22265
  return SelectFlagLocationComponent;
22228
22266
  }());
22229
- SelectFlagLocationComponent.ɵfac = function SelectFlagLocationComponent_Factory(t) { return new (t || SelectFlagLocationComponent)(); };
22267
+ SelectFlagLocationComponent.ɵfac = function SelectFlagLocationComponent_Factory(t) { return new (t || SelectFlagLocationComponent)(i0__namespace.ɵɵdirectiveInject(CaseEditDataService)); };
22230
22268
  SelectFlagLocationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SelectFlagLocationComponent, selectors: [["ccd-select-flag-location"]], inputs: { formGroup: "formGroup", flagsData: "flagsData" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 10, vars: 8, consts: [[1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "flag-location-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], ["id", "flag-location-heading", 1, "govuk-fieldset__heading"], ["id", "flag-location-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["class", "govuk-button-group", 4, "ngIf"], ["id", "flag-location-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [4, "ngIf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"]], template: function SelectFlagLocationComponent_Template(rf, ctx) {
22231
22269
  if (rf & 1) {
22232
22270
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -22267,7 +22305,7 @@
22267
22305
  selector: 'ccd-select-flag-location',
22268
22306
  templateUrl: './select-flag-location.component.html'
22269
22307
  }]
22270
- }], null, { formGroup: [{
22308
+ }], function () { return [{ type: CaseEditDataService }]; }, { formGroup: [{
22271
22309
  type: i0.Input
22272
22310
  }], flagsData: [{
22273
22311
  type: i0.Input