@everymatrix/lottery-tipping-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/general-multi-select_10.cjs.entry.js +9635 -0
- package/dist/cjs/index-4ef2d32a.js +1380 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/lottery-tipping-ticket-history-e9d19600.js +2915 -0
- package/dist/cjs/lottery-tipping-ticket-history.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +42 -0
- package/dist/collection/components/lottery-tipping-filter/index.js +1 -0
- package/dist/collection/components/lottery-tipping-filter/lottery-tipping-filter.css +42 -0
- package/dist/collection/components/lottery-tipping-filter/lottery-tipping-filter.js +333 -0
- package/dist/collection/components/lottery-tipping-pagination/index.js +1 -0
- package/dist/collection/components/lottery-tipping-pagination/lottery-tipping-pagination.css +70 -0
- package/dist/collection/components/lottery-tipping-pagination/lottery-tipping-pagination.js +336 -0
- package/dist/collection/components/lottery-tipping-panel/index.js +1 -0
- package/dist/collection/components/lottery-tipping-panel/lottery-tipping-panel.css +58 -0
- package/dist/collection/components/lottery-tipping-panel/lottery-tipping-panel.js +152 -0
- package/dist/collection/components/lottery-tipping-ticket-history/index.js +1 -0
- package/dist/collection/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.css +232 -0
- package/dist/collection/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.js +625 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/models/index.js +5 -0
- package/dist/collection/utils/locale.utils.js +127 -0
- package/dist/collection/utils/utils.js +177 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/general-multi-select_10.entry.js +9623 -0
- package/dist/esm/index-e620a22a.js +1351 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/lottery-tipping-ticket-history-0d11da88.js +2904 -0
- package/dist/esm/lottery-tipping-ticket-history.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/lottery-tipping-ticket-history/app-globals-0f993ce5.js +1 -0
- package/dist/lottery-tipping-ticket-history/general-multi-select_10.entry.js +7975 -0
- package/dist/lottery-tipping-ticket-history/index-e620a22a.js +2 -0
- package/dist/lottery-tipping-ticket-history/index.esm.js +1 -0
- package/dist/lottery-tipping-ticket-history/lottery-tipping-ticket-history-0d11da88.js +1 -0
- package/dist/lottery-tipping-ticket-history/lottery-tipping-ticket-history.esm.js +1 -0
- package/dist/static/add.svg +8 -0
- package/dist/static/delete.svg +37 -0
- package/dist/static/dropdown.svg +2 -0
- package/dist/static/dropup.svg +1 -0
- package/dist/static/info.svg +6 -0
- package/dist/static/left-arrow.svg +15 -0
- package/dist/static/loading.svg +10 -0
- package/dist/static/right-arrow.svg +15 -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/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/packages/stencil/lottery-tipping-ticket-history/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/packages/stencil/lottery-tipping-ticket-history/stencil.config.dev.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/packages/stencil/lottery-tipping-ticket-history/storybook/main.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/packages/stencil/lottery-tipping-ticket-history/storybook/preview.d.ts +70 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/tools/plugins/index.d.ts +3 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-tipping-ticket-history/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/lottery-tipping-filter/index.d.ts +1 -0
- package/dist/types/components/lottery-tipping-filter/lottery-tipping-filter.d.ts +43 -0
- package/dist/types/components/lottery-tipping-pagination/index.d.ts +1 -0
- package/dist/types/components/lottery-tipping-pagination/lottery-tipping-pagination.d.ts +29 -0
- package/dist/types/components/lottery-tipping-panel/index.d.ts +1 -0
- package/dist/types/components/lottery-tipping-panel/lottery-tipping-panel.d.ts +17 -0
- package/dist/types/components/lottery-tipping-ticket-history/index.d.ts +1 -0
- package/dist/types/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.d.ts +95 -0
- package/dist/types/components.d.ts +224 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/index.d.ts +137 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +10 -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,29 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class LotteryTippingPagination {
|
|
3
|
+
total: number;
|
|
4
|
+
pageSizeOptions: number[];
|
|
5
|
+
mbSource: string;
|
|
6
|
+
clientStyling: string;
|
|
7
|
+
clientStylingUrl: string;
|
|
8
|
+
language: string;
|
|
9
|
+
translationUrl?: any;
|
|
10
|
+
current: number;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
totalPages: number;
|
|
13
|
+
pageChange: EventEmitter<number>;
|
|
14
|
+
pageSizeChange: EventEmitter<number>;
|
|
15
|
+
private stylingContainer;
|
|
16
|
+
private stylingSubscription;
|
|
17
|
+
private userAgent;
|
|
18
|
+
handleClientStylingChange(newValue: any, oldValue: any): void;
|
|
19
|
+
handleClientStylingUrlChange(newValue: any, oldValue: any): void;
|
|
20
|
+
handleMbSourceChange(newValue: any, oldValue: any): void;
|
|
21
|
+
componentDidLoad(): void;
|
|
22
|
+
componentWillLoad(): void;
|
|
23
|
+
updateTotalPages(): void;
|
|
24
|
+
private goToPage;
|
|
25
|
+
private changePageSize;
|
|
26
|
+
private getPagesToShow;
|
|
27
|
+
private jumpTo;
|
|
28
|
+
render(): any;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { lotteryTippingPanel } from './lottery-tipping-panel';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class lotteryTippingPanel {
|
|
2
|
+
mbSource: string;
|
|
3
|
+
clientStyling: string;
|
|
4
|
+
clientStylingUrl: string;
|
|
5
|
+
headerTitle: string;
|
|
6
|
+
expanded: boolean;
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
private stylingContainer;
|
|
9
|
+
private stylingSubscription;
|
|
10
|
+
handleClientStylingChange(newValue: any, oldValue: any): void;
|
|
11
|
+
handleClientStylingUrlChange(newValue: any, oldValue: any): void;
|
|
12
|
+
handleMbSourceChange(newValue: any, oldValue: any): void;
|
|
13
|
+
componentDidLoad(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
togglePanel: () => void;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LotteryTippingTicketHistory } from './lottery-tipping-ticket-history';
|
package/dist/types/components/lottery-tipping-ticket-history/lottery-tipping-ticket-history.d.ts
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { Options, TicketHistoryItem, DrawResultItem, DrawResultDetail } from '../../models';
|
|
3
|
+
import "../../../../../../dist/packages/stencil/lottery-tipping-dialog/dist/types/index";
|
|
4
|
+
import "../../../../../../dist/packages/stencil/lottery-tipping-ticket-bet/dist/types/index";
|
|
5
|
+
export declare class LotteryTippingTicketHistory {
|
|
6
|
+
endpoint: string;
|
|
7
|
+
/**
|
|
8
|
+
* EndpointTicket URL for the source of ticket data
|
|
9
|
+
*/
|
|
10
|
+
endpointTicket: string;
|
|
11
|
+
/**
|
|
12
|
+
* GameID of the lottery game
|
|
13
|
+
*/
|
|
14
|
+
gameId: string;
|
|
15
|
+
/**
|
|
16
|
+
* Player ID
|
|
17
|
+
*/
|
|
18
|
+
playerId: number;
|
|
19
|
+
/**
|
|
20
|
+
* GIC Session
|
|
21
|
+
*/
|
|
22
|
+
sessionId: string;
|
|
23
|
+
/**
|
|
24
|
+
* Draw ID
|
|
25
|
+
*/
|
|
26
|
+
drawId: string;
|
|
27
|
+
mbSource: string;
|
|
28
|
+
clientStyling: string;
|
|
29
|
+
clientStylingUrl: string;
|
|
30
|
+
language: string;
|
|
31
|
+
translationUrl: string;
|
|
32
|
+
ticketHistory: Array<TicketHistoryItem>;
|
|
33
|
+
activeStatus: string;
|
|
34
|
+
statusOptions: Array<Options>;
|
|
35
|
+
isLoading: boolean;
|
|
36
|
+
rawData: any;
|
|
37
|
+
filterData: {
|
|
38
|
+
offset: number;
|
|
39
|
+
limit: number;
|
|
40
|
+
state: string;
|
|
41
|
+
from: string;
|
|
42
|
+
to: string;
|
|
43
|
+
wagerType: string;
|
|
44
|
+
vendorGameType: string;
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
|
47
|
+
private ticketTypeMap;
|
|
48
|
+
private resultMap;
|
|
49
|
+
paginationInfo: {
|
|
50
|
+
current: number;
|
|
51
|
+
total: number;
|
|
52
|
+
pageSize: number;
|
|
53
|
+
};
|
|
54
|
+
private quickFiltersActive;
|
|
55
|
+
showCurrentTicketLine: boolean;
|
|
56
|
+
curTicketItem: TicketHistoryItem;
|
|
57
|
+
curSelection: any;
|
|
58
|
+
curSelectionIdx: number;
|
|
59
|
+
showCurrentDrawResult: boolean;
|
|
60
|
+
curDrawItem: DrawResultItem;
|
|
61
|
+
curDrawSelection: any;
|
|
62
|
+
curDrawSelectionBettingType: string;
|
|
63
|
+
curDrawSelectionMap: Record<string, any>;
|
|
64
|
+
logout: EventEmitter<void>;
|
|
65
|
+
private stylingContainer;
|
|
66
|
+
private stylingSubscription;
|
|
67
|
+
handleClientStylingChange(newValue: any, oldValue: any): void;
|
|
68
|
+
handleClientStylingUrlChange(newValue: any, oldValue: any): void;
|
|
69
|
+
handleMbSourceChange(newValue: any, oldValue: any): void;
|
|
70
|
+
componentDidLoad(): void;
|
|
71
|
+
connectedCallback(): void;
|
|
72
|
+
disconnectedCallback(): void;
|
|
73
|
+
fetchTicketList(): Promise<void>;
|
|
74
|
+
fetchDrwaResult(gameId: string, drawId: string): Promise<DrawResultItem>;
|
|
75
|
+
showNotification(message: string, theme?: string, position?: string): void;
|
|
76
|
+
getDivision(detail: DrawResultDetail, drawData: DrawResultItem): string;
|
|
77
|
+
displayPrizeCategory: (details: Array<DrawResultDetail>) => any;
|
|
78
|
+
getDrawResult(): Promise<void>;
|
|
79
|
+
componentWillLoad(): void;
|
|
80
|
+
changeStatus(status: string): void;
|
|
81
|
+
handlePageSizeChange(event: any): void;
|
|
82
|
+
handlePageChange(event: any): void;
|
|
83
|
+
handleShowTicketLineDetial(item: TicketHistoryItem): void;
|
|
84
|
+
handleShowCurrentDraw(item: DrawResultItem): void;
|
|
85
|
+
parseSelection(): any[];
|
|
86
|
+
handleFilterChange(e: any): void;
|
|
87
|
+
handleFilterClear(): void;
|
|
88
|
+
get playTypeConfig(): any;
|
|
89
|
+
get bettingTypeConfig(): any;
|
|
90
|
+
getBettingType(betTypeId: string): any;
|
|
91
|
+
handlePoolGameCurrentPageChange(e: any): void;
|
|
92
|
+
handleDrawBettingTypeChange(bettingType: string): void;
|
|
93
|
+
getBettingTypeName(bettingType: string): any;
|
|
94
|
+
render(): any;
|
|
95
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { LotteryTippingFilterData } from "./models";
|
|
9
|
+
export { LotteryTippingFilterData } from "./models";
|
|
10
|
+
export namespace Components {
|
|
11
|
+
interface LotteryTippingFilter {
|
|
12
|
+
"clientStyling": string;
|
|
13
|
+
"clientStylingUrl": string;
|
|
14
|
+
"language": string;
|
|
15
|
+
"mbSource": string;
|
|
16
|
+
/**
|
|
17
|
+
* Notifies if the quick filters from tickets are active
|
|
18
|
+
*/
|
|
19
|
+
"quickFiltersActive": boolean;
|
|
20
|
+
"translationUrl"?: any;
|
|
21
|
+
}
|
|
22
|
+
interface LotteryTippingPagination {
|
|
23
|
+
"clientStyling": string;
|
|
24
|
+
"clientStylingUrl": string;
|
|
25
|
+
"current": number;
|
|
26
|
+
"language": string;
|
|
27
|
+
"mbSource": string;
|
|
28
|
+
"pageSizeOptions": number[];
|
|
29
|
+
"total": number;
|
|
30
|
+
"translationUrl"?: any;
|
|
31
|
+
}
|
|
32
|
+
interface LotteryTippingPanel {
|
|
33
|
+
"clientStyling": string;
|
|
34
|
+
"clientStylingUrl": string;
|
|
35
|
+
"headerTitle": string;
|
|
36
|
+
"mbSource": string;
|
|
37
|
+
}
|
|
38
|
+
interface LotteryTippingTicketHistory {
|
|
39
|
+
"clientStyling": string;
|
|
40
|
+
"clientStylingUrl": string;
|
|
41
|
+
/**
|
|
42
|
+
* Draw ID
|
|
43
|
+
*/
|
|
44
|
+
"drawId": string;
|
|
45
|
+
"endpoint": string;
|
|
46
|
+
/**
|
|
47
|
+
* EndpointTicket URL for the source of ticket data
|
|
48
|
+
*/
|
|
49
|
+
"endpointTicket": string;
|
|
50
|
+
/**
|
|
51
|
+
* GameID of the lottery game
|
|
52
|
+
*/
|
|
53
|
+
"gameId": string;
|
|
54
|
+
"language": string;
|
|
55
|
+
"mbSource": string;
|
|
56
|
+
/**
|
|
57
|
+
* Player ID
|
|
58
|
+
*/
|
|
59
|
+
"playerId": number;
|
|
60
|
+
/**
|
|
61
|
+
* GIC Session
|
|
62
|
+
*/
|
|
63
|
+
"sessionId": string;
|
|
64
|
+
"translationUrl": string;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export interface LotteryTippingFilterCustomEvent<T> extends CustomEvent<T> {
|
|
68
|
+
detail: T;
|
|
69
|
+
target: HTMLLotteryTippingFilterElement;
|
|
70
|
+
}
|
|
71
|
+
export interface LotteryTippingPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
72
|
+
detail: T;
|
|
73
|
+
target: HTMLLotteryTippingPaginationElement;
|
|
74
|
+
}
|
|
75
|
+
export interface LotteryTippingTicketHistoryCustomEvent<T> extends CustomEvent<T> {
|
|
76
|
+
detail: T;
|
|
77
|
+
target: HTMLLotteryTippingTicketHistoryElement;
|
|
78
|
+
}
|
|
79
|
+
declare global {
|
|
80
|
+
interface HTMLLotteryTippingFilterElementEventMap {
|
|
81
|
+
"filterChange": LotteryTippingFilterData;
|
|
82
|
+
"filterClear": void;
|
|
83
|
+
}
|
|
84
|
+
interface HTMLLotteryTippingFilterElement extends Components.LotteryTippingFilter, HTMLStencilElement {
|
|
85
|
+
addEventListener<K extends keyof HTMLLotteryTippingFilterElementEventMap>(type: K, listener: (this: HTMLLotteryTippingFilterElement, ev: LotteryTippingFilterCustomEvent<HTMLLotteryTippingFilterElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
86
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
87
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
88
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
89
|
+
removeEventListener<K extends keyof HTMLLotteryTippingFilterElementEventMap>(type: K, listener: (this: HTMLLotteryTippingFilterElement, ev: LotteryTippingFilterCustomEvent<HTMLLotteryTippingFilterElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
90
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
91
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
92
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
93
|
+
}
|
|
94
|
+
var HTMLLotteryTippingFilterElement: {
|
|
95
|
+
prototype: HTMLLotteryTippingFilterElement;
|
|
96
|
+
new (): HTMLLotteryTippingFilterElement;
|
|
97
|
+
};
|
|
98
|
+
interface HTMLLotteryTippingPaginationElementEventMap {
|
|
99
|
+
"pageChange": number;
|
|
100
|
+
"pageSizeChange": number;
|
|
101
|
+
}
|
|
102
|
+
interface HTMLLotteryTippingPaginationElement extends Components.LotteryTippingPagination, HTMLStencilElement {
|
|
103
|
+
addEventListener<K extends keyof HTMLLotteryTippingPaginationElementEventMap>(type: K, listener: (this: HTMLLotteryTippingPaginationElement, ev: LotteryTippingPaginationCustomEvent<HTMLLotteryTippingPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
104
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
105
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
106
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
107
|
+
removeEventListener<K extends keyof HTMLLotteryTippingPaginationElementEventMap>(type: K, listener: (this: HTMLLotteryTippingPaginationElement, ev: LotteryTippingPaginationCustomEvent<HTMLLotteryTippingPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
108
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
109
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
110
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
111
|
+
}
|
|
112
|
+
var HTMLLotteryTippingPaginationElement: {
|
|
113
|
+
prototype: HTMLLotteryTippingPaginationElement;
|
|
114
|
+
new (): HTMLLotteryTippingPaginationElement;
|
|
115
|
+
};
|
|
116
|
+
interface HTMLLotteryTippingPanelElement extends Components.LotteryTippingPanel, HTMLStencilElement {
|
|
117
|
+
}
|
|
118
|
+
var HTMLLotteryTippingPanelElement: {
|
|
119
|
+
prototype: HTMLLotteryTippingPanelElement;
|
|
120
|
+
new (): HTMLLotteryTippingPanelElement;
|
|
121
|
+
};
|
|
122
|
+
interface HTMLLotteryTippingTicketHistoryElementEventMap {
|
|
123
|
+
"logout": void;
|
|
124
|
+
}
|
|
125
|
+
interface HTMLLotteryTippingTicketHistoryElement extends Components.LotteryTippingTicketHistory, HTMLStencilElement {
|
|
126
|
+
addEventListener<K extends keyof HTMLLotteryTippingTicketHistoryElementEventMap>(type: K, listener: (this: HTMLLotteryTippingTicketHistoryElement, ev: LotteryTippingTicketHistoryCustomEvent<HTMLLotteryTippingTicketHistoryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
127
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
128
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
129
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
130
|
+
removeEventListener<K extends keyof HTMLLotteryTippingTicketHistoryElementEventMap>(type: K, listener: (this: HTMLLotteryTippingTicketHistoryElement, ev: LotteryTippingTicketHistoryCustomEvent<HTMLLotteryTippingTicketHistoryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
131
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
132
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
133
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
134
|
+
}
|
|
135
|
+
var HTMLLotteryTippingTicketHistoryElement: {
|
|
136
|
+
prototype: HTMLLotteryTippingTicketHistoryElement;
|
|
137
|
+
new (): HTMLLotteryTippingTicketHistoryElement;
|
|
138
|
+
};
|
|
139
|
+
interface HTMLElementTagNameMap {
|
|
140
|
+
"lottery-tipping-filter": HTMLLotteryTippingFilterElement;
|
|
141
|
+
"lottery-tipping-pagination": HTMLLotteryTippingPaginationElement;
|
|
142
|
+
"lottery-tipping-panel": HTMLLotteryTippingPanelElement;
|
|
143
|
+
"lottery-tipping-ticket-history": HTMLLotteryTippingTicketHistoryElement;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
declare namespace LocalJSX {
|
|
147
|
+
interface LotteryTippingFilter {
|
|
148
|
+
"clientStyling"?: string;
|
|
149
|
+
"clientStylingUrl"?: string;
|
|
150
|
+
"language"?: string;
|
|
151
|
+
"mbSource"?: string;
|
|
152
|
+
"onFilterChange"?: (event: LotteryTippingFilterCustomEvent<LotteryTippingFilterData>) => void;
|
|
153
|
+
"onFilterClear"?: (event: LotteryTippingFilterCustomEvent<void>) => void;
|
|
154
|
+
/**
|
|
155
|
+
* Notifies if the quick filters from tickets are active
|
|
156
|
+
*/
|
|
157
|
+
"quickFiltersActive"?: boolean;
|
|
158
|
+
"translationUrl"?: any;
|
|
159
|
+
}
|
|
160
|
+
interface LotteryTippingPagination {
|
|
161
|
+
"clientStyling"?: string;
|
|
162
|
+
"clientStylingUrl"?: string;
|
|
163
|
+
"current"?: number;
|
|
164
|
+
"language"?: string;
|
|
165
|
+
"mbSource"?: string;
|
|
166
|
+
"onPageChange"?: (event: LotteryTippingPaginationCustomEvent<number>) => void;
|
|
167
|
+
"onPageSizeChange"?: (event: LotteryTippingPaginationCustomEvent<number>) => void;
|
|
168
|
+
"pageSizeOptions"?: number[];
|
|
169
|
+
"total"?: number;
|
|
170
|
+
"translationUrl"?: any;
|
|
171
|
+
}
|
|
172
|
+
interface LotteryTippingPanel {
|
|
173
|
+
"clientStyling"?: string;
|
|
174
|
+
"clientStylingUrl"?: string;
|
|
175
|
+
"headerTitle"?: string;
|
|
176
|
+
"mbSource"?: string;
|
|
177
|
+
}
|
|
178
|
+
interface LotteryTippingTicketHistory {
|
|
179
|
+
"clientStyling"?: string;
|
|
180
|
+
"clientStylingUrl"?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Draw ID
|
|
183
|
+
*/
|
|
184
|
+
"drawId"?: string;
|
|
185
|
+
"endpoint"?: string;
|
|
186
|
+
/**
|
|
187
|
+
* EndpointTicket URL for the source of ticket data
|
|
188
|
+
*/
|
|
189
|
+
"endpointTicket"?: string;
|
|
190
|
+
/**
|
|
191
|
+
* GameID of the lottery game
|
|
192
|
+
*/
|
|
193
|
+
"gameId"?: string;
|
|
194
|
+
"language"?: string;
|
|
195
|
+
"mbSource"?: string;
|
|
196
|
+
"onLogout"?: (event: LotteryTippingTicketHistoryCustomEvent<void>) => void;
|
|
197
|
+
/**
|
|
198
|
+
* Player ID
|
|
199
|
+
*/
|
|
200
|
+
"playerId"?: number;
|
|
201
|
+
/**
|
|
202
|
+
* GIC Session
|
|
203
|
+
*/
|
|
204
|
+
"sessionId"?: string;
|
|
205
|
+
"translationUrl"?: string;
|
|
206
|
+
}
|
|
207
|
+
interface IntrinsicElements {
|
|
208
|
+
"lottery-tipping-filter": LotteryTippingFilter;
|
|
209
|
+
"lottery-tipping-pagination": LotteryTippingPagination;
|
|
210
|
+
"lottery-tipping-panel": LotteryTippingPanel;
|
|
211
|
+
"lottery-tipping-ticket-history": LotteryTippingTicketHistory;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
export { LocalJSX as JSX };
|
|
215
|
+
declare module "@stencil/core" {
|
|
216
|
+
export namespace JSX {
|
|
217
|
+
interface IntrinsicElements {
|
|
218
|
+
"lottery-tipping-filter": LocalJSX.LotteryTippingFilter & JSXBase.HTMLAttributes<HTMLLotteryTippingFilterElement>;
|
|
219
|
+
"lottery-tipping-pagination": LocalJSX.LotteryTippingPagination & JSXBase.HTMLAttributes<HTMLLotteryTippingPaginationElement>;
|
|
220
|
+
"lottery-tipping-panel": LocalJSX.LotteryTippingPanel & JSXBase.HTMLAttributes<HTMLLotteryTippingPanelElement>;
|
|
221
|
+
"lottery-tipping-ticket-history": LocalJSX.LotteryTippingTicketHistory & JSXBase.HTMLAttributes<HTMLLotteryTippingTicketHistoryElement>;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/lottery-tipping-ticket-history';
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
export interface Options {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export interface Board {
|
|
6
|
+
betName: string;
|
|
7
|
+
betType: string;
|
|
8
|
+
metadata: object;
|
|
9
|
+
multiplier: boolean;
|
|
10
|
+
quickPick: boolean;
|
|
11
|
+
selections: Array<number>;
|
|
12
|
+
stake: number;
|
|
13
|
+
secondarySelections: Array<number>;
|
|
14
|
+
tertiarySelections: Array<number>;
|
|
15
|
+
}
|
|
16
|
+
export interface ErrorDetail {
|
|
17
|
+
code: string;
|
|
18
|
+
message: string;
|
|
19
|
+
date: string;
|
|
20
|
+
data: string;
|
|
21
|
+
}
|
|
22
|
+
export interface DrawResultDetail {
|
|
23
|
+
amount: number;
|
|
24
|
+
currency: string;
|
|
25
|
+
division: number;
|
|
26
|
+
draw_date: string;
|
|
27
|
+
draw_id: string;
|
|
28
|
+
prizeName: string;
|
|
29
|
+
divisionDisplayName: string;
|
|
30
|
+
shares: number;
|
|
31
|
+
}
|
|
32
|
+
export declare enum DrawResult {
|
|
33
|
+
WON = "Won",
|
|
34
|
+
LOST = "Lost"
|
|
35
|
+
}
|
|
36
|
+
export interface WinningNumber {
|
|
37
|
+
drawType: string;
|
|
38
|
+
numbers: Array<number>;
|
|
39
|
+
secondaryNumbers: Array<number>;
|
|
40
|
+
teritaryNumbers: Array<number>;
|
|
41
|
+
winning_type: string;
|
|
42
|
+
}
|
|
43
|
+
interface PrizeDetail {
|
|
44
|
+
prizeName: string;
|
|
45
|
+
amount: number;
|
|
46
|
+
currency: string;
|
|
47
|
+
times: number;
|
|
48
|
+
}
|
|
49
|
+
export interface TicketDrawResult {
|
|
50
|
+
amount: number;
|
|
51
|
+
currency: string;
|
|
52
|
+
details: Array<DrawResultDetail>;
|
|
53
|
+
drawId: string;
|
|
54
|
+
drawStatus: string;
|
|
55
|
+
multiplier: number;
|
|
56
|
+
settled: boolean;
|
|
57
|
+
state: DrawResult;
|
|
58
|
+
UpdatedAt: string;
|
|
59
|
+
winningNumbers: Array<WinningNumber>;
|
|
60
|
+
tempDrawData?: DrawResultItem;
|
|
61
|
+
prizeDetails?: Array<PrizeDetail>;
|
|
62
|
+
}
|
|
63
|
+
export interface TicketHistoryItem {
|
|
64
|
+
id: string;
|
|
65
|
+
playerId: string;
|
|
66
|
+
amount: string;
|
|
67
|
+
currency: string;
|
|
68
|
+
drawResults: Array<TicketDrawResult>;
|
|
69
|
+
selection: Array<Board>;
|
|
70
|
+
multiplier: boolean;
|
|
71
|
+
multiplierNum: number;
|
|
72
|
+
startingDrawId: string;
|
|
73
|
+
drawName: string;
|
|
74
|
+
gameId: string;
|
|
75
|
+
gameName: string;
|
|
76
|
+
vendorGameId: string;
|
|
77
|
+
vendorGameName?: string;
|
|
78
|
+
vendorTicketId: string;
|
|
79
|
+
drawCount: number;
|
|
80
|
+
quickPick: boolean;
|
|
81
|
+
createdAt: string;
|
|
82
|
+
updatedAt: string;
|
|
83
|
+
state: string;
|
|
84
|
+
wagerType: string;
|
|
85
|
+
addon: boolean;
|
|
86
|
+
Token: string;
|
|
87
|
+
cancellationId: string;
|
|
88
|
+
vendorGameType: string;
|
|
89
|
+
errorDetail: ErrorDetail;
|
|
90
|
+
endDrawId: string;
|
|
91
|
+
launchGameId: string;
|
|
92
|
+
}
|
|
93
|
+
export interface Amount {
|
|
94
|
+
currency: string;
|
|
95
|
+
value: string;
|
|
96
|
+
}
|
|
97
|
+
export interface Prize {
|
|
98
|
+
amount: Amount;
|
|
99
|
+
currency: string;
|
|
100
|
+
divident: string;
|
|
101
|
+
division: string;
|
|
102
|
+
divisionId: number;
|
|
103
|
+
endingAmount: Amount;
|
|
104
|
+
order: number;
|
|
105
|
+
tickets: number;
|
|
106
|
+
totalAmount: Amount;
|
|
107
|
+
}
|
|
108
|
+
export interface DrawResultItem {
|
|
109
|
+
breakEndTime: string;
|
|
110
|
+
closeTime: string;
|
|
111
|
+
date: string;
|
|
112
|
+
id: string;
|
|
113
|
+
openTime: string;
|
|
114
|
+
prizes: Array<Prize>;
|
|
115
|
+
status: string;
|
|
116
|
+
wagerAvailable: boolean;
|
|
117
|
+
wagerCloseTime: string;
|
|
118
|
+
winningNumbers: Array<WinningNumber>;
|
|
119
|
+
vendorGameId?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface PlayType {
|
|
122
|
+
betTypeId: string;
|
|
123
|
+
bettingType: string;
|
|
124
|
+
playMode: string;
|
|
125
|
+
}
|
|
126
|
+
export interface BettingType {
|
|
127
|
+
code: string;
|
|
128
|
+
enabled: boolean;
|
|
129
|
+
name: string;
|
|
130
|
+
}
|
|
131
|
+
export interface LotteryTippingFilterData {
|
|
132
|
+
filterFromCalendar: string;
|
|
133
|
+
filterToCalendar: string;
|
|
134
|
+
ticketId: string;
|
|
135
|
+
ticketType: Array<string>;
|
|
136
|
+
}
|
|
137
|
+
export {};
|