@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.
- package/bundle/bundle.umd.js +6 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
- package/dist/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
- package/lib/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
- package/lib/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +6 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
- package/mobile/dist/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderWorkSchedule.js +5 -3
- package/mobile/lib/components/OfficesAtmsMap/renderWorkSchedule.js.map +1 -1
- package/mobile/src/components/AdTile/AdTile.example.json +6 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
- package/mobile/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +2 -0
- package/mobile/src/components/BankAccountFiltration/BankAccountFiltration.example.json +2 -0
- package/mobile/src/components/CardTransfer/CardTransfer.example.json +2 -0
- package/mobile/src/components/Carousel/Carousel.example.json +11 -7
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.example.json +6 -2
- package/mobile/src/components/CarouselCard/CarouselCard.example.json +13 -10
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +18 -14
- package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +57 -54
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +40 -36
- package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +2 -0
- package/mobile/src/components/Depository/Depository.example.json +6 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +2 -0
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +2 -0
- package/mobile/src/components/Header/Header.example.json +2 -0
- package/mobile/src/components/Headline/Headline.example.json +2 -0
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +1 -0
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +2 -0
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +2 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.example.json +6 -1
- package/mobile/src/components/OfficesAtmsMap/renderWorkSchedule.tsx +12 -5
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -0
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +3 -2
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +14 -10
- package/mobile/src/components/RollupItem/RollupItem.example.json +2 -0
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.example.json +6 -1
- package/mobile/src/components/Tabs/Tabs.example.json +2 -0
- package/mobile/src/components/TabsLayout/TabsLayout.example.json +2 -0
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +2 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -2
- package/mobile/src/components/Video/Video.example.json +2 -0
- package/package.json +1 -1
- package/src/components/AdTile/AdTile.example.json +6 -1
- package/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
- package/src/components/ApplicationFormCustom/ApplicationFormCustom.example.json +2 -0
- package/src/components/BankAccountFiltration/BankAccountFiltration.example.json +2 -0
- package/src/components/CardTransfer/CardTransfer.example.json +2 -0
- package/src/components/Carousel/Carousel.example.json +11 -7
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.example.json +6 -2
- package/src/components/CarouselCard/CarouselCard.example.json +13 -10
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +18 -14
- package/src/components/CarouselLinks/CarouselLinks.example.json +57 -54
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +2 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.example.json +40 -36
- package/src/components/ComparisonTable/ComparisonTable.example.json +2 -0
- package/src/components/Depository/Depository.example.json +6 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +2 -0
- package/src/components/GracePeriod/GracePeriod.example.json +2 -0
- package/src/components/Header/Header.example.json +2 -0
- package/src/components/Headline/Headline.example.json +2 -0
- package/src/components/HorizontalLayout/HorizontalLayout.example.json +1 -0
- package/src/components/InvestmentInfo/InvestmentInfo.example.json +2 -0
- package/src/components/LinkDocs/LinkDocs.example.json +2 -0
- package/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.example.json +6 -1
- package/src/components/OfficesAtmsMap/renderWorkSchedule.tsx +12 -5
- package/src/components/ProductBlock/ProductBlock.example.json +1 -0
- package/src/components/ProductGallery/ProductGallery.example.json +3 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +14 -10
- package/src/components/RollupItem/RollupItem.example.json +2 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.example.json +6 -1
- package/src/components/Tabs/Tabs.example.json +2 -0
- package/src/components/TabsLayout/TabsLayout.example.json +2 -0
- package/src/components/TariffsTable/TariffsTable.example.json +2 -0
- package/src/components/VerticalLayout/VerticalLayout.example.json +1 -2
- package/src/components/Video/Video.example.json +2 -0
package/bundle/bundle.umd.js
CHANGED
|
@@ -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 &&
|
|
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.
|
|
6140
|
+
const packageVersion = "0.14.261";
|
|
6139
6141
|
|
|
6140
6142
|
exports.Blocks = Blocks;
|
|
6141
6143
|
exports.ContentPage = ContentPage;
|