@hmcts/ccd-case-ui-toolkit 5.0.34-case-file-view-merge-into-angular-11 → 5.0.38-case-flags-table-alignment

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 (22) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +38 -44
  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/shared/components/palette/case-link/components/write-linked-cases.component.js +1 -1
  6. package/esm2015/lib/shared/components/palette/case-link/services/linked-cases.service.js +5 -7
  7. package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +15 -3
  8. package/esm2015/lib/shared/domain/definition/jurisdiction.model.js +1 -1
  9. package/esm2015/lib/shared/services/jurisdiction/jurisdiction.service.js +4 -1
  10. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +38 -41
  11. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  12. package/lib/shared/components/palette/case-link/components/write-linked-cases.component.d.ts.map +1 -1
  13. package/lib/shared/components/palette/case-link/services/linked-cases.service.d.ts +1 -2
  14. package/lib/shared/components/palette/case-link/services/linked-cases.service.d.ts.map +1 -1
  15. package/lib/shared/components/palette/utils/is-compound.pipe.d.ts.map +1 -1
  16. package/lib/shared/domain/definition/jurisdiction.model.d.ts.map +1 -1
  17. package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts +2 -1
  18. package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts.map +1 -1
  19. package/package.json +1 -1
  20. package/esm2015/lib/shared/components/palette/case-link/services/jurisdiction.service.js +0 -22
  21. package/lib/shared/components/palette/case-link/services/jurisdiction.service.d.ts +0 -12
  22. package/lib/shared/components/palette/case-link/services/jurisdiction.service.d.ts.map +0 -1
@@ -3047,10 +3047,22 @@
3047
3047
  return IsCompoundPipe;
3048
3048
  }());
3049
3049
  IsCompoundPipe.COMPOUND_TYPES = [
3050
- 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay', 'ComponentLauncher'
3050
+ 'Complex',
3051
+ 'Label',
3052
+ 'AddressGlobal',
3053
+ 'AddressUK',
3054
+ 'AddressGlobalUK',
3055
+ 'CasePaymentHistoryViewer',
3056
+ 'CaseHistoryViewer',
3057
+ 'Organisation',
3058
+ 'WaysToPay',
3059
+ 'ComponentLauncher',
3060
+ 'FlagLauncher',
3061
+ 'CaseFlag'
3051
3062
  ];
3052
3063
  IsCompoundPipe.EXCLUDE = [
3053
- 'CaseLink', 'JudicialUser'
3064
+ 'CaseLink',
3065
+ 'JudicialUser'
3054
3066
  ];
3055
3067
  IsCompoundPipe.ɵfac = function IsCompoundPipe_Factory(t) { return new (t || IsCompoundPipe)(); };
3056
3068
  IsCompoundPipe.ɵpipe = i0__namespace.ɵɵdefinePipe({ name: "ccdIsCompound", type: IsCompoundPipe, pure: true });
@@ -7216,12 +7228,15 @@
7216
7228
  }], null, null);
7217
7229
  })();
7218
7230
 
7219
- var JurisdictionService$1 = /** @class */ (function () {
7231
+ var JurisdictionService = /** @class */ (function () {
7220
7232
  function JurisdictionService(httpService) {
7221
7233
  this.httpService = httpService;
7222
7234
  this.selectedJurisdictionSource = new rxjs.Subject();
7223
7235
  this.selectedJurisdiction = this.selectedJurisdictionSource.asObservable();
7224
7236
  }
7237
+ JurisdictionService.prototype.getJurisdictions = function () {
7238
+ return this.httpService.get('/aggregated/caseworkers/:uid/jurisdictions?access=read');
7239
+ };
7225
7240
  JurisdictionService.prototype.announceSelectedJurisdiction = function (jurisdiction) {
7226
7241
  this.selectedJurisdictionSource.next(jurisdiction);
7227
7242
  };
@@ -7233,10 +7248,10 @@
7233
7248
  };
7234
7249
  return JurisdictionService;
7235
7250
  }());
7236
- JurisdictionService$1.ɵfac = function JurisdictionService_Factory(t) { return new (t || JurisdictionService$1)(i0__namespace.ɵɵinject(HttpService)); };
7237
- JurisdictionService$1.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: JurisdictionService$1, factory: JurisdictionService$1.ɵfac });
7251
+ JurisdictionService.ɵfac = function JurisdictionService_Factory(t) { return new (t || JurisdictionService)(i0__namespace.ɵɵinject(HttpService)); };
7252
+ JurisdictionService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: JurisdictionService, factory: JurisdictionService.ɵfac });
7238
7253
  (function () {
7239
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(JurisdictionService$1, [{
7254
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(JurisdictionService, [{
7240
7255
  type: i0.Injectable
7241
7256
  }], function () { return [{ type: HttpService }]; }, null);
7242
7257
  })();
@@ -11295,27 +11310,6 @@
11295
11310
  }], null, null);
