@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.
Files changed (52) hide show
  1. package/documentation.json +1725 -1129
  2. package/esm2020/index.mjs +3 -1
  3. package/esm2020/lib/modules/autocomplete/autocomplete-adapter.service.mjs +3 -3
  4. package/esm2020/lib/modules/autocomplete/autocomplete-input.directive.mjs +33 -33
  5. package/esm2020/lib/modules/autocomplete/autocomplete-search-async-disabled.pipe.mjs +3 -3
  6. package/esm2020/lib/modules/autocomplete/autocomplete.component.mjs +97 -97
  7. package/esm2020/lib/modules/autocomplete/autocomplete.module.mjs +4 -4
  8. package/esm2020/lib/modules/country-field/country-field.component.mjs +52 -48
  9. package/esm2020/lib/modules/country-field/country-field.module.mjs +4 -4
  10. package/esm2020/lib/modules/country-field/types/country-field-context-token.mjs +6 -0
  11. package/esm2020/lib/modules/country-field/types/country-field-context.mjs +2 -0
  12. package/esm2020/lib/modules/lookup/lookup-adapter.service.mjs +3 -3
  13. package/esm2020/lib/modules/lookup/lookup-autocomplete-adapter.mjs +3 -3
  14. package/esm2020/lib/modules/lookup/lookup-show-more-modal.component.mjs +3 -3
  15. package/esm2020/lib/modules/lookup/lookup.component.mjs +54 -54
  16. package/esm2020/lib/modules/lookup/lookup.module.mjs +4 -4
  17. package/esm2020/lib/modules/search/search-adapter.service.mjs +3 -3
  18. package/esm2020/lib/modules/search/search.component.mjs +38 -38
  19. package/esm2020/lib/modules/search/search.module.mjs +4 -4
  20. package/esm2020/lib/modules/selection-modal/selection-modal-item-selected.pipe.mjs +3 -3
  21. package/esm2020/lib/modules/selection-modal/selection-modal.component.mjs +3 -3
  22. package/esm2020/lib/modules/selection-modal/selection-modal.module.mjs +4 -4
  23. package/esm2020/lib/modules/selection-modal/selection-modal.service.mjs +3 -3
  24. package/esm2020/lib/modules/selection-modal/types/selection-modal-instance.mjs +10 -10
  25. package/esm2020/lib/modules/shared/sky-lookup-resources.module.mjs +4 -4
  26. package/esm2020/testing/country-field/country-field-fixture.mjs +8 -8
  27. package/esm2020/testing/country-field/country-field-testing.module.mjs +4 -4
  28. package/esm2020/testing/lookup/lookup-harness.mjs +1 -1
  29. package/esm2020/testing/lookup/lookup-show-more-picker-harness.mjs +1 -1
  30. package/esm2020/testing/search/search-fixture.mjs +6 -6
  31. package/esm2020/testing/search/search-testing.module.mjs +4 -4
  32. package/fesm2015/skyux-lookup-testing.mjs +20 -20
  33. package/fesm2015/skyux-lookup-testing.mjs.map +1 -1
  34. package/fesm2015/skyux-lookup.mjs +358 -350
  35. package/fesm2015/skyux-lookup.mjs.map +1 -1
  36. package/fesm2020/skyux-lookup-testing.mjs +20 -20
  37. package/fesm2020/skyux-lookup-testing.mjs.map +1 -1
  38. package/fesm2020/skyux-lookup.mjs +358 -350
  39. package/fesm2020/skyux-lookup.mjs.map +1 -1
  40. package/index.d.ts +2 -0
  41. package/lib/modules/autocomplete/types/autocomplete-search-args.d.ts +1 -1
  42. package/lib/modules/autocomplete/types/autocomplete-search-async-function.d.ts +1 -1
  43. package/lib/modules/autocomplete/types/autocomplete-search-async-result-display-type.d.ts +1 -1
  44. package/lib/modules/autocomplete/types/autocomplete-search-context.d.ts +1 -1
  45. package/lib/modules/autocomplete/types/autocomplete-search-function-filter.d.ts +1 -1
  46. package/lib/modules/autocomplete/types/autocomplete-search-function-response.d.ts +1 -1
  47. package/lib/modules/autocomplete/types/autocomplete-search-function.d.ts +1 -1
  48. package/lib/modules/country-field/country-field.component.d.ts +2 -0
  49. package/lib/modules/country-field/types/country-field-context-token.d.ts +6 -0
  50. package/lib/modules/country-field/types/country-field-context.d.ts +6 -0
  51. package/lib/modules/lookup/types/lookup-select-mode-type.d.ts +1 -1
  52. 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 { SkyAutocompleteSearchContext } from './autocomplete-search-context';
