@hmcts/rpx-xui-common-lib 1.7.16 → 1.7.19

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 (31) hide show
  1. package/bundles/hmcts-rpx-xui-common-lib.umd.js +119 -29
  2. package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
  3. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +1 -1
  4. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-rpx-xui-common-lib.js +27 -25
  6. package/esm2015/lib/components/find-service/find-service.component.js +59 -0
  7. package/esm2015/lib/components/generic-filter/generic-filter.component.js +2 -2
  8. package/esm2015/lib/components/search-service/search-service.component.js +60 -0
  9. package/esm2015/lib/exui-common-lib.module.js +5 -1
  10. package/esm2015/lib/models/filter.model.js +2 -2
  11. package/esm2015/lib/models/person.model.js +1 -3
  12. package/esm2015/lib/services/find-person/find-person.service.js +3 -3
  13. package/esm5/hmcts-rpx-xui-common-lib.js +27 -25
  14. package/esm5/lib/components/find-service/find-service.component.js +64 -0
  15. package/esm5/lib/components/generic-filter/generic-filter.component.js +2 -2
  16. package/esm5/lib/components/search-service/search-service.component.js +68 -0
  17. package/esm5/lib/exui-common-lib.module.js +5 -1
  18. package/esm5/lib/models/filter.model.js +2 -2
  19. package/esm5/lib/models/person.model.js +1 -3
  20. package/esm5/lib/services/find-person/find-person.service.js +3 -3
  21. package/fesm2015/hmcts-rpx-xui-common-lib.js +83 -6
  22. package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
  23. package/fesm5/hmcts-rpx-xui-common-lib.js +95 -7
  24. package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
  25. package/hmcts-rpx-xui-common-lib.d.ts +26 -24
  26. package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
  27. package/lib/components/find-service/find-service.component.d.ts +14 -0
  28. package/lib/components/search-service/search-service.component.d.ts +13 -0
  29. package/lib/models/filter.model.d.ts +2 -2
  30. package/lib/models/person.model.d.ts +0 -2
  31. package/package.json +1 -1
