vue-layout-gitcode 1.4.14 → 1.5.1

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 { 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
- import { d as debounce, f as transferNumber, G as GIcon, s as setLoginTriggerSource, g as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, j as useTimeFormat, L as LANG_KEY, k as LANG_ZH, m as usePageResize, n as isGstarRepo, o as _sfc_main$9, p as isIncubationRepo, q as highlightWords, w as transWebUrl, t as transformUrl, x as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-LoOeKDrd.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$9, 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-CHTaUzwY.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";
@@ -461,7 +461,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
461
461
  default: withCtx(() => [
462
462
  _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))
463
463
  ]),
464
- _: 1
464
+ _: 1,
465
+ __: [0]
465
466
  })) : createCommentVNode("", true);
466
467
  };
467
468
  }
@@ -499,7 +500,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
499
500
  const { widthType } = usePageResize();
500
501
  const { t: $t } = i18n.global;
501
502
  const handleClick = () => {
502
- window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
503
+ window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
503
504
  emits("report");
504
505
  _frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
505
506
  };
@@ -605,7 +606,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
605
606
  default: withCtx(() => _cache[0] || (_cache[0] = [
606
607
  createTextVNode("G-Star ")
607
608
  ])),
608
- _: 1
609
+ _: 1,
610
+ __: [0]
609
611
  }, 8, ["message"])
610
612
  ])) : createCommentVNode("", true),
611
613
  unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
@@ -618,7 +620,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
618
620
  default: withCtx(() => _cache[1] || (_cache[1] = [
619
621
  createTextVNode(" G-Star ")
620
622
  ])),
621
- _: 1
623
+ _: 1,
624
+ __: [1]
622
625
  }, 8, ["message"])
623
626
  ])) : createCommentVNode("", true),
624
627
  createVNode(NewTag, {
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { B, C, H, A, S, z, I, K, F, J, D } from "./index-LoOeKDrd.js";
1
+ import { A, B, F, z, S, y, H, J, D, I, C } from "./index-CHTaUzwY.js";
2
2
  export {
3
- B as GitCodeAside,
4
- C as GitCodeHeader,
5
- H as GitCodeLayoutEmitter,
6
- A as Login,
3
+ A as GitCodeAside,
4
+ B as GitCodeHeader,
5
+ F as GitCodeLayoutEmitter,
6
+ z as Login,
7
7
  S as SceneValue,
8
- z as ToolsFloat,
9
- I as currentTheme,
10
- K as default,
11
- F as setLayoutConfig,
12
- J as setTheme,
13
- D as useLogin
8
+ y as ToolsFloat,
9
+ H as currentTheme,
10
+ J as default,
11
+ D as setLayoutConfig,
12
+ I as setTheme,
13
+ C 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-LoOeKDrd.js";
2
+ import { i as isPhone, u as useModel } from "./index-CHTaUzwY.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,7 +39,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
39
  default: withCtx(() => _cache[1] || (_cache[1] = [
40
40
  createTextVNode("忽略")
41
41
  ])),
42
- _: 1
42
+ _: 1,
43
+ __: [1]
43
44
  }, 8, ["size", "onClick"]),
44
45
  createVNode(unref(Button), {
45
46
  variant: "solid",
@@ -50,7 +51,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
51
  default: withCtx(() => _cache[2] || (_cache[2] = [
51
52
  createTextVNode("修改")
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.4.14",
3
+ "version": "1.5.1",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",