sun-biz 0.0.3-beta.2 → 0.0.3-beta.3

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.
@@ -619,6 +619,7 @@ const DbgridTableConfig_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(Db
619
619
  * 是否为 sass 模式
620
620
  */ MAIN_APP_CONFIG["IS_SASS_MODE"] = "isSassMode";
621
621
  /**用户信息 */ MAIN_APP_CONFIG["USER_INFO"] = "userInfo";
622
+ /** 用户偏好 */ MAIN_APP_CONFIG["PREFERENCE_LIST"] = "userPreferenceList";
622
623
  return MAIN_APP_CONFIG;
623
624
  }({});
624
625
  function useAppConfigData(name) {
@@ -357,6 +357,7 @@ function useRequest_useRequest(service, options, plugins) {
357
357
  * 是否为 sass 模式
358
358
  */ MAIN_APP_CONFIG["IS_SASS_MODE"] = "isSassMode";
359
359
  /**用户信息 */ MAIN_APP_CONFIG["USER_INFO"] = "userInfo";
360
+ /** 用户偏好 */ MAIN_APP_CONFIG["PREFERENCE_LIST"] = "userPreferenceList";
360
361
  return MAIN_APP_CONFIG;
361
362
  }({});
362
363
  function useAppConfigData(name) {
@@ -24,7 +24,9 @@ export declare enum MAIN_APP_CONFIG {
24
24
  */
25
25
  IS_SASS_MODE = "isSassMode",
26
26
  /**用户信息 */
27
- USER_INFO = "userInfo"
27
+ USER_INFO = "userInfo",
28
+ /** 用户偏好 */
29
+ PREFERENCE_LIST = "userPreferenceList"
28
30
  }
29
31
  declare function useAppConfigData<T extends keyof AppConfigType>(name: T): AppConfigType[T] | undefined;
30
32
  declare function useAppConfigData<T extends keyof AppConfigType>(name: T[]): Partial<AppConfigType>;
@@ -16,6 +16,14 @@ export type UserInfo = {
16
16
  userId: string;
17
17
  userName: string;
18
18
  };
19
+ export type PreferenceData = {
20
+ preferId?: string;
21
+ bizId: string;
22
+ bizIdTypeCode: string;
23
+ preferTypeCode: string;
24
+ preferSetting: string;
25
+ displayFlag: number;
26
+ };
19
27
  export interface AppConfigType {
20
28
  /**
21
29
  * 系统菜单ID
@@ -39,4 +47,6 @@ export interface AppConfigType {
39
47
  * 用户信息
40
48
  */
41
49
  userInfo: UserInfo;
50
+ /** 用户偏好 */
51
+ preferenceList: PreferenceData[];
42
52
  }
package/dist/index.js CHANGED
@@ -620,6 +620,7 @@ const DbgridTableConfig_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(Db
620
620
  * 是否为 sass 模式
621
621
  */ MAIN_APP_CONFIG["IS_SASS_MODE"] = "isSassMode";
622
622
  /**用户信息 */ MAIN_APP_CONFIG["USER_INFO"] = "userInfo";
623
+ /** 用户偏好 */ MAIN_APP_CONFIG["PREFERENCE_LIST"] = "userPreferenceList";
623
624
  return MAIN_APP_CONFIG;
624
625
  }({});
625
626
  function useAppConfigData(name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.3-beta.2",
3
+ "version": "0.0.3-beta.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {