vue-layout-gitcode 1.4.14 → 1.5.1

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 { 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-LoOeKDrd.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-iABijio9.js";
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-CHTaUzwY.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-DxrEhzuw.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-LoOeKDrd.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-CHTaUzwY.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-LoOeKDrd.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CHTaUzwY.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-LoOeKDrd.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-CHTaUzwY.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-iABijio9.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-LoOeKDrd.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-DxrEhzuw.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-CHTaUzwY.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-LoOeKDrd.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CHTaUzwY.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, t as transformUrl } from "./index-LoOeKDrd.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-CHTaUzwY.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,16 +41,7 @@ const _sfc_main = {
41
41
  search: props.searchStr
42
42
  }).then((res) => {
43
43
  const data = res.data || {};
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
- }) || [];
44
+ searchFileList.value = data.content || [];
54
45
  }).finally(() => {
55
46
  loading.value = false;
56
47
  });
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
2
  import { FixedOverlay } from "vue-devui-lal/overlay";
3
- import { y as useLayoutConfig, _ as _export_sfc } from "./index-LoOeKDrd.js";
3
+ import { x as useLayoutConfig, _ as _export_sfc } from "./index-CHTaUzwY.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  logoUrl: null
36
36
  // 去除logo
37
37
  };
38
- window.initTAC("https://cdn-static.gitcode.host/js/tac/", config, style).then((tac) => {
38
+ window.initTAC("https://cdn-static.gitcode.com/js/tac/", config, style).then((tac) => {
39
39
  tac.init();
40
40
  }).catch((e) => {
41
41
  console.error("初始化tac失败", e);
@@ -49,7 +49,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  default: withCtx(() => _cache[0] || (_cache[0] = [
50
50
  createElementVNode("div", { id: "captcha-box" }, null, -1)
51
51
  ])),
52
- _: 1
52
+ _: 1,
53
+ __: [0]
53
54
  });
54
55
  };
55
56
  }