@everymatrix/casino-games-category-section 1.0.15 → 1.0.69

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.
@@ -1,125 +0,0 @@
1
- // @TODO extend widgetConfig
2
- export interface CustomWindow extends Window {
3
- widgetConfig: any
4
- }
5
-
6
- export interface CasinoData {
7
- count: number,
8
- items: CasinoItems[],
9
- pages: CasinoPages,
10
- total: number
11
- }
12
-
13
- export interface CategoryData {
14
- games: Array<CasinoGames>,
15
- id: String,
16
- name: String
17
- }
18
-
19
- export interface CasinoItems {
20
- name: string,
21
- games: CasinoGames,
22
- moreBtn?: boolean
23
- }
24
-
25
- interface CasinoGames {
26
- count: number,
27
- items: [{href: string}],
28
- pages: CasinoPages,
29
- total: number
30
- }
31
-
32
- interface CasinoPages {
33
- first: string,
34
- last: string,
35
- next: null,
36
- previous: null
37
- }
38
-
39
- export interface CasinoGameData {
40
- backgroundImageUrl: string,
41
- categories: CasinoBaseData,
42
- defaultThumbnail: string,
43
- groups: CasinoGroups,
44
- hasAnonymousFunMode: boolean,
45
- hasFunMode: boolean,
46
- href: string,
47
- id: string,
48
- isNew: boolean,
49
- launchURL: string,
50
- name: string,
51
- platform: string[],
52
- popularity: number,
53
- thumbnail: string,
54
- vendor: {href: string, name:string},
55
- cellSize?: string
56
- }
57
-
58
- interface CasinoBaseData {
59
- count: number,
60
- items: [{href: string}],
61
- pagination: CasinoPages,
62
- total: number
63
- }
64
-
65
- interface CasinoGroups {
66
- count: number,
67
- items: string[]
68
- }
69
-
70
- export interface OperatorDetail {
71
- optionalLanguages: string[],
72
- dataSource: string,
73
- endpointURL: string,
74
- language: string,
75
- scrollOffset: number[],
76
- loadMore: {
77
- fontFamily: string,
78
- fontSize: string,
79
- fontWeight: string,
80
- textColor: string,
81
- decoration: string
82
- },
83
- thumbnailStyles: {
84
- showVendorName: boolean,
85
- gameNameVisible: boolean,
86
- playButton: {
87
- fontFamily: string,
88
- fontSize: string,
89
- fontWeight: string,
90
- textColor: string,
91
- backgroundColor: string,
92
- },
93
- gameTags: {
94
- newGame: boolean,
95
- popularGame: boolean,
96
- backgroundColor: string,
97
- textColor: string,
98
- fontFamily: string,
99
- fontSize: string,
100
- fontWeight: string
101
- },
102
- gameNameStyles: {
103
- fontFamily: string,
104
- fontSize: string,
105
- fontWeight: string,
106
- textColor: string
107
- },
108
- vendorNameStyles: {
109
- fontFamily: string,
110
- fontSize: string,
111
- fontWeight: string,
112
- textColor: string
113
- }
114
- },
115
- categoryStyles: {
116
- numberOfVisibleGames: number,
117
- categoryBackground: string,
118
- categoryNameStyles: {
119
- fontFamily: string,
120
- fontSize: string,
121
- fontWeight: string,
122
- textColor: string
123
- }
124
- }
125
- }
package/src/i18n.js DELETED
@@ -1,17 +0,0 @@
1
- import {
2
- dictionary,
3
- locale,
4
- addMessages,
5
- _
6
- } from 'svelte-i18n';
7
-
8
- function setupI18n({ withLocale: _locale, translations }) {
9
- dictionary.set(translations);
10
- locale.set(_locale);
11
- }
12
-
13
- function addNewMessages(lang, dict) {
14
- addMessages(lang, dict);
15
- }
16
-
17
- export { _, setupI18n, addNewMessages };
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- import CasinoGamesCategorySection from './CasinoGamesCategorySection.svelte';
2
-
3
- !customElements.get('casino-games-category-section') && customElements.define('casino-games-category-section', CasinoGamesCategorySection);
4
- export default CasinoGamesCategorySection;
@@ -1,182 +0,0 @@
1
- export const GamesCategorySectionTranslations = {
2
- en: {
3
- gamesCategorySection: {
4
- showMore: 'More',
5
- viewAll: 'Show all',
6
- searchedItems: 'Search result',
7
- recentSearchedItems: 'Recently searched',
8
- favorites: 'Favorites',
9
- noRecentSearch: 'No search started yet. Simply search for a game.',
10
- noResults: 'Sorry, no results found. Please try again.',
11
- noFavoritesMobile: 'You can now add games to favorites by tapping on the star icon located on the game page.',
12
- noFavorites: 'You can now add games to favorites by clicking on the star icon located on the game thumbnail.',
13
- noFavoritesTitle: 'You do not have any favored games yet.',
14
- waiting: 'Waiting',
15
- }
16
- },
17
- zh: {
18
- gamesCategorySection: {
19
- showMore: '更多的',
20
- viewAll: '顯示所有',
21
- searchedItems: '搜索結果',
22
- recentSearchedItems: '最近搜索過',
23
- favorites: '收藏夹',
24
- noRecentSearch: '尚未開始搜索。 只需搜索遊戲。',
25
- noResults: '抱歉,沒有找到結果。 請再試一次。',
26
- noFavoritesMobile: '您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。',
27
- noFavorites: '您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。',
28
- noFavoritesTitle: '您還沒有任何喜歡的遊戲。',
29
- waiting: '等待',
30
- }
31
- },
32
- de: {
33
- gamesCategorySection: {
34
- showMore: 'Mehr',
35
- viewAll: 'Alle anzeigen',
36
- searchedItems: 'Ergebnis suchen',
37
- recentSearchedItems: 'Zuletzt gesucht',
38
- noRecentSearch: 'Noch keine Suche gestartet. Einfach nach einem Spiel suchen.',
39
- noResults: 'Sorry, kein Treffer. Bitte erneut versuchen.'
40
- }
41
- },
42
- it: {
43
- gamesCategorySection: {
44
- showMore: 'Altro',
45
- viewAll: 'Mostra tutto',
46
- searchedItems: 'risultato',
47
- recentSearchedItems: 'Ricerche recenti',
48
- noRecentSearch: 'Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.',
49
- noResults: 'Spiacenti, nessun risultato. Si prega di riprovare.'
50
- }
51
- },
52
- fr: {
53
- gamesCategorySection: {
54
- showMore: 'Plus de',
55
- viewAll: 'Afficher tous',
56
- searchedItems: 'Recherche du resultat',
57
- recentSearchedItems: 'Recherches récentes',
58
- favorites: 'Favoris',
59
- noRecentSearch: 'Aucune recherche n\'a encore été lancée . il suffit de chercher un jeu.',
60
- noResults: 'Désolé , aucun résultat trouvé.veuillez réessayer.',
61
- noFavoritesMobile: 'Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l\'icone étoile située sur la page du jeu.',
62
- noFavorites: 'Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l\'icone en forme d\'etoile située sur la vignette du jeu',
63
- noFavoritesTitle: 'Vous n\'avez pas encore de jeux favoris.',
64
- waiting: 'Attente',
65
- }
66
- },
67
- es: {
68
- gamesCategorySection: {
69
- showMore: 'Más',
70
- viewAll: 'Mostrar todo',
71
- searchedItems: 'Resultado de búsqueda',
72
- recentSearchedItems: 'Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.',
73
- favorites: 'Favorito',
74
- noRecentSearch: 'Aún no se inició ninguna búsqueda. Simplemente busque un juego.',
75
- noResults: 'Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.',
76
- noFavoritesMobile: 'Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.',
77
- noFavorites: 'Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.',
78
- noFavoritesTitle: 'Aún no tienes ningún juego favorito.',
79
- waiting: 'Esperando',
80
- }
81
- },
82
- tr: {
83
- gamesCategorySection: {
84
- showMore: 'Daha fazla göster',
85
- viewAll: 'Hepsini gör',
86
- searchedItems: 'Aranan öğeler',
87
- recentSearchedItems: 'Son Aranan Öğeler',
88
- noRecentSearch: 'Henüz arama başlamadı. Sadece bir oyun arayın.',
89
- noResults: 'Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin'
90
- }
91
- },
92
- ru: {
93
- gamesCategorySection: {
94
- showMore: 'Показать больше',
95
- viewAll: 'Посмотреть все',
96
- searchedItems: 'Искомые товары',
97
- recentSearchedItems: 'Недавние поисковые запросы',
98
- noRecentSearch: 'Поиск еще не начался. Просто найдите игру.',
99
- noResults: 'Извините, результатов не найдено. Пожалуйста, попробуйте еще раз'
100
- }
101
- },
102
- ro: {
103
- gamesCategorySection: {
104
- showMore: 'Arata mai mult',
105
- viewAll: 'Vezi toate',
106
- searchedItems: 'Rezultatele cautarii',
107
- recentSearchedItems: 'Cautari recente',
108
- favorites: 'Favorite',
109
- noRecentSearch: 'Nici o căutare nu a început încă. Pur și simplu căutați un joc.',
110
- noResults: 'Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou',
111
- noFavoritesMobile: 'Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.',
112
- noFavorites: 'Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.',
113
- noFavoritesTitle: 'Nu aveți încă niciun joc preferat.',
114
- waiting: 'Aşteptare',
115
- }
116
- },
117
- hr: {
118
- gamesCategorySection: {
119
- showMore: 'Više',
120
- viewAll: 'Pokaži sve',
121
- searchedItems: 'Pretraži rezultat',
122
- recentSearchedItems: 'Zadnje pretrage',
123
- noRecentSearch: 'Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.',
124
- noResults: 'Žao nam je, nema rezultata. Molimo pokušajte ponovno.'
125
- }
126
- },
127
- hu: {
128
- gamesCategorySection: {
129
- showMore: 'Több',
130
- viewAll: 'Az összes megjelenítése',
131
- searchedItems: 'Keresés eredménye',
132
- recentSearchedItems: 'Legutóbb keresett',
133
- noRecentSearch: 'A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.',
134
- noResults: 'Sajnos nincs találat. Kérjük próbálja újra.'
135
- }
136
- },
137
- pl: {
138
- gamesCategorySection: {
139
- showMore: 'Więcej',
140
- viewAll: 'Pokaż wszystkie',
141
- searchedItems: 'Wynik wyszukiwania',
142
- recentSearchedItems: 'Ostatnio wyszukiwane',
143
- noRecentSearch: 'Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.',
144
- noResults: 'Przepraszamy, brak wyników. Prosimy spróbować ponownie.'
145
- }
146
- },
147
- pt: {
148
- gamesCategorySection: {
149
- showMore: 'Mais',
150
- viewAll: 'Mostre tudo',
151
- searchedItems: 'Resultado da pesquisa',
152
- recentSearchedItems: 'Pesquisado recentemente',
153
- favorites: 'Favorito',
154
- noRecentSearch: 'Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.',
155
- noResults: 'Desculpe, nenhum resultado encontrado. Por favor, tente novamente.',
156
- noFavoritesMobile: 'Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.',
157
- noFavorites: 'Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.',
158
- noFavoritesTitle: 'Você ainda não tem nenhum jogo favorito.',
159
- waiting: 'Aguardando',
160
- }
161
- },
162
- sl: {
163
- gamesCategorySection: {
164
- showMore: 'Več',
165
- viewAll: 'Prikaži vse',
166
- searchedItems: 'Rezultati iskanja',
167
- recentSearchedItems: 'Nedavno iskanje',
168
- noRecentSearch: 'Niste še začeli z iskanjem. Enostavno poiščite želeno igro.',
169
- noResults: 'Oprostite, ni rezultata. Prosimo poizkusite ponovno.'
170
- }
171
- },
172
- sr: {
173
- gamesCategorySection: {
174
- showMore: 'Više',
175
- viewAll: 'Prikaži sve',
176
- searchedItems: 'Pretraži rezultat',
177
- recentSearchedItems: 'Zadnja pretraga',
178
- noRecentSearch: 'Još nije pokrenuta pretraga. Jednostavno pretraži igre.',
179
- noResults: 'Žao nam je, nema pogodaka. Pokušaj ponovo.'
180
- }
181
- }
182
- };
@@ -1,13 +0,0 @@
1
- import { html } from 'lit-element';
2
-
3
- import CasinoGamesCategorySection from '../src/CasinoGamesCategorySection';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'CasinoGamesCategorySection',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const CasinoGamesCategorySection = ({ aProperty }) => html`<casino-games-category-section></casino-games-category-section>`;
12
-
13
- export const FirstStory = CasinoGamesCategorySection.bind({});
package/tsconfig.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "extends": "@tsconfig/svelte/tsconfig.json",
3
-
4
- "include": ["src/**/*"],
5
- "exclude": ["node_modules/*", "__sapper__/*", "public/*"]
6
- }