vue-layout-gitcode 1.9.22 → 1.9.24
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-RdF8iq7P.js → GloabarSearch-DvwqPhj1.js} +3 -4
- package/{MenuItem-D-6V-e9q.js → MenuItem-CskIC2s2.js} +1 -1
- package/{ProjectMenuList-DrwBMawO.js → ProjectMenuList-CnRGzMLI.js} +2 -2
- package/{ProjectMenuListV2-DHiYVus4.js → ProjectMenuListV2-NJkomQOY.js} +2 -2
- package/{ProjectSearch-CKv_y8SW.js → ProjectSearch-BHlc3LSt.js} +1 -1
- package/{SearchHistoryList-B1_dOf1o.js → SearchHistoryList-DNwP1_gD.js} +1 -1
- package/{SearchPrefixTag-CV1LjR8t.js → SearchPrefixTag-C3nm3DUD.js} +1 -1
- package/{SearchRecommed-CFRMLyYb.js → SearchRecommed-ZkQ9uLOS.js} +2 -2
- package/{SearchScopeList-D2wjoTji.js → SearchScopeList-D9gr_YB3.js} +1 -1
- package/{UserSearch-BZcotSfD.js → UserSearch-D_fmlIH1.js} +1 -1
- package/{index-C7_YkPbO.js → index-BhBC0w9a.js} +61 -38
- package/{index-CAVuy618.js → index-DrK2bRFB.js} +1 -1
- package/{index-B0FboNO8.js → index-P9nLaUOI.js} +1 -1
- package/{index-CX6Ws4cX.js → index-jeuYsEhx.js} +3 -4
- package/index.js +11 -11
- package/{notice-BL4L53eD.js → notice-D35qmAFs.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-BP9hBhvr.js → transWebUrl-BcvRSwng.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
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-BhBC0w9a.js";
|
|
5
5
|
import "lodash/debounce";
|
|
6
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
7
|
-
import "./transWebUrl-
|
|
6
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-jeuYsEhx.js";
|
|
7
|
+
import "./transWebUrl-BcvRSwng.js";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
9
9
|
import "vue-devui-lal/tooltip/style.css";
|
|
10
10
|
import "vue-router";
|
|
@@ -12,7 +12,6 @@ import "vue-devui-lal/grid";
|
|
|
12
12
|
import "vue-devui-lal/skeleton";
|
|
13
13
|
import "vue-devui-lal/grid/style.css";
|
|
14
14
|
import "vue-devui-lal/skeleton/style.css";
|
|
15
|
-
import "@vueuse/core";
|
|
16
15
|
import "vue-devui-lal/popover";
|
|
17
16
|
import "vue-devui-lal/popover/style.css";
|
|
18
17
|
const _hoisted_1$1 = { class: "mb-[4px] mt-[16px] flex justify-between" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, useSlots, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import { a as i18n,
|
|
2
|
+
import { a as i18n, x as useLayoutConfig, y as ThemeType, z as currentTheme, L as LANG_ZH, A as LANG_EN, w as getLocaleLang, G as GIcon, B as emitEvent, C as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BhBC0w9a.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Popover } from "vue-devui-lal/popover";
|
|
5
5
|
import "vue-devui-lal/popover/style.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n,
|
|
2
|
+
import { a as i18n, x as useLayoutConfig, G as GIcon, D as _sfc_main$1, F as loadAsideData, B as emitEvent, s as setLoginTriggerSource, d as useRequestReport, H as asideRequest, _ as _export_sfc } from "./index-BhBC0w9a.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BcvRSwng.js";
|
|
5
5
|
import { Select, Option } from "vue-devui-lal/select";
|
|
6
6
|
import { Input } from "vue-devui-lal/input";
|
|
7
7
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n,
|
|
2
|
+
import { a as i18n, x as useLayoutConfig, G as GIcon, B as emitEvent, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-BhBC0w9a.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BcvRSwng.js";
|
|
5
5
|
import { Input } from "vue-devui-lal/input";
|
|
6
6
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
7
7
|
import { MenuItem } from "vue-devui-lal/menu";
|
|
@@ -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-BhBC0w9a.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-BhBC0w9a.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-BhBC0w9a.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, renderSlot, 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-jeuYsEhx.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-BhBC0w9a.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-BhBC0w9a.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 } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-BhBC0w9a.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]" };
|
|
@@ -10,7 +10,7 @@ import "vue-devui-lal/textarea/style.css";
|
|
|
10
10
|
import { Icon } from "vue-devui-lal/icon";
|
|
11
11
|
import "vue-devui-lal/icon/style.css";
|
|
12
12
|
import { useRouter, useRoute, createRouter, createWebHistory, createMemoryHistory } from "vue-router";
|
|
13
|
-
import { useWindowSize, useEventListener, useElementSize,
|
|
13
|
+
import { useWindowSize, useEventListener, useElementSize, useStorage, useDebounceFn } from "@vueuse/core";
|
|
14
14
|
import { Avatar } from "vue-devui-lal/avatar";
|
|
15
15
|
import "vue-devui-lal/avatar/style.css";
|
|
16
16
|
import "lodash/last";
|
|
@@ -8242,6 +8242,7 @@ const LANGUAGE = [
|
|
|
8242
8242
|
{ label: "English", value: LANG_EN, language: LANGUAGE_EN, icon: "gt-line-English1" }
|
|
8243
8243
|
];
|
|
8244
8244
|
const LANG_KEY = "gitcode_lang";
|
|
8245
|
+
const SUPPORT_LOCALES = [LANG_EN, LANG_ZH];
|
|
8245
8246
|
function isComposer(instance, mode) {
|
|
8246
8247
|
return mode === "composition" && isRef(instance.locale);
|
|
8247
8248
|
}
|
|
@@ -8264,7 +8265,8 @@ function setI18nLanguage(i18n2, locale2) {
|
|
|
8264
8265
|
setLocale(i18n2, locale2);
|
|
8265
8266
|
}
|
|
8266
8267
|
const getLocaleLang = () => {
|
|
8267
|
-
|
|
8268
|
+
const storedLang = api.get(LANG_KEY);
|
|
8269
|
+
let localLang = SUPPORT_LOCALES.includes(storedLang) ? storedLang : LANG_ZH;
|
|
8268
8270
|
if (typeof window !== "undefined" && window.location.pathname.startsWith("/ai-copilot")) {
|
|
8269
8271
|
localLang = LANG_ZH;
|
|
8270
8272
|
}
|
|
@@ -12240,7 +12242,6 @@ const THEME_KEY = "gitcode_theme";
|
|
|
12240
12242
|
const COOKIE_DOMAIN = ".gitcode.com";
|
|
12241
12243
|
const COOKIE_OPTIONS = {
|
|
12242
12244
|
expires: 365,
|
|
12243
|
-
// 365天过期
|
|
12244
12245
|
path: "/",
|
|
12245
12246
|
secure: typeof window !== "undefined" && window.location.protocol === "https:",
|
|
12246
12247
|
sameSite: "Lax",
|
|
@@ -16974,13 +16975,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16974
16975
|
var _a;
|
|
16975
16976
|
const layoutConfig2 = useLayoutConfig();
|
|
16976
16977
|
const { t: $t } = i18n.global;
|
|
16977
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16978
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16979
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16980
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16981
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16982
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
16983
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
16978
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BHlc3LSt.js"));
|
|
16979
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-D_fmlIH1.js"));
|
|
16980
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DvwqPhj1.js"));
|
|
16981
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DNwP1_gD.js"));
|
|
16982
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-D9gr_YB3.js"));
|
|
16983
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-C3nm3DUD.js"));
|
|
16984
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-ZkQ9uLOS.js"));
|
|
16984
16985
|
const props = __props;
|
|
16985
16986
|
const repoInfo = inject("repoInfo");
|
|
16986
16987
|
const orgInfo = inject("orgInfo");
|
|
@@ -17634,7 +17635,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17634
17635
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17635
17636
|
}
|
|
17636
17637
|
};
|
|
17637
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17638
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-D35qmAFs.js"));
|
|
17638
17639
|
function clearNotice() {
|
|
17639
17640
|
if (localStorage$2.getItem("validator_email")) {
|
|
17640
17641
|
localStorage$2.removeItem("validator_email");
|
|
@@ -18388,9 +18389,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18388
18389
|
const layoutConfig2 = useLayoutConfig();
|
|
18389
18390
|
const { t: t2 } = i18n.global;
|
|
18390
18391
|
const route = useRoute();
|
|
18391
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18392
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18393
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18392
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-CskIC2s2.js"));
|
|
18393
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-NJkomQOY.js"));
|
|
18394
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CnRGzMLI.js"));
|
|
18394
18395
|
const props = __props;
|
|
18395
18396
|
console.log("slotKeys", props.slotKeys);
|
|
18396
18397
|
console.log("props", props);
|
|
@@ -18602,13 +18603,34 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18602
18603
|
}
|
|
18603
18604
|
});
|
|
18604
18605
|
const Area = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
18606
|
+
function useCookie(key, defaultValue, options = COOKIE_OPTIONS) {
|
|
18607
|
+
const storedValue = api.get(key);
|
|
18608
|
+
const initialValue = storedValue || defaultValue;
|
|
18609
|
+
const value = ref(initialValue);
|
|
18610
|
+
if (!storedValue) {
|
|
18611
|
+
api.set(key, initialValue, options);
|
|
18612
|
+
}
|
|
18613
|
+
watch(
|
|
18614
|
+
value,
|
|
18615
|
+
(newValue) => {
|
|
18616
|
+
if (newValue) {
|
|
18617
|
+
api.set(key, newValue, options);
|
|
18618
|
+
} else {
|
|
18619
|
+
api.remove(key, { domain: COOKIE_DOMAIN });
|
|
18620
|
+
}
|
|
18621
|
+
},
|
|
18622
|
+
{ flush: "sync" }
|
|
18623
|
+
// 立即同步,不等待下一个 tick
|
|
18624
|
+
);
|
|
18625
|
+
return value;
|
|
18626
|
+
}
|
|
18605
18627
|
const _hoisted_1$i = { class: "tools-item-wrapper" };
|
|
18606
18628
|
const _hoisted_2$c = { class: "tools-item-wrapper-checkbox" };
|
|
18607
18629
|
const _hoisted_3$a = ["onClick", "title"];
|
|
18608
18630
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
18609
18631
|
__name: "Lang",
|
|
18610
18632
|
setup(__props) {
|
|
18611
|
-
const lang =
|
|
18633
|
+
const lang = useCookie(LANG_KEY, LANG_ZH);
|
|
18612
18634
|
const linkList = ref(LANGUAGE);
|
|
18613
18635
|
const router2 = useRouter();
|
|
18614
18636
|
const { t: t2 } = i18n.global;
|
|
@@ -24090,7 +24112,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
24090
24112
|
}
|
|
24091
24113
|
});
|
|
24092
24114
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
24093
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
24115
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-DrK2bRFB.js"));
|
|
24094
24116
|
const useSlidCaptcha = () => {
|
|
24095
24117
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
24096
24118
|
const open = (config) => {
|
|
@@ -24109,7 +24131,7 @@ const useSlidCaptcha = () => {
|
|
|
24109
24131
|
close: unMount
|
|
24110
24132
|
};
|
|
24111
24133
|
};
|
|
24112
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
24134
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-P9nLaUOI.js"));
|
|
24113
24135
|
const useYunpianCaptcha = () => {
|
|
24114
24136
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
24115
24137
|
const open = (config) => {
|
|
@@ -26128,26 +26150,27 @@ const index = {
|
|
|
26128
26150
|
}
|
|
26129
26151
|
};
|
|
26130
26152
|
export {
|
|
26131
|
-
|
|
26132
|
-
|
|
26133
|
-
|
|
26134
|
-
|
|
26153
|
+
LANG_EN as A,
|
|
26154
|
+
emitEvent as B,
|
|
26155
|
+
isHttps as C,
|
|
26156
|
+
_sfc_main$A as D,
|
|
26135
26157
|
EVENT_NAME as E,
|
|
26136
|
-
|
|
26158
|
+
loadAsideData as F,
|
|
26137
26159
|
GIcon as G,
|
|
26138
|
-
|
|
26139
|
-
|
|
26140
|
-
|
|
26141
|
-
|
|
26142
|
-
|
|
26143
|
-
|
|
26144
|
-
|
|
26145
|
-
|
|
26146
|
-
|
|
26147
|
-
|
|
26160
|
+
asideRequest as H,
|
|
26161
|
+
ToolsFloat as I,
|
|
26162
|
+
_sfc_main as J,
|
|
26163
|
+
GitCodeAside as K,
|
|
26164
|
+
LANG_ZH as L,
|
|
26165
|
+
GitCodeHeader as M,
|
|
26166
|
+
useLogin as N,
|
|
26167
|
+
setLayoutConfig as O,
|
|
26168
|
+
GitCodeLayoutEmitter as P,
|
|
26169
|
+
setTheme as Q,
|
|
26148
26170
|
REPO_MODULE as R,
|
|
26149
26171
|
SceneValue as S,
|
|
26150
26172
|
TOPIC_TYPE as T,
|
|
26173
|
+
index as U,
|
|
26151
26174
|
_export_sfc as _,
|
|
26152
26175
|
i18n as a,
|
|
26153
26176
|
REPO_EVENT as b,
|
|
@@ -26155,7 +26178,7 @@ export {
|
|
|
26155
26178
|
useRequestReport as d,
|
|
26156
26179
|
extractRepoInfoWithURL as e,
|
|
26157
26180
|
useTimeFormat as f,
|
|
26158
|
-
|
|
26181
|
+
useCookie as g,
|
|
26159
26182
|
headRequest as h,
|
|
26160
26183
|
isPhone as i,
|
|
26161
26184
|
usePageResize as j,
|
|
@@ -26165,14 +26188,14 @@ export {
|
|
|
26165
26188
|
isIncubationRepo as n,
|
|
26166
26189
|
highlightWords as o,
|
|
26167
26190
|
_frEventTrack as p,
|
|
26168
|
-
|
|
26191
|
+
LANG_KEY as q,
|
|
26169
26192
|
reqCatch as r,
|
|
26170
26193
|
setLoginTriggerSource as s,
|
|
26171
26194
|
transferNumber as t,
|
|
26172
26195
|
useModel as u,
|
|
26173
26196
|
vElementExposure as v,
|
|
26174
|
-
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26197
|
+
getLocaleLang as w,
|
|
26198
|
+
useLayoutConfig as x,
|
|
26199
|
+
ThemeType as y,
|
|
26200
|
+
currentTheme as z
|
|
26178
26201
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { w as getLocaleLang, L as LANG_ZH, x as useLayoutConfig, _ as _export_sfc } from "./index-BhBC0w9a.js";
|
|
3
3
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const TARGET_TEXT = "Click in order:";
|
|
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
|
|
|
8
8
|
import "vue-devui-lal/message/style.css";
|
|
9
9
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
10
10
|
import "vue-devui-lal/overlay/style.css";
|
|
11
|
-
import { a as i18n, j as usePageResize,
|
|
11
|
+
import { a as i18n, j as usePageResize, w as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BhBC0w9a.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
constructor() {
|
|
14
14
|
__publicField(this, "ypRiddlerInstance", null);
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
|
|
2
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat,
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as useCookie, j as usePageResize, L as LANG_ZH, k as isGstarRepo, m as _sfc_main$b, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, q as LANG_KEY } from "./index-BhBC0w9a.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BcvRSwng.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
8
8
|
import "vue-devui-lal/grid/style.css";
|
|
9
9
|
import "vue-devui-lal/skeleton/style.css";
|
|
10
|
-
import { useLocalStorage } from "@vueuse/core";
|
|
11
10
|
import { Popover } from "vue-devui-lal/popover";
|
|
12
11
|
import "vue-devui-lal/popover/style.css";
|
|
13
12
|
const useReportRepo = (reportParams, viewReport) => {
|
|
@@ -635,7 +634,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
635
634
|
},
|
|
636
635
|
emits: ["report"],
|
|
637
636
|
setup(__props, { emit: __emit }) {
|
|
638
|
-
const lang =
|
|
637
|
+
const lang = useCookie(LANG_KEY, LANG_ZH);
|
|
639
638
|
const API = headRequest(inject("request"));
|
|
640
639
|
const emits = __emit;
|
|
641
640
|
const router = useRouter();
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K, M, P, J, S, I, z, U, O, Q, N } from "./index-BhBC0w9a.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
K as GitCodeAside,
|
|
4
|
+
M as GitCodeHeader,
|
|
5
|
+
P as GitCodeLayoutEmitter,
|
|
6
|
+
J as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
I as ToolsFloat,
|
|
9
|
+
z as currentTheme,
|
|
10
|
+
U as default,
|
|
11
|
+
O as setLayoutConfig,
|
|
12
|
+
Q as setTheme,
|
|
13
|
+
N as useLogin
|
|
14
14
|
};
|
|
@@ -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-BhBC0w9a.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";
|
package/package.json
CHANGED