@redneckz/wildless-cms-uni-blocks 0.14.579 → 0.14.581

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 (132) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +7 -29
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  5. package/bundle/components/ApplicationForm/getInitialFormState.d.ts +0 -1
  6. package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +1 -1
  7. package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +0 -1
  8. package/bundle/hooks/useLeadFormData.d.ts +4 -1
  9. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  10. package/dist/components/ApplicationForm/getFormatData.js +1 -2
  11. package/dist/components/ApplicationForm/getFormatData.js.map +1 -1
  12. package/dist/components/ApplicationForm/getInitialFormState.d.ts +0 -1
  13. package/dist/components/ApplicationForm/getInitialFormState.js +0 -1
  14. package/dist/components/ApplicationForm/getInitialFormState.js.map +1 -1
  15. package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +1 -1
  16. package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +0 -1
  17. package/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -1
  18. package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  19. package/dist/hooks/useLeadFormData.d.ts +4 -1
  20. package/dist/hooks/useLeadFormData.js +4 -1
  21. package/dist/hooks/useLeadFormData.js.map +1 -1
  22. package/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  23. package/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  24. package/dist/ui-kit/FormField/Fields/FeedbackTypeField.d.ts +0 -2
  25. package/dist/ui-kit/FormField/Fields/FeedbackTypeField.js +0 -18
  26. package/dist/ui-kit/FormField/Fields/FeedbackTypeField.js.map +1 -1
  27. package/dist/ui-kit/FormField/getField.js +0 -2
  28. package/dist/ui-kit/FormField/getField.js.map +1 -1
  29. package/dist/ui-kit/FormField/getObjectValidator.js +0 -1
  30. package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  31. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  32. package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +2 -0
  33. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  34. package/lib/components/ApplicationForm/getFormatData.js +1 -2
  35. package/lib/components/ApplicationForm/getFormatData.js.map +1 -1
  36. package/lib/components/ApplicationForm/getInitialFormState.d.ts +0 -1
  37. package/lib/components/ApplicationForm/getInitialFormState.js +1 -2
  38. package/lib/components/ApplicationForm/getInitialFormState.js.map +1 -1
  39. package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +1 -1
  40. package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +0 -1
  41. package/lib/components/ApplicationLeadForm/getInitialFormState.js +1 -2
  42. package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  43. package/lib/hooks/useLeadFormData.d.ts +4 -1
  44. package/lib/hooks/useLeadFormData.js +4 -1
  45. package/lib/hooks/useLeadFormData.js.map +1 -1
  46. package/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  47. package/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  48. package/lib/ui-kit/FormField/Fields/FeedbackTypeField.d.ts +0 -2
  49. package/lib/ui-kit/FormField/Fields/FeedbackTypeField.js +0 -16
  50. package/lib/ui-kit/FormField/Fields/FeedbackTypeField.js.map +1 -1
  51. package/lib/ui-kit/FormField/getField.js +0 -2
  52. package/lib/ui-kit/FormField/getField.js.map +1 -1
  53. package/lib/ui-kit/FormField/getObjectValidator.js +0 -1
  54. package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  55. package/mobile/bundle/bundle.umd.js +7 -29
  56. package/mobile/bundle/bundle.umd.min.js +1 -1
  57. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  58. package/mobile/bundle/components/ApplicationForm/getInitialFormState.d.ts +0 -1
  59. package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +1 -1
  60. package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +0 -1
  61. package/mobile/bundle/hooks/useLeadFormData.d.ts +4 -1
  62. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  63. package/mobile/dist/components/ApplicationForm/getFormatData.js +1 -2
  64. package/mobile/dist/components/ApplicationForm/getFormatData.js.map +1 -1
  65. package/mobile/dist/components/ApplicationForm/getInitialFormState.d.ts +0 -1
  66. package/mobile/dist/components/ApplicationForm/getInitialFormState.js +0 -1
  67. package/mobile/dist/components/ApplicationForm/getInitialFormState.js.map +1 -1
  68. package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +1 -1
  69. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +0 -1
  70. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -1
  71. package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  72. package/mobile/dist/hooks/useLeadFormData.d.ts +4 -1
  73. package/mobile/dist/hooks/useLeadFormData.js +4 -1
  74. package/mobile/dist/hooks/useLeadFormData.js.map +1 -1
  75. package/mobile/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  76. package/mobile/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  77. package/mobile/dist/ui-kit/FormField/Fields/FeedbackTypeField.d.ts +0 -2
  78. package/mobile/dist/ui-kit/FormField/Fields/FeedbackTypeField.js +0 -18
  79. package/mobile/dist/ui-kit/FormField/Fields/FeedbackTypeField.js.map +1 -1
  80. package/mobile/dist/ui-kit/FormField/getField.js +0 -2
  81. package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
  82. package/mobile/dist/ui-kit/FormField/getObjectValidator.js +0 -1
  83. package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
  84. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -2
  85. package/mobile/lib/components/ApplicationForm/getFormatData.js +1 -2
  86. package/mobile/lib/components/ApplicationForm/getFormatData.js.map +1 -1
  87. package/mobile/lib/components/ApplicationForm/getInitialFormState.d.ts +0 -1
  88. package/mobile/lib/components/ApplicationForm/getInitialFormState.js +1 -2
  89. package/mobile/lib/components/ApplicationForm/getInitialFormState.js.map +1 -1
  90. package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +1 -1
  91. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +0 -1
  92. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +1 -2
  93. package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
  94. package/mobile/lib/hooks/useLeadFormData.d.ts +4 -1
  95. package/mobile/lib/hooks/useLeadFormData.js +4 -1
  96. package/mobile/lib/hooks/useLeadFormData.js.map +1 -1
  97. package/mobile/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
  98. package/mobile/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
  99. package/mobile/lib/ui-kit/FormField/Fields/FeedbackTypeField.d.ts +0 -2
  100. package/mobile/lib/ui-kit/FormField/Fields/FeedbackTypeField.js +0 -16
  101. package/mobile/lib/ui-kit/FormField/Fields/FeedbackTypeField.js.map +1 -1
  102. package/mobile/lib/ui-kit/FormField/getField.js +0 -2
  103. package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
  104. package/mobile/lib/ui-kit/FormField/getObjectValidator.js +0 -1
  105. package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
  106. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +377 -92
  107. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -1
  108. package/mobile/src/components/ApplicationForm/getFormatData.tsx +0 -2
  109. package/mobile/src/components/ApplicationForm/getInitialFormState.tsx +0 -3
  110. package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -1
  111. package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +0 -3
  112. package/mobile/src/hooks/useLeadFormData.ts +10 -3
  113. package/mobile/src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx +2 -2
  114. package/mobile/src/ui-kit/FormField/Fields/FeedbackTypeField.tsx +0 -25
  115. package/mobile/src/ui-kit/FormField/getField.tsx +0 -2
  116. package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +0 -1
  117. package/package.json +1 -1
  118. package/src/components/ApplicationForm/ApplicationForm.example.json +377 -92
  119. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +89 -50
  120. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +37 -49
  121. package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -1
  122. package/src/components/ApplicationForm/getFormatData.tsx +0 -2
  123. package/src/components/ApplicationForm/getInitialFormState.tsx +0 -3
  124. package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -1
  125. package/src/components/ApplicationLeadForm/getInitialFormState.tsx +0 -3
  126. package/src/hooks/useLeadFormData.ts +10 -3
  127. package/src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx +2 -2
  128. package/src/ui-kit/FormField/Fields/FeedbackTypeField.tsx +0 -25
  129. package/src/ui-kit/FormField/getField.tsx +0 -2
  130. package/src/ui-kit/FormField/getObjectValidator.tsx +0 -1
  131. package/bundle/ui-kit/FormField/Fields/FeedbackTypeField.d.ts +0 -2
  132. package/mobile/bundle/ui-kit/FormField/Fields/FeedbackTypeField.d.ts +0 -2
