vue-layout-gitcode 1.5.56 → 1.5.57

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 { q as useLayoutConfig, _ as _export_sfc } from "./index-Vgzpdu_a.js";
3
+ import { q as useLayoutConfig, _ as _export_sfc } from "./index-DRzhhg2U.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -49,8 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
49
  default: withCtx(() => _cache[0] || (_cache[0] = [
50
50
  createElementVNode("div", { id: "captcha-box" }, null, -1)
51
51
  ])),
52
- _: 1,
53
- __: [0]
52
+ _: 1
54
53
  });
55
54
  };
56
55
  }
@@ -1,7 +1,7 @@
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
2
  import debounce from "lodash/debounce";
3
- import { t as transferNumber, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$9, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-Vgzpdu_a.js";
4
- import { t as transWebUrl } from "./transWebUrl-DinsVciW.js";
3
+ import { t as transferNumber, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$9, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DRzhhg2U.js";
4
+ import { t as transWebUrl } from "./transWebUrl-DzWd7GlG.js";
5
5
  import { useRouter } from "vue-router";
6
6
  import { Row, Col } from "vue-devui-lal/grid";
7
7
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
@@ -463,8 +463,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
463
463
  default: withCtx(() => [
464
464
  _cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag w-[32px] h-[15px] text-[9px] text-[#ffffff] flex items-center justify-center leading-[1]" }, "New", -1))
465
465
  ]),
466
- _: 1,
467
- __: [0]
466
+ _: 1
468
467
  })) : createCommentVNode("", true);
469
468
  };
470
469
  }
@@ -608,8 +607,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
608
607
  default: withCtx(() => _cache[0] || (_cache[0] = [
609
608
  createTextVNode("G-Star ")
610
609
  ])),
611
- _: 1,
612
- __: [0]
610
+ _: 1
613
611
  }, 8, ["message"])
614
612
  ])) : createCommentVNode("", true),
615
613
  unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
@@ -622,8 +620,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
622
620
  default: withCtx(() => _cache[1] || (_cache[1] = [
623
621
  createTextVNode(" G-Star ")
624
622
  ])),
625
- _: 1,
626
- __: [1]
623
+ _: 1
627
624
  }, 8, ["message"])
628
625
  ])) : createCommentVNode("", true),
629
626
  createVNode(NewTag, {
package/index.d.ts CHANGED
@@ -309,10 +309,6 @@ 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
- };
316
312
  bgConfig: {
317
313
  type: PropType<{
318
314
  index_head: string;
@@ -422,10 +418,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
422
418
  type: PropType<any[] | undefined>;
423
419
  required: false;
424
420
  };
425
- loginChildComponents: {
426
- type: PropType<any>;
427
- required: true;
428
- };
429
421
  bgConfig: {
430
422
  type: PropType<{
431
423
  index_head: string;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-Vgzpdu_a.js";
1
+ import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-DRzhhg2U.js";
2
2
  export {
3
3
  J as GitCodeAside,
4
4
  K 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-Vgzpdu_a.js";
2
+ import { i as isPhone, u as useModel } from "./index-DRzhhg2U.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";
@@ -39,8 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
39
  default: withCtx(() => _cache[1] || (_cache[1] = [
40
40
  createTextVNode("忽略")
41
41
  ])),
42
- _: 1,
43
- __: [1]
42
+ _: 1
44
43
  }, 8, ["size", "onClick"]),
45
44
  createVNode(unref(Button), {
46
45
  variant: "solid",
@@ -51,8 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
50
  default: withCtx(() => _cache[2] || (_cache[2] = [
52
51
  createTextVNode("修改")
53
52
  ])),
54
- _: 1,
55
- __: [2]
53
+ _: 1
56
54
  }, 8, ["size"])
57
55
  ], 2)
58
56
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.5.56",
3
+ "version": "1.5.57",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
- import { q as useLayoutConfig } from "./index-Vgzpdu_a.js";
1
+ import { q as useLayoutConfig } from "./index-DRzhhg2U.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;