vue-layout-gitcode 1.1.8 → 1.1.10
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-f7f5a742.js → GloabarSearch-2abfd1d3.js} +22 -24
- package/{ProjectSearch-5205c751.js → ProjectSearch-36a9e98f.js} +2 -2
- package/{SearchHistoryList-4613534a.js → SearchHistoryList-98a30930.js} +3 -3
- package/{SearchPrefixTag-69486ce4.js → SearchPrefixTag-cf08ae30.js} +2 -2
- package/SearchRecommed-3028a756.js +188 -0
- package/{SearchScopeList-bda071bf.js → SearchScopeList-1d749319.js} +3 -3
- package/{UserSearch-a5706a2c.js → UserSearch-960cd51b.js} +2 -2
- package/{SearchRecommed-403e4c1f.js → index-465c9f4c.js} +147 -251
- package/{index-623ae4eb.js → index-71d63b7e.js} +1 -1
- package/{index-6fe144dc.js → index-a7c6ab0b.js} +66 -66
- package/index.js +6 -6
- package/{notice-854e3e7b.js → notice-ac656e72.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/formatNameSpace-10290913.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-2e3caaf8"]]);
|
|
103
103
|
const defaultConfig = {
|
|
104
104
|
VITE_ENV: "production",
|
|
105
105
|
VITE_HOST: "https://gitcode.com",
|
|
@@ -10990,7 +10990,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
10990
10990
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => activeOp(null)),
|
|
10991
10991
|
onClick: ($event) => selectOpinion(ico)
|
|
10992
10992
|
}, [
|
|
10993
|
-
createVNode(
|
|
10993
|
+
createVNode(GIcon, {
|
|
10994
10994
|
name: ico.name,
|
|
10995
10995
|
size: "24px"
|
|
10996
10996
|
}, null, 8, ["name"])
|
|
@@ -11031,7 +11031,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11031
11031
|
])
|
|
11032
11032
|
])) : (openBlock(), createElementBlock("div", _hoisted_24, [
|
|
11033
11033
|
createElementVNode("div", _hoisted_25, [
|
|
11034
|
-
createVNode(
|
|
11034
|
+
createVNode(GIcon, {
|
|
11035
11035
|
name: "gt-success",
|
|
11036
11036
|
size: "14px",
|
|
11037
11037
|
color: "#fff"
|
|
@@ -11082,7 +11082,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
11082
11082
|
(...args) => unref(scrollToTop) && unref(scrollToTop)(...args))
|
|
11083
11083
|
}, [
|
|
11084
11084
|
createElementVNode("div", _hoisted_27, [
|
|
11085
|
-
createVNode(
|
|
11085
|
+
createVNode(GIcon, {
|
|
11086
11086
|
name: "gt-plane-Topping1",
|
|
11087
11087
|
size: "20px"
|
|
11088
11088
|
})
|
|
@@ -14230,7 +14230,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14230
14230
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14231
14231
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => hoverMenu.value = void 0)
|
|
14232
14232
|
}, [
|
|
14233
|
-
createVNode(
|
|
14233
|
+
createVNode(GIcon, {
|
|
14234
14234
|
size: "16px",
|
|
14235
14235
|
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
|
|
14236
14236
|
}, null, 8, ["name"]),
|
|
@@ -14251,7 +14251,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14251
14251
|
title: item.name
|
|
14252
14252
|
}, {
|
|
14253
14253
|
default: withCtx(() => [
|
|
14254
|
-
createVNode(
|
|
14254
|
+
createVNode(GIcon, {
|
|
14255
14255
|
class: "mr-[12px]",
|
|
14256
14256
|
name: item.icon,
|
|
14257
14257
|
size: "16"
|
|
@@ -14271,7 +14271,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14271
14271
|
onMouseenter: ($event) => hoverMenu.value = menu,
|
|
14272
14272
|
onMouseleave: _cache[1] || (_cache[1] = ($event) => hoverMenu.value = void 0)
|
|
14273
14273
|
}, [
|
|
14274
|
-
createVNode(
|
|
14274
|
+
createVNode(GIcon, {
|
|
14275
14275
|
size: "16px",
|
|
14276
14276
|
name: ((_a2 = hoverMenu.value) == null ? void 0 : _a2.url) === (menu == null ? void 0 : menu.url) ? menu.activeIcon : menu.icon
|
|
14277
14277
|
}, null, 8, ["name"]),
|
|
@@ -14292,14 +14292,14 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
14292
14292
|
}, {
|
|
14293
14293
|
default: withCtx(() => [
|
|
14294
14294
|
createElementVNode("div", _hoisted_6$8, [
|
|
14295
|
-
createVNode(
|
|
14295
|
+
createVNode(GIcon, {
|
|
14296
14296
|
size: "18px",
|
|
14297
14297
|
name: "gt-line-down",
|
|
14298
14298
|
rotate: "90deg"
|
|
14299
14299
|
})
|
|
14300
14300
|
]),
|
|
14301
14301
|
createElementVNode("span", _hoisted_7$6, [
|
|
14302
|
-
createVNode(
|
|
14302
|
+
createVNode(GIcon, {
|
|
14303
14303
|
size: "24px",
|
|
14304
14304
|
name: activeMenu.value.icon
|
|
14305
14305
|
}, null, 8, ["name"]),
|
|
@@ -16495,7 +16495,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16495
16495
|
}, null, 8, ["message"])
|
|
16496
16496
|
])) : createCommentVNode("", true),
|
|
16497
16497
|
((_d = _ctx.repoProps) == null ? void 0 : _d.isPrivate) ? (openBlock(), createElementBlock("div", _hoisted_16$2, [
|
|
16498
|
-
createVNode(
|
|
16498
|
+
createVNode(GIcon, {
|
|
16499
16499
|
size: "16px",
|
|
16500
16500
|
class: "ml-[4px]",
|
|
16501
16501
|
name: "gt-line-lock"
|
|
@@ -16506,7 +16506,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16506
16506
|
class: "topic-tag flex items-center font-color-t2",
|
|
16507
16507
|
onClick: toAiHub
|
|
16508
16508
|
}, [
|
|
16509
|
-
createVNode(
|
|
16509
|
+
createVNode(GIcon, {
|
|
16510
16510
|
name: (_e = topicTag.value) == null ? void 0 : _e.icon,
|
|
16511
16511
|
color: "var(--devui-shape-icon-fill)",
|
|
16512
16512
|
class: "inline-block min-w-[16px]"
|
|
@@ -16514,7 +16514,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
16514
16514
|
createElementVNode("span", _hoisted_17$2, toDisplayString$1((_f = topicTag.value) == null ? void 0 : _f.suffix), 1)
|
|
16515
16515
|
])) : createCommentVNode("", true),
|
|
16516
16516
|
((_g = _ctx.repoProps) == null ? void 0 : _g.isGhMirrors) && showTimeTopic.value && !unref(isPhone)() ? (openBlock(), createElementBlock("div", _hoisted_18$2, [
|
|
16517
|
-
createVNode(
|
|
16517
|
+
createVNode(GIcon, {
|
|
16518
16518
|
name: "gt-line-time",
|
|
16519
16519
|
color: "var(--devui-shape-icon-fill)",
|
|
16520
16520
|
class: "inline-block min-w-[16px]"
|
|
@@ -16928,7 +16928,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16928
16928
|
status: "danger"
|
|
16929
16929
|
}, {
|
|
16930
16930
|
default: withCtx(() => [
|
|
16931
|
-
createVNode(
|
|
16931
|
+
createVNode(GIcon, {
|
|
16932
16932
|
name: "gt-line-notice",
|
|
16933
16933
|
size: "16px",
|
|
16934
16934
|
color: "var(--theme-aide-text)"
|
|
@@ -17174,7 +17174,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17174
17174
|
title: __props.accountInfo.username
|
|
17175
17175
|
}, "@" + toDisplayString$1(__props.accountInfo.username), 9, _hoisted_4$8)
|
|
17176
17176
|
]),
|
|
17177
|
-
createVNode(
|
|
17177
|
+
createVNode(GIcon, {
|
|
17178
17178
|
name: "gt-line-right",
|
|
17179
17179
|
size: "16"
|
|
17180
17180
|
})
|
|
@@ -17197,7 +17197,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17197
17197
|
target: __props.isChatBot && !item.action ? "_blank" : item.target || ""
|
|
17198
17198
|
}), {
|
|
17199
17199
|
default: withCtx(() => [
|
|
17200
|
-
item.icon ? (openBlock(), createBlock(
|
|
17200
|
+
item.icon ? (openBlock(), createBlock(GIcon, {
|
|
17201
17201
|
key: 0,
|
|
17202
17202
|
name: item.icon,
|
|
17203
17203
|
size: "16px"
|
|
@@ -17500,13 +17500,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17500
17500
|
setup(__props) {
|
|
17501
17501
|
var _a;
|
|
17502
17502
|
const { t: $t } = i18n.global;
|
|
17503
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17504
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17505
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17506
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17507
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17508
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17509
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17503
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-36a9e98f.js"));
|
|
17504
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-960cd51b.js"));
|
|
17505
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-2abfd1d3.js"));
|
|
17506
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-98a30930.js"));
|
|
17507
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-1d749319.js"));
|
|
17508
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-cf08ae30.js"));
|
|
17509
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-3028a756.js"));
|
|
17510
17510
|
const props = __props;
|
|
17511
17511
|
const repoInfo = inject("repoInfo");
|
|
17512
17512
|
const orgInfo = inject("orgInfo");
|
|
@@ -17937,7 +17937,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17937
17937
|
}, {
|
|
17938
17938
|
prefix: withCtx(() => [
|
|
17939
17939
|
createElementVNode("div", _hoisted_1$j, [
|
|
17940
|
-
createVNode(
|
|
17940
|
+
createVNode(GIcon, {
|
|
17941
17941
|
name: "gt-search",
|
|
17942
17942
|
class: "g-header-search-icon",
|
|
17943
17943
|
onClick: onInputClick
|
|
@@ -17973,7 +17973,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17973
17973
|
class: "g-header-search-suffix",
|
|
17974
17974
|
onClick: onSearch
|
|
17975
17975
|
}, [
|
|
17976
|
-
withDirectives(createVNode(
|
|
17976
|
+
withDirectives(createVNode(GIcon, {
|
|
17977
17977
|
name: "gt-line-close",
|
|
17978
17978
|
class: "g-header-search-suffix-close",
|
|
17979
17979
|
onClick: withModifiers(onClearSearch, ["stop"])
|
|
@@ -17984,7 +17984,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17984
17984
|
[vShow, searchStr.value]
|
|
17985
17985
|
]),
|
|
17986
17986
|
createElementVNode("div", _hoisted_4$7, [
|
|
17987
|
-
createVNode(
|
|
17987
|
+
createVNode(GIcon, {
|
|
17988
17988
|
name: "search",
|
|
17989
17989
|
class: "g-header-search-icon",
|
|
17990
17990
|
color: "#fff"
|
|
@@ -18009,7 +18009,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18009
18009
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => searchStr.value = $event)
|
|
18010
18010
|
}, {
|
|
18011
18011
|
prefix: withCtx(() => [
|
|
18012
|
-
createVNode(
|
|
18012
|
+
createVNode(GIcon, {
|
|
18013
18013
|
name: "gt-search",
|
|
18014
18014
|
class: "g-header-search-icon"
|
|
18015
18015
|
})
|
|
@@ -18021,10 +18021,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
18021
18021
|
};
|
|
18022
18022
|
}
|
|
18023
18023
|
});
|
|
18024
|
-
const
|
|
18024
|
+
const index_vue_vue_type_style_index_0_scoped_2a8484fa_lang = "";
|
|
18025
18025
|
const index_vue_vue_type_style_index_1_lang$2 = "";
|
|
18026
|
-
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
18027
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18026
|
+
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-2a8484fa"]]);
|
|
18027
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-ac656e72.js"));
|
|
18028
18028
|
function clearNotice() {
|
|
18029
18029
|
if (localStorage.getItem("validator_email")) {
|
|
18030
18030
|
localStorage.removeItem("validator_email");
|
|
@@ -18248,7 +18248,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18248
18248
|
class: normalizeClass(["g-toolbar-left items-center", { "flex-[1] min-w-0": !inAIHub.value }])
|
|
18249
18249
|
}, [
|
|
18250
18250
|
createElementVNode("div", _hoisted_1$i, [
|
|
18251
|
-
isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) ? (openBlock(), createBlock(
|
|
18251
|
+
isModuleVisible(unref(HeaderDisplayItem).ASIDE_BUTTON) ? (openBlock(), createBlock(GIcon, {
|
|
18252
18252
|
key: 0,
|
|
18253
18253
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(emitEvent)("toggleAsideMenuByHamburger")),
|
|
18254
18254
|
name: "gt-hamburger",
|
|
@@ -18294,7 +18294,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18294
18294
|
], true) : createCommentVNode("", true)
|
|
18295
18295
|
]),
|
|
18296
18296
|
createElementVNode("div", {
|
|
18297
|
-
class: normalizeClass(["g-toolbar-right gap-[16px] flex-
|
|
18297
|
+
class: normalizeClass(["g-toolbar-right gap-[16px] flex-[1] justify-end max-md:gap-[12px]", inAIHub.value ? "2xl:min-w-[600px] flex-none" : ""])
|
|
18298
18298
|
}, [
|
|
18299
18299
|
isModuleVisible(unref(HeaderDisplayItem).DEEPSEEK_BUTTON) ? (openBlock(), createBlock(ChatBot, { key: 0 })) : createCommentVNode("", true),
|
|
18300
18300
|
!_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
@@ -18304,7 +18304,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18304
18304
|
class: "app-login-warp border-none login-icon",
|
|
18305
18305
|
onClick: _cache[3] || (_cache[3] = ($event) => handleLogin("login"))
|
|
18306
18306
|
}, [
|
|
18307
|
-
createVNode(
|
|
18307
|
+
createVNode(GIcon, {
|
|
18308
18308
|
name: "gt-line-NotLoggedIn",
|
|
18309
18309
|
size: "24px",
|
|
18310
18310
|
color: "var(--devui-aide-text)"
|
|
@@ -18364,8 +18364,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
18364
18364
|
};
|
|
18365
18365
|
}
|
|
18366
18366
|
});
|
|
18367
|
-
const
|
|
18368
|
-
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
18367
|
+
const index_vue_vue_type_style_index_0_scoped_15fbb64d_lang = "";
|
|
18368
|
+
const GitCodeHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-15fbb64d"]]);
|
|
18369
18369
|
const createSetting = () => {
|
|
18370
18370
|
const { t: t2 } = i18n.global;
|
|
18371
18371
|
const settings = {
|
|
@@ -18418,7 +18418,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
18418
18418
|
onClick: ($event) => handleClick(item),
|
|
18419
18419
|
title: item.value
|
|
18420
18420
|
}), [
|
|
18421
|
-
createVNode(
|
|
18421
|
+
createVNode(GIcon, {
|
|
18422
18422
|
name: item.icon,
|
|
18423
18423
|
size: "16",
|
|
18424
18424
|
color: "var(--theme-icon-fill-weak)",
|
|
@@ -18473,7 +18473,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18473
18473
|
onClick: ($event) => handleClick(item),
|
|
18474
18474
|
title: item.value
|
|
18475
18475
|
}), [
|
|
18476
|
-
createVNode(
|
|
18476
|
+
createVNode(GIcon, {
|
|
18477
18477
|
name: item.icon,
|
|
18478
18478
|
size: "16",
|
|
18479
18479
|
color: "var(--theme-icon-fill-weak)",
|
|
@@ -18737,7 +18737,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18737
18737
|
}, toDisplayString$1(unref(t2)("gitCodeLayout.org.project")), 1)
|
|
18738
18738
|
])
|
|
18739
18739
|
]),
|
|
18740
|
-
createVNode(
|
|
18740
|
+
createVNode(GIcon, {
|
|
18741
18741
|
class: "my-work-platform-searchicon",
|
|
18742
18742
|
color: "var(--theme-menu-icon-fill)",
|
|
18743
18743
|
name: "gt-search",
|
|
@@ -18779,7 +18779,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18779
18779
|
onCompositionend: _cache[5] || (_cache[5] = ($event) => inputIng.value = false)
|
|
18780
18780
|
}, {
|
|
18781
18781
|
prefix: withCtx(() => [
|
|
18782
|
-
createVNode(
|
|
18782
|
+
createVNode(GIcon, {
|
|
18783
18783
|
name: "gt-search",
|
|
18784
18784
|
color: "var(--theme-menu-icon-fill)"
|
|
18785
18785
|
})
|
|
@@ -18798,7 +18798,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18798
18798
|
}, toDisplayString$1(unref(t2)("gitCodeLayout.common.organize")), 1)
|
|
18799
18799
|
])
|
|
18800
18800
|
]),
|
|
18801
|
-
createVNode(
|
|
18801
|
+
createVNode(GIcon, {
|
|
18802
18802
|
class: "my-work-platform-searchicon",
|
|
18803
18803
|
name: "gt-search",
|
|
18804
18804
|
onClick: _cache[8] || (_cache[8] = withModifiers(($event) => showSearch.value = !showSearch.value, ["stop"])),
|
|
@@ -18818,7 +18818,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18818
18818
|
onCompositionend: _cache[11] || (_cache[11] = ($event) => inputIng.value = false)
|
|
18819
18819
|
}, {
|
|
18820
18820
|
prefix: withCtx(() => [
|
|
18821
|
-
createVNode(
|
|
18821
|
+
createVNode(GIcon, {
|
|
18822
18822
|
name: "gt-search",
|
|
18823
18823
|
color: "var(--theme-menu-icon-fill)"
|
|
18824
18824
|
})
|
|
@@ -18844,7 +18844,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18844
18844
|
title: _ctx.type === "project" ? `${item.namespace}/${item.label}` : item.label
|
|
18845
18845
|
}, {
|
|
18846
18846
|
icon: withCtx(() => [
|
|
18847
|
-
_ctx.type === "project" ? (openBlock(), createBlock(
|
|
18847
|
+
_ctx.type === "project" ? (openBlock(), createBlock(GIcon, {
|
|
18848
18848
|
key: 0,
|
|
18849
18849
|
name: "gt-line-project",
|
|
18850
18850
|
color: "var(--theme-menu-icon-fill)",
|
|
@@ -19282,13 +19282,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19282
19282
|
"data-host": item.host
|
|
19283
19283
|
}, {
|
|
19284
19284
|
icon: withCtx(() => [
|
|
19285
|
-
createVNode(
|
|
19285
|
+
createVNode(GIcon, {
|
|
19286
19286
|
name: item.icon,
|
|
19287
19287
|
class: "default-icon",
|
|
19288
19288
|
size: "16",
|
|
19289
19289
|
color: "var(--theme-menu-icon-fill)"
|
|
19290
19290
|
}, null, 8, ["name"]),
|
|
19291
|
-
createVNode(
|
|
19291
|
+
createVNode(GIcon, {
|
|
19292
19292
|
name: item.activeIcon,
|
|
19293
19293
|
class: "active-icon",
|
|
19294
19294
|
size: "16",
|
|
@@ -19311,13 +19311,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19311
19311
|
"data-openBlank": item.openBlank
|
|
19312
19312
|
}, {
|
|
19313
19313
|
icon: withCtx(() => [
|
|
19314
|
-
createVNode(
|
|
19314
|
+
createVNode(GIcon, {
|
|
19315
19315
|
name: item.icon,
|
|
19316
19316
|
class: "default-icon",
|
|
19317
19317
|
size: "16",
|
|
19318
19318
|
color: "var(--theme-menu-icon-fill)"
|
|
19319
19319
|
}, null, 8, ["name"]),
|
|
19320
|
-
createVNode(
|
|
19320
|
+
createVNode(GIcon, {
|
|
19321
19321
|
name: item.activeIcon,
|
|
19322
19322
|
class: "active-icon",
|
|
19323
19323
|
size: "16",
|
|
@@ -19373,7 +19373,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19373
19373
|
href: unref(HELP_DOCS_URL)
|
|
19374
19374
|
}, {
|
|
19375
19375
|
default: withCtx(() => [
|
|
19376
|
-
createVNode(
|
|
19376
|
+
createVNode(GIcon, {
|
|
19377
19377
|
name: "gt-line-file",
|
|
19378
19378
|
color: "var(--theme-placeholder)"
|
|
19379
19379
|
}),
|
|
@@ -19386,7 +19386,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19386
19386
|
href: "https://gitcode.com/Gitcode-offical-team/GitCode-Docs/issues"
|
|
19387
19387
|
}, {
|
|
19388
19388
|
default: withCtx(() => [
|
|
19389
|
-
createVNode(
|
|
19389
|
+
createVNode(GIcon, {
|
|
19390
19390
|
name: "gt-line-Checks",
|
|
19391
19391
|
color: "var(--theme-placeholder)"
|
|
19392
19392
|
}),
|
|
@@ -19471,12 +19471,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
19471
19471
|
]),
|
|
19472
19472
|
default: withCtx(() => [
|
|
19473
19473
|
createElementVNode("div", _hoisted_18$1, [
|
|
19474
|
-
createVNode(
|
|
19474
|
+
createVNode(GIcon, {
|
|
19475
19475
|
name: "gt-line-setting",
|
|
19476
19476
|
size: "16",
|
|
19477
19477
|
class: "default-icon min-w-[16px]"
|
|
19478
19478
|
}),
|
|
19479
|
-
createVNode(
|
|
19479
|
+
createVNode(GIcon, {
|
|
19480
19480
|
name: "gt-line-setting",
|
|
19481
19481
|
size: "16",
|
|
19482
19482
|
class: "active-icon min-w-[16px]"
|
|
@@ -24291,7 +24291,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24291
24291
|
key: 0,
|
|
24292
24292
|
onClick: _cache[1] || (_cache[1] = ($event) => emits("back"))
|
|
24293
24293
|
}, [
|
|
24294
|
-
createVNode(
|
|
24294
|
+
createVNode(GIcon, {
|
|
24295
24295
|
color: "var(--devui-aide-text)",
|
|
24296
24296
|
name: "gt-line-left",
|
|
24297
24297
|
class: "mr-[8px]"
|
|
@@ -24317,7 +24317,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24317
24317
|
const MFA_vue_vue_type_style_index_0_lang = "";
|
|
24318
24318
|
const MFA_vue_vue_type_style_index_1_scoped_3e0f827f_lang = "";
|
|
24319
24319
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3e0f827f"]]);
|
|
24320
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24320
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-71d63b7e.js"));
|
|
24321
24321
|
const useSlidCaptcha = () => {
|
|
24322
24322
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24323
24323
|
const open = (config) => {
|
|
@@ -25477,7 +25477,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25477
25477
|
}, null, 8, _hoisted_7),
|
|
25478
25478
|
miniProgramStatus.value !== "WAITING" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
25479
25479
|
miniProgramStatus.value === "TIMEOUT" ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
25480
|
-
createVNode(
|
|
25480
|
+
createVNode(GIcon, {
|
|
25481
25481
|
name: "gt-line-Refresh",
|
|
25482
25482
|
size: "18"
|
|
25483
25483
|
}),
|
|
@@ -25578,7 +25578,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25578
25578
|
class: "login-modal-title flex-1"
|
|
25579
25579
|
}, null, 8, ["icon", "title", "show-back"]),
|
|
25580
25580
|
createElementVNode("div", _hoisted_2, [
|
|
25581
|
-
_ctx.showClose && !showProtoCheck.value ? (openBlock(), createBlock(
|
|
25581
|
+
_ctx.showClose && !showProtoCheck.value ? (openBlock(), createBlock(GIcon, {
|
|
25582
25582
|
key: 0,
|
|
25583
25583
|
onClick: onClickModalClose,
|
|
25584
25584
|
name: "gt-close",
|
|
@@ -25840,8 +25840,7 @@ const index = {
|
|
|
25840
25840
|
};
|
|
25841
25841
|
export {
|
|
25842
25842
|
EVENT_NAME as E,
|
|
25843
|
-
|
|
25844
|
-
Icon as I,
|
|
25843
|
+
GIcon as G,
|
|
25845
25844
|
REPO_MODULE as R,
|
|
25846
25845
|
SceneValue as S,
|
|
25847
25846
|
TOPIC_TYPE as T,
|
|
@@ -25849,23 +25848,24 @@ export {
|
|
|
25849
25848
|
i18n as a,
|
|
25850
25849
|
REPO_EVENT as b,
|
|
25851
25850
|
REPO_TYPE as c,
|
|
25852
|
-
|
|
25851
|
+
debounce$1 as d,
|
|
25853
25852
|
extractRepoInfoWithURL as e,
|
|
25854
|
-
|
|
25855
|
-
|
|
25853
|
+
useTimeFormat as f,
|
|
25854
|
+
usePageResize as g,
|
|
25856
25855
|
headRequest as h,
|
|
25857
25856
|
isPhone as i,
|
|
25858
|
-
|
|
25859
|
-
|
|
25857
|
+
highlightWords as j,
|
|
25858
|
+
_frEventTrack as k,
|
|
25860
25859
|
useLayoutConfig as l,
|
|
25861
25860
|
ToolsFloat as m,
|
|
25862
25861
|
_sfc_main as n,
|
|
25863
|
-
|
|
25864
|
-
|
|
25865
|
-
|
|
25862
|
+
GitCodeAside as o,
|
|
25863
|
+
GitCodeHeader as p,
|
|
25864
|
+
useLogin as q,
|
|
25866
25865
|
reqCatch as r,
|
|
25867
25866
|
setLayoutConfig as s,
|
|
25868
25867
|
transWebUrl as t,
|
|
25869
25868
|
useModel as u,
|
|
25870
|
-
|
|
25869
|
+
GitCodeLayoutEmitter as v,
|
|
25870
|
+
index as w
|
|
25871
25871
|
};
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o, p, v, n, S, m, w, s, q } from "./index-a7c6ab0b.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "vue-devui-lal/button";
|
|
4
4
|
import "vue-devui-lal/popover";
|
|
@@ -46,13 +46,13 @@ import "vue-devui-lal/checkbox/style.css";
|
|
|
46
46
|
import "vue-devui-lal/modal";
|
|
47
47
|
import "vue-devui-lal/modal/style.css";
|
|
48
48
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
o as GitCodeAside,
|
|
50
|
+
p as GitCodeHeader,
|
|
51
|
+
v as GitCodeLayoutEmitter,
|
|
52
52
|
n as Login,
|
|
53
53
|
S as SceneValue,
|
|
54
54
|
m as ToolsFloat,
|
|
55
|
-
|
|
55
|
+
w as default,
|
|
56
56
|
s as setLayoutConfig,
|
|
57
|
-
|
|
57
|
+
q as useLogin
|
|
58
58
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, 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-a7c6ab0b.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";
|