@@ -13,8 +13,16 @@
13
13
  "title": "Вид эквайринга и регион",
14
14
  "columns": 2,
15
15
  "inputs": [
16
- { "fieldType": "common", "name": "acquiringType", "required": true },
17
- { "fieldType": "common", "name": "region", "required": true }
16
+ {
17
+ "fieldType": "common",
18
+ "name": "acquiringType",
19
+ "required": true
20
+ },
21
+ {
22
+ "fieldType": "common",
23
+ "name": "region",
24
+ "required": true
25
+ }
18
26
  ]
19
27
  },
20
28
  {
@@ -27,18 +35,40 @@
27
35
  "required": true,
28
36
  "label": "Наименование организации"
29
37
  },
30
- { "fieldType": "common", "name": "inn", "required": true },
38
+ {
39
+ "fieldType": "common",
40
+ "name": "inn",
41
+ "required": true
42
+ },
31
43
  {
32
44
  "fieldType": "common",
33
45
  "name": "name",
34
46
  "required": true,
35
47
  "label": "Контактное лицо"
36
48
  },
37
- { "fieldType": "common", "name": "phone", "required": true }
49
+ {
50
+ "fieldType": "common",
51
+ "name": "phone",
52
+ "required": true
53
+ }
54
+ ]
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "fieldType": "common",
60
+ "name": "onlineCheckout"
61
+ }
38
62
  ]
