@das-fed/utils 6.4.0-hot.8 → 6.4.0-hot.9

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 (78) hide show
  1. package/api-services/index.js +842 -853
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +752 -763
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +752 -763
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +738 -749
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +752 -763
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +791 -802
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +752 -763
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js +116 -116
  16. package/api-services/modules/file/index.js.gz +0 -0
  17. package/api-services/modules/gateway-edge/index.js +752 -763
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +873 -884
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +760 -771
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +808 -819
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +752 -763
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +752 -763
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +752 -763
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +758 -769
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +807 -818
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +752 -763
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +822 -833
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +791 -802
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +807 -818
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +752 -763
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +752 -763
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +806 -817
  48. package/api-services/src/create-service/index.js.gz +0 -0
  49. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  50. package/common-info/index.js.gz +0 -0
  51. package/common-info/set-personal-info/index.js.gz +0 -0
  52. package/common-info/type.d.ts +104 -104
  53. package/common-tools/extract-file-name/index.d.ts +1 -0
  54. package/common-tools/extract-file-name/index.js +1449 -0
  55. package/common-tools/extract-file-name/index.js.gz +0 -0
  56. package/common-tools/get-url-params/index.js.gz +0 -0
  57. package/common-tools/index.d.ts +1 -0
  58. package/common-tools/index.js +1 -0
  59. package/common-tools/setHtmlMinWH/index.js +4 -8
  60. package/create-api-service/index.js +806 -817
  61. package/create-api-service/index.js.gz +0 -0
  62. package/create-api-service/sso/index.js.gz +0 -0
  63. package/curring-http/index.js.gz +0 -0
  64. package/curring-http/type.d.ts +87 -87
  65. package/directive/auth/index.js.gz +0 -0
  66. package/esm-map.json +2 -1
  67. package/hooks/use-get-auth/index.js.gz +0 -0
  68. package/nextTiken/index.js.gz +0 -0
  69. package/package.json +3 -3
  70. package/pinyin-first-character/index.js +6 -1
  71. package/pinyin-first-character/index.js.gz +0 -0
  72. package/style/index.js.gz +0 -0
  73. package/token-tools/index.js.gz +0 -0
  74. package/use-low-code/index.js +3 -3
  75. package/use-low-code/index.js.gz +0 -0
  76. package/use-low-code/style.css +1 -1
  77. package/webSocket-service/index.js.gz +0 -0
  78. package/webSocket-service/type.d.ts +28 -28
