vue-layout-gitcode 1.3.32 → 1.3.33
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-B3-NOYSV.js → GloabarSearch-8ZRemABw.js} +2 -2
- package/{ProjectSearch-xOicdZsi.js → ProjectSearch-DHnXsfEX.js} +1 -1
- package/{SearchHistoryList-ROCCTlzW.js → SearchHistoryList-DOuOKq5h.js} +1 -1
- package/{SearchPrefixTag-DxWd8MSn.js → SearchPrefixTag-BuLMFKYa.js} +1 -1
- package/{SearchRecommed-CKwuT009.js → SearchRecommed-D23_7aA5.js} +2 -2
- package/{SearchScopeList-DquaSEAv.js → SearchScopeList-BITn6S9n.js} +1 -1
- package/{UserSearch-DVlU0Q0G.js → UserSearch-D53P1UaY.js} +1 -1
- package/{index-DmjsOrQr.js → index-BA1ulOF1.js} +19 -11
- package/{index-BrhmB1VC.js → index-TONtEkcx.js} +1 -1
- package/{index-CH3g_5Xp.js → index-v128fXSV.js} +1 -1
- package/index.js +1 -1
- package/{notice-Dmz7Z0DC.js → notice-DaBY-8-F.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-BA1ulOF1.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-TONtEkcx.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-BA1ulOF1.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-BA1ulOF1.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-BA1ulOF1.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-TONtEkcx.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-BA1ulOF1.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-BA1ulOF1.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-BA1ulOF1.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]" };
|
|
@@ -16922,6 +16922,8 @@ var ASIDE_MENU_REPO = /* @__PURE__ */ ((ASIDE_MENU_REPO2) => {
|
|
|
16922
16922
|
ASIDE_MENU_REPO2["TOOLBAR"] = "toolbar_点击";
|
|
16923
16923
|
ASIDE_MENU_REPO2["TOOLBAREXPO"] = "toolbar_曝光";
|
|
16924
16924
|
ASIDE_MENU_REPO2["ASIDEBTNCLICK"] = "侧边栏按钮_点击";
|
|
16925
|
+
ASIDE_MENU_REPO2["STICKYNOTICECLICK"] = "吸顶公告_点击";
|
|
16926
|
+
ASIDE_MENU_REPO2["STICKYNOTICEEXPO"] = "吸顶公告_曝光";
|
|
16925
16927
|
return ASIDE_MENU_REPO2;
|
|
16926
16928
|
})(ASIDE_MENU_REPO || {});
|
|
16927
16929
|
var TOPIC_TYPE = /* @__PURE__ */ ((TOPIC_TYPE2) => {
|
|
@@ -17900,13 +17902,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17900
17902
|
setup(__props) {
|
|
17901
17903
|
var _a;
|
|
17902
17904
|
const { t: $t } = i18n.global;
|
|
17903
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17904
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17905
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17906
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17907
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17908
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17909
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17905
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DHnXsfEX.js"));
|
|
17906
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-D53P1UaY.js"));
|
|
17907
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-8ZRemABw.js"));
|
|
17908
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DOuOKq5h.js"));
|
|
17909
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BITn6S9n.js"));
|
|
17910
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BuLMFKYa.js"));
|
|
17911
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D23_7aA5.js"));
|
|
17910
17912
|
const props = __props;
|
|
17911
17913
|
const repoInfo = inject("repoInfo");
|
|
17912
17914
|
const orgInfo = inject("orgInfo");
|
|
@@ -18506,7 +18508,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18506
18508
|
}
|
|
18507
18509
|
});
|
|
18508
18510
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18509
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18511
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-DaBY-8-F.js"));
|
|
18510
18512
|
function clearNotice() {
|
|
18511
18513
|
if (localStorage$2.getItem("validator_email")) {
|
|
18512
18514
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18726,10 +18728,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18726
18728
|
} : {};
|
|
18727
18729
|
});
|
|
18728
18730
|
const handleStickyNoticeClick = () => {
|
|
18731
|
+
useReport2(REPO_EVENT.CLICK, { module_name: ASIDE_MENU_REPO.STICKYNOTICECLICK });
|
|
18729
18732
|
if (props.bgConfig.detail_top_url) {
|
|
18730
18733
|
window.open(props.bgConfig.detail_top_url, "_blank");
|
|
18731
18734
|
}
|
|
18732
18735
|
};
|
|
18736
|
+
const handleStickyNoticeExpo = (type) => {
|
|
18737
|
+
useReport2(REPO_EVENT.SHOW, { module_name: ASIDE_MENU_REPO.STICKYNOTICEEXPO });
|
|
18738
|
+
};
|
|
18733
18739
|
const handleHeaderClick = (e) => {
|
|
18734
18740
|
console.log("handleHeaderClick", e);
|
|
18735
18741
|
if (!e.target.classList.contains("allow-click-stop")) {
|
|
@@ -18817,7 +18823,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18817
18823
|
ref_key: "headerRef",
|
|
18818
18824
|
ref: headerRef
|
|
18819
18825
|
}, [
|
|
18820
|
-
isShowStickyNoticeByClose.value ? (openBlock(), createElementBlock("div", {
|
|
18826
|
+
isShowStickyNoticeByClose.value ? withDirectives((openBlock(), createElementBlock("div", {
|
|
18821
18827
|
key: 0,
|
|
18822
18828
|
class: "sticky-notice w-full cursor-pointer",
|
|
18823
18829
|
style: normalizeStyle(stickyNoticeStyle.value),
|
|
@@ -18828,7 +18834,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18828
18834
|
name: "gt-close",
|
|
18829
18835
|
onClick: withModifiers(handleCloseStickyNotice, ["stop"])
|
|
18830
18836
|
})
|
|
18831
|
-
], 4))
|
|
18837
|
+
], 4)), [
|
|
18838
|
+
[unref(vElementExposure), { trigger: (type) => handleStickyNoticeExpo() }]
|
|
18839
|
+
]) : createCommentVNode("", true),
|
|
18832
18840
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
18833
18841
|
class: normalizeClass(["g-toolbar w-full overflow-hidden bg-[var(--theme-default-bg)] allow-click-stop", [isHome.value && showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "g-toolbar-index-head" : ""]]),
|
|
18834
18842
|
style: normalizeStyle(detailBgStyle.value),
|
|
@@ -25158,7 +25166,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25158
25166
|
}
|
|
25159
25167
|
});
|
|
25160
25168
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
25161
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25169
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-v128fXSV.js"));
|
|
25162
25170
|
const useSlidCaptcha = () => {
|
|
25163
25171
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
25164
25172
|
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, 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, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
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, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BA1ulOF1.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 { x as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { x as useLayoutConfig, _ as _export_sfc } from "./index-BA1ulOF1.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
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-BA1ulOF1.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";
|