vue-layout-gitcode 1.9.29 → 1.9.30

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
@@ -97,7 +97,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
97
97
  customTimeout?: number | undefined;
98
98
  ignoreError?: boolean | undefined;
99
99
  customErrorCodes?: number[] | undefined;
100
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
100
+ } | undefined) => Promise<AxiosResponse<any, any>>;
101
101
  };
102
102
  globalStore: {
103
103
  type: PropType<Object>;
@@ -167,7 +167,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
167
167
  customTimeout?: number | undefined;
168
168
  ignoreError?: boolean | undefined;
169
169
  customErrorCodes?: number[] | undefined;
170
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
170
+ } | undefined) => Promise<AxiosResponse<any, any>>;
171
171
  };
172
172
  globalStore: {
173
173
  type: PropType<Object>;
@@ -242,7 +242,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
242
242
  customTimeout?: number | undefined;
243
243
  ignoreError?: boolean | undefined;
244
244
  customErrorCodes?: number[] | undefined;
245
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
245
+ } | undefined) => Promise<AxiosResponse<any, any>>;
246
246
  };
247
247
  loginOutFinish: {
248
248
  type: PropType<Function | undefined>;
@@ -313,6 +313,11 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
313
313
  type: PropType<any>;
314
314
  required: true;
315
315
  };
316
+ asideCollapseMode: {
317
+ type: PropType<boolean | undefined>;
318
+ required: false;
319
+ default: boolean;
320
+ };
316
321
  bgConfig: {
317
322
  type: PropType<{
318
323
  index_head: string;
@@ -355,7 +360,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
355
360
  customTimeout?: number | undefined;
356
361
  ignoreError?: boolean | undefined;
357
362
  customErrorCodes?: number[] | undefined;
358
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
363
+ } | undefined) => Promise<AxiosResponse<any, any>>;
359
364
  };
360
365
  loginOutFinish: {
361
366
  type: PropType<Function | undefined>;
@@ -426,6 +431,11 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
426
431
  type: PropType<any>;
427
432
  required: true;
428
433
  };
434
+ asideCollapseMode: {
435
+ type: PropType<boolean | undefined>;
436
+ required: false;
437
+ default: boolean;
438
+ };
429
439
  bgConfig: {
430
440
  type: PropType<{
431
441
  index_head: string;
@@ -464,6 +474,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
464
474
  orgInfo: OrgInfo | undefined;
465
475
  otherUserInfo: UserInfo | undefined;
466
476
  headerBorder: boolean | undefined;
477
+ asideCollapseMode: boolean | undefined;
467
478
  bgConfig: {
468
479
  index_head: string;
469
480
  detail_top: string;
@@ -504,7 +515,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
504
515
  customTimeout?: number | undefined;
505
516
  ignoreError?: boolean | undefined;
506
517
  customErrorCodes?: number[] | undefined;
507
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
518
+ } | undefined) => Promise<AxiosResponse<any, any>>;
508
519
  };
509
520
  loginOutFinish: {
510
521
  type: PropType<Function | undefined>;
@@ -539,7 +550,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
539
550
  customTimeout?: number | undefined;
540
551
  ignoreError?: boolean | undefined;
541
552
  customErrorCodes?: number[] | undefined;
542
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
553
+ } | undefined) => Promise<AxiosResponse<any, any>>;
543
554
  };
544
555
  loginOutFinish: {
545
556
  type: PropType<Function | undefined>;
@@ -612,7 +623,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
612
623
  customTimeout?: number | undefined;
613
624
  ignoreError?: boolean | undefined;
614
625
  customErrorCodes?: number[] | undefined;
615
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
626
+ } | undefined) => Promise<AxiosResponse<any, any>>;
616
627
  };
617
628
  globalStore: {
618
629
  type: PropType<{
@@ -651,7 +662,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
651
662
  customTimeout?: number | undefined;
652
663
  ignoreError?: boolean | undefined;
653
664
  customErrorCodes?: number[] | undefined;
654
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
665
+ } | undefined) => Promise<AxiosResponse<any, any>>;
655
666
  };
656
667
  globalStore: {
657
668
  type: PropType<{
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { K, M, P, J, S, I, z, U, O, Q, N } from "./index-VjkkdK3E.js";
1
+ import { M, N, Q, K, S, J, A, V, P, U, O } from "./index-usrjdnyc.js";
2
2
  export {
3
- K as GitCodeAside,
4
- M as GitCodeHeader,
5
- P as GitCodeLayoutEmitter,
6
- J as Login,
3
+ M as GitCodeAside,
4
+ N as GitCodeHeader,
5
+ Q as GitCodeLayoutEmitter,
6
+ K as Login,
7
7
  S as SceneValue,
8
- I as ToolsFloat,
9
- z as currentTheme,
10
- U as default,
11
- O as setLayoutConfig,
12
- Q as setTheme,
13
- N as useLogin
8
+ J as ToolsFloat,
9
+ A as currentTheme,
10
+ V as default,
11
+ P as setLayoutConfig,
12
+ U as setTheme,
13
+ O 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-VjkkdK3E.js";
2
+ import { i as isPhone, u as useModel } from "./index-usrjdnyc.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";
@@ -33,12 +33,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  createVNode(unref(Button), {
34
34
  variant: "outline",
35
35
  size: isMobile.value ? "sm" : "md",
36
- onClick: __props.onClose,
36
+ onClick: _ctx.onClose,
37
37
  class: "mr-[8px]"
38
38
  }, {
39
- default: withCtx(() => [..._cache[1] || (_cache[1] = [
40
- createTextVNode("忽略", -1)
41
- ])]),
39
+ default: withCtx(() => _cache[1] || (_cache[1] = [
40
+ createTextVNode("忽略")
41
+ ])),
42
42
  _: 1
43
43
  }, 8, ["size", "onClick"]),
44
44
  createVNode(unref(Button), {
@@ -47,9 +47,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  color: "primary",
48
48
  onClick: handleConfirm
49
49
  }, {
50
- default: withCtx(() => [..._cache[2] || (_cache[2] = [
51
- createTextVNode("修改", -1)
52
- ])]),
50
+ default: withCtx(() => _cache[2] || (_cache[2] = [
51
+ createTextVNode("修改")
52
+ ])),
53
53
  _: 1
54
54
  }, 8, ["size"])
55
55
  ], 2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.9.29",
3
+ "version": "1.9.30",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",