vue-layout-gitcode 1.5.2 → 1.5.3

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-CbBGFizt.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-DDjqog2G.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-DY8VoILY.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-Du8jEIfN.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-CbBGFizt.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-DY8VoILY.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-CbBGFizt.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DY8VoILY.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-CbBGFizt.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-DY8VoILY.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-DDjqog2G.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-CbBGFizt.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-Du8jEIfN.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-DY8VoILY.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-CbBGFizt.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DY8VoILY.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 } from "./index-CbBGFizt.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-DY8VoILY.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]" };
@@ -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 { x as useLayoutConfig, _ as _export_sfc } from "./index-CbBGFizt.js";
3
+ import { x as useLayoutConfig, _ as _export_sfc } from "./index-DY8VoILY.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -7605,7 +7605,8 @@ const gitCodeLayout$1 = {
7605
7605
  competition: "大赛平台",
7606
7606
  channel: {},
7607
7607
  TianqiAI: "天启 AI",
7608
- Tianqi: "天启"
7608
+ Tianqi: "天启",
7609
+ topic: "热门主题"
7609
7610
  },
7610
7611
  header: {
7611
7612
  create: "新建",
@@ -7893,7 +7894,8 @@ const gitCodeLayout = {
7893
7894
  channel: {},
7894
7895
  org: {},
7895
7896
  TianqiAI: "Tianqi AI",
7896
- Tianqi: "Tianqi"
7897
+ Tianqi: "Tianqi",
7898
+ topic: "Hot topics"
7897
7899
  },
7898
7900
  header: {
7899
7901
  create: "New",
@@ -18122,13 +18124,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18122
18124
  var _a;
18123
18125
  const layoutConfig2 = useLayoutConfig();
18124
18126
  const { t: $t } = i18n.global;
18125
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Yzi83cSO.js"));
18126
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-D5gBXUmJ.js"));
18127
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DRa3fnqH.js"));
18128
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Cl8HsdxD.js"));
18129
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DwLfdcpQ.js"));
18130
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-TxDFn8JG.js"));
18131
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D4Hp_3VI.js"));
18127
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Dac48gFB.js"));
18128
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-BvOJSPEG.js"));
18129
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DN3sQtJz.js"));
18130
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BtHo0mPj.js"));
18131
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DmNZ_Pl6.js"));
18132
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-J5U_HunJ.js"));
18133
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BhTREs23.js"));
18132
18134
  const props = __props;
18133
18135
  const repoInfo = inject("repoInfo");
18134
18136
  const orgInfo = inject("orgInfo");
@@ -18738,7 +18740,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18738
18740
  }
18739
18741
  });
18740
18742
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18741
- const NoticeModal = defineAsyncComponent(() => import("./notice-CkRsHGJ3.js"));
18743
+ const NoticeModal = defineAsyncComponent(() => import("./notice-CXzSw40Y.js"));
18742
18744
  function clearNotice() {
18743
18745
  if (localStorage$2.getItem("validator_email")) {
18744
18746
  localStorage$2.removeItem("validator_email");
@@ -20260,7 +20262,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20260
20262
  key: "topics",
20261
20263
  icon: "gt-line-topic",
20262
20264
  activeIcon: "gt-plane-topic-black",
20263
- label: t2("home.topic"),
20265
+ label: t2("gitCodeLayout.home.topic"),
20264
20266
  openBlank: true,
20265
20267
  host: layoutConfig2.VITE_HOST,
20266
20268
  href: `${layoutConfig2.VITE_HOST}/topics/?utm_source=toolbar`,
@@ -25580,7 +25582,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
25580
25582
  }
25581
25583
  });
25582
25584
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
25583
- const SlidCaptcha = defineAsyncComponent(() => import("./index-CzPESHc6.js"));
25585
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CrLWMYOU.js"));
25584
25586
  const useSlidCaptcha = () => {
25585
25587
  const { mount, unMount } = usePopup("slid-captcha-popup");
25586
25588
  const open = (config) => {
@@ -1,5 +1,5 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
2
- import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, 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$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CbBGFizt.js";
2
+ import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, 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$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DY8VoILY.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Row, Col } from "vue-devui-lal/grid";
5
5
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, B, F, z, S, y, H, J, D, I, C } from "./index-CbBGFizt.js";
1
+ import { A, B, F, z, S, y, H, J, D, I, C } from "./index-DY8VoILY.js";
2
2
  export {
3
3
  A as GitCodeAside,
4
4
  B as GitCodeHeader,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel } from "./index-CbBGFizt.js";
2
+ import { i as isPhone, u as useModel } from "./index-DY8VoILY.js";
3
3
  import { Notification } from "vue-devui-lal/notification";
4
4
  import { Button } from "vue-devui-lal/button";
5
5
  import "vue-devui-lal/notification/style.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",