@mtna/web-form-angular 1.0.4-SNAPSHOT.2 → 1.0.4-SNAPSHOT.4

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.
@@ -4399,9 +4399,11 @@
4399
4399
  /**
4400
4400
  * Emitted every time a form control's validation status changes.
4401
4401
  * The `id` is the form control's name and the `status` is the new validation status for the control.
4402
+ * TODO: This should be renamed to controlStatus to be more clear
4402
4403
  */
4403
4404
  _this.status = new i0.EventEmitter();
4404
4405
  _this.focusedSection = new i0.EventEmitter();
4406
+ // TODO: This should emit an object that wraps the generic form type with the validity status boolean
4405
4407
  _this.mtnaFormChange = new i0.EventEmitter();
4406
4408
  _this.componentIds = [];
4407
4409
  _this._hasPreviousForm = false;
@@ -4624,6 +4626,7 @@
4624
4626
  this._mtnaFormItemChangeSub = this.mtnaFormManager.formChanges
4625
4627
  .pipe(operators.takeUntil(this.destroyed$), operators.skipWhile(function (change) { return !change; }))
4626
4628
  .subscribe(function (newForm) { return _this.mtnaFormChange.emit(newForm); });
4629
+ // TODO: This should emit an object that wraps the generic form type with the validity status boolean
4627
4630
  };
4628
4631
  MtnaWfBaseFormComponent.prototype._unsubscribeFromNgFormChanges = function () {
4629
4632
  if (!!this._ngFormStatusChangeSub && !this._ngFormStatusChangeSub.closed) {