@kengic/vue 0.32.5-beta.6 → 0.32.5-beta.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 +55 -3
- package/bin/postinstall.mjs +2 -0
- package/bin/preinstall.mjs +1 -1
- package/dist/kengic-vue.js +21402 -18711
- package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +1 -1
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +2 -2
- package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts +1 -1
- package/dist/src/component/KgForm/KgForm.d.ts +39 -39
- package/dist/src/component/KgForm/index.d.ts +1 -1
- package/dist/src/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.d.ts +1 -1
- package/dist/src/component/KgForm.Item/KgForm.Item.Select.service.d.ts +2 -2
- package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +3 -3
- package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +3 -3
- package/dist/src/component/KgForm.Item/index.d.ts +1 -1
- package/dist/src/component/KgImage/KgImage.d.ts +7 -7
- package/dist/src/component/KgImage/index.d.ts +1 -1
- package/dist/src/component/KgLayoutHeader/KgLayoutHeader.Locale.d.ts +1 -1
- package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
- package/dist/src/component/KgModal/KgModal.d.ts +28 -10
- package/dist/src/component/KgModal/KgModal.service.d.ts +2 -2
- package/dist/src/component/KgModal/index.d.ts +1 -1
- package/dist/src/component/KgModal02/KgModal02.d.ts +10 -10
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +1 -1
- package/dist/src/component/KgSubmit/KgSubmit.d.ts +1 -1
- package/dist/src/component/KgSubmit/KgSubmit.service.d.ts +2 -2
- package/dist/src/component/KgSubmit/index.d.ts +1 -1
- package/dist/src/component/KgTable/KgTable.d.ts +6 -6
- package/dist/src/component/KgTable02/KgTable02.d.ts +1 -1
- package/dist/src/component/KgTable02/KgTable02.event.d.ts +3 -3
- package/dist/src/component/KgVar/KgVar.d.ts +1 -1
- package/dist/src/component/KgVar/KgVar.model.d.ts +6 -6
- package/dist/src/config/config.store.d.ts +19 -4
- package/dist/src/model/index.d.ts +14 -22
- package/dist/src/page/KgPageDda/KgPageDda.Create.d.ts +1 -1
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +1 -1
- package/dist/src/project/src/api/common/api.d.ts +70 -0
- package/dist/src/project/src/api/index.d.ts +1 -0
- package/dist/src/project/src/hooks/index.d.ts +1 -0
- package/dist/src/project/src/hooks/web/useMessage.d.ts +46 -0
- package/dist/src/project/src/store/modules/errorLog.d.ts +31 -0
- package/dist/src/project/src/store/modules/index.d.ts +1 -0
- package/dist/src/project/src/utils/http/axios/Axios.d.ts +45 -0
- package/dist/src/project/src/utils/http/axios/axiosCancel.d.ts +23 -0
- package/dist/src/project/src/utils/http/axios/axiosTransform.d.ts +41 -0
- package/dist/src/project/src/utils/http/axios/checkStatus.d.ts +2 -0
- package/dist/src/project/src/utils/http/axios/helper.d.ts +5 -0
- package/dist/src/project/src/utils/http/axios/index.d.ts +3 -0
- package/dist/src/project/src/utils/index.d.ts +6 -0
- package/dist/src/util/ant-design-vue.d.ts +16 -16
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# 0.32.0
|
|
2
2
|
|
|
3
|
-
### 1.
|
|
3
|
+
### 1. node 和 pnpm 版本要求升级为 node@24.14.1 和 pnpm@10.33.0
|
|
4
|
+
|
|
5
|
+
### 2. doKgWorkStation() 方法变更为 useKgWorkStation() 方法
|
|
4
6
|
|
|
5
7
|
```
|
|
6
8
|
// 旧
|
|
@@ -16,9 +18,59 @@ import { useKgWorkStation } from '@kengic/vue';
|
|
|
16
18
|
const kgWorkStation = useKgWorkStation();
|
|
17
19
|
```
|
|
18
20
|
|
|
19
|
-
###
|
|
21
|
+
### 3. kgWorkStation.workStation 属性变更为 kgWorkStation.currentWorkStation 属性
|
|
22
|
+
|
|
23
|
+
### 4. kgWorkStation.workStationArea 属性变更为 kgWorkStation.currentWorkArea 属性
|
|
24
|
+
|
|
25
|
+
### 5. 部分组件提取到组件库, 引入路径发生变更,
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
// 旧
|
|
29
|
+
// --------------------------------------------------
|
|
30
|
+
import { defHttp } from '/@/utils/http/axios';
|
|
31
|
+
|
|
32
|
+
// 新
|
|
33
|
+
// --------------------------------------------------
|
|
34
|
+
import { defHttp } from '@kengic/vue';
|
|
35
|
+
```
|
|
20
36
|
|
|
21
|
-
|
|
37
|
+
```
|
|
38
|
+
// 旧
|
|
39
|
+
// --------------------------------------------------
|
|
40
|
+
import { useMessage } from '/@/hooks/web/useMessage';
|
|
41
|
+
|
|
42
|
+
// 新
|
|
43
|
+
// --------------------------------------------------
|
|
44
|
+
import { useMessage } from '@kengic/vue';
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
// 旧
|
|
49
|
+
// --------------------------------------------------
|
|
50
|
+
import { uploadUrl } from '/@/api/common/api';
|
|
51
|
+
import { uploadFile } from '/@/api/common/api';
|
|
52
|
+
import { getUserList } from '/@/api/common/api';
|
|
53
|
+
import { getRoleList } from '/@/api/common/api';
|
|
54
|
+
import { loadDictItem } from '/@/api/common/api';
|
|
55
|
+
import { loadTreeData } from '/@/api/common/api';
|
|
56
|
+
import { getDictItems } from '/@/api/common/api';
|
|
57
|
+
import { queryTreeList } from '/@/api/common/api';
|
|
58
|
+
import { getPositionList } from '/@/api/common/api';
|
|
59
|
+
import { queryDepartTreeSync } from '/@/api/common/api';
|
|
60
|
+
|
|
61
|
+
// 新
|
|
62
|
+
// --------------------------------------------------
|
|
63
|
+
import { uploadUrl } from '@kengic/vue';
|
|
64
|
+
import { uploadFile } from '@kengic/vue';
|
|
65
|
+
import { getUserList } from '@kengic/vue';
|
|
66
|
+
import { getRoleList } from '@kengic/vue';
|
|
67
|
+
import { loadDictItem } from '@kengic/vue';
|
|
68
|
+
import { loadTreeData } from '@kengic/vue';
|
|
69
|
+
import { getDictItems } from '@kengic/vue';
|
|
70
|
+
import { queryTreeList } from '@kengic/vue';
|
|
71
|
+
import { getPositionList } from '@kengic/vue';
|
|
72
|
+
import { queryDepartTreeSync } from '@kengic/vue';
|
|
73
|
+
```
|
|
22
74
|
|
|
23
75
|
# 0.31.0
|
|
24
76
|
|
package/bin/postinstall.mjs
CHANGED
package/bin/preinstall.mjs
CHANGED
|
@@ -14,7 +14,7 @@ const CURRENT_PNPM_VERSION = /^pnpm\/(\S+)\s/.exec(process.env.npm_config_user_a
|
|
|
14
14
|
|
|
15
15
|
console.log(
|
|
16
16
|
chalk.blueBright(
|
|
17
|
-
`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL |
|
|
17
|
+
`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL | 当前的环境版本为: node@${CURRENT_NODE_VERSION.padEnd(8, ' ')} 和 pnpm@${CURRENT_PNPM_VERSION.padEnd(8, ' ')}`,
|
|
18
18
|
),
|
|
19
19
|
);
|
|
20
20
|
|