@das-fed/utils 7.0.6 → 7.0.7

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 (31) hide show
  1. package/api-services/index.js +890 -908
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/authentication/index.js +725 -743
  4. package/api-services/modules/authentication/index.js.gz +0 -0
  5. package/api-services/modules/contract/index.js +650 -646
  6. package/api-services/modules/contract/index.js.gz +0 -0
  7. package/api-services/modules/duty-manage/index.js +627 -623
  8. package/api-services/modules/duty-manage/index.js.gz +0 -0
  9. package/api-services/modules/gateway-edge/index.js +743 -725
  10. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  11. package/api-services/modules/index.js +683 -687
  12. package/api-services/modules/index.js.gz +0 -0
  13. package/api-services/modules/iot/index.js +984 -1002
  14. package/api-services/modules/iot/index.js.gz +0 -0
  15. package/api-services/modules/justauth/index.js +744 -726
  16. package/api-services/modules/justauth/index.js.gz +0 -0
  17. package/api-services/modules/permission/index.js +716 -702
  18. package/api-services/modules/permission/index.js.gz +0 -0
  19. package/api-services/modules/super-admin/index.js +727 -745
  20. package/api-services/modules/super-admin/index.js.gz +0 -0
  21. package/api-services/modules/systemConfiguration/index.js +725 -743
  22. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  23. package/common-info/index.js +13 -12
  24. package/common-info/index.js.gz +0 -0
  25. package/common-info/type.d.ts +2 -0
  26. package/common-tools/platform-tools/index.d.ts +1 -1
  27. package/common-tools/platform-tools/index.js +22 -15
  28. package/create-api-service/sso/index.d.ts +1 -1
  29. package/create-api-service/sso/index.js +56 -59
  30. package/create-api-service/sso/index.js.gz +0 -0
  31. package/package.json +4 -4
@@ -2,7 +2,7 @@ import { getConfig as u } from "@das-fed/utils/config";
2
2
  import { getUrlParams as d } from "@das-fed/utils/common-tools";
3
3
  import { getAccessToken as I } from "@das-fed/utils/token-tools";
4
4
  import { getTokenFromQuery as S, getProjectInfoFromQuery as y } from "@das-fed/utils/common-info/getInfoFromUrl";
