vue-layout-gitcode 1.12.15-beta.35 → 1.12.15-beta.36

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,7 +1,7 @@
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";
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, 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-Dy_ygVv2.js";
4
- import { t as transWebUrl } from "./transWebUrl-ClkTqZ9T.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-B_E2tb_f.js";
4
+ import { t as transWebUrl } from "./transWebUrl-dcpKXCY6.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
@@ -157,8 +157,6 @@ declare type __VLS_Props_2 = {
157
157
  createMenuItems?: HeaderCreateMenuItem[];
158
158
  /** Header 新建菜单跳转适配器 */
159
159
  createMenuNavigate?: HeaderCreateMenuNavigate;
160
- /** 工作台按钮站内路由跳转适配器 */
161
- workspaceNavigate?: HomeHeaderWorkspaceNavigate;
162
160
  /** AtomCode 工作台 query string 参数 */
163
161
  atomcodeLaunchQs?: string;
164
162
  /** 是否展示 AtomCodeLauncher 引导入口 */
@@ -168,8 +166,6 @@ declare type __VLS_Props_2 = {
168
166
  declare type __VLS_Props_3 = {
169
167
  customItems?: HomePageSidebarItem[];
170
168
  fallbacks?: Partial<HomeHeaderActionUrls>;
171
- /** 宿主应用可接管工作台的站内路由跳转。 */
172
- workspaceNavigate?: HomeHeaderWorkspaceNavigate;
173
169
  };
174
170
 
175
171
  declare type __VLS_Props_4 = {
@@ -540,7 +536,6 @@ declare type HomeChannelStoreItem = HomeChannelItem & {
540
536
  export declare const HomeHeaderActions: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
541
537
  customItems: HomePageSidebarItem[];
542
538
  fallbacks: Partial<HomeHeaderActionUrls>;
543
- workspaceNavigate: HomeHeaderWorkspaceNavigate;
544
539
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
545
540
 
546
541
  declare interface HomeHeaderActionUrls {
@@ -551,8 +546,6 @@ declare interface HomeHeaderActionUrls {
551
546
  workspace: string;
552
547
  }
553
548
 
554
- export declare type HomeHeaderWorkspaceNavigate = (href: string) => void | Promise<void>;
555
-
556
549
  declare interface HomePageSidebarItem {
557
550
  left_menu_name_cn?: string;
558
551
  left_menu_name_cn_shrink?: string;
package/index.js CHANGED
@@ -1,23 +1,23 @@
1
- import { O, P, Q, S, U, V, W, X, Y, Z, $, a0, a1, a2, a3, B, a4, a5, a6, a7 } from "./index-Dy_ygVv2.js";
1
+ import { a1, Y, $, Q, U, W, a4, a6, Z, X, P, S, V, a0, O, B, a7, a3, a5, a2 } from "./index-B_E2tb_f.js";
2
2
  export {
3
- O as AsideFooterTools,
4
- P as AtomCodeLauncher,
5
- Q as EnterpriseHeader,
6
- S as GitCodeAside,
3
+ a1 as AsideFooterTools,
4
+ Y as AtomCodeLauncher,
5
+ $ as EnterpriseHeader,
6
+ Q as GitCodeAside,
7
7
  U as GitCodeAsideV2,
8
- V as GitCodeHeader,
9
- W as GitCodeLayoutEmitter,
10
- X as HEADER_CREATE_MENU_PATHS,
11
- Y as HeaderCreateMenu,
12
- Z as HomeHeaderActions,
13
- $ as Login,
14
- a0 as SceneValue,
15
- a1 as ScrollActiveContainer,
16
- a2 as SiteAnnouncement,
17
- a3 as ToolsFloat,
8
+ W as GitCodeHeader,
9
+ a4 as GitCodeLayoutEmitter,
10
+ a6 as HEADER_CREATE_MENU_PATHS,
11
+ Z as HeaderCreateMenu,
12
+ X as HomeHeaderActions,
13
+ P as Login,
14
+ S as SceneValue,
15
+ V as ScrollActiveContainer,
16
+ a0 as SiteAnnouncement,
17
+ O as ToolsFloat,
18
18
  B as currentTheme,
19
- a4 as default,
20
- a5 as setLayoutConfig,
21
- a6 as setTheme,
22
- a7 as useLogin
19
+ a7 as default,
20
+ a3 as setLayoutConfig,
21
+ a5 as setTheme,
22
+ a2 as useLogin
23
23
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-Dy_ygVv2.js";
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-B_E2tb_f.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.35",
3
+ "version": "1.12.15-beta.36",
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-Dy_ygVv2.js";
1
+ import { y as useLayoutConfig } from "./index-B_E2tb_f.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;