@skyux/phone-field 12.3.0 → 12.5.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.
|
@@ -159,17 +159,17 @@ class SkyPhoneFieldFixture {
|
|
|
159
159
|
* @internal
|
|
160
160
|
*/
|
|
161
161
|
class SkyPhoneFieldTestingModule {
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
163
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
163
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldTestingModule, exports: [SkyPhoneFieldModule,
|
|
164
164
|
// The noop animations module needs to be loaded last to avoid
|
|
165
165
|
// subsequent modules adding animations and overriding this.
|
|
166
166
|
NoopAnimationsModule] }); }
|
|
167
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
167
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldTestingModule, imports: [SkyPhoneFieldModule,
|
|
168
168
|
// The noop animations module needs to be loaded last to avoid
|
|
169
169
|
// subsequent modules adding animations and overriding this.
|
|
170
170
|
NoopAnimationsModule] }); }
|
|
171
171
|
}
|
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldTestingModule, decorators: [{
|
|
173
173
|
type: NgModule,
|
|
174
174
|
args: [{
|
|
175
175
|
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: "19.2.
|
|
63
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
62
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldAdapterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
63
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldAdapterService }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", 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: "19.2.
|
|
116
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
117
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
116
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldResourcesModule, exports: [SkyI18nModule] }); }
|
|
117
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldResourcesModule, imports: [SkyI18nModule] }); }
|
|
118
118
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", 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: "19.2.
|
|
462
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", 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: "19.2.7", 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: "19.2.
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", 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: "19.2.
|
|
841
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.
|
|
840
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
841
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.7", 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: "19.2.
|
|
854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", 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: "19.2.1", ngImpor
|
|
|
883
883
|
}] } });
|
|
884
884
|
|
|
885
885
|
class SkyPhoneFieldModule {
|
|
886
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
887
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
888
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
886
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
887
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldModule, imports: [SkyPhoneFieldComponent, SkyPhoneFieldInputDirective], exports: [SkyPhoneFieldComponent, SkyPhoneFieldInputDirective] }); }
|
|
888
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: SkyPhoneFieldModule, imports: [SkyPhoneFieldComponent] }); }
|
|
889
889
|
}
|
|
890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", 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": "12.
|
|
3
|
+
"version": "12.5.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://github.com/blackbaud/skyux#readme",
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/animations": "^19.2.
|
|
20
|
-
"@angular/cdk": "^19.2.
|
|
21
|
-
"@angular/common": "^19.2.
|
|
22
|
-
"@angular/core": "^19.2.
|
|
23
|
-
"@angular/forms": "^19.2.
|
|
24
|
-
"@angular/platform-browser": "^19.2.
|
|
25
|
-
"@skyux-sdk/testing": "12.
|
|
26
|
-
"@skyux/core": "12.
|
|
27
|
-
"@skyux/forms": "12.
|
|
28
|
-
"@skyux/i18n": "12.
|
|
29
|
-
"@skyux/icon": "12.
|
|
30
|
-
"@skyux/lookup": "12.
|
|
31
|
-
"@skyux/theme": "12.
|
|
19
|
+
"@angular/animations": "^19.2.7",
|
|
20
|
+
"@angular/cdk": "^19.2.10",
|
|
21
|
+
"@angular/common": "^19.2.7",
|
|
22
|
+
"@angular/core": "^19.2.7",
|
|
23
|
+
"@angular/forms": "^19.2.7",
|
|
24
|
+
"@angular/platform-browser": "^19.2.7",
|
|
25
|
+
"@skyux-sdk/testing": "12.5.0",
|
|
26
|
+
"@skyux/core": "12.5.0",
|
|
27
|
+
"@skyux/forms": "12.5.0",
|
|
28
|
+
"@skyux/i18n": "12.5.0",
|
|
29
|
+
"@skyux/icon": "12.5.0",
|
|
30
|
+
"@skyux/lookup": "12.5.0",
|
|
31
|
+
"@skyux/theme": "12.5.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"google-libphonenumber": "3.2.40",
|