vue-layout-gitcode 1.3.2 → 1.3.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-BCQw3CFX.js → GloabarSearch-be275e83.js} +49 -3
- package/{ProjectSearch-cRtWR1nm.js → ProjectSearch-eb7edd07.js} +47 -3
- package/{SearchHistoryList-Bq1GLhLn.js → SearchHistoryList-56de2dc2.js} +47 -3
- package/SearchPrefixTag-0b6b2189.js +90 -0
- package/{SearchRecommed-DUEj-REF.js → SearchRecommed-6953584b.js} +48 -4
- package/{SearchScopeList-DtNJJC9z.js → SearchScopeList-fbc0d410.js} +47 -3
- package/{UserSearch-DxxVlIie.js → UserSearch-ab869023.js} +46 -2
- package/{index-D8pY293x.js → index-21c0ec8f.js} +26 -17
- package/{index-DN4X76li.js → index-4bc8e057.js} +50 -5
- package/{index-BGQbIqtf.js → index-eb00e338.js} +1252 -1117
- package/index.js +47 -1
- package/{notice-DyrJkOdX.js → notice-049c2fad.js} +45 -6
- package/package.json +1 -1
- package/style.css +1 -1
- package/SearchPrefixTag-BHBc4IHo.js +0 -46
|
@@ -1,8 +1,54 @@
|
|
|
1
|
-
import { inject, ref, watch, onMounted,
|
|
1
|
+
import { inject, ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createCommentVNode } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
4
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-eb00e338.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-21c0ec8f.js";
|
|
6
|
+
import "vue-devui-lal/button";
|
|
7
|
+
import "vue-devui-lal/popover";
|
|
8
|
+
import "vue-devui-lal/tooltip";
|
|
9
|
+
import "vue-devui-lal/textarea";
|
|
10
|
+
import "vue-devui-lal/button/style.css";
|
|
11
|
+
import "vue-devui-lal/popover/style.css";
|
|
12
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
13
|
+
import "vue-devui-lal/textarea/style.css";
|
|
14
|
+
import "vue-router";
|
|
15
|
+
import "@vueuse/core";
|
|
16
|
+
import "vue-devui-lal/avatar";
|
|
17
|
+
import "vue-devui-lal/avatar/style.css";
|
|
18
|
+
import "vue-devui-lal/dropdown";
|
|
19
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
20
|
+
import "dayjs";
|
|
21
|
+
import "vue-devui-lal/skeleton";
|
|
22
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
23
|
+
import "vue-devui-lal/message";
|
|
24
|
+
import "vue-devui-lal/message/style.css";
|
|
25
|
+
import "vue-devui-lal/badge";
|
|
26
|
+
import "vue-devui-lal/badge/style.css";
|
|
27
|
+
import "vue-devui-lal/tabs/style.css";
|
|
28
|
+
import "vue-devui-lal/input";
|
|
29
|
+
import "vue-devui-lal/form";
|
|
30
|
+
import "vue-devui-lal/input/style.css";
|
|
31
|
+
import "vue-devui-lal/form/style.css";
|
|
32
|
+
import "vue-devui-lal/notification";
|
|
33
|
+
import "vue-devui-lal/notification/style.css";
|
|
34
|
+
import "vue-devui-lal/select";
|
|
35
|
+
import "vue-devui-lal/menu";
|
|
36
|
+
import "vue-devui-lal/select/style.css";
|
|
37
|
+
import "vue-devui-lal/menu/style.css";
|
|
38
|
+
import "vue-devui-lal/drawer";
|
|
39
|
+
import "vue-devui-lal/layout";
|
|
40
|
+
import "vue-devui-lal/drawer/style.css";
|
|
41
|
+
import "vue-devui-lal/layout/style.css";
|
|
42
|
+
import "vue-devui-lal/radio";
|
|
43
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
44
|
+
import "vue-devui-lal/radio/style.css";
|
|
45
|
+
import "vue-devui-lal/checkbox";
|
|
46
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
47
|
+
import "vue-devui-lal/modal";
|
|
48
|
+
import "vue-devui-lal/modal/style.css";
|
|
49
|
+
import "vue-devui-lal/grid";
|
|
50
|
+
import "vue-devui-lal/grid/style.css";
|
|
51
|
+
const GloabarSearch_vue_vue_type_style_index_0_lang = "";
|
|
6
52
|
const _hoisted_1 = {
|
|
7
53
|
key: 0,
|
|
8
54
|
class: "px-[8px] history-list-project pl-[8px]"
|
|
@@ -1,8 +1,51 @@
|
|
|
1
|
-
import { ref, inject, computed, withDirectives,
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-
|
|
1
|
+
import { ref, inject, computed, withDirectives, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-eb00e338.js";
|
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
|
4
4
|
import "vue-devui-lal/icon";
|
|
5
5
|
import "vue-devui-lal/icon/style.css";
|
|
6
|
+
import "vue-devui-lal/button";
|
|
7
|
+
import "vue-devui-lal/popover";
|
|
8
|
+
import "vue-devui-lal/tooltip";
|
|
9
|
+
import "vue-devui-lal/textarea";
|
|
10
|
+
import "vue-devui-lal/button/style.css";
|
|
11
|
+
import "vue-devui-lal/popover/style.css";
|
|
12
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
13
|
+
import "vue-devui-lal/textarea/style.css";
|
|
14
|
+
import "@vueuse/core";
|
|
15
|
+
import "vue-devui-lal/avatar";
|
|
16
|
+
import "vue-devui-lal/avatar/style.css";
|
|
17
|
+
import "vue-devui-lal/dropdown";
|
|
18
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
19
|
+
import "dayjs";
|
|
20
|
+
import "vue-devui-lal/skeleton";
|
|
21
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
22
|
+
import "vue-devui-lal/message";
|
|
23
|
+
import "vue-devui-lal/message/style.css";
|
|
24
|
+
import "vue-devui-lal/badge";
|
|
25
|
+
import "vue-devui-lal/badge/style.css";
|
|
26
|
+
import "vue-devui-lal/tabs/style.css";
|
|
27
|
+
import "vue-devui-lal/input";
|
|
28
|
+
import "vue-devui-lal/form";
|
|
29
|
+
import "vue-devui-lal/input/style.css";
|
|
30
|
+
import "vue-devui-lal/form/style.css";
|
|
31
|
+
import "vue-devui-lal/notification";
|
|
32
|
+
import "vue-devui-lal/notification/style.css";
|
|
33
|
+
import "vue-devui-lal/select";
|
|
34
|
+
import "vue-devui-lal/menu";
|
|
35
|
+
import "vue-devui-lal/select/style.css";
|
|
36
|
+
import "vue-devui-lal/menu/style.css";
|
|
37
|
+
import "vue-devui-lal/drawer";
|
|
38
|
+
import "vue-devui-lal/layout";
|
|
39
|
+
import "vue-devui-lal/drawer/style.css";
|
|
40
|
+
import "vue-devui-lal/layout/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";
|
|
44
|
+
import "vue-devui-lal/checkbox";
|
|
45
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
+
import "vue-devui-lal/modal";
|
|
47
|
+
import "vue-devui-lal/modal/style.css";
|
|
48
|
+
const ProjectSearch_vue_vue_type_style_index_0_lang = "";
|
|
6
49
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|
|
7
50
|
const _hoisted_2 = { class: "history-list-project-globartitle mb-[4px] mt-[16px]" };
|
|
8
51
|
const _hoisted_3 = ["href"];
|
|
@@ -20,7 +63,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ name: "SearchFileList" }, {
|
|
|
20
63
|
const API = headRequest(inject("request"));
|
|
21
64
|
const loadFileList = async () => {
|
|
22
65
|
var _a, _b, _c;
|
|
23
|
-
if (!((_a = props == null ? void 0 : props.searchInfo) == null ? void 0 : _a.searchScopeName))
|
|
66
|
+
if (!((_a = props == null ? void 0 : props.searchInfo) == null ? void 0 : _a.searchScopeName))
|
|
67
|
+
return;
|
|
24
68
|
const params = {
|
|
25
69
|
repoId: encodeURIComponent(props.searchInfo.searchScopeName),
|
|
26
70
|
ref_name: ((_b = props.searchInfo) == null ? void 0 : _b.branch) || ""
|
|
@@ -1,7 +1,50 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers, createCommentVNode } from "vue";
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-eb00e338.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
|
+
import "vue-devui-lal/button";
|
|
6
|
+
import "vue-devui-lal/popover";
|
|
7
|
+
import "vue-devui-lal/tooltip";
|
|
8
|
+
import "vue-devui-lal/textarea";
|
|
9
|
+
import "vue-devui-lal/button/style.css";
|
|
10
|
+
import "vue-devui-lal/popover/style.css";
|
|
11
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
12
|
+
import "vue-devui-lal/textarea/style.css";
|
|
13
|
+
import "vue-router";
|
|
14
|
+
import "@vueuse/core";
|
|
15
|
+
import "vue-devui-lal/avatar";
|
|
16
|
+
import "vue-devui-lal/avatar/style.css";
|
|
17
|
+
import "vue-devui-lal/dropdown";
|
|
18
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
19
|
+
import "dayjs";
|
|
20
|
+
import "vue-devui-lal/skeleton";
|
|
21
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
22
|
+
import "vue-devui-lal/message";
|
|
23
|
+
import "vue-devui-lal/message/style.css";
|
|
24
|
+
import "vue-devui-lal/badge";
|
|
25
|
+
import "vue-devui-lal/badge/style.css";
|
|
26
|
+
import "vue-devui-lal/tabs/style.css";
|
|
27
|
+
import "vue-devui-lal/input";
|
|
28
|
+
import "vue-devui-lal/form";
|
|
29
|
+
import "vue-devui-lal/input/style.css";
|
|
30
|
+
import "vue-devui-lal/form/style.css";
|
|
31
|
+
import "vue-devui-lal/notification";
|
|
32
|
+
import "vue-devui-lal/notification/style.css";
|
|
33
|
+
import "vue-devui-lal/select";
|
|
34
|
+
import "vue-devui-lal/menu";
|
|
35
|
+
import "vue-devui-lal/select/style.css";
|
|
36
|
+
import "vue-devui-lal/menu/style.css";
|
|
37
|
+
import "vue-devui-lal/drawer";
|
|
38
|
+
import "vue-devui-lal/layout";
|
|
39
|
+
import "vue-devui-lal/drawer/style.css";
|
|
40
|
+
import "vue-devui-lal/layout/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";
|
|
44
|
+
import "vue-devui-lal/checkbox";
|
|
45
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
+
import "vue-devui-lal/modal";
|
|
47
|
+
import "vue-devui-lal/modal/style.css";
|
|
5
48
|
const _hoisted_1 = { class: "history-list" };
|
|
6
49
|
const _hoisted_2 = ["onClick", "onMouseenter"];
|
|
7
50
|
const _hoisted_3 = { class: "history-list-box__content flex items-center w-full" };
|
|
@@ -93,7 +136,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
136
|
};
|
|
94
137
|
}
|
|
95
138
|
});
|
|
96
|
-
const
|
|
139
|
+
const SearchHistoryList_vue_vue_type_style_index_0_scoped_8ddb64f7_lang = "";
|
|
140
|
+
const SearchHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8ddb64f7"]]);
|
|
97
141
|
export {
|
|
98
142
|
SearchHistoryList as default
|
|
99
143
|
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, withModifiers, createVNode, vShow } from "vue";
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-eb00e338.js";
|
|
3
|
+
import "vue-devui-lal/icon";
|
|
4
|
+
import "vue-devui-lal/icon/style.css";
|
|
5
|
+
import "vue-devui-lal/button";
|
|
6
|
+
import "vue-devui-lal/popover";
|
|
7
|
+
import "vue-devui-lal/tooltip";
|
|
8
|
+
import "vue-devui-lal/textarea";
|
|
9
|
+
import "vue-devui-lal/button/style.css";
|
|
10
|
+
import "vue-devui-lal/popover/style.css";
|
|
11
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
12
|
+
import "vue-devui-lal/textarea/style.css";
|
|
13
|
+
import "vue-router";
|
|
14
|
+
import "@vueuse/core";
|
|
15
|
+
import "vue-devui-lal/avatar";
|
|
16
|
+
import "vue-devui-lal/avatar/style.css";
|
|
17
|
+
import "vue-devui-lal/dropdown";
|
|
18
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
19
|
+
import "dayjs";
|
|
20
|
+
import "vue-devui-lal/skeleton";
|
|
21
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
22
|
+
import "vue-devui-lal/message";
|
|
23
|
+
import "vue-devui-lal/message/style.css";
|
|
24
|
+
import "vue-devui-lal/badge";
|
|
25
|
+
import "vue-devui-lal/badge/style.css";
|
|
26
|
+
import "vue-devui-lal/tabs/style.css";
|
|
27
|
+
import "vue-devui-lal/input";
|
|
28
|
+
import "vue-devui-lal/form";
|
|
29
|
+
import "vue-devui-lal/input/style.css";
|
|
30
|
+
import "vue-devui-lal/form/style.css";
|
|
31
|
+
import "vue-devui-lal/notification";
|
|
32
|
+
import "vue-devui-lal/notification/style.css";
|
|
33
|
+
import "vue-devui-lal/select";
|
|
34
|
+
import "vue-devui-lal/menu";
|
|
35
|
+
import "vue-devui-lal/select/style.css";
|
|
36
|
+
import "vue-devui-lal/menu/style.css";
|
|
37
|
+
import "vue-devui-lal/drawer";
|
|
38
|
+
import "vue-devui-lal/layout";
|
|
39
|
+
import "vue-devui-lal/drawer/style.css";
|
|
40
|
+
import "vue-devui-lal/layout/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";
|
|
44
|
+
import "vue-devui-lal/checkbox";
|
|
45
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
+
import "vue-devui-lal/modal";
|
|
47
|
+
import "vue-devui-lal/modal/style.css";
|
|
48
|
+
const _hoisted_1 = { class: "ellipsis" };
|
|
49
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
50
|
+
__name: "SearchPrefixTag",
|
|
51
|
+
props: {
|
|
52
|
+
tag: {},
|
|
53
|
+
closeVisible: { type: Boolean }
|
|
54
|
+
},
|
|
55
|
+
emits: ["inputClick", "closeTag"],
|
|
56
|
+
setup(__props, { emit: __emit }) {
|
|
57
|
+
const emits = __emit;
|
|
58
|
+
const onInputClick = () => {
|
|
59
|
+
emits("inputClick");
|
|
60
|
+
};
|
|
61
|
+
const onCloseTag = () => {
|
|
62
|
+
emits("closeTag");
|
|
63
|
+
};
|
|
64
|
+
return (_ctx, _cache) => {
|
|
65
|
+
return openBlock(), createElementBlock("p", {
|
|
66
|
+
class: "g-header-search-projectname flex items-center px-[16px]",
|
|
67
|
+
onClick: onInputClick
|
|
68
|
+
}, [
|
|
69
|
+
createElementVNode("span", _hoisted_1, toDisplayString(_ctx.tag), 1),
|
|
70
|
+
withDirectives(createElementVNode("span", {
|
|
71
|
+
class: "g-header-search-projectname-close ml-[12px] flex",
|
|
72
|
+
onClick: withModifiers(onCloseTag, ["stop"])
|
|
73
|
+
}, [
|
|
74
|
+
createVNode(GIcon, {
|
|
75
|
+
name: "icon-close",
|
|
76
|
+
color: "#fff",
|
|
77
|
+
size: "7px"
|
|
78
|
+
})
|
|
79
|
+
], 512), [
|
|
80
|
+
[vShow, _ctx.closeVisible]
|
|
81
|
+
])
|
|
82
|
+
]);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
const SearchPrefixTag_vue_vue_type_style_index_0_scoped_87adc0d6_lang = "";
|
|
87
|
+
const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-87adc0d6"]]);
|
|
88
|
+
export {
|
|
89
|
+
SearchPrefixTag as default
|
|
90
|
+
};
|
|
@@ -1,10 +1,53 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, onMounted,
|
|
2
|
-
import { u as useReportRepo, S as SearchRepoCard } from "./index-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE,
|
|
1
|
+
import { defineComponent, inject, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-21c0ec8f.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-eb00e338.js";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { SkeletonItem } from "vue-devui-lal/skeleton";
|
|
6
6
|
import "vue-devui-lal/grid/style.css";
|
|
7
7
|
import "vue-devui-lal/skeleton/style.css";
|
|
8
|
+
import "vue-router";
|
|
9
|
+
import "@vueuse/core";
|
|
10
|
+
import "vue-devui-lal/button";
|
|
11
|
+
import "vue-devui-lal/popover";
|
|
12
|
+
import "vue-devui-lal/tooltip";
|
|
13
|
+
import "vue-devui-lal/textarea";
|
|
14
|
+
import "vue-devui-lal/button/style.css";
|
|
15
|
+
import "vue-devui-lal/popover/style.css";
|
|
16
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
17
|
+
import "vue-devui-lal/textarea/style.css";
|
|
18
|
+
import "vue-devui-lal/icon";
|
|
19
|
+
import "vue-devui-lal/icon/style.css";
|
|
20
|
+
import "vue-devui-lal/avatar";
|
|
21
|
+
import "vue-devui-lal/avatar/style.css";
|
|
22
|
+
import "vue-devui-lal/dropdown";
|
|
23
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
24
|
+
import "dayjs";
|
|
25
|
+
import "vue-devui-lal/message";
|
|
26
|
+
import "vue-devui-lal/message/style.css";
|
|
27
|
+
import "vue-devui-lal/badge";
|
|
28
|
+
import "vue-devui-lal/badge/style.css";
|
|
29
|
+
import "vue-devui-lal/tabs/style.css";
|
|
30
|
+
import "vue-devui-lal/input";
|
|
31
|
+
import "vue-devui-lal/form";
|
|
32
|
+
import "vue-devui-lal/input/style.css";
|
|
33
|
+
import "vue-devui-lal/form/style.css";
|
|
34
|
+
import "vue-devui-lal/notification";
|
|
35
|
+
import "vue-devui-lal/notification/style.css";
|
|
36
|
+
import "vue-devui-lal/select";
|
|
37
|
+
import "vue-devui-lal/menu";
|
|
38
|
+
import "vue-devui-lal/select/style.css";
|
|
39
|
+
import "vue-devui-lal/menu/style.css";
|
|
40
|
+
import "vue-devui-lal/drawer";
|
|
41
|
+
import "vue-devui-lal/layout";
|
|
42
|
+
import "vue-devui-lal/drawer/style.css";
|
|
43
|
+
import "vue-devui-lal/layout/style.css";
|
|
44
|
+
import "vue-devui-lal/radio";
|
|
45
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
46
|
+
import "vue-devui-lal/radio/style.css";
|
|
47
|
+
import "vue-devui-lal/checkbox";
|
|
48
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
49
|
+
import "vue-devui-lal/modal";
|
|
50
|
+
import "vue-devui-lal/modal/style.css";
|
|
8
51
|
const _hoisted_1 = { class: "g-header-search-recommed" };
|
|
9
52
|
const _hoisted_2 = { key: 0 };
|
|
10
53
|
const _hoisted_3 = { class: "g-header-search-recommed-title" };
|
|
@@ -137,7 +180,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
180
|
};
|
|
138
181
|
}
|
|
139
182
|
});
|
|
140
|
-
const
|
|
183
|
+
const SearchRecommed_vue_vue_type_style_index_0_scoped_6d3c2075_lang = "";
|
|
184
|
+
const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6d3c2075"]]);
|
|
141
185
|
export {
|
|
142
186
|
SearchRecommed as default
|
|
143
187
|
};
|
|
@@ -1,7 +1,50 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-eb00e338.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
|
+
import "vue-devui-lal/button";
|
|
6
|
+
import "vue-devui-lal/popover";
|
|
7
|
+
import "vue-devui-lal/tooltip";
|
|
8
|
+
import "vue-devui-lal/textarea";
|
|
9
|
+
import "vue-devui-lal/button/style.css";
|
|
10
|
+
import "vue-devui-lal/popover/style.css";
|
|
11
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
12
|
+
import "vue-devui-lal/textarea/style.css";
|
|
13
|
+
import "vue-router";
|
|
14
|
+
import "@vueuse/core";
|
|
15
|
+
import "vue-devui-lal/avatar";
|
|
16
|
+
import "vue-devui-lal/avatar/style.css";
|
|
17
|
+
import "vue-devui-lal/dropdown";
|
|
18
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
19
|
+
import "dayjs";
|
|
20
|
+
import "vue-devui-lal/skeleton";
|
|
21
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
22
|
+
import "vue-devui-lal/message";
|
|
23
|
+
import "vue-devui-lal/message/style.css";
|
|
24
|
+
import "vue-devui-lal/badge";
|
|
25
|
+
import "vue-devui-lal/badge/style.css";
|
|
26
|
+
import "vue-devui-lal/tabs/style.css";
|
|
27
|
+
import "vue-devui-lal/input";
|
|
28
|
+
import "vue-devui-lal/form";
|
|
29
|
+
import "vue-devui-lal/input/style.css";
|
|
30
|
+
import "vue-devui-lal/form/style.css";
|
|
31
|
+
import "vue-devui-lal/notification";
|
|
32
|
+
import "vue-devui-lal/notification/style.css";
|
|
33
|
+
import "vue-devui-lal/select";
|
|
34
|
+
import "vue-devui-lal/menu";
|
|
35
|
+
import "vue-devui-lal/select/style.css";
|
|
36
|
+
import "vue-devui-lal/menu/style.css";
|
|
37
|
+
import "vue-devui-lal/drawer";
|
|
38
|
+
import "vue-devui-lal/layout";
|
|
39
|
+
import "vue-devui-lal/drawer/style.css";
|
|
40
|
+
import "vue-devui-lal/layout/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";
|
|
44
|
+
import "vue-devui-lal/checkbox";
|
|
45
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
+
import "vue-devui-lal/modal";
|
|
47
|
+
import "vue-devui-lal/modal/style.css";
|
|
5
48
|
const _hoisted_1 = ["onClick"];
|
|
6
49
|
const _hoisted_2 = { class: "flex linkItem pl-[9px] pr-[19px]" };
|
|
7
50
|
const _hoisted_3 = { class: "leftTx ellipsis" };
|
|
@@ -55,7 +98,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
98
|
};
|
|
56
99
|
}
|
|
57
100
|
});
|
|
58
|
-
const
|
|
101
|
+
const SearchScopeList_vue_vue_type_style_index_0_scoped_2b0b67b9_lang = "";
|
|
102
|
+
const SearchScopeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2b0b67b9"]]);
|
|
59
103
|
export {
|
|
60
104
|
SearchScopeList as default
|
|
61
105
|
};
|
|
@@ -1,7 +1,51 @@
|
|
|
1
|
-
import { inject, ref, watch, withDirectives,
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon } from "./index-
|
|
1
|
+
import { inject, ref, watch, withDirectives, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-eb00e338.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
|
+
import "vue-devui-lal/button";
|
|
6
|
+
import "vue-devui-lal/popover";
|
|
7
|
+
import "vue-devui-lal/tooltip";
|
|
8
|
+
import "vue-devui-lal/textarea";
|
|
9
|
+
import "vue-devui-lal/button/style.css";
|
|
10
|
+
import "vue-devui-lal/popover/style.css";
|
|
11
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
12
|
+
import "vue-devui-lal/textarea/style.css";
|
|
13
|
+
import "vue-router";
|
|
14
|
+
import "@vueuse/core";
|
|
15
|
+
import "vue-devui-lal/avatar";
|
|
16
|
+
import "vue-devui-lal/avatar/style.css";
|
|
17
|
+
import "vue-devui-lal/dropdown";
|
|
18
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
19
|
+
import "dayjs";
|
|
20
|
+
import "vue-devui-lal/skeleton";
|
|
21
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
22
|
+
import "vue-devui-lal/message";
|
|
23
|
+
import "vue-devui-lal/message/style.css";
|
|
24
|
+
import "vue-devui-lal/badge";
|
|
25
|
+
import "vue-devui-lal/badge/style.css";
|
|
26
|
+
import "vue-devui-lal/tabs/style.css";
|
|
27
|
+
import "vue-devui-lal/input";
|
|
28
|
+
import "vue-devui-lal/form";
|
|
29
|
+
import "vue-devui-lal/input/style.css";
|
|
30
|
+
import "vue-devui-lal/form/style.css";
|
|
31
|
+
import "vue-devui-lal/notification";
|
|
32
|
+
import "vue-devui-lal/notification/style.css";
|
|
33
|
+
import "vue-devui-lal/select";
|
|
34
|
+
import "vue-devui-lal/menu";
|
|
35
|
+
import "vue-devui-lal/select/style.css";
|
|
36
|
+
import "vue-devui-lal/menu/style.css";
|
|
37
|
+
import "vue-devui-lal/drawer";
|
|
38
|
+
import "vue-devui-lal/layout";
|
|
39
|
+
import "vue-devui-lal/drawer/style.css";
|
|
40
|
+
import "vue-devui-lal/layout/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";
|
|
44
|
+
import "vue-devui-lal/checkbox";
|
|
45
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
+
import "vue-devui-lal/modal";
|
|
47
|
+
import "vue-devui-lal/modal/style.css";
|
|
48
|
+
const UserSearch_vue_vue_type_style_index_0_lang = "";
|
|
5
49
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|
|
6
50
|
const _hoisted_2 = { class: "history-list-project-globartitle mb-[4px] mt-[16px]" };
|
|
7
51
|
const _hoisted_3 = ["href"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject,
|
|
2
|
-
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource,
|
|
1
|
+
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, normalizeStyle, createCommentVNode, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
+
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, r as reqCatch, h as headRequest, f as useRequestReport, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-eb00e338.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -28,8 +28,10 @@ const useReportRepo = (reportParams, viewReport) => {
|
|
|
28
28
|
};
|
|
29
29
|
const formatItem = (data) => {
|
|
30
30
|
const channelNames = [];
|
|
31
|
-
if (data.channelName)
|
|
32
|
-
|
|
31
|
+
if (data.channelName)
|
|
32
|
+
channelNames.push(data.channelName);
|
|
33
|
+
if (data.subChannelName)
|
|
34
|
+
channelNames.push(data.subChannelName);
|
|
33
35
|
const repoId = isNaN(Number(data.id)) ? data.id : Number(data.id);
|
|
34
36
|
return {
|
|
35
37
|
type: "gitcode",
|
|
@@ -122,7 +124,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
122
124
|
useReport("login_exposure", { source: props.loginTriggerSource || "search_star_repo_recommend" });
|
|
123
125
|
}
|
|
124
126
|
try {
|
|
125
|
-
if (starLoading.value)
|
|
127
|
+
if (starLoading.value)
|
|
128
|
+
return;
|
|
126
129
|
starLoading.value = true;
|
|
127
130
|
const params = { repoId: props.starInfo.id };
|
|
128
131
|
let res;
|
|
@@ -188,7 +191,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
188
191
|
};
|
|
189
192
|
}
|
|
190
193
|
});
|
|
191
|
-
const
|
|
194
|
+
const index_vue_vue_type_style_index_0_scoped_9f26f456_lang = "";
|
|
195
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-9f26f456"]]);
|
|
192
196
|
const _hoisted_1$4 = { class: "fork-tag" };
|
|
193
197
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
194
198
|
__name: "index",
|
|
@@ -213,7 +217,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
213
217
|
};
|
|
214
218
|
}
|
|
215
219
|
});
|
|
216
|
-
const
|
|
220
|
+
const index_vue_vue_type_style_index_0_scoped_cb84d9d8_lang = "";
|
|
221
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cb84d9d8"]]);
|
|
217
222
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
218
223
|
__name: "index",
|
|
219
224
|
props: {
|
|
@@ -259,7 +264,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
259
264
|
};
|
|
260
265
|
}
|
|
261
266
|
});
|
|
262
|
-
const
|
|
267
|
+
const index_vue_vue_type_style_index_0_scoped_f41c9ade_lang = "";
|
|
268
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f41c9ade"]]);
|
|
263
269
|
const _hoisted_1$3 = { class: "star-count-one" };
|
|
264
270
|
const _hoisted_2$3 = { key: 0 };
|
|
265
271
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -286,7 +292,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
286
292
|
};
|
|
287
293
|
}
|
|
288
294
|
});
|
|
289
|
-
const
|
|
295
|
+
const index_vue_vue_type_style_index_0_scoped_33d28127_lang = "";
|
|
296
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-33d28127"]]);
|
|
290
297
|
const _hoisted_1$2 = {
|
|
291
298
|
key: 0,
|
|
292
299
|
class: "github-star-num"
|
|
@@ -321,7 +328,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
321
328
|
};
|
|
322
329
|
}
|
|
323
330
|
});
|
|
324
|
-
const
|
|
331
|
+
const index_vue_vue_type_style_index_0_scoped_04cad993_lang = "";
|
|
332
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-04cad993"]]);
|
|
325
333
|
const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
|
|
326
334
|
const _hoisted_2$1 = {
|
|
327
335
|
key: 3,
|
|
@@ -413,7 +421,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
413
421
|
};
|
|
414
422
|
}
|
|
415
423
|
});
|
|
416
|
-
const
|
|
424
|
+
const index_vue_vue_type_style_index_0_scoped_094a8d14_lang = "";
|
|
425
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-094a8d14"]]);
|
|
417
426
|
const _hoisted_1 = ["innerHTML"];
|
|
418
427
|
const _hoisted_2 = {
|
|
419
428
|
key: 0,
|
|
@@ -515,7 +524,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
515
524
|
return highlightWords(keyword, contentArr.join("/"), true);
|
|
516
525
|
};
|
|
517
526
|
onMounted(() => {
|
|
518
|
-
if (props.info.is_recommend && props.info.index === 0)
|
|
527
|
+
if (props.info.is_recommend && props.info.index === 0)
|
|
528
|
+
handleQueryGraph();
|
|
519
529
|
});
|
|
520
530
|
return (_ctx, _cache) => {
|
|
521
531
|
return openBlock(), createElementBlock("a", {
|
|
@@ -549,8 +559,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
549
559
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
550
560
|
createTextVNode("G-Star ")
|
|
551
561
|
])),
|
|
552
|
-
_: 1
|
|
553
|
-
__: [0]
|
|
562
|
+
_: 1
|
|
554
563
|
}, 8, ["message"])
|
|
555
564
|
])) : createCommentVNode("", true),
|
|
556
565
|
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
@@ -563,8 +572,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
563
572
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
564
573
|
createTextVNode(" G-Star ")
|
|
565
574
|
])),
|
|
566
|
-
_: 1
|
|
567
|
-
__: [1]
|
|
575
|
+
_: 1
|
|
568
576
|
}, 8, ["message"])
|
|
569
577
|
])) : createCommentVNode("", true)
|
|
570
578
|
]),
|
|
@@ -641,7 +649,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
641
649
|
};
|
|
642
650
|
}
|
|
643
651
|
});
|
|
644
|
-
const
|
|
652
|
+
const index_vue_vue_type_style_index_0_scoped_39fd44ed_lang = "";
|
|
653
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39fd44ed"]]);
|
|
645
654
|
export {
|
|
646
655
|
SearchRepoCard as S,
|
|
647
656
|
formatNameSpace as f,
|