@skyux/lookup 14.0.0-alpha.4 → 14.0.0-alpha.6
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/fesm2022/skyux-lookup-testing.mjs +4 -4
- package/fesm2022/skyux-lookup.mjs +184 -209
- package/fesm2022/skyux-lookup.mjs.map +1 -1
- package/package.json +18 -18
- package/types/skyux-lookup.d.ts +12 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lookup",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.6",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/animations": "^21.
|
|
20
|
-
"@angular/cdk": "^21.
|
|
21
|
-
"@angular/common": "^21.
|
|
22
|
-
"@angular/core": "^21.
|
|
23
|
-
"@angular/forms": "^21.
|
|
24
|
-
"@angular/platform-browser": "^21.
|
|
25
|
-
"@skyux-sdk/testing": "14.0.0-alpha.
|
|
26
|
-
"@skyux/core": "14.0.0-alpha.
|
|
27
|
-
"@skyux/forms": "14.0.0-alpha.
|
|
28
|
-
"@skyux/i18n": "14.0.0-alpha.
|
|
29
|
-
"@skyux/icon": "14.0.0-alpha.
|
|
30
|
-
"@skyux/indicators": "14.0.0-alpha.
|
|
31
|
-
"@skyux/layout": "14.0.0-alpha.
|
|
32
|
-
"@skyux/lists": "14.0.0-alpha.
|
|
33
|
-
"@skyux/modals": "14.0.0-alpha.
|
|
34
|
-
"@skyux/theme": "14.0.0-alpha.
|
|
19
|
+
"@angular/animations": "^21.2.0",
|
|
20
|
+
"@angular/cdk": "^21.2.0",
|
|
21
|
+
"@angular/common": "^21.2.0",
|
|
22
|
+
"@angular/core": "^21.2.0",
|
|
23
|
+
"@angular/forms": "^21.2.0",
|
|
24
|
+
"@angular/platform-browser": "^21.2.0",
|
|
25
|
+
"@skyux-sdk/testing": "14.0.0-alpha.6",
|
|
26
|
+
"@skyux/core": "14.0.0-alpha.6",
|
|
27
|
+
"@skyux/forms": "14.0.0-alpha.6",
|
|
28
|
+
"@skyux/i18n": "14.0.0-alpha.6",
|
|
29
|
+
"@skyux/icon": "14.0.0-alpha.6",
|
|
30
|
+
"@skyux/indicators": "14.0.0-alpha.6",
|
|
31
|
+
"@skyux/layout": "14.0.0-alpha.6",
|
|
32
|
+
"@skyux/lists": "14.0.0-alpha.6",
|
|
33
|
+
"@skyux/modals": "14.0.0-alpha.6",
|
|
34
|
+
"@skyux/theme": "14.0.0-alpha.6"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"intl-tel-input": "
|
|
37
|
+
"intl-tel-input": "26.7.6",
|
|
38
38
|
"tslib": "^2.8.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
package/types/skyux-lookup.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { RendererFactory2, ElementRef, OnInit, OnDestroy, AfterViewInit, TemplateRef, EventEmitter, ChangeDetectorRef, PipeTransform,
|
|
2
|
+
import { RendererFactory2, ElementRef, OnInit, OnDestroy, AfterViewInit, TemplateRef, EventEmitter, ChangeDetectorRef, PipeTransform, InjectionToken, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as i6 from '@skyux/core';
|
|
4
4
|
import { SkyCoreAdapterService, SkyOverlayInstance, SkyAffixService, SkyOverlayService, SkyStackingContext, SkyContentInfo } from '@skyux/core';
|
|
5
5
|
import * as i3$1 from '@skyux/forms';
|
|
@@ -477,21 +477,19 @@ interface SkyCountryFieldContext {
|
|
|
477
477
|
|
|
478
478
|
declare class SkyCountryFieldComponent implements ControlValueAccessor, OnDestroy, OnInit, Validator {
|
|
479
479
|
#private;
|
|
480
|
-
inputBoxHostSvc?: SkyInputBoxHostService | undefined;
|
|
481
480
|
/**
|
|
482
481
|
* The value for the HTML `autocomplete` attribute on the form input.
|
|
483
482
|
* @default 'off'
|
|
484
483
|
* @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.
|
|
485
484
|
*/
|
|
486
|
-
autocompleteAttribute: string | undefined
|
|
485
|
+
autocompleteAttribute: i0.InputSignal<string | undefined>;
|
|
487
486
|
/**
|
|
488
487
|
* The [International Organization for Standardization Alpha 2](https://www.nationsonline.org/oneworld/country_code_list.htm)
|
|
489
488
|
* country code for the default country.
|
|
490
489
|
* When search results include the default country, it appears at the top of the list.
|
|
491
490
|
* @default "us"
|
|
492
491
|
*/
|
|
493
|
-
|
|
494
|
-
get defaultCountry(): string | undefined;
|
|
492
|
+
readonly defaultCountry: i0.InputSignalWithTransform<string, unknown>;
|
|
495
493
|
/**
|
|
496
494
|
* 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.
|
|
497
495
|
* To set the disabled state on reactive forms, use the `FormControl` instead.
|
|
@@ -503,28 +501,26 @@ declare class SkyCountryFieldComponent implements ControlValueAccessor, OnDestro
|
|
|
503
501
|
* The [International Organization for Standardization Alpha 2](https://www.nationsonline.org/oneworld/country_code_list.htm)
|
|
504
502
|
* country codes for the countries that users can select. By default, all countries are available.
|
|
505
503
|
*/
|
|
506
|
-
|
|
507
|
-
get supportedCountryISOs(): string[];
|
|
504
|
+
readonly supportedCountryISOs: i0.InputSignalWithTransform<string[], unknown>;
|
|
508
505
|
/**
|
|
509
506
|
* Fires when the selected country changes.
|
|
510
507
|
*/
|
|
511
|
-
selectedCountryChange:
|
|
508
|
+
readonly selectedCountryChange: i0.OutputEmitterRef<SkyCountryFieldCountry>;
|
|
512
509
|
/**
|
|
513
510
|
* Fires when the country field is focused out.
|
|
514
511
|
* @internal
|
|
515
512
|
*/
|
|
516
|
-
countryFieldFocusout:
|
|
517
|
-
countries: SkyCountryFieldCountry[]
|
|
518
|
-
countrySearchFormControl: UntypedFormControl;
|
|
513
|
+
countryFieldFocusout: i0.OutputEmitterRef<FocusEvent>;
|
|
514
|
+
readonly countries: i0.Signal<SkyCountryFieldCountry[]>;
|
|
515
|
+
readonly countrySearchFormControl: UntypedFormControl;
|
|
519
516
|
searchTextMinimumCharacters: number;
|
|
520
517
|
countrySearchAutocompleteDirective: SkyAutocompleteInputDirective | undefined;
|
|
521
|
-
set selectedCountry(newCountry: SkyCountryFieldCountry | undefined);
|
|
522
|
-
get selectedCountry(): SkyCountryFieldCountry | undefined;
|
|
523
518
|
context: SkyCountryFieldContext | null;
|
|
524
519
|
inputId: string;
|
|
525
520
|
protected ariaDescribedBy: Observable<string | undefined> | undefined;
|
|
526
521
|
inputTemplateRef: TemplateRef<unknown> | undefined;
|
|
527
|
-
|
|
522
|
+
readonly inputBoxHostSvc: SkyInputBoxHostService | null;
|
|
523
|
+
constructor();
|
|
528
524
|
/**
|
|
529
525
|
* Angular lifecycle hook for when the component is initialized
|
|
530
526
|
* @internal
|
|
@@ -560,8 +556,8 @@ declare class SkyCountryFieldComponent implements ControlValueAccessor, OnDestro
|
|
|
560
556
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
561
557
|
writeValue(value: SkyCountryFieldCountry | undefined): void;
|
|
562
558
|
protected onFocus($event: FocusEvent): void;
|
|
563
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent,
|
|
564
|
-
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>;
|
|
559
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyCountryFieldComponent, never>;
|
|
560
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyCountryFieldComponent, "sky-country-field", never, { "autocompleteAttribute": { "alias": "autocompleteAttribute"; "required": false; "isSignal": true; }; "defaultCountry": { "alias": "defaultCountry"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "supportedCountryISOs": { "alias": "supportedCountryISOs"; "required": false; "isSignal": true; }; }, { "selectedCountryChange": "selectedCountryChange"; "countryFieldFocusout": "countryFieldFocusout"; }, never, never, false, never>;
|
|
565
561
|
}
|
|
566
562
|
|
|
567
563
|
declare class SkyCountryFieldModule {
|