vue-layout-gitcode 1.12.15-beta.30 → 1.12.15-beta.32

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,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-CqNMIElC.js";
2
+ import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-6WqxtF8s.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-CqNMIElC.js";
4
- import { t as transWebUrl } from "./transWebUrl-C4jzAU6I.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-6WqxtF8s.js";
4
+ import { t as transWebUrl } from "./transWebUrl-V2qBaEdN.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-CqNMIElC.js";
11
+ import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-6WqxtF8s.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
package/index.d.ts CHANGED
@@ -76,6 +76,7 @@ orgInfo: OrgInfo;
76
76
  otherUserInfo: UserInfo;
77
77
  userInfo: UserInfo;
78
78
  independence: boolean;
79
+ atomcodeLaunchQs: string;
79
80
  headerBorder: boolean;
80
81
  bgConfig: {
81
82
  index_head: string;
@@ -88,15 +89,16 @@ index_head_url: string;
88
89
  detail_toolbar_url: string;
89
90
  };
90
91
  openCreateDropdown: boolean;
92
+ showAtomCodeLauncher: boolean;
91
93
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
92
94
  headerRef: HTMLDivElement;
93
95
  }, HTMLDivElement>;
94
96
 
95
- declare const __VLS_component_4: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
97
+ declare const __VLS_component_4: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
96
98
  resetPwdDirectlySuccess: (...args: any[]) => void;
97
99
  followDevCommunity: (...args: any[]) => void;
98
100
  followUser: (...args: any[]) => void;
99
- }, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
101
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
100
102
  onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
101
103
  onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
102
104
  onFollowUser?: ((...args: any[]) => any) | undefined;
@@ -155,6 +157,10 @@ declare type __VLS_Props_2 = {
155
157
  createMenuItems?: HeaderCreateMenuItem[];
156
158
  /** Header 新建菜单跳转适配器 */
157
159
  createMenuNavigate?: HeaderCreateMenuNavigate;
160
+ /** AtomCode 工作台 query string 参数 */
161
+ atomcodeLaunchQs?: string;
162
+ /** 是否展示 AtomCodeLauncher 引导入口 */
163
+ showAtomCodeLauncher?: boolean;
158
164
  };
159
165
 
160
166
  declare type __VLS_Props_3 = {
@@ -163,6 +169,10 @@ declare type __VLS_Props_3 = {
163
169
  };
164
170
 
165
171
  declare type __VLS_Props_4 = {
172
+ atomcodeLaunchQs?: string;
173
+ };
174
+
175
+ declare type __VLS_Props_5 = {
166
176
  /** 是否由外部控制下拉展开状态。 */
167
177
  dropdownVisible?: boolean;
168
178
  /** 是否展示组织入口。 */
@@ -173,7 +183,7 @@ declare type __VLS_Props_4 = {
173
183
  onNavigate?: HeaderCreateMenuNavigate;
174
184
  };
175
185
 
176
- declare type __VLS_Props_5 = {
186
+ declare type __VLS_Props_6 = {
177
187
  isLogin: boolean;
178
188
  request: Function;
179
189
  globalStore: Record<string, unknown>;
@@ -190,7 +200,7 @@ declare type __VLS_Props_5 = {
190
200
  loginChildComponents: any;
191
201
  };
192
202
 
193
- declare type __VLS_Props_6 = {
203
+ declare type __VLS_Props_7 = {
194
204
  /** 展示主题设置项,默认 true */
195
205
  showThemeSetting?: boolean;
196
206
  /** 展示语言设置项,默认 true */
@@ -234,6 +244,7 @@ declare function __VLS_template_3(): {
234
244
  searchStr: string;
235
245
  searchMore: (type: any) => void;
236
246
  }): any;
247
+ atomCodeLauncher?(_: {}): any;
237
248
  headerActions?(_: {}): any;
238
249
  bodyHeader?(_: {}): any;
239
250
  info?(_: {}): any;
@@ -298,12 +309,16 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
298
309
  };
299
310
  };
300
311
 
301
- export declare const AsideFooterTools: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
312
+ export declare const AsideFooterTools: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
302
313
  position: string[];
303
314
  showThemeSetting: boolean;
304
315
  showLangSetting: boolean;
305
316
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
306
317
 
318
+ export declare const AtomCodeLauncher: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
319
+ atomcodeLaunchQs: string;
320
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
321
+
307
322
  declare interface BaseLayoutConfig {
308
323
  VITE_HOST: string;
309
324
  VITE_HOST_TIANQI: string;
@@ -429,10 +444,10 @@ export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
429
444
  /** 默认 Header 新建菜单的路径顺序,与工作台 Header 保持一致。 */
430
445
  export declare const HEADER_CREATE_MENU_PATHS: readonly ["/create?position=nav_top", "/create/migrate?type=3", "/models/create", "/datasets/create", "/space/create", "/collections/create", "/org/create"];
431
446
 
432
- export declare const HeaderCreateMenu: DefineComponent_2<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {
447
+ export declare const HeaderCreateMenu: DefineComponent_2<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {
433
448
  navigate: (item: HeaderCreateMenuItem) => any;
434
449
  "update:dropdownVisible": (visible: boolean) => any;
435
- }, string, PublicProps_2, Readonly<__VLS_Props_4> & Readonly<{
450
+ }, string, PublicProps_2, Readonly<__VLS_Props_5> & Readonly<{
436
451
  onNavigate?: ((item: HeaderCreateMenuItem) => any) | undefined;
437
452
  "onUpdate:dropdownVisible"?: ((visible: boolean) => any) | undefined;
438
453
  }>, {
package/index.js CHANGED
@@ -1,22 +1,23 @@
1
- import { a0, Z, Q, U, W, a3, a5, Y, X, P, S, V, $, O, B, a6, a2, a4, a1 } from "./index-CqNMIElC.js";
1
+ import { a1, Y, $, Q, U, W, a4, a6, Z, X, P, S, V, a0, O, B, a7, a3, a5, a2 } from "./index-6WqxtF8s.js";
2
2
  export {
3
- a0 as AsideFooterTools,
4
- Z as EnterpriseHeader,
3
+ a1 as AsideFooterTools,
4
+ Y as AtomCodeLauncher,
5
+ $ as EnterpriseHeader,
5
6
  Q as GitCodeAside,
6
7
  U as GitCodeAsideV2,
7
8
  W as GitCodeHeader,
8
- a3 as GitCodeLayoutEmitter,
9
- a5 as HEADER_CREATE_MENU_PATHS,
10
- Y as HeaderCreateMenu,
9
+ a4 as GitCodeLayoutEmitter,
10
+ a6 as HEADER_CREATE_MENU_PATHS,
11
+ Z as HeaderCreateMenu,
11
12
  X as HomeHeaderActions,
12
13
  P as Login,
13
14
  S as SceneValue,
14
15
  V as ScrollActiveContainer,
15
- $ as SiteAnnouncement,
16
+ a0 as SiteAnnouncement,
16
17
  O as ToolsFloat,
17
18
  B as currentTheme,
18
- a6 as default,
19
- a2 as setLayoutConfig,
20
- a4 as setTheme,
21
- a1 as useLogin
19
+ a7 as default,
20
+ a3 as setLayoutConfig,
21
+ a5 as setTheme,
22
+ a2 as useLogin
22
23
  };
@@ -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-CqNMIElC.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-6WqxtF8s.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.30",
3
+ "version": "1.12.15-beta.32",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",