yswk-ui 0.0.7 → 0.1.0
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/address/AddressForm/index.vue.d.ts +5 -0
- package/dist/component/address/AddressForm/type.d.ts +58 -0
- package/dist/component/address/AddressList/index.vue.d.ts +7 -0
- package/dist/component/address/AddressList/type.d.ts +100 -0
- package/dist/component/address/script/index.vue.d.ts +29 -0
- package/dist/component/address/script/type.d.ts +28 -0
- package/dist/component/base/btn/BtnLink/data.d.ts +0 -0
- package/dist/component/base/btn/BtnLink/index.vue.d.ts +4 -43
- package/dist/component/base/btn/BtnLink/type.d.ts +89 -0
- package/dist/component/base/btn/CountdownButton/type.d.ts +34 -0
- package/dist/component/base/btn/CountdownButton/types.d.ts +34 -0
- package/dist/component/base/media/BlockBackground/index.vue.d.ts +3 -3
- package/dist/component/base/media/BlockBackground/type.d.ts +171 -0
- package/dist/component/base/media/ImgCommon/data.d.ts +1 -0
- package/dist/component/base/media/ImgCommon/index.vue.d.ts +5 -1
- package/dist/component/base/media/ImgCommon/type.d.ts +11 -0
- package/dist/component/base/media/PageBackground/index.vue.d.ts +17 -1
- package/dist/component/base/media/UserImg/data.d.ts +1 -0
- package/dist/component/base/media/UserImg/type.d.ts +2 -0
- package/dist/component/base/media/VideoPlayer/index.vue.d.ts +13 -1
- package/dist/component/base/text/ActTimeAlert/index.vue.d.ts +5 -1
- package/dist/component/base/text/ActTimeAlert/type.d.ts +2 -0
- package/dist/component/base/text/TextCommon/data.d.ts +1 -0
- package/dist/component/base/text/TextCommon/type.d.ts +6 -1
- package/dist/component/index.d.ts +46 -8
- package/dist/component/live/LiveEnter/index.vue.d.ts +6 -0
- package/dist/component/live/LiveEnter/type.d.ts +38 -0
- package/dist/component/live/LivePassword/index.vue.d.ts +6 -0
- package/dist/component/live/LivePassword/type.d.ts +31 -0
- package/dist/component/live/LiveStream/components/MsgInput/MsgInput.vue.d.ts +27 -0
- package/dist/component/live/LiveStream/components/Tabs/Chat/MsgInput.vue.d.ts +25 -0
- package/dist/component/live/LiveStream/components/Tabs/Chat/TabChat.vue.d.ts +10 -0
- package/dist/component/live/LiveStream/components/Tabs/TabChat.vue.d.ts +2 -0
- package/dist/component/live/LiveStream/components/Tabs/TabEvaluate.vue.d.ts +2 -0
- package/dist/component/live/LiveStream/components/Tabs/TabGIftRank.vue.d.ts +2 -0
- package/dist/component/live/LiveStream/components/Tabs/TabImg.vue.d.ts +6 -0
- package/dist/component/live/LiveStream/components/Tabs/TabInfo.vue.d.ts +2 -0
- package/dist/component/live/LiveStream/components/Tabs/TabSign.vue.d.ts +2 -0
- package/dist/component/live/LiveStream/components/Tabs/TabsIndex.vue.d.ts +9 -0
- package/dist/component/live/LiveStream/components/VideoPlay/VideoPlay.vue.d.ts +10 -0
- package/dist/component/live/LiveStream/index.vue.d.ts +9 -0
- package/dist/component/live/LiveStream/type.d.ts +132 -0
- package/dist/component/live/LiveText/index.vue.d.ts +7 -0
- package/dist/component/live/LiveText/type.d.ts +46 -0
- package/dist/component/live/script/type.d.ts +252 -0
- package/dist/component/lucky/BlindBox/index.vue.d.ts +6 -0
- package/dist/component/lucky/BlindBox/type.d.ts +66 -0
- package/dist/component/lucky/FlipCard/index.vue.d.ts +6 -0
- package/dist/component/lucky/FlipCard/type.d.ts +47 -0
- package/dist/component/lucky/LuckyBag/index.vue.d.ts +3 -0
- package/dist/component/lucky/LuckyBag/type.d.ts +153 -0
- package/dist/component/lucky/MyPrizeList/type.d.ts +17 -0
- package/dist/component/lucky/NineGrid/index.d.ts +6 -0
- package/dist/component/lucky/NineGrid/index.vue.d.ts +6 -0
- package/dist/component/lucky/NineGrid/type.d.ts +54 -0
- package/dist/component/lucky/PasswordLottery/index.vue.d.ts +3 -0
- package/dist/component/lucky/PasswordLottery/type.d.ts +47 -0
- package/dist/component/lucky/PlateLottery/index.d.ts +6 -0
- package/dist/component/lucky/PlateLottery/index.vue.d.ts +6 -0
- package/dist/component/lucky/PlateLottery/type.d.ts +66 -0
- package/dist/component/lucky/PrizeDisplay/index.vue.d.ts +3 -0
- package/dist/component/lucky/PrizeDisplay/type.d.ts +50 -0
- package/dist/component/lucky/RedPacketRain/index.vue.d.ts +3 -0
- package/dist/component/lucky/RedPacketRain/type.d.ts +28 -0
- package/dist/component/lucky/ScratchCard/index.d.ts +6 -0
- package/dist/component/lucky/ScratchCard/index.vue.d.ts +8 -0
- package/dist/component/lucky/ScratchCard/type.d.ts +47 -0
- package/dist/component/lucky/plate/NineGrid/index.d.ts +6 -0
- package/dist/component/lucky/plate/NineGrid/index.vue.d.ts +10 -0
- package/dist/component/lucky/plate/NineGrid/type.d.ts +52 -0
- package/dist/component/lucky/script/index.vue.d.ts +46 -0
- package/dist/component/lucky/script/type.d.ts +37 -0
- package/dist/component/point/script/type.d.ts +20 -0
- package/dist/component/pop/PopNotice/index.vue.d.ts +2 -0
- package/dist/component/pop/PopOverlay/index.vue.d.ts +9 -0
- package/dist/component/pop/PopOverlay/type.d.ts +11 -0
- package/dist/component/pop/PopOverlay/types.d.ts +11 -0
- package/dist/component/prize/MyPrizeList/index.vue.d.ts +3 -0
- package/dist/component/prize/MyPrizeList/type.d.ts +115 -0
- package/dist/component/prize/WinRecordBarrage/index.vue.d.ts +6 -0
- package/dist/component/prize/WinRecordBarrage/type.d.ts +41 -0
- package/dist/component/prize/WinRecordList/index.vue.d.ts +8 -0
- package/dist/component/prize/WinRecordList/type.d.ts +54 -0
- package/dist/component/scan/ScanTobaInput/type.d.ts +12 -0
- package/dist/component/scan/ScanTobaResult/type.d.ts +7 -0
- package/dist/component/scan/ScanTobaResultV2/type.d.ts +7 -0
- package/dist/component/shared/PopupWrapper/index.vue.d.ts +1 -1
- package/dist/constants.d.ts +33 -3
- package/dist/index.css +1 -1
- package/dist/index.es.js +18473 -7731
- package/dist/types/act.d.ts +506 -0
- package/dist/types/component.d.ts +152 -143
- package/dist/utils/busiHelper.d.ts +24 -0
- package/dist/utils/libraryManager.d.ts +0 -7
- package/dist/utils/request.d.ts +7 -6
- package/dist/utils/sessionHelper.d.ts +0 -15
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { IAddressItem, IUserInfo } from '../../../types/act';
|
|
2
|
+
import { IApiConfig } from '../../../types/component';
|
|
3
|
+
export interface IStyleSchema {
|
|
4
|
+
position: {
|
|
5
|
+
top: number;
|
|
6
|
+
left: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
zIndex: number;
|
|
10
|
+
centerHorizontal?: boolean;
|
|
11
|
+
};
|
|
12
|
+
container: {
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
padding: number;
|
|
15
|
+
};
|
|
16
|
+
form: {
|
|
17
|
+
labelPosition: 'top' | 'left' | 'none';
|
|
18
|
+
labelWidth: number;
|
|
19
|
+
labelColor: string;
|
|
20
|
+
labelFontSize: number;
|
|
21
|
+
itemSpacing: number;
|
|
22
|
+
};
|
|
23
|
+
input: {
|
|
24
|
+
backgroundColor: string;
|
|
25
|
+
textColor: string;
|
|
26
|
+
fontSize: number;
|
|
27
|
+
placeholderColor: string;
|
|
28
|
+
borderColor: string;
|
|
29
|
+
borderRadius: string;
|
|
30
|
+
height: number;
|
|
31
|
+
padding: number;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export interface IBusinessSchema {
|
|
35
|
+
placeholders: {
|
|
36
|
+
userName: string;
|
|
37
|
+
userPhone: string;
|
|
38
|
+
area: string;
|
|
39
|
+
streetName: string;
|
|
40
|
+
};
|
|
41
|
+
labels: {
|
|
42
|
+
userName: string;
|
|
43
|
+
userPhone: string;
|
|
44
|
+
area: string;
|
|
45
|
+
streetName: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export interface IProps {
|
|
49
|
+
comTimeId?: string;
|
|
50
|
+
styleSchema?: IStyleSchema;
|
|
51
|
+
businessSchema: IBusinessSchema;
|
|
52
|
+
previewConfig?: Record<string, IApiConfig>;
|
|
53
|
+
userInfo?: IUserInfo | null;
|
|
54
|
+
pageParams?: {
|
|
55
|
+
popAddress?: IAddressItem;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export declare const defaultProps: IProps;
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
previewConfig: Record<string, import('../../..').IApiConfig>;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { IApiConfig } from '../../../types/component';
|
|
2
|
+
interface IBackgroundConfig {
|
|
3
|
+
backgroundColor?: string;
|
|
4
|
+
gradientBackground?: string;
|
|
5
|
+
backgroundImage?: string;
|
|
6
|
+
borderRadius?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface IStyleSchema {
|
|
10
|
+
position: {
|
|
11
|
+
top: number;
|
|
12
|
+
left: number;
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
zIndex: number;
|
|
16
|
+
centerHorizontal?: boolean;
|
|
17
|
+
};
|
|
18
|
+
itemConfig?: {
|
|
19
|
+
itemGap?: number;
|
|
20
|
+
showShadow?: boolean;
|
|
21
|
+
backgroundConfig?: IBackgroundConfig;
|
|
22
|
+
topBackgroundConfig?: IBackgroundConfig;
|
|
23
|
+
bottomBackgroundConfig?: IBackgroundConfig;
|
|
24
|
+
};
|
|
25
|
+
infoAreaConfig?: {
|
|
26
|
+
padding?: number;
|
|
27
|
+
nameConfig?: {
|
|
28
|
+
color?: string;
|
|
29
|
+
fontSize?: number;
|
|
30
|
+
fontWeight?: number;
|
|
31
|
+
};
|
|
32
|
+
phoneConfig?: {
|
|
33
|
+
color?: string;
|
|
34
|
+
fontSize?: number;
|
|
35
|
+
fontWeight?: number;
|
|
36
|
+
};
|
|
37
|
+
addressConfig?: {
|
|
38
|
+
marginTop?: number;
|
|
39
|
+
color?: string;
|
|
40
|
+
fontSize?: number;
|
|
41
|
+
fontWeight?: number;
|
|
42
|
+
icon?: string;
|
|
43
|
+
};
|
|
44
|
+
checkboxConfig?: {
|
|
45
|
+
showCheckbox?: boolean;
|
|
46
|
+
style?: 'circle' | 'square';
|
|
47
|
+
fillType?: 'filled' | 'linear';
|
|
48
|
+
width?: number;
|
|
49
|
+
defaultColor?: string;
|
|
50
|
+
checkedColor?: string;
|
|
51
|
+
checkmarkColor?: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
actionArea?: {
|
|
55
|
+
editButtonConfig?: {
|
|
56
|
+
text?: string;
|
|
57
|
+
width?: number;
|
|
58
|
+
height?: number;
|
|
59
|
+
fontSize?: number;
|
|
60
|
+
color?: string;
|
|
61
|
+
backgroundColor?: string;
|
|
62
|
+
backgroundImage?: string;
|
|
63
|
+
showBorder?: string;
|
|
64
|
+
borderRadius?: number;
|
|
65
|
+
};
|
|
66
|
+
deleteButtonConfig?: {
|
|
67
|
+
text?: string;
|
|
68
|
+
sameEdit?: boolean;
|
|
69
|
+
width?: number;
|
|
70
|
+
height?: number;
|
|
71
|
+
fontSize?: number;
|
|
72
|
+
color?: string;
|
|
73
|
+
backgroundColor?: string;
|
|
74
|
+
backgroundImage?: string;
|
|
75
|
+
borderColor?: string;
|
|
76
|
+
borderRadius?: number;
|
|
77
|
+
};
|
|
78
|
+
defaultButtonConfig?: {
|
|
79
|
+
text?: string;
|
|
80
|
+
iconDefaultColor?: string;
|
|
81
|
+
iconActiveColor?: string;
|
|
82
|
+
textDefaultColor?: string;
|
|
83
|
+
textActiveColor?: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
export interface IBusinessSchema {
|
|
88
|
+
previewCount: number;
|
|
89
|
+
needTown?: boolean;
|
|
90
|
+
addressPop?: {
|
|
91
|
+
popId?: string;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export interface IProps {
|
|
95
|
+
styleSchema: IStyleSchema;
|
|
96
|
+
businessSchema: IBusinessSchema;
|
|
97
|
+
previewConfig: Record<string, IApiConfig>;
|
|
98
|
+
}
|
|
99
|
+
export declare const defaultProps: Required<IProps>;
|
|
100
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IAddressItem, IProvCity } from '../../../types/act';
|
|
2
|
+
import { IProps } from './type';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<IProps, {
|
|
4
|
+
getAddressList: () => Promise<IAddressItem[]>;
|
|
5
|
+
saveAddress: (addressInfo?: IAddressItem) => Promise<boolean>;
|
|
6
|
+
deleteAddress: (addressId: string) => Promise<boolean>;
|
|
7
|
+
setDefaultAddress: (addressId: string) => Promise<boolean>;
|
|
8
|
+
updateExpressAddress: () => Promise<boolean | undefined>;
|
|
9
|
+
getCityTreeList: () => IProvCity[];
|
|
10
|
+
getCountyTreeList: () => {
|
|
11
|
+
provCode: string;
|
|
12
|
+
provName: string;
|
|
13
|
+
children: {
|
|
14
|
+
cityCode: string;
|
|
15
|
+
cityName: string;
|
|
16
|
+
children: {
|
|
17
|
+
countyCode: string;
|
|
18
|
+
countyName: string;
|
|
19
|
+
}[];
|
|
20
|
+
}[];
|
|
21
|
+
}[];
|
|
22
|
+
getTownListByCityCode: (cityCode: string) => Promise<any>;
|
|
23
|
+
getNeedTown: () => boolean;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
comEvent: (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
|
|
27
|
+
onComEvent?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IActivityInfo, IAddressItem, IWinRecord } from '../../../types/act';
|
|
2
|
+
import { IApiConfig } from '../../../types/component';
|
|
3
|
+
export interface IBusinessSchema {
|
|
4
|
+
needTown?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface IProps {
|
|
7
|
+
businessSchema?: IBusinessSchema;
|
|
8
|
+
previewConfig?: Record<string, IApiConfig>;
|
|
9
|
+
phaseInfo: {
|
|
10
|
+
phaseId: string;
|
|
11
|
+
sourceId?: string;
|
|
12
|
+
};
|
|
13
|
+
activityInfo?: IActivityInfo;
|
|
14
|
+
pageParams?: {
|
|
15
|
+
popPrize: IWinRecord;
|
|
16
|
+
popAddress?: IAddressItem;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare const defaultProps: {
|
|
20
|
+
businessSchema: {
|
|
21
|
+
needTown: boolean;
|
|
22
|
+
};
|
|
23
|
+
previewConfig: {};
|
|
24
|
+
phaseInfo: {
|
|
25
|
+
phaseId: string;
|
|
26
|
+
sourceId: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
File without changes
|
|
@@ -1,45 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
height: number;
|
|
6
|
-
top: number;
|
|
7
|
-
bottom?: number;
|
|
8
|
-
verticalAlign?: 'top' | 'bottom';
|
|
9
|
-
zIndex: number;
|
|
10
|
-
centerHorizontal?: boolean;
|
|
11
|
-
};
|
|
12
|
-
text: {
|
|
13
|
-
text: string;
|
|
14
|
-
textColor: string;
|
|
15
|
-
fontSize: number;
|
|
16
|
-
};
|
|
17
|
-
background: {
|
|
18
|
-
backgroundColor: string;
|
|
19
|
-
backgroundImage: string;
|
|
20
|
-
};
|
|
21
|
-
borderRadius: {
|
|
22
|
-
borderRadius: string;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
interface BusinessSchema {
|
|
26
|
-
linkConfig: {
|
|
27
|
-
linkType: 'custom' | 'preset' | 'page';
|
|
28
|
-
customUrl: string;
|
|
29
|
-
presetUrl: string;
|
|
30
|
-
targetPageId: string;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
interface Props {
|
|
34
|
-
styleSchema?: StyleSchema;
|
|
35
|
-
businessSchema?: BusinessSchema;
|
|
36
|
-
}
|
|
37
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
-
comEvent: (...args: any[]) => void;
|
|
39
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
40
|
-
onComEvent?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
}>, {
|
|
42
|
-
styleSchema: StyleSchema;
|
|
43
|
-
businessSchema: BusinessSchema;
|
|
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;
|
|
44
5
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
6
|
export default _default;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export interface StyleSchema {
|
|
2
|
+
position: {
|
|
3
|
+
left: number;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
top: number;
|
|
7
|
+
bottom?: number;
|
|
8
|
+
verticalAlign?: 'top' | 'bottom';
|
|
9
|
+
zIndex: number;
|
|
10
|
+
centerHorizontal?: boolean;
|
|
11
|
+
};
|
|
12
|
+
text: {
|
|
13
|
+
text: string;
|
|
14
|
+
textColor: string;
|
|
15
|
+
fontSize: number;
|
|
16
|
+
};
|
|
17
|
+
background: {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
backgroundImage: string;
|
|
20
|
+
};
|
|
21
|
+
borderRadius: {
|
|
22
|
+
borderRadius: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export interface BusinessSchema {
|
|
26
|
+
actionConfig: {
|
|
27
|
+
actionType: 'navigation' | 'popup' | 'page';
|
|
28
|
+
presetUrl?: string;
|
|
29
|
+
popupSet?: {
|
|
30
|
+
popupAction?: 'open' | 'close' | 'closeAll';
|
|
31
|
+
targetPopupId?: string;
|
|
32
|
+
closeCurrentBeforeOpen?: boolean;
|
|
33
|
+
targetOpenId?: string;
|
|
34
|
+
};
|
|
35
|
+
pageAction?: 'close' | 'back' | 'reload';
|
|
36
|
+
};
|
|
37
|
+
trackingSet?: {
|
|
38
|
+
trackingList: any[];
|
|
39
|
+
};
|
|
40
|
+
eventRelative?: {
|
|
41
|
+
priority: boolean;
|
|
42
|
+
eventKey: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface IProps {
|
|
46
|
+
styleSchema?: StyleSchema;
|
|
47
|
+
businessSchema?: BusinessSchema;
|
|
48
|
+
}
|
|
49
|
+
export declare const defaultProps: {
|
|
50
|
+
styleSchema: () => {
|
|
51
|
+
position: {
|
|
52
|
+
left: number;
|
|
53
|
+
width: number;
|
|
54
|
+
height: number;
|
|
55
|
+
top: number;
|
|
56
|
+
bottom: number;
|
|
57
|
+
verticalAlign: "top";
|
|
58
|
+
zIndex: number;
|
|
59
|
+
centerHorizontal: boolean;
|
|
60
|
+
};
|
|
61
|
+
text: {
|
|
62
|
+
text: string;
|
|
63
|
+
textColor: string;
|
|
64
|
+
fontSize: number;
|
|
65
|
+
};
|
|
66
|
+
background: {
|
|
67
|
+
backgroundColor: string;
|
|
68
|
+
backgroundImage: string;
|
|
69
|
+
};
|
|
70
|
+
borderRadius: {
|
|
71
|
+
borderRadius: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
businessSchema: () => {
|
|
75
|
+
actionConfig: {
|
|
76
|
+
actionType: "navigation";
|
|
77
|
+
presetUrl: string;
|
|
78
|
+
popupSet: {
|
|
79
|
+
popupAction: "open";
|
|
80
|
+
targetPopupId: string;
|
|
81
|
+
closeCurrentBeforeOpen: boolean;
|
|
82
|
+
};
|
|
83
|
+
pageAction: "close";
|
|
84
|
+
};
|
|
85
|
+
trackingSet: {
|
|
86
|
+
trackingList: never[];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface IStyleSchema {
|
|
2
|
+
position: {
|
|
3
|
+
left: number;
|
|
4
|
+
top: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
zIndex: number;
|
|
8
|
+
centerHorizontal?: boolean;
|
|
9
|
+
};
|
|
10
|
+
button: {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
disabledBackgroundColor: string;
|
|
13
|
+
borderRadius: number;
|
|
14
|
+
};
|
|
15
|
+
text: {
|
|
16
|
+
buttonText: string;
|
|
17
|
+
disabledText: string;
|
|
18
|
+
textColor: string;
|
|
19
|
+
disabledTextColor: string;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
fontWeight: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface IBusinessSchema {
|
|
25
|
+
countdown: {
|
|
26
|
+
seconds: number;
|
|
27
|
+
mode: 'auto' | 'manual' | 'both';
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface IProps {
|
|
31
|
+
styleSchema?: IStyleSchema;
|
|
32
|
+
businessSchema?: IBusinessSchema;
|
|
33
|
+
}
|
|
34
|
+
export declare const defaultProps: IProps;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface IStyleSchema {
|
|
2
|
+
position: {
|
|
3
|
+
left: number;
|
|
4
|
+
top: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
zIndex: number;
|
|
8
|
+
centerHorizontal?: boolean;
|
|
9
|
+
};
|
|
10
|
+
button: {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
disabledBackgroundColor: string;
|
|
13
|
+
borderRadius: number;
|
|
14
|
+
};
|
|
15
|
+
text: {
|
|
16
|
+
buttonText: string;
|
|
17
|
+
disabledText: string;
|
|
18
|
+
textColor: string;
|
|
19
|
+
disabledTextColor: string;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
fontWeight: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface IBusinessSchema {
|
|
25
|
+
countdown: {
|
|
26
|
+
seconds: number;
|
|
27
|
+
mode: 'auto' | 'manual' | 'both';
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface IProps {
|
|
31
|
+
styleSchema?: IStyleSchema;
|
|
32
|
+
businessSchema?: IBusinessSchema;
|
|
33
|
+
}
|
|
34
|
+
export declare const defaultProps: IProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IProps } from './
|
|
1
|
+
import { IProps } from './type';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
3
|
-
styleSchema: import('./
|
|
4
|
-
businessSchema: import('./
|
|
3
|
+
styleSchema: import('./type').StyleSchema;
|
|
4
|
+
businessSchema: import('./type').BusinessSchema;
|
|
5
5
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export interface StyleSchema {
|
|
2
|
+
position: {
|
|
3
|
+
top: number;
|
|
4
|
+
bottom?: number;
|
|
5
|
+
verticalAlign?: 'top' | 'bottom';
|
|
6
|
+
height: number;
|
|
7
|
+
left: number;
|
|
8
|
+
centerHorizontal: boolean;
|
|
9
|
+
width: number;
|
|
10
|
+
zIndex: number;
|
|
11
|
+
};
|
|
12
|
+
background: {
|
|
13
|
+
mode: 'solid' | 'linear-gradient' | 'radial-gradient' | 'custom-gradient' | 'image' | 'three-part-image' | 'none';
|
|
14
|
+
backgroundSolid?: {
|
|
15
|
+
solidColor: string;
|
|
16
|
+
};
|
|
17
|
+
backgroundLinearGradient?: {
|
|
18
|
+
gradientAngle: number;
|
|
19
|
+
gradientStartColor: string;
|
|
20
|
+
gradientEndColor: string;
|
|
21
|
+
};
|
|
22
|
+
backgroundRadialGradient?: {
|
|
23
|
+
gradientStartColor: string;
|
|
24
|
+
gradientEndColor: string;
|
|
25
|
+
};
|
|
26
|
+
backgroundCustomGradient?: {
|
|
27
|
+
gradientValue: string;
|
|
28
|
+
};
|
|
29
|
+
backgroundImage?: {
|
|
30
|
+
imageUrl?: string;
|
|
31
|
+
imageSize?: 'cover' | 'contain' | 'auto' | 'stretch' | 'custom';
|
|
32
|
+
imageSizeCustom?: string;
|
|
33
|
+
imagePosition?: 'center center' | 'center top' | 'center bottom' | 'left center' | 'right center' | 'left top' | 'right top' | 'left bottom' | 'right bottom' | 'custom';
|
|
34
|
+
imagePositionCustom?: string;
|
|
35
|
+
imageRepeat?: 'no-repeat' | 'repeat' | 'repeat-x' | 'repeat-y';
|
|
36
|
+
imageOpacity?: number;
|
|
37
|
+
};
|
|
38
|
+
backgroundThreePart?: {
|
|
39
|
+
topImage?: string;
|
|
40
|
+
topImageHeight?: number;
|
|
41
|
+
middleImage?: string;
|
|
42
|
+
bottomImage?: string;
|
|
43
|
+
bottomImageHeight?: number;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
borderRadius: {
|
|
47
|
+
borderRadius: number;
|
|
48
|
+
};
|
|
49
|
+
border: {
|
|
50
|
+
enabled: boolean;
|
|
51
|
+
width?: number;
|
|
52
|
+
style?: 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge';
|
|
53
|
+
color?: string;
|
|
54
|
+
};
|
|
55
|
+
shadow: {
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
type?: 'outer' | 'inner';
|
|
58
|
+
offsetX?: number;
|
|
59
|
+
offsetY?: number;
|
|
60
|
+
blur?: number;
|
|
61
|
+
spread?: number;
|
|
62
|
+
color?: string;
|
|
63
|
+
};
|
|
64
|
+
filter: {
|
|
65
|
+
blur: number;
|
|
66
|
+
brightness: number;
|
|
67
|
+
contrast: number;
|
|
68
|
+
saturate: number;
|
|
69
|
+
grayscale: number;
|
|
70
|
+
hueRotate: number;
|
|
71
|
+
invert: number;
|
|
72
|
+
opacity: number;
|
|
73
|
+
};
|
|
74
|
+
advanced: {
|
|
75
|
+
backdropBlur: boolean;
|
|
76
|
+
backdropBlurAmount?: number;
|
|
77
|
+
noiseTexture: boolean;
|
|
78
|
+
noiseOpacity?: number;
|
|
79
|
+
clipPath: 'none' | 'circle' | 'ellipse' | 'triangle' | 'rhombus' | 'pentagon' | 'hexagon' | 'star' | 'custom';
|
|
80
|
+
clipPathCustom?: string;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export interface BusinessSchema {
|
|
84
|
+
}
|
|
85
|
+
export interface IProps {
|
|
86
|
+
styleSchema?: StyleSchema;
|
|
87
|
+
businessSchema?: BusinessSchema;
|
|
88
|
+
}
|
|
89
|
+
export declare const defaultProps: {
|
|
90
|
+
styleSchema: () => {
|
|
91
|
+
position: {
|
|
92
|
+
top: number;
|
|
93
|
+
bottom: number;
|
|
94
|
+
verticalAlign: "top";
|
|
95
|
+
height: number;
|
|
96
|
+
left: number;
|
|
97
|
+
centerHorizontal: boolean;
|
|
98
|
+
width: number;
|
|
99
|
+
zIndex: number;
|
|
100
|
+
};
|
|
101
|
+
background: {
|
|
102
|
+
mode: "solid";
|
|
103
|
+
backgroundSolid: {
|
|
104
|
+
solidColor: string;
|
|
105
|
+
};
|
|
106
|
+
backgroundLinearGradient: {
|
|
107
|
+
gradientAngle: number;
|
|
108
|
+
gradientStartColor: string;
|
|
109
|
+
gradientEndColor: string;
|
|
110
|
+
};
|
|
111
|
+
backgroundRadialGradient: {
|
|
112
|
+
gradientStartColor: string;
|
|
113
|
+
gradientEndColor: string;
|
|
114
|
+
};
|
|
115
|
+
backgroundCustomGradient: {
|
|
116
|
+
gradientValue: string;
|
|
117
|
+
};
|
|
118
|
+
backgroundImage: {
|
|
119
|
+
imageUrl: string;
|
|
120
|
+
imageSize: "cover";
|
|
121
|
+
imagePosition: "center center";
|
|
122
|
+
imageRepeat: "no-repeat";
|
|
123
|
+
imageOpacity: number;
|
|
124
|
+
};
|
|
125
|
+
backgroundThreePart: {
|
|
126
|
+
topImage: string;
|
|
127
|
+
topImageHeight: number;
|
|
128
|
+
middleImage: string;
|
|
129
|
+
bottomImage: string;
|
|
130
|
+
bottomImageHeight: number;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
borderRadius: {
|
|
134
|
+
borderRadius: number;
|
|
135
|
+
};
|
|
136
|
+
border: {
|
|
137
|
+
enabled: boolean;
|
|
138
|
+
width: number;
|
|
139
|
+
style: "solid";
|
|
140
|
+
color: string;
|
|
141
|
+
};
|
|
142
|
+
shadow: {
|
|
143
|
+
enabled: boolean;
|
|
144
|
+
type: "outer";
|
|
145
|
+
offsetX: number;
|
|
146
|
+
offsetY: number;
|
|
147
|
+
blur: number;
|
|
148
|
+
spread: number;
|
|
149
|
+
color: string;
|
|
150
|
+
};
|
|
151
|
+
filter: {
|
|
152
|
+
blur: number;
|
|
153
|
+
brightness: number;
|
|
154
|
+
contrast: number;
|
|
155
|
+
saturate: number;
|
|
156
|
+
grayscale: number;
|
|
157
|
+
hueRotate: number;
|
|
158
|
+
invert: number;
|
|
159
|
+
opacity: number;
|
|
160
|
+
};
|
|
161
|
+
advanced: {
|
|
162
|
+
backdropBlur: boolean;
|
|
163
|
+
backdropBlurAmount: number;
|
|
164
|
+
noiseTexture: boolean;
|
|
165
|
+
noiseOpacity: number;
|
|
166
|
+
clipPath: "none";
|
|
167
|
+
clipPathCustom: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
businessSchema: () => {};
|
|
171
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const placeholderMap: Record<string, string>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { IProps } from './type';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
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
|
+
}>, {
|
|
3
7
|
styleSchema: import('./type').StyleSchema;
|
|
4
8
|
businessSchema: import('./type').BusinessSchema;
|
|
5
9
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IWinRecord } from '../../../../types/act';
|
|
1
2
|
export interface StyleSchema {
|
|
2
3
|
position: {
|
|
3
4
|
left: number;
|
|
@@ -27,10 +28,20 @@ export interface BusinessSchema {
|
|
|
27
28
|
image?: {
|
|
28
29
|
imageUrl?: string;
|
|
29
30
|
};
|
|
31
|
+
trackingSet?: {
|
|
32
|
+
trackingList?: Array<{
|
|
33
|
+
relative: string;
|
|
34
|
+
code: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
30
38
|
}
|
|
31
39
|
export interface IProps {
|
|
32
40
|
styleSchema?: StyleSchema;
|
|
33
41
|
businessSchema?: BusinessSchema;
|
|
42
|
+
pageParams?: {
|
|
43
|
+
popPrize: IWinRecord;
|
|
44
|
+
};
|
|
34
45
|
}
|
|
35
46
|
export declare const defaultProps: {
|
|
36
47
|
styleSchema: () => {
|