@skyux/lookup 12.0.0-alpha.6 → 12.0.0-alpha.7
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 +3091 -3209
- package/fesm2022/skyux-lookup.mjs +87 -54
- package/fesm2022/skyux-lookup.mjs.map +1 -1
- package/lib/modules/autocomplete/autocomplete.component.d.ts +6 -1
- package/lib/modules/country-field/country-field.component.d.ts +4 -11
- package/lib/modules/country-field/types/country-field-context.d.ts +1 -1
- package/lib/modules/country-field/types/country.d.ts +2 -1
- package/package.json +11 -11
|
@@ -48,6 +48,11 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
|
|
|
48
48
|
*/
|
|
49
49
|
set descriptorProperty(value: string | undefined);
|
|
50
50
|
get descriptorProperty(): string;
|
|
51
|
+
/**
|
|
52
|
+
* Hint text to show in the dropdown
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
dropdownHintText: string | undefined;
|
|
51
56
|
/**
|
|
52
57
|
* @internal
|
|
53
58
|
* Whether to display a button in the dropdown that opens a picker where users can view all options.
|
|
@@ -180,6 +185,6 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
|
|
|
180
185
|
onResultMouseMove(id: number): void;
|
|
181
186
|
isElementFocused(ref: HTMLElement): boolean;
|
|
182
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
183
|
-
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; }; "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; }; }, { "addClick": "addClick"; "showMoreClick": "showMoreClick"; "selectionChange": "selectionChange"; "searchAsync": "searchAsync"; "openChange": "openChange"; }, ["inputDirective"], ["*"], false, never>;
|
|
188
|
+
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; }; }, { "addClick": "addClick"; "showMoreClick": "showMoreClick"; "selectionChange": "selectionChange"; "searchAsync": "searchAsync"; "openChange": "openChange"; }, ["inputDirective"], ["*"], false, never>;
|
|
184
189
|
}
|
|
185
190
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, UntypedFormControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { SkyInputBoxHostService } from '@skyux/forms';
|
|
4
4
|
import { SkyThemeService } from '@skyux/theme';
|
|
@@ -32,13 +32,6 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
32
32
|
*/
|
|
33
33
|
set disabled(isDisabled: boolean | undefined);
|
|
34
34
|
get disabled(): boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Whether to include phone information in the selected country and country dropdown.
|
|
37
|
-
* @default false
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
set includePhoneInfo(value: boolean | undefined);
|
|
41
|
-
get includePhoneInfo(): boolean;
|
|
42
35
|
/**
|
|
43
36
|
* The [International Organization for Standardization Alpha 2](https://www.nationsonline.org/oneworld/country_code_list.htm)
|
|
44
37
|
* country codes for the countries that users can select. By default, all countries are available.
|
|
@@ -61,7 +54,7 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
61
54
|
protected ariaDescribedBy: Observable<string | undefined> | undefined;
|
|
62
55
|
inputTemplateRef: TemplateRef<unknown> | undefined;
|
|
63
56
|
searchIconTemplateRef: TemplateRef<unknown> | undefined;
|
|
64
|
-
constructor(changeDetector: ChangeDetectorRef,
|
|
57
|
+
constructor(changeDetector: ChangeDetectorRef, injector: Injector, inputBoxHostSvc?: SkyInputBoxHostService | undefined, themeSvc?: SkyThemeService);
|
|
65
58
|
/**
|
|
66
59
|
* Angular lifecycle hook for when the component is initialized
|
|
67
60
|
* @internal
|
|
@@ -92,6 +85,6 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
92
85
|
setDisabledState(disabled: boolean): void;
|
|
93
86
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
94
87
|
writeValue(value: SkyCountryFieldCountry | undefined): void;
|
|
95
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent, [null, null,
|
|
96
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCountryFieldComponent, "sky-country-field", never, { "autocompleteAttribute": { "alias": "autocompleteAttribute"; "required": false; }; "defaultCountry": { "alias": "defaultCountry"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent, [null, null, { optional: true; }, { optional: true; }]>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCountryFieldComponent, "sky-country-field", never, { "autocompleteAttribute": { "alias": "autocompleteAttribute"; "required": false; }; "defaultCountry": { "alias": "defaultCountry"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "supportedCountryISOs": { "alias": "supportedCountryISOs"; "required": false; }; }, { "selectedCountryChange": "selectedCountryChange"; }, never, never, false, never>;
|
|
97
90
|
}
|
|
@@ -14,7 +14,8 @@ export interface SkyCountryFieldCountry {
|
|
|
14
14
|
name?: string;
|
|
15
15
|
/**
|
|
16
16
|
* The country's international dial code.
|
|
17
|
-
* This property
|
|
17
|
+
* This property is only set when the country field is within a phone field.
|
|
18
|
+
* @internal
|
|
18
19
|
*/
|
|
19
20
|
dialCode?: string;
|
|
20
21
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "12.0.0-alpha.
|
|
3
|
+
"version": "12.0.0-alpha.7",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"@angular/core": "^19.0.5",
|
|
39
39
|
"@angular/forms": "^19.0.5",
|
|
40
40
|
"@angular/platform-browser": "^19.0.5",
|
|
41
|
-
"@skyux-sdk/testing": "12.0.0-alpha.
|
|
42
|
-
"@skyux/core": "12.0.0-alpha.
|
|
43
|
-
"@skyux/forms": "12.0.0-alpha.
|
|
44
|
-
"@skyux/i18n": "12.0.0-alpha.
|
|
45
|
-
"@skyux/icon": "12.0.0-alpha.
|
|
46
|
-
"@skyux/indicators": "12.0.0-alpha.
|
|
47
|
-
"@skyux/layout": "12.0.0-alpha.
|
|
48
|
-
"@skyux/lists": "12.0.0-alpha.
|
|
49
|
-
"@skyux/modals": "12.0.0-alpha.
|
|
50
|
-
"@skyux/theme": "12.0.0-alpha.
|
|
41
|
+
"@skyux-sdk/testing": "12.0.0-alpha.7",
|
|
42
|
+
"@skyux/core": "12.0.0-alpha.7",
|
|
43
|
+
"@skyux/forms": "12.0.0-alpha.7",
|
|
44
|
+
"@skyux/i18n": "12.0.0-alpha.7",
|
|
45
|
+
"@skyux/icon": "12.0.0-alpha.7",
|
|
46
|
+
"@skyux/indicators": "12.0.0-alpha.7",
|
|
47
|
+
"@skyux/layout": "12.0.0-alpha.7",
|
|
48
|
+
"@skyux/lists": "12.0.0-alpha.7",
|
|
49
|
+
"@skyux/modals": "12.0.0-alpha.7",
|
|
50
|
+
"@skyux/theme": "12.0.0-alpha.7"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"intl-tel-input": "25.2.1",
|