39
63
  },
40
- { "inputs": [{ "fieldType": "common", "name": "onlineCheckout" }] },
41
- { "inputs": [{ "fieldType": "common", "name": "posTerminal" }] }
64
+ {
65
+ "inputs": [
66
+ {
67
+ "fieldType": "common",
68
+ "name": "posTerminal"
69
+ }
70
+ ]
71
+ }
42
72
  ],
43
73
  "button": {
44
74
  "text": "Отправить заявку",
@@ -68,10 +98,25 @@
68
98
  },
69
99
  {
70
100
  "inputs": [
71
- { "fieldType": "common", "name": "name", "required": true },
72
- { "fieldType": "common", "name": "email", "required": true },
73
- { "fieldType": "common", "name": "consentToReceiveMaterials" },
74
- { "fieldType": "common", "name": "consentDataProcessing", "required": true }
101
+ {
102
+ "fieldType": "common",
103
+ "name": "name",
104
+ "required": true
105
+ },
106
+ {
107
+ "fieldType": "common",
108
+ "name": "email",
109
+ "required": true
110
+ },
111
+ {
112
+ "fieldType": "common",
113
+ "name": "consentToReceiveMaterials"
114
+ },
115
+ {
116
+ "fieldType": "common",
117
+ "name": "consentDataProcessing",
118
+ "required": true
119
+ }
75
120
  ]
76
121
  }
77
122
  ],
@@ -167,7 +212,15 @@
167
212
  "typeForm": "BCRD",
168
213
  "endpoint": "sendcorporatelead",
169
214
  "sections": [
170
- { "inputs": [{ "fieldType": "common", "name": "region", "required": true }] },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "fieldType": "common",
219
+ "name": "region",
220
+ "required": true
221
+ }
222
+ ]
223
+ },
171
224
  {
172
225
  "columns": 2,
173
226
  "inputs": [
@@ -226,20 +279,34 @@
226
279
  "required": true,
227
280
  "label": "Наименование организации"
228
281
  },
229
- { "fieldType": "common", "name": "inn", "required": true },
282
+ {
283
+ "fieldType": "common",
284
+ "name": "inn",
285
+ "required": true
286
+ },
230
287
  {
231
288
  "fieldType": "common",
232
289
  "name": "name",
233
290
  "required": true,
234
291
  "label": "Контактное лицо"
235
292
  },
236
- { "fieldType": "common", "name": "phone", "required": true }
293
+ {
294
+ "fieldType": "common",
295
+ "name": "phone",
296
+ "required": true
297
+ }
237
298
  ]
238
299
  },
239
300
  {
240
301
  "inputs": [
241
- { "fieldType": "common", "name": "partnerComments" },
242
- { "fieldType": "common", "name": "isClient" }
302
+ {
303
+ "fieldType": "common",
304
+ "name": "partnerComments"
305
+ },
306
+ {
307
+ "fieldType": "common",
308
+ "name": "isClient"
309
+ }
243
310
  ]
244
311
  }
245
312
  ],
