@skyux/lookup 5.6.1 → 5.6.2
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/bundles/skyux-lookup.umd.js +11 -9
- package/documentation.json +481 -605
- package/esm2015/lib/modules/autocomplete/autocomplete-input.directive.js +4 -3
- package/esm2015/lib/modules/autocomplete/autocomplete-input.directive.js.map +1 -1
- package/esm2015/lib/modules/country-field/country-field.component.js +2 -2
- package/esm2015/lib/modules/country-field/country-field.component.js.map +1 -1
- package/esm2015/lib/modules/lookup/lookup.component.js +5 -4
- package/esm2015/lib/modules/lookup/lookup.component.js.map +1 -1
- package/fesm2015/skyux-lookup.js +11 -9
- package/fesm2015/skyux-lookup.js.map +1 -1
- package/lib/modules/country-field/country-field.component.d.ts +3 -3
- package/package.json +10 -10
|
@@ -131,7 +131,8 @@
|
|
|
131
131
|
this._disabled = false;
|
|
132
132
|
this._focus = new rxjs.Subject();
|
|
133
133
|
this._textChanges = new rxjs.Subject();
|
|
134
|
-
|
|
134
|
+
// istanbul ignore next
|
|
135
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
135
136
|
this.onValidatorChange = function () { };
|
|
136
137
|
}
|
|
137
138
|
Object.defineProperty(SkyAutocompleteInputDirective.prototype, "autocompleteAttribute", {
|
|
@@ -332,9 +333,9 @@
|
|
|
332
333
|
}
|
|
333
334
|
};
|
|
334
335
|
// Angular automatically constructs these methods.
|
|
335
|
-
|
|
336
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
336
337
|
SkyAutocompleteInputDirective.prototype.onChange = function (value) { };
|
|
337
|
-
|
|
338
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
338
339
|
SkyAutocompleteInputDirective.prototype.onTouched = function () { };
|
|
339
340
|
SkyAutocompleteInputDirective.prototype.setAttributes = function (element) {
|
|
340
341
|
this.renderer.setAttribute(element, 'autocomplete', this.autocompleteAttribute);
|
|
@@ -1697,9 +1698,9 @@
|
|
|
1697
1698
|
this._disabled = false;
|
|
1698
1699
|
this._includePhoneInfo = false;
|
|
1699
1700
|
// Angular automatically constructs these methods.
|
|
1700
|
-
|
|
1701
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
1701
1702
|
this.onChange = function (value) { };
|
|
1702
|
-
|
|
1703
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
1703
1704
|
this.onTouched = function () { };
|
|
1704
1705
|
this.setupCountries();
|
|
1705
1706
|
this.countrySearchFormControl = new i8.FormControl();
|
|
@@ -3079,9 +3080,9 @@
|
|
|
3079
3080
|
_this.idle = new rxjs.Subject();
|
|
3080
3081
|
_this.markForTokenFocusOnKeyUp = false;
|
|
3081
3082
|
// Angular automatically constructs these methods.
|
|
3082
|
-
|
|
3083
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
3083
3084
|
_this.onChange = function (value) { };
|
|
3084
|
-
|
|
3085
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
3085
3086
|
_this.onTouched = function () { };
|
|
3086
3087
|
ngControl.valueAccessor = _this;
|
|
3087
3088
|
return _this;
|
|
@@ -3368,8 +3369,9 @@
|
|
|
3368
3369
|
var isValueInTextBox = false;
|
|
3369
3370
|
if (this.selectMode === 'single') {
|
|
3370
3371
|
isValueInTextBox =
|
|
3371
|
-
this.autocompleteInputDirective.
|
|
3372
|
-
this.autocompleteInputDirective.
|
|
3372
|
+
this.autocompleteInputDirective.value &&
|
|
3373
|
+
this.autocompleteInputDirective.inputTextValue ===
|
|
3374
|
+
this.autocompleteInputDirective.value[this.descriptorProperty];
|
|
3373
3375
|
}
|
|
3374
3376
|
this.openPicker(isValueInTextBox ? '' : this.autocompleteInputDirective.inputTextValue);
|
|
3375
3377
|
this.autocompleteInputDirective.restoreInputTextValueToPreviousState();
|