@everymatrix/casino-tournaments-controller 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsController-BBv1Hyoc.js +5627 -0
- package/components/CasinoTournamentsController-BgoGP80M.cjs +14 -0
- package/components/CasinoTournamentsFilterController-BqjTkXsP.js +529 -0
- package/components/CasinoTournamentsFilterController-DRPLlsmH.cjs +1 -0
- package/components/CasinoTournamentsListController-BHZPf1Di.js +3103 -0
- package/components/CasinoTournamentsListController-nfyqtXdi.cjs +13 -0
- package/components/CasinoTournamentsThumbnail-B5svaS7p.cjs +4 -0
- package/components/CasinoTournamentsThumbnail-DdkzbUpk.js +865 -0
- package/components/CasinoTournamentsThumbnailController-BnIRoSw0.cjs +1 -0
- package/components/CasinoTournamentsThumbnailController-DX_9tXvb.js +1405 -0
- package/components/CasinoTournamentsThumbnailDuration-BZyUIEUp.cjs +1 -0
- package/components/CasinoTournamentsThumbnailDuration-CVtlYaVM.js +495 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-CPUoPnwu.js +438 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-CuGCo4r6.cjs +1 -0
- package/components/CasinoTournamentsThumbnailPrizes-CPmYLRmC.cjs +1 -0
- package/components/CasinoTournamentsThumbnailPrizes-DD7Zhrne.js +310 -0
- package/es2015/casino-tournaments-controller.cjs +1 -0
- package/es2015/casino-tournaments-controller.js +16 -0
- package/package.json +18 -32
- package/.eslintrc +0 -84
- package/CHANGELOG.md +0 -11
- package/README.md +0 -0
- package/dist/casino-tournaments-controller.js +0 -2
- package/dist/casino-tournaments-controller.js.map +0 -1
- package/documentation.md +0 -170
- package/index.html +0 -29
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoTournamentsController.svelte +0 -527
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -62
- package/src/util.ts +0 -2
- package/stories/CasinoTournamentsController.stories.js +0 -13
- package/svelte.config.js +0 -7
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { a as A, S as Z, i as j, f as T, c as I, s as R, b as B, e as m, m as b, t as P, d as y, h as k, o as g, p as _, n as M, j as F, k as O, w as U, l as H, q, u as V, $ as W } from "./CasinoTournamentsController-BBv1Hyoc.js";
|
|
2
|
+
function N(n, e) {
|
|
3
|
+
A(n, e);
|
|
4
|
+
}
|
|
5
|
+
const S = {
|
|
6
|
+
en: {
|
|
7
|
+
prizes: "Prizes",
|
|
8
|
+
noprizes: "No available prizes",
|
|
9
|
+
place: "place"
|
|
10
|
+
},
|
|
11
|
+
hr: {
|
|
12
|
+
prizes: "Nagrade",
|
|
13
|
+
noprizes: "Nema dostupnih nagrada",
|
|
14
|
+
place: "mjesto"
|
|
15
|
+
},
|
|
16
|
+
"zh-hk": {
|
|
17
|
+
prizes: "獎品",
|
|
18
|
+
noprizes: "沒有可用的獎品",
|
|
19
|
+
place: "位置"
|
|
20
|
+
},
|
|
21
|
+
fr: {
|
|
22
|
+
prizes: "Prix",
|
|
23
|
+
noprizes: "Aucun prix disponible",
|
|
24
|
+
place: "place"
|
|
25
|
+
},
|
|
26
|
+
ro: {
|
|
27
|
+
prizes: "Premii",
|
|
28
|
+
noprizes: "Nu sunt disponibile premii",
|
|
29
|
+
place: "poziție"
|
|
30
|
+
},
|
|
31
|
+
tr: {
|
|
32
|
+
prizes: "Ödüller",
|
|
33
|
+
noprizes: "Mevcut ödül yok",
|
|
34
|
+
place: "yer"
|
|
35
|
+
},
|
|
36
|
+
el: {
|
|
37
|
+
prizes: "Έπαθλα",
|
|
38
|
+
noprizes: "Μη διαθέσιμα έπαθλα",
|
|
39
|
+
place: "θέση"
|
|
40
|
+
},
|
|
41
|
+
es: {
|
|
42
|
+
prizes: "Premios",
|
|
43
|
+
noprizes: "No hay premios disponibles",
|
|
44
|
+
place: "lugar"
|
|
45
|
+
},
|
|
46
|
+
hu: {
|
|
47
|
+
prizes: "Nyeremények",
|
|
48
|
+
noprizes: "Nincs elérhető nyeremény",
|
|
49
|
+
place: "helyezés"
|
|
50
|
+
},
|
|
51
|
+
pt: {
|
|
52
|
+
prizes: "Prêmios",
|
|
53
|
+
noprizes: "Não há prêmios disponíveis",
|
|
54
|
+
place: "place"
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
function D(n) {
|
|
58
|
+
B(n, "svelte-ypey7g", ".svelte-ypey7g.svelte-ypey7g,.svelte-ypey7g.svelte-ypey7g::before,.svelte-ypey7g.svelte-ypey7g::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span.svelte-ypey7g.svelte-ypey7g{color:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentPrizes.svelte-ypey7g.svelte-ypey7g{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle.svelte-ypey7g.svelte-ypey7g{padding-top:8px}.Prizes.svelte-ypey7g.svelte-ypey7g{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize.svelte-ypey7g.svelte-ypey7g{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.Prize.Prize0.svelte-ypey7g span.svelte-ypey7g{color:#FECF00}.Prize.Prize1.svelte-ypey7g span.svelte-ypey7g{color:#D9B206}.Prize.Prize2.svelte-ypey7g span.svelte-ypey7g{color:#9B8007}.Prize.svelte-ypey7g p.svelte-ypey7g{color:var(--emfe-w-color-white, #FFFFFF)}");
|
|
59
|
+
}
|
|
60
|
+
function E(n, e, t) {
|
|
61
|
+
const l = n.slice();
|
|
62
|
+
return l[13] = e[t], l[15] = t, l;
|
|
63
|
+
}
|
|
64
|
+
function L(n) {
|
|
65
|
+
let e, t = H(
|
|
66
|
+
/*prizes*/
|
|
67
|
+
n[1]
|
|
68
|
+
), l = [];
|
|
69
|
+
for (let s = 0; s < t.length; s += 1)
|
|
70
|
+
l[s] = x(E(n, t, s));
|
|
71
|
+
let i = null;
|
|
72
|
+
return t.length || (i = C(n)), {
|
|
73
|
+
c() {
|
|
74
|
+
e = m("div");
|
|
75
|
+
for (let s = 0; s < l.length; s += 1)
|
|
76
|
+
l[s].c();
|
|
77
|
+
i && i.c(), y(e, "class", "Prizes svelte-ypey7g"), y(e, "part", "Prizes");
|
|
78
|
+
},
|
|
79
|
+
m(s, p) {
|
|
80
|
+
k(s, e, p);
|
|
81
|
+
for (let r = 0; r < l.length; r += 1)
|
|
82
|
+
l[r] && l[r].m(e, null);
|
|
83
|
+
i && i.m(e, null);
|
|
84
|
+
},
|
|
85
|
+
p(s, p) {
|
|
86
|
+
if (p & /*prizes, $_*/
|
|
87
|
+
6) {
|
|
88
|
+
t = H(
|
|
89
|
+
/*prizes*/
|
|
90
|
+
s[1]
|
|
91
|
+
);
|
|
92
|
+
let r;
|
|
93
|
+
for (r = 0; r < t.length; r += 1) {
|
|
94
|
+
const c = E(s, t, r);
|
|
95
|
+
l[r] ? l[r].p(c, p) : (l[r] = x(c), l[r].c(), l[r].m(e, null));
|
|
96
|
+
}
|
|
97
|
+
for (; r < l.length; r += 1)
|
|
98
|
+
l[r].d(1);
|
|
99
|
+
l.length = t.length, !t.length && i ? i.p(s, p) : t.length ? i && (i.d(1), i = null) : (i = C(s), i.c(), i.m(e, null));
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
d(s) {
|
|
103
|
+
s && F(e), q(l, s), i && i.d();
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function C(n) {
|
|
108
|
+
let e, t = (
|
|
109
|
+
/*$_*/
|
|
110
|
+
n[2]("noprizes") + ""
|
|
111
|
+
), l;
|
|
112
|
+
return {
|
|
113
|
+
c() {
|
|
114
|
+
e = m("p"), l = P(t), y(e, "class", "svelte-ypey7g");
|
|
115
|
+
},
|
|
116
|
+
m(i, s) {
|
|
117
|
+
k(i, e, s), g(e, l);
|
|
118
|
+
},
|
|
119
|
+
p(i, s) {
|
|
120
|
+
s & /*$_*/
|
|
121
|
+
4 && t !== (t = /*$_*/
|
|
122
|
+
i[2]("noprizes") + "") && _(l, t);
|
|
123
|
+
},
|
|
124
|
+
d(i) {
|
|
125
|
+
i && F(e);
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
function x(n) {
|
|
130
|
+
let e, t, l, i = (
|
|
131
|
+
/*prize*/
|
|
132
|
+
(n[13].count > 1 ? `${/*prize*/
|
|
133
|
+
n[13].rank}~${/*prize*/
|
|
134
|
+
n[13].rank + /*prize*/
|
|
135
|
+
n[13].count - 1}` : (
|
|
136
|
+
/*prize*/
|
|
137
|
+
n[13].rank
|
|
138
|
+
)) + ""
|
|
139
|
+
), s, p, r = (
|
|
140
|
+
/*$_*/
|
|
141
|
+
n[2]("place") + ""
|
|
142
|
+
), c, o, u = (
|
|
143
|
+
/*prize*/
|
|
144
|
+
n[13].name + ""
|
|
145
|
+
), f, w;
|
|
146
|
+
return {
|
|
147
|
+
c() {
|
|
148
|
+
e = m("div"), t = m("p"), l = m("span"), s = P(i), p = b(), c = P(r), o = P(": "), f = P(u), w = b(), y(l, "class", "PrizeRank svelte-ypey7g"), y(l, "part", "PrizeRank"), y(t, "class", "PrizeText svelte-ypey7g"), y(t, "part", "PrizeText"), y(e, "class", "Prize Prize" + /*index*/
|
|
149
|
+
n[15] + " svelte-ypey7g"), y(e, "part", "Prize Prize" + /*index*/
|
|
150
|
+
n[15]);
|
|
151
|
+
},
|
|
152
|
+
m(d, z) {
|
|
153
|
+
k(d, e, z), g(e, t), g(t, l), g(l, s), g(t, p), g(t, c), g(t, o), g(t, f), g(e, w);
|
|
154
|
+
},
|
|
155
|
+
p(d, z) {
|
|
156
|
+
z & /*prizes*/
|
|
157
|
+
2 && i !== (i = /*prize*/
|
|
158
|
+
(d[13].count > 1 ? `${/*prize*/
|
|
159
|
+
d[13].rank}~${/*prize*/
|
|
160
|
+
d[13].rank + /*prize*/
|
|
161
|
+
d[13].count - 1}` : (
|
|
162
|
+
/*prize*/
|
|
163
|
+
d[13].rank
|
|
164
|
+
)) + "") && _(s, i), z & /*$_*/
|
|
165
|
+
4 && r !== (r = /*$_*/
|
|
166
|
+
d[2]("place") + "") && _(c, r), z & /*prizes*/
|
|
167
|
+
2 && u !== (u = /*prize*/
|
|
168
|
+
d[13].name + "") && _(f, u);
|
|
169
|
+
},
|
|
170
|
+
d(d) {
|
|
171
|
+
d && F(e);
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
function G(n) {
|
|
176
|
+
let e, t, l, i, s, p = (
|
|
177
|
+
/*$_*/
|
|
178
|
+
n[2]("prizes") + ""
|
|
179
|
+
), r, c, o = (
|
|
180
|
+
/*prizes*/
|
|
181
|
+
n[1] && L(n)
|
|
182
|
+
);
|
|
183
|
+
return {
|
|
184
|
+
c() {
|
|
185
|
+
e = m("div"), t = m("div"), l = m("span"), l.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454" class="svelte-ypey7g"><defs class="svelte-ypey7g"><style class="svelte-ypey7g">.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a svelte-ypey7g" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', i = b(), s = m("p"), r = P(p), c = b(), o && o.c(), y(l, "class", "TournamentPrizesIconWrapper svelte-ypey7g"), y(l, "part", "TournamentPrizesIconWrapper"), y(s, "class", "PrizesTitle svelte-ypey7g"), y(s, "part", "PrizesTitle"), y(t, "class", "TournamentPrizesIconSection svelte-ypey7g"), y(t, "part", "TournamentPrizesIconSection"), y(e, "class", "TournamentPrizes svelte-ypey7g"), y(e, "part", "TournamentPrizes");
|
|
186
|
+
},
|
|
187
|
+
m(u, f) {
|
|
188
|
+
k(u, e, f), g(e, t), g(t, l), g(t, i), g(t, s), g(s, r), g(e, c), o && o.m(e, null), n[7](e);
|
|
189
|
+
},
|
|
190
|
+
p(u, [f]) {
|
|
191
|
+
f & /*$_*/
|
|
192
|
+
4 && p !== (p = /*$_*/
|
|
193
|
+
u[2]("prizes") + "") && _(r, p), /*prizes*/
|
|
194
|
+
u[1] ? o ? o.p(u, f) : (o = L(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
195
|
+
},
|
|
196
|
+
i: M,
|
|
197
|
+
o: M,
|
|
198
|
+
d(u) {
|
|
199
|
+
u && F(e), o && o.d(), n[7](null);
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
function J(n, e, t) {
|
|
204
|
+
let l;
|
|
205
|
+
O(n, W, (a) => t(2, l = a));
|
|
206
|
+
let { tourid: i = "" } = e, { clientstyling: s = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: r = "" } = e, c, o;
|
|
207
|
+
const u = () => {
|
|
208
|
+
fetch(r).then((h) => h.json()).then((h) => {
|
|
209
|
+
Object.keys(h).forEach((v) => {
|
|
210
|
+
N(v, h[v]);
|
|
211
|
+
});
|
|
212
|
+
}).catch((h) => {
|
|
213
|
+
console.log(h);
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
Object.keys(S).forEach((a) => {
|
|
217
|
+
N(a, S[a]);
|
|
218
|
+
});
|
|
219
|
+
const f = (a) => {
|
|
220
|
+
a.data && a.data.type == `TournamentPrizes_${i}` && t(1, o = a.data.prizes);
|
|
221
|
+
}, w = () => {
|
|
222
|
+
let a = document.createElement("style");
|
|
223
|
+
a.innerHTML = s, c.appendChild(a);
|
|
224
|
+
}, d = () => {
|
|
225
|
+
let a = new URL(p), h = document.createElement("style");
|
|
226
|
+
fetch(a.href).then((v) => v.text()).then((v) => {
|
|
227
|
+
h.innerHTML = v, setTimeout(
|
|
228
|
+
() => {
|
|
229
|
+
c.appendChild(h);
|
|
230
|
+
},
|
|
231
|
+
1
|
|
232
|
+
), setTimeout(
|
|
233
|
+
() => {
|
|
234
|
+
},
|
|
235
|
+
500
|
|
236
|
+
);
|
|
237
|
+
});
|
|
238
|
+
};
|
|
239
|
+
U(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", f, !1), () => {
|
|
240
|
+
window.removeEventListener("message", f);
|
|
241
|
+
}));
|
|
242
|
+
function z(a) {
|
|
243
|
+
V[a ? "unshift" : "push"](() => {
|
|
244
|
+
c = a, t(0, c);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
return n.$$set = (a) => {
|
|
248
|
+
"tourid" in a && t(3, i = a.tourid), "clientstyling" in a && t(4, s = a.clientstyling), "clientstylingurl" in a && t(5, p = a.clientstylingurl), "translationurl" in a && t(6, r = a.translationurl);
|
|
249
|
+
}, n.$$.update = () => {
|
|
250
|
+
n.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
251
|
+
17 && c && s && w(), n.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
252
|
+
33 && c && p && d(), n.$$.dirty & /*translationurl*/
|
|
253
|
+
64 && r && u();
|
|
254
|
+
}, [
|
|
255
|
+
c,
|
|
256
|
+
o,
|
|
257
|
+
l,
|
|
258
|
+
i,
|
|
259
|
+
s,
|
|
260
|
+
p,
|
|
261
|
+
r,
|
|
262
|
+
z
|
|
263
|
+
];
|
|
264
|
+
}
|
|
265
|
+
class K extends Z {
|
|
266
|
+
constructor(e) {
|
|
267
|
+
super(), j(
|
|
268
|
+
this,
|
|
269
|
+
e,
|
|
270
|
+
J,
|
|
271
|
+
G,
|
|
272
|
+
R,
|
|
273
|
+
{
|
|
274
|
+
tourid: 3,
|
|
275
|
+
clientstyling: 4,
|
|
276
|
+
clientstylingurl: 5,
|
|
277
|
+
translationurl: 6
|
|
278
|
+
},
|
|
279
|
+
D
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
get tourid() {
|
|
283
|
+
return this.$$.ctx[3];
|
|
284
|
+
}
|
|
285
|
+
set tourid(e) {
|
|
286
|
+
this.$$set({ tourid: e }), T();
|
|
287
|
+
}
|
|
288
|
+
get clientstyling() {
|
|
289
|
+
return this.$$.ctx[4];
|
|
290
|
+
}
|
|
291
|
+
set clientstyling(e) {
|
|
292
|
+
this.$$set({ clientstyling: e }), T();
|
|
293
|
+
}
|
|
294
|
+
get clientstylingurl() {
|
|
295
|
+
return this.$$.ctx[5];
|
|
296
|
+
}
|
|
297
|
+
set clientstylingurl(e) {
|
|
298
|
+
this.$$set({ clientstylingurl: e }), T();
|
|
299
|
+
}
|
|
300
|
+
get translationurl() {
|
|
301
|
+
return this.$$.ctx[6];
|
|
302
|
+
}
|
|
303
|
+
set translationurl(e) {
|
|
304
|
+
this.$$set({ translationurl: e }), T();
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
I(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
308
|
+
export {
|
|
309
|
+
K as default
|
|
310
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsController-BgoGP80M.cjs")).then(e=>e.CasinoTournamentsController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-controller")&&customElements.define("casino-tournaments-controller",e.element)})}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
if (typeof window != "undefined") {
|
|
2
|
+
let n = function(e) {
|
|
3
|
+
return function(...s) {
|
|
4
|
+
try {
|
|
5
|
+
return e.apply(this, s);
|
|
6
|
+
} catch (t) {
|
|
7
|
+
if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
8
|
+
return !1;
|
|
9
|
+
throw t;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsController-BBv1Hyoc.js").then((e) => e.K).then(({ default: e }) => {
|
|
14
|
+
!customElements.get("casino-tournaments-controller") && customElements.define("casino-tournaments-controller", e.element);
|
|
15
|
+
});
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,39 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-tournaments-controller",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
15
|
-
"@rollup/plugin-commonjs": "^16.0.0",
|
|
16
|
-
"@rollup/plugin-node-resolve": "^10.0.0",
|
|
17
|
-
"@rollup/plugin-typescript": "^6.0.0",
|
|
18
|
-
"@tsconfig/svelte": "^1.0.0",
|
|
19
|
-
"rollup": "^2.3.4",
|
|
20
|
-
"rollup-plugin-dev-server": "^0.4.3",
|
|
21
|
-
"rollup-plugin-livereload": "^2.0.0",
|
|
22
|
-
"rollup-plugin-svelte": "^7.0.0",
|
|
23
|
-
"rollup-plugin-terser": "^7.0.0",
|
|
24
|
-
"rollup-plugin-uglify": "^6.0.4",
|
|
25
|
-
"svelte-check": "^1.0.0",
|
|
26
|
-
"svelte-preprocess": "^5.0.0",
|
|
27
|
-
"tslib": "^2.0.0",
|
|
28
|
-
"typescript": "^3.9.3"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"cross-env": "^7.0.3",
|
|
32
|
-
"sirv-cli": "^1.0.0",
|
|
33
|
-
"svelte": "^3.0.0"
|
|
3
|
+
"version": "1.45.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "es2015/casino-tournaments-controller.cjs",
|
|
6
|
+
"module": "es2015/casino-tournaments-controller.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./es2015/casino-tournaments-controller.js",
|
|
10
|
+
"require": "./es2015/casino-tournaments-controller.cjs"
|
|
11
|
+
},
|
|
12
|
+
"./es2015/casino-tournaments-controller.cjs": "./es2015/casino-tournaments-controller.cjs"
|
|
34
13
|
},
|
|
14
|
+
"files": [
|
|
15
|
+
"es2015/",
|
|
16
|
+
"components"
|
|
17
|
+
],
|
|
35
18
|
"publishConfig": {
|
|
36
19
|
"access": "public"
|
|
37
20
|
},
|
|
38
|
-
"
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@everymatrix/casino-tournaments-filter-controller": "1.0.72",
|
|
23
|
+
"@everymatrix/casino-tournaments-list-controller": "1.0.72"
|
|
24
|
+
}
|
|
39
25
|
}
|
package/.eslintrc
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": {
|
|
3
|
-
"camelcase": "off",
|
|
4
|
-
"comma-dangle": [ "error", "never" ],
|
|
5
|
-
"no-unused-vars": "off",
|
|
6
|
-
"semi": [ 2, "always" ],
|
|
7
|
-
"keyword-spacing": [ 2, { "before": true, "after": true } ],
|
|
8
|
-
"space-before-blocks": [ 2, "always" ],
|
|
9
|
-
"no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ],
|
|
10
|
-
"no-cond-assign": 0,
|
|
11
|
-
"object-shorthand": [ 2, "always" ],
|
|
12
|
-
"no-const-assign": 2,
|
|
13
|
-
"no-class-assign": 2,
|
|
14
|
-
"no-this-before-super": 2,
|
|
15
|
-
"no-var": 2,
|
|
16
|
-
"no-unreachable": 2,
|
|
17
|
-
"valid-typeof": 2,
|
|
18
|
-
"quote-props": [ 2, "as-needed" ],
|
|
19
|
-
"quotes": ["error", "single", { "avoidEscape": true }],
|
|
20
|
-
"prefer-arrow-callback": 2,
|
|
21
|
-
"prefer-const": [ 2, { "destructuring": "all" } ],
|
|
22
|
-
"arrow-spacing": 2,
|
|
23
|
-
"no-inner-declarations": 0,
|
|
24
|
-
"one-var": "off",
|
|
25
|
-
"require-atomic-updates": "off",
|
|
26
|
-
"no-import-assign": "warn",
|
|
27
|
-
"eol-last": "error",
|
|
28
|
-
"@typescript-eslint/camelcase": "off",
|
|
29
|
-
"@typescript-eslint/no-use-before-define": "off",
|
|
30
|
-
"@typescript-eslint/array-type": [ "error", { "default": "array-simple" } ],
|
|
31
|
-
"@typescript-eslint/explicit-function-return-type": "off",
|
|
32
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
33
|
-
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
34
|
-
"@typescript-eslint/no-object-literal-type-assertion": "off",
|
|
35
|
-
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
|
36
|
-
"@typescript-eslint/prefer-interface": "off",
|
|
37
|
-
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
38
|
-
"@typescript-eslint/no-empty-function": "off",
|
|
39
|
-
"@typescript-eslint/ban-ts-comment": "off",
|
|
40
|
-
"@typescript-eslint/no-this-alias": "off",
|
|
41
|
-
"@typescript-eslint/no-inferrable-types": "off",
|
|
42
|
-
"@typescript-eslint/ban-types": "off",
|
|
43
|
-
"@typescript-eslint/naming-convention": "off",
|
|
44
|
-
"@typescript-eslint/class-name-casing": "off"
|
|
45
|
-
},
|
|
46
|
-
"globals": {
|
|
47
|
-
"globalThis": false
|
|
48
|
-
},
|
|
49
|
-
"env": {
|
|
50
|
-
"es6": true,
|
|
51
|
-
"browser": true,
|
|
52
|
-
"node": true,
|
|
53
|
-
"mocha": true
|
|
54
|
-
},
|
|
55
|
-
"extends": [
|
|
56
|
-
"eslint:recommended",
|
|
57
|
-
"plugin:import/errors",
|
|
58
|
-
"plugin:import/warnings",
|
|
59
|
-
"plugin:import/typescript",
|
|
60
|
-
"plugin:@typescript-eslint/recommended"
|
|
61
|
-
],
|
|
62
|
-
"parserOptions": {
|
|
63
|
-
"ecmaVersion": 9,
|
|
64
|
-
"sourceType": "module"
|
|
65
|
-
},
|
|
66
|
-
"plugins": ["svelte3"],
|
|
67
|
-
"settings": {
|
|
68
|
-
"svelte3/compiler-options": {
|
|
69
|
-
"customElement": true,
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
"overrides": [
|
|
73
|
-
{
|
|
74
|
-
"files": ["*.js"],
|
|
75
|
-
"rules": {
|
|
76
|
-
"@typescript-eslint/no-var-requires": "off"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"files": ["*.svelte"],
|
|
81
|
-
"processor": "svelte3/svelte3"
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
## casino-tournaments-controller widget changelogs
|
|
3
|
-
|
|
4
|
-
| Version | Release date | Impacted areas | Changes |
|
|
5
|
-
| ------- | ------------ | ----------------------------- | --------------------------------------- |
|
|
6
|
-
| 1.39.1 | Fri Sep 06 2024 | casino-tournaments-controller | fix(FEW-334)(casino-tournaments-controller,casino-tournaments-thumbnail-controller): Improvements to load the tournament widget faster |
|
|
7
|
-
| 1.37.2 | Mon Aug 12 2024 | casino-tournaments-controller | feat(PTH-184)(casino-tournaments-controller,casino-tournaments-customize-page-controller): add a parameter for bonus claim api <br /> fix(EMFE-30672)(casino-tournaments-controller): fix conflict <br /> fix(EMFE-29348)(casino-tournaments-controller,casino-tournaments-filter-controller): fix the scrolling issue |
|
|
8
|
-
| 1.36.0 | Mon Jul 29 2024 | casino-tournaments-controller | feat(PTH-184)(casino-tournaments-controller,casino-tournaments-customize-page-controller): add a parameter for bonus claim api |
|
|
9
|
-
| 1.29.8 | Tue May 14 2024 | casino-tournaments-controller | fix(EMFE-30672)(casino-tournaments-controller): fix conflict |
|
|
10
|
-
| 1.29.7 | Thu May 09 2024 | casino-tournaments-controller | fix(EMFE-30672)(casino-tournaments-controller): fix conflict |
|
|
11
|
-
| 1.25.0 | Fri Jan 26 2024 | casino-tournaments-controller | fix(EMFE-29348)(casino-tournaments-controller,casino-tournaments-filter-controller): fix the scrolling issue |
|
package/README.md
DELETED
|
File without changes
|