@das-fed/upf-utils 6.4.0-dev.216 → 6.4.0-dev.217

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.
Files changed (109) hide show
  1. package/api-services/es5.js +1908 -1849
  2. package/api-services/index.js +1428 -1428
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1640 -1594
  5. package/api-services/modules/app-manage/index.js +1299 -1318
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +1392 -1334
  8. package/api-services/modules/authentication/index.js +1107 -1108
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1626 -1559
  11. package/api-services/modules/bems/index.js +1292 -1279
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +1392 -1334
  14. package/api-services/modules/contract/index.js +1107 -1108
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1395 -1337
  17. package/api-services/modules/duty-manage/index.js +1110 -1111
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1640 -1594
  20. package/api-services/modules/enterpriseright/index.js +1299 -1318
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +1574 -1515
  23. package/api-services/modules/file/es5.js +1738 -1679
  24. package/api-services/modules/file/index.js +1307 -1307
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1640 -1594
  27. package/api-services/modules/gateway-edge/index.js +1299 -1318
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1079 -1079
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1415 -1357
  32. package/api-services/modules/iot/index.js +1124 -1125
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1391 -1333
  35. package/api-services/modules/justauth/index.js +1107 -1108
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1449 -1391
  38. package/api-services/modules/knowledge/index.js +1160 -1161
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1449 -1391
  41. package/api-services/modules/link/index.js +1160 -1161
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1392 -1334
  44. package/api-services/modules/permission/index.js +1107 -1108
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +1399 -1341
  47. package/api-services/modules/platformManage/index.js +1110 -1111
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +1449 -1391
  50. package/api-services/modules/portal/index.js +1160 -1161
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +1392 -1334
  53. package/api-services/modules/space-manage/index.js +1107 -1108
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1397 -1339
  56. package/api-services/modules/super-admin/index.js +1109 -1110
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +1630 -1560
  59. package/api-services/modules/supplier/index.js +1307 -1290
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1402 -1344
  62. package/api-services/modules/supplychain-manage/index.js +1115 -1116
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1640 -1594
  65. package/api-services/modules/systemConfiguration/index.js +1299 -1318
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1392 -1334
  68. package/api-services/modules/tool/index.js +1107 -1108
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +1638 -1592
  71. package/api-services/src/create-service/index.js +1298 -1317
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +9 -11
  74. package/common-info/getInfoFromUrl/es5.js +40 -40
  75. package/common-info/getInfoFromUrl/index.js +36 -36
  76. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  77. package/common-info/index.js +13 -17
  78. package/common-info/index.js.gz +0 -0
  79. package/common-info/set-personal-info/es5.js +776 -681
  80. package/common-info/set-personal-info/index.js +671 -598
  81. package/common-info/set-personal-info/index.js.gz +0 -0
  82. package/common-tools/extract-file-name/es5.js +2 -2
  83. package/common-tools/extract-file-name/index.js +2 -7
  84. package/common-tools/extract-file-name/index.js.gz +0 -0
  85. package/common-tools/handle-data/es5.js +111 -118
  86. package/common-tools/handle-data/index.js +86 -89
  87. package/common-tools/handle-data/index.js.gz +0 -0
  88. package/create-api-service/check-token/es5.js +125 -127
  89. package/create-api-service/check-token/index.js +118 -123
  90. package/create-api-service/check-token/index.js.gz +0 -0
  91. package/create-api-service/es5.js +1617 -1547
  92. package/create-api-service/index.js +1293 -1276
  93. package/create-api-service/index.js.gz +0 -0
  94. package/create-api-service/sso/es5.js +317 -325
  95. package/create-api-service/sso/index.js +273 -279
  96. package/create-api-service/sso/index.js.gz +0 -0
  97. package/curring-http/es5.js +2 -2
  98. package/curring-http/index.js +2 -7
  99. package/curring-http/index.js.gz +0 -0
  100. package/front-end/i18n/front-end-page/dasutils_en-US.js +20 -1
  101. package/front-end/i18n/front-end-page/dasutils_zh-CN.js +19 -1
  102. package/front-end/i18n/front-end-page/dasutils_zh-MO.js +19 -1
  103. package/package.json +4 -4
  104. package/pinyin-first-character/es5.js +1 -1
  105. package/pinyin-first-character/index.js +1 -1
  106. package/pinyin-first-character/index.js.gz +0 -0
  107. package/webSocket-service/es5.js +41 -53
  108. package/webSocket-service/index.js +40 -50
  109. package/webSocket-service/index.js.gz +0 -0
