vue-layout-gitcode 1.4.7 → 1.4.8
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-DXYnd2bf.js → GloabarSearch-BJTCqXxE.js} +2 -2
- package/{ProjectSearch-BIvr2bZS.js → ProjectSearch-DTVqZ_92.js} +1 -1
- package/{SearchHistoryList-BovKCmAf.js → SearchHistoryList-Bz1hqTc6.js} +1 -1
- package/{SearchPrefixTag-DozyirHe.js → SearchPrefixTag-pFvEuFdK.js} +1 -1
- package/{SearchRecommed-CO18L29A.js → SearchRecommed-C6f69ib9.js} +2 -2
- package/{SearchScopeList-h2BxbuP-.js → SearchScopeList-CtwebogV.js} +1 -1
- package/{UserSearch-MUWzo8ZX.js → UserSearch-DFudjH80.js} +1 -1
- package/{index-CUoTr8tr.js → index-53PTuDOL.js} +1 -1
- package/{index-BbiMz_Q2.js → index-D8YmHddo.js} +1 -1
- package/{index-DESc0TGg.js → index-MVVilqc9.js} +15 -15
- package/index.js +1 -1
- package/{notice-DQwt4ggO.js → notice-S0XqaTuK.js} +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
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-MVVilqc9.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-D8YmHddo.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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-MVVilqc9.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-MVVilqc9.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-MVVilqc9.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, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-D8YmHddo.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-MVVilqc9.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-MVVilqc9.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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-MVVilqc9.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 { y as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { y as useLayoutConfig, _ as _export_sfc } from "./index-MVVilqc9.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, 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, f as transferNumber, G as GIcon, s as setLoginTriggerSource, g as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, j as useTimeFormat, L as LANG_KEY, k as LANG_ZH, m as usePageResize, n as isGstarRepo, o as _sfc_main$9, p as isIncubationRepo, q as highlightWords, w as transWebUrl, t as transformUrl, x as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, f as transferNumber, G as GIcon, s as setLoginTriggerSource, g as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, j as useTimeFormat, L as LANG_KEY, k as LANG_ZH, m as usePageResize, n as isGstarRepo, o as _sfc_main$9, p as isIncubationRepo, q as highlightWords, w as transWebUrl, t as transformUrl, x as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-MVVilqc9.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";
|
|
@@ -17840,6 +17840,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17840
17840
|
}
|
|
17841
17841
|
});
|
|
17842
17842
|
const UserAvatarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
17843
|
+
const transformUrl = (url) => {
|
|
17844
|
+
if (!url) return "";
|
|
17845
|
+
return url.replace(/gitcode\.com/g, location.host);
|
|
17846
|
+
};
|
|
17843
17847
|
const _hoisted_1$l = { class: "g-user-avatar flex-center ml-1" };
|
|
17844
17848
|
const _hoisted_2$f = {
|
|
17845
17849
|
key: 0,
|
|
@@ -17941,7 +17945,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17941
17945
|
createElementVNode("div", _hoisted_1$l, [
|
|
17942
17946
|
createVNode(_sfc_main$z, {
|
|
17943
17947
|
name: accountInfo.value.nickname,
|
|
17944
|
-
src: accountInfo.value.avatar
|
|
17948
|
+
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
17945
17949
|
}, null, 8, ["name", "src"]),
|
|
17946
17950
|
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_2$f, _cache[4] || (_cache[4] = [
|
|
17947
17951
|
createElementVNode("div", null, null, -1)
|
|
@@ -17971,7 +17975,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17971
17975
|
createElementVNode("div", _hoisted_3$d, [
|
|
17972
17976
|
createVNode(_sfc_main$z, {
|
|
17973
17977
|
name: accountInfo.value.nickname,
|
|
17974
|
-
src: accountInfo.value.avatar
|
|
17978
|
+
src: unref(transformUrl)(accountInfo.value.avatar)
|
|
17975
17979
|
}, null, 8, ["name", "src"]),
|
|
17976
17980
|
accountInfo.value.need_tips && !haveVisited.value ? (openBlock(), createElementBlock("div", _hoisted_4$b, _cache[5] || (_cache[5] = [
|
|
17977
17981
|
createElementVNode("div", null, null, -1)
|
|
@@ -18121,13 +18125,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18121
18125
|
var _a;
|
|
18122
18126
|
const layoutConfig2 = useLayoutConfig();
|
|
18123
18127
|
const { t: $t } = i18n.global;
|
|
18124
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
18125
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
18126
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
18127
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
18128
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
18129
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
18130
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
18128
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DTVqZ_92.js"));
|
|
18129
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-DFudjH80.js"));
|
|
18130
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BJTCqXxE.js"));
|
|
18131
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Bz1hqTc6.js"));
|
|
18132
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CtwebogV.js"));
|
|
18133
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-pFvEuFdK.js"));
|
|
18134
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-C6f69ib9.js"));
|
|
18131
18135
|
const props = __props;
|
|
18132
18136
|
const repoInfo = inject("repoInfo");
|
|
18133
18137
|
const orgInfo = inject("orgInfo");
|
|
@@ -18737,7 +18741,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18737
18741
|
}
|
|
18738
18742
|
});
|
|
18739
18743
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18740
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18744
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-S0XqaTuK.js"));
|
|
18741
18745
|
function clearNotice() {
|
|
18742
18746
|
if (localStorage$2.getItem("validator_email")) {
|
|
18743
18747
|
localStorage$2.removeItem("validator_email");
|
|
@@ -19421,10 +19425,6 @@ const transWebUrl = (url, params) => {
|
|
|
19421
19425
|
const queryString = Object.entries(params).filter(([_, value]) => value !== void 0 && value !== null).map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`).join("&");
|
|
19422
19426
|
return queryString ? `${processedUrl}${separator}${queryString}` : processedUrl;
|
|
19423
19427
|
};
|
|
19424
|
-
const transformUrl = (url) => {
|
|
19425
|
-
if (!url) return "";
|
|
19426
|
-
return url.replace(/gitcode\.com/g, location.host);
|
|
19427
|
-
};
|
|
19428
19428
|
const _hoisted_1$g = { class: "devui-submenu layer_2 my-work-platform submenu-item relative" };
|
|
19429
19429
|
const _hoisted_2$a = {
|
|
19430
19430
|
class: "devui-submenu-title layer_2",
|
|
@@ -25567,7 +25567,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25567
25567
|
}
|
|
25568
25568
|
});
|
|
25569
25569
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
25570
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25570
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-53PTuDOL.js"));
|
|
25571
25571
|
const useSlidCaptcha = () => {
|
|
25572
25572
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
25573
25573
|
const open = (config) => {
|
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-MVVilqc9.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";
|