@das-fed/utils 7.1.0-seres.29 → 7.1.0-seres.30
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/index.js +895 -910
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/index.js +926 -905
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/index.js +771 -786
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/index.js +3 -0
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/index.js +62 -59
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/index.js +763 -742
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/index.js +62 -59
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/file/index.js +928 -943
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/index.js +62 -59
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +3 -0
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/index.js +61 -58
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/index.js +766 -781
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/index.js +771 -786
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/index.js +62 -59
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/index.js +62 -59
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/index.js +59 -56
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/index.js +62 -59
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/index.js +773 -784
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/index.js +59 -56
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/index.js +766 -745
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/index.js +3 -0
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/index.js +62 -59
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/index.js +62 -59
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/index.js +62 -59
- package/api-services/src/create-service/index.js.gz +0 -0
- package/create-api-service/index.js +62 -59
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/menu-code-apis/index.js +8 -5
- package/create-api-service/menu-code-apis/index.js.gz +0 -0
- package/package.json +4 -4
|
Binary file
|
|
@@ -3261,6 +3261,9 @@ const Nl = {
|
|
|
3261
3261
|
// 其它服务
|
|
3262
3262
|
{ path: "/api/device-relation/devicerule/v1/rule/listAuthority" },
|
|
3263
3263
|
{ path: "/api/fms/base/interface/v1/organization/authtree" },
|
|
3264
|
+
{ path: "/api/user/v1/users/queryByType" },
|
|
3265
|
+
{ path: "/api/user/v1/users/getAllOrgUsers" },
|
|
3266
|
+
{ path: "/api/user/v1/users/getOrgUserQuery" },
|
|
3264
3267
|
{ path: "/api/org/v1/orgs/getByParentAndDemToTree", method: "post" },
|
|
3265
3268
|
{ path: "/api/org/v1/orgs/getByParentAndDem", method: "post" },
|
|
3266
3269
|
{ path: "/api/manager/v1/authProjectTree", method: "get" }
|
|
Binary file
|
|
@@ -157,10 +157,10 @@ const So = (t, e, n, { allOwnKeys: r } = {}) => (Oe(e, (o, i) => {
|
|
|
157
157
|
return ue(t) ? r(t) : r(String(t).split(e)), n;
|
|
158
158
|
}, Io = () => {
|
|
159
159
|
}, Lo = (t, e) => t != null && Number.isFinite(t = +t) ? t : e;
|
|
160
|
-
function
|
|
160
|
+
function Uo(t) {
|
|
161
161
|
return !!(t && F(t.append) && t[zr] === "FormData" && t[We]);
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const Bo = (t) => {
|
|
164
164
|
const e = new Array(10), n = (r, o) => {
|
|
165
165
|
if (Ae(r)) {
|
|
166
166
|
if (e.indexOf(r) >= 0)
|
|
@@ -238,8 +238,8 @@ const Uo = (t) => {
|
|
|
238
238
|
findKey: Wr,
|
|
239
239
|
global: Q,
|
|
240
240
|
isContextDefined: Gr,
|
|
241
|
-
isSpecCompliantForm:
|
|
242
|
-
toJSONObject:
|
|
241
|
+
isSpecCompliantForm: Uo,
|
|
242
|
+
toJSONObject: Bo,
|
|
243
243
|
isAsyncFn: Mo,
|
|
244
244
|
isThenable: ko,
|
|
245
245
|
setImmediate: Vr,
|
|
@@ -1402,7 +1402,7 @@ function _i(t, e, n) {
|
|
|
1402
1402
|
const Ie = {
|
|
1403
1403
|
assertOptions: _i,
|
|
1404
1404
|
validators: Qe
|
|
1405
|
-
},
|
|
1405
|
+
}, U = Ie.validators;
|
|
1406
1406
|
let X = class {
|
|
1407
1407
|
constructor(e) {
|
|
1408
1408
|
this.defaults = e || {}, this.interceptors = {
|
|
@@ -1439,17 +1439,17 @@ let X = class {
|
|
|
1439
1439
|
typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = Y(this.defaults, n);
|
|
1440
1440
|
const { transitional: r, paramsSerializer: o, headers: i } = n;
|
|
1441
1441
|
r !== void 0 && Ie.assertOptions(r, {
|
|
1442
|
-
silentJSONParsing:
|
|
1443
|
-
forcedJSONParsing:
|
|
1444
|
-
clarifyTimeoutError:
|
|
1442
|
+
silentJSONParsing: U.transitional(U.boolean),
|
|
1443
|
+
forcedJSONParsing: U.transitional(U.boolean),
|
|
1444
|
+
clarifyTimeoutError: U.transitional(U.boolean)
|
|
1445
1445
|
}, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
|
|
1446
1446
|
serialize: o
|
|
1447
1447
|
} : Ie.assertOptions(o, {
|
|
1448
|
-
encode:
|
|
1449
|
-
serialize:
|
|
1448
|
+
encode: U.function,
|
|
1449
|
+
serialize: U.function
|
|
1450
1450
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), Ie.assertOptions(n, {
|
|
1451
|
-
baseUrl:
|
|
1452
|
-
withXsrfToken:
|
|
1451
|
+
baseUrl: U.spelling("baseURL"),
|
|
1452
|
+
withXsrfToken: U.spelling("withXSRFToken")
|
|
1453
1453
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1454
1454
|
let a = i && f.merge(
|
|
1455
1455
|
i.common,
|
|
@@ -1744,10 +1744,10 @@ function Ii(t) {
|
|
|
1744
1744
|
}), n;
|
|
1745
1745
|
}
|
|
1746
1746
|
var fe = TypeError;
|
|
1747
|
-
const Li = {},
|
|
1747
|
+
const Li = {}, Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1748
1748
|
__proto__: null,
|
|
1749
1749
|
default: Li
|
|
1750
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1750
|
+
}, Symbol.toStringTag, { value: "Module" })), Bi = /* @__PURE__ */ Ii(Ui);
|
|
1751
1751
|
var Ht = typeof Map == "function" && Map.prototype, at = Object.getOwnPropertyDescriptor && Ht ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, qe = Ht && at && typeof at.get == "function" ? at.get : null, pr = Ht && Map.prototype.forEach, Wt = typeof Set == "function" && Set.prototype, st = Object.getOwnPropertyDescriptor && Wt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ze = Wt && st && typeof st.get == "function" ? st.get : null, dr = Wt && Set.prototype.forEach, Mi = typeof WeakMap == "function" && WeakMap.prototype, he = Mi ? WeakMap.prototype.has : null, ki = typeof WeakSet == "function" && WeakSet.prototype, me = ki ? WeakSet.prototype.has : null, qi = typeof WeakRef == "function" && WeakRef.prototype, yr = qi ? WeakRef.prototype.deref : null, zi = Boolean.prototype.valueOf, ji = Object.prototype.toString, Hi = Function.prototype.toString, Wi = String.prototype.match, Gt = String.prototype.slice, J = String.prototype.replace, Gi = String.prototype.toUpperCase, hr = String.prototype.toLowerCase, dn = RegExp.prototype.test, mr = Array.prototype.concat, k = Array.prototype.join, Ji = Array.prototype.slice, gr = Math.floor, $t = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, lt = Object.getOwnPropertySymbols, Dt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, se = typeof Symbol == "function" && typeof Symbol.iterator == "object", ge = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === se || !0) ? Symbol.toStringTag : null, yn = Object.prototype.propertyIsEnumerable, vr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
|
|
1752
1752
|
return t.__proto__;
|
|
1753
1753
|
} : null);
|
|
@@ -1764,7 +1764,7 @@ function wr(t, e) {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
return J.call(e, n, "$&_");
|
|
1766
1766
|
}
|
|
1767
|
-
var It =
|
|
1767
|
+
var It = Bi, br = It.custom, Sr = gn(br) ? br : null, hn = {
|
|
1768
1768
|
__proto__: null,
|
|
1769
1769
|
double: '"',
|
|
1770
1770
|
single: "'"
|
|
@@ -1838,7 +1838,7 @@ var It = Ui, br = It.custom, Sr = gn(br) ? br : null, hn = {
|
|
|
1838
1838
|
if (e.length === 0)
|
|
1839
1839
|
return "[]";
|
|
1840
1840
|
var g = _e(e, d);
|
|
1841
|
-
return p && !fa(g) ? "[" +
|
|
1841
|
+
return p && !fa(g) ? "[" + Ut(g, p) + "]" : "[ " + k.call(g, ", ") + " ]";
|
|
1842
1842
|
}
|
|
1843
1843
|
if (Xi(e)) {
|
|
1844
1844
|
var T = _e(e, d);
|
|
@@ -1882,7 +1882,7 @@ var It = Ui, br = It.custom, Sr = gn(br) ? br : null, hn = {
|
|
|
1882
1882
|
return "{ [object globalThis] }";
|
|
1883
1883
|
if (!Qi(e) && !Er(e)) {
|
|
1884
1884
|
var N = _e(e, d), q = vr ? vr(e) === Object.prototype : e instanceof Object || e.constructor === Object, L = e instanceof Object ? "" : "null prototype", H = !q && ge && Object(e) === e && ge in e ? Gt.call(V(e), 8, -1) : L ? "Object" : "", Ce = q || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", re = Ce + (H || L ? "[" + k.call(mr.call([], H || [], L || []), ": ") + "] " : "");
|
|
1885
|
-
return N.length === 0 ? re + "{}" : p ? re + "{" +
|
|
1885
|
+
return N.length === 0 ? re + "{}" : p ? re + "{" + Ut(N, p) + "}" : re + "{ " + k.call(N, ", ") + " }";
|
|
1886
1886
|
}
|
|
1887
1887
|
return String(e);
|
|
1888
1888
|
};
|
|
@@ -2061,7 +2061,7 @@ function ut(t) {
|
|
|
2061
2061
|
return t + " { ? }";
|
|
2062
2062
|
}
|
|
2063
2063
|
function Ar(t, e, n, r) {
|
|
2064
|
-
var o = r ?
|
|
2064
|
+
var o = r ? Ut(n, r) : k.call(n, ", ");
|
|
2065
2065
|
return t + " (" + e + ") {" + o + "}";
|
|
2066
2066
|
}
|
|
2067
2067
|
function fa(t) {
|
|
@@ -2084,7 +2084,7 @@ function pa(t, e) {
|
|
|
2084
2084
|
prev: k.call(Array(e + 1), n)
|
|
2085
2085
|
};
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2087
|
+
function Ut(t, e) {
|
|
2088
2088
|
if (t.length === 0)
|
|
2089
2089
|
return "";
|
|
2090
2090
|
var n = `
|
|
@@ -2175,15 +2175,15 @@ if (Le)
|
|
|
2175
2175
|
} catch {
|
|
2176
2176
|
Le = null;
|
|
2177
2177
|
}
|
|
2178
|
-
var Sn = Le,
|
|
2179
|
-
if (
|
|
2178
|
+
var Sn = Le, Ue = Object.defineProperty || !1;
|
|
2179
|
+
if (Ue)
|
|
2180
2180
|
try {
|
|
2181
|
-
|
|
2181
|
+
Ue({}, "a", { value: 1 });
|
|
2182
2182
|
} catch {
|
|
2183
|
-
|
|
2183
|
+
Ue = !1;
|
|
2184
2184
|
}
|
|
2185
|
-
var La =
|
|
2186
|
-
function
|
|
2185
|
+
var La = Ue, ct, Or;
|
|
2186
|
+
function Ua() {
|
|
2187
2187
|
return Or || (Or = 1, ct = function() {
|
|
2188
2188
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
2189
2189
|
return !1;
|
|
@@ -2213,10 +2213,10 @@ function Ba() {
|
|
|
2213
2213
|
}), ct;
|
|
2214
2214
|
}
|
|
2215
2215
|
var ft, Rr;
|
|
2216
|
-
function
|
|
2216
|
+
function Ba() {
|
|
2217
2217
|
if (Rr) return ft;
|
|
2218
2218
|
Rr = 1;
|
|
2219
|
-
var t = typeof Symbol < "u" && Symbol, e =
|
|
2219
|
+
var t = typeof Symbol < "u" && Symbol, e = Ua();
|
|
2220
2220
|
return ft = function() {
|
|
2221
2221
|
return typeof t != "function" || typeof Symbol != "function" || typeof t("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
2222
2222
|
}, ft;
|
|
@@ -2359,7 +2359,7 @@ var S, Ya = bn, es = ba, ts = Sa, rs = Ea, ns = Aa, le = Oa, ae = fe, os = Ra, i
|
|
|
2359
2359
|
return Et;
|
|
2360
2360
|
}
|
|
2361
2361
|
}
|
|
2362
|
-
}() : Et, ne =
|
|
2362
|
+
}() : Et, ne = Ba()(), x = Xa(), ys = An(), hs = En(), Tn = On(), Pe = Jt(), ie = {}, ms = typeof Uint8Array > "u" || !x ? S : x(Uint8Array), Z = {
|
|
2363
2363
|
__proto__: null,
|
|
2364
2364
|
"%AggregateError%": typeof AggregateError > "u" ? S : AggregateError,
|
|
2365
2365
|
"%Array%": Array,
|
|
@@ -2581,7 +2581,7 @@ var vs = function t(e) {
|
|
|
2581
2581
|
/** @type {const} */
|
|
2582
2582
|
[r]
|
|
2583
2583
|
) : r;
|
|
2584
|
-
}, Ts = Vt, xe = _n, xs = Xe, Cs = fe,
|
|
2584
|
+
}, Ts = Vt, xe = _n, xs = Xe, Cs = fe, Ur = Ts("%Map%", !0), _s = xe("Map.prototype.get", !0), Ns = xe("Map.prototype.set", !0), Fs = xe("Map.prototype.has", !0), $s = xe("Map.prototype.delete", !0), Ds = xe("Map.prototype.size", !0), Nn = !!Ur && /** @type {Exclude<import('.'), false>} */
|
|
2585
2585
|
function() {
|
|
2586
2586
|
var e, n = {
|
|
2587
2587
|
assert: function(r) {
|
|
@@ -2603,17 +2603,17 @@ function() {
|
|
|
2603
2603
|
return e ? Fs(e, r) : !1;
|
|
2604
2604
|
},
|
|
2605
2605
|
set: function(r, o) {
|
|
2606
|
-
e || (e = new
|
|
2606
|
+
e || (e = new Ur()), Ns(e, r, o);
|
|
2607
2607
|
}
|
|
2608
2608
|
};
|
|
2609
2609
|
return n;
|
|
2610
|
-
}, Is = Vt, et = _n, Ls = Xe, Ne = Nn,
|
|
2610
|
+
}, Is = Vt, et = _n, Ls = Xe, Ne = Nn, Us = fe, oe = Is("%WeakMap%", !0), Bs = et("WeakMap.prototype.get", !0), Ms = et("WeakMap.prototype.set", !0), ks = et("WeakMap.prototype.has", !0), qs = et("WeakMap.prototype.delete", !0), zs = oe ? (
|
|
2611
2611
|
/** @type {Exclude<import('.'), false>} */
|
|
2612
2612
|
function() {
|
|
2613
2613
|
var e, n, r = {
|
|
2614
2614
|
assert: function(o) {
|
|
2615
2615
|
if (!r.has(o))
|
|
2616
|
-
throw new
|
|
2616
|
+
throw new Us("Side channel does not contain " + Ls(o));
|
|
2617
2617
|
},
|
|
2618
2618
|
delete: function(o) {
|
|
2619
2619
|
if (oe && o && (typeof o == "object" || typeof o == "function")) {
|
|
@@ -2624,7 +2624,7 @@ function() {
|
|
|
2624
2624
|
return !1;
|
|
2625
2625
|
},
|
|
2626
2626
|
get: function(o) {
|
|
2627
|
-
return oe && o && (typeof o == "object" || typeof o == "function") && e ?
|
|
2627
|
+
return oe && o && (typeof o == "object" || typeof o == "function") && e ? Bs(e, o) : n && n.get(o);
|
|
2628
2628
|
},
|
|
2629
2629
|
has: function(o) {
|
|
2630
2630
|
return oe && o && (typeof o == "object" || typeof o == "function") && e ? ks(e, o) : !!n && n.has(o);
|
|
@@ -2670,7 +2670,7 @@ function() {
|
|
|
2670
2670
|
},
|
|
2671
2671
|
RFC1738: At.RFC1738,
|
|
2672
2672
|
RFC3986: At.RFC3986
|
|
2673
|
-
}, Zs = Kt, Ot = Object.prototype.hasOwnProperty, K = Array.isArray,
|
|
2673
|
+
}, Zs = Kt, Ot = Object.prototype.hasOwnProperty, K = Array.isArray, B = function() {
|
|
2674
2674
|
for (var t = [], e = 0; e < 256; ++e)
|
|
2675
2675
|
t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
2676
2676
|
return t;
|
|
@@ -2741,18 +2741,18 @@ function() {
|
|
|
2741
2741
|
continue;
|
|
2742
2742
|
}
|
|
2743
2743
|
if (d < 128) {
|
|
2744
|
-
l[l.length] =
|
|
2744
|
+
l[l.length] = B[d];
|
|
2745
2745
|
continue;
|
|
2746
2746
|
}
|
|
2747
2747
|
if (d < 2048) {
|
|
2748
|
-
l[l.length] =
|
|
2748
|
+
l[l.length] = B[192 | d >> 6] + B[128 | d & 63];
|
|
2749
2749
|
continue;
|
|
2750
2750
|
}
|
|
2751
2751
|
if (d < 55296 || d >= 57344) {
|
|
2752
|
-
l[l.length] =
|
|
2752
|
+
l[l.length] = B[224 | d >> 12] + B[128 | d >> 6 & 63] + B[128 | d & 63];
|
|
2753
2753
|
continue;
|
|
2754
2754
|
}
|
|
2755
|
-
p += 1, d = 65536 + ((d & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] =
|
|
2755
|
+
p += 1, d = 65536 + ((d & 1023) << 10 | u.charCodeAt(p) & 1023), l[l.length] = B[240 | d >> 18] + B[128 | d >> 12 & 63] + B[128 | d >> 6 & 63] + B[128 | d & 63];
|
|
2756
2756
|
}
|
|
2757
2757
|
s += l.join("");
|
|
2758
2758
|
}
|
|
@@ -2788,7 +2788,7 @@ function() {
|
|
|
2788
2788
|
isRegExp: il,
|
|
2789
2789
|
maybeMap: ll,
|
|
2790
2790
|
merge: el
|
|
2791
|
-
}, Dn = Ks,
|
|
2791
|
+
}, Dn = Ks, Be = $n, ve = Kt, ul = Object.prototype.hasOwnProperty, In = {
|
|
2792
2792
|
brackets: function(e) {
|
|
2793
2793
|
return e + "[]";
|
|
2794
2794
|
},
|
|
@@ -2801,7 +2801,7 @@ function() {
|
|
|
2801
2801
|
}
|
|
2802
2802
|
}, M = Array.isArray, cl = Array.prototype.push, Ln = function(t, e) {
|
|
2803
2803
|
cl.apply(t, M(e) ? e : [e]);
|
|
2804
|
-
}, fl = Date.prototype.toISOString,
|
|
2804
|
+
}, fl = Date.prototype.toISOString, Br = ve.default, P = {
|
|
2805
2805
|
addQueryPrefix: !1,
|
|
2806
2806
|
allowDots: !1,
|
|
2807
2807
|
allowEmptyArrays: !1,
|
|
@@ -2812,11 +2812,11 @@ function() {
|
|
|
2812
2812
|
delimiter: "&",
|
|
2813
2813
|
encode: !0,
|
|
2814
2814
|
encodeDotInKeys: !1,
|
|
2815
|
-
encoder:
|
|
2815
|
+
encoder: Be.encode,
|
|
2816
2816
|
encodeValuesOnly: !1,
|
|
2817
2817
|
filter: void 0,
|
|
2818
|
-
format:
|
|
2819
|
-
formatter: ve.formatters[
|
|
2818
|
+
format: Br,
|
|
2819
|
+
formatter: ve.formatters[Br],
|
|
2820
2820
|
// deprecated
|
|
2821
2821
|
indices: !1,
|
|
2822
2822
|
serializeDate: function(e) {
|
|
@@ -2836,14 +2836,14 @@ function() {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
typeof T.get(Pt) > "u" && (A = 0);
|
|
2838
2838
|
}
|
|
2839
|
-
if (typeof l == "function" ? g = l(n, g) : g instanceof Date ? g = v(g) : r === "comma" && M(g) && (g =
|
|
2839
|
+
if (typeof l == "function" ? g = l(n, g) : g instanceof Date ? g = v(g) : r === "comma" && M(g) && (g = Be.maybeMap(g, function(rt) {
|
|
2840
2840
|
return rt instanceof Date ? v(rt) : rt;
|
|
2841
2841
|
})), g === null) {
|
|
2842
2842
|
if (a)
|
|
2843
2843
|
return u && !h ? u(n, P.encoder, b, "key", y) : n;
|
|
2844
2844
|
g = "";
|
|
2845
2845
|
}
|
|
2846
|
-
if (pl(g) ||
|
|
2846
|
+
if (pl(g) || Be.isBuffer(g)) {
|
|
2847
2847
|
if (u) {
|
|
2848
2848
|
var q = h ? n : u(n, P.encoder, b, "key", y);
|
|
2849
2849
|
return [m(q) + "=" + m(u(g, P.encoder, b, "value", y))];
|
|
@@ -2855,7 +2855,7 @@ function() {
|
|
|
2855
2855
|
return L;
|
|
2856
2856
|
var H;
|
|
2857
2857
|
if (r === "comma" && M(g))
|
|
2858
|
-
h && u && (g =
|
|
2858
|
+
h && u && (g = Be.maybeMap(g, u)), H = [{ value: g.length > 0 ? g.join(",") || null : void 0 }];
|
|
2859
2859
|
else if (M(l))
|
|
2860
2860
|
H = l;
|
|
2861
2861
|
else {
|
|
@@ -2972,7 +2972,7 @@ function() {
|
|
|
2972
2972
|
}
|
|
2973
2973
|
var v = a.join(r.delimiter), y = r.addQueryPrefix === !0 ? "?" : "";
|
|
2974
2974
|
return r.charsetSentinel && (r.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), v.length > 0 ? y + v : "";
|
|
2975
|
-
}, ee = $n,
|
|
2975
|
+
}, ee = $n, Bt = Object.prototype.hasOwnProperty, Mr = Array.isArray, O = {
|
|
2976
2976
|
allowDots: !1,
|
|
2977
2977
|
allowEmptyArrays: !1,
|
|
2978
2978
|
allowPrototypes: !1,
|
|
@@ -2998,7 +2998,7 @@ function() {
|
|
|
2998
2998
|
return t.replace(/&#(\d+);/g, function(e, n) {
|
|
2999
2999
|
return String.fromCharCode(parseInt(n, 10));
|
|
3000
3000
|
});
|
|
3001
|
-
},
|
|
3001
|
+
}, Un = function(t, e, n) {
|
|
3002
3002
|
if (t && typeof t == "string" && e.comma && t.indexOf(",") > -1)
|
|
3003
3003
|
return t.split(",");
|
|
3004
3004
|
if (e.throwOnLimitExceeded && n >= e.arrayLimit)
|
|
@@ -3021,7 +3021,7 @@ function() {
|
|
|
3021
3021
|
if (c !== s) {
|
|
3022
3022
|
var l = a[c], p = l.indexOf("]="), d = p === -1 ? l.indexOf("=") : p + 1, v, y;
|
|
3023
3023
|
d === -1 ? (v = n.decoder(l, O.decoder, u, "key"), y = n.strictNullHandling ? null : "") : (v = n.decoder(l.slice(0, d), O.decoder, u, "key"), y = ee.maybeMap(
|
|
3024
|
-
|
|
3024
|
+
Un(
|
|
3025
3025
|
l.slice(d + 1),
|
|
3026
3026
|
n,
|
|
3027
3027
|
Mr(r[v]) ? r[v].length : 0
|
|
@@ -3030,7 +3030,7 @@ function() {
|
|
|
3030
3030
|
return n.decoder(h, O.decoder, u, "value");
|
|
3031
3031
|
}
|
|
3032
3032
|
)), y && n.interpretNumericEntities && u === "iso-8859-1" && (y = ml(String(y))), l.indexOf("[]=") > -1 && (y = Mr(y) ? [y] : y);
|
|
3033
|
-
var m =
|
|
3033
|
+
var m = Bt.call(r, v);
|
|
3034
3034
|
m && n.duplicates === "combine" ? r[v] = ee.combine(r[v], y) : (!m || n.duplicates === "last") && (r[v] = y);
|
|
3035
3035
|
}
|
|
3036
3036
|
return r;
|
|
@@ -3040,7 +3040,7 @@ function() {
|
|
|
3040
3040
|
var i = t.slice(0, -1).join("");
|
|
3041
3041
|
o = Array.isArray(e) && e[i] ? e[i].length : 0;
|
|
3042
3042
|
}
|
|
3043
|
-
for (var a = r ? e :
|
|
3043
|
+
for (var a = r ? e : Un(e, n, o), s = t.length - 1; s >= 0; --s) {
|
|
3044
3044
|
var c, u = t[s];
|
|
3045
3045
|
if (u === "[]" && n.parseArrays)
|
|
3046
3046
|
c = n.allowEmptyArrays && (a === "" || n.strictNullHandling && a === null) ? [] : ee.combine([], a);
|
|
@@ -3056,12 +3056,12 @@ function() {
|
|
|
3056
3056
|
if (e) {
|
|
3057
3057
|
var i = r.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, a = /(\[[^[\]]*])/, s = /(\[[^[\]]*])/g, c = r.depth > 0 && a.exec(i), u = c ? i.slice(0, c.index) : i, l = [];
|
|
3058
3058
|
if (u) {
|
|
3059
|
-
if (!r.plainObjects &&
|
|
3059
|
+
if (!r.plainObjects && Bt.call(Object.prototype, u) && !r.allowPrototypes)
|
|
3060
3060
|
return;
|
|
3061
3061
|
l.push(u);
|
|
3062
3062
|
}
|
|
3063
3063
|
for (var p = 0; r.depth > 0 && (c = s.exec(i)) !== null && p < r.depth; ) {
|
|
3064
|
-
if (p += 1, !r.plainObjects &&
|
|
3064
|
+
if (p += 1, !r.plainObjects && Bt.call(Object.prototype, c[1].slice(1, -1)) && !r.allowPrototypes)
|
|
3065
3065
|
return;
|
|
3066
3066
|
l.push(c[1]);
|
|
3067
3067
|
}
|
|
@@ -3261,6 +3261,9 @@ const Nl = {
|
|
|
3261
3261
|
// 其它服务
|
|
3262
3262
|
{ path: "/api/device-relation/devicerule/v1/rule/listAuthority" },
|
|
3263
3263
|
{ path: "/api/fms/base/interface/v1/organization/authtree" },
|
|
3264
|
+
{ path: "/api/user/v1/users/queryByType" },
|
|
3265
|
+
{ path: "/api/user/v1/users/getAllOrgUsers" },
|
|
3266
|
+
{ path: "/api/user/v1/users/getOrgUserQuery" },
|
|
3264
3267
|
{ path: "/api/org/v1/orgs/getByParentAndDemToTree", method: "post" },
|
|
3265
3268
|
{ path: "/api/org/v1/orgs/getByParentAndDem", method: "post" },
|
|
3266
3269
|
{ path: "/api/manager/v1/authProjectTree", method: "get" }
|
|
@@ -3285,7 +3288,7 @@ const Nl = {
|
|
|
3285
3288
|
} catch {
|
|
3286
3289
|
return "";
|
|
3287
3290
|
}
|
|
3288
|
-
},
|
|
3291
|
+
}, Ul = (t) => {
|
|
3289
3292
|
if (!Il(t)) return t;
|
|
3290
3293
|
const e = { ...t.params || {} };
|
|
3291
3294
|
if (e._menuCode !== void 0)
|
|
@@ -3296,7 +3299,7 @@ const Nl = {
|
|
|
3296
3299
|
zn(Nl);
|
|
3297
3300
|
kt.extend(Qn);
|
|
3298
3301
|
kt.extend(Xn);
|
|
3299
|
-
const Qt = kr(),
|
|
3302
|
+
const Qt = kr(), Bn = Qt.sso ?? !0, Bl = Qt.i18n ?? !0, Mn = Qt.noRedireLogin ?? !1, Ml = (t) => {
|
|
3300
3303
|
var e, n, r;
|
|
3301
3304
|
return ((e = t == null ? void 0 : t.response) == null ? void 0 : e.status) === 401 || ((r = (n = t == null ? void 0 : t.response) == null ? void 0 : n.data) == null ? void 0 : r.code) === 401;
|
|
3302
3305
|
}, kl = (t) => {
|
|
@@ -3325,7 +3328,7 @@ const Qt = kr(), Un = Qt.sso ?? !0, Ul = Qt.i18n ?? !0, Mn = Qt.noRedireLogin ??
|
|
|
3325
3328
|
let a = ((v = t == null ? void 0 : t.response) == null ? void 0 : v.data) || {};
|
|
3326
3329
|
const s = Gn("code") || "", c = (e == null ? void 0 : e.noRedireLogin) ?? ((y = t == null ? void 0 : t.config) == null ? void 0 : y.noRedireLogin), l = !((t == null ? void 0 : t.__skipLoginRedirect) === !0) && !(c ?? Mn);
|
|
3327
3330
|
if (!s && l && (n === 401 || (a == null ? void 0 : a.code) === 401))
|
|
3328
|
-
|
|
3331
|
+
Bn ? Jn({ ...Kn, redirect_uri: Vn }) : kn(), o = a;
|
|
3329
3332
|
else {
|
|
3330
3333
|
if (t.response) {
|
|
3331
3334
|
if (a instanceof Blob && (a = await new Promise((b) => {
|
|
@@ -3340,7 +3343,7 @@ const Qt = kr(), Un = Qt.sso ?? !0, Ul = Qt.i18n ?? !0, Mn = Qt.noRedireLogin ??
|
|
|
3340
3343
|
})), a.code) {
|
|
3341
3344
|
n = a.code;
|
|
3342
3345
|
const b = (e == null ? void 0 : e.i18n) ?? !0;
|
|
3343
|
-
if (
|
|
3346
|
+
if (Bl && b) {
|
|
3344
3347
|
const E = (a == null ? void 0 : a.status) ?? (a == null ? void 0 : a.msg) ?? "";
|
|
3345
3348
|
r = !(a != null && a.data) || !a.data.length ? G(E) : G(E, ...a.data);
|
|
3346
3349
|
} else
|
|
@@ -3362,7 +3365,7 @@ const Qt = kr(), Un = Qt.sso ?? !0, Ul = Qt.i18n ?? !0, Mn = Qt.noRedireLogin ??
|
|
|
3362
3365
|
const p = new URL(location.href).searchParams;
|
|
3363
3366
|
l = p.get("token") || p.get("accessToken") || p.get("accesstoken") || "";
|
|
3364
3367
|
}
|
|
3365
|
-
|
|
3368
|
+
Bn ? l || (l = await Wn(r)) : (l || (l = to()), l || kn()), l && !r.headers.Authorization && (r.headers.Authorization = `Bearer ${l}`);
|
|
3366
3369
|
}
|
|
3367
3370
|
r.baseURL || (r.baseURL = o.baseURL || ""), r.urlPrefix || (r.urlPrefix = t), r.paramsSerializer || (r.paramsSerializer = { serialize: (l) => xl.stringify(l, { indices: !1 }) }), r.onSuccess || (r.onSuccess = ql), r.onError || (r.onError = zl), (r.csrf ?? !1) && (r.headers["csrf-token"] = _l.get("csrf-token"));
|
|
3368
3371
|
const s = r.params || {};
|
|
@@ -3377,7 +3380,7 @@ const Qt = kr(), Un = Qt.sso ?? !0, Ul = Qt.i18n ?? !0, Mn = Qt.noRedireLogin ??
|
|
|
3377
3380
|
}
|
|
3378
3381
|
r.params = s, r.headers.Timezone = kt.tz.guess(), r.headers["X-Origin"] = location.origin, r.headers["Accept-Language"] = jn.value;
|
|
3379
3382
|
const u = r;
|
|
3380
|
-
return
|
|
3383
|
+
return Ul(u), u;
|
|
3381
3384
|
});
|
|
3382
3385
|
}, Hl = "v1", wu = jl(`/api/system-config/${Hl}`);
|
|
3383
3386
|
export {
|
|
Binary file
|