yuang-framework-ui-common 1.0.81 → 1.0.82

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.
@@ -17,6 +17,8 @@ export interface FrameworkLog extends FrameworkBase {
17
17
 
18
18
  /** 请求id */
19
19
  requestId?: string;
20
+ /** 请求设备 */
21
+ requestDevice?: string;
20
22
  /** 请求操作系统 */
21
23
  requestOs?: string;
22
24
 
@@ -5,8 +5,8 @@ import type { FrameworkBase, FrameworkBaseQueryParam } from '../framework/framew
5
5
  */
6
6
  export interface GatewayRoute extends FrameworkBase {
7
7
  routeId?: string;
8
- routeName?: string;
9
- forwardTargetUri?: string;
8
+ name?: string;
9
+ forwardTargetUrl?: string;
10
10
  predicateRoutePath?: string;
11
11
  status?: number;
12
12
 
@@ -16,7 +16,7 @@ export interface GatewayRoute extends FrameworkBase {
16
16
  * 网关路由搜索条件
17
17
  */
18
18
  export interface UimsApiQueryParam extends FrameworkBaseQueryParam {
19
- routeIdForLike?: string;
20
- routeNameForLike?: string;
19
+ identifierForLike?: string;
20
+ nameForLike?: string;
21
21
  statusForEqual?: number;
22
22
  }
@@ -17,6 +17,14 @@ const getAesRandomKey = () => {
17
17
  return randomKey
18
18
  }
19
19
 
20
+ /**
21
+ * 获取Aec静态key
22
+ */
23
+ const getAesStaticKey = () => {
24
+ return "yuang-framework$";
25
+ }
26
+
27
+
20
28
  /**
21
29
  * aes加密
22
30
  * @param aesKey
@@ -52,6 +60,7 @@ const aesDecrypt = (aesKey:string, originalData:string) => {
52
60
 
53
61
  export {
54
62
  getAesRandomKey,
63
+ getAesStaticKey,
55
64
  aesEncrypt,
56
65
  aesDecrypt
57
66
  }
@@ -91,6 +91,7 @@ const getSsoEncryptList = (passwordList = []) => {
91
91
 
92
92
 
93
93
  const ssoAccessTokenCookieKey: string = 'Sso-Access-Token';
94
+ const ssoRefreshTokenCookieKey: string = 'Sso-Refresh-Token';
94
95
  const ssoAccessTokenLocalKey: string = 'ssoAccessToken';
95
96
  const ssoRefreshTokenLocalKey: string = 'ssoRefreshToken';
96
97
 
@@ -153,6 +154,7 @@ const setSsoCookieAccessToken = (param: any) => {
153
154
 
154
155
  const clearSsoAccessToken = () => {
155
156
  Cookies.remove(ssoAccessTokenCookieKey);
157
+ Cookies.remove(ssoRefreshTokenCookieKey);
156
158
 
157
159
  removeLocalStorageItem(ssoAccessTokenLocalKey);
158
160
  removeLocalStorageItem(ssoRefreshTokenLocalKey);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuang-framework-ui-common",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
package/dist/favicon.ico DELETED
Binary file
@@ -1,4 +0,0 @@
1
- const e = {};
2
- export {
3
- e as default
4
- };
@@ -1 +0,0 @@
1
- (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e["yuang-framework-ui-common"]=n())})(this,function(){"use strict";return{}});