tnx-shared 5.3.179 → 5.3.181
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/tnx-shared.umd.js +4 -2
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/base/data-form-base.d.ts +3 -2
- package/classes/base/data-form-base.d.ts.map +1 -1
- package/esm2015/classes/base/data-form-base.js +5 -3
- package/fesm2015/tnx-shared.js +4 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -18285,8 +18285,6 @@
|
|
|
18285
18285
|
_this._entityMetadataService = _this._injector.get(EntityMetadataService);
|
|
18286
18286
|
_this._userService = _this._injector.get(UserService);
|
|
18287
18287
|
_this._commonService = _this._injector.get(CommonService);
|
|
18288
|
-
_this.messageInsertSuccess = _this._translateService.instant('MESSAGE.INSERT_DATA_SUCCESS');
|
|
18289
|
-
_this.messageUpdateSuccess = _this._translateService.instant('MESSAGE.UPDATE_DATA_SUCCESS');
|
|
18290
18288
|
return _this;
|
|
18291
18289
|
}
|
|
18292
18290
|
DataFormBase.prototype.ngOnInit = function () {
|
|
@@ -18305,6 +18303,10 @@
|
|
|
18305
18303
|
}
|
|
18306
18304
|
}
|
|
18307
18305
|
};
|
|
18306
|
+
DataFormBase.prototype.ngAfterViewInit = function () {
|
|
18307
|
+
this.messageInsertSuccess = this._translateService.instant('MESSAGE.INSERT_DATA_SUCCESS');
|
|
18308
|
+
this.messageUpdateSuccess = this._translateService.instant('MESSAGE.UPDATE_DATA_SUCCESS');
|
|
18309
|
+
};
|
|
18308
18310
|
DataFormBase.prototype.checkPermission = function (basePermission) {
|
|
18309
18311
|
if (this.isBaseModel) {
|
|
18310
18312
|
if (this.model.formState == exports.FormState.EDIT) {
|