@ubnt/store.core 9.57.0 → 9.57.2-new-design
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 +123 -1
- package/lib/_virtual/_virtual_multi-entry.js +13 -10
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +13 -11
- package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
- package/lib/apis/smartcat.d.ts +12 -2
- package/lib/apis/smartcat.js +27 -4
- package/lib/apis/smartcat.js.map +1 -1
- package/lib/apis/smartcat.mjs +27 -4
- package/lib/apis/smartcat.mjs.map +1 -1
- package/lib/assets/cart-secondary.svg +5 -0
- package/lib/assets/icon-location-pin.svg +5 -0
- package/lib/assets/icons/cart-secondary.svg.js +27 -0
- package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
- package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
- package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
- package/lib/assets/icons/menu/{icon-globe.svg.js → icon-location-pin.svg.js} +6 -6
- package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
- package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
- package/lib/assets/logoUnifi.svg +10 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/assets/udmPro.jpg +0 -0
- package/lib/assets/udmPro2.jpg +0 -0
- package/lib/assets/udmProMax.jpg +0 -0
- package/lib/assets/udmProMax2.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/BackInStock/BackInStock.types.d.ts +1 -0
- package/lib/components/Button/Button.js +12 -5
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.mjs +8 -1
- package/lib/components/Button/Button.mjs.map +1 -1
- package/lib/components/Button/CartButton.d.ts +3 -1
- package/lib/components/Button/CartButton.js +11 -6
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +8 -4
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.js +16 -9
- package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.mjs +16 -9
- package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +10 -6
- package/lib/components/ButtonGroup/ButtonGroup.styles.js +60 -20
- package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +60 -20
- package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
- package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +16 -4
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +17 -5
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +82 -17
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
- package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +4 -0
- package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
- package/lib/components/CardSection/Card/Card.js +6 -6
- package/lib/components/CardSection/CardSection.js +2 -2
- package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
- package/lib/components/CartIcon/CartIcon.js +2 -2
- package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +4 -2
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +8 -5
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -6
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
- 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/Compare/Compare.styles.d.ts +5 -5
- package/lib/components/Container/Container.d.ts +1 -1
- package/lib/components/Container/Container.js +5 -4
- package/lib/components/Container/Container.js.map +1 -1
- package/lib/components/Container/Container.mjs +5 -4
- package/lib/components/Container/Container.mjs.map +1 -1
- package/lib/components/Container/index.stories.d.ts +5 -5
- package/lib/components/CustomImage/CustomImage.js +12 -12
- package/lib/components/Explore/Explore.js +5 -5
- package/lib/components/Explore/ExploreData.js +12 -12
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +12 -12
- 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 +30 -20
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- 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/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/Header/Header.js +43 -43
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +9 -9
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.stories.d.ts +111 -0
- package/lib/components/Header/Header.styles.d.ts +7 -12
- package/lib/components/Header/Header.styles.js +10 -32
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +10 -31
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +29 -5
- package/lib/components/Header/Header.types.js +2 -1
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs +2 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/IsolatedHeader.d.ts +1 -0
- package/lib/components/Header/IsolatedHeader.js +50 -50
- package/lib/components/Header/IsolatedHeader.js.map +1 -1
- package/lib/components/Header/IsolatedHeader.mjs +47 -46
- package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
- package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
- package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
- package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
- package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
- package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
- package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
- package/lib/components/Header/LogoIcon/index.d.ts +1 -0
- package/lib/components/Header/LogoIcon/index.js +6 -0
- package/lib/components/Header/LogoIcon/index.js.map +1 -0
- package/lib/components/Header/LogoIcon/index.mjs +3 -0
- package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
- package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
- package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
- package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
- package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
- 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/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +116 -109
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +111 -104
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +9 -0
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
- package/lib/components/Header/Overlay/Overlay.js +3 -3
- package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
- package/lib/components/Header/ProHeader/ProHeader.js +270 -189
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +251 -171
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +30 -25
- package/lib/components/Header/ProHeader/ProHeader.styles.js +119 -66
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +112 -65
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
- package/lib/components/Header/translations/ar.json.js +4 -1
- package/lib/components/Header/translations/ar.json.js.map +1 -1
- package/lib/components/Header/translations/ar.json.mjs +4 -2
- package/lib/components/Header/translations/ar.json.mjs.map +1 -1
- package/lib/components/Header/translations/de.json.js +4 -1
- package/lib/components/Header/translations/de.json.js.map +1 -1
- package/lib/components/Header/translations/de.json.mjs +4 -2
- package/lib/components/Header/translations/de.json.mjs.map +1 -1
- package/lib/components/Header/translations/el.json.js +4 -1
- package/lib/components/Header/translations/el.json.js.map +1 -1
- package/lib/components/Header/translations/el.json.mjs +4 -2
- package/lib/components/Header/translations/el.json.mjs.map +1 -1
- package/lib/components/Header/translations/en.json.js +7 -1
- package/lib/components/Header/translations/en.json.js.map +1 -1
- package/lib/components/Header/translations/en.json.mjs +6 -2
- package/lib/components/Header/translations/en.json.mjs.map +1 -1
- package/lib/components/Header/translations/es.json.js +4 -1
- package/lib/components/Header/translations/es.json.js.map +1 -1
- package/lib/components/Header/translations/es.json.mjs +4 -2
- package/lib/components/Header/translations/es.json.mjs.map +1 -1
- package/lib/components/Header/translations/fr.json.js +4 -1
- package/lib/components/Header/translations/fr.json.js.map +1 -1
- package/lib/components/Header/translations/fr.json.mjs +4 -2
- package/lib/components/Header/translations/fr.json.mjs.map +1 -1
- package/lib/components/Header/translations/it.json.js +4 -1
- package/lib/components/Header/translations/it.json.js.map +1 -1
- package/lib/components/Header/translations/it.json.mjs +4 -2
- package/lib/components/Header/translations/it.json.mjs.map +1 -1
- package/lib/components/Header/translations/ja.json.js +4 -1
- package/lib/components/Header/translations/ja.json.js.map +1 -1
- package/lib/components/Header/translations/ja.json.mjs +4 -2
- package/lib/components/Header/translations/ja.json.mjs.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.js +4 -1
- package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
- package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.js +4 -1
- package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
- package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/Hero/Hero.js +5 -5
- package/lib/components/Hero/Hero.styles.d.ts +2 -2
- package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
- package/lib/components/HeroVideo/HeroVideo.js +5 -5
- package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
- package/lib/components/ImageCarousel/ImageCarousel.js +33 -29
- package/lib/components/ImageCarousel/ImageCarousel.js.map +1 -1
- package/lib/components/ImageCarousel/ImageCarousel.mjs +4 -0
- package/lib/components/ImageCarousel/ImageCarousel.mjs.map +1 -1
- 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/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
- 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/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
- package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
- package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
- package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
- package/lib/components/LoaderDots/LoaderDots.js +3 -1
- package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
- package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
- package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
- package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
- package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
- 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/MicrositeHero/MicrositeHero.js +18 -18
- 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/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
- 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/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/udmPro.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
- 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/udmPro.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.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/data/CloudGateways.js +9 -9
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +4 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.js +3 -3
- package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +4 -2
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +3 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +3 -1
- package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +4 -4
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +5 -41
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +5 -21
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
- package/lib/components/ModelCompareV3/data/products/udw.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 +7 -7
- 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/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
- package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
- package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +81 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +73 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +80 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +66 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
- package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
- package/lib/components/ProductTechSpecsV2/index.js +6 -0
- package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
- package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
- 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 +6 -6
- package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
- package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
- package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +6 -1
- package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +6 -1
- package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
- 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 +5 -5
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
- 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 +17 -17
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- 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.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +33 -25
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
- package/lib/components/Search/Input/Input.d.ts +1 -1
- package/lib/components/Search/Input/Input.js +8 -8
- package/lib/components/Search/Input/Input.js.map +1 -1
- package/lib/components/Search/Input/Input.mjs +4 -4
- package/lib/components/Search/Input/Input.mjs.map +1 -1
- package/lib/components/Search/Input/Input.styles.js +0 -1
- package/lib/components/Search/Input/Input.styles.js.map +1 -1
- package/lib/components/Search/Input/Input.styles.mjs +0 -1
- package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
- package/lib/components/Search/Input/Input.types.d.ts +3 -2
- 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 +20 -20
- 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 +1 -0
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/index.mjs +2 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
- package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
- package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
- package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +4 -2
- package/lib/constants/proStoreCategories/mapping/index.js +50 -51
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +49 -49
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
- package/lib/constants/proStoreCategories/mapping/redirects.js +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/redirects.mjs +18 -3
- package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -9
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +7 -3
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +7 -4
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +55 -3
- package/lib/constants/proStoreFilters/mapping.js +140 -10
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +140 -10
- package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
- package/lib/constants/theme.js +4 -0
- package/lib/constants/theme.js.map +1 -1
- package/lib/constants/theme.mjs +4 -0
- package/lib/constants/theme.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +34 -34
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +1 -1
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/helpers/index.js +1 -0
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +1 -1
- package/lib/helpers/proStoreCategories.js +2 -2
- package/lib/helpers/ux.d.ts +8 -0
- package/lib/helpers/ux.js +15 -0
- package/lib/helpers/ux.js.map +1 -1
- package/lib/helpers/ux.mjs +15 -1
- package/lib/helpers/ux.mjs.map +1 -1
- 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/nextjs/ssr/registry.js +2 -2
- package/package.json +1 -1
- package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
- package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
- package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var merge = require('lodash/merge');
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
require('../../assets/icons/carouselArrow.svg.js');
|
|
7
7
|
var StorageSliders_context = require('../StorageSliders/StorageSliders.context.js');
|
|
8
8
|
require('./Variant/index.js');
|
|
@@ -35,26 +35,26 @@ const VariantSelector = ({
|
|
|
35
35
|
language,
|
|
36
36
|
getEndPrice
|
|
37
37
|
}) => {
|
|
38
|
-
const translations =
|
|
38
|
+
const translations = React.useMemo(() => {
|
|
39
39
|
return merge__default["default"](VariantSelector_constants.defaultVariantSelectorTranslations, initialTranslations);
|
|
40
40
|
}, [initialTranslations]);
|
|
41
|
-
const allVariants =
|
|
42
|
-
const currentVariant =
|
|
41
|
+
const allVariants = React.useMemo(() => sections.flatMap(section => section.variants), [sections]);
|
|
42
|
+
const currentVariant = React.useMemo(() => {
|
|
43
43
|
return allVariants.find(variant => variant.id === selectedVariant);
|
|
44
44
|
}, [allVariants, selectedVariant]);
|
|
45
|
-
const isVariantSelected =
|
|
45
|
+
const isVariantSelected = React.useCallback(variant => {
|
|
46
46
|
return !!(variant.id === selectedVariant || selectedVariant && !!variant.otherIds?.includes(selectedVariant));
|
|
47
47
|
}, [selectedVariant]);
|
|
48
|
-
const shownSections =
|
|
48
|
+
const shownSections = React.useMemo(() => {
|
|
49
49
|
return sections.map(section => ({
|
|
50
50
|
...section,
|
|
51
51
|
variants: section.variants.filter(variant => !variant.isLegacy)
|
|
52
52
|
})).filter(section => !!section.variants.length);
|
|
53
53
|
}, [sections]);
|
|
54
|
-
const [isOlderModelSectionOpened, setIsOlderModelSectionOpened] =
|
|
54
|
+
const [isOlderModelSectionOpened, setIsOlderModelSectionOpened] = React.useState(!!currentVariant?.isLegacy);
|
|
55
55
|
const {
|
|
56
56
|
olderModels
|
|
57
|
-
} =
|
|
57
|
+
} = React.useMemo(() => {
|
|
58
58
|
const olderModels2 = [];
|
|
59
59
|
for (const variant of allVariants) {
|
|
60
60
|
if (variant?.isLegacy) {
|
|
@@ -65,13 +65,13 @@ const VariantSelector = ({
|
|
|
65
65
|
olderModels: olderModels2
|
|
66
66
|
};
|
|
67
67
|
}, [allVariants]);
|
|
68
|
-
const hasOlderModels =
|
|
69
|
-
const olderModelsButtonText =
|
|
68
|
+
const hasOlderModels = React.useMemo(() => !!olderModels.length, [olderModels]);
|
|
69
|
+
const olderModelsButtonText = React.useMemo(() => {
|
|
70
70
|
return VariantSelector_constants.getOlderModelsButtonText(collectionSlug, language) || {
|
|
71
71
|
title: translations.olderModels
|
|
72
72
|
};
|
|
73
73
|
}, [collectionSlug, language, translations.olderModels]);
|
|
74
|
-
const handleOlderModelsButtonClick =
|
|
74
|
+
const handleOlderModelsButtonClick = React.useCallback(() => {
|
|
75
75
|
if (isOlderModelSectionOpened) {
|
|
76
76
|
const variant = allVariants.find(variant2 => !variant2.isLegacy && variant2.isInStock) || allVariants.find(variant2 => !variant2.isLegacy);
|
|
77
77
|
if (variant) {
|
|
@@ -80,21 +80,21 @@ const VariantSelector = ({
|
|
|
80
80
|
}
|
|
81
81
|
setIsOlderModelSectionOpened(prev => !prev);
|
|
82
82
|
}, [allVariants, isOlderModelSectionOpened, onVariantSelect]);
|
|
83
|
-
|
|
83
|
+
React.useEffect(() => {
|
|
84
84
|
setIsOlderModelSectionOpened(false);
|
|
85
85
|
}, [
|
|
86
86
|
// HACK: needed collectionSlug to retrigger the effect
|
|
87
87
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
88
88
|
collectionSlug]);
|
|
89
|
-
|
|
89
|
+
React.useEffect(() => {
|
|
90
90
|
if (currentVariant?.isLegacy) {
|
|
91
91
|
setIsOlderModelSectionOpened(true);
|
|
92
92
|
}
|
|
93
93
|
}, [currentVariant?.isLegacy]);
|
|
94
94
|
return /* @__PURE__ */jsxRuntime.jsxs(VariantSelector_styles.Container, {
|
|
95
|
-
children: [shownSections.map((section, i) => /* @__PURE__ */jsxRuntime.jsx(
|
|
95
|
+
children: [shownSections.map((section, i) => /* @__PURE__ */jsxRuntime.jsx(React.Fragment, {
|
|
96
96
|
children: /* @__PURE__ */jsxRuntime.jsx(VariantSelector_styles.Wrapper, {
|
|
97
|
-
children: section.variants.map(variant => /* @__PURE__ */jsxRuntime.jsx(
|
|
97
|
+
children: section.variants.map(variant => /* @__PURE__ */jsxRuntime.jsx(React.Fragment, {
|
|
98
98
|
children: /* @__PURE__ */jsxRuntime.jsx(StorageSliders_context.StorageSlidersProvider, {
|
|
99
99
|
hddTerabytes: variant.upsellVariant?.hddTerabytes,
|
|
100
100
|
sku: variant.baseSku,
|
|
@@ -136,7 +136,7 @@ const VariantSelector = ({
|
|
|
136
136
|
})]
|
|
137
137
|
}), hasOlderModels && isOlderModelSectionOpened && /* @__PURE__ */jsxRuntime.jsx(VariantSelector_styles.Wrapper, {
|
|
138
138
|
topMargin: true,
|
|
139
|
-
children: olderModels.map(variant => /* @__PURE__ */jsxRuntime.jsx(
|
|
139
|
+
children: olderModels.map(variant => /* @__PURE__ */jsxRuntime.jsx(React.Fragment, {
|
|
140
140
|
children: /* @__PURE__ */jsxRuntime.jsx(StorageSliders_context.StorageSlidersProvider, {
|
|
141
141
|
sku: variant.baseSku,
|
|
142
142
|
children: /* @__PURE__ */jsxRuntime.jsx(Variant.VariantSelectorVariant, {
|
|
@@ -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 time = require('../../helpers/time.js');
|
|
6
6
|
var useTestMediaElementVolumeSetter = require('../../hooks/useTestMediaElementVolumeSetter.js');
|
|
7
7
|
require('./assets/back.svg.js');
|
|
@@ -32,7 +32,7 @@ var VolumeOffIcon__default = /*#__PURE__*/_interopDefault(VolumeOffIcon);
|
|
|
32
32
|
var VolumeOnIcon__default = /*#__PURE__*/_interopDefault(VolumeOnIcon);
|
|
33
33
|
var FullscreenOnIcon__default = /*#__PURE__*/_interopDefault(FullscreenOnIcon);
|
|
34
34
|
"use strict";
|
|
35
|
-
const VideoPlayer =
|
|
35
|
+
const VideoPlayer = React.forwardRef(function VideoPlayer2({
|
|
36
36
|
isOpen,
|
|
37
37
|
title,
|
|
38
38
|
src,
|
|
@@ -42,13 +42,13 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
42
42
|
showCloseButton = false,
|
|
43
43
|
motif = "dark"
|
|
44
44
|
}, ref) {
|
|
45
|
-
const [isPlaying, setIsPlaying] =
|
|
46
|
-
const localVideoRef =
|
|
45
|
+
const [isPlaying, setIsPlaying] = React.useState(true);
|
|
46
|
+
const localVideoRef = React.useRef(null);
|
|
47
47
|
const videoRef = ref ?? localVideoRef;
|
|
48
|
-
const [currentTimeSec, setCurrentTimeSec] =
|
|
49
|
-
const [durationSec, setDurationSec] =
|
|
48
|
+
const [currentTimeSec, setCurrentTimeSec] = React.useState(0);
|
|
49
|
+
const [durationSec, setDurationSec] = React.useState(0);
|
|
50
50
|
const isVolumeChangeSupported = useTestMediaElementVolumeSetter.useTestMediaElementVolumeSetter();
|
|
51
|
-
|
|
51
|
+
React.useEffect(() => {
|
|
52
52
|
if (!videoRef || !("current" in videoRef) || !videoRef.current) {
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
@@ -63,7 +63,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
63
63
|
video?.removeEventListener("webkitendfullscreen", handleFullscreenChange);
|
|
64
64
|
};
|
|
65
65
|
}, [videoRef]);
|
|
66
|
-
|
|
66
|
+
React.useEffect(() => {
|
|
67
67
|
if (!videoRef || !("current" in videoRef)) {
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
@@ -78,7 +78,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
78
78
|
video?.removeEventListener("ended", handleClose);
|
|
79
79
|
};
|
|
80
80
|
}, [videoRef, onClose]);
|
|
81
|
-
|
|
81
|
+
React.useEffect(() => {
|
|
82
82
|
if (!videoRef || !("current" in videoRef)) {
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
@@ -91,7 +91,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
91
91
|
video?.removeEventListener("timeupdate", updateTime);
|
|
92
92
|
};
|
|
93
93
|
}, [videoRef]);
|
|
94
|
-
const handlePlay =
|
|
94
|
+
const handlePlay = React.useCallback(() => {
|
|
95
95
|
try {
|
|
96
96
|
if (videoRef && "current" in videoRef) {
|
|
97
97
|
videoRef?.current?.play();
|
|
@@ -101,7 +101,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
101
101
|
console.error(e);
|
|
102
102
|
}
|
|
103
103
|
}, [videoRef]);
|
|
104
|
-
const handlePause =
|
|
104
|
+
const handlePause = React.useCallback(() => {
|
|
105
105
|
if (!videoRef || !("current" in videoRef)) {
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
@@ -112,7 +112,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
112
112
|
console.log(e);
|
|
113
113
|
}
|
|
114
114
|
}, [videoRef]);
|
|
115
|
-
|
|
115
|
+
React.useEffect(() => {
|
|
116
116
|
if (!videoRef || !("current" in videoRef)) {
|
|
117
117
|
return;
|
|
118
118
|
}
|
|
@@ -127,7 +127,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
127
127
|
handlePlay();
|
|
128
128
|
}
|
|
129
129
|
}, [handlePause, handlePlay, isOpen, videoRef]);
|
|
130
|
-
const handlePlayback =
|
|
130
|
+
const handlePlayback = React.useCallback(e => {
|
|
131
131
|
e?.stopPropagation();
|
|
132
132
|
if (!videoRef || !("current" in videoRef)) {
|
|
133
133
|
return;
|
|
@@ -138,7 +138,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
138
138
|
handlePause();
|
|
139
139
|
}
|
|
140
140
|
}, [handlePause, handlePlay, videoRef]);
|
|
141
|
-
const handleFullscreen =
|
|
141
|
+
const handleFullscreen = React.useCallback(async e => {
|
|
142
142
|
e.stopPropagation();
|
|
143
143
|
if (!videoRef || !("current" in videoRef)) {
|
|
144
144
|
return;
|
|
@@ -170,7 +170,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
}, [videoRef]);
|
|
173
|
-
const handleSeek =
|
|
173
|
+
const handleSeek = React.useCallback(e => {
|
|
174
174
|
e.stopPropagation();
|
|
175
175
|
if (!videoRef || !("current" in videoRef)) {
|
|
176
176
|
return;
|
|
@@ -182,9 +182,9 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
182
182
|
setCurrentTimeSec(time);
|
|
183
183
|
}
|
|
184
184
|
}, [videoRef]);
|
|
185
|
-
const [isMuted, setIsMuted] =
|
|
186
|
-
const [volume, setVolume] =
|
|
187
|
-
const handleVolumeClick =
|
|
185
|
+
const [isMuted, setIsMuted] = React.useState(false);
|
|
186
|
+
const [volume, setVolume] = React.useState(1);
|
|
187
|
+
const handleVolumeClick = React.useCallback(e => {
|
|
188
188
|
e.stopPropagation();
|
|
189
189
|
if (!videoRef || !("current" in videoRef)) {
|
|
190
190
|
return;
|
|
@@ -201,7 +201,7 @@ const VideoPlayer = react.forwardRef(function VideoPlayer2({
|
|
|
201
201
|
setIsMuted(true);
|
|
202
202
|
}
|
|
203
203
|
}, [isMuted, videoRef]);
|
|
204
|
-
const handleVolumeChange =
|
|
204
|
+
const handleVolumeChange = React.useCallback(e => {
|
|
205
205
|
e.stopPropagation();
|
|
206
206
|
if (!videoRef || !("current" in videoRef)) {
|
|
207
207
|
return;
|
|
@@ -52,3 +52,4 @@ export * as VideoPlayer from "./VideoPlayerNew";
|
|
|
52
52
|
export * as ResourceCalculatorV1 from "./ResourceCalculatorV1";
|
|
53
53
|
export * as CartIcon from "./CartIcon";
|
|
54
54
|
export * as AccountMenu from "./Header/AccountMenu";
|
|
55
|
+
export * as ProductTechSpecsV2 from "./ProductTechSpecsV2";
|
package/lib/components/index.js
CHANGED
|
@@ -54,6 +54,7 @@ var index$O = require('./VideoPlayerNew/index.js');
|
|
|
54
54
|
var index$P = require('./ResourceCalculatorV1/index.js');
|
|
55
55
|
var index$Q = require('./CartIcon/index.js');
|
|
56
56
|
var index$R = require('./Header/AccountMenu/index.js');
|
|
57
|
+
var index$S = require('./ProductTechSpecsV2/index.js');
|
|
57
58
|
"use strict";
|
|
58
59
|
exports.Avatar = index;
|
|
59
60
|
exports.Button = index$1;
|
|
@@ -109,4 +110,5 @@ exports.VideoPlayer = index$O;
|
|
|
109
110
|
exports.ResourceCalculatorV1 = index$P;
|
|
110
111
|
exports.CartIcon = index$Q;
|
|
111
112
|
exports.AccountMenu = index$R;
|
|
113
|
+
exports.ProductTechSpecsV2 = index$S;
|
|
112
114
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/components/index.mjs
CHANGED
|
@@ -106,5 +106,7 @@ import * as index$Q from './CartIcon/index.mjs';
|
|
|
106
106
|
export { index$Q as CartIcon };
|
|
107
107
|
import * as index$R from './Header/AccountMenu/index.mjs';
|
|
108
108
|
export { index$R as AccountMenu };
|
|
109
|
+
import * as index$S from './ProductTechSpecsV2/index.mjs';
|
|
110
|
+
export { index$S as ProductTechSpecsV2 };
|
|
109
111
|
"use strict";
|
|
110
112
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export declare enum FilterId {
|
|
2
2
|
ConnectionType = "connection-type",
|
|
3
3
|
WifiConnectionType = "wifi-connection-type",
|
|
4
|
+
WifiConnectionType2 = "wifi-connection-type-2",
|
|
4
5
|
SupportedSpeeds = "supported-speeds",
|
|
5
6
|
PortCount = "port-count",
|
|
6
7
|
PoeSupport = "poe-support",
|
|
8
|
+
PoeBasicSupport = "poe-basic-support",
|
|
7
9
|
OutdoorSupport = "outdoor-support",
|
|
8
10
|
Resolution = "resolution",
|
|
9
11
|
OutdoorRating = "outdoor-rating",
|
|
@@ -17,5 +19,20 @@ export declare enum FilterId {
|
|
|
17
19
|
WiredFeatures = "wired-features",
|
|
18
20
|
UispAccessoriesFeatures = "uisp-accessories-features",
|
|
19
21
|
EtherLighting = "etherlighting",
|
|
22
|
+
ClientDevices = "performance-client-devices",
|
|
23
|
+
ThroughputRate = "throughput-rate",
|
|
24
|
+
UnifiDevices = "unifi-devices",
|
|
25
|
+
RedundantPower = "redundant-power",
|
|
26
|
+
Streams = "streams",
|
|
27
|
+
Radios = "radios",
|
|
28
|
+
ExternalAntennaSupport = "external-antenna-support",
|
|
29
|
+
IntegratedStorage = "integrated-storage",
|
|
30
|
+
WirelessOption = "wireless-option",
|
|
31
|
+
AIDetectionOption = "ai-detection-options",
|
|
32
|
+
OpticalZoomOption = "optical-zoom-options",
|
|
33
|
+
PreInstalledStorageOption = "pre-installed-storage-option",
|
|
34
|
+
CoverageDegree = "coverage-degree",
|
|
35
|
+
CameraCount = "camera-count",
|
|
36
|
+
EthernetSpeed = "ethernet-speed",
|
|
20
37
|
Other = "other"
|
|
21
38
|
}
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
var FilterId = /* @__PURE__ */(FilterId2 => {
|
|
5
5
|
FilterId2["ConnectionType"] = "connection-type";
|
|
6
6
|
FilterId2["WifiConnectionType"] = "wifi-connection-type";
|
|
7
|
+
FilterId2["WifiConnectionType2"] = "wifi-connection-type-2";
|
|
7
8
|
FilterId2["SupportedSpeeds"] = "supported-speeds";
|
|
8
9
|
FilterId2["PortCount"] = "port-count";
|
|
9
10
|
FilterId2["PoeSupport"] = "poe-support";
|
|
11
|
+
FilterId2["PoeBasicSupport"] = "poe-basic-support";
|
|
10
12
|
FilterId2["OutdoorSupport"] = "outdoor-support";
|
|
11
13
|
FilterId2["Resolution"] = "resolution";
|
|
12
14
|
FilterId2["OutdoorRating"] = "outdoor-rating";
|
|
@@ -20,6 +22,21 @@ var FilterId = /* @__PURE__ */(FilterId2 => {
|
|
|
20
22
|
FilterId2["WiredFeatures"] = "wired-features";
|
|
21
23
|
FilterId2["UispAccessoriesFeatures"] = "uisp-accessories-features";
|
|
22
24
|
FilterId2["EtherLighting"] = "etherlighting";
|
|
25
|
+
FilterId2["ClientDevices"] = "performance-client-devices";
|
|
26
|
+
FilterId2["ThroughputRate"] = "throughput-rate";
|
|
27
|
+
FilterId2["UnifiDevices"] = "unifi-devices";
|
|
28
|
+
FilterId2["RedundantPower"] = "redundant-power";
|
|
29
|
+
FilterId2["Streams"] = "streams";
|
|
30
|
+
FilterId2["Radios"] = "radios";
|
|
31
|
+
FilterId2["ExternalAntennaSupport"] = "external-antenna-support";
|
|
32
|
+
FilterId2["IntegratedStorage"] = "integrated-storage";
|
|
33
|
+
FilterId2["WirelessOption"] = "wireless-option";
|
|
34
|
+
FilterId2["AIDetectionOption"] = "ai-detection-options";
|
|
35
|
+
FilterId2["OpticalZoomOption"] = "optical-zoom-options";
|
|
36
|
+
FilterId2["PreInstalledStorageOption"] = "pre-installed-storage-option";
|
|
37
|
+
FilterId2["CoverageDegree"] = "coverage-degree";
|
|
38
|
+
FilterId2["CameraCount"] = "camera-count";
|
|
39
|
+
FilterId2["EthernetSpeed"] = "ethernet-speed";
|
|
23
40
|
FilterId2["Other"] = "other";
|
|
24
41
|
return FilterId2;
|
|
25
42
|
})(FilterId || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.js","sources":["../../../../src/constants/proStoreCategories/mapping/filters.ts"],"sourcesContent":["// #############################################################################\n// Filter IDs\n// #############################################################################\nexport enum FilterId {\n ConnectionType = \"connection-type\",\n WifiConnectionType = \"wifi-connection-type\",\n SupportedSpeeds = \"supported-speeds\",\n PortCount = \"port-count\",\n PoeSupport = \"poe-support\",\n OutdoorSupport = \"outdoor-support\",\n Resolution = \"resolution\",\n OutdoorRating = \"outdoor-rating\",\n AdditionalFeatures = \"additional-features\",\n DoorAccessFeatures = \"door-access-features\",\n PhoneSystemFeatures = \"phone-system-features\",\n AccessoriesFeatures = \"accessories-features\",\n \"60GhWirelessFeatures\" = \"60gh-wireless-features\",\n WirelessFeatures = \"wireless-features\",\n FiberFeatures = \"fiber-features\",\n WiredFeatures = \"wired-features\",\n UispAccessoriesFeatures = \"uisp-accessories-features\",\n EtherLighting = \"etherlighting\",\n // For now used for \"In Stock\" and \"UI Care\" filters\n Other = \"other\",\n}\n"],"names":["FilterId"],"mappings":";;;AAGY,IAAAA,QAAA,GAAA,gBAAAA,SAAL,IAAA;EACLA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,iBAAkB,CAAA,GAAA,kBAAA;EAClBA,UAAA,WAAY,CAAA,GAAA,YAAA;EACZA,UAAA,YAAa,CAAA,GAAA,aAAA;EACbA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,YAAa,CAAA,GAAA,YAAA;EACbA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,oBAAqB,CAAA,GAAA,qBAAA;EACrBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,qBAAsB,CAAA,GAAA,uBAAA;EACtBA,UAAA,qBAAsB,CAAA,GAAA,sBAAA;EACtBA,UAAA,sBAAyB,CAAA,GAAA,wBAAA;EACzBA,UAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,yBAA0B,CAAA,GAAA,2BAAA;EAC1BA,UAAA,eAAgB,CAAA,GAAA,eAAA;EAEhBA,UAAA,OAAQ,CAAA,GAAA,OAAA;
|
|
1
|
+
{"version":3,"file":"filters.js","sources":["../../../../src/constants/proStoreCategories/mapping/filters.ts"],"sourcesContent":["// #############################################################################\n// Filter IDs\n// #############################################################################\nexport enum FilterId {\n ConnectionType = \"connection-type\",\n WifiConnectionType = \"wifi-connection-type\",\n WifiConnectionType2 = \"wifi-connection-type-2\",\n SupportedSpeeds = \"supported-speeds\",\n PortCount = \"port-count\",\n PoeSupport = \"poe-support\",\n PoeBasicSupport = \"poe-basic-support\",\n OutdoorSupport = \"outdoor-support\",\n Resolution = \"resolution\",\n OutdoorRating = \"outdoor-rating\",\n AdditionalFeatures = \"additional-features\",\n DoorAccessFeatures = \"door-access-features\",\n PhoneSystemFeatures = \"phone-system-features\",\n AccessoriesFeatures = \"accessories-features\",\n \"60GhWirelessFeatures\" = \"60gh-wireless-features\",\n WirelessFeatures = \"wireless-features\",\n FiberFeatures = \"fiber-features\",\n WiredFeatures = \"wired-features\",\n UispAccessoriesFeatures = \"uisp-accessories-features\",\n EtherLighting = \"etherlighting\",\n ClientDevices = \"performance-client-devices\",\n ThroughputRate = \"throughput-rate\",\n UnifiDevices = \"unifi-devices\",\n RedundantPower = \"redundant-power\",\n Streams = \"streams\",\n Radios = \"radios\",\n ExternalAntennaSupport = \"external-antenna-support\",\n IntegratedStorage = \"integrated-storage\",\n WirelessOption = \"wireless-option\",\n AIDetectionOption = \"ai-detection-options\",\n OpticalZoomOption = \"optical-zoom-options\",\n PreInstalledStorageOption = \"pre-installed-storage-option\",\n CoverageDegree = \"coverage-degree\",\n CameraCount = \"camera-count\",\n EthernetSpeed = \"ethernet-speed\",\n // For now used for \"In Stock\" and \"UI Care\" filters\n Other = \"other\",\n}\n"],"names":["FilterId"],"mappings":";;;AAGY,IAAAA,QAAA,GAAA,gBAAAA,SAAL,IAAA;EACLA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,qBAAsB,CAAA,GAAA,wBAAA;EACtBA,UAAA,iBAAkB,CAAA,GAAA,kBAAA;EAClBA,UAAA,WAAY,CAAA,GAAA,YAAA;EACZA,UAAA,YAAa,CAAA,GAAA,aAAA;EACbA,UAAA,iBAAkB,CAAA,GAAA,mBAAA;EAClBA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,YAAa,CAAA,GAAA,YAAA;EACbA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,oBAAqB,CAAA,GAAA,qBAAA;EACrBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,qBAAsB,CAAA,GAAA,uBAAA;EACtBA,UAAA,qBAAsB,CAAA,GAAA,sBAAA;EACtBA,UAAA,sBAAyB,CAAA,GAAA,wBAAA;EACzBA,UAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,yBAA0B,CAAA,GAAA,2BAAA;EAC1BA,UAAA,eAAgB,CAAA,GAAA,eAAA;EAChBA,UAAA,eAAgB,CAAA,GAAA,4BAAA;EAChBA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,cAAe,CAAA,GAAA,eAAA;EACfA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,SAAU,CAAA,GAAA,SAAA;EACVA,UAAA,QAAS,CAAA,GAAA,QAAA;EACTA,UAAA,wBAAyB,CAAA,GAAA,0BAAA;EACzBA,UAAA,mBAAoB,CAAA,GAAA,oBAAA;EACpBA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,mBAAoB,CAAA,GAAA,sBAAA;EACpBA,UAAA,mBAAoB,CAAA,GAAA,sBAAA;EACpBA,UAAA,2BAA4B,CAAA,GAAA,8BAAA;EAC5BA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,aAAc,CAAA,GAAA,cAAA;EACdA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAEhBA,UAAA,OAAQ,CAAA,GAAA,OAAA;EArCEA,OAAAA,SAAAA;AAAA,CAAA,EAAAA,QAAA,IAAA,CAAA,CAAA,CAAA;"}
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
var FilterId = /* @__PURE__ */(FilterId2 => {
|
|
4
4
|
FilterId2["ConnectionType"] = "connection-type";
|
|
5
5
|
FilterId2["WifiConnectionType"] = "wifi-connection-type";
|
|
6
|
+
FilterId2["WifiConnectionType2"] = "wifi-connection-type-2";
|
|
6
7
|
FilterId2["SupportedSpeeds"] = "supported-speeds";
|
|
7
8
|
FilterId2["PortCount"] = "port-count";
|
|
8
9
|
FilterId2["PoeSupport"] = "poe-support";
|
|
10
|
+
FilterId2["PoeBasicSupport"] = "poe-basic-support";
|
|
9
11
|
FilterId2["OutdoorSupport"] = "outdoor-support";
|
|
10
12
|
FilterId2["Resolution"] = "resolution";
|
|
11
13
|
FilterId2["OutdoorRating"] = "outdoor-rating";
|
|
@@ -19,6 +21,21 @@ var FilterId = /* @__PURE__ */(FilterId2 => {
|
|
|
19
21
|
FilterId2["WiredFeatures"] = "wired-features";
|
|
20
22
|
FilterId2["UispAccessoriesFeatures"] = "uisp-accessories-features";
|
|
21
23
|
FilterId2["EtherLighting"] = "etherlighting";
|
|
24
|
+
FilterId2["ClientDevices"] = "performance-client-devices";
|
|
25
|
+
FilterId2["ThroughputRate"] = "throughput-rate";
|
|
26
|
+
FilterId2["UnifiDevices"] = "unifi-devices";
|
|
27
|
+
FilterId2["RedundantPower"] = "redundant-power";
|
|
28
|
+
FilterId2["Streams"] = "streams";
|
|
29
|
+
FilterId2["Radios"] = "radios";
|
|
30
|
+
FilterId2["ExternalAntennaSupport"] = "external-antenna-support";
|
|
31
|
+
FilterId2["IntegratedStorage"] = "integrated-storage";
|
|
32
|
+
FilterId2["WirelessOption"] = "wireless-option";
|
|
33
|
+
FilterId2["AIDetectionOption"] = "ai-detection-options";
|
|
34
|
+
FilterId2["OpticalZoomOption"] = "optical-zoom-options";
|
|
35
|
+
FilterId2["PreInstalledStorageOption"] = "pre-installed-storage-option";
|
|
36
|
+
FilterId2["CoverageDegree"] = "coverage-degree";
|
|
37
|
+
FilterId2["CameraCount"] = "camera-count";
|
|
38
|
+
FilterId2["EthernetSpeed"] = "ethernet-speed";
|
|
22
39
|
FilterId2["Other"] = "other";
|
|
23
40
|
return FilterId2;
|
|
24
41
|
})(FilterId || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.mjs","sources":["../../../../src/constants/proStoreCategories/mapping/filters.ts"],"sourcesContent":["// #############################################################################\n// Filter IDs\n// #############################################################################\nexport enum FilterId {\n ConnectionType = \"connection-type\",\n WifiConnectionType = \"wifi-connection-type\",\n SupportedSpeeds = \"supported-speeds\",\n PortCount = \"port-count\",\n PoeSupport = \"poe-support\",\n OutdoorSupport = \"outdoor-support\",\n Resolution = \"resolution\",\n OutdoorRating = \"outdoor-rating\",\n AdditionalFeatures = \"additional-features\",\n DoorAccessFeatures = \"door-access-features\",\n PhoneSystemFeatures = \"phone-system-features\",\n AccessoriesFeatures = \"accessories-features\",\n \"60GhWirelessFeatures\" = \"60gh-wireless-features\",\n WirelessFeatures = \"wireless-features\",\n FiberFeatures = \"fiber-features\",\n WiredFeatures = \"wired-features\",\n UispAccessoriesFeatures = \"uisp-accessories-features\",\n EtherLighting = \"etherlighting\",\n // For now used for \"In Stock\" and \"UI Care\" filters\n Other = \"other\",\n}\n"],"names":["FilterId"],"mappings":";;AAGY,IAAAA,QAAA,GAAA,gBAAAA,SAAL,IAAA;EACLA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,iBAAkB,CAAA,GAAA,kBAAA;EAClBA,UAAA,WAAY,CAAA,GAAA,YAAA;EACZA,UAAA,YAAa,CAAA,GAAA,aAAA;EACbA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,YAAa,CAAA,GAAA,YAAA;EACbA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,oBAAqB,CAAA,GAAA,qBAAA;EACrBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,qBAAsB,CAAA,GAAA,uBAAA;EACtBA,UAAA,qBAAsB,CAAA,GAAA,sBAAA;EACtBA,UAAA,sBAAyB,CAAA,GAAA,wBAAA;EACzBA,UAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,yBAA0B,CAAA,GAAA,2BAAA;EAC1BA,UAAA,eAAgB,CAAA,GAAA,eAAA;EAEhBA,UAAA,OAAQ,CAAA,GAAA,OAAA;
|
|
1
|
+
{"version":3,"file":"filters.mjs","sources":["../../../../src/constants/proStoreCategories/mapping/filters.ts"],"sourcesContent":["// #############################################################################\n// Filter IDs\n// #############################################################################\nexport enum FilterId {\n ConnectionType = \"connection-type\",\n WifiConnectionType = \"wifi-connection-type\",\n WifiConnectionType2 = \"wifi-connection-type-2\",\n SupportedSpeeds = \"supported-speeds\",\n PortCount = \"port-count\",\n PoeSupport = \"poe-support\",\n PoeBasicSupport = \"poe-basic-support\",\n OutdoorSupport = \"outdoor-support\",\n Resolution = \"resolution\",\n OutdoorRating = \"outdoor-rating\",\n AdditionalFeatures = \"additional-features\",\n DoorAccessFeatures = \"door-access-features\",\n PhoneSystemFeatures = \"phone-system-features\",\n AccessoriesFeatures = \"accessories-features\",\n \"60GhWirelessFeatures\" = \"60gh-wireless-features\",\n WirelessFeatures = \"wireless-features\",\n FiberFeatures = \"fiber-features\",\n WiredFeatures = \"wired-features\",\n UispAccessoriesFeatures = \"uisp-accessories-features\",\n EtherLighting = \"etherlighting\",\n ClientDevices = \"performance-client-devices\",\n ThroughputRate = \"throughput-rate\",\n UnifiDevices = \"unifi-devices\",\n RedundantPower = \"redundant-power\",\n Streams = \"streams\",\n Radios = \"radios\",\n ExternalAntennaSupport = \"external-antenna-support\",\n IntegratedStorage = \"integrated-storage\",\n WirelessOption = \"wireless-option\",\n AIDetectionOption = \"ai-detection-options\",\n OpticalZoomOption = \"optical-zoom-options\",\n PreInstalledStorageOption = \"pre-installed-storage-option\",\n CoverageDegree = \"coverage-degree\",\n CameraCount = \"camera-count\",\n EthernetSpeed = \"ethernet-speed\",\n // For now used for \"In Stock\" and \"UI Care\" filters\n Other = \"other\",\n}\n"],"names":["FilterId"],"mappings":";;AAGY,IAAAA,QAAA,GAAA,gBAAAA,SAAL,IAAA;EACLA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,qBAAsB,CAAA,GAAA,wBAAA;EACtBA,UAAA,iBAAkB,CAAA,GAAA,kBAAA;EAClBA,UAAA,WAAY,CAAA,GAAA,YAAA;EACZA,UAAA,YAAa,CAAA,GAAA,aAAA;EACbA,UAAA,iBAAkB,CAAA,GAAA,mBAAA;EAClBA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,YAAa,CAAA,GAAA,YAAA;EACbA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,oBAAqB,CAAA,GAAA,qBAAA;EACrBA,UAAA,oBAAqB,CAAA,GAAA,sBAAA;EACrBA,UAAA,qBAAsB,CAAA,GAAA,uBAAA;EACtBA,UAAA,qBAAsB,CAAA,GAAA,sBAAA;EACtBA,UAAA,sBAAyB,CAAA,GAAA,wBAAA;EACzBA,UAAA,kBAAmB,CAAA,GAAA,mBAAA;EACnBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAChBA,UAAA,yBAA0B,CAAA,GAAA,2BAAA;EAC1BA,UAAA,eAAgB,CAAA,GAAA,eAAA;EAChBA,UAAA,eAAgB,CAAA,GAAA,4BAAA;EAChBA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,cAAe,CAAA,GAAA,eAAA;EACfA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,SAAU,CAAA,GAAA,SAAA;EACVA,UAAA,QAAS,CAAA,GAAA,QAAA;EACTA,UAAA,wBAAyB,CAAA,GAAA,0BAAA;EACzBA,UAAA,mBAAoB,CAAA,GAAA,oBAAA;EACpBA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,mBAAoB,CAAA,GAAA,sBAAA;EACpBA,UAAA,mBAAoB,CAAA,GAAA,sBAAA;EACpBA,UAAA,2BAA4B,CAAA,GAAA,8BAAA;EAC5BA,UAAA,gBAAiB,CAAA,GAAA,iBAAA;EACjBA,UAAA,aAAc,CAAA,GAAA,cAAA;EACdA,UAAA,eAAgB,CAAA,GAAA,gBAAA;EAEhBA,UAAA,OAAQ,CAAA,GAAA,OAAA;EArCEA,OAAAA,SAAAA;AAAA,CAAA,EAAAA,QAAA,IAAA,CAAA,CAAA,CAAA;"}
|
|
@@ -11,6 +11,7 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
11
11
|
"60 GHz Wireless": string;
|
|
12
12
|
Accessories: string;
|
|
13
13
|
"Accessory Tech": string;
|
|
14
|
+
"Advanced Hosting": string;
|
|
14
15
|
Aggregation: string;
|
|
15
16
|
All: string;
|
|
16
17
|
"AmpliFi Alien": string;
|
|
@@ -21,8 +22,9 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
21
22
|
Bullet: string;
|
|
22
23
|
"Cables & Modules": string;
|
|
23
24
|
Cabling: string;
|
|
25
|
+
"Camera Accessories": string;
|
|
24
26
|
"Camera Security": string;
|
|
25
|
-
"
|
|
27
|
+
"Cloud Gateways": string;
|
|
26
28
|
Compact: string;
|
|
27
29
|
Converters: string;
|
|
28
30
|
"Digital Signage": string;
|
|
@@ -87,7 +89,6 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
87
89
|
"UISP Switching": string;
|
|
88
90
|
Ultra: string;
|
|
89
91
|
"UniFi Cloud Console": string;
|
|
90
|
-
"UniFi Cloud Gateways": string;
|
|
91
92
|
Utility: string;
|
|
92
93
|
Wall: string;
|
|
93
94
|
"Wave 60 GHz": string;
|
|
@@ -105,4 +106,5 @@ export declare const getProStoreCategoryMapping: (translations?: {
|
|
|
105
106
|
"airMAX 3 GHz": string;
|
|
106
107
|
"airMAX 5 GHz": string;
|
|
107
108
|
"airMAX 60 GHz": string;
|
|
109
|
+
NVRs: string;
|
|
108
110
|
}) => CategoryMapping;
|
|
@@ -18,9 +18,8 @@ var _externalAssets_BwYvenI0 = require("../../../assets/icon-switching.svg");
|
|
|
18
18
|
var _externalAssets_CviU9uA4 = require("../../../assets/icon-wifi.svg");
|
|
19
19
|
var _externalAssets_BOb8ZZgY = require("../../../assets/icon-camera-security.svg");
|
|
20
20
|
var _externalAssets_CWncWbA3 = require("../../../assets/icon-door-access.svg");
|
|
21
|
-
var _externalAssets_Sl5SU_LJ = require("../../../assets/icon-cloud-keys-gateways.svg");
|
|
22
|
-
var _externalAssets__32SQFjx = require("../../../assets/icon-power-tech.svg");
|
|
23
21
|
var _externalAssets_Bd_2zX0T = require("../../../assets/icon-new-integrations.svg");
|
|
22
|
+
var _externalAssets_Sl5SU_LJ = require("../../../assets/icon-cloud-keys-gateways.svg");
|
|
24
23
|
var _externalAssets_CWCn9Wel = require("../../../assets/icon-accessories.svg");
|
|
25
24
|
var _externalAssets_Bpf_HOfC = require("../../../assets/icon-60ghz-wireless.svg");
|
|
26
25
|
var _externalAssets_B4AWaU2r = require("../../../assets/icon-wireless.svg");
|
|
@@ -41,9 +40,8 @@ var _externalAssets_BwYvenI0__default = /*#__PURE__*/_interopDefault(_externalAs
|
|
|
41
40
|
var _externalAssets_CviU9uA4__default = /*#__PURE__*/_interopDefault(_externalAssets_CviU9uA4);
|
|
42
41
|
var _externalAssets_BOb8ZZgY__default = /*#__PURE__*/_interopDefault(_externalAssets_BOb8ZZgY);
|
|
43
42
|
var _externalAssets_CWncWbA3__default = /*#__PURE__*/_interopDefault(_externalAssets_CWncWbA3);
|
|
44
|
-
var _externalAssets_Sl5SU_LJ__default = /*#__PURE__*/_interopDefault(_externalAssets_Sl5SU_LJ);
|
|
45
|
-
var _externalAssets__32SQFjx__default = /*#__PURE__*/_interopDefault(_externalAssets__32SQFjx);
|
|
46
43
|
var _externalAssets_Bd_2zX0T__default = /*#__PURE__*/_interopDefault(_externalAssets_Bd_2zX0T);
|
|
44
|
+
var _externalAssets_Sl5SU_LJ__default = /*#__PURE__*/_interopDefault(_externalAssets_Sl5SU_LJ);
|
|
47
45
|
var _externalAssets_CWCn9Wel__default = /*#__PURE__*/_interopDefault(_externalAssets_CWCn9Wel);
|
|
48
46
|
var _externalAssets_Bpf_HOfC__default = /*#__PURE__*/_interopDefault(_externalAssets_Bpf_HOfC);
|
|
49
47
|
var _externalAssets_B4AWaU2r__default = /*#__PURE__*/_interopDefault(_externalAssets_B4AWaU2r);
|
|
@@ -69,9 +67,9 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
69
67
|
disabledStores: store.inverseStoreSelect([generated.StoreId.Eu, generated.StoreId.Us, generated.StoreId.Ca, generated.StoreId.Uk]),
|
|
70
68
|
storeOnly: true
|
|
71
69
|
}, {
|
|
72
|
-
id: unifi.UniFiCategoryId.
|
|
73
|
-
slug: unifi.UniFiCategorySlug.
|
|
74
|
-
label: formatMessage("
|
|
70
|
+
id: unifi.UniFiCategoryId.CloudGateways,
|
|
71
|
+
slug: unifi.UniFiCategorySlug.CloudGateways,
|
|
72
|
+
label: formatMessage("Cloud Gateways"),
|
|
75
73
|
icon: {
|
|
76
74
|
src: _externalAssets_ipWP0wO$__default["default"],
|
|
77
75
|
width: 135,
|
|
@@ -104,7 +102,8 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
104
102
|
label: formatMessage("WiFi Integrated"),
|
|
105
103
|
collectionSlugs: ["cloud-gateways-wifi-integrated"]
|
|
106
104
|
}],
|
|
107
|
-
filters: [filters.FilterId.ConnectionType]
|
|
105
|
+
filters: [filters.FilterId.ConnectionType],
|
|
106
|
+
storeFilters: [filters.FilterId.PoeBasicSupport, filters.FilterId.IntegratedStorage, filters.FilterId.SupportedSpeeds, filters.FilterId.ThroughputRate, filters.FilterId.ClientDevices, filters.FilterId.UnifiDevices]
|
|
108
107
|
}, {
|
|
109
108
|
id: unifi.UniFiCategoryId.Switching,
|
|
110
109
|
slug: unifi.UniFiCategorySlug.Switching,
|
|
@@ -149,7 +148,8 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
149
148
|
label: formatMessage("Utility"),
|
|
150
149
|
collectionSlugs: ["switching-utility"]
|
|
151
150
|
}],
|
|
152
|
-
filters: [filters.FilterId.SupportedSpeeds, filters.FilterId.PortCount, filters.FilterId.PoeSupport, filters.FilterId.EtherLighting, filters.FilterId.OutdoorSupport]
|
|
151
|
+
filters: [filters.FilterId.SupportedSpeeds, filters.FilterId.PortCount, filters.FilterId.PoeSupport, filters.FilterId.EtherLighting, filters.FilterId.OutdoorSupport],
|
|
152
|
+
storeFilters: [filters.FilterId.PoeSupport, filters.FilterId.PortCount, filters.FilterId.SupportedSpeeds, filters.FilterId.EtherLighting, filters.FilterId.RedundantPower, filters.FilterId.OutdoorSupport]
|
|
153
153
|
}, {
|
|
154
154
|
id: unifi.UniFiCategoryId.WiFi,
|
|
155
155
|
slug: unifi.UniFiCategorySlug.WiFi,
|
|
@@ -195,7 +195,8 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
195
195
|
collectionSlugs: ["unifi-wifi-building-bridge"],
|
|
196
196
|
disabledStores: [generated.StoreId.In, generated.StoreId.Br]
|
|
197
197
|
}],
|
|
198
|
-
filters: [filters.FilterId.WifiConnectionType]
|
|
198
|
+
filters: [filters.FilterId.WifiConnectionType],
|
|
199
|
+
storeFilters: [filters.FilterId.WifiConnectionType2, filters.FilterId.EthernetSpeed, filters.FilterId.Streams, filters.FilterId.Radios, filters.FilterId.ExternalAntennaSupport]
|
|
199
200
|
}, {
|
|
200
201
|
id: unifi.UniFiCategoryId.CamerasNVRs,
|
|
201
202
|
slug: unifi.UniFiCategorySlug.CamerasNVRs,
|
|
@@ -216,7 +217,8 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
216
217
|
items: [{
|
|
217
218
|
id: unifi.UniFiChildCategorySlug.CamerasNVR,
|
|
218
219
|
label: formatMessage("NVRs & Viewport"),
|
|
219
|
-
collectionSlugs: ["unifi-camera-security-nvr"]
|
|
220
|
+
collectionSlugs: ["unifi-camera-security-nvr"],
|
|
221
|
+
filters: [filters.FilterId.CameraCount]
|
|
220
222
|
}, {
|
|
221
223
|
id: unifi.UniFiChildCategorySlug.CamerasDomeTurret,
|
|
222
224
|
label: formatMessage("Dome & Turret"),
|
|
@@ -251,8 +253,13 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
251
253
|
label: formatMessage("Special Devices"),
|
|
252
254
|
collectionSlugs: ["unifi-camera-security-special"],
|
|
253
255
|
disabledStores: [generated.StoreId.Mx]
|
|
256
|
+
}, {
|
|
257
|
+
id: unifi.UniFiChildCategorySlug.CamerasAccessories,
|
|
258
|
+
label: formatMessage("Camera Accessories"),
|
|
259
|
+
collectionSlugs: ["accessories-pro-camera"]
|
|
254
260
|
}],
|
|
255
|
-
filters: [filters.FilterId.Resolution, filters.FilterId.OutdoorRating, filters.FilterId.AdditionalFeatures]
|
|
261
|
+
filters: [filters.FilterId.Resolution, filters.FilterId.OutdoorRating, filters.FilterId.AdditionalFeatures],
|
|
262
|
+
storeFilters: [filters.FilterId.Resolution, filters.FilterId.OutdoorRating, filters.FilterId.WirelessOption, filters.FilterId.AIDetectionOption, filters.FilterId.OpticalZoomOption, filters.FilterId.PreInstalledStorageOption, filters.FilterId.CoverageDegree]
|
|
256
263
|
}, {
|
|
257
264
|
id: unifi.UniFiCategoryId.DoorAccess,
|
|
258
265
|
slug: unifi.UniFiCategorySlug.DoorAccess,
|
|
@@ -290,47 +297,13 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
290
297
|
label: formatMessage("Intercoms"),
|
|
291
298
|
collectionSlugs: ["unifi-camera-security-door-access-intercoms-viewers"],
|
|
292
299
|
disabledStores: [generated.StoreId.Jp, generated.StoreId.Br, generated.StoreId.Mx]
|
|
300
|
+
}, {
|
|
301
|
+
id: unifi.UniFiChildCategorySlug.DoorAccessNVRs,
|
|
302
|
+
label: formatMessage("NVRs"),
|
|
303
|
+
collectionSlugs: ["door-access-nvrs"],
|
|
304
|
+
disabledStores: [generated.StoreId.Jp, generated.StoreId.Br, generated.StoreId.Mx]
|
|
293
305
|
}],
|
|
294
306
|
filters: [filters.FilterId.DoorAccessFeatures]
|
|
295
|
-
}, {
|
|
296
|
-
id: unifi.UniFiCategoryId.CloudKeysGateways,
|
|
297
|
-
slug: unifi.UniFiCategorySlug.CloudKeysGateways,
|
|
298
|
-
label: formatMessage("CloudKeys & Gateways"),
|
|
299
|
-
icon: {
|
|
300
|
-
src: _externalAssets_Sl5SU_LJ__default["default"],
|
|
301
|
-
width: 131,
|
|
302
|
-
height: 40
|
|
303
|
-
},
|
|
304
|
-
hideSubItems: true,
|
|
305
|
-
addons: {
|
|
306
|
-
id: unifi.UnifiAddonCategoryIdAndSlug.CloudKeysGateways,
|
|
307
|
-
collectionSlug: "add-ons-cloud-keys-and-gateways"
|
|
308
|
-
},
|
|
309
|
-
items: [
|
|
310
|
-
// NOTE: This is kinda hack - we don't need subcategories
|
|
311
|
-
{
|
|
312
|
-
id: unifi.UniFiChildCategorySlug.CloudKeysGatewaysOther,
|
|
313
|
-
label: formatMessage("Other"),
|
|
314
|
-
collectionSlugs: ["unifi-cloudkeys-gateways"]
|
|
315
|
-
}]
|
|
316
|
-
}, {
|
|
317
|
-
id: unifi.UniFiCategoryId.PowerTech,
|
|
318
|
-
slug: unifi.UniFiCategorySlug.PowerTech,
|
|
319
|
-
label: formatMessage("Power Tech"),
|
|
320
|
-
icon: {
|
|
321
|
-
src: _externalAssets__32SQFjx__default["default"],
|
|
322
|
-
width: 77,
|
|
323
|
-
height: 38
|
|
324
|
-
},
|
|
325
|
-
disabledStores: [generated.StoreId.In, generated.StoreId.Mx],
|
|
326
|
-
hideSubItems: true,
|
|
327
|
-
items: [{
|
|
328
|
-
// NOTE: This is kinda hack - we don't need subcategories
|
|
329
|
-
id: unifi.UniFiChildCategorySlug.PowerTechOther,
|
|
330
|
-
label: formatMessage("Other"),
|
|
331
|
-
collectionSlugs: ["power-tech"],
|
|
332
|
-
enableProductGrouping: [generated.StoreId.Us, generated.StoreId.Ca, generated.StoreId.Eu, generated.StoreId.Uk, generated.StoreId.Tw]
|
|
333
|
-
}]
|
|
334
307
|
}, {
|
|
335
308
|
id: unifi.UniFiCategoryId.Integrations,
|
|
336
309
|
slug: unifi.UniFiCategorySlug.Integrations,
|
|
@@ -381,6 +354,32 @@ const getProStoreCategoryMapping = (translations = en["default"]) => {
|
|
|
381
354
|
label: formatMessage("Mobile Routing"),
|
|
382
355
|
collectionSlugs: ["unifi-new-integrations-mobile-routing"],
|
|
383
356
|
disabledStores: [generated.StoreId.Tw]
|
|
357
|
+
}, {
|
|
358
|
+
id: unifi.UniFiChildCategorySlug.IntegrationsPowerTech,
|
|
359
|
+
label: formatMessage("Power Tech"),
|
|
360
|
+
collectionSlugs: ["power-tech"],
|
|
361
|
+
enableProductGrouping: [generated.StoreId.Us, generated.StoreId.Ca, generated.StoreId.Eu, generated.StoreId.Uk, generated.StoreId.Tw]
|
|
362
|
+
}]
|
|
363
|
+
}, {
|
|
364
|
+
id: unifi.UniFiCategoryId.AdvancedHosting,
|
|
365
|
+
slug: unifi.UniFiCategorySlug.AdvancedHosting,
|
|
366
|
+
label: formatMessage("Advanced Hosting"),
|
|
367
|
+
icon: {
|
|
368
|
+
src: _externalAssets_Sl5SU_LJ__default["default"],
|
|
369
|
+
width: 131,
|
|
370
|
+
height: 40
|
|
371
|
+
},
|
|
372
|
+
hideSubItems: true,
|
|
373
|
+
addons: {
|
|
374
|
+
id: unifi.UnifiAddonCategoryIdAndSlug.AdvancedHosting,
|
|
375
|
+
collectionSlug: "add-ons-cloud-keys-and-gateways"
|
|
376
|
+
},
|
|
377
|
+
items: [
|
|
378
|
+
// NOTE: This is kinda hack - we don't need subcategories
|
|
379
|
+
{
|
|
380
|
+
id: unifi.UniFiChildCategorySlug.AdvancedHostingOther,
|
|
381
|
+
label: formatMessage("Other"),
|
|
382
|
+
collectionSlugs: ["unifi-cloudkeys-gateways"]
|
|
384
383
|
}]
|
|
385
384
|
}, {
|
|
386
385
|
id: unifi.UniFiCategoryId.Accessories,
|