vue-layout-gitcode 1.12.54-multiple-account → 1.12.55-multiple-account

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.
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, inject, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, 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-DYOYbfLQ.js";
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-cvKRePGR.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BwIAQssk.js";
7
- import "./transWebUrl-yyTGj_5G.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-Ci7lYW7d.js";
7
+ import "./transWebUrl-DdydDOiv.js";
8
8
  import "vue-devui-lal/tooltip";
9
9
  import "vue-devui-lal/tooltip/style.css";
10
10
  import "vue-router";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, useSlots, computed, ref, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, renderSlot } from "vue";
2
- import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ as _export_sfc } from "./index-DYOYbfLQ.js";
2
+ import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, b as REPO_EVENT, H as ASIDE_MENU_REPO, I as isHttps, J as navigateWithMigrationGuard, _ as _export_sfc } from "./index-cvKRePGR.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, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, renderList, createBlock, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
2
- import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-DYOYbfLQ.js";
2
+ import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, M as _sfc_main$1, N as loadAsideData, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, K as asideRequest, _ as _export_sfc } from "./index-cvKRePGR.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-yyTGj_5G.js";
4
+ import { t as transWebUrl } from "./transWebUrl-DdydDOiv.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, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, createBlock, createCommentVNode, Fragment, renderList, createTextVNode, withDirectives, vShow } from "vue";
2
- import { a as i18n, y as useLayoutConfig, t as transformUrl, G as GIcon, K as asideRequest, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-DYOYbfLQ.js";
2
+ import { a as i18n, y as useLayoutConfig, t as transformUrl, G as GIcon, K as asideRequest, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-cvKRePGR.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-yyTGj_5G.js";
4
+ import { t as transWebUrl } from "./transWebUrl-DdydDOiv.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, openBlock, createElementBlock, 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-DYOYbfLQ.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-cvKRePGR.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, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers, createCommentVNode } from "vue";
2
- import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DYOYbfLQ.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-cvKRePGR.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,6 +1,6 @@
1
1
  import { defineComponent, inject, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-BwIAQssk.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-DYOYbfLQ.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-Ci7lYW7d.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-cvKRePGR.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, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
2
- import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DYOYbfLQ.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-cvKRePGR.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, openBlock, createElementBlock, 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-DYOYbfLQ.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-cvKRePGR.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,5 +1,5 @@
1
1
  import { defineComponent, onMounted, nextTick, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-DYOYbfLQ.js";
2
+ import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-cvKRePGR.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:";
@@ -1,7 +1,7 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, useModel, watch, openBlock, createElementBlock, createVNode, normalizeClass, withDirectives, createElementVNode, vShow, mergeModels, inject, withModifiers, createBlock, Fragment, computed, normalizeStyle, createCommentVNode, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
2
2
  import debounce from "lodash/debounce";
3
- import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, r as reqCatch, f as useRequestReport, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-DYOYbfLQ.js";
4
- import { t as transWebUrl } from "./transWebUrl-yyTGj_5G.js";
3
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, r as reqCatch, f as useRequestReport, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-cvKRePGR.js";
4
+ import { t as transWebUrl } from "./transWebUrl-DdydDOiv.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,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, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-DYOYbfLQ.js";
11
+ import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-cvKRePGR.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
@@ -16750,9 +16750,28 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16750
16750
  inAIHub: { type: Boolean, default: false },
16751
16751
  independence: { type: Boolean, default: false },
16752
16752
  userMenus: { default: () => [] },
16753
- inEnterpriseHeader: { type: Boolean, default: false }
16753
+ inEnterpriseHeader: { type: Boolean, default: false },
16754
+ accountSessionSupported: { type: Boolean, default: false },
16755
+ accountSessions: { default: () => [] },
16756
+ accountSessionActiveRef: { default: null },
16757
+ accountSessionMax: { default: 5 },
16758
+ accountSessionBusy: { type: Boolean, default: false }
16754
16759
  },
16755
- setup(__props) {
16760
+ emits: ["account-switch", "account-add", "account-reauthorize", "account-remove"],
16761
+ setup(__props, { emit: __emit }) {
16762
+ const props = __props;
16763
+ const emit = __emit;
16764
+ const accountSessionBindings = computed(() => ({
16765
+ accountSessionSupported: props.accountSessionSupported,
16766
+ accountSessions: props.accountSessions,
16767
+ accountSessionActiveRef: props.accountSessionActiveRef,
16768
+ accountSessionMax: props.accountSessionMax,
16769
+ accountSessionBusy: props.accountSessionBusy,
16770
+ onAccountSwitch: (ref2) => emit("account-switch", ref2),
16771
+ onAccountAdd: () => emit("account-add"),
16772
+ onAccountReauthorize: (ref2) => emit("account-reauthorize", ref2),
16773
+ onAccountRemove: (ref2) => emit("account-remove", ref2)
16774
+ }));
16756
16775
  const { isMobile } = usePageResize();
16757
16776
  const drawerVisible = ref(false);
16758
16777
  const userInfo = inject("userInfo");
@@ -16897,16 +16916,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16897
16916
  }, {
16898
16917
  menu: withCtx(() => [
16899
16918
  createElementVNode("div", _hoisted_5$9, [
16900
- createVNode(UserAvatarMenu, {
16919
+ createVNode(UserAvatarMenu, mergeProps({
16901
16920
  independence: __props.independence,
16902
16921
  loginOutFinish: __props.loginOutFinish,
16903
16922
  accountInfo: accountInfo.value,
16904
16923
  isChatBot: __props.isChatBot,
16905
16924
  inAIHub: __props.inAIHub,
16906
16925
  userMenus: __props.userMenus,
16907
- inEnterpriseHeader: __props.inEnterpriseHeader,
16908
- onLinkClick: resetOverflow
16909
- }, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16926
+ inEnterpriseHeader: __props.inEnterpriseHeader
16927
+ }, accountSessionBindings.value, { onLinkClick: resetOverflow }), null, 16, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16910
16928
  ])
16911
16929
  ]),
16912
16930
  default: withCtx(() => [
@@ -16939,17 +16957,18 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16939
16957
  variant: "text"
16940
16958
  })
16941
16959
  ]),
16942
- createVNode(UserAvatarMenu, {
16960
+ createVNode(UserAvatarMenu, mergeProps({
16943
16961
  independence: __props.independence,
16944
16962
  loginOutFinish: __props.loginOutFinish,
16945
16963
  accountInfo: accountInfo.value,
16946
16964
  isChatBot: __props.isChatBot,
16947
16965
  inAIHub: __props.inAIHub,
16948
16966
  userMenus: __props.userMenus,
16949
- inEnterpriseHeader: __props.inEnterpriseHeader,
16967
+ inEnterpriseHeader: __props.inEnterpriseHeader
16968
+ }, accountSessionBindings.value, {
16950
16969
  onClick: _cache[2] || (_cache[2] = ($event) => drawerVisible.value = false),
16951
16970
  onLinkClick: resetOverflow
16952
- }, null, 8, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16971
+ }), null, 16, ["independence", "loginOutFinish", "accountInfo", "isChatBot", "inAIHub", "userMenus", "inEnterpriseHeader"])
16953
16972
  ])
16954
16973
  ]),
16955
16974
  _: 1
@@ -17405,12 +17424,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17405
17424
  setup(__props) {
17406
17425
  const layoutConfig2 = useLayoutConfig();
17407
17426
  const { t: $t } = i18n.global;
17408
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BR2Zu_zU.js"));
17409
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-BjXMgkLa.js"));
17410
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-BDNhph93.js"));
17411
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-iGL9LbMG.js"));
17412
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-Cl3Mjaa2.js"));
17413
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DPla4Bfu.js"));
17427
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-BZA2Mbx_.js"));
17428
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-DtFzHo5M.js"));
17429
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-pauYe1EB.js"));
17430
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DBxVBA-e.js"));
17431
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-C6_WmFR2.js"));
17432
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BGOw4TTa.js"));
17414
17433
  const props = __props;
17415
17434
  const repoInfo = inject("repoInfo");
17416
17435
  const orgInfo = inject("orgInfo");
@@ -18245,7 +18264,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
18245
18264
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
18246
18265
  }
18247
18266
  };
18248
- const NoticeModal = defineAsyncComponent(() => import("./notice-Y6bk2JPj.js"));
18267
+ const NoticeModal = defineAsyncComponent(() => import("./notice-DIW-scpW.js"));
18249
18268
  function clearNotice() {
18250
18269
  if (localStorage$2.getItem("validator_email")) {
18251
18270
  localStorage$2.removeItem("validator_email");
@@ -18321,9 +18340,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18321
18340
  index_head_url: "",
18322
18341
  detail_toolbar_url: ""
18323
18342
  }) },