5
- const N = I, A = () => {
5
+ const N = I, T = () => {
6
6
  var r;
7
7
  let e = JSON.parse(sessionStorage.getItem("tenantInfo") || "{}");
8
8
  return {
@@ -60,7 +60,7 @@ const N = I, A = () => {
60
60
  leaf: (e == null ? void 0 : e.leaf) ?? !1,
61
61
  optional: (e == null ? void 0 : e.leaf) ?? !0
62
62
  };
63
- }, v = () => {
63
+ }, f = () => {
64
64
  let e = JSON.parse(sessionStorage.getItem("project-message") || "{}");
65
65
  return {
66
66
  id: (e == null ? void 0 : e.id) ?? 0,
@@ -85,7 +85,7 @@ const N = I, A = () => {
85
85
  autoTimezone: (e == null ? void 0 : e.autoTimezone) ?? !1,
86
86
  currency: (e == null ? void 0 : e.currency) ?? {}
87
87
  };
88
- }, f = () => {
88
+ }, v = () => {
89
89
  const e = JSON.parse(sessionStorage.getItem("home-config") || "{}");
90
90
  return {
91
91
  applicationCode: (e == null ? void 0 : e.applicationCode) ?? "",
@@ -118,6 +118,7 @@ const N = I, A = () => {
118
118
  currentSubApp: e.currentSubApp ?? {},
119
119
  currentSubAppCode: e.currentSubAppCode ?? "",
120
120
  subAppList: e.subAppList ?? [],
121
+ fixedApps: e.fixedApps ?? [],
121
122
  menuCollapses: e.menuCollapses ?? []
122
123
  };
123
124
  }, U = (e, t = !1) => {
@@ -133,7 +134,7 @@ const N = I, A = () => {
133
134
  s[n.code] = n.menus ?? [];
134
135
  }), s;
135
136
  }
136
- }, E = () => {
137
+ }, x = () => {
137
138
  const e = JSON.parse(sessionStorage.getItem("tabs") || "{}");
138
139
  return {
139
140
  currentCode: e.currentCode ?? "",
@@ -141,10 +142,10 @@ const N = I, A = () => {
141
142
  tabMap: e.tabMap ?? {},
142
143
  preTab: e.preTab ?? {}
143
144
  };
144
- }, z = () => {
145
+ }, E = () => {
145
146
  const e = u(), t = sessionStorage.getItem("minioAddress");
146
147
  return t || (e.baseURL ? e.baseURL : location.origin);
147
- }, x = () => ({
148
+ }, z = () => ({
148
149
  instanceInfo: JSON.parse(sessionStorage.getItem("instance") || "{}").instanceInfo ?? {}
149
150
  }), F = () => localStorage.getItem("fav-icon") || "./logo.svg";
150
151
  N() || S();
@@ -152,20 +153,20 @@ var i;
152
153
  (i = C()) != null && i.id || y();
153
154
  export {
154
155
  F as getFavIcon,
155
- f as getHomeInfo,
156
- x as getInstanceInfo,
156
+ v as getHomeInfo,
157
+ z as getInstanceInfo,
157
158
  M as getLanguages,
158
159
  U as getMenus,
159
- z as getMinioAddress,
160
+ E as getMinioAddress,
160
161
  j as getPageAuth,
161
162
  D as getPageAuthBtn,
162
163
  k as getPersonalConfig,
163
164
  J as getPersonalInfo,
164
165
  C as getProjectInfo,
165
- v as getProjectMessage,
166
+ f as getProjectMessage,
166
167
  m as getSubApps,
167
- E as getTabInfo,
168
+ x as getTabInfo,
168
169
  O as getTenantInfo,
169
170
  N as getToken,
170
- A as getUserInfo
171
+ T as getUserInfo
171
172
  };
Binary file
@@ -188,6 +188,8 @@ export interface SubAppsInfo {
188
188
  currentSubAppCode: string
189
189
  /** 当前打开的应用 */
190
190
  subAppList: any[]
191
+ /** 常用应用 */
192
+ fixedApps: any[]
191
193
  /** 当前菜单折叠的应用key集合 */
192
194
  menuCollapses: any[]
193
195
  }
@@ -9,7 +9,7 @@ export declare const isRelativeOrSameDomain: (url: string) => boolean;
9
9
  * @param url
10
10
  * @returns
11
11
  */
12
- export declare const setShowLayout: (url: string) => string;
12
+ export declare const setShowLayout: (url: string) => any;
13
13
  export declare const setShowWatermark: (url: string) => string;
14
14
  /**
15
15
  * url携带token
@@ -1,19 +1,26 @@
1
- import { getToken as s } from "@das-fed/utils/common-info";
2
- const o = (e) => !!(!e.startsWith("http") || e.startsWith(location.origin)), n = (e) => {
3
- if (!e) return "";
4
- let t = e;
5
- return o(e) && !e.includes("showLayout=false") && (t = e.indexOf("?") !== -1 ? e + "&showLayout=false" : e + "?showLayout=false"), t;
6
- }, i = (e) => {
7
- if (!e) return "";
8
- let t = "";
9
- return o(e) && !e.includes("showWatermark=false") ? t = e.indexOf("?") !== -1 ? e + "&showWatermark=false" : e + "?showWatermark=false" : t = e, t;
10
- }, r = (e) => {
11
- const t = s();
12
- return e.includes("?") ? `${e}&token=${t}` : `${e}?token=${t}`;
1
+ import { getToken as n } from "@das-fed/utils/common-info";
2
+ const o = (t) => {
3
+ try {
4
+ return new URL(t, location.origin).origin === location.origin;
5
+ } catch {
6
+ return !0;
7
+ }
8
+ }, r = (t) => {
9
+ if (!t) return "";
10
+ if (!o(t)) return t;
11
+ const e = new URL(t, location.origin);
12
+ return e.searchParams.has("showLayout") || e.searchParams.set("showLayout", "false"), e.toString();
13
+ }, s = (t) => {
14
+ if (!t) return "";
15
+ let e = "";
16
+ return o(t) && !t.includes("showWatermark=false") ? e = t.indexOf("?") !== -1 ? t + "&showWatermark=false" : t + "?showWatermark=false" : e = t, e;
17
+ }, i = (t) => {
18
+ const e = n();
19
+ return t.includes("?") ? `${t}&token=${e}` : `${t}?token=${e}`;
13
20
  };
14
21
  export {
15
22
  o as isRelativeOrSameDomain,
16
- n as setShowLayout,
17
- i as setShowWatermark,
18
- r as withToken
23
+ r as setShowLayout,
24
+ s as setShowWatermark,
25
+ i as withToken
19
26
  };
@@ -1,5 +1,5 @@
1
1
  declare const getQuery: (name: any) => any;
2
- declare const real_uri: any;
2
+ declare const real_uri: string;
3
3
  declare const getTokenParams: any;
4
4
  declare const getTokenFromCode: () => unknown;
5
5
  declare const getToken: (config: any) => unknown;
@@ -9,15 +9,15 @@ function nt(e, t) {
9
9
  return e.apply(t, arguments);
10
10
  };
11
11
  }
12
- const { toString: Mt } = Object.prototype, { getPrototypeOf: _e } = Object, { iterator: se, toStringTag: rt } = Symbol, ie = /* @__PURE__ */ ((e) => (t) => {
13
- const n = Mt.call(t);
12
+ const { toString: Ht } = Object.prototype, { getPrototypeOf: _e } = Object, { iterator: se, toStringTag: rt } = Symbol, ie = /* @__PURE__ */ ((e) => (t) => {
13
+ const n = Ht.call(t);
14
14
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
15
- })(/* @__PURE__ */ Object.create(null)), x = (e) => (e = e.toLowerCase(), (t) => ie(t) === e), ae = (e) => (t) => typeof t === e, { isArray: B } = Array, H = ae("undefined");
15
+ })(/* @__PURE__ */ Object.create(null)), x = (e) => (e = e.toLowerCase(), (t) => ie(t) === e), ae = (e) => (t) => typeof t === e, { isArray: B } = Array, M = ae("undefined");
16
16
  function V(e) {
17
- return e !== null && !H(e) && e.constructor !== null && !H(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
17
+ return e !== null && !M(e) && e.constructor !== null && !M(e.constructor) && A(e.constructor.isBuffer) && e.constructor.isBuffer(e);
18
18
  }
19
19
  const ot = x("ArrayBuffer");
20
- function Ht(e) {
20
+ function Mt(e) {
21
21
  let t;
22
22
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ot(e.buffer), t;
23
23
  }
@@ -66,7 +66,7 @@ function it(e, t) {
66
66
  return o;
67
67
  return null;
68
68
  }
69
- const L = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, at = (e) => !H(e) && e !== L;
69
+ const L = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, at = (e) => !M(e) && e !== L;
70
70
  function me() {
71
71
  const { caseless: e } = at(this) && this || {}, t = {}, n = (r, o) => {
72
72
  const s = e && it(t, o) || o;
@@ -168,7 +168,7 @@ const Rn = (e) => {
168
168
  const s = B(r) ? [] : {};
169
169
  return K(r, (i, c) => {
170
170
  const f = n(i, o + 1);
171
- !H(f) && (s[c] = f);
171
+ !M(f) && (s[c] = f);
172
172
  }), t[o] = void 0, s;
173
173
  }
174
174
  }
@@ -187,7 +187,7 @@ const Rn = (e) => {
187
187
  isArrayBuffer: ot,
188
188
  isBuffer: V,
189
189
  isFormData: Gt,
190
- isArrayBufferView: Ht,
190
+ isArrayBufferView: Mt,
191
191
  isString: $t,
192
192
  isNumber: st,
193
193
  isBoolean: zt,
@@ -198,7 +198,7 @@ const Rn = (e) => {
198
198
  isRequest: en,
199
199
  isResponse: tn,
200
200
  isHeaders: nn,
201
- isUndefined: H,
201
+ isUndefined: M,
202
202
  isDate: Vt,
203
203
  isFile: Wt,
204
204
  isBlob: Kt,
@@ -509,7 +509,7 @@ function jn(e, t) {
509
509
  function qn(e) {
510
510
  return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
511
511
  }
512
- function Mn(e) {
512
+ function Hn(e) {
513
513
  const t = {}, n = Object.keys(e);
514
514
  let r;
515
515
  const o = n.length;
@@ -523,7 +523,7 @@ function yt(e) {
523
523
  let i = n[s++];
524
524
  if (i === "__proto__") return !0;
525
525
  const c = Number.isFinite(+i), f = s >= n.length;
526
- return i = !i && a.isArray(o) ? o.length : i, f ? (a.hasOwnProp(o, i) ? o[i] = [o[i], r] : o[i] = r, !c) : ((!o[i] || !a.isObject(o[i])) && (o[i] = []), t(n, r, o[i], s) && a.isArray(o[i]) && (o[i] = Mn(o[i])), !c);
526
+ return i = !i && a.isArray(o) ? o.length : i, f ? (a.hasOwnProp(o, i) ? o[i] = [o[i], r] : o[i] = r, !c) : ((!o[i] || !a.isObject(o[i])) && (o[i] = []), t(n, r, o[i], s) && a.isArray(o[i]) && (o[i] = Hn(o[i])), !c);
527
527
  }
528
528
  if (a.isFormData(e) && a.isFunction(e.entries)) {
529
529
  const n = {};
@@ -533,7 +533,7 @@ function yt(e) {
533
533
  }
534
534
  return null;
535
535
  }
536
- function Hn(e, t, n) {
536
+ function Mn(e, t, n) {
537
537
  if (a.isString(e))
538
538
  try {
539
539
  return (t || JSON.parse)(e), a.trim(e);
@@ -569,7 +569,7 @@ const Q = {
569
569
  );
570
570
  }
571
571
  }
572
- return s || o ? (n.setContentType("application/json", !1), Hn(t)) : t;
572
+ return s || o ? (n.setContentType("application/json", !1), Mn(t)) : t;
573
573
  }],
574
574
  transformResponse: [function(t) {
575
575
  const n = this.transitional || Q.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
@@ -1302,7 +1302,7 @@ a.forEach(be, (e, t) => {
1302
1302
  Object.defineProperty(e, "adapterName", { value: t });
1303
1303
  }
1304
1304
  });
1305
- const Me = (e) => `- ${e}`, pr = (e) => a.isFunction(e) || e === null || e === !1, Tt = {
1305
+ const He = (e) => `- ${e}`, pr = (e) => a.isFunction(e) || e === null || e === !1, Tt = {
1306
1306
  getAdapter: (e) => {
1307
1307
  e = a.isArray(e) ? e : [e];
1308
1308
  const { length: t } = e;
@@ -1322,8 +1322,8 @@ const Me = (e) => `- ${e}`, pr = (e) => a.isFunction(e) || e === null || e === !
1322
1322
  ([c, f]) => `adapter ${c} ` + (f === !1 ? "is not supported by the environment" : "is not available in the build")
1323
1323
  );
1324
1324
  let i = t ? s.length > 1 ? `since :
1325
- ` + s.map(Me).join(`
1326
- `) : " " + Me(s[0]) : "as no adapter specified";
1325
+ ` + s.map(He).join(`
1326
+ `) : " " + He(s[0]) : "as no adapter specified";
1327
1327
  throw new y(
1328
1328
  "There is no suitable adapter to dispatch the request " + i,
1329
1329
  "ERR_NOT_SUPPORT"
@@ -1337,7 +1337,7 @@ function he(e) {
1337
1337
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1338
1338
  throw new j(null, e);
1339
1339
  }
1340
- function He(e) {
1340
+ function Me(e) {
1341
1341
  return he(e), e.headers = _.from(e.headers), e.data = pe.call(
1342
1342
  e,
1343
1343
  e.transformRequest
@@ -1468,7 +1468,7 @@ let N = class {
1468
1468
  });
1469
1469
  let u, d = 0, w;
1470
1470
  if (!f) {
1471
- const p = [He.bind(this), void 0];
1471
+ const p = [Me.bind(this), void 0];
1472
1472
  for (p.unshift(...c), p.push(...l), w = p.length, u = Promise.resolve(n); d < w; )
1473
1473
  u = u.then(p[d++], p[d++]);
1474
1474
  return u;
@@ -1485,7 +1485,7 @@ let N = class {
1485
1485
  }
1486
1486
  }
1487
1487
  try {
1488
- u = He.call(this, g);
1488
+ u = Me.call(this, g);
1489
1489
  } catch (p) {
1490
1490
  return Promise.reject(p);
1491
1491
  }
@@ -1699,22 +1699,22 @@ b.getAdapter = Tt.getAdapter;
1699
1699
  b.HttpStatusCode = Ee;
1700
1700
  b.default = b;
1701
1701
  const {
1702
- Axios: Qr,
1703
- AxiosError: Xr,
1704
- CanceledError: Gr,
1705
- isCancel: Zr,
1706
- CancelToken: Yr,
1707
- VERSION: eo,
1708
- all: to,
1709
- Cancel: no,
1710
- isAxiosError: ro,
1711
- spread: oo,
1712
- toFormData: so,
1713
- AxiosHeaders: io,
1714
- HttpStatusCode: ao,
1715
- formToJSON: co,
1716
- getAdapter: uo,
1717
- mergeConfig: lo
1702
+ Axios: Xr,
1703
+ AxiosError: Gr,
1704
+ CanceledError: Zr,
1705
+ isCancel: Yr,
1706
+ CancelToken: eo,
1707
+ VERSION: to,
1708
+ all: no,
1709
+ Cancel: ro,
1710
+ isAxiosError: oo,
1711
+ spread: so,
1712
+ toFormData: io,
1713
+ AxiosHeaders: ao,
1714
+ HttpStatusCode: co,
1715
+ formToJSON: uo,
1716
+ getAdapter: lo,
1717
+ mergeConfig: fo
1718
1718
  } = b;
1719
1719
  /*! js-cookie v3.0.5 | MIT */
1720
1720
  function G(e) {
@@ -1939,7 +1939,7 @@ const te = (e) => new URL(location.href).searchParams.get(e), I = {
1939
1939
  // 清除登录信息
1940
1940
  token: "/api/justauth/oauth-server/v1/visitor/oauth/token"
1941
1941
  // 通过code获取token
1942
- }, { baseURL: Ze, noRedireLogin: vr = !1 } = Ae(), $ = location.origin + "/home", v = {
1942
+ }, { baseURL: Ze, noRedireLogin: vr = !1 } = Ae(), Ir = "/home", $ = location.origin + Ir, v = {
1943
1943
  response_type: "code",
1944
1944
  scope: "sever",
1945
1945
  client_id: "sys",
@@ -1962,11 +1962,11 @@ const te = (e) => new URL(location.href).searchParams.get(e), I = {
1962
1962
  };
1963
1963
  localStorage.getItem("idelTime") && Lt(Number(localStorage.getItem("idelTime")));
1964
1964
  let et = "";
1965
- const Ir = async () => {
1966
- const e = te("code") || "", t = te("redirect_url") || "", n = te("kingdee_token") || "";
1965
+ const Br = async () => {
1966
+ const e = te("code") || "", t = te("redirect_url") || "/", n = te("kingdee_token") || "";
1967
1967
  if (!e) return D();
1968
1968
  if (e === et)
1969
- return Ye(["code", "state", "kingdee_token", "redirect_url"]), t && (window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t))), D();
1969
+ return Ye(["code", "state", "kingdee_token", "redirect_url"]), window.__isAutoCloseApp = !1, window.location.replace(decodeURIComponent(t)), D();
1970
1970
  et = e, Ye(["code", "state", "kingdee_token", "redirect_url"]);
1971
1971
  let r = {};
1972
1972
  const o = {
@@ -2008,13 +2008,13 @@ const Ir = async () => {
2008
2008
  } catch {
2009
2009
  return z({ ...v, redirect_uri: $ });
2010
2010
  }
2011
- }, M = ne(!1), fo = async (e) => {
2011
+ }, H = ne(!1), po = async (e) => {
2012
2012
  if (e.public) return "";
2013
2013
  if (Ut.value) return z({ ...v, redirect_uri: $ });
2014
- if (M.value)
2014
+ if (H.value)
2015
2015
  return await new Promise(async (o) => {
2016
2016
  Oe(
2017
- () => M.value,
2017
+ () => H.value,
2018
2018
  (s) => {
2019
2019
  if (!s) {
2020
2020
  const i = D();
@@ -2027,17 +2027,17 @@ const Ir = async () => {
2027
2027
  if ((!D() || t === 0) && !n)
2028
2028
  return z({ ...v, redirect_uri: $ });
2029
2029
  let r = D();
2030
- M.value = !0;
2030
+ H.value = !0;
2031
2031
  try {
2032
- typeof t == "number" && t > 0 && +/* @__PURE__ */ new Date() + 6e4 > t && (r = await qr(v)), r = await Ir(), M.value = !1;
2032
+ typeof t == "number" && t > 0 && +/* @__PURE__ */ new Date() + 6e4 > t && (r = await Hr(v)), r = await Br(), H.value = !1;
2033
2033
  } catch {
2034
- M.value = !1;
2034
+ H.value = !1;
2035
2035
  }
2036
2036
  return r;
2037
- }, Br = () => {
2037
+ }, jr = () => {
2038
2038
  let e = !1;
2039
2039
  return localStorage.getItem("thirdLogouSource") === "zhongshen" && (e = !0), e;
2040
- }, jr = (e) => {
2040
+ }, qr = (e) => {
2041
2041
  if (localStorage.getItem("thirdLogouSource") === "zhongshen") {
2042
2042
  const r = `https://iam.shenyejituan.com:443/idp/profile/OAUTH2/Redirect/GLO?redirctToUrl=${encodeURIComponent(e)}&entityId=AIoT&redirectToLogin=true`;
2043
2043
  localStorage.removeItem("thirdLogouSource"), location.href = r;
@@ -2048,8 +2048,8 @@ const Ir = async () => {
2048
2048
  if (Te) return Te(e);
2049
2049
  e.logout = "true", n && (e.locale = "locale");
2050
2050
  const r = Object.keys(e).filter((s) => s !== "client_secret").map((s) => `${s}=${e[s]}`).join("&"), o = `${t}${I.oauth}?${r}`;
2051
- if (localStorage.removeItem("idelTime"), sessionStorage.clear(), J().remove(), Br())
2052
- jr(o);
2051
+ if (localStorage.removeItem("idelTime"), sessionStorage.clear(), J().remove(), jr())
2052
+ qr(o);
2053
2053
  else {
2054
2054
  try {
2055
2055
  b.create().get(I.logoutCurpage, { baseURL: t });
@@ -2059,7 +2059,7 @@ const Ir = async () => {
2059
2059
  }
2060
2060
  };
2061
2061
  Dr(z);
2062
- const qr = async (e) => {
2062
+ const Hr = async (e) => {
2063
2063
  const { baseURL: t } = Ae(), { refreshToken: n } = J().getData();
2064
2064
  try {
2065
2065
  await b.create().get(I.token, { baseURL: t });
@@ -2097,13 +2097,10 @@ const qr = async (e) => {
2097
2097
  refreshToken: fe("refreshToken")
2098
2098
  }),
2099
2099
  save: (e) => {
2100
- Bt(
2101
- e.accessToken || "",
2102
- {
2103
- accessTokenExpiredAt: e.accessTokenExpiredAt,
2104
- refreshToken: e.refreshToken
2105
- }
2106
- ), qt(e);
2100
+ Bt(e.accessToken ?? "", {
2101
+ accessTokenExpiredAt: e.accessTokenExpiredAt,
2102
+ refreshToken: e.refreshToken
2103
+ }), qt(e);
2107
2104
  },
2108
2105
  remove: () => {
2109
2106
  It(), jt();
@@ -2111,8 +2108,8 @@ const qr = async (e) => {
2111
2108
  });
2112
2109
  export {
2113
2110
  te as getQuery,
2114
- fo as getToken,
2115
- Ir as getTokenFromCode,
2111
+ po as getToken,
2112
+ Br as getTokenFromCode,
2116
2113
  v as getTokenParams,
2117
2114
  z as login,
2118
2115
  $ as real_uri,
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@das-fed/utils",
3
- "version": "7.0.6",
3
+ "version": "7.0.7",
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.6",
12
+ "@das-fed/utils": "7.0.7",
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.6",
25
- "@das-fed/web": "7.0.6",
24
+ "@das-fed/cli": "7.0.7",
25
+ "@das-fed/web": "7.0.7",
26
26
  "@types/js-cookie": "^3.0.6",
27
27
  "@types/lodash-es": "^4.17.12",
28
28
  "@types/qs": "^6.9.15",