@indfnd/utils 0.1.12 → 0.1.15
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 +16 -0
- package/dist/ind-utils.es.js +5 -1
- package/dist/ind-utils.umd.cjs +7 -7
- package/package.json +1 -1
- package/src/utils/excel.js +7 -2
- package/types/api/com.d.ts +2 -2
- package/types/api/index-desc.d.ts +2 -2
- package/types/api/index.d.ts +6 -6
- package/types/api/item.d.ts +4 -4
- package/types/api/platform/dict.d.ts +4 -4
- package/types/api/platform/index.d.ts +5 -5
- package/types/api/platform/menu.d.ts +11 -17
- package/types/api/platform/oss.d.ts +6 -12
- package/types/api/platform/user.d.ts +12 -17
- package/types/api/user.d.ts +2 -2
- package/types/config/base.config.d.ts +31 -31
- package/types/config/dev.config.d.ts +3 -3
- package/types/config/index.d.ts +59 -59
- package/types/config/prod.config.d.ts +3 -3
- package/types/index.d.ts +4 -4
- package/types/utils/base64.d.ts +22 -22
- package/types/utils/blob.d.ts +3 -3
- package/types/utils/cache/dict-cache.d.ts +3 -3
- package/types/utils/cache/index-desc.d.ts +4 -4
- package/types/utils/cache/index.d.ts +4 -4
- package/types/utils/cache/permission-cache.d.ts +4 -4
- package/types/utils/cache/user-cache.d.ts +4 -4
- package/types/utils/date.d.ts +4 -4
- package/types/utils/enum.d.ts +39 -43
- package/types/utils/event.d.ts +5 -13
- package/types/utils/excel.d.ts +4 -4
- package/types/utils/excel.d.ts.map +1 -1
- package/types/utils/half-year.d.ts +6 -6
- package/types/utils/index.d.ts +20 -20
- package/types/utils/is-type.d.ts +33 -33
- package/types/utils/mime-type.d.ts +67 -67
- package/types/utils/number.d.ts +8 -8
- package/types/utils/quarter.d.ts +7 -7
- package/types/utils/request/axios.extends.d.ts +3 -7
- package/types/utils/request/cache-rules.d.ts +3 -3
- package/types/utils/request/content-type.d.ts +9 -9
- package/types/utils/request/index.d.ts +8 -8
- package/types/utils/request/interceptors.d.ts +4 -4
- package/types/utils/request/url-params.d.ts +6 -6
- package/types/utils/sm3/index.d.ts +6 -6
- package/types/utils/sm3/sm3.d.ts +3 -3
- package/types/utils/storage.d.ts +8 -8
- package/types/utils/table.d.ts +31 -40
- package/types/utils/token.d.ts +3 -3
- package/types/utils/uuid.d.ts +4 -4
- package/types/utils/validate.d.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
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
|
+
### [0.1.15](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.14...v0.1.15) (2024-06-27)
|
|
6
|
+
|
|
7
|
+
### [0.1.14](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.13...v0.1.14) (2024-06-27)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* 添加img ([297b9fd](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/297b9fd911fa67d84b63cb153e5394aba8f663cb))
|
|
13
|
+
|
|
14
|
+
### [0.1.13](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.12...v0.1.13) (2024-06-27)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* 解决excel导出bug ([e3e08c3](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/e3e08c3ded07358ac83ac45cbca67748045b95e4))
|
|
20
|
+
|
|
5
21
|
### [0.1.12](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.11...v0.1.12) (2024-06-26)
|
|
6
22
|
|
|
7
23
|
### [0.1.11](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.10...v0.1.11) (2024-06-16)
|
package/dist/ind-utils.es.js
CHANGED
|
@@ -10178,7 +10178,11 @@ function exportJsonToExcel(excelData) {
|
|
|
10178
10178
|
sheet.cell(rowsNow + i, j + 1).value(lineData[j].value ? parseFloat(lineData[j].value) : lineData[j].value);
|
|
10179
10179
|
dataCellStyle.numberFormat = numberFormat[j];
|
|
10180
10180
|
} else {
|
|
10181
|
-
|
|
10181
|
+
if (columnType[j] === "n") {
|
|
10182
|
+
dataCellStyle.numberFormat = numberFormat[j];
|
|
10183
|
+
} else {
|
|
10184
|
+
sheet.cell(rowsNow + i, j + 1).value("");
|
|
10185
|
+
}
|
|
10182
10186
|
}
|
|
10183
10187
|
if (lineData[j].formula) {
|
|
10184
10188
|
sheet.cell(rowsNow + i, j + 1).formula(lineData[j].formula);
|