@hmcts/ccd-case-ui-toolkit 7.3.3-angular-20 → 7.3.5-angular-20

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
@@ -2438,106 +2438,6 @@ declare class FieldTypeSanitiser {
2438
2438
 
2439
2439
  declare class FormValueService {
2440
2440
  private readonly fieldTypeSanitiser;
2441
- /**
2442
- * Gets value of a field based on fieldKey which is a dot separated reference to value and collection index.
2443
- * There are two exceptions:
2444
- * 1) In case of a multiselect being identified as a leaf a '---LABEL' suffix is appended to the key and values of that key are returned
2445
- * form= { 'list': ['code1', 'code2'],
2446
- * 'list---LABEL': ['label1', 'label2'] },
2447
- * fieldKey=list,
2448
- * colIndex=0,
2449
- * value=label1, label2
2450
- * 2) In case of a collection of simple fields is identified as a leaf all values are joined seperated by a comma
2451
- * form= { 'collection': [{ 'value': 'value1' }, { 'value': 'value2' }] }
2452
- * fieldKey=collection
2453
- * colIndex=1
2454
- * value=value1, value2
2455
- *
2456
- * Other examples:
2457
- * 1) simple field reference: form={ 'PersonFirstName': 'John' }, fieldKey=PersonFirstName, value=John
2458
- * 2) complex field reference:
2459
- * form= { complex1': { 'simple11': 'value11', 'simple12': 'value12', 'complex2': { 'simple21': 'value21' } }},
2460
- * fieldKey=complex1.complex2.simple21
2461
- * colIndex=0,
2462
- * value=value21
2463
- * 3) complex field with collection field with complex field reference:
2464
- * form= { 'complex1': {
2465
- * 'collection1': [
2466
- * { 'value': {
2467
- * 'complex2': {
2468
- * 'simple1': 'value1',
2469
- * 'complex3': {
2470
- * 'complex4': {
2471
- * 'simple2': 'value12'
2472
- * }
2473
- * }
2474
- * }
2475
- * }
2476
- * },
2477
- * { 'value': {
2478
- * 'complex2': {
2479
- * 'simple1': 'value2',
2480
- * 'complex3': {
2481
- * 'complex4': {
2482
- * 'simple2': 'value21'
2483
- * }
2484
- * }
2485
- * }
2486
- * }
2487
- * },
2488
- * { 'value': {
2489
- * 'complex2': {
2490
- * 'simple1': 'value3',
2491
- * 'complex3': {
2492
- * 'complex4': {
2493
- * 'simple2': 'value31'
2494
- * }
2495
- * }
2496
- * }
2497
- * }
2498
- * }
2499
- * ]}}
2500
- * fieldKey=complex1.collection1.complex2.complex3.complex4.simple2
2501
- * colIndex=2,
2502
- * value=value21
2503
- * 4) collection of complex types
2504
- * form= { 'collection1': [
2505
- * { 'value': {'complex1': {
2506
- * 'simple1': 'value11',
2507
- * 'complex2': {
2508
- * 'complex3': {
2509
- * 'simple2': 'value12'
2510
- * }
2511
- * }
2512
- * }}
2513
- * },
2514
- * { 'value': {'complex1': {
2515
- * 'simple1': 'value21',
2516
- * 'complex2': {
2517
- * 'complex3': {
2518
- * 'simple2': 'value22'
2519
- * }
2520
- * }
2521
- * }}
2522
- * },
2523
- * { 'value': {'complex1': {
2524
- * 'simple1': 'value31',
2525
- * 'complex2': {
2526
- * 'complex3': {
2527
- * 'simple2': 'value32'
2528
- * }
2529
- * }
2530
- * }}
2531
- * }
2532
- * ]}
2533
- * fieldKey=collection1.complex1.complex2.complex3.simple2
2534
- * colIndex=2
2535
- * value=value32
2536
- *
2537
- * If key is pointing at a complex or collection leaf (not simple, collection of simple or multiselect types) then undefined is returned.
2538
- * Also no key referring a leaf that is contained within collection will contain index number. The index is passed as an argument to the
2539
- * method.
2540
- */
2541
2441
  static getFieldValue(form: any, fieldKey: any, colIndex: any): any;
2542
2442
  /**
2543
2443
  * A recursive method to remove anything with a `---LABEL` suffix.
@@ -5339,6 +5239,8 @@ declare class QualifyingQuestionOptionsComponent implements OnInit {
5339
5239
  questionSelected: EventEmitter<QualifyingQuestion>;
5340
5240
  qualifyingQuestionsErrorMessage: typeof QualifyingQuestionsErrorMessage;
5341
5241
  caseId: string;
5242
+ jurisdiction: string;
5243
+ caseType: string;
5342
5244
  constructor(route: ActivatedRoute, router: Router, qualifyingQuestionService: QualifyingQuestionService);
5343
5245
  ngOnInit(): void;
5344
5246
  click(): void;
@@ -5376,6 +5278,8 @@ declare class QueryConfirmationComponent implements OnInit {
5376
5278
  [key: string]: string;
5377
5279
  };
5378
5280
  caseId: string;
5281
+ jurisdiction: string;
5282
+ caseType: string;
5379
5283
  queryCreateContextEnum: typeof QueryCreateContext;
5380
5284
  constructor(route: ActivatedRoute);
5381
5285
  ngOnInit(): void;
@@ -5420,6 +5324,8 @@ declare class CaseEventCompletionTaskCancelledComponent implements OnInit {
5420
5324
  context: EventCompletionStateMachineContext;
5421
5325
  notifyEventCompletionCancelled: EventEmitter<boolean>;
5422
5326
  caseId: string;
5327
+ jurisdiction: string;
5328
+ caseType: string;
5423
5329
  ngOnInit(): void;
5424
5330
  onContinue(): void;
5425
5331
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseEventCompletionTaskCancelledComponent, never>;
@@ -5438,6 +5344,8 @@ declare class CaseEventCompletionTaskReassignedComponent implements OnInit, OnDe
5438
5344
  subscription: Subscription;
5439
5345
  caseworkerSubscription: Subscription;
5440
5346
  judicialworkerSubscription: Subscription;
5347
+ jurisdiction: string;
5348
+ caseType: string;
5441
5349
  constructor(sessionStorageService: SessionStorageService, judicialworkerService: JudicialworkerService, caseworkerService: CaseworkerService);
5442
5350
  ngOnInit(): void;
5443
5351
  ngOnDestroy(): void;
@@ -6459,7 +6367,6 @@ declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
6459
6367
  private readonly formValidatorsService;
6460
6368
  private readonly caseFlagStateService;
6461
6369
  private readonly linkedCasesService;
6462
- private readonly router;
6463
6370
  eventTrigger: CaseEventTrigger;
6464
6371
  editForm: FormGroup;
6465
6372
  triggerText: string;
@@ -6479,7 +6386,7 @@ declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
6479
6386
  eventDescriptionLabel: string;
6480
6387
  static readonly SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION: (a: CaseField, b: CaseField) => number;
6481
6388
  get isDisabled(): boolean;
6482
- constructor(caseEdit: CaseEditComponent, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, orderService: OrderService, profileNotifier: ProfileNotifier, multipageComponentStateService: MultipageComponentStateService, formValidatorsService: FormValidatorsService, caseFlagStateService: CaseFlagStateService, linkedCasesService: LinkedCasesService, router: Router);
6389
+ constructor(caseEdit: CaseEditComponent, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, orderService: OrderService, profileNotifier: ProfileNotifier, multipageComponentStateService: MultipageComponentStateService, formValidatorsService: FormValidatorsService, caseFlagStateService: CaseFlagStateService, linkedCasesService: LinkedCasesService);
6483
6390
  ngOnInit(): void;
6484
6391
  ngOnDestroy(): void;
6485
6392
  submit(): void;
@@ -6509,7 +6416,6 @@ declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
6509
6416
  getCaseId(): string;
6510
6417
  getCaseTitle(): string;
6511
6418
  getCancelText(): string;
6512
- private redirectIfFormEmpty;
6513
6419
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseEditSubmitComponent, never>;
6514
6420
  static ɵcmp: i0.ɵɵComponentDeclaration<CaseEditSubmitComponent, "ccd-case-edit-submit", never, {}, {}, never, never, false, never>;
6515
6421
  }
@@ -6899,13 +6805,14 @@ declare class EventTriggerResolver implements Resolve<CaseEventTrigger> {
6899
6805
  private appConfig;
6900
6806
  private errorNotifier;
6901
6807
  private readonly loadingService;
6808
+ private readonly sessionStorageService;
6902
6809
  static readonly PARAM_CASE_ID = "cid";
6903
6810
  static readonly PARAM_EVENT_ID = "eid";
6904
6811
  static readonly IGNORE_WARNING = "ignoreWarning";
6905
6812
  private static readonly IGNORE_WARNING_VALUES;
6906
6813
  private cachedEventTrigger;
6907
6814
  private cachedProfile;
6908
- constructor(casesService: CasesService, alertService: AlertService, profileService: ProfileService, profileNotifier: ProfileNotifier, router: Router, appConfig: AbstractAppConfig, errorNotifier: ErrorNotifierService, loadingService: LoadingService);
6815
+ constructor(casesService: CasesService, alertService: AlertService, profileService: ProfileService, profileNotifier: ProfileNotifier, router: Router, appConfig: AbstractAppConfig, errorNotifier: ErrorNotifierService, loadingService: LoadingService, sessionStorageService: SessionStorageService);
6909
6816
  resolve(route: ActivatedRouteSnapshot): Promise<CaseEventTrigger>;
6910
6817
  private isRootTriggerEventRoute;
6911
6818
  resetCachedEventTrigger(): void;
@@ -6962,6 +6869,7 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
6962
6869
  submit(): (sanitizedEditForm: CaseEventData) => Observable<object>;
6963
6870
  validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable<object>;
6964
6871
  submitted(event: any): void;
6872
+ private getNavigationUrl;
6965
6873
  cancel(): Promise<boolean>;
6966
6874
  isDataLoaded(): boolean;
6967
6875
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseEventTriggerComponent, never>;
@@ -7067,6 +6975,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7067
6975
  constructor(ngZone: NgZone, route: ActivatedRoute, router: Router, navigationNotifierService: NavigationNotifierService, orderService: OrderService, activityPollingService: ActivityPollingService, dialog: MatLegacyDialog, alertService: AlertService, draftService: DraftService, errorNotifierService: ErrorNotifierService, convertHrefToRouterService: ConvertHrefToRouterService, location: Location$1, crf: ChangeDetectorRef, sessionStorageService: SessionStorageService, rpxTranslationPipe: RpxTranslatePipe, loadingService: LoadingService, linkedCasesService: LinkedCasesService, caseFlagStateService: CaseFlagStateService);
7068
6976
  ngOnInit(): void;
7069
6977
  ngOnChanges(changes: SimpleChanges): void;
6978
+ private setCaseInfo;
7070
6979
  isPrintEnabled(): boolean;
7071
6980
  ngOnDestroy(): void;
7072
6981
  unsubscribe(subscription: any): void;
@@ -7292,6 +7201,8 @@ interface RequestAccessDetails {
7292
7201
  declare class CaseChallengedAccessSuccessComponent implements OnInit {
7293
7202
  private readonly route;
7294
7203
  caseId: string;
7204
+ jurisdiction: string;
7205
+ caseType: string;
7295
7206
  constructor(route: ActivatedRoute);
7296
7207
  ngOnInit(): void;
7297
7208
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseChallengedAccessSuccessComponent, never>;
@@ -7310,6 +7221,8 @@ declare class CaseSpecificAccessSuccessComponent implements OnInit {
7310
7221
  declare class CaseReviewSpecificAccessRejectComponent implements OnInit {
7311
7222
  private readonly route;
7312
7223
  caseId: string;
7224
+ jurisdiction: string;
7225
+ caseType: string;
7313
7226
  readonly retunToTask = "Return to the Tasks tab for this case";
7314
7227
  readonly returnToMyTask = "Return to My tasks";
7315
7228
  constructor(route: ActivatedRoute);
@@ -7384,6 +7297,8 @@ declare class MultipleTasksExistComponent implements OnInit {
7384
7297
  private readonly route;
7385
7298
  private readonly loadingService;
7386
7299
  caseId: string;
7300
+ jurisdiction: string;
7301
+ caseType: string;
7387
7302
  constructor(route: ActivatedRoute, loadingService: LoadingService);
7388
7303
  ngOnInit(): void;
7389
7304
  static ɵfac: i0.ɵɵFactoryDeclaration<MultipleTasksExistComponent, never>;
@@ -7393,6 +7308,8 @@ declare class MultipleTasksExistComponent implements OnInit {
7393
7308
  declare class NoTasksAvailableComponent {
7394
7309
  private readonly route;
7395
7310
  caseId: string;
7311
+ jurisdiction: string;
7312
+ caseType: string;
7396
7313
  constructor(route: ActivatedRoute);
7397
7314
  static ɵfac: i0.ɵɵFactoryDeclaration<NoTasksAvailableComponent, never>;
7398
7315
  static ɵcmp: i0.ɵɵComponentDeclaration<NoTasksAvailableComponent, "app-no-tasks-available", never, {}, {}, never, never, false, never>;
@@ -7404,6 +7321,8 @@ declare class TaskAssignedComponent implements OnInit, OnDestroy {
7404
7321
  private readonly caseworkerService;
7405
7322
  task: Task;
7406
7323
  caseId: string;
7324
+ jurisdiction: string;
7325
+ caseType: string;
7407
7326
  assignedUserName: string;
7408
7327
  caseworkerSubscription: Subscription;
7409
7328
  judicialworkerSubscription: Subscription;
@@ -7430,6 +7349,8 @@ declare class TaskConflictComponent {
7430
7349
  declare class TaskUnassignedComponent {
7431
7350
  private readonly route;
7432
7351
  caseId: string;
7352
+ jurisdiction: string;
7353
+ caseType: string;
7433
7354
  constructor(route: ActivatedRoute);
7434
7355
  static ɵfac: i0.ɵɵFactoryDeclaration<TaskUnassignedComponent, never>;
7435
7356
  static ɵcmp: i0.ɵɵComponentDeclaration<TaskUnassignedComponent, "app-task-unassigned", never, {}, {}, never, never, false, never>;