@das-fed/upf-utils 6.4.0-dev.170 → 6.4.0-dev.171
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/es5.js +4622 -0
- package/api-services/i18n/es5.js +53 -0
- package/api-services/index.js +593 -611
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +487 -505
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +880 -880
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +479 -497
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +490 -508
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +473 -491
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +490 -508
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/es5.js +4569 -0
- package/api-services/modules/file/index.js +942 -978
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +880 -880
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1022 -1058
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +831 -849
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +881 -881
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +698 -712
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +880 -880
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +880 -880
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +619 -641
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +880 -880
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +847 -883
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +479 -497
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +882 -882
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +490 -508
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +490 -508
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +880 -880
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +865 -901
- package/api-services/src/create-service/index.js.gz +0 -0
- package/atob/es5.js +9 -0
- package/common-info/es5.js +201 -0
- package/common-info/getIframeUrl/es5.js +16 -0
- package/common-info/getInfoFromUrl/es5.js +91 -0
- package/common-info/index.js +18 -18
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/es5.js +2210 -0
- package/common-info/set-personal-info/index.js +172 -189
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-tools/arr-tools/es5.js +11 -0
- package/common-tools/calc-text-width/es5.js +8 -0
- package/common-tools/date-format/es5.js +18 -0
- package/common-tools/es5.js +14 -0
- package/common-tools/extract-file-name/es5.js +2211 -0
- package/common-tools/extract-file-name/index.js +138 -155
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/common-tools/get-file-extension/es5.js +5 -0
- package/common-tools/get-url-params/es5.js +101 -0
- package/common-tools/handle-data/es5.js +146 -0
- package/common-tools/handle-data/index.js +28 -28
- package/common-tools/handle-data/index.js.gz +0 -0
- package/common-tools/nest-tree-format/es5.js +53 -0
- package/common-tools/obj-tools/es5.js +13 -0
- package/common-tools/platform-tools/es5.js +19 -0
- package/common-tools/queue-promise/es5.js +13 -0
- package/common-tools/setHtmlMinWH/es5.js +6 -0
- package/common-tools/update-browser-title/es5.js +54 -0
- package/common-tools/update-fav-icon/es5.js +73 -0
- package/config/es5.js +15 -0
- package/create-api-service/check-token/es5.js +2305 -0
- package/create-api-service/check-token/index.js +158 -175
- package/create-api-service/check-token/index.js.gz +0 -0
- package/create-api-service/es5.js +3947 -0
- package/create-api-service/i18n/es5.js +33 -0
- package/create-api-service/index.js +503 -521
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/proxy-sso/es5.js +33 -0
- package/create-api-service/sso/es5.js +2815 -0
- package/create-api-service/sso/index.js +309 -327
- package/create-api-service/sso/index.js.gz +0 -0
- package/curring-http/es5.js +2913 -0
- package/curring-http/index.js +285 -303
- package/curring-http/index.js.gz +0 -0
- package/dimple-canvas/es5.js +1 -0
- package/directive/auth/es5.js +94 -0
- package/directive/clickOutside/es5.js +85 -0
- package/directive/es5.js +3 -0
- package/directive/hoverInside/es5.js +59 -0
- package/directive/utils/es5.js +36 -0
- package/dom-check-in/es5.js +11 -0
- package/dom-watcher/es5.js +13 -0
- package/hooks/use-get-auth/es5.js +199 -0
- package/hooks/use-get-auth/index.js +22 -22
- package/hooks/use-get-auth/index.js.gz +0 -0
- package/load-js/es5.js +13 -0
- package/nextTiken/es5.js +64 -0
- package/oss/es5.js +10 -0
- package/package.json +7 -4
- package/pinyin-first-character/es5.js +9311 -0
- package/pinyin-first-character/index.js +24 -24
- package/pinyin-first-character/index.js.gz +0 -0
- package/process-engine-info/es5.js +15 -0
- package/pure-image-src/es5.js +28 -0
- package/size-watcher/es5.js +32 -0
- package/style/es5.js +134 -0
- package/token-tools/es5.js +21 -0
- package/use-low-code/es5.js +115 -0
- package/use-low-code/index.js +2 -2
- package/use-low-code/index.js.gz +0 -0
- package/vue/es5.js +1 -0
- package/webSocket-service/es5.js +120 -0
- package/with-install/es5.js +6 -0
package/nextTiken/es5.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { getToken, getProjectInfo, getPersonalInfo, getTenantInfo } from '@das-fed/upf-utils/common-info';
|
|
2
|
+
var k = function k() {
|
|
3
|
+
return new Promise(function (n) {
|
|
4
|
+
var _e = function e() {
|
|
5
|
+
var t = getToken();
|
|
6
|
+
if (t) return n(t);
|
|
7
|
+
setTimeout(function () {
|
|
8
|
+
return _e();
|
|
9
|
+
}, 50);
|
|
10
|
+
};
|
|
11
|
+
_e();
|
|
12
|
+
});
|
|
13
|
+
},
|
|
14
|
+
m = function m() {
|
|
15
|
+
return new Promise(function (n) {
|
|
16
|
+
var _e2 = function e() {
|
|
17
|
+
var t = getProjectInfo().id ? getProjectInfo().id : "";
|
|
18
|
+
if (t) return n(t);
|
|
19
|
+
setTimeout(function () {
|
|
20
|
+
return _e2();
|
|
21
|
+
}, 50);
|
|
22
|
+
};
|
|
23
|
+
_e2();
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
T = function T() {
|
|
27
|
+
return new Promise(function (n) {
|
|
28
|
+
var _e3 = function e() {
|
|
29
|
+
var t = getToken(),
|
|
30
|
+
o = getProjectInfo().id ? getProjectInfo().id : "";
|
|
31
|
+
if (t && o) return n(true);
|
|
32
|
+
setTimeout(function () {
|
|
33
|
+
return _e3();
|
|
34
|
+
}, 50);
|
|
35
|
+
};
|
|
36
|
+
_e3();
|
|
37
|
+
});
|
|
38
|
+
},
|
|
39
|
+
f = function f() {
|
|
40
|
+
return new Promise(function (n) {
|
|
41
|
+
var _e4 = function e() {
|
|
42
|
+
var t = getPersonalInfo();
|
|
43
|
+
if (t != null && t.id) return n(t);
|
|
44
|
+
setTimeout(function () {
|
|
45
|
+
return _e4();
|
|
46
|
+
}, 50);
|
|
47
|
+
};
|
|
48
|
+
_e4();
|
|
49
|
+
});
|
|
50
|
+
},
|
|
51
|
+
d = function d() {
|
|
52
|
+
return new Promise(function (n) {
|
|
53
|
+
var _e5 = function e() {
|
|
54
|
+
var o;
|
|
55
|
+
var t = getTenantInfo();
|
|
56
|
+
if ((o = t == null ? undefined : t.tenant) != null && o.id) return n(t);
|
|
57
|
+
setTimeout(function () {
|
|
58
|
+
return _e5();
|
|
59
|
+
}, 50);
|
|
60
|
+
};
|
|
61
|
+
_e5();
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
export { m as projectNextTick, d as tenantInfoNextTick, T as tokenNextTick, k as tokenNextTick_1, f as userInfoNextTick };
|
package/oss/es5.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { getConfig } from '@das-fed/upf-utils/config';
|
|
2
|
+
var n = function n(r) {
|
|
3
|
+
var t = r;
|
|
4
|
+
if (!t) return t;
|
|
5
|
+
t.startsWith("/") || (t = "/".concat(t)), new URL(t, import.meta.url);
|
|
6
|
+
var _getConfig = getConfig(),
|
|
7
|
+
e = _getConfig.baseURL;
|
|
8
|
+
return "".concat(e, "/oss/resource/front-end/auto-upload/pc").concat(t);
|
|
9
|
+
};
|
|
10
|
+
export { n as oss };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/upf-utils",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.171",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@antv/x6": "^2.18.1",
|
|
12
|
-
"@das-fed/upf-utils": "6.4.0-dev.
|
|
12
|
+
"@das-fed/upf-utils": "6.4.0-dev.171",
|
|
13
13
|
"@vue/shared": "^3.4.21",
|
|
14
14
|
"@vueuse/core": "^9.6.0",
|
|
15
15
|
"axios": "^1.6.7",
|
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
"vue": "^3.4.21"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@das-fed/upf-
|
|
24
|
+
"@babel/preset-env": "7.26.0",
|
|
25
|
+
"@das-fed/upf-cli": "6.4.0-dev.171",
|
|
26
|
+
"@das-fed/upf-web": "6.4.0-dev.171",
|
|
27
|
+
"@rollup/plugin-babel": "6.0.4",
|
|
26
28
|
"@types/js-cookie": "^3.0.6",
|
|
27
29
|
"@types/lodash-es": "^4.17.12",
|
|
28
30
|
"@types/qs": "^6.9.15",
|
|
@@ -36,6 +38,7 @@
|
|
|
36
38
|
"js-cookie": "^3.0.5",
|
|
37
39
|
"minimist": "^1.2.8",
|
|
38
40
|
"qs": "^6.11.2",
|
|
41
|
+
"rollup": "4.30.1",
|
|
39
42
|
"vite": "^5.1.6",
|
|
40
43
|
"vite-plugin-dts": "^3.7.3"
|
|
41
44
|
},
|