vue-layout-gitcode 1.10.24 → 1.10.25

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,7 +1,7 @@
1
1
  import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
2
2
  import debounce from "lodash/debounce";
3
- import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-BfRwFz0M.js";
4
- import { t as transWebUrl } from "./transWebUrl-CstjqzeK.js";
3
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-DsMpEXjy.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Rghzrwy8.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";
@@ -384,7 +384,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
384
384
  size: "14"
385
385
  }),
386
386
  createElementVNode("span", _hoisted_2$3, [
387
- _cache[0] || (_cache[0] = createTextVNode("Star ")),
387
+ _cache[0] || (_cache[0] = createTextVNode("Star ", -1)),
388
388
  createVNode(_sfc_main$a, {
389
389
  number: _ctx.count || 0,
390
390
  gt100: true
@@ -535,7 +535,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
535
535
  default: withCtx(() => [
536
536
  _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))
537
537
  ]),
538
- _: 1
538
+ _: 1,
539
+ __: [0]
539
540
  })) : createCommentVNode("", true);
540
541
  };
541
542
  }
@@ -748,9 +749,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
748
749
  message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.graduation")}`
749
750
  }, {
750
751
  default: withCtx(() => _cache[0] || (_cache[0] = [
751
- createTextVNode("G-Star ")
752
+ createTextVNode("G-Star ", -1)
752
753
  ])),
753
- _: 1
754
+ _: 1,
755
+ __: [0]
754
756
  }, 8, ["message"])
755
757
  ])) : createCommentVNode("", true),
756
758
  unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
@@ -761,9 +763,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
761
763
  message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.incubation")}`
762
764
  }, {
763
765
  default: withCtx(() => _cache[1] || (_cache[1] = [
764
- createTextVNode(" G-Star ")
766
+ createTextVNode(" G-Star ", -1)
765
767
  ])),
766
- _: 1
768
+ _: 1,
769
+ __: [1]
767
770
  }, 8, ["message"])
768
771
  ])) : createCommentVNode("", true),
769
772
  createVNode(NewTag, {
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>;
@@ -355,7 +355,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
355
355
  customTimeout?: number | undefined;
356
356
  ignoreError?: boolean | undefined;
357
357
  customErrorCodes?: number[] | undefined;
358
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
358
+ } | undefined) => Promise<AxiosResponse<any, any>>;
359
359
  };
360
360
  loginOutFinish: {
361
361
  type: PropType<Function | undefined>;
@@ -505,7 +505,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
505
505
  customTimeout?: number | undefined;
506
506
  ignoreError?: boolean | undefined;
507
507
  customErrorCodes?: number[] | undefined;
508
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
508
+ } | undefined) => Promise<AxiosResponse<any, any>>;
509
509
  };
510
510
  loginOutFinish: {
511
511
  type: PropType<Function | undefined>;
@@ -540,7 +540,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
540
540
  customTimeout?: number | undefined;
541
541
  ignoreError?: boolean | undefined;
542
542
  customErrorCodes?: number[] | undefined;
543
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
543
+ } | undefined) => Promise<AxiosResponse<any, any>>;
544
544
  };
545
545
  loginOutFinish: {
546
546
  type: PropType<Function | undefined>;
@@ -615,7 +615,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
615
615
  customTimeout?: number | undefined;
616
616
  ignoreError?: boolean | undefined;
617
617
  customErrorCodes?: number[] | undefined;
618
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
618
+ } | undefined) => Promise<AxiosResponse<any, any>>;
619
619
  };
620
620
  globalStore: {
621
621
  type: PropType<{
@@ -654,7 +654,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
654
654
  customTimeout?: number | undefined;
655
655
  ignoreError?: boolean | undefined;
656
656
  customErrorCodes?: number[] | undefined;
657
- } | undefined) => Promise<AxiosResponse<any, any, {}>>;
657
+ } | undefined) => Promise<AxiosResponse<any, any>>;
658
658
  };
659
659
  globalStore: {
660
660
  type: PropType<{
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { N, O, V, M, S, P, K, B, X, U, W, Q } from "./index-BfRwFz0M.js";
1
+ import { N, O, V, M, S, P, K, B, X, U, W, Q } from "./index-DsMpEXjy.js";
2
2
  export {
3
3
  N as GitCodeAside,
4
4
  O 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-BfRwFz0M.js";
2
+ import { i as isPhone, u as useModel } from "./index-DsMpEXjy.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";
@@ -37,9 +37,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  class: "mr-[8px]"
38
38
  }, {
39
39
  default: withCtx(() => _cache[1] || (_cache[1] = [
40
- createTextVNode("忽略")
40
+ createTextVNode("忽略", -1)
41
41
  ])),
42
- _: 1
42
+ _: 1,
43
+ __: [1]
43
44
  }, 8, ["size", "onClick"]),
44
45
  createVNode(unref(Button), {
45
46
  variant: "solid",
@@ -48,9 +49,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
49
  onClick: handleConfirm
49
50
  }, {
50
51
  default: withCtx(() => _cache[2] || (_cache[2] = [
51
- createTextVNode("修改")
52
+ createTextVNode("修改", -1)
52
53
  ])),
53
- _: 1
54
+ _: 1,
55
+ __: [2]
54
56
  }, 8, ["size"])
55
57
  ], 2)
56
58
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.10.24",
3
+ "version": "1.10.25",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
- import { z as useLayoutConfig } from "./index-BfRwFz0M.js";
1
+ import { z as useLayoutConfig } from "./index-DsMpEXjy.js";
2
2
  const layoutConfig = useLayoutConfig();
3
3
  const transWebUrl = (url, params) => {
4
4
  if (!url) return url;