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.
@@ -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-227d4793.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-b7a55717.js";
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-227d4793.js";
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-227d4793.js";
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-227d4793.js";
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-b7a55717.js";
3
- import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, _ as _export_sfc } from "./index-227d4793.js";
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-227d4793.js";
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-227d4793.js";
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, k as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-227d4793.js";
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 = ["innerHTML"];
436
- const _hoisted_4 = { key: 0 };
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, _hoisted_3),
569
- _ctx.info.index === 0 && _ctx.info.is_recommend ? (openBlock(), createElementBlock("div", _hoisted_4, [
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 index_vue_vue_type_style_index_0_scoped_89269cfe_lang = "";
624
- const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-89269cfe"]]);
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,