tnx-shared 5.1.444 → 5.1.445
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 +3 -6
- 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/list-component-base.d.ts +1 -0
- package/classes/base/list-component-base.d.ts.map +1 -1
- package/esm2015/classes/base/list-component-base.js +5 -7
- package/fesm2015/tnx-shared.js +3 -6
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -21182,6 +21182,7 @@
|
|
|
21182
21182
|
_this._moduleConfigService = _this._injector.get(ModuleConfigService);
|
|
21183
21183
|
_this._permissionService = _this._injector.get(PermissionService);
|
|
21184
21184
|
_this._templateInstanceService = _this._injector.get(TemplateInstanceService);
|
|
21185
|
+
_this._printService = _this._injector.get(PrintService);
|
|
21185
21186
|
_this.handleCheckAll = _this.handleCheckAll.bind(_this);
|
|
21186
21187
|
_this.handleCheckAll_Group = _this.handleCheckAll_Group.bind(_this);
|
|
21187
21188
|
_this.environment = _this._moduleConfigService.getConfig().environment;
|
|
@@ -21927,11 +21928,7 @@
|
|
|
21927
21928
|
var strBodyEle = this.rowDataHtmlToString(arrRowData);
|
|
21928
21929
|
var css = '<style type="text/css">table th, table td {border:1px solid #000;} table th {text-align: center;} table {width: 100%;border-collapse: collapse;} table td:first-child {text-align: center;}</style>';
|
|
21929
21930
|
var table = css + "<table>" + strHeadEle + strBodyEle + "</table>";
|
|
21930
|
-
|
|
21931
|
-
header: header.toUpperCase(),
|
|
21932
|
-
tableEle: table
|
|
21933
|
-
};
|
|
21934
|
-
this._templateInstanceService.fillTemplateByCode('ExportWordCommon', dataExport, header);
|
|
21931
|
+
this._printService.printHtmlContent(table, header.toUpperCase());
|
|
21935
21932
|
};
|
|
21936
21933
|
ListComponentBase.prototype.exportAll = function () {
|
|
21937
21934
|
this.exportByReadingHtml(true);
|
|
@@ -21975,7 +21972,7 @@
|
|
|
21975
21972
|
rowData += '</tr>';
|
|
21976
21973
|
arrRowData.push(rowData);
|
|
21977
21974
|
});
|
|
21978
|
-
return arrRowData.
|
|
21975
|
+
return arrRowData.join(' ');
|
|
21979
21976
|
};
|
|
21980
21977
|
ListComponentBase.prototype.getArrHeadByHtml = function (header) {
|
|
21981
21978
|
var firstRow = header.querySelector('tr');
|