vue-layout-gitcode 1.0.1 → 1.0.2
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-17e77b1e.js} +5 -4
- package/{ProjectSearch-e63ed1ba.js → ProjectSearch-2735465f.js} +5 -4
- package/{SearchHistoryList-87488e31.js → SearchHistoryList-df38eb3e.js} +4 -3
- package/{SearchPrefixTag-cfcbeba4.js → SearchPrefixTag-6487df83.js} +4 -3
- package/{SearchRecommed-8ba4e3a3.js → SearchRecommed-30ce741b.js} +9 -7
- package/{SearchScopeList-dab774d3.js → SearchScopeList-f8827003.js} +4 -3
- package/{UserSearch-d57efc36.js → UserSearch-c2065a9a.js} +5 -4
- package/{formatNameSpace-24f91ed9.js → formatNameSpace-cafc014b.js} +1 -1
- package/{index-e987b0b4.js → index-76454ee2.js} +4 -3
- package/{index-74e529af.js → index-a174ea22.js} +224 -166
- package/index.d.ts +22 -4
- package/index.js +9 -7
- package/{notice-dd3a9d4a.js → notice-868a1c83.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
|
};
|
|
@@ -147,8 +163,8 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
147
163
|
required: false;
|
|
148
164
|
};
|
|
149
165
|
openHarmonyGuide: {
|
|
150
|
-
type: PropType<
|
|
151
|
-
required:
|
|
166
|
+
type: PropType<boolean>;
|
|
167
|
+
required: true;
|
|
152
168
|
};
|
|
153
169
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("followDevCommunity" | "followUser")[], "followDevCommunity" | "followUser", PublicProps, Readonly<ExtractPropTypes<{
|
|
154
170
|
sceneValue: {
|
|
@@ -216,8 +232,8 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
216
232
|
required: false;
|
|
217
233
|
};
|
|
218
234
|
openHarmonyGuide: {
|
|
219
|
-
type: PropType<
|
|
220
|
-
required:
|
|
235
|
+
type: PropType<boolean>;
|
|
236
|
+
required: true;
|
|
221
237
|
};
|
|
222
238
|
}>> & Readonly<{
|
|
223
239
|
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
@@ -955,6 +971,8 @@ export declare enum SceneValue {
|
|
|
955
971
|
user = "user"
|
|
956
972
|
}
|
|
957
973
|
|
|
974
|
+
export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
|
|
975
|
+
|
|
958
976
|
export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
959
977
|
sceneValue: {
|
|
960
978
|
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-a174ea22.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-a174ea22.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";
|