@redneckz/wildless-cms-uni-blocks 0.14.751 → 0.14.753
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/api/RetailAPI/getTraceId.d.ts +1 -0
- package/bundle/bundle.umd.js +130 -134
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
- package/bundle/components/RollupItem/RollupItem.d.ts +0 -4
- package/bundle/ui-kit/Button/Button.d.ts +7 -3
- package/bundle/ui-kit/Button/ButtonTitle.d.ts +5 -0
- package/bundle/ui-kit/Button/SubmitButton.d.ts +5 -0
- package/bundle/ui-kit/ControlStateProps.d.ts +0 -1
- package/bundle/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
- package/bundle/ui-kit/Foldable/Foldable.d.ts +2 -1
- package/bundle/ui-kit/Icon/IconProps.d.ts +12 -0
- package/bundle/ui-kit/Icon/ToggleIcon.d.ts +6 -0
- package/bundle/ui-kit/Input/InputPopup.d.ts +2 -1
- package/dist/api/RetailAPI/doRequest.js +5 -0
- package/dist/api/RetailAPI/doRequest.js.map +1 -1
- package/dist/api/RetailAPI/getGenderFromName.js +7 -5
- package/dist/api/RetailAPI/getGenderFromName.js.map +1 -1
- package/dist/api/RetailAPI/getTraceId.d.ts +1 -0
- package/dist/api/RetailAPI/getTraceId.js +9 -0
- package/dist/api/RetailAPI/getTraceId.js.map +1 -0
- package/dist/components/ApplicationForm/renderAgreementSubmit.js +2 -2
- package/dist/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
- package/dist/components/ApplicationLeadForm/GroupedConsents.js +3 -2
- package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
- package/dist/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +2 -2
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CreditCardForm/StepsNavigationButtons.js +2 -1
- package/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
- package/dist/components/CreditForm/StepsNavigationButtons.js +2 -1
- package/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -1
- package/dist/components/Depository/DepositoryItem.js +2 -2
- package/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/dist/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
- package/dist/components/OfficesAtmsMap/FiltrationForm.js +5 -6
- package/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
- package/dist/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
- package/dist/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
- package/dist/components/OfficesAtmsMap/renderAtmCard.js +1 -2
- package/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
- package/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.d.ts +0 -4
- package/dist/components/RollupItem/RollupItem.js +4 -20
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/GridBlocks.js +2 -2
- package/dist/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
- package/dist/ui-kit/Button/Button.d.ts +7 -3
- package/dist/ui-kit/Button/Button.js +15 -17
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/ButtonTitle.d.ts +5 -0
- package/dist/ui-kit/Button/ButtonTitle.js +7 -0
- package/dist/ui-kit/Button/ButtonTitle.js.map +1 -0
- package/dist/ui-kit/Button/SubmitButton.d.ts +5 -0
- package/dist/ui-kit/Button/SubmitButton.js +8 -0
- package/dist/ui-kit/Button/SubmitButton.js.map +1 -0
- package/dist/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
- package/dist/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/dist/ui-kit/ControlStateProps.d.ts +0 -1
- package/dist/ui-kit/DraftDialog/parseDraftTask.js +2 -2
- package/dist/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/dist/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/dist/ui-kit/DraftDialog/utils.js +13 -3
- package/dist/ui-kit/DraftDialog/utils.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +5 -12
- package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +2 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Icon/Icon.js +16 -11
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +12 -0
- package/dist/ui-kit/Icon/RoundedIcon.js +1 -1
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/dist/ui-kit/Icon/ToggleIcon.d.ts +6 -0
- package/dist/ui-kit/Icon/ToggleIcon.js +7 -0
- package/dist/ui-kit/Icon/ToggleIcon.js.map +1 -0
- package/dist/ui-kit/Input/InputPopup.d.ts +2 -1
- package/dist/ui-kit/Input/InputPopup.js +29 -1
- package/dist/ui-kit/Input/InputPopup.js.map +1 -1
- package/dist/ui-kit/Input/useInputPopup.js +4 -3
- package/dist/ui-kit/Input/useInputPopup.js.map +1 -1
- package/dist/ui-kit/Loader/Loader.js +1 -1
- package/dist/ui-kit/Loader/Loader.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.mobile.js +14 -2
- package/dist/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
- package/lib/api/RetailAPI/doRequest.js +5 -0
- package/lib/api/RetailAPI/doRequest.js.map +1 -1
- package/lib/api/RetailAPI/getGenderFromName.js +7 -5
- package/lib/api/RetailAPI/getGenderFromName.js.map +1 -1
- package/lib/api/RetailAPI/getTraceId.d.ts +1 -0
- package/lib/api/RetailAPI/getTraceId.js +6 -0
- package/lib/api/RetailAPI/getTraceId.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/renderAgreementSubmit.js +2 -2
- package/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
- package/lib/components/ApplicationLeadForm/GroupedConsents.js +3 -2
- package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
- package/lib/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +2 -2
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CreditCardForm/StepsNavigationButtons.js +2 -1
- package/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
- package/lib/components/CreditForm/StepsNavigationButtons.js +2 -1
- package/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -1
- package/lib/components/Depository/DepositoryItem.js +2 -2
- package/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/lib/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
- package/lib/components/OfficesAtmsMap/FiltrationForm.js +4 -4
- package/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
- package/lib/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
- package/lib/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
- package/lib/components/OfficesAtmsMap/renderAtmCard.js +1 -2
- package/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
- package/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.d.ts +0 -4
- package/lib/components/RollupItem/RollupItem.js +4 -20
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +2 -2
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/GridBlocks.js +2 -2
- package/lib/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
- package/lib/ui-kit/Button/Button.d.ts +7 -3
- package/lib/ui-kit/Button/Button.js +16 -18
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/ButtonTitle.d.ts +5 -0
- package/lib/ui-kit/Button/ButtonTitle.js +5 -0
- package/lib/ui-kit/Button/ButtonTitle.js.map +1 -0
- package/lib/ui-kit/Button/SubmitButton.d.ts +5 -0
- package/lib/ui-kit/Button/SubmitButton.js +6 -0
- package/lib/ui-kit/Button/SubmitButton.js.map +1 -0
- package/lib/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
- package/lib/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/lib/ui-kit/ControlStateProps.d.ts +0 -1
- package/lib/ui-kit/DraftDialog/parseDraftTask.js +3 -3
- package/lib/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/lib/ui-kit/DraftDialog/utils.d.ts +14 -4
- package/lib/ui-kit/DraftDialog/utils.js +12 -2
- package/lib/ui-kit/DraftDialog/utils.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +5 -11
- package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +2 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Icon/Icon.js +16 -11
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +12 -0
- package/lib/ui-kit/Icon/RoundedIcon.js +1 -1
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/lib/ui-kit/Icon/ToggleIcon.d.ts +6 -0
- package/lib/ui-kit/Icon/ToggleIcon.js +5 -0
- package/lib/ui-kit/Icon/ToggleIcon.js.map +1 -0
- package/lib/ui-kit/Input/InputPopup.d.ts +2 -1
- package/lib/ui-kit/Input/InputPopup.js +29 -1
- package/lib/ui-kit/Input/InputPopup.js.map +1 -1
- package/lib/ui-kit/Input/useInputPopup.js +4 -3
- package/lib/ui-kit/Input/useInputPopup.js.map +1 -1
- package/lib/ui-kit/Loader/Loader.js +1 -1
- package/lib/ui-kit/Loader/Loader.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.mobile.js +15 -3
- package/lib/ui-kit/Sitemap/Sitemap.mobile.js.map +1 -1
- package/mobile/bundle/api/RetailAPI/getTraceId.d.ts +1 -0
- package/mobile/bundle/bundle.umd.js +147 -146
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
- package/mobile/bundle/components/RollupItem/RollupItem.d.ts +0 -4
- package/mobile/bundle/ui-kit/Button/Button.d.ts +7 -3
- package/mobile/bundle/ui-kit/Button/ButtonTitle.d.ts +5 -0
- package/mobile/bundle/ui-kit/Button/SubmitButton.d.ts +5 -0
- package/mobile/bundle/ui-kit/ControlStateProps.d.ts +0 -1
- package/mobile/bundle/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
- package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +2 -1
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +12 -0
- package/mobile/bundle/ui-kit/Icon/ToggleIcon.d.ts +6 -0
- package/mobile/bundle/ui-kit/Input/InputPopup.d.ts +2 -1
- package/mobile/dist/api/RetailAPI/doRequest.js +5 -0
- package/mobile/dist/api/RetailAPI/doRequest.js.map +1 -1
- package/mobile/dist/api/RetailAPI/getGenderFromName.js +7 -5
- package/mobile/dist/api/RetailAPI/getGenderFromName.js.map +1 -1
- package/mobile/dist/api/RetailAPI/getTraceId.d.ts +1 -0
- package/mobile/dist/api/RetailAPI/getTraceId.js +9 -0
- package/mobile/dist/api/RetailAPI/getTraceId.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js +2 -2
- package/mobile/dist/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +3 -2
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
- package/mobile/dist/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -2
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +5 -9
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js +2 -1
- package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
- package/mobile/dist/components/CreditForm/StepsNavigationButtons.js +2 -1
- package/mobile/dist/components/CreditForm/StepsNavigationButtons.js.map +1 -1
- package/mobile/dist/components/Depository/DepositoryItem.js +2 -2
- package/mobile/dist/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
- package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js +5 -6
- package/mobile/dist/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
- package/mobile/dist/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js +1 -2
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.d.ts +0 -4
- package/mobile/dist/components/RollupItem/RollupItem.js +4 -20
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/GridBlocks.js +2 -2
- package/mobile/dist/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
- package/mobile/dist/ui-kit/Button/Button.d.ts +7 -3
- package/mobile/dist/ui-kit/Button/Button.js +15 -17
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonTitle.d.ts +5 -0
- package/mobile/dist/ui-kit/Button/ButtonTitle.js +7 -0
- package/mobile/dist/ui-kit/Button/ButtonTitle.js.map +1 -0
- package/mobile/dist/ui-kit/Button/SubmitButton.d.ts +5 -0
- package/mobile/dist/ui-kit/Button/SubmitButton.js +8 -0
- package/mobile/dist/ui-kit/Button/SubmitButton.js.map +1 -0
- package/mobile/dist/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
- package/mobile/dist/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/dist/ui-kit/ControlStateProps.d.ts +0 -1
- package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.js +2 -2
- package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/dist/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/mobile/dist/ui-kit/DraftDialog/utils.js +13 -3
- package/mobile/dist/ui-kit/DraftDialog/utils.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +5 -12
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +2 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +16 -11
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +12 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +1 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/ToggleIcon.d.ts +6 -0
- package/mobile/dist/ui-kit/Icon/ToggleIcon.js +7 -0
- package/mobile/dist/ui-kit/Icon/ToggleIcon.js.map +1 -0
- package/mobile/dist/ui-kit/Input/InputPopup.d.ts +2 -1
- package/mobile/dist/ui-kit/Input/InputPopup.js +29 -1
- package/mobile/dist/ui-kit/Input/InputPopup.js.map +1 -1
- package/mobile/dist/ui-kit/Input/useInputPopup.js +4 -3
- package/mobile/dist/ui-kit/Input/useInputPopup.js.map +1 -1
- package/mobile/dist/ui-kit/Loader/Loader.js +1 -1
- package/mobile/dist/ui-kit/Loader/Loader.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +14 -2
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/api/RetailAPI/doRequest.js +5 -0
- package/mobile/lib/api/RetailAPI/doRequest.js.map +1 -1
- package/mobile/lib/api/RetailAPI/getGenderFromName.js +7 -5
- package/mobile/lib/api/RetailAPI/getGenderFromName.js.map +1 -1
- package/mobile/lib/api/RetailAPI/getTraceId.d.ts +1 -0
- package/mobile/lib/api/RetailAPI/getTraceId.js +6 -0
- package/mobile/lib/api/RetailAPI/getTraceId.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js +2 -2
- package/mobile/lib/components/ApplicationForm/renderAgreementSubmit.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +3 -2
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/renderSubmitButton.js +2 -3
- package/mobile/lib/components/ApplicationLeadForm/renderSubmitButton.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -2
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +6 -10
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js +2 -1
- package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -1
- package/mobile/lib/components/CreditForm/StepsNavigationButtons.js +2 -1
- package/mobile/lib/components/CreditForm/StepsNavigationButtons.js.map +1 -1
- package/mobile/lib/components/Depository/DepositoryItem.js +2 -2
- package/mobile/lib/components/Depository/DepositoryItem.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.d.ts +0 -2
- package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js +4 -4
- package/mobile/lib/components/OfficesAtmsMap/FiltrationForm.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/FoldableCardContent.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/FoldableCardContent.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js +1 -2
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderRemoteWorkplaceCard.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.d.ts +0 -4
- package/mobile/lib/components/RollupItem/RollupItem.js +4 -20
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/GridBlocks.js +2 -2
- package/mobile/lib/ui-kit/BaseFiltration/GridBlocks.js.map +1 -1
- package/mobile/lib/ui-kit/Button/Button.d.ts +7 -3
- package/mobile/lib/ui-kit/Button/Button.js +16 -18
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonTitle.d.ts +5 -0
- package/mobile/lib/ui-kit/Button/ButtonTitle.js +5 -0
- package/mobile/lib/ui-kit/Button/ButtonTitle.js.map +1 -0
- package/mobile/lib/ui-kit/Button/SubmitButton.d.ts +5 -0
- package/mobile/lib/ui-kit/Button/SubmitButton.js +6 -0
- package/mobile/lib/ui-kit/Button/SubmitButton.js.map +1 -0
- package/mobile/lib/ui-kit/CaptchaDialog/CaptchaDialog.js +2 -1
- package/mobile/lib/ui-kit/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/lib/ui-kit/ControlStateProps.d.ts +0 -1
- package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.js +3 -3
- package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/lib/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/mobile/lib/ui-kit/DraftDialog/utils.js +12 -2
- package/mobile/lib/ui-kit/DraftDialog/utils.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +4 -11
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +5 -11
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +2 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +16 -11
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +12 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +1 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/ToggleIcon.d.ts +6 -0
- package/mobile/lib/ui-kit/Icon/ToggleIcon.js +5 -0
- package/mobile/lib/ui-kit/Icon/ToggleIcon.js.map +1 -0
- package/mobile/lib/ui-kit/Input/InputPopup.d.ts +2 -1
- package/mobile/lib/ui-kit/Input/InputPopup.js +29 -1
- package/mobile/lib/ui-kit/Input/InputPopup.js.map +1 -1
- package/mobile/lib/ui-kit/Input/useInputPopup.js +4 -3
- package/mobile/lib/ui-kit/Input/useInputPopup.js.map +1 -1
- package/mobile/lib/ui-kit/Loader/Loader.js +1 -1
- package/mobile/lib/ui-kit/Loader/Loader.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +15 -3
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/src/api/RetailAPI/doRequest.ts +6 -0
- package/mobile/src/api/RetailAPI/getGenderFromName.ts +7 -10
- package/mobile/src/api/RetailAPI/getTraceId.ts +6 -0
- package/mobile/src/components/ApplicationForm/renderAgreementSubmit.tsx +5 -2
- package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +5 -2
- package/mobile/src/components/ApplicationLeadForm/renderSubmitButton.tsx +3 -4
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -3
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +19 -27
- package/mobile/src/components/CreditCardForm/StepsNavigationButtons.tsx +3 -2
- package/mobile/src/components/CreditForm/StepsNavigationButtons.tsx +3 -2
- package/mobile/src/components/Depository/DepositoryItem.tsx +2 -2
- package/mobile/src/components/OfficesAtmsMap/FiltrationForm.tsx +17 -29
- package/mobile/src/components/OfficesAtmsMap/FoldableCardContent.tsx +14 -5
- package/mobile/src/components/OfficesAtmsMap/renderAtmCard.tsx +5 -6
- package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +0 -1
- package/mobile/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +0 -1
- package/mobile/src/components/RollupItem/RollupItem.tsx +14 -61
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -2
- package/mobile/src/ui-kit/BaseFiltration/GridBlocks.tsx +5 -5
- package/mobile/src/ui-kit/Button/Button.tsx +60 -44
- package/mobile/src/ui-kit/Button/ButtonTitle.tsx +17 -0
- package/mobile/src/ui-kit/Button/SubmitButton.tsx +14 -0
- package/mobile/src/ui-kit/CaptchaDialog/CaptchaDialog.tsx +6 -8
- package/mobile/src/ui-kit/ControlStateProps.ts +0 -1
- package/mobile/src/ui-kit/DraftDialog/parseDraftTask.ts +4 -2
- package/mobile/src/ui-kit/DraftDialog/utils.ts +18 -3
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +16 -51
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -3
- package/mobile/src/ui-kit/Icon/Icon.tsx +21 -15
- package/mobile/src/ui-kit/Icon/IconProps.ts +13 -0
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +1 -1
- package/mobile/src/ui-kit/Icon/ToggleIcon.tsx +11 -0
- package/mobile/src/ui-kit/Input/InputPopup.tsx +52 -18
- package/mobile/src/ui-kit/Input/useInputPopup.tsx +11 -3
- package/mobile/src/ui-kit/Loader/Loader.tsx +1 -1
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +40 -8
- package/package.json +1 -1
- package/src/api/RetailAPI/doRequest.ts +6 -0
- package/src/api/RetailAPI/getGenderFromName.ts +7 -10
- package/src/api/RetailAPI/getTraceId.ts +6 -0
- package/src/components/ApplicationForm/renderAgreementSubmit.tsx +5 -2
- package/src/components/ApplicationLeadForm/GroupedConsents.tsx +5 -2
- package/src/components/ApplicationLeadForm/renderSubmitButton.tsx +3 -4
- package/src/components/CardTransfer/CardTransfer.tsx +3 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +19 -27
- package/src/components/CreditCardForm/StepsNavigationButtons.tsx +3 -2
- package/src/components/CreditForm/StepsNavigationButtons.tsx +3 -2
- package/src/components/Depository/DepositoryItem.tsx +2 -2
- package/src/components/OfficesAtmsMap/FiltrationForm.tsx +17 -29
- package/src/components/OfficesAtmsMap/FoldableCardContent.tsx +14 -5
- package/src/components/OfficesAtmsMap/renderAtmCard.tsx +5 -6
- package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +0 -1
- package/src/components/OfficesAtmsMap/renderRemoteWorkplaceCard.tsx +0 -1
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +1 -12
- package/src/components/RollupItem/RollupItem.tsx +14 -61
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/src/components/TariffsTable/TariffsTable.tsx +2 -2
- package/src/ui-kit/BaseFiltration/GridBlocks.tsx +5 -5
- package/src/ui-kit/Button/Button.fixture.tsx +0 -8
- package/src/ui-kit/Button/Button.tsx +60 -44
- package/src/ui-kit/Button/ButtonTitle.tsx +17 -0
- package/src/ui-kit/Button/SubmitButton.tsx +14 -0
- package/src/ui-kit/CaptchaDialog/CaptchaDialog.tsx +6 -8
- package/src/ui-kit/ControlStateProps.ts +0 -1
- package/src/ui-kit/DraftDialog/parseDraftTask.ts +4 -2
- package/src/ui-kit/DraftDialog/utils.ts +18 -3
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +16 -51
- package/src/ui-kit/Foldable/Foldable.tsx +4 -3
- package/src/ui-kit/Icon/Icon.tsx +21 -15
- package/src/ui-kit/Icon/IconProps.ts +13 -0
- package/src/ui-kit/Icon/RoundedIcon.tsx +1 -1
- package/src/ui-kit/Icon/ToggleIcon.tsx +11 -0
- package/src/ui-kit/Input/InputPopup.tsx +52 -18
- package/src/ui-kit/Input/useInputPopup.tsx +11 -3
- package/src/ui-kit/Loader/Loader.tsx +1 -1
- package/src/ui-kit/Sitemap/Sitemap.mobile.tsx +40 -8
- package/bundle/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
- package/bundle/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
- package/bundle/components/RollupItem/AccordionFoldButton.d.ts +0 -12
- package/bundle/components/RollupItem/getIconName.d.ts +0 -1
- package/bundle/components/RollupItem/renderRoundedIcon.d.ts +0 -3
- package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
- package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
- package/bundle/ui-kit/Button/IconButton.d.ts +0 -10
- package/bundle/ui-kit/Button/useButton.d.ts +0 -2
- package/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
- package/dist/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
- package/dist/components/ApplicationForm/renderSubmitButton.js +0 -8
- package/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
- package/dist/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
- package/dist/components/OfficesAtmsMap/renderFoldButton.js +0 -7
- package/dist/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
- package/dist/components/RollupItem/AccordionFoldButton.d.ts +0 -12
- package/dist/components/RollupItem/AccordionFoldButton.js +0 -11
- package/dist/components/RollupItem/AccordionFoldButton.js.map +0 -1
- package/dist/components/RollupItem/getIconName.d.ts +0 -1
- package/dist/components/RollupItem/getIconName.js +0 -7
- package/dist/components/RollupItem/getIconName.js.map +0 -1
- package/dist/components/RollupItem/renderRoundedIcon.d.ts +0 -3
- package/dist/components/RollupItem/renderRoundedIcon.js +0 -6
- package/dist/components/RollupItem/renderRoundedIcon.js.map +0 -1
- package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js +0 -7
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +0 -1
- package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
- package/dist/components/RollupItem/rollupIconVersion.mobile.js +0 -4
- package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +0 -1
- package/dist/ui-kit/Button/IconButton.d.ts +0 -10
- package/dist/ui-kit/Button/IconButton.js +0 -13
- package/dist/ui-kit/Button/IconButton.js.map +0 -1
- package/dist/ui-kit/Button/useButton.d.ts +0 -2
- package/dist/ui-kit/Button/useButton.js +0 -16
- package/dist/ui-kit/Button/useButton.js.map +0 -1
- package/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
- package/dist/ui-kit/TextWithIcon/TextWithIcon.js +0 -10
- package/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
- package/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
- package/lib/components/ApplicationForm/renderSubmitButton.js +0 -5
- package/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
- package/lib/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
- package/lib/components/OfficesAtmsMap/renderFoldButton.js +0 -4
- package/lib/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
- package/lib/components/RollupItem/AccordionFoldButton.d.ts +0 -12
- package/lib/components/RollupItem/AccordionFoldButton.js +0 -9
- package/lib/components/RollupItem/AccordionFoldButton.js.map +0 -1
- package/lib/components/RollupItem/getIconName.d.ts +0 -1
- package/lib/components/RollupItem/getIconName.js +0 -4
- package/lib/components/RollupItem/getIconName.js.map +0 -1
- package/lib/components/RollupItem/renderRoundedIcon.d.ts +0 -3
- package/lib/components/RollupItem/renderRoundedIcon.js +0 -3
- package/lib/components/RollupItem/renderRoundedIcon.js.map +0 -1
- package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +0 -3
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js +0 -4
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +0 -1
- package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +0 -1
- package/lib/components/RollupItem/rollupIconVersion.mobile.js +0 -2
- package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +0 -1
- package/lib/ui-kit/Button/IconButton.d.ts +0 -10
- package/lib/ui-kit/Button/IconButton.js +0 -11
- package/lib/ui-kit/Button/IconButton.js.map +0 -1
- package/lib/ui-kit/Button/useButton.d.ts +0 -2
- package/lib/ui-kit/Button/useButton.js +0 -13
- package/lib/ui-kit/Button/useButton.js.map +0 -1
- package/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
- package/lib/ui-kit/TextWithIcon/TextWithIcon.js +0 -8
- package/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
- package/mobile/bundle/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
- package/mobile/bundle/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
- package/mobile/bundle/components/RollupItem/AccordionFoldButton.d.ts +0 -12
- package/mobile/bundle/components/RollupItem/getIconName.d.ts +0 -1
- package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +0 -3
- package/mobile/bundle/ui-kit/Button/IconButton.d.ts +0 -10
- package/mobile/bundle/ui-kit/Button/useButton.d.ts +0 -2
- package/mobile/bundle/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +0 -8
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +0 -1
- package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
- package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js +0 -7
- package/mobile/dist/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
- package/mobile/dist/components/RollupItem/AccordionFoldButton.d.ts +0 -12
- package/mobile/dist/components/RollupItem/AccordionFoldButton.js +0 -11
- package/mobile/dist/components/RollupItem/AccordionFoldButton.js.map +0 -1
- package/mobile/dist/components/RollupItem/getIconName.d.ts +0 -1
- package/mobile/dist/components/RollupItem/getIconName.js +0 -7
- package/mobile/dist/components/RollupItem/getIconName.js.map +0 -1
- package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +0 -3
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js +0 -7
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +0 -1
- package/mobile/dist/ui-kit/Button/IconButton.d.ts +0 -10
- package/mobile/dist/ui-kit/Button/IconButton.js +0 -13
- package/mobile/dist/ui-kit/Button/IconButton.js.map +0 -1
- package/mobile/dist/ui-kit/Button/useButton.d.ts +0 -2
- package/mobile/dist/ui-kit/Button/useButton.js +0 -16
- package/mobile/dist/ui-kit/Button/useButton.js.map +0 -1
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js +0 -10
- package/mobile/dist/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.d.ts +0 -2
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +0 -5
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +0 -1
- package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.d.ts +0 -3
- package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js +0 -4
- package/mobile/lib/components/OfficesAtmsMap/renderFoldButton.js.map +0 -1
- package/mobile/lib/components/RollupItem/AccordionFoldButton.d.ts +0 -12
- package/mobile/lib/components/RollupItem/AccordionFoldButton.js +0 -9
- package/mobile/lib/components/RollupItem/AccordionFoldButton.js.map +0 -1
- package/mobile/lib/components/RollupItem/getIconName.d.ts +0 -1
- package/mobile/lib/components/RollupItem/getIconName.js +0 -4
- package/mobile/lib/components/RollupItem/getIconName.js.map +0 -1
- package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +0 -3
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js +0 -4
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +0 -1
- package/mobile/lib/ui-kit/Button/IconButton.d.ts +0 -10
- package/mobile/lib/ui-kit/Button/IconButton.js +0 -11
- package/mobile/lib/ui-kit/Button/IconButton.js.map +0 -1
- package/mobile/lib/ui-kit/Button/useButton.d.ts +0 -2
- package/mobile/lib/ui-kit/Button/useButton.js +0 -13
- package/mobile/lib/ui-kit/Button/useButton.js.map +0 -1
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.d.ts +0 -13
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js +0 -8
- package/mobile/lib/ui-kit/TextWithIcon/TextWithIcon.js.map +0 -1
- package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +0 -9
- package/mobile/src/components/OfficesAtmsMap/renderFoldButton.tsx +0 -12
- package/mobile/src/components/RollupItem/AccordionFoldButton.tsx +0 -41
- package/mobile/src/components/RollupItem/getIconName.tsx +0 -6
- package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +0 -7
- package/mobile/src/ui-kit/Button/IconButton.tsx +0 -36
- package/mobile/src/ui-kit/Button/useButton.ts +0 -16
- package/mobile/src/ui-kit/TextWithIcon/TextWithIcon.tsx +0 -37
- package/src/components/ApplicationForm/renderSubmitButton.tsx +0 -9
- package/src/components/OfficesAtmsMap/renderFoldButton.tsx +0 -12
- package/src/components/RollupItem/AccordionFoldButton.tsx +0 -41
- package/src/components/RollupItem/getIconName.tsx +0 -6
- package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +0 -7
- package/src/components/RollupItem/renderRoundedIcon.tsx +0 -5
- package/src/components/RollupItem/rollupIconVersion.mobile.tsx +0 -1
- package/src/ui-kit/Button/IconButton.tsx +0 -36
- package/src/ui-kit/Button/useButton.ts +0 -16
- package/src/ui-kit/TextWithIcon/TextWithIcon.tsx +0 -37
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
|
|
3
2
|
export interface RenderFiltrationFormProps {
|
|
4
3
|
filters: string[];
|
|
5
4
|
field: {
|
|
@@ -10,4 +9,3 @@ export interface RenderFiltrationFormProps {
|
|
|
10
9
|
labels: Record<string, string>;
|
|
11
10
|
}
|
|
12
11
|
export declare const FiltrationForm: import("@redneckz/uni-jsx").UNIComponent<RenderFiltrationFormProps, any, any>;
|
|
13
|
-
export declare const renderFoldButton: (reset: () => void, onlyOffice?: boolean) => ({ isUnfolded, onToggle }: FoldablePartProps) => any;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { type Picture } from '../../model/Picture';
|
|
2
|
-
import { type IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
3
1
|
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
4
2
|
import { type RollupItemContent } from './RollupItemContent';
|
|
5
3
|
interface RollupItemProps extends RollupItemContent, UniBlockProps {
|
|
6
|
-
labelIcon?: Picture;
|
|
7
|
-
labelIconBgVersion?: IconBgVersion;
|
|
8
4
|
role?: string;
|
|
9
5
|
}
|
|
10
6
|
export declare const RollupItem: import("../../UniBlock/UniBlock").UniBlockComponent<RollupItemProps>;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
import { type AspectsDef } from '../../model/AspectsProps';
|
|
1
2
|
import { type ButtonVersion } from '../../model/ButtonVersion';
|
|
3
|
+
import { type ColorPalette } from '../../model/ContentPageBase';
|
|
2
4
|
import { type ARIAProps } from '../ARIAProps';
|
|
3
5
|
import { type ControlStateProps } from '../ControlStateProps';
|
|
4
6
|
import { type PreventableEvent } from '../PreventableEvent';
|
|
5
7
|
export interface ButtonProps extends ControlStateProps, ARIAProps {
|
|
6
8
|
className?: string;
|
|
7
|
-
version?: ButtonVersion;
|
|
8
9
|
type?: 'button' | 'submit' | 'reset';
|
|
10
|
+
version?: ButtonVersion;
|
|
11
|
+
embedded?: boolean;
|
|
9
12
|
rounded?: boolean;
|
|
10
|
-
isLoading?: boolean;
|
|
11
13
|
role?: string;
|
|
12
|
-
|
|
14
|
+
data?: AspectsDef[];
|
|
15
|
+
dataTheme?: ColorPalette;
|
|
16
|
+
onClick?: (ev: PreventableEvent) => void;
|
|
13
17
|
}
|
|
14
18
|
export declare const Button: import("@redneckz/uni-jsx").UNIComponent<ButtonProps, any, any>;
|
|
@@ -24,6 +24,16 @@ export declare const enum EIncomesType {
|
|
|
24
24
|
WAGES = "WAGES",
|
|
25
25
|
RETIREMENT_INCOME = "RETIREMENT_INCOME"
|
|
26
26
|
}
|
|
27
|
+
export declare const EMPLOYMENT_TYPE: {
|
|
28
|
+
WORK: string;
|
|
29
|
+
RETIREE: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const INCOME_CERTIFICATE: {
|
|
32
|
+
BANK_STATEMENT: string;
|
|
33
|
+
BANK_STATEMENT_PENS: string;
|
|
34
|
+
PFR_CERTIFICATE: string;
|
|
35
|
+
OTHER: string;
|
|
36
|
+
};
|
|
27
37
|
export declare const creditCodesToProgrammIdMap: {
|
|
28
38
|
credit_cash: string;
|
|
29
39
|
credit_cash_single_doc: string;
|
|
@@ -135,4 +145,4 @@ export declare const getParticipantContacts: (participantContacts: Participant['
|
|
|
135
145
|
export declare const getParticipantGender: (gender: Participant['genderCd']) => {
|
|
136
146
|
sex: string;
|
|
137
147
|
} | null;
|
|
138
|
-
export declare const getSelectValue: (option?: DictionaryItem) => Option | undefined;
|
|
148
|
+
export declare const getSelectValue: (option?: DictionaryItem, map?: Record<string, string>) => Option | undefined;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
className?: string;
|
|
6
|
-
label: string;
|
|
7
|
-
icon: IconName;
|
|
8
|
-
dataTheme?: ColorPalette;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
1
|
+
import { type ButtonProps } from '../Button/Button';
|
|
2
|
+
interface DefaultFoldButtonProps extends ButtonProps {
|
|
3
|
+
isUnfolded?: boolean;
|
|
4
|
+
label?: string;
|
|
11
5
|
}
|
|
12
6
|
export declare const DefaultFoldButton: import("@redneckz/uni-jsx").UNIComponent<DefaultFoldButtonProps, any, any>;
|
|
13
|
-
export declare const renderDefaultFoldButton: ({ isUnfolded, onToggle }: FoldablePartProps) => any;
|
|
14
7
|
export {};
|
|
@@ -11,11 +11,23 @@ export type { IconName };
|
|
|
11
11
|
* ]
|
|
12
12
|
*/
|
|
13
13
|
export declare type IconBgVersion = '' | 'primary' | 'secondary' | 'opacity';
|
|
14
|
+
/**
|
|
15
|
+
* @title Размер иконки
|
|
16
|
+
* @enumNames [
|
|
17
|
+
* "Мелкая",
|
|
18
|
+
* "Средняя",
|
|
19
|
+
* "Большая",
|
|
20
|
+
* "Гигантская"
|
|
21
|
+
* ]
|
|
22
|
+
*/
|
|
23
|
+
export declare type IconSize = 'small' | 'medium' | 'large' | 'xl';
|
|
14
24
|
export interface IconCompatibilityFields {
|
|
15
25
|
/** @title Альтернативный текст (alt) */
|
|
16
26
|
alt?: string;
|
|
17
27
|
/** @title Текст подсказки (title) */
|
|
18
28
|
title?: string;
|
|
29
|
+
/** @title Размер */
|
|
30
|
+
size?: IconSize;
|
|
19
31
|
/** @title Ширина */
|
|
20
32
|
width?: string;
|
|
21
33
|
/** @title Высота */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type DaDataSuggestion } from '../../api/dadataHints/dadataHintsType';
|
|
2
2
|
export interface InputPopupProps {
|
|
3
|
-
options
|
|
3
|
+
options: Array<DaDataSuggestion>;
|
|
4
|
+
container: HTMLDivElement;
|
|
4
5
|
onChange: (e: DaDataSuggestion) => void;
|
|
5
6
|
value?: string;
|
|
6
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.doRequest = exports.fetchRetailJSON = void 0;
|
|
3
3
|
const apiBaseUrl_1 = require("../apiBaseUrl");
|
|
4
|
+
const getTraceId_1 = require("./getTraceId");
|
|
4
5
|
const fetchRetailJSON = async (url, method, body) => {
|
|
5
6
|
try {
|
|
6
7
|
const response = await doRequest(url, method, body);
|
|
@@ -13,10 +14,14 @@ const fetchRetailJSON = async (url, method, body) => {
|
|
|
13
14
|
};
|
|
14
15
|
exports.fetchRetailJSON = fetchRetailJSON;
|
|
15
16
|
async function doRequest(url, method, body) {
|
|
17
|
+
const traceId = (0, getTraceId_1.getTraceId)();
|
|
16
18
|
return globalThis?.fetch?.(`${apiBaseUrl_1.RETAIL_API_BASE_URI}${url}`, {
|
|
17
19
|
method,
|
|
18
20
|
headers: {
|
|
19
21
|
'Content-Type': 'application/json',
|
|
22
|
+
'X-B3-Sampled': '1',
|
|
23
|
+
'X-B3-Spanid': traceId,
|
|
24
|
+
'X-B3-Traceid': traceId,
|
|
20
25
|
...getAuthorizationHeaders(),
|
|
21
26
|
},
|
|
22
27
|
credentials: 'include',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doRequest.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/doRequest.ts"],"names":[],"mappings":";;AAAA,8CAAoD;
|
|
1
|
+
{"version":3,"file":"doRequest.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/doRequest.ts"],"names":[],"mappings":";;AAAA,8CAAoD;AACpD,6CAA0C;AAEnC,MAAM,eAAe,GAAG,KAAK,EAClC,GAAW,EACX,MAA8B,EAC9B,IAAU,EACS,EAAE;IACrB,IAAI;QACF,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;QAEpD,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;KACxB;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAEnB,OAAO,IAAI,CAAC;KACb;AACH,CAAC,CAAC;AAdW,QAAA,eAAe,mBAc1B;AAEK,KAAK,UAAU,SAAS,CAC7B,GAAW,EACX,MAA8B,EAC9B,IAAU;IAEV,MAAM,OAAO,GAAG,IAAA,uBAAU,GAAE,CAAC;IAE7B,OAAO,UAAU,EAAE,KAAK,EAAE,CAAC,GAAG,gCAAmB,GAAG,GAAG,EAAE,EAAE;QACzD,MAAM;QACN,OAAO,EAAE;YACP,cAAc,EAAE,kBAAkB;YAClC,cAAc,EAAE,GAAG;YACnB,aAAa,EAAE,OAAO;YACtB,cAAc,EAAE,OAAO;YACvB,GAAG,uBAAuB,EAAE;SAC7B;QACD,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;KACzC,CAAC,CAAC;AACL,CAAC;AAnBD,8BAmBC;AAED,MAAM,uBAAuB,GAAG,GAAG,EAAE;IACnC,MAAM,KAAK,GAAG,cAAc,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAEpD,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,UAAU,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAC7D,CAAC,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.getGenderFromName = void 0;
|
|
3
|
-
const
|
|
3
|
+
const dadataHints_1 = require("../dadataHints/dadataHints");
|
|
4
4
|
const GENDERS = ['male', 'female'];
|
|
5
5
|
const getGenderFromName = async (name) => {
|
|
6
|
-
const res = await (0,
|
|
6
|
+
const res = await (0, dadataHints_1.getDaDataHints)({
|
|
7
|
+
url: '/suggest/fio',
|
|
8
|
+
requestData: {
|
|
9
|
+
parts: ['NAME'],
|
|
10
|
+
},
|
|
7
11
|
query: name,
|
|
8
|
-
count: 1,
|
|
9
|
-
parts: ['NAME'],
|
|
10
12
|
});
|
|
11
|
-
const gender = res
|
|
13
|
+
const gender = res[0]?.data?.gender?.toLowerCase() || '';
|
|
12
14
|
return GENDERS.includes(gender) ? gender : '';
|
|
13
15
|
};
|
|
14
16
|
exports.getGenderFromName = getGenderFromName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGenderFromName.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getGenderFromName.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getGenderFromName.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getGenderFromName.ts"],"names":[],"mappings":";;AAAA,4DAA4D;AAE5D,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAE5B,MAAM,iBAAiB,GAAG,KAAK,EAAE,IAAY,EAAmB,EAAE;IACvE,MAAM,GAAG,GAAG,MAAM,IAAA,4BAAc,EAAC;QAC/B,GAAG,EAAE,cAAc;QACnB,WAAW,EAAE;YACX,KAAK,EAAE,CAAC,MAAM,CAAC;SAChB;QACD,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;IAEzD,OAAO,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;AAChD,CAAC,CAAC;AAZW,QAAA,iBAAiB,qBAY5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getTraceId: () => string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getTraceId = void 0;
|
|
3
|
+
const getTraceId = () => {
|
|
4
|
+
const result = new Uint8Array(8);
|
|
5
|
+
globalThis.crypto.getRandomValues(result);
|
|
6
|
+
return result.reduce((acc, _) => `${acc}${_.toString(16).padStart(2, '0')}`, '');
|
|
7
|
+
};
|
|
8
|
+
exports.getTraceId = getTraceId;
|
|
9
|
+
//# sourceMappingURL=getTraceId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTraceId.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getTraceId.ts"],"names":[],"mappings":";;AAAO,MAAM,UAAU,GAAG,GAAG,EAAE;IAC7B,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;IACjC,UAAU,CAAC,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;IAE1C,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AACnF,CAAC,CAAC;AALW,QAAA,UAAU,cAKrB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderAgreementSubmit = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const SubmitButton_1 = require("../../ui-kit/Button/SubmitButton");
|
|
4
5
|
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
5
6
|
const validators_1 = require("../../ui-kit/FormField/validators");
|
|
6
7
|
const renderErrorText_1 = require("../../ui-kit/Input/renderErrorText");
|
|
7
8
|
const withValidator_1 = require("../../validation/withValidator");
|
|
8
9
|
const Footnote_1 = require("./Footnote");
|
|
9
|
-
const renderSubmitButton_1 = require("./renderSubmitButton");
|
|
10
10
|
const agreementText = 'Нажимая кнопку, вы подтверждаете согласие с ';
|
|
11
|
-
const renderAgreementSubmit = (consentDataProcessing, link, button) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [consentDataProcessing ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { ...consentDataProcessing }), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }), (0, renderErrorText_1.renderErrorText)((0, withValidator_1.withValidator)(consentDataProcessing, validators_1.agreementValidator).error)] })) : ((0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { text: agreementText, link: link })), (0,
|
|
11
|
+
const renderAgreementSubmit = (consentDataProcessing, link, button) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [consentDataProcessing ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { ...consentDataProcessing }), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }), (0, renderErrorText_1.renderErrorText)((0, withValidator_1.withValidator)(consentDataProcessing, validators_1.agreementValidator).error)] })) : ((0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { text: agreementText, link: link })), (0, jsx_runtime_1.jsx)(SubmitButton_1.SubmitButton, { className: "w-full @xl:w-auto", children: button?.text ? button.text : 'Отправить заявку' })] }));
|
|
12
12
|
exports.renderAgreementSubmit = renderAgreementSubmit;
|
|
13
13
|
//# sourceMappingURL=renderAgreementSubmit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderAgreementSubmit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderAgreementSubmit.tsx"],"names":[],"mappings":";;;AAEA,6DAA0D;AAC1D,kEAAuE;AACvE,wEAAqE;AACrE,kEAA+D;AAE/D,yCAAsC;
|
|
1
|
+
{"version":3,"file":"renderAgreementSubmit.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderAgreementSubmit.tsx"],"names":[],"mappings":";;;AAEA,mEAAgE;AAChE,6DAA0D;AAC1D,kEAAuE;AACvE,wEAAqE;AACrE,kEAA+D;AAE/D,yCAAsC;AAEtC,MAAM,aAAa,GAAG,8CAA8C,CAAC;AAE9D,MAAM,qBAAqB,GAAG,CACnC,qBAA2C,EAC3C,IAAgB,EAChB,MAA0B,EAC1B,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,uDAAuD,aACnE,qBAAqB,CAAC,CAAC,CAAC,CACvB,4CACE,iCAAK,SAAS,EAAC,yBAAyB,aACtC,uBAAC,mBAAQ,OAAK,qBAAqB,GAAI,EACvC,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACpB,EACL,IAAA,iCAAe,EAAC,IAAA,6BAAa,EAAC,qBAAqB,EAAE,+BAAkB,CAAC,CAAC,KAAK,CAAC,IAC5E,CACP,CAAC,CAAC,CAAC,CACF,uBAAC,mBAAQ,IAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAI,CAC9C,EACD,uBAAC,2BAAY,IAAC,SAAS,EAAC,mBAAmB,YACxC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAkB,GACnC,IACX,CACP,CAAC;AArBW,QAAA,qBAAqB,yBAqBhC"}
|
|
@@ -5,12 +5,13 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
6
|
const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
|
|
7
7
|
const inputs_1 = require("../../services/retail/inputs");
|
|
8
|
-
const
|
|
8
|
+
const Button_1 = require("../../ui-kit/Button/Button");
|
|
9
9
|
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
10
10
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
11
11
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
12
12
|
const getField_1 = require("../../ui-kit/FormField/getField");
|
|
13
13
|
const getObjectValidator_1 = require("../../ui-kit/FormField/getObjectValidator");
|
|
14
|
+
const ToggleIcon_1 = require("../../ui-kit/Icon/ToggleIcon");
|
|
14
15
|
const renderErrorText_1 = require("../../ui-kit/Input/renderErrorText");
|
|
15
16
|
const withValidator_1 = require("../../validation/withValidator");
|
|
16
17
|
const CONSENT_ALL_DOCS_TEXT = 'Согласие на все документы';
|
|
@@ -27,6 +28,6 @@ exports.GroupedConsents = (0, uni_jsx_1.JSX)(({ inputs = [], field, key }) => {
|
|
|
27
28
|
?.filter((_) => _.required)
|
|
28
29
|
?.some((_) => Boolean((0, withValidator_1.withValidator)(field(_?.name), getObjectValidator_1.validatorObj[_?.name]).error)), [inputs]);
|
|
29
30
|
const [isUnfolded, { toggle }] = (0, useBool_1.useBool)(true);
|
|
30
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "w-fit", children: (0, jsx_runtime_1.jsxs)(Foldable_1.Foldable, { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-start", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: CONSENT_ALL_DOCS_TEXT, value: isChecked, onChange: handleGeneralToggle }, key), (0, renderErrorText_1.renderErrorText)(hasValidationErrors ? CONSENT_REQUIRED : '')] }), (0, jsx_runtime_1.jsx)(
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "w-fit", children: (0, jsx_runtime_1.jsxs)(Foldable_1.Foldable, { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-start", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: CONSENT_ALL_DOCS_TEXT, value: isChecked, onChange: handleGeneralToggle }, key), (0, renderErrorText_1.renderErrorText)(hasValidationErrors ? CONSENT_REQUIRED : '')] }), (0, jsx_runtime_1.jsx)(Button_1.Button, { embedded: true, onClick: toggle, children: (0, jsx_runtime_1.jsx)(ToggleIcon_1.ToggleIcon, { className: "p-2xs", iconVersion: "color", isUnfolded: isUnfolded }) })] }), (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: "flex flex-col pl-2xl", isUnfolded: isUnfolded, children: inputs.map((0, getField_1.getField)(field, {}, inputs_1.InputsConsentsMap)) })] }) }));
|
|
31
32
|
});
|
|
32
33
|
//# sourceMappingURL=GroupedConsents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupedConsents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/GroupedConsents.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAmE;AACnE,iEAA8D;AAE9D,yDAAiE;AAGjE
|
|
1
|
+
{"version":3,"file":"GroupedConsents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/GroupedConsents.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAmE;AACnE,iEAA8D;AAE9D,yDAAiE;AAGjE,uDAAoD;AACpD,6DAA0D;AAC1D,6DAA0D;AAC1D,2EAAwE;AACxE,8DAA2D;AAC3D,kFAAyE;AACzE,6DAA0D;AAC1D,wEAAqE;AACrE,kEAA+D;AAO/D,MAAM,qBAAqB,GAAG,2BAA2B,CAAC;AAC1D,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;AAEnD,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE;IACvF,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAA2B,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IAE3F,MAAM,mBAAmB,GAAG,IAAA,mBAAW,EACrC,CAAC,KAAc,EAAE,EAAE;QACjB,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE;YACzB,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,IAA2B,CAAC,CAAC;YAC1D,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;SAC7B;IACH,CAAC,EACD,CAAC,MAAM,CAAC,CACT,CAAC;IAEF,MAAM,mBAAmB,GAAG,IAAA,eAAO,EACjC,GAAG,EAAE,CACH,MAAM;QACJ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;QAC3B,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CACX,OAAO,CACL,IAAA,6BAAa,EACX,KAAK,CAAC,CAAC,EAAE,IAA2B,CAAC,EACrC,iCAAY,CAAC,CAAC,EAAE,IAA2B,CAAC,CAC7C,CAAC,KAAK,CACR,CACF,EACL,CAAC,MAAM,CAAC,CACT,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,IAAI,CAAC,CAAC;IAE/C,OAAO,CACL,gCAAK,SAAS,EAAC,OAAO,YACpB,wBAAC,mBAAQ,eACP,iCAAK,SAAS,EAAC,kBAAkB,aAC/B,4CACE,uBAAC,mBAAQ,IAEP,IAAI,EAAE,qBAAqB,EAC3B,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,mBAAmB,IAHxB,GAAG,CAIR,EACD,IAAA,iCAAe,EAAC,mBAAmB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,IACzD,EACN,uBAAC,eAAM,IAAC,QAAQ,QAAC,OAAO,EAAE,MAAM,YAC9B,uBAAC,uBAAU,IAAC,SAAS,EAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAC,UAAU,EAAE,UAAU,GAAI,GACrE,IACL,EACN,uBAAC,iCAAe,IAAC,SAAS,EAAC,sBAAsB,EAAC,UAAU,EAAE,UAAU,YACrE,MAAM,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAiB,KAAK,EAAE,EAAE,EAAE,0BAAiB,CAAC,CAAC,GACnD,IACT,GACP,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderSubmitButton = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const renderSubmitButton = (button, isSending) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: (0, style_1.style)('w-full @xl:w-auto'), type: "submit", isLoading: isSending, children: button?.text ? button.text : 'Отправить заявку' }));
|
|
4
|
+
const SubmitButton_1 = require("../../ui-kit/Button/SubmitButton");
|
|
5
|
+
const renderSubmitButton = (button, isSending) => ((0, jsx_runtime_1.jsx)(SubmitButton_1.SubmitButton, { className: "w-full @xl:w-auto", isLoading: isSending, children: button?.text ? button.text : 'Отправить заявку' }));
|
|
7
6
|
exports.renderSubmitButton = renderSubmitButton;
|
|
8
7
|
//# sourceMappingURL=renderSubmitButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderSubmitButton.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/renderSubmitButton.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"renderSubmitButton.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/renderSubmitButton.tsx"],"names":[],"mappings":";;;AAAA,mEAAgE;AAGzD,MAAM,kBAAkB,GAAG,CAAC,MAA0B,EAAE,SAAmB,EAAE,EAAE,CAAC,CACrF,uBAAC,2BAAY,IAAC,SAAS,EAAC,mBAAmB,EAAC,SAAS,EAAE,SAAS,YAC7D,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAkB,GACnC,CAChB,CAAC;AAJW,QAAA,kBAAkB,sBAI7B"}
|
|
@@ -6,7 +6,7 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
|
6
6
|
const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
|
|
7
7
|
const useForm_1 = require("../../hooks/useForm/useForm");
|
|
8
8
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
9
|
-
const
|
|
9
|
+
const SubmitButton_1 = require("../../ui-kit/Button/SubmitButton");
|
|
10
10
|
const CurrencyInput_1 = require("../../ui-kit/CurrencyInput/CurrencyInput");
|
|
11
11
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
12
12
|
const style_1 = require("../../utils/style");
|
|
@@ -28,6 +28,6 @@ exports.CardTransfer = (0, uni_jsx_1.JSX)(({ className = '', title = DEFAULT_TIT
|
|
|
28
28
|
(0, hooks_1.useEffect)(() => {
|
|
29
29
|
setDisabled(amount <= 0);
|
|
30
30
|
}, [amount]);
|
|
31
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-full xl:max-w-[468px]", method: "POST", onSubmit: onSubmit, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { valid: !isDisabled, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), (0, jsx_runtime_1.jsx)("input", { type: "hidden", name: "amount", value: amount }), button?.text ? ((0, jsx_runtime_1.jsx)(
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col items-center', className), defaultPadding: "p-6xl", ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "pb-lg xl:pb-4xl self-start xl:self-center", headingType: "h3", title: title })) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-full xl:max-w-[468px]", method: "POST", onSubmit: onSubmit, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { valid: !isDisabled, label: label, max: MAX_AMOUNT, min: MIN_AMOUNT, ...field('amount', { parse: Number, format: String }) }), (0, jsx_runtime_1.jsx)("input", { type: "hidden", name: "amount", value: amount }), button?.text ? ((0, jsx_runtime_1.jsx)(SubmitButton_1.SubmitButton, { className: "w-full mt-lg", disabled: isDisabled, children: button.text })) : null] })] }));
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAwD;AACxD,iEAA8D;AAC9D,yDAAsD;AACtD,4DAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAwD;AACxD,iEAA8D;AAC9D,yDAAsD;AACtD,4DAAyD;AACzD,mEAAgE;AAChE,4EAAyE;AACzE,0DAAuD;AAEvD,6CAA0C;AAE1C,mEAAgE;AAEhE,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,UAAU,GAAG,MAAM,CAAC;AAC1B,MAAM,UAAU,GAAG,CAAC,CAAC;AAErB,MAAM,kBAAkB,GAAG;IACzB,MAAM,EAAE,IAAI;CACb,CAAC;AAIW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,MAAM,EACN,QAAQ,GAAG,SAAS,EACpB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,KAAK,CAAC,CAAC;IAE/D,MAAM,YAAY,GAAG,IAAA,6CAAqB,EAAC,QAAQ,CAAC,CAAC;IAErD,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,kBAAkB,EAAE;QACpE,QAAQ,EAAE,YAAY;KACvB,CAAC,CAAC;IAEH,oCAAoC;IACpC,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,WAAW,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC;IAC3B,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAEb,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,4BAA4B,EAAE,SAAS,CAAC,EACzD,cAAc,EAAC,OAAO,KAClB,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IACN,SAAS,EAAC,2CAA2C,EACrD,WAAW,EAAC,IAAI,EAChB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACR,kCAAM,SAAS,EAAC,yBAAyB,EAAC,MAAM,EAAC,MAAM,EAAC,QAAQ,EAAE,QAAQ,aACxE,uBAAC,6BAAa,IACZ,KAAK,EAAE,CAAC,UAAU,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,UAAU,EACf,GAAG,EAAE,UAAU,KACX,KAAK,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,GACtD,EACF,kCAAO,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,MAAM,GAAI,EACnD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,uBAAC,2BAAY,IAAC,SAAS,EAAC,cAAc,EAAC,QAAQ,EAAE,UAAU,YACxD,MAAM,CAAC,IAAI,GACC,CAChB,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,21 +4,20 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const
|
|
7
|
+
const DefaultFoldButton_1 = require("../../ui-kit/Foldable/DefaultFoldButton");
|
|
8
8
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
9
9
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
10
10
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
11
11
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
12
12
|
const LinkButton_1 = require("../../ui-kit/LinkButton/LinkButton");
|
|
13
|
-
const isIcon_1 = require("../../utils/isIcon");
|
|
14
13
|
const style_1 = require("../../utils/style");
|
|
15
14
|
const carouselTariffsCardEventBus_1 = require("./carouselTariffsCardEventBus");
|
|
16
15
|
const renderCardInfo_1 = require("./renderCardInfo");
|
|
17
16
|
exports.CarouselTariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, align = 'text-center', icon, button, visibleCellsCount = 1, cardCells = [], options, data, ...rest }) => {
|
|
18
|
-
const cellsNode = cardCells.map(renderCardInfo_1.renderCardInfo);
|
|
19
|
-
const [visibleCells, hiddenCells] = visibleCellsCount > 0
|
|
17
|
+
const cellsNode = (0, hooks_1.useMemo)(() => cardCells.map(renderCardInfo_1.renderCardInfo), [cardCells]);
|
|
18
|
+
const [visibleCells, hiddenCells] = (0, hooks_1.useMemo)(() => visibleCellsCount > 0
|
|
20
19
|
? [cellsNode.slice(0, visibleCellsCount), cellsNode.slice(visibleCellsCount)]
|
|
21
|
-
: [cellsNode, []];
|
|
20
|
+
: [cellsNode, []], [visibleCellsCount, cellsNode]);
|
|
22
21
|
const [isVisible, setIsVisible] = (0, hooks_1.useState)(false);
|
|
23
22
|
(0, hooks_1.useEffect)(() => carouselTariffsCardEventBus_1.carouselTariffsCardEventBus.subscribe('fold', (event) => {
|
|
24
23
|
if (event && options?.parent && event.parent === options?.parent) {
|
|
@@ -32,9 +31,6 @@ exports.CarouselTariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, align
|
|
|
32
31
|
parent: options?.parent,
|
|
33
32
|
});
|
|
34
33
|
}, [isVisible, options?.parent]);
|
|
35
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [(0,
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { className: "self-center", image: icon }), title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: (0, style_1.style)('pt-xs', align), headingType: "h5", title: title })) : null, button?.text ? (0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, hiddenCells.length ? ((0, jsx_runtime_1.jsxs)(Foldable_1.Foldable, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [visibleCells, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isVisible, children: hiddenCells })] }), cardCells.length >= visibleCellsCount ? ((0, jsx_runtime_1.jsx)(DefaultFoldButton_1.DefaultFoldButton, { className: "w-full mt-m", label: isVisible ? 'Скрыть' : 'Подробнее о тарифе', isUnfolded: isVisible, embedded: true, data: data, onClick: handleFold })) : null] })) : ((0, jsx_runtime_1.jsx)("div", { children: visibleCells }))] }));
|
|
36
35
|
});
|
|
37
|
-
const FoldButton = (0, uni_jsx_1.JSX)(({ data, isUnfolded, onClick }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { className: "w-full", ...(isUnfolded
|
|
38
|
-
? { name: 'ArrowUpIcon', text: 'Скрыть', data }
|
|
39
|
-
: { name: 'ArrowDownIcon', text: 'Подробнее о тарифе' }), onClick: onClick })));
|
|
40
36
|
//# sourceMappingURL=CarouselTariffsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAwF;AACxF,4DAAyD;AACzD,+EAA4E;AAC5E,6DAA0D;AAC1D,2EAAwE;AACxE,0DAAuD;AACvD,8CAA2C;AAC3C,mEAAgE;AAEhE,6CAA0C;AAE1C,+EAA4E;AAC5E,qDAAkD;AAIrC,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,KAAK,GAAG,aAAa,EACrB,IAAI,EACJ,MAAM,EACN,iBAAiB,GAAG,CAAC,EACrB,SAAS,GAAG,EAAE,EACd,OAAO,EACP,IAAI,EACJ,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,+BAAc,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAC5E,MAAM,CAAC,YAAY,EAAE,WAAW,CAAC,GAAG,IAAA,eAAO,EACzC,GAAG,EAAE,CACH,iBAAiB,GAAG,CAAC;QACnB,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,iBAAiB,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC7E,CAAC,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,EACrB,CAAC,iBAAiB,EAAE,SAAS,CAAC,CAC/B,CAAC;IAEF,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAElD,IAAA,iBAAS,EACP,GAAG,EAAE,CACH,yDAA2B,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE;QACtD,IAAI,KAAK,IAAI,OAAO,EAAE,MAAM,IAAI,KAAK,CAAC,MAAM,KAAK,OAAO,EAAE,MAAM,EAAE;YAChE,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;SAChC;IACH,CAAC,CAAC,EACJ,CAAC,OAAO,EAAE,MAAM,CAAC,CAClB,CAAC;IAEF,MAAM,UAAU,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAClC,yDAA2B,CAAC,IAAI,CAAC,MAAM,EAAE;YACvC,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,CAAC,SAAS;YACtB,MAAM,EAAE,OAAO,EAAE,MAAM;SACxB,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;IAEjC,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,eAAe,EAAE,SAAS,CAAC,EAAE,cAAc,EAAC,OAAO,KAAK,IAAI,aACzF,uBAAC,SAAG,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,IAAI,GAAI,EAC3C,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,OAAO,EAAE,KAAK,CAAC,EAAE,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAC7E,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,uBAAU,IAAC,SAAS,EAAC,mBAAmB,KAAK,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CACpB,wBAAC,mBAAQ,eACP,4CACG,YAAY,EACb,uBAAC,iCAAe,IAAC,UAAU,EAAE,SAAS,YAAG,WAAW,GAAmB,IACnE,EACL,SAAS,CAAC,MAAM,IAAI,iBAAiB,CAAC,CAAC,CAAC,CACvC,uBAAC,qCAAiB,IAChB,SAAS,EAAC,aAAa,EACvB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,EAClD,UAAU,EAAE,SAAS,EACrB,QAAQ,QACR,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,UAAU,GACnB,CACH,CAAC,CAAC,CAAC,IAAI,IACC,CACZ,CAAC,CAAC,CAAC,CACF,0CAAM,YAAY,GAAO,CAC1B,IACY,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,9 +3,10 @@ exports.StepsNavigationButtons = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
6
|
+
const SubmitButton_1 = require("../../ui-kit/Button/SubmitButton");
|
|
6
7
|
exports.StepsNavigationButtons = (0, uni_jsx_1.JSX)(({ step, isSending, onPrevStep }) => {
|
|
7
8
|
const isFirstStep = step === 0;
|
|
8
9
|
const isFinalStep = step === 5;
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-m", children: [(0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), (0, jsx_runtime_1.jsx)(
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-m", children: [(0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), (0, jsx_runtime_1.jsx)(SubmitButton_1.SubmitButton, { isLoading: isSending, children: isFinalStep ? 'Отправить заявку' : 'Далее' })] }));
|
|
10
11
|
});
|
|
11
12
|
//# sourceMappingURL=StepsNavigationButtons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsNavigationButtons.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/StepsNavigationButtons.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoD;
|
|
1
|
+
{"version":3,"file":"StepsNavigationButtons.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/StepsNavigationButtons.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoD;AACpD,mEAAgE;AAQnD,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,EAAE;IAClC,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,CAAC;IAC/B,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,CAAC;IAE/B,OAAO,CACL,iCAAK,SAAS,EAAC,4BAA4B,aACzC,uBAAC,eAAM,IAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,WAAW,EAAC,QAAQ,EAAE,WAAW,+CAE3E,EACT,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,YAC/B,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,GAC9B,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,9 +3,10 @@ exports.StepsNavigationButtons = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
6
|
+
const SubmitButton_1 = require("../../ui-kit/Button/SubmitButton");
|
|
6
7
|
exports.StepsNavigationButtons = (0, uni_jsx_1.JSX)(({ step, onPrevStep, isSending }) => {
|
|
7
8
|
const isFirstStep = step === 0;
|
|
8
9
|
const isFinalStep = step === 5;
|
|
9
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-between gap-m', children: [(0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), (0, jsx_runtime_1.jsx)(
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-between gap-m', children: [(0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: onPrevStep, type: "button", version: "secondary", disabled: isFirstStep, children: "\u041D\u0430\u0437\u0430\u0434" }), (0, jsx_runtime_1.jsx)(SubmitButton_1.SubmitButton, { isLoading: isSending, children: isFinalStep ? 'Отправить заявку' : 'Далее' })] }));
|
|
10
11
|
});
|
|
11
12
|
//# sourceMappingURL=StepsNavigationButtons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsNavigationButtons.js","sourceRoot":"","sources":["../../../src/components/CreditForm/StepsNavigationButtons.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoD;
|
|
1
|
+
{"version":3,"file":"StepsNavigationButtons.js","sourceRoot":"","sources":["../../../src/components/CreditForm/StepsNavigationButtons.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoD;AACpD,mEAAgE;AAQnD,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;IAClC,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,CAAC;IAC/B,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,CAAC;IAE/B,OAAO,CACL,iCAAK,SAAS,EAAE,4BAA4B,aAC1C,uBAAC,eAAM,IAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,WAAW,EAAC,QAAQ,EAAE,WAAW,+CAE3E,EACT,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,YAC/B,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,OAAO,GAC9B,IACX,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,12 +4,12 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const apiBaseUrl_1 = require("../../api/apiBaseUrl");
|
|
6
6
|
const useLink_1 = require("../../hooks/useLink");
|
|
7
|
+
const RoundedIcon_1 = require("../../ui-kit/Icon/RoundedIcon");
|
|
7
8
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
8
9
|
const formatDate_1 = require("../../utils/formatDate");
|
|
9
|
-
const renderRoundedIcon_1 = require("../RollupItem/renderRoundedIcon");
|
|
10
10
|
exports.DepositoryItem = (0, uni_jsx_1.JSX)(({ title, timestamp, publicId }) => {
|
|
11
11
|
const link = (0, useLink_1.useLink)();
|
|
12
12
|
const { href } = link({ href: `${apiBaseUrl_1.API_BASE_URI}/depository/${publicId}/file` });
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [(0,
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center py-lg border-gray border-opacity-50 border-b", children: [(0, jsx_runtime_1.jsx)(RoundedIcon_1.RoundedIcon, { className: "shrink-0", icon: "DocDownloadIcon", iconVersion: "black" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-x-6xl lg:flex-row lg:items-center", children: [timestamp ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", "font-weight": "font-light", children: (0, formatDate_1.formatDate)(timestamp) })) : null, (0, jsx_runtime_1.jsx)("a", { className: "text-h6 hover:text-primary-active", href: href, download: true, "aria-label": "\u0421\u043A\u0430\u0447\u0430\u0442\u044C", children: title })] })] }, publicId));
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=DepositoryItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositoryItem.js","sourceRoot":"","sources":["../../../src/components/Depository/DepositoryItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAoD;AACpD,iDAA8C;AAC9C,iDAA8C;AAC9C,uDAAoD;
|
|
1
|
+
{"version":3,"file":"DepositoryItem.js","sourceRoot":"","sources":["../../../src/components/Depository/DepositoryItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAoD;AACpD,iDAA8C;AAC9C,+DAA4D;AAC5D,iDAA8C;AAC9C,uDAAoD;AAGvC,QAAA,cAAc,GAAG,IAAA,aAAG,EAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAsB,EAAE,EAAE;IACvF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,GAAG,yBAAY,eAAe,QAAQ,OAAO,EAAE,CAAC,CAAC;IAE/E,OAAO,CACL,iCACE,SAAS,EAAC,sEAAsE,aAGhF,uBAAC,yBAAW,IAAC,SAAS,EAAC,UAAU,EAAC,IAAI,EAAC,iBAAiB,EAAC,WAAW,EAAC,OAAO,GAAG,EAC/E,iCAAK,SAAS,EAAC,qDAAqD,aACjE,SAAS,CAAC,CAAC,CAAC,CACX,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,iBAAa,YAAY,YACzC,IAAA,uBAAU,EAAC,SAAS,CAAC,GACjB,CACR,CAAC,CAAC,CAAC,IAAI,EACR,8BAAG,SAAS,EAAC,mCAAmC,EAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,sBAAY,4CAAS,YACvF,KAAK,GACJ,IACA,KAZD,QAAQ,CAaT,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
|
|
3
2
|
export interface RenderFiltrationFormProps {
|
|
4
3
|
filters: string[];
|
|
5
4
|
field: {
|
|
@@ -10,4 +9,3 @@ export interface RenderFiltrationFormProps {
|
|
|
10
9
|
labels: Record<string, string>;
|
|
11
10
|
}
|
|
12
11
|
export declare const FiltrationForm: import("@redneckz/uni-jsx").UNIComponent<RenderFiltrationFormProps, any, any>;
|
|
13
|
-
export declare const renderFoldButton: (reset: () => void, onlyOffice?: boolean) => ({ isUnfolded, onToggle }: FoldablePartProps) => any;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.
|
|
2
|
+
exports.FiltrationForm = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
|
|
6
|
+
const Button_1 = require("../../ui-kit/Button/Button");
|
|
7
|
+
const ButtonTitle_1 = require("../../ui-kit/Button/ButtonTitle");
|
|
6
8
|
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
9
|
+
const DefaultFoldButton_1 = require("../../ui-kit/Foldable/DefaultFoldButton");
|
|
7
10
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
8
11
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
9
12
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
10
|
-
const LinkButton_1 = require("../../ui-kit/LinkButton/LinkButton");
|
|
11
13
|
const COMMON_FILTERS_STYLES = 'flex flex-col sm:flex-row sm:flex-wrap gap-3xl pb-2xl';
|
|
12
14
|
exports.FiltrationForm = (0, uni_jsx_1.JSX)(({ filters, field: { field, reset }, onlyOffice, labels }) => {
|
|
13
15
|
const visibleFiltersNum = onlyOffice ? 5 : 6;
|
|
@@ -16,9 +18,6 @@ exports.FiltrationForm = (0, uni_jsx_1.JSX)(({ filters, field: { field, reset },
|
|
|
16
18
|
? [filtersCheckbox.slice(0, visibleFiltersNum), filtersCheckbox.slice(visibleFiltersNum)]
|
|
17
19
|
: [filtersCheckbox, []];
|
|
18
20
|
const [isUnfolded, { toggle }] = (0, useBool_1.useBool)(false);
|
|
19
|
-
return ((0, jsx_runtime_1.jsx)("div", { children: filters?.length ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)(Foldable_1.Foldable, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), (0,
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: filters?.length ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)(Foldable_1.Foldable, { children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: COMMON_FILTERS_STYLES, children: visibleFilters }), (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: COMMON_FILTERS_STYLES, isUnfolded: isUnfolded, children: hiddenFilters })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex space-x-lg", children: [onlyOffice ? ((0, jsx_runtime_1.jsx)(DefaultFoldButton_1.DefaultFoldButton, { label: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', isUnfolded: isUnfolded, embedded: true, onClick: toggle })) : null, (0, jsx_runtime_1.jsxs)(Button_1.Button, { embedded: true, onClick: reset, children: [(0, jsx_runtime_1.jsx)(ButtonTitle_1.ButtonTitle, { children: "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440" }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "CloseIcon", size: "small" })] })] })] }) })) : null }));
|
|
20
22
|
});
|
|
21
|
-
// TODO Столько разных кнопок с иконками, но эта самая творчески-ударённая реализация))
|
|
22
|
-
const renderFoldButton = (reset, onlyOffice = false) => ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex space-x-lg", children: [onlyOffice ? ((0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", appendRight: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }), text: isUnfolded ? 'Меньше фильтров' : 'Больше фильтров', onClick: onToggle })) : null, (0, jsx_runtime_1.jsx)(LinkButton_1.LinkButton, { version: "transparent", className: "text-secondary-text [&>*]:p-0", onClick: reset, children: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: ["\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440", (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "CloseIcon", width: "16", height: "16", className: "ml-2xs" })] }) })] }));
|
|
23
|
-
exports.renderFoldButton = renderFoldButton;
|
|
24
23
|
//# sourceMappingURL=FiltrationForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiltrationForm.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/FiltrationForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAE9D,6DAA0D;AAC1D,6DAA0D;
|
|
1
|
+
{"version":3,"file":"FiltrationForm.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/FiltrationForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAE9D,uDAAoD;AACpD,iEAA8D;AAC9D,6DAA0D;AAC1D,+EAA4E;AAC5E,6DAA0D;AAC1D,2EAAwE;AACxE,iDAA8C;AAE9C,MAAM,qBAAqB,GAAG,uDAAuD,CAAC;AASzE,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE;IAC3D,MAAM,iBAAiB,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE7C,MAAM,eAAe,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACnD,uBAAC,mBAAQ,IAAW,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAM,KAAK,CAAC,GAAG,CAAC,IAAtC,GAAG,CAAuC,CAC1D,CAAC,CAAC;IAEH,MAAM,CAAC,cAAc,EAAE,aAAa,CAAC,GACnC,iBAAiB,GAAG,CAAC;QACnB,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE,iBAAiB,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QACzF,CAAC,CAAC,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC;IAE5B,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,KAAK,CAAC,CAAC;IAEhD,OAAO,CACL,0CACG,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,0CACE,wBAAC,mBAAQ,eACP,4CACE,gCAAK,SAAS,EAAE,qBAAqB,YAAG,cAAc,GAAO,EAC7D,uBAAC,iCAAe,IAAC,SAAS,EAAE,qBAAqB,EAAE,UAAU,EAAE,UAAU,YACtE,aAAa,GACE,IACd,EACN,iCAAK,SAAS,EAAC,iBAAiB,aAC7B,UAAU,CAAC,CAAC,CAAC,CACZ,uBAAC,qCAAiB,IAChB,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,iBAAiB,EACzD,UAAU,EAAE,UAAU,EACtB,QAAQ,QACR,OAAO,EAAE,MAAM,GACf,CACH,CAAC,CAAC,CAAC,IAAI,EACR,wBAAC,eAAM,IAAC,QAAQ,QAAC,OAAO,EAAE,KAAK,aAC7B,uBAAC,yBAAW,wGAA8B,EAC1C,uBAAC,WAAI,IAAC,IAAI,EAAC,WAAW,EAAC,IAAI,EAAC,OAAO,GAAG,IAC/B,IACL,IACG,GACP,CACP,CAAC,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,11 +3,11 @@ exports.FoldableCardContent = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
|
|
6
|
+
const DefaultFoldButton_1 = require("../../ui-kit/Foldable/DefaultFoldButton");
|
|
6
7
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
7
8
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
8
|
-
const renderFoldButton_1 = require("./renderFoldButton");
|
|
9
9
|
exports.FoldableCardContent = (0, uni_jsx_1.JSX)(({ children }) => {
|
|
10
10
|
const [isUnfolded, { toggle }] = (0, useBool_1.useBool)(false);
|
|
11
|
-
return ((0, jsx_runtime_1.jsxs)(Foldable_1.Foldable, { className: "block sm:hidden", children: [(0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: children }), (0,
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "hidden sm:block", children: children }), (0, jsx_runtime_1.jsxs)(Foldable_1.Foldable, { className: "block sm:hidden", children: [(0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: children }), (0, jsx_runtime_1.jsx)(DefaultFoldButton_1.DefaultFoldButton, { className: "w-full my-m mr-m border-b border-solid border-main-divider", label: isUnfolded ? 'Скрыть' : 'Подробнее', isUnfolded: isUnfolded, embedded: true, onClick: toggle })] })] }));
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=FoldableCardContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FoldableCardContent.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/FoldableCardContent.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAC9D,6DAA0D;AAC1D,2EAAwE;
|
|
1
|
+
{"version":3,"file":"FoldableCardContent.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/FoldableCardContent.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iEAA8D;AAC9D,+EAA4E;AAC5E,6DAA0D;AAC1D,2EAAwE;AAE3D,QAAA,mBAAmB,GAAG,IAAA,aAAG,EAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtD,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,KAAK,CAAC,CAAC;IAEhD,OAAO,CACL,4CACE,gCAAK,SAAS,EAAC,iBAAiB,YAAE,QAAQ,GAAO,EACjD,wBAAC,mBAAQ,IAAC,SAAS,EAAC,iBAAiB,aACnC,uBAAC,iCAAe,IAAC,UAAU,EAAE,UAAU,YAAG,QAAQ,GAAmB,EACrE,uBAAC,qCAAiB,IAChB,SAAS,EAAC,4DAA4D,EACtE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,EAC1C,UAAU,EAAE,UAAU,EACtB,QAAQ,QACR,OAAO,EAAE,MAAM,GACf,IACO,IACP,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|