@huntsman-cancer-institute/navigation 17.11.7 → 17.13.0

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.
@@ -2158,6 +2158,9 @@ let SearchListControllerComponent = class SearchListControllerComponent extends
2158
2158
  if (config.showTitle != null) {
2159
2159
  this.showTitle = config.showTitle;
2160
2160
  }
2161
+ if (config.buttonTemplate) {
2162
+ this.buttonTemplate = config.buttonTemplate;
2163
+ }
2161
2164
  if (config.showBackButton != null) {
2162
2165
  this.showBackButton = config.showBackButton;
2163
2166
  }
@@ -2626,7 +2629,7 @@ let SearchListControllerComponent = class SearchListControllerComponent extends
2626
2629
  return divPanel.scrollHeight > divPanel.clientHeight;
2627
2630
  }
2628
2631
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchListControllerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }, { token: NavigationGlobalService }, { token: NavigationService, optional: true }, { token: i3$3.HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
2629
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SearchListControllerComponent, selector: "hci-search-list-controller", inputs: { showTitle: "showTitle", inputMultiline: "inputMultiline", searchOptionsWidth: "searchOptionsWidth", fields: "fields", customStyles: "customStyles", basicSearch: "basicSearch", advancedSearch: "advancedSearch", filterByAllowedFields: "filterByAllowedFields", quickSearchFields: "quickSearchFields", advancedSearchFields: "advancedSearchFields", sortByAllowedFields: "sortByAllowedFields", sorts: "sorts", showQuickSearchOptions: "showQuickSearchOptions", showAdvancedSearchOptions: "showAdvancedSearchOptions", searchTypeArray: "searchTypeArray", searchType: "searchType", searchTypeSelected: "searchTypeSelected", basicSearchHeader: "basicSearchHeader", globalSearchPlaceholder: "globalSearchPlaceholder", globalSearchValidator: "globalSearchValidator", buttonRowTemplate: "buttonRowTemplate", searchSortingOptions: "searchSortingOptions", labelText: "labelText" }, outputs: { searchListChange: "searchListChange" }, host: { listeners: { "document:click": "documentClick($event,$event.target)" } }, exportAs: ["searchListControllerComponent"], usesInheritance: true, ngImport: i0, template: `
2632
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SearchListControllerComponent, selector: "hci-search-list-controller", inputs: { showTitle: "showTitle", buttonTemplate: "buttonTemplate", inputMultiline: "inputMultiline", searchOptionsWidth: "searchOptionsWidth", fields: "fields", customStyles: "customStyles", basicSearch: "basicSearch", advancedSearch: "advancedSearch", filterByAllowedFields: "filterByAllowedFields", quickSearchFields: "quickSearchFields", advancedSearchFields: "advancedSearchFields", sortByAllowedFields: "sortByAllowedFields", sorts: "sorts", showQuickSearchOptions: "showQuickSearchOptions", showAdvancedSearchOptions: "showAdvancedSearchOptions", searchTypeArray: "searchTypeArray", searchType: "searchType", searchTypeSelected: "searchTypeSelected", basicSearchHeader: "basicSearchHeader", globalSearchPlaceholder: "globalSearchPlaceholder", globalSearchValidator: "globalSearchValidator", buttonRowTemplate: "buttonRowTemplate", searchSortingOptions: "searchSortingOptions", labelText: "labelText" }, outputs: { searchListChange: "searchListChange" }, host: { listeners: { "document:click": "documentClick($event,$event.target)" } }, exportAs: ["searchListControllerComponent"], usesInheritance: true, ngImport: i0, template: `
2630
2633
  <div id="search-title" class="d-flex flex-column">
2631
2634
  <div *ngIf="showTitle" class="d-flex ps-2 hci-grey-darkest">
2632
2635
  <div *ngIf="showBackButton" class="me-auto ms-1 backButton">
@@ -2635,8 +2638,11 @@ let SearchListControllerComponent = class SearchListControllerComponent extends
2635
2638
  </button>
2636
2639
  </div>
2637
2640
  {{title}}
2638
- <div class="ms-auto me-2" (click)="toggleShowOptions($event)">
2639
- <i class="fas fa-filter"></i>
2641
+ <div class="d-flex flex-row ms-auto">
2642
+ <div *ngIf="buttonTemplate"><ng-container *ngTemplateOutlet="buttonTemplate"></ng-container></div>
2643
+ <div class="ms-auto me-2" (click)="toggleShowOptions($event)">
2644
+ <i class="fas fa-filter"></i>
2645
+ </div>
2640
2646
  </div>
2641
2647
  <div class="search-options" [class.expanded]="showOptions" [ngStyle]="{'width': (searchOptionsWidth !== '') ? searchOptionsWidth : 'auto'}">
2642
2648
  <div class="flex-grow-1">
@@ -3064,8 +3070,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
3064
3070
  </button>
3065
3071
  </div>
3066
3072
  {{title}}
3067
- <div class="ms-auto me-2" (click)="toggleShowOptions($event)">
3068
- <i class="fas fa-filter"></i>
3073
+ <div class="d-flex flex-row ms-auto">
3074
+ <div *ngIf="buttonTemplate"><ng-container *ngTemplateOutlet="buttonTemplate"></ng-container></div>
3075
+ <div class="ms-auto me-2" (click)="toggleShowOptions($event)">
3076
+ <i class="fas fa-filter"></i>
3077
+ </div>
3069
3078
  </div>
3070
3079
  <div class="search-options" [class.expanded]="showOptions" [ngStyle]="{'width': (searchOptionsWidth !== '') ? searchOptionsWidth : 'auto'}">
3071
3080
  <div class="flex-grow-1">
@@ -3475,6 +3484,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
3475
3484
  type: Optional
3476
3485
  }] }, { type: i3$3.HttpClient }, { type: i0.ChangeDetectorRef }], propDecorators: { showTitle: [{
3477
3486
  type: Input
3487
+ }], buttonTemplate: [{
3488
+ type: Input
3478
3489
  }], inputMultiline: [{
3479
3490
  type: Input
3480
3491
  }], searchOptionsWidth: [{