@indfnd/common 1.0.7 → 1.0.8

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.8](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.7...v1.0.8) (2024-06-26)
6
+
5
7
  ### [1.0.7](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.6...v1.0.7) (2024-06-20)
6
8
 
7
9
 
@@ -2,7 +2,7 @@ import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Draw
2
2
  import { isNil, formatDate as formatDate$1, useConfig, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, uuid, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, getPermissionCache, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, getLocalStorage, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, getIndexDescCache, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
3
3
  import Vue$1 from "vue";
4
4
  const name$1 = "@indfnd/common";
5
- const version = "1.0.6";
5
+ const version = "1.0.7";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -43389,7 +43389,11 @@ function exportJsonToExcel(excelData) {
43389
43389
  sheet.cell(rowsNow + i, j + 1).value(parseFloat(lineData[j]));
43390
43390
  dataCellStyle.numberFormat = numberFormat[j];
43391
43391
  } else {
43392
- sheet.cell(rowsNow + i, j + 1).value("");
43392
+ if (columnType[j] === "n") {
43393
+ dataCellStyle.numberFormat = numberFormat[j];
43394
+ } else {
43395
+ sheet.cell(rowsNow + i, j + 1).value("");
43396
+ }
43393
43397
  }
43394
43398
  dataCellStyle.horizontalAlignment = columnAlign[j];
43395
43399
  sheet.cell(rowsNow + i, j + 1).style(dataCellStyle);
@@ -53124,6 +53128,9 @@ const __vue2_script$Z = {
53124
53128
  if (column.hide) {
53125
53129
  agColumn.hide = column.hide;
53126
53130
  }
53131
+ if (column.align) {
53132
+ agColumn.align = column.align;
53133
+ }
53127
53134
  if (column.headerTooltip) {
53128
53135
  agColumn.headerTooltip = agColumn.headerTooltip || column.headerTooltip;
53129
53136
  }