@everymatrix/casino-footer 1.44.0 → 1.45.2

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/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/index.ts DELETED
@@ -1,4 +0,0 @@
1
- import CasinoFooter from './CasinoFooter.svelte';
2
-
3
- !customElements.get('casino-footer') && customElements.define('casino-footer', CasinoFooter);
4
- export default CasinoFooter;
@@ -1,38 +0,0 @@
1
- export const TRANSLATIONS = {
2
- "en": {
3
- "timeText": "Time",
4
- "sessionTimer": "Logged in for"
5
- },
6
- "fr": {
7
- "timeText": "Temps",
8
- "sessionTimer": "Connecté pour"
9
- },
10
- "ro": {
11
- "timeText": "Ora",
12
- "sessionTimer": "Online de"
13
- },
14
- "es": {
15
- "timeText": "Hora",
16
- "sessionTimer": "Tiempo sesión"
17
- },
18
- "pt": {
19
- "timeText": "Categorias",
20
- "sessionTimer": "Logged in for"
21
- },
22
- "hr": {
23
- "timeText": "Vrijeme",
24
- "sessionTimer": "Prijavljen za"
25
- },
26
- "pt-br": {
27
- "timeText": "Tempo",
28
- "sessionTimer": "Tempo de sessão"
29
- },
30
- "es-mx": {
31
- "timeText": "Tiempo",
32
- "sessionTimer": "Tiempo de sesión"
33
- },
34
- "tr": {
35
- "timeText": "Zaman",
36
- "sessionTimer": "Giriş süresi"
37
- }
38
- }
@@ -1,13 +0,0 @@
1
- import { html } from 'lit-element';
2
-
3
- import CasinoFooter from '../src/CasinoFooter';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'CasinoFooter',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const CasinoFooter = ({ aProperty }) => html`<casino-footer></casino-footer>`;
12
-
13
- export const FirstStory = CasinoFooter.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
- }