@redneckz/wildless-cms-uni-blocks 0.3.62 → 0.3.64
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 +87 -26
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/AirPlane.svg +1 -0
- package/cosmos-static/icons/CarIcon.svg +1 -0
- package/cosmos-static/icons/CinemaIcon.svg +1 -0
- package/cosmos-static/icons/DocsIcon.svg +1 -0
- package/cosmos-static/icons/PowerIcon.svg +1 -0
- package/cosmos-static/icons/PumpkinIcon.svg +1 -0
- package/cosmos-static/icons/SoundIcon.svg +1 -0
- package/cosmos-static/icons/WateringCan.svg +1 -0
- package/dist/components/Accordion/Accordion.js +7 -2
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +3 -0
- package/dist/components/BaseTile/BaseTileProps.d.ts +1 -9
- package/dist/components/BenefitsBlock/BenefitsBlock.js +3 -3
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BlockContent.d.ts +2 -1
- package/dist/components/Blocks.d.ts +1 -0
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +14 -0
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +21 -0
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js +2 -0
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js.map +1 -0
- package/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
- package/dist/components/BonusBenefitsBlock/getElementsColsValue.js +17 -0
- package/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +1 -0
- package/dist/components/Headline/HeadlineContent.d.ts +1 -1
- package/dist/components/Headline/constants.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -2
- package/dist/components/OtherProducts/OtherProductsItem.js +10 -7
- package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +8 -3
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +7 -5
- package/dist/content-page-repository/ContentPageRepository.js +1 -1
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/icons/IconName.d.ts +22 -6
- package/dist/icons/IconName.js +18 -2
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/AlignType.d.ts +9 -0
- package/dist/model/AlignType.js +2 -0
- package/dist/model/AlignType.js.map +1 -0
- package/dist/model/VNode.d.ts +1 -0
- package/dist/model/VNode.js +2 -0
- package/dist/model/VNode.js.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/ui-kit/Foldable/Foldable.d.ts +20 -0
- package/dist/ui-kit/Foldable/Foldable.js +22 -0
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -0
- package/dist/ui-kit/Foldable/useActiveHandler.d.ts +11 -0
- package/dist/ui-kit/Foldable/useActiveHandler.js +22 -0
- package/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +1 -0
- package/lib/components/Accordion/Accordion.js +7 -2
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +3 -0
- package/lib/components/BaseTile/BaseTileProps.d.ts +1 -9
- package/lib/components/BenefitsBlock/BenefitsBlock.js +3 -3
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BlockContent.d.ts +2 -1
- package/lib/components/Blocks.d.ts +1 -0
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +4 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +12 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +21 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js +2 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js.map +1 -0
- package/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
- package/lib/components/BonusBenefitsBlock/getElementsColsValue.js +14 -0
- package/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +1 -0
- package/lib/components/Headline/HeadlineContent.d.ts +1 -1
- package/lib/components/Headline/constants.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -2
- package/lib/components/OtherProducts/OtherProductsItem.js +11 -8
- package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +8 -3
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +7 -5
- package/lib/content-page-repository/ContentPageRepository.js +1 -1
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/icons/IconName.d.ts +22 -6
- package/lib/icons/IconName.js +18 -2
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/AlignType.d.ts +9 -0
- package/lib/model/AlignType.js +2 -0
- package/lib/model/AlignType.js.map +1 -0
- package/lib/model/VNode.d.ts +1 -0
- package/lib/model/VNode.js +2 -0
- package/lib/model/VNode.js.map +1 -0
- package/lib/types.d.ts +1 -0
- package/lib/ui-kit/Foldable/Foldable.d.ts +20 -0
- package/lib/ui-kit/Foldable/Foldable.js +20 -0
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -0
- package/lib/ui-kit/Foldable/useActiveHandler.d.ts +11 -0
- package/lib/ui-kit/Foldable/useActiveHandler.js +19 -0
- package/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +18 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +3 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +1 -9
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +3 -3
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BlockContent.d.ts +2 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +14 -0
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +21 -0
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js +2 -0
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js.map +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
- package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js +17 -0
- package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +1 -0
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -1
- package/mobile/dist/components/Headline/constants.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -2
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js +10 -7
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +7 -5
- package/mobile/dist/content-page-repository/ContentPageRepository.js +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +22 -6
- package/mobile/dist/icons/IconName.js +18 -2
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/AlignType.d.ts +9 -0
- package/mobile/dist/model/AlignType.js +2 -0
- package/mobile/dist/model/AlignType.js.map +1 -0
- package/mobile/dist/model/VNode.d.ts +1 -0
- package/mobile/dist/model/VNode.js +2 -0
- package/mobile/dist/model/VNode.js.map +1 -0
- package/mobile/dist/types.d.ts +1 -0
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +20 -0
- package/mobile/dist/ui-kit/Foldable/Foldable.js +22 -0
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -0
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +11 -0
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +22 -0
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +3 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +1 -9
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +3 -3
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BlockContent.d.ts +2 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +12 -0
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +21 -0
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js +2 -0
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.js.map +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
- package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js +14 -0
- package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +1 -0
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -1
- package/mobile/lib/components/Headline/constants.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -2
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js +11 -8
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +7 -5
- package/mobile/lib/content-page-repository/ContentPageRepository.js +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +22 -6
- package/mobile/lib/icons/IconName.js +18 -2
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/AlignType.d.ts +9 -0
- package/mobile/lib/model/AlignType.js +2 -0
- package/mobile/lib/model/AlignType.js.map +1 -0
- package/mobile/lib/model/VNode.d.ts +1 -0
- package/mobile/lib/model/VNode.js +2 -0
- package/mobile/lib/model/VNode.js.map +1 -0
- package/mobile/lib/types.d.ts +1 -0
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +20 -0
- package/mobile/lib/ui-kit/Foldable/Foldable.js +20 -0
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -0
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +11 -0
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +19 -0
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +3 -0
- package/mobile/src/components/BaseTile/BaseTileProps.ts +1 -10
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +6 -8
- package/mobile/src/components/BlockContent.ts +3 -1
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +54 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +49 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +23 -0
- package/mobile/src/components/BonusBenefitsBlock/getElementsColsValue.ts +12 -0
- package/mobile/src/components/Headline/HeadlineContent.ts +1 -1
- package/mobile/src/components/Headline/constants.ts +1 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +1 -1
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +1 -1
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +33 -23
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +7 -5
- package/mobile/src/content-page-repository/ContentPageRepository.ts +1 -1
- package/mobile/src/icons/AirPlane.svg +98 -0
- package/mobile/src/icons/ArrowUpIcon.svg +1 -1
- package/mobile/src/icons/ArrowsRewindRight.svg +1 -1
- package/mobile/src/icons/CarIcon.svg +466 -0
- package/mobile/src/icons/CinemaIcon.svg +274 -0
- package/mobile/src/icons/DocsIcon.svg +238 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/PowerIcon.svg +135 -0
- package/mobile/src/icons/PumpkinIcon.svg +236 -0
- package/mobile/src/icons/SoundIcon.svg +113 -0
- package/mobile/src/icons/WateringCan.svg +497 -0
- package/mobile/src/model/AlignType.ts +9 -0
- package/mobile/src/model/VNode.ts +1 -0
- package/mobile/src/types.ts +1 -0
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +81 -0
- package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +34 -0
- package/package.json +1 -1
- package/src/components/Accordion/Accordion.fixture.tsx +24 -2
- package/src/components/Accordion/Accordion.tsx +23 -2
- package/src/components/Accordion/AccordionContent.ts +3 -0
- package/src/components/BaseTile/BaseTileProps.ts +1 -10
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +6 -8
- package/src/components/BlockContent.ts +3 -1
- package/src/components/Blocks.ts +2 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +54 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +50 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +49 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +23 -0
- package/src/components/BonusBenefitsBlock/getElementsColsValue.ts +12 -0
- package/src/components/Headline/HeadlineContent.ts +1 -1
- package/src/components/Headline/constants.ts +1 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/LinkDocs/LinkDocsContent.ts +1 -1
- package/src/components/OtherProducts/OtherProductsContent.ts +1 -1
- package/src/components/OtherProducts/OtherProductsItem.tsx +33 -23
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +4 -1
- package/src/components/TariffsTable/TariffsTable.tsx +55 -18
- package/src/components/TariffsTable/TariffsTableContent.ts +7 -5
- package/src/content-page-repository/ContentPageRepository.ts +1 -1
- package/src/icons/AirPlane.svg +98 -0
- package/src/icons/ArrowUpIcon.svg +1 -1
- package/src/icons/ArrowsRewindRight.svg +1 -1
- package/src/icons/CarIcon.svg +466 -0
- package/src/icons/CinemaIcon.svg +274 -0
- package/src/icons/DocsIcon.svg +238 -0
- package/src/icons/IconName.ts +28 -4
- package/src/icons/PowerIcon.svg +135 -0
- package/src/icons/PumpkinIcon.svg +236 -0
- package/src/icons/SoundIcon.svg +113 -0
- package/src/icons/WateringCan.svg +497 -0
- package/src/model/AlignType.ts +9 -0
- package/src/model/VNode.ts +1 -0
- package/src/types.ts +1 -0
- package/src/ui-kit/Foldable/Foldable.tsx +81 -0
- package/src/ui-kit/Foldable/useActiveHandler.ts +34 -0
- package/dist/components/OtherProducts/OtherProductsItemInner.d.ts +0 -2
- package/dist/components/OtherProducts/OtherProductsItemInner.js +0 -10
- package/dist/components/OtherProducts/OtherProductsItemInner.js.map +0 -1
- package/dist/components/OtherProducts/useActiveHandler.d.ts +0 -7
- package/dist/components/OtherProducts/useActiveHandler.js +0 -21
- package/dist/components/OtherProducts/useActiveHandler.js.map +0 -1
- package/lib/components/OtherProducts/OtherProductsItemInner.d.ts +0 -2
- package/lib/components/OtherProducts/OtherProductsItemInner.js +0 -8
- package/lib/components/OtherProducts/OtherProductsItemInner.js.map +0 -1
- package/lib/components/OtherProducts/useActiveHandler.d.ts +0 -7
- package/lib/components/OtherProducts/useActiveHandler.js +0 -18
- package/lib/components/OtherProducts/useActiveHandler.js.map +0 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItemInner.d.ts +0 -2
- package/mobile/dist/components/OtherProducts/OtherProductsItemInner.js +0 -10
- package/mobile/dist/components/OtherProducts/OtherProductsItemInner.js.map +0 -1
- package/mobile/dist/components/OtherProducts/useActiveHandler.d.ts +0 -7
- package/mobile/dist/components/OtherProducts/useActiveHandler.js +0 -21
- package/mobile/dist/components/OtherProducts/useActiveHandler.js.map +0 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItemInner.d.ts +0 -2
- package/mobile/lib/components/OtherProducts/OtherProductsItemInner.js +0 -8
- package/mobile/lib/components/OtherProducts/OtherProductsItemInner.js.map +0 -1
- package/mobile/lib/components/OtherProducts/useActiveHandler.d.ts +0 -7
- package/mobile/lib/components/OtherProducts/useActiveHandler.js +0 -18
- package/mobile/lib/components/OtherProducts/useActiveHandler.js.map +0 -1
- package/mobile/src/components/OtherProducts/OtherProductsItemInner.tsx +0 -14
- package/mobile/src/components/OtherProducts/useActiveHandler.ts +0 -24
- package/src/components/OtherProducts/OtherProductsItemInner.tsx +0 -14
- package/src/components/OtherProducts/useActiveHandler.ts +0 -24
package/bundle/bundle.umd.js
CHANGED
|
@@ -208,6 +208,7 @@
|
|
|
208
208
|
var IconMap;
|
|
209
209
|
(function (IconMap) {
|
|
210
210
|
IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
|
|
211
|
+
IconMap["AirPlane"] = "AirPlane";
|
|
211
212
|
IconMap["AppleIcon"] = "AppleIcon";
|
|
212
213
|
IconMap["ArrowDownIcon"] = "ArrowDownIcon";
|
|
213
214
|
IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
|
|
@@ -226,7 +227,9 @@
|
|
|
226
227
|
IconMap["CardPosIcon"] = "CardPosIcon";
|
|
227
228
|
IconMap["CardTickIcon"] = "CardTickIcon";
|
|
228
229
|
IconMap["CardWithGemIcon"] = "CardWithGemIcon";
|
|
230
|
+
IconMap["CarIcon"] = "CarIcon";
|
|
229
231
|
IconMap["ChartSquareIcon"] = "ChartSquareIcon";
|
|
232
|
+
IconMap["CinemaIcon"] = "CinemaIcon";
|
|
230
233
|
IconMap["ClockIcon"] = "ClockIcon";
|
|
231
234
|
IconMap["CloseIcon"] = "CloseIcon";
|
|
232
235
|
IconMap["ComfortableCompIcon"] = "ComfortableCompIcon";
|
|
@@ -234,6 +237,7 @@
|
|
|
234
237
|
IconMap["DiscountShapeIcon"] = "DiscountShapeIcon";
|
|
235
238
|
IconMap["DocIcon"] = "DocIcon";
|
|
236
239
|
IconMap["DocIconMonoColor"] = "DocIconMonoColor";
|
|
240
|
+
IconMap["DocsIcon"] = "DocsIcon";
|
|
237
241
|
IconMap["DocumentTextIcon"] = "DocumentTextIcon";
|
|
238
242
|
IconMap["DollarIcon"] = "DollarIcon";
|
|
239
243
|
IconMap["EarthIcon"] = "EarthIcon";
|
|
@@ -267,13 +271,16 @@
|
|
|
267
271
|
IconMap["PersonalCardIcon"] = "PersonalCardIcon";
|
|
268
272
|
IconMap["PlayMarketIcon"] = "PlayMarketIcon";
|
|
269
273
|
IconMap["PlusIcon"] = "PlusIcon";
|
|
274
|
+
IconMap["PowerIcon"] = "PowerIcon";
|
|
270
275
|
IconMap["Profile2UserIcon"] = "Profile2UserIcon";
|
|
271
276
|
IconMap["ProfileIcon"] = "ProfileIcon";
|
|
277
|
+
IconMap["PumpkinIcon"] = "PumpkinIcon";
|
|
272
278
|
IconMap["RoundRubleIcon"] = "RoundRubleIcon";
|
|
273
279
|
IconMap["SafeIcon"] = "SafeIcon";
|
|
274
280
|
IconMap["ShieldTickIcon"] = "ShieldTickIcon";
|
|
275
281
|
IconMap["SignDocsIcon"] = "SignDocsIcon";
|
|
276
282
|
IconMap["SmallClockIcon"] = "SmallClockIcon";
|
|
283
|
+
IconMap["SoundIcon"] = "SoundIcon";
|
|
277
284
|
IconMap["TelegramIcon"] = "TelegramIcon";
|
|
278
285
|
IconMap["UnionPayIcon"] = "UnionPayIcon";
|
|
279
286
|
IconMap["UserTickIcon"] = "UserTickIcon";
|
|
@@ -283,15 +290,17 @@
|
|
|
283
290
|
IconMap["WalletAddIcon"] = "WalletAddIcon";
|
|
284
291
|
IconMap["WalletIcon"] = "WalletIcon";
|
|
285
292
|
IconMap["WalletWithMoneyIcon"] = "WalletWithMoneyIcon";
|
|
293
|
+
IconMap["WateringCan"] = "WateringCan";
|
|
286
294
|
})(IconMap || (IconMap = {}));
|
|
287
295
|
var IconTitleMap;
|
|
288
296
|
(function (IconTitleMap) {
|
|
289
297
|
IconTitleMap["ActualBalanceIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
|
|
298
|
+
IconTitleMap["AirPlane"] = "\u0421\u0430\u043C\u043E\u043B\u0435\u0442";
|
|
290
299
|
IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
|
|
291
300
|
IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
|
|
292
301
|
IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
|
|
293
|
-
IconTitleMap["ArrowsRewindRight"] = "
|
|
294
|
-
IconTitleMap["ArrowUpIcon"] = "
|
|
302
|
+
IconTitleMap["ArrowsRewindRight"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
|
|
303
|
+
IconTitleMap["ArrowUpIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445";
|
|
295
304
|
IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
|
|
296
305
|
IconTitleMap["BankIcon"] = "\u0411\u0430\u043D\u043A";
|
|
297
306
|
IconTitleMap["BurgerIcon"] = "\u0411\u0443\u0440\u0433\u0435\u0440";
|
|
@@ -305,7 +314,9 @@
|
|
|
305
314
|
IconTitleMap["CardPosIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u043F\u043E\u0434 \u043D\u0430\u043A\u043B\u043E\u043D\u043E\u043C";
|
|
306
315
|
IconTitleMap["CardTickIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
|
|
307
316
|
IconTitleMap["CardWithGemIcon"] = "\u041A\u0430\u0440\u0442\u0430 \u0441 \u0434\u0440\u0430\u0433\u043E\u0446\u0435\u043D\u043D\u043E\u0441\u0442\u044F\u043C\u0438";
|
|
317
|
+
IconTitleMap["CarIcon"] = "\u041C\u0430\u0448\u0438\u043D\u0430";
|
|
308
318
|
IconTitleMap["ChartSquareIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438 \u0432\u043D\u0443\u0442\u0440\u0438 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430";
|
|
319
|
+
IconTitleMap["CinemaIcon"] = "\u041A\u0438\u043D\u043E";
|
|
309
320
|
IconTitleMap["ClockIcon"] = "\u0427\u0430\u0441\u044B";
|
|
310
321
|
IconTitleMap["CloseIcon"] = "\u041A\u0440\u0435\u0441\u0442\u0438\u043A";
|
|
311
322
|
IconTitleMap["ComfortableCompIcon"] = "\u041A\u0440\u0435\u0441\u043B\u043E";
|
|
@@ -313,6 +324,7 @@
|
|
|
313
324
|
IconTitleMap["DiscountShapeIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
|
|
314
325
|
IconTitleMap["DocIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
|
|
315
326
|
IconTitleMap["DocIconMonoColor"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 (\u043E\u0434\u043D\u043E\u0446\u0432\u0435\u0442\u043D\u044B\u0439)";
|
|
327
|
+
IconTitleMap["DocsIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
|
|
316
328
|
IconTitleMap["DocumentTextIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441 \u0442\u0435\u043A\u0441\u0442\u043E\u043C";
|
|
317
329
|
IconTitleMap["DollarIcon"] = "\u0414\u043E\u043B\u043B\u0430\u0440";
|
|
318
330
|
IconTitleMap["EarthIcon"] = "\u0417\u0435\u043C\u043B\u044F";
|
|
@@ -346,13 +358,16 @@
|
|
|
346
358
|
IconTitleMap["PersonalCardIcon"] = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430";
|
|
347
359
|
IconTitleMap["PlayMarketIcon"] = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB";
|
|
348
360
|
IconTitleMap["PlusIcon"] = "\u041F\u043B\u044E\u0441";
|
|
361
|
+
IconTitleMap["PowerIcon"] = "\u0429\u0438\u0442";
|
|
349
362
|
IconTitleMap["Profile2UserIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C, 2 \u043F\u0435\u0440\u0441\u043E\u043D\u044B";
|
|
350
363
|
IconTitleMap["ProfileIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C";
|
|
364
|
+
IconTitleMap["PumpkinIcon"] = "\u0422\u044B\u043A\u0432\u0430";
|
|
351
365
|
IconTitleMap["RoundRubleIcon"] = "\u0420\u0443\u0431\u043B\u044C (\u043A\u0440\u0443\u0433.)";
|
|
352
366
|
IconTitleMap["SafeIcon"] = "\u0421\u0435\u0439\u0444";
|
|
353
367
|
IconTitleMap["ShieldTickIcon"] = "\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C";
|
|
354
368
|
IconTitleMap["SignDocsIcon"] = "\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
|
|
355
369
|
IconTitleMap["SmallClockIcon"] = "\u041C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0435 \u0447\u0430\u0441\u044B";
|
|
370
|
+
IconTitleMap["SoundIcon"] = "\u0417\u0432\u0443\u043A";
|
|
356
371
|
IconTitleMap["TelegramIcon"] = "\u041B\u043E\u0433\u043E \u00ABTelegram\u00BB";
|
|
357
372
|
IconTitleMap["UnionPayIcon"] = "UnionPay";
|
|
358
373
|
IconTitleMap["UserTickIcon"] = "\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C";
|
|
@@ -362,6 +377,7 @@
|
|
|
362
377
|
IconTitleMap["WalletAddIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u043F\u043B\u044E\u0441\u043E\u043C";
|
|
363
378
|
IconTitleMap["WalletIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A";
|
|
364
379
|
IconTitleMap["WalletWithMoneyIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0434\u0435\u043D\u044C\u0433\u0430\u043C\u0438";
|
|
380
|
+
IconTitleMap["WateringCan"] = "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0434\u0443\u043A\u0442";
|
|
365
381
|
})(IconTitleMap || (IconTitleMap = {}));
|
|
366
382
|
|
|
367
383
|
const projectSettings = new (class {
|
|
@@ -990,15 +1006,20 @@
|
|
|
990
1006
|
`, onClick: handleToggle, children: [jsx("span", { className: `text-xl pr-2.5 font-medium`, children: label }), hasContent ? (jsx(Img, { image: icon, className: "text-primary-main", width: "24", height: "24", asSVG: true })) : null] }), hasContent ? (jsx(AccordionItemInner, { isExpanded: isActive, blocks: blocks, context: context })) : null] }));
|
|
991
1007
|
});
|
|
992
1008
|
|
|
993
|
-
const
|
|
994
|
-
|
|
1009
|
+
const ALIGN_TITLE = {
|
|
1010
|
+
left: 'text-left',
|
|
1011
|
+
center: 'text-center',
|
|
1012
|
+
right: 'text-right',
|
|
1013
|
+
};
|
|
1014
|
+
const Accordion = JSX(({ title, description, accordionItems, context, className = '', anchor = null, accordionAlignTitle = 'center', }) => {
|
|
1015
|
+
return (jsxs("section", { className: `p-[50px] font-sans bg-white text-primary-text ${className}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h4", className: `mb-2.5 ${ALIGN_TITLE[accordionAlignTitle]}`, title: title })) : null, description ? jsx("div", { className: "mb-2.5 text-base", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context }, `AccordionItem${i}`))) })) : null] }));
|
|
995
1016
|
});
|
|
996
1017
|
|
|
997
|
-
const BenefitsBlock = JSX(({ className, title, benefits, anchor = null }) => {
|
|
998
|
-
return (jsxs("section", { className: `font-sans text-primary-text bg-white p-12 flex flex-col items-center ${className
|
|
1018
|
+
const BenefitsBlock = JSX(({ className = '', title, benefits, anchor = null }) => {
|
|
1019
|
+
return (jsxs("section", { className: `font-sans text-primary-text bg-white p-12 flex flex-col items-center ${className}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefits?.length ? (jsx("div", { className: "grid grid-cols-2 gap-8 mt-9", children: benefits.map(renderStep) })) : null] }));
|
|
999
1020
|
});
|
|
1000
1021
|
const renderStep = (benefit, i) => {
|
|
1001
|
-
return (jsxs("div", { className: "flex items-center gap-5 max-w-[500px]", children: [benefit
|
|
1022
|
+
return (jsxs("div", { className: "flex items-center gap-5 max-w-[500px]", children: [benefit?.icon ? (jsx(Img, { className: "h-[70px] w-[70px] min-w-[70px] min-h-[70px]", image: benefit.icon, width: "70", height: "70" })) : null, jsxs("div", { children: [benefit?.label ? jsx("h3", { className: "font-medium text-xl m-0", children: benefit.label }) : null, benefit?.description ? (jsx("div", { className: "font-normal text-sm mt-2", children: benefit.description })) : null] })] }, String(i)));
|
|
1002
1023
|
};
|
|
1003
1024
|
|
|
1004
1025
|
const Bonus = JSX((props) => {
|
|
@@ -2085,36 +2106,51 @@
|
|
|
2085
2106
|
return (jsx(NavigatorTabItem, { active: active, ...useLink({ router, handlerDecorator }, tab) }, tab.href));
|
|
2086
2107
|
};
|
|
2087
2108
|
|
|
2088
|
-
const
|
|
2089
|
-
|
|
2090
|
-
return (jsx("div", { className: "transition-all duration-300 max-h-0 overflow-hidden", children: jsx("div", { className: `box-border w-full p-9 ${columns > 1 ? 'flex flex-wrap' : ''}`, children: renderBlocksList({ context, className, columns, blocks }) }) }));
|
|
2091
|
-
});
|
|
2092
|
-
|
|
2093
|
-
const useActiveHandler = ({ context, blocks, initialState = false }) => {
|
|
2109
|
+
const foldableBlockClassNames = 'transition-all duration-300 max-h-0 overflow-hidden';
|
|
2110
|
+
const useActiveHandler = ({ context, initialState = false }) => {
|
|
2094
2111
|
const [isActive, setIsActive] = context.useState(initialState);
|
|
2095
|
-
const hasContent = blocks?.length;
|
|
2096
2112
|
const icon = isActive ? 'ArrowUpIcon' : 'ArrowDownIcon';
|
|
2097
|
-
const getContentBlock = ({ currentTarget }) => currentTarget.previousSibling;
|
|
2098
2113
|
const handleToggle = (e) => {
|
|
2099
|
-
|
|
2114
|
+
const currentTarget = e.currentTarget;
|
|
2115
|
+
if (!currentTarget) {
|
|
2100
2116
|
return;
|
|
2101
2117
|
}
|
|
2102
2118
|
setIsActive(!isActive);
|
|
2103
|
-
const
|
|
2119
|
+
const wrapperBlock = currentTarget.previousSibling;
|
|
2120
|
+
const contentBlock = wrapperBlock.getElementsByClassName(foldableBlockClassNames)[0];
|
|
2104
2121
|
contentBlock.style.maxHeight = contentBlock.style.maxHeight
|
|
2105
|
-
?
|
|
2122
|
+
? ''
|
|
2106
2123
|
: `${contentBlock.scrollHeight}px`;
|
|
2107
2124
|
};
|
|
2108
|
-
return {
|
|
2125
|
+
return { icon, handleToggle, isActive };
|
|
2126
|
+
};
|
|
2127
|
+
|
|
2128
|
+
const Foldable = JSX(({ blocks = [], context, hiddenBlocksNum = 0, foldButtonClasses, foldButtonLabel, foldButtonDataTheme, isUnfolded, render = (_) => _, }) => {
|
|
2129
|
+
const blocksToHide = clamp(hiddenBlocksNum, 0, blocks.length);
|
|
2130
|
+
const { icon, handleToggle, isActive } = useActiveHandler({
|
|
2131
|
+
context,
|
|
2132
|
+
initialState: isUnfolded,
|
|
2133
|
+
});
|
|
2134
|
+
return blocks ? (jsxs("div", { children: [renderBlocks(blocks, render, { blocksToHide, isActive }), hiddenBlocksNum ? (jsxs("button", { className: foldButtonClasses ||
|
|
2135
|
+
'border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer', "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: isActive ? 'Скрыть' : foldButtonLabel }), jsx(Icon, { name: icon, width: "20", height: "20", asSVG: true })] })) : null] })) : null;
|
|
2136
|
+
});
|
|
2137
|
+
const renderBlocks = (blocks, render, { blocksToHide, isActive }) => {
|
|
2138
|
+
const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
|
|
2139
|
+
const hiddenBlocks = blocks.slice(-blocksToHide);
|
|
2140
|
+
return render(jsxs("div", { children: [visibleBlocks, jsx("div", { className: foldableBlockClassNames, children: hiddenBlocks })] }), isActive);
|
|
2109
2141
|
};
|
|
2110
2142
|
|
|
2111
|
-
const OtherProductsItem = JSX(({ label,
|
|
2112
|
-
const
|
|
2143
|
+
const OtherProductsItem = JSX(({ label, blocks, columns = 1, context, dataTheme, isUnfolded }) => {
|
|
2144
|
+
const foldableBlocks = renderBlocksList({
|
|
2113
2145
|
context,
|
|
2146
|
+
className: 'box-border p-5',
|
|
2147
|
+
columns,
|
|
2114
2148
|
blocks,
|
|
2115
|
-
initialState: isExpanded,
|
|
2116
2149
|
});
|
|
2117
|
-
return (
|
|
2150
|
+
return (jsx("div", { className: "border-0 border-b border-solid border-main-divider", children: blocks?.length ? (jsx(Foldable, { foldButtonDataTheme: dataTheme, hiddenBlocksNum: blocks?.length, blocks: foldableBlocks, isUnfolded: isUnfolded, context: context, foldButtonLabel: label, render: (children, isActive) => (jsx(Wrapper$1, { columns: columns, isActive: isActive, children: children })) })) : null }));
|
|
2151
|
+
});
|
|
2152
|
+
const Wrapper$1 = JSX(({ columns, children, isActive }) => {
|
|
2153
|
+
return (jsx("div", { className: `box-border w-full ${isActive ? 'p-9' : ''} ${columns > 1 ? 'flex flex-wrap' : ''}`, children: children }));
|
|
2118
2154
|
});
|
|
2119
2155
|
|
|
2120
2156
|
const OtherProducts = JSX(({ blockItems, colorPalette, context, className = '' }) => {
|
|
@@ -2262,7 +2298,7 @@
|
|
|
2262
2298
|
return (jsxs(TableRowContainer, { children: [jsx("div", { className: `text-sm py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: jsxs("div", { className: "flex items-center text-primary-text", children: [header?.icon ? (jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", image: header.icon, width: "24px", height: "24px", asSVG: true })) : null, header?.title] }) }), data?.length ? (jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cell, i) => (jsx(TariffsTableCell, { cell: cell, isLastRow: isLastRow }, String(i)))) })) : null] }));
|
|
2263
2299
|
});
|
|
2264
2300
|
|
|
2265
|
-
const TariffsTable = JSX(({ className, context, title, description, rowHeaders, columns, anchor = null }) => {
|
|
2301
|
+
const TariffsTable = JSX(({ className, context, title, description, rowHeaders, columns, anchor = null, hiddenRowsNum = 0, }) => {
|
|
2266
2302
|
const [activeCardIndex, setActiveCardIndex] = context.useState(0);
|
|
2267
2303
|
const colData = getColData(columns);
|
|
2268
2304
|
const rowData = getRowData(rowHeaders, colData);
|
|
@@ -2272,14 +2308,18 @@
|
|
|
2272
2308
|
activeCardIndex,
|
|
2273
2309
|
setActiveCardIndex,
|
|
2274
2310
|
});
|
|
2275
|
-
const {
|
|
2276
|
-
return (jsxs("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2.5' : 'mb-9'}`, title: title })) : null, description ? jsx("div", { className: "mb-9 text-center text-m-base", children: description }) : null, rowData?.length ? (
|
|
2311
|
+
const foldableBlocks = rowData?.map((row, i, { length }) => (jsx(TariffsTableRow, { row: row, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex }, String(i))));
|
|
2312
|
+
return (jsxs("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2.5' : 'mb-9'}`, title: title })) : null, description ? jsx("div", { className: "mb-9 text-center text-m-base", children: description }) : null, rowData?.length ? (jsx(Foldable, { blocks: foldableBlocks, hiddenBlocksNum: hiddenRowsNum, context: context, render: (children) => (jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: children })), foldButtonLabel: "\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C" })) : null] }));
|
|
2277
2313
|
});
|
|
2278
2314
|
const getColData = (columns) => columns?.map(({ data }) => data) || [];
|
|
2279
2315
|
const getRowData = (rowHeaders, colData) => rowHeaders?.map((header, i) => ({
|
|
2280
2316
|
header,
|
|
2281
2317
|
data: colData.map((col) => col?.[i] || [{}]),
|
|
2282
2318
|
}));
|
|
2319
|
+
const Wrapper = JSX(({ children, tableArrowScrollControlProps }) => {
|
|
2320
|
+
const { isScrollAvailable } = tableArrowScrollControlProps;
|
|
2321
|
+
return (jsxs("div", { role: "table", children: [jsxs("div", { className: "relative", children: [children, jsx(TableArrowScrollControl, { ...tableArrowScrollControlProps })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
|
|
2322
|
+
});
|
|
2283
2323
|
|
|
2284
2324
|
const GroupBlockTabs = JSX((props) => {
|
|
2285
2325
|
const { tabs, currentTag, onTabClick, className = '', isShowCounter = true } = props;
|
|
@@ -2333,6 +2373,26 @@
|
|
|
2333
2373
|
return (jsxs("section", { id: anchor, className: `box-border gap-1 h-12 ${className}`, children: [tabsNewMap?.length ? (jsx(GroupBlockTabs, { currentTag: currentTag, onTabClick: setCurrentTag, tabs: tabsNewMap })) : null, groupBlocks.length ? (jsx(GroupBlocksItem, { context: context, groupBlocks: filteredBlocks })) : null] }));
|
|
2334
2374
|
});
|
|
2335
2375
|
|
|
2376
|
+
function getElementsColsValue(className = '') {
|
|
2377
|
+
const colSpan = getColSpan(className);
|
|
2378
|
+
if (colSpan <= 6) {
|
|
2379
|
+
return 'grid-cols-2';
|
|
2380
|
+
}
|
|
2381
|
+
else if (colSpan <= 8) {
|
|
2382
|
+
return 'grid-cols-3';
|
|
2383
|
+
}
|
|
2384
|
+
else {
|
|
2385
|
+
return 'grid-cols-4';
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
const BonusBenefitsBlock = JSX(({ className = '', title, subtitle, bonusBenefits, anchor = null }) => {
|
|
2390
|
+
return (jsxs("section", { className: `font-sans text-primary-text bg-white p-50 flex flex-col ${className}`, id: anchor, children: [title ? (jsx(Heading, { headingType: "h3", className: "text-center mb-[10px]", title: title })) : null, subtitle ? jsx("span", { className: "text-md font-normal text-center", children: subtitle }) : null, bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${getElementsColsValue(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] }));
|
|
2391
|
+
});
|
|
2392
|
+
const renderBonusBenefit = (bonusBenefit, i) => {
|
|
2393
|
+
return (jsxs("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? (jsx(Img, { className: "h-[180px] w-[160px] min-w-[160px] min-h-[160px]", image: bonusBenefit.icon, width: "160", height: "180" })) : null, jsx("div", { children: bonusBenefit?.label ? (jsx("span", { className: "title-2xs text-center m-0", children: bonusBenefit.label })) : null })] }, String(i)));
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2336
2396
|
const Blocks = {
|
|
2337
2397
|
Accordion,
|
|
2338
2398
|
BenefitsBlock,
|
|
@@ -2365,6 +2425,7 @@
|
|
|
2365
2425
|
Navigation,
|
|
2366
2426
|
Placeholder,
|
|
2367
2427
|
GroupBlock,
|
|
2428
|
+
BonusBenefitsBlock,
|
|
2368
2429
|
};
|
|
2369
2430
|
|
|
2370
2431
|
const changeHashOnScroll = (router, blocks) => {
|