tuain-ng-forms-lib 14.5.29 → 14.5.30
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/esm2020/lib/components/elements/action.component.mjs +4 -1
- package/esm2020/lib/components/forms/basic-form.mjs +2 -2
- package/fesm2015/tuain-ng-forms-lib.mjs +5 -1
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +4 -1
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/components/elements/action.component.d.ts +1 -0
- package/lib/components/forms/basic-form.d.ts +1 -1
- package/package.json +1 -1
|
@@ -93,6 +93,10 @@ class ActionComponent extends ElementComponent {
|
|
|
93
93
|
});
|
|
94
94
|
this.start();
|
|
95
95
|
}
|
|
96
|
+
start() {
|
|
97
|
+
var _a;
|
|
98
|
+
this.setForm((_a = this.action) === null || _a === void 0 ? void 0 : _a._form);
|
|
99
|
+
}
|
|
96
100
|
activate() {
|
|
97
101
|
var _a;
|
|
98
102
|
if ((_a = this.action) === null || _a === void 0 ? void 0 : _a.notifyActivation) {
|
|
@@ -3073,7 +3077,7 @@ class BasicFormComponent {
|
|
|
3073
3077
|
}
|
|
3074
3078
|
canGoBack() { return this._originToken !== null; }
|
|
3075
3079
|
goBack() { return this.formManagerService.backTo(); }
|
|
3076
|
-
goBackForm(
|
|
3080
|
+
goBackForm() { return this.goBack(); }
|
|
3077
3081
|
getOriginDetail() { var _a, _b; return (_a = this.formManagerService) === null || _a === void 0 ? void 0 : _a.getFormInfo((_b = this._originToken) !== null && _b !== void 0 ? _b : ''); }
|
|
3078
3082
|
setError(errorType, errorMessage, errorDetail) {
|
|
3079
3083
|
this._errorType = errorType || '';
|