@kengic/vue 0.25.5-beta.1 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +34 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +23315 -23156
- package/dist/src/components/KgLayoutHeader/components/KgLayoutHeaderLocale.d.ts +38 -0
- package/dist/src/components/KgLayoutHeader/index.d.ts +1 -0
- package/dist/src/components/KgSubmit/index.hooks.d.ts +7 -0
- package/dist/src/components/KgSubmit/index.store.d.ts +7 -0
- package/dist/src/components/KgVar/index.hooks.d.ts +22 -0
- package/dist/src/components/KgVar/index.store.d.ts +4 -1
- package/dist/src/utils/kg.util.d.ts +6 -0
- package/package.json +3 -1
- package/dist/project/assets/flag/en.png +0 -0
- package/dist/project/assets/flag/es_ES.png +0 -0
- package/dist/project/assets/flag/fr_FR.png +0 -0
- package/dist/project/assets/flag/km_KH.png +0 -0
- package/dist/project/assets/flag/ko_KR.png +0 -0
- package/dist/project/assets/flag/vi_VN.png +0 -0
- package/dist/project/assets/flag/zh_CN.png +0 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,37 @@
|
|
1
|
+
# 0.26.0
|
2
|
+
|
3
|
+
### 1. useLocale, useLocaleStore, getAppEnvConfig 提取到组件库
|
4
|
+
|
5
|
+
```typescript
|
6
|
+
// 旧
|
7
|
+
// --------------------------------------------------
|
8
|
+
import { useLocale } from '/@/locales/useLocale';
|
9
|
+
|
10
|
+
// 新
|
11
|
+
// --------------------------------------------------
|
12
|
+
import { useLocale } from '@kengic/vue';
|
13
|
+
```
|
14
|
+
|
15
|
+
```typescript
|
16
|
+
// 旧
|
17
|
+
// --------------------------------------------------
|
18
|
+
import { useLocaleStore } from '/@/store/modules/locale';
|
19
|
+
|
20
|
+
// 新
|
21
|
+
// --------------------------------------------------
|
22
|
+
import { useLocaleStore } from '@kengic/vue';
|
23
|
+
```
|
24
|
+
|
25
|
+
```typescript
|
26
|
+
// 旧
|
27
|
+
// --------------------------------------------------
|
28
|
+
import { getAppEnvConfig } from '/@/utils/env';
|
29
|
+
|
30
|
+
// 新
|
31
|
+
// --------------------------------------------------
|
32
|
+
import { getAppEnvConfig } from '@kengic/vue';
|
33
|
+
```
|
34
|
+
|
1
35
|
# 0.25.0
|
2
36
|
|
3
37
|
### 1. KgVarProps.KgBackgroundGray 重命名为 KgVarProps.kgBackgroundGray
|