vue-layout-gitcode 1.1.50 → 1.2.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, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, unref, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
2
- import { d as debounce, G as GIcon, 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$8, o as isIncubationRepo, p as highlightWords, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-D14vNHYT.js";
2
+ import { d as debounce, 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$8, o as isIncubationRepo, p as highlightWords, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-C1JExHMa.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";
@@ -143,6 +143,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
143
143
  const handleStar = async (e) => {
144
144
  e.preventDefault();
145
145
  if (!isLogin.value) {
146
+ setLoginTriggerSource(props.loginTriggerSource || "search_star_repo_recommend");
146
147
  useReport("login_exposure", { source: props.loginTriggerSource || "search_star_repo_recommend" });
147
148
  }
148
149
  try {
@@ -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 { s as useLayoutConfig, _ as _export_sfc } from "./index-D14vNHYT.js";
3
+ import { v as useLayoutConfig, _ as _export_sfc } from "./index-C1JExHMa.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { x, y, B, w, S, v, C, F, A, D, z } from "./index-D14vNHYT.js";
1
+ import { y, z, C, x, S, w, D, H, B, F, A } from "./index-C1JExHMa.js";
2
2
  export {
3
- x as GitCodeAside,
4
- y as GitCodeHeader,
5
- B as GitCodeLayoutEmitter,
6
- w as Login,
3
+ y as GitCodeAside,
4
+ z as GitCodeHeader,
5
+ C as GitCodeLayoutEmitter,
6
+ x as Login,
7
7
  S as SceneValue,
8
- v as ToolsFloat,
9
- C as currentTheme,
10
- F as default,
11
- A as setLayoutConfig,
12
- D as setTheme,
13
- z as useLogin
8
+ w as ToolsFloat,
9
+ D as currentTheme,
10
+ H as default,
11
+ B as setLayoutConfig,
12
+ F as setTheme,
13
+ A 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-D14vNHYT.js";
2
+ import { i as isPhone, u as useModel } from "./index-C1JExHMa.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.1.50",
3
+ "version": "1.2.1",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",