@hmcts/ccd-case-ui-toolkit 7.3.77 → 7.3.78

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
@@ -2697,6 +2697,10 @@ declare class RequestOptionsBuilder {
2697
2697
  * @param value The value to be assessed.
2698
2698
  */
2699
2699
  private static includeParam;
2700
+ private static sanitiseValue;
2701
+ private static getValueByPath;
2702
+ private static getCollectionValues;
2703
+ private static appendParam;
2700
2704
  buildOptions(metaCriteria: object, caseCriteria: object, view?: SearchView): OptionsType;
2701
2705
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestOptionsBuilder, never>;
2702
2706
  static ɵprov: i0.ɵɵInjectableDeclaration<RequestOptionsBuilder>;
@@ -4183,20 +4187,16 @@ interface Caseworker {
4183
4187
  idamId: string;
4184
4188
  email: string;
4185
4189
  location: Location;
4186
- roleCategory: string;
4190
+ roleCategories: string[];
4187
4191
  service?: string;
4188
4192
  }
4189
- interface CaseworkersByService {
4190
- service: string;
4191
- caseworkers: Caseworker[];
4192
- }
4193
4193
 
4194
4194
  declare class CaseworkerService {
4195
4195
  private readonly http;
4196
4196
  private readonly appConfig;
4197
4197
  private readonly errorService;
4198
4198
  constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
4199
- getCaseworkers(serviceId: any): Observable<CaseworkersByService[]>;
4199
+ getUserByIdamId(idamId: string): Observable<Caseworker>;
4200
4200
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseworkerService, never>;
4201
4201
  static ɵprov: i0.ɵɵInjectableDeclaration<CaseworkerService>;
4202
4202
  }
@@ -5783,7 +5783,7 @@ declare class LabelSubstitutorDirective implements OnInit, OnDestroy {
5783
5783
  private readonly rpxTranslationService;
5784
5784
  caseField: CaseField;
5785
5785
  contextFields: CaseField[];
5786
- formGroup: FormGroup;
5786
+ formGroup: FormGroup | AbstractControl | undefined;
5787
5787
  elementsToSubstitute: string[];
5788
5788
  private initialLabel;
5789
5789
  private initialHintText;
@@ -6433,6 +6433,8 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6433
6433
  saveDraftSub: Subscription;
6434
6434
  caseFormValidationErrorsSub: Subscription;
6435
6435
  private readonly logger;
6436
+ private readonly fieldsUtils;
6437
+ private readonly placeholderService;
6436
6438
  private readonly caseEditFormComponents;
6437
6439
  private static scrollToTop;
6438
6440
  constructor(caseEdit: CaseEditComponent, route: ActivatedRoute, formValueService: FormValueService, formErrorService: FormErrorService, cdRef: ChangeDetectorRef, pageValidationService: PageValidationService, dialog: MatLegacyDialog, caseFieldService: CaseFieldService, caseEditDataService: CaseEditDataService, loadingService: LoadingService, validPageListCaseFieldsService: ValidPageListCaseFieldsService, multipageComponentStateService: MultipageComponentStateService, addressService: AddressesService, linkedCasesService: LinkedCasesService, caseFlagStateService: CaseFlagStateService, focusService: FocusService);
@@ -6500,6 +6502,8 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6500
6502
  getRpxTranslatePipeArgs(fieldLabel: string): {
6501
6503
  FIELDLABEL: string;
6502
6504
  } | null;
6505
+ private getInterpolatedFieldLabel;
6506
+ private resolveLabelPlaceholders;
6503
6507
  onEventCanBeCompleted(eventCanBeCompleted: boolean): void;
6504
6508
  private removeAllJudicialUserFormControls;
6505
6509
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseEditPageComponent, never>;
@@ -6665,8 +6669,8 @@ declare class CaseAccessUtils {
6665
6669
  static readonly CTSC_ROLE = "ctsc";
6666
6670
  static readonly CTSC_ROLE_CATEGORY = "CTSC";
6667
6671
  static readonly CTSC_ROLE_NAME = "ctsc";
6668
- getMappedRoleCategory(roles?: string[], roleCategories?: string[]): RoleCategory;
6669
- roleOrCategoryExists(roleKeyword: string, roleCategory: string, roleKeywords: string[], roleCategories: string[]): boolean;
6672
+ getMappedRoleCategories(roles?: string[]): RoleCategory[];
6673
+ roleHasKeyword(keyword: string, roleWords: string[]): boolean;
6670
6674
  getAMRoleName(accessType: string, aMRole: RoleCategory): string;
6671
6675
  getAMPayload(assignerId: string, actorId: string, roleName: string, roleCategory: RoleCategory, grantType: RoleGrantTypeCategory, caseId: string, details: ChallengedAccessRequest | SpecificAccessRequest, beginTime?: Date, endTime?: Date, isNew?: boolean): RoleRequestPayload;
6672
6676
  }
@@ -6824,7 +6828,7 @@ declare class WorkbasketFiltersComponent implements OnInit {
6824
6828
  reset(): void;
6825
6829
  getMetadataFields(): string[];
6826
6830
  onJurisdictionIdChange(): void;
6827
- onCaseTypeIdChange(): void;
6831
+ onCaseTypeIdChange(clearStoredValues?: boolean): void;
6828
6832
  isCaseTypesDropdownDisabled(): boolean;
6829
6833
  isCaseStatesDropdownDisabled(): boolean;
6830
6834
  isApplyButtonDisabled(): boolean;
@@ -6850,6 +6854,7 @@ declare class WorkbasketFiltersComponent implements OnInit {
6850
6854
  private selectCaseTypeIdFromQueryOrDefaults;
6851
6855
  private resetFieldsWhenNoDefaults;
6852
6856
  private clearWorkbasketInputs;
6857
+ private clearStoredWorkbasketFilterValues;
6853
6858
  private resetCaseState;
6854
6859
  private resetCaseType;
6855
6860
  private setFocusToTop;