@redneckz/wildless-cms-uni-blocks 0.14.260 → 0.14.262

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 (81) hide show
  1. package/bundle/bundle.umd.js +6 -4
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
  4. package/dist/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
  5. package/lib/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
  6. package/lib/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
  7. package/mobile/bundle/bundle.umd.js +6 -4
  8. package/mobile/bundle/bundle.umd.min.js +1 -1
  9. package/mobile/dist/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
  10. package/mobile/dist/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
  11. package/mobile/lib/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
  12. package/mobile/lib/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
  13. package/mobile/src/components/AdTile/AdTile.example.json +6 -1
  14. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
  15. package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +2 -0
  16. package/mobile/src/components/BankAccountFiltration/BankAccountFiltration.example.json +2 -0
  17. package/mobile/src/components/CardTransfer/CardTransfer.example.json +2 -0
  18. package/mobile/src/components/Carousel/Carousel.example.json +11 -7
  19. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.example.json +6 -2
  20. package/mobile/src/components/CarouselCard/CarouselCard.example.json +13 -10
  21. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +18 -14
  22. package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +57 -54
  23. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
  24. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +40 -36
  25. package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +2 -0
  26. package/mobile/src/components/Depository/Depository.example.json +6 -1
  27. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +2 -0
  28. package/mobile/src/components/GracePeriod/GracePeriod.example.json +2 -0
  29. package/mobile/src/components/Header/Header.example.json +2 -0
  30. package/mobile/src/components/Headline/Headline.example.json +2 -0
  31. package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +1 -0
  32. package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +2 -0
  33. package/mobile/src/components/LinkDocs/LinkDocs.example.json +2 -0
  34. package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
  35. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.example.json +6 -1
  36. package/mobile/src/components/OfficesAtmsMap/renderWorkSchedule.tsx +12 -5
  37. package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -0
  38. package/mobile/src/components/ProductGallery/ProductGallery.example.json +3 -2
  39. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +14 -10
  40. package/mobile/src/components/RollupItem/RollupItem.example.json +2 -0
  41. package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.example.json +6 -1
  42. package/mobile/src/components/Tabs/Tabs.example.json +2 -0
  43. package/mobile/src/components/TabsLayout/TabsLayout.example.json +2 -0
  44. package/mobile/src/components/TariffsTable/TariffsTable.example.json +2 -0
  45. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -2
  46. package/mobile/src/components/Video/Video.example.json +2 -0
  47. package/package.json +1 -1
  48. package/src/components/AdTile/AdTile.example.json +6 -1
  49. package/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
  50. package/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +2 -0
  51. package/src/components/BankAccountFiltration/BankAccountFiltration.example.json +2 -0
  52. package/src/components/CardTransfer/CardTransfer.example.json +2 -0
  53. package/src/components/Carousel/Carousel.example.json +11 -7
  54. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.example.json +6 -2
  55. package/src/components/CarouselCard/CarouselCard.example.json +13 -10
  56. package/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +18 -14
  57. package/src/components/CarouselLinks/CarouselLinks.example.json +57 -54
  58. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
  59. package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +40 -36
  60. package/src/components/ComparisonTable/ComparisonTable.example.json +2 -0
  61. package/src/components/Depository/Depository.example.json +6 -1
  62. package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +2 -0
  63. package/src/components/GracePeriod/GracePeriod.example.json +2 -0
  64. package/src/components/Header/Header.example.json +2 -0
  65. package/src/components/Headline/Headline.example.json +2 -0
  66. package/src/components/HorizontalLayout/HorizontalLayout.example.json +1 -0
  67. package/src/components/InvestmentInfo/InvestmentInfo.example.json +2 -0
  68. package/src/components/LinkDocs/LinkDocs.example.json +2 -0
  69. package/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
  70. package/src/components/OfficesAtmsMap/OfficesAtmsMap.example.json +6 -1
  71. package/src/components/OfficesAtmsMap/renderWorkSchedule.tsx +12 -5
  72. package/src/components/ProductBlock/ProductBlock.example.json +1 -0
  73. package/src/components/ProductGallery/ProductGallery.example.json +3 -2
  74. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +14 -10
  75. package/src/components/RollupItem/RollupItem.example.json +2 -0
  76. package/src/components/StickyBottomMenu/StickyBottomMenu.example.json +6 -1
  77. package/src/components/Tabs/Tabs.example.json +2 -0
  78. package/src/components/TabsLayout/TabsLayout.example.json +2 -0
  79. package/src/components/TariffsTable/TariffsTable.example.json +2 -0
  80. package/src/components/VerticalLayout/VerticalLayout.example.json +1 -2
  81. package/src/components/Video/Video.example.json +2 -0