18324
- openCreateDropdown: { type: Boolean, default: false }
18343
+ openCreateDropdown: { type: Boolean, default: false },
18344
+ accountSessionSupported: { type: Boolean, default: false },
18345
+ accountSessions: { default: () => [] },
18346
+ accountSessionActiveRef: { default: null },
18347
+ accountSessionMax: { default: 5 },
18348
+ accountSessionBusy: { type: Boolean, default: false }
18325
18349
  },
18326
- emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess", "update:openCreateDropdown"],
18350
+ emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess", "update:openCreateDropdown", "account-switch", "account-add", "account-reauthorize", "account-remove"],
18327
18351
  setup(__props, { emit: __emit }) {
18328
18352
  var _a;
18329
18353
  useCssVars((_ctx) => ({
@@ -18356,6 +18380,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18356
18380
  console.log("props.bgConfig", props.bgConfig);
18357
18381
  const { useReport: useReport2 } = useRequestReport(props.request, props.globalStore);
18358
18382
  const emit = __emit;
18383
+ const accountSessionBindings = computed(() => ({
18384
+ accountSessionSupported: props.accountSessionSupported,
18385
+ accountSessions: props.accountSessions,
18386
+ accountSessionActiveRef: props.accountSessionActiveRef,
18387
+ accountSessionMax: props.accountSessionMax,
18388
+ accountSessionBusy: props.accountSessionBusy,
18389
+ onAccountSwitch: (ref2) => emit("account-switch", ref2),
18390
+ onAccountAdd: () => emit("account-add"),
18391
+ onAccountReauthorize: (ref2) => emit("account-reauthorize", ref2),
18392
+ onAccountRemove: (ref2) => emit("account-remove", ref2)
18393
+ }));
18359
18394
  provide("request", props.request);
18360
18395
  provide("globalStore", computed(() => props.globalStore));
18361
18396
  provide("repoInfo", computed(() => props.repoInfo));
@@ -18844,14 +18879,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18844
18879
  }, null, 8, ["dropdownVisible"])) : createCommentVNode("", true),
18845
18880
  isModuleVisible(unref(HeaderDisplayItem).DOCUMENT_CENTER) ? (openBlock(), createBlock(DocumentCenter, { key: 1 })) : createCommentVNode("", true),
18846
18881
  isModuleVisible(unref(HeaderDisplayItem).MESSAGE_CENTER) ? (openBlock(), createBlock(Notice, { key: 2 })) : createCommentVNode("", true),
18847
- isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, {
18882
+ isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createBlock(UserAvatar, mergeProps({
18848
18883
  key: 3,
18849
18884
  isChatBot: isChatBot.value,
18850
18885
  loginOutFinish: __props.loginOutFinish,
18851
18886
  inAIHub: inAIHub.value,
18852
18887
  independence: __props.independence,
18853
18888
  userMenus: __props.userMenus
18854
- }, null, 8, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
18889
+ }, accountSessionBindings.value), null, 16, ["isChatBot", "loginOutFinish", "inAIHub", "independence", "userMenus"])) : createCommentVNode("", true)
18855
18890
  ], 64))
