@redneckz/wildless-cms-uni-blocks 0.4.5 → 0.4.7
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 +231 -185
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/{AirPlane.svg → AirPlaneIcon.svg} +0 -0
- package/cosmos-static/icons/{DocDownload.svg → DocDownloadIcon.svg} +0 -0
- package/cosmos-static/icons/{Logo.svg → LogoIcon.svg} +0 -0
- package/cosmos-static/icons/{PackA4.svg → PackA4Icon.svg} +0 -0
- package/cosmos-static/icons/{WateringCan.svg → WateringCanIcon.svg} +0 -0
- package/dist/components/BlockContent.d.ts +5 -2
- package/dist/components/Blocks.d.ts +3 -0
- package/dist/components/Blocks.js +6 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/dist/components/Calculator/Calculator.js +6 -4
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +7 -6
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/MortgageCalculatorForm.js +1 -3
- package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Rate.js +1 -1
- package/dist/components/Calculator/Rate.js.map +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js +2 -1
- package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
- package/dist/components/Calculator/renderMonthsInput.js +1 -1
- package/dist/components/Calculator/renderProposalMortgage.js +2 -1
- package/dist/components/Calculator/renderProposalMortgage.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.d.ts +5 -0
- package/dist/components/CardTransfer/CardTransfer.js +28 -0
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -0
- package/dist/components/CardTransfer/CardTransferContent.d.ts +10 -0
- package/dist/components/CardTransfer/CardTransferContent.js +2 -0
- package/dist/components/CardTransfer/CardTransferContent.js.map +1 -0
- package/dist/components/ErrorBlock/ErrorBlock.d.ts +5 -0
- package/dist/components/ErrorBlock/ErrorBlock.js +23 -0
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -0
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
- package/dist/components/ErrorBlock/ErrorBlockContent.js +2 -0
- package/dist/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +12 -0
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
- package/dist/components/PictureText/PictureText.js +4 -4
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
- package/dist/components/SafeDepositRental/RegionsAndBranches.js +9 -0
- package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
- package/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
- package/dist/components/SafeDepositRental/RenderRadioButtons.js +12 -0
- package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
- package/dist/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
- package/dist/components/SafeDepositRental/RentalPeriod.js +10 -0
- package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -0
- package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
- package/dist/components/SafeDepositRental/SafeBoxCases.js +9 -0
- package/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
- package/dist/components/SafeDepositRental/SafeDepositRental.js +5 -71
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +51 -67
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -11
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
- package/dist/components/SafeDepositRental/WrapperSelect.js +10 -0
- package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -0
- package/dist/components/SafeDepositRental/fetchBranches.d.ts +2 -0
- package/dist/components/SafeDepositRental/fetchBranches.js +20 -0
- package/dist/components/SafeDepositRental/fetchBranches.js.map +1 -0
- package/dist/components/SafeDepositRental/useGetRegions.d.ts +6 -0
- package/dist/components/SafeDepositRental/useGetRegions.js +11 -0
- package/dist/components/SafeDepositRental/useGetRegions.js.map +1 -0
- package/dist/components/TariffsTable/EmbeddableCellData.js +1 -0
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/dist/components/TariffsTable/dataFixture.js +1 -0
- package/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/dist/icons/IconName.d.ts +12 -12
- package/dist/icons/IconName.js +10 -10
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/Button/Button.js +6 -15
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
- package/dist/ui-kit/Button/GetButtonClassParams.js +2 -0
- package/dist/ui-kit/Button/GetButtonClassParams.js.map +1 -0
- package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
- package/dist/ui-kit/Button/buttonClassNameConstants.js +14 -0
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
- package/dist/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
- package/dist/ui-kit/Button/getDisabledButtonClasses.js +12 -0
- package/dist/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
- package/dist/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
- package/dist/ui-kit/Button/getRegularButtonClasses.js +12 -0
- package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
- package/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +21 -0
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTable.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.js +1 -1
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.js +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Select/SelectOption.d.ts +1 -0
- package/dist/ui-kit/Select/SelectOption.js +2 -2
- package/dist/ui-kit/Select/SelectOption.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BlockContent.d.ts +5 -2
- package/lib/components/Blocks.d.ts +3 -0
- package/lib/components/Blocks.js +6 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/lib/components/Calculator/Calculator.js +6 -4
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +7 -6
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/lib/components/Calculator/MortgageCalculatorForm.js +1 -3
- package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Rate.js +1 -1
- package/lib/components/Calculator/Rate.js.map +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js +3 -2
- package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
- package/lib/components/Calculator/renderMonthsInput.js +1 -1
- package/lib/components/Calculator/renderProposalMortgage.js +2 -1
- package/lib/components/Calculator/renderProposalMortgage.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.d.ts +5 -0
- package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +5 -0
- package/lib/components/CardTransfer/CardTransfer.js +26 -0
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -0
- package/lib/components/CardTransfer/CardTransferContent.d.ts +10 -0
- package/lib/components/CardTransfer/CardTransferContent.js +2 -0
- package/lib/components/CardTransfer/CardTransferContent.js.map +1 -0
- package/lib/components/ErrorBlock/ErrorBlock.d.ts +5 -0
- package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +6 -0
- package/lib/components/ErrorBlock/ErrorBlock.js +21 -0
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -0
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
- package/lib/components/ErrorBlock/ErrorBlockContent.js +2 -0
- package/lib/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +5 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +10 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
- package/lib/components/PictureText/PictureText.js +4 -4
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
- package/lib/components/SafeDepositRental/RegionsAndBranches.js +7 -0
- package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
- package/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
- package/lib/components/SafeDepositRental/RenderRadioButtons.js +10 -0
- package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
- package/lib/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
- package/lib/components/SafeDepositRental/RentalPeriod.js +8 -0
- package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -0
- package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
- package/lib/components/SafeDepositRental/SafeBoxCases.js +7 -0
- package/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
- package/lib/components/SafeDepositRental/SafeDepositRental.js +5 -71
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +50 -65
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -10
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
- package/lib/components/SafeDepositRental/WrapperSelect.js +8 -0
- package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -0
- package/lib/components/SafeDepositRental/fetchBranches.d.ts +2 -0
- package/lib/components/SafeDepositRental/fetchBranches.js +17 -0
- package/lib/components/SafeDepositRental/fetchBranches.js.map +1 -0
- package/lib/components/SafeDepositRental/useGetRegions.d.ts +6 -0
- package/lib/components/SafeDepositRental/useGetRegions.js +8 -0
- package/lib/components/SafeDepositRental/useGetRegions.js.map +1 -0
- package/lib/components/TariffsTable/EmbeddableCellData.js +1 -0
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/lib/components/TariffsTable/dataFixture.js +1 -0
- package/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/lib/icons/IconName.d.ts +12 -12
- package/lib/icons/IconName.js +10 -10
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/Button/Button.js +6 -15
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
- package/lib/ui-kit/Button/GetButtonClassParams.js +2 -0
- package/lib/ui-kit/Button/GetButtonClassParams.js.map +1 -0
- package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
- package/lib/ui-kit/Button/buttonClassNameConstants.js +12 -0
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
- package/lib/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
- package/lib/ui-kit/Button/getDisabledButtonClasses.js +9 -0
- package/lib/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
- package/lib/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
- package/lib/ui-kit/Button/getRegularButtonClasses.js +9 -0
- package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
- package/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +19 -0
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTable.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.js +1 -1
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.js +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Select/SelectOption.d.ts +1 -0
- package/lib/ui-kit/Select/SelectOption.js +2 -2
- package/lib/ui-kit/Select/SelectOption.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +17 -16
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/BlockContent.d.ts +5 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +6 -4
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +7 -6
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +1 -3
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Rate.js +1 -1
- package/mobile/dist/components/Calculator/Rate.js.map +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js +2 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.js +1 -1
- package/mobile/dist/components/Calculator/renderProposalMortgage.js +2 -1
- package/mobile/dist/components/Calculator/renderProposalMortgage.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +5 -0
- package/mobile/dist/components/CardTransfer/CardTransfer.js +28 -0
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -0
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +10 -0
- package/mobile/dist/components/CardTransfer/CardTransferContent.js +2 -0
- package/mobile/dist/components/CardTransfer/CardTransferContent.js.map +1 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +5 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +23 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.js +2 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +12 -0
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureText.js +4 -4
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +9 -0
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +12 -0
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +10 -0
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +9 -0
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +5 -71
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +51 -67
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -11
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +10 -0
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/fetchBranches.d.ts +2 -0
- package/mobile/dist/components/SafeDepositRental/fetchBranches.js +20 -0
- package/mobile/dist/components/SafeDepositRental/fetchBranches.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/useGetRegions.d.ts +6 -0
- package/mobile/dist/components/SafeDepositRental/useGetRegions.js +11 -0
- package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/dataFixture.js +1 -0
- package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +12 -12
- package/mobile/dist/icons/IconName.js +10 -10
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
- package/mobile/dist/ui-kit/Button/GetButtonClassParams.js +2 -0
- package/mobile/dist/ui-kit/Button/GetButtonClassParams.js.map +1 -0
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +14 -0
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
- package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js +12 -0
- package/mobile/dist/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +12 -0
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +21 -0
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -0
- package/mobile/dist/ui-kit/Select/SelectOption.js +2 -2
- package/mobile/dist/ui-kit/Select/SelectOption.js.map +1 -1
- package/mobile/lib/components/BlockContent.d.ts +5 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +6 -4
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +7 -6
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +1 -3
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Rate.js +1 -1
- package/mobile/lib/components/Calculator/Rate.js.map +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js +3 -2
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.js +1 -1
- package/mobile/lib/components/Calculator/renderProposalMortgage.js +2 -1
- package/mobile/lib/components/Calculator/renderProposalMortgage.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +5 -0
- package/mobile/lib/components/CardTransfer/CardTransfer.js +26 -0
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -0
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +10 -0
- package/mobile/lib/components/CardTransfer/CardTransferContent.js +2 -0
- package/mobile/lib/components/CardTransfer/CardTransferContent.js.map +1 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +5 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +21 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +35 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.js +2 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.js.map +1 -0
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +10 -0
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -0
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +24 -0
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +2 -0
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureText.js +4 -4
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +7 -0
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +10 -0
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +8 -0
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +7 -0
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +5 -71
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +17 -0
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +5 -5
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +50 -65
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +5 -7
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +16 -10
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +8 -0
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/fetchBranches.d.ts +2 -0
- package/mobile/lib/components/SafeDepositRental/fetchBranches.js +17 -0
- package/mobile/lib/components/SafeDepositRental/fetchBranches.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/useGetRegions.d.ts +6 -0
- package/mobile/lib/components/SafeDepositRental/useGetRegions.js +8 -0
- package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +3 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/dataFixture.js +1 -0
- package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +12 -12
- package/mobile/lib/icons/IconName.js +10 -10
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
- package/mobile/lib/ui-kit/Button/GetButtonClassParams.js +2 -0
- package/mobile/lib/ui-kit/Button/GetButtonClassParams.js.map +1 -0
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +4 -0
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +12 -0
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -0
- package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js +9 -0
- package/mobile/lib/ui-kit/Button/getDisabledButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +9 -0
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -0
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +19 -0
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +19 -0
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -0
- package/mobile/lib/ui-kit/Select/SelectOption.js +2 -2
- package/mobile/lib/ui-kit/Select/SelectOption.js.map +1 -1
- package/mobile/src/common.css +1 -1
- package/mobile/src/components/BlockContent.ts +8 -2
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/Calculator.tsx +6 -4
- package/mobile/src/components/Calculator/CalculatorContent.ts +11 -6
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +2 -8
- package/mobile/src/components/Calculator/Rate.tsx +3 -3
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -0
- package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +1 -1
- package/mobile/src/components/Calculator/renderMonthsInput.tsx +1 -1
- package/mobile/src/components/Calculator/renderProposalMortgage.tsx +7 -2
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +59 -0
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +10 -0
- package/mobile/src/components/ContentPage/ContentPage.page.json +4 -0
- package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +13 -0
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +45 -0
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +38 -0
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +33 -0
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +41 -0
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +26 -0
- package/mobile/src/components/PictureText/PictureText.tsx +6 -6
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +50 -0
- package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +29 -0
- package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +18 -0
- package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +48 -0
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +8 -78
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +21 -0
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +86 -143
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +24 -16
- package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +45 -0
- package/mobile/src/components/SafeDepositRental/fetchBranches.ts +21 -0
- package/mobile/src/components/SafeDepositRental/useGetRegions.ts +16 -0
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +9 -4
- package/mobile/src/components/TariffsTable/dataFixture.ts +5 -4
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +98 -73
- package/mobile/src/icons/{AirPlane.svg → AirPlaneIcon.svg} +0 -0
- package/mobile/src/icons/{DocDownload.svg → DocDownloadIcon.svg} +0 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/{Logo.svg → LogoIcon.svg} +0 -0
- package/mobile/src/icons/{PackA4.svg → PackA4Icon.svg} +0 -0
- package/mobile/src/icons/{WateringCan.svg → WateringCanIcon.svg} +0 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +12 -9
- package/mobile/src/ui-kit/Button/GetButtonClassParams.ts +7 -0
- package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +16 -0
- package/mobile/src/ui-kit/Button/getDisabledButtonClasses.ts +15 -0
- package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +15 -0
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +70 -0
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/Logo/Logo.tsx +1 -1
- package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +1 -0
- package/mobile/src/ui-kit/Select/SelectOption.tsx +3 -2
- package/package.json +1 -1
- package/src/common.css +1 -1
- package/src/components/BlockContent.ts +8 -2
- package/src/components/Blocks.ts +6 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +2 -2
- package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/src/components/Calculator/Calculator.fixture.tsx +1 -0
- package/src/components/Calculator/Calculator.tsx +6 -4
- package/src/components/Calculator/CalculatorContent.ts +11 -6
- package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/src/components/Calculator/MortgageCalculatorForm.tsx +2 -8
- package/src/components/Calculator/Rate.tsx +3 -3
- package/src/components/Calculator/renderCalculatorBlock.tsx +2 -0
- package/src/components/Calculator/renderInitialFeeInput.tsx +1 -1
- package/src/components/Calculator/renderMonthsInput.tsx +1 -1
- package/src/components/Calculator/renderProposalMortgage.tsx +7 -2
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +6 -0
- package/src/components/CardTransfer/CardTransfer.tsx +59 -0
- package/src/components/CardTransfer/CardTransferContent.ts +10 -0
- package/src/components/ContentPage/ContentPage.page.json +4 -0
- package/src/components/ErrorBlock/ErrorBlock.example.json +13 -0
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +53 -0
- package/src/components/ErrorBlock/ErrorBlock.tsx +45 -0
- package/src/components/ErrorBlock/ErrorBlockContent.ts +38 -0
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +33 -0
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +44 -0
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +41 -0
- package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +26 -0
- package/src/components/PictureText/PictureText.fixture.tsx +1 -1
- package/src/components/PictureText/PictureText.tsx +6 -6
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +50 -0
- package/src/components/SafeDepositRental/RenderRadioButtons.tsx +29 -0
- package/src/components/SafeDepositRental/RentalPeriod.tsx +18 -0
- package/src/components/SafeDepositRental/SafeBoxCases.tsx +48 -0
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +8 -78
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +21 -0
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +86 -143
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +24 -16
- package/src/components/SafeDepositRental/WrapperSelect.tsx +45 -0
- package/src/components/SafeDepositRental/fetchBranches.ts +21 -0
- package/src/components/SafeDepositRental/useGetRegions.ts +16 -0
- package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -2
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +9 -4
- package/src/components/TariffsTable/dataFixture.ts +5 -4
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +98 -73
- package/src/icons/{AirPlane.svg → AirPlaneIcon.svg} +0 -0
- package/src/icons/{DocDownload.svg → DocDownloadIcon.svg} +0 -0
- package/src/icons/IconName.ts +16 -16
- package/src/icons/{Logo.svg → LogoIcon.svg} +0 -0
- package/src/icons/{PackA4.svg → PackA4Icon.svg} +0 -0
- package/src/icons/{WateringCan.svg → WateringCanIcon.svg} +0 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +12 -9
- package/src/ui-kit/Button/Button.tsx +6 -34
- package/src/ui-kit/Button/GetButtonClassParams.ts +7 -0
- package/src/ui-kit/Button/buttonClassNameConstants.ts +16 -0
- package/src/ui-kit/Button/getDisabledButtonClasses.ts +15 -0
- package/src/ui-kit/Button/getRegularButtonClasses.ts +15 -0
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +70 -0
- package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/Logo/Logo.mobile.tsx +1 -1
- package/src/ui-kit/Logo/Logo.tsx +1 -1
- package/src/ui-kit/Radio/Radio.tsx +1 -1
- package/src/ui-kit/Select/Select.tsx +1 -0
- package/src/ui-kit/Select/SelectOption.tsx +3 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.example.json +0 -3
- package/src/components/SafeDepositRental/SafeDepositRental.example.json +0 -3
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { EmbeddableCalcBlocks } from './EmbeddableCalcBlocks.js';
|
|
3
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
3
4
|
export const renderCalculatorBlock = ({ context, className }) => (block, i) => {
|
|
4
5
|
const type = block?.calcType;
|
|
5
6
|
if (!type || !(type in EmbeddableCalcBlocks)) {
|
|
6
7
|
return null;
|
|
7
8
|
}
|
|
8
9
|
const EmbeddedBlock = EmbeddableCalcBlocks[type];
|
|
9
|
-
return (_jsx("section", { className: `box-border relative bg-white flex shrink-0 self-start basis-full ${className}`, role: "listitem", children:
|
|
10
|
+
return (_jsx("section", { className: `box-border relative bg-white flex shrink-0 self-start basis-full ${className}`, role: "listitem", children: _jsxs("div", { className: "box-border p-9 w-full", children: [block?.title ? _jsx(Heading, { className: "text-center mb-6", title: block.title }) : null, _jsx(EmbeddedBlock, { context: context, ...block, className: "flex justify-between" })] }) }, String(i)));
|
|
10
11
|
};
|
|
11
12
|
//# sourceMappingURL=renderCalculatorBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAuB,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAuB,MAAM,wBAAwB,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,qBAAqB,GAChC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAO,EAAE,EAAE,CAChC,CAAC,KAAyB,EAAE,CAAS,EAAE,EAAE;IACvC,MAAM,IAAI,GAAG,KAAK,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,oBAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAkC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAEhF,OAAO,CACL,kBAEE,SAAS,EAAE,oEAAoE,SAAS,EAAE,EAC1F,IAAI,EAAC,UAAU,YAEf,eAAK,SAAS,EAAC,uBAAuB,aACnC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACnF,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,EAAE,SAAS,EAAC,sBAAsB,GAAG,IAC3E,IAPD,MAAM,CAAC,CAAC,CAAC,CAQN,CACX,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ export function renderInitialFeeInput(title, props, callback) {
|
|
|
8
8
|
const { moneyValue } = props;
|
|
9
9
|
const minSum = DEFAULT_MIN_SUM;
|
|
10
10
|
const maxSum = DEFAULT_MAX_SUM;
|
|
11
|
-
return (_jsx(InputRange, { className: "mt-
|
|
11
|
+
return (_jsx(InputRange, { className: "mt-7", title: title, items: [
|
|
12
12
|
`От ${addSpacesBetweenNumbers(minSum)} рублей`,
|
|
13
13
|
`До ${addSpacesBetweenNumbers(maxSum)} рублей`,
|
|
14
14
|
], min: minSum, max: maxSum, step: STEP_MONEY, value: moneyValue, onChange: callback }));
|
|
@@ -8,6 +8,6 @@ export function renderMonthsInput(title, params, callback) {
|
|
|
8
8
|
const text = Number(month) % 10 === 1 ? 'месяца' : 'месяцев';
|
|
9
9
|
return `${month} ${text}`;
|
|
10
10
|
};
|
|
11
|
-
return (_jsx(InputRange, { className: "mt-
|
|
11
|
+
return (_jsx(InputRange, { className: "mt-7", title: title, items: [`От ${monthText(minMonths)}`, `До ${monthText(maxMonths)}`], min: minMonths, max: maxMonths, step: STEP_MONTHS, value: clamp(monthsValue, minMonths, maxMonths), onChange: callback }));
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=renderMonthsInput.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { CalculatorValueBlock } from './CalculatorValueBlock.js';
|
|
3
|
+
const monthlyPayment = 777777; // TODO: hardcode
|
|
3
4
|
export function renderProposalMortgage({ credit, period, taxRefund }) {
|
|
4
|
-
return (_jsxs("div", { children: [_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: credit, postfix: "\u20BD" }), _jsx(CalculatorValueBlock, { title: "\u0421\u0440\u043E\u043A", value: period, postfix: "\u043B\u0435\u0442" }), _jsx(CalculatorValueBlock, { title: "\u041D\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0439 \u0432\u044B\u0447\u0435\u0442", value: taxRefund, postfix: "\u20BD" })] }));
|
|
5
|
+
return (_jsxs("div", { children: [_jsxs("div", { className: "flex justify-between", children: [_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: credit, postfix: "\u20BD" }), _jsx(CalculatorValueBlock, { title: "\u0421\u0440\u043E\u043A", value: period, postfix: "\u043B\u0435\u0442", className: "w-[120px]" })] }), _jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0435\u0436", value: monthlyPayment, postfix: "\u20BD" }), _jsx(CalculatorValueBlock, { title: "\u041D\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0439 \u0432\u044B\u0447\u0435\u0442", value: taxRefund, postfix: "\u20BD" })] }));
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=renderProposalMortgage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderProposalMortgage.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposalMortgage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQ9D,MAAM,UAAU,sBAAsB,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAoB;IACpF,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"renderProposalMortgage.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposalMortgage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQ9D,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,iBAAiB;AAEhD,MAAM,UAAU,sBAAsB,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAoB;IACpF,OAAO,CACL,0BACE,eAAK,SAAS,EAAC,sBAAsB,aAClC,KAAC,oBAAoB,IAAC,KAAK,EAAC,2EAAe,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,GAAG,EACzE,KAAC,oBAAoB,IAAC,KAAK,EAAC,0BAAM,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,oBAAK,EAAC,SAAS,EAAC,WAAW,GAAG,IACrF,EACL,KAAC,oBAAoB,IAAC,KAAK,EAAC,yGAAoB,EAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAC,QAAG,GAAG,EACtF,KAAC,oBAAoB,IAAC,KAAK,EAAC,uFAAiB,EAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAC,QAAG,GAAG,IAC3E,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { CardTransferContent } from './CardTransferContent';
|
|
3
|
+
export interface CardTransferProps extends CardTransferContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const CardTransfer: import("@redneckz/uni-jsx").UNIComponent<CardTransferProps, any, any>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
+
import { CurrencyInput } from '../../ui-kit/CurrencyInput/CurrencyInput.js';
|
|
6
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
|
+
import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses.js';
|
|
8
|
+
import { getDisabledButtonClasses } from '../../ui-kit/Button/getDisabledButtonClasses.js';
|
|
9
|
+
const AMOUNT_KEY = 'amount';
|
|
10
|
+
const INPUT_LABEL = 'Сумма перевода';
|
|
11
|
+
const BUTTON_TEXT = 'Далее';
|
|
12
|
+
const PLACEHOLDER = '1500';
|
|
13
|
+
const TITLE = 'Укажите сумму перевода';
|
|
14
|
+
const FORM_URL = 'https://www.rshb.ru/p2p/';
|
|
15
|
+
const BUTTON_CLASS_PARAMS = {
|
|
16
|
+
version: 'primary',
|
|
17
|
+
className: 'w-full h-[56px] px-9 mt-6',
|
|
18
|
+
};
|
|
19
|
+
export const CardTransfer = JSX(({ className = '', title = TITLE, ...rest }) => {
|
|
20
|
+
const [value, setValue] = useState('');
|
|
21
|
+
const isDisabled = !Number(value);
|
|
22
|
+
return (_jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, placeholder: PLACEHOLDER, label: INPUT_LABEL }), _jsx("button", { type: "submit", className: isDisabled
|
|
23
|
+
? getDisabledButtonClasses(BUTTON_CLASS_PARAMS)
|
|
24
|
+
: getRegularButtonClasses(BUTTON_CLASS_PARAMS), disabled: isDisabled, children: BUTTON_TEXT })] })] }));
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAIvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAExF,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,WAAW,GAAG,gBAAgB,CAAC;AACrC,MAAM,WAAW,GAAG,OAAO,CAAC;AAC5B,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAEvC,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAE5C,MAAM,mBAAmB,GAAyB;IAChD,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,2BAA2B;CACvC,CAAC;AAIF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChG,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IAC/C,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAElC,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,0DAA0D,SAAS,EAAE,KAC5E,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,SAAS,EAAC,oBAAoB,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzF,gBAAM,SAAS,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,QAAQ,aACxD,KAAC,aAAa,IACZ,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,WAAW,GAClB,EACF,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EACP,UAAU;4BACR,CAAC,CAAC,wBAAwB,CAAC,mBAAmB,CAAC;4BAC/C,CAAC,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,EAElD,QAAQ,EAAE,UAAU,YAEnB,WAAW,GACL,IACJ,IACM,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTransferContent.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransferContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { ErrorBlockContent } from './ErrorBlockContent';
|
|
3
|
+
export interface ErrorBlockProps extends ErrorBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ErrorBlock: import("@redneckz/uni-jsx").UNIComponent<ErrorBlockProps, any, any>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
import { Button } from '../../ui-kit/Button/Button.js';
|
|
5
|
+
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
|
+
const renderErrorContent = (error) => {
|
|
8
|
+
if (error?.errorContentType === 'Image' && error?.image) {
|
|
9
|
+
return _jsx(Img, { className: "mb-7", image: error.image });
|
|
10
|
+
}
|
|
11
|
+
if (error?.errorContentType === 'Code' && error.code) {
|
|
12
|
+
return _jsx("div", { className: "text-title-extra gradient-color-text", children: error.code });
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
};
|
|
16
|
+
export const ErrorBlock = JSX(({ context, className = '', title, subtitle, error, button }) => {
|
|
17
|
+
const { useRouter, handlerDecorator } = context;
|
|
18
|
+
const router = useRouter();
|
|
19
|
+
return (_jsxs("section", { className: `flex flex-col justify-center items-center ${className}`, role: "listitem", children: [_jsx("div", { className: "flex justify-center mb-7", children: renderErrorContent(error) }), title ? _jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? _jsx("div", { className: "text-xl-light text-left mb-7", children: subtitle }) : null, button?.text ? (_jsx(Button, { className: "py-4 px-9", version: button?.version, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] }));
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=ErrorBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBlock.js","sourceRoot":"","sources":["../../../src/components/ErrorBlock/ErrorBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAIvD,MAAM,kBAAkB,GAAG,CAAC,KAAiC,EAAE,EAAE;IAC/D,IAAI,KAAK,EAAE,gBAAgB,KAAK,OAAO,IAAI,KAAK,EAAE,KAAK,EAAE;QACvD,OAAO,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,GAAI,CAAC;KACrD;IAED,IAAI,KAAK,EAAE,gBAAgB,KAAK,MAAM,IAAI,KAAK,CAAC,IAAI,EAAE;QACpD,OAAO,cAAK,SAAS,EAAC,sCAAsC,YAAE,KAAK,CAAC,IAAI,GAAO,CAAC;KACjF;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE;IAC9D,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAChD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,OAAO,CACL,mBAAS,SAAS,EAAE,6CAA6C,SAAS,EAAE,EAAE,IAAI,EAAC,UAAU,aAC3F,cAAK,SAAS,EAAC,0BAA0B,YAAE,kBAAkB,CAAC,KAAK,CAAC,GAAO,EAC1E,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACpF,QAAQ,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,8BAA8B,YAAE,QAAQ,GAAO,CAAC,CAAC,CAAC,IAAI,EAChF,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,KAAC,MAAM,IACL,SAAS,EAAC,WAAW,EACrB,OAAO,EAAE,MAAM,EAAE,OAAO,KACpB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,YAEhD,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { Picture } from '../../model/Picture';
|
|
2
|
+
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
4
|
+
/**
|
|
5
|
+
* @title Изображение
|
|
6
|
+
*/
|
|
7
|
+
export declare type ErrorImageDef = {
|
|
8
|
+
/** @default Image */
|
|
9
|
+
errorContentType: 'Image';
|
|
10
|
+
/** @title Изображение */
|
|
11
|
+
image?: Picture;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @title Код ошибки
|
|
15
|
+
*/
|
|
16
|
+
export declare type ErrorCodeDef = {
|
|
17
|
+
/** @default Code */
|
|
18
|
+
errorContentType: 'Code';
|
|
19
|
+
/** @title Код ошибки */
|
|
20
|
+
code?: number;
|
|
21
|
+
};
|
|
22
|
+
export declare type ErrorContentDef = EmptyOption | ErrorImageDef | ErrorCodeDef;
|
|
23
|
+
/**
|
|
24
|
+
* @title Блок Ошибка
|
|
25
|
+
*/
|
|
26
|
+
export interface ErrorBlockContent {
|
|
27
|
+
/** @title Заголовок */
|
|
28
|
+
title?: string;
|
|
29
|
+
/** @title Описание */
|
|
30
|
+
subtitle?: string;
|
|
31
|
+
/** @title Вид контента */
|
|
32
|
+
error?: ErrorContentDef;
|
|
33
|
+
/** @title Кнопка */
|
|
34
|
+
button?: ButtonProps;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBlockContent.js","sourceRoot":"","sources":["../../../src/components/ErrorBlock/ErrorBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { OfficeServicesBlockContent } from './OfficeServicesBlockContent';
|
|
3
|
+
export interface OfficeServicesBlockProps extends OfficeServicesBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const OfficeServicesBlock: import("@redneckz/uni-jsx").UNIComponent<OfficeServicesBlockProps, any, any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
|
+
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
|
+
export const OfficeServicesBlock = JSX(({ className = '', context, title, officesList, anchor = '' }) => {
|
|
7
|
+
return (_jsxs(BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-12 flex flex-col ${className}`, children: [title ? _jsx(Heading, { headingType: "h5", className: "mb-2.5", title: title }) : null, officesList?.length ? officesList.map(renderListItems) : null] }));
|
|
8
|
+
});
|
|
9
|
+
const renderListItems = (itemList, i) => (_jsxs("li", { className: "flex mb-2.5 list-none", children: [itemList.icon ? (_jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", width: "24px", height: "24px", asSVG: true, image: itemList.icon })) : null, itemList.text ? _jsx("span", { className: "text-l-light", children: itemList.text }) : null] }, `list_item_${String(i)}`));
|
|
10
|
+
//# sourceMappingURL=OfficeServicesBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAQ3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IAC/D,OAAO,CACL,MAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,yCAAyC,SAAS,EAAE,aAE9D,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC5E,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,IAAI,IACjD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAC,EAAE,EAAE,CAAC,CAChE,cAAmC,SAAS,EAAC,uBAAuB,aACjE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,KAAC,GAAG,IACF,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,KAAK,QACL,KAAK,EAAE,QAAQ,CAAC,IAAI,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,cAAc,YAAE,QAAQ,CAAC,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,KAVtE,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAW5B,CACN,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Picture } from '../../model/Picture';
|
|
2
|
+
export interface OfficeServicesBlockList {
|
|
3
|
+
/**
|
|
4
|
+
* @title Иконка
|
|
5
|
+
* @default {
|
|
6
|
+
* "size": {
|
|
7
|
+
* "width": 24,
|
|
8
|
+
* "height": 24
|
|
9
|
+
* },
|
|
10
|
+
* "format": "webp"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
icon?: Picture;
|
|
14
|
+
text?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @title Офисные услуги
|
|
18
|
+
*/
|
|
19
|
+
export interface OfficeServicesBlockContent {
|
|
20
|
+
/** @title Заголовок */
|
|
21
|
+
title?: string;
|
|
22
|
+
/** @title Список */
|
|
23
|
+
officesList?: OfficeServicesBlockList[];
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OfficeServicesBlockContent.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
4
|
+
import { BenefitItem } from '../../ui-kit/BenefitItem/BenefitItem.js';
|
|
3
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
|
-
import { BenefitItem } from '../../ui-kit/BenefitItem/BenefitItem.js';
|
|
6
|
-
import { Headline } from '../Headline/Headline.js';
|
|
7
7
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
8
|
-
import {
|
|
8
|
+
import { Headline } from '../Headline/Headline.js';
|
|
9
9
|
export const PictureText = JSX(({ className = '', context, title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => {
|
|
10
|
-
return (_jsxs(BlockWrapper, { className: `relative font-sans p-14 ${VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), _jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src
|
|
10
|
+
return (_jsxs(BlockWrapper, { className: `relative font-sans p-14 ${VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), _jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? _jsx(Img, { className: directionRight ? 'order-2' : '', image: image }) : null, _jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (_jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] })] }));
|
|
11
11
|
});
|
|
12
12
|
const renderBenefit = (version) => (benefit, i) => (_jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
|
|
13
13
|
function renderInsuranceSumMonth(sum, monthLimit) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,2BAA2B,eAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,EAC7E,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,KAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,QAAQ,GACd,EACF,eAAK,SAAS,EAAE,2CAA2C,aACxD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,eAAK,SAAS,EAAC,kBAAkB,aAC9B,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,cAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAO,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,uBAAuB,CAAC,GAAG,EAAE,UAAU,CAAC,IACrC,IACF,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,OAAqB,EAAE,EAAE,CAAC,CAAC,OAAyB,EAAE,CAAS,EAAE,EAAE,CACxF,CACE,KAAC,WAAW,IAEV,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,OAAO,EAAE,OAAO,IAJX,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;AAEJ,SAAS,uBAAuB,CAAC,GAAY,EAAE,UAAmB;IAChE,OAAO,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CACzB,eAAK,SAAS,EAAC,sDAAsD,aAClE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAC5F,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC;gBAC1B,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;gBAClE,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,eAAK,SAAS,EAAE,kDAAkD,UAAU,EAAE,aAC5E,eAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,gBAAM,SAAS,EAAC,2BAA2B,aAAE,uBAAuB,CAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Branch } from './SafeDepositRentalContent';
|
|
2
|
+
import { Region } from './useGetRegions';
|
|
3
|
+
interface RegionsAndBranchesProps {
|
|
4
|
+
regions?: Region[];
|
|
5
|
+
selectedRegion: string;
|
|
6
|
+
onSelectedRegion: (value: string) => void;
|
|
7
|
+
branches?: Branch[];
|
|
8
|
+
selectedBranch: string;
|
|
9
|
+
onSelectedBranch: (value: string) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const RegionsAndBranches: import("@redneckz/uni-jsx").UNIComponent<RegionsAndBranchesProps, any, any>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { WrapperSelect } from './WrapperSelect.js';
|
|
4
|
+
export const RegionsAndBranches = JSX(({ regions = [], selectedRegion, onSelectedRegion: onSelectedRegion, branches = [], selectedBranch, onSelectedBranch, }) => {
|
|
5
|
+
return (_jsxs("div", { className: "flex justify-between mb-6", children: [_jsx("div", { className: "w-full mr-4", children: _jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0413\u043E\u0440\u043E\u0434" }) }), _jsx("div", { className: "w-full", children: _jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] }));
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=RegionsAndBranches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegionsAndBranches.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/RegionsAndBranches.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAWhD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EACC,OAAO,GAAG,EAAE,EACZ,cAAc,EACd,gBAAgB,EAAE,gBAAgB,EAClC,QAAQ,GAAG,EAAE,EACb,cAAc,EACd,gBAAgB,GACjB,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACxC,cAAK,SAAS,EAAC,aAAa,YAC1B,KAAC,aAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,gBAAgB,EAC7B,KAAK,EAAC,gCAAO,GACb,GACE,EACN,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,aAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAE,gBAAgB,EAC7B,KAAK,EAAC,wDAAW,EACjB,WAAW,EAAC,yGAAoB,GAChC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks/core';
|
|
4
|
+
import { Radio } from '../../ui-kit/Radio/Radio.js';
|
|
5
|
+
export const RenderRadioButtons = JSX(() => {
|
|
6
|
+
const [selectedOption, setSelectedOption] = useState('option1');
|
|
7
|
+
const onChange = (_) => setSelectedOption(_.target.value);
|
|
8
|
+
return (_jsxs("div", { children: [_jsx(Radio, { className: "mb-2", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selectedOption === 'option1', onChange: onChange }), _jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selectedOption === 'option2', onChange: onChange })] }));
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=RenderRadioButtons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderRadioButtons.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/RenderRadioButtons.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC,GAAG,EAAE;IACzC,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAEhE,MAAM,QAAQ,GAAG,CAAC,CAAsC,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAE/F,OAAO,CACL,0BACE,KAAC,KAAK,IACJ,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,cAAc,EACnB,IAAI,EAAC,6FAAkB,EACvB,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,cAAc,KAAK,SAAS,EACrC,QAAQ,EAAE,QAAQ,GAClB,EACF,KAAC,KAAK,IACJ,IAAI,EAAC,cAAc,EACnB,IAAI,EAAC,4HAAwB,EAC7B,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,cAAc,KAAK,SAAS,EACrC,QAAQ,EAAE,QAAQ,GAClB,IACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { InputRange } from '../../ui-kit/InputRange/InputRange.js';
|
|
4
|
+
const ITEMS = ['От 1 дня', 'До 365 дней'];
|
|
5
|
+
const MIN = 1;
|
|
6
|
+
const MAX = 365;
|
|
7
|
+
export const RentalPeriod = JSX(({ days, setDays }) => (_jsxs("div", { className: "mb-6", children: [_jsx("span", { className: "block text-m-light mb-[3px]", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), _jsx(InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
|
|
8
|
+
//# sourceMappingURL=RentalPeriod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RentalPeriod.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/RentalPeriod.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,KAAK,GAAG,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AAC1C,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,GAAG,GAAG,GAAG,CAAC;AAOhB,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACxE,eAAK,SAAS,EAAC,MAAM,aACnB,eAAM,SAAS,EAAC,6BAA6B,8EAAmB,EAChE,KAAC,UAAU,IAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,GAAI,IAC5E,CACP,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SafeBoxCase, SafeBoxCaseVolume } from './SafeDepositRentalContent';
|
|
2
|
+
interface SafeBoxCasesProps {
|
|
3
|
+
caseVolumes?: SafeBoxCaseVolume[];
|
|
4
|
+
selectedCaseVolume: string;
|
|
5
|
+
onSelectedCaseVolume: (value: string) => void;
|
|
6
|
+
safeBoxCases?: SafeBoxCase[];
|
|
7
|
+
selectedBoxSize: string;
|
|
8
|
+
onSelectedBoxSize: (value: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const SafeBoxCases: import("@redneckz/uni-jsx").UNIComponent<SafeBoxCasesProps, any, any>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { WrapperSelect } from './WrapperSelect.js';
|
|
4
|
+
export const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => {
|
|
5
|
+
return (_jsxs("div", { className: "flex justify-between mb-6", children: [_jsx("div", { className: "mr-4 w-full", children: _jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), _jsx("div", { className: "w-full", children: _jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] }));
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=SafeBoxCases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafeBoxCases.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeBoxCases.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAWhD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EACC,WAAW,GAAG,EAAE,EAChB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GAAG,EAAE,EACjB,eAAe,EACf,iBAAiB,GAClB,EAAE,EAAE;IACH,OAAO,CACL,eAAK,SAAS,EAAC,2BAA2B,aACxC,cAAK,SAAS,EAAC,aAAa,YAC1B,KAAC,aAAa,IACZ,IAAI,EAAE,WAAW,EACjB,UAAU,EAAC,QAAQ,EACnB,QAAQ,EAAE,kBAAkB,EAC5B,WAAW,EAAE,oBAAoB,EACjC,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,aAAa,IACZ,IAAI,EAAE,YAAY,EAClB,UAAU,EAAC,kBAAkB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,iBAAiB,EAC9B,KAAK,EAAC,4IAA8B,EACpC,WAAW,EAAC,wIAA0B,GACtC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,77 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
5
|
import { SafeDepositRentalForm } from './SafeDepositRentalForm.js';
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
city: 'Москва',
|
|
12
|
-
offices: [
|
|
13
|
-
{
|
|
14
|
-
office: 'выберите отделение',
|
|
15
|
-
rate: null,
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
office: 'МоскваОфис1',
|
|
19
|
-
rate: 1,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
office: 'МоскваОфис2',
|
|
23
|
-
rate: 2,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
office: 'МоскваОфис3',
|
|
27
|
-
rate: 3,
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
city: 'Краснодар',
|
|
33
|
-
offices: [
|
|
34
|
-
{
|
|
35
|
-
office: 'КраснодарОфис1',
|
|
36
|
-
rate: 2,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
office: 'КраснодарОфис2',
|
|
40
|
-
rate: 4,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
office: 'КраснодарОфис3',
|
|
44
|
-
rate: 6,
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
cellDimensions: [
|
|
50
|
-
{
|
|
51
|
-
dimension: 'маленькая',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
dimension: 'средняя',
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
dimension: 'большая',
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
cellOptions: [
|
|
61
|
-
{
|
|
62
|
-
option: '125x225x375',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
option: '200x300x400',
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
option: '300x400x500',
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
};
|
|
72
|
-
export const SafeDepositRental = JSX(({ context, className = '', ...rest }) => {
|
|
73
|
-
const [days, setDays] = useState(DEFAULT_DAYS);
|
|
74
|
-
const data = DATA;
|
|
75
|
-
return (_jsxs(BlockWrapper, { context: context, className: `bg-white px-8 py-12 ${className}`, ...rest, children: [_jsxs("div", { className: "flex justify-between align-top mb-6", children: [data?.cities?.length ? (_jsx(SafeDepositRentalForm, { ...data, days: days, setDays: setDays })) : null, _jsx(SafeDepositRentalTotal, { days: days })] }), _jsx("p", { className: "text-s-light text-secondary-text", children: "\u0410\u0440\u0435\u043D\u0434\u0430 \u0421\u042F, \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0445 \u0434\u0435\u043D\u0435\u0433 \u0438\u043B\u0438 \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u0438\u043F\u043E\u0442\u0435\u0447\u043D\u043E\u0439 \u0441\u0434\u0435\u043B\u043A\u0438" })] }));
|
|
6
|
+
import { useGetRegions } from './useGetRegions.js';
|
|
7
|
+
export const SafeDepositRental = JSX(({ title, context, className = '', ...rest }) => {
|
|
8
|
+
const regions = useGetRegions();
|
|
9
|
+
return (_jsxs(BlockWrapper, { context: context, className: `bg-white px-8 py-12 ${className}`, ...rest, children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions }), _jsx("p", { className: "text-s-light text-secondary-text", children: "\u0410\u0440\u0435\u043D\u0434\u0430 \u0421\u042F, \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0445 \u0434\u0435\u043D\u0435\u0433 \u0438\u043B\u0438 \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u0438\u043F\u043E\u0442\u0435\u0447\u043D\u043E\u0439 \u0441\u0434\u0435\u043B\u043A\u0438" })] }));
|
|
76
10
|
});
|
|
77
11
|
//# sourceMappingURL=SafeDepositRental.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9C,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;IAEhC,OAAO,CACL,MAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,uBAAuB,SAAS,EAAE,KAAM,IAAI,aACpF,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,oBAAoB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,qBAAqB,IAAC,OAAO,EAAE,OAAO,GAAI,EAC3C,YAAG,SAAS,EAAC,kCAAkC,goBAG3C,IACS,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
export interface Tariff {
|
|
2
|
+
tariffType?: string;
|
|
3
|
+
tariffValue?: number;
|
|
4
|
+
}
|
|
5
|
+
export interface SafeBoxCase {
|
|
6
|
+
safeBoxCasesSize?: string;
|
|
7
|
+
tariffs?: Tariff[];
|
|
8
|
+
}
|
|
9
|
+
export interface SafeBoxCaseVolume {
|
|
10
|
+
volume?: string;
|
|
11
|
+
safeBoxCases?: SafeBoxCase[];
|
|
12
|
+
}
|
|
13
|
+
export interface Branch {
|
|
14
|
+
branchCode?: string;
|
|
15
|
+
address?: string;
|
|
16
|
+
safeBoxCaseVolumes?: SafeBoxCaseVolume[];
|
|
17
|
+
}
|
|
1
18
|
/**
|
|
2
19
|
* @title Аренда сейфовых ячеек
|
|
3
20
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
1
|
+
import type { Region } from './useGetRegions';
|
|
2
|
+
export interface SafeDepositRentalFormProps {
|
|
3
|
+
regions?: Region[];
|
|
4
|
+
}
|
|
5
|
+
export declare const SafeDepositRentalForm: import("@redneckz/uni-jsx").UNIComponent<SafeDepositRentalFormProps, any, any>;
|