vue-layout-gitcode 1.1.11 → 1.1.12
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-43d5acdf.js → GloabarSearch-cf6e2dea.js} +2 -2
- package/{ProjectSearch-842f361f.js → ProjectSearch-8104467a.js} +1 -1
- package/{SearchHistoryList-b0530797.js → SearchHistoryList-8b663180.js} +1 -1
- package/{SearchPrefixTag-06eeacb3.js → SearchPrefixTag-f873b07a.js} +1 -1
- package/{SearchRecommed-d2f3ceb7.js → SearchRecommed-bbe069d5.js} +2 -2
- package/{SearchScopeList-cfccf897.js → SearchScopeList-821d94d3.js} +1 -1
- package/{UserSearch-cfd618e3.js → UserSearch-1126b1cd.js} +1 -1
- package/{index-b7a55717.js → index-c4f074b6.js} +38 -10
- package/{index-227d4793.js → index-c7a5903d.js} +664 -493
- package/{index-5a19b8ab.js → index-d6a4fcea.js} +1 -1
- package/index.js +11 -11
- package/{notice-dd803ec2.js → notice-69ef6dc2.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
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 REPO_EVENT, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
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-c7a5903d.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-c4f074b6.js";
|
|
6
6
|
import "vue-devui-lal/button";
|
|
7
7
|
import "vue-devui-lal/popover";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-c7a5903d.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, 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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-c7a5903d.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, 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-c7a5903d.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, resolveComponent, openBlock, createElementBlock, 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, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-c4f074b6.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, _ as _export_sfc } from "./index-c7a5903d.js";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import "vue-devui-lal/grid/style.css";
|
|
6
6
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-c7a5903d.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-c7a5903d.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
import "vue-devui-lal/button";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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, resolveComponent, withCtx } from "vue";
|
|
2
|
-
import { d as debounce, h as headRequest, G as GIcon, 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,
|
|
2
|
+
import { d as debounce, h as headRequest, G as GIcon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as isGstarRepo, k as _sfc_main$8, l as isIncubationRepo, m as highlightWords, t as transWebUrl, n as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-c7a5903d.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import "vue-devui-lal/grid/style.css";
|
|
@@ -432,8 +432,10 @@ const _hoisted_2 = {
|
|
|
432
432
|
key: 0,
|
|
433
433
|
class: "is-recommend ml-[8px]"
|
|
434
434
|
};
|
|
435
|
-
const _hoisted_3 =
|
|
436
|
-
const _hoisted_4 = { key:
|
|
435
|
+
const _hoisted_3 = { key: 1 };
|
|
436
|
+
const _hoisted_4 = { key: 2 };
|
|
437
|
+
const _hoisted_5 = ["innerHTML"];
|
|
438
|
+
const _hoisted_6 = { key: 0 };
|
|
437
439
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
438
440
|
__name: "index",
|
|
439
441
|
props: {
|
|
@@ -532,20 +534,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
532
534
|
createVNode(unref(Row), { class: "i-search-projects-card-title mb-[8px]" }, {
|
|
533
535
|
default: withCtx(() => [
|
|
534
536
|
createVNode(unref(Col), {
|
|
535
|
-
class: "ellipsis",
|
|
537
|
+
class: "ellipsis flex items-center gap-[8px]",
|
|
536
538
|
flex: "auto"
|
|
537
539
|
}, {
|
|
538
540
|
default: withCtx(() => [
|
|
539
541
|
createVNode(GIcon, {
|
|
540
|
-
class: normalizeClass(["mr-[8px]", { "align-middle": _ctx.info.is_gh_mirrors }]),
|
|
541
542
|
name: iconName.value,
|
|
543
|
+
class: normalizeClass({ "align-middle": _ctx.info.is_gh_mirrors }),
|
|
542
544
|
color: "var(--theme-placeholder)"
|
|
543
545
|
}, null, 8, ["name", "class"]),
|
|
544
546
|
createElementVNode("span", {
|
|
545
547
|
class: "repo-title",
|
|
546
548
|
innerHTML: preHandWord()
|
|
547
549
|
}, null, 8, _hoisted_1),
|
|
548
|
-
_ctx.info.show_recommend_icon ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref($t)("gitCodeLayout.search.recommendTag")), 1)) : createCommentVNode("", true)
|
|
550
|
+
_ctx.info.show_recommend_icon ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref($t)("gitCodeLayout.search.recommendTag")), 1)) : createCommentVNode("", true),
|
|
551
|
+
unref(isGstarRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
552
|
+
createVNode(_sfc_main$8, {
|
|
553
|
+
origin: "repo",
|
|
554
|
+
icon: "",
|
|
555
|
+
type: "gstar",
|
|
556
|
+
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.graduation")}`
|
|
557
|
+
}, {
|
|
558
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
559
|
+
createTextVNode("G-Star ")
|
|
560
|
+
])),
|
|
561
|
+
_: 1
|
|
562
|
+
}, 8, ["message"])
|
|
563
|
+
])) : createCommentVNode("", true),
|
|
564
|
+
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
565
|
+
createVNode(_sfc_main$8, {
|
|
566
|
+
origin: "repo",
|
|
567
|
+
icon: "",
|
|
568
|
+
type: "incubation",
|
|
569
|
+
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.incubation")}`
|
|
570
|
+
}, {
|
|
571
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
572
|
+
createTextVNode(" G-Star ")
|
|
573
|
+
])),
|
|
574
|
+
_: 1
|
|
575
|
+
}, 8, ["message"])
|
|
576
|
+
])) : createCommentVNode("", true)
|
|
549
577
|
]),
|
|
550
578
|
_: 1
|
|
551
579
|
}),
|
|
@@ -565,8 +593,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
565
593
|
createElementVNode("div", {
|
|
566
594
|
innerHTML: unref(highlightWords)("", _ctx.info.description),
|
|
567
595
|
class: "i-search-projects-card-desc ellipsis"
|
|
568
|
-
}, null, 8,
|
|
569
|
-
_ctx.info.index === 0 && _ctx.info.is_recommend ? (openBlock(), createElementBlock("div",
|
|
596
|
+
}, null, 8, _hoisted_5),
|
|
597
|
+
_ctx.info.index === 0 && _ctx.info.is_recommend ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
570
598
|
queryLoading.value ? (openBlock(), createBlock(_component_d_skeleton, { key: 0 }, {
|
|
571
599
|
placeholder: withCtx(() => [
|
|
572
600
|
createVNode(unref(Row), {
|
|
@@ -620,8 +648,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
620
648
|
};
|
|
621
649
|
}
|
|
622
650
|
});
|
|
623
|
-
const
|
|
624
|
-
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
651
|
+
const index_vue_vue_type_style_index_0_scoped_428956e5_lang = "";
|
|
652
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-428956e5"]]);
|
|
625
653
|
export {
|
|
626
654
|
SearchRepoCard as S,
|
|
627
655
|
formatNameSpace as f,
|