vue-layout-gitcode 1.9.19 → 1.9.20
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/README.md +519 -0
- package/{GloabarSearch-DFqXLxP5.js → dist/GloabarSearch-C3xidv95.js} +3 -3
- package/{MenuItem-DyTwKjF1.js → dist/MenuItem-BnjaSbHz.js} +1 -1
- package/{ProjectMenuList-CFm7mxqt.js → dist/ProjectMenuList-BQCMWEWu.js} +4 -4
- package/{ProjectMenuListV2-B40u_O0M.js → dist/ProjectMenuListV2-B283u7iP.js} +3 -3
- package/{ProjectSearch-BYyV0mCu.js → dist/ProjectSearch-D4NlcQuD.js} +1 -1
- package/{SearchHistoryList-DscZWsBv.js → dist/SearchHistoryList-XTxYkKa2.js} +1 -1
- package/{SearchPrefixTag-CO4bZ-No.js → dist/SearchPrefixTag-Vr_4bRFF.js} +1 -1
- package/{SearchRecommed-CvKOnF-w.js → dist/SearchRecommed-C6r_e7Wu.js} +2 -2
- package/{SearchScopeList-Cwm7mTg8.js → dist/SearchScopeList-BwIX06FA.js} +1 -1
- package/{UserSearch-lm9xjGb8.js → dist/UserSearch-B0Sxpmx5.js} +11 -2
- package/{index-C1b_NDYf.js → dist/index-C9cnK3pA.js} +1 -1
- package/{index-DjoKcwFl.js → dist/index-CHM1rIrp.js} +9 -12
- package/{index-asb6th4t.js → dist/index-CNwaKo3C.js} +916 -539
- package/{index-D4GDqaoC.js → dist/index-DbYSkair.js} +2 -3
- package/{index.d.ts → dist/index.d.ts} +11 -0
- package/dist/index.js +14 -0
- package/{notice-CiGsB_vy.js → dist/notice-kNQVIEMi.js} +5 -7
- package/dist/package.json +13 -0
- package/dist/style.css +1 -0
- package/{transWebUrl-ZEMFeWwJ.js → dist/transWebUrl-CYbHu4ea.js} +1 -1
- package/package.json +72 -11
- package/index.js +0 -14
- package/style.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
|
|
2
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import {
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, 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$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CNwaKo3C.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CYbHu4ea.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -385,7 +385,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
385
385
|
size: "14"
|
|
386
386
|
}),
|
|
387
387
|
createElementVNode("span", _hoisted_2$3, [
|
|
388
|
-
_cache[0] || (_cache[0] = createTextVNode("Star "
|
|
388
|
+
_cache[0] || (_cache[0] = createTextVNode("Star ")),
|
|
389
389
|
createVNode(_sfc_main$a, {
|
|
390
390
|
number: _ctx.count || 0,
|
|
391
391
|
gt100: true
|
|
@@ -536,8 +536,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
536
536
|
default: withCtx(() => [
|
|
537
537
|
_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))
|
|
538
538
|
]),
|
|
539
|
-
_: 1
|
|
540
|
-
__: [0]
|
|
539
|
+
_: 1
|
|
541
540
|
})) : createCommentVNode("", true);
|
|
542
541
|
};
|
|
543
542
|
}
|
|
@@ -642,7 +641,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
642
641
|
const { widthType } = usePageResize();
|
|
643
642
|
const { t: $t } = i18n.global;
|
|
644
643
|
const handleClick = () => {
|
|
645
|
-
window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
|
|
644
|
+
window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
|
|
646
645
|
emits("report");
|
|
647
646
|
_frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
|
|
648
647
|
};
|
|
@@ -750,10 +749,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
750
749
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.graduation")}`
|
|
751
750
|
}, {
|
|
752
751
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
753
|
-
createTextVNode("G-Star "
|
|
752
|
+
createTextVNode("G-Star ")
|
|
754
753
|
])),
|
|
755
|
-
_: 1
|
|
756
|
-
__: [0]
|
|
754
|
+
_: 1
|
|
757
755
|
}, 8, ["message"])
|
|
758
756
|
])) : createCommentVNode("", true),
|
|
759
757
|
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
@@ -764,10 +762,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
764
762
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.incubation")}`
|
|
765
763
|
}, {
|
|
766
764
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
767
|
-
createTextVNode(" G-Star "
|
|
765
|
+
createTextVNode(" G-Star ")
|
|
768
766
|
])),
|
|
769
|
-
_: 1
|
|
770
|
-
__: [1]
|
|
767
|
+
_: 1
|
|
771
768
|
}, 8, ["message"])
|
|
772
769
|
])) : createCommentVNode("", true),
|
|
773
770
|
createVNode(NewTag, {
|