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,33 @@
|
|
|
1
|
+
interface StyleSchema {
|
|
2
|
+
backgroundColor: {
|
|
3
|
+
bgColor: string;
|
|
4
|
+
};
|
|
5
|
+
backgroundImages: {
|
|
6
|
+
fullScreenBg: string;
|
|
7
|
+
topBg: string;
|
|
8
|
+
bottomBg: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
interface TrackingItem {
|
|
12
|
+
relative: string;
|
|
13
|
+
code: string;
|
|
14
|
+
type: string;
|
|
15
|
+
}
|
|
16
|
+
interface BusinessSchema {
|
|
17
|
+
trackingSet?: {
|
|
18
|
+
trackingList?: TrackingItem[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
interface Props {
|
|
22
|
+
styleSchema?: StyleSchema;
|
|
23
|
+
businessSchema?: BusinessSchema;
|
|
24
|
+
}
|
|
25
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
comEvent: (...args: any[]) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
onComEvent?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
styleSchema: StyleSchema;
|
|
31
|
+
businessSchema: BusinessSchema;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -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').StyleSchema;
|
|
4
|
+
businessSchema: import('./type').BusinessSchema;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { IUserInfo } from '../../../../types/act';
|
|
2
|
+
export interface StyleSchema {
|
|
3
|
+
position: {
|
|
4
|
+
left: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
top: number;
|
|
8
|
+
bottom?: number;
|
|
9
|
+
verticalAlign?: 'top' | 'bottom';
|
|
10
|
+
zIndex: number;
|
|
11
|
+
centerHorizontal?: boolean;
|
|
12
|
+
};
|
|
13
|
+
borderRadius: {
|
|
14
|
+
borderRadius: string;
|
|
15
|
+
};
|
|
16
|
+
border: {
|
|
17
|
+
borderColor: string;
|
|
18
|
+
borderWidth: number;
|
|
19
|
+
};
|
|
20
|
+
preview: {
|
|
21
|
+
defaultAvatar: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface BusinessSchema {
|
|
25
|
+
}
|
|
26
|
+
export interface IProps {
|
|
27
|
+
styleSchema?: StyleSchema;
|
|
28
|
+
businessSchema?: BusinessSchema;
|
|
29
|
+
userInfo?: IUserInfo | null;
|
|
30
|
+
}
|
|
31
|
+
export declare const defaultProps: {
|
|
32
|
+
styleSchema: () => {
|
|
33
|
+
position: {
|
|
34
|
+
left: number;
|
|
35
|
+
width: number;
|
|
36
|
+
height: number;
|
|
37
|
+
top: number;
|
|
38
|
+
bottom: number;
|
|
39
|
+
verticalAlign: "top";
|
|
40
|
+
zIndex: number;
|
|
41
|
+
centerHorizontal: boolean;
|
|
42
|
+
};
|
|
43
|
+
borderRadius: {
|
|
44
|
+
borderRadius: string;
|
|
45
|
+
};
|
|
46
|
+
border: {
|
|
47
|
+
borderColor: string;
|
|
48
|
+
borderWidth: number;
|
|
49
|
+
};
|
|
50
|
+
preview: {
|
|
51
|
+
defaultAvatar: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
businessSchema: () => {};
|
|
55
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
interface StyleSchema {
|
|
2
|
+
position: {
|
|
3
|
+
left: number;
|
|
4
|
+
top: number;
|
|
5
|
+
bottom?: number;
|
|
6
|
+
verticalAlign?: 'top' | 'bottom';
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
zIndex: number;
|
|
10
|
+
centerHorizontal?: boolean;
|
|
11
|
+
};
|
|
12
|
+
borderRadius: {
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
};
|
|
15
|
+
video: {
|
|
16
|
+
objectFit: string;
|
|
17
|
+
previewPlay: boolean;
|
|
18
|
+
videoUrl: string;
|
|
19
|
+
posterUrl: string;
|
|
20
|
+
autoplay: boolean;
|
|
21
|
+
muted: boolean;
|
|
22
|
+
showControls: boolean;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
interface TrackingItem {
|
|
26
|
+
relative: string;
|
|
27
|
+
code: string;
|
|
28
|
+
type: string;
|
|
29
|
+
}
|
|
30
|
+
interface BusinessSchema {
|
|
31
|
+
trackingSet?: {
|
|
32
|
+
trackingList?: TrackingItem[];
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
interface Props {
|
|
36
|
+
styleSchema?: StyleSchema;
|
|
37
|
+
businessSchema?: BusinessSchema;
|
|
38
|
+
}
|
|
39
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
comEvent: (...args: any[]) => void;
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
42
|
+
onComEvent?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
styleSchema: StyleSchema;
|
|
45
|
+
businessSchema: BusinessSchema;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
47
|
+
videoRef: HTMLVideoElement;
|
|
48
|
+
}, any>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IProps, {
|
|
3
|
+
showAlert: () => void;
|
|
4
|
+
checkActivityStatus: () => "notStarted" | "ended" | "active";
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
comEvent: (...args: any[]) => void;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
|
|
8
|
+
onComEvent?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
styleSchema: import('./type').StyleSchema;
|
|
11
|
+
businessSchema: import('./type').BusinessSchema;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IActivityInfo } from '../../../../types/act';
|
|
2
|
+
export interface StyleSchema {
|
|
3
|
+
alertType: 'toast' | 'confirm' | 'dialog';
|
|
4
|
+
notStartedText: string;
|
|
5
|
+
endedText: string;
|
|
6
|
+
confirmButtonText: string;
|
|
7
|
+
cancelButtonText: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BusinessSchema {
|
|
10
|
+
}
|
|
11
|
+
export interface IProps {
|
|
12
|
+
styleSchema?: StyleSchema;
|
|
13
|
+
businessSchema?: BusinessSchema;
|
|
14
|
+
activityInfo?: IActivityInfo;
|
|
15
|
+
}
|
|
16
|
+
export declare const defaultProps: {
|
|
17
|
+
styleSchema: () => {
|
|
18
|
+
alertType: "toast";
|
|
19
|
+
notStartedText: string;
|
|
20
|
+
endedText: string;
|
|
21
|
+
confirmButtonText: string;
|
|
22
|
+
cancelButtonText: string;
|
|
23
|
+
};
|
|
24
|
+
businessSchema: () => {};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const placeholderMap: Record<string, string>;
|
|
@@ -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').StyleSchema;
|
|
4
|
+
businessSchema: import('./type').BusinessSchema;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { ILuckyDrawResult, IUserInfo } from '../../../../types/act';
|
|
2
|
+
export interface StyleSchema {
|
|
3
|
+
position: {
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
bottom?: number;
|
|
7
|
+
verticalAlign?: 'top' | 'bottom';
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
zIndex: number;
|
|
11
|
+
centerHorizontal?: boolean;
|
|
12
|
+
};
|
|
13
|
+
text: {
|
|
14
|
+
textColor: string;
|
|
15
|
+
fontSize: number;
|
|
16
|
+
fontWeight: number;
|
|
17
|
+
letterSpacing: number;
|
|
18
|
+
fontStyle: 'normal' | 'italic';
|
|
19
|
+
textDecoration: 'none' | 'underline' | 'overline' | 'line-through';
|
|
20
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
21
|
+
lineHeight?: number;
|
|
22
|
+
};
|
|
23
|
+
content: {
|
|
24
|
+
direction: 'horizontal' | 'vertical';
|
|
25
|
+
textType: 'custom' | 'nickname';
|
|
26
|
+
text: string;
|
|
27
|
+
testNickname?: string;
|
|
28
|
+
padding: {
|
|
29
|
+
all: number;
|
|
30
|
+
enableCustom: boolean;
|
|
31
|
+
top: number;
|
|
32
|
+
right: number;
|
|
33
|
+
bottom: number;
|
|
34
|
+
left: number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
overflow: {
|
|
38
|
+
whiteSpace: 'nowrap' | 'normal' | 'pre-wrap';
|
|
39
|
+
wordBreak?: 'normal' | 'break-all' | 'break-word';
|
|
40
|
+
enableScroll: boolean;
|
|
41
|
+
maxLines: number;
|
|
42
|
+
};
|
|
43
|
+
textShadow: {
|
|
44
|
+
enabled: boolean;
|
|
45
|
+
offsetX?: number;
|
|
46
|
+
offsetY?: number;
|
|
47
|
+
blur?: number;
|
|
48
|
+
color?: string;
|
|
49
|
+
};
|
|
50
|
+
textStroke: {
|
|
51
|
+
enabled: boolean;
|
|
52
|
+
width?: number;
|
|
53
|
+
color?: string;
|
|
54
|
+
};
|
|
55
|
+
textGradient: {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
type?: 'linear' | 'radial';
|
|
58
|
+
direction?: string;
|
|
59
|
+
startColor?: string;
|
|
60
|
+
endColor?: string;
|
|
61
|
+
};
|
|
62
|
+
animation: {
|
|
63
|
+
duration: number;
|
|
64
|
+
delay: number;
|
|
65
|
+
};
|
|
66
|
+
transform: {
|
|
67
|
+
rotate: {
|
|
68
|
+
angle: number;
|
|
69
|
+
enableAnimation: boolean;
|
|
70
|
+
duration: number;
|
|
71
|
+
count: number;
|
|
72
|
+
timing: string;
|
|
73
|
+
};
|
|
74
|
+
scale: {
|
|
75
|
+
value: number;
|
|
76
|
+
enableAnimation: boolean;
|
|
77
|
+
duration: number;
|
|
78
|
+
count: number;
|
|
79
|
+
minScale: number;
|
|
80
|
+
maxScale: number;
|
|
81
|
+
timing: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export interface BusinessSchema {
|
|
86
|
+
}
|
|
87
|
+
export interface IProps {
|
|
88
|
+
styleSchema?: StyleSchema;
|
|
89
|
+
businessSchema?: BusinessSchema;
|
|
90
|
+
userInfo?: IUserInfo | null;
|
|
91
|
+
pageParams?: {
|
|
92
|
+
popPrize: ILuckyDrawResult;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export declare const defaultProps: {
|
|
96
|
+
styleSchema: () => {
|
|
97
|
+
position: {
|
|
98
|
+
left: number;
|
|
99
|
+
top: number;
|
|
100
|
+
bottom: number;
|
|
101
|
+
verticalAlign: "top";
|
|
102
|
+
width: number;
|
|
103
|
+
height: number;
|
|
104
|
+
zIndex: number;
|
|
105
|
+
centerHorizontal: boolean;
|
|
106
|
+
};
|
|
107
|
+
text: {
|
|
108
|
+
textColor: string;
|
|
109
|
+
fontSize: number;
|
|
110
|
+
fontWeight: number;
|
|
111
|
+
letterSpacing: number;
|
|
112
|
+
fontStyle: "normal";
|
|
113
|
+
textDecoration: "none";
|
|
114
|
+
textAlign: "center";
|
|
115
|
+
};
|
|
116
|
+
content: {
|
|
117
|
+
direction: "horizontal";
|
|
118
|
+
textType: "custom";
|
|
119
|
+
text: string;
|
|
120
|
+
testNickname: string;
|
|
121
|
+
padding: {
|
|
122
|
+
all: number;
|
|
123
|
+
enableCustom: boolean;
|
|
124
|
+
top: number;
|
|
125
|
+
right: number;
|
|
126
|
+
bottom: number;
|
|
127
|
+
left: number;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
overflow: {
|
|
131
|
+
whiteSpace: "normal";
|
|
132
|
+
wordBreak: "normal";
|
|
133
|
+
enableScroll: boolean;
|
|
134
|
+
maxLines: number;
|
|
135
|
+
};
|
|
136
|
+
textShadow: {
|
|
137
|
+
enabled: boolean;
|
|
138
|
+
offsetX: number;
|
|
139
|
+
offsetY: number;
|
|
140
|
+
blur: number;
|
|
141
|
+
color: string;
|
|
142
|
+
};
|
|
143
|
+
textStroke: {
|
|
144
|
+
enabled: boolean;
|
|
145
|
+
width: number;
|
|
146
|
+
color: string;
|
|
147
|
+
};
|
|
148
|
+
textGradient: {
|
|
149
|
+
enabled: boolean;
|
|
150
|
+
type: "linear";
|
|
151
|
+
direction: string;
|
|
152
|
+
startColor: string;
|
|
153
|
+
endColor: string;
|
|
154
|
+
};
|
|
155
|
+
animation: {
|
|
156
|
+
duration: number;
|
|
157
|
+
delay: number;
|
|
158
|
+
};
|
|
159
|
+
transform: {
|
|
160
|
+
rotate: {
|
|
161
|
+
angle: number;
|
|
162
|
+
enableAnimation: boolean;
|
|
163
|
+
duration: number;
|
|
164
|
+
count: number;
|
|
165
|
+
timing: string;
|
|
166
|
+
};
|
|
167
|
+
scale: {
|
|
168
|
+
value: number;
|
|
169
|
+
enableAnimation: boolean;
|
|
170
|
+
duration: number;
|
|
171
|
+
count: number;
|
|
172
|
+
minScale: number;
|
|
173
|
+
maxScale: number;
|
|
174
|
+
timing: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
businessSchema: () => {};
|
|
179
|
+
};
|
|
@@ -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,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Components Entry Point
|
|
3
|
+
* 组件库统一导出入口
|
|
4
|
+
*/
|
|
5
|
+
export { default as BtnLink } from './base/btn/BtnLink/index.vue';
|
|
6
|
+
export { default as AudioPlayer } from './base/media/AudioPlayer/index.vue';
|
|
7
|
+
export { default as BlockBackground } from './base/media/BlockBackground/index.vue';
|
|
8
|
+
export { default as ImgCommon } from './base/media/ImgCommon/index.vue';
|
|
9
|
+
export { default as PageBackground } from './base/media/PageBackground/index.vue';
|
|
10
|
+
export { default as UserImg } from './base/media/UserImg/index.vue';
|
|
11
|
+
export { default as VideoPlayer } from './base/media/VideoPlayer/index.vue';
|
|
12
|
+
export { default as TextCommon } from './base/text/TextCommon/index.vue';
|
|
13
|
+
export { default as Countdown } from './base/time/Countdown/index.vue';
|
|
14
|
+
export { default as ScanTobaInput } from './scan/ScanTobaInput/index.vue';
|
|
15
|
+
export { default as ScanTobaResult } from './scan/ScanTobaResult/index.vue';
|
|
16
|
+
export { default as ScanTobaResultV2 } from './scan/ScanTobaResultV2/index.vue';
|
|
17
|
+
export { default as BlindBox } from './lucky/BlindBox/index.vue';
|
|
18
|
+
export { default as FlipCard } from './lucky/FlipCard/index.vue';
|
|
19
|
+
export { default as NineGrid } from './lucky/NineGrid/index.vue';
|
|
20
|
+
export { default as PlateLottery } from './lucky/PlateLottery/index.vue';
|
|
21
|
+
export { default as ScratchCard } from './lucky/ScratchCard/index.vue';
|
|
22
|
+
export { default as LuckyScript } from './lucky/script/index.vue';
|
|
23
|
+
export { default as PrizeDisplay } from './lucky/PrizeDisplay/index.vue';
|
|
24
|
+
export { default as RedPacketRain } from './lucky/RedPacketRain/index.vue';
|
|
25
|
+
export { default as PasswordLottery } from './lucky/PasswordLottery/index.vue';
|
|
26
|
+
export { default as LuckyBag } from './lucky/LuckyBag/index.vue';
|
|
27
|
+
export { default as AddressForm } from './address/AddressForm/index.vue';
|
|
28
|
+
export { default as AddressList } from './address/AddressList/index.vue';
|
|
29
|
+
export { default as AddressScript } from './address/script/index.vue';
|
|
30
|
+
export { default as MyPrizeList } from './prize/MyPrizeList/index.vue';
|
|
31
|
+
export { default as WinRecordList } from './prize/WinRecordList/index.vue';
|
|
32
|
+
export { default as WinRecordBarrage } from './prize/WinRecordBarrage/index.vue';
|
|
33
|
+
export { default as ActTimeAlert } from './base/text/ActTimeAlert/index.vue';
|
|
34
|
+
export { default as NoticePop } from './pop/PopNotice/index.vue';
|
|
35
|
+
export { default as PopOverlay } from './pop/PopOverlay/index.vue';
|
|
36
|
+
export { default as LiveStream } from './live/LiveStream/index.vue';
|
|
37
|
+
export { default as LiveEnter } from './live/LiveEnter/index.vue';
|
|
38
|
+
export { default as LivePassword } from './live/LivePassword/index.vue';
|
|
39
|
+
export { default as LiveText } from './live/LiveText/index.vue';
|
|
40
|
+
export { default as CaptchaInput } from './test/CaptchaInput/index.vue';
|
|
41
|
+
export { default as AddressFormConfig } from './address/AddressForm/config.json';
|
|
42
|
+
export { default as AddressListConfig } from './address/AddressList/config.json';
|
|
43
|
+
export { default as AddressScriptConfig } from './address/script/config.json';
|
|
44
|
+
export { default as BtnLinkConfig } from './base/btn/BtnLink/config.json';
|
|
45
|
+
export { default as AudioPlayerConfig } from './base/media/AudioPlayer/config.json';
|
|
46
|
+
export { default as BlockBackgroundConfig } from './base/media/BlockBackground/config.json';
|
|
47
|
+
export { default as ImgCommonConfig } from './base/media/ImgCommon/config.json';
|
|
48
|
+
export { default as PageBackgroundConfig } from './base/media/PageBackground/config.json';
|
|
49
|
+
export { default as UserImgConfig } from './base/media/UserImg/config.json';
|
|
50
|
+
export { default as VideoPlayerConfig } from './base/media/VideoPlayer/config.json';
|
|
51
|
+
export { default as ActTimeAlertConfig } from './base/text/ActTimeAlert/config.json';
|
|
52
|
+
export { default as TextCommonConfig } from './base/text/TextCommon/config.json';
|
|
53
|
+
export { default as CountdownConfig } from './base/time/Countdown/config.json';
|
|
54
|
+
export { default as BlindBoxConfig } from './lucky/BlindBox/config.json';
|
|
55
|
+
export { default as FlipCardConfig } from './lucky/FlipCard/config.json';
|
|
56
|
+
export { default as NineGridConfig } from './lucky/NineGrid/config.json';
|
|
57
|
+
export { default as PlateLotteryConfig } from './lucky/PlateLottery/config.json';
|
|
58
|
+
export { default as ScratchCardConfig } from './lucky/ScratchCard/config.json';
|
|
59
|
+
export { default as LuckyScriptConfig } from './lucky/script/config.json';
|
|
60
|
+
export { default as PrizeDisplayConfig } from './lucky/PrizeDisplay/config.json';
|
|
61
|
+
export { default as RedPacketRainConfig } from './lucky/RedPacketRain/config.json';
|
|
62
|
+
export { default as PasswordLotteryConfig } from './lucky/PasswordLottery/config.json';
|
|
63
|
+
export { default as LuckyBagConfig } from './lucky/LuckyBag/config.json';
|
|
64
|
+
export { default as NoticePopConfig } from './pop/PopNotice/config.json';
|
|
65
|
+
export { default as PopOverlayConfig } from './pop/PopOverlay/config.json';
|
|
66
|
+
export { default as MyPrizeListConfig } from './prize/MyPrizeList/config.json';
|
|
67
|
+
export { default as WinRecordListConfig } from './prize/WinRecordList/config.json';
|
|
68
|
+
export { default as WinRecordBarrageConfig } from './prize/WinRecordBarrage/config.json';
|
|
69
|
+
export { default as ScanTobaInputConfig } from './scan/ScanTobaInput/config.json';
|
|
70
|
+
export { default as ScanTobaResultConfig } from './scan/ScanTobaResult/config.json';
|
|
71
|
+
export { default as ScanTobaResultV2Config } from './scan/ScanTobaResultV2/config.json';
|
|
72
|
+
export { default as LiveStreamConfig } from './live/LiveStream/config.json';
|
|
73
|
+
export { default as LiveEnterConfig } from './live/LiveEnter/config.json';
|
|
74
|
+
export { default as LivePasswordConfig } from './live/LivePassword/config.json';
|
|
75
|
+
export { default as LiveTextConfig } from './live/LiveText/config.json';
|
|
76
|
+
export { default as CaptchaInputConfig } from './test/CaptchaInput/config.json';
|
|
@@ -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
|
+
previewConfig: Record<string, any>;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ILiveInfo } from '../../../types/act';
|
|
2
|
+
export type LiveStatus = 'notStarted' | 'living' | 'playback' | 'ended';
|
|
3
|
+
export interface IStatusButtonConfig {
|
|
4
|
+
text: string;
|
|
5
|
+
useSelf: boolean;
|
|
6
|
+
textColor: string;
|
|
7
|
+
bg: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IStyleSchema {
|
|
10
|
+
position: {
|
|
11
|
+
top: number;
|
|
12
|
+
left: number;
|
|
13
|
+
width: number | string;
|
|
14
|
+
height: number | string;
|
|
15
|
+
zIndex: number;
|
|
16
|
+
};
|
|
17
|
+
bg: {
|
|
18
|
+
color: string;
|
|
19
|
+
img: string;
|
|
20
|
+
};
|
|
21
|
+
btn: {
|
|
22
|
+
preivewMode: LiveStatus;
|
|
23
|
+
fontSize: number;
|
|
24
|
+
borderRadius: number;
|
|
25
|
+
textColor: string;
|
|
26
|
+
bg: string;
|
|
27
|
+
notStarted: IStatusButtonConfig;
|
|
28
|
+
living: IStatusButtonConfig;
|
|
29
|
+
playback: IStatusButtonConfig;
|
|
30
|
+
ended: IStatusButtonConfig;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export interface IProps {
|
|
34
|
+
styleSchema: IStyleSchema;
|
|
35
|
+
previewConfig?: Record<string, any>;
|
|
36
|
+
liveInfo?: ILiveInfo;
|
|
37
|
+
}
|
|
38
|
+
export declare const defaultProps: Required<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
|
+
previewConfig: Record<string, any>;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ILiveInfo } from '../../../types/act';
|
|
2
|
+
export interface IStyleSchema {
|
|
3
|
+
position: {
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
width: string;
|
|
7
|
+
height: string;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
};
|
|
10
|
+
/** 左侧标签文本 */
|
|
11
|
+
textConfig: {
|
|
12
|
+
leftText: string;
|
|
13
|
+
leftColor: string;
|
|
14
|
+
fontSize: number;
|
|
15
|
+
};
|
|
16
|
+
/** 输入框 */
|
|
17
|
+
inputConfig: {
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
inputBgColor: string;
|
|
22
|
+
borderRadius: number;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface IProps {
|
|
27
|
+
styleSchema: IStyleSchema;
|
|
28
|
+
previewConfig?: Record<string, any>;
|
|
29
|
+
liveInfo?: ILiveInfo;
|
|
30
|
+
}
|
|
31
|
+
export declare const defaultProps: Required<IProps>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IComment } from '../../../type';
|
|
2
|
+
type IconKey = 'prizeRecord' | 'jump' | 'gift' | 'like';
|
|
3
|
+
interface IProps {
|
|
4
|
+
configProps?: IComment;
|
|
5
|
+
}
|
|
6
|
+
interface IIconItem {
|
|
7
|
+
value: IconKey;
|
|
8
|
+
url: string;
|
|
9
|
+
orderTag: number;
|
|
10
|
+
targetUrl?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
submit: (value: string) => any;
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
iconClick: (item: IIconItem) => any;
|
|
16
|
+
inputClick: () => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
|
|
18
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
onIconClick?: ((item: IIconItem) => any) | undefined;
|
|
21
|
+
onInputClick?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
configProps: IComment;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IChatTabItem, IComment } from '../../../type';
|
|
2
|
+
interface IProps {
|
|
3
|
+
configProps?: IChatTabItem;
|
|
4
|
+
msgProps: IComment;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
7
|
+
configProps: IChatTabItem;
|
|
8
|
+
msgProps: IComment;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
10
|
+
topTrackRef: HTMLDivElement;
|
|
11
|
+
}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ITabItem } from '../../type';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
configProps: ITabItem;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IComment, ITab } from '../../type';
|
|
2
|
+
interface IProps {
|
|
3
|
+
configProps?: ITab;
|
|
4
|
+
msgProps: IComment;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
7
|
+
configProps: ITab;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IPageParams, IVideo } from '../../type';
|
|
2
|
+
interface IProps {
|
|
3
|
+
configProps?: IVideo;
|
|
4
|
+
pageParams?: IPageParams;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
7
|
+
pageParams: IPageParams;
|
|
8
|
+
configProps: IVideo;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|