@skyux/lookup 14.5.1 → 14.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lookup",
3
- "version": "14.5.1",
3
+ "version": "14.6.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -21,16 +21,16 @@
21
21
  "@angular/core": "^21.2.0",
22
22
  "@angular/forms": "^21.2.0",
23
23
  "@angular/platform-browser": "^21.2.0",
24
- "@skyux-sdk/testing": "14.5.1",
25
- "@skyux/core": "14.5.1",
26
- "@skyux/forms": "14.5.1",
27
- "@skyux/i18n": "14.5.1",
28
- "@skyux/icon": "14.5.1",
29
- "@skyux/indicators": "14.5.1",
30
- "@skyux/layout": "14.5.1",
31
- "@skyux/lists": "14.5.1",
32
- "@skyux/modals": "14.5.1",
33
- "@skyux/theme": "14.5.1"
24
+ "@skyux-sdk/testing": "14.6.1",
25
+ "@skyux/core": "14.6.1",
26
+ "@skyux/forms": "14.6.1",
27
+ "@skyux/i18n": "14.6.1",
28
+ "@skyux/icon": "14.6.1",
29
+ "@skyux/indicators": "14.6.1",
30
+ "@skyux/layout": "14.6.1",
31
+ "@skyux/lists": "14.6.1",
32
+ "@skyux/modals": "14.6.1",
33
+ "@skyux/theme": "14.6.1"
34
34
  },
35
35
  "dependencies": {
36
36
  "intl-tel-input": "26.7.6",
@@ -1,45 +1,21 @@
1
1
  import * as i0 from '@angular/core';
2
- import { RendererFactory2, ElementRef, OnInit, OnDestroy, AfterViewInit, TemplateRef, EventEmitter, ChangeDetectorRef, PipeTransform, InjectionToken, OnChanges, SimpleChanges } from '@angular/core';
3
- import * as i6 from '@skyux/core';
4
- import { SkyCoreAdapterService, SkyOverlayInstance, SkyAffixService, SkyOverlayService, SkyStackingContext, SkyContentInfo } from '@skyux/core';
5
- import * as i3$1 from '@skyux/forms';
6
- import { SkyInputBoxHostService } from '@skyux/forms';
2
+ import { OnInit, OnDestroy, AfterViewInit, TemplateRef, EventEmitter, ElementRef, PipeTransform, InjectionToken, OnChanges, SimpleChanges } from '@angular/core';
7
3
  import { Observable, Subject } from 'rxjs';
8
4
  import * as i3 from '@angular/forms';
9
- import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, UntypedFormControl, NgControl } from '@angular/forms';
5
+ import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, UntypedFormControl } from '@angular/forms';
10
6
  import * as i2 from '@angular/common';
7
+ import * as i6 from '@skyux/core';
8
+ import { SkyContentInfo } from '@skyux/core';
11
9
  import * as i7 from '@skyux/indicators';
12
10
  import { SkyToken, SkyTokensMessage } from '@skyux/indicators';
13
11
  import * as i8 from '@skyux/icon';
14
12
  import * as i1 from '@skyux/i18n';
15
13
  import * as i7$1 from '@skyux/theme';
16
14
  import { SkyThemeService } from '@skyux/theme';
15
+ import * as i3$1 from '@skyux/forms';
16
+ import { SkyInputBoxHostService } from '@skyux/forms';
17
17
  import { SkyModalService } from '@skyux/modals';
18
18
 
19
- /**
20
- * @internal
21
- */
22
- declare class SkyAutocompleteAdapterService {
23
- #private;
24
- constructor(coreAdapterService: SkyCoreAdapterService, rendererFactory: RendererFactory2);
25
- /**
26
- * Adds the className for the provided element.
27
- */
28
- addCSSClass(element: HTMLElement, className: string): void;
29
- getOverlayFocusableElements(overlay: SkyOverlayInstance): HTMLElement[];
30
- /**
31
- * Removes the className for the provided element.
32
- */
33
- removeCSSClass(element: HTMLElement, className: string): void;
34
- setDropdownWidth(elementRef: ElementRef, dropdownRef: ElementRef, isInputBox: boolean): void;
35
- /**
36
- * Sets the `tabIndex` of the `element` to the provided `tabIndex`.
37
- */
38
- setTabIndex(element: HTMLElement, tabIndex: number): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteAdapterService, never>;
40
- static ɵprov: i0.ɵɵInjectableDeclaration<SkyAutocompleteAdapterService>;
41
- }
42
-
43
19
  /**
44
20
  * @internal
45
21
  */
@@ -390,7 +366,7 @@ declare class SkyAutocompleteComponent implements OnDestroy, AfterViewInit {
390
366
  get resultsRef(): ElementRef | undefined;
391
367
  searchOrDefault: SkyAutocompleteSearchFunction;
392
368
  protected isResultsVisible: Observable<boolean>;
393
- constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef, affixService: SkyAffixService, adapterService: SkyAutocompleteAdapterService, overlayService: SkyOverlayService, inputBoxHostSvc?: SkyInputBoxHostService, stackingContext?: SkyStackingContext);
369
+ constructor();
394
370
  ngAfterViewInit(): void;
395
371
  ngOnDestroy(): void;
396
372
  addButtonClicked(): void;
