@everymatrix/casino-tournaments-controller 1.0.16 → 1.0.70

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.
Files changed (36) hide show
  1. package/components/CasinoTournamentsController-DZ0LEvCR.cjs +14 -0
  2. package/components/CasinoTournamentsController-o9ci4V-7.js +5673 -0
  3. package/components/CasinoTournamentsFilterController-CiS0QN_2.js +549 -0
  4. package/components/CasinoTournamentsFilterController-FBpFN99X.cjs +1 -0
  5. package/components/CasinoTournamentsListController-DIfWzrAy.cjs +13 -0
  6. package/components/CasinoTournamentsListController-TZbe8_p2.js +3128 -0
  7. package/components/CasinoTournamentsThumbnail-1UjlSmfk.js +885 -0
  8. package/components/CasinoTournamentsThumbnail-CU_I-u5x.cjs +4 -0
  9. package/components/CasinoTournamentsThumbnailController-B35mMuea.cjs +1 -0
  10. package/components/CasinoTournamentsThumbnailController-CoX3AMmZ.js +1365 -0
  11. package/components/CasinoTournamentsThumbnailDuration-C_EXZ3qI.cjs +1 -0
  12. package/components/CasinoTournamentsThumbnailDuration-GKFyPIZf.js +515 -0
  13. package/components/CasinoTournamentsThumbnailGamesSlider-D1ki4K15.cjs +1 -0
  14. package/components/CasinoTournamentsThumbnailGamesSlider-DVPC0-Qc.js +456 -0
  15. package/components/CasinoTournamentsThumbnailPrizes-C233jAWN.cjs +1 -0
  16. package/components/CasinoTournamentsThumbnailPrizes-Dy-t1Zna.js +330 -0
  17. package/es2015/casino-tournaments-controller.cjs +1 -0
  18. package/es2015/casino-tournaments-controller.js +16 -0
  19. package/package.json +18 -33
  20. package/.eslintrc +0 -84
  21. package/README.md +0 -0
  22. package/dist/casino-tournaments-controller.js +0 -2
  23. package/dist/casino-tournaments-controller.js.map +0 -1
  24. package/documentation.md +0 -170
  25. package/index.html +0 -29
  26. package/index.js +0 -1
  27. package/public/favicon.png +0 -0
  28. package/public/reset.css +0 -48
  29. package/rollup.config.js +0 -67
  30. package/src/CasinoTournamentsController.svelte +0 -498
  31. package/src/i18n.js +0 -27
  32. package/src/index.ts +0 -4
  33. package/src/translations.js +0 -101
  34. package/stories/CasinoTournamentsController.stories.js +0 -13
  35. package/svelte.config.js +0 -7
  36. package/tsconfig.json +0 -6
