@hmcts/ccd-case-ui-toolkit 7.3.41 → 7.3.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -6420,6 +6420,7 @@ declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
6420
6420
  private readonly formValidatorsService;
6421
6421
  private readonly caseFlagStateService;
6422
6422
  private readonly linkedCasesService;
6423
+ private readonly placeholderService;
6423
6424
  eventTrigger: CaseEventTrigger;
6424
6425
  editForm: FormGroup;
6425
6426
  triggerText: string;
@@ -6437,9 +6438,10 @@ declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
6437
6438
  description: AbstractControl;
6438
6439
  eventSummaryLabel: string;
6439
6440
  eventDescriptionLabel: string;
6441
+ PLACEHOLDER_PATTERN: RegExp;
6440
6442
  static readonly SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION: (a: CaseField, b: CaseField) => number;
6441
6443
  get isDisabled(): boolean;
6442
- constructor(caseEdit: CaseEditComponent, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, orderService: OrderService, profileNotifier: ProfileNotifier, multipageComponentStateService: MultipageComponentStateService, formValidatorsService: FormValidatorsService, caseFlagStateService: CaseFlagStateService, linkedCasesService: LinkedCasesService);
6444
+ constructor(caseEdit: CaseEditComponent, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, orderService: OrderService, profileNotifier: ProfileNotifier, multipageComponentStateService: MultipageComponentStateService, formValidatorsService: FormValidatorsService, caseFlagStateService: CaseFlagStateService, linkedCasesService: LinkedCasesService, placeholderService: PlaceholderService);
6443
6445
  ngOnInit(): void;
6444
6446
  ngOnDestroy(): void;
6445
6447
  submit(): void;
@@ -6469,6 +6471,9 @@ declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
6469
6471
  getCaseId(): string;
6470
6472
  getCaseTitle(): string;
6471
6473
  getCancelText(): string;
6474
+ private hasUnresolvedPlaceholder;
6475
+ private interpolateButtonText;
6476
+ private resolvePlaceholders;
6472
6477
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseEditSubmitComponent, never>;
6473
6478
  static ɵcmp: i0.ɵɵComponentDeclaration<CaseEditSubmitComponent, "ccd-case-edit-submit", never, {}, {}, never, never, false, never>;
6474
6479
  }