@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
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
import { type Task } from '../../api/RetailAPI/draftTasksKZO';
|
|
3
3
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
4
4
|
import {
|
|
5
|
+
EMPLOYMENT_TYPE,
|
|
5
6
|
getParticipantAddresses,
|
|
6
7
|
getParticipantContacts,
|
|
7
8
|
getParticipantGender,
|
|
8
9
|
getParticipantIncomes,
|
|
9
10
|
getSelectValue,
|
|
11
|
+
INCOME_CERTIFICATE,
|
|
10
12
|
} from './utils';
|
|
11
13
|
|
|
12
14
|
export const parseDraftTask = (task: Task): LeadFormState => {
|
|
@@ -87,7 +89,7 @@ export const parseDraftTask = (task: Task): LeadFormState => {
|
|
|
87
89
|
participantDateRegistration,
|
|
88
90
|
housing: getSelectValue(housing),
|
|
89
91
|
beginDate,
|
|
90
|
-
employment: getSelectValue(employment),
|
|
92
|
+
employment: getSelectValue(employment, EMPLOYMENT_TYPE),
|
|
91
93
|
organizationName,
|
|
92
94
|
inn,
|
|
93
95
|
employerActivities: getSelectValue(employerActivities),
|
|
@@ -105,7 +107,7 @@ export const parseDraftTask = (task: Task): LeadFormState => {
|
|
|
105
107
|
familyMembers: familyMembers?.toString(),
|
|
106
108
|
dependents: dependents?.toString(),
|
|
107
109
|
conscription: getSelectValue(conscription),
|
|
108
|
-
confirmationIncome: getSelectValue(incomeCertificateCd),
|
|
110
|
+
confirmationIncome: getSelectValue(incomeCertificateCd, INCOME_CERTIFICATE),
|
|
109
111
|
snils,
|
|
110
112
|
armyIdFlg,
|
|
111
113
|
bankruptcyFlg,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable camelcase */
|
|
2
2
|
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
3
|
-
import { type DictionaryItem } from '../../services/retail/model/LeadFormData';
|
|
4
3
|
import { countIncomeAverage } from '../../services/retail/adaptors/getFamilyStatusAndIncomeData';
|
|
4
|
+
import { type DictionaryItem } from '../../services/retail/model/LeadFormData';
|
|
5
5
|
import { type Option } from '../Select/Option';
|
|
6
6
|
|
|
7
7
|
export const enum EContactType {
|
|
@@ -30,6 +30,18 @@ export const enum EIncomesType {
|
|
|
30
30
|
RETIREMENT_INCOME = 'RETIREMENT_INCOME',
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
export const EMPLOYMENT_TYPE = {
|
|
34
|
+
WORK: 'Работаю',
|
|
35
|
+
RETIREE: 'Пенсионер',
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const INCOME_CERTIFICATE = {
|
|
39
|
+
BANK_STATEMENT: 'Получаю зарплату на счет/карту в РСХБ',
|
|
40
|
+
BANK_STATEMENT_PENS: 'Получаю пенсию на счет/карту в РСХБ',
|
|
41
|
+
PFR_CERTIFICATE: 'Получаю зарплату на счет/карту в другом банке',
|
|
42
|
+
OTHER: 'Другое',
|
|
43
|
+
};
|
|
44
|
+
|
|
33
45
|
export const creditCodesToProgrammIdMap = {
|
|
34
46
|
credit_cash: '10',
|
|
35
47
|
credit_cash_single_doc: '28',
|
|
@@ -137,11 +149,14 @@ export const getParticipantGender = (gender: Participant['genderCd']) => {
|
|
|
137
149
|
: null;
|
|
138
150
|
};
|
|
139
151
|
|
|
140
|
-
export const getSelectValue = (
|
|
152
|
+
export const getSelectValue = (
|
|
153
|
+
option?: DictionaryItem,
|
|
154
|
+
map?: Record<string, string>,
|
|
155
|
+
): Option | undefined => {
|
|
141
156
|
return option?.key
|
|
142
157
|
? {
|
|
143
158
|
key: option.key,
|
|
144
|
-
text: option.value,
|
|
159
|
+
text: map ? map[option.key] : option.value,
|
|
145
160
|
}
|
|
146
161
|
: undefined;
|
|
147
162
|
};
|
|
@@ -1,59 +1,24 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { type ColorPalette } from '../../model/ContentPageBase';
|
|
3
2
|
import { style } from '../../utils/style';
|
|
4
|
-
import { type
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { TextWithIcon } from '../TextWithIcon/TextWithIcon';
|
|
8
|
-
import { type FoldablePartProps } from './FoldablePartProps';
|
|
3
|
+
import { Button, type ButtonProps } from '../Button/Button';
|
|
4
|
+
import { ButtonTitle } from '../Button/ButtonTitle';
|
|
5
|
+
import { ToggleIcon } from '../Icon/ToggleIcon';
|
|
9
6
|
|
|
10
|
-
interface DefaultFoldButtonProps {
|
|
11
|
-
|
|
12
|
-
label
|
|
13
|
-
icon: IconName;
|
|
14
|
-
dataTheme?: ColorPalette;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
onClick?: () => void;
|
|
7
|
+
interface DefaultFoldButtonProps extends ButtonProps {
|
|
8
|
+
isUnfolded?: boolean;
|
|
9
|
+
label?: string;
|
|
17
10
|
}
|
|
18
11
|
|
|
19
12
|
export const DefaultFoldButton = JSX<DefaultFoldButtonProps>(
|
|
20
|
-
({ className
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
disabled
|
|
31
|
-
? 'bg-main-divider text-main-disabled hover:bg-main-divider'
|
|
32
|
-
: 'bg-primary-main text-white hover:bg-primary-hove',
|
|
33
|
-
className,
|
|
34
|
-
)}
|
|
35
|
-
textNode={<Text size="text-h4">{label}</Text>}
|
|
36
|
-
iconNode={
|
|
37
|
-
icon ? (
|
|
38
|
-
<Img
|
|
39
|
-
image={{
|
|
40
|
-
icon,
|
|
41
|
-
iconVersion: 'white',
|
|
42
|
-
}}
|
|
43
|
-
className="my-auto"
|
|
44
|
-
width="20"
|
|
45
|
-
height="20"
|
|
46
|
-
/>
|
|
47
|
-
) : null
|
|
48
|
-
}
|
|
49
|
-
/>
|
|
13
|
+
({ className, isUnfolded, label = isUnfolded ? 'Скрыть' : 'Развернуть', embedded, ...rest }) => (
|
|
14
|
+
<Button
|
|
15
|
+
className={style({ 'text-h4': !embedded }, className)}
|
|
16
|
+
rounded={false}
|
|
17
|
+
embedded={embedded}
|
|
18
|
+
{...rest}
|
|
19
|
+
>
|
|
20
|
+
<ButtonTitle>{label}</ButtonTitle>
|
|
21
|
+
<ToggleIcon isUnfolded={isUnfolded} iconVersion={embedded ? 'color' : ''} />
|
|
22
|
+
</Button>
|
|
50
23
|
),
|
|
51
24
|
);
|
|
52
|
-
|
|
53
|
-
export const renderDefaultFoldButton = ({ isUnfolded, onToggle }: FoldablePartProps) => (
|
|
54
|
-
<DefaultFoldButton
|
|
55
|
-
icon={isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon'}
|
|
56
|
-
label={isUnfolded ? 'Скрыть' : 'Развернуть'}
|
|
57
|
-
onClick={onToggle}
|
|
58
|
-
/>
|
|
59
|
-
);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { style } from '../../utils/style';
|
|
3
|
+
import { type ARIAProps } from '../ARIAProps';
|
|
3
4
|
|
|
4
|
-
export interface FoldableProps {
|
|
5
|
+
export interface FoldableProps extends ARIAProps {
|
|
5
6
|
className?: string;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
// TODO Не особо полезно, в итоге
|
|
9
|
-
export const Foldable = JSX<FoldableProps>(({ className, children }) => (
|
|
10
|
-
<div className={style(className)} role=
|
|
10
|
+
export const Foldable = JSX<FoldableProps>(({ className, role = 'group', children }) => (
|
|
11
|
+
<div className={style(className)} role={role}>
|
|
11
12
|
{children}
|
|
12
13
|
</div>
|
|
13
14
|
));
|
package/src/ui-kit/Icon/Icon.tsx
CHANGED
|
@@ -8,7 +8,7 @@ import { style } from '../../utils/style';
|
|
|
8
8
|
import { joinPath } from '../../utils/url';
|
|
9
9
|
import { type IconProps } from './IconProps';
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const iconVersionStyle: Record<IconVersion, string> = {
|
|
12
12
|
'': '',
|
|
13
13
|
normal: '',
|
|
14
14
|
color: 'text-primary-main',
|
|
@@ -17,6 +17,13 @@ const svgUseStyleMap: Record<IconVersion, string> = {
|
|
|
17
17
|
gray: 'text-gray',
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
+
const sizeStyle: Record<NonNullable<IconProps['size']>, string> = {
|
|
21
|
+
small: '16',
|
|
22
|
+
medium: '24',
|
|
23
|
+
large: '48',
|
|
24
|
+
xl: '78',
|
|
25
|
+
};
|
|
26
|
+
|
|
20
27
|
export const Icon = JSX<IconProps>(
|
|
21
28
|
({
|
|
22
29
|
className = '',
|
|
@@ -25,24 +32,26 @@ export const Icon = JSX<IconProps>(
|
|
|
25
32
|
alt = `Иконка ${name}`,
|
|
26
33
|
title = alt,
|
|
27
34
|
iconVersion = 'color',
|
|
28
|
-
|
|
29
|
-
|
|
35
|
+
size,
|
|
36
|
+
width = size && sizeStyle[size],
|
|
37
|
+
height = width,
|
|
30
38
|
}) => {
|
|
31
39
|
const router = useRouter();
|
|
32
40
|
const iconName = iconVersion === 'normal' ? `${name}.svg` : `sprites.svg#${name}`;
|
|
33
41
|
const href = adjustHref(router)(joinPath(projectSettings.CDN, '/icons/', iconName));
|
|
42
|
+
|
|
34
43
|
if (iconVersion === 'normal') {
|
|
35
44
|
// fix svg gradient color
|
|
36
45
|
return (
|
|
37
46
|
<img
|
|
38
47
|
className={className}
|
|
48
|
+
style={getInlineStyle(className, height)}
|
|
39
49
|
src={href}
|
|
40
50
|
alt={alt}
|
|
41
51
|
title={title}
|
|
42
52
|
aria-hidden="true"
|
|
43
53
|
width={width}
|
|
44
54
|
height={height}
|
|
45
|
-
style={getInlineStyle(className, height)}
|
|
46
55
|
/>
|
|
47
56
|
);
|
|
48
57
|
}
|
|
@@ -51,9 +60,9 @@ export const Icon = JSX<IconProps>(
|
|
|
51
60
|
<Background className={className}>
|
|
52
61
|
<svg
|
|
53
62
|
className={style(
|
|
54
|
-
|
|
55
|
-
svgUseStyleMap[iconVersion],
|
|
63
|
+
iconVersionStyle[iconVersion],
|
|
56
64
|
{
|
|
65
|
+
'w-full h-full': !width,
|
|
57
66
|
invert: iconVersion === 'white',
|
|
58
67
|
},
|
|
59
68
|
imageClassName,
|
|
@@ -71,16 +80,13 @@ export const Icon = JSX<IconProps>(
|
|
|
71
80
|
},
|
|
72
81
|
);
|
|
73
82
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
return { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
const getSvgSize = (width?: string) => (width ? '' : 'w-full h-full');
|
|
83
|
+
// TODO Что то совсем не очень
|
|
84
|
+
const getInlineStyle = (className?: string, height?: string) =>
|
|
85
|
+
className?.includes('h-')
|
|
86
|
+
? {}
|
|
87
|
+
: { height: isOnlyDigits(height) ? `${height}px` : height, width: 'auto' };
|
|
83
88
|
|
|
89
|
+
// TODO И это тоже
|
|
84
90
|
const Background = JSX<{ className?: string }>(({ className, children }) =>
|
|
85
91
|
className ? (
|
|
86
92
|
<div role="img" className={className}>
|
|
@@ -14,11 +14,24 @@ export type { IconName };
|
|
|
14
14
|
*/
|
|
15
15
|
export type IconBgVersion = '' | 'primary' | 'secondary' | 'opacity';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* @title Размер иконки
|
|
19
|
+
* @enumNames [
|
|
20
|
+
* "Мелкая",
|
|
21
|
+
* "Средняя",
|
|
22
|
+
* "Большая",
|
|
23
|
+
* "Гигантская"
|
|
24
|
+
* ]
|
|
25
|
+
*/
|
|
26
|
+
export type IconSize = 'small' | 'medium' | 'large' | 'xl';
|
|
27
|
+
|
|
17
28
|
export interface IconCompatibilityFields {
|
|
18
29
|
/** @title Альтернативный текст (alt) */
|
|
19
30
|
alt?: string;
|
|
20
31
|
/** @title Текст подсказки (title) */
|
|
21
32
|
title?: string;
|
|
33
|
+
/** @title Размер */
|
|
34
|
+
size?: IconSize;
|
|
22
35
|
/** @title Ширина */
|
|
23
36
|
width?: string;
|
|
24
37
|
/** @title Высота */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { Icon } from './Icon';
|
|
3
|
+
import { type IconProps } from './IconProps';
|
|
4
|
+
|
|
5
|
+
interface ToggleIconProps extends IconProps {
|
|
6
|
+
isUnfolded?: boolean;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const ToggleIcon = JSX<ToggleIconProps>(({ isUnfolded, ...rest }) => (
|
|
10
|
+
<Icon name={isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon'} size="small" iconVersion="" {...rest} />
|
|
11
|
+
));
|
|
@@ -1,26 +1,60 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
3
|
import { type DaDataSuggestion } from '../../api/dadataHints/dadataHintsType';
|
|
4
|
+
import { style } from '../../utils/style';
|
|
5
|
+
import { type PreventableEventWithTarget } from '../PreventableEvent';
|
|
3
6
|
|
|
4
7
|
export interface InputPopupProps {
|
|
5
|
-
options
|
|
8
|
+
options: Array<DaDataSuggestion>;
|
|
9
|
+
container: HTMLDivElement;
|
|
6
10
|
onChange: (e: DaDataSuggestion) => void;
|
|
7
11
|
value?: string;
|
|
8
12
|
}
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
)
|
|
14
|
+
const ARROW_DOWN_KEYBOARD_KEY_CODE = 'ArrowDown';
|
|
15
|
+
const ARROW_UP_KEYBOARD_KEY_CODE = 'ArrowUp';
|
|
16
|
+
const ENTER_KEYBOARD_KEY_CODE = 'Enter';
|
|
17
|
+
const INITIAL_LIST_ITEM_ACTIVE = -1;
|
|
18
|
+
|
|
19
|
+
export const InputPopup = JSX<InputPopupProps>(({ options, container, onChange }) => {
|
|
20
|
+
const [listItemActive, setListItemActive] = useState<number>(INITIAL_LIST_ITEM_ACTIVE);
|
|
21
|
+
|
|
22
|
+
const onKeyDownHandler = (ev: PreventableEventWithTarget & { key: string }): void => {
|
|
23
|
+
const hintsListMaxIndex = options.length - 1;
|
|
24
|
+
|
|
25
|
+
if (ev.key === ARROW_DOWN_KEYBOARD_KEY_CODE) {
|
|
26
|
+
setListItemActive(listItemActive < hintsListMaxIndex ? listItemActive + 1 : 0);
|
|
27
|
+
} else if (ev.key === ARROW_UP_KEYBOARD_KEY_CODE) {
|
|
28
|
+
setListItemActive(listItemActive > 0 ? listItemActive - 1 : hintsListMaxIndex);
|
|
29
|
+
} else if (ev.key === ENTER_KEYBOARD_KEY_CODE && options[listItemActive]) {
|
|
30
|
+
ev.preventDefault();
|
|
31
|
+
onChange(options[listItemActive]);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
container.addEventListener('keydown', onKeyDownHandler);
|
|
37
|
+
|
|
38
|
+
return () => container.removeEventListener('keydown', onKeyDownHandler);
|
|
39
|
+
}, [listItemActive]);
|
|
40
|
+
|
|
41
|
+
return (
|
|
42
|
+
<div
|
|
43
|
+
className="bg-white text-l overflow-y-auto overflow-x-hidden rounded-md shadow-2xl"
|
|
44
|
+
role="list"
|
|
45
|
+
>
|
|
46
|
+
{options?.map((item, key) => (
|
|
47
|
+
<div
|
|
48
|
+
key={key.toString()}
|
|
49
|
+
className={style('flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative', {
|
|
50
|
+
'bg-main-divider': listItemActive === key,
|
|
51
|
+
})}
|
|
52
|
+
role="listitem"
|
|
53
|
+
onMouseDown={() => onChange(item)}
|
|
54
|
+
>
|
|
55
|
+
<span className="min-h-6">{item.processedValue}</span>
|
|
56
|
+
</div>
|
|
57
|
+
))}
|
|
58
|
+
</div>
|
|
59
|
+
);
|
|
60
|
+
});
|
|
@@ -15,6 +15,7 @@ interface InputPopupOptions {
|
|
|
15
15
|
onDaDataChange?: (e: DaDataSuggestion) => void;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
// eslint-disable-next-line max-lines-per-function
|
|
18
19
|
export function useInputPopup({
|
|
19
20
|
isOpen,
|
|
20
21
|
value,
|
|
@@ -39,8 +40,8 @@ export function useInputPopup({
|
|
|
39
40
|
(option: DaDataSuggestion) => {
|
|
40
41
|
close();
|
|
41
42
|
currentInputValue.current = option.processedValue;
|
|
42
|
-
onChange
|
|
43
|
-
onDaDataChange
|
|
43
|
+
onChange?.(option.processedValue);
|
|
44
|
+
onDaDataChange?.(option);
|
|
44
45
|
},
|
|
45
46
|
[close, onChange],
|
|
46
47
|
);
|
|
@@ -87,7 +88,14 @@ export function useInputPopup({
|
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
popup.open({
|
|
90
|
-
popup:
|
|
91
|
+
popup: (
|
|
92
|
+
<InputPopup
|
|
93
|
+
options={hintsList}
|
|
94
|
+
container={inputElement}
|
|
95
|
+
value={value}
|
|
96
|
+
onChange={handleChange}
|
|
97
|
+
/>
|
|
98
|
+
),
|
|
91
99
|
top: top + globalThis.scrollY + height,
|
|
92
100
|
left,
|
|
93
101
|
width,
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
|
|
2
3
|
import { LinkList } from '../../components/Footer/LinkList';
|
|
3
|
-
import { RollupItem } from '../../components/RollupItem/RollupItem';
|
|
4
4
|
import { type TopMenuItemProps } from '../../data/NavigationData';
|
|
5
|
+
import { style } from '../../utils/style';
|
|
6
|
+
import { Button } from '../Button/Button';
|
|
7
|
+
import { ButtonTitle } from '../Button/ButtonTitle';
|
|
8
|
+
import { Foldable } from '../Foldable/Foldable';
|
|
9
|
+
import { FoldableSection } from '../Foldable/FoldableSection';
|
|
10
|
+
import { RoundedIcon } from '../Icon/RoundedIcon';
|
|
11
|
+
import { ToggleIcon } from '../Icon/ToggleIcon';
|
|
12
|
+
import { Text } from '../Text/Text';
|
|
5
13
|
import { type SitemapProps } from './SitemapProps';
|
|
6
14
|
|
|
7
15
|
export const Sitemap = JSX<SitemapProps>(({ navigationItems }) => (
|
|
@@ -14,13 +22,37 @@ const renderTopItems = (topItems: TopMenuItemProps[] | undefined) =>
|
|
|
14
22
|
topItems
|
|
15
23
|
?.filter((_) => _.icon?.icon)
|
|
16
24
|
.map((item, i) => (
|
|
17
|
-
<
|
|
25
|
+
<MobileTopItem
|
|
18
26
|
key={String(i)}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
27
|
+
className="w-full border-0 border-b border-solid border-main-divider last:border-b-0"
|
|
28
|
+
item={item}
|
|
29
|
+
/>
|
|
30
|
+
));
|
|
31
|
+
|
|
32
|
+
const MobileTopItem = JSX<{ className?: string; item: TopMenuItemProps }>(({ className, item }) => {
|
|
33
|
+
const [isUnfolded, { toggle }] = useBool(false);
|
|
34
|
+
|
|
35
|
+
return (
|
|
36
|
+
<Foldable className={className} role="menuitem">
|
|
37
|
+
<Button
|
|
38
|
+
className={style('w-full', item.icon?.icon ? 'py-xs' : 'py-lg')}
|
|
39
|
+
embedded
|
|
40
|
+
onClick={toggle}
|
|
41
|
+
>
|
|
42
|
+
<ButtonTitle>
|
|
43
|
+
<RoundedIcon className="shrink-0" {...item.icon} />
|
|
44
|
+
<Text size="text-h6" font="font-normal">
|
|
45
|
+
{item.text}
|
|
46
|
+
</Text>
|
|
47
|
+
</ButtonTitle>
|
|
48
|
+
<ToggleIcon iconVersion="color" size="medium" isUnfolded={isUnfolded} />
|
|
49
|
+
</Button>
|
|
50
|
+
<FoldableSection
|
|
51
|
+
className="flex flex-wrap gap-lg group-last:last:pb-0"
|
|
52
|
+
isUnfolded={isUnfolded}
|
|
23
53
|
>
|
|
24
54
|
{item.items ? <LinkList items={item.items} /> : null}
|
|
25
|
-
</
|
|
26
|
-
|
|
55
|
+
</FoldableSection>
|
|
56
|
+
</Foldable>
|
|
57
|
+
);
|
|
58
|
+
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type IconName } from '../../icons/IconName';
|
|
2
|
-
import { type Picture } from '../../model/Picture';
|
|
3
|
-
import { type IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
|
-
interface RollupButtonProps {
|
|
5
|
-
label?: string;
|
|
6
|
-
labelIcon?: Picture;
|
|
7
|
-
labelIconBgVersion?: IconBgVersion;
|
|
8
|
-
icon?: IconName;
|
|
9
|
-
onToggle?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const AccordionFoldButton: import("@redneckz/uni-jsx").UNIComponent<RollupButtonProps, any, any>;
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getIconName: (isUnfolded?: boolean, isMobile?: boolean) => "PlusIcon" | "MinusIcon" | "ArrowUpSolidIcon" | "ArrowDownSolidIcon";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const rollupIconVersion = "black";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IconName } from '../../icons/IconName';
|
|
2
|
-
import { type AspectsDef } from '../../model/AspectsProps';
|
|
3
|
-
export interface IconButtonProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
name: IconName;
|
|
6
|
-
text?: string;
|
|
7
|
-
data?: AspectsDef[];
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const IconButton: import("@redneckz/uni-jsx").UNIComponent<IconButtonProps, any, any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type VNode } from '../../model/VNode';
|
|
2
|
-
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
3
|
-
interface TextWithIconProps extends UniBlockProps {
|
|
4
|
-
tag?: keyof HTMLElementTagNameMap;
|
|
5
|
-
textNode?: VNode;
|
|
6
|
-
iconNode?: VNode;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
justifyContent?: 'between' | 'center';
|
|
10
|
-
role?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const TextWithIcon: import("@redneckz/uni-jsx").UNIComponent<TextWithIconProps, any, any>;
|
|
13
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderSubmitButton = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Button_1 = require("../../ui-kit/Button/Button");
|
|
5
|
-
const style_1 = require("../../utils/style");
|
|
6
|
-
const renderSubmitButton = (button, className) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: (0, style_1.style)('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
|
|
7
|
-
exports.renderSubmitButton = renderSubmitButton;
|
|
8
|
-
//# sourceMappingURL=renderSubmitButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderSubmitButton.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderSubmitButton.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AACpD,6CAA0C;AAGnC,MAAM,kBAAkB,GAAG,CAAC,MAA0B,EAAE,SAAkB,EAAE,EAAE,CAAC,CACpF,uBAAC,eAAM,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,mBAAmB,EAAE,SAAS,CAAC,EAAE,IAAI,EAAC,QAAQ,YACpE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAkB,GACzC,CACV,CAAC;AAJW,QAAA,kBAAkB,sBAI7B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderFoldButton = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const IconButton_1 = require("../../ui-kit/Button/IconButton");
|
|
5
|
-
const renderFoldButton = ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { className: "w-full border-b border-solid border-main-divider", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', text: isUnfolded ? 'Скрыть' : 'Подробнее', onClick: onToggle }));
|
|
6
|
-
exports.renderFoldButton = renderFoldButton;
|
|
7
|
-
//# sourceMappingURL=renderFoldButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderFoldButton.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/renderFoldButton.tsx"],"names":[],"mappings":";;;AACA,+DAA4D;AAGrD,MAAM,gBAAgB,GAAG,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAqB,EAAS,EAAE,CAAC,CACtF,uBAAC,uBAAU,IACT,SAAS,EAAC,kDAAkD,EAC5D,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,EACzC,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AAPW,QAAA,gBAAgB,oBAO3B"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type IconName } from '../../icons/IconName';
|
|
2
|
-
import { type Picture } from '../../model/Picture';
|
|
3
|
-
import { type IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
|
-
interface RollupButtonProps {
|
|
5
|
-
label?: string;
|
|
6
|
-
labelIcon?: Picture;
|
|
7
|
-
labelIconBgVersion?: IconBgVersion;
|
|
8
|
-
icon?: IconName;
|
|
9
|
-
onToggle?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const AccordionFoldButton: import("@redneckz/uni-jsx").UNIComponent<RollupButtonProps, any, any>;
|
|
12
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.AccordionFoldButton = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
7
|
-
const TextWithIcon_1 = require("../../ui-kit/TextWithIcon/TextWithIcon");
|
|
8
|
-
const style_1 = require("../../utils/style");
|
|
9
|
-
const renderRoundedIcon_1 = require("./renderRoundedIcon");
|
|
10
|
-
exports.AccordionFoldButton = (0, uni_jsx_1.JSX)(({ label, labelIconBgVersion, icon, onToggle, labelIcon }) => ((0, jsx_runtime_1.jsx)(TextWithIcon_1.TextWithIcon, { tag: "button", className: (0, style_1.style)('border-none bg-transparent items-center group/button', labelIcon?.icon ? 'py-xs' : 'py-lg'), onClick: onToggle, textNode: (0, jsx_runtime_1.jsxs)("div", { className: "flex items-center text-start group-hover/button:text-primary-main gap-s", children: [(0, renderRoundedIcon_1.renderRoundedIcon)(labelIcon, labelIconBgVersion), label ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", font: "font-normal", children: label })) : null] }), iconNode: icon ? (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, iconVersion: "color", width: "24", height: "24" }) : null })));
|
|
11
|
-
//# sourceMappingURL=AccordionFoldButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionFoldButton.js","sourceRoot":"","sources":["../../../src/components/RollupItem/AccordionFoldButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAE9C,iDAA8C;AAC9C,yEAAsE;AACtE,6CAA0C;AAC1C,2DAAwD;AAU3C,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5D,uBAAC,2BAAY,IACX,GAAG,EAAC,QAAQ,EACZ,SAAS,EAAE,IAAA,aAAK,EACd,sDAAsD,EACtD,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CACpC,EACD,OAAO,EAAE,QAAQ,EACjB,QAAQ,EACN,iCAAK,SAAS,EAAC,yEAAyE,aACrF,IAAA,qCAAiB,EAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,YACpC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EAER,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAC,OAAO,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,GACvF,CACH,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getIconName: (isUnfolded?: boolean, isMobile?: boolean) => "PlusIcon" | "MinusIcon" | "ArrowUpSolidIcon" | "ArrowDownSolidIcon";
|