@@ -399,7 +375,7 @@ declare class SkyAutocompleteComponent implements OnDestroy, AfterViewInit {
399
375
  onResultClick(id: string, event: MouseEvent): void;
400
376
  onResultMouseMove(id: number): void;
401
377
  isElementFocused(ref: HTMLElement): boolean;
402
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
378
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteComponent, never>;
403
379
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyAutocompleteComponent, "sky-autocomplete", never, { "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "data": { "alias": "data"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "descriptorProperty": { "alias": "descriptorProperty"; "required": false; }; "dropdownHintText": { "alias": "dropdownHintText"; "required": false; }; "enableShowMore": { "alias": "enableShowMore"; "required": false; }; "messageStream": { "alias": "messageStream"; "required": false; }; "wrapperClass": { "alias": "wrapperClass"; "required": false; }; "propertiesToSearch": { "alias": "propertiesToSearch"; "required": false; }; "search": { "alias": "search"; "required": false; }; "searchResultTemplate": { "alias": "searchResultTemplate"; "required": false; }; "searchTextMinimumCharacters": { "alias": "searchTextMinimumCharacters"; "required": false; }; "searchFilters": { "alias": "searchFilters"; "required": false; }; "searchResultsLimit": { "alias": "searchResultsLimit"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "noResultsFoundText": { "alias": "noResultsFoundText"; "required": false; }; "searchAsyncDisabled": { "alias": "searchAsyncDisabled"; "required": false; }; "allowAnyValue": { "alias": "allowAnyValue"; "required": false; "isSignal": true; }; "highlightSearchText": { "alias": "highlightSearchText"; "required": false; "isSignal": true; }; }, { "addClick": "addClick"; "showMoreClick": "showMoreClick"; "selectionChange": "selectionChange"; "searchAsync": "searchAsync"; "openChange": "openChange"; }, ["inputDirective"], ["*"], false, never>;
404
380
  }
405
381
 
@@ -746,8 +722,6 @@ interface SkyLookupShowMoreConfig {
746
722
 
747
723
  declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
748
724
  #private;
749
- inputBoxHostSvc?: SkyInputBoxHostService | undefined;
750
- themeSvc?: SkyThemeService | undefined;
751
725
  /**
752
726
  * The ARIA label for the typeahead search input. This sets the input's `aria-label` attribute to provide a text equivalent for
753
727
  * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
@@ -858,7 +832,9 @@ declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter implements
858
832
  showMoreButtonTemplateRef: TemplateRef<unknown> | undefined;
859
833
  inputTemplateRef: TemplateRef<unknown> | undefined;
860
834
  lookupWrapperRef: ElementRef | undefined;
861
- constructor(ngControl?: NgControl, inputBoxHostSvc?: SkyInputBoxHostService | undefined, themeSvc?: SkyThemeService | undefined);
835
+ readonly inputBoxHostSvc: SkyInputBoxHostService | null;
836
+ readonly themeSvc: SkyThemeService | null;
837
+ constructor();
862
838
  ngOnInit(): void;
863
839
  ngAfterViewInit(): void;
864
840
  ngOnDestroy(): void;
@@ -883,7 +859,7 @@ declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter implements
883
859
  protected onAutocompleteOpenChange($event: boolean): void;
884
860
  protected onFocus($event: FocusEvent): void;
885
861
  onSearchAsync(args: SkyAutocompleteSearchAsyncArgs): void;
886
- static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
862
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupComponent, never>;
887
863
  static ɵcmp: i0.ɵɵComponentDeclaration<SkyLookupComponent, "sky-lookup", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "autocompleteAttribute": { "alias": "autocompleteAttribute"; "required": false; }; "data": { "alias": "data"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "enableShowMore": { "alias": "enableShowMore"; "required": false; "isSignal": true; }; "placeholderText": { "alias": "placeholderText"; "required": false; }; "idProperty": { "alias": "idProperty"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "showMoreConfig": { "alias": "showMoreConfig"; "required": false; }; "selectMode": { "alias": "selectMode"; "required": false; }; "wrapperClass": { "alias": "wrapperClass"; "required": false; }; }, { "addClick": "addClick"; "openChange": "openChange"; "selectionModalOpenChange": "selectionModalOpenChange"; }, never, never, false, never>;
888
864
  static ngAcceptInputType_disabled: unknown;
889
865
  static ngAcceptInputType_required: unknown;
@@ -911,17 +887,6 @@ declare enum SkyLookupSelectMode {
911
887
  multiple = "multiple"
912
888
  }
913
889
 
914
- /**
915
- * @internal
916
- */
917
- declare class SkySearchAdapterService {
918
- #private;
919
- selectInput(searchEl: ElementRef): void;
920
- focusInput(searchEl: ElementRef): void;
921
- static ɵfac: i0.ɵɵFactoryDeclaration<SkySearchAdapterService, never>;
922
- static ɵprov: i0.ɵɵInjectableDeclaration<SkySearchAdapterService>;
923
- }
924
-
925
890
  declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges {
926
891
  #private;
927
892
  /**
@@ -991,7 +956,7 @@ declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges {
991
956
  mobileSearchShown: boolean;
992
957
  searchButtonShown: boolean;
993
958
  protected contentInfoObs: Observable<SkyContentInfo> | undefined;
994
- constructor(elRef: ElementRef, searchAdapter: SkySearchAdapterService, changeRef: ChangeDetectorRef);
959
+ constructor();
995
960
  ngOnInit(): void;
996
961
  ngOnChanges(changes: SimpleChanges): void;
997
962
  clearSearchText(): void;