vue-layout-gitcode 1.10.10 → 1.10.12

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, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BRrfHHfk.js";
11
+ import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-C4flXqUk.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  constructor() {
14
14
  __publicField(this, "ypRiddlerInstance", null);
@@ -60,7 +60,6 @@ const _YunpianCaptchaManager = class _YunpianCaptchaManager {
60
60
  */
61
61
  async initYpRiddler(config) {
62
62
  if (this.ypRiddlerInstance) {
63
- console.log("YpRiddler 实例已存在,无需重复初始化");
64
63
  return;
65
64
  }
66
65
  if (!config.container) {
@@ -82,7 +81,6 @@ const _YunpianCaptchaManager = class _YunpianCaptchaManager {
82
81
  throw new Error("YpRiddler 构造函数不可用");
83
82
  }
84
83
  this.ypRiddlerInstance = new window.YpRiddler(config);
85
- console.log("YpRiddler 全局实例创建成功");
86
84
  } catch (error) {
87
85
  console.error("创建 YpRiddler 实例失败:", error);
88
86
  this.ypRiddlerInstance = null;
@@ -99,7 +97,6 @@ const _YunpianCaptchaManager = class _YunpianCaptchaManager {
99
97
  this.ypRiddlerInstance.destroy();
100
98
  }
101
99
  this.ypRiddlerInstance = null;
102
- console.log("YpRiddler 实例已销毁");
103
100
  } catch (error) {
104
101
  console.error("销毁 YpRiddler 实例失败:", error);
105
102
  }
@@ -246,7 +243,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
246
243
  };
247
244
  return (_ctx, _cache) => {
248
245
  return openBlock(), createBlock(unref(FixedOverlay), {
249
- class: "captcha-overlay",
246
+ class: "captcha-overlay-yunpian",
250
247
  "close-on-click-overlay": ""
251
248
  }, {
252
249
  default: withCtx(() => [
package/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import { M, N, U, K, S, O, J, A, W, Q, V, P } from "./index-BRrfHHfk.js";
1
+ import { N, O, V, M, S, P, K, B, X, U, W, Q } from "./index-C4flXqUk.js";
2
2
  export {
3
- M as GitCodeAside,
4
- N as GitCodeHeader,
5
- U as GitCodeLayoutEmitter,
6
- K as Login,
3
+ N as GitCodeAside,
4
+ O as GitCodeHeader,
5
+ V as GitCodeLayoutEmitter,
6
+ M as Login,
7
7
  S as SceneValue,
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
8
+ P as SiteAnnouncement,
9
+ K as ToolsFloat,
10
+ B as currentTheme,
11
+ X as default,
12
+ U as setLayoutConfig,
13
+ W as setTheme,
14
+ Q as useLogin
15
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-BRrfHHfk.js";
2
+ import { i as isPhone, u as useModel } from "./index-C4flXqUk.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.10.10",
3
+ "version": "1.10.12",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",