@redneckz/wildless-cms-uni-blocks 0.14.846 → 0.14.851
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +22 -74
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/Footnote.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/bundle/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/bundle/components/Carousel/renderCardHighlight.d.ts +1 -1
- package/bundle/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/bundle/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +2 -2
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/bundle/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/bundle/data/CommonData.d.ts +2 -2
- package/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
- package/bundle/hooks/useAspects/useAspects.d.ts +1 -1
- package/bundle/model/ContentPageBase.d.ts +2 -3
- package/bundle/model/LinkProps.d.ts +1 -1
- package/bundle/model/OnClickProps.d.ts +3 -0
- package/bundle/model/OnCloseProps.d.ts +3 -0
- package/bundle/retail/api/getCardTypes.d.ts +2 -2
- package/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/bundle/retail/model/LeadFormData.d.ts +2 -2
- package/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
- package/bundle/services/search/search.d.ts +2 -2
- package/bundle/services/search/textRank.d.ts +1 -1
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +0 -2
- package/bundle/ui-kit/Calculator/CalculatorProps.d.ts +1 -2
- package/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +2 -2
- package/bundle/ui-kit/DialogManager/Dialog.d.ts +2 -2
- package/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +2 -2
- package/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +2 -2
- package/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +3 -6
- package/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/bundle/ui-kit/Select/Option.d.ts +1 -1
- package/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +1 -1
- package/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +2 -2
- package/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/bundle/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/dist/components/ApplicationForm/Footnote.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/dist/components/Carousel/renderCardHighlight.d.ts +1 -1
- package/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/dist/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/dist/components/Header/HeaderChatBotButton.js +15 -4
- package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +2 -2
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/dist/data/CommonData.d.ts +2 -2
- package/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/dist/hooks/useAspects/handleAspects.d.ts +1 -1
- package/dist/hooks/useAspects/handleAspects.js +5 -2
- package/dist/hooks/useAspects/handleAspects.js.map +1 -1
- package/dist/hooks/useAspects/useAspects.d.ts +1 -1
- package/dist/model/ContentPageBase.d.ts +2 -3
- package/dist/model/LinkProps.d.ts +1 -1
- package/dist/model/OnClickProps.d.ts +3 -0
- package/dist/model/OnClickProps.js +2 -0
- package/dist/model/OnClickProps.js.map +1 -0
- package/dist/model/OnCloseProps.d.ts +3 -0
- package/dist/model/OnCloseProps.js +2 -0
- package/dist/model/OnCloseProps.js.map +1 -0
- package/dist/retail/api/getCardTypes.d.ts +2 -2
- package/dist/retail/api/getCardTypes.js.map +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/dist/retail/model/LeadFormData.d.ts +2 -2
- package/dist/retail/utils/getOrganizationParams.d.ts +1 -1
- package/dist/retail/utils/getOrganizationParams.js.map +1 -1
- package/dist/retail/utils/renderStep.js +3 -1
- package/dist/retail/utils/renderStep.js.map +1 -1
- package/dist/services/search/search.d.ts +2 -2
- package/dist/services/search/search.js.map +1 -1
- package/dist/services/search/textRank.d.ts +1 -1
- package/dist/services/search/textRank.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +0 -2
- package/dist/ui-kit/Calculator/CalculatorProps.d.ts +1 -2
- package/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/dist/ui-kit/Calculator/renderRate.js.map +1 -1
- package/dist/ui-kit/DatePicker/DatePickerInput.d.ts +2 -2
- package/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/dist/ui-kit/DialogManager/Dialog.d.ts +2 -2
- package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +2 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +2 -2
- package/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +3 -6
- package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/Select/Option.d.ts +1 -1
- package/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +1 -1
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +2 -2
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/Footnote.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/lib/components/Carousel/renderCardHighlight.d.ts +1 -1
- package/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/lib/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/lib/components/Header/HeaderChatBotButton.js +15 -4
- package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +2 -2
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/lib/data/CommonData.d.ts +2 -2
- package/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/lib/hooks/useAspects/handleAspects.d.ts +1 -1
- package/lib/hooks/useAspects/handleAspects.js +5 -2
- package/lib/hooks/useAspects/handleAspects.js.map +1 -1
- package/lib/hooks/useAspects/useAspects.d.ts +1 -1
- package/lib/model/ContentPageBase.d.ts +2 -3
- package/lib/model/LinkProps.d.ts +1 -1
- package/lib/model/OnClickProps.d.ts +3 -0
- package/lib/model/OnClickProps.js +2 -0
- package/lib/model/OnClickProps.js.map +1 -0
- package/lib/model/OnCloseProps.d.ts +3 -0
- package/lib/model/OnCloseProps.js +2 -0
- package/lib/model/OnCloseProps.js.map +1 -0
- package/lib/retail/api/getCardTypes.d.ts +2 -2
- package/lib/retail/api/getCardTypes.js.map +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/lib/retail/model/LeadFormData.d.ts +2 -2
- package/lib/retail/utils/getOrganizationParams.d.ts +1 -1
- package/lib/retail/utils/getOrganizationParams.js.map +1 -1
- package/lib/retail/utils/renderStep.js +3 -1
- package/lib/retail/utils/renderStep.js.map +1 -1
- package/lib/services/search/search.d.ts +2 -2
- package/lib/services/search/search.js.map +1 -1
- package/lib/services/search/textRank.d.ts +1 -1
- package/lib/services/search/textRank.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +0 -2
- package/lib/ui-kit/Calculator/CalculatorProps.d.ts +1 -2
- package/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/lib/ui-kit/Calculator/renderRate.js.map +1 -1
- package/lib/ui-kit/DatePicker/DatePickerInput.d.ts +2 -2
- package/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/lib/ui-kit/DialogManager/Dialog.d.ts +2 -2
- package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +2 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +2 -2
- package/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +3 -6
- package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/Select/Option.d.ts +1 -1
- package/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +1 -1
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +2 -2
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +22 -74
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/Footnote.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/mobile/bundle/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/mobile/bundle/components/Carousel/renderCardHighlight.d.ts +1 -1
- package/mobile/bundle/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/mobile/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/mobile/bundle/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/mobile/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/bundle/data/CommonData.d.ts +2 -2
- package/mobile/bundle/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/bundle/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/bundle/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/bundle/model/ContentPageBase.d.ts +2 -3
- package/mobile/bundle/model/LinkProps.d.ts +1 -1
- package/mobile/bundle/model/OnClickProps.d.ts +3 -0
- package/mobile/bundle/model/OnCloseProps.d.ts +3 -0
- package/mobile/bundle/retail/api/getCardTypes.d.ts +2 -2
- package/mobile/bundle/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/mobile/bundle/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/mobile/bundle/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/mobile/bundle/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/mobile/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/mobile/bundle/retail/model/LeadFormData.d.ts +2 -2
- package/mobile/bundle/retail/utils/getOrganizationParams.d.ts +1 -1
- package/mobile/bundle/services/search/search.d.ts +2 -2
- package/mobile/bundle/services/search/textRank.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/mobile/bundle/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +0 -2
- package/mobile/bundle/ui-kit/Calculator/CalculatorProps.d.ts +1 -2
- package/mobile/bundle/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/mobile/bundle/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/mobile/bundle/ui-kit/DatePicker/DatePickerInput.d.ts +2 -2
- package/mobile/bundle/ui-kit/DialogManager/Dialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +2 -2
- package/mobile/bundle/ui-kit/LinkButton/LinkButtonProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +3 -6
- package/mobile/bundle/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/bundle/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/mobile/bundle/ui-kit/Select/Option.d.ts +1 -1
- package/mobile/bundle/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/mobile/bundle/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +1 -1
- package/mobile/bundle/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +2 -2
- package/mobile/bundle/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/mobile/bundle/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/Footnote.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/mobile/dist/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCardHighlight.d.ts +1 -1
- package/mobile/dist/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/mobile/dist/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.js +15 -4
- package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +2 -2
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/dist/data/CommonData.d.ts +2 -2
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/mobile/dist/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/mobile/dist/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/dist/hooks/useAspects/handleAspects.js +5 -2
- package/mobile/dist/hooks/useAspects/handleAspects.js.map +1 -1
- package/mobile/dist/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/dist/model/ContentPageBase.d.ts +2 -3
- package/mobile/dist/model/LinkProps.d.ts +1 -1
- package/mobile/dist/model/OnClickProps.d.ts +3 -0
- package/mobile/dist/model/OnClickProps.js +2 -0
- package/mobile/dist/model/OnClickProps.js.map +1 -0
- package/mobile/dist/model/OnCloseProps.d.ts +3 -0
- package/mobile/dist/model/OnCloseProps.js +2 -0
- package/mobile/dist/model/OnCloseProps.js.map +1 -0
- package/mobile/dist/retail/api/getCardTypes.d.ts +2 -2
- package/mobile/dist/retail/api/getCardTypes.js.map +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/mobile/dist/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/mobile/dist/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/mobile/dist/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/mobile/dist/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/mobile/dist/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/mobile/dist/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/mobile/dist/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/dist/retail/model/LeadFormData.d.ts +2 -2
- package/mobile/dist/retail/utils/getOrganizationParams.d.ts +1 -1
- package/mobile/dist/retail/utils/getOrganizationParams.js.map +1 -1
- package/mobile/dist/retail/utils/renderStep.js +3 -1
- package/mobile/dist/retail/utils/renderStep.js.map +1 -1
- package/mobile/dist/services/search/search.d.ts +2 -2
- package/mobile/dist/services/search/search.js.map +1 -1
- package/mobile/dist/services/search/textRank.d.ts +1 -1
- package/mobile/dist/services/search/textRank.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/mobile/dist/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +0 -2
- package/mobile/dist/ui-kit/Calculator/CalculatorProps.d.ts +1 -2
- package/mobile/dist/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/mobile/dist/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/mobile/dist/ui-kit/Calculator/renderRate.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePickerInput.d.ts +2 -2
- package/mobile/dist/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.d.ts +2 -2
- package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/mobile/dist/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButtonProps.d.ts +2 -2
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +3 -6
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/dist/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Option.d.ts +1 -1
- package/mobile/dist/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/mobile/dist/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +1 -1
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +2 -2
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/mobile/dist/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/mobile/dist/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/mobile/dist/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/Footnote.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +1 -1
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.d.ts +2 -2
- package/mobile/lib/components/CardTransfer/SubmitFailedDialog.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCardHighlight.d.ts +1 -1
- package/mobile/lib/components/DebitForm/DebitFormStatus.d.ts +2 -4
- package/mobile/lib/components/DebitForm/DebitFormStatus.js.map +1 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +0 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.js +15 -4
- package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +2 -2
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapProps.d.ts +3 -4
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuDialog.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/useBottomMenuItemDialog.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +2 -2
- package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/lib/data/CommonData.d.ts +2 -2
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.d.ts +1 -1
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js +1 -1
- package/mobile/lib/hooks/useAspects/aspects/forwardQuery.js.map +1 -1
- package/mobile/lib/hooks/useAspects/handleAspects.d.ts +1 -1
- package/mobile/lib/hooks/useAspects/handleAspects.js +5 -2
- package/mobile/lib/hooks/useAspects/handleAspects.js.map +1 -1
- package/mobile/lib/hooks/useAspects/useAspects.d.ts +1 -1
- package/mobile/lib/model/ContentPageBase.d.ts +2 -3
- package/mobile/lib/model/LinkProps.d.ts +1 -1
- package/mobile/lib/model/OnClickProps.d.ts +3 -0
- package/mobile/lib/model/OnClickProps.js +2 -0
- package/mobile/lib/model/OnClickProps.js.map +1 -0
- package/mobile/lib/model/OnCloseProps.d.ts +3 -0
- package/mobile/lib/model/OnCloseProps.js +2 -0
- package/mobile/lib/model/OnCloseProps.js.map +1 -0
- package/mobile/lib/retail/api/getCardTypes.d.ts +2 -2
- package/mobile/lib/retail/api/getCardTypes.js.map +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.d.ts +2 -2
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.d.ts +2 -2
- package/mobile/lib/retail/components/ConsentBkiDialog/ConsentBkiDialog.js.map +1 -1
- package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.d.ts +2 -2
- package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftActionButton.d.ts +4 -5
- package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.d.ts +2 -2
- package/mobile/lib/retail/components/DraftDialog/DraftDialog.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.d.ts +2 -4
- package/mobile/lib/retail/components/DraftDialog/EmptyDraftDialog.js.map +1 -1
- package/mobile/lib/retail/components/DraftDialog/useDraftDialog.d.ts +2 -2
- package/mobile/lib/retail/components/DraftDialog/useDraftDialog.js.map +1 -1
- package/mobile/lib/retail/components/FormStatus/FormStatus.d.ts +2 -4
- package/mobile/lib/retail/components/FormStatus/FormStatus.js.map +1 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +2 -2
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/lib/retail/model/LeadFormData.d.ts +2 -2
- package/mobile/lib/retail/utils/getOrganizationParams.d.ts +1 -1
- package/mobile/lib/retail/utils/getOrganizationParams.js.map +1 -1
- package/mobile/lib/retail/utils/renderStep.js +3 -1
- package/mobile/lib/retail/utils/renderStep.js.map +1 -1
- package/mobile/lib/services/search/search.d.ts +2 -2
- package/mobile/lib/services/search/search.js.map +1 -1
- package/mobile/lib/services/search/textRank.d.ts +1 -1
- package/mobile/lib/services/search/textRank.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/FiltrationSchemaContent.d.ts +1 -6
- package/mobile/lib/ui-kit/BaseFiltration/HotFilterBase.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +0 -2
- package/mobile/lib/ui-kit/Calculator/CalculatorProps.d.ts +1 -2
- package/mobile/lib/ui-kit/Calculator/UnknownRate.d.ts +2 -4
- package/mobile/lib/ui-kit/Calculator/UnknownRate.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/renderRate.d.ts +2 -2
- package/mobile/lib/ui-kit/Calculator/renderRate.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePickerInput.d.ts +2 -2
- package/mobile/lib/ui-kit/DatePicker/DatePickerInput.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.d.ts +2 -2
- package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/useDialog.d.ts +2 -3
- package/mobile/lib/ui-kit/DialogManager/useDialog.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +2 -2
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButtonProps.d.ts +2 -2
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +3 -6
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/ProgressBar/ProgressBar.d.ts +2 -2
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/lib/ui-kit/ReportDialog/ReportDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/ReportDialog/ReportDialog.js.map +1 -1
- package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.d.ts +2 -2
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Option.d.ts +1 -1
- package/mobile/lib/ui-kit/Select/useSelectPopup.d.ts +2 -2
- package/mobile/lib/ui-kit/Select/useSelectPopup.js.map +1 -1
- package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.d.ts +1 -1
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.d.ts +2 -2
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.d.ts +2 -3
- package/mobile/lib/ui-kit/TabsControl/renderTabItemInner.js.map +1 -1
- package/mobile/lib/ui-kit/TimerCircle/TimerCircle.d.ts +2 -2
- package/mobile/lib/ui-kit/TimerCircle/TimerCircle.js.map +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +2 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
- package/mobile/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
- package/mobile/src/components/Carousel/renderCardHighlight.tsx +1 -1
- package/mobile/src/components/DebitForm/DebitFormStatus.tsx +9 -10
- package/mobile/src/components/Header/HeaderChatBotButton.tsx +18 -12
- package/mobile/src/components/Header/HeaderSubMenu.tsx +0 -1
- package/mobile/src/components/Header/HeaderTop.tsx +1 -6
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +2 -2
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +1 -1
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
- package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +2 -2
- package/mobile/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
- package/mobile/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/mobile/src/data/CommonData.ts +2 -2
- package/mobile/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
- package/mobile/src/hooks/useAspects/handleAspects.ts +6 -2
- package/mobile/src/hooks/useAspects/useAspects.ts +1 -1
- package/mobile/src/model/ContentPageBase.ts +2 -3
- package/mobile/src/model/LinkProps.ts +1 -1
- package/mobile/src/model/OnClickProps.ts +3 -0
- package/mobile/src/model/OnCloseProps.ts +3 -0
- package/mobile/src/retail/api/getCardTypes.ts +2 -2
- package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +2 -2
- package/mobile/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
- package/mobile/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
- package/mobile/src/retail/components/DraftDialog/DraftActionButton.tsx +7 -6
- package/mobile/src/retail/components/DraftDialog/DraftDialog.tsx +2 -2
- package/mobile/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
- package/mobile/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
- package/mobile/src/retail/components/FormStatus/FormStatus.tsx +17 -14
- package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +2 -2
- package/mobile/src/retail/model/LeadFormData.ts +3 -2
- package/mobile/src/retail/utils/getOrganizationParams.ts +1 -1
- package/mobile/src/retail/utils/renderStep.tsx +3 -1
- package/mobile/src/services/search/search.ts +2 -2
- package/mobile/src/services/search/textRank.ts +1 -1
- package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
- package/mobile/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
- package/mobile/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +0 -2
- package/mobile/src/ui-kit/Calculator/CalculatorProps.ts +1 -2
- package/mobile/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
- package/mobile/src/ui-kit/Calculator/renderRate.tsx +3 -2
- package/mobile/src/ui-kit/DatePicker/DatePickerInput.tsx +2 -2
- package/mobile/src/ui-kit/DialogManager/Dialog.tsx +2 -2
- package/mobile/src/ui-kit/DialogManager/useDialog.tsx +2 -1
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +3 -2
- package/mobile/src/ui-kit/LinkButton/LinkButtonProps.ts +2 -2
- package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +3 -7
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
- package/mobile/src/ui-kit/ProgressBar/ProgressBar.tsx +2 -2
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/mobile/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
- package/mobile/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
- package/mobile/src/ui-kit/Select/Option.ts +1 -1
- package/mobile/src/ui-kit/Select/useSelectPopup.tsx +2 -2
- package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +1 -1
- package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +2 -2
- package/mobile/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
- package/mobile/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -2
- package/package.json +1 -1
- package/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/src/components/ApplicationLeadForm/Footnote.tsx +1 -1
- package/src/components/ApplicationLeadForm/consents.ts +2 -2
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +1 -1
- package/src/components/CardTransfer/SubmitFailedDialog.tsx +2 -2
- package/src/components/Carousel/renderCardHighlight.tsx +1 -1
- package/src/components/DebitForm/DebitFormStatus.tsx +9 -10
- package/src/components/Header/HeaderChatBotButton.tsx +18 -12
- package/src/components/Header/HeaderSubMenu.tsx +0 -1
- package/src/components/Header/HeaderTop.tsx +1 -6
- package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +2 -2
- package/src/components/OfficesAtmsMap/OfficesAtmsMapProps.tsx +5 -4
- package/src/components/ProductBlock/renderBackwardButton.tsx +2 -2
- package/src/components/StepsBlock/StepsBlockContent.ts +1 -1
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -2
- package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
- package/src/components/StickyBottomMenu/StickyBottomMenuDialog.tsx +2 -2
- package/src/components/StickyBottomMenu/useBottomMenuItemDialog.tsx +2 -2
- package/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +2 -2
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/src/data/CommonData.ts +2 -2
- package/src/hooks/useAspects/aspects/forwardQuery.ts +1 -1
- package/src/hooks/useAspects/handleAspects.ts +6 -2
- package/src/hooks/useAspects/useAspects.ts +1 -1
- package/src/model/ContentPageBase.ts +2 -3
- package/src/model/LinkProps.ts +1 -1
- package/src/model/OnClickProps.ts +3 -0
- package/src/model/OnCloseProps.ts +3 -0
- package/src/retail/api/getCardTypes.ts +2 -2
- package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +2 -2
- package/src/retail/components/ConsentBkiDialog/ConsentBkiDialog.tsx +2 -2
- package/src/retail/components/DocumentDialog/DocumentDialog.tsx +2 -2
- package/src/retail/components/DraftDialog/DraftActionButton.tsx +7 -6
- package/src/retail/components/DraftDialog/DraftDialog.tsx +2 -2
- package/src/retail/components/DraftDialog/EmptyDraftDialog.tsx +2 -5
- package/src/retail/components/DraftDialog/useDraftDialog.tsx +2 -2
- package/src/retail/components/FormStatus/FormStatus.tsx +17 -14
- package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +2 -2
- package/src/retail/model/LeadFormData.ts +3 -2
- package/src/retail/utils/getOrganizationParams.ts +1 -1
- package/src/retail/utils/renderStep.tsx +3 -1
- package/src/services/search/search.ts +2 -2
- package/src/services/search/textRank.ts +1 -1
- package/src/ui-kit/BaseFiltration/BaseFiltrationContent.ts +1 -1
- package/src/ui-kit/BaseFiltration/FiltrationSchemaContent.ts +1 -7
- package/src/ui-kit/BaseFiltration/HotFilterBase.ts +1 -1
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +0 -2
- package/src/ui-kit/Calculator/CalculatorProps.ts +1 -2
- package/src/ui-kit/Calculator/UnknownRate.tsx +2 -5
- package/src/ui-kit/Calculator/renderRate.tsx +3 -2
- package/src/ui-kit/DatePicker/DatePickerInput.tsx +2 -2
- package/src/ui-kit/DialogManager/Dialog.tsx +2 -2
- package/src/ui-kit/DialogManager/useDialog.tsx +2 -1
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTable.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +3 -2
- package/src/ui-kit/LinkButton/LinkButtonProps.ts +2 -2
- package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +3 -7
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +2 -2
- package/src/ui-kit/ProgressBar/ProgressBar.tsx +2 -2
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/ui-kit/ReportDialog/ReportDialog.tsx +2 -2
- package/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +2 -2
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +2 -2
- package/src/ui-kit/Select/Option.ts +1 -1
- package/src/ui-kit/Select/useSelectPopup.tsx +2 -2
- package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +1 -1
- package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +2 -2
- package/src/ui-kit/TabsControl/renderTabItemInner.tsx +2 -3
- package/src/ui-kit/TimerCircle/TimerCircle.tsx +2 -2
- package/src/ui-kit/TopItem/TopItem.tsx +2 -2
- package/bundle/components/Header/useChatBot.d.ts +0 -5
- package/dist/components/Header/useChatBot.d.ts +0 -5
- package/dist/components/Header/useChatBot.js +0 -61
- package/dist/components/Header/useChatBot.js.map +0 -1
- package/lib/components/Header/useChatBot.d.ts +0 -5
- package/lib/components/Header/useChatBot.js +0 -58
- package/lib/components/Header/useChatBot.js.map +0 -1
- package/mobile/bundle/components/Header/useChatBot.d.ts +0 -5
- package/mobile/dist/components/Header/useChatBot.d.ts +0 -5
- package/mobile/dist/components/Header/useChatBot.js +0 -61
- package/mobile/dist/components/Header/useChatBot.js.map +0 -1
- package/mobile/lib/components/Header/useChatBot.d.ts +0 -5
- package/mobile/lib/components/Header/useChatBot.js +0 -58
- package/mobile/lib/components/Header/useChatBot.js.map +0 -1
- package/mobile/src/components/Header/useChatBot.ts +0 -86
- package/src/components/Header/useChatBot.ts +0 -86
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { Headline } from '../../components/Headline/Headline';
|
|
3
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
3
4
|
import { Button } from '../Button/Button';
|
|
4
5
|
import { Dialog } from '../DialogManager/Dialog';
|
|
5
6
|
import { Img } from '../Img/Img';
|
|
6
7
|
|
|
7
|
-
export interface ResponseNotificationProps {
|
|
8
|
+
export interface ResponseNotificationProps extends OnCloseProps {
|
|
8
9
|
ok?: boolean;
|
|
9
10
|
typeForm?: string;
|
|
10
|
-
onClose?: () => void;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export const ResponseTypeDialog = JSX<ResponseNotificationProps>(({ ok, typeForm, onClose }) => {
|
|
@@ -2,6 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { type TopMenuItemProps } from '../../data/NavigationData';
|
|
4
4
|
import { type LinkProps } from '../../model/LinkProps';
|
|
5
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
5
6
|
import { useSearch, type SearchResult } from '../../services/search/useSearch';
|
|
6
7
|
import { zip } from '../../utils/fp/zip';
|
|
7
8
|
import { joinPath } from '../../utils/url';
|
|
@@ -9,10 +10,9 @@ import { Dialog } from '../DialogManager/Dialog';
|
|
|
9
10
|
import { Sitemap } from '../Sitemap/Sitemap';
|
|
10
11
|
import { SearchInput } from './SearchInput';
|
|
11
12
|
|
|
12
|
-
export interface SearchDialogProps {
|
|
13
|
+
export interface SearchDialogProps extends OnCloseProps {
|
|
13
14
|
initialQuery?: string;
|
|
14
15
|
navigationItems?: TopMenuItemProps[];
|
|
15
|
-
onClose?: () => void;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export const SearchDialog = JSX<SearchDialogProps>(({ initialQuery, navigationItems, onClose }) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useCallback, useEffect, useRef } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
2
|
import { useOutsideClick } from '@redneckz/uni-jsx/lib/hooks/useOutsideClick';
|
|
3
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
3
4
|
import { usePopupManager } from '../PopupManager/usePopupManager';
|
|
4
5
|
import { type Option } from './Option';
|
|
5
6
|
import { SelectPopup, type SelectPopupProps } from './SelectPopup';
|
|
6
7
|
|
|
7
|
-
interface SelectPopupOptions extends SelectPopupProps {
|
|
8
|
+
interface SelectPopupOptions extends SelectPopupProps, OnCloseProps {
|
|
8
9
|
isOpen?: boolean;
|
|
9
|
-
onClose?: () => void;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export function useSelectPopup({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type ControlProps } from '../../model/ControlProps';
|
|
3
|
-
import {
|
|
3
|
+
import type { TextProps } from '../../model/HeadlineType';
|
|
4
4
|
import { style } from '../../utils/style';
|
|
5
5
|
import { Text } from '../Text/Text';
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type ControlProps } from '../../model/ControlProps';
|
|
3
|
+
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
4
|
import { SlideCheckbox } from '../SlideCheckbox/SlideCheckbox';
|
|
4
5
|
|
|
5
|
-
type SlideCheckboxGroupItem = {
|
|
6
|
+
type SlideCheckboxGroupItem = TitleProps & {
|
|
6
7
|
value: string;
|
|
7
|
-
title: string;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
interface SlideCheckboxGroupProps extends ControlProps<string[]> {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type DescriptionProps, type TextProps } from '../../model/HeadlineType';
|
|
1
2
|
import { type IconVersion } from '../../model/IconVersion';
|
|
2
3
|
import { type Picture } from '../../model/Picture';
|
|
3
4
|
import { style } from '../../utils/style';
|
|
@@ -15,12 +16,10 @@ const getButtonClassNames = (isActive: boolean) => ({
|
|
|
15
16
|
oldDesc: 'text-m-light',
|
|
16
17
|
});
|
|
17
18
|
|
|
18
|
-
interface TabsLayoutButtonProps {
|
|
19
|
+
interface TabsLayoutButtonProps extends DescriptionProps, TextProps {
|
|
19
20
|
isActive: boolean;
|
|
20
|
-
description?: string;
|
|
21
21
|
icon?: Picture;
|
|
22
22
|
type: string;
|
|
23
|
-
text?: string;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
export const renderTabItemInner = ({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { Headline } from '../../components/Headline/Headline';
|
|
4
|
+
import { type TitleProps } from '../../model/HeadlineType';
|
|
4
5
|
import { noop } from '../../utils/noop';
|
|
5
6
|
import { Timer } from './Timer';
|
|
6
7
|
import { useCountDownTimer } from './useCountDownTimer';
|
|
7
8
|
|
|
8
|
-
interface TimerCircleProps {
|
|
9
|
-
title?: string;
|
|
9
|
+
interface TimerCircleProps extends TitleProps {
|
|
10
10
|
interval?: number; // В секундах
|
|
11
11
|
onEnd?: () => void;
|
|
12
12
|
}
|
|
@@ -2,6 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useLink } from '../../hooks/useLink';
|
|
3
3
|
import { type ComponentType } from '../../model/ComponentType';
|
|
4
4
|
import { type LinkProps } from '../../model/LinkProps';
|
|
5
|
+
import type { OnClickProps } from '../../model/OnClickProps';
|
|
5
6
|
import { getAspectsAttributes } from '../../utils/dataAttributes';
|
|
6
7
|
import { style } from '../../utils/style';
|
|
7
8
|
|
|
@@ -9,10 +10,9 @@ export interface TopItemContent extends LinkProps {
|
|
|
9
10
|
active?: boolean;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
|
-
export interface TopItemProps extends TopItemContent, ComponentType {
|
|
13
|
+
export interface TopItemProps extends TopItemContent, ComponentType, OnClickProps {
|
|
13
14
|
flat?: boolean;
|
|
14
15
|
dataItemName?: string;
|
|
15
|
-
onClick?: () => void;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export const TopItem = JSX<TopItemProps>(
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
2
|
+
import type { TextProps } from '../../model/HeadlineType';
|
|
3
3
|
import { type LinkProps } from '../../model/LinkProps';
|
|
4
4
|
import { Link } from '../../ui-kit/Link/Link';
|
|
5
5
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
2
|
+
import type { TextProps } from '../../model/HeadlineType';
|
|
3
3
|
import { type LinkProps } from '../../model/LinkProps';
|
|
4
4
|
import { Link } from '../../ui-kit/Link/Link';
|
|
5
5
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { TextProps } from '../../model/HeadlineType';
|
|
1
2
|
import {
|
|
2
3
|
type CreditCardFormConsents,
|
|
3
4
|
type CreditFormConsents,
|
|
4
5
|
type DebitCardFormConsents,
|
|
5
6
|
} from '../../retail/model/LeadFormState';
|
|
6
7
|
|
|
7
|
-
interface ConsentData {
|
|
8
|
-
text: string;
|
|
8
|
+
interface ConsentData extends TextProps {
|
|
9
9
|
docId?: number;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import { type IconProps } from '../../model/Picture';
|
|
3
3
|
import { type IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
4
|
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
1
2
|
import { Dialog } from '../../ui-kit/DialogManager/Dialog';
|
|
2
3
|
import { Img } from '../../ui-kit/Img/Img';
|
|
3
4
|
import { Headline } from '../Headline/Headline';
|
|
4
5
|
|
|
5
|
-
export interface FormResponseDialogProps {
|
|
6
|
-
onClose?: () => void;
|
|
6
|
+
export interface FormResponseDialogProps extends OnCloseProps {
|
|
7
7
|
errorCode?: number;
|
|
8
8
|
errorMessage?: string;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentType } from '../../model/ComponentType';
|
|
2
|
-
import {
|
|
2
|
+
import type { TextProps } from '../../model/HeadlineType';
|
|
3
3
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
4
4
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
5
5
|
import { style } from '../../utils/style';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import {
|
|
2
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
4
|
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
5
5
|
import { Text } from '../../ui-kit/Text/Text';
|
|
@@ -7,13 +7,13 @@ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
|
7
7
|
import { style } from '../../utils/style';
|
|
8
8
|
import { Headline } from '../Headline/Headline';
|
|
9
9
|
|
|
10
|
-
type DebitFormStatusProps = UniBlockProps &
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
10
|
+
type DebitFormStatusProps = UniBlockProps &
|
|
11
|
+
TitleProps &
|
|
12
|
+
DescriptionProps & {
|
|
13
|
+
sectionInfo?: (LabelProps & DescriptionProps)[];
|
|
14
|
+
buttonText?: string;
|
|
15
|
+
isDboClient?: boolean;
|
|
16
|
+
};
|
|
17
17
|
|
|
18
18
|
const INTERNET_BANK_LINK = 'https://online.rshb.ru/ib6/wf2/retail/ib/loginretaildefault';
|
|
19
19
|
|
|
@@ -64,8 +64,7 @@ export const DebitFormStatus = JSX<DebitFormStatusProps>(
|
|
|
64
64
|
const SectionInfo = ({
|
|
65
65
|
title,
|
|
66
66
|
items,
|
|
67
|
-
}: {
|
|
68
|
-
title?: string;
|
|
67
|
+
}: TitleProps & {
|
|
69
68
|
items?: (LabelProps & DescriptionProps)[];
|
|
70
69
|
countColumns?: boolean;
|
|
71
70
|
}) => {
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { useBool } from '@redneckz/uni-jsx/lib/hooks/useBool';
|
|
4
|
+
import { useAspects } from '../../hooks/useAspects/useAspects';
|
|
2
5
|
import { type BlockVersion } from '../../model/BlockVersion';
|
|
3
6
|
import { type ComponentType } from '../../model/ComponentType';
|
|
4
7
|
import { type IconVersion } from '../../model/IconVersion';
|
|
5
8
|
import { type PreventableEventWithTarget } from '../../ui-kit/PreventableEvent';
|
|
6
9
|
import { HeaderSecondaryMenuButton } from './HeaderSecondaryMenuButton';
|
|
7
|
-
|
|
10
|
+
|
|
11
|
+
const CHAT_BOT_ASPECT_NAME = 'openChatBot';
|
|
8
12
|
|
|
9
13
|
interface HeaderChatBotButtonProps extends ComponentType {
|
|
10
14
|
iconVersion?: IconVersion;
|
|
11
|
-
chat?: string;
|
|
12
15
|
onClick?: (ev: PreventableEventWithTarget) => void;
|
|
13
16
|
ariaLabel?: string;
|
|
14
17
|
version?: BlockVersion;
|
|
@@ -16,26 +19,29 @@ interface HeaderChatBotButtonProps extends ComponentType {
|
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
export const HeaderChatBotButton = JSX<HeaderChatBotButtonProps>(
|
|
19
|
-
({
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
({ iconVersion, className, ariaLabel = 'Чат', version, buttonSize = 'large' }) => {
|
|
23
|
+
const [isLoading, { setTrue: startLoad, setFalse: endLoad }] = useBool(false);
|
|
24
|
+
const aspects = useAspects();
|
|
25
|
+
|
|
26
|
+
const handleClick = useCallback((ev: PreventableEventWithTarget) => {
|
|
27
|
+
const openChatBot = aspects[CHAT_BOT_ASPECT_NAME];
|
|
28
|
+
if (openChatBot) {
|
|
29
|
+
startLoad();
|
|
30
|
+
openChatBot(ev).finally(endLoad);
|
|
31
|
+
}
|
|
32
|
+
}, []);
|
|
28
33
|
|
|
29
34
|
return (
|
|
30
35
|
<HeaderSecondaryMenuButton
|
|
31
36
|
className={className}
|
|
32
37
|
image={{ icon: 'ChatBotIcon', iconVersion }}
|
|
33
38
|
ariaLabel={ariaLabel}
|
|
34
|
-
onClick={
|
|
39
|
+
onClick={handleClick}
|
|
35
40
|
buttonSize={buttonSize}
|
|
36
41
|
isGrayBg={true}
|
|
37
42
|
version={version}
|
|
38
43
|
isLoading={isLoading}
|
|
44
|
+
disabled={isLoading}
|
|
39
45
|
dataTestId="chat icon"
|
|
40
46
|
/>
|
|
41
47
|
);
|
|
@@ -51,12 +51,7 @@ export const HeaderTop = JSX<HeaderTopProps>(
|
|
|
51
51
|
)}
|
|
52
52
|
<div className="flex gap-lg items-center">
|
|
53
53
|
{projectSettings.CHAT_BOT ? (
|
|
54
|
-
<HeaderChatBotButton
|
|
55
|
-
version={version}
|
|
56
|
-
iconVersion={iconVersion}
|
|
57
|
-
chat={projectSettings.CHAT_BOT}
|
|
58
|
-
buttonSize="medium"
|
|
59
|
-
/>
|
|
54
|
+
<HeaderChatBotButton version={version} iconVersion={iconVersion} buttonSize="medium" />
|
|
60
55
|
) : null}
|
|
61
56
|
<InternetBankButton version={version} {...internetBankButton} />
|
|
62
57
|
</div>
|
|
@@ -2,6 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { useForm } from '../../hooks/useForm/useForm';
|
|
4
4
|
import { type ComponentType } from '../../model/ComponentType';
|
|
5
|
+
import { type TitleProps } from '../../model/HeadlineType';
|
|
5
6
|
import { type VNode } from '../../model/VNode';
|
|
6
7
|
import { ClientOnly } from '../../ui-kit/ClientOnly';
|
|
7
8
|
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
|
|
@@ -20,7 +21,7 @@ const defaultEmptyFunction = () => void 0;
|
|
|
20
21
|
|
|
21
22
|
export type InitFilterState = Record<string, boolean>;
|
|
22
23
|
|
|
23
|
-
export interface OfficesAtmsMapLayoutProps<T> extends ComponentType {
|
|
24
|
+
export interface OfficesAtmsMapLayoutProps<T> extends ComponentType, TitleProps {
|
|
24
25
|
data?: T[];
|
|
25
26
|
isLoad: boolean;
|
|
26
27
|
remoteWorkplaces?: T[];
|
|
@@ -31,7 +32,6 @@ export interface OfficesAtmsMapLayoutProps<T> extends ComponentType {
|
|
|
31
32
|
getBalloonRemoteWorkplaces?: (item: T) => BalloonContent;
|
|
32
33
|
initFilterState?: InitFilterState;
|
|
33
34
|
descriptionData?: AtmsDef;
|
|
34
|
-
title?: string;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
const filtersVisibleStyles = (activeButton: string) =>
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { type DescriptionProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
|
|
1
3
|
export interface Currency {
|
|
2
4
|
buyExchangeRate?: number;
|
|
3
5
|
saleExchangeRate?: number;
|
|
@@ -13,9 +15,8 @@ export interface ExchangeRate {
|
|
|
13
15
|
currencies?: Currency[];
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
export type WorkScheduleWeek = {
|
|
18
|
+
export type WorkScheduleWeek = TitleProps & {
|
|
17
19
|
key?: string;
|
|
18
|
-
title?: string;
|
|
19
20
|
short?: string;
|
|
20
21
|
status?: boolean;
|
|
21
22
|
workTime?: string;
|
|
@@ -83,7 +84,7 @@ export interface Branch {
|
|
|
83
84
|
serviceDisabledPeople?: false;
|
|
84
85
|
}
|
|
85
86
|
|
|
86
|
-
export interface RemoteWorkplace {
|
|
87
|
+
export interface RemoteWorkplace extends DescriptionProps {
|
|
87
88
|
id?: number;
|
|
88
89
|
region?: {
|
|
89
90
|
id?: number;
|
|
@@ -93,11 +94,11 @@ export interface RemoteWorkplace {
|
|
|
93
94
|
};
|
|
94
95
|
landmark?: string;
|
|
95
96
|
workScheduleDescription?: string;
|
|
96
|
-
description?: string;
|
|
97
97
|
gpsLatitude?: number;
|
|
98
98
|
gpsLongitude?: number;
|
|
99
99
|
address?: string;
|
|
100
100
|
}
|
|
101
|
+
|
|
101
102
|
export interface Atm {
|
|
102
103
|
location?: string;
|
|
103
104
|
address?: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import type { TextProps } from '../../model/HeadlineType';
|
|
1
2
|
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
2
3
|
import { Img } from '../../ui-kit/Img/Img';
|
|
3
4
|
import { getRegularButtonClasses } from '../../ui-kit/LinkButton/getRegularButtonClasses';
|
|
4
5
|
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
5
6
|
import { style } from '../../utils/style';
|
|
6
7
|
|
|
7
|
-
type BackwardButtonProps = {
|
|
8
|
+
type BackwardButtonProps = TextProps & {
|
|
8
9
|
version: LinkButtonVersion;
|
|
9
10
|
handleClick: () => void;
|
|
10
|
-
text: string | undefined;
|
|
11
11
|
alwaysVisible?: boolean;
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import { type BulletsProps } from '../../model/Bullets';
|
|
3
|
-
import {
|
|
3
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
4
4
|
import { type IconProps } from '../../model/Picture';
|
|
5
5
|
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
6
6
|
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
@@ -5,17 +5,17 @@ import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
|
5
5
|
import { type StickyMenuItem } from '../../data/StickyMobileData';
|
|
6
6
|
import { env } from '../../Env';
|
|
7
7
|
import { useLocation } from '../../hooks/useLocation';
|
|
8
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
8
9
|
import { useDialog } from '../../ui-kit/DialogManager/useDialog';
|
|
9
10
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
10
11
|
import { LocationDialog } from '../../ui-kit/LocationDialog/LocationDialog';
|
|
11
12
|
import { getBasePath } from '../../utils/getBasePath';
|
|
12
13
|
import { StickyBottomMenuDialog } from './StickyBottomMenuDialog';
|
|
13
14
|
|
|
14
|
-
export interface BurgerMenuDialogProps {
|
|
15
|
+
export interface BurgerMenuDialogProps extends OnCloseProps {
|
|
15
16
|
menuRef: { current?: HTMLDivElement | null };
|
|
16
17
|
menuItem?: StickyMenuItem;
|
|
17
18
|
locationDialogProps?: HeaderData & JSONRefObject;
|
|
18
|
-
onClose?: () => void;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export const BurgerMenuDialog = JSX<BurgerMenuDialogProps>(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type ComponentType } from '../../model/ComponentType';
|
|
3
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
3
4
|
import { type VNode } from '../../model/VNode';
|
|
4
5
|
import { CloseButton } from '../../ui-kit/DialogManager/CloseButton';
|
|
5
6
|
import { type PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
6
7
|
import { style } from '../../utils/style';
|
|
7
8
|
|
|
8
|
-
export interface StickyBottomMenuDialogProps extends ComponentType {
|
|
9
|
+
export interface StickyBottomMenuDialogProps extends ComponentType, OnCloseProps {
|
|
9
10
|
head?: VNode;
|
|
10
|
-
onClose?: () => void;
|
|
11
11
|
onClick?: (e: PreventableEvent) => void;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
2
|
import { type StickyMenuItem } from '../../data/StickyMobileData';
|
|
3
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
3
4
|
import { useDialogManager } from '../../ui-kit/DialogManager/useDialogManager';
|
|
4
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
6
|
import { StickyBottomMenuDialog } from './StickyBottomMenuDialog';
|
|
6
7
|
|
|
7
|
-
interface BottomMenuItemDialog {
|
|
8
|
+
interface BottomMenuItemDialog extends OnCloseProps {
|
|
8
9
|
menuRef?: { current: HTMLDivElement | null };
|
|
9
10
|
dialogRef?: { current: HTMLDivElement | null };
|
|
10
11
|
leftItems: StickyMenuItem[];
|
|
11
12
|
rightItems: StickyMenuItem[];
|
|
12
|
-
onClose?: () => void;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export const useBottomMenuItemDialog = ({
|
|
@@ -2,6 +2,7 @@ import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
|
2
2
|
import { type HeaderData } from '../../data/HeaderData';
|
|
3
3
|
import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
4
4
|
import { type StickyMenuItem } from '../../data/StickyMobileData';
|
|
5
|
+
import type { OnCloseProps } from '../../model/OnCloseProps';
|
|
5
6
|
import { isDialogOpen } from '../../ui-kit/DialogManager/isDialogOpen';
|
|
6
7
|
import { useDialog } from '../../ui-kit/DialogManager/useDialog';
|
|
7
8
|
import { useDialogsList } from '../../ui-kit/DialogManager/useDialogsList';
|
|
@@ -10,11 +11,10 @@ import { BurgerMenuDialog } from './BurgerMenuDialog';
|
|
|
10
11
|
|
|
11
12
|
export const BURGER_MENU_DIALOG_ID = 'burgerMenuDialog';
|
|
12
13
|
|
|
13
|
-
interface BurgerMenuDialog {
|
|
14
|
+
interface BurgerMenuDialog extends OnCloseProps {
|
|
14
15
|
menuRef: { current?: HTMLDivElement | null };
|
|
15
16
|
centralMenuItem?: StickyMenuItem;
|
|
16
17
|
locationDialogProps?: HeaderData & JSONRefObject;
|
|
17
|
-
onClose?: () => void;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export const useBurgerMenuDialog = ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import { type IconProps } from '../../model/Picture';
|
|
3
3
|
import { type ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
4
|
import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
package/src/data/CommonData.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type AspectsProps } from '../model/AspectsProps';
|
|
2
|
+
import { type TitleProps } from '../model/HeadlineType';
|
|
2
3
|
import { type LogoType } from '../model/LogoType';
|
|
3
4
|
import { type PlaceholderProps } from '../model/PlaceholderProps';
|
|
4
5
|
|
|
5
6
|
export type SearchHeaderProps = AspectsProps & PlaceholderProps & { ariaLabel: string };
|
|
6
7
|
|
|
7
|
-
export interface CommonData {
|
|
8
|
+
export interface CommonData extends TitleProps {
|
|
8
9
|
logo?: LogoType;
|
|
9
10
|
search?: SearchHeaderProps;
|
|
10
11
|
dropdownMenuAriaLabel?: string;
|
|
11
12
|
chatBotAriaLabel?: string;
|
|
12
13
|
backwardButton?: string;
|
|
13
|
-
title?: string;
|
|
14
14
|
}
|
|
@@ -4,7 +4,7 @@ import { type PreventableEventWithTarget } from '../../../ui-kit/PreventableEven
|
|
|
4
4
|
import { adjustSessionQuery } from '../../../utils/adjustSessionQuery';
|
|
5
5
|
import { isURL } from '../../../utils/url';
|
|
6
6
|
|
|
7
|
-
export const forwardQuery = (ev: PreventableEventWithTarget) => {
|
|
7
|
+
export const forwardQuery = async (ev: PreventableEventWithTarget) => {
|
|
8
8
|
const anchor = (ev.target as Element | null)?.closest('a');
|
|
9
9
|
const navigator = locationNavigator();
|
|
10
10
|
|
|
@@ -7,8 +7,12 @@ export type HandleAspectsProps = {
|
|
|
7
7
|
ev: PreventableEventWithTarget;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
export const handleAspects = ({ aspectsAttributes, aspects, ev }: HandleAspectsProps) => {
|
|
10
|
+
export const handleAspects = async ({ aspectsAttributes, aspects, ev }: HandleAspectsProps) => {
|
|
11
11
|
for (const { aspectName, params } of aspectsAttributes ?? []) {
|
|
12
|
-
aspects[aspectName ?? '']
|
|
12
|
+
const aspectFn = aspects[aspectName ?? ''];
|
|
13
|
+
|
|
14
|
+
if (aspectFn) {
|
|
15
|
+
await aspectFn(ev, params);
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
};
|
|
@@ -14,7 +14,7 @@ export interface AspectsAttribute {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export interface Aspects {
|
|
17
|
-
[key: string]: (ev: PreventableEventWithTarget, data?: AspectData) => void
|
|
17
|
+
[key: string]: (ev: PreventableEventWithTarget, data?: AspectData) => Promise<void>;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export function useAspects(): Aspects {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type JSONRefObject } from '../data/JSONRefObject';
|
|
2
|
+
import { type TitleProps } from './HeadlineType';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @title Цветовая палитра
|
|
@@ -7,9 +8,7 @@ import { type JSONRefObject } from '../data/JSONRefObject';
|
|
|
7
8
|
export type ColorPalette = 'pc' | 'bc' | 'eo' | 'pr' | 'ul';
|
|
8
9
|
|
|
9
10
|
/** @title Страница */
|
|
10
|
-
export interface ContentPageBase {
|
|
11
|
-
/** @title Заголовок */
|
|
12
|
-
title?: string;
|
|
11
|
+
export interface ContentPageBase extends TitleProps {
|
|
13
12
|
/** @title Слаг */
|
|
14
13
|
slug?: string;
|
|
15
14
|
/** @title Данные навигации по сайту */
|
package/src/model/LinkProps.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
1
2
|
import { fetchRetailJSON } from './doRequest';
|
|
2
3
|
|
|
3
|
-
export type CardTypeData = {
|
|
4
|
+
export type CardTypeData = DescriptionProps & {
|
|
4
5
|
type: string;
|
|
5
6
|
key: string;
|
|
6
7
|
value: string;
|
|
7
8
|
displayOrder: number;
|
|
8
|
-
description: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export const getCardTypes = async (paymentSystemTypeCd: string, creditProgramId: string) => {
|