vue-layout-gitcode 1.12.15-beta.40 → 1.12.15-beta.42

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, 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-n_xtMOlM.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-B2tTxiDn.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BRtCOc3k.js";
7
- import "./transWebUrl-CELFuPl2.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-aIOMr3am.js";
7
+ import "./transWebUrl-Cqh6Rico.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, createBlock, openBlock, 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-n_xtMOlM.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-B2tTxiDn.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, 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-n_xtMOlM.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-B2tTxiDn.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-CELFuPl2.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cqh6Rico.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, y as useLayoutConfig, t as transformUrl, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-n_xtMOlM.js";
2
+ import { a as i18n, y as useLayoutConfig, t as transformUrl, K as asideRequest, G as GIcon, J as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-B2tTxiDn.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-CELFuPl2.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cqh6Rico.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-n_xtMOlM.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-B2tTxiDn.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-n_xtMOlM.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-B2tTxiDn.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, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-BRtCOc3k.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-n_xtMOlM.js";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-aIOMr3am.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-B2tTxiDn.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-n_xtMOlM.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-B2tTxiDn.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-n_xtMOlM.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-B2tTxiDn.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-project history-list-project--padded" };
@@ -10599,8 +10599,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
10599
10599
  return getCNDImageUrl(tagType);
10600
10600
  });
10601
10601
  const handleClick = () => {
10602
- if ((props == null ? void 0 : props.href) && typeof window !== "undefined") {
10603
- window.open(props.href, props.target);
10602
+ if (typeof window !== "undefined") {
10603
+ window.open("/?tn=67bc3fa197a0293d6bfebd05", "_blank");
10604
10604
  localStorage$2.setItem("GStarOrigin", props.origin || "home");
10605
10605
  }
10606
10606
  emits("click");
@@ -16622,12 +16622,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
16622
16622
  setup(__props) {
16623
16623
  const layoutConfig2 = useLayoutConfig();
16624
16624
  const { t: $t } = i18n.global;
16625
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CbGG8ZM5.js"));
16626
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-3g2INLUM.js"));
16627
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-C_9DCgBO.js"));
16628
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CbTcP9up.js"));
16629
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-B5VEEYol.js"));
16630
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-CRylxgJt.js"));
16625
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CeHpiRzy.js"));
16626
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-U5RcyJMQ.js"));
16627
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CdOgG_hk.js"));
16628
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Cv5D7n7o.js"));
16629
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CKtSxEC-.js"));
16630
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-B1jr15Y4.js"));
16631
16631
  const props = __props;
16632
16632
  const repoInfo = inject("repoInfo");
16633
16633
  const orgInfo = inject("orgInfo");
@@ -17965,7 +17965,7 @@ const vElementExposure = {
17965
17965
  beforeUnmount() {
17966
17966
  }
17967
17967
  };
17968
- const NoticeModal = defineAsyncComponent(() => import("./notice-DuMmdjTG.js"));
17968
+ const NoticeModal = defineAsyncComponent(() => import("./notice-BjSKPEuZ.js"));
17969
17969
  function clearNotice() {
17970
17970
  if (localStorage$2.getItem("validator_email")) {
17971
17971
  localStorage$2.removeItem("validator_email");
@@ -19810,7 +19810,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19810
19810
  headerBorder: { type: Boolean, default: false },
19811
19811
  independence: { type: Boolean, default: false },
19812
19812
  userMenus: {},
19813
- loginChildComponents: {}
19813
+ loginChildComponents: {},
19814
+ atomcodeLaunchQs: { default: "" },
19815
+ showAtomCodeLauncher: { type: Boolean, default: false },
19816
+ launchAtomCode: { type: Function, default: void 0 }
19814
19817
  },
19815
19818
  emits: ["followDevCommunity", "followUser", "resetPwdDirectlySuccess"],
19816
19819
  setup(__props, { emit: __emit }) {
@@ -20041,8 +20044,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
20041
20044
  ], true) : createCommentVNode("", true)
20042
20045
  ]),
20043
20046
  createElementVNode("div", _hoisted_7$3, [
20047
+ _ctx.showAtomCodeLauncher ? (openBlock(), createBlock(AtomCodeLauncher, {
20048
+ key: 0,
20049
+ atomcodeLaunchQs: _ctx.atomcodeLaunchQs,
20050
+ isLogin: _ctx.isLogin,
20051
+ launchAtomCode: _ctx.launchAtomCode
20052
+ }, null, 8, ["atomcodeLaunchQs", "isLogin", "launchAtomCode"])) : createCommentVNode("", true),
20044
20053
  createVNode(HomeHeaderActions),
20045
- !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
20054
+ !_ctx.isLogin ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
20046
20055
  isModuleVisible(unref(HeaderDisplayItem).LOGIN_AND_AVATAR) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
20047
20056
  unref(isMobile) ? (openBlock(), createElementBlock("section", {
20048
20057
  key: 0,
@@ -20076,7 +20085,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
20076
20085
  })
20077
20086
  ], 64))
20078
20087
  ], 64)) : createCommentVNode("", true)
