valtech-components 4.0.477 → 4.0.478

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.
Files changed (58) hide show
  1. package/esm2022/lib/components/organisms/mini-games/bubble-blitz-game.component.mjs +18 -9
  2. package/esm2022/lib/components/organisms/mini-games/chessimals-engine.mjs +109 -16
  3. package/esm2022/lib/components/organisms/mini-games/chessimals-game.component.mjs +18 -9
  4. package/esm2022/lib/components/organisms/mini-games/christianity-card.component.mjs +268 -0
  5. package/esm2022/lib/components/organisms/mini-games/christianity-game.component.mjs +2253 -0
  6. package/esm2022/lib/components/organisms/mini-games/memory-game.component.mjs +18 -9
  7. package/esm2022/lib/components/organisms/mini-games/mini-games.i18n.mjs +275 -9
  8. package/esm2022/lib/components/organisms/mini-games/simon-game.component.mjs +18 -9
  9. package/esm2022/lib/components/organisms/mini-games/types.mjs +1 -1
  10. package/esm2022/lib/directives/light-ripple.directive.mjs +57 -0
  11. package/esm2022/lib/version.mjs +2 -2
  12. package/esm2022/mini-games/public-api.mjs +34 -2
  13. package/esm2022/public-api.mjs +3 -1
  14. package/fesm2022/valtech-components-mini-games.mjs +34 -2
  15. package/fesm2022/valtech-components-mini-games.mjs.map +1 -1
  16. package/fesm2022/valtech-components.mjs +3021 -58
  17. package/fesm2022/valtech-components.mjs.map +1 -1
  18. package/lib/components/organisms/mini-games/bubble-blitz-game.component.d.ts +2 -0
  19. package/lib/components/organisms/mini-games/chessimals-game.component.d.ts +3 -1
  20. package/lib/components/organisms/mini-games/christianity-card.component.d.ts +46 -0
  21. package/lib/components/organisms/mini-games/christianity-game.component.d.ts +177 -0
  22. package/lib/components/organisms/mini-games/memory-game.component.d.ts +2 -0
  23. package/lib/components/organisms/mini-games/simon-game.component.d.ts +2 -0
  24. package/lib/components/organisms/mini-games/types.d.ts +131 -1
  25. package/lib/directives/light-ripple.directive.d.ts +8 -0
  26. package/lib/version.d.ts +1 -1
  27. package/mini-games/public-api.d.ts +4 -0
  28. package/package.json +2 -1
  29. package/public-api.d.ts +2 -0
  30. package/src/lib/assets/games/christianity/card-symbol.svg +51 -0
  31. package/src/lib/assets/games/christianity/card-template-reference/front.html +114 -0
  32. package/src/lib/assets/games/christianity/card-template-reference/front.style.css +352 -0
  33. package/src/lib/assets/games/christianity/data/01-genesis.bible-reference-suggestions.csv +191 -0
  34. package/src/lib/assets/games/christianity/data/01-genesis.bible-verses.nbv-open.csv +170 -0
  35. package/src/lib/assets/games/christianity/data/01-genesis.cards.csv +281 -0
  36. package/src/lib/assets/games/christianity/data/01-genesis.cards.i18n.csv +281 -0
  37. package/src/lib/assets/games/christianity/data/01-genesis.cards.json +16453 -0
  38. package/src/lib/assets/games/christianity/data/01-genesis.unassigned-effects.csv +49 -0
  39. package/src/lib/assets/games/christianity/data/README.md +40 -0
  40. package/src/lib/assets/games/christianity/data/data-con-habilides.csv +273 -0
  41. package/src/lib/assets/games/christianity/data/habilidades-por-tipo.xlsx +0 -0
  42. package/src/lib/assets/games/christianity/data/listado-edicion.csv +281 -0
  43. package/src/lib/assets/games/christianity/editions/1/cards/.gitkeep +1 -0
  44. package/src/lib/assets/games/christianity/editions/1/cards/PLACEHOLDER.png +0 -0
  45. package/src/lib/assets/games/christianity/editions/README.md +34 -0
  46. package/src/lib/assets/games/christianity/icons/1-icon.png +0 -0
  47. package/src/lib/assets/games/christianity/icons/action.png +0 -0
  48. package/src/lib/assets/games/christianity/icons/character.png +0 -0
  49. package/src/lib/assets/games/christianity/icons/event.png +0 -0
  50. package/src/lib/assets/games/christianity/icons/leader.png +0 -0
  51. package/src/lib/assets/games/christianity/icons/offering.png +0 -0
  52. package/src/lib/assets/games/christianity/icons/place.png +0 -0
  53. package/src/lib/assets/games/christianity/icons/tool.png +0 -0
  54. package/src/lib/assets/games/christianity/icons/wisdom.png +0 -0
  55. package/src/lib/assets/games/christianity/sources/README.md +16 -0
  56. package/src/lib/assets/games/christianity/sources/spaonbv_vpl.txt +29102 -0
  57. package/src/lib/assets/games/christianity/sources/spaonbv_vpl.xml +29104 -0
  58. package/src/lib/assets/games/christianity/spaonbv.txt +52 -0
