banks-helper 1.3.1 → 1.3.3

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 (67) hide show
  1. package/banks.ts +423 -34
  2. package/example/main.ts +32 -0
  3. package/example/style.css +69 -0
  4. package/index.html +23 -0
  5. package/index.ts +2 -2
  6. package/logos/131.svg +1 -0
  7. package/logos/abank.svg +1 -0
  8. package/logos/absolutbank.svg +5 -0
  9. package/logos/agroros.svg +1 -0
  10. package/logos/ai-bank.svg +1 -0
  11. package/logos/akcept.svg +1 -0
  12. package/logos/akibank.svg +1 -0
  13. package/logos/alef-bank.svg +1 -0
  14. package/logos/alfa-bank.svg +1 -0
  15. package/logos/almazehrgiehnbank.svg +1 -0
  16. package/logos/altynbank.svg +1 -0
  17. package/logos/americanexpress.svg +1 -0
  18. package/logos/aresbank.svg +1 -0
  19. package/logos/atb.svg +1 -0
  20. package/logos/autokreditbank.png +0 -0
  21. package/logos/aversbank.svg +5 -0
  22. package/logos/avtogradbank.svg +4 -0
  23. package/logos/avtotorgbank.svg +1 -0
  24. package/logos/baltinvestbank.svg +1 -0
  25. package/logos/bancaintesa.svg +1 -0
  26. package/logos/bank-credit-suisse-moscow.svg +1 -0
  27. package/logos/bankofkazan.svg +1 -0
  28. package/logos/bankorange.svg +1 -0
  29. package/logos/bankrmp.png +0 -0
  30. package/logos/bankvl.svg +1 -0
  31. package/logos/bbr.svg +1 -0
  32. package/logos/bcs.svg +1 -0
  33. package/logos/bgfbank.svg +1 -0
  34. package/logos/blank_bank.svg +1 -3
  35. package/logos/bm-bank.svg +1 -0
  36. package/logos/bmwbank.svg +1 -0
  37. package/logos/bnpparibasbank.svg +1 -0
  38. package/logos/boc.svg +1 -0
  39. package/logos/bstbank.png +0 -0
  40. package/logos/bystrobank.svg +1 -0
  41. package/logos/capitalbank.svg +1 -0
  42. package/logos/cfb.svg +1 -0
  43. package/logos/chbrr.svg +1 -0
  44. package/logos/domrfbank.svg +1 -0
  45. package/logos/finam.svg +1 -0
  46. package/logos/icbc.svg +1 -0
  47. package/logos/kbagora.png +0 -0
  48. package/logos/mp-bank.svg +1 -0
  49. package/logos/round.svg +1 -0
  50. package/logos/sankt-peterburg_bank.svg +1 -0
  51. package/logos/severgazbank.svg +1 -0
  52. package/logos/venets-bank.svg +1 -0
  53. package/logos/vfbank.svg +1 -0
  54. package/logos/vikingbank.svg +1 -0
  55. package/logos/vitabank.svg +1 -0
  56. package/logos/vlb100.jpg +0 -0
  57. package/logos/vlbb.svg +1 -0
  58. package/logos/wb-bank.svg +1 -0
  59. package/logos/zenit_bank.svg +1 -0
  60. package/package.json +8 -2
  61. package/tsconfig.json +2 -1
  62. package/logos/alef-bank.png +0 -0
  63. package/logos/alfa-bank.png +0 -0
  64. package/logos/almazehrgiehnbank.png +0 -0
  65. package/logos/sankt-peterburg_bank.png +0 -0
  66. package/logos/vologzhanin_bank.png +0 -0
  67. package/logos/zenit_bank.png +0 -0
package/banks.ts CHANGED
@@ -1,6 +1,75 @@
1
1
  import { IBankLogoItem } from './IBankLogoItem';
2
2
 
