@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
@@ -5130,20 +5130,22 @@
5130
5130
  const renderWorkSchedule = (workSchedule) => {
5131
5131
  const workScheduleWeek = getWorkScheduleWeek(workSchedule);
5132
5132
  const timeOfWork = workSchedule ? getDateDescription(workScheduleWeek) : '';
5133
+ const businessTimeOfWork = workSchedule ? workSchedule.businessScheduleDescription : '';
5133
5134
  if (!workSchedule) {
5134
5135
  return null;
5135
5136
  }
5136
5137
  if (!workSchedule.businessScheduleVisibleTag) {
5137
5138
  return renderMatchingTimeOfWork(timeOfWork);
5138
5139
  }
5139
- if (workSchedule.businessScheduleVisibleTag && !workSchedule.businessScheduleDescription) {
5140
+ if (workSchedule.businessScheduleVisibleTag &&
5141
+ workSchedule.businessScheduleDescription === null) {
5140
5142
  return renderIndividualTimeOfWork(timeOfWork);
5141
5143
  }
5142
- return renderDefaultTimeOfWork(timeOfWork);
5144
+ return renderDefaultTimeOfWork(timeOfWork, businessTimeOfWork);
5143
5145
  };
5144
5146
  const renderIndividualTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p>`;
5145
- const renderDefaultTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${timeOfWork}</p>`;
5146
5147
  const renderMatchingTimeOfWork = (timeOfWork) => `<p><b>Режим обслуживания физ. и юр. лиц:<br/></b> ${timeOfWork}</p>`;
5148
+ const renderDefaultTimeOfWork = (timeOfWork, businessTimeOfWork) => `<p><b>Режим обслуживания физ.лиц:<br/></b>${timeOfWork}</p> <p><b>Режим обслуживания юр.лиц:<br/></b>${businessTimeOfWork}</p>`;
5147
5149
 
5148
5150
  const renderOfficeCard = ({ name, address, phone, fax, phoneBusiness, phoneNatural, phoneCallCentre, phoneCurrencyControl, workSchedule, exchangeRate, }, index) => {
5149
5151
  if (!workSchedule) {
@@ -6135,7 +6137,7 @@
6135
6137
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6136
6138
  });
6137
6139
 
6138
- const packageVersion = "0.14.259";
6140
+ const packageVersion = "0.14.261";
6139
6141
 
6140
6142
  exports.Blocks = Blocks;
6141
6143
  exports.ContentPage = ContentPage;