vue-layout-gitcode 1.6.13 → 1.7.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,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-D5P2-t2Y.js";
4
- import { t as transWebUrl } from "./transWebUrl-2vA_yZh2.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-CnkOEgFB.js";
4
+ import { t as transWebUrl } from "./transWebUrl-GcVgjNJw.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";
@@ -642,7 +642,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
642
642
  const { widthType } = usePageResize();
643
643
  const { t: $t } = i18n.global;
644
644
  const handleClick = () => {
645
- window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
645
+ window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
646
646
  emits("report");
647
647
  _frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
648
648
  };
@@ -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 { w as useLayoutConfig, _ as _export_sfc } from "./index-D5P2-t2Y.js";
3
+ import { q as useLayoutConfig, _ as _export_sfc } from "./index-CnkOEgFB.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  logoUrl: null
36
36
  // 去除logo
37
37
  };
38
- window.initTAC("https://cdn-static.gitcode.host/js/tac/", config, style).then((tac) => {
38
+ window.initTAC("https://cdn-static.gitcode.com/js/tac/", config, style).then((tac) => {
39
39
  tac.init();
40
40
  }).catch((e) => {
41
41
  console.error("初始化tac失败", e);
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { M, N, Q, K, S, J, y, V, P, U, O } from "./index-D5P2-t2Y.js";
1
+ import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-CnkOEgFB.js";
2
2
  export {
3
- M as GitCodeAside,
4
- N as GitCodeHeader,
5
- Q as GitCodeLayoutEmitter,
6
- K as Login,
3
+ J as GitCodeAside,
4
+ K as GitCodeHeader,
5
+ O as GitCodeLayoutEmitter,
6
+ I as Login,
7
7
  S as SceneValue,
8
- J as ToolsFloat,
9
- y as currentTheme,
10
- V as default,
11
- P as setLayoutConfig,
12
- U as setTheme,
13
- O as useLogin
8
+ H as ToolsFloat,
9
+ x 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-D5P2-t2Y.js";
2
+ import { i as isPhone, u as useModel } from "./index-CnkOEgFB.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.6.13",
3
+ "version": "1.7.1",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",