vue-layout-gitcode 1.1.10 → 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-2abfd1d3.js → GloabarSearch-cf6e2dea.js} +2 -2
- package/{ProjectSearch-36a9e98f.js → ProjectSearch-8104467a.js} +1 -1
- package/{SearchHistoryList-98a30930.js → SearchHistoryList-8b663180.js} +3 -3
- package/{SearchPrefixTag-cf08ae30.js → SearchPrefixTag-f873b07a.js} +3 -3
- package/{SearchRecommed-3028a756.js → SearchRecommed-bbe069d5.js} +4 -4
- package/{SearchScopeList-1d749319.js → SearchScopeList-821d94d3.js} +3 -3
- package/{UserSearch-960cd51b.js → UserSearch-1126b1cd.js} +1 -1
- package/{index-465c9f4c.js → index-c4f074b6.js} +50 -22
- package/{index-a7c6ab0b.js → index-c7a5903d.js} +729 -552
- package/{index-71d63b7e.js → index-d6a4fcea.js} +3 -3
- package/index.d.ts +6 -0
- package/index.js +11 -9
- package/{notice-ac656e72.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";
|
|
@@ -136,8 +136,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
|
-
const
|
|
140
|
-
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"]]);
|
|
141
141
|
export {
|
|
142
142
|
SearchHistoryList as default
|
|
143
143
|
};
|
|
@@ -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";
|
|
@@ -83,8 +83,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
|
-
const
|
|
87
|
-
const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
86
|
+
const SearchPrefixTag_vue_vue_type_style_index_0_scoped_b6e9241b_lang = "";
|
|
87
|
+
const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b6e9241b"]]);
|
|
88
88
|
export {
|
|
89
89
|
SearchPrefixTag as default
|
|
90
90
|
};
|
|
@@ -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";
|
|
@@ -181,8 +181,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
-
const
|
|
185
|
-
const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
184
|
+
const SearchRecommed_vue_vue_type_style_index_0_scoped_d4635f7a_lang = "";
|
|
185
|
+
const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d4635f7a"]]);
|
|
186
186
|
export {
|
|
187
187
|
SearchRecommed as default
|
|
188
188
|
};
|
|
@@ -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";
|
|
@@ -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
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";
|
|
@@ -203,8 +203,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
|
-
const
|
|
207
|
-
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
206
|
+
const index_vue_vue_type_style_index_0_scoped_754df2e0_lang = "";
|
|
207
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-754df2e0"]]);
|
|
208
208
|
const _hoisted_1$4 = { class: "fork-tag" };
|
|
209
209
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
210
210
|
__name: "index",
|
|
@@ -229,8 +229,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
|
-
const
|
|
233
|
-
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
232
|
+
const index_vue_vue_type_style_index_0_scoped_98be5d7f_lang = "";
|
|
233
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-98be5d7f"]]);
|
|
234
234
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
235
235
|
__name: "index",
|
|
236
236
|
props: {
|
|
@@ -276,8 +276,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
});
|
|
279
|
-
const
|
|
280
|
-
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
279
|
+
const index_vue_vue_type_style_index_0_scoped_6e1aad17_lang = "";
|
|
280
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6e1aad17"]]);
|
|
281
281
|
const _hoisted_1$3 = { class: "star-count-one" };
|
|
282
282
|
const _hoisted_2$3 = { key: 0 };
|
|
283
283
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -304,8 +304,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
306
|
});
|
|
307
|
-
const
|
|
308
|
-
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
307
|
+
const index_vue_vue_type_style_index_0_scoped_de8d9362_lang = "";
|
|
308
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-de8d9362"]]);
|
|
309
309
|
const _hoisted_1$2 = { class: "github-star-num" };
|
|
310
310
|
const _hoisted_2$2 = { class: "leading-none" };
|
|
311
311
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -332,8 +332,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
|
-
const
|
|
336
|
-
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
335
|
+
const index_vue_vue_type_style_index_0_scoped_7f7e79b1_lang = "";
|
|
336
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-7f7e79b1"]]);
|
|
337
337
|
const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
|
|
338
338
|
const _hoisted_2$1 = {
|
|
339
339
|
key: 3,
|
|
@@ -425,15 +425,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
425
425
|
};
|
|
426
426
|
}
|
|
427
427
|
});
|
|
428
|
-
const
|
|
429
|
-
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
428
|
+
const index_vue_vue_type_style_index_0_scoped_ca800e14_lang = "";
|
|
429
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-ca800e14"]]);
|
|
430
430
|
const _hoisted_1 = ["innerHTML"];
|
|
431
431
|
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,
|