@ubnt/store.core 9.64.0 → 9.64.1-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 +148 -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/arrow2.svg +3 -0
- package/lib/assets/cart-secondary.svg +5 -0
- package/lib/assets/icon-location-pin.svg +5 -0
- package/lib/assets/icons/{menu/icon-globe.svg.js → cart-secondary.svg.js} +6 -6
- 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/{components/ModelCompareV3/assets/Switching/aggregation.jpg.js → assets/icons/menu/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/poe2.svg +3 -2
- package/lib/assets/poe3.svg +2 -3
- package/lib/assets/port.svg +4 -2
- package/lib/assets/port2.svg +2 -4
- 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/assets/udr2.jpg +0 -0
- package/lib/assets/udr3.jpg +0 -0
- package/lib/assets/udr7.jpg +0 -0
- package/lib/assets/udr72.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.d.ts +1 -1
- package/lib/components/CardSection/Card/Card.js +9 -7
- package/lib/components/CardSection/Card/Card.js.map +1 -1
- package/lib/components/CardSection/Card/Card.mjs +3 -1
- package/lib/components/CardSection/Card/Card.mjs.map +1 -1
- package/lib/components/CardSection/Card/Card.types.d.ts +1 -0
- package/lib/components/CardSection/Card/Card.types.js.map +1 -1
- package/lib/components/CardSection/Card/Card.types.mjs.map +1 -1
- 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 +11 -11
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +11 -11
- 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 +290 -189
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +270 -171
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +38 -23
- package/lib/components/Header/ProHeader/ProHeader.styles.js +205 -67
- package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.styles.mjs +194 -66
- 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 +30 -30
- 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/bigCompare/udr.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.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/assets/Consoles/udr.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
- package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/poe.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/poe.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/assets/port.svg.js +1 -1
- package/lib/components/ModelCompareV3/assets/port.svg.mjs +2 -2
- package/lib/components/ModelCompareV3/data/CloudGateways.js +12 -12
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +8 -8
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +3 -2
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +3 -2
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- 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/express7.js +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/express7.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +5 -3
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +5 -3
- package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js +5 -3
- package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +5 -3
- 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 +5 -3
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +5 -3
- 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/ucgFiber.js +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgFiber.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgFiber.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgFiber.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 +2 -2
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.js +2 -2
- package/lib/components/ModelCompareV3/data/products/udr7.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr7.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/udr7.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/ModelCompareV3/data/properties/powerMethodPoe.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/powerMethodPoe.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/readerPowerMethod.mjs +1 -1
- package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.js +1 -1
- package/lib/components/ModelCompareV3/data/properties/redundantRj45Port.mjs +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 +79 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -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 +86 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
- package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +72 -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.constants.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- 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 +4 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
- 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 +15 -15
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +4 -4
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/poe.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/assets/port.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -1
- package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
- package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +34 -26
- 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/icons/header/arrow.svg.js +27 -0
- package/lib/constants/icons/header/arrow.svg.js.map +1 -0
- package/lib/constants/icons/header/arrow.svg.mjs +3 -0
- package/lib/constants/icons/header/arrow.svg.mjs.map +1 -0
- package/lib/constants/icons/header/index.d.ts +1 -0
- package/lib/constants/icons/header/index.js +9 -0
- package/lib/constants/icons/header/index.js.map +1 -1
- package/lib/constants/icons/header/index.mjs +2 -0
- package/lib/constants/icons/header/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 +5 -2
- package/lib/constants/proStoreCategories/mapping/index.js +55 -51
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +54 -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 +10 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js +10 -9
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +10 -9
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +7 -0
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +7 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +7 -2
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +7 -3
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +7 -0
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +7 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +8 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +8 -2
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +56 -4
- package/lib/constants/proStoreFilters/mapping.js +141 -11
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +141 -11
- 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/aggregation.jpg +0 -0
- 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
- package/lib/components/ModelCompareV3/assets/Switching/aggregation.jpg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/Switching/aggregation.jpg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/Switching/aggregation.jpg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -117
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +0 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -109
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var Checkbox = require('@ubnt/ui-components/Checkbox');
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
var Layout_styles = require('./Layout.styles.js');
|
|
7
7
|
"use strict";
|
|
8
8
|
const CheckboxSection = ({
|
|
@@ -13,7 +13,7 @@ const CheckboxSection = ({
|
|
|
13
13
|
checked,
|
|
14
14
|
disabled
|
|
15
15
|
}) => {
|
|
16
|
-
const handleChange =
|
|
16
|
+
const handleChange = React.useCallback(event => {
|
|
17
17
|
onChange(event.target.checked);
|
|
18
18
|
}, [onChange]);
|
|
19
19
|
return /* @__PURE__ */jsxRuntime.jsxs(Layout_styles.InputWrapper, {
|
|
@@ -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 styled = require('styled-components');
|
|
6
6
|
var asset = require('../../../../../../utils/asset.js');
|
|
7
7
|
require('../../../../../CustomImage/index.js');
|
|
@@ -31,17 +31,17 @@ const CounterSection = ({
|
|
|
31
31
|
valueIcon,
|
|
32
32
|
disabled
|
|
33
33
|
}) => {
|
|
34
|
-
|
|
34
|
+
React.useEffect(() => {
|
|
35
35
|
if (value > max) {
|
|
36
36
|
onChange(max);
|
|
37
37
|
} else if (value < min) {
|
|
38
38
|
onChange(min);
|
|
39
39
|
}
|
|
40
40
|
}, [value, min, max, onChange]);
|
|
41
|
-
const handleIncrement =
|
|
41
|
+
const handleIncrement = React.useCallback(() => {
|
|
42
42
|
onChange(value + 1);
|
|
43
43
|
}, [value, onChange]);
|
|
44
|
-
const handleDecrement =
|
|
44
|
+
const handleDecrement = React.useCallback(() => {
|
|
45
45
|
onChange(value - 1);
|
|
46
46
|
}, [value, onChange]);
|
|
47
47
|
return /* @__PURE__ */jsxRuntime.jsxs(Layout_styles.InputWrapper, {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var Slider = require('@ubnt/ui-components/Slider');
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
var styled = require('styled-components');
|
|
7
7
|
require('../../../../../StyleableSvgImage/index.js');
|
|
8
8
|
require('../assets/silder-grip.svg.js');
|
|
@@ -26,14 +26,14 @@ const SliderSection = ({
|
|
|
26
26
|
disabled,
|
|
27
27
|
hideSlider
|
|
28
28
|
}) => {
|
|
29
|
-
|
|
29
|
+
React.useEffect(() => {
|
|
30
30
|
if (value > max) {
|
|
31
31
|
onChange(max);
|
|
32
32
|
} else if (value < min) {
|
|
33
33
|
onChange(min);
|
|
34
34
|
}
|
|
35
35
|
}, [value, min, max, onChange]);
|
|
36
|
-
const handleChange =
|
|
36
|
+
const handleChange = React.useCallback(e => {
|
|
37
37
|
const value2 = parseInt(e.target.value, 10);
|
|
38
38
|
if (disabled) {
|
|
39
39
|
return;
|
|
@@ -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('./assets/attention.svg.js');
|
|
7
7
|
var Part = require('./Part.js');
|
|
@@ -21,9 +21,9 @@ const ProgressBarChart = ({
|
|
|
21
21
|
warnLabel,
|
|
22
22
|
warnThresholdPercentDecimal
|
|
23
23
|
}) => {
|
|
24
|
-
const progressBarRef =
|
|
25
|
-
const [progressBarContainerWidth, setProgressBarContainerWidth] =
|
|
26
|
-
|
|
24
|
+
const progressBarRef = React.useRef(null);
|
|
25
|
+
const [progressBarContainerWidth, setProgressBarContainerWidth] = React.useState(0);
|
|
26
|
+
React.useEffect(() => {
|
|
27
27
|
if (!progressBarRef.current) {
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
@@ -35,7 +35,7 @@ const ProgressBarChart = ({
|
|
|
35
35
|
resizeObserver.observe(progressBarRef.current);
|
|
36
36
|
return () => resizeObserver.disconnect();
|
|
37
37
|
}, [setProgressBarContainerWidth, progressBarRef]);
|
|
38
|
-
const parts =
|
|
38
|
+
const parts = React.useMemo(() => {
|
|
39
39
|
const partsCount = Math.floor((progressBarContainerWidth + Part.PART_GAP_PX) / (Part.PART_WIDTH_PX + Part.PART_GAP_PX));
|
|
40
40
|
const parts2 = [];
|
|
41
41
|
for (let i = 0; i < partsCount; i++) {
|
|
@@ -43,10 +43,10 @@ const ProgressBarChart = ({
|
|
|
43
43
|
}
|
|
44
44
|
return parts2;
|
|
45
45
|
}, [progressBarContainerWidth]);
|
|
46
|
-
const isWarnLimitExceeded =
|
|
46
|
+
const isWarnLimitExceeded = React.useMemo(() => {
|
|
47
47
|
return warnThresholdPercentDecimal !== void 0 && warnThresholdPercentDecimal <= progressBarPercentDecimal;
|
|
48
48
|
}, [warnThresholdPercentDecimal, progressBarPercentDecimal]);
|
|
49
|
-
const mappedParts =
|
|
49
|
+
const mappedParts = React.useMemo(() => {
|
|
50
50
|
const lastActivePartIndex = Math.round(parts.length * progressBarPercentDecimal);
|
|
51
51
|
if (warnThresholdPercentDecimal && isWarnLimitExceeded) {
|
|
52
52
|
const thresholdPartIndex = Math.round(parts.length * warnThresholdPercentDecimal);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var React = require('react');
|
|
4
4
|
var ComputeResourceCalculator_types = require('./ComputeResourceCalculator.types.js');
|
|
5
5
|
"use strict";
|
|
6
6
|
const useComputeResourceCalculator = ({
|
|
7
7
|
deviceResourceData,
|
|
8
8
|
inputs
|
|
9
9
|
}) => {
|
|
10
|
-
const networkResources =
|
|
10
|
+
const networkResources = React.useMemo(() => {
|
|
11
11
|
const networkDeviceResources = deviceResourceData.Network;
|
|
12
12
|
const networkInputs = inputs[ComputeResourceCalculator_types.FeatureId.Network];
|
|
13
13
|
if (!networkInputs.enabled || !networkDeviceResources) {
|
|
@@ -46,7 +46,7 @@ const useComputeResourceCalculator = ({
|
|
|
46
46
|
}
|
|
47
47
|
return sum;
|
|
48
48
|
}, [deviceResourceData, inputs]);
|
|
49
|
-
const protectResources =
|
|
49
|
+
const protectResources = React.useMemo(() => {
|
|
50
50
|
const protectDeviceResources = deviceResourceData.Protect;
|
|
51
51
|
const protectInputs = inputs[ComputeResourceCalculator_types.FeatureId.Protect];
|
|
52
52
|
const CAMERA_WEIGHT_FACTOR = 1.5;
|
|
@@ -76,7 +76,7 @@ const useComputeResourceCalculator = ({
|
|
|
76
76
|
}
|
|
77
77
|
return sum;
|
|
78
78
|
}, [deviceResourceData, inputs]);
|
|
79
|
-
const talkResources =
|
|
79
|
+
const talkResources = React.useMemo(() => {
|
|
80
80
|
const talkDeviceResources = deviceResourceData.Talk;
|
|
81
81
|
const talkInputs = inputs[ComputeResourceCalculator_types.FeatureId.Talk];
|
|
82
82
|
if (!talkInputs.enabled || !talkDeviceResources) {
|
|
@@ -100,7 +100,7 @@ const useComputeResourceCalculator = ({
|
|
|
100
100
|
}
|
|
101
101
|
return sum;
|
|
102
102
|
}, [deviceResourceData, inputs]);
|
|
103
|
-
const accessResources =
|
|
103
|
+
const accessResources = React.useMemo(() => {
|
|
104
104
|
const accessDeviceResources = deviceResourceData.Access;
|
|
105
105
|
const accessInputs = inputs[ComputeResourceCalculator_types.FeatureId.Access];
|
|
106
106
|
if (!accessInputs.enabled || !accessDeviceResources) {
|
|
@@ -119,7 +119,7 @@ const useComputeResourceCalculator = ({
|
|
|
119
119
|
}
|
|
120
120
|
return sum;
|
|
121
121
|
}, [deviceResourceData, inputs]);
|
|
122
|
-
const computedResourcesLoadRatio =
|
|
122
|
+
const computedResourcesLoadRatio = React.useMemo(() => {
|
|
123
123
|
return networkResources + talkResources + accessResources + protectResources;
|
|
124
124
|
}, [networkResources, talkResources, accessResources, protectResources]);
|
|
125
125
|
return {
|
|
@@ -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 mapping = require('../../../contexts/MenuContext/mapping.js');
|
|
7
7
|
var asset = require('../../../utils/asset.js');
|
|
@@ -27,17 +27,17 @@ const PoeCalculator = () => {
|
|
|
27
27
|
const {
|
|
28
28
|
formatMessage
|
|
29
29
|
} = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
|
|
30
|
-
const [poeConsumerPorts, setPoeConsumerPorts] =
|
|
31
|
-
const handleAddPortGroup =
|
|
30
|
+
const [poeConsumerPorts, setPoeConsumerPorts] = React.useState(getEmptyPorts(PoeCalculator_constants.PORT_GROUP_SIZE));
|
|
31
|
+
const handleAddPortGroup = React.useCallback(poePortGroupSize => {
|
|
32
32
|
setPoeConsumerPorts([...poeConsumerPorts, ...getEmptyPorts(poePortGroupSize)]);
|
|
33
33
|
}, [poeConsumerPorts, setPoeConsumerPorts]);
|
|
34
|
-
const handleDeletePorts =
|
|
34
|
+
const handleDeletePorts = React.useCallback((deleteIndexStart, deleteCount) => {
|
|
35
35
|
const updatedPoeConsumerPorts = poeConsumerPorts.filter((_, i) => {
|
|
36
36
|
return i < deleteIndexStart || i >= deleteIndexStart + deleteCount;
|
|
37
37
|
});
|
|
38
38
|
setPoeConsumerPorts(updatedPoeConsumerPorts);
|
|
39
39
|
}, [poeConsumerPorts, setPoeConsumerPorts]);
|
|
40
|
-
const handleUpdatePorts =
|
|
40
|
+
const handleUpdatePorts = React.useCallback((portIndexes, poeConsumerId, missingPortCount) => {
|
|
41
41
|
const poeConsumerDevice = PoeCalculator_constants.POE_CONSUMERS.find(item => item.id === poeConsumerId);
|
|
42
42
|
const portData = poeConsumerDevice ? {
|
|
43
43
|
wattage: poeConsumerDevice.wattage,
|
|
@@ -66,10 +66,10 @@ const PoeCalculator = () => {
|
|
|
66
66
|
});
|
|
67
67
|
setPoeConsumerPorts([...updatedPoeConsumerPorts, ...portsToBeAdded]);
|
|
68
68
|
}, [poeConsumerPorts, setPoeConsumerPorts]);
|
|
69
|
-
const totalPoeConsumersWattage =
|
|
69
|
+
const totalPoeConsumersWattage = React.useMemo(() => {
|
|
70
70
|
return poeConsumerPorts.reduce((accumulator, port) => accumulator + port.wattage, 0);
|
|
71
71
|
}, [poeConsumerPorts]);
|
|
72
|
-
const poeProviderHasEnoughPorts =
|
|
72
|
+
const poeProviderHasEnoughPorts = React.useCallback(poeProvider => {
|
|
73
73
|
const poeProviderPorts = {
|
|
74
74
|
...poeProvider.poePorts
|
|
75
75
|
};
|
|
@@ -94,7 +94,7 @@ const PoeCalculator = () => {
|
|
|
94
94
|
}
|
|
95
95
|
return Math.min(...Object.values(poeProviderPorts)) >= 0;
|
|
96
96
|
}, [poeConsumerPorts]);
|
|
97
|
-
const recommendedPoeProviders =
|
|
97
|
+
const recommendedPoeProviders = React.useMemo(() => {
|
|
98
98
|
if (totalPoeConsumersWattage === 0) {
|
|
99
99
|
return [];
|
|
100
100
|
}
|
|
@@ -103,7 +103,7 @@ const PoeCalculator = () => {
|
|
|
103
103
|
return poeProviderHasEnoughPorts(poeProvider) && hasEnoughPoeBudget;
|
|
104
104
|
});
|
|
105
105
|
}, [totalPoeConsumersWattage, poeProviderHasEnoughPorts]);
|
|
106
|
-
const getPoeProviderTotalPortCount =
|
|
106
|
+
const getPoeProviderTotalPortCount = React.useCallback(poePorts => {
|
|
107
107
|
return Object.values(poePorts).reduce((acc, curr) => acc + curr, 0);
|
|
108
108
|
}, []);
|
|
109
109
|
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
|
require('../../../../CustomImage/index.js');
|
|
6
6
|
var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
|
|
7
7
|
require('./assets/delete.svg.js');
|
|
@@ -31,7 +31,7 @@ const PoeConsumerConfigurator = ({
|
|
|
31
31
|
const {
|
|
32
32
|
formatMessage
|
|
33
33
|
} = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
|
|
34
|
-
const emptyPortIndexes =
|
|
34
|
+
const emptyPortIndexes = React.useMemo(() => {
|
|
35
35
|
const indexes = [];
|
|
36
36
|
for (const [i, port] of poeConsumerPorts.entries()) {
|
|
37
37
|
if (port.wattage === 0) {
|
|
@@ -40,7 +40,7 @@ const PoeConsumerConfigurator = ({
|
|
|
40
40
|
}
|
|
41
41
|
return indexes;
|
|
42
42
|
}, [poeConsumerPorts]);
|
|
43
|
-
const groupedPoeConsumerPorts =
|
|
43
|
+
const groupedPoeConsumerPorts = React.useMemo(() => {
|
|
44
44
|
const result = [];
|
|
45
45
|
for (let i = 0; i < poeConsumerPorts.length; i += portGroupSize) {
|
|
46
46
|
const chunk = poeConsumerPorts.slice(i, i + portGroupSize);
|
|
@@ -48,14 +48,14 @@ const PoeConsumerConfigurator = ({
|
|
|
48
48
|
}
|
|
49
49
|
return result;
|
|
50
50
|
}, [poeConsumerPorts, portGroupSize]);
|
|
51
|
-
const [focusedPortIndex, setFocusedPortIndex] =
|
|
52
|
-
const handleConfiguePort =
|
|
51
|
+
const [focusedPortIndex, setFocusedPortIndex] = React.useState(null);
|
|
52
|
+
const handleConfiguePort = React.useCallback(portIndex => {
|
|
53
53
|
setFocusedPortIndex(portIndex);
|
|
54
54
|
}, [setFocusedPortIndex]);
|
|
55
|
-
const handleCloseModal =
|
|
55
|
+
const handleCloseModal = React.useCallback(() => {
|
|
56
56
|
setFocusedPortIndex(null);
|
|
57
57
|
}, [setFocusedPortIndex]);
|
|
58
|
-
const handleSelectConsumerDevice =
|
|
58
|
+
const handleSelectConsumerDevice = React.useCallback((poeConsumerId, count) => {
|
|
59
59
|
if (focusedPortIndex !== null) {
|
|
60
60
|
const emptyPortIndexesWithoutFocusedPort = emptyPortIndexes.filter(portIndex => portIndex !== focusedPortIndex);
|
|
61
61
|
const countOfAdditionalPorts = count - 1;
|
|
@@ -65,11 +65,11 @@ const PoeConsumerConfigurator = ({
|
|
|
65
65
|
handleCloseModal();
|
|
66
66
|
}
|
|
67
67
|
}, [focusedPortIndex, handleCloseModal, onUpdatePorts, emptyPortIndexes]);
|
|
68
|
-
const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] =
|
|
69
|
-
const handlePortGroupHighlight =
|
|
68
|
+
const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] = React.useState(null);
|
|
69
|
+
const handlePortGroupHighlight = React.useCallback(groupIndex => {
|
|
70
70
|
setHighlightedPortGroupIndex(groupIndex);
|
|
71
71
|
}, [setHighlightedPortGroupIndex]);
|
|
72
|
-
const handleDeletePortGroup =
|
|
72
|
+
const handleDeletePortGroup = React.useCallback(poePortGroupIndex => {
|
|
73
73
|
const deleteIndexStart = poePortGroupIndex * portGroupSize;
|
|
74
74
|
onDeletePorts(deleteIndexStart, portGroupSize);
|
|
75
75
|
}, [portGroupSize, onDeletePorts]);
|
|
@@ -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('../../../../../StyleableSvgImage/index.js');
|
|
@@ -42,20 +42,20 @@ const PoeConsumerSelectModal = ({
|
|
|
42
42
|
const {
|
|
43
43
|
formatMessage
|
|
44
44
|
} = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
|
|
45
|
-
const stopPropagation =
|
|
45
|
+
const stopPropagation = React.useCallback(event => {
|
|
46
46
|
event.stopPropagation();
|
|
47
47
|
}, []);
|
|
48
|
-
const inputRef =
|
|
49
|
-
const [searchQuery, setSearchQuery] =
|
|
50
|
-
const handleSearchQueryChange =
|
|
48
|
+
const inputRef = React.useRef(null);
|
|
49
|
+
const [searchQuery, setSearchQuery] = React.useState("");
|
|
50
|
+
const handleSearchQueryChange = React.useCallback(e => {
|
|
51
51
|
setSearchQuery(e.target.value);
|
|
52
52
|
}, [setSearchQuery]);
|
|
53
|
-
const handleFocusSearchInput =
|
|
53
|
+
const handleFocusSearchInput = React.useCallback(() => {
|
|
54
54
|
if (inputRef.current) {
|
|
55
55
|
inputRef.current.focus();
|
|
56
56
|
}
|
|
57
57
|
}, []);
|
|
58
|
-
const filterSearchItems =
|
|
58
|
+
const filterSearchItems = React.useCallback(items2 => {
|
|
59
59
|
if (searchQuery.trim().length === 0) {
|
|
60
60
|
return items2;
|
|
61
61
|
}
|
|
@@ -63,16 +63,16 @@ const PoeConsumerSelectModal = ({
|
|
|
63
63
|
return item.title.toLowerCase().includes(searchQuery.toLowerCase());
|
|
64
64
|
});
|
|
65
65
|
}, [searchQuery]);
|
|
66
|
-
const itemCategories =
|
|
66
|
+
const itemCategories = React.useMemo(() => {
|
|
67
67
|
const allCategories = items.map(item => item.category);
|
|
68
68
|
return [...new Set(allCategories)];
|
|
69
69
|
}, [items]);
|
|
70
|
-
const [currentItemCategory, setCurrentItemCategory] =
|
|
71
|
-
const handleSelectCategory =
|
|
70
|
+
const [currentItemCategory, setCurrentItemCategory] = React.useState(itemCategories[0] || null);
|
|
71
|
+
const handleSelectCategory = React.useCallback(id => {
|
|
72
72
|
setCurrentItemCategory(id);
|
|
73
73
|
setSearchQuery("");
|
|
74
74
|
}, [setCurrentItemCategory, setSearchQuery]);
|
|
75
|
-
const displayedPoeConsumerItems =
|
|
75
|
+
const displayedPoeConsumerItems = React.useMemo(() => {
|
|
76
76
|
let itemsTmp = [...items];
|
|
77
77
|
itemsTmp = itemsTmp.filter(item => item.category === currentItemCategory);
|
|
78
78
|
itemsTmp = filterSearchItems(itemsTmp);
|
|
@@ -85,18 +85,18 @@ const PoeConsumerSelectModal = ({
|
|
|
85
85
|
}, ...itemsTmp];
|
|
86
86
|
return itemsTmp;
|
|
87
87
|
}, [items, currentItemCategory, filterSearchItems]);
|
|
88
|
-
const [count, setCount] =
|
|
89
|
-
|
|
88
|
+
const [count, setCount] = React.useState(1);
|
|
89
|
+
React.useEffect(() => {
|
|
90
90
|
if (isOpen) {
|
|
91
91
|
setCount(1);
|
|
92
92
|
}
|
|
93
93
|
}, [setCount, isOpen]);
|
|
94
|
-
const handleIncrementCount =
|
|
94
|
+
const handleIncrementCount = React.useCallback(() => {
|
|
95
95
|
if (count < maxCount) {
|
|
96
96
|
setCount(count + 1);
|
|
97
97
|
}
|
|
98
98
|
}, [maxCount, count, setCount]);
|
|
99
|
-
const handleDecrementCount =
|
|
99
|
+
const handleDecrementCount = React.useCallback(() => {
|
|
100
100
|
if (count > 1) {
|
|
101
101
|
setCount(count - 1);
|
|
102
102
|
}
|
|
@@ -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('../../../../CustomImage/index.js');
|
|
6
6
|
var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
|
|
7
7
|
require('./assets/poe.svg.js');
|
|
@@ -9,8 +9,8 @@ require('./assets/port.svg.js');
|
|
|
9
9
|
var RecommendedPoeSwitches_styles = require('./RecommendedPoeSwitches.styles.js');
|
|
10
10
|
var ValueTile = require('./ValueTile.js');
|
|
11
11
|
var CustomImage = require('../../../../CustomImage/CustomImage.js');
|
|
12
|
-
var portIcon = require("../../../../../assets/
|
|
13
|
-
var poeIcon = require("../../../../../assets/
|
|
12
|
+
var portIcon = require("../../../../../assets/port2.svg");
|
|
13
|
+
var poeIcon = require("../../../../../assets/poe3.svg");
|
|
14
14
|
function _interopDefault(e) {
|
|
15
15
|
return e && e.__esModule ? e : {
|
|
16
16
|
default: e
|
|
@@ -28,7 +28,7 @@ const RecommendedPoeSwitches = ({
|
|
|
28
28
|
const {
|
|
29
29
|
formatMessage
|
|
30
30
|
} = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
|
|
31
|
-
const showTotalValues =
|
|
31
|
+
const showTotalValues = React.useMemo(() => {
|
|
32
32
|
return totalConsumerPorts > 0;
|
|
33
33
|
}, [totalConsumerPorts]);
|
|
34
34
|
return /* @__PURE__ */jsxRuntime.jsxs(RecommendedPoeSwitches_styles.RecommendedDevices, {
|
|
@@ -7,8 +7,8 @@ import './assets/port.svg.mjs';
|
|
|
7
7
|
import { RecommendedDevices, Header, HeaderColumn, Title, Subtitle, Label, ItemsWrap, Item, ItemImgWrap, ItemBodyWrap, ItemTitle, ItemLabelsWrap, ItemLabel, ItemLabelIcon, ItemLabelBody } from './RecommendedPoeSwitches.styles.mjs';
|
|
8
8
|
import { ValueTile } from './ValueTile.mjs';
|
|
9
9
|
import { CustomImage } from '../../../../CustomImage/CustomImage.mjs';
|
|
10
|
-
import portIcon__default from "../../../../../assets/
|
|
11
|
-
import poeIcon__default from "../../../../../assets/
|
|
10
|
+
import portIcon__default from "../../../../../assets/port2.svg";
|
|
11
|
+
import poeIcon__default from "../../../../../assets/poe3.svg";
|
|
12
12
|
"use strict";
|
|
13
13
|
const RecommendedPoeSwitches = ({
|
|
14
14
|
items,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var poeIcon = require("../../../../../../assets/
|
|
6
|
+
var poeIcon = require("../../../../../../assets/poe3.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../../assets/
|
|
1
|
+
export * from "../../../../../../assets/poe3.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/poe3.svg";
|
|
3
3
|
//# sourceMappingURL=poe.svg.mjs.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var portIcon = require("../../../../../../assets/
|
|
6
|
+
var portIcon = require("../../../../../../assets/port2.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../../assets/
|
|
1
|
+
export * from "../../../../../../assets/port2.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/port2.svg";
|
|
3
3
|
//# sourceMappingURL=port.svg.mjs.map
|
|
@@ -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('./components/index.js');
|
|
@@ -23,14 +23,14 @@ const ResourceCalculatorV1 = ({
|
|
|
23
23
|
formatMessage
|
|
24
24
|
} = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
|
|
25
25
|
const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
|
|
26
|
-
const [activeCalculatorId, setActiveCalculatorId] =
|
|
27
|
-
const enabledCalculators =
|
|
26
|
+
const [activeCalculatorId, setActiveCalculatorId] = React.useState(enabledCalculatorIds[0]);
|
|
27
|
+
const enabledCalculators = React.useMemo(() => {
|
|
28
28
|
return Object.entries(ResourceCalculator_constants.RESOURCE_CALCULATORS).filter(([key]) => enabledCalculatorIds.includes(key)).map(([, value]) => value);
|
|
29
29
|
}, [enabledCalculatorIds]);
|
|
30
|
-
const handleCalculatorSelect =
|
|
30
|
+
const handleCalculatorSelect = React.useCallback(calculatorId => {
|
|
31
31
|
setActiveCalculatorId(calculatorId);
|
|
32
32
|
}, [setActiveCalculatorId]);
|
|
33
|
-
const activeCalculatorLayout =
|
|
33
|
+
const activeCalculatorLayout = React.useMemo(() => {
|
|
34
34
|
switch (activeCalculatorId) {
|
|
35
35
|
case ResourceCalculator_types.CalculatorId.ComputeResourceCalculator:
|
|
36
36
|
return /* @__PURE__ */jsxRuntime.jsx(ComputeResourceCalculator.ComputeResourceCalculator, {
|
|
@@ -40,7 +40,7 @@ const ResourceCalculatorV1 = ({
|
|
|
40
40
|
return /* @__PURE__ */jsxRuntime.jsx(PoeCalculator.PoeCalculator, {});
|
|
41
41
|
}
|
|
42
42
|
}, [activeCalculatorId, defaultActiveDeviceId]);
|
|
43
|
-
const calculatorSelectProps =
|
|
43
|
+
const calculatorSelectProps = React.useMemo(() => {
|
|
44
44
|
return {
|
|
45
45
|
activeId: activeCalculatorId.toString(),
|
|
46
46
|
items: enabledCalculators.map(calculator => ({
|
|
@@ -147,7 +147,7 @@ var EN_TRANSLATION = {
|
|
|
147
147
|
protect: protect,
|
|
148
148
|
"protect.2kCameras": "2K Cameras",
|
|
149
149
|
"protect.4kCameras": "4K Cameras",
|
|
150
|
-
"protect.CkG2PlusNote": "Recording retention calculated
|
|
150
|
+
"protect.CkG2PlusNote": "Recording retention is calculated based on the pre-installed storage (HDD or SSD). Increase retention by upgrading to a higher-capacity drive.",
|
|
151
151
|
"protect.DreamWallNote": "Recording retention calculated for the pre-installed 512 GB microSD card. Increase retention by upgrading storage capacity.",
|
|
152
152
|
"protect.days": "Days",
|
|
153
153
|
"protect.hdCameras": "HD Cameras",
|
|
@@ -142,7 +142,7 @@ var EN_TRANSLATION = {
|
|
|
142
142
|
protect: protect,
|
|
143
143
|
"protect.2kCameras": "2K Cameras",
|
|
144
144
|
"protect.4kCameras": "4K Cameras",
|
|
145
|
-
"protect.CkG2PlusNote": "Recording retention calculated
|
|
145
|
+
"protect.CkG2PlusNote": "Recording retention is calculated based on the pre-installed storage (HDD or SSD). Increase retention by upgrading to a higher-capacity drive.",
|
|
146
146
|
"protect.DreamWallNote": "Recording retention calculated for the pre-installed 512 GB microSD card. Increase retention by upgrading storage capacity.",
|
|
147
147
|
"protect.days": "Days",
|
|
148
148
|
"protect.hdCameras": "HD Cameras",
|
|
@@ -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 ReverseLoopingVideo_styles = require('./ReverseLoopingVideo.styles.js');
|
|
6
6
|
"use strict";
|
|
7
7
|
const RESET_STEP_MS = 20;
|
|
@@ -10,8 +10,8 @@ const ReverseLoopingVideo = ({
|
|
|
10
10
|
poster,
|
|
11
11
|
playing
|
|
12
12
|
}) => {
|
|
13
|
-
const animationFrame =
|
|
14
|
-
const resetCurrentTime =
|
|
13
|
+
const animationFrame = React.useRef(0);
|
|
14
|
+
const resetCurrentTime = React.useCallback(el => {
|
|
15
15
|
if (playing || !el.currentTime) return;
|
|
16
16
|
if (el.currentTime >= el.duration) {
|
|
17
17
|
el.currentTime = 0;
|
|
@@ -26,8 +26,8 @@ const ReverseLoopingVideo = ({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
}, [playing]);
|
|
29
|
-
const videoRef =
|
|
30
|
-
|
|
29
|
+
const videoRef = React.useRef(null);
|
|
30
|
+
React.useEffect(() => {
|
|
31
31
|
const el = videoRef.current;
|
|
32
32
|
if (!el) return;
|
|
33
33
|
if (playing) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ScrollWrapperProps } from "./ScrollWrapper.types";
|
|
2
|
-
export declare const ScrollWrapper: ({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, draggable, }: ScrollWrapperProps) => JSX.Element;
|
|
2
|
+
export declare const ScrollWrapper: ({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, draggable, alignActive, disableScrollToActive, }: ScrollWrapperProps) => JSX.Element;
|