@redneckz/wildless-cms-uni-blocks 0.13.8 → 0.13.10
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/ProjectSettings.d.ts +4 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +82 -46
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +2 -2
- package/bundle/components/Header/HeaderSubMenu.d.ts +5 -1
- package/bundle/components/StickyBottomMenu/ActiveSubMenu.d.ts +6 -0
- package/bundle/components/StickyBottomMenu/ActiveSubMenuItem.d.ts +7 -0
- package/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +7 -0
- package/bundle/components/StickyBottomMenu/StickyBottomMenu.d.ts +2 -0
- package/bundle/components/StickyBottomMenu/StickyBottomMenu.mobile.d.ts +2 -0
- package/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +22 -0
- package/bundle/components/StickyBottomMenu/StickyBottomMenuProps.d.ts +8 -0
- package/bundle/components/StickyBottomMenu/TopItemMobile.d.ts +9 -0
- package/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +3 -0
- package/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +6 -0
- package/bundle/hooks/useActiveRoute.d.ts +2 -0
- package/bundle/hooks/useSWRResource.d.ts +1 -1
- package/bundle/icons/IconName.d.ts +10 -6
- package/bundle/services/sitemap/SitemapData.d.ts +5 -1
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +0 -1
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
- package/bundle/ui-kit/DialogManager/isDialogOpen.d.ts +2 -0
- package/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -0
- package/cosmos-static/icons/BurgerIcon.svg +1 -1
- package/cosmos-static/icons/ChartIcon.svg +1 -0
- package/cosmos-static/icons/MapOpenedIcon.svg +1 -0
- package/dist/ProjectSettings.d.ts +4 -0
- package/dist/ProjectSettings.js +6 -0
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +2 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +3 -2
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.page.json +37 -0
- package/dist/components/ContentPage/useContentPageData.js +1 -1
- package/dist/components/ContentPage/useContentPageData.js.map +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js +14 -8
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +2 -2
- package/dist/components/Header/Header.js +6 -5
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.d.ts +5 -1
- package/dist/components/Header/HeaderSubMenu.js +8 -7
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/StickyBottomMenu/ActiveSubMenu.d.ts +6 -0
- package/dist/components/StickyBottomMenu/ActiveSubMenu.js +9 -0
- package/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -0
- package/dist/components/StickyBottomMenu/ActiveSubMenuItem.d.ts +7 -0
- package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +12 -0
- package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -0
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +7 -0
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js +38 -0
- package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenu.d.ts +2 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenu.js +6 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.d.ts +2 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js +30 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +22 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenuContent.js +2 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenuContent.js.map +1 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenuProps.d.ts +8 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenuProps.js +2 -0
- package/dist/components/StickyBottomMenu/StickyBottomMenuProps.js.map +1 -0
- package/dist/components/StickyBottomMenu/TopItemMobile.d.ts +9 -0
- package/dist/components/StickyBottomMenu/TopItemMobile.js +12 -0
- package/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -0
- package/dist/components/StickyBottomMenu/renderMenuItems.d.ts +3 -0
- package/dist/components/StickyBottomMenu/renderMenuItems.js +13 -0
- package/dist/components/StickyBottomMenu/renderMenuItems.js.map +1 -0
- package/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +6 -0
- package/dist/components/StickyBottomMenu/useBurgerMenuDialog.js +26 -0
- package/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -0
- package/dist/hooks/useActiveRoute.d.ts +2 -0
- package/dist/hooks/useActiveRoute.js +11 -0
- package/dist/hooks/useActiveRoute.js.map +1 -0
- package/dist/hooks/useSWRResource.d.ts +1 -1
- package/dist/hooks/useSWRResource.js +3 -2
- package/dist/hooks/useSWRResource.js.map +1 -1
- package/dist/icons/IconName.d.ts +10 -6
- package/dist/icons/IconName.js +9 -5
- package/dist/icons/IconName.js.map +1 -1
- package/dist/services/sitemap/SitemapData.d.ts +5 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +0 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +4 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
- package/dist/ui-kit/BaseTile/BaseTile.js +8 -5
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/DialogManager/Dialog.js +1 -1
- package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/dist/ui-kit/DialogManager/isDialogOpen.d.ts +2 -0
- package/dist/ui-kit/DialogManager/isDialogOpen.js +5 -0
- package/dist/ui-kit/DialogManager/isDialogOpen.js.map +1 -0
- package/dist/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js +2 -1
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +3 -1
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -0
- package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +6 -0
- package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/dist/wlc.json +1 -0
- package/lib/ProjectSettings.d.ts +4 -0
- package/lib/ProjectSettings.js +6 -0
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +2 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +3 -2
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.page.json +37 -0
- package/lib/components/ContentPage/useContentPageData.js +1 -1
- package/lib/components/ContentPage/useContentPageData.js.map +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js +14 -8
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +2 -2
- package/lib/components/Header/Header.js +6 -5
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.d.ts +5 -1
- package/lib/components/Header/HeaderSubMenu.js +8 -7
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/StickyBottomMenu/ActiveSubMenu.d.ts +6 -0
- package/lib/components/StickyBottomMenu/ActiveSubMenu.js +7 -0
- package/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -0
- package/lib/components/StickyBottomMenu/ActiveSubMenuItem.d.ts +7 -0
- package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +10 -0
- package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -0
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +7 -0
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js +36 -0
- package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.d.ts +2 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.fixture.d.ts +8 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.fixture.mobile.d.ts +6 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.js +4 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.d.ts +2 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js +28 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +22 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenuContent.js +2 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenuContent.js.map +1 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenuProps.d.ts +8 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenuProps.js +2 -0
- package/lib/components/StickyBottomMenu/StickyBottomMenuProps.js.map +1 -0
- package/lib/components/StickyBottomMenu/TopItemMobile.d.ts +8 -0
- package/lib/components/StickyBottomMenu/TopItemMobile.js +9 -0
- package/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -0
- package/lib/components/StickyBottomMenu/renderMenuItems.d.ts +2 -0
- package/lib/components/StickyBottomMenu/renderMenuItems.js +10 -0
- package/lib/components/StickyBottomMenu/renderMenuItems.js.map +1 -0
- package/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +6 -0
- package/lib/components/StickyBottomMenu/useBurgerMenuDialog.js +23 -0
- package/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -0
- package/lib/hooks/useActiveRoute.d.ts +2 -0
- package/lib/hooks/useActiveRoute.js +8 -0
- package/lib/hooks/useActiveRoute.js.map +1 -0
- package/lib/hooks/useSWRResource.d.ts +1 -1
- package/lib/hooks/useSWRResource.js +3 -2
- package/lib/hooks/useSWRResource.js.map +1 -1
- package/lib/icons/IconName.d.ts +10 -6
- package/lib/icons/IconName.js +9 -5
- package/lib/icons/IconName.js.map +1 -1
- package/lib/services/sitemap/SitemapData.d.ts +5 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +0 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +4 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
- package/lib/ui-kit/BaseTile/BaseTile.js +8 -5
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/DialogManager/Dialog.js +1 -1
- package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/lib/ui-kit/DialogManager/isDialogOpen.d.ts +2 -0
- package/lib/ui-kit/DialogManager/isDialogOpen.js +2 -0
- package/lib/ui-kit/DialogManager/isDialogOpen.js.map +1 -0
- package/lib/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/LocationDialog/renderForeignOffices.d.ts +0 -1
- package/lib/ui-kit/LocationDialog/renderRegion.d.ts +0 -1
- package/lib/ui-kit/LocationDialog/renderRegionGroup.d.ts +0 -1
- package/lib/ui-kit/SearchBar/SearchBar.js +2 -1
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +3 -1
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -0
- package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +6 -0
- package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/lib/wlc.json +1 -0
- package/mobile/bundle/ProjectSettings.d.ts +4 -0
- package/mobile/bundle/bundle.umd.js +446 -68
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +5 -1
- package/mobile/bundle/components/StickyBottomMenu/ActiveSubMenu.d.ts +6 -0
- package/mobile/bundle/components/StickyBottomMenu/ActiveSubMenuItem.d.ts +7 -0
- package/mobile/bundle/components/StickyBottomMenu/BurgerMenuDialog.d.ts +7 -0
- package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenu.d.ts +2 -0
- package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +22 -0
- package/mobile/bundle/components/StickyBottomMenu/StickyBottomMenuProps.d.ts +8 -0
- package/mobile/bundle/components/StickyBottomMenu/TopItemMobile.d.ts +9 -0
- package/mobile/bundle/components/StickyBottomMenu/renderMenuItems.d.ts +3 -0
- package/mobile/bundle/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +6 -0
- package/mobile/bundle/hooks/useActiveRoute.d.ts +2 -0
- package/mobile/bundle/hooks/useSWRResource.d.ts +1 -1
- package/mobile/bundle/icons/IconName.d.ts +10 -6
- package/mobile/bundle/services/sitemap/SitemapData.d.ts +5 -1
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +0 -1
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
- package/mobile/bundle/ui-kit/DialogManager/isDialogOpen.d.ts +2 -0
- package/mobile/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -0
- package/mobile/dist/ProjectSettings.d.ts +4 -0
- package/mobile/dist/ProjectSettings.js +6 -0
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/dist/components/Blocks.js +2 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +3 -2
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.page.json +37 -0
- package/mobile/dist/components/ContentPage/useContentPageData.js +1 -1
- package/mobile/dist/components/ContentPage/useContentPageData.js.map +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +14 -8
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderSubMenu.d.ts +5 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +8 -7
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +1 -1
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.d.ts +6 -0
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js +9 -0
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.d.ts +7 -0
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +12 -0
- package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.d.ts +7 -0
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js +38 -0
- package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.d.ts +2 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js +30 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +22 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuContent.js +2 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuContent.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuProps.d.ts +8 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuProps.js +2 -0
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuProps.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/TopItemMobile.d.ts +9 -0
- package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js +12 -0
- package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/renderMenuItems.d.ts +3 -0
- package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js +13 -0
- package/mobile/dist/components/StickyBottomMenu/renderMenuItems.js.map +1 -0
- package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +6 -0
- package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.js +26 -0
- package/mobile/dist/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -0
- package/mobile/dist/hooks/useActiveRoute.d.ts +2 -0
- package/mobile/dist/hooks/useActiveRoute.js +11 -0
- package/mobile/dist/hooks/useActiveRoute.js.map +1 -0
- package/mobile/dist/hooks/useSWRResource.d.ts +1 -1
- package/mobile/dist/hooks/useSWRResource.js +3 -2
- package/mobile/dist/hooks/useSWRResource.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +10 -6
- package/mobile/dist/icons/IconName.js +9 -5
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/services/sitemap/SitemapData.d.ts +5 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +0 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +4 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +8 -5
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.js +1 -1
- package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/DialogManager/isDialogOpen.d.ts +2 -0
- package/mobile/dist/ui-kit/DialogManager/isDialogOpen.js +5 -0
- package/mobile/dist/ui-kit/DialogManager/isDialogOpen.js.map +1 -0
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +2 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +3 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +6 -0
- package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/mobile/dist/wlc.json +1 -0
- package/mobile/lib/ProjectSettings.d.ts +4 -0
- package/mobile/lib/ProjectSettings.js +6 -0
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/lib/components/Blocks.js +2 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +3 -2
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.page.json +37 -0
- package/mobile/lib/components/ContentPage/useContentPageData.js +1 -1
- package/mobile/lib/components/ContentPage/useContentPageData.js.map +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +14 -8
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderSubMenu.d.ts +5 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +8 -7
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +1 -1
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.d.ts +6 -0
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js +7 -0
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenu.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.d.ts +7 -0
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +10 -0
- package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.d.ts +7 -0
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js +36 -0
- package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.d.ts +2 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js +28 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuContent.d.ts +22 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuContent.js +2 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuContent.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuProps.d.ts +8 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuProps.js +2 -0
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuProps.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/TopItemMobile.d.ts +9 -0
- package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js +9 -0
- package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/renderMenuItems.d.ts +3 -0
- package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js +10 -0
- package/mobile/lib/components/StickyBottomMenu/renderMenuItems.js.map +1 -0
- package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.d.ts +6 -0
- package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.js +23 -0
- package/mobile/lib/components/StickyBottomMenu/useBurgerMenuDialog.js.map +1 -0
- package/mobile/lib/hooks/useActiveRoute.d.ts +2 -0
- package/mobile/lib/hooks/useActiveRoute.js +8 -0
- package/mobile/lib/hooks/useActiveRoute.js.map +1 -0
- package/mobile/lib/hooks/useSWRResource.d.ts +1 -1
- package/mobile/lib/hooks/useSWRResource.js +3 -2
- package/mobile/lib/hooks/useSWRResource.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +10 -6
- package/mobile/lib/icons/IconName.js +9 -5
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/services/sitemap/SitemapData.d.ts +5 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +0 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +4 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +2 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +8 -5
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.js +1 -1
- package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/DialogManager/isDialogOpen.d.ts +2 -0
- package/mobile/lib/ui-kit/DialogManager/isDialogOpen.js +2 -0
- package/mobile/lib/ui-kit/DialogManager/isDialogOpen.js.map +1 -0
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +2 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +3 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +6 -0
- package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/mobile/lib/wlc.json +1 -0
- package/mobile/src/ProjectSettings.ts +8 -0
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +2 -2
- package/mobile/src/components/Blocks.ts +2 -0
- package/mobile/src/components/ContentPage/ContentPage.page.json +37 -0
- package/mobile/src/components/ContentPage/ContentPage.tsx +3 -1
- package/mobile/src/components/ContentPage/useContentPageData.ts +1 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +11 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +18 -12
- package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +1 -2
- package/mobile/src/components/Header/HeaderSubMenu.tsx +16 -8
- package/mobile/src/components/PictureText/PictureText.tsx +1 -1
- package/mobile/src/components/StickyBottomMenu/ActiveSubMenu.tsx +16 -0
- package/mobile/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +32 -0
- package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +102 -0
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.example.json +35 -0
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.tsx +43 -0
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.ui.json +11 -0
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +24 -0
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuProps.tsx +10 -0
- package/mobile/src/components/StickyBottomMenu/TopItemMobile.tsx +32 -0
- package/mobile/src/components/StickyBottomMenu/renderMenuItems.tsx +32 -0
- package/mobile/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +34 -0
- package/mobile/src/hooks/useActiveRoute.ts +12 -0
- package/mobile/src/hooks/useSWRResource.ts +3 -1
- package/mobile/src/icons/BurgerIcon.svg +4 -4
- package/mobile/src/icons/ChartIcon.svg +7 -0
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/icons/MapOpenedIcon.svg +5 -0
- package/mobile/src/services/sitemap/SitemapData.ts +5 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +17 -12
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -0
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +16 -7
- package/mobile/src/ui-kit/DialogManager/Dialog.tsx +2 -2
- package/mobile/src/ui-kit/DialogManager/isDialogOpen.ts +4 -0
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +3 -2
- package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +2 -2
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +5 -3
- package/mobile/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +11 -0
- package/mobile/src/wlc.json +1 -0
- package/package.json +1 -1
- package/src/ProjectSettings.ts +8 -0
- package/src/components/ApplicationForm/ResponseNotification.tsx +2 -2
- package/src/components/Blocks.mobile.ts +2 -0
- package/src/components/Blocks.ts +2 -0
- package/src/components/ContentPage/ContentPage.page.json +37 -0
- package/src/components/ContentPage/ContentPage.tsx +3 -1
- package/src/components/ContentPage/useContentPageData.ts +1 -1
- package/src/components/DepositFiltration/DepositFiltration.example.json +11 -1
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +21 -8
- package/src/components/DepositFiltration/DepositFiltration.tsx +18 -12
- package/src/components/DepositFiltration/DepositFiltrationContent.ts +1 -2
- package/src/components/Header/Header.tsx +12 -6
- package/src/components/Header/HeaderSubMenu.tsx +16 -8
- package/src/components/PictureText/PictureText.tsx +1 -1
- package/src/components/StickyBottomMenu/ActiveSubMenu.tsx +16 -0
- package/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +32 -0
- package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +102 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.example.json +35 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.mobile.tsx +36 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.fixture.tsx +36 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.mobile.tsx +43 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.tsx +4 -0
- package/src/components/StickyBottomMenu/StickyBottomMenu.ui.json +11 -0
- package/src/components/StickyBottomMenu/StickyBottomMenuContent.ts +24 -0
- package/src/components/StickyBottomMenu/StickyBottomMenuProps.tsx +10 -0
- package/src/components/StickyBottomMenu/TopItemMobile.tsx +32 -0
- package/src/components/StickyBottomMenu/renderMenuItems.tsx +32 -0
- package/src/components/StickyBottomMenu/useBurgerMenuDialog.tsx +34 -0
- package/src/hooks/useActiveRoute.ts +12 -0
- package/src/hooks/useSWRResource.ts +3 -1
- package/src/icons/BurgerIcon.svg +4 -4
- package/src/icons/ChartIcon.svg +7 -0
- package/src/icons/IconName.ts +6 -389
- package/src/icons/MapOpenedIcon.svg +5 -0
- package/src/services/sitemap/SitemapData.ts +5 -1
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +17 -12
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +2 -0
- package/src/ui-kit/BaseTile/BaseTile.tsx +16 -7
- package/src/ui-kit/DialogManager/Dialog.tsx +2 -2
- package/src/ui-kit/DialogManager/isDialogOpen.ts +4 -0
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBar.tsx +3 -2
- package/src/ui-kit/SearchDialog/SearchInput.tsx +2 -2
- package/src/ui-kit/Sitemap/Sitemap.tsx +5 -3
- package/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +11 -0
- package/src/wlc.json +1 -0
- /package/cosmos-static/icons/{ResponceFailIcon.svg → ResponseFailIcon.svg} +0 -0
- /package/cosmos-static/icons/{ResponceOKIcon.svg → ResponseOKIcon.svg} +0 -0
- /package/mobile/src/icons/{ResponceFailIcon.svg → ResponseFailIcon.svg} +0 -0
- /package/mobile/src/icons/{ResponceOKIcon.svg → ResponseOKIcon.svg} +0 -0
- /package/src/icons/{ResponceFailIcon.svg → ResponseFailIcon.svg} +0 -0
- /package/src/icons/{ResponceOKIcon.svg → ResponseOKIcon.svg} +0 -0
package/bundle/bundle.umd.js
CHANGED
|
@@ -79,9 +79,15 @@
|
|
|
79
79
|
get SITEMAP() {
|
|
80
80
|
return this._.SITEMAP;
|
|
81
81
|
}
|
|
82
|
+
get STICKY_MOBILE_MENU() {
|
|
83
|
+
return this._.STICKY_MOBILE_MENU;
|
|
84
|
+
}
|
|
82
85
|
get FOOTER() {
|
|
83
86
|
return this._.FOOTER;
|
|
84
87
|
}
|
|
88
|
+
get PORTAL_DATA() {
|
|
89
|
+
return this._.PORTAL_DATA;
|
|
90
|
+
}
|
|
85
91
|
get CHAT_BOT() {
|
|
86
92
|
return this._.CHAT_BOT;
|
|
87
93
|
}
|
|
@@ -1131,8 +1137,9 @@
|
|
|
1131
1137
|
});
|
|
1132
1138
|
|
|
1133
1139
|
const EMPTY_VALUE$1 = {};
|
|
1134
|
-
|
|
1135
|
-
|
|
1140
|
+
const DEFAULT_FOLDER_NAME = 'wcms-resources';
|
|
1141
|
+
function useSWRResource(filename, fallback = EMPTY_VALUE$1, folderName = DEFAULT_FOLDER_NAME) {
|
|
1142
|
+
const { data } = useAsyncData(filename ? `/${folderName}/${filename}.json` : null, fetchJSONUnsafe, { fallback });
|
|
1136
1143
|
return data || EMPTY_VALUE$1;
|
|
1137
1144
|
}
|
|
1138
1145
|
|
|
@@ -1254,7 +1261,7 @@
|
|
|
1254
1261
|
const ResponseNotification = JSX(({ responseType }) => {
|
|
1255
1262
|
const responseOK = responseType === 'OK';
|
|
1256
1263
|
const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
|
|
1257
|
-
return (jsxs("div", { className: `flex items-center p-lg rounded-md space-x-m ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: '
|
|
1264
|
+
return (jsxs("div", { className: `flex items-center p-lg rounded-md space-x-m ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponseOKIcon' }, width: "42", height: "42" })) : (jsx(Img, { image: { icon: 'ResponseFailIcon' }, width: "37", height: "34" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-2xs" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
|
|
1258
1265
|
});
|
|
1259
1266
|
|
|
1260
1267
|
const API = CorporateLeadAPI();
|
|
@@ -2403,11 +2410,17 @@
|
|
|
2403
2410
|
scrollToStart(containerRef.current);
|
|
2404
2411
|
}
|
|
2405
2412
|
}, [itemCount, canScrollRight]);
|
|
2413
|
+
const scrollTo = useCallback((idx) => {
|
|
2414
|
+
if (containerRef?.current) {
|
|
2415
|
+
containerRef.current.children[idx]?.scrollIntoView();
|
|
2416
|
+
}
|
|
2417
|
+
}, [containerRef]);
|
|
2406
2418
|
return [
|
|
2407
2419
|
containerRef,
|
|
2408
2420
|
{
|
|
2409
2421
|
scrollLeft,
|
|
2410
2422
|
scrollRight,
|
|
2423
|
+
scrollTo,
|
|
2411
2424
|
canScrollLeft,
|
|
2412
2425
|
canScrollRight,
|
|
2413
2426
|
visibleIndicesRange: [minIndex, maxIndex],
|
|
@@ -2595,12 +2608,15 @@
|
|
|
2595
2608
|
});
|
|
2596
2609
|
|
|
2597
2610
|
const imageAlignmentMap = {
|
|
2598
|
-
start: 'self-start',
|
|
2599
|
-
center: 'self-center',
|
|
2600
|
-
end: 'self-end',
|
|
2611
|
+
start: '@xl:self-start',
|
|
2612
|
+
center: '@xl:self-center',
|
|
2613
|
+
end: '@xl:self-end',
|
|
2601
2614
|
};
|
|
2602
|
-
const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-
|
|
2603
|
-
|
|
2615
|
+
const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-col @xl:flex-row justify-around @xl:justify-between items-stretch gap-3xl", children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), backImage ? (jsx("div", { className: "justify-center mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, {
|
|
2616
|
+
className: '-order-1 @xl:order-1',
|
|
2617
|
+
imageAlign,
|
|
2618
|
+
})] })] })));
|
|
2619
|
+
const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('md:flex-shrink-0 self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
|
|
2604
2620
|
|
|
2605
2621
|
const cardColumnsModeStyleMap = {
|
|
2606
2622
|
1: 'grid-cols-1',
|
|
@@ -2705,12 +2721,14 @@
|
|
|
2705
2721
|
const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
|
|
2706
2722
|
const renderTag = (tag, key) => (jsx("div", { className: "p-xs border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
|
|
2707
2723
|
|
|
2708
|
-
const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left',
|
|
2724
|
+
const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle = true, items, isDotted = true, listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground } = {}, children, }) => {
|
|
2709
2725
|
const img = image?.src ? jsx(Img, { image: image }) : null;
|
|
2710
2726
|
const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true }));
|
|
2711
|
-
|
|
2727
|
+
const filteredBenefits = benefits?.filter((_) => _?.type === 'rte' || 'label' in _ || 'description' in _);
|
|
2728
|
+
return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col gap-xl", children: [filteredBenefits?.length ? (jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
|
|
2712
2729
|
});
|
|
2713
2730
|
const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
|
|
2731
|
+
const renderTags = (tags) => (tags?.length ? jsx(Tags, { tags: tags }) : null);
|
|
2714
2732
|
|
|
2715
2733
|
const CarouselProgramsCard = JSX(({ className, title, icon, list, href, target, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-3xl", ...rest, children: jsx(LinkWrapper, { className: "flex items-center h-full", href: href, target: target, children: jsx(BaseProductTile, { title: title, headlineVersion: "XS", image: icon, imageOptions: { directionRight: false, imageAlign: 'center' }, benefits: list?.map((_) => ({
|
|
2716
2734
|
type: 'default',
|
|
@@ -2981,22 +2999,28 @@
|
|
|
2981
2999
|
return (jsxs("div", { children: [item?.title ? (jsx("div", { className: "mb-m", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: item.title }) })) : null, jsx(SlideCheckboxGroup, { items: options, multiple: true, ...field(key) })] }, key));
|
|
2982
3000
|
};
|
|
2983
3001
|
|
|
3002
|
+
const DEFAULT_MIN_MONTHS = 3;
|
|
3003
|
+
const DEFAULT_MAX_MONTHS = 60;
|
|
3004
|
+
const DEFAULT_MIN_SUM = 500;
|
|
3005
|
+
const DEFAULT_MAX_SUM = 1000000000;
|
|
2984
3006
|
const initialFiltrationState$1 = {
|
|
2985
|
-
sum:
|
|
3007
|
+
sum: {
|
|
3008
|
+
min: 10000,
|
|
3009
|
+
max: DEFAULT_MAX_SUM,
|
|
3010
|
+
},
|
|
2986
3011
|
period: {
|
|
2987
3012
|
min: 3,
|
|
2988
3013
|
max: 36,
|
|
2989
3014
|
},
|
|
2990
3015
|
};
|
|
2991
|
-
const DEFAULT_MIN_MONTHS = 3;
|
|
2992
|
-
const DEFAULT_MAX_MONTHS = 36;
|
|
2993
|
-
const DEFAULT_MIN_SUM = 500;
|
|
2994
|
-
const DEFAULT_MAX_SUM = 1000000000;
|
|
2995
3016
|
const DepositFiltration = JSX(({ className, filtrationSchema = {}, resetButton, sumInput, periodInput, ...rest }) => {
|
|
2996
3017
|
const [filtrationState, { field, reset }] = useForm(initialFiltrationState$1);
|
|
2997
|
-
const
|
|
2998
|
-
const Inputs = (jsxs("div", { children: [jsx(CurrencyInput, { label: sumInput?.title, min: DEFAULT_MIN_SUM, max: DEFAULT_MAX_SUM, ...field('sum', {
|
|
2999
|
-
parse: (min) => ({ min, max:
|
|
3018
|
+
const maxPeriodValue = periodInput?.max || DEFAULT_MAX_MONTHS;
|
|
3019
|
+
const Inputs = (jsxs("div", { children: [jsx(CurrencyInput, { label: sumInput?.title, min: DEFAULT_MIN_SUM, max: DEFAULT_MAX_SUM, ...field('sum', {
|
|
3020
|
+
parse: (min) => ({ min: Number(min), max: DEFAULT_MAX_SUM }),
|
|
3021
|
+
format: ({ min }) => String(min),
|
|
3022
|
+
}) }), jsx(InputRange, { title: periodInput?.title, items: ['От 3 мес', 'До 5 лет'], min: periodInput?.min || DEFAULT_MIN_MONTHS, max: maxPeriodValue, ...field('period', {
|
|
3023
|
+
parse: (min) => ({ min, max: maxPeriodValue }),
|
|
3000
3024
|
format: ({ min }) => min,
|
|
3001
3025
|
}) })] }));
|
|
3002
3026
|
return (jsxs(BlockWrapper, { className: style('space-y-2xs', className), defaultPadding: "p-0", version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
|
|
@@ -3267,7 +3291,7 @@
|
|
|
3267
3291
|
const handleChange = useCallback((ev) => {
|
|
3268
3292
|
onChange && onChange(ev.target?.value || '');
|
|
3269
3293
|
}, [onChange]);
|
|
3270
|
-
return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12
|
|
3294
|
+
return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: 'black' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 w-full px-10 text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
|
|
3271
3295
|
});
|
|
3272
3296
|
|
|
3273
3297
|
const useDebouncedEffect = (effect, deps, delay = 300) => useEffect(() => {
|
|
@@ -3362,7 +3386,7 @@
|
|
|
3362
3386
|
close();
|
|
3363
3387
|
onClose && onClose();
|
|
3364
3388
|
}, [onClose]);
|
|
3365
|
-
return (jsxs("div", { className: style('relative min-h-full bg-white', className), children: [jsxs("div", { className: "sticky py-xl top-0 bg-white", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
|
|
3389
|
+
return (jsxs("div", { className: style('relative min-h-full bg-white p-5', className), children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
|
|
3366
3390
|
});
|
|
3367
3391
|
|
|
3368
3392
|
const Sitemap = JSX(({ className, topItems }) => {
|
|
@@ -3371,7 +3395,9 @@
|
|
|
3371
3395
|
});
|
|
3372
3396
|
const renderColumn = (menuItem, index) => {
|
|
3373
3397
|
const { text, items, href, target, onClick } = menuItem;
|
|
3374
|
-
return (jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items
|
|
3398
|
+
return (jsxs("div", { className: "flex flex-col gap-s w-1/4", children: [jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items
|
|
3399
|
+
?.filter((_) => !_.displayArea || _.displayArea === 'Footer')
|
|
3400
|
+
.map((_, i) => (jsx(ColumnItem, { ..._, basePath: appendSlash(href), index: i }, String(i))))] }, String(index)));
|
|
3375
3401
|
};
|
|
3376
3402
|
const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
|
|
3377
3403
|
const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
|
|
@@ -3426,7 +3452,7 @@
|
|
|
3426
3452
|
open({ initialQuery: _ }, { onClose: resetQueryOnDialogClose });
|
|
3427
3453
|
}
|
|
3428
3454
|
}, [resetQueryOnDialogClose]);
|
|
3429
|
-
return (jsxs("div", { className: className, children: [jsx(SearchInput, { value: value, onChange: handleInitialInputChange }), jsx(CloseButton, { className: "absolute top-
|
|
3455
|
+
return (jsxs("div", { className: style('relative', className), children: [jsx(SearchInput, { value: value, onChange: handleInitialInputChange }), jsx(CloseButton, { className: "absolute top-0 right-0 sm:hidden", onClose: resetQueryOnDialogClose })] }));
|
|
3430
3456
|
});
|
|
3431
3457
|
const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
|
|
3432
3458
|
|
|
@@ -3488,6 +3514,16 @@
|
|
|
3488
3514
|
const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
|
|
3489
3515
|
const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-52 border-r pr-s border-main-divider last:border-r-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
|
|
3490
3516
|
|
|
3517
|
+
const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
|
|
3518
|
+
|
|
3519
|
+
const isTopItemActive = (router) => isHrefActive(projectSettings.BASE_PATH ? { pathname: projectSettings.BASE_PATH } : router);
|
|
3520
|
+
|
|
3521
|
+
function useActiveRoute(items = []) {
|
|
3522
|
+
const router = useRouter();
|
|
3523
|
+
const activeIndex = items.findIndex(isTopItemActive(router));
|
|
3524
|
+
return [activeIndex, items[activeIndex]];
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3491
3527
|
const TopItem = JSX(({ className = '', active, flat, children, ...rest }) => {
|
|
3492
3528
|
const link = useLink({ isRemote: true });
|
|
3493
3529
|
const { href, target, text, onClick } = link(rest);
|
|
@@ -3590,7 +3626,7 @@
|
|
|
3590
3626
|
}, []);
|
|
3591
3627
|
return (jsxs(Dialog, { head: jsxs("div", { children: [currentLocation ? (jsxs("div", { className: "mb-s", children: [jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), jsx("button", { onClick: () => selectCurrentLocation(currentLocation), children: jsx(Text, { color: "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
|
|
3592
3628
|
.filter(({ name }) => name && jaroWinklerDistance(name.toLowerCase())(query.toLowerCase()) >= 0.8)
|
|
3593
|
-
.map(renderRegion(handleChangeLocation)) })) : (jsx("div", { className: "columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation)) })), renderForeignOffices(foreignOffices)] }));
|
|
3629
|
+
.map(renderRegion(handleChangeLocation)) })) : (jsx("div", { className: "columns-2 sm:columns-5", children: Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation)) })), renderForeignOffices(foreignOffices)] }));
|
|
3594
3630
|
});
|
|
3595
3631
|
const regionFirstLetter = (region) => region.name?.charAt(0) || '';
|
|
3596
3632
|
const cleanUpRegions = (regions) => regions.map((region) => ({
|
|
@@ -3638,6 +3674,13 @@
|
|
|
3638
3674
|
}) })] }));
|
|
3639
3675
|
});
|
|
3640
3676
|
|
|
3677
|
+
const findActiveSubItem = (router) => (items = []) => {
|
|
3678
|
+
const possibleActiveSubItems = items?.filter(isHrefActive(router));
|
|
3679
|
+
return possibleActiveSubItems?.length
|
|
3680
|
+
? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
|
|
3681
|
+
: undefined;
|
|
3682
|
+
};
|
|
3683
|
+
|
|
3641
3684
|
const getNS = (_) => globalThis[_];
|
|
3642
3685
|
function useExternalNS(namespaceName, url) {
|
|
3643
3686
|
const [externalNS, setExternalNS] = useState();
|
|
@@ -3719,43 +3762,33 @@
|
|
|
3719
3762
|
};
|
|
3720
3763
|
const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(Button, { href: internetBankUrl, ariaLabel: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A", target: "_blank", className: style('py-s ml-s text-l font-light whitespace-nowrap hover:text-primary-main', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A" })) : null);
|
|
3721
3764
|
|
|
3722
|
-
const isHrefActive = (router) => ({ href }) => withoutQuery(isURL(href) ? router.href : router.pathname).startsWith(withoutQuery(href));
|
|
3723
|
-
|
|
3724
|
-
const findActiveSubItem = (router) => (items = []) => {
|
|
3725
|
-
const possibleActiveSubItems = items?.filter(isHrefActive(router));
|
|
3726
|
-
return possibleActiveSubItems?.length
|
|
3727
|
-
? maxBy((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
|
|
3728
|
-
: undefined;
|
|
3729
|
-
};
|
|
3730
|
-
|
|
3731
3765
|
const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
|
|
3732
3766
|
const iconVersion = version === 'transparent' ? 'white' : 'black';
|
|
3733
3767
|
const router = useRouter();
|
|
3768
|
+
const visibleSubItems = useMemo(() => subItems.filter((item) => !item.displayArea || item.displayArea === 'Header'), [subItems]);
|
|
3734
3769
|
const activeSubItem = findActiveSubItem(router)(subItems);
|
|
3735
|
-
const [visibleItemsCount, setVisibleItemsCount] = useState(
|
|
3736
|
-
const dropDownMenuItems =
|
|
3770
|
+
const [visibleItemsCount, setVisibleItemsCount] = useState(visibleSubItems.length);
|
|
3771
|
+
const dropDownMenuItems = visibleSubItems.slice(visibleItemsCount);
|
|
3737
3772
|
const subItemsListRef = useRef(null);
|
|
3738
3773
|
const observerOptions = { rootRef: subItemsListRef };
|
|
3739
|
-
const subItemsVisibilityHandlers = useMemo(() =>
|
|
3774
|
+
const subItemsVisibilityHandlers = useMemo(() => visibleSubItems.map((_, index) => (isIntersecting) => {
|
|
3740
3775
|
setVisibleItemsCount(isIntersecting
|
|
3741
3776
|
? handleIntersectionActivation(index)
|
|
3742
3777
|
: handleIntersectionDeactivation(index));
|
|
3743
|
-
}), [
|
|
3744
|
-
return (jsxs("nav", { className: "relative mt-s flex items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-3xl", children:
|
|
3778
|
+
}), [visibleSubItems]);
|
|
3779
|
+
return (jsxs("nav", { className: "relative mt-s flex items-center justify-between", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap pb-s mt-xs space-x-3xl", children: visibleSubItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: visibleItemsCount - 1 < i ? 'invisible' : '', active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "relative w-auto z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null, jsxs("div", { className: "flex", children: [projectSettings.CHAT_BOT ? (jsx(HeaderChatBotButton, { className: "ml-4xl", iconVersion: iconVersion, chat: projectSettings.CHAT_BOT })) : null, jsx(InternetBankButton, { version: version, internetBankUrl: internetBankUrl })] })] }));
|
|
3745
3780
|
});
|
|
3746
3781
|
const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
|
|
3747
3782
|
const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
|
|
3748
3783
|
|
|
3749
|
-
const isTopItemActive = (router) => isHrefActive(projectSettings.BASE_PATH ? { pathname: projectSettings.BASE_PATH } : router);
|
|
3750
|
-
|
|
3751
3784
|
const BG_COLOR_TO_BLOCK_VERSION = {
|
|
3752
3785
|
'bg-white': 'primary',
|
|
3753
3786
|
transparent: 'transparent',
|
|
3754
3787
|
};
|
|
3755
3788
|
const Header = JSX(({ className, bgColor = 'bg-white', version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
|
|
3756
|
-
const
|
|
3757
|
-
const
|
|
3758
|
-
const
|
|
3789
|
+
const { topItems, logo, officesLink, defaultLocation } = useSitemap(rest.options?.page?.fallback);
|
|
3790
|
+
const [, activeTopItem] = useActiveRoute(topItems);
|
|
3791
|
+
const { internetBankUrl } = useSWRResource(projectSettings.PORTAL_DATA || 'portal-data', {}, 'portal-resources');
|
|
3759
3792
|
return (jsx(BlockWrapper, { tag: "header", className: style('pt-3xl px-20', activeTopItem?.items?.length ? 'pb-m' : 'pb-lg', className), defaultPadding: "", version: version, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-3xl", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", officesLink: officesLink, defaultLocation: defaultLocation })] }), jsx("div", { className: style('mt-xl h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, version: version, internetBankUrl: internetBankUrl })) : null] }) }));
|
|
3760
3793
|
});
|
|
3761
3794
|
|
|
@@ -4431,7 +4464,7 @@
|
|
|
4431
4464
|
const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? (jsxs("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит:', monthLimit) : null] })) : null;
|
|
4432
4465
|
const renderValueBlock = (title, value = 0) => (jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between items-baseline whitespace-pre", children: [jsx(Text, { font: "font-light", size: "text-l", children: title }), jsxs(Text, { size: "text-h6", color: "text-primary-text", children: [toLocalNumberFormat(2)(value), " \u20BD"] })] }));
|
|
4433
4466
|
|
|
4434
|
-
const PictureText = JSX(({ className, padding, headlineVersion = 'M', align = 'text-center', sum, monthLimit, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-6xl", padding: padding, headlineVersion: headlineVersion, align: align,
|
|
4467
|
+
const PictureText = JSX(({ className, padding, headlineVersion = 'M', align = 'text-center', sum, monthLimit, imageOptions, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-6xl", padding: padding, headlineVersion: headlineVersion, align: align, isFullWidthTitle: false, imageOptions: { directionRight: false, imageAlign: 'center', ...imageOptions }, ...rest, children: renderInsuranceSumMonth(Number(sum), Number(monthLimit)) }) })));
|
|
4435
4468
|
|
|
4436
4469
|
const GOLDEN_RATIO = 1.618;
|
|
4437
4470
|
const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isEmbedded: true }), jsx("figure", { className: "m-0 mt-xl min-w-[80%]", children: renderShimmer() })] })));
|
|
@@ -4712,6 +4745,8 @@
|
|
|
4712
4745
|
const getIconSizeStyle = (size) => (size === 'normal' ? 'h-24 w-24' : 'h-16 w-16');
|
|
4713
4746
|
const getIconTextStyle = (version) => version === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
|
|
4714
4747
|
|
|
4748
|
+
const StickyBottomMenu = JSX(() => jsx("div", {})); // DO not remove "<div></div>". Required to pass tests. With "null" it's falling.
|
|
4749
|
+
|
|
4715
4750
|
const DEFAULT_GAP = 14;
|
|
4716
4751
|
/*
|
|
4717
4752
|
Horizontal padding used on a container above SwipeListControl.
|
|
@@ -5045,6 +5080,7 @@
|
|
|
5045
5080
|
SafeDepositRental,
|
|
5046
5081
|
StepsBlock,
|
|
5047
5082
|
SwipeListControlBlock,
|
|
5083
|
+
StickyBottomMenu,
|
|
5048
5084
|
Tabs,
|
|
5049
5085
|
TariffsTable,
|
|
5050
5086
|
TextBlock,
|
|
@@ -5253,15 +5289,15 @@
|
|
|
5253
5289
|
parent: data,
|
|
5254
5290
|
};
|
|
5255
5291
|
useBlockRouterProvider();
|
|
5256
|
-
return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(DialogManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
|
|
5292
|
+
return (jsxs("div", { children: [jsxs("section", { className: style('relative @container', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "relative z-10 mb-lg shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, { ...options, slotName: 'header' }) })) : null, jsxs("div", { className: "container @lg:grid @lg:grid-cols-12 @lg:gap-2xs", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, { ...options, slotName: 'footer' })] }), likeControl ? renderLikeControl() : null] }), jsx(StickyBottomMenu, {}), jsx(DialogManager, {}), jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } })] }));
|
|
5257
5293
|
});
|
|
5258
5294
|
ContentPage.childrenTypes = [];
|
|
5259
|
-
ContentPage.slots = () => ['header', 'footer'];
|
|
5295
|
+
ContentPage.slots = () => ['header', 'footer', 'StickyBottomMenu'];
|
|
5260
5296
|
function renderLikeControl() {
|
|
5261
5297
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
5262
5298
|
}
|
|
5263
5299
|
|
|
5264
|
-
const packageVersion = "0.13.
|
|
5300
|
+
const packageVersion = "0.13.10";
|
|
5265
5301
|
|
|
5266
5302
|
exports.Blocks = Blocks;
|
|
5267
5303
|
exports.ContentPage = ContentPage;
|