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,154 @@
|
|
|
1
|
+
import { IApiConfig } from '../../../types/component';
|
|
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
|
+
resultTextContent: {
|
|
14
|
+
openEditType: string;
|
|
15
|
+
position: {
|
|
16
|
+
marginTop: number;
|
|
17
|
+
};
|
|
18
|
+
defaultTextStyle: {
|
|
19
|
+
color: string;
|
|
20
|
+
fontSize: number;
|
|
21
|
+
fontWeight: number;
|
|
22
|
+
};
|
|
23
|
+
'1': {
|
|
24
|
+
text: string;
|
|
25
|
+
useDefaultStyle?: boolean;
|
|
26
|
+
fontSize?: number;
|
|
27
|
+
color?: string;
|
|
28
|
+
fontWeight?: number;
|
|
29
|
+
};
|
|
30
|
+
'2': {
|
|
31
|
+
text: string;
|
|
32
|
+
useDefaultStyle?: boolean;
|
|
33
|
+
fontSize?: number;
|
|
34
|
+
color?: string;
|
|
35
|
+
fontWeight?: number;
|
|
36
|
+
};
|
|
37
|
+
'3': {
|
|
38
|
+
text: string;
|
|
39
|
+
useDefaultStyle?: boolean;
|
|
40
|
+
fontSize?: number;
|
|
41
|
+
color?: string;
|
|
42
|
+
fontWeight?: number;
|
|
43
|
+
};
|
|
44
|
+
'4': {
|
|
45
|
+
text: string;
|
|
46
|
+
useDefaultStyle?: boolean;
|
|
47
|
+
fontSize?: number;
|
|
48
|
+
color?: string;
|
|
49
|
+
fontWeight?: number;
|
|
50
|
+
};
|
|
51
|
+
'5': {
|
|
52
|
+
text: string;
|
|
53
|
+
useDefaultStyle?: boolean;
|
|
54
|
+
fontSize?: number;
|
|
55
|
+
color?: string;
|
|
56
|
+
fontWeight?: number;
|
|
57
|
+
};
|
|
58
|
+
'6': {
|
|
59
|
+
text: string;
|
|
60
|
+
useDefaultStyle?: boolean;
|
|
61
|
+
fontSize?: number;
|
|
62
|
+
color?: string;
|
|
63
|
+
fontWeight?: number;
|
|
64
|
+
};
|
|
65
|
+
'7': {
|
|
66
|
+
text: string;
|
|
67
|
+
useDefaultStyle?: boolean;
|
|
68
|
+
fontSize?: number;
|
|
69
|
+
color?: string;
|
|
70
|
+
fontWeight?: number;
|
|
71
|
+
};
|
|
72
|
+
'8': {
|
|
73
|
+
text: string;
|
|
74
|
+
useDefaultStyle?: boolean;
|
|
75
|
+
fontSize?: number;
|
|
76
|
+
color?: string;
|
|
77
|
+
fontWeight?: number;
|
|
78
|
+
};
|
|
79
|
+
'9': {
|
|
80
|
+
text: string;
|
|
81
|
+
useDefaultStyle?: boolean;
|
|
82
|
+
fontSize?: number;
|
|
83
|
+
color?: string;
|
|
84
|
+
fontWeight?: number;
|
|
85
|
+
};
|
|
86
|
+
other: {
|
|
87
|
+
text: string;
|
|
88
|
+
useDefaultStyle?: boolean;
|
|
89
|
+
fontSize?: number;
|
|
90
|
+
color?: string;
|
|
91
|
+
fontWeight?: number;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
validateTime: {
|
|
95
|
+
show: boolean;
|
|
96
|
+
position: {
|
|
97
|
+
centerHorizontal?: boolean;
|
|
98
|
+
marginLeft: number;
|
|
99
|
+
marginTop: number;
|
|
100
|
+
};
|
|
101
|
+
textStyle: {
|
|
102
|
+
leftLabel: string;
|
|
103
|
+
timeFormat: string;
|
|
104
|
+
titleColor: string;
|
|
105
|
+
titleFontSize: number;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
confirmButton: {
|
|
109
|
+
position: {
|
|
110
|
+
centerHorizontal?: boolean;
|
|
111
|
+
marginLeft: number;
|
|
112
|
+
marginTop: number;
|
|
113
|
+
width: number;
|
|
114
|
+
height: number;
|
|
115
|
+
};
|
|
116
|
+
background: {
|
|
117
|
+
backgroundImage: string;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
transform: {
|
|
121
|
+
rotate: {
|
|
122
|
+
angle: number;
|
|
123
|
+
enableAnimation: boolean;
|
|
124
|
+
};
|
|
125
|
+
scale: {
|
|
126
|
+
value: number;
|
|
127
|
+
enableAnimation: boolean;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
export interface BusinessSchema {
|
|
132
|
+
jumpConfig: {
|
|
133
|
+
jumpUrl: string;
|
|
134
|
+
};
|
|
135
|
+
trackingSet?: {
|
|
136
|
+
trackingList?: Array<{
|
|
137
|
+
relative: string;
|
|
138
|
+
code: string;
|
|
139
|
+
type: string;
|
|
140
|
+
}>;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
export interface IProps {
|
|
144
|
+
styleSchema?: StyleSchema;
|
|
145
|
+
businessSchema?: BusinessSchema;
|
|
146
|
+
previewConfig?: Record<string, IApiConfig>;
|
|
147
|
+
pageParams: {
|
|
148
|
+
checkStatus: number;
|
|
149
|
+
qrCodeMd5: string;
|
|
150
|
+
tobaId: string;
|
|
151
|
+
isFirst: 0 | 1;
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
export declare const defaultPageProps: IProps;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
maskColor?: string;
|
|
4
|
+
animation?: string;
|
|
5
|
+
zIndex?: number;
|
|
6
|
+
closeOnMaskClick?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
close?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:visible": (value: boolean) => any;
|
|
20
|
+
maskClick: () => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
onMaskClick?: (() => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
zIndex: number;
|
|
26
|
+
animation: string;
|
|
27
|
+
maskColor: string;
|
|
28
|
+
closeOnMaskClick: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
input: {
|
|
11
|
+
placeholder: string;
|
|
12
|
+
textColor: string;
|
|
13
|
+
fontSize: number;
|
|
14
|
+
borderColor: string;
|
|
15
|
+
borderWidth: number;
|
|
16
|
+
borderRadius: string;
|
|
17
|
+
};
|
|
18
|
+
captcha: {
|
|
19
|
+
imageWidth: number;
|
|
20
|
+
imageHeight: number;
|
|
21
|
+
imageRadius: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
interface BusinessSchema {
|
|
25
|
+
apiConfig: {
|
|
26
|
+
captchaUrl: string;
|
|
27
|
+
refreshInterval: number;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
interface Props {
|
|
31
|
+
styleSchema?: StyleSchema;
|
|
32
|
+
businessSchema?: BusinessSchema;
|
|
33
|
+
}
|
|
34
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
35
|
+
styleSchema: StyleSchema;
|
|
36
|
+
businessSchema: BusinessSchema;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 组件JSON数据格式定义
|
|
3
|
+
* 低代码平台组件配置数据结构
|
|
4
|
+
*/
|
|
5
|
+
export { ComponentGroup, ComponentGroupLabels, ConfigArrType, FormItemEditType } from '../share';
|
|
6
|
+
/** 动画类型 */
|
|
7
|
+
export declare enum AnimationType {
|
|
8
|
+
FADE_IN = "fadeIn",
|
|
9
|
+
SLIDE_IN = "slideIn",
|
|
10
|
+
ZOOM_IN = "zoomIn",
|
|
11
|
+
BOUNCE_IN = "bounceIn"
|
|
12
|
+
}
|
|
13
|
+
export declare const COM_IS_EDITING = "wkc-com-is-editing";
|
|
14
|
+
export declare const COM_IS_PREVIEW = "wkc-is-preview";
|
|
15
|
+
export declare const COM_IS_WRAPPER = "wkc-com-is-wrapper";
|
|
16
|
+
export declare const COM_API_TOKEN = "wkc-apiToken";
|
|
17
|
+
export declare const COM_API_BASE = "wkc-api-pre";
|
|
18
|
+
export declare const POP_PORT_MOBILE_ID = "h5-pop-tport";
|
|
19
|
+
export declare const PAGE_ROUTE_QUERY_KEY = "wkc-session-key-routeQuery";
|
|
20
|
+
export declare const LOCATION_INFO_KEY = "wkc-session-key-locationInfo";
|
|
21
|
+
export declare const ACT_REDIRECT_URL = "/service/activity/act/access/redirect?";
|
|
22
|
+
export declare const COMPONENT_EMIT_KEY = "comEvent";
|
|
23
|
+
export declare const COMPONENT_EVENT: {
|
|
24
|
+
pageChange: string;
|
|
25
|
+
lockScroll: string;
|
|
26
|
+
closeWindow: string;
|
|
27
|
+
getLocation: string;
|
|
28
|
+
wxShare: string;
|
|
29
|
+
tracking: string;
|
|
30
|
+
openPopup: string;
|
|
31
|
+
closePopup: string;
|
|
32
|
+
closeAllPopup: string;
|
|
33
|
+
updatePageParams: string;
|
|
34
|
+
exeEventBus: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const LUCKY_INNER_EVENT: {
|
|
37
|
+
name: string;
|
|
38
|
+
ev_getWinRecordList: string;
|
|
39
|
+
ev_executeDraw: string;
|
|
40
|
+
ev_getActWinRank30: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const ADD_INNER_EVENT: {
|
|
43
|
+
name: string;
|
|
44
|
+
ev_getAddressList: string;
|
|
45
|
+
ev_delete: string;
|
|
46
|
+
ev_save: string;
|
|
47
|
+
ev_setDefault: string;
|
|
48
|
+
ev_setPrizeAddress: string;
|
|
49
|
+
ev_getCityTreeList: string;
|
|
50
|
+
ev_getCountyTreeList: string;
|
|
51
|
+
ev_getTownListByCityCode: string;
|
|
52
|
+
ev_getNeedTown: string;
|
|
53
|
+
};
|
|
54
|
+
export declare const LIVE_INNER_EVENT: {
|
|
55
|
+
name: string;
|
|
56
|
+
ev_sign: string;
|
|
57
|
+
ev_signDraw: string;
|
|
58
|
+
};
|
|
59
|
+
export declare const LIVE_STATUS_LIST: {
|
|
60
|
+
label: string;
|
|
61
|
+
value: number;
|
|
62
|
+
code: string;
|
|
63
|
+
}[];
|