@everymatrix/lottery-hakuna-ticket-buy 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-f1909c9b.js +1359 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/lottery-button_7.cjs.entry.js +1285 -0
- package/dist/cjs/lottery-hakuna-ticket-buy-fe6a420c.js +545 -0
- package/dist/cjs/lottery-hakuna-ticket-buy.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +49 -0
- package/dist/collection/components/lottery-hakuna-ticket-buy/index.js +1 -0
- package/dist/collection/components/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.css +197 -0
- package/dist/collection/components/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.js +690 -0
- package/dist/collection/components/model/index.js +5 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +124 -0
- package/dist/collection/utils/utils.js +47 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-1f778cb5.js +1331 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/lottery-button_7.entry.js +1276 -0
- package/dist/esm/lottery-hakuna-ticket-buy-a9f8e014.js +540 -0
- package/dist/esm/lottery-hakuna-ticket-buy.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/app-globals-0f993ce5.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/index-1f778cb5.js +2 -0
- package/dist/lottery-hakuna-ticket-buy/index.esm.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/lottery-button_7.entry.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy-a9f8e014.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.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-buy/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/stencil.config.dev.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/storybook/main.d.ts +3 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/storybook/preview.d.ts +70 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/index.d.ts +4 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/lottery-hakuna-ticket-buy/index.d.ts +1 -0
- package/dist/types/components/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.d.ts +121 -0
- package/dist/types/components/model/index.d.ts +103 -0
- package/dist/types/components.d.ts +147 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +13 -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,103 @@
|
|
|
1
|
+
export interface GameData {
|
|
2
|
+
href: string;
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: any;
|
|
6
|
+
rules: Rules;
|
|
7
|
+
prize: Array<Prize>;
|
|
8
|
+
vendor: Vendor;
|
|
9
|
+
currentDraw: DrawItem;
|
|
10
|
+
}
|
|
11
|
+
export interface Rules {
|
|
12
|
+
defaultBetType: string;
|
|
13
|
+
boards: Array<Boards>;
|
|
14
|
+
stakeMultiplierAvailable: boolean;
|
|
15
|
+
stakes: Array<Stakes>;
|
|
16
|
+
stakeMultipliers: Array<string>;
|
|
17
|
+
drawMultiplierAvailable: boolean;
|
|
18
|
+
durations: Array<number>;
|
|
19
|
+
secondarySelectionAllowed: string;
|
|
20
|
+
betTypes: Array<BetType>;
|
|
21
|
+
partialQuickpickAvailable: boolean;
|
|
22
|
+
quickPickAvailable: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface BetType {
|
|
25
|
+
boardsAllowed: Array<number>;
|
|
26
|
+
combinations: number;
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
group: string;
|
|
30
|
+
secondarySelectionRules: Array<SelectionRule>;
|
|
31
|
+
selectionRules: Array<SelectionRule>;
|
|
32
|
+
tertiarySelectionRules: Array<SelectionRule>;
|
|
33
|
+
}
|
|
34
|
+
export interface SelectionRule {
|
|
35
|
+
type: string;
|
|
36
|
+
maxSameSelections: number;
|
|
37
|
+
selectionCount: number;
|
|
38
|
+
}
|
|
39
|
+
export interface Boards {
|
|
40
|
+
totalNumbers: number;
|
|
41
|
+
maxinumAllowed: number;
|
|
42
|
+
minimumAllowed: number;
|
|
43
|
+
lowNumber?: number;
|
|
44
|
+
highNumber?: number;
|
|
45
|
+
secondaryHighNumber: number;
|
|
46
|
+
secondaryLowNumber: number;
|
|
47
|
+
secondaryMaximumAllowed: number;
|
|
48
|
+
secondaryMinimumAllowed: number;
|
|
49
|
+
selectionName: string;
|
|
50
|
+
secondarySelectionName: string;
|
|
51
|
+
}
|
|
52
|
+
export interface Stakes {
|
|
53
|
+
currency: string;
|
|
54
|
+
amount: number;
|
|
55
|
+
value: string;
|
|
56
|
+
}
|
|
57
|
+
export interface Prize {
|
|
58
|
+
currency: string;
|
|
59
|
+
amount: number;
|
|
60
|
+
}
|
|
61
|
+
export interface DrawItem {
|
|
62
|
+
id: string;
|
|
63
|
+
date: string;
|
|
64
|
+
winningNumbers: Array<number>;
|
|
65
|
+
prize: Array<Prize>;
|
|
66
|
+
status: string;
|
|
67
|
+
domainId: string;
|
|
68
|
+
openTime: string;
|
|
69
|
+
closeTime: string;
|
|
70
|
+
wagerAvailable: boolean;
|
|
71
|
+
wagerCloseTime: string;
|
|
72
|
+
}
|
|
73
|
+
export interface Pages {
|
|
74
|
+
first: string;
|
|
75
|
+
next: string;
|
|
76
|
+
previous: string;
|
|
77
|
+
last: string;
|
|
78
|
+
}
|
|
79
|
+
export interface Vendor {
|
|
80
|
+
id: string;
|
|
81
|
+
name: string;
|
|
82
|
+
}
|
|
83
|
+
export interface GridEvent {
|
|
84
|
+
id: string;
|
|
85
|
+
selectedNumbers: Array<string>;
|
|
86
|
+
selectionType: string;
|
|
87
|
+
index: number;
|
|
88
|
+
}
|
|
89
|
+
export interface Ticket {
|
|
90
|
+
id: string;
|
|
91
|
+
index: number;
|
|
92
|
+
drawCount: number;
|
|
93
|
+
selectedNumbers: Array<string>;
|
|
94
|
+
selectionType: string;
|
|
95
|
+
multiplier: boolean;
|
|
96
|
+
multiplierNum: number;
|
|
97
|
+
quickPicks: Array<boolean>;
|
|
98
|
+
betName: string;
|
|
99
|
+
}
|
|
100
|
+
export declare enum CurSelectionBtnType {
|
|
101
|
+
UNSELECTED = "unselected",
|
|
102
|
+
SELECTED = "selected"
|
|
103
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
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
|
+
export namespace Components {
|
|
9
|
+
interface LotteryHakunaTicketBuy {
|
|
10
|
+
/**
|
|
11
|
+
* Client custom styling via string
|
|
12
|
+
*/
|
|
13
|
+
"clientStyling": string;
|
|
14
|
+
/**
|
|
15
|
+
* Client custom styling via url
|
|
16
|
+
*/
|
|
17
|
+
"clientStylingUrl": string;
|
|
18
|
+
/**
|
|
19
|
+
* Country name
|
|
20
|
+
*/
|
|
21
|
+
"country": string;
|
|
22
|
+
/**
|
|
23
|
+
* Currency symbol
|
|
24
|
+
*/
|
|
25
|
+
"currency": string;
|
|
26
|
+
/**
|
|
27
|
+
* Endpoint URL for the source of data
|
|
28
|
+
*/
|
|
29
|
+
"endpoint": string;
|
|
30
|
+
/**
|
|
31
|
+
* GameID of the lottery game
|
|
32
|
+
*/
|
|
33
|
+
"gameId": string;
|
|
34
|
+
/**
|
|
35
|
+
* Language of the widget
|
|
36
|
+
*/
|
|
37
|
+
"language": string;
|
|
38
|
+
/**
|
|
39
|
+
* Client custom styling via message bus
|
|
40
|
+
*/
|
|
41
|
+
"mbSource": string;
|
|
42
|
+
/**
|
|
43
|
+
* Player ID
|
|
44
|
+
*/
|
|
45
|
+
"playerId": number;
|
|
46
|
+
/**
|
|
47
|
+
* GIC Session
|
|
48
|
+
*/
|
|
49
|
+
"sessionId": string;
|
|
50
|
+
/**
|
|
51
|
+
* Translation via url
|
|
52
|
+
*/
|
|
53
|
+
"translationUrl": string;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export interface LotteryHakunaTicketBuyCustomEvent<T> extends CustomEvent<T> {
|
|
57
|
+
detail: T;
|
|
58
|
+
target: HTMLLotteryHakunaTicketBuyElement;
|
|
59
|
+
}
|
|
60
|
+
declare global {
|
|
61
|
+
interface HTMLLotteryHakunaTicketBuyElementEventMap {
|
|
62
|
+
"TicketSubmission:jumpToHistoryList": void;
|
|
63
|
+
"SessionExpired": void;
|
|
64
|
+
"TicketBuying:leaveToHomepage": void;
|
|
65
|
+
"resetAllTicketSelection": void;
|
|
66
|
+
}
|
|
67
|
+
interface HTMLLotteryHakunaTicketBuyElement extends Components.LotteryHakunaTicketBuy, HTMLStencilElement {
|
|
68
|
+
addEventListener<K extends keyof HTMLLotteryHakunaTicketBuyElementEventMap>(type: K, listener: (this: HTMLLotteryHakunaTicketBuyElement, ev: LotteryHakunaTicketBuyCustomEvent<HTMLLotteryHakunaTicketBuyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
69
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
70
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
71
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
72
|
+
removeEventListener<K extends keyof HTMLLotteryHakunaTicketBuyElementEventMap>(type: K, listener: (this: HTMLLotteryHakunaTicketBuyElement, ev: LotteryHakunaTicketBuyCustomEvent<HTMLLotteryHakunaTicketBuyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
73
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
74
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
75
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
76
|
+
}
|
|
77
|
+
var HTMLLotteryHakunaTicketBuyElement: {
|
|
78
|
+
prototype: HTMLLotteryHakunaTicketBuyElement;
|
|
79
|
+
new (): HTMLLotteryHakunaTicketBuyElement;
|
|
80
|
+
};
|
|
81
|
+
interface HTMLElementTagNameMap {
|
|
82
|
+
"lottery-hakuna-ticket-buy": HTMLLotteryHakunaTicketBuyElement;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
declare namespace LocalJSX {
|
|
86
|
+
interface LotteryHakunaTicketBuy {
|
|
87
|
+
/**
|
|
88
|
+
* Client custom styling via string
|
|
89
|
+
*/
|
|
90
|
+
"clientStyling"?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Client custom styling via url
|
|
93
|
+
*/
|
|
94
|
+
"clientStylingUrl"?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Country name
|
|
97
|
+
*/
|
|
98
|
+
"country"?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Currency symbol
|
|
101
|
+
*/
|
|
102
|
+
"currency"?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Endpoint URL for the source of data
|
|
105
|
+
*/
|
|
106
|
+
"endpoint"?: string;
|
|
107
|
+
/**
|
|
108
|
+
* GameID of the lottery game
|
|
109
|
+
*/
|
|
110
|
+
"gameId"?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Language of the widget
|
|
113
|
+
*/
|
|
114
|
+
"language"?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Client custom styling via message bus
|
|
117
|
+
*/
|
|
118
|
+
"mbSource"?: string;
|
|
119
|
+
"onResetAllTicketSelection"?: (event: LotteryHakunaTicketBuyCustomEvent<void>) => void;
|
|
120
|
+
"onSessionExpired"?: (event: LotteryHakunaTicketBuyCustomEvent<void>) => void;
|
|
121
|
+
"onTicketBuying:leaveToHomepage"?: (event: LotteryHakunaTicketBuyCustomEvent<void>) => void;
|
|
122
|
+
"onTicketSubmission:jumpToHistoryList"?: (event: LotteryHakunaTicketBuyCustomEvent<void>) => void;
|
|
123
|
+
/**
|
|
124
|
+
* Player ID
|
|
125
|
+
*/
|
|
126
|
+
"playerId"?: number;
|
|
127
|
+
/**
|
|
128
|
+
* GIC Session
|
|
129
|
+
*/
|
|
130
|
+
"sessionId"?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Translation via url
|
|
133
|
+
*/
|
|
134
|
+
"translationUrl"?: string;
|
|
135
|
+
}
|
|
136
|
+
interface IntrinsicElements {
|
|
137
|
+
"lottery-hakuna-ticket-buy": LotteryHakunaTicketBuy;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
export { LocalJSX as JSX };
|
|
141
|
+
declare module "@stencil/core" {
|
|
142
|
+
export namespace JSX {
|
|
143
|
+
interface IntrinsicElements {
|
|
144
|
+
"lottery-hakuna-ticket-buy": LocalJSX.LotteryHakunaTicketBuy & JSXBase.HTMLAttributes<HTMLLotteryHakunaTicketBuyElement>;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/lottery-hakuna-ticket-buy';
|