@byuhbll/components 5.1.0-beta.0 → 5.1.0-beta.1

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.
@@ -6,6 +6,7 @@ export interface SearchConfig {
6
6
  showAdvancedSearchAsText: boolean;
7
7
  scope: SearchScope;
8
8
  q: string;
9
+ isSuggestion: boolean;
9
10
  advancedSearchQueryRows: AdvancedSearchQueryRow[];
10
11
  localAdvancedSearch: {
11
12
  creationDate: Date;
@@ -13,7 +13,7 @@ export declare class SimpleSearchComponent implements OnInit, OnDestroy {
13
13
  suggestions: string[];
14
14
  simpleSearch: EventEmitter<SearchConfig>;
15
15
  clearSimpleSearch: EventEmitter<void>;
16
- suggest: EventEmitter<string>;
16
+ suggest: EventEmitter<SearchConfig>;
17
17
  protected isSubmitted: boolean;
18
18
  protected showSuggestions: boolean;
19
19
  protected selectedSuggestionIndex: number;
@@ -24,7 +24,7 @@ export declare class SimpleSearchComponent implements OnInit, OnDestroy {
24
24
  get simpleQuery(): FormControl<any>;
25
25
  ngOnInit(): void;
26
26
  ngOnDestroy(): void;
27
- protected emitSimpleSearch: () => void;
27
+ protected emitSimpleSearch: (isSuggestion?: boolean) => void;
28
28
  protected clearQuery: () => void;
29
29
  protected selectSuggestion: (suggestion: string) => void;
30
30
  protected onInputKeydown: (event: KeyboardEvent) => void;
@@ -13,7 +13,7 @@ export declare class SsSearchBarComponent {
13
13
  advancedSearchClosed: EventEmitter<SearchConfig>;
14
14
  advancedSearchOpen: EventEmitter<SearchConfig>;
15
15
  tabChange: EventEmitter<SearchConfig>;
16
- suggest: EventEmitter<string>;
16
+ suggest: EventEmitter<SearchConfig>;
17
17
  private barWrapperRef;
18
18
  protected heightOfContainer: number;
19
19
  protected emitClearSimpleSearch: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byuhbll/components",
3
- "version": "5.1.0-beta.0",
3
+ "version": "5.1.0-beta.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0"