@@ -1668,7 +1668,7 @@
1668
1668
  GenericFilterComponent.decorators = [
1669
1669
  { type: i0.Component, args: [{
1670
1670
  selector: 'xuilib-generic-filter',
1671
- template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n <div class=\"contain-classes\" *ngFor=\"let field of config.fields\">\n <hr *ngIf=\"field.lineBreakBefore\" class=\"govuk-section-break govuk-section-break--visible elevated-break\">\n <div class=\"govuk-form-group xui-generic-filter\"\n [hidden]=\"hidden(field, form)\"\n [id]=\"field.name\"\n [ngClass]=\"{'form-group-error': submitted && (form.get(field.name).errors?.minLength || form.get(field.name).errors?.maxLength)}\">\n <h3 *ngIf=\"field.title\" class=\"govuk-heading-s\">{{field.title}}</h3>\n <p class=\"govuk-body\" *ngIf=\"field.subTitle\">{{field.subTitle}}</p>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMinSelectedError && submitted && form.get(field.name).errors?.minLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.minSelectedError}}\n </span>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.maxSelectedError}}\n </span>\n <div class=\"govuk-body\" [ngSwitch]=\"field.type\">\n <ng-container *ngSwitchCase=\"'select'\">\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n <option class=\"govuk-radios__item\" *ngFor=\"let item of field.options\" [value]=\"item.key\">{{item.label}}</option>\n </select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox-large'\">\n <div class=\"govuk-checkboxes\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'radio'\">\n <div class=\"govuk-radios\">\n <div *ngFor=\"let item of field.options\" class=\"govuk-radios__item\">\n <input type=\"radio\"\n [formControlName]=\"field.name\"\n [id]=\"'radio_' + item.key\"\n [attr.disabled]=\"disabled(field, form)\"\n [checked]=\"item.key === form.get(field.name).value\"\n class=\"govuk-radios__input\"\n [value]=\"item.key\"\n (change)=\"fieldChanged(field, form)\"\n />\n <label [for]=\"'radio_' + item.key\" class=\"govuk-label govuk-radios__label\">{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-person'\">\n <xuilib-find-person subTitle=\"\" (personSelected)=\"updatePersonControls($event, field)\"\n (personFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findPersonGroup]=\"form\"\n [selectedPerson]=\"form.get(field.name)?.value?.email\"\n [userIncluded]=\"false\"\n ></xuilib-find-person>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-location'\">\n <xuilib-find-location (locationFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle\"\n [enableAddLocationButton]=\"field.enableAddLocationButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [selectedLocations]=\"form.get(field.name)?.value\"\n [submitted]=\"submitted\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [field]=\"field\"\n ></xuilib-find-location>\n </ng-container>\n </div>\n </div>\n </div>\n <hr class=\"govuk-section-break govuk-section-break--m govuk-section-break--visible\"/>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <button\n class=\"govuk-button govuk-!-margin-right-1 govuk-!-margin-bottom-0\"\n type=\"submit\"\n id=\"applyFilter\"\n [disabled]=\"config.enableDisabledButton && form.invalid\"\n >{{config.applyButtonText || 'Apply'}}</button>\n <button *ngIf=\"config.showCancelFilterButton\"\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\"\n type=\"button\"\n id=\"cancelFilter\"\n (click)=\"cancelFilter()\">{{ config.cancelButtonText || 'Cancel'}}</button>\n </div>\n </div>\n</form>\n",
1671
+ template: "<form [formGroup]=\"form\" (ngSubmit)=\"applyFilter(form)\">\n <div class=\"contain-classes\" *ngFor=\"let field of config.fields\">\n <hr *ngIf=\"field.lineBreakBefore\" class=\"govuk-section-break govuk-section-break--visible elevated-break\">\n <div class=\"govuk-form-group xui-generic-filter\"\n [hidden]=\"hidden(field, form)\"\n [id]=\"field.name\"\n [ngClass]=\"{'form-group-error': submitted && (form.get(field.name).errors?.minLength || form.get(field.name).errors?.maxLength)}\">\n <h3 *ngIf=\"field.title\" class=\"govuk-heading-s\">{{field.title}}</h3>\n <p class=\"govuk-body\" *ngIf=\"field.subTitle\">{{field.subTitle}}</p>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMinSelectedError && submitted && form.get(field.name).errors?.minLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.minSelectedError}}\n </span>\n <span [id]=\"field.name + '-error'\" class=\"govuk-error-message\" *ngIf=\"field.displayMaxSelectedError && submitted && form.get(field.name).errors?.maxLength\">\n <span class=\"govuk-visually-hidden\">Error:</span> {{field.maxSelectedError}}\n </span>\n <div class=\"govuk-body\" [ngSwitch]=\"field.type\">\n <ng-container *ngSwitchCase=\"'select'\">\n <select class=\"govuk-select\" (change)=\"fieldChanged(field, form)\" [attr.disabled]=\"disabled(field, form)\" [name]=\"'select_' + field.name\" [id]=\"'select_' + field.name\" [formControlName]=\"field.name\">\n <option disabled selected hidden value=\"\">{{field.disabledText}}</option>\n <option class=\"govuk-radios__item\" *ngFor=\"let item of field.options\" [value]=\"item.key\">{{item.label}}</option>\n </select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox'\">\n <div class=\"govuk-checkboxes govuk-checkboxes--small\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'checkbox-large'\">\n <div class=\"govuk-checkboxes\" [formGroupName]=\"field.name\" [attr.field]=\"field.name\" [id]=\"'checkbox_' + field.name\">\n <div *ngFor=\"let item of field.options; let i = index\" class=\"govuk-checkboxes__item\">\n <input type=\"checkbox\" class=\"govuk-checkboxes__input\"\n [attr.disabled]=\"disabled(field, form)\"\n [formControlName]=\"i\"\n (change)=\"toggleSelectAll($event, form, item, field)\"\n [value]=\"item.key\" [id]=\"'checkbox_' + item.key\"\n [name]=\"'checkbox_' + item.key\"\n />\n <label\n [for]=\"'checkbox_' + item.key\"\n class=\"govuk-label govuk-checkboxes__label\"\n [ngClass]=\"{'govuk-!-font-weight-bold': item.selectAll}\"\n >{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'radio'\">\n <div class=\"govuk-radios\">\n <div *ngFor=\"let item of field.options\" class=\"govuk-radios__item\">\n <input type=\"radio\"\n [formControlName]=\"field.name\"\n [id]=\"'radio_' + item.key\"\n [attr.disabled]=\"disabled(field, form)\"\n [checked]=\"item.key === form.get(field.name).value\"\n class=\"govuk-radios__input\"\n [value]=\"item.key\"\n (change)=\"fieldChanged(field, form)\"\n />\n <label [for]=\"'radio_' + item.key\" class=\"govuk-label govuk-radios__label\">{{item.label}}</label>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-person'\">\n <xuilib-find-person subTitle=\"\" (personSelected)=\"updatePersonControls($event, field)\"\n (personFieldChanged)=\"inputChanged(field)\"\n [submitted]=\"submitted\"\n [disabled]=\"disabled(field, form)\"\n [domain]=\"form.get(field.domainField)?.value\"\n [findPersonGroup]=\"form\"\n [selectedPerson]=\"form.get(field.name)?.value?.email\"\n [userIncluded]=\"false\"\n ></xuilib-find-person>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-location'\">\n <xuilib-find-location (locationFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [locationTitle]=\"field.locationTitle\"\n [enableAddLocationButton]=\"field.enableAddButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [selectedLocations]=\"form.get(field.name)?.value\"\n [submitted]=\"submitted\"\n [services]=\"form.get(field.findLocationField)?.value\"\n [field]=\"field\"\n ></xuilib-find-location>\n </ng-container>\n <ng-container *ngSwitchCase=\"'find-service'\">\n <xuilib-find-service (serviceFieldChanged)=\"inputChanged(field)\"\n [form]=\"form\"\n [fields]=\"config.fields\"\n [title]=\"field.title\"\n [enableAddServiceButton]=\"field.enableAddButton\"\n [disabled]=\"disabled(field, form)\"\n [disableInputField]=\"field.disable\"\n [selectedServices]=\"form.get(field.name)?.value\" \n [field]=\"field\"\n ></xuilib-find-service>\n </ng-container>\n </div>\n </div>\n </div>\n <hr class=\"govuk-section-break govuk-section-break--m govuk-section-break--visible\"/>\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-full\">\n <button\n class=\"govuk-button govuk-!-margin-right-1 govuk-!-margin-bottom-0\"\n type=\"submit\"\n id=\"applyFilter\"\n [disabled]=\"config.enableDisabledButton && form.invalid\"\n >{{config.applyButtonText || 'Apply'}}</button>\n <button *ngIf=\"config.showCancelFilterButton\"\n class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\"\n type=\"button\"\n id=\"cancelFilter\"\n (click)=\"cancelFilter()\">{{ config.cancelButtonText || 'Cancel'}}</button>\n </div>\n </div>\n</form>\n",
1672
1672
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
1673
1673
  encapsulation: i0.ViewEncapsulation.None,
1674
1674
  styles: [".contain-classes .elevated-break{position:relative;top:-10px}.contain-classes .xui-generic-filter .select-all{margin-bottom:10px}.contain-classes .xui-generic-filter .govuk-checkboxes{display:flex;flex-wrap:wrap}.contain-classes .xui-generic-filter .govuk-checkboxes>div{flex-grow:1;flex-shrink:0}"]
@@ -3833,7 +3833,6 @@
3833
3833
  JUDICIAL: "Judicial",
3834
3834
  CASEWORKER: "Legal Ops",
3835
3835
  ADMIN: "Admin",
3836
- CTSC: "CTSC User",
3837
3836
  ALL: "All",
3838
3837
  };
3839
3838
  /** @enum {string} */
@@ -3841,7 +3840,6 @@
3841
3840
  JUDICIAL: "JUDICIAL",
3842
3841
  CASEWORKER: "LEGAL_OPERATIONS",
3843
3842
  ADMIN: "ADMIN",
3844
- CTSC: "CTSC",
3845
3843
  ALL: "ALL",
3846
3844
  };
3847
3845
 
@@ -4821,7 +4819,7 @@
4821
4819
  this.userId = userInfo.id ? userInfo.id : userInfo.uid;
4822
4820
  }
4823
4821
  this.assignedUser = searchOptions.assignedUser ? searchOptions.assignedUser : null;
4824
- return this.http.post('/workallocation2/findPerson', { searchOptions: searchOptions })
4822
+ return this.http.post('/workallocation/findPerson', { searchOptions: searchOptions })
4825
4823
  .pipe(operators.map(( /**
4826
4824
  * @param {?} judiciary
4827
4825
  * @return {?}
@@ -4879,7 +4877,7 @@
4879
4877
  return rxjs.of(this.searchInCaseworkers(storedCaseworkers, searchOptions));
4880
4878
  }
4881
4879
  // all serviceIds passed in as node layer getting used anyway and caseworkers also stored there
4882
- return this.http.post('/workallocation2/retrieveCaseWorkersForServices', { fullServices: fullServices }).pipe(operators.tap(( /**
4880
+ return this.http.post('/workallocation/retrieveCaseWorkersForServices', { fullServices: fullServices }).pipe(operators.tap(( /**
4883
4881
  * @param {?} caseworkersByService
4884
4882
  * @return {?}
4885
4883
  */function (caseworkersByService) {
@@ -5204,6 +5202,47 @@
5204
5202
  return FindPersonComponent;
5205
5203
  }());
5206
5204
 
5205
+ /**
5206
+ * @fileoverview added by tsickle
5207
+ * Generated from: lib/components/find-service/find-service.component.ts
5208
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5209
+ */
5210
+ var FindServiceComponent = /** @class */ (function () {
5211
+ function FindServiceComponent() {
5212
+ this.serviceTitle = 'Search for a service by name';
5213
+ this.enableAddServiceButton = true;
5214
+ this.disableInputField = false;
5215
+ }
5216
+ /**
5217
+ * @return {?}
5218
+ */
5219
+ FindServiceComponent.prototype.addService = /**
5220
+ * @return {?}
5221
+ */
5222
+ function () {
5223
+ // Todo
5224
+ };
5225
+ FindServiceComponent.decorators = [
5226
+ { type: i0.Component, args: [{
5227
+ selector: 'xuilib-find-service',
5228
+ template: "<div class=\"service-picker-custom\">\n <div class=\"search-service\">\n <div>\n <label id=\"input-selected-service-label\" *ngIf=\"serviceTitle\">{{serviceTitle}}</label>\n </div>\n <exui-search-service class=\"search-service\"\n [services]=\"services\"\n [selectedServices]=\"selectedServices\"\n [delay]=\"300\"\n [disabled]=\"disabled\"></exui-search-service>\n <a href=\"javascript:void(0)\" (click)=\"addService()\" class=\"govuk-button govuk-button--secondary govuk-!-margin-bottom-0\" \n data-module=\"govuk-button\" *ngIf=\"enableAddServiceButton\" id=\"add-service\">\n Add\n </a>\n </div>\n <ul class=\"hmcts-filter-tags selection-container\" *ngIf=\"field.maxSelected != 1\">\n <li class=\"service-selection\" *ngFor=\"let selection of selectedServices\">\n <a class=\"hmcts-filter__tag\" href=\"javascript:void(0)\">\n {{ selection.name }}\n </a>\n </li>\n </ul>\n </div>",
5229
+ styles: ["#add-service{background-color:#ddd}"]
5230
+ }] }
5231
+ ];
5232
+ FindServiceComponent.propDecorators = {
5233
+ field: [{ type: i0.Input }],
5234
+ fields: [{ type: i0.Input }],
5235
+ serviceTitle: [{ type: i0.Input }],
5236
+ form: [{ type: i0.Input }],
5237
+ services: [{ type: i0.Input }],
5238
+ selectedServices: [{ type: i0.Input }],
5239
+ disabled: [{ type: i0.Input }],
5240
+ enableAddServiceButton: [{ type: i0.Input }],
5241
+ disableInputField: [{ type: i0.Input }]
5242
+ };
5243
+ return FindServiceComponent;
5244
+ }());
5245
+
5207
5246
  /**
5208
5247
  * @fileoverview added by tsickle
5209
5248
  * Generated from: lib/components/search-judicials/search-judicials.component.ts
@@ -5443,6 +5482,53 @@
5443
5482
  return SearchJudicialsComponent;
5444
5483
  }());
5445
5484
 
5485
+ /**
5486
+ * @fileoverview added by tsickle
5487
+ * Generated from: lib/components/search-service/search-service.component.ts
5488
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5489
+ */
5490
+ var SearchServiceComponent = /** @class */ (function () {
5491
+ function SearchServiceComponent() {
5492
+ this.showAutocomplete = false;
5493
+ this.minSearchCharacters = 3;
5494
+ this.term = '';
5495
+ }
5496
+ /**
5497
+ * @return {?}
5498
+ */
5499
+ SearchServiceComponent.prototype.onInput = /**
5500
+ * @return {?}
5501
+ */
5502
+ function () {
5503
+ // Todo
5504
+ };
5505
+ /**
5506
+ * @return {?}
5507
+ */
5508
+ SearchServiceComponent.prototype.onSelectionChange = /**
5509
+ * @return {?}
5510
+ */
5511
+ function () {
5512
+ // Todo
5513
+ };
5514
+ SearchServiceComponent.decorators = [
5515
+ { type: i0.Component, args: [{
5516
+ selector: 'exui-search-service',
5517
+ template: "<div class=\"auto-complete-container\">\n <input\n id=\"inputServiceSearch\"\n (input)=\"onInput()\"\n [formControl]=\"form.controls.searchTerm\"\n [matAutocomplete]=\"autoSearchService\"\n class=\"govuk-input\"\n [attr.disabled]=\"disabled\">\n <mat-autocomplete class=\"mat-autocomplete-panel-extend\" autoActiveFirstOption #autoSearchService=\"matAutocomplete\">\n <mat-option *ngFor=\"let service of services\" (onSelectionChange)=\"onSelectionChange()\">\n {{ service.name }}\n </mat-option>\n <mat-option *ngIf=\"!services.length && showAutocomplete && term && term.length >= this.minSearchCharacters\">No results found</mat-option>\n </mat-autocomplete>\n</div>\n",
5518
+ styles: [".autocomplete__input--show-all-values{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{box-shadow:rgba(0,0,0,.256863) 0 2px 6px;left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-bottom:solid #b1b4b6;border-width:1px 0;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#fafafa}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}.autocomplete__option--no-results{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.25}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width:641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:13px;line-height:1.31579}}.div-action{display:inline-block}.add-location{display:inline}.remove-location-button{margin:5px}.hide-autocomplete{display:none}.auto-complete-container{min-width:250px;display:inline-block;margin-right:4px}.autocomplete__input{line-height:24px;font-size:19px}"]
5519
+ }] }
5520
+ ];
5521
+ SearchServiceComponent.propDecorators = {
5522
+ services: [{ type: i0.Input }],
5523
+ selectedServices: [{ type: i0.Input }],
5524
+ disabled: [{ type: i0.Input }],
5525
+ delay: [{ type: i0.Input }],
5526
+ form: [{ type: i0.Input }],
5527
+ showAutocomplete: [{ type: i0.Input }]
5528
+ };
5529
+ return SearchServiceComponent;
5530
+ }());
5531
+
5446
5532
  /**
5447
5533
  * @fileoverview added by tsickle
5448
5534
  * Generated from: lib/components/search-venue/search-venue.component.ts
@@ -6755,6 +6841,8 @@
6755
6841
  SearchJudicialsComponent,
6756
6842
  FindLocationComponent,
6757
6843
  SearchLocationComponent,
6844
+ FindServiceComponent,
6845
+ SearchServiceComponent,
6758
6846
  SearchVenueComponent,
6759
6847
  PaginationComponent
6760
6848
  ];
@@ -7880,15 +7968,17 @@
7880
7968
  exports.ɵa = ExuiPageWrapperComponent;
7881
7969
  exports.ɵbl = FindLocationComponent;
7882
7970
  exports.ɵbh = FindPersonComponent;
7971
+ exports.ɵbo = FindServiceComponent;
7883
7972
  exports.ɵbd = GenericFilterComponent;
7884
7973
  exports.ɵk = HmctsSessionDialogComponent;
7885
7974
  exports.ɵo = InviteUserFormComponent;
7886
7975
  exports.ɵn = InviteUserPermissionComponent;
7887
7976
  exports.ɵbc = LoadingSpinnerComponent;
7888
- exports.ɵbp = PaginationComponent;
7977
+ exports.ɵbr = PaginationComponent;
7889
7978
  exports.ɵbk = SearchJudicialsComponent;
7890
7979
  exports.ɵbm = SearchLocationComponent;
7891
- exports.ɵbo = SearchVenueComponent;
7980
+ exports.ɵbp = SearchServiceComponent;
7981
+ exports.ɵbq = SearchVenueComponent;
7892
7982
  exports.ɵv = SelectedCaseConfirmComponent;
7893
7983
  exports.ɵt = SelectedCaseListComponent;
7894
7984
  exports.ɵu = SelectedCaseComponent;
@@ -7907,28 +7997,28 @@
7907
7997
  exports.ɵg = FeatureToggleDirective;
7908
7998
  exports.ɵi = LetContext;
7909
7999
  exports.ɵj = LetDirective;
7910
- exports.ɵbz = GovUkCheckboxComponent;
7911
- exports.ɵcf = GovUkCheckboxesComponent;
7912
- exports.ɵce = GovUkDateComponent;
7913
- exports.ɵcc = GovUkErrorMessageComponent;
7914
- exports.ɵcd = GovUkFieldsetComponent;
7915
- exports.ɵck = GovUkFileUploadComponent;
7916
- exports.ɵca = GovUkFormGroupWrapperComponent;
7917
- exports.ɵby = GovUkInputComponent;
7918
- exports.ɵcb = GovUkLabelComponent;
7919
- exports.ɵcg = GovUkRadioComponent;
7920
- exports.ɵch = GovUkRadiosComponent;
7921
- exports.ɵci = GovUkSelectComponent;
7922
- exports.ɵbx = GovukTableComponent;
7923
- exports.ɵcj = GovUkTextareaComponent;
7924
- exports.ɵbw = HmctsBannerComponent;
7925
- exports.ɵbu = HmctsErrorSummaryComponent;
7926
- exports.ɵbq = HmctsIdentityBarComponent;
7927
- exports.ɵbv = HmctsMainWrapperComponent;
7928
- exports.ɵbr = HmctsPaginationComponent;
7929
- exports.ɵbt = HmctsPrimaryNavigationComponent;
7930
- exports.ɵbs = HmctsSubNavigationComponent;
7931
- exports.ɵcl = RemoveHostDirective;
8000
+ exports.ɵcb = GovUkCheckboxComponent;
8001
+ exports.ɵch = GovUkCheckboxesComponent;
8002
+ exports.ɵcg = GovUkDateComponent;
8003
+ exports.ɵce = GovUkErrorMessageComponent;
8004
+ exports.ɵcf = GovUkFieldsetComponent;
8005
+ exports.ɵcm = GovUkFileUploadComponent;
8006
+ exports.ɵcc = GovUkFormGroupWrapperComponent;
8007
+ exports.ɵca = GovUkInputComponent;
8008
+ exports.ɵcd = GovUkLabelComponent;
8009
+ exports.ɵci = GovUkRadioComponent;
8010
+ exports.ɵcj = GovUkRadiosComponent;
8011
+ exports.ɵck = GovUkSelectComponent;
8012
+ exports.ɵbz = GovukTableComponent;
8013
+ exports.ɵcl = GovUkTextareaComponent;
8014
+ exports.ɵby = HmctsBannerComponent;
8015
+ exports.ɵbw = HmctsErrorSummaryComponent;
8016
+ exports.ɵbs = HmctsIdentityBarComponent;
8017
+ exports.ɵbx = HmctsMainWrapperComponent;
8018
+ exports.ɵbt = HmctsPaginationComponent;
8019
+ exports.ɵbv = HmctsPrimaryNavigationComponent;
8020
+ exports.ɵbu = HmctsSubNavigationComponent;
8021
+ exports.ɵcn = RemoveHostDirective;
7932
8022
  exports.ɵr = CaseSharingStateService;
7933
8023
  exports.ɵbg = CookieService;
7934
8024
  exports.ɵh = FeatureToggleService;