@baosight/er4j 0.0.39 → 0.0.41

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.
@@ -742,6 +742,19 @@ export declare namespace ER {
742
742
  * @returns void
743
743
  */
744
744
  static importExcelFile(grid: any, processData?: (row: any) => boolean, improtData?: (data: Model[]) => void): void;
745
+ /**
746
+ * 导出grid到excel
747
+ * @param gridApi gridApi
748
+ * @param columnApi columnApi
749
+ * @param exportOptions 导出选项
750
+ */
751
+ static exportGridToExcel(gridApi: GridApi, columnApi: ColumnApi, exportOptions?: {
752
+ fileName?: string;
753
+ sheetName?: string;
754
+ isBandView?: boolean;
755
+ isShowFooter?: boolean;
756
+ isCheckedRows?: boolean;
757
+ }): void;
745
758
  /**
746
759
  * 判断颜色是否为透明色
747
760
  * @param color 颜色
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baosight/er4j",
3
- "version": "0.0.39",
3
+ "version": "0.0.41",
4
4
  "description": "er4j 辅助开发",
5
5
  "private": false,
6
6
  "type": "module",