@firestitch/form 12.4.23 → 12.5.0

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.
@@ -38,6 +38,7 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
38
38
  confirmTabs: boolean;
39
39
  dirtySubmitButton: boolean;
40
40
  set submit(submit$: (event: SubmitEvent) => Observable<any>);
41
+ get submit(): (event: SubmitEvent) => Observable<any>;
41
42
  successDelay: number;
42
43
  errorDelay: number;
43
44
  tabGroup: MatTabGroup;
@@ -71,7 +72,6 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
71
72
  private get _submitter();
72
73
  ngOnInit(): void;
73
74
  ngOnChanges(changes: SimpleChanges): void;
74
- get hasSubmit(): boolean;
75
75
  clearSubmit(): void;
76
76
  registerSubmit(submit$: () => Observable<any>): void;
77
77
  ngAfterContentInit(): void;
@@ -620,6 +620,9 @@
620
620
  this._submit$ = null;
621
621
  }
622
622
  Object.defineProperty(FsFormDirective.prototype, "submit", {
623
+ get: function () {
624
+ return this._submit$;
625
+ },
623
626
  set: function (submit$) {
624
627
  this._submit$ = submit$;
625
628
  },
@@ -722,13 +725,6 @@
722
725
  this._updateDirtySubmitButtons();
723
726
  }
724
727
  };
725
- Object.defineProperty(FsFormDirective.prototype, "hasSubmit", {
726
- get: function () {
727
- return this._submit$ !== null;
728
- },
729
- enumerable: false,
730
- configurable: true
731
- });
732
728
  FsFormDirective.prototype.clearSubmit = function () {
733
729
  var _this = this;
734
730
  this._submit$ = null;