@@ -43,17 +43,17 @@ var T = function T(e) {
43
43
  var g, a;
44
44
  if (r.routeCode && (t[r.routeCode] = []), r.rightFuncCodes) {
45
45
  var l = (g = r.rightFuncCodes[0]) == null ? undefined : g.lastIndexOf("."),
46
- d = (a = r.rightFuncCodes[0]) == null ? undefined : a.slice(0, l);
47
- t[d] = [], r.rightFuncCodes.forEach(function (c) {
46
+ u = (a = r.rightFuncCodes[0]) == null ? undefined : a.slice(0, l);
47
+ t[u] = [], r.rightFuncCodes.forEach(function (c) {
48
48
  var m = c == null ? undefined : c.lastIndexOf(".");
49
- t[d].push({
49
+ t[u].push({
50
50
  code: c == null ? undefined : c.slice(m + 1)
51
51
  });
52
52
  });
53
53
  }
54
54
  });
55
55
  }));
56
- }), console.log("authobj", t), t;
56
+ }), t;
57
57
  },
58
58
  h = tokenTools.getAccessToken,
59
59
  J = function J() {
@@ -174,9 +174,7 @@ var T = function T(e) {
174
174
  };
175
175
  },
176
176
  j = function j(e, t) {
177
- if (!e) return;
178
- var s = S()[e];
179
- return console.log("getPageAuth", s), s;
177
+ return e ? S()[e] : undefined;
180
178
  },
181
179
  v = function v(e, t) {
182
180
  var _j;
@@ -224,12 +222,12 @@ var T = function T(e) {
224
222
  preTab: (_e$preTab = e.preTab) !== null && _e$preTab !== void 0 ? _e$preTab : {}
225
223
  };
226
224
  },
