@skyux/lookup 8.0.0-alpha.2 → 8.0.0-alpha.21
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 +1725 -1129
- package/esm2020/index.mjs +3 -1
- package/esm2020/lib/modules/autocomplete/autocomplete-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/autocomplete/autocomplete-input.directive.mjs +33 -33
- package/esm2020/lib/modules/autocomplete/autocomplete-search-async-disabled.pipe.mjs +3 -3
- package/esm2020/lib/modules/autocomplete/autocomplete.component.mjs +97 -97
- package/esm2020/lib/modules/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2020/lib/modules/country-field/country-field.component.mjs +52 -48
- package/esm2020/lib/modules/country-field/country-field.module.mjs +4 -4
- package/esm2020/lib/modules/country-field/types/country-field-context-token.mjs +6 -0
- package/esm2020/lib/modules/country-field/types/country-field-context.mjs +2 -0
- 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-show-more-modal.component.mjs +3 -3
- package/esm2020/lib/modules/lookup/lookup.component.mjs +54 -54
- package/esm2020/lib/modules/lookup/lookup.module.mjs +4 -4
- package/esm2020/lib/modules/search/search-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/search/search.component.mjs +38 -38
- package/esm2020/lib/modules/search/search.module.mjs +4 -4
- package/esm2020/lib/modules/selection-modal/selection-modal-item-selected.pipe.mjs +3 -3
- package/esm2020/lib/modules/selection-modal/selection-modal.component.mjs +3 -3
- package/esm2020/lib/modules/selection-modal/selection-modal.module.mjs +4 -4
- package/esm2020/lib/modules/selection-modal/selection-modal.service.mjs +3 -3
- package/esm2020/lib/modules/selection-modal/types/selection-modal-instance.mjs +10 -10
- package/esm2020/lib/modules/shared/sky-lookup-resources.module.mjs +4 -4
- package/esm2020/testing/country-field/country-field-fixture.mjs +8 -8
- package/esm2020/testing/country-field/country-field-testing.module.mjs +4 -4
- package/esm2020/testing/lookup/lookup-harness.mjs +1 -1
- package/esm2020/testing/lookup/lookup-show-more-picker-harness.mjs +1 -1
- package/esm2020/testing/search/search-fixture.mjs +6 -6
- package/esm2020/testing/search/search-testing.module.mjs +4 -4
- package/fesm2015/skyux-lookup-testing.mjs +20 -20
- package/fesm2015/skyux-lookup-testing.mjs.map +1 -1
- package/fesm2015/skyux-lookup.mjs +358 -350
- package/fesm2015/skyux-lookup.mjs.map +1 -1
- package/fesm2020/skyux-lookup-testing.mjs +20 -20
- package/fesm2020/skyux-lookup-testing.mjs.map +1 -1
- package/fesm2020/skyux-lookup.mjs +358 -350
- package/fesm2020/skyux-lookup.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/autocomplete/types/autocomplete-search-args.d.ts +1 -1
- package/lib/modules/autocomplete/types/autocomplete-search-async-function.d.ts +1 -1
- package/lib/modules/autocomplete/types/autocomplete-search-async-result-display-type.d.ts +1 -1
- package/lib/modules/autocomplete/types/autocomplete-search-context.d.ts +1 -1
- package/lib/modules/autocomplete/types/autocomplete-search-function-filter.d.ts +1 -1
- package/lib/modules/autocomplete/types/autocomplete-search-function-response.d.ts +1 -1
- package/lib/modules/autocomplete/types/autocomplete-search-function.d.ts +1 -1
- package/lib/modules/country-field/country-field.component.d.ts +2 -0
- package/lib/modules/country-field/types/country-field-context-token.d.ts +6 -0
- package/lib/modules/country-field/types/country-field-context.d.ts +6 -0
- package/lib/modules/lookup/types/lookup-select-mode-type.d.ts +1 -1
- package/package.json +18 -18
package/index.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ export * from './lib/modules/autocomplete/types/autocomplete-selection-change';
|
|
|
10
10
|
export * from './lib/modules/autocomplete/autocomplete.module';
|
|
11
11
|
export * from './lib/modules/country-field/country-field.module';
|
|
12
12
|
export * from './lib/modules/country-field/types/country';
|
|
13
|
+
export * from './lib/modules/country-field/types/country-field-context';
|
|
14
|
+
export * from './lib/modules/country-field/types/country-field-context-token';
|
|
13
15
|
export * from './lib/modules/lookup/lookup.module';
|
|
14
16
|
export * from './lib/modules/lookup/types/lookup-add-click-callback-args';
|
|
15
17
|
export * from './lib/modules/lookup/types/lookup-add-click-event-args';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { SkyAutocompleteSearchAsyncArgs } from './autocomplete-search-async-args';
|
|
3
3
|
import { SkyAutocompleteSearchAsyncResult } from './autocomplete-search-async-result';
|
|
4
|
-
export
|
|
4
|
+
export type SkyAutocompleteSearchAsyncFunction = (args: SkyAutocompleteSearchAsyncArgs) => Observable<SkyAutocompleteSearchAsyncResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type AutocompleteSearchAsyncResultDisplayType = 'popover' | 'modal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyAutocompleteSearchContext = 'popover' | 'modal';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SkyAutocompleteSearchArgs } from './autocomplete-search-args';
|
|
2
|
-
export
|
|
2
|
+
export type SkyAutocompleteSearchFunctionFilter = (searchText: string, item: any, args?: SkyAutocompleteSearchArgs) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyAutocompleteSearchFunctionResponse = any[] | Promise<any[]>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SkyAutocompleteSearchArgs } from './autocomplete-search-args';
|
|
2
2
|
import { SkyAutocompleteSearchFunctionResponse } from './autocomplete-search-function-response';
|
|
3
|
-
export
|
|
3
|
+
export type SkyAutocompleteSearchFunction = (searchText: string, data: any[], args?: SkyAutocompleteSearchArgs) => SkyAutocompleteSearchFunctionResponse;
|
|
@@ -7,6 +7,7 @@ import 'intl-tel-input';
|
|
|
7
7
|
import { SkyAutocompleteInputDirective } from '../autocomplete/autocomplete-input.directive';
|
|
8
8
|
import { SkyAutocompleteSelectionChange } from '../autocomplete/types/autocomplete-selection-change';
|
|
9
9
|
import { SkyCountryFieldCountry } from './types/country';
|
|
10
|
+
import { SkyCountryFieldContext } from './types/country-field-context';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class SkyCountryFieldComponent implements AfterViewInit, ControlValueAccessor, OnDestroy, OnInit, Validator {
|
|
12
13
|
#private;
|
|
@@ -58,6 +59,7 @@ export declare class SkyCountryFieldComponent implements AfterViewInit, ControlV
|
|
|
58
59
|
countrySearchAutocompleteDirective: SkyAutocompleteInputDirective | undefined;
|
|
59
60
|
set selectedCountry(newCountry: SkyCountryFieldCountry | undefined);
|
|
60
61
|
get selectedCountry(): SkyCountryFieldCountry | undefined;
|
|
62
|
+
context: SkyCountryFieldContext | null;
|
|
61
63
|
currentTheme: string;
|
|
62
64
|
inputId: string;
|
|
63
65
|
inputTemplateRef: TemplateRef<unknown> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyLookupSelectModeType = 'single' | 'multiple';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.21",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -40,25 +40,25 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@angular/animations": "^15.1
|
|
44
|
-
"@angular/cdk": "^15.1
|
|
45
|
-
"@angular/common": "^15.1
|
|
46
|
-
"@angular/core": "^15.1
|
|
47
|
-
"@angular/forms": "^15.1
|
|
48
|
-
"@angular/platform-browser": "^15.1
|
|
49
|
-
"@skyux-sdk/testing": "8.0.0-alpha.
|
|
50
|
-
"@skyux/core": "8.0.0-alpha.
|
|
51
|
-
"@skyux/forms": "8.0.0-alpha.
|
|
52
|
-
"@skyux/i18n": "8.0.0-alpha.
|
|
53
|
-
"@skyux/indicators": "8.0.0-alpha.
|
|
54
|
-
"@skyux/layout": "8.0.0-alpha.
|
|
55
|
-
"@skyux/lists": "8.0.0-alpha.
|
|
56
|
-
"@skyux/modals": "8.0.0-alpha.
|
|
57
|
-
"@skyux/theme": "8.0.0-alpha.
|
|
43
|
+
"@angular/animations": "^15.2.1",
|
|
44
|
+
"@angular/cdk": "^15.2.1",
|
|
45
|
+
"@angular/common": "^15.2.1",
|
|
46
|
+
"@angular/core": "^15.2.1",
|
|
47
|
+
"@angular/forms": "^15.2.1",
|
|
48
|
+
"@angular/platform-browser": "^15.2.1",
|
|
49
|
+
"@skyux-sdk/testing": "8.0.0-alpha.21",
|
|
50
|
+
"@skyux/core": "8.0.0-alpha.21",
|
|
51
|
+
"@skyux/forms": "8.0.0-alpha.21",
|
|
52
|
+
"@skyux/i18n": "8.0.0-alpha.21",
|
|
53
|
+
"@skyux/indicators": "8.0.0-alpha.21",
|
|
54
|
+
"@skyux/layout": "8.0.0-alpha.21",
|
|
55
|
+
"@skyux/lists": "8.0.0-alpha.21",
|
|
56
|
+
"@skyux/modals": "8.0.0-alpha.21",
|
|
57
|
+
"@skyux/theme": "8.0.0-alpha.21"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"intl-tel-input": "17.0.
|
|
61
|
-
"tslib": "^2.
|
|
60
|
+
"intl-tel-input": "17.0.21",
|
|
61
|
+
"tslib": "^2.5.0"
|
|
62
62
|
},
|
|
63
63
|
"module": "fesm2015/skyux-lookup.mjs",
|
|
64
64
|
"es2020": "fesm2020/skyux-lookup.mjs",
|