vue-layout-gitcode 1.9.67 → 1.9.69

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 { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-BRcz5gFC.js";
2
+ import { x as getLocaleLang, L as LANG_ZH, y as useLayoutConfig, _ as _export_sfc } from "./index-BxW9dopj.js";
3
3
  import { FixedOverlay } from "vue-devui-lal/overlay";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const TARGET_TEXT = "Click in order:";
@@ -87,11 +87,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
87
87
  });
88
88
  return (_ctx, _cache) => {
89
89
  return openBlock(), createBlock(unref(FixedOverlay), { class: "captcha-overlay" }, {
90
- default: withCtx(() => _cache[0] || (_cache[0] = [
90
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
91
91
  createElementVNode("div", { id: "captcha-box" }, null, -1)
92
- ])),
93
- _: 1,
94
- __: [0]
92
+ ])]),
93
+ _: 1
95
94
  });
96
95
  };
97
96
  }
@@ -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-BRcz5gFC.js";
11
+ import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BxW9dopj.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  constructor() {
14
14
  __publicField(this, "ypRiddlerInstance", null);
package/index.d.ts CHANGED
@@ -97,7 +97,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
97
97
  customTimeout?: number | undefined;
98
98
  ignoreError?: boolean | undefined;
99
99
  customErrorCodes?: number[] | undefined;
100
- } | undefined) => Promise<AxiosResponse<any, any>>;
100
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
101
101
  };
102
102
  globalStore: {
103
103
  type: PropType<Object>;
@@ -167,7 +167,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
167
167
  customTimeout?: number | undefined;
168
168
  ignoreError?: boolean | undefined;
169
169
  customErrorCodes?: number[] | undefined;
170
- } | undefined) => Promise<AxiosResponse<any, any>>;
170
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
171
171
  };
172
172
  globalStore: {
173
173
  type: PropType<Object>;
@@ -242,7 +242,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
242
242
  customTimeout?: number | undefined;
243
243
  ignoreError?: boolean | undefined;
244
244
  customErrorCodes?: number[] | undefined;
245
- } | undefined) => Promise<AxiosResponse<any, any>>;
245
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
246
246
  };
247
247
  loginOutFinish: {
248
248
  type: PropType<Function | undefined>;
@@ -355,7 +355,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
355
355
  customTimeout?: number | undefined;
356
356
  ignoreError?: boolean | undefined;
357
357
  customErrorCodes?: number[] | undefined;
358
- } | undefined) => Promise<AxiosResponse<any, any>>;
358
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
359
359
  };
360
360
  loginOutFinish: {
361
361
  type: PropType<Function | undefined>;
@@ -504,7 +504,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
504
504
  customTimeout?: number | undefined;
505
505
  ignoreError?: boolean | undefined;
506
506
  customErrorCodes?: number[] | undefined;
507
- } | undefined) => Promise<AxiosResponse<any, any>>;
507
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
508
508
  };
509
509
  loginOutFinish: {
510
510
  type: PropType<Function | undefined>;
@@ -539,7 +539,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
539
539
  customTimeout?: number | undefined;
540
540
  ignoreError?: boolean | undefined;
541
541
  customErrorCodes?: number[] | undefined;
542
- } | undefined) => Promise<AxiosResponse<any, any>>;
542
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
543
543
  };
544
544
  loginOutFinish: {
545
545
  type: PropType<Function | undefined>;
@@ -614,7 +614,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
614
614
  customTimeout?: number | undefined;
615
615
  ignoreError?: boolean | undefined;
616
616
  customErrorCodes?: number[] | undefined;
617
- } | undefined) => Promise<AxiosResponse<any, any>>;
617
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
618
618
  };
619
619
  globalStore: {
620
620
  type: PropType<{
@@ -653,7 +653,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
653
653
  customTimeout?: number | undefined;
654
654
  ignoreError?: boolean | undefined;
655
655
  customErrorCodes?: number[] | undefined;
656
- } | undefined) => Promise<AxiosResponse<any, any>>;
656
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
657
657
  };
658
658
  globalStore: {
659
659
  type: PropType<{
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M, N, U, K, S, O, J, A, W, Q, V, P } from "./index-BRcz5gFC.js";
1
+ import { M, N, U, K, S, O, J, A, W, Q, V, P } from "./index-BxW9dopj.js";
2
2
  export {
3
3
  M as GitCodeAside,
4
4
  N as GitCodeHeader,
@@ -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-BRcz5gFC.js";
2
+ import { i as isPhone, u as useModel } from "./index-BxW9dopj.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";
@@ -33,14 +33,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  createVNode(unref(Button), {
34
34
  variant: "outline",
35
35
  size: isMobile.value ? "sm" : "md",
36
- onClick: _ctx.onClose,
36
+ onClick: __props.onClose,
37
37
  class: "mr-[8px]"
38
38
  }, {
39
- default: withCtx(() => _cache[1] || (_cache[1] = [
40
- createTextVNode("忽略")
41
- ])),
42
- _: 1,
43
- __: [1]
39
+ default: withCtx(() => [..._cache[1] || (_cache[1] = [
40
+ createTextVNode("忽略", -1)
41
+ ])]),
42
+ _: 1
44
43
  }, 8, ["size", "onClick"]),
45
44
  createVNode(unref(Button), {
46
45
  variant: "solid",
@@ -48,11 +47,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
47
  color: "primary",
49
48
  onClick: handleConfirm
50
49
  }, {
51
- default: withCtx(() => _cache[2] || (_cache[2] = [
52
- createTextVNode("修改")
53
- ])),
54
- _: 1,
55
- __: [2]
50
+ default: withCtx(() => [..._cache[2] || (_cache[2] = [
51
+ createTextVNode("修改", -1)
52
+ ])]),
53
+ _: 1
56
54
  }, 8, ["size"])
57
55
  ], 2)
58
56
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.9.67",
3
+ "version": "1.9.69",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",