@pubinfo-nightly/module-captcha 2025.12.9 → 2025.12.26
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.
- package/dist/api/modules/auth/renzhengfuwu.d.ts +12 -12
- package/dist/api/request.d.ts +1 -1
- package/dist/components/VerifyInput/PubinfoVerifyInput.vue.d.ts +4 -9
- package/dist/components/VerifyPoints/PubinfoFixedPoint.vue.d.ts +3 -9
- package/dist/components/VerifyPoints/PubinfoPopPoint.vue.d.ts +11 -9
- package/dist/components/VerifyPoints/PubinfoTouchPoint.vue.d.ts +3 -28
- package/dist/components/VerifyPoints/common/touchService.d.ts +3 -3
- package/dist/components/VerifyPoints/common/variable.d.ts +15 -15
- package/dist/components/VerifySlide/PubinfoFixedSlide.vue.d.ts +3 -12
- package/dist/components/VerifySlide/PubinfoPopSlide.vue.d.ts +11 -9
- package/dist/components/VerifySlide/PubinfoTouchSlide.vue.d.ts +3 -33
- package/dist/components/VerifySlide/common/touchService.d.ts +3 -3
- package/dist/components/VerifySlide/common/variable.d.ts +24 -24
- package/dist/context.d.ts +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4685 -6125
- package/dist/interface.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/VerifySlide/PubinfoFixedSlide.vue +1 -1
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import { auth as request } from '
|
|
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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").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(
|
|
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-nightly").AG, R, T>>;
|
package/dist/api/request.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const auth: import(
|
|
1
|
+
export declare const auth: import("pubinfo-nightly").RequestInstance;
|
|
@@ -3,15 +3,10 @@ type __VLS_Props = {
|
|
|
3
3
|
modelValue: string;
|
|
4
4
|
};
|
|
5
5
|
declare function send(): Promise<void>;
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
7
7
|
refresh: typeof send;
|
|
8
|
-
}, {}, {}, {}, import(
|
|
9
|
-
"update:modelValue": (...args: any[]) => void;
|
|
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<{
|
|
12
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
onGetCaptchaHash?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
}>, {
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
15
9
|
size: "large" | "middle" | "small";
|
|
16
|
-
}, {}, {}, {}, string, import(
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
17
12
|
export default _default;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
2
2
|
refresh: () => void;
|
|
3
|
-
}, {}, {}, {}, import(
|
|
4
|
-
|
|
5
|
-
}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{
|
|
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>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
11
5
|
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
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
8
|
'open'?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
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(
|
|
13
|
-
"update:open": (value: boolean) => any;
|
|
14
|
-
}, string, import(
|
|
15
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import(
|
|
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,5 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
2
2
|
refresh: () => void;
|
|
3
|
-
}, {}, {}, {}, import(
|
|
4
|
-
|
|
5
|
-
}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{
|
|
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>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
30
5
|
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:
|
|
4
|
-
isSuccess:
|
|
5
|
-
inArea:
|
|
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:
|
|
2
|
+
secretKey: globalThis.Ref<string, string>;
|
|
3
3
|
checkNum: number;
|
|
4
|
-
checkPosArr: import(
|
|
5
|
-
num:
|
|
6
|
-
pointBackImgBase:
|
|
7
|
-
poinTextList:
|
|
8
|
-
backToken:
|
|
9
|
-
setSize:
|
|
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:
|
|
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(
|
|
33
|
-
text:
|
|
34
|
-
barTextColor:
|
|
35
|
-
barBackgroundColor:
|
|
36
|
-
barAreaBorderColor:
|
|
37
|
-
showRefresh:
|
|
38
|
-
bindingClick:
|
|
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,5 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
2
2
|
refresh: () => void;
|
|
3
|
-
}, {}, {}, {}, import(
|
|
4
|
-
|
|
5
|
-
menter: (...args: any[]) => void;
|
|
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<{
|
|
8
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
onMenter?: ((...args: any[]) => any) | undefined;
|
|
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>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
14
5
|
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
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
8
|
'open'?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
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(
|
|
13
|
-
"update:open": (value: boolean) => any;
|
|
14
|
-
}, string, import(
|
|
15
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import(
|
|
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,5 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
2
2
|
refresh: () => void;
|
|
3
|
-
}, {}, {}, {}, import(
|
|
4
|
-
|
|
5
|
-
}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{
|
|
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>;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
35
5
|
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:
|
|
4
|
-
isSuccess:
|
|
5
|
-
inArea:
|
|
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:
|
|
3
|
-
backToken:
|
|
4
|
-
blockBackImgBase:
|
|
5
|
-
blockSize:
|
|
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:
|
|
16
|
-
iconColor:
|
|
17
|
-
iconName:
|
|
18
|
-
isEnd:
|
|
19
|
-
leftBarBorderColor:
|
|
20
|
-
leftBarWidth:
|
|
21
|
-
moveBlockBackgroundColor:
|
|
22
|
-
moveBlockLeft:
|
|
23
|
-
passFlag:
|
|
24
|
-
secretKey:
|
|
25
|
-
setSize:
|
|
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:
|
|
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:
|
|
52
|
-
startLeft:
|
|
53
|
-
startMoveTime:
|
|
54
|
-
status:
|
|
55
|
-
text:
|
|
56
|
-
tipWords:
|
|
57
|
-
transitionLeft:
|
|
58
|
-
verifyLeftBarBackgroundColor:
|
|
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(
|
|
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)
|
|
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-nightly';
|
|
2
|
-
import { CaptchaOptions } from './interface';
|
|
1
|
+
import type { ModuleOptions } from 'pubinfo-nightly';
|
|
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';
|