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