@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.
@@ -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 _c = customFieldsResponse.entity_, active = _c.active, fields = _c.fields;
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 () {