@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.
Files changed (61) hide show
  1. package/CHANGELOG.md +55 -3
  2. package/bin/postinstall.mjs +2 -0
  3. package/bin/preinstall.mjs +1 -1
  4. package/dist/kengic-vue.js +21402 -18711
  5. package/dist/src/component/KgCanvas/KgCanvas.ContextMenu.d.ts +1 -1
  6. package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.Fullscreen.d.ts +1 -1
  7. package/dist/src/component/KgCanvas/KgCanvas.ToolbarButton.OverviewScale.d.ts +1 -1
  8. package/dist/src/component/KgCanvas/KgCanvas.Tooltip.d.ts +1 -1
  9. package/dist/src/component/KgCanvas/KgCanvas.d.ts +1 -1
  10. package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +2 -2
  11. package/dist/src/component/KgCircularShuttleMonitor/KgCircularShuttleMonitor.Tab.Rgv.d.ts +1 -1
  12. package/dist/src/component/KgForm/KgForm.d.ts +39 -39
  13. package/dist/src/component/KgForm/index.d.ts +1 -1
  14. package/dist/src/component/KgForm.Item/KgForm.Item.Addon.DynamicQueryOperator.d.ts +1 -1
  15. package/dist/src/component/KgForm.Item/KgForm.Item.Select.service.d.ts +2 -2
  16. package/dist/src/component/KgForm.Item/KgForm.Item.model.d.ts +3 -3
  17. package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +3 -3
  18. package/dist/src/component/KgForm.Item/index.d.ts +1 -1
  19. package/dist/src/component/KgImage/KgImage.d.ts +7 -7
  20. package/dist/src/component/KgImage/index.d.ts +1 -1
  21. package/dist/src/component/KgLayoutHeader/KgLayoutHeader.Locale.d.ts +1 -1
  22. package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
  23. package/dist/src/component/KgModal/KgModal.d.ts +28 -10
  24. package/dist/src/component/KgModal/KgModal.service.d.ts +2 -2
  25. package/dist/src/component/KgModal/index.d.ts +1 -1
  26. package/dist/src/component/KgModal02/KgModal02.d.ts +10 -10
  27. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Create.CircularConveyor.d.ts +1 -1
  28. package/dist/src/component/KgSimulator/KgSimulator.Menu.Scene.Open.CircularConveyor.d.ts +1 -1
  29. package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +1 -1
  30. package/dist/src/component/KgSimulator/KgSimulator.Prefab.d.ts +1 -1
  31. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +1 -1
  32. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +1 -1
  33. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +1 -1
  34. package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.d.ts +1 -1
  35. package/dist/src/component/KgSubmit/KgSubmit.d.ts +1 -1
  36. package/dist/src/component/KgSubmit/KgSubmit.service.d.ts +2 -2
  37. package/dist/src/component/KgSubmit/index.d.ts +1 -1
  38. package/dist/src/component/KgTable/KgTable.d.ts +6 -6
  39. package/dist/src/component/KgTable02/KgTable02.d.ts +1 -1
  40. package/dist/src/component/KgTable02/KgTable02.event.d.ts +3 -3
  41. package/dist/src/component/KgVar/KgVar.d.ts +1 -1
  42. package/dist/src/component/KgVar/KgVar.model.d.ts +6 -6
  43. package/dist/src/config/config.store.d.ts +19 -4
  44. package/dist/src/model/index.d.ts +14 -22
  45. package/dist/src/page/KgPageDda/KgPageDda.Create.d.ts +1 -1
  46. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +1 -1
  47. package/dist/src/project/src/api/common/api.d.ts +70 -0
  48. package/dist/src/project/src/api/index.d.ts +1 -0
  49. package/dist/src/project/src/hooks/index.d.ts +1 -0
  50. package/dist/src/project/src/hooks/web/useMessage.d.ts +46 -0
  51. package/dist/src/project/src/store/modules/errorLog.d.ts +31 -0
  52. package/dist/src/project/src/store/modules/index.d.ts +1 -0
  53. package/dist/src/project/src/utils/http/axios/Axios.d.ts +45 -0
  54. package/dist/src/project/src/utils/http/axios/axiosCancel.d.ts +23 -0
  55. package/dist/src/project/src/utils/http/axios/axiosTransform.d.ts +41 -0
  56. package/dist/src/project/src/utils/http/axios/checkStatus.d.ts +2 -0
  57. package/dist/src/project/src/utils/http/axios/helper.d.ts +5 -0
  58. package/dist/src/project/src/utils/http/axios/index.d.ts +3 -0
  59. package/dist/src/project/src/utils/index.d.ts +6 -0
  60. package/dist/src/util/ant-design-vue.d.ts +16 -16
  61. package/package.json +4 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # 0.32.0
2
2
 
3
- ### 1. doKgWorkStation() 方法替换为 useKgWorkStation() 方法
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
- ### 2. kgWorkStation.workStation 属性替换为 kgWorkStation.currentWorkStation 属性
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
- ### 3. kgWorkStation.workStationArea 属性替换为 kgWorkStation.currentWorkArea 属性
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
 
@@ -39,10 +39,12 @@ const EXCLUDE_PACKAGE_LIST = [
39
39
  '@kengic/core.core',
40
40
  '@thymine/xunee',
41
41
  '@types/md5',
42
+ '@types/qs',
42
43
  '@types/uuid',
43
44
  '@types/semver',
44
45
  'chalk',
45
46
  'filesize',
47
+ 'qs',
46
48
  'screenfull',
47
49
  'semver',
48
50
  'uuid',
@@ -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 | 实际的环境版本为: node@${CURRENT_NODE_VERSION.padEnd(8, ' ')} 和 pnpm@${CURRENT_PNPM_VERSION.padEnd(8, ' ')}`,
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