vue-layout-gitcode 1.1.7 → 1.1.9
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-81d69f8f.js → GloabarSearch-f2760d8c.js} +22 -24
- package/{ProjectSearch-3e1dae0a.js → ProjectSearch-c442e0b7.js} +2 -2
- package/{SearchHistoryList-cdccbd95.js → SearchHistoryList-dee52db5.js} +3 -3
- package/{SearchPrefixTag-89244de4.js → SearchPrefixTag-24d7f767.js} +4 -4
- package/SearchRecommed-cf028099.js +188 -0
- package/{SearchScopeList-e9b51d5e.js → SearchScopeList-b7d76cfd.js} +3 -3
- package/{UserSearch-42ce01e9.js → UserSearch-428ee053.js} +2 -2
- package/{index-20dfcc22.js → index-840e7c95.js} +67 -66
- package/{SearchRecommed-d7850bb5.js → index-b91c8182.js} +147 -251
- package/{index-15eb6901.js → index-fe9e3db6.js} +1 -1
- package/index.js +6 -6
- package/{notice-cbf4af35.js → notice-b8a01fdb.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/formatNameSpace-9df98279.js +0 -75
|
@@ -7,7 +7,7 @@ import "vue-devui-lal/button/style.css";
|
|
|
7
7
|
import "vue-devui-lal/popover/style.css";
|
|
8
8
|
import "vue-devui-lal/tooltip/style.css";
|
|
9
9
|
import "vue-devui-lal/textarea/style.css";
|
|
10
|
-
import { Icon
|
|
10
|
+
import { Icon } from "vue-devui-lal/icon";
|
|
11
11
|
import "vue-devui-lal/icon/style.css";
|
|
12
12
|
import { useRouter, useRoute, createRouter, createWebHistory } from "vue-router";
|
|
13
13
|
import { useLocalStorage, useWindowSize, useEventListener, useElementSize, useStorage, useDebounceFn } from "@vueuse/core";
|
|
@@ -63,7 +63,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
63
63
|
return /px$/i.test(props.size) ? props.size : `${props.size}px`;
|
|
64
64
|
});
|
|
65
65
|
return (_ctx, _cache) => {
|
|
66
|
-
return !_ctx.name.includes("gt-") ? (openBlock(), createBlock(unref(Icon
|
|
66
|
+
return !_ctx.name.includes("gt-") ? (openBlock(), createBlock(unref(Icon), normalizeProps(mergeProps({ key: 0 }, props)), null, 16)) : _ctx.operable ? (openBlock(), createElementBlock("span", {
|
|
67
67
|
key: 1,
|
|
68
68
|
class: normalizeClass(["custom-icon-container", { disabled: _ctx.disabled }])
|
|
69
69
|
}, [
|
|
@@ -99,7 +99,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
99
99
|
}
|
|
100
100
|
return target;
|
|
101
101
|
};
|
|
102
|
-
const
|
|
102
|
+
const GIcon = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-2115280a"]]);
|
|
103
103
|
const defaultConfig = {
|
|
104
104
|
VITE_ENV: "production",
|
|
105
105
|
VITE_HOST: "https://gitcode.com",
|
|
@@ -11147,7 +11147,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11147
11147
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => activeOp(null)),
|
|
11148
11148
|
onClick: ($event) => selectOpinion(ico)
|
|
11149
11149
|
}, [
|
|
11150
|
-
createVNode(
|
|
11150
|
+
createVNode(GIcon, {
|
|
11151
11151
|
name: ico.name,
|
|
11152
11152
|
size: "24px"
|
|
11153
11153
|
}, null, 8, ["name"])
|
|
@@ -11188,7 +11188,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11188
11188
|
])
|
|
11189
11189
|
])) : (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
11190
11190
|
createElementVNode("div", _hoisted_25, [
|
|
11191
|
-
createVNode(
|
|
11191
|
+
createVNode(GIcon, {
|
|
11192
11192
|
name: "gt-success",
|
|
11193
11193
|
size: "14px",
|
|
11194
11194
|
color: "#fff"
|
|
@@ -11239,7 +11239,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11239
11239
|
(...args) => unref(scrollToTop) && unref(scrollToTop)(...args))
|
|
11240
11240
|
}, [
|
|
11241
11241
|
createElementVNode("div", _hoisted_27, [
|
|
11242
|
-
createVNode(
|
|
11242
|
+
createVNode(GIcon, {
|
|
11243
11243
|
name: "gt-plane-Topping1",
|
|
11244
11244
|
size: "20px"
|
|
11245
11245
|
})
|
|
@@ -14391,7 +14391,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14391
14391
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14392
14392
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => hoverMenu.value = void 0)
|
|
14393
14393
|
}, [
|
|
14394
|
-
createVNode(
|
|
14394
|
+
createVNode(GIcon, {
|
|
14395
14395
|
size: "16px",
|
|
14396
14396
|
name: ((_b = activeMenu.value) == null ? void 0 : _b.url) === menu.url || ((_c = hoverMenu.value) == null ? void 0 : _c.url) === menu.url ? menu.activeIcon : menu.icon
|
|
14397
14397
|
}, null, 8, ["name"]),
|
|
@@ -14412,7 +14412,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14412
14412
|
title: item.name
|
|
14413
14413
|
}, {
|
|
14414
14414
|
default: withCtx(() => [
|
|
14415
|
-
createVNode(
|
|
14415
|
+
createVNode(GIcon, {
|
|
14416
14416
|
class: "mr-[12px]",
|
|
14417
14417
|
name: item.icon,
|
|
14418
14418
|
size: "16"
|
|
@@ -14432,7 +14432,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14432
14432
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14433
14433
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => hoverMenu.value = void 0)
|
|
14434
14434
|
}, [
|
|
14435
|
-
createVNode(
|
|
14435
|
+
createVNode(GIcon, {
|
|
14436
14436
|
size: "16px",
|
|
14437
14437
|
name: ((_a2 = hoverMenu.value) == null ? void 0 : _a2.url) === (menu == null ? void 0 : menu.url) ? menu.activeIcon : menu.icon
|
|
14438
14438
|
}, null, 8, ["name"]),
|
|
@@ -14453,14 +14453,14 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14453
14453
|
}, {
|
|
14454
14454
|
default: withCtx(() => [
|
|
14455
14455
|
createElementVNode("div", _hoisted_6$8, [
|
|
14456
|
-
createVNode(
|
|
14456
|
+
createVNode(GIcon, {
|
|
14457
14457
|
size: "18px",
|
|
14458
14458
|
name: "gt-line-down",
|
|
14459
14459
|
rotate: "90deg"
|
|
14460
14460
|
})
|
|
14461
14461
|
]),
|
|
14462
14462
|
createElementVNode("span", _hoisted_7$6, [
|
|
14463
|
-
createVNode(
|
|
14463
|
+
createVNode(GIcon, {
|
|
14464
14464
|
size: "24px",
|
|
14465
14465
|
name: activeMenu.value.icon
|
|
14466
14466
|
}, null, 8, ["name"]),
|
|
@@ -16656,7 +16656,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16656
16656
|
}, null, 8, ["message"])
|
|
16657
16657
|
])) : createCommentVNode("", true),
|
|
16658
16658
|
((_d = _ctx.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_16$2, [
|
|
16659
|
-
createVNode(
|
|
16659
|
+
createVNode(GIcon, {
|
|
16660
16660
|
size: "16px",
|
|
16661
16661
|
class: "ml-[4px]",
|
|
16662
16662
|
name: "gt-line-lock"
|
|
@@ -16667,7 +16667,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16667
16667
|
class: "topic-tag flex items-center font-color-t2",
|
|
16668
16668
|
onClick: toAiHub
|
|
16669
16669
|
}, [
|
|
16670
|
-
createVNode(
|
|
16670
|
+
createVNode(GIcon, {
|
|
16671
16671
|
name: (_e = topicTag.value) == null ? void 0 : _e.icon,
|
|
16672
16672
|
color: "var(--devui-shape-icon-fill)",
|
|
16673
16673
|
class: "inline-block min-w-[16px]"
|
|
@@ -16675,7 +16675,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16675
16675
|
createElementVNode("span", _hoisted_17$2, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
16676
16676
|
])) : createCommentVNode("", true),
|
|
16677
16677
|
((_g = _ctx.repoProps) == null ? void 0 : _g.isGhMirrors) && showTimeTopic.value && !unref(isPhone)() ? (openBlock(), createElementBlock("div", _hoisted_18$2, [
|
|
16678
|
-
createVNode(
|
|
16678
|
+
createVNode(GIcon, {
|
|
16679
16679
|
name: "gt-line-time",
|
|
16680
16680
|
color: "var(--devui-shape-icon-fill)",
|
|
16681
16681
|
class: "inline-block min-w-[16px]"
|
|
@@ -17089,7 +17089,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
17089
17089
|
status: "danger"
|
|
17090
17090
|
}, {
|
|
17091
17091
|
default: withCtx(() => [
|
|
17092
|
-
createVNode(
|
|
17092
|
+
createVNode(GIcon, {
|
|
17093
17093
|
name: "gt-line-notice",
|
|
17094
17094
|
size: "16px",
|
|
17095
17095
|
color: "var(--theme-aide-text)"
|
|
@@ -17335,7 +17335,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17335
17335
|
title: __props.accountInfo.username
|
|
17336
17336
|
}, "@" + toDisplayString$1(__props.accountInfo.username), 9, _hoisted_4$8)
|
|
17337
17337
|
]),
|
|
17338
|
-
createVNode(
|
|
17338
|
+
createVNode(GIcon, {
|
|
17339
17339
|
name: "gt-line-right",
|
|
17340
17340
|
size: "16"
|
|
17341
17341
|
})
|
|
@@ -17358,7 +17358,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17358
17358
|
target: __props.isChatBot && !item.action ? "_blank" : item.target || ""
|
|
17359
17359
|
}), {
|
|
17360
17360
|
default: withCtx(() => [
|
|
17361
|
-
item.icon ? (openBlock(), createBlock(
|
|
17361
|
+
item.icon ? (openBlock(), createBlock(GIcon, {
|
|
17362
17362
|
key: 0,
|
|
17363
17363
|
name: item.icon,
|
|
17364
17364
|
size: "16px"
|
|
@@ -17661,13 +17661,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17661
17661
|
setup(__props) {
|
|
17662
17662
|
var _a;
|
|
17663
17663
|
const { t: $t } = i18n.global;
|
|
17664
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17665
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17666
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17667
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17668
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17669
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17670
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17664
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-c442e0b7.js"));
|
|
17665
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-428ee053.js"));
|
|
17666
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-f2760d8c.js"));
|
|
17667
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-dee52db5.js"));
|
|
17668
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-b7d76cfd.js"));
|
|
17669
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-24d7f767.js"));
|
|
17670
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-cf028099.js"));
|
|
17671
17671
|
const props = __props;
|
|
17672
17672
|
const repoInfo = inject("repoInfo");
|
|
17673
17673
|
const orgInfo = inject("orgInfo");
|
|
@@ -18098,7 +18098,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18098
18098
|
}, {
|
|
18099
18099
|
prefix: withCtx(() => [
|
|
18100
18100
|
createElementVNode("div", _hoisted_1$j, [
|
|
18101
|
-
createVNode(
|
|
18101
|
+
createVNode(GIcon, {
|
|
18102
18102
|
name: "gt-search",
|
|
18103
18103
|
class: "g-header-search-icon",
|
|
18104
18104
|
onClick: onInputClick
|
|
@@ -18134,7 +18134,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18134
18134
|
class: "g-header-search-suffix",
|
|
18135
18135
|
onClick: onSearch
|
|
18136
18136
|
}, [
|
|
18137
|
-
withDirectives(createVNode(
|
|
18137
|
+
withDirectives(createVNode(GIcon, {
|
|
18138
18138
|
name: "gt-line-close",
|
|
18139
18139
|
class: "g-header-search-suffix-close",
|
|
18140
18140
|
onClick: withModifiers(onClearSearch, ["stop"])
|
|
@@ -18145,7 +18145,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18145
18145
|
[vShow, searchStr.value]
|
|
18146
18146
|
]),
|
|
18147
18147
|
createElementVNode("div", _hoisted_4$7, [
|
|
18148
|
-
createVNode(
|
|
18148
|
+
createVNode(GIcon, {
|
|
18149
18149
|
name: "search",
|
|
18150
18150
|
class: "g-header-search-icon",
|
|
18151
18151
|
color: "#fff"
|
|
@@ -18170,7 +18170,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18170
18170
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => searchStr.value = $event)
|
|
18171
18171
|
}, {
|
|
18172
18172
|
prefix: withCtx(() => [
|
|
18173
|
-
createVNode(
|
|
18173
|
+
createVNode(GIcon, {
|
|
18174
18174
|
name: "gt-search",
|
|
18175
18175
|
class: "g-header-search-icon"
|
|
18176
18176
|
})
|
|
@@ -18182,10 +18182,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18182
18182
|
};
|
|
18183
18183
|
}
|
|
18184
18184
|
});
|
|
18185
|
-
const
|
|
18185
|
+
const index_vue_vue_type_style_index_0_scoped_274b2f03_lang = "";
|
|
18186
18186
|
const index_vue_vue_type_style_index_1_lang$2 = "";
|
|
18187
|
-
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
18188
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18187
|
+
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-274b2f03"]]);
|
|
18188
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-b8a01fdb.js"));
|
|
18189
18189
|
function clearNotice() {
|
|
18190
18190
|
if (localStorage.getItem("validator_email")) {
|
|
18191
18191
|
localStorage.removeItem("validator_email");
|
|
@@ -18409,7 +18409,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18409
18409
|
class: normalizeClass(["g-toolbar-left items-center", { "flex-[1] min-w-0": !inAIHub.value }])
|
|
18410
18410
|
}, [
|
|
18411
18411
|
createElementVNode("div", _hoisted_1$i, [
|
|
18412
|
-
isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) ? (openBlock(), createBlock(
|
|
18412
|
+
isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) ? (openBlock(), createBlock(GIcon, {
|
|
18413
18413
|
key: 0,
|
|
18414
18414
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(emitEvent)("toggleAsideMenuByHamburger")),
|
|
18415
18415
|
name: "gt-hamburger",
|
|
@@ -18455,7 +18455,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18455
18455
|
], true) : createCommentVNode("", true)
|
|
18456
18456
|
]),
|
|
18457
18457
|
createElementVNode("div", {
|
|
18458
|
-
class: normalizeClass(["g-toolbar-right gap-[16px] flex-
|
|
18458
|
+
class: normalizeClass(["g-toolbar-right gap-[16px] flex-none justify-end max-md:gap-[12px]", inAIHub.value ? "2xl:min-w-[600px]" : ""])
|
|
18459
18459
|
}, [
|
|
18460
18460
|
isModuleVisible(unref(HeaderDisplayItem).DEEPSEEK_BUTTON) ? (openBlock(), createBlock(ChatBot, { key: 0 })) : createCommentVNode("", true),
|
|
18461
18461
|
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -18465,7 +18465,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18465
18465
|
class: "app-login-warp border-none login-icon",
|
|
18466
18466
|
onClick: _cache[3] || (_cache[3] = ($event) => handleLogin("login"))
|
|
18467
18467
|
}, [
|
|
18468
|
-
createVNode(
|
|
18468
|
+
createVNode(GIcon, {
|
|
18469
18469
|
name: "gt-line-NotLoggedIn",
|
|
18470
18470
|
size: "24px",
|
|
18471
18471
|
color: "var(--devui-aide-text)"
|
|
@@ -18525,8 +18525,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18525
18525
|
};
|
|
18526
18526
|
}
|
|
18527
18527
|
});
|
|
18528
|
-
const
|
|
18529
|
-
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
18528
|
+
const index_vue_vue_type_style_index_0_scoped_71ed150b_lang = "";
|
|
18529
|
+
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-71ed150b"]]);
|
|
18530
18530
|
const createSetting = () => {
|
|
18531
18531
|
const { t: t2 } = i18n.global;
|
|
18532
18532
|
const settings = {
|
|
@@ -18579,7 +18579,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18579
18579
|
onClick: ($event) => handleClick(item),
|
|
18580
18580
|
title: item.value
|
|
18581
18581
|
}), [
|
|
18582
|
-
createVNode(
|
|
18582
|
+
createVNode(GIcon, {
|
|
18583
18583
|
name: item.icon,
|
|
18584
18584
|
size: "16",
|
|
18585
18585
|
color: "var(--theme-icon-fill-weak)",
|
|
@@ -18634,7 +18634,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18634
18634
|
onClick: ($event) => handleClick(item),
|
|
18635
18635
|
title: item.value
|
|
18636
18636
|
}), [
|
|
18637
|
-
createVNode(
|
|
18637
|
+
createVNode(GIcon, {
|
|
18638
18638
|
name: item.icon,
|
|
18639
18639
|
size: "16",
|
|
18640
18640
|
color: "var(--theme-icon-fill-weak)",
|
|
@@ -18898,7 +18898,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18898
18898
|
}, toDisplayString$1(unref(t2)("gitCodeLayout.org.project")), 1)
|
|
18899
18899
|
])
|
|
18900
18900
|
]),
|
|
18901
|
-
createVNode(
|
|
18901
|
+
createVNode(GIcon, {
|
|
18902
18902
|
class: "my-work-platform-searchicon",
|
|
18903
18903
|
color: "var(--theme-menu-icon-fill)",
|
|
18904
18904
|
name: "gt-search",
|
|
@@ -18940,7 +18940,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18940
18940
|
onCompositionend: _cache[5] || (_cache[5] = ($event) => inputIng.value = false)
|
|
18941
18941
|
}, {
|
|
18942
18942
|
prefix: withCtx(() => [
|
|
18943
|
-
createVNode(
|
|
18943
|
+
createVNode(GIcon, {
|
|
18944
18944
|
name: "gt-search",
|
|
18945
18945
|
color: "var(--theme-menu-icon-fill)"
|
|
18946
18946
|
})
|
|
@@ -18959,7 +18959,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18959
18959
|
}, toDisplayString$1(unref(t2)("gitCodeLayout.common.organize")), 1)
|
|
18960
18960
|
])
|
|
18961
18961
|
]),
|
|
18962
|
-
createVNode(
|
|
18962
|
+
createVNode(GIcon, {
|
|
18963
18963
|
class: "my-work-platform-searchicon",
|
|
18964
18964
|
name: "gt-search",
|
|
18965
18965
|
onClick: _cache[8] || (_cache[8] = withModifiers(($event) => showSearch.value = !showSearch.value, ["stop"])),
|
|
@@ -18979,7 +18979,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18979
18979
|
onCompositionend: _cache[11] || (_cache[11] = ($event) => inputIng.value = false)
|
|
18980
18980
|
}, {
|
|
18981
18981
|
prefix: withCtx(() => [
|
|
18982
|
-
createVNode(
|
|
18982
|
+
createVNode(GIcon, {
|
|
18983
18983
|
name: "gt-search",
|
|
18984
18984
|
color: "var(--theme-menu-icon-fill)"
|
|
18985
18985
|
})
|
|
@@ -19005,7 +19005,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19005
19005
|
title: _ctx.type === "project" ? `${item.namespace}/${item.label}` : item.label
|
|
19006
19006
|
}, {
|
|
19007
19007
|
icon: withCtx(() => [
|
|
19008
|
-
_ctx.type === "project" ? (openBlock(), createBlock(
|
|
19008
|
+
_ctx.type === "project" ? (openBlock(), createBlock(GIcon, {
|
|
19009
19009
|
key: 0,
|
|
19010
19010
|
name: "gt-line-project",
|
|
19011
19011
|
color: "var(--theme-menu-icon-fill)",
|
|
@@ -19443,13 +19443,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19443
19443
|
"data-host": item.host
|
|
19444
19444
|
}, {
|
|
19445
19445
|
icon: withCtx(() => [
|
|
19446
|
-
createVNode(
|
|
19446
|
+
createVNode(GIcon, {
|
|
19447
19447
|
name: item.icon,
|
|
19448
19448
|
class: "default-icon",
|
|
19449
19449
|
size: "16",
|
|
19450
19450
|
color: "var(--theme-menu-icon-fill)"
|
|
19451
19451
|
}, null, 8, ["name"]),
|
|
19452
|
-
createVNode(
|
|
19452
|
+
createVNode(GIcon, {
|
|
19453
19453
|
name: item.activeIcon,
|
|
19454
19454
|
class: "active-icon",
|
|
19455
19455
|
size: "16",
|
|
@@ -19472,13 +19472,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19472
19472
|
"data-openBlank": item.openBlank
|
|
19473
19473
|
}, {
|
|
19474
19474
|
icon: withCtx(() => [
|
|
19475
|
-
createVNode(
|
|
19475
|
+
createVNode(GIcon, {
|
|
19476
19476
|
name: item.icon,
|
|
19477
19477
|
class: "default-icon",
|
|
19478
19478
|
size: "16",
|
|
19479
19479
|
color: "var(--theme-menu-icon-fill)"
|
|
19480
19480
|
}, null, 8, ["name"]),
|
|
19481
|
-
createVNode(
|
|
19481
|
+
createVNode(GIcon, {
|
|
19482
19482
|
name: item.activeIcon,
|
|
19483
19483
|
class: "active-icon",
|
|
19484
19484
|
size: "16",
|
|
@@ -19534,7 +19534,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19534
19534
|
href: unref(HELP_DOCS_URL)
|
|
19535
19535
|
}, {
|
|
19536
19536
|
default: withCtx(() => [
|
|
19537
|
-
createVNode(
|
|
19537
|
+
createVNode(GIcon, {
|
|
19538
19538
|
name: "gt-line-file",
|
|
19539
19539
|
color: "var(--theme-placeholder)"
|
|
19540
19540
|
}),
|
|
@@ -19547,7 +19547,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19547
19547
|
href: "https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues"
|
|
19548
19548
|
}, {
|
|
19549
19549
|
default: withCtx(() => [
|
|
19550
|
-
createVNode(
|
|
19550
|
+
createVNode(GIcon, {
|
|
19551
19551
|
name: "gt-line-Checks",
|
|
19552
19552
|
color: "var(--theme-placeholder)"
|
|
19553
19553
|
}),
|
|
@@ -19632,12 +19632,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19632
19632
|
]),
|
|
19633
19633
|
default: withCtx(() => [
|
|
19634
19634
|
createElementVNode("div", _hoisted_18$1, [
|
|
19635
|
-
createVNode(
|
|
19635
|
+
createVNode(GIcon, {
|
|
19636
19636
|
name: "gt-line-setting",
|
|
19637
19637
|
size: "16",
|
|
19638
19638
|
class: "default-icon min-w-[16px]"
|
|
19639
19639
|
}),
|
|
19640
|
-
createVNode(
|
|
19640
|
+
createVNode(GIcon, {
|
|
19641
19641
|
name: "gt-line-setting",
|
|
19642
19642
|
size: "16",
|
|
19643
19643
|
class: "active-icon min-w-[16px]"
|
|
@@ -24452,7 +24452,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24452
24452
|
key: 0,
|
|
24453
24453
|
onClick: _cache[1] || (_cache[1] = ($event) => emits("back"))
|
|
24454
24454
|
}, [
|
|
24455
|
-
createVNode(
|
|
24455
|
+
createVNode(GIcon, {
|
|
24456
24456
|
color: "var(--devui-aide-text)",
|
|
24457
24457
|
name: "gt-line-left",
|
|
24458
24458
|
class: "mr-[8px]"
|
|
@@ -24478,7 +24478,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24478
24478
|
const MFA_vue_vue_type_style_index_0_lang = "";
|
|
24479
24479
|
const MFA_vue_vue_type_style_index_1_scoped_02a2d8c5_lang = "";
|
|
24480
24480
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-02a2d8c5"]]);
|
|
24481
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24481
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-fe9e3db6.js"));
|
|
24482
24482
|
const useSlidCaptcha = () => {
|
|
24483
24483
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24484
24484
|
const open = (config) => {
|
|
@@ -25638,7 +25638,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25638
25638
|
}, null, 8, _hoisted_7),
|
|
25639
25639
|
miniProgramStatus.value !== "WAITING" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
25640
25640
|
miniProgramStatus.value === "TIMEOUT" ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
25641
|
-
createVNode(
|
|
25641
|
+
createVNode(GIcon, {
|
|
25642
25642
|
name: "gt-line-Refresh",
|
|
25643
25643
|
size: "18"
|
|
25644
25644
|
}),
|
|
@@ -25739,7 +25739,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25739
25739
|
class: "login-modal-title flex-1"
|
|
25740
25740
|
}, null, 8, ["icon", "title", "show-back"]),
|
|
25741
25741
|
createElementVNode("div", _hoisted_2, [
|
|
25742
|
-
_ctx.showClose && !showProtoCheck.value ? (openBlock(), createBlock(
|
|
25742
|
+
_ctx.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
25743
25743
|
key: 0,
|
|
25744
25744
|
onClick: onClickModalClose,
|
|
25745
25745
|
name: "gt-close",
|
|
@@ -25990,6 +25990,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25990
25990
|
};
|
|
25991
25991
|
}
|
|
25992
25992
|
});
|
|
25993
|
+
const main = "";
|
|
25993
25994
|
const GitCodeLayoutEmitter = emitter;
|
|
25994
25995
|
const index = {
|
|
25995
25996
|
install: (app) => {
|
|
@@ -26000,8 +26001,7 @@ const index = {
|
|
|
26000
26001
|
};
|
|
26001
26002
|
export {
|
|
26002
26003
|
EVENT_NAME as E,
|
|
26003
|
-
|
|
26004
|
-
Icon as I,
|
|
26004
|
+
GIcon as G,
|
|
26005
26005
|
REPO_MODULE as R,
|
|
26006
26006
|
SceneValue as S,
|
|
26007
26007
|
TOPIC_TYPE as T,
|
|
@@ -26009,23 +26009,24 @@ export {
|
|
|
26009
26009
|
i18n as a,
|
|
26010
26010
|
REPO_EVENT as b,
|
|
26011
26011
|
REPO_TYPE as c,
|
|
26012
|
-
|
|
26012
|
+
debounce$1 as d,
|
|
26013
26013
|
extractRepoInfoWithURL as e,
|
|
26014
|
-
|
|
26015
|
-
|
|
26014
|
+
useTimeFormat as f,
|
|
26015
|
+
usePageResize as g,
|
|
26016
26016
|
headRequest as h,
|
|
26017
26017
|
isPhone as i,
|
|
26018
|
-
|
|
26019
|
-
|
|
26018
|
+
highlightWords as j,
|
|
26019
|
+
_frEventTrack as k,
|
|
26020
26020
|
useLayoutConfig as l,
|
|
26021
26021
|
ToolsFloat as m,
|
|
26022
26022
|
_sfc_main as n,
|
|
26023
|
-
|
|
26024
|
-
|
|
26025
|
-
|
|
26023
|
+
GitCodeAside as o,
|
|
26024
|
+
GitCodeHeader as p,
|
|
26025
|
+
useLogin as q,
|
|
26026
26026
|
reqCatch as r,
|
|
26027
26027
|
setLayoutConfig as s,
|
|
26028
26028
|
transWebUrl as t,
|
|
26029
26029
|
useModel as u,
|
|
26030
|
-
|
|
26030
|
+
GitCodeLayoutEmitter as v,
|
|
26031
|
+
index as w
|
|
26031
26032
|
};
|