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

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/index.d.ts CHANGED
@@ -77,6 +77,7 @@ otherUserInfo: UserInfo;
77
77
  userInfo: UserInfo;
78
78
  independence: boolean;
79
79
  atomcodeLaunchQs: string;
80
+ launchAtomCode: () => void | Promise<void>;
80
81
  headerBorder: boolean;
81
82
  bgConfig: {
82
83
  index_head: string;
@@ -163,6 +164,8 @@ declare type __VLS_Props_2 = {
163
164
  atomcodeLaunchQs?: string;
164
165
  /** 是否展示 AtomCodeLauncher 引导入口 */
165
166
  showAtomCodeLauncher?: boolean;
167
+ /** AtomCode 点击启动函数属性(若定义则在点击 AtomCode 主按钮时触发,而不调用 openAtomCode) */
168
+ launchAtomCode?: () => void | Promise<void>;
166
169
  };
167
170
 
168
171
  declare type __VLS_Props_3 = {
@@ -170,10 +173,14 @@ declare type __VLS_Props_3 = {
170
173
  fallbacks?: Partial<HomeHeaderActionUrls>;
171
174
  /** 宿主应用可接管工作台的站内路由跳转。 */
172
175
  workspaceNavigate?: HomeHeaderWorkspaceNavigate;
176
+ isLogin?: boolean;
173
177
  };
174
178
 
175
179
  declare type __VLS_Props_4 = {
176
180
  atomcodeLaunchQs?: string;
181
+ isLogin?: boolean;
182
+ /** 自定义触发打开 AtomCode 的方法,若定义则在点击主按钮时触发,而不调用 openAtomCode */
183
+ launchAtomCode?: () => void | Promise<void>;
177
184
  };
178
185
 
179
186
  declare type __VLS_Props_5 = {
@@ -320,7 +327,9 @@ showLangSetting: boolean;
320
327
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
321
328
 
322
329
  export declare const AtomCodeLauncher: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
330
+ isLogin: boolean;
323
331
  atomcodeLaunchQs: string;
332
+ launchAtomCode: () => void | Promise<void>;
324
333
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
325
334
 
326
335
  declare interface BaseLayoutConfig {
@@ -542,6 +551,7 @@ declare type HomeChannelStoreItem = HomeChannelItem & {
542
551
  };
543
552
 
544
553
  export declare const HomeHeaderActions: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
554
+ isLogin: boolean;
545
555
  customItems: HomePageSidebarItem[];
546
556
  fallbacks: Partial<HomeHeaderActionUrls>;
547
557
  workspaceNavigate: HomeHeaderWorkspaceNavigate;
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-BlfqCCTz.js";
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";
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-BlfqCCTz.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-n_xtMOlM.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.39",
3
+ "version": "1.12.15-beta.40",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",