3
3
  export const banks: IBankLogoItem[] = [
4
+ {
5
+ fileName: 'absolutbank.svg',
6
+ humanName: 'Абсолют Банк',
7
+ matchedBankNames: [],
8
+ },
9
+ {
10
+ fileName: 'aversbank.svg',
11
+ humanName: 'Банк "Аверс"',
12
+ matchedBankNames: [
13
+ 'Аверс',
14
+ 'АВЕРС',
15
+ ],
16
+ },
17
+ {
18
+ fileName: 'avtogradbank.svg',
19
+ humanName: 'Автоградбанк',
20
+ matchedBankNames: [
21
+ 'АВТОГРАДБАНК',
22
+ ],
23
+ },
24
+ {
25
+ fileName: 'autokreditbank.png',
26
+ humanName: 'АвтоКредитБанк',
27
+ matchedBankNames: [
28
+ 'АВТОКРЕДИТБАНК',
29
+ ],
30
+ },
31
+ {
32
+ fileName: 'agroros.svg',
33
+ humanName: 'Банк "Агророс"',
34
+ matchedBankNames: [
35
+ 'АГРОРОС',
36
+ ],
37
+ },
38
+ {
39
+ fileName: 'atb.svg',
40
+ humanName: 'Азиатско-Тихоокеанский Банк',
41
+ matchedBankNames: [
42
+ 'АЗИАТСКО-ТИХООКЕАНСКИЙ БАНК',
43
+ ],
44
+ },
45
+ {
46
+ fileName: 'ai-bank.svg',
47
+ humanName: 'Азия-Инвест Банк',
48
+ matchedBankNames: [
49
+ 'АЗИЯ-ИНВЕСТ БАНК',
50
+ ],
51
+ },
52
+ {
53
+ fileName: 'icbc.svg',
54
+ humanName: 'АйСиБиСи Банк',
55
+ matchedBankNames: [
56
+ 'АЙСИБИСИ БАНК',
57
+ ],
58
+ },
59
+ {
60
+ fileName: 'avtotorgbank.svg',
61
+ humanName: '"АТБ" Банк',
62
+ matchedBankNames: [
63
+ 'АВТОТОРГБАНК',
64
+ ],
65
+ },
66
+ {
67
+ fileName: 'kbagora.png',
68
+ humanName: 'БАНК "АГОРА"',
69
+ matchedBankNames: [
70
+ 'АГОРА',
71
+ ],
72
+ },
4
73
  {
5
74
  fileName: 'agropromkredit_bank.png',
6
75
  humanName: 'Банк АГРОПРОМКРЕДИТ',
@@ -10,7 +79,7 @@ export const banks: IBankLogoItem[] = [
10
79
  },
11
80
  {
12
81
  fileName: 'ak_bars_bank.png',
13
- humanName: 'Ак Барс Банк',
82
+ humanName: 'АК БАРС',
14
83
  matchedBankNames: [
15
84
  'JOINT STOCK COMMERCIAL BANK AK BARS',
16
85
  'JSCB AK BARS',
@@ -18,30 +87,97 @@ export const banks: IBankLogoItem[] = [
18
87
  ],
19
88
  },
20
89
  {
21
- fileName: 'alef-bank.png',
90
+ fileName: 'akibank.svg',
91
+ humanName: 'АКИБАНК',
92
+ matchedBankNames: [],
93
+ },
94
+ {
95
+ fileName: 'akcept.svg',
96
+ humanName: 'Банк Акцепт',
97
+ matchedBankNames: [
98
+ 'АКЦЕПТ',
99
+ ],
100
+ },
101
+ {
102
+ fileName: 'abank.svg',
103
+ humanName: 'Банк "АЛЕКСАНДРОВСКИЙ"',
104
+ matchedBankNames: [
105
+ 'АЛЕКСАНДРОВСКИЙ',
106
+ ],
107
+ },
108
+ {
109
+ fileName: 'alef-bank.svg',
22
110
  humanName: 'Алеф-Банк',
23
111
  matchedBankNames: [
24
112
  'АЛЕФ-БАНК',
25
113
  ],
26
114
  },
27
115
  {
28
- fileName: 'alfa-bank.png',
29
- humanName: 'Альфа-Банк',
116
+ fileName: 'alfa-bank.svg',
117
+ humanName: 'АЛЬФА-БАНК',
30
118
  matchedBankNames: [
31
119
  'CJSC ALFA-BANK',
32
120
  'JOINT STOCK COMPANY ALFA-BANK',
33
121
  ],
34
122
  },
35
123
  {
36
- fileName: 'almazehrgiehnbank.png',
124
+ fileName: 'americanexpress.svg',
125
+ humanName: 'Америкэн Экспресс Банк',
126
+ matchedBankNames: [
127
+ 'АМЕРИКЭН ЭКСПРЕСС БАНК',
128
+ ],
129
+ },
130
+ {
131
+ fileName: 'aresbank.svg',
132
+ humanName: 'АРЕСБАНК',
133
+ matchedBankNames: [],
134
+ },
135
+ {
136
+ fileName: '',
137
+ humanName: 'комбанк "Арзамас"',
138
+ matchedBankNames: [
139
+ 'АРЗАМАС',
140
+ ],
141
+ },
142
+ {
143
+ fileName: '',
144
+ humanName: 'Байкалкредобанк',
145
+ matchedBankNames: [
146
+ 'БАЙКАЛКРЕДОБАНК',
147
+ ],
148
+ },
149
+ {
150
+ fileName: '',
151
+ humanName: 'БАЛАКОВО-БАНК',
152
+ matchedBankNames: [],
153
+ },
154
+ {
155
+ fileName: 'baltinvestbank.svg',
156
+ humanName: 'БАЛТИНВЕСТБАНК',
157
+ matchedBankNames: [],
158
+ },
159
+ {
160
+ fileName: 'almazehrgiehnbank.svg',
37
161
  humanName: 'Алмазэргиэнбанк',
38
162
  matchedBankNames: [
39
163
  'АЛМАЗЭРГИЭНБАНК',
40
164
  ],
41
165
  },
166
+ {
167
+ fileName: 'capitalbank.svg',
168
+ humanName: 'Алтайкапиталбанк',
169
+ matchedBankNames: [
170
+ 'АЛТАЙКАПИТАЛБАНК',
171
+ ],
172
+ },
173
+ {
174
+ fileName: 'altynbank.svg',
175
+ humanName: 'АЛТЫНБАНК',
176
+ matchedBankNames: [],
177
+ },
42
178
  {
43
179
  fileName: 'avangard_bank.png',
44
- humanName: 'Банк Авангард',
180
+ humanName: 'АВАНГАРД',
45
181
  matchedBankNames: [
46
182
  'JSB AVANGARD',
47
183
  'АВАНГАРД',
@@ -59,9 +195,86 @@ export const banks: IBankLogoItem[] = [
59
195
  humanName: 'БАНК ОРЕНБУРГ',
60
196
  matchedBankNames: [],
61
197
  },
198
+ {
199
+ fileName: 'round.svg',
200
+ humanName: 'банк Раунд',
201
+ matchedBankNames: [
202
+ 'БАНК РАУНД',
203
+ ],
204
+ },
205
+ {
206
+ fileName: 'bankrmp.png',
207
+ humanName: 'Банк РМП',
208
+ matchedBankNames: [
209
+ 'БАНК РМП',
210
+ ],
211
+ },
212
+ {
213
+ fileName: '',
214
+ humanName: 'Банк РСИ',
215
+ matchedBankNames: [
216
+ '"Bank RSI" Ltd.',
217
+ ],
218
+ },
219
+ {
220
+ fileName: 'severgazbank.svg',
221
+ humanName: 'БАНК СГБ',
222
+ matchedBankNames: [
223
+ 'Joint-Stock Company "SEVERGAZBANK"',
224
+ '"BANK SGB" JSC',
225
+ ],
226
+ },
227
+ {
228
+ fileName: 'finam.svg',
229
+ humanName: 'Банк ФИНАМ',
230
+ matchedBankNames: [
231
+ 'Joint Stock Company FINAM Investment Bank',
232
+ 'JSC FINAM Bank',
233
+ ],
234
+ },
235
+ {
236
+ fileName: 'chbrr.svg',
237
+ humanName: 'Банк ЧБРР',
238
+ matchedBankNames: [
239
+ 'Joint-stock company "Chernomorskiy bank of development and reconstruction"',
240
+ 'JSC "Bank CHBDR"',
241
+ ],
242
+ },
243
+ {
244
+ fileName: 'bbr.svg',
245
+ humanName: 'ББР Банк',
246
+ matchedBankNames: [
247
+ 'Joint Stock Company BBR Bank',
248
+ 'BBR Bank',
249
+ ],
250
+ },
251
+ {
252
+ fileName: '',
253
+ humanName: 'Белгородсоцбанк',
254
+ matchedBankNames: [
255
+ 'Joint-stock Company Universal commercial bank of social development & reconstruction "BELGORODSOCBANK"',
256
+ 'JSC "Belgorodsocbank"',
257
+ ],
258
+ },
259
+ {
260
+ fileName: 'bstbank.png',
261
+ humanName: 'БСТ-БАНК',
262
+ matchedBankNames: [
263
+ 'Бизнес-Сервис-Траст',
264
+ '"Joint-stock company "Business-Service-Trust"',
265
+ '"BST-BANK" - JSC',
266
+ ],
267
+ },
268
+ {
269
+ fileName: 'bcs.svg',
270
+ humanName: 'БКС Банк',
271
+ matchedBankNames: [
272
+ '"BCS Bank" AO',
273
+ ],
274
+ },
62
275
  {
63
276
  fileName: 'bank_rossiya.svg',
64
- humanName: 'БАНК РОССИЯ',
277
+ humanName: 'РОССИЯ',
65
278
  matchedBankNames: [
66
279
  'OJSC JSB ROSSIYA',
67
280
  'РОССИЯ',
@@ -69,9 +282,120 @@ export const banks: IBankLogoItem[] = [
69
282
  },
70
283
  {
71
284
  fileName: 'blank_bank.svg',
72
- humanName: 'БЛАНК БАНК',
285
+ humanName: 'Бланк банк',
286
+ matchedBankNames: [
287
+ 'БЛАНК БАНК',
288
+ 'Blanc bank Limited Liability Company',
289
+ 'Blanc bank LLC',
290
+ ],
291
+ },
292
+ {
293
+ fileName: 'bm-bank.svg',
294
+ humanName: 'БМ-Банк',
295
+ matchedBankNames: [
296
+ 'BM-Bank Joint Stock Company',
297
+ 'BM-Bank JSC',
298
+ ],
299
+ },
300
+ {
301
+ fileName: 'bmwbank.svg',
302
+ humanName: 'БМВ Банк',
303
+ matchedBankNames: [
304
+ 'Limited Liability Company "BMW Bank"',
305
+ 'OOO "BMW Bank"',
306
+ ],
307
+ },
308
+ {
309
+ fileName: 'bnpparibasbank.svg',
310
+ humanName: 'БНП ПАРИБА Банк',
311
+ matchedBankNames: [
312
+ '"BNP PARIBAS Bank" Joint stock company',
313
+ '"BNP PARIBAS BANK" JSC."',
314
+ ],
315
+ },
316
+ {
317
+ fileName: '',
318
+ humanName: 'Братский АНКБ',
319
+ matchedBankNames: [
320
+ 'Bratsky Narodny Bank JSC',
321
+ ],
322
+ },
323
+ {
324
+ fileName: 'bystrobank.svg',
325
+ humanName: 'БыстроБанк',
326
+ matchedBankNames: [
327
+ 'Public Joint-Stock Company "BystroBank" PJSC "BystroBank"',
328
+ ],
329
+ },
330
+ {
331
+ fileName: 'boc.svg',
332
+ humanName: 'БЭНК ОФ ЧАЙНА',
333
+ matchedBankNames: [
334
+ 'Joint-Stock Commercial Bank "BANK OF CHINA (RUSSIA)"',
335
+ 'BANK OF CHINA (RUSSIA)',
336
+ ],
337
+ },
338
+ {
339
+ fileName: 'wb-bank.svg',
340
+ humanName: 'Вайлдберриз Банк',
341
+ matchedBankNames: [
342
+ 'WILDBERRIES Bank Company Limited',
343
+ 'WILDBERRIES BANK Co.Ltd.',
344
+ ],
345
+ },
346
+ {
347
+ fileName: '',
348
+ humanName: 'ВАКОБАНК',
73
349
  matchedBankNames: [],
74
350
  },
351
+ {
352
+ fileName: 'vlb100.jpg',
353
+ humanName: 'Великие Луки банк',
354
+ matchedBankNames: [
355
+ 'Joint Stock Company "Velikie Luki bank"',
356
+ 'JSC "Velikie Luki bank"',
357
+ ],
358
+ },
359
+ {
360
+ fileName: 'venets-bank.svg',
361
+ humanName: 'Банк "Венец"',
362
+ matchedBankNames: [
363
+ 'Bank VENETS',
364
+ ],
365
+ },
366
+ {
367
+ fileName: 'vikingbank.svg',
368
+ humanName: 'КАБ "Викинг"',
369
+ matchedBankNames: [
370
+ 'Commercial Bank "Viking" Stock Company',
371
+ 'Vikingbank',
372
+ 'Commerzbank "Wiking" AG',
373
+ 'Wikingbank',
374
+ ],
375
+ },
376
+ {
377
+ fileName: 'vitabank.svg',
378
+ humanName: 'Витабанк',
379
+ matchedBankNames: [
380
+ 'JSC "Vitabank"',
381
+ ],
382
+ },
383
+ {
384
+ fileName: 'vlbb.svg',
385
+ humanName: 'ВЛАДБИЗНЕСБАНК',
386
+ matchedBankNames: [
387
+ 'Joint-Stock Company Vladbusinessbank',
388
+ 'JSC Vladbusinessbank',
389
+ ],
390
+ },
391
+ {
392
+ fileName: 'vfbank.svg',
393
+ humanName: 'ВНЕШФИНБАНК',
394
+ matchedBankNames: [
395
+ '"VNESHFINBANK" limited Company',
396
+ '"VNESHFINBANK" LTD',
397
+ ],
398
+ },
75
399
  {
76
400
  fileName: 'dalnevostochnyj_bank.png',
77
401
  humanName: 'Дальневосточный банк',
@@ -97,8 +421,8 @@ export const banks: IBankLogoItem[] = [
97
421
  },
98
422
  {
99
423
  fileName: 'ekonombank.png',
100
- humanName: 'ЭКОНОМБАНК',
101
- matchedBankNames: [],
424
+ humanName: 'Экономбанк',
425
+ matchedBankNames: ['ЭКОНОМБАНК'],
102
426
  },
103
427
  {
104
428
  fileName: 'ekspobank.svg',
@@ -116,10 +440,8 @@ export const banks: IBankLogoItem[] = [
116
440
  },
117
441
  {
118
442
  fileName: 'fora_bank.png',
119
- humanName: 'Фора-Банк',
120
- matchedBankNames: [
121
- 'ФОРА-БАНК',
122
- ],
443
+ humanName: 'ФОРА-БАНК',
444
+ matchedBankNames: [],
123
445
  },
124
446
  {
125
447
  fileName: 'gazprombank.png',
@@ -140,14 +462,14 @@ export const banks: IBankLogoItem[] = [
140
462
  },
141
463
  {
142
464
  fileName: 'hlynov_bank.png',
143
- humanName: 'Банк Хлынов',
465
+ humanName: 'Хлынов',
144
466
  matchedBankNames: [
145
467
  'ХЛЫНОВ',
146
468
  ],
147
469
  },
148
470
  {
149
471
  fileName: 'houm_kredit_bank.png',
150
- humanName: 'Хоум Кредит Банк',
472
+ humanName: 'ХКФ Банк',
151
473
  matchedBankNames: [
152
474
  'LIMITED LIABILITY COMPANY HOME CREDIT & FINANCE BANK',
153
475
  'LLC HOME CREDIT AND FINANCE BANK',
@@ -168,7 +490,7 @@ export const banks: IBankLogoItem[] = [
168
490
  },
169
491
  {
170
492
  fileName: 'kredit_evropa_bank.png',
171
- humanName: 'Кредит Европа Банк',
493
+ humanName: 'Кредит Европа Банк (Россия)',
172
494
  matchedBankNames: [
173
495
  'CREDIT EUROPE BANK LTD',
174
496
  ],
@@ -182,7 +504,7 @@ export const banks: IBankLogoItem[] = [
182
504
  },
183
505
  {
184
506
  fileName: 'kuban_kredit_bank.png',
185
- humanName: 'Банк "Кубань Кредит"',
507
+ humanName: 'Кубань Кредит',
186
508
  matchedBankNames: [
187
509
  'КУБАНЬ КРЕДИТ',
188
510
  ],
@@ -204,14 +526,14 @@ export const banks: IBankLogoItem[] = [
204
526
  },
205
527
  {
206
528
  fileName: 'moskovskij_kreditnyj_bank.png',
207
- humanName: 'Московский кредитный банк',
529
+ humanName: 'МОСКОВСКИЙ КРЕДИТНЫЙ БАНК',
208
530
  matchedBankNames: [
209
531
  'Московский Кредитный Банк',
210
532
  ],
211
533
  },
212
534
  {
213
535
  fileName: 'mts-bank.png',
214
- humanName: 'МТС Банк',
536
+ humanName: 'МТС-Банк',
215
537
  matchedBankNames: [
216
538
  'MTS',
217
539
  'MTS-BANK',
@@ -229,10 +551,9 @@ export const banks: IBankLogoItem[] = [
229
551
  },
230
552
  {
231
553
  fileName: 'novikombank.png',
232
- humanName: 'Новикомбанк',
554
+ humanName: 'НОВИКОМБАНК',
233
555
  matchedBankNames: [
234
556
  'JSCB NOVIKOMBANK',
235
- 'НОВИКОМБАНК',
236
557
  ],
237
558
  },
238
559
  {
@@ -244,7 +565,7 @@ export const banks: IBankLogoItem[] = [
244
565
  },
245
566
  {
246
567
  fileName: 'otkrytie_bank.png',
247
- humanName: 'Банк Открытие',
568
+ humanName: 'Банк "ФК Открытие"',
248
569
  matchedBankNames: [
249
570
  'CB OTKRITIE CJSC',
250
571
  'JSCB JSCB BINBANK',
@@ -257,7 +578,7 @@ export const banks: IBankLogoItem[] = [
257
578
  },
258
579
  {
259
580
  fileName: 'ozonbank.svg',
260
- humanName: 'OZON Банк',
581
+ humanName: 'ОЗОН Банк',
261
582
  matchedBankNames: [
262
583
  'ОЗОН БАНК',
263
584
  ],
@@ -297,7 +618,7 @@ export const banks: IBankLogoItem[] = [
297
618
  },
298
619
  {
299
620
  fileName: 'qiwi_bank.png',
300
- humanName: 'QIWI Банк',
621
+ humanName: 'КИВИ Банк',
301
622
  matchedBankNames: [
302
623
  'QIWI BANK (JSC)',
303
624
  'КИВИ БАНК',
@@ -314,7 +635,7 @@ export const banks: IBankLogoItem[] = [
314
635
  },
315
636
  {
316
637
  fileName: 'renessans_kredit_bank.png',
317
- humanName: 'Банк "Ренессанс Кредит"',
638
+ humanName: 'Ренессанс Кредит',
318
639
  matchedBankNames: [
319
640
  'COMMERCIAL BANK RENAISSANCE CREDIT (LIMITED LIABILITY COMPANY)',
320
641
  'РЕНЕССАНС КРЕДИТ',
@@ -329,7 +650,7 @@ export const banks: IBankLogoItem[] = [
329
650
  },
330
651
  {
331
652
  fileName: 'rnkb_bank.svg',
332
- humanName: 'Банк РНКБ',
653
+ humanName: 'РНКБ Банк',
333
654
  matchedBankNames: [
334
655
  'RNKB',
335
656
  'РОССИЙСКИЙ НАЦИОНАЛЬНЫЙ КОММЕРЧЕСКИЙ БАНК',
@@ -368,8 +689,8 @@ export const banks: IBankLogoItem[] = [
368
689
  ],
369
690
  },
370
691
  {
371
- fileName: 'sankt-peterburg_bank.png',
372
- humanName: 'Банк Санкт-Петербург',
692
+ fileName: 'sankt-peterburg_bank.svg',
693
+ humanName: 'Банк "Санкт-Петербург"',
373
694
  matchedBankNames: [
374
695
  'BANK SAINT PETERSBURG',
375
696
  'BANK SAINT PETERSBURG OJSC',
@@ -377,9 +698,35 @@ export const banks: IBankLogoItem[] = [
377
698
  'БАНК САНКТ-ПЕТЕРБУРГ',
378
699
  ],
379
700
  },
701
+ {
702
+ fileName: '131.svg',
703
+ humanName: 'Банк 131',
704
+ matchedBankNames: [
705
+ 'БАНК 131',
706
+ ],
707
+ },
708
+ {
709
+ fileName: '',
710
+ humanName: 'БАНК БЕРЕЙТ',
711
+ matchedBankNames: [],
712
+ },
713
+ {
714
+ fileName: 'domrfbank.svg',
715
+ humanName: 'Банк ДОМ.РФ',
716
+ matchedBankNames: [
717
+ 'БАНК ДОМ.РФ',
718
+ ],
719
+ },
720
+ {
721
+ fileName: 'bgfbank.svg',
722
+ humanName: 'Банк БЖФ',
723
+ matchedBankNames: [
724
+ 'БАНК ЖИЛИЩНОГО ФИНАНСИРОВАНИЯ',
725
+ ],
726
+ },
380
727
  {
381
728
  fileName: 'sberbank.png',
382
- humanName: 'СберБанк',
729
+ humanName: 'Сбербанк',
383
730
  matchedBankNames: [
384
731
  'SAVINGS BANK OF THE RUSSIAN FEDERATION (SBERBANK)',
385
732
  'sber',
@@ -476,7 +823,7 @@ export const banks: IBankLogoItem[] = [
476
823
  },
477
824
  {
478
825
  fileName: 'uralsib_bank.png',
479
- humanName: 'Банк Уралсиб',
826
+ humanName: 'БАНК УРАЛСИБ',
480
827
  matchedBankNames: [
481
828
  'OJSC BANK URALSIB',
482
829
  'УРАЛСИБ',
@@ -484,7 +831,7 @@ export const banks: IBankLogoItem[] = [
484
831
  },
485
832
  {
486
833
  fileName: 'vbrr_bank.png',
487
- humanName: 'ВБРР',
834
+ humanName: 'Банк "ВБРР"',
488
835
  matchedBankNames: [
489
836
  'JOINT-STOCK COMPANY RUSSIAN REGIONAL DEVELOPMENT BANK (RRDB)',
490
837
  'RUSSIAN REGIONAL DEVELOPMENT BANK',
@@ -492,7 +839,7 @@ export const banks: IBankLogoItem[] = [
492
839
  ],
493
840
  },
494
841
  {
495
- fileName: 'vologzhanin_bank.png',
842
+ fileName: 'bankvl.svg',
496
843
  humanName: 'Банк "Вологжанин"',
497
844
  matchedBankNames: [
498
845
  'ВОЛОГЖАНИН',
@@ -533,12 +880,54 @@ export const banks: IBankLogoItem[] = [
533
880
  ],
534
881
  },
535
882
  {
536
- fileName: 'zenit_bank.png',
883
+ fileName: 'zenit_bank.svg',
537
884
  humanName: 'Банк ЗЕНИТ',
538
885
  matchedBankNames: [
539
886
  'БАНК ЗЕНИТ',
540
887
  ],
541
888
  },
889
+ {
890
+ fileName: 'bancaintesa.svg',
891
+ humanName: 'Банк Интеза',
892
+ matchedBankNames: [
893
+ 'БАНК ИНТЕЗА',
894
+ ],
895
+ },
896
+ {
897
+ fileName: 'bankofkazan.svg',
898
+ humanName: 'Банк Казани',
899
+ matchedBankNames: [
900
+ 'БАНК КАЗАНИ',
901
+ ],
902
+ },
903
+ {
904
+ fileName: 'cfb.svg',
905
+ humanName: 'Банк БКФ',
906
+ matchedBankNames: [
907
+ 'БАНК КОРПОРАТИВНОГО ФИНАНСИРОВАНИЯ',
908
+ ],
909
+ },
910
+ {
911
+ fileName: 'bank-credit-suisse-moscow.svg',
912
+ humanName: 'Банк Кредит Свисс (Москва)',
913
+ matchedBankNames: [
914
+ 'БАНК КРЕДИТ СВИСС (МОСКВА)',
915
+ ],
916
+ },
917
+ {
918
+ fileName: 'mp-bank.svg',
919
+ humanName: 'МП Банк',
920
+ matchedBankNames: [
921
+ 'БАНК МИР ПРИВИЛЕГИЙ',
922
+ ],
923
+ },
924
+ {
925
+ fileName: 'bankorange.svg',
926
+ humanName: 'Банк Оранжевый',
927
+ matchedBankNames: [
928
+ 'БАНК ОРАНЖЕВЫЙ',
929
+ ],
930
+ },
542
931
  {
543
932
  fileName: 'kaspi_bank.svg',
544
933
  humanName: 'Kaspi Bank',
@@ -0,0 +1,32 @@
1
+ import { IBankLogoItem } from '../IBankLogoItem';
2
+ import { banks } from '../banks';
3
+
4
+ const bankTemplate: HTMLTemplateElement = document.querySelector('#bank');
5
+
6
+ const createBankLogoElement = ({ fileName, humanName, matchedBankNames }: IBankLogoItem) => {
7
+ const itemElement = bankTemplate.content.querySelector('.bank').cloneNode(true) as Element;
8
+ const imageElement: HTMLImageElement = itemElement.querySelector('.bank__logo');
9
+ imageElement.src = 'logos/' + fileName;
10
+ imageElement.alt = fileName;
11
+
12
+ if (!fileName) {
13
+ itemElement.classList.add('bank--logo-empty');
14
+ }
15
+
16
+ itemElement.querySelector('.bank__name').textContent = humanName;
17
+ itemElement.querySelector('.bank__alt-names').textContent = matchedBankNames.join(', ');
18
+
19
+ return itemElement;
20
+ };
21
+
22
+ const renderBankLogos = (banks) => {
23
+ const banksListElement = document.querySelector('.banks-list');
24
+ banksListElement.classList.add('banks-list');
25
+ banks.forEach((element) => {
26
+ banksListElement.append(createBankLogoElement(element));
27
+ });
28
+
29
+ document.body.append(banksListElement);
30
+ };
31
+
32
+ renderBankLogos(banks);