@skyux/lookup 12.27.0 → 13.0.0-alpha.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.
Files changed (95) hide show
  1. package/fesm2022/skyux-lookup-testing.mjs +8 -8
  2. package/fesm2022/skyux-lookup-testing.mjs.map +1 -1
  3. package/fesm2022/skyux-lookup.mjs +76 -74
  4. package/fesm2022/skyux-lookup.mjs.map +1 -1
  5. package/index.d.ts +1241 -41
  6. package/package.json +18 -18
  7. package/testing/index.d.ts +742 -3
  8. package/lib/modules/autocomplete/autocomplete-adapter.service.d.ts +0 -26
  9. package/lib/modules/autocomplete/autocomplete-default-search-function.d.ts +0 -3
  10. package/lib/modules/autocomplete/autocomplete-input.directive.d.ts +0 -51
  11. package/lib/modules/autocomplete/autocomplete-search-async-disabled.pipe.d.ts +0 -11
  12. package/lib/modules/autocomplete/autocomplete.component.d.ts +0 -202
  13. package/lib/modules/autocomplete/autocomplete.module.d.ts +0 -16
  14. package/lib/modules/autocomplete/types/autocomplete-default-search-function-options.d.ts +0 -10
  15. package/lib/modules/autocomplete/types/autocomplete-input-text-change.d.ts +0 -6
  16. package/lib/modules/autocomplete/types/autocomplete-message-type.d.ts +0 -13
  17. package/lib/modules/autocomplete/types/autocomplete-message.d.ts +0 -10
  18. package/lib/modules/autocomplete/types/autocomplete-search-args.d.ts +0 -4
  19. package/lib/modules/autocomplete/types/autocomplete-search-async-args.d.ts +0 -35
  20. package/lib/modules/autocomplete/types/autocomplete-search-async-function.d.ts +0 -4
  21. package/lib/modules/autocomplete/types/autocomplete-search-async-result-display-type.d.ts +0 -1
  22. package/lib/modules/autocomplete/types/autocomplete-search-async-result.d.ts +0 -25
  23. package/lib/modules/autocomplete/types/autocomplete-search-context.d.ts +0 -1
  24. package/lib/modules/autocomplete/types/autocomplete-search-function-filter.d.ts +0 -2
  25. package/lib/modules/autocomplete/types/autocomplete-search-function-response.d.ts +0 -1
  26. package/lib/modules/autocomplete/types/autocomplete-search-function.d.ts +0 -3
  27. package/lib/modules/autocomplete/types/autocomplete-selection-change.d.ts +0 -6
  28. package/lib/modules/autocomplete/types/autocomplete-show-more-args.d.ts +0 -9
  29. package/lib/modules/country-field/clone-country-data.d.ts +0 -7
  30. package/lib/modules/country-field/country-field.component.d.ts +0 -97
  31. package/lib/modules/country-field/country-field.module.d.ts +0 -13
  32. package/lib/modules/country-field/types/country-field-context-token.d.ts +0 -6
  33. package/lib/modules/country-field/types/country-field-context.d.ts +0 -6
  34. package/lib/modules/country-field/types/country.d.ts +0 -29
  35. package/lib/modules/lookup/lookup-adapter.service.d.ts +0 -10
  36. package/lib/modules/lookup/lookup-autocomplete-adapter.d.ts +0 -78
  37. package/lib/modules/lookup/lookup-show-more-modal.component.d.ts +0 -57
  38. package/lib/modules/lookup/lookup.component.d.ts +0 -161
  39. package/lib/modules/lookup/lookup.module.d.ts +0 -13
  40. package/lib/modules/lookup/types/lookup-add-click-callback-args.d.ts +0 -16
  41. package/lib/modules/lookup/types/lookup-add-click-event-args.d.ts +0 -11
  42. package/lib/modules/lookup/types/lookup-select-mode-type.d.ts +0 -1
  43. package/lib/modules/lookup/types/lookup-select-mode.d.ts +0 -14
  44. package/lib/modules/lookup/types/lookup-show-more-config.d.ts +0 -18
  45. package/lib/modules/lookup/types/lookup-show-more-custom-picker-context.d.ts +0 -18
  46. package/lib/modules/lookup/types/lookup-show-more-custom-picker.d.ts +0 -7
  47. package/lib/modules/lookup/types/lookup-show-more-native-picker-config.d.ts +0 -26
  48. package/lib/modules/lookup/types/lookup-show-more-native-picker-context.d.ts +0 -18
  49. package/lib/modules/search/search-adapter.service.d.ts +0 -15
  50. package/lib/modules/search/search.component.d.ts +0 -90
  51. package/lib/modules/search/search.module.d.ts +0 -14
  52. package/lib/modules/selection-modal/selection-modal-item-selected.pipe.d.ts +0 -10
  53. package/lib/modules/selection-modal/selection-modal.component.d.ts +0 -46
  54. package/lib/modules/selection-modal/selection-modal.module.d.ts +0 -10
  55. package/lib/modules/selection-modal/selection-modal.service.d.ts +0 -18
  56. package/lib/modules/selection-modal/types/selection-modal-add-click-callback-args.d.ts +0 -9
  57. package/lib/modules/selection-modal/types/selection-modal-add-click-event-args.d.ts +0 -11
  58. package/lib/modules/selection-modal/types/selection-modal-close-args.d.ts +0 -14
  59. package/lib/modules/selection-modal/types/selection-modal-context.d.ts +0 -19
  60. package/lib/modules/selection-modal/types/selection-modal-instance.d.ts +0 -33
  61. package/lib/modules/selection-modal/types/selection-modal-open-args.d.ts +0 -70
  62. package/lib/modules/selection-modal/types/selection-modal-result.d.ts +0 -14
  63. package/lib/modules/selection-modal/types/selection-modal-search-args.d.ts +0 -21
  64. package/lib/modules/selection-modal/types/selection-modal-search-result.d.ts +0 -25
  65. package/lib/modules/shared/sky-lookup-resources.module.d.ts +0 -10
  66. package/lib/modules/shared/sky-lookup-string-utils.d.ts +0 -5
  67. package/testing/legacy/country-field/country-field-fixture.d.ts +0 -37
  68. package/testing/legacy/country-field/country-field-testing.module.d.ts +0 -10
  69. package/testing/legacy/search/search-fixture.d.ts +0 -29
  70. package/testing/legacy/search/search-testing.module.d.ts +0 -11
  71. package/testing/modules/autocomplete/autocomplete-harness-filters.d.ts +0 -6
  72. package/testing/modules/autocomplete/autocomplete-harness.d.ts +0 -104
  73. package/testing/modules/autocomplete/autocomplete-input-harness.d.ts +0 -14
  74. package/testing/modules/autocomplete/autocomplete-search-result-harness-filters.d.ts +0 -10
  75. package/testing/modules/autocomplete/autocomplete-search-result-harness.d.ts +0 -30
  76. package/testing/modules/country-field/country-field-harness-filters.d.ts +0 -6
  77. package/testing/modules/country-field/country-field-harness.d.ts +0 -92
  78. package/testing/modules/country-field/country-field-search-result-harness-filters.d.ts +0 -6
  79. package/testing/modules/country-field/country-field-search-result-harness.d.ts +0 -20
  80. package/testing/modules/lookup/lookup-harness-filters.d.ts +0 -6
  81. package/testing/modules/lookup/lookup-harness.d.ts +0 -114
  82. package/testing/modules/lookup/lookup-search-result-harness-filters.d.ts +0 -6
  83. package/testing/modules/lookup/lookup-search-result-harness.d.ts +0 -17
  84. package/testing/modules/lookup/lookup-selection-harness.d.ts +0 -6
  85. package/testing/modules/lookup/lookup-selections-list-harness.d.ts +0 -20
  86. package/testing/modules/lookup/lookup-show-more-picker-harness-filters.d.ts +0 -6
  87. package/testing/modules/lookup/lookup-show-more-picker-harness.d.ts +0 -23
  88. package/testing/modules/lookup/lookup-show-more-picker-search-result-harness-filters.d.ts +0 -6
  89. package/testing/modules/lookup/lookup-show-more-picker-search-result-harness.d.ts +0 -6
  90. package/testing/modules/search/search-harness-filters.d.ts +0 -6
  91. package/testing/modules/search/search-harness.d.ts +0 -78
  92. package/testing/modules/selection-modal/selection-modal-harness.d.ts +0 -85
  93. package/testing/modules/selection-modal/selection-modal-search-result-harness-filters.d.ts +0 -6
  94. package/testing/modules/selection-modal/selection-modal-search-result-harness.d.ts +0 -6
  95. package/testing/public-api.d.ts +0 -28
