vue-layout-gitcode 1.3.9 → 1.3.11

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, createElementBlock, createCommentVNode, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock } 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_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index--bLnkRjy.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CMopyBG4.js";
4
+ import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-vk5E1Qf_.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BREeP2QB.js";
6
6
  const _hoisted_1 = {
7
7
  key: 0,
8
8
  class: "px-[8px] history-list-project pl-[8px]"
@@ -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--bLnkRjy.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-vk5E1Qf_.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--bLnkRjy.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-vk5E1Qf_.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--bLnkRjy.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-vk5E1Qf_.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-CMopyBG4.js";
3
- import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index--bLnkRjy.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-BREeP2QB.js";
3
+ import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-vk5E1Qf_.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--bLnkRjy.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-vk5E1Qf_.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--bLnkRjy.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-vk5E1Qf_.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,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, reactive, withCtx } 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$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index--bLnkRjy.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$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-vk5E1Qf_.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";
@@ -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 { w as useLayoutConfig, _ as _export_sfc } from "./index--bLnkRjy.js";
3
+ import { w as useLayoutConfig, _ as _export_sfc } from "./index-vk5E1Qf_.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -16939,8 +16939,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16939
16939
  setup(__props) {
16940
16940
  const { t: t2 } = i18n.global;
16941
16941
  return (_ctx, _cache) => {
16942
- const _component_GLink = resolveComponent("GLink");
16943
- return openBlock(), createBlock(_component_GLink, {
16942
+ return openBlock(), createBlock(GLink, {
16944
16943
  variant: "text",
16945
16944
  class: normalizeClass(["g-toolbar-docs", _ctx.whiteColor ? "white" : "black"]),
16946
16945
  href: "https://docs.gitcode.com/docs/help/home/ai-community/",
@@ -17533,7 +17532,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17533
17532
  key: 1,
17534
17533
  position: ["bottom-start"],
17535
17534
  "destroy-on-hide": false,
17536
- trigger: "click",
17535
+ trigger: "hover",
17537
17536
  "overlay-class": "g-user-dropdown",
17538
17537
  onToggle: handleToggle
17539
17538
  }, {
@@ -17757,13 +17756,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17757
17756
  setup(__props) {
17758
17757
  var _a;
17759
17758
  const { t: $t } = i18n.global;
17760
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-f__z0zd0.js"));
17761
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-D00AlGy8.js"));
17762
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Dng4aa-1.js"));
17763
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CMKUfcgD.js"));
17764
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D2w5d7Oq.js"));
17765
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Dhly0N-C.js"));
17766
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-lED87xhE.js"));
17759
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BHyPE74G.js"));
17760
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DApgRFlD.js"));
17761
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-s_KbnyI7.js"));
17762
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CZe9eZac.js"));
17763
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-iqJ4qicC.js"));
17764
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-DhXdszIR.js"));
17765
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-CiF4MoxG.js"));
17767
17766
  const props = __props;
17768
17767
  const repoInfo = inject("repoInfo");
17769
17768
  const orgInfo = inject("orgInfo");
@@ -18321,7 +18320,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18321
18320
  }
18322
18321
  });
18323
18322
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18324
- const NoticeModal = defineAsyncComponent(() => import("./notice-BQTI_l6p.js"));
18323
+ const NoticeModal = defineAsyncComponent(() => import("./notice-DIt7zx1F.js"));
18325
18324
  function clearNotice() {
18326
18325
  if (localStorage$2.getItem("validator_email")) {
18327
18326
  localStorage$2.removeItem("validator_email");
@@ -24807,7 +24806,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24807
24806
  }
24808
24807
  });
24809
24808
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
24810
- const SlidCaptcha = defineAsyncComponent(() => import("./index-K1fZKjDA.js"));
24809
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CiiHGYzt.js"));
24811
24810
  const useSlidCaptcha = () => {
24812
24811
  const { mount, unMount } = usePopup("slid-captcha-popup");
24813
24812
  const open = (config) => {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { z, A, D, y, S, x, F, I, C, H, B } from "./index--bLnkRjy.js";
1
+ import { z, A, D, y, S, x, F, I, C, H, B } from "./index-vk5E1Qf_.js";
2
2
  export {
3
3
  z as GitCodeAside,
4
4
  A 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--bLnkRjy.js";
2
+ import { i as isPhone, u as useModel } from "./index-vk5E1Qf_.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.3.9",
3
+ "version": "1.3.11",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",