@@ -325,15 +392,27 @@
325
392
  {
326
393
  "columns": 2,
327
394
  "inputs": [
328
- { "fieldType": "common", "name": "region", "required": true },
395
+ {
396
+ "fieldType": "common",
397
+ "name": "region",
398
+ "required": true
399
+ },
329
400
  {
330
401
  "fieldType": "common",
331
402
  "name": "collectionCount",
332
403
  "required": true,
333
404
  "label": "Количество объектов инкассации"
334
405
  },
335
- { "fieldType": "common", "name": "phone", "required": true },
336
- { "fieldType": "common", "name": "email", "required": true }
406
+ {
407
+ "fieldType": "common",
408
+ "name": "phone",
409
+ "required": true
410
+ },
411
+ {
412
+ "fieldType": "common",
413
+ "name": "email",
414
+ "required": true
415
+ }
337
416
  ]
338
417
  }
339
418
  ],
@@ -363,8 +442,14 @@
363
442
  "title": "Параметры кредита",
364
443
  "columns": 2,
365
444
  "inputs": [
366
- { "fieldType": "common", "name": "amount" },
367
- { "fieldType": "common", "name": "term" }
445
+ {
446
+ "fieldType": "common",
447
+ "name": "amount"
448
+ },
449
+ {
450
+ "fieldType": "common",
451
+ "name": "term"
452
+ }
368
453
  ]
369
454
  },
370
455
  {
@@ -377,24 +462,48 @@
377
462
  "required": true,
378
463
  "label": "Наименование организации"
379
464
  },
380
- { "fieldType": "common", "name": "annualRevenue", "required": true },
381
- { "fieldType": "common", "name": "inn", "required": true },
465
+ {
466
+ "fieldType": "common",
467
+ "name": "annualRevenue",
468
+ "required": true
469
+ },
470
+ {
471
+ "fieldType": "common",
472
+ "name": "inn",
473
+ "required": true
474
+ },
382
475
  {
383
476
  "fieldType": "common",
384
477
  "name": "name",
385
478
  "required": true,
386
479
  "label": "Контактное лицо"
387
480
  },
388
- { "fieldType": "common", "name": "phone", "required": true },
389
- { "fieldType": "common", "name": "email", "required": true }
481
+ {
482
+ "fieldType": "common",
483
+ "name": "phone",
484
+ "required": true
485
+ },
486
+ {
487
+ "fieldType": "common",
488
+ "name": "email",
489
+ "required": true
490
+ }
390
491
  ]
391
492
  },
392
493
  {
393
494
  "title": "Офис банка",
394
495
  "columns": 2,
395
496
  "inputs": [
396
- { "fieldType": "common", "name": "region", "required": true },
397
- { "fieldType": "common", "name": "addressBranch", "required": true }
497
+ {
498
+ "fieldType": "common",
499
+ "name": "region",
500
+ "required": true
501
+ },
502
+ {
503
+ "fieldType": "common",
504
+ "name": "addressBranch",
505
+ "required": true
506
+ }
398
507
  ]
399
508
  }
400
509
  ],
@@ -519,7 +628,7 @@
519
628
  }
520
629
  ],
