@das-fed/utils 6.4.0-hot.9.1 → 6.4.0-test.10
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 +63 -0
- package/api-services/i18n/index.js +25 -0
- package/api-services/i18n/index.js.gz +0 -0
- package/api-services/index.js +1773 -1388
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +1961 -1606
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +1961 -1606
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +1963 -1608
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +1961 -1606
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +1963 -1608
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +1961 -1606
- 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 +3292 -154
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +1961 -1606
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1743 -1381
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.d.ts +1 -0
- package/api-services/modules/iot/index.js +1974 -1618
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +1961 -1606
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +1961 -1606
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +1961 -1606
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +1961 -1606
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +1967 -1612
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +1961 -1606
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +1961 -1606
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +1974 -1619
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +1962 -1607
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +1961 -1606
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +1961 -1606
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +1961 -1606
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +1960 -1605
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/index.d.ts +9 -3
- package/common-info/index.js +110 -55
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.js +850 -579
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +116 -6
- package/common-tools/extract-file-name/index.js +922 -655
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/common-tools/index.d.ts +1 -0
- package/common-tools/index.js +1 -0
- package/common-tools/update-browser-title/index.d.ts +1 -0
- package/common-tools/update-browser-title/index.js +12 -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 +1960 -1605
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.d.ts +0 -2
- package/create-api-service/sso/index.js +1198 -835
- 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/dom-check-in/index.js +2 -2
- package/esm-map.json +5 -2
- package/package.json +4 -3
- package/pinyin-first-character/index.js +19799 -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/token-tools/index.js.gz +0 -0
|
Binary file
|
package/common-tools/index.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export * from '@das-fed/utils/common-tools/setHtmlMinWH';
|
|
|
8
8
|
export * from '@das-fed/utils/common-tools/queue-promise';
|
|
9
9
|
export * from '@das-fed/utils/common-tools/platform-tools';
|
|
10
10
|
export * from '@das-fed/utils/common-tools/update-fav-icon';
|
|
11
|
+
export * from '@das-fed/utils/common-tools/update-browser-title';
|
|
11
12
|
export * from '@das-fed/utils/common-tools/extract-file-name';
|
package/common-tools/index.js
CHANGED
|
@@ -8,4 +8,5 @@ export * from "@das-fed/utils/common-tools/setHtmlMinWH";
|
|
|
8
8
|
export * from "@das-fed/utils/common-tools/queue-promise";
|
|
9
9
|
export * from "@das-fed/utils/common-tools/platform-tools";
|
|
10
10
|
export * from "@das-fed/utils/common-tools/update-fav-icon";
|
|
11
|
+
export * from "@das-fed/utils/common-tools/update-browser-title";
|
|
11
12
|
export * from "@das-fed/utils/common-tools/extract-file-name";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setBrowseTitle: (defaultTitle?: string) => any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { systemConfiguration as l } from "@das-fed/utils/api-services/modules";
|
|
2
|
+
const n = async (o = "AIoT智能物联网管控平台") => {
|
|
3
|
+
let t = localStorage.getItem("browser-title") ?? "";
|
|
4
|
+
if (!t) {
|
|
5
|
+
const i = l.get("/visitor/appearance/with-default", (r) => (r.public = !0, r)), [s, e] = await i().run();
|
|
6
|
+
e != null && e.browserTitle && (t = e.browserTitle);
|
|
7
|
+
}
|
|
8
|
+
document.title = t || o;
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
n as setBrowseTitle
|
|
12
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
参数校验错误: {
|
|
3
|
+
'zh-CN': string;
|
|
4
|
+
en: string;
|
|
5
|
+
_appCode: string;
|
|
6
|
+
};
|
|
7
|
+
接口地址未找到: {
|
|
8
|
+
'zh-CN': string;
|
|
9
|
+
en: string;
|
|
10
|
+
_appCode: string;
|
|
11
|
+
};
|
|
12
|
+
服务器内部错误: {
|
|
13
|
+
'zh-CN': string;
|
|
14
|
+
en: string;
|
|
15
|
+
_appCode: string;
|
|
16
|
+
};
|
|
17
|
+
解析错误: {
|
|
18
|
+
'zh-CN': string;
|
|
19
|
+
en: string;
|
|
20
|
+
_appCode: string;
|
|
21
|
+
};
|
|
22
|
+
请求配置异常: {
|
|
23
|
+
'zh-CN': string;
|
|
24
|
+
en: string;
|
|
25
|
+
_appCode: string;
|
|
26
|
+
};
|
|
27
|
+
'\u7F51\u7EDC\u5F02\u5E38\uFF0C\u8BF7\u68C0\u67E5\u60A8\u7684\u7F51\u7EDC\u60C5\u51B5': {
|
|
28
|
+
'zh-CN': string;
|
|
29
|
+
en: string;
|
|
30
|
+
_appCode: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const r = {
|
|
2
|
+
参数校验错误: { "zh-CN": "参数校验错误", en: "Parameter Validation Error", _appCode: "framework" },
|
|
3
|
+
接口地址未找到: { "zh-CN": "接口地址未找到", en: "Api endpoint not found", _appCode: "framework" },
|
|
4
|
+
服务器内部错误: { "zh-CN": "服务器内部错误", en: "Internal Server Error", _appCode: "framework" },
|
|
5
|
+
解析错误: { "zh-CN": "解析错误", en: "Parsing Error", _appCode: "framework" },
|
|
6
|
+
请求配置异常: { "zh-CN": "请求配置异常", en: "Request Configuration Error", _appCode: "framework" },
|
|
7
|
+
"网络异常,请检查您的网络情况": {
|
|
8
|
+
"zh-CN": "网络异常,请检查您的网络情况",
|
|
9
|
+
en: "Network error, please check your network status",
|
|
10
|
+
_appCode: "framework"
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
r as default
|
|
15
|
+
};
|