@redneckz/wildless-cms-uni-blocks 0.3.77 → 0.3.79
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 +9 -9
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +2 -2
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -5
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +5 -3
- package/dist/components/GracePeriod/GracePeriod.js +2 -2
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/dist/components/GroupBlock/GroupBlockTabs.js +1 -1
- package/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +2 -0
- package/dist/ui-kit/Button/ButtonSection.js +2 -2
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.js +2 -2
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +2 -2
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -5
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +5 -3
- package/lib/components/GracePeriod/GracePeriod.js +2 -2
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/lib/components/GroupBlock/GroupBlockTabs.js +1 -1
- package/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +2 -0
- package/lib/ui-kit/Button/ButtonSection.js +2 -2
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.js +2 -2
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +2 -2
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -5
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +5 -3
- package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -2
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +2 -2
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -5
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +5 -3
- package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -2
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/src/components/Accordion/AccordionContent.ts +2 -2
- package/mobile/src/components/Bonus/Bonus.example.json +1 -1
- package/mobile/src/components/Bonus/Bonus.tsx +2 -2
- package/mobile/src/components/Bonus/BonusContent.ts +1 -1
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +40 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -5
- package/mobile/src/components/Calculator/Calculator.tsx +1 -1
- package/mobile/src/components/ContentPage/ContentPage.page.json +4 -4
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +5 -4
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +4 -4
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +4 -4
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +2 -2
- package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +3 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +12 -2
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +6 -1
- package/mobile/src/ui-kit/Button/ButtonProps.ts +2 -0
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +2 -1
- package/package.json +1 -1
- package/src/components/Accordion/AccordionContent.ts +2 -2
- package/src/components/Bonus/Bonus.example.json +1 -1
- package/src/components/Bonus/Bonus.fixture.tsx +3 -3
- package/src/components/Bonus/Bonus.tsx +2 -2
- package/src/components/Bonus/BonusContent.ts +1 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +40 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -5
- package/src/components/Calculator/Calculator.tsx +1 -1
- package/src/components/ContentPage/ContentPage.page.json +4 -4
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +5 -4
- package/src/components/GracePeriod/GracePeriod.example.json +4 -4
- package/src/components/GracePeriod/GracePeriod.fixture.tsx +9 -9
- package/src/components/GracePeriod/GracePeriod.tsx +4 -4
- package/src/components/GracePeriod/GracePeriodContent.ts +2 -2
- package/src/components/GroupBlock/GroupBlockTabs.tsx +3 -1
- package/src/components/MobileAppTile/MobileAppTile.example.json +12 -2
- package/src/components/StepsBlock/StepsBlock.example.json +6 -1
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +5 -1
- package/src/components/StepsBlock/StepsBlock.tsx +2 -8
- package/src/ui-kit/Button/ButtonProps.ts +2 -0
- package/src/ui-kit/Button/ButtonSection.tsx +2 -1
- package/src/ui-kit/Logo/Logo.tsx +3 -3
|
@@ -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":{"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":"Список"},"button":{"$ref":"#/definitions/ButtonWithIconProps","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":"Формат"},"media":{"$ref":"#/definitions/MediaQuery"},"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":"Формат"},"media":{"$ref":"#/definitions/MediaQuery"},"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","DoneIcon","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":["Нормальный","Белый","Чёрный"]},"MediaQuery":{"type":"string","enum":["(max-width: 1919px)","(max-width: 1439px)","(max-width: 1279px)"],"title":"Брейкпоинт","enumNames":["1919px и меньше","1439px и меньше","1279px и меньше"]},"ButtonWithIconProps":{"type":"object","properties":{"rounded":{"type":"boolean","title":"Закругленные углы"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст","default":"Кнопка"},"version":{"$ref":"#/definitions/ButtonVersion"},"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"},"headingType":{"$ref":"#/definitions/HeadingType"},"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":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка","default":{"size":{"width":24,"height":24},"format":"webp"}},"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},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"}}},"PictureTextContent":{"type":"object","properties":{"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/PictureTextBenefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Картинка с текстом"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"ProductBlockBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}}},"BenefitItemProps":{"type":"object","properties":{"benefit":{"$ref":"#/definitions/ProductBlockBenefit"},"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"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Хлебные крошки"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Продуктовый блок"},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"ProductTileContent":{"type":"object","properties":{"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},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"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"},"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":"Плитка"},"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","default":"Headline"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"required":["blockListType"],"title":"Заголовок"},"BlocksCommonProps":{"type":"object","properties":{"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]}}},"LinkDocsBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkDocs","default":"LinkDocs"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка","default":{"size":{"width":24,"height":24},"format":"webp"}},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["blockListType"],"title":"Список документов"},"TextBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"TextBlock","default":"TextBlock"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Текстовый блок"},"PictureTextBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"PictureText","default":"PictureText"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/PictureTextBenefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Картинка с текстом"},"ProductBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductBlock","default":"ProductBlock"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Хлебные крошки"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Продуктовый блок"},"TileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Tile","default":"Tile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"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":"Плитка"},"ProductTileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductTile","default":"ProductTile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовая плитка"},"GalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Gallery","default":"Gallery"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Галерея"},"MiniGalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"MiniGallery","default":"MiniGallery"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Мини-галлерея"},"LinkListBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkList","default":"LinkList"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"required":["blockListType"],"title":"Список ссылок"},"AccordionContent":{"type":"object","properties":{"accordionAlignTitle":{"$ref":"#/definitions/AlignType","title":"Выравнивание заголовка","default":"center"},"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":"Аккордеон"},"TextBenefitDef":{"type":"object","properties":{"name":{"type":"string","title":"Описание"},"benefitType":{"type":"string","const":"text"}},"title":"Пункты описания","default":{"benefitType":"text"}},"ListBenefitDef":{"type":"object","properties":{"bullets":{"type":"boolean","title":"Буллиты"},"benefitType":{"type":"string","const":"list"},"items":{"type":"array","items":{"type":"string"},"title":"Пункты"}},"title":"Список","default":{"benefitType":"list"}},"DescriptionType":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/TextBenefitDef"},{"$ref":"#/definitions/ListBenefitDef"}],"title":"Вид контента"},"BenefitItem":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"$ref":"#/definitions/DescriptionType","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"benefitList":{"type":"array","items":{"$ref":"#/definitions/BenefitItem"},"title":"Список преимуществ","maxItems":6}},"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":"string","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":"Курсы валют"},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"text":{"type":"string","title":"Текст"},"description":{"type":"string","title":"Описание"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"icon":{"$ref":"#/definitions/Picture"},"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":"Стиль","default":["col-span-12"]},"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":"Хлебные крошки"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Стиль","default":["col-span-12"]},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"}}},"ProductTileDef":{"type":"object","properties":{"blockType":{"type":"string","const":"ProductTile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"tags":{"type":"array","items":{"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},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"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"]},"CardItem":{"type":"object","properties":{"fee":{"type":"number","title":"Страховой взнос"},"sum":{"type":"number","title":"Страховая сумма"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"}},"title":"Кнопка выбора программы"},"InsuranceAmountBlockTabs":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок вкладки"},"cards":{"type":"array","items":{"$ref":"#/definitions/CardItem"},"title":"Содержимое вкладки"}},"title":"Вкладка"},"InsuranceAmountBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"insuranceTabs":{"type":"array","items":{"$ref":"#/definitions/InsuranceAmountBlockTabs"},"title":"Список вкладок"},"button":{"$ref":"#/definitions/ButtonProps"}},"title":"Страховые суммы"},"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":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"},"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":"Название"},"description":{"type":"string","title":"Описание"},"button":{"$ref":"#/definitions/ButtonProps"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка","default":{"size":{"width":48,"height":48},"format":"webp"}}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии","default":true},"size":{"$ref":"#/definitions/SizeVersion","title":"Размер шагов (моб.)","default":"normal"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":4},"button":{"$ref":"#/definitions/ButtonProps"},"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":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"bonusBenefits":{"type":"array","items":{"$ref":"#/definitions/BonusBenefit"},"title":"Список бонусов","maxItems":8}},"title":"Блок бонусов и преимуществ"},"InsuranceBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Преимущество"},"InsuranceContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/InsuranceBenefit"},"title":"Список преимуществ","maxItems":6},"sum":{"type":"number","title":"Страховая сумма"},"monthLimit":{"type":"number","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":"Калькулятор"},"CatalogProductColor":{"type":"string","enum":["black","white"],"enumNames":["Черный","Белый"]},"CatalogCardType":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"colors":{"type":"array","items":{"$ref":"#/definitions/CatalogProductColor"},"title":"Доступные цвета"},"price":{"type":"number","title":"Цена в рублях"},"image":{"$ref":"#/definitions/Picture"},"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"}}},"CatalogContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/CatalogCardType"},"title":"Список карточек"}},"title":"Каталог"},"BlockItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isUnfolded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки","maxItems":10}},"title":"Элемент списка"},"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":{"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":"Список"},"button":{"$ref":"#/definitions/ButtonWithIconProps","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":"Формат"},"media":{"$ref":"#/definitions/MediaQuery"},"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":"Формат"},"media":{"$ref":"#/definitions/MediaQuery"},"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","DoneIcon","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":["Нормальный","Белый","Чёрный"]},"MediaQuery":{"type":"string","enum":["(max-width: 1919px)","(max-width: 1439px)","(max-width: 1279px)"],"title":"Брейкпоинт","enumNames":["1919px и меньше","1439px и меньше","1279px и меньше"]},"ButtonWithIconProps":{"type":"object","properties":{"iconRight":{"$ref":"#/definitions/Picture","title":"Иконка справа"},"rounded":{"type":"boolean","title":"Закругленные углы"},"text":{"type":"string","title":"Текст","default":"Кнопка"},"version":{"$ref":"#/definitions/ButtonVersion"},"aboveText":{"type":"string","title":"Верхний текст"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"},"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}}},"ButtonProps":{"type":"object","properties":{"text":{"type":"string","title":"Текст","default":"Кнопка"},"version":{"$ref":"#/definitions/ButtonVersion"},"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"},"headingType":{"$ref":"#/definitions/HeadingType"},"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":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка","default":{"size":{"width":24,"height":24},"format":"webp"}},"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},"TitleWithImageContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"}}},"PictureTextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"}}},"PictureTextContent":{"type":"object","properties":{"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/PictureTextBenefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"title":"Картинка с текстом"},"ListContent":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"title":"Список"}}},"ProductBlockBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}}},"BenefitItemProps":{"type":"object","properties":{"benefit":{"$ref":"#/definitions/ProductBlockBenefit"},"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"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Хлебные крошки"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Продуктовый блок"},"TextBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"}}},"ProductTileContent":{"type":"object","properties":{"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},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"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"},"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":"Плитка"},"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","default":"Headline"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"bgColorHeadline":{"$ref":"#/definitions/BlockVersionWithTransparent"},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"}},"required":["blockListType"],"title":"Заголовок"},"BlocksCommonProps":{"type":"object","properties":{"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]}}},"LinkDocsBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkDocs","default":"LinkDocs"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"title":{"type":"string","title":"Заголовок"},"align":{"$ref":"#/definitions/AlignType"},"description":{"type":"string","title":"Описание"},"orientation":{"$ref":"#/definitions/ListOrientation","title":"Отображать элементы в моб. версии (прокрутка shift+mouseScroll)"},"columnsMode":{"$ref":"#/definitions/LinkColumnsMode"},"hasBorder":{"type":"boolean","title":"Рамка элементов (моб.)"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка","default":{"size":{"width":24,"height":24},"format":"webp"}},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkDocsItem"},"title":"Список"}},"required":["blockListType"],"title":"Список документов"},"TextBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"TextBlock","default":"TextBlock"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Текстовый блок"},"PictureTextBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"PictureText","default":"PictureText"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"directionRight":{"type":"boolean","title":"Картинка справа/текст слева","default":false},"title":{"type":"string","title":"Заголовок"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/PictureTextBenefit"},"title":"Список преимуществ"},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Картинка с текстом"},"ProductBlockBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductBlock","default":"ProductBlock"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Хлебные крошки"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Продуктовый блок"},"TileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Tile","default":"Tile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"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":"Плитка"},"ProductTileBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"ProductTile","default":"ProductTile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"}},"required":["blockListType"],"title":"Продуктовая плитка"},"GalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"Gallery","default":"Gallery"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Галерея"},"MiniGalleryBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"MiniGallery","default":"MiniGallery"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"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":"Мини-галлерея"},"LinkListBlockListDef":{"type":"object","properties":{"blockListType":{"type":"string","const":"LinkList","default":"LinkList"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"documents":{"type":"array","items":{"$ref":"#/definitions/LinkProps"},"title":"Список"}},"required":["blockListType"],"title":"Список ссылок"},"AccordionContent":{"type":"object","properties":{"accordionAlignTitle":{"$ref":"#/definitions/AlignType","title":"Выравнивание заголовка","default":"center"},"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":"Аккордеон"},"TextBenefitDef":{"type":"object","properties":{"name":{"type":"string","title":"Описание"},"benefitType":{"type":"string","const":"text"}},"title":"Пункты описания","default":{"benefitType":"text"}},"ListBenefitDef":{"type":"object","properties":{"bullets":{"type":"boolean","title":"Буллиты"},"benefitType":{"type":"string","const":"list"},"items":{"type":"array","items":{"type":"string"},"title":"Пункты"}},"title":"Список","default":{"benefitType":"list"}},"DescriptionType":{"anyOf":[{"$ref":"#/definitions/EmptyOption"},{"$ref":"#/definitions/TextBenefitDef"},{"$ref":"#/definitions/ListBenefitDef"}],"title":"Вид контента"},"BenefitItem":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"$ref":"#/definitions/DescriptionType","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Преимущество"},"BenefitsBlockContent":{"type":"object","properties":{"headingType":{"$ref":"#/definitions/HeadingType"},"title":{"type":"string","title":"Заголовок"},"benefitList":{"type":"array","items":{"$ref":"#/definitions/BenefitItem"},"title":"Список преимуществ","maxItems":6}},"title":"Блок преимущества"},"BonusContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"bonusItems":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","title":"Бонусы"},"description":{"type":"string","title":"Описание плитки"},"bonusCount":{"type":"string","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":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"}},"title":"Курсы обмена валют"},"ContactType":{"type":"string","enum":["tel","email"],"title":"Тип контакта","enumNames":["Телефон","Почта"]},"ContactInfo":{"type":"object","properties":{"type":{"$ref":"#/definitions/ContactType"},"text":{"type":"string","title":"Текст"},"description":{"type":"string","title":"Описание"}},"title":"Контакт"},"SocialMedia":{"type":"object","properties":{"href":{"type":"string","title":"URL (href)"},"target":{"$ref":"#/definitions/Target"}},"required":["href"]},"SubMenuItem":{"type":"object","properties":{"text":{"type":"string","title":"Текст"},"icon":{"$ref":"#/definitions/Picture"},"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":{"text":{"type":"string","title":"Название месяца"},"image":{"$ref":"#/definitions/Picture","title":"Изображение календарного месяца","default":{"format":"webp","size":{"width":210,"height":190}}}}},"title":"Месяц"},"text":{"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":"Стиль","default":["col-span-12"]},"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":"Хлебные крошки"},"benefitsVersion":{"$ref":"#/definitions/IconVersion"},"benefits":{"type":"array","items":{"$ref":"#/definitions/ProductBlockBenefit"},"title":"Преимущества","minItems":2,"maxItems":3},"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":"Стиль","default":["col-span-12"]},"tags":{"type":"array","items":{"type":"string"},"title":"Теги"}}},"ProductTileDef":{"type":"object","properties":{"blockType":{"type":"string","const":"ProductTile"},"style":{"type":"array","items":{"type":"string"},"title":"Стиль","default":["col-span-12"]},"tags":{"type":"array","items":{"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},"additionalDescription":{"type":"string","title":"Дополнительное описание"},"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"]},"CardItem":{"type":"object","properties":{"fee":{"type":"number","title":"Страховой взнос"},"sum":{"type":"number","title":"Страховая сумма"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка"}},"title":"Кнопка выбора программы"},"InsuranceAmountBlockTabs":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок вкладки"},"cards":{"type":"array","items":{"$ref":"#/definitions/CardItem"},"title":"Содержимое вкладки"}},"title":"Вкладка"},"InsuranceAmountBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"insuranceTabs":{"type":"array","items":{"$ref":"#/definitions/InsuranceAmountBlockTabs"},"title":"Список вкладок"},"button":{"$ref":"#/definitions/ButtonProps"}},"title":"Страховые суммы"},"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":"Описание"},"image":{"$ref":"#/definitions/Picture"},"items":{"type":"array","items":{"type":"string"},"title":"Список"},"qr":{"$ref":"#/definitions/QRCode"},"buttons":{"type":"array","items":{"$ref":"#/definitions/ButtonWithIconProps"},"title":"Кнопки","maxItems":4},"version":{"$ref":"#/definitions/BlockVersion"},"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":"Название"},"description":{"type":"string","title":"Описание"},"button":{"$ref":"#/definitions/ButtonProps"},"icon":{"$ref":"#/definitions/Picture","title":"Иконка","default":{"size":{"width":48,"height":48},"format":"webp"}}},"title":"Шаг"},"StepsBlockContent":{"type":"object","properties":{"showLines":{"type":"boolean","title":"Линии","default":true},"size":{"$ref":"#/definitions/SizeVersion","title":"Размер шагов (моб.)","default":"normal"},"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"steps":{"type":"array","items":{"$ref":"#/definitions/Step"},"title":"Шаги","minItems":2,"maxItems":4},"button":{"$ref":"#/definitions/ButtonProps"},"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":"Изображение"}},"title":"Бонус и преимущество"},"BonusBenefitsBlockContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"subtitle":{"type":"string","title":"Подзаголовок"},"bonusBenefits":{"type":"array","items":{"$ref":"#/definitions/BonusBenefit"},"title":"Список бонусов"}},"title":"Блок бонусов и преимуществ"},"InsuranceBenefit":{"type":"object","properties":{"label":{"type":"string","title":"Название"},"description":{"type":"string","title":"Описание"},"icon":{"$ref":"#/definitions/Picture"}},"title":"Преимущество"},"InsuranceContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"image":{"$ref":"#/definitions/Picture"},"benefits":{"type":"array","items":{"$ref":"#/definitions/InsuranceBenefit"},"title":"Список преимуществ","maxItems":6},"sum":{"type":"number","title":"Страховая сумма"},"monthLimit":{"type":"number","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":"Калькулятор"},"CatalogProductColor":{"type":"string","enum":["black","white"],"enumNames":["Черный","Белый"]},"CatalogCardType":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"colors":{"type":"array","items":{"$ref":"#/definitions/CatalogProductColor"},"title":"Доступные цвета"},"price":{"type":"number","title":"Цена в рублях"},"image":{"$ref":"#/definitions/Picture"},"button":{"$ref":"#/definitions/ButtonWithIconProps","title":"Кнопка"}}},"CatalogContent":{"type":"object","properties":{"title":{"type":"string","title":"Заголовок"},"description":{"type":"string","title":"Описание"},"cards":{"type":"array","items":{"$ref":"#/definitions/CatalogCardType"},"title":"Список карточек"}},"title":"Каталог"},"BlockItemCommonProps":{"type":"object","properties":{"label":{"type":"string","title":"Название","default":"Список"},"isUnfolded":{"type":"boolean","title":"Отображать в раскрытом виде"},"blocks":{"type":"array","items":{"$ref":"#/definitions/BlockDef"},"title":"Блоки","maxItems":10}},"title":"Элемент списка"},"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
|
@@ -645,11 +645,11 @@
|
|
|
645
645
|
const router = context.useRouter();
|
|
646
646
|
return buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton$2(useLink({ router, handlerDecorator }, button), index)) })) : null;
|
|
647
647
|
});
|
|
648
|
-
function renderButton$2({ icon, ...button }, i) {
|
|
648
|
+
function renderButton$2({ icon, iconRight, ...button }, i) {
|
|
649
649
|
if (!button?.text) {
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
|
-
return icon ? (jsx(Button, { appendLeft: jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
|
|
652
|
+
return icon ? (jsx(Button, { appendLeft: jsx(Img, { image: icon, width: "24", height: "24", asSVG: true }), appendRight: jsx(Img, { image: iconRight, width: "24", height: "24", asSVG: true }), ...button }, String(i))) : (jsx(Button, { ...button }, String(i)));
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
const Description = JSX((props) => {
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
const { className = '', title, description, bonusItems, anchor = null } = props;
|
|
1042
1042
|
return (jsx("section", { className: `font-sans bg-white p-[50px] pb-9 ${className}`, id: anchor, children: jsxs("div", { className: "container", children: [title ? jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (jsx("div", { className: "text-md font-light text-center mt-[10px]", children: description })) : null, jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems
|
|
1043
1043
|
? bonusItems.map((_, i) => {
|
|
1044
|
-
return (jsx("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "mr-4", children: [jsx("div", { className: "text-title-sm", children: _.
|
|
1044
|
+
return (jsx("div", { className: "flex-grow w-[49%] border border-gray pl-9 pt-9 pr-6 pb-6 mb-[14px] mx-[7px] even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "mr-4", children: [jsx("div", { className: "text-title-sm", children: _.title }), jsx("div", { className: "text-md font-light mt-[14px] max-w-[488px]", children: _.description })] }), _.bonusCount ? (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount }), jsx("span", { className: "text-[44px] bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })] })) : null] }) }, String(i)));
|
|
1045
1045
|
})
|
|
1046
1046
|
: null })] }) }));
|
|
1047
1047
|
});
|
|
@@ -1791,7 +1791,7 @@
|
|
|
1791
1791
|
transparent: 'text-white',
|
|
1792
1792
|
};
|
|
1793
1793
|
const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', hideTitle, }) => {
|
|
1794
|
-
return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '
|
|
1794
|
+
return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (jsx(SVG, { className: `${SVG_COLOR[bgColor]} w-10`, viewBox: "0 0 40 45", paths: LOGO_PATHS.map((d) => ({ d })) })), hideTitle ? null : renderTitle(children, bgColor, logo?.title)] }));
|
|
1795
1795
|
});
|
|
1796
1796
|
const renderTitle = (children, bgColor, title) => {
|
|
1797
1797
|
const text = children || title || 'Россельхозбанк';
|
|
@@ -1939,9 +1939,9 @@
|
|
|
1939
1939
|
..._,
|
|
1940
1940
|
flexBasis: `${_.month.length * colSize}%`,
|
|
1941
1941
|
}));
|
|
1942
|
-
return (jsxs("div", { className: "w-full flex flex-col justify-center mt-[54px]", children: [jsx("div", { className: "flex w-full mb-3 font-light text-m-title-md text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "font-light text-sm text-primary-text mt-3", children: [jsx("span", { children: _.
|
|
1942
|
+
return (jsxs("div", { className: "w-full flex flex-col justify-center mt-[54px]", children: [jsx("div", { className: "flex w-full mb-3 font-light text-m-title-md text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "font-light text-sm text-primary-text mt-3", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
|
|
1943
1943
|
};
|
|
1944
|
-
const renderMonthNames = (item, colSize) => item.month.map((_) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.
|
|
1944
|
+
const renderMonthNames = (item, colSize) => item.month.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
|
|
1945
1945
|
const renderMonthImages = (item) => item.month.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
|
|
1946
1946
|
|
|
1947
1947
|
const GroupBlockTabs = JSX((props) => {
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
const tabText = isActive ? 'text-white' : 'text-secondary-text group-hover:text-primary-main';
|
|
1956
1956
|
const counterBlockStyle = `${badgeStyle}
|
|
1957
1957
|
${isActive ? 'bg-white/30 text-white' : 'bg-secondary-light text-secondary-text'}`;
|
|
1958
|
-
return (jsx("div", { className: `flex h-full w-full h-12 flex-1 cursor-pointer mr-2 last:mr-0 box-content ${tabBg}`, role: "tab", onClick: () => onTabClick(tab.tag), "aria-selected": String(isActive), tag: tab?.tag, children: jsxs("div", { className: "flex flex-1 items-center justify-center", children: [tab?.title ? jsx("h3", { className: tabText, children: tab?.title }) : null, isShowCounter ? (jsx("div", { className: `flex items-center justify-center ml-8 ${counterBlockStyle}`, children: jsx("span", { children: tab.count }) })) : null] }) }, String(i)));
|
|
1958
|
+
return (jsx("div", { className: `flex h-full w-full h-12 flex-1 cursor-pointer mr-2 last:mr-0 box-content ${tabBg}`, role: "tab", onClick: () => onTabClick(tab.tag), "aria-selected": String(isActive), tag: tab?.tag, children: jsxs("div", { className: "flex flex-1 items-center justify-center", children: [tab?.title ? jsx("h3", { className: tabText, children: tab?.title }) : null, isShowCounter ? (jsx("div", { className: `flex items-center justify-center ml-8 text-s-bold ${counterBlockStyle}`, children: jsx("span", { children: tab.count }) })) : null] }) }, String(i)));
|
|
1959
1959
|
};
|
|
1960
1960
|
|
|
1961
1961
|
const EmbeddableGroupBlocks = {
|
|
@@ -2450,13 +2450,13 @@
|
|
|
2450
2450
|
styleMap.background,
|
|
2451
2451
|
styleMap.title,
|
|
2452
2452
|
className,
|
|
2453
|
-
].join(' '), id: anchor, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center", title: title }), steps?.length ? (jsxs("div", { className: `box-border ${title ? 'mt-9' : ''}`, children: [jsx("div", { className: "flex items-center px-[88px]", children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${!showLines ? 'opacity-0' : ''}` }))(steps.map(renderStepIcon(styleMap))) }), jsx("div", { className: `flex justify-between ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepTitle(styleMap, Boolean(button?.text))) })] })) : null, button?.text ? (jsx(Button, { className: "
|
|
2453
|
+
].join(' '), id: anchor, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center", title: title }), steps?.length ? (jsxs("div", { className: `box-border ${title ? 'mt-9' : ''}`, children: [jsx("div", { className: "flex items-center px-[88px]", children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${!showLines ? 'opacity-0' : ''}` }))(steps.map(renderStepIcon(styleMap))) }), jsx("div", { className: `flex justify-between ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepTitle(styleMap, Boolean(button?.text))) })] })) : null, button?.text ? (jsx(Button, { className: "mt-8 w-full max-w-[240px]", version: "primary", ...button })) : null] }));
|
|
2454
2454
|
});
|
|
2455
2455
|
const renderStepIcon = (styleMap) => ({ icon }, i) => {
|
|
2456
2456
|
return (jsx("div", { className: "flex flex-col items-center text-center relative", children: jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 ${styleMap.iconBackground}`, children: checkIsIconRenderable(icon) ? (jsx(Img, { image: icon, width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `font-normal text-title-sm ${styleMap.title}`, children: i + 1 })) }) }, String(i)));
|
|
2457
2457
|
};
|
|
2458
2458
|
const renderStepTitle = (styleMap, isMainButton) => (step, i) => {
|
|
2459
|
-
return (jsxs("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [jsxs("div", { children: [step.label ? jsx("div", { className: "font-normal text-xl m-0 mt-4", children: step.label }) : null, step.description ? (jsx("div", { className: `font-light text-base ${styleMap.description} ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description })) : null] }), step?.button?.text && !isMainButton ? (jsx(Button, { className: "box-border mt-8 py-3 h-12 w-full max-w-[240px]", version: "primary", href: step
|
|
2459
|
+
return (jsxs("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [jsxs("div", { children: [step.label ? jsx("div", { className: "font-normal text-xl m-0 mt-4", children: step.label }) : null, step.description ? (jsx("div", { className: `font-light text-base ${styleMap.description} ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description })) : null] }), step?.button?.text && !isMainButton ? (jsx(Button, { className: "box-border mt-8 py-3 h-12 w-full max-w-[240px]", version: "primary", href: step?.button?.href, children: step.button.text })) : null] }, String(i)));
|
|
2460
2460
|
};
|
|
2461
2461
|
|
|
2462
2462
|
const DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
|