@redneckz/wildless-cms-uni-blocks 0.14.599 → 0.14.601
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/EventBus/EventBus.d.ts +4 -17
- package/bundle/EventBus/defaultEventBus.d.ts +13 -2
- package/bundle/EventBus/useLatestEvent.d.ts +2 -0
- package/bundle/bundle.umd.js +91 -137
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardAction.d.ts +6 -0
- package/bundle/hooks/useLocation.d.ts +1 -2
- package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -11
- package/dist/EventBus/EventBus.d.ts +4 -17
- package/dist/EventBus/EventBus.js +10 -29
- package/dist/EventBus/EventBus.js.map +1 -1
- package/dist/EventBus/defaultEventBus.d.ts +13 -2
- package/dist/EventBus/defaultEventBus.js.map +1 -1
- package/dist/EventBus/useLatestEvent.d.ts +2 -0
- package/dist/EventBus/useLatestEvent.js +11 -0
- package/dist/EventBus/useLatestEvent.js.map +1 -0
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +25 -11
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardAction.d.ts +6 -0
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardAction.js +2 -0
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardAction.js.map +1 -0
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/OfficesAtmsMap/AtmsMap.js +1 -1
- package/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesMap.js +1 -1
- package/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js +1 -1
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/dist/hooks/useLocation.d.ts +1 -2
- package/dist/hooks/useLocation.js +33 -27
- package/dist/hooks/useLocation.js.map +1 -1
- package/dist/hooks/useRegions.js +1 -3
- package/dist/hooks/useRegions.js.map +1 -1
- package/dist/ui-kit/DialogManager/useDialogManager.js +3 -3
- package/dist/ui-kit/DialogManager/useDialogManager.js.map +1 -1
- package/dist/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/dist/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +1 -11
- package/dist/ui-kit/Foldable/Foldable.js +2 -10
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/FormField/constants.js +0 -1
- package/dist/ui-kit/FormField/constants.js.map +1 -1
- package/dist/ui-kit/FormField/getValidation.js +0 -1
- package/dist/ui-kit/FormField/getValidation.js.map +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.js +12 -9
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/PopupManager/PopupManager.js +1 -1
- package/dist/ui-kit/PopupManager/PopupManager.js.map +1 -1
- package/dist/ui-kit/PopupManager/usePopupManager.js +3 -3
- package/dist/ui-kit/PopupManager/usePopupManager.js.map +1 -1
- package/dist/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/lib/EventBus/EventBus.d.ts +4 -17
- package/lib/EventBus/EventBus.js +10 -29
- package/lib/EventBus/EventBus.js.map +1 -1
- package/lib/EventBus/defaultEventBus.d.ts +13 -2
- package/lib/EventBus/defaultEventBus.js.map +1 -1
- package/lib/EventBus/useLatestEvent.d.ts +2 -0
- package/lib/EventBus/useLatestEvent.js +8 -0
- package/lib/EventBus/useLatestEvent.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +26 -12
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardAction.d.ts +6 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardAction.js +2 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardAction.js.map +1 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +2 -2
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/OfficesAtmsMap/AtmsMap.js +2 -2
- package/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/components/OfficesAtmsMap/OfficesMap.js +2 -2
- package/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js +2 -2
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/lib/hooks/useLocation.d.ts +1 -2
- package/lib/hooks/useLocation.js +33 -26
- package/lib/hooks/useLocation.js.map +1 -1
- package/lib/hooks/useRegions.js +1 -3
- package/lib/hooks/useRegions.js.map +1 -1
- package/lib/ui-kit/DialogManager/useDialogManager.js +3 -3
- package/lib/ui-kit/DialogManager/useDialogManager.js.map +1 -1
- package/lib/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/lib/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +1 -11
- package/lib/ui-kit/Foldable/Foldable.js +2 -10
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/FormField/constants.js +0 -1
- package/lib/ui-kit/FormField/constants.js.map +1 -1
- package/lib/ui-kit/FormField/getValidation.js +0 -1
- package/lib/ui-kit/FormField/getValidation.js.map +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.js +13 -10
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/PopupManager/PopupManager.js +1 -1
- package/lib/ui-kit/PopupManager/PopupManager.js.map +1 -1
- package/lib/ui-kit/PopupManager/usePopupManager.js +3 -3
- package/lib/ui-kit/PopupManager/usePopupManager.js.map +1 -1
- package/lib/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/bundle/EventBus/EventBus.d.ts +4 -17
- package/mobile/bundle/EventBus/defaultEventBus.d.ts +13 -2
- package/mobile/bundle/EventBus/useLatestEvent.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +91 -137
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardAction.d.ts +6 -0
- package/mobile/bundle/hooks/useLocation.d.ts +1 -2
- package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -11
- package/mobile/dist/EventBus/EventBus.d.ts +4 -17
- package/mobile/dist/EventBus/EventBus.js +10 -29
- package/mobile/dist/EventBus/EventBus.js.map +1 -1
- package/mobile/dist/EventBus/defaultEventBus.d.ts +13 -2
- package/mobile/dist/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/dist/EventBus/useLatestEvent.d.ts +2 -0
- package/mobile/dist/EventBus/useLatestEvent.js +11 -0
- package/mobile/dist/EventBus/useLatestEvent.js.map +1 -0
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +25 -11
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardAction.d.ts +6 -0
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardAction.js +2 -0
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardAction.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/AtmsMap.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js +1 -1
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/dist/hooks/useLocation.d.ts +1 -2
- package/mobile/dist/hooks/useLocation.js +33 -27
- package/mobile/dist/hooks/useLocation.js.map +1 -1
- package/mobile/dist/hooks/useRegions.js +1 -3
- package/mobile/dist/hooks/useRegions.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/useDialogManager.js +3 -3
- package/mobile/dist/ui-kit/DialogManager/useDialogManager.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/mobile/dist/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -11
- package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -10
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/constants.js +0 -1
- package/mobile/dist/ui-kit/FormField/constants.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getValidation.js +0 -1
- package/mobile/dist/ui-kit/FormField/getValidation.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +12 -9
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/PopupManager/PopupManager.js +1 -1
- package/mobile/dist/ui-kit/PopupManager/PopupManager.js.map +1 -1
- package/mobile/dist/ui-kit/PopupManager/usePopupManager.js +3 -3
- package/mobile/dist/ui-kit/PopupManager/usePopupManager.js.map +1 -1
- package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/mobile/dist/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/lib/EventBus/EventBus.d.ts +4 -17
- package/mobile/lib/EventBus/EventBus.js +10 -29
- package/mobile/lib/EventBus/EventBus.js.map +1 -1
- package/mobile/lib/EventBus/defaultEventBus.d.ts +13 -2
- package/mobile/lib/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/lib/EventBus/useLatestEvent.d.ts +2 -0
- package/mobile/lib/EventBus/useLatestEvent.js +8 -0
- package/mobile/lib/EventBus/useLatestEvent.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +26 -12
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardAction.d.ts +6 -0
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardAction.js +2 -0
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardAction.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/AtmsMap.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/AtmsMap.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/OfficesMap.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js +2 -2
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
- package/mobile/lib/hooks/useLocation.d.ts +1 -2
- package/mobile/lib/hooks/useLocation.js +33 -26
- package/mobile/lib/hooks/useLocation.js.map +1 -1
- package/mobile/lib/hooks/useRegions.js +1 -3
- package/mobile/lib/hooks/useRegions.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/useDialogManager.js +3 -3
- package/mobile/lib/ui-kit/DialogManager/useDialogManager.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/useDialogsList.js +1 -1
- package/mobile/lib/ui-kit/DialogManager/useDialogsList.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -11
- package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -10
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/constants.js +0 -1
- package/mobile/lib/ui-kit/FormField/constants.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getValidation.js +0 -1
- package/mobile/lib/ui-kit/FormField/getValidation.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +13 -10
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/PopupManager/PopupManager.js +1 -1
- package/mobile/lib/ui-kit/PopupManager/PopupManager.js.map +1 -1
- package/mobile/lib/ui-kit/PopupManager/usePopupManager.js +3 -3
- package/mobile/lib/ui-kit/PopupManager/usePopupManager.js.map +1 -1
- package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js +2 -6
- package/mobile/lib/ui-kit/VerifyPhoneDialog/InputCode.js.map +1 -1
- package/mobile/src/EventBus/EventBus.ts +15 -51
- package/mobile/src/EventBus/defaultEventBus.ts +14 -2
- package/mobile/src/EventBus/useLatestEvent.ts +16 -0
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +66 -23
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardAction.ts +6 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -2
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +2 -2
- package/mobile/src/components/OfficesAtmsMap/AtmsMap.tsx +3 -2
- package/mobile/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -2
- package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
- package/mobile/src/hooks/useLocation.ts +44 -30
- package/mobile/src/hooks/useRegions.ts +1 -4
- package/mobile/src/ui-kit/DialogManager/useDialogManager.ts +3 -3
- package/mobile/src/ui-kit/DialogManager/useDialogsList.ts +1 -1
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +5 -21
- package/mobile/src/ui-kit/FormField/constants.tsx +0 -1
- package/mobile/src/ui-kit/FormField/getValidation.tsx +0 -1
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +25 -13
- package/mobile/src/ui-kit/PopupManager/PopupManager.tsx +1 -1
- package/mobile/src/ui-kit/PopupManager/usePopupManager.tsx +3 -3
- package/mobile/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +2 -6
- package/package.json +1 -1
- package/src/EventBus/EventBus.ts +15 -51
- package/src/EventBus/defaultEventBus.ts +14 -2
- package/src/EventBus/useLatestEvent.ts +16 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +66 -23
- package/src/components/CarouselTariffsCard/CarouselTariffsCardAction.ts +6 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -2
- package/src/components/Header/HeaderSecondaryMenu.tsx +2 -2
- package/src/components/OfficesAtmsMap/AtmsMap.tsx +3 -2
- package/src/components/OfficesAtmsMap/OfficesMap.tsx +2 -2
- package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +2 -2
- package/src/hooks/useLocation.ts +44 -30
- package/src/hooks/useRegions.ts +1 -4
- package/src/ui-kit/DialogManager/useDialogManager.ts +3 -3
- package/src/ui-kit/DialogManager/useDialogsList.ts +1 -1
- package/src/ui-kit/Foldable/Foldable.tsx +5 -21
- package/src/ui-kit/FormField/constants.tsx +0 -1
- package/src/ui-kit/FormField/getValidation.tsx +0 -1
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +25 -13
- package/src/ui-kit/PopupManager/PopupManager.tsx +1 -1
- package/src/ui-kit/PopupManager/usePopupManager.tsx +3 -3
- package/src/ui-kit/VerifyPhoneDialog/InputCode.tsx +2 -6
- package/bundle/EventBus/useSubject.d.ts +0 -2
- package/bundle/EventBus/useSubjectState.d.ts +0 -2
- package/bundle/components/CarouselTariffsCard/CardCellsSection.d.ts +0 -9
- package/bundle/components/CarouselTariffsCard/carouselTariffsCardEventBus.d.ts +0 -9
- package/bundle/hooks/useReducer.d.ts +0 -4
- package/bundle/ui-kit/LocationDialog/SelectedLocation.d.ts +0 -5
- package/dist/EventBus/useSubject.d.ts +0 -2
- package/dist/EventBus/useSubject.js +0 -17
- package/dist/EventBus/useSubject.js.map +0 -1
- package/dist/EventBus/useSubjectState.d.ts +0 -2
- package/dist/EventBus/useSubjectState.js +0 -10
- package/dist/EventBus/useSubjectState.js.map +0 -1
- package/dist/components/CarouselTariffsCard/CardCellsSection.d.ts +0 -9
- package/dist/components/CarouselTariffsCard/CardCellsSection.js +0 -18
- package/dist/components/CarouselTariffsCard/CardCellsSection.js.map +0 -1
- package/dist/components/CarouselTariffsCard/carouselTariffsCardEventBus.d.ts +0 -9
- package/dist/components/CarouselTariffsCard/carouselTariffsCardEventBus.js +0 -5
- package/dist/components/CarouselTariffsCard/carouselTariffsCardEventBus.js.map +0 -1
- package/dist/hooks/useReducer.d.ts +0 -4
- package/dist/hooks/useReducer.js +0 -12
- package/dist/hooks/useReducer.js.map +0 -1
- package/dist/ui-kit/LocationDialog/SelectedLocation.d.ts +0 -5
- package/dist/ui-kit/LocationDialog/SelectedLocation.js +0 -15
- package/dist/ui-kit/LocationDialog/SelectedLocation.js.map +0 -1
- package/lib/EventBus/useSubject.d.ts +0 -2
- package/lib/EventBus/useSubject.js +0 -14
- package/lib/EventBus/useSubject.js.map +0 -1
- package/lib/EventBus/useSubjectState.d.ts +0 -2
- package/lib/EventBus/useSubjectState.js +0 -7
- package/lib/EventBus/useSubjectState.js.map +0 -1
- package/lib/components/CarouselTariffsCard/CardCellsSection.d.ts +0 -9
- package/lib/components/CarouselTariffsCard/CardCellsSection.js +0 -16
- package/lib/components/CarouselTariffsCard/CardCellsSection.js.map +0 -1
- package/lib/components/CarouselTariffsCard/carouselTariffsCardEventBus.d.ts +0 -9
- package/lib/components/CarouselTariffsCard/carouselTariffsCardEventBus.js +0 -3
- package/lib/components/CarouselTariffsCard/carouselTariffsCardEventBus.js.map +0 -1
- package/lib/hooks/useReducer.d.ts +0 -4
- package/lib/hooks/useReducer.js +0 -9
- package/lib/hooks/useReducer.js.map +0 -1
- package/lib/ui-kit/LocationDialog/SelectedLocation.d.ts +0 -5
- package/lib/ui-kit/LocationDialog/SelectedLocation.js +0 -13
- package/lib/ui-kit/LocationDialog/SelectedLocation.js.map +0 -1
- package/mobile/bundle/EventBus/useSubject.d.ts +0 -2
- package/mobile/bundle/EventBus/useSubjectState.d.ts +0 -2
- package/mobile/bundle/components/CarouselTariffsCard/CardCellsSection.d.ts +0 -9
- package/mobile/bundle/components/CarouselTariffsCard/carouselTariffsCardEventBus.d.ts +0 -9
- package/mobile/bundle/hooks/useReducer.d.ts +0 -4
- package/mobile/bundle/ui-kit/LocationDialog/SelectedLocation.d.ts +0 -5
- package/mobile/dist/EventBus/useSubject.d.ts +0 -2
- package/mobile/dist/EventBus/useSubject.js +0 -17
- package/mobile/dist/EventBus/useSubject.js.map +0 -1
- package/mobile/dist/EventBus/useSubjectState.d.ts +0 -2
- package/mobile/dist/EventBus/useSubjectState.js +0 -10
- package/mobile/dist/EventBus/useSubjectState.js.map +0 -1
- package/mobile/dist/components/CarouselTariffsCard/CardCellsSection.d.ts +0 -9
- package/mobile/dist/components/CarouselTariffsCard/CardCellsSection.js +0 -18
- package/mobile/dist/components/CarouselTariffsCard/CardCellsSection.js.map +0 -1
- package/mobile/dist/components/CarouselTariffsCard/carouselTariffsCardEventBus.d.ts +0 -9
- package/mobile/dist/components/CarouselTariffsCard/carouselTariffsCardEventBus.js +0 -5
- package/mobile/dist/components/CarouselTariffsCard/carouselTariffsCardEventBus.js.map +0 -1
- package/mobile/dist/hooks/useReducer.d.ts +0 -4
- package/mobile/dist/hooks/useReducer.js +0 -12
- package/mobile/dist/hooks/useReducer.js.map +0 -1
- package/mobile/dist/ui-kit/LocationDialog/SelectedLocation.d.ts +0 -5
- package/mobile/dist/ui-kit/LocationDialog/SelectedLocation.js +0 -15
- package/mobile/dist/ui-kit/LocationDialog/SelectedLocation.js.map +0 -1
- package/mobile/lib/EventBus/useSubject.d.ts +0 -2
- package/mobile/lib/EventBus/useSubject.js +0 -14
- package/mobile/lib/EventBus/useSubject.js.map +0 -1
- package/mobile/lib/EventBus/useSubjectState.d.ts +0 -2
- package/mobile/lib/EventBus/useSubjectState.js +0 -7
- package/mobile/lib/EventBus/useSubjectState.js.map +0 -1
- package/mobile/lib/components/CarouselTariffsCard/CardCellsSection.d.ts +0 -9
- package/mobile/lib/components/CarouselTariffsCard/CardCellsSection.js +0 -16
- package/mobile/lib/components/CarouselTariffsCard/CardCellsSection.js.map +0 -1
- package/mobile/lib/components/CarouselTariffsCard/carouselTariffsCardEventBus.d.ts +0 -9
- package/mobile/lib/components/CarouselTariffsCard/carouselTariffsCardEventBus.js +0 -3
- package/mobile/lib/components/CarouselTariffsCard/carouselTariffsCardEventBus.js.map +0 -1
- package/mobile/lib/hooks/useReducer.d.ts +0 -4
- package/mobile/lib/hooks/useReducer.js +0 -9
- package/mobile/lib/hooks/useReducer.js.map +0 -1
- package/mobile/lib/ui-kit/LocationDialog/SelectedLocation.d.ts +0 -5
- package/mobile/lib/ui-kit/LocationDialog/SelectedLocation.js +0 -13
- package/mobile/lib/ui-kit/LocationDialog/SelectedLocation.js.map +0 -1
- package/mobile/src/EventBus/useSubject.ts +0 -19
- package/mobile/src/EventBus/useSubjectState.ts +0 -13
- package/mobile/src/components/CarouselTariffsCard/CardCellsSection.tsx +0 -54
- package/mobile/src/components/CarouselTariffsCard/carouselTariffsCardEventBus.ts +0 -11
- package/mobile/src/hooks/useReducer.ts +0 -21
- package/mobile/src/ui-kit/LocationDialog/SelectedLocation.tsx +0 -27
- package/src/EventBus/useSubject.ts +0 -19
- package/src/EventBus/useSubjectState.ts +0 -13
- package/src/components/CarouselTariffsCard/CardCellsSection.tsx +0 -54
- package/src/components/CarouselTariffsCard/carouselTariffsCardEventBus.ts +0 -11
- package/src/hooks/useReducer.ts +0 -21
- package/src/ui-kit/LocationDialog/SelectedLocation.tsx +0 -27
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defaultEventBus } from '../../EventBus/defaultEventBus.js';
|
|
2
2
|
export const usePopupManager = () => ({
|
|
3
|
-
open: (popup, options) => defaultEventBus.
|
|
4
|
-
update: (popup, options) => defaultEventBus.
|
|
5
|
-
close: () => defaultEventBus.
|
|
3
|
+
open: (popup, options) => defaultEventBus.fire('popup', { type: 'open', popup, ...options }),
|
|
4
|
+
update: (popup, options) => defaultEventBus.fire('popup', { type: 'update', popup, ...options }),
|
|
5
|
+
close: () => defaultEventBus.fire('popup', { type: 'close' }),
|
|
6
6
|
});
|
|
7
7
|
//# sourceMappingURL=usePopupManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePopupManager.js","sourceRoot":"","sources":["../../../src/ui-kit/PopupManager/usePopupManager.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAIjE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,CAAC;IACpC,IAAI,EAAE,CAAC,KAAY,EAAE,OAAqB,EAAE,EAAE,CAC5C,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"usePopupManager.js","sourceRoot":"","sources":["../../../src/ui-kit/PopupManager/usePopupManager.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAIjE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,CAAC;IACpC,IAAI,EAAE,CAAC,KAAY,EAAE,OAAqB,EAAE,EAAE,CAC5C,eAAe,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC;IACpE,MAAM,EAAE,CAAC,KAAY,EAAE,OAAqB,EAAE,EAAE,CAC9C,eAAe,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC;IACtE,KAAK,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;CAC9D,CAAC,CAAC"}
|
|
@@ -9,12 +9,8 @@ export const InputCode = JSX(({ values, setValues, hasError, errorText }) => {
|
|
|
9
9
|
}, [activeIndex]);
|
|
10
10
|
const handleChange = useCallback((index) => (event) => {
|
|
11
11
|
const { value } = event.currentTarget;
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
if (isLastIndex && isMultipleCharacters) {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
setValues(values.map((_, i) => (i === index ? value : _)));
|
|
12
|
+
const oneValue = value.slice(0, 1);
|
|
13
|
+
setValues(values.map((_, i) => (i === index ? oneValue : _)));
|
|
18
14
|
setActiveIndex(index + 1);
|
|
19
15
|
}, [values]);
|
|
20
16
|
const handleKeyDown = useCallback((currentIndex) => (event) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputCode.js","sourceRoot":"","sources":["../../../src/ui-kit/VerifyPhoneDialog/InputCode.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AASvF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAiB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE;IAC1F,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClD,MAAM,SAAS,GAAG,MAAM,CAAqB,EAAE,CAAC,CAAC;IAEjD,SAAS,CAAC,GAAG,EAAE;QACb,SAAS,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,CAAC;IAC5C,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,KAA0C,EAAE,EAAE;QAChE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,aAAa,CAAC;QACtC,MAAM,
|
|
1
|
+
{"version":3,"file":"InputCode.js","sourceRoot":"","sources":["../../../src/ui-kit/VerifyPhoneDialog/InputCode.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
export interface EventBusObservable<EM extends Record<string, any>> {
|
|
4
|
-
subscribe<K extends keyof EM>(type: K, listener: Subscriber<EM[K]>): Cleanup;
|
|
5
|
-
}
|
|
6
|
-
export interface EventBusEmitter<EM extends Record<string, any>> {
|
|
7
|
-
fire<K extends keyof EM>(type: K, event: EM[K]): void;
|
|
8
|
-
subject<K extends keyof EM>(type: K, event: EM[K]): Cleanup;
|
|
9
|
-
}
|
|
10
|
-
export declare class EventBus<EM extends Record<string, any>> implements EventBusObservable<EM>, EventBusEmitter<EM> {
|
|
11
|
-
private subscribersMap;
|
|
1
|
+
export declare class EventBus<EM extends Record<string, any>> {
|
|
2
|
+
private subscribers;
|
|
12
3
|
private subjectsStateMap;
|
|
13
|
-
|
|
14
|
-
readonly observable: EventBusObservable<EM>;
|
|
15
|
-
subscribe<K extends keyof EM>(type: K, listener: Subscriber<EM[K]>): Cleanup;
|
|
4
|
+
subscribe<K extends keyof EM>(type: K, listener: (event: EM[K]) => void): () => void;
|
|
16
5
|
private unsubscribe;
|
|
17
6
|
fire<K extends keyof EM>(type: K, event: EM[K]): void;
|
|
18
|
-
subject<K extends keyof EM>(type: K, event: EM[K]):
|
|
19
|
-
private fireSubscribers;
|
|
7
|
+
subject<K extends keyof EM>(type: K, event: EM[K]): void;
|
|
20
8
|
}
|
|
21
|
-
export {};
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
import { type CarouselTariffsCardAction } from '../components/CarouselTariffsCard/CarouselTariffsCardAction';
|
|
2
|
+
import { type Tab } from '../components/TabsLayout/TabsLayoutContent';
|
|
1
3
|
import { type Region } from '../hooks/useRegions';
|
|
2
4
|
import { type DialogAction } from '../ui-kit/DialogManager/DialogAction';
|
|
3
5
|
import { type PopupAction } from '../ui-kit/PopupManager/PopupAction';
|
|
4
6
|
import { EventBus } from './EventBus';
|
|
5
|
-
|
|
7
|
+
interface TabActivationEvent {
|
|
8
|
+
type?: Tab['type'];
|
|
9
|
+
groupName?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
}
|
|
12
|
+
interface GlobalEventMap {
|
|
6
13
|
location: Region;
|
|
7
14
|
dialog: DialogAction;
|
|
8
15
|
popup: PopupAction;
|
|
9
|
-
|
|
16
|
+
tab: TabActivationEvent;
|
|
17
|
+
fold: CarouselTariffsCardAction;
|
|
18
|
+
}
|
|
19
|
+
export declare const defaultEventBus: EventBus<GlobalEventMap>;
|
|
20
|
+
export {};
|
|
@@ -411,58 +411,39 @@
|
|
|
411
411
|
].join(' ');
|
|
412
412
|
|
|
413
413
|
class EventBus {
|
|
414
|
-
|
|
414
|
+
subscribers = {};
|
|
415
415
|
subjectsStateMap = {};
|
|
416
|
-
emitter = this;
|
|
417
|
-
observable = this;
|
|
418
416
|
subscribe(type, listener) {
|
|
419
|
-
this.
|
|
420
|
-
this.
|
|
421
|
-
|
|
417
|
+
this.subscribers[type] = (this.subscribers[type] || []).concat(listener);
|
|
418
|
+
const latestEvent = this.subjectsStateMap[type];
|
|
419
|
+
if (latestEvent) {
|
|
420
|
+
listener(latestEvent);
|
|
421
|
+
}
|
|
422
422
|
return () => {
|
|
423
423
|
this.unsubscribe(type, listener);
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
426
|
unsubscribe(type, listener) {
|
|
427
|
-
|
|
428
|
-
if (index && index !== -1) {
|
|
429
|
-
this.subscribersMap[type]?.splice(index, 1);
|
|
430
|
-
}
|
|
427
|
+
this.subscribers[type] = this.subscribers[type]?.filter((s) => s !== listener);
|
|
431
428
|
}
|
|
432
429
|
fire(type, event) {
|
|
433
430
|
const isSubjectDeclared = type in this.subjectsStateMap;
|
|
434
431
|
if (isSubjectDeclared) {
|
|
435
|
-
this.subject(type, event);
|
|
436
|
-
}
|
|
437
|
-
else {
|
|
438
|
-
this.fireSubscribers(this.subscribersMap[type], event);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
subject(type, event) {
|
|
442
|
-
if (this.subjectsStateMap[type] !== event) {
|
|
443
432
|
this.subjectsStateMap[type] = event;
|
|
444
|
-
this.fireSubscribers(this.subscribersMap[type], event);
|
|
445
433
|
}
|
|
446
|
-
|
|
447
|
-
delete this.subjectsStateMap[type];
|
|
448
|
-
};
|
|
434
|
+
this.subscribers[type]?.forEach((s) => s(event));
|
|
449
435
|
}
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
return;
|
|
453
|
-
}
|
|
454
|
-
for (const _ of subscribers) {
|
|
455
|
-
_(event);
|
|
456
|
-
}
|
|
436
|
+
subject(type, event) {
|
|
437
|
+
this.subjectsStateMap[type] = event;
|
|
457
438
|
}
|
|
458
439
|
}
|
|
459
440
|
|
|
460
441
|
const defaultEventBus = new EventBus();
|
|
461
442
|
|
|
462
443
|
const useDialogManager = () => ({
|
|
463
|
-
open: (dialog, options = {}) => defaultEventBus.
|
|
464
|
-
close: () => defaultEventBus.
|
|
465
|
-
closeAll: () => defaultEventBus.
|
|
444
|
+
open: (dialog, options = {}) => defaultEventBus.fire('dialog', { type: 'open', dialog, ...options }),
|
|
445
|
+
close: () => defaultEventBus.fire('dialog', { type: 'close' }),
|
|
446
|
+
closeAll: () => defaultEventBus.fire('dialog', { type: 'close', all: true }),
|
|
466
447
|
});
|
|
467
448
|
|
|
468
449
|
const adjustBase = (href, basePath = '') => href.replace(basePath, '') || '/';
|
|
@@ -1117,7 +1098,6 @@
|
|
|
1117
1098
|
{ key: 'phone', text: 'Телефонный звонок' },
|
|
1118
1099
|
{ key: 'email', text: 'Электронное сообщение' },
|
|
1119
1100
|
];
|
|
1120
|
-
// TODO Тоже надо рефакторить - файлик constants
|
|
1121
1101
|
const OUT_SERVICE_URL = '/api/v1/outservice/outserviceregions';
|
|
1122
1102
|
|
|
1123
1103
|
const getRegionUrl = (typeForm) => typeForm === 'OUTSERVICE' ? OUT_SERVICE_URL : undefined;
|
|
@@ -1324,9 +1304,9 @@
|
|
|
1324
1304
|
};
|
|
1325
1305
|
|
|
1326
1306
|
const usePopupManager = () => ({
|
|
1327
|
-
open: (popup, options) => defaultEventBus.
|
|
1328
|
-
update: (popup, options) => defaultEventBus.
|
|
1329
|
-
close: () => defaultEventBus.
|
|
1307
|
+
open: (popup, options) => defaultEventBus.fire('popup', { type: 'open', popup, ...options }),
|
|
1308
|
+
update: (popup, options) => defaultEventBus.fire('popup', { type: 'update', popup, ...options }),
|
|
1309
|
+
close: () => defaultEventBus.fire('popup', { type: 'close' }),
|
|
1330
1310
|
});
|
|
1331
1311
|
|
|
1332
1312
|
const InputPopup = JSX(({ options, onChange }) => (jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-2xl", role: "list", children: options?.map((item, key) => (jsx("div", { className: "flex px-m py-s cursor-pointer hover:bg-main-divider pr-5xl relative", role: "listitem", onMouseDown: () => onChange(item), children: jsx("span", { className: "min-h-6", children: item.processedValue }) }, key.toString()))) })));
|
|
@@ -1595,7 +1575,6 @@
|
|
|
1595
1575
|
};
|
|
1596
1576
|
};
|
|
1597
1577
|
|
|
1598
|
-
// TODO Зачем это?
|
|
1599
1578
|
const getValidation = (field, validator, required = false) => required ? withValidator(field, validator) : field;
|
|
1600
1579
|
|
|
1601
1580
|
const ACQUIRING_TYPES = [
|
|
@@ -2097,11 +2076,9 @@
|
|
|
2097
2076
|
const LegalFormField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u041E\u041F\u0424", placeholder: "\u041E\u041E\u041E, \u041F\u0410\u041E \u0438 \u0434\u0440.", ...getValidation(field('legalForm'), validatorObj.legalForm, input?.required), ...input })));
|
|
2098
2077
|
|
|
2099
2078
|
const REGIONS_URL = '/api/v1/regions';
|
|
2100
|
-
const EMPTY_REGIONS = [];
|
|
2101
|
-
// TODO Почему url можно менять? Разве смысл не в инкапсуляции api url. Тоже под рефакторинг попадает
|
|
2102
2079
|
function useRegions(url = REGIONS_URL) {
|
|
2103
2080
|
const { data } = useAsyncData(url, fetchJSONUnsafe);
|
|
2104
|
-
return Array.isArray(data) ? data :
|
|
2081
|
+
return Array.isArray(data) ? data : [];
|
|
2105
2082
|
}
|
|
2106
2083
|
|
|
2107
2084
|
const LocalitiesField = JSX(({ field, input }) => {
|
|
@@ -2643,14 +2620,6 @@
|
|
|
2643
2620
|
return { ...formState, typeForm: { key: typeForm, text: '' } };
|
|
2644
2621
|
};
|
|
2645
2622
|
|
|
2646
|
-
const FoldableWrapper = JSX(({ className, children }) => (jsx("div", { className: className, role: "group", children: children })));
|
|
2647
|
-
/**
|
|
2648
|
-
* Какой то бесполезный компонент. Его можно заменить на useBool
|
|
2649
|
-
* Лучше оставить только обёрточный div с необходимой атрибутикой
|
|
2650
|
-
* и сделать пассивный компонент
|
|
2651
|
-
*
|
|
2652
|
-
* @deprecated
|
|
2653
|
-
*/
|
|
2654
2623
|
const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
|
|
2655
2624
|
const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
|
|
2656
2625
|
const onToggle = useCallback(() => {
|
|
@@ -2658,7 +2627,7 @@
|
|
|
2658
2627
|
}, []);
|
|
2659
2628
|
const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
|
|
2660
2629
|
const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
|
|
2661
|
-
return isFoldButtonOnTop ? (jsxs(
|
|
2630
|
+
return isFoldButtonOnTop ? (jsxs("div", { className: className, role: "group", children: [buttonNode, sectionNode] })) : (jsxs("div", { className: className, role: "group", children: [sectionNode, buttonNode] }));
|
|
2662
2631
|
});
|
|
2663
2632
|
|
|
2664
2633
|
function useResizeObserver(callback, deps) {
|
|
@@ -2927,12 +2896,8 @@
|
|
|
2927
2896
|
}, [activeIndex]);
|
|
2928
2897
|
const handleChange = useCallback((index) => (event) => {
|
|
2929
2898
|
const { value } = event.currentTarget;
|
|
2930
|
-
const
|
|
2931
|
-
|
|
2932
|
-
if (isLastIndex && isMultipleCharacters) {
|
|
2933
|
-
return;
|
|
2934
|
-
}
|
|
2935
|
-
setValues(values.map((_, i) => (i === index ? value : _)));
|
|
2899
|
+
const oneValue = value.slice(0, 1);
|
|
2900
|
+
setValues(values.map((_, i) => (i === index ? oneValue : _)));
|
|
2936
2901
|
setActiveIndex(index + 1);
|
|
2937
2902
|
}, [values]);
|
|
2938
2903
|
const handleKeyDown = useCallback((currentIndex) => (event) => {
|
|
@@ -4751,37 +4716,31 @@
|
|
|
4751
4716
|
const CarouselRecommendationCard = JSX(({ className, padding, description, additionalDescription, href, icon, isDotted, __html, socialMedia = [], target, title, align = 'text-left', benefits, imageOptions: { directionRight = true, isImageAlwaysOnRight = ImageAlwaysOnRight, isImageSecondary = false, } = {}, data, ...rest }) => (jsx(BlockWrapper, { className: style('relative min-h-28 group-data-gray:bg-main-divider/50', className), defaultPadding: "p-0", ...rest, children: jsx(LinkWrapper, { href: href, target: target, className: "h-full", data: getAspectsWithInclude(data), children: jsxs(BaseTile, { className: "h-full", defaultPadding: "p-2xl", padding: padding, insetTitle: jsx(Headline, { title: title, description: description, headlineVersion: "XS", isEmbedded: true, align: align }), ...leftOrRightImage(isIcon(icon) ? jsx(Img, { image: icon }) : null, directionRight), buttons: socialMedia.length ? (jsx(SocialMedia, { media: socialMedia, stretched: true, showButtonText: true, version: rest?.version })) : null, isImageAlwaysOnRight: isImageAlwaysOnRight, isImageSecondary: isImageSecondary, imageAlign: "center", children: [jsx(BenefitsList, { benefits: benefits }), __html ? jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) : null, renderAdditionalDescription(additionalDescription, align)] }) }) })));
|
|
4752
4717
|
const renderAdditionalDescription = (additionalDescription, align) => additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", align: align, children: additionalDescription })) : null;
|
|
4753
4718
|
|
|
4754
|
-
const useSubjectState = (eventBus, type, initialState) => {
|
|
4755
|
-
const [state, setState] = useState(initialState);
|
|
4756
|
-
useEffect(() => eventBus.subscribe(type, setState), [eventBus, type]);
|
|
4757
|
-
return state;
|
|
4758
|
-
};
|
|
4759
|
-
|
|
4760
4719
|
const renderCardInfo = (cell, i) => {
|
|
4761
4720
|
const { title, description, buttons } = cell;
|
|
4762
4721
|
return (jsxs("div", { className: "py-lg border-b border-main-divider", children: [title ? (jsx("div", { className: "opacity-80", children: jsx(Text, { size: "text-m", color: "text-secondary-text", children: title }) })) : null, description ? (jsx("div", { className: "mt-2xs", children: jsx(Text, { size: "text-xl", color: "text-primary-text", children: description }) })) : null, buttons?.length ? (jsx("div", { className: "text-primary-main", children: renderButtonsSection(buttons) })) : null] }, String(i)));
|
|
4763
4722
|
};
|
|
4764
4723
|
|
|
4765
|
-
const
|
|
4766
|
-
const
|
|
4767
|
-
const [visibleCells, hiddenCells] = visibleCellsCount > 0
|
|
4768
|
-
? [
|
|
4769
|
-
: [
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
parent
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4724
|
+
const CarouselTariffsCard = JSX(({ className = '', title, align = 'text-center', icon, button, visibleCellsCount = 1, cardCells = [], options, data, ...rest }) => {
|
|
4725
|
+
const cellsNode = cardCells.map(renderCardInfo);
|
|
4726
|
+
const [visibleCells, hiddenCells] = visibleCellsCount > 0
|
|
4727
|
+
? [cellsNode.slice(0, visibleCellsCount), cellsNode.slice(visibleCellsCount)]
|
|
4728
|
+
: [cellsNode, []];
|
|
4729
|
+
const [isVisible, setIsVisible] = useState(false);
|
|
4730
|
+
useEffect(() => defaultEventBus.subscribe('fold', (event) => {
|
|
4731
|
+
if (options?.parent !== undefined && event.parent === options?.parent) {
|
|
4732
|
+
setIsVisible(event.isUnfolded);
|
|
4733
|
+
}
|
|
4734
|
+
}), [options?.parent]);
|
|
4735
|
+
return (jsxs(BlockWrapper, { className: style('flex flex-col', className), defaultPadding: "p-2xl", ...rest, children: [isIcon(icon) ? (jsx("div", { className: "self-center", children: jsx(Img, { image: icon }) })) : null, title ? (jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button?.text ? jsx(LinkButton, { className: "w-full mt-m mb-lg", ...button }) : null, hiddenCells.length ? (jsx(Foldable, { renderFoldableSection: () => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isVisible, children: hiddenCells })] })), renderFoldButton: cardCells.length >= visibleCellsCount
|
|
4736
|
+
? renderFoldButton$3(options?.parent, data, isVisible)
|
|
4737
|
+
: null })) : (jsx("div", { children: visibleCells }))] }));
|
|
4738
|
+
});
|
|
4739
|
+
const renderFoldButton$3 = (parent, data, isUnfolded = false) => () => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-lg flex justify-between items-center", onClick: () => {
|
|
4740
|
+
if (parent !== undefined) {
|
|
4741
|
+
defaultEventBus.fire('fold', { type: 'fold', isUnfolded: !isUnfolded, parent });
|
|
4742
|
+
}
|
|
4743
|
+
}, type: "button", ...(isUnfolded ? getAspectsAttributes(data) : {}), children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
|
|
4785
4744
|
|
|
4786
4745
|
const isRateRow = (rateRow) => typeof rateRow?.minMonths === 'number' && typeof rateRow?.maxMonths === 'number';
|
|
4787
4746
|
|
|
@@ -4948,46 +4907,47 @@
|
|
|
4948
4907
|
};
|
|
4949
4908
|
const ErrorBlock = JSX(({ className = '', title, description, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: style('p-6xl'), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center", children: renderErrorContent(error) }), jsx(Headline, { title: title, description: description, headlineVersion: "XL", isEmbedded: true, className: "mb-2xl last:mb-0" }), button?.text ? (jsx(LinkButton, { version: button?.version, text: button?.text, ...button })) : null] })));
|
|
4950
4909
|
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
else {
|
|
4958
|
-
eventBus.subject(type, state);
|
|
4959
|
-
}
|
|
4960
|
-
}, [eventBus, type]);
|
|
4961
|
-
return useCallback((_) => eventBus.fire(type, _), [eventBus, type]);
|
|
4962
|
-
}
|
|
4910
|
+
const useLatestEvent = (eventBus, type, initialEvent) => {
|
|
4911
|
+
const [latestEvent, setLatestEvent] = useState(initialEvent || null);
|
|
4912
|
+
useEffect(() => eventBus.subscribe(type, (_) => setLatestEvent(_)), [eventBus, type]);
|
|
4913
|
+
const fireEvent = useCallback((_) => eventBus.fire(type, _), [eventBus, type]);
|
|
4914
|
+
return [latestEvent, fireEvent];
|
|
4915
|
+
};
|
|
4963
4916
|
|
|
4964
4917
|
const REGION_URL = '/api/v1/region';
|
|
4965
4918
|
const LOCATION_STORAGE_KEY = 'location';
|
|
4966
4919
|
function useLocation(defaultLocation = 'Москва') {
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
storeLocation(await fetchJSON(REGION_URL));
|
|
4977
|
-
}
|
|
4978
|
-
const storedLocation = globalThis.localStorage?.getItem(LOCATION_STORAGE_KEY);
|
|
4979
|
-
try {
|
|
4980
|
-
return storedLocation && JSON.parse(storedLocation);
|
|
4981
|
-
}
|
|
4982
|
-
catch (ex) {
|
|
4983
|
-
// Do nothing
|
|
4920
|
+
const [currentLocation, fireCurrentLocation] = useLatestEvent(defaultEventBus, 'location', restoreLocation() ?? { name: defaultLocation });
|
|
4921
|
+
const selectCurrentLocation = useCallback((_) => {
|
|
4922
|
+
storeLocation(_);
|
|
4923
|
+
fireCurrentLocation(_);
|
|
4924
|
+
}, []);
|
|
4925
|
+
const { data } = useAsyncData(hasStoredLocation() ? null : REGION_URL, fetchJSONUnsafe);
|
|
4926
|
+
useEffect(() => {
|
|
4927
|
+
if (data && !hasStoredLocation()) {
|
|
4928
|
+
fireCurrentLocation(data);
|
|
4984
4929
|
}
|
|
4985
|
-
|
|
4986
|
-
};
|
|
4987
|
-
}
|
|
4988
|
-
function storeLocation(_) {
|
|
4989
|
-
_ && globalThis.localStorage?.setItem(LOCATION_STORAGE_KEY, JSON.stringify(_));
|
|
4930
|
+
}, [data]);
|
|
4931
|
+
return [currentLocation ?? { name: defaultLocation }, selectCurrentLocation];
|
|
4990
4932
|
}
|
|
4933
|
+
const hasStoredLocation = () => Boolean(globalThis.localStorage?.getItem(LOCATION_STORAGE_KEY));
|
|
4934
|
+
const restoreLocation = () => {
|
|
4935
|
+
try {
|
|
4936
|
+
const data = globalThis.localStorage?.getItem(LOCATION_STORAGE_KEY);
|
|
4937
|
+
return data && JSON.parse(data);
|
|
4938
|
+
}
|
|
4939
|
+
catch (ex) {
|
|
4940
|
+
return null;
|
|
4941
|
+
}
|
|
4942
|
+
};
|
|
4943
|
+
const storeLocation = (_) => {
|
|
4944
|
+
try {
|
|
4945
|
+
globalThis.localStorage?.setItem(LOCATION_STORAGE_KEY, JSON.stringify(_));
|
|
4946
|
+
}
|
|
4947
|
+
catch (ex) {
|
|
4948
|
+
// Do nothing
|
|
4949
|
+
}
|
|
4950
|
+
};
|
|
4991
4951
|
|
|
4992
4952
|
var Currency;
|
|
4993
4953
|
(function (Currency) {
|
|
@@ -5129,7 +5089,7 @@
|
|
|
5129
5089
|
}
|
|
5130
5090
|
|
|
5131
5091
|
const ExchangeRateTile = JSX(({ className = '', title = 'Курсы обмена валют', button, ...rest }) => {
|
|
5132
|
-
const currentLocation =
|
|
5092
|
+
const [currentLocation] = useLocation();
|
|
5133
5093
|
const exchangeRates = useFetchExchangeRateData(currentLocation);
|
|
5134
5094
|
const currencyRates = getCurrencyRates(exchangeRates?.exchangeRate?.currencies);
|
|
5135
5095
|
const currencyRatesBuy = currencyRates.filter((_) => _.buyExchangeRate);
|
|
@@ -5982,7 +5942,7 @@
|
|
|
5982
5942
|
designDisabledPeople: (item) => Boolean(item.designDisabledPeople),
|
|
5983
5943
|
};
|
|
5984
5944
|
const AtmsMap = JSX(({ descriptionData, className }) => {
|
|
5985
|
-
const currentLocation =
|
|
5945
|
+
const [currentLocation] = useLocation();
|
|
5986
5946
|
const regionCode = currentLocation?.code ?? '000';
|
|
5987
5947
|
const { data: officesData, isLoad } = useAtms(regionCode);
|
|
5988
5948
|
return (jsx(OfficesAtmsMapLayout, { className: className, filterItems: filterItems, data: officesData, isLoad: isLoad, initFilterState: INITIAL_FILTRATION_STATE, renderCard: renderAtmCard, getBalloon: getAtmPoint, title: `Банкоматы филиала ${currentLocation?.name}`, descriptionData: descriptionData }));
|
|
@@ -6201,7 +6161,7 @@
|
|
|
6201
6161
|
};
|
|
6202
6162
|
|
|
6203
6163
|
const OfficesMap = JSX(({ className }) => {
|
|
6204
|
-
const currentLocation =
|
|
6164
|
+
const [currentLocation] = useLocation();
|
|
6205
6165
|
const regionCode = currentLocation?.code ?? '000';
|
|
6206
6166
|
const { data, isLoad } = useOffices(regionCode);
|
|
6207
6167
|
return (jsx(OfficesAtmsMapLayout, { className: className, data: data?.branches, isLoad: isLoad, remoteWorkplaces: data?.remoteWorkplaces, renderCard: renderOfficeCard, renderRemoteWorkplaceCard: renderRemoteWorkplaceCard, getBalloon: getOfficePoint, getBalloonRemoteWorkplaces: getRemoteWorkplacePoint, title: `Офисы филиала ${currentLocation?.name}` }));
|
|
@@ -6449,7 +6409,7 @@
|
|
|
6449
6409
|
onClose && onClose(dialogs[dialogs.length - 1]);
|
|
6450
6410
|
pop();
|
|
6451
6411
|
}, [dialogs, onClose]);
|
|
6452
|
-
useEffect(() => defaultEventBus.
|
|
6412
|
+
useEffect(() => defaultEventBus.subscribe('dialog', (action) => {
|
|
6453
6413
|
switch (action.type) {
|
|
6454
6414
|
case 'open':
|
|
6455
6415
|
push(action);
|
|
@@ -6558,33 +6518,27 @@
|
|
|
6558
6518
|
return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsx("div", { className: "absolute rounded h-full flex items-center justify-center pl-m max-w-44 gap-s pointer-events-none", children: searchTerm ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text `, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0444\u0438\u043B\u0438\u0430\u043B\u0430\u043C" })) }), jsx("input", { id: "search-bar-input", className: style(inputValidStyle, `h-12 pl-m w-full peer text-l text-black rounded-md box-border`), value: searchTerm, onChange: (e) => onSearch(e.target.value.toLowerCase()), type: "text", name: "location-search-bar-input" })] }));
|
|
6559
6519
|
});
|
|
6560
6520
|
|
|
6561
|
-
const SelectedLocation = JSX(({ defaultLocation }) => {
|
|
6562
|
-
const currentLocation = useLocationState(defaultLocation);
|
|
6563
|
-
const link = useLink();
|
|
6564
|
-
const { href } = link({ href: `/branches/${currentLocation.slug}` });
|
|
6565
|
-
return currentLocation ? (jsx("div", { className: "mb-s", children: jsxs(Paragraph, { size: "text-l", color: "text-primary-text", children: ["\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:", jsx(LinkWrapper, { href: href, className: "inline mx-2xs text-primary-main", children: currentLocation.name })] }) })) : null;
|
|
6566
|
-
});
|
|
6567
|
-
|
|
6568
6521
|
const SEARCH_TERM_MIN_LENGTH = 3;
|
|
6569
6522
|
const LocationDialog = JSX(({ foreignOffices, branches }) => {
|
|
6570
|
-
const
|
|
6523
|
+
const [currentLocation, selectCurrentLocation] = useLocation(branches?.default);
|
|
6524
|
+
const link = useLink();
|
|
6525
|
+
const { href } = link({ href: `/branches/${currentLocation.slug}` });
|
|
6571
6526
|
const [query, setQuery] = useState('');
|
|
6572
|
-
const
|
|
6573
|
-
const
|
|
6574
|
-
const regionsGroupByLetter = useMemo(() => groupBy(regions, regionFirstLetter), [regions]);
|
|
6527
|
+
const regions = cleanUpRegions(useRegions()).sort((a, b) => a.name.localeCompare(b.name));
|
|
6528
|
+
const regionsGroupByLetter = groupBy(regions, regionFirstLetter);
|
|
6575
6529
|
const { close } = useDialogManager();
|
|
6576
6530
|
const handleChangeLocation = useCallback((region) => {
|
|
6577
|
-
|
|
6531
|
+
selectCurrentLocation(region);
|
|
6578
6532
|
close();
|
|
6579
6533
|
}, []);
|
|
6580
|
-
return (jsxs(Dialog, { className: "pb-20", head: jsxs("div", { children: [jsx(Text, { size: "text-h4", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B" }), jsx(
|
|
6534
|
+
return (jsxs(Dialog, { className: "pb-20", head: jsxs("div", { children: [jsx(Text, { size: "text-h4", color: "text-primary-text", children: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B" }), currentLocation ? (jsx("div", { className: "mb-s", children: jsxs(Paragraph, { size: "text-l", color: "text-primary-text", children: ["\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:", jsx(LinkWrapper, { href: href, className: "inline mx-2xs text-primary-main", children: currentLocation.name })] }) })) : null, jsx(SearchBar, { onSearch: setQuery, searchTerm: query })] }), children: [query && query.length >= SEARCH_TERM_MIN_LENGTH ? (jsx("div", { children: regions
|
|
6581
6535
|
.filter(({ name }) => name && jaroWinklerDistance(name.toLowerCase())(query.toLowerCase()) >= 0.8)
|
|
6582
6536
|
.map(renderRegion(branches?.dataSelect, handleChangeLocation)) })) : (jsx("div", { className: "columns-1 sm:columns-3 md:columns-4 lg:columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation, branches?.dataSelect)) })), renderForeignOffices(foreignOffices)] }));
|
|
6583
6537
|
});
|
|
6584
|
-
const regionFirstLetter = (region) => region.name?.charAt(0)
|
|
6538
|
+
const regionFirstLetter = (region) => region.name?.charAt(0) || '';
|
|
6585
6539
|
const cleanUpRegions = (regions) => regions.map((region) => ({
|
|
6586
6540
|
...region,
|
|
6587
|
-
name: region.name?.replace(/республика|область|край'/gi, '').trim()
|
|
6541
|
+
name: region.name?.replace(/республика|область|край'/gi, '').trim() || '',
|
|
6588
6542
|
}));
|
|
6589
6543
|
|
|
6590
6544
|
const useLocationDialog = (props) => {
|
|
@@ -6597,7 +6551,7 @@
|
|
|
6597
6551
|
|
|
6598
6552
|
const BurgerMenuDialog = JSX(({ menuRef, menuItem, locationDialogProps, closeAll }) => {
|
|
6599
6553
|
const locationDialog = useLocationDialog(locationDialogProps || {});
|
|
6600
|
-
const { name: location } =
|
|
6554
|
+
const [{ name: location }] = useLocation();
|
|
6601
6555
|
const menuDimensions = menuRef?.current?.getBoundingClientRect();
|
|
6602
6556
|
const basePath = getBasePath(env.SITE_URL);
|
|
6603
6557
|
const handleIframeLoad = () => {
|
|
@@ -7157,7 +7111,7 @@
|
|
|
7157
7111
|
const close = useCallback(() => {
|
|
7158
7112
|
setPopup(null);
|
|
7159
7113
|
}, []);
|
|
7160
|
-
useEffect(() => defaultEventBus.
|
|
7114
|
+
useEffect(() => defaultEventBus.subscribe('popup', (action) => {
|
|
7161
7115
|
switch (action.type) {
|
|
7162
7116
|
case 'open':
|
|
7163
7117
|
case 'update':
|
|
@@ -7212,7 +7166,7 @@
|
|
|
7212
7166
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
7213
7167
|
});
|
|
7214
7168
|
|
|
7215
|
-
const packageVersion = "0.14.
|
|
7169
|
+
const packageVersion = "0.14.600";
|
|
7216
7170
|
|
|
7217
7171
|
exports.Blocks = Blocks;
|
|
7218
7172
|
exports.ContentPage = ContentPage;
|