2
- export declare type SkyAutocompleteSearchArgs = {
2
+ export type SkyAutocompleteSearchArgs = {
3
3
  context?: SkyAutocompleteSearchContext;
4
4
  };
@@ -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 declare type SkyAutocompleteSearchAsyncFunction = (args: SkyAutocompleteSearchAsyncArgs) => Observable<SkyAutocompleteSearchAsyncResult>;
4
+ export type SkyAutocompleteSearchAsyncFunction = (args: SkyAutocompleteSearchAsyncArgs) => Observable<SkyAutocompleteSearchAsyncResult>;
@@ -1 +1 @@
1
- export declare type AutocompleteSearchAsyncResultDisplayType = 'popover' | 'modal';
1
+ export type AutocompleteSearchAsyncResultDisplayType = 'popover' | 'modal';
@@ -1 +1 @@
1
- export declare type SkyAutocompleteSearchContext = 'popover' | 'modal';
1
+ export type SkyAutocompleteSearchContext = 'popover' | 'modal';
@@ -1,2 +1,2 @@
1
1
  import { SkyAutocompleteSearchArgs } from './autocomplete-search-args';
2
- export declare type SkyAutocompleteSearchFunctionFilter = (searchText: string, item: any, args?: SkyAutocompleteSearchArgs) => boolean;
2
+ export type SkyAutocompleteSearchFunctionFilter = (searchText: string, item: any, args?: SkyAutocompleteSearchArgs) => boolean;
@@ -1 +1 @@
1
- export declare type SkyAutocompleteSearchFunctionResponse = any[] | Promise<any[]>;
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 declare type SkyAutocompleteSearchFunction = (searchText: string, data: any[], args?: SkyAutocompleteSearchArgs) => SkyAutocompleteSearchFunctionResponse;
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;
@@ -0,0 +1,6 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { SkyCountryFieldContext } from './country-field-context';
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const SKY_COUNTRY_FIELD_CONTEXT: InjectionToken<SkyCountryFieldContext>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export interface SkyCountryFieldContext {
5
+ showPlaceholderText: boolean;
6
+ }
@@ -1 +1 @@
1
- export declare type SkyLookupSelectModeType = 'single' | 'multiple';
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.2",
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.4",
44
- "@angular/cdk": "^15.1.4",
45
- "@angular/common": "^15.1.4",
46
- "@angular/core": "^15.1.4",
47
- "@angular/forms": "^15.1.4",
48
- "@angular/platform-browser": "^15.1.4",
49
- "@skyux-sdk/testing": "8.0.0-alpha.2",
50
- "@skyux/core": "8.0.0-alpha.2",
51
- "@skyux/forms": "8.0.0-alpha.2",
52
- "@skyux/i18n": "8.0.0-alpha.2",
53
- "@skyux/indicators": "8.0.0-alpha.2",
54
- "@skyux/layout": "8.0.0-alpha.2",
55
- "@skyux/lists": "8.0.0-alpha.2",
56
- "@skyux/modals": "8.0.0-alpha.2",
57
- "@skyux/theme": "8.0.0-alpha.2"
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.19",
61
- "tslib": "^2.3.1"
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",