package/index.d.ts CHANGED
@@ -1,41 +1,1241 @@
1
- export { SkyAutocompleteModule } from './lib/modules/autocomplete/autocomplete.module';
2
- export { SkyAutocompleteDefaultSearchFunctionOptions } from './lib/modules/autocomplete/types/autocomplete-default-search-function-options';
3
- export { SkyAutocompleteInputTextChange } from './lib/modules/autocomplete/types/autocomplete-input-text-change';
4
- export { SkyAutocompleteSearchAsyncArgs } from './lib/modules/autocomplete/types/autocomplete-search-async-args';
5
- export { SkyAutocompleteSearchAsyncResult } from './lib/modules/autocomplete/types/autocomplete-search-async-result';
6
- export { AutocompleteSearchAsyncResultDisplayType } from './lib/modules/autocomplete/types/autocomplete-search-async-result-display-type';
7
- export { SkyAutocompleteSearchFunction } from './lib/modules/autocomplete/types/autocomplete-search-function';
8
- export { SkyAutocompleteSearchFunctionFilter } from './lib/modules/autocomplete/types/autocomplete-search-function-filter';
9
- export { SkyAutocompleteSearchFunctionResponse } from './lib/modules/autocomplete/types/autocomplete-search-function-response';
10
- export { SkyAutocompleteSelectionChange } from './lib/modules/autocomplete/types/autocomplete-selection-change';
11
- export { SkyCountryFieldModule } from './lib/modules/country-field/country-field.module';
12
- export { SkyCountryFieldCountry } from './lib/modules/country-field/types/country';
13
- export { SkyCountryFieldContext } from './lib/modules/country-field/types/country-field-context';
14
- export { SKY_COUNTRY_FIELD_CONTEXT } from './lib/modules/country-field/types/country-field-context-token';
15
- export { SkyAutocompleteSearchArgs } from './lib/modules/autocomplete/types/autocomplete-search-args';
16
- export { SkyAutocompleteSearchContext } from './lib/modules/autocomplete/types/autocomplete-search-context';
17
- export { SkyLookupModule } from './lib/modules/lookup/lookup.module';
18
- export { SkyLookupAddCallbackArgs } from './lib/modules/lookup/types/lookup-add-click-callback-args';
19
- export { SkyLookupAddClickEventArgs } from './lib/modules/lookup/types/lookup-add-click-event-args';
20
- export { SkyLookupSelectMode } from './lib/modules/lookup/types/lookup-select-mode';
21
- export { SkyLookupSelectModeType } from './lib/modules/lookup/types/lookup-select-mode-type';
22
- export { SkyLookupShowMoreConfig } from './lib/modules/lookup/types/lookup-show-more-config';
23
- export { SkyLookupShowMoreCustomPicker } from './lib/modules/lookup/types/lookup-show-more-custom-picker';
24
- export { SkyLookupShowMoreCustomPickerContext } from './lib/modules/lookup/types/lookup-show-more-custom-picker-context';
25
- export { SkyLookupShowMoreNativePickerConfig } from './lib/modules/lookup/types/lookup-show-more-native-picker-config';
26
- export { SkySearchModule } from './lib/modules/search/search.module';
27
- export { SkySelectionModalModule } from './lib/modules/selection-modal/selection-modal.module';
28
- export { SkySelectionModalService } from './lib/modules/selection-modal/selection-modal.service';
29
- export { SkySelectionModalAddCallbackArgs } from './lib/modules/selection-modal/types/selection-modal-add-click-callback-args';
30
- export { SkySelectionModalAddClickEventArgs } from './lib/modules/selection-modal/types/selection-modal-add-click-event-args';
31
- export { SkySelectionModalCloseArgs } from './lib/modules/selection-modal/types/selection-modal-close-args';
32
- export { SkySelectionModalInstance } from './lib/modules/selection-modal/types/selection-modal-instance';
33
- export { SkySelectionModalOpenArgs } from './lib/modules/selection-modal/types/selection-modal-open-args';
34
- export { SkySelectionModalResult } from './lib/modules/selection-modal/types/selection-modal-result';
35
- export { SkySelectionModalSearchArgs } from './lib/modules/selection-modal/types/selection-modal-search-args';
36
- export { SkySelectionModalSearchResult } from './lib/modules/selection-modal/types/selection-modal-search-result';
37
- export { SkySearchComponent } from './lib/modules/search/search.component';
38
- export { SkyAutocompleteInputDirective as λ1 } from './lib/modules/autocomplete/autocomplete-input.directive';
39
- export { SkyAutocompleteComponent as λ2 } from './lib/modules/autocomplete/autocomplete.component';
40
- export { SkyCountryFieldComponent as λ3 } from './lib/modules/country-field/country-field.component';
41
- export { SkyLookupComponent as λ4 } from './lib/modules/lookup/lookup.component';
1
+ import * as i0 from '@angular/core';
2
+ import { RendererFactory2, ElementRef, OnInit, OnDestroy, AfterViewInit, TemplateRef, EventEmitter, ChangeDetectorRef, PipeTransform, Injector, InjectionToken, Renderer2, 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';
7
+ import { Observable, Subject } from 'rxjs';
8
+ import * as i3 from '@angular/forms';
9
+ import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, UntypedFormControl, NgControl } from '@angular/forms';
10
+ import * as i2 from '@angular/common';
11
+ import * as i7 from '@skyux/indicators';
12
+ import { SkyToken, SkyTokensMessage } from '@skyux/indicators';
13
+ import * as i8 from '@skyux/icon';
14
+ import * as i1 from '@skyux/i18n';
15
+ import * as i7$1 from '@skyux/theme';
16
+ import { SkyThemeService } from '@skyux/theme';
17
+ import { AnimationEvent } from '@angular/animations';
18
+ import { SkyModalService } from '@skyux/modals';
19
+
20
+ /**
21
+ * @internal
22
+ */
23
+ declare class SkyAutocompleteAdapterService {
24
+ #private;
25
+ constructor(coreAdapterService: SkyCoreAdapterService, rendererFactory: RendererFactory2);
26
+ /**
27
+ * Adds the className for the provided element.
28
+ */
29
+ addCSSClass(element: HTMLElement, className: string): void;
30
+ getOverlayFocusableElements(overlay: SkyOverlayInstance): HTMLElement[];
31
+ /**
32
+ * Removes the className for the provided element.
33
+ */
34
+ removeCSSClass(element: HTMLElement, className: string): void;
35
+ setDropdownWidth(elementRef: ElementRef, dropdownRef: ElementRef, isInputBox: boolean): void;
36
+ /**
37
+ * Sets the `tabIndex` of the `element` to the provided `tabIndex`.
38
+ */
39
+ setTabIndex(element: HTMLElement, tabIndex: number): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteAdapterService, never>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyAutocompleteAdapterService>;
42
+ }
43
+
44
+ /**
45
+ * @internal
46
+ */
47
+ interface SkyAutocompleteInputTextChange {
48
+ value?: string;
49
+ }
50
+
51
+ declare class SkyAutocompleteInputDirective implements OnInit, OnDestroy, ControlValueAccessor, Validator {
52
+ #private;
53
+ /**
54
+ * The value for the `autocomplete` attribute on the form input.
55
+ * @default "off"
56
+ * @deprecated SKY UX only supports browser autofill on components where the direct input matches the return value. This input may not behave as expected due to the dropdown selection interaction.
57
+ */
58
+ set autocompleteAttribute(value: string | undefined);
59
+ get autocompleteAttribute(): string;
60
+ /**
61
+ * Whether to disable the autocomplete field on template-driven forms. Don't use this input on reactive forms because they may overwrite the input or leave the control out of sync.
62
+ * To set the disabled state on reactive forms, use the `FormControl` instead.
63
+ * @default false
64
+ */
65
+ set disabled(value: boolean | undefined);
66
+ get disabled(): boolean;
67
+ get blur(): Observable<void>;
68
+ get displayWith(): string;
69
+ set displayWith(value: string);
70
+ get focus(): Observable<void>;
71
+ get inputTextValue(): string;
72
+ set inputTextValue(value: string);
73
+ get textChanges(): Observable<SkyAutocompleteInputTextChange>;
74
+ get value(): any;
75
+ set value(value: any);
76
+ constructor();
77
+ ngOnInit(): void;
78
+ ngOnDestroy(): void;
79
+ writeValue(value: any): void;
80
+ registerOnChange(fn: (value: any) => void): void;
81
+ registerOnTouched(fn: () => void): void;
82
+ registerOnValidatorChange(fn: () => void): void;
83
+ restoreInputTextValueToPreviousState(): void;
84
+ setDisabledState(disabled: boolean): void;
85
+ validate(control: AbstractControl): ValidationErrors | null;
86
+ setActiveDescendant(descendantId: string | null): void;
87
+ /**
88
+ * Used to connect the input to the overlay.
89
+ */
90
+ setAriaControls(overlayId: string | null): void;
91
+ onChange(value: any): void;
92
+ onTouched(): void;
93
+ onValidatorChange: () => void;
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteInputDirective, never>;
95
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SkyAutocompleteInputDirective, "input[skyAutocomplete], textarea[skyAutocomplete]", never, { "autocompleteAttribute": { "alias": "autocompleteAttribute"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
96
+ }
97
+
98
+ /**
99
+ * @internal
100
+ */
101
+ declare enum SkyAutocompleteMessageType {
102
+ /**
103
+ * Closes the dropdown.
104
+ */
105
+ CloseDropdown = 0,
106
+ /**
107
+ * Repositions the dropdown.
108
+ */
109
+ RepositionDropdown = 1
110
+ }
111
+
112
+ /**
113
+ * @internal
114
+ */
115
+ interface SkyAutocompleteMessage {
116
+ /**
117
+ * The type of message.
118
+ */
119
+ type?: SkyAutocompleteMessageType;
120
+ }
121
+
122
+ /**
123
+ * The result of searching for items to display in an autocomplete or lookup field.
124
+ */
125
+ interface SkyAutocompleteSearchAsyncResult {
126
+ /**
127
+ * Data provided on "load more" search result requests. Use this property for
128
+ * information such as a continuation token for paged database queries.
129
+ */
130
+ continuationData?: unknown;
131
+ /**
132
+ * Whether there are more results that match the search criteria.
133
+ */
134
+ hasMore?: boolean;
135
+ /**
136
+ * A list of items matching the search criteria. When there are more items that match
137
+ * the search criteria, set the `hasMore` property to `true` more records can be lazy-loaded
138
+ * as the user scrolls through the search results.
139
+ */
140
+ items: unknown[];
141
+ /**
142
+ * The total number of records that match the search criteria, including items not returned in
143
+ * the current list of items.
144
+ */
145
+ totalCount: number;
146
+ }
147
+
148
+ type AutocompleteSearchAsyncResultDisplayType = 'popover' | 'modal';
149
+
150
+ /**
151
+ * Arguments passed when an asynchronous search is executed from the
152
+ * autocomplete or lookup component.
153
+ */
154
+ interface SkyAutocompleteSearchAsyncArgs {
155
+ /**
156
+ * The search text entered by the user.
157
+ */
158
+ searchText: string;
159
+ /**
160
+ * How the search results will be displayed. Use this value to determine
161
+ * how many results to return.
162
+ */
163
+ displayType: AutocompleteSearchAsyncResultDisplayType;
164
+ /**
165
+ * The offset index of the first result to return. When search is executed
166
+ * as a result of an infinite scroll event, for example, offset will be set
167
+ * to the number of items already displayed.
168
+ */
169
+ offset: number;
170
+ /**
171
+ * A continuation token which can be set and then will be passed back with any future searches.
172
+ * This is helpful for applications which utilize a token instead of an offset when fetching data.
173
+ */
174
+ continuationData?: unknown;
175
+ /**
176
+ * An Observable representing the search results. Consumers should set this
177
+ * when the event fires so the autocomplete or lookup component can subscribe
178
+ * to it and then display the results.
179
+ */
180
+ result?: Observable<SkyAutocompleteSearchAsyncResult>;
181
+ }
182
+
183
+ type SkyAutocompleteSearchContext = 'popover' | 'modal';
184
+
185
+ interface SkyAutocompleteSearchArgs {
186
+ context?: SkyAutocompleteSearchContext;
187
+ }
188
+
189
+ type SkyAutocompleteSearchFunctionResponse = any[] | Promise<any[]>;
190
+
191
+ type SkyAutocompleteSearchFunction = (searchText: string, data: any[], args?: SkyAutocompleteSearchArgs) => SkyAutocompleteSearchFunctionResponse;
192
+
193
+ type SkyAutocompleteSearchFunctionFilter = (searchText: string, item: any, args?: SkyAutocompleteSearchArgs) => boolean;
194
+
195
+ interface SkyAutocompleteSelectionChange {
196
+ /**
197
+ * The search result object that users select in the dropdown list.
198
+ */
199
+ selectedItem?: any;
200
+ }
201
+
202
+ /**
203
+ * @internal
204
+ */
205
+ interface SkyAutocompleteShowMoreArgs {
206
+ /**
207
+ * Returns the value of the input element when the show more event is triggered.
208
+ */
209
+ inputValue: string;
210
+ }
211
+
212
+ /**
213
+ * @internal
214
+ */
215
+ interface SkyAutocompleteSearchResult {
216
+ elementId: string;
217
+ data: any;
218
+ }
219
+ declare class SkyAutocompleteComponent implements OnDestroy, AfterViewInit {
220
+ #private;
221
+ /**
222
+ * The HTML element ID of the element that labels
223
+ * the autocomplete text input. This sets the input's `aria-labelledby` attribute to provide a text equivalent for screen readers
224
+ * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
225
+ * For more information about the `aria-labelledby` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-labelledby).
226
+ */
227
+ ariaLabelledBy: string | undefined;
228
+ /**
229
+ * The static data source for the autocomplete component to search
230
+ * when users enter text. For a dynamic data source such as an array that
231
+ * changes due to server calls, use `search` or `searchAsync` instead.
232
+ */
233
+ set data(value: any[] | undefined);
234
+ get data(): any[];
235
+ /**
236
+ * How many milliseconds to wait before searching while users
237
+ * enter text in the autocomplete field.
238
+ * @default 0
239
+ */
240
+ set debounceTime(value: number | undefined);
241
+ get debounceTime(): number;
242
+ /**
243
+ * The object property to display in the text input after users
244
+ * select an item in the dropdown list.
245
+ * @default "name"
246
+ */
247
+ set descriptorProperty(value: string | undefined);
248
+ get descriptorProperty(): string;
249
+ /**
250
+ * Hint text to show in the dropdown
251
+ * @internal
252
+ */
253
+ dropdownHintText: string | undefined;
254
+ /**
255
+ * @internal
256
+ * Whether to display a button in the dropdown that opens a picker where users can view all options.
257
+ */
258
+ set enableShowMore(value: boolean | undefined);
259
+ get enableShowMore(): boolean;
260
+ /**
261
+ * The observable of `SkyAutocompleteMessage` that can close the dropdown.
262
+ * @internal
263
+ */
264
+ set messageStream(value: Subject<SkyAutocompleteMessage> | undefined);
265
+ get messageStream(): Subject<SkyAutocompleteMessage>;
266
+ /**
267
+ * @internal
268
+ */
269
+ wrapperClass: string | undefined;
270
+ /**
271
+ * The object properties to search.
272
+ * @default ["name"]
273
+ * @deprecated We recommend against using this property. To search specific properties, use the `searchAsync` event instead.
274
+ */
275
+ set propertiesToSearch(value: string[] | undefined);
276
+ get propertiesToSearch(): string[];
277
+ /**
278
+ * The function that dynamically manages the data source when users
279
+ * change the text in the autocomplete field. The search function must return
280
+ * an array or a promise of an array. The `search` property is particularly
281
+ * useful when the data source does not live in the source code.
282
+ * @deprecated We recommend against using this property. To call a remote data source, use the `searchAsync` event instead.
283
+ */
284
+ set search(value: SkyAutocompleteSearchFunction | undefined);
285
+ get search(): SkyAutocompleteSearchFunction | undefined;
286
+ /**
287
+ * The template that formats each search result in the dropdown list.
288
+ * The autocomplete component injects search result values into the template
289
+ * as `item` variables that reference all of the object properties of the search results.
290
+ */
291
+ searchResultTemplate: TemplateRef<unknown> | undefined;
292
+ /**
293
+ * The minimum number of characters that users must enter before
294
+ * the autocomplete component searches the data source and displays search
295
+ * results in the dropdown list.
296
+ * @default 1
297
+ */
298
+ set searchTextMinimumCharacters(value: number | undefined);
299
+ get searchTextMinimumCharacters(): number;
300
+ /**
301
+ * The array of functions to call against each search result in order
302
+ * to filter the search results when using the default search function. When
303
+ * using the `search` property to specify a custom search function, you must
304
+ * manually apply filters inside that function. The function must return `true`
305
+ * or `false` for each result to indicate whether to display it in the dropdown list.
306
+ * @deprecated We recommend against using this property. To filter results, use the `searchAsync` event instead.
307
+ */
308
+ set searchFilters(value: SkyAutocompleteSearchFunctionFilter[] | undefined);
309
+ get searchFilters(): SkyAutocompleteSearchFunctionFilter[] | undefined;
310
+ /**
311
+ * The maximum number of search results to display in the dropdown list.
312
+ * By default, the component displays all matching results.
313
+ */
314
+ set searchResultsLimit(value: number | undefined);
315
+ get searchResultsLimit(): number;
316
+ /**
317
+ * @internal
318
+ * Whether to display a button that lets users add options to the data source.
319
+ * @default false
320
+ */
321
+ set showAddButton(value: boolean | undefined);
322
+ get showAddButton(): boolean;
323
+ /**
324
+ * The text to display when no search results are found.
325
+ * @default "No matches found"
326
+ */
327
+ noResultsFoundText: string | undefined;
328
+ /**
329
+ * @internal
330
+ * Allows async search to be disabled even when a listener is specified for
331
+ * the `searchAsync` output.
332
+ * @default false
333
+ */
334
+ searchAsyncDisabled: boolean | undefined;
335
+ /**
336
+ * When using `searchAsync`, allows the user to specify arbitrary
337
+ * values not in the search results. This only works in combination
338
+ * with `searchAsync`.
339
+ * @default false
340
+ */
341
+ allowAnyValue: i0.InputSignalWithTransform<boolean, unknown>;
342
+ /**
343
+ * Highlights the search text in each search result. Set this to false
344
+ * when your search finds results that are not exact text matches, e.g.
345
+ * returning "Bob" for the term "Robert."
346
+ * @default true
347
+ */
348
+ highlightSearchText: i0.InputSignalWithTransform<boolean, unknown>;
349
+ /**
350
+ * @internal
351
+ * Fires when users select the button to add options to the data source.
352
+ */
353
+ addClick: EventEmitter<void>;
354
+ /**
355
+ * @internal
356
+ * Fires when users select the button to view all options.
357
+ */
358
+ showMoreClick: EventEmitter<SkyAutocompleteShowMoreArgs>;
359
+ /**
360
+ * Fires when users select items in the dropdown list.
361
+ */
362
+ selectionChange: EventEmitter<SkyAutocompleteSelectionChange>;
363
+ /**
364
+ * Fires when users enter new search information and allows results to be
365
+ * returned via an observable.
366
+ */
367
+ searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>;
368
+ /**
369
+ * @internal
370
+ */
371
+ openChange: EventEmitter<boolean>;
372
+ get searchResults(): SkyAutocompleteSearchResult[];
373
+ set searchResults(value: SkyAutocompleteSearchResult[]);
374
+ get highlightText(): string[];
375
+ set highlightText(value: string[]);
376
+ isOpen: boolean;
377
+ resultsListId: string;
378
+ resultsWrapperId: string;
379
+ searchText: string;
380
+ get showActionsArea(): boolean;
381
+ isSearchingAsync: boolean;
382
+ searchResultsCount: number | undefined;
383
+ set inputDirective(directive: SkyAutocompleteInputDirective | undefined);
384
+ get inputDirective(): SkyAutocompleteInputDirective | undefined;
385
+ resultsTemplateRef: TemplateRef<unknown> | undefined;
386
+ set resultsRef(value: ElementRef | undefined);
387
+ get resultsRef(): ElementRef | undefined;
388
+ searchOrDefault: SkyAutocompleteSearchFunction;
389
+ protected isResultsVisible: Observable<boolean>;
390
+ constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef, affixService: SkyAffixService, adapterService: SkyAutocompleteAdapterService, overlayService: SkyOverlayService, inputBoxHostSvc?: SkyInputBoxHostService, stackingContext?: SkyStackingContext);
391
+ ngAfterViewInit(): void;
392
+ ngOnDestroy(): void;
393
+ addButtonClicked(): void;
394
+ handleKeydown(event: KeyboardEvent): void;
395
+ moreButtonClicked(): void;
396
+ onResultClick(id: string, event: MouseEvent): void;
397
+ onResultMouseMove(id: number): void;
398
+ isElementFocused(ref: HTMLElement): boolean;
399
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
400
+ 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>;
401
+ }
402
+
403
+ /**
404
+ * @internal
405
+ */
406
+ declare class SkyAutocompleteSearchAsyncDisabledPipe implements PipeTransform {
407
+ transform(searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>, searchAsyncDisabled: boolean | undefined): boolean;
408
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteSearchAsyncDisabledPipe, never>;
409
+ static ɵpipe: i0.ɵɵPipeDeclaration<SkyAutocompleteSearchAsyncDisabledPipe, "skyAutocompleteSearchAsyncDisabled", false>;
410
+ }
411
+
412
+ /**
413
+ * Import into any component library module that needs to use resource strings.
414
+ */
415
+ declare class SkyLookupResourcesModule {
416
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupResourcesModule, never>;
417
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLookupResourcesModule, never, never, [typeof i1.SkyI18nModule]>;
418
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyLookupResourcesModule>;
419
+ }
420
+
421
+ declare class SkyAutocompleteModule {
422
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyAutocompleteModule, never>;
423
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyAutocompleteModule, [typeof SkyAutocompleteComponent, typeof SkyAutocompleteInputDirective, typeof SkyAutocompleteSearchAsyncDisabledPipe], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i6.SkyAffixModule, typeof i7.SkyTextHighlightModule, typeof i8.SkyIconModule, typeof i6.SkyIdModule, typeof SkyLookupResourcesModule, typeof i6.SkyNumericModule, typeof i7$1.SkyThemeModule, typeof i7.SkyWaitModule], [typeof SkyAutocompleteComponent, typeof SkyAutocompleteInputDirective]>;
424
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyAutocompleteModule>;
425
+ }
426
+
427
+ /**
428
+ * @internal
429
+ */
430
+ interface SkyAutocompleteDefaultSearchFunctionOptions {
431
+ propertiesToSearch: string[];
432
+ searchFilters?: SkyAutocompleteSearchFunctionFilter[];
433
+ /** @deprecated */
434
+ searchResultsLimit?: number;
435
+ }
436
+
437
+ /**
438
+ * Represents the data for a given country.
439
+ */
440
+ interface SkyCountryFieldCountry {
441
+ /**
442
+ * The [International Organization for Standardization Alpha 2](https://www.nationsonline.org/oneworld/country_code_list.htm)
443
+ * country code for the country.
444
+ * @required
445
+ */
446
+ iso2: string;
447
+ /**
448
+ * The name of the country.
449
+ */
450
+ name?: string;
451
+ /**
452
+ * The country's international dial code.
453
+ * This property is only set when the country field is within a phone field.
454
+ * @internal
455
+ */
456
+ dialCode?: string;
457
+ /**
458
+ * @internal
459
+ */
460
+ areaCodes?: string[];
461
+ /**
462
+ * @internal
463
+ */
464
+ priority?: number;
465
+ }
466
+
467
+ /**
468
+ * @internal
469
+ */
470
+ interface SkyCountryFieldContext {
471
+ inPhoneField: boolean;
472
+ }
473
+
474
+ declare class SkyCountryFieldComponent implements ControlValueAccessor, OnDestroy, OnInit, Validator {
475
+ #private;
476
+ inputBoxHostSvc?: SkyInputBoxHostService | undefined;
477
+ /**
478
+ * The value for the HTML `autocomplete` attribute on the form input.
479
+ * @default 'off'
480
+ * @deprecated SKY UX only supports browser autofill on components where the direct input matches the return value. This input may not behave as expected due to the dropdown selection interaction.
481
+ */
482
+ autocompleteAttribute: string | undefined;
483
+ /**
484
+ * The [International Organization for Standardization Alpha 2](https://www.nationsonline.org/oneworld/country_code_list.htm)
485
+ * country code for the default country.
486
+ * When search results include the default country, it appears at the top of the list.
487
+ * @default "us"
488
+ */
489
+ set defaultCountry(value: string | undefined);
490
+ get defaultCountry(): string | undefined;
491
+ /**
492
+ * Whether to disable the country field on template-driven forms. Don't use this input on reactive forms because they may overwrite the input or leave the control out of sync.
493
+ * To set the disabled state on reactive forms, use the `FormControl` instead.
494
+ * @default false
495
+ */
496
+ set disabled(isDisabled: boolean | undefined);
497
+ get disabled(): boolean;
498
+ /**
499
+ * The [International Organization for Standardization Alpha 2](https://www.nationsonline.org/oneworld/country_code_list.htm)
500
+ * country codes for the countries that users can select. By default, all countries are available.
501
+ */
502
+ set supportedCountryISOs(value: string[] | undefined);
503
+ get supportedCountryISOs(): string[];
504
+ /**
505
+ * Fires when the selected country changes.
506
+ */
507
+ selectedCountryChange: EventEmitter<SkyCountryFieldCountry>;
508
+ /**
509
+ * Fires when the country field is focused out.
510
+ * @internal
511
+ */
512
+ countryFieldFocusout: EventEmitter<FocusEvent>;
513
+ countries: SkyCountryFieldCountry[];
514
+ countrySearchFormControl: UntypedFormControl;
515
+ searchTextMinimumCharacters: number;
516
+ countrySearchAutocompleteDirective: SkyAutocompleteInputDirective | undefined;
517
+ set selectedCountry(newCountry: SkyCountryFieldCountry | undefined);
518
+ get selectedCountry(): SkyCountryFieldCountry | undefined;
519
+ context: SkyCountryFieldContext | null;
520
+ inputId: string;
521
+ protected ariaDescribedBy: Observable<string | undefined> | undefined;
522
+ inputTemplateRef: TemplateRef<unknown> | undefined;
523
+ constructor(changeDetector: ChangeDetectorRef, injector: Injector, inputBoxHostSvc?: SkyInputBoxHostService | undefined);
524
+ /**
525
+ * Angular lifecycle hook for when the component is initialized
526
+ * @internal
527
+ */
528
+ ngOnInit(): void;
529
+ /**
530
+ * Angular lifecycle hook for when the component is destructed.
531
+ * @internal
532
+ */
533
+ ngOnDestroy(): void;
534
+ /**
535
+ * Sets the component's touched value when the autocomplete is blurred
536
+ * @internal
537
+ */
538
+ onAutocompleteBlur(): void;
539
+ /**
540
+ * Sets the country to validate against based on the county's iso2 code.
541
+ * @param newCountry The International Organization for Standardization's two-letter code
542
+ * for the default country.
543
+ * @internal
544
+ */
545
+ onCountrySelected(newCountry: SkyAutocompleteSelectionChange): void;
546
+ /**
547
+ * Called when the Autocomplete textarea loses focus
548
+ * @internal
549
+ */
550
+ onAutocompleteFocusout(e: FocusEvent): void;
551
+ onChange: (value: SkyCountryFieldCountry | undefined) => void;
552
+ onTouched: () => void;
553
+ registerOnChange(fn: (value: SkyCountryFieldCountry | undefined) => void): void;
554
+ registerOnTouched(fn: () => void): void;
555
+ setDisabledState(disabled: boolean): void;
556
+ validate(control: AbstractControl): ValidationErrors | null;
557
+ writeValue(value: SkyCountryFieldCountry | undefined): void;
558
+ protected onFocus($event: FocusEvent): void;
559
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent, [null, null, { optional: true; }]>;
560
+ 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"; "countryFieldFocusout": "countryFieldFocusout"; }, never, never, false, never>;
561
+ }
562
+
563
+ declare class SkyCountryFieldModule {
564
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldModule, never>;
565
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyCountryFieldModule, [typeof SkyCountryFieldComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof SkyAutocompleteModule, typeof i8.SkyIconModule, typeof SkyLookupResourcesModule, typeof i7$1.SkyThemeModule], [typeof SkyCountryFieldComponent]>;
566
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyCountryFieldModule>;
567
+ }
568
+
569
+ /**
570
+ * @internal
571
+ */
572
+ declare const SKY_COUNTRY_FIELD_CONTEXT: InjectionToken<SkyCountryFieldContext>;
573
+
574
+ /**
575
+ * @internal
576
+ */
577
+ declare class SkyLookupAutocompleteAdapter {
578
+ #private;
579
+ /**
580
+ * How many milliseconds to wait before searching while users
581
+ * enter text in the lookup field.
582
+ * @default 0
583
+ */
584
+ debounceTime: number | undefined;
585
+ /**
586
+ * The object property to display in the text input after users
587
+ * select an item in the dropdown list.
588
+ * @default "name"
589
+ */
590
+ set descriptorProperty(value: string | undefined);
591
+ get descriptorProperty(): string;
592
+ /**
593
+ * The array of object properties to search when utilizing the `data` property and the built-in search function.
594
+ * @default ["name"]
595
+ * @deprecated Use the `searchAsync` event emitter and callback instead to provide data to the lookup component.
596
+ */
597
+ set propertiesToSearch(value: string[] | undefined);
598
+ get propertiesToSearch(): string[];
599
+ /**
600
+ * The function to dynamically manage the data source when users
601
+ * change the text in the lookup field. The search function must return
602
+ * an array or a promise of an array. The `search` property is particularly
603
+ * useful when the data source does not live in the source code.
604
+ * @deprecated Use the `searchAsync` event emitter and callback instead to provide searched data to the lookup component.
605
+ */
606
+ set search(value: SkyAutocompleteSearchFunction | undefined);
607
+ get search(): SkyAutocompleteSearchFunction | undefined;
608
+ /**
609
+ * The template that formats each option in the dropdown list. The lookup component
610
+ * injects values into the template as `item` variables that reference all the object
611
+ * properties of the options.
612
+ */
613
+ searchResultTemplate: TemplateRef<unknown> | undefined;
614
+ /**
615
+ * The minimum number of characters that users must enter before
616
+ * the lookup component searches the data source and displays search results
617
+ * in the dropdown list.
618
+ * @default 1
619
+ */
620
+ searchTextMinimumCharacters: number | undefined;
621
+ /**
622
+ * The array of functions to call against each search result in order
623
+ * to filter the search results when using the `data` input and the default search function. When
624
+ * using a custom search function via the `search` property filters must be
625
+ * applied manually inside that function. The function must return `true` or
626
+ * `false` for each result to indicate whether to display it in the dropdown list.
627
+ * @deprecated Use the `searchAsync` event emitter and callback instead to provide searched data to the lookup component.
628
+ */
629
+ set searchFilters(value: SkyAutocompleteSearchFunctionFilter[] | undefined);
630
+ get searchFilters(): SkyAutocompleteSearchFunctionFilter[] | undefined;
631
+ /**
632
+ * The maximum number of search results to display in the dropdown
633
+ * list. By default, the lookup component displays all matching results.
634
+ * This property has no effect on the results in the "Show more" picker.
635
+ */
636
+ searchResultsLimit: number | undefined;
637
+ /**
638
+ * Fires when users enter new search information and allows results to be
639
+ * returned via an observable. The event is also fired with empty search text
640
+ * when the "Show more" picker is opened without search text.
641
+ */
642
+ searchAsync: EventEmitter<SkyAutocompleteSearchAsyncArgs>;
643
+ searchOrDefault: SkyAutocompleteSearchFunction;
644
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupAutocompleteAdapter, never>;
645
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SkyLookupAutocompleteAdapter, never, never, { "debounceTime": { "alias": "debounceTime"; "required": false; }; "descriptorProperty": { "alias": "descriptorProperty"; "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; }; }, { "searchAsync": "searchAsync"; }, never, never, true, never>;
646
+ }
647
+
648
+ /**
649
+ * Specifies the information for the callback used when adding a new item to the lookup component.
650
+ */
651
+ interface SkyLookupAddCallbackArgs {
652
+ /**
653
+ * The new item which has been added to the data. This item will be automatically selected.
654
+ */
655
+ item: any;
656
+ /**
657
+ * The new state of the data source for the lookup component to search when users
658
+ * enter text. If not specified, the component will use the current state of the lookup
659
+ * component's `data` input; however, if this is not yet updated the new item will not be
660
+ * automatically selected.
661
+ */
662
+ data?: any[];
663
+ }
664
+
665
+ /**
666
+ * Specifies a callback function for the consumer to use to notify the lookup that a new item has been added.
667
+ */
668
+ interface SkyLookupAddClickEventArgs {
669
+ /**
670
+ * A callback function for the consumer to use to notify the lookup that a new item has been added.
671
+ * @param args Specifies information about the item that was added.
672
+ */
673
+ itemAdded: (args: SkyLookupAddCallbackArgs) => void;
674
+ }
675
+
676
+ type SkyLookupSelectModeType = 'single' | 'multiple';
677
+
678
+ /**
679
+ * Specifies configuration options to launch a custom picker when users select
680
+ * the button to view all options.
681
+ */
682
+ declare class SkyLookupShowMoreCustomPickerContext {
683
+ /**
684
+ * The options that users can select in the custom picker.
685
+ */
686
+ items: any[];
687
+ /**
688
+ * Search text to filter the contents of the custom picker.
689
+ */
690
+ initialSearch: string;
691
+ /**
692
+ * The current selections in the lookup field.
693
+ */
694
+ initialValue: any;
695
+ }
696
+
697
+ /**
698
+ * Defines a custom picker to display when users select the button to view all options.
699
+ */
700
+ interface SkyLookupShowMoreCustomPicker {
701
+ open: (pickerContext: SkyLookupShowMoreCustomPickerContext) => void;
702
+ }
703
+
704
+ /**
705
+ * Specifies configuration options to display the native picker when users select
706
+ * the button to view all options.
707
+ */
708
+ interface SkyLookupShowMoreNativePickerConfig {
709
+ /**
710
+ * The template that formats each option in the picker. The lookup component
711
+ * injects values into the template as `item` variables that reference all the object
712
+ * properties of the options. If you do not specify a template, the picker uses
713
+ * the same template as the dropdown list.
714
+ */
715
+ itemTemplate?: TemplateRef<unknown>;
716
+ /**
717
+ * The title for the picker.
718
+ * @default "Select an option/Select options"
719
+ * @deprecated Use the `selectionDescriptor` input to give context to the title and accessibility labels instead.
720
+ */
721
+ title?: string;
722
+ /**
723
+ * A descriptor for the item or items being selected. Use a plural term when the lookup's `selectMode` is set to `'multiple'`; otherwise, use a singular term. The descriptor helps set the picker's `aria-label` attributes for the multiselect toolbar controls, the search input, and the save button to provide text equivalents for screen readers [to support accessibility](https://developer.blackbaud.com/skyux/components/checkbox#accessibility).
724
+ * For example, when the descriptor is "constituents," the search input's `aria-label` is "Search constituents." For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
725
+ * @default "item"/"items"
726
+ */
727
+ selectionDescriptor?: string;
728
+ }
729
+
730
+ /**
731
+ * Specifies configuration options for the picker to display when users select the button
732
+ * to view all options. You can use a native, out-of-the-box modal picker, or you can create
733
+ * a custom picker. If you provide configuration options for both, the lookup component uses
734
+ * the custom configuration.
735
+ */
736
+ interface SkyLookupShowMoreConfig {
737
+ /**
738
+ * The configuration object to display a custom picker.
739
+ */
740
+ customPicker?: SkyLookupShowMoreCustomPicker;
741
+ /**
742
+ * Configuration options for the native picker.
743
+ */
744
+ nativePickerConfig?: SkyLookupShowMoreNativePickerConfig;
745
+ }
746
+
747
+ declare class SkyLookupComponent extends SkyLookupAutocompleteAdapter implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
748
+ #private;
749
+ inputBoxHostSvc?: SkyInputBoxHostService | undefined;
750
+ themeSvc?: SkyThemeService | undefined;
751
+ /**
752
+ * The ARIA label for the typeahead search input. This sets the input's `aria-label` attribute to provide a text equivalent for
753
+ * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
754
+ * If the input includes a visible label, use `ariaLabelledBy` instead.
755
+ * For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
756
+ * @deprecated Use the input box `labelText` input instead.
757
+ */
758
+ ariaLabel: string | undefined;
759
+ /**
760
+ * The HTML element ID of the element that labels
761
+ * the typeahead search input. This sets the input's `aria-labelledby` attribute to provide a text equivalent for
762
+ * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
763
+ * If the input does not include a visible label, use `ariaLabel` instead.
764
+ * For more information about the `aria-labelledby` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-labelledby).
765
+ * @deprecated Use the input box `labelText` input instead.
766
+ */
767
+ ariaLabelledBy: string | undefined;
768
+ /**
769
+ * The value for the `autocomplete` attribute on the form input.
770
+ * @default 'off'
771
+ * @deprecated SKY UX only supports browser autofill on components where the direct input matches the return value. This input may not behave as expected due to the dropdown selection interaction.
772
+ */
773
+ autocompleteAttribute: string | undefined;
774
+ /**
775
+ * The data source for the lookup component to search when users
776
+ * enter text. You can specify static data such as an array of objects, or
777
+ * you can pull data from a database.
778
+ * @default []
779
+ * @deprecated Use the `searchAsync` event emitter and callback instead to provide data to the lookup component.
780
+ */
781
+ set data(value: any[] | undefined);
782
+ get data(): any[];
783
+ /**
784
+ * Whether to disable the lookup field on template-driven forms. Don't use this input on reactive forms because they may overwrite the input or leave the control out of sync.
785
+ * To set the disabled state on reactive forms, use the `FormControl` instead.
786
+ * @default false
787
+ */
788
+ set disabled(value: boolean | undefined);
789
+ get disabled(): boolean;
790
+ /**
791
+ * Whether the lookup field is required.
792
+ * @default false
793
+ */
794
+ set required(value: boolean);
795
+ get required(): boolean;
796
+ /**
797
+ * Whether to enable users to open a picker where they can view all options.
798
+ * @default false
799
+ */
800
+ set enableShowMore(value: boolean | undefined);
801
+ get enableShowMore(): boolean;
802
+ /**
803
+ * Placeholder text to display in the lookup field.
804
+ */
805
+ placeholderText: string | undefined;
806
+ /**
807
+ * The object property that represents the object's unique identifier.
808
+ * Specifying this property enables token animations and more efficient rendering.
809
+ * This property is required when using `enableShowMore` and `searchAsync` together.
810
+ */
811
+ idProperty: string | undefined;
812
+ /**
813
+ * Whether to display a button that lets users add options to the list.
814
+ * @default false
815
+ */
816
+ set showAddButton(value: boolean | undefined);
817
+ get showAddButton(): boolean;
818
+ /**
819
+ * Configuration options for the picker that displays all options.
820
+ */
821
+ showMoreConfig: SkyLookupShowMoreConfig | undefined;
822
+ /**
823
+ * The ability for users to select one option or multiple options.
824
+ * @default "multiple"
825
+ */
826
+ set selectMode(value: SkyLookupSelectModeType | undefined);
827
+ get selectMode(): SkyLookupSelectModeType;
828
+ /**
829
+ * @internal
830
+ */
831
+ wrapperClass: string | undefined;
832
+ /**
833
+ * Fires when users select the button to add options to the list.
834
+ */
835
+ addClick: EventEmitter<SkyLookupAddClickEventArgs>;
836
+ /**
837
+ * @internal
838
+ */
839
+ openChange: EventEmitter<boolean>;
840
+ /**
841
+ * @internal
842
+ */
843
+ selectionModalOpenChange: EventEmitter<boolean>;
844
+ get tokens(): SkyToken[] | undefined;
845
+ set tokens(tokens: SkyToken[] | undefined);
846
+ /**
847
+ * @internal
848
+ * @deprecated This is exposed for unit tests only; refactor unit tests to
849
+ * derive the control value a different way.
850
+ */
851
+ get value(): any[];
852
+ autocompleteController: Subject<SkyAutocompleteMessage>;
853
+ isInputFocused: boolean;
854
+ showMorePickerId: string | undefined;
855
+ tokensController: Subject<SkyTokensMessage>;
856
+ protected controlId: string | undefined;
857
+ protected ariaDescribedBy: Observable<string | undefined> | undefined;
858
+ set autocompleteInputDirective(value: SkyAutocompleteInputDirective | undefined);
859
+ get autocompleteInputDirective(): SkyAutocompleteInputDirective | undefined;
860
+ showMoreButtonTemplateRef: TemplateRef<unknown> | undefined;
861
+ inputTemplateRef: TemplateRef<unknown> | undefined;
862
+ lookupWrapperRef: ElementRef | undefined;
863
+ searchIconTemplateRef: TemplateRef<unknown> | undefined;
864
+ constructor(ngControl?: NgControl, inputBoxHostSvc?: SkyInputBoxHostService | undefined, themeSvc?: SkyThemeService | undefined);
865
+ ngOnInit(): void;
866
+ ngAfterViewInit(): void;
867
+ ngOnDestroy(): void;
868
+ addButtonClicked(): void;
869
+ onAutocompleteSelectionChange(change: SkyAutocompleteSelectionChange): void;
870
+ onAutocompleteBlur(): void;
871
+ onTokensChange(change: SkyToken[]): void;
872
+ onTokensFocusIndexOverRange(): void;
873
+ onTokensKeyUp(event: KeyboardEvent): void;
874
+ onTokensRendered(): void;
875
+ writeValue(value: any[]): void;
876
+ registerOnChange(fn: (value: any[]) => void): void;
877
+ registerOnTouched(fn: () => void): void;
878
+ setDisabledState(disabled: boolean): void;
879
+ clearSearchText(): void;
880
+ inputKeydown(event: KeyboardEvent): void;
881
+ inputKeyup(event: KeyboardEvent): void;
882
+ onSearchButtonClick(): void;
883
+ onShowMoreClick(event: SkyAutocompleteShowMoreArgs): void;
884
+ openPicker(initialSearch: string): void;
885
+ protected onAutocompleteOpenChange($event: boolean): void;
886
+ protected onFocus($event: FocusEvent): void;
887
+ onSearchAsync(args: SkyAutocompleteSearchAsyncArgs): void;
888
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
889
+ 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; }; "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>;
890
+ static ngAcceptInputType_required: unknown;
891
+ }
892
+
893
+ declare class SkyLookupModule {
894
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyLookupModule, never>;
895
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyLookupModule, [typeof SkyLookupComponent], [typeof i2.CommonModule, typeof SkyAutocompleteModule, typeof i8.SkyIconModule, typeof SkyLookupResourcesModule, typeof i7$1.SkyThemeModule, typeof i7.SkyTokensModule], [typeof SkyLookupComponent]>;
896
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkyLookupModule>;
897
+ }
898
+
899
+ /**
900
+ * @deprecated Use `SkyLookupSelectModeType` instead.
901
+ * @internal
902
+ */
903
+ declare enum SkyLookupSelectMode {
904
+ /**
905
+ * Restricts users to a single selection.
906
+ */
907
+ single = "single",
908
+ /**
909
+ * Allows users to select multiple items.
910
+ */
911
+ multiple = "multiple"
912
+ }
913
+
914
+ /**
915
+ * @internal
916
+ */
917
+ declare class SkySearchAdapterService {
918
+ #private;
919
+ constructor(renderer: Renderer2);
920
+ selectInput(searchEl: ElementRef): void;
921
+ focusInput(searchEl: ElementRef): void;
922
+ startInputAnimation(searchEl: ElementRef): void;
923
+ endInputAnimation(searchEl: ElementRef): void;
924
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkySearchAdapterService, never>;
925
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkySearchAdapterService>;
926
+ }
927
+
928
+ declare class SkySearchComponent implements OnDestroy, OnInit, OnChanges {
929
+ #private;
930
+ /**
931
+ * The ARIA label for the search input. This sets the search input's `aria-label` attribute to provide a text equivalent for screen readers
932
+ * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
933
+ * Use a context-sensitive label, such as "Search constituents." Context is especially important when multiple search inputs are in close proximity.
934
+ * In toolbars, search inputs use the `listDescriptor` to provide context, and the ARIA label defaults to "Search <listDescriptor>."
935
+ * If the box includes a visible label, use `ariaLabelledBy` instead.
936
+ * For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
937
+ */
938
+ ariaLabel: string | undefined;
939
+ /**
940
+ * The HTML element ID of the element that labels
941
+ * the search. This sets the search's `aria-labelledby` attribute to provide a text equivalent for screen readers
942
+ * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
943
+ * If the box does not include a visible label, use `ariaLabel` instead.
944
+ * For more information about the `aria-labelledby` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-labelledby).
945
+ */
946
+ ariaLabelledBy: string | undefined;
947
+ /**
948
+ * Fires when the search text is applied.
949
+ */
950
+ searchApply: EventEmitter<string>;
951
+ /**
952
+ * Fires when the search text is changed.
953
+ */
954
+ searchChange: EventEmitter<string>;
955
+ /**
956
+ * Fires when the search text is cleared.
957
+ */
958
+ searchClear: EventEmitter<void>;
959
+ /**
960
+ * Default search criteria for the input.
961
+ */
962
+ searchText: string | undefined;
963
+ /**
964
+ * The expand mode for the search input. The valid options
965
+ * include `"responsive"` to collapse the search input into a button on
966
+ * mobile devices, `"none"` to *not* collapse the search input on mobile
967
+ * devices, and `"fit"` to extend the search input to fit the width of its container.
968
+ * @default "responsive"
969
+ */
970
+ set expandMode(value: string | undefined);
971
+ get expandMode(): string;
972
+ /**
973
+ * How many milliseconds to wait before searching after users enter text in the search input.
974
+ * @default 0
975
+ */
976
+ set debounceTime(value: number | undefined);
977
+ get debounceTime(): number;
978
+ /**
979
+ * Whether to disable the filter button.
980
+ * @default false
981
+ */
982
+ set disabled(value: boolean | undefined);
983
+ get disabled(): boolean;
984
+ /**
985
+ * Placeholder text to display in the search input until users
986
+ * enter search criteria.
987
+ * @default "Find in this list"
988
+ */
989
+ placeholderText: string | undefined;
990
+ clearButtonShown: boolean;
991
+ dismissButtonShown: boolean;
992
+ inputAnimate: string;
993
+ isCollapsible: boolean;
994
+ isFullWidth: boolean;
995
+ mobileSearchShown: boolean;
996
+ searchButtonShown: boolean;
997
+ protected contentInfoObs: Observable<SkyContentInfo> | undefined;
998
+ constructor(elRef: ElementRef, searchAdapter: SkySearchAdapterService, changeRef: ChangeDetectorRef);
999
+ ngOnInit(): void;
1000
+ ngOnChanges(changes: SimpleChanges): void;
1001
+ clearSearchText(): void;
1002
+ enterPress(event: KeyboardEvent, searchText: string | undefined): void;
1003
+ applySearchText(searchText: string | undefined): void;
1004
+ searchTextChanged(searchText: string): void;
1005
+ toggleSearchInput(showInput: boolean): void;
1006
+ inputAnimationStart(event: AnimationEvent): void;
1007
+ inputAnimationEnd(event: AnimationEvent): void;
1008
+ ngOnDestroy(): void;
1009
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkySearchComponent, never>;
1010
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkySearchComponent, "sky-search", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; "expandMode": { "alias": "expandMode"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholderText": { "alias": "placeholderText"; "required": false; }; }, { "searchApply": "searchApply"; "searchChange": "searchChange"; "searchClear": "searchClear"; }, never, never, false, never>;
1011
+ }
1012
+
1013
+ declare class SkySearchModule {
1014
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkySearchModule, never>;
1015
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkySearchModule, [typeof SkySearchComponent], [typeof i2.CommonModule, typeof i3$1.SkyInputBoxModule, typeof SkyLookupResourcesModule, typeof i3.FormsModule, typeof i8.SkyIconModule, typeof i7$1.SkyThemeModule, typeof i6.SkyIdModule], [typeof SkySearchComponent]>;
1016
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkySearchModule>;
1017
+ }
1018
+
1019
+ /**
1020
+ * @deprecated The `SkySelectionModalModule` is no longer needed and can be removed from your application.
1021
+ * @internal
1022
+ */
1023
+ declare class SkySelectionModalModule {
1024
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkySelectionModalModule, never>;
1025
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkySelectionModalModule, never, never, never>;
1026
+ static ɵinj: i0.ɵɵInjectorDeclaration<SkySelectionModalModule>;
1027
+ }
1028
+
1029
+ /**
1030
+ * The result from the selection modal.
1031
+ */
1032
+ interface SkySelectionModalCloseArgs {
1033
+ /**
1034
+ * Indicates why the selection modal was closed.
1035
+ */
1036
+ reason: 'cancel' | 'close' | 'save';
1037
+ /**
1038
+ * A collection of items the user selected. This property is only
1039
+ * set when the `result` property is set to `save`.
1040
+ */
1041
+ selectedItems?: unknown[];
1042
+ }
1043
+
1044
+ /**
1045
+ * Represents an instance of a selection modal.
1046
+ */
1047
+ declare class SkySelectionModalInstance {
1048
+ #private;
1049
+ /**
1050
+ * An event that the selection modal instance emits when it closes.
1051
+ * It emits a `SkySelectionModalCloseArgs` object with a `selectedItems` property that includes
1052
+ * items selected by users on close or save and a `reason` property that indicates
1053
+ * whether the selection modal was saved or closed without saving.
1054
+ * The `reason` property accepts `"cancel"`, `"close"`, and `"save"`.
1055
+ */
1056
+ get closed(): Observable<SkySelectionModalCloseArgs>;
1057
+ /**
1058
+ * @internal
1059
+ */
1060
+ get itemAdded(): Observable<unknown>;
1061
+ /**
1062
+ * @internal
1063
+ */
1064
+ id: string;
1065
+ constructor(id: string);
1066
+ /**
1067
+ * @internal
1068
+ */
1069
+ close(args: SkySelectionModalCloseArgs): void;
1070
+ /**
1071
+ * @internal
1072
+ */
1073
+ addItem(itemToAdd: unknown): void;
1074
+ }
1075
+
1076
+ /**
1077
+ * Specifies the information for the callback used when adding a new item to a selection modal instance.
1078
+ */
1079
+ interface SkySelectionModalAddCallbackArgs {
1080
+ /**
1081
+ * The new item which has been added to the data. This item will be automatically selected.
1082
+ */
1083
+ item: any;
1084
+ }
1085
+
1086
+ /**
1087
+ * Specifies a callback function for the consumer to use to notify the selection modal that a new item has been added.
1088
+ */
1089
+ interface SkySelectionModalAddClickEventArgs {
1090
+ /**
1091
+ * A callback function for the consumer to use to notify the selection modal that a new item has been added.
1092
+ * @param args Specifies information about the item that was added.
1093
+ */
1094
+ itemAdded: (args: SkySelectionModalAddCallbackArgs) => void;
1095
+ }
1096
+
1097
+ /**
1098
+ * Arguments passed when an asynchronous search is executed from the
1099
+ * selection modal service.
1100
+ */
1101
+ interface SkySelectionModalSearchArgs {
1102
+ /**
1103
+ * The search text entered by the user.
1104
+ */
1105
+ searchText: string;
1106
+ /**
1107
+ * The offset index of the first result to return. When search is executed
1108
+ * as a result of an infinite scroll event, for example, offset will be set
1109
+ * to the number of items already displayed.
1110
+ */
1111
+ offset: number;
1112
+ /**
1113
+ * A continuation token which can be set and then will be passed back with any future searches.
1114
+ * This is helpful for applications which utilize a token instead of an offset when fetching data.
1115
+ */
1116
+ continuationData?: unknown;
1117
+ }
1118
+
1119
+ /**
1120
+ * The result of searching for items to display in a selection modal.
1121
+ */
1122
+ interface SkySelectionModalSearchResult {
1123
+ /**
1124
+ * Data provided on "load more" search result requests. Use this property for
1125
+ * information such as a continuation token for paged database queries.
1126
+ */
1127
+ continuationData?: unknown;
1128
+ /**
1129
+ * Indicates whether there are more results that match the search criteria.
1130
+ */
1131
+ hasMore?: boolean;
1132
+ /**
1133
+ * A list of items matching the search criteria. When there are more items that match
1134
+ * the search criteria, set the `hasMore` property to `true` more records can be lazy-loaded
1135
+ * as the user scrolls through the search results.
1136
+ */
1137
+ items: unknown[];
1138
+ /**
1139
+ * The total number of records that match the search criteria, including items not returned in
1140
+ * the current list of items.
1141
+ */
1142
+ totalCount: number;
1143
+ }
1144
+
1145
+ /**
1146
+ * Parameters for the selection modal.
1147
+ */
1148
+ interface SkySelectionModalOpenArgs {
1149
+ /**
1150
+ * The template to format each option in the search results. The selection modal
1151
+ * injects values into the template as `item` variables that reference all the object
1152
+ * properties of the options. If you do not specify a template, the item's descriptor
1153
+ * property value is displayed.
1154
+ */
1155
+ itemTemplate?: TemplateRef<unknown>;
1156
+ /**
1157
+ * The title for the selection modal.
1158
+ * @default "Select an option/Select options"
1159
+ * @deprecated Use the `selectionDescriptor` input to give context to the title and accessibility labels instead.
1160
+ */
1161
+ title?: string;
1162
+ /**
1163
+ * The initial value for the selection modal.
1164
+ */
1165
+ value?: unknown[];
1166
+ /**
1167
+ * Specifies an object property to display in the text input after users
1168
+ * select an item in the dropdown list.
1169
+ */
1170
+ descriptorProperty: string;
1171
+ /**
1172
+ * An object property that represents the object's unique identifier.
1173
+ */
1174
+ idProperty: string;
1175
+ /**
1176
+ * The initial search text.
1177
+ */
1178
+ initialSearch?: string;
1179
+ /**
1180
+ * Called when users enter new search information and returns results via an observable.
1181
+ */
1182
+ searchAsync: (args: SkySelectionModalSearchArgs) => Observable<SkySelectionModalSearchResult> | undefined;
1183
+ /**
1184
+ * Specifies whether users can select one option or multiple options.
1185
+ * @default "multiple"
1186
+ */
1187
+ selectMode: SkyLookupSelectModeType;
1188
+ /**
1189
+ * Whether to display a button that lets users add options to the list.
1190
+ * @default false
1191
+ */
1192
+ showAddButton?: boolean;
1193
+ /**
1194
+ * Called when users select the button to add options to the list.
1195
+ */
1196
+ addClick?: (args: SkySelectionModalAddClickEventArgs) => void;
1197
+ /**
1198
+ * The CSS class to add to the modal, such as `ag-custom-component-popup` for
1199
+ * using a modal as part of a cell editor in Data Entry Grid.
1200
+ */
1201
+ wrapperClass?: string;
1202
+ /**
1203
+ * A descriptor for the item or items being selected. Use a plural term when `selectMode` is set to `multiple`; otherwise, use a singular term. The descriptor helps set the selection modal's `aria-label` attributes for the multiselect toolbar controls, the search input, and the save button to provide text equivalents for screen readers [to support accessibility](https://developer.blackbaud.com/skyux/components/checkbox#accessibility).
1204
+ * For example, when the descriptor is "constituents," the search input's `aria-label` is "Search constituents." For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
1205
+ * @default "item"/"items"
1206
+ */
1207
+ selectionDescriptor?: string;
1208
+ }
1209
+
1210
+ /**
1211
+ * Displays a modal for selecting one or more values.
1212
+ */
1213
+ declare class SkySelectionModalService {
1214
+ #private;
1215
+ constructor(modalSvc: SkyModalService);
1216
+ /**
1217
+ * Opens the selection modal.
1218
+ * @param args Parameters for the selection modal.
1219
+ */
1220
+ open(args: SkySelectionModalOpenArgs): SkySelectionModalInstance;
1221
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkySelectionModalService, never>;
1222
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkySelectionModalService>;
1223
+ }
1224
+
1225
+ /**
1226
+ * The result from the selection modal.
1227
+ */
1228
+ interface SkySelectionModalResult {
1229
+ /**
1230
+ * Indicates whether the user saved or canceled the modal.
1231
+ */
1232
+ result: 'save' | 'cancel';
1233
+ /**
1234
+ * A collection of items the user selected. This property is only
1235
+ * set when the `result` property is set to `save`.
1236
+ */
1237
+ selectedItems?: unknown[];
1238
+ }
1239
+
1240
+ export { SKY_COUNTRY_FIELD_CONTEXT, SkyAutocompleteModule, SkyCountryFieldModule, SkyLookupModule, SkyLookupSelectMode, SkyLookupShowMoreCustomPickerContext, SkySearchComponent, SkySearchModule, SkySelectionModalInstance, SkySelectionModalModule, SkySelectionModalService, SkyAutocompleteInputDirective as λ1, SkyAutocompleteComponent as λ2, SkyCountryFieldComponent as λ3, SkyLookupComponent as λ4 };
1241
+ export type { AutocompleteSearchAsyncResultDisplayType, SkyAutocompleteDefaultSearchFunctionOptions, SkyAutocompleteInputTextChange, SkyAutocompleteSearchArgs, SkyAutocompleteSearchAsyncArgs, SkyAutocompleteSearchAsyncResult, SkyAutocompleteSearchContext, SkyAutocompleteSearchFunction, SkyAutocompleteSearchFunctionFilter, SkyAutocompleteSearchFunctionResponse, SkyAutocompleteSelectionChange, SkyCountryFieldContext, SkyCountryFieldCountry, SkyLookupAddCallbackArgs, SkyLookupAddClickEventArgs, SkyLookupSelectModeType, SkyLookupShowMoreConfig, SkyLookupShowMoreCustomPicker, SkyLookupShowMoreNativePickerConfig, SkySelectionModalAddCallbackArgs, SkySelectionModalAddClickEventArgs, SkySelectionModalCloseArgs, SkySelectionModalOpenArgs, SkySelectionModalResult, SkySelectionModalSearchArgs, SkySelectionModalSearchResult };