11296
11311
  })();
11297
11312
 
11298
- var JurisdictionService = /** @class */ (function () {
11299
- function JurisdictionService(http) {
11300
- this.http = http;
11301
- }
11302
- JurisdictionService.prototype.getJurisdictions = function () {
11303
- var headers = new i1$2.HttpHeaders({
11304
- 'Content-Type': 'application/json',
11305
- Accept: 'application/json'
11306
- });
11307
- return this.http.get('/aggregated/caseworkers/:uid/jurisdictions?access=read', { headers: headers });
11308
- };
11309
- return JurisdictionService;
11310
- }());
11311
- JurisdictionService.ɵfac = function JurisdictionService_Factory(t) { return new (t || JurisdictionService)(i0__namespace.ɵɵinject(i1__namespace$2.HttpClient)); };
11312
- JurisdictionService.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: JurisdictionService, factory: JurisdictionService.ɵfac });
11313
- (function () {
11314
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(JurisdictionService, [{
11315
- type: i0.Injectable
11316
- }], function () { return [{ type: i1__namespace$2.HttpClient }]; }, null);
11317
- })();
11318
-
11319
11313
  var LinkedCasesService = /** @class */ (function () {
11320
11314
  function LinkedCasesService(jurisdictionService, searchService) {
11321
11315
  var _this = this;
@@ -15608,7 +15602,7 @@
15608
15602
  };
15609
15603
  return ReadJudicialUserFieldComponent;
15610
15604
  }(AbstractFieldReadComponent));
15611
- ReadJudicialUserFieldComponent.ɵfac = function ReadJudicialUserFieldComponent_Factory(t) { return new (t || ReadJudicialUserFieldComponent)(i0__namespace.ɵɵdirectiveInject(JurisdictionService$1)); };
15605
+ ReadJudicialUserFieldComponent.ɵfac = function ReadJudicialUserFieldComponent_Factory(t) { return new (t || ReadJudicialUserFieldComponent)(i0__namespace.ɵɵdirectiveInject(JurisdictionService)); };
15612
15606
  ReadJudicialUserFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadJudicialUserFieldComponent, selectors: [["ccd-read-judicial-user-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "text-16", 4, "ngIf"], [1, "text-16"]], template: function ReadJudicialUserFieldComponent_Template(rf, ctx) {
15613
15607
  if (rf & 1) {
15614
15608
  i0__namespace.ɵɵtemplate(0, ReadJudicialUserFieldComponent_span_0_Template, 2, 2, "span", 0);
@@ -15624,7 +15618,7 @@
15624
15618
  selector: 'ccd-read-judicial-user-field',
15625
15619
  templateUrl: './read-judicial-user-field.component.html'
15626
15620
  }]
15627
- }], function () { return [{ type: JurisdictionService$1 }]; }, null);
15621
+ }], function () { return [{ type: JurisdictionService }]; }, null);
15628
15622
  })();
15629
15623
 
15630
15624
  function WriteJudicialUserFieldComponent_span_2_Template(rf, ctx) {
@@ -15717,7 +15711,7 @@
15717
15711
  };
15718
15712
  return WriteJudicialUserFieldComponent;
15719
15713
  }(AbstractFieldWriteComponent));
15720
- WriteJudicialUserFieldComponent.ɵfac = function WriteJudicialUserFieldComponent_Factory(t) { return new (t || WriteJudicialUserFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(JurisdictionService$1)); };
15714
+ WriteJudicialUserFieldComponent.ɵfac = function WriteJudicialUserFieldComponent_Factory(t) { return new (t || WriteJudicialUserFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(JurisdictionService)); };
15721
15715
  WriteJudicialUserFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteJudicialUserFieldComponent, selectors: [["ccd-write-judicial-user-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 9, vars: 9, consts: [[1, "form-group", 3, "formGroup"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], [1, "form-control", "bottom-30", 3, "id", "formControl", "matAutocomplete"], ["autoActiveFirstOption", ""], ["autoComplete", "matAutocomplete"], ["class", "select-option", 3, "ngClass", "value", "onSelectionChange", 4, "ngFor", "ngForOf"], ["class", "select-option", 4, "ngIf"], [1, "form-label"], [1, "form-hint"], [1, "select-option", 3, "ngClass", "value", "onSelectionChange"], [1, "select-option"]], template: function WriteJudicialUserFieldComponent_Template(rf, ctx) {
15722
15716
  if (rf & 1) {
15723
15717
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -15757,7 +15751,7 @@
15757
15751
  styleUrls: ['./write-judicial-user-field.component.scss'],
15758
15752
  templateUrl: './write-judicial-user-field.component.html'
15759
15753
  }]
15760
- }], function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: i0__namespace.ChangeDetectorRef }, { type: JurisdictionService$1 }]; }, null);
15754
+ }], function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: i0__namespace.ChangeDetectorRef }, { type: JurisdictionService }]; }, null);
15761
15755
  })();
