@seniorsistemas/angular-components 16.10.12 → 16.10.13
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 +4 -4
- 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/custom-fields/custom-fields.component.js +3 -3
- package/esm5/components/custom-fields/custom-fields.component.js +5 -5
- package/fesm2015/seniorsistemas-angular-components.js +2 -2
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +4 -4
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -7978,10 +7978,11 @@
|
|
|
7978
7978
|
.pipe(operators.takeUntil(this.ngUsubscribe), operators.finalize(function () {
|
|
7979
7979
|
_this.formGroup.markAsPristine();
|
|
7980
7980
|
_this.parentControl.markAsPristine();
|
|
7981
|
+
if (_this.ready$)
|
|
7982
|
+
_this.ready$.next(true);
|
|
7981
7983
|
}))
|
|
7982
7984
|
.subscribe(function (response) {
|
|
7983
|
-
var _a;
|
|
7984
|
-
var _b = __read(response, 2), customFieldsResponse = _b[0], localeOptions = _b[1];
|
|
7985
|
+
var _a = __read(response, 2), customFieldsResponse = _a[0], localeOptions = _a[1];
|
|
7985
7986
|
var defaults = {};
|
|
7986
7987
|
defaults[CustomFieldType.String] = {};
|
|
7987
7988
|
defaults[CustomFieldType.Boolean] = { defaultValue: false };
|
|
@@ -7998,7 +7999,7 @@
|
|
|
7998
7999
|
defaults[CustomFieldType.Any] = {};
|
|
7999
8000
|
if (!customFieldsResponse || !customFieldsResponse.entity_)
|
|
8000
8001
|
return;
|
|
8001
|
-
var
|
|
8002
|
+
var _b = customFieldsResponse.entity_, active = _b.active, fields = _b.fields;
|
|
8002
8003
|
if (!active)
|
|
8003
8004
|
return;
|
|
8004
8005
|
fields
|
|
@@ -8033,7 +8034,6 @@
|
|
|
8033
8034
|
_this.createFieldCustomization(fields);
|
|
8034
8035
|
_this.formGroup.patchValue(_this.parseValuesForFields(_this.value));
|
|
8035
8036
|
_this.ready = true;
|
|
8036
|
-
(_a = _this.ready$) === null || _a === void 0 ? void 0 : _a.next(true);
|
|
8037
8037
|
});
|
|
8038
8038
|
};
|
|
8039
8039
|
CustomFieldsComponent.prototype.ngOnDestroy = function () {
|