@indfnd/utils 0.1.5 → 0.1.7
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 +15 -0
- package/dist/ind-utils.es.js +7 -6
- package/dist/ind-utils.umd.cjs +10 -10
- package/package.json +1 -1
- package/src/config/base.config.ts +11 -6
- 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 +17 -11
- package/types/api/platform/oss.d.ts +12 -6
- package/types/api/platform/user.d.ts +17 -12
- package/types/api/user.d.ts +2 -2
- package/types/config/base.config.d.ts +30 -30
- package/types/config/base.config.d.ts.map +1 -1
- package/types/config/dev.config.d.ts +3 -3
- package/types/config/index.d.ts +57 -57
- 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 +43 -39
- package/types/utils/event.d.ts +13 -5
- package/types/utils/excel.d.ts +4 -4
- 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 +7 -3
- 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 +40 -31
- 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,21 @@
|
|
|
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.7](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.6...v0.1.7) (2024-04-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 兼容云庭 ([efa008a](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/efa008a8ba6fbf9d814a9ee9861794648905a179))
|
|
11
|
+
|
|
12
|
+
### [0.1.6](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.5...v0.1.6) (2024-04-25)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* 修改label宽度 ([8b56d81](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/8b56d813c1b66e59abb99a307827852f385e2369))
|
|
18
|
+
* label宽度自适应 ([daf83ea](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/daf83ea75f2dbd4677c5db5590e95250c75aa880))
|
|
19
|
+
|
|
5
20
|
### [0.1.5](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.4...v0.1.5) (2024-04-16)
|
|
6
21
|
|
|
7
22
|
|
package/dist/ind-utils.es.js
CHANGED
|
@@ -3228,6 +3228,7 @@ const Cookie = {
|
|
|
3228
3228
|
}
|
|
3229
3229
|
}
|
|
3230
3230
|
};
|
|
3231
|
+
const ratio = typeof window !== "undefined" ? (window.top ? window.top.innerWidth : window.innerWidth) / 1920 : 1;
|
|
3231
3232
|
var baseConfig = {
|
|
3232
3233
|
title: "",
|
|
3233
3234
|
icomId: "",
|
|
@@ -3247,12 +3248,12 @@ var baseConfig = {
|
|
|
3247
3248
|
errorMessage: "\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",
|
|
3248
3249
|
leftLockDays: 7,
|
|
3249
3250
|
labelStyle: {
|
|
3250
|
-
labelWidthButton: 50,
|
|
3251
|
-
labelWidthSmall: 100 + 40,
|
|
3252
|
-
labelWidthMiddle: 120 + 40,
|
|
3253
|
-
labelWidthMiddleLarge: 140 + 40,
|
|
3254
|
-
labelWidthLarge: 160 + 40,
|
|
3255
|
-
labelWidthSuperLarge: 180 + 40
|
|
3251
|
+
labelWidthButton: 50 * ratio,
|
|
3252
|
+
labelWidthSmall: (100 + 40) * ratio,
|
|
3253
|
+
labelWidthMiddle: (120 + 40) * ratio,
|
|
3254
|
+
labelWidthMiddleLarge: (140 + 40) * ratio,
|
|
3255
|
+
labelWidthLarge: (160 + 40) * ratio,
|
|
3256
|
+
labelWidthSuperLarge: (180 + 40) * ratio
|
|
3256
3257
|
},
|
|
3257
3258
|
linkColor: "#488AFF"
|
|
3258
3259
|
};
|