@redneckz/wildless-cms-uni-blocks 0.9.16 → 0.10.1
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/bin/migration-scripts/0.9.10.js +30 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +405 -246
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/InputControl.d.ts +10 -0
- package/bundle/components/ApplicationForm/{WrapperSelect.d.ts → SelectControl.d.ts} +4 -2
- package/bundle/components/ApplicationForm/models.d.ts +5 -0
- package/bundle/components/ApplicationForm/normalizeSelected.d.ts +2 -0
- package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
- package/{lib/components/ApplicationForm/renderSelects.d.ts → bundle/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
- package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
- package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
- package/bundle/components/ApplicationForm/renderRegion.d.ts +12 -0
- package/{dist/components/ApplicationForm/renderBankOffices.d.ts → bundle/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
- package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
- package/bundle/components/ApplicationForm/useForm.d.ts +14 -0
- package/bundle/components/ApplicationForm/validate.d.ts +1 -0
- package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
- package/bundle/components/ExchangeRateOffice/Currencies.d.ts +8 -0
- package/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
- package/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
- package/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
- package/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
- package/bundle/components/Footer/FooterContent.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/bundle/components/ProductTile/renderImage.d.ts +1 -1
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
- package/bundle/components/Tile/TileContent.d.ts +2 -0
- package/bundle/ui-kit/RichText/RichTextProps.d.ts +2 -2
- package/bundle/ui-kit/Select/Select.d.ts +2 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +3 -3
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +52 -41
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +38 -25
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/InputControl.d.ts +10 -0
- package/dist/components/ApplicationForm/InputControl.js +10 -0
- package/dist/components/ApplicationForm/InputControl.js.map +1 -0
- package/{lib/components/ApplicationForm/WrapperSelect.d.ts → dist/components/ApplicationForm/SelectControl.d.ts} +4 -2
- package/dist/components/ApplicationForm/SelectControl.js +14 -0
- package/dist/components/ApplicationForm/SelectControl.js.map +1 -0
- package/dist/components/ApplicationForm/models.d.ts +5 -0
- package/dist/components/ApplicationForm/normalizeSelected.d.ts +2 -0
- package/dist/components/ApplicationForm/normalizeSelected.js +5 -0
- package/dist/components/ApplicationForm/normalizeSelected.js.map +1 -0
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +8 -0
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
- package/{bundle/components/ApplicationForm/renderSelects.d.ts → dist/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
- package/dist/components/ApplicationForm/renderAcquiringRegion.js +9 -0
- package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +8 -0
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
- package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +8 -0
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
- package/dist/components/ApplicationForm/renderRegion.d.ts +12 -0
- package/dist/components/ApplicationForm/renderRegion.js +8 -0
- package/dist/components/ApplicationForm/renderRegion.js.map +1 -0
- package/{lib/components/ApplicationForm/renderBankOffices.d.ts → dist/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
- package/dist/components/ApplicationForm/renderRegionDepartment.js +8 -0
- package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
- package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +8 -0
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
- package/dist/components/ApplicationForm/useForm.d.ts +14 -0
- package/dist/components/ApplicationForm/useForm.js +37 -0
- package/dist/components/ApplicationForm/useForm.js.map +1 -0
- package/dist/components/ApplicationForm/validate.d.ts +1 -0
- package/dist/components/ApplicationForm/validate.js +22 -0
- package/dist/components/ApplicationForm/validate.js.map +1 -0
- package/dist/components/Blocks.js +4 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +5 -3
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +4 -3
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +2 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ExchangeRateOffice/Currencies.d.ts +8 -0
- package/dist/components/ExchangeRateOffice/Currencies.js +12 -0
- package/dist/components/ExchangeRateOffice/Currencies.js.map +1 -0
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +16 -0
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
- package/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
- package/dist/components/ExchangeRateOffice/renderCurrencies.js +30 -0
- package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
- package/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
- package/dist/components/ExchangeRateOffice/renderTableHeader.js +9 -0
- package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
- package/dist/components/Footer/FooterContent.d.ts +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +2 -3
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +4 -2
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/dist/components/ProductTile/renderImage.d.ts +1 -1
- package/dist/components/ProductTile/renderImage.js +3 -2
- package/dist/components/ProductTile/renderImage.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +22 -0
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
- package/dist/components/RichTextBlock/RichTextBlock.js +2 -2
- package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js +1 -3
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/Tile/Tile.js +5 -4
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +2 -0
- package/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/RichText/RichText.js +3 -2
- package/dist/ui-kit/RichText/RichText.js.map +1 -1
- package/dist/ui-kit/RichText/RichTextProps.d.ts +2 -2
- package/dist/ui-kit/Select/Select.d.ts +2 -0
- package/dist/ui-kit/Select/Select.js +5 -3
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +3 -3
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +53 -42
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +38 -25
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/InputControl.d.ts +10 -0
- package/lib/components/ApplicationForm/InputControl.js +8 -0
- package/lib/components/ApplicationForm/InputControl.js.map +1 -0
- package/{mobile/bundle/components/ApplicationForm/WrapperSelect.d.ts → lib/components/ApplicationForm/SelectControl.d.ts} +4 -2
- package/lib/components/ApplicationForm/SelectControl.js +12 -0
- package/lib/components/ApplicationForm/SelectControl.js.map +1 -0
- package/lib/components/ApplicationForm/models.d.ts +5 -0
- package/lib/components/ApplicationForm/normalizeSelected.d.ts +2 -0
- package/lib/components/ApplicationForm/normalizeSelected.js +2 -0
- package/lib/components/ApplicationForm/normalizeSelected.js.map +1 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +5 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
- package/{mobile/bundle/components/ApplicationForm/renderSelects.d.ts → lib/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
- package/lib/components/ApplicationForm/renderAcquiringRegion.js +6 -0
- package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +5 -0
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
- package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +5 -0
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
- package/lib/components/ApplicationForm/renderRegion.d.ts +12 -0
- package/lib/components/ApplicationForm/renderRegion.js +5 -0
- package/lib/components/ApplicationForm/renderRegion.js.map +1 -0
- package/{bundle/components/ApplicationForm/renderBankOffices.d.ts → lib/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
- package/lib/components/ApplicationForm/renderRegionDepartment.js +5 -0
- package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
- package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +5 -0
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
- package/lib/components/ApplicationForm/useForm.d.ts +14 -0
- package/lib/components/ApplicationForm/useForm.js +34 -0
- package/lib/components/ApplicationForm/useForm.js.map +1 -0
- package/lib/components/ApplicationForm/validate.d.ts +1 -0
- package/lib/components/ApplicationForm/validate.js +19 -0
- package/lib/components/ApplicationForm/validate.js.map +1 -0
- package/lib/components/Blocks.js +4 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +5 -3
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +4 -3
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +2 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ExchangeRateOffice/Currencies.d.ts +8 -0
- package/lib/components/ExchangeRateOffice/Currencies.js +10 -0
- package/lib/components/ExchangeRateOffice/Currencies.js.map +1 -0
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.fixture.d.ts +6 -0
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +14 -0
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
- package/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
- package/lib/components/ExchangeRateOffice/renderCurrencies.js +27 -0
- package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
- package/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
- package/lib/components/ExchangeRateOffice/renderTableHeader.js +6 -0
- package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
- package/lib/components/Footer/FooterContent.d.ts +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -1
- package/lib/components/ProductBlock/ProductBlock.js +2 -3
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +4 -2
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/lib/components/ProductTile/renderImage.d.ts +1 -1
- package/lib/components/ProductTile/renderImage.js +3 -2
- package/lib/components/ProductTile/renderImage.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +6 -0
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +20 -0
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
- package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +3 -0
- package/lib/components/RichTextBlock/RichTextBlock.js +2 -2
- package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js +1 -3
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/Tile/Tile.fixture.d.ts +1 -0
- package/lib/components/Tile/Tile.js +5 -4
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +2 -0
- package/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/RichText/RichText.js +3 -2
- package/lib/ui-kit/RichText/RichText.js.map +1 -1
- package/lib/ui-kit/RichText/RichTextProps.d.ts +2 -2
- package/lib/ui-kit/Select/Select.d.ts +2 -0
- package/lib/ui-kit/Select/Select.js +5 -3
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +7 -7
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +10 -0
- package/{dist/components/ApplicationForm/WrapperSelect.d.ts → mobile/bundle/components/ApplicationForm/SelectControl.d.ts} +4 -2
- package/mobile/bundle/components/ApplicationForm/models.d.ts +5 -0
- package/mobile/bundle/components/ApplicationForm/normalizeSelected.d.ts +2 -0
- package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
- package/{dist/components/ApplicationForm/renderSelects.d.ts → mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
- package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
- package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
- package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +12 -0
- package/mobile/bundle/components/ApplicationForm/{renderBankOffices.d.ts → renderRegionDepartment.d.ts} +4 -2
- package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
- package/mobile/bundle/components/ApplicationForm/useForm.d.ts +14 -0
- package/mobile/bundle/components/ApplicationForm/validate.d.ts +1 -0
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/bundle/components/ExchangeRateOffice/Currencies.d.ts +8 -0
- package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
- package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
- package/mobile/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
- package/mobile/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
- package/mobile/bundle/components/Footer/FooterContent.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/mobile/bundle/components/ProductTile/renderImage.d.ts +1 -1
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -0
- package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/Select/Select.d.ts +2 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +3 -3
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +52 -41
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +38 -25
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.d.ts +10 -0
- package/mobile/dist/components/ApplicationForm/InputControl.js +10 -0
- package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +13 -0
- package/mobile/dist/components/ApplicationForm/SelectControl.js +14 -0
- package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/models.d.ts +5 -0
- package/mobile/dist/components/ApplicationForm/normalizeSelected.d.ts +2 -0
- package/mobile/dist/components/ApplicationForm/normalizeSelected.js +5 -0
- package/mobile/dist/components/ApplicationForm/normalizeSelected.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +8 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +13 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +9 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +8 -0
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +8 -0
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +12 -0
- package/mobile/dist/components/ApplicationForm/renderRegion.js +8 -0
- package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +15 -0
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +8 -0
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +8 -0
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/useForm.d.ts +14 -0
- package/mobile/dist/components/ApplicationForm/useForm.js +37 -0
- package/mobile/dist/components/ApplicationForm/useForm.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/validate.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/validate.js +22 -0
- package/mobile/dist/components/ApplicationForm/validate.js.map +1 -0
- package/mobile/dist/components/Bonus/Bonus.js +5 -3
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +4 -3
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/Currencies.d.ts +8 -0
- package/mobile/dist/components/ExchangeRateOffice/Currencies.js +12 -0
- package/mobile/dist/components/ExchangeRateOffice/Currencies.js.map +1 -0
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +16 -0
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +30 -0
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +9 -0
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
- package/mobile/dist/components/Footer/FooterContent.d.ts +1 -1
- package/mobile/dist/components/Headline/Headline.js +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +4 -2
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/mobile/dist/components/ProductTile/renderImage.d.ts +1 -1
- package/mobile/dist/components/ProductTile/renderImage.js +3 -2
- package/mobile/dist/components/ProductTile/renderImage.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +22 -0
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js +2 -2
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +5 -4
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/RichText/RichText.js +3 -2
- package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -1
- package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +2 -2
- package/mobile/dist/ui-kit/Select/Select.d.ts +2 -0
- package/mobile/dist/ui-kit/Select/Select.js +5 -3
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +3 -3
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +53 -42
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +38 -25
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.d.ts +10 -0
- package/mobile/lib/components/ApplicationForm/InputControl.js +8 -0
- package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +13 -0
- package/mobile/lib/components/ApplicationForm/SelectControl.js +12 -0
- package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/models.d.ts +5 -0
- package/mobile/lib/components/ApplicationForm/normalizeSelected.d.ts +2 -0
- package/mobile/lib/components/ApplicationForm/normalizeSelected.js +2 -0
- package/mobile/lib/components/ApplicationForm/normalizeSelected.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +5 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +13 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +6 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +5 -0
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +5 -0
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +12 -0
- package/mobile/lib/components/ApplicationForm/renderRegion.js +5 -0
- package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +15 -0
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +5 -0
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +5 -0
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/useForm.d.ts +14 -0
- package/mobile/lib/components/ApplicationForm/useForm.js +34 -0
- package/mobile/lib/components/ApplicationForm/useForm.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/validate.d.ts +1 -0
- package/mobile/lib/components/ApplicationForm/validate.js +19 -0
- package/mobile/lib/components/ApplicationForm/validate.js.map +1 -0
- package/mobile/lib/components/Bonus/Bonus.js +5 -3
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +4 -3
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/Currencies.d.ts +8 -0
- package/mobile/lib/components/ExchangeRateOffice/Currencies.js +10 -0
- package/mobile/lib/components/ExchangeRateOffice/Currencies.js.map +1 -0
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +14 -0
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +27 -0
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +6 -0
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
- package/mobile/lib/components/Footer/FooterContent.d.ts +1 -1
- package/mobile/lib/components/Headline/Headline.js +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +4 -2
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
- package/mobile/lib/components/ProductTile/renderImage.d.ts +1 -1
- package/mobile/lib/components/ProductTile/renderImage.js +3 -2
- package/mobile/lib/components/ProductTile/renderImage.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +20 -0
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js +2 -2
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +5 -4
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
- package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/RichText/RichText.js +3 -2
- package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -1
- package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +2 -2
- package/mobile/lib/ui-kit/Select/Select.d.ts +2 -0
- package/mobile/lib/ui-kit/Select/Select.js +5 -3
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/src/common.css +24 -5
- package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +3 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +52 -102
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +38 -109
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +75 -64
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +44 -31
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +43 -93
- package/mobile/src/components/ApplicationForm/InputControl.tsx +35 -0
- package/mobile/src/components/ApplicationForm/SelectControl.tsx +54 -0
- package/mobile/src/components/ApplicationForm/models.ts +6 -0
- package/mobile/src/components/ApplicationForm/normalizeSelected.ts +4 -0
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +60 -0
- package/{src/components/ApplicationForm/renderSelects.tsx → mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx} +22 -6
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +60 -0
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +76 -0
- package/mobile/src/components/ApplicationForm/renderRegion.tsx +36 -0
- package/{src/components/ApplicationForm/renderBankOffices.tsx → mobile/src/components/ApplicationForm/renderRegionDepartment.tsx} +16 -7
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +68 -0
- package/mobile/src/components/ApplicationForm/useForm.ts +65 -0
- package/mobile/src/components/ApplicationForm/validate.ts +22 -0
- package/mobile/src/components/Bonus/Bonus.tsx +12 -7
- package/mobile/src/components/Carousel/Carousel.example.json +2 -1
- package/mobile/src/components/Carousel/Carousel.tsx +6 -2
- package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +5 -10
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- package/mobile/src/components/ExchangeRateOffice/Currencies.ts +8 -0
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +32 -0
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +60 -0
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.ui.json +1 -0
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +36 -0
- package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +73 -0
- package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +11 -0
- package/mobile/src/components/Footer/FooterContent.ts +1 -1
- package/mobile/src/components/Headline/Headline.tsx +1 -5
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -2
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
- package/mobile/src/components/ProductTile/ProductTile.tsx +11 -6
- package/mobile/src/components/ProductTile/ProductTileContent.ts +1 -1
- package/mobile/src/components/ProductTile/renderImage.tsx +3 -2
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +82 -0
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
- package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +2 -2
- package/mobile/src/components/Tile/Tile.example.json +2 -1
- package/mobile/src/components/Tile/Tile.tsx +26 -17
- package/mobile/src/components/Tile/TileContent.ts +2 -0
- package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +1 -1
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
- package/mobile/src/ui-kit/RichText/RichText.tsx +5 -2
- package/mobile/src/ui-kit/RichText/RichTextProps.ts +2 -2
- package/mobile/src/ui-kit/Select/Select.tsx +19 -4
- package/package.json +2 -2
- package/src/common.css +24 -5
- package/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
- package/src/components/ApplicationForm/ApplicationForm.tsx +3 -3
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +52 -102
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +38 -109
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +75 -64
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +44 -31
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +43 -93
- package/src/components/ApplicationForm/InputControl.tsx +35 -0
- package/src/components/ApplicationForm/SelectControl.tsx +54 -0
- package/src/components/ApplicationForm/models.ts +6 -0
- package/src/components/ApplicationForm/normalizeSelected.ts +4 -0
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +60 -0
- package/{mobile/src/components/ApplicationForm/renderSelects.tsx → src/components/ApplicationForm/renderAcquiringRegion.tsx} +22 -6
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +60 -0
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +76 -0
- package/src/components/ApplicationForm/renderRegion.tsx +36 -0
- package/{mobile/src/components/ApplicationForm/renderBankOffices.tsx → src/components/ApplicationForm/renderRegionDepartment.tsx} +16 -7
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +68 -0
- package/src/components/ApplicationForm/useForm.ts +65 -0
- package/src/components/ApplicationForm/validate.ts +22 -0
- package/src/components/Blocks.ts +4 -0
- package/src/components/Bonus/Bonus.tsx +12 -7
- package/src/components/Carousel/Carousel.example.json +2 -1
- package/src/components/Carousel/Carousel.fixture.tsx +2 -1
- package/src/components/Carousel/Carousel.tsx +6 -2
- package/src/components/Carousel/CarouselContent.ts +2 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +5 -10
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +4 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- package/src/components/ExchangeRateOffice/Currencies.ts +8 -0
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +32 -0
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +78 -0
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +60 -0
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.ui.json +1 -0
- package/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +36 -0
- package/src/components/ExchangeRateOffice/renderCurrencies.tsx +73 -0
- package/src/components/ExchangeRateOffice/renderTableHeader.tsx +11 -0
- package/src/components/Footer/FooterContent.ts +1 -1
- package/src/components/Headline/Headline.tsx +1 -5
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +14 -22
- package/src/components/ProductBlock/ProductBlock.tsx +5 -6
- package/src/components/ProductBlock/ProductBlockContent.ts +0 -2
- package/src/components/ProductBlock/ProductBlockInner.tsx +21 -25
- package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
- package/src/components/ProductTile/ProductTile.fixture.tsx +6 -2
- package/src/components/ProductTile/ProductTile.tsx +11 -6
- package/src/components/ProductTile/ProductTileContent.ts +1 -1
- package/src/components/ProductTile/renderImage.tsx +3 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +37 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +82 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +22 -0
- package/src/components/RichTextBlock/RichTextBlock.tsx +2 -2
- package/src/components/TariffsTable/EmbeddableCellData.tsx +1 -4
- package/src/components/Tile/Tile.example.json +2 -1
- package/src/components/Tile/Tile.fixture.tsx +5 -0
- package/src/components/Tile/Tile.tsx +26 -17
- package/src/components/Tile/TileContent.ts +2 -0
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +14 -0
- package/src/ui-kit/Button/getRegularButtonClasses.ts +1 -1
- package/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
- package/src/ui-kit/RichText/RichText.tsx +5 -2
- package/src/ui-kit/RichText/RichTextProps.ts +2 -2
- package/src/ui-kit/Select/Select.tsx +19 -4
- package/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
- package/bundle/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
- package/bundle/components/ApplicationForm/useFormHandlers.d.ts +0 -9
- package/dist/components/ApplicationForm/WrapperSelect.js +0 -13
- package/dist/components/ApplicationForm/WrapperSelect.js.map +0 -1
- package/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
- package/dist/components/ApplicationForm/normalizeSelectedRegion.js +0 -5
- package/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
- package/dist/components/ApplicationForm/renderBankOffices.js +0 -7
- package/dist/components/ApplicationForm/renderBankOffices.js.map +0 -1
- package/dist/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
- package/dist/components/ApplicationForm/renderDataOrganization.js +0 -7
- package/dist/components/ApplicationForm/renderDataOrganization.js.map +0 -1
- package/dist/components/ApplicationForm/renderSelects.js +0 -8
- package/dist/components/ApplicationForm/renderSelects.js.map +0 -1
- package/dist/components/ApplicationForm/useFormHandlers.d.ts +0 -9
- package/dist/components/ApplicationForm/useFormHandlers.js +0 -11
- package/dist/components/ApplicationForm/useFormHandlers.js.map +0 -1
- package/lib/components/ApplicationForm/WrapperSelect.js +0 -11
- package/lib/components/ApplicationForm/WrapperSelect.js.map +0 -1
- package/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
- package/lib/components/ApplicationForm/normalizeSelectedRegion.js +0 -2
- package/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
- package/lib/components/ApplicationForm/renderBankOffices.js +0 -4
- package/lib/components/ApplicationForm/renderBankOffices.js.map +0 -1
- package/lib/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
- package/lib/components/ApplicationForm/renderDataOrganization.js +0 -4
- package/lib/components/ApplicationForm/renderDataOrganization.js.map +0 -1
- package/lib/components/ApplicationForm/renderSelects.js +0 -5
- package/lib/components/ApplicationForm/renderSelects.js.map +0 -1
- package/lib/components/ApplicationForm/useFormHandlers.d.ts +0 -9
- package/lib/components/ApplicationForm/useFormHandlers.js +0 -8
- package/lib/components/ApplicationForm/useFormHandlers.js.map +0 -1
- package/mobile/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
- package/mobile/bundle/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
- package/mobile/bundle/components/ApplicationForm/useFormHandlers.d.ts +0 -9
- package/mobile/dist/components/ApplicationForm/WrapperSelect.d.ts +0 -11
- package/mobile/dist/components/ApplicationForm/WrapperSelect.js +0 -13
- package/mobile/dist/components/ApplicationForm/WrapperSelect.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
- package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js +0 -5
- package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/renderBankOffices.d.ts +0 -13
- package/mobile/dist/components/ApplicationForm/renderBankOffices.js +0 -7
- package/mobile/dist/components/ApplicationForm/renderBankOffices.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
- package/mobile/dist/components/ApplicationForm/renderDataOrganization.js +0 -7
- package/mobile/dist/components/ApplicationForm/renderDataOrganization.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/renderSelects.d.ts +0 -11
- package/mobile/dist/components/ApplicationForm/renderSelects.js +0 -8
- package/mobile/dist/components/ApplicationForm/renderSelects.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/useFormHandlers.d.ts +0 -9
- package/mobile/dist/components/ApplicationForm/useFormHandlers.js +0 -11
- package/mobile/dist/components/ApplicationForm/useFormHandlers.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/WrapperSelect.d.ts +0 -11
- package/mobile/lib/components/ApplicationForm/WrapperSelect.js +0 -11
- package/mobile/lib/components/ApplicationForm/WrapperSelect.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
- package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js +0 -2
- package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderBankOffices.d.ts +0 -13
- package/mobile/lib/components/ApplicationForm/renderBankOffices.js +0 -4
- package/mobile/lib/components/ApplicationForm/renderBankOffices.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
- package/mobile/lib/components/ApplicationForm/renderDataOrganization.js +0 -4
- package/mobile/lib/components/ApplicationForm/renderDataOrganization.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderSelects.d.ts +0 -11
- package/mobile/lib/components/ApplicationForm/renderSelects.js +0 -5
- package/mobile/lib/components/ApplicationForm/renderSelects.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/useFormHandlers.d.ts +0 -9
- package/mobile/lib/components/ApplicationForm/useFormHandlers.js +0 -8
- package/mobile/lib/components/ApplicationForm/useFormHandlers.js.map +0 -1
- package/mobile/src/components/ApplicationForm/WrapperSelect.tsx +0 -32
- package/mobile/src/components/ApplicationForm/normalizeSelectedRegion.ts +0 -4
- package/mobile/src/components/ApplicationForm/renderDataOrganization.tsx +0 -78
- package/mobile/src/components/ApplicationForm/useFormHandlers.ts +0 -18
- package/src/components/ApplicationForm/WrapperSelect.tsx +0 -32
- package/src/components/ApplicationForm/normalizeSelectedRegion.ts +0 -4
- package/src/components/ApplicationForm/renderDataOrganization.tsx +0 -78
- package/src/components/ApplicationForm/useFormHandlers.ts +0 -18
|
@@ -24,10 +24,7 @@ interface TableCellDataProps extends TableInnerButtonProps {
|
|
|
24
24
|
displayTable: (props: TariffsTableInnerContent) => void;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
const renderButtonsCellData = ({ buttons }: ButtonContent) =>
|
|
28
|
-
renderButtonsSection(buttons, {
|
|
29
|
-
buttonClassName: 'w-12 h-12',
|
|
30
|
-
});
|
|
27
|
+
const renderButtonsCellData = ({ buttons }: ButtonContent) => renderButtonsSection(buttons);
|
|
31
28
|
|
|
32
29
|
const renderLabelDescriptionCellData = ({ label, description }: LabelDescriptionCell) => {
|
|
33
30
|
const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
|
|
@@ -144,4 +144,9 @@ export default {
|
|
|
144
144
|
<Tile className="col-span-8" {...TILE} tags={tags} />
|
|
145
145
|
</div>
|
|
146
146
|
),
|
|
147
|
+
'direction left': (
|
|
148
|
+
<div className="container grid grid-cols-12">
|
|
149
|
+
<Tile className="col-span-8" directionRight={false} {...TILE} />
|
|
150
|
+
</div>
|
|
151
|
+
),
|
|
147
152
|
};
|
|
@@ -11,6 +11,7 @@ import { BaseTile } from '../BaseTile/BaseTile';
|
|
|
11
11
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight';
|
|
12
12
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding';
|
|
13
13
|
import type { TileContent } from './TileContent';
|
|
14
|
+
import { style } from '../../utils/style';
|
|
14
15
|
|
|
15
16
|
export interface TileProps extends TileContent, UniBlockProps {}
|
|
16
17
|
|
|
@@ -27,14 +28,21 @@ export const Tile = JSX<TileProps>(
|
|
|
27
28
|
className = '',
|
|
28
29
|
tags,
|
|
29
30
|
children,
|
|
31
|
+
directionRight = true,
|
|
30
32
|
...rest
|
|
31
33
|
}) => (
|
|
32
34
|
<BlockWrapper
|
|
33
|
-
className={
|
|
35
|
+
className={style(
|
|
36
|
+
'flex grow justify-between items-stretch h-full p-9 pr-3 box-border',
|
|
37
|
+
getTileRightPadding(className),
|
|
38
|
+
getTileMinHeight(className),
|
|
34
39
|
className,
|
|
35
|
-
)}
|
|
40
|
+
)}
|
|
36
41
|
{...rest}
|
|
37
42
|
>
|
|
43
|
+
{image?.src ? (
|
|
44
|
+
<Img className={style('mt-auto ml-7', directionRight ? 'order-2' : '')} image={image} />
|
|
45
|
+
) : null}
|
|
38
46
|
<BaseTile
|
|
39
47
|
title={
|
|
40
48
|
title ? (
|
|
@@ -50,22 +58,23 @@ export const Tile = JSX<TileProps>(
|
|
|
50
58
|
className: 'mt-8',
|
|
51
59
|
buttonClassName: 'min-w-[158px]',
|
|
52
60
|
})}
|
|
53
|
-
image={image?.src ? <Img className="mt-auto ml-7" image={image} /> : null}
|
|
54
61
|
>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
<div>
|
|
63
|
+
{__html ? (
|
|
64
|
+
<div className="max-w-[600px] mt-2.5">
|
|
65
|
+
<RichText __html={__html} />
|
|
66
|
+
</div>
|
|
67
|
+
) : null}
|
|
68
|
+
{children}
|
|
69
|
+
<List
|
|
70
|
+
className="mt-2.5"
|
|
71
|
+
itemClassName="mb-1.5"
|
|
72
|
+
items={items}
|
|
73
|
+
isDotted={isDotted}
|
|
74
|
+
listItemSize={listItemSize}
|
|
75
|
+
/>
|
|
76
|
+
{tags?.length ? <Tags tags={tags} className="mt-5" /> : null}
|
|
77
|
+
</div>
|
|
69
78
|
</BaseTile>
|
|
70
79
|
</BlockWrapper>
|
|
71
80
|
),
|
|
@@ -3,6 +3,7 @@ import '../../setup-fixture';
|
|
|
3
3
|
import { Blocks } from '../Blocks';
|
|
4
4
|
import { LinkDocsContent } from '../LinkDocs/LinkDocsContent';
|
|
5
5
|
import { PRODUCT_TILE } from '../ProductTile/ProductTile.fixture';
|
|
6
|
+
import { RICH_TEXT_SEPARATOR } from '../RichTextBlock/RichTextBlock.fixture';
|
|
6
7
|
import { TEXT_BLOCK } from '../TextBlock/TextBlock.fixture';
|
|
7
8
|
import { VerticalLayout } from './VerticalLayout';
|
|
8
9
|
|
|
@@ -136,6 +137,19 @@ export default {
|
|
|
136
137
|
},
|
|
137
138
|
blocks: [{ type: 'LinkDocs', content: linkDocsExample }],
|
|
138
139
|
},
|
|
140
|
+
{
|
|
141
|
+
type: 'RollupItem',
|
|
142
|
+
content: {
|
|
143
|
+
label: 'Rollup button 3 RichText',
|
|
144
|
+
isExpanded: true,
|
|
145
|
+
},
|
|
146
|
+
blocks: [
|
|
147
|
+
{
|
|
148
|
+
type: 'RichTextBlock',
|
|
149
|
+
content: RICH_TEXT_SEPARATOR,
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
},
|
|
139
153
|
],
|
|
140
154
|
}}
|
|
141
155
|
options={options}
|
|
@@ -8,7 +8,7 @@ export const getRegularButtonClasses = ({
|
|
|
8
8
|
}: GetButtonClassParams): string =>
|
|
9
9
|
[
|
|
10
10
|
buttonStyle,
|
|
11
|
-
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border',
|
|
11
|
+
'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
|
|
12
12
|
version ? buttonStyleMap[version] : '',
|
|
13
13
|
rounded ? 'rounded-full' : 'rounded-md',
|
|
14
14
|
className,
|
|
@@ -14,7 +14,7 @@ export const renderButtonsSection = (
|
|
|
14
14
|
buttons?: (ButtonWithIconProps | undefined)[],
|
|
15
15
|
{ className = '', buttonClassName, isVertical }: ButtonsSectionOptions = {},
|
|
16
16
|
) =>
|
|
17
|
-
buttons?.length && buttons.some((_) => _?.text) ? (
|
|
17
|
+
buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (
|
|
18
18
|
<div className={style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className)}>
|
|
19
19
|
{buttons.map(renderButton(buttonClassName))}
|
|
20
20
|
</div>
|
|
@@ -26,7 +26,7 @@ const renderButton =
|
|
|
26
26
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
27
27
|
const iconVersion = version === 'secondary' ? 'color' : 'white';
|
|
28
28
|
|
|
29
|
-
return text ? (
|
|
29
|
+
return text || icon?.icon ? (
|
|
30
30
|
<Button
|
|
31
31
|
key={index ? String(index) : ''}
|
|
32
32
|
className={buttonClassName}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { style } from '../../utils/style';
|
|
2
3
|
import type { RichTextProps } from './RichTextProps';
|
|
3
4
|
|
|
4
5
|
export const RichText = JSX<RichTextProps>((props) => {
|
|
5
|
-
const { __html = '' } = props;
|
|
6
|
+
const { __html = '', richVersion = '' } = props;
|
|
6
7
|
|
|
7
|
-
return
|
|
8
|
+
return (
|
|
9
|
+
<div className={style(richVersion, 'md-container')} dangerouslySetInnerHTML={{ __html }} />
|
|
10
|
+
);
|
|
8
11
|
});
|
|
@@ -5,7 +5,7 @@ export interface RichTextProps {
|
|
|
5
5
|
__html?: HTML;
|
|
6
6
|
/**
|
|
7
7
|
* @title Стиль форматированного текста
|
|
8
|
-
* @enumNames ["по умолчанию", "
|
|
8
|
+
* @enumNames ["по умолчанию", "Строки разного цвета", "Горизонтальные разделители"]
|
|
9
9
|
*/
|
|
10
|
-
richVersion?: '' | 'striped';
|
|
10
|
+
richVersion?: '' | 'striped' | 'horizontal-separator';
|
|
11
11
|
}
|
|
@@ -17,10 +17,22 @@ export type SelectProps = LabelProps & {
|
|
|
17
17
|
options: OptionProps[];
|
|
18
18
|
isBorder?: boolean;
|
|
19
19
|
placeholder?: string;
|
|
20
|
+
valid?: boolean;
|
|
21
|
+
onValidate?: (value: string) => void;
|
|
20
22
|
};
|
|
21
23
|
|
|
22
24
|
export const Select = JSX<SelectProps>(
|
|
23
|
-
({
|
|
25
|
+
({
|
|
26
|
+
className = '',
|
|
27
|
+
isBorder = true,
|
|
28
|
+
label,
|
|
29
|
+
options = [],
|
|
30
|
+
value,
|
|
31
|
+
onChange,
|
|
32
|
+
placeholder = '',
|
|
33
|
+
valid = true,
|
|
34
|
+
onValidate,
|
|
35
|
+
}) => {
|
|
24
36
|
const [selectedItem, setSelectedItem] = useState(options[0] || { key: '', text: '' });
|
|
25
37
|
const [isOpen, setIsOpen] = useState(false);
|
|
26
38
|
const handleClickOutside = useCallback(() => setIsOpen(false), []);
|
|
@@ -30,6 +42,7 @@ export const Select = JSX<SelectProps>(
|
|
|
30
42
|
setSelectedItem(option);
|
|
31
43
|
setIsOpen(false);
|
|
32
44
|
onChange(option);
|
|
45
|
+
onValidate && onValidate(option.text);
|
|
33
46
|
};
|
|
34
47
|
|
|
35
48
|
const isSelected = (option: OptionProps) => Boolean(option.key === selectedItem.key);
|
|
@@ -50,7 +63,7 @@ export const Select = JSX<SelectProps>(
|
|
|
50
63
|
<div className={`relative ${isOpen ? 'z-20' : 'z-10'}`}>
|
|
51
64
|
<div
|
|
52
65
|
className={`text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
|
|
53
|
-
${getBorderStyle(isBorder)}`}
|
|
66
|
+
${getBorderStyle(isBorder, valid)}`}
|
|
54
67
|
onClick={() => setIsOpen(!isOpen)}
|
|
55
68
|
>
|
|
56
69
|
<p className="p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap">
|
|
@@ -108,5 +121,7 @@ const renderOption =
|
|
|
108
121
|
);
|
|
109
122
|
};
|
|
110
123
|
|
|
111
|
-
const getBorderStyle = (isBorder: boolean) =>
|
|
112
|
-
isBorder ? 'border
|
|
124
|
+
const getBorderStyle = (isBorder: boolean, valid: boolean) => `
|
|
125
|
+
${isBorder ? 'border rounded-md hover:border-primary-hover' : ''} ${
|
|
126
|
+
valid ? ' border-gray' : 'border-error'
|
|
127
|
+
} `;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CreditFormState } from './ApplicationFormCredit';
|
|
3
|
-
import type { HandleFormStateChange } from './models';
|
|
4
|
-
interface RenderDataOrganizationProps {
|
|
5
|
-
fullName: string;
|
|
6
|
-
inn: string;
|
|
7
|
-
name: string;
|
|
8
|
-
phone: string;
|
|
9
|
-
mail: string;
|
|
10
|
-
annualRevenue: string;
|
|
11
|
-
handleChange: HandleFormStateChange<CreditFormState>;
|
|
12
|
-
}
|
|
13
|
-
export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import type { HandleFormStateChange } from './models';
|
|
3
|
-
interface UseFormHandlersProps<T> {
|
|
4
|
-
setFormState: Dispatch<SetStateAction<T>>;
|
|
5
|
-
}
|
|
6
|
-
export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
|
|
7
|
-
handleChange: HandleFormStateChange<T>;
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.WrapperSelect = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Select_1 = require("../../ui-kit/Select/Select");
|
|
6
|
-
exports.WrapperSelect = (0, uni_jsx_1.JSX)(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
|
|
7
|
-
const dataFormat = data
|
|
8
|
-
.filter(Boolean)
|
|
9
|
-
.map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
|
|
10
|
-
const selectedObj = dataFormat.find((_) => _.key === selected);
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(Select_1.Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=WrapperSelect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperSelect.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WrapperSelect.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AAapD,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,UAAU,GAAkB,IAAI;SACnC,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;IAE/D,OAAO,CACL,uBAAC,eAAM,IACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,QAAQ,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,KAAK,EAAE,WAAW,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.normalizeSelectedRegion = void 0;
|
|
3
|
-
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
4
|
-
exports.normalizeSelectedRegion = normalizeSelectedRegion;
|
|
5
|
-
//# sourceMappingURL=normalizeSelectedRegion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeSelectedRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/normalizeSelectedRegion.ts"],"names":[],"mappings":";;AAEO,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CACpF,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC;AAD/E,QAAA,uBAAuB,2BACwD"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderBankOffices = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const WrapperSelect_1 = require("./WrapperSelect");
|
|
5
|
-
const renderBankOffices = ({ regions, region, branches, department, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: department, setSelected: (value) => handleChange({ department: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
|
|
6
|
-
exports.renderBankOffices = renderBankOffices;
|
|
7
|
-
//# sourceMappingURL=renderBankOffices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";;;AAGA,mDAAgD;AAUzC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AA/BW,QAAA,iBAAiB,qBA+B5B"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CreditFormState } from './ApplicationFormCredit';
|
|
3
|
-
import type { HandleFormStateChange } from './models';
|
|
4
|
-
interface RenderDataOrganizationProps {
|
|
5
|
-
fullName: string;
|
|
6
|
-
inn: string;
|
|
7
|
-
name: string;
|
|
8
|
-
phone: string;
|
|
9
|
-
mail: string;
|
|
10
|
-
annualRevenue: string;
|
|
11
|
-
handleChange: HandleFormStateChange<CreditFormState>;
|
|
12
|
-
}
|
|
13
|
-
export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderDataOrganization = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Input_1 = require("../../ui-kit/Input/Input");
|
|
5
|
-
const renderDataOrganization = ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", value: fullName, onChange: (value) => handleChange({ fullName: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0418\u041D\u041D", label: "\u0418\u041D\u041D", value: inn, onChange: (value) => handleChange({ inn: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", value: phone, onChange: (value) => handleChange({ phone: value }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", value: annualRevenue, onChange: (value) => handleChange({ annualRevenue: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", value: name, onChange: (value) => handleChange({ name: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", value: mail, onChange: (value) => handleChange({ mail: value }) })] })] }));
|
|
6
|
-
exports.renderDataOrganization = renderDataOrganization;
|
|
7
|
-
//# sourceMappingURL=renderDataOrganization.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderDataOrganization.tsx"],"names":[],"mappings":";;;AAAA,oDAAiD;AAc1C,MAAM,sBAAsB,GAAG,CAAC,EACrC,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,aAAa,EACb,YAAY,GACgB,EAAE,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,6IAA0B,EACrC,KAAK,EAAC,6IAA0B,EAChC,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GACtD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,oBAAK,EAChB,KAAK,EAAC,oBAAK,EACX,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GACjD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,4CAAS,EACpB,KAAK,EAAC,4CAAS,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GACnD,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,+FAAoB,EAC/B,KAAK,EAAC,+FAAoB,EAC1B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,GAC3D,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,uFAAiB,EAC5B,KAAK,EAAC,uFAAiB,EACvB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,mGAAmB,EAC9B,KAAK,EAAC,mGAAmB,EACzB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC;AA/DW,QAAA,sBAAsB,0BA+DjC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderSelects = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const WrapperSelect_1 = require("./WrapperSelect");
|
|
5
|
-
const acquiringTypes_1 = require("./acquiringTypes");
|
|
6
|
-
const renderSelects = ({ acquiringType, regions, region, handleChange }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: acquiringTypes_1.ACQUIRING_TYPES, fieldValue: "name", fieldLabel: "name", selected: acquiringType, setSelected: (value) => handleChange({ acquiringType: value }), label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433" }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
|
|
7
|
-
exports.renderSelects = renderSelects;
|
|
8
|
-
//# sourceMappingURL=renderSelects.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderSelects.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderSelects.tsx"],"names":[],"mappings":";;;AACA,mDAAgD;AAChD,qDAAmD;AAU5C,MAAM,aAAa,GAAG,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAgB,EAAE,EAAE,CAAC,CAC/F,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,gCAAe,EACrB,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAC9D,KAAK,EAAC,iFAAgB,EACtB,WAAW,EAAC,yGAAoB,GAChC,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC;AAzBW,QAAA,aAAa,iBAyBxB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import type { HandleFormStateChange } from './models';
|
|
3
|
-
interface UseFormHandlersProps<T> {
|
|
4
|
-
setFormState: Dispatch<SetStateAction<T>>;
|
|
5
|
-
}
|
|
6
|
-
export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
|
|
7
|
-
handleChange: HandleFormStateChange<T>;
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.useFormHandlers = void 0;
|
|
3
|
-
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
4
|
-
const useFormHandlers = ({ setFormState }) => {
|
|
5
|
-
const handleChange = (0, hooks_1.useCallback)((state) => setFormState((oldState) => ({ ...oldState, ...state })), []);
|
|
6
|
-
return {
|
|
7
|
-
handleChange,
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
exports.useFormHandlers = useFormHandlers;
|
|
11
|
-
//# sourceMappingURL=useFormHandlers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFormHandlers.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/useFormHandlers.ts"],"names":[],"mappings":";;AAAA,uDAA0D;AAQnD,MAAM,eAAe,GAAG,CAAI,EAAE,YAAY,EAA2B,EAAE,EAAE;IAC9E,MAAM,YAAY,GAA6B,IAAA,mBAAW,EACxD,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,EAClE,EAAE,CACH,CAAC;IAEF,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,eAAe,mBAS1B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Select } from '../../ui-kit/Select/Select.js';
|
|
4
|
-
export const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
|
|
5
|
-
const dataFormat = data
|
|
6
|
-
.filter(Boolean)
|
|
7
|
-
.map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
|
|
8
|
-
const selectedObj = dataFormat.find((_) => _.key === selected);
|
|
9
|
-
return (_jsx(Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=WrapperSelect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperSelect.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WrapperSelect.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAe,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAajE,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,UAAU,GAAkB,IAAI;SACnC,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;IAE/D,OAAO,CACL,KAAC,MAAM,IACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,QAAQ,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,KAAK,EAAE,WAAW,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeSelectedRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/normalizeSelectedRegion.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CACpF,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { WrapperSelect } from './WrapperSelect.js';
|
|
3
|
-
export const renderBankOffices = ({ regions, region, branches, department, handleChange, }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D" }) }), _jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: department, setSelected: (value) => handleChange({ department: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
|
|
4
|
-
//# sourceMappingURL=renderBankOffices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderBankOffices.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBankOffices.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAUhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,GACW,EAAE,EAAE,CAAC,CAC5B,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,EACN,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,QAAQ,EACd,UAAU,EAAC,YAAY,EACvB,UAAU,EAAC,SAAS,EACpB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAC3D,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CreditFormState } from './ApplicationFormCredit';
|
|
3
|
-
import type { HandleFormStateChange } from './models';
|
|
4
|
-
interface RenderDataOrganizationProps {
|
|
5
|
-
fullName: string;
|
|
6
|
-
inn: string;
|
|
7
|
-
name: string;
|
|
8
|
-
phone: string;
|
|
9
|
-
mail: string;
|
|
10
|
-
annualRevenue: string;
|
|
11
|
-
handleChange: HandleFormStateChange<CreditFormState>;
|
|
12
|
-
}
|
|
13
|
-
export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Input } from '../../ui-kit/Input/Input.js';
|
|
3
|
-
export const renderDataOrganization = ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsxs("div", { className: "w-1/2", children: [_jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", value: fullName, onChange: (value) => handleChange({ fullName: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0418\u041D\u041D", label: "\u0418\u041D\u041D", value: inn, onChange: (value) => handleChange({ inn: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", value: phone, onChange: (value) => handleChange({ phone: value }) })] }), _jsxs("div", { className: "w-1/2", children: [_jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", value: annualRevenue, onChange: (value) => handleChange({ annualRevenue: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", value: name, onChange: (value) => handleChange({ name: value }) }), _jsx(Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", value: mail, onChange: (value) => handleChange({ mail: value }) })] })] }));
|
|
4
|
-
//# sourceMappingURL=renderDataOrganization.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderDataOrganization.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAcjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACrC,QAAQ,EACR,GAAG,EACH,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,aAAa,EACb,YAAY,GACgB,EAAE,EAAE,CAAC,CACjC,eAAK,SAAS,EAAC,iCAAiC,aAC9C,eAAK,SAAS,EAAC,OAAO,aACpB,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,6IAA0B,EACrC,KAAK,EAAC,6IAA0B,EAChC,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GACtD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,oBAAK,EAChB,KAAK,EAAC,oBAAK,EACX,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GACjD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,4CAAS,EACpB,KAAK,EAAC,4CAAS,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GACnD,IACE,EACN,eAAK,SAAS,EAAC,OAAO,aACpB,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,+FAAoB,EAC/B,KAAK,EAAC,+FAAoB,EAC1B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,GAC3D,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,gBACA,uFAAiB,EAC5B,KAAK,EAAC,uFAAiB,EACvB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,EACF,KAAC,KAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,mGAAmB,EAC9B,KAAK,EAAC,mGAAmB,EACzB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { WrapperSelect } from './WrapperSelect.js';
|
|
3
|
-
import { ACQUIRING_TYPES } from './acquiringTypes.js';
|
|
4
|
-
export const renderSelects = ({ acquiringType, regions, region, handleChange }) => (_jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [_jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: ACQUIRING_TYPES, fieldValue: "name", fieldLabel: "name", selected: acquiringType, setSelected: (value) => handleChange({ acquiringType: value }), label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433" }) }), _jsx("div", { className: "w-1/2", children: _jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441" }) })] }));
|
|
5
|
-
//# sourceMappingURL=renderSelects.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderSelects.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderSelects.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAUnD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAgB,EAAE,EAAE,CAAC,CAC/F,eAAK,SAAS,EAAC,iCAAiC,aAC9C,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,eAAe,EACrB,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,EAC9D,KAAK,EAAC,iFAAgB,EACtB,WAAW,EAAC,yGAAoB,GAChC,GACE,EACN,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,aAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,GAC5B,GACE,IACF,CACP,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import type { HandleFormStateChange } from './models';
|
|
3
|
-
interface UseFormHandlersProps<T> {
|
|
4
|
-
setFormState: Dispatch<SetStateAction<T>>;
|
|
5
|
-
}
|
|
6
|
-
export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
|
|
7
|
-
handleChange: HandleFormStateChange<T>;
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
-
export const useFormHandlers = ({ setFormState }) => {
|
|
3
|
-
const handleChange = useCallback((state) => setFormState((oldState) => ({ ...oldState, ...state })), []);
|
|
4
|
-
return {
|
|
5
|
-
handleChange,
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=useFormHandlers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFormHandlers.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/useFormHandlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAQ1D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAI,EAAE,YAAY,EAA2B,EAAE,EAAE;IAC9E,MAAM,YAAY,GAA6B,WAAW,CACxD,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,EAClE,EAAE,CACH,CAAC;IAEF,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CreditFormState } from './ApplicationFormCredit';
|
|
3
|
-
import type { HandleFormStateChange } from './models';
|
|
4
|
-
interface RenderDataOrganizationProps {
|
|
5
|
-
fullName: string;
|
|
6
|
-
inn: string;
|
|
7
|
-
name: string;
|
|
8
|
-
phone: string;
|
|
9
|
-
mail: string;
|
|
10
|
-
annualRevenue: string;
|
|
11
|
-
handleChange: HandleFormStateChange<CreditFormState>;
|
|
12
|
-
}
|
|
13
|
-
export declare const renderDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, }: RenderDataOrganizationProps) => JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
-
import type { HandleFormStateChange } from './models';
|
|
3
|
-
interface UseFormHandlersProps<T> {
|
|
4
|
-
setFormState: Dispatch<SetStateAction<T>>;
|
|
5
|
-
}
|
|
6
|
-
export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
|
|
7
|
-
handleChange: HandleFormStateChange<T>;
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface WrapperSelectProps {
|
|
2
|
-
data: Record<string, any>[];
|
|
3
|
-
fieldLabel: string;
|
|
4
|
-
fieldValue?: string;
|
|
5
|
-
selected: string;
|
|
6
|
-
setSelected: (value: string) => void;
|
|
7
|
-
label: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const WrapperSelect: import("@redneckz/uni-jsx").UNIComponent<WrapperSelectProps, any, any>;
|
|
11
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.WrapperSelect = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Select_1 = require("../../ui-kit/Select/Select");
|
|
6
|
-
exports.WrapperSelect = (0, uni_jsx_1.JSX)(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
|
|
7
|
-
const dataFormat = data
|
|
8
|
-
.filter(Boolean)
|
|
9
|
-
.map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
|
|
10
|
-
const selectedObj = dataFormat.find((_) => _.key === selected);
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(Select_1.Select, { options: dataFormat, label: label, placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj }));
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=WrapperSelect.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperSelect.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WrapperSelect.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AAapD,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,UAAU,GAAkB,IAAI;SACnC,MAAM,CAAC,OAAO,CAAC;SACf,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,UAAU,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,QAAQ,CAAC,CAAC;IAE/D,OAAO,CACL,uBAAC,eAAM,IACL,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,IAAI,QAAQ,EACpC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,KAAK,EAAE,WAAW,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.normalizeSelectedRegion = void 0;
|
|
3
|
-
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
4
|
-
exports.normalizeSelectedRegion = normalizeSelectedRegion;
|
|
5
|
-
//# sourceMappingURL=normalizeSelectedRegion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeSelectedRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/normalizeSelectedRegion.ts"],"names":[],"mappings":";;AAEO,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CACpF,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC;AAD/E,QAAA,uBAAuB,2BACwD"}
|