@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
|
@@ -7810,10 +7810,11 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
7810
7810
|
.pipe(takeUntil(this.ngUsubscribe), finalize(function () {
|
|
7811
7811
|
_this.formGroup.markAsPristine();
|
|
7812
7812
|
_this.parentControl.markAsPristine();
|
|
7813
|
+
if (_this.ready$)
|
|
7814
|
+
_this.ready$.next(true);
|
|
7813
7815
|
}))
|
|
7814
7816
|
.subscribe(function (response) {
|
|
7815
|
-
var _a;
|
|
7816
|
-
var _b = __read(response, 2), customFieldsResponse = _b[0], localeOptions = _b[1];
|
|
7817
|
+
var _a = __read(response, 2), customFieldsResponse = _a[0], localeOptions = _a[1];
|
|
7817
7818
|
var defaults = {};
|
|
7818
7819
|
defaults[CustomFieldType.String] = {};
|
|
7819
7820
|
defaults[CustomFieldType.Boolean] = { defaultValue: false };
|
|
@@ -7830,7 +7831,7 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
7830
7831
|
defaults[CustomFieldType.Any] = {};
|
|
7831
7832
|
if (!customFieldsResponse || !customFieldsResponse.entity_)
|
|
7832
7833
|
return;
|
|
7833
|
-
var
|
|
7834
|
+
var _b = customFieldsResponse.entity_, active = _b.active, fields = _b.fields;
|
|
7834
7835
|
if (!active)
|
|
7835
7836
|
return;
|
|
7836
7837
|
fields
|
|
@@ -7865,7 +7866,6 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
7865
7866
|
_this.createFieldCustomization(fields);
|
|
7866
7867
|
_this.formGroup.patchValue(_this.parseValuesForFields(_this.value));
|
|
7867
7868
|
_this.ready = true;
|
|
7868
|
-
(_a = _this.ready$) === null || _a === void 0 ? void 0 : _a.next(true);
|
|
7869
7869
|
});
|
|
7870
7870
|
};
|
|
7871
7871
|
CustomFieldsComponent.prototype.ngOnDestroy = function () {
|