vue-layout-gitcode 1.0.1 → 1.0.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.
- package/{GloabarSearch-52647c97.js → GloabarSearch-9071e199.js} +5 -4
- package/{ProjectSearch-e63ed1ba.js → ProjectSearch-6706fc55.js} +5 -4
- package/{SearchHistoryList-87488e31.js → SearchHistoryList-72d09344.js} +4 -3
- package/{SearchPrefixTag-cfcbeba4.js → SearchPrefixTag-3fb0d097.js} +4 -3
- package/{SearchRecommed-8ba4e3a3.js → SearchRecommed-f64a70dd.js} +9 -7
- package/{SearchScopeList-dab774d3.js → SearchScopeList-0f3fd546.js} +4 -3
- package/{UserSearch-d57efc36.js → UserSearch-cebcea5f.js} +5 -4
- package/{formatNameSpace-24f91ed9.js → formatNameSpace-a1c3167c.js} +1 -1
- package/{index-e987b0b4.js → index-04a85ee7.js} +4 -3
- package/{index-74e529af.js → index-b1389917.js} +228 -169
- package/index.d.ts +33 -4
- package/index.js +9 -7
- package/{notice-dd3a9d4a.js → notice-7585c9e0.js} +4 -3
- package/package.json +1 -1
- package/style.css +1 -1
package/index.d.ts
CHANGED
|
@@ -11,6 +11,22 @@ import type { PublicProps } from './vue/dist/vue.esm-bundler.js';
|
|
|
11
11
|
import { repoInfoType } from '../../types/types';
|
|
12
12
|
import { UserInfo } from '../../types/types';
|
|
13
13
|
|
|
14
|
+
declare interface BaseLayoutConfig {
|
|
15
|
+
VITE_HOST: string;
|
|
16
|
+
VITE_ENV: string;
|
|
17
|
+
VITE_API_HOST: string;
|
|
18
|
+
VITE_AD_LINK: string;
|
|
19
|
+
VITE_NEWS_HOST: string;
|
|
20
|
+
VITE_AI_HOST: string;
|
|
21
|
+
VITE_INCUBATION_TOPIC: string;
|
|
22
|
+
VITE_GSTAR_TOPIC: string;
|
|
23
|
+
VITE_TRUSTED_TOPIC: string;
|
|
24
|
+
VITE_SEARCH_REPO_CHANNEL_ID: string;
|
|
25
|
+
VITE_SECRET_KEY: string;
|
|
26
|
+
VITE_SECRET_IV: string;
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
14
30
|
declare const _default: {
|
|
15
31
|
install: (app: App) => void;
|
|
16
32
|
};
|
|
@@ -22,6 +38,11 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
|
|
|
22
38
|
required: true;
|
|
23
39
|
default: SceneValue;
|
|
24
40
|
};
|
|
41
|
+
disableFlatMode: {
|
|
42
|
+
type: PropType<boolean | undefined>;
|
|
43
|
+
required: false;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
25
46
|
userInfo: {
|
|
26
47
|
type: PropType<AccountInfo>;
|
|
27
48
|
required: true;
|
|
@@ -51,6 +72,11 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
|
|
|
51
72
|
required: true;
|
|
52
73
|
default: SceneValue;
|
|
53
74
|
};
|
|
75
|
+
disableFlatMode: {
|
|
76
|
+
type: PropType<boolean | undefined>;
|
|
77
|
+
required: false;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
54
80
|
userInfo: {
|
|
55
81
|
type: PropType<AccountInfo>;
|
|
56
82
|
required: true;
|
|
@@ -78,6 +104,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
|
|
|
78
104
|
sceneValue: SceneValue;
|
|
79
105
|
request: Function;
|
|
80
106
|
globalStore: Object;
|
|
107
|
+
disableFlatMode: boolean | undefined;
|
|
81
108
|
userInfo: AccountInfo;
|
|
82
109
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
83
110
|
|
|
@@ -147,8 +174,8 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
147
174
|
required: false;
|
|
148
175
|
};
|
|
149
176
|
openHarmonyGuide: {
|
|
150
|
-
type: PropType<
|
|
151
|
-
required:
|
|
177
|
+
type: PropType<boolean>;
|
|
178
|
+
required: true;
|
|
152
179
|
};
|
|
153
180
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("followDevCommunity" | "followUser")[], "followDevCommunity" | "followUser", PublicProps, Readonly<ExtractPropTypes<{
|
|
154
181
|
sceneValue: {
|
|
@@ -216,8 +243,8 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
216
243
|
required: false;
|
|
217
244
|
};
|
|
218
245
|
openHarmonyGuide: {
|
|
219
|
-
type: PropType<
|
|
220
|
-
required:
|
|
246
|
+
type: PropType<boolean>;
|
|
247
|
+
required: true;
|
|
221
248
|
};
|
|
222
249
|
}>> & Readonly<{
|
|
223
250
|
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
@@ -955,6 +982,8 @@ export declare enum SceneValue {
|
|
|
955
982
|
user = "user"
|
|
956
983
|
}
|
|
957
984
|
|
|
985
|
+
export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
|
|
986
|
+
|
|
958
987
|
export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
959
988
|
sceneValue: {
|
|
960
989
|
type: PropType<SceneValue>;
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G,
|
|
1
|
+
import { G, p, q, S, o, v, s } from "./index-b1389917.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "vue-devui-lal/button";
|
|
4
4
|
import "vue-devui-lal/popover";
|
|
@@ -36,10 +36,11 @@ import "vue-devui-lal/badge";
|
|
|
36
36
|
import "vue-devui-lal/badge/style.css";
|
|
37
37
|
import "vue-devui-lal/tabs";
|
|
38
38
|
import "vue-devui-lal/tabs/style.css";
|
|
39
|
-
import "vue-devui-lal/radio";
|
|
40
|
-
import "vue-devui-lal/radio/style.css";
|
|
41
39
|
import "vue-devui-lal/form";
|
|
42
40
|
import "vue-devui-lal/form/style.css";
|
|
41
|
+
import "vue-devui-lal/radio";
|
|
42
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
43
|
+
import "vue-devui-lal/radio/style.css";
|
|
43
44
|
import "vue-devui-lal/checkbox";
|
|
44
45
|
import "vue-devui-lal/checkbox/style.css";
|
|
45
46
|
import "vue-devui-lal/modal";
|
|
@@ -48,9 +49,10 @@ import "vue-devui-lal/notification";
|
|
|
48
49
|
import "vue-devui-lal/notification/style.css";
|
|
49
50
|
export {
|
|
50
51
|
G as GitCodeAside,
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
p as GitCodeHeader,
|
|
53
|
+
q as GitCodeLayoutLibLocales,
|
|
53
54
|
S as SceneValue,
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
o as ToolsFloat,
|
|
56
|
+
v as default,
|
|
57
|
+
s as setLayoutConfig
|
|
56
58
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-b1389917.js";
|
|
3
3
|
import { Notification } from "vue-devui-lal/notification";
|
|
4
4
|
import { Button } from "vue-devui-lal/button";
|
|
5
5
|
import "vue-devui-lal/notification/style.css";
|
|
@@ -38,10 +38,11 @@ import "vue-devui-lal/badge";
|
|
|
38
38
|
import "vue-devui-lal/badge/style.css";
|
|
39
39
|
import "vue-devui-lal/tabs";
|
|
40
40
|
import "vue-devui-lal/tabs/style.css";
|
|
41
|
-
import "vue-devui-lal/radio";
|
|
42
|
-
import "vue-devui-lal/radio/style.css";
|
|
43
41
|
import "vue-devui-lal/form";
|
|
44
42
|
import "vue-devui-lal/form/style.css";
|
|
43
|
+
import "vue-devui-lal/radio";
|
|
44
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
45
|
+
import "vue-devui-lal/radio/style.css";
|
|
45
46
|
import "vue-devui-lal/checkbox";
|
|
46
47
|
import "vue-devui-lal/checkbox/style.css";
|
|
47
48
|
import "vue-devui-lal/modal";
|