vue-layout-gitcode 1.9.53 → 1.9.54

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.
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
8
8
  import "vue-devui-lal/message/style.css";
9
9
  import { FixedOverlay } from "vue-devui-lal/overlay";
10
10
  import "vue-devui-lal/overlay/style.css";
11
- import { a as i18n, j as usePageResize, w as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-D33NzfYP.js";
11
+ import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-DHpQZi8b.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  constructor() {
14
14
  __publicField(this, "ypRiddlerInstance", null);
@@ -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 { 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, g as useCookie, j as usePageResize, L as LANG_ZH, 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, q as LANG_KEY } from "./index-D33NzfYP.js";
4
- import { t as transWebUrl } from "./transWebUrl-BlGsld3x.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-DHpQZi8b.js";
4
+ import { t as transWebUrl } from "./transWebUrl-DX1uQ-Qk.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";
@@ -640,7 +640,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
640
640
  const { widthType } = usePageResize();
641
641
  const { t: $t } = i18n.global;
642
642
  const handleClick = () => {
643
- window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
643
+ window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
644
644
  emits("report");
645
645
  _frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
646
646
  };
package/index.d.ts CHANGED
@@ -593,6 +593,8 @@ export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
593
593
 
594
594
  export { setTheme }
595
595
 
596
+ export declare const SiteAnnouncement: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
597
+
596
598
  export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
597
599
  sceneValue: {
598
600
  type: PropType<SceneValue>;
package/index.js CHANGED
@@ -1,14 +1,15 @@
1
- import { K, M, P, J, S, I, z, U, O, Q, N } from "./index-D33NzfYP.js";
1
+ import { M, N, U, K, S, O, J, A, W, Q, V, P } from "./index-DHpQZi8b.js";
2
2
  export {
3
- K as GitCodeAside,
4
- M as GitCodeHeader,
5
- P as GitCodeLayoutEmitter,
6
- J as Login,
3
+ M as GitCodeAside,
4
+ N as GitCodeHeader,
5
+ U as GitCodeLayoutEmitter,
6
+ K 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
+ O as SiteAnnouncement,
9
+ J as ToolsFloat,
10
+ A as currentTheme,
11
+ W as default,
12
+ Q as setLayoutConfig,
13
+ V as setTheme,
14
+ P as useLogin
14
15
  };
@@ -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-D33NzfYP.js";
2
+ import { i as isPhone, u as useModel } from "./index-DHpQZi8b.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.9.53",
3
+ "version": "1.9.54",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",