@@ -0,0 +1,330 @@
1
+ import { a as A, S as Z, i as j, f as w, c as I, s as R, b as B, e as f, m as b, t as P, d as u, h as k, o as g, p as _, n as H, j as F, k as O, w as U, l as M, q, u as V, $ as W } from "./CasinoTournamentsController-o9ci4V-7.js";
2
+ function N(l, e) {
3
+ A(l, e);
4
+ }
5
+ const S = {
6
+ en: {
7
+ tournamentsPrizes: {
8
+ prizes: "Prizes",
9
+ noprizes: "No available prizes",
10
+ place: "place"
11
+ }
12
+ },
13
+ hr: {
14
+ tournamentsPrizes: {
15
+ prizes: "Nagrade",
16
+ noprizes: "Nema dostupnih nagrada",
17
+ place: "mjesto"
18
+ }
19
+ },
20
+ "zh-hk": {
21
+ tournamentsPrizes: {
22
+ prizes: "獎品",
23
+ noprizes: "沒有可用的獎品",
24
+ place: "位置"
25
+ }
26
+ },
27
+ fr: {
28
+ tournamentsPrizes: {
29
+ prizes: "Prix",
30
+ noprizes: "Aucun prix disponible",
31
+ place: "place"
32
+ }
33
+ },
34
+ ro: {
35
+ tournamentsPrizes: {
36
+ prizes: "Premii",
37
+ noprizes: "Nu sunt disponibile premii",
38
+ place: "poziție"
39
+ }
40
+ },
41
+ tr: {
42
+ tournamentsPrizes: {
43
+ prizes: "Ödüller",
44
+ noprizes: "Mevcut ödül yok",
45
+ place: "yer"
46
+ }
47
+ },
48
+ el: {
49
+ tournamentsPrizes: {
50
+ prizes: "Έπαθλα",
51
+ noprizes: "Μη διαθέσιμα έπαθλα",
52
+ place: "θέση"
53
+ }
54
+ },
55
+ es: {
56
+ tournamentsPrizes: {
57
+ prizes: "Premios",
58
+ noprizes: "No hay premios disponibles",
59
+ place: "lugar"
60
+ }
61
+ },
62
+ hu: {
63
+ tournamentsPrizes: {
64
+ prizes: "Nyeremények",
65
+ noprizes: "Nincs elérhető nyeremény",
66
+ place: "helyezés"
67
+ }
68
+ },
69
+ pt: {
70
+ tournamentsPrizes: {
71
+ prizes: "Prêmios",
72
+ noprizes: "Não há prêmios disponíveis",
73
+ place: "place"
74
+ }
75
+ }
76
+ };
77
+ function D(l) {
78
+ B(l, "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)}");
79
+ }
80
+ function E(l, e, t) {
81
+ const s = l.slice();
82
+ return s[13] = e[t], s[15] = t, s;
83
+ }
84
+ function L(l) {
85
+ let e, t = M(
86
+ /*prizes*/
87
+ l[1]
88
+ ), s = [];
89
+ for (let n = 0; n < t.length; n += 1)
90
+ s[n] = x(E(l, t, n));
91
+ let i = null;
92
+ return t.length || (i = C(l)), {
93
+ c() {
94
+ e = f("div");
95
+ for (let n = 0; n < s.length; n += 1)
96
+ s[n].c();
97
+ i && i.c(), u(e, "class", "Prizes svelte-ypey7g"), u(e, "part", "Prizes");
98
+ },
99
+ m(n, p) {
100
+ k(n, e, p);
101
+ for (let r = 0; r < s.length; r += 1)
102
+ s[r] && s[r].m(e, null);
103
+ i && i.m(e, null);
104
+ },
105
+ p(n, p) {
106
+ if (p & /*prizes, $_*/
107
+ 6) {
108
+ t = M(
109
+ /*prizes*/
110
+ n[1]
111
+ );
112
+ let r;
113
+ for (r = 0; r < t.length; r += 1) {
114
+ const c = E(n, t, r);
115
+ s[r] ? s[r].p(c, p) : (s[r] = x(c), s[r].c(), s[r].m(e, null));
116
+ }
117
+ for (; r < s.length; r += 1)
118
+ s[r].d(1);
119
+ s.length = t.length, !t.length && i ? i.p(n, p) : t.length ? i && (i.d(1), i = null) : (i = C(n), i.c(), i.m(e, null));
120
+ }
121
+ },
122
+ d(n) {
123
+ n && F(e), q(s, n), i && i.d();
124
+ }
125
+ };
126
+ }
127
+ function C(l) {
128
+ let e, t = (
129
+ /*$_*/
130
+ l[2]("tournamentsPrizes.noprizes") + ""
131
+ ), s;
132
+ return {
133
+ c() {
134
+ e = f("p"), s = P(t), u(e, "class", "svelte-ypey7g");
135
+ },
136
+ m(i, n) {
137
+ k(i, e, n), g(e, s);
138
+ },
139
+ p(i, n) {
140
+ n & /*$_*/
141
+ 4 && t !== (t = /*$_*/
142
+ i[2]("tournamentsPrizes.noprizes") + "") && _(s, t);
143
+ },
144
+ d(i) {
145
+ i && F(e);
146
+ }
147
+ };
148
+ }
149
+ function x(l) {
150
+ let e, t, s, i = (
151
+ /*prize*/
152
+ (l[13].count > 1 ? `${/*prize*/
153
+ l[13].rank}~${/*prize*/
154
+ l[13].rank + /*prize*/
155
+ l[13].count - 1}` : (
156
+ /*prize*/
157
+ l[13].rank
158
+ )) + ""
159
+ ), n, p, r = (
160
+ /*$_*/
161
+ l[2]("tournamentsPrizes.place") + ""
162
+ ), c, o, y = (
163
+ /*prize*/
164
+ l[13].name + ""
165
+ ), m, T;
166
+ return {
167
+ c() {
168
+ e = f("div"), t = f("p"), s = f("span"), n = P(i), p = b(), c = P(r), o = P(": "), m = P(y), T = b(), u(s, "class", "PrizeRank svelte-ypey7g"), u(s, "part", "PrizeRank"), u(t, "class", "PrizeText svelte-ypey7g"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
169
+ l[15] + " svelte-ypey7g"), u(e, "part", "Prize Prize" + /*index*/
170
+ l[15]);
171
+ },
172
+ m(z, h) {
173
+ k(z, e, h), g(e, t), g(t, s), g(s, n), g(t, p), g(t, c), g(t, o), g(t, m), g(e, T);
174
+ },
175
+ p(z, h) {
176
+ h & /*prizes*/
177
+ 2 && i !== (i = /*prize*/
178
+ (z[13].count > 1 ? `${/*prize*/
179
+ z[13].rank}~${/*prize*/
180
+ z[13].rank + /*prize*/
181
+ z[13].count - 1}` : (
182
+ /*prize*/
183
+ z[13].rank
184
+ )) + "") && _(n, i), h & /*$_*/
185
+ 4 && r !== (r = /*$_*/
186
+ z[2]("tournamentsPrizes.place") + "") && _(c, r), h & /*prizes*/
187
+ 2 && y !== (y = /*prize*/
188
+ z[13].name + "") && _(m, y);
189
+ },
190
+ d(z) {
191
+ z && F(e);
192
+ }
193
+ };
194
+ }
195
+ function G(l) {
196
+ let e, t, s, i, n, p = (
197
+ /*$_*/
198
+ l[2]("tournamentsPrizes.prizes") + ""
199
+ ), r, c, o = (
200
+ /*prizes*/
201
+ l[1] && L(l)
202
+ );
203
+ return {
204
+ c() {
205
+ e = f("div"), t = f("div"), s = f("span"), s.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(), n = f("p"), r = P(p), c = b(), o && o.c(), u(s, "class", "TournamentPrizesIconWrapper svelte-ypey7g"), u(s, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle svelte-ypey7g"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection svelte-ypey7g"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes svelte-ypey7g"), u(e, "part", "TournamentPrizes");
206
+ },
207
+ m(y, m) {
208
+ k(y, e, m), g(e, t), g(t, s), g(t, i), g(t, n), g(n, r), g(e, c), o && o.m(e, null), l[7](e);
209
+ },
210
+ p(y, [m]) {
211
+ m & /*$_*/
212
+ 4 && p !== (p = /*$_*/
213
+ y[2]("tournamentsPrizes.prizes") + "") && _(r, p), /*prizes*/
214
+ y[1] ? o ? o.p(y, m) : (o = L(y), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
215
+ },
216
+ i: H,
217
+ o: H,
218
+ d(y) {
219
+ y && F(e), o && o.d(), l[7](null);
220
+ }
221
+ };
222
+ }
223
+ function J(l, e, t) {
224
+ let s;
225
+ O(l, W, (a) => t(2, s = a));
226
+ let { tourid: i = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: r = "" } = e, c, o;
227
+ const y = () => {
228
+ fetch(r).then((d) => d.json()).then((d) => {
229
+ Object.keys(d).forEach((v) => {
230
+ N(v, d[v]);
231
+ });
232
+ }).catch((d) => {
233
+ console.log(d);
234
+ });
235
+ };
236
+ Object.keys(S).forEach((a) => {
237
+ N(a, S[a]);
238
+ });
239
+ const m = (a) => {
240
+ a.data && a.data.type == `TournamentPrizes_${i}` && t(1, o = a.data.prizes);
241
+ }, T = () => {
242
+ let a = document.createElement("style");
243
+ a.innerHTML = n, c.appendChild(a);
244
+ }, z = () => {
245
+ let a = new URL(p), d = document.createElement("style");
246
+ fetch(a.href).then((v) => v.text()).then((v) => {
247
+ d.innerHTML = v, setTimeout(
248
+ () => {
249
+ c.appendChild(d);
250
+ },
251
+ 1
252
+ ), setTimeout(
253
+ () => {
254
+ },
255
+ 500
256
+ );
257
+ });
258
+ };
259
+ U(() => (window.addEventListener("message", m, !1), () => {
260
+ window.removeEventListener("message", m);
261
+ }));
262
+ function h(a) {
263
+ V[a ? "unshift" : "push"](() => {
264
+ c = a, t(0, c);
265
+ });
266
+ }
267
+ return l.$$set = (a) => {
268
+ "tourid" in a && t(3, i = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, p = a.clientstylingurl), "translationurl" in a && t(6, r = a.translationurl);
269
+ }, l.$$.update = () => {
270
+ l.$$.dirty & /*customStylingContainer, clientstyling*/
271
+ 17 && c && n && T(), l.$$.dirty & /*customStylingContainer, clientstylingurl*/
272
+ 33 && c && p && z(), l.$$.dirty & /*translationurl*/
273
+ 64 && r && y();
274
+ }, [
275
+ c,
276
+ o,
277
+ s,
278
+ i,
279
+ n,
280
+ p,
281
+ r,
282
+ h
283
+ ];
284
+ }
285
+ class K extends Z {
286
+ constructor(e) {
287
+ super(), j(
288
+ this,
289
+ e,
290
+ J,
291
+ G,
292
+ R,
293
+ {
294
+ tourid: 3,
295
+ clientstyling: 4,
296
+ clientstylingurl: 5,
297
+ translationurl: 6
298
+ },
299
+ D
300
+ );
301
+ }
302
+ get tourid() {
303
+ return this.$$.ctx[3];
304
+ }
305
+ set tourid(e) {
306
+ this.$$set({ tourid: e }), w();
307
+ }
308
+ get clientstyling() {
309
+ return this.$$.ctx[4];
310
+ }
311
+ set clientstyling(e) {
312
+ this.$$set({ clientstyling: e }), w();
313
+ }
314
+ get clientstylingurl() {
315
+ return this.$$.ctx[5];
316
+ }
317
+ set clientstylingurl(e) {
318
+ this.$$set({ clientstylingurl: e }), w();
319
+ }
320
+ get translationurl() {
321
+ return this.$$.ctx[6];
322
+ }
323
+ set translationurl(e) {
324
+ this.$$set({ translationurl: e }), w();
325
+ }
326
+ }
327
+ I(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
328
+ export {
329
+ K as default
330
+ };
@@ -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-DZ0LEvCR.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-o9ci4V-7.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,40 +1,25 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-controller",
3
- "version": "1.0.16",
4
- "main": "dist/casino-tournaments-controller.js",
5
- "svelte": "src/index.ts",
6
- "scripts": {
7
- "start": "sirv public",
8
- "build": "cross-env NODE_ENV=production rollup -c",
9
- "dev": "cross-env NODE_ENV=\"development\" rollup -c -w",
10
- "validate": "svelte-check",
11
- "test": "echo"
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
- "node-sass": "^5.0.0",
20
- "rollup": "^2.3.4",
21
- "rollup-plugin-dev-server": "^0.4.3",
22
- "rollup-plugin-livereload": "^2.0.0",
23
- "rollup-plugin-svelte": "^7.0.0",
24
- "rollup-plugin-terser": "^7.0.0",
25
- "rollup-plugin-uglify": "^6.0.4",
26
- "svelte-check": "^1.0.0",
27
- "svelte-preprocess": "^4.0.0",
28
- "tslib": "^2.0.0",
29
- "typescript": "^3.9.3"
30
- },
31
- "dependencies": {
32
- "cross-env": "^7.0.3",
33
- "sirv-cli": "^1.0.0",
34
- "svelte": "^3.0.0"
3
+ "version": "1.0.70",
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"
35
13
  },
14
+ "files": [
15
+ "es2015/",
16
+ "components"
17
+ ],
36
18
  "publishConfig": {
37
19
  "access": "public"
38
20
  },
39
- "gitHead": "526e9d4877d11a6372af0e39b2c9db7c8b640737"
21
+ "dependencies": {
22
+ "@everymatrix/casino-tournaments-filter-controller": "1.0.78",
23
+ "@everymatrix/casino-tournaments-list-controller": "1.0.78"
24
+ }
40
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/README.md DELETED
File without changes