tnx-shared 5.3.253 → 5.3.254

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.
@@ -18442,6 +18442,7 @@
18442
18442
  _this.setValidateForm = true;
18443
18443
  _this.haveEntityMetadataAPI = true;
18444
18444
  _this.isBaseModel = true;
18445
+ _this.autoGenerateId = true;
18445
18446
  _this.__isFormView = false;
18446
18447
  var moduleConfigService = _injector.get(ModuleConfigService);
18447
18448
  _this.environment = moduleConfigService.getConfig().environment;
@@ -19064,8 +19065,10 @@
19064
19065
  DataFormBase.prototype.onAfterSave = function (response) {
19065
19066
  };
19066
19067
  DataFormBase.prototype._onAfterSave = function () {
19067
- if (!this.isCloseForm) {
19068
- this.model.data.id = this._commonService.guid();
19068
+ var _a;
19069
+ var _b;
19070
+ if (!this.isCloseForm && this.autoGenerateId) {
19071
+ (_a = (_b = this.model.data).id) !== null && _a !== void 0 ? _a : (_b.id = this._commonService.guid());
19069
19072
  }
19070
19073
  };
19071
19074
  DataFormBase.prototype.onAfterGetDetail = function (data) {