@ubnt/store.core 9.29.0-alpha.19 → 9.29.0-alpha.2
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/CHANGELOG.md +0 -77
- package/lib/_virtual/_virtual_multi-entry.js +12 -14
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +12 -14
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/apis/smartcat.d.ts +5 -30
- package/lib/apis/smartcat.js +35 -23
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +35 -23
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/enterprise24PoE.jpg +0 -0
- package/lib/assets/enterprise48PoE.jpg +0 -0
- package/lib/assets/enterpriseXG24.jpg +0 -0
- package/lib/assets/udmProSpecial.jpg +0 -0
- package/lib/assets/udmProSpecial2.jpg +0 -0
- package/lib/components/Accordion/Accordion.js +4 -4
- package/lib/components/Avatar/Avatar.js +2 -2
- package/lib/components/Button/Button.js +5 -5
- package/lib/components/Button/CartButton.js +2 -2
- package/lib/components/CardSection/Card/Card.js +6 -6
- package/lib/components/CardSection/CardSection.js +2 -2
- package/lib/components/CartIcon/CartIcon.js +2 -2
- package/lib/components/Checkbox/Checkbox.js +4 -4
- package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
- package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
- package/lib/components/Container/Container.js +2 -2
- package/lib/components/CustomImage/CustomImage.js +12 -12
- package/lib/components/Explore/Explore.js +5 -5
- package/lib/components/Explore/ExploreData.js +2 -2
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +2 -2
- package/lib/components/Explore/ExploreData.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
- package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/hooks/useFooterContent.js +5 -5
- package/lib/components/Gallery/Gallery.context.js +17 -17
- package/lib/components/Gallery/Gallery.js +9 -9
- package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
- package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
- package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
- package/lib/components/GridGallery/GridGallery.js +8 -8
- package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
- package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
- package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
- package/lib/components/Header/AccountMenu/AccountMenu.js +19 -19
- package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
- package/lib/components/Header/CartModalV2/CartModal.js +5 -5
- package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
- package/lib/components/Header/Header.js +34 -34
- package/lib/components/Header/IsolatedHeader.js +7 -7
- package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
- package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +6 -6
- package/lib/components/Header/Overlay/Overlay.js +3 -3
- package/lib/components/Header/ProHeader/ProHeader.js +35 -35
- package/lib/components/Header/translations/ar.json.js +1 -3
- package/lib/components/Header/translations/ar.json.js.map +1 -1
- package/lib/components/Header/translations/ar.json.mjs +2 -3
- package/lib/components/Header/translations/ar.json.mjs.map +1 -1
- package/lib/components/Header/translations/de.json.js +1 -3
- package/lib/components/Header/translations/de.json.js.map +1 -1
- package/lib/components/Header/translations/de.json.mjs +2 -3
- package/lib/components/Header/translations/de.json.mjs.map +1 -1
- package/lib/components/Header/translations/el.json.js +1 -3
- package/lib/components/Header/translations/el.json.js.map +1 -1
- package/lib/components/Header/translations/el.json.mjs +2 -3
- package/lib/components/Header/translations/el.json.mjs.map +1 -1
- package/lib/components/Header/translations/en.json.js +1 -3
- package/lib/components/Header/translations/en.json.js.map +1 -1
- package/lib/components/Header/translations/en.json.mjs +2 -3
- package/lib/components/Header/translations/en.json.mjs.map +1 -1
- package/lib/components/Header/translations/es.json.js +1 -3
- package/lib/components/Header/translations/es.json.js.map +1 -1
- package/lib/components/Header/translations/es.json.mjs +2 -3
- package/lib/components/Header/translations/es.json.mjs.map +1 -1
- package/lib/components/Header/translations/fr.json.js +1 -3
- package/lib/components/Header/translations/fr.json.js.map +1 -1
- package/lib/components/Header/translations/fr.json.mjs +2 -3
- package/lib/components/Header/translations/fr.json.mjs.map +1 -1
- package/lib/components/Header/translations/it.json.js +1 -3
- package/lib/components/Header/translations/it.json.js.map +1 -1
- package/lib/components/Header/translations/it.json.mjs +2 -3
- package/lib/components/Header/translations/it.json.mjs.map +1 -1
- package/lib/components/Header/translations/ja.json.js +1 -3
- package/lib/components/Header/translations/ja.json.js.map +1 -1
- package/lib/components/Header/translations/ja.json.mjs +2 -3
- package/lib/components/Header/translations/ja.json.mjs.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.js +1 -3
- package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.mjs +2 -3
- package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.js +1 -3
- package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.mjs +2 -3
- package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js +1 -3
- package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs +2 -3
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/Hero/Hero.js +5 -5
- package/lib/components/HeroVideo/HeroVideo.js +5 -5
- package/lib/components/ImageCarousel/ImageCarousel.js +29 -29
- package/lib/components/ImageSequence/ImageSequence.js +8 -8
- package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
- package/lib/components/LandingPage/Cards/Cards.js +10 -10
- package/lib/components/LandingPage/LandingPage.js +2 -2
- package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
- package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
- package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
- package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
- package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
- package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
- package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
- package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
- package/lib/components/MicrositeHeader/MicrositeHeader.js +4 -4
- package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +4 -4
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js +11 -13
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs +2 -4
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.d.ts +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js +1 -4
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs +1 -4
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.d.ts +1 -2
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.js +1 -2
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.mjs +1 -2
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.d.ts +1 -2
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.js +2 -3
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.mjs +2 -3
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.d.ts +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js +1 -4
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs +1 -4
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.js +19 -19
- package/lib/components/MicrositeHero/MicrositeHero.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.mjs +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.mjs.map +1 -1
- package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
- package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
- package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
- package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
- package/lib/components/Microsites/MicrositePageContext.js +2 -2
- package/lib/components/Microsites/MicrositeProductPage.js +3 -3
- package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
- package/lib/components/MobileModal/MobileModal.js +4 -4
- package/lib/components/Modal/Modal.js +3 -3
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +3 -9
- package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
- package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
- package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
- package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
- package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
- package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Switching/{enterpriseCampus24.jpg.js → enterprise24PoE.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/Switching/enterprise24PoE.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/Switching/enterprise24PoE.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/Switching/enterprise24PoE.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/Switching/{enterpriseCampus48.jpg.js → enterprise48PoE.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/Switching/enterprise48PoE.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/Switching/enterprise48PoE.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/Switching/enterprise48PoE.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{XgsPon/fiberOltXgs.jpg.js → Switching/enterpriseXG24.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseXG24.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseXG24.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseXG24.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{Switching/enterpriseCampusAggregation.jpg.js → XgsPon/uispFiberOltXgs.jpg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/BaseStation.js +2 -3
- package/lib/components/ModelCompareV3/data/BaseStation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/BaseStation.mjs +2 -3
- package/lib/components/ModelCompareV3/data/BaseStation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/CloudGateways.js +3 -3
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +2 -2
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +7 -20
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +7 -20
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/WaveMLO.js +4 -3
- package/lib/components/ModelCompareV3/data/WaveMLO.js.map +1 -1
- package/lib/components/ModelCompareV3/data/WaveMLO.mjs +4 -3
- package/lib/components/ModelCompareV3/data/WaveMLO.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/XgsPon.js +2 -2
- package/lib/components/ModelCompareV3/data/XgsPon.js.map +1 -1
- package/lib/components/ModelCompareV3/data/XgsPon.mjs +2 -2
- package/lib/components/ModelCompareV3/data/XgsPon.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/index.d.ts +47 -49
- package/lib/components/ModelCompareV3/data/index.js +94 -100
- package/lib/components/ModelCompareV3/data/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/index.mjs +94 -100
- package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +1 -8
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +1 -8
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.js +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/connectDisplay.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/{enterpriseCampus24PoE.js → enterprise24PoE.js} +47 -30
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.mjs +102 -0
- package/lib/components/ModelCompareV3/data/products/enterprise24PoE.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/{enterpriseCampus48PoE.js → enterprise48PoE.js} +48 -31
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.mjs +102 -0
- package/lib/components/ModelCompareV3/data/products/enterprise48PoE.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/enterprise8PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.js +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAccessHub.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/{enterpriseAggregation.js → enterpriseXG24.js} +44 -26
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/{enterpriseAggregation.mjs → enterpriseXG24.mjs} +44 -26
- package/lib/components/ModelCompareV3/data/products/enterpriseXG24.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/evStationLite.js +1 -3
- package/lib/components/ModelCompareV3/data/products/evStationLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/evStationLite.mjs +1 -3
- package/lib/components/ModelCompareV3/data/products/evStationLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/evStationPro.js +1 -3
- package/lib/components/ModelCompareV3/data/products/evStationPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/evStationPro.mjs +1 -3
- package/lib/components/ModelCompareV3/data/products/evStationPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +1 -8
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +1 -8
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/industrial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/lite16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/lite8PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +1 -8
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +1 -8
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouch.js +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouch.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouch.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouch.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/phoneTouchMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/professional8PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.js +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/standard48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +4 -6
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +4 -6
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCast.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucCastPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udb.js +7 -4
- package/lib/components/ModelCompareV3/data/products/udb.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udb.mjs +7 -4
- package/lib/components/ModelCompareV3/data/products/udb.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udbPro.js +5 -3
- package/lib/components/ModelCompareV3/data/products/udbPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udbPro.mjs +5 -3
- package/lib/components/ModelCompareV3/data/products/udbPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/uispDish.js +12 -12
- package/lib/components/ModelCompareV3/data/products/uispDish.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/uispDish.mjs +12 -12
- package/lib/components/ModelCompareV3/data/products/uispDish.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/{fiberOltXgs.d.ts → uispFiberOltXgs.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/products/{fiberOltXgs.js → uispFiberOltXgs.js} +8 -8
- package/lib/components/ModelCompareV3/data/products/uispFiberOltXgs.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/{fiberOltXgs.mjs → uispFiberOltXgs.mjs} +8 -8
- package/lib/components/ModelCompareV3/data/products/uispFiberOltXgs.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/umr.js +1 -1
- package/lib/components/ModelCompareV3/data/products/umr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umr.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/umr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.js +1 -1
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/umrIndustrial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umrUltra.js +1 -1
- package/lib/components/ModelCompareV3/data/products/umrUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/umrUltra.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/umrUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveAp.js +3 -3
- package/lib/components/ModelCompareV3/data/products/waveAp.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveAp.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/waveAp.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveApGen2.js +2 -2
- package/lib/components/ModelCompareV3/data/products/waveApGen2.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveApGen2.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/waveApGen2.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveApMicro.js +5 -5
- package/lib/components/ModelCompareV3/data/products/waveApMicro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveApMicro.mjs +5 -5
- package/lib/components/ModelCompareV3/data/products/waveApMicro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveFiberOlt.js +13 -4
- package/lib/components/ModelCompareV3/data/products/waveFiberOlt.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveFiberOlt.mjs +13 -4
- package/lib/components/ModelCompareV3/data/products/waveFiberOlt.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveFiberOnu.js +4 -3
- package/lib/components/ModelCompareV3/data/products/waveFiberOnu.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveFiberOnu.mjs +4 -3
- package/lib/components/ModelCompareV3/data/products/waveFiberOnu.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO5.js +12 -4
- package/lib/components/ModelCompareV3/data/products/waveMLO5.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs +12 -4
- package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO6.js +11 -5
- package/lib/components/ModelCompareV3/data/products/waveMLO6.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs +11 -5
- package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/{linkPuncturing.d.ts → bandwidthPuncturing.d.ts} +1 -1
- package/lib/components/ModelCompareV3/data/properties/{linkPuncturing.js → bandwidthPuncturing.js} +5 -5
- package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +1 -2
- package/lib/components/ModelCompareV3/data/properties/index.js +2 -4
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +1 -2
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.js +40 -35
- package/lib/components/ModelCompareV3/translations/ar.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +40 -35
- package/lib/components/ModelCompareV3/translations/ar.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.js +39 -34
- package/lib/components/ModelCompareV3/translations/de.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/de.json.mjs +39 -34
- package/lib/components/ModelCompareV3/translations/de.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.js +40 -35
- package/lib/components/ModelCompareV3/translations/el.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/el.json.mjs +40 -35
- package/lib/components/ModelCompareV3/translations/el.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.js +55 -29
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +55 -29
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.js +39 -34
- package/lib/components/ModelCompareV3/translations/es.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.mjs +39 -34
- package/lib/components/ModelCompareV3/translations/es.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.js +40 -35
- package/lib/components/ModelCompareV3/translations/fr.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +40 -35
- package/lib/components/ModelCompareV3/translations/fr.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.js +40 -35
- package/lib/components/ModelCompareV3/translations/it.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/it.json.mjs +40 -35
- package/lib/components/ModelCompareV3/translations/it.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.js +39 -34
- package/lib/components/ModelCompareV3/translations/ja.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +39 -34
- package/lib/components/ModelCompareV3/translations/ja.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +39 -34
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +39 -34
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +39 -34
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +39 -34
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +39 -34
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +39 -34
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/Pagination/Pagination.js +3 -3
- package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
- package/lib/components/ProductCard/ProductCard.js +8 -8
- package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
- package/lib/components/ProductCompare/ProductCompare.js +7 -7
- package/lib/components/ProductDetails/ProductDetails.js +5 -5
- package/lib/components/ProductGrid/ProductGrid.js +10 -10
- package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
- package/lib/components/ProductWizard/Options/Options.js +3 -3
- package/lib/components/ProductWizard/ProductWizard.js +2 -2
- package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
- package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
- package/lib/components/QuantityControls/QuantityControls.js +4 -4
- package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +8 -8
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
- package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
- package/lib/components/ScrollWrapper/ScrollWrapper.js +17 -17
- package/lib/components/Search/Input/Input.js +4 -4
- package/lib/components/Search/Modal/Modal.js +3 -3
- package/lib/components/StorageSliders/Slider/Slider.js +3 -3
- package/lib/components/StorageSliders/StorageSliders.context.js +19 -19
- package/lib/components/StorageSliders/StorageSliders.js +4 -4
- package/lib/components/Tooltip/Tooltip.js +5 -5
- package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
- package/lib/components/VariantSelector/Variant/Variant.js +40 -40
- package/lib/components/VariantSelector/VariantSelector.js +16 -16
- package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
- package/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +0 -2
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +0 -2
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/address.d.ts +2 -2
- package/lib/constants/address.js +3 -3
- package/lib/constants/address.js.map +1 -1
- package/lib/constants/address.mjs +3 -3
- package/lib/constants/address.mjs.map +1 -1
- package/lib/constants/icons/menu/index.d.ts +0 -1
- package/lib/constants/icons/menu/index.js +0 -9
- package/lib/constants/icons/menu/index.js.map +1 -1
- package/lib/constants/icons/menu/index.mjs +0 -2
- package/lib/constants/icons/menu/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.d.ts +0 -15
- package/lib/constants/proStoreCategories/mapping/filters.js +0 -15
- package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.mjs +0 -15
- package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -2
- package/lib/constants/proStoreCategories/mapping/index.js +38 -52
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +38 -52
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -11
- package/lib/constants/proStoreCategories/mapping/redirects.js +1 -9
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +1 -9
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +7 -5
- package/lib/constants/proStoreCategories/mapping/unifi.js +7 -5
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +7 -5
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +4 -4
- package/lib/constants/proStoreCategories/translations/en.json.mjs +4 -4
- package/lib/constants/proStoreCategories/translations/es.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +9 -12
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +10 -12
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +3 -44
- package/lib/constants/proStoreFilters/mapping.js +6 -111
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +6 -111
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +32 -32
- package/lib/contexts/MenuContext/mapping.d.ts +1 -1
- package/lib/contexts/MenuContext/mapping.js +13 -31
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +13 -30
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/context.js +9 -9
- package/lib/contexts/MicrositeMenuContext/mapping.js +2 -3
- package/lib/contexts/MicrositeMenuContext/mapping.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.mjs +2 -3
- package/lib/contexts/MicrositeMenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js +2 -2
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs +2 -2
- package/lib/contexts/MicrositeMenuContext/translations.d.ts +2 -2
- package/lib/helpers/proStoreCategories.js +2 -2
- package/lib/hooks/useHasTouch.js +3 -3
- package/lib/hooks/useHddRetentionCalculator.js +5 -5
- package/lib/hooks/useHorizontalScroll.js +2 -2
- package/lib/hooks/useLockBodyScrollCustom.js +3 -3
- package/lib/hooks/useScrollToY.js +2 -2
- package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
- package/lib/hooks/useTranslation.js +6 -6
- package/lib/utils/address.js +1 -1
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +1 -1
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/money/constants.d.ts +0 -12
- package/lib/utils/money/constants.js +1 -17
- package/lib/utils/money/constants.js.map +1 -1
- package/lib/utils/money/constants.mjs +2 -17
- package/lib/utils/money/constants.mjs.map +1 -1
- package/lib/utils/money/format.js +4 -17
- package/lib/utils/money/format.js.map +1 -1
- package/lib/utils/money/format.mjs +5 -18
- package/lib/utils/money/format.mjs.map +1 -1
- package/lib/utils/money/index.js +0 -1
- package/lib/utils/money/index.js.map +1 -1
- package/lib/utils/money/index.mjs +1 -1
- package/package.json +1 -1
- package/lib/assets/enterpriseCampus24.jpg +0 -0
- package/lib/assets/enterpriseCampus48.jpg +0 -0
- package/lib/assets/enterpriseCampusAggregation.jpg +0 -0
- package/lib/assets/unasDrive.svg +0 -3
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampus24.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampus24.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampus24.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampus48.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampus48.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampus48.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampusAggregation.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampusAggregation.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/Switching/enterpriseCampusAggregation.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/AggregationSwitching.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/AggregationSwitching.js +0 -24
- package/lib/components/ModelCompareV3/data/AggregationSwitching.js.map +0 -1
- package/lib/components/ModelCompareV3/data/AggregationSwitching.mjs +0 -22
- package/lib/components/ModelCompareV3/data/AggregationSwitching.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/Ptz.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/Ptz.js +0 -13
- package/lib/components/ModelCompareV3/data/Ptz.js.map +0 -1
- package/lib/components/ModelCompareV3/data/Ptz.mjs +0 -11
- package/lib/components/ModelCompareV3/data/Ptz.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24.d.ts +0 -6
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -85
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48.d.ts +0 -6
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -85
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/fiberOltXgs.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/fiberOltXgs.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/linkPuncturing.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/linkPuncturing.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/linkPuncturing.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.js +0 -18
- package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.mjs.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +0 -2
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +0 -79
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +0 -71
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +0 -11
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +0 -80
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +0 -66
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +0 -1
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +0 -12
- package/lib/components/ProductTechSpecsV2/index.d.ts +0 -1
- package/lib/components/ProductTechSpecsV2/index.js +0 -6
- package/lib/components/ProductTechSpecsV2/index.js.map +0 -1
- package/lib/components/ProductTechSpecsV2/index.mjs +0 -3
- package/lib/components/ProductTechSpecsV2/index.mjs.map +0 -1
- package/lib/constants/icons/menu/unasDrive.svg.js +0 -27
- package/lib/constants/icons/menu/unasDrive.svg.js.map +0 -1
- package/lib/constants/icons/menu/unasDrive.svg.mjs +0 -3
- package/lib/constants/icons/menu/unasDrive.svg.mjs.map +0 -1
- /package/lib/assets/{fiberOltXgs.jpg → uispFiberOltXgs.jpg} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var currencies = require('@dinero.js/currencies');
|
|
5
|
-
var
|
|
5
|
+
var react = require('react');
|
|
6
6
|
require('../../contexts/MenuContext/index.js');
|
|
7
7
|
var mapping = require('../../contexts/MenuContext/mapping.js');
|
|
8
8
|
require('../../types/index.js');
|
|
@@ -31,8 +31,8 @@ const LandingPagePro = ({
|
|
|
31
31
|
const {
|
|
32
32
|
navigation
|
|
33
33
|
} = context.useMenu();
|
|
34
|
-
const isSearchUsed =
|
|
35
|
-
const categories =
|
|
34
|
+
const isSearchUsed = react.useMemo(() => !!searchProps.searchValue, [searchProps.searchValue]);
|
|
35
|
+
const categories = react.useMemo(() => {
|
|
36
36
|
const navItems = sidebarProps.productTypeBlock.activeType === "unifi" ? navigation.primary.items : navigation.secondary.items;
|
|
37
37
|
const items = navItems.filter(item => item.id !== mapping.NavigationItemId.UnifiIdentity && item.id !== mapping.NavigationItemId.UispSoftware
|
|
38
38
|
/**
|
|
@@ -117,13 +117,13 @@ const LandingPagePro = ({
|
|
|
117
117
|
items: category.items.filter(item => item?.products?.length)
|
|
118
118
|
}));
|
|
119
119
|
}, [navigation.primary.items, navigation.secondary.items, productGridProps?.products, sidebarProps.productTypeBlock.activeType, sidebarProps.translations.all]);
|
|
120
|
-
const maxPriceFilterAmount =
|
|
120
|
+
const maxPriceFilterAmount = react.useMemo(() => {
|
|
121
121
|
return {
|
|
122
122
|
amount: maximumPriceFilterLookup.get(sidebarProps.filtersBlock?.currency || generated.Currency.Cad) || 7e4,
|
|
123
123
|
currency: sidebarProps.filtersBlock?.currency || generated.Currency.Cad
|
|
124
124
|
};
|
|
125
125
|
}, [sidebarProps.filtersBlock?.currency]);
|
|
126
|
-
const categoryProducts =
|
|
126
|
+
const categoryProducts = react.useMemo(() => {
|
|
127
127
|
if (!sidebarProps?.categoriesBlock?.activeCategory) {
|
|
128
128
|
return productGridProps.products;
|
|
129
129
|
}
|
|
@@ -134,7 +134,7 @@ const LandingPagePro = ({
|
|
|
134
134
|
}
|
|
135
135
|
return [];
|
|
136
136
|
}, [categories, productGridProps.products, sidebarProps.categoriesBlock?.activeCategory]);
|
|
137
|
-
const productsFilter =
|
|
137
|
+
const productsFilter = react.useCallback(product => {
|
|
138
138
|
if (sidebarProps.filtersBlock?.activeFilters?.filters?.includes("inStock") && !product.variants.find(variant => variant.isInStock)) {
|
|
139
139
|
return false;
|
|
140
140
|
}
|
|
@@ -164,7 +164,7 @@ const LandingPagePro = ({
|
|
|
164
164
|
}
|
|
165
165
|
return true;
|
|
166
166
|
}, [maxPriceFilterAmount.amount, sidebarProps.filtersBlock?.activeFilters?.filters, sidebarProps.filtersBlock?.activeFilters?.priceFrom?.displayPrice, sidebarProps.filtersBlock?.activeFilters?.priceTo?.displayPrice]);
|
|
167
|
-
const productsSort =
|
|
167
|
+
const productsSort = react.useCallback((currentProduct, nextProduct) => {
|
|
168
168
|
const currentInStock = utils.productHasSomeInStock(currentProduct);
|
|
169
169
|
const nextInStock = utils.productHasSomeInStock(nextProduct);
|
|
170
170
|
const sortWeight = !isSearchUsed ? utils.compareSortWeights({
|
|
@@ -197,13 +197,13 @@ const LandingPagePro = ({
|
|
|
197
197
|
}
|
|
198
198
|
return sortValue + sortWeight;
|
|
199
199
|
}, [isSearchUsed, productGridProps.sortValue]);
|
|
200
|
-
const products =
|
|
200
|
+
const products = react.useMemo(() => {
|
|
201
201
|
if (categoryProducts === null) {
|
|
202
202
|
return null;
|
|
203
203
|
}
|
|
204
204
|
return categoryProducts?.filter(productsFilter).sort(productsSort);
|
|
205
205
|
}, [categoryProducts, productsFilter, productsSort]);
|
|
206
|
-
const filtersBlock =
|
|
206
|
+
const filtersBlock = react.useMemo(() => {
|
|
207
207
|
if (!sidebarProps.filtersBlock) {
|
|
208
208
|
return void 0;
|
|
209
209
|
}
|
|
@@ -218,12 +218,12 @@ const LandingPagePro = ({
|
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
}, [maxPriceFilterAmount, productGridProps.products, sidebarProps.filtersBlock]);
|
|
221
|
-
const hasFilters =
|
|
221
|
+
const hasFilters = react.useMemo(() => {
|
|
222
222
|
return !!filtersBlock?.activeFilters.filters?.length || filtersBlock?.activeFilters.priceFrom !== void 0 || filtersBlock?.activeFilters.priceTo !== void 0;
|
|
223
223
|
}, [filtersBlock?.activeFilters.filters?.length, filtersBlock?.activeFilters.priceFrom, filtersBlock?.activeFilters.priceTo]);
|
|
224
|
-
const areCategoriesLoading =
|
|
225
|
-
const isSidebarLoading =
|
|
226
|
-
const isDefaultCategory =
|
|
224
|
+
const areCategoriesLoading = react.useMemo(() => !!(sidebarProps.categoriesBlock && sidebarProps.categoriesBlock.activeCategory === void 0), [sidebarProps.categoriesBlock]);
|
|
225
|
+
const isSidebarLoading = react.useMemo(() => areCategoriesLoading || !productGridProps.isFullyLoaded, [areCategoriesLoading, productGridProps.isFullyLoaded]);
|
|
226
|
+
const isDefaultCategory = react.useMemo(() => !sidebarProps.categoriesBlock?.activeCategory, [sidebarProps.categoriesBlock?.activeCategory]);
|
|
227
227
|
return /* @__PURE__ */jsxRuntime.jsxs(LandingPagePro_styles.Container, {
|
|
228
228
|
size: "desktop",
|
|
229
229
|
children: [/* @__PURE__ */jsxRuntime.jsx(LandingPageSidebar.LandingPageSidebar, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var reactUse = require('react-use');
|
|
6
6
|
var layout = require('../../constants/layout.js');
|
|
7
7
|
require('../Search/index.js');
|
|
@@ -21,7 +21,7 @@ const LandingPageSearch = ({
|
|
|
21
21
|
const handleInputValueChange = e => {
|
|
22
22
|
search?.onSearch(e.target.value);
|
|
23
23
|
};
|
|
24
|
-
const handleOnClose =
|
|
24
|
+
const handleOnClose = react.useCallback(e => {
|
|
25
25
|
if (e?.ctrlKey || e?.metaKey) {
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var reactUse = require('react-use');
|
|
6
6
|
require('../../../utils/money/index.js');
|
|
7
7
|
require('../../CustomImage/index.js');
|
|
@@ -26,13 +26,13 @@ const SearchModal = function SearchModal2({
|
|
|
26
26
|
renderImage,
|
|
27
27
|
disableShowMoreResults
|
|
28
28
|
}) {
|
|
29
|
-
const ref =
|
|
30
|
-
const noResults =
|
|
31
|
-
const showSearchResultsLink =
|
|
29
|
+
const ref = react.useRef(null);
|
|
30
|
+
const noResults = react.useMemo(() => !search.loading && !search.items?.length && !!formattedQuerySearchTerm, [formattedQuerySearchTerm, search.items?.length, search.loading]);
|
|
31
|
+
const showSearchResultsLink = react.useMemo(() => !disableShowMoreResults && search.totalItemsCount > MAX_SEARCH_RESULTS, [search, disableShowMoreResults]);
|
|
32
32
|
reactUse.useClickAway(ref, () => {
|
|
33
33
|
onClose?.();
|
|
34
34
|
});
|
|
35
|
-
const searchItemsSliced =
|
|
35
|
+
const searchItemsSliced = react.useMemo(() => {
|
|
36
36
|
return search.items.slice(0, MAX_SEARCH_RESULTS);
|
|
37
37
|
}, [search.items]);
|
|
38
38
|
return /* @__PURE__ */jsxRuntime.jsxs(Modal_styles.Container, {
|
|
@@ -80,16 +80,16 @@ const SearchModalItem = function SearchModalItem2({
|
|
|
80
80
|
renderImage,
|
|
81
81
|
renderSeparationBorder
|
|
82
82
|
}) {
|
|
83
|
-
const handleButtonClick =
|
|
83
|
+
const handleButtonClick = react.useCallback(() => {
|
|
84
84
|
onAddToCart(slug);
|
|
85
85
|
}, [onAddToCart, slug]);
|
|
86
|
-
const isInStock =
|
|
86
|
+
const isInStock = react.useMemo(() => {
|
|
87
87
|
return !!variants?.find(variant => variant.isInStock);
|
|
88
88
|
}, [variants]);
|
|
89
|
-
const isComingSoon =
|
|
89
|
+
const isComingSoon = react.useMemo(() => {
|
|
90
90
|
return !isInStock && !!variants?.find(variant => variant.isComingSoon);
|
|
91
91
|
}, [isInStock, variants]);
|
|
92
|
-
const addToCartButtonText =
|
|
92
|
+
const addToCartButtonText = react.useMemo(() => {
|
|
93
93
|
if (isComingSoon) {
|
|
94
94
|
return translations.view;
|
|
95
95
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var Checkbox = require('@ubnt/ui-components/Checkbox');
|
|
5
5
|
var Radio = require('@ubnt/ui-components/Radio');
|
|
6
|
-
var
|
|
6
|
+
var react = require('react');
|
|
7
7
|
var reactUse = require('react-use');
|
|
8
8
|
require('../../assets/icons/previouslyPurchasedStar.svg.js');
|
|
9
9
|
require('../../constants/icons/index.js');
|
|
@@ -44,11 +44,11 @@ const LandingPageSidebar = function LandingPageSidebar2({
|
|
|
44
44
|
productTypeProps,
|
|
45
45
|
isCartSummaryOpen
|
|
46
46
|
}) {
|
|
47
|
-
const [isMobileOverlayOpened, setMobileOverlayOpened] =
|
|
47
|
+
const [isMobileOverlayOpened, setMobileOverlayOpened] = react.useState(false);
|
|
48
48
|
const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
|
|
49
|
-
const [hasFiltersChanged, setFilersChanged] =
|
|
49
|
+
const [hasFiltersChanged, setFilersChanged] = react.useState(false);
|
|
50
50
|
useLockBodyScrollCustom.useLockBodyScrollCustom(isMobile && isMobileOverlayOpened);
|
|
51
|
-
const filtersChange =
|
|
51
|
+
const filtersChange = react.useCallback(value => {
|
|
52
52
|
setFilersChanged(true);
|
|
53
53
|
filtersBlock?.onChange(value);
|
|
54
54
|
}, [filtersBlock]);
|
|
@@ -108,17 +108,17 @@ const CategoriesBlock = function CategoriesBlock2({
|
|
|
108
108
|
isSearchUsed,
|
|
109
109
|
productCount
|
|
110
110
|
}) {
|
|
111
|
-
const getInitialIndex =
|
|
111
|
+
const getInitialIndex = react.useCallback(() => {
|
|
112
112
|
return categories.findIndex(category => {
|
|
113
113
|
return category.items.some(item => categoriesBlock?.activeCategory === item.slug);
|
|
114
114
|
});
|
|
115
115
|
}, [categories, categoriesBlock?.activeCategory]);
|
|
116
|
-
const [initialAccordionIndex, setInitialAccordionIndex] =
|
|
117
|
-
const categoryChange =
|
|
116
|
+
const [initialAccordionIndex, setInitialAccordionIndex] = react.useState(getInitialIndex());
|
|
117
|
+
const categoryChange = react.useCallback(value => {
|
|
118
118
|
setFilersChanged(true);
|
|
119
119
|
categoriesBlock?.onChange(value);
|
|
120
120
|
}, [categoriesBlock, setFilersChanged]);
|
|
121
|
-
const accordionItems =
|
|
121
|
+
const accordionItems = react.useMemo(() => {
|
|
122
122
|
return categories.filter(category => isSearchUsed || (category?.items.flatMap(item => item.products).length || 0) > 0).map(category => {
|
|
123
123
|
const firstCategory = category.items[0];
|
|
124
124
|
return {
|
|
@@ -141,7 +141,7 @@ const CategoriesBlock = function CategoriesBlock2({
|
|
|
141
141
|
};
|
|
142
142
|
});
|
|
143
143
|
}, [categories, categoriesBlock?.activeCategory, categoryChange, isSearchUsed, translations]);
|
|
144
|
-
const handleAccordionChange =
|
|
144
|
+
const handleAccordionChange = react.useCallback(index => {
|
|
145
145
|
if (index > -1) {
|
|
146
146
|
setInitialAccordionIndex(index);
|
|
147
147
|
const currentCategoryID = accordionItems[index]?.id;
|
|
@@ -209,7 +209,7 @@ const FilterBlock = function FilterBlock2({
|
|
|
209
209
|
translations,
|
|
210
210
|
filtersBlock
|
|
211
211
|
}) {
|
|
212
|
-
const filtersList =
|
|
212
|
+
const filtersList = react.useMemo(() => {
|
|
213
213
|
return [{
|
|
214
214
|
title: translations.MSRPRange,
|
|
215
215
|
id: "priceRange",
|
|
@@ -232,7 +232,7 @@ const FilterBlock = function FilterBlock2({
|
|
|
232
232
|
type: "checkbox"
|
|
233
233
|
}];
|
|
234
234
|
}, [translations.MSRPRange, translations.earlyAccess, translations.inStock, translations.myPurchaseHistory]);
|
|
235
|
-
const handleCheckboxChange =
|
|
235
|
+
const handleCheckboxChange = react.useCallback((value, checked) => {
|
|
236
236
|
if (checked && !filtersBlock?.activeFilters.filters?.includes(value)) {
|
|
237
237
|
const newData = {
|
|
238
238
|
...filtersBlock?.activeFilters,
|
|
@@ -247,7 +247,7 @@ const FilterBlock = function FilterBlock2({
|
|
|
247
247
|
filtersBlock?.onChange(newData);
|
|
248
248
|
}
|
|
249
249
|
}, [filtersBlock]);
|
|
250
|
-
const hasFilters =
|
|
250
|
+
const hasFilters = react.useMemo(() => {
|
|
251
251
|
return !!filtersBlock?.activeFilters.filters?.length || filtersBlock?.activeFilters.priceFrom !== void 0 || filtersBlock?.activeFilters.priceTo !== void 0;
|
|
252
252
|
}, [filtersBlock?.activeFilters.filters?.length, filtersBlock?.activeFilters.priceFrom, filtersBlock?.activeFilters.priceTo]);
|
|
253
253
|
if (!filtersBlock) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var reactUse = require('react-use');
|
|
6
6
|
require('../../assets/icons/link.svg.js');
|
|
7
7
|
require('../../contexts/MenuContext/index.js');
|
|
@@ -56,8 +56,8 @@ const LayoutRenderer = ({
|
|
|
56
56
|
const {
|
|
57
57
|
activeNavigationSection
|
|
58
58
|
} = context.useMenu();
|
|
59
|
-
const wrapRef =
|
|
60
|
-
const images =
|
|
59
|
+
const wrapRef = react.useRef(null);
|
|
60
|
+
const images = react.useMemo(() => {
|
|
61
61
|
if (currentProduct?.images?.length) {
|
|
62
62
|
if (!currentProduct?.showGallery && currentProduct.images[0]) {
|
|
63
63
|
return [currentProduct.images[0]];
|
|
@@ -72,10 +72,10 @@ const LayoutRenderer = ({
|
|
|
72
72
|
const [galleryRef, {
|
|
73
73
|
width: galleryWidth
|
|
74
74
|
}] = reactUse.useMeasure();
|
|
75
|
-
const galleryHeight =
|
|
75
|
+
const galleryHeight = react.useMemo(() => {
|
|
76
76
|
return windowHeight - Header_styles.HEADER_HEIGHT - 80;
|
|
77
77
|
}, [windowHeight]);
|
|
78
|
-
const showTitle =
|
|
78
|
+
const showTitle = react.useMemo(() =>
|
|
79
79
|
// If not pro-store
|
|
80
80
|
!isProStore && (
|
|
81
81
|
// If we have no collection
|
|
@@ -84,7 +84,7 @@ const LayoutRenderer = ({
|
|
|
84
84
|
activeNavigationSection.items.every(item => !item.active) ||
|
|
85
85
|
// If we have collection and there are active, invisible items
|
|
86
86
|
activeNavigationSection.items.some(item => item.active && item.invisible)), [activeNavigationSection.items, collection, isProStore]);
|
|
87
|
-
const photos =
|
|
87
|
+
const photos = react.useMemo(() => {
|
|
88
88
|
return currentProduct?.deploymentImages?.map(asset => {
|
|
89
89
|
return {
|
|
90
90
|
...asset,
|
|
@@ -93,8 +93,8 @@ const LayoutRenderer = ({
|
|
|
93
93
|
};
|
|
94
94
|
}) ?? [];
|
|
95
95
|
}, [collection?.slug, currentProduct?.deploymentImages]);
|
|
96
|
-
const [activeTab, setActiveTab] =
|
|
97
|
-
const closerLookSectionProps =
|
|
96
|
+
const [activeTab, setActiveTab] = react.useState();
|
|
97
|
+
const closerLookSectionProps = react.useMemo(() => {
|
|
98
98
|
return {
|
|
99
99
|
translations: translations.closerLookSection,
|
|
100
100
|
renderImage,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
require('../../../contexts/MenuContext/index.js');
|
|
6
6
|
var MeetUniFiVideoPlayer_helpers = require('../MeetUniFiVideoPlayer.helpers.js');
|
|
7
7
|
var EpisodeCard_styles = require('./EpisodeCard.styles.js');
|
|
@@ -16,20 +16,20 @@ const EpisodeCard = ({
|
|
|
16
16
|
const {
|
|
17
17
|
languageDirection
|
|
18
18
|
} = context.useMenu();
|
|
19
|
-
const videoRef =
|
|
20
|
-
const [videoShouldPlay, setVideoShouldPlay] =
|
|
21
|
-
const [videoLoaded, setVideoLoaded] =
|
|
22
|
-
const handleMouseOver =
|
|
19
|
+
const videoRef = react.useRef(null);
|
|
20
|
+
const [videoShouldPlay, setVideoShouldPlay] = react.useState(false);
|
|
21
|
+
const [videoLoaded, setVideoLoaded] = react.useState(false);
|
|
22
|
+
const handleMouseOver = react.useCallback(() => {
|
|
23
23
|
setVideoShouldPlay(true);
|
|
24
24
|
videoRef.current?.play();
|
|
25
25
|
onMouseOver?.();
|
|
26
26
|
}, [onMouseOver]);
|
|
27
|
-
const handleMouseOut =
|
|
27
|
+
const handleMouseOut = react.useCallback(() => {
|
|
28
28
|
setVideoShouldPlay(false);
|
|
29
29
|
videoRef.current?.pause();
|
|
30
30
|
onMouseOut?.();
|
|
31
31
|
}, [onMouseOut]);
|
|
32
|
-
const handleOnClick =
|
|
32
|
+
const handleOnClick = react.useCallback(() => {
|
|
33
33
|
onClick?.(episode.id);
|
|
34
34
|
}, [episode.id, onClick]);
|
|
35
35
|
return /* @__PURE__ */jsxRuntime.jsxs(EpisodeCard_styles.Container, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var reactUse = require('react-use');
|
|
6
6
|
var layout = require('../../constants/layout.js');
|
|
7
7
|
require('../../contexts/MenuContext/mapping.js');
|
|
@@ -73,17 +73,17 @@ const MeetUniFiVideoPlayer = ({
|
|
|
73
73
|
}).then(res => res.default)
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
const latestEpisode =
|
|
76
|
+
const latestEpisode = react.useMemo(() => {
|
|
77
77
|
return episodes.sort((a, b) => b.episode - a.episode).sort((a, b) => b.season - a.season)[0];
|
|
78
78
|
}, [episodes]);
|
|
79
|
-
const [isVideoPlayerOpen, setVideoPlayerOpen] =
|
|
80
|
-
const [currentEpisode, setCurrentEpisode] =
|
|
81
|
-
const previewVideoRef =
|
|
79
|
+
const [isVideoPlayerOpen, setVideoPlayerOpen] = react.useState(false);
|
|
80
|
+
const [currentEpisode, setCurrentEpisode] = react.useState(latestEpisode);
|
|
81
|
+
const previewVideoRef = react.useRef(null);
|
|
82
82
|
const isDesktop = reactUse.useMedia(layout.BREAKPOINTS.TABLET_UP, false);
|
|
83
|
-
const [inViewForPreview, setInViewForPreview] =
|
|
84
|
-
const videoRef =
|
|
85
|
-
const [previewVideoBufferLoaded, setPreviewVideoBufferLoaded] =
|
|
86
|
-
|
|
83
|
+
const [inViewForPreview, setInViewForPreview] = react.useState(false);
|
|
84
|
+
const videoRef = react.useRef(null);
|
|
85
|
+
const [previewVideoBufferLoaded, setPreviewVideoBufferLoaded] = react.useState(false);
|
|
86
|
+
react.useEffect(() => {
|
|
87
87
|
let timer;
|
|
88
88
|
if (isInView && !isVideoPlayerOpen) {
|
|
89
89
|
timer = setTimeout(() => {
|
|
@@ -97,21 +97,21 @@ const MeetUniFiVideoPlayer = ({
|
|
|
97
97
|
clearTimeout(timer);
|
|
98
98
|
};
|
|
99
99
|
}, [isInView, isVideoPlayerOpen]);
|
|
100
|
-
|
|
100
|
+
react.useEffect(() => {
|
|
101
101
|
if (inViewForPreview && previewVideoBufferLoaded) {
|
|
102
102
|
try {
|
|
103
103
|
previewVideoRef.current?.play();
|
|
104
104
|
} catch {}
|
|
105
105
|
}
|
|
106
106
|
}, [inViewForPreview, previewVideoBufferLoaded]);
|
|
107
|
-
const handleEpisodeClick =
|
|
107
|
+
const handleEpisodeClick = react.useCallback(id2 => {
|
|
108
108
|
const foundEpisode = episodes.find(e => e.id === id2);
|
|
109
109
|
if (foundEpisode) {
|
|
110
110
|
setCurrentEpisode(foundEpisode);
|
|
111
111
|
setVideoPlayerOpen(true);
|
|
112
112
|
}
|
|
113
113
|
}, [episodes]);
|
|
114
|
-
const handleEpisodeMouseOver =
|
|
114
|
+
const handleEpisodeMouseOver = react.useCallback(() => {
|
|
115
115
|
const previewVideo = previewVideoRef.current;
|
|
116
116
|
if (previewVideo) {
|
|
117
117
|
try {
|
|
@@ -119,7 +119,7 @@ const MeetUniFiVideoPlayer = ({
|
|
|
119
119
|
} catch {}
|
|
120
120
|
}
|
|
121
121
|
}, []);
|
|
122
|
-
const handleEpisodeMouseOut =
|
|
122
|
+
const handleEpisodeMouseOut = react.useCallback(() => {
|
|
123
123
|
const previewVideo = previewVideoRef.current;
|
|
124
124
|
if (previewVideo) {
|
|
125
125
|
try {
|
|
@@ -127,7 +127,7 @@ const MeetUniFiVideoPlayer = ({
|
|
|
127
127
|
} catch {}
|
|
128
128
|
}
|
|
129
129
|
}, []);
|
|
130
|
-
const episodeCards =
|
|
130
|
+
const episodeCards = react.useMemo(() => {
|
|
131
131
|
const episodeCards2 = [];
|
|
132
132
|
if (episodes.length > 1) {
|
|
133
133
|
episodeCards2.push(...episodes.map(episode => {
|
|
@@ -161,11 +161,11 @@ const MeetUniFiVideoPlayer = ({
|
|
|
161
161
|
}
|
|
162
162
|
return episodeCards2;
|
|
163
163
|
}, [comingSoon, episodes, handleEpisodeClick, handleEpisodeMouseOut, handleEpisodeMouseOver]);
|
|
164
|
-
const activeEpisodeCardIndex =
|
|
164
|
+
const activeEpisodeCardIndex = react.useMemo(() => {
|
|
165
165
|
return episodeCards.findIndex(card => card.id === currentEpisode.id);
|
|
166
166
|
}, [currentEpisode.id, episodeCards]);
|
|
167
|
-
const [backgroundDisabled, setBackgroundDisabled] =
|
|
168
|
-
|
|
167
|
+
const [backgroundDisabled, setBackgroundDisabled] = react.useState(false);
|
|
168
|
+
react.useEffect(() => {
|
|
169
169
|
if (isVideoPlayerOpen) {
|
|
170
170
|
setBackgroundDisabled(true);
|
|
171
171
|
return;
|
|
@@ -178,7 +178,7 @@ const MeetUniFiVideoPlayer = ({
|
|
|
178
178
|
}
|
|
179
179
|
setBackgroundDisabled(false);
|
|
180
180
|
}, [inViewForPreview, isVideoPlayerOpen, previewVideoBufferLoaded]);
|
|
181
|
-
const heading =
|
|
181
|
+
const heading = react.useMemo(() => {
|
|
182
182
|
if (flipTitle) {
|
|
183
183
|
return {
|
|
184
184
|
episodeTitle: title,
|
package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var MicrositeFeatureProgressBar = require('../MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js');
|
|
6
6
|
var MicrositeColumnFeatureProgressBar_styles = require('./MicrositeColumnFeatureProgressBar.styles.js');
|
|
7
7
|
"use strict";
|
|
@@ -17,7 +17,7 @@ const MicrositeColumnFeatureProgressBar = ({
|
|
|
17
17
|
children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeColumnFeatureProgressBar_styles.BlockTitle, {
|
|
18
18
|
children: block.title
|
|
19
19
|
}), /* @__PURE__ */jsxRuntime.jsx(MicrositeColumnFeatureProgressBar_styles.BlockFeatures, {
|
|
20
|
-
children: block.features.map((feature, index2) => /* @__PURE__ */
|
|
20
|
+
children: block.features.map((feature, index2) => /* @__PURE__ */react.createElement(MicrositeFeatureProgressBar.MicrositeFeatureProgressBar, {
|
|
21
21
|
...feature,
|
|
22
22
|
key: index2
|
|
23
23
|
}))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var asset = require('../../utils/asset.js');
|
|
6
6
|
require('../CustomImage/index.js');
|
|
7
7
|
require('./assets/check-blue.svg.js');
|
|
@@ -31,7 +31,7 @@ const MicrositeFeatureChecklist = ({
|
|
|
31
31
|
cta,
|
|
32
32
|
motif
|
|
33
33
|
}) => {
|
|
34
|
-
const divider =
|
|
34
|
+
const divider = react.useMemo(() => asset.imageSrc(motif === "dark" ? dividerDark__default["default"] : dividerLight__default["default"]), [motif]);
|
|
35
35
|
return /* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureChecklist_styles.Container, {
|
|
36
36
|
motif,
|
|
37
37
|
children: [/* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureChecklist_styles.Titles, {
|
|
@@ -72,7 +72,7 @@ const FeatureGridItem = ({
|
|
|
72
72
|
description,
|
|
73
73
|
motif
|
|
74
74
|
}) => {
|
|
75
|
-
const check =
|
|
75
|
+
const check = react.useMemo(() => asset.imageSrc(motif === "dark" ? checkBlue__default["default"] : checkGray__default["default"]), [motif]);
|
|
76
76
|
return /* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureChecklist_styles.GridItemContainer, {
|
|
77
77
|
motif,
|
|
78
78
|
children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeFeatureChecklist_styles.GridItemCheckbox, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var MicrositeFeatureProgressBar_styles = require('./MicrositeFeatureProgressBar.styles.js');
|
|
6
6
|
var MicrositeFeatureProgressBar_types = require('./MicrositeFeatureProgressBar.types.js');
|
|
7
7
|
"use strict";
|
|
@@ -21,8 +21,8 @@ const MicrositeFeatureProgressBar = ({
|
|
|
21
21
|
className,
|
|
22
22
|
type = MicrositeFeatureProgressBar_types.MicrositeFeatureProgressBarType.DEFAULT
|
|
23
23
|
}) => {
|
|
24
|
-
const partitionedProgress =
|
|
25
|
-
const mobilePartitionedProgress =
|
|
24
|
+
const partitionedProgress = react.useMemo(() => Math.min(Math.max(barValue, 0), max), [barValue, max]);
|
|
25
|
+
const mobilePartitionedProgress = react.useMemo(() => Math.min(Math.max(tabletBar?.value ?? 0, 0), tabletBar?.max ?? max), [tabletBar?.value, tabletBar?.max, max]);
|
|
26
26
|
return /* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureProgressBar_styles.Container, {
|
|
27
27
|
$small: type === MicrositeFeatureProgressBar_types.MicrositeFeatureProgressBarType.COLUMN,
|
|
28
28
|
className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
require('../../contexts/MicrositeMenuContext/index.js');
|
|
6
6
|
require('./components/Navigation/index.js');
|
|
7
7
|
var context = require('../../contexts/MicrositeMenuContext/context.js');
|
|
@@ -15,9 +15,9 @@ const MicrositeHeader = ({
|
|
|
15
15
|
const {
|
|
16
16
|
menu
|
|
17
17
|
} = context.useMicrositeMenu();
|
|
18
|
-
const firstLevelItems =
|
|
19
|
-
const firstLevelActiveItem =
|
|
20
|
-
const secondLevelItems =
|
|
18
|
+
const firstLevelItems = react.useMemo(() => menu.items, [menu.items]);
|
|
19
|
+
const firstLevelActiveItem = react.useMemo(() => firstLevelItems?.find(item => item.active), [firstLevelItems]);
|
|
20
|
+
const secondLevelItems = react.useMemo(() => firstLevelActiveItem?.variant !== "dropdown" ? firstLevelActiveItem?.items : void 0, [firstLevelActiveItem]);
|
|
21
21
|
return /* @__PURE__ */jsxRuntime.jsx(Navigation.Navigation, {
|
|
22
22
|
menu,
|
|
23
23
|
motif,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
require('../../../../assets/icons/zoomOut.svg.js');
|
|
6
6
|
require('../../../../constants/icons/generic/index.js');
|
|
7
7
|
require('../../../../contexts/MicrositeMenuContext/index.js');
|
|
@@ -33,9 +33,9 @@ const DropdownMenu = ({
|
|
|
33
33
|
const {
|
|
34
34
|
language
|
|
35
35
|
} = context.useMicrositeMenu();
|
|
36
|
-
const [activeItemId, setActiveItemId] =
|
|
37
|
-
const activeItem =
|
|
38
|
-
|
|
36
|
+
const [activeItemId, setActiveItemId] = react.useState();
|
|
37
|
+
const activeItem = react.useMemo(() => items.find(item => item.id === activeItemId), [activeItemId, items]);
|
|
38
|
+
react.useEffect(() => {
|
|
39
39
|
setActiveItemId(items?.[0]?.id);
|
|
40
40
|
}, [items]);
|
|
41
41
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var react = require('react');
|
|
5
5
|
var reactUse = require('react-use');
|
|
6
6
|
require('../../../../constants/icons/header/index.js');
|
|
7
7
|
var layout = require('../../../../constants/layout.js');
|
|
@@ -62,8 +62,8 @@ const Navigation = ({
|
|
|
62
62
|
// isLastMenu,
|
|
63
63
|
}) => {
|
|
64
64
|
const isMobile = reactUse.useMedia(layout.BREAKPOINTS.MOBILE_AND_DOWN, false);
|
|
65
|
-
const wrapperRef =
|
|
66
|
-
const [hasWhiteBackground, setHasWhiteBackground] =
|
|
65
|
+
const wrapperRef = react.useRef(null);
|
|
66
|
+
const [hasWhiteBackground, setHasWhiteBackground] = react.useState(false);
|
|
67
67
|
const {
|
|
68
68
|
activeModal,
|
|
69
69
|
setActiveModal
|
|
@@ -71,8 +71,8 @@ const Navigation = ({
|
|
|
71
71
|
const {
|
|
72
72
|
createSiteUrl
|
|
73
73
|
} = context$1.useMenu();
|
|
74
|
-
const [selectedMenu, setSelectedMenu] =
|
|
75
|
-
const hasDarkText =
|
|
74
|
+
const [selectedMenu, setSelectedMenu] = react.useState(null);
|
|
75
|
+
const hasDarkText = react.useMemo(() => {
|
|
76
76
|
if (motif === "light") {
|
|
77
77
|
return true;
|
|
78
78
|
}
|
|
@@ -87,13 +87,13 @@ const Navigation = ({
|
|
|
87
87
|
}) => !!active);
|
|
88
88
|
return activeChildElement?.hasDarkText ?? false;
|
|
89
89
|
}, [menu, motif]);
|
|
90
|
-
const theme =
|
|
90
|
+
const theme = react.useMemo(() => {
|
|
91
91
|
if (hasDarkText) {
|
|
92
92
|
return "DarkText" /* DarkText */;
|
|
93
93
|
}
|
|
94
94
|
return hasWhiteBackground || !!selectedMenu ? "DarkText" /* DarkText */ : "LightText" /* LightText */;
|
|
95
95
|
}, [hasWhiteBackground, selectedMenu, hasDarkText]);
|
|
96
|
-
|
|
96
|
+
react.useEffect(() => {
|
|
97
97
|
setSelectedMenu(null);
|
|
98
98
|
if (!wrapperRef?.current) {
|
|
99
99
|
return;
|
|
@@ -106,10 +106,10 @@ const Navigation = ({
|
|
|
106
106
|
observer.disconnect();
|
|
107
107
|
};
|
|
108
108
|
}, []);
|
|
109
|
-
const handleModalClose =
|
|
109
|
+
const handleModalClose = react.useCallback(() => {
|
|
110
110
|
setActiveModal(null);
|
|
111
111
|
}, [setActiveModal]);
|
|
112
|
-
const handleModalOpen =
|
|
112
|
+
const handleModalOpen = react.useCallback((e, id) => {
|
|
113
113
|
e.stopPropagation();
|
|
114
114
|
if (activeModal !== id) {
|
|
115
115
|
onModalOpen?.();
|
|
@@ -139,8 +139,7 @@ const Navigation = ({
|
|
|
139
139
|
item,
|
|
140
140
|
motif: theme,
|
|
141
141
|
isActive: item.id === selectedMenu?.id,
|
|
142
|
-
onMouseEnter: () => setSelectedMenu(item ?? null)
|
|
143
|
-
onMenuItemClick
|
|
142
|
+
onMouseEnter: () => setSelectedMenu(item ?? null)
|
|
144
143
|
}, `${item.id}-${item.label}-${index}`)), /* @__PURE__ */jsxRuntime.jsx(DropdownMenu.DropdownMenu, {
|
|
145
144
|
items: selectedMenu?.items ?? [],
|
|
146
145
|
show: !!selectedMenu?.id && selectedMenu?.variant === DROPDOWN_KEY,
|
|
@@ -148,8 +147,7 @@ const Navigation = ({
|
|
|
148
147
|
onMouseLeave: () => setSelectedMenu(null)
|
|
149
148
|
}), /* @__PURE__ */jsxRuntime.jsx(SubNavigation.SubNavigation, {
|
|
150
149
|
menu: selectedMenu,
|
|
151
|
-
show: !!selectedMenu?.id && selectedMenu?.variant !== DROPDOWN_KEY
|
|
152
|
-
onMenuItemClick
|
|
150
|
+
show: !!selectedMenu?.id && selectedMenu?.variant !== DROPDOWN_KEY
|
|
153
151
|
})]
|
|
154
152
|
})]
|
|
155
153
|
}), /* @__PURE__ */jsxRuntime.jsxs(Navigation_styles.RightWrap, {
|