@everymatrix/casino-game-thumb-view 1.31.2 → 1.32.4
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/LICENSE +21 -0
- package/package.json +3 -2
- package/dist/assets/baccarat.svg +0 -43
- package/dist/assets/fav.svg +0 -9
- package/dist/assets/favorite.svg +0 -12
- package/dist/assets/seat.svg +0 -6
- package/dist/assets/unfav.svg +0 -20
- package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +0 -1
- package/dist/casino-game-thumb-view/index.esm.js +0 -0
- package/dist/casino-game-thumb-view/p-1bbf4b70.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-1e63a1ab.js +0 -1
- package/dist/casino-game-thumb-view/p-2d5f59fe.js +0 -1
- package/dist/casino-game-thumb-view/p-42bf2034.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-46dbb1cb.js +0 -1
- package/dist/casino-game-thumb-view/p-6a6b2a78.js +0 -8
- package/dist/casino-game-thumb-view/p-7ae107ed.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-9cbfffbc.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-d961aec4.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-db43bb56.entry.js +0 -7
- package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +0 -366
- package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +0 -58
- package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +0 -45
- package/dist/cjs/casino-game-thumb-view.cjs.js +0 -19
- package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +0 -1612
- package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +0 -278
- package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +0 -23
- package/dist/cjs/game-thumbnail-31d518f0.js +0 -78
- package/dist/cjs/index-65a1d768.js +0 -1796
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/locale.utils-aa160787.js +0 -132
- package/dist/cjs/utils-a0afc0a9.js +0 -5745
- package/dist/collection/collection-manifest.json +0 -19
- package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.css +0 -116
- package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +0 -240
- package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.css +0 -64
- package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +0 -119
- package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.css +0 -40
- package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +0 -123
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.css +0 -361
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +0 -1064
- package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.css +0 -3
- package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +0 -86
- package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.css +0 -154
- package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +0 -158
- package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.css +0 -58
- package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +0 -209
- package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.css +0 -3
- package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +0 -62
- package/dist/collection/constants/game-thumbnail.js +0 -85
- package/dist/collection/index.js +0 -1
- package/dist/collection/models/casino-game-thumb-view.js +0 -12
- package/dist/collection/models/currency-symbols.js +0 -173
- package/dist/collection/static/baccarat.svg +0 -43
- package/dist/collection/static/fav.svg +0 -9
- package/dist/collection/static/favorite.svg +0 -12
- package/dist/collection/static/seat.svg +0 -6
- package/dist/collection/static/unfav.svg +0 -20
- package/dist/collection/utils/baccarat-board-svg.js +0 -234
- package/dist/collection/utils/locale.utils.js +0 -128
- package/dist/collection/utils/utils.js +0 -65
- package/dist/components/casino-extrainfo-baccarat.d.ts +0 -11
- package/dist/components/casino-extrainfo-baccarat.js +0 -400
- package/dist/components/casino-extrainfo-blackjack.d.ts +0 -11
- package/dist/components/casino-extrainfo-blackjack.js +0 -92
- package/dist/components/casino-extrainfo-roulette.d.ts +0 -11
- package/dist/components/casino-extrainfo-roulette.js +0 -78
- package/dist/components/casino-game-thumb-view.d.ts +0 -11
- package/dist/components/casino-game-thumb-view.js +0 -1625
- package/dist/components/casino-game-thumbnail-betlimit.d.ts +0 -11
- package/dist/components/casino-game-thumbnail-betlimit.js +0 -6
- package/dist/components/casino-game-thumbnail-betlimit2.js +0 -227
- package/dist/components/casino-game-thumbnail-extrainfo.d.ts +0 -11
- package/dist/components/casino-game-thumbnail-extrainfo.js +0 -6
- package/dist/components/casino-game-thumbnail-extrainfo2.js +0 -96
- package/dist/components/casino-game-thumbnail-overlay.d.ts +0 -11
- package/dist/components/casino-game-thumbnail-overlay.js +0 -6
- package/dist/components/casino-game-thumbnail-overlay2.js +0 -69
- package/dist/components/casino-normal-game-thumbnail.d.ts +0 -11
- package/dist/components/casino-normal-game-thumbnail.js +0 -52
- package/dist/components/game-thumbnail.js +0 -72
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -1
- package/dist/components/locale.utils.js +0 -130
- package/dist/components/utils.js +0 -5739
- package/dist/esm/casino-extrainfo-baccarat.entry.js +0 -362
- package/dist/esm/casino-extrainfo-blackjack.entry.js +0 -54
- package/dist/esm/casino-extrainfo-roulette.entry.js +0 -41
- package/dist/esm/casino-game-thumb-view.js +0 -17
- package/dist/esm/casino-game-thumb-view_2.entry.js +0 -1607
- package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +0 -273
- package/dist/esm/casino-normal-game-thumbnail.entry.js +0 -19
- package/dist/esm/game-thumbnail-0a56ee03.js +0 -72
- package/dist/esm/index-1e44dd9f.js +0 -1769
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -17
- package/dist/esm/locale.utils-e0cf897e.js +0 -130
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/utils-e9314132.js +0 -5739
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/stencil.config.js +0 -40
- package/dist/types/Users/dragos.bodea/Documents/everymatrix-prjs/emfe-widgets/widgets-stencil/packages/casino-game-thumb-view/.stencil/packages/casino-game-thumb-view/stencil.config.d.ts +0 -2
- package/dist/types/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.d.ts +0 -40
- package/dist/types/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.d.ts +0 -36
- package/dist/types/components/casino-extrainfo-roulette/casino-extrainfo-roulette.d.ts +0 -21
- package/dist/types/components/casino-game-thumb-view/casino-game-thumb-view.d.ts +0 -221
- package/dist/types/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.d.ts +0 -17
- package/dist/types/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.d.ts +0 -16
- package/dist/types/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.d.ts +0 -31
- package/dist/types/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.d.ts +0 -7
- package/dist/types/components.d.ts +0 -480
- package/dist/types/constants/game-thumbnail.d.ts +0 -83
- package/dist/types/index.d.ts +0 -1
- package/dist/types/models/casino-game-thumb-view.d.ts +0 -132
- package/dist/types/models/currency-symbols.d.ts +0 -172
- package/dist/types/stencil-public-runtime.d.ts +0 -1565
- package/dist/types/utils/baccarat-board-svg.d.ts +0 -31
- package/dist/types/utils/locale.utils.d.ts +0 -1
- package/dist/types/utils/utils.d.ts +0 -19
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -12
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -10
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface CasinoGameThumbnailBetlimit extends Components.CasinoGameThumbnailBetlimit, HTMLElement {}
|
4
|
-
export const CasinoGameThumbnailBetlimit: {
|
5
|
-
prototype: CasinoGameThumbnailBetlimit;
|
6
|
-
new (): CasinoGameThumbnailBetlimit;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { C as CasinoGameThumbnailBetlimit$1, d as defineCustomElement$1 } from './casino-game-thumbnail-betlimit2.js';
|
2
|
-
|
3
|
-
const CasinoGameThumbnailBetlimit = CasinoGameThumbnailBetlimit$1;
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
5
|
-
|
6
|
-
export { CasinoGameThumbnailBetlimit, defineCustomElement };
|
@@ -1,227 +0,0 @@
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
2
|
-
import { n as numberWithSeparators } from './utils.js';
|
3
|
-
|
4
|
-
/* eslint-disable quote-props */
|
5
|
-
const currenciesSymbols = {
|
6
|
-
'AED': 'د.إ',
|
7
|
-
'AFN': '؋',
|
8
|
-
'ALL': 'L',
|
9
|
-
'AMD': '֏',
|
10
|
-
'ANG': 'ƒ',
|
11
|
-
'AOA': 'Kz',
|
12
|
-
'ARS': '$',
|
13
|
-
'AUD': '$',
|
14
|
-
'AWG': 'ƒ',
|
15
|
-
'AZN': 'ман',
|
16
|
-
'BAM': 'KM',
|
17
|
-
'BBD': '$',
|
18
|
-
'BDT': '৳',
|
19
|
-
'BGN': 'лв',
|
20
|
-
'BHD': '.د.ب',
|
21
|
-
'BIF': 'FBu',
|
22
|
-
'BMD': '$',
|
23
|
-
'BND': '$',
|
24
|
-
'BOB': '$b',
|
25
|
-
'BRL': 'R$',
|
26
|
-
'BSD': '$',
|
27
|
-
'BTC': '฿',
|
28
|
-
'BTN': 'Nu.',
|
29
|
-
'BWP': 'P',
|
30
|
-
'BYR': 'p.',
|
31
|
-
'BZD': 'BZ$',
|
32
|
-
'CAD': '$',
|
33
|
-
'CDF': 'FC',
|
34
|
-
'CHF': 'CHF',
|
35
|
-
'CLP': '$',
|
36
|
-
'CNY': '¥',
|
37
|
-
'COP': '$',
|
38
|
-
'CRC': '₡',
|
39
|
-
'CUC': '$',
|
40
|
-
'CUP': '₱',
|
41
|
-
'CVE': '$',
|
42
|
-
'CZK': 'Kč',
|
43
|
-
'DJF': 'Fdj',
|
44
|
-
'DKK': 'kr',
|
45
|
-
'DOP': 'RD$',
|
46
|
-
'DZD': 'دج',
|
47
|
-
'EEK': 'kr',
|
48
|
-
'EGP': '£',
|
49
|
-
'ERN': 'Nfk',
|
50
|
-
'ETB': 'Br',
|
51
|
-
'ETH': 'Ξ',
|
52
|
-
'EUR': '€',
|
53
|
-
'FJD': '$',
|
54
|
-
'FKP': '£',
|
55
|
-
'GBP': '£',
|
56
|
-
'GEL': '₾',
|
57
|
-
'GGP': '£',
|
58
|
-
'GHC': '₵',
|
59
|
-
'GHS': 'GH₵',
|
60
|
-
'GIP': '£',
|
61
|
-
'GMD': 'D',
|
62
|
-
'GNF': 'FG',
|
63
|
-
'GTQ': 'Q',
|
64
|
-
'GYD': '$',
|
65
|
-
'HKD': '$',
|
66
|
-
'HNL': 'L',
|
67
|
-
'HRK': 'kn',
|
68
|
-
'HTG': 'G',
|
69
|
-
'HUF': 'Ft',
|
70
|
-
'IDR': 'Rp',
|
71
|
-
'ILS': '₪',
|
72
|
-
'IMP': '£',
|
73
|
-
'INR': '₹',
|
74
|
-
'IQD': 'ع.د',
|
75
|
-
'IRR': '﷼',
|
76
|
-
'ISK': 'kr',
|
77
|
-
'JEP': '£',
|
78
|
-
'JMD': 'J$',
|
79
|
-
'JOD': 'JD',
|
80
|
-
'JPY': '¥',
|
81
|
-
'KES': 'KSh',
|
82
|
-
'KGS': 'лв',
|
83
|
-
'KHR': '៛',
|
84
|
-
'KMF': 'CF',
|
85
|
-
'KPW': '₩',
|
86
|
-
'KRW': '₩',
|
87
|
-
'KWD': 'KD',
|
88
|
-
'KYD': '$',
|
89
|
-
'KZT': 'лв',
|
90
|
-
'LAK': '₭',
|
91
|
-
'LBP': '£',
|
92
|
-
'LKR': '₨',
|
93
|
-
'LRD': '$',
|
94
|
-
'LSL': 'M',
|
95
|
-
'LTC': 'Ł',
|
96
|
-
'LTL': 'Lt',
|
97
|
-
'LVL': 'Ls',
|
98
|
-
'LYD': 'LD',
|
99
|
-
'MAD': 'MAD',
|
100
|
-
'MDL': 'lei',
|
101
|
-
'MGA': 'Ar',
|
102
|
-
'MKD': 'ден',
|
103
|
-
'MMK': 'K',
|
104
|
-
'MNT': '₮',
|
105
|
-
'MOP': 'MOP$',
|
106
|
-
'MRO': 'UM',
|
107
|
-
'MUR': '₨',
|
108
|
-
'MVR': 'Rf',
|
109
|
-
'MWK': 'MK',
|
110
|
-
'MXN': '$',
|
111
|
-
'MYR': 'RM',
|
112
|
-
'MZN': 'MT',
|
113
|
-
'NAD': '$',
|
114
|
-
'NGN': '₦',
|
115
|
-
'NIO': 'C$',
|
116
|
-
'NOK': 'kr',
|
117
|
-
'NPR': '₨',
|
118
|
-
'NZD': '$',
|
119
|
-
'OMR': '﷼',
|
120
|
-
'PAB': 'B/.',
|
121
|
-
'PEN': 'S/.',
|
122
|
-
'PGK': 'K',
|
123
|
-
'PHP': '₱',
|
124
|
-
'PKR': '₨',
|
125
|
-
'PLN': 'zł',
|
126
|
-
'PYG': 'Gs',
|
127
|
-
'QAR': '﷼',
|
128
|
-
'RMB': '¥',
|
129
|
-
'RON': 'lei',
|
130
|
-
'RSD': 'Дин.',
|
131
|
-
'RUB': '₽',
|
132
|
-
'RWF': 'R₣',
|
133
|
-
'SAR': '﷼',
|
134
|
-
'SBD': '$',
|
135
|
-
'SCR': '₨',
|
136
|
-
'SDG': 'ج.س.',
|
137
|
-
'SEK': 'kr',
|
138
|
-
'SGD': '$',
|
139
|
-
'SHP': '£',
|
140
|
-
'SLL': 'Le',
|
141
|
-
'SOS': 'S',
|
142
|
-
'SRD': '$',
|
143
|
-
'SSP': '£',
|
144
|
-
'STD': 'Db',
|
145
|
-
'SVC': '$',
|
146
|
-
'SYP': '£',
|
147
|
-
'SZL': 'E',
|
148
|
-
'THB': '฿',
|
149
|
-
'TJS': 'SM',
|
150
|
-
'TMT': 'T',
|
151
|
-
'TND': 'د.ت',
|
152
|
-
'TOP': 'T$',
|
153
|
-
'TRL': '₤',
|
154
|
-
'TRY': '₺',
|
155
|
-
'TTD': 'TT$',
|
156
|
-
'TVD': '$',
|
157
|
-
'TWD': 'NT$',
|
158
|
-
'TZS': 'TSh',
|
159
|
-
'UAH': '₴',
|
160
|
-
'UGX': 'USh',
|
161
|
-
'USD': '$',
|
162
|
-
'UYU': '$U',
|
163
|
-
'UZS': 'лв',
|
164
|
-
'VEF': 'Bs',
|
165
|
-
'VND': '₫',
|
166
|
-
'VUV': 'VT',
|
167
|
-
'WST': 'WS$',
|
168
|
-
'XAF': 'FCFA',
|
169
|
-
'XBT': 'Ƀ',
|
170
|
-
'XCD': '$',
|
171
|
-
'XOF': 'CFA',
|
172
|
-
'XPF': '₣',
|
173
|
-
'YER': '﷼',
|
174
|
-
'ZAR': 'R',
|
175
|
-
'ZWD': 'Z$',
|
176
|
-
};
|
177
|
-
|
178
|
-
const casinoGameThumbnailBetlimitCss = ":host{display:block}";
|
179
|
-
|
180
|
-
const CasinoGameThumbnailBetlimit = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
181
|
-
constructor() {
|
182
|
-
super();
|
183
|
-
this.__registerHost();
|
184
|
-
this.defaultCurrency = 'EUR';
|
185
|
-
this.isBetLimitAvailable = false;
|
186
|
-
}
|
187
|
-
getCurrencySymbols(currency) {
|
188
|
-
return currenciesSymbols[currency];
|
189
|
-
}
|
190
|
-
componentWillRender() {
|
191
|
-
if (this.betLimit) {
|
192
|
-
const limit = this.betLimit.max
|
193
|
-
? this.betLimit.max
|
194
|
-
: this.betLimit.min || {};
|
195
|
-
this.isBetLimitAvailable = Object.keys(limit).length === 1;
|
196
|
-
this.currency = this.isBetLimitAvailable
|
197
|
-
? Object.keys(limit)[0]
|
198
|
-
: this.defaultCurrency;
|
199
|
-
}
|
200
|
-
}
|
201
|
-
render() {
|
202
|
-
if (!this.isBetLimitAvailable) {
|
203
|
-
return '';
|
204
|
-
}
|
205
|
-
return (h("p", { class: "LiveLimits" }, h("span", { class: "BetLimitLeft" }, this.getCurrencySymbols(this.currency), ' ', numberWithSeparators(this.betLimit.min[this.currency]), " -", ' ', numberWithSeparators(this.betLimit.max[this.currency])), (this.numberOfPlayers || this.numberOfPlayers == 0) && (h("span", { class: "BetLimitRight" }, h("svg", { fill: "white", width: "13", height: "13", viewBox: "0 0 13 14", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z" })), h("span", { class: "NrOfPlayers" }, this.numberOfPlayers)))));
|
206
|
-
}
|
207
|
-
static get style() { return casinoGameThumbnailBetlimitCss; }
|
208
|
-
}, [0, "casino-game-thumbnail-betlimit", {
|
209
|
-
"betLimit": [16],
|
210
|
-
"numberOfPlayers": [2, "number-of-players"]
|
211
|
-
}]);
|
212
|
-
function defineCustomElement() {
|
213
|
-
if (typeof customElements === "undefined") {
|
214
|
-
return;
|
215
|
-
}
|
216
|
-
const components = ["casino-game-thumbnail-betlimit"];
|
217
|
-
components.forEach(tagName => { switch (tagName) {
|
218
|
-
case "casino-game-thumbnail-betlimit":
|
219
|
-
if (!customElements.get(tagName)) {
|
220
|
-
customElements.define(tagName, CasinoGameThumbnailBetlimit);
|
221
|
-
}
|
222
|
-
break;
|
223
|
-
} });
|
224
|
-
}
|
225
|
-
defineCustomElement();
|
226
|
-
|
227
|
-
export { CasinoGameThumbnailBetlimit as C, defineCustomElement as d };
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface CasinoGameThumbnailExtrainfo extends Components.CasinoGameThumbnailExtrainfo, HTMLElement {}
|
4
|
-
export const CasinoGameThumbnailExtrainfo: {
|
5
|
-
prototype: CasinoGameThumbnailExtrainfo;
|
6
|
-
new (): CasinoGameThumbnailExtrainfo;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { C as CasinoGameThumbnailExtrainfo$1, d as defineCustomElement$1 } from './casino-game-thumbnail-extrainfo2.js';
|
2
|
-
|
3
|
-
const CasinoGameThumbnailExtrainfo = CasinoGameThumbnailExtrainfo$1;
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
5
|
-
|
6
|
-
export { CasinoGameThumbnailExtrainfo, defineCustomElement };
|
@@ -1,96 +0,0 @@
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
2
|
-
import { a as addGameTag, h as hooks } from './utils.js';
|
3
|
-
import { t as translate } from './locale.utils.js';
|
4
|
-
import { a as WIDGETTYPE_GAMECATEGORY, b as WIDGETTYPE_CLASS } from './game-thumbnail.js';
|
5
|
-
import { d as defineCustomElement$1 } from './casino-game-thumbnail-betlimit2.js';
|
6
|
-
|
7
|
-
const casinoGameThumbnailExtrainfoCss = ":host{display:block;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 10px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 6px 0 1px;font-size:14px;text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 10px 5px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px;vertical-align:top}";
|
8
|
-
|
9
|
-
const CasinoGameThumbnailExtrainfo = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
10
|
-
constructor() {
|
11
|
-
super();
|
12
|
-
this.__registerHost();
|
13
|
-
this.language = 'en';
|
14
|
-
this.isNewGame = false;
|
15
|
-
}
|
16
|
-
async onGameLoaded(gameInfo) {
|
17
|
-
var _a;
|
18
|
-
this.gameInfo = gameInfo;
|
19
|
-
this.isNewGame = this.gameInfo.isNew;
|
20
|
-
if (this.gameInfo.gameTag === 'false') {
|
21
|
-
this.gameInfo.gameTag = null;
|
22
|
-
}
|
23
|
-
this.gameTag = this.gameInfo.gameTag;
|
24
|
-
if (!this.gameInfo.details) {
|
25
|
-
return;
|
26
|
-
}
|
27
|
-
this.gameDetails = this.gameInfo.details;
|
28
|
-
this.isDouble = !this.gameDetails
|
29
|
-
? false
|
30
|
-
: this.gameInfo.details.category.toLowerCase() ===
|
31
|
-
WIDGETTYPE_GAMECATEGORY.doubleballroulette;
|
32
|
-
this.gameTag = !this.gameDetails
|
33
|
-
? this.gameInfo.gameTag
|
34
|
-
: ((_a = this.gameInfo.advancedTags) === null || _a === void 0 ? void 0 : _a.length) > 0
|
35
|
-
? addGameTag(this.gameInfo.advancedTags)
|
36
|
-
: this.gameInfo.gameTag;
|
37
|
-
this.betLimit = !this.gameDetails ? null : this.gameDetails.betLimit;
|
38
|
-
this.initTimeProperties();
|
39
|
-
}
|
40
|
-
initTimeProperties() {
|
41
|
-
var _a, _b, _c, _d, _e;
|
42
|
-
//openHours.type: valid data: Bounded, FullTime
|
43
|
-
if (((_b = (_a = this.gameDetails) === null || _a === void 0 ? void 0 : _a.openHours) === null || _b === void 0 ? void 0 : _b.type) === 'Bounded') {
|
44
|
-
this.gameStartTime = (_d = (_c = this.gameDetails) === null || _c === void 0 ? void 0 : _c.openHours) === null || _d === void 0 ? void 0 : _d.value.startTime;
|
45
|
-
this.gameTimeFormat =
|
46
|
-
(_e = this.gameDetails) === null || _e === void 0 ? void 0 : _e.openHours.value.originalTimeFormat;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
async onGameDetailUpdated(details) {
|
50
|
-
this.gameInfo.details = this.gameDetails = details;
|
51
|
-
this.gameDetails = Object.assign({}, this.gameDetails);
|
52
|
-
//openHours.type: valid data: Bouned, FullTime
|
53
|
-
this.initTimeProperties();
|
54
|
-
}
|
55
|
-
render() {
|
56
|
-
var _a, _b, _c;
|
57
|
-
if (!this.gameInfo) {
|
58
|
-
return '';
|
59
|
-
}
|
60
|
-
return (h("div", { class: "GameExtraInfo", part: "GameExtraInfo" }, this.isNewGame && (h("span", { class: "GameExtraInfoLabel NewGameTag", part: "GameExtraInfoLabel NewGameTag" }, translate('new', this.language))), this.gameTag && (h("span", { class: "GameExtraInfoLabel PopularGameTag", part: "GameExtraInfoLabel PopularGameTag" }, this.gameTag)), this.gameDetails && (h("div", { class: `GameProp LiveProps ${WIDGETTYPE_CLASS[this.gameDetails.category.toLowerCase()]} ${this.isDouble ? ' Double' : ''}`, part: `GameProp LiveProps ${WIDGETTYPE_CLASS[this.gameDetails.category.toLowerCase()]} ${this.isDouble ? ' Double' : ''}` }, this.gameDetails.isOpen ? (h("slot", { name: "category-details" })) : (this.gameStartTime &&
|
61
|
-
this.gameTimeFormat && (h("div", { class: "ClosedGame", part: "ClosedGame" }, translate('opens', this.language), h("span", null, ' ', hooks
|
62
|
-
.utc(this.gameStartTime)
|
63
|
-
.local()
|
64
|
-
.format(this.gameTimeFormat), ' ')))), ((_a = this.gameDetails.dealer) === null || _a === void 0 ? void 0 : _a.DealerName) && (h("p", { class: "LiveLimits" }, h("span", { class: "DealerName" }, translate('dealer', this.language), ":", ' ', (_b = this.gameDetails) === null || _b === void 0 ? void 0 :
|
65
|
-
_b.dealer.DealerName, ' '))), h("casino-game-thumbnail-betlimit", { betLimit: this.betLimit, numberOfPlayers: (_c = this.gameDetails) === null || _c === void 0 ? void 0 : _c.numberOfPlayers })))));
|
66
|
-
}
|
67
|
-
static get style() { return casinoGameThumbnailExtrainfoCss; }
|
68
|
-
}, [4, "casino-game-thumbnail-extrainfo", {
|
69
|
-
"language": [1],
|
70
|
-
"betLimit": [32],
|
71
|
-
"gameInfo": [32],
|
72
|
-
"gameDetails": [32],
|
73
|
-
"onGameLoaded": [64],
|
74
|
-
"onGameDetailUpdated": [64]
|
75
|
-
}]);
|
76
|
-
function defineCustomElement() {
|
77
|
-
if (typeof customElements === "undefined") {
|
78
|
-
return;
|
79
|
-
}
|
80
|
-
const components = ["casino-game-thumbnail-extrainfo", "casino-game-thumbnail-betlimit"];
|
81
|
-
components.forEach(tagName => { switch (tagName) {
|
82
|
-
case "casino-game-thumbnail-extrainfo":
|
83
|
-
if (!customElements.get(tagName)) {
|
84
|
-
customElements.define(tagName, CasinoGameThumbnailExtrainfo);
|
85
|
-
}
|
86
|
-
break;
|
87
|
-
case "casino-game-thumbnail-betlimit":
|
88
|
-
if (!customElements.get(tagName)) {
|
89
|
-
defineCustomElement$1();
|
90
|
-
}
|
91
|
-
break;
|
92
|
-
} });
|
93
|
-
}
|
94
|
-
defineCustomElement();
|
95
|
-
|
96
|
-
export { CasinoGameThumbnailExtrainfo as C, defineCustomElement as d };
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface CasinoGameThumbnailOverlay extends Components.CasinoGameThumbnailOverlay, HTMLElement {}
|
4
|
-
export const CasinoGameThumbnailOverlay: {
|
5
|
-
prototype: CasinoGameThumbnailOverlay;
|
6
|
-
new (): CasinoGameThumbnailOverlay;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { C as CasinoGameThumbnailOverlay$1, d as defineCustomElement$1 } from './casino-game-thumbnail-overlay2.js';
|
2
|
-
|
3
|
-
const CasinoGameThumbnailOverlay = CasinoGameThumbnailOverlay$1;
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
5
|
-
|
6
|
-
export { CasinoGameThumbnailOverlay, defineCustomElement };
|
@@ -1,69 +0,0 @@
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
2
|
-
import { i as isMobile } from './utils.js';
|
3
|
-
import { t as translate } from './locale.utils.js';
|
4
|
-
|
5
|
-
const casinoGameThumbnailOverlayCss = ":host{display:block}.GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInfoWrapper:hover{display:block !important}";
|
6
|
-
|
7
|
-
const CasinoGameThumbnailOverlay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
8
|
-
constructor() {
|
9
|
-
super();
|
10
|
-
this.__registerHost();
|
11
|
-
this.playClicked = createEvent(this, "playCasinoGame", 7);
|
12
|
-
/**
|
13
|
-
* Widget Setting, show game in a frame when user clicked 'start', default: false
|
14
|
-
*/
|
15
|
-
this.integratedGameframeMobile = false;
|
16
|
-
/**
|
17
|
-
* Widget Setting, show game in a frame when user clicked 'start', default: false
|
18
|
-
* Open game in a frame, gamepageModalurl value should be set
|
19
|
-
*/
|
20
|
-
this.integratedGameframeDesktop = false;
|
21
|
-
/**
|
22
|
-
* Language
|
23
|
-
*/
|
24
|
-
this.language = 'en';
|
25
|
-
this.userAgent = window.navigator.userAgent;
|
26
|
-
}
|
27
|
-
onPlayNowClicked() {
|
28
|
-
this.playClicked.emit(this.gameId);
|
29
|
-
let modalEventData = {
|
30
|
-
gameId: this.gameId,
|
31
|
-
isMobile: isMobile(this.userAgent),
|
32
|
-
};
|
33
|
-
let isFrameMode = this.integratedGameframeMobile || this.integratedGameframeDesktop;
|
34
|
-
window.postMessage({
|
35
|
-
type: isFrameMode ? 'OpenGameFrame' : 'ShowGameModal',
|
36
|
-
eventData: isFrameMode
|
37
|
-
? Object.assign(Object.assign({}, modalEventData), { gamefunmode: this.hasFunMode, source: 'GameThumbnail', identifier: 'Lobby' }) : modalEventData,
|
38
|
-
}, window.location.href);
|
39
|
-
}
|
40
|
-
render() {
|
41
|
-
return (h("div", { class: "GameInfoWrapper", part: "GameInfoWrapper" }, h("div", { class: "GameInfo ", part: "GameInfo " }, h("p", { class: "GameInfoName", part: "GameInfoName", title: this.gameName }, ' ', this.gameName, ' '), h("button", { class: "GameInfoBtn", part: "GameInfoBtn", onClick: () => this.onPlayNowClicked() }, translate('playNow', this.language))), h("slot", { name: "vendor-name" }, h("span", { class: "GameInfoVendor", part: "GameInfoVendor" }, this.gameVendor))));
|
42
|
-
}
|
43
|
-
static get style() { return casinoGameThumbnailOverlayCss; }
|
44
|
-
}, [4, "casino-game-thumbnail-overlay", {
|
45
|
-
"gamepageModalurl": [1, "gamepage-modalurl"],
|
46
|
-
"integratedGameframeMobile": [4, "integrated-gameframe-mobile"],
|
47
|
-
"integratedGameframeDesktop": [4, "integrated-gameframe-desktop"],
|
48
|
-
"language": [1],
|
49
|
-
"gameName": [1, "game-name"],
|
50
|
-
"gameVendor": [1, "game-vendor"],
|
51
|
-
"gameId": [8, "game-id"],
|
52
|
-
"hasFunMode": [4, "has-fun-mode"]
|
53
|
-
}]);
|
54
|
-
function defineCustomElement() {
|
55
|
-
if (typeof customElements === "undefined") {
|
56
|
-
return;
|
57
|
-
}
|
58
|
-
const components = ["casino-game-thumbnail-overlay"];
|
59
|
-
components.forEach(tagName => { switch (tagName) {
|
60
|
-
case "casino-game-thumbnail-overlay":
|
61
|
-
if (!customElements.get(tagName)) {
|
62
|
-
customElements.define(tagName, CasinoGameThumbnailOverlay);
|
63
|
-
}
|
64
|
-
break;
|
65
|
-
} });
|
66
|
-
}
|
67
|
-
defineCustomElement();
|
68
|
-
|
69
|
-
export { CasinoGameThumbnailOverlay as C, defineCustomElement as d };
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
2
|
-
|
3
|
-
interface CasinoNormalGameThumbnail extends Components.CasinoNormalGameThumbnail, HTMLElement {}
|
4
|
-
export const CasinoNormalGameThumbnail: {
|
5
|
-
prototype: CasinoNormalGameThumbnail;
|
6
|
-
new (): CasinoNormalGameThumbnail;
|
7
|
-
};
|
8
|
-
/**
|
9
|
-
* Used to define this component and all nested components recursively.
|
10
|
-
*/
|
11
|
-
export const defineCustomElement: () => void;
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import { d as defineCustomElement$3 } from './casino-game-thumbnail-betlimit2.js';
|
3
|
-
import { d as defineCustomElement$2 } from './casino-game-thumbnail-extrainfo2.js';
|
4
|
-
|
5
|
-
const casinoNormalGameThumbnailCss = ":host{display:block}";
|
6
|
-
|
7
|
-
const CasinoNormalGameThumbnail$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
8
|
-
constructor() {
|
9
|
-
super();
|
10
|
-
this.__registerHost();
|
11
|
-
}
|
12
|
-
async onGameLoaded(gameInfo) {
|
13
|
-
var _a;
|
14
|
-
(_a = this.infoWrapperRef) === null || _a === void 0 ? void 0 : _a.onGameLoaded(gameInfo);
|
15
|
-
}
|
16
|
-
render() {
|
17
|
-
return (h(Host, null, h("casino-game-thumbnail-extrainfo", { ref: (el) => (this.infoWrapperRef = el), language: this.language })));
|
18
|
-
}
|
19
|
-
static get style() { return casinoNormalGameThumbnailCss; }
|
20
|
-
}, [0, "casino-normal-game-thumbnail", {
|
21
|
-
"language": [1],
|
22
|
-
"onGameLoaded": [64]
|
23
|
-
}]);
|
24
|
-
function defineCustomElement$1() {
|
25
|
-
if (typeof customElements === "undefined") {
|
26
|
-
return;
|
27
|
-
}
|
28
|
-
const components = ["casino-normal-game-thumbnail", "casino-game-thumbnail-betlimit", "casino-game-thumbnail-extrainfo"];
|
29
|
-
components.forEach(tagName => { switch (tagName) {
|
30
|
-
case "casino-normal-game-thumbnail":
|
31
|
-
if (!customElements.get(tagName)) {
|
32
|
-
customElements.define(tagName, CasinoNormalGameThumbnail$1);
|
33
|
-
}
|
34
|
-
break;
|
35
|
-
case "casino-game-thumbnail-betlimit":
|
36
|
-
if (!customElements.get(tagName)) {
|
37
|
-
defineCustomElement$3();
|
38
|
-
}
|
39
|
-
break;
|
40
|
-
case "casino-game-thumbnail-extrainfo":
|
41
|
-
if (!customElements.get(tagName)) {
|
42
|
-
defineCustomElement$2();
|
43
|
-
}
|
44
|
-
break;
|
45
|
-
} });
|
46
|
-
}
|
47
|
-
defineCustomElement$1();
|
48
|
-
|
49
|
-
const CasinoNormalGameThumbnail = CasinoNormalGameThumbnail$1;
|
50
|
-
const defineCustomElement = defineCustomElement$1;
|
51
|
-
|
52
|
-
export { CasinoNormalGameThumbnail, defineCustomElement };
|
@@ -1,72 +0,0 @@
|
|
1
|
-
const DEFAULT_BLACKJACK_TOTAL_SEATS = 7;
|
2
|
-
const ROULETTE_COLOR_MAP = {
|
3
|
-
1: 'Red',
|
4
|
-
3: 'Red',
|
5
|
-
5: 'Red',
|
6
|
-
7: 'Red',
|
7
|
-
9: 'Red',
|
8
|
-
12: 'Red',
|
9
|
-
14: 'Red',
|
10
|
-
16: 'Red',
|
11
|
-
18: 'Red',
|
12
|
-
19: 'Red',
|
13
|
-
21: 'Red',
|
14
|
-
23: 'Red',
|
15
|
-
25: 'Red',
|
16
|
-
27: 'Red',
|
17
|
-
30: 'Red',
|
18
|
-
32: 'Red',
|
19
|
-
34: 'Red',
|
20
|
-
36: 'Red',
|
21
|
-
2: 'Black',
|
22
|
-
4: 'Black',
|
23
|
-
6: 'Black',
|
24
|
-
8: 'Black',
|
25
|
-
10: 'Black',
|
26
|
-
11: 'Black',
|
27
|
-
13: 'Black',
|
28
|
-
15: 'Black',
|
29
|
-
17: 'Black',
|
30
|
-
20: 'Black',
|
31
|
-
22: 'Black',
|
32
|
-
24: 'Black',
|
33
|
-
26: 'Black',
|
34
|
-
28: 'Black',
|
35
|
-
29: 'Black',
|
36
|
-
31: 'Black',
|
37
|
-
33: 'Black',
|
38
|
-
35: 'Black',
|
39
|
-
0: 'Green',
|
40
|
-
'00': 'Green',
|
41
|
-
};
|
42
|
-
var GAME_CATEGORY;
|
43
|
-
(function (GAME_CATEGORY) {
|
44
|
-
GAME_CATEGORY["BLACKJACK"] = "blackjack";
|
45
|
-
GAME_CATEGORY["ROULETTE"] = "roulette";
|
46
|
-
GAME_CATEGORY["DOUBLEBALL_ROULETTE"] = "doubleballroulette";
|
47
|
-
GAME_CATEGORY["BACCARAT"] = "baccarat";
|
48
|
-
})(GAME_CATEGORY || (GAME_CATEGORY = {}));
|
49
|
-
var GAME_TYPE;
|
50
|
-
(function (GAME_TYPE) {
|
51
|
-
GAME_TYPE["NORMAL_CASINO"] = "casino-games";
|
52
|
-
GAME_TYPE["LIVE_CASINO"] = "live-casino-tables";
|
53
|
-
GAME_TYPE["OTHER"] = "";
|
54
|
-
})(GAME_TYPE || (GAME_TYPE = {}));
|
55
|
-
const WIDGETTYPE_GAMECATEGORY = {
|
56
|
-
'roulette': 'roulette',
|
57
|
-
'doubleballroulette': 'doubleballroulette',
|
58
|
-
'blackjack': 'blackjack',
|
59
|
-
'baccarat': 'baccarat'
|
60
|
-
};
|
61
|
-
const WIDGETTYPE_CLASS = {
|
62
|
-
'roulette': 'RoulleteProps',
|
63
|
-
'doubleballroulette': 'RoulleteProps',
|
64
|
-
'blackjack': 'BlackjackDisplay',
|
65
|
-
'baccarat': 'BaccaratProps'
|
66
|
-
};
|
67
|
-
const WINNER_COLOR = {
|
68
|
-
'banker': 'red',
|
69
|
-
'player': 'blue'
|
70
|
-
};
|
71
|
-
|
72
|
-
export { DEFAULT_BLACKJACK_TOTAL_SEATS as D, GAME_CATEGORY as G, ROULETTE_COLOR_MAP as R, WINNER_COLOR as W, WIDGETTYPE_GAMECATEGORY as a, WIDGETTYPE_CLASS as b, GAME_TYPE as c };
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/* CasinoGameThumbView custom elements */
|
2
|
-
|
3
|
-
import type { Components, JSX } from "../types/components";
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Used to manually set the base path where assets can be found.
|
7
|
-
* If the script is used as "module", it's recommended to use "import.meta.url",
|
8
|
-
* such as "setAssetPath(import.meta.url)". Other options include
|
9
|
-
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
10
|
-
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
11
|
-
* But do note that this configuration depends on how your script is bundled, or lack of
|
12
|
-
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
13
|
-
* will have to ensure the static assets are copied to its build directory.
|
14
|
-
*/
|
15
|
-
export declare const setAssetPath: (path: string) => void;
|
16
|
-
|
17
|
-
export interface SetPlatformOptions {
|
18
|
-
raf?: (c: FrameRequestCallback) => number;
|
19
|
-
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
20
|
-
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
21
|
-
}
|
22
|
-
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
23
|
-
|
24
|
-
export type { Components, JSX };
|
25
|
-
|
26
|
-
export * from '../types';
|
package/dist/components/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|