vue-layout-gitcode 1.9.21 → 1.9.22

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,5 +1,5 @@
1
1
  import { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { w as getLocaleLang, j as LANG_ZH, x as useLayoutConfig, _ as _export_sfc } from "./index-CNwaKo3C.js";
2
+ import { q as getLocaleLang, g as LANG_ZH, w as useLayoutConfig, _ as _export_sfc } from "./index-C7_YkPbO.js";
3
3
  import { FixedOverlay } from "vue-devui-lal/overlay";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const TARGET_TEXT = "Click in order:";
@@ -90,7 +90,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
90
  default: withCtx(() => _cache[0] || (_cache[0] = [
91
91
  createElementVNode("div", { id: "captcha-box" }, null, -1)
92
92
  ])),
93
- _: 1
93
+ _: 1,
94
+ __: [0]
94
95
  });
95
96
  };
96
97
  }
@@ -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, L as LANG_KEY, j as LANG_ZH, k as usePageResize, 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 } from "./index-CNwaKo3C.js";
4
- import { t as transWebUrl } from "./transWebUrl-CYbHu4ea.js";
3
+ import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, 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$b, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-C7_YkPbO.js";
4
+ import { t as transWebUrl } from "./transWebUrl-BP9hBhvr.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";
@@ -385,7 +385,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
385
385
  size: "14"
386
386
  }),
387
387
  createElementVNode("span", _hoisted_2$3, [
388
- _cache[0] || (_cache[0] = createTextVNode("Star ")),
388
+ _cache[0] || (_cache[0] = createTextVNode("Star ", -1)),
389
389
  createVNode(_sfc_main$a, {
390
390
  number: _ctx.count || 0,
391
391
  gt100: true
@@ -536,7 +536,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
536
536
  default: withCtx(() => [
537
537
  _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))
538
538
  ]),
539
- _: 1
539
+ _: 1,
540
+ __: [0]
540
541
  })) : createCommentVNode("", true);
541
542
  };
542
543
  }
@@ -641,7 +642,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
641
642
  const { widthType } = usePageResize();
642
643
  const { t: $t } = i18n.global;
643
644
  const handleClick = () => {
644
- window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
645
+ window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
645
646
  emits("report");
646
647
  _frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
647
648
  };
@@ -749,9 +750,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
749
750
  message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.graduation")}`
750
751
  }, {
751
752
  default: withCtx(() => _cache[0] || (_cache[0] = [
752
- createTextVNode("G-Star ")
753
+ createTextVNode("G-Star ", -1)
753
754
  ])),
754
- _: 1
755
+ _: 1,
756
+ __: [0]
755
757
  }, 8, ["message"])
756
758
  ])) : createCommentVNode("", true),
757
759
  unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
@@ -762,9 +764,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
762
764
  message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.incubation")}`
763
765
  }, {
764
766
  default: withCtx(() => _cache[1] || (_cache[1] = [
765
- createTextVNode(" G-Star ")
767
+ createTextVNode(" G-Star ", -1)
766
768
  ])),
767
- _: 1
769
+ _: 1,
770
+ __: [1]
768
771
  }, 8, ["message"])
769
772
  ])) : createCommentVNode("", true),
770
773
  createVNode(NewTag, {
package/index.d.ts CHANGED
@@ -313,11 +313,6 @@ 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
- };
321
316
  bgConfig: {
322
317
  type: PropType<{
323
318
  index_head: string;
@@ -431,11 +426,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
431
426
  type: PropType<any>;
432
427
  required: true;
433
428
  };
434
- asideCollapseMode: {
435
- type: PropType<boolean | undefined>;
436
- required: false;
437
- default: boolean;
438
- };
439
429
  bgConfig: {
440
430
  type: PropType<{
441
431
  index_head: string;
@@ -474,7 +464,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
474
464
  orgInfo: OrgInfo | undefined;
475
465
  otherUserInfo: UserInfo | undefined;
476
466
  headerBorder: boolean | undefined;
477
- asideCollapseMode: boolean | undefined;
478
467
  bgConfig: {
479
468
  index_head: string;
480
469
  detail_top: string;
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { K, M, P, J, S, I, z, U, O, Q, N } from "./index-CNwaKo3C.js";
1
+ import { J, K, O, I, S, H, y, Q, N, P, M } from "./index-C7_YkPbO.js";
2
2
  export {
3
- K as GitCodeAside,
4
- M as GitCodeHeader,
5
- P as GitCodeLayoutEmitter,
6
- J as Login,
3
+ J as GitCodeAside,
4
+ K as GitCodeHeader,
5
+ O as GitCodeLayoutEmitter,
6
+ I 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
+ H as ToolsFloat,
9
+ y as currentTheme,
10
+ Q as default,
11
+ N as setLayoutConfig,
12
+ P as setTheme,
13
+ M 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-CNwaKo3C.js";
2
+ import { i as isPhone, u as useModel } from "./index-C7_YkPbO.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.9.21",
3
+ "version": "1.9.22",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",