@ubnt/store.core 9.58.0-beta.2 → 9.58.0-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 +102 -563
- package/lib/_virtual/_virtual_multi-entry.js +15 -25
- package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
- package/lib/_virtual/_virtual_multi-entry.mjs +13 -13
- 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/{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/crestron.svg.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/pause.svg +3 -3
- package/lib/assets/pause2.svg +3 -3
- package/lib/components/Accordion/Accordion.js +4 -4
- package/lib/components/Avatar/Avatar.js +2 -2
- 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/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/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 +40 -40
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +6 -6
- 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 +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 +13 -13
- package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
- package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
- package/lib/components/Microsites/MicrositePageContext.js +2 -2
- package/lib/components/Microsites/MicrositeProductPage.js +3 -3
- package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
- package/lib/components/MobileModal/MobileModal.js +4 -4
- package/lib/components/Modal/Modal.js +3 -3
- package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
- package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
- package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
- 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/data/EnterpriseSwitching.js +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
- package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.js +2 -3
- package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
- package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
- package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
- package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
- package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
- package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
- package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO6.js +9 -2
- package/lib/components/ModelCompareV3/data/products/waveMLO6.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs +9 -2
- package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
- package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
- package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/ar.json.js +11 -11
- package/lib/components/ModelCompareV3/translations/ar.json.mjs +11 -11
- package/lib/components/ModelCompareV3/translations/de.json.js +3 -3
- package/lib/components/ModelCompareV3/translations/de.json.mjs +3 -3
- package/lib/components/ModelCompareV3/translations/el.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/el.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/en.json.js +2 -4
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +2 -4
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/es.json.js +3 -3
- package/lib/components/ModelCompareV3/translations/es.json.mjs +3 -3
- package/lib/components/ModelCompareV3/translations/fr.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/fr.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/it.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/it.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/ja.json.js +8 -8
- package/lib/components/ModelCompareV3/translations/ja.json.mjs +8 -8
- package/lib/components/ModelCompareV3/translations/pt-BR.json.js +2 -2
- package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +2 -2
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +6 -6
- package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +6 -6
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +9 -9
- package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +9 -9
- 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 +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 +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 +20 -20
- package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
- package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
- 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/options/colors/black.svg.js +5 -5
- package/lib/constants/icons/options/colors/index.js +3 -3
- package/lib/constants/icons/options/styles/black.svg.js +5 -5
- package/lib/constants/icons/options/styles/index.js +3 -3
- package/lib/constants/optionIcons.js +6 -6
- package/lib/constants/optionIcons.mjs +4 -4
- 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 +2 -0
- package/lib/constants/proStoreCategories/mapping/index.js +20 -6
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +20 -6
- 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/unifi.d.ts +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.js +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -0
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +6 -5
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +6 -5
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +5 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +5 -4
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +5 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +5 -2
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/constants/proStoreFilters/mapping.d.ts +43 -7
- package/lib/constants/proStoreFilters/mapping.js +129 -15
- package/lib/constants/proStoreFilters/mapping.js.map +1 -1
- package/lib/constants/proStoreFilters/mapping.mjs +129 -15
- 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/contexts/MenuContext/presets.d.ts +1 -1
- package/lib/contexts/MenuContext/presets.js +2 -4
- package/lib/contexts/MenuContext/presets.js.map +1 -1
- package/lib/contexts/MenuContext/presets.mjs +2 -4
- package/lib/contexts/MenuContext/presets.mjs.map +1 -1
- package/lib/helpers/index.d.ts +0 -1
- package/lib/helpers/index.js +1 -11
- package/lib/helpers/index.js.map +1 -1
- package/lib/helpers/index.mjs +1 -2
- package/lib/helpers/index.mjs.map +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/types/generated.d.ts +1 -1
- package/lib/types/generated.js.map +1 -1
- package/lib/types/generated.mjs.map +1 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/index.js +0 -2
- package/lib/types/index.js.map +1 -1
- package/lib/types/index.mjs +0 -1
- package/lib/types/index.mjs.map +1 -1
- package/lib/utils/address.d.ts +62 -278
- package/lib/utils/address.js +8 -11
- package/lib/utils/address.js.map +1 -1
- package/lib/utils/address.mjs +8 -11
- package/lib/utils/address.mjs.map +1 -1
- package/lib/utils/array.d.ts +0 -4
- package/lib/utils/array.js +0 -10
- package/lib/utils/array.js.map +1 -1
- package/lib/utils/array.mjs +1 -10
- package/lib/utils/array.mjs.map +1 -1
- package/lib/utils/nextjs/ssr/registry.js +2 -2
- package/package.json +42 -42
- package/lib/assets/crestron.svg +0 -3
- 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/crestron.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
- package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
- package/lib/helpers/product.d.ts +0 -87
- package/lib/helpers/product.js +0 -346
- package/lib/helpers/product.js.map +0 -1
- package/lib/helpers/product.mjs +0 -335
- package/lib/helpers/product.mjs.map +0 -1
- package/lib/helpers/product.test.d.ts +0 -1
- package/lib/types/product.d.ts +0 -87
- package/lib/types/product.js +0 -14
- package/lib/types/product.js.map +0 -1
- package/lib/types/product.mjs +0 -13
- package/lib/types/product.mjs.map +0 -1
- package/lib/utils/productSort.d.ts +0 -41
- package/lib/utils/productSort.js +0 -67
- package/lib/utils/productSort.js.map +0 -1
- package/lib/utils/productSort.mjs +0 -60
- package/lib/utils/productSort.mjs.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
- package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
- package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
- package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
- package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
|
@@ -62,7 +62,7 @@ var zhHans = {
|
|
|
62
62
|
"aiDome.description": "全天候,防破坏4K PoE半球摄像头",
|
|
63
63
|
"aiDome.fieldOfView": "109.9° 水平视角",
|
|
64
64
|
"aiDome.nightVision": "40 米 (131 英尺)",
|
|
65
|
-
"aiDome.title": "AI
|
|
65
|
+
"aiDome.title": "AI Dome",
|
|
66
66
|
"aiDslr.outdoorReady": "IPX5(配备户外壳)",
|
|
67
67
|
"aiLpr.cameraAudio": "麦克风",
|
|
68
68
|
"aiLpr.comingSoonButtonText": "2025年1月可用",
|
|
@@ -592,7 +592,7 @@ var zhHans = {
|
|
|
592
592
|
"enterpriseAggregation.description": "高密度100G QSFP28 / 25G SFP28 Aggregation 交换机",
|
|
593
593
|
"enterpriseAggregation.description.1": "高密度100G第三层Aggregation交换机",
|
|
594
594
|
"enterpriseAggregation.title": "企业园区Aggregation",
|
|
595
|
-
"enterpriseCampus.availability": "
|
|
595
|
+
"enterpriseCampus.availability": "2024年12月可用",
|
|
596
596
|
"enterpriseCampus24.description": "高容量 10 GbE RJ45 和 25G SFP28 连接",
|
|
597
597
|
"enterpriseCampus24.downlinkSpeed": "高达 10 Gbps",
|
|
598
598
|
"enterpriseCampus24.title": "Enterprise Campus 24",
|
|
@@ -745,18 +745,18 @@ var zhHans = {
|
|
|
745
745
|
"g2StarterKitPro.title": "G2 Starter Kit Pro",
|
|
746
746
|
"g3Reader.description": "紧凑型第三代NFC读卡器和请求退出设备",
|
|
747
747
|
"g3Reader.outdoorReady": "IP55防雨(-30℃至45℃)",
|
|
748
|
-
"g3Reader.title": "G3
|
|
748
|
+
"g3Reader.title": "G3 Reader",
|
|
749
749
|
"g3ReaderFlex.description": "具有键盘的第三代NFC读卡器",
|
|
750
750
|
"g3ReaderFlex.outdoorReady": "IP55防雨(-30℃至45℃)",
|
|
751
|
-
"g3ReaderFlex.title": "G3
|
|
751
|
+
"g3ReaderFlex.title": "G3 Reader Flex",
|
|
752
752
|
"g3ReaderPro.description": "第三代NFC读卡器和视频对讲机",
|
|
753
753
|
"g3ReaderPro.note.1": "*当环境温度高于/低于显示屏操作温度时,显示屏将会关闭,但其他功能将继续运行。",
|
|
754
754
|
"g3ReaderPro.outdoorReady": "IP55防雨\n设备:-30至45℃(-22至113℉)\n显示屏:-10至45℃(14至113℉)",
|
|
755
|
-
"g3ReaderPro.title": "G3
|
|
755
|
+
"g3ReaderPro.title": "G3 Reader Pro",
|
|
756
756
|
"g3StarterKit.description": "单门单读卡器的入口控制",
|
|
757
757
|
"g3StarterKit.includedAccessories": "(2)口袋钥匙扣",
|
|
758
758
|
"g3StarterKit.includedHub": "(1) Door Hub Mini",
|
|
759
|
-
"g3StarterKit.includedReaders": "G3
|
|
759
|
+
"g3StarterKit.includedReaders": "(1) G3 Reader",
|
|
760
760
|
"g3StarterKit.title": "G3 Starter Kit",
|
|
761
761
|
"g3StarterKitPro.description": "用两个读卡器控制单个门的完全进出控制",
|
|
762
762
|
"g3StarterKitPro.includedAccessories": "(2)口袋钥匙扣",
|
|
@@ -57,7 +57,7 @@ var zhHans = {
|
|
|
57
57
|
"aiDome.description": "全天候,防破坏4K PoE半球摄像头",
|
|
58
58
|
"aiDome.fieldOfView": "109.9° 水平视角",
|
|
59
59
|
"aiDome.nightVision": "40 米 (131 英尺)",
|
|
60
|
-
"aiDome.title": "AI
|
|
60
|
+
"aiDome.title": "AI Dome",
|
|
61
61
|
"aiDslr.outdoorReady": "IPX5(配备户外壳)",
|
|
62
62
|
"aiLpr.cameraAudio": "麦克风",
|
|
63
63
|
"aiLpr.comingSoonButtonText": "2025年1月可用",
|
|
@@ -587,7 +587,7 @@ var zhHans = {
|
|
|
587
587
|
"enterpriseAggregation.description": "高密度100G QSFP28 / 25G SFP28 Aggregation 交换机",
|
|
588
588
|
"enterpriseAggregation.description.1": "高密度100G第三层Aggregation交换机",
|
|
589
589
|
"enterpriseAggregation.title": "企业园区Aggregation",
|
|
590
|
-
"enterpriseCampus.availability": "
|
|
590
|
+
"enterpriseCampus.availability": "2024年12月可用",
|
|
591
591
|
"enterpriseCampus24.description": "高容量 10 GbE RJ45 和 25G SFP28 连接",
|
|
592
592
|
"enterpriseCampus24.downlinkSpeed": "高达 10 Gbps",
|
|
593
593
|
"enterpriseCampus24.title": "Enterprise Campus 24",
|
|
@@ -740,18 +740,18 @@ var zhHans = {
|
|
|
740
740
|
"g2StarterKitPro.title": "G2 Starter Kit Pro",
|
|
741
741
|
"g3Reader.description": "紧凑型第三代NFC读卡器和请求退出设备",
|
|
742
742
|
"g3Reader.outdoorReady": "IP55防雨(-30℃至45℃)",
|
|
743
|
-
"g3Reader.title": "G3
|
|
743
|
+
"g3Reader.title": "G3 Reader",
|
|
744
744
|
"g3ReaderFlex.description": "具有键盘的第三代NFC读卡器",
|
|
745
745
|
"g3ReaderFlex.outdoorReady": "IP55防雨(-30℃至45℃)",
|
|
746
|
-
"g3ReaderFlex.title": "G3
|
|
746
|
+
"g3ReaderFlex.title": "G3 Reader Flex",
|
|
747
747
|
"g3ReaderPro.description": "第三代NFC读卡器和视频对讲机",
|
|
748
748
|
"g3ReaderPro.note.1": "*当环境温度高于/低于显示屏操作温度时,显示屏将会关闭,但其他功能将继续运行。",
|
|
749
749
|
"g3ReaderPro.outdoorReady": "IP55防雨\n设备:-30至45℃(-22至113℉)\n显示屏:-10至45℃(14至113℉)",
|
|
750
|
-
"g3ReaderPro.title": "G3
|
|
750
|
+
"g3ReaderPro.title": "G3 Reader Pro",
|
|
751
751
|
"g3StarterKit.description": "单门单读卡器的入口控制",
|
|
752
752
|
"g3StarterKit.includedAccessories": "(2)口袋钥匙扣",
|
|
753
753
|
"g3StarterKit.includedHub": "(1) Door Hub Mini",
|
|
754
|
-
"g3StarterKit.includedReaders": "G3
|
|
754
|
+
"g3StarterKit.includedReaders": "(1) G3 Reader",
|
|
755
755
|
"g3StarterKit.title": "G3 Starter Kit",
|
|
756
756
|
"g3StarterKitPro.description": "用两个读卡器控制单个门的完全进出控制",
|
|
757
757
|
"g3StarterKitPro.includedAccessories": "(2)口袋钥匙扣",
|
|
@@ -62,7 +62,7 @@ var zhHantTW = {
|
|
|
62
62
|
"aiDome.description": "全天候,防破壞4K PoE半球攝影機",
|
|
63
63
|
"aiDome.fieldOfView": "109.9度水平",
|
|
64
64
|
"aiDome.nightVision": "40 公尺 (131 英尺)",
|
|
65
|
-
"aiDome.title": "AI
|
|
65
|
+
"aiDome.title": "AI Dome",
|
|
66
66
|
"aiDslr.outdoorReady": "IPX5 (配有戶外保護殼)",
|
|
67
67
|
"aiLpr.cameraAudio": "麥克風",
|
|
68
68
|
"aiLpr.comingSoonButtonText": "2025年1月可用",
|
|
@@ -592,7 +592,7 @@ var zhHantTW = {
|
|
|
592
592
|
"enterpriseAggregation.description": "高密度100G QSFP28 / 25G SFP28聚合交換器",
|
|
593
593
|
"enterpriseAggregation.description.1": "高密度100G第三層匯聚交換器",
|
|
594
594
|
"enterpriseAggregation.title": "企業校園匯聚",
|
|
595
|
-
"enterpriseCampus.availability": "
|
|
595
|
+
"enterpriseCampus.availability": "2024年12月可用",
|
|
596
596
|
"enterpriseCampus24.description": "高容量10 GbE RJ45和25G SFP28連接",
|
|
597
597
|
"enterpriseCampus24.downlinkSpeed": "高達10 Gbps",
|
|
598
598
|
"enterpriseCampus24.title": "企業校園24",
|
|
@@ -748,21 +748,21 @@ var zhHantTW = {
|
|
|
748
748
|
"g3Reader.title": "G3 Reader",
|
|
749
749
|
"g3ReaderFlex.description": "具有鍵盤的第三代NFC讀卡器",
|
|
750
750
|
"g3ReaderFlex.outdoorReady": "IP55防雨(-30°至45° C)",
|
|
751
|
-
"g3ReaderFlex.title": "G3
|
|
751
|
+
"g3ReaderFlex.title": "G3 Reader Flex",
|
|
752
752
|
"g3ReaderPro.description": "第三代NFC讀卡器與視訊對講機",
|
|
753
753
|
"g3ReaderPro.note.1": "*當周圍溫度高於/低於顯示器操作溫度時,顯示器將會關閉,但其他功能將繼續運作。",
|
|
754
754
|
"g3ReaderPro.outdoorReady": "IP55 防雨\n裝置:-30 至 45℃ (-22 至 113℉)\n顯示器:-10 至 45℃ (14 至 113℉)",
|
|
755
|
-
"g3ReaderPro.title": "G3
|
|
755
|
+
"g3ReaderPro.title": "G3 Reader Pro",
|
|
756
756
|
"g3StarterKit.description": "單門單讀卡器的進出控制",
|
|
757
757
|
"g3StarterKit.includedAccessories": "(2) 口袋鑰匙扣",
|
|
758
|
-
"g3StarterKit.includedHub": "(1)
|
|
759
|
-
"g3StarterKit.includedReaders": "(1) G3
|
|
760
|
-
"g3StarterKit.title": "G3
|
|
758
|
+
"g3StarterKit.includedHub": "(1) Door Hub Mini",
|
|
759
|
+
"g3StarterKit.includedReaders": "(1) G3 Reader",
|
|
760
|
+
"g3StarterKit.title": "G3 Starter Kit",
|
|
761
761
|
"g3StarterKitPro.description": "單門雙讀卡器的完整進出控制",
|
|
762
762
|
"g3StarterKitPro.includedAccessories": "(2) 口袋鑰匙扣",
|
|
763
763
|
"g3StarterKitPro.includedHub": "(1) 門樞",
|
|
764
|
-
"g3StarterKitPro.includedReaders": "(1) G3 Reader Pro\n(1) G3
|
|
765
|
-
"g3StarterKitPro.title": "G3
|
|
764
|
+
"g3StarterKitPro.includedReaders": "(1) G3 Reader Pro\n(1) G3 Reader",
|
|
765
|
+
"g3StarterKitPro.title": "G3 Starter Kit Pro",
|
|
766
766
|
"g3TouchEnterprise.comingSoonButtonText": "2025年4月可用",
|
|
767
767
|
"g3TouchEnterprise.description": "適用於 UniFi Talk 的次世代智慧型手機,配備 7 吋顯示器和應用程式整合。",
|
|
768
768
|
"g3TouchEnterprise.description.1": "下一代 Talk 智慧型手機,配備 7 吋顯示螢幕及應用程式整合。",
|
|
@@ -57,7 +57,7 @@ var zhHantTW = {
|
|
|
57
57
|
"aiDome.description": "全天候,防破壞4K PoE半球攝影機",
|
|
58
58
|
"aiDome.fieldOfView": "109.9度水平",
|
|
59
59
|
"aiDome.nightVision": "40 公尺 (131 英尺)",
|
|
60
|
-
"aiDome.title": "AI
|
|
60
|
+
"aiDome.title": "AI Dome",
|
|
61
61
|
"aiDslr.outdoorReady": "IPX5 (配有戶外保護殼)",
|
|
62
62
|
"aiLpr.cameraAudio": "麥克風",
|
|
63
63
|
"aiLpr.comingSoonButtonText": "2025年1月可用",
|
|
@@ -587,7 +587,7 @@ var zhHantTW = {
|
|
|
587
587
|
"enterpriseAggregation.description": "高密度100G QSFP28 / 25G SFP28聚合交換器",
|
|
588
588
|
"enterpriseAggregation.description.1": "高密度100G第三層匯聚交換器",
|
|
589
589
|
"enterpriseAggregation.title": "企業校園匯聚",
|
|
590
|
-
"enterpriseCampus.availability": "
|
|
590
|
+
"enterpriseCampus.availability": "2024年12月可用",
|
|
591
591
|
"enterpriseCampus24.description": "高容量10 GbE RJ45和25G SFP28連接",
|
|
592
592
|
"enterpriseCampus24.downlinkSpeed": "高達10 Gbps",
|
|
593
593
|
"enterpriseCampus24.title": "企業校園24",
|
|
@@ -743,21 +743,21 @@ var zhHantTW = {
|
|
|
743
743
|
"g3Reader.title": "G3 Reader",
|
|
744
744
|
"g3ReaderFlex.description": "具有鍵盤的第三代NFC讀卡器",
|
|
745
745
|
"g3ReaderFlex.outdoorReady": "IP55防雨(-30°至45° C)",
|
|
746
|
-
"g3ReaderFlex.title": "G3
|
|
746
|
+
"g3ReaderFlex.title": "G3 Reader Flex",
|
|
747
747
|
"g3ReaderPro.description": "第三代NFC讀卡器與視訊對講機",
|
|
748
748
|
"g3ReaderPro.note.1": "*當周圍溫度高於/低於顯示器操作溫度時,顯示器將會關閉,但其他功能將繼續運作。",
|
|
749
749
|
"g3ReaderPro.outdoorReady": "IP55 防雨\n裝置:-30 至 45℃ (-22 至 113℉)\n顯示器:-10 至 45℃ (14 至 113℉)",
|
|
750
|
-
"g3ReaderPro.title": "G3
|
|
750
|
+
"g3ReaderPro.title": "G3 Reader Pro",
|
|
751
751
|
"g3StarterKit.description": "單門單讀卡器的進出控制",
|
|
752
752
|
"g3StarterKit.includedAccessories": "(2) 口袋鑰匙扣",
|
|
753
|
-
"g3StarterKit.includedHub": "(1)
|
|
754
|
-
"g3StarterKit.includedReaders": "(1) G3
|
|
755
|
-
"g3StarterKit.title": "G3
|
|
753
|
+
"g3StarterKit.includedHub": "(1) Door Hub Mini",
|
|
754
|
+
"g3StarterKit.includedReaders": "(1) G3 Reader",
|
|
755
|
+
"g3StarterKit.title": "G3 Starter Kit",
|
|
756
756
|
"g3StarterKitPro.description": "單門雙讀卡器的完整進出控制",
|
|
757
757
|
"g3StarterKitPro.includedAccessories": "(2) 口袋鑰匙扣",
|
|
758
758
|
"g3StarterKitPro.includedHub": "(1) 門樞",
|
|
759
|
-
"g3StarterKitPro.includedReaders": "(1) G3 Reader Pro\n(1) G3
|
|
760
|
-
"g3StarterKitPro.title": "G3
|
|
759
|
+
"g3StarterKitPro.includedReaders": "(1) G3 Reader Pro\n(1) G3 Reader",
|
|
760
|
+
"g3StarterKitPro.title": "G3 Starter Kit Pro",
|
|
761
761
|
"g3TouchEnterprise.comingSoonButtonText": "2025年4月可用",
|
|
762
762
|
"g3TouchEnterprise.description": "適用於 UniFi Talk 的次世代智慧型手機,配備 7 吋顯示器和應用程式整合。",
|
|
763
763
|
"g3TouchEnterprise.description.1": "下一代 Talk 智慧型手機,配備 7 吋顯示螢幕及應用程式整合。",
|
|
@@ -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 Pagination_styles = require('./Pagination.styles.js');
|
|
6
6
|
"use strict";
|
|
7
7
|
const PAGE_STEP = 1;
|
|
@@ -11,14 +11,14 @@ const Pagination = function Pagination2({
|
|
|
11
11
|
onChange,
|
|
12
12
|
activePage
|
|
13
13
|
}) {
|
|
14
|
-
const onPaginationChange =
|
|
14
|
+
const onPaginationChange = React.useCallback(value => {
|
|
15
15
|
window.scrollTo({
|
|
16
16
|
top: 0,
|
|
17
17
|
behavior: "smooth"
|
|
18
18
|
});
|
|
19
19
|
onChange(value);
|
|
20
20
|
}, [onChange]);
|
|
21
|
-
const parsedPages =
|
|
21
|
+
const parsedPages = React.useMemo(() => {
|
|
22
22
|
const pages = [];
|
|
23
23
|
const addPages = (startIndex, endIndex) => {
|
|
24
24
|
for (let i = startIndex; i < endIndex; i++) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var MultiSlider = require('@ubnt/ui-components/MultiSlider');
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
require('../../assets/icons/sliderThumb.svg.js');
|
|
7
7
|
require('../../utils/money/index.js');
|
|
8
8
|
var PriceRangeSlider_styles = require('./PriceRangeSlider.styles.js');
|
|
@@ -26,16 +26,16 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
26
26
|
title,
|
|
27
27
|
currency
|
|
28
28
|
}) {
|
|
29
|
-
const fullRange =
|
|
30
|
-
const priceToPercentage =
|
|
29
|
+
const fullRange = React.useMemo(() => maxValue.amount - minValue.amount, [maxValue.amount, minValue.amount]);
|
|
30
|
+
const priceToPercentage = React.useCallback(priceAmount => {
|
|
31
31
|
return (priceAmount - minValue.amount) / fullRange * 100;
|
|
32
32
|
}, [fullRange, minValue.amount]);
|
|
33
|
-
const percentageToPrice =
|
|
33
|
+
const percentageToPrice = React.useCallback(percentage => {
|
|
34
34
|
return Math.floor(percentage * fullRange / 100 + minValue.amount);
|
|
35
35
|
}, [fullRange, minValue.amount]);
|
|
36
|
-
const [fromSliderValue, setFromSliderValue] =
|
|
37
|
-
const [toSliderValue, setToSliderValue] =
|
|
38
|
-
const getFormattedPriceFrom =
|
|
36
|
+
const [fromSliderValue, setFromSliderValue] = React.useState(priceFrom && priceToPercentage(priceFrom.amount) || 0);
|
|
37
|
+
const [toSliderValue, setToSliderValue] = React.useState(priceTo && priceToPercentage(priceTo.amount) || 100);
|
|
38
|
+
const getFormattedPriceFrom = React.useCallback(priceAmount => {
|
|
39
39
|
return format.formatPrice({
|
|
40
40
|
currency,
|
|
41
41
|
amount: priceAmount
|
|
@@ -43,7 +43,7 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
43
43
|
removeFractions: true
|
|
44
44
|
});
|
|
45
45
|
}, [currency]);
|
|
46
|
-
const getFormattedPriceTo =
|
|
46
|
+
const getFormattedPriceTo = React.useCallback(priceAmount => {
|
|
47
47
|
return `${format.formatPrice({
|
|
48
48
|
currency,
|
|
49
49
|
amount: priceAmount
|
|
@@ -51,13 +51,13 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
51
51
|
removeFractions: true
|
|
52
52
|
})}${toSliderValue === 100 ? "+" : ""}`;
|
|
53
53
|
}, [currency, toSliderValue]);
|
|
54
|
-
const [fromInputValue, setFromInputValue] =
|
|
55
|
-
const [toInputValue, setToInputValue] =
|
|
56
|
-
|
|
54
|
+
const [fromInputValue, setFromInputValue] = React.useState(getFormattedPriceFrom((priceFrom !== void 0 ? priceFrom?.amount : minValue.amount) || 0));
|
|
55
|
+
const [toInputValue, setToInputValue] = React.useState(getFormattedPriceTo((priceTo !== void 0 ? priceTo?.amount : maxValue.amount) || 0));
|
|
56
|
+
React.useEffect(() => {
|
|
57
57
|
setFromInputValue(getFormattedPriceFrom(priceFrom?.amount || minValue.amount));
|
|
58
58
|
setFromSliderValue(priceToPercentage(priceFrom?.amount || 0));
|
|
59
59
|
}, [getFormattedPriceFrom, minValue.amount, priceFrom?.amount, priceToPercentage]);
|
|
60
|
-
|
|
60
|
+
React.useEffect(() => {
|
|
61
61
|
const newPercentageValue = priceToPercentage(priceTo?.amount || maxValue.amount);
|
|
62
62
|
setToInputValue(`${format.formatPrice({
|
|
63
63
|
currency,
|
|
@@ -67,7 +67,7 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
67
67
|
})}${newPercentageValue === 100 ? "+" : ""}`);
|
|
68
68
|
setToSliderValue(newPercentageValue || 100);
|
|
69
69
|
}, [currency, maxValue.amount, priceTo?.amount, priceToPercentage]);
|
|
70
|
-
const handleSliderChange =
|
|
70
|
+
const handleSliderChange = React.useCallback(([valFrom, valTo]) => {
|
|
71
71
|
const newData = {
|
|
72
72
|
...(priceFrom && {
|
|
73
73
|
priceFrom: {
|
|
@@ -98,7 +98,7 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
98
98
|
};
|
|
99
99
|
onChange(newData);
|
|
100
100
|
}, [maxValue.currency, minValue.currency, onChange, percentageToPrice, priceFrom, priceTo]);
|
|
101
|
-
const handleInputBlur =
|
|
101
|
+
const handleInputBlur = React.useCallback((inputValue, inputType) => {
|
|
102
102
|
const val = parseInt(inputValue.replace(/^\D+/g, ""));
|
|
103
103
|
if (typeof val === "number" && !Number.isNaN(val)) {
|
|
104
104
|
let parsedDinero = misc.parseFloatToDinero(val, currency).toJSON();
|
|
@@ -141,13 +141,13 @@ const PriceRangeSlider = function PriceRangeSlider2({
|
|
|
141
141
|
onChange(newData);
|
|
142
142
|
}
|
|
143
143
|
}, [currency, maxValue, minValue, onChange, priceFrom, priceTo]);
|
|
144
|
-
const handleSliderDrag =
|
|
144
|
+
const handleSliderDrag = React.useCallback(([valFrom, valTo]) => {
|
|
145
145
|
setFromInputValue(getFormattedPriceFrom(percentageToPrice(valFrom)));
|
|
146
146
|
setFromSliderValue(valFrom);
|
|
147
147
|
setToInputValue(getFormattedPriceTo(percentageToPrice(valTo)));
|
|
148
148
|
setToSliderValue(valTo);
|
|
149
149
|
}, [getFormattedPriceFrom, getFormattedPriceTo, percentageToPrice]);
|
|
150
|
-
const handleInputChange =
|
|
150
|
+
const handleInputChange = React.useCallback(inputType => e => {
|
|
151
151
|
const value = e.target.value;
|
|
152
152
|
const regex = /[a-zA-Z]/;
|
|
153
153
|
if (regex.test(value)) {
|
|
@@ -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
|
var reactUse = require('react-use');
|
|
7
7
|
require('../../assets/icons/previouslyPurchasedStar.svg.js');
|
|
8
8
|
var variant = require('../../utils/variant.js');
|
|
@@ -45,23 +45,23 @@ const ProductCard = ({
|
|
|
45
45
|
onAddToCart,
|
|
46
46
|
renderImage
|
|
47
47
|
}) => {
|
|
48
|
-
const translations =
|
|
48
|
+
const translations = React.useMemo(() => {
|
|
49
49
|
return merge__default["default"](ProductCard_constants.defaultProductCardTranslations, initialTranslations);
|
|
50
50
|
}, [initialTranslations]);
|
|
51
|
-
const hasManyVariants =
|
|
51
|
+
const hasManyVariants = React.useMemo(() => {
|
|
52
52
|
return variants.length > 1;
|
|
53
53
|
}, [variants.length]);
|
|
54
|
-
const isInStock =
|
|
54
|
+
const isInStock = React.useMemo(() => {
|
|
55
55
|
return !!isSubscription || !!variants?.some(variant => variant.isInStock);
|
|
56
56
|
}, [isSubscription, variants]);
|
|
57
|
-
const isComingSoon =
|
|
57
|
+
const isComingSoon = React.useMemo(() => {
|
|
58
58
|
return !isInStock && !!variants?.some(variant => variant.isComingSoon);
|
|
59
59
|
}, [isInStock, variants]);
|
|
60
|
-
const isEarlyAccess =
|
|
60
|
+
const isEarlyAccess = React.useMemo(() => {
|
|
61
61
|
return !!variants?.some(variant => variant?.isEarlyAccess);
|
|
62
62
|
}, [variants]);
|
|
63
63
|
const localQuantity = 1;
|
|
64
|
-
const handleAddToCart =
|
|
64
|
+
const handleAddToCart = React.useCallback(() => {
|
|
65
65
|
const quantity = hasManyVariants ? null : localQuantity;
|
|
66
66
|
onAddToCart(slug, quantity);
|
|
67
67
|
}, [hasManyVariants, localQuantity, onAddToCart, slug]);
|
|
@@ -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 array = require('../../utils/array.js');
|
|
6
6
|
require('../../utils/money/index.js');
|
|
7
7
|
var variant = require('../../utils/variant.js');
|
|
@@ -42,13 +42,13 @@ const ProductCardPopupInternal = ({
|
|
|
42
42
|
const {
|
|
43
43
|
jumpToSlide
|
|
44
44
|
} = Gallery_context.useGalleryControls();
|
|
45
|
-
const imagesParsed =
|
|
45
|
+
const imagesParsed = React.useMemo(() => {
|
|
46
46
|
return Gallery.parseGalleryEntries(images ?? [], GALLERY_FADE);
|
|
47
47
|
}, [images]);
|
|
48
|
-
const currentVariant =
|
|
48
|
+
const currentVariant = React.useMemo(() => {
|
|
49
49
|
return variants?.find(variant => variant.sku === activePopupVariantSku);
|
|
50
50
|
}, [activePopupVariantSku, variants]);
|
|
51
|
-
const variantOptions =
|
|
51
|
+
const variantOptions = React.useMemo(() => {
|
|
52
52
|
return options?.map(option => {
|
|
53
53
|
const selectedOption = option.values.find(value => currentVariant?.optionValueIds?.includes(value.id));
|
|
54
54
|
const values = option.values.map(value => {
|
|
@@ -67,13 +67,13 @@ const ProductCardPopupInternal = ({
|
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
69
|
}, [currentVariant?.optionValueIds, options, variants]);
|
|
70
|
-
const updateGalleryImage =
|
|
70
|
+
const updateGalleryImage = React.useCallback(imageId => {
|
|
71
71
|
const imageIndex = imagesParsed.findIndex(image => image.id === imageId);
|
|
72
72
|
if (imageIndex !== -1) {
|
|
73
73
|
jumpToSlide(imageIndex);
|
|
74
74
|
}
|
|
75
75
|
}, [imagesParsed, jumpToSlide]);
|
|
76
|
-
const handleOptionChange =
|
|
76
|
+
const handleOptionChange = React.useCallback((prevValueId, nextValueId) => {
|
|
77
77
|
if (!prevValueId || !nextValueId || prevValueId === nextValueId) {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -93,7 +93,7 @@ const ProductCardPopupInternal = ({
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}, [currentVariant?.optionValueIds, onVariantChange, updateGalleryImage, variants]);
|
|
96
|
-
const renderOption =
|
|
96
|
+
const renderOption = React.useCallback(({
|
|
97
97
|
option,
|
|
98
98
|
onClick,
|
|
99
99
|
isFocused,
|
|
@@ -109,7 +109,7 @@ const ProductCardPopupInternal = ({
|
|
|
109
109
|
})]
|
|
110
110
|
}, option.value);
|
|
111
111
|
}, [wizardProps?.translations.addToCartButton.soldOut]);
|
|
112
|
-
const addToCartBtnText =
|
|
112
|
+
const addToCartBtnText = React.useMemo(() => {
|
|
113
113
|
if (wizardProps?.isVariantSoldOut) {
|
|
114
114
|
return wizardProps?.translations.addToCartButton.soldOut;
|
|
115
115
|
} else if (wizardProps?.isVariantComingSoon) {
|
|
@@ -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
|
var iconParsing = require('../../helpers/shopify/iconParsing.js');
|
|
7
7
|
require('../../utils/money/index.js');
|
|
8
8
|
require('../Button/index.js');
|
|
@@ -34,27 +34,27 @@ const ProductCompare = function ProductCompare2({
|
|
|
34
34
|
onVariantLearnMore,
|
|
35
35
|
onVariantAddToCart
|
|
36
36
|
}) {
|
|
37
|
-
const translations =
|
|
37
|
+
const translations = React.useMemo(() => {
|
|
38
38
|
return merge__default["default"](ProductCompare_constants.defaultProductCompareTranslations, initialTranslations);
|
|
39
39
|
}, [initialTranslations]);
|
|
40
|
-
const getVariantImage =
|
|
40
|
+
const getVariantImage = React.useCallback(variant => {
|
|
41
41
|
return variant.images?.find(el => !el.isVideo);
|
|
42
42
|
}, []);
|
|
43
|
-
const parsedVariants =
|
|
43
|
+
const parsedVariants = React.useMemo(() => {
|
|
44
44
|
return ProductCompare_utils.parseProductCompareVariants(variants);
|
|
45
45
|
}, [variants]);
|
|
46
|
-
const section =
|
|
46
|
+
const section = React.useMemo(() => {
|
|
47
47
|
for (const parsedVariant of parsedVariants) {
|
|
48
48
|
return mapping.PRODUCT_COMPARE_MAPPING.sections.find(section2 => section2.id === parsedVariant.compareSectionId) ?? null;
|
|
49
49
|
}
|
|
50
50
|
return null;
|
|
51
51
|
}, [parsedVariants]);
|
|
52
|
-
const getPrice =
|
|
52
|
+
const getPrice = React.useCallback(variant => {
|
|
53
53
|
const price = format.formatPrice(variant.displayPrice);
|
|
54
54
|
const fromPrice = variant.fromPrice ? translations.fromPrice(format.formatPrice(variant.fromPrice)) : void 0;
|
|
55
55
|
return fromPrice || price;
|
|
56
56
|
}, [translations]);
|
|
57
|
-
const allRowHeights =
|
|
57
|
+
const allRowHeights = React.useRef(parsedVariants.reduce((map, variant) => {
|
|
58
58
|
for (let row = 0; row < variant.compare.features.length; row++) {
|
|
59
59
|
if (!map[row]) {
|
|
60
60
|
map[row] = [];
|
|
@@ -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 product = require('../../helpers/shopify/product.js');
|
|
6
6
|
require('../ProductKeyFeatures/index.js');
|
|
7
7
|
var ProductDetails_styles = require('./ProductDetails.styles.js');
|
|
@@ -12,8 +12,8 @@ const ProductDetails = function ProductDetails2({
|
|
|
12
12
|
description,
|
|
13
13
|
asKeyFeatures
|
|
14
14
|
}) {
|
|
15
|
-
const root =
|
|
16
|
-
const openLinkInNewTab =
|
|
15
|
+
const root = React.useRef(null);
|
|
16
|
+
const openLinkInNewTab = React.useCallback(e => {
|
|
17
17
|
if (e.target instanceof HTMLElement) {
|
|
18
18
|
const el = e.target;
|
|
19
19
|
const anchor = el.closest("a");
|
|
@@ -26,10 +26,10 @@ const ProductDetails = function ProductDetails2({
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}, []);
|
|
29
|
-
const keyFeatures =
|
|
29
|
+
const keyFeatures = React.useMemo(() => {
|
|
30
30
|
return product.getDescriptionKeyFeatures(description);
|
|
31
31
|
}, [description]);
|
|
32
|
-
const parsedInnerHtmlObject =
|
|
32
|
+
const parsedInnerHtmlObject = React.useMemo(() => {
|
|
33
33
|
let html = description;
|
|
34
34
|
if (!asKeyFeatures && keyFeatures) {
|
|
35
35
|
html = keyFeatures.description;
|
|
@@ -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 layout = require('../../constants/layout.js');
|
|
6
6
|
require('../Pagination/index.js');
|
|
7
7
|
require('../ProductCard/index.js');
|
|
@@ -36,7 +36,7 @@ const ProductGrid = ({
|
|
|
36
36
|
const {
|
|
37
37
|
areProductsLoading,
|
|
38
38
|
products
|
|
39
|
-
} =
|
|
39
|
+
} = React.useMemo(() => {
|
|
40
40
|
if (props.products === void 0) {
|
|
41
41
|
return {
|
|
42
42
|
areProductsLoading: true,
|
|
@@ -54,27 +54,27 @@ const ProductGrid = ({
|
|
|
54
54
|
products: props.products
|
|
55
55
|
};
|
|
56
56
|
}, [props?.products]);
|
|
57
|
-
const [popupProduct, setPopupProduct] =
|
|
58
|
-
const isPopupOpen =
|
|
59
|
-
|
|
57
|
+
const [popupProduct, setPopupProduct] = React.useState(activePopupProduct);
|
|
58
|
+
const isPopupOpen = React.useMemo(() => !!activePopupProduct, [activePopupProduct]);
|
|
59
|
+
React.useEffect(() => {
|
|
60
60
|
if (activePopupProduct !== void 0) {
|
|
61
61
|
setPopupProduct(activePopupProduct);
|
|
62
62
|
}
|
|
63
63
|
}, [activePopupProduct]);
|
|
64
|
-
const pageCount =
|
|
64
|
+
const pageCount = React.useMemo(() => {
|
|
65
65
|
return Math.ceil((products?.length || 0) / PAGINATION_LIMIT);
|
|
66
66
|
}, [products?.length]);
|
|
67
|
-
const paginatedProducts =
|
|
67
|
+
const paginatedProducts = React.useMemo(() => {
|
|
68
68
|
const prevRange = (paginationValue - 1) * PAGINATION_LIMIT;
|
|
69
69
|
const currRange = paginationValue * PAGINATION_LIMIT;
|
|
70
70
|
return products?.filter((_product, index) => {
|
|
71
71
|
return !!(index >= prevRange && index < currRange);
|
|
72
72
|
});
|
|
73
73
|
}, [paginationValue, products]);
|
|
74
|
-
const handleSortOptionChange =
|
|
74
|
+
const handleSortOptionChange = React.useCallback(option => {
|
|
75
75
|
onSortOptionChange(typeof option.value === "string" ? option.value : option.value.toString());
|
|
76
76
|
}, [onSortOptionChange]);
|
|
77
|
-
const sortOptions =
|
|
77
|
+
const sortOptions = React.useMemo(() => {
|
|
78
78
|
return [{
|
|
79
79
|
value: ProductGrid_types.ProductGridSortOption.highestPrice,
|
|
80
80
|
label: translations.sortOptions.highestPrice
|
|
@@ -99,7 +99,7 @@ const ProductGrid = ({
|
|
|
99
99
|
* // },
|
|
100
100
|
*/];
|
|
101
101
|
}, [translations.sortOptions]);
|
|
102
|
-
const productCount =
|
|
102
|
+
const productCount = React.useMemo(() => {
|
|
103
103
|
if (hasFilters) {
|
|
104
104
|
return products?.length;
|
|
105
105
|
}
|
|
@@ -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 ProductKeyFeatures_styles = require('./ProductKeyFeatures.styles.js');
|
|
6
6
|
"use strict";
|
|
7
7
|
const ProductKeyFeatures = function ProductKeyFeatures2({
|
|
@@ -9,8 +9,8 @@ const ProductKeyFeatures = function ProductKeyFeatures2({
|
|
|
9
9
|
disableHeader,
|
|
10
10
|
keyFeatures
|
|
11
11
|
}) {
|
|
12
|
-
const [keyFeaturesHtml, setKeyFeaturesHtml] =
|
|
13
|
-
|
|
12
|
+
const [keyFeaturesHtml, setKeyFeaturesHtml] = React.useState(keyFeatures);
|
|
13
|
+
React.useEffect(() => {
|
|
14
14
|
if (typeof keyFeatures === "string") {
|
|
15
15
|
const el = document.createElement("div");
|
|
16
16
|
el.innerHTML = keyFeatures;
|
|
@@ -2,7 +2,7 @@ export declare const PRODUCT_SECTION_NAVIGATION_HEIGHT = 48;
|
|
|
2
2
|
export declare const PRODUCT_SECTION_NAVIGATION_ANIMATION_MS = 300;
|
|
3
3
|
export declare const NAV_ITEM_GAP_SIZE = 30;
|
|
4
4
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").
|
|
5
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const NavItemWrapOuter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const NavItemWrapInner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
8
|
export declare const NavItem: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const NAV_ITEM_GAP_SIZE = 30;
|
|
2
2
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").
|
|
3
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const Item: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
5
5
|
active?: boolean;
|
|
6
6
|
}, never>;
|
|
@@ -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('../ScrollWrapper/index.js');
|
|
6
6
|
var ProductSectionTabs_styles = require('./ProductSectionTabs.styles.js');
|
|
7
7
|
var ScrollWrapper = require('../ScrollWrapper/ScrollWrapper.js');
|
|
@@ -12,7 +12,7 @@ const ProductSectionTabs = function ProductSectionTabs2({
|
|
|
12
12
|
className,
|
|
13
13
|
disableScroll
|
|
14
14
|
}) {
|
|
15
|
-
const htmlItems =
|
|
15
|
+
const htmlItems = React.useMemo(() => {
|
|
16
16
|
return items.map((item, index) => {
|
|
17
17
|
let type;
|
|
18
18
|
if (index === 0) {
|
|
@@ -10,8 +10,8 @@ export declare const SpecData: import("styled-components").StyledComponent<"div"
|
|
|
10
10
|
}, never>;
|
|
11
11
|
export declare const SpecsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
12
12
|
export declare const SectionWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
-
export declare const Container: import("styled-components").StyledComponent<import("react").
|
|
13
|
+
export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
|
|
14
14
|
export declare const GradientButton: import("styled-components").StyledComponent<({ children, active, className, ...props }: import("../GradientButton/GradientButton.types").GradientButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
15
15
|
export declare const Title: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
-
export declare const ScrollWrapper: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, }: import("../ScrollWrapper/ScrollWrapper.types").ScrollWrapperProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const ScrollWrapper: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, alignActive, disableScrollToActive, }: import("../ScrollWrapper/ScrollWrapper.types").ScrollWrapperProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
17
17
|
export declare const ScrollOuter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|