Binary file
@@ -1,104 +1,104 @@
1
- export interface UserInfo {
2
- /** 用户id */
3
- id: string
4
- /** 用户名称 */
5
- name: string
6
- /** 用户标识 2 - B端身份, 4 - C 端身份, 6 - B+C 端身份 */
7
- flag: number
8
- /** 租户id */
9
- tenantId: string
10
- }
11
-
12
- export interface PersonalInfo {
13
- /** id */
14
- id: string
15
- /** 名称 */
16
- name: string
17
- /** 手机号 */
18
- phone: string
19
- /** 用户名称 */
20
- userName: string
21
- /** 邮箱 */
22
- email: string
23
- /** 头像 */
24
- headPicture: string
25
- }
26
-
27
- export interface TenantInfo {
28
- /** 用户ID */
29
- userId: string
30
- /** 用户名 */
31
- userName: string
32
- name: string
33
- /** 租户信息 */
34
- tenant: {
35
- id: string
36
- name: string
37
- adminUserId: string
38
- description: string
39
- domain: string
40
- }
41
- /** 用户标识 2 - B端身份, 4 - C 端身份, 6 - B+C 端身份 */
42
- flag: number
43
- areaCode: string
44
- /** 手机号 */
45
- phone: string
46
- }
47
-
48
- export interface HomeInfo {
49
- applicationCode: string
50
- applicationPath: string
51
- enable: boolean
52
- originalCode: string
53
- routeUrl: string
54
- type: number | null
55
- }
56
-
57
- export interface ProjectInfo {
58
- /** 项目id */
59
- id: string | number
60
- /** 父级id */
61
- parentId?: string
62
- /** 项目名称 */
63
- name: string
64
- /** 租户id */
65
- tenantId?: string
66
- }
67
-
68
- export interface SubAppsInfo {
69
- /** 所有应用信息 */
70
- appcategorys?: any[]
71
- /** 当前应用完整信息 */
72
- currentSubApp?: any
73
- /** 所有应用 */
74
- flatSubAppList?: any[]
75
- /** 当前应用code */
76
- currentSubAppCode?: string
77
- /** 当前打开的应用 */
78
- subAppList?: any[]
79
- }
80
-
81
- interface TabItem {
82
- /** 当前应用url */
83
- currentApplication: string
84
- /** 当前加载的应用 */
85
- applicationPath: string
86
- applicationCode: string
87
- menuId: string
88
- name: string
89
- path: string
90
- code: string
91
- query?: any
92
- }
93
- export interface TabInfo {
94
- /** 当前tabs key */
95
- currentCode?: string
96
- /** 当前tabs */
97
- currentTab?: TabItem
98
- /** 用于记录该应用上次开启的tab */
99
- preTab?: Record<string, TabItem>
100
- /** 当前打开的tabs(微前端环境会存入) */
101
- tabMap?: Record<string, TabItem[]>
102
- }
103
-
104
- export type permissionBtnInfo = { code?: string; name?: string }[]
1
+ export interface UserInfo {
2
+ /** 用户id */
3
+ id: string
4
+ /** 用户名称 */
5
+ name: string
6
+ /** 用户标识 2 - B端身份, 4 - C 端身份, 6 - B+C 端身份 */
7
+ flag: number
8
+ /** 租户id */
9
+ tenantId: string
10
+ }
11
+
12
+ export interface PersonalInfo {
13
+ /** id */
14
+ id: string
15
+ /** 名称 */
16
+ name: string
17
+ /** 手机号 */
18
+ phone: string
19
+ /** 用户名称 */
20
+ userName: string
21
+ /** 邮箱 */
22
+ email: string
23
+ /** 头像 */
24
+ headPicture: string
25
+ }
26
+
27
+ export interface TenantInfo {
28
+ /** 用户ID */
29
+ userId: string
30
+ /** 用户名 */
31
+ userName: string
32
+ name: string
33
+ /** 租户信息 */
34
+ tenant: {
35
+ id: string
36
+ name: string
37
+ adminUserId: string
38
+ description: string
39
+ domain: string
40
+ }
41
+ /** 用户标识 2 - B端身份, 4 - C 端身份, 6 - B+C 端身份 */
42
+ flag: number
43
+ areaCode: string
44
+ /** 手机号 */
45
+ phone: string
46
+ }
47
+
48
+ export interface HomeInfo {
49
+ applicationCode: string
50
+ applicationPath: string
51
+ enable: boolean
52
+ originalCode: string
53
+ routeUrl: string
54
+ type: number | null
55
+ }
56
+
57
+ export interface ProjectInfo {
58
+ /** 项目id */
59
+ id: string | number
60
+ /** 父级id */
61
+ parentId?: string
62
+ /** 项目名称 */
63
+ name: string
64
+ /** 租户id */
65
+ tenantId?: string
66
+ }
67
+
68
+ export interface SubAppsInfo {
69
+ /** 所有应用信息 */
70
+ appcategorys?: any[]
71
+ /** 当前应用完整信息 */
72
+ currentSubApp?: any
73
+ /** 所有应用 */
74
+ flatSubAppList?: any[]
75
+ /** 当前应用code */
76
+ currentSubAppCode?: string
77
+ /** 当前打开的应用 */
78
+ subAppList?: any[]
79
+ }
80
+
81
+ interface TabItem {
82
+ /** 当前应用url */
83
+ currentApplication: string
84
+ /** 当前加载的应用 */
85
+ applicationPath: string
86
+ applicationCode: string
87
+ menuId: string
88
+ name: string
89
+ path: string
90
+ code: string
91
+ query?: any
92
+ }
93
+ export interface TabInfo {
94
+ /** 当前tabs key */
95
+ currentCode?: string
96
+ /** 当前tabs */
97
+ currentTab?: TabItem
98
+ /** 用于记录该应用上次开启的tab */
99
+ preTab?: Record<string, TabItem>
100
+ /** 当前打开的tabs(微前端环境会存入) */
101
+ tabMap?: Record<string, TabItem[]>
102
+ }
103
+
104
+ export type permissionBtnInfo = { code?: string; name?: string }[]
@@ -0,0 +1 @@
1
+ export declare const extractFilename: (fileUrl: string) => unknown;