yswk-ui 0.0.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.
Files changed (35) hide show
  1. package/dist/component/base/btn/BtnLink/index.vue.d.ts +43 -0
  2. package/dist/component/base/btn/BtnRule/index.vue.d.ts +74 -0
  3. package/dist/component/base/media/AudioPlayer/index.vue.d.ts +35 -0
  4. package/dist/component/base/media/ColorBackground/index.vue.d.ts +22 -0
  5. package/dist/component/base/media/ImgCommon/index.vue.d.ts +24 -0
  6. package/dist/component/base/media/PageBackground/index.vue.d.ts +17 -0
  7. package/dist/component/base/media/UserImg/index.vue.d.ts +31 -0
  8. package/dist/component/base/media/UserName/index.vue.d.ts +30 -0
  9. package/dist/component/base/media/VideoPlayer/index.vue.d.ts +35 -0
  10. package/dist/component/base/text/TextCommon/index.vue.d.ts +33 -0
  11. package/dist/component/base/time/Countdown/index.vue.d.ts +35 -0
  12. package/dist/component/index.d.ts +34 -0
  13. package/dist/component/lucky/plate/RotatePlate/index.d.ts +6 -0
  14. package/dist/component/lucky/plate/RotatePlate/index.vue.d.ts +56 -0
  15. package/dist/component/lucky/plate/RotatePlate/subCompent/validate.d.ts +19 -0
  16. package/dist/component/lucky/plate/RotatePlate/validate.d.ts +11 -0
  17. package/dist/component/register.d.ts +8 -0
  18. package/dist/component/scan/ScanTobaInput/index.vue.d.ts +18 -0
  19. package/dist/component/scan/ScanTobaInput/type.d.ts +127 -0
  20. package/dist/component/scan/ScanTobaResult/index.vue.d.ts +12 -0
  21. package/dist/component/scan/ScanTobaResult/type.d.ts +123 -0
  22. package/dist/component/shared/PopupWrapper/index.vue.d.ts +36 -0
  23. package/dist/component/test/CaptchaInput/index.vue.d.ts +38 -0
  24. package/dist/constants.d.ts +61 -0
  25. package/dist/index.css +1 -0
  26. package/dist/index.d.ts +3 -0
  27. package/dist/index.es.js +7667 -0
  28. package/dist/types/component.d.ts +126 -0
  29. package/dist/utils/index.d.ts +12 -0
  30. package/dist/utils/libraryManager.d.ts +161 -0
  31. package/dist/utils/request.d.ts +24 -0
  32. package/dist/utils/sessionHelper.d.ts +38 -0
  33. package/dist/utils/styleHelper.d.ts +21 -0
  34. package/dist/vite.config.d.ts +2 -0
  35. package/package.json +40 -0
