vue-layout-gitcode 1.4.8 → 1.4.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-BJTCqXxE.js → GloabarSearch-DzhejpEc.js} +2 -2
- package/{ProjectSearch-DTVqZ_92.js → ProjectSearch-tsW6d1n8.js} +1 -1
- package/{SearchHistoryList-Bz1hqTc6.js → SearchHistoryList-CYI6kYi_.js} +1 -1
- package/{SearchPrefixTag-pFvEuFdK.js → SearchPrefixTag-C-DgtbEM.js} +1 -1
- package/{SearchRecommed-C6f69ib9.js → SearchRecommed-s_gfzjxa.js} +2 -2
- package/{SearchScopeList-CtwebogV.js → SearchScopeList-DsYQS7Yl.js} +1 -1
- package/{UserSearch-DFudjH80.js → UserSearch-LkhZJ71C.js} +1 -1
- package/{index-53PTuDOL.js → index-CLIUYZdk.js} +1 -1
- package/{index-MVVilqc9.js → index-CVjT02ky.js} +20 -20
- package/{index-D8YmHddo.js → index-ClKx72Ma.js} +1 -1
- package/index.js +1 -1
- package/{notice-S0XqaTuK.js → notice-BUhX7eDm.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
4
|
+
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CVjT02ky.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-ClKx72Ma.js";
|
|
6
6
|
import "vue-devui-lal/tooltip";
|
|
7
7
|
import "vue-devui-lal/tooltip/style.css";
|
|
8
8
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, inject, computed, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-CVjT02ky.js";
|
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
|
4
4
|
import "vue-devui-lal/icon";
|
|
5
5
|
import "vue-devui-lal/icon/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CVjT02ky.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "history-list" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
|
|
2
|
-
import { G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-CVjT02ky.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
-
import { u as useReportRepo, S as SearchRepoCard } from "./index-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-ClKx72Ma.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-CVjT02ky.js";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { SkeletonItem } from "vue-devui-lal/skeleton";
|
|
6
6
|
import "vue-devui-lal/grid/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, renderList, createElementVNode, createVNode, createCommentVNode, toDisplayString, unref } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-CVjT02ky.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject, ref, watch, withDirectives, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-CVjT02ky.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|
|
@@ -1,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 { y as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { y as useLayoutConfig, _ as _export_sfc } from "./index-CVjT02ky.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -18125,13 +18125,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18125
18125
|
var _a;
|
|
18126
18126
|
const layoutConfig2 = useLayoutConfig();
|
|
18127
18127
|
const { t: $t } = i18n.global;
|
|
18128
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
18129
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
18130
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
18131
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
18132
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
18133
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
18134
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
18128
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-tsW6d1n8.js"));
|
|
18129
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-LkhZJ71C.js"));
|
|
18130
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DzhejpEc.js"));
|
|
18131
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CYI6kYi_.js"));
|
|
18132
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DsYQS7Yl.js"));
|
|
18133
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-C-DgtbEM.js"));
|
|
18134
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-s_gfzjxa.js"));
|
|
18135
18135
|
const props = __props;
|
|
18136
18136
|
const repoInfo = inject("repoInfo");
|
|
18137
18137
|
const orgInfo = inject("orgInfo");
|
|
@@ -18360,7 +18360,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18360
18360
|
}
|
|
18361
18361
|
const targetHotWord = searchHotWords.value[activeSearchKey.value];
|
|
18362
18362
|
if (!searchStr.value && (targetHotWord == null ? void 0 : targetHotWord.url) && !isSearchHistory.value) {
|
|
18363
|
-
window.open(targetHotWord.url, "_blank");
|
|
18363
|
+
window.open(transformUrl$1(targetHotWord.url), "_blank");
|
|
18364
18364
|
return;
|
|
18365
18365
|
}
|
|
18366
18366
|
isSearchHistory.value = false;
|
|
@@ -18741,7 +18741,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18741
18741
|
}
|
|
18742
18742
|
});
|
|
18743
18743
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18744
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18744
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-BUhX7eDm.js"));
|
|
18745
18745
|
function clearNotice() {
|
|
18746
18746
|
if (localStorage$2.getItem("validator_email")) {
|
|
18747
18747
|
localStorage$2.removeItem("validator_email");
|
|
@@ -20205,8 +20205,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20205
20205
|
icon: "gt-line-gitcodeai",
|
|
20206
20206
|
activeIcon: "gt-plane-GitCodeAI",
|
|
20207
20207
|
openBlank: true,
|
|
20208
|
-
host: layoutConfig2.VITE_HOST_TIANQI,
|
|
20209
|
-
href: layoutConfig2.VITE_HOST_TIANQI + "?utm_source=sidebar",
|
|
20208
|
+
host: transformUrl$1(layoutConfig2.VITE_HOST_TIANQI),
|
|
20209
|
+
href: transformUrl$1(layoutConfig2.VITE_HOST_TIANQI) + "?utm_source=sidebar",
|
|
20210
20210
|
...configProps
|
|
20211
20211
|
});
|
|
20212
20212
|
const externalRoutes = computed(() => {
|
|
@@ -20244,8 +20244,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20244
20244
|
activeIcon: "gt-plane-consulting-2",
|
|
20245
20245
|
label: t2("gitCodeLayout.home.informationCenter"),
|
|
20246
20246
|
openBlank: true,
|
|
20247
|
-
host: layoutConfig2.VITE_NEWS_HOST,
|
|
20248
|
-
href: `${layoutConfig2.VITE_NEWS_HOST}/news?lang=${getLocaleLang()}`,
|
|
20247
|
+
host: transformUrl$1(layoutConfig2.VITE_NEWS_HOST),
|
|
20248
|
+
href: `${transformUrl$1(layoutConfig2.VITE_NEWS_HOST)}/news?lang=${getLocaleLang()}`,
|
|
20249
20249
|
...configProps
|
|
20250
20250
|
},
|
|
20251
20251
|
{
|
|
@@ -20254,8 +20254,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20254
20254
|
activeIcon: "gt-a-plane-AICompetition2",
|
|
20255
20255
|
label: t2("gitCodeLayout.home.competition"),
|
|
20256
20256
|
openBlank: true,
|
|
20257
|
-
host: layoutConfig2.VITE_AI_HOST,
|
|
20258
|
-
href: `${layoutConfig2.VITE_AI_HOST}/competition/?utm_source=toolbar`,
|
|
20257
|
+
host: transformUrl$1(layoutConfig2.VITE_AI_HOST),
|
|
20258
|
+
href: `${transformUrl$1(layoutConfig2.VITE_AI_HOST)}/competition/?utm_source=toolbar`,
|
|
20259
20259
|
...configProps
|
|
20260
20260
|
}
|
|
20261
20261
|
/* {
|
|
@@ -20284,7 +20284,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20284
20284
|
tianqiRouteDefaultConfig.value = {
|
|
20285
20285
|
...tianqiRouteDefaultConfig.value,
|
|
20286
20286
|
...rest,
|
|
20287
|
-
href: url
|
|
20287
|
+
href: transformUrl$1(url)
|
|
20288
20288
|
};
|
|
20289
20289
|
}
|
|
20290
20290
|
};
|
|
@@ -20577,7 +20577,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20577
20577
|
createVNode(GLink, {
|
|
20578
20578
|
class: "custom-link",
|
|
20579
20579
|
target: "_blank",
|
|
20580
|
-
href: unref(HELP_DOCS_URL)
|
|
20580
|
+
href: unref(transformUrl$1)(unref(HELP_DOCS_URL))
|
|
20581
20581
|
}, {
|
|
20582
20582
|
default: withCtx(() => [
|
|
20583
20583
|
createVNode(GIcon, {
|
|
@@ -20630,13 +20630,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20630
20630
|
createElementVNode("p", _hoisted_16$1, [
|
|
20631
20631
|
createVNode(GLink, {
|
|
20632
20632
|
target: "_blank",
|
|
20633
|
-
href: "https://docs.gitcode.com/docs/help/home/aboutus/"
|
|
20633
|
+
href: unref(transformUrl$1)("https://docs.gitcode.com/docs/help/home/aboutus/")
|
|
20634
20634
|
}, {
|
|
20635
20635
|
default: withCtx(() => [
|
|
20636
20636
|
createTextVNode(toDisplayString$1(unref(copyright).aboutUs), 1)
|
|
20637
20637
|
]),
|
|
20638
20638
|
_: 1
|
|
20639
|
-
}),
|
|
20639
|
+
}, 8, ["href"]),
|
|
20640
20640
|
_cache[3] || (_cache[3] = createTextVNode(" | ")),
|
|
20641
20641
|
createVNode(GLink, {
|
|
20642
20642
|
target: "_blank",
|
|
@@ -25567,7 +25567,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25567
25567
|
}
|
|
25568
25568
|
});
|
|
25569
25569
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
25570
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25570
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-CLIUYZdk.js"));
|
|
25571
25571
|
const useSlidCaptcha = () => {
|
|
25572
25572
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
25573
25573
|
const open = (config) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import { d as debounce, f as transferNumber, G as GIcon, s as setLoginTriggerSource, g as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, j as useTimeFormat, L as LANG_KEY, k as LANG_ZH, m as usePageResize, n as isGstarRepo, o as _sfc_main$9, p as isIncubationRepo, q as highlightWords, w as transWebUrl, t as transformUrl, x as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, f as transferNumber, G as GIcon, s as setLoginTriggerSource, g as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, j as useTimeFormat, L as LANG_KEY, k as LANG_ZH, m as usePageResize, n as isGstarRepo, o as _sfc_main$9, p as isIncubationRepo, q as highlightWords, w as transWebUrl, t as transformUrl, x as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CVjT02ky.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
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-CVjT02ky.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";
|