@everymatrix/lottery-hakuna-ticket-history 0.0.1
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/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-dc95b9af.js +1336 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/lottery-button_8.cjs.entry.js +1427 -0
- package/dist/cjs/lottery-hakuna-ticket-history-84d9a41b.js +2697 -0
- package/dist/cjs/lottery-hakuna-ticket-history.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +50 -0
- package/dist/collection/components/lottery-hakuna-ticket-history/index.js +1 -0
- package/dist/collection/components/lottery-hakuna-ticket-history/lottery-hakuna-ticket-history.css +74 -0
- package/dist/collection/components/lottery-hakuna-ticket-history/lottery-hakuna-ticket-history.js +589 -0
- package/dist/collection/components/lottery-infinite-scroll/lottery-infinite-scroll.css +69 -0
- package/dist/collection/components/lottery-infinite-scroll/lottery-infinite-scroll.js +556 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/index.js +21 -0
- package/dist/collection/utils/api.js +149 -0
- package/dist/collection/utils/locale.utils.js +42 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-50addd47.js +1307 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/lottery-button_8.entry.js +1417 -0
- package/dist/esm/lottery-hakuna-ticket-history-cdab50d9.js +2691 -0
- package/dist/esm/lottery-hakuna-ticket-history.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/lottery-hakuna-ticket-history/app-globals-0f993ce5.js +1 -0
- package/dist/lottery-hakuna-ticket-history/index-50addd47.js +2 -0
- package/dist/lottery-hakuna-ticket-history/index.esm.js +1 -0
- package/dist/lottery-hakuna-ticket-history/lottery-button_8.entry.js +1 -0
- package/dist/lottery-hakuna-ticket-history/lottery-hakuna-ticket-history-cdab50d9.js +1 -0
- package/dist/lottery-hakuna-ticket-history/lottery-hakuna-ticket-history.esm.js +1 -0
- package/dist/stencil.config.dev.js +19 -0
- package/dist/stencil.config.js +19 -0
- package/dist/storybook/main.js +43 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/packages/stencil/lottery-hakuna-ticket-history/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/packages/stencil/lottery-hakuna-ticket-history/stencil.config.dev.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/packages/stencil/lottery-hakuna-ticket-history/storybook/main.d.ts +3 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/packages/stencil/lottery-hakuna-ticket-history/storybook/preview.d.ts +70 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/tools/plugins/index.d.ts +4 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/lottery-hakuna-ticket-history/index.d.ts +1 -0
- package/dist/types/components/lottery-hakuna-ticket-history/lottery-hakuna-ticket-history.d.ts +131 -0
- package/dist/types/components/lottery-infinite-scroll/lottery-infinite-scroll.d.ts +106 -0
- package/dist/types/components.d.ts +362 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/index.d.ts +199 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/api.d.ts +8 -0
- package/dist/types/utils/locale.utils.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +27 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
export interface Options {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export interface FilterParams {
|
|
6
|
+
from?: string;
|
|
7
|
+
to?: string;
|
|
8
|
+
wagerType?: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
state?: TicketStatus;
|
|
11
|
+
}
|
|
12
|
+
export interface FilterParamsReq extends FilterParams {
|
|
13
|
+
vendorGameType: string;
|
|
14
|
+
vendorGameBettingObject?: string;
|
|
15
|
+
offset: number;
|
|
16
|
+
limit: number;
|
|
17
|
+
}
|
|
18
|
+
export declare enum GameType {
|
|
19
|
+
Lottery = "Lottery",
|
|
20
|
+
PoolGame = "PoolGame"
|
|
21
|
+
}
|
|
22
|
+
export declare enum GameBettingObject {
|
|
23
|
+
Tipping = "HomeDrawAway",
|
|
24
|
+
Oddsbomben = "CorrectScore"
|
|
25
|
+
}
|
|
26
|
+
export declare enum TicketStatus {
|
|
27
|
+
Settled = "Settled",
|
|
28
|
+
Purchased = "Purchased",
|
|
29
|
+
Canceled = "Canceled"
|
|
30
|
+
}
|
|
31
|
+
export interface Options {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
}
|
|
35
|
+
export interface Board {
|
|
36
|
+
betName: string;
|
|
37
|
+
betType: string;
|
|
38
|
+
metadata: object;
|
|
39
|
+
multiplier: boolean;
|
|
40
|
+
quickPick: boolean;
|
|
41
|
+
selections: Array<number>;
|
|
42
|
+
stake: number;
|
|
43
|
+
secondarySelections: Array<number>;
|
|
44
|
+
tertiarySelections: Array<number>;
|
|
45
|
+
poolGameSelections?: string[][][];
|
|
46
|
+
}
|
|
47
|
+
export interface ErrorDetail {
|
|
48
|
+
code: string;
|
|
49
|
+
message: string;
|
|
50
|
+
date: string;
|
|
51
|
+
data: string;
|
|
52
|
+
}
|
|
53
|
+
export interface DrawResultDetail {
|
|
54
|
+
amount: number;
|
|
55
|
+
currency: string;
|
|
56
|
+
division: number;
|
|
57
|
+
draw_date: string;
|
|
58
|
+
draw_id: string;
|
|
59
|
+
prizeName: string;
|
|
60
|
+
divisionDisplayName: string;
|
|
61
|
+
shares: number;
|
|
62
|
+
}
|
|
63
|
+
export declare enum DrawResult {
|
|
64
|
+
WON = "Won",
|
|
65
|
+
LOST = "Lost"
|
|
66
|
+
}
|
|
67
|
+
export interface WinningNumber {
|
|
68
|
+
drawType: string;
|
|
69
|
+
numbers: Array<number>;
|
|
70
|
+
secondaryNumbers: Array<number>;
|
|
71
|
+
teritaryNumbers: Array<number>;
|
|
72
|
+
winning_type: string;
|
|
73
|
+
poolGameOutcomes?: string[][][];
|
|
74
|
+
}
|
|
75
|
+
interface PrizeDetail {
|
|
76
|
+
prizeName: string;
|
|
77
|
+
amount: number;
|
|
78
|
+
currency: string;
|
|
79
|
+
times: number;
|
|
80
|
+
}
|
|
81
|
+
export interface TicketDrawResult {
|
|
82
|
+
amount: number;
|
|
83
|
+
currency: string;
|
|
84
|
+
details: Array<DrawResultDetail>;
|
|
85
|
+
drawId: string;
|
|
86
|
+
drawStatus: string;
|
|
87
|
+
multiplier: number;
|
|
88
|
+
settled: boolean;
|
|
89
|
+
state: DrawResult;
|
|
90
|
+
UpdatedAt: string;
|
|
91
|
+
winningNumbers: Array<WinningNumber>;
|
|
92
|
+
tempDrawData?: DrawResultItem;
|
|
93
|
+
prizeDetails?: Array<PrizeDetail>;
|
|
94
|
+
}
|
|
95
|
+
export interface TicketHistoryItem {
|
|
96
|
+
id: string;
|
|
97
|
+
playerId: string;
|
|
98
|
+
amount: string;
|
|
99
|
+
currency: string;
|
|
100
|
+
drawResults: Array<TicketDrawResult>;
|
|
101
|
+
selection: Array<Board>;
|
|
102
|
+
multiplier: boolean;
|
|
103
|
+
multiplierNum: number;
|
|
104
|
+
startingDrawId: string;
|
|
105
|
+
drawName: string;
|
|
106
|
+
gameId: string;
|
|
107
|
+
gameName: string;
|
|
108
|
+
vendorGameId: string;
|
|
109
|
+
vendorGameName?: string;
|
|
110
|
+
vendorTicketId: string;
|
|
111
|
+
drawCount: number;
|
|
112
|
+
quickPick: boolean;
|
|
113
|
+
createdAt: string;
|
|
114
|
+
updatedAt: string;
|
|
115
|
+
state: string;
|
|
116
|
+
wagerType: string;
|
|
117
|
+
addon: boolean;
|
|
118
|
+
Token: string;
|
|
119
|
+
cancellationId: string;
|
|
120
|
+
vendorGameType: string;
|
|
121
|
+
errorDetail: ErrorDetail;
|
|
122
|
+
endDrawId: string;
|
|
123
|
+
launchGameId: string;
|
|
124
|
+
}
|
|
125
|
+
export interface Amount {
|
|
126
|
+
currency: string;
|
|
127
|
+
value: string;
|
|
128
|
+
}
|
|
129
|
+
export interface Prize {
|
|
130
|
+
amount: Amount;
|
|
131
|
+
currency: string;
|
|
132
|
+
divident: string;
|
|
133
|
+
division: string;
|
|
134
|
+
divisionId: number;
|
|
135
|
+
endingAmount: Amount;
|
|
136
|
+
order: number;
|
|
137
|
+
tickets: number;
|
|
138
|
+
totalAmount: Amount;
|
|
139
|
+
}
|
|
140
|
+
export interface DrawResultItem {
|
|
141
|
+
breakEndTime: string;
|
|
142
|
+
closeTime: string;
|
|
143
|
+
date: string;
|
|
144
|
+
id: string;
|
|
145
|
+
openTime: string;
|
|
146
|
+
prizes: Array<Prize>;
|
|
147
|
+
status: string;
|
|
148
|
+
wagerAvailable: boolean;
|
|
149
|
+
wagerCloseTime: string;
|
|
150
|
+
winningNumbers: Array<WinningNumber>;
|
|
151
|
+
}
|
|
152
|
+
export interface PlayType {
|
|
153
|
+
betTypeId: string;
|
|
154
|
+
bettingType: string;
|
|
155
|
+
playMode: string;
|
|
156
|
+
}
|
|
157
|
+
export interface BettingType {
|
|
158
|
+
code: string;
|
|
159
|
+
enabled: boolean;
|
|
160
|
+
name: string;
|
|
161
|
+
}
|
|
162
|
+
export interface TicketHistoryRes {
|
|
163
|
+
dataSource: Array<TicketHistoryItem>;
|
|
164
|
+
total: number;
|
|
165
|
+
}
|
|
166
|
+
interface PopUpDataItem {
|
|
167
|
+
gameId: string;
|
|
168
|
+
drawId: string;
|
|
169
|
+
results: string[][];
|
|
170
|
+
header?: string;
|
|
171
|
+
splitView: boolean;
|
|
172
|
+
}
|
|
173
|
+
export interface PopUpData {
|
|
174
|
+
ticket?: PopUpDataItem;
|
|
175
|
+
draw?: PopUpDataItem;
|
|
176
|
+
}
|
|
177
|
+
export interface ErrorConfig {
|
|
178
|
+
isError: boolean;
|
|
179
|
+
message?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface TicketItem {
|
|
182
|
+
id: string | number;
|
|
183
|
+
name: string;
|
|
184
|
+
imageSrc?: string;
|
|
185
|
+
totalAmount: string;
|
|
186
|
+
date?: string;
|
|
187
|
+
time?: string;
|
|
188
|
+
selectedNumbers: string;
|
|
189
|
+
}
|
|
190
|
+
export interface TicketDataSource {
|
|
191
|
+
items: TicketItem[];
|
|
192
|
+
total: number;
|
|
193
|
+
}
|
|
194
|
+
export interface TicketItemMeta {
|
|
195
|
+
name?: string;
|
|
196
|
+
imageSrc?: string;
|
|
197
|
+
currency?: string;
|
|
198
|
+
}
|
|
199
|
+
export {};
|