@redneckz/wildless-cms-uni-blocks 0.3.68 → 0.3.69
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/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +24 -29
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/ArrowDownIcon.svg +1 -1
- package/cosmos-static/icons/ArrowUpIcon.svg +1 -1
- package/cosmos-static/icons/GridIcon.svg +1 -1
- package/dist/components/Footer/MediaButton.js +5 -4
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -3
- package/dist/components/Header/HeaderSecondaryMenu.js +4 -4
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +3 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.js +1 -1
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/icons/IconName.d.ts +3 -15
- package/dist/icons/IconName.js +1 -13
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/IconVersion.d.ts +3 -2
- package/dist/model/Picture.d.ts +0 -1
- package/dist/ui-kit/Button/ArrowButton.js +1 -1
- package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Icon/Icon.js +7 -3
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +1 -0
- package/dist/ui-kit/Img/Img.js +1 -1
- package/dist/ui-kit/Img/Img.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Footer/MediaButton.js +5 -4
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -3
- package/lib/components/Header/HeaderSecondaryMenu.js +4 -4
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +3 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.js +1 -1
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/icons/IconName.d.ts +3 -15
- package/lib/icons/IconName.js +1 -13
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/IconVersion.d.ts +3 -2
- package/lib/model/Picture.d.ts +0 -1
- package/lib/ui-kit/Button/ArrowButton.js +1 -1
- package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -0
- package/lib/ui-kit/Icon/Icon.js +7 -3
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +1 -0
- package/lib/ui-kit/Img/Img.js +1 -1
- package/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +14 -21
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +5 -4
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -3
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +4 -4
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +3 -15
- package/mobile/dist/icons/IconName.js +1 -13
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/IconVersion.d.ts +3 -2
- package/mobile/dist/model/Picture.d.ts +0 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.js +1 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +7 -3
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +1 -0
- package/mobile/lib/components/Footer/MediaButton.js +5 -4
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -3
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +4 -4
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +3 -15
- package/mobile/lib/icons/IconName.js +1 -13
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/IconVersion.d.ts +3 -2
- package/mobile/lib/model/Picture.d.ts +0 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.js +1 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +7 -3
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +1 -0
- package/mobile/src/components/Footer/MediaButton.tsx +17 -5
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +2 -3
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +14 -6
- package/mobile/src/components/Header/HeaderTop.tsx +1 -1
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +4 -1
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
- package/mobile/src/icons/ArrowDownIcon.svg +2 -2
- package/mobile/src/icons/ArrowUpIcon.svg +2 -2
- package/mobile/src/icons/GridIcon.svg +2 -3
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/model/IconVersion.ts +3 -2
- package/mobile/src/model/Picture.ts +0 -1
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +1 -1
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/mobile/src/ui-kit/Icon/Icon.tsx +14 -3
- package/mobile/src/ui-kit/Icon/IconProps.ts +1 -0
- package/package.json +1 -1
- package/src/components/Footer/MediaButton.tsx +17 -5
- package/src/components/GracePeriod/GracePeriodContent.ts +2 -3
- package/src/components/Header/HeaderSecondaryMenu.tsx +14 -6
- package/src/components/Header/HeaderTop.tsx +1 -1
- package/src/components/ProductBlock/renderBackwardButton.tsx +4 -1
- package/src/components/Recommendation/RecommendationCard.tsx +1 -1
- package/src/icons/ArrowDownIcon.svg +2 -2
- package/src/icons/ArrowUpIcon.svg +2 -2
- package/src/icons/GridIcon.svg +2 -3
- package/src/icons/IconName.ts +237 -5
- package/src/model/IconVersion.ts +3 -2
- package/src/model/Picture.ts +0 -1
- package/src/ui-kit/Button/ArrowButton.tsx +1 -1
- package/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/src/ui-kit/Icon/Icon.fixture.tsx +24 -0
- package/src/ui-kit/Icon/Icon.tsx +14 -3
- package/src/ui-kit/Icon/IconProps.ts +1 -0
- package/src/ui-kit/Img/Img.tsx +2 -1
- package/cosmos-static/icons/ArrowsRewindRight.svg +0 -1
- package/cosmos-static/icons/BurgerIconWhite.svg +0 -1
- package/cosmos-static/icons/CalendarWhiteIcon.svg +0 -1
- package/cosmos-static/icons/EmptyWalletWhiteIcon.svg +0 -1
- package/cosmos-static/icons/GridIconWhite.svg +0 -1
- package/cosmos-static/icons/PercentageSquareWhiteIcon.svg +0 -1
- package/mobile/src/icons/ArrowsRewindRight.svg +0 -16
- package/mobile/src/icons/BurgerIconWhite.svg +0 -6
- package/mobile/src/icons/CalendarWhiteIcon.svg +0 -17
- package/mobile/src/icons/EmptyWalletWhiteIcon.svg +0 -16
- package/mobile/src/icons/GridIconWhite.svg +0 -4
- package/mobile/src/icons/PercentageSquareWhiteIcon.svg +0 -16
- package/src/icons/ArrowsRewindRight.svg +0 -16
- package/src/icons/BurgerIconWhite.svg +0 -6
- package/src/icons/CalendarWhiteIcon.svg +0 -17
- package/src/icons/EmptyWalletWhiteIcon.svg +0 -16
- package/src/icons/GridIconWhite.svg +0 -4
- package/src/icons/PercentageSquareWhiteIcon.svg +0 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"GalleryItem":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок (моб.)"},"text":{"type":"string","title":"Текст"}},"title":"Элемент списка"},"GalleryCard":{"type":"object","properties":{"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture","default":{"format":"webp","size":{"width":140,"height":140}}},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"$ref":"#/definitions/GalleryItem"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Карточка"},"Picture":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"sources":{"type":"array","items":{"$ref":"#/definitions/ImgSource"},"title":"Другие форматы"},"className":{"type":"string"},"title":{"type":"string","title":"Текст подсказки (title)"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"}},"title":"Изображение"},"Img":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"title":{"type":"string","title":"Текст подсказки (title)"}}},"ImgSource":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"}}},"IconName":{"type":"string","enum":["","ActualBalanceIcon","AirPlane","AppleIcon","ArrowDownIcon","ArrowLeftIcon","ArrowsRewindRight","ArrowUpIcon","AtmIcon","BankIcon","BurgerIcon","BurgerIconWhite","Calendar2Icon","CalendarCircleIcon","CalendarIcon","CalendarTickIcon","CalendarWhiteIcon","CardIcon","CardPosIcon","CardTickIcon","CardWithGemIcon","CarIcon","ChartSquareIcon","CinemaIcon","ClockIcon","CloseIcon","ComfortableCompIcon","CreditCardsIcon","DiscountShapeIcon","DocIcon","DocIconMonoColor","DocsIcon","DocumentTextIcon","DollarIcon","EarthIcon","EmptyWalletChangeIcon","EmptyWalletIcon","EmptyWalletWhiteIcon","EuroIcon","GeolocationIcon","GlassIcon","GlobalIcon","GpsIcon","GridIcon","GridIconWhite","InterestGrowthIcon","InterestIcon","JCBIcon","LoupeIcon","MasterCardIcon","MinusIcon","MirIcon","MoneyIcon","MoneyInsuranceIcon","MonitorMobileIcon","NewDocIcon","OfficeIcon","OkIcon","PassSendIcon","PercentageRoundIcon","PercentageSquareIcon","PercentageSquareWhiteIcon","PersonalCardIcon","PlayMarketIcon","PlusIcon","PowerIcon","Profile2UserIcon","ProfileIcon","PumpkinIcon","RoundRubleIcon","SafeIcon","ShieldTickIcon","SignDocsIcon","SmallClockIcon","SoundIcon","TelegramIcon","UnionPayIcon","UserTickIcon","VisaIcon","VKIcon","WalletAdd2Icon","WalletAddIcon","WalletIcon","WalletWithMoneyIcon","WateringCan"],"title":"Иконка","enumNames":["","Деньги","Самолет","Лого «Apple»","Стрелка 'Вниз'","Стрелка","Стрелка","Стрелка вверх","Банкомат","Банк","Бургер","Бургер (белый)","Календарь 2","Скруглённый календарь","Календарь","Календарь с галочкой","Календарь белый","Кред. карта","Кред. карта под наклоном","Кред. карта с галочкой","Карта с драгоценностями","Машина","Деньги внутри кошелька","Кино","Часы","Крестик","Кресло","Кредитные карты","Скидка","Документ","Документ (одноцветный)","Документы","Документ с текстом","Доллар","Земля","Пустой кошелёк с возвратом","Пустой кошелёк","Пустой кошелёк (белый)","Евро","Геолокация","Зеркало","Глобус","Gps","Сетка","Сетка (белая)","Диаграмма роста","Скидка","JCB","Лупа","MasterCard","Минус","МИР","Деньги","Денежное страхование","Монитор и мобильный","Новый документ","Офис","Лого «Одноклассники»","Бизнес","Проценты (круг.)","Проценты","Проценты белые","Персональная карта","Лого «PlayMarket»","Плюс","Щит","Профиль, 2 персоны","Профиль","Тыква","Рубль (круг.)","Сейф","Безопасность","Подписанные документы","Маленькие часы","Звук","Лого «Telegram»","UnionPay","Пользователь","Visa","Лого «VK»","Пополнение карты","Кошелёк с плюсом","Кошелёк","Кошелёк с деньгами","Добавить продукт"]},"ButtonWithIconProps":{"type":"object","properties":{"rounded":{"type":"boolean","title":"Закругленные углы"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"version":{"$ref":"#/definitions/ButtonVersion"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Кнопка"},"LinkProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"Target":{"type":"string","enum":["","_self","_blank","_parent","_top"],"title":"Таргет (target)","enumNames":["","self (текущее окно или фрейм)","blank (новое окно)","parent (фрейм-родитель)","top (текущее окно)"]},"ButtonVersion":{"type":"string","enum":["primary","secondary","link"],"title":"Цвет кнопки","default":"primary","enumNames":["Основная","Второстепенная","Ссылка"]},"BlockVersion":{"type":"string","enum":["primary","secondary"],"title":"Цвет блока","enumNames":["Основная","Второстепенная"]},"GalleryContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"title":"Галерея"},"ListOrientation":{"type":"string","enum":["vertical","horizontal"],"title":"Направление списка","enumNames":["Вертикально","Горизонтально"]},"DescriptionContent":{"type":"object","properties":{"description":{"type":"string","title":"Описание"}}},"HeadingType":{"type":"string","enum":["h1","h2","h3","h4","h5","h6"],"title":"Тип заголовка","enumNames":["h1","h2","h3","h4","h5","h6"]},"HeadingTypeContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"}}},"HeadingContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}}},"HeadlineContent":{"type":"object","properties":{"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"title":"Заголовок"},"ImageContent":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture"}}},"AlignType":{"type":"string","enum":["left","center","right"],"title":"Выравнивание","enumNames":["По левому краю","По центру","По правому краю"]},"BlockVersionWithTransparent":{"type":"string","enum":["transparent","primary","secondary"],"title":"Цвет блока","enumNames":["Прозрачная","Основная","Второстепенная"]},"LinkColumnsMode":{"type":"string","enum":["single","double"],"title":"Отображение списка","enumNames":["Одна колонка","Две колонки"]},"LinkDocsItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"fileSize":{"type":"string","title":"размер файла"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Элемент списка"},"LinkDocsContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"title":"Список документов"},"LinkListContent":{"type":"object","properties":{"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"title":"Список документов"},"MiniGalleryContent":{"$ref":"#/definitions/GalleryContent","title":"Мини-галерея","minItems":4},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"Benefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}},"title":"Блок преимущества"},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextContent":{"type":"object","properties":{"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Картинка с текстом"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"BenefitItemProps":{"type":"object","properties":{"benefit":{"$ref":"#/definitions/Benefit"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["benefit"]},"IconVersion":{"type":"string","enum":["normal","white"],"title":"Цвет иконки","enumNames":["Нормальный","Белый"]},"ProductBlockInnerContent":{"type":"object","properties":{"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}}},"ButtonContent":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}}},"ProductBlockContent":{"type":"object","properties":{"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"backwardButton":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка возврата"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовый блок"},"ProductTileContent":{"type":"object","properties":{"additionalDescription":{"type":"string","title":"Дополнительное описание"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая плитка"},"TextBlockVersion":{"type":"string","enum":["primary","secondary","secondary-light"],"title":"Цвет блока","enumNames":["Основная","Второстепенная","Второстепенная прозрачная"]},"TextBlockIconVersion":{"type":"string","enum":["none","small","big"],"title":"Размер иконки","enumNames":["Нет","Маленькая","Большая"]},"TextBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"isDotted":{"type":"boolean","title":"Буллиты"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"title":"Текстовый блок"},"TileContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Плитка"},"AccordionItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isExpanded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false},"labelIcon":{"$ref":"#/definitions/Picture"}},"title":"Элемент списка"},"BlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/HeadlineBlockListDef"},{"$ref":"#/definitions/LinkDocsBlockListDef"},{"$ref":"#/definitions/TextBlockBlockListDef"},{"$ref":"#/definitions/PictureTextBlockListDef"},{"$ref":"#/definitions/ProductBlockBlockListDef"},{"$ref":"#/definitions/TileBlockListDef"},{"$ref":"#/definitions/ProductTileBlockListDef"},{"$ref":"#/definitions/GalleryBlockListDef"},{"$ref":"#/definitions/MiniGalleryBlockListDef"},{"$ref":"#/definitions/LinkListBlockListDef"}],"title":"Содержимое блока"},"EmptyOption":{"type":"null","title":"Выберите блок"},"HeadlineBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Headline"},"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"required":["blockListType"],"title":"Заголовок","default":{"blockListType":"Headline"}},"LinkDocsBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkDocs"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["blockListType"],"title":"Список документов","default":{"blockListType":"LinkDocs"}},"TextBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"TextBlock"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"isDotted":{"type":"boolean","title":"Буллиты"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"required":["blockListType"],"title":"Текстовый блок","default":{"blockListType":"TextBlock"}},"PictureTextBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"PictureText"},"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Картинка с текстом","default":{"blockListType":"PictureText"}},"ProductBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductBlock"},"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"backwardButton":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка возврата"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовый блок","default":{"blockListType":"ProductBlock"}},"TileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Tile"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Плитка","default":{"blockListType":"Tile"}},"ProductTileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductTile"},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовая плитка","default":{"blockListType":"ProductTile"}},"GalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Gallery"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Галерея","default":{"blockListType":"Gallery"}},"MiniGalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"MiniGallery"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Мини-галлерея","default":{"blockListType":"MiniGallery"}},"LinkListBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkList"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"required":["blockListType"],"title":"Список ссылок","default":{"blockListType":"LinkList"}},"AccordionContent":{"type":"object","properties":{"accordionAlignTitle":{"$ref":"#/definitions/AlignType","title":"Выравнивание заголовка"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"accordionItems":{"type":"array","items":{"$ref":"#/definitions/AccordionItemCommonProps"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Аккордеон"},"BonusContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"bonusItems":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"Бонусы"},"description":{"type":"string","title":"Описание плитки"},"bonusCount":{"type":"number","title":"Количество баллов"},"bonusName":{"type":"string","title":"Наименование"}},"title":"Плитка"},"title":"Список плиток"}},"title":"Блок Бонусы"},"CellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"title":"Ячейка"},"ColumnHeader":{"type":"object","properties":{"link":{"$ref":"#/definitions/LinkProps"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"image":{"$ref":"#/definitions/Picture"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Шапка колонки"},"Column":{"type":"object","properties":{"header":{"$ref":"#/definitions/ColumnHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/CellData"}},"title":"Данные"}},"title":"Продукт"},"RowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}},"title":"Параметр"},"TableColumnData":{"type":"object","properties":{"rowHeader":{"type":"string"},"cell":{"type":"array","items":{"$ref":"#/definitions/CellData"}}},"required":["cell"],"title":"Ячейка"},"TableColumnHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Параметр"},"ComparisonTableContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"columns":{"type":"array","items":{"$ref":"#/definitions/Column"},"title":"Продукты"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/RowHeader"},"title":"Параметры"},"isColoredFirstColumn":{"type":"boolean","title":"Закрасить первую колонку"},"visibleRowLength":{"type":"number","title":"Отображать заданное количество строк"}},"title":"Сравнительная таблица"},"ExchangeRateTileContent":{"$ref":"#/definitions/HeadingContent","title":"Курсы валют"},"ExchangeCurrencyItem":{"type":"object","properties":{"buyExchangeRate":{"type":"number"},"saleExchangeRate":{"type":"number"},"currency":{"type":"object","properties":{"id":{"type":"number"},"code":{"type":"string"},"currency":{"type":"string"},"name":{"type":"string"}}}}},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"description":{"type":"string","title":"Описание"},"text":{"type":"string","title":"Текст"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"icon":{"$ref":"#/definitions/Picture"},"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Пункт подменю"},"FooterContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"relatedEnterprises":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Другие предприятия"},"contacts":{"type":"array","items":{"$ref":"#/definitions/ContactInfo"},"title":"Контакты"},"mobileApps":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Мобильные приложения"},"horizontalNavigationTitle":{"type":"string","title":"Заголовок для меню"},"subMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Социальные сети"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Обязательные документы"}},"title":"Подвал","required":["topItems"]},"SitemapProps":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"}}},"TopMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"DispositionItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка дополнительного меню","required":["text","href"]},"GracePeriodContent":{"type":"object","properties":{"calendar":{"type":"array","items":{"type":"object","properties":{"month":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"Название месяца"},"image":{"$ref":"#/definitions/Picture","title":"Изображение календарного месяца","default":{"format":"webp","size":{"width":210,"height":190}}}}},"title":"Месяц"},"blackText":{"type":"string","title":"Основной текст"},"greenText":{"type":"string","title":"Вспомогательный текст"}}},"title":"Календарь"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"title":"Льготный период"},"GroupBlockTab":{"type":"object","properties":{"tag":{"type":"string","title":"Tег"},"title":{"type":"string","title":"Название"}},"title":"Таб"},"GroupBlockContent":{"type":"object","properties":{"groupBlocks":{"type":"array","items":{"$ref":"#/definitions/GroupBlockDef"},"title":"Блоки"},"tabs":{"type":"array","items":{"$ref":"#/definitions/GroupBlockTab"},"title":"Табы"},"isShowCounter":{"type":"boolean","title":"Показывать счетчик блоков во вкладках"}},"title":"Блок-группировки"},"GroupBlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/ProductBlockDef"},{"$ref":"#/definitions/ProductTileDef"}],"title":"Содержимое блока"},"ProductBlockDef":{"type":"object","properties":{"blockType":{"type":"string","const":"ProductBlock"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль"},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"},"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"backwardButton":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка возврата"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockType"],"title":"Продуктовый блок","default":{"blockType":"ProductBlock"}},"GroupBlockCommonProps":{"type":"object","properties":{"style":{"type":"array","items":{"type":"string"},"title":"Стиль"},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"}}},"ProductTileDef":{"type":"object","properties":{"blockType":{"type":"string","const":"ProductTile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль"},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockType"],"title":"Продуктовая плитка","default":{"blockType":"ProductTile"}},"HeaderContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"logo":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture","title":"Иконка логотипа"},"title":{"type":"string","title":"Текст логотипа"}},"title":"Логотип"},"defaultLocation":{"type":"string","title":"Город по-умолчанию","default":"Москва"}},"title":"Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)","required":["defaultLocation","topItems"]},"QRCode":{"type":"object","properties":{"src":{"type":"string","title":"QR код"},"href":{"type":"string","title":"Ссылка"}},"title":"QR код"},"MobileAppTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"href":{"type":"string","title":"Ссылка"}},"title":"Мобильное приложение"},"NavigationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonProps"},"title":"Список ссылок"}},"title":"Навигация"},"NavigatorTabsContent":{"type":"object","properties":{"navigatorTabs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список табов","minItems":3}},"title":"Блок табов"},"ProductSlide":{"type":"object","properties":{"nav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"required":["title","description"],"title":"Превью содержимого слайда на навигации"},"productBlock":{"$ref":"#/definitions/ProductBlockInnerContent","title":"Содержимое слайда"}},"required":["productBlock"],"title":"Слайд"},"ProductGalleryContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды","minItems":2},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая галерея"},"PromoTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"date":{"type":"string","title":"Дата публикации"},"description":{"type":"string","title":"Описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Акции"},"Step":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"button":{"$ref":"#/definitions/ButtonProps"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии","default":true},"button":{"$ref":"#/definitions/ButtonProps"},"size":{"$ref":"#/definitions/SizeVersion","title":"Размер шагов (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Блок шаги"},"SizeVersion":{"type":"string","enum":["normal","small"],"title":"Размер","enumNames":["Обычный","Уменьшенный"]},"TariffsTableRowData":{"type":"object","properties":{"header":{"$ref":"#/definitions/TariffsTableRowHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}}}},"required":["header","data"],"title":"Ряд"},"TariffsTableRowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Параметр"},"TariffsTableCellData":{"type":"object","properties":{"list":{"$ref":"#/definitions/TariffsTableList"},"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}},"title":"Ячейка"},"TariffsTableList":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры"},"items":{"type":"array","items":{"type":"string"},"title":"Список"}},"title":"Список"},"TariffsTableColumn":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}},"title":"Данные"}},"title":"Колонка"},"TariffsTableContent":{"type":"object","properties":{"hiddenRowsNum":{"type":"number","title":"Скрывать строк"},"title":{"type":"string","title":"Заголовок"},"columns":{"type":"array","items":{"$ref":"#/definitions/TariffsTableColumn"},"title":"Колонки"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/TariffsTableRowHeader"},"title":"Параметры"}},"title":"Таблица тарифов"},"BonusBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"icon":{"$ref":"#/definitions/Picture","title":"Бонус и преимущество"}}},"BonusBenefitsBlockContent":{"type":"object","properties":{"bonusBenefits":{"type":"array","items":{"$ref":"#/definitions/BonusBenefit"},"title":"Список бонусов","maxItems":8},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"}},"title":"Блок бонусов и преимуществ"},"CommonCalculatorProps":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}}},"CreditCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"MortgageCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"DepositCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"BonusCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"CreditCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"CreditCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Кредитный калькулятор","default":{"calcType":"CreditCalculatorForm"}},"MortgageCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"MortgageCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Ипотечный калькулятор","default":{"calcType":"MortgageCalculatorForm"}},"DepositCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"DepositCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Калькулятор вкладов","default":{"calcType":"DepositCalculatorForm"}},"BonusCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"BonusCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Калькулятор бонусов","default":{"calcType":"BonusCalculatorForm"}},"CalculatorBlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/CreditCalculatorParamsDef"},{"$ref":"#/definitions/MortgageCalculatorParamsDef"},{"$ref":"#/definitions/DepositCalculatorParamsDef"},{"$ref":"#/definitions/BonusCalculatorParamsDef"}],"title":"Настройки калькулятора"},"CalculatorNav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Кнопка навигации"},"CalculatorTab":{"type":"object","properties":{"nav":{"$ref":"#/definitions/CalculatorNav"},"calculatorBlock":{"$ref":"#/definitions/CalculatorBlockDef"}},"title":"Вкладка"},"CalculatorContent":{"type":"object","properties":{"calcTabs":{"type":"array","items":{"$ref":"#/definitions/CalculatorTab"},"title":"Вкладки"}},"title":"Калькулятор"},"CreditCalculatorData":{"type":"object"},"CreditCalculatorTab":{"type":"object","properties":{"directoryName":{"type":"string","title":"Справочник"},"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Вкладка"},"Tab":{"type":"object","properties":{"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Вкладка"},"CreditCalculatorContent":{"type":"object","properties":{"tabs":{"type":"array","items":{"$ref":"#/definitions/CreditCalculatorTab"},"title":"Вкладки"}},"title":"Кредитный калькулятор"},"InsuranceContent":{"type":"object","properties":{"monthLimit":{"type":"number","title":"Ежемесячный лимит"},"insuranceSum":{"type":"number","title":"Страховая сумма"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}}},"BlockItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isUnfolded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки","maxItems":10},"columns":{"$ref":"#/definitions/ColumnsCount"}},"title":"Элемент списка"},"ColumnsCount":{"type":"number","enum":[1,2],"title":"Количество колонок","enumNames":["1 колонка","2 колонки"]},"OtherProductsContent":{"type":"object","properties":{"blockItems":{"type":"array","items":{"$ref":"#/definitions/BlockItemCommonProps"},"title":"Список"},"colorPalette":{"$ref":"#/definitions/ColorPalette"},"title":{"type":"string","title":"Заголовок"}},"title":"Другие продукты"},"ColorPalette":{"type":"string","enum":["","pc","bc","eo"],"title":"Цветовая палитра","enumNames":["","Частным клиентам","Бизнес клиентам","Экосистема Своё"]},"RecommendationCardTypes":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Соц сети","minItems":3}}},"RecommendationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"recommendations":{"type":"array","items":{"$ref":"#/definitions/RecommendationCardTypes"},"title":"Карточки"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Рекомендации"}}}
|
|
1
|
+
{"$schema":"http://json-schema.org/draft-07/schema#","definitions":{"GalleryItem":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок (моб.)"},"text":{"type":"string","title":"Текст"}},"title":"Элемент списка"},"GalleryCard":{"type":"object","properties":{"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture","default":{"format":"webp","size":{"width":140,"height":140}}},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"$ref":"#/definitions/GalleryItem"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Карточка"},"Picture":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"sources":{"type":"array","items":{"$ref":"#/definitions/ImgSource"},"title":"Другие форматы"},"className":{"type":"string"},"title":{"type":"string","title":"Текст подсказки (title)"},"iconVersion":{"$ref":"#/definitions/IconVersion"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"}},"title":"Изображение"},"Img":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"alt":{"type":"string","title":"Альтернативный текст (alt)"},"title":{"type":"string","title":"Текст подсказки (title)"}}},"ImgSource":{"type":"object","properties":{"src":{"type":"string","title":"Картинка"},"format":{"type":"string","enum":["jpeg","jpg","png","gif","webp","heif","avif"],"title":"Формат"},"size":{"type":"object","properties":{"width":{"type":"number","title":"Ширина"},"height":{"type":"number","title":"Высота"}},"title":"Размер изображения"},"iconVersion":{"$ref":"#/definitions/IconVersion"},"icon":{"$ref":"#/definitions/IconName","title":"Иконка"}}},"IconName":{"type":"string","enum":["","ActualBalanceIcon","AirPlane","AppleIcon","ArrowDownIcon","ArrowLeftIcon","ArrowUpIcon","AtmIcon","BankIcon","BurgerIcon","Calendar2Icon","CalendarCircleIcon","CalendarIcon","CalendarTickIcon","CardIcon","CardPosIcon","CardTickIcon","CardWithGemIcon","CarIcon","ChartSquareIcon","CinemaIcon","ClockIcon","CloseIcon","ComfortableCompIcon","CreditCardsIcon","DiscountShapeIcon","DocIcon","DocIconMonoColor","DocsIcon","DocumentTextIcon","DollarIcon","EarthIcon","EmptyWalletChangeIcon","EmptyWalletIcon","EuroIcon","GeolocationIcon","GlassIcon","GlobalIcon","GpsIcon","GridIcon","InterestGrowthIcon","InterestIcon","JCBIcon","LoupeIcon","MasterCardIcon","MinusIcon","MirIcon","MoneyIcon","MoneyInsuranceIcon","MonitorMobileIcon","NewDocIcon","OfficeIcon","OkIcon","PassSendIcon","PercentageRoundIcon","PercentageSquareIcon","PersonalCardIcon","PlayMarketIcon","PlusIcon","PowerIcon","Profile2UserIcon","ProfileIcon","PumpkinIcon","RoundRubleIcon","SafeIcon","ShieldTickIcon","SignDocsIcon","SmallClockIcon","SoundIcon","TelegramIcon","UnionPayIcon","UserTickIcon","VisaIcon","VKIcon","WalletAdd2Icon","WalletAddIcon","WalletIcon","WalletWithMoneyIcon","WateringCan"],"title":"Иконка","enumNames":["","Деньги","Самолет","Лого «Apple»","Стрелка 'Вниз'","Стрелка","Стрелка вверх","Банкомат","Банк","Бургер","Календарь 2","Скруглённый календарь","Календарь","Календарь с галочкой","Кред. карта","Кред. карта под наклоном","Кред. карта с галочкой","Карта с драгоценностями","Машина","Деньги внутри кошелька","Кино","Часы","Крестик","Кресло","Кредитные карты","Скидка","Документ","Документ (одноцветный)","Документы","Документ с текстом","Доллар","Земля","Пустой кошелёк с возвратом","Пустой кошелёк","Евро","Геолокация","Зеркало","Глобус","Gps","Сетка (белая)","Диаграмма роста","Скидка","JCB","Лупа","MasterCard","Минус","МИР","Деньги","Денежное страхование","Монитор и мобильный","Новый документ","Офис","Лого «Одноклассники»","Бизнес","Проценты (круг.)","Проценты","Персональная карта","Лого «PlayMarket»","Плюс","Щит","Профиль, 2 персоны","Профиль","Тыква","Рубль (круг.)","Сейф","Безопасность","Подписанные документы","Маленькие часы","Звук","Лого «Telegram»","UnionPay","Пользователь","Visa","Лого «VK»","Пополнение карты","Кошелёк с плюсом","Кошелёк","Кошелёк с деньгами","Добавить продукт"]},"IconVersion":{"type":"string","enum":["normal","white","black"],"title":"Цвет иконки","enumNames":["Нормальный","Белый","Чёрный"]},"ButtonWithIconProps":{"type":"object","properties":{"rounded":{"type":"boolean","title":"Закругленные углы"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"version":{"$ref":"#/definitions/ButtonVersion"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Кнопка"},"LinkProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"Target":{"type":"string","enum":["","_self","_blank","_parent","_top"],"title":"Таргет (target)","enumNames":["","self (текущее окно или фрейм)","blank (новое окно)","parent (фрейм-родитель)","top (текущее окно)"]},"ButtonVersion":{"type":"string","enum":["primary","secondary","link"],"title":"Цвет кнопки","default":"primary","enumNames":["Основная","Второстепенная","Ссылка"]},"BlockVersion":{"type":"string","enum":["primary","secondary"],"title":"Цвет блока","enumNames":["Основная","Второстепенная"]},"GalleryContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"title":"Галерея"},"ListOrientation":{"type":"string","enum":["vertical","horizontal"],"title":"Направление списка","enumNames":["Вертикально","Горизонтально"]},"DescriptionContent":{"type":"object","properties":{"description":{"type":"string","title":"Описание"}}},"HeadingType":{"type":"string","enum":["h1","h2","h3","h4","h5","h6"],"title":"Тип заголовка","enumNames":["h1","h2","h3","h4","h5","h6"]},"HeadingTypeContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"}}},"HeadingContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}}},"HeadlineContent":{"type":"object","properties":{"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"title":"Заголовок"},"ImageContent":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture"}}},"AlignType":{"type":"string","enum":["left","center","right"],"title":"Выравнивание","enumNames":["По левому краю","По центру","По правому краю"]},"BlockVersionWithTransparent":{"type":"string","enum":["transparent","primary","secondary"],"title":"Цвет блока","enumNames":["Прозрачная","Основная","Второстепенная"]},"LinkColumnsMode":{"type":"string","enum":["single","double"],"title":"Отображение списка","enumNames":["Одна колонка","Две колонки"]},"LinkDocsItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"fileSize":{"type":"string","title":"размер файла"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Элемент списка"},"LinkDocsContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"title":"Список документов"},"LinkListContent":{"type":"object","properties":{"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"title":"Список документов"},"MiniGalleryContent":{"$ref":"#/definitions/GalleryContent","title":"Мини-галерея","minItems":4},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"Benefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}},"title":"Блок преимущества"},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextContent":{"type":"object","properties":{"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Картинка с текстом"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"BenefitItemProps":{"type":"object","properties":{"benefit":{"$ref":"#/definitions/Benefit"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["benefit"]},"ProductBlockInnerContent":{"type":"object","properties":{"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}}},"ButtonContent":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}}},"ProductBlockContent":{"type":"object","properties":{"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"backwardButton":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка возврата"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовый блок"},"ProductTileContent":{"type":"object","properties":{"additionalDescription":{"type":"string","title":"Дополнительное описание"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая плитка"},"TextBlockVersion":{"type":"string","enum":["primary","secondary","secondary-light"],"title":"Цвет блока","enumNames":["Основная","Второстепенная","Второстепенная прозрачная"]},"TextBlockIconVersion":{"type":"string","enum":["none","small","big"],"title":"Размер иконки","enumNames":["Нет","Маленькая","Большая"]},"TextBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"isDotted":{"type":"boolean","title":"Буллиты"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"title":"Текстовый блок"},"TileContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Плитка"},"AccordionItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isExpanded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку элемента","default":false},"labelIcon":{"$ref":"#/definitions/Picture"}},"title":"Элемент списка"},"BlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/HeadlineBlockListDef"},{"$ref":"#/definitions/LinkDocsBlockListDef"},{"$ref":"#/definitions/TextBlockBlockListDef"},{"$ref":"#/definitions/PictureTextBlockListDef"},{"$ref":"#/definitions/ProductBlockBlockListDef"},{"$ref":"#/definitions/TileBlockListDef"},{"$ref":"#/definitions/ProductTileBlockListDef"},{"$ref":"#/definitions/GalleryBlockListDef"},{"$ref":"#/definitions/MiniGalleryBlockListDef"},{"$ref":"#/definitions/LinkListBlockListDef"}],"title":"Содержимое блока"},"EmptyOption":{"type":"null","title":"Выберите блок"},"HeadlineBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Headline"},"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"required":["blockListType"],"title":"Заголовок","default":{"blockListType":"Headline"}},"LinkDocsBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkDocs"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Описание"},"align":{"$ref":"#/definitions/AlignType"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Название иконки"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["blockListType"],"title":"Список документов","default":{"blockListType":"LinkDocs"}},"TextBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"TextBlock"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"isDotted":{"type":"boolean","title":"Буллиты"},"items":{"type":"array","items":{"type":"string"},"title":"Список (моб.)"},"iconVersion":{"$ref":"#/definitions/TextBlockIconVersion"},"blockVersion":{"$ref":"#/definitions/TextBlockVersion"}},"required":["blockListType"],"title":"Текстовый блок","default":{"blockListType":"TextBlock"}},"PictureTextBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"PictureText"},"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Картинка с текстом","default":{"blockListType":"PictureText"}},"ProductBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductBlock"},"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"backwardButton":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка возврата"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовый блок","default":{"blockListType":"ProductBlock"}},"TileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Tile"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Плитка","default":{"blockListType":"Tile"}},"ProductTileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductTile"},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовая плитка","default":{"blockListType":"ProductTile"}},"GalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Gallery"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Галерея","default":{"blockListType":"Gallery"}},"MiniGalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"MiniGallery"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"cards":{"type":"array","items":{"$ref":"#/definitions/GalleryCard"},"title":"Карточки","minItems":3}},"required":["blockListType"],"title":"Мини-галлерея","default":{"blockListType":"MiniGallery"}},"LinkListBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkList"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"required":["blockListType"],"title":"Список ссылок","default":{"blockListType":"LinkList"}},"AccordionContent":{"type":"object","properties":{"accordionAlignTitle":{"$ref":"#/definitions/AlignType","title":"Выравнивание заголовка"},"bordered":{"type":"boolean","title":"Отображать/скрывать обводку у элемента списка","default":false},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"accordionItems":{"type":"array","items":{"$ref":"#/definitions/AccordionItemCommonProps"},"title":"Список"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Аккордеон"},"BonusContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"bonusItems":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"Бонусы"},"description":{"type":"string","title":"Описание плитки"},"bonusCount":{"type":"number","title":"Количество баллов"},"bonusName":{"type":"string","title":"Наименование"}},"title":"Плитка"},"title":"Список плиток"}},"title":"Блок Бонусы"},"CellData":{"type":"object","properties":{"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"title":"Ячейка"},"ColumnHeader":{"type":"object","properties":{"link":{"$ref":"#/definitions/LinkProps"},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"image":{"$ref":"#/definitions/Picture"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Шапка колонки"},"Column":{"type":"object","properties":{"header":{"$ref":"#/definitions/ColumnHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/CellData"}},"title":"Данные"}},"title":"Продукт"},"RowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}},"title":"Параметр"},"TableColumnData":{"type":"object","properties":{"rowHeader":{"type":"string"},"cell":{"type":"array","items":{"$ref":"#/definitions/CellData"}}},"required":["cell"],"title":"Ячейка"},"TableColumnHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Параметр"},"ComparisonTableContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"columns":{"type":"array","items":{"$ref":"#/definitions/Column"},"title":"Продукты"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/RowHeader"},"title":"Параметры"},"isColoredFirstColumn":{"type":"boolean","title":"Закрасить первую колонку"},"visibleRowLength":{"type":"number","title":"Отображать заданное количество строк"}},"title":"Сравнительная таблица"},"ExchangeRateTileContent":{"$ref":"#/definitions/HeadingContent","title":"Курсы валют"},"ExchangeCurrencyItem":{"type":"object","properties":{"buyExchangeRate":{"type":"number"},"saleExchangeRate":{"type":"number"},"currency":{"type":"object","properties":{"id":{"type":"number"},"code":{"type":"string"},"currency":{"type":"string"},"name":{"type":"string"}}}}},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"description":{"type":"string","title":"Описание"},"text":{"type":"string","title":"Текст"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"icon":{"$ref":"#/definitions/Picture"},"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Пункт подменю"},"FooterContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"relatedEnterprises":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Другие предприятия"},"contacts":{"type":"array","items":{"$ref":"#/definitions/ContactInfo"},"title":"Контакты"},"mobileApps":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Мобильные приложения"},"horizontalNavigationTitle":{"type":"string","title":"Заголовок для меню"},"subMenu":{"type":"array","items":{"$ref":"#/definitions/SubMenuItem"},"title":"Подменю"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/SocialMedia"},"title":"Социальные сети"},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Обязательные документы"}},"title":"Подвал","required":["topItems"]},"SitemapProps":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"}}},"TopMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка","required":["text","href"]},"DispositionItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"title":"Ссылка дополнительного меню","required":["text","href"]},"GracePeriodContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"calendar":{"type":"array","items":{"type":"object","properties":{"month":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"Название месяца"},"image":{"$ref":"#/definitions/Picture","title":"Изображение календарного месяца","default":{"format":"webp","size":{"width":210,"height":190}}}}},"title":"Месяц"},"blackText":{"type":"string","title":"Основной текст"},"greenText":{"type":"string","title":"Вспомогательный текст"}}},"title":"Календарь"}},"title":"Льготный период"},"GroupBlockTab":{"type":"object","properties":{"tag":{"type":"string","title":"Tег"},"title":{"type":"string","title":"Название"}},"title":"Таб"},"GroupBlockContent":{"type":"object","properties":{"groupBlocks":{"type":"array","items":{"$ref":"#/definitions/GroupBlockDef"},"title":"Блоки"},"tabs":{"type":"array","items":{"$ref":"#/definitions/GroupBlockTab"},"title":"Табы"},"isShowCounter":{"type":"boolean","title":"Показывать счетчик блоков во вкладках"}},"title":"Блок-группировки"},"GroupBlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/ProductBlockDef"},{"$ref":"#/definitions/ProductTileDef"}],"title":"Содержимое блока"},"ProductBlockDef":{"type":"object","properties":{"blockType":{"type":"string","const":"ProductBlock"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль"},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"},"label":{"type":"string","title":"Лейбл (моб.)"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"backwardButton":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка возврата"},"breadcrumbs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Хлебные крошки"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Преимущества","minItems":2,"maxItems":3},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"isDotted":{"type":"boolean","title":"Буллиты","default":true},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockType"],"title":"Продуктовый блок","default":{"blockType":"ProductBlock"}},"GroupBlockCommonProps":{"type":"object","properties":{"style":{"type":"array","items":{"type":"string"},"title":"Стиль"},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"}}},"ProductTileDef":{"type":"object","properties":{"blockType":{"type":"string","const":"ProductTile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль"},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/TextBenefit"},"title":"Преимущества","maxItems":7},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockType"],"title":"Продуктовая плитка","default":{"blockType":"ProductTile"}},"HeaderContent":{"type":"object","properties":{"topItems":{"type":"array","items":{"$ref":"#/definitions/TopMenuItem"},"title":"Основное меню"},"dispositions":{"type":"array","items":{"$ref":"#/definitions/DispositionItem"},"title":"Дополнительное меню"},"logo":{"type":"object","properties":{"image":{"$ref":"#/definitions/Picture","title":"Иконка логотипа"},"title":{"type":"string","title":"Текст логотипа"}},"title":"Логотип"},"defaultLocation":{"type":"string","title":"Город по-умолчанию","default":"Москва"}},"title":"Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)","required":["defaultLocation","topItems"]},"QRCode":{"type":"object","properties":{"src":{"type":"string","title":"QR код"},"href":{"type":"string","title":"Ссылка"}},"title":"QR код"},"MobileAppTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"href":{"type":"string","title":"Ссылка"}},"title":"Мобильное приложение"},"NavigationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonProps"},"title":"Список ссылок"}},"title":"Навигация"},"NavigatorTabsContent":{"type":"object","properties":{"navigatorTabs":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список табов","minItems":3}},"title":"Блок табов"},"ProductSlide":{"type":"object","properties":{"nav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"}},"required":["title","description"],"title":"Превью содержимого слайда на навигации"},"productBlock":{"$ref":"#/definitions/ProductBlockInnerContent","title":"Содержимое слайда"}},"required":["productBlock"],"title":"Слайд"},"ProductGalleryContent":{"type":"object","properties":{"slides":{"type":"array","items":{"$ref":"#/definitions/ProductSlide"},"title":"Слайды","minItems":2},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Продуктовая галерея"},"PromoTileContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"date":{"type":"string","title":"Дата публикации"},"description":{"type":"string","title":"Описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Акции"},"Step":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"button":{"$ref":"#/definitions/ButtonProps"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии","default":true},"button":{"$ref":"#/definitions/ButtonProps"},"size":{"$ref":"#/definitions/SizeVersion","title":"Размер шагов (моб.)"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Блок шаги"},"SizeVersion":{"type":"string","enum":["normal","small"],"title":"Размер","enumNames":["Обычный","Уменьшенный"]},"TariffsTableRowData":{"type":"object","properties":{"header":{"$ref":"#/definitions/TariffsTableRowHeader"},"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}}}},"required":["header","data"],"title":"Ряд"},"TariffsTableRowHeader":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Параметр"},"TariffsTableCellData":{"type":"object","properties":{"list":{"$ref":"#/definitions/TariffsTableList"},"label":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4}},"title":"Ячейка"},"TariffsTableList":{"type":"object","properties":{"isDotted":{"type":"boolean","title":"Маркеры"},"items":{"type":"array","items":{"type":"string"},"title":"Список"}},"title":"Список"},"TariffsTableColumn":{"type":"object","properties":{"data":{"type":"array","items":{"type":"array","items":{"$ref":"#/definitions/TariffsTableCellData"}},"title":"Данные"}},"title":"Колонка"},"TariffsTableContent":{"type":"object","properties":{"hiddenRowsNum":{"type":"number","title":"Скрывать строк"},"title":{"type":"string","title":"Заголовок"},"columns":{"type":"array","items":{"$ref":"#/definitions/TariffsTableColumn"},"title":"Колонки"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"rowHeaders":{"type":"array","items":{"$ref":"#/definitions/TariffsTableRowHeader"},"title":"Параметры"}},"title":"Таблица тарифов"},"BonusBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"icon":{"$ref":"#/definitions/Picture","title":"Бонус и преимущество"}}},"BonusBenefitsBlockContent":{"type":"object","properties":{"bonusBenefits":{"type":"array","items":{"$ref":"#/definitions/BonusBenefit"},"title":"Список бонусов","maxItems":8},"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"}},"title":"Блок бонусов и преимуществ"},"CommonCalculatorProps":{"type":"object","properties":{"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}}},"CreditCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"MortgageCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"DepositCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"BonusCalculatorParams":{"type":"object","description":"TODO: данные из справочника"},"CreditCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"CreditCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Кредитный калькулятор","default":{"calcType":"CreditCalculatorForm"}},"MortgageCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"MortgageCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Ипотечный калькулятор","default":{"calcType":"MortgageCalculatorForm"}},"DepositCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"DepositCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Калькулятор вкладов","default":{"calcType":"DepositCalculatorForm"}},"BonusCalculatorParamsDef":{"type":"object","properties":{"calcType":{"type":"string","const":"BonusCalculatorForm"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки"}},"required":["calcType"],"title":"Калькулятор бонусов","default":{"calcType":"BonusCalculatorForm"}},"CalculatorBlockDef":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/CreditCalculatorParamsDef"},{"$ref":"#/definitions/MortgageCalculatorParamsDef"},{"$ref":"#/definitions/DepositCalculatorParamsDef"},{"$ref":"#/definitions/BonusCalculatorParamsDef"}],"title":"Настройки калькулятора"},"CalculatorNav":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Кнопка навигации"},"CalculatorTab":{"type":"object","properties":{"nav":{"$ref":"#/definitions/CalculatorNav"},"calculatorBlock":{"$ref":"#/definitions/CalculatorBlockDef"}},"title":"Вкладка"},"CalculatorContent":{"type":"object","properties":{"calcTabs":{"type":"array","items":{"$ref":"#/definitions/CalculatorTab"},"title":"Вкладки"}},"title":"Калькулятор"},"CreditCalculatorData":{"type":"object"},"CreditCalculatorTab":{"type":"object","properties":{"directoryName":{"type":"string","title":"Справочник"},"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Вкладка"},"Tab":{"type":"object","properties":{"title":{"type":"string","title":"Имя вкладки"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Вкладка"},"CreditCalculatorContent":{"type":"object","properties":{"tabs":{"type":"array","items":{"$ref":"#/definitions/CreditCalculatorTab"},"title":"Вкладки"}},"title":"Кредитный калькулятор"},"InsuranceContent":{"type":"object","properties":{"monthLimit":{"type":"number","title":"Ежемесячный лимит"},"insuranceSum":{"type":"number","title":"Страховая сумма"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/Benefit"},"title":"Список преимуществ","maxItems":6}}},"BlockItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isUnfolded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки","maxItems":10},"columns":{"$ref":"#/definitions/ColumnsCount"}},"title":"Элемент списка"},"ColumnsCount":{"type":"number","enum":[1,2],"title":"Количество колонок","enumNames":["1 колонка","2 колонки"]},"OtherProductsContent":{"type":"object","properties":{"blockItems":{"type":"array","items":{"$ref":"#/definitions/BlockItemCommonProps"},"title":"Список"},"colorPalette":{"$ref":"#/definitions/ColorPalette"},"title":{"type":"string","title":"Заголовок"}},"title":"Другие продукты"},"ColorPalette":{"type":"string","enum":["","pc","bc","eo"],"title":"Цветовая палитра","enumNames":["","Частным клиентам","Бизнес клиентам","Экосистема Своё"]},"RecommendationCardTypes":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"socialMedia":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Соц сети","minItems":3}}},"RecommendationContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"recommendations":{"type":"array","items":{"$ref":"#/definitions/RecommendationCardTypes"},"title":"Карточки"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Рекомендации"}}}
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -212,17 +212,14 @@
|
|
|
212
212
|
IconMap["AppleIcon"] = "AppleIcon";
|
|
213
213
|
IconMap["ArrowDownIcon"] = "ArrowDownIcon";
|
|
214
214
|
IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
|
|
215
|
-
IconMap["ArrowsRewindRight"] = "ArrowsRewindRight";
|
|
216
215
|
IconMap["ArrowUpIcon"] = "ArrowUpIcon";
|
|
217
216
|
IconMap["AtmIcon"] = "AtmIcon";
|
|
218
217
|
IconMap["BankIcon"] = "BankIcon";
|
|
219
218
|
IconMap["BurgerIcon"] = "BurgerIcon";
|
|
220
|
-
IconMap["BurgerIconWhite"] = "BurgerIconWhite";
|
|
221
219
|
IconMap["Calendar2Icon"] = "Calendar2Icon";
|
|
222
220
|
IconMap["CalendarCircleIcon"] = "CalendarCircleIcon";
|
|
223
221
|
IconMap["CalendarIcon"] = "CalendarIcon";
|
|
224
222
|
IconMap["CalendarTickIcon"] = "CalendarTickIcon";
|
|
225
|
-
IconMap["CalendarWhiteIcon"] = "CalendarWhiteIcon";
|
|
226
223
|
IconMap["CardIcon"] = "CardIcon";
|
|
227
224
|
IconMap["CardPosIcon"] = "CardPosIcon";
|
|
228
225
|
IconMap["CardTickIcon"] = "CardTickIcon";
|
|
@@ -243,14 +240,12 @@
|
|
|
243
240
|
IconMap["EarthIcon"] = "EarthIcon";
|
|
244
241
|
IconMap["EmptyWalletChangeIcon"] = "EmptyWalletChangeIcon";
|
|
245
242
|
IconMap["EmptyWalletIcon"] = "EmptyWalletIcon";
|
|
246
|
-
IconMap["EmptyWalletWhiteIcon"] = "EmptyWalletWhiteIcon";
|
|
247
243
|
IconMap["EuroIcon"] = "EuroIcon";
|
|
248
244
|
IconMap["GeolocationIcon"] = "GeolocationIcon";
|
|
249
245
|
IconMap["GlassIcon"] = "GlassIcon";
|
|
250
246
|
IconMap["GlobalIcon"] = "GlobalIcon";
|
|
251
247
|
IconMap["GpsIcon"] = "GpsIcon";
|
|
252
248
|
IconMap["GridIcon"] = "GridIcon";
|
|
253
|
-
IconMap["GridIconWhite"] = "GridIconWhite";
|
|
254
249
|
IconMap["InterestGrowthIcon"] = "InterestGrowthIcon";
|
|
255
250
|
IconMap["InterestIcon"] = "InterestIcon";
|
|
256
251
|
IconMap["JCBIcon"] = "JCBIcon";
|
|
@@ -267,7 +262,6 @@
|
|
|
267
262
|
IconMap["PassSendIcon"] = "PassSendIcon";
|
|
268
263
|
IconMap["PercentageRoundIcon"] = "PercentageRoundIcon";
|
|
269
264
|
IconMap["PercentageSquareIcon"] = "PercentageSquareIcon";
|
|
270
|
-
IconMap["PercentageSquareWhiteIcon"] = "PercentageSquareWhiteIcon";
|
|
271
265
|
IconMap["PersonalCardIcon"] = "PersonalCardIcon";
|
|
272
266
|
IconMap["PlayMarketIcon"] = "PlayMarketIcon";
|
|
273
267
|
IconMap["PlusIcon"] = "PlusIcon";
|
|
@@ -299,17 +293,14 @@
|
|
|
299
293
|
IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
|
|
300
294
|
IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
|
|
301
295
|
IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
|
|
302
|
-
IconTitleMap["ArrowsRewindRight"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
|
|
303
296
|
IconTitleMap["ArrowUpIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445";
|
|
304
297
|
IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
|
|
305
298
|
IconTitleMap["BankIcon"] = "\u0411\u0430\u043D\u043A";
|
|
306
299
|
IconTitleMap["BurgerIcon"] = "\u0411\u0443\u0440\u0433\u0435\u0440";
|
|
307
|
-
IconTitleMap["BurgerIconWhite"] = "\u0411\u0443\u0440\u0433\u0435\u0440 (\u0431\u0435\u043B\u044B\u0439)";
|
|
308
300
|
IconTitleMap["Calendar2Icon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C 2";
|
|
309
301
|
IconTitleMap["CalendarCircleIcon"] = "\u0421\u043A\u0440\u0443\u0433\u043B\u0451\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
|
|
310
302
|
IconTitleMap["CalendarIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
|
|
311
303
|
IconTitleMap["CalendarTickIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
|
|
312
|
-
IconTitleMap["CalendarWhiteIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0431\u0435\u043B\u044B\u0439";
|
|
313
304
|
IconTitleMap["CardIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430";
|
|
314
305
|
IconTitleMap["CardPosIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u043F\u043E\u0434 \u043D\u0430\u043A\u043B\u043E\u043D\u043E\u043C";
|
|
315
306
|
IconTitleMap["CardTickIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
|
|
@@ -330,14 +321,12 @@
|
|
|
330
321
|
IconTitleMap["EarthIcon"] = "\u0417\u0435\u043C\u043B\u044F";
|
|
331
322
|
IconTitleMap["EmptyWalletChangeIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u043C";
|
|
332
323
|
IconTitleMap["EmptyWalletIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A";
|
|
333
|
-
IconTitleMap["EmptyWalletWhiteIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A (\u0431\u0435\u043B\u044B\u0439)";
|
|
334
324
|
IconTitleMap["EuroIcon"] = "\u0415\u0432\u0440\u043E";
|
|
335
325
|
IconTitleMap["GeolocationIcon"] = "\u0413\u0435\u043E\u043B\u043E\u043A\u0430\u0446\u0438\u044F";
|
|
336
326
|
IconTitleMap["GlassIcon"] = "\u0417\u0435\u0440\u043A\u0430\u043B\u043E";
|
|
337
327
|
IconTitleMap["GlobalIcon"] = "\u0413\u043B\u043E\u0431\u0443\u0441";
|
|
338
328
|
IconTitleMap["GpsIcon"] = "Gps";
|
|
339
|
-
IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430";
|
|
340
|
-
IconTitleMap["GridIconWhite"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
|
|
329
|
+
IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
|
|
341
330
|
IconTitleMap["InterestGrowthIcon"] = "\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u043E\u0441\u0442\u0430";
|
|
342
331
|
IconTitleMap["InterestIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
|
|
343
332
|
IconTitleMap["JCBIcon"] = "JCB";
|
|
@@ -354,7 +343,6 @@
|
|
|
354
343
|
IconTitleMap["PassSendIcon"] = "\u0411\u0438\u0437\u043D\u0435\u0441";
|
|
355
344
|
IconTitleMap["PercentageRoundIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B (\u043A\u0440\u0443\u0433.)";
|
|
356
345
|
IconTitleMap["PercentageSquareIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B";
|
|
357
|
-
IconTitleMap["PercentageSquareWhiteIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B \u0431\u0435\u043B\u044B\u0435";
|
|
358
346
|
IconTitleMap["PersonalCardIcon"] = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430";
|
|
359
347
|
IconTitleMap["PlayMarketIcon"] = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB";
|
|
360
348
|
IconTitleMap["PlusIcon"] = "\u041F\u043B\u044E\u0441";
|
|
@@ -411,11 +399,15 @@
|
|
|
411
399
|
}
|
|
412
400
|
})();
|
|
413
401
|
|
|
414
|
-
const
|
|
402
|
+
const svgUseStyleMap = {
|
|
403
|
+
normal: 'text-primary-main',
|
|
404
|
+
black: 'text-black',
|
|
405
|
+
white: 'text-black invert',
|
|
406
|
+
};
|
|
407
|
+
const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
|
|
415
408
|
const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
|
|
416
|
-
const svgUseStyle = iconVersion === 'white' ? 'text-black invert' : 'text-primary-main';
|
|
417
409
|
if (asSVG) {
|
|
418
|
-
return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { className:
|
|
410
|
+
return (jsxs("svg", { className: className, ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { className: `${svgUseStyleMap[iconVersion]} ${imageClassName}`, href: `${href}#icon`, xlinkHref: `${href}#icon` })] }));
|
|
419
411
|
}
|
|
420
412
|
return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
|
|
421
413
|
});
|
|
@@ -431,7 +423,7 @@
|
|
|
431
423
|
// backwards compatibility with existing icons in usage
|
|
432
424
|
const icon = typeof image === 'string' ? image : image.icon;
|
|
433
425
|
if (icon || icon === '') {
|
|
434
|
-
return icon.length ? (jsx(Icon, { className: className, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
|
|
426
|
+
return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
|
|
435
427
|
}
|
|
436
428
|
return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image }));
|
|
437
429
|
});
|
|
@@ -751,7 +743,9 @@
|
|
|
751
743
|
};
|
|
752
744
|
|
|
753
745
|
function renderBackwardButton(button, version, className) {
|
|
754
|
-
|
|
746
|
+
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
747
|
+
const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
|
|
748
|
+
return (jsxs("div", { className: `flex items-center ${className}`, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: button?.text, href: button?.href, children: jsx(Img, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion }, asSVG: true }) }), button?.text ? jsx("span", { className: "text-m-md font-light", children: button.text }) : null] }));
|
|
755
749
|
}
|
|
756
750
|
|
|
757
751
|
const productBlockStyleMap$1 = {
|
|
@@ -877,7 +871,7 @@
|
|
|
877
871
|
|
|
878
872
|
const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
|
|
879
873
|
? 'bg-secondary-light text-secondary-text'
|
|
880
|
-
: 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon' }, width: "16", height: "16", asSVG: true }) })));
|
|
874
|
+
: 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, width: "16", height: "16", asSVG: true }) })));
|
|
881
875
|
|
|
882
876
|
const cardVersionMap = {
|
|
883
877
|
primary: 'bg-white text-secondary-text',
|
|
@@ -1840,14 +1834,15 @@
|
|
|
1840
1834
|
height: '21px',
|
|
1841
1835
|
},
|
|
1842
1836
|
];
|
|
1843
|
-
const MediaButton = JSX(({ href, version }) => {
|
|
1837
|
+
const MediaButton = JSX(({ href, version = 'primary' }) => {
|
|
1844
1838
|
const { icon, width, height, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
1845
1839
|
if (!icon)
|
|
1846
1840
|
return null;
|
|
1847
1841
|
const classes = version === 'secondary'
|
|
1848
|
-
? '
|
|
1849
|
-
: '
|
|
1850
|
-
|
|
1842
|
+
? 'bg-secondary-light hover:bg-secondary-hover'
|
|
1843
|
+
: 'border-main-divider border-solid border-[1px] hover:bg-primary-main';
|
|
1844
|
+
const isPrimary = version === 'primary';
|
|
1845
|
+
return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: { ...icon, iconVersion: 'normal' }, imageClassName: isPrimary ? 'group-hover:text-white' : '', width: width, height: height, asSVG: true })) : null }));
|
|
1851
1846
|
});
|
|
1852
1847
|
|
|
1853
1848
|
const SocialMedia = JSX(({ className = '', media, version, context, children }) => {
|
|
@@ -1927,13 +1922,13 @@
|
|
|
1927
1922
|
'bg-white': 'text-secondary-light hover:text-secondary-hover',
|
|
1928
1923
|
transparent: 'text-white',
|
|
1929
1924
|
};
|
|
1930
|
-
const
|
|
1931
|
-
'bg-white': '
|
|
1932
|
-
transparent: '
|
|
1925
|
+
const LINKS_ICON_VERSION_MAP = {
|
|
1926
|
+
'bg-white': 'black',
|
|
1927
|
+
transparent: 'white',
|
|
1933
1928
|
};
|
|
1934
1929
|
const HeaderSecondaryMenu = JSX(({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
|
|
1935
1930
|
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
1936
|
-
return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image:
|
|
1931
|
+
return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-secondary-light rounded-full", asSVG: true }) })] }));
|
|
1937
1932
|
});
|
|
1938
1933
|
|
|
1939
1934
|
const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
|
|
@@ -2127,7 +2122,7 @@
|
|
|
2127
2122
|
initialState: isUnfolded,
|
|
2128
2123
|
});
|
|
2129
2124
|
return blocks ? (jsxs("div", { children: [renderBlocks(blocks, render, { blocksToHide, isActive }), hiddenBlocksNum ? (jsxs("button", { className: foldButtonClasses ||
|
|
2130
|
-
'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer', "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : foldButtonLabel }), jsx(Icon, { name: icon, width: "20", height: "20", asSVG: true })] })) : null] })) : null;
|
|
2125
|
+
'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer', "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : foldButtonLabel }), jsx(Icon, { name: icon, iconVersion: "white", width: "20", height: "20", asSVG: true })] })) : null] })) : null;
|
|
2131
2126
|
});
|
|
2132
2127
|
const renderBlocks = (blocks, render, { blocksToHide, isActive }) => {
|
|
2133
2128
|
const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
|
|
@@ -2228,7 +2223,7 @@
|
|
|
2228
2223
|
}
|
|
2229
2224
|
|
|
2230
2225
|
const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
|
|
2231
|
-
return (jsx("section", { className: `border border-solid box-border p-[30px] w-[524px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md text-left font-light flex flex-col flex-1 gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
|
|
2226
|
+
return (jsx("section", { className: `border border-solid box-border p-[30px] min-w-[524px] ${className}`, role: "listitem", children: jsxs(BaseTile, { context: context, className: "flex justify-between", title: title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "font-normal mb-3.5", title: title })) : null, image: image?.src && jsx(Img, { className: "mt-auto ml-7", image: image }), children: [description ? jsx(Description, { className: "text-left", description: description }) : null, items?.length ? (jsx(List, { className: "text-md text-left font-light flex flex-col flex-1 gap-2", items: items, version: version })) : null, jsx(SocialMedia, { className: "pt-[42px] pb-0", media: socialMedia, version: version, context: context })] }) }));
|
|
2232
2227
|
});
|
|
2233
2228
|
|
|
2234
2229
|
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|