@skyux/lookup 6.21.0 → 7.0.0-beta.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.
- package/documentation.json +33 -13
- package/esm2020/lib/modules/autocomplete/autocomplete-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/autocomplete/autocomplete-input.directive.mjs +3 -3
- package/esm2020/lib/modules/autocomplete/autocomplete-search-async-disabled.pipe.mjs +3 -3
- package/esm2020/lib/modules/autocomplete/autocomplete.component.mjs +6 -6
- package/esm2020/lib/modules/autocomplete/autocomplete.module.mjs +15 -17
- package/esm2020/lib/modules/country-field/country-field.component.mjs +11 -11
- package/esm2020/lib/modules/country-field/country-field.module.mjs +12 -14
- package/esm2020/lib/modules/lookup/lookup-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/lookup/lookup-autocomplete-adapter.mjs +3 -3
- package/esm2020/lib/modules/lookup/lookup-item-selected.pipe.mjs +3 -3
- package/esm2020/lib/modules/lookup/lookup-show-more-async-modal.component.mjs +10 -10
- package/esm2020/lib/modules/lookup/lookup-show-more-modal.component.mjs +9 -9
- package/esm2020/lib/modules/lookup/lookup.component.mjs +7 -7
- package/esm2020/lib/modules/lookup/lookup.module.mjs +20 -22
- package/esm2020/lib/modules/search/search-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/search/search.component.mjs +9 -9
- package/esm2020/lib/modules/search/search.module.mjs +11 -13
- package/esm2020/lib/modules/shared/sky-lookup-resources.module.mjs +4 -4
- package/esm2020/testing/country-field/country-field-testing.module.mjs +4 -4
- package/esm2020/testing/search/search-testing.module.mjs +4 -4
- package/fesm2015/skyux-lookup-testing.mjs +8 -8
- package/fesm2015/skyux-lookup.mjs +114 -122
- package/fesm2015/skyux-lookup.mjs.map +1 -1
- package/fesm2020/skyux-lookup-testing.mjs +8 -8
- package/fesm2020/skyux-lookup.mjs +114 -122
- package/fesm2020/skyux-lookup.mjs.map +1 -1
- package/lib/modules/autocomplete/autocomplete-input.directive.d.ts +1 -1
- package/lib/modules/autocomplete/autocomplete-search-async-disabled.pipe.d.ts +1 -1
- package/lib/modules/autocomplete/autocomplete.component.d.ts +1 -1
- package/lib/modules/country-field/country-field.component.d.ts +3 -3
- package/lib/modules/lookup/lookup-autocomplete-adapter.d.ts +1 -1
- package/lib/modules/lookup/lookup-item-selected.pipe.d.ts +1 -1
- package/lib/modules/lookup/lookup-show-more-async-modal.component.d.ts +1 -1
- package/lib/modules/lookup/lookup-show-more-modal.component.d.ts +1 -1
- package/lib/modules/lookup/lookup.component.d.ts +1 -1
- package/lib/modules/search/search.component.d.ts +1 -1
- package/package.json +19 -19
- package/testing/{skyux-lookup-testing.d.ts → index.d.ts} +0 -0
- package/skyux-lookup.d.ts +0 -5
- package/testing/package.json +0 -10
|
@@ -42,5 +42,5 @@ export declare class SkyAutocompleteInputDirective implements OnInit, OnDestroy,
|
|
|
42
42
|
onTouched(): void;
|
|
43
43
|
onValidatorChange: () => void;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteInputDirective, never>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyAutocompleteInputDirective, "input[skyAutocomplete], textarea[skyAutocomplete]", never, { "autocompleteAttribute": "autocompleteAttribute"; "disabled": "disabled"; }, {}, never>;
|
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyAutocompleteInputDirective, "input[skyAutocomplete], textarea[skyAutocomplete]", never, { "autocompleteAttribute": "autocompleteAttribute"; "disabled": "disabled"; }, {}, never, never, false>;
|
|
46
46
|
}
|
|
@@ -7,5 +7,5 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class SkyAutcompleteSearchAsyncDisabledPipe implements PipeTransform {
|
|
8
8
|
transform(searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>, searchAsyncDisabled: boolean): boolean;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutcompleteSearchAsyncDisabledPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SkyAutcompleteSearchAsyncDisabledPipe, "skyAutocompleteSearchAsyncDisabled">;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SkyAutcompleteSearchAsyncDisabledPipe, "skyAutocompleteSearchAsyncDisabled", false>;
|
|
11
11
|
}
|
|
@@ -166,6 +166,6 @@ export declare class SkyAutocompleteComponent implements OnDestroy, AfterViewIni
|
|
|
166
166
|
onResultMouseMove(id: number): void;
|
|
167
167
|
isElementFocused(ref: HTMLElement): boolean;
|
|
168
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
169
|
-
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"], ["*"]>;
|
|
169
|
+
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>;
|
|
170
170
|
}
|
|
171
171
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor,
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, UntypedFormControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
3
|
import { SkyAppWindowRef } from '@skyux/core';
|
|
4
4
|
import { SkyInputBoxHostService } from '@skyux/forms';
|
|
5
5
|
import { SkyThemeService } from '@skyux/theme';
|
|
@@ -51,7 +51,7 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
51
51
|
*/
|
|
52
52
|
selectedCountryChange: EventEmitter<SkyCountryFieldCountry>;
|
|
53
53
|
countries: SkyCountryFieldCountry[];
|
|
54
|
-
countrySearchFormControl:
|
|
54
|
+
countrySearchFormControl: UntypedFormControl;
|
|
55
55
|
isInputFocused: boolean;
|
|
56
56
|
searchTextMinimumCharacters: number;
|
|
57
57
|
countrySearchAutocompleteDirective: SkyAutocompleteInputDirective | undefined;
|
|
@@ -94,5 +94,5 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
94
94
|
writeValue(value: SkyCountryFieldCountry | undefined): void;
|
|
95
95
|
private addEventListeners;
|
|
96
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
97
|
-
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>;
|
|
97
|
+
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>;
|
|
98
98
|
}
|
|
@@ -69,5 +69,5 @@ export declare class SkyLookupAutocompleteAdapter {
|
|
|
69
69
|
*/
|
|
70
70
|
searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>;
|
|
71
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupAutocompleteAdapter, never>;
|
|
72
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyLookupAutocompleteAdapter, never, never, { "debounceTime": "debounceTime"; "descriptorProperty": "descriptorProperty"; "propertiesToSearch": "propertiesToSearch"; "search": "search"; "searchResultTemplate": "searchResultTemplate"; "searchTextMinimumCharacters": "searchTextMinimumCharacters"; "searchFilters": "searchFilters"; "searchResultsLimit": "searchResultsLimit"; }, { "searchAsync": "searchAsync"; }, never>;
|
|
72
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyLookupAutocompleteAdapter, never, never, { "debounceTime": "debounceTime"; "descriptorProperty": "descriptorProperty"; "propertiesToSearch": "propertiesToSearch"; "search": "search"; "searchResultTemplate": "searchResultTemplate"; "searchTextMinimumCharacters": "searchTextMinimumCharacters"; "searchFilters": "searchFilters"; "searchResultsLimit": "searchResultsLimit"; }, { "searchAsync": "searchAsync"; }, never, never, false>;
|
|
73
73
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SkyLookupItemSelectedPipe implements PipeTransform {
|
|
4
4
|
transform(id: unknown, selectedIdMap: Map<unknown, unknown>): boolean;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupItemSelectedPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SkyLookupItemSelectedPipe, "skyLookupItemSelected">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SkyLookupItemSelectedPipe, "skyLookupItemSelected", false>;
|
|
7
7
|
}
|
|
@@ -43,5 +43,5 @@ export declare class SkyLookupShowMoreAsyncModalComponent implements OnInit, OnD
|
|
|
43
43
|
save(): void;
|
|
44
44
|
updateDisplayedItems(): void;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupShowMoreAsyncModalComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLookupShowMoreAsyncModalComponent, "sky-lookup-show-more-async-modal", never, {}, {}, never, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLookupShowMoreAsyncModalComponent, "sky-lookup-show-more-async-modal", never, {}, {}, never, never, false>;
|
|
47
47
|
}
|
|
@@ -53,5 +53,5 @@ export declare class SkyLookupShowMoreModalComponent implements AfterViewInit, O
|
|
|
53
53
|
updateDataState(): void;
|
|
54
54
|
updateItemData(data: any[]): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupShowMoreModalComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLookupShowMoreModalComponent, "skyux-lookup-show-more-modal", never, {}, {}, never, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyLookupShowMoreModalComponent, "skyux-lookup-show-more-modal", never, {}, {}, never, never, false>;
|
|
57
57
|
}
|
|
@@ -125,5 +125,5 @@ export declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter imp
|
|
|
125
125
|
openPicker(initialSearch: string): void;
|
|
126
126
|
onSearchAsync(args: SkyAutocompleteSearchAsyncArgs): void;
|
|
127
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupComponent, [null, null, null, null, null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
|
|
128
|
-
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>;
|
|
128
|
+
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>;
|
|
129
129
|
}
|
|
@@ -64,5 +64,5 @@ export declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges
|
|
|
64
64
|
inputAnimationEnd(event: AnimationEvent): void;
|
|
65
65
|
ngOnDestroy(): void;
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkySearchComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkySearchComponent, "sky-search", never, { "searchText": "searchText"; "expandMode": "expandMode"; "debounceTime": "debounceTime"; "disabled": "disabled"; "placeholderText": "placeholderText"; }, { "searchApply": "searchApply"; "searchChange": "searchChange"; "searchClear": "searchClear"; }, never, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkySearchComponent, "sky-search", never, { "searchText": "searchText"; "expandMode": "expandMode"; "debounceTime": "debounceTime"; "disabled": "disabled"; "placeholderText": "placeholderText"; }, { "searchApply": "searchApply"; "searchChange": "searchChange"; "searchClear": "searchClear"; }, never, never, false>;
|
|
68
68
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-beta.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"default": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
".": {
|
|
23
|
-
"types": "./
|
|
23
|
+
"types": "./index.d.ts",
|
|
24
24
|
"esm2020": "./esm2020/skyux-lookup.mjs",
|
|
25
25
|
"es2020": "./fesm2020/skyux-lookup.mjs",
|
|
26
26
|
"es2015": "./fesm2015/skyux-lookup.mjs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"default": "./fesm2020/skyux-lookup.mjs"
|
|
29
29
|
},
|
|
30
30
|
"./testing": {
|
|
31
|
-
"types": "./testing/
|
|
31
|
+
"types": "./testing/index.d.ts",
|
|
32
32
|
"esm2020": "./esm2020/testing/skyux-lookup-testing.mjs",
|
|
33
33
|
"es2020": "./fesm2020/skyux-lookup-testing.mjs",
|
|
34
34
|
"es2015": "./fesm2015/skyux-lookup-testing.mjs",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@angular/animations": "^
|
|
44
|
-
"@angular/cdk": "^
|
|
45
|
-
"@angular/common": "^
|
|
46
|
-
"@angular/core": "^
|
|
47
|
-
"@angular/forms": "^
|
|
48
|
-
"@angular/platform-browser": "^
|
|
49
|
-
"@skyux-sdk/testing": "
|
|
50
|
-
"@skyux/core": "
|
|
51
|
-
"@skyux/forms": "
|
|
52
|
-
"@skyux/i18n": "
|
|
53
|
-
"@skyux/indicators": "
|
|
54
|
-
"@skyux/layout": "
|
|
55
|
-
"@skyux/lists": "
|
|
56
|
-
"@skyux/modals": "
|
|
57
|
-
"@skyux/theme": "
|
|
43
|
+
"@angular/animations": "^14.2.0",
|
|
44
|
+
"@angular/cdk": "^14.2.0",
|
|
45
|
+
"@angular/common": "^14.2.0",
|
|
46
|
+
"@angular/core": "^14.2.0",
|
|
47
|
+
"@angular/forms": "^14.2.0",
|
|
48
|
+
"@angular/platform-browser": "^14.2.0",
|
|
49
|
+
"@skyux-sdk/testing": "7.0.0-beta.0",
|
|
50
|
+
"@skyux/core": "7.0.0-beta.0",
|
|
51
|
+
"@skyux/forms": "7.0.0-beta.0",
|
|
52
|
+
"@skyux/i18n": "7.0.0-beta.0",
|
|
53
|
+
"@skyux/indicators": "7.0.0-beta.0",
|
|
54
|
+
"@skyux/layout": "7.0.0-beta.0",
|
|
55
|
+
"@skyux/lists": "7.0.0-beta.0",
|
|
56
|
+
"@skyux/modals": "7.0.0-beta.0",
|
|
57
|
+
"@skyux/theme": "7.0.0-beta.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"intl-tel-input": "17.0.16",
|
|
@@ -65,6 +65,6 @@
|
|
|
65
65
|
"esm2020": "esm2020/skyux-lookup.mjs",
|
|
66
66
|
"fesm2020": "fesm2020/skyux-lookup.mjs",
|
|
67
67
|
"fesm2015": "fesm2015/skyux-lookup.mjs",
|
|
68
|
-
"typings": "
|
|
68
|
+
"typings": "index.d.ts",
|
|
69
69
|
"sideEffects": false
|
|
70
70
|
}
|
|
File without changes
|
package/skyux-lookup.d.ts
DELETED
package/testing/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/skyux-lookup-testing.mjs",
|
|
3
|
-
"es2020": "../fesm2020/skyux-lookup-testing.mjs",
|
|
4
|
-
"esm2020": "../esm2020/testing/skyux-lookup-testing.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/skyux-lookup-testing.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/skyux-lookup-testing.mjs",
|
|
7
|
-
"typings": "skyux-lookup-testing.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@skyux/lookup/testing"
|
|
10
|
-
}
|