@@ -5,19 +5,21 @@ const getWorkScheduleWeek_1 = require("./getWorkScheduleWeek");
5
5
  const renderWorkSchedule = (workSchedule) => {
6
6
  const workScheduleWeek = (0, getWorkScheduleWeek_1.getWorkScheduleWeek)(workSchedule);
7
7
  const timeOfWork = workSchedule ? (0, getScheduleDescription_1.getDateDescription)(workScheduleWeek) : '';
8
+ const businessTimeOfWork = workSchedule ? workSchedule.businessScheduleDescription : '';
8
9
  if (!workSchedule) {
9
10
  return null;
10
11
  }
11
12
  if (!workSchedule.businessScheduleVisibleTag) {
12
13
  return renderMatchingTimeOfWork(timeOfWork);
13
14
  }
14
- if (workSchedule.businessScheduleVisibleTag && !workSchedule.businessScheduleDescription) {
15
+ if (workSchedule.businessScheduleVisibleTag &&
16
+ workSchedule.businessScheduleDescription === null) {
15
17
  return renderIndividualTimeOfWork(timeOfWork);
16
18
  }
17
- return renderDefaultTimeOfWork(timeOfWork);
19
+ return renderDefaultTimeOfWork(timeOfWork, businessTimeOfWork);
18
20
  };
19
21
  exports.renderWorkSchedule = renderWorkSchedule;
20
22
  const renderIndividualTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p>`;
21
- const renderDefaultTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${timeOfWork}</p>`;
22
23
  const renderMatchingTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ. и юр. лиц:<br/></b> ${timeOfWork}</p>`;
24
+ const renderDefaultTimeOfWork = (timeOfWork, businessTimeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${businessTimeOfWork}</p>`;
23
25
  //# sourceMappingURL=renderWorkSchedule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderWorkSchedule.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/renderWorkSchedule.tsx"],"names":[],"mappings":";;AAAA,qEAA8D;AAC9D,+DAA4D;AAGrD,MAAM,kBAAkB,GAA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BAAkB,GAAG,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,2BAA2B,CAAC,CAAC,CAAC,EAAE,CAAC;IAExF,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,IAAI,CAAC;KACb;IAED,IAAI,CAAC,YAAY,CAAC,0BAA0B,EAAE;QAC5C,OAAO,wBAAwB,CAAC,UAAU,CAAC,CAAC;KAC7C;IAED,IACE,YAAY,CAAC,0BAA0B;QACvC,YAAY,CAAC,2BAA2B,KAAK,IAAI,EACjD;QACA,OAAO,0BAA0B,CAAC,UAAU,CAAC,CAAC;KAC/C;IAED,OAAO,uBAAuB,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;AACjE,CAAC,CAAC;AArBW,QAAA,kBAAkB,sBAqB7B;AAEF,MAAM,0BAA0B,GAAG,CAAC,UAAyB,EAAE,EAAE,CAC/D,6CAA6C,UAAU,MAAM,CAAC;AAEhE,MAAM,wBAAwB,GAAG,CAAC,UAAyB,EAAE,EAAE,CAC7D,qDAAqD,UAAU,MAAM,CAAC;AAExE,MAAM,uBAAuB,GAAG,CAC9B,UAAyB,EACzB,kBAAsC,EACtC,EAAE,CACF,6CAA6C,UAAU,iDAAiD,kBAAkB,MAAM,CAAC"}
@@ -3,18 +3,20 @@ import { getWorkScheduleWeek } from './getWorkScheduleWeek.js';
3
3
  export const renderWorkSchedule = (workSchedule) => {
4
4
  const workScheduleWeek = getWorkScheduleWeek(workSchedule);
5
5
  const timeOfWork = workSchedule ? getDateDescription(workScheduleWeek) : '';
6
+ const businessTimeOfWork = workSchedule ? workSchedule.businessScheduleDescription : '';
6
7
  if (!workSchedule) {
7
8
  return null;
8
9
  }
9
10
  if (!workSchedule.businessScheduleVisibleTag) {
10
11
  return renderMatchingTimeOfWork(timeOfWork);
11
12
  }
12
- if (workSchedule.businessScheduleVisibleTag && !workSchedule.businessScheduleDescription) {
13
+ if (workSchedule.businessScheduleVisibleTag &&
14
+ workSchedule.businessScheduleDescription === null) {
13
15
  return renderIndividualTimeOfWork(timeOfWork);
14
16
  }
15
- return renderDefaultTimeOfWork(timeOfWork);
17
+ return renderDefaultTimeOfWork(timeOfWork, businessTimeOfWork);
16
18
  };
17
19
  const renderIndividualTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p>`;
18
- const renderDefaultTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${timeOfWork}</p>`;
19
20
  const renderMatchingTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ. и юр. лиц:<br/></b> ${timeOfWork}</p>`;
21
+ const renderDefaultTimeOfWork = (timeOfWork, businessTimeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${businessTimeOfWork}</p>`;
20
22
  //# sourceMappingURL=renderWorkSchedule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderWorkSchedule.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/renderWorkSchedule.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,YAA2B,EAAE,EAAE;IAChE,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAC3D,MAAM,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAE5E,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,IAAI,CAAC;KACb;IAED,IAAI,CAAC,YAAY,CAAC,0BAA0B,EAAE;QAC5C,OAAO,wBAAwB,CAAC,UAAU,CAAC,CAAC;KAC7C;IAED,IAAI,YAAY,CAAC,0BAA0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,CAAC,CAAC;KAC/C;IAED,OAAO,uBAAuB,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;AACjE,CAAC,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,UAAyB,EAAE,EAAE,CAC/D,6CAA6C,UAAU,MAAM,CAAC;AAEhE,MAAM,wBAAwB,GAAG,CAAC,UAAyB,EAAE,EAAE,CAC7D,qDAAqD,UAAU,MAAM,CAAC;AAExE,MAAM,uBAAuB,GAAG,CAC9B,UAAyB,EACzB,kBAAsC,EACtC,EAAE,CACF,6CAA6C,UAAU,iDAAiD,kBAAkB,MAAM,CAAC"}
@@ -1 +1,6 @@
1
- {}
1
+ {
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": ""
5
+ }
6
+ }
@@ -7,6 +7,7 @@
7
7
  },
