info-library 2.10.46 → 2.10.48
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/info-library.umd.js +6 -1
- package/bundles/info-library.umd.js.map +1 -1
- package/bundles/info-library.umd.min.js +1 -1
- package/bundles/info-library.umd.min.js.map +1 -1
- package/controls/grid/grid.component.d.ts +1 -0
- package/esm2015/controls/grid/grid.component.js +7 -2
- package/fesm2015/info-library.js +6 -1
- package/fesm2015/info-library.js.map +1 -1
- package/info-library.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -4009,6 +4009,7 @@
|
|
|
4009
4009
|
this.buttons = [];
|
|
4010
4010
|
this.searchbuttons = [];
|
|
4011
4011
|
this.showmessageerror = false;
|
|
4012
|
+
this.defaultnewobject = null;
|
|
4012
4013
|
this.messages = [];
|
|
4013
4014
|
this.resultTitle = '';
|
|
4014
4015
|
this.enabledSearch = false;
|
|
@@ -4416,7 +4417,7 @@
|
|
|
4416
4417
|
*/
|
|
4417
4418
|
InfoGridComponent.prototype.add = function () {
|
|
4418
4419
|
if (this.form != null) {
|
|
4419
|
-
this._prop.set(InfoPageAction.New,
|
|
4420
|
+
this._prop.set(InfoPageAction.New, this.defaultnewobject);
|
|
4420
4421
|
this.openModal();
|
|
4421
4422
|
}
|
|
4422
4423
|
else {
|
|
@@ -4694,6 +4695,7 @@
|
|
|
4694
4695
|
var _this = this;
|
|
4695
4696
|
if (this.apidownload == null)
|
|
4696
4697
|
alert('API Download está null');
|
|
4698
|
+
this.loading = true;
|
|
4697
4699
|
this._dataAccessService.get(this.apidownload, (this.methoddownload != null ? this.methoddownload : 'Get'), "id=" + arquivoId).subscribe(( /**
|
|
4698
4700
|
* @param {?} r
|
|
4699
4701
|
* @return {?}
|
|
@@ -4867,6 +4869,7 @@
|
|
|
4867
4869
|
buttons: [{ type: i0.Input }],
|
|
4868
4870
|
searchbuttons: [{ type: i0.Input }],
|
|
4869
4871
|
showmessageerror: [{ type: i0.Input }],
|
|
4872
|
+
defaultnewobject: [{ type: i0.Input }],
|
|
4870
4873
|
formModel: [{ type: i0.ContentChildren, args: [forms.NgModel,] }],
|
|
4871
4874
|
formSearch: [{ type: i0.ViewChild, args: [forms.NgForm, { static: false },] }],
|
|
4872
4875
|
paginator: [{ type: i0.ViewChild, args: ['paginator', { static: false },] }],
|
|
@@ -4978,6 +4981,8 @@
|
|
|
4978
4981
|
/** @type {?} */
|
|
4979
4982
|
InfoGridComponent.prototype.showmessageerror;
|
|
4980
4983
|
/** @type {?} */
|
|
4984
|
+
InfoGridComponent.prototype.defaultnewobject;
|
|
4985
|
+
/** @type {?} */
|
|
4981
4986
|
InfoGridComponent.prototype.formModel;
|
|
4982
4987
|
/** @type {?} */
|
|
4983
4988
|
InfoGridComponent.prototype.formSearch;
|