vue-layout-gitcode 1.5.62 → 1.5.64-beta.2
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-DSZ5rrut.js → GloabarSearch-CJKrmM_8.js} +3 -3
- package/{MenuItem-CQ8Ff_70.js → MenuItem-COUqrW9H.js} +1 -1
- package/{ProjectMenuList-BQpROUox.js → ProjectMenuList-Cuc1OWBx.js} +2 -2
- package/{ProjectMenuListV2-BvILfa3e.js → ProjectMenuListV2-B-XSzdg9.js} +2 -2
- package/{ProjectSearch-B2BdLgf6.js → ProjectSearch-CMu0IXwI.js} +1 -1
- package/{SearchHistoryList-CWHeWQ7m.js → SearchHistoryList-0fW7HUo4.js} +1 -1
- package/{SearchPrefixTag-DYcSY9Mz.js → SearchPrefixTag-BtzqwVPE.js} +1 -1
- package/{SearchRecommed-BCwzid6d.js → SearchRecommed-Blx4qgpv.js} +2 -2
- package/{SearchScopeList-CNG0E_C5.js → SearchScopeList-BQOUgU84.js} +1 -1
- package/{UserSearch-DYAn41by.js → UserSearch-DQKqZfOE.js} +1 -1
- package/{index-5ZMJRXkB.js → index-COcSkVFa.js} +2 -2
- package/{index-qLrOzgxs.js → index-CaBRJr3s.js} +117 -100
- package/{index-D7JSK1OR.js → index-p2iObvsP.js} +1 -1
- package/index.js +1 -1
- package/{notice-j9wjoba5.js → notice-BiEcKs6V.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-Cxmfzomb.js → transWebUrl-WTmelbDK.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)
|
|
@@ -12152,8 +12154,7 @@ if (isBrowser) {
|
|
|
12152
12154
|
};
|
|
12153
12155
|
}
|
|
12154
12156
|
const sessionStorage$1 = sessionStorage;
|
|
12155
|
-
const _imports_0 = "data:image/
|
|
12156
|
-
const _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAmsSURBVHgB7VpdbxxnFT7nfccmRam6/gXZXIBy1y3qRe8YR6kUoUpdbhACJNtShFJUSCyBBFd2I1ClAoklVAE32BYXRAJqIwEyUOrNL4h70dtm+wvqNG7deGbe03PO+7Gzlr27/kpzsSeazO5kZvZ95jnnOR8TgLGNbWxjG9vYDjWEp8zyNjUg22lBiS1TuOeNo5YFbBgyTUMAFgz4PXYnDEzf3XimO+h+GTwFls9S43G5O2NLaLtqp2VKaJiSCB0yGEQEJAHFI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3ZvdarCJrIjA8w181k9nS/NLw93pjG9vYxja2p8G+ADz7MtW/3lU1AAAAAElFTkSuQmCC";
|
|
12157
12158
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
12158
12159
|
...{
|
|
12159
12160
|
name: "GAvatar"
|
|
@@ -14683,11 +14684,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
14683
14684
|
}
|
|
14684
14685
|
});
|
|
14685
14686
|
const AiHubMenusMobile = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
14686
|
-
const
|
|
14687
|
-
const
|
|
14688
|
-
const
|
|
14689
|
-
const
|
|
14690
|
-
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" };
|
|
14691
14695
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
14692
14696
|
__name: "AiHubMenus",
|
|
14693
14697
|
props: ["scene"],
|
|
@@ -14775,6 +14779,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14775
14779
|
url: `${layoutConfig2.VITE_AI_HOST}/competition`,
|
|
14776
14780
|
menueKey: RouteNameEnum.AI_COMPETITION,
|
|
14777
14781
|
repoType: "competition"
|
|
14782
|
+
},
|
|
14783
|
+
{
|
|
14784
|
+
label: t2("gitCodeLayout.aihub.tianqi"),
|
|
14785
|
+
img: TianQiLogo,
|
|
14786
|
+
to: "/competition",
|
|
14787
|
+
url: `${layoutConfig2.VITE_AI_HOST}/competition`,
|
|
14788
|
+
menueKey: RouteNameEnum.AI_COMPETITION,
|
|
14789
|
+
repoType: "competition"
|
|
14778
14790
|
}
|
|
14779
14791
|
];
|
|
14780
14792
|
return list.filter((item) => !item.onlyMobile || isMobile.value && isRouterLink.value);
|
|
@@ -14808,8 +14820,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14808
14820
|
];
|
|
14809
14821
|
});
|
|
14810
14822
|
const getActiveIcon = (menu) => {
|
|
14811
|
-
var _a
|
|
14812
|
-
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;
|
|
14813
14825
|
};
|
|
14814
14826
|
const isActiveThemeItem = (itemUrl) => {
|
|
14815
14827
|
if (typeof window === "undefined") return false;
|
|
@@ -14822,32 +14834,36 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14822
14834
|
class: normalizeClass(["ai-hub-menus", { "home-menu": __props.scene === unref(SceneValue).aiHome }])
|
|
14823
14835
|
}, [
|
|
14824
14836
|
(openBlock(true), createElementBlock(Fragment, null, renderList(menus.value, (menu, index2) => {
|
|
14825
|
-
var _a;
|
|
14826
14837
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
14827
14838
|
menu.id !== unref(aiThemeMenuId) ? (openBlock(), createBlock(GLink, {
|
|
14828
14839
|
key: 0,
|
|
14829
|
-
class:
|
|
14840
|
+
class: "ai-hub-menus-item flex items-center gap-[6px]",
|
|
14830
14841
|
href: isRouterLink.value ? void 0 : menu.url,
|
|
14831
14842
|
to: isRouterLink.value ? menu.to : void 0,
|
|
14832
14843
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14833
14844
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => hoverMenu.value = void 0)
|
|
14834
14845
|
}, {
|
|
14835
14846
|
default: withCtx(() => [
|
|
14836
|
-
|
|
14837
|
-
|
|
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",
|
|
14838
14854
|
name: getActiveIcon(menu)
|
|
14839
|
-
}, null, 8, ["name"]),
|
|
14840
|
-
createElementVNode("span",
|
|
14855
|
+
}, null, 8, ["name"])),
|
|
14856
|
+
createElementVNode("span", _hoisted_2$j, toDisplayString$1(menu.label), 1)
|
|
14841
14857
|
]),
|
|
14842
14858
|
_: 2
|
|
14843
|
-
}, 1032, ["
|
|
14859
|
+
}, 1032, ["href", "to", "onMouseenter"])) : (openBlock(), createBlock(unref(Dropdown), {
|
|
14844
14860
|
key: 1,
|
|
14845
14861
|
trigger: "hover",
|
|
14846
14862
|
"overlay-class": "theme-tablist",
|
|
14847
14863
|
position: ["top-start"]
|
|
14848
14864
|
}, {
|
|
14849
14865
|
menu: withCtx(() => [
|
|
14850
|
-
createElementVNode("ul",
|
|
14866
|
+
createElementVNode("ul", _hoisted_5$b, [
|
|
14851
14867
|
(openBlock(true), createElementBlock(Fragment, null, renderList(themeTablist.value, (item, index22) => {
|
|
14852
14868
|
return openBlock(), createBlock(GLink, {
|
|
14853
14869
|
key: index22,
|
|
@@ -14860,7 +14876,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14860
14876
|
createVNode(GIcon, {
|
|
14861
14877
|
class: "mr-[12px]",
|
|
14862
14878
|
name: item.icon,
|
|
14863
|
-
size: "
|
|
14879
|
+
size: "12"
|
|
14864
14880
|
}, null, 8, ["name"]),
|
|
14865
14881
|
createElementVNode("span", null, toDisplayString$1(item.name), 1)
|
|
14866
14882
|
]),
|
|
@@ -14870,21 +14886,26 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14870
14886
|
])
|
|
14871
14887
|
]),
|
|
14872
14888
|
default: withCtx(() => {
|
|
14873
|
-
var
|
|
14889
|
+
var _a;
|
|
14874
14890
|
return [
|
|
14875
14891
|
createElementVNode("div", {
|
|
14876
14892
|
class: "ai-hub-menus-item flex items-center gap-[8px]",
|
|
14877
14893
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14878
14894
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => hoverMenu.value = void 0)
|
|
14879
14895
|
}, [
|
|
14880
|
-
|
|
14881
|
-
|
|
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",
|
|
14882
14903
|
name: getActiveIcon(menu)
|
|
14883
|
-
}, null, 8, ["name"]),
|
|
14904
|
+
}, null, 8, ["name"])),
|
|
14884
14905
|
createElementVNode("span", {
|
|
14885
|
-
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 }])
|
|
14886
14907
|
}, toDisplayString$1(menu.label), 3)
|
|
14887
|
-
], 40,
|
|
14908
|
+
], 40, _hoisted_3$h)
|
|
14888
14909
|
];
|
|
14889
14910
|
}),
|
|
14890
14911
|
_: 2
|
|
@@ -14906,14 +14927,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14906
14927
|
href: activeMenu.value.url
|
|
14907
14928
|
}, {
|
|
14908
14929
|
default: withCtx(() => [
|
|
14909
|
-
createElementVNode("span",
|
|
14930
|
+
createElementVNode("span", _hoisted_6$8, [
|
|
14910
14931
|
createVNode(GIcon, {
|
|
14911
14932
|
size: "24px",
|
|
14912
14933
|
name: activeMenu.value.icon
|
|
14913
14934
|
}, null, 8, ["name"]),
|
|
14914
14935
|
createTextVNode(" " + toDisplayString$1(activeMenu.value.label), 1)
|
|
14915
14936
|
]),
|
|
14916
|
-
createElementVNode("div",
|
|
14937
|
+
createElementVNode("div", _hoisted_7$5, [
|
|
14917
14938
|
createVNode(GIcon, {
|
|
14918
14939
|
size: "18px",
|
|
14919
14940
|
name: "gt-line-down",
|
|
@@ -15754,7 +15775,7 @@ const useTimeFormat = () => {
|
|
|
15754
15775
|
};
|
|
15755
15776
|
const _hoisted_1$r = {
|
|
15756
15777
|
key: 0,
|
|
15757
|
-
class: "aihub-layout-toolbar"
|
|
15778
|
+
class: "aihub-layout-toolbar justify-between flex-1"
|
|
15758
15779
|
};
|
|
15759
15780
|
const _hoisted_2$i = {
|
|
15760
15781
|
key: 1,
|
|
@@ -15762,14 +15783,14 @@ const _hoisted_2$i = {
|
|
|
15762
15783
|
};
|
|
15763
15784
|
const _hoisted_3$g = { class: "org-layout-toolbar-title flex-1 ellipsis-two-line" };
|
|
15764
15785
|
const _hoisted_4$d = { class: "text-xs" };
|
|
15765
|
-
const _hoisted_5$
|
|
15766
|
-
const _hoisted_6$
|
|
15786
|
+
const _hoisted_5$a = { class: "flex items-center w-full" };
|
|
15787
|
+
const _hoisted_6$7 = {
|
|
15767
15788
|
key: 1,
|
|
15768
15789
|
class: "flex items-center min-w-[30px]"
|
|
15769
15790
|
};
|
|
15770
15791
|
const _hoisted_7$4 = {
|
|
15771
15792
|
key: 0,
|
|
15772
|
-
src:
|
|
15793
|
+
src: _imports_0,
|
|
15773
15794
|
alt: "mirrors-avatar-phone",
|
|
15774
15795
|
class: "h-[24px] w-[24px]"
|
|
15775
15796
|
};
|
|
@@ -15915,17 +15936,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15915
15936
|
return (_ctx, _cache) => {
|
|
15916
15937
|
var _a, _b;
|
|
15917
15938
|
return inAIHub.value && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
15918
|
-
|
|
15919
|
-
class: "aihub-layout-logo",
|
|
15920
|
-
href: unref(layoutConfig2).VITE_AI_HOST
|
|
15921
|
-
}, {
|
|
15922
|
-
default: withCtx(() => [
|
|
15923
|
-
_cache[1] || (_cache[1] = createElementVNode("img", { src: _imports_0 }, null, -1)),
|
|
15924
|
-
createElementVNode("span", null, toDisplayString$1(unref(t2)("gitCodeLayout.aihub.header.aihub")), 1)
|
|
15925
|
-
]),
|
|
15926
|
-
_: 1,
|
|
15927
|
-
__: [1]
|
|
15928
|
-
}, 8, ["href"]),
|
|
15939
|
+
renderSlot(_ctx.$slots, "aiSearch", {}, void 0, true),
|
|
15929
15940
|
createVNode(AiHubMenus, { scene: _ctx.scene }, null, 8, ["scene"])
|
|
15930
15941
|
])) : _ctx.scene === unref(SceneValue).org && !_ctx.errorCode ? (openBlock(), createElementBlock("div", _hoisted_2$i, [
|
|
15931
15942
|
createVNode(GLink, {
|
|
@@ -15980,7 +15991,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15980
15991
|
default: withCtx(() => {
|
|
15981
15992
|
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
15982
15993
|
return [
|
|
15983
|
-
createElementVNode("h2", _hoisted_5$
|
|
15994
|
+
createElementVNode("h2", _hoisted_5$a, [
|
|
15984
15995
|
createVNode(GLink, {
|
|
15985
15996
|
href: (_a2 = unref(breadcrumb)[0]) == null ? void 0 : _a2.path,
|
|
15986
15997
|
class: "pr-[12px]"
|
|
@@ -15996,7 +16007,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
15996
16007
|
width: 28,
|
|
15997
16008
|
height: 28,
|
|
15998
16009
|
is_round: !isOrg.value
|
|
15999
|
-
}, 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, [
|
|
16000
16011
|
unref(isPhone)() ? (openBlock(), createElementBlock("img", _hoisted_7$4)) : (openBlock(), createElementBlock("img", _hoisted_8$4))
|
|
16001
16012
|
]))
|
|
16002
16013
|
];
|
|
@@ -16030,7 +16041,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16030
16041
|
]),
|
|
16031
16042
|
_: 2
|
|
16032
16043
|
}, 1032, ["href"]),
|
|
16033
|
-
_cache[
|
|
16044
|
+
_cache[1] || (_cache[1] = createElementVNode("span", { class: "breadcrumb-splitter font-color-t1" }, " / ", -1))
|
|
16034
16045
|
])) : createCommentVNode("", true)
|
|
16035
16046
|
], 64);
|
|
16036
16047
|
}), 128))
|
|
@@ -16062,11 +16073,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16062
16073
|
type: "gstar",
|
|
16063
16074
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.graduation")}`
|
|
16064
16075
|
}, {
|
|
16065
|
-
default: withCtx(() => _cache[
|
|
16076
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
16066
16077
|
createTextVNode("G-Star ")
|
|
16067
16078
|
])),
|
|
16068
16079
|
_: 1,
|
|
16069
|
-
__: [
|
|
16080
|
+
__: [2]
|
|
16070
16081
|
}, 8, ["message"])
|
|
16071
16082
|
])) : unref(isIncubationRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
16072
16083
|
createVNode(_sfc_main$y, {
|
|
@@ -16075,11 +16086,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
16075
16086
|
type: "incubation",
|
|
16076
16087
|
message: `G-Star ${unref(t2)("gitCodeLayout.GStar.project.incubation")}`
|
|
16077
16088
|
}, {
|
|
16078
|
-
default: withCtx(() => _cache[
|
|
16089
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
16079
16090
|
createTextVNode(" G-Star ")
|
|
16080
16091
|
])),
|
|
16081
16092
|
_: 1,
|
|
16082
|
-
__: [
|
|
16093
|
+
__: [3]
|
|
16083
16094
|
}, 8, ["message"])
|
|
16084
16095
|
])) : createCommentVNode("", true),
|
|
16085
16096
|
unref(isTrustedRepo)(unref(repoInfo).topic_names) ? (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
@@ -16564,8 +16575,8 @@ const _hoisted_1$o = {
|
|
|
16564
16575
|
const _hoisted_2$h = { class: "flex items-center font-medium gap-[4px]" };
|
|
16565
16576
|
const _hoisted_3$f = ["src"];
|
|
16566
16577
|
const _hoisted_4$c = { class: "level-name" };
|
|
16567
|
-
const _hoisted_5$
|
|
16568
|
-
const _hoisted_6$
|
|
16578
|
+
const _hoisted_5$9 = { class: "level-icon" };
|
|
16579
|
+
const _hoisted_6$6 = ["src"];
|
|
16569
16580
|
const _hoisted_7$3 = { class: "custom-btn" };
|
|
16570
16581
|
const _hoisted_8$3 = { class: "flex items-center justify-center" };
|
|
16571
16582
|
const maxLevel = 3;
|
|
@@ -16629,11 +16640,11 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16629
16640
|
}, null, 8, _hoisted_3$f),
|
|
16630
16641
|
createElementVNode("div", _hoisted_4$c, [
|
|
16631
16642
|
createElementVNode("div", null, toDisplayString$1(levelInfo.value.name), 1),
|
|
16632
|
-
createElementVNode("div", _hoisted_5$
|
|
16643
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
16633
16644
|
createElementVNode("img", {
|
|
16634
16645
|
src: levelInfo.value.level,
|
|
16635
16646
|
alt: ""
|
|
16636
|
-
}, null, 8, _hoisted_6$
|
|
16647
|
+
}, null, 8, _hoisted_6$6)
|
|
16637
16648
|
])
|
|
16638
16649
|
])
|
|
16639
16650
|
]),
|
|
@@ -16876,8 +16887,8 @@ const _hoisted_4$a = {
|
|
|
16876
16887
|
key: 0,
|
|
16877
16888
|
class: "g-user-avatar__badge"
|
|
16878
16889
|
};
|
|
16879
|
-
const _hoisted_5$
|
|
16880
|
-
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]" };
|
|
16881
16892
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
16882
16893
|
...{
|
|
16883
16894
|
name: "UserAvatar"
|
|
@@ -16979,7 +16990,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16979
16990
|
onToggle: handleToggle
|
|
16980
16991
|
}, {
|
|
16981
16992
|
menu: withCtx(() => [
|
|
16982
|
-
createElementVNode("div", _hoisted_5$
|
|
16993
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
16983
16994
|
createVNode(UserAvatarMenu, {
|
|
16984
16995
|
independence: __props.independence,
|
|
16985
16996
|
loginOutFinish: __props.loginOutFinish,
|
|
@@ -17012,7 +17023,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17012
17023
|
}, {
|
|
17013
17024
|
default: withCtx(() => [
|
|
17014
17025
|
createElementVNode("div", null, [
|
|
17015
|
-
createElementVNode("div", _hoisted_6$
|
|
17026
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
17016
17027
|
createVNode(unref(Button), {
|
|
17017
17028
|
class: "cursor-pointer draw-side-bar-close",
|
|
17018
17029
|
icon: "close",
|
|
@@ -17129,7 +17140,7 @@ const _hoisted_1$l = { class: "g-header-search-prefix" };
|
|
|
17129
17140
|
const _hoisted_2$e = { class: "g-header-search-suffix-splitline" };
|
|
17130
17141
|
const _hoisted_3$c = { class: "g-header-search-suffix-suffixIcon" };
|
|
17131
17142
|
const _hoisted_4$9 = { class: "history-list" };
|
|
17132
|
-
const _hoisted_5$
|
|
17143
|
+
const _hoisted_5$7 = {
|
|
17133
17144
|
key: 1,
|
|
17134
17145
|
class: "aireposearch flex-1"
|
|
17135
17146
|
};
|
|
@@ -17144,13 +17155,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17144
17155
|
var _a;
|
|
17145
17156
|
const layoutConfig2 = useLayoutConfig();
|
|
17146
17157
|
const { t: $t } = i18n.global;
|
|
17147
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17148
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17149
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17150
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17151
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17152
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17153
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17158
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CMu0IXwI.js"));
|
|
17159
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-DQKqZfOE.js"));
|
|
17160
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CJKrmM_8.js"));
|
|
17161
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-0fW7HUo4.js"));
|
|
17162
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-BQOUgU84.js"));
|
|
17163
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BtzqwVPE.js"));
|
|
17164
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Blx4qgpv.js"));
|
|
17154
17165
|
const props = __props;
|
|
17155
17166
|
const repoInfo = inject("repoInfo");
|
|
17156
17167
|
const orgInfo = inject("orgInfo");
|
|
@@ -17743,7 +17754,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17743
17754
|
_: 1
|
|
17744
17755
|
}, 8, ["overlay-class", "visible"])
|
|
17745
17756
|
], 2)) : createCommentVNode("", true),
|
|
17746
|
-
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
17757
|
+
_ctx.inAIHub ? (openBlock(), createElementBlock("div", _hoisted_5$7, [
|
|
17747
17758
|
createVNode(unref(Input), {
|
|
17748
17759
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
17749
17760
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
@@ -17764,14 +17775,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17764
17775
|
}
|
|
17765
17776
|
});
|
|
17766
17777
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
17767
|
-
const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess }) => {
|
|
17778
|
+
const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, loginFuncOpts }) => {
|
|
17768
17779
|
const urlParams = new URLSearchParams(window.location.search);
|
|
17769
17780
|
const hasLoginParam = urlParams.get("isLogin") === "9";
|
|
17770
17781
|
if (hasLoginParam && !isLogin) {
|
|
17771
|
-
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth" }, loginSuccess, openHarmonyGuide);
|
|
17782
|
+
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17772
17783
|
}
|
|
17773
17784
|
};
|
|
17774
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17785
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-BiEcKs6V.js"));
|
|
17775
17786
|
function clearNotice() {
|
|
17776
17787
|
if (localStorage$2.getItem("validator_email")) {
|
|
17777
17788
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17798,13 +17809,18 @@ function useNotification() {
|
|
|
17798
17809
|
notice
|
|
17799
17810
|
};
|
|
17800
17811
|
}
|
|
17801
|
-
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 = {
|
|
17802
17818
|
key: 1,
|
|
17803
17819
|
class: "g-header-body"
|
|
17804
17820
|
};
|
|
17805
|
-
const
|
|
17806
|
-
const
|
|
17807
|
-
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 };
|
|
17808
17824
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
17809
17825
|
...{
|
|
17810
17826
|
name: "header"
|
|
@@ -17881,7 +17897,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17881
17897
|
case SceneValue.aiHome:
|
|
17882
17898
|
case SceneValue.aiRepo:
|
|
17883
17899
|
case SceneValue.aiGuide:
|
|
17884
|
-
return [HeaderDisplayItem.
|
|
17900
|
+
return [HeaderDisplayItem.ASIDE_BUTTON, HeaderDisplayItem.LOGIN_AND_AVATAR, HeaderDisplayItem.MESSAGE_CENTER, HeaderDisplayItem.CUSTOM_CONTENT];
|
|
17885
17901
|
default:
|
|
17886
17902
|
return [HeaderDisplayItem.LOGIN_AND_AVATAR, HeaderDisplayItem.NAME_AND_ICON];
|
|
17887
17903
|
}
|
|
@@ -18040,7 +18056,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18040
18056
|
onMounted(() => {
|
|
18041
18057
|
toNotice();
|
|
18042
18058
|
nextTick(() => {
|
|
18043
|
-
autoAvokeLogin({ isLogin: props.isLogin, loginFunc: login, openHarmonyGuide: props.openHarmonyGuide, loginSuccess: props.loginSuccess });
|
|
18059
|
+
autoAvokeLogin({ isLogin: props.isLogin, loginFunc: login, loginFuncOpts: { childComponents: props == null ? void 0 : props.loginChildComponents }, openHarmonyGuide: props.openHarmonyGuide, loginSuccess: props.loginSuccess });
|
|
18044
18060
|
});
|
|
18045
18061
|
addEventListener("logout", (options) => {
|
|
18046
18062
|
const token = localStorage$2.getItem("access_token");
|
|
@@ -18127,9 +18143,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18127
18143
|
style: normalizeStyle(detailBgStyle.value),
|
|
18128
18144
|
onClick: withModifiers(handleToolbarClick, ["stop"])
|
|
18129
18145
|
}, [
|
|
18130
|
-
createElementVNode("div",
|
|
18131
|
-
class: normalizeClass(["g-toolbar-left items-center allow-click-stop", { "flex-[1] min-w-0": !inAIHub.value }])
|
|
18132
|
-
}, [
|
|
18146
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
18133
18147
|
createElementVNode("div", {
|
|
18134
18148
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
18135
18149
|
}, ["stop"])),
|
|
@@ -18143,7 +18157,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18143
18157
|
class: "cursor-pointer hover:!text-[var(--theme-stress-text)] g-toolbar-left-asideicon",
|
|
18144
18158
|
color: "var(--theme-aide-text)"
|
|
18145
18159
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
18146
|
-
showNameAndIcon.value && _ctx.independence ? (openBlock(), createBlock(GLink, {
|
|
18160
|
+
showNameAndIcon.value && _ctx.independence || inAIHub.value ? (openBlock(), createBlock(GLink, {
|
|
18147
18161
|
key: 1,
|
|
18148
18162
|
class: normalizeClass(["g-toolbar-left-logo", unref(currentTheme)]),
|
|
18149
18163
|
href: `${unref(layoutConfig2).VITE_HOST}?p=seo`
|
|
@@ -18168,12 +18182,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18168
18182
|
userProps: (_d = _ctx.headerCustomProps) == null ? void 0 : _d.userProps,
|
|
18169
18183
|
onFollowDevCommunity: _cache[1] || (_cache[1] = ($event) => emit("followDevCommunity", $event)),
|
|
18170
18184
|
onFollowUser: _cache[2] || (_cache[2] = ($event) => emit("followUser"))
|
|
18171
|
-
},
|
|
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)
|
|
18172
18191
|
], 2)) : createCommentVNode("", true)
|
|
18173
|
-
]
|
|
18174
|
-
|
|
18175
|
-
class: normalizeClass(["search-avatar flex-1 flex items-center", inAIHub.value ? "ml-[auto] justify-end" : "justify-center"])
|
|
18176
|
-
}, [
|
|
18192
|
+
]),
|
|
18193
|
+
!inAIHub.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
|
|
18177
18194
|
isModuleVisible(unref(HeaderDisplayItem).SEARCH_BUTTON) ? renderSlot(_ctx.$slots, "search", { key: 0 }, () => [
|
|
18178
18195
|
(openBlock(), createBlock(Search, {
|
|
18179
18196
|
inAIHub: inAIHub.value,
|
|
@@ -18182,7 +18199,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18182
18199
|
isShowStickyNotice: isShowStickyNoticeByClose.value
|
|
18183
18200
|
}, null, 8, ["inAIHub", "sceneValue", "isShowStickyNotice"]))
|
|
18184
18201
|
], true) : createCommentVNode("", true)
|
|
18185
|
-
],
|
|
18202
|
+
])) : createCommentVNode("", true),
|
|
18186
18203
|
createElementVNode("div", {
|
|
18187
18204
|
class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px] allow-click-stop", inAIHub.value ? "flex-none" : ""])
|
|
18188
18205
|
}, [
|
|
@@ -18239,17 +18256,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18239
18256
|
], 6)), [
|
|
18240
18257
|
[unref(vElementExposure), { trigger: (type) => handleToolbarExpo() }]
|
|
18241
18258
|
]),
|
|
18242
|
-
_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, [
|
|
18243
18260
|
renderSlot(_ctx.$slots, "bodyHeader", {}, () => [
|
|
18244
|
-
createElementVNode("div",
|
|
18261
|
+
createElementVNode("div", _hoisted_4$8, [
|
|
18245
18262
|
renderSlot(_ctx.$slots, "info", {}, void 0, true)
|
|
18246
18263
|
]),
|
|
18247
|
-
createElementVNode("div",
|
|
18264
|
+
createElementVNode("div", _hoisted_5$6, [
|
|
18248
18265
|
renderSlot(_ctx.$slots, "menu", {}, void 0, true)
|
|
18249
18266
|
])
|
|
18250
18267
|
], true)
|
|
18251
18268
|
])) : createCommentVNode("", true),
|
|
18252
|
-
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div",
|
|
18269
|
+
_ctx.$slots.headerBottom ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
18253
18270
|
renderSlot(_ctx.$slots, "headerBottom", {}, void 0, true)
|
|
18254
18271
|
])) : createCommentVNode("", true)
|
|
18255
18272
|
], 2)
|
|
@@ -18437,9 +18454,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18437
18454
|
const layoutConfig2 = useLayoutConfig();
|
|
18438
18455
|
const { t: t2 } = i18n.global;
|
|
18439
18456
|
const route = useRoute();
|
|
18440
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18441
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18442
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18457
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-COUqrW9H.js"));
|
|
18458
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-B-XSzdg9.js"));
|
|
18459
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-Cuc1OWBx.js"));
|
|
18443
18460
|
const props = __props;
|
|
18444
18461
|
const useReport2 = inject("useReport");
|
|
18445
18462
|
const userInfo = inject("userInfo");
|
|
@@ -23984,7 +24001,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23984
24001
|
}
|
|
23985
24002
|
});
|
|
23986
24003
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
23987
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24004
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-p2iObvsP.js"));
|
|
23988
24005
|
const useSlidCaptcha = () => {
|
|
23989
24006
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
23990
24007
|
const open = (config) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import { q as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { q as useLayoutConfig, _ as _export_sfc } from "./index-CaBRJr3s.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-CaBRJr3s.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";
|