@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,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>(
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.useChatBot = void 0;
|
|
3
|
-
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
4
|
-
const useExternalNS_1 = require("../../hooks/useExternalNS");
|
|
5
|
-
const CHAT_NAMESPACE = 'chatbot';
|
|
6
|
-
const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
|
|
7
|
-
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
8
|
-
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
9
|
-
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
10
|
-
const BUSINESS_CHAT_CLASSNAME = '@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
11
|
-
const CHATBOT_URL = {
|
|
12
|
-
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
13
|
-
business: '/webchat',
|
|
14
|
-
};
|
|
15
|
-
const useChatBot = (chat) => {
|
|
16
|
-
const [isLoading, setIsLoading] = (0, hooks_1.useState)(false);
|
|
17
|
-
(0, hooks_1.useEffect)(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
18
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
19
|
-
const load = (0, hooks_1.useCallback)((ev) => {
|
|
20
|
-
if (!chatUrl) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
setIsLoading(true);
|
|
24
|
-
if (chat === 'business') {
|
|
25
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
29
|
-
}
|
|
30
|
-
}, [chatUrl, chat]);
|
|
31
|
-
return { load, isLoading };
|
|
32
|
-
};
|
|
33
|
-
exports.useChatBot = useChatBot;
|
|
34
|
-
const renderPersonalChatBot = async (ev, chatUrl) => {
|
|
35
|
-
const target = ev.target;
|
|
36
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
37
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
38
|
-
}
|
|
39
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
40
|
-
if (!chatFrame) {
|
|
41
|
-
await (0, useExternalNS_1.initializeExternalNS)(CHAT_NAMESPACE, chatUrl);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const renderBusinessChatBot = async (chatUrl) => {
|
|
45
|
-
const businessChat = (await (0, useExternalNS_1.initializeExternalNS)(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
|
|
46
|
-
(0, useExternalNS_1.initializeExternalStylesheet)(`${chatUrl}/bundle.css`);
|
|
47
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
48
|
-
if (chatFrame) {
|
|
49
|
-
businessChat?.chatOpen?.();
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
createChatFrame();
|
|
53
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
const createChatFrame = () => {
|
|
57
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
58
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
59
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
60
|
-
};
|
|
61
|
-
//# sourceMappingURL=useChatBot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChatBot.js","sourceRoot":"","sources":["../../../src/components/Header/useChatBot.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
-
import { initializeExternalNS, initializeExternalStylesheet } from '../../hooks/useExternalNS.js';
|
|
3
|
-
const CHAT_NAMESPACE = 'chatbot';
|
|
4
|
-
const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
|
|
5
|
-
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
6
|
-
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
7
|
-
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
8
|
-
const BUSINESS_CHAT_CLASSNAME = '@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
9
|
-
const CHATBOT_URL = {
|
|
10
|
-
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
11
|
-
business: '/webchat',
|
|
12
|
-
};
|
|
13
|
-
export const useChatBot = (chat) => {
|
|
14
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
15
|
-
useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
16
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
17
|
-
const load = useCallback((ev) => {
|
|
18
|
-
if (!chatUrl) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
setIsLoading(true);
|
|
22
|
-
if (chat === 'business') {
|
|
23
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
27
|
-
}
|
|
28
|
-
}, [chatUrl, chat]);
|
|
29
|
-
return { load, isLoading };
|
|
30
|
-
};
|
|
31
|
-
const renderPersonalChatBot = async (ev, chatUrl) => {
|
|
32
|
-
const target = ev.target;
|
|
33
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
34
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
35
|
-
}
|
|
36
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
37
|
-
if (!chatFrame) {
|
|
38
|
-
await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const renderBusinessChatBot = async (chatUrl) => {
|
|
42
|
-
const businessChat = (await initializeExternalNS(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
|
|
43
|
-
initializeExternalStylesheet(`${chatUrl}/bundle.css`);
|
|
44
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
45
|
-
if (chatFrame) {
|
|
46
|
-
businessChat?.chatOpen?.();
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
createChatFrame();
|
|
50
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const createChatFrame = () => {
|
|
54
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
55
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
56
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=useChatBot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChatBot.js","sourceRoot":"","sources":["../../../src/components/Header/useChatBot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAG/F,MAAM,cAAc,GAAG,SAAS,CAAC;AACjC,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AACxD,MAAM,aAAa,GAAG,mCAAmC,CAAC;AAC1D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AAC9C,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAC5C,MAAM,uBAAuB,GAC3B,iFAAiF,CAAC;AAEpF,MAAM,WAAW,GAA2B;IAC1C,QAAQ,EAAE,2CAA2C;IACrD,QAAQ,EAAE,UAAU;CACrB,CAAC;AAQF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAa,EAAE,EAAE;IAC1C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAE3D,SAAS,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7F,MAAM,OAAO,GAAG,WAAW,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAExC,MAAM,IAAI,GAAG,WAAW,CACtB,CAAC,EAA8B,EAAE,EAAE;QACjC,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO;SACR;QAED,YAAY,CAAC,IAAI,CAAC,CAAC;QACnB,IAAI,IAAI,KAAK,UAAU,EAAE;YACvB,qBAAqB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;SACnE;aAAM;YACL,qBAAqB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;SACvE;IACH,CAAC,EACD,CAAC,OAAO,EAAE,IAAI,CAAC,CAChB,CAAC;IAEF,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC7B,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,KAAK,EAAE,EAA8B,EAAE,OAAe,EAAE,EAAE;IACtF,MAAM,MAAM,GAAG,EAAE,CAAC,MAAqB,CAAC;IAExC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,yBAAyB,CAAC,EAAE;QAC1D,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;KAClD;IAED,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IACpE,IAAI,CAAC,SAAS,EAAE;QACd,MAAM,oBAAoB,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACrD;AACH,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,KAAK,EAAE,OAAe,EAAE,EAAE;IACtD,MAAM,YAAY,GAAG,CAAC,MAAM,oBAAoB,CAC9C,cAAc,EACd,GAAG,OAAO,YAAY,EACtB,IAAI,CACL,CAAY,CAAC;IAEd,4BAA4B,CAAC,GAAG,OAAO,aAAa,CAAC,CAAC;IAEtD,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IACpE,IAAI,SAAS,EAAE;QACb,YAAY,EAAE,QAAQ,EAAE,EAAE,CAAC;KAC5B;SAAM;QACL,eAAe,EAAE,CAAC;QAElB,YAAY,EAAE,MAAM,EAAE,CAAC,aAAa,EAAE,IAAI,EAAE,oBAAoB,EAAE,uBAAuB,CAAC,CAAC;KAC5F;AACH,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,GAAG,EAAE;IAC3B,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3D,SAAS,CAAC,EAAE,GAAG,aAAa,CAAC;IAE7B,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;AAClD,CAAC,CAAC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.useChatBot = void 0;
|
|
3
|
-
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
4
|
-
const useExternalNS_1 = require("../../hooks/useExternalNS");
|
|
5
|
-
const CHAT_NAMESPACE = 'chatbot';
|
|
6
|
-
const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
|
|
7
|
-
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
8
|
-
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
9
|
-
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
10
|
-
const BUSINESS_CHAT_CLASSNAME = '@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
11
|
-
const CHATBOT_URL = {
|
|
12
|
-
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
13
|
-
business: '/webchat',
|
|
14
|
-
};
|
|
15
|
-
const useChatBot = (chat) => {
|
|
16
|
-
const [isLoading, setIsLoading] = (0, hooks_1.useState)(false);
|
|
17
|
-
(0, hooks_1.useEffect)(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
18
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
19
|
-
const load = (0, hooks_1.useCallback)((ev) => {
|
|
20
|
-
if (!chatUrl) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
setIsLoading(true);
|
|
24
|
-
if (chat === 'business') {
|
|
25
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
29
|
-
}
|
|
30
|
-
}, [chatUrl, chat]);
|
|
31
|
-
return { load, isLoading };
|
|
32
|
-
};
|
|
33
|
-
exports.useChatBot = useChatBot;
|
|
34
|
-
const renderPersonalChatBot = async (ev, chatUrl) => {
|
|
35
|
-
const target = ev.target;
|
|
36
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
37
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
38
|
-
}
|
|
39
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
40
|
-
if (!chatFrame) {
|
|
41
|
-
await (0, useExternalNS_1.initializeExternalNS)(CHAT_NAMESPACE, chatUrl);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const renderBusinessChatBot = async (chatUrl) => {
|
|
45
|
-
const businessChat = (await (0, useExternalNS_1.initializeExternalNS)(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
|
|
46
|
-
(0, useExternalNS_1.initializeExternalStylesheet)(`${chatUrl}/bundle.css`);
|
|
47
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
48
|
-
if (chatFrame) {
|
|
49
|
-
businessChat?.chatOpen?.();
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
createChatFrame();
|
|
53
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
const createChatFrame = () => {
|
|
57
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
58
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
59
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
60
|
-
};
|
|
61
|
-
//# sourceMappingURL=useChatBot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChatBot.js","sourceRoot":"","sources":["../../../src/components/Header/useChatBot.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
-
import { initializeExternalNS, initializeExternalStylesheet } from '../../hooks/useExternalNS.js';
|
|
3
|
-
const CHAT_NAMESPACE = 'chatbot';
|
|
4
|
-
const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
|
|
5
|
-
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
6
|
-
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
7
|
-
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
8
|
-
const BUSINESS_CHAT_CLASSNAME = '@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
9
|
-
const CHATBOT_URL = {
|
|
10
|
-
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
11
|
-
business: '/webchat',
|
|
12
|
-
};
|
|
13
|
-
export const useChatBot = (chat) => {
|
|
14
|
-
const [isLoading, setIsLoading] = useState(false);
|
|
15
|
-
useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
16
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
17
|
-
const load = useCallback((ev) => {
|
|
18
|
-
if (!chatUrl) {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
setIsLoading(true);
|
|
22
|
-
if (chat === 'business') {
|
|
23
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
27
|
-
}
|
|
28
|
-
}, [chatUrl, chat]);
|
|
29
|
-
return { load, isLoading };
|
|
30
|
-
};
|
|
31
|
-
const renderPersonalChatBot = async (ev, chatUrl) => {
|
|
32
|
-
const target = ev.target;
|
|
33
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
34
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
35
|
-
}
|
|
36
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
37
|
-
if (!chatFrame) {
|
|
38
|
-
await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const renderBusinessChatBot = async (chatUrl) => {
|
|
42
|
-
const businessChat = (await initializeExternalNS(CHAT_NAMESPACE, `${chatUrl}/bundle.js`, true));
|
|
43
|
-
initializeExternalStylesheet(`${chatUrl}/bundle.css`);
|
|
44
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
45
|
-
if (chatFrame) {
|
|
46
|
-
businessChat?.chatOpen?.();
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
createChatFrame();
|
|
50
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const createChatFrame = () => {
|
|
54
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
55
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
56
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=useChatBot.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChatBot.js","sourceRoot":"","sources":["../../../src/components/Header/useChatBot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAG/F,MAAM,cAAc,GAAG,SAAS,CAAC;AACjC,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AACxD,MAAM,aAAa,GAAG,mCAAmC,CAAC;AAC1D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AAC9C,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAC5C,MAAM,uBAAuB,GAC3B,iFAAiF,CAAC;AAEpF,MAAM,WAAW,GAA2B;IAC1C,QAAQ,EAAE,2CAA2C;IACrD,QAAQ,EAAE,UAAU;CACrB,CAAC;AAQF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAa,EAAE,EAAE;IAC1C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAE3D,SAAS,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC7F,MAAM,OAAO,GAAG,WAAW,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAExC,MAAM,IAAI,GAAG,WAAW,CACtB,CAAC,EAA8B,EAAE,EAAE;QACjC,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO;SACR;QAED,YAAY,CAAC,IAAI,CAAC,CAAC;QACnB,IAAI,IAAI,KAAK,UAAU,EAAE;YACvB,qBAAqB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;SACnE;aAAM;YACL,qBAAqB,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;SACvE;IACH,CAAC,EACD,CAAC,OAAO,EAAE,IAAI,CAAC,CAChB,CAAC;IAEF,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC7B,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,KAAK,EAAE,EAA8B,EAAE,OAAe,EAAE,EAAE;IACtF,MAAM,MAAM,GAAG,EAAE,CAAC,MAAqB,CAAC;IAExC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,yBAAyB,CAAC,EAAE;QAC1D,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;KAClD;IAED,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IACpE,IAAI,CAAC,SAAS,EAAE;QACd,MAAM,oBAAoB,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACrD;AACH,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,KAAK,EAAE,OAAe,EAAE,EAAE;IACtD,MAAM,YAAY,GAAG,CAAC,MAAM,oBAAoB,CAC9C,cAAc,EACd,GAAG,OAAO,YAAY,EACtB,IAAI,CACL,CAAY,CAAC;IAEd,4BAA4B,CAAC,GAAG,OAAO,aAAa,CAAC,CAAC;IAEtD,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;IACpE,IAAI,SAAS,EAAE;QACb,YAAY,EAAE,QAAQ,EAAE,EAAE,CAAC;KAC5B;SAAM;QACL,eAAe,EAAE,CAAC;QAElB,YAAY,EAAE,MAAM,EAAE,CAAC,aAAa,EAAE,IAAI,EAAE,oBAAoB,EAAE,uBAAuB,CAAC,CAAC;KAC5F;AACH,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,GAAG,EAAE;IAC3B,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3D,SAAS,CAAC,EAAE,GAAG,aAAa,CAAC;IAE7B,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;AAClD,CAAC,CAAC"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
-
import { initializeExternalNS, initializeExternalStylesheet } from '../../hooks/useExternalNS';
|
|
3
|
-
import { type PreventableEventWithTarget } from '../../ui-kit/PreventableEvent';
|
|
4
|
-
|
|
5
|
-
const CHAT_NAMESPACE = 'chatbot';
|
|
6
|
-
const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
|
|
7
|
-
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
8
|
-
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
9
|
-
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
10
|
-
const BUSINESS_CHAT_CLASSNAME =
|
|
11
|
-
'@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
12
|
-
|
|
13
|
-
const CHATBOT_URL: Record<string, string> = {
|
|
14
|
-
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
15
|
-
business: '/webchat',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
interface WebChat {
|
|
19
|
-
render?: (id?: string, isOpen?: boolean, prefix?: string, className?: string) => void;
|
|
20
|
-
chatOpen?: () => void;
|
|
21
|
-
chatClose?: () => void;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const useChatBot = (chat?: string) => {
|
|
25
|
-
const [isLoading, setIsLoading] = useState<boolean>(false);
|
|
26
|
-
|
|
27
|
-
useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
28
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
29
|
-
|
|
30
|
-
const load = useCallback(
|
|
31
|
-
(ev: PreventableEventWithTarget) => {
|
|
32
|
-
if (!chatUrl) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
setIsLoading(true);
|
|
37
|
-
if (chat === 'business') {
|
|
38
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
39
|
-
} else {
|
|
40
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
[chatUrl, chat],
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
return { load, isLoading };
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
const renderPersonalChatBot = async (ev: PreventableEventWithTarget, chatUrl: string) => {
|
|
50
|
-
const target = ev.target as HTMLElement;
|
|
51
|
-
|
|
52
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
53
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
57
|
-
if (!chatFrame) {
|
|
58
|
-
await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
const renderBusinessChatBot = async (chatUrl: string) => {
|
|
63
|
-
const businessChat = (await initializeExternalNS(
|
|
64
|
-
CHAT_NAMESPACE,
|
|
65
|
-
`${chatUrl}/bundle.js`,
|
|
66
|
-
true,
|
|
67
|
-
)) as WebChat;
|
|
68
|
-
|
|
69
|
-
initializeExternalStylesheet(`${chatUrl}/bundle.css`);
|
|
70
|
-
|
|
71
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
72
|
-
if (chatFrame) {
|
|
73
|
-
businessChat?.chatOpen?.();
|
|
74
|
-
} else {
|
|
75
|
-
createChatFrame();
|
|
76
|
-
|
|
77
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const createChatFrame = () => {
|
|
82
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
83
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
84
|
-
|
|
85
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
86
|
-
};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
-
import { initializeExternalNS, initializeExternalStylesheet } from '../../hooks/useExternalNS';
|
|
3
|
-
import { type PreventableEventWithTarget } from '../../ui-kit/PreventableEvent';
|
|
4
|
-
|
|
5
|
-
const CHAT_NAMESPACE = 'chatbot';
|
|
6
|
-
const CHAT_BUTTON_EXTERNAL_NAME = 'text-page__btn-chat';
|
|
7
|
-
const CHAT_FRAME_ID = 'webchat-js-container:webchat_rshb';
|
|
8
|
-
const CHAT_STORAGE_NAME = 'webchat-keep-open';
|
|
9
|
-
const BUSINESS_CHAT_PREFIX = '/webchat-api';
|
|
10
|
-
const BUSINESS_CHAT_CLASSNAME =
|
|
11
|
-
'@container fixed right-0 bottom-0 top-0 h-full w-full z-[100] @3xl:w-auto h-fit';
|
|
12
|
-
|
|
13
|
-
const CHATBOT_URL: Record<string, string> = {
|
|
14
|
-
personal: '//chat.mes.rshb.ru/assets/js/webchat_rshb',
|
|
15
|
-
business: '/webchat',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
interface WebChat {
|
|
19
|
-
render?: (id?: string, isOpen?: boolean, prefix?: string, className?: string) => void;
|
|
20
|
-
chatOpen?: () => void;
|
|
21
|
-
chatClose?: () => void;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export const useChatBot = (chat?: string) => {
|
|
25
|
-
const [isLoading, setIsLoading] = useState<boolean>(false);
|
|
26
|
-
|
|
27
|
-
useEffect(() => globalThis.localStorage?.setItem(CHAT_STORAGE_NAME, String(Date.now())), []);
|
|
28
|
-
const chatUrl = CHATBOT_URL[chat ?? ''];
|
|
29
|
-
|
|
30
|
-
const load = useCallback(
|
|
31
|
-
(ev: PreventableEventWithTarget) => {
|
|
32
|
-
if (!chatUrl) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
setIsLoading(true);
|
|
37
|
-
if (chat === 'business') {
|
|
38
|
-
renderBusinessChatBot(chatUrl).finally(() => setIsLoading(false));
|
|
39
|
-
} else {
|
|
40
|
-
renderPersonalChatBot(ev, chatUrl).finally(() => setIsLoading(false));
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
[chatUrl, chat],
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
return { load, isLoading };
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
const renderPersonalChatBot = async (ev: PreventableEventWithTarget, chatUrl: string) => {
|
|
50
|
-
const target = ev.target as HTMLElement;
|
|
51
|
-
|
|
52
|
-
if (!target?.classList.contains(CHAT_BUTTON_EXTERNAL_NAME)) {
|
|
53
|
-
target?.classList.add(CHAT_BUTTON_EXTERNAL_NAME);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
57
|
-
if (!chatFrame) {
|
|
58
|
-
await initializeExternalNS(CHAT_NAMESPACE, chatUrl);
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
const renderBusinessChatBot = async (chatUrl: string) => {
|
|
63
|
-
const businessChat = (await initializeExternalNS(
|
|
64
|
-
CHAT_NAMESPACE,
|
|
65
|
-
`${chatUrl}/bundle.js`,
|
|
66
|
-
true,
|
|
67
|
-
)) as WebChat;
|
|
68
|
-
|
|
69
|
-
initializeExternalStylesheet(`${chatUrl}/bundle.css`);
|
|
70
|
-
|
|
71
|
-
const chatFrame = globalThis.document.getElementById(CHAT_FRAME_ID);
|
|
72
|
-
if (chatFrame) {
|
|
73
|
-
businessChat?.chatOpen?.();
|
|
74
|
-
} else {
|
|
75
|
-
createChatFrame();
|
|
76
|
-
|
|
77
|
-
businessChat?.render?.(CHAT_FRAME_ID, true, BUSINESS_CHAT_PREFIX, BUSINESS_CHAT_CLASSNAME);
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const createChatFrame = () => {
|
|
82
|
-
const chatFrame = globalThis.document.createElement('div');
|
|
83
|
-
chatFrame.id = CHAT_FRAME_ID;
|
|
84
|
-
|
|
85
|
-
globalThis.document.body.appendChild(chatFrame);
|
|
86
|
-
};
|