20079
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
20088
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [
20080
20089
  !["sm"].includes(unref(widthType)) && isModuleVisible(unref(HeaderDisplayItem).NEW_BUTTON) ? (openBlock(), createBlock(unref(Button), {
20081
20090
  key: 0,
20082
20091
  class: "btn-add",
@@ -20364,9 +20373,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
20364
20373
  const layoutConfig2 = useLayoutConfig();
20365
20374
  const { t: t2 } = i18n.global;
20366
20375
  const route = useRoute();
20367
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-rfZ7rZLk.js"));
20368
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-K0UZQT0i.js"));
20369
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-GH5QI2vv.js"));
20376
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-CFrSSS77.js"));
20377
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-CRcUujYr.js"));
20378
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-CpRYmoS0.js"));
20370
20379
  const props = __props;
20371
20380
  const useReport2 = inject("useReport");
20372
20381
  const userInfo = inject("userInfo");
@@ -26781,7 +26790,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
26781
26790
  __publicField(_SlidCaptchaManager, "instance");
26782
26791
  let SlidCaptchaManager = _SlidCaptchaManager;
26783
26792
  const slidCaptchaManager = SlidCaptchaManager.getInstance();
26784
- const SlidCaptcha = defineAsyncComponent(() => import("./index-YNG-Nuzr.js"));
26793
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-COWBmQz7.js"));
26785
26794
  const useSlidCaptcha = () => {
26786
26795
  const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
26787
26796
  const open = (config) => {
@@ -26811,7 +26820,7 @@ const useSlidCaptcha = () => {
26811
26820
  close
26812
26821
  };
26813
26822
  };
26814
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-VzGrf9GZ.js"));
26823
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-CAZAALfy.js"));
26815
26824
  const useYunpianCaptcha = () => {
26816
26825
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
26817
26826
  const open = (config) => {
@@ -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-n_xtMOlM.js";
11
+ import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-B2tTxiDn.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-n_xtMOlM.js";
2
+ import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-B2tTxiDn.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, 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 { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, 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-n_xtMOlM.js";
4
- import { t as transWebUrl } from "./transWebUrl-CELFuPl2.js";
3
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, 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-B2tTxiDn.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cqh6Rico.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";
package/index.d.ts CHANGED
@@ -110,7 +110,10 @@ request: Function;
110
110
  orgInfo: OrgInfo;
111
111
  userInfo: UserInfo;
112
112
  independence: boolean;
113
+ atomcodeLaunchQs: string;
114
+ launchAtomCode: () => void | Promise<void>;
113
115
  headerBorder: boolean;
116
+ showAtomCodeLauncher: boolean;
114
117
  enterpriseInfo: OrgInfo;
115
118
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
116
119
  headerRef: HTMLDivElement;
@@ -209,6 +212,12 @@ declare type __VLS_Props_6 = {
209
212
  independence?: boolean;
210
213
  userMenus?: any[];
211
214
  loginChildComponents: any;
215
+ /** AtomCode 工作台 query string 参数 */
216
+ atomcodeLaunchQs?: string;
217
+ /** 是否展示 AtomCodeLauncher 引导入口 */
218
+ showAtomCodeLauncher?: boolean;
219
+ /** AtomCode 点击启动函数属性(若定义则在点击 AtomCode 主按钮时触发,而不调用 openAtomCode) */
220
+ launchAtomCode?: () => void | Promise<void>;
212
221
  };
213
222
 
214
223
  declare type __VLS_Props_7 = {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a1, Y, $, Q, U, W, a4, a6, Z, X, P, S, V, a0, O, B, a7, a3, a5, a2 } from "./index-n_xtMOlM.js";
1
+ import { a1, Y, $, Q, U, W, a4, a6, Z, X, P, S, V, a0, O, B, a7, a3, a5, a2 } from "./index-B2tTxiDn.js";
2
2
  export {
3
3
  a1 as AsideFooterTools,
4
4
  Y as AtomCodeLauncher,
@@ -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, _ as _export_sfc } from "./index-n_xtMOlM.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-B2tTxiDn.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.15-beta.40",
3
+ "version": "1.12.15-beta.42",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",