@firestitch/form 12.0.3 → 12.0.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.
@@ -66,6 +66,9 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
66
66
  ngAfterContentInit(): void;
67
67
  ngOnDestroy(): void;
68
68
  createSnapshot(): void;
69
+ getSnapshot(): {
70
+ [key: string]: any;
71
+ };
69
72
  reset(): void;
70
73
  clear(): void;
71
74
  dirty(): void;
@@ -660,6 +660,9 @@
660
660
  FsFormDirective.prototype.createSnapshot = function () {
661
661
  this._snapshot = this.ngForm.value;
662
662
  };
663
+ FsFormDirective.prototype.getSnapshot = function () {
664
+ return this._snapshot || {};
665
+ };
663
666
  FsFormDirective.prototype.reset = function () {
664
667
  var _this = this;
665
668
  this.ngForm.resetForm();