vue-layout-gitcode 1.0.17 → 1.0.19
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-51b31b6f.js → GloabarSearch-05b1a926.js} +5 -5
- package/{ProjectSearch-40aa816f.js → ProjectSearch-744cc286.js} +4 -4
- package/{SearchHistoryList-7490cf43.js → SearchHistoryList-ea97ce0f.js} +3 -4
- package/{SearchPrefixTag-c5978bb2.js → SearchPrefixTag-35cd5cbd.js} +3 -4
- package/{SearchRecommed-1280784b.js → SearchRecommed-b77e292b.js} +22 -21
- package/{SearchScopeList-fc76a0f1.js → SearchScopeList-ed860d21.js} +6 -6
- package/{UserSearch-23a6480e.js → UserSearch-ed3de4bb.js} +4 -4
- package/{formatNameSpace-93ae8229.js → formatNameSpace-b20908aa.js} +1 -1
- package/{index-a583a8fc.js → index-291ee909.js} +9608 -3624
- package/{index-54127d1d.js → index-76a49893.js} +3 -4
- package/index.d.ts +2 -547
- package/index.js +3 -5
- package/{notice-20aa8e64.js → notice-e52caee7.js} +1 -2
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { inject, ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList,
|
|
2
|
-
import { h as headRequest, R as REPO_MODULE, t as transWebUrl, I as Icon,
|
|
3
|
-
import { u as useReportRepo, f as formatNameSpace } from "./formatNameSpace-
|
|
1
|
+
import { inject, ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, createCommentVNode } from "vue";
|
|
2
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, t as transWebUrl, I as Icon, b as useReport, c as REPO_EVENT, d as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-291ee909.js";
|
|
3
|
+
import { u as useReportRepo, f as formatNameSpace } from "./formatNameSpace-b20908aa.js";
|
|
4
4
|
import "vue-devui-lal/icon";
|
|
5
5
|
import "vue-devui-lal/icon/style.css";
|
|
6
6
|
import "vue-devui-lal/button";
|
|
@@ -11,7 +11,6 @@ import "vue-devui-lal/button/style.css";
|
|
|
11
11
|
import "vue-devui-lal/popover/style.css";
|
|
12
12
|
import "vue-devui-lal/tooltip/style.css";
|
|
13
13
|
import "vue-devui-lal/textarea/style.css";
|
|
14
|
-
import "vue-i18n";
|
|
15
14
|
import "vue-router";
|
|
16
15
|
import "@vueuse/core";
|
|
17
16
|
import "vue-devui-lal/avatar";
|
|
@@ -60,6 +59,7 @@ const _sfc_main = {
|
|
|
60
59
|
__name: "GloabarSearch",
|
|
61
60
|
props: ["searchStr"],
|
|
62
61
|
setup(__props) {
|
|
62
|
+
const { t: $t } = i18n.global;
|
|
63
63
|
const API = headRequest(inject("request"));
|
|
64
64
|
const { triggerReport } = useReportRepo({ moduleName: REPO_MODULE.SEARCH_SUGGESTION_CARD }, API.viewReport);
|
|
65
65
|
const searchFileList = ref([]);
|
|
@@ -114,7 +114,7 @@ const _sfc_main = {
|
|
|
114
114
|
});
|
|
115
115
|
return (_ctx, _cache) => {
|
|
116
116
|
return searchFileList.value.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
117
|
-
createElementVNode("p", _hoisted_2, toDisplayString(
|
|
117
|
+
createElementVNode("p", _hoisted_2, toDisplayString(unref($t)("gitCodeLayout.header.repo")), 1),
|
|
118
118
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchFileList.value, (item) => {
|
|
119
119
|
return openBlock(), createElementBlock("a", {
|
|
120
120
|
href: unref(transWebUrl)(item.path, { source_module: "search_project" }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, inject, computed, withDirectives, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { h as headRequest, I as Icon, 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, I as Icon, r as reqCatch } from "./index-291ee909.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";
|
|
@@ -11,7 +11,6 @@ import "vue-devui-lal/button/style.css";
|
|
|
11
11
|
import "vue-devui-lal/popover/style.css";
|
|
12
12
|
import "vue-devui-lal/tooltip/style.css";
|
|
13
13
|
import "vue-devui-lal/textarea/style.css";
|
|
14
|
-
import "vue-i18n";
|
|
15
14
|
import "@vueuse/core";
|
|
16
15
|
import "vue-devui-lal/avatar";
|
|
17
16
|
import "vue-devui-lal/avatar/style.css";
|
|
@@ -56,6 +55,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ name: "SearchFileList" }, {
|
|
|
56
55
|
__name: "ProjectSearch",
|
|
57
56
|
props: ["searchStr", "searchInfo", "isSearchPage"],
|
|
58
57
|
setup(__props) {
|
|
58
|
+
const { t: $t } = i18n.global;
|
|
59
59
|
const props = __props;
|
|
60
60
|
const filedList = ref([]);
|
|
61
61
|
const route = useRoute();
|
|
@@ -105,7 +105,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ name: "SearchFileList" }, {
|
|
|
105
105
|
};
|
|
106
106
|
return (_ctx, _cache) => {
|
|
107
107
|
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
108
|
-
createElementVNode("p", _hoisted_2, toDisplayString(
|
|
108
|
+
createElementVNode("p", _hoisted_2, toDisplayString(unref($t)("gitCodeLayout.header.file")), 1),
|
|
109
109
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchFileList.value, (item, index) => {
|
|
110
110
|
return openBlock(), createElementBlock("a", {
|
|
111
111
|
key: index,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers, createCommentVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a as i18n, I as Icon, _ as _export_sfc } from "./index-291ee909.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -10,7 +10,6 @@ import "vue-devui-lal/button/style.css";
|
|
|
10
10
|
import "vue-devui-lal/popover/style.css";
|
|
11
11
|
import "vue-devui-lal/tooltip/style.css";
|
|
12
12
|
import "vue-devui-lal/textarea/style.css";
|
|
13
|
-
import "vue-i18n";
|
|
14
13
|
import "vue-router";
|
|
15
14
|
import "@vueuse/core";
|
|
16
15
|
import "vue-devui-lal/avatar";
|
|
@@ -137,8 +136,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
136
|
};
|
|
138
137
|
}
|
|
139
138
|
});
|
|
140
|
-
const
|
|
141
|
-
const SearchHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
139
|
+
const SearchHistoryList_vue_vue_type_style_index_0_scoped_291bc28d_lang = "";
|
|
140
|
+
const SearchHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-291bc28d"]]);
|
|
142
141
|
export {
|
|
143
142
|
SearchHistoryList as default
|
|
144
143
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, withModifiers, createVNode, vShow } from "vue";
|
|
2
|
-
import { I as Icon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { I as Icon, _ as _export_sfc } from "./index-291ee909.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -10,7 +10,6 @@ import "vue-devui-lal/button/style.css";
|
|
|
10
10
|
import "vue-devui-lal/popover/style.css";
|
|
11
11
|
import "vue-devui-lal/tooltip/style.css";
|
|
12
12
|
import "vue-devui-lal/textarea/style.css";
|
|
13
|
-
import "vue-i18n";
|
|
14
13
|
import "vue-router";
|
|
15
14
|
import "@vueuse/core";
|
|
16
15
|
import "vue-devui-lal/avatar";
|
|
@@ -84,8 +83,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
83
|
};
|
|
85
84
|
}
|
|
86
85
|
});
|
|
87
|
-
const
|
|
88
|
-
const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
86
|
+
const SearchPrefixTag_vue_vue_type_style_index_0_scoped_1fe2d39a_lang = "";
|
|
87
|
+
const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1fe2d39a"]]);
|
|
89
88
|
export {
|
|
90
89
|
SearchPrefixTag as default
|
|
91
90
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, toDisplayString, inject, ref, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, unref, normalizeStyle, createCommentVNode, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, resolveComponent, withCtx } from "vue";
|
|
2
|
-
import { h as headRequest, I as Icon, r as reqCatch, _ as _export_sfc, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize,
|
|
3
|
-
import { f as formatNameSpace, u as useReportRepo } from "./formatNameSpace-
|
|
2
|
+
import { h as headRequest, I as Icon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as highlightWords, t as transWebUrl, k as _frEventTrack, E as EVENT_NAME, d as REPO_TYPE, e as extractRepoInfoWithURL, R as REPO_MODULE, b as useReport, c as REPO_EVENT } from "./index-291ee909.js";
|
|
3
|
+
import { f as formatNameSpace, u as useReportRepo } from "./formatNameSpace-b20908aa.js";
|
|
4
4
|
import { useRouter } from "vue-router";
|
|
5
5
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
6
6
|
import "vue-devui-lal/grid/style.css";
|
|
@@ -14,7 +14,6 @@ import "vue-devui-lal/tooltip/style.css";
|
|
|
14
14
|
import "vue-devui-lal/textarea/style.css";
|
|
15
15
|
import "vue-devui-lal/icon";
|
|
16
16
|
import "vue-devui-lal/icon/style.css";
|
|
17
|
-
import "vue-i18n";
|
|
18
17
|
import "@vueuse/core";
|
|
19
18
|
import "vue-devui-lal/avatar";
|
|
20
19
|
import "vue-devui-lal/avatar/style.css";
|
|
@@ -180,8 +179,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
180
179
|
};
|
|
181
180
|
}
|
|
182
181
|
});
|
|
183
|
-
const
|
|
184
|
-
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
182
|
+
const index_vue_vue_type_style_index_0_scoped_754df2e0_lang = "";
|
|
183
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-754df2e0"]]);
|
|
185
184
|
const _hoisted_1$5 = { class: "fork-tag" };
|
|
186
185
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
187
186
|
__name: "index",
|
|
@@ -206,8 +205,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
206
205
|
};
|
|
207
206
|
}
|
|
208
207
|
});
|
|
209
|
-
const
|
|
210
|
-
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
208
|
+
const index_vue_vue_type_style_index_0_scoped_98be5d7f_lang = "";
|
|
209
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-98be5d7f"]]);
|
|
211
210
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
212
211
|
__name: "index",
|
|
213
212
|
props: {
|
|
@@ -253,8 +252,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
253
252
|
};
|
|
254
253
|
}
|
|
255
254
|
});
|
|
256
|
-
const
|
|
257
|
-
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
255
|
+
const index_vue_vue_type_style_index_0_scoped_6e1aad17_lang = "";
|
|
256
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6e1aad17"]]);
|
|
258
257
|
const _hoisted_1$4 = { class: "star-count-one" };
|
|
259
258
|
const _hoisted_2$4 = { key: 0 };
|
|
260
259
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
@@ -265,6 +264,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
265
264
|
hideText: { type: Boolean }
|
|
266
265
|
},
|
|
267
266
|
setup(__props) {
|
|
267
|
+
const { t: $t } = i18n.global;
|
|
268
268
|
return (_ctx, _cache) => {
|
|
269
269
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
270
270
|
createVNode(Icon, {
|
|
@@ -272,7 +272,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
272
272
|
color: "var(--theme-home-card-color-placeholder)",
|
|
273
273
|
size: "14"
|
|
274
274
|
}),
|
|
275
|
-
!_ctx.hideText ? (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(
|
|
275
|
+
!_ctx.hideText ? (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(unref($t)("gitCodeLayout.components.repo.today")), 1)) : createCommentVNode("", true),
|
|
276
276
|
createVNode(_sfc_main$8, {
|
|
277
277
|
number: _ctx.starCountOne || 0
|
|
278
278
|
}, null, 8, ["number"])
|
|
@@ -280,8 +280,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
const
|
|
284
|
-
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
283
|
+
const index_vue_vue_type_style_index_0_scoped_de8d9362_lang = "";
|
|
284
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-de8d9362"]]);
|
|
285
285
|
const _hoisted_1$3 = { class: "github-star-num" };
|
|
286
286
|
const _hoisted_2$3 = { class: "leading-none" };
|
|
287
287
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -308,8 +308,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
310
|
});
|
|
311
|
-
const
|
|
312
|
-
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
311
|
+
const index_vue_vue_type_style_index_0_scoped_7f7e79b1_lang = "";
|
|
312
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-7f7e79b1"]]);
|
|
313
313
|
const _hoisted_1$2 = { class: "repo-card-footer mt-[4px]" };
|
|
314
314
|
const _hoisted_2$2 = {
|
|
315
315
|
key: 3,
|
|
@@ -401,8 +401,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
403
|
});
|
|
404
|
-
const
|
|
405
|
-
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
404
|
+
const index_vue_vue_type_style_index_0_scoped_ca800e14_lang = "";
|
|
405
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-ca800e14"]]);
|
|
406
406
|
const _hoisted_1$1 = ["innerHTML"];
|
|
407
407
|
const _hoisted_2$1 = {
|
|
408
408
|
key: 0,
|
|
@@ -591,8 +591,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
593
|
});
|
|
594
|
-
const
|
|
595
|
-
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
594
|
+
const index_vue_vue_type_style_index_0_scoped_f42b3680_lang = "";
|
|
595
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f42b3680"]]);
|
|
596
596
|
const _hoisted_1 = { class: "g-header-search-recommed" };
|
|
597
597
|
const _hoisted_2 = { key: 0 };
|
|
598
598
|
const _hoisted_3 = { class: "g-header-search-recommed-title" };
|
|
@@ -600,6 +600,7 @@ const _hoisted_4 = { key: 1 };
|
|
|
600
600
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
601
601
|
__name: "SearchRecommed",
|
|
602
602
|
setup(__props) {
|
|
603
|
+
const { t: $t } = i18n.global;
|
|
603
604
|
const API = headRequest(inject("request"));
|
|
604
605
|
const { triggerReport } = useReportRepo({ moduleName: REPO_MODULE.SEARCH_SUGGESTION_CARD }, API.viewReport);
|
|
605
606
|
const recommendRepoList = ref([]);
|
|
@@ -641,7 +642,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
641
642
|
const _component_DSkeletonItem = resolveComponent("DSkeletonItem");
|
|
642
643
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
643
644
|
recommendRepoList.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
644
|
-
createElementVNode("div", _hoisted_3, toDisplayString(
|
|
645
|
+
createElementVNode("div", _hoisted_3, toDisplayString(unref($t)("gitCodeLayout.search.trendingToday")), 1),
|
|
645
646
|
(openBlock(true), createElementBlock(Fragment, null, renderList(recommendRepoList.value, (item, index) => {
|
|
646
647
|
return openBlock(), createBlock(SearchRepoCard, {
|
|
647
648
|
key: item.id,
|
|
@@ -724,8 +725,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
724
725
|
};
|
|
725
726
|
}
|
|
726
727
|
});
|
|
727
|
-
const
|
|
728
|
-
const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
728
|
+
const SearchRecommed_vue_vue_type_style_index_0_scoped_8c46cbc3_lang = "";
|
|
729
|
+
const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8c46cbc3"]]);
|
|
729
730
|
export {
|
|
730
731
|
SearchRecommed as default
|
|
731
732
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { I as Icon, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
|
|
2
|
+
import { a as i18n, I as Icon, _ as _export_sfc } from "./index-291ee909.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -10,7 +10,6 @@ import "vue-devui-lal/button/style.css";
|
|
|
10
10
|
import "vue-devui-lal/popover/style.css";
|
|
11
11
|
import "vue-devui-lal/tooltip/style.css";
|
|
12
12
|
import "vue-devui-lal/textarea/style.css";
|
|
13
|
-
import "vue-i18n";
|
|
14
13
|
import "vue-router";
|
|
15
14
|
import "@vueuse/core";
|
|
16
15
|
import "vue-devui-lal/avatar";
|
|
@@ -64,6 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
64
63
|
},
|
|
65
64
|
emits: ["scopeSearch"],
|
|
66
65
|
setup(__props, { emit: __emit }) {
|
|
66
|
+
const { t: $t } = i18n.global;
|
|
67
67
|
const emit = __emit;
|
|
68
68
|
const onScopeSearch = (item) => {
|
|
69
69
|
emit("scopeSearch", item);
|
|
@@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
createElementVNode("span", _hoisted_6, toDisplayString(_ctx.searchStr), 1)
|
|
88
88
|
]),
|
|
89
89
|
createElementVNode("p", _hoisted_7, [
|
|
90
|
-
createElementVNode("span", null, toDisplayString(item.label ? `${item.label}${
|
|
90
|
+
createElementVNode("span", null, toDisplayString(item.label ? `${item.label}${unref($t)("gitCodeLayout.header.underSearch")}` : item.title), 1),
|
|
91
91
|
createVNode(Icon, { name: "gt-line-right" })
|
|
92
92
|
])
|
|
93
93
|
]),
|
|
@@ -98,8 +98,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
|
-
const
|
|
102
|
-
const SearchScopeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
101
|
+
const SearchScopeList_vue_vue_type_style_index_0_scoped_2665307e_lang = "";
|
|
102
|
+
const SearchScopeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2665307e"]]);
|
|
103
103
|
export {
|
|
104
104
|
SearchScopeList as default
|
|
105
105
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { inject, ref, watch, withDirectives, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { h as headRequest, I as Icon } 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, I as Icon } from "./index-291ee909.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -10,7 +10,6 @@ import "vue-devui-lal/button/style.css";
|
|
|
10
10
|
import "vue-devui-lal/popover/style.css";
|
|
11
11
|
import "vue-devui-lal/tooltip/style.css";
|
|
12
12
|
import "vue-devui-lal/textarea/style.css";
|
|
13
|
-
import "vue-i18n";
|
|
14
13
|
import "vue-router";
|
|
15
14
|
import "@vueuse/core";
|
|
16
15
|
import "vue-devui-lal/avatar";
|
|
@@ -56,6 +55,7 @@ const _sfc_main = {
|
|
|
56
55
|
__name: "UserSearch",
|
|
57
56
|
props: ["searchStr", "searchInfo"],
|
|
58
57
|
setup(__props) {
|
|
58
|
+
const { t: $t } = i18n.global;
|
|
59
59
|
const API = headRequest(inject("request"));
|
|
60
60
|
const props = __props;
|
|
61
61
|
const loading = ref(false);
|
|
@@ -103,7 +103,7 @@ const _sfc_main = {
|
|
|
103
103
|
});
|
|
104
104
|
return (_ctx, _cache) => {
|
|
105
105
|
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
106
|
-
createElementVNode("p", _hoisted_2, toDisplayString(
|
|
106
|
+
createElementVNode("p", _hoisted_2, toDisplayString(unref($t)("gitCodeLayout.header.repo")), 1),
|
|
107
107
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchFileList.value, (item, index) => {
|
|
108
108
|
return openBlock(), createElementBlock("a", {
|
|
109
109
|
key: index,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watchEffect } from "vue";
|
|
2
|
-
import { l as debounce } from "./index-
|
|
2
|
+
import { l as debounce } from "./index-291ee909.js";
|
|
3
3
|
const useReportRepo = (reportParams, viewReport) => {
|
|
4
4
|
const list = ref([]);
|
|
5
5
|
const pageRef = ref((window == null ? void 0 : window.page_ref) || "");
|