vue-layout-gitcode 1.4.2 → 1.4.4
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-Deoy9dhs.js → GloabarSearch-D_Dx8s5z.js} +2 -2
- package/{ProjectSearch-C--H0G_k.js → ProjectSearch-DwtBtClX.js} +1 -1
- package/{SearchHistoryList-B00pGEgW.js → SearchHistoryList-oWHTfhKn.js} +1 -1
- package/{SearchPrefixTag-sqkIKk72.js → SearchPrefixTag-BrZevEwH.js} +1 -1
- package/{SearchRecommed-DUd6KR3g.js → SearchRecommed-DgpU6ybJ.js} +2 -2
- package/{SearchScopeList-d-CsHnRa.js → SearchScopeList-BDT2924E.js} +1 -1
- package/{UserSearch-BOWrO9FX.js → UserSearch-Bad4Nrv9.js} +11 -2
- package/{index-wub8P5xw.js → index-B9mF4In1.js} +5 -8
- package/{index-COoLCRek.js → index-CoY318UH.js} +188 -224
- package/{index-C00kKtvf.js → index-wqkmW4mU.js} +2 -3
- package/index.js +11 -11
- package/{notice-L_FYCL2U.js → notice-B-qUMjco.js} +3 -5
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
4
|
+
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CoY318UH.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-B9mF4In1.js";
|
|
6
6
|
import "vue-devui-lal/tooltip";
|
|
7
7
|
import "vue-devui-lal/tooltip/style.css";
|
|
8
8
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-CoY318UH.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CoY318UH.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "history-list" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
|
|
2
|
-
import { G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-CoY318UH.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-B9mF4In1.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-CoY318UH.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CoY318UH.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-CoY318UH.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|
|
@@ -41,7 +41,16 @@ const _sfc_main = {
|
|
|
41
41
|
search: props.searchStr
|
|
42
42
|
}).then((res) => {
|
|
43
43
|
const data = res.data || {};
|
|
44
|
-
searchFileList.value = data.content
|
|
44
|
+
searchFileList.value = data.content.map((item) => {
|
|
45
|
+
return {
|
|
46
|
+
...item,
|
|
47
|
+
web_url: transformUrl(item.web_url),
|
|
48
|
+
ssh_url_to_repo: transformUrl(item.ssh_url_to_repo),
|
|
49
|
+
http_url_to_repo: transformUrl(item.http_url_to_repo),
|
|
50
|
+
readme_url: transformUrl(item.readme_url),
|
|
51
|
+
avatar_url: transformUrl(item.avatar_url)
|
|
52
|
+
};
|
|
53
|
+
}) || [];
|
|
45
54
|
}).finally(() => {
|
|
46
55
|
loading.value = false;
|
|
47
56
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, withCtx, reactive } from "vue";
|
|
2
|
-
import { d as debounce,
|
|
2
|
+
import { d as debounce, f as transferNumber, G as GIcon, s as setLoginTriggerSource, g as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, j as useTimeFormat, L as LANG_KEY, k as LANG_ZH, m as usePageResize, n as isGstarRepo, o as _sfc_main$9, p as isIncubationRepo, q as highlightWords, w as transWebUrl, t as transformUrl, x as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CoY318UH.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";
|
|
@@ -461,8 +461,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
461
461
|
default: withCtx(() => [
|
|
462
462
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag w-[32px] h-[15px] text-[9px] text-[#ffffff] flex items-center justify-center leading-[1]" }, "New", -1))
|
|
463
463
|
]),
|
|
464
|
-
_: 1
|
|
465
|
-
__: [0]
|
|
464
|
+
_: 1
|
|
466
465
|
})) : createCommentVNode("", true);
|
|
467
466
|
};
|
|
468
467
|
}
|
|
@@ -500,7 +499,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
500
499
|
const { widthType } = usePageResize();
|
|
501
500
|
const { t: $t } = i18n.global;
|
|
502
501
|
const handleClick = () => {
|
|
503
|
-
window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
|
|
502
|
+
window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
|
|
504
503
|
emits("report");
|
|
505
504
|
_frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
|
|
506
505
|
};
|
|
@@ -606,8 +605,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
606
605
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
607
606
|
createTextVNode("G-Star ")
|
|
608
607
|
])),
|
|
609
|
-
_: 1
|
|
610
|
-
__: [0]
|
|
608
|
+
_: 1
|
|
611
609
|
}, 8, ["message"])
|
|
612
610
|
])) : createCommentVNode("", true),
|
|
613
611
|
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
@@ -620,8 +618,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
620
618
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
621
619
|
createTextVNode(" G-Star ")
|
|
622
620
|
])),
|
|
623
|
-
_: 1
|
|
624
|
-
__: [1]
|
|
621
|
+
_: 1
|
|
625
622
|
}, 8, ["message"])
|
|
626
623
|
])) : createCommentVNode("", true),
|
|
627
624
|
createVNode(NewTag, {
|