vue-layout-gitcode 1.2.12 → 1.3.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/{GloabarSearch-C3Ey-5q5.js → GloabarSearch-f1549cc3.js} +49 -3
- package/{ProjectSearch-COlz1P94.js → ProjectSearch-2e519444.js} +47 -3
- package/{SearchHistoryList-CPy5537r.js → SearchHistoryList-4d38822f.js} +47 -3
- package/SearchPrefixTag-4a66a078.js +90 -0
- package/{SearchRecommed-8XZPId6l.js → SearchRecommed-fae62e89.js} +48 -4
- package/{SearchScopeList-B23AYdON.js → SearchScopeList-2e5454de.js} +47 -3
- package/{UserSearch-ybklO6i8.js → UserSearch-3d910212.js} +46 -2
- package/{index-DAsZH1rR.js → index-9d61ece9.js} +24 -13
- package/{index-V8OJRYgR.js → index-ba108af8.js} +1230 -973
- package/{index-DtTjVW2g.js → index-f3d0c3cc.js} +49 -3
- package/index.js +47 -1
- package/{notice-Cz1BwQDI.js → notice-2ca46a45.js} +43 -2
- package/package.json +1 -1
- package/style.css +1 -1
- package/SearchPrefixTag-D2ciSlOO.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-ba108af8.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-9d61ece9.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-ba108af8.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-ba108af8.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-ba108af8.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-9d61ece9.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-ba108af8.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-ba108af8.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-ba108af8.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, inject,
|
|
2
|
-
import { d as debounce, G as GIcon, s as setLoginTriggerSource,
|
|
1
|
+
import { ref, watchEffect, defineComponent, toDisplayString, inject, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, unref, normalizeStyle, createCommentVNode, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
+
import { d as debounce, 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, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-ba108af8.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",
|
|
@@ -147,7 +149,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
147
149
|
useReport("login_exposure", { source: props.loginTriggerSource || "search_star_repo_recommend" });
|
|
148
150
|
}
|
|
149
151
|
try {
|
|
150
|
-
if (starLoading.value)
|
|
152
|
+
if (starLoading.value)
|
|
153
|
+
return;
|
|
151
154
|
starLoading.value = true;
|
|
152
155
|
const params = { repoId: props.starInfo.id };
|
|
153
156
|
let res;
|
|
@@ -213,7 +216,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
213
216
|
};
|
|
214
217
|
}
|
|
215
218
|
});
|
|
216
|
-
const
|
|
219
|
+
const index_vue_vue_type_style_index_0_scoped_9f26f456_lang = "";
|
|
220
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-9f26f456"]]);
|
|
217
221
|
const _hoisted_1$4 = { class: "fork-tag" };
|
|
218
222
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
219
223
|
__name: "index",
|
|
@@ -238,7 +242,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
238
242
|
};
|
|
239
243
|
}
|
|
240
244
|
});
|
|
241
|
-
const
|
|
245
|
+
const index_vue_vue_type_style_index_0_scoped_cb84d9d8_lang = "";
|
|
246
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cb84d9d8"]]);
|
|
242
247
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
243
248
|
__name: "index",
|
|
244
249
|
props: {
|
|
@@ -284,7 +289,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
284
289
|
};
|
|
285
290
|
}
|
|
286
291
|
});
|
|
287
|
-
const
|
|
292
|
+
const index_vue_vue_type_style_index_0_scoped_f41c9ade_lang = "";
|
|
293
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f41c9ade"]]);
|
|
288
294
|
const _hoisted_1$3 = { class: "star-count-one" };
|
|
289
295
|
const _hoisted_2$3 = { key: 0 };
|
|
290
296
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -311,7 +317,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
311
317
|
};
|
|
312
318
|
}
|
|
313
319
|
});
|
|
314
|
-
const
|
|
320
|
+
const index_vue_vue_type_style_index_0_scoped_33d28127_lang = "";
|
|
321
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-33d28127"]]);
|
|
315
322
|
const _hoisted_1$2 = { class: "github-star-num" };
|
|
316
323
|
const _hoisted_2$2 = { class: "leading-none" };
|
|
317
324
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -338,7 +345,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
338
345
|
};
|
|
339
346
|
}
|
|
340
347
|
});
|
|
341
|
-
const
|
|
348
|
+
const index_vue_vue_type_style_index_0_scoped_49819ac3_lang = "";
|
|
349
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-49819ac3"]]);
|
|
342
350
|
const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
|
|
343
351
|
const _hoisted_2$1 = {
|
|
344
352
|
key: 3,
|
|
@@ -430,7 +438,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
430
438
|
};
|
|
431
439
|
}
|
|
432
440
|
});
|
|
433
|
-
const
|
|
441
|
+
const index_vue_vue_type_style_index_0_scoped_e5f7b6fb_lang = "";
|
|
442
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e5f7b6fb"]]);
|
|
434
443
|
const _hoisted_1 = ["innerHTML"];
|
|
435
444
|
const _hoisted_2 = {
|
|
436
445
|
key: 0,
|
|
@@ -532,7 +541,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
532
541
|
return highlightWords(keyword, contentArr.join("/"), true);
|
|
533
542
|
};
|
|
534
543
|
onMounted(() => {
|
|
535
|
-
if (props.info.is_recommend && props.info.index === 0)
|
|
544
|
+
if (props.info.is_recommend && props.info.index === 0)
|
|
545
|
+
handleQueryGraph();
|
|
536
546
|
});
|
|
537
547
|
return (_ctx, _cache) => {
|
|
538
548
|
return openBlock(), createElementBlock("a", {
|
|
@@ -656,7 +666,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
656
666
|
};
|
|
657
667
|
}
|
|
658
668
|
});
|
|
659
|
-
const
|
|
669
|
+
const index_vue_vue_type_style_index_0_scoped_39fd44ed_lang = "";
|
|
670
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39fd44ed"]]);
|
|
660
671
|
export {
|
|
661
672
|
SearchRepoCard as S,
|
|
662
673
|
formatNameSpace as f,
|