vue-layout-gitcode 1.5.65 → 1.5.67
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-CgH2lYBJ.js → GloabarSearch-QylJl5dL.js} +3 -3
- package/{MenuItem-CkVAZ33p.js → MenuItem-BVcJBUQS.js} +1 -1
- package/{ProjectMenuList-BP4bhjxR.js → ProjectMenuList-lpRispEl.js} +2 -2
- package/{ProjectMenuListV2-DOsPwH7F.js → ProjectMenuListV2-DoxR5Ks7.js} +2 -2
- package/{ProjectSearch-Bk3Ak5Tj.js → ProjectSearch-DatV5Qmq.js} +1 -1
- package/{SearchHistoryList-Cx8HPV9v.js → SearchHistoryList-BDyCbfuP.js} +1 -1
- package/{SearchPrefixTag-CjYMSbOt.js → SearchPrefixTag-CTlcQLK9.js} +1 -1
- package/{SearchRecommed-D1F5S5tY.js → SearchRecommed-z656PjhL.js} +2 -2
- package/{SearchScopeList-BZxYA-iM.js → SearchScopeList-BjFmVYGG.js} +1 -1
- package/{UserSearch-xSs7e806.js → UserSearch-LrzP3xj4.js} +1 -1
- package/{index-Yb2DaiOw.js → index-CzHfKmeo.js} +1 -1
- package/{index-BuNzB0i-.js → index-DfYMef_C.js} +121 -105
- package/{index-Bdw7Yo8h.js → index-QnT_6ECt.js} +2 -2
- package/index.js +1 -1
- package/{notice-COtMsJI0.js → notice-CNLUj6x4.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-gWTH7uy3.js → transWebUrl-DfEDSbnB.js} +1 -1
|
@@ -7758,7 +7758,8 @@ const gitCodeLayout$1 = {
|
|
|
7758
7758
|
model: "模型",
|
|
7759
7759
|
dataSet: "数据集",
|
|
7760
7760
|
collections: "合集",
|
|
7761
|
-
competition: "大赛"
|
|
7761
|
+
competition: "大赛",
|
|
7762
|
+
tianqi: "天启 AI"
|
|
7762
7763
|
},
|
|
7763
7764
|
GStar: {
|
|
7764
7765
|
project: {
|
|
@@ -8053,7 +8054,8 @@ const gitCodeLayout = {
|
|
|
8053
8054
|
model: "Models",
|
|
8054
8055
|
dataSet: "Datasets",
|
|
8055
8056
|
collections: "Collections",
|
|
8056
|
-
competition: "Competition"
|
|
8057
|
+
competition: "Competition",
|
|
8058
|
+
tianqi: "TianQi AI"
|
|
8057
8059
|
},
|
|
8058
8060
|
GStar: {
|
|
8059
8061
|
project: {
|
|
@@ -10966,12 +10968,12 @@ const _hoisted_3$j = {
|
|
|
10966
10968
|
class: "tooltip-sign"
|
|
10967
10969
|
};
|
|
10968
10970
|
const _hoisted_4$f = { class: "home-nav-tooltip-wrapper" };
|
|
10969
|
-
const _hoisted_5$
|
|
10970
|
-
const _hoisted_6$
|
|
10971
|
+
const _hoisted_5$c = { class: "home-nav-text" };
|
|
10972
|
+
const _hoisted_6$9 = {
|
|
10971
10973
|
key: 1,
|
|
10972
10974
|
class: "tools-list"
|
|
10973
10975
|
};
|
|
10974
|
-
const _hoisted_7$
|
|
10976
|
+
const _hoisted_7$6 = { class: "home-nav-tooltip-wrapper" };
|
|
10975
10977
|
const _hoisted_8$5 = { class: "home-nav-text" };
|
|
10976
10978
|
const _hoisted_9$4 = { class: "text-[var(--theme-placeholder)] text-[10px]" };
|
|
10977
10979
|
const _hoisted_10$4 = { class: "qrcode-wrapper" };
|
|
@@ -11234,7 +11236,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11234
11236
|
}, {
|
|
11235
11237
|
content: withCtx(() => [
|
|
11236
11238
|
createElementVNode("div", _hoisted_4$f, [
|
|
11237
|
-
createElementVNode("div", _hoisted_5$
|
|
11239
|
+
createElementVNode("div", _hoisted_5$c, toDisplayString$1(unref(t2)("gitCodeLayout.userSetting.menu.growthCenter")), 1)
|
|
11238
11240
|
])
|
|
11239
11241
|
]),
|
|
11240
11242
|
default: withCtx(() => [
|
|
@@ -11254,13 +11256,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
11254
11256
|
]),
|
|
11255
11257
|
_: 1
|
|
11256
11258
|
})) : createCommentVNode("", true),
|
|
11257
|
-
isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
11259
|
+
isModuleVisible(unref(ToolsFloatDisplayItem).ELSE) ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
11258
11260
|
createVNode(unref(Tooltip), {
|
|
11259
11261
|
position: "left",
|
|
11260
11262
|
"overlay-class": "tools-tag-tooltip"
|
|
11261
11263
|
}, {
|
|
11262
11264
|
content: withCtx(() => [
|
|
11263
|
-
createElementVNode("div", _hoisted_7$
|
|
11265
|
+
createElementVNode("div", _hoisted_7$6, [
|
|
11264
11266
|
createElementVNode("div", _hoisted_8$5, [
|
|
11265
11267
|
createElementVNode("p", null, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback01")), 1),
|
|
11266
11268
|
createElementVNode("p", _hoisted_9$4, toDisplayString$1(unref(t2)("gitCodeLayout.home.userFeedback02")), 1)
|
|
@@ -12049,7 +12051,6 @@ const setTheme = (theme2) => {
|
|
|
12049
12051
|
setThemeVal.value = theme2 || localStorage$2.getItem("gitcode_theme") || ThemeType.WHITE;
|
|
12050
12052
|
if (typeof document !== "undefined" && document.documentElement) {
|
|
12051
12053
|
document.documentElement.setAttribute("data-theme", setThemeVal.value);
|
|
12052
|
-
document.documentElement.classList.toggle("dark", setThemeVal.value === ThemeType.BLACK);
|
|
12053
12054
|
}
|
|
12054
12055
|
};
|
|
12055
12056
|
class Theme {
|
|
@@ -12153,8 +12154,7 @@ if (isBrowser) {
|
|
|
12153
12154
|
};
|
|
12154
12155
|
}
|
|
12155
12156
|
const sessionStorage$1 = sessionStorage;
|
|
12156
|
-
const _imports_0 = "data:image/
|
|
12157
|
-
const _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQ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Quh7lT3nH/t9mjTslFtaKKX/+Vgomv29pReK8euHczK2x1c7Lv5pNOXzCE1qFJpM5tRck3f97FqUjn/o99Mnpq4jASwnX/cCFVJlxN6B8m9n7lJjo9ShrGbCSgquLn91xumS1XReLc0me/5bOr54GNm+dbrS2YJzsgGAlzvTG2323Txr+v9b3Gu57vgaBJC4bx6EDi9eVZ9pNWo1pYI/eCwU1mc+8nSyevNQXbsfvC13K2xi24fBk5scZYaWUUfcgxOxZqT43Cbg3d+/nenG2uH2Zn/T6e3ZvdarCJrIjA8w181k9nS/NLw93pjG9vYxja2p8G+ADz7MtW/3lU1AAAAAElFTkSuQmCC";
|
|
12158
12158
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
12159
12159
|
...{
|
|
12160
12160
|
name: "GAvatar"
|
|
@@ -14684,11 +14684,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
14684
14684
|
}
|
|
14685
14685
|
});
|
|
14686
14686
|
const AiHubMenusMobile = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
14687
|
-
const
|
|
14688
|
-
const
|
|
14689
|
-
const
|
|
14690
|
-
const
|
|
14691
|
-
const
|
|
14687
|
+
const TianQiLogo = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.30092%202.27987C8.28135%201.69577%2010.1198%202.03026%2011.7932%203.243C12.3951%203.67891%2012.5486%204.40313%2012.1951%204.99446C11.9008%205.48728%2011.3547%205.71063%2010.7754%205.57549C10.3794%205.48294%2010.0999%205.07196%2010.0488%204.51328C10.0424%204.44895%2010.0291%204.38384%2010.0129%204.30469C10.0037%204.25983%209.99358%204.21033%209.98321%204.15364C9.89703%204.20281%209.81722%204.24768%209.74173%204.29013C9.62114%204.35794%209.51127%204.41973%209.40322%204.48337C8.9703%204.75662%208.46098%204.88171%207.95143%204.83996C7.63501%204.80585%207.31511%204.82644%207.0056%204.90081C6.46142%205.04964%205.96663%204.95714%205.46392%204.75438C5.3347%204.71172%205.20322%204.67626%205.0701%204.64819C5.07491%204.74687%205.07874%204.84048%205.08242%204.93074C5.08934%205.10033%205.09578%205.25817%205.10741%205.41581C5.12683%205.67588%205.0839%205.91926%204.99446%206.15433C3.67934%207.26749%203.03659%209.02618%203.48693%2010.7454C3.7999%2011.9402%204.58237%2012.8928%205.59851%2013.472C4.86676%2013.1546%204.19657%2012.6851%203.60035%2012.0492C0.569753%208.81687%202.03082%203.54584%206.30092%202.27987Z'%20fill='url(%23paint0_linear_33_582)'/%3e%3cpath%20d='M5.02758%206.09912C4.98592%206.22217%204.93135%206.34278%204.86591%206.46205C4.46961%207.16211%204.26613%207.95564%204.27642%208.76097C4.30395%2010.0668%205.08751%2011.0368%206.40182%2011.4535C7.55603%2011.8198%208.7168%2011.8038%209.8764%2011.5186C10.5117%2011.3654%2011.0864%2011.0238%2011.5259%2010.5381C11.634%2010.4206%2011.73%2010.2924%2011.8123%2010.1554C12.1483%209.58547%2011.924%209.05279%2011.2707%208.94431C11.0417%208.90629%2010.8073%208.90393%2010.5724%208.90157C10.4088%208.89992%209.68673%208.87741%209.5243%208.86369C8.96315%208.81737%208.73264%208.79986%208.40345%208.70009C8.107%208.61024%207.86691%208.42956%207.83888%208.16143C7.7975%207.76561%207.94103%207.49749%208.22909%207.337C8.50679%207.18641%208.81167%207.09322%209.12579%207.0629C10.1312%206.96587%2011.1331%207.03782%2011.9503%207.24211C13.5748%207.577%2014.4194%209.19023%2013.639%2010.6644C12.5384%2012.7421%2010.8142%2013.9409%208.42024%2013.9974C7.42684%2014.0214%206.4963%2013.8641%205.64774%2013.5037C4.59858%2012.9018%203.80713%2011.9507%203.49578%2010.7621C3.05136%209.06548%203.6966%207.31096%205.02758%206.09912Z'%20fill='url(%23paint1_linear_33_582)'/%3e%3cpath%20d='M7.98853%207.54053C7.96659%207.6126%207.95782%207.69036%207.96658%207.77415C7.99462%208.04228%208.35961%208.23333%208.65607%208.32319C8.98526%208.42296%209.29614%208.4367%209.85729%208.48301C10.0197%208.49674%2010.7418%208.51925%2010.9054%208.52089C11.1403%208.52326%2011.3383%208.54053%2011.5672%208.57855C12.1418%208.67396%2012.5632%209.15313%2012.295%209.88092C12.244%2010.0469%2012.1035%2010.3278%2011.8865%2010.5449C11.4233%2011.008%2010.7373%2011.5008%209.85729%2011.694C8.69437%2011.9494%207.56305%2011.8688%206.40885%2011.5025C6.19202%2011.4338%205.99853%2011.3382%205.82642%2011.2208C6.00502%2011.3121%206.19745%2011.3908%206.40284%2011.4559C7.55704%2011.8222%208.71781%2011.8062%209.87741%2011.521C10.5127%2011.3678%2011.0874%2011.0262%2011.5269%2010.5405C11.6351%2010.423%2011.731%2010.2947%2011.8134%2010.1577C12.1494%209.58785%2011.925%209.05517%2011.2717%208.94669C11.0428%208.90867%2010.8083%208.90631%2010.5735%208.90394C10.4098%208.9023%209.68775%208.87979%209.52531%208.86606C8.96417%208.81975%208.73366%208.80224%208.40447%208.70247C8.10801%208.61262%207.86793%208.43194%207.83989%208.16381C7.81254%207.90219%207.86598%207.69637%207.98853%207.54053Z'%20fill='url(%23paint2_linear_33_582)'/%3e%3cpath%20d='M4.63091%206.49365C3.7169%207.69769%203.39534%209.31585%203.91292%2010.8533C4.46284%2012.4867%205.8223%2013.6199%207.39672%2013.9591C6.77982%2013.8906%206.1924%2013.742%205.63976%2013.5073C4.59067%2012.9054%203.79928%2011.9543%203.48795%2010.7658C3.08928%209.24381%203.51435%207.68111%204.63091%206.49365Z'%20fill='url(%23paint3_linear_33_582)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_33_582'%20x1='10.677'%20y1='2'%20x2='1.99512'%20y2='11.2246'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230554C8'/%3e%3cstop%20offset='1'%20stop-color='%2300C0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_33_582'%20x1='5.52241'%20y1='10.6817'%20x2='9.86338'%20y2='6.61207'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230067D4'/%3e%3cstop%20offset='1'%20stop-color='%2300B8FB'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_33_582'%20x1='9.32139'%20y1='8.78262'%20x2='9.32139'%20y2='12.0383'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230167D4'/%3e%3cstop%20offset='0.432762'%20stop-color='%23018BE5'/%3e%3cstop%20offset='1'%20stop-color='%23016CD6'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_33_582'%20x1='4.16541'%20y1='8.51152'%20x2='7.03841'%20y2='13.9503'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2342C6F9'/%3e%3cstop%20offset='1'%20stop-color='%236DDDFE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
14688
|
+
const _hoisted_1$t = ["src"];
|
|
14689
|
+
const _hoisted_2$j = { class: "ai-hub-menus-item_label" };
|
|
14690
|
+
const _hoisted_3$h = ["onMouseenter"];
|
|
14691
|
+
const _hoisted_4$e = ["src"];
|
|
14692
|
+
const _hoisted_5$b = { class: "ai-hub-menus-themetablist" };
|
|
14693
|
+
const _hoisted_6$8 = { class: "flex items-center gap-[8px] font-semibold" };
|
|
14694
|
+
const _hoisted_7$5 = { class: "w-[32px] h-[32px] flex items-center justify-center" };
|
|
14692
14695
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
14693
14696
|
__name: "AiHubMenus",
|
|
14694
14697
|
props: ["scene"],
|
|
@@ -14776,6 +14779,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14776
14779
|
url: `${layoutConfig2.VITE_AI_HOST}/competition`,
|
|
14777
14780
|
menueKey: RouteNameEnum.AI_COMPETITION,
|
|
14778
14781
|
repoType: "competition"
|
|
14782
|
+
},
|
|
14783
|
+
{
|
|
14784
|
+
label: t2("gitCodeLayout.aihub.tianqi"),
|
|
14785
|
+
img: TianQiLogo,
|
|
14786
|
+
to: "/competition",
|
|
14787
|
+
url: `${layoutConfig2.VITE_TIANQI_HOST}`,
|
|
14788
|
+
menueKey: RouteNameEnum.AI_COMPETITION,
|
|
14789
|
+
repoType: "competition"
|
|
14779
14790
|
}
|
|
14780
14791
|
];
|
|
14781
14792
|
return list.filter((item) => !item.onlyMobile || isMobile.value && isRouterLink.value);
|
|
@@ -14809,8 +14820,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14809
14820
|
];
|
|
14810
14821
|
});
|
|
14811
14822
|
const getActiveIcon = (menu) => {
|
|
14812
|
-
var _a
|
|
14813
|
-
return ((_a =
|
|
14823
|
+
var _a;
|
|
14824
|
+
return ((_a = hoverMenu.value) == null ? void 0 : _a.url) === menu.url ? menu.activeIcon : props.scene === SceneValue.aiHome ? menu.whiteIcon : menu.icon;
|
|
14814
14825
|
};
|
|
14815
14826
|
const isActiveThemeItem = (itemUrl) => {
|
|
14816
14827
|
if (typeof window === "undefined") return false;
|
|
@@ -14823,32 +14834,36 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14823
14834
|
class: normalizeClass(["ai-hub-menus", { "home-menu": __props.scene === unref(SceneValue).aiHome }])
|
|
14824
14835
|
}, [
|
|
14825
14836
|
(openBlock(true), createElementBlock(Fragment, null, renderList(menus.value, (menu, index2) => {
|
|
14826
|
-
var _a;
|
|
14827
14837
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
14828
14838
|
menu.id !== unref(aiThemeMenuId) ? (openBlock(), createBlock(GLink, {
|
|
14829
14839
|
key: 0,
|
|
14830
|
-
class:
|
|
14840
|
+
class: "ai-hub-menus-item flex items-center gap-[6px]",
|
|
14831
14841
|
href: isRouterLink.value ? void 0 : menu.url,
|
|
14832
14842
|
to: isRouterLink.value ? menu.to : void 0,
|
|
14833
14843
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14834
14844
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => hoverMenu.value = void 0)
|
|
14835
14845
|
}, {
|
|
14836
14846
|
default: withCtx(() => [
|
|
14837
|
-
|
|
14838
|
-
|
|
14847
|
+
menu.img ? (openBlock(), createElementBlock("img", {
|
|
14848
|
+
key: 0,
|
|
14849
|
+
src: menu.img,
|
|
14850
|
+
class: "w-[16px]"
|
|
14851
|
+
}, null, 8, _hoisted_1$t)) : (openBlock(), createBlock(GIcon, {
|
|
14852
|
+
key: 1,
|
|
14853
|
+
size: "12px",
|
|
14839
14854
|
name: getActiveIcon(menu)
|
|
14840
|
-
}, null, 8, ["name"]),
|
|
14841
|
-
createElementVNode("span",
|
|
14855
|
+
}, null, 8, ["name"])),
|
|
14856
|
+
createElementVNode("span", _hoisted_2$j, toDisplayString$1(menu.label), 1)
|
|
14842
14857
|
]),
|
|
14843
14858
|
_: 2
|
|
14844
|
-
}, 1032, ["
|
|
14859
|
+
}, 1032, ["href", "to", "onMouseenter"])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
14845
14860
|
key: 1,
|
|
14846
14861
|
trigger: "hover",
|
|
14847
14862
|
"overlay-class": "theme-tablist",
|
|
14848
14863
|
position: ["top-start"]
|
|
14849
14864
|
}, {
|
|
14850
14865
|
menu: withCtx(() => [
|
|
14851
|
-
createElementVNode("ul",
|
|
14866
|
+
createElementVNode("ul", _hoisted_5$b, [
|
|
14852
14867
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeTablist.value, (item, index22) => {
|
|
14853
14868
|
return openBlock(), createBlock(GLink, {
|
|
14854
14869
|
key: index22,
|
|
@@ -14861,7 +14876,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14861
14876
|
createVNode(GIcon, {
|
|
14862
14877
|
class: "mr-[12px]",
|
|
14863
14878
|
name: item.icon,
|
|
14864
|
-
size: "
|
|
14879
|
+
size: "12"
|
|
14865
14880
|
}, null, 8, ["name"]),
|
|
14866
14881
|
createElementVNode("span", null, toDisplayString$1(item.name), 1)
|
|
14867
14882
|
]),
|
|
@@ -14871,21 +14886,26 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14871
14886
|
])
|
|
14872
14887
|
]),
|
|
14873
14888
|
default: withCtx(() => {
|
|
14874
|
-
var
|
|
14889
|
+
var _a;
|
|
14875
14890
|
return [
|
|
14876
14891
|
createElementVNode("div", {
|
|
14877
14892
|
class: "ai-hub-menus-item flex items-center gap-[8px]",
|
|
14878
14893
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14879
14894
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => hoverMenu.value = void 0)
|
|
14880
14895
|
}, [
|
|
14881
|
-
|
|
14882
|
-
|
|
14896
|
+
menu.img ? (openBlock(), createElementBlock("img", {
|
|
14897
|
+
key: 0,
|
|
14898
|
+
src: menu.img,
|
|
14899
|
+
class: "w-[16px]"
|
|
14900
|
+
}, null, 8, _hoisted_4$e)) : (openBlock(), createBlock(GIcon, {
|
|
14901
|
+
key: 1,
|
|
14902
|
+
size: "12px",
|
|
14883
14903
|
name: getActiveIcon(menu)
|
|
14884
|
-
}, null, 8, ["name"]),
|
|
14904
|
+
}, null, 8, ["name"])),
|
|
14885
14905
|
createElementVNode("span", {
|
|
14886
|
-
class: normalizeClass(["ai-hub-menus-item_label hemin", { "theme-tablist-hoverColor": ((
|
|
14906
|
+
class: normalizeClass(["ai-hub-menus-item_label hemin", { "theme-tablist-hoverColor": ((_a = hoverMenu.value) == null ? void 0 : _a.url) === menu.url }])
|
|
14887
14907
|
}, toDisplayString$1(menu.label), 3)
|
|
14888
|
-
], 40,
|
|
14908
|
+
], 40, _hoisted_3$h)
|
|
14889
14909
|
];
|
|
14890
14910
|
}),
|
|
14891
14911
|
_: 2
|
|
@@ -14907,14 +14927,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14907
14927
|
href: activeMenu.value.url
|
|
14908
14928
|
}, {
|
|
14909
14929
|
default: withCtx(() => [
|
|
14910
|
-
createElementVNode("span",
|
|
14930
|
+
createElementVNode("span", _hoisted_6$8, [
|
|
14911
14931
|
createVNode(GIcon, {
|
|
14912
14932
|
size: "24px",
|
|
14913
14933
|
name: activeMenu.value.icon
|
|
14914
14934
|
}, null, 8, ["name"]),
|
|
14915
14935
|
createTextVNode(" " + toDisplayString$1(activeMenu.value.label), 1)
|
|
14916
14936
|
]),
|
|
14917
|
-
createElementVNode("div",
|
|
14937
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
14918
14938
|
createVNode(GIcon, {
|
|
14919
14939
|
size: "18px",
|
|
14920
14940
|
name: "gt-line-down",
|
|
@@ -15755,7 +15775,7 @@ const useTimeFormat = () => {
|
|
|
15755
15775
|
};
|
|
15756
15776
|
const _hoisted_1$r = {
|
|
15757
15777
|
key: 0,
|
|
15758
|
-
class: "aihub-layout-toolbar"
|
|
15778
|
+
class: "aihub-layout-toolbar justify-between flex-1"
|
|
15759
15779
|
};
|
|
15760
15780
|
const _hoisted_2$i = {
|
|
15761
15781
|
key: 1,
|
|
@@ -15763,14 +15783,14 @@ const _hoisted_2$i = {
|
|
|
15763
15783
|
};
|
|
15764
15784
|
const _hoisted_3$g = { class: "org-layout-toolbar-title flex-1 ellipsis-two-line" };
|
|
15765
15785
|
const _hoisted_4$d = { class: "text-xs" };
|
|
15766
|
-
const _hoisted_5$
|
|
15767
|
-
const _hoisted_6$
|
|
15786
|
+
const _hoisted_5$a = { class: "flex items-center w-full" };
|
|
15787
|
+
const _hoisted_6$7 = {
|
|
15768
15788
|
key: 1,
|
|
15769
15789
|
class: "flex items-center min-w-[30px]"
|
|
15770
15790
|
};
|
|
15771
15791
|
const _hoisted_7$4 = {
|
|
15772
15792
|
key: 0,
|
|
15773
|
-
src:
|
|
15793
|
+
src: _imports_0,
|
|
15774
15794
|
alt: "mirrors-avatar-phone",
|
|
15775
15795
|
class: "h-[24px] w-[24px]"
|
|
15776
15796
|
};
|
|
@@ -15916,17 +15936,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15916
15936
|
return (_ctx, _cache) => {
|
|
15917
15937
|
var _a, _b;
|
|
15918
15938
|
return inAIHub.value && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
15919
|
-
|
|
15920
|
-
class: "aihub-layout-logo",
|
|
15921
|
-
href: unref(layoutConfig2).VITE_AI_HOST
|
|
15922
|
-
}, {
|
|
15923
|
-
default: withCtx(() => [
|
|
15924
|
-
_cache[1] || (_cache[1] = createElementVNode("img", { src: _imports_0 }, null, -1)),
|
|
15925
|
-
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.aihub.header.aihub")), 1)
|
|
15926
|
-
]),
|
|
15927
|
-
_: 1,
|
|
15928
|
-
__: [1]
|
|
15929
|
-
}, 8, ["href"]),
|
|
15939
|
+
renderSlot(_ctx.$slots, "aiSearch", {}, void 0, true),
|
|
15930
15940
|
createVNode(AiHubMenus, { scene: _ctx.scene }, null, 8, ["scene"])
|
|
15931
15941
|
])) : _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
|
|
15932
15942
|
createVNode(GLink, {
|
|
@@ -15981,7 +15991,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15981
15991
|
default: withCtx(() => {
|
|
15982
15992
|
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
15983
15993
|
return [
|
|
15984
|
-
createElementVNode("h2", _hoisted_5$
|
|
15994
|
+
createElementVNode("h2", _hoisted_5$a, [
|
|
15985
15995
|
createVNode(GLink, {
|
|
15986
15996
|
href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
|
|
15987
15997
|
class: "pr-[12px]"
|
|
@@ -15997,7 +16007,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15997
16007
|
width: 28,
|
|
15998
16008
|
height: 28,
|
|
15999
16009
|
is_round: !isOrg.value
|
|
16000
|
-
}, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$
|
|
16010
|
+
}, null, 8, ["class", "src", "name", "is_round"])) : (openBlock(), createElementBlock("div", _hoisted_6$7, [
|
|
16001
16011
|
unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$4)) : (openBlock(), createElementBlock("img", _hoisted_8$4))
|
|
16002
16012
|
]))
|
|
16003
16013
|
];
|
|
@@ -16031,7 +16041,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16031
16041
|
]),
|
|
16032
16042
|
_: 2
|
|
16033
16043
|
}, 1032, ["href"]),
|
|
16034
|
-
_cache[
|
|
16044
|
+
_cache[1] || (_cache[1] = createElementVNode("span", { class: "breadcrumb-splitter font-color-t1" }, " / ", -1))
|
|
16035
16045
|
])) : createCommentVNode("", true)
|
|
16036
16046
|
], 64);
|
|
16037
16047
|
}), 128))
|
|
@@ -16063,11 +16073,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16063
16073
|
type: "gstar",
|
|
16064
16074
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.graduation")}`
|
|
16065
16075
|
}, {
|
|
16066
|
-
default: withCtx(() => _cache[
|
|
16076
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
16067
16077
|
createTextVNode("G-Star ")
|
|
16068
16078
|
])),
|
|
16069
16079
|
_: 1,
|
|
16070
|
-
__: [
|
|
16080
|
+
__: [2]
|
|
16071
16081
|
}, 8, ["message"])
|
|
16072
16082
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
16073
16083
|
createVNode(_sfc_main$y, {
|
|
@@ -16076,11 +16086,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16076
16086
|
type: "incubation",
|
|
16077
16087
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.incubation")}`
|
|
16078
16088
|
}, {
|
|
16079
|
-
default: withCtx(() => _cache[
|
|
16089
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
16080
16090
|
createTextVNode(" G-Star ")
|
|
16081
16091
|
])),
|
|
16082
16092
|
_: 1,
|
|
16083
|
-
__: [
|
|
16093
|
+
__: [3]
|
|
16084
16094
|
}, 8, ["message"])
|
|
16085
16095
|
])) : createCommentVNode("", true),
|
|
16086
16096
|
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
@@ -16565,8 +16575,8 @@ const _hoisted_1$o = {
|
|
|
16565
16575
|
const _hoisted_2$h = { class: "flex items-center font-medium gap-[4px]" };
|
|
16566
16576
|
const _hoisted_3$f = ["src"];
|
|
16567
16577
|
const _hoisted_4$c = { class: "level-name" };
|
|
16568
|
-
const _hoisted_5$
|
|
16569
|
-
const _hoisted_6$
|
|
16578
|
+
const _hoisted_5$9 = { class: "level-icon" };
|
|
16579
|
+
const _hoisted_6$6 = ["src"];
|
|
16570
16580
|
const _hoisted_7$3 = { class: "custom-btn" };
|
|
16571
16581
|
const _hoisted_8$3 = { class: "flex items-center justify-center" };
|
|
16572
16582
|
const maxLevel = 3;
|
|
@@ -16630,11 +16640,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16630
16640
|
}, null, 8, _hoisted_3$f),
|
|
16631
16641
|
createElementVNode("div", _hoisted_4$c, [
|
|
16632
16642
|
createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
|
|
16633
|
-
createElementVNode("div", _hoisted_5$
|
|
16643
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
16634
16644
|
createElementVNode("img", {
|
|
16635
16645
|
src: levelInfo.value.level,
|
|
16636
16646
|
alt: ""
|
|
16637
|
-
}, null, 8, _hoisted_6$
|
|
16647
|
+
}, null, 8, _hoisted_6$6)
|
|
16638
16648
|
])
|
|
16639
16649
|
])
|
|
16640
16650
|
]),
|
|
@@ -16877,8 +16887,8 @@ const _hoisted_4$a = {
|
|
|
16877
16887
|
key: 0,
|
|
16878
16888
|
class: "g-user-avatar__badge"
|
|
16879
16889
|
};
|
|
16880
|
-
const _hoisted_5$
|
|
16881
|
-
const _hoisted_6$
|
|
16890
|
+
const _hoisted_5$8 = { class: "g-user-drawer" };
|
|
16891
|
+
const _hoisted_6$5 = { class: "p-[16px] pt-[8px] pb-0 flex justify-end items-center h-[48px]" };
|
|
16882
16892
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
16883
16893
|
...{
|
|
16884
16894
|
name: "UserAvatar"
|
|
@@ -16980,7 +16990,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16980
16990
|
onToggle: handleToggle
|
|
16981
16991
|
}, {
|
|
16982
16992
|
menu: withCtx(() => [
|
|
16983
|
-
createElementVNode("div", _hoisted_5$
|
|
16993
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
16984
16994
|
createVNode(UserAvatarMenu, {
|
|
16985
16995
|
independence: __props.independence,
|
|
16986
16996
|
loginOutFinish: __props.loginOutFinish,
|
|
@@ -17013,7 +17023,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17013
17023
|
}, {
|
|
17014
17024
|
default: withCtx(() => [
|
|
17015
17025
|
createElementVNode("div", null, [
|
|
17016
|
-
createElementVNode("div", _hoisted_6$
|
|
17026
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
17017
17027
|
createVNode(unref(Button), {
|
|
17018
17028
|
class: "cursor-pointer draw-side-bar-close",
|
|
17019
17029
|
icon: "close",
|
|
@@ -17130,7 +17140,7 @@ const _hoisted_1$l = { class: "g-header-search-prefix" };
|
|
|
17130
17140
|
const _hoisted_2$e = { class: "g-header-search-suffix-splitline" };
|
|
17131
17141
|
const _hoisted_3$c = { class: "g-header-search-suffix-suffixIcon" };
|
|
17132
17142
|
const _hoisted_4$9 = { class: "history-list" };
|
|
17133
|
-
const _hoisted_5$
|
|
17143
|
+
const _hoisted_5$7 = {
|
|
17134
17144
|
key: 1,
|
|
17135
17145
|
class: "aireposearch flex-1"
|
|
17136
17146
|
};
|
|
@@ -17145,13 +17155,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17145
17155
|
var _a;
|
|
17146
17156
|
const layoutConfig2 = useLayoutConfig();
|
|
17147
17157
|
const { t: $t } = i18n.global;
|
|
17148
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17149
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17150
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17151
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17152
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17153
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17154
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17158
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-DatV5Qmq.js"));
|
|
17159
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-LrzP3xj4.js"));
|
|
17160
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-QylJl5dL.js"));
|
|
17161
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-BDyCbfuP.js"));
|
|
17162
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BjFmVYGG.js"));
|
|
17163
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CTlcQLK9.js"));
|
|
17164
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-z656PjhL.js"));
|
|
17155
17165
|
const props = __props;
|
|
17156
17166
|
const repoInfo = inject("repoInfo");
|
|
17157
17167
|
const orgInfo = inject("orgInfo");
|
|
@@ -17744,7 +17754,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17744
17754
|
_: 1
|
|
17745
17755
|
}, 8, ["overlay-class", "visible"])
|
|
17746
17756
|
], 2)) : createCommentVNode("", true),
|
|
17747
|
-
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
17757
|
+
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
17748
17758
|
createVNode(unref(Input), {
|
|
17749
17759
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
17750
17760
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -17772,7 +17782,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17772
17782
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17773
17783
|
}
|
|
17774
17784
|
};
|
|
17775
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17785
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-CNLUj6x4.js"));
|
|
17776
17786
|
function clearNotice() {
|
|
17777
17787
|
if (localStorage$2.getItem("validator_email")) {
|
|
17778
17788
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17799,13 +17809,18 @@ function useNotification() {
|
|
|
17799
17809
|
notice
|
|
17800
17810
|
};
|
|
17801
17811
|
}
|
|
17802
|
-
const _hoisted_1$k = {
|
|
17812
|
+
const _hoisted_1$k = { class: "g-toolbar-left items-center allow-click-stop flex-[1] min-w-0" };
|
|
17813
|
+
const _hoisted_2$d = {
|
|
17814
|
+
key: 0,
|
|
17815
|
+
class: "search-avatar flex-1 flex items-center justify-center"
|
|
17816
|
+
};
|
|
17817
|
+
const _hoisted_3$b = {
|
|
17803
17818
|
key: 1,
|
|
17804
17819
|
class: "g-header-body"
|
|
17805
17820
|
};
|
|
17806
|
-
const
|
|
17807
|
-
const
|
|
17808
|
-
const
|
|
17821
|
+
const _hoisted_4$8 = { class: "g-header-body-left h-full" };
|
|
17822
|
+
const _hoisted_5$6 = { class: "g-header-body-right h-full" };
|
|
17823
|
+
const _hoisted_6$4 = { key: 2 };
|
|
17809
17824
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
17810
17825
|
...{
|
|
17811
17826
|
name: "header"
|
|
@@ -17882,7 +17897,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17882
17897
|
case SceneValue.aiHome:
|
|
17883
17898
|
case SceneValue.aiRepo:
|
|
17884
17899
|
case SceneValue.aiGuide:
|
|
17885
|
-
return [HeaderDisplayItem.
|
|
17900
|
+
return [HeaderDisplayItem.ASIDE_BUTTON, HeaderDisplayItem.LOGIN_AND_AVATAR, HeaderDisplayItem.MESSAGE_CENTER, HeaderDisplayItem.CUSTOM_CONTENT];
|
|
17886
17901
|
default:
|
|
17887
17902
|
return [HeaderDisplayItem.LOGIN_AND_AVATAR, HeaderDisplayItem.NAME_AND_ICON];
|
|
17888
17903
|
}
|
|
@@ -18105,9 +18120,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18105
18120
|
style: normalizeStyle({ height: `${unref(height)}px` })
|
|
18106
18121
|
}, [
|
|
18107
18122
|
createElementVNode("div", {
|
|
18108
|
-
class: normalizeClass(["g-header allow-click-stop fixed z-20",
|
|
18123
|
+
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" : ""]]),
|
|
18109
18124
|
ref_key: "headerRef",
|
|
18110
|
-
ref: headerRef
|
|
18125
|
+
ref: headerRef,
|
|
18126
|
+
style: normalizeStyle(detailBgStyle.value)
|
|
18111
18127
|
}, [
|
|
18112
18128
|
isShowStickyNoticeByClose.value ? withDirectives((openBlock(), createElementBlock("div", {
|
|
18113
18129
|
key: 0,
|
|
@@ -18124,13 +18140,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18124
18140
|
[unref(vElementExposure), { trigger: (type) => handleStickyNoticeExpo() }]
|
|
18125
18141
|
]) : createCommentVNode("", true),
|
|
18126
18142
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
18127
|
-
class:
|
|
18128
|
-
style: normalizeStyle(detailBgStyle.value),
|
|
18143
|
+
class: "g-toolbar w-full overflow-hidden allow-click-stop",
|
|
18129
18144
|
onClick: withModifiers(handleToolbarClick, ["stop"])
|
|
18130
18145
|
}, [
|
|
18131
|
-
createElementVNode("div",
|
|
18132
|
-
class: normalizeClass(["g-toolbar-left items-center allow-click-stop", { "flex-[1] min-w-0": !inAIHub.value }])
|
|
18133
|
-
}, [
|
|
18146
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
18134
18147
|
createElementVNode("div", {
|
|
18135
18148
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
18136
18149
|
}, ["stop"])),
|
|
@@ -18144,10 +18157,10 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18144
18157
|
class: "cursor-pointer hover:!text-[var(--theme-stress-text)] g-toolbar-left-asideicon",
|
|
18145
18158
|
color: "var(--theme-aide-text)"
|
|
18146
18159
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
18147
|
-
showNameAndIcon.value && _ctx.independence ? (openBlock(), createBlock(GLink, {
|
|
18160
|
+
showNameAndIcon.value && _ctx.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
18148
18161
|
key: 1,
|
|
18149
18162
|
class: normalizeClass(["g-toolbar-left-logo", unref(currentTheme)]),
|
|
18150
|
-
href: `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
18163
|
+
href: inAIHub.value ? `${unref(layoutConfig2).VITE_AI_HOST}` : `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
18151
18164
|
}, null, 8, ["class", "href"])) : createCommentVNode("", true),
|
|
18152
18165
|
showNameAndIcon.value && !_ctx.independence ? (openBlock(), createBlock(GLink, {
|
|
18153
18166
|
key: 2,
|
|
@@ -18169,12 +18182,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18169
18182
|
userProps: (_d = _ctx.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
18170
18183
|
onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
|
|
18171
18184
|
onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
|
|
18172
|
-
},
|
|
18185
|
+
}, {
|
|
18186
|
+
aiSearch: withCtx(() => [
|
|
18187
|
+
renderSlot(_ctx.$slots, "aiSearch", {}, void 0, true)
|
|
18188
|
+
]),
|
|
18189
|
+
_: 3
|
|
18190
|
+
}, 8, ["scene", "isLogin", "errorCode", "orgProps", "repoProps", "userProps"])) : createCommentVNode("", true)
|
|
18173
18191
|
], 2)) : createCommentVNode("", true)
|
|
18174
|
-
]
|
|
18175
|
-
|
|
18176
|
-
class: normalizeClass(["search-avatar flex-1 flex items-center", inAIHub.value ? "ml-[auto] justify-end" : "justify-center"])
|
|
18177
|
-
}, [
|
|
18192
|
+
]),
|
|
18193
|
+
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
18178
18194
|
isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
|
|
18179
18195
|
(openBlock(), createBlock(Search, {
|
|
18180
18196
|
inAIHub: inAIHub.value,
|
|
@@ -18183,7 +18199,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18183
18199
|
isShowStickyNotice: isShowStickyNoticeByClose.value
|
|
18184
18200
|
}, null, 8, ["inAIHub", "sceneValue", "isShowStickyNotice"]))
|
|
18185
18201
|
], true) : createCommentVNode("", true)
|
|
18186
|
-
],
|
|
18202
|
+
])) : createCommentVNode("", true),
|
|
18187
18203
|
createElementVNode("div", {
|
|
18188
18204
|
class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px] allow-click-stop", inAIHub.value ? "flex-none" : ""])
|
|
18189
18205
|
}, [
|
|
@@ -18237,23 +18253,23 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18237
18253
|
}, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
|
|
18238
18254
|
], 64))
|
|
18239
18255
|
], 2)
|
|
18240
|
-
]
|
|
18256
|
+
])), [
|
|
18241
18257
|
[unref(vElementExposure), { trigger: (type) => handleToolbarExpo() }]
|
|
18242
18258
|
]),
|
|
18243
|
-
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div",
|
|
18259
|
+
_ctx.$slots.info || _ctx.$slots.menu || _ctx.$slots.bodyHeader ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
18244
18260
|
renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
|
|
18245
|
-
createElementVNode("div",
|
|
18261
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
18246
18262
|
renderSlot(_ctx.$slots, "info", {}, void 0, true)
|
|
18247
18263
|
]),
|
|
18248
|
-
createElementVNode("div",
|
|
18264
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
18249
18265
|
renderSlot(_ctx.$slots, "menu", {}, void 0, true)
|
|
18250
18266
|
])
|
|
18251
18267
|
], true)
|
|
18252
18268
|
])) : createCommentVNode("", true),
|
|
18253
|
-
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div",
|
|
18269
|
+
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
18254
18270
|
renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
|
|
18255
18271
|
])) : createCommentVNode("", true)
|
|
18256
|
-
],
|
|
18272
|
+
], 6)
|
|
18257
18273
|
], 6);
|
|
18258
18274
|
};
|
|
18259
18275
|
}
|
|
@@ -18438,9 +18454,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18438
18454
|
const layoutConfig2 = useLayoutConfig();
|
|
18439
18455
|
const { t: t2 } = i18n.global;
|
|
18440
18456
|
const route = useRoute();
|
|
18441
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18442
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18443
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18457
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-BVcJBUQS.js"));
|
|
18458
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DoxR5Ks7.js"));
|
|
18459
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-lpRispEl.js"));
|
|
18444
18460
|
const props = __props;
|
|
18445
18461
|
const useReport2 = inject("useReport");
|
|
18446
18462
|
const userInfo = inject("userInfo");
|
|
@@ -23985,7 +24001,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23985
24001
|
}
|
|
23986
24002
|
});
|
|
23987
24003
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
23988
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24004
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-CzHfKmeo.js"));
|
|
23989
24005
|
const useSlidCaptcha = () => {
|
|
23990
24006
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
23991
24007
|
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-DfYMef_C.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DfEDSbnB.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";
|
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-DfYMef_C.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";
|