@das-fed/upf-utils 6.4.0-dev.124
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/__VLS_types.d.ts +124 -0
- package/api-services/i18n/index.d.ts +53 -0
- package/api-services/i18n/index.js +27 -0
- package/api-services/i18n/index.js.gz +0 -0
- package/api-services/index.d.ts +2 -0
- package/api-services/index.js +3141 -0
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.d.ts +2 -0
- package/api-services/modules/app-manage/index.js +2827 -0
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.d.ts +2 -0
- package/api-services/modules/authentication/index.js +2827 -0
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.d.ts +6 -0
- package/api-services/modules/bems/index.js +2831 -0
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.d.ts +2 -0
- package/api-services/modules/contract/index.js +2827 -0
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.d.ts +7 -0
- package/api-services/modules/duty-manage/index.js +2836 -0
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.d.ts +2 -0
- package/api-services/modules/enterpriseright/index.js +2827 -0
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.d.ts +37 -0
- package/api-services/modules/file/index.js +3059 -0
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.d.ts +2 -0
- package/api-services/modules/gateway-edge/index.js +2827 -0
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.d.ts +21 -0
- package/api-services/modules/index.js +3115 -0
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.d.ts +16 -0
- package/api-services/modules/iot/index.js +2841 -0
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.d.ts +3 -0
- package/api-services/modules/justauth/index.js +2828 -0
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.d.ts +2 -0
- package/api-services/modules/knowledge/index.js +2827 -0
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.d.ts +2 -0
- package/api-services/modules/link/index.js +2827 -0
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.d.ts +2 -0
- package/api-services/modules/permission/index.js +2827 -0
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.d.ts +14 -0
- package/api-services/modules/platformManage/index.js +2835 -0
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.d.ts +2 -0
- package/api-services/modules/portal/index.js +2827 -0
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.d.ts +2 -0
- package/api-services/modules/space-manage/index.js +2827 -0
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.d.ts +8 -0
- package/api-services/modules/super-admin/index.js +2830 -0
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.d.ts +6 -0
- package/api-services/modules/supplier/index.js +2829 -0
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.d.ts +2 -0
- package/api-services/modules/supplychain-manage/index.js +2827 -0
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.d.ts +2 -0
- package/api-services/modules/systemConfiguration/index.js +2827 -0
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.d.ts +2 -0
- package/api-services/modules/tool/index.js +2827 -0
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.d.ts +1 -0
- package/api-services/src/create-service/index.js +2827 -0
- package/api-services/src/create-service/index.js.gz +0 -0
- package/atob/index.d.ts +2 -0
- package/atob/index.js +11 -0
- package/common-info/getIframeUrl/index.d.ts +9 -0
- package/common-info/getIframeUrl/index.js +10 -0
- package/common-info/getInfoFromUrl/index.d.ts +8 -0
- package/common-info/getInfoFromUrl/index.js +84 -0
- package/common-info/getInfoFromUrl/index.js.gz +0 -0
- package/common-info/index.d.ts +61 -0
- package/common-info/index.js +171 -0
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/index.d.ts +5 -0
- package/common-info/set-personal-info/index.js +1474 -0
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-info/type.d.ts +214 -0
- package/common-tools/arr-tools/index.d.ts +15 -0
- package/common-tools/arr-tools/index.js +8 -0
- package/common-tools/calc-text-width/index.d.ts +1 -0
- package/common-tools/calc-text-width/index.js +10 -0
- package/common-tools/date-format/index.d.ts +7 -0
- package/common-tools/date-format/index.js +19 -0
- package/common-tools/extract-file-name/index.d.ts +1 -0
- package/common-tools/extract-file-name/index.js +1466 -0
- package/common-tools/extract-file-name/index.js.gz +0 -0
- package/common-tools/get-file-extension/index.d.ts +6 -0
- package/common-tools/get-file-extension/index.js +7 -0
- package/common-tools/get-url-params/index.d.ts +46 -0
- package/common-tools/get-url-params/index.js +63 -0
- package/common-tools/get-url-params/index.js.gz +0 -0
- package/common-tools/handle-data/index.d.ts +6 -0
- package/common-tools/handle-data/index.js +4 -0
- package/common-tools/index.d.ts +14 -0
- package/common-tools/index.js +14 -0
- package/common-tools/nest-tree-format/index.d.ts +30 -0
- package/common-tools/nest-tree-format/index.js +24 -0
- package/common-tools/obj-tools/index.d.ts +7 -0
- package/common-tools/obj-tools/index.js +14 -0
- package/common-tools/platform-tools/index.d.ts +19 -0
- package/common-tools/platform-tools/index.js +19 -0
- package/common-tools/queue-promise/index.d.ts +6 -0
- package/common-tools/queue-promise/index.js +9 -0
- package/common-tools/setHtmlMinWH/index.d.ts +5 -0
- package/common-tools/setHtmlMinWH/index.js +7 -0
- 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.d.ts +11 -0
- package/common-tools/update-fav-icon/index.js +22 -0
- package/config/index.d.ts +2 -0
- package/config/index.js +9 -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.d.ts +3 -0
- package/create-api-service/index.js +2827 -0
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/proxy-sso/index.d.ts +3 -0
- package/create-api-service/proxy-sso/index.js +21 -0
- package/create-api-service/sso/index.d.ts +21 -0
- package/create-api-service/sso/index.js +1845 -0
- package/create-api-service/sso/index.js.gz +0 -0
- package/curring-http/index.d.ts +12 -0
- package/curring-http/index.js +2002 -0
- package/curring-http/index.js.gz +0 -0
- package/curring-http/type.d.ts +89 -0
- package/dimple-canvas/index.d.ts +3 -0
- package/dimple-canvas/index.js +5 -0
- package/directive/auth/index.d.ts +8 -0
- package/directive/auth/index.js +62 -0
- package/directive/auth/index.js.gz +0 -0
- package/directive/clickOutside/index.d.ts +6 -0
- package/directive/clickOutside/index.js +27 -0
- package/directive/hoverInside/index.d.ts +6 -0
- package/directive/hoverInside/index.js +21 -0
- package/directive/index.d.ts +3 -0
- package/directive/index.js +8 -0
- package/directive/utils/index.d.ts +7 -0
- package/directive/utils/index.js +7 -0
- package/dom-check-in/index.d.ts +6 -0
- package/dom-check-in/index.js +8 -0
- package/dom-watcher/index.d.ts +25 -0
- package/dom-watcher/index.js +9 -0
- package/esm-map.json +146 -0
- package/hooks/popup-manager/use-zindex/index.d.ts +3 -0
- package/hooks/popup-manager/use-zindex/index.js +9 -0
- package/hooks/use-get-auth/apis.d.ts +4 -0
- package/hooks/use-get-auth/index.d.ts +9 -0
- package/hooks/use-get-auth/index.js +53 -0
- package/hooks/use-get-auth/index.js.gz +0 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/load-js/index.d.ts +3 -0
- package/load-js/index.js +12 -0
- package/nextTiken/index.d.ts +12 -0
- package/nextTiken/index.js +45 -0
- package/nextTiken/index.js.gz +0 -0
- package/oss/index.d.ts +2 -0
- package/oss/index.js +11 -0
- package/package.json +49 -0
- package/pinyin-first-character/index.d.ts +2 -0
- package/pinyin-first-character/index.js +25022 -0
- package/pinyin-first-character/index.js.gz +0 -0
- package/process-engine-info/index.d.ts +13 -0
- package/process-engine-info/index.js +15 -0
- package/pure-image-src/index.d.ts +2 -0
- package/pure-image-src/index.js +4 -0
- package/size-watcher/index.d.ts +6 -0
- package/size-watcher/index.js +20 -0
- package/style/index.d.ts +2 -0
- package/style/index.js +70 -0
- package/style/index.js.gz +0 -0
- package/style/math.d.ts +9 -0
- package/style/style.d.ts +31 -0
- package/token-tools/index.d.ts +21 -0
- package/token-tools/index.js +11 -0
- package/use-low-code/index.d.ts +1 -0
- package/use-low-code/index.js +69 -0
- package/use-low-code/index.js.gz +0 -0
- package/use-low-code/low-code-iframe.vue.d.ts +2 -0
- package/use-low-code/style.css +1 -0
- package/vue/hooks/use-model-value/index.d.ts +9 -0
- package/vue/hooks/use-model-value/index.js +10 -0
- package/vue/index.d.ts +1 -0
- package/vue/index.js +4 -0
- package/webSocket-service/index.d.ts +41 -0
- package/webSocket-service/index.js +83 -0
- package/webSocket-service/index.js.gz +0 -0
- package/webSocket-service/type.d.ts +28 -0
- package/with-install/index.d.ts +11 -0
- package/with-install/index.js +6 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { getToken as r, getProjectInfo as c, getPersonalInfo as s, getTenantInfo as i } from "@das-fed/upf-utils/common-info";
|
|
2
|
+
const k = () => new Promise((n) => {
|
|
3
|
+
const e = () => {
|
|
4
|
+
const t = r();
|
|
5
|
+
if (t) return n(t);
|
|
6
|
+
setTimeout(() => e(), 50);
|
|
7
|
+
};
|
|
8
|
+
e();
|
|
9
|
+
}), m = () => new Promise((n) => {
|
|
10
|
+
const e = () => {
|
|
11
|
+
const t = c().id ? c().id : "";
|
|
12
|
+
if (t) return n(t);
|
|
13
|
+
setTimeout(() => e(), 50);
|
|
14
|
+
};
|
|
15
|
+
e();
|
|
16
|
+
}), T = () => new Promise((n) => {
|
|
17
|
+
const e = () => {
|
|
18
|
+
const t = r(), o = c().id ? c().id : "";
|
|
19
|
+
if (t && o) return n(!0);
|
|
20
|
+
setTimeout(() => e(), 50);
|
|
21
|
+
};
|
|
22
|
+
e();
|
|
23
|
+
}), f = () => new Promise((n) => {
|
|
24
|
+
const e = () => {
|
|
25
|
+
const t = s();
|
|
26
|
+
if (t != null && t.id) return n(t);
|
|
27
|
+
setTimeout(() => e(), 50);
|
|
28
|
+
};
|
|
29
|
+
e();
|
|
30
|
+
}), d = () => new Promise((n) => {
|
|
31
|
+
const e = () => {
|
|
32
|
+
var o;
|
|
33
|
+
const t = i();
|
|
34
|
+
if ((o = t == null ? void 0 : t.tenant) != null && o.id) return n(t);
|
|
35
|
+
setTimeout(() => e(), 50);
|
|
36
|
+
};
|
|
37
|
+
e();
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
m as projectNextTick,
|
|
41
|
+
d as tenantInfoNextTick,
|
|
42
|
+
T as tokenNextTick,
|
|
43
|
+
k as tokenNextTick_1,
|
|
44
|
+
f as userInfoNextTick
|
|
45
|
+
};
|
|
Binary file
|
package/oss/index.d.ts
ADDED
package/oss/index.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { getConfig as o } from "@das-fed/upf-utils/config";
|
|
2
|
+
const n = (r) => {
|
|
3
|
+
let t = r;
|
|
4
|
+
if (!t) return t;
|
|
5
|
+
t.startsWith("/") || (t = `/${t}`), new URL(t, import.meta.url);
|
|
6
|
+
let { baseURL: e } = o();
|
|
7
|
+
return `${e}/oss/resource/front-end/auto-upload/pc${t}`;
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
n as oss
|
|
11
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@das-fed/upf-utils",
|
|
3
|
+
"version": "6.4.0-dev.124",
|
|
4
|
+
"description": "",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"keywords": [],
|
|
8
|
+
"author": "",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@antv/x6": "^2.18.1",
|
|
12
|
+
"@das-fed/upf-utils": "6.4.0-dev.124",
|
|
13
|
+
"@vue/shared": "^3.4.21",
|
|
14
|
+
"@vueuse/core": "^9.6.0",
|
|
15
|
+
"axios": "^1.6.7",
|
|
16
|
+
"dayjs": "^1.11.10",
|
|
17
|
+
"konva": "^9.3.6",
|
|
18
|
+
"lodash-es": "^4.17.21",
|
|
19
|
+
"nanoid": "3.2.0",
|
|
20
|
+
"pinyin-pro": "^3.19.6",
|
|
21
|
+
"vue": "^3.4.21"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@das-fed/upf-cli": "6.4.0-dev.124",
|
|
25
|
+
"@das-fed/upf-web": "6.4.0-dev.124",
|
|
26
|
+
"@types/js-cookie": "^3.0.6",
|
|
27
|
+
"@types/lodash-es": "^4.17.12",
|
|
28
|
+
"@types/qs": "^6.9.15",
|
|
29
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
|
+
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
31
|
+
"ant-design-vue": "3.2.20",
|
|
32
|
+
"consola": "^3.2.3",
|
|
33
|
+
"execa": "^9.3.0",
|
|
34
|
+
"fast-glob": "^3.3.2",
|
|
35
|
+
"fs-extra": "^11.2.0",
|
|
36
|
+
"js-cookie": "^3.0.5",
|
|
37
|
+
"minimist": "^1.2.8",
|
|
38
|
+
"qs": "^6.11.2",
|
|
39
|
+
"vite": "^5.1.6",
|
|
40
|
+
"vite-plugin-dts": "^3.7.3"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"vue": ">=3.4.21"
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public",
|
|
47
|
+
"registry": "https://registry.npmjs.org"
|
|
48
|
+
}
|
|
49
|
+
}
|