vue-layout-gitcode 1.3.33 → 1.3.35

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-BA1ulOF1.js";
3
+ import { w as useLayoutConfig, _ as _export_sfc } from "./index-Cr3bKdpI.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, reactive, withCtx } 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$8, 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-BA1ulOF1.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$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-Cr3bKdpI.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
@@ -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: {
@@ -227,7 +227,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
227
227
  sceneValue: {
228
228
  type: PropType<SceneValue>;
229
229
  required: true;
230
- default: SceneValue;
230
+ default: any;
231
231
  };
232
232
  isLogin: {
233
233
  type: PropType<boolean>;
@@ -305,6 +305,10 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
305
305
  required: false;
306
306
  default: boolean;
307
307
  };
308
+ userMenus: {
309
+ type: PropType<any[] | undefined>;
310
+ required: false;
311
+ };
308
312
  bgConfig: {
309
313
  type: PropType<{
310
314
  index_head: string;
@@ -332,7 +336,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
332
336
  sceneValue: {
333
337
  type: PropType<SceneValue>;
334
338
  required: true;
335
- default: SceneValue;
339
+ default: any;
336
340
  };
337
341
  isLogin: {
338
342
  type: PropType<boolean>;
@@ -410,6 +414,10 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
410
414
  required: false;
411
415
  default: boolean;
412
416
  };
417
+ userMenus: {
418
+ type: PropType<any[] | undefined>;
419
+ required: false;
420
+ };
413
421
  bgConfig: {
414
422
  type: PropType<{
415
423
  index_head: string;
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { A, B, F, z, S, y, H, J, D, I, C } from "./index-BA1ulOF1.js";
1
+ import { z, A, D, y, S, x, F, I, C, H, B } from "./index-Cr3bKdpI.js";
2
2
  export {
3
- A as GitCodeAside,
4
- B as GitCodeHeader,
5
- F as GitCodeLayoutEmitter,
6
- z as Login,
3
+ z as GitCodeAside,
4
+ A as GitCodeHeader,
5
+ D as GitCodeLayoutEmitter,
6
+ y 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
+ x as ToolsFloat,
9
+ F as currentTheme,
10
+ I as default,
11
+ C as setLayoutConfig,
12
+ H as setTheme,
13
+ B 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-BA1ulOF1.js";
2
+ import { i as isPhone, u as useModel } from "./index-Cr3bKdpI.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.33",
3
+ "version": "1.3.35",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",