@pubinfo-pr/module-captcha 0.189.2 → 0.197.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,78 +1,78 @@
1
- import { auth as request } from '../../request';
1
+ import { auth as request } from '@/api/request';
2
2
  /**
3
3
  * @description 验证码-前端校验 需要校验的验证码类型:blockPuzzle、clickWord
4
4
  * @url /auth/captcha/check
5
5
  * @method POST
6
6
  * @author @pubinfo/openapi
7
7
  */
8
- export declare function postAuthCaptchaCheck<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(body: API.CaptchaCheckDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
8
+ export declare function postAuthCaptchaCheck<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(body: API.CaptchaCheckDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
9
9
  /**
10
10
  * @description 验证码-获取验证码图片
11
11
  * @url /auth/captcha/get
12
12
  * @method POST
13
13
  * @author @pubinfo/openapi
14
14
  */
15
- export declare function postAuthCaptchaGet<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(body: API.CaptchaGetDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
15
+ export declare function postAuthCaptchaGet<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(body: API.CaptchaGetDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
16
16
  /**
17
17
  * @description 切换登录组织
18
18
  * @url /auth/changeLoginOrg
19
19
  * @method POST
20
20
  * @author @pubinfo/openapi
21
21
  */
22
- export declare function postAuthChangeLoginOrg<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(params: API.postAuthChangeLoginOrgParams, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
22
+ export declare function postAuthChangeLoginOrg<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(params: API.postAuthChangeLoginOrgParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
23
23
  /**
24
24
  * @description 判断缓存的token是否有效
25
25
  * @url /auth/checkCacheToken
26
26
  * @method GET
27
27
  * @author @pubinfo/openapi
28
28
  */
29
- export declare function getAuthCheckCacheToken<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(params: API.getAuthCheckCacheTokenParams, options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
29
+ export declare function getAuthCheckCacheToken<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(params: API.getAuthCheckCacheTokenParams, options?: Parameters<typeof request.Get<R, T>>[1]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
30
30
  /**
31
31
  * @description 密码登录
32
32
  * @url /auth/login
33
33
  * @method POST
34
34
  * @author @pubinfo/openapi
35
35
  */
36
- export declare function postAuthLogin<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.LoginByPwdDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
36
+ export declare function postAuthLogin<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.LoginByPwdDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
37
37
  /**
38
38
  * @description 获取登录公钥
39
39
  * @url /auth/login/key
40
40
  * @method GET
41
41
  * @author @pubinfo/openapi
42
42
  */
43
- export declare function getAuthLoginKey<R = API.ResponseDataString, T = API.ResponseDataString>(options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
43
+ export declare function getAuthLoginKey<R = API.ResponseDataString, T = API.ResponseDataString>(options?: Parameters<typeof request.Get<R, T>>[1]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
44
44
  /**
45
45
  * @description 获取图片验证码
46
46
  * @url /auth/login/validCode
47
47
  * @method GET
48
48
  * @author @pubinfo/openapi
49
49
  */
50
- export declare function getAuthLoginValidCode<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(params: API.getAuthLoginValidCodeParams, options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
50
+ export declare function getAuthLoginValidCode<R = API.ResponseDataValidCodeVo, T = API.ResponseDataValidCodeVo>(params: API.getAuthLoginValidCodeParams, options?: Parameters<typeof request.Get<R, T>>[1]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
51
51
  /**
52
52
  * @description 验证码-密码登录
53
53
  * @url /auth/loginNew
54
54
  * @method POST
55
55
  * @author @pubinfo/openapi
56
56
  */
57
- export declare function postAuthLoginNew<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.LoginByPwdCaptchaDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
57
+ export declare function postAuthLoginNew<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.LoginByPwdCaptchaDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
58
58
  /**
59
59
  * @description 登出
60
60
  * @url /auth/loginOut
61
61
  * @method POST
62
62
  * @author @pubinfo/openapi
63
63
  */
64
- export declare function postAuthLoginOut<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
64
+ export declare function postAuthLoginOut<R = API.ResponseDataVoid, T = API.ResponseDataVoid>(options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
65
65
  /**
66
66
  * @description 单点免密登录接口
67
67
  * @url /auth/ssoLogin
68
68
  * @method POST
69
69
  * @author @pubinfo/openapi
70
70
  */
71
- export declare function postAuthSsoLogin<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.SsoLoginDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
71
+ export declare function postAuthSsoLogin<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(body: API.SsoLoginDto, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
72
72
  /**
73
73
  * @description 刷新访问令牌
74
74
  * @url /auth/token/refresh
75
75
  * @method POST
76
76
  * @author @pubinfo/openapi
77
77
  */
78
- export declare function postAuthTokenRefresh<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(params: API.postAuthTokenRefreshParams, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
78
+ export declare function postAuthTokenRefresh<R = API.ResponseDataLoginTokenVo, T = API.ResponseDataLoginTokenVo>(params: API.postAuthTokenRefreshParams, options?: Parameters<typeof request.Post<R, T>>[2]): import("alova").Method<import("alova").RespondedAlovaGenerics<import("pubinfo-pr").AG, R, T>>;
@@ -1 +1 @@
1
- export declare const auth: import('pubinfo-pr').RequestInstance;
1
+ export declare const auth: import("pubinfo-pr").RequestInstance;
@@ -3,15 +3,16 @@ type __VLS_Props = {
3
3
  modelValue: string;
4
4
  };
5
5
  declare function send(): Promise<void>;
6
- declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<__VLS_Props, {
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
7
7
  refresh: typeof send;
8
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  "update:modelValue": (...args: any[]) => void;
10
10
  getCaptchaHash: (...args: any[]) => void;
11
- }, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
12
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
13
  onGetCaptchaHash?: ((...args: any[]) => any) | undefined;
14
14
  }>, {
15
15
  size: "large" | "middle" | "small";
16
- }, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {}, any>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
@@ -1,11 +1,9 @@
1
- declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<{}, {
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
2
  refresh: () => void;
3
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  success: (...args: any[]) => void;
5
- }, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{
5
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
6
6
  onSuccess?: ((...args: any[]) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {
8
- pointRef: HTMLDivElement;
9
- canvas: HTMLImageElement;
10
- }, HTMLDivElement>;
7
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: typeof __VLS_export;
11
9
  export default _default;
@@ -1,17 +1,19 @@
1
- import { RESULT } from './common/checkEvent.ts';
1
+ import type { RESULT } from './common/checkEvent.ts';
2
2
  export interface PubinfoPopPointProps {
3
3
  onSuccess?: (data: RESULT) => void;
4
4
  }
5
5
  type __VLS_Props = PubinfoPopPointProps;
6
6
  declare function onOpen(): void;
7
- type __VLS_PublicProps = {
7
+ type __VLS_ModelProps = {
8
8
  'open'?: boolean;
9
- } & __VLS_Props;
10
- declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<__VLS_PublicProps, {
9
+ };
10
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
11
12
  open: typeof onOpen;
12
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
13
- "update:open": (value: boolean) => any;
14
- }, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:open": (value: boolean | undefined) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
17
19
  export default _default;
@@ -1,30 +1,9 @@
1
- declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<{}, {
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
2
  refresh: () => void;
3
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  success: (...args: any[]) => void;
5
- }, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{
5
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
6
6
  onSuccess?: ((...args: any[]) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {
8
- pubinfoMMRef: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
9
- onSuccess?: ((...args: any[]) => any) | undefined;
10
- }>, {
11
- refresh: () => void;
12
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
13
- success: (...args: any[]) => void;
14
- }, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {}, true, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {
15
- pointRef: HTMLDivElement;
16
- canvas: HTMLImageElement;
17
- }, HTMLDivElement, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
18
- P: {};
19
- B: {};
20
- D: {};
21
- C: {};
22
- M: {};
23
- Defaults: {};
24
- }, Readonly<{}> & Readonly<{
25
- onSuccess?: ((...args: any[]) => any) | undefined;
26
- }>, {
27
- refresh: () => void;
28
- }, {}, {}, {}, {}> | null;
29
- }, HTMLDivElement>;
7
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: typeof __VLS_export;
30
9
  export default _default;
@@ -1,8 +1,8 @@
1
1
  export type EmitFunction = (event: 'success', data: any) => void;
2
2
  export declare function useTouchService(): {
3
- showButton: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
4
- isSuccess: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
5
- inArea: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
3
+ showButton: globalThis.Ref<boolean, boolean>;
4
+ isSuccess: globalThis.Ref<boolean, boolean>;
5
+ inArea: globalThis.Ref<boolean, boolean>;
6
6
  handleSubmit: (data: any, emit: EmitFunction) => void;
7
7
  onMouseEnter: () => void;
8
8
  onMouseLeave: () => void;
@@ -1,12 +1,12 @@
1
1
  export declare function variable(): {
2
- secretKey: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
2
+ secretKey: globalThis.Ref<string, string>;
3
3
  checkNum: number;
4
- checkPosArr: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Reactive<any[]>;
5
- num: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<number, number>;
6
- pointBackImgBase: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
7
- poinTextList: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<any[], any[]>;
8
- backToken: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
9
- setSize: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<{
4
+ checkPosArr: import("vue").Reactive<any[]>;
5
+ num: globalThis.Ref<number, number>;
6
+ pointBackImgBase: globalThis.Ref<string, string>;
7
+ poinTextList: globalThis.Ref<any[], any[]>;
8
+ backToken: globalThis.Ref<string, string>;
9
+ setSize: globalThis.Ref<{
10
10
  imgHeight: string;
11
11
  imgWidth: string;
12
12
  barHeight: string;
@@ -19,7 +19,7 @@ export declare function variable(): {
19
19
  imgWidth: string;
20
20
  barHeight: string;
21
21
  }>;
22
- realImgSize: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<{
22
+ realImgSize: globalThis.Ref<{
23
23
  width: number;
24
24
  height: number;
25
25
  }, {
@@ -29,11 +29,11 @@ export declare function variable(): {
29
29
  width: number;
30
30
  height: number;
31
31
  }>;
32
- tempPoints: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Reactive<any[]>;
33
- text: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
34
- barTextColor: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
35
- barBackgroundColor: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
36
- barAreaBorderColor: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
37
- showRefresh: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
38
- bindingClick: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
32
+ tempPoints: import("vue").Reactive<any[]>;
33
+ text: globalThis.Ref<string, string>;
34
+ barTextColor: globalThis.Ref<string, string>;
35
+ barBackgroundColor: globalThis.Ref<string, string>;
36
+ barAreaBorderColor: globalThis.Ref<string, string>;
37
+ showRefresh: globalThis.Ref<boolean, boolean>;
38
+ bindingClick: globalThis.Ref<boolean, boolean>;
39
39
  };
@@ -1,14 +1,13 @@
1
- declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<{}, {
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
2
  refresh: () => void;
3
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  success: (...args: any[]) => void;
5
5
  menter: (...args: any[]) => void;
6
6
  mleave: (...args: any[]) => void;
7
- }, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{
7
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
8
8
  onSuccess?: ((...args: any[]) => any) | undefined;
9
9
  onMenter?: ((...args: any[]) => any) | undefined;
10
10
  onMleave?: ((...args: any[]) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {
12
- slideRef: HTMLDivElement;
13
- }, HTMLDivElement>;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: typeof __VLS_export;
14
13
  export default _default;
@@ -1,17 +1,19 @@
1
- import { RESULT } from './common/mouse.ts';
1
+ import type { RESULT } from './common/mouse.ts';
2
2
  export interface PubinfoPopSlideProps {
3
3
  onSuccess?: (data: RESULT) => void;
4
4
  }
5
5
  type __VLS_Props = PubinfoPopSlideProps;
6
6
  declare function onOpen(): void;
7
- type __VLS_PublicProps = {
7
+ type __VLS_ModelProps = {
8
8
  'open'?: boolean;
9
- } & __VLS_Props;
10
- declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<__VLS_PublicProps, {
9
+ };
10
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
11
12
  open: typeof onOpen;
12
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
13
- "update:open": (value: boolean) => any;
14
- }, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:open": (value: boolean | undefined) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
17
19
  export default _default;
@@ -1,35 +1,9 @@
1
- declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<{}, {
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {
2
2
  refresh: () => void;
3
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  success: (...args: any[]) => void;
5
- }, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{
5
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
6
6
  onSuccess?: ((...args: any[]) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {
8
- pubinfoMMFixedSlideRef: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
9
- onSuccess?: ((...args: any[]) => any) | undefined;
10
- onMenter?: ((...args: any[]) => any) | undefined;
11
- onMleave?: ((...args: any[]) => any) | undefined;
12
- }>, {
13
- refresh: () => void;
14
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
15
- success: (...args: any[]) => void;
16
- menter: (...args: any[]) => void;
17
- mleave: (...args: any[]) => void;
18
- }, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {}, true, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {
19
- slideRef: HTMLDivElement;
20
- }, HTMLDivElement, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
21
- P: {};
22
- B: {};
23
- D: {};
24
- C: {};
25
- M: {};
26
- Defaults: {};
27
- }, Readonly<{}> & Readonly<{
28
- onSuccess?: ((...args: any[]) => any) | undefined;
29
- onMenter?: ((...args: any[]) => any) | undefined;
30
- onMleave?: ((...args: any[]) => any) | undefined;
31
- }>, {
32
- refresh: () => void;
33
- }, {}, {}, {}, {}> | null;
34
- }, HTMLDivElement>;
7
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: typeof __VLS_export;
35
9
  export default _default;
@@ -1,8 +1,8 @@
1
1
  export type EmitFunction = (event: 'success', data: any) => void;
2
2
  export declare function useTouchService(): {
3
- showButton: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
4
- isSuccess: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
5
- inArea: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
3
+ showButton: globalThis.Ref<boolean, boolean>;
4
+ isSuccess: globalThis.Ref<boolean, boolean>;
5
+ inArea: globalThis.Ref<boolean, boolean>;
6
6
  handleSubmit: (data: any, emit: EmitFunction) => void;
7
7
  onMouseEnter: () => void;
8
8
  onMouseLeave: () => void;
@@ -1,8 +1,8 @@
1
1
  export declare function variable(): {
2
- backImgBase: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<any, any>;
3
- backToken: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<any, any>;
4
- blockBackImgBase: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<any, any>;
5
- blockSize: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<{
2
+ backImgBase: globalThis.Ref<any, any>;
3
+ backToken: globalThis.Ref<any, any>;
4
+ blockBackImgBase: globalThis.Ref<any, any>;
5
+ blockSize: globalThis.Ref<{
6
6
  width: string;
7
7
  height: string;
8
8
  }, {
@@ -12,17 +12,17 @@ export declare function variable(): {
12
12
  width: string;
13
13
  height: string;
14
14
  }>;
15
- endMovetime: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<number, number>;
16
- iconColor: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
17
- iconName: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
18
- isEnd: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
19
- leftBarBorderColor: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
20
- leftBarWidth: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<any, any>;
21
- moveBlockBackgroundColor: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
22
- moveBlockLeft: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
23
- passFlag: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
24
- secretKey: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<any, any>;
25
- setSize: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<{
15
+ endMovetime: globalThis.Ref<number, number>;
16
+ iconColor: globalThis.Ref<string, string>;
17
+ iconName: globalThis.Ref<string, string>;
18
+ isEnd: globalThis.Ref<boolean, boolean>;
19
+ leftBarBorderColor: globalThis.Ref<string, string>;
20
+ leftBarWidth: globalThis.Ref<any, any>;
21
+ moveBlockBackgroundColor: globalThis.Ref<string, string>;
22
+ moveBlockLeft: globalThis.Ref<string, string>;
23
+ passFlag: globalThis.Ref<boolean, boolean>;
24
+ secretKey: globalThis.Ref<any, any>;
25
+ setSize: globalThis.Ref<{
26
26
  imgHeight: string;
27
27
  width: string;
28
28
  barHeight: string;
@@ -38,7 +38,7 @@ export declare function variable(): {
38
38
  barHeight: string;
39
39
  barWidth: string;
40
40
  }>;
41
- realImgSize: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<{
41
+ realImgSize: globalThis.Ref<{
42
42
  width: number;
43
43
  height: number;
44
44
  }, {
@@ -48,12 +48,12 @@ export declare function variable(): {
48
48
  width: number;
49
49
  height: number;
50
50
  }>;
51
- showRefresh: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
52
- startLeft: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<number, number>;
53
- startMoveTime: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<number, number>;
54
- status: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<boolean, boolean>;
55
- text: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
56
- tipWords: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
57
- transitionLeft: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
58
- verifyLeftBarBackgroundColor: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').Ref<string, string>;
51
+ showRefresh: globalThis.Ref<boolean, boolean>;
52
+ startLeft: globalThis.Ref<number, number>;
53
+ startMoveTime: globalThis.Ref<number, number>;
54
+ status: globalThis.Ref<boolean, boolean>;
55
+ text: globalThis.Ref<string, string>;
56
+ tipWords: globalThis.Ref<string, string>;
57
+ transitionLeft: globalThis.Ref<string, string>;
58
+ verifyLeftBarBackgroundColor: globalThis.Ref<string, string>;
59
59
  };
package/dist/context.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { InternalContext } from './interface.ts';
2
- export declare const ctx: import('unctx').UseContext<InternalContext>;
1
+ import type { InternalContext } from './interface.ts';
2
+ export declare const ctx: import("unctx").UseContext<InternalContext>;
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .i-solar-shield-check-bold{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M3.378 5.082C3 5.62 3 7.22 3 10.417v1.574c0 5.638 4.239 8.375 6.899 9.536c.721.315 1.082.473 2.101.473c1.02 0 1.38-.158 2.101-.473C16.761 20.365 21 17.63 21 11.991v-1.574c0-3.198 0-4.797-.378-5.335c-.377-.537-1.88-1.052-4.887-2.081l-.573-.196C13.595 2.268 12.812 2 12 2s-1.595.268-3.162.805L8.265 3c-3.007 1.03-4.51 1.545-4.887 2.082M15.06 10.5a.75.75 0 0 0-1.12-.999l-3.011 3.374l-.87-.974a.75.75 0 0 0-1.118 1l1.428 1.6a.75.75 0 0 0 1.119 0z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:1em;height:1em;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-solar-shield-check-broken{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-width='1.5'%3E%3Cpath stroke-linejoin='round' d='m9.5 12.4l1.429 1.6l3.571-4'/%3E%3Cpath d='M3 10.417c0-3.198 0-4.797.378-5.335c.377-.537 1.88-1.052 4.887-2.081l.573-.196C10.405 2.268 11.188 2 12 2s1.595.268 3.162.805l.573.196c3.007 1.029 4.51 1.544 4.887 2.081C21 5.62 21 7.22 21 10.417v1.574c0 2.505-.837 4.437-2 5.913M3.193 14c.857 4.298 4.383 6.513 6.706 7.527c.721.315 1.082.473 2.101.473c1.02 0 1.38-.158 2.101-.473c.579-.252 1.231-.58 1.899-.994'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:1em;height:1em;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.visible{visibility:visible}.absolute,[absolute=""]{position:absolute}.relative,[relative=""]{position:relative}.bottom-0,[bottom-0=""]{bottom:0}.left-0,[left-0=""]{left:0}.right-0,[right-0=""]{right:0}.z-99999,[z-99999=""]{z-index:99999}.block{display:block}.hidden{display:none}.size-full,[size-full=""]{width:100%;height:100%}.h-40px,[h-40px=""]{height:40px}.w-100\%,.w-full,[w-full=""]{width:100%}.w-100px,[w-100px=""]{width:100px}.flex,[flex=""]{display:flex}.transform{transform:translateX(var(--un-translate-x))translateY(var(--un-translate-y))translateZ(var(--un-translate-z))rotate(var(--un-rotate))rotateX(var(--un-rotate-x))rotateY(var(--un-rotate-y))rotateZ(var(--un-rotate-z))skewX(var(--un-skew-x))skewY(var(--un-skew-y))scaleX(var(--un-scale-x))scaleY(var(--un-scale-y))scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.items-center,[items-center=""]{align-items:center}.justify-center,[justify-center=""]{justify-content:center}.border{border-width:1px}.p-2px,[p-2px=""]{padding:2px}.px{padding-left:1rem;padding-right:1rem}[color~=\#1578FF]{--un-text-opacity:1;color:rgb(21 120 255/var(--un-text-opacity))}[color~=\#AFB0B2]{--un-text-opacity:1;color:rgb(175 176 178/var(--un-text-opacity))}.filter{filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-v-b87f1ba4] .ant-input-group-addon{overflow:hidden;padding:0!important}.verify-tips[data-v-a699c46e]{z-index:7;color:#fff;opacity:1;height:30px;padding-left:8px;line-height:30px;position:absolute;bottom:0;left:0;right:0}.suc-bg[data-v-a699c46e]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5cb85c,endcolorstr=#7f5cb85c);background-color:#5cb85c80}.err-bg[data-v-a699c46e]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7fd9534f,endcolorstr=#7fd9534f);background-color:#d9534f80}.verify-bar-area[data-v-a699c46e]{box-sizing:border-box;background-color:#f7f9fa;border:1px solid #e4e7eb;border-radius:2px;justify-content:center;align-items:center;display:flex;position:relative}.verify-bar-area .verify-move-block[data-v-a699c46e]{box-sizing:border-box;cursor:pointer;background-color:#fff;border-radius:2px;justify-content:center;align-items:center;transition:background .2s linear;display:flex;position:absolute;top:0;left:0;box-shadow:0 0 3px #0000004d}.verify-bar-area .verify-move-block[data-v-a699c46e]:hover{background-color:#1991fa}.verify-bar-area .verify-move-block:hover .verify-icon[data-v-a699c46e]{color:#fff}.verify-bar-area .verify-left-bar[data-v-a699c46e]{box-sizing:border-box;cursor:pointer;background-color:#7bbaf1;border:1px solid #1991fa;position:absolute;top:-1px;left:-1px}.verify-img-panel[data-v-a699c46e]{box-sizing:border-box;border:1px solid #ddd;border-radius:3px;width:100%;margin:0;position:relative}.verify-img-panel .verify-refresh[data-v-a699c46e]{z-index:2;text-align:center;cursor:pointer;background-color:#0000001f;width:30px;height:30px;line-height:30px;position:absolute;top:0;right:0}.verify-img-panel .icon-refresh[data-v-a699c46e]{color:#fff;font-size:20px}.verify-bar-area .verify-move-block .verify-sub-block[data-v-a699c46e]{z-index:3;text-align:center;position:absolute;left:0}.verify-bar-area .verify-move-block .verify-icon[data-v-a699c46e]{font-size:18px}.verify-bar-area .verify-msg[data-v-a699c46e]{z-index:3}.pubinfo-m-normal .verify-img-out[data-v-a699c46e]{opacity:0;width:100%;transition:opacity .5s,bottom .5s;position:absolute;bottom:20px}.pubinfo-m-touch .verify-img-out[data-v-a699c46e]{opacity:1;bottom:40px}.button_touch[data-v-939785d2]{cursor:pointer;color:#45494c;background:linear-gradient(#fff 0,#ebedf0 87%);border:1px solid #e4e7eb;border-radius:2px;width:100%;height:40px;font-size:14px}.pubinfo-m-normal[data-v-939785d2]{visibility:hidden;transition:visibility .2s}.pubinfo-m-touch[data-v-939785d2]{visibility:visible}.pubinfo-m-success[data-v-939785d2]{color:#52ccba;cursor:default;background:#d2f4ef;border-color:#52ccba}.verify-tips[data-v-719346d3]{z-index:7;color:#fff;opacity:1;height:30px;padding-left:8px;line-height:30px;position:absolute;bottom:0;left:0;right:0}.suc-bg[data-v-719346d3]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5cb85c,endcolorstr=#7f5cb85c);background-color:#5cb85c80}.err-bg[data-v-719346d3]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7fd9534f,endcolorstr=#7fd9534f);background-color:#d9534f80}.verify-bar-area[data-v-719346d3]{box-sizing:border-box;text-align:center;background-color:#f7f9fa;border:1px solid #e4e7eb;border-radius:2px;position:relative}.verify-bar-area .verify-move-block[data-v-719346d3]{box-sizing:border-box;cursor:pointer;background-color:#fff;border-radius:2px;justify-content:center;align-items:center;transition:background .2s linear;display:flex;position:absolute;top:-1px;left:0;box-shadow:0 0 3px #0000004d}.verify-bar-area .verify-move-block[data-v-719346d3]:hover{background-color:#1991fa}.verify-bar-area .verify-move-block:hover .verify-icon[data-v-719346d3]{color:#fff}.verify-bar-area .verify-left-bar[data-v-719346d3]{box-sizing:border-box;cursor:pointer;background-color:#7bbaf1;border:1px solid #1991fa;border-right-width:0;position:absolute;top:-1px;left:0}.verify-img-panel[data-v-719346d3]{box-sizing:border-box;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-radius:3px;margin:0;position:relative}.verify-img-panel .verify-refresh[data-v-719346d3]{z-index:2;text-align:center;cursor:pointer;background-color:#0000001f;width:30px;height:30px;line-height:30px;position:absolute;top:0;right:0}.verify-img-panel .icon-refresh[data-v-719346d3]{color:#fff;font-size:20px}.verify-img-out[data-v-719346d3]{position:relative}.verify-sub-block[data-v-719346d3]{z-index:3;text-align:center;position:absolute;top:0;left:0}.verify-bar-area .verify-move-block .verify-icon[data-v-719346d3]{font-size:18px}.verify-bar-area .verify-msg[data-v-719346d3]{z-index:3}.pubinfo-m-normal .verify-img-out[data-v-719346d3]{opacity:0;visibility:hidden;z-index:999;transition:opacity .5s,bottom .5s,visibility .5s;position:absolute;bottom:20px}.pubinfo-m-touch .verify-img-out[data-v-719346d3]{opacity:1;visibility:visible;transition:opacity .5s,bottom .5s,visibility .5s;bottom:40px}.button_touch[data-v-d475149e]{cursor:pointer;color:#45494c;background:linear-gradient(#fff 0,#ebedf0 87%);border:1px solid #e4e7eb;border-radius:2px;width:320px;height:40px;font-size:14px}
1
+ .i-solar-shield-check-bold{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M3.378 5.082C3 5.62 3 7.22 3 10.417v1.574c0 5.638 4.239 8.375 6.899 9.536c.721.315 1.082.473 2.101.473c1.02 0 1.38-.158 2.101-.473C16.761 20.365 21 17.63 21 11.991v-1.574c0-3.198 0-4.797-.378-5.335c-.377-.537-1.88-1.052-4.887-2.081l-.573-.196C13.595 2.268 12.812 2 12 2s-1.595.268-3.162.805L8.265 3c-3.007 1.03-4.51 1.545-4.887 2.082M15.06 10.5a.75.75 0 0 0-1.12-.999l-3.011 3.374l-.87-.974a.75.75 0 0 0-1.118 1l1.428 1.6a.75.75 0 0 0 1.119 0z' clip-rule='evenodd'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:1em;height:1em;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-solar-shield-check-broken{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' display='inline-block' vertical-align='middle' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-width='1.5'%3E%3Cpath stroke-linejoin='round' d='m9.5 12.4l1.429 1.6l3.571-4'/%3E%3Cpath d='M3 10.417c0-3.198 0-4.797.378-5.335c.377-.537 1.88-1.052 4.887-2.081l.573-.196C10.405 2.268 11.188 2 12 2s1.595.268 3.162.805l.573.196c3.007 1.029 4.51 1.544 4.887 2.081C21 5.62 21 7.22 21 10.417v1.574c0 2.505-.837 4.437-2 5.913M3.193 14c.857 4.298 4.383 6.513 6.706 7.527c.721.315 1.082.473 2.101.473c1.02 0 1.38-.158 2.101-.473c.579-.252 1.231-.58 1.899-.994'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:1em;height:1em;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.visible{visibility:visible}.absolute,[absolute=""]{position:absolute}.relative,[relative=""]{position:relative}.bottom-0,[bottom-0=""]{bottom:0}.left-0,[left-0=""]{left:0}.right-0,[right-0=""]{right:0}.z-99999,[z-99999=""]{z-index:99999}.block{display:block}.hidden{display:none}.size-full,[size-full=""]{width:100%;height:100%}.h-40px,[h-40px=""]{height:40px}.w-100\%,.w-full,[w-full=""]{width:100%}.w-100px,[w-100px=""]{width:100px}.flex,[flex=""]{display:flex}.transform{transform:translateX(var(--un-translate-x))translateY(var(--un-translate-y))translateZ(var(--un-translate-z))rotate(var(--un-rotate))rotateX(var(--un-rotate-x))rotateY(var(--un-rotate-y))rotateZ(var(--un-rotate-z))skewX(var(--un-skew-x))skewY(var(--un-skew-y))scaleX(var(--un-scale-x))scaleY(var(--un-scale-y))scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.items-center,[items-center=""]{align-items:center}.justify-center,[justify-center=""]{justify-content:center}.border{border-width:1px}.p-2px,[p-2px=""]{padding:2px}.px{padding-left:1rem;padding-right:1rem}[color~=\#1578FF]{--un-text-opacity:1;color:rgb(21 120 255/var(--un-text-opacity))}[color~=\#AFB0B2]{--un-text-opacity:1;color:rgb(175 176 178/var(--un-text-opacity))}.filter{filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-v-b87f1ba4] .ant-input-group-addon{overflow:hidden;padding:0!important}.verify-tips[data-v-a699c46e]{z-index:7;color:#fff;opacity:1;height:30px;padding-left:8px;line-height:30px;position:absolute;bottom:0;left:0;right:0}.suc-bg[data-v-a699c46e]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5cb85c,endcolorstr=#7f5cb85c);background-color:#5cb85c80}.err-bg[data-v-a699c46e]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7fd9534f,endcolorstr=#7fd9534f);background-color:#d9534f80}.verify-bar-area[data-v-a699c46e]{box-sizing:border-box;background-color:#f7f9fa;border:1px solid #e4e7eb;border-radius:2px;justify-content:center;align-items:center;display:flex;position:relative}.verify-bar-area .verify-move-block[data-v-a699c46e]{box-sizing:border-box;cursor:pointer;background-color:#fff;border-radius:2px;justify-content:center;align-items:center;transition:background .2s linear;display:flex;position:absolute;top:0;left:0;box-shadow:0 0 3px #0000004d}.verify-bar-area .verify-move-block[data-v-a699c46e]:hover{background-color:#1991fa}.verify-bar-area .verify-move-block:hover .verify-icon[data-v-a699c46e]{color:#fff}.verify-bar-area .verify-left-bar[data-v-a699c46e]{box-sizing:border-box;cursor:pointer;background-color:#7bbaf1;border:1px solid #1991fa;position:absolute;top:-1px;left:-1px}.verify-img-panel[data-v-a699c46e]{box-sizing:border-box;border:1px solid #ddd;border-radius:3px;width:100%;margin:0;position:relative}.verify-img-panel .verify-refresh[data-v-a699c46e]{z-index:2;text-align:center;cursor:pointer;background-color:#0000001f;width:30px;height:30px;line-height:30px;position:absolute;top:0;right:0}.verify-img-panel .icon-refresh[data-v-a699c46e]{color:#fff;font-size:20px}.verify-bar-area .verify-move-block .verify-sub-block[data-v-a699c46e]{z-index:3;text-align:center;position:absolute;left:0}.verify-bar-area .verify-move-block .verify-icon[data-v-a699c46e]{font-size:18px}.verify-bar-area .verify-msg[data-v-a699c46e]{z-index:3}.pubinfo-m-normal .verify-img-out[data-v-a699c46e]{opacity:0;width:100%;transition:opacity .5s,bottom .5s;position:absolute;bottom:20px}.pubinfo-m-touch .verify-img-out[data-v-a699c46e]{opacity:1;bottom:40px}.button_touch[data-v-939785d2]{cursor:pointer;color:#45494c;background:linear-gradient(#fff 0,#ebedf0 87%);border:1px solid #e4e7eb;border-radius:2px;width:100%;height:40px;font-size:14px}.pubinfo-m-normal[data-v-939785d2]{visibility:hidden;transition:visibility .2s}.pubinfo-m-touch[data-v-939785d2]{visibility:visible}.pubinfo-m-success[data-v-939785d2]{color:#52ccba;cursor:default;background:#d2f4ef;border-color:#52ccba}.verify-tips[data-v-1b4713af]{z-index:7;color:#fff;opacity:1;height:30px;padding-left:8px;line-height:30px;position:absolute;bottom:0;left:0;right:0}.suc-bg[data-v-1b4713af]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7f5cb85c,endcolorstr=#7f5cb85c);background-color:#5cb85c80}.err-bg[data-v-1b4713af]{filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7fd9534f,endcolorstr=#7fd9534f);background-color:#d9534f80}.verify-bar-area[data-v-1b4713af]{box-sizing:border-box;text-align:center;background-color:#f7f9fa;border:1px solid #e4e7eb;border-radius:2px;position:relative}.verify-bar-area .verify-move-block[data-v-1b4713af]{box-sizing:border-box;cursor:pointer;background-color:#fff;border-radius:2px;justify-content:center;align-items:center;transition:background .2s linear;display:flex;position:absolute;top:-1px;left:0;box-shadow:0 0 3px #0000004d}.verify-bar-area .verify-move-block[data-v-1b4713af]:hover{background-color:#1991fa}.verify-bar-area .verify-move-block:hover .verify-icon[data-v-1b4713af]{color:#fff}.verify-bar-area .verify-left-bar[data-v-1b4713af]{box-sizing:border-box;cursor:pointer;background-color:#7bbaf1;border:1px solid #1991fa;border-right-width:0;position:absolute;top:-1px;left:0}.verify-img-panel[data-v-1b4713af]{box-sizing:border-box;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-radius:3px;margin:0;position:relative}.verify-img-panel .verify-refresh[data-v-1b4713af]{z-index:2;text-align:center;cursor:pointer;background-color:#0000001f;width:30px;height:30px;line-height:30px;position:absolute;top:0;right:0}.verify-img-panel .icon-refresh[data-v-1b4713af]{color:#fff;font-size:20px}.verify-img-out[data-v-1b4713af]{position:relative}.verify-sub-block[data-v-1b4713af]{z-index:3;text-align:center;position:absolute;top:0;left:0}.verify-bar-area .verify-move-block .verify-icon[data-v-1b4713af]{font-size:18px}.verify-bar-area .verify-msg[data-v-1b4713af]{z-index:3}.pubinfo-m-normal .verify-img-out[data-v-1b4713af]{opacity:0;visibility:hidden;z-index:999;transition:opacity .5s,bottom .5s,visibility .5s;position:absolute;bottom:20px}.pubinfo-m-touch .verify-img-out[data-v-1b4713af]{opacity:1;visibility:visible;transition:opacity .5s,bottom .5s,visibility .5s;bottom:40px}.button_touch[data-v-d475149e]{cursor:pointer;color:#45494c;background:linear-gradient(#fff 0,#ebedf0 87%);border:1px solid #e4e7eb;border-radius:2px;width:320px;height:40px;font-size:14px}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ModuleOptions } from 'pubinfo-pr';
2
- import { CaptchaOptions } from './interface';
1
+ import type { ModuleOptions } from 'pubinfo-pr';
2
+ import type { CaptchaOptions } from './interface';
3
3
  import 'uno.css';
4
4
  export declare function captcha(options: CaptchaOptions): ModuleOptions;
5
5
  export { default as PubinfoVerifyInput } from './components/VerifyInput/PubinfoVerifyInput.vue';
package/dist/index.js CHANGED
@@ -14,14 +14,14 @@ import './index.css';var __create = Object.create, __defProp = Object.defineProp
14
14
  }) : n, e)), __require = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
15
15
  if (typeof require < "u") return require.apply(this, arguments);
16
16
  throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function.");
17
- }), __virtual_pubinfo_resolver_default = {
17
+ }), _virtual_pubinfo_resolver_default = {
18
18
  icons: {},
19
19
  layouts: {},
20
20
  pages: {}
21
21
  };
22
22
  const ctx = createContext("captcha");
23
- function tryOnScopeDispose(e) {
24
- return getCurrentScope() ? (onScopeDispose(e), !0) : !1;
23
+ function tryOnScopeDispose(e, t) {
24
+ return getCurrentScope() ? (onScopeDispose(e, t), !0) : !1;
25
25
  }
26
26
  var isClient = typeof window < "u" && typeof document < "u";
27
27
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -35,7 +35,6 @@ function getLifeCycleTarget(e) {
35
35
  function tryOnMounted(e, t = !0, n) {
36
36
  getLifeCycleTarget(n) ? onMounted(e, n) : t ? e() : nextTick(e);
37
37
  }
38
- /* @__NO_SIDE_EFFECTS__ */
39
38
  function useToggle(e = !1, t = {}) {
40
39
  let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = isRef(e), a = shallowRef(e);
41
40
  function o(e) {
@@ -60,26 +59,23 @@ function unrefElement(e) {
60
59
  return t?.$el ?? t;
61
60
  }
62
61
  function useEventListener(...e) {
63
- let t = [], n = () => {
64
- t.forEach((e) => e()), t.length = 0;
65
- }, r = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), i = computed(() => {
62
+ let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = computed(() => {
66
63
  let t = toArray(toValue(e[0])).filter((e) => e != null);
67
64
  return t.every((e) => typeof e != "string") ? t : void 0;
68
- }), a = watchImmediate(() => [
69
- i.value?.map((e) => unrefElement(e)) ?? [defaultWindow].filter((e) => e != null),
70
- toArray(toValue(i.value ? e[1] : e[0])),
71
- toArray(unref(i.value ? e[2] : e[1])),
72
- toValue(i.value ? e[3] : e[2])
73
- ], ([e, i, a, o]) => {
74
- if (n(), !e?.length || !i?.length || !a?.length) return;
75
- let s = isObject(o) ? { ...o } : o;
76
- t.push(...e.flatMap((e) => i.flatMap((t) => a.map((n) => r(e, t, n, s)))));
65
+ });
66
+ return watchImmediate(() => [
67
+ n.value?.map((e) => unrefElement(e)) ?? [defaultWindow].filter((e) => e != null),
68
+ toArray(toValue(n.value ? e[1] : e[0])),
69
+ toArray(unref(n.value ? e[2] : e[1])),
70
+ toValue(n.value ? e[3] : e[2])
71
+ ], ([e, n, r, i], a, o) => {
72
+ if (!e?.length || !n?.length || !r?.length) return;
73
+ let s = isObject(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
74
+ o(() => {
75
+ c.forEach((e) => e());
76
+ });
77
77
  }, { flush: "post" });
78
- return tryOnScopeDispose(n), () => {
79
- a(), n();
80
- };
81
78
  }
82
- /* @__NO_SIDE_EFFECTS__ */
83
79
  function useMounted() {
84
80
  let e = shallowRef(!1), t = getCurrentInstance();
85
81
  return t && onMounted(() => {
@@ -88,7 +84,7 @@ function useMounted() {
88
84
  }
89
85
  /* @__NO_SIDE_EFFECTS__ */
90
86
  function useSupported(e) {
91
- let t = /* @__PURE__ */ useMounted();
87
+ let t = useMounted();
92
88
  return computed(() => (t.value, !!e()));
93
89
  }
94
90
  function useMutationObserver(e, t, n = {}) {
@@ -133,11 +129,10 @@ function onElementRemoval(e, t, n = {}) {
133
129
  };
134
130
  return tryOnScopeDispose(l), l;
135
131
  }
136
- /* @__NO_SIDE_EFFECTS__ */
137
132
  function useActiveElement(e = {}) {
138
133
  let { window: t = defaultWindow, deep: n = !0, triggerOnRemoval: r = !1 } = e, i = e.document ?? t?.document, a = () => {
139
134
  let e = i?.activeElement;
140
- if (n) for (; e?.shadowRoot;) e = e?.shadowRoot?.activeElement;
135
+ if (n) for (var t; e?.shadowRoot;) e = e == null || (t = e.shadowRoot) == null ? void 0 : t.activeElement;
141
136
  return e;
142
137
  }, o = shallowRef(), s = () => {
143
138
  o.value = a();
@@ -179,7 +174,10 @@ function useElementSize(e, t = {
179
174
  width: 0,
180
175
  height: 0
181
176
  }, n = {}) {
182
- let { window: r = defaultWindow, box: i = "content-box" } = n, a = computed(() => (unrefElement(e)?.namespaceURI)?.includes("svg")), o = shallowRef(t.width), s = shallowRef(t.height), { stop: c } = useResizeObserver(e, ([t]) => {
177
+ let { window: r = defaultWindow, box: i = "content-box" } = n, a = computed(() => {
178
+ var t;
179
+ return (t = unrefElement(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
180
+ }), o = shallowRef(t.width), s = shallowRef(t.height), { stop: c } = useResizeObserver(e, ([t]) => {
183
181
  let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
184
182
  if (r && a.value) {
185
183
  let t = unrefElement(e);
@@ -251,7 +249,7 @@ var _hoisted_1$4 = ["src"], PubinfoVerifyInput_vue_vue_type_script_setup_true_la
251
249
  },
252
250
  emits: ["update:modelValue", "getCaptchaHash"],
253
251
  setup(t, { expose: n, emit: r }) {
254
- let i = t, o = r, s = ref(""), c = ref(""), u = computed(() => getAddonAfterHeight(i.size)), f = /* @__PURE__ */ useActiveElement(), p = computed(() => f.value?.dataset?.id || "null");
252
+ let i = t, o = r, s = ref(""), c = ref(""), u = computed(() => getAddonAfterHeight(i.size)), f = useActiveElement(), p = computed(() => f.value?.dataset?.id || "null");
255
253
  function g(e) {
256
254
  let t = e.target;
257
255
  o("update:modelValue", t.value);
@@ -298,11 +296,11 @@ var _hoisted_1$4 = ["src"], PubinfoVerifyInput_vue_vue_type_script_setup_true_la
298
296
  }, 8, ["size"]);
299
297
  };
300
298
  }
301
- }), __plugin_vue_export_helper_default = (e, t) => {
299
+ }), _plugin_vue_export_helper_default = (e, t) => {
302
300
  let n = e.__vccOpts || e;
303
301
  for (let [e, r] of t) n[e] = r;
304
302
  return n;
305
- }, PubinfoVerifyInput_default = /* @__PURE__ */ __plugin_vue_export_helper_default(PubinfoVerifyInput_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-b87f1ba4"]]), require___vite_browser_external = /* @__PURE__ */ __commonJSMin(((e, t) => {
303
+ }, PubinfoVerifyInput_default = /* @__PURE__ */ _plugin_vue_export_helper_default(PubinfoVerifyInput_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-b87f1ba4"]]), require___vite_browser_external = /* @__PURE__ */ __commonJSMin(((e, t) => {
306
304
  t.exports = {};
307
305
  })), require_core = /* @__PURE__ */ __commonJSMin(((e, t) => {
308
306
  (function(n, r) {
@@ -4086,7 +4084,7 @@ function variable$1() {
4086
4084
  bindingClick: ref(!0)
4087
4085
  };
4088
4086
  }
4089
- var _hoisted_1$3 = ["src"], _hoisted_2$3 = { class: "verify-msg" }, PubinfoFixedPoint_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4087
+ var _hoisted_1$3 = ["src"], _hoisted_2$3 = { class: "verify-msg" }, PubinfoFixedPoint_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4090
4088
  __name: "PubinfoFixedPoint",
4091
4089
  emits: ["success"],
4092
4090
  setup(e, { expose: t, emit: n }) {
@@ -4195,7 +4193,7 @@ var _hoisted_1$3 = ["src"], _hoisted_2$3 = { class: "verify-msg" }, PubinfoFixed
4195
4193
  }),
4196
4194
  emits: ["update:open"],
4197
4195
  setup(e, { expose: t }) {
4198
- let n = e, r = useAttrs(), i = useModel(e, "open"), a = /* @__PURE__ */ useToggle(i);
4196
+ let n = e, r = useAttrs(), i = useModel(e, "open"), a = useToggle(i);
4199
4197
  ref(!1);
4200
4198
  function s() {
4201
4199
  a(!0);
@@ -4278,7 +4276,7 @@ var _hoisted_1$2 = {
4278
4276
  absolute: "",
4279
4277
  "bottom-0": "",
4280
4278
  "w-full": ""
4281
- }, _hoisted_3$1 = ["src"], PubinfoTouchPoint_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4279
+ }, _hoisted_3$1 = ["src"], PubinfoTouchPoint_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4282
4280
  __name: "PubinfoTouchPoint",
4283
4281
  emits: ["success"],
4284
4282
  setup(e, { expose: t, emit: n }) {
@@ -4441,7 +4439,7 @@ function variable() {
4441
4439
  verifyLeftBarBackgroundColor: u
4442
4440
  };
4443
4441
  }
4444
- var _hoisted_1$1 = ["src"], _hoisted_2$1 = ["src"], _hoisted_3 = ["textContent"], PubinfoFixedSlide_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4442
+ var _hoisted_1$1 = ["src"], _hoisted_2$1 = ["src"], _hoisted_3 = ["textContent"], PubinfoFixedSlide_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4445
4443
  __name: "PubinfoFixedSlide",
4446
4444
  emits: [
4447
4445
  "success",
@@ -4600,7 +4598,7 @@ var _hoisted_1$1 = ["src"], _hoisted_2$1 = ["src"], _hoisted_3 = ["textContent"]
4600
4598
  ], 36)], 4)], 36)], 512);
4601
4599
  };
4602
4600
  }
4603
- }), [["__scopeId", "data-v-719346d3"]]), PubinfoPopSlide_default = /* @__PURE__ */ defineComponent({
4601
+ }), [["__scopeId", "data-v-1b4713af"]]), PubinfoPopSlide_default = /* @__PURE__ */ defineComponent({
4604
4602
  name: "PubinfoPopSlide",
4605
4603
  __name: "PubinfoPopSlide",
4606
4604
  props: /* @__PURE__ */ mergeModels({ onSuccess: {} }, {
@@ -4609,7 +4607,7 @@ var _hoisted_1$1 = ["src"], _hoisted_2$1 = ["src"], _hoisted_3 = ["textContent"]
4609
4607
  }),
4610
4608
  emits: ["update:open"],
4611
4609
  setup(e, { expose: t }) {
4612
- let n = e, r = useAttrs(), i = useModel(e, "open"), a = /* @__PURE__ */ useToggle(i);
4610
+ let n = e, r = useAttrs(), i = useModel(e, "open"), a = useToggle(i);
4613
4611
  function s() {
4614
4612
  a(!0);
4615
4613
  }
@@ -4690,7 +4688,7 @@ var _hoisted_1 = {
4690
4688
  absolute: "",
4691
4689
  "bottom-0": "",
4692
4690
  "w-full": ""
4693
- }, PubinfoTouchSlide_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4691
+ }, PubinfoTouchSlide_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
4694
4692
  __name: "PubinfoTouchSlide",
4695
4693
  emits: ["success"],
4696
4694
  setup(e, { expose: t, emit: n }) {
@@ -4719,7 +4717,7 @@ var _hoisted_1 = {
4719
4717
  }, null, 8, ["onMenter", "onMleave"])])], 34)]));
4720
4718
  }
4721
4719
  }), [["__scopeId", "data-v-d475149e"]]);
4722
- defineRouteModule("captcha", __virtual_pubinfo_resolver_default.pages), defineIconModule("captcha", __virtual_pubinfo_resolver_default.icons);
4720
+ defineRouteModule("captcha", _virtual_pubinfo_resolver_default.pages), defineIconModule("captcha", _virtual_pubinfo_resolver_default.icons);
4723
4721
  function captcha(e) {
4724
4722
  let { request: t } = e;
4725
4723
  return ctx.set({ request: t }), { name: "pubinfo-pr:captcha" };
@@ -1,4 +1,4 @@
1
- import { RequestInstance } from 'pubinfo-pr';
1
+ import type { RequestInstance } from 'pubinfo-pr';
2
2
  export interface CaptchaOptions {
3
3
  /**
4
4
  * 接口请求实例
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/module-captcha",
3
3
  "type": "module",
4
- "version": "0.189.2",
4
+ "version": "0.197.1",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -22,17 +22,17 @@
22
22
  "peerDependencies": {
23
23
  "@ant-design/icons-vue": "^7.0.1",
24
24
  "ant-design-vue": "^4.2.6",
25
- "pubinfo-pr": "0.189.2"
25
+ "pubinfo-pr": "0.197.1"
26
26
  },
27
27
  "dependencies": {
28
- "@vueuse/core": "^13.7.0",
28
+ "@vueuse/core": "^14.1.0",
29
29
  "crypto-js": "^4.2.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@ant-design/icons-vue": "^7.0.1",
33
33
  "@types/crypto-js": "^4.2.2",
34
34
  "ant-design-vue": "^4.2.6",
35
- "pubinfo-pr": "0.189.2"
35
+ "pubinfo-pr": "0.197.1"
36
36
  },
37
37
  "scripts": {
38
38
  "dev": "pubinfo build -w --sourcemap",
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { CheckOutlined, CloseOutlined, RightOutlined } from '@ant-design/icons-vue';
3
3
  import { useElementSize } from '@vueuse/core';
4
- import { computed, defineEmits, getCurrentInstance, onMounted, ref } from 'vue';
4
+ import { computed, getCurrentInstance, onMounted, ref } from 'vue';
5
5
  import { getPictrue, refresh } from './common/init.ts';
6
6
  import useMounseOpertae from './common/mouse.ts';
7
7
  import { variable } from './common/variable.ts';