yswk-ui 0.1.0 → 0.1.2
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/component/live/script/type.d.ts +2 -2
- package/dist/component/scan/ScanTobaResult/type.d.ts +3 -0
- package/dist/component/scan/ScanTobaResultV2/type.d.ts +3 -0
- package/dist/index.es.js +3545 -3449
- package/dist/utils/busiHelper.d.ts +1 -0
- package/dist/wkc-ui/component/address/AddressForm/index.vue.d.ts +5 -0
- package/dist/wkc-ui/component/address/AddressForm/type.d.ts +58 -0
- package/dist/wkc-ui/component/address/AddressList/index.vue.d.ts +7 -0
- package/dist/wkc-ui/component/address/AddressList/type.d.ts +100 -0
- package/dist/wkc-ui/component/address/script/index.vue.d.ts +29 -0
- package/dist/wkc-ui/component/address/script/type.d.ts +28 -0
- package/dist/wkc-ui/component/base/btn/BtnLink/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/base/btn/BtnLink/type.d.ts +89 -0
- package/dist/wkc-ui/component/base/btn/CountdownButton/type.d.ts +34 -0
- package/dist/wkc-ui/component/base/media/AudioPlayer/index.vue.d.ts +36 -0
- package/dist/wkc-ui/component/base/media/BlockBackground/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/base/media/BlockBackground/type.d.ts +171 -0
- package/dist/wkc-ui/component/base/media/ImgCommon/data.d.ts +1 -0
- package/dist/wkc-ui/component/base/media/ImgCommon/index.vue.d.ts +10 -0
- package/dist/wkc-ui/component/base/media/ImgCommon/type.d.ts +77 -0
- package/dist/wkc-ui/component/base/media/PageBackground/index.vue.d.ts +33 -0
- package/dist/wkc-ui/component/base/media/UserImg/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/base/media/UserImg/type.d.ts +55 -0
- package/dist/wkc-ui/component/base/media/VideoPlayer/index.vue.d.ts +49 -0
- package/dist/wkc-ui/component/base/text/ActTimeAlert/index.vue.d.ts +13 -0
- package/dist/wkc-ui/component/base/text/ActTimeAlert/type.d.ts +25 -0
- package/dist/wkc-ui/component/base/text/TextCommon/data.d.ts +1 -0
- package/dist/wkc-ui/component/base/text/TextCommon/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/base/text/TextCommon/type.d.ts +179 -0
- package/dist/wkc-ui/component/base/time/Countdown/index.vue.d.ts +35 -0
- package/dist/wkc-ui/component/index.d.ts +76 -0
- package/dist/wkc-ui/component/live/LiveEnter/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/live/LiveEnter/type.d.ts +38 -0
- package/dist/wkc-ui/component/live/LivePassword/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/live/LivePassword/type.d.ts +31 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/Chat/MsgInput.vue.d.ts +25 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/Chat/TabChat.vue.d.ts +12 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabEvaluate.vue.d.ts +2 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabGIftRank.vue.d.ts +2 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabImg.vue.d.ts +6 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabInfo.vue.d.ts +2 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabSign.vue.d.ts +2 -0
- package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabsIndex.vue.d.ts +9 -0
- package/dist/wkc-ui/component/live/LiveStream/components/VideoPlay/VideoPlay.vue.d.ts +10 -0
- package/dist/wkc-ui/component/live/LiveStream/index.vue.d.ts +9 -0
- package/dist/wkc-ui/component/live/LiveStream/type.d.ts +137 -0
- package/dist/wkc-ui/component/live/LiveText/index.vue.d.ts +7 -0
- package/dist/wkc-ui/component/live/LiveText/type.d.ts +46 -0
- package/dist/wkc-ui/component/live/script/type.d.ts +247 -0
- package/dist/wkc-ui/component/lucky/BlindBox/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/lucky/BlindBox/type.d.ts +66 -0
- package/dist/wkc-ui/component/lucky/FlipCard/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/lucky/FlipCard/type.d.ts +47 -0
- package/dist/wkc-ui/component/lucky/LuckyBag/index.vue.d.ts +3 -0
- package/dist/wkc-ui/component/lucky/LuckyBag/type.d.ts +153 -0
- package/dist/wkc-ui/component/lucky/NineGrid/index.d.ts +6 -0
- package/dist/wkc-ui/component/lucky/NineGrid/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/lucky/NineGrid/type.d.ts +54 -0
- package/dist/wkc-ui/component/lucky/PasswordLottery/index.vue.d.ts +3 -0
- package/dist/wkc-ui/component/lucky/PasswordLottery/type.d.ts +47 -0
- package/dist/wkc-ui/component/lucky/PlateLottery/index.d.ts +6 -0
- package/dist/wkc-ui/component/lucky/PlateLottery/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/lucky/PlateLottery/type.d.ts +66 -0
- package/dist/wkc-ui/component/lucky/PrizeDisplay/index.vue.d.ts +3 -0
- package/dist/wkc-ui/component/lucky/PrizeDisplay/type.d.ts +50 -0
- package/dist/wkc-ui/component/lucky/RedPacketRain/index.vue.d.ts +3 -0
- package/dist/wkc-ui/component/lucky/RedPacketRain/type.d.ts +28 -0
- package/dist/wkc-ui/component/lucky/ScratchCard/index.d.ts +6 -0
- package/dist/wkc-ui/component/lucky/ScratchCard/index.vue.d.ts +8 -0
- package/dist/wkc-ui/component/lucky/ScratchCard/type.d.ts +47 -0
- package/dist/wkc-ui/component/lucky/script/index.vue.d.ts +46 -0
- package/dist/wkc-ui/component/lucky/script/type.d.ts +37 -0
- package/dist/wkc-ui/component/point/script/type.d.ts +20 -0
- package/dist/wkc-ui/component/pop/PopNotice/index.vue.d.ts +2 -0
- package/dist/wkc-ui/component/pop/PopOverlay/index.vue.d.ts +9 -0
- package/dist/wkc-ui/component/pop/PopOverlay/type.d.ts +11 -0
- package/dist/wkc-ui/component/prize/MyPrizeList/index.vue.d.ts +3 -0
- package/dist/wkc-ui/component/prize/MyPrizeList/type.d.ts +115 -0
- package/dist/wkc-ui/component/prize/WinRecordBarrage/index.vue.d.ts +6 -0
- package/dist/wkc-ui/component/prize/WinRecordBarrage/type.d.ts +41 -0
- package/dist/wkc-ui/component/prize/WinRecordList/index.vue.d.ts +8 -0
- package/dist/wkc-ui/component/prize/WinRecordList/type.d.ts +54 -0
- package/dist/wkc-ui/component/register.d.ts +8 -0
- package/dist/wkc-ui/component/scan/ScanTobaInput/index.vue.d.ts +18 -0
- package/dist/wkc-ui/component/scan/ScanTobaInput/type.d.ts +187 -0
- package/dist/wkc-ui/component/scan/ScanTobaResult/index.vue.d.ts +10 -0
- package/dist/wkc-ui/component/scan/ScanTobaResult/type.d.ts +148 -0
- package/dist/wkc-ui/component/scan/ScanTobaResultV2/index.vue.d.ts +10 -0
- package/dist/wkc-ui/component/scan/ScanTobaResultV2/type.d.ts +154 -0
- package/dist/wkc-ui/component/shared/PopupWrapper/index.vue.d.ts +36 -0
- package/dist/wkc-ui/component/test/CaptchaInput/index.vue.d.ts +38 -0
- package/dist/wkc-ui/constants.d.ts +63 -0
- package/dist/wkc-ui/index.d.ts +3 -0
- package/dist/wkc-ui/types/act.d.ts +506 -0
- package/dist/wkc-ui/types/component.d.ts +30 -0
- package/dist/wkc-ui/utils/busiHelper.d.ts +24 -0
- package/dist/wkc-ui/utils/index.d.ts +12 -0
- package/dist/wkc-ui/utils/libraryManager.d.ts +154 -0
- package/dist/wkc-ui/utils/request.d.ts +29 -0
- package/dist/wkc-ui/utils/sessionHelper.d.ts +23 -0
- package/dist/wkc-ui/utils/styleHelper.d.ts +44 -0
- package/dist/wkc-ui/vite.config.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { IWinRecord } from '../../../types/act';
|
|
2
|
+
export interface IStyleSchema {
|
|
3
|
+
position: {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
centerHorizontal?: boolean;
|
|
10
|
+
};
|
|
11
|
+
itemConfig?: {
|
|
12
|
+
itemGap?: number;
|
|
13
|
+
height?: number;
|
|
14
|
+
showShadow?: boolean;
|
|
15
|
+
backgroundConfig?: {
|
|
16
|
+
backgroundColor?: string;
|
|
17
|
+
gradientBackground?: string;
|
|
18
|
+
backgroundImage?: string;
|
|
19
|
+
borderRadius?: number;
|
|
20
|
+
};
|
|
21
|
+
dividerConfig?: {
|
|
22
|
+
showDivider?: boolean;
|
|
23
|
+
dividerColor?: string;
|
|
24
|
+
dividerWidth?: number;
|
|
25
|
+
dividerStyle?: 'solid' | 'dashed' | 'dotted';
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
imageConfig?: {
|
|
29
|
+
showImage?: boolean;
|
|
30
|
+
borderRadius?: number;
|
|
31
|
+
position?: {
|
|
32
|
+
top?: number;
|
|
33
|
+
left?: number;
|
|
34
|
+
width?: number;
|
|
35
|
+
height?: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
nameConfig?: {
|
|
39
|
+
showName?: boolean;
|
|
40
|
+
position: {
|
|
41
|
+
top?: number;
|
|
42
|
+
left?: number;
|
|
43
|
+
width?: number;
|
|
44
|
+
};
|
|
45
|
+
textConfig: {
|
|
46
|
+
color?: string;
|
|
47
|
+
fontSize?: number;
|
|
48
|
+
fontWeight?: number;
|
|
49
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
timeConfig?: {
|
|
53
|
+
showTime?: boolean;
|
|
54
|
+
position: {
|
|
55
|
+
top?: number;
|
|
56
|
+
left?: number;
|
|
57
|
+
width?: number;
|
|
58
|
+
};
|
|
59
|
+
textConfig: {
|
|
60
|
+
text?: string;
|
|
61
|
+
color?: string;
|
|
62
|
+
fontSize?: number;
|
|
63
|
+
fontWeight?: number;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
buttonConfig?: {
|
|
67
|
+
showButton?: boolean;
|
|
68
|
+
borderColor?: string;
|
|
69
|
+
borderRadius?: number;
|
|
70
|
+
position?: {
|
|
71
|
+
top?: number;
|
|
72
|
+
left?: number;
|
|
73
|
+
width?: number;
|
|
74
|
+
height?: number;
|
|
75
|
+
};
|
|
76
|
+
backgroundStyle?: {
|
|
77
|
+
backgroundColor?: string;
|
|
78
|
+
gradientBackground?: string;
|
|
79
|
+
backgroundImage?: string;
|
|
80
|
+
};
|
|
81
|
+
textStyle?: {
|
|
82
|
+
color?: string;
|
|
83
|
+
fontSize?: number;
|
|
84
|
+
fontWeight?: number;
|
|
85
|
+
text?: string;
|
|
86
|
+
};
|
|
87
|
+
receivedState?: {
|
|
88
|
+
text?: string;
|
|
89
|
+
useCustom?: boolean;
|
|
90
|
+
backgroundColor?: string;
|
|
91
|
+
backgroundImage?: string;
|
|
92
|
+
borderColor?: string;
|
|
93
|
+
color?: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
export interface IBusinessSchema {
|
|
98
|
+
previewCount?: number;
|
|
99
|
+
addressPop?: {
|
|
100
|
+
popId: string;
|
|
101
|
+
append: boolean;
|
|
102
|
+
};
|
|
103
|
+
emptyConfig?: {
|
|
104
|
+
bgImg?: string;
|
|
105
|
+
text?: string;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
export interface IProps {
|
|
109
|
+
styleSchema?: IStyleSchema;
|
|
110
|
+
businessSchema?: IBusinessSchema;
|
|
111
|
+
pageParams?: {
|
|
112
|
+
winRecordList?: IWinRecord[];
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
export declare const defaultProps: IProps;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
3
|
+
styleSchema: import('./type').IStyleSchema;
|
|
4
|
+
businessSchema: import('./type').IBusinessSchema;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IWinRecord } from '../../../types/act';
|
|
2
|
+
export interface IStyleSchema {
|
|
3
|
+
position: {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
centerHorizontal?: boolean;
|
|
10
|
+
};
|
|
11
|
+
container: {
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
backgroundImage: string;
|
|
14
|
+
borderRadius: string;
|
|
15
|
+
};
|
|
16
|
+
barrage: {
|
|
17
|
+
speed: number;
|
|
18
|
+
gap: number;
|
|
19
|
+
rows: number;
|
|
20
|
+
};
|
|
21
|
+
text: {
|
|
22
|
+
color: string;
|
|
23
|
+
fontSize: number;
|
|
24
|
+
fontWeight: number;
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
padding: number;
|
|
27
|
+
borderRadius: string;
|
|
28
|
+
template: string;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export interface IBusinessSchema {
|
|
32
|
+
loop?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface IProps {
|
|
35
|
+
styleSchema?: IStyleSchema;
|
|
36
|
+
businessSchema?: IBusinessSchema;
|
|
37
|
+
pageParams?: {
|
|
38
|
+
winRecordList?: IWinRecord[];
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export declare const defaultProps: IProps;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
3
|
+
styleSchema: import('./type').IStyleSchema;
|
|
4
|
+
businessSchema: import('./type').IBusinessSchema;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
6
|
+
trackRef: HTMLDivElement;
|
|
7
|
+
}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { IWinRecord } from '../../../types/act';
|
|
2
|
+
export interface IStyleSchema {
|
|
3
|
+
position: {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
centerHorizontal?: boolean;
|
|
10
|
+
};
|
|
11
|
+
style: {
|
|
12
|
+
styleSelect: 'style1' | 'style2';
|
|
13
|
+
container?: {
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
backgroundImage: string;
|
|
16
|
+
borderRadius: number;
|
|
17
|
+
padding: number;
|
|
18
|
+
};
|
|
19
|
+
item: {
|
|
20
|
+
height: number;
|
|
21
|
+
gap: number;
|
|
22
|
+
textAlign: 'left' | 'center' | 'right';
|
|
23
|
+
backgroundColor?: string;
|
|
24
|
+
borderRadius?: number;
|
|
25
|
+
paddingLeft?: number;
|
|
26
|
+
paddingRight?: number;
|
|
27
|
+
singleSideAdsorption?: 'left' | 'right' | 'none';
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
text: {
|
|
31
|
+
color: string;
|
|
32
|
+
fontSize: number;
|
|
33
|
+
fontWeight: number;
|
|
34
|
+
template: string;
|
|
35
|
+
};
|
|
36
|
+
animation: {
|
|
37
|
+
animationSelect: 'listUp' | 'itemUp';
|
|
38
|
+
speed?: number;
|
|
39
|
+
itemUpDuration?: number;
|
|
40
|
+
pauseDuration?: number;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface IBusinessSchema {
|
|
44
|
+
maxDisplay?: number;
|
|
45
|
+
emptyText?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface IProps {
|
|
48
|
+
styleSchema?: IStyleSchema;
|
|
49
|
+
businessSchema?: IBusinessSchema;
|
|
50
|
+
pageParams?: {
|
|
51
|
+
winRecordList?: IWinRecord[];
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export declare const defaultProps: IProps;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
comEvent: (...args: any[]) => void;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
|
|
5
|
+
onComEvent?: ((...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,187 @@
|
|
|
1
|
+
import { IApiConfig } from '../../../types/component';
|
|
2
|
+
export interface ITrackingItem {
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
type: string;
|
|
6
|
+
}
|
|
7
|
+
export interface StyleSchema {
|
|
8
|
+
overlay: {
|
|
9
|
+
openEditView: boolean;
|
|
10
|
+
maskColor: string;
|
|
11
|
+
backgroundImage: string;
|
|
12
|
+
};
|
|
13
|
+
contentPosition: {
|
|
14
|
+
left: number;
|
|
15
|
+
top: number;
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
centerHorizontal?: boolean;
|
|
19
|
+
};
|
|
20
|
+
animation: {
|
|
21
|
+
enterAnimation: string;
|
|
22
|
+
exitAnimation: string;
|
|
23
|
+
};
|
|
24
|
+
title: {
|
|
25
|
+
position?: {
|
|
26
|
+
marginTop: number;
|
|
27
|
+
marginLeft: number;
|
|
28
|
+
centerHorizontal?: boolean;
|
|
29
|
+
};
|
|
30
|
+
contentText: {
|
|
31
|
+
text: string;
|
|
32
|
+
textColor: string;
|
|
33
|
+
fontSize: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
input: {
|
|
37
|
+
position?: {
|
|
38
|
+
marginTop: number;
|
|
39
|
+
marginLeft?: number;
|
|
40
|
+
centerHorizontal?: boolean;
|
|
41
|
+
};
|
|
42
|
+
layout?: {
|
|
43
|
+
count: number;
|
|
44
|
+
gap: number;
|
|
45
|
+
};
|
|
46
|
+
singleInput?: {
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
inputBg: string;
|
|
50
|
+
};
|
|
51
|
+
inputText?: {
|
|
52
|
+
textColor: string;
|
|
53
|
+
fontSize: number;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
checkbox: {
|
|
57
|
+
position?: {
|
|
58
|
+
marginTop: number;
|
|
59
|
+
marginLeft: number;
|
|
60
|
+
centerHorizontal?: boolean;
|
|
61
|
+
};
|
|
62
|
+
uncheckedIcon: {
|
|
63
|
+
uncheckedImage: string;
|
|
64
|
+
uncheckedWidth?: number;
|
|
65
|
+
uncheckedHeight?: number;
|
|
66
|
+
};
|
|
67
|
+
checkedIcon: {
|
|
68
|
+
checkedImage: string;
|
|
69
|
+
checkedWidth?: number;
|
|
70
|
+
checkedHeight?: number;
|
|
71
|
+
};
|
|
72
|
+
iconSettings: {
|
|
73
|
+
openEditView?: boolean;
|
|
74
|
+
};
|
|
75
|
+
checkboxText: {
|
|
76
|
+
text: string;
|
|
77
|
+
textColor: string;
|
|
78
|
+
fontSize: number;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
noticeTitle: {
|
|
82
|
+
position?: {
|
|
83
|
+
marginTop: number;
|
|
84
|
+
marginLeft: number;
|
|
85
|
+
centerHorizontal?: boolean;
|
|
86
|
+
};
|
|
87
|
+
titleText: {
|
|
88
|
+
text: string;
|
|
89
|
+
color: string;
|
|
90
|
+
fontSize: number;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
noticeContent: {
|
|
94
|
+
position?: {
|
|
95
|
+
marginTop: number;
|
|
96
|
+
marginLeft: number;
|
|
97
|
+
centerHorizontal?: boolean;
|
|
98
|
+
width: number;
|
|
99
|
+
height: number;
|
|
100
|
+
bgColor: string;
|
|
101
|
+
};
|
|
102
|
+
contentText: {
|
|
103
|
+
text: string;
|
|
104
|
+
color: string;
|
|
105
|
+
fontSize: number;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
confirmButton: {
|
|
109
|
+
position?: {
|
|
110
|
+
marginTop: number;
|
|
111
|
+
marginLeft: number;
|
|
112
|
+
centerHorizontal?: boolean;
|
|
113
|
+
width: number;
|
|
114
|
+
height: number;
|
|
115
|
+
};
|
|
116
|
+
buttonStyle: {
|
|
117
|
+
backgroundImage: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
export interface BusinessSchema {
|
|
122
|
+
trackingSet?: {
|
|
123
|
+
trackingList?: Array<{
|
|
124
|
+
relative: string;
|
|
125
|
+
code: string;
|
|
126
|
+
type: string;
|
|
127
|
+
}>;
|
|
128
|
+
};
|
|
129
|
+
preCode: {
|
|
130
|
+
preCodeVal: string;
|
|
131
|
+
};
|
|
132
|
+
resultProcess: {
|
|
133
|
+
verifySuccessPageId: string;
|
|
134
|
+
verifiedFirstPageId: string;
|
|
135
|
+
otherVerifyPageId: string;
|
|
136
|
+
otherVerifyMorePageId: string;
|
|
137
|
+
verifyCodeErrorPageId: string;
|
|
138
|
+
errorPageId: string;
|
|
139
|
+
needVerifyPageId: string;
|
|
140
|
+
limitReachedPageId: string;
|
|
141
|
+
qrcodeNotExistPageId: string;
|
|
142
|
+
tobaNotExistPageId: string;
|
|
143
|
+
codeNotActivatedPageId: string;
|
|
144
|
+
defaultErrorPageId: string;
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
export interface IScanNumKeyStyle {
|
|
148
|
+
openEditView: boolean;
|
|
149
|
+
height: number;
|
|
150
|
+
backgroundColor: string;
|
|
151
|
+
textColor: string;
|
|
152
|
+
fontSize: number;
|
|
153
|
+
dividerColor: string;
|
|
154
|
+
dividerWidth: number;
|
|
155
|
+
}
|
|
156
|
+
export interface IProps {
|
|
157
|
+
styleSchema?: StyleSchema;
|
|
158
|
+
businessSchema?: BusinessSchema;
|
|
159
|
+
ScanNumberInput?: {
|
|
160
|
+
styleSchema?: {
|
|
161
|
+
popup: IScanNumKeyStyle;
|
|
162
|
+
parentPopup: {
|
|
163
|
+
marginTop: number;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
previewConfig: Record<string, IApiConfig>;
|
|
168
|
+
}
|
|
169
|
+
export declare const defaultPageProps: IProps;
|
|
170
|
+
export interface ICheckResData {
|
|
171
|
+
qrCodeMd5: string;
|
|
172
|
+
checkStatus: number;
|
|
173
|
+
isRequired: 0 | 1;
|
|
174
|
+
verifyCode: string | null;
|
|
175
|
+
isFirst: 0 | 1;
|
|
176
|
+
verifyTime: string | null;
|
|
177
|
+
tobaId: string | null;
|
|
178
|
+
tobaName: string | null;
|
|
179
|
+
tobaType: string | null;
|
|
180
|
+
tobaImg: string | null;
|
|
181
|
+
cssUrl: string | null;
|
|
182
|
+
scanLogId: string;
|
|
183
|
+
provCode: string;
|
|
184
|
+
cityCode: string;
|
|
185
|
+
countyCode: string;
|
|
186
|
+
scanId: number;
|
|
187
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
comEvent: (...args: any[]) => void;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
|
|
5
|
+
onComEvent?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
styleSchema: import('./type').StyleSchema;
|
|
8
|
+
businessSchema: import('./type').BusinessSchema;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,148 @@
|
|
|
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
|
+
top: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
13
|
+
animation: {
|
|
14
|
+
enterAnimation: string;
|
|
15
|
+
exitAnimation: string;
|
|
16
|
+
};
|
|
17
|
+
resultTextContent: {
|
|
18
|
+
openEditType: string;
|
|
19
|
+
position: {
|
|
20
|
+
marginTop: number;
|
|
21
|
+
};
|
|
22
|
+
defaultTextStyle: {
|
|
23
|
+
color: string;
|
|
24
|
+
fontSize: number;
|
|
25
|
+
fontWeight: number;
|
|
26
|
+
};
|
|
27
|
+
'1': {
|
|
28
|
+
text: string;
|
|
29
|
+
useDefaultStyle?: boolean;
|
|
30
|
+
fontSize?: number;
|
|
31
|
+
color?: string;
|
|
32
|
+
fontWeight?: number;
|
|
33
|
+
};
|
|
34
|
+
'2': {
|
|
35
|
+
text: string;
|
|
36
|
+
useDefaultStyle?: boolean;
|
|
37
|
+
fontSize?: number;
|
|
38
|
+
color?: string;
|
|
39
|
+
fontWeight?: number;
|
|
40
|
+
};
|
|
41
|
+
'3': {
|
|
42
|
+
text: string;
|
|
43
|
+
useDefaultStyle?: boolean;
|
|
44
|
+
fontSize?: number;
|
|
45
|
+
color?: string;
|
|
46
|
+
fontWeight?: number;
|
|
47
|
+
};
|
|
48
|
+
'4': {
|
|
49
|
+
text: string;
|
|
50
|
+
useDefaultStyle?: boolean;
|
|
51
|
+
fontSize?: number;
|
|
52
|
+
color?: string;
|
|
53
|
+
fontWeight?: number;
|
|
54
|
+
};
|
|
55
|
+
'5': {
|
|
56
|
+
text: string;
|
|
57
|
+
useDefaultStyle?: boolean;
|
|
58
|
+
fontSize?: number;
|
|
59
|
+
color?: string;
|
|
60
|
+
fontWeight?: number;
|
|
61
|
+
};
|
|
62
|
+
'6': {
|
|
63
|
+
text: string;
|
|
64
|
+
useDefaultStyle?: boolean;
|
|
65
|
+
fontSize?: number;
|
|
66
|
+
color?: string;
|
|
67
|
+
fontWeight?: number;
|
|
68
|
+
};
|
|
69
|
+
'7': {
|
|
70
|
+
text: string;
|
|
71
|
+
useDefaultStyle?: boolean;
|
|
72
|
+
fontSize?: number;
|
|
73
|
+
color?: string;
|
|
74
|
+
fontWeight?: number;
|
|
75
|
+
};
|
|
76
|
+
'8': {
|
|
77
|
+
text: string;
|
|
78
|
+
useDefaultStyle?: boolean;
|
|
79
|
+
fontSize?: number;
|
|
80
|
+
color?: string;
|
|
81
|
+
fontWeight?: number;
|
|
82
|
+
};
|
|
83
|
+
'9': {
|
|
84
|
+
text: string;
|
|
85
|
+
useDefaultStyle?: boolean;
|
|
86
|
+
fontSize?: number;
|
|
87
|
+
color?: string;
|
|
88
|
+
fontWeight?: number;
|
|
89
|
+
};
|
|
90
|
+
other: {
|
|
91
|
+
text: string;
|
|
92
|
+
useDefaultStyle?: boolean;
|
|
93
|
+
fontSize?: number;
|
|
94
|
+
color?: string;
|
|
95
|
+
fontWeight?: number;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
validateTime: {
|
|
99
|
+
show: boolean;
|
|
100
|
+
position: {
|
|
101
|
+
centerHorizontal?: boolean;
|
|
102
|
+
marginLeft: number;
|
|
103
|
+
marginTop: number;
|
|
104
|
+
};
|
|
105
|
+
textStyle: {
|
|
106
|
+
leftLabel: string;
|
|
107
|
+
timeFormat: string;
|
|
108
|
+
titleColor: string;
|
|
109
|
+
titleFontSize: number;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
confirmButton: {
|
|
113
|
+
position: {
|
|
114
|
+
centerHorizontal?: boolean;
|
|
115
|
+
marginLeft: number;
|
|
116
|
+
marginTop: number;
|
|
117
|
+
width: number;
|
|
118
|
+
height: number;
|
|
119
|
+
};
|
|
120
|
+
background: {
|
|
121
|
+
backgroundImage: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export interface BusinessSchema {
|
|
126
|
+
jumpConfig: {
|
|
127
|
+
jumpUrl: string;
|
|
128
|
+
};
|
|
129
|
+
trackingSet?: {
|
|
130
|
+
trackingList?: Array<{
|
|
131
|
+
relative: string;
|
|
132
|
+
code: string;
|
|
133
|
+
type: string;
|
|
134
|
+
}>;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
export interface IProps {
|
|
138
|
+
styleSchema?: StyleSchema;
|
|
139
|
+
businessSchema?: BusinessSchema;
|
|
140
|
+
previewConfig?: Record<string, IApiConfig>;
|
|
141
|
+
pageParams: {
|
|
142
|
+
checkStatus: number;
|
|
143
|
+
qrCodeMd5: string;
|
|
144
|
+
tobaId: string;
|
|
145
|
+
isFirst: 0 | 1;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
export declare const defaultPageProps: IProps;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
comEvent: (...args: any[]) => void;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
|
|
5
|
+
onComEvent?: ((...args: any[]) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
styleSchema: import('./type').StyleSchema;
|
|
8
|
+
businessSchema: import('./type').BusinessSchema;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|