vue-layout-gitcode 1.5.70 → 1.5.71-beta.1
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-BZb_AQ_p.js → GloabarSearch-B2cBjJxR.js} +3 -3
- package/{MenuItem-DzFWRd3i.js → MenuItem-Mis-lRvG.js} +1 -1
- package/{ProjectMenuList-DFZFG7Uj.js → ProjectMenuList-CnazOV3x.js} +2 -2
- package/{ProjectMenuListV2-wIv5Ewd6.js → ProjectMenuListV2-BnCD_wh2.js} +2 -2
- package/{ProjectSearch-10Vyr8h_.js → ProjectSearch-B35LhYZp.js} +1 -1
- package/{SearchHistoryList-sF4YL25O.js → SearchHistoryList-DlNOn2fq.js} +1 -1
- package/{SearchPrefixTag-t4kN1J7O.js → SearchPrefixTag-D2cgM0gG.js} +1 -1
- package/{SearchRecommed-D76hxxeA.js → SearchRecommed-BGQXc3cG.js} +2 -2
- package/{SearchScopeList-B22z5UAY.js → SearchScopeList-D-WiV98l.js} +1 -1
- package/{UserSearch-Bx0G5NV8.js → UserSearch-DCj7X7xk.js} +1 -1
- package/{index-Bxhc6nCo.js → index-BjCXLLyL.js} +44 -36
- package/{index-XjwMbIbJ.js → index-CJaeRe33.js} +2 -2
- package/{index-Br6vcucJ.js → index-CsudLpZf.js} +1 -1
- package/index.js +1 -1
- package/{notice-DaYgpSkE.js → notice-Dkzmw8Z6.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-DTXUrWYK.js → transWebUrl-H_IT5Xzt.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
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-BjCXLLyL.js";
|
|
5
5
|
import "lodash/debounce";
|
|
6
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
7
|
-
import "./transWebUrl-
|
|
6
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-CJaeRe33.js";
|
|
7
|
+
import "./transWebUrl-H_IT5Xzt.js";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
9
9
|
import "vue-devui-lal/tooltip/style.css";
|
|
10
10
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, useSlots, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BjCXLLyL.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Popover } from "vue-devui-lal/popover";
|
|
5
5
|
import "vue-devui-lal/popover/style.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, q as useLayoutConfig, G as GIcon, C as _sfc_main$1, D as loadAsideData, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, F as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, q as useLayoutConfig, G as GIcon, C as _sfc_main$1, D as loadAsideData, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, F as asideRequest, _ as _export_sfc } from "./index-BjCXLLyL.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-H_IT5Xzt.js";
|
|
5
5
|
import { Select, Option } from "vue-devui-lal/select";
|
|
6
6
|
import { Input } from "vue-devui-lal/input";
|
|
7
7
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, q as useLayoutConfig, G as GIcon, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, q as useLayoutConfig, G as GIcon, A as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-BjCXLLyL.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-H_IT5Xzt.js";
|
|
5
5
|
import { Input } from "vue-devui-lal/input";
|
|
6
6
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
7
7
|
import { MenuItem } from "vue-devui-lal/menu";
|
|
@@ -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-BjCXLLyL.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-BjCXLLyL.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-BjCXLLyL.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-CJaeRe33.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-BjCXLLyL.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-BjCXLLyL.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-BjCXLLyL.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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, render, resolveComponent, watchEffect, withDirectives, vShow, guardReactiveProps, onBeforeUnmount, nextTick, defineAsyncComponent, withKeys, useCssVars,
|
|
1
|
+
import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, render, resolveComponent, watchEffect, withDirectives, vShow, guardReactiveProps, onBeforeUnmount, resolveDynamicComponent, nextTick, defineAsyncComponent, withKeys, useCssVars, createSlots, toRaw, mergeModels, useModel as useModel$1, watchPostEffect } from "vue";
|
|
2
2
|
import { Button } from "vue-devui-lal/button";
|
|
3
3
|
import { Popover } from "vue-devui-lal/popover";
|
|
4
4
|
import { Tooltip } from "vue-devui-lal/tooltip";
|
|
@@ -14730,47 +14730,52 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14730
14730
|
url: `${layoutConfig2.VITE_AI_HOST}/`,
|
|
14731
14731
|
menueKey: RouteNameEnum.HOME,
|
|
14732
14732
|
repoType: "home",
|
|
14733
|
-
onlyMobile: true
|
|
14733
|
+
onlyMobile: true,
|
|
14734
|
+
hoverClass: ""
|
|
14734
14735
|
},
|
|
14735
14736
|
{
|
|
14736
14737
|
label: t2("gitCodeLayout.aihub.model"),
|
|
14737
|
-
icon: "gt-
|
|
14738
|
-
activeIcon: "gt-
|
|
14738
|
+
icon: "gt-plane-models",
|
|
14739
|
+
activeIcon: "gt-plane-models-color",
|
|
14739
14740
|
whiteIcon: "gt-model_dark_bg",
|
|
14740
14741
|
to: "/models",
|
|
14741
14742
|
url: `${layoutConfig2.VITE_AI_HOST}/models`,
|
|
14742
14743
|
menueKey: RouteNameEnum.AI_MODELS,
|
|
14743
|
-
repoType: RepoType.model
|
|
14744
|
+
repoType: RepoType.model,
|
|
14745
|
+
hoverClass: "hover:!text-indigo-700"
|
|
14744
14746
|
},
|
|
14745
14747
|
{
|
|
14746
14748
|
label: t2("gitCodeLayout.aihub.dataSet"),
|
|
14747
|
-
icon: "gt-
|
|
14748
|
-
activeIcon: "gt-
|
|
14749
|
+
icon: "gt-plane-Datasets2",
|
|
14750
|
+
activeIcon: "gt-plane-Datasets-color",
|
|
14749
14751
|
whiteIcon: "gt-dataset_dark_bg",
|
|
14750
14752
|
to: "/datasets",
|
|
14751
14753
|
url: `${layoutConfig2.VITE_AI_HOST}/datasets`,
|
|
14752
14754
|
menueKey: RouteNameEnum.AI_DATASETS,
|
|
14753
|
-
repoType: RepoType.dataset
|
|
14755
|
+
repoType: RepoType.dataset,
|
|
14756
|
+
hoverClass: "hover:!text-red-700"
|
|
14754
14757
|
},
|
|
14755
14758
|
{
|
|
14756
14759
|
label: "Spaces",
|
|
14757
|
-
icon: "gt-
|
|
14758
|
-
activeIcon: "gt-
|
|
14760
|
+
icon: "gt-plane-plances",
|
|
14761
|
+
activeIcon: "gt-plane-plances-color",
|
|
14759
14762
|
whiteIcon: "gt-space_dark_bg",
|
|
14760
14763
|
to: "/space",
|
|
14761
14764
|
url: `${layoutConfig2.VITE_AI_HOST}/space`,
|
|
14762
14765
|
menueKey: RouteNameEnum.AI_SPACE,
|
|
14763
|
-
repoType: RepoType.spaces
|
|
14766
|
+
repoType: RepoType.spaces,
|
|
14767
|
+
hoverClass: "hover:!text-blue-700"
|
|
14764
14768
|
},
|
|
14765
14769
|
{
|
|
14766
14770
|
label: t2("gitCodeLayout.aihub.collections"),
|
|
14767
|
-
icon: "gt-
|
|
14768
|
-
activeIcon: "gt-
|
|
14771
|
+
icon: "gt-plane-collection",
|
|
14772
|
+
activeIcon: "gt-plane-collection-color",
|
|
14769
14773
|
whiteIcon: "gt-a-plane-ModelArea",
|
|
14770
14774
|
to: "/collections",
|
|
14771
14775
|
url: `${layoutConfig2.VITE_AI_HOST}/collections`,
|
|
14772
14776
|
menueKey: RouteNameEnum.AI_COLLECTIONS,
|
|
14773
|
-
repoType: "collections"
|
|
14777
|
+
repoType: "collections",
|
|
14778
|
+
hoverClass: "hover:!text-blue-700"
|
|
14774
14779
|
},
|
|
14775
14780
|
// {
|
|
14776
14781
|
// label: '专区',
|
|
@@ -14785,13 +14790,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14785
14790
|
// },
|
|
14786
14791
|
{
|
|
14787
14792
|
label: t2("gitCodeLayout.aihub.competition"),
|
|
14788
|
-
icon: "gt-a-plane-
|
|
14789
|
-
activeIcon: "gt-
|
|
14793
|
+
icon: "gt-a-plane-GrowthCenter2",
|
|
14794
|
+
activeIcon: "gt-plane-GrowthCenter-color",
|
|
14790
14795
|
whiteIcon: "gt-a-plane-GrowthCenter-2",
|
|
14791
14796
|
to: "/competition",
|
|
14792
14797
|
url: `${layoutConfig2.VITE_AI_HOST}/competition`,
|
|
14793
14798
|
menueKey: RouteNameEnum.AI_COMPETITION,
|
|
14794
|
-
repoType: "competition"
|
|
14799
|
+
repoType: "competition",
|
|
14800
|
+
hoverClass: "hover:!text-yellow-700"
|
|
14795
14801
|
},
|
|
14796
14802
|
{
|
|
14797
14803
|
label: t2("gitCodeLayout.aihub.tianqi"),
|
|
@@ -14799,7 +14805,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14799
14805
|
to: "",
|
|
14800
14806
|
url: `${layoutConfig2.VITE_TIANQI_HOST}`,
|
|
14801
14807
|
menueKey: RouteNameEnum.AI_COMPETITION,
|
|
14802
|
-
repoType: "
|
|
14808
|
+
repoType: "tianqi"
|
|
14803
14809
|
}
|
|
14804
14810
|
];
|
|
14805
14811
|
return list.filter((item) => !item.onlyMobile || isMobile.value && isRouterLink.value);
|
|
@@ -14850,7 +14856,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14850
14856
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
14851
14857
|
menu.id !== unref(aiThemeMenuId) ? (openBlock(), createBlock(GLink, {
|
|
14852
14858
|
key: 0,
|
|
14853
|
-
class: "ai-hub-menus-item flex items-center gap-[6px]",
|
|
14859
|
+
class: normalizeClass(["ai-hub-menus-item flex items-center gap-[6px]", menu.hoverClass]),
|
|
14854
14860
|
href: isRouterLink.value && menu.to ? void 0 : menu.url,
|
|
14855
14861
|
to: isRouterLink.value && menu.to ? menu.to : void 0,
|
|
14856
14862
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
@@ -14863,13 +14869,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14863
14869
|
class: "w-[16px]"
|
|
14864
14870
|
}, null, 8, _hoisted_1$t)) : (openBlock(), createBlock(GIcon, {
|
|
14865
14871
|
key: 1,
|
|
14866
|
-
size: "
|
|
14872
|
+
size: "16px",
|
|
14867
14873
|
name: getActiveIcon(menu)
|
|
14868
14874
|
}, null, 8, ["name"])),
|
|
14869
14875
|
createElementVNode("span", _hoisted_2$j, toDisplayString$1(menu.label), 1)
|
|
14870
14876
|
]),
|
|
14871
14877
|
_: 2
|
|
14872
|
-
}, 1032, ["href", "to", "onMouseenter"])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
14878
|
+
}, 1032, ["href", "to", "onMouseenter", "class"])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
14873
14879
|
key: 1,
|
|
14874
14880
|
trigger: "hover",
|
|
14875
14881
|
"overlay-class": "theme-tablist",
|
|
@@ -14889,7 +14895,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14889
14895
|
createVNode(GIcon, {
|
|
14890
14896
|
class: "mr-[12px]",
|
|
14891
14897
|
name: item.icon,
|
|
14892
|
-
size: "
|
|
14898
|
+
size: "16"
|
|
14893
14899
|
}, null, 8, ["name"]),
|
|
14894
14900
|
createElementVNode("span", null, toDisplayString$1(item.name), 1)
|
|
14895
14901
|
]),
|
|
@@ -16865,7 +16871,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16865
16871
|
class: normalizeClass(["g-user-drawer-block", { "!pt-[0px]": index2 === 0 && __props.inAIHub }]),
|
|
16866
16872
|
key: index2
|
|
16867
16873
|
}, [
|
|
16868
|
-
(openBlock(
|
|
16874
|
+
block.component ? (openBlock(), createBlock(resolveDynamicComponent(block.component), {
|
|
16875
|
+
key: block.id
|
|
16876
|
+
})) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(block, (item) => {
|
|
16869
16877
|
return openBlock(), createBlock(OptionLink, mergeProps({
|
|
16870
16878
|
key: item.id
|
|
16871
16879
|
}, { ref_for: true }, item, {
|
|
@@ -17168,13 +17176,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17168
17176
|
var _a;
|
|
17169
17177
|
const layoutConfig2 = useLayoutConfig();
|
|
17170
17178
|
const { t: $t } = i18n.global;
|
|
17171
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17172
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17173
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17174
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17175
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17176
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17177
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17179
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-B35LhYZp.js"));
|
|
17180
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-DCj7X7xk.js"));
|
|
17181
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-B2cBjJxR.js"));
|
|
17182
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DlNOn2fq.js"));
|
|
17183
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D-WiV98l.js"));
|
|
17184
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-D2cgM0gG.js"));
|
|
17185
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BGQXc3cG.js"));
|
|
17178
17186
|
const props = __props;
|
|
17179
17187
|
const repoInfo = inject("repoInfo");
|
|
17180
17188
|
const orgInfo = inject("orgInfo");
|
|
@@ -17795,7 +17803,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17795
17803
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17796
17804
|
}
|
|
17797
17805
|
};
|
|
17798
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17806
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-Dkzmw8Z6.js"));
|
|
17799
17807
|
function clearNotice() {
|
|
17800
17808
|
if (localStorage$2.getItem("validator_email")) {
|
|
17801
17809
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18133,7 +18141,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18133
18141
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18134
18142
|
}, [
|
|
18135
18143
|
createElementVNode("div", {
|
|
18136
|
-
class: normalizeClass(["g-header allow-click-stop fixed z-20 bg-[var(--theme-default-bg)]", [inAIHub.value ? "ai-hub" : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "bg-transparent" : ""]]),
|
|
18144
|
+
class: normalizeClass(["g-header allow-click-stop fixed z-20 bg-[var(--theme-default-bg)]", [inAIHub.value ? "ai-hub border-b border-gray-100 " : "", isHome.value && showHeaderShadow.value ? "head-shadow" : "", _ctx.headerBorder ? "oldBorder" : "", headerClassName.value, isIndexHead.value && !showHeaderShadow.value ? "bg-transparent" : ""]]),
|
|
18137
18145
|
ref_key: "headerRef",
|
|
18138
18146
|
ref: headerRef,
|
|
18139
18147
|
style: normalizeStyle(detailBgStyle.value)
|
|
@@ -18467,9 +18475,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18467
18475
|
const layoutConfig2 = useLayoutConfig();
|
|
18468
18476
|
const { t: t2 } = i18n.global;
|
|
18469
18477
|
const route = useRoute();
|
|
18470
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18471
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18472
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18478
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-Mis-lRvG.js"));
|
|
18479
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BnCD_wh2.js"));
|
|
18480
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CnazOV3x.js"));
|
|
18473
18481
|
const props = __props;
|
|
18474
18482
|
const useReport2 = inject("useReport");
|
|
18475
18483
|
const userInfo = inject("userInfo");
|
|
@@ -24014,7 +24022,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24014
24022
|
}
|
|
24015
24023
|
});
|
|
24016
24024
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24017
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24025
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-CsudLpZf.js"));
|
|
24018
24026
|
const useSlidCaptcha = () => {
|
|
24019
24027
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24020
24028
|
const open = (config) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
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
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import { t as transferNumber, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$9, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { t as transferNumber, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$9, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BjCXLLyL.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-H_IT5Xzt.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
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 { q as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { q as useLayoutConfig, _ as _export_sfc } from "./index-BjCXLLyL.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-BjCXLLyL.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";
|