18856
18891
  ], 2)
18857
18892
  ])), [
@@ -19456,9 +19491,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19456
19491
  const layoutConfig2 = useLayoutConfig();
19457
19492
  const { t: t2 } = i18n.global;
19458
19493
  const route = useRoute();
19459
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-BPWpzVf_.js"));
19460
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-BcWPp3mC.js"));
19461
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-_Q_qB-mQ.js"));
19494
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-kgh1FNF_.js"));
19495
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-8IyVTwfp.js"));
19496
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-scrzaBwK.js"));
19462
19497
  const props = __props;
19463
19498
  const useReport2 = inject("useReport");
19464
19499
  const userInfo = inject("userInfo");
@@ -25999,7 +26034,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
25999
26034
  __publicField(_SlidCaptchaManager, "instance");
26000
26035
  let SlidCaptchaManager = _SlidCaptchaManager;
26001
26036
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26002
- const SlidCaptcha = defineAsyncComponent(() => import("./index-DFn-iMIL.js"));
26037
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-BvoWiB_G.js"));
26003
26038
  const useSlidCaptcha = () => {
26004
26039
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26005
26040
  const open = (config) => {
@@ -26029,7 +26064,7 @@ const useSlidCaptcha = () => {
26029
26064
  close
26030
26065
  };
26031
26066
  };
26032
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-Bv5SHa4l.js"));
26067
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-DEExiM6-.js"));
26033
26068
  const useYunpianCaptcha = () => {
26034
26069
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26035
26070
  const open = (config) => {
package/index.d.ts CHANGED
@@ -34,11 +34,19 @@ declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {},
34
34
  resetPwdDirectlySuccess: (...args: any[]) => void;
35
35
  followDevCommunity: (...args: any[]) => void;
36
36
  followUser: (...args: any[]) => void;
37
+ "account-switch": (...args: any[]) => void;
38
+ "account-add": (...args: any[]) => void;
39
+ "account-reauthorize": (...args: any[]) => void;
40
+ "account-remove": (...args: any[]) => void;
37
41
  "update:openCreateDropdown": (...args: any[]) => void;
38
42
  }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
39
43
  onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
40
44
  onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
41
45
  onFollowUser?: ((...args: any[]) => any) | undefined;
46
+ "onAccount-switch"?: ((...args: any[]) => any) | undefined;
47
+ "onAccount-add"?: ((...args: any[]) => any) | undefined;
48
+ "onAccount-reauthorize"?: ((...args: any[]) => any) | undefined;
49
+ "onAccount-remove"?: ((...args: any[]) => any) | undefined;
42
50
  "onUpdate:openCreateDropdown"?: ((...args: any[]) => any) | undefined;
43
51
  }>, {
44
52
  globalStore: Object;
@@ -50,6 +58,11 @@ orgInfo: OrgInfo;
50
58
  otherUserInfo: UserInfo;
51
59
  userInfo: UserInfo;
52
60
  independence: boolean;
61
+ accountSessionSupported: boolean;
62
+ accountSessions: any[];
63
+ accountSessionActiveRef: string | null;
64
+ accountSessionMax: number;
65
+ accountSessionBusy: boolean;
53
66
  headerBorder: boolean;
54
67
  bgConfig: {
55
68
  index_head: string;
@@ -125,6 +138,11 @@ declare type __VLS_Props_2 = {
125
138
  detail_toolbar_url: string;
126
139
  };
127
140
  openCreateDropdown?: boolean;
141
+ accountSessionSupported?: boolean;
142
+ accountSessions?: any[];
143
+ accountSessionActiveRef?: string | null;
144
+ accountSessionMax?: number;
145
+ accountSessionBusy?: boolean;
128
146
  };
129
147
 
130
148
  declare type __VLS_Props_3 = {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { O, P, Q, S, U, V, W, X, B, Y, Z, $, a0 } from "./index-DYOYbfLQ.js";
1
+ import { O, P, Q, S, U, V, W, X, B, Y, Z, $, a0 } from "./index-cvKRePGR.js";
2
2
  export {
3
3
  O as EnterpriseHeader,
4
4
  P as GitCodeAside,
@@ -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-DYOYbfLQ.js";
2
+ import { i as isPhone, u as useModel } from "./index-cvKRePGR.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.12.54-multiple-account",
3
+ "version": "1.12.55-multiple-account",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
- import { y as useLayoutConfig } from "./index-DYOYbfLQ.js";
1
+ import { y as useLayoutConfig } from "./index-cvKRePGR.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;