521
630
  [
522
- "Обратная связь",
631
+ "Вопрос по продуктам",
523
632
  {
524
633
  "content": {
525
634
  "version": "primary",
@@ -530,79 +639,166 @@
530
639
  "sections": [
531
640
  {
532
641
  "inputs": [
533
- { "fieldType": "common", "name": "feedbackType", "required": true },
534
642
  {
535
643
  "fieldType": "common",
536
- "name": "serviceDirection",
537
- "condition": {
538
- "name": "feedbackType",
539
- "values": ["FEEDBACK_QS"]
540
- }
644
+ "name": "region",
645
+ "required": true
541
646
  },
542
- { "fieldType": "common", "name": "region", "required": true },
543
647
  {
544
648
  "fieldType": "common",
545
- "name": "addressBranch",
546
- "required": true,
547
- "condition": {
548
- "name": "feedbackType",
549
- "values": ["FEEDBACK_QS"]
550
- }
649
+ "name": "surname",
650
+ "required": true
551
651
  },
552
- { "fieldType": "common", "name": "surname", "required": true },
553
- { "fieldType": "common", "name": "name", "required": true },
554
- { "fieldType": "common", "name": "middleName" },
555
652
  {
556
653
  "fieldType": "common",
557
- "name": "inn",
558
- "required": true,
559
- "condition": { "name": "serviceDirection", "values": ["Юридическое лицо / ИП"] }
654
+ "name": "name",
655
+ "required": true
560
656
  },
561
657
  {
562
658
  "fieldType": "common",
563
- "name": "fullName",
564
- "label": "Наименование организации",
565
- "condition": { "name": "serviceDirection", "values": ["Юридическое лицо / ИП"] }
659
+ "name": "middleName"
566
660
  },
567
661
  {
568
662
  "fieldType": "common",
569
663
  "name": "birthday",
570
- "required": true,
571
- "condition": {
572
- "name": "feedbackType",
573
- "values": ["FEEDBACK"]
574
- }
664
+ "required": true
575
665
  },
576
- { "fieldType": "common", "name": "feedbackMethod", "required": true },
577
- { "fieldType": "common", "name": "phone", "required": true },
578
666
  {
579
667
  "fieldType": "common",
580
- "name": "secondaryPhone",
668
+ "name": "feedbackMethod",
669
+ "required": true
670
+ },
671
+ {
672
+ "fieldType": "common",
673
+ "name": "phone",
674
+ "required": true
675
+ },
676
+ {
677
+ "fieldType": "common",
678
+ "name": "email",
679
+ "required": true
680
+ },
681
+ {
682
+ "fieldType": "common",
683
+ "name": "comment",
684
+ "required": true
685
+ },
686
+ {
687
+ "fieldType": "common",
688
+ "name": "consentDataProcessing",
689
+ "required": true
690
+ }
691
+ ]
692
+ }
693
+ ],
694
+ "button": {
695
+ "text": "Отправить заявку",
696
+ "version": "primary"
697
+ },
698
+ "link": {
699
+ "text": "Согласен на обработку персональных данных",
700
+ "href": "/privacy-policy",
701
+ "target": "_blank"
702
+ }
703
+ }
704
+ }
705
+ ],
706
+ [
707
+ "Качество обслуживания",
708
+ {
709
+ "content": {
710
+ "version": "primary",
711
+ "padding": "",
712
+ "title": "Обратная связь",
713
+ "typeForm": "FEEDBACK_QS",
714
+ "endpoint": "lead",
715
+ "sections": [
716
+ {
717
+ "inputs": [
718
+ {
719
+ "fieldType": "common",
720
+ "name": "serviceDirection"
721
+ },
722
+ {
723
+ "fieldType": "common",
724
+ "name": "region",
725
+ "required": true
726
+ },
727
+ {
728
+ "fieldType": "common",
729
+ "name": "addressBranch",
730
+ "required": true
731
+ },
732
+ {
733
+ "fieldType": "common",
734
+ "name": "surname",
735
+ "required": true
736
+ },
737
+ {
738
+ "fieldType": "common",
739
+ "name": "name",
740
+ "required": true
741
+ },
742
+ {
743
+ "fieldType": "common",
744
+ "name": "middleName"
745
+ },
746
+ {
747
+ "fieldType": "common",
748
+ "name": "inn",
581
749
  "required": true,
582
750
  "condition": {
583
- "name": "feedbackType",
584
- "values": ["FEEDBACK_QS"]
751
+ "name": "serviceDirection",
752
+ "values": ["Юридическое лицо / ИП"]
585
753
  }
586
754
  },
587
- { "fieldType": "common", "name": "email", "required": true },
588
755
  {
589
756
  "fieldType": "common",
590
- "name": "bankEmpolee",
757
+ "name": "fullName",
758
+ "label": "Наименование организации",
591
759
  "condition": {
592
- "name": "feedbackType",
593
- "values": ["FEEDBACK_QS"]
760
+ "name": "serviceDirection",
761
+ "values": ["Юридическое лицо / ИП"]
594
762
  }
595
763
  },
596
764
  {
597
765
  "fieldType": "common",
598
- "name": "applicationDate",
599
- "condition": {
600
- "name": "feedbackType",
601
- "values": ["FEEDBACK_QS"]
602
- }
766
+ "name": "feedbackMethod",
767
+ "required": true
768
+ },
769
+ {
770
+ "fieldType": "common",
771
+ "name": "phone",
772
+ "required": true
773
+ },
774
+ {
775
+ "fieldType": "common",
776
+ "name": "secondaryPhone",
777
+ "required": true
778
+ },
779
+ {
780
+ "fieldType": "common",
781
+ "name": "email",
782
+ "required": true
783
+ },
784
+ {
785
+ "fieldType": "common",
786
+ "name": "bankEmpolee"
787
+ },
788
+ {
789
+ "fieldType": "common",
790
+ "name": "applicationDate"
603
791
  },
604
- { "fieldType": "common", "name": "comment", "required": true },
605
- { "fieldType": "common", "name": "consentDataProcessing", "required": true }
792
+ {
793
+ "fieldType": "common",
794
+ "name": "comment",
795
+ "required": true
796
+ },
797
+ {
798
+ "fieldType": "common",
799
+ "name": "consentDataProcessing",
800
+ "required": true
801
+ }
606
802
  ]
607
803
  }
608
804
  ],
@@ -682,13 +878,40 @@
682
878
  {
683
879
  "columns": 2,
684
880
  "inputs": [
685
- { "fieldType": "common", "name": "surname", "required": true },
686
- { "fieldType": "common", "name": "name", "required": true },
687
- { "fieldType": "common", "name": "middleName" },
688
- { "fieldType": "common", "name": "birthday", "required": true },
689
- { "fieldType": "common", "name": "phone", "required": true },
690
- { "fieldType": "common", "name": "email", "required": true },
691
- { "fieldType": "common", "name": "consentDataProcessing", "required": true }
881
+ {
882
+ "fieldType": "common",
883
+ "name": "surname",
884
+ "required": true
885
+ },
886
+ {
887
+ "fieldType": "common",
888
+ "name": "name",
889
+ "required": true
890
+ },
891
+ {
892
+ "fieldType": "common",
893
+ "name": "middleName"
894
+ },
895
+ {
896
+ "fieldType": "common",
897
+ "name": "birthday",
898
+ "required": true
899
+ },
900
+ {
901
+ "fieldType": "common",
902
+ "name": "phone",
903
+ "required": true
904
+ },
905
+ {
906
+ "fieldType": "common",
907
+ "name": "email",
908
+ "required": true
909
+ },
910
+ {
911
+ "fieldType": "common",
912
+ "name": "consentDataProcessing",
913
+ "required": true
914
+ }
692
915
  ]
693
916
  }
694
917
  ],
@@ -718,25 +941,68 @@
718
941
  "title": "Ваши данные",
719
942
  "columns": 2,
720
943
  "inputs": [
721
- { "fieldType": "common", "name": "surname", "required": true },
722
- { "fieldType": "common", "name": "name", "required": true },
723
- { "fieldType": "common", "name": "middleName" },
724
- { "fieldType": "common", "name": "phone", "required": true },
725
- { "fieldType": "common", "name": "email" },
726
- { "fieldType": "common", "name": "serviceType", "required": true }
944
+ {
945
+ "fieldType": "common",
946
+ "name": "surname",
947
+ "required": true
948
+ },
949
+ {
950
+ "fieldType": "common",
951
+ "name": "name",
952
+ "required": true
953
+ },
954
+ {
955
+ "fieldType": "common",
956
+ "name": "middleName"
957
+ },
958
+ {
959
+ "fieldType": "common",
960
+ "name": "phone",
961
+ "required": true
962
+ },
963
+ {
964
+ "fieldType": "common",
965
+ "name": "email"
966
+ },
967
+ {
968
+ "fieldType": "common",
969
+ "name": "serviceType",
970
+ "required": true
971
+ }
727
972
  ]
728
973
  },
729
974
  {
730
975
  "title": "Офис банка",
731
976
  "columns": 2,
732
977
  "inputs": [
733
- { "fieldType": "common", "name": "region", "required": true },
734
- { "fieldType": "common", "name": "addressBranch", "required": true }
978
+ {
979
+ "fieldType": "common",
980
+ "name": "region",
981
+ "required": true
982
+ },
983
+ {
984
+ "fieldType": "common",
985
+ "name": "addressBranch",
986
+ "required": true
987
+ }
735
988
  ]
736
989
  },
737
- { "inputs": [{ "fieldType": "common", "name": "comment" }] },
738
990
  {
739
- "inputs": [{ "fieldType": "common", "name": "consentDataProcessing", "required": true }]
991
+ "inputs": [
992
+ {
993
+ "fieldType": "common",
994
+ "name": "comment"
995
+ }
996
+ ]
997
+ },
998
+ {
999
+ "inputs": [
1000
+ {
1001
+ "fieldType": "common",
1002
+ "name": "consentDataProcessing",
1003
+ "required": true
1004
+ }
1005
+ ]
740
1006
  }
741
1007
  ],
