@seniorsistemas/angular-components 16.3.2 → 16.3.3
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/seniorsistemas-angular-components.umd.js +6 -1
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +7 -2
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +7 -2
- package/fesm2015/seniorsistemas-angular-components.js +6 -1
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +6 -1
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2051,7 +2051,12 @@ var LookupComponent = /** @class */ (function () {
|
|
|
2051
2051
|
this.onSearchRequest.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () { return (_this.loading = true); });
|
|
2052
2052
|
this.onSelect.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () { return _this.onChange(_this.value); });
|
|
2053
2053
|
this.onUnselect.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () { return _this.onChange(_this.value); });
|
|
2054
|
-
this.onClear.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
2054
|
+
this.onClear.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
2055
|
+
if (_this.multiple || !_this.value) {
|
|
2056
|
+
return;
|
|
2057
|
+
}
|
|
2058
|
+
_this.onChange(null);
|
|
2059
|
+
});
|
|
2055
2060
|
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
2056
2061
|
_this.onTouched();
|
|
2057
2062
|
});
|