@@ -0,0 +1,114 @@
1
+ <head>
2
+ <link rel="preconnect" href="https://fonts.googleapis.com">
3
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
4
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet" crossorigin="anonymous">
5
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet" crossorigin="anonymous">
6
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet" crossorigin="anonymous">
7
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet" crossorigin="anonymous">
8
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet" crossorigin="anonymous">
9
+
10
+
11
+ {{!-- Icons --}}
12
+ <link rel='stylesheet' href='https://cdn-uicons.flaticon.com/2.3.0/uicons-bold-rounded/css/uicons-bold-rounded.css'>
13
+ <link rel='stylesheet' href='https://cdn-uicons.flaticon.com/2.3.0/uicons-solid-rounded/css/uicons-solid-rounded.css'>
14
+ <link rel='stylesheet' href='https://cdn-uicons.flaticon.com/2.3.0/uicons-solid-straight/css/uicons-solid-straight.css'>
15
+ <link rel='stylesheet' href='https://cdn-uicons.flaticon.com/2.3.0/uicons-solid-rounded/css/uicons-solid-rounded.css'>
16
+
17
+
18
+
19
+ </head>
20
+
21
+ <div class="border-container">
22
+ <div class="card">
23
+ <div class="header-container">
24
+ <div class="name-container">
25
+ <div class="icon">
26
+ <img src="{{index assets card.type}}"/>
27
+ </div>
28
+ <div class="header">{{card.name}}</div>
29
+ </div>
30
+ {{!-- <span style="color: black;">{{card.type}}</span> --}}
31
+ <div class="cost-container">
32
+ {{#if (eq card.type "lugar")}}
33
+ <div class="header-cost">{{card.cost}}</div>
34
+ {{/if}}
35
+ {{#if (eq card.type "evento")}}
36
+ <div class="header-cost">{{card.cost}}</div>
37
+ {{/if}}
38
+ {{#if (eq card.type "ofrenda")}}
39
+ <div class="header-cost">{{card.cost}}</div>
40
+ {{/if}}
41
+ {{#if (eq card.type "personaje")}}
42
+ <div class="header-cost">{{card.cost}}</div>
43
+ {{/if}}
44
+ {{#if (eq card.type "sabiduría")}}
45
+ <div class="header-cost">{{card.cost}}</div>
46
+ {{/if}}
47
+ {{#if (eq card.type "acción")}}
48
+ <div class="header-cost">{{card.cost}}</div>
49
+ {{/if}}
50
+ {{#if (eq card.type "herramienta")}}
51
+ <div class="header-cost">{{card.cost}}</div>
52
+ {{/if}}
53
+ {{#if (gte card.ofrendas 1)}}
54
+ {{#repeat card.ofrendas}}
55
+ <div class="header-cost"></div>
56
+ {{/repeat}}
57
+ {{/if}}
58
+ </div>
59
+ </div>
60
+ <div class="content">
61
+ <div class="image">
62
+ <div class="type-box">
63
+ {{uppercase card.type}}
64
+ </div>
65
+ </div>
66
+ </div>
67
+ <div class="legend">
68
+ <div class="verse"><p>{{card.verse}}</p></div>
69
+ <div class="version"><p>{{card.book}} {{card.bible-verse}} {{card.version}}</p></div>
70
+ </div>
71
+ <div class="hability-container">
72
+ <div class="character-container">
73
+ <div class="statistic-container">
74
+ {{#if (eq card.type 'personaje')}}
75
+ <div class="character-text">{{card.atack}}</div>
76
+ <div class="character-text">{{card.restriction}}</div>
77
+ <div class="character-text">{{card.life}}</div>
78
+ {{/if}}
79
+ </div>
80
+ <div class="rarity-container">
81
+ <div class="rarity-box {{card.rarity}}"></div>
82
+ {{#if (eq card.rarity 'normal')}}
83
+ {{/if}}
84
+ </div>
85
+ </div>
86
+ <div class="text-container">
87
+ <p class="hability-title">{{card.hability-title}}</p>
88
+ <p class="hability-text">{{card.hability-text}}</p>
89
+ <p class="hability-title">{{card.hability-title-2}}</p>
90
+ <p class="hability-text">{{card.hability-text-2}}</p>
91
+ </div>
92
+ <div class="hero-stadistic-container">
93
+ {{#if (eq card.type 'líder')}}
94
+ <div class="hero-stadistic">{{card.hero-life}}</div>
95
+ {{/if}}
96
+ </div>
97
+ </div>
98
+ <div class="footer">
99
+ <div class="edition-container">
100
+ <div class="number">
101
+ <div class="edition-box">
102
+ <img src="{{index assets card.edition}}"/>
103
+ </div>
104
+ <p>{{#padZeros card.id 3}}{{/padZeros}}/{{card.edition-qty}}</p>
105
+ </div>
106
+ <div class="rights">{{card.year}} CHRISTIANITY</div>
107
+ <div class="author">{{card.author}}</div>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ <div class="permissions">
112
+ <p>Nueva Biblia Viva © 2006, 2008 por Biblica, Inc.® Usado con permiso de Biblica, Inc.® Reservados todos los derechos en todo el mundo.</p>
113
+ </div>
114
+ </div>
@@ -0,0 +1,352 @@
1
+ .border-container {
2
+ background: rgb(154,166,191);
3
+ background: linear-gradient(180deg, rgba(154,166,191,1) 11%, rgba(202,206,209,1) 33%, rgba(159,158,187,1) 71%, rgba(157,164,170,1) 100%);
4
+ padding: 45px;
5
+ }
6
+
7
+ .card {
8
+ width: 825px;
9
+ height: 1225px;
10
+ border-radius: 25px;
11
+ background-color: #f2f2f2;
12
+ padding: 18px;
13
+ }
14
+
15
+ .header {
16
+ color: #35353d;
17
+ font-size: 50px;
18
+ font-weight: 700;
19
+ }
20
+
21
+ .cost-container {
22
+ display: flex;
23
+ }
24
+
25
+ .header-cost {
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ background-color: #ffd800;
30
+ width: 60px;
31
+ height: 60px;
32
+ border-radius: 50%;
33
+ color: #454545;
34
+ font-weight: 700;
35
+ font-size: 50px;
36
+ margin-left: 8px;
37
+ }
38
+
39
+ .header-container {
40
+ width: 100%;
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: space-between;
44
+ }
45
+
46
+ .name-container {
47
+ width: 100%;
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: start;
51
+ }
52
+
53
+ .icon {
54
+ padding-top: 4px;
55
+ width: 60px;
56
+ height: 60px;
57
+ color: #35353d;
58
+ background-color: #c7ccd2;
59
+ display: flex;
60
+ align-items: center;
61
+ justify-content: center;
62
+ border-radius: 50%;
63
+ font-size: 28px;
64
+ margin-right: 8px;
65
+ }
66
+
67
+ .icon img {
68
+ width: 36px;
69
+ }
70
+
71
+ .content {
72
+ padding: 8px 0px;
73
+ height: 610px;
74
+ }
75
+
76
+ .image {
77
+ background-image: url({{index assets card.name}});
78
+ background-position: center;
79
+ background-position-y: {{card.positiony}}px;
80
+ background-position-x: {{card.positionx}}px;
81
+ background-size: 100%;
82
+ background-size: {{card.size}}%;
83
+
84
+ /* background-position-y: -150px;
85
+ background-position-x: -150px;
86
+ background-size: 120%; */
87
+
88
+ border-radius: 20px;
89
+ background-repeat: no-repeat;
90
+ height: 100%;
91
+ -webkit-box-shadow: 0px 2px 30px -11px rgba(71,71,71,0.58);
92
+ -moz-box-shadow: 0px 2px 30px -11px rgba(71,71,71,0.58);
93
+ box-shadow: 0px 2px 30px -11px rgba(71,71,71,0.58);
94
+ position: relative;
95
+
96
+ display: flex;
97
+ align-items: start;
98
+ justify-content: flex-end;
99
+ }
100
+
101
+ .type-box {
102
+ margin-top: -1px;
103
+ margin-right: -1px;
104
+ color : #282828;
105
+ display: flex;
106
+ align-items: center;
107
+ justify-content: center;
108
+ font-size: 16px;
109
+ font-weight: 600;
110
+ font-family: "Nunito Sans", sans-serif;
111
+ font-optical-sizing: auto;
112
+ font-style: italic;
113
+ width: 180px;
114
+ height: 35px;
115
+ border-radius: 0px 20px;
116
+ border: 2px outset #e0e0e0;
117
+ text-shadow: 1px 1px rgba(43, 43, 43, 0.2);
118
+ box-shadow: -5px 7px 16px rgba(6, 6, 5, 0.5);
119
+ letter-spacing: 1px;
120
+
121
+ background: rgb(223,222,226);
122
+ background: linear-gradient(180deg, rgba(223,222,226,1) 30%, rgba(237,237,239,1) 51%, rgba(255,255,255,1) 80%);
123
+ }
124
+
125
+
126
+ .footer {
127
+ height: 34px;
128
+ padding: 0px 8px;
129
+ color: #000000;
130
+ display: flex;
131
+ justify-content: space-between;
132
+ }
133
+
134
+ .edition-container {
135
+ width: 100%;
136
+ display: flex;
137
+ align-items: center;
138
+ justify-content: space-between;
139
+ height: 30px;
140
+ }
141
+
142
+ .edition {
143
+ background-image: url({{index assets card.edition}});
144
+ background-position: center;
145
+ background-size: 100%;
146
+ background-repeat: no-repeat;
147
+ width: 50px;
148
+ height: 100%;
149
+ }
150
+
151
+ .number {
152
+ font-weight: 600;
153
+ display: flex;
154
+ align-items: center;
155
+ }
156
+
157
+ .number p {
158
+ padding-left: 8px;
159
+ }
160
+
161
+ .edition-box img {
162
+ width: 40px;
163
+ margin: 0;
164
+ padding: 0;
165
+ margin-top: 4px;
166
+ }
167
+
168
+ .permissions {
169
+ position: fixed;
170
+ bottom: 0;
171
+ height: 45px;
172
+ width: 92%;
173
+ display: flex;
174
+ align-items: flex-start;
175
+ justify-content: center;
176
+ padding-top: 8px;
177
+ }
178
+
179
+ .permissions p {
180
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
181
+ margin: 0 auto;
182
+ padding: 0;
183
+ color: #000000;
184
+ font-size: 13px;
185
+ font-weight: 400;
186
+ }
187
+
188
+ .legend {
189
+ min-height: 172px;
190
+ max-height: 172px;
191
+ margin-top: -4px;
192
+ }
193
+
194
+ .verse {
195
+ font-family: "Noto Serif", serif;
196
+ font-optical-sizing: auto;
197
+ margin: 0;
198
+ padding: 0;
199
+ color: #000000;
200
+ font-size: 18px;
201
+ font-weight: 300;
202
+ max-width: 760px;
203
+ line-height: normal;
204
+ }
205
+
206
+ .version {
207
+ font-family: "Open Sans", sans-serif;
208
+ font-optical-sizing: auto;
209
+ margin: 0;
210
+ padding: 0;
211
+ color: #000000;
212
+ font-size: 20px;
213
+ font-weight: 800;
214
+ max-width: 740px;
215
+ line-height: normal;
216
+ margin-top: -8px;
217
+ }
218
+
219
+ .hability-container {
220
+ width: 100%;
221
+ height: 320px;
222
+ background-image: url({{index assets card.legend}});
223
+ background-position: center;
224
+ background-size: 100%;
225
+ background-repeat: no-repeat;
226
+ border-radius: 20px;
227
+ padding: 16px;
228
+ display: flex;
229
+ flex-direction: column;
230
+ }
231
+
232
+ .character-container {
233
+ display: flex;
234
+ width: 100%;
235
+ height: 40px;
236
+ align-items: center;
237
+ justify-content: space-between;
238
+ }
239
+
240
+ .statistic-container {
241
+ display: flex;
242
+ width: 160px;
243
+ height: 40px;
244
+ align-items: center;
245
+ justify-content: space-between;
246
+ }
247
+
248
+ .character-text {
249
+ margin: 0;
250
+ padding: 0;
251
+ color: #000000;
252
+ font-size: 32px;
253
+ font-weight: 800;
254
+ line-height: normal;
255
+ }
256
+
257
+
258
+ .rarity-container {
259
+ display: flex;
260
+ width: 200px;
261
+ height: 40px;
262
+ align-items: center;
263
+ justify-content: end;
264
+ }
265
+
266
+ .rarity-box {
267
+ width: 24px;
268
+ height: 24px;
269
+ /* transform: rotate(45deg);
270
+ border-radius: 5px; */
271
+ border-radius: 100%;
272
+ -webkit-box-shadow: 0px 2px 30px -11px rgba(71,71,71,0.58);
273
+ -moz-box-shadow: 0px 2px 30px -11px rgba(71,71,71,0.58);
274
+ box-shadow: 0px 2px 30px -11px rgba(71,71,71,0.58);
275
+ }
276
+
277
+ .normal {
278
+ background-color: #3a80e9;
279
+ background: rgb(58,128,233);
280
+ background: linear-gradient(180deg, rgba(58,128,233,1) 40%, rgba(15,89,199,1) 90%);
281
+ /* border: 1px outset #3a80e9; */
282
+ }
283
+
284
+ .destacado {
285
+ background-color: #4ee93a;
286
+ background: rgb(78,233,58);
287
+ background: linear-gradient(180deg, rgba(78,233,58,1) 40%, rgba(25,176,5,1) 90%);
288
+ /* border: 3px outset #4ee93a; */
289
+ }
290
+
291
+ .excelente {
292
+ background-color: #e9ce3a;
293
+ background: rgb(233,206,58);
294
+ background: linear-gradient(180deg, rgba(233,206,58,1) 40%, rgba(199,168,0,1) 90%);
295
+ /* border: 3px outset #e9ce3a; */
296
+ }
297
+
298
+ .extraordinario {
299
+ background-color: #e03ae9;
300
+ background: rgb(224,58,233);
301
+ background: linear-gradient(180deg, rgba(224,58,233,1) 40%, rgba(155,30,162,1) 90%);
302
+ /* border: 3px outset #e03ae9; */
303
+ }
304
+
305
+ .text-container {
306
+ height: 210px;
307
+ width: 100%;
308
+ display: flex;
309
+ flex-direction: column;
310
+ align-items: flex-start;
311
+ justify-content: center;
312
+ padding-right: 16px;
313
+ }
314
+
315
+ .hability-title {
316
+ font-family: Arial, Helvetica, sans-serif;
317
+ font-weight: 700;
318
+ margin: 0;
319
+ padding: 0;
320
+ color: #000000;
321
+ font-size: 24px;
322
+ margin-bottom: 8px;
323
+ }
324
+
325
+ .hability-text {
326
+ font-family: "Inter", Tahoma, Geneva, Verdana, sans-serif;
327
+ font-optical-sizing: auto;
328
+ font-weight: 400;
329
+ margin: 0;
330
+ padding: 0;
331
+ color: #000000;
332
+ font-size: 24px;
333
+ }
334
+
335
+ .hero-stadistic-container {
336
+ width: 100%;
337
+ height: 40px;
338
+ display: flex;
339
+ align-items: flex-end;
340
+ justify-content: end;
341
+ }
342
+
343
+ .hero-stadistic {
344
+ margin: 0;
345
+ padding: 0;
346
+ color: #000000;
347
+ font-size: 32px;
348
+ font-weight: 800;
349
+ line-height: normal;
350
+ }
351
+
352
+