vue-layout-gitcode 1.3.11 → 1.3.13

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 { w as useLayoutConfig, _ as _export_sfc } from "./index-vk5E1Qf_.js";
3
+ import { w as useLayoutConfig, _ as _export_sfc } from "./index-CbuqN5sr.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
package/index.d.ts CHANGED
@@ -96,7 +96,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
96
96
  customError?: boolean | undefined;
97
97
  customTimeout?: number | undefined;
98
98
  ignoreError?: boolean | undefined;
99
- customErrorCodes?: number[] | undefined; /** 场景值 核心参数之一 */
99
+ customErrorCodes?: number[] | undefined;
100
100
  } | undefined) => Promise<AxiosResponse<any, any>>;
101
101
  };
102
102
  globalStore: {
@@ -166,7 +166,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
166
166
  customError?: boolean | undefined;
167
167
  customTimeout?: number | undefined;
168
168
  ignoreError?: boolean | undefined;
169
- customErrorCodes?: number[] | undefined; /** 场景值 核心参数之一 */
169
+ customErrorCodes?: number[] | undefined;
170
170
  } | undefined) => Promise<AxiosResponse<any, any>>;
171
171
  };
172
172
  globalStore: {
@@ -305,6 +305,19 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
305
305
  required: false;
306
306
  default: boolean;
307
307
  };
308
+ bgConfig: {
309
+ type: PropType<{
310
+ index_head: string;
311
+ detail_top: string;
312
+ detail_toolbar: string;
313
+ } | undefined>;
314
+ required: false;
315
+ default: () => {
316
+ index_head: string;
317
+ detail_top: string;
318
+ detail_toolbar: string;
319
+ };
320
+ };
308
321
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("resetPwdDirectlySuccess" | "followDevCommunity" | "followUser")[], "resetPwdDirectlySuccess" | "followDevCommunity" | "followUser", PublicProps, Readonly<ExtractPropTypes<{
309
322
  sceneValue: {
310
323
  type: PropType<SceneValue>;
@@ -387,6 +400,19 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
387
400
  required: false;
388
401
  default: boolean;
389
402
  };
403
+ bgConfig: {
404
+ type: PropType<{
405
+ index_head: string;
406
+ detail_top: string;
407
+ detail_toolbar: string;
408
+ } | undefined>;
409
+ required: false;
410
+ default: () => {
411
+ index_head: string;
412
+ detail_top: string;
413
+ detail_toolbar: string;
414
+ };
415
+ };
390
416
  }>> & Readonly<{
391
417
  onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
392
418
  onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
@@ -402,6 +428,11 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
402
428
  orgInfo: OrgInfo | undefined;
403
429
  otherUserInfo: UserInfo | undefined;
404
430
  headerBorder: boolean | undefined;
431
+ bgConfig: {
432
+ index_head: string;
433
+ detail_top: string;
434
+ detail_toolbar: string;
435
+ } | undefined;
405
436
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
406
437
 
407
438
  export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { z, A, D, y, S, x, F, I, C, H, B } from "./index-vk5E1Qf_.js";
1
+ import { z, A, D, y, S, x, F, I, C, H, B } from "./index-CbuqN5sr.js";
2
2
  export {
3
3
  z as GitCodeAside,
4
4
  A as GitCodeHeader,
@@ -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-vk5E1Qf_.js";
2
+ import { i as isPhone, u as useModel } from "./index-CbuqN5sr.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.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",