227
- w = function w() {
225
+ L = function L() {
228
226
  var e = config.getConfig(),
229
227
  t = sessionStorage.getItem("minioAddress");
230
228
  return t || (e.baseURL ? e.baseURL : location.origin);
231
229
  },
232
- L = function L() {
230
+ w = function w() {
233
231
  var _JSON$parse$instanceI;
234
232
  return {
235
233
  instanceInfo: (_JSON$parse$instanceI = JSON.parse(sessionStorage.getItem("instance") || "{}").instanceInfo) !== null && _JSON$parse$instanceI !== void 0 ? _JSON$parse$instanceI : {}
@@ -244,12 +242,12 @@ var i;
244
242
  exports.getAuthobj = S;
245
243
  exports.getFavIcon = Q;
246
244
  exports.getHomeInfo = k;
247
- exports.getInstanceInfo = L;
245
+ exports.getInstanceInfo = w;
248
246
  exports.getLanguages = M;
249
247
  exports.getMenuItemInfo = T;
250
248
  exports.getMenuListnfo = F;
251
249
  exports.getMenus = D;
252
- exports.getMinioAddress = w;
250
+ exports.getMinioAddress = L;
253
251
  exports.getPageAuth = j;
254
252
  exports.getPageAuthBtn = v;
255
253
  exports.getPersonalConfig = U;
@@ -7,10 +7,10 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
7
7
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
8
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function p(e) {
11
- for (var n = 1; n < arguments.length; n++) {
12
- var t = arguments[n];
13
- for (var i in t) e[i] = t[i];
10
+ function a(e) {
11
+ for (var o = 1; o < arguments.length; o++) {
12
+ var t = arguments[o];
13
+ for (var s in t) e[s] = t[s];
14
14
  }
15
15
  return e;
16
16
  }
@@ -22,73 +22,73 @@ var u = {
22
22
  return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);
23
23
  }
24
24
  };
25
- function g(e, n) {
26
- function t(o, f, r) {
25
+ function g(e, o) {
26
+ function t(n, f, r) {
27
27
  if (!((typeof document === "undefined" ? "undefined" : _typeof(document)) > "u")) {
28
- r = p({}, n, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
28
+ r = a({}, o, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
29
29
  var c = "";
30
- for (var s in r) r[s] && (c += "; " + s, r[s] !== true && (c += "=" + r[s].split(";")[0]));
31
- return document.cookie = o + "=" + e.write(f, o) + c;
30
+ for (var i in r) r[i] && (c += "; " + i, r[i] !== true && (c += "=" + r[i].split(";")[0]));
31
+ return document.cookie = n + "=" + e.write(f, n) + c;
32
32
  }
33
33
  }
34
- function i(o) {
35
- if (!((typeof document === "undefined" ? "undefined" : _typeof(document)) > "u" || arguments.length && !o)) {
34
+ function s(n) {
35
+ if (!((typeof document === "undefined" ? "undefined" : _typeof(document)) > "u" || arguments.length && !n)) {
36
36
  for (var f = document.cookie ? document.cookie.split("; ") : [], r = {}, c = 0; c < f.length; c++) {
37
- var s = f[c].split("="),
38
- d = s.slice(1).join("=");
37
+ var i = f[c].split("="),
38
+ d = i.slice(1).join("=");
39
39
  try {
40
- var a = decodeURIComponent(s[0]);
41
- if (r[a] = e.read(d, a), o === a) break;
40
+ var p = decodeURIComponent(i[0]);
41
+ if (r[p] = e.read(d, p), n === p) break;
42
42
  } catch (_unused) {}
43
43
  }
44
- return o ? r[o] : r;
44
+ return n ? r[n] : r;
45
45
  }
46
46
  }
47
47
  return Object.create({
48
48
  set: t,
49
- get: i,
50
- remove: function remove(o, f) {
51
- t(o, "", p({}, f, {
49
+ get: s,
50
+ remove: function remove(n, f) {
51
+ t(n, "", a({}, f, {
52
52
  expires: -1
53
53
  }));
54
54
  },
55
- withAttributes: function withAttributes(o) {
56
- return g(this.converter, p({}, this.attributes, o));
55
+ withAttributes: function withAttributes(n) {
56
+ return g(this.converter, a({}, this.attributes, n));
57
57
  },
58
- withConverter: function withConverter(o) {
59
- return g(p({}, this.converter, o), this.attributes);
58
+ withConverter: function withConverter(n) {
59
+ return g(a({}, this.converter, n), this.attributes);
60
60
  }
61
61
  }, {
62
62
  attributes: {
63
- value: Object.freeze(n)
63
+ value: Object.freeze(o)
64
64
  },
65
65
  converter: {
66
66
  value: Object.freeze(e)
67
67
  }
68
68
  });
69
69
  }
70
- var l = g(u, {
70
+ var h = g(u, {
71
71
  path: "/"
72
72
  });
73
- var m = function m() {
73
+ var v = function v() {
74
74
  var e = new URL(location.href).searchParams,
75
- n = e.get("token") || e.get("accessToken") || e.get("accesstoken") || "";
76
- n && (console.log("从url上取token:", n), JSON.stringify({
77
- access_token: n
78
- }), l.set("accessToken", n));
75
+ o = e.get("token") || e.get("accessToken") || e.get("accesstoken") || "";
76
+ o && (JSON.stringify({
77
+ access_token: o
78
+ }), h.set("accessToken", o));
79
79
  },
80
- v = function v() {
80
+ I = function I() {
81
81
  var e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}"),
82
- n = new URL(location.href).searchParams,
83
- t = n.get("project") || n.get("projectId") || "";
82
+ o = new URL(location.href).searchParams,
83
+ t = o.get("project") || o.get("projectId") || "";
84
84
  if (!t) return;
85
- var i = n.get("projectParent") || n.get("projectParentId") || (e == null ? undefined : e.parentId) || "",
86
- o = n.get("projectName") || (e == null ? undefined : e.name) || "";
87
- console.log("从url上取project:", t), sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify(_objectSpread(_objectSpread({}, e), {}, {
85
+ var s = o.get("projectParent") || o.get("projectParentId") || (e == null ? undefined : e.parentId) || "",
86
+ n = o.get("projectName") || (e == null ? undefined : e.name) || "";
87
+ sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify(_objectSpread(_objectSpread({}, e), {}, {
88
88
  id: t,
89
- name: o,
90
- parentId: i
89
+ name: n,
90
+ parentId: s
91
91
  })));
92
92
  };
93
- exports.getProjectInfoFromQuery = v;
94
- exports.getTokenFromQuery = m;
93
+ exports.getProjectInfoFromQuery = I;
94
+ exports.getTokenFromQuery = v;
@@ -1,9 +1,9 @@
1
1
  /*! js-cookie v3.0.5 | MIT */
2
- function p(e) {
3
- for (var n = 1; n < arguments.length; n++) {
4
- var t = arguments[n];
5
- for (var i in t)
6
- e[i] = t[i];
2
+ function a(e) {
3
+ for (var o = 1; o < arguments.length; o++) {
4
+ var t = arguments[o];
5
+ for (var s in t)
6
+ e[s] = t[s];
7
7
  }
8
8
  return e;
9
9
  }
@@ -18,67 +18,67 @@ var u = {
18
18
  );
19
19
  }
20
20
  };
21
- function g(e, n) {
22
- function t(o, f, r) {
21
+ function g(e, o) {
22
+ function t(n, f, r) {
23
23
  if (!(typeof document > "u")) {
24
- r = p({}, n, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
24
+ r = a({}, o, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
25
25
  var c = "";
26
- for (var s in r)
27
- r[s] && (c += "; " + s, r[s] !== !0 && (c += "=" + r[s].split(";")[0]));
28
- return document.cookie = o + "=" + e.write(f, o) + c;
26
+ for (var i in r)
27
+ r[i] && (c += "; " + i, r[i] !== !0 && (c += "=" + r[i].split(";")[0]));
28
+ return document.cookie = n + "=" + e.write(f, n) + c;
29
29
  }
30
30
  }
31
- function i(o) {
32
- if (!(typeof document > "u" || arguments.length && !o)) {
31
+ function s(n) {
32
+ if (!(typeof document > "u" || arguments.length && !n)) {
33
33
  for (var f = document.cookie ? document.cookie.split("; ") : [], r = {}, c = 0; c < f.length; c++) {
34
- var s = f[c].split("="), d = s.slice(1).join("=");
34
+ var i = f[c].split("="), d = i.slice(1).join("=");
35
35
  try {
36
- var a = decodeURIComponent(s[0]);
37
- if (r[a] = e.read(d, a), o === a)
36
+ var p = decodeURIComponent(i[0]);
37
+ if (r[p] = e.read(d, p), n === p)
38
38
  break;
39
39
  } catch {
40
40
  }
41
41
  }
42
- return o ? r[o] : r;
42
+ return n ? r[n] : r;
43
43
  }
44
44
  }
45
45
  return Object.create(
46
46
  {
47
47
  set: t,
48
- get: i,
49
- remove: function(o, f) {
48
+ get: s,
49
+ remove: function(n, f) {
50
50
  t(
51
- o,
51
+ n,
52
52
  "",
53
- p({}, f, {
53
+ a({}, f, {
54
54
  expires: -1
55
55
  })
56
56
  );
57
57
  },
58
- withAttributes: function(o) {
59
- return g(this.converter, p({}, this.attributes, o));
58
+ withAttributes: function(n) {
59
+ return g(this.converter, a({}, this.attributes, n));
60
60
  },
61
- withConverter: function(o) {
62
- return g(p({}, this.converter, o), this.attributes);
61
+ withConverter: function(n) {
62
+ return g(a({}, this.converter, n), this.attributes);
63
63
  }
64
64
  },
65
65
  {
66
- attributes: { value: Object.freeze(n) },
66
+ attributes: { value: Object.freeze(o) },
67
67
  converter: { value: Object.freeze(e) }
68
68
  }
69
69
  );
70
70
  }
71
- var l = g(u, { path: "/" });
72
- const m = () => {
73
- const e = new URL(location.href).searchParams, n = e.get("token") || e.get("accessToken") || e.get("accesstoken") || "";
74
- n && (console.log("从url上取token:", n), JSON.stringify({ access_token: n }), l.set("accessToken", n));
75
- }, v = () => {
76
- const e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}"), n = new URL(location.href).searchParams, t = n.get("project") || n.get("projectId") || "";
71
+ var h = g(u, { path: "/" });
72
+ const v = () => {
73
+ const e = new URL(location.href).searchParams, o = e.get("token") || e.get("accessToken") || e.get("accesstoken") || "";
74
+ o && (JSON.stringify({ access_token: o }), h.set("accessToken", o));
75
+ }, I = () => {
76
+ const e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}"), o = new URL(location.href).searchParams, t = o.get("project") || o.get("projectId") || "";
77
77
  if (!t) return;
78
- const i = n.get("projectParent") || n.get("projectParentId") || (e == null ? void 0 : e.parentId) || "", o = n.get("projectName") || (e == null ? void 0 : e.name) || "";
79
- console.log("从url上取project:", t), sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify({ ...e, id: t, name: o, parentId: i }));
78
+ const s = o.get("projectParent") || o.get("projectParentId") || (e == null ? void 0 : e.parentId) || "", n = o.get("projectName") || (e == null ? void 0 : e.name) || "";
79
+ sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify({ ...e, id: t, name: n, parentId: s }));
80
80
  };
81
81
  export {
82
- v as getProjectInfoFromQuery,
83
- m as getTokenFromQuery
82
+ I as getProjectInfoFromQuery,
83
+ v as getTokenFromQuery
84
84
  };
@@ -1,4 +1,4 @@
1
- import { getConfig as u } from "@das-fed/upf-utils/config";
1
+ import { getConfig as d } from "@das-fed/upf-utils/config";
2
2
  import { getAccessToken as I } from "@das-fed/upf-utils/token-tools";
3
3
  import { getTokenFromQuery as C, getProjectInfoFromQuery as y } from "@das-fed/upf-utils/common-info/getInfoFromUrl";
4
4
  const T = (e) => {
@@ -29,15 +29,15 @@ const T = (e) => {
29
29
  n.children && n.children.forEach((r) => {
30
30
  var g, a;
31
31
  if (r.routeCode && (t[r.routeCode] = []), r.rightFuncCodes) {
32
- const l = (g = r.rightFuncCodes[0]) == null ? void 0 : g.lastIndexOf("."), d = (a = r.rightFuncCodes[0]) == null ? void 0 : a.slice(0, l);
33
- t[d] = [], r.rightFuncCodes.forEach((c) => {
32
+ const l = (g = r.rightFuncCodes[0]) == null ? void 0 : g.lastIndexOf("."), u = (a = r.rightFuncCodes[0]) == null ? void 0 : a.slice(0, l);
33
+ t[u] = [], r.rightFuncCodes.forEach((c) => {
34
34
  const m = c == null ? void 0 : c.lastIndexOf(".");
35
- t[d].push({ code: c == null ? void 0 : c.slice(m + 1) });
35
+ t[u].push({ code: c == null ? void 0 : c.slice(m + 1) });
36
36
  });
37
37
  }
38
38
  });
39
39
  }));
40
- }), console.log("authobj", t), t;
40
+ }), t;
41
41
  }, h = I, J = () => {
42
42
  var s;
43
43
  let e = JSON.parse(sessionStorage.getItem("tenantInfo") || "{}");
@@ -49,7 +49,7 @@ const T = (e) => {
49
49
  };
50
50
  }, A = () => {
51
51
  let e = JSON.parse(sessionStorage.getItem("userInfo") || "{}");
52
- const t = u();
52
+ const t = d();
53
53
  return JSON.stringify(e) === "{}" && t.personalInfo && (e = t.personalInfo), {
54
54
  id: e.id ?? "",
55
55
  name: e.name ?? "",
@@ -82,7 +82,7 @@ const T = (e) => {
82
82
  };
83
83
  }, M = () => sessionStorage.getItem("languages"), N = () => {
84
84
  let e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}");
85
- const t = u();
85
+ const t = d();
86
86
  return JSON.stringify(e) === "{}" && t.projectInfo && (e = t.projectInfo), {
87
87
  id: (e == null ? void 0 : e.id) ?? 0,
88
88
  code: (e == null ? void 0 : e.code) ?? 0,
@@ -138,11 +138,7 @@ const T = (e) => {
138
138
  style: (e == null ? void 0 : e.style) ?? "",
139
139
  skinStyle: (e == null ? void 0 : e.skinStyle) ?? ""
140
140
  };
141
- }, j = (e, t) => {
142
- if (!e) return;
143
- const s = S()[e];
144
- return console.log("getPageAuth", s), s;
145
- }, v = (e, t) => j(e) ?? [], f = () => {
141
+ }, j = (e, t) => e ? S()[e] : void 0, v = (e, t) => j(e) ?? [], f = () => {
146
142
  const e = JSON.parse(sessionStorage.getItem("subApps") || "{}");
147
143
  return {
148
144
  appcategorys: e.appcategorys ?? [],
@@ -172,10 +168,10 @@ const T = (e) => {
172
168
  tabMap: e.tabMap ?? {},
173
169
  preTab: e.preTab ?? {}
174
170
  };
175
- }, w = () => {
176
- const e = u(), t = sessionStorage.getItem("minioAddress");
171
+ }, L = () => {
172
+ const e = d(), t = sessionStorage.getItem("minioAddress");
177
173
  return t || (e.baseURL ? e.baseURL : location.origin);
178
- }, L = () => ({
174
+ }, w = () => ({
179
175
  instanceInfo: JSON.parse(sessionStorage.getItem("instance") || "{}").instanceInfo ?? {}
180
176
  }), Q = () => localStorage.getItem("fav-icon") || "./logo.svg";
181
177
  h() || C();
@@ -185,12 +181,12 @@ export {
185
181
  S as getAuthobj,
186
182
  Q as getFavIcon,
187
183
  k as getHomeInfo,
188
- L as getInstanceInfo,
184
+ w as getInstanceInfo,
189
185
  M as getLanguages,
190
186
  T as getMenuItemInfo,
191
187
  F as getMenuListnfo,
192
188
  D as getMenus,
193
- w as getMinioAddress,
189
+ L as getMinioAddress,
194
190
  j as getPageAuth,
195
191
  v as getPageAuthBtn,
196
192
  U as getPersonalConfig,
Binary file