@redneckz/wildless-cms-uni-blocks 0.10.6 → 0.10.8
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 +255 -304
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/Rate.d.ts +1 -0
- package/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
- package/bundle/components/Calculator/renderDaysInput.d.ts +2 -7
- package/bundle/components/Calculator/renderInterestPayment.d.ts +2 -9
- package/bundle/components/Calculator/renderMonthsInput.d.ts +3 -5
- package/bundle/components/Calculator/renderPaymentType.d.ts +2 -11
- package/bundle/components/Calculator/renderRegistrationType.d.ts +2 -9
- package/bundle/components/Calculator/renderWantedSumInput.d.ts +3 -7
- package/bundle/components/Carousel/itemsGap.d.ts +1 -0
- package/bundle/components/Carousel/itemsGap.mobile.d.ts +1 -0
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.d.ts +5 -0
- package/bundle/components/CarouselRecommendationCard/cardStyle.d.ts +1 -0
- package/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
- package/bundle/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +1 -0
- package/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
- package/bundle/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +1 -0
- package/bundle/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
- package/bundle/components/Headline/headlineVersionStyles.d.ts +1 -1
- package/bundle/components/Tabs/CenteredTabs.d.ts +7 -0
- package/bundle/components/Tabs/LinkTab.d.ts +2 -2
- package/bundle/components/Tabs/TabsContent.d.ts +3 -2
- package/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
- package/bundle/components/Tabs/renderTab.d.ts +3 -3
- package/bundle/components/Tabs/tabItemClasses.d.ts +3 -2
- package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/bundle/ui-kit/InputRange/parseDecimal.d.ts +1 -0
- package/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/Blocks.mobile.js +6 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +16 -18
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +4 -4
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +27 -43
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +30 -33
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Rate.d.ts +1 -0
- package/dist/components/Calculator/Rate.js +1 -1
- package/dist/components/Calculator/Rate.js.map +1 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js +8 -0
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/dist/components/Calculator/renderDaysInput.d.ts +2 -7
- package/dist/components/Calculator/renderDaysInput.js +2 -9
- package/dist/components/Calculator/renderDaysInput.js.map +1 -1
- package/dist/components/Calculator/renderInterestPayment.d.ts +2 -9
- package/dist/components/Calculator/renderInterestPayment.js +8 -18
- package/dist/components/Calculator/renderInterestPayment.js.map +1 -1
- package/dist/components/Calculator/renderMonthsInput.d.ts +3 -5
- package/dist/components/Calculator/renderMonthsInput.js +2 -10
- package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/dist/components/Calculator/renderPaymentType.d.ts +2 -11
- package/dist/components/Calculator/renderPaymentType.js +9 -19
- package/dist/components/Calculator/renderPaymentType.js.map +1 -1
- package/dist/components/Calculator/renderRegistrationType.d.ts +2 -9
- package/dist/components/Calculator/renderRegistrationType.js +8 -18
- package/dist/components/Calculator/renderRegistrationType.js.map +1 -1
- package/dist/components/Calculator/renderWantedSumInput.d.ts +3 -7
- package/dist/components/Calculator/renderWantedSumInput.js +4 -6
- package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/dist/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +3 -3
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/itemsGap.d.ts +1 -0
- package/dist/components/Carousel/itemsGap.js +4 -0
- package/dist/components/Carousel/itemsGap.js.map +1 -0
- package/dist/components/Carousel/itemsGap.mobile.d.ts +1 -0
- package/dist/components/Carousel/itemsGap.mobile.js +4 -0
- package/dist/components/Carousel/itemsGap.mobile.js.map +1 -0
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +2 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.d.ts +5 -0
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +17 -0
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -0
- package/dist/components/CarouselRecommendationCard/cardStyle.d.ts +1 -0
- package/dist/components/CarouselRecommendationCard/cardStyle.js +4 -0
- package/dist/components/CarouselRecommendationCard/cardStyle.js.map +1 -0
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
- package/dist/components/CarouselTariffsCard/descriptionSize.js +4 -0
- package/dist/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
- package/dist/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +1 -0
- package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js +4 -0
- package/dist/components/CarouselTariffsCard/descriptionSize.mobile.js.map +1 -0
- package/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
- package/dist/components/CarouselTariffsCard/getPaddingStyle.js +5 -0
- package/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +1 -0
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +5 -0
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -0
- package/dist/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
- package/dist/components/CarouselTariffsCard/renderCardInfo.js +12 -0
- package/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/SocialMedia.mobile.js +1 -1
- package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.js +2 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/headlineVersionStyles.d.ts +1 -1
- package/dist/components/Headline/headlineVersionStyles.js +6 -6
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/Tabs/CenteredTabs.d.ts +7 -0
- package/dist/components/Tabs/CenteredTabs.js +7 -0
- package/dist/components/Tabs/CenteredTabs.js.map +1 -0
- package/dist/components/Tabs/LinkTab.d.ts +2 -2
- package/dist/components/Tabs/LinkTab.js +2 -2
- package/dist/components/Tabs/LinkTab.js.map +1 -1
- package/dist/components/Tabs/ScrollableTabs.js +3 -9
- package/dist/components/Tabs/ScrollableTabs.js.map +1 -1
- package/dist/components/Tabs/Tabs.js +14 -7
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +3 -2
- package/dist/components/Tabs/renderGroupTab.d.ts +2 -2
- package/dist/components/Tabs/renderGroupTab.js +4 -4
- package/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/dist/components/Tabs/renderTab.d.ts +3 -3
- package/dist/components/Tabs/renderTab.js +3 -3
- package/dist/components/Tabs/renderTab.js.map +1 -1
- package/dist/components/Tabs/tabItemClasses.d.ts +3 -2
- package/dist/components/Tabs/tabItemClasses.js +26 -10
- package/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/dist/hooks/useForm.js +2 -2
- package/dist/hooks/useForm.js.map +1 -1
- package/dist/hooks/useLink.js +1 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +4 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +22 -16
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/dist/ui-kit/InputRange/parseDecimal.d.ts +1 -0
- package/dist/ui-kit/InputRange/parseDecimal.js +9 -0
- package/dist/ui-kit/InputRange/parseDecimal.js.map +1 -0
- package/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
- package/dist/ui-kit/InputRange/renderRangeWithTicks.js +17 -0
- package/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
- package/dist/utils/getSanitizedValue.js +1 -1
- package/dist/utils/getSanitizedValue.js.map +1 -1
- package/dist/wlc.json +1 -2
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/Blocks.mobile.js +6 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +16 -18
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +4 -4
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +27 -43
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +31 -34
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Rate.d.ts +1 -0
- package/lib/components/Calculator/Rate.js +1 -1
- package/lib/components/Calculator/Rate.js.map +1 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js +5 -0
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/lib/components/Calculator/renderDaysInput.d.ts +2 -7
- package/lib/components/Calculator/renderDaysInput.js +2 -9
- package/lib/components/Calculator/renderDaysInput.js.map +1 -1
- package/lib/components/Calculator/renderInterestPayment.d.ts +2 -9
- package/lib/components/Calculator/renderInterestPayment.js +8 -18
- package/lib/components/Calculator/renderInterestPayment.js.map +1 -1
- package/lib/components/Calculator/renderMonthsInput.d.ts +3 -5
- package/lib/components/Calculator/renderMonthsInput.js +2 -10
- package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/lib/components/Calculator/renderPaymentType.d.ts +2 -11
- package/lib/components/Calculator/renderPaymentType.js +8 -18
- package/lib/components/Calculator/renderPaymentType.js.map +1 -1
- package/lib/components/Calculator/renderRegistrationType.d.ts +2 -9
- package/lib/components/Calculator/renderRegistrationType.js +8 -18
- package/lib/components/Calculator/renderRegistrationType.js.map +1 -1
- package/lib/components/Calculator/renderWantedSumInput.d.ts +3 -7
- package/lib/components/Calculator/renderWantedSumInput.js +4 -6
- package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/lib/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +11 -0
- package/lib/components/Carousel/Carousel.js +2 -2
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/itemsGap.d.ts +1 -0
- package/lib/components/Carousel/itemsGap.js +2 -0
- package/lib/components/Carousel/itemsGap.js.map +1 -0
- package/lib/components/Carousel/itemsGap.mobile.d.ts +1 -0
- package/lib/components/Carousel/itemsGap.mobile.js +2 -0
- package/lib/components/Carousel/itemsGap.mobile.js.map +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.d.ts +16 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.d.ts +5 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +15 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -0
- package/lib/components/CarouselRecommendationCard/cardStyle.d.ts +1 -0
- package/lib/components/CarouselRecommendationCard/cardStyle.js +2 -0
- package/lib/components/CarouselRecommendationCard/cardStyle.js.map +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +9 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/descriptionSize.js +2 -0
- package/lib/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
- package/lib/components/CarouselTariffsCard/descriptionSize.mobile.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js +2 -0
- package/lib/components/CarouselTariffsCard/descriptionSize.mobile.js.map +1 -0
- package/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/getPaddingStyle.js +2 -0
- package/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +2 -0
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -0
- package/lib/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
- package/lib/components/CarouselTariffsCard/renderCardInfo.js +9 -0
- package/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/SocialMedia.mobile.js +1 -1
- package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +22 -0
- package/lib/components/Headline/Headline.js +2 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/headlineVersionStyles.d.ts +1 -1
- package/lib/components/Headline/headlineVersionStyles.js +6 -6
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/Tabs/CenteredTabs.d.ts +7 -0
- package/lib/components/Tabs/CenteredTabs.js +5 -0
- package/lib/components/Tabs/CenteredTabs.js.map +1 -0
- package/lib/components/Tabs/LinkTab.d.ts +2 -2
- package/lib/components/Tabs/LinkTab.js +2 -2
- package/lib/components/Tabs/LinkTab.js.map +1 -1
- package/lib/components/Tabs/ScrollableTabs.js +3 -9
- package/lib/components/Tabs/ScrollableTabs.js.map +1 -1
- package/lib/components/Tabs/Tabs.fixture.d.ts +1 -0
- package/lib/components/Tabs/Tabs.js +14 -7
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/Tabs/TabsContent.d.ts +3 -2
- package/lib/components/Tabs/renderGroupTab.d.ts +2 -2
- package/lib/components/Tabs/renderGroupTab.js +5 -5
- package/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/lib/components/Tabs/renderTab.d.ts +3 -3
- package/lib/components/Tabs/renderTab.js +3 -3
- package/lib/components/Tabs/renderTab.js.map +1 -1
- package/lib/components/Tabs/tabItemClasses.d.ts +3 -2
- package/lib/components/Tabs/tabItemClasses.js +26 -10
- package/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/lib/hooks/useForm.js +2 -2
- package/lib/hooks/useForm.js.map +1 -1
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +4 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +22 -16
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/lib/ui-kit/InputRange/parseDecimal.d.ts +1 -0
- package/lib/ui-kit/InputRange/parseDecimal.js +6 -0
- package/lib/ui-kit/InputRange/parseDecimal.js.map +1 -0
- package/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
- package/lib/ui-kit/InputRange/renderRangeWithTicks.js +14 -0
- package/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
- package/lib/utils/getSanitizedValue.js +1 -1
- package/lib/utils/getSanitizedValue.js.map +1 -1
- package/lib/wlc.json +1 -2
- package/mobile/bundle/bundle.umd.js +476 -370
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/Rate.d.ts +1 -0
- package/mobile/bundle/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
- package/mobile/bundle/components/Calculator/renderDaysInput.d.ts +2 -7
- package/mobile/bundle/components/Calculator/renderInterestPayment.d.ts +2 -9
- package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +3 -5
- package/mobile/bundle/components/Calculator/renderPaymentType.d.ts +2 -11
- package/mobile/bundle/components/Calculator/renderRegistrationType.d.ts +2 -9
- package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +3 -7
- package/mobile/bundle/components/Carousel/itemsGap.d.ts +1 -0
- package/mobile/bundle/components/CarouselRecommendationCard/cardStyle.d.ts +1 -0
- package/mobile/bundle/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
- package/mobile/bundle/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
- package/mobile/bundle/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
- package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +1 -1
- package/mobile/bundle/components/Tabs/CenteredTabs.d.ts +7 -0
- package/mobile/bundle/components/Tabs/LinkTab.d.ts +2 -2
- package/mobile/bundle/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
- package/mobile/bundle/components/Tabs/renderTab.d.ts +3 -3
- package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +3 -2
- package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/bundle/ui-kit/InputRange/parseDecimal.d.ts +1 -0
- package/mobile/bundle/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/Blocks.js +6 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +16 -18
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +4 -4
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +27 -43
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +30 -33
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Rate.d.ts +1 -0
- package/mobile/dist/components/Calculator/Rate.js +1 -1
- package/mobile/dist/components/Calculator/Rate.js.map +1 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js +8 -0
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/mobile/dist/components/Calculator/renderDaysInput.d.ts +2 -7
- package/mobile/dist/components/Calculator/renderDaysInput.js +2 -9
- package/mobile/dist/components/Calculator/renderDaysInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderInterestPayment.d.ts +2 -9
- package/mobile/dist/components/Calculator/renderInterestPayment.js +8 -18
- package/mobile/dist/components/Calculator/renderInterestPayment.js.map +1 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +3 -5
- package/mobile/dist/components/Calculator/renderMonthsInput.js +2 -10
- package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderPaymentType.d.ts +2 -11
- package/mobile/dist/components/Calculator/renderPaymentType.js +9 -19
- package/mobile/dist/components/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRegistrationType.d.ts +2 -9
- package/mobile/dist/components/Calculator/renderRegistrationType.js +8 -18
- package/mobile/dist/components/Calculator/renderRegistrationType.js.map +1 -1
- package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +3 -7
- package/mobile/dist/components/Calculator/renderWantedSumInput.js +4 -6
- package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/dist/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/mobile/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +3 -3
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/itemsGap.d.ts +1 -0
- package/mobile/dist/components/Carousel/itemsGap.js +4 -0
- package/mobile/dist/components/Carousel/itemsGap.js.map +1 -0
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -4
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/cardStyle.d.ts +1 -0
- package/mobile/dist/components/CarouselRecommendationCard/cardStyle.js +4 -0
- package/mobile/dist/components/CarouselRecommendationCard/cardStyle.js.map +1 -0
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
- package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js +4 -0
- package/mobile/dist/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +5 -0
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js +12 -0
- package/mobile/dist/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +2 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +1 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.js +6 -6
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/Tabs/CenteredTabs.d.ts +7 -0
- package/mobile/dist/components/Tabs/CenteredTabs.js +7 -0
- package/mobile/dist/components/Tabs/CenteredTabs.js.map +1 -0
- package/mobile/dist/components/Tabs/LinkTab.d.ts +2 -2
- package/mobile/dist/components/Tabs/LinkTab.js +2 -2
- package/mobile/dist/components/Tabs/LinkTab.js.map +1 -1
- package/mobile/dist/components/Tabs/ScrollableTabs.js +3 -9
- package/mobile/dist/components/Tabs/ScrollableTabs.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +14 -7
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/dist/components/Tabs/renderGroupTab.d.ts +2 -2
- package/mobile/dist/components/Tabs/renderGroupTab.js +4 -4
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/dist/components/Tabs/renderTab.d.ts +3 -3
- package/mobile/dist/components/Tabs/renderTab.js +3 -3
- package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
- package/mobile/dist/components/Tabs/tabItemClasses.d.ts +3 -2
- package/mobile/dist/components/Tabs/tabItemClasses.js +26 -10
- package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/dist/hooks/useForm.js +2 -2
- package/mobile/dist/hooks/useForm.js.map +1 -1
- package/mobile/dist/hooks/useLink.js +1 -1
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +4 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +22 -16
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/dist/ui-kit/InputRange/parseDecimal.d.ts +1 -0
- package/mobile/dist/ui-kit/InputRange/parseDecimal.js +9 -0
- package/mobile/dist/ui-kit/InputRange/parseDecimal.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
- package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js +17 -0
- package/mobile/dist/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
- package/mobile/dist/utils/getSanitizedValue.js +1 -1
- package/mobile/dist/utils/getSanitizedValue.js.map +1 -1
- package/mobile/dist/wlc.json +1 -2
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/Blocks.js +6 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +16 -18
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +24 -30
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +4 -4
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +27 -43
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +31 -34
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Rate.d.ts +1 -0
- package/mobile/lib/components/Calculator/Rate.js +1 -1
- package/mobile/lib/components/Calculator/Rate.js.map +1 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.d.ts +11 -0
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js +5 -0
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/mobile/lib/components/Calculator/renderDaysInput.d.ts +2 -7
- package/mobile/lib/components/Calculator/renderDaysInput.js +2 -9
- package/mobile/lib/components/Calculator/renderDaysInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderInterestPayment.d.ts +2 -9
- package/mobile/lib/components/Calculator/renderInterestPayment.js +8 -18
- package/mobile/lib/components/Calculator/renderInterestPayment.js.map +1 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +3 -5
- package/mobile/lib/components/Calculator/renderMonthsInput.js +2 -10
- package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderPaymentType.d.ts +2 -11
- package/mobile/lib/components/Calculator/renderPaymentType.js +8 -18
- package/mobile/lib/components/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRegistrationType.d.ts +2 -9
- package/mobile/lib/components/Calculator/renderRegistrationType.js +8 -18
- package/mobile/lib/components/Calculator/renderRegistrationType.js.map +1 -1
- package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +3 -7
- package/mobile/lib/components/Calculator/renderWantedSumInput.js +4 -6
- package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/lib/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/mobile/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +2 -2
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/itemsGap.d.ts +1 -0
- package/mobile/lib/components/Carousel/itemsGap.js +2 -0
- package/mobile/lib/components/Carousel/itemsGap.js.map +1 -0
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -4
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/cardStyle.d.ts +1 -0
- package/mobile/lib/components/CarouselRecommendationCard/cardStyle.js +2 -0
- package/mobile/lib/components/CarouselRecommendationCard/cardStyle.js.map +1 -0
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/descriptionSize.d.ts +1 -0
- package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js +2 -0
- package/mobile/lib/components/CarouselTariffsCard/descriptionSize.js.map +1 -0
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.d.ts +1 -0
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +2 -0
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -0
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.d.ts +3 -0
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js +9 -0
- package/mobile/lib/components/CarouselTariffsCard/renderCardInfo.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +2 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +1 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.js +6 -6
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/Tabs/CenteredTabs.d.ts +7 -0
- package/mobile/lib/components/Tabs/CenteredTabs.js +5 -0
- package/mobile/lib/components/Tabs/CenteredTabs.js.map +1 -0
- package/mobile/lib/components/Tabs/LinkTab.d.ts +2 -2
- package/mobile/lib/components/Tabs/LinkTab.js +2 -2
- package/mobile/lib/components/Tabs/LinkTab.js.map +1 -1
- package/mobile/lib/components/Tabs/ScrollableTabs.js +3 -9
- package/mobile/lib/components/Tabs/ScrollableTabs.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +14 -7
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/lib/components/Tabs/renderGroupTab.d.ts +2 -2
- package/mobile/lib/components/Tabs/renderGroupTab.js +5 -5
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/lib/components/Tabs/renderTab.d.ts +3 -3
- package/mobile/lib/components/Tabs/renderTab.js +3 -3
- package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
- package/mobile/lib/components/Tabs/tabItemClasses.d.ts +3 -2
- package/mobile/lib/components/Tabs/tabItemClasses.js +26 -10
- package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
- package/mobile/lib/hooks/useForm.js +2 -2
- package/mobile/lib/hooks/useForm.js.map +1 -1
- package/mobile/lib/hooks/useLink.js +1 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +4 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +22 -16
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/lib/ui-kit/InputRange/parseDecimal.d.ts +1 -0
- package/mobile/lib/ui-kit/InputRange/parseDecimal.js +6 -0
- package/mobile/lib/ui-kit/InputRange/parseDecimal.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.d.ts +12 -0
- package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js +14 -0
- package/mobile/lib/ui-kit/InputRange/renderRangeWithTicks.js.map +1 -0
- package/mobile/lib/utils/getSanitizedValue.js +1 -1
- package/mobile/lib/utils/getSanitizedValue.js.map +1 -1
- package/mobile/lib/wlc.json +1 -2
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/mobile/src/components/Blocks.ts +6 -0
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +29 -33
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +37 -57
- package/mobile/src/components/Calculator/Calculator.tsx +11 -5
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +52 -87
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +38 -66
- package/mobile/src/components/Calculator/Rate.tsx +14 -14
- package/mobile/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +35 -0
- package/mobile/src/components/Calculator/renderDaysInput.tsx +10 -31
- package/mobile/src/components/Calculator/renderInterestPayment.tsx +13 -52
- package/mobile/src/components/Calculator/renderMonthsInput.tsx +17 -39
- package/mobile/src/components/Calculator/renderPaymentType.tsx +13 -49
- package/mobile/src/components/Calculator/renderRegistrationType.tsx +13 -51
- package/mobile/src/components/Calculator/renderWantedSumInput.tsx +10 -27
- package/mobile/src/components/Calculator/useDepositCalculatorParams.ts +1 -1
- package/mobile/src/components/Carousel/Carousel.tsx +2 -3
- package/mobile/src/components/Carousel/itemsGap.ts +1 -0
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -20
- package/mobile/src/components/CarouselRecommendationCard/cardStyle.ts +2 -0
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +7 -31
- package/mobile/src/components/CarouselTariffsCard/descriptionSize.tsx +1 -0
- package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +2 -0
- package/mobile/src/components/CarouselTariffsCard/renderCardInfo.tsx +31 -0
- package/mobile/src/components/Footer/Footer.tsx +1 -1
- package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
- package/mobile/src/components/Headline/Headline.tsx +10 -5
- package/mobile/src/components/Headline/headlineVersionStyles.ts +7 -7
- package/mobile/src/components/Tabs/CenteredTabs.tsx +12 -0
- package/mobile/src/components/Tabs/LinkTab.tsx +5 -5
- package/mobile/src/components/Tabs/ScrollableTabs.tsx +5 -13
- package/mobile/src/components/Tabs/Tabs.tsx +21 -19
- package/mobile/src/components/Tabs/TabsContent.ts +3 -2
- package/mobile/src/components/Tabs/renderGroupTab.tsx +11 -10
- package/mobile/src/components/Tabs/renderTab.tsx +5 -13
- package/mobile/src/components/Tabs/tabItemClasses.ts +28 -10
- package/mobile/src/hooks/useForm.ts +17 -14
- package/mobile/src/hooks/useLink.ts +1 -1
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +5 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +56 -43
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
- package/mobile/src/ui-kit/InputRange/parseDecimal.ts +6 -0
- package/mobile/src/ui-kit/InputRange/renderRangeWithTicks.tsx +62 -0
- package/mobile/src/utils/getSanitizedValue.ts +1 -1
- package/mobile/src/wlc.json +1 -2
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/src/components/Blocks.mobile.ts +6 -0
- package/src/components/Calculator/BonusCalculatorForm.tsx +29 -33
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +37 -57
- package/src/components/Calculator/Calculator.tsx +11 -5
- package/src/components/Calculator/CreditCalculatorForm.tsx +52 -87
- package/src/components/Calculator/DepositCalculatorForm.tsx +38 -66
- package/src/components/Calculator/Rate.tsx +14 -14
- package/src/components/Calculator/renderBinaryRadioButtonGroup.tsx +35 -0
- package/src/components/Calculator/renderDaysInput.tsx +10 -31
- package/src/components/Calculator/renderInterestPayment.tsx +13 -52
- package/src/components/Calculator/renderMonthsInput.tsx +17 -39
- package/src/components/Calculator/renderPaymentType.tsx +13 -49
- package/src/components/Calculator/renderRegistrationType.tsx +13 -51
- package/src/components/Calculator/renderWantedSumInput.tsx +10 -27
- package/src/components/Calculator/useDepositCalculatorParams.ts +1 -1
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +93 -0
- package/src/components/Carousel/Carousel.tsx +2 -3
- package/src/components/Carousel/itemsGap.mobile.ts +1 -0
- package/src/components/Carousel/itemsGap.ts +1 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +148 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +63 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
- package/src/components/CarouselRecommendationCard/cardStyle.ts +2 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +74 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +7 -31
- package/src/components/CarouselTariffsCard/descriptionSize.mobile.tsx +1 -0
- package/src/components/CarouselTariffsCard/descriptionSize.tsx +1 -0
- package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +2 -0
- package/src/components/CarouselTariffsCard/getPaddingStyle.tsx +2 -0
- package/src/components/CarouselTariffsCard/renderCardInfo.tsx +31 -0
- package/src/components/Footer/Footer.mobile.tsx +1 -1
- package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
- package/src/components/Headline/Headline.fixture.mobile.tsx +95 -0
- package/src/components/Headline/Headline.tsx +10 -5
- package/src/components/Headline/headlineVersionStyles.ts +7 -7
- package/src/components/Tabs/CenteredTabs.tsx +12 -0
- package/src/components/Tabs/LinkTab.tsx +5 -5
- package/src/components/Tabs/ScrollableTabs.tsx +5 -13
- package/src/components/Tabs/Tabs.fixture.tsx +27 -0
- package/src/components/Tabs/Tabs.tsx +21 -19
- package/src/components/Tabs/TabsContent.ts +3 -2
- package/src/components/Tabs/renderGroupTab.tsx +11 -10
- package/src/components/Tabs/renderTab.tsx +5 -13
- package/src/components/Tabs/tabItemClasses.ts +28 -10
- package/src/hooks/useForm.ts +17 -14
- package/src/hooks/useLink.ts +1 -1
- package/src/ui-kit/Checkbox/Checkbox.tsx +5 -1
- package/src/ui-kit/InputRange/InputRange.tsx +56 -43
- package/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
- package/src/ui-kit/InputRange/parseDecimal.ts +6 -0
- package/src/ui-kit/InputRange/renderRangeWithTicks.tsx +62 -0
- package/src/utils/getSanitizedValue.ts +1 -1
- package/src/wlc.json +1 -2
- package/bundle/ui-kit/InputListRange/InputListRange.d.ts +0 -2
- package/bundle/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
- package/dist/ui-kit/InputListRange/InputListRange.d.ts +0 -2
- package/dist/ui-kit/InputListRange/InputListRange.js +0 -41
- package/dist/ui-kit/InputListRange/InputListRange.js.map +0 -1
- package/dist/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
- package/dist/ui-kit/InputListRange/InputListRangeProps.js +0 -2
- package/dist/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
- package/lib/ui-kit/InputListRange/InputListRange.d.ts +0 -2
- package/lib/ui-kit/InputListRange/InputListRange.js +0 -39
- package/lib/ui-kit/InputListRange/InputListRange.js.map +0 -1
- package/lib/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
- package/lib/ui-kit/InputListRange/InputListRangeProps.js +0 -2
- package/lib/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
- package/mobile/bundle/ui-kit/InputListRange/InputListRange.d.ts +0 -2
- package/mobile/bundle/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
- package/mobile/dist/ui-kit/InputListRange/InputListRange.d.ts +0 -2
- package/mobile/dist/ui-kit/InputListRange/InputListRange.js +0 -41
- package/mobile/dist/ui-kit/InputListRange/InputListRange.js.map +0 -1
- package/mobile/dist/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
- package/mobile/dist/ui-kit/InputListRange/InputListRangeProps.js +0 -2
- package/mobile/dist/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
- package/mobile/lib/ui-kit/InputListRange/InputListRange.d.ts +0 -2
- package/mobile/lib/ui-kit/InputListRange/InputListRange.js +0 -39
- package/mobile/lib/ui-kit/InputListRange/InputListRange.js.map +0 -1
- package/mobile/lib/ui-kit/InputListRange/InputListRangeProps.d.ts +0 -10
- package/mobile/lib/ui-kit/InputListRange/InputListRangeProps.js +0 -2
- package/mobile/lib/ui-kit/InputListRange/InputListRangeProps.js.map +0 -1
- package/mobile/src/ui-kit/InputListRange/InputListRange.tsx +0 -99
- package/mobile/src/ui-kit/InputListRange/InputListRangeProps.ts +0 -11
- package/src/ui-kit/InputListRange/InputListRange.tsx +0 -99
- package/src/ui-kit/InputListRange/InputListRangeProps.ts +0 -11
|
@@ -3,15 +3,13 @@ exports.renderWantedSumInput = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const InputRange_1 = require("../../ui-kit/InputRange/InputRange");
|
|
5
5
|
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
6
|
-
const clamp_1 = require("../../utils/clamp");
|
|
7
6
|
const DEFAULT_MONEY_STEP = 1000;
|
|
8
|
-
function renderWantedSumInput(
|
|
9
|
-
const { moneyValue, minSum, maxSum, step = DEFAULT_MONEY_STEP, isShowItems = true } = params;
|
|
7
|
+
function renderWantedSumInput({ isShowItems = true, step = DEFAULT_MONEY_STEP, ...rest }) {
|
|
10
8
|
const items = [
|
|
11
|
-
`От ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(
|
|
12
|
-
`До ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(
|
|
9
|
+
`От ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(rest.min || 0)} ₽`,
|
|
10
|
+
`До ${(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(rest.max || 0)} ₽`,
|
|
13
11
|
];
|
|
14
|
-
return (
|
|
12
|
+
return (0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { items: isShowItems ? items : [], step: step, ...rest });
|
|
15
13
|
}
|
|
16
14
|
exports.renderWantedSumInput = renderWantedSumInput;
|
|
17
15
|
//# sourceMappingURL=renderWantedSumInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderWantedSumInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderWantedSumInput.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;
|
|
1
|
+
{"version":3,"file":"renderWantedSumInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderWantedSumInput.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAEhE,iFAA8E;AAE9E,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAMhC,SAAgB,oBAAoB,CAAC,EACnC,WAAW,GAAG,IAAI,EAClB,IAAI,GAAG,kBAAkB,EACzB,GAAG,IAAI,EACe;IACtB,MAAM,KAAK,GAAG;QACZ,MAAM,IAAA,iDAAuB,EAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI;QAChD,MAAM,IAAA,iDAAuB,EAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,IAAI;KACjD,CAAC;IAEF,OAAO,uBAAC,uBAAU,IAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,KAAM,IAAI,GAAI,CAAC;AAC/E,CAAC;AAXD,oDAWC"}
|
|
@@ -8,7 +8,7 @@ const useCalculatorParams_1 = require("./useCalculatorParams");
|
|
|
8
8
|
const useDepositCalculatorParams = (userInputParams, sourceBookDir, paramsViewSettings) => {
|
|
9
9
|
const { moneyValue, monthsValue } = userInputParams;
|
|
10
10
|
const data = (0, useCalculatorParams_1.useCalculatorParams)(sourceBookDir || constants_1.DEPOSIT_CALC_DEFAULT_DIR);
|
|
11
|
-
const defaultMonth = data?.rateRows[0]
|
|
11
|
+
const defaultMonth = data?.rateRows?.[0]
|
|
12
12
|
? getMiddleMonth(data.rateRows[0].minMonths, data.rateRows[0].maxMonths)
|
|
13
13
|
: 1;
|
|
14
14
|
const isExcludeMonthlyInterestPayment = !paramsViewSettings?.isShowMonthlyInterestPayment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDepositCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useDepositCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2DAAwD;AACxD,+DAA4D;AAE5D,2CAA0F;AAC1F,iDAAkE;AAClE,+DAA4D;AAiCrD,MAAM,0BAA0B,GAAG,CACxC,eAAiD,EACjD,aAAsB,EACtB,kBAAwD,EAC/B,EAAE;IAC3B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,eAAe,CAAC;IACpD,MAAM,IAAI,GAAG,IAAA,yCAAmB,EAC9B,aAAa,IAAI,oCAAwB,CAC1C,CAAC;IACF,MAAM,YAAY,GAAG,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"useDepositCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useDepositCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2DAAwD;AACxD,+DAA4D;AAE5D,2CAA0F;AAC1F,iDAAkE;AAClE,+DAA4D;AAiCrD,MAAM,0BAA0B,GAAG,CACxC,eAAiD,EACjD,aAAsB,EACtB,kBAAwD,EAC/B,EAAE;IAC3B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,eAAe,CAAC;IACpD,MAAM,IAAI,GAAG,IAAA,yCAAmB,EAC9B,aAAa,IAAI,oCAAwB,CAC1C,CAAC;IACF,MAAM,YAAY,GAAG,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;QACtC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACxE,CAAC,CAAC,CAAC,CAAC;IACN,MAAM,+BAA+B,GAAG,CAAC,kBAAkB,EAAE,4BAA4B,CAAC;IAC1F,MAAM,2BAA2B,GAAG,CAAC,kBAAkB,EAAE,wBAAwB,CAAC;IAClF,MAAM,iCAAiC,GACrC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAClB,CAAC,GAAG,EAAE,EAAE,CACN,eAAe,CAAC;QACd,GAAG;QACH,eAAe;QACf,QAAQ,EAAE,0BAA0B;QACpC,SAAS,EAAE,+BAA+B;KAC3C,C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IAC3F,MAAM,EAAE,wBAAwB,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,eAAe,CAAC;IAE9E,IAAI,wBAAwB,EAAE;QAC5B,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC,GAAG,UAAU,CAAC,CAAC;KAC1F;SAAM;QACL;;UAEE;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,UAAU,GAAG,IAAI,GAAG,EAAE,GAAG,WAAW,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC;KACvE;AACH,CAAC,CAAC;AASF,MAAM,eAAe,GAAG,CAAC,EAAE,GAAG,EAAE,eAAe,EAAE,QAAQ,EAAE,SAAS,EAAwB,EAAE,EAAE,CAC9F,SAAS,IAAI,eAAe,CAAC,QAAQ,CAAC,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC;AAE3D,MAAM,cAAc,GAAG,CAAC,SAAiB,EAAE,SAAiB,EAAU,EAAE,CACtE,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC"}
|
|
@@ -11,7 +11,7 @@ const SwipeListControlDots_1 = require("../../ui-kit/SwipeListControl/SwipeListC
|
|
|
11
11
|
const useSwipeListScroll_1 = require("../../ui-kit/SwipeListControl/useSwipeListScroll");
|
|
12
12
|
const style_1 = require("../../utils/style");
|
|
13
13
|
const CarouselScrollButtons_1 = require("./CarouselScrollButtons");
|
|
14
|
-
const
|
|
14
|
+
const itemsGap_1 = require("./itemsGap");
|
|
15
15
|
exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, showDots = false, isAlignCenter = false, ...rest }) => {
|
|
16
16
|
const { blocks: childBlocks = [] } = rest.block || {};
|
|
17
17
|
const count = itemCount || childBlocks?.length;
|
|
@@ -24,7 +24,7 @@ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemC
|
|
|
24
24
|
});
|
|
25
25
|
const [dotsActiveIndex] = scroll.visibleIndicesRange;
|
|
26
26
|
const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: (0, renderChildren_1.renderChildren)({
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(getPaddingStyle(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: itemsGap_1.ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: (0, renderChildren_1.renderChildren)({
|
|
28
28
|
...rest,
|
|
29
29
|
renderProps: isBankHistoryCarousel
|
|
30
30
|
? (block, options) => (0, renderBlock_1.renderBlock)(block, options, {
|
|
@@ -32,7 +32,7 @@ exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemC
|
|
|
32
32
|
activeIndex: activeIndex,
|
|
33
33
|
})
|
|
34
34
|
: renderBlock_1.renderBlock,
|
|
35
|
-
}) }), (0, jsx_runtime_1.jsx)(CarouselScrollButtons_1.CarouselScrollButtons, { scroll: scroll, isBlur: isBlur, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count }), showDots ? renderDots(containerRef, dotsActiveIndex,
|
|
35
|
+
}) }), (0, jsx_runtime_1.jsx)(CarouselScrollButtons_1.CarouselScrollButtons, { scroll: scroll, isBlur: isBlur, arrowsPadded: arrowsPadded, onScrollLeft: decreaseActiveIndex, onScrollRight: increaseActiveIndex, hasEdgeBlocks: isBankHistoryCarousel, activeIndex: activeIndex, itemCount: count }), showDots ? renderDots(containerRef, dotsActiveIndex, count) : null] }) }));
|
|
36
36
|
});
|
|
37
37
|
exports.Carousel.childrenTypes = [
|
|
38
38
|
'CarouselCard',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iEAA8D;AAC9D,uEAAoE;AAEpE,4DAAyD;AACzD,yFAAsF;AACtF,6FAA0F;AAC1F,yFAAsF;AACtF,6CAA0C;AAE1C,mEAAgE;
|
|
1
|
+
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iEAA8D;AAC9D,uEAAoE;AAEpE,4DAAyD;AACzD,yFAAsF;AACtF,6FAA0F;AAC1F,yFAAsF;AACtF,6CAA0C;AAE1C,mEAAgE;AAChE,yCAAuC;AAO1B,QAAA,QAAQ,GAA4B,IAAA,aAAG,EAClD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,gBAAgB,EAChB,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,KAAK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EAAE,CACvD,aAAa,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;AAE7C,MAAM,UAAU,GAAG,CACjB,YAAgD,EAChD,eAAuB,EACvB,SAA6B,EAC7B,EAAE,CAAC,CACH,uBAAC,2CAAoB,IACnB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,eAAe,EAC5B,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,iBAAiB,GAC3B,CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ITEMS_GAP = 4;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"itemsGap.js","sourceRoot":"","sources":["../../../src/components/Carousel/itemsGap.ts"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ITEMS_GAP = 16;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"itemsGap.mobile.js","sourceRoot":"","sources":["../../../src/components/Carousel/itemsGap.mobile.ts"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,EAAE,CAAC"}
|
|
@@ -9,9 +9,9 @@ const List_1 = require("../../ui-kit/List/List");
|
|
|
9
9
|
const style_1 = require("../../utils/style");
|
|
10
10
|
const SocialMedia_1 = require("../Footer/SocialMedia");
|
|
11
11
|
const Headline_1 = require("../Headline/Headline");
|
|
12
|
-
const
|
|
12
|
+
const cardStyle_1 = require("./cardStyle");
|
|
13
13
|
exports.CarouselRecommendationCard = (0, uni_jsx_1.JSX)(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', version = 'primary', ...rest }) => {
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: (0, jsx_runtime_1.jsxs)(LinkWrapper_1.LinkWrapper, { href: href, target: target, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "flex flex-col gap-2", itemClassName: "text-l-light", items: items })) : null, socialMedia.length ? (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock(icon)] }) }));
|
|
14
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', cardStyle_1.BORDER_STYLE, className), version: version, ...rest, children: (0, jsx_runtime_1.jsxs)(LinkWrapper_1.LinkWrapper, { href: href, target: target, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "flex flex-col gap-2", itemClassName: "text-l-light", items: items })) : null, socialMedia.length ? (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock(icon)] }) }));
|
|
15
15
|
});
|
|
16
16
|
const renderIconBlock = (icon) => ((0, jsx_runtime_1.jsxs)("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null] }));
|
|
17
17
|
//# sourceMappingURL=CarouselRecommendationCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AACnE,iDAA8C;AAC9C,6CAA0C;AAC1C,uDAAoD;AACpD,mDAAgD;
|
|
1
|
+
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AACnE,iDAA8C;AAC9C,6CAA0C;AAC1C,uDAAoD;AACpD,mDAAgD;AAChD,2CAA2C;AAK9B,QAAA,0BAA0B,GAAG,IAAA,aAAG,EAC3C,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,KAAK,GAAG,EAAE,EACV,WAAW,GAAG,EAAE,EAChB,MAAM,EACN,KAAK,EACL,KAAK,GAAG,WAAW,EACnB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,+FAA+F,EAC/F,wBAAY,EACZ,SAAS,CACV,EACD,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,wBAAC,yBAAW,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aACrC,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,KAAK,GACZ,EACF,iCAAK,SAAS,EAAC,+CAA+C,aAC3D,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,WAAI,IAAC,SAAS,EAAC,qBAAqB,EAAC,aAAa,EAAC,cAAc,EAAC,KAAK,EAAE,KAAK,GAAI,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,uBAAC,yBAAW,IAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,IAC9E,EACL,eAAe,CAAC,IAAI,CAAC,IACV,GACD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,IAAyB,EAAE,EAAE,CAAC,CACrD,iCAAK,SAAS,EAAC,2BAA2B,aACvC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACxC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,IACpC,CACP,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { CarouselRecommendationCardContent } from './CarouselRecommendationCardContent';
|
|
3
|
+
export interface RecommendationCardProps extends CarouselRecommendationCardContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const CarouselRecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.CarouselRecommendationCard = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
|
+
const LinkWrapper_1 = require("../../ui-kit/LinkWrapper/LinkWrapper");
|
|
8
|
+
const List_1 = require("../../ui-kit/List/List");
|
|
9
|
+
const style_1 = require("../../utils/style");
|
|
10
|
+
const SocialMedia_1 = require("../Footer/SocialMedia");
|
|
11
|
+
const Headline_1 = require("../Headline/Headline");
|
|
12
|
+
const cardStyle_1 = require("./cardStyle");
|
|
13
|
+
exports.CarouselRecommendationCard = (0, uni_jsx_1.JSX)(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', ...rest }) => {
|
|
14
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative box-border p-default group-data-gray:bg-main-divider/50', cardStyle_1.BORDER_STYLE, className), ...rest, children: (0, jsx_runtime_1.jsxs)(LinkWrapper_1.LinkWrapper, { href: href, target: target, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "mb-2", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), items.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "flex flex-col gap-2", items: items, listItemSize: "S" })) : null, renderIcon(icon), socialMedia.length ? (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "mt-5", media: socialMedia }) : null] }) }));
|
|
15
|
+
});
|
|
16
|
+
const renderIcon = (icon) => icon?.src || icon?.icon ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) })) : null;
|
|
17
|
+
//# sourceMappingURL=CarouselRecommendationCard.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselRecommendationCard.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,8CAA2C;AAC3C,sEAAmE;AACnE,iDAA8C;AAC9C,6CAA0C;AAC1C,uDAAoD;AACpD,mDAAgD;AAChD,2CAA2C;AAK9B,QAAA,0BAA0B,GAAG,IAAA,aAAG,EAC3C,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,EACX,IAAI,EACJ,IAAI,EACJ,KAAK,GAAG,EAAE,EACV,WAAW,GAAG,EAAE,EAChB,MAAM,EACN,KAAK,EACL,KAAK,GAAG,WAAW,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,kEAAkE,EAClE,wBAAY,EACZ,SAAS,CACV,KACG,IAAI,YAER,wBAAC,yBAAW,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aACrC,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,SAAS,EAAE,KAAK,EAChB,KAAK,EAAE,KAAK,GACZ,EACD,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,WAAI,IAAC,SAAS,EAAC,qBAAqB,EAAC,KAAK,EAAE,KAAK,EAAE,YAAY,EAAC,GAAG,GAAG,CACxE,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,CAAC,IAAI,CAAC,EAChB,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,uBAAC,yBAAW,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,IACrE,GACD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,IAAc,EAAE,EAAE,CACpC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACxB,0CACE,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,GAChB,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BORDER_STYLE = "border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/cardStyle.ts"],"names":[],"mappings":";;AAAa,QAAA,YAAY,GACvB,0GAA0G,CAAC"}
|
|
@@ -4,7 +4,6 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
7
|
-
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
8
7
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
9
8
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
10
9
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
@@ -12,19 +11,16 @@ const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
|
12
11
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
13
12
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
14
13
|
const style_1 = require("../../utils/style");
|
|
14
|
+
const getPaddingStyle_1 = require("./getPaddingStyle");
|
|
15
|
+
const renderCardInfo_1 = require("./renderCardInfo");
|
|
15
16
|
const VISIBLE_CELLS_COUNT = 1;
|
|
16
|
-
exports.CarouselTariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, icon, isHighlighting, button, cardCells = [], ...rest }) => {
|
|
17
|
-
const cellsNode = cardCells.map(renderCardInfo);
|
|
17
|
+
exports.CarouselTariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, icon, isHighlighting = false, button, cardCells = [], ...rest }) => {
|
|
18
|
+
const cellsNode = cardCells.map(renderCardInfo_1.renderCardInfo);
|
|
18
19
|
const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
|
|
19
20
|
const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative border border-gray
|
|
21
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative border border-gray flex flex-col', (0, getPaddingStyle_1.getPaddingStyle)(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)("div", { children: [visibleCells, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton : null })) : null] }));
|
|
21
22
|
});
|
|
22
|
-
const renderIconBlock = (icon) => ((0, jsx_runtime_1.
|
|
23
|
-
const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-8 pt-20' : 'mt-20 pt-8';
|
|
23
|
+
const renderIconBlock = (icon) => ((0, jsx_runtime_1.jsx)("div", { className: "w-[267px] min-w-[267px] self-center", children: icon?.src || icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null }));
|
|
24
24
|
const renderFoldButton = ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsxs)("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [(0, jsx_runtime_1.jsx)("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
|
|
25
|
-
const renderCardInfo = (cell, i) => {
|
|
26
|
-
const { title, description, buttons } = cell;
|
|
27
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "py-5 border-b border-main-divider", children: [title ? ((0, jsx_runtime_1.jsx)("div", { className: "text-secondary-text text-m-light opacity-80", children: cell.title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "text-primary-text text-h6 mt-1", children: cell.description })) : null, buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "text-primary-main", children: (0, renderButtonsSection_1.renderButtonsSection)(buttons) })) : null] }, String(i)));
|
|
28
|
-
};
|
|
29
25
|
const renderHitIcon = () => ((0, jsx_runtime_1.jsxs)("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22" }), (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
|
|
30
26
|
//# sourceMappingURL=CarouselTariffsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,4DAAyD;AACzD,uDAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,4DAAyD;AACzD,uDAAoD;AACpD,6DAA0D;AAE1D,2EAAwE;AACxE,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAC3C,gEAA6D;AAC7D,6CAA0C;AAE1C,uDAAoD;AACpD,qDAAkD;AAIlD,M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/components/CarouselTariffsCard/descriptionSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const descriptionSize = "text-l";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptionSize.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/descriptionSize.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getPaddingStyle = void 0;
|
|
3
|
+
const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-8 mt-8 pt-20' : 'p-8 mt-20';
|
|
4
|
+
exports.getPaddingStyle = getPaddingStyle;
|
|
5
|
+
//# sourceMappingURL=getPaddingStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPaddingStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.tsx"],"names":[],"mappings":";;AAAO,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,WAAW,CAAC;AADrC,QAAA,eAAe,mBACsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getPaddingStyle: (isHighlighting?: boolean) => string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getPaddingStyle = void 0;
|
|
3
|
+
const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-default mt-6' : 'mt-6 p-default'; // Хак для мобильной версии т.к. контракт должен быть идентичный
|
|
4
|
+
exports.getPaddingStyle = getPaddingStyle;
|
|
5
|
+
//# sourceMappingURL=getPaddingStyle.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPaddingStyle.mobile.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx"],"names":[],"mappings":";;AAAO,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,gEAAgE;AAD3G,QAAA,eAAe,mBAC2B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.renderCardInfo = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
5
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
+
const descriptionSize_1 = require("./descriptionSize");
|
|
7
|
+
const renderCardInfo = (cell, i) => {
|
|
8
|
+
const { title, description, buttons } = cell;
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "py-5 border-b border-main-divider", children: [title ? ((0, jsx_runtime_1.jsx)("div", { className: "opacity-80", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", color: "text-secondary-text", children: title }) })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-1", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: descriptionSize_1.descriptionSize, color: "text-primary-text", children: description }) })) : null, buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "text-primary-main", children: (0, renderButtonsSection_1.renderButtonsSection)(buttons) })) : null] }, String(i)));
|
|
10
|
+
};
|
|
11
|
+
exports.renderCardInfo = renderCardInfo;
|
|
12
|
+
//# sourceMappingURL=renderCardInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderCardInfo.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/renderCardInfo.tsx"],"names":[],"mappings":";;;AACA,mFAAgF;AAChF,iDAA8C;AAE9C,uDAAoD;AAE7C,MAAM,cAAc,GAAG,CAAC,IAA0B,EAAE,CAAS,EAAS,EAAE;IAC7E,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAE7C,OAAO,CACL,iCAAqB,SAAS,EAAC,mCAAmC,aAC/D,KAAK,CAAC,CAAC,CAAC,CACP,gCAAK,SAAS,EAAC,YAAY,YACzB,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,YAC5C,KAAK,GACD,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,WAAI,IAAC,IAAI,EAAE,iCAAe,EAAE,KAAK,EAAC,mBAAmB,YACnD,WAAW,GACP,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,gCAAK,SAAS,EAAC,mBAAmB,YAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,GAAO,CACzE,CAAC,CAAC,CAAC,IAAI,KAjBA,MAAM,CAAC,CAAC,CAAC,CAkBb,CACP,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,cAAc,kBAwBzB"}
|
|
@@ -19,7 +19,7 @@ exports.Footer = (0, uni_jsx_1.JSX)(({ className = '', ...rest }) => {
|
|
|
19
19
|
const fallback = rest.options?.page?.fallback;
|
|
20
20
|
const sitemap = (0, useSWRResource_1.useSWRResource)(ProjectSettings_1.projectSettings.SITEMAP || 'sitemap', fallback);
|
|
21
21
|
const { documents, relatedEnterprises, contacts, socialMedia, horizontalNavigationTitle } = (0, useSWRResource_1.useSWRResource)(ProjectSettings_1.projectSettings.FOOTER || 'footer', fallback);
|
|
22
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { tag: "footer", className: `px-4 py-[26px] ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Contacts_1.Contacts, { className: "overflow-hidden", items: contacts, hasButton: true }), (0, jsx_runtime_1.jsx)("div", { className: "m-0 p-0", children: sitemap.topItems?.map((item, i) => ((0, jsx_runtime_1.jsx)(RollupItem_1.RollupItem, { label: item?.text, children: (0, jsx_runtime_1.jsx)(LinkList_1.LinkList, { documents: item.items }) }, String(i)))) }), (0, jsx_runtime_1.jsx)("div", { className: "mt-4", children: sitemap?.dispositions?.map(renderSubMenuItem) }), (0, jsx_runtime_1.jsx)(MobileAppTile_1.MobileAppTile, { title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android", ...rest }), (0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { className: "grow" }), (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pb-
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { tag: "footer", className: `px-4 py-[26px] ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Contacts_1.Contacts, { className: "overflow-hidden", items: contacts, hasButton: true }), (0, jsx_runtime_1.jsx)("div", { className: "m-0 p-0", children: sitemap.topItems?.map((item, i) => ((0, jsx_runtime_1.jsx)(RollupItem_1.RollupItem, { label: item?.text, children: (0, jsx_runtime_1.jsx)(LinkList_1.LinkList, { documents: item.items }) }, String(i)))) }), (0, jsx_runtime_1.jsx)("div", { className: "mt-4", children: sitemap?.dispositions?.map(renderSubMenuItem) }), (0, jsx_runtime_1.jsx)(MobileAppTile_1.MobileAppTile, { title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android", ...rest }), (0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { className: "grow" }), (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-6 pb-6", media: socialMedia }), (0, jsx_runtime_1.jsx)(HorizontalNavigation_1.HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises }), (0, jsx_runtime_1.jsx)(TextInformation_1.TextInformation, { links: documents })] }));
|
|
23
23
|
});
|
|
24
24
|
const renderSubMenuItem = (menu, i) => {
|
|
25
25
|
const { icon, href, text } = menu;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,+DAA4D;AAE5D,2DAAwD;AAExD,4DAAyD;AACzD,uDAAoD;AACpD,8CAA2C;AAC3C,gEAA6D;AAC7D,mDAAgD;AAChD,kEAA+D;AAC/D,yDAAsD;AACtD,yCAAsC;AAGtC,iEAA8D;AAC9D,+CAA4C;AAC5C,uDAAoD;AAIvC,QAAA,MAAM,GAAG,IAAA,aAAG,EAAc,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACrE,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC;IAE9C,MAAM,OAAO,GAAG,IAAA,+BAAc,EAAc,iCAAe,CAAC,OAAO,IAAI,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC5F,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,EAAE,yBAAyB,EAAE,GACvF,IAAA,+BAAc,EAAkB,iCAAe,CA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F,uBAAC,iCAAe,IAAC,KAAK,EAAE,SAAS,GAAI,IACxB,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,IAAiB,EAAE,CAAS,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAElC,OAAO,CACL,wBAAC,eAAM,IAAC,OAAO,EAAC,MAAM,EAAqB,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,sBAAsB,aACpF,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,EAC3E,iCAAM,SAAS,EAAC,sCAAsC,YAAE,IAAI,GAAQ,KAF1C,UAAU,CAAC,EAAE,CAGhC,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,5 +3,5 @@ exports.SocialMedia = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const MediaButton_1 = require("./MediaButton");
|
|
6
|
-
exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media }) => ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-2 items-start justify-start
|
|
6
|
+
exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media }) => ((0, jsx_runtime_1.jsx)("div", { className: `flex gap-2 items-start justify-start ${className}`, children: media?.map((_, index) => ((0, jsx_runtime_1.jsx)(MediaButton_1.MediaButton, { ..._ }, String(index)))) })));
|
|
7
7
|
//# sourceMappingURL=SocialMedia.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+CAA4C;AAO/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,gCAAK,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"SocialMedia.mobile.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+CAA4C;AAO/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC9E,gCAAK,SAAS,EAAE,wCAAwC,SAAS,EAAE,YAChE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,uBAAC,yBAAW,OAAyB,CAAC,IAApB,MAAM,CAAC,KAAK,CAAC,CAAW,CAC3C,CAAC,GACE,CACP,CAAC,CAAC"}
|
|
@@ -10,6 +10,7 @@ const headlineVersionStyles_1 = require("./headlineVersionStyles");
|
|
|
10
10
|
exports.Headline = (0, uni_jsx_1.JSX)(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, isPadding = true, isTheme = false, version = '', ...rest }) => {
|
|
11
11
|
const versionStyle = headlineVersionStyles_1.headlineVersionStyles[headlineVersion];
|
|
12
12
|
const paddingStyle = isPadding ? 'p-default' : '';
|
|
13
|
-
|
|
13
|
+
const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)(paddingStyle, className), version: version, isTheme: isTheme, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: (0, style_1.style)('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? ((0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: versionStyle.descriptionSize, align: align, ...descriptionStyle, children: description })) : null] }));
|
|
14
15
|
});
|
|
15
16
|
//# sourceMappingURL=Headline.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AACzD,0DAAuD;AACvD,gEAA6D;AAC7D,6CAA0C;AAC1C,mEAAgE;AAOnD,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,KAAK,EACL,WAAW,EACX,eAAe,GAAG,IAAI,EACtB,KAAK,GAAG,aAAa,EACrB,EAAE,EACF,SAAS,GAAG,IAAI,EAChB,OAAO,GAAG,KAAK,EACf,OAAO,GAAG,EAAE,EACZ,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,6CAAqB,CAAC,eAAe,CAAC,CAAC;IAC5D,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,MAAM,gBAAgB,GAAG,EAAE,SAAS,EAAE,YAAY,CAAC,gBAAgB,EAAE,CAAC;IAEtE,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,SAAS,CAAC,EACzC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,KACZ,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,KAAK,CAAC,KAC1C,YAAY,EAAE,KAAK,EACvB,EAAE,EAAE,EAAE,IAAI,YAAY,EAAE,KAAK,CAAC,EAAE,EAChC,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,qBAAS,IACR,IAAI,EAAE,YAAY,CAAC,eAA2B,EAC9C,KAAK,EAAE,KAAK,KACR,gBAAgB,YAEnB,WAAW,GACF,CACb,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -2,8 +2,8 @@ import type { HeadlineSmallVersion, HeadlineVersion } from '../../model/Headline
|
|
|
2
2
|
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
3
3
|
import type { TextSize, TitleSize } from '../../ui-kit/Text/TextProps';
|
|
4
4
|
export declare const headlineVersionStyles: Record<HeadlineVersion, {
|
|
5
|
-
wrapper: string;
|
|
6
5
|
title: HeadingCommonProps;
|
|
7
6
|
descriptionSize: TextSize | TitleSize;
|
|
7
|
+
descriptionStyle: string;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const HEADLINE_SMALL_VERSION: Record<HeadlineSmallVersion, string>;
|
|
@@ -2,34 +2,34 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.HEADLINE_SMALL_VERSION = exports.headlineVersionStyles = void 0;
|
|
3
3
|
exports.headlineVersionStyles = {
|
|
4
4
|
XXL: {
|
|
5
|
-
wrapper: 'gap-[18px]',
|
|
6
5
|
title: { headingType: 'h0', as: 'h1' },
|
|
7
6
|
descriptionSize: 'text-h5',
|
|
7
|
+
descriptionStyle: 'mt-5',
|
|
8
8
|
},
|
|
9
9
|
XL: {
|
|
10
|
-
wrapper: 'gap-4',
|
|
11
10
|
title: { headingType: 'h1', as: 'h1' },
|
|
12
11
|
descriptionSize: 'text-xl-light',
|
|
12
|
+
descriptionStyle: 'mt-4',
|
|
13
13
|
},
|
|
14
14
|
L: {
|
|
15
|
-
wrapper: 'gap-4',
|
|
16
15
|
title: { headingType: 'h2', as: 'h2' },
|
|
17
16
|
descriptionSize: 'text-xl-light',
|
|
17
|
+
descriptionStyle: 'mt-4',
|
|
18
18
|
},
|
|
19
19
|
M: {
|
|
20
|
-
wrapper: 'gap-3',
|
|
21
20
|
title: { headingType: 'h3', as: 'h3' },
|
|
22
21
|
descriptionSize: 'text-xl-light',
|
|
22
|
+
descriptionStyle: 'mt-3',
|
|
23
23
|
},
|
|
24
24
|
S: {
|
|
25
|
-
wrapper: 'gap-2',
|
|
26
25
|
title: { headingType: 'h4', as: 'h4' },
|
|
27
26
|
descriptionSize: 'text-xl-light',
|
|
27
|
+
descriptionStyle: 'mt-2',
|
|
28
28
|
},
|
|
29
29
|
XS: {
|
|
30
|
-
wrapper: 'gap-2',
|
|
31
30
|
title: { headingType: 'h5', as: 'h5' },
|
|
32
31
|
descriptionSize: 'text-l-light',
|
|
32
|
+
descriptionStyle: 'mt-2',
|
|
33
33
|
},
|
|
34
34
|
};
|
|
35
35
|
// TODO Move to Gallery and rename
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headlineVersionStyles.js","sourceRoot":"","sources":["../../../src/components/Headline/headlineVersionStyles.ts"],"names":[],"mappings":";;AAIa,QAAA,qBAAqB,GAO9B;IACF,GAAG,EAAE;QACH,
|
|
1
|
+
{"version":3,"file":"headlineVersionStyles.js","sourceRoot":"","sources":["../../../src/components/Headline/headlineVersionStyles.ts"],"names":[],"mappings":";;AAIa,QAAA,qBAAqB,GAO9B;IACF,GAAG,EAAE;QACH,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,SAAS;QAC1B,gBAAgB,EAAE,MAAM;KACzB;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,CAAC,EAAE;QACD,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,eAAe;QAChC,gBAAgB,EAAE,MAAM;KACzB;IACD,EAAE,EAAE;QACF,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;QACtC,eAAe,EAAE,cAAc;QAC/B,gBAAgB,EAAE,MAAM;KACzB;CACF,CAAC;AAEF,kCAAkC;AACrB,QAAA,sBAAsB,GAAyC;IAC1E,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,cAAc;IACnB,GAAG,EAAE,QAAQ;IACb,CAAC,EAAE,cAAc;IACjB,CAAC,EAAE,cAAc;IACjB,EAAE,EAAE,eAAe;CACpB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RenderTabProps } from './renderTab';
|
|
2
|
+
import type { TabData } from './TabsContent';
|
|
3
|
+
interface CenteredTabsProps extends RenderTabProps {
|
|
4
|
+
tabs?: TabData[];
|
|
5
|
+
}
|
|
6
|
+
export declare const CenteredTabs: import("@redneckz/uni-jsx").UNIComponent<CenteredTabsProps, any, any>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.CenteredTabs = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const renderTab_1 = require("./renderTab");
|
|
6
|
+
exports.CenteredTabs = (0, uni_jsx_1.JSX)(({ tabs, ...rest }) => ((0, jsx_runtime_1.jsx)("div", { className: "flex p-1 m-auto bg-main-gray rounded-md", children: tabs?.map((0, renderTab_1.renderTab)({ ...rest })) })));
|
|
7
|
+
//# sourceMappingURL=CenteredTabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CenteredTabs.js","sourceRoot":"","sources":["../../../src/components/Tabs/CenteredTabs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAAwC;AAO3B,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACxE,gCAAK,SAAS,EAAC,yCAAyC,YAAE,IAAI,EAAE,GAAG,CAAC,IAAA,qBAAS,EAAC,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC,GAAO,CACnG,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { LinkTabData, TabData } from './TabsContent';
|
|
1
|
+
import type { LinkTabData, TabData, TabsMode } from './TabsContent';
|
|
2
2
|
interface LinkTabProps {
|
|
3
3
|
tab: LinkTabData;
|
|
4
4
|
currentTab?: TabData;
|
|
5
|
-
isScrollable?: boolean;
|
|
6
5
|
onClick: (tab: TabData) => void;
|
|
6
|
+
tabsMode?: TabsMode;
|
|
7
7
|
}
|
|
8
8
|
export declare const LinkTab: import("@redneckz/uni-jsx").UNIComponent<LinkTabProps, any, any>;
|
|
9
9
|
export {};
|
|
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
6
|
const tabItemClasses_1 = require("./tabItemClasses");
|
|
7
7
|
exports.LinkTab = (0, uni_jsx_1.JSX)((props) => {
|
|
8
|
-
const { tab, currentTab, onClick,
|
|
8
|
+
const { tab, currentTab, onClick, tabsMode } = props;
|
|
9
9
|
const active = currentTab?.type === 'link' && currentTab.href === tab.href;
|
|
10
10
|
const link = (0, useLink_1.useLink)();
|
|
11
11
|
const adjustedProps = link(tab);
|
|
@@ -13,6 +13,6 @@ exports.LinkTab = (0, uni_jsx_1.JSX)((props) => {
|
|
|
13
13
|
adjustedProps.onClick(ev);
|
|
14
14
|
onClick(tab);
|
|
15
15
|
};
|
|
16
|
-
return ((0, jsx_runtime_1.jsx)("a", { role: "tab", className: (0, tabItemClasses_1.getLinkTabClassName)('link', active,
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)("a", { role: "tab", className: (0, tabItemClasses_1.getLinkTabClassName)('link', active, tabsMode), target: tab.target, href: adjustedProps.href, onClick: handleClick, children: (0, jsx_runtime_1.jsx)("span", { className: (0, tabItemClasses_1.getLinkTabClassName)('text', active, tabsMode), children: tab.text }) }));
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=LinkTab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/LinkTab.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,qDAAuD;AAU1C,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"LinkTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/LinkTab.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,qDAAuD;AAU1C,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,KAAK,EAAE,EAAE;IACjD,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACrD,MAAM,MAAM,GAAG,UAAU,EAAE,IAAI,KAAK,MAAM,IAAI,UAAU,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,CAAC;IAE3E,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IAEhC,MAAM,WAAW,GAAG,CAAC,EAAmC,EAAE,EAAE;QAC1D,aAAa,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAC1B,OAAO,CAAC,GAAG,CAAC,CAAC;IACf,CAAC,CAAC;IAEF,OAAO,CACL,8BACE,IAAI,EAAC,KAAK,EACV,SAAS,EAAE,IAAA,oCAAmB,EAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EACxD,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,IAAI,EAAE,aAAa,CAAC,IAAI,EACxB,OAAO,EAAE,WAAW,YAEpB,iCAAM,SAAS,EAAE,IAAA,oCAAmB,EAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,YAAG,GAAG,CAAC,IAAI,GAAQ,GAC/E,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,23 +2,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.ScrollableTabs = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const ArrowButton_1 = require("../../ui-kit/Button/ArrowButton");
|
|
5
6
|
const SwipeListContainer_1 = require("../../ui-kit/SwipeListControl/SwipeListContainer");
|
|
6
7
|
const useSwipeListScroll_1 = require("../../ui-kit/SwipeListControl/useSwipeListScroll");
|
|
7
|
-
const ArrowButton_1 = require("../../ui-kit/Button/ArrowButton");
|
|
8
8
|
const renderTab_1 = require("./renderTab");
|
|
9
9
|
const scrollButtonStyle = 'absolute z-40 top-0';
|
|
10
10
|
exports.ScrollableTabs = (0, uni_jsx_1.JSX)((props) => {
|
|
11
|
-
const { tabs,
|
|
11
|
+
const { tabs, ...rest } = props;
|
|
12
12
|
const [containerRef, scroll] = (0, useSwipeListScroll_1.useSwipeListScroll)({
|
|
13
13
|
itemCount: tabs?.length || 0,
|
|
14
14
|
isCyclic: false,
|
|
15
15
|
});
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full m-auto", children: [(0, jsx_runtime_1.jsx)("div", { className: `font-sans max-w-full w-full overflow-hidden relative bg-white`, children: (0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: tabs?.map((0, renderTab_1.renderTab)({
|
|
17
|
-
onClick,
|
|
18
|
-
currentTab,
|
|
19
|
-
showCounter,
|
|
20
|
-
page,
|
|
21
|
-
isScrollable: true,
|
|
22
|
-
})) }) }), scroll.canScrollLeft ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollLeftButton, { className: `${scrollButtonStyle} left-6`, onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollRightButton, { className: `${scrollButtonStyle} rotate-180 right-6`, onClick: scroll.scrollRight })) : null] }));
|
|
16
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "relative max-w-full m-auto", children: [(0, jsx_runtime_1.jsx)("div", { className: `font-sans max-w-full w-full overflow-hidden relative bg-white`, children: (0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, snapAlign: "snap-start", onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: tabs?.map((0, renderTab_1.renderTab)({ ...rest })) }) }), scroll.canScrollLeft ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollLeftButton, { className: `${scrollButtonStyle} left-6`, onClick: scroll.scrollLeft })) : null, scroll.canScrollRight ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollRightButton, { className: `${scrollButtonStyle} rotate-180 right-6`, onClick: scroll.scrollRight })) : null] }));
|
|
23
17
|
});
|
|
24
18
|
//# sourceMappingURL=ScrollableTabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollableTabs.js","sourceRoot":"","sources":["../../../src/components/Tabs/ScrollableTabs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ScrollableTabs.js","sourceRoot":"","sources":["../../../src/components/Tabs/ScrollableTabs.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAAsF;AACtF,yFAAsF;AACtF,yFAAsF;AAEtF,2CAAwC;AASxC,MAAM,iBAAiB,GAAG,qBAAqB,CAAC;AAEnC,QAAA,cAAc,GAAG,IAAA,aAAG,EAAsB,CAAC,KAAK,EAAE,EAAE;IAC/D,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEhC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,IAAA,uCAAkB,EAAiB;QAChE,SAAS,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;QAC5B,QAAQ,EAAE,KAAK;KAChB,CAAC,CAAC;IAEH,OAAO,CACL,iCAAK,SAAS,EAAC,4BAA4B,aACzC,gCAAK,SAAS,EAAE,+DAA+D,YAC7E,uBAAC,uCAAkB,IACjB,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAC,YAAY,EACtB,sBAAsB,EAAE,MAAM,CAAC,0BAA0B,YAExD,IAAI,EAAE,GAAG,CAAC,IAAA,qBAAS,EAAC,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC,GACf,GACjB,EACL,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CACtB,uBAAC,8BAAgB,IAAC,SAAS,EAAE,GAAG,iBAAiB,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,UAAU,GAAI,CAC3F,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CACvB,uBAAC,+BAAiB,IAChB,SAAS,EAAE,GAAG,iBAAiB,qBAAqB,EACpD,OAAO,EAAE,MAAM,CAAC,WAAW,GAC3B,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|