vue-layout-gitcode 1.5.71 → 1.5.73

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
@@ -309,6 +309,10 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
309
309
  type: PropType<any[] | undefined>;
310
310
  required: false;
311
311
  };
312
+ loginChildComponents: {
313
+ type: PropType<any>;
314
+ required: true;
315
+ };
312
316
  bgConfig: {
313
317
  type: PropType<{
314
318
  index_head: string;
@@ -418,6 +422,10 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
418
422
  type: PropType<any[] | undefined>;
419
423
  required: false;
420
424
  };
425
+ loginChildComponents: {
426
+ type: PropType<any>;
427
+ required: true;
428
+ };
421
429
  bgConfig: {
422
430
  type: PropType<{
423
431
  index_head: string;
@@ -554,8 +562,10 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
554
562
  declare interface LoginOptions {
555
563
  Authorization?: boolean;
556
564
  type?: 'login' | 'register';
557
- [x: string]: any;
558
565
  triggerType?: string;
566
+ loginTriggerSource?: string;
567
+ resetPwdSource?: string;
568
+ [x: string]: any;
559
569
  }
560
570
 
561
571
  export declare enum SceneValue {
@@ -597,10 +607,23 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
597
607
  } | undefined) => Promise<AxiosResponse<any, any>>;
598
608
  };
599
609
  globalStore: {
600
- type: PropType<Object>;
610
+ type: PropType<{
611
+ [key: string]: any;
612
+ isSignIn?: boolean | undefined;
613
+ }>;
601
614
  required: true;
602
615
  default: () => {};
603
616
  };
617
+ isRepoPage: {
618
+ type: PropType<boolean | undefined>;
619
+ required: false;
620
+ default: boolean;
621
+ };
622
+ isWhiteListRepo: {
623
+ type: PropType<boolean>;
624
+ required: true;
625
+ default: boolean;
626
+ };
604
627
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "toggle-growth-center"[], "toggle-growth-center", PublicProps, Readonly<ExtractPropTypes<{
605
628
  sceneValue: {
606
629
  type: PropType<SceneValue>;
@@ -623,17 +646,35 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
623
646
  } | undefined) => Promise<AxiosResponse<any, any>>;
624
647
  };
625
648
  globalStore: {
626
- type: PropType<Object>;
649
+ type: PropType<{
650
+ [key: string]: any;
651
+ isSignIn?: boolean | undefined;
652
+ }>;
627
653
  required: true;
628
654
  default: () => {};
629
655
  };
656
+ isRepoPage: {
657
+ type: PropType<boolean | undefined>;
658
+ required: false;
659
+ default: boolean;
660
+ };
661
+ isWhiteListRepo: {
662
+ type: PropType<boolean>;
663
+ required: true;
664
+ default: boolean;
665
+ };
630
666
  }>> & Readonly<{
631
667
  "onToggle-growth-center"?: ((...args: any[]) => any) | undefined;
632
668
  }>, {
633
669
  sceneValue: SceneValue;
634
670
  isLogin: boolean;
635
671
  request: Function;
636
- globalStore: Object;
672
+ globalStore: {
673
+ [key: string]: any;
674
+ isSignIn?: boolean | undefined;
675
+ };
676
+ isRepoPage: boolean | undefined;
677
+ isWhiteListRepo: boolean;
637
678
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
638
679
 
639
680
  export declare function useLogin(request: any, globalStore?: any): {
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { A, B, F, z, S, y, H, J, D, I, C } from "./index-Ba99LRw5.js";
1
+ import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-DJu163Ih.js";
2
2
  export {
3
- A as GitCodeAside,
4
- B as GitCodeHeader,
5
- F as GitCodeLayoutEmitter,
6
- z as Login,
3
+ J as GitCodeAside,
4
+ K as GitCodeHeader,
5
+ O as GitCodeLayoutEmitter,
6
+ I as Login,
7
7
  S as SceneValue,
8
- y as ToolsFloat,
9
- H as currentTheme,
10
- J as default,
11
- D as setLayoutConfig,
12
- I as setTheme,
13
- C as useLogin
8
+ H as ToolsFloat,
9
+ x as currentTheme,
10
+ Q as default,
11
+ N as setLayoutConfig,
12
+ P as setTheme,
13
+ M 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-Ba99LRw5.js";
2
+ import { i as isPhone, u as useModel } from "./index-DJu163Ih.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.71",
3
+ "version": "1.5.73",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",