@das-fed/utils 7.0.7-hot.19 → 7.0.7-hot.20
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.js.gz +0 -0
- package/api-services/index.js +1542 -1594
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +1402 -1472
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +1402 -1472
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +1326 -1392
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +1402 -1472
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +1168 -1216
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +1409 -1461
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +1401 -1435
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +1103 -1137
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1554 -1606
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +1134 -1200
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +1404 -1474
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +1103 -1137
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +1409 -1461
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +1320 -1386
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +1411 -1481
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +1409 -1461
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +1409 -1461
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +1104 -1138
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +1412 -1464
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +1402 -1472
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +1402 -1472
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +1103 -1137
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +1408 -1460
- 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.gz +0 -0
- package/common-info/set-personal-info/index.js +847 -899
- package/common-info/set-personal-info/index.js.gz +0 -0
- package/common-tools/extract-file-name/index.js +844 -896
- 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/index.js +1403 -1473
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/sso/index.js +987 -1039
- package/create-api-service/sso/index.js.gz +0 -0
- package/curring-http/index.js +1101 -1153
- package/curring-http/index.js.gz +0 -0
- 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 +16 -18
- package/pinyin-first-character/index.js.gz +0 -0
- package/style/index.js +10 -10
- package/style/index.js.gz +0 -0
- package/token-tools/index.js.gz +0 -0
- package/use-low-code/index.js.gz +0 -0
- package/webSocket-service/index.js.gz +0 -0
package/curring-http/index.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/nextTiken/index.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/utils",
|
|
3
|
-
"version": "7.0.7-hot.
|
|
3
|
+
"version": "7.0.7-hot.20",
|
|
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/utils": "7.0.7-hot.
|
|
12
|
+
"@das-fed/utils": "7.0.7-hot.20",
|
|
13
13
|
"@vue/shared": "^3.4.21",
|
|
14
14
|
"@vueuse/core": "^9.6.0",
|
|
15
15
|
"axios": "^1.6.7",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"vue": "^3.4.21"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@das-fed/cli": "7.0.7-hot.
|
|
25
|
-
"@das-fed/web": "7.0.7-hot.
|
|
24
|
+
"@das-fed/cli": "7.0.7-hot.20",
|
|
25
|
+
"@das-fed/web": "7.0.7-hot.20",
|
|
26
26
|
"@types/js-cookie": "^3.0.6",
|
|
27
27
|
"@types/lodash-es": "^4.17.12",
|
|
28
28
|
"@types/qs": "^6.9.15",
|
|
@@ -23723,9 +23723,9 @@ const mn = new F(), pn = () => mn, r = (n) => {
|
|
|
23723
23723
|
const b = w(l.zh);
|
|
23724
23724
|
i[o + t] = {
|
|
23725
23725
|
origin: b[t],
|
|
23726
|
-
result: y[c]
|
|
23726
|
+
result: y[c],
|
|
23727
23727
|
isZh: !0,
|
|
23728
|
-
originPinyin: y[c]
|
|
23728
|
+
originPinyin: y[c]
|
|
23729
23729
|
}, c++;
|
|
23730
23730
|
}
|
|
23731
23731
|
o += l.length, s++;
|
|
@@ -23766,20 +23766,18 @@ const mn = new F(), pn = () => mn, r = (n) => {
|
|
|
23766
23766
|
originPinyin: n
|
|
23767
23767
|
}
|
|
23768
23768
|
];
|
|
23769
|
-
}, q = (n
|
|
23770
|
-
const
|
|
23771
|
-
for (let
|
|
23772
|
-
for (let
|
|
23773
|
-
if (
|
|
23774
|
-
let
|
|
23775
|
-
J.indexOf(
|
|
23769
|
+
}, q = (n) => {
|
|
23770
|
+
const i = n.split(" "), g = [], h = [];
|
|
23771
|
+
for (let u of i)
|
|
23772
|
+
for (let s of G)
|
|
23773
|
+
if (u.startsWith(s)) {
|
|
23774
|
+
let z = u.slice(s.length);
|
|
23775
|
+
J.indexOf(s) !== -1 && K.indexOf(z) !== -1 && (z = X[z]), g.push(s), h.push(z);
|
|
23776
23776
|
break;
|
|
23777
23777
|
}
|
|
23778
|
-
return
|
|
23779
|
-
(
|
|
23780
|
-
|
|
23781
|
-
final: u.join(" "),
|
|
23782
|
-
initial: h.join(" ")
|
|
23778
|
+
return {
|
|
23779
|
+
final: h.join(" "),
|
|
23780
|
+
initial: g.join(" ")
|
|
23783
23781
|
// 声母
|
|
23784
23782
|
};
|
|
23785
23783
|
}, e = (n) => {
|
|
@@ -23828,12 +23826,12 @@ const Dn = (n, i) => {
|
|
|
23828
23826
|
break;
|
|
23829
23827
|
case "initial":
|
|
23830
23828
|
n.forEach((g) => {
|
|
23831
|
-
g.result = g.isZh ? q(g.result
|
|
23829
|
+
g.result = g.isZh ? q(g.result).initial : "";
|
|
23832
23830
|
});
|
|
23833
23831
|
break;
|
|
23834
23832
|
case "final":
|
|
23835
23833
|
n.forEach((g) => {
|
|
23836
|
-
g.result = g.isZh ? q(g.result
|
|
23834
|
+
g.result = g.isZh ? q(g.result).final : "";
|
|
23837
23835
|
});
|
|
23838
23836
|
break;
|
|
23839
23837
|
case "first":
|
|
@@ -23875,7 +23873,7 @@ const Dn = (n, i) => {
|
|
|
23875
23873
|
}
|
|
23876
23874
|
}, Cn = (n, i) => {
|
|
23877
23875
|
i.v && n.forEach((g) => {
|
|
23878
|
-
g.isZh && (g.result = g.result.replace(/ü/g,
|
|
23876
|
+
g.isZh && (g.result = g.result.replace(/ü/g, "v"));
|
|
23879
23877
|
});
|
|
23880
23878
|
}, Mn = (n, i, g) => {
|
|
23881
23879
|
if (i.multiple && d(g) === 1) {
|
|
@@ -23886,7 +23884,7 @@ const Dn = (n, i) => {
|
|
|
23886
23884
|
});
|
|
23887
23885
|
}
|
|
23888
23886
|
return i.type === "array" ? n.map((h) => h.result) : i.type === "all" ? n.map((h) => {
|
|
23889
|
-
const u = h.isZh ? h.result : "", { initial: s, final: z } = q(u
|
|
23887
|
+
const u = h.isZh ? h.result : "", { initial: s, final: z } = q(u), { head: o, body: l, tail: y } = e(u);
|
|
23890
23888
|
let c = [];
|
|
23891
23889
|
return u !== "" && (c = [u].concat(W(h.origin, i.surname).filter((t) => t !== u))), {
|
|
23892
23890
|
origin: h.origin,
|
|
Binary file
|
package/style/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.18
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -8,8 +8,8 @@ process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
|
8
8
|
const u = (t) => {
|
|
9
9
|
const e = /* @__PURE__ */ Object.create(null);
|
|
10
10
|
return (r) => e[r] || (e[r] = t(r));
|
|
11
|
-
}, m =
|
|
12
|
-
(t) => t.replace(m, (e) =>
|
|
11
|
+
}, m = /-(\w)/g, p = u(
|
|
12
|
+
(t) => t.replace(m, (e, r) => r ? r.toUpperCase() : "")
|
|
13
13
|
), a = (t = "") => t.split(" ").filter((e) => !!e.trim()), h = (t, e) => {
|
|
14
14
|
if (!t || !e) return !1;
|
|
15
15
|
if (e.includes(" ")) throw new Error("className should not contain space.");
|
|
@@ -46,15 +46,15 @@ const u = (t) => {
|
|
|
46
46
|
for (const n of e)
|
|
47
47
|
r.appendChild(document.createTextNode(`${n.className}{${d(n.style)}}`));
|
|
48
48
|
}
|
|
49
|
-
}, l = (t) => Number(t.toString().replace("px", "")),
|
|
49
|
+
}, l = (t) => Number(t.toString().replace("px", "")), o = (t, e, r) => {
|
|
50
50
|
e = l(e), r = l(r);
|
|
51
51
|
let n;
|
|
52
52
|
return t === "add" && (n = e + r), t === "subtract" && (n = e - r), t === "multiply" && (n = e * r), t === "divide" && (n = e / r), e = null, r = null, n;
|
|
53
|
-
},
|
|
54
|
-
add: (e) => o(
|
|
55
|
-
subtract: (e) => o(
|
|
56
|
-
multiply: (e) => o(
|
|
57
|
-
divide: (e) => o(
|
|
53
|
+
}, c = (t) => ({
|
|
54
|
+
add: (e) => c(o("add", t, e)),
|
|
55
|
+
subtract: (e) => c(o("subtract", t, e)),
|
|
56
|
+
multiply: (e) => c(o("multiply", t, e)),
|
|
57
|
+
divide: (e) => c(o("divide", t, e)),
|
|
58
58
|
res: () => {
|
|
59
59
|
const e = t + "px";
|
|
60
60
|
return t = null, e;
|
|
@@ -63,7 +63,7 @@ const u = (t) => {
|
|
|
63
63
|
export {
|
|
64
64
|
y as addClass,
|
|
65
65
|
E as createStyle,
|
|
66
|
-
|
|
66
|
+
c as curringMath,
|
|
67
67
|
d as getCSS,
|
|
68
68
|
N as getStyle,
|
|
69
69
|
h as hasClass,
|
package/style/index.js.gz
CHANGED
|
Binary file
|
package/token-tools/index.js.gz
CHANGED
|
Binary file
|
package/use-low-code/index.js.gz
CHANGED
|
Binary file
|
|
Binary file
|