@polyv/iar-lucky-lottery-ui 2.0.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/index.es.d.ts ADDED
@@ -0,0 +1,176 @@
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { DefineComponent } from 'vue';
3
+ import { ExtractPropTypes } from 'vue';
4
+ import { LuckyLottery } from '@polyv/lucky-lottery-sdk';
5
+ import { LuckyLotteryActivityDetailData } from '@polyv/lucky-lottery-sdk';
6
+ import { LuckyLotteryActivityItem } from '@polyv/lucky-lottery-sdk';
7
+ import { PopupConfig } from '@polyv/vue-components';
8
+ import { ValidatorFunction } from 'vue-types/dist/types';
9
+ import { VueTypeValidableDef } from 'vue-types';
10
+
11
+ export declare interface LotteryRecordInstance {
12
+ /** 刷新中奖记录 */
13
+ refreshPrizeList: () => unknown;
14
+ }
15
+
16
+ export declare const LuckyLotteryDetail: DefineComponent< {
17
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>>;
18
+ lotteryActivity: VueTypeValidableDef<LuckyLotteryActivityDetailData, ValidatorFunction<LuckyLotteryActivityDetailData>>;
19
+ preview: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
20
+ default: boolean;
21
+ } & {
22
+ default: boolean;
23
+ };
24
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
25
+ appendToClass: VueTypeValidableDef<string, ValidatorFunction<string>> & {
26
+ default: string;
27
+ };
28
+ }, {
29
+ getLotteryActivity: (taskId: number) => Promise<LuckyLotteryActivityDetailData | undefined>;
30
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
31
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>>;
32
+ lotteryActivity: VueTypeValidableDef<LuckyLotteryActivityDetailData, ValidatorFunction<LuckyLotteryActivityDetailData>>;
33
+ preview: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
34
+ default: boolean;
35
+ } & {
36
+ default: boolean;
37
+ };
38
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
39
+ appendToClass: VueTypeValidableDef<string, ValidatorFunction<string>> & {
40
+ default: string;
41
+ };
42
+ }>>, {
43
+ preview: boolean;
44
+ appendToClass: string;
45
+ }>;
46
+
47
+ export declare const LuckyLotteryPendant: DefineComponent< {
48
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
49
+ required: true;
50
+ };
51
+ isFullScreen: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
52
+ default: boolean;
53
+ } & {
54
+ default: boolean;
55
+ };
56
+ beforeClickInterrupt: VueTypeValidableDef<() => boolean | Promise<boolean>, ValidatorFunction<() => boolean | Promise<boolean>>>;
57
+ iconUrl: VueTypeValidableDef<string, ValidatorFunction<string>> & {
58
+ default: string;
59
+ } & {
60
+ default: string;
61
+ };
62
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
63
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
64
+ required: true;
65
+ };
66
+ isFullScreen: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
67
+ default: boolean;
68
+ } & {
69
+ default: boolean;
70
+ };
71
+ beforeClickInterrupt: VueTypeValidableDef<() => boolean | Promise<boolean>, ValidatorFunction<() => boolean | Promise<boolean>>>;
72
+ iconUrl: VueTypeValidableDef<string, ValidatorFunction<string>> & {
73
+ default: string;
74
+ } & {
75
+ default: string;
76
+ };
77
+ }>>, {
78
+ isFullScreen: boolean;
79
+ iconUrl: string;
80
+ }>;
81
+
82
+ export declare interface LuckyLotteryReceiveInstance {
83
+ setupRecordData(recordId: number): Promise<void>;
84
+ }
85
+
86
+ export declare const MobileLuckyLotteryDetail: DefineComponent< {
87
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>>;
88
+ lotteryActivity: VueTypeValidableDef<LuckyLotteryActivityDetailData, ValidatorFunction<LuckyLotteryActivityDetailData>>;
89
+ preview: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
90
+ default: boolean;
91
+ } & {
92
+ default: boolean;
93
+ };
94
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
95
+ appendToClass: VueTypeValidableDef<string, ValidatorFunction<string>> & {
96
+ default: string;
97
+ };
98
+ }, {
99
+ open: typeof open_2;
100
+ close: () => void;
101
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
102
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>>;
103
+ lotteryActivity: VueTypeValidableDef<LuckyLotteryActivityDetailData, ValidatorFunction<LuckyLotteryActivityDetailData>>;
104
+ preview: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
105
+ default: boolean;
106
+ } & {
107
+ default: boolean;
108
+ };
109
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
110
+ appendToClass: VueTypeValidableDef<string, ValidatorFunction<string>> & {
111
+ default: string;
112
+ };
113
+ }>>, {
114
+ preview: boolean;
115
+ appendToClass: string;
116
+ }>;
117
+
118
+ export declare const MobileLuckyLotteryList: DefineComponent< {
119
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
120
+ required: true;
121
+ };
122
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
123
+ }, {
124
+ open: () => void;
125
+ close: () => void;
126
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
127
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
128
+ required: true;
129
+ };
130
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
131
+ }>>, {}>;
132
+
133
+ export declare const MobileLuckyLotteryPrizeList: DefineComponent< {
134
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
135
+ required: true;
136
+ };
137
+ immediateList: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
138
+ default: boolean;
139
+ } & {
140
+ default: boolean;
141
+ };
142
+ }, {
143
+ refreshPrizeList: () => unknown;
144
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
145
+ "to-show": (arg?: void | undefined) => void;
146
+ "to-close": (arg?: void | undefined) => void;
147
+ }, string, Readonly<ExtractPropTypes< {
148
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
149
+ required: true;
150
+ };
151
+ immediateList: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
152
+ default: boolean;
153
+ } & {
154
+ default: boolean;
155
+ };
156
+ }>>, {
157
+ immediateList: boolean;
158
+ }>;
159
+
160
+ export declare const MobileLuckyLotteryReceive: DefineComponent< {
161
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
162
+ required: true;
163
+ };
164
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
165
+ }, {
166
+ setupRecordData(recordId: number): Promise<void>;
167
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
168
+ luckyLotteryTarget: VueTypeValidableDef<LuckyLottery, ValidatorFunction<LuckyLottery>> & {
169
+ required: true;
170
+ };
171
+ popupConfig: VueTypeValidableDef<PopupConfig, ValidatorFunction<PopupConfig>>;
172
+ }>>, {}>;
173
+
174
+ declare function open_2(lotteryActivity: LuckyLotteryActivityItem): Promise<void>;
175
+
176
+ export { }