vue-layout-gitcode 1.8.8 → 1.8.9

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, q as getLocaleLang, g as LANG_ZH, _ as _export_sfc } from "./index-lBPEdp0C.js";
11
+ import { a as i18n, k as usePageResize, x as getLocaleLang, j as LANG_ZH, _ as _export_sfc } from "./index-CUNaeC_5.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  constructor() {
14
14
  __publicField(this, "ypRiddlerInstance", null);
@@ -204,7 +204,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
204
204
  const captchaContent = document.querySelector(".yp-riddler");
205
205
  if (captchaContent) {
206
206
  showCloseBtn.value = true;
207
- replaceEnglishTip();
208
207
  } else {
209
208
  setTimeout(checkCaptchaLoaded, 100);
210
209
  }
@@ -219,13 +218,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
219
218
  emits("close");
220
219
  }
221
220
  };
222
- const replaceEnglishTip = () => {
223
- if (isZh) return;
224
- const tipDom = document.querySelector("#captcha-box .yp-riddler-tip-text-container>span");
225
- if (tipDom) {
226
- tipDom.textContent = "Please click in order:";
227
- }
228
- };
229
221
  onMounted(() => {
230
222
  captchaInit();
231
223
  });
package/index.d.ts CHANGED
@@ -492,6 +492,10 @@ declare enum HeaderDisplayItem {
492
492
  }
493
493
 
494
494
  export declare const Login: DefineComponent<ExtractPropTypes<{
495
+ isLogin: {
496
+ type: PropType<boolean>;
497
+ required: true;
498
+ };
495
499
  request: {
496
500
  type: PropType<Function>;
497
501
  required: true;
@@ -523,6 +527,10 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
523
527
  default: boolean;
524
528
  };
525
529
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
530
+ isLogin: {
531
+ type: PropType<boolean>;
532
+ required: true;
533
+ };
526
534
  request: {
527
535
  type: PropType<Function>;
528
536
  required: true;
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { J, K, O, I, S, H, y, Q, N, P, M } from "./index-lBPEdp0C.js";
1
+ import { M, N, Q, K, S, J, z, V, P, U, O } from "./index-CUNaeC_5.js";
2
2
  export {
3
- J as GitCodeAside,
4
- K as GitCodeHeader,
5
- O as GitCodeLayoutEmitter,
6
- I as Login,
3
+ M as GitCodeAside,
4
+ N as GitCodeHeader,
5
+ Q as GitCodeLayoutEmitter,
6
+ K as Login,
7
7
  S as SceneValue,
8
- H as ToolsFloat,
9
- y as currentTheme,
10
- Q as default,
11
- N as setLayoutConfig,
12
- P as setTheme,
13
- M as useLogin
8
+ J as ToolsFloat,
9
+ z as currentTheme,
10
+ V as default,
11
+ P as setLayoutConfig,
12
+ U as setTheme,
13
+ O 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-lBPEdp0C.js";
2
+ import { i as isPhone, u as useModel } from "./index-CUNaeC_5.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.8.8",
3
+ "version": "1.8.9",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -10,4 +10,4 @@
10
10
  },
11
11
  "author": "lal,nevins",
12
12
  "license": "ISC"
13
- }
13
+ }