@hmcts/ccd-case-ui-toolkit 7.4.19 → 7.4.20-5452-rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1084,6 +1084,7 @@ declare class CaseTab implements Orderable {
1084
1084
  order?: number;
1085
1085
  fields: CaseField[];
1086
1086
  show_condition?: string;
1087
+ defaultFocus?: boolean;
1087
1088
  }
1088
1089
 
1089
1090
  declare class CasePrintDocument {
@@ -2294,9 +2295,7 @@ declare class FieldsUtils {
2294
2295
  static readonly SERVER_RESPONSE_FIELD_TYPE_COLLECTION = "Collection";
2295
2296
  static readonly SERVER_RESPONSE_FIELD_TYPE_COMPLEX = "Complex";
2296
2297
  static readonly SERVER_RESPONSE_FIELD_TYPE_DYNAMIC_LIST_TYPE: FieldTypeEnum[];
2297
- static readonly defaultTabList: {
2298
- PRLAPPS: string;
2299
- };
2298
+ static readonly defaultTabList: Record<string, string>;
2300
2299
  static isValidDisplayContext(ctx: string): boolean;
2301
2300
  static createToken(): string;
2302
2301
  static isTranslatable(fieldType: FieldType): boolean;
@@ -3815,6 +3814,7 @@ declare class WriteDocumentFieldComponent extends AbstractFieldWriteComponent im
3815
3814
  static readonly UPLOAD_ERROR_FILE_REQUIRED = "File required";
3816
3815
  static readonly UPLOAD_ERROR_NOT_AVAILABLE = "Document upload facility is not available at the moment";
3817
3816
  static readonly UPLOAD_ERROR_INVALID_FORMAT = "Document format is not supported";
3817
+ static readonly UPLOAD_ERROR_FILE_TOO_LARGE = "The selected file exceeds the permitted upload size. Please choose a smaller file or reduce the file size.";
3818
3818
  static readonly UPLOAD_WAITING_FILE_STATUS = "Uploading...";
3819
3819
  static readonly ERROR_UPLOADING_FILE = "Error Uploading File";
3820
3820
  fileInput: ElementRef;
@@ -5376,6 +5376,8 @@ declare class QueryListItem implements CaseMessage {
5376
5376
  messageIndexInParent?: number | null;
5377
5377
  get lastSubmittedMessage(): QueryListItem;
5378
5378
  get lastSubmittedBy(): string;
5379
+ get isLastSubmittedByHmctsStaff(): boolean;
5380
+ static isHmctsStaffUser(message: QueryListItem): boolean;
5379
5381
  get lastSubmittedDate(): Date;
5380
5382
  get lastResponseBy(): string;
5381
5383
  get lastResponseDate(): Date | null;
@@ -5445,6 +5447,8 @@ declare class QueryDetailsComponent implements OnChanges, OnInit, OnDestroy {
5445
5447
  constructor(sessionStorageService: SessionStorageService, route: ActivatedRoute, router: Router, abstractConfig: AbstractAppConfig, caseNotifier: CaseNotifier);
5446
5448
  onBack(): void;
5447
5449
  isInternalUser(): boolean;
5450
+ isJudiciaryUser(): boolean;
5451
+ isHmctsStaffUser(message: QueryListItem): boolean;
5448
5452
  ngOnInit(): void;
5449
5453
  ngOnChanges(): void;
5450
5454
  ngOnDestroy(): void;
@@ -5464,6 +5468,7 @@ declare class QueryListComponent implements OnChanges {
5464
5468
  sortTable(col: QueryListColumn): void;
5465
5469
  getAriaSortHeaderValue(col: QueryListColumn): 'ascending' | 'descending' | 'none';
5466
5470
  showDetails(query: any): void;
5471
+ isHmctsStaffUser(message: QueryListItem): boolean;
5467
5472
  private sort;
5468
5473
  private sortDate;
5469
5474
  static ɵfac: i0.ɵɵFactoryDeclaration<QueryListComponent, never>;