vue-layout-gitcode 1.5.9 → 1.5.11

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,6 +1,6 @@
1
1
  import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
2
  import { FixedOverlay } from "vue-devui-lal/overlay";
3
- import { x as useLayoutConfig, _ as _export_sfc } from "./index-DHkIlnbI.js";
3
+ import { x as useLayoutConfig, _ as _export_sfc } from "./index-BdbV3qYu.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -1,5 +1,5 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
2
- import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DHkIlnbI.js";
2
+ import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$9, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BdbV3qYu.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Row, Col } from "vue-devui-lal/grid";
5
5
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
package/index.d.ts CHANGED
@@ -597,10 +597,23 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
597
597
  } | undefined) => Promise<AxiosResponse<any, any>>;
598
598
  };
599
599
  globalStore: {
600
- type: PropType<Object>;
600
+ type: PropType<{
601
+ [key: string]: any;
602
+ isSignIn?: boolean | undefined;
603
+ }>;
601
604
  required: true;
602
605
  default: () => {};
603
606
  };
607
+ isRepoPage: {
608
+ type: PropType<boolean | undefined>;
609
+ required: false;
610
+ default: boolean;
611
+ };
612
+ isWhiteListRepo: {
613
+ type: PropType<boolean>;
614
+ required: true;
615
+ default: boolean;
616
+ };
604
617
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "toggle-growth-center"[], "toggle-growth-center", PublicProps, Readonly<ExtractPropTypes<{
605
618
  sceneValue: {
606
619
  type: PropType<SceneValue>;
@@ -623,17 +636,35 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
623
636
  } | undefined) => Promise<AxiosResponse<any, any>>;
624
637
  };
625
638
  globalStore: {
626
- type: PropType<Object>;
639
+ type: PropType<{
640
+ [key: string]: any;
641
+ isSignIn?: boolean | undefined;
642
+ }>;
627
643
  required: true;
628
644
  default: () => {};
629
645
  };
646
+ isRepoPage: {
647
+ type: PropType<boolean | undefined>;
648
+ required: false;
649
+ default: boolean;
650
+ };
651
+ isWhiteListRepo: {
652
+ type: PropType<boolean>;
653
+ required: true;
654
+ default: boolean;
655
+ };
630
656
  }>> & Readonly<{
631
657
  "onToggle-growth-center"?: ((...args: any[]) => any) | undefined;
632
658
  }>, {
633
659
  sceneValue: SceneValue;
634
660
  isLogin: boolean;
635
661
  request: Function;
636
- globalStore: Object;
662
+ globalStore: {
663
+ [key: string]: any;
664
+ isSignIn?: boolean | undefined;
665
+ };
666
+ isRepoPage: boolean | undefined;
667
+ isWhiteListRepo: boolean;
637
668
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
638
669
 
639
670
  export declare function useLogin(request: any, globalStore?: any): {
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { H, I, M, F, S, D, z, O, K, N, J } from "./index-DHkIlnbI.js";
1
+ import { A, B, F, z, S, y, H, J, D, I, C } from "./index-BdbV3qYu.js";
2
2
  export {
3
- H as GitCodeAside,
4
- I as GitCodeHeader,
5
- M as GitCodeLayoutEmitter,
6
- F as Login,
3
+ A as GitCodeAside,
4
+ B as GitCodeHeader,
5
+ F as GitCodeLayoutEmitter,
6
+ z as Login,
7
7
  S as SceneValue,
8
- D as ToolsFloat,
9
- z as currentTheme,
10
- O as default,
11
- K as setLayoutConfig,
12
- N as setTheme,
13
- J as useLogin
8
+ y as ToolsFloat,
9
+ H as currentTheme,
10
+ J as default,
11
+ D as setLayoutConfig,
12
+ I as setTheme,
13
+ C as useLogin
14
14
  };
@@ -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 } from "./index-DHkIlnbI.js";
2
+ import { i as isPhone, u as useModel } from "./index-BdbV3qYu.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.5.9",
3
+ "version": "1.5.11",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",