taxtank-core 0.21.1 → 0.21.2
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/taxtank-core.umd.js +7 -8
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/forms/register/register-client.form.js +3 -9
- package/esm2015/lib/forms/register/register-firm.form.js +4 -1
- package/fesm2015/taxtank-core.js +5 -8
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/forms/register/register-client.form.d.ts +3 -2
- package/lib/forms/register/register-firm.form.d.ts +1 -0
- package/package.json +1 -1
|
@@ -15259,18 +15259,13 @@
|
|
|
15259
15259
|
referenceCode: new forms.FormControl(referenceCode)
|
|
15260
15260
|
}) || this;
|
|
15261
15261
|
}
|
|
15262
|
-
RegisterClientForm.prototype.submit = function () {
|
|
15262
|
+
RegisterClientForm.prototype.submit = function (data) {
|
|
15263
|
+
if (data === void 0) { data = {}; }
|
|
15264
|
+
return _super.prototype.submit.call(this, { password: this.get('password').submit().password });
|
|
15263
15265
|
var formValue = _super.prototype.submit.call(this);
|
|
15264
15266
|
if (!formValue) {
|
|
15265
15267
|
return null;
|
|
15266
15268
|
}
|
|
15267
|
-
return {
|
|
15268
|
-
firstName: this.value.firstName,
|
|
15269
|
-
lastName: this.value.lastName,
|
|
15270
|
-
email: this.value.email,
|
|
15271
|
-
password: this.value.password.password,
|
|
15272
|
-
referenceCode: this.value.referenceCode
|
|
15273
|
-
};
|
|
15274
15269
|
};
|
|
15275
15270
|
return RegisterClientForm;
|
|
15276
15271
|
}(AbstractForm));
|
|
@@ -15288,6 +15283,10 @@
|
|
|
15288
15283
|
_this.firmType = firmType;
|
|
15289
15284
|
return _this;
|
|
15290
15285
|
}
|
|
15286
|
+
RegisterFirmForm.prototype.submit = function (data) {
|
|
15287
|
+
if (data === void 0) { data = {}; }
|
|
15288
|
+
return _super.prototype.submit.call(this, { owner: this.get('owner').submit() });
|
|
15289
|
+
};
|
|
15291
15290
|
return RegisterFirmForm;
|
|
15292
15291
|
}(AbstractForm));
|
|
15293
15292
|
|