@everymatrix/casino-filter-page 0.0.363 → 0.0.367

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 CHANGED
@@ -1,25 +1,25 @@
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
- });
15
- }
16
-
17
- function addNewMessages(lang, dict) {
18
- addMessages(lang, dict);
19
- }
20
-
21
- function setLocale(_locale) {
22
- locale.set(_locale);
23
- }
24
-
25
- export { _, setupI18n, addNewMessages };
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
+ });
15
+ }
16
+
17
+ function addNewMessages(lang, dict) {
18
+ addMessages(lang, dict);
19
+ }
20
+
21
+ function setLocale(_locale) {
22
+ locale.set(_locale);
23
+ }
24
+
25
+ export { _, setupI18n, addNewMessages };
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import CasinoFilterPage from './CasinoFilterPage.svelte';
2
-
3
- !customElements.get('casino-filter-page') && customElements.define('casino-filter-page', CasinoFilterPage);
4
- export default CasinoFilterPage;
1
+ import CasinoFilterPage from './CasinoFilterPage.svelte';
2
+
3
+ !customElements.get('casino-filter-page') && customElements.define('casino-filter-page', CasinoFilterPage);
4
+ export default CasinoFilterPage;
@@ -1,137 +1,137 @@
1
- export const VendorFilterPageTranslations = {
2
- en: {
3
- filters: {
4
- loading: 'Loading',
5
- filterModalTitle: 'Filter',
6
- filterModalSubtitle: 'You can select multiple options',
7
- filterClear: 'Reset filter',
8
- filterApply: 'Done'
9
- }
10
- },
11
- zh: {
12
- filters: {
13
- loading: '正在加載',
14
- filterModalTitle: '篩選',
15
- filterModalSubtitle: '您可以選擇多個選項',
16
- filterClear: '重置過濾器',
17
- filterApply: '完畢'
18
- }
19
- },
20
- de: {
21
- filters: {
22
- loading: 'Loading',
23
- filterModalTitle: 'Filter',
24
- filterModalSubtitle: 'Mehrfachauswahl möglich',
25
- filterClear: 'Filter zurücksetzen',
26
- filterApply: 'Fertig'
27
- }
28
- },
29
- it: {
30
- filters: {
31
- loading: 'Loading',
32
- filterModalTitle: 'Filtro',
33
- filterModalSubtitle: 'È possibile la selezione multipla',
34
- filterClear: 'Resetta il filtro',
35
- filterApply: 'Fatto'
36
- }
37
- },
38
- fr: {
39
- filters: {
40
- loading: 'Chargement',
41
- filterModalTitle: 'Filtre',
42
- filterModalSubtitle: 'Vous pouvez sélectinner plusieurs options',
43
- filterClear: 'Réinitialiser le filtre',
44
- filterApply: 'Fait'
45
- }
46
- },
47
- es: {
48
- filters: {
49
- loading: 'Cargando',
50
- filterModalTitle: 'Filtrar',
51
- filterModalSubtitle: 'Puedes seleccionar varias opciones',
52
- filterClear: 'Restablecer filtro',
53
- filterApply: 'Terminado'
54
- }
55
- },
56
- tr: {
57
- filters: {
58
- loading: 'Yükleniyor ...',
59
- filterModalTitle: 'Tarafından filtre',
60
- filterModalSubtitle: 'Birden fazla satıcı seçebilirsiniz',
61
- filterClear: 'Temizlemek',
62
- filterApply: 'Uygulamak'
63
- }
64
- },
65
- ru: {
66
- filters: {
67
- loading: 'Загрузка ...',
68
- filterModalTitle: 'Фильтровать по',
69
- filterModalSubtitle: 'Вы можете выбрать несколько поставщиков',
70
- filterClear: 'Oчищать',
71
- filterApply: 'Применять'
72
- }
73
- },
74
- ro: {
75
- filters: {
76
- loading: 'Se incarca ...',
77
- filterModalTitle: 'Filtreaza dupa',
78
- filterModalSubtitle: 'Puteți selecta mai mulți furnizori',
79
- filterClear: 'Sterge',
80
- filterApply: 'Aplica'
81
- }
82
- },
83
- hr: {
84
- filters: {
85
- loading: 'Učitavanje',
86
- filterModalTitle: 'Filter',
87
- filterModalSubtitle: 'Možete odabrati više opcija',
88
- filterClear: 'Ponovno postavi filter',
89
- filterApply: 'Gotovo'
90
- }
91
- },
92
- hu: {
93
- filters: {
94
- loading: 'betöltés',
95
- filterModalTitle: 'Szűrő',
96
- filterModalSubtitle: 'Több lehetőséget is kiválaszthat',
97
- filterClear: 'Szűrő visszaállítása',
98
- filterApply: 'Kész'
99
- }
100
- },
101
- pl: {
102
- filters: {
103
- loading: 'Ładowanie',
104
- filterModalTitle: 'Wyszukaj',
105
- filterModalSubtitle: 'Możliwy wybór wielokrotny',
106
- filterClear: 'Wyłącz filtr',
107
- filterApply: 'Gotowe'
108
- }
109
- },
110
- pt: {
111
- filters: {
112
- loading: 'Carregando',
113
- filterModalTitle: 'Filtro',
114
- filterModalSubtitle: 'Você pode selecionar várias opções',
115
- filterClear: 'Redefinir filtro',
116
- filterApply: 'Finalizado'
117
- }
118
- },
119
- sl: {
120
- filters: {
121
- loading: 'Loading',
122
- filterModalTitle: 'Filter',
123
- filterModalSubtitle: 'Izberete lahko več možnosti',
124
- filterClear: 'Ponastavi filter',
125
- filterApply: 'Končano'
126
- }
127
- },
128
- sr: {
129
- filters: {
130
- loading: 'Loading',
131
- filterModalTitle: 'Filter',
132
- filterModalSubtitle: 'Moguć je višestruki izbor',
133
- filterClear: 'Resetujte filter',
134
- filterApply: 'Gotovo'
135
- }
136
- }
137
- };
1
+ export const VendorFilterPageTranslations = {
2
+ en: {
3
+ filters: {
4
+ loading: 'Loading',
5
+ filterModalTitle: 'Filter',
6
+ filterModalSubtitle: 'You can select multiple options',
7
+ filterClear: 'Reset filter',
8
+ filterApply: 'Done'
9
+ }
10
+ },
11
+ zh: {
12
+ filters: {
13
+ loading: '正在加載',
14
+ filterModalTitle: '篩選',
15
+ filterModalSubtitle: '您可以選擇多個選項',
16
+ filterClear: '重置過濾器',
17
+ filterApply: '完畢'
18
+ }
19
+ },
20
+ de: {
21
+ filters: {
22
+ loading: 'Loading',
23
+ filterModalTitle: 'Filter',
24
+ filterModalSubtitle: 'Mehrfachauswahl möglich',
25
+ filterClear: 'Filter zurücksetzen',
26
+ filterApply: 'Fertig'
27
+ }
28
+ },
29
+ it: {
30
+ filters: {
31
+ loading: 'Loading',
32
+ filterModalTitle: 'Filtro',
33
+ filterModalSubtitle: 'È possibile la selezione multipla',
34
+ filterClear: 'Resetta il filtro',
35
+ filterApply: 'Fatto'
36
+ }
37
+ },
38
+ fr: {
39
+ filters: {
40
+ loading: 'Chargement',
41
+ filterModalTitle: 'Filtre',
42
+ filterModalSubtitle: 'Vous pouvez sélectinner plusieurs options',
43
+ filterClear: 'Réinitialiser le filtre',
44
+ filterApply: 'Fait'
45
+ }
46
+ },
47
+ es: {
48
+ filters: {
49
+ loading: 'Cargando',
50
+ filterModalTitle: 'Filtrar',
51
+ filterModalSubtitle: 'Puedes seleccionar varias opciones',
52
+ filterClear: 'Restablecer filtro',
53
+ filterApply: 'Terminado'
54
+ }
55
+ },
56
+ tr: {
57
+ filters: {
58
+ loading: 'Yükleniyor ...',
59
+ filterModalTitle: 'Tarafından filtre',
60
+ filterModalSubtitle: 'Birden fazla satıcı seçebilirsiniz',
61
+ filterClear: 'Temizlemek',
62
+ filterApply: 'Uygulamak'
63
+ }
64
+ },
65
+ ru: {
66
+ filters: {
67
+ loading: 'Загрузка ...',
68
+ filterModalTitle: 'Фильтровать по',
69
+ filterModalSubtitle: 'Вы можете выбрать несколько поставщиков',
70
+ filterClear: 'Oчищать',
71
+ filterApply: 'Применять'
72
+ }
73
+ },
74
+ ro: {
75
+ filters: {
76
+ loading: 'Se incarca ...',
77
+ filterModalTitle: 'Filtreaza dupa',
78
+ filterModalSubtitle: 'Puteți selecta mai mulți furnizori',
79
+ filterClear: 'Sterge',
80
+ filterApply: 'Aplica'
81
+ }
82
+ },
83
+ hr: {
84
+ filters: {
85
+ loading: 'Učitavanje',
86
+ filterModalTitle: 'Filter',
87
+ filterModalSubtitle: 'Možete odabrati više opcija',
88
+ filterClear: 'Ponovno postavi filter',
89
+ filterApply: 'Gotovo'
90
+ }
91
+ },
92
+ hu: {
93
+ filters: {
94
+ loading: 'betöltés',
95
+ filterModalTitle: 'Szűrő',
96
+ filterModalSubtitle: 'Több lehetőséget is kiválaszthat',
97
+ filterClear: 'Szűrő visszaállítása',
98
+ filterApply: 'Kész'
99
+ }
100
+ },
101
+ pl: {
102
+ filters: {
103
+ loading: 'Ładowanie',
104
+ filterModalTitle: 'Wyszukaj',
105
+ filterModalSubtitle: 'Możliwy wybór wielokrotny',
106
+ filterClear: 'Wyłącz filtr',
107
+ filterApply: 'Gotowe'
108
+ }
109
+ },
110
+ pt: {
111
+ filters: {
112
+ loading: 'Carregando',
113
+ filterModalTitle: 'Filtro',
114
+ filterModalSubtitle: 'Você pode selecionar várias opções',
115
+ filterClear: 'Redefinir filtro',
116
+ filterApply: 'Finalizado'
117
+ }
118
+ },
119
+ sl: {
120
+ filters: {
121
+ loading: 'Loading',
122
+ filterModalTitle: 'Filter',
123
+ filterModalSubtitle: 'Izberete lahko več možnosti',
124
+ filterClear: 'Ponastavi filter',
125
+ filterApply: 'Končano'
126
+ }
127
+ },
128
+ sr: {
129
+ filters: {
130
+ loading: 'Loading',
131
+ filterModalTitle: 'Filter',
132
+ filterModalSubtitle: 'Moguć je višestruki izbor',
133
+ filterClear: 'Resetujte filter',
134
+ filterApply: 'Gotovo'
135
+ }
136
+ }
137
+ };
@@ -1,13 +1,13 @@
1
- import { html } from 'lit-element';
2
-
3
- import CasinoFilterPage from '../src/CasinoFilterPage';
4
-
5
- // This default export determines where your story goes in the story list
6
- export default {
7
- title: 'CasinoFilterPage',
8
- };
9
-
10
- // 👇 We create a “template” of how args map to rendering
11
- const CasinoFilterPage = ({ aProperty }) => html`<casino-filter-page></casino-filter-page>`;
12
-
13
- export const FirstStory = CasinoFilterPage.bind({});
1
+ import { html } from 'lit-element';
2
+
3
+ import CasinoFilterPage from '../src/CasinoFilterPage';
4
+
5
+ // This default export determines where your story goes in the story list
6
+ export default {
7
+ title: 'CasinoFilterPage',
8
+ };
9
+
10
+ // 👇 We create a “template” of how args map to rendering
11
+ const CasinoFilterPage = ({ aProperty }) => html`<casino-filter-page></casino-filter-page>`;
12
+
13
+ export const FirstStory = CasinoFilterPage.bind({});
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "extends": "@tsconfig/svelte/tsconfig.json",
3
-
4
- "include": ["src/**/*"],
5
- "exclude": ["node_modules/*", "__sapper__/*", "public/*"]
6
- }
1
+ {
2
+ "extends": "@tsconfig/svelte/tsconfig.json",
3
+
4
+ "include": ["src/**/*"],
5
+ "exclude": ["node_modules/*", "__sapper__/*", "public/*"]
6
+ }