@skyux/lookup 10.41.2 → 10.41.4
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 +1092 -1051
- package/esm2022/lib/modules/autocomplete/autocomplete.component.mjs +4 -1
- package/esm2022/lib/modules/lookup/lookup-autocomplete-adapter.mjs +9 -7
- package/esm2022/lib/modules/lookup/lookup.component.mjs +2 -1
- package/fesm2022/skyux-lookup.mjs +12 -6
- package/fesm2022/skyux-lookup.mjs.map +1 -1
- package/lib/modules/lookup/lookup-autocomplete-adapter.d.ts +9 -6
- package/lib/modules/lookup/lookup.component.d.ts +1 -0
- package/package.json +11 -11
|
@@ -22,8 +22,9 @@ export declare class SkyLookupAutocompleteAdapter {
|
|
|
22
22
|
set descriptorProperty(value: string | undefined);
|
|
23
23
|
get descriptorProperty(): string;
|
|
24
24
|
/**
|
|
25
|
-
* The array of object properties to search.
|
|
25
|
+
* The array of object properties to search when utilizing the `data` property and the built-in search function.
|
|
26
26
|
* @default ["name"]
|
|
27
|
+
* @deprecated Use the `searchAsync` event emitter and callback instead to provide data to the lookup component.
|
|
27
28
|
*/
|
|
28
29
|
set propertiesToSearch(value: string[] | undefined);
|
|
29
30
|
get propertiesToSearch(): string[];
|
|
@@ -31,9 +32,8 @@ export declare class SkyLookupAutocompleteAdapter {
|
|
|
31
32
|
* The function to dynamically manage the data source when users
|
|
32
33
|
* change the text in the lookup field. The search function must return
|
|
33
34
|
* an array or a promise of an array. The `search` property is particularly
|
|
34
|
-
* useful when the data source does not live in the source code.
|
|
35
|
-
*
|
|
36
|
-
* `search`.
|
|
35
|
+
* useful when the data source does not live in the source code.
|
|
36
|
+
* @deprecated Use the `searchAsync` event emitter and callback instead to provide searched data to the lookup component.
|
|
37
37
|
*/
|
|
38
38
|
set search(value: SkyAutocompleteSearchFunction | undefined);
|
|
39
39
|
get search(): SkyAutocompleteSearchFunction | undefined;
|
|
@@ -52,21 +52,24 @@ export declare class SkyLookupAutocompleteAdapter {
|
|
|
52
52
|
searchTextMinimumCharacters: number | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* The array of functions to call against each search result in order
|
|
55
|
-
* to filter the search results when using the default search function. When
|
|
55
|
+
* to filter the search results when using the `data` input and the default search function. When
|
|
56
56
|
* using a custom search function via the `search` property filters must be
|
|
57
57
|
* applied manually inside that function. The function must return `true` or
|
|
58
58
|
* `false` for each result to indicate whether to display it in the dropdown list.
|
|
59
|
+
* @deprecated Use the `searchAsync` event emitter and callback instead to provide searched data to the lookup component.
|
|
59
60
|
*/
|
|
60
61
|
set searchFilters(value: SkyAutocompleteSearchFunctionFilter[] | undefined);
|
|
61
62
|
get searchFilters(): SkyAutocompleteSearchFunctionFilter[] | undefined;
|
|
62
63
|
/**
|
|
63
64
|
* The maximum number of search results to display in the dropdown
|
|
64
65
|
* list. By default, the lookup component displays all matching results.
|
|
66
|
+
* This property has no effect on the results in the "Show more" picker.
|
|
65
67
|
*/
|
|
66
68
|
searchResultsLimit: number | undefined;
|
|
67
69
|
/**
|
|
68
70
|
* Fires when users enter new search information and allows results to be
|
|
69
|
-
* returned via an observable.
|
|
71
|
+
* returned via an observable. The event is also fired with empty search text
|
|
72
|
+
* when the "Show more" picker is opened without search text.
|
|
70
73
|
*/
|
|
71
74
|
searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>;
|
|
72
75
|
searchOrDefault: SkyAutocompleteSearchFunction;
|
|
@@ -46,6 +46,7 @@ export declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter imp
|
|
|
46
46
|
* enter text. You can specify static data such as an array of objects, or
|
|
47
47
|
* you can pull data from a database.
|
|
48
48
|
* @default []
|
|
49
|
+
* @deprecated Use the `searchAsync` event emitter and callback instead to provide data to the lookup component.
|
|
49
50
|
*/
|
|
50
51
|
set data(value: any[] | undefined);
|
|
51
52
|
get data(): any[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "10.41.
|
|
3
|
+
"version": "10.41.4",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
"@angular/core": "^17.3.4",
|
|
43
43
|
"@angular/forms": "^17.3.4",
|
|
44
44
|
"@angular/platform-browser": "^17.3.4",
|
|
45
|
-
"@skyux-sdk/testing": "10.41.
|
|
46
|
-
"@skyux/core": "10.41.
|
|
47
|
-
"@skyux/forms": "10.41.
|
|
48
|
-
"@skyux/i18n": "10.41.
|
|
49
|
-
"@skyux/indicators": "10.41.
|
|
50
|
-
"@skyux/layout": "10.41.
|
|
51
|
-
"@skyux/lists": "10.41.
|
|
52
|
-
"@skyux/modals": "10.41.
|
|
53
|
-
"@skyux/theme": "10.41.
|
|
45
|
+
"@skyux-sdk/testing": "10.41.4",
|
|
46
|
+
"@skyux/core": "10.41.4",
|
|
47
|
+
"@skyux/forms": "10.41.4",
|
|
48
|
+
"@skyux/i18n": "10.41.4",
|
|
49
|
+
"@skyux/indicators": "10.41.4",
|
|
50
|
+
"@skyux/layout": "10.41.4",
|
|
51
|
+
"@skyux/lists": "10.41.4",
|
|
52
|
+
"@skyux/modals": "10.41.4",
|
|
53
|
+
"@skyux/theme": "10.41.4"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@skyux/icon": "10.41.
|
|
56
|
+
"@skyux/icon": "10.41.4",
|
|
57
57
|
"intl-tel-input": "19.5.5",
|
|
58
58
|
"tslib": "^2.6.2"
|
|
59
59
|
},
|