tuain-ng-forms-lib 12.0.4 → 12.0.5
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/tuain-ng-forms-lib.umd.js +0 -37
- package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
- package/esm2015/lib/components/forms/basic-form.js +1 -35
- package/esm2015/lib/services/form-manager.service.js +1 -3
- package/fesm2015/tuain-ng-forms-lib.js +0 -36
- package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
- package/lib/components/forms/basic-form.d.ts +0 -12
- package/lib/services/form-manager.service.d.ts +0 -2
- package/package.json +1 -1
- package/tuain-ng-forms-lib.metadata.json +1 -1
|
@@ -3058,8 +3058,6 @@
|
|
|
3058
3058
|
}
|
|
3059
3059
|
// Métodos virtuales para las aplicaciones
|
|
3060
3060
|
LibFormManagerService.prototype.getFormDefinition = function (formCode) { };
|
|
3061
|
-
LibFormManagerService.prototype.getFormRoute = function (formCode) { };
|
|
3062
|
-
LibFormManagerService.prototype.getRouteForm = function (path) { };
|
|
3063
3061
|
LibFormManagerService.prototype.execServerAction = function (actionDetail) { };
|
|
3064
3062
|
LibFormManagerService.prototype.goToForm = function (formCode, token, subject) { };
|
|
3065
3063
|
LibFormManagerService.prototype.loadStack = function () { };
|
|
@@ -3400,41 +3398,6 @@
|
|
|
3400
3398
|
target.extra = (_h = target === null || target === void 0 ? void 0 : target.extra) !== null && _h !== void 0 ? _h : {};
|
|
3401
3399
|
this.formManagerService.openForm(origin, target);
|
|
3402
3400
|
};
|
|
3403
|
-
/**
|
|
3404
|
-
* @deprecated Este método ya no debería ser utilizado. Use openForm con el nombre del formulario
|
|
3405
|
-
*/
|
|
3406
|
-
BasicFormComponent.prototype.goToPage = function (navigationArray, predefinedFields, options) {
|
|
3407
|
-
if (options === void 0) { options = null; }
|
|
3408
|
-
var _a;
|
|
3409
|
-
var origin = null;
|
|
3410
|
-
var cleanStack = (_a = options === null || options === void 0 ? void 0 : options.cleanStack) !== null && _a !== void 0 ? _a : false;
|
|
3411
|
-
if (!cleanStack) {
|
|
3412
|
-
origin = {
|
|
3413
|
-
name: this.name,
|
|
3414
|
-
url: this._formRoute,
|
|
3415
|
-
token: this.controlToken,
|
|
3416
|
-
fields: this.inputDataFields,
|
|
3417
|
-
extra: this.extraData
|
|
3418
|
-
};
|
|
3419
|
-
}
|
|
3420
|
-
var target = {
|
|
3421
|
-
name: this.formManagerService.getRouteForm(navigationArray === null || navigationArray === void 0 ? void 0 : navigationArray[0]),
|
|
3422
|
-
url: navigationArray === null || navigationArray === void 0 ? void 0 : navigationArray[0],
|
|
3423
|
-
state: navigationArray === null || navigationArray === void 0 ? void 0 : navigationArray[1],
|
|
3424
|
-
subject: navigationArray === null || navigationArray === void 0 ? void 0 : navigationArray[2],
|
|
3425
|
-
fields: predefinedFields,
|
|
3426
|
-
extra: null,
|
|
3427
|
-
};
|
|
3428
|
-
this.formManagerService.openForm(origin, target);
|
|
3429
|
-
};
|
|
3430
|
-
/**
|
|
3431
|
-
* @deprecated Este método ya no debería ser utilizado. Use openForm con el nombre del formulario
|
|
3432
|
-
*/
|
|
3433
|
-
BasicFormComponent.prototype.goToNewPage = function (nav, flds) { return this.goToPage(nav, flds, { cleanStack: true }); };
|
|
3434
|
-
/**
|
|
3435
|
-
* @deprecated Este método ya no debería ser utilizado. Use openForm con el nombre del formulario
|
|
3436
|
-
*/
|
|
3437
|
-
BasicFormComponent.prototype.goToSubPage = function (nav, flds) { return this.goToPage(nav, flds, { cleanStack: false }); };
|
|
3438
3401
|
BasicFormComponent.prototype.canGoBack = function () { return this.originToken !== null; };
|
|
3439
3402
|
BasicFormComponent.prototype.goBack = function () { return this.formManagerService.backTo(); };
|
|
3440
3403
|
BasicFormComponent.prototype.goBackForm = function () { return this.goBack(); };
|