15762
15756
 
15763
15757
  var LabelFieldComponent = /** @class */ (function () {
@@ -25047,7 +25041,7 @@
25047
25041
  WindowService,
25048
25042
  LinkedCasesService,
25049
25043
  CommonDataService,
25050
- JurisdictionService$1,
25044
+ JurisdictionService,
25051
25045
  { provide: i6.MAT_DATE_LOCALE, useValue: 'en-GB' }
25052
25046
  ], imports: [[
25053
25047
  i1.CommonModule,
@@ -25372,7 +25366,7 @@
25372
25366
  WindowService,
25373
25367
  LinkedCasesService,
25374
25368
  CommonDataService,
25375
- JurisdictionService$1,
25369
+ JurisdictionService,
25376
25370
  { provide: i6.MAT_DATE_LOCALE, useValue: 'en-GB' }
25377
25371
  ],
25378
25372
  entryComponents: [CaseFileViewFolderSelectorComponent]
@@ -28246,7 +28240,7 @@
28246
28240
  WorkbasketFiltersComponent.PARAM_JURISDICTION = 'jurisdiction';
28247
28241
  WorkbasketFiltersComponent.PARAM_CASE_TYPE = 'case-type';
28248
28242
  WorkbasketFiltersComponent.PARAM_CASE_STATE = 'case-state';
28249
- WorkbasketFiltersComponent.ɵfac = function WorkbasketFiltersComponent_Factory(t) { return new (t || WorkbasketFiltersComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(WorkbasketInputFilterService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(JurisdictionService$1), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(WindowService)); };
28243
+ WorkbasketFiltersComponent.ɵfac = function WorkbasketFiltersComponent_Factory(t) { return new (t || WorkbasketFiltersComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(WorkbasketInputFilterService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(JurisdictionService), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(WindowService)); };
28250
28244
  WorkbasketFiltersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls: 28, vars: 13, consts: [["aria-label", "Filters", 1, "heading-h2"], [1, "global-display"], [1, "form-group"], ["for", "wb-jurisdiction", 1, "form-label"], ["id", "wb-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModel", "ngModelChange", "change"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["for", "wb-case-type", 1, "form-label"], ["id", "wb-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModel", "disabled", "ngModelChange", "change"], ["for", "wb-case-state", 1, "form-label"], ["id", "wb-case-state", "name", "state", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModel", "disabled", "ngModelChange"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", "title", "Apply filter", "aria-label", "Apply filter", 1, "button", "workbasket-filters-apply", 3, "disabled", "click"], ["type", "button", "title", "Reset filter", "aria-label", "Reset filter", 1, "button", "button-secondary", 3, "click"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "caseField", "formGroup", "isExpanded", "isInSearchBlock", "keyup.enter"]], template: function WorkbasketFiltersComponent_Template(rf, ctx) {
28251
28245
  if (rf & 1) {
28252
28246
  i0__namespace.ɵɵelementStart(0, "h2", 0);
@@ -28330,7 +28324,7 @@
28330
28324
  templateUrl: './workbasket-filters.component.html',
28331
28325
  styleUrls: ['./workbasket-filters.component.scss']
28332
28326
  }]
28333
- }], function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService$1 }, { type: AlertService }, { type: WindowService }]; }, { jurisdictions: [{
28327
+ }], function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }]; }, { jurisdictions: [{
28334
28328
  type: i0.Input
28335
28329
  }], defaults: [{
28336
28330
  type: i0.Input
@@ -28351,7 +28345,7 @@
28351
28345
  WorkbasketFiltersModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
28352
28346
  WorkbasketInputFilterService,
28353
28347
  OrderService,
28354
- JurisdictionService$1,
28348
+ JurisdictionService,
28355
28349
  AlertService,
28356
28350
  WindowService,
28357
28351
  ], imports: [[
@@ -28388,7 +28382,7 @@
28388
28382
  providers: [
28389
28383
  WorkbasketInputFilterService,
28390
28384
  OrderService,
28391
- JurisdictionService$1,
28385
+ JurisdictionService,
28392
28386
  AlertService,
28393
28387
  WindowService,
28394
28388
  ]
@@ -28471,7 +28465,7 @@
28471
28465
  CaseListFiltersModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
28472
28466
  WorkbasketInputFilterService,
28473
28467
  OrderService,
28474
- JurisdictionService$1,
28468
+ JurisdictionService,
28475
28469
  AlertService,
28476
28470
  WindowService
28477
28471
  ], imports: [[
@@ -28511,7 +28505,7 @@
28511
28505
  providers: [
28512
28506
  WorkbasketInputFilterService,
28513
28507
  OrderService,
28514
- JurisdictionService$1,
28508
+ JurisdictionService,
28515
28509
  AlertService,
28516
28510
  WindowService
28517
28511
  ]
@@ -33652,7 +33646,7 @@
33652
33646
  };
33653
33647
  return SearchFiltersComponent;
33654
33648
  }());
33655
- SearchFiltersComponent.ɵfac = function SearchFiltersComponent_Factory(t) { return new (t || SearchFiltersComponent)(i0__namespace.ɵɵdirectiveInject(SearchService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(JurisdictionService$1), i0__namespace.ɵɵdirectiveInject(WindowService)); };
33649
+ SearchFiltersComponent.ɵfac = function SearchFiltersComponent_Factory(t) { return new (t || SearchFiltersComponent)(i0__namespace.ɵɵdirectiveInject(SearchService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(JurisdictionService), i0__namespace.ɵɵdirectiveInject(WindowService)); };
33656
33650
  SearchFiltersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: SearchFiltersComponent, selectors: [["ccd-search-filters"]], inputs: { jurisdictions: "jurisdictions", autoApply: "autoApply" }, outputs: { onApply: "onApply", onReset: "onReset", onJurisdiction: "onJurisdiction" }, decls: 19, vars: 7, consts: [["aria-label", "Filters", 1, "heading-h2"], [1, "global-display"], [1, "form-group", 2, "margin-top", "13px"], ["for", "s-jurisdiction", 1, "form-label"], ["id", "s-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModel", "ngModelChange", "change"], [3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-group"], ["for", "s-case-type", 1, "form-label"], ["id", "s-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "disabled", "ngModel", "ngModelChange", "change"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", "title", "Apply filter", "aria-label", "Apply filter", 1, "button", 3, "disabled", "click", "keyup.enter"], ["id", "reset", "type", "button", "title", "Reset filter", "aria-label", "Reset filter", 1, "button", "button-secondary", 3, "click"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "caseField", "formGroup", "isExpanded", "keyup.enter"]], template: function SearchFiltersComponent_Template(rf, ctx) {
33657
33651
  if (rf & 1) {
33658
33652
  i0__namespace.ɵɵelementStart(0, "h2", 0);
@@ -33711,7 +33705,7 @@
33711
33705
  selector: 'ccd-search-filters',
33712
33706
  templateUrl: './search-filters.component.html',
33713
33707
  }]
33714
- }], function () { return [{ type: SearchService }, { type: OrderService }, { type: JurisdictionService$1 }, { type: WindowService }]; }, { jurisdictions: [{
33708
+ }], function () { return [{ type: SearchService }, { type: OrderService }, { type: JurisdictionService }, { type: WindowService }]; }, { jurisdictions: [{
33715
33709
  type: i0.Input
33716
33710
  }], autoApply: [{
33717
33711
  type: i0.Input
@@ -33800,7 +33794,7 @@
33800
33794
  SearchFiltersModule.ɵinj = i0__namespace.ɵɵdefineInjector({ providers: [
33801
33795
  SearchService,
33802
33796
  OrderService,
33803
- JurisdictionService$1,
33797
+ JurisdictionService,
33804
33798
  DefinitionsService,
33805
33799
  WindowService
33806
33800
  ], imports: [[
@@ -33839,7 +33833,7 @@
33839
33833
  providers: [
33840
33834
  SearchService,
33841
33835
  OrderService,
33842
- JurisdictionService$1,
33836
+ JurisdictionService,
33843
33837
  DefinitionsService,
33844
33838
  WindowService
33845
33839
  ]
@@ -35278,7 +35272,7 @@
35278
35272
  exports.IsReadOnlyPipe = IsReadOnlyPipe;
35279
35273
  exports.JudicialworkerService = JudicialworkerService;
35280
35274
  exports.Jurisdiction = Jurisdiction;
35281
- exports.JurisdictionService = JurisdictionService$1;
35275
+ exports.JurisdictionService = JurisdictionService;
35282
35276
  exports.LabelFieldComponent = LabelFieldComponent;
35283
35277
  exports.LabelSubstitutorDirective = LabelSubstitutorDirective;
35284
35278
  exports.LabelSubstitutorModule = LabelSubstitutorModule;