@gonsin/gview 2.1.9 → 2.1.12
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/index.mjs +2654 -2628
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/types/components/GConfigProvider/index.d.ts +0 -2
- package/dist/types/components/GLayout/index.d.ts +0 -2
- package/dist/types/components/Result/index.d.ts +0 -3
- package/dist/types/components/common/GColumnController/index.d.ts +0 -2
- package/dist/types/components/common/GCommonDialog/index.d.ts +0 -2
- package/dist/types/components/common/GCommonForm/index.d.ts +0 -2
- package/dist/types/components/common/GCommonHeader/index.d.ts +0 -2
- package/dist/types/components/common/GCommonTable/index.d.ts +0 -2
- package/dist/types/components/common/GSettingDialog/index.d.ts +0 -2
- package/dist/types/components/common/GUploader/index.d.ts +0 -2
- package/dist/types/components/common/index.d.ts +0 -7
- package/dist/types/components/index.d.ts +0 -6
- package/dist/types/constant/className.d.ts +0 -15
- package/dist/types/constant/color.d.ts +0 -5
- package/dist/types/constant/common.d.ts +0 -1
- package/dist/types/constant/index.d.ts +0 -6
- package/dist/types/constant/local.d.ts +0 -23
- package/dist/types/constant/theme.d.ts +0 -4
- package/dist/types/constant/websocket.d.ts +0 -23
- package/dist/types/directives/index.d.ts +0 -5
- package/dist/types/directives/permission.d.ts +0 -5
- package/dist/types/hooks/index.d.ts +0 -2
- package/dist/types/hooks/nanoid.d.ts +0 -2
- package/dist/types/hooks/nprogress.d.ts +0 -2
- package/dist/types/http/config.d.ts +0 -4
- package/dist/types/http/index.d.ts +0 -33
- package/dist/types/http/type.d.ts +0 -5
- package/dist/types/index.d.ts +0 -21
- package/dist/types/stores/cache.d.ts +0 -22
- package/dist/types/stores/column.d.ts +0 -26
- package/dist/types/stores/index.d.ts +0 -7
- package/dist/types/stores/props.d.ts +0 -6
- package/dist/types/stores/setting.d.ts +0 -112
- package/dist/types/stores/socket.d.ts +0 -19
- package/dist/types/stores/tabMenu.d.ts +0 -68
- package/dist/types/stores/website.d.ts +0 -124
- package/dist/types/types/common.d.ts +0 -24
- package/dist/types/types/view.d.ts +0 -325
- package/dist/types/utils/color.d.ts +0 -2
- package/dist/types/utils/download.d.ts +0 -11
- package/dist/types/utils/eval.d.ts +0 -12
- package/dist/types/utils/form.d.ts +0 -52
- package/dist/types/utils/index.d.ts +0 -11
- package/dist/types/utils/is.d.ts +0 -77
- package/dist/types/utils/menu.d.ts +0 -25
- package/dist/types/utils/message.d.ts +0 -21
- package/dist/types/utils/storage.d.ts +0 -13
- package/dist/types/utils/table.d.ts +0 -8
- package/dist/types/utils/url.d.ts +0 -4
- package/dist/types/utils/withInstall.d.ts +0 -5
- package/dist/types/views/GLogin/index.d.ts +0 -2
- package/dist/types/views/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const dialogPluginClass = "g-dialog-plugin";
|
|
2
|
-
export declare const commonDialogClass = "g-common-dialog";
|
|
3
|
-
export declare const commonFormClass = "g-common-form";
|
|
4
|
-
export declare const commonHeaderClass = "g-common-header";
|
|
5
|
-
export declare const commonTableClass = "g-common-table";
|
|
6
|
-
export declare const boardClass = "g-board";
|
|
7
|
-
export declare const dialogClass = "g-dialog";
|
|
8
|
-
export declare const formClass = "g-form";
|
|
9
|
-
export declare const formItemClass = "g-form-item";
|
|
10
|
-
export declare const headerClass = "g-header";
|
|
11
|
-
export declare const tabClass = "g-tab";
|
|
12
|
-
export declare const tableClass = "g-table";
|
|
13
|
-
export declare const layoutClass = "g-layout";
|
|
14
|
-
export declare const uploaderClass = "g-uploader";
|
|
15
|
-
export declare const gLoginClass = "g-login";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare type ColorToken = Record<string, string>;
|
|
2
|
-
export declare type ColorSeries = Record<string, ColorToken>;
|
|
3
|
-
export declare const DEFAULT_LIGHT_COLOR: string[];
|
|
4
|
-
export declare const DEFAULT_DARK_COLOR: string[];
|
|
5
|
-
export declare const COLOR_TOKEN: ColorSeries;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const PROJECT_PREFIX = "GView";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const PREFIX = "VENUS_WEB";
|
|
2
|
-
export declare const LOCAL_WEBSITE_SETTING_KEY: string;
|
|
3
|
-
export declare const LOCAL_LOGIN_STATUS: string;
|
|
4
|
-
export declare const LOCAL_USER: string;
|
|
5
|
-
export declare const LOCAL_EDIFICE_INFO: string;
|
|
6
|
-
export declare const LOCAL_CONFIG: string;
|
|
7
|
-
export declare const LOCAL_BASE_PERMISSIONS: string;
|
|
8
|
-
export declare const LOCAL_USER_PERMISSIONS: string;
|
|
9
|
-
export declare const LOCAL_THEME_CONFIG: string;
|
|
10
|
-
export declare const LANG_CONFIG: string;
|
|
11
|
-
export declare const LOCAL_MENU: string;
|
|
12
|
-
export declare const LOCAL_SIDE_MENU_CONFIG: string;
|
|
13
|
-
export declare const LOCAL_SIDE_MENU_WIDTH: string;
|
|
14
|
-
export declare const LOCAL_IS_SIDE_SELF_DRAGGING: string;
|
|
15
|
-
export declare const LOCAL_INIT_TAB_MENU_LIST: string;
|
|
16
|
-
export declare const LOCAL_TAB_MENU: string;
|
|
17
|
-
export declare const TOKEN_NAME: string;
|
|
18
|
-
export declare const TOKEN_EXPIRED_TIME: string;
|
|
19
|
-
export declare const LOCAL_SESSION_ID: string;
|
|
20
|
-
export declare const LOCAL_DATA_ID: string;
|
|
21
|
-
export declare const LOCAL_COLUMN_DATA: string;
|
|
22
|
-
export declare const LOCAL_COLUMN_WIDTH_DATA: string;
|
|
23
|
-
export declare const SESSION_FORM_DATA_CACHE: string;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const WS_SERVICE_URL: string;
|
|
2
|
-
export declare const INIT_WS_MODEL: (subcmd: string, dataId?: string, edificeKey?: string) => {
|
|
3
|
-
head: string;
|
|
4
|
-
cmd: {
|
|
5
|
-
cmd: string;
|
|
6
|
-
subcmd: string;
|
|
7
|
-
response: number;
|
|
8
|
-
};
|
|
9
|
-
args?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
head: string;
|
|
12
|
-
cmd: {
|
|
13
|
-
cmd: string;
|
|
14
|
-
subcmd: string;
|
|
15
|
-
response?: undefined;
|
|
16
|
-
};
|
|
17
|
-
args: {
|
|
18
|
-
dataId: string;
|
|
19
|
-
edificeKey: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export declare const WS_INTERVAL_TIMEOUT = 30000;
|
|
23
|
-
export declare const WS_RESET_TIMEOUT = 3000;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import type { ResultData } from "./type";
|
|
3
|
-
import type { Router } from "vue-router";
|
|
4
|
-
export declare class RequestHttp {
|
|
5
|
-
sessionId: () => string | null;
|
|
6
|
-
service: AxiosInstance;
|
|
7
|
-
router: Router | null;
|
|
8
|
-
token: string;
|
|
9
|
-
getSessionIdUrl(url: string, sessionId: string | null): string;
|
|
10
|
-
checkToken(): Promise<string>;
|
|
11
|
-
initRouter(router: any): void;
|
|
12
|
-
constructor(settings?: {
|
|
13
|
-
config?: AxiosRequestConfig;
|
|
14
|
-
enableLog: boolean;
|
|
15
|
-
enableAuth: boolean;
|
|
16
|
-
enableToken: boolean;
|
|
17
|
-
checkToken: boolean;
|
|
18
|
-
});
|
|
19
|
-
get<T>(url: string, params?: object, _object?: {}): Promise<ResultData<T>>;
|
|
20
|
-
post<T>(url: string, params?: object, _object?: {}): Promise<ResultData<T>>;
|
|
21
|
-
put<T>(url: string, params?: object, _object?: {}): Promise<ResultData<T>>;
|
|
22
|
-
delete<T>(url: string, params?: any, _object?: {}): Promise<ResultData<T>>;
|
|
23
|
-
}
|
|
24
|
-
declare const configHttp: (settings: {
|
|
25
|
-
config?: AxiosRequestConfig;
|
|
26
|
-
enableLog?: boolean;
|
|
27
|
-
enableAuth?: boolean;
|
|
28
|
-
enableToken?: boolean;
|
|
29
|
-
checkToken?: boolean;
|
|
30
|
-
}) => RequestHttp;
|
|
31
|
-
export { configHttp };
|
|
32
|
-
declare const _default: RequestHttp;
|
|
33
|
-
export default _default;
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Pinia } from "pinia";
|
|
2
|
-
import type { App } from "vue";
|
|
3
|
-
import { useI18n } from "gonsin-i18n";
|
|
4
|
-
import http from "./http";
|
|
5
|
-
declare function install(Vue: App, userConfig?: any): void;
|
|
6
|
-
declare function setupStore(pinia: Pinia): void;
|
|
7
|
-
export * from "./components";
|
|
8
|
-
export * from "./constant";
|
|
9
|
-
export * from "./hooks";
|
|
10
|
-
export * from "./stores";
|
|
11
|
-
export * from "./utils";
|
|
12
|
-
export * from "./views";
|
|
13
|
-
export * from "./types/common";
|
|
14
|
-
export * from "./types/view";
|
|
15
|
-
export * from "./http";
|
|
16
|
-
declare const i18n: import("vue-i18n").I18n<{}, {}, {}, string, false>;
|
|
17
|
-
export { http, i18n, useI18n, setupStore };
|
|
18
|
-
declare const _default: {
|
|
19
|
-
install: typeof install;
|
|
20
|
-
};
|
|
21
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
interface FormData {
|
|
2
|
-
path: string;
|
|
3
|
-
data: Record<string, any>;
|
|
4
|
-
}
|
|
5
|
-
export declare const useCacheStore: import("pinia").StoreDefinition<"cache", {
|
|
6
|
-
formDataMap: Map<string, FormData>;
|
|
7
|
-
}, {
|
|
8
|
-
getFormData: (state: {
|
|
9
|
-
formDataMap: Map<string, FormData>;
|
|
10
|
-
} & import("pinia").PiniaCustomStateProperties<{
|
|
11
|
-
formDataMap: Map<string, FormData>;
|
|
12
|
-
}>) => (path: string) => Record<string, any> | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
setFormData(path: string, data: Record<string, any>): void;
|
|
15
|
-
removeFormData(path: string): void;
|
|
16
|
-
/**
|
|
17
|
-
* @description: 清空缓存表单数据
|
|
18
|
-
* @param {string} path
|
|
19
|
-
*/
|
|
20
|
-
clearFormData(): void;
|
|
21
|
-
}>;
|
|
22
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const useColumnStore: import("pinia").StoreDefinition<"column", {
|
|
2
|
-
columnDataMap: Map<string, string[]>;
|
|
3
|
-
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
4
|
-
}, {
|
|
5
|
-
getColumnData: (state: {
|
|
6
|
-
columnDataMap: Map<string, string[]>;
|
|
7
|
-
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
8
|
-
} & import("pinia").PiniaCustomStateProperties<{
|
|
9
|
-
columnDataMap: Map<string, string[]>;
|
|
10
|
-
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
11
|
-
}>) => (key: string) => string[];
|
|
12
|
-
getColumnWidthData: (state: {
|
|
13
|
-
columnDataMap: Map<string, string[]>;
|
|
14
|
-
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
15
|
-
} & import("pinia").PiniaCustomStateProperties<{
|
|
16
|
-
columnDataMap: Map<string, string[]>;
|
|
17
|
-
columnWidthDataMap: Map<string, Record<string, number>>;
|
|
18
|
-
}>) => (key: string) => Record<string, number>;
|
|
19
|
-
}, {
|
|
20
|
-
initColumnData(columnData: any): void;
|
|
21
|
-
setColumnData(key: string, columnData: string[]): Promise<any>;
|
|
22
|
-
removeColumnData(key: string, columnData: string[]): void;
|
|
23
|
-
saveColumnData(): Promise<boolean>;
|
|
24
|
-
setColumnWidthData(tableViewName: string, columnWidthData: Record<string, number>): void;
|
|
25
|
-
getColumnWidthDataByTableView(tableViewName: string, colKey: string): any;
|
|
26
|
-
}>;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_THEME_CONFIG } from "~/constant/theme";
|
|
2
|
-
import type { SideMenu } from "~/types/menu";
|
|
3
|
-
interface UserConfig {
|
|
4
|
-
userInfo: any;
|
|
5
|
-
userMenu: any;
|
|
6
|
-
homeUrl?: string;
|
|
7
|
-
logoUrl?: string;
|
|
8
|
-
isAdminUser: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare type ThemeConfigType = typeof DEFAULT_THEME_CONFIG;
|
|
11
|
-
interface SettingState {
|
|
12
|
-
isUserLogin: boolean;
|
|
13
|
-
isGlobalLoaded: boolean;
|
|
14
|
-
isSideMenuCollapse: boolean;
|
|
15
|
-
isSettingPanelShow: boolean;
|
|
16
|
-
userConfig: UserConfig;
|
|
17
|
-
themeConfig: ThemeConfigType;
|
|
18
|
-
sideMenuTree: SideMenu[];
|
|
19
|
-
sideMenuExpanded: any[];
|
|
20
|
-
sideMenuScrollTop: number;
|
|
21
|
-
sideMenuWidth: number;
|
|
22
|
-
sideMenuMinWidth: number;
|
|
23
|
-
sideMenuMaxWidth: number;
|
|
24
|
-
isSideSelfDragging: boolean;
|
|
25
|
-
userLang: string;
|
|
26
|
-
token: string;
|
|
27
|
-
tokenExpiredTime: number;
|
|
28
|
-
isTokenRefreshing: boolean;
|
|
29
|
-
sideHoverMenuTimer: any;
|
|
30
|
-
isSideHoverMenuShow: boolean;
|
|
31
|
-
basePermission: string[];
|
|
32
|
-
userPermission: string[];
|
|
33
|
-
}
|
|
34
|
-
export declare const useSettingStore: import("pinia").StoreDefinition<"setting", SettingState, {
|
|
35
|
-
userType: (state: SettingState) => any;
|
|
36
|
-
userRealName: (state: SettingState) => any;
|
|
37
|
-
userEdificeKey: (state: SettingState) => any;
|
|
38
|
-
homeUrl: (state: SettingState) => any;
|
|
39
|
-
logoUrl: (state: SettingState) => string;
|
|
40
|
-
displayMode: (state: SettingState) => any;
|
|
41
|
-
userKey: (state: SettingState) => any;
|
|
42
|
-
}, {
|
|
43
|
-
/**
|
|
44
|
-
* @description 全局重新加载标识
|
|
45
|
-
*/
|
|
46
|
-
toggleGlobalReload(): void;
|
|
47
|
-
/**
|
|
48
|
-
* @description 切换显示侧边菜单
|
|
49
|
-
*/
|
|
50
|
-
toggleSideMenuCollapse(): void;
|
|
51
|
-
setSideHoverMenuShow(flag: boolean): void;
|
|
52
|
-
/**
|
|
53
|
-
* @description 切换显示侧边设置面板
|
|
54
|
-
*/
|
|
55
|
-
toggleSettingPanel(): void;
|
|
56
|
-
/**
|
|
57
|
-
* @description 更改主题
|
|
58
|
-
*/
|
|
59
|
-
changeTheme(themeConfig: any): void;
|
|
60
|
-
/**
|
|
61
|
-
* @description 更改颜色模式
|
|
62
|
-
*/
|
|
63
|
-
changeMode(themeConfig: any): void;
|
|
64
|
-
/**
|
|
65
|
-
* @description 更改主题颜色
|
|
66
|
-
*/
|
|
67
|
-
changeBrandTheme(themeConfig: any): void;
|
|
68
|
-
/**
|
|
69
|
-
* @description 加载主题配置
|
|
70
|
-
*/
|
|
71
|
-
loadLocalThemeConfig(): void;
|
|
72
|
-
/**
|
|
73
|
-
* @description 设置用户登录状态
|
|
74
|
-
*/
|
|
75
|
-
setUserLoginStatus(status: boolean): void;
|
|
76
|
-
setIsSideSelfDragging(flag: boolean): void;
|
|
77
|
-
setSideMenuWidth(width: number): void;
|
|
78
|
-
/**
|
|
79
|
-
* @description: 初始化侧边栏菜单树状数据
|
|
80
|
-
* @param {SideMenu} menus
|
|
81
|
-
*/
|
|
82
|
-
setSideMenuConfig(menus: SideMenu[]): void;
|
|
83
|
-
setUserConfig(userConfig: UserConfig): void;
|
|
84
|
-
setUserLang(language: string): Promise<void>;
|
|
85
|
-
/**
|
|
86
|
-
* @description: 设置token值
|
|
87
|
-
* @param {string} token
|
|
88
|
-
* @param {number} tokenExpiredTime
|
|
89
|
-
*/
|
|
90
|
-
setUserToken(token: string, tokenExpiredTime: number): void;
|
|
91
|
-
/**
|
|
92
|
-
* @description: 初始化用户token ?? 重复
|
|
93
|
-
* @param {string} token
|
|
94
|
-
*/
|
|
95
|
-
initUserToken(token: string): Promise<void>;
|
|
96
|
-
setBasePermission(permissions: string[]): void;
|
|
97
|
-
setUserPermission(permissions: string[], menuData: SideMenu[]): void;
|
|
98
|
-
setSideMenuTree(userMenu: any[]): void;
|
|
99
|
-
/**
|
|
100
|
-
* @description 用户登录后初始化配置
|
|
101
|
-
*/
|
|
102
|
-
initUserConfig(userConfig: UserConfig): Promise<void>;
|
|
103
|
-
/**
|
|
104
|
-
* @description: 退出登录时初始化本地存储值
|
|
105
|
-
*/
|
|
106
|
-
resetInitValue(): Promise<void>;
|
|
107
|
-
/**
|
|
108
|
-
* @description 用户退出登录清除存储值
|
|
109
|
-
*/
|
|
110
|
-
userLogout(): Promise<void>;
|
|
111
|
-
}>;
|
|
112
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface SocketState {
|
|
2
|
-
socket: WebSocket | null;
|
|
3
|
-
socketInterval?: any;
|
|
4
|
-
socketTimeout?: any;
|
|
5
|
-
isSocketLinked: boolean;
|
|
6
|
-
isSocketResetting: boolean;
|
|
7
|
-
isSocketClose: boolean;
|
|
8
|
-
registeredDataIdSet: Set<string>;
|
|
9
|
-
}
|
|
10
|
-
export declare const useSocketStore: import("pinia").StoreDefinition<"socket", SocketState, {}, {
|
|
11
|
-
/**
|
|
12
|
-
* @description 初始化websocket连接
|
|
13
|
-
*/
|
|
14
|
-
initSocket(): void;
|
|
15
|
-
closeSocket(): void;
|
|
16
|
-
sendRegisterMessage(dataId: string): void;
|
|
17
|
-
sendUnregisterMessage(dataId: string): void;
|
|
18
|
-
}>;
|
|
19
|
-
export {};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { TabMenuItem } from "~/types/menu";
|
|
2
|
-
export declare const useTabMenuStore: import("pinia").StoreDefinition<"tabMenu", {
|
|
3
|
-
tabMenuList: TabMenuItem[];
|
|
4
|
-
initTabMenuList: TabMenuItem[];
|
|
5
|
-
}, {
|
|
6
|
-
returnTabMenuItemActiveTab: (state: {
|
|
7
|
-
tabMenuList: any[];
|
|
8
|
-
initTabMenuList: any[];
|
|
9
|
-
} & import("pinia").PiniaCustomStateProperties<{
|
|
10
|
-
tabMenuList: TabMenuItem[];
|
|
11
|
-
initTabMenuList: TabMenuItem[];
|
|
12
|
-
}>) => (path: any) => any;
|
|
13
|
-
}, {
|
|
14
|
-
clearTabMenu(): Promise<void>;
|
|
15
|
-
setInitTabMenuList(initTabMenuList: TabMenuItem[]): void;
|
|
16
|
-
setTabMenuList(tabMenuList: TabMenuItem[]): void;
|
|
17
|
-
/**
|
|
18
|
-
* @description 初始化tab菜单列表
|
|
19
|
-
*/
|
|
20
|
-
initTabMenu(): Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
* @description: 查找已经存在的标签项
|
|
23
|
-
* @param {TabMenuItem} newItem
|
|
24
|
-
*/
|
|
25
|
-
findExistTabMenuItem(newItem: TabMenuItem): any;
|
|
26
|
-
/**
|
|
27
|
-
* @description: 增加标签项
|
|
28
|
-
* @param {TabMenuItem} newItem
|
|
29
|
-
*/
|
|
30
|
-
appendTabMenuItem(newItem: TabMenuItem): void;
|
|
31
|
-
/**
|
|
32
|
-
* @description: 从列表中删除目标标签项
|
|
33
|
-
* @param {TabMenuItem} newItem
|
|
34
|
-
*/
|
|
35
|
-
subtractCurrentTabMenuItem(newItem: TabMenuItem): void;
|
|
36
|
-
/**
|
|
37
|
-
* @description: 删除目标标签项后的标签项
|
|
38
|
-
* @param {TabMenuItem} newItem
|
|
39
|
-
*/
|
|
40
|
-
subtractTabMenuItemBehind(newItem: TabMenuItem): void;
|
|
41
|
-
/**
|
|
42
|
-
* @description: 删除目标标签项前的标签项
|
|
43
|
-
* @param {TabMenuItem} newItem
|
|
44
|
-
*/
|
|
45
|
-
subtractTabMenuItemAhead(newItem: TabMenuItem): void;
|
|
46
|
-
/**
|
|
47
|
-
* @description: 删除除了目标标签项的其他标签
|
|
48
|
-
* @param {TabMenuItem} newItem
|
|
49
|
-
*/
|
|
50
|
-
subtractTabMenuItemOther(newItem: TabMenuItem): void;
|
|
51
|
-
/**
|
|
52
|
-
* @description: 通过传入完整路由路径删除列表中的标签项
|
|
53
|
-
* @param {string} path
|
|
54
|
-
*/
|
|
55
|
-
removeTabMenuItemByPath(path: string): void;
|
|
56
|
-
returnPrevTabMenuPathItemByPath(path: string): any;
|
|
57
|
-
/**
|
|
58
|
-
* @description: 设置当前标签页的activeTab属性
|
|
59
|
-
* @param {string} path 路径用于查找菜单
|
|
60
|
-
* @param {any} activeTab
|
|
61
|
-
*/
|
|
62
|
-
setCurrentTabMenuItemActiveTab(path: string, activeTab: any): void;
|
|
63
|
-
/**
|
|
64
|
-
* @description: 删除标签项后的操作
|
|
65
|
-
* @param {string} path
|
|
66
|
-
*/
|
|
67
|
-
afterRemoveTab(path: string): void;
|
|
68
|
-
}>;
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
interface IWebsiteState {
|
|
2
|
-
websiteSetting: {
|
|
3
|
-
title: string;
|
|
4
|
-
titleEn: string;
|
|
5
|
-
faviconUrl: string;
|
|
6
|
-
loginBackground: string;
|
|
7
|
-
loginBackgroundIconUrl: string;
|
|
8
|
-
logoUrl: string;
|
|
9
|
-
copyRight: string;
|
|
10
|
-
copyRightInfo: string;
|
|
11
|
-
};
|
|
12
|
-
edificeLogoUrl: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const useWebsiteStore: import("pinia").StoreDefinition<"website", IWebsiteState, {
|
|
15
|
-
title: (state: {
|
|
16
|
-
websiteSetting: {
|
|
17
|
-
title: string;
|
|
18
|
-
titleEn: string;
|
|
19
|
-
faviconUrl: string;
|
|
20
|
-
loginBackground: string;
|
|
21
|
-
loginBackgroundIconUrl: string;
|
|
22
|
-
logoUrl: string;
|
|
23
|
-
copyRight: string;
|
|
24
|
-
copyRightInfo: string;
|
|
25
|
-
};
|
|
26
|
-
edificeLogoUrl: string;
|
|
27
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
28
|
-
titleEn: (state: {
|
|
29
|
-
websiteSetting: {
|
|
30
|
-
title: string;
|
|
31
|
-
titleEn: string;
|
|
32
|
-
faviconUrl: string;
|
|
33
|
-
loginBackground: string;
|
|
34
|
-
loginBackgroundIconUrl: string;
|
|
35
|
-
logoUrl: string;
|
|
36
|
-
copyRight: string;
|
|
37
|
-
copyRightInfo: string;
|
|
38
|
-
};
|
|
39
|
-
edificeLogoUrl: string;
|
|
40
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
41
|
-
faviconUrl: (state: {
|
|
42
|
-
websiteSetting: {
|
|
43
|
-
title: string;
|
|
44
|
-
titleEn: string;
|
|
45
|
-
faviconUrl: string;
|
|
46
|
-
loginBackground: string;
|
|
47
|
-
loginBackgroundIconUrl: string;
|
|
48
|
-
logoUrl: string;
|
|
49
|
-
copyRight: string;
|
|
50
|
-
copyRightInfo: string;
|
|
51
|
-
};
|
|
52
|
-
edificeLogoUrl: string;
|
|
53
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
54
|
-
loginBackground: (state: {
|
|
55
|
-
websiteSetting: {
|
|
56
|
-
title: string;
|
|
57
|
-
titleEn: string;
|
|
58
|
-
faviconUrl: string;
|
|
59
|
-
loginBackground: string;
|
|
60
|
-
loginBackgroundIconUrl: string;
|
|
61
|
-
logoUrl: string;
|
|
62
|
-
copyRight: string;
|
|
63
|
-
copyRightInfo: string;
|
|
64
|
-
};
|
|
65
|
-
edificeLogoUrl: string;
|
|
66
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
67
|
-
loginBackgroundIconUrl: (state: {
|
|
68
|
-
websiteSetting: {
|
|
69
|
-
title: string;
|
|
70
|
-
titleEn: string;
|
|
71
|
-
faviconUrl: string;
|
|
72
|
-
loginBackground: string;
|
|
73
|
-
loginBackgroundIconUrl: string;
|
|
74
|
-
logoUrl: string;
|
|
75
|
-
copyRight: string;
|
|
76
|
-
copyRightInfo: string;
|
|
77
|
-
};
|
|
78
|
-
edificeLogoUrl: string;
|
|
79
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
80
|
-
logoUrl: (state: {
|
|
81
|
-
websiteSetting: {
|
|
82
|
-
title: string;
|
|
83
|
-
titleEn: string;
|
|
84
|
-
faviconUrl: string;
|
|
85
|
-
loginBackground: string;
|
|
86
|
-
loginBackgroundIconUrl: string;
|
|
87
|
-
logoUrl: string;
|
|
88
|
-
copyRight: string;
|
|
89
|
-
copyRightInfo: string;
|
|
90
|
-
};
|
|
91
|
-
edificeLogoUrl: string;
|
|
92
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
93
|
-
copyRight: (state: {
|
|
94
|
-
websiteSetting: {
|
|
95
|
-
title: string;
|
|
96
|
-
titleEn: string;
|
|
97
|
-
faviconUrl: string;
|
|
98
|
-
loginBackground: string;
|
|
99
|
-
loginBackgroundIconUrl: string;
|
|
100
|
-
logoUrl: string;
|
|
101
|
-
copyRight: string;
|
|
102
|
-
copyRightInfo: string;
|
|
103
|
-
};
|
|
104
|
-
edificeLogoUrl: string;
|
|
105
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
106
|
-
copyRightInfo: (state: {
|
|
107
|
-
websiteSetting: {
|
|
108
|
-
title: string;
|
|
109
|
-
titleEn: string;
|
|
110
|
-
faviconUrl: string;
|
|
111
|
-
loginBackground: string;
|
|
112
|
-
loginBackgroundIconUrl: string;
|
|
113
|
-
logoUrl: string;
|
|
114
|
-
copyRight: string;
|
|
115
|
-
copyRightInfo: string;
|
|
116
|
-
};
|
|
117
|
-
edificeLogoUrl: string;
|
|
118
|
-
} & import("pinia").PiniaCustomStateProperties<IWebsiteState>) => string;
|
|
119
|
-
}, {
|
|
120
|
-
getWebsiteSetting(): Promise<boolean>;
|
|
121
|
-
setInitWebsiteSetting(): void;
|
|
122
|
-
setEdificeLogoUrl(url: string): void;
|
|
123
|
-
}>;
|
|
124
|
-
export {};
|