@@ -0,0 +1,43 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ width: number;
5
+ height: number;
6
+ top: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ text: {
11
+ text: string;
12
+ textColor: string;
13
+ fontSize: number;
14
+ };
15
+ background: {
16
+ backgroundColor: string;
17
+ backgroundImage: string;
18
+ };
19
+ borderRadius: {
20
+ borderRadius: string;
21
+ };
22
+ }
23
+ interface BusinessSchema {
24
+ linkConfig: {
25
+ linkType: 'custom' | 'preset' | 'page';
26
+ customUrl: string;
27
+ presetUrl: string;
28
+ targetPageId: string;
29
+ };
30
+ }
31
+ interface Props {
32
+ styleSchema?: StyleSchema;
33
+ businessSchema?: BusinessSchema;
34
+ }
35
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ pageChange: (...args: any[]) => void;
37
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
38
+ onPageChange?: ((...args: any[]) => any) | undefined;
39
+ }>, {
40
+ styleSchema: StyleSchema;
41
+ businessSchema: BusinessSchema;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
43
+ export default _default;
@@ -0,0 +1,74 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ text: {
11
+ text: string;
12
+ textColor: string;
13
+ fontSize: number;
14
+ };
15
+ background: {
16
+ backgroundColor: string;
17
+ backgroundImage: string;
18
+ };
19
+ borderRadius: {
20
+ borderRadius: string;
21
+ };
22
+ }
23
+ interface PopupStyleSchema {
24
+ editOpen: {
25
+ openEditView: boolean;
26
+ };
27
+ contentPosition: {
28
+ left: number;
29
+ top: number;
30
+ width: number;
31
+ height: number;
32
+ };
33
+ background: {
34
+ backgroundImage: string;
35
+ };
36
+ mask: {
37
+ maskColor: string;
38
+ };
39
+ textInfo: {
40
+ richTextContent: string;
41
+ paddingTop: number;
42
+ paddingRight: number;
43
+ paddingBottom: number;
44
+ paddingLeft: number;
45
+ };
46
+ closeButton: {
47
+ closeButtonImage: string;
48
+ left: number;
49
+ top: number;
50
+ width: number;
51
+ height: number;
52
+ };
53
+ animation: {
54
+ enterAnimation: string;
55
+ exitAnimation: string;
56
+ };
57
+ }
58
+ interface Props {
59
+ styleSchema?: StyleSchema;
60
+ RulePopup?: {
61
+ styleSchema?: PopupStyleSchema;
62
+ };
63
+ }
64
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
65
+ lockScroll: (...args: any[]) => void;
66
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
67
+ onLockScroll?: ((...args: any[]) => any) | undefined;
68
+ }>, {
69
+ styleSchema: StyleSchema;
70
+ RulePopup: {
71
+ styleSchema?: PopupStyleSchema;
72
+ };
73
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
74
+ export default _default;
@@ -0,0 +1,35 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ controls: {
11
+ backgroundColor: string;
12
+ textColor: string;
13
+ progressColor: string;
14
+ };
15
+ }
16
+ interface BusinessSchema {
17
+ audio: {
18
+ audioUrl: string;
19
+ displayMode: string;
20
+ iconUrl: string;
21
+ autoplay: boolean;
22
+ loop: boolean;
23
+ };
24
+ }
25
+ interface Props {
26
+ styleSchema?: StyleSchema;
27
+ businessSchema?: BusinessSchema;
28
+ }
29
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
30
+ styleSchema: StyleSchema;
31
+ businessSchema: BusinessSchema;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
+ audioRef: HTMLAudioElement;
34
+ }, any>;
35
+ export default _default;
@@ -0,0 +1,22 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ background: {
11
+ mode: string;
12
+ solidColor: string;
13
+ gradientValue: string;
14
+ };
15
+ }
16
+ interface Props {
17
+ styleSchema?: StyleSchema;
18
+ }
19
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
20
+ styleSchema: StyleSchema;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,24 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ }
11
+ interface BusinessSchema {
12
+ image: {
13
+ imageUrl: string;
14
+ };
15
+ }
16
+ interface Props {
17
+ styleSchema?: StyleSchema;
18
+ businessSchema?: BusinessSchema;
19
+ }
20
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
21
+ styleSchema: StyleSchema;
22
+ businessSchema: BusinessSchema;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -0,0 +1,17 @@
1
+ interface StyleSchema {
2
+ backgroundColor: {
3
+ bgColor: string;
4
+ };
5
+ backgroundImages: {
6
+ fullScreenBg: string;
7
+ topBg: string;
8
+ bottomBg: string;
9
+ };
10
+ }
11
+ interface Props {
12
+ styleSchema?: StyleSchema;
13
+ }
14
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ styleSchema: StyleSchema;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,31 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ width: number;
5
+ height: number;
6
+ top: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ borderRadius: {
11
+ borderRadius: string;
12
+ };
13
+ border: {
14
+ borderColor: string;
15
+ borderWidth: number;
16
+ };
17
+ }
18
+ interface BusinessSchema {
19
+ avatar: {
20
+ defaultAvatar: string;
21
+ };
22
+ }
23
+ interface Props {
24
+ styleSchema?: StyleSchema;
25
+ businessSchema?: BusinessSchema;
26
+ }
27
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
28
+ styleSchema: StyleSchema;
29
+ businessSchema: BusinessSchema;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ export default _default;
@@ -0,0 +1,30 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ zIndex: number;
6
+ centerHorizontal?: boolean;
7
+ };
8
+ text: {
9
+ textColor: string;
10
+ fontSize: number;
11
+ fontWeight: number;
12
+ };
13
+ width: {
14
+ maxWidth: number;
15
+ };
16
+ }
17
+ interface BusinessSchema {
18
+ preview: {
19
+ testNickname: string;
20
+ };
21
+ }
22
+ interface Props {
23
+ styleSchema?: StyleSchema;
24
+ businessSchema?: BusinessSchema;
25
+ }
26
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
27
+ styleSchema: StyleSchema;
28
+ businessSchema: BusinessSchema;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
@@ -0,0 +1,35 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ video: {
11
+ objectFit: string;
12
+ borderRadius: string;
13
+ };
14
+ }
15
+ interface BusinessSchema {
16
+ video: {
17
+ videoUrl: string;
18
+ posterUrl: string;
19
+ autoplay: boolean;
20
+ loop: boolean;
21
+ muted: boolean;
22
+ showControls: boolean;
23
+ };
24
+ }
25
+ interface Props {
26
+ styleSchema?: StyleSchema;
27
+ businessSchema?: BusinessSchema;
28
+ }
29
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
30
+ styleSchema: StyleSchema;
31
+ businessSchema: BusinessSchema;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
+ videoRef: HTMLVideoElement;
34
+ }, any>;
35
+ export default _default;
@@ -0,0 +1,33 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ text: {
11
+ textColor: string;
12
+ fontSize: number;
13
+ fontFamily: string;
14
+ fontWeight: string;
15
+ lineHeight: number;
16
+ textAlign: string;
17
+ letterSpacing: number;
18
+ };
19
+ }
20
+ interface BusinessSchema {
21
+ content: {
22
+ text: string;
23
+ };
24
+ }
25
+ interface Props {
26
+ styleSchema?: StyleSchema;
27
+ businessSchema?: BusinessSchema;
28
+ }
29
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
30
+ styleSchema: StyleSchema;
31
+ businessSchema: BusinessSchema;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
33
+ export default _default;
@@ -0,0 +1,35 @@
1
+ interface StyleSchema {
2
+ position: {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ zIndex: number;
8
+ centerHorizontal?: boolean;
9
+ };
10
+ text: {
11
+ textColor: string;
12
+ fontSize: number;
13
+ fontWeight: string;
14
+ };
15
+ background: {
16
+ backgroundColor: string;
17
+ blockBackgroundColor: string;
18
+ };
19
+ }
20
+ interface BusinessSchema {
21
+ countdown: {
22
+ endTime: string;
23
+ displayMode: string;
24
+ showDays: boolean;
25
+ };
26
+ }
27
+ interface Props {
28
+ styleSchema?: StyleSchema;
29
+ businessSchema?: BusinessSchema;
30
+ }
31
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
32
+ styleSchema: StyleSchema;
33
+ businessSchema: BusinessSchema;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
35
+ export default _default;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Components Entry Point
3
+ * 组件库统一导出入口
4
+ */
5
+ export { default as BtnLink } from './base/btn/BtnLink/index.vue';
6
+ export { default as BtnRule } from './base/btn/BtnRule/index.vue';
7
+ export { default as ImgCommon } from './base/media/ImgCommon/index.vue';
8
+ export { default as PageBackground } from './base/media/PageBackground/index.vue';
9
+ export { default as ColorBackground } from './base/media/ColorBackground/index.vue';
10
+ export { default as UserImg } from './base/media/UserImg/index.vue';
11
+ export { default as UserName } from './base/media/UserName/index.vue';
12
+ export { default as AudioPlayer } from './base/media/AudioPlayer/index.vue';
13
+ export { default as VideoPlayer } from './base/media/VideoPlayer/index.vue';
14
+ export { default as TextCommon } from './base/text/TextCommon/index.vue';
15
+ export { default as Countdown } from './base/time/Countdown/index.vue';
16
+ export { default as ScanTobaInput } from './scan/ScanTobaInput/index.vue';
17
+ export { default as ScanTobaResult } from './scan/ScanTobaResult/index.vue';
18
+ export { default as RotatePlate } from './lucky/plate/RotatePlate/index.vue';
19
+ export { default as CaptchaInput } from './test/CaptchaInput/index.vue';
20
+ export { default as BtnLinkConfig } from './base/btn/BtnLink/config.json';
21
+ export { default as BtnRuleConfig } from './base/btn/BtnRule/config.json';
22
+ export { default as ImgCommonConfig } from './base/media/ImgCommon/config.json';
23
+ export { default as PageBackgroundConfig } from './base/media/PageBackground/config.json';
24
+ export { default as ColorBackgroundConfig } from './base/media/ColorBackground/config.json';
25
+ export { default as UserImgConfig } from './base/media/UserImg/config.json';
26
+ export { default as UserNameConfig } from './base/media/UserName/config.json';
27
+ export { default as AudioPlayerConfig } from './base/media/AudioPlayer/config.json';
28
+ export { default as VideoPlayerConfig } from './base/media/VideoPlayer/config.json';
29
+ export { default as TextCommonConfig } from './base/text/TextCommon/config.json';
30
+ export { default as CountdownConfig } from './base/time/Countdown/config.json';
31
+ export { default as RotatePlateConfig } from './lucky/plate/RotatePlate/config.json';
32
+ export { default as ScanTobaInputConfig } from './scan/ScanTobaInput/config.json';
33
+ export { default as ScanTobaResultConfig } from './scan/ScanTobaResult/config.json';
34
+ export { default as CaptchaInputConfig } from './test/CaptchaInput/config.json';
@@ -0,0 +1,6 @@
1
+ import { IComponentConfig } from '../../../../types/component';
2
+ /**
3
+ * 转盘抽奖组件完整配置
4
+ */
5
+ export declare const lotteryWheelComponent: IComponentConfig;
6
+ export default lotteryWheelComponent;
@@ -0,0 +1,56 @@
1
+ interface Prize {
2
+ id: string;
3
+ name: string;
4
+ image?: string;
5
+ }
6
+ interface Config {
7
+ left: number;
8
+ top: number;
9
+ width: number;
10
+ height: number;
11
+ zIndex: number;
12
+ centerHorizontal?: boolean;
13
+ style: 'style1' | 'style2';
14
+ wheelBg?: string;
15
+ paddingTop?: number;
16
+ paddingRight?: number;
17
+ paddingBottom?: number;
18
+ paddingLeft?: number;
19
+ gridCount?: number;
20
+ gridColor1?: string;
21
+ gridColor2?: string;
22
+ gridBorderColor?: string;
23
+ gridBorderWidth?: number;
24
+ pointerImage?: string;
25
+ centerButtonImage?: string;
26
+ centerButtonWidth?: number;
27
+ centerButtonHeight?: number;
28
+ previewCenterButton?: boolean;
29
+ showLights?: boolean;
30
+ lightDistance?: number;
31
+ lightCount?: number;
32
+ lightSize?: number;
33
+ lightColorDefault?: string;
34
+ lightColorActive?: string;
35
+ containerBg?: string;
36
+ wheelX?: number;
37
+ wheelY?: number;
38
+ wheelWidth?: number;
39
+ wheelHeight?: number;
40
+ baseImage?: string;
41
+ baseX?: number;
42
+ baseY?: number;
43
+ baseWidth?: number;
44
+ baseHeight?: number;
45
+ rotateCircles?: number;
46
+ animationDuration?: number;
47
+ }
48
+ interface Props {
49
+ config: Config;
50
+ prizes?: Prize[];
51
+ }
52
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
53
+ config: Config;
54
+ prizes: Prize[];
55
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
56
+ export default _default;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * 弹窗组件校验逻辑
3
+ */
4
+ export interface ValidationResult {
5
+ valid: boolean;
6
+ message?: string;
7
+ }
8
+ /**
9
+ * 实物中奖弹窗校验
10
+ */
11
+ export declare function validatePhysicalPopup(data: any): ValidationResult;
12
+ /**
13
+ * 积分中奖弹窗校验
14
+ */
15
+ export declare function validatePointsPopup(data: any): ValidationResult;
16
+ /**
17
+ * 未中奖弹窗校验
18
+ */
19
+ export declare function validateNonePopup(data: any): ValidationResult;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 转盘抽奖组件校验逻辑
3
+ */
4
+ export interface ValidationResult {
5
+ valid: boolean;
6
+ message?: string;
7
+ }
8
+ /**
9
+ * 转盘主组件校验
10
+ */
11
+ export declare function validateLotteryWheel(data: any): ValidationResult;
@@ -0,0 +1,8 @@
1
+ import { ComponentGroup } from '../constants';
2
+ export declare const comList: {
3
+ id: string;
4
+ name: string;
5
+ group: ComponentGroup;
6
+ }[];
7
+ export declare const componentMap: Record<string, any>;
8
+ export declare const configMap: Record<string, any>;
@@ -0,0 +1,18 @@
1
+ import { IProps } from './type';
2
+ declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ pageChange: (...args: any[]) => void;
4
+ }, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
5
+ onPageChange?: ((...args: any[]) => any) | undefined;
6
+ }>, {
7
+ styleSchema: import('./type').StyleSchema;
8
+ businessSchema: import('./type').BusinessSchema;
9
+ ScanNumberInput: {
10
+ styleSchema?: {
11
+ popup: import('./type').IScanNumKeyStyle;
12
+ parentPopup: {
13
+ marginTop: number;
14
+ };
15
+ };
16
+ };
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,127 @@
1
+ import { IApiConfig } from '../../../types/component';
2
+ export interface StyleSchema {
3
+ overlay: {
4
+ openEditView: boolean;
5
+ maskColor: string;
6
+ backgroundImage: string;
7
+ };
8
+ contentPosition: {
9
+ left: number;
10
+ top: number;
11
+ width: number;
12
+ height: number;
13
+ };
14
+ animation: {
15
+ enterAnimation: string;
16
+ exitAnimation: string;
17
+ };
18
+ title: {
19
+ marginTop: number;
20
+ marginLeft?: number;
21
+ text: string;
22
+ textColor: string;
23
+ fontSize: number;
24
+ };
25
+ input: {
26
+ marginTop: number;
27
+ width: number;
28
+ height: number;
29
+ count: number;
30
+ gap: number;
31
+ inputBg: string;
32
+ textColor: string;
33
+ fontSize: number;
34
+ };
35
+ checkbox: {
36
+ marginTop: number;
37
+ marginLeft?: number;
38
+ checkedImage: string;
39
+ uncheckedImage: string;
40
+ openEditView?: boolean;
41
+ imageWidth: number;
42
+ imageHeight: number;
43
+ text: string;
44
+ textColor: string;
45
+ fontSize: number;
46
+ };
47
+ notice: {
48
+ marginTop: number;
49
+ marginLeft: number;
50
+ title: string;
51
+ titleColor: string;
52
+ titleFontSize: number;
53
+ content: string;
54
+ contentColor: string;
55
+ contentFontSize: number;
56
+ height: number;
57
+ width: number;
58
+ bgColor: string;
59
+ };
60
+ confirmButton: {
61
+ marginTop: number;
62
+ marginLeft: number;
63
+ backgroundImage: string;
64
+ width: number;
65
+ height: number;
66
+ };
67
+ }
68
+ export interface BusinessSchema {
69
+ preCode: {
70
+ preCodeVal: string;
71
+ };
72
+ resultProcess: {
73
+ verifySuccessPageId: string;
74
+ verifiedFirstPageId: string;
75
+ otherVerifyPageId: string;
76
+ otherVerifyMorePageId: string;
77
+ verifyCodeErrorPageId: string;
78
+ errorPageId: string;
79
+ needVerifyPageId: string;
80
+ limitReachedPageId: string;
81
+ qrcodeNotExistPageId: string;
82
+ tobaNotExistPageId: string;
83
+ codeNotActivatedPageId: string;
84
+ defaultErrorPageId: string;
85
+ };
86
+ }
87
+ export interface IScanNumKeyStyle {
88
+ openEditView: boolean;
89
+ height: number;
90
+ backgroundColor: string;
91
+ textColor: string;
92
+ fontSize: number;
93
+ dividerColor: string;
94
+ dividerWidth: number;
95
+ }
96
+ export interface IProps {
97
+ styleSchema?: StyleSchema;
98
+ businessSchema?: BusinessSchema;
99
+ ScanNumberInput?: {
100
+ styleSchema?: {
101
+ popup: IScanNumKeyStyle;
102
+ parentPopup: {
103
+ marginTop: number;
104
+ };
105
+ };
106
+ };
107
+ previewConfig: Record<string, IApiConfig>;
108
+ }
109
+ export declare const defaultPageProps: IProps;
110
+ export interface ICheckResData {
111
+ qrCodeMd5: string;
112
+ checkStatus: number;
113
+ isRequired: 0 | 1;
114
+ verifyCode: string | null;
115
+ isFirst: 0 | 1;
116
+ verifyTime: string | null;
117
+ tobaId: string | null;
118
+ tobaName: string | null;
119
+ tobaType: string | null;
120
+ tobaImg: string | null;
121
+ cssUrl: string | null;
122
+ scanLogId: string;
123
+ provCode: string;
124
+ cityCode: string;
125
+ countyCode: string;
126
+ scanId: number;
127
+ }