@everymatrix/casino-slider 0.0.296 → 0.0.299

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-slider",
3
- "version": "0.0.296",
3
+ "version": "0.0.299",
4
4
  "main": "dist/casino-slider.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "628a0e30f5160748837a6a7acb4cf44623d87c3d"
39
+ "gitHead": "d47d16da59eaa3347055cc1787731a83aca7c69c"
40
40
  }
@@ -34,34 +34,6 @@
34
34
  let activeIndex:number;
35
35
  let customStylingContainer:HTMLElement;
36
36
 
37
- let fallbackMainMenu = [
38
- {
39
- "id": 0,
40
- "label": $_('fallbackMainMenu.sports'),
41
- "path": "/sports",
42
- },
43
- {
44
- "id": 1,
45
- "label": $_('fallbackMainMenu.casino'),
46
- "path": "/casino",
47
- },
48
- {
49
- "id": 2,
50
- "label": $_('fallbackMainMenu.liveCasino'),
51
- "path": "/live-casino",
52
- },
53
- {
54
- "id": 3,
55
- "label": $_('fallbackMainMenu.virtualSports'),
56
- "path": "/virtual-sports",
57
- },
58
- {
59
- "id": 4,
60
- "label": $_('fallbackMainMenu.tournaments'),
61
- "path": "/tournaments",
62
- }
63
- ];
64
-
65
37
  // Clicking on the slider item will trigger this method and send a postmessage on window
66
38
  // @TODO itemId type fix
67
39
  let handleClick = (item:any, index:number):void => {
@@ -120,9 +92,6 @@
120
92
  }
121
93
 
122
94
  onMount(() => {
123
- if( isprimarymenu && !sliderdata.length ) {
124
- sliderdata = fallbackMainMenu;
125
- }
126
95
  window.addEventListener('message', messageHandler, false);
127
96
 
128
97
  return () => {
@@ -5,13 +5,6 @@ export const CasinoSlider = {
5
5
  register: 'Register',
6
6
  deposit: 'Deposit',
7
7
  },
8
- fallbackMainMenu: {
9
- sports: 'Sports',
10
- casino: 'Casino',
11
- liveCasino: 'Live Casino',
12
- virtualSports: 'Virtual Sports',
13
- tournaments: 'Tournaments',
14
- }
15
8
  },
16
9
  fr: {
17
10
  headerItem: {
@@ -19,13 +12,6 @@ export const CasinoSlider = {
19
12
  register: 'Registre',
20
13
  deposit: 'Dépôt',
21
14
  },
22
- fallbackMainMenu: {
23
- sports: 'Sports',
24
- casino: 'Casino',
25
- liveCasino: 'Live Casino',
26
- virtualSports: 'Virtual Sports',
27
- tournaments: 'Tournaments',
28
- }
29
15
  },
30
16
  tr: {
31
17
  headerItem: {
@@ -33,13 +19,6 @@ export const CasinoSlider = {
33
19
  register: 'Kayıt olmak',
34
20
  deposit: 'Depozito',
35
21
  },
36
- fallbackMainMenu: {
37
- sports: 'Spor Dalları',
38
- casino: 'Kumarhane',
39
- liveCasino: 'Canlı kumarhane',
40
- virtualSports: 'Sanal Sporlar',
41
- tournaments: 'Turnuvalar',
42
- }
43
22
  },
44
23
  ro: {
45
24
  headerItem: {
@@ -47,13 +26,6 @@ export const CasinoSlider = {
47
26
  register: 'Inregistrare',
48
27
  deposit: 'Depozit',
49
28
  },
50
- fallbackMainMenu: {
51
- sports: 'Sport',
52
- casino: 'Cazino',
53
- liveCasino: 'Cazinou live',
54
- virtualSports: 'Sport virtual',
55
- tournaments: 'Turnee',
56
- }
57
29
  },
58
30
  es: {
59
31
  headerItem: {
@@ -61,13 +33,6 @@ export const CasinoSlider = {
61
33
  register: 'Registro',
62
34
  deposit: 'Depósito',
63
35
  },
64
- fallbackMainMenu: {
65
- sports: 'Sports',
66
- casino: 'Casino',
67
- liveCasino: 'Live Casino',
68
- virtualSports: 'Virtual Sports',
69
- tournaments: 'Tournaments',
70
- }
71
36
  },
72
37
  pt: {
73
38
  headerItem: {
@@ -75,12 +40,5 @@ export const CasinoSlider = {
75
40
  register: 'Registro',
76
41
  deposit: 'Depósito',
77
42
  },
78
- fallbackMainMenu: {
79
- sports: 'Sports',
80
- casino: 'Casino',
81
- liveCasino: 'Live Casino',
82
- virtualSports: 'Virtual Sports',
83
- tournaments: 'Tournaments',
84
- },
85
43
  },
86
44
  };