@skyux/lookup 8.7.2 → 8.8.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/documentation.json +878 -911
- package/esm2020/lib/modules/autocomplete/autocomplete.component.mjs +11 -2
- package/esm2020/lib/modules/country-field/country-field.component.mjs +17 -49
- package/esm2020/lib/modules/lookup/lookup.component.mjs +19 -3
- package/fesm2015/skyux-lookup.mjs +38 -44
- package/fesm2015/skyux-lookup.mjs.map +1 -1
- package/fesm2020/skyux-lookup.mjs +38 -44
- package/fesm2020/skyux-lookup.mjs.map +1 -1
- package/lib/modules/autocomplete/autocomplete.component.d.ts +5 -1
- package/lib/modules/country-field/country-field.component.d.ts +2 -4
- package/lib/modules/lookup/lookup.component.d.ts +6 -1
- package/package.json +10 -10
|
@@ -146,6 +146,10 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
|
|
|
146
146
|
* returned via an observable.
|
|
147
147
|
*/
|
|
148
148
|
searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>;
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
*/
|
|
152
|
+
openChange: EventEmitter<boolean>;
|
|
149
153
|
get searchResults(): SkyAutocompleteSearchResult[];
|
|
150
154
|
set searchResults(value: SkyAutocompleteSearchResult[]);
|
|
151
155
|
get highlightText(): string[];
|
|
@@ -173,6 +177,6 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
|
|
|
173
177
|
onResultMouseMove(id: number): void;
|
|
174
178
|
isElementFocused(ref: HTMLElement): boolean;
|
|
175
179
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
176
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyAutocompleteComponent, "sky-autocomplete", never, { "ariaLabelledBy": "ariaLabelledBy"; "data": "data"; "debounceTime": "debounceTime"; "descriptorProperty": "descriptorProperty"; "enableShowMore": "enableShowMore"; "messageStream": "messageStream"; "wrapperClass": "wrapperClass"; "propertiesToSearch": "propertiesToSearch"; "search": "search"; "searchResultTemplate": "searchResultTemplate"; "searchTextMinimumCharacters": "searchTextMinimumCharacters"; "searchFilters": "searchFilters"; "searchResultsLimit": "searchResultsLimit"; "showAddButton": "showAddButton"; "noResultsFoundText": "noResultsFoundText"; "searchAsyncDisabled": "searchAsyncDisabled"; }, { "addClick": "addClick"; "showMoreClick": "showMoreClick"; "selectionChange": "selectionChange"; "searchAsync": "searchAsync"; }, ["inputDirective"], ["*"], false, never>;
|
|
180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyAutocompleteComponent, "sky-autocomplete", never, { "ariaLabelledBy": "ariaLabelledBy"; "data": "data"; "debounceTime": "debounceTime"; "descriptorProperty": "descriptorProperty"; "enableShowMore": "enableShowMore"; "messageStream": "messageStream"; "wrapperClass": "wrapperClass"; "propertiesToSearch": "propertiesToSearch"; "search": "search"; "searchResultTemplate": "searchResultTemplate"; "searchTextMinimumCharacters": "searchTextMinimumCharacters"; "searchFilters": "searchFilters"; "searchResultsLimit": "searchResultsLimit"; "showAddButton": "showAddButton"; "noResultsFoundText": "noResultsFoundText"; "searchAsyncDisabled": "searchAsyncDisabled"; }, { "addClick": "addClick"; "showMoreClick": "showMoreClick"; "selectionChange": "selectionChange"; "searchAsync": "searchAsync"; "openChange": "openChange"; }, ["inputDirective"], ["*"], false, never>;
|
|
177
181
|
}
|
|
178
182
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, UntypedFormControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
-
import { SkyAppWindowRef } from '@skyux/core';
|
|
4
3
|
import { SkyInputBoxHostService } from '@skyux/forms';
|
|
5
4
|
import { SkyThemeService } from '@skyux/theme';
|
|
6
5
|
import 'intl-tel-input';
|
|
@@ -56,7 +55,6 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
56
55
|
selectedCountryChange: EventEmitter<SkyCountryFieldCountry>;
|
|
57
56
|
countries: SkyCountryFieldCountry[];
|
|
58
57
|
countrySearchFormControl: UntypedFormControl;
|
|
59
|
-
isInputFocused: boolean;
|
|
60
58
|
searchTextMinimumCharacters: number;
|
|
61
59
|
countrySearchAutocompleteDirective: SkyAutocompleteInputDirective | undefined;
|
|
62
60
|
set selectedCountry(newCountry: SkyCountryFieldCountry | undefined);
|
|
@@ -66,7 +64,7 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
66
64
|
inputId: string;
|
|
67
65
|
inputTemplateRef: TemplateRef<unknown> | undefined;
|
|
68
66
|
searchIconTemplateRef: TemplateRef<unknown> | undefined;
|
|
69
|
-
constructor(changeDetector: ChangeDetectorRef, elRef: ElementRef,
|
|
67
|
+
constructor(changeDetector: ChangeDetectorRef, elRef: ElementRef, injector: Injector, inputBoxHostSvc?: SkyInputBoxHostService | undefined, themeSvc?: SkyThemeService);
|
|
70
68
|
/**
|
|
71
69
|
* Angular lifecycle hook for when the component is initialized
|
|
72
70
|
* @internal
|
|
@@ -97,6 +95,6 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
97
95
|
setDisabledState(disabled: boolean): void;
|
|
98
96
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
99
97
|
writeValue(value: SkyCountryFieldCountry | undefined): void;
|
|
100
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent, [null, null, null,
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
101
99
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCountryFieldComponent, "sky-country-field", never, { "autocompleteAttribute": "autocompleteAttribute"; "defaultCountry": "defaultCountry"; "disabled": "disabled"; "hideSelectedCountryFlag": "hideSelectedCountryFlag"; "includePhoneInfo": "includePhoneInfo"; "supportedCountryISOs": "supportedCountryISOs"; }, { "selectedCountryChange": "selectedCountryChange"; }, never, never, false, never>;
|
|
102
100
|
}
|
|
@@ -97,6 +97,10 @@ export declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter imp
|
|
|
97
97
|
* Fires when users select the button to add options to the list.
|
|
98
98
|
*/
|
|
99
99
|
addClick: EventEmitter<SkyLookupAddClickEventArgs>;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
openChange: EventEmitter<boolean>;
|
|
100
104
|
get tokens(): SkyToken[] | undefined;
|
|
101
105
|
set tokens(value: SkyToken[] | undefined);
|
|
102
106
|
get value(): any[];
|
|
@@ -135,7 +139,8 @@ export declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter imp
|
|
|
135
139
|
onSearchButtonClick(): void;
|
|
136
140
|
onShowMoreClick(event: SkyAutocompleteShowMoreArgs): void;
|
|
137
141
|
openPicker(initialSearch: string): void;
|
|
142
|
+
protected onAutocompleteOpenChange($event: boolean): void;
|
|
138
143
|
onSearchAsync(args: SkyAutocompleteSearchAsyncArgs): void;
|
|
139
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupComponent, [null, null, null, null, null, null, null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
|
|
140
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLookupComponent, "sky-lookup", never, { "ariaLabel": "ariaLabel"; "ariaLabelledBy": "ariaLabelledBy"; "autocompleteAttribute": "autocompleteAttribute"; "data": "data"; "disabled": "disabled"; "enableShowMore": "enableShowMore"; "placeholderText": "placeholderText"; "idProperty": "idProperty"; "showAddButton": "showAddButton"; "showMoreConfig": "showMoreConfig"; "selectMode": "selectMode"; "wrapperClass": "wrapperClass"; }, { "addClick": "addClick"; }, never, never, false, never>;
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLookupComponent, "sky-lookup", never, { "ariaLabel": "ariaLabel"; "ariaLabelledBy": "ariaLabelledBy"; "autocompleteAttribute": "autocompleteAttribute"; "data": "data"; "disabled": "disabled"; "enableShowMore": "enableShowMore"; "placeholderText": "placeholderText"; "idProperty": "idProperty"; "showAddButton": "showAddButton"; "showMoreConfig": "showMoreConfig"; "selectMode": "selectMode"; "wrapperClass": "wrapperClass"; }, { "addClick": "addClick"; "openChange": "openChange"; }, never, never, false, never>;
|
|
141
146
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.8.1",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"@angular/core": "^15.2.9",
|
|
47
47
|
"@angular/forms": "^15.2.9",
|
|
48
48
|
"@angular/platform-browser": "^15.2.9",
|
|
49
|
-
"@skyux-sdk/testing": "8.
|
|
50
|
-
"@skyux/core": "8.
|
|
51
|
-
"@skyux/forms": "8.
|
|
52
|
-
"@skyux/i18n": "8.
|
|
53
|
-
"@skyux/indicators": "8.
|
|
54
|
-
"@skyux/layout": "8.
|
|
55
|
-
"@skyux/lists": "8.
|
|
56
|
-
"@skyux/modals": "8.
|
|
57
|
-
"@skyux/theme": "8.
|
|
49
|
+
"@skyux-sdk/testing": "8.8.1",
|
|
50
|
+
"@skyux/core": "8.8.1",
|
|
51
|
+
"@skyux/forms": "8.8.1",
|
|
52
|
+
"@skyux/i18n": "8.8.1",
|
|
53
|
+
"@skyux/indicators": "8.8.1",
|
|
54
|
+
"@skyux/layout": "8.8.1",
|
|
55
|
+
"@skyux/lists": "8.8.1",
|
|
56
|
+
"@skyux/modals": "8.8.1",
|
|
57
|
+
"@skyux/theme": "8.8.1"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"intl-tel-input": "17.0.21",
|