@das-fed/utils 6.4.0-test.1 → 6.4.0-test.2

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 (82) hide show
  1. package/api-services/index.js +606 -609
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +311 -314
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +311 -314
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +316 -319
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +311 -314
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +317 -320
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +311 -314
  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 +311 -314
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +606 -609
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +311 -314
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +313 -316
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +311 -314
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +311 -314
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +311 -314
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +311 -314
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +471 -474
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +311 -314
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +311 -314
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +472 -475
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +471 -474
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +311 -314
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +311 -314
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +311 -314
  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/common-tools/update-fav-icon/index.js +15 -14
  61. package/create-api-service/index.js +311 -314
  62. package/create-api-service/index.js.gz +0 -0
  63. package/create-api-service/sso/index.js.gz +0 -0
  64. package/curring-http/index.js.gz +0 -0
  65. package/curring-http/type.d.ts +87 -87
  66. package/directive/auth/index.js.gz +0 -0
  67. package/esm-map.json +2 -1
  68. package/hooks/popup-manager/use-zindex/index.d.ts +0 -2
  69. package/hooks/popup-manager/use-zindex/index.js +7 -20
  70. package/hooks/use-get-auth/index.js.gz +0 -0
  71. package/nextTiken/index.js.gz +0 -0
  72. package/package.json +3 -4
  73. package/pinyin-first-character/index.js +6 -1
  74. package/pinyin-first-character/index.js.gz +0 -0
  75. package/style/index.js.gz +0 -0
  76. package/token-tools/index.js +20 -20
  77. package/token-tools/index.js.gz +0 -0
  78. package/use-low-code/index.js +11 -11
  79. package/use-low-code/index.js.gz +0 -0
  80. package/use-low-code/style.css +1 -1
  81. package/webSocket-service/index.js.gz +0 -0
  82. 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;