vue-layout-gitcode 1.12.6-beta.2 → 1.12.8-beta.1
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/GloabarSearch-NGlG1q8K.js → GloabarSearch-D6lEplDg.js} +4 -4
- package/{dist/MenuItem-DCrIoGlm.js → MenuItem-pzgQTJt6.js} +2 -2
- package/{dist/ProjectMenuList-BJbf0NAQ.js → ProjectMenuList-BnqYX1jB.js} +3 -3
- package/{dist/ProjectMenuListV2-BG9SjvX4.js → ProjectMenuListV2-B5XMmHgn.js} +3 -3
- package/{dist/ProjectSearch-Cjkh8HSr.js → ProjectSearch-D6Xf-yTg.js} +3 -3
- package/{dist/SearchHistoryList-BDfXR0hz.js → SearchHistoryList-qDrNXQB6.js} +7 -2
- package/{dist/SearchPrefixTag-iPRlrj0V.js → SearchPrefixTag-CaV1duQK.js} +2 -2
- package/{dist/SearchRecommed-Bo-8qYwL.js → SearchRecommed-NGJeagAW.js} +3 -3
- package/{dist/SearchScopeList-CbGlV94b.js → SearchScopeList-DKvYyKyz.js} +2 -2
- package/{dist/UserSearch-BMqO3t7O.js → UserSearch-W6n7Pmqh.js} +2 -2
- package/{dist/index-CqmVuBLI.js → index-BFubLdn2.js} +4 -3
- package/{dist/index-BGcVr_9G.js → index-DEaHJcQA.js} +131 -237
- package/{dist/index-CmLfdcom.js → index-PKk9N9K_.js} +9 -6
- package/{dist/index-BJdkYjMp.js → index-W9sitc9J.js} +2 -2
- package/index.d.ts +873 -0
- package/index.js +16 -0
- package/{dist/notice-DypETSRq.js → notice-CILhEEwf.js} +6 -4
- package/package.json +11 -73
- package/{dist/transWebUrl-ChFyR_hX.js → transWebUrl-CQxjXUmR.js} +1 -1
- package/README.md +0 -533
- package/dist/index.d.ts +0 -113
- package/dist/index.js +0 -16
- package/dist/package.json +0 -13
- /package/{dist/style.css → style.css} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { App } from '../vue/dist/vue.esm-bundler.js';
|
|
2
|
-
import { currentTheme } from './themes/index';
|
|
3
|
-
import { Emitter } from 'mitt';
|
|
4
|
-
import { default as EnterpriseHeader } from './components/Header/EnterpriseHeader.vue';
|
|
5
|
-
import { default as GitCodeAside } from './components/Aside/index.vue';
|
|
6
|
-
import { default as GitCodeHeader } from './components/Header/index.vue';
|
|
7
|
-
import { default as Login } from './components//Login/Login.vue';
|
|
8
|
-
import { setTheme } from './themes/index';
|
|
9
|
-
import { default as SiteAnnouncement } from './components/Header/components/SiteAnnouncement.vue';
|
|
10
|
-
import { default as ToolsFloat } from './components/ToolsFloat/index.vue';
|
|
11
|
-
|
|
12
|
-
declare interface BaseLayoutConfig {
|
|
13
|
-
VITE_HOST: string;
|
|
14
|
-
VITE_HOST_TIANQI: string;
|
|
15
|
-
VITE_ENV: string;
|
|
16
|
-
VITE_API_HOST: string;
|
|
17
|
-
VITE_AD_LINK: string;
|
|
18
|
-
VITE_NEWS_HOST: string;
|
|
19
|
-
VITE_AI_HOST: string;
|
|
20
|
-
VITE_INCUBATION_TOPIC: string;
|
|
21
|
-
VITE_GSTAR_TOPIC: string;
|
|
22
|
-
VITE_TRUSTED_TOPIC: string;
|
|
23
|
-
VITE_SEARCH_REPO_CHANNEL_ID: string;
|
|
24
|
-
VITE_SECRET_KEY: string;
|
|
25
|
-
VITE_SECRET_IV: string;
|
|
26
|
-
[key: string]: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { currentTheme }
|
|
30
|
-
|
|
31
|
-
declare const _default: {
|
|
32
|
-
install: (app: App) => void;
|
|
33
|
-
};
|
|
34
|
-
export default _default;
|
|
35
|
-
|
|
36
|
-
export { EnterpriseHeader }
|
|
37
|
-
|
|
38
|
-
declare type EventBus = {
|
|
39
|
-
logout?: boolean;
|
|
40
|
-
login?: any;
|
|
41
|
-
updateNaviBar: void;
|
|
42
|
-
notice: void;
|
|
43
|
-
updateNotice: number;
|
|
44
|
-
updateUserInfo: Record<string, any>;
|
|
45
|
-
handleAsideVisible: boolean;
|
|
46
|
-
toggleAsideMenuByHamburger: void;
|
|
47
|
-
globalTaskReport: void;
|
|
48
|
-
updateNoticeCount: string;
|
|
49
|
-
closeChatSlider: void;
|
|
50
|
-
tocChange?: any;
|
|
51
|
-
responseError: string;
|
|
52
|
-
updateMrAction: string;
|
|
53
|
-
updateLockStatusAndList: string;
|
|
54
|
-
updateIssueAction: string;
|
|
55
|
-
forbiddenRefresh: void;
|
|
56
|
-
microRouterChange: void;
|
|
57
|
-
openModal: void;
|
|
58
|
-
reportView: void;
|
|
59
|
-
crossFileClick: void;
|
|
60
|
-
repoTreeLoading: boolean;
|
|
61
|
-
openFullScreen: void;
|
|
62
|
-
openFilePath: void;
|
|
63
|
-
crossQuestion: void;
|
|
64
|
-
hisSearchValue: string;
|
|
65
|
-
resetPwdDirectlySuccess: void;
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export { GitCodeAside }
|
|
69
|
-
|
|
70
|
-
export { GitCodeHeader }
|
|
71
|
-
|
|
72
|
-
export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
|
|
73
|
-
|
|
74
|
-
export { Login }
|
|
75
|
-
|
|
76
|
-
declare interface LoginOptions {
|
|
77
|
-
Authorization?: boolean;
|
|
78
|
-
type?: 'login' | 'register';
|
|
79
|
-
triggerType?: string;
|
|
80
|
-
loginTriggerSource?: string;
|
|
81
|
-
resetPwdSource?: string;
|
|
82
|
-
[x: string]: any;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export declare enum SceneValue {
|
|
86
|
-
home = "home",
|
|
87
|
-
repo = "repo",
|
|
88
|
-
org = "org",
|
|
89
|
-
aiHome = "aiHome",
|
|
90
|
-
aiRepo = "aiRepo",
|
|
91
|
-
aiGuide = "aiGuide",
|
|
92
|
-
blog = "blog",
|
|
93
|
-
news = "news",
|
|
94
|
-
active = "active",
|
|
95
|
-
user = "user",
|
|
96
|
-
enterprise = "enterprise"
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
|
|
100
|
-
|
|
101
|
-
export { setTheme }
|
|
102
|
-
|
|
103
|
-
export { SiteAnnouncement }
|
|
104
|
-
|
|
105
|
-
export { ToolsFloat }
|
|
106
|
-
|
|
107
|
-
export declare function useLogin(request: any, globalStore?: any): {
|
|
108
|
-
login: (options?: LoginOptions, loginSuccess?: Function, openHarmonyGuide?: boolean) => void;
|
|
109
|
-
unMount: () => void;
|
|
110
|
-
isMounted: () => boolean;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export { }
|
package/dist/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { M, N, O, P, Q, S, U, V, B, W, X, Y, Z } from "./index-BGcVr_9G.js";
|
|
2
|
-
export {
|
|
3
|
-
M as EnterpriseHeader,
|
|
4
|
-
N as GitCodeAside,
|
|
5
|
-
O as GitCodeHeader,
|
|
6
|
-
P as GitCodeLayoutEmitter,
|
|
7
|
-
Q as Login,
|
|
8
|
-
S as SceneValue,
|
|
9
|
-
U as SiteAnnouncement,
|
|
10
|
-
V as ToolsFloat,
|
|
11
|
-
B as currentTheme,
|
|
12
|
-
W as default,
|
|
13
|
-
X as setLayoutConfig,
|
|
14
|
-
Y as setTheme,
|
|
15
|
-
Z as useLogin
|
|
16
|
-
};
|
package/dist/package.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vue-layout-gitcode",
|
|
3
|
-
"version": "1.12.6-beta.2",
|
|
4
|
-
"description": "用于 gitcode 站点生产环境使用",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"types": "./index.d.ts",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "站内导航侧边栏"
|
|
10
|
-
},
|
|
11
|
-
"author": "lal,nevins",
|
|
12
|
-
"license": "ISC"
|
|
13
|
-
}
|
|
File without changes
|