@skyux/phone-field 13.14.2 → 13.15.0
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.
|
@@ -9,17 +9,17 @@ import { SkyCountryFieldHarness } from '@skyux/lookup/testing';
|
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
11
11
|
class SkyPhoneFieldTestingModule {
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
13
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldTestingModule, exports: [SkyPhoneFieldModule,
|
|
14
14
|
// The noop animations module needs to be loaded last to avoid
|
|
15
15
|
// subsequent modules adding animations and overriding this.
|
|
16
16
|
NoopAnimationsModule] }); }
|
|
17
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
17
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldTestingModule, imports: [SkyPhoneFieldModule,
|
|
18
18
|
// The noop animations module needs to be loaded last to avoid
|
|
19
19
|
// subsequent modules adding animations and overriding this.
|
|
20
20
|
NoopAnimationsModule] }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldTestingModule, decorators: [{
|
|
23
23
|
type: NgModule,
|
|
24
24
|
args: [{
|
|
25
25
|
exports: [
|
|
@@ -59,10 +59,10 @@ class SkyPhoneFieldAdapterService {
|
|
|
59
59
|
const input = el.querySelector('.sky-phone-field-container input');
|
|
60
60
|
input?.focus();
|
|
61
61
|
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
63
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
62
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldAdapterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
63
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldAdapterService }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldAdapterService, decorators: [{
|
|
66
66
|
type: Injectable
|
|
67
67
|
}] });
|
|
68
68
|
|
|
@@ -112,11 +112,11 @@ SkyLibResourcesService.addResources(RESOURCES);
|
|
|
112
112
|
* Import into any component library module that needs to use resource strings.
|
|
113
113
|
*/
|
|
114
114
|
class SkyPhoneFieldResourcesModule {
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
116
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
117
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
116
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldResourcesModule, exports: [SkyI18nModule] }); }
|
|
117
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldResourcesModule, imports: [SkyI18nModule] }); }
|
|
118
118
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldResourcesModule, decorators: [{
|
|
120
120
|
type: NgModule,
|
|
121
121
|
args: [{
|
|
122
122
|
exports: [SkyI18nModule],
|
|
@@ -458,8 +458,8 @@ class SkyPhoneFieldComponent {
|
|
|
458
458
|
return (!this.supportedCountryISOs ||
|
|
459
459
|
this.supportedCountryISOs.findIndex((isoCode) => isoCode.toUpperCase() === country.iso2.toUpperCase()) >= 0);
|
|
460
460
|
}
|
|
461
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
462
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldComponent, deps: [{ token: i1.FormBuilder }, { token: SkyPhoneFieldAdapterService }, { token: i0.ChangeDetectorRef }, { token: i3.SkyThemeService, optional: true }, { token: i4.SkyInputBoxHostService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
462
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.17", type: SkyPhoneFieldComponent, isStandalone: true, selector: "sky-phone-field", inputs: { allowExtensions: "allowExtensions", defaultCountry: "defaultCountry", returnFormat: "returnFormat", supportedCountryISOs: "supportedCountryISOs", selectedCountry: "selectedCountry" }, outputs: { selectedCountryChange: "selectedCountryChange" }, providers: [
|
|
463
463
|
SkyPhoneFieldAdapterService,
|
|
464
464
|
// Prevents the embedded country field component from changing its behavior based on
|
|
465
465
|
// being inside an input box. The phone field itself will handle the required changes
|
|
@@ -522,7 +522,7 @@ class SkyPhoneFieldComponent {
|
|
|
522
522
|
]),
|
|
523
523
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
524
524
|
}
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldComponent, decorators: [{
|
|
526
526
|
type: Component,
|
|
527
527
|
args: [{ imports: [
|
|
528
528
|
CommonModule,
|
|
@@ -837,8 +837,8 @@ class SkyPhoneFieldInputDirective {
|
|
|
837
837
|
this.#_value = formatted ?? value;
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
841
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.
|
|
840
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
841
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.3.17", type: SkyPhoneFieldInputDirective, isStandalone: true, selector: "[skyPhoneFieldInput]", inputs: { disabled: ["disabled", "disabled", booleanAttribute], skyPhoneFieldNoValidate: ["skyPhoneFieldNoValidate", "skyPhoneFieldNoValidate", booleanAttribute] }, host: { listeners: { "blur": "onBlur()", "input": "onInput()" } }, providers: [
|
|
842
842
|
{
|
|
843
843
|
provide: NG_VALIDATORS,
|
|
844
844
|
useExisting: SkyPhoneFieldInputDirective,
|
|
@@ -851,7 +851,7 @@ class SkyPhoneFieldInputDirective {
|
|
|
851
851
|
},
|
|
852
852
|
], ngImport: i0 }); }
|
|
853
853
|
}
|
|
854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldInputDirective, decorators: [{
|
|
855
855
|
type: Directive,
|
|
856
856
|
args: [{
|
|
857
857
|
selector: '[skyPhoneFieldInput]',
|
|
@@ -883,11 +883,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
883
883
|
}] } });
|
|
884
884
|
|
|
885
885
|
class SkyPhoneFieldModule {
|
|
886
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
887
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
888
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
886
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
887
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldModule, imports: [SkyPhoneFieldComponent, SkyPhoneFieldInputDirective], exports: [SkyPhoneFieldComponent, SkyPhoneFieldInputDirective] }); }
|
|
888
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldModule, imports: [SkyPhoneFieldComponent] }); }
|
|
889
889
|
}
|
|
890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: SkyPhoneFieldModule, decorators: [{
|
|
891
891
|
type: NgModule,
|
|
892
892
|
args: [{
|
|
893
893
|
imports: [SkyPhoneFieldComponent, SkyPhoneFieldInputDirective],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/phone-field",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.15.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/animations": "^20.3.
|
|
19
|
+
"@angular/animations": "^20.3.17",
|
|
20
20
|
"@angular/cdk": "^20.2.14",
|
|
21
|
-
"@angular/common": "^20.3.
|
|
22
|
-
"@angular/core": "^20.3.
|
|
23
|
-
"@angular/forms": "^20.3.
|
|
24
|
-
"@angular/platform-browser": "^20.3.
|
|
25
|
-
"@skyux/core": "13.
|
|
26
|
-
"@skyux/forms": "13.
|
|
27
|
-
"@skyux/i18n": "13.
|
|
28
|
-
"@skyux/icon": "13.
|
|
29
|
-
"@skyux/lookup": "13.
|
|
30
|
-
"@skyux/theme": "13.
|
|
21
|
+
"@angular/common": "^20.3.17",
|
|
22
|
+
"@angular/core": "^20.3.17",
|
|
23
|
+
"@angular/forms": "^20.3.17",
|
|
24
|
+
"@angular/platform-browser": "^20.3.17",
|
|
25
|
+
"@skyux/core": "13.15.0",
|
|
26
|
+
"@skyux/forms": "13.15.0",
|
|
27
|
+
"@skyux/i18n": "13.15.0",
|
|
28
|
+
"@skyux/icon": "13.15.0",
|
|
29
|
+
"@skyux/lookup": "13.15.0",
|
|
30
|
+
"@skyux/theme": "13.15.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"google-libphonenumber": "3.2.42",
|