@das-fed/utils 6.4.0-hot.26 → 6.4.0-hot.28
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 +1154 -1098
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +3128 -3
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +3128 -3
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +3131 -6
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +3128 -3
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +3132 -7
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +3128 -3
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +3289 -156
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +3128 -3
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +3344 -217
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +3141 -16
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +3129 -4
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +3128 -3
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +3128 -3
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +3128 -3
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +3135 -10
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +3128 -3
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +3128 -3
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +3131 -6
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +3130 -5
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +3128 -3
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +3128 -3
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +3128 -3
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +672 -643
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/getInfoFromUrl/index.js.gz +0 -0
- package/common-info/index.js +44 -37
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +120 -106
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/common-tools/get-url-params/index.js.gz +0 -0
- 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 +672 -643
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.js +55 -55
- package/create-api-service/sso/index.js.gz +0 -0
- 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/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.gz +0 -0
- package/style/index.js.gz +0 -0
- package/token-tools/index.d.ts +6 -1
- package/token-tools/index.js +6 -6
- package/use-low-code/index.js +3 -3
- 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/i18n-collection/en.js +0 -21
- package/i18n-collection/zh-CN.js +0 -21
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
export type socketConfig = {
|
|
2
|
-
/** 请求地址 */
|
|
3
|
-
url: string
|
|
4
|
-
|
|
5
|
-
/** 请求参数 */
|
|
6
|
-
params?: Record<string, any>
|
|
7
|
-
|
|
8
|
-
/** websocket连接成功回调 */
|
|
9
|
-
opened?: (event: any) => void
|
|
10
|
-
|
|
11
|
-
/** websocket关闭连接回调 */
|
|
12
|
-
close?: (event: any) => void
|
|
13
|
-
|
|
14
|
-
/** websocket接收到消息回调 */
|
|
15
|
-
message?: (event: any) => void
|
|
16
|
-
|
|
17
|
-
/** websocket连接异常回调 */
|
|
18
|
-
error?: (event: any) => void
|
|
19
|
-
|
|
20
|
-
/** 是否重连,默认开启 */
|
|
21
|
-
ifReconnect?: boolean
|
|
22
|
-
|
|
23
|
-
/** 连接close关闭时是否重连,默认关闭 */
|
|
24
|
-
reconnectWhenClose?: boolean
|
|
25
|
-
|
|
26
|
-
/** 重连次数,默认为3,-1 表示一直重连 */
|
|
27
|
-
reconnectNum?: number
|
|
28
|
-
}
|
|
1
|
+
export type socketConfig = {
|
|
2
|
+
/** 请求地址 */
|
|
3
|
+
url: string
|
|
4
|
+
|
|
5
|
+
/** 请求参数 */
|
|
6
|
+
params?: Record<string, any>
|
|
7
|
+
|
|
8
|
+
/** websocket连接成功回调 */
|
|
9
|
+
opened?: (event: any) => void
|
|
10
|
+
|
|
11
|
+
/** websocket关闭连接回调 */
|
|
12
|
+
close?: (event: any) => void
|
|
13
|
+
|
|
14
|
+
/** websocket接收到消息回调 */
|
|
15
|
+
message?: (event: any) => void
|
|
16
|
+
|
|
17
|
+
/** websocket连接异常回调 */
|
|
18
|
+
error?: (event: any) => void
|
|
19
|
+
|
|
20
|
+
/** 是否重连,默认开启 */
|
|
21
|
+
ifReconnect?: boolean
|
|
22
|
+
|
|
23
|
+
/** 连接close关闭时是否重连,默认关闭 */
|
|
24
|
+
reconnectWhenClose?: boolean
|
|
25
|
+
|
|
26
|
+
/** 重连次数,默认为3,-1 表示一直重连 */
|
|
27
|
+
reconnectNum?: number
|
|
28
|
+
}
|
package/i18n-collection/en.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
导入进度: "",
|
|
3
|
-
上传失败: "",
|
|
4
|
-
导入成功: "",
|
|
5
|
-
导出进度: "",
|
|
6
|
-
导出: "",
|
|
7
|
-
导入: "",
|
|
8
|
-
失败: "",
|
|
9
|
-
部分数据校验不通过: "",
|
|
10
|
-
请下载附件并修改: "",
|
|
11
|
-
重新导入: "",
|
|
12
|
-
成功: "",
|
|
13
|
-
部分: "",
|
|
14
|
-
参数校验错误: "",
|
|
15
|
-
接口地址未找到: "",
|
|
16
|
-
服务器内部错误: "",
|
|
17
|
-
解析错误: "",
|
|
18
|
-
网络异常: "",
|
|
19
|
-
请检查您的网络情况: "",
|
|
20
|
-
请求配置异常: "",
|
|
21
|
-
};
|
package/i18n-collection/zh-CN.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
导入进度: "",
|
|
3
|
-
上传失败: "",
|
|
4
|
-
导入成功: "",
|
|
5
|
-
导出进度: "",
|
|
6
|
-
导出: "",
|
|
7
|
-
导入: "",
|
|
8
|
-
失败: "",
|
|
9
|
-
部分数据校验不通过: "",
|
|
10
|
-
请下载附件并修改: "",
|
|
11
|
-
重新导入: "",
|
|
12
|
-
成功: "",
|
|
13
|
-
部分: "",
|
|
14
|
-
参数校验错误: "",
|
|
15
|
-
接口地址未找到: "",
|
|
16
|
-
服务器内部错误: "",
|
|
17
|
-
解析错误: "",
|
|
18
|
-
网络异常: "",
|
|
19
|
-
请检查您的网络情况: "",
|
|
20
|
-
请求配置异常: "",
|
|
21
|
-
};
|