vue-layout-gitcode 1.1.36 → 1.1.37
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-DPJie_No.js → GloabarSearch-BBhtnOqp.js} +2 -2
- package/{ProjectSearch-C_hhYXP9.js → ProjectSearch-CzT6LRe3.js} +1 -1
- package/{SearchHistoryList-Q8ETEnl9.js → SearchHistoryList-rgSoTt_k.js} +1 -1
- package/{SearchPrefixTag-DaC7AshK.js → SearchPrefixTag-CgRSifOW.js} +1 -1
- package/{SearchRecommed-INQDsvmm.js → SearchRecommed-gB2jJd8N.js} +2 -2
- package/{SearchScopeList-Bd2nEADA.js → SearchScopeList-CW905SpW.js} +1 -1
- package/{UserSearch-gP8fTVyI.js → UserSearch-BCEq8aD9.js} +1 -1
- package/{index-4lXT-hob.js → index-B-fkvBTP.js} +15 -10
- package/{index-2cYClIjt.js → index-BoQC34ar.js} +1 -1
- package/{index-0r_pIZXN.js → index-nYlQ63Ct.js} +1 -1
- package/index.js +1 -1
- package/{notice-BSYvucvl.js → notice-Dy6GRCYl.js} +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-B-fkvBTP.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-nYlQ63Ct.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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-B-fkvBTP.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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-B-fkvBTP.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-
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-B-fkvBTP.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-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-nYlQ63Ct.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-B-fkvBTP.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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-B-fkvBTP.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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-B-fkvBTP.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]" };
|
|
@@ -17608,13 +17608,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17608
17608
|
setup(__props) {
|
|
17609
17609
|
var _a;
|
|
17610
17610
|
const { t: $t } = i18n.global;
|
|
17611
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17612
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17613
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17614
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17615
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17616
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17617
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17611
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CzT6LRe3.js"));
|
|
17612
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-BCEq8aD9.js"));
|
|
17613
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BBhtnOqp.js"));
|
|
17614
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-rgSoTt_k.js"));
|
|
17615
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CW905SpW.js"));
|
|
17616
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CgRSifOW.js"));
|
|
17617
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-gB2jJd8N.js"));
|
|
17618
17618
|
const props = __props;
|
|
17619
17619
|
const repoInfo = inject("repoInfo");
|
|
17620
17620
|
const orgInfo = inject("orgInfo");
|
|
@@ -17799,7 +17799,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17799
17799
|
if (activeIndex.value !== -1 && !searchStr.value) {
|
|
17800
17800
|
toSearch(searchHistoryList.value[activeIndex.value]);
|
|
17801
17801
|
} else {
|
|
17802
|
-
onScopeSearch(
|
|
17802
|
+
onScopeSearch(searchScopeList.value[0]);
|
|
17803
17803
|
}
|
|
17804
17804
|
}
|
|
17805
17805
|
};
|
|
@@ -17813,12 +17813,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17813
17813
|
onSearch();
|
|
17814
17814
|
};
|
|
17815
17815
|
const onSearch = () => {
|
|
17816
|
+
var _a2;
|
|
17816
17817
|
_frEventTrack(EVENT_NAME.HEADER_START_SEARCH);
|
|
17817
17818
|
useReport2("search-project", {}, () => {
|
|
17818
17819
|
});
|
|
17819
17820
|
isFocus.value = false;
|
|
17820
17821
|
inputRef.value.blur();
|
|
17821
17822
|
searchDropDownVisible.value = false;
|
|
17823
|
+
if (!searchStr.value && searchParams.scope && typeof document !== "undefined" && document.querySelector) {
|
|
17824
|
+
(_a2 = document.querySelector("#golbalSearch")) == null ? void 0 : _a2.blur();
|
|
17825
|
+
return;
|
|
17826
|
+
}
|
|
17822
17827
|
const queryKey = searchStr.value || RECOMMEND_SEARCH_KEYS[activeSearchKey.value];
|
|
17823
17828
|
const query = { q: queryKey, l: language.value ? language.value : void 0, ...searchParams };
|
|
17824
17829
|
searchHistoryList.value = setlocalVistHistory(query, "localSearchText");
|
|
@@ -18150,7 +18155,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18150
18155
|
}
|
|
18151
18156
|
});
|
|
18152
18157
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18153
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18158
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-Dy6GRCYl.js"));
|
|
18154
18159
|
function clearNotice() {
|
|
18155
18160
|
if (localStorage$2.getItem("validator_email")) {
|
|
18156
18161
|
localStorage$2.removeItem("validator_email");
|
|
@@ -24319,7 +24324,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24319
24324
|
}
|
|
24320
24325
|
});
|
|
24321
24326
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
24322
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24327
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-BoQC34ar.js"));
|
|
24323
24328
|
const useSlidCaptcha = () => {
|
|
24324
24329
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24325
24330
|
const open = (config) => {
|
|
@@ -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 { s as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { s as useLayoutConfig, _ as _export_sfc } from "./index-B-fkvBTP.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, unref, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
-
import { d as debounce, G as GIcon, 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, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, G as GIcon, 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, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-B-fkvBTP.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,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-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-B-fkvBTP.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";
|