@everymatrix/casino-header-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/CasinoHamburgerMenu-BIvzNNkE.js +5355 -0
- package/components/CasinoHamburgerMenu-C7-gBE2I.cjs +8 -0
- package/components/CasinoHeaderController-C7smG_gA.js +3020 -0
- package/components/CasinoHeaderController-DPFozcw5.cjs +13 -0
- package/components/CasinoSlider-3QG9Z7x8.cjs +1 -0
- package/components/CasinoSlider-CVEprVdR.js +803 -0
- package/components/PlayerAccountBalanceModal-BOfwFgGc.js +1406 -0
- package/components/PlayerAccountBalanceModal-DecmskWm.cjs +13 -0
- package/components/PlayerDeposit-4UPD0Obh.cjs +1 -0
- package/components/PlayerDeposit-MkLSc_aD.js +395 -0
- package/es2015/casino-header-controller.cjs +1 -0
- package/es2015/casino-header-controller.js +16 -0
- package/package.json +21 -34
- package/CHANGELOG.md +0 -12
- package/README.md +0 -0
- package/dist/casino-header-controller.js +0 -4
- package/dist/casino-header-controller.js.map +0 -1
- package/documentation.md +0 -146
- package/index.html +0 -48
- 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/CasinoHeaderController.svelte +0 -1234
- package/src/i18n.js +0 -27
- package/src/images/arrow.png +0 -0
- package/src/images/english-flag.png +0 -0
- package/src/images/everymatrix-logo-white.png +0 -0
- package/src/index.ts +0 -4
- package/src/translations.js +0 -62
- package/stories/CasinoHeaderController.stories.js +0 -22
- package/tsconfig.json +0 -6
package/src/i18n.js
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
dictionary,
|
3
|
-
locale,
|
4
|
-
addMessages,
|
5
|
-
_
|
6
|
-
} from 'svelte-i18n';
|
7
|
-
|
8
|
-
function setupI18n({ withLocale: _locale, translations }) {
|
9
|
-
locale.subscribe((data) => {
|
10
|
-
if (data == null) {
|
11
|
-
dictionary.set(translations);
|
12
|
-
locale.set(_locale);
|
13
|
-
}
|
14
|
-
}); // maybe we will need this to make sure that the i18n is set up only once
|
15
|
-
/*dictionary.set(translations);
|
16
|
-
locale.set(_locale);*/
|
17
|
-
}
|
18
|
-
|
19
|
-
function addNewMessages(lang, dict) {
|
20
|
-
addMessages(lang, dict);
|
21
|
-
}
|
22
|
-
|
23
|
-
function setLocale(_locale) {
|
24
|
-
locale.set(_locale);
|
25
|
-
}
|
26
|
-
|
27
|
-
export { _, setupI18n, addNewMessages, setLocale };
|
package/src/images/arrow.png
DELETED
Binary file
|
Binary file
|
Binary file
|
package/src/index.ts
DELETED
package/src/translations.js
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
export const TRANSLATIONS = {
|
2
|
-
"en": {
|
3
|
-
"login": "Login",
|
4
|
-
"register": "Register",
|
5
|
-
"deposit": "Deposit",
|
6
|
-
"promotions": "Promotions"
|
7
|
-
},
|
8
|
-
"zh-hk": {
|
9
|
-
"login": "登錄",
|
10
|
-
"register": "登記",
|
11
|
-
"deposit": "訂金",
|
12
|
-
"promotions": "促销活动"
|
13
|
-
},
|
14
|
-
"fr": {
|
15
|
-
"login": "Connexion",
|
16
|
-
"register": "Enregistrer",
|
17
|
-
"deposit": "Dépôt",
|
18
|
-
"promotions": "Promotions"
|
19
|
-
},
|
20
|
-
"tr": {
|
21
|
-
"login": "Giriş",
|
22
|
-
"register": "Kayıt",
|
23
|
-
"deposit": "Yatır",
|
24
|
-
"promotions": "Promosyonlar"
|
25
|
-
},
|
26
|
-
"ro": {
|
27
|
-
"login": "Autentificare",
|
28
|
-
"register": "Inregistrare",
|
29
|
-
"deposit": "Depozit",
|
30
|
-
"promotions": "Promotii"
|
31
|
-
},
|
32
|
-
"es": {
|
33
|
-
"login": "Iniciar sesión",
|
34
|
-
"register": "Regístrate",
|
35
|
-
"deposit": "Deposita",
|
36
|
-
"promotions": "Promociones"
|
37
|
-
},
|
38
|
-
"pt": {
|
39
|
-
"login": "Entrar",
|
40
|
-
"register": "Registro",
|
41
|
-
"deposit": "Depósito",
|
42
|
-
"promotions": "Promoções"
|
43
|
-
},
|
44
|
-
"hr": {
|
45
|
-
"login": "Prijava",
|
46
|
-
"register": "Registracija",
|
47
|
-
"deposit": "Uplata",
|
48
|
-
"promotions": "Promocije"
|
49
|
-
},
|
50
|
-
"pt-br": {
|
51
|
-
"login": "Entrar",
|
52
|
-
"register": "Registro",
|
53
|
-
"deposit": "Depósito",
|
54
|
-
"promotions": "Promoções"
|
55
|
-
},
|
56
|
-
"es-mx": {
|
57
|
-
"login": "Ingresar",
|
58
|
-
"register": "Registro",
|
59
|
-
"deposit": "Depósito",
|
60
|
-
"promotions": "Promociones"
|
61
|
-
}
|
62
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
// This default export determines where your story goes in the story list
|
2
|
-
export default {
|
3
|
-
title: 'Casino/Casino Header Controller',
|
4
|
-
};
|
5
|
-
|
6
|
-
// 👇 We create a “template” of how args map to rendering
|
7
|
-
let Template = ({ session, userid }) => {
|
8
|
-
|
9
|
-
return `
|
10
|
-
<casino-header-controller session=${session} userid=${userid}></casino-header-controller>
|
11
|
-
<script>
|
12
|
-
|
13
|
-
</script>
|
14
|
-
`;
|
15
|
-
};
|
16
|
-
|
17
|
-
export const CasinoHeaderController = Template.bind({});
|
18
|
-
|
19
|
-
CasinoHeaderController.args = {
|
20
|
-
session: '',
|
21
|
-
userid: '',
|
22
|
-
};
|