8
8
  "formType": "ApplicationFormFeedbackCard"
9
9
  },
10
- "version": "primary"
10
+ "version": "primary",
11
+ "padding": ""
11
12
  }
12
13
  }
@@ -3,6 +3,8 @@
3
3
  "Эквайринг ЮЛ",
4
4
  {
5
5
  "content": {
6
+ "version": "primary",
7
+ "padding": "",
6
8
  "title": "Заполните онлайн-заявку на эквайринг",
7
9
  "typeForm": "ACQR",
8
10
  "endpoint": "sendcorporatelead",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "filtrationSchema": {
4
6
  "consumer": {
5
7
  "title": "Для кого",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "title": "Укажите сумму перевода",
4
6
  "label": "Сумма перевода",
5
7
  "placeholder": "1500",
@@ -1,9 +1,13 @@
1
1
  {
2
- "isBlur": false,
3
- "arrowsPadded": true,
4
- "isCycle": false,
5
- "isPadding": true,
6
- "isGap": true,
7
- "isAlignCenter": false,
8
- "cardSize": "normal"
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": "",
5
+ "isBlur": false,
6
+ "arrowsPadded": true,
7
+ "isCycle": false,
8
+ "isPadding": true,
9
+ "isGap": true,
10
+ "isAlignCenter": false,
11
+ "cardSize": "normal"
12
+ }
9
13
  }
@@ -1,4 +1,8 @@
1
1
  {
2
- "title": "Заголовок 1",
3
- "description": "Описание 1"
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": "",
5
+ "title": "Заголовок 1",
6
+ "description": "Описание 1"
7
+ }
4
8
  }
@@ -1,13 +1,16 @@
1
1
  {
2
- "title": "Заголовок",
3
- "description": "Описание",
4
- "button": {
5
- "href": "",
6
- "text": "Подробнее",
7
- "target": "_self",
2
+ "content": {
8
3
  "version": "primary",
9
- "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
10
- "iconRight": { "format": "webp", "size": { "width": 24, "height": 24 } }
11
- },
12
- "version": "normal"
4
+ "padding": "",
5
+ "title": "Заголовок",
6
+ "description": "Описание",
7
+ "button": {
8
+ "href": "",
9
+ "text": "Подробнее",
10
+ "target": "_self",
11
+ "version": "primary",
12
+ "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
13
+ "iconRight": { "format": "webp", "size": { "width": 24, "height": 24 } }
14
+ }
15
+ }
13
16
  }
@@ -1,18 +1,22 @@
1
1
  {
2
- "title": "Заголовок карточки 1",
3
- "description": "Описание карточки",
4
- "image": {
5
- "format": "webp",
6
- "size": {
7
- "width": 230,
8
- "height": 230
9
- }
10
- },
11
- "button": {
12
- "text": "Подробнее",
13
- "target": "_self",
2
+ "content": {
14
3
  "version": "primary",
15
- "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
16
- "iconRight": { "format": "webp", "size": { "width": 24, "height": 24 } }
4
+ "padding": "",
5
+ "title": "Заголовок карточки 1",
6
+ "description": "Описание карточки",
7
+ "image": {
8
+ "format": "webp",
9
+ "size": {
10
+ "width": 230,
11
+ "height": 230
12
+ }
13
+ },
14
+ "button": {
15
+ "text": "Подробнее",
16
+ "target": "_self",
17
+ "version": "primary",
18
+ "icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
19
+ "iconRight": { "format": "webp", "size": { "width": 24, "height": 24 } }
20
+ }
17
21
  }
18
22
  }
@@ -1,56 +1,59 @@
1
1
  {
2
- "title": "Заголовок",
3
- "description": "Описание 1",
4
- "additionalDescription": "Описание 2",
5
- "links": [
6
- {
7
- "text": "Текст",
8
- "href": "#"
9
- },
10
- {
11
- "text": "Текст",
12
- "href": "#"
13
- },
14
- {
15
- "text": "Текст",
16
- "href": "#"
17
- },
18
- {
19
- "text": "Текст",
20
- "href": "#"
21
- },
22
- {
23
- "text": "Текст",
24
- "href": "#"
25
- },
26
- {
27
- "text": "Текст",
28
- "href": "#"
29
- },
30
- {
31
- "text": "Текст",
32
- "href": "#"
33
- },
34
- {
35
- "text": "Текст",
36
- "href": "#"
37
- },
38
- {
39
- "text": "Текст",
40
- "href": "#"
41
- },
42
- {
43
- "text": "Текст",
44
- "href": "#"
45
- },
46
- {
47
- "text": "Текст",
48
- "href": "#"
49
- },
50
- {
51
- "text": "Текст",
52
- "href": "#"
53
- }
54
- ],
55
- "version": "secondary"
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": "",
5
+ "title": "Заголовок",
6
+ "description": "Описание 1",
7
+ "additionalDescription": "Описание 2",
8
+ "links": [
9
+ {
10
+ "text": "Текст",
11
+ "href": "#"
12
+ },
13
+ {
14
+ "text": "Текст",
15
+ "href": "#"
16
+ },
17
+ {
18
+ "text": "Текст",
19
+ "href": "#"
20
+ },
21
+ {
22
+ "text": "Текст",
23
+ "href": "#"
24
+ },
25
+ {
26
+ "text": "Текст",
27
+ "href": "#"
28
+ },
29
+ {
30
+ "text": "Текст",
31
+ "href": "#"
32
+ },
33
+ {
34
+ "text": "Текст",
35
+ "href": "#"
36
+ },
37
+ {
38
+ "text": "Текст",
39
+ "href": "#"
40
+ },
41
+ {
42
+ "text": "Текст",
43
+ "href": "#"
44
+ },
45
+ {
46
+ "text": "Текст",
47
+ "href": "#"
48
+ },
49
+ {
50
+ "text": "Текст",
51
+ "href": "#"
52
+ },
53
+ {
54
+ "text": "Текст",
55
+ "href": "#"
56
+ }
57
+ ]
58
+ }
56
59
  }
@@ -18,6 +18,7 @@
18
18
  "rounded": false
19
19
  }
20
20
  ],