742
1008
  "button": {
@@ -763,17 +1029,27 @@
763
1029
  "sections": [
764
1030
  {
765
1031
  "inputs": [
766
- { "fieldType": "ved", "name": "vedTypes", "defaultValue": "currencyControl" }
1032
+ {
1033
+ "fieldType": "ved",
1034
+ "name": "vedTypes",
1035
+ "defaultValue": "currencyControl"
1036
+ }
767
1037
  ]
768
1038
  },
769
- { "title": "Данные организации", "inputs": [] },
1039
+ {
1040
+ "title": "Данные организации",
1041
+ "inputs": []
1042
+ },
770
1043
  {
771
1044
  "inputs": [
772
1045
  {
773
1046
  "fieldType": "common",
774
1047
  "name": "region",
775
1048
  "required": true,
776
- "condition": { "name": "vedTypes", "values": ["currencyControl"] }
1049
+ "condition": {
1050
+ "name": "vedTypes",
1051
+ "values": ["currencyControl"]
1052
+ }
777
1053
  }
778
1054
  ]
779
1055
  },
@@ -795,8 +1071,17 @@
795
1071
  "required": true,
796
1072
  "label": "Наименование организации"
797
1073
  },
798
- { "fieldType": "common", "name": "name", "required": true, "label": "ФИО" },
799
- { "fieldType": "common", "name": "phone", "required": true },
1074
+ {
1075
+ "fieldType": "common",
1076
+ "name": "name",
1077
+ "required": true,
1078
+ "label": "ФИО"
1079
+ },
1080
+ {
1081
+ "fieldType": "common",
1082
+ "name": "phone",
1083
+ "required": true
1084
+ },
800
1085
  {
801
1086
  "fieldType": "common",
802
1087
  "name": "email",
@@ -47,7 +47,6 @@ export type NameFieldDef =
47
47
  | 'posTerminal'
48
48
  | 'serviceDirection'
49
49
  | 'serviceType'
50
- | 'feedbackType'
51
50
  | 'feedbackMethod'
52
51
  | 'bankEmpolee'
53
52
  | 'applicationDate'
@@ -143,6 +142,7 @@ type TypeFormFieldDef =
143
142
  | 'ULTRASERVICE'
144
143
  | 'PREMIUMSERVICE'
145
144
  | 'FEEDBACK'
145
+ | 'FEEDBACK_QS'
146
146
  | 'OUTSERVICE';
147
147
 
148
148
  /**
@@ -14,7 +14,6 @@ export const getFormatData = (data: FormState): Record<string, any> => {
14
14
  term,
15
15
  annualRevenue,
16
16
  serviceType,
17
- feedbackType,
18
17
  vedTypes,
19
18
  region,
20
19
  ...usedData
@@ -26,7 +25,6 @@ export const getFormatData = (data: FormState): Record<string, any> => {
26
25
  ...getRegion(region),
27
26
  ...(partnerComments ? { partnerComments } : {}),
28
27
  ...(serviceType ? { typeForm: serviceType } : {}),
29
- ...(feedbackType ? { typeForm: feedbackType } : {}),
30
28
  };
31
29
 
32
30
  return Object.fromEntries(