@das-fed/utils 6.4.0-dev.6 → 6.4.0-dev.60
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/api-services/i18n/index.d.ts +68 -0
- package/api-services/i18n/index.js +26 -0
- package/api-services/i18n/index.js.gz +0 -0
- package/api-services/index.js +1777 -1817
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +1958 -2028
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +1958 -2028
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +1964 -2034
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +1958 -2028
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +1963 -2033
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +1958 -2028
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.d.ts +1 -0
- package/api-services/modules/file/index.js +3284 -429
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +1958 -2028
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1885 -1949
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +1973 -2043
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +1959 -2029
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +1958 -2028
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +1958 -2028
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +1958 -2028
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +1968 -2038
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +1958 -2028
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +1958 -2028
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +1961 -2031
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +1960 -2030
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +1958 -2028
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +1958 -2028
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +1958 -2028
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +1951 -2021
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/getInfoFromUrl/index.js.gz +0 -0
- package/common-info/index.d.ts +7 -1
- package/common-info/index.js +94 -53
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.js +837 -570
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +175 -104
- package/common-tools/extract-file-name/index.d.ts +1 -0
- package/common-tools/extract-file-name/index.js +1716 -0
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/common-tools/get-url-params/index.js.gz +0 -0
- package/common-tools/index.d.ts +2 -0
- package/common-tools/index.js +2 -0
- package/common-tools/platform-tools/index.d.ts +2 -1
- package/common-tools/platform-tools/index.js +16 -11
- package/common-tools/setHtmlMinWH/index.js +4 -8
- package/common-tools/update-browser-title/index.d.ts +1 -0
- package/common-tools/update-browser-title/index.js +12 -0
- package/common-tools/update-fav-icon/index.js +15 -14
- package/create-api-service/i18n/index.d.ts +33 -0
- package/create-api-service/i18n/index.js +15 -0
- package/create-api-service/index.js +1951 -2021
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.js +1193 -833
- package/create-api-service/sso/index.js.gz +0 -0
- package/curring-http/index.js +1364 -1097
- package/curring-http/index.js.gz +0 -0
- package/curring-http/type.d.ts +87 -87
- package/directive/auth/index.js.gz +0 -0
- package/dom-check-in/index.js +2 -2
- package/esm-map.json +6 -2
- package/hooks/popup-manager/use-zindex/index.d.ts +0 -2
- package/hooks/popup-manager/use-zindex/index.js +7 -20
- package/hooks/use-get-auth/index.js.gz +0 -0
- package/nextTiken/index.js.gz +0 -0
- package/package.json +4 -4
- package/pinyin-first-character/index.js +19804 -20879
- package/pinyin-first-character/index.js.gz +0 -0
- package/style/index.js +4 -2
- package/style/index.js.gz +0 -0
- package/token-tools/index.d.ts +6 -6
- package/token-tools/index.js +8 -84
- package/use-low-code/index.js +11 -11
- package/use-low-code/index.js.gz +0 -0
- package/use-low-code/style.css +1 -1
- package/webSocket-service/index.js.gz +0 -0
- package/webSocket-service/type.d.ts +28 -28
- package/token-tools/index.js.gz +0 -0
|
Binary file
|
package/common-info/type.d.ts
CHANGED
|
@@ -1,104 +1,175 @@
|
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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
|
+
/** 应用code */
|
|
50
|
+
applicationCode: string
|
|
51
|
+
/** 应用path */
|
|
52
|
+
applicationPath: string
|
|
53
|
+
/** 是否启用 */
|
|
54
|
+
enable: boolean
|
|
55
|
+
originalCode: string
|
|
56
|
+
routeUrl: string
|
|
57
|
+
type: number | null
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface PersonalConfigInfo {
|
|
61
|
+
/** 侧边栏菜单风格(1:弹出式;2:内嵌式 )*/
|
|
62
|
+
style: 1 | 2
|
|
63
|
+
/** 皮肤风格 (default:默认皮肤;kjl:科技蓝;cjb:纯净白;ssl:深邃蓝)*/
|
|
64
|
+
skinStyle: 'default' | 'kjl' | 'cjb' | 'ssl'
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface ProjectInfo {
|
|
68
|
+
/** 项目id */
|
|
69
|
+
id: string
|
|
70
|
+
/** 项目编码 */
|
|
71
|
+
code: string
|
|
72
|
+
/** 项目名称 */
|
|
73
|
+
name: string
|
|
74
|
+
/** 项目类型: 1: 集团、 2:公司、3: 区域、4: 分公司、 5: 子公司、6: 管理中心、 7: 项目、8: 部门、 9: 组 */
|
|
75
|
+
type: string
|
|
76
|
+
/** 父级id */
|
|
77
|
+
parentId?: string
|
|
78
|
+
/** 父级名称 */
|
|
79
|
+
parentName?: string
|
|
80
|
+
/** 父级项目类型:1: 集团、 2:公司、3: 区域、4: 分公司、 5: 子公司、6: 管理中心、 7: 项目、8: 部门、 9: 组 */
|
|
81
|
+
parentType?: number
|
|
82
|
+
/** 租户id */
|
|
83
|
+
tenantId?: string
|
|
84
|
+
/** 是否父级节点 */
|
|
85
|
+
isParent?: boolean
|
|
86
|
+
/** 是否叶子节点 */
|
|
87
|
+
leaf?: boolean
|
|
88
|
+
/** 是否可用 */
|
|
89
|
+
optional?: boolean
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface ProjectMessage {
|
|
93
|
+
/** 主键id */
|
|
94
|
+
id: number | string
|
|
95
|
+
/** 项目名称 */
|
|
96
|
+
projectName: string
|
|
97
|
+
/** 省级(省份、直辖市、自治区)编码 */
|
|
98
|
+
provinceCode: string
|
|
99
|
+
/** 地级(城市)编码 */
|
|
100
|
+
cityCode: string
|
|
101
|
+
/** 县级(区县)编码 */
|
|
102
|
+
areaCode: string
|
|
103
|
+
/** 详细位置 */
|
|
104
|
+
address: string
|
|
105
|
+
/** 项目简介 */
|
|
106
|
+
projectDesc: string
|
|
107
|
+
/** 项目图片路径 */
|
|
108
|
+
logoPath: string
|
|
109
|
+
/** 项目类型 */
|
|
110
|
+
projectType: string
|
|
111
|
+
/** 项目类型code */
|
|
112
|
+
projectTypeCode: string
|
|
113
|
+
/** 经度 */
|
|
114
|
+
longitude: string
|
|
115
|
+
/** 纬度 */
|
|
116
|
+
latitude: string
|
|
117
|
+
/** 项目开始时间 */
|
|
118
|
+
projectStartDate: string
|
|
119
|
+
/** 项目有效期 */
|
|
120
|
+
projectExpiryDate: string
|
|
121
|
+
/** 项目编码 */
|
|
122
|
+
projectCode: string
|
|
123
|
+
/** 地图配置是否开启 */
|
|
124
|
+
mapConfiguration: boolean
|
|
125
|
+
/** 地级(城市)名称 */
|
|
126
|
+
cityName: string
|
|
127
|
+
/** 地级(城市)名称拼音 */
|
|
128
|
+
cityNamePinyin: string
|
|
129
|
+
/** 时区ID */
|
|
130
|
+
timezone: string
|
|
131
|
+
/** 是否自动设定时区 */
|
|
132
|
+
autoTimezone: boolean
|
|
133
|
+
/** 货币信息(currencyCode:ISO 4217货币编码(例:CNY);currencyUnit:货币单位,例:元(中文),CNY(英文);currencySymbol:货币符号,例:¥) */
|
|
134
|
+
currency: Record<'currencyCode' | 'currencyUnit' | 'currencySymbol', string>
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface SubAppsInfo {
|
|
138
|
+
/** 所有应用信息 */
|
|
139
|
+
appcategorys?: any[]
|
|
140
|
+
/** 当前应用完整信息 */
|
|
141
|
+
currentSubApp?: any
|
|
142
|
+
/** 所有应用 */
|
|
143
|
+
flatSubAppList?: any[]
|
|
144
|
+
/** 当前应用code */
|
|
145
|
+
currentSubAppCode?: string
|
|
146
|
+
/** 当前打开的应用 */
|
|
147
|
+
subAppList?: any[]
|
|
148
|
+
/** 当前菜单折叠的应用key集合 */
|
|
149
|
+
menuCollapses?: any[]
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface TabItem {
|
|
153
|
+
/** 当前应用url */
|
|
154
|
+
currentApplication: string
|
|
155
|
+
/** 当前加载的应用 */
|
|
156
|
+
applicationPath: string
|
|
157
|
+
applicationCode: string
|
|
158
|
+
menuId: string
|
|
159
|
+
name: string
|
|
160
|
+
path: string
|
|
161
|
+
code: string
|
|
162
|
+
query?: any
|
|
163
|
+
}
|
|
164
|
+
export interface TabInfo {
|
|
165
|
+
/** 当前tabs key */
|
|
166
|
+
currentCode?: string
|
|
167
|
+
/** 当前tabs */
|
|
168
|
+
currentTab?: TabItem
|
|
169
|
+
/** 用于记录该应用上次开启的tab */
|
|
170
|
+
preTab?: Record<string, TabItem>
|
|
171
|
+
/** 当前打开的tabs(微前端环境会存入) */
|
|
172
|
+
tabMap?: Record<string, TabItem[]>
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type permissionBtnInfo = { code?: string; name?: string }[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const extractFilename: (fileUrl: string) => unknown;
|