21
- "version": "primary"
21
+ "version": "primary",
22
+ "padding": ""
22
23
  }
23
24
  }
@@ -1,40 +1,44 @@
1
1
  {
2
- "title": "Заголовок карточки",
3
- "button": {
4
- "text": "Кнопка",
5
- "target": "_self",
6
- "version": "secondary"
7
- },
8
- "icon": {
9
- "icon": "",
10
- "format": "webp",
11
- "size": {
12
- "width": 267,
13
- "height": 73
14
- }
15
- },
16
- "isHighlighting": false,
17
- "cardCells": [
18
- {
19
- "title": "Ячейка 1-1",
20
- "description": "Описание 1-1"
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": "",
5
+ "title": "Заголовок карточки",
6
+ "button": {
7
+ "text": "Кнопка",
8
+ "target": "_self",
9
+ "version": "secondary"
21
10
  },
22
- {
23
- "title": "Ячейка 1-2",
24
- "description": "Описание 1-2"
11
+ "icon": {
12
+ "icon": "",
13
+ "format": "webp",
14
+ "size": {
15
+ "width": 267,
16
+ "height": 73
17
+ }
25
18
  },
26
- {
27
- "buttons": [
28
- {
29
- "icon": {
30
- "iconVersion": "color",
31
- "icon": "DocIconMonoColor"
32
- },
33
- "version": "link",
34
- "text": "Скачать файл"
35
- }
36
- ]
37
- }
38
- ],
39
- "align": "text-center"
19
+ "isHighlighting": false,
20
+ "cardCells": [
21
+ {
22
+ "title": "Ячейка 1-1",
23
+ "description": "Описание 1-1"
24
+ },
25
+ {
26
+ "title": "Ячейка 1-2",
27
+ "description": "Описание 1-2"
28
+ },
29
+ {
30
+ "buttons": [
31
+ {
32
+ "icon": {
33
+ "iconVersion": "color",
34
+ "icon": "DocIconMonoColor"
35
+ },
36
+ "version": "link",
37
+ "text": "Скачать файл"
38
+ }
39
+ ]
40
+ }
41
+ ],
42
+ "align": "text-center"
43
+ }
40
44
  }
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "title": "Сравнительная таблица",
4
6
  "orientation": "horizontal",
5
7
  "rowHeaders": [
@@ -1 +1,6 @@
1
- {}
1
+ {
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": ""
5
+ }
6
+ }
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "button": {
4
6
  "href": "https://coins.rshb.ru/exchange",
5
7
  "text": "Купить валюту",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "title": "Пример использования «Карты для покупок в рассрочку»:",
4
6
  "description": "Необязательное описание блока",
5
7
  "calendar": [
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "defaultLocation": "Москва",
4
6
  "logo": {
5
7
  "image": {},
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "title": "Заголовок",
4
6
  "description": "Описание",
5
7
  "align": "text-center",
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "content": {
3
3
  "version": "primary",
4
+ "padding": "",
4
5
  "isTheme": false,
5
6
  "gap": "XS",
6
7
  "title": "Горизонтальный компоновщик"
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "items": ["Пункт 1", "Пункт 2", "Пункт 3"],
4
6
  "isDotted": true,
5
7
  "investmentZeroColumn": {
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "title": "Список документов",
4
6
  "description": "Описание",
5
7
  "headlineVersion": "M",
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "items": ["Пункт 1", "Пункт 2", "Пункт 3"],
4
6
  "image": {
5
7
  "format": "webp",
@@ -29,7 +31,6 @@
29
31
  ],
30
32
  "title": "Мобильное приложение",
31
33
  "description": "Загрузить для IOS и Android",
32
- "version": "primary",
33
34
  "headingType": "h4",
34
35
  "additionalDescription": "Наведите камеру телефона на QR-код и скачайте приложение"
35
36
  }
@@ -1 +1,6 @@
1
- {}
1
+ {
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": ""
5
+ }
6
+ }
@@ -5,6 +5,7 @@ import { type WorkSchedule } from './OfficesAtmsMapProps';
5
5
  export const renderWorkSchedule = (workSchedule?: WorkSchedule) => {
6
6
  const workScheduleWeek = getWorkScheduleWeek(workSchedule);
7
7
  const timeOfWork = workSchedule ? getDateDescription(workScheduleWeek) : '';
8
+ const businessTimeOfWork = workSchedule ? workSchedule.businessScheduleDescription : '';
8
9
 
9
10
  if (!workSchedule) {
10
11
  return null;
@@ -14,18 +15,24 @@ export const renderWorkSchedule = (workSchedule?: WorkSchedule) => {
14
15
  return renderMatchingTimeOfWork(timeOfWork);
15
16
  }
16
17
 
17
- if (workSchedule.businessScheduleVisibleTag && !workSchedule.businessScheduleDescription) {
18
+ if (
19
+ workSchedule.businessScheduleVisibleTag &&
20
+ workSchedule.businessScheduleDescription === null
21
+ ) {
18
22
  return renderIndividualTimeOfWork(timeOfWork);
19
23
  }
20
24
 
21
- return renderDefaultTimeOfWork(timeOfWork);
25
+ return renderDefaultTimeOfWork(timeOfWork, businessTimeOfWork);
22
26
  };
23
27
 
24
28
  const renderIndividualTimeOfWork = (timeOfWork: string[] | '') =>
25
29
  `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p>`;
26
30
 
27
- const renderDefaultTimeOfWork = (timeOfWork: string[] | '') =>
28
- `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${timeOfWork}</p>`;
29
-
30
31
  const renderMatchingTimeOfWork = (timeOfWork: string[] | '') =>
31
32
  `<p><b>Режим обслуживания физ. и юр. лиц:<br/></b> ${timeOfWork}</p>`;
33
+
34
+ const renderDefaultTimeOfWork = (
35
+ timeOfWork: string[] | '',
36
+ businessTimeOfWork: string | undefined,
37
+ ) =>
38
+ `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${businessTimeOfWork}</p>`;
@@ -23,6 +23,7 @@
23
23
  }
24
24
  ],
25
25
  "version": "primary",
26
+ "padding": "",
26
27
  "benefitsVersion": "normal",
27
28
  "benefits": [
28
29
  {
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "slides": [
4
6
  {
5
7
  "nav": {
@@ -75,7 +77,6 @@
75
77
  ]
76
78
  }
77
79
  }
78
- ],
79
- "version": "primary"
80
+ ]
80
81
  }
81
82
  }
@@ -1,13 +1,17 @@
1
1
  {
2
- "title": "Заголовок",
3
- "description": "Описание",
4
- "__html": "<p>Описание</p>",
5
- "richVersion": "",
6
- "icon": { "format": "webp", "size": { "width": 70, "height": 48 } },
7
- "button": {
8
- "text": "Информация о регионе",
9
- "version": "link",
10
- "icon": { "format": "webp", "size": { "width": 16, "height": 16 } },
11
- "iconRight": { "format": "webp", "size": { "width": 16, "height": 16 } }
2
+ "content": {
3
+ "version": "primary",
4
+ "padding": "",
5
+ "title": "Заголовок",
6
+ "description": "Описание",
7
+ "__html": "<p>Описание</p>",
8
+ "richVersion": "",
9
+ "icon": { "format": "webp", "size": { "width": 70, "height": 48 } },
10
+ "button": {
11
+ "text": "Информация о регионе",
12
+ "version": "link",
13
+ "icon": { "format": "webp", "size": { "width": 16, "height": 16 } },
14
+ "iconRight": { "format": "webp", "size": { "width": 16, "height": 16 } }
15
+ }
12
16
  }
13
17
  }
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "content": {
3
+ "version": "primary",
4
+ "padding": "",
3
5
  "label": "Сворачивающаяся секция 1",
4
6
  "isExpanded": true,
5
7
  "isFoldButtonOnTop": true,