sun-biz 0.0.3-beta.3 → 0.0.3-beta.4
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/dist/components/index.js
CHANGED
|
@@ -619,7 +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"] = "
|
|
622
|
+
/** 用户偏好 */ MAIN_APP_CONFIG["PREFERENCE_LIST"] = "preferenceList";
|
|
623
623
|
return MAIN_APP_CONFIG;
|
|
624
624
|
}({});
|
|
625
625
|
function useAppConfigData(name) {
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as useRequest } from "./use-request/index.ts";
|
|
2
2
|
export { default as useAppConfigData, MAIN_APP_CONFIG, } from "./use-app-config/index.ts";
|
|
3
|
+
export type { PreferenceData } from "./use-app-config/index.ts";
|
|
3
4
|
export { default as useDirectionSelect } from "./use-direction-select/index.ts";
|
|
4
5
|
export { default as useFetchDataset } from "./use-fetch-dataset/index.ts";
|
|
5
6
|
export { default as useEditableTable } from './use-editable-table/index.ts';
|
package/dist/hooks/index.js
CHANGED
|
@@ -357,7 +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"] = "
|
|
360
|
+
/** 用户偏好 */ MAIN_APP_CONFIG["PREFERENCE_LIST"] = "preferenceList";
|
|
361
361
|
return MAIN_APP_CONFIG;
|
|
362
362
|
}({});
|
|
363
363
|
function useAppConfigData(name) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AppConfigType } from './types';
|
|
2
|
+
export type { PreferenceData } from './types';
|
|
2
3
|
/**
|
|
3
4
|
* 获取主应用配置信息
|
|
4
5
|
*/
|
|
@@ -26,7 +27,7 @@ export declare enum MAIN_APP_CONFIG {
|
|
|
26
27
|
/**用户信息 */
|
|
27
28
|
USER_INFO = "userInfo",
|
|
28
29
|
/** 用户偏好 */
|
|
29
|
-
PREFERENCE_LIST = "
|
|
30
|
+
PREFERENCE_LIST = "preferenceList"
|
|
30
31
|
}
|
|
31
32
|
declare function useAppConfigData<T extends keyof AppConfigType>(name: T): AppConfigType[T] | undefined;
|
|
32
33
|
declare function useAppConfigData<T extends keyof AppConfigType>(name: T[]): Partial<AppConfigType>;
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { ProForm, FormUnit, convertToWbNo, convertToSpellNo, } from "./component
|
|
|
13
13
|
/** hooks ** */
|
|
14
14
|
export { default as useRequest } from "./hooks/use-request";
|
|
15
15
|
export { default as useAppConfigData, MAIN_APP_CONFIG, } from "./hooks/use-app-config";
|
|
16
|
+
export type { PreferenceData } from "./hooks/use-app-config";
|
|
16
17
|
export { default as useDirectionSelect } from "./hooks/use-direction-select";
|
|
17
18
|
export { default as useFetchDataset } from "./hooks/use-fetch-dataset";
|
|
18
19
|
export { useEditableTable } from "./hooks/use-editable-table";
|
package/dist/index.js
CHANGED
|
@@ -620,7 +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"] = "
|
|
623
|
+
/** 用户偏好 */ MAIN_APP_CONFIG["PREFERENCE_LIST"] = "preferenceList";
|
|
624
624
|
return MAIN_APP_CONFIG;
|
|
625
625
|
}({});
|
